dvlyadmin_pro/backend/frontend/static/js/vendors.43bd63f4.js

2 lines
5.7 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see vendors.43bd63f4.js.LICENSE.txt */
(self.webpackChunkdjango_vue_lyadmin_pro=self.webpackChunkdjango_vue_lyadmin_pro||[]).push([[96],{241:function(e,t,n){"use strict";var r=n(41917).A.Symbol;t.A=r},539:function(e,t,n){var r=n(28966),o=n(40481),i=n(658),a=n(16626);e.exports=function(e,t){var n=o(r(e,t|=0)).split("."),s=n[0],l=n[1]||"",c=t-l.length;return t?c>0?s+"."+l+i("0",c):s+a(l,Math.abs(c)):s}},655:function(e,t,n){"use strict";var r=n(36955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},658:function(e,t,n){var r=n(63982);e.exports=function(e,t){if(e.repeat)return e.repeat(t);var n=isNaN(t)?[]:new Array(r(t));return n.join(e)+(n.length>0?e:"")}},668:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),n=tinymce.util.Tools.resolve("tinymce.util.Tools"),r=function(e){return e.getParam("save_enablewhendirty",!0)},o=function(e,t){e.notificationManager.open({text:t,type:"error"})},i=function(e){return function(t){var n=function(){t.setDisabled(r(e)&&!e.isDirty())};return n(),e.on("NodeChange dirty",n),function(){return e.off("NodeChange dirty",n)}}};e.add("save",(function(e){!function(e){e.ui.registry.addButton("save",{icon:"save",tooltip:"Save",disabled:!0,onAction:function(){return e.execCommand("mceSave")},onSetup:i(e)}),e.ui.registry.addButton("cancel",{icon:"cancel",tooltip:"Cancel",disabled:!0,onAction:function(){return e.execCommand("mceCancel")},onSetup:i(e)}),e.addShortcut("Meta+S","","mceSave")}(e),function(e){e.addCommand("mceSave",(function(){!function(e){var n=t.DOM.getParent(e.id,"form");if(!r(e)||e.isDirty()){if(e.save(),function(e){return!!e.getParam("save_onsavecallback")}(e))return e.execCallback("save_onsavecallback",e),void e.nodeChanged();n?(e.setDirty(!1),n.onsubmit&&!n.onsubmit()||("function"==typeof n.submit?n.submit():o(e,"Error: Form submit field collision.")),e.nodeChanged()):o(e,"Error: No form element found.")}}(e)})),e.addCommand("mceCancel",(function(){!function(e){var t=n.trim(e.startContent);!function(e){return!!e.getParam("save_oncancelcallback")}(e)?e.resetContent(t):e.execCallback("save_oncancelcallback",e)}(e)}))}(e)}))}()},798:function(e,t,n){"use strict";var r=n(2237),o=n(96430),i=n(35657),a=n(53848),s=n(24993),l=function(){};function c(e){return s(r,e)}var u="3.7.4";l.VERSION=u,l.version=u,l.mixin=function(){o(arguments,(function(e){i(e,(function(e,t){l[t]=a(e)?function(){var t=e.apply(l.$context,arguments);return l.$context=null,t}:e}))}))},l.setup=c,l.setConfig=c,l.getConfig=function(){return r},e.exports=l},838:function(e,t,n){"use strict";n.d(t,{SN:function(){return s},mU:function(){return a},wC:function(){return l}});var r=n(61431),o=n(50819),i=n(18472);const a=(0,o.Y8)({type:String,values:i.I,required:!1}),s=Symbol("size"),l=()=>{const e=(0,r.inject)(s,{});return(0,r.computed)((()=>(0,r.unref)(e.size)||""))}},1400:function(e,t,n){var r=n(95654),o=n(96430),i=n(24993);function a(e,t,n,r,s,l,c,u,d){var f,h,p,m,g,A=[],v=d.original,y=d.data,O=d.mapChildren||u,b=d.isEvery;return o(n,(function(o,w){f=l.concat([""+w]),h=c.concat([o]),m=e&&!b||r.call(s,o,w,n,f,t,h),g=u&&o[u],m||g?(v?p=o:(p=i({},o),y&&(p[y]=o)),p[O]=a(m,o,o[u],r,s,f,h,u,d),(m||p[O].length)&&A.push(p)):m&&A.push(p)})),A}var s=r((function(e,t,n,r,o,i,s,l){return a(0,e,t,n,r,o,i,s,l)}));e.exports=s},1548:function(e,t,n){"use strict";var r=n(44576),o=n(79039),i=n(39519),a=n(84215),s=r.structuredClone;e.exports=!!s&&!o((function(){if("DENO"===a&&i>92||"NODE"===a&&i>94||"BROWSER"===a&&i>97)return!1;var e=new ArrayBuffer(8),t=s(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},1625:function(e,t,n){"use strict";var r=n(79504);e.exports=r({}.isPrototypeOf)},1668:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=function(e,t){return null!=e&&t in Object(e)},o=n(81094),i=n(52274),a=n(92049),s=n(25353),l=n(5254),c=n(30901),u=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,u=(t=(0,o.A)(t,e)).length,d=!1;++r<u;){var f=(0,c.A)(t[r]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++r!=u?d:!!(u=null==e?0:e.length)&&(0,l.A)(u)&&(0,s.A)(f,u)&&((0,a.A)(e)||(0,i.A)(e))}(e,t,r)}},1767:function(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},1769:function(e,t,n){var r=n(73971),o=typeof location===r?0:location;e.exports=o},1968:function(e){e.exports=function(e,t){return e===t}},2025:function(e,t,n){n(33174)},2121:function(e,t,n){var r=n(75526)("RegExp");e.exports=r},2154:function(e,t,n){"use strict";n.d(t,{Et:function(){return s},Hp:function(){return d},Im:function(){return l},Lm:function(){return a},Xj:function(){return u},b0:function(){return i},l6:function(){return f},vq:function(){return c}});var r=n(90033),o=n(97859);const i=e=>void 0===e,a=e=>"boolean"==typeof e,s=e=>"number"==typeof e,l=e=>!e&&0!==e||(0,r.cy)(e)&&0===e.length||(0,r.Gv)(e)&&!Object.keys(e).length,c=e=>"undefined"!=typeof Element&&e instanceof Element,u=e=>(0,o.A)(e),d=e=>!!(0,r.Kg)(e)&&!Number.isNaN(Number(e)),f=e=>e===window},2237:function(e){"use strict";e.exports={keyId:1,cookies:{path:"/"},treeOptions:{parentKey:"parentId",key:"id",children:"children"},parseDateFormat:"yyyy-MM-dd HH:mm:ss",firstDayOfWeek:1}},2250:function(e,t,n){"use strict";n.d(t,{D$:function(){return l},Od:function(){return s},ro:function(){return c}});var r=n(48548),o=n(50819),i=n(838),a=n(25343);const s=["default","primary","success","warning","info","danger","text",""],l=(0,o.b_)({size:i.mU,disabled:Boolean,type:{type:String,values:s,default:""},icon:{type:a.Ze},nativeType:{type:String,values:["button","submit","reset"],default:"button"},loading:Boolean,loadingIcon:{type:a.Ze,default:()=>r.Loading},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:(0,o.jq)([String,Object]),default:"button"}}),c={click:e=>e instanceof MouseEvent}},2360:function(e,t,n){"use strict";var r,o=n(28551),i=n(96801),a=n(88727),s=n(30421),l=n(20397),c=n(4055),u=n(66119),d="prototype",f="script",h=u("IE_PROTO"),p=function(){},m=function(e){return"<"+f+">"+e+"</"+f+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},A=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;A="undefined"!=typeof document?document.domain&&r?g(r):(t=c("iframe"),n="java"+f+":",t.style.display="none",l.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(r);for(var o=a.length;o--;)delete A[d][a[o]];return A()};s[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p[d]=o(e),n=new p,p[d]=null,n[h]=e):n=A(),void 0===t?n:i.f(n,t)}},2400:function(e,t,n){"use strict";n.d(t,{P:function(){return s},Z:function(){return a}});var r=n(34253),o=n(83412),i=n(10992);function a(e,t,n){var o=t.getBoxLayoutParams(),i=t.get("padding"),a={width:n.getWidth(),height:n.getHeight()},s=(0,r.dV)(o,a,i);(0,r.aP)(t.get("orient"),e,t.get("itemGap"),s.width,s.height),(0,r.m$)(e,o,a,i)}function s(e,t){var n=o.QX(t.get("padding")),r=t.getItemStyle(["color","opacity"]);return r.fill=t.get("backgroundColor"),new i.A({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1})}},2553:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(e){return undefined===e},n=tinymce.util.Tools.resolve("tinymce.util.Delay"),r=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),o=tinymce.util.Tools.resolve("tinymce.util.Tools"),i=function(e,t){var n=e||t,r=/^(\d+)([ms]?)$/.exec(""+n);return(r[2]?{s:1e3,m:6e4}[r[2]]:1)*parseInt(n,10)},a=function(e){var t=document.location;return e.getParam("autosave_prefix","tinymce-autosave-{path}{query}{hash}-{id}-").replace(/{path}/g,t.pathname).replace(/{query}/g,t.search).replace(/{hash}/g,t.hash).replace(/{id}/g,e.id)},s=function(e,n){if(t(n))return e.dom.isEmpty(e.getBody());var r=o.trim(n);if(""===r)return!0;var i=(new DOMParser).parseFromString(r,"text/html");return e.dom.isEmpty(i)},l=function(e){var t=parseInt(r.getItem(a(e)+"time"),10)||0;return!((new Date).getTime()-t>function(e){return i(e.getParam("autosave_retention"),"20m")}(e)&&(c(e,!1),1))},c=function(e,t){var n=a(e);r.removeItem(n+"draft"),r.removeItem(n+"time"),!1!==t&&function(e){e.fire("RemoveDraft")}(e)},u=function(e){var t=a(e);!s(e)&&e.isDirty()&&(r.setItem(t+"draft",e.getContent({format:"raw",no_events:!0})),r.setItem(t+"time",(new Date).getTime().toString()),function(e){e.fire("StoreDraft")}(e))},d=function(e){var t=a(e);l(e)&&(e.setContent(r.getItem(t+"draft"),{format:"raw"}),function(e){e.fire("RestoreDraft")}(e))},f=function(e){e.undoManager.transact((function(){d(e),c(e)})),e.focus()},h=tinymce.util.Tools.resolve("tinymce.EditorManager"),p=function(e){return function(t){t.setDisabled(!l(e));var n=function(){return t.setDisabled(!l(e))};return e.on("StoreDraft RestoreDraft RemoveDraft",n),function(){return e.off("StoreDraft RestoreDraft RemoveDraft",n)}}};e.add("autosave",(function(e){return function(e){e.editorManager.on("BeforeUnload",(function(e){var t;o.each(h.get(),(function(e){e.plugins.autosave&&e.plugins.autosave.storeDraft(),!t&&e.isDirty()&&function(e){return e.getParam("autosave_ask_before_unload",!0)}(e)&&(t=e.translate("You have unsaved changes are you sure you want to navigate away?"))})),t&&(e.preventDefault(),e.returnValue=t)}))}(e),function(e){(function(e){var t=function(e){return i(e.getParam("autosave_interval"),"30s")}(e);n.setEditorInterval(e,(function(){u(e)}),t)})(e),e.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:function(){f(e)},onSetup:p(e)}),e.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:function(){f(e)},onSetup:p(e)})}(e),e.on("init",(function(){(function(e){return e.getParam("autosave_restore_when_empty",!1)})(e)&&e.dom.isEmpty(e.getBody())&&d(e)})),function(e){return{hasDraft:function(){return l(e)},storeDraft:function(){return u(e)},restoreDraft:function(){return d(e)},removeDraft:function(t){return c(e,t)},isEmpty:function(t){return s(e,t)}}}(e)}))}()},2721:function(e,t,n){var r=n(21607)("ceil");e.exports=r},2801:function(e){e.exports=function(e){return null===e}},2950:function(e,t,n){var r=n(61249),o=n(19042),i=n(69821);e.exports=function(e,t){if(e){if(i(e,t))return!0;var n,a,s,l,c,u,d=o(t),f=0,h=d.length;for(c=e;f<h&&(u=!1,(l=(n=d[f])?n.match(r):"")?(a=l[1],s=l[2],a?c[a]&&i(c[a],s)&&(u=!0,c=c[a][s]):i(c,s)&&(u=!0,c=c[s])):i(c,n)&&(u=!0,c=c[n]),u);f++)if(f===h-1)return!0}return!1}},2995:function(e,t,n){"use strict";var r=n(15215),o=n(71519),i=n(29308),a=[],s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.notClear=!0,t.incremental=!0,t._displayables=[],t._temporaryDisplayables=[],t._cursor=0,t}return(0,r.C6)(t,e),t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.markRedraw()},t.prototype.addDisplayables=function(e,t){t=t||!1;for(var n=0;n<e.length;n++)this.addDisplayable(e[n],t)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(e){for(var t=this._cursor;t<this._displayables.length;t++)e&&e(this._displayables[t]);for(t=0;t<this._temporaryDisplayables.length;t++)e&&e(this._temporaryDisplayables[t])},t.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++)(t=this._displayables[e]).parent=this,t.update(),t.parent=null;for(e=0;e<this._temporaryDisplayables.length;e++){var t;(t=this._temporaryDisplayables[e]).parent=this,t.update(),t.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new i.A(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var n=this._displayables[t],r=n.getBoundingRect().clone();n.needLocalTransform()&&r.applyTransform(n.getLocalTransform(a)),e.union(r)}this._rect=e}return this._rect},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t);if(this.getBoundingRect().contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++)if(this._displayables[r].contain(e,t))return!0;return!1},t}(o.Ay);t.A=s},3045:function(e){var t=encodeURIComponent;e.exports=t},3087:function(e,t,n){"use strict";n.d(t,{Y:function(){return h}});var r=n(23421),o=n(59109),i=n(6666),a=n(15915),s=n(47355),l=n(98026),c=n(13976),u=n(23442),d=[],f={registerPreprocessor:r.lP,registerProcessor:r.qg,registerPostInit:r.cf,registerPostUpdate:r.tb,registerUpdateLifecycle:r.xV,registerAction:r.OH,registerCoordinateSystem:r.pX,registerLayout:r.Oh,registerVisual:r.AF,registerTransform:r.iY,registerLoading:r.Ej,registerMap:r.mz,registerImpl:c.m,PRIORITY:r.FQ,ComponentModel:a.A,ComponentView:o.A,SeriesModel:s.A,ChartView:i.A,registerComponentModel:function(e){a.A.registerClass(e)},registerComponentView:function(e){o.A.registerClass(e)},registerSeriesModel:function(e){s.A.registerClass(e)},registerChartView:function(e){i.A.registerClass(e)},registerSubTypeDefaulter:function(e,t){a.A.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){(0,u.registerPainter)(e,t)}};function h(e){(0,l.isArray)(e)?(0,l.each)(e,(function(e){h(e)})):(0,l.indexOf)(d,e)>=0||(d.push(e),(0,l.isFunction)(e)&&(e={install:e}),e.install(f))}},3238:function(e,t,n){"use strict";var r=n(44576),o=n(77811),i=n(67394),a=r.DataView;e.exports=function(e){if(!o||0!==i(e))return!1;try{return new a(e),!1}catch(e){return!0}}},3293:function(e){var t=Object.prototype.toString;e.exports=t},3354:function(e,t,n){var r=n(13908);e.exports=function(e,t,n){if(e){var o,i,a=0,s=n,l=arguments.length>2,c=r(e);if(e.length&&e.reduce)return i=function(){return t.apply(null,arguments)},l?e.reduce(i,s):e.reduce(i);for(l&&(a=1,s=e[c[0]]),o=c.length;a<o;a++)s=t.call(null,s,e[c[a]],a,e);return s}}},3455:function(e,t,n){"use strict";n.d(t,{$2:function(){return s},Cv:function(){return c},MD:function(){return _},OH:function(){return O},OS:function(){return y},Pt:function(){return v},WG:function(){return S},XP:function(){return d},Xu:function(){return w},Z1:function(){return x},bn:function(){return b},dX:function(){return m},eQ:function(){return h},nV:function(){return f},sL:function(){return A},sZ:function(){return p},si:function(){return g}});var r=n(98026),o=n(47698),i=n(38123),a=Math.round;function s(e){var t;if(e&&"transparent"!==e){if("string"==typeof e&&e.indexOf("rgba")>-1){var n=(0,o.parse)(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}}else e="none";return{color:e,opacity:null==t?1:t}}var l=1e-4;function c(e){return e<l&&e>-l}function u(e){return a(1e3*e)/1e3}function d(e){return a(1e4*e)/1e4}function f(e){return"matrix("+u(e[0])+","+u(e[1])+","+u(e[2])+","+u(e[3])+","+d(e[4])+","+d(e[5])+")"}var h={left:"start",right:"end",center:"middle",middle:"middle"};function p(e,t,n){return"top"===n?e+=t/2:"bottom"===n&&(e-=t/2),e}function m(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function g(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function A(e){return e&&!!e.image}function v(e){return A(e)||function(e){return e&&!!e.svgElement}(e)}function y(e){return"linear"===e.type}function O(e){return"radial"===e.type}function b(e){return e&&("linear"===e.type||"radial"===e.type)}function w(e){return"url(#"+e+")"}function _(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function x(e){var t=e.x||0,n=e.y||0,o=(e.rotation||0)*r.RADIAN_TO_DEGREE,i=(0,r.retrieve2)(e.scaleX,1),s=(0,r.retrieve2)(e.scaleY,1),l=e.skewX||0,c=e.skewY||0,u=[];return(t||n)&&u.push("translate("+t+"px,"+n+"px)"),o&&u.push("rotate("+o+")"),1===i&&1===s||u.push("scale("+i+","+s+")"),(l||c)&&u.push("skew("+a(l*r.RADIAN_TO_DEGREE)+"deg, "+a(c*r.RADIAN_TO_DEGREE)+"deg)"),u.join(" ")}var S=i.A.hasGlobalWindow&&(0,r.isFunction)(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:"undefined"!=typeof Buffer?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}},3486:function(e,t,n){"use strict";n.d(t,{m:function(){return l}});var r=n(24326),o=n(74562),i=n(50626),a=n(67071),s=Math.log;function l(e,t,n){var l=o.A.prototype,c=l.getTicks.call(n),u=l.getTicks.call(n,!0),d=c.length-1,f=l.getInterval.call(n),h=(0,i.Rx)(e,t),p=h.extent,m=h.fixMin,g=h.fixMax;if("log"===e.type){var A=s(e.base);p=[s(p[0])/A,s(p[1])/A]}e.setExtent(p[0],p[1]),e.calcNiceExtent({splitNumber:d,fixMin:m,fixMax:g});var v=l.getExtent.call(e);m&&(p[0]=v[0]),g&&(p[1]=v[1]);var y=l.getInterval.call(e),O=p[0],b=p[1];if(m&&g)y=(b-O)/d;else if(m)for(b=p[0]+y*d;b<p[1]&&isFinite(b)&&isFinite(p[1]);)y=(0,a.kH)(y),b=p[0]+y*d;else if(g)for(O=p[1]-y*d;O>p[0]&&isFinite(O)&&isFinite(p[0]);)y=(0,a.kH)(y),O=p[1]-y*d;else{e.getTicks().length-1>d&&(y=(0,a.kH)(y));var w=y*d;b=Math.ceil(p[1]/y)*y,(O=(0,r.LI)(b-w))<0&&p[0]>=0?(O=0,b=(0,r.LI)(w)):b>0&&p[1]<=0&&(b=0,O=-(0,r.LI)(w))}var _=(c[0].value-u[0].value)/f,x=(c[d].value-u[d].value)/f;l.setExtent.call(e,O+y*_,b+y*x),l.setInterval.call(e,y),(_||x)&&l.setNiceExtent.call(e,O+y,b-y)}},3686:function(e,t,n){"use strict";n.d(t,{DA:function(){return m},MU:function(){return g},T8:function(){return f},Tc:function(){return p},_F:function(){return h},bY:function(){return d},cU:function(){return A},u7:function(){return v}});var r=n(98026),o=n(43199),i=n(45558),a=n(83412),s=n(45587),l=n(50626),c=n(89598),u=n(89632);function d(e){var t,n=e.get("type"),r=e.getModel(n+"Style");return"line"===n?(t=r.getLineStyle()).fill=null:"shadow"===n&&((t=r.getAreaStyle()).stroke=null),t}function f(e,t,n,r,o){var s=h(n.get("value"),t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),l=n.getModel("label"),c=a.QX(l.get("padding")||0),d=l.getFont(),f=i.NO(s,d),p=o.position,m=f.width+c[1]+c[3],g=f.height+c[0]+c[2],A=o.align;"right"===A&&(p[0]-=m),"center"===A&&(p[0]-=m/2);var v=o.verticalAlign;"bottom"===v&&(p[1]-=g),"middle"===v&&(p[1]-=g/2),function(e,t,n,r){var o=r.getWidth(),i=r.getHeight();e[0]=Math.min(e[0]+t,o)-t,e[1]=Math.min(e[1]+n,i)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}(p,m,g,r);var y=l.get("backgroundColor");y&&"auto"!==y||(y=t.get(["axisLine","lineStyle","color"])),e.label={x:p[0],y:p[1],style:(0,u.VB)(l,{text:s,font:d,fill:l.getTextColor(),padding:c,backgroundColor:y}),z2:10}}function h(e,t,n,o,i){e=t.scale.parse(e);var a=t.scale.getLabel({value:e},{precision:i.precision}),s=i.formatter;if(s){var c={value:l.Dt(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};r.each(o,(function(e){var t=n.getSeriesByIndex(e.seriesIndex),r=e.dataIndexInside,o=t&&t.getDataParams(r);o&&c.seriesData.push(o)})),r.isString(s)?a=s.replace("{value}",a):r.isFunction(s)&&(a=s(c))}return a}function p(e,t,n){var r=s.create();return s.rotate(r,r,n.rotation),s.translate(r,r,n.position),o.applyTransform([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function m(e,t,n,r,o,i){var a=c.A.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=o.get(["label","margin"]),f(t,r,o,i,{position:p(r.axis,e,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function g(e,t,n){return{x1:e[n=n||0],y1:e[1-n],x2:t[n],y2:t[1-n]}}function A(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}}function v(e,t,n,r,o,i){return{cx:e,cy:t,r0:n,r:r,startAngle:o,endAngle:i,clockwise:!0}}},3753:function(e,t,n){n(22454)},3961:function(e,t,n){"use strict";n.d(t,{CO:function(){return _},Qx:function(){return h},Yu:function(){return y},aw:function(){return w},lb:function(){return x}});var r=n(44265),o=n(83412),i=n(98026),a=n(31825),s=n(24326),l="line-height:1";function c(e){var t=e.lineHeight;return null==t?l:"line-height:"+(0,r.Me)(t+"")+"px"}function u(e,t){var n=e.color||"#6e7079",o=e.fontSize||12,i=e.fontWeight||"400",a=e.color||"#464646",s=e.fontSize||14,l=e.fontWeight||"900";return"html"===t?{nameStyle:"font-size:"+(0,r.Me)(o+"")+"px;color:"+(0,r.Me)(n)+";font-weight:"+(0,r.Me)(i+""),valueStyle:"font-size:"+(0,r.Me)(s+"")+"px;color:"+(0,r.Me)(a)+";font-weight:"+(0,r.Me)(l+"")}:{nameStyle:{fontSize:o,fill:n,fontWeight:i},valueStyle:{fontSize:s,fill:a,fontWeight:l}}}var d=[0,10,20,30],f=["","\n","\n\n","\n\n\n"];function h(e,t){return t.type=e,t}function p(e){return"section"===e.type}function m(e){return p(e)?A:v}function g(e){if(p(e)){var t=0,n=e.blocks.length,r=n>1||n>0&&!e.noHeader;return(0,i.each)(e.blocks,(function(e){var n=g(e);n>=t&&(t=n+ +(r&&(!n||p(e)&&!e.noHeader)))})),t}return 0}function A(e,t,n,s){var l,h=t.noHeader,p=(l=g(t),{html:d[l],richText:f[l]}),A=[],v=t.blocks||[];(0,i.assert)(!v||(0,i.isArray)(v)),v=v||[];var y=e.orderMode;if(t.sortBlocks&&y){v=v.slice();var w={valueAsc:"asc",valueDesc:"desc"};if((0,i.hasOwn)(w,y)){var _=new a.Fl(w[y],null);v.sort((function(e,t){return _.evaluate(e.sortParam,t.sortParam)}))}else"seriesDesc"===y&&v.reverse()}(0,i.each)(v,(function(n,r){var o=t.valueFormatter,a=m(n)(o?(0,i.extend)((0,i.extend)({},e),{valueFormatter:o}):e,n,r>0?p.html:0,s);null!=a&&A.push(a)}));var x="richText"===e.renderMode?A.join(p.richText):O(s,A.join(""),h?n:p.html);if(h)return x;var S=(0,o.yC)(t.header,"ordinal",e.useUTC),k=u(s,e.renderMode).nameStyle,C=c(s);return"richText"===e.renderMode?b(e,S,k)+p.richText+x:O(s,'<div style="'+k+";"+C+';">'+(0,r.Me)(S)+"</div>"+x,n)}function v(e,t,n,a){var s=e.renderMode,l=t.noName,c=t.noValue,d=!t.markerType,f=t.name,h=e.useUTC,p=t.valueFormatter||e.valueFormatter||function(e){return e=(0,i.isArray)(e)?e:[e],(0,i.map)(e,(function(e,t){return(0,o.yC)(e,(0,i.isArray)(A)?A[t]:A,h)}))};if(!l||!c){var m=d?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",s),g=l?"":(0,o.yC)(f,"ordinal",h),A=t.valueType,v=c?[]:p(t.value,t.dataIndex),y=!d||!l,w=!d&&l,_=u(a,s),x=_.nameStyle,S=_.valueStyle;return"richText"===s?(d?"":m)+(l?"":b(e,g,x))+(c?"":function(e,t,n,r,o){var a=[o],s=r?10:20;return n&&a.push({padding:[0,0,0,s],align:"right"}),e.markupStyleCreator.wrapRichTextStyle((0,i.isArray)(t)?t.join(" "):t,a)}(e,v,y,w,S)):O(a,(d?"":m)+(l?"":function(e,t,n){return'<span style="'+n+";"+(t?"margin-left:2px":"")+'">'+(0,r.Me)(e)+"</span>"}(g,!d,x))+(c?"":function(e,t,n,o){var a=t?"float:right;margin-left:"+(n?"10px":"20px"):"";return e=(0,i.isArray)(e)?e:[e],'<span style="'+a+";"+o+'">'+(0,i.map)(e,(function(e){return(0,r.Me)(e)})).join("&nbsp;&nbsp;")+"</span>"}(v,y,w,S)),n)}}function y(e,t,n,r,o,i){if(e)return m(e)({useUTC:o,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter},e,0,i)}function O(e,t,n){return'<div style="margin: '+n+"px 0 0;"+c(e)+';">'+t+'<div style="clear:both"></div></div>'}function b(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function w(e,t){var n=e.getData().getItemVisual(t,"style")[e.visualDrawType];return(0,o.he)(n)}function _(e,t){var n=e.get("padding");return null!=n?n:"richText"===t?[8,10]:10}var x=function(){function e(){this.richTextStyles={},this._nextStyleNameId=(0,s.IH)()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var r="richText"===n?this._generateStyleName():null,a=(0,o.qg)({color:t,type:e,renderMode:n,markerId:r});return(0,i.isString)(a)?a:(this.richTextStyles[r]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};(0,i.isArray)(t)?(0,i.each)(t,(function(e){return(0,i.extend)(n,e)})):(0,i.extend)(n,t);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+e+"}"},e}()},3992:function(e,t,n){var r=n(73971),o=typeof Map!==r;e.exports=function(e){return o&&e instanceof Map}},4055:function(e,t,n){"use strict";var r=n(44576),o=n(20034),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},4094:function(e,t,n){var r=n(41982),o=n(13908);e.exports=function(e,t,n){r(o(e),(function(r){t.call(n,e[r],r,e)}))}},4188:function(){},4213:function(e,t,n){var r,o;void 0===(o="function"==typeof(r=function(){"use strict";function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){s(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,a=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=i.saveAs||("object"!=typeof window||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(e,n,a){var s=i.URL||i.webkitURL,l=document.createElement("a");n=n||e.name||"download",l.download=n,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?o(l):r(l.href)?t(e,n,a):o(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){o(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,i){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,i),n);else if(r(e))t(e,n,i);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout((function(){o(a)}))}}:function(e,n,r,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var s="application/octet-stream"===e.type,l=/constructor/i.test(i.HTMLElement)||i.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||s&&l||a)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},u.readAsDataURL(e)}else{var d=i.URL||i.webkitURL,f=d.createObjectURL(e);o?o.location=f:location.href=f,o=null,setTimeout((function(){d.revokeObjectURL(f)}),4e4)}});i.saveAs=s.saveAs=s,e.exports=s})?r.apply(t,[]):r)||(e.exports=o)},4235:function(e,t,n){"use strict";n.d(t,{J:function(){return s}});var r=n(98026),o=n(3961),i=n(58267),a=n(48170);function s(e){var t,n,s,l,c=e.series,u=e.dataIndex,d=e.multipleSeries,f=c.getData(),h=f.mapDimensionsAll("defaultedTooltip"),p=h.length,m=c.getRawValue(u),g=(0,r.isArray)(m),A=(0,o.aw)(c,u);if(p>1||g&&!p){var v=function(e,t,n,a,s){var l=t.getData(),c=(0,r.reduce)(e,(function(e,t,n){var r=l.getDimensionInfo(n);return e||r&&!1!==r.tooltip&&null!=r.displayName}),!1),u=[],d=[],f=[];function h(e,t){var n=l.getDimensionInfo(t);n&&!1!==n.otherDims.tooltip&&(c?f.push((0,o.Qx)("nameValue",{markerType:"subItem",markerColor:s,name:n.displayName,value:e,valueType:n.type})):(u.push(e),d.push(n.type)))}return a.length?(0,r.each)(a,(function(e){h((0,i.QE)(l,n,e),e)})):(0,r.each)(e,h),{inlineValues:u,inlineValueTypes:d,blocks:f}}(m,c,u,h,A);t=v.inlineValues,n=v.inlineValueTypes,s=v.blocks,l=v.inlineValues[0]}else if(p){var y=f.getDimensionInfo(h[0]);l=t=(0,i.QE)(f,u,h[0]),n=y.type}else l=t=g?m[0]:m;var O=(0,a.O0)(c),b=O&&c.name||"",w=f.getName(u),_=d?b:w;return(0,o.Qx)("section",{header:b,noHeader:d||!O,sortParam:l,blocks:[(0,o.Qx)("nameValue",{markerType:"item",markerColor:A,name:_,noName:!(0,r.trim)(_),value:t,valueType:n,dataIndex:u})].concat(s||[])})}},4495:function(e,t,n){"use strict";var r=n(39519),o=n(79039),i=n(44576).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},4934:function(e,t,n){!function(){"use strict";var e=function(e){return function(t){return r=typeof(n=t),(null===n?"null":"object"===r&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"===r&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":r)===e;var n,r}},t=function(e){return function(t){return typeof t===e}},r=function(e){return function(t){return e===t}},o=e("string"),i=e("object"),a=e("array"),s=r(null),l=t("boolean"),c=r(void 0),u=function(e){return null==e},d=function(e){return!u(e)},f=t("function"),h=t("number"),p=function(e,t){if(a(e)){for(var n=0,r=e.length;n<r;++n)if(!t(e[n]))return!1;return!0}return!1},m=function(){},g=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e(t.apply(null,n))}},A=function(e){return function(){return e}},v=function(e){return e},y=function(e,t){return e===t};function O(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=t.concat(n);return e.apply(null,o)}}var b=function(e){return function(t){return!e(t)}},w=function(e){return function(){throw new Error(e)}},_=A(!1),x=A(!0),S=tinymce.util.Tools.resolve("tinymce.ThemeManager"),k=function(){return k=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},k.apply(this,arguments)};function C(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function B(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var Q,T,E,P=function(){return $},$={fold:function(e,t){return e()},isSome:_,isNone:x,getOr:T=v,getOrThunk:Q=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:A(null),getOrUndefined:A(void 0),or:T,orThunk:Q,map:P,each:m,bind:P,exists:_,forall:x,filter:function(){return P()},toArray:function(){return[]},toString:A("none()")},M=function(e){var t=A(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:x,isNone:_,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return M(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:$},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},z={some:M,none:P,from:function(e){return null==e?$:M(e)}},R=Array.prototype.slice,D=Array.prototype.indexOf,I=Array.prototype.push,N=function(e,t){return D.call(e,t)},L=function(e,t){return N(e,t)>-1},V=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t(e[n],n))return!0;return!1},U=function(e,t){for(var n=[],r=0;r<e;r++)n.push(t(r));return n},F=function(e,t){for(var n=[],r=0;r<e.length;r+=t){var o=R.call(e,r,r+t);n.push(o)}return n},H=function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r},W=function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)},X=function(e,t){for(var n=[],r=[],o=0,i=e.length;o<i;o++){var a=e[o];(t(a,o)?n:r).push(a)}return{pass:n,fail:r}},j=function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];t(i,r)&&n.push(i)}return n},q=function(e,t,n){return function(e,t){for(var n=e.length-1;n>=0;n--)t(e[n],n)}(e,(function(e,r){n=t(n,e,r)})),n},Z=function(e,t,n){return W(e,(function(e,r){n=t(n,e,r)})),n},Y=function(e,t){return function(e,t,n){for(var r=0,o=e.length;r<o;r++){var i=e[r];if(t(i,r))return z.some(i);if(n(i,r))break}return z.none()}(e,t,_)},G=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t(e[n],n))return z.some(n);return z.none()},K=function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!a(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);I.apply(t,e[n])}return t},J=function(e,t){return K(H(e,t))},ee=function(e,t){for(var n=0,r=e.length;n<r;++n)if(!0!==t(e[n],n))return!1;return!0},te=function(e){var t=R.call(e,0);return t.reverse(),t},ne=function(e,t){return j(e,(function(e){return!L(t,e)}))},re=function(e,t){for(var n={},r=0,o=e.length;r<o;r++){var i=e[r];n[String(i)]=t(i,r)}return n},oe=function(e){return[e]},ie=function(e,t){var n=R.call(e,0);return n.sort(t),n},ae=function(e,t){return t>=0&&t<e.length?z.some(e[t]):z.none()},se=function(e){return ae(e,0)},le=function(e){return ae(e,e.length-1)},ce=f(Array.from)?Array.from:function(e){return R.call(e)},ue=function(e,t){for(var n=0;n<e.length;n++){var r=t(e[n],n);if(r.isSome())return r}return z.none()},de=Object.keys,fe=Object.hasOwnProperty,he=function(e,t){for(var n=de(e),r=0,o=n.length;r<o;r++){var i=n[r];t(e[i],i)}},pe=function(e,t){return me(e,(function(e,n){return{k:n,v:t(e,n)}}))},me=function(e,t){var n={};return he(e,(function(e,r){var o=t(e,r);n[o.k]=o.v})),n},ge=function(e,t){var n=[];return he(e,(function(e,r){n.push(t(e,r))})),n},Ae=function(e,t){for(var n=de(e),r=0,o=n.length;r<o;r++){var i=n[r],a=e[i];if(t(a,i,e))return z.some(a)}return z.none()},ve=function(e){return ge(e,v)},ye=function(e,t){return Oe(e,t)?z.from(e[t]):z.none()},Oe=function(e,t){return fe.call(e,t)},be=function(e,t){return Oe(e,t)&&void 0!==e[t]&&null!==e[t]},we=function(e,t,n){return void 0===n&&(n=y),e.exists((function(e){return n(e,t)}))},_e=function(e){for(var t=[],n=function(e){t.push(e)},r=0;r<e.length;r++)e[r].each(n);return t},xe=function(e,t,n){return e.isSome()&&t.isSome()?z.some(n(e.getOrDie(),t.getOrDie())):z.none()},Se=function(e,t){return e?z.some(t):z.none()},ke=function(e,t,n){return""===t||e.length>=t.length&&e.substr(n,n+t.length)===t},Ce=function(e,t){return-1!==e.indexOf(t)},Be=function(e,t){return ke(e,t,e.length-t.length)},Qe=(E=/^\s+|\s+$/g,function(e){return e.replace(E,"")}),Te=function(e){return e.length>0},Ee=function(e){return void 0!==e.style&&f(e.style.getPropertyValue)},Pe=function(e){if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},$e=function(e,t){var n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1)throw console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return Pe(n.childNodes[0])},Me=function(e,t){var n=(t||document).createElement(e);return Pe(n)},ze=function(e,t){var n=(t||document).createTextNode(e);return Pe(n)},Re=Pe;"undefined"!=typeof window?window:Function("return this;")();var De,Ie=function(e){return e.dom.nodeName.toLowerCase()},Ne=function(e){return function(t){return function(e){return e.dom.nodeType}(t)===e}},Le=Ne(1),Ve=Ne(3),Ue=Ne(9),Fe=Ne(11),He=function(e){var t,n=!1;return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return n||(n=!0,t=e.apply(null,r)),t}},We=function(){return Xe(0,0)},Xe=function(e,t){return{major:e,minor:t}},je={nu:Xe,detect:function(e,t){var n=String(t).toLowerCase();return 0===e.length?We():function(e,t){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.test(t))return r}}(e,t);if(!n)return{major:0,minor:0};var r=function(e){return Number(t.replace(n,"$"+e))};return Xe(r(1),r(2))}(e,n)},unknown:We},qe=function(e,t){var n=String(t).toLowerCase();return Y(e,(function(e){return e.search(n)}))},Ze=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Ye=function(e){return function(t){return Ce(t,e)}},Ge=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return Ce(e,"edge/")&&Ce(e,"chrome")&&Ce(e,"safari")&&Ce(e,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,Ze],search:function(e){return Ce(e,"chrome")&&!Ce(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return Ce(e,"msie")||Ce(e,"trident")}},{name:"Opera",versionRegexes:[Ze,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Ye("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Ye("firefox")},{name:"Safari",versionRegexes:[Ze,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(Ce(e,"safari")||Ce(e,"mobile/"))&&Ce(e,"applewebkit")}}],Ke=[{name:"Windows",search:Ye("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return Ce(e,"iphone")||Ce(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Ye("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:Ye("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Ye("linux"),versionRegexes:[]},{name:"Solaris",search:Ye("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Ye("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Ye("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],Je={browsers:A(Ge),oses:A(Ke)},et="Edge",tt="Chrome",nt="Opera",rt="Firefox",ot="Safari",it=function(e){var t=e.current,n=e.version,r=function(e){return function(){return t===e}};return{current:t,version:n,isEdge:r(et),isChrome:r(tt),isIE:r("IE"),isOpera:r(nt),isFirefox:r(rt),isSafari:r(ot)}},at=function(){return it({current:void 0,version:je.unknown()})},st=it,lt=(A(et),A(tt),A("IE"),A(nt),A(rt),A(ot),"Windows"),ct="Android",ut="Linux",dt="Solaris",ft="FreeBSD",ht="ChromeOS",pt=function(e){var t=e.current,n=e.version,r=function(e){return function(){return t===e}};return{current:t,version:n,isWindows:r(lt),isiOS:r("iOS"),isAndroid:r(ct),isOSX:r("OSX"),isLinux:r(ut),isSolaris:r(dt),isFreeBSD:r(ft),isChromeOS:r(ht)}},mt=function(){return pt({current:void 0,version:je.unknown()})},gt=pt,At=(A(lt),A("iOS"),A(ct),A(ut),A("OSX"),A(dt),A(ft),A(ht),function(e){return window.matchMedia(e).matches}),vt=He((function(){return function(e,t,n){var r=Je.browsers(),o=Je.oses(),i=t.bind((function(e){return function(e,t){return ue(t.brands,(function(t){var n=t.brand.toLowerCase();return Y(e,(function(e){var t;return n===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((function(e){return{current:e.name,version:je.nu(parseInt(t.version,10),0)}}))}))}(r,e)})).orThunk((function(){return function(e,t){return qe(e,t).map((function(e){var n=je.detect(e.versionRegexes,t);return{current:e.name,version:n}}))}(r,e)})).fold(at,st),a=function(e,t){return qe(e,t).map((function(e){var n=je.detect(e.versionRegexes,t);return{current:e.name,version:n}}))}(o,e).fold(mt,gt),s=function(e,t,n,r){var o=e.isiOS()&&!0===/ipad/i.test(n),i=e.isiOS()&&!o,a=e.isiOS()||e.isAndroid(),s=a||r("(pointer:coarse)"),l=o||!i&&a&&r("(min-device-width:768px)"),c=i||a&&!l,u=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),d=!c&&!l&&!u;return{isiPad:A(o),isiPhone:A(i),isTablet:A(l),isPhone:A(c),isTouch:A(s),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:A(u),isDesktop:A(d)}}(a,i,e,n);return{browser:i,os:a,deviceType:s}}(navigator.userAgent,z.from(navigator.userAgentData),At)})),yt=function(){return vt()},Ot=function(e,t){var n=e.dom;if(1!==n.nodeType)return!1;var r=n;if(void 0!==r.matches)return r.matches(t);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(t);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")},bt=function(e){return 1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount},wt=function(e,t){return e.dom===t.dom},_t=function(e,t){return yt().browser.isIE()?function(e,t){return n=e.dom,r=t.dom,function(e,t,n){return!!(e.compareDocumentPosition(t)&n)}(n,r,Node.DOCUMENT_POSITION_CONTAINED_BY);var n,r}(e,t):function(e,t){var n=e.dom,r=t.dom;return n!==r&&n.contains(r)}(e,t)},xt=function(e){return Re(e.dom.ownerDocument)},St=function(e){return Ue(e)?e:xt(e)},kt=function(e){return Re(St(e).dom.documentElement)},Ct=function(e){return Re(St(e).dom.defaultView)},Bt=function(e){return z.from(e.dom.parentNode).map(Re)},Qt=function(e){return z.from(e.dom.offsetParent).map(Re)},Tt=function(e){return H(e.dom.childNodes,Re)},Et=function(e,t){var n=e.dom.childNodes;return z.from(n[t]).map(Re)},Pt=function(e,t){return{element:e,offset:t}},$t=function(e,t){var n=Tt(e);return n.length>0&&t<n.length?Pt(n[t],0):Pt(e,t)},Mt=function(e){return Fe(e)&&d(e.dom.host)},zt=f(Element.prototype.attachShadow)&&f(Node.prototype.getRootNode),Rt=A(zt),Dt=zt?function(e){return Re(e.dom.getRootNode())}:St,It=function(e){return Mt(e)?e:Re(St(e).dom.body)},Nt=function(e){var t=Dt(e);return Mt(t)?z.some(t):z.none()},Lt=function(e){return Re(e.dom.host)},Vt=function(e){var t=Ve(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;var n,r,o=t.ownerDocument;return Nt(Re(t)).fold((function(){return o.body.contains(t)}),(n=Vt,r=Lt,function(e){return n(r(e))}))},Ut=function(){return Ft(Re(document))},Ft=function(e){var t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return Re(t)},Ht=function(e,t,n){if(!(o(n)||l(n)||h(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")},Wt=function(e,t,n){Ht(e.dom,t,n)},Xt=function(e,t){var n=e.dom;he(t,(function(e,t){Ht(n,t,e)}))},jt=function(e,t){var n=e.dom.getAttribute(t);return null===n?void 0:n},qt=function(e,t){return z.from(jt(e,t))},Zt=function(e,t){var n=e.dom;return!(!n||!n.hasAttribute)&&n.hasAttribute(t)},Yt=function(e,t){e.dom.removeAttribute(t)},Gt=function(e,t,n){if(!o(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);Ee(e)&&e.style.setProperty(t,n)},Kt=function(e,t){Ee(e)&&e.style.removeProperty(t)},Jt=function(e,t,n){var r=e.dom;Gt(r,t,n)},en=function(e,t){var n=e.dom;he(t,(function(e,t){Gt(n,t,e)}))},tn=function(e,t){var n=e.dom;he(t,(function(e,t){e.fold((function(){Kt(n,t)}),(function(e){Gt(n,t,e)}))}))},nn=function(e,t){var n=e.dom,r=window.getComputedStyle(n).getPropertyValue(t);return""!==r||Vt(e)?r:rn(n,t)},rn=function(e,t){return Ee(e)?e.style.getPropertyValue(t):""},on=function(e,t){var n=e.dom,r=rn(n,t);return z.from(r).filter((function(e){return e.length>0}))},an=function(e){var t={},n=e.dom;if(Ee(n))for(var r=0;r<n.style.length;r++){var o=n.style.item(r);t[o]=n.style[o]}return t},sn=function(e,t,n){var r=Me(e);return Jt(r,t,n),on(r,t).isSome()},ln=function(e,t){var n=e.dom;Kt(n,t),we(qt(e,"style").map(Qe),"")&&Yt(e,"style")},cn=function(e){return e.dom.offsetWidth},un=function(e,t){var n=function(n){var r=t(n);if(r<=0||null===r){var o=nn(n,e);return parseFloat(o)||0}return r},r=function(e,t){return Z(t,(function(t,n){var r=nn(e,n),o=void 0===r?0:parseInt(r,10);return isNaN(o)?t:t+o}),0)};return{set:function(t,n){if(!h(n)&&!n.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+n);var r=t.dom;Ee(r)&&(r.style[e]=n+"px")},get:n,getOuter:n,aggregate:r,max:function(e,t,n){var o=r(e,n);return t>o?t-o:0}}},dn=un("height",(function(e){var t=e.dom;return Vt(e)?t.getBoundingClientRect().height:t.offsetHeight})),fn=function(e){return dn.get(e)},hn=function(e){return dn.getOuter(e)},pn=function(e,t){return{left:e,top:t,translate:function(n,r){return pn(e+n,t+r)}}},mn=pn,gn=function(e,t){return void 0!==e?e:void 0!==t?t:0},An=function(e){var t=e.dom.ownerDocument,n=t.body,r=t.defaultView,o=t.documentElement;if(n===e.dom)return mn(n.offsetLeft,n.offsetTop);var i=gn(null==r?void 0:r.pageYOffset,o.scrollTop),a=gn(null==r?void 0:r.pageXOffset,o.scrollLeft),s=gn(o.clientTop,n.clientTop),l=gn(o.clientLeft,n.clientLeft);return vn(e).translate(a-l,i-s)},vn=function(e){var t=e.dom,n=t.ownerDocument.body;return n===t?mn(n.offsetLeft,n.offsetTop):Vt(e)?function(e){var t=e.getBoundingClientRect();return mn(t.left,t.top)}(t):mn(0,0)},yn=un("width",(function(e){return e.dom.offsetWidth})),On=function(e){return yn.get(e)},bn=function(e){return yn.getOuter(e)},wn=function(e){var t=Re(function(e){if(Rt()&&d(e.target)){var t=Re(e.target);if(Le(t)&&function(e){return d(e.dom.shadowRoot)}(t)&&e.composed&&e.composedPath){var n=e.composedPath();if(n)return se(n)}}return z.from(e.target)}(e).getOr(e.target)),n=function(){return e.stopPropagation()},r=function(){return e.preventDefault()},o=g(r,n);return function(e,t,n,r,o,i,a){return{target:e,x:t,y:n,stop:r,prevent:o,kill:i,raw:a}}(t,e.clientX,e.clientY,n,r,o,e)},_n=function(e,t,n,r,o){var i=function(e,t){return function(n){e(n)&&t(wn(n))}}(n,r);return e.dom.addEventListener(t,i,o),{unbind:O(xn,e,t,i,o)}},xn=function(e,t,n,r){e.dom.removeEventListener(t,n,r)},Sn=function(e,t){Bt(e).each((function(n){n.dom.insertBefore(t.dom,e.dom)}))},kn=function(e,t){var n=function(e){return z.from(e.dom.nextSibling).map(Re)}(e);n.fold((function(){Bt(e).each((function(e){Bn(e,t)}))}),(function(e){Sn(e,t)}))},Cn=function(e,t){var n=function(e){return Et(e,0)}(e);n.fold((function(){Bn(e,t)}),(function(n){e.dom.insertBefore(t.dom,n.dom)}))},Bn=function(e,t){e.dom.appendChild(t.dom)},Qn=function(e,t){W(t,(function(t){Bn(e,t)}))},Tn=function(e){e.dom.textContent="",W(Tt(e),(function(e){En(e)}))},En=function(e){var t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},Pn=function(e){var t,n=Tt(e);n.length>0&&(t=e,W(n,(function(e){Sn(t,e)}))),En(e)},$n=function(e){var t=void 0!==e?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return mn(n,r)},Mn=function(e,t,n){var r=(void 0!==n?n.dom:document).defaultView;r&&r.scrollTo(e,t)},zn=function(e,t,n,r){return{x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}},Rn=function(e){var t=void 0===e?window:e,n=t.document,r=$n(Re(n));return function(e){var t=void 0===e?window:e;return yt().browser.isFirefox()?z.none():z.from(t.visualViewport)}(t).fold((function(){var e=t.document.documentElement,n=e.clientWidth,o=e.clientHeight;return zn(r.left,r.top,n,o)}),(function(e){return zn(Math.max(e.pageLeft,r.left),Math.max(e.pageTop,r.top),e.width,e.height)}))},Dn=function(e,t){return e.view(t).fold(A([]),(function(t){var n=e.owner(t),r=Dn(e,n);return[t].concat(r)}))},In=Object.freeze({__proto__:null,view:function(e){var t;return(e.dom===document?z.none():z.from(null===(t=e.dom.defaultView)||void 0===t?void 0:t.frameElement)).map(Re)},owner:function(e){return xt(e)}}),Nn=function(e){var t=Re(document),n=$n(t),r=function(e,t){var n=t.owner(e),r=Dn(t,n);return z.some(r)}(e,In);return r.fold(O(An,e),(function(t){var r=vn(e),o=q(t,(function(e,t){var n=vn(t);return{left:e.left+n.left,top:e.top+n.top}}),{left:0,top:0});return mn(o.left+r.left+n.left,o.top+r.top+n.top)}))},Ln=function(e,t,n,r){return{x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}},Vn=function(e){var t=An(e),n=bn(e),r=hn(e);return Ln(t.left,t.top,n,r)},Un=function(e){var t=Nn(e),n=bn(e),r=hn(e);return Ln(t.left,t.top,n,r)},Fn=function(){return Rn(window)},Hn=function(e){return{isValue:x,isError:_,getOr:A(e),getOrThunk:A(e),getOrDie:A(e),or:function(t){return Hn(e)},orThunk:function(t){return Hn(e)},fold:function(t,n){return n(e)},map:function(t){return Hn(t(e))},mapError:function(t){return Hn(e)},each:function(t){t(e)},bind:function(t){return t(e)},exists:function(t){return t(e)},forall:function(t){return t(e)},toOptional:function(){return z.some(e)}}},Wn=function(e){return{isValue:_,isError:x,getOr:v,getOrThunk:function(e){return e()},getOrDie:function(){return w(String(e))()},or:v,orThunk:function(e){return e()},fold:function(t,n){return t(e)},map:function(t){return Wn(e)},mapError:function(t){return Wn(t(e))},each:m,bind:function(t){return Wn(e)},exists:_,forall:x,toOptional:z.none}},Xn={value:Hn,error:Wn,fromOption:function(e,t){return e.fold((function(){return Wn(t)}),Hn)}};!function(e){e[e.Error=0]="Error",e[e.Value=1]="Value"}(De||(De={}));var jn=function(e,t,n){return e.stype===De.Error?t(e.serror):n(e.svalue)},qn=function(e){return{stype:De.Value,svalue:e}},Zn=function(e){return{stype:De.Error,serror:e}},Yn=qn,Gn=Zn,Kn=jn,Jn=function(e,t,n,r){return{tag:"field",key:e,newKey:t,presence:n,prop:r}},er=function(e,t,n){switch(e.tag){case"field":return t(e.key,e.newKey,e.presence,e.prop);case"custom":return n(e.newKey,e.instantiator)}},tr=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(0===t.length)throw new Error("Can't merge zero objects");for(var r={},o=0;o<t.length;o++){var i=t[o];for(var a in i)Oe(i,a)&&(r[a]=e(r[a],i[a]))}return r}},nr=tr((function(e,t){return i(e)&&i(t)?nr(e,t):t})),rr=tr((function(e,t){return t})),or=function(e){return{tag:"defaultedThunk",process:e}},ir=function(e){return or(A(e))},ar=function(e){return{tag:"mergeWithThunk",process:e}},sr=function(e){var t,n=function(e){var t=[],n=[];return W(e,(function(e){jn(e,(function(e){return n.push(e)}),(function(e){return t.push(e)}))})),{values:t,errors:n}}(e);return n.errors.length>0?(t=n.errors,g(Gn,K)(t)):Yn(n.values)},lr=function(e){return i(e)&&de(e).length>100?" removed due to size":JSON.stringify(e,null,2)},cr=function(e,t){return Gn([{path:e,getErrorInfo:t}])},ur=function(e){return{extract:function(t,n){return r=e(n),o=function(e){return function(e,t){return cr(e,A(t))}(t,e)},r.stype===De.Error?o(r.serror):r;var r,o},toString:A("val")}},dr=ur(Yn),fr=function(e,t,n,r){return r(ye(e,t).getOrThunk((function(){return n(e)})))},hr=function(e,t,n,r,o){var i=function(e){return o.extract(t.concat([r]),e)},a=function(e){return e.fold((function(){return Yn(z.none())}),(function(e){var n,i,a=o.extract(t.concat([r]),e);return n=a,i=z.some,n.stype===De.Value?{stype:De.Value,svalue:i(n.svalue)}:n}))};switch(e.tag){case"required":return function(e,t,n,r){return ye(t,n).fold((function(){return function(e,t,n){return cr(e,(function(){return'Could not find valid *required* value for "'+t+'" in '+lr(n)}))}(e,n,t)}),r)}(t,n,r,i);case"defaultedThunk":return fr(n,r,e.process,i);case"option":return function(e,t,n){return n(ye(e,t))}(n,r,a);case"defaultedOptionThunk":return function(e,t,n,r){return r(ye(e,t).map((function(t){return!0===t?n(e):t})))}(n,r,e.process,a);case"mergeWithThunk":return fr(n,r,A({}),(function(t){var r=nr(e.process(n),t);return i(r)}))}},pr=function(e){return{extract:function(t,n){return e().extract(t,n)},toString:function(){return e().toString()}}},mr=function(e){return de(function(e,t){var n,r={};return function(e,t,n,r){he(e,(function(e,o){(t(e,o)?n:r)(e,o)}))}(e,t,(n=r,function(e,t){n[t]=e}),m),r}(e,d))},gr=function(e){var t=Ar(e),n=q(e,(function(e,t){return er(t,(function(t){var n;return nr(e,((n={})[t]=!0,n))}),A(e))}),{});return{extract:function(e,r){var o=l(r)?[]:mr(r),i=j(o,(function(e){return!be(n,e)}));return 0===i.length?t.extract(e,r):function(e,t){return cr(e,(function(){return"There are unsupported fields: ["+t.join(", ")+"] specified"}))}(e,i)},toString:t.toString}},Ar=function(e){return{extract:function(t,n){return function(e,t,n){for(var r={},o=[],i=0,a=n;i<a.length;i++){var s=a[i];er(s,(function(n,i,a,s){var l=hr(a,e,t,n,s);Kn(l,(function(e){o.push.apply(o,e)}),(function(e){r[i]=e}))}),(function(e,n){r[e]=n(t)}))}return o.length>0?Gn(o):Yn(r)}(t,n,e)},toString:function(){var t=H(e,(function(e){return er(e,(function(e,t,n,r){return e+" -> "+r.toString()}),(function(e,t){return"state("+e+")"}))}));return"obj{\n"+t.join("\n")+"}"}}},vr=function(e){return{extract:function(t,n){var r=H(n,(function(n,r){return e.extract(t.concat(["["+r+"]"]),n)}));return sr(r)},toString:function(){return"array("+e.toString()+")"}}},yr=function(e){return{extract:function(t,n){for(var r=[],o=0,i=e;o<i.length;o++){var a=i[o].extract(t,n);if(a.stype===De.Value)return a;r.push(a)}return sr(r)},toString:function(){return"oneOf("+H(e,(function(e){return e.toString()})).join(", ")+")"}}},Or=function(e,t){return{extract:function(n,r){var o,i,a=de(r),s=function(t,n){return vr(ur(e)).extract(t,n)}(n,a);return i=function(e){var o=H(e,(function(e){return Jn(e,e,{tag:"required",process:{}},t)}));return Ar(o).extract(n,r)},(o=s).stype===De.Value?i(o.svalue):o},toString:function(){return"setOf("+t.toString()+")"}}},br=g(vr,Ar),wr=A(dr),_r=function(e,t){return ur((function(n){var r=typeof n;return e(n)?Yn(n):Gn("Expected type: "+t+" but got: "+r)}))},xr=_r(h,"number"),Sr=_r(o,"string"),kr=_r(l,"boolean"),Cr=_r(f,"function"),Br=function(e){if(Object(e)!==e)return!0;switch({}.toString.call(e).slice(8,-1)){case"Boolean":case"Number":case"String":case"Date":case"RegExp":case"Blob":case"FileList":case"ImageData":case"ImageBitmap":case"ArrayBuffer":return!0;case"Array":case"Object":return Object.keys(e).every((function(t){return Br(e[t])}));default:return!1}},Qr=ur((function(e){return Br(e)?Yn(e):Gn("Expected value to be acceptable for sending via postMessage")})),Tr=function(e,t){return{extract:function(n,r){return ye(r,e).fold((function(){return function(e,t){return cr(e,(function(){return'Choice schema did not contain choice key: "'+t+'"'}))}(n,e)}),(function(e){return function(e,t,n,r){return ye(n,r).fold((function(){return function(e,t,n){return cr(e,(function(){return'The chosen schema: "'+n+'" did not exist in branches: '+lr(t)}))}(e,n,r)}),(function(n){return n.extract(e.concat(["branch: "+r]),t)}))}(n,r,t,e)}))},toString:function(){return"chooseOn("+e+"). Possible values: "+de(t)}}},Er=function(e){return ur((function(t){return e(t).fold(Gn,Yn)}))},Pr=function(e,t){return Or((function(t){return e(t).fold(Zn,qn)}),t)},$r=function(e,t,n){return r=function(e,t,n){return function(e,t){return e.stype===De.Error?{stype:De.Error,serror:t(e.serror)}:e}(t.extract([e],n),(function(e){return{input:n,errors:e}}))}(e,t,n),jn(r,Xn.error,Xn.value);var r},Mr=function(e){return e.fold((function(e){throw new Error(Rr(e))}),v)},zr=function(e,t,n){return Mr($r(e,t,n))},Rr=function(e){return"Errors: \n"+(t=e.errors,n=t.length>10?t.slice(0,10).concat([{path:[],getErrorInfo:A("... (only showing first ten failures)")}]):t,H(n,(function(e){return"Failed path: ("+e.path.join(" > ")+")\n"+e.getErrorInfo()}))).join("\n")+"\n\nInput object: "+lr(e.input);var t,n},Dr=function(e,t){return Tr(e,pe(t,Ar))},Ir=Jn,Nr=function(e,t){return{tag:"custom",newKey:e,instantiator:t}},Lr=function(e){return Er((function(t){return L(e,t)?Xn.value(t):Xn.error('Unsupported value: "'+t+'", choose one of "'+e.join(", ")+'".')}))},Vr=function(e){return Ir(e,e,{tag:"required",process:{}},wr())},Ur=function(e,t){return Ir(e,e,{tag:"required",process:{}},t)},Fr=function(e){return Ur(e,xr)},Hr=function(e){return Ur(e,Sr)},Wr=function(e,t){return Ir(e,e,{tag:"required",process:{}},Lr(t))},Xr=function(e){return Ur(e,Cr)},jr=function(e,t){return Ir(e,e,{tag:"required",process:{}},Ar(t))},qr=function(e,t){return Ir(e,e,{tag:"required",process:{}},br(t))},Zr=function(e,t){return Ir(e,e,{tag:"required",process:{}},vr(t))},Yr=function(e){return Ir(e,e,{tag:"option",process:{}},wr())},Gr=function(e,t){return Ir(e,e,{tag:"option",process:{}},t)},Kr=function(e){return Gr(e,xr)},Jr=function(e){return Gr(e,Sr)},eo=function(e){return Gr(e,Cr)},to=function(e,t){return Gr(e,vr(t))},no=function(e,t){return Gr(e,Ar(t))},ro=function(e,t){return Ir(e,e,ir(t),wr())},oo=function(e,t,n){return Ir(e,e,ir(t),n)},io=function(e,t){return oo(e,t,xr)},ao=function(e,t){return oo(e,t,Sr)},so=function(e,t,n){return oo(e,t,Lr(n))},lo=function(e,t){return oo(e,t,kr)},co=function(e,t){return oo(e,t,Cr)},uo=function(e,t,n){return oo(e,t,vr(n))},fo=function(e,t,n){return oo(e,t,Ar(n))},ho=function(e){var t=e;return{get:function(){return t},set:function(e){t=e}}},po=function(e){if(!a(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");var t=[],n={};return W(e,(function(r,o){var i=de(r);if(1!==i.length)throw new Error("one and only one name per case");var s=i[0],l=r[s];if(void 0!==n[s])throw new Error("duplicate key detected:"+s);if("cata"===s)throw new Error("cannot have a case named cata (sorry)");if(!a(l))throw new Error("case arguments must be an array");t.push(s),n[s]=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=n.length;if(i!==l.length)throw new Error("Wrong number of arguments to case "+s+". Expected "+l.length+" ("+l+"), got "+i);return{fold:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[o].apply(null,n)},match:function(e){var r=de(e);if(t.length!==r.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+r.join(","));if(!ee(t,(function(e){return L(r,e)})))throw new Error("Not all branches were specified when using match. Specified: "+r.join(", ")+"\nRequired: "+t.join(", "));return e[s].apply(null,n)},log:function(e){console.log(e,{constructors:t,constructor:s,params:n})}}}})),n};po([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]);var mo,go,Ao=function(e,t){return function(e,t){var n;return(n={})[e]=t,n}(e,t)},vo=function(e){return function(e){var t={};return W(e,(function(e){t[e.key]=e.value})),t}(e)},yo=function(e){return f(e)?e:_},Oo=function(e,t,n){for(var r=e.dom,o=yo(n);r.parentNode;){r=r.parentNode;var i=Re(r),a=t(i);if(a.isSome())return a;if(o(i))break}return z.none()},bo=function(e,t,n){var r=t(e),o=yo(n);return r.orThunk((function(){return o(e)?z.none():Oo(e,t,o)}))},wo=function(e,t){return wt(e.element,t.event.target)},_o={can:x,abort:_,run:m},xo=function(e){if(!be(e,"can")&&!be(e,"abort")&&!be(e,"run"))throw new Error("EventHandler defined by: "+JSON.stringify(e,null,2)+" does not have can, abort, or run!");return k(k({},_o),e)},So=A,ko=So("touchstart"),Co=So("touchmove"),Bo=So("touchend"),Qo=So("touchcancel"),To=So("mousedown"),Eo=So("mousemove"),Po=So("mouseout"),$o=So("mouseup"),Mo=So("mouseover"),zo=So("focusin"),Ro=So("focusout"),Do=So("keydown"),Io=So("keyup"),No=So("input"),Lo=So("change"),Vo=So("click"),Uo=So("transitioncancel"),Fo=So("transitionend"),Ho=So("transitionstart"),Wo=So("selectstart"),Xo=function(e){return A("alloy."+e)},jo={tap:Xo("tap")},qo=Xo("focus"),Zo=Xo("blur.post"),Yo=Xo("paste.post"),Go=Xo("receive"),Ko=Xo("execute"),Jo=Xo("focus.item"),ei=jo.tap,ti=Xo("longpress"),ni=Xo("sandbox.close"),ri=Xo("typeahead.cancel"),oi=Xo("system.init"),ii=Xo("system.touchmove"),ai=Xo("system.touchend"),si=Xo("system.scroll"),li=Xo("system.resize"),ci=Xo("system.attached"),ui=Xo("system.detached"),di=Xo("system.dismissRequested"),fi=Xo("system.repositionRequested"),hi=Xo("focusmanager.shifted"),pi=Xo("slotcontainer.visibility"),mi=Xo("change.tab"),gi=Xo("dismiss.tab"),Ai=Xo("highlight"),vi=Xo("dehighlight"),yi=function(e,t){_i(e,e.element,t,{})},Oi=function(e,t,n){_i(e,e.element,t,n)},bi=function(e){yi(e,Ko())},wi=function(e,t,n){_i(e,t,n,{})},_i=function(e,t,n,r){var o=k({target:t},r);e.getSystem().triggerEvent(n,t,o)},xi=function(e,t,n,r){e.getSystem().triggerEvent(n,t,r.event)},Si=function(e){return vo(e)},ki=function(e,t){return{key:e,value:xo({abort:t})}},Ci=function(e){return{key:e,value:xo({run:function(e,t){t.event.prevent()}})}},Bi=function(e,t){return{key:e,value:xo({run:t})}},Qi=function(e,t,n){return{key:e,value:xo({run:function(e,r){t.apply(void 0,[e,r].concat(n))}})}},Ti=function(e){return function(t){return{key:e,value:xo({run:function(e,n){wo(e,n)&&t(e,n)}})}}},Ei=function(e,t,n){return function(e,t){return Bi(e,(function(n,r){n.getSystem().getByUid(t).each((function(t){xi(t,t.element,e,r)}))}))}(e,t.partUids[n])},Pi=function(e,t){return Bi(e,(function(e,n){var r=n.event,o=e.getSystem().getByDom(r.target).getOrThunk((function(){return bo(r.target,(function(t){return e.getSystem().getByDom(t).toOptional()}),_).getOr(e)}));t(e,o,n)}))},$i=function(e){return Bi(e,(function(e,t){t.cut()}))},Mi=function(e){return Bi(e,(function(e,t){t.stop()}))},zi=function(e,t){return Ti(e)(t)},Ri=Ti(ci()),Di=Ti(ui()),Ii=Ti(oi()),Ni=function(e){return function(t){return Bi(e,t)}}(Ko()),Li=function(e){return e.dom.innerHTML},Vi=function(e,t){var n,r,o=xt(e).dom,i=Re(o.createDocumentFragment()),a=(n=t,(r=(o||document).createElement("div")).innerHTML=n,Tt(Re(r)));Qn(i,a),Tn(e),Bn(e,i)},Ui=function(e){return Mt(e)?"#shadow-root":function(e){var t=Me("div"),n=Re(e.dom.cloneNode(!0));return Bn(t,n),Li(t)}(function(e){return function(e){return Re(e.dom.cloneNode(!1))}(e)}(e))},Fi=function(e){return Ui(e)},Hi=Si([function(e){return{key:e,value:xo({can:function(e,t){var n=t.event,r=n.originator,o=n.target;return!function(e,t,n){return wt(t,e.element)&&!wt(t,n)}(e,r,o)||(console.warn(qo()+" did not get interpreted by the desired target. \nOriginator: "+Fi(r)+"\nTarget: "+Fi(o)+"\nCheck the "+qo()+" event handlers"),!1)}})}}(qo())]),Wi=Object.freeze({__proto__:null,events:Hi}),Xi=0,ji=function(e){var t=(new Date).getTime();return e+"_"+Math.floor(1e9*Math.random())+ ++Xi+String(t)},qi=A("alloy-id-"),Zi=A("data-alloy-id"),Yi=qi(),Gi=Zi(),Ki=function(e,t){Object.defineProperty(e.dom,Gi,{value:t,writable:!0})},Ji=function(e){var t=Le(e)?e.dom[Gi]:null;return z.from(t)},ea=function(e){return ji(e)},ta=v,na=function(e){var t=function(t){return"The component must be in a context to execute: "+t+(e?"\n"+Fi(e().element)+" is not in context.":"")},n=function(e){return function(){throw new Error(t(e))}},r=function(e){return function(){console.warn(t(e))}};return{debugInfo:A("fake"),triggerEvent:r("triggerEvent"),triggerFocus:r("triggerFocus"),triggerEscape:r("triggerEscape"),broadcast:r("broadcast"),broadcastOn:r("broadcastOn"),broadcastEvent:r("broadcastEvent"),build:n("build"),addToWorld:n("addToWorld"),removeFromWorld:n("removeFromWorld"),addToGui:n("addToGui"),removeFromGui:n("removeFromGui"),getByUid:n("getByUid"),getByDom:n("getByDom"),isConnected:_}},ra=na(),oa=function(e){return H(e,(function(e){return Be(e,"/*")?e.substring(0,e.length-2):e}))},ia=function(e,t){var n=e.toString(),r=n.indexOf(")")+1,o=n.indexOf("("),i=n.substring(o+1,r-1).split(/,\s*/);return e.toFunctionAnnotation=function(){return{name:t,parameters:oa(i)}},e},aa=ji("alloy-premade"),sa=function(e){return Ao(aa,e)},la=function(e){return function(e,t){var n=t.toString(),r=n.indexOf(")")+1,o=n.indexOf("("),i=n.substring(o+1,r-1).split(/,\s*/);return e.toFunctionAnnotation=function(){return{name:"OVERRIDE",parameters:oa(i.slice(1))}},e}((function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return e.apply(void 0,B([t.getApis(),t],n,!1))}),e)},ca={init:function(){return ua({readState:A("No State required")})}},ua=function(e){return e},da=function(e,t){var n={};return he(e,(function(e,r){he(e,(function(e,o){var i=ye(n,o).getOr([]);n[o]=i.concat([t(r,e)])}))})),n},fa=function(e){return{classes:c(e.classes)?[]:e.classes,attributes:c(e.attributes)?{}:e.attributes,styles:c(e.styles)?{}:e.styles}},ha=function(e){return e.cHandler},pa=function(e,t){return{name:e,handler:t}},ma=function(e,t,n){var r=t[n];return r?function(e,t,n,r){try{var o=ie(n,(function(n,o){var i=n[t],a=o[t],s=r.indexOf(i),l=r.indexOf(a);if(-1===s)throw new Error("The ordering for "+e+" does not have an entry for "+i+".\nOrder specified: "+JSON.stringify(r,null,2));if(-1===l)throw new Error("The ordering for "+e+" does not have an entry for "+a+".\nOrder specified: "+JSON.stringify(r,null,2));return s<l?-1:l<s?1:0}));return Xn.value(o)}catch(e){return Xn.error([e])}}("Event: "+n,"name",e,r).map((function(e){return function(e){var t=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Z(e,(function(e,n){return e&&function(e){return e.can}(n).apply(void 0,t)}),!0)}}(e),n=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Z(e,(function(e,n){return e||function(e){return e.abort}(n).apply(void 0,t)}),!1)}}(e);return{can:t,abort:n,run:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];W(e,(function(e){e.run.apply(void 0,t)}))}}}(H(e,(function(e){return e.handler})))})):function(e,t){return Xn.error(["The event ("+e+') has more than one behaviour that listens to it.\nWhen this occurs, you must specify an event ordering for the behaviours in your spec (e.g. [ "listing", "toggling" ]).\nThe behaviours that can trigger it are: '+JSON.stringify(H(t,(function(e){return e.name})),null,2)])}(n,e)},ga=function(e,t){var n,r,o,i=ge(e,(function(e,n){return(1===e.length?Xn.value(e[0].handler):ma(e,t,n)).map((function(r){var o=function(e){var t=function(e){return f(e)?{can:x,abort:_,run:e}:e}(e);return function(e,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var i=[e,n].concat(r);t.abort.apply(void 0,i)?n.stop():t.can.apply(void 0,i)&&t.run.apply(void 0,i)}}(r),i=e.length>1?j(t[n],(function(t){return V(e,(function(e){return e.name===t}))})).join(" > "):e[0].name;return Ao(n,function(e,t){return{handler:e,purpose:t}}(o,i))}))}));return n={},o=function(e){var t=[],n=[];return W(e,(function(e){e.fold((function(e){t.push(e)}),(function(e){n.push(e)}))})),{errors:t,values:n}}(i),o.errors.length>0?(r=o.errors,Xn.error(K(r))):function(e,t){return 0===e.length?Xn.value(t):Xn.value(nr(t,rr.apply(void 0,e)))}(o.values,n)},Aa="alloy.base.behaviour",va=Ar([Ir("dom","dom",{tag:"required",process:{}},Ar([Vr("tag"),ro("styles",{}),ro("classes",[]),ro("attributes",{}),Yr("value"),Yr("innerHtml")])),Vr("components"),Vr("uid"),ro("events",{}),ro("apis",{}),Ir("eventOrder","eventOrder",(mo={},mo[Ko()]=["disabling",Aa,"toggling","typeaheadevents"],mo[qo()]=[Aa,"focusing","keying"],mo[oi()]=[Aa,"disabling","toggling","representing"],mo[No()]=[Aa,"representing","streaming","invalidating"],mo[ui()]=[Aa,"representing","item-events","tooltipping"],mo[To()]=["focusing",Aa,"item-type-events"],mo[ko()]=["focusing",Aa,"item-type-events"],mo[Mo()]=["item-type-events","tooltipping"],mo[Go()]=["receiving","reflecting","tooltipping"],go=mo,ar(A(go))),wr()),Yr("domModification")]),ya=function(e){return e.events},Oa=function(e,t){var n=jt(e,t);return void 0===n||""===n?[]:n.split(" ")},ba=function(e){return void 0!==e.dom.classList},wa=function(e,t){ba(e)?e.dom.classList.add(t):function(e,t){(function(e,t,n){var r=Oa(e,t).concat([n]);Wt(e,t,r.join(" "))})(e,"class",t)}(e,t)},_a=function(e,t){ba(e)?e.dom.classList.remove(t):function(e,t){(function(e,t,n){var r=j(Oa(e,t),(function(e){return e!==n}));r.length>0?Wt(e,t,r.join(" ")):Yt(e,t)})(e,"class",t)}(e,t),function(e){var t=ba(e)?e.dom.classList:function(e){return Oa(e,"class")}(e);0===t.length&&Yt(e,"class")}(e)},xa=function(e,t){return ba(e)&&e.dom.classList.contains(t)},Sa=function(e,t){W(t,(function(t){wa(e,t)}))},ka=function(e,t){W(t,(function(t){_a(e,t)}))},Ca=function(e){return e.dom.value},Ba=function(e,t){if(void 0===t)throw new Error("Value.set was undefined");e.dom.value=t},Qa=function(e){var t=function(e){var t=ye(e,"behaviours").getOr({});return J(de(t),(function(e){var n=t[e];return d(n)?[n.me]:[]}))}(e);return function(e,t){return function(e,t){var n=H(t,(function(e){return no(e.name(),[Vr("config"),ro("state",ca)])})),r=$r("component.behaviours",Ar(n),e.behaviours).fold((function(t){throw new Error(Rr(t)+"\nComplete spec:\n"+JSON.stringify(e,null,2))}),v);return{list:t,data:pe(r,(function(e){var t=e.map((function(e){return{config:e.config,state:e.state.init(e.config)}}));return A(t)}))}}(e,t)}(e,t)},Ta=function(e,t,n){var r={"alloy.base.behaviour":ya(e)};return function(e,t,n,r){var o=function(e,t,n){var r=k(k({},n),function(e,t){var n={};return W(e,(function(e){n[e.name()]=e.handlers(t)})),n}(t,e));return da(r,pa)}(e,n,r);return ga(o,t)}(n,e.eventOrder,t,r).getOrDie()},Ea=function(e){var t=function(){return u},n=ho(ra),r=Mr(function(e){return $r("custom.definition",va,e)}(e)),o=Qa(e),i=function(e){return e.list}(o),a=function(e){return e.data}(o),s=function(e){var t=Me(e.tag);Xt(t,e.attributes),Sa(t,e.classes),en(t,e.styles),e.innerHtml.each((function(e){return Vi(t,e)}));var n=e.domChildren;return Qn(t,n),e.value.each((function(e){Ba(t,e)})),e.uid,Ki(t,e.uid),t}(function(e,t,n){var r,o,i,a=k(k({},(r=e).dom),{uid:r.uid,domChildren:H(r.components,(function(e){return e.element}))}),s=function(e){return e.domModification.fold((function(){return fa({})}),fa)}(e),l={"alloy.base.modification":s},c=t.length>0?function(e,t,n,r){var o=k({},t);W(n,(function(t){o[t.name()]=t.exhibit(e,r)}));var i=da(o,(function(e,t){return{name:e,modification:t}})),a=function(e){return q(e,(function(e,t){return k(k({},t.modification),e)}),{})},s=q(i.classes,(function(e,t){return t.modification.concat(e)}),[]),l=a(i.attributes),c=a(i.styles);return fa({classes:s,attributes:l,styles:c})}(n,l,t,a):s;return i=c,k(k({},o=a),{attributes:k(k({},o.attributes),i.attributes),styles:k(k({},o.styles),i.styles),classes:o.classes.concat(i.classes)})}(r,i,a)),l=Ta(r,i,a),c=ho(r.components),u={uid:e.uid,getSystem:n.get,config:function(t){var n=a;return(f(n[t.name()])?n[t.name()]:function(){throw new Error("Could not find "+t.name()+" in "+JSON.stringify(e,null,2))})()},hasConfigured:function(e){return f(a[e.name()])},spec:e,readState:function(e){return a[e]().map((function(e){return e.state.readState()})).getOr("not enabled")},getApis:function(){return r.apis},connect:function(e){n.set(e)},disconnect:function(){n.set(na(t))},element:s,syncComponents:function(){var e=Tt(s),t=J(e,(function(e){return n.get().getByDom(e).fold((function(){return[]}),oe)}));c.set(t)},components:c.get,events:l};return u},Pa=function(e){var t=ze(e);return $a({element:t})},$a=function(e){var t=zr("external.component",gr([Vr("element"),Yr("uid")]),e),n=ho(na()),r=t.uid.getOrThunk((function(){return ea("external")}));Ki(t.element,r);var o={uid:r,getSystem:n.get,config:z.none,hasConfigured:_,connect:function(e){n.set(e)},disconnect:function(){n.set(na((function(){return o})))},getApis:function(){return{}},element:t.element,spec:e,readState:A("No state"),syncComponents:m,components:A([]),events:{}};return sa(o)},Ma=ea,za=function(e){return function(e){return ye(e,aa)}(e).getOrThunk((function(){return function(e){var t=ta(e),n=t.events,r=C(t,["events"]),o=function(e){var t=ye(e,"components").getOr([]);return H(t,za)}(r),i=k(k({},r),{events:k(k({},Wi),n),components:o});return Xn.value(Ea(i))}(function(e){return Oe(e,"uid")}(e)?e:k({uid:Ma("")},e)).getOrDie()}))},Ra=sa;function Da(e,t,n,r,o){return e(n,r)?z.some(n):f(o)&&o(n)?z.none():t(n,r,o)}var Ia,Na=function(e,t,n){for(var r=e.dom,o=f(n)?n:_;r.parentNode;){r=r.parentNode;var i=Re(r);if(t(i))return z.some(i);if(o(i))break}return z.none()},La=function(e,t,n){return Da((function(e,t){return t(e)}),Na,e,t,n)},Va=function(e,t,n){return La(e,t,n).isSome()},Ua=function(e,t,n){return Na(e,(function(e){return Ot(e,t)}),n)},Fa=function(e,t){return function(e){return Y(e.dom.childNodes,(function(e){return n=Re(e),Ot(n,t);var n})).map(Re)}(e)},Ha=function(e,t){return function(e,t){var n=void 0===t?document:t.dom;return bt(n)?z.none():z.from(n.querySelector(e)).map(Re)}(t,e)},Wa=function(e,t,n){return Da((function(e,t){return Ot(e,t)}),Ua,e,t,n)},Xa=function(){var e=ji("aria-owns");return{id:e,link:function(t){Wt(t,"aria-owns",e)},unlink:function(e){Yt(e,"aria-owns")}}},ja=function(e,t){return Va(t,(function(t){return wt(t,e.element)}),_)||function(e,t){return function(e){var t=La(e,(function(e){if(!Le(e))return!1;var t=jt(e,"id");return void 0!==t&&t.indexOf("aria-owns")>-1}));return t.bind((function(e){var t=jt(e,"id"),n=Dt(e);return Ha(n,'[aria-owns="'+t+'"]')}))}(t).exists((function(t){return ja(e,t)}))}(e,t)};!function(e){e[e.STOP=0]="STOP",e[e.NORMAL=1]="NORMAL",e[e.LOGGING=2]="LOGGING"}(Ia||(Ia={}));var qa=ho({}),Za=["alloy/data/Fields","alloy/debugging/Debugging"],Ya=function(e,t,n){return function(e,t,n){switch(ye(qa.get(),e).orThunk((function(){var t=de(qa.get());return ue(t,(function(t){return e.indexOf(t)>-1?z.some(qa.get()[t]):z.none()}))})).getOr(Ia.NORMAL)){case Ia.NORMAL:return n(Ga());case Ia.LOGGING:var r=function(e,t){var n=[],r=(new Date).getTime();return{logEventCut:function(e,t,r){n.push({outcome:"cut",target:t,purpose:r})},logEventStopped:function(e,t,r){n.push({outcome:"stopped",target:t,purpose:r})},logNoParent:function(e,t,r){n.push({outcome:"no-parent",target:t,purpose:r})},logEventNoHandlers:function(e,t){n.push({outcome:"no-handlers-left",target:t})},logEventResponse:function(e,t,r){n.push({outcome:"response",purpose:r,target:t})},write:function(){var o=(new Date).getTime();L(["mousemove","mouseover","mouseout",oi()],e)||console.log(e,{event:e,time:o-r,target:t.dom,sequence:H(n,(function(e){return L(["cut","stopped","response"],e.outcome)?"{"+e.purpose+"} "+e.outcome+" at ("+Fi(e.target)+")":e.outcome}))})}}}(e,t),o=n(r);return r.write(),o;case Ia.STOP:return!0}}(e,t,n)},Ga=A({logEventCut:m,logEventStopped:m,logNoParent:m,logEventNoHandlers:m,logEventResponse:m,write:m}),Ka=A([Vr("menu"),Vr("selectedMenu")]),Ja=A([Vr("item"),Vr("selectedItem")]);A(Ar(Ja().concat(Ka())));var es=A(Ar(Ja())),ts=jr("initSize",[Vr("numColumns"),Vr("numRows")]),ns=function(){return jr("markers",[Vr("backgroundMenu")].concat(Ka()).concat(Ja()))},rs=function(e){return jr("markers",H(e,Vr))},os=function(e,t,n){return function(){var e=new Error;if(void 0!==e.stack){var t=e.stack.split("\n");Y(t,(function(e){return e.indexOf("alloy")>0&&!V(Za,(function(t){return e.indexOf(t)>-1}))})).getOr("unknown")}}(),Ir(t,t,n,Er((function(e){return Xn.value((function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.apply(void 0,t)}))})))},is=function(e){return os(0,e,ir(m))},as=function(e){return os(0,e,ir(z.none))},ss=function(e){return os(0,e,{tag:"required",process:{}})},ls=function(e){return os(0,e,{tag:"required",process:{}})},cs=function(e,t){return Nr(e,A(t))},us=function(e){return Nr(e,v)},ds=A(ts),fs=function(e,t,n,r,o,i,a,s){return void 0===s&&(s=!1),{x:e,y:t,bubble:n,direction:r,placement:o,restriction:i,label:a+"-"+o,alwaysFit:s}},hs=po([{southeast:[]},{southwest:[]},{northeast:[]},{northwest:[]},{south:[]},{north:[]},{east:[]},{west:[]}]),ps=hs.southeast,ms=hs.southwest,gs=hs.northeast,As=hs.northwest,vs=hs.south,ys=hs.north,Os=hs.east,bs=hs.west,ws=function(e,t,n,r){var o=e+t;return o>r?n:o<n?r:o},_s=function(e,t,n){return Math.min(Math.max(e,t),n)},xs=function(e,t){return re(["left","right","top","bottom"],(function(n){return ye(t,n).map((function(t){return function(e,t){switch(t){case 1:return e.x;case 0:return e.x+e.width;case 2:return e.y;case 3:return e.y+e.height}}(e,t)}))}))},Ss="layout",ks=function(e){return e.x},Cs=function(e,t){return e.x+e.width/2-t.width/2},Bs=function(e,t){return e.x+e.width-t.width},Qs=function(e,t){return e.y-t.height},Ts=function(e){return e.y+e.height},Es=function(e,t){return e.y+e.height/2-t.height/2},Ps=function(e,t,n){return fs(ks(e),Ts(e),n.southeast(),ps(),"southeast",xs(e,{left:1,top:3}),Ss)},$s=function(e,t,n){return fs(Bs(e,t),Ts(e),n.southwest(),ms(),"southwest",xs(e,{right:0,top:3}),Ss)},Ms=function(e,t,n){return fs(ks(e),Qs(e,t),n.northeast(),gs(),"northeast",xs(e,{left:1,bottom:2}),Ss)},zs=function(e,t,n){return fs(Bs(e,t),Qs(e,t),n.northwest(),As(),"northwest",xs(e,{right:0,bottom:2}),Ss)},Rs=function(e,t,n){return fs(Cs(e,t),Qs(e,t),n.north(),ys(),"north",xs(e,{bottom:2}),Ss)},Ds=function(e,t,n){return fs(Cs(e,t),Ts(e),n.south(),vs(),"south",xs(e,{top:3}),Ss)},Is=function(e,t,n){return fs(function(e){return e.x+e.width}(e),Es(e,t),n.east(),Os(),"east",xs(e,{left:0}),Ss)},Ns=function(e,t,n){return fs(function(e,t){return e.x-t.width}(e,t),Es(e,t),n.west(),bs(),"west",xs(e,{right:1}),Ss)},Ls=function(){return[Ps,$s,Ms,zs,Ds,Rs,Is,Ns]},Vs=function(){return[$s,Ps,zs,Ms,Ds,Rs,Is,Ns]},Us=function(){return[Ms,zs,Ps,$s,Rs,Ds]},Fs=function(){return[zs,Ms,$s,Ps,Rs,Ds]},Hs=function(){return[Ps,$s,Ms,zs,Ds,Rs]},Ws=function(){return[$s,Ps,zs,Ms,Ds,Rs]},Xs=Object.freeze({__proto__:null,events:function(e){return Si([Bi(Go(),(function(t,n){var r=e.channels,o=de(r),i=n,a=function(e,t){return t.universal?e:j(e,(function(e){return L(t.channels,e)}))}(o,i);W(a,(function(e){var n=r[e],o=n.schema,a=zr("channel["+e+"] data\nReceiver: "+Fi(t.element),o,i.data);n.onReceive(t,a)}))}))])}}),js=[Ur("channels",Pr(Xn.value,gr([ss("onReceive"),ro("schema",wr())])))],qs=function(e,t,n){return Ii((function(r,o){n(r,e,t)}))},Zs=function(e){return{key:e,value:void 0}},Ys=function(e,t,n,r,o,i,a){var s=function(e){return be(e,n)?e[n]():z.none()},l=pe(o,(function(e,t){return function(e,t,n){return function(e,t,n){var r=n.toString(),o=r.indexOf(")")+1,i=r.indexOf("("),a=r.substring(i+1,o-1).split(/,\s*/);return e.toFunctionAnnotation=function(){return{name:t,parameters:oa(a.slice(0,1).concat(a.slice(3)))}},e}((function(r){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];var a=[r].concat(o);return r.config({name:A(e)}).fold((function(){throw new Error("We could not find any behaviour configuration for: "+e+". Using API: "+n)}),(function(e){var n=Array.prototype.slice.call(a,1);return t.apply(void 0,[r,e.config,e.state].concat(n))}))}),n,t)}(n,e,t)})),c=pe(i,(function(e,t){return ia(e,t)})),u=k(k(k({},c),l),{revoke:O(Zs,n),config:function(t){var r=zr(n+"-config",e,t);return{key:n,value:{config:r,me:u,configAsRaw:He((function(){return zr(n+"-config",e,t)})),initialConfig:t,state:a}}},schema:A(t),exhibit:function(e,t){return xe(s(e),ye(r,"exhibit"),(function(e,n){return n(t,e.config,e.state)})).getOrThunk((function(){return fa({})}))},name:A(n),handlers:function(e){return s(e).map((function(e){return ye(r,"events").getOr((function(){return{}}))(e.config,e.state)})).getOr({})}});return u},Gs=function(e){return vo(e)},Ks=gr([Vr("fields"),Vr("name"),ro("active",{}),ro("apis",{}),ro("state",ca),ro("extra",{})]),Js=function(e){var t=zr("Creating behaviour: "+e.name,Ks,e);return function(e,t,n,r,o,i){var a,s=gr(e),l=no(t,[(a=e,Gr("config",gr(a)))]);return Ys(s,l,t,n,r,o,i)}(t.fields,t.name,t.active,t.apis,t.extra,t.state)},el=gr([Vr("branchKey"),Vr("branches"),Vr("name"),ro("active",{}),ro("apis",{}),ro("state",ca),ro("extra",{})]),tl=function(e){var t=zr("Creating behaviour: "+e.name,el,e);return function(e,t,n,r,o,i){var a=e,s=no(t,[Gr("config",e)]);return Ys(a,s,t,n,r,o,i)}(Dr(t.branchKey,t.branches),t.name,t.active,t.apis,t.extra,t.state)},nl=A(void 0),rl=Js({fields:js,name:"receiving",active:Xs}),ol=Object.freeze({__proto__:null,exhibit:function(e,t){return fa({classes:[],styles:t.useFixed()?{}:{position:"relative"}})}}),il=function(){return Re(document)},al=function(e){return e.dom.focus()},sl=function(e){var t=Dt(e).dom;return e.dom===t.activeElement},ll=function(e){return void 0===e&&(e=il()),z.from(e.dom.activeElement).map(Re)},cl=function(e){return ll(Dt(e)).filter((function(t){return e.dom.contains(t.dom)}))},ul=function(e,t){var n=Dt(t),r=ll(n).bind((function(e){var n,r,o=function(t){return wt(e,t)};return o(t)?z.some(t):(n=o,(r=function(e){for(var t=0;t<e.childNodes.length;t++){var o=Re(e.childNodes[t]);if(n(o))return z.some(o);var i=r(e.childNodes[t]);if(i.isSome())return i}return z.none()})(t.dom))})),o=e(t);return r.each((function(e){ll(n).filter((function(t){return wt(t,e)})).fold((function(){al(e)}),m)})),o},dl=function(e,t,n,r,o){var i=function(e){return e+"px"};return{position:e,left:t.map(i),top:n.map(i),right:r.map(i),bottom:o.map(i)}},fl=function(e,t){tn(e,function(e){return k(k({},e),{position:z.some(e.position)})}(t))},hl=po([{none:[]},{relative:["x","y","width","height"]},{fixed:["x","y","width","height"]}]),pl=function(e,t,n,r,o,i){var a=t.rect,s=a.x-n,l=a.y-r,c=o-(s+a.width),u=i-(l+a.height),d=z.some(s),f=z.some(l),h=z.some(c),p=z.some(u),m=z.none();return t.direction.fold((function(){return dl(e,d,f,m,m)}),(function(){return dl(e,m,f,h,m)}),(function(){return dl(e,d,m,m,p)}),(function(){return dl(e,m,m,h,p)}),(function(){return dl(e,d,f,m,m)}),(function(){return dl(e,d,m,m,p)}),(function(){return dl(e,d,f,m,m)}),(function(){return dl(e,m,f,h,m)}))},ml=function(e,t){return e.fold((function(){var e=t.rect;return dl("absolute",z.some(e.x),z.some(e.y),z.none(),z.none())}),(function(e,n,r,o){return pl("absolute",t,e,n,r,o)}),(function(e,n,r,o){return pl("fixed",t,e,n,r,o)}))},gl=function(e,t){var n=O(Nn,t),r=e.fold(n,n,(function(){var e=$n();return Nn(t).translate(-e.left,-e.top)})),o=bn(t),i=hn(t);return Ln(r.left,r.top,o,i)},Al=function(e,t){return t.fold((function(){return e.fold(Fn,Fn,Ln)}),(function(t){return e.fold(t,t,(function(){var n=t(),r=vl(e,n.x,n.y);return Ln(r.left,r.top,n.width,n.height)}))}))},vl=function(e,t,n){var r=mn(t,n);return e.fold(A(r),A(r),(function(){var e=$n();return r.translate(-e.left,-e.top)}))};hl.none;var yl,Ol=hl.relative,bl=hl.fixed,wl="data-alloy-placement",_l=function(e){return qt(e,wl)},xl=po([{fit:["reposition"]},{nofit:["reposition","visibleW","visibleH","isVisible"]}]),Sl=function(e,t,n,r){var o=e.bubble,i=o.offset,a=function(e,t,n){var r=function(r,o){return t[r].map((function(t){var i="top"===r||"bottom"===r,a=i?n.top:n.left,s=("left"===r||"top"===r?Math.max:Math.min)(t,o)+a;return i?_s(s,e.y,e.bottom):_s(s,e.x,e.right)})).getOr(o)},o=r("left",e.x),i=r("top",e.y),a=r("right",e.right),s=r("bottom",e.bottom);return Ln(o,i,a-o,s-i)}(r,e.restriction,i),s=e.x+i.left,l=e.y+i.top,c=Ln(s,l,t,n),u=function(e,t){var n=t.x,r=t.y,o=t.right,i=t.bottom,a=e.x,s=e.y,l=e.right,c=e.bottom,u=e.width,d=e.height;return{originInBounds:a>=n&&a<=o&&s>=r&&s<=i,sizeInBounds:l<=o&&l>=n&&c<=i&&c>=r,visibleW:Math.min(u,a>=n?o-a:l-n),visibleH:Math.min(d,s>=r?i-s:c-r)}}(c,a),d=u.originInBounds,f=u.sizeInBounds,h=u.visibleW,p=u.visibleH,m=d&&f,g=m?c:function(e,t){var n=t.x,r=t.y,o=t.right,i=t.bottom,a=e.x,s=e.y,l=e.width,c=e.height,u=Math.max(n,o-l),d=Math.max(r,i-c),f=_s(a,n,u),h=_s(s,r,d),p=Math.min(f+l,o)-f,m=Math.min(h+c,i)-h;return Ln(f,h,p,m)}(c,a),v=g.width>0&&g.height>0,y=function(e,t,n){var r=A(t.bottom-n.y),o=A(n.bottom-t.y),i=function(e,t,n,r){return e.fold(t,t,r,r,t,r,n,n)}(e,o,o,r),a=A(t.right-n.x),s=A(n.right-t.x),l=function(e,t,n,r){return e.fold(t,r,t,r,n,n,t,r)}(e,s,s,a);return{maxWidth:l,maxHeight:i}}(e.direction,g,r),O=y.maxWidth,b={rect:g,maxHeight:y.maxHeight,maxWidth:O,direction:e.direction,placement:e.placement,classes:{on:o.classesOn,off:o.classesOff},layout:e.label,testY:l};return m||e.alwaysFit?xl.fit(b):xl.nofit(b,h,p,v)},kl=function(e){var t=ho(z.none()),n=function(){return t.get().each(e)};return{clear:function(){n(),t.set(z.none())},isSet:function(){return t.get().isSome()},get:function(){return t.get()},set:function(e){n(),t.set(z.some(e))}}},Cl=function(){return kl((function(e){return e.destroy()}))},Bl=function(){return kl((function(e){return e.unbind()}))},Ql=function(){var e=kl(m);return k(k({},e),{on:function(t){return e.get().each(t)}})},Tl=x,El=function(e,t,n){return function(e,t,n,r){return _n(e,t,n,r,!1)}(e,t,Tl,n)},Pl=function(e,t,n){return function(e,t,n,r){return _n(e,t,n,r,!0)}(e,t,Tl,n)},$l=wn,Ml=["top","bottom","right","left"],zl="data-alloy-transition-timer",Rl=function(e,t,n,r,i,a){var s=function(e,t,n){return n.exists((function(n){var r=e.mode;return"all"===r||n[r]!==t[r]}))}(r,i,a);if(s||function(e,t){return function(e,t){return ee(t,(function(t){return xa(e,t)}))}(e,t.classes)}(e,r)){Jt(e,"position",n.position);var l=gl(t,e),c=ml(t,k(k({},i),{rect:l})),d=re(Ml,(function(e){return c[e]}));(function(e,t){var n=function(e){return parseFloat(e).toFixed(3)};return Ae(t,(function(t,r){var o,i,a,s=e[r].map(n),l=t.map(n);return void 0===a&&(a=y),!xe(o=s,i=l,a).getOr(o.isNone()&&i.isNone())})).isSome()})(n,d)&&(tn(e,d),s&&function(e,t){Sa(e,t.classes),qt(e,zl).each((function(t){clearTimeout(parseInt(t,10)),Yt(e,zl)})),function(e,t){var n,r=Bl(),i=Bl(),a=function(t){var n,r=null!==(n=t.raw.pseudoElement)&&void 0!==n?n:"";return wt(t.target,e)&&!Te(r)&&L(Ml,t.raw.propertyName)},s=function(o){if(u(o)||a(o)){r.clear(),i.clear();var s=null==o?void 0:o.raw.type;(u(s)||s===Fo())&&(clearTimeout(n),Yt(e,zl),ka(e,t.classes))}},l=function(){r.set(El(e,Fo(),s)),i.set(El(e,Uo(),s))};if("ontransitionstart"in e.dom)var c=El(e,Ho(),(function(e){a(e)&&(c.unbind(),l())}));else l();var d=function(e){var t=function(t){var n=nn(e,t),r=o(n)?n.split(/\s*,\s*/):[];return j(r,Te)},n=function(e){if(o(e)&&/^[\d.]+/.test(e)){var t=parseFloat(e);return Be(e,"ms")?t:1e3*t}return 0},r=t("transition-delay"),i=t("transition-duration");return Z(i,(function(e,t,o){var i=n(r[o])+n(t);return Math.max(e,i)}),0)}(e);requestAnimationFrame((function(){n=setTimeout(s,d+17),Wt(e,zl,n)}))}(e,t)}(e,r),cn(e))}else ka(e,r.classes)},Dl=function(e,t){!function(e,t){var n=dn.max(e,t,["margin-top","border-top-width","padding-top","padding-bottom","border-bottom-width","margin-bottom"]);Jt(e,"max-height",n+"px")}(e,Math.floor(t))},Il=A((function(e,t){Dl(e,t),en(e,{"overflow-x":"hidden","overflow-y":"auto"})})),Nl=A((function(e,t){Dl(e,t)})),Ll=function(e,t,n){return void 0===e[t]?n:e[t]},Vl=function(e,t,n,r){var o=function(e,t,n,r){ln(t,"max-height"),ln(t,"max-width");var o,i={width:bn(o=t),height:hn(o)};return function(e,t,n,r,o,i){var a=r.width,s=r.height,l=function(t,l,c,u,d){var f=t(n,r,o,e,i),h=Sl(f,a,s,i);return h.fold(A(h),(function(e,t,n,r){return(d===r?n>u||t>c:!d&&r)?h:xl.nofit(l,c,u,d)}))};return Z(t,(function(e,t){var n=O(l,t);return e.fold(A(e),n)}),xl.nofit({rect:n,maxHeight:r.height,maxWidth:r.width,direction:ps(),placement:"southeast",classes:{on:[],off:[]},layout:"none",testY:n.y},-1,-1,!1)).fold(v,v)}(t,r.preference,e,i,n,r.bounds)}(e,t,n,r);return function(e,t,n){var r=ml(n.origin,t);n.transition.each((function(o){Rl(e,n.origin,r,o,t,n.lastPlacement)})),fl(e,r)}(t,o,r),function(e,t){!function(e,t){Wt(e,wl,t)}(e,t.placement)}(t,o),function(e,t){var n=t.classes;ka(e,n.off),Sa(e,n.on)}(t,o),function(e,t,n){(0,n.maxHeightFunction)(e,t.maxHeight)}(t,o,r),function(e,t,n){(0,n.maxWidthFunction)(e,t.maxWidth)}(t,o,r),{layout:o.layout,placement:o.placement}},Ul=["valignCentre","alignLeft","alignRight","alignCentre","top","bottom","left","right","inset"],Fl=function(e,t,n,r){void 0===r&&(r=1);var o=e*r,i=t*r,a=function(e){return ye(n,e).getOr([])},s=function(e,t,n){var r=ne(Ul,n);return{offset:mn(e,t),classesOn:J(n,a),classesOff:J(r,a)}};return{southeast:function(){return s(-e,t,["top","alignLeft"])},southwest:function(){return s(e,t,["top","alignRight"])},south:function(){return s(-e/2,t,["top","alignCentre"])},northeast:function(){return s(-e,-t,["bottom","alignLeft"])},northwest:function(){return s(e,-t,["bottom","alignRight"])},north:function(){return s(-e/2,-t,["bottom","alignCentre"])},east:function(){return s(e,-t/2,["valignCentre","left"])},west:function(){return s(-e,-t/2,["valignCentre","right"])},insetNortheast:function(){return s(o,i,["top","alignLeft","inset"])},insetNorthwest:function(){return s(-o,i,["top","alignRight","inset"])},insetNorth:function(){return s(-o/2,i,["top","alignCentre","inset"])},insetSoutheast:function(){return s(o,-i,["bottom","alignLeft","inset"])},insetSouthwest:function(){return s(-o,-i,["bottom","alignRight","inset"])},insetSouth:function(){return s(-o/2,-i,["bottom","alignCentre","inset"])},insetEast:function(){return s(-o,-i/2,["valignCentre","right","inset"])},insetWest:function(){return s(o,-i/2,["valignCentre","left","inset"])}}},Hl=function(){return Fl(0,0,{})},Wl=v,Xl=function(e,t){return function(n){return"rtl"===jl(n)?t:e}},jl=function(e){return"rtl"===nn(e,"direction")?"rtl":"ltr"};!function(e){e.TopToBottom="toptobottom",e.BottomToTop="bottomtotop"}(yl||(yl={}));var ql="data-alloy-vertical-dir",Zl=function(e){return Va(e,(function(e){return Le(e)&&jt(e,"data-alloy-vertical-dir")===yl.BottomToTop}))},Yl=function(){return no("layouts",[Vr("onLtr"),Vr("onRtl"),Yr("onBottomLtr"),Yr("onBottomRtl")])},Gl=function(e,t,n,r,o,i,a){var s=a.map(Zl).getOr(!1),l=t.layouts.map((function(t){return t.onLtr(e)})),c=t.layouts.map((function(t){return t.onRtl(e)})),u=s?t.layouts.bind((function(t){return t.onBottomLtr.map((function(t){return t(e)}))})).or(l).getOr(o):l.getOr(n),d=s?t.layouts.bind((function(t){return t.onBottomRtl.map((function(t){return t(e)}))})).or(c).getOr(i):c.getOr(r);return Xl(u,d)(e)},Kl=[Vr("hotspot"),Yr("bubble"),ro("overrides",{}),Yl(),cs("placement",(function(e,t,n){var r=t.hotspot,o=gl(n,r.element),i=Gl(e.element,t,Hs(),Ws(),Us(),Fs(),z.some(t.hotspot.element));return z.some(Wl({anchorBox:o,bubble:t.bubble.getOr(Hl()),overrides:t.overrides,layouts:i,placer:z.none()}))}))],Jl=[Vr("x"),Vr("y"),ro("height",0),ro("width",0),ro("bubble",Hl()),ro("overrides",{}),Yl(),cs("placement",(function(e,t,n){var r=vl(n,t.x,t.y),o=Ln(r.left,r.top,t.width,t.height),i=Gl(e.element,t,Ls(),Vs(),Ls(),Vs(),z.none());return z.some(Wl({anchorBox:o,bubble:t.bubble,overrides:t.overrides,layouts:i,placer:z.none()}))}))],ec=po([{screen:["point"]},{absolute:["point","scrollLeft","scrollTop"]}]),tc=function(e){return e.fold(v,(function(e,t,n){return e.translate(-t,-n)}))},nc=function(e){return e.fold(v,v)},rc=function(e){return Z(e,(function(e,t){return e.translate(t.left,t.top)}),mn(0,0))},oc=function(e){var t=H(e,nc);return rc(t)},ic=ec.screen,ac=ec.absolute,sc=function(e,t,n){var r=xt(e.element),o=$n(r),i=function(e,t,n){var r=Ct(n.root).dom;return z.from(r.frameElement).map(Re).filter((function(t){var n=xt(t),r=xt(e.element);return wt(n,r)})).map(An)}(e,0,n).getOr(o);return ac(i,o.left,o.top)},lc=function(e,t,n,r){var o=ic(mn(e,t));return z.some(function(e,t,n){return{point:e,width:t,height:n}}(o,n,r))},cc=function(e,t,n,r,o){return e.map((function(e){var i,a,s,l,c,u,d,f=[t,e.point],h=(i=function(){return oc(f)},a=function(){return oc(f)},s=function(){return function(e){var t=H(e,tc);return rc(t)}(f)},r.fold(i,a,s)),p=(l=h.left,c=h.top,u=e.width,d=e.height,{x:l,y:c,width:u,height:d}),m=n.showAbove?Us():Hs(),g=n.showAbove?Fs():Ws(),A=Gl(o,n,m,g,m,g,z.none());return Wl({anchorBox:p,bubble:n.bubble.getOr(Hl()),overrides:n.overrides,layouts:A,placer:z.none()})}))},uc=[Vr("node"),Vr("root"),Yr("bubble"),Yl(),ro("overrides",{}),ro("showAbove",!1),cs("placement",(function(e,t,n){var r=sc(e,0,t);return t.node.filter(Vt).bind((function(o){var i=o.dom.getBoundingClientRect(),a=lc(i.left,i.top,i.width,i.height),s=t.node.getOr(e.element);return cc(a,r,t,n,s)}))}))],dc=function(e,t,n,r){return{start:e,soffset:t,finish:n,foffset:r}},fc=po([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),hc=(fc.before,fc.on,fc.after,function(e){return e.fold(v,v,v)}),pc=po([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),mc={domRange:pc.domRange,relative:pc.relative,exact:pc.exact,exactFromRange:function(e){return pc.exact(e.start,e.soffset,e.finish,e.foffset)},getWin:function(e){var t=function(e){return e.match({domRange:function(e){return Re(e.startContainer)},relative:function(e,t){return hc(e)},exact:function(e,t,n,r){return e}})}(e);return Ct(t)},range:dc},gc=function(e,t,n){var r,o=e.document.createRange();return r=o,t.fold((function(e){r.setStartBefore(e.dom)}),(function(e,t){r.setStart(e.dom,t)}),(function(e){r.setStartAfter(e.dom)})),function(e,t){t.fold((function(t){e.setEndBefore(t.dom)}),(function(t,n){e.setEnd(t.dom,n)}),(function(t){e.setEndAfter(t.dom)}))}(o,n),o},Ac=function(e,t,n,r,o){var i=e.document.createRange();return i.setStart(t.dom,n),i.setEnd(r.dom,o),i},vc=function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom,width:e.width,height:e.height}},yc=po([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),Oc=function(e,t,n){return t(Re(n.startContainer),n.startOffset,Re(n.endContainer),n.endOffset)},bc=function(e,t){return function(e,t){var n=function(e,t){return t.match({domRange:function(e){return{ltr:A(e),rtl:z.none}},relative:function(t,n){return{ltr:He((function(){return gc(e,t,n)})),rtl:He((function(){return z.some(gc(e,n,t))}))}},exact:function(t,n,r,o){return{ltr:He((function(){return Ac(e,t,n,r,o)})),rtl:He((function(){return z.some(Ac(e,r,o,t,n))}))}}})}(e,t);return function(e,t){var n=t.ltr();return n.collapsed?t.rtl().filter((function(e){return!1===e.collapsed})).map((function(e){return yc.rtl(Re(e.endContainer),e.endOffset,Re(e.startContainer),e.startOffset)})).getOrThunk((function(){return Oc(0,yc.ltr,n)})):Oc(0,yc.ltr,n)}(0,n)}(e,t).match({ltr:function(t,n,r,o){var i=e.document.createRange();return i.setStart(t.dom,n),i.setEnd(r.dom,o),i},rtl:function(t,n,r,o){var i=e.document.createRange();return i.setStart(r.dom,o),i.setEnd(t.dom,n),i}})};yc.ltr,yc.rtl;var wc,_c=function(e){var t=function(t){return e(t)?z.from(t.dom.nodeValue):z.none()};return{get:function(n){if(!e(n))throw new Error("Can only get text value of a text node");return t(n).getOr("")},getOption:t,set:function(t,n){if(!e(t))throw new Error("Can only set raw text value of a text node");t.dom.nodeValue=n}}}(Ve),xc=function(e){return _c.getOption(e)},Sc=["img","br"],kc=function(e){var t=xc(e).filter((function(e){return 0!==e.trim().length||e.indexOf(" ")>-1})).isSome();return t||L(Sc,Ie(e))},Cc=function(e,t){return function(e,t){var n=void 0===t?document:t.dom;return bt(n)?[]:H(n.querySelectorAll(e),Re)}(t,e)},Bc=function(e){if(e.rangeCount>0){var t=e.getRangeAt(0),n=e.getRangeAt(e.rangeCount-1);return z.some(dc(Re(t.startContainer),t.startOffset,Re(n.endContainer),n.endOffset))}return z.none()},Qc=function(e){if(null===e.anchorNode||null===e.focusNode)return Bc(e);var t=Re(e.anchorNode),n=Re(e.focusNode);return function(e,t,n,r){var o=function(e,t,n,r){var o=xt(e).dom.createRange();return o.setStart(e.dom,t),o.setEnd(n.dom,r),o}(e,t,n,r),i=wt(e,n)&&t===r;return o.collapsed&&!i}(t,e.anchorOffset,n,e.focusOffset)?z.some(dc(t,e.anchorOffset,n,e.focusOffset)):Bc(e)},Tc=function(e,t){return n=bc(e,t),r=n.getClientRects(),(o=r.length>0?r[0]:n.getBoundingClientRect()).width>0||o.height>0?z.some(o).map(vc):z.none();var n,r,o},Ec=function(e,t){return{element:e,offset:t}},Pc=function(e,t){return Ve(e)?Ec(e,t):function(e,t){var n=Tt(e);if(0===n.length)return Ec(e,t);if(t<n.length)return Ec(n[t],0);var r=n[n.length-1],o=Ve(r)?function(e){return _c.get(e)}(r).length:Tt(r).length;return Ec(r,o)}(e,t)},$c=function(e,t){return t.getSelection.getOrThunk((function(){return function(){return function(e){return function(e){return z.from(e.getSelection())}(e).filter((function(e){return e.rangeCount>0})).bind(Qc)}(e)}}))().map((function(e){var t=Pc(e.start,e.soffset),n=Pc(e.finish,e.foffset);return mc.range(t.element,t.offset,n.element,n.offset)}))},Mc=[Yr("getSelection"),Vr("root"),Yr("bubble"),Yl(),ro("overrides",{}),ro("showAbove",!1),cs("placement",(function(e,t,n){var r=Ct(t.root).dom,o=sc(e,0,t),i=$c(r,t).bind((function(e){var t=function(e,t){return n=bc(e,t),(r=n.getBoundingClientRect()).width>0||r.height>0?z.some(r).map(vc):z.none();var n,r}(r,mc.exactFromRange(e)).orThunk((function(){var t=ze("\ufeff");Sn(e.start,t);var n=Tc(r,mc.exact(t,0,t,1));return En(t),n}));return t.bind((function(e){return lc(e.left,e.top,e.width,e.height)}))})),a=$c(r,t).bind((function(e){return Le(e.start)?z.some(e.start):function(e){return Bt(e)}(e.start)})),s=a.getOr(e.element);return cc(i,o,t,n,s)}))],zc="link-layout",Rc=function(e){return e.x+e.width},Dc=function(e,t){return e.x-t.width},Ic=function(e,t){return e.y-t.height+e.height},Nc=function(e){return e.y},Lc=function(e,t,n){return fs(Rc(e),Nc(e),n.southeast(),ps(),"southeast",xs(e,{left:0,top:2}),zc)},Vc=function(e,t,n){return fs(Dc(e,t),Nc(e),n.southwest(),ms(),"southwest",xs(e,{right:1,top:2}),zc)},Uc=function(e,t,n){return fs(Rc(e),Ic(e,t),n.northeast(),gs(),"northeast",xs(e,{left:0,bottom:3}),zc)},Fc=function(e,t,n){return fs(Dc(e,t),Ic(e,t),n.northwest(),As(),"northwest",xs(e,{right:1,bottom:3}),zc)},Hc=function(){return[Lc,Vc,Uc,Fc]},Wc=function(){return[Vc,Lc,Fc,Uc]},Xc=[Vr("item"),Yl(),ro("overrides",{}),cs("placement",(function(e,t,n){var r=gl(n,t.item.element),o=Gl(e.element,t,Hc(),Wc(),Hc(),Wc(),z.none());return z.some(Wl({anchorBox:r,bubble:Hl(),overrides:t.overrides,layouts:o,placer:z.none()}))}))],jc=Dr("type",{selection:Mc,node:uc,hotspot:Kl,submenu:Xc,makeshift:Jl}),qc=[Zr("classes",Sr),so("mode","all",["all","layout","placement"])],Zc=[ro("useFixed",_),Yr("getBounds")],Yc=[Ur("anchor",jc),no("transition",qc)],Gc=function(e,t,n,r,o,i,a){return function(e,t,n,r,o,i,a,s){var l=Ll(a,"maxHeightFunction",Il()),c=Ll(a,"maxWidthFunction",m),u=e.anchorBox,d=e.origin,f={bounds:Al(d,i),origin:d,preference:r,maxHeightFunction:l,maxWidthFunction:c,lastPlacement:o,transition:s};return Vl(u,t,n,f)}(function(e,t){return function(e,t){return{anchorBox:e,origin:t}}(e,t)}(n.anchorBox,t),o.element,n.bubble,n.layouts,i,r,n.overrides,a)},Kc=function(e,t,n,r,o,i){var a=i.map(Vn);return Jc(e,t,n,r,o,a)},Jc=function(e,t,n,r,o,i){var a=zr("placement.info",Ar(Yc),o),s=a.anchor,l=r.element,c=n.get(r.uid);ul((function(){Jt(l,"position","fixed");var o=on(l,"visibility");Jt(l,"visibility","hidden");var u,d=t.useFixed()?(u=document.documentElement,bl(0,0,u.clientWidth,u.clientHeight)):function(e){var t=An(e.element),n=e.element.dom.getBoundingClientRect();return Ol(t.left,t.top,n.width,n.height)}(e),f=s.placement,h=i.map(A).or(t.getBounds);f(e,s,d).each((function(t){var o=t.placer.getOr(Gc)(e,d,t,h,r,c,a.transition);n.set(r.uid,o)})),o.fold((function(){ln(l,"visibility")}),(function(e){Jt(l,"visibility",e)})),on(l,"left").isNone()&&on(l,"top").isNone()&&on(l,"right").isNone()&&on(l,"bottom").isNone()&&we(on(l,"position"),"fixed")&&ln(l,"position")}),l)},eu=Object.freeze({__proto__:null,position:function(e,t,n,r,o){Kc(e,t,n,r,o,z.none())},positionWithin:Kc,positionWithinBounds:Jc,getMode:function(e,t,n){return t.useFixed()?"fixed":"absolute"},reset:function(e,t,n,r){var o=r.element;W(["position","left","right","top","bottom"],(function(e){return ln(o,e)})),function(e){Yt(e,wl)}(o),n.clear(r.uid)}}),tu=Object.freeze({__proto__:null,init:function(){var e={};return ua({readState:function(){return e},clear:function(t){d(t)?delete e[t]:e={}},set:function(t,n){e[t]=n},get:function(t){return ye(e,t)}})}}),nu=Js({fields:Zc,name:"positioning",active:ol,apis:eu,state:tu}),ru=function(e){yi(e,ui());var t=e.components();W(t,ru)},ou=function(e){var t=e.components();W(t,ou),yi(e,ci())},iu=function(e,t){Bn(e.element,t.element)},au=function(e,t){var n=e.components();!function(e){W(e.components(),(function(e){return En(e.element)})),Tn(e.element),e.syncComponents()}(e);var r=ne(n,t);W(r,(function(t){ru(t),e.getSystem().removeFromWorld(t)})),W(t,(function(t){t.getSystem().isConnected()?iu(e,t):(e.getSystem().addToWorld(t),iu(e,t),Vt(e.element)&&ou(t)),e.syncComponents()}))},su=function(e,t){lu(e,t,Bn)},lu=function(e,t,n){e.getSystem().addToWorld(t),n(e.element,t.element),Vt(e.element)&&ou(t),e.syncComponents()},cu=function(e){ru(e),En(e.element),e.getSystem().removeFromWorld(e)},uu=function(e){var t=Bt(e.element).bind((function(t){return e.getSystem().getByDom(t).toOptional()}));cu(e),t.each((function(e){e.syncComponents()}))},du=function(e){var t=e.components();W(t,cu),Tn(e.element),e.syncComponents()},fu=function(e,t){hu(e,t,Bn)},hu=function(e,t,n){n(e,t.element);var r=Tt(t.element);W(r,(function(e){t.getByDom(e).each(ou)}))},pu=function(e){var t=Tt(e.element);W(t,(function(t){e.getByDom(t).each(ru)})),En(e.element)},mu=function(e,t,n,r){n.get().each((function(t){du(e)}));var o=t.getAttachPoint(e);su(o,e);var i=e.getSystem().build(r);return su(e,i),n.set(i),i},gu=function(e,t,n,r){var o=mu(e,t,n,r);return t.onOpen(e,o),o},Au=function(e,t,n){n.get().each((function(r){du(e),uu(e),t.onClose(e,r),n.clear()}))},vu=function(e,t,n){return n.isOpen()},yu=function(e,t,n){var r=t.getAttachPoint(e);Jt(e.element,"position",nu.getMode(r)),function(e,t,n){on(e.element,t).fold((function(){Yt(e.element,n)}),(function(t){Wt(e.element,n,t)})),Jt(e.element,t,"hidden")}(e,"visibility",t.cloakVisibilityAttr)},Ou=function(e,t,n){(function(e){return V(["top","left","right","bottom"],(function(t){return on(e,t).isSome()}))})(e.element)||ln(e.element,"position"),function(e,t,n){qt(e.element,n).fold((function(){return ln(e.element,t)}),(function(n){return Jt(e.element,t,n)}))}(e,"visibility",t.cloakVisibilityAttr)},bu=Object.freeze({__proto__:null,cloak:yu,decloak:Ou,open:gu,openWhileCloaked:function(e,t,n,r,o){yu(e,t),gu(e,t,n,r),o(),Ou(e,t)},close:Au,isOpen:vu,isPartOf:function(e,t,n,r){return vu(0,0,n)&&n.get().exists((function(n){return t.isPartOf(e,n,r)}))},getState:function(e,t,n){return n.get()},setContent:function(e,t,n,r){return n.get().map((function(){return mu(e,t,n,r)}))}}),wu=Object.freeze({__proto__:null,events:function(e,t){return Si([Bi(ni(),(function(n,r){Au(n,e,t)}))])}}),_u=[is("onOpen"),is("onClose"),Vr("isPartOf"),Vr("getAttachPoint"),ro("cloakVisibilityAttr","data-precloak-visibility")],xu=Object.freeze({__proto__:null,init:function(){var e=Ql(),t=A("not-implemented");return ua({readState:t,isOpen:e.isSet,clear:e.clear,set:e.set,get:e.get})}}),Su=Js({fields:_u,name:"sandboxing",active:wu,apis:bu,state:xu}),ku=A("dismiss.popups"),Cu=A("reposition.popups"),Bu=A("mouse.released"),Qu=gr([ro("isExtraPart",_),no("fireEventInstead",[ro("event",di())])]),Tu=function(e){var t,n=zr("Dismissal",Qu,e);return(t={})[ku()]={schema:gr([Vr("target")]),onReceive:function(e,t){Su.isOpen(e)&&(Su.isPartOf(e,t.target)||n.isExtraPart(e,t.target)||n.fireEventInstead.fold((function(){return Su.close(e)}),(function(t){return yi(e,t.event)})))}},t},Eu=gr([no("fireEventInstead",[ro("event",fi())]),Xr("doReposition")]),Pu=function(e){var t,n=zr("Reposition",Eu,e);return(t={})[Cu()]={onReceive:function(e){Su.isOpen(e)&&n.fireEventInstead.fold((function(){return n.doReposition(e)}),(function(t){return yi(e,t.event)}))}},t},$u=function(e,t,n){t.store.manager.onLoad(e,t,n)},Mu=function(e,t,n){t.store.manager.onUnload(e,t,n)},zu=Object.freeze({__proto__:null,onLoad:$u,onUnload:Mu,setValue:function(e,t,n,r){t.store.manager.setValue(e,t,n,r)},getValue:function(e,t,n){return t.store.manager.getValue(e,t,n)},getState:function(e,t,n){return n}}),Ru=Object.freeze({__proto__:null,events:function(e,t){var n=e.resetOnDom?[Ri((function(n,r){$u(n,e,t)})),Di((function(n,r){Mu(n,e,t)}))]:[qs(e,t,$u)];return Si(n)}}),Du=function(){var e=ho(null);return ua({set:e.set,get:e.get,isNotSet:function(){return null===e.get()},clear:function(){e.set(null)},readState:function(){return{mode:"memory",value:e.get()}}})},Iu=function(){var e=ho({}),t=ho({});return ua({readState:function(){return{mode:"dataset",dataByValue:e.get(),dataByText:t.get()}},lookup:function(n){return ye(e.get(),n).orThunk((function(){return ye(t.get(),n)}))},update:function(n){var r=e.get(),o=t.get(),i={},a={};W(n,(function(e){i[e.value]=e,ye(e,"meta").each((function(t){ye(t,"text").each((function(t){a[t]=e}))}))})),e.set(k(k({},r),i)),t.set(k(k({},o),a))},clear:function(){e.set({}),t.set({})}})},Nu=Object.freeze({__proto__:null,memory:Du,dataset:Iu,manual:function(){return ua({readState:m})},init:function(e){return e.store.manager.state(e)}}),Lu=function(e,t,n,r){var o=t.store;n.update([r]),o.setValue(e,r),t.onSetValue(e,r)},Vu=[Yr("initialValue"),Vr("getFallbackEntry"),Vr("getDataKey"),Vr("setValue"),cs("manager",{setValue:Lu,getValue:function(e,t,n){var r=t.store,o=r.getDataKey(e);return n.lookup(o).getOrThunk((function(){return r.getFallbackEntry(o)}))},onLoad:function(e,t,n){t.store.initialValue.each((function(r){Lu(e,t,n,r)}))},onUnload:function(e,t,n){n.clear()},state:Iu})],Uu=[Vr("getValue"),ro("setValue",m),Yr("initialValue"),cs("manager",{setValue:function(e,t,n,r){t.store.setValue(e,r),t.onSetValue(e,r)},getValue:function(e,t,n){return t.store.getValue(e)},onLoad:function(e,t,n){t.store.initialValue.each((function(n){t.store.setValue(e,n)}))},onUnload:m,state:ca.init})],Fu=[Yr("initialValue"),cs("manager",{setValue:function(e,t,n,r){n.set(r),t.onSetValue(e,r)},getValue:function(e,t,n){return n.get()},onLoad:function(e,t,n){t.store.initialValue.each((function(e){n.isNotSet()&&n.set(e)}))},onUnload:function(e,t,n){n.clear()},state:Du})],Hu=[oo("store",{mode:"memory"},Dr("mode",{memory:Fu,manual:Uu,dataset:Vu})),is("onSetValue"),ro("resetOnDom",!1)],Wu=Js({fields:Hu,name:"representing",active:Ru,apis:zu,extra:{setValueFrom:function(e,t){var n=Wu.getValue(t);Wu.setValue(e,n)}},state:Nu}),Xu=function(e,t){return fo(e,{},H(t,(function(t){return n=t.name(),r="Cannot configure "+t.name()+" for "+e,Ir(n,n,{tag:"option",process:{}},ur((function(e){return Gn("The field: "+n+" is forbidden. "+r)})));var n,r})).concat([Nr("dump",v)]))},ju=function(e){return e.dump},qu=function(e,t){return k(k({},Gs(t)),e.dump)},Zu=Xu,Yu=qu,Gu="placeholder",Ku=po([{single:["required","valueThunk"]},{multiple:["required","valueThunks"]}]),Ju=function(e){return Oe(e,"uiType")},ed=function(e,t,n,r){return function(e,t,n,r){return Ju(n)&&n.uiType===Gu?function(e,t,n,r){return e.exists((function(e){return e!==n.owner}))?Ku.single(!0,A(n)):ye(r,n.name).fold((function(){throw new Error("Unknown placeholder component: "+n.name+"\nKnown: ["+de(r)+"]\nNamespace: "+e.getOr("none")+"\nSpec: "+JSON.stringify(n,null,2))}),(function(e){return e.replace()}))}(e,0,n,r):Ku.single(!1,A(n))}(e,0,n,r).fold((function(o,i){var a=Ju(n)?i(t,n.config,n.validated):i(t),s=ye(a,"components").getOr([]),l=J(s,(function(n){return ed(e,t,n,r)}));return[k(k({},a),{components:l})]}),(function(e,r){if(Ju(n)){var o=r(t,n.config,n.validated);return n.validated.preprocess.getOr(v)(o)}return r(t)}))},td=Ku.single,nd=Ku.multiple,rd=A(Gu),od=po([{required:["data"]},{external:["data"]},{optional:["data"]},{group:["data"]}]),id=ro("factory",{sketch:v}),ad=ro("schema",[]),sd=Vr("name"),ld=Ir("pname","pname",or((function(e){return"<alloy."+ji(e.name)+">"})),wr()),cd=Nr("schema",(function(){return[Yr("preprocess")]})),ud=ro("defaults",A({})),dd=ro("overrides",A({})),fd=Ar([id,ad,sd,ld,ud,dd]),hd=Ar([id,ad,sd,ud,dd]),pd=Ar([id,ad,sd,ld,ud,dd]),md=Ar([id,cd,sd,Vr("unit"),ld,ud,dd]),gd=function(e){return e.fold(z.some,z.none,z.some,z.some)},Ad=function(e){var t=function(e){return e.name};return e.fold(t,t,t,t)},vd=function(e,t){return function(n){var r=zr("Converting part type",t,n);return e(r)}},yd=vd(od.required,fd),Od=vd(od.external,hd),bd=vd(od.optional,pd),wd=vd(od.group,md),_d=A("entirety"),xd=Object.freeze({__proto__:null,required:yd,external:Od,optional:bd,group:wd,asNamedPart:gd,name:Ad,asCommon:function(e){return e.fold(v,v,v,v)},original:_d}),Sd=function(e,t,n,r){return nr(t.defaults(e,n,r),n,{uid:e.partUids[t.name]},t.overrides(e,n,r))},kd=function(e,t){var n={};return W(t,(function(t){gd(t).each((function(t){var r=Cd(e,t.pname);n[t.name]=function(n){var o=zr("Part: "+t.name+" in "+e,Ar(t.schema),n);return k(k({},r),{config:n,validated:o})}}))})),n},Cd=function(e,t){return{uiType:rd(),owner:e,name:t}},Bd=function(e,t,n){return{uiType:rd(),owner:e,name:t,config:n,validated:{}}},Qd=function(e){return J(e,(function(e){return e.fold(z.none,z.some,z.none,z.none).map((function(e){return jr(e.name,e.schema.concat([us(_d())]))})).toArray()}))},Td=function(e){return H(e,Ad)},Ed=function(e,t,n){return function(e,t,n){var r={},o={};return W(n,(function(e){e.fold((function(e){r[e.pname]=td(!0,(function(t,n,r){return e.factory.sketch(Sd(t,e,n,r))}))}),(function(e){var n=t.parts[e.name];o[e.name]=A(e.factory.sketch(Sd(t,e,n[_d()]),n))}),(function(e){r[e.pname]=td(!1,(function(t,n,r){return e.factory.sketch(Sd(t,e,n,r))}))}),(function(e){r[e.pname]=nd(!0,(function(t,n,r){var o=t[e.name];return H(o,(function(n){return e.factory.sketch(nr(e.defaults(t,n,r),n,e.overrides(t,n)))}))}))}))})),{internals:A(r),externals:A(o)}}(0,t,n)},Pd=function(e,t,n){return function(e,t,n,r){var o=pe(r,(function(e,t){return r=e,o=!1,{name:A(n=t),required:function(){return r.fold((function(e,t){return e}),(function(e,t){return e}))},used:function(){return o},replace:function(){if(o)throw new Error("Trying to use the same placeholder more than once: "+n);return o=!0,r}};var n,r,o})),i=function(e,t,n,r){return J(n,(function(n){return ed(e,t,n,r)}))}(e,t,n,o);return he(o,(function(n){if(!1===n.used()&&n.required())throw new Error("Placeholder: "+n.name()+" was not found in components list\nNamespace: "+e.getOr("none")+"\nComponents: "+JSON.stringify(t.components,null,2))})),i}(z.some(e),t,t.components,n)},$d=function(e,t,n){var r=t.partUids[n];return e.getSystem().getByUid(r).toOptional()},Md=function(e,t,n){return $d(e,t,n).getOrDie("Could not find part: "+n)},zd=function(e,t,n){var r={},o=t.partUids,i=e.getSystem();return W(n,(function(e){r[e]=A(i.getByUid(o[e]))})),r},Rd=function(e,t){var n=e.getSystem();return pe(t.partUids,(function(e,t){return A(n.getByUid(e))}))},Dd=function(e){return de(e.partUids)},Id=function(e,t,n){var r={},o=t.partUids,i=e.getSystem();return W(n,(function(e){r[e]=A(i.getByUid(o[e]).getOrDie())})),r},Nd=function(e,t){var n=Td(t);return vo(H(n,(function(t){return{key:t,value:e+"-"+t}})))},Ld=function(e){return Ir("partUids","partUids",ar((function(t){return Nd(t.uid,e)})),wr())},Vd=Object.freeze({__proto__:null,generate:kd,generateOne:Bd,schemas:Qd,names:Td,substitutes:Ed,components:Pd,defaultUids:Nd,defaultUidsSchema:Ld,getAllParts:Rd,getAllPartNames:Dd,getPart:$d,getPartOrDie:Md,getParts:zd,getPartsOrDie:Id}),Ud=function(e,t,n,r,o){var i=function(e,t){return(e.length>0?[jr("parts",e)]:[]).concat([Vr("uid"),ro("dom",{}),ro("components",[]),us("originalSpec"),ro("debug.sketcher",{})]).concat(t)}(r,o);return zr(e+" [SpecSchema]",gr(i.concat(t)),n)},Fd=function(e,t,n,r,o){var i=Hd(o),a=Qd(n),s=Ld(n),l=Ud(e,t,i,a,[s]),c=Ed(0,l,n);return r(l,Pd(e,l,c.internals()),i,c.externals())},Hd=function(e){return function(e){return Oe(e,"uid")}(e)?e:k(k({},e),{uid:ea("uid")})},Wd=gr([Vr("name"),Vr("factory"),Vr("configFields"),ro("apis",{}),ro("extraApis",{})]),Xd=gr([Vr("name"),Vr("factory"),Vr("configFields"),Vr("partFields"),ro("apis",{}),ro("extraApis",{})]),jd=function(e){var t=zr("Sketcher for "+e.name,Wd,e),n=pe(t.apis,la),r=pe(t.extraApis,(function(e,t){return ia(e,t)}));return k(k({name:t.name,configFields:t.configFields,sketch:function(e){return function(e,t,n,r){var o=Hd(r);return n(Ud(e,t,o,[],[]),o)}(t.name,t.configFields,t.factory,e)}},n),r)},qd=function(e){var t=zr("Sketcher for "+e.name,Xd,e),n=kd(t.name,t.partFields),r=pe(t.apis,la),o=pe(t.extraApis,(function(e,t){return ia(e,t)}));return k(k({name:t.name,partFields:t.partFields,configFields:t.configFields,sketch:function(e){return Fd(t.name,t.configFields,t.partFields,t.factory,e)},parts:n},r),o)},Zd=function(e){return"input"===Ie(e)&&"radio"!==jt(e,"type")||"textarea"===Ie(e)},Yd=Object.freeze({__proto__:null,getCurrent:function(e,t,n){return t.find(e)}}),Gd=[Vr("find")],Kd=Js({fields:Gd,name:"composing",apis:Yd}),Jd=["input","button","textarea","select"],ef=function(e,t,n){(t.disabled()?sf:lf)(e,t)},tf=function(e,t){return!0===t.useNative&&L(Jd,Ie(e.element))},nf=function(e){Wt(e.element,"disabled","disabled")},rf=function(e){Yt(e.element,"disabled")},of=function(e){Wt(e.element,"aria-disabled","true")},af=function(e){Wt(e.element,"aria-disabled","false")},sf=function(e,t,n){t.disableClass.each((function(t){wa(e.element,t)})),(tf(e,t)?nf:of)(e),t.onDisabled(e)},lf=function(e,t,n){t.disableClass.each((function(t){_a(e.element,t)})),(tf(e,t)?rf:af)(e),t.onEnabled(e)},cf=function(e,t){return tf(e,t)?function(e){return Zt(e.element,"disabled")}(e):function(e){return"true"===jt(e.element,"aria-disabled")}(e)},uf=Object.freeze({__proto__:null,enable:lf,disable:sf,isDisabled:cf,onLoad:ef,set:function(e,t,n,r){(r?sf:lf)(e,t)}}),df=Object.freeze({__proto__:null,exhibit:function(e,t){return fa({classes:t.disabled()?t.disableClass.toArray():[]})},events:function(e,t){return Si([ki(Ko(),(function(t,n){return cf(t,e)})),qs(e,t,ef)])}}),ff=[co("disabled",_),ro("useNative",!0),Yr("disableClass"),is("onDisabled"),is("onEnabled")],hf=Js({fields:ff,name:"disabling",active:df,apis:uf}),pf=function(e,t,n,r){var o=Cc(e.element,"."+t.highlightClass);W(o,(function(n){V(r,(function(e){return e.element===n}))||(_a(n,t.highlightClass),e.getSystem().getByDom(n).each((function(n){t.onDehighlight(e,n),yi(n,vi())})))}))},mf=function(e,t,n,r){pf(e,t,0,[r]),gf(e,t,n,r)||(wa(r.element,t.highlightClass),t.onHighlight(e,r),yi(r,Ai()))},gf=function(e,t,n,r){return xa(r.element,t.highlightClass)},Af=function(e,t,n){return Ha(e.element,"."+t.itemClass).bind((function(t){return e.getSystem().getByDom(t).toOptional()}))},vf=function(e,t,n){var r=Cc(e.element,"."+t.itemClass);return(r.length>0?z.some(r[r.length-1]):z.none()).bind((function(t){return e.getSystem().getByDom(t).toOptional()}))},yf=function(e,t,n,r){var o=Cc(e.element,"."+t.itemClass);return G(o,(function(e){return xa(e,t.highlightClass)})).bind((function(t){var n=ws(t,r,0,o.length-1);return e.getSystem().getByDom(o[n]).toOptional()}))},Of=function(e,t,n){var r=Cc(e.element,"."+t.itemClass);return _e(H(r,(function(t){return e.getSystem().getByDom(t).toOptional()})))},bf=Object.freeze({__proto__:null,dehighlightAll:function(e,t,n){return pf(e,t,0,[])},dehighlight:function(e,t,n,r){gf(e,t,n,r)&&(_a(r.element,t.highlightClass),t.onDehighlight(e,r),yi(r,vi()))},highlight:mf,highlightFirst:function(e,t,n){Af(e,t).each((function(r){mf(e,t,n,r)}))},highlightLast:function(e,t,n){vf(e,t).each((function(r){mf(e,t,n,r)}))},highlightAt:function(e,t,n,r){(function(e,t,n,r){var o=Cc(e.element,"."+t.itemClass);return z.from(o[r]).fold((function(){return Xn.error(new Error("No element found with index "+r))}),e.getSystem().getByDom)})(e,t,0,r).fold((function(e){throw e}),(function(r){mf(e,t,n,r)}))},highlightBy:function(e,t,n,r){var o=Of(e,t);Y(o,r).each((function(r){mf(e,t,n,r)}))},isHighlighted:gf,getHighlighted:function(e,t,n){return Ha(e.element,"."+t.highlightClass).bind((function(t){return e.getSystem().getByDom(t).toOptional()}))},getFirst:Af,getLast:vf,getPrevious:function(e,t,n){return yf(e,t,0,-1)},getNext:function(e,t,n){return yf(e,t,0,1)},getCandidates:Of}),wf=[Vr("highlightClass"),Vr("itemClass"),is("onHighlight"),is("onDehighlight")],_f=Js({fields:wf,name:"highlighting",apis:bf}),xf=[8],Sf=[9],kf=[13],Cf=[27],Bf=[32],Qf=[37],Tf=[38],Ef=[39],Pf=[40],$f=function(e,t,n){var r=te(e.slice(0,t)),o=te(e.slice(t+1));return Y(r.concat(o),n)},Mf=function(e,t,n){var r=te(e.slice(0,t));return Y(r,n)},zf=function(e,t,n){var r=e.slice(0,t),o=e.slice(t+1);return Y(o.concat(r),n)},Rf=function(e,t,n){var r=e.slice(t+1);return Y(r,n)},Df=function(e){return function(t){var n=t.raw;return L(e,n.which)}},If=function(e){return function(t){return ee(e,(function(e){return e(t)}))}},Nf=function(e){return!0===e.raw.shiftKey},Lf=function(e){return!0===e.raw.ctrlKey},Vf=b(Nf),Uf=function(e,t){return{matches:e,classification:t}},Ff=function(e,t,n){t.exists((function(e){return n.exists((function(t){return wt(t,e)}))}))||Oi(e,hi(),{prevFocus:t,newFocus:n})},Hf=function(){var e=function(e){return cl(e.element)};return{get:e,set:function(t,n){var r=e(t);t.getSystem().triggerFocus(n,t.element);var o=e(t);Ff(t,r,o)}}},Wf=function(){var e=function(e){return _f.getHighlighted(e).map((function(e){return e.element}))};return{get:e,set:function(t,n){var r=e(t);t.getSystem().getByDom(n).fold(m,(function(e){_f.highlight(t,e)}));var o=e(t);Ff(t,r,o)}}};!function(e){e.OnFocusMode="onFocus",e.OnEnterOrSpaceMode="onEnterOrSpace",e.OnApiMode="onApi"}(wc||(wc={}));var Xf,jf=function(e,t,n,r,o){var i=function(e,t,n,r,o){var i,a,s;return(i=n(e,t,r,o),a=t.event,s=Y(i,(function(e){return e.matches(a)})),s.map((function(e){return e.classification}))).bind((function(n){return n(e,t,r,o)}))},a={schema:function(){return e.concat([ro("focusManager",Hf()),oo("focusInside","onFocus",Er((function(e){return L(["onFocus","onEnterOrSpace","onApi"],e)?Xn.value(e):Xn.error("Invalid value for focusInside")}))),cs("handler",a),cs("state",t),cs("sendFocusIn",o)])},processKey:i,toEvents:function(e,t){var a=e.focusInside!==wc.OnFocusMode?z.none():o(e).map((function(n){return Bi(qo(),(function(r,o){n(r,e,t),o.stop()}))})),s=[Bi(Do(),(function(r,a){i(r,a,n,e,t).fold((function(){!function(n,r){var i=Df(Bf.concat(kf))(r.event);e.focusInside===wc.OnEnterOrSpaceMode&&i&&wo(n,r)&&o(e).each((function(o){o(n,e,t),r.stop()}))}(r,a)}),(function(e){a.stop()}))})),Bi(Io(),(function(n,o){i(n,o,r,e,t).each((function(e){o.stop()}))}))];return Si(a.toArray().concat(s))}};return a},qf=function(e){var t=[Yr("onEscape"),Yr("onEnter"),ro("selector",'[data-alloy-tabstop="true"]:not(:disabled)'),ro("firstTabstop",0),ro("useTabstopAt",x),Yr("visibilitySelector")].concat([e]),n=function(e,t){var n=e.visibilitySelector.bind((function(e){return Wa(t,e)})).getOr(t);return fn(n)>0},r=function(e,t,r){(function(e,t){var r=Cc(e.element,t.selector),o=j(r,(function(e){return n(t,e)}));return z.from(o[t.firstTabstop])})(e,t).each((function(n){t.focusManager.set(e,n)}))},o=function(e,t,r,o){var i=Cc(e.element,r.selector);return function(e,t){return t.focusManager.get(e).bind((function(e){return Wa(e,t.selector)}))}(e,r).bind((function(t){return G(i,O(wt,t)).bind((function(t){return function(e,t,r,o,i){return i(t,r,(function(e){return function(e,t){return n(e,t)&&e.useTabstopAt(t)}(o,e)})).fold((function(){return o.cyclic?z.some(!0):z.none()}),(function(t){return o.focusManager.set(e,t),z.some(!0)}))}(e,i,t,r,o)}))}))},i=A([Uf(If([Nf,Df(Sf)]),(function(e,t,n){var r=n.cyclic?$f:Mf;return o(e,0,n,r)})),Uf(Df(Sf),(function(e,t,n){var r=n.cyclic?zf:Rf;return o(e,0,n,r)})),Uf(Df(Cf),(function(e,t,n){return n.onEscape.bind((function(n){return n(e,t)}))})),Uf(If([Vf,Df(kf)]),(function(e,t,n){return n.onEnter.bind((function(n){return n(e,t)}))}))]),a=A([]);return jf(t,ca.init,i,a,(function(){return z.some(r)}))},Zf=qf(Nr("cyclic",_)),Yf=qf(Nr("cyclic",x)),Gf=function(e,t,n){return Zd(n)&&Df(Bf)(t.event)?z.none():function(e,t,n){return wi(e,n,Ko()),z.some(!0)}(e,0,n)},Kf=function(e,t){return z.some(!0)},Jf=[ro("execute",Gf),ro("useSpace",!1),ro("useEnter",!0),ro("useControlEnter",!1),ro("useDown",!1)],eh=function(e,t,n){return n.execute(e,t,e.element)},th=jf(Jf,ca.init,(function(e,t,n,r){var o=n.useSpace&&!Zd(e.element)?Bf:[],i=n.useEnter?kf:[],a=n.useDown?Pf:[],s=o.concat(i).concat(a);return[Uf(Df(s),eh)].concat(n.useControlEnter?[Uf(If([Lf,Df(kf)]),eh)]:[])}),(function(e,t,n,r){return n.useSpace&&!Zd(e.element)?[Uf(Df(Bf),Kf)]:[]}),(function(){return z.none()})),nh=function(){var e=Ql();return ua({readState:function(){return e.get().map((function(e){return{numRows:String(e.numRows),numColumns:String(e.numColumns)}})).getOr({numRows:"?",numColumns:"?"})},setGridSize:function(t,n){e.set({numRows:t,numColumns:n})},getNumRows:function(){return e.get().map((function(e){return e.numRows}))},getNumColumns:function(){return e.get().map((function(e){return e.numColumns}))}})},rh=Object.freeze({__proto__:null,flatgrid:nh,init:function(e){return e.state(e)}}),oh=function(e){return function(t,n,r,o){var i=e(t.element);return lh(i,t,n,r,o)}},ih=function(e,t){var n=Xl(e,t);return oh(n)},ah=function(e,t){var n=Xl(t,e);return oh(n)},sh=function(e){return function(t,n,r,o){return lh(e,t,n,r,o)}},lh=function(e,t,n,r,o){return r.focusManager.get(t).bind((function(n){return e(t.element,n,r,o)})).map((function(e){return r.focusManager.set(t,e),!0}))},ch=sh,uh=sh,dh=sh,fh=function(e){return!function(e){return e.offsetWidth<=0&&e.offsetHeight<=0}(e.dom)},hh=function(e,t,n){var r=Cc(e,n);return function(e){return G(e,(function(e){return wt(e,t)})).map((function(t){return{index:t,candidates:e}}))}(j(r,fh))},ph=function(e,t){return G(e,(function(e){return wt(t,e)}))},mh=function(e,t,n,r){return r(Math.floor(t/n),t%n).bind((function(t){var r=t.row*n+t.column;return r>=0&&r<e.length?z.some(e[r]):z.none()}))},gh=function(e,t,n,r,o){return mh(e,t,r,(function(t,i){var a=t===n-1?e.length-t*r:r,s=ws(i,o,0,a-1);return z.some({row:t,column:s})}))},Ah=function(e,t,n,r,o){return mh(e,t,r,(function(t,i){var a=ws(t,o,0,n-1),s=a===n-1?e.length-a*r:r,l=_s(i,0,s-1);return z.some({row:a,column:l})}))},vh=[Vr("selector"),ro("execute",Gf),as("onEscape"),ro("captureTab",!1),ds()],yh=function(e,t,n){Ha(e.element,t.selector).each((function(n){t.focusManager.set(e,n)}))},Oh=function(e){return function(t,n,r,o){return hh(t,n,r.selector).bind((function(t){return e(t.candidates,t.index,o.getNumRows().getOr(r.initSize.numRows),o.getNumColumns().getOr(r.initSize.numColumns))}))}},bh=function(e,t,n){return n.captureTab?z.some(!0):z.none()},wh=Oh((function(e,t,n,r){return gh(e,t,n,r,-1)})),_h=Oh((function(e,t,n,r){return gh(e,t,n,r,1)})),xh=Oh((function(e,t,n,r){return Ah(e,t,n,r,-1)})),Sh=Oh((function(e,t,n,r){return Ah(e,t,n,r,1)})),kh=A([Uf(Df(Qf),ih(wh,_h)),Uf(Df(Ef),ah(wh,_h)),Uf(Df(Tf),ch(xh)),Uf(Df(Pf),uh(Sh)),Uf(If([Nf,Df(Sf)]),bh),Uf(If([Vf,Df(Sf)]),bh),Uf(Df(Cf),(function(e,t,n){return n.onEscape(e,t)})),Uf(Df(Bf.concat(kf)),(function(e,t,n,r){return function(e,t){return t.focusManager.get(e).bind((function(e){return Wa(e,t.selector)}))}(e,n).bind((function(r){return n.execute(e,t,r)}))}))]),Ch=A([Uf(Df(Bf),Kf)]),Bh=jf(vh,nh,kh,Ch,(function(){return z.some(yh)})),Qh=function(e,t,n,r){var o=function(e,t,n){var i,a=ws(t,r,0,n.length-1);return a===e?z.none():(i=n[a],"button"===Ie(i)&&"disabled"===jt(i,"disabled")?o(e,a,n):z.from(n[a]))};return hh(e,n,t).bind((function(e){var t=e.index,n=e.candidates;return o(t,t,n)}))},Th=[Vr("selector"),ro("getInitial",z.none),ro("execute",Gf),as("onEscape"),ro("executeOnMove",!1),ro("allowVertical",!0)],Eh=function(e,t,n){return function(e,t){return t.focusManager.get(e).bind((function(e){return Wa(e,t.selector)}))}(e,n).bind((function(r){return n.execute(e,t,r)}))},Ph=function(e,t,n){t.getInitial(e).orThunk((function(){return Ha(e.element,t.selector)})).each((function(n){t.focusManager.set(e,n)}))},$h=function(e,t,n){return Qh(e,n.selector,t,-1)},Mh=function(e,t,n){return Qh(e,n.selector,t,1)},zh=function(e){return function(t,n,r,o){return e(t,n,r,o).bind((function(){return r.executeOnMove?Eh(t,n,r):z.some(!0)}))}},Rh=function(e,t,n){return n.onEscape(e,t)},Dh=A([Uf(Df(Bf),Kf)]),Ih=jf(Th,ca.init,(function(e,t,n,r){var o=Qf.concat(n.allowVertical?Tf:[]),i=Ef.concat(n.allowVertical?Pf:[]);return[Uf(Df(o),zh(ih($h,Mh))),Uf(Df(i),zh(ah($h,Mh))),Uf(Df(kf),Eh),Uf(Df(Bf),Eh),Uf(Df(Cf),Rh)]}),Dh,(function(){return z.some(Ph)})),Nh=function(e,t,n){return z.from(e[t]).bind((function(e){return z.from(e[n]).map((function(e){return{rowIndex:t,columnIndex:n,cell:e}}))}))},Lh=function(e,t,n,r){var o=e[t].length,i=ws(n,r,0,o-1);return Nh(e,t,i)},Vh=function(e,t,n,r){var o=ws(n,r,0,e.length-1),i=e[o].length,a=_s(t,0,i-1);return Nh(e,o,a)},Uh=function(e,t,n,r){var o=e[t].length,i=_s(n+r,0,o-1);return Nh(e,t,i)},Fh=function(e,t,n,r){var o=_s(n+r,0,e.length-1),i=e[o].length,a=_s(t,0,i-1);return Nh(e,o,a)},Hh=[jr("selectors",[Vr("row"),Vr("cell")]),ro("cycles",!0),ro("previousSelector",z.none),ro("execute",Gf)],Wh=function(e,t,n){t.previousSelector(e).orThunk((function(){var n=t.selectors;return Ha(e.element,n.cell)})).each((function(n){t.focusManager.set(e,n)}))},Xh=function(e,t){return function(n,r,o){var i=o.cycles?e:t;return Wa(r,o.selectors.row).bind((function(e){var t=Cc(e,o.selectors.cell);return ph(t,r).bind((function(t){var r=Cc(n,o.selectors.row);return ph(r,e).bind((function(e){var n=function(e,t){return H(e,(function(e){return Cc(e,t.selectors.cell)}))}(r,o);return i(n,e,t).map((function(e){return e.cell}))}))}))}))}},jh=Xh((function(e,t,n){return Lh(e,t,n,-1)}),(function(e,t,n){return Uh(e,t,n,-1)})),qh=Xh((function(e,t,n){return Lh(e,t,n,1)}),(function(e,t,n){return Uh(e,t,n,1)})),Zh=Xh((function(e,t,n){return Vh(e,n,t,-1)}),(function(e,t,n){return Fh(e,n,t,-1)})),Yh=Xh((function(e,t,n){return Vh(e,n,t,1)}),(function(e,t,n){return Fh(e,n,t,1)})),Gh=A([Uf(Df(Qf),ih(jh,qh)),Uf(Df(Ef),ah(jh,qh)),Uf(Df(Tf),ch(Zh)),Uf(Df(Pf),uh(Yh)),Uf(Df(Bf.concat(kf)),(function(e,t,n){return cl(e.element).bind((function(r){return n.execute(e,t,r)}))}))]),Kh=A([Uf(Df(Bf),Kf)]),Jh=jf(Hh,ca.init,Gh,Kh,(function(){return z.some(Wh)})),ep=[Vr("selector"),ro("execute",Gf),ro("moveOnTab",!1)],tp=function(e,t,n){return n.focusManager.get(e).bind((function(r){return n.execute(e,t,r)}))},np=function(e,t,n){Ha(e.element,t.selector).each((function(n){t.focusManager.set(e,n)}))},rp=function(e,t,n){return Qh(e,n.selector,t,-1)},op=function(e,t,n){return Qh(e,n.selector,t,1)},ip=A([Uf(Df(Tf),dh(rp)),Uf(Df(Pf),dh(op)),Uf(If([Nf,Df(Sf)]),(function(e,t,n,r){return n.moveOnTab?dh(rp)(e,t,n,r):z.none()})),Uf(If([Vf,Df(Sf)]),(function(e,t,n,r){return n.moveOnTab?dh(op)(e,t,n,r):z.none()})),Uf(Df(kf),tp),Uf(Df(Bf),tp)]),ap=A([Uf(Df(Bf),Kf)]),sp=jf(ep,ca.init,ip,ap,(function(){return z.some(np)})),lp=[as("onSpace"),as("onEnter"),as("onShiftEnter"),as("onLeft"),as("onRight"),as("onTab"),as("onShiftTab"),as("onUp"),as("onDown"),as("onEscape"),ro("stopSpaceKeyup",!1),Yr("focusIn")],cp=jf(lp,ca.init,(function(e,t,n){return[Uf(Df(Bf),n.onSpace),Uf(If([Vf,Df(kf)]),n.onEnter),Uf(If([Nf,Df(kf)]),n.onShiftEnter),Uf(If([Nf,Df(Sf)]),n.onShiftTab),Uf(If([Vf,Df(Sf)]),n.onTab),Uf(Df(Tf),n.onUp),Uf(Df(Pf),n.onDown),Uf(Df(Qf),n.onLeft),Uf(Df(Ef),n.onRight),Uf(Df(Bf),n.onSpace),Uf(Df(Cf),n.onEscape)]}),(function(e,t,n){return n.stopSpaceKeyup?[Uf(Df(Bf),Kf)]:[]}),(function(e){return e.focusIn})),up=Zf.schema(),dp=Yf.schema(),fp=Ih.schema(),hp=Bh.schema(),pp=Jh.schema(),mp=th.schema(),gp=sp.schema(),Ap=cp.schema(),vp=tl({branchKey:"mode",branches:Object.freeze({__proto__:null,acyclic:up,cyclic:dp,flow:fp,flatgrid:hp,matrix:pp,execution:mp,menu:gp,special:Ap}),name:"keying",active:{events:function(e,t){return e.handler.toEvents(e,t)}},apis:{focusIn:function(e,t,n){t.sendFocusIn(t).fold((function(){e.getSystem().triggerFocus(e.element,e.element)}),(function(r){r(e,t,n)}))},setGridSize:function(e,t,n,r,o){!function(e){return be(e,"setGridSize")}(n)?console.error("Layout does not support setGridSize"):n.setGridSize(r,o)}},state:rh}),yp=function(e,t,n,r){var o=e.getSystem().build(r);lu(e,o,n)},Op=function(e,t,n,r){var o=bp(e),i=Y(o,(function(e){return wt(r.element,e.element)}));i.each(uu)},bp=function(e,t){return e.components()},wp=function(e,t,n,r,o){var i=bp(e);return z.from(i[r]).map((function(t){return Op(e,0,0,t),o.each((function(t){yp(e,0,(function(e,t){!function(e,t,n){Et(e,n).fold((function(){Bn(e,t)}),(function(e){Sn(e,t)}))}(e,t,r)}),t)})),t}))},_p=Object.freeze({__proto__:null,append:function(e,t,n,r){yp(e,0,Bn,r)},prepend:function(e,t,n,r){yp(e,0,Cn,r)},remove:Op,replaceAt:wp,replaceBy:function(e,t,n,r,o){var i=bp(e);return G(i,r).bind((function(t){return wp(e,0,0,t,o)}))},set:function(e,t,n,r){ul((function(){var t=H(r,e.getSystem().build);au(e,t)}),e.element)},contents:bp}),xp=Js({fields:[],name:"replacing",apis:_p}),Sp=function(e,t){var n=function(e,t){var n=Si(t);return Js({fields:[Vr("enabled")],name:e,active:{events:A(n)}})}(e,t);return{key:e,value:{config:{},me:n,configAsRaw:A({}),initialConfig:{},state:ca}}},kp=function(e,t){t.ignore||(al(e.element),t.onFocus(e))},Cp=Object.freeze({__proto__:null,focus:kp,blur:function(e,t){t.ignore||function(e){e.dom.blur()}(e.element)},isFocused:function(e){return sl(e.element)}}),Bp=Object.freeze({__proto__:null,exhibit:function(e,t){var n=t.ignore?{}:{attributes:{tabindex:"-1"}};return fa(n)},events:function(e){return Si([Bi(qo(),(function(t,n){kp(t,e),n.stop()}))].concat(e.stopMousedown?[Bi(To(),(function(e,t){t.event.prevent()}))]:[]))}}),Qp=[is("onFocus"),ro("stopMousedown",!1),ro("ignore",!1)],Tp=Js({fields:Qp,name:"focusing",active:Bp,apis:Cp}),Ep=function(e,t,n){var r=t.aria;r.update(e,r,n.get())},Pp=function(e,t,n){t.toggleClass.each((function(t){n.get()?wa(e.element,t):_a(e.element,t)}))},$p=function(e,t,n){Rp(e,t,n,!n.get())},Mp=function(e,t,n){n.set(!0),Pp(e,t,n),Ep(e,t,n)},zp=function(e,t,n){n.set(!1),Pp(e,t,n),Ep(e,t,n)},Rp=function(e,t,n,r){(r?Mp:zp)(e,t,n)},Dp=function(e,t,n){Rp(e,t,n,t.selected)},Ip=Object.freeze({__proto__:null,onLoad:Dp,toggle:$p,isOn:function(e,t,n){return n.get()},on:Mp,off:zp,set:Rp}),Np=Object.freeze({__proto__:null,exhibit:function(){return fa({})},events:function(e,t){var n,r,o,i=(n=e,r=t,o=$p,Ni((function(e){o(e,n,r)}))),a=qs(e,t,Dp);return Si(K([e.toggleOnExecute?[i]:[],[a]]))}}),Lp=function(e,t,n){Wt(e.element,"aria-expanded",n)},Vp=[ro("selected",!1),Yr("toggleClass"),ro("toggleOnExecute",!0),oo("aria",{mode:"none"},Dr("mode",{pressed:[ro("syncWithExpanded",!1),cs("update",(function(e,t,n){Wt(e.element,"aria-pressed",n),t.syncWithExpanded&&Lp(e,0,n)}))],checked:[cs("update",(function(e,t,n){Wt(e.element,"aria-checked",n)}))],expanded:[cs("update",Lp)],selected:[cs("update",(function(e,t,n){Wt(e.element,"aria-selected",n)}))],none:[cs("update",m)]}))],Up=Js({fields:Vp,name:"toggling",active:Np,apis:Ip,state:(Xf=!1,{init:function(){var e=ho(Xf);return{get:function(){return e.get()},set:function(t){return e.set(t)},clear:function(){return e.set(Xf)},readState:function(){return e.get()}}}})}),Fp=function(){var e=function(e,t){t.stop(),bi(e)};return[Bi(Vo(),e),Bi(ei(),e),$i(ko()),$i(To())]},Hp=function(e){return Si(K([e.map((function(e){return Ni((function(t,n){e(t),n.stop()}))})).toArray(),Fp()]))},Wp="alloy.item-hover",Xp="alloy.item-focus",jp=function(e){(cl(e.element).isNone()||Tp.isFocused(e))&&(Tp.isFocused(e)||Tp.focus(e),Oi(e,Wp,{item:e}))},qp=function(e){Oi(e,Xp,{item:e})},Zp=A(Wp),Yp=A(Xp),Gp=[Vr("data"),Vr("components"),Vr("dom"),ro("hasSubmenu",!1),Yr("toggling"),Zu("itemBehaviours",[Up,Tp,vp,Wu]),ro("ignoreFocus",!1),ro("domModification",{}),cs("builder",(function(e){return{dom:e.dom,domModification:k(k({},e.domModification),{attributes:k(k(k({role:e.toggling.isSome()?"menuitemcheckbox":"menuitem"},e.domModification.attributes),{"aria-haspopup":e.hasSubmenu}),e.hasSubmenu?{"aria-expanded":!1}:{})}),behaviours:Yu(e.itemBehaviours,[e.toggling.fold(Up.revoke,(function(e){return Up.config(k({aria:{mode:"checked"}},e))})),Tp.config({ignore:e.ignoreFocus,stopMousedown:e.ignoreFocus,onFocus:function(e){qp(e)}}),vp.config({mode:"execution"}),Wu.config({store:{mode:"memory",initialValue:e.data}}),Sp("item-type-events",B(B([],Fp(),!0),[Bi(Mo(),jp),Bi(Jo(),Tp.focus)],!1))]),components:e.components,eventOrder:e.eventOrder}})),ro("eventOrder",{})],Kp=[Vr("dom"),Vr("components"),cs("builder",(function(e){return{dom:e.dom,components:e.components,events:Si([Mi(Jo())])}}))],Jp=A("item-widget"),em=A([yd({name:"widget",overrides:function(e){return{behaviours:Gs([Wu.config({store:{mode:"manual",getValue:function(t){return e.data},setValue:m}})])}}})]),tm=[Vr("uid"),Vr("data"),Vr("components"),Vr("dom"),ro("autofocus",!1),ro("ignoreFocus",!1),Zu("widgetBehaviours",[Wu,Tp,vp]),ro("domModification",{}),Ld(em()),cs("builder",(function(e){var t=Ed(Jp(),e,em()),n=Pd(Jp(),e,t.internals()),r=function(t){return $d(t,e,"widget").map((function(e){return vp.focusIn(e),e}))},o=function(t,n){return Zd(n.event.target)?z.none():e.autofocus?(n.setSource(t.element),z.none()):z.none()};return{dom:e.dom,components:n,domModification:e.domModification,events:Si([Ni((function(e,t){r(e).each((function(e){t.stop()}))})),Bi(Mo(),jp),Bi(Jo(),(function(t,n){e.autofocus?r(t):Tp.focus(t)}))]),behaviours:Yu(e.widgetBehaviours,[Wu.config({store:{mode:"memory",initialValue:e.data}}),Tp.config({ignore:e.ignoreFocus,onFocus:function(e){qp(e)}}),vp.config({mode:"special",focusIn:e.autofocus?function(e){r(e)}:nl(),onLeft:o,onRight:o,onEscape:function(t,n){return Tp.isFocused(t)||e.autofocus?e.autofocus?(n.setSource(t.element),z.none()):z.none():(Tp.focus(t),z.some(!0))}})])}}))],nm=Dr("type",{widget:tm,item:Gp,separator:Kp}),rm=A([wd({factory:{sketch:function(e){var t=zr("menu.spec item",nm,e);return t.builder(t)}},name:"items",unit:"item",defaults:function(e,t){return Oe(t,"uid")?t:k(k({},t),{uid:ea("item")})},overrides:function(e,t){return{type:t.type,ignoreFocus:e.fakeFocus,domModification:{classes:[e.markers.item]}}}})]),om=A([Vr("value"),Vr("items"),Vr("dom"),Vr("components"),ro("eventOrder",{}),Xu("menuBehaviours",[_f,Wu,Kd,vp]),oo("movement",{mode:"menu",moveOnTab:!0},Dr("mode",{grid:[ds(),cs("config",(function(e,t){return{mode:"flatgrid",selector:"."+e.markers.item,initSize:{numColumns:t.initSize.numColumns,numRows:t.initSize.numRows},focusManager:e.focusManager}}))],matrix:[cs("config",(function(e,t){return{mode:"matrix",selectors:{row:t.rowSelector,cell:"."+e.markers.item},focusManager:e.focusManager}})),Vr("rowSelector")],menu:[ro("moveOnTab",!0),cs("config",(function(e,t){return{mode:"menu",selector:"."+e.markers.item,moveOnTab:t.moveOnTab,focusManager:e.focusManager}}))]})),Ur("markers",es()),ro("fakeFocus",!1),ro("focusManager",Hf()),is("onHighlight")]),im=A("alloy.menu-focus"),am=qd({name:"Menu",configFields:om(),partFields:rm(),factory:function(e,t,n,r){return{uid:e.uid,dom:e.dom,markers:e.markers,behaviours:qu(e.menuBehaviours,[_f.config({highlightClass:e.markers.selectedItem,itemClass:e.markers.item,onHighlight:e.onHighlight}),Wu.config({store:{mode:"memory",initialValue:e.value}}),Kd.config({find:z.some}),vp.config(e.movement.config(e,e.movement))]),events:Si([Bi(Yp(),(function(e,t){var n=t.event;e.getSystem().getByDom(n.target).each((function(n){_f.highlight(e,n),t.stop(),Oi(e,im(),{menu:e,item:n})}))})),Bi(Zp(),(function(e,t){var n=t.event.item;_f.highlight(e,n)}))]),components:t,eventOrder:e.eventOrder,domModification:{attributes:{role:"menu"}}}}}),sm=function(e,t,n,r){return ye(n,r).bind((function(r){return ye(e,r).bind((function(r){var o=sm(e,t,n,r);return z.some([r].concat(o))}))})).getOr([])},lm=function(e){return"prepared"===e.type?z.some(e.menu):z.none()},cm=function(){var e=ho({}),t=ho({}),n=ho({}),r=Ql(),o=ho({}),i=function(e){return a(e).bind(lm)},a=function(e){return ye(t.get(),e)},s=function(t){return ye(e.get(),t)};return{setMenuBuilt:function(e,n){var r;t.set(k(k({},t.get()),((r={})[e]={type:"prepared",menu:n},r)))},setContents:function(i,a,s,l){r.set(i),e.set(s),t.set(a),o.set(l);var c=function(e,t){var n={};he(e,(function(e,t){W(e,(function(e){n[e]=t}))}));var r=t,o=me(t,(function(e,t){return{k:e,v:t}})),i=pe(o,(function(e,t){return[t].concat(sm(n,r,o,t))}));return pe(n,(function(e){return ye(i,e).getOr([e])}))}(l,s);n.set(c)},expand:function(t){return ye(e.get(),t).map((function(e){var r=ye(n.get(),t).getOr([]);return[e].concat(r)}))},refresh:function(e){return ye(n.get(),e)},collapse:function(e){return ye(n.get(),e).bind((function(e){return e.length>1?z.some(e.slice(1)):z.none()}))},lookupMenu:a,lookupItem:s,otherMenus:function(e){var t=o.get();return ne(de(t),e)},getPrimary:function(){return r.get().bind(i)},getMenus:function(){return t.get()},clear:function(){e.set({}),t.set({}),n.set({}),r.clear()},isClear:function(){return r.get().isNone()},getTriggeringPath:function(t,o){var a=j(s(t).toArray(),(function(e){return i(e).isSome()}));return ye(n.get(),t).bind((function(t){var n=te(a.concat(t));return function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(!r.isSome())return z.none();t.push(r.getOrDie())}return z.some(t)}(J(n,(function(t,a){return function(t,n,r){return i(t).bind((function(o){return function(t){return Ae(e.get(),(function(e,n){return e===t}))}(t).bind((function(e){return n(e).map((function(e){return{triggeredMenu:o,triggeringItem:e,triggeringPath:r}}))}))}))}(t,o,n.slice(0,a+1)).fold((function(){return we(r.get(),t)?[]:[z.none()]}),(function(e){return[z.some(e)]}))})))}))}}},um=lm,dm=A("collapse-item"),fm=jd({name:"TieredMenu",configFields:[ls("onExecute"),ls("onEscape"),ss("onOpenMenu"),ss("onOpenSubmenu"),is("onRepositionMenu"),is("onCollapseMenu"),ro("highlightImmediately",!0),jr("data",[Vr("primary"),Vr("menus"),Vr("expansions")]),ro("fakeFocus",!1),is("onHighlight"),is("onHover"),ns(),Vr("dom"),ro("navigateOnHover",!0),ro("stayInDom",!1),Xu("tmenuBehaviours",[vp,_f,Kd,xp]),ro("eventOrder",{})],apis:{collapseMenu:function(e,t){e.collapseMenu(t)},highlightPrimary:function(e,t){e.highlightPrimary(t)},repositionMenus:function(e,t){e.repositionMenus(t)}},factory:function(e,t){var n,r=Ql(),o=cm(),i=function(e){return Wu.getValue(e).value},a=function(t){return pe(e.data.menus,(function(e,t){return J(e.items,(function(e){return"separator"===e.type?[]:[e.data.value]}))}))},s=function(e,t){_f.highlight(e,t),_f.getHighlighted(t).orThunk((function(){return _f.getFirst(t)})).each((function(t){wi(e,t.element,Jo())}))},l=function(e,t){return _e(H(t,(function(t){return e.lookupMenu(t).bind((function(e){return"prepared"===e.type?z.some(e.menu):z.none()}))})))},c=function(t,n,r){var o=l(n,n.otherMenus(r));W(o,(function(n){ka(n.element,[e.markers.backgroundMenu]),e.stayInDom||xp.remove(t,n)}))},u=function(t,n){var o=function(t){return r.get().getOrThunk((function(){var n={},o=Cc(t.element,"."+e.markers.item),a=j(o,(function(e){return"true"===jt(e,"aria-haspopup")}));return W(a,(function(e){t.getSystem().getByDom(e).each((function(e){var t=i(e);n[t]=e}))})),r.set(n),n}))}(t);he(o,(function(e,t){var r=L(n,t);Wt(e.element,"aria-expanded",r)}))},d=function(t,n,r){return z.from(r[0]).bind((function(o){return n.lookupMenu(o).bind((function(o){if("notbuilt"===o.type)return z.none();var i=o.menu,a=l(n,r.slice(1));return W(a,(function(t){wa(t.element,e.markers.backgroundMenu)})),Vt(i.element)||xp.append(t,Ra(i)),ka(i.element,[e.markers.backgroundMenu]),s(t,i),c(t,n,r),z.some(i)}))}))};!function(e){e[e.HighlightSubmenu=0]="HighlightSubmenu",e[e.HighlightParent=1]="HighlightParent"}(n||(n={}));var f=function(t,r,a){if(void 0===a&&(a=n.HighlightSubmenu),r.hasConfigured(hf)&&hf.isDisabled(r))return z.some(r);var s=i(r);return o.expand(s).bind((function(i){return u(t,i),z.from(i[0]).bind((function(s){return o.lookupMenu(s).bind((function(l){var c=function(e,t,n){if("notbuilt"===n.type){var r=e.getSystem().build(n.nbMenu());return o.setMenuBuilt(t,r),r}return n.menu}(t,s,l);return Vt(c.element)||xp.append(t,Ra(c)),e.onOpenSubmenu(t,r,c,te(i)),a===n.HighlightSubmenu?(_f.highlightFirst(c),d(t,o,i)):(_f.dehighlightAll(c),z.some(r))}))}))}))},h=function(t,n){var r=i(n);return o.collapse(r).bind((function(r){return u(t,r),d(t,o,r).map((function(r){return e.onCollapseMenu(t,n,r),r}))}))},p=function(t){return function(n,r){return Wa(r.getSource(),"."+e.markers.item).bind((function(e){return n.getSystem().getByDom(e).toOptional().bind((function(e){return t(n,e).map(x)}))}))}},g=Si([Bi(im(),(function(e,t){var n=t.event.item;o.lookupItem(i(n)).each((function(){var n=t.event.menu;_f.highlight(e,n);var r=i(t.event.item);o.refresh(r).each((function(t){return c(e,o,t)}))}))})),Ni((function(t,r){var o=r.event.target;t.getSystem().getByDom(o).each((function(r){0===i(r).indexOf("collapse-item")&&h(t,r),f(t,r,n.HighlightSubmenu).fold((function(){e.onExecute(t,r)}),m)}))})),Ri((function(t,n){(function(t){var n=function(t,n,r){return pe(r,(function(r,o){var i=function(){return am.sketch(k(k({},r),{value:o,markers:e.markers,fakeFocus:e.fakeFocus,onHighlight:e.onHighlight,focusManager:e.fakeFocus?Wf():Hf()}))};return o===n?{type:"prepared",menu:t.getSystem().build(i())}:{type:"notbuilt",nbMenu:i}}))}(t,e.data.primary,e.data.menus),r=a();return o.setContents(e.data.primary,n,e.data.expansions,r),o.getPrimary()})(t).each((function(n){xp.append(t,Ra(n)),e.onOpenMenu(t,n),e.highlightImmediately&&s(t,n)}))}))].concat(e.navigateOnHover?[Bi(Zp(),(function(t,r){var a=r.event.item;!function(e,t){var n=i(t);o.refresh(n).bind((function(t){return u(e,t),d(e,o,t)}))}(t,a),f(t,a,n.HighlightParent),e.onHover(t,a)}))]:[])),A=function(e){return _f.getHighlighted(e).bind(_f.getHighlighted)},v={collapseMenu:function(e){A(e).each((function(t){h(e,t)}))},highlightPrimary:function(e){o.getPrimary().each((function(t){s(e,t)}))},repositionMenus:function(t){var n=o.getPrimary().bind((function(e){return A(t).bind((function(e){var t=i(e),n=ve(o.getMenus()),r=_e(H(n,um));return o.getTriggeringPath(t,(function(e){return function(e,t,n){return ue(t,(function(e){if(!e.getSystem().isConnected())return z.none();var t=_f.getCandidates(e);return Y(t,(function(e){return i(e)===n}))}))}(0,r,e)}))})).map((function(t){return{primary:e,triggeringPath:t}}))}));n.fold((function(){(function(e){return z.from(e.components()[0]).filter((function(e){return"menu"===jt(e.element,"role")}))})(t).each((function(n){e.onRepositionMenu(t,n,[])}))}),(function(n){var r=n.primary,o=n.triggeringPath;e.onRepositionMenu(t,r,o)}))}};return{uid:e.uid,dom:e.dom,markers:e.markers,behaviours:qu(e.tmenuBehaviours,[vp.config({mode:"special",onRight:p((function(e,t){return Zd(t.element)?z.none():f(e,t,n.HighlightSubmenu)})),onLeft:p((function(e,t){return Zd(t.element)?z.none():h(e,t)})),onEscape:p((function(t,n){return h(t,n).orThunk((function(){return e.onEscape(t,n).map((function(){return t}))}))})),focusIn:function(e,t){o.getPrimary().each((function(t){wi(e,t.element,Jo())}))}}),_f.config({highlightClass:e.markers.selectedMenu,itemClass:e.markers.menu}),Kd.config({find:function(e){return _f.getHighlighted(e)}}),xp.config({})]),eventOrder:e.eventOrder,apis:v,events:g}},extraApis:{tieredData:function(e,t,n){return{primary:e,menus:t,expansions:n}},singleData:function(e,t){return{primary:e,menus:Ao(e,t),expansions:{}}},collapseItem:function(e){return{value:ji(dm()),meta:{text:e}}}}}),hm=jd({name:"InlineView",configFields:[Vr("lazySink"),is("onShow"),is("onHide"),eo("onEscape"),Xu("inlineBehaviours",[Su,Wu,rl]),no("fireDismissalEventInstead",[ro("event",di())]),no("fireRepositionEventInstead",[ro("event",fi())]),ro("getRelated",z.none),ro("isExtraPart",_),ro("eventOrder",z.none)],factory:function(e,t){var n=function(e,t,n,o){r(e,t,n,(function(){return o.map((function(e){return Vn(e)}))}))},r=function(t,n,r,o){var i=e.lazySink(t).getOrDie();Su.openWhileCloaked(t,n,(function(){return nu.positionWithinBounds(i,t,r,o())})),Wu.setValue(t,z.some({mode:"position",config:r,getBounds:o}))},o=function(t,n,r,o){var i=function(e,t,n,r,o){var i=function(){return e.lazySink(t)},a="horizontal"===r.type?{layouts:{onLtr:function(){return Hs()},onRtl:function(){return Ws()}}}:{},s=function(e){return function(e){return 2===e.length}(e)?a:{}};return fm.sketch({dom:{tag:"div"},data:r.data,markers:r.menu.markers,highlightImmediately:r.menu.highlightImmediately,onEscape:function(){return Su.close(t),e.onEscape.map((function(e){return e(t)})),z.some(!0)},onExecute:function(){return z.some(!0)},onOpenMenu:function(e,t){nu.positionWithinBounds(i().getOrDie(),t,n,o())},onOpenSubmenu:function(e,t,n,r){var o=i().getOrDie();nu.position(o,n,{anchor:k({type:"submenu",item:t},s(r))})},onRepositionMenu:function(e,t,r){var a=i().getOrDie();nu.positionWithinBounds(a,t,n,o()),W(r,(function(e){var t=s(e.triggeringPath);nu.position(a,e.triggeredMenu,{anchor:k({type:"submenu",item:e.triggeringItem},t)})}))}})}(e,t,n,r,o);Su.open(t,i),Wu.setValue(t,z.some({mode:"menu",menu:i}))},i=function(t){Su.isOpen(t)&&Wu.getValue(t).each((function(n){switch(n.mode){case"menu":Su.getState(t).each(fm.repositionMenus);break;case"position":var r=e.lazySink(t).getOrDie();nu.positionWithinBounds(r,t,n.config,n.getBounds())}}))},a={setContent:function(e,t){Su.setContent(e,t)},showAt:function(e,t,r){n(e,t,r,z.none())},showWithin:n,showWithinBounds:r,showMenuAt:function(e,t,n){o(e,t,n,z.none)},showMenuWithinBounds:o,hide:function(e){Su.isOpen(e)&&(Wu.setValue(e,z.none()),Su.close(e))},getContent:function(e){return Su.getState(e)},reposition:i,isOpen:Su.isOpen};return{uid:e.uid,dom:e.dom,behaviours:qu(e.inlineBehaviours,[Su.config({isPartOf:function(t,n,r){return ja(n,r)||function(t,n){return e.getRelated(t).exists((function(e){return ja(e,n)}))}(t,r)},getAttachPoint:function(t){return e.lazySink(t).getOrDie()},onOpen:function(t){e.onShow(t)},onClose:function(t){e.onHide(t)}}),Wu.config({store:{mode:"memory",initialValue:z.none()}}),rl.config({channels:k(k({},Tu(k({isExtraPart:t.isExtraPart},e.fireDismissalEventInstead.map((function(e){return{fireEventInstead:{event:e.event}}})).getOr({})))),Pu(k(k({},e.fireRepositionEventInstead.map((function(e){return{fireEventInstead:{event:e.event}}})).getOr({})),{doReposition:i})))})]),eventOrder:e.eventOrder,apis:a}},apis:{showAt:function(e,t,n,r){e.showAt(t,n,r)},showWithin:function(e,t,n,r,o){e.showWithin(t,n,r,o)},showWithinBounds:function(e,t,n,r,o){e.showWithinBounds(t,n,r,o)},showMenuAt:function(e,t,n,r){e.showMenuAt(t,n,r)},showMenuWithinBounds:function(e,t,n,r,o){e.showMenuWithinBounds(t,n,r,o)},hide:function(e,t){e.hide(t)},isOpen:function(e,t){return e.isOpen(t)},getContent:function(e,t){return e.getContent(t)},setContent:function(e,t,n){e.setContent(t,n)},reposition:function(e,t){e.reposition(t)}}}),pm="layout-inset",mm=function(e){return e.x},gm=function(e,t){return e.x+e.width/2-t.width/2},Am=function(e,t){return e.x+e.width-t.width},vm=function(e){return e.y},ym=function(e,t){return e.y+e.height-t.height},Om=function(e,t){return e.y+e.height/2-t.height/2},bm=function(e,t,n){return fs(Am(e,t),ym(e,t),n.insetSouthwest(),As(),"southwest",xs(e,{right:0,bottom:3}),pm)},wm=function(e,t,n){return fs(mm(e),ym(e,t),n.insetSoutheast(),gs(),"southeast",xs(e,{left:1,bottom:3}),pm)},_m=function(e,t,n){return fs(Am(e,t),vm(e),n.insetNorthwest(),ms(),"northwest",xs(e,{right:0,top:2}),pm)},xm=function(e,t,n){return fs(mm(e),vm(e),n.insetNortheast(),ps(),"northeast",xs(e,{left:1,top:2}),pm)},Sm=function(e,t,n){return fs(gm(e,t),vm(e),n.insetNorth(),vs(),"north",xs(e,{top:2}),pm)},km=function(e,t,n){return fs(gm(e,t),ym(e,t),n.insetSouth(),ys(),"south",xs(e,{bottom:3}),pm)},Cm=function(e,t,n){return fs(Am(e,t),Om(e,t),n.insetEast(),bs(),"east",xs(e,{right:0}),pm)},Bm=function(e,t,n){return fs(mm(e),Om(e,t),n.insetWest(),Os(),"west",xs(e,{left:1}),pm)},Qm=function(e){switch(e){case"north":return Sm;case"northeast":return xm;case"northwest":return _m;case"south":return km;case"southeast":return wm;case"southwest":return bm;case"east":return Cm;case"west":return Bm}},Tm=function(e,t,n,r,o){return _l(r).map(Qm).getOr(Sm)(e,t,n,r,o)},Em=function(e){switch(e){case"north":return km;case"northeast":return wm;case"northwest":return bm;case"south":return Sm;case"southeast":return xm;case"southwest":return _m;case"east":return Bm;case"west":return Cm}},Pm=function(e,t,n,r,o){return _l(r).map(Em).getOr(Sm)(e,t,n,r,o)},$m=tinymce.util.Tools.resolve("tinymce.util.Delay"),Mm=jd({name:"Button",factory:function(e){var t=Hp(e.action),n=e.dom.tag,r=function(t){return ye(e.dom,"attributes").bind((function(e){return ye(e,t)}))};return{uid:e.uid,dom:e.dom,components:e.components,events:t,behaviours:Yu(e.buttonBehaviours,[Tp.config({}),vp.config({mode:"execution",useSpace:!0,useEnter:!0})]),domModification:{attributes:function(){if("button"===n){var e=r("type").getOr("button"),t=r("role").map((function(e){return{role:e}})).getOr({});return k({type:e},t)}return{role:r("role").getOr("button")}}()},eventOrder:e.eventOrder}},configFields:[ro("uid",void 0),Vr("dom"),ro("components",[]),Zu("buttonBehaviours",[Tp,vp]),Yr("action"),Yr("role"),ro("eventOrder",{})]}),zm=function(e){var t=function(e){return void 0!==e.uid}(e)&&be(e,"uid")?e.uid:ea("memento");return{get:function(e){return e.getSystem().getByUid(t).getOrDie()},getOpt:function(e){return e.getSystem().getByUid(t).toOptional()},asSpec:function(){return k(k({},e),{uid:t})}}},Rm=tinymce.util.Tools.resolve("tinymce.util.I18n"),Dm={indent:!0,outdent:!0,"table-insert-column-after":!0,"table-insert-column-before":!0,"paste-column-after":!0,"paste-column-before":!0,"unordered-list":!0,"list-bull-circle":!0,"list-bull-default":!0,"list-bull-square":!0},Im="temporary-placeholder",Nm=function(e){return function(){return ye(e,Im).getOr("!not found!")}},Lm=function(e,t){var n=e.toLowerCase();if(Rm.isRtl()){var r=function(e,t){return Be(e,t)?e:function(e,t){return e+t}(e,t)}(n,"-rtl");return Oe(t,r)?r:n}return n},Vm=function(e,t){return ye(t,Lm(e,t))},Um=function(e,t){var n=t();return Vm(e,n).getOrThunk(Nm(n))},Fm=function(){return Sp("add-focusable",[Ri((function(e){Fa(e.element,"svg").each((function(e){return Wt(e,"focusable","false")}))}))])},Hm=function(e,t,n,r){var o,i,a=function(e){return!!Rm.isRtl()&&Oe(Dm,e)}(t)?["tox-icon--flip"]:[],s=ye(n,Lm(t,n)).or(r).getOrThunk(Nm(n));return{dom:{tag:e.tag,attributes:null!==(o=e.attributes)&&void 0!==o?o:{},classes:e.classes.concat(a),innerHtml:s},behaviours:Gs(B(B([],null!==(i=e.behaviours)&&void 0!==i?i:[],!0),[Fm()],!1))}},Wm=function(e,t,n,r){return void 0===r&&(r=z.none()),Hm(t,e,n(),r)},Xm={success:"checkmark",error:"warning",err:"error",warning:"warning",warn:"warning",info:"info"},jm=jd({name:"Notification",factory:function(e){var t,n,r,o,i,a=zm({dom:{tag:"p",innerHtml:e.translationProvider(e.text)},behaviours:Gs([xp.config({})])}),s=function(e){return{dom:{tag:"div",classes:["tox-bar"],attributes:{style:"width: "+e+"%"}}}},l=function(e){return{dom:{tag:"div",classes:["tox-text"],innerHtml:e+"%"}}},c=zm({dom:{tag:"div",classes:e.progress?["tox-progress-bar","tox-progress-indicator"]:["tox-progress-bar"]},components:[{dom:{tag:"div",classes:["tox-bar-container"]},components:[s(0)]},l(0)],behaviours:Gs([xp.config({})])}),u={updateProgress:function(e,t){e.getSystem().isConnected()&&c.getOpt(e).each((function(e){xp.set(e,[{dom:{tag:"div",classes:["tox-bar-container"]},components:[s(t)]},l(t)])}))},updateText:function(e,t){if(e.getSystem().isConnected()){var n=a.get(e);xp.set(n,[Pa(t)])}}},d=K([e.icon.toArray(),e.level.toArray(),e.level.bind((function(e){return z.from(Xm[e])})).toArray()]),f=zm(Mm.sketch({dom:{tag:"button",classes:["tox-notification__dismiss","tox-button","tox-button--naked","tox-button--icon"]},components:[Wm("close",{tag:"div",classes:["tox-icon"],attributes:{"aria-label":e.translationProvider("Close")}},e.iconProvider)],action:function(t){e.onAction(t)}})),h=(t=d,n={tag:"div",classes:["tox-notification__icon"]},r=e.iconProvider,o=r(),i=Y(t,(function(e){return Oe(o,Lm(e,o))})),Hm(n,i.getOr(Im),o,z.none())),p=[h,{dom:{tag:"div",classes:["tox-notification__body"]},components:[a.asSpec()],behaviours:Gs([xp.config({})])}];return{uid:e.uid,dom:{tag:"div",attributes:{role:"alert"},classes:e.level.map((function(e){return["tox-notification","tox-notification--in","tox-notification--"+e]})).getOr(["tox-notification","tox-notification--in"])},behaviours:Gs([Tp.config({}),Sp("notification-events",[Bi(zo(),(function(e){f.getOpt(e).each(Tp.focus)}))])]),components:p.concat(e.progress?[c.asSpec()]:[]).concat(e.closeButton?[f.asSpec()]:[]),apis:u}},configFields:[Yr("level"),Vr("progress"),Vr("icon"),Vr("onAction"),Vr("text"),Vr("iconProvider"),Vr("translationProvider"),lo("closeButton",!0)],apis:{updateProgress:function(e,t,n){e.updateProgress(t,n)},updateText:function(e,t,n){e.updateText(t,n)}}});var qm,Zm=function(e,t){var n=null,r=function(){s(n)||(clearTimeout(n),n=null)};return{cancel:r,throttle:function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];r(),n=setTimeout((function(){n=null,e.apply(null,o)}),t)}}},Ym=tinymce.util.Tools.resolve("tinymce.dom.TextSeeker"),Gm=function(e,t,n,r,o){var i=Ym(e,(function(t){return function(e,t){return e.isBlock(t)||L(["BR","IMG","HR","INPUT"],t.nodeName)||"false"===e.getContentEditable(t)}(e,t)}));return z.from(i.backwards(t,n,r,o))},Km=function(e,t){return Jm(Re(e.selection.getNode())).getOrThunk((function(){var n=$e('<span data-mce-autocompleter="1" data-mce-bogus="1"></span>',e.getDoc());return Bn(n,Re(t.extractContents())),t.insertNode(n.dom),Bt(n).each((function(e){return e.dom.normalize()})),function(e){return t=kc,n=function(e){for(var r=Tt(e),o=r.length-1;o>=0;o--){var i=r[o];if(t(i))return z.some(i);var a=n(i);if(a.isSome())return a}return z.none()},n(e);var t,n}(n).map((function(t){e.selection.setCursorLocation(t.dom,function(e){return"img"===Ie(e)?1:xc(e).fold((function(){return Tt(e).length}),(function(e){return e.length}))}(t))})),n}))},Jm=function(e){return Wa(e,"[data-mce-autocompleter]")},eg=function(e){return e.toString().replace(/\u00A0/g," ").replace(/\uFEFF/g,"")},tg=function(e){return""!==e&&-1!=="  \f\n\r\t\v".indexOf(e)},ng=function(e,t){return e.substring(t.length)},rg=function(e,t,n,r){return void 0===r&&(r=0),Jm(Re(t.startContainer)).fold((function(){return function(e,t,n,r){if(void 0===r&&(r=0),!(o=t).collapsed||3!==o.startContainer.nodeType)return z.none();var o,i=e.getParent(t.startContainer,e.isBlock)||e.getRoot();return Gm(e,t.startContainer,t.startOffset,(function(e,t,r){return function(e,t,n){var r;for(r=t-1;r>=0;r--){var o=e.charAt(r);if(tg(o))return z.none();if(o===n)break}return z.some(r)}(r,t,n).getOr(t)}),i).bind((function(e){var o=t.cloneRange();if(o.setStart(e.container,e.offset),o.setEnd(t.endContainer,t.endOffset),o.collapsed)return z.none();var i=eg(o);return 0!==i.lastIndexOf(n)||ng(i,n).length<r?z.none():z.some({text:ng(i,n),range:o,triggerChar:n})}))}(e,t,n,r)}),(function(t){var r=e.createRng();r.selectNode(t.dom);var o=eg(r);return z.some({range:r,text:ng(o,n),triggerChar:n})}))},og=tinymce.util.Tools.resolve("tinymce.util.Promise"),ig=function(e,t){return{container:e,offset:t}},ag=function(e){if(function(e){return 3===e.nodeType}(e))return ig(e,e.data.length);var t=e.childNodes;return t.length>0?ag(t[t.length-1]):ig(e,t.length)},sg=function(e,t){var n=e.childNodes;return n.length>0&&t<n.length?sg(n[t],0):n.length>0&&function(e){return 1===e.nodeType}(e)&&n.length===t?ag(n[n.length-1]):ig(e,t)},lg=function(e,t,n,r){void 0===r&&(r={});var o=t(),i=e.selection.getRng().startContainer.nodeValue,a=j(o.lookupByChar(n.triggerChar),(function(t){return n.text.length>=t.minChars&&t.matches.getOrThunk((function(){return function(e){return function(t){var n=sg(t.startContainer,t.startOffset);return!function(e,t){return Gm(e,t.container,t.offset,(function(e,t){return 0===t?-1:t}),e.getRoot()).filter((function(e){var t=e.container.data.charAt(e.offset-1);return!tg(t)})).isSome()}(e,n)}}(e.dom)}))(n.range,i,n.text)}));if(0===a.length)return z.none();var s=og.all(H(a,(function(e){return e.fetch(n.text,e.maxResults,r).then((function(t){return{matchText:n.text,items:t,columns:e.columns,onAction:e.onAction,highlightOn:e.highlightOn}}))})));return z.some({lookupData:s,context:n})},cg=Ar([Hr("type"),Jr("text")]),ug=Ar([ro("type","autocompleteitem"),ro("active",!1),ro("disabled",!1),ro("meta",{}),Hr("value"),Jr("text"),Jr("icon")]),dg=Ar([Hr("type"),Hr("ch"),io("minChars",1),ro("columns",1),io("maxResults",10),eo("matches"),Xr("fetch"),Xr("onAction"),uo("highlightOn",[],Sr)]),fg=[lo("disabled",!1),Jr("tooltip"),Jr("icon"),Jr("text"),co("onSetup",(function(){return m}))],hg=Ar([Hr("type"),Xr("onAction")].concat(fg)),pg=function(e){return $r("toolbarbutton",hg,e)},mg=[lo("active",!1)].concat(fg),gg=Ar(mg.concat([Hr("type"),Xr("onAction")])),Ag=function(e){return $r("ToggleButton",gg,e)},vg=[co("predicate",_),so("scope","node",["node","editor"]),so("position","selection",["node","selection","line"])],yg=fg.concat([ro("type","contextformbutton"),ro("primary",!1),Xr("onAction"),Nr("original",v)]),Og=mg.concat([ro("type","contextformbutton"),ro("primary",!1),Xr("onAction"),Nr("original",v)]),bg=fg.concat([ro("type","contextformbutton")]),wg=mg.concat([ro("type","contextformtogglebutton")]),_g=Dr("type",{contextformbutton:yg,contextformtogglebutton:Og}),xg=Ar([ro("type","contextform"),co("initValue",A("")),Jr("label"),Zr("commands",_g),Gr("launch",Dr("type",{contextformbutton:bg,contextformtogglebutton:wg}))].concat(vg)),Sg=Ar([ro("type","contexttoolbar"),Hr("items")].concat(vg));!function(e){e[e.CLOSE_ON_EXECUTE=0]="CLOSE_ON_EXECUTE",e[e.BUBBLE_TO_SANDBOX=1]="BUBBLE_TO_SANDBOX"}(qm||(qm={}));var kg,Cg=qm,Bg="tox-menu-nav__js",Qg="tox-collection__item",Tg="tox-swatch",Eg={normal:Bg,color:Tg},Pg="tox-collection__item--enabled",$g="tox-collection__item-icon",Mg="tox-collection__item-label",zg="tox-collection__item-caret",Rg="tox-collection__item--active",Dg="tox-collection__item-container",Ig="tox-collection__item-container--row",Ng=function(e){return ye(Eg,e).getOr(Bg)},Lg=function(e){return"color"===e?"tox-swatches":"tox-menu"},Vg=function(e){return{backgroundMenu:"tox-background-menu",selectedMenu:"tox-selected-menu",selectedItem:"tox-collection__item--active",hasIcons:"tox-menu--has-icons",menu:Lg(e),tieredMenu:"tox-tiered-menu"}},Ug=function(e){var t=Vg(e);return{backgroundMenu:t.backgroundMenu,selectedMenu:t.selectedMenu,menu:t.menu,selectedItem:t.selectedItem,item:Ng(e)}},Fg=function(e,t,n){var r=Vg(n);return{tag:"div",classes:K([[r.menu,"tox-menu-"+t+"-column"],e?[r.hasIcons]:[]])}},Hg=[am.parts.items({})],Wg=function(e,t,n){var r=Vg(n);return{dom:{tag:"div",classes:K([[r.tieredMenu]])},markers:Ug(n)}},Xg=function(e,t){return function(n){var r=F(n,t);return H(r,(function(t){return{dom:e,components:t}}))}},jg=function(e,t){var n=[],r=[];return W(e,(function(e,o){t(e,o)?(r.length>0&&n.push(r),r=[],Oe(e.dom,"innerHtml")&&r.push(e)):r.push(e)})),r.length>0&&n.push(r),H(n,(function(e){return{dom:{tag:"div",classes:["tox-collection__group"]},components:e}}))},qg=function(e,t,n){return{dom:{tag:"div",classes:["tox-menu","tox-collection"].concat(1===e?["tox-collection--list"]:["tox-collection--grid"])},components:[am.parts.items({preprocess:function(n){return"auto"!==e&&e>1?Xg({tag:"div",classes:["tox-collection__group"]},e)(n):jg(n,(function(e,n){return"separator"===t[n].type}))}})]}},Zg=function(e){return V(e,(function(e){return"icon"in e&&void 0!==e.icon}))},Yg=function(e){return console.error(Rr(e)),console.log(e),z.none()},Gg=function(e,t,n,r,o){var i,a=(i=n,{dom:{tag:"div",classes:["tox-collection","tox-collection--horizontal"]},components:[am.parts.items({preprocess:function(e){return jg(e,(function(e,t){return"separator"===i[t].type}))}})]});return{value:e,dom:a.dom,components:a.components,items:n}},Kg=function(e,t,n,r,o){if("color"===o){var i=function(e){return{dom:{tag:"div",classes:["tox-menu","tox-swatches-menu"]},components:[{dom:{tag:"div",classes:["tox-swatches"]},components:[am.parts.items({preprocess:"auto"!==e?Xg({tag:"div",classes:["tox-swatches__row"]},e):v})]}]}}(r);return{value:e,dom:i.dom,components:i.components,items:n}}return"normal"===o&&"auto"===r?{value:e,dom:(i=qg(r,n)).dom,components:i.components,items:n}:"normal"===o&&1===r?{value:e,dom:(i=qg(1,n)).dom,components:i.components,items:n}:"normal"===o?{value:e,dom:(i=qg(r,n)).dom,components:i.components,items:n}:"listpreview"===o&&"auto"!==r?(i=function(e){return{dom:{tag:"div",classes:["tox-menu","tox-collection","tox-collection--toolbar","tox-collection--toolbar-lg"]},components:[am.parts.items({preprocess:Xg({tag:"div",classes:["tox-collection__group"]},e)})]}}(r),{value:e,dom:i.dom,components:i.components,items:n}):{value:e,dom:Fg(t,r,o),components:Hg,items:n}},Jg=[Hr("type"),Hr("src"),Jr("alt"),uo("classes",[],Sr)],eA=Ar(Jg),tA=[Hr("type"),Hr("text"),Jr("name"),uo("classes",["tox-collection__item-label"],Sr)],nA=Ar(tA),rA=pr((function(){return Tr("type",{cardimage:eA,cardtext:nA,cardcontainer:oA})})),oA=Ar([Hr("type"),ao("direction","horizontal"),ao("align","left"),ao("valign","middle"),Zr("items",rA)]),iA=[lo("disabled",!1),Jr("text"),Jr("shortcut"),Ir("value","value",or((function(){return ji("menuitem-value")})),wr()),ro("meta",{})],aA=Ar([Hr("type"),Jr("label"),Zr("items",rA),co("onSetup",(function(){return m})),co("onAction",m)].concat(iA)),sA=Ar([Hr("type"),lo("active",!1),Jr("icon")].concat(iA)),lA=[Hr("type"),Hr("fancytype"),co("onAction",m)],cA=[ro("initData",{})].concat(lA),uA=[fo("initData",{},[lo("allowCustomColors",!0),to("colors",wr())])].concat(lA),dA=Dr("fancytype",{inserttable:cA,colorswatch:uA}),fA=Ar([Hr("type"),co("onSetup",(function(){return m})),co("onAction",m),Jr("icon")].concat(iA)),hA=Ar([Hr("type"),Xr("getSubmenuItems"),co("onSetup",(function(){return m})),Jr("icon")].concat(iA)),pA=Ar([Hr("type"),Jr("icon"),lo("active",!1),co("onSetup",(function(){return m})),Xr("onAction")].concat(iA)),mA=function(e,t,n){var r=Cc(e.element,"."+n);if(r.length>0){var o=G(r,(function(e){var n=e.dom.getBoundingClientRect().top,o=r[0].dom.getBoundingClientRect().top;return Math.abs(n-o)>t})).getOr(r.length);return z.some({numColumns:o,numRows:Math.ceil(r.length/o)})}return z.none()},gA=function(e){return function(e,t){return Gs([Sp(e,t)])}(ji("unnamed-events"),e)},AA=ji("tooltip.exclusive"),vA=ji("tooltip.show"),yA=ji("tooltip.hide"),OA=function(e,t,n){e.getSystem().broadcastOn([AA],{})},bA=Object.freeze({__proto__:null,hideAllExclusive:OA,setComponents:function(e,t,n,r){n.getTooltip().each((function(e){e.getSystem().isConnected()&&xp.set(e,r)}))}}),wA=Object.freeze({__proto__:null,events:function(e,t){var n=function(n){t.getTooltip().each((function(r){uu(r),e.onHide(n,r),t.clearTooltip()})),t.clearTimer()};return Si(K([[Bi(vA,(function(n){t.resetTimer((function(){!function(n){if(!t.isShowing()){OA(n);var r=e.lazySink(n).getOrDie(),o=n.getSystem().build({dom:e.tooltipDom,components:e.tooltipComponents,events:Si("normal"===e.mode?[Bi(Mo(),(function(e){yi(n,vA)})),Bi(Po(),(function(e){yi(n,yA)}))]:[]),behaviours:Gs([xp.config({})])});t.setTooltip(o),su(r,o),e.onShow(n,o),nu.position(r,o,{anchor:e.anchor(n)})}}(n)}),e.delay)})),Bi(yA,(function(r){t.resetTimer((function(){n(r)}),e.delay)})),Bi(Go(),(function(e,t){var r=t;r.universal||L(r.channels,AA)&&n(e)})),Di((function(e){n(e)}))],"normal"===e.mode?[Bi(zo(),(function(e){yi(e,vA)})),Bi(Zo(),(function(e){yi(e,yA)})),Bi(Mo(),(function(e){yi(e,vA)})),Bi(Po(),(function(e){yi(e,yA)}))]:[Bi(Ai(),(function(e,t){yi(e,vA)})),Bi(vi(),(function(e){yi(e,yA)}))]]))}}),_A=[Vr("lazySink"),Vr("tooltipDom"),ro("exclusive",!0),ro("tooltipComponents",[]),ro("delay",300),so("mode","normal",["normal","follow-highlight"]),ro("anchor",(function(e){return{type:"hotspot",hotspot:e,layouts:{onLtr:A([Ds,Rs,Ps,Ms,$s,zs]),onRtl:A([Ds,Rs,Ps,Ms,$s,zs])}}})),is("onHide"),is("onShow")],xA=Js({fields:_A,name:"tooltipping",active:wA,state:Object.freeze({__proto__:null,init:function(){var e=Ql(),t=Ql(),n=function(){e.on(clearTimeout)},r=A("not-implemented");return ua({getTooltip:t.get,isShowing:t.isSet,setTooltip:t.set,clearTooltip:t.clear,clearTimer:n,resetTimer:function(t,r){n(),e.set(setTimeout(t,r))},readState:r})}}),apis:bA}),SA=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),kA=tinymce.util.Tools.resolve("tinymce.EditorManager"),CA=function(e){return e.getParam("height",Math.max(e.getElement().offsetHeight,200))},BA=function(e){return e.getParam("width",SA.DOM.getStyle(e.getElement(),"width"))},QA=function(e){return z.from(e.getParam("min_width")).filter(h)},TA=function(e){return z.from(e.getParam("min_height")).filter(h)},EA=function(e){return z.from(e.getParam("max_width")).filter(h)},PA=function(e){return z.from(e.getParam("max_height")).filter(h)},$A=function(e){return!1!==e.getParam("menubar",!0,"boolean")},MA=function(e){var t=e.getParam("toolbar",!0),n=!0===t,r=o(t),i=a(t)&&t.length>0;return!RA(e)&&(i||r||n)},zA=function(e){var t=U(9,(function(t){return e.getParam("toolbar"+(t+1),!1,"string")})),n=j(t,(function(e){return"string"==typeof e}));return n.length>0?z.some(n):z.none()},RA=function(e){return zA(e).fold((function(){return e.getParam("toolbar",[],"string[]").length>0}),x)};!function(e){e.default="wrap",e.floating="floating",e.sliding="sliding",e.scrolling="scrolling"}(kg||(kg={}));var DA,IA=function(e){return e.getParam("toolbar_mode","","string")};!function(e){e.auto="auto",e.top="top",e.bottom="bottom"}(DA||(DA={}));var NA,LA,VA=function(e){return e.getParam("toolbar_location",DA.auto,"string")},UA=function(e){return VA(e)===DA.bottom},FA=function(e){if(!e.inline)return z.none();var t=function(e){return e.getParam("fixed_toolbar_container","","string")}(e);if(t.length>0)return Ha(Ut(),t);var n=function(e){return e.getParam("fixed_toolbar_container_target")}(e);return d(n)?z.some(Re(n)):z.none()},HA=function(e){return e.inline&&FA(e).isSome()},WA=function(e){return FA(e).getOrThunk((function(){return It(Dt(Re(e.getElement())))}))},XA=function(e){return e.inline&&!$A(e)&&!MA(e)&&!RA(e)},jA=function(e){return(e.getParam("toolbar_sticky",!1,"boolean")||e.inline)&&!HA(e)&&!XA(e)},qA=function(e){var t=e.getParam("menu");return t?pe(t,(function(e){return k(k({},e),{items:e.items})})):{}},ZA=function(e){return e.getParam("menubar")},YA=function(e){return e.getParam("anchor_top","#top")},GA=function(e){return e.getParam("anchor_bottom","#bottom")},KA="silver.readonly",JA=Ar([Ur("readonly",kr)]),ev=function(e,t){var n=e.outerContainer.element;t&&(e.mothership.broadcastOn([ku()],{target:n}),e.uiMothership.broadcastOn([ku()],{target:n})),e.mothership.broadcastOn([KA],{readonly:t}),e.uiMothership.broadcastOn([KA],{readonly:t})},tv=function(e,t){e.on("init",(function(){e.mode.isReadOnly()&&ev(t,!0)})),e.on("SwitchMode",(function(){return ev(t,e.mode.isReadOnly())})),function(e){return e.getParam("readonly",!1,"boolean")}(e)&&e.setMode("readonly")},nv=function(){var e;return rl.config({channels:(e={},e[KA]={schema:JA,onReceive:function(e,t){hf.set(e,t.readonly)}},e)})},rv=function(e){return hf.config({disabled:e})},ov=function(e){return hf.config({disabled:e,disableClass:"tox-tbtn--disabled"})},iv=function(e){return hf.config({disabled:e,disableClass:"tox-tbtn--disabled",useNative:!1})},av=function(e,t){var n=e.getApi(t);return function(e){e(n)}},sv=function(e,t){return Ri((function(n){av(e,n)((function(n){var r=e.onSetup(n);f(r)&&t.set(r)}))}))},lv=function(e,t){return Di((function(n){return av(e,n)(t.get())}))},cv=function(e,t){return Ni((function(n,r){av(e,n)(e.onAction),e.triggersSubmenu||t!==Cg.CLOSE_ON_EXECUTE||(yi(n,ni()),r.stop())}))},uv=((NA={})[Ko()]=["disabling","alloy.base.behaviour","toggling","item-events"],NA),dv=_e,fv=function(e,t,n,r){var o,i=ho(m);return{type:"item",dom:t.dom,components:dv(t.optComponents),data:e.data,eventOrder:uv,hasSubmenu:e.triggersSubmenu,itemBehaviours:Gs([Sp("item-events",[cv(e,n),sv(e,i),lv(e,i)]),(o=function(){return e.disabled||r.isDisabled()},hf.config({disabled:o,disableClass:"tox-collection__item--state-disabled"})),nv(),xp.config({})].concat(e.itemBehaviours))}},hv=function(e){return{value:e.value,meta:k({text:e.text.getOr("")},e.meta)}},pv=tinymce.util.Tools.resolve("tinymce.Env"),mv=function(e){var t=pv.mac?{alt:"&#x2325;",ctrl:"&#x2303;",shift:"&#x21E7;",meta:"&#x2318;",access:"&#x2303;&#x2325;"}:{meta:"Ctrl",access:"Shift+Alt"},n=e.split("+"),r=H(n,(function(e){var n=e.toLowerCase().trim();return Oe(t,n)?t[n]:e}));return pv.mac?r.join(""):r.join("+")},gv=function(e,t,n){return void 0===n&&(n=[$g]),Wm(e,{tag:"div",classes:n},t)},Av=function(e){return{dom:{tag:"div",classes:[Mg]},components:[Pa(Rm.translate(e))]}},vv=function(e,t){return{dom:{tag:"div",classes:t,innerHtml:e}}},yv=function(e,t){return{dom:{tag:"div",classes:[Mg]},components:[{dom:{tag:e.tag,styles:e.styles},components:[Pa(Rm.translate(t))]}]}},Ov=function(e){return{dom:{tag:"div",classes:["tox-collection__item-accessory"],innerHtml:mv(e)}}},bv=function(e){return gv("checkmark",e,["tox-collection__item-checkmark"])},wv=function(e){var t=e.map((function(e){return{attributes:{title:Rm.translate(e)}}})).getOr({});return k({tag:"div",classes:[Bg,Qg]},t)},_v=function(e,t,n,r){return void 0===r&&(r=z.none()),"color"===e.presets?function(e,t,n){var r,o,i,a,s=e.ariaLabel,l=e.value,c=e.iconContent.map((function(e){return function(e,t,n){var r=t();return Vm(e,r).or(n).getOrThunk(Nm(r))}(e,t.icons,n)}));return{dom:(r=Tg,o=c.getOr(""),i=s.map((function(e){return{title:t.translate(e)}})).getOr({}),a={tag:"div",attributes:i,classes:[r]},k(k({},a),"custom"===l?{tag:"button",classes:B(B([],a.classes,!0),["tox-swatches__picker-btn"],!1),innerHtml:o}:"remove"===l?{classes:B(B([],a.classes,!0),["tox-swatch--remove"],!1),innerHtml:o}:{attributes:k(k({},a.attributes),{"data-mce-color":l}),styles:{"background-color":l}})),optComponents:[]}}(e,t,r):function(e,t,n,r){var o={tag:"div",classes:[$g]},i=n?e.iconContent.map((function(e){return Wm(e,o,t.icons,r)})).orThunk((function(){return z.some({dom:o})})):z.none(),a=e.checkMark,s=z.from(e.meta).fold((function(){return Av}),(function(e){return Oe(e,"style")?O(yv,e.style):Av})),l=e.htmlContent.fold((function(){return e.textContent.map(s)}),(function(e){return z.some(vv(e,[Mg]))}));return{dom:wv(e.ariaLabel),optComponents:[i,l,e.shortcutContent.map(Ov),a,e.caret]}}(e,t,n,r)},xv=function(e,t){return ye(e,"tooltipWorker").map((function(e){return[xA.config({lazySink:t.getSink,tooltipDom:{tag:"div",classes:["tox-tooltip-worker-container"]},tooltipComponents:[],anchor:function(e){return{type:"submenu",item:e,overrides:{maxHeightFunction:Nl}}},mode:"follow-highlight",onShow:function(t,n){e((function(e){xA.setComponents(t,[$a({element:Re(e)})])}))}})]})).getOr([])},Sv=function(e,t){var n=function(e){return SA.DOM.encode(e)}(Rm.translate(e));if(t.length>0){var r=new RegExp(function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(t),"gi");return n.replace(r,(function(e){return'<span class="tox-autocompleter-highlight">'+e+"</span>"}))}return n},kv=function(e,t){return H(e,(function(e){switch(e.type){case"cardcontainer":return function(e,t){var n="vertical"===e.direction?"tox-collection__item-container--column":Ig,r="left"===e.align?"tox-collection__item-container--align-left":"tox-collection__item-container--align-right";return{dom:{tag:"div",classes:[Dg,n,r,function(){switch(e.valign){case"top":return"tox-collection__item-container--valign-top";case"middle":return"tox-collection__item-container--valign-middle";case"bottom":return"tox-collection__item-container--valign-bottom"}}()]},components:t}}(e,kv(e.items,t));case"cardimage":return function(e,t,n){return{dom:{tag:"img",classes:t,attributes:{src:e,alt:n.getOr("")}}}}(e.src,e.classes,e.alt);case"cardtext":var n=e.name.exists((function(e){return L(t.cardText.highlightOn,e)})),r=n?z.from(t.cardText.matchText).getOr(""):"";return vv(Sv(e.text,r),e.classes)}}))},Cv=kd(Jp(),em()),Bv=function(e){return{value:e}},Qv=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,Tv=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,Ev=function(e){return Qv.test(e)||Tv.test(e)},Pv=function(e){return(t=e,function(e,t){return ke(e,t,0)}(t,"#")?function(e){return e.substring(1)}(t):t).toUpperCase();var t},$v=function(e){var t=e.toString(16);return(1===t.length?"0"+t:t).toUpperCase()},Mv=function(e){var t=$v(e.red)+$v(e.green)+$v(e.blue);return Bv(t)},zv=Math.min,Rv=Math.max,Dv=Math.round,Iv=/^rgb\((\d+),\s*(\d+),\s*(\d+)\)/,Nv=/^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/,Lv=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},Vv=function(e){var t=parseInt(e,10);return t.toString()===e&&t>=0&&t<=255},Uv=function(e){var t,n,r,o=(e.hue||0)%360,i=e.saturation/100,a=e.value/100;if(i=Rv(0,zv(i,1)),a=Rv(0,zv(a,1)),0===i)return t=n=r=Dv(255*a),Lv(t,n,r,1);var s=o/60,l=a*i,c=l*(1-Math.abs(s%2-1)),u=a-l;switch(Math.floor(s)){case 0:t=l,n=c,r=0;break;case 1:t=c,n=l,r=0;break;case 2:t=0,n=l,r=c;break;case 3:t=0,n=c,r=l;break;case 4:t=c,n=0,r=l;break;case 5:t=l,n=0,r=c;break;default:t=n=r=0}return t=Dv(255*(t+u)),n=Dv(255*(n+u)),r=Dv(255*(r+u)),Lv(t,n,r,1)},Fv=function(e){var t,n,r=(t=function(e){var t=e.value.replace(Qv,(function(e,t,n,r){return t+t+n+n+r+r}));return{value:t}}(e),null===(n=Tv.exec(t.value))?["FFFFFF","FF","FF","FF"]:n),o=parseInt(r[1],16),i=parseInt(r[2],16),a=parseInt(r[3],16);return Lv(o,i,a,1)},Hv=function(e,t,n,r){var o=parseInt(e,10),i=parseInt(t,10),a=parseInt(n,10),s=parseFloat(r);return Lv(o,i,a,s)},Wv=function(e){if("transparent"===e)return z.some(Lv(0,0,0,0));var t=Iv.exec(e);if(null!==t)return z.some(Hv(t[1],t[2],t[3],"1"));var n=Nv.exec(e);return null!==n?z.some(Hv(n[1],n[2],n[3],n[4])):z.none()},Xv=function(e){return"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"},jv=Lv(255,0,0,1),qv=function(e,t){return e.fire("ResizeContent",t)},Zv=function(e,t,n){return{hue:e,saturation:t,value:n}},Yv=function(e){var t,n=0,r=0,o=e.red/255,i=e.green/255,a=e.blue/255,s=Math.min(o,Math.min(i,a)),l=Math.max(o,Math.max(i,a));return s===l?Zv(0,0,100*(r=s)):(n=60*((n=o===s?3:a===s?1:5)-(o===s?i-a:a===s?o-i:a-o)/(l-s)),t=(l-s)/l,r=l,Zv(Math.round(n),Math.round(100*t),Math.round(100*r)))},Gv=function(e){return Mv(Uv(e))},Kv=function(e){return(t=e,Ev(t)?z.some({value:Pv(t)}):z.none()).orThunk((function(){return Wv(e).map(Mv)})).getOrThunk((function(){var t=document.createElement("canvas");t.height=1,t.width=1;var n=t.getContext("2d");n.clearRect(0,0,t.width,t.height),n.fillStyle="#FFFFFF",n.fillStyle=e,n.fillRect(0,0,1,1);var r=n.getImageData(0,0,1,1).data,o=r[0],i=r[1],a=r[2],s=r[3];return Mv(Lv(o,i,a,s))}));var t},Jv=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),ey="tinymce-custom-colors",ty="choiceitem",ny=[{type:ty,text:"Light Green",value:"#BFEDD2"},{type:ty,text:"Light Yellow",value:"#FBEEB8"},{type:ty,text:"Light Red",value:"#F8CAC6"},{type:ty,text:"Light Purple",value:"#ECCAFA"},{type:ty,text:"Light Blue",value:"#C2E0F4"},{type:ty,text:"Green",value:"#2DC26B"},{type:ty,text:"Yellow",value:"#F1C40F"},{type:ty,text:"Red",value:"#E03E2D"},{type:ty,text:"Purple",value:"#B96AD9"},{type:ty,text:"Blue",value:"#3598DB"},{type:ty,text:"Dark Turquoise",value:"#169179"},{type:ty,text:"Orange",value:"#E67E23"},{type:ty,text:"Dark Red",value:"#BA372A"},{type:ty,text:"Dark Purple",value:"#843FA1"},{type:ty,text:"Dark Blue",value:"#236FA1"},{type:ty,text:"Light Gray",value:"#ECF0F1"},{type:ty,text:"Medium Gray",value:"#CED4D9"},{type:ty,text:"Gray",value:"#95A5A6"},{type:ty,text:"Dark Gray",value:"#7E8C8D"},{type:ty,text:"Navy Blue",value:"#34495E"},{type:ty,text:"Black",value:"#000000"},{type:ty,text:"White",value:"#ffffff"}],ry=function(e){void 0===e&&(e=10);var t,n=Jv.getItem(ey),r=o(n)?JSON.parse(n):[],i=e-(t=r).length<0?t.slice(0,e):t,a=function(e){i.splice(e,1)};return{add:function(t){(function(e,t){var n=N(e,t);return-1===n?z.none():z.some(n)})(i,t).each(a),i.unshift(t),i.length>e&&i.pop(),Jv.setItem(ey,JSON.stringify(i))},state:function(){return i.slice(0)}}}(10),oy=function(e){return!1!==e.getParam("custom_colors")},iy=function(e){var t=function(e){return e.getParam("color_map")}(e);return void 0!==t?function(e){for(var t=[],n=0;n<e.length;n+=2)t.push({text:e[n+1],value:"#"+Kv(e[n]).value,type:"choiceitem"});return t}(t):ny},ay=function(e){ry.add(e)},sy="#000000",ly=function(e){var t;return function(e,t){return e.getParam("color_cols",t,"number")}(e,(t=iy(e).length,Math.max(5,Math.ceil(Math.sqrt(t)))))},cy=function(e){var t="choiceitem",n={type:t,text:"Remove color",icon:"color-swatch-remove-color",value:"remove"};return e?[n,{type:t,text:"Custom color",icon:"color-picker",value:"custom"}]:[n]},uy=function(e,t,n,r){"custom"===n?gy(e)((function(n){n.each((function(n){ay(n),e.execCommand("mceApplyTextcolor",t,n),r(n)}))}),sy):"remove"===n?(r(""),e.execCommand("mceRemoveTextcolor",t)):(r(n),e.execCommand("mceApplyTextcolor",t,n))},dy=function(e,t){return e.concat(H(ry.state(),(function(e){return{type:ty,text:e,value:e}})).concat(cy(t)))},fy=function(e,t){return function(n){n(dy(e,t))}},hy=function(e,t,n){var r="forecolor"===t?"tox-icon-text-color__color":"tox-icon-highlight-bg-color__color";e.setIconFill(r,n)},py=function(e,t,n,r,o){e.ui.registry.addSplitButton(t,{tooltip:r,presets:"color",icon:"forecolor"===t?"text-color":"highlight-bg-color",select:function(t){var r=function(e,t){var n;return e.dom.getParents(e.selection.getStart(),(function(e){var r;(r=e.style["forecolor"===t?"color":"background-color"])&&(n=n||r)})),z.from(n)}(e,n);return r.bind((function(e){return Wv(e).map((function(e){var n=Mv(e).value;return Ce(t.toLowerCase(),n)}))})).getOr(!1)},columns:ly(e),fetch:fy(iy(e),oy(e)),onAction:function(t){uy(e,n,o.get(),m)},onItemAction:function(r,i){uy(e,n,i,(function(n){o.set(n),function(e,t){e.fire("TextColorChange",t)}(e,{name:t,color:n})}))},onSetup:function(n){hy(n,t,o.get());var r=function(e){e.name===t&&hy(n,e.name,e.color)};return e.on("TextColorChange",r),function(){e.off("TextColorChange",r)}}})},my=function(e,t,n,r){e.ui.registry.addNestedMenuItem(t,{text:r,icon:"forecolor"===t?"text-color":"highlight-bg-color",getSubmenuItems:function(){return[{type:"fancymenuitem",fancytype:"colorswatch",onAction:function(t){uy(e,n,t.value,m)}}]}})},gy=function(e){return function(t,n){var r=!1,o={colorpicker:n};e.windowManager.open({title:"Color Picker",size:"normal",body:{type:"panel",items:[{type:"colorpicker",name:"colorpicker",label:"Color"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:o,onAction:function(e,t){"hex-valid"===t.name&&(r=t.value)},onSubmit:function(n){var o=n.getData().colorpicker;r?(t(z.from(o)),n.close()):e.windowManager.alert(e.translate(["Invalid hex color code: {0}",o]))},onClose:m,onCancel:function(){t(z.none())}})}},Ay=function(e,t,n,r,o,i,a,s){var l=Zg(t),c=vy(t,n,r,"color"!==o?"normal":"color",i,a,s);return Kg(e,l,c,r,o)},vy=function(e,t,n,r,o,i,a){return _e(H(e,(function(s){return"choiceitem"===s.type?(l=s,$r("choicemenuitem",sA,l)).fold(Yg,(function(l){return z.some(function(e,t,n,r,o,i,a,s){void 0===s&&(s=!0);var l=_v({presets:n,textContent:t?e.text:z.none(),htmlContent:z.none(),ariaLabel:e.text,iconContent:e.icon,shortcutContent:t?e.shortcut:z.none(),checkMark:t?z.some(bv(a.icons)):z.none(),caret:z.none(),value:e.value},a,s);return nr(fv({data:hv(e),disabled:e.disabled,getApi:function(e){return{setActive:function(t){Up.set(e,t)},isActive:function(){return Up.isOn(e)},isDisabled:function(){return hf.isDisabled(e)},setDisabled:function(t){return hf.set(e,t)}}},onAction:function(t){return r(e.value)},onSetup:function(e){return e.setActive(o),m},triggersSubmenu:!1,itemBehaviours:[]},l,i,a),{toggling:{toggleClass:Pg,toggleOnExecute:!1,selected:e.active}})}(l,1===n,r,t,i(s.value),o,a,Zg(e)))})):z.none();var l})))},yy=function(e,t){var n=Ug(t);return 1===e?{mode:"menu",moveOnTab:!0}:"auto"===e?{mode:"grid",selector:"."+n.item,initSize:{numColumns:1,numRows:1}}:{mode:"matrix",rowSelector:"."+("color"===t?"tox-swatches__row":"tox-collection__group")}},Oy=ji("cell-over"),by=ji("cell-execute"),wy=function(e,t,n){var r,o=function(n){return Oi(n,by,{row:e,col:t})},i=function(e,t){t.stop(),o(e)};return za({dom:{tag:"div",attributes:(r={role:"button"},r["aria-labelledby"]=n,r)},behaviours:Gs([Sp("insert-table-picker-cell",[Bi(Mo(),Tp.focus),Bi(Ko(),o),Bi(Vo(),i),Bi(ei(),i)]),Up.config({toggleClass:"tox-insert-table-picker__selected",toggleOnExecute:!1}),Tp.config({onFocus:function(n){return Oi(n,Oy,{row:e,col:t})}})])})},_y=function(e){return J(e,(function(e){return H(e,Ra)}))},xy=function(e,t){return Pa(t+"x"+e)},Sy={inserttable:function(e){var t=ji("size-label"),n=function(e){for(var t=[],n=0;n<10;n++){for(var r=[],o=0;o<10;o++)r.push(wy(n,o,e));t.push(r)}return t}(t),r=xy(0,0),o=zm({dom:{tag:"span",classes:["tox-insert-table-picker__label"],attributes:{id:t}},components:[r],behaviours:Gs([xp.config({})])});return{type:"widget",data:{value:ji("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem"]},autofocus:!0,components:[Cv.widget({dom:{tag:"div",classes:["tox-insert-table-picker"]},components:_y(n).concat(o.asSpec()),behaviours:Gs([Sp("insert-table-picker",[Ri((function(e){xp.set(o.get(e),[r])})),Pi(Oy,(function(e,t,r){var i=r.event,a=i.row,s=i.col;!function(e,t,n){for(var r=0;r<10;r++)for(var o=0;o<10;o++)Up.set(e[r][o],r<=t&&o<=n)}(n,a,s),xp.set(o.get(e),[xy(a+1,s+1)])})),Pi(by,(function(t,n,r){var o=r.event,i=o.row,a=o.col;e.onAction({numRows:i+1,numColumns:a+1}),yi(t,ni())}))]),vp.config({initSize:{numRows:10,numColumns:10},mode:"flatgrid",selector:'[role="button"]'})])})]}},colorswatch:function(e,t){var n=function(e,t){var n=e.initData.allowCustomColors&&t.colorinput.hasCustomColors();return e.initData.colors.fold((function(){return dy(t.colorinput.getColors(),n)}),(function(e){return e.concat(cy(n))}))}(e,t),r=t.colorinput.getColorCols(),o="color",i=Ay(ji("menu-value"),n,(function(t){e.onAction({value:t})}),r,o,Cg.CLOSE_ON_EXECUTE,_,t.shared.providers),a=k(k({},i),{markers:Ug(o),movement:yy(r,o)});return{type:"widget",data:{value:ji("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem"]},autofocus:!0,components:[Cv.widget(am.sketch(a))]}}},ky=function(e){var t=e.text.fold((function(){return{}}),(function(e){return{innerHtml:e}}));return{type:"separator",dom:k({tag:"div",classes:[Qg,"tox-collection__group-heading"]},t),components:[]}};!function(e){e[e.ContentFocus=0]="ContentFocus",e[e.UiFocus=1]="UiFocus"}(LA||(LA={}));var Cy=function(e,t,n,r,o){var i,a=n.shared.providers,s=function(e){return o?k(k({},e),{shortcut:z.none(),icon:e.text.isSome()?z.none():e.icon}):e};switch(e.type){case"menuitem":return(i=e,$r("menuitem",fA,i)).fold(Yg,(function(e){return z.some(function(e,t,n,r){void 0===r&&(r=!0);var o=_v({presets:"normal",iconContent:e.icon,textContent:e.text,htmlContent:z.none(),ariaLabel:e.text,caret:z.none(),checkMark:z.none(),shortcutContent:e.shortcut},n,r);return fv({data:hv(e),getApi:function(e){return{isDisabled:function(){return hf.isDisabled(e)},setDisabled:function(t){return hf.set(e,t)}}},disabled:e.disabled,onAction:e.onAction,onSetup:e.onSetup,triggersSubmenu:!1,itemBehaviours:[]},o,t,n)}(s(e),t,a,r))}));case"nestedmenuitem":return function(e){return $r("nestedmenuitem",hA,e)}(e).fold(Yg,(function(e){return z.some(function(e,t,n,r,o){void 0===r&&(r=!0),void 0===o&&(o=!1);var i,a=o?(i=n.icons,gv("chevron-down",i,[zg])):function(e){return gv("chevron-right",e,[zg])}(n.icons),s=_v({presets:"normal",iconContent:e.icon,textContent:e.text,htmlContent:z.none(),ariaLabel:e.text,caret:z.some(a),checkMark:z.none(),shortcutContent:e.shortcut},n,r);return fv({data:hv(e),getApi:function(e){return{isDisabled:function(){return hf.isDisabled(e)},setDisabled:function(t){return hf.set(e,t)}}},disabled:e.disabled,onAction:m,onSetup:e.onSetup,triggersSubmenu:!0,itemBehaviours:[]},s,t,n)}(s(e),t,a,r,o))}));case"togglemenuitem":return function(e){return $r("togglemenuitem",pA,e)}(e).fold(Yg,(function(e){return z.some(function(e,t,n,r){void 0===r&&(r=!0);var o=_v({iconContent:e.icon,textContent:e.text,htmlContent:z.none(),ariaLabel:e.text,checkMark:z.some(bv(n.icons)),caret:z.none(),shortcutContent:e.shortcut,presets:"normal",meta:e.meta},n,r);return nr(fv({data:hv(e),disabled:e.disabled,getApi:function(e){return{setActive:function(t){Up.set(e,t)},isActive:function(){return Up.isOn(e)},isDisabled:function(){return hf.isDisabled(e)},setDisabled:function(t){return hf.set(e,t)}}},onAction:e.onAction,onSetup:e.onSetup,triggersSubmenu:!1,itemBehaviours:[]},o,t,n),{toggling:{toggleClass:Pg,toggleOnExecute:!1,selected:e.active}})}(s(e),t,a,r))}));case"separator":return function(e){return $r("separatormenuitem",cg,e)}(e).fold(Yg,(function(e){return z.some(ky(e))}));case"fancymenuitem":return function(e){return $r("fancymenuitem",dA,e)}(e).fold(Yg,(function(e){return function(e,t){return ye(Sy,e.fancytype).map((function(n){return n(e,t)}))}(s(e),n)}));default:return console.error("Unknown item in general menu",e),z.none()}},By=function(e,t,n,r,o,i,a){var s=1===r,l=!s||Zg(e);return _e(H(e,(function(e){switch(e.type){case"separator":return(r=e,$r("Autocompleter.Separator",cg,r)).fold(Yg,(function(e){return z.some(ky(e))}));case"cardmenuitem":return function(e){return $r("cardmenuitem",aA,e)}(e).fold(Yg,(function(e){return z.some(function(e,t,n,r){var o={dom:wv(e.label),optComponents:[z.some({dom:{tag:"div",classes:[Dg,Ig]},components:kv(e.items,r)})]};return fv({data:hv(k({text:z.none()},e)),disabled:e.disabled,getApi:function(e){return{isDisabled:function(){return hf.isDisabled(e)},setDisabled:function(t){hf.set(e,t),W(Cc(e.element,"*"),(function(n){e.getSystem().getByDom(n).each((function(e){e.hasConfigured(hf)&&hf.set(e,t)}))}))}}},onAction:e.onAction,onSetup:e.onSetup,triggersSubmenu:!1,itemBehaviours:z.from(r.itemBehaviours).getOr([])},o,t,n.providers)}(k(k({},e),{onAction:function(t){e.onAction(t),n(e.value,e.meta)}}),o,i,{itemBehaviours:xv(e.meta,i),cardText:{matchText:t,highlightOn:a}}))}));default:return function(e){return $r("Autocompleter.Item",ug,e)}(e).fold(Yg,(function(e){return z.some(function(e,t,n,r,o,i,a,s){void 0===s&&(s=!0);var l=_v({presets:r,textContent:z.none(),htmlContent:n?e.text.map((function(e){return Sv(e,t)})):z.none(),ariaLabel:e.text,iconContent:e.icon,shortcutContent:z.none(),checkMark:z.none(),caret:z.none(),value:e.value},a.providers,s,e.icon);return fv({data:hv(e),disabled:e.disabled,getApi:A({}),onAction:function(t){return o(e.value,e.meta)},onSetup:A(m),triggersSubmenu:!1,itemBehaviours:xv(e.meta,a)},l,i,a.providers)}(e,t,s,"normal",n,o,i,l))}))}var r})))},Qy=function(e,t,n,r,o){var i=Zg(t),a=_e(H(t,(function(e){var t=function(e){return Cy(e,n,r,function(e){return o?!Oe(e,"text"):i}(e),o)};return"nestedmenuitem"===e.type&&e.getSubmenuItems().length<=0?t(k(k({},e),{disabled:!0})):t(e)})));return(o?Gg:Kg)(e,i,a,1,"normal")},Ty=function(e){return fm.singleData(e.value,e)},Ey=function(e,t){var n=Ql(),r=ho(!1),o=za(hm.sketch({dom:{tag:"div",classes:["tox-autocompleter"]},components:[],fireDismissalEventInstead:{},inlineBehaviours:Gs([Sp("dismissAutocompleter",[Bi(di(),(function(){return s()}))])]),lazySink:t.getSink})),i=function(){return n.get().isSome()},a=function(){i()&&hm.hide(o)},s=function(){if(i()){var t=n.get().map((function(e){return e.element}));Jm(t.getOr(Re(e.selection.getNode()))).each(Pn),a(),n.clear(),r.set(!1)}},l=He((function(){return function(e){var t=e.ui.registry.getAll().popups,n=pe(t,(function(e){return(t=e,$r("Autocompleter",dg,t)).fold((function(e){throw new Error(Rr(e))}),v);var t})),r=function(e){var t={};return W(e,(function(e){t[e]={}})),de(t)}(ge(n,(function(e){return e.ch}))),o=ve(n);return{dataset:n,triggerChars:r,lookupByChar:function(e){return j(o,(function(t){return t.ch===e}))}}}(e)})),c=function(u){(function(t){return n.get().map((function(n){return rg(e.dom,e.selection.getRng(),n.triggerChar).bind((function(n){return lg(e,l,n,t)}))})).getOrThunk((function(){return function(e,t){var n=t(),r=e.selection.getRng();return function(e,t,n){return ue(n.triggerChars,(function(n){return rg(e,t,n)}))}(e.dom,r,n).bind((function(n){return lg(e,t,n)}))}(e,l)}))})(u).fold(s,(function(l){!function(t){if(!i()){var o=Km(e,t.range);n.set({triggerChar:t.triggerChar,element:o,matchLength:t.text.length}),r.set(!1)}}(l.context),l.lookupData.then((function(i){n.get().map((function(n){var u,d,f,h=l.context;if(n.triggerChar===h.triggerChar){var p=(u=h.triggerChar,f=ue(d=i,(function(e){return z.from(e.columns)})).getOr(1),J(d,(function(n){var o=n.items;return By(o,n.matchText,(function(t,o){var i=e.selection.getRng();rg(e.dom,i,u).fold((function(){return console.error("Lost context. Cursor probably moved")}),(function(e){var i=e.range,l={hide:function(){s()},reload:function(e){a(),c(e)}};r.set(!0),n.onAction(l,i,t,o),r.set(!1)}))}),f,Cg.BUBBLE_TO_SANDBOX,t,n.highlightOn)})));p.length>0?function(t,n,r,i){t.matchLength=n.text.length;var a=ue(r,(function(e){return z.from(e.columns)})).getOr(1);hm.showAt(o,am.sketch(function(e,t,n,r){var o=n===LA.ContentFocus?Wf():Hf(),i=yy(t,r),a=Ug(r);return{dom:e.dom,components:e.components,items:e.items,value:e.value,markers:{selectedItem:a.selectedItem,item:a.item},movement:i,fakeFocus:n===LA.ContentFocus,focusManager:o,menuBehaviours:gA("auto"!==t?[]:[Ri((function(e,t){mA(e,4,a.item).each((function(t){var n=t.numColumns,r=t.numRows;vp.setGridSize(e,r,n)}))}))])}}(Kg("autocompleter-value",!0,i,a,"normal"),a,LA.ContentFocus,"normal")),{anchor:{type:"node",root:Re(e.getBody()),node:z.from(t.element)}}),hm.getContent(o).each(_f.highlightFirst)}(n,h,i,p):h.text.length-n.matchLength>=10?s():a()}}))}))}))},u={onKeypress:Zm((function(e){27!==e.which&&c()}),50),cancelIfNecessary:s,isMenuOpen:function(){return hm.isOpen(o)},isActive:i,isProcessingAction:r.get,getView:function(){return hm.getContent(o)}};!1===e.hasPlugin("rtc")&&function(e,t){t.on("keypress compositionend",e.onKeypress.throttle),t.on("remove",e.onKeypress.cancel);var n=function(e,t){Oi(e,Do(),{raw:t})};t.on("keydown",(function(t){var r=function(){return e.getView().bind(_f.getHighlighted)};8===t.which&&e.onKeypress.throttle(t),e.isActive()&&(27===t.which&&e.cancelIfNecessary(),e.isMenuOpen()?13===t.which?(r().each(bi),t.preventDefault()):40===t.which?(r().fold((function(){e.getView().each(_f.highlightFirst)}),(function(e){n(e,t)})),t.preventDefault(),t.stopImmediatePropagation()):37!==t.which&&38!==t.which&&39!==t.which||r().each((function(e){n(e,t),t.preventDefault(),t.stopImmediatePropagation()})):13!==t.which&&38!==t.which&&40!==t.which||e.cancelIfNecessary())})),t.on("NodeChange",(function(t){e.isActive()&&!e.isProcessingAction()&&Jm(Re(t.element)).isNone()&&e.cancelIfNecessary()}))}(u,e)},Py=function(e,t,n){return Wa(e,t,n).isSome()},$y=function(e,t){var n=null;return{cancel:function(){null!==n&&(clearTimeout(n),n=null)},schedule:function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];n=setTimeout((function(){e.apply(null,r),n=null}),t)}}},My=function(e){var t=e.raw;return void 0===t.touches||1!==t.touches.length?z.none():z.some(t.touches[0])},zy=function(){return yt().browser.isFirefox()},Ry=function(e,t){var n=k({stopBackspace:!0},t),r=function(e){var t=Ql(),n=ho(!1),r=$y((function(t){e.triggerEvent(ti(),t),n.set(!0)}),400),o=vo([{key:ko(),value:function(e){return My(e).each((function(o){r.cancel();var i={x:o.clientX,y:o.clientY,target:e.target};r.schedule(e),n.set(!1),t.set(i)})),z.none()}},{key:Co(),value:function(e){return r.cancel(),My(e).each((function(e){t.on((function(n){(function(e,t){var n=Math.abs(e.clientX-t.x),r=Math.abs(e.clientY-t.y);return n>5||r>5})(e,n)&&t.clear()}))})),z.none()}},{key:Bo(),value:function(o){return r.cancel(),t.get().filter((function(e){return wt(e.target,o.target)})).map((function(t){return n.get()?(o.prevent(),!1):e.triggerEvent(ei(),o)}))}}]);return{fireIfReady:function(e,t){return ye(o,t).bind((function(t){return t(e)}))}}}(n),o=H(["touchstart","touchmove","touchend","touchcancel","gesturestart","mousedown","mouseup","mouseover","mousemove","mouseout","click"].concat(["selectstart","input","contextmenu","change","transitionend","transitioncancel","drag","dragstart","dragend","dragenter","dragleave","dragover","drop","keyup"]),(function(t){return El(e,t,(function(e){r.fireIfReady(e,t).each((function(t){t&&e.kill()})),n.triggerEvent(t,e)&&e.kill()}))})),i=Ql(),a=El(e,"paste",(function(e){r.fireIfReady(e,"paste").each((function(t){t&&e.kill()})),n.triggerEvent("paste",e)&&e.kill(),i.set(setTimeout((function(){n.triggerEvent(Yo(),e)}),0))})),s=El(e,"keydown",(function(e){n.triggerEvent("keydown",e)?e.kill():n.stopBackspace&&function(e){return e.raw.which===xf[0]&&!L(["input","textarea"],Ie(e.target))&&!Py(e.target,'[contenteditable="true"]')}(e)&&e.prevent()})),l=function(e,t){return zy()?Pl(e,"focus",t):El(e,"focusin",t)}(e,(function(e){n.triggerEvent("focusin",e)&&e.kill()})),c=Ql(),u=function(e,t){return zy()?Pl(e,"blur",t):El(e,"focusout",t)}(e,(function(e){n.triggerEvent("focusout",e)&&e.kill(),c.set(setTimeout((function(){n.triggerEvent(Zo(),e)}),0))}));return{unbind:function(){W(o,(function(e){e.unbind()})),s.unbind(),l.unbind(),u.unbind(),a.unbind(),i.on(clearTimeout),c.on(clearTimeout)}}},Dy=function(e,t){var n=ye(e,"target").getOr(t);return ho(n)},Iy=po([{stopped:[]},{resume:["element"]},{complete:[]}]),Ny=function(e,t,n,r,o,i){var a=e(t,r),s=function(e,t){var n=ho(!1),r=ho(!1);return{stop:function(){n.set(!0)},cut:function(){r.set(!0)},isStopped:n.get,isCut:r.get,event:e,setSource:t.set,getSource:t.get}}(n,o);return a.fold((function(){return i.logEventNoHandlers(t,r),Iy.complete()}),(function(e){var n=e.descHandler;return ha(n)(s),s.isStopped()?(i.logEventStopped(t,e.element,n.purpose),Iy.stopped()):s.isCut()?(i.logEventCut(t,e.element,n.purpose),Iy.complete()):Bt(e.element).fold((function(){return i.logNoParent(t,e.element,n.purpose),Iy.complete()}),(function(r){return i.logEventResponse(t,e.element,n.purpose),Iy.resume(r)}))}))},Ly=function(e,t,n,r,o,i){return Ny(e,t,n,r,o,i).fold(x,(function(r){return Ly(e,t,n,r,o,i)}),_)},Vy=function(e,t,n,r,o){var i=Dy(n,r);return Ly(e,t,n,r,i,o)},Uy=function(){var e,t=(e={},{registerId:function(t,n,r){he(r,(function(r,o){var i=void 0!==e[o]?e[o]:{};i[n]=function(e,t){return{cHandler:O.apply(void 0,[e.handler].concat(t)),purpose:e.purpose}}(r,t),e[o]=i}))},unregisterId:function(t){he(e,(function(e,n){Oe(e,t)&&delete e[t]}))},filterByType:function(t){return ye(e,t).map((function(e){return ge(e,(function(e,t){return function(e,t){return{id:e,descHandler:t}}(t,e)}))})).getOr([])},find:function(t,n,r){return ye(e,n).bind((function(e){return bo(r,(function(t){return function(e,t){return Ji(t).bind((function(t){return ye(e,t)})).map((function(e){return function(e,t){return{element:e,descHandler:t}}(t,e)}))}(e,t)}),t)}))}}),n={},r=function(e){Ji(e.element).each((function(e){delete n[e],t.unregisterId(e)}))};return{find:function(e,n,r){return t.find(e,n,r)},filter:function(e){return t.filterByType(e)},register:function(e){var o=function(e){var t=e.element;return Ji(t).getOrThunk((function(){return function(e,t){var n=ji(Yi+"uid-");return Ki(t,n),n}(0,e.element)}))}(e);be(n,o)&&function(e,t){var o=n[t];if(o!==e)throw new Error('The tagId "'+t+'" is already used by: '+Fi(o.element)+"\nCannot use it for: "+Fi(e.element)+"\nThe conflicting element is"+(Vt(o.element)?" ":" not ")+"already in the DOM");r(e)}(e,o);var i=[e];t.registerId(i,o,e.events),n[o]=e},unregister:r,getById:function(e){return ye(n,e)}}},Fy=jd({name:"Container",factory:function(e){var t=e.dom,n=t.attributes,r=C(t,["attributes"]);return{uid:e.uid,dom:k({tag:"div",attributes:k({role:"presentation"},n)},r),components:e.components,behaviours:ju(e.containerBehaviours),events:e.events,domModification:e.domModification,eventOrder:e.eventOrder}},configFields:[ro("components",[]),Xu("containerBehaviours",[]),ro("events",{}),ro("domModification",{}),ro("eventOrder",{})]}),Hy=function(e){var t=function(t){return Bt(e.element).fold(x,(function(e){return wt(t,e)}))},n=Uy(),r=function(e,r){return n.find(t,e,r)},o=Ry(e.element,{triggerEvent:function(e,t){return Ya(e,t.target,(function(n){return function(e,t,n,r){return Vy(e,t,n,n.target,r)}(r,e,t,n)}))}}),i={debugInfo:A("real"),triggerEvent:function(e,t,n){Ya(e,t,(function(o){return Vy(r,e,n,t,o)}))},triggerFocus:function(e,t){Ji(e).fold((function(){al(e)}),(function(n){Ya(qo(),e,(function(n){return function(e,t,n,r,o){var i=Dy(n,r);Ny(e,t,n,r,i,o)}(r,qo(),{originator:t,kill:m,prevent:m,target:e},e,n),!1}))}))},triggerEscape:function(e,t){i.triggerEvent("keydown",e.element,t.event)},getByUid:function(e){return p(e)},getByDom:function(e){return g(e)},build:za,addToGui:function(e){l(e)},removeFromGui:function(e){c(e)},addToWorld:function(e){a(e)},removeFromWorld:function(e){s(e)},broadcast:function(e){d(e)},broadcastOn:function(e,t){f(e,t)},broadcastEvent:function(e,t){h(e,t)},isConnected:x},a=function(e){e.connect(i),Ve(e.element)||(n.register(e),W(e.components(),a),i.triggerEvent(oi(),e.element,{target:e.element}))},s=function(e){Ve(e.element)||(W(e.components(),s),n.unregister(e)),e.disconnect()},l=function(t){su(e,t)},c=function(e){uu(e)},u=function(e){var t=n.filter(Go());W(t,(function(t){var n=t.descHandler;ha(n)(e)}))},d=function(e){u({universal:!0,data:e})},f=function(e,t){u({universal:!1,channels:e,data:t})},h=function(e,t){return function(e,t){var n=function(e){var t=ho(!1);return{stop:function(){t.set(!0)},cut:m,isStopped:t.get,isCut:_,event:e,setSource:w("Cannot set source of a broadcasted event"),getSource:w("Cannot get source of a broadcasted event")}}(t);return W(e,(function(e){var t=e.descHandler;ha(t)(n)})),n.isStopped()}(n.filter(e),t)},p=function(e){return n.getById(e).fold((function(){return Xn.error(new Error('Could not find component with uid: "'+e+'" in system.'))}),Xn.value)},g=function(e){var t=Ji(e).getOr("not found");return p(t)};return a(e),{root:e,element:e.element,destroy:function(){o.unbind(),En(e.element)},add:l,remove:c,getByUid:p,getByDom:g,addToWorld:a,removeFromWorld:s,broadcast:d,broadcastOn:f,broadcastEvent:h}},Wy=A([ro("prefix","form-field"),Xu("fieldBehaviours",[Kd,Wu])]),Xy=A([bd({schema:[Vr("dom")],name:"label"}),bd({factory:{sketch:function(e){return{uid:e.uid,dom:{tag:"span",styles:{display:"none"},attributes:{"aria-hidden":"true"},innerHtml:e.text}}}},schema:[Vr("text")],name:"aria-descriptor"}),yd({factory:{sketch:function(e){var t=function(e,t){var n={};return he(e,(function(e,r){L(t,r)||(n[r]=e)})),n}(e,["factory"]);return e.factory.sketch(t)}},schema:[Vr("factory")],name:"field"})]),jy=qd({name:"FormField",configFields:Wy(),partFields:Xy(),factory:function(e,t,n,r){var o=qu(e.fieldBehaviours,[Kd.config({find:function(t){return $d(t,e,"field")}}),Wu.config({store:{mode:"manual",getValue:function(e){return Kd.getCurrent(e).bind(Wu.getValue)},setValue:function(e,t){Kd.getCurrent(e).each((function(e){Wu.setValue(e,t)}))}}})]),i=Si([Ri((function(t,n){var r=zd(t,e,["label","field","aria-descriptor"]);r.field().each((function(t){var n=ji(e.prefix);r.label().each((function(e){Wt(e.element,"for",n),Wt(t.element,"id",n)})),r["aria-descriptor"]().each((function(n){var r=ji(e.prefix);Wt(n.element,"id",r),Wt(t.element,"aria-describedby",r)}))}))}))]),a={getField:function(t){return $d(t,e,"field")},getLabel:function(t){return $d(t,e,"label")}};return{uid:e.uid,dom:e.dom,components:t,behaviours:o,events:i,apis:a}},apis:{getField:function(e,t){return e.getField(t)},getLabel:function(e,t){return e.getLabel(t)}}}),qy=Object.freeze({__proto__:null,exhibit:function(e,t){return fa({attributes:vo([{key:t.tabAttr,value:"true"}])})}}),Zy=[ro("tabAttr","data-alloy-tabstop")],Yy=Js({fields:Zy,name:"tabstopping",active:qy}),Gy=tinymce.util.Tools.resolve("tinymce.html.Entities"),Ky=function(e,t,n,r){var o=Jy(e,t,n,r);return jy.sketch(o)},Jy=function(e,t,n,r){return{dom:eO(n),components:e.toArray().concat([t]),fieldBehaviours:Gs(r)}},eO=function(e){return{tag:"div",classes:["tox-form__group"].concat(e)}},tO=function(e,t){return jy.parts.label({dom:{tag:"label",classes:["tox-label"],innerHtml:t.translate(e)}})},nO=ji("form-component-change"),rO=ji("form-close"),oO=ji("form-cancel"),iO=ji("form-action"),aO=ji("form-submit"),sO=ji("form-block"),lO=ji("form-unblock"),cO=ji("form-tabchange"),uO=ji("form-resize"),dO=A([Yr("data"),ro("inputAttributes",{}),ro("inputStyles",{}),ro("tag","input"),ro("inputClasses",[]),is("onSetValue"),ro("styles",{}),ro("eventOrder",{}),Xu("inputBehaviours",[Wu,Tp]),ro("selectOnFocus",!0)]),fO=function(e){return Gs([Tp.config({onFocus:e.selectOnFocus?function(e){var t=e.element,n=Ca(t);t.dom.setSelectionRange(0,n.length)}:m})])},hO=function(e){return k(k({},fO(e)),qu(e.inputBehaviours,[Wu.config({store:k(k({mode:"manual"},e.data.map((function(e){return{initialValue:e}})).getOr({})),{getValue:function(e){return Ca(e.element)},setValue:function(e,t){Ca(e.element)!==t&&Ba(e.element,t)}}),onSetValue:e.onSetValue})]))},pO=function(e){return{tag:e.tag,attributes:k({type:"text"},e.inputAttributes),styles:e.inputStyles,classes:e.inputClasses}},mO=jd({name:"Input",configFields:dO(),factory:function(e,t){return{uid:e.uid,dom:pO(e),components:[],behaviours:hO(e),eventOrder:e.eventOrder}}}),gO={},AO={exports:gO};!function(e,t,r){!function(e,n){"object"==typeof t&&void 0!==r?r.exports=n():(e="undefined"!=typeof globalThis?globalThis:e||self).EphoxContactWrapper=n()}(this,(function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},t={exports:{}};!function(t){!function(e){var n=setTimeout;function r(){}function o(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],u(e,this)}function i(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,o._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void s(t.promise,e)}a(t.promise,r)}else(1===e._state?a:s)(t.promise,e._value)}))):e._deferreds.push(t)}function a(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof o)return e._state=3,e._value=t,void l(e);if("function"==typeof n)return void u((r=n,i=t,function(){r.apply(i,arguments)}),e)}e._state=1,e._value=t,l(e)}catch(t){s(e,t)}var r,i}function s(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&o._immediateFn((function(){e._handled||o._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)i(e,e._deferreds[t]);e._deferreds=null}function c(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function u(e,t){var n=!1;try{e((function(e){n||(n=!0,a(t,e))}),(function(e){n||(n=!0,s(t,e))}))}catch(e){if(n)return;n=!0,s(t,e)}}o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(e,t){var n=new this.constructor(r);return i(this,new c(e,t,n)),n},o.all=function(e){var t=Array.prototype.slice.call(e);return new o((function(e,n){if(0===t.length)return e([]);var r=t.length;function o(i,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(e){o(i,e)}),n)}t[i]=a,0==--r&&e(t)}catch(e){n(e)}}for(var i=0;i<t.length;i++)o(i,t[i])}))},o.resolve=function(e){return e&&"object"==typeof e&&e.constructor===o?e:new o((function(t){t(e)}))},o.reject=function(e){return new o((function(t,n){n(e)}))},o.race=function(e){return new o((function(t,n){for(var r=0,o=e.length;r<o;r++)e[r].then(t,n)}))},o._immediateFn="function"==typeof setImmediate?function(e){setImmediate(e)}:function(e){n(e,0)},o._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},o._setImmediateFn=function(e){o._immediateFn=e},o._setUnhandledRejectionFn=function(e){o._unhandledRejectionFn=e},t.exports?t.exports=o:e.Promise||(e.Promise=o)}(e)}(t);var r=t.exports;return{boltExport:("undefined"!=typeof window?window:Function("return this;")()).Promise||r}}))}(0,gO,AO);var vO,yO=AO.exports.boltExport,OO=function(e){var t=z.none(),n=[],r=function(e){o()?i(e):n.push(e)},o=function(){return t.isSome()},i=function(e){t.each((function(t){setTimeout((function(){e(t)}),0)}))};return e((function(e){o()||(t=z.some(e),W(n,i),n=[])})),{get:r,map:function(e){return OO((function(t){r((function(n){t(e(n))}))}))},isReady:o}},bO={nu:OO,pure:function(e){return OO((function(t){t(e)}))}},wO=function(e){setTimeout((function(){throw e}),0)},_O=function(e){var t=function(t){e().then(t,wO)};return{map:function(t){return _O((function(){return e().then(t)}))},bind:function(t){return _O((function(){return e().then((function(e){return t(e).toPromise()}))}))},anonBind:function(t){return _O((function(){return e().then((function(){return t.toPromise()}))}))},toLazy:function(){return bO.nu(t)},toCached:function(){var t=null;return _O((function(){return null===t&&(t=e()),t}))},toPromise:e,get:t}},xO=function(e){return _O((function(){return new yO(e)}))},SO=function(e){return _O((function(){return yO.resolve(e)}))},kO=["input","textarea"],CO=function(e){var t=Ie(e);return L(kO,t)},BO=function(e,t){var n=t.getRoot(e).getOr(e.element);_a(n,t.invalidClass),t.notify.each((function(t){CO(e.element)&&Wt(e.element,"aria-invalid",!1),t.getContainer(e).each((function(e){Vi(e,t.validHtml)})),t.onValid(e)}))},QO=function(e,t,n,r){var o=t.getRoot(e).getOr(e.element);wa(o,t.invalidClass),t.notify.each((function(t){CO(e.element)&&Wt(e.element,"aria-invalid",!0),t.getContainer(e).each((function(e){Vi(e,r)})),t.onInvalid(e,r)}))},TO=function(e,t,n){return t.validator.fold((function(){return SO(Xn.value(!0))}),(function(t){return t.validate(e)}))},EO=function(e,t,n){return t.notify.each((function(t){t.onValidate(e)})),TO(e,t).map((function(n){return e.getSystem().isConnected()?n.fold((function(n){return QO(e,t,0,n),Xn.error(n)}),(function(n){return BO(e,t),Xn.value(n)})):Xn.error("No longer in system")}))},PO=Object.freeze({__proto__:null,markValid:BO,markInvalid:QO,query:TO,run:EO,isInvalid:function(e,t){var n=t.getRoot(e).getOr(e.element);return xa(n,t.invalidClass)}}),$O=Object.freeze({__proto__:null,events:function(e,t){return e.validator.map((function(t){return Si([Bi(t.onEvent,(function(t){EO(t,e).get(v)}))].concat(t.validateOnLoad?[Ri((function(t){EO(t,e).get(m)}))]:[]))})).getOr({})}}),MO=[Vr("invalidClass"),ro("getRoot",z.none),no("notify",[ro("aria","alert"),ro("getContainer",z.none),ro("validHtml",""),is("onValid"),is("onInvalid"),is("onValidate")]),no("validator",[Vr("validate"),ro("onEvent","input"),ro("validateOnLoad",!0)])],zO=Js({fields:MO,name:"invalidating",active:$O,apis:PO,extra:{validation:function(e){return function(t){var n=Wu.getValue(t);return SO(e(n))}}}}),RO=Object.freeze({__proto__:null,getCoupled:function(e,t,n,r){return n.getOrCreate(e,t,r)}}),DO=[Ur("others",Pr(Xn.value,wr()))],IO=Object.freeze({__proto__:null,init:function(){var e={},t=A({});return ua({readState:t,getOrCreate:function(t,n,r){var o=de(n.others);if(o)return ye(e,r).getOrThunk((function(){var o=ye(n.others,r).getOrDie("No information found for coupled component: "+r)(t),i=t.getSystem().build(o);return e[r]=i,i}));throw new Error("Cannot find coupled component: "+r+". Known coupled components: "+JSON.stringify(o,null,2))}})}}),NO=Js({fields:DO,name:"coupling",apis:RO,state:IO}),LO=A("sink"),VO=A(bd({name:LO(),overrides:A({dom:{tag:"div"},behaviours:Gs([nu.config({useFixed:x})]),events:Si([$i(Do()),$i(To()),$i(Vo())])})}));!function(e){e[e.HighlightFirst=0]="HighlightFirst",e[e.HighlightNone=1]="HighlightNone"}(vO||(vO={}));var UO,FO,HO,WO=function(e,t){var n=e.getHotspot(t).getOr(t),r="hotspot",o=e.getAnchorOverrides();return e.layouts.fold((function(){return{type:r,hotspot:n,overrides:o}}),(function(e){return{type:r,hotspot:n,overrides:o,layouts:e}}))},XO=function(e,t,n,r,o,i,a){var s=function(e,t,n,r,o,i,a){var s=function(e,t,n){return(0,e.fetch)(n).map(t)}(e,t,r),l=ZO(r,e);return s.map((function(e){return e.bind((function(e){return z.from(fm.sketch(k(k({},i.menu()),{uid:ea(""),data:e,highlightImmediately:a===vO.HighlightFirst,onOpenMenu:function(e,t){var r=l().getOrDie();nu.position(r,t,{anchor:n}),Su.decloak(o)},onOpenSubmenu:function(e,t,n){var r=l().getOrDie();nu.position(r,n,{anchor:{type:"submenu",item:t}}),Su.decloak(o)},onRepositionMenu:function(e,t,r){var o=l().getOrDie();nu.position(o,t,{anchor:n}),W(r,(function(e){nu.position(o,e.triggeredMenu,{anchor:{type:"submenu",item:e.triggeringItem}})}))},onEscape:function(){return Tp.focus(r),Su.close(o),z.some(!0)}})))}))}))}(e,t,WO(e,n),n,r,o,a);return s.map((function(e){return e.fold((function(){Su.isOpen(r)&&Su.close(r)}),(function(e){Su.cloak(r),Su.open(r,e),i(r)})),r}))},jO=function(e,t,n,r,o,i,a){return Su.close(r),SO(r)},qO=function(e,t,n,r,o,i){var a=NO.getCoupled(n,"sandbox");return(Su.isOpen(a)?jO:XO)(e,t,n,a,r,o,i)},ZO=function(e,t){return e.getSystem().getByUid(t.uid+"-"+LO()).map((function(e){return function(){return Xn.value(e)}})).getOrThunk((function(){return t.lazySink.fold((function(){return function(){return Xn.error(new Error("No internal sink is specified, nor could an external sink be found"))}}),(function(t){return function(){return t(e)}}))}))},YO=function(e){Su.getState(e).each((function(e){fm.repositionMenus(e)}))},GO=function(e,t,n){var r=Xa(),o=ZO(t,e);return{dom:{tag:"div",classes:e.sandboxClasses,attributes:{id:r.id,role:"listbox"}},behaviours:Yu(e.sandboxBehaviours,[Wu.config({store:{mode:"memory",initialValue:t}}),Su.config({onOpen:function(o,i){var a=WO(e,t);r.link(t.element),e.matchWidth&&function(e,t,n){var r=Kd.getCurrent(t).getOr(t),o=On(e.element);n?Jt(r.element,"min-width",o+"px"):function(e,t){yn.set(e,t)}(r.element,o)}(a.hotspot,i,e.useMinWidth),e.onOpen(a,o,i),void 0!==n&&void 0!==n.onOpen&&n.onOpen(o,i)},onClose:function(e,o){r.unlink(t.element),void 0!==n&&void 0!==n.onClose&&n.onClose(e,o)},isPartOf:function(e,n,r){return ja(n,r)||ja(t,r)},getAttachPoint:function(){return o().getOrDie()}}),Kd.config({find:function(e){return Su.getState(e).bind((function(e){return Kd.getCurrent(e)}))}}),rl.config({channels:k(k({},Tu({isExtraPart:_})),Pu({doReposition:YO}))})])}},KO=function(e){var t=NO.getCoupled(e,"sandbox");YO(t)},JO=function(){return[ro("sandboxClasses",[]),Zu("sandboxBehaviours",[Kd,rl,Su,Wu])]},eb=A([Vr("dom"),Vr("fetch"),is("onOpen"),as("onExecute"),ro("getHotspot",z.some),ro("getAnchorOverrides",A({})),Yl(),Xu("dropdownBehaviours",[Up,NO,vp,Tp]),Vr("toggleClass"),ro("eventOrder",{}),Yr("lazySink"),ro("matchWidth",!1),ro("useMinWidth",!1),Yr("role")].concat(JO())),tb=A([Od({schema:[ns()],name:"menu",defaults:function(e){return{onExecute:e.onExecute}}}),VO()]),nb=qd({name:"Dropdown",configFields:eb(),partFields:tb(),factory:function(e,t,n,r){var o,i=function(e){Su.getState(e).each((function(e){fm.highlightPrimary(e)}))},a={expand:function(t){Up.isOn(t)||qO(e,v,t,r,m,vO.HighlightNone).get(m)},open:function(t){Up.isOn(t)||qO(e,v,t,r,m,vO.HighlightFirst).get(m)},isOpen:Up.isOn,close:function(t){Up.isOn(t)&&qO(e,v,t,r,m,vO.HighlightFirst).get(m)},repositionMenus:function(e){Up.isOn(e)&&KO(e)}},s=function(e,t){return bi(e),z.some(!0)};return{uid:e.uid,dom:e.dom,components:t,behaviours:qu(e.dropdownBehaviours,[Up.config({toggleClass:e.toggleClass,aria:{mode:"expanded"}}),NO.config({others:{sandbox:function(t){return GO(e,t,{onOpen:function(){return Up.on(t)},onClose:function(){return Up.off(t)}})}}}),vp.config({mode:"special",onSpace:s,onEnter:s,onDown:function(e,t){if(nb.isOpen(e)){var n=NO.getCoupled(e,"sandbox");i(n)}else nb.open(e);return z.some(!0)},onEscape:function(e,t){return nb.isOpen(e)?(nb.close(e),z.some(!0)):z.none()}}),Tp.config({})]),events:Hp(z.some((function(t){qO(e,v,t,r,i,vO.HighlightFirst).get(m)}))),eventOrder:k(k({},e.eventOrder),(o={},o[Ko()]=["disabling","toggling","alloy.base.behaviour"],o)),apis:a,domModification:{attributes:k(k({"aria-haspopup":"true"},e.role.fold((function(){return{}}),(function(e){return{role:e}}))),"button"===e.dom.tag?{type:ye(e.dom,"attributes").bind((function(e){return ye(e,"type")})).getOr("button")}:{})}}},apis:{open:function(e,t){return e.open(t)},expand:function(e,t){return e.expand(t)},close:function(e,t){return e.close(t)},isOpen:function(e,t){return e.isOpen(t)},repositionMenus:function(e,t){return e.repositionMenus(t)}}}),rb=Object.freeze({__proto__:null,events:function(){return Si([ki(Wo(),x)])},exhibit:function(){return fa({styles:{"-webkit-user-select":"none","user-select":"none","-ms-user-select":"none","-moz-user-select":"-moz-none"},attributes:{unselectable:"on"}})}}),ob=Js({fields:[],name:"unselecting",active:rb}),ib=ji("color-input-change"),ab=ji("color-swatch-change"),sb=ji("color-picker-cancel"),lb=bd({schema:[Vr("dom")],name:"label"}),cb=function(e){return bd({name:e+"-edge",overrides:function(t){return t.model.manager.edgeActions[e].fold((function(){return{}}),(function(e){return{events:Si([Qi(ko(),(function(t,n,r){return e(t,r)}),[t]),Qi(To(),(function(t,n,r){return e(t,r)}),[t]),Qi(Eo(),(function(t,n,r){r.mouseIsDown.get()&&e(t,r)}),[t])])}}))}})},ub=cb("top-left"),db=cb("top"),fb=cb("top-right"),hb=cb("right"),pb=cb("bottom-right"),mb=cb("bottom"),gb=cb("bottom-left"),Ab=cb("left"),vb=yd({name:"thumb",defaults:A({dom:{styles:{position:"absolute"}}}),overrides:function(e){return{events:Si([Ei(ko(),e,"spectrum"),Ei(Co(),e,"spectrum"),Ei(Bo(),e,"spectrum"),Ei(To(),e,"spectrum"),Ei(Eo(),e,"spectrum"),Ei($o(),e,"spectrum")])}}}),yb=yd({schema:[Nr("mouseIsDown",(function(){return ho(!1)}))],name:"spectrum",overrides:function(e){var t=e.model.manager,n=function(n,r){return t.getValueFromEvent(r).map((function(r){return t.setValueFrom(n,e,r)}))};return{behaviours:Gs([vp.config({mode:"special",onLeft:function(n){return t.onLeft(n,e)},onRight:function(n){return t.onRight(n,e)},onUp:function(n){return t.onUp(n,e)},onDown:function(n){return t.onDown(n,e)}}),Tp.config({})]),events:Si([Bi(ko(),n),Bi(Co(),n),Bi(To(),n),Bi(Eo(),(function(t,r){e.mouseIsDown.get()&&n(t,r)}))])}}}),Ob=[lb,Ab,hb,db,mb,ub,fb,gb,pb,vb,yb],bb=A("slider.change.value"),wb=function(e){var t=e.event.raw;if(function(e){return-1!==e.type.indexOf("touch")}(t)){var n=t;return void 0!==n.touches&&1===n.touches.length?z.some(n.touches[0]).map((function(e){return mn(e.clientX,e.clientY)})):z.none()}var r=t;return void 0!==r.clientX?z.some(r).map((function(e){return mn(e.clientX,e.clientY)})):z.none()},_b=function(e){return e.model.minX},xb=function(e){return e.model.minY},Sb=function(e){return e.model.minX-1},kb=function(e){return e.model.minY-1},Cb=function(e){return e.model.maxX},Bb=function(e){return e.model.maxY},Qb=function(e){return e.model.maxX+1},Tb=function(e){return e.model.maxY+1},Eb=function(e,t,n){return t(e)-n(e)},Pb=function(e){return Eb(e,Cb,_b)},$b=function(e){return Eb(e,Bb,xb)},Mb=function(e){return Pb(e)/2},zb=function(e){return $b(e)/2},Rb=function(e){return e.stepSize},Db=function(e){return e.snapToGrid},Ib=function(e){return e.snapStart},Nb=function(e){return e.rounded},Lb=function(e,t){return void 0!==e[t+"-edge"]},Vb=function(e){return Lb(e,"left")},Ub=function(e){return Lb(e,"right")},Fb=function(e){return Lb(e,"top")},Hb=function(e){return Lb(e,"bottom")},Wb=function(e){return e.model.value.get()},Xb=function(e){return{x:e}},jb=function(e){return{y:e}},qb=function(e,t){return{x:e,y:t}},Zb=function(e,t){Oi(e,bb(),{value:t})},Yb=function(e,t,n,r){return e<t?e:e>n?n:e===t?t-1:Math.max(t,e-r)},Gb=function(e,t,n,r){return e>n?e:e<t?t:e===n?n+1:Math.min(n,e+r)},Kb=function(e,t,n){return Math.max(t,Math.min(n,e))},Jb=function(e){var t=e.min,n=e.max,r=e.range,o=e.value,i=e.step,a=e.snap,s=e.snapStart,l=e.rounded,c=e.hasMinEdge,u=e.hasMaxEdge,d=e.minBound,f=e.maxBound,h=e.screenRange,p=c?t-1:t,m=u?n+1:n;if(o<d)return p;if(o>f)return m;var g=function(e,t,n){return Math.min(n,Math.max(e,t))-t}(o,d,f),A=Kb(g/h*r+t,p,m);return a&&A>=t&&A<=n?function(e,t,n,r,o){return o.fold((function(){var o=e-t,i=Math.round(o/r)*r;return Kb(t+i,t-1,n+1)}),(function(t){var o=(e-t)%r,i=Math.round(o/r),a=Math.floor((e-t)/r),s=Math.floor((n-t)/r),l=t+Math.min(s,a+i)*r;return Math.max(t,l)}))}(A,t,n,i,s):l?Math.round(A):A},ew=function(e){var t=e.min,n=e.max,r=e.range,o=e.value,i=e.hasMinEdge,a=e.hasMaxEdge,s=e.maxBound,l=e.maxOffset,c=e.centerMinEdge,u=e.centerMaxEdge;return o<t?i?0:c:o>n?a?s:u:(o-t)/r*l},tw="top",nw="right",rw="bottom",ow="left",iw=function(e){return e.element.dom.getBoundingClientRect()},aw=function(e,t){return e[t]},sw=function(e){var t=iw(e);return aw(t,ow)},lw=function(e){var t=iw(e);return aw(t,nw)},cw=function(e){var t=iw(e);return aw(t,tw)},uw=function(e){var t=iw(e);return aw(t,rw)},dw=function(e){var t=iw(e);return aw(t,"width")},fw=function(e){var t=iw(e);return aw(t,"height")},hw=function(e,t,n){return(e+t)/2-n},pw=function(e,t){var n=iw(e),r=iw(t),o=aw(n,ow),i=aw(n,nw),a=aw(r,ow);return hw(o,i,a)},mw=function(e,t){var n=iw(e),r=iw(t),o=aw(n,tw),i=aw(n,rw),a=aw(r,tw);return hw(o,i,a)},gw=function(e,t){Oi(e,bb(),{value:t})},Aw=function(e){return{x:e}},vw=function(e,t,n){var r={min:_b(t),max:Cb(t),range:Pb(t),value:n,step:Rb(t),snap:Db(t),snapStart:Ib(t),rounded:Nb(t),hasMinEdge:Vb(t),hasMaxEdge:Ub(t),minBound:sw(e),maxBound:lw(e),screenRange:dw(e)};return Jb(r)},yw=function(e){return function(t,n){return function(e,t,n){var r=(e>0?Gb:Yb)(Wb(n).x,_b(n),Cb(n),Rb(n));return gw(t,Aw(r)),z.some(r)}(e,t,n).map(x)}},Ow=function(e,t,n,r,o,i){var a=function(e,t,n,r,o){var i=dw(e),a=r.bind((function(t){return z.some(pw(t,e))})).getOr(0),s=o.bind((function(t){return z.some(pw(t,e))})).getOr(i),l={min:_b(t),max:Cb(t),range:Pb(t),value:n,hasMinEdge:Vb(t),hasMaxEdge:Ub(t),minBound:sw(e),minOffset:0,maxBound:lw(e),maxOffset:i,centerMinEdge:a,centerMaxEdge:s};return ew(l)}(t,i,n,r,o);return sw(t)-sw(e)+a},bw=yw(-1),ww=yw(1),_w=z.none,xw=z.none,Sw={"top-left":z.none(),top:z.none(),"top-right":z.none(),right:z.some((function(e,t){Zb(e,Xb(Qb(t)))})),"bottom-right":z.none(),bottom:z.none(),"bottom-left":z.none(),left:z.some((function(e,t){Zb(e,Xb(Sb(t)))}))},kw=Object.freeze({__proto__:null,setValueFrom:function(e,t,n){var r=vw(e,t,n),o=Aw(r);return gw(e,o),r},setToMin:function(e,t){var n=_b(t);gw(e,Aw(n))},setToMax:function(e,t){var n=Cb(t);gw(e,Aw(n))},findValueOfOffset:vw,getValueFromEvent:function(e){return wb(e).map((function(e){return e.left}))},findPositionOfValue:Ow,setPositionFromValue:function(e,t,n,r){var o=Wb(n),i=Ow(e,r.getSpectrum(e),o.x,r.getLeftEdge(e),r.getRightEdge(e),n),a=On(t.element)/2;Jt(t.element,"left",i-a+"px")},onLeft:bw,onRight:ww,onUp:_w,onDown:xw,edgeActions:Sw}),Cw=function(e,t){Oi(e,bb(),{value:t})},Bw=function(e){return{y:e}},Qw=function(e,t,n){var r={min:xb(t),max:Bb(t),range:$b(t),value:n,step:Rb(t),snap:Db(t),snapStart:Ib(t),rounded:Nb(t),hasMinEdge:Fb(t),hasMaxEdge:Hb(t),minBound:cw(e),maxBound:uw(e),screenRange:fw(e)};return Jb(r)},Tw=function(e){return function(t,n){return function(e,t,n){var r=(e>0?Gb:Yb)(Wb(n).y,xb(n),Bb(n),Rb(n));return Cw(t,Bw(r)),z.some(r)}(e,t,n).map(x)}},Ew=function(e,t,n,r,o,i){var a=function(e,t,n,r,o){var i=fw(e),a=r.bind((function(t){return z.some(mw(t,e))})).getOr(0),s=o.bind((function(t){return z.some(mw(t,e))})).getOr(i),l={min:xb(t),max:Bb(t),range:$b(t),value:n,hasMinEdge:Fb(t),hasMaxEdge:Hb(t),minBound:cw(e),minOffset:0,maxBound:uw(e),maxOffset:i,centerMinEdge:a,centerMaxEdge:s};return ew(l)}(t,i,n,r,o);return cw(t)-cw(e)+a},Pw=z.none,$w=z.none,Mw=Tw(-1),zw=Tw(1),Rw={"top-left":z.none(),top:z.some((function(e,t){Zb(e,jb(kb(t)))})),"top-right":z.none(),right:z.none(),"bottom-right":z.none(),bottom:z.some((function(e,t){Zb(e,jb(Tb(t)))})),"bottom-left":z.none(),left:z.none()},Dw=Object.freeze({__proto__:null,setValueFrom:function(e,t,n){var r=Qw(e,t,n),o=Bw(r);return Cw(e,o),r},setToMin:function(e,t){var n=xb(t);Cw(e,Bw(n))},setToMax:function(e,t){var n=Bb(t);Cw(e,Bw(n))},findValueOfOffset:Qw,getValueFromEvent:function(e){return wb(e).map((function(e){return e.top}))},findPositionOfValue:Ew,setPositionFromValue:function(e,t,n,r){var o=Wb(n),i=Ew(e,r.getSpectrum(e),o.y,r.getTopEdge(e),r.getBottomEdge(e),n),a=fn(t.element)/2;Jt(t.element,"top",i-a+"px")},onLeft:Pw,onRight:$w,onUp:Mw,onDown:zw,edgeActions:Rw}),Iw=function(e,t){Oi(e,bb(),{value:t})},Nw=function(e,t){return{x:e,y:t}},Lw=function(e,t){return function(n,r){return function(e,t,n,r){var o=e>0?Gb:Yb,i=t?Wb(r).x:o(Wb(r).x,_b(r),Cb(r),Rb(r)),a=t?o(Wb(r).y,xb(r),Bb(r),Rb(r)):Wb(r).y;return Iw(n,Nw(i,a)),z.some(i)}(e,t,n,r).map(x)}},Vw=Lw(-1,!1),Uw=Lw(1,!1),Fw=Lw(-1,!0),Hw=Lw(1,!0),Ww={"top-left":z.some((function(e,t){Zb(e,qb(Sb(t),kb(t)))})),top:z.some((function(e,t){Zb(e,qb(Mb(t),kb(t)))})),"top-right":z.some((function(e,t){Zb(e,qb(Qb(t),kb(t)))})),right:z.some((function(e,t){Zb(e,qb(Qb(t),zb(t)))})),"bottom-right":z.some((function(e,t){Zb(e,qb(Qb(t),Tb(t)))})),bottom:z.some((function(e,t){Zb(e,qb(Mb(t),Tb(t)))})),"bottom-left":z.some((function(e,t){Zb(e,qb(Sb(t),Tb(t)))})),left:z.some((function(e,t){Zb(e,qb(Sb(t),zb(t)))}))},Xw=Object.freeze({__proto__:null,setValueFrom:function(e,t,n){var r=vw(e,t,n.left),o=Qw(e,t,n.top),i=Nw(r,o);return Iw(e,i),i},setToMin:function(e,t){var n=_b(t),r=xb(t);Iw(e,Nw(n,r))},setToMax:function(e,t){var n=Cb(t),r=Bb(t);Iw(e,Nw(n,r))},getValueFromEvent:function(e){return wb(e)},setPositionFromValue:function(e,t,n,r){var o=Wb(n),i=Ow(e,r.getSpectrum(e),o.x,r.getLeftEdge(e),r.getRightEdge(e),n),a=Ew(e,r.getSpectrum(e),o.y,r.getTopEdge(e),r.getBottomEdge(e),n),s=On(t.element)/2,l=fn(t.element)/2;Jt(t.element,"left",i-s+"px"),Jt(t.element,"top",a-l+"px")},onLeft:Vw,onRight:Uw,onUp:Fw,onDown:Hw,edgeActions:Ww}),jw=qd({name:"Slider",configFields:[ro("stepSize",1),ro("onChange",m),ro("onChoose",m),ro("onInit",m),ro("onDragStart",m),ro("onDragEnd",m),ro("snapToGrid",!1),ro("rounded",!0),Yr("snapStart"),Ur("model",Dr("mode",{x:[ro("minX",0),ro("maxX",100),Nr("value",(function(e){return ho(e.mode.minX)})),Vr("getInitialValue"),cs("manager",kw)],y:[ro("minY",0),ro("maxY",100),Nr("value",(function(e){return ho(e.mode.minY)})),Vr("getInitialValue"),cs("manager",Dw)],xy:[ro("minX",0),ro("maxX",100),ro("minY",0),ro("maxY",100),Nr("value",(function(e){return ho({x:e.mode.minX,y:e.mode.minY})})),Vr("getInitialValue"),cs("manager",Xw)]})),Xu("sliderBehaviours",[vp,Wu]),Nr("mouseIsDown",(function(){return ho(!1)}))],partFields:Ob,factory:function(e,t,n,r){var o,i=function(t){return Md(t,e,"thumb")},a=function(t){return Md(t,e,"spectrum")},s=function(t){return $d(t,e,"left-edge")},l=function(t){return $d(t,e,"right-edge")},c=function(t){return $d(t,e,"top-edge")},u=function(t){return $d(t,e,"bottom-edge")},d=e.model,f=d.manager,h=function(t,n){f.setPositionFromValue(t,n,e,{getLeftEdge:s,getRightEdge:l,getTopEdge:c,getBottomEdge:u,getSpectrum:a})},p=function(e,t){d.value.set(t);var n=i(e);h(e,n)},m=function(t){var n=e.mouseIsDown.get();e.mouseIsDown.set(!1),n&&$d(t,e,"thumb").each((function(n){var r=d.value.get();e.onChoose(t,n,r)}))},g=function(t,n){n.stop(),e.mouseIsDown.set(!0),e.onDragStart(t,i(t))},A=function(t,n){n.stop(),e.onDragEnd(t,i(t)),m(t)};return{uid:e.uid,dom:e.dom,components:t,behaviours:qu(e.sliderBehaviours,[vp.config({mode:"special",focusIn:function(t){return $d(t,e,"spectrum").map(vp.focusIn).map(x)}}),Wu.config({store:{mode:"manual",getValue:function(e){return d.value.get()}}}),rl.config({channels:(o={},o[Bu()]={onReceive:m},o)})]),events:Si([Bi(bb(),(function(t,n){!function(t,n){p(t,n);var r=i(t);e.onChange(t,r,n),z.some(!0)}(t,n.event.value)})),Ri((function(t,n){var r=d.getInitialValue();d.value.set(r);var o=i(t);h(t,o);var s=a(t);e.onInit(t,o,s,d.value.get())})),Bi(ko(),g),Bi(Bo(),A),Bi(To(),g),Bi($o(),A)]),apis:{resetToMin:function(t){f.setToMin(t,e)},resetToMax:function(t){f.setToMax(t,e)},setValue:p,refresh:h},domModification:{styles:{position:"relative"}}}},apis:{setValue:function(e,t,n){e.setValue(t,n)},resetToMin:function(e,t){e.resetToMin(t)},resetToMax:function(e,t){e.resetToMax(t)},refresh:function(e,t){e.refresh(t)}}}),qw=ji("rgb-hex-update"),Zw=ji("slider-update"),Yw=ji("palette-update"),Gw="form",Kw=[Xu("formBehaviours",[Wu])],Jw=function(e){return"<alloy.field."+e+">"},e_=function(e,t){return{uid:e.uid,dom:e.dom,components:t,behaviours:qu(e.formBehaviours,[Wu.config({store:{mode:"manual",getValue:function(t){var n=Rd(t,e);return pe(n,(function(e,t){return e().bind((function(e){var n,r;return n=Kd.getCurrent(e),r=new Error("Cannot find a current component to extract the value from for form part '"+t+"': "+Fi(e.element)),n.fold((function(){return Xn.error(r)}),Xn.value)})).map(Wu.getValue)}))},setValue:function(t,n){he(n,(function(n,r){$d(t,e,r).each((function(e){Kd.getCurrent(e).each((function(e){Wu.setValue(e,n)}))}))}))}}})]),apis:{getField:function(t,n){return $d(t,e,n).bind(Kd.getCurrent)}}}},t_={getField:la((function(e,t,n){return e.getField(t,n)})),sketch:function(e){var t=function(){var e=[];return{field:function(t,n){return e.push(t),Bd(Gw,Jw(t),n)},record:A(e)}}(),n=e(t),r=t.record(),o=H(r,(function(e){return yd({name:e,pname:Jw(e)})}));return Fd(Gw,Kw,o,e_,n)}},n_=ji("valid-input"),r_=ji("invalid-input"),o_=ji("validating-input"),i_="colorcustom.rgb.",a_=function(e,t,n,r){var o=function(n,r){return zO.config({invalidClass:t("invalid"),notify:{onValidate:function(e){Oi(e,o_,{type:n})},onValid:function(e){Oi(e,n_,{type:n,value:Wu.getValue(e)})},onInvalid:function(e){Oi(e,r_,{type:n,value:Wu.getValue(e)})}},validator:{validate:function(t){var n=Wu.getValue(t),o=r(n)?Xn.value(!0):Xn.error(e("aria.input.invalid"));return SO(o)},validateOnLoad:!1}})},i=function(n,r,i,a,s){var l=e(i_+"range"),c=jy.parts.label({dom:{tag:"label",innerHtml:i,attributes:{"aria-label":a}}}),u=jy.parts.field({data:s,factory:mO,inputAttributes:k({type:"text"},"hex"===r?{"aria-live":"polite"}:{}),inputClasses:[t("textfield")],inputBehaviours:Gs([o(r,n),Yy.config({})]),onSetValue:function(e){zO.isInvalid(e)&&zO.run(e).get(m)}}),d=[c,u],f="hex"!==r?[jy.parts["aria-descriptor"]({text:l})]:[];return{dom:{tag:"div",attributes:{role:"presentation"}},components:d.concat(f)}},a=function(e,t){var n=t.red,r=t.green,o=t.blue;Wu.setValue(e,{red:n,green:r,blue:o})},s=zm({dom:{tag:"div",classes:[t("rgba-preview")],styles:{"background-color":"white"},attributes:{role:"presentation"}}}),l=function(e,t){s.getOpt(e).each((function(e){Jt(e.element,"background-color","#"+t.value)}))},c=jd({factory:function(){var o={red:ho(z.some(255)),green:ho(z.some(255)),blue:ho(z.some(255)),hex:ho(z.some("ffffff"))},c=function(e){return o[e].get()},u=function(e,t){o[e].set(t)},d=function(e){var t=e.red,n=e.green,r=e.blue;u("red",z.some(t)),u("green",z.some(n)),u("blue",z.some(r))},f=function(e,t){var n=t.event;"hex"!==n.type?u(n.type,z.none()):r(e)},h=function(e,t){var r=t.event;!function(e){return"hex"===e.type}(r)?function(e,t,n){var r=parseInt(n,10);u(t,z.some(r)),c("red").bind((function(e){return c("green").bind((function(t){return c("blue").map((function(n){return Lv(e,t,n,1)}))}))})).each((function(t){var n=function(e,t){var n=Mv(t);return t_.getField(e,"hex").each((function(t){Tp.isFocused(t)||Wu.setValue(e,{hex:n.value})})),n}(e,t);Oi(e,qw,{hex:n}),l(e,n)}))}(e,r.type,r.value):function(e,t){n(e);var r=Bv(t);u("hex",z.some(t));var o=Fv(r);a(e,o),d(o),Oi(e,qw,{hex:r}),l(e,r)}(e,r.value)},p=function(t){return{label:e(i_+t+".label"),description:e(i_+t+".description")}},m=p("red"),g=p("green"),A=p("blue"),v=p("hex");return nr(t_.sketch((function(n){return{dom:{tag:"form",classes:[t("rgb-form")],attributes:{"aria-label":e("aria.color.picker")}},components:[n.field("red",jy.sketch(i(Vv,"red",m.label,m.description,255))),n.field("green",jy.sketch(i(Vv,"green",g.label,g.description,255))),n.field("blue",jy.sketch(i(Vv,"blue",A.label,A.description,255))),n.field("hex",jy.sketch(i(Ev,"hex",v.label,v.description,"ffffff"))),s.asSpec()],formBehaviours:Gs([zO.config({invalidClass:t("form-invalid")}),Sp("rgb-form-events",[Bi(n_,h),Bi(r_,f),Bi(o_,f)])])}})),{apis:{updateHex:function(e,t){Wu.setValue(e,{hex:t.value}),function(e,t){var n=Fv(t);a(e,n),d(n)}(e,t),l(e,t)}}})},name:"RgbForm",configFields:[],apis:{updateHex:function(e,t,n){e.updateHex(t,n)}},extraApis:{}});return c},s_=function(e,t){var n=jd({name:"ColourPicker",configFields:[Vr("dom"),ro("onValidHex",m),ro("onInvalidHex",m)],factory:function(n){var r,o=a_(e,t,n.onValidHex,n.onInvalidHex),i=function(e,t){var n=jw.parts.spectrum({dom:{tag:"canvas",attributes:{role:"presentation"},classes:[t("sv-palette-spectrum")]}}),r=jw.parts.thumb({dom:{tag:"div",attributes:{role:"presentation"},classes:[t("sv-palette-thumb")],innerHtml:"<div class="+t("sv-palette-inner-thumb")+' role="presentation"></div>'}}),o=function(e,t){var n=e.width,r=e.height,o=e.getContext("2d");if(null!==o){o.fillStyle=t,o.fillRect(0,0,n,r);var i=o.createLinearGradient(0,0,n,0);i.addColorStop(0,"rgba(255,255,255,1)"),i.addColorStop(1,"rgba(255,255,255,0)"),o.fillStyle=i,o.fillRect(0,0,n,r);var a=o.createLinearGradient(0,0,0,r);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),o.fillStyle=a,o.fillRect(0,0,n,r)}};return jd({factory:function(e){var i=A({x:0,y:0}),a=Gs([Kd.config({find:z.some}),Tp.config({})]);return jw.sketch({dom:{tag:"div",attributes:{role:"presentation"},classes:[t("sv-palette")]},model:{mode:"xy",getInitialValue:i},rounded:!1,components:[n,r],onChange:function(e,t,n){Oi(e,Yw,{value:n})},onInit:function(e,t,n,r){o(n.element.dom,Xv(jv))},sliderBehaviours:a})},name:"SaturationBrightnessPalette",configFields:[],apis:{setHue:function(e,t,n){!function(e,t){var n=e.components()[0].element.dom,r=Zv(t,100,100),i=Uv(r);o(n,Xv(i))}(t,n)},setThumb:function(e,t,n){!function(e,t){var n=Yv(Fv(t));jw.setValue(e,{x:n.saturation,y:100-n.value})}(t,n)}},extraApis:{}})}(0,t),a=function(e){return 100-e/360*100},s={paletteRgba:ho(jv),paletteHue:ho(0)},l=zm(function(e,t){var n=jw.parts.spectrum({dom:{tag:"div",classes:[t("hue-slider-spectrum")],attributes:{role:"presentation"}}}),r=jw.parts.thumb({dom:{tag:"div",classes:[t("hue-slider-thumb")],attributes:{role:"presentation"}}});return jw.sketch({dom:{tag:"div",classes:[t("hue-slider")],attributes:{role:"presentation"}},rounded:!1,model:{mode:"y",getInitialValue:A({y:0})},components:[n,r],sliderBehaviours:Gs([Tp.config({})]),onChange:function(e,t,n){Oi(e,Zw,{value:n})}})}(0,t)),c=zm(i.sketch({})),u=zm(o.sketch({})),d=function(e,t,n){c.getOpt(e).each((function(e){i.setHue(e,n)}))},f=function(e,t){u.getOpt(e).each((function(e){o.updateHex(e,t)}))},h=function(e,t,n,r){!function(e,t){var n=Fv(e);s.paletteRgba.set(n),s.paletteHue.set(t)}(t,n),W(r,(function(r){r(e,t,n)}))};return{uid:n.uid,dom:n.dom,components:[c.asSpec(),l.asSpec(),u.asSpec()],behaviours:Gs([Sp("colour-picker-events",[Bi(qw,(r=[d,function(e,t,n){l.getOpt(e).each((function(e){jw.setValue(e,{y:a(n)})}))},function(e,t){c.getOpt(e).each((function(e){i.setThumb(e,t)}))}],function(e,t){var n=t.event.hex,o=function(e){return Yv(Fv(e))}(n);h(e,n,o.hue,r)})),Bi(Yw,function(){var e=[f];return function(t,n){var r=n.event.value,o=s.paletteHue.get(),i=Zv(o,r.x,100-r.y),a=Gv(i);h(t,a,o,e)}}()),Bi(Zw,function(){var e=[d,f];return function(t,n){var r=function(e){return(100-e)/100*360}(n.event.value.y),o=s.paletteRgba.get(),i=Yv(o),a=Zv(r,i.saturation,i.value),l=Gv(a);h(t,l,r,e)}}())]),Kd.config({find:function(e){return u.getOpt(e)}}),vp.config({mode:"acyclic"})])}}});return n},l_=function(){return Kd.config({find:z.some})},c_=function(e){return Kd.config({find:function(t){return Et(t.element,e).bind((function(e){return t.getSystem().getByDom(e).toOptional()}))}})},u_={"colorcustom.rgb.red.label":"R","colorcustom.rgb.red.description":"Red component","colorcustom.rgb.green.label":"G","colorcustom.rgb.green.description":"Green component","colorcustom.rgb.blue.label":"B","colorcustom.rgb.blue.description":"Blue component","colorcustom.rgb.hex.label":"#","colorcustom.rgb.hex.description":"Hex color code","colorcustom.rgb.range":"Range 0 to 255","colorcustom.sb.saturation":"Saturation","colorcustom.sb.brightness":"Brightness","colorcustom.sb.picker":"Saturation and Brightness Picker","colorcustom.sb.palette":"Saturation and Brightness Palette","colorcustom.sb.instructions":"Use arrow keys to select saturation and brightness, on x and y axes","colorcustom.hue.hue":"Hue","colorcustom.hue.slider":"Hue Slider","colorcustom.hue.palette":"Hue Palette","colorcustom.hue.instructions":"Use arrow keys to select a hue","aria.color.picker":"Color Picker","aria.input.invalid":"Invalid input"},d_=function(e){return function(e){return u_[e]}(e)},f_=tinymce.util.Tools.resolve("tinymce.Resource"),h_=tinymce.util.Tools.resolve("tinymce.util.Tools"),p_=Ar([ro("preprocess",v),ro("postprocess",v)]),m_=function(e,t,n){return Wu.config(nr({store:{mode:"manual",getValue:t,setValue:n}},e.map((function(e){return{store:{initialValue:e}}})).getOr({})))},g_=function(e,t){var n=zr("RepresentingConfigs.memento processors",p_,t);return Wu.config({store:{mode:"manual",getValue:function(t){var r=e.get(t),o=Wu.getValue(r);return n.postprocess(o)},setValue:function(t,r){var o=n.preprocess(r),i=e.get(t);Wu.setValue(i,o)}}})},A_=m_,v_=function(e){return t=Li,n=Vi,m_(e,(function(e){return t(e.element)}),(function(e,t){return n(e.element,t)}));var t,n},y_=function(e){return Wu.config({store:{mode:"memory",initialValue:e}})},O_=ji("alloy-fake-before-tabstop"),b_=ji("alloy-fake-after-tabstop"),w_=function(e){return{dom:{tag:"div",styles:{width:"1px",height:"1px",outline:"none"},attributes:{tabindex:"0"},classes:e},behaviours:Gs([Tp.config({ignore:!0}),Yy.config({})])}},__=function(e){return{dom:{tag:"div",classes:["tox-navobj"]},components:[w_([O_]),e,w_([b_])],behaviours:Gs([c_(1)])}},x_=function(e,t){Oi(e,Do(),{raw:{which:9,shiftKey:t}})},S_=function(e,t){var n=t.element;xa(n,O_)?x_(e,!0):xa(n,b_)&&x_(e,!1)},k_=function(e){return Py(e,["."+O_,"."+b_].join(","),_)},C_=!(yt().browser.isIE()||yt().browser.isEdge()),B_=function(e,t){return E_(document.createElement("canvas"),e,t)},Q_=function(e){var t=B_(e.width,e.height);return T_(t).drawImage(e,0,0),t},T_=function(e){return e.getContext("2d")},E_=function(e,t,n){return e.width=t,e.height=n,e},P_=function(e){return e.naturalWidth||e.width},$_=function(e){return e.naturalHeight||e.height},M_=function(e,t,n){return t=t||"image/png",f(HTMLCanvasElement.prototype.toBlob)?new yO((function(r,o){e.toBlob((function(e){e?r(e):o()}),t,n)})):(r=e.toDataURL(t,n),new yO((function(e,t){(function(e){var t=e.split(","),n=/data:([^;]+)/.exec(t[0]);if(!n)return z.none();for(var r=n[1],o=t[1],i=1024,a=atob(o),s=a.length,l=Math.ceil(s/i),c=new Array(l),u=0;u<l;++u){for(var d=u*i,f=Math.min(d+i,s),h=new Array(f-d),p=d,m=0;p<f;++m,++p)h[m]=a[p].charCodeAt(0);c[u]=new Uint8Array(h)}return z.some(new Blob(c,{type:r}))})(r).fold((function(){t("uri is not base64: "+r)}),e)})));var r},z_=function(e){URL.revokeObjectURL(e.src)},R_=function(e,t,n){var r=t.type,o=A(r),i=A(n),a=function(t,n){return e.then((function(e){return function(e,t,n){return t=t||"image/png",e.toDataURL(t,n)}(e,t,n)}))};return{getType:o,toBlob:function(){return yO.resolve(t)},toDataURL:i,toBase64:function(){return n.split(",")[1]},toAdjustedBlob:function(t,n){return e.then((function(e){return M_(e,t,n)}))},toAdjustedDataURL:a,toAdjustedBase64:function(e,t){return a(e,t).then((function(e){return e.split(",")[1]}))},toCanvas:function(){return e.then(Q_)}}},D_=function(e){return function(e){return new yO((function(t){var n=new FileReader;n.onloadend=function(){t(n.result)},n.readAsDataURL(e)}))}(e).then((function(t){return R_(function(e){return function(e){return new yO((function(t,n){var r=URL.createObjectURL(e),o=new Image,i=function(){o.removeEventListener("load",a),o.removeEventListener("error",s)},a=function(){i(),t(o)},s=function(){i(),n("Unable to load data of type "+e.type+": "+r)};o.addEventListener("load",a),o.addEventListener("error",s),o.src=r,o.complete&&setTimeout(a,0)}))}(e).then((function(e){z_(e);var t=B_(P_(e),$_(e));return T_(t).drawImage(e,0,0),t}))}(e),e,t)}))},I_=function(e,t){return M_(e,t).then((function(t){return R_(yO.resolve(e),t,e.toDataURL())}))},N_=function(e,t,n){var r="string"==typeof e?parseFloat(e):e;return r>n?r=n:r<t&&(r=t),r},L_=[0,.01,.02,.04,.05,.06,.07,.08,.1,.11,.12,.14,.15,.16,.17,.18,.2,.21,.22,.24,.25,.27,.28,.3,.32,.34,.36,.38,.4,.42,.44,.46,.48,.5,.53,.56,.59,.62,.65,.68,.71,.74,.77,.8,.83,.86,.89,.92,.95,.98,1,1.06,1.12,1.18,1.24,1.3,1.36,1.42,1.48,1.54,1.6,1.66,1.72,1.78,1.84,1.9,1.96,2,2.12,2.25,2.37,2.5,2.62,2.75,2.87,3,3.2,3.4,3.6,3.8,4,4.3,4.7,4.9,5,5.5,6,6.5,6.8,7,7.3,7.5,7.8,8,8.4,8.7,9,9.4,9.6,9.8,10],V_=function(e,t){for(var n,r=[],o=new Array(25),i=0;i<5;i++){for(var a=0;a<5;a++)r[a]=t[a+5*i];for(a=0;a<5;a++){n=0;for(var s=0;s<5;s++)n+=e[a+5*s]*r[s];o[a+5*i]=n}}return o},U_=function(e,t){return e.toCanvas().then((function(n){return F_(n,e.getType(),t)}))},F_=function(e,t,n){var r=T_(e),o=function(e,t){for(var n,r,o,i,a=e.data,s=t[0],l=t[1],c=t[2],u=t[3],d=t[4],f=t[5],h=t[6],p=t[7],m=t[8],g=t[9],A=t[10],v=t[11],y=t[12],O=t[13],b=t[14],w=t[15],_=t[16],x=t[17],S=t[18],k=t[19],C=0;C<a.length;C+=4)n=a[C],r=a[C+1],o=a[C+2],i=a[C+3],a[C]=n*s+r*l+o*c+i*u+d,a[C+1]=n*f+r*h+o*p+i*m+g,a[C+2]=n*A+r*v+o*y+i*O+b,a[C+3]=n*w+r*_+o*x+i*S+k;return e}(r.getImageData(0,0,e.width,e.height),n);return r.putImageData(o,0,0),I_(e,t)},H_=function(e){return function(t,n){return U_(t,e([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1],n))}},W_=function(e){return function(t){return U_(t,e)}}([-1,0,0,0,255,0,-1,0,0,255,0,0,-1,0,255,0,0,0,1,0,0,0,0,0,1]),X_=H_((function(e,t){return t=N_(255*t,-255,255),V_(e,[1,0,0,0,t,0,1,0,0,t,0,0,1,0,t,0,0,0,1,0,0,0,0,0,1])})),j_=H_((function(e,t){var n;return t=N_(t,-1,1),n=(t*=100)<0?127+t/100*127:127*(n=0==(n=t%1)?L_[t]:L_[Math.floor(t)]*(1-n)+L_[Math.floor(t)+1]*n)+127,V_(e,[n/127,0,0,0,.5*(127-n),0,n/127,0,0,.5*(127-n),0,0,n/127,0,.5*(127-n),0,0,0,1,0,0,0,0,0,1])})),q_=(UO=[0,-1,0,-1,5,-1,0,-1,0],function(e){return function(e,t){return e.toCanvas().then((function(n){return function(e,t,n){var r=T_(e),o=r.getImageData(0,0,e.width,e.height),i=r.getImageData(0,0,e.width,e.height);return i=function(e,t,n){for(var r=function(e,t,n){return e>n?e=n:e<t&&(e=t),e},o=Math.round(Math.sqrt(n.length)),i=Math.floor(o/2),a=e.data,s=t.data,l=e.width,c=e.height,u=0;u<c;u++)for(var d=0;d<l;d++){for(var f=0,h=0,p=0,m=0;m<o;m++)for(var g=0;g<o;g++){var A=r(d+g-i,0,l-1),v=4*(r(u+m-i,0,c-1)*l+A),y=n[m*o+g];f+=a[v]*y,h+=a[v+1]*y,p+=a[v+2]*y}var O=4*(u*l+d);s[O]=r(f,0,255),s[O+1]=r(h,0,255),s[O+2]=r(p,0,255)}return t}(o,i,n),r.putImageData(i,0,0),I_(e,t)}(n,e.getType(),t)}))}(e,UO)}),Z_=(FO=function(e,t){return 255*Math.pow(e/255,1-t)},function(e,t){return e.toCanvas().then((function(n){return function(e,t,n){for(var r=T_(e),o=new Array(256),i=0;i<o.length;i++)o[i]=FO(i,n);var a=function(e,t){for(var n=e.data,r=0;r<n.length;r+=4)n[r]=t[n[r]],n[r+1]=t[n[r+1]],n[r+2]=t[n[r+2]];return e}(r.getImageData(0,0,e.width,e.height),o);return r.putImageData(a,0,0),I_(e,t)}(n,e.getType(),t)}))}),Y_=function(e,t,n){var r=P_(e),o=$_(e),i=t/r,a=n/o,s=!1;(i<.5||i>2)&&(i=i<.5?.5:2,s=!0),(a<.5||a>2)&&(a=a<.5?.5:2,s=!0);var l=G_(e,i,a);return s?l.then((function(e){return Y_(e,t,n)})):l},G_=function(e,t,n){return new yO((function(r){var o=P_(e),i=$_(e),a=Math.floor(o*t),s=Math.floor(i*n),l=B_(a,s);T_(l).drawImage(e,0,0,o,i,0,0,a,s),r(l)}))},K_=function(e,t){void 0===t&&(t=2);var n=Math.pow(10,t),r=Math.round(e*n);return Math.ceil(r/n)},J_=function(e){return W_(e)},ex=function(e){return q_(e)},tx=function(e,t){return Z_(e,t)},nx=function(e,t){return X_(e,t)},rx=function(e,t){return j_(e,t)},ox=function(e,t){return function(e,t){return e.toCanvas().then((function(n){return function(e,t,n){var r=B_(e.width,e.height),o=T_(r);return"v"===n?(o.scale(1,-1),o.drawImage(e,0,-r.height)):(o.scale(-1,1),o.drawImage(e,-r.width,0)),I_(r,t)}(n,e.getType(),t)}))}(e,t)},ix=function(e,t,n,r,o){return function(e,t,n,r,o){return e.toCanvas().then((function(i){return function(e,t,n,r,o,i){var a=B_(o,i);return T_(a).drawImage(e,-n,-r),I_(a,t)}(i,e.getType(),t,n,r,o)}))}(e,t,n,r,o)},ax=function(e,t){return function(e,t){return e.toCanvas().then((function(n){return function(e,t,n){var r=(n<0?360+n:n)*Math.PI/180,o=e.width,i=e.height,a=Math.sin(r),s=Math.cos(r),l=K_(Math.abs(o*s)+Math.abs(i*a)),c=K_(Math.abs(o*a)+Math.abs(i*s)),u=B_(l,c),d=T_(u);return d.translate(l/2,c/2),d.rotate(r),d.drawImage(e,-o/2,-i/2),I_(u,t)}(n,e.getType(),t)}))}(e,t)},sx=function(e,t,n){return Wm(e,{tag:"span",classes:["tox-icon","tox-tbtn__icon-wrap"],behaviours:n},t)},lx=function(e,t){return sx(e,t,[])},cx=function(e,t){return sx(e,t,[xp.config({})])},ux=function(e,t,n){return{dom:{tag:"span",innerHtml:n.translate(e),classes:[t+"__select-label"]},behaviours:Gs([xp.config({})])}},dx=ji("toolbar.button.execute"),fx=((HO={})[Ko()]=["disabling","alloy.base.behaviour","toggling","toolbar-button-events"],HO),hx=ji("update-menu-text"),px=ji("update-menu-icon"),mx=function(e,t,n){var r=ho(m),o=e.text.map((function(e){return zm(ux(e,t,n.providers))})),i=e.icon.map((function(e){return zm(cx(e,n.providers.icons))})),a=function(e,t){var n=Wu.getValue(e);return Tp.focus(n),Oi(n,"keydown",{raw:t.event.raw}),nb.close(n),z.some(!0)},s=e.role.fold((function(){return{}}),(function(e){return{role:e}})),l=e.tooltip.fold((function(){return{}}),(function(e){var t=n.providers.translate(e);return{title:t,"aria-label":t}})),c=Wm("chevron-down",{tag:"div",classes:[t+"__select-chevron"]},n.providers.icons);return zm(nb.sketch(k(k(k({},e.uid?{uid:e.uid}:{}),s),{dom:{tag:"button",classes:[t,t+"--select"].concat(H(e.classes,(function(e){return t+"--"+e}))),attributes:k({},l)},components:dv([i.map((function(e){return e.asSpec()})),o.map((function(e){return e.asSpec()})),z.some(c)]),matchWidth:!0,useMinWidth:!0,dropdownBehaviours:Gs(B(B([],e.dropdownBehaviours,!0),[rv((function(){return e.disabled||n.providers.isDisabled()})),nv(),ob.config({}),xp.config({}),Sp("dropdown-events",[sv(e,r),lv(e,r)]),Sp("menubutton-update-display-text",[Bi(hx,(function(e,t){o.bind((function(t){return t.getOpt(e)})).each((function(e){xp.set(e,[Pa(n.providers.translate(t.event.text))])}))})),Bi(px,(function(e,t){i.bind((function(t){return t.getOpt(e)})).each((function(e){xp.set(e,[cx(t.event.icon,n.providers.icons)])}))}))])],!1)),eventOrder:nr(fx,{mousedown:["focusing","alloy.base.behaviour","item-type-events","normal-dropdown-events"]}),sandboxBehaviours:Gs([vp.config({mode:"special",onLeft:a,onRight:a})]),lazySink:n.getSink,toggleClass:t+"--active",parts:{menu:Wg(0,e.columns,e.presets)},fetch:function(t){return xO(O(e.fetch,t))}}))).asSpec()},gx=function(e){return"separator"===e.type},Ax={type:"separator"},vx=function(e,t){var n=function(e,t){var n=Z(e,(function(e,n){return function(e){return o(e)}(n)?""===n?e:"|"===n?e.length>0&&!gx(e[e.length-1])?e.concat([Ax]):e:Oe(t,n.toLowerCase())?e.concat([t[n.toLowerCase()]]):e:e.concat([n])}),[]);return n.length>0&&gx(n[n.length-1])&&n.pop(),n}(o(e)?e.split(" "):e,t);return q(n,(function(e,n){var r=function(e){if(gx(e))return e;var t=ye(e,"value").getOrThunk((function(){return ji("generated-menu-item")}));return nr({value:t},e)}(n),o=function(e,t){return function(e){return Oe(e,"getSubmenuItems")}(e)?function(e,t){var n=e.getSubmenuItems(),r=vx(n,t);return{item:e,menus:nr(r.menus,Ao(e.value,r.items)),expansions:nr(r.expansions,Ao(e.value,e.value))}}(e,t):{item:e,menus:{},expansions:{}}}(r,t);return{menus:nr(e.menus,o.menus),items:[o.item].concat(e.items),expansions:nr(e.expansions,o.expansions)}}),{menus:{},expansions:{},items:[]})},yx=function(e,t,n,r){var o=ji("primary-menu"),i=vx(e,n.shared.providers.menuItems());if(0===i.items.length)return z.none();var a=Qy(o,i.items,t,n,r),s=pe(i.menus,(function(e,r){return Qy(r,e,t,n,!1)})),l=nr(s,Ao(o,a));return z.from(fm.tieredData(o,l,i.expansions))},Ox=function(e){return{isDisabled:function(){return hf.isDisabled(e)},setDisabled:function(t){return hf.set(e,t)},setActive:function(t){var n=e.element;t?(wa(n,"tox-tbtn--enabled"),Wt(n,"aria-pressed",!0)):(_a(n,"tox-tbtn--enabled"),Yt(n,"aria-pressed"))},isActive:function(){return xa(e.element,"tox-tbtn--enabled")}}},bx=function(e,t,n,r){return mx({text:e.text,icon:e.icon,tooltip:e.tooltip,role:r,fetch:function(t,r){e.fetch((function(e){r(yx(e,Cg.CLOSE_ON_EXECUTE,n,!1))}))},onSetup:e.onSetup,getApi:Ox,columns:1,presets:"normal",classes:[],dropdownBehaviours:[Yy.config({})]},t,n.shared)},wx=function(e,t,n){var r=function(e){return function(r){var o=!r.isActive();r.setActive(o),e.storage.set(o),n.shared.getSink().each((function(n){t().getOpt(n).each((function(t){al(t.element),Oi(t,iO,{name:e.name,value:e.storage.get()})}))}))}},o=function(e){return function(t){t.setActive(e.storage.get())}};return function(t){t(H(e,(function(e){var t=e.text.fold((function(){return{}}),(function(e){return{text:e}}));return k(k({type:e.type,active:!1},t),{onAction:r(e),onSetup:o(e)})})))}},_x=function(e,t,n,r,o,i){void 0===n&&(n=[]);var a=t.fold((function(){return{}}),(function(e){return{action:e}})),s=k({buttonBehaviours:Gs([rv((function(){return e.disabled||i.isDisabled()})),nv(),Yy.config({}),Sp("button press",[Ci("click"),Ci("mousedown")])].concat(n)),eventOrder:{click:["button press","alloy.base.behaviour"],mousedown:["button press","alloy.base.behaviour"]}},a),l=nr(s,{dom:r});return nr(l,{components:o})},xx=function(e,t,n,r){void 0===r&&(r=[]);var o={tag:"button",classes:["tox-tbtn"],attributes:e.tooltip.map((function(e){return{"aria-label":n.translate(e),title:n.translate(e)}})).getOr({})},i=e.icon.map((function(e){return lx(e,n.icons)})),a=dv([i]);return _x(e,t,r,o,a,n)},Sx=function(e,t,n,r){void 0===r&&(r=[]);var o=xx(e,z.some(t),n,r);return Mm.sketch(o)},kx=function(e,t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o=[]);var i=n.translate(e.text),a=e.icon?e.icon.map((function(e){return lx(e,n.icons)})):z.none(),s=a.isSome()?dv([a]):[],l=a.isSome()?{}:{innerHtml:i},c=B(B(B(B([],e.primary||e.borderless?["tox-button"]:["tox-button","tox-button--secondary"],!0),a.isSome()?["tox-button--icon"]:[],!0),e.borderless?["tox-button--naked"]:[],!0),o,!0),u=k(k({tag:"button",classes:c},l),{attributes:{title:i}});return _x(e,t,r,u,s,n)},Cx=function(e,t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o=[]);var i=kx(e,z.some(t),n,r,o);return Mm.sketch(i)},Bx=function(e,t){return function(n){"custom"===t?Oi(n,iO,{name:e,value:{}}):"submit"===t?yi(n,aO):"cancel"===t?yi(n,oO):console.error("Unknown button type: ",t)}},Qx=function(e,t,n){if(function(e,t){return"menu"===t}(0,t)){var r=e,o=k(k({},e),{onSetup:function(t){return t.setDisabled(e.disabled),m},fetch:wx(r.items,(function(){return i}),n)}),i=zm(bx(o,"tox-tbtn",n,z.none()));return i.asSpec()}if(function(e,t){return"custom"===t||"cancel"===t||"submit"===t}(0,t)){var a=Bx(e.name,t),s=k(k({},e),{borderless:!1});return Cx(s,a,n.shared.providers,[])}console.error("Unknown footer button type: ",t)},Tx=A([ro("field1Name","field1"),ro("field2Name","field2"),ss("onLockedChange"),rs(["lockClass"]),ro("locked",!1),Zu("coupledFieldBehaviours",[Kd,Wu])]),Ex=function(e,t){return yd({factory:jy,name:e,overrides:function(e){return{fieldBehaviours:Gs([Sp("coupled-input-behaviour",[Bi(No(),(function(n){(function(e,t,n){return $d(e,t,n).bind(Kd.getCurrent)})(n,e,t).each((function(t){$d(n,e,"lock").each((function(r){Up.isOn(r)&&e.onLockedChange(n,t,r)}))}))}))])])}}})},Px=A([Ex("field1","field2"),Ex("field2","field1"),yd({factory:Mm,schema:[Vr("dom")],name:"lock",overrides:function(e){return{buttonBehaviours:Gs([Up.config({selected:e.locked,toggleClass:e.markers.lockClass,aria:{mode:"pressed"}})])}}})]),$x=qd({name:"FormCoupledInputs",configFields:Tx(),partFields:Px(),factory:function(e,t,n,r){return{uid:e.uid,dom:e.dom,components:t,behaviours:Yu(e.coupledFieldBehaviours,[Kd.config({find:z.some}),Wu.config({store:{mode:"manual",getValue:function(t){var n,r=Id(t,e,["field1","field2"]);return(n={})[e.field1Name]=Wu.getValue(r.field1()),n[e.field2Name]=Wu.getValue(r.field2()),n},setValue:function(t,n){var r=Id(t,e,["field1","field2"]);be(n,e.field1Name)&&Wu.setValue(r.field1(),n[e.field1Name]),be(n,e.field2Name)&&Wu.setValue(r.field2(),n[e.field2Name])}}})]),apis:{getField1:function(t){return $d(t,e,"field1")},getField2:function(t){return $d(t,e,"field2")},getLock:function(t){return $d(t,e,"lock")}}}},apis:{getField1:function(e,t){return e.getField1(t)},getField2:function(e,t){return e.getField2(t)},getLock:function(e,t){return e.getLock(t)}}}),Mx=function(e){var t=/^\s*(\d+(?:\.\d+)?)\s*(|cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%)\s*$/.exec(e);if(null!==t){var n=parseFloat(t[1]),r=t[2];return Xn.value({value:n,unit:r})}return Xn.error(e)},zx=function(e,t){var n={"":96,px:96,pt:72,cm:2.54,pc:12,mm:25.4,in:1},r=function(e){return Oe(n,e)};return e.unit===t?z.some(e.value):r(e.unit)&&r(t)?n[e.unit]===n[t]?z.some(e.value):z.some(e.value/n[e.unit]*n[t]):z.none()},Rx=function(e){return z.none()},Dx=function(e,t){var n=Rx,r=ji("ratio-event"),o=function(e){return Wm(e,{tag:"span",classes:["tox-icon","tox-lock-icon__"+e]},t.icons)},i=$x.parts.lock({dom:{tag:"button",classes:["tox-lock","tox-button","tox-button--naked","tox-button--icon"],attributes:{title:t.translate(e.label.getOr("Constrain proportions"))}},components:[o("lock"),o("unlock")],buttonBehaviours:Gs([hf.config({disabled:function(){return e.disabled||t.isDisabled()}}),nv(),Yy.config({})])}),a=function(e){return{dom:{tag:"div",classes:["tox-form__group"]},components:e}},s=function(n){return jy.parts.field({factory:mO,inputClasses:["tox-textfield"],inputBehaviours:Gs([hf.config({disabled:function(){return e.disabled||t.isDisabled()}}),nv(),Yy.config({}),Sp("size-input-events",[Bi(zo(),(function(e,t){Oi(e,r,{isField1:n})})),Bi(Lo(),(function(t,n){Oi(t,nO,{name:e.name})}))])]),selectOnFocus:!1})},l=function(e){return{dom:{tag:"label",classes:["tox-label"],innerHtml:t.translate(e)}}},c=$x.parts.field1(a([jy.parts.label(l("Width")),s(!0)])),u=$x.parts.field2(a([jy.parts.label(l("Height")),s(!1)]));return $x.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:[{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:[c,u,a([l("&nbsp;"),i])]}],field1Name:"width",field2Name:"height",locked:!0,markers:{lockClass:"tox-locked"},onLockedChange:function(e,t,r){Mx(Wu.getValue(e)).each((function(e){n(e).each((function(e){Wu.setValue(t,function(e){var t,n={"":0,px:0,pt:1,mm:1,pc:2,ex:2,em:2,ch:2,rem:2,cm:3,in:4,"%":4},r=e.value.toFixed((t=e.unit)in n?n[t]:1);return-1!==r.indexOf(".")&&(r=r.replace(/\.?0*$/,"")),r+e.unit}(e))}))}))},coupledFieldBehaviours:Gs([hf.config({disabled:function(){return e.disabled||t.isDisabled()},onDisabled:function(e){$x.getField1(e).bind(jy.getField).each(hf.disable),$x.getField2(e).bind(jy.getField).each(hf.disable),$x.getLock(e).each(hf.disable)},onEnabled:function(e){$x.getField1(e).bind(jy.getField).each(hf.enable),$x.getField2(e).bind(jy.getField).each(hf.enable),$x.getLock(e).each(hf.enable)}}),nv(),Sp("size-input-events2",[Bi(r,(function(e,t){var r,o,i,a=t.event.isField1,s=a?$x.getField1(e):$x.getField2(e),l=a?$x.getField2(e):$x.getField1(e),c=s.map(Wu.getValue).getOr(""),u=l.map(Wu.getValue).getOr("");r=u,o=Mx(c).toOptional(),i=Mx(r).toOptional(),n=xe(o,i,(function(e,t){return zx(e,t.unit).map((function(e){return t.value/e})).map((function(e){return function(e,t){return function(n){return zx(n,t).map((function(n){return{value:n*e,unit:t}}))}}(e,t.unit)})).getOr(Rx)})).getOr(Rx)}))])])})},Ix={undo:A(ji("undo")),redo:A(ji("redo")),zoom:A(ji("zoom")),back:A(ji("back")),apply:A(ji("apply")),swap:A(ji("swap")),transform:A(ji("transform")),tempTransform:A(ji("temp-transform")),transformApply:A(ji("transform-apply"))},Nx=A("save-state"),Lx=A("disable"),Vx=A("enable"),Ux={formActionEvent:iO,saveState:Nx,disable:Lx,enable:Vx},Fx=function(e,t){var n=function(e,n,r,o){return zm(Cx({name:e,text:e,disabled:r,primary:o,icon:z.none(),borderless:!1},n,t))},r=function(e,n,r,o){return zm(Sx({name:e,icon:z.some(e),tooltip:z.some(n),disabled:o,primary:!1,borderless:!1},r,t))},o=function(e,t){e.map((function(e){var n=e.get(t);n.hasConfigured(hf)&&hf.disable(n)}))},i=function(e,t){e.map((function(e){var n=e.get(t);n.hasConfigured(hf)&&hf.enable(n)}))},a={tag:"div",classes:["tox-image-tools__toolbar","tox-image-tools-edit-panel"]},s=m,l=function(e,t,n){Oi(e,t,n)},c=function(e){return yi(e,Ux.disable())},u=function(e){return yi(e,Ux.enable())},d=function(e,t){c(e),l(e,Ix.transform(),{transform:t}),u(e)},f=function(e){return function(){ee.getOpt(e).each((function(e){xp.set(e,[K])}))}},h=function(e,t){c(e),l(e,Ix.transformApply(),{transform:t,swap:f(e)}),u(e)},p=function(){return n("Back",(function(e){return l(e,Ix.back(),{swap:f(e)})}),!1,!1)},g=function(){return zm({dom:{tag:"div",classes:["tox-spacer"]},behaviours:Gs([hf.config({})])})},v=function(){return n("Apply",(function(e){return l(e,Ix.apply(),{swap:f(e)})}),!0,!0)},y=[p(),g(),n("Apply",(function(t){h(t,(function(t){var n=e.getRect();return ix(t,n.x,n.y,n.w,n.h)})),e.hideCrop()}),!1,!0)],O=Fy.sketch({dom:a,components:y.map((function(e){return e.asSpec()})),containerBehaviours:Gs([Sp("image-tools-crop-buttons-events",[Bi(Ux.disable(),(function(e,t){o(y,e)})),Bi(Ux.enable(),(function(e,t){i(y,e)}))])])}),b=zm(Dx({name:"size",label:z.none(),constrain:!0,disabled:!1},t)),w=[p(),g(),b,g(),n("Apply",(function(e){b.getOpt(e).each((function(t){var n,r,o=Wu.getValue(t),i=(n=parseInt(o.width,10),r=parseInt(o.height,10),function(e){return function(e,t,n){return function(e,t,n){return e.toCanvas().then((function(r){return Y_(r,t,n).then((function(t){return I_(t,e.getType())}))}))}(e,t,n)}(e,n,r)});h(e,i)}))}),!1,!0)],_=Fy.sketch({dom:a,components:w.map((function(e){return e.asSpec()})),containerBehaviours:Gs([Sp("image-tools-resize-buttons-events",[Bi(Ux.disable(),(function(e,t){o(w,e)})),Bi(Ux.enable(),(function(e,t){i(w,e)}))])])}),x=function(e,t){return function(n){return e(n,t)}},S=x(ox,"h"),k=x(ox,"v"),C=x(ax,-90),B=x(ax,90),Q=function(e,t){!function(e,t){c(e),l(e,Ix.tempTransform(),{transform:t}),u(e)}(e,t)},T=[p(),g(),r("flip-horizontally","Flip horizontally",(function(e){Q(e,S)}),!1),r("flip-vertically","Flip vertically",(function(e){Q(e,k)}),!1),r("rotate-left","Rotate counterclockwise",(function(e){Q(e,C)}),!1),r("rotate-right","Rotate clockwise",(function(e){Q(e,B)}),!1),g(),v()],E=Fy.sketch({dom:a,components:T.map((function(e){return e.asSpec()})),containerBehaviours:Gs([Sp("image-tools-fliprotate-buttons-events",[Bi(Ux.disable(),(function(e,t){o(T,e)})),Bi(Ux.enable(),(function(e,t){i(T,e)}))])])}),P=function(e,n,r,o,i){var a=jw.parts.label({dom:{tag:"label",classes:["tox-label"],innerHtml:t.translate(e)}}),s=jw.parts.spectrum({dom:{tag:"div",classes:["tox-slider__rail"],attributes:{role:"presentation"}}}),l=jw.parts.thumb({dom:{tag:"div",classes:["tox-slider__handle"],attributes:{role:"presentation"}}});return zm(jw.sketch({dom:{tag:"div",classes:["tox-slider"],attributes:{role:"presentation"}},model:{mode:"x",minX:r,maxX:i,getInitialValue:A({x:o})},components:[a,s,l],sliderBehaviours:Gs([Tp.config({})]),onChoose:n}))},$=function(e,t,n,r,o){return P(e,(function(e,n,r){var o=x(t,r.x/100);d(e,o)}),n,r,o)},M=function(e,t,n,r,s){var l=function(e,t,n,r,o){return[p(),$(e,t,n,r,o),v()]}(e,t,n,r,s);return Fy.sketch({dom:a,components:l.map((function(e){return e.asSpec()})),containerBehaviours:Gs([Sp("image-tools-filter-panel-buttons-events",[Bi(Ux.disable(),(function(e,t){o(l,e)})),Bi(Ux.enable(),(function(e,t){i(l,e)}))])])})},R=[p(),g(),v()],D=Fy.sketch({dom:a,components:R.map((function(e){return e.asSpec()}))}),I=M("Brightness",nx,-100,0,100),N=M("Contrast",rx,-100,0,100),L=M("Gamma",tx,-100,0,100),V=function(e,t,n){return function(r){return function(e,t,n,r){return function(e,t,n,r){return U_(e,function(e,t,n,r){return t=N_(t,0,2),n=N_(n,0,2),r=N_(r,0,2),V_([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1],[t,0,0,0,0,0,n,0,0,0,0,0,r,0,0,0,0,0,1,0,0,0,0,0,1])}(0,t,n,r))}(e,t,n,r)}(r,e,t,n)}},U=function(e){return P(e,(function(e,t,n){var r=F.getOpt(e),o=W.getOpt(e),i=H.getOpt(e);r.each((function(t){o.each((function(n){i.each((function(r){var o=Wu.getValue(t).x/100,i=Wu.getValue(r).x/100,a=Wu.getValue(n).x/100,s=V(o,i,a);d(e,s)}))}))}))}),0,100,200)},F=U("R"),H=U("G"),W=U("B"),X=[p(),F,H,W,v()],j=Fy.sketch({dom:a,components:X.map((function(e){return e.asSpec()}))}),q=function(e,t,n){return function(r){l(r,Ix.swap(),{transform:t,swap:function(){ee.getOpt(r).each((function(t){xp.set(t,[e]),n(t)}))}})}},Z=z.some(ex),Y=z.some(J_),G=[r("crop","Crop",q(O,z.none(),(function(t){e.showCrop()})),!1),r("resize","Resize",q(_,z.none(),(function(t){b.getOpt(t).each((function(t){var n=e.getMeasurements(),r=n.width,o=n.height;Wu.setValue(t,{width:r,height:o})}))})),!1),r("orientation","Orientation",q(E,z.none(),s),!1),r("brightness","Brightness",q(I,z.none(),s),!1),r("sharpen","Sharpen",q(D,Z,s),!1),r("contrast","Contrast",q(N,z.none(),s),!1),r("color-levels","Color levels",q(j,z.none(),s),!1),r("gamma","Gamma",q(L,z.none(),s),!1),r("invert","Invert",q(D,Y,s),!1)],K=Fy.sketch({dom:a,components:G.map((function(e){return e.asSpec()}))}),J=Fy.sketch({dom:{tag:"div"},components:[K],containerBehaviours:Gs([xp.config({})])}),ee=zm(J);return{memContainer:ee,getApplyButton:function(e){return ee.getOpt(e).map((function(e){var t=e.components()[0];return t.components()[t.components().length-1]}))}}},Hx=tinymce.util.Tools.resolve("tinymce.geom.Rect"),Wx=tinymce.util.Tools.resolve("tinymce.util.Observable"),Xx=tinymce.util.Tools.resolve("tinymce.util.VK"),jx=function(e){if(function(e){return d(e.changedTouches)}(e))for(var t="screenX screenY pageX pageY clientX clientY".split(" "),n=0;n<t.length;n++)e[t[n]]=e.changedTouches[0][t[n]]};var qx,Zx,Yx=0,Gx=function(e,t,n,r,o){var i,a=[],s="tox-",l=s+"crid-"+Yx++,c=Re(r),u=[{name:"move",xMul:0,yMul:0,deltaX:1,deltaY:1,deltaW:0,deltaH:0,label:"Crop Mask"},{name:"nw",xMul:0,yMul:0,deltaX:1,deltaY:1,deltaW:-1,deltaH:-1,label:"Top Left Crop Handle"},{name:"ne",xMul:1,yMul:0,deltaX:0,deltaY:1,deltaW:1,deltaH:-1,label:"Top Right Crop Handle"},{name:"sw",xMul:0,yMul:1,deltaX:1,deltaY:0,deltaW:-1,deltaH:1,label:"Bottom Left Crop Handle"},{name:"se",xMul:1,yMul:1,deltaX:0,deltaY:0,deltaW:1,deltaH:1,label:"Bottom Right Crop Handle"}],f=["top","right","bottom","left"],h=function(e,t){return{x:t.x-e.x,y:t.y-e.y,w:t.w,h:t.h}},p=function(t,r,o,i){var a=r.x+o*t.deltaX,s=r.y+i*t.deltaY,l=Math.max(20,r.w+o*t.deltaW),c=Math.max(20,r.h+i*t.deltaH),u=e=Hx.clamp({x:a,y:s,w:l,h:c},n,"move"===t.name);u=h(n,u),v.fire("updateRect",{rect:u}),A(u)},m=function(e){var n=function(e,t){Ha(c,"#"+l+"-"+e).each((function(e){en(e,{left:t.x+"px",top:t.y+"px",width:Math.max(0,t.w)+"px",height:Math.max(0,t.h)+"px"})}))};W(u,(function(t){Ha(c,"#"+l+"-"+t.name).each((function(n){en(n,{left:e.w*t.xMul+e.x+"px",top:e.h*t.yMul+e.y+"px"})}))})),n("top",{x:t.x,y:t.y,w:t.w,h:e.y-t.y}),n("right",{x:e.x+e.w,y:e.y,w:t.w-e.x-e.w+t.x,h:e.h}),n("bottom",{x:t.x,y:e.y+e.h,w:t.w,h:t.h-e.y-e.h+t.y}),n("left",{x:t.x,y:e.y,w:e.x-t.x,h:e.h}),n("move",e)},g=function(t){m(e=t)},A=function(e){var t,r;g((t=n,{x:(r=e).x+t.x,y:r.y+t.y,w:r.w,h:r.h}))};!function(){var t=Me("div");Xt(t,{id:l,class:s+"croprect-container",role:"grid","aria-dropeffect":"execute"}),Bn(c,t),W(f,(function(e){Ha(c,"#"+l).each((function(t){var n=Me("div");Xt(n,{id:l+"-"+e,class:s+"croprect-block","data-mce-bogus":"all"}),Jt(n,"display","none"),Bn(t,n)}))})),W(u,(function(e){Ha(c,"#"+l).each((function(t){var n=Me("div");Xt(n,{id:l+"-"+e.name,"aria-label":e.label,"aria-grabbed":"false","data-mce-bogus":"all",role:"gridcell",tabindex:"-1",title:e.label}),Sa(n,[s+"croprect-handle",s+"croprect-handle-"+e.name]),Jt(n,"display","none"),Bn(t,n)}))})),i=H(u,(function(t){var n;return function(e,t){var n,r,o,i,a,s,l,c=[],u=[],f=null!==(n=t.document)&&void 0!==n?n:document,h=null!==(r=t.root)&&void 0!==r?r:f,p=Re(f),m=Re(h.getElementById(null!==(o=t.handle)&&void 0!==o?o:e)),g=function(e){var n=e.raw,r=function(e){var t=Math.max,n=e.documentElement,r=e.body,o=t(n.scrollWidth,r.scrollWidth),i=t(n.clientWidth,r.clientWidth),a=t(n.offsetWidth,r.offsetWidth),s=t(n.scrollHeight,r.scrollHeight),l=t(n.clientHeight,r.clientHeight);return{width:o<a?i:o,height:s<t(n.offsetHeight,r.offsetHeight)?l:s}}(f);jx(n),e.prevent(),a=n.button,s=n.screenX,l=n.screenY;var o=nn(m,"cursor");i=Me("div",f),en(i,{position:"absolute",top:"0",left:"0",width:r.width+"px",height:r.height+"px","z-index":"2147483647",opacity:"0.0001",cursor:o}),Bn(Ft(p),i),u.push(El(p,"mousemove",A),El(p,"touchmove",A),El(p,"mouseup",v),El(p,"touchend",v)),t.start(n)},A=function(e){var n=e.raw;if(jx(n),n.button!==a)return v(e);n.deltaX=n.screenX-s,n.deltaY=n.screenY-l,e.prevent(),t.drag(n)},v=function(e){jx(e.raw),W(u,(function(e){return e.unbind()})),u=[],En(i),t.stop&&t.stop(e.raw)};return c.push(El(m,"mousedown",g),El(m,"touchstart",g)),{destroy:function(){W(u.concat(c),(function(e){return e.unbind()})),u=[],c=[],d(i)&&En(i)}}}(l,{document:r.ownerDocument,root:Dt(c).dom,handle:l+"-"+t.name,start:function(){n=e},drag:function(e){p(t,n,e.deltaX,e.deltaY)}})})),m(e);var n=function(e){Wt(e.target,"aria-grabbed","focus"===e.raw.type?"true":"false")};a.push(El(c,"focusin",n),El(c,"focusout",n),El(c,"keydown",(function(t){var n;W(u,(function(e){if(jt(t.target,"id")===l+"-"+e.name)return n=e,!1}));var r=function(e,t,r,o,i){e.stopPropagation(),e.preventDefault(),p(n,r,o,i)};switch(t.raw.keyCode){case Xx.LEFT:r(t,0,e,-10,0);break;case Xx.RIGHT:r(t,0,e,10,0);break;case Xx.UP:r(t,0,e,0,-10);break;case Xx.DOWN:r(t,0,e,0,10);break;case Xx.ENTER:case Xx.SPACEBAR:t.prevent(),o()}})))}();var v=k(k({},Wx),{toggleVisibility:function(e){var t=B(B([],H(u,(function(e){return"#"+l+"-"+e.name})),!0),H(f,(function(e){return"#"+l+"-"+e})),!0).join(","),n=Cc(c,t);W(n,e?function(e){return ln(e,"display")}:function(e){return Jt(e,"display","none")})},setClampRect:function(t){n=t,m(e)},setRect:g,getInnerRect:function(){return h(n,e)},setInnerRect:A,setViewPortRect:function(n){t=n,m(e)},destroy:function(){W(i,(function(e){return e.destroy()})),i=[],W(a,(function(e){return e.unbind()})),a=[]}});return v},Kx=function(e,t,n,r,o){return Sx({name:e,icon:z.some(t),disabled:n,tooltip:z.some(e),primary:!1,borderless:!1},r,o)},Jx=function(e,t){t?hf.enable(e):hf.disable(e)},eS=function(e,t){var n=function(e){var t,n,r,o,i=ho(e),a=Ql(),s=(n=-1,{data:t=[],add:function(e){var r=t.splice(++n);return t.push(e),{state:e,removed:r}},undo:function(){if(r())return t[--n]},redo:function(){if(o())return t[++n]},canUndo:r=function(){return n>0},canRedo:o=function(){return-1!==n&&n<t.length-1}});s.add(e);var l=function(e){i.set(e)},c=function(e){return{blob:e,url:URL.createObjectURL(e)}},u=function(e){URL.revokeObjectURL(e.url)},d=function(){a.on(u),a.clear()},f=function(e){var t,n=c(e);return l(n),t=s.add(n).removed,h_.each(t,u),n.url};return{getBlobState:function(){return i.get()},setBlobState:l,addBlobState:f,getTempState:function(){return a.get().getOrThunk(i.get)},updateTempState:function(e){var t=c(e);return d(),a.set(t),t.url},addTempState:function(e){var t=c(e);return a.set(t),t.url},applyTempState:function(e){return a.get().fold(m,(function(t){f(t.blob),e()}))},destroyTempState:d,undo:function(){var e=s.undo();return l(e),e.url},redo:function(){var e=s.redo();return l(e),e.url},getHistoryStates:function(){return{undoEnabled:s.canUndo(),redoEnabled:s.canRedo()}}}}(e.currentState),r=function(e){var t=n.getHistoryStates();f.updateButtonUndoStates(e,t.undoEnabled,t.redoEnabled),Oi(e,Ux.formActionEvent,{name:Ux.saveState(),value:t.undoEnabled})},o=function(e){return e.toBlob()},i=function(e){Oi(e,Ux.formActionEvent,{name:Ux.disable(),value:{}})},a=function(e){h.getApplyButton(e).each((function(e){hf.enable(e)})),Oi(e,Ux.formActionEvent,{name:Ux.enable(),value:{}})},s=function(e,t){return i(e),d.updateSrc(e,t)},l=function(e,t,n,l,c){i(e),function(e){return D_(e)}(t).then(n).then(o).then(l).then((function(t){return s(e,t)})).then((function(){r(e),c(),a(e)})).catch((function(t){console.log(t),e.getSystem().isConnected()&&a(e)}))},c=function(e,t,r){var o=n.getBlobState().blob;l(e,o,t,(function(e){return n.updateTempState(e)}),r)},u=function(e){var t=n.getBlobState().url;return n.destroyTempState(),r(e),t},d=function(e){var t,n=zm({dom:{tag:"div",classes:["tox-image-tools__image-bg"],attributes:{role:"presentation"}}}),r=ho(1),o=(t=Cl(),k(k({},t),{run:function(e){return t.get().each(e)}})),i=ho({x:0,y:0,w:1,h:1}),a=ho({x:0,y:0,w:1,h:1}),s=function(e,t){u.getOpt(e).each((function(e){var a=r.get(),s=On(e.element),l=fn(e.element),c=t.dom.naturalWidth*a,u=t.dom.naturalHeight*a,d=Math.max(0,s/2-c/2),f=Math.max(0,l/2-u/2),h={left:d.toString()+"px",top:f.toString()+"px",width:c.toString()+"px",height:u.toString()+"px",position:"absolute"};en(t,h),n.getOpt(e).each((function(e){en(e.element,h)})),o.run((function(e){var t=i.get();e.setRect({x:t.x*a+d,y:t.y*a+f,w:t.w*a,h:t.h*a}),e.setClampRect({x:d,y:f,w:c,h:u}),e.setViewPortRect({x:0,y:0,w:s,h:l})}))}))},l=function(e,t){var n,o=Me("img");return Wt(o,"src",t),(n=o.dom,new og((function(e){var t=function(){n.removeEventListener("load",t),e(n)};n.complete?e(n):n.addEventListener("load",t)}))).then((function(){e.getSystem().isConnected()&&u.getOpt(e).map((function(e){var t=$a({element:o});xp.replaceAt(e,1,z.some(t));var n=a.get(),l={x:0,y:0,w:o.dom.naturalWidth,h:o.dom.naturalHeight};a.set(l);var c=Hx.inflate(l,-20,-20);i.set(c),n.w===l.w&&n.h===l.h||function(e,t){u.getOpt(e).each((function(e){var n=On(e.element),o=fn(e.element),i=t.dom.naturalWidth,a=t.dom.naturalHeight,s=Math.min(n/i,o/a);s>=1?r.set(1):r.set(s)}))}(e,o),s(e,o)}))}))},c=Fy.sketch({dom:{tag:"div",classes:["tox-image-tools__image"]},components:[n.asSpec(),{dom:{tag:"img",attributes:{src:e}}},{dom:{tag:"div"},behaviours:Gs([Sp("image-panel-crop-events",[Ri((function(e){u.getOpt(e).each((function(e){var t=e.element.dom,n=Gx({x:10,y:10,w:100,h:100},{x:0,y:0,w:200,h:200},{x:0,y:0,w:200,h:200},t,m);n.toggleVisibility(!1),n.on("updateRect",(function(e){var t=e.rect,n=r.get(),o={x:Math.round(t.x/n),y:Math.round(t.y/n),w:Math.round(t.w/n),h:Math.round(t.h/n)};i.set(o)})),o.set(n)}))})),Di((function(){o.clear()}))])])}],containerBehaviours:Gs([xp.config({}),Sp("image-panel-events",[Ri((function(t){l(t,e)}))])])}),u=zm(c);return{memContainer:u,updateSrc:l,zoom:function(e,t){var n=r.get(),o=t>0?Math.min(2,n+.1):Math.max(.1,n-.1);r.set(o),u.getOpt(e).each((function(e){var t=e.components()[1].element;s(e,t)}))},showCrop:function(){o.run((function(e){e.toggleVisibility(!0)}))},hideCrop:function(){o.run((function(e){e.toggleVisibility(!1)}))},getRect:function(){return i.get()},getMeasurements:function(){var e=a.get();return{width:e.w,height:e.h}}}}(e.currentState.url),f=function(e){var t=zm(Kx("Undo","undo",!0,(function(e){Oi(e,Ix.undo(),{direction:1})}),e)),n=zm(Kx("Redo","redo",!0,(function(e){Oi(e,Ix.redo(),{direction:1})}),e));return{container:Fy.sketch({dom:{tag:"div",classes:["tox-image-tools__toolbar","tox-image-tools__sidebar"]},components:[t.asSpec(),n.asSpec(),Kx("Zoom in","zoom-in",!1,(function(e){Oi(e,Ix.zoom(),{direction:1})}),e),Kx("Zoom out","zoom-out",!1,(function(e){Oi(e,Ix.zoom(),{direction:-1})}),e)]}),updateButtonUndoStates:function(e,r,o){t.getOpt(e).each((function(e){Jx(e,r)})),n.getOpt(e).each((function(e){Jx(e,o)}))}}}(t),h=Fx(d,t);return{dom:{tag:"div",attributes:{role:"presentation"}},components:[h.memContainer.asSpec(),d.memContainer.asSpec(),f.container],behaviours:Gs([Wu.config({store:{mode:"manual",getValue:function(){return n.getBlobState()}}}),Sp("image-tools-events",[Bi(Ix.undo(),(function(e,t){var o=n.undo();s(e,o).then((function(t){a(e),r(e)}))})),Bi(Ix.redo(),(function(e,t){var o=n.redo();s(e,o).then((function(t){a(e),r(e)}))})),Bi(Ix.zoom(),(function(e,t){var n=t.event.direction;d.zoom(e,n)})),Bi(Ix.back(),(function(e,t){!function(e){var t=u(e);s(e,t).then((function(t){a(e)}))}(e),(0,t.event.swap)(),d.hideCrop()})),Bi(Ix.apply(),(function(e,t){n.applyTempState((function(){u(e),(0,t.event.swap)()}))})),Bi(Ix.transform(),(function(e,t){return c(e,t.event.transform,m)})),Bi(Ix.tempTransform(),(function(e,t){return function(e,t){var r=n.getTempState().blob;l(e,r,t,(function(e){return n.addTempState(e)}),m)}(e,t.event.transform)})),Bi(Ix.transformApply(),(function(e,t){return function(e,t,r){var o=n.getBlobState().blob;l(e,o,t,(function(t){var r=n.addBlobState(t);return u(e),r}),r)}(e,t.event.transform,t.event.swap)})),Bi(Ix.swap(),(function(e,t){!function(e){f.updateButtonUndoStates(e,!1,!1)}(e);var n=t.event.transform,r=t.event.swap;n.fold((function(){r()}),(function(t){c(e,t,r)}))}))]),l_()])}},tS=function(e){return!Oe(e,"items")},nS="data-value",rS=function(e,t,n,r){return H(n,(function(n){return tS(n)?{type:"togglemenuitem",text:n.text,value:n.value,active:n.value===r,onAction:function(){Wu.setValue(e,n.value),Oi(e,nO,{name:t}),Tp.focus(e)}}:{type:"nestedmenuitem",text:n.text,getSubmenuItems:function(){return rS(e,t,n.items,r)}}}))},oS=function(e,t){return ue(e,(function(e){return tS(e)?Se(e.value===t,e):oS(e.items,t)}))},iS=jd({name:"HtmlSelect",configFields:[Vr("options"),Xu("selectBehaviours",[Tp,Wu]),ro("selectClasses",[]),ro("selectAttributes",{}),Yr("data")],factory:function(e,t){var n=H(e.options,(function(e){return{dom:{tag:"option",value:e.value,innerHtml:e.text}}})),r=e.data.map((function(e){return Ao("initialValue",e)})).getOr({});return{uid:e.uid,dom:{tag:"select",classes:e.selectClasses,attributes:e.selectAttributes},components:n,behaviours:qu(e.selectBehaviours,[Tp.config({}),Wu.config({store:k({mode:"manual",getValue:function(e){return Ca(e.element)},setValue:function(t,n){Y(e.options,(function(e){return e.value===n})).isSome()&&Ba(t.element,n)}},r)})])}}}),aS=function(e,t){var n=e.label.map((function(e){return tO(e,t)})),r=[hf.config({disabled:function(){return e.disabled||t.isDisabled()}}),nv(),vp.config({mode:"execution",useEnter:!0!==e.multiline,useControlEnter:!0===e.multiline,execute:function(e){return yi(e,aO),z.some(!0)}}),Sp("textfield-change",[Bi(No(),(function(t,n){Oi(t,nO,{name:e.name})})),Bi(Yo(),(function(t,n){Oi(t,nO,{name:e.name})}))]),Yy.config({})],o=e.validation.map((function(e){return zO.config({getRoot:function(e){return Bt(e.element)},invalidClass:"tox-invalid",validator:{validate:function(t){var n=Wu.getValue(t),r=e.validator(n);return SO(!0===r?Xn.value(n):Xn.error(r))},validateOnLoad:e.validateOnLoad}})})).toArray(),i=e.placeholder.fold(A({}),(function(e){return{placeholder:t.translate(e)}})),a=e.inputMode.fold(A({}),(function(e){return{inputmode:e}})),s=k(k({},i),a),l=jy.parts.field({tag:!0===e.multiline?"textarea":"input",inputAttributes:s,inputClasses:[e.classname],inputBehaviours:Gs(K([r,o])),selectOnFocus:!1,factory:mO}),c=(e.flex?["tox-form__group--stretched"]:[]).concat(e.maximized?["tox-form-group--maximize"]:[]),u=[hf.config({disabled:function(){return e.disabled||t.isDisabled()},onDisabled:function(e){jy.getField(e).each(hf.disable)},onEnabled:function(e){jy.getField(e).each(hf.enable)}}),nv()];return Ky(n,l,c,u)},sS=Object.freeze({__proto__:null,events:function(e,t){var n=e.stream.streams.setup(e,t);return Si([Bi(e.event,n),Di((function(){return t.cancel()}))].concat(e.cancelEvent.map((function(e){return[Bi(e,(function(){return t.cancel()}))]})).getOr([])))}}),lS=function(e){var t=ho(null);return ua({readState:function(){return{timer:null!==t.get()?"set":"unset"}},setTimer:function(e){t.set(e)},cancel:function(){var e=t.get();null!==e&&e.cancel()}})},cS=Object.freeze({__proto__:null,throttle:lS,init:function(e){return e.stream.streams.state(e)}}),uS=[Ur("stream",Dr("mode",{throttle:[Vr("delay"),ro("stopEvent",!0),cs("streams",{setup:function(e,t){var n=e.stream,r=Zm(e.onStream,n.delay);return t.setTimer(r),function(e,t){r.throttle(e,t),n.stopEvent&&t.stop()}},state:lS})]})),ro("event","input"),Yr("cancelEvent"),ss("onStream")],dS=Js({fields:uS,name:"streaming",active:sS,state:cS}),fS=function(e,t,n){var r=Wu.getValue(n);Wu.setValue(t,r),pS(t)},hS=function(e,t){var n=e.element,r=Ca(n),o=n.dom;"number"!==jt(n,"type")&&t(o,r)},pS=function(e){hS(e,(function(e,t){return e.setSelectionRange(t.length,t.length)}))},mS=A("alloy.typeahead.itemexecute"),gS=A([Yr("lazySink"),Vr("fetch"),ro("minChars",5),ro("responseTime",1e3),is("onOpen"),ro("getHotspot",z.some),ro("getAnchorOverrides",A({})),ro("layouts",z.none()),ro("eventOrder",{}),fo("model",{},[ro("getDisplayText",(function(e){return void 0!==e.meta&&void 0!==e.meta.text?e.meta.text:e.value})),ro("selectsOver",!0),ro("populateFromBrowse",!0)]),is("onSetValue"),as("onExecute"),is("onItemExecute"),ro("inputClasses",[]),ro("inputAttributes",{}),ro("inputStyles",{}),ro("matchWidth",!0),ro("useMinWidth",!1),ro("dismissOnBlur",!0),rs(["openClass"]),Yr("initialData"),Xu("typeaheadBehaviours",[Tp,Wu,dS,vp,Up,NO]),Nr("previewing",(function(){return ho(!0)}))].concat(dO()).concat(JO())),AS=A([Od({schema:[ns()],name:"menu",overrides:function(e){return{fakeFocus:!0,onHighlight:function(t,n){e.previewing.get()?t.getSystem().getByUid(e.uid).each((function(r){(function(e,t,n){if(e.selectsOver){var r=Wu.getValue(t),o=e.getDisplayText(r),i=Wu.getValue(n);return 0===e.getDisplayText(i).indexOf(o)?z.some((function(){fS(0,t,n),function(e,t){hS(e,(function(e,n){return e.setSelectionRange(t,n.length)}))}(t,o.length)})):z.none()}return z.none()})(e.model,r,n).fold((function(){return _f.dehighlight(t,n)}),(function(e){return e()}))})):t.getSystem().getByUid(e.uid).each((function(t){e.model.populateFromBrowse&&fS(e.model,t,n)})),e.previewing.set(!1)},onExecute:function(t,n){return t.getSystem().getByUid(e.uid).toOptional().map((function(e){return Oi(e,mS(),{item:n}),!0}))},onHover:function(t,n){e.previewing.set(!1),t.getSystem().getByUid(e.uid).each((function(t){e.model.populateFromBrowse&&fS(e.model,t,n)}))}}}})]),vS=qd({name:"Typeahead",configFields:gS(),partFields:AS(),factory:function(e,t,n,r){var o=function(t,n,o){e.previewing.set(!1);var i=NO.getCoupled(t,"sandbox");Su.isOpen(i)?Kd.getCurrent(i).each((function(e){_f.getHighlighted(e).fold((function(){o(e)}),(function(){xi(i,e.element,"keydown",n)}))})):XO(e,a(t),t,i,r,(function(e){Kd.getCurrent(e).each(o)}),vO.HighlightFirst).get(m)},i=fO(e),a=function(e){return function(t){return t.map((function(t){var n=ve(t.menus),r=J(n,(function(e){return j(e.items,(function(e){return"item"===e.type}))}));return Wu.getState(e).update(H(r,(function(e){return e.data}))),t}))}},s=[Tp.config({}),Wu.config({onSetValue:e.onSetValue,store:k({mode:"dataset",getDataKey:function(e){return Ca(e.element)},getFallbackEntry:function(e){return{value:e,meta:{}}},setValue:function(t,n){Ba(t.element,e.model.getDisplayText(n))}},e.initialData.map((function(e){return Ao("initialValue",e)})).getOr({}))}),dS.config({stream:{mode:"throttle",delay:e.responseTime,stopEvent:!1},onStream:function(t,n){var o=NO.getCoupled(t,"sandbox");if(Tp.isFocused(t)&&Ca(t.element).length>=e.minChars){var i=Kd.getCurrent(o).bind((function(e){return _f.getHighlighted(e).map(Wu.getValue)}));e.previewing.set(!0),XO(e,a(t),t,o,r,(function(t){Kd.getCurrent(o).each((function(t){i.fold((function(){e.model.selectsOver&&_f.highlightFirst(t)}),(function(e){_f.highlightBy(t,(function(t){return Wu.getValue(t).value===e.value})),_f.getHighlighted(t).orThunk((function(){return _f.highlightFirst(t),z.none()}))}))}))}),vO.HighlightFirst).get(m)}},cancelEvent:ri()}),vp.config({mode:"special",onDown:function(e,t){return o(e,t,_f.highlightFirst),z.some(!0)},onEscape:function(e){var t=NO.getCoupled(e,"sandbox");return Su.isOpen(t)?(Su.close(t),z.some(!0)):z.none()},onUp:function(e,t){return o(e,t,_f.highlightLast),z.some(!0)},onEnter:function(t){var n=NO.getCoupled(t,"sandbox"),r=Su.isOpen(n);if(r&&!e.previewing.get())return Kd.getCurrent(n).bind((function(e){return _f.getHighlighted(e)})).map((function(e){return Oi(t,mS(),{item:e}),!0}));var o=Wu.getValue(t);return yi(t,ri()),e.onExecute(n,t,o),r&&Su.close(n),z.some(!0)}}),Up.config({toggleClass:e.markers.openClass,aria:{mode:"expanded"}}),NO.config({others:{sandbox:function(t){return GO(e,t,{onOpen:function(){return Up.on(t)},onClose:function(){return Up.off(t)}})}}}),Sp("typeaheadevents",[Ni((function(t){var n=m;qO(e,a(t),t,r,n,vO.HighlightFirst).get(m)})),Bi(mS(),(function(t,n){var r=NO.getCoupled(t,"sandbox");fS(e.model,t,n.event.item),yi(t,ri()),e.onItemExecute(t,r,n.event.item,Wu.getValue(t)),Su.close(r),pS(t)}))].concat(e.dismissOnBlur?[Bi(Zo(),(function(e){var t=NO.getCoupled(e,"sandbox");cl(t.element).isNone()&&Su.close(t)}))]:[]))];return{uid:e.uid,dom:pO(nr(e,{inputAttributes:{role:"combobox","aria-autocomplete":"list","aria-haspopup":"true"}})),behaviours:k(k({},i),qu(e.typeaheadBehaviours,s)),eventOrder:e.eventOrder}}}),yS=function(e){return k(k({},e),{toCached:function(){return yS(e.toCached())},bindFuture:function(t){return yS(e.bind((function(e){return e.fold((function(e){return SO(Xn.error(e))}),(function(e){return t(e)}))})))},bindResult:function(t){return yS(e.map((function(e){return e.bind(t)})))},mapResult:function(t){return yS(e.map((function(e){return e.map(t)})))},mapError:function(t){return yS(e.map((function(e){return e.mapError(t)})))},foldResult:function(t,n){return e.map((function(e){return e.fold(t,n)}))},withTimeout:function(t,n){return yS(xO((function(r){var o=!1,i=setTimeout((function(){o=!0,r(Xn.error(n()))}),t);e.get((function(e){o||(clearTimeout(i),r(e))}))})))}})},OS=function(e){return yS(xO(e))},bS={type:"separator"},wS=function(e){return{type:"menuitem",value:e.url,text:e.title,meta:{attach:e.attach},onAction:m}},_S=function(e,t){return{type:"menuitem",value:t,text:e,meta:{attach:void 0},onAction:m}},xS=function(e,t){return function(e){return H(e,wS)}(function(e,t){return j(t,(function(t){return t.type===e}))}(e,t))},SS=function(e){return xS("header",e.targets)},kS=function(e){return xS("anchor",e.targets)},CS=function(e){return z.from(e.anchorTop).map((function(e){return _S("<top>",e)})).toArray()},BS=function(e){return z.from(e.anchorBottom).map((function(e){return _S("<bottom>",e)})).toArray()},QS=function(e,t){var n=e.toLowerCase();return j(t,(function(e){var t=void 0!==e.meta&&void 0!==e.meta.text?e.meta.text:e.text;return Ce(t.toLowerCase(),n)||Ce(e.value.toLowerCase(),n)}))},TS=ji("aria-invalid"),ES=function(e){return function(t,n,r){return ye(n,"name").fold((function(){return e(n,r)}),(function(o){return t.field(o,e(n,r))}))}},PS={bar:ES((function(e,t){return function(e,t){return{dom:{tag:"div",classes:["tox-bar","tox-form__controls-h-stack"]},components:H(e.items,t.interpreter)}}(e,t.shared)})),collection:ES((function(e,t){return function(e,t){var n,r,o=e.label.map((function(e){return tO(e,t)})),i=function(e){return function(t,n){Wa(n.event.target,"[data-collection-item-value]").each((function(r){e(t,n,r,jt(r,"data-collection-item-value"))}))}},a=i((function(n,r,o,i){r.stop(),t.isDisabled()||Oi(n,iO,{name:e.name,value:i})})),s=[Bi(Mo(),i((function(e,t,n){al(n)}))),Bi(Vo(),a),Bi(ei(),a),Bi(zo(),i((function(e,t,n){Ha(e.element,"."+Rg).each((function(e){_a(e,Rg)})),wa(n,Rg)}))),Bi(Ro(),i((function(e){Ha(e.element,"."+Rg).each((function(e){_a(e,Rg)}))}))),Ni(i((function(t,n,r,o){Oi(t,iO,{name:e.name,value:o})})))],l=function(e,t){return H(Cc(e.element,".tox-collection__item"),t)},c=jy.parts.field({dom:{tag:"div",classes:["tox-collection"].concat(1!==e.columns?["tox-collection--grid"]:["tox-collection--list"])},components:[],factory:{sketch:v},behaviours:Gs([hf.config({disabled:t.isDisabled,onDisabled:function(e){l(e,(function(e){wa(e,"tox-collection__item--state-disabled"),Wt(e,"aria-disabled",!0)}))},onEnabled:function(e){l(e,(function(e){_a(e,"tox-collection__item--state-disabled"),Yt(e,"aria-disabled")}))}}),nv(),xp.config({}),Wu.config({store:{mode:"memory",initialValue:[]},onSetValue:function(n,r){!function(n,r){var o=H(r,(function(n){var r=Rm.translate(n.text),o=1===e.columns?'<div class="tox-collection__item-label">'+r+"</div>":"",i='<div class="tox-collection__item-icon">'+n.icon+"</div>",a={_:" "," - ":" ","-":" "},s=r.replace(/\_| \- |\-/g,(function(e){return a[e]}));return'<div class="tox-collection__item'+(t.isDisabled()?" tox-collection__item--state-disabled":"")+'" tabindex="-1" data-collection-item-value="'+Gy.encodeAllRaw(n.value)+'" title="'+s+'" aria-label="'+s+'">'+i+o+"</div>"})),i="auto"!==e.columns&&e.columns>1?F(o,e.columns):[o],a=H(i,(function(e){return'<div class="tox-collection__group">'+e.join("")+"</div>"}));Vi(n.element,a.join(""))}(n,r),"auto"===e.columns&&mA(n,5,"tox-collection__item").each((function(e){var t=e.numRows,r=e.numColumns;vp.setGridSize(n,t,r)})),yi(n,uO)}}),Yy.config({}),vp.config((r=e.columns,1===r?{mode:"menu",moveOnTab:!1,selector:".tox-collection__item"}:"auto"===r?{mode:"flatgrid",selector:".tox-collection__item",initSize:{numColumns:1,numRows:1}}:{mode:"matrix",selectors:{row:".tox-collection__group",cell:"."+Qg}})),Sp("collection-events",s)]),eventOrder:(n={},n[Ko()]=["disabling","alloy.base.behaviour","collection-events"],n)});return Ky(o,c,["tox-form__group--collection"],[])}(e,t.shared.providers)})),alertbanner:ES((function(e,t){return function(e,t){return Fy.sketch({dom:{tag:"div",attributes:{role:"alert"},classes:["tox-notification","tox-notification--in","tox-notification--"+e.level]},components:[{dom:{tag:"div",classes:["tox-notification__icon"]},components:[Mm.sketch({dom:{tag:"button",classes:["tox-button","tox-button--naked","tox-button--icon"],innerHtml:Um(e.icon,t.icons),attributes:{title:t.translate(e.iconTooltip)}},action:function(t){Oi(t,iO,{name:"alert-banner",value:e.url})},buttonBehaviours:Gs([Fm()])})]},{dom:{tag:"div",classes:["tox-notification__body"],innerHtml:t.translate(e.text)}}]})}(e,t.shared.providers)})),input:ES((function(e,t){return function(e,t){return aS({name:e.name,multiline:!1,label:e.label,inputMode:e.inputMode,placeholder:e.placeholder,flex:!1,disabled:e.disabled,classname:"tox-textfield",validation:z.none(),maximized:e.maximized},t)}(e,t.shared.providers)})),textarea:ES((function(e,t){return function(e,t){return aS({name:e.name,multiline:!0,label:e.label,inputMode:z.none(),placeholder:e.placeholder,flex:!0,disabled:e.disabled,classname:"tox-textarea",validation:z.none(),maximized:e.maximized},t)}(e,t.shared.providers)})),label:ES((function(e,t){return function(e,t){var n={dom:{tag:"label",innerHtml:t.providers.translate(e.label),classes:["tox-label"]}},r=H(e.items,t.interpreter);return{dom:{tag:"div",classes:["tox-form__group"]},components:[n].concat(r),behaviours:Gs([l_(),xp.config({}),v_(z.none()),vp.config({mode:"acyclic"})])}}(e,t.shared)})),iframe:(Zx=function(e,t){return function(e,t){var n=C_&&e.sandboxed,r=k(k({},e.label.map((function(e){return{title:e}})).getOr({})),n?{sandbox:"allow-scripts allow-same-origin"}:{}),o=function(e){var t=ho("");return{getValue:function(e){return t.get()},setValue:function(n,r){if(e)Wt(n.element,"srcdoc",r);else{Wt(n.element,"src","javascript:''");var o=n.element.dom.contentWindow.document;o.open(),o.write(r),o.close()}t.set(r)}}}(n),i=e.label.map((function(e){return tO(e,t)})),a=jy.parts.field({factory:{sketch:function(e){return __({uid:e.uid,dom:{tag:"iframe",attributes:r},behaviours:Gs([Yy.config({}),Tp.config({}),A_(z.none(),o.getValue,o.setValue)])})}}});return Ky(i,a,["tox-form__group--stretched"],[])}(e,t.shared.providers)},function(e,t,n){var r=nr(t,{source:"dynamic"});return ES(Zx)(e,r,n)}),button:ES((function(e,t){return function(e,t){var n,r,o=Bx(e.name,"custom");return n=z.none(),r=jy.parts.field(k({factory:Mm},kx(e,z.some(o),t,[y_(""),l_()]))),Ky(n,r,[],[])}(e,t.shared.providers)})),checkbox:ES((function(e,t){return function(e,t){var n=Wu.config({store:{mode:"manual",getValue:function(e){return e.element.dom.checked},setValue:function(e,t){e.element.dom.checked=t}}}),r=function(e){return e.element.dom.click(),z.some(!0)},o=jy.parts.field({factory:{sketch:v},dom:{tag:"input",classes:["tox-checkbox__input"],attributes:{type:"checkbox"}},behaviours:Gs([l_(),hf.config({disabled:function(){return e.disabled||t.isDisabled()}}),Yy.config({}),Tp.config({}),n,vp.config({mode:"special",onEnter:r,onSpace:r,stopSpaceKeyup:!0}),Sp("checkbox-events",[Bi(Lo(),(function(t,n){Oi(t,nO,{name:e.name})}))])])}),i=jy.parts.label({dom:{tag:"span",classes:["tox-checkbox__label"],innerHtml:t.translate(e.label)},behaviours:Gs([ob.config({})])}),a=function(e){return Wm("checked"===e?"selected":"unselected",{tag:"span",classes:["tox-icon","tox-checkbox-icon__"+e]},t.icons)},s=zm({dom:{tag:"div",classes:["tox-checkbox__icons"]},components:[a("checked"),a("unchecked")]});return jy.sketch({dom:{tag:"label",classes:["tox-checkbox"]},components:[o,s.asSpec(),i],fieldBehaviours:Gs([hf.config({disabled:function(){return e.disabled||t.isDisabled()},disableClass:"tox-checkbox--disabled",onDisabled:function(e){jy.getField(e).each(hf.disable)},onEnabled:function(e){jy.getField(e).each(hf.enable)}}),nv()])})}(e,t.shared.providers)})),colorinput:ES((function(e,t){return function(e,t,n){var r=jy.parts.field({factory:mO,inputClasses:["tox-textfield"],onSetValue:function(e){return zO.run(e).get(m)},inputBehaviours:Gs([hf.config({disabled:t.providers.isDisabled}),nv(),Yy.config({}),zO.config({invalidClass:"tox-textbox-field-invalid",getRoot:function(e){return Bt(e.element)},notify:{onValid:function(e){var t=Wu.getValue(e);Oi(e,ib,{color:t})}},validator:{validateOnLoad:!1,validate:function(e){var t=Wu.getValue(e);if(0===t.length)return SO(Xn.value(!0));var n=Me("span");Jt(n,"background-color",t);var r=on(n,"background-color").fold((function(){return Xn.error("blah")}),(function(e){return Xn.value(t)}));return SO(r)}}})]),selectOnFocus:!1}),o=e.label.map((function(e){return tO(e,t.providers)})),i=function(e,t){Oi(e,ab,{value:t})},a=zm(function(e,t){return nb.sketch({dom:e.dom,components:e.components,toggleClass:"mce-active",dropdownBehaviours:Gs([rv(t.providers.isDisabled),nv(),ob.config({}),Yy.config({})]),layouts:e.layouts,sandboxClasses:["tox-dialog__popups"],lazySink:t.getSink,fetch:function(n){return xO((function(t){return e.fetch(t)})).map((function(r){return z.from(Ty(nr(Ay(ji("menu-value"),r,(function(t){e.onItemAction(n,t)}),e.columns,e.presets,Cg.CLOSE_ON_EXECUTE,_,t.providers),{movement:yy(e.columns,e.presets)})))}))},parts:{menu:Wg(0,0,e.presets)}})}({dom:{tag:"span",attributes:{"aria-label":t.providers.translate("Color swatch")}},layouts:{onRtl:function(){return[$s,Ps,Ds]},onLtr:function(){return[Ps,$s,Ds]}},components:[],fetch:fy(n.getColors(),n.hasCustomColors()),columns:n.getColorCols(),presets:"color",onItemAction:function(e,t){a.getOpt(e).each((function(e){"custom"===t?n.colorPicker((function(t){t.fold((function(){return yi(e,sb)}),(function(t){i(e,t),ay(t)}))}),"#ffffff"):i(e,"remove"===t?"":t)}))}},t));return jy.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:o.toArray().concat([{dom:{tag:"div",classes:["tox-color-input"]},components:[r,a.asSpec()]}]),fieldBehaviours:Gs([Sp("form-field-events",[Bi(ib,(function(t,n){a.getOpt(t).each((function(e){Jt(e.element,"background-color",n.event.color)})),Oi(t,nO,{name:e.name})})),Bi(ab,(function(e,t){jy.getField(e).each((function(n){Wu.setValue(n,t.event.value),Kd.getCurrent(e).each(Tp.focus)}))})),Bi(sb,(function(e,t){jy.getField(e).each((function(t){Kd.getCurrent(e).each(Tp.focus)}))}))])])})}(e,t.shared,t.colorinput)})),colorpicker:ES((function(e){var t=function(e){return"tox-"+e},n=s_(d_,t),r=zm(n.sketch({dom:{tag:"div",classes:[t("color-picker-container")],attributes:{role:"presentation"}},onValidHex:function(e){Oi(e,iO,{name:"hex-valid",value:!0})},onInvalidHex:function(e){Oi(e,iO,{name:"hex-valid",value:!1})}}));return{dom:{tag:"div"},components:[r.asSpec()],behaviours:Gs([Wu.config({store:{mode:"manual",getValue:function(e){var t=r.get(e);return Kd.getCurrent(t).bind((function(e){return Wu.getValue(e).hex})).map((function(e){return"#"+e})).getOr("")},setValue:function(e,t){var n=/^#([a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?)/.exec(t),o=r.get(e);Kd.getCurrent(o).fold((function(){console.log("Can not find form")}),(function(e){Wu.setValue(e,{hex:z.from(n[1]).getOr("")}),t_.getField(e,"hex").each((function(e){yi(e,No())}))}))}}}),l_()])}})),dropzone:ES((function(e,t){return function(e,t){var n=function(e,t){t.stop()},r=function(e){return function(t,n){W(e,(function(e){e(t,n)}))}},o=function(e,t){if(!hf.isDisabled(e)){var n=t.event.raw;a(e,n.dataTransfer.files)}},i=function(e,t){var n=t.event.raw.target;a(e,n.files)},a=function(n,r){Wu.setValue(n,function(e,t){var n=h_.explode(t.getSetting("images_file_types","jpeg,jpg,jpe,jfi,jif,jfif,png,gif,bmp,webp","string"));return j(ce(e),(function(e){return V(n,(function(t){return Be(e.name.toLowerCase(),"."+t.toLowerCase())}))}))}(r,t)),Oi(n,nO,{name:e.name})},s=zm({dom:{tag:"input",attributes:{type:"file",accept:"image/*"},styles:{display:"none"}},behaviours:Gs([Sp("input-file-events",[$i(Vo()),$i(ei())])])}),l=e.label.map((function(e){return tO(e,t)})),c=jy.parts.field({factory:{sketch:function(e){return{uid:e.uid,dom:{tag:"div",classes:["tox-dropzone-container"]},behaviours:Gs([y_([]),l_(),hf.config({}),Up.config({toggleClass:"dragenter",toggleOnExecute:!1}),Sp("dropzone-events",[Bi("dragenter",r([n,Up.toggle])),Bi("dragleave",r([n,Up.toggle])),Bi("dragover",n),Bi("drop",r([n,o])),Bi(Lo(),i)])]),components:[{dom:{tag:"div",classes:["tox-dropzone"],styles:{}},components:[{dom:{tag:"p",innerHtml:t.translate("Drop an image here")}},Mm.sketch({dom:{tag:"button",innerHtml:t.translate("Browse for an image"),styles:{position:"relative"},classes:["tox-button","tox-button--secondary"]},components:[s.asSpec()],action:function(e){s.get(e).element.dom.click()},buttonBehaviours:Gs([Yy.config({}),rv(t.isDisabled),nv()])})]}]}}}});return Ky(l,c,["tox-form__group--stretched"],[])}(e,t.shared.providers)})),grid:ES((function(e,t){return function(e,t){return{dom:{tag:"div",classes:["tox-form__grid","tox-form__grid--"+e.columns+"col"]},components:H(e.items,t.interpreter)}}(e,t.shared)})),listbox:ES((function(e,t){return function(e,t){var n=t.shared.providers,r=se(e.items).filter(tS),o=e.label.map((function(e){return tO(e,n)})),i={dom:{tag:"div",classes:["tox-listboxfield"]},components:[jy.parts.field({dom:{},factory:{sketch:function(n){return mx({uid:n.uid,text:r.map((function(e){return e.text})),icon:z.none(),tooltip:e.label,role:z.none(),fetch:function(n,r){var o=rS(n,e.name,e.items,Wu.getValue(n));r(yx(o,Cg.CLOSE_ON_EXECUTE,t,!1))},onSetup:A(m),getApi:A({}),columns:1,presets:"normal",classes:[],dropdownBehaviours:[Yy.config({}),Wu.config({store:{mode:"manual",initialValue:r.map((function(e){return e.value})).getOr(""),getValue:function(e){return jt(e.element,nS)},setValue:function(t,n){oS(e.items,n).each((function(e){Wt(t.element,nS,e.value),Oi(t,hx,{text:e.text})}))}}})]},"tox-listbox",t.shared)}}})]};return jy.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:K([o.toArray(),[i]]),fieldBehaviours:Gs([hf.config({disabled:A(e.disabled),onDisabled:function(e){jy.getField(e).each(hf.disable)},onEnabled:function(e){jy.getField(e).each(hf.enable)}})])})}(e,t)})),selectbox:ES((function(e,t){return function(e,t){var n=H(e.items,(function(e){return{text:t.translate(e.text),value:e.value}})),r=e.label.map((function(e){return tO(e,t)})),o=jy.parts.field({dom:{},selectAttributes:{size:e.size},options:n,factory:iS,selectBehaviours:Gs([hf.config({disabled:function(){return e.disabled||t.isDisabled()}}),Yy.config({}),Sp("selectbox-change",[Bi(Lo(),(function(t,n){Oi(t,nO,{name:e.name})}))])])}),i=e.size>1?z.none():z.some(Wm("chevron-down",{tag:"div",classes:["tox-selectfield__icon-js"]},t.icons)),a={dom:{tag:"div",classes:["tox-selectfield"]},components:K([[o],i.toArray()])};return jy.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:K([r.toArray(),[a]]),fieldBehaviours:Gs([hf.config({disabled:function(){return e.disabled||t.isDisabled()},onDisabled:function(e){jy.getField(e).each(hf.disable)},onEnabled:function(e){jy.getField(e).each(hf.enable)}}),nv()])})}(e,t.shared.providers)})),sizeinput:ES((function(e,t){return Dx(e,t.shared.providers)})),urlinput:ES((function(e,t){return function(e,t,n){var r,o=t.shared.providers,i=function(t){var r=Wu.getValue(t);n.addToHistory(r.value,e.filetype)},a=jy.parts.field({factory:vS,dismissOnBlur:!0,inputClasses:["tox-textfield"],sandboxClasses:["tox-dialog__popups"],inputAttributes:{"aria-errormessage":TS,type:"url"},minChars:0,responseTime:0,fetch:function(r){var o=function(e,t,n){var r=Wu.getValue(t),o=void 0!==r.meta.text?r.meta.text:r.value;return n.getLinkInformation().fold((function(){return[]}),(function(t){var r,i=QS(o,function(e){return H(e,(function(e){return _S(e,e)}))}(n.getHistory(e)));return"file"===e?(r=[i,QS(o,SS(t)),QS(o,K([CS(t),kS(t),BS(t)]))],Z(r,(function(e,t){return 0===e.length||0===t.length?e.concat(t):e.concat(bS,t)}),[])):i}))}(e.filetype,r,n),i=yx(o,Cg.BUBBLE_TO_SANDBOX,t,!1);return SO(i)},getHotspot:function(e){return f.getOpt(e)},onSetValue:function(e,t){e.hasConfigured(zO)&&zO.run(e).get(m)},typeaheadBehaviours:Gs(K([n.getValidationHandler().map((function(t){return zO.config({getRoot:function(e){return Bt(e.element)},invalidClass:"tox-control-wrap--status-invalid",notify:{onInvalid:function(e,t){l.getOpt(e).each((function(e){Wt(e.element,"title",o.translate(t))}))}},validator:{validate:function(n){var r=Wu.getValue(n);return OS((function(n){t({type:e.filetype,url:r.value},(function(e){if("invalid"===e.status){var t=Xn.error(e.message);n(t)}else{var r=Xn.value(e.message);n(r)}}))}))},validateOnLoad:!1}})})).toArray(),[hf.config({disabled:function(){return e.disabled||o.isDisabled()}}),Yy.config({}),Sp("urlinput-events",K(["file"===e.filetype?[Bi(No(),(function(t){Oi(t,nO,{name:e.name})}))]:[],[Bi(Lo(),(function(t){Oi(t,nO,{name:e.name}),i(t)})),Bi(Yo(),(function(t){Oi(t,nO,{name:e.name}),i(t)}))]]))]])),eventOrder:(r={},r[No()]=["streaming","urlinput-events","invalidating"],r),model:{getDisplayText:function(e){return e.value},selectsOver:!1,populateFromBrowse:!1},markers:{openClass:"tox-textfield--popup-open"},lazySink:t.shared.getSink,parts:{menu:Wg(0,0,"normal")},onExecute:function(e,t,n){Oi(t,aO,{})},onItemExecute:function(t,n,r,o){i(t),Oi(t,nO,{name:e.name})}}),s=e.label.map((function(e){return tO(e,o)})),l=zm(function(e,t,n,r){return void 0===n&&(n=e),void 0===r&&(r=e),Wm(n,{tag:"div",classes:["tox-icon","tox-control-wrap__status-icon-"+e],attributes:k({title:o.translate(r),"aria-live":"polite"},t.fold((function(){return{}}),(function(e){return{id:e}})))},o.icons)}("invalid",z.some(TS),"warning")),c=zm({dom:{tag:"div",classes:["tox-control-wrap__status-icon-wrap"]},components:[l.asSpec()]}),u=n.getUrlPicker(e.filetype),d=ji("browser.url.event"),f=zm({dom:{tag:"div",classes:["tox-control-wrap"]},components:[a,c.asSpec()],behaviours:Gs([hf.config({disabled:function(){return e.disabled||o.isDisabled()}})])}),h=zm(Cx({name:e.name,icon:z.some("browse"),text:e.label.getOr(""),disabled:e.disabled,primary:!1,borderless:!0},(function(e){return yi(e,d)}),o,[],["tox-browse-url"]));return jy.sketch({dom:eO([]),components:s.toArray().concat([{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:K([[f.asSpec()],u.map((function(){return h.asSpec()})).toArray()])}]),fieldBehaviours:Gs([hf.config({disabled:function(){return e.disabled||o.isDisabled()},onDisabled:function(e){jy.getField(e).each(hf.disable),h.getOpt(e).each(hf.disable)},onEnabled:function(e){jy.getField(e).each(hf.enable),h.getOpt(e).each(hf.enable)}}),nv(),Sp("url-input-events",[Bi(d,(function(t){Kd.getCurrent(t).each((function(n){var r=Wu.getValue(n),o=k({fieldname:e.name},r);u.each((function(r){r(o).get((function(r){Wu.setValue(n,r),Oi(t,nO,{name:e.name})}))}))}))}))])])})}(e,t,t.urlinput)})),customeditor:ES((function(e){var t=Ql(),n=zm({dom:{tag:e.tag}}),r=Ql();return{dom:{tag:"div",classes:["tox-custom-editor"]},behaviours:Gs([Sp("custom-editor-events",[Ri((function(o){n.getOpt(o).each((function(n){(!function(e){return Oe(e,"init")}(e)?f_.load(e.scriptId,e.scriptUrl).then((function(t){return t(n.element.dom,e.settings)})):e.init(n.element.dom)).then((function(e){r.on((function(t){e.setValue(t)})),r.clear(),t.set(e)}))}))}))]),Wu.config({store:{mode:"manual",getValue:function(){return t.get().fold((function(){return r.get().getOr("")}),(function(e){return e.getValue()}))},setValue:function(e,n){t.get().fold((function(){r.set(n)}),(function(e){return e.setValue(n)}))}}}),l_()]),components:[n.asSpec()]}})),htmlpanel:ES((function(e){return"presentation"===e.presets?Fy.sketch({dom:{tag:"div",classes:["tox-form__group"],innerHtml:e.html}}):Fy.sketch({dom:{tag:"div",classes:["tox-form__group"],innerHtml:e.html,attributes:{role:"document"}},containerBehaviours:Gs([Yy.config({}),Tp.config({})])})})),imagetools:ES((function(e,t){return eS(e,t.shared.providers)})),table:ES((function(e,t){return function(e,t){var n,r,o=function(e){return{dom:{tag:"td",innerHtml:t.translate(e)}}};return{dom:{tag:"table",classes:["tox-dialog__table"]},components:[(r=e.header,{dom:{tag:"thead"},components:[{dom:{tag:"tr"},components:H(r,(function(e){return{dom:{tag:"th",innerHtml:t.translate(e)}}}))}]}),(n=e.cells,{dom:{tag:"tbody"},components:H(n,(function(e){return{dom:{tag:"tr"},components:H(e,o)}}))})],behaviours:Gs([Yy.config({}),Tp.config({})])}}(e,t.shared.providers)})),panel:ES((function(e,t){return function(e,t){return{dom:{tag:"div",classes:e.classes},components:H(e.items,t.shared.interpreter)}}(e,t)}))},$S={field:function(e,t){return t}},MS=function(e,t,n){var r=nr(n,{shared:{interpreter:function(t){return zS(e,t,r)}}});return zS(e,t,r)},zS=function(e,t,n){return ye(PS,t.type).fold((function(){return console.error('Unknown factory type "'+t.type+'", defaulting to container: ',t),t}),(function(r){return r(e,t,n)}))},RS={valignCentre:[],alignCentre:[],alignLeft:[],alignRight:[],right:[],left:[],bottom:[],top:[]},DS=function(e,t,n){var r={maxHeightFunction:Nl()};return function(){return n()?{type:"node",root:It(e()),node:z.from(e()),bubble:Fl(12,12,RS),layouts:{onRtl:function(){return[xm]},onLtr:function(){return[_m]}},overrides:r}:{type:"hotspot",hotspot:t(),bubble:Fl(-12,12,RS),layouts:{onRtl:function(){return[Ps]},onLtr:function(){return[$s]}},overrides:r}}},IS=function(e,t,n){return function(){return n()?{type:"node",root:It(e()),node:z.from(e()),layouts:{onRtl:function(){return[Sm]},onLtr:function(){return[Sm]}}}:{type:"hotspot",hotspot:t(),layouts:{onRtl:function(){return[Ds]},onLtr:function(){return[Ds]}}}}},NS=function(e,t){return function(){return{type:"selection",root:t(),getSelection:function(){var t=e.selection.getRng();return z.some(mc.range(Re(t.startContainer),t.startOffset,Re(t.endContainer),t.endOffset))}}}},LS=function(e){return function(t){return{type:"node",root:e(),node:t}}},VS=function(e,t,n){var r=HA(e),o=function(){return Re(e.getBody())},i=function(){return Re(e.getContentAreaContainer())},a=function(){return r||!n()};return{inlineDialog:DS(i,t,a),banner:IS(i,t,a),cursor:NS(e,o),node:LS(o)}},US=function(e){return function(t,n){gy(e)(t,n)}},FS=function(e){return function(){return oy(e)}},HS=function(e){return function(){return iy(e)}},WS=function(e){return function(){return ly(e)}},XS=function(e){return{colorPicker:US(e),hasCustomColors:FS(e),getColors:HS(e),getColorCols:WS(e)}},jS=function(e){return function(){return function(e){return e.getParam("draggable_modal",!1,"boolean")}(e)}},qS=function(e){return{isDraggableModal:jS(e)}},ZS=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",format:"bold"},{title:"Italic",format:"italic"},{title:"Underline",format:"underline"},{title:"Strikethrough",format:"strikethrough"},{title:"Superscript",format:"superscript"},{title:"Subscript",format:"subscript"},{title:"Code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Align",items:[{title:"Left",format:"alignleft"},{title:"Center",format:"aligncenter"},{title:"Right",format:"alignright"},{title:"Justify",format:"alignjustify"}]}],YS=function(e){return Z(e,(function(e,t){if(Oe(t,"items")){var n=YS(t.items);return{customFormats:e.customFormats.concat(n.customFormats),formats:e.formats.concat([{title:t.title,items:n.formats}])}}if(Oe(t,"inline")||function(e){return Oe(e,"block")}(t)||function(e){return Oe(e,"selector")}(t)){var r="custom-"+(o(t.name)?t.name:t.title.toLowerCase());return{customFormats:e.customFormats.concat([{name:r,format:t}]),formats:e.formats.concat([{title:t.title,format:r,icon:t.icon}])}}return k(k({},e),{formats:e.formats.concat(t)})}),{customFormats:[],formats:[]})},GS=function(e){return function(e){return z.from(e.getParam("style_formats")).filter(a)}(e).map((function(t){var n=function(e,t){var n=YS(t),r=function(t){W(t,(function(t){e.formatter.has(t.name)||e.formatter.register(t.name,t.format)}))};return e.formatter?r(n.customFormats):e.on("init",(function(){r(n.customFormats)})),n.formats}(e,t);return function(e){return e.getParam("style_formats_merge",!1,"boolean")}(e)?ZS.concat(n):n})).getOr(ZS)},KS=function(e,t,n){var r={type:"formatter",isSelected:t(e.format),getStylePreview:n(e.format)};return nr(e,r)},JS=function(e,t,n,r){var i=function(t){return H(t,(function(t){var a=de(t);if(be(t,"items")){var s=i(t.items);return nr(function(e){return nr(e,{type:"submenu"})}(t),{getStyleItems:A(s)})}return be(t,"format")?function(e){return KS(e,n,r)}(t):1===a.length&&L(a,"title")?nr(t,{type:"separator"}):function(t){var i=o(t.name)?t.name:ji(t.title),a="custom-"+i,s={type:"formatter",format:a,isSelected:n(a),getStylePreview:r(a)},l=nr(t,s);return e.formatter.register(i,l),l}(t)}))};return i(t)},ek=function(e){var t=function(t){return function(){return e.formatter.match(t)}},n=function(t){return function(){var n=e.formatter.get(t);return void 0!==n?z.some({tag:n.length>0&&(n[0].inline||n[0].block)||"div",styles:e.dom.parseStyle(e.formatter.getCssText(t))}):z.none()}},r=function(e){var t=e.items;return void 0!==t&&t.length>0?J(t,r):[e.format]},o=ho([]),i=ho([]),a=ho([]),s=ho([]),l=ho(!1);return e.on("PreInit",(function(a){var s=GS(e),l=JS(e,s,t,n);o.set(l),i.set(J(l,r))})),e.on("addStyleModifications",(function(o){var i=JS(e,o.items,t,n);a.set(i),l.set(o.replace),s.set(J(i,r))})),{getData:function(){var e=l.get()?[]:o.get(),t=a.get();return e.concat(t)},getFlattenedKeys:function(){var e=l.get()?[]:i.get(),t=s.get();return e.concat(t)}}},tk=h_.trim,nk=function(e){return function(t){if(function(e){return d(e)&&1===e.nodeType}(t)){if(t.contentEditable===e)return!0;if(t.getAttribute("data-mce-contenteditable")===e)return!0}return!1}},rk=nk("true"),ok=nk("false"),ik=function(e,t,n,r,o){return{type:e,title:t,url:n,level:r,attach:o}},ak=function(e){return e.innerText||e.textContent},sk=function(e){return function(e){return e&&"A"===e.nodeName&&void 0!==(e.id||e.name)}(e)&&ck(e)},lk=function(e){return e&&/^(H[1-6])$/.test(e.nodeName)},ck=function(e){return function(e){for(;e=e.parentNode;){var t=e.contentEditable;if(t&&"inherit"!==t)return rk(e)}return!1}(e)&&!ok(e)},uk=function(e){return lk(e)&&ck(e)},dk=function(e){var t=function(e){return e.id?e.id:ji("h")}(e);return ik("header",ak(e),"#"+t,function(e){return lk(e)?parseInt(e.nodeName.substr(1),10):0}(e),(function(){e.id=t}))},fk=function(e){var t=e.id||e.name,n=ak(e);return ik("anchor",n||"#"+t,"#"+t,0,m)},hk=function(e){return tk(e.title).length>0},pk=function(e){var t=function(e){var t=H(Cc(Re(e),"h1,h2,h3,h4,h5,h6,a:not([href])"),(function(e){return e.dom}));return t}(e);return j(function(e){return H(j(e,uk),dk)}(t).concat(function(e){return H(j(e,sk),fk)}(t)),hk)},mk="tinymce-url-history",gk=function(e){return o(e)&&/^https?/.test(e)},Ak=function(e){return i(e)&&Ae(e,(function(e){return!(a(t=e)&&t.length<=5&&ee(t,gk));var t})).isNone()},vk=function(){var e,t=Jv.getItem(mk);if(null===t)return{};try{e=JSON.parse(t)}catch(e){if(e instanceof SyntaxError)return console.log("Local storage "+mk+" was not valid JSON",e),{};throw e}return Ak(e)?e:(console.log("Local storage "+mk+" was not valid format",e),{})},yk=function(e){var t=vk();return ye(t,e).getOr([])},Ok=function(e,t){if(gk(e)){var n=vk(),r=ye(n,t).getOr([]),o=j(r,(function(t){return t!==e}));n[t]=[e].concat(o).slice(0,5),function(e){if(!Ak(e))throw new Error("Bad format for history:\n"+JSON.stringify(e));Jv.setItem(mk,JSON.stringify(e))}(n)}},bk=function(e){return!!e},wk=function(e){return pe(h_.makeMap(e,/[, ]/),bk)},_k=function(e){return z.from(function(e){return e.getParam("file_picker_callback")}(e)).filter(f)},xk=function(e){return z.from(e).filter(o).getOrUndefined()},Sk=function(e){return{getHistory:yk,addToHistory:Ok,getLinkInformation:function(){return function(e){return function(e){return!1===e.getParam("typeahead_urls")}(e)?z.none():z.some({targets:pk(e.getBody()),anchorTop:xk(YA(e)),anchorBottom:xk(GA(e))})}(e)},getValidationHandler:function(){return function(e){return z.from(function(e){var t=e.getParam("file_picker_validator_handler",void 0,"function");return void 0===t?e.getParam("filepicker_validator_handler",void 0,"function"):t}(e))}(e)},getUrlPicker:function(t){return function(e,t){return function(e,t){var n=function(e){var t=z.some(function(e){return e.getParam("file_picker_types")}(e)).filter(bk),n=z.some(function(e){return e.getParam("file_browser_callback_types")}(e)).filter(bk),r=t.or(n).map(wk);return _k(e).fold(_,(function(e){return r.fold(x,(function(e){return de(e).length>0&&e}))}))}(e);return l(n)?n?_k(e):z.none():n[t]?_k(e):z.none()}(e,t).map((function(n){return function(r){return xO((function(a){var s=k({filetype:t,fieldname:r.fieldname},z.from(r.meta).getOr({}));n.call(e,(function(e,t){if(!o(e))throw new Error("Expected value to be string");if(void 0!==t&&!i(t))throw new Error("Expected meta to be a object");a({value:e,meta:t})}),r.value,s)}))}}))}(e,t)}}},kk=Vd,Ck=xd,Bk=A([ro("shell",!1),Vr("makeItem"),ro("setupItem",m),Zu("listBehaviours",[xp])]),Qk=bd({name:"items",overrides:function(){return{behaviours:Gs([xp.config({})])}}}),Tk=A([Qk]),Ek=qd({name:A("CustomList")(),configFields:Bk(),partFields:Tk(),factory:function(e,t,n,r){var o=e.shell?{behaviours:[xp.config({})],components:[]}:{behaviours:[],components:t};return{uid:e.uid,dom:e.dom,components:o.components,behaviours:qu(e.listBehaviours,o.behaviours),apis:{setItems:function(t,n){var r;(r=t,e.shell?z.some(r):$d(r,e,"items")).fold((function(){throw console.error("Custom List was defined to not be a shell, but no item container was specified in components"),new Error("Custom List was defined to not be a shell, but no item container was specified in components")}),(function(r){var o=xp.contents(r),i=n.length,a=i-o.length,s=a>0?U(a,(function(){return e.makeItem()})):[],l=o.slice(i);W(l,(function(e){return xp.remove(r,e)})),W(s,(function(e){return xp.append(r,e)}));var c=xp.contents(r);W(c,(function(r,o){e.setupItem(t,r,n[o],o)}))}))}}}},apis:{setItems:function(e,t,n){e.setItems(t,n)}}}),Pk=A([Vr("dom"),ro("shell",!0),Xu("toolbarBehaviours",[xp])]),$k=A([bd({name:"groups",overrides:function(){return{behaviours:Gs([xp.config({})])}}})]),Mk=qd({name:"Toolbar",configFields:Pk(),partFields:$k(),factory:function(e,t,n,r){var o=e.shell?{behaviours:[xp.config({})],components:[]}:{behaviours:[],components:t};return{uid:e.uid,dom:e.dom,components:o.components,behaviours:qu(e.toolbarBehaviours,o.behaviours),apis:{setGroups:function(t,n){var r;(r=t,e.shell?z.some(r):$d(r,e,"groups")).fold((function(){throw console.error("Toolbar was defined to not be a shell, but no groups container was specified in components"),new Error("Toolbar was defined to not be a shell, but no groups container was specified in components")}),(function(e){xp.set(e,n)}))}},domModification:{attributes:{role:"group"}}}},apis:{setGroups:function(e,t,n){e.setGroups(t,n)}}}),zk=m,Rk=_,Dk=A([]),Ik=Object.freeze({__proto__:null,setup:zk,isDocked:Rk,getBehaviours:Dk}),Nk=function(e){return(we(on(e,"position"),"fixed")?z.none():Qt(e)).orThunk((function(){var t=Me("span");return Bt(e).bind((function(e){Bn(e,t);var n=Qt(t);return En(t),n}))}))},Lk=function(e){return Nk(e).map(An).getOrThunk((function(){return mn(0,0)}))},Vk=po([{static:[]},{absolute:["positionCss"]},{fixed:["positionCss"]}]),Uk=function(e,t){var n=e.element;wa(n,t.transitionClass),_a(n,t.fadeOutClass),wa(n,t.fadeInClass),t.onShow(e)},Fk=function(e,t){var n=e.element;wa(n,t.transitionClass),_a(n,t.fadeInClass),wa(n,t.fadeOutClass),t.onHide(e)},Hk=function(e,t,n){return ee(e,(function(e){switch(e){case"bottom":return function(e,t){return e.bottom<=t.bottom}(t,n);case"top":return function(e,t){return e.y>=t.y}(t,n)}}))},Wk=function(e,t){return t.getInitialPos().map((function(t){return Ln(t.bounds.x,t.bounds.y,On(e),fn(e))}))},Xk=function(e,t,n){return n.getInitialPos().bind((function(r){switch(n.clearInitialPos(),r.position){case"static":return z.some(Vk.static());case"absolute":var o=Nk(e).map(Vn).getOrThunk((function(){return Vn(Ut())}));return z.some(Vk.absolute(dl("absolute",ye(r.style,"left").map((function(e){return t.x-o.x})),ye(r.style,"top").map((function(e){return t.y-o.y})),ye(r.style,"right").map((function(e){return o.right-t.right})),ye(r.style,"bottom").map((function(e){return o.bottom-t.bottom})))));default:return z.none()}}))},jk=function(e,t,n){var r=e.element;return we(on(r,"position"),"fixed")?function(e,t,n){return Wk(e,n).filter((function(e){return Hk(n.getModes(),e,t)})).bind((function(t){return Xk(e,t,n)}))}(r,t,n):function(e,t,n){var r=Vn(e);if(Hk(n.getModes(),r,t))return z.none();!function(e,t,n){n.setInitialPos({style:an(e),position:nn(e,"position")||"static",bounds:t})}(e,r,n);var o=Fn(),i=r.x-o.x,a=t.y-o.y,s=o.bottom-t.bottom,l=r.y<=t.y;return z.some(Vk.fixed(dl("fixed",z.some(i),l?z.some(a):z.none(),z.none(),l?z.none():z.some(s))))}(r,t,n)},qk=function(e,t,n){n.setDocked(!1),W(["left","right","top","bottom","position"],(function(t){return ln(e.element,t)})),t.onUndocked(e)},Zk=function(e,t,n,r){var o="fixed"===r.position;n.setDocked(o),fl(e.element,r),(o?t.onDocked:t.onUndocked)(e)},Yk=function(e,t,n,r,o){void 0===o&&(o=!1),t.contextual.each((function(t){t.lazyContext(e).each((function(i){var a=function(e,t){return e.y<t.bottom&&e.bottom>t.y}(i,r);a!==n.isVisible()&&(n.setVisible(a),o&&!a?(Sa(e.element,[t.fadeOutClass]),t.onHide(e)):(a?Uk:Fk)(e,t))}))}))},Gk=function(e,t,n){e.getSystem().isConnected()&&function(e,t,n){var r=t.lazyViewport(e);n.isDocked()&&Yk(e,t,n,r),jk(e,r,n).each((function(o){o.fold((function(){return qk(e,t,n)}),(function(r){return Zk(e,t,n,r)}),(function(o){Yk(e,t,n,r,!0),Zk(e,t,n,o)}))}))}(e,t,n)},Kk=function(e,t,n){n.isDocked()&&function(e,t,n){var r=e.element;n.setDocked(!1),function(e,t){var n=e.element;return Wk(n,t).bind((function(e){return Xk(n,e,t)}))}(e,n).each((function(r){r.fold((function(){return qk(e,t,n)}),(function(r){return Zk(e,t,n,r)}),m)})),n.setVisible(!0),t.contextual.each((function(t){ka(r,[t.fadeInClass,t.fadeOutClass,t.transitionClass]),t.onShow(e)})),Gk(e,t,n)}(e,t,n)},Jk=Object.freeze({__proto__:null,refresh:Gk,reset:Kk,isDocked:function(e,t,n){return n.isDocked()},getModes:function(e,t,n){return n.getModes()},setModes:function(e,t,n,r){return n.setModes(r)}}),eC=Object.freeze({__proto__:null,events:function(e,t){return Si([zi(Fo(),(function(n,r){e.contextual.each((function(e){xa(n.element,e.transitionClass)&&(ka(n.element,[e.transitionClass,e.fadeInClass]),(t.isVisible()?e.onShown:e.onHidden)(n)),r.stop()}))})),Bi(si(),(function(n,r){Gk(n,e,t)})),Bi(li(),(function(n,r){Kk(n,e,t)}))])}}),tC=[no("contextual",[Hr("fadeInClass"),Hr("fadeOutClass"),Hr("transitionClass"),Xr("lazyContext"),is("onShow"),is("onShown"),is("onHide"),is("onHidden")]),co("lazyViewport",Fn),uo("modes",["top","bottom"],Sr),is("onDocked"),is("onUndocked")],nC=Js({fields:tC,name:"docking",active:eC,apis:Jk,state:Object.freeze({__proto__:null,init:function(e){var t=ho(!1),n=ho(!0),r=Ql(),o=ho(e.modes);return ua({isDocked:t.get,setDocked:t.set,getInitialPos:r.get,setInitialPos:r.set,clearInitialPos:r.clear,isVisible:n.get,setVisible:n.set,getModes:o.get,setModes:o.set,readState:function(){return"docked: "+t.get()+", visible: "+n.get()+", modes: "+o.get().join(",")}})}})}),rC=A(ji("toolbar-height-change")),oC={fadeInClass:"tox-editor-dock-fadein",fadeOutClass:"tox-editor-dock-fadeout",transitionClass:"tox-editor-dock-transition"},iC="tox-tinymce--toolbar-sticky-on",aC="tox-tinymce--toolbar-sticky-off",sC=function(e,t){return L(nC.getModes(e),t)},lC=function(e){var t=e.element;Bt(t).each((function(n){var r="padding-"+nC.getModes(e)[0];if(nC.isDocked(e)){var o=On(n);Jt(t,"width",o+"px"),Jt(n,r,function(e){return hn(e)+(parseInt(nn(e,"margin-top"),10)||0)+(parseInt(nn(e,"margin-bottom"),10)||0)}(t)+"px")}else ln(t,"width"),ln(n,r)}))},cC=function(e,t){t?(_a(e,oC.fadeOutClass),Sa(e,[oC.transitionClass,oC.fadeInClass])):(_a(e,oC.fadeInClass),Sa(e,[oC.fadeOutClass,oC.transitionClass]))},uC=function(e,t){var n=Re(e.getContainer());t?(wa(n,iC),_a(n,aC)):(wa(n,aC),_a(n,iC))},dC=function(e,t){var n=Ql(),r=t.getSink,o=function(e){r().each((function(t){return e(t.element)}))},i=function(t){e.inline||lC(t),uC(e,nC.isDocked(t)),t.getSystem().broadcastOn([Cu()],{}),r().each((function(e){return e.getSystem().broadcastOn([Cu()],{})}))},a=e.inline?[]:function(){var e;return[rl.config({channels:(e={},e[rC()]={onReceive:lC},e)})]}();return B([Tp.config({}),nC.config({contextual:k({lazyContext:function(t){var n=hn(t.element),r=e.inline?e.getContentAreaContainer():e.getContainer(),o=Vn(Re(r)),i=o.height-n,a=o.y+(sC(t,"top")?0:n);return z.some(Ln(o.x,a,o.width,i))},onShow:function(){o((function(e){return cC(e,!0)}))},onShown:function(e){o((function(e){return ka(e,[oC.transitionClass,oC.fadeInClass])})),n.get().each((function(t){var r,o,i;r=e.element,i=xt(o=t),ll(i).filter((function(e){return!wt(o,e)})).filter((function(e){return wt(e,Re(i.dom.body))||_t(r,e)})).each((function(){return al(o)})),n.clear()}))},onHide:function(e){(function(e,t){return cl(e).orThunk((function(){return t().toOptional().bind((function(e){return cl(e.element)}))}))})(e.element,r).fold(n.clear,n.set),o((function(e){return cC(e,!1)}))},onHidden:function(){o((function(e){return ka(e,[oC.transitionClass])}))}},oC),lazyViewport:function(t){var n=Fn(),r=function(e){return e.getParam("toolbar_sticky_offset",0,"number")}(e),o=n.y+(sC(t,"top")?r:0),i=n.height-(sC(t,"bottom")?r:0);return Ln(n.x,o,n.width,i)},modes:[t.header.getDockingMode()],onDocked:i,onUndocked:i})],a,!0)},fC=Object.freeze({__proto__:null,setup:function(e,t,n){e.inline||(t.header.isPositionedAtTop()||e.on("ResizeEditor",(function(){n().each(nC.reset)})),e.on("ResizeWindow ResizeEditor",(function(){n().each(lC)})),e.on("SkinLoaded",(function(){n().each((function(e){nC.isDocked(e)?nC.reset(e):nC.refresh(e)}))})),e.on("FullscreenStateChanged",(function(){n().each(nC.reset)}))),e.on("AfterScrollIntoView",(function(e){n().each((function(t){nC.refresh(t);var n=t.element;fh(n)&&function(e,t){var n=xt(t),r=n.dom.defaultView.innerHeight,o=$n(n),i=Re(e.elm),a=Un(i),s=fn(i),l=a.y,c=l+s,u=An(t),d=fn(t),f=u.top,h=f+d,p=Math.abs(f-o.top)<2,m=Math.abs(h-(o.top+r))<2;if(p&&l<h)Mn(o.left,l-d,n);else if(m&&c>f){var g=l-r+s+d;Mn(o.left,g,n)}}(e,n)}))})),e.on("PostRender",(function(){uC(e,!1)}))},isDocked:function(e){return e().map(nC.isDocked).getOr(!1)},getBehaviours:dC}),hC=Ar([Hr("type"),Ur("items",yr([br([Hr("name"),Zr("items",Sr)]),Sr]))].concat(fg)),pC=[Jr("text"),Jr("tooltip"),Jr("icon"),Xr("fetch"),co("onSetup",(function(){return m}))],mC=Ar(B([Hr("type")],pC,!0)),gC=function(e){return $r("menubutton",mC,e)},AC=Ar([Hr("type"),Jr("tooltip"),Jr("icon"),Jr("text"),eo("select"),Xr("fetch"),co("onSetup",(function(){return m})),so("presets","normal",["normal","color","listpreview"]),ro("columns",1),Xr("onAction"),Xr("onItemAction")]),vC=jd({factory:function(e,t){var n={focus:vp.focusIn,setMenus:function(e,n){var r=H(n,(function(e){var n={type:"menubutton",text:e.text,fetch:function(t){t(e.getItems())}},r=gC(n).mapError((function(e){return Rr(e)})).getOrDie();return bx(r,"tox-mbtn",t.backstage,z.some("menuitem"))}));xp.set(e,r)}};return{uid:e.uid,dom:e.dom,components:[],behaviours:Gs([xp.config({}),Sp("menubar-events",[Ri((function(t){e.onSetup(t)})),Bi(Mo(),(function(e,t){Ha(e.element,".tox-mbtn--active").each((function(n){Wa(t.event.target,".tox-mbtn").each((function(t){wt(n,t)||e.getSystem().getByDom(n).each((function(n){e.getSystem().getByDom(t).each((function(e){nb.expand(e),nb.close(n),Tp.focus(e)}))}))}))}))})),Bi(hi(),(function(e,t){t.event.prevFocus.bind((function(t){return e.getSystem().getByDom(t).toOptional()})).each((function(n){t.event.newFocus.bind((function(t){return e.getSystem().getByDom(t).toOptional()})).each((function(e){nb.isOpen(n)&&(nb.expand(e),nb.close(n))}))}))}))]),vp.config({mode:"flow",selector:".tox-mbtn",onEscape:function(t){return e.onEscape(t),z.some(!0)}}),Yy.config({})]),apis:n,domModification:{attributes:{role:"menubar"}}}},name:"silver.Menubar",configFields:[Vr("dom"),Vr("uid"),Vr("onEscape"),Vr("backstage"),ro("onSetup",m)],apis:{focus:function(e,t){e.focus(t)},setMenus:function(e,t,n){e.setMenus(t,n)}}}),yC=function(e,t){return t.getAnimationRoot.fold((function(){return e.element}),(function(t){return t(e)}))},OC=function(e){return e.dimension.property},bC=function(e,t){return e.dimension.getDimension(t)},wC=function(e,t){var n=yC(e,t);ka(n,[t.shrinkingClass,t.growingClass])},_C=function(e,t){_a(e.element,t.openClass),wa(e.element,t.closedClass),Jt(e.element,OC(t),"0px"),cn(e.element)},xC=function(e,t){_a(e.element,t.closedClass),wa(e.element,t.openClass),ln(e.element,OC(t))},SC=function(e,t,n,r){n.setCollapsed(),Jt(e.element,OC(t),bC(t,e.element)),cn(e.element),wC(e,t),_C(e,t),t.onStartShrink(e),t.onShrunk(e)},kC=function(e,t,n,r){var o=r.getOrThunk((function(){return bC(t,e.element)}));n.setCollapsed(),Jt(e.element,OC(t),o),cn(e.element);var i=yC(e,t);_a(i,t.growingClass),wa(i,t.shrinkingClass),_C(e,t),t.onStartShrink(e)},CC=function(e,t,n){var r=bC(t,e.element);("0px"===r?SC:kC)(e,t,n,z.some(r))},BC=function(e,t,n){var r=yC(e,t),o=xa(r,t.shrinkingClass),i=bC(t,e.element);xC(e,t);var a=bC(t,e.element);(o?function(){Jt(e.element,OC(t),i),cn(e.element)}:function(){_C(e,t)})(),_a(r,t.shrinkingClass),wa(r,t.growingClass),xC(e,t),Jt(e.element,OC(t),a),n.setExpanded(),t.onStartGrow(e)},QC=function(e,t,n){var r=yC(e,t);return!0===xa(r,t.growingClass)},TC=function(e,t,n){var r=yC(e,t);return!0===xa(r,t.shrinkingClass)},EC=Object.freeze({__proto__:null,refresh:function(e,t,n){if(n.isExpanded()){ln(e.element,OC(t));var r=bC(t,e.element);Jt(e.element,OC(t),r)}},grow:function(e,t,n){n.isExpanded()||BC(e,t,n)},shrink:function(e,t,n){n.isExpanded()&&CC(e,t,n)},immediateShrink:function(e,t,n){n.isExpanded()&&SC(e,t,n)},hasGrown:function(e,t,n){return n.isExpanded()},hasShrunk:function(e,t,n){return n.isCollapsed()},isGrowing:QC,isShrinking:TC,isTransitioning:function(e,t,n){return QC(e,t)||TC(e,t)},toggleGrow:function(e,t,n){(n.isExpanded()?CC:BC)(e,t,n)},disableTransitions:wC}),PC=Object.freeze({__proto__:null,exhibit:function(e,t,n){var r=t.expanded;return fa(r?{classes:[t.openClass],styles:{}}:{classes:[t.closedClass],styles:Ao(t.dimension.property,"0px")})},events:function(e,t){return Si([zi(Fo(),(function(n,r){r.event.raw.propertyName===e.dimension.property&&(wC(n,e),t.isExpanded()&&ln(n.element,e.dimension.property),(t.isExpanded()?e.onGrown:e.onShrunk)(n))}))])}}),$C=[Vr("closedClass"),Vr("openClass"),Vr("shrinkingClass"),Vr("growingClass"),Yr("getAnimationRoot"),is("onShrunk"),is("onStartShrink"),is("onGrown"),is("onStartGrow"),ro("expanded",!1),Ur("dimension",Dr("property",{width:[cs("property","width"),cs("getDimension",(function(e){return On(e)+"px"}))],height:[cs("property","height"),cs("getDimension",(function(e){return fn(e)+"px"}))]}))],MC=Js({fields:$C,name:"sliding",active:PC,apis:EC,state:Object.freeze({__proto__:null,init:function(e){var t=ho(e.expanded);return ua({isExpanded:function(){return!0===t.get()},isCollapsed:function(){return!1===t.get()},setCollapsed:O(t.set,!1),setExpanded:O(t.set,!0),readState:function(){return"expanded: "+t.get()}})}})}),zC="container",RC=[Xu("slotBehaviours",[])],DC=function(e){return"<alloy.field."+e+">"},IC=function(e,t){var n,r=function(t){return Dd(e)},o=function(t,n){return function(r,o){return $d(r,e,o).map((function(e){return t(e,o)})).getOr(n)}},i=function(e,t){return"true"!==jt(e.element,"aria-hidden")},a=o(i,!1),s=o((function(e,t){if(i(e)){var n=e.element;Jt(n,"display","none"),Wt(n,"aria-hidden","true"),Oi(e,pi(),{name:t,visible:!1})}})),l=(n=s,function(e,t){W(t,(function(t){return n(e,t)}))}),c=o((function(e,t){if(!i(e)){var n=e.element;ln(n,"display"),Yt(n,"aria-hidden"),Oi(e,pi(),{name:t,visible:!0})}})),u={getSlotNames:r,getSlot:function(t,n){return $d(t,e,n)},isShowing:a,hideSlot:s,hideAllSlots:function(e){return l(e,r())},showSlot:c};return{uid:e.uid,dom:e.dom,components:t,behaviours:ju(e.slotBehaviours),apis:u}},NC=pe({getSlotNames:function(e,t){return e.getSlotNames(t)},getSlot:function(e,t,n){return e.getSlot(t,n)},isShowing:function(e,t,n){return e.isShowing(t,n)},hideSlot:function(e,t,n){return e.hideSlot(t,n)},hideAllSlots:function(e,t){return e.hideAllSlots(t)},showSlot:function(e,t,n){return e.showSlot(t,n)}},(function(e){return la(e)})),LC=k(k({},NC),{sketch:function(e){var t=function(){var e=[];return{slot:function(t,n){return e.push(t),Bd(zC,DC(t),n)},record:A(e)}}(),n=e(t),r=t.record(),o=H(r,(function(e){return yd({name:e,pname:DC(e)})}));return Fd(zC,RC,o,IC,n)}}),VC=Ar([Jr("icon"),Jr("tooltip"),co("onShow",m),co("onHide",m),co("onSetup",(function(){return m}))]),UC=function(e){return{element:function(){return e.element.dom}}},FC=function(e,t){var n=H(de(t),(function(e){var n=t[e],r=Mr(function(e){return $r("sidebar",VC,e)}(n));return{name:e,getApi:UC,onSetup:r.onSetup,onShow:r.onShow,onHide:r.onHide}}));return H(n,(function(t){var r=ho(m);return e.slot(t.name,{dom:{tag:"div",classes:["tox-sidebar__pane"]},behaviours:gA([sv(t,r),lv(t,r),Bi(pi(),(function(e,t){var r=t.event,o=Y(n,(function(e){return e.name===r.name}));o.each((function(t){(r.visible?t.onShow:t.onHide)(t.getApi(e))}))}))])})}))},HC=function(e){return LC.sketch((function(t){return{dom:{tag:"div",classes:["tox-sidebar__pane-container"]},components:FC(t,e),slotBehaviours:gA([Ri((function(e){return LC.hideAllSlots(e)}))])}}))},WC=function(e){return Kd.getCurrent(e).bind((function(e){return MC.isGrowing(e)||MC.hasGrown(e)?Kd.getCurrent(e).bind((function(e){return Y(LC.getSlotNames(e),(function(t){return LC.isShowing(e,t)}))})):z.none()}))},XC=ji("FixSizeEvent"),jC=ji("AutoSizeEvent"),qC=Object.freeze({__proto__:null,block:function(e,t,n,r){Wt(e.element,"aria-busy",!0);var o=t.getRoot(e).getOr(e),i=Gs([vp.config({mode:"special",onTab:function(){return z.some(!0)},onShiftTab:function(){return z.some(!0)}}),Tp.config({})]),a=r(o,i),s=o.getSystem().build(a);xp.append(o,Ra(s)),s.hasConfigured(vp)&&t.focus&&vp.focusIn(s),n.isBlocked()||t.onBlock(e),n.blockWith((function(){return xp.remove(o,s)}))},unblock:function(e,t,n){Yt(e.element,"aria-busy"),n.isBlocked()&&t.onUnblock(e),n.clear()}}),ZC=[co("getRoot",z.none),lo("focus",!0),is("onBlock"),is("onUnblock")],YC=Js({fields:ZC,name:"blocking",apis:qC,state:Object.freeze({__proto__:null,init:function(){var e=Cl();return ua({readState:e.isSet,blockWith:function(t){e.set({destroy:t})},clear:e.clear,isBlocked:e.isSet})}})}),GC=function(e){var t=$e(e),n=Tt(t),r=function(e){var t=void 0!==e.dom.attributes?e.dom.attributes:[];return Z(t,(function(e,t){var n;return"class"===t.name?e:k(k({},e),((n={})[t.name]=t.value,n))}),{})}(t),o=function(e){return Array.prototype.slice.call(e.dom.classList,0)}(t),i=0===n.length?{}:{innerHtml:Li(t)};return k({tag:Ie(t),classes:o,attributes:r},i)},KC=function(e){return Kd.getCurrent(e).each((function(e){return al(e.element)}))},JC=function(e,t,n){var r=ho(!1),o=Ql(),i=function(n){var o;!r.get()||function(e){return"focusin"===e.type}(o=n)&&(o.composed?se(o.composedPath()):z.from(o.target)).map(Re).filter(Le).exists((function(e){return xa(e,"mce-pastebin")}))||(n.preventDefault(),KC(t()),e.editorManager.setActive(e))};e.inline||e.on("PreInit",(function(){e.dom.bind(e.getWin(),"focusin",i),e.on("BeforeExecCommand",(function(e){"mcefocus"===e.command.toLowerCase()&&!0!==e.value&&i(e)}))}));var a=function(o){o!==r.get()&&(r.set(o),function(e,t,n,r){var o=t.element;if(function(e,t){var n="tabindex",r="data-mce-"+n;z.from(e.iframeElement).map(Re).each((function(e){t?(qt(e,n).each((function(t){return Wt(e,r,t)})),Wt(e,n,-1)):(Yt(e,n),qt(e,r).each((function(t){Wt(e,n,t),Yt(e,r)})))}))}(e,n),n)YC.block(t,function(e){return function(t,n){return{dom:{tag:"div",attributes:{"aria-label":e.translate("Loading..."),tabindex:"0"},classes:["tox-throbber__busy-spinner"]},components:[{dom:GC('<div class="tox-spinner"><div></div><div></div><div></div></div>')}]}}}(r)),ln(o,"display"),Yt(o,"aria-hidden"),e.hasFocus()&&KC(t);else{var i=Kd.getCurrent(t).exists((function(e){return sl(e.element)}));YC.unblock(t),Jt(o,"display","none"),Wt(o,"aria-hidden","true"),i&&e.focus()}}(e,t(),o,n.providers),e.fire("AfterProgressState",{state:o}))};e.on("ProgressState",(function(t){if(o.on($m.clearTimeout),h(t.time)){var n=$m.setEditorTimeout(e,(function(){return a(t.state)}),t.time);o.set(n)}else a(t.state),o.clear()}))},eB=function(e,t,n){return{within:e,extra:t,withinWidth:n}},tB=function(e,t,n){var r=Z(e,(function(e,t){return(r=t,o=e.len,i=n(r),z.some({element:r,start:o,finish:o+i,width:i})).fold(A(e),(function(t){return{len:t.finish,list:e.list.concat([t])}}));var r,o,i}),{len:0,list:[]}).list,o=j(r,(function(e){return e.finish<=t})),i=q(o,(function(e,t){return e+t.width}),0);return{within:o,extra:r.slice(o.length),withinWidth:i}},nB=function(e){return H(e,(function(e){return e.element}))},rB=function(e,t){var n=H(t,(function(e){return Ra(e)}));Mk.setGroups(e,n)},oB=function(e,t,n){var r=t.builtGroups.get();if(0!==r.length){var o=Md(e,t,"primary"),i=NO.getCoupled(e,"overflowGroup");Jt(o.element,"visibility","hidden");var a=r.concat([i]),s=ue(a,(function(e){return cl(e.element).bind((function(t){return e.getSystem().getByDom(t).toOptional()}))}));n([]),rB(o,a);var l=function(e,t,n,r){var o=function(e,t,n){var r=tB(t,e,n);return 0===r.extra.length?z.some(r):z.none()}(e,t,n).getOrThunk((function(){return tB(t,e-n(r),n)})),i=o.within,a=o.extra,s=o.withinWidth;return 1===a.length&&a[0].width<=n(r)?function(e,t,n){var r=nB(e.concat(t));return eB(r,[],n)}(i,a,s):a.length>=1?function(e,t,n,r){var o=nB(e).concat([n]);return eB(o,nB(t),r)}(i,a,r,s):function(e,t,n){return eB(nB(e),[],n)}(i,0,s)}(On(o.element),t.builtGroups.get(),(function(e){return On(e.element)}),i);0===l.extra.length?(xp.remove(o,i),n([])):(rB(o,l.within),n(l.extra)),ln(o.element,"visibility"),cn(o.element),s.each(Tp.focus)}},iB=A([Xu("splitToolbarBehaviours",[NO]),Nr("builtGroups",(function(){return ho([])}))]),aB=A([rs(["overflowToggledClass"]),eo("getOverflowBounds"),Vr("lazySink"),Nr("overflowGroups",(function(){return ho([])}))].concat(iB())),sB=A([yd({factory:Mk,schema:Pk(),name:"primary"}),Od({schema:Pk(),name:"overflow"}),Od({name:"overflow-button"}),Od({name:"overflow-group"})]),lB=A((function(e,t){!function(e,t){var n=yn.max(e,t,["margin-left","border-left-width","padding-left","padding-right","border-right-width","margin-right"]);Jt(e,"max-width",n+"px")}(e,Math.floor(t))})),cB=A([rs(["toggledClass"]),Vr("lazySink"),Xr("fetch"),eo("getBounds"),no("fireDismissalEventInstead",[ro("event",di())]),Yl()]),uB=A([Od({name:"button",overrides:function(e){return{dom:{attributes:{"aria-haspopup":"true"}},buttonBehaviours:Gs([Up.config({toggleClass:e.markers.toggledClass,aria:{mode:"expanded"},toggleOnExecute:!1})])}}}),Od({factory:Mk,schema:Pk(),name:"toolbar",overrides:function(e){return{toolbarBehaviours:Gs([vp.config({mode:"cyclic",onEscape:function(t){return $d(t,e,"button").each(Tp.focus),z.none()}})])}}})]),dB=function(e,t){var n=NO.getCoupled(e,"toolbarSandbox");Su.isOpen(n)?Su.close(n):Su.open(n,t.toolbar())},fB=function(e,t,n,r){var o=n.getBounds.map((function(e){return e()})),i=n.lazySink(e).getOrDie();nu.positionWithinBounds(i,t,{anchor:{type:"hotspot",hotspot:e,layouts:r,overrides:{maxWidthFunction:lB()}}},o)},hB=function(e,t,n,r,o){Mk.setGroups(t,o),fB(e,t,n,r),Up.on(e)},pB=qd({name:"FloatingToolbarButton",factory:function(e,t,n,r){return k(k({},Mm.sketch(k(k({},r.button()),{action:function(e){dB(e,r)},buttonBehaviours:Yu({dump:r.button().buttonBehaviours},[NO.config({others:{toolbarSandbox:function(t){return function(e,t,n){var r=Xa();return{dom:{tag:"div",attributes:{id:r.id}},behaviours:Gs([vp.config({mode:"special",onEscape:function(e){return Su.close(e),z.some(!0)}}),Su.config({onOpen:function(o,i){n.fetch().get((function(o){hB(e,i,n,t.layouts,o),r.link(e.element),vp.focusIn(i)}))},onClose:function(){Up.off(e),Tp.focus(e),r.unlink(e.element)},isPartOf:function(t,n,r){return ja(n,r)||ja(e,r)},getAttachPoint:function(){return n.lazySink(e).getOrDie()}}),rl.config({channels:k(k({},Tu(k({isExtraPart:_},n.fireDismissalEventInstead.map((function(e){return{fireEventInstead:{event:e.event}}})).getOr({})))),Pu({doReposition:function(){Su.getState(NO.getCoupled(e,"toolbarSandbox")).each((function(r){fB(e,r,n,t.layouts)}))}}))})])}}(t,n,e)}}})])}))),{apis:{setGroups:function(t,r){Su.getState(NO.getCoupled(t,"toolbarSandbox")).each((function(o){hB(t,o,e,n.layouts,r)}))},reposition:function(t){Su.getState(NO.getCoupled(t,"toolbarSandbox")).each((function(r){fB(t,r,e,n.layouts)}))},toggle:function(e){dB(e,r)},getToolbar:function(e){return Su.getState(NO.getCoupled(e,"toolbarSandbox"))},isOpen:function(e){return Su.isOpen(NO.getCoupled(e,"toolbarSandbox"))}}})},configFields:cB(),partFields:uB(),apis:{setGroups:function(e,t,n){e.setGroups(t,n)},reposition:function(e,t){e.reposition(t)},toggle:function(e,t){e.toggle(t)},getToolbar:function(e,t){return e.getToolbar(t)},isOpen:function(e,t){return e.isOpen(t)}}}),mB=A([Vr("items"),rs(["itemSelector"]),Xu("tgroupBehaviours",[vp])]),gB=A([wd({name:"items",unit:"item"})]),AB=qd({name:"ToolbarGroup",configFields:mB(),partFields:gB(),factory:function(e,t,n,r){return{uid:e.uid,dom:e.dom,components:t,behaviours:qu(e.tgroupBehaviours,[vp.config({mode:"flow",selector:e.markers.itemSelector})]),domModification:{attributes:{role:"toolbar"}}}}}),vB=function(e){return H(e,(function(e){return Ra(e)}))},yB=function(e,t,n){oB(e,n,(function(r){n.overflowGroups.set(r),t.getOpt(e).each((function(e){pB.setGroups(e,vB(r))}))}))},OB=qd({name:"SplitFloatingToolbar",configFields:aB(),partFields:sB(),factory:function(e,t,n,r){var o=zm(pB.sketch({fetch:function(){return xO((function(t){t(vB(e.overflowGroups.get()))}))},layouts:{onLtr:function(){return[$s,Ps]},onRtl:function(){return[Ps,$s]},onBottomLtr:function(){return[zs,Ms]},onBottomRtl:function(){return[Ms,zs]}},getBounds:n.getOverflowBounds,lazySink:e.lazySink,fireDismissalEventInstead:{},markers:{toggledClass:e.markers.overflowToggledClass},parts:{button:r["overflow-button"](),toolbar:r.overflow()}}));return{uid:e.uid,dom:e.dom,components:t,behaviours:qu(e.splitToolbarBehaviours,[NO.config({others:{overflowGroup:function(){return AB.sketch(k(k({},r["overflow-group"]()),{items:[o.asSpec()]}))}}})]),apis:{setGroups:function(t,n){e.builtGroups.set(H(n,t.getSystem().build)),yB(t,o,e)},refresh:function(t){return yB(t,o,e)},toggle:function(e){o.getOpt(e).each((function(e){pB.toggle(e)}))},isOpen:function(e){return o.getOpt(e).map(pB.isOpen).getOr(!1)},reposition:function(e){o.getOpt(e).each((function(e){pB.reposition(e)}))},getOverflow:function(e){return o.getOpt(e).bind(pB.getToolbar)}},domModification:{attributes:{role:"group"}}}},apis:{setGroups:function(e,t,n){e.setGroups(t,n)},refresh:function(e,t){e.refresh(t)},reposition:function(e,t){e.reposition(t)},toggle:function(e,t){e.toggle(t)},isOpen:function(e,t){return e.isOpen(t)},getOverflow:function(e,t){return e.getOverflow(t)}}}),bB=A([rs(["closedClass","openClass","shrinkingClass","growingClass","overflowToggledClass"]),is("onOpened"),is("onClosed")].concat(iB())),wB=A([yd({factory:Mk,schema:Pk(),name:"primary"}),yd({factory:Mk,schema:Pk(),name:"overflow",overrides:function(e){return{toolbarBehaviours:Gs([MC.config({dimension:{property:"height"},closedClass:e.markers.closedClass,openClass:e.markers.openClass,shrinkingClass:e.markers.shrinkingClass,growingClass:e.markers.growingClass,onShrunk:function(t){$d(t,e,"overflow-button").each((function(e){Up.off(e),Tp.focus(e)})),e.onClosed(t)},onGrown:function(t){vp.focusIn(t),e.onOpened(t)},onStartGrow:function(t){$d(t,e,"overflow-button").each(Up.on)}}),vp.config({mode:"acyclic",onEscape:function(t){return $d(t,e,"overflow-button").each(Tp.focus),z.some(!0)}})])}}}),Od({name:"overflow-button",overrides:function(e){return{buttonBehaviours:Gs([Up.config({toggleClass:e.markers.overflowToggledClass,aria:{mode:"pressed"},toggleOnExecute:!1})])}}}),Od({name:"overflow-group"})]),_B=function(e,t){$d(e,t,"overflow-button").bind((function(){return $d(e,t,"overflow")})).each((function(n){xB(e,t),MC.toggleGrow(n)}))},xB=function(e,t){$d(e,t,"overflow").each((function(n){oB(e,t,(function(e){var t=H(e,(function(e){return Ra(e)}));Mk.setGroups(n,t)})),$d(e,t,"overflow-button").each((function(e){MC.hasGrown(n)&&Up.on(e)})),MC.refresh(n)}))},SB=qd({name:"SplitSlidingToolbar",configFields:bB(),partFields:wB(),factory:function(e,t,n,r){var o="alloy.toolbar.toggle";return{uid:e.uid,dom:e.dom,components:t,behaviours:qu(e.splitToolbarBehaviours,[NO.config({others:{overflowGroup:function(e){return AB.sketch(k(k({},r["overflow-group"]()),{items:[Mm.sketch(k(k({},r["overflow-button"]()),{action:function(t){yi(e,o)}}))]}))}}}),Sp("toolbar-toggle-events",[Bi(o,(function(t){_B(t,e)}))])]),apis:{setGroups:function(t,n){!function(t,n){var r=H(n,t.getSystem().build);e.builtGroups.set(r)}(t,n),xB(t,e)},refresh:function(t){return xB(t,e)},toggle:function(t){return _B(t,e)},isOpen:function(t){return function(e,t){return $d(e,t,"overflow").map(MC.hasGrown).getOr(!1)}(t,e)}},domModification:{attributes:{role:"group"}}}},apis:{setGroups:function(e,t,n){e.setGroups(t,n)},refresh:function(e,t){e.refresh(t)},toggle:function(e,t){e.toggle(t)},isOpen:function(e,t){return e.isOpen(t)}}}),kB=function(e){var t=e.title.fold((function(){return{}}),(function(e){return{attributes:{title:e}}}));return{dom:k({tag:"div",classes:["tox-toolbar__group"]},t),components:[AB.parts.items({})],items:e.items,markers:{itemSelector:"*:not(.tox-split-button) > .tox-tbtn:not([disabled]), .tox-split-button:not([disabled]), .tox-toolbar-nav-js:not([disabled])"},tgroupBehaviours:Gs([Yy.config({}),Tp.config({})])}},CB=function(e){return AB.sketch(kB(e))},BB=function(e,t){var n=Ri((function(t){var n=H(e.initGroups,CB);Mk.setGroups(t,n)}));return Gs([iv(e.providers.isDisabled),nv(),vp.config({mode:t,onEscape:e.onEscape,selector:".tox-toolbar__group"}),Sp("toolbar-events",[n])])},QB=function(e){var t=e.cyclicKeying?"cyclic":"acyclic";return{uid:e.uid,dom:{tag:"div",classes:["tox-toolbar-overlord"]},parts:{"overflow-group":kB({title:z.none(),items:[]}),"overflow-button":xx({name:"more",icon:z.some("more-drawer"),disabled:!1,tooltip:z.some("More..."),primary:!1,borderless:!1},z.none(),e.providers)},splitToolbarBehaviours:BB(e,t)}},TB=function(e){var t=QB(e),n=OB.parts.primary({dom:{tag:"div",classes:["tox-toolbar__primary"]}});return OB.sketch(k(k({},t),{lazySink:e.getSink,getOverflowBounds:function(){var t=e.moreDrawerData.lazyHeader().element,n=Un(t),r=kt(t),o=Un(r),i=Math.max(r.dom.scrollHeight,o.height);return Ln(n.x+4,o.y,n.width-8,i)},parts:k(k({},t.parts),{overflow:{dom:{tag:"div",classes:["tox-toolbar__overflow"],attributes:e.attributes}}}),components:[n],markers:{overflowToggledClass:"tox-tbtn--enabled"}}))},EB=function(e){var t=SB.parts.primary({dom:{tag:"div",classes:["tox-toolbar__primary"]}}),n=SB.parts.overflow({dom:{tag:"div",classes:["tox-toolbar__overflow"]}}),r=QB(e);return SB.sketch(k(k({},r),{components:[t,n],markers:{openClass:"tox-toolbar__overflow--open",closedClass:"tox-toolbar__overflow--closed",growingClass:"tox-toolbar__overflow--growing",shrinkingClass:"tox-toolbar__overflow--shrinking",overflowToggledClass:"tox-tbtn--enabled"},onOpened:function(e){e.getSystem().broadcastOn([rC()],{type:"opened"})},onClosed:function(e){e.getSystem().broadcastOn([rC()],{type:"closed"})}}))},PB=function(e){var t=e.cyclicKeying?"cyclic":"acyclic";return Mk.sketch({uid:e.uid,dom:{tag:"div",classes:["tox-toolbar"].concat(e.type===kg.scrolling?["tox-toolbar--scrolling"]:[])},components:[Mk.parts.groups({})],toolbarBehaviours:BB(e,t)})},$B=Ck.optional({factory:vC,name:"menubar",schema:[Vr("backstage")]}),MB=Ck.optional({factory:{sketch:function(e){return Ek.sketch({uid:e.uid,dom:e.dom,listBehaviours:Gs([vp.config({mode:"acyclic",selector:".tox-toolbar"})]),makeItem:function(){return PB({type:e.type,uid:ji("multiple-toolbar-item"),cyclicKeying:!1,initGroups:[],providers:e.providers,onEscape:function(){return e.onEscape(),z.some(!0)}})},setupItem:function(e,t,n,r){Mk.setGroups(t,n)},shell:!0})}},name:"multiple-toolbar",schema:[Vr("dom"),Vr("onEscape")]}),zB=Ck.optional({factory:{sketch:function(e){var t=function(e){return e.type===kg.sliding?EB:e.type===kg.floating?TB:PB}(e);return t({type:e.type,uid:e.uid,onEscape:function(){return e.onEscape(),z.some(!0)},cyclicKeying:!1,initGroups:[],getSink:e.getSink,providers:e.providers,moreDrawerData:{lazyToolbar:e.lazyToolbar,lazyMoreButton:e.lazyMoreButton,lazyHeader:e.lazyHeader},attributes:e.attributes})}},name:"toolbar",schema:[Vr("dom"),Vr("onEscape"),Vr("getSink")]}),RB=Ck.optional({factory:{sketch:function(e){var t=e.editor,n=e.sticky?dC:Dk;return{uid:e.uid,dom:e.dom,components:e.components,behaviours:Gs(n(t,e.sharedBackstage))}}},name:"header",schema:[Vr("dom")]}),DB=Ck.optional({name:"socket",schema:[Vr("dom")]}),IB=Ck.optional({factory:{sketch:function(e){return{uid:e.uid,dom:{tag:"div",classes:["tox-sidebar"],attributes:{role:"complementary"}},components:[{dom:{tag:"div",classes:["tox-sidebar__slider"]},components:[],behaviours:Gs([Yy.config({}),Tp.config({}),MC.config({dimension:{property:"width"},closedClass:"tox-sidebar--sliding-closed",openClass:"tox-sidebar--sliding-open",shrinkingClass:"tox-sidebar--sliding-shrinking",growingClass:"tox-sidebar--sliding-growing",onShrunk:function(e){Kd.getCurrent(e).each(LC.hideAllSlots),yi(e,jC)},onGrown:function(e){yi(e,jC)},onStartGrow:function(e){Oi(e,XC,{width:on(e.element,"width").getOr("")})},onStartShrink:function(e){Oi(e,XC,{width:On(e.element)+"px"})}}),xp.config({}),Kd.config({find:function(e){var t=xp.contents(e);return se(t)}})])}],behaviours:Gs([c_(0),Sp("sidebar-sliding-events",[Bi(XC,(function(e,t){Jt(e.element,"width",t.event.width)})),Bi(jC,(function(e,t){ln(e.element,"width")}))])])}}},name:"sidebar",schema:[Vr("dom")]}),NB=Ck.optional({factory:{sketch:function(e){return{uid:e.uid,dom:{tag:"div",attributes:{"aria-hidden":"true"},classes:["tox-throbber"],styles:{display:"none"}},behaviours:Gs([xp.config({}),YC.config({focus:!1}),Kd.config({find:function(e){return se(e.components())}})]),components:[]}}},name:"throbber",schema:[Vr("dom")]}),LB=qd({name:"OuterContainer",factory:function(e,t,n){var r={getSocket:function(t){return kk.getPart(t,e,"socket")},setSidebar:function(t,n){kk.getPart(t,e,"sidebar").each((function(e){return function(e,t){Kd.getCurrent(e).each((function(e){return xp.set(e,[HC(t)])}))}(e,n)}))},toggleSidebar:function(t,n){kk.getPart(t,e,"sidebar").each((function(e){return function(e,t){Kd.getCurrent(e).each((function(e){Kd.getCurrent(e).each((function(n){MC.hasGrown(e)?LC.isShowing(n,t)?MC.shrink(e):(LC.hideAllSlots(n),LC.showSlot(n,t)):(LC.hideAllSlots(n),LC.showSlot(n,t),MC.grow(e))}))}))}(e,n)}))},whichSidebar:function(t){return kk.getPart(t,e,"sidebar").bind(WC).getOrNull()},getHeader:function(t){return kk.getPart(t,e,"header")},getToolbar:function(t){return kk.getPart(t,e,"toolbar")},setToolbar:function(t,n){kk.getPart(t,e,"toolbar").each((function(e){e.getApis().setGroups(e,n)}))},setToolbars:function(t,n){kk.getPart(t,e,"multiple-toolbar").each((function(e){Ek.setItems(e,n)}))},refreshToolbar:function(t){kk.getPart(t,e,"toolbar").each((function(e){return e.getApis().refresh(e)}))},toggleToolbarDrawer:function(t){kk.getPart(t,e,"toolbar").each((function(e){var t,n;n=function(t){return t(e)},null!=(t=e.getApis().toggle)?z.some(n(t)):z.none()}))},isToolbarDrawerToggled:function(t){return kk.getPart(t,e,"toolbar").bind((function(e){return z.from(e.getApis().isOpen).map((function(t){return t(e)}))})).getOr(!1)},getThrobber:function(t){return kk.getPart(t,e,"throbber")},focusToolbar:function(t){kk.getPart(t,e,"toolbar").orThunk((function(){return kk.getPart(t,e,"multiple-toolbar")})).each((function(e){vp.focusIn(e)}))},setMenubar:function(t,n){kk.getPart(t,e,"menubar").each((function(e){vC.setMenus(e,n)}))},focusMenubar:function(t){kk.getPart(t,e,"menubar").each((function(e){vC.focus(e)}))}};return{uid:e.uid,dom:e.dom,components:t,apis:r,behaviours:e.behaviours}},configFields:[Vr("dom"),Vr("behaviours")],partFields:[RB,$B,zB,MB,DB,IB,NB],apis:{getSocket:function(e,t){return e.getSocket(t)},setSidebar:function(e,t,n){e.setSidebar(t,n)},toggleSidebar:function(e,t,n){e.toggleSidebar(t,n)},whichSidebar:function(e,t){return e.whichSidebar(t)},getHeader:function(e,t){return e.getHeader(t)},getToolbar:function(e,t){return e.getToolbar(t)},setToolbar:function(e,t,n){var r=H(n,(function(e){return CB(e)}));e.setToolbar(t,r)},setToolbars:function(e,t,n){var r=H(n,(function(e){return H(e,CB)}));e.setToolbars(t,r)},refreshToolbar:function(e,t){return e.refreshToolbar(t)},toggleToolbarDrawer:function(e,t){e.toggleToolbarDrawer(t)},isToolbarDrawerToggled:function(e,t){return e.isToolbarDrawerToggled(t)},getThrobber:function(e,t){return e.getThrobber(t)},setMenubar:function(e,t,n){e.setMenubar(t,n)},focusMenubar:function(e,t){e.focusMenubar(t)},focusToolbar:function(e,t){e.focusToolbar(t)}}}),VB={file:{title:"File",items:"newdocument restoredraft | preview | export print | deleteallconversations"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall | searchreplace"},view:{title:"View",items:"code | visualaid visualchars visualblocks | spellchecker | preview fullscreen | showcomments"},insert:{title:"Insert",items:"image link media addcomment pageembed template codesample inserttable | charmap emoticons hr | pagebreak nonbreaking anchor toc | insertdatetime"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript codeformat | formats blockformats fontformats fontsizes align lineheight | forecolor backcolor | language | removeformat"},tools:{title:"Tools",items:"spellchecker spellcheckerlanguage | a11ycheck code wordcount"},table:{title:"Table",items:"inserttable | cell row column | advtablesort | tableprops deletetable"},help:{title:"Help",items:"help"}},UB=function(e){return"string"==typeof e?e.split(" "):e},FB=function(e,t){var n=k(k({},VB),t.menus),r=de(t.menus).length>0,o=void 0===t.menubar||!0===t.menubar?UB("file edit view insert format tools table help"):UB(!1===t.menubar?"":t.menubar),i=j(o,(function(e){var n=Oe(VB,e);return r?n||ye(t.menus,e).exists((function(e){return Oe(e,"items")})):n})),a=H(i,(function(r){var o=n[r];return function(e,t,n){var r=function(e){return e.getParam("removed_menuitems","")}(n).split(/[ ,]/);return{text:e.title,getItems:function(){return J(e.items,(function(e){var n=e.toLowerCase();return 0===n.trim().length||V(r,(function(e){return e===n}))?[]:"separator"===n||"|"===n?[{type:"separator"}]:t.menuItems[n]?[t.menuItems[n]]:[]}))}}}({title:o.title,items:UB(o.items)},t,e)}));return j(a,(function(e){return e.getItems().length>0&&V(e.getItems(),(function(e){return"separator"!==e.type}))}))},HB=function(e){var t=function(){e._skinLoaded=!0,function(e){e.fire("SkinLoaded")}(e)};return function(){e.initialized?t():e.on("init",t)}},WB=function(e,t,n){return new og((function(r,o){n.load(t,r,o),e.on("remove",(function(){return n.unload(t)}))}))},XB=function(e,t){return WB(e,t+"/skin.min.css",e.ui.styleSheetLoader)},jB=function(e,t){var n;return n=Re(e.getElement()),Nt(n).isSome()?WB(e,t+"/skin.shadowdom.min.css",SA.DOM.styleSheetLoader):og.resolve()},qB=function(e,t){var n=function(e){var t=e.getParam("skin"),n=e.getParam("skin_url");if(!1!==t){var r=t||"oxide";n=n?e.documentBaseURI.toAbsolute(n):kA.baseURL+"/skins/ui/"+r}return n}(t);n&&t.contentCSS.push(n+(e?"/content.inline":"/content")+".min.css"),!1===function(e){return!1===e.getParam("skin")}(t)&&o(n)?og.all([XB(t,n),jB(t,n)]).then(HB(t),function(e){return function(){return function(e,t){return e.fire("SkinLoadError",t)}(e,{message:"Skin could not be loaded"})}}(t)):HB(t)()},ZB=O(qB,!1),YB=O(qB,!0),GB=function(e,t){return function(n){var r=Bl(),o=function(){n.setActive(e.formatter.match(t));var o=e.formatter.formatChanged(t,n.setActive);r.set(o)};return e.initialized?o():e.once("init",o),function(){e.off("init",o),r.clear()}}},KB=function(e,t,n){return function(r){var o=function(){return n(r)},i=function(){n(r),e.on(t,o)};return e.initialized?i():e.once("init",i),function(){e.off("init",i),e.off(t,o)}}},JB=function(e){return function(t){return function(){e.undoManager.transact((function(){e.focus(),e.execCommand("mceToggleFormat",!1,t.format)}))}}},eQ=function(e,t){return function(){return e.execCommand(t)}},tQ=function(e,t,n){var r=function(e,r,i,a){var s=t.shared.providers.translate(e.title);if("separator"===e.type)return z.some({type:"separator",text:s});if("submenu"===e.type){var l=J(e.getStyleItems(),(function(e){return o(e,r,a)}));return 0===r&&l.length<=0?z.none():z.some({type:"nestedmenuitem",text:s,disabled:l.length<=0,getSubmenuItems:function(){return J(e.getStyleItems(),(function(e){return o(e,r,a)}))}})}return z.some(k({type:"togglemenuitem",text:s,icon:e.icon,active:e.isSelected(a),disabled:i,onAction:n.onAction(e)},e.getStylePreview().fold((function(){return{}}),(function(e){return{meta:{style:e}}}))))},o=function(e,t,o){var i="formatter"===e.type&&n.isInvalid(e);return 0===t?i?[]:r(e,t,!1,o).toArray():r(e,t,i,o).toArray()},i=function(e){var t=n.getCurrentValue(),r=n.shouldHide?0:1;return J(e,(function(e){return o(e,r,t)}))};return{validateItems:i,getFetch:function(e,t){return function(n,r){var o=t(),a=i(o);r(yx(a,Cg.CLOSE_ON_EXECUTE,e,!1))}}}},nQ=function(e,t,n){var r=n.dataset,o="basic"===r.type?function(){return H(r.data,(function(e){return KS(e,n.isSelectedFor,n.getPreviewFor)}))}:r.getData;return{items:tQ(0,t,n),getStyleItems:o}},rQ=function(e,t,n){var r=nQ(0,t,n),o=r.items,i=r.getStyleItems,a=KB(e,"NodeChange",(function(e){var t=e.getComponent();n.updateText(t)}));return mx({text:n.icon.isSome()?z.none():n.text,icon:n.icon,tooltip:z.from(n.tooltip),role:z.none(),fetch:o.getFetch(t,i),onSetup:a,getApi:function(e){return{getComponent:A(e)}},columns:1,presets:"normal",classes:n.icon.isSome()?[]:["bespoke"],dropdownBehaviours:[]},"tox-tbtn",t.shared)};!function(e){e[e.SemiColon=0]="SemiColon",e[e.Space=1]="Space"}(qx||(qx={}));var oQ,iQ,aQ,sQ,lQ,cQ=function(e,t,n,r){var o,i=(o=function(e,t){return t===qx.SemiColon?e.replace(/;$/,"").split(";"):e.split(" ")}(e.getParam(t,n,"string"),r),H(o,(function(e){var t=e,n=e,r=e.split("=");return r.length>1&&(t=r[0],n=r[1]),{title:t,format:n}})));return{type:"basic",data:i}},uQ=[{title:"Left",icon:"align-left",format:"alignleft",command:"JustifyLeft"},{title:"Center",icon:"align-center",format:"aligncenter",command:"JustifyCenter"},{title:"Right",icon:"align-right",format:"alignright",command:"JustifyRight"},{title:"Justify",icon:"align-justify",format:"alignjustify",command:"JustifyFull"}],dQ=function(e){var t={type:"basic",data:uQ};return{tooltip:"Align",text:z.none(),icon:z.some("align-left"),isSelectedFor:function(t){return function(){return e.formatter.match(t)}},getCurrentValue:z.none,getPreviewFor:function(e){return z.none},onAction:function(t){return function(){return Y(uQ,(function(e){return e.format===t.format})).each((function(t){return e.execCommand(t.command)}))}},updateText:function(t){var n=Y(uQ,(function(t){return e.formatter.match(t.format)})).fold(A("left"),(function(e){return e.title.toLowerCase()}));Oi(t,px,{icon:"align-"+n})},dataset:t,shouldHide:!1,isInvalid:function(t){return!e.formatter.canApply(t.format)}}},fQ=["-apple-system","Segoe UI","Roboto","Helvetica Neue","sans-serif"],hQ=function(e){var t=e.split(/\s*,\s*/);return H(t,(function(e){return e.replace(/^['"]+|['"]+$/g,"")}))},pQ=function(e){var t="System Font",n=function(){var n=function(e){return e?hQ(e)[0]:""},o=e.queryCommandValue("FontName"),i=r.data,a=o?o.toLowerCase():"",s=Y(i,(function(e){var t=e.format;return t.toLowerCase()===a||n(t).toLowerCase()===n(a).toLowerCase()})).orThunk((function(){return Se(function(e){var t;return 0===e.indexOf("-apple-system")&&(t=hQ(e.toLowerCase()),ee(fQ,(function(e){return t.indexOf(e.toLowerCase())>-1})))}(a),{title:t,format:a})}));return{matchOpt:s,font:o}},r=cQ(e,"font_formats","Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats",qx.SemiColon);return{tooltip:"Fonts",text:z.some(t),icon:z.none(),isSelectedFor:function(e){return function(t){return t.exists((function(t){return t.format===e}))}},getCurrentValue:function(){return n().matchOpt},getPreviewFor:function(e){return function(){return z.some({tag:"div",styles:-1===e.indexOf("dings")?{"font-family":e}:{}})}},onAction:function(t){return function(){e.undoManager.transact((function(){e.focus(),e.execCommand("FontName",!1,t.format)}))}},updateText:function(e){var t=n(),r=t.matchOpt,o=t.font,i=r.fold(A(o),(function(e){return e.title}));Oi(e,hx,{text:i})},dataset:r,shouldHide:!1,isInvalid:_}},mQ={"8pt":"1","10pt":"2","12pt":"3","14pt":"4","18pt":"5","24pt":"6","36pt":"7"},gQ={"xx-small":"7pt","x-small":"8pt",small:"10pt",medium:"12pt",large:"14pt","x-large":"18pt","xx-large":"24pt"},AQ=function(e){var t=function(){var t=z.none(),n=r.data,o=e.queryCommandValue("FontSize");if(o)for(var i=function(e){var r=function(e,t){return/[0-9.]+px$/.test(e)?function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}(72*parseInt(e,10)/96,t||0)+"pt":ye(gQ,e).getOr(e)}(o,e),i=function(e){return ye(mQ,e).getOr("")}(r);t=Y(n,(function(e){return e.format===o||e.format===r||e.format===i}))},a=3;t.isNone()&&a>=0;a--)i(a);return{matchOpt:t,size:o}},n=A(z.none),r=cQ(e,"fontsize_formats","8pt 10pt 12pt 14pt 18pt 24pt 36pt",qx.Space);return{tooltip:"Font sizes",text:z.some("12pt"),icon:z.none(),isSelectedFor:function(e){return function(t){return t.exists((function(t){return t.format===e}))}},getPreviewFor:n,getCurrentValue:function(){return t().matchOpt},onAction:function(t){return function(){e.undoManager.transact((function(){e.focus(),e.execCommand("FontSize",!1,t.format)}))}},updateText:function(e){var n=t(),r=n.matchOpt,o=n.size,i=r.fold(A(o),(function(e){return e.title}));Oi(e,hx,{text:i})},dataset:r,shouldHide:!1,isInvalid:_}},vQ=function(e,t){var n=t(),r=H(n,(function(e){return e.format}));return z.from(e.formatter.closest(r)).bind((function(e){return Y(n,(function(t){return t.format===e}))})).orThunk((function(){return Se(e.formatter.match("p"),{title:"Paragraph",format:"p"})}))},yQ=function(e){var t="Paragraph",n=cQ(e,"block_formats","Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre",qx.SemiColon);return{tooltip:"Blocks",text:z.some(t),icon:z.none(),isSelectedFor:function(t){return function(){return e.formatter.match(t)}},getCurrentValue:z.none,getPreviewFor:function(t){return function(){var n=e.formatter.get(t);return z.some({tag:n.length>0&&(n[0].inline||n[0].block)||"div",styles:e.dom.parseStyle(e.formatter.getCssText(t))})}},onAction:JB(e),updateText:function(r){var o=vQ(e,(function(){return n.data})).fold(A(t),(function(e){return e.title}));Oi(r,hx,{text:o})},dataset:n,shouldHide:!1,isInvalid:function(t){return!e.formatter.canApply(t.format)}}},OQ=function(e,t){var n="Paragraph";return{tooltip:"Formats",text:z.some(n),icon:z.none(),isSelectedFor:function(t){return function(){return e.formatter.match(t)}},getCurrentValue:z.none,getPreviewFor:function(t){return function(){var n=e.formatter.get(t);return void 0!==n?z.some({tag:n.length>0&&(n[0].inline||n[0].block)||"div",styles:e.dom.parseStyle(e.formatter.getCssText(t))}):z.none()}},onAction:JB(e),updateText:function(t){var r=function(e){var t=e.items;return void 0!==t&&t.length>0?J(t,r):[{title:e.title,format:e.format}]},o=J(GS(e),r),i=vQ(e,A(o)).fold(A(n),(function(e){return e.title}));Oi(t,hx,{text:i})},shouldHide:e.getParam("style_formats_autohide",!1,"boolean"),isInvalid:function(t){return!e.formatter.canApply(t.format)},dataset:t}},bQ=Object.freeze({__proto__:null,events:function(e,t){var n=function(n,r){e.updateState.each((function(e){var o=e(n,r);t.set(o)})),e.renderComponents.each((function(e){var o=e(r,t.get()),i=H(o,n.getSystem().build);au(n,i)}))};return Si([Bi(Go(),(function(t,r){var o=r;if(!o.universal){var i=e.channel;L(o.channels,i)&&n(t,o.data)}})),Ri((function(t,r){e.initialData.each((function(e){n(t,e)}))}))])}}),wQ=Object.freeze({__proto__:null,getState:function(e,t,n){return n}}),_Q=[Vr("channel"),Yr("renderComponents"),Yr("updateState"),Yr("initialData")],xQ=Js({fields:_Q,name:"reflecting",active:bQ,apis:wQ,state:Object.freeze({__proto__:null,init:function(){var e=ho(z.none());return{readState:function(){return e.get().getOr("none")},get:e.get,set:e.set,clear:function(){return e.set(z.none())}}}})}),SQ=A([Vr("toggleClass"),Vr("fetch"),ss("onExecute"),ro("getHotspot",z.some),ro("getAnchorOverrides",A({})),Yl(),ss("onItemExecute"),Yr("lazySink"),Vr("dom"),is("onOpen"),Xu("splitDropdownBehaviours",[NO,vp,Tp]),ro("matchWidth",!1),ro("useMinWidth",!1),ro("eventOrder",{}),Yr("role")].concat(JO())),kQ=yd({factory:Mm,schema:[Vr("dom")],name:"arrow",defaults:function(){return{buttonBehaviours:Gs([Tp.revoke()])}},overrides:function(e){return{dom:{tag:"span",attributes:{role:"presentation"}},action:function(t){t.getSystem().getByUid(e.uid).each(bi)},buttonBehaviours:Gs([Up.config({toggleOnExecute:!1,toggleClass:e.toggleClass})])}}}),CQ=yd({factory:Mm,schema:[Vr("dom")],name:"button",defaults:function(){return{buttonBehaviours:Gs([Tp.revoke()])}},overrides:function(e){return{dom:{tag:"span",attributes:{role:"presentation"}},action:function(t){t.getSystem().getByUid(e.uid).each((function(n){e.onExecute(n,t)}))}}}}),BQ=A([kQ,CQ,bd({factory:{sketch:function(e){return{uid:e.uid,dom:{tag:"span",styles:{display:"none"},attributes:{"aria-hidden":"true"},innerHtml:e.text}}}},schema:[Vr("text")],name:"aria-descriptor"}),Od({schema:[ns()],name:"menu",defaults:function(e){return{onExecute:function(t,n){t.getSystem().getByUid(e.uid).each((function(r){e.onItemExecute(r,t,n)}))}}}}),VO()]),QQ=qd({name:"SplitDropdown",configFields:SQ(),partFields:BQ(),factory:function(e,t,n,r){var o,i=function(e){Kd.getCurrent(e).each((function(e){_f.highlightFirst(e),vp.focusIn(e)}))},a=function(t){qO(e,v,t,r,i,vO.HighlightFirst).get(m)},s=function(t){var n=Md(t,e,"button");return bi(n),z.some(!0)},l=k(k({},Si([Ri((function(t,n){$d(t,e,"aria-descriptor").each((function(e){var n=ji("aria");Wt(e.element,"id",n),Wt(t.element,"aria-describedby",n)}))}))])),Hp(z.some(a))),c={repositionMenus:function(e){Up.isOn(e)&&KO(e)}};return{uid:e.uid,dom:e.dom,components:t,apis:c,eventOrder:k(k({},e.eventOrder),(o={},o[Ko()]=["disabling","toggling","alloy.base.behaviour"],o)),events:l,behaviours:qu(e.splitDropdownBehaviours,[NO.config({others:{sandbox:function(t){var n=Md(t,e,"arrow");return GO(e,t,{onOpen:function(){Up.on(n),Up.on(t)},onClose:function(){Up.off(n),Up.off(t)}})}}}),vp.config({mode:"special",onSpace:s,onEnter:s,onDown:function(e){return a(e),z.some(!0)}}),Tp.config({}),Up.config({toggleOnExecute:!1,aria:{mode:"expanded"}})]),domModification:{attributes:{role:e.role.getOr("button"),"aria-haspopup":!0}}}},apis:{repositionMenus:function(e,t){return e.repositionMenus(t)}}}),TQ=function(e){return{isDisabled:function(){return hf.isDisabled(e)},setDisabled:function(t){return hf.set(e,t)}}},EQ=function(e){return{setActive:function(t){Up.set(e,t)},isActive:function(){return Up.isOn(e)},isDisabled:function(){return hf.isDisabled(e)},setDisabled:function(t){return hf.set(e,t)}}},PQ=function(e,t){return e.map((function(e){return{"aria-label":t.translate(e),title:t.translate(e)}})).getOr({})},$Q=ji("focus-button"),MQ=function(e,t,n,r,o,i){var a;return{dom:{tag:"button",classes:["tox-tbtn"].concat(t.isSome()?["tox-tbtn--select"]:[]),attributes:PQ(n,i)},components:dv([e.map((function(e){return lx(e,i.icons)})),t.map((function(e){return ux(e,"tox-tbtn",i)}))]),eventOrder:(a={},a[To()]=["focusing","alloy.base.behaviour","common-button-display-events"],a),buttonBehaviours:Gs([iv(i.isDisabled),nv(),Sp("common-button-display-events",[Bi(To(),(function(e,t){t.event.prevent(),yi(e,$Q)}))])].concat(r.map((function(n){return xQ.config({channel:n,initialData:{icon:e,text:t},renderComponents:function(e,t){return dv([e.icon.map((function(e){return lx(e,i.icons)})),e.text.map((function(e){return ux(e,"tox-tbtn",i)}))])}})})).toArray()).concat(o.getOr([])))}},zQ=function(e,t,n){var r,o=ho(m),i=MQ(e.icon,e.text,e.tooltip,z.none(),z.none(),n);return Mm.sketch({dom:i.dom,components:i.components,eventOrder:fx,buttonBehaviours:Gs([Sp("toolbar-button-events",[(r={onAction:e.onAction,getApi:t.getApi},Ni((function(e,t){av(r,e)((function(t){Oi(e,dx,{buttonApi:t}),r.onAction(t)}))}))),sv(t,o),lv(t,o)]),iv((function(){return e.disabled||n.isDisabled()})),nv()].concat(t.toolbarButtonBehaviours))})},RQ=function(e,t,n){return zQ(e,{toolbarButtonBehaviours:[].concat(n.length>0?[Sp("toolbarButtonWith",n)]:[]),getApi:TQ,onSetup:e.onSetup},t)},DQ=function(e,t,n){return nr(zQ(e,{toolbarButtonBehaviours:[xp.config({}),Up.config({toggleClass:"tox-tbtn--enabled",aria:{mode:"pressed"},toggleOnExecute:!1})].concat(n.length>0?[Sp("toolbarToggleButtonWith",n)]:[]),getApi:EQ,onSetup:e.onSetup},t))},IQ=function(e,t,n){return function(r){return xO((function(e){return t.fetch(e)})).map((function(o){return z.from(Ty(nr(Ay(ji("menu-value"),o,(function(n){t.onItemAction(e(r),n)}),t.columns,t.presets,Cg.CLOSE_ON_EXECUTE,t.select.getOr(_),n),{movement:yy(t.columns,t.presets),menuBehaviours:gA("auto"!==t.columns?[]:[Ri((function(e,n){mA(e,4,Ng(t.presets)).each((function(t){var n=t.numRows,r=t.numColumns;vp.setGridSize(e,n,r)}))}))])})))}))}},NQ=[{name:"history",items:["undo","redo"]},{name:"styles",items:["styleselect"]},{name:"formatting",items:["bold","italic"]},{name:"alignment",items:["alignleft","aligncenter","alignright","alignjustify"]},{name:"indentation",items:["outdent","indent"]},{name:"permanent pen",items:["permanentpen"]},{name:"comments",items:["addcomment"]}],LQ=function(e,t){return function(n,r,o){var i=e(n).mapError((function(e){return Rr(e)})).getOrDie();return t(i,r,o)}},VQ={button:LQ(pg,(function(e,t){return n=e,r=t.backstage.shared.providers,RQ(n,r,[]);var n,r})),togglebutton:LQ(Ag,(function(e,t){return n=e,r=t.backstage.shared.providers,DQ(n,r,[]);var n,r})),menubutton:LQ(gC,(function(e,t){return bx(e,"tox-tbtn",t.backstage,z.none())})),splitbutton:LQ((function(e){return $r("SplitButton",AC,e)}),(function(e,t){return function(e,t){var n,r=ji("channel-update-split-dropdown-display"),o=function(e){return{isDisabled:function(){return hf.isDisabled(e)},setDisabled:function(t){return hf.set(e,t)},setIconFill:function(t,n){Ha(e.element,'svg path[id="'+t+'"], rect[id="'+t+'"]').each((function(e){Wt(e,"fill",n)}))},setIconStroke:function(t,n){Ha(e.element,'svg path[id="'+t+'"], rect[id="'+t+'"]').each((function(e){Wt(e,"stroke",n)}))},setActive:function(t){Wt(e.element,"aria-pressed",t),Ha(e.element,"span").each((function(n){e.getSystem().getByDom(n).each((function(e){return Up.set(e,t)}))}))},isActive:function(){return Ha(e.element,"span").exists((function(t){return e.getSystem().getByDom(t).exists(Up.isOn)}))}}},i=ho(m),a={getApi:o,onSetup:e.onSetup};return QQ.sketch({dom:{tag:"div",classes:["tox-split-button"],attributes:k({"aria-pressed":!1},PQ(e.tooltip,t.providers))},onExecute:function(t){e.onAction(o(t))},onItemExecute:function(e,t,n){},splitDropdownBehaviours:Gs([ov(t.providers.isDisabled),nv(),Sp("split-dropdown-events",[Bi($Q,Tp.focus),sv(a,i),lv(a,i)]),ob.config({})]),eventOrder:(n={},n[ci()]=["alloy.base.behaviour","split-dropdown-events"],n),toggleClass:"tox-tbtn--enabled",lazySink:t.getSink,fetch:IQ(o,e,t.providers),parts:{menu:Wg(0,e.columns,e.presets)},components:[QQ.parts.button(MQ(e.icon,e.text,z.none(),z.some(r),z.some([Up.config({toggleClass:"tox-tbtn--enabled",toggleOnExecute:!1})]),t.providers)),QQ.parts.arrow({dom:{tag:"button",classes:["tox-tbtn","tox-split-button__chevron"],innerHtml:Um("chevron-down",t.providers.icons)},buttonBehaviours:Gs([ov(t.providers.isDisabled),nv(),Fm()])}),QQ.parts["aria-descriptor"]({text:t.providers.translate("To open the popup, press Shift+Enter")})]})}(e,t.backstage.shared)})),grouptoolbarbutton:LQ((function(e){return $r("GroupToolbarButton",hC,e)}),(function(e,t,n){var r,o=n.ui.registry.getAll().buttons,i=((r={})[ql]=t.backstage.shared.header.isPositionedAtTop()?yl.TopToBottom:yl.BottomToTop,r);if(IA(n)===kg.floating)return function(e,t,n,r){var o=t.shared;return pB.sketch({lazySink:o.getSink,fetch:function(){return xO((function(t){t(H(n(e.items),CB))}))},markers:{toggledClass:"tox-tbtn--enabled"},parts:{button:MQ(e.icon,e.text,e.tooltip,z.none(),z.none(),o.providers),toolbar:{dom:{tag:"div",classes:["tox-toolbar__overflow"],attributes:r}}}})}(e,t.backstage,(function(e){return FQ(n,{buttons:o,toolbar:e,allowToolbarGroups:!1},t,z.none())}),i);throw new Error("Toolbar groups are only supported when using floating toolbar mode")})),styleSelectButton:function(e,t){return function(e,t){var n=k({type:"advanced"},t.styleselect);return rQ(e,t,OQ(e,n))}(e,t.backstage)},fontsizeSelectButton:function(e,t){return function(e,t){return rQ(e,t,AQ(e))}(e,t.backstage)},fontSelectButton:function(e,t){return function(e,t){return rQ(e,t,pQ(e))}(e,t.backstage)},formatButton:function(e,t){return function(e,t){return rQ(e,t,yQ(e))}(e,t.backstage)},alignMenuButton:function(e,t){return function(e,t){return rQ(e,t,dQ(e))}(e,t.backstage)}},UQ={styleselect:VQ.styleSelectButton,fontsizeselect:VQ.fontsizeSelectButton,fontselect:VQ.fontSelectButton,formatselect:VQ.formatButton,align:VQ.alignMenuButton},FQ=function(e,t,n,r){var i=function(e){var t,n=e.toolbar,r=e.buttons;return!1===n?[]:void 0===n||!0===n?function(e){var t=H(NQ,(function(t){var n=j(t.items,(function(t){return Oe(e,t)||Oe(UQ,t)}));return{name:t.name,items:n}}));return j(t,(function(e){return e.items.length>0}))}(r):o(n)?(t=n.split("|"),H(t,(function(e){return{items:e.trim().split(" ")}}))):function(e){return p(e,(function(e){return Oe(e,"name")&&Oe(e,"items")}))}(n)?n:(console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"),[])}(t),a=H(i,(function(o){var i=J(o.items,(function(o){return 0===o.trim().length?[]:function(e,t,n,r,o,i){return ye(t,n.toLowerCase()).orThunk((function(){return i.bind((function(e){return ue(e,(function(e){return ye(t,e+n.toLowerCase())}))}))})).fold((function(){return ye(UQ,n.toLowerCase()).map((function(t){return t(e,o)})).orThunk((function(){return z.none()}))}),(function(t){return"grouptoolbarbutton"!==t.type||r?function(e,t,n){return ye(VQ,e.type).fold((function(){return console.error("skipping button defined by",e),z.none()}),(function(r){return z.some(r(e,t,n))}))}(t,o,e):(console.warn("Ignoring the '"+n+"' toolbar button. Group toolbar buttons are only supported when using floating toolbar mode and cannot be nested."),z.none())}))}(e,t.buttons,o,t.allowToolbarGroups,n,r).toArray()}));return{title:z.from(e.translate(o.name)),items:i}}));return j(a,(function(e){return e.items.length>0}))},HQ=function(e,t,n,r){var i=t.outerContainer,a=n.toolbar,s=n.buttons;if(p(a,o)){var l=a.map((function(t){var o={toolbar:t,buttons:s,allowToolbarGroups:n.allowToolbarGroups};return FQ(e,o,{backstage:r},z.none())}));LB.setToolbars(i,l)}else LB.setToolbar(i,FQ(e,n,{backstage:r},z.none()))},WQ=yt(),XQ=WQ.os.isiOS()&&WQ.os.version.major<=12,jQ=Object.freeze({__proto__:null,render:function(e,t,n,r,o){var i=ho(0),a=t.outerContainer;ZB(e);var l=Re(o.targetNode),c=It(Dt(l));!function(e,t){hu(e,t,kn)}(l,t.mothership),fu(c,t.uiMothership),e.on("PostRender",(function(){HQ(e,t,n,r),i.set(e.getWin().innerWidth),LB.setMenubar(a,FB(e,n)),LB.setSidebar(a,n.sidebar),function(e,t){var n=e.dom,r=e.getWin(),o=e.getDoc().documentElement,i=ho(mn(r.innerWidth,r.innerHeight)),a=ho(mn(o.offsetWidth,o.offsetHeight)),s=function(){var t=i.get();t.left===r.innerWidth&&t.top===r.innerHeight||(i.set(mn(r.innerWidth,r.innerHeight)),qv(e))},l=function(){var t=e.getDoc().documentElement,n=a.get();n.left===t.offsetWidth&&n.top===t.offsetHeight||(a.set(mn(t.offsetWidth,t.offsetHeight)),qv(e))},c=function(t){return function(e,t){return e.fire("ScrollContent",t)}(e,t)};n.bind(r,"resize",s),n.bind(r,"scroll",c);var u=Pl(Re(e.getBody()),"load",l),d=t.uiMothership.element;e.on("hide",(function(){Jt(d,"display","none")})),e.on("show",(function(){ln(d,"display")})),e.on("NodeChange",l),e.on("remove",(function(){u.unbind(),n.unbind(r,"resize",s),n.unbind(r,"scroll",c),r=null}))}(e,t)}));var u,d,f=LB.getSocket(a).getOrDie("Could not find expected socket element");if(XQ){en(f.element,{overflow:"scroll","-webkit-overflow-scrolling":"touch"});var h=(u=function(){e.fire("ScrollContent")},d=null,{cancel:function(){s(d)||(clearTimeout(d),d=null)},throttle:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];s(d)&&(d=setTimeout((function(){d=null,u.apply(null,e)}),20))}}),p=El(f.element,"scroll",h.throttle);e.on("remove",p.unbind)}tv(e,t),e.addCommand("ToggleSidebar",(function(t,n){LB.toggleSidebar(a,n),e.fire("ToggleSidebar")})),e.addQueryValueHandler("ToggleSidebar",(function(){return LB.whichSidebar(a)}));var m=IA(e);m!==kg.sliding&&m!==kg.floating||e.on("ResizeWindow ResizeEditor ResizeContent",(function(){var n=e.getWin().innerWidth;n!==i.get()&&(LB.refreshToolbar(t.outerContainer),i.set(n))}));var g={enable:function(){ev(t,!1)},disable:function(){ev(t,!0)},isDisabled:function(){return hf.isDisabled(a)}};return{iframeContainer:f.element.dom,editorContainer:a.element.dom,api:g}}}),qQ=function(e){return/^[0-9\.]+(|px)$/i.test(""+e)?z.some(parseInt(""+e,10)):z.none()},ZQ=function(e){return h(e)?e+"px":e},YQ=function(e,t,n){var r=t.filter((function(t){return e<t})),o=n.filter((function(t){return e>t}));return r.or(o).getOr(e)},GQ=function(e){var t=BA(e),n=QA(e),r=EA(e);return qQ(t).map((function(e){return YQ(e,n,r)}))},KQ=function(e,t){var n=Vn(e);return{pos:t?n.y:n.bottom,bounds:n}},JQ=Object.freeze({__proto__:null,render:function(e,t,n,r,o){var i=t.mothership,a=t.uiMothership,s=t.outerContainer,l=ho(null),c=Re(o.targetNode),u=function(e,t,n,r,o){var i=n.uiMothership,a=n.outerContainer,s=SA.DOM,l=HA(e),c=jA(e),u=EA(e).or(GQ(e)),d=r.shared.header,f=d.isPositionedAtTop,h=IA(e),p=h===kg.sliding||h===kg.floating,m=ho(!1),g=function(){return m.get()&&!e.removed},v=function(e){return p?e.fold(A(0),(function(e){return e.components().length>1?fn(e.components()[1].element):0})):0},y=function(){i.broadcastOn([Cu()],{})},O=function(e){if(void 0===e&&(e=!1),g()){var n;if(l||(n=u.getOrThunk((function(){var e=qQ(nn(Ut(),"margin-left")).getOr(0);return On(Ut())-An(t).left+e})),Jt(o.get().element,"max-width",n+"px")),p&&LB.refreshToolbar(a),l||function(){var e=LB.getToolbar(a),n=v(e),r=Vn(t),i=f()?Math.max(r.y-fn(o.get().element)+n,0):r.bottom;en(a.element,{position:"absolute",top:Math.round(i)+"px",left:Math.round(r.x)+"px"})}(),c){var r=o.get();e?nC.reset(r):nC.refresh(r)}y()}},b=function(n){if(void 0===n&&(n=!0),!l&&c&&g()){var r=d.getDockingMode(),i=function(n){switch(VA(e)){case DA.auto:var r=LB.getToolbar(a),o=v(r),i=fn(n.element)-o,s=Vn(t);if(s.y>i)return"top";var l=kt(t),c=Math.max(l.dom.scrollHeight,fn(l));return s.bottom<c-i||Fn().bottom<s.bottom-i?"bottom":"top";case DA.bottom:return"bottom";case DA.top:default:return"top"}}(o.get());i!==r&&(function(e){var t=o.get();nC.setModes(t,[e]),d.setDockingMode(e);var n=f()?yl.TopToBottom:yl.BottomToTop;Wt(t.element,ql,n)}(i),n&&O(!0))}};return{isVisible:g,isPositionedAtTop:f,show:function(){m.set(!0),Jt(a.element,"display","flex"),s.addClass(e.getBody(),"mce-edit-focus"),ln(i.element,"display"),b(!1),O()},hide:function(){m.set(!1),n.outerContainer&&(Jt(a.element,"display","none"),s.removeClass(e.getBody(),"mce-edit-focus")),Jt(i.element,"display","none")},update:O,updateMode:b,repositionPopups:y}}(e,c,t,r,l),d=function(e){return e.getParam("toolbar_persist",!1,"boolean")}(e);YB(e);var f=function(){if(l.get())u.show();else{l.set(LB.getHeader(s).getOrDie());var o=WA(e);fu(o,i),fu(o,a),HQ(e,t,n,r),LB.setMenubar(s,FB(e,n)),u.show(),function(e,t,n,r){var o=ho(KQ(t,n.isPositionedAtTop())),i=function(r){var i=KQ(t,n.isPositionedAtTop()),a=i.pos,s=i.bounds,l=o.get(),c=l.pos,u=l.bounds,d=s.height!==u.height||s.width!==u.width;o.set({pos:a,bounds:s}),d&&qv(e,r),n.isVisible()&&(c!==a?n.update(!0):d&&(n.updateMode(),n.repositionPopups()))};r||(e.on("activate",n.show),e.on("deactivate",n.hide)),e.on("SkinLoaded ResizeWindow",(function(){return n.update(!0)})),e.on("NodeChange keydown",(function(e){$m.requestAnimationFrame((function(){return i(e)}))})),e.on("ScrollWindow",(function(){return n.updateMode()}));var a=Bl();a.set(Pl(Re(e.getBody()),"load",i)),e.on("remove",(function(){a.clear()}))}(e,c,u,d),e.nodeChanged()}},h=function(){return $m.setEditorTimeout(e,f,0)};e.on("show",f),e.on("hide",u.hide),d||(e.on("focus",h),e.on("blur",u.hide)),e.on("init",(function(){(e.hasFocus()||d)&&h()})),tv(e,t);var p={show:function(){u.show()},hide:function(){u.hide()},enable:function(){ev(t,!1)},disable:function(){ev(t,!0)},isDisabled:function(){return hf.isDisabled(s)}};return{editorContainer:s.element.dom,api:p}}}),eT="contexttoolbar-hide",tT=function(e,t){return Bi(dx,(function(n,r){var o=function(e){return{hide:function(){return yi(e,ni())},getValue:function(){return Wu.getValue(e)}}}(e.get(n));t.onAction(o,r.event.buttonApi)}))},nT=function(e,t){var n=e.label.fold((function(){return{}}),(function(e){return{"aria-label":e}})),r=zm(mO.sketch({inputClasses:["tox-toolbar-textfield","tox-toolbar-nav-js"],data:e.initValue(),inputAttributes:n,selectOnFocus:!0,inputBehaviours:Gs([vp.config({mode:"special",onEnter:function(e){return o.findPrimary(e).map((function(e){return bi(e),!0}))},onLeft:function(e,t){return t.cut(),z.none()},onRight:function(e,t){return t.cut(),z.none()}})])})),o=function(e,t,n){var r=H(t,(function(t){return zm(function(e,t,n){var r={backstage:{shared:{providers:n}}};return"contextformtogglebutton"===t.type?function(e,t,n){var r=t.original;r.primary;var o=C(r,["primary"]),i=Mr(Ag(k(k({},o),{type:"togglebutton",onAction:m})));return DQ(i,n.backstage.shared.providers,[tT(e,t)])}(e,t,r):function(e,t,n){var r=t.original;r.primary;var o=C(r,["primary"]),i=Mr(pg(k(k({},o),{type:"button",onAction:m})));return RQ(i,n.backstage.shared.providers,[tT(e,t)])}(e,t,r)}(e,t,n))}));return{asSpecs:function(){return H(r,(function(e){return e.asSpec()}))},findPrimary:function(e){return ue(t,(function(t,n){return t.primary?z.from(r[n]).bind((function(t){return t.getOpt(e)})).filter(b(hf.isDisabled)):z.none()}))}}}(r,e.commands,t);return[{title:z.none(),items:[r.asSpec()]},{title:z.none(),items:o.asSpecs()}]},rT=function(e,t,n){return void 0===n&&(n=.01),t.bottom-e.y>=n&&e.bottom-t.y>=n},oT=function(e){var t=function(e){var t=e.getBoundingClientRect();if(t.height<=0&&t.width<=0){var n=$t(Re(e.startContainer),e.startOffset).element;return(Ve(n)?Bt(n):z.some(n)).filter(Le).map((function(e){return e.dom.getBoundingClientRect()})).getOr(t)}return t}(e.selection.getRng());if(e.inline){var n=$n();return Ln(n.left+t.left,n.top+t.top,t.width,t.height)}var r=Un(Re(e.getBody()));return Ln(r.x+t.left,r.y+t.top,t.width,t.height)},iT=function(e,t,n,r){void 0===r&&(r=0);var o=Rn(window),i=Vn(Re(e.getContentAreaContainer())),a=$A(e)||MA(e)||RA(e),s=function(e,t,n){var r=Math.max(e.x+n,t.x);return{x:r,width:Math.min(e.right-n,t.right)-r}}(i,o,r),l=s.x,c=s.width;if(e.inline&&!a)return Ln(l,o.y,c,o.height);var u=function(e,t,n,r,o,i){var a=Re(e.getContainer()),s=Ha(a,".tox-editor-header").getOr(a),l=Vn(s),c=l.y>=t.bottom,u=r&&!c;if(e.inline&&u)return{y:Math.max(l.bottom+i,n.y),bottom:n.bottom};if(e.inline&&!u)return{y:n.y,bottom:Math.min(l.y-i,n.bottom)};var d="line"===o?Vn(a):t;return u?{y:Math.max(l.bottom+i,n.y),bottom:Math.min(d.bottom-i,n.bottom)}:{y:Math.max(d.y+i,n.y),bottom:Math.min(l.y-i,n.bottom)}}(e,i,o,t.header.isPositionedAtTop(),n,r),d=u.y,f=u.bottom;return Ln(l,d,c,f-d)},aT={valignCentre:[],alignCentre:[],alignLeft:["tox-pop--align-left"],alignRight:["tox-pop--align-right"],right:["tox-pop--right"],left:["tox-pop--left"],bottom:["tox-pop--bottom"],top:["tox-pop--top"],inset:["tox-pop--inset"]},sT={maxHeightFunction:Nl(),maxWidthFunction:lB()},lT=function(e){return"node"===e},cT=function(e,t,n,r,o){var i=oT(e),a=r.lastElement().exists((function(e){return wt(n,e)}));return function(e,t){var n=e.selection.getRng(),r=$t(Re(n.startContainer),n.startOffset);return n.startContainer===n.endContainer&&n.startOffset===n.endOffset-1&&wt(r.element,t)}(e,n)?a?Tm:Sm:a?function(e,n){var o=on(e,"position");Jt(e,"position",n);var a=rT(i,Vn(t))&&!r.isReposition()?Pm:Tm;return o.each((function(t){return Jt(e,"position",t)})),a}(t,r.getMode()):("fixed"===r.getMode()?o.y+$n().top:o.y)+(fn(t)+12)<=i.y?Sm:km},uT=function(e,t,n,r){var o=function(t){return function(r,o,i,a,s){var l=cT(e,a,t,n,s),c=k(k({},r),{y:s.y,height:s.height});return k(k({},l(c,o,i,a,s)),{alwaysFit:!0})}},i=function(e){return lT(r)?[o(e)]:[]};return t?{onLtr:function(e){return[Ds,Ps,$s,Ms,zs,Rs].concat(i(e))},onRtl:function(e){return[Ds,$s,Ps,zs,Ms,Rs].concat(i(e))}}:{onLtr:function(e){return[Rs,Ds,Ms,Ps,zs,$s].concat(i(e))},onRtl:function(e){return[Rs,Ds,zs,$s,Ms,Ps].concat(i(e))}}},dT=function(e,t){var n=j(t,(function(t){return t.predicate(e.dom)})),r=X(n,(function(e){return"contexttoolbar"===e.type}));return{contextToolbars:r.pass,contextForms:r.fail}},fT=function(e,t){var n={},r=[],o=[],i={},a={},s=de(e);return W(s,(function(s){var l=e[s];"contextform"===l.type?function(e,s){var l=Mr($r("ContextForm",xg,s));n[e]=l,l.launch.map((function(n){i["form:"+e]=k(k({},s.launch),{type:"contextformtogglebutton"===n.type?"togglebutton":"button",onAction:function(){t(l)}})})),"editor"===l.scope?o.push(l):r.push(l),a[e]=l}(s,l):"contexttoolbar"===l.type&&function(e,t){var n;(n=t,$r("ContextToolbar",Sg,n)).each((function(n){"editor"===t.scope?o.push(n):r.push(n),a[e]=n}))}(s,l)})),{forms:n,inNodeScope:r,inEditorScope:o,lookupTable:a,formNavigators:i}},hT=ji("forward-slide"),pT=ji("backward-slide"),mT=ji("change-slide-event"),gT="tox-pop--resizing",AT="tox-pop--transition",vT=function(e,t,n,r){var o,i,a=r.backstage,s=a.shared,l=yt().deviceType.isTouch,c=Ql(),u=Ql(),d=Ql(),f=za((o={sink:n,onEscape:function(){return e.focus(),z.some(!0)}},i=ho([]),hm.sketch({dom:{tag:"div",classes:["tox-pop"]},fireDismissalEventInstead:{event:"doNotDismissYet"},onShow:function(e){i.set([]),hm.getContent(e).each((function(e){ln(e.element,"visibility")})),_a(e.element,gT),ln(e.element,"width")},inlineBehaviours:Gs([Sp("context-toolbar-events",[zi(Fo(),(function(e,t){"width"===t.event.raw.propertyName&&(_a(e.element,gT),ln(e.element,"width"))})),Bi(mT,(function(e,t){var n=e.element;ln(n,"width");var r=On(n);hm.setContent(e,t.event.contents),wa(n,gT);var o=On(n);Jt(n,"width",r+"px"),hm.getContent(e).each((function(e){t.event.focus.bind((function(e){return al(e),cl(n)})).orThunk((function(){return vp.focusIn(e),ll(Dt(n))}))})),$m.setTimeout((function(){Jt(e.element,"width",o+"px")}),0)})),Bi(hT,(function(e,t){hm.getContent(e).each((function(t){i.set(i.get().concat([{bar:t,focus:ll(Dt(e.element))}]))})),Oi(e,mT,{contents:t.event.forwardContents,focus:z.none()})})),Bi(pT,(function(e,t){le(i.get()).each((function(t){i.set(i.get().slice(0,i.get().length-1)),Oi(e,mT,{contents:Ra(t.bar),focus:t.focus})}))}))]),vp.config({mode:"special",onEscape:function(e){return le(i.get()).fold((function(){return o.onEscape()}),(function(t){return yi(e,pT),z.some(!0)}))}})]),lazySink:function(){return Xn.value(o.sink)}}))),h=function(){var t=d.get().getOr("node"),n=lT(t)?1:0;return iT(e,s,t,n)},p=function(){return!(e.removed||l()&&a.isContextMenuOpen())},g=function(){if(p()){var t=h(),n=we(d.get(),"node")?function(e,t){return t.filter(Vt).map(Un).getOrThunk((function(){return oT(e)}))}(e,c.get()):oT(e);return t.height<=0||!rT(n,t)}return!0},A=function(){c.clear(),u.clear(),d.clear(),hm.hide(f)},v=function(){if(hm.isOpen(f)){var e=f.element;ln(e,"display"),g()?Jt(e,"display","none"):(u.set(0),hm.reposition(f))}},y=function(t){return{dom:{tag:"div",classes:["tox-pop__dialog"]},components:[t],behaviours:Gs([vp.config({mode:"acyclic"}),Sp("pop-dialog-wrap-events",[Ri((function(t){e.shortcuts.add("ctrl+F9","focus statusbar",(function(){return vp.focusIn(t)}))})),Di((function(t){e.shortcuts.remove("ctrl+F9")}))])])}},O=He((function(){return fT(t,(function(e){var t=b([e]);Oi(f,hT,{forwardContents:y(t)})}))})),b=function(t){var n=e.ui.registry.getAll().buttons,o=O(),i=k(k({},n),o.formNavigators),a=IA(e)===kg.scrolling?kg.scrolling:kg.default,l=K(H(t,(function(t){return"contexttoolbar"===t.type?function(t,n){return FQ(e,{buttons:t,toolbar:n.items,allowToolbarGroups:!1},r,z.some(["form:"]))}(i,t):function(e,t){return nT(e,t)}(t,s.providers)})));return PB({type:a,uid:ji("context-toolbar"),initGroups:l,onEscape:z.none,cyclicKeying:!0,providers:s.providers})},w=function(t,r){if(_.cancel(),p()){var o=b(t),i=t[0].position,a=function(t,r){var o="node"===t?s.anchors.node(r):s.anchors.cursor(),i=function(e,t,n,r){return"line"===t?{bubble:Fl(12,0,aT),layouts:{onLtr:function(){return[Is]},onRtl:function(){return[Ns]}},overrides:sT}:{bubble:Fl(0,12,aT,1/12),layouts:uT(e,n,r,t),overrides:sT}}(e,t,l(),{lastElement:c.get,isReposition:function(){return we(u.get(),0)},getMode:function(){return nu.getMode(n)}});return nr(o,i)}(i,r);d.set(i),u.set(1);var m=f.element;ln(m,"display"),function(e){return we(xe(e,c.get(),wt),!0)}(r)||(_a(m,AT),nu.reset(n,f)),hm.showWithinBounds(f,y(o),{anchor:a,transition:{classes:[AT],mode:"placement"}},(function(){return z.some(h())})),r.fold(c.clear,c.set),g()&&Jt(m,"display","none")}},_=Zm((function(){e.hasFocus()&&!e.removed&&(xa(f.element,AT)?_.throttle():function(e,t){var n=Re(t.getBody()),r=function(e){return wt(e,n)},o=Re(t.selection.getNode());return function(e){return!r(e)&&!_t(n,e)}(o)?z.none():function(e,t,n){var r=dT(e,t);if(r.contextForms.length>0)return z.some({elem:e,toolbars:[r.contextForms[0]]});var o=dT(e,n);if(o.contextForms.length>0)return z.some({elem:e,toolbars:[o.contextForms[0]]});if(r.contextToolbars.length>0||o.contextToolbars.length>0){var i=function(e){if(e.length<=1)return e;var t=function(t){return V(e,(function(e){return e.position===t}))},n=function(t){return j(e,(function(e){return e.position===t}))},r=t("selection"),o=t("node");if(r||o){if(o&&r){var i=n("node"),a=H(n("selection"),(function(e){return k(k({},e),{position:"node"})}));return i.concat(a)}return n(r?"selection":"node")}return n("line")}(r.contextToolbars.concat(o.contextToolbars));return z.some({elem:e,toolbars:i})}return z.none()}(o,e.inNodeScope,e.inEditorScope).orThunk((function(){return function(e,t,n){return e(t)?z.none():Oo(t,(function(e){if(Le(e)){var t=dT(e,n.inNodeScope),r=t.contextToolbars,o=t.contextForms,i=o.length>0?o:function(e){if(e.length<=1)return e;var t=function(t){return Y(e,(function(e){return e.position===t}))};return t("selection").orThunk((function(){return t("node")})).orThunk((function(){return t("line")})).map((function(e){return e.position})).fold((function(){return[]}),(function(t){return j(e,(function(e){return e.position===t}))}))}(r);return i.length>0?z.some({elem:e,toolbars:i}):z.none()}return z.none()}),e)}(r,o,e)}))}(O(),e).fold(A,(function(e){w(e.toolbars,z.some(e.elem))})))}),17);e.on("init",(function(){e.on("remove",A),e.on("ScrollContent ScrollWindow ObjectResized ResizeEditor longpress",v),e.on("click keyup focus SetContent",_.throttle),e.on(eT,A),e.on("contexttoolbar-show",(function(t){var n=O();ye(n.lookupTable,t.toolbarKey).each((function(n){w([n],Se(t.target!==e,t.target)),hm.getContent(f).each(vp.focusIn)}))})),e.on("focusout",(function(t){$m.setEditorTimeout(e,(function(){cl(n.element).isNone()&&cl(f.element).isNone()&&A()}),0)})),e.on("SwitchMode",(function(){e.mode.isReadOnly()&&A()})),e.on("AfterProgressState",(function(t){t.state?A():e.hasFocus()&&_.throttle()})),e.on("NodeChange",(function(e){cl(f.element).fold(_.throttle,m)}))}))},yT={unsupportedLength:["em","ex","cap","ch","ic","rem","lh","rlh","vw","vh","vi","vb","vmin","vmax","cm","mm","Q","in","pc","pt","px"],fixed:["px","pt"],relative:["%"],empty:[""]},OT=(iQ="[eE][+-]?"+(oQ="[0-9]+"),aQ=function(e){return"(?:"+e+")?"},sQ=["Infinity",oQ+"\\."+aQ(oQ)+aQ(iQ),"\\."+oQ+aQ(iQ),oQ+aQ(iQ)].join("|"),new RegExp("^([+-]?(?:"+sQ+"))(.*)$")),bT=function(e,t){var n=function(){var n=t.getOptions(e),r=t.getCurrent(e).map(t.hash),o=Ql();return H(n,(function(n){return{type:"togglemenuitem",text:t.display(n),onSetup:function(i){var a=function(e){e&&(o.on((function(e){return e.setActive(!1)})),o.set(i)),i.setActive(e)};a(we(r,t.hash(n)));var s=t.watcher(e,n,a);return function(){o.clear(),s()}},onAction:function(){return t.setCurrent(e,n)}}}))};e.ui.registry.addMenuButton(t.name,{tooltip:t.text,icon:t.icon,fetch:function(e){return e(n())},onSetup:t.onToolbarSetup}),e.ui.registry.addNestedMenuItem(t.name,{type:"nestedmenuitem",text:t.text,getSubmenuItems:n,onSetup:t.onMenuSetup})},wT={name:"lineheight",text:"Line height",icon:"line-height",getOptions:function(e){return e.getParam("lineheight_formats","1 1.1 1.2 1.3 1.4 1.5 2","string").split(" ")},hash:function(e){return function(e){return function(e,t){return z.from(OT.exec(e)).bind((function(e){var n=Number(e[1]),r=e[2];return function(e,t){return V(t,(function(t){return V(yT[t],(function(t){return e===t}))}))}(r,t)?z.some({value:n,unit:r}):z.none()}))}(e,["fixed","relative","empty"]).map((function(e){return e.value+e.unit}))}(e).getOr(e)},display:v,watcher:function(e,t,n){return e.formatter.formatChanged("lineheight",n,!1,{value:t}).unbind},getCurrent:function(e){return z.from(e.queryCommandValue("LineHeight"))},setCurrent:function(e,t){return e.execCommand("LineHeight",!1,t)}},_T=function(e){return KB(e,"NodeChange",(function(t){t.setDisabled(!e.queryCommandState("outdent"))}))},xT=function(e,t){return function(){e.execCommand("mceToggleFormat",!1,t)}},ST=function(e){(function(e){!function(e){h_.each([{name:"bold",text:"Bold",icon:"bold"},{name:"italic",text:"Italic",icon:"italic"},{name:"underline",text:"Underline",icon:"underline"},{name:"strikethrough",text:"Strikethrough",icon:"strike-through"},{name:"subscript",text:"Subscript",icon:"subscript"},{name:"superscript",text:"Superscript",icon:"superscript"}],(function(t,n){e.ui.registry.addToggleButton(t.name,{tooltip:t.text,icon:t.icon,onSetup:GB(e,t.name),onAction:xT(e,t.name)})}));for(var t=1;t<=6;t++){var n="h"+t;e.ui.registry.addToggleButton(n,{text:n.toUpperCase(),tooltip:"Heading "+t,onSetup:GB(e,n),onAction:xT(e,n)})}}(e),function(e){h_.each([{name:"cut",text:"Cut",action:"Cut",icon:"cut"},{name:"copy",text:"Copy",action:"Copy",icon:"copy"},{name:"paste",text:"Paste",action:"Paste",icon:"paste"},{name:"help",text:"Help",action:"mceHelp",icon:"help"},{name:"selectall",text:"Select all",action:"SelectAll",icon:"select-all"},{name:"newdocument",text:"New document",action:"mceNewDocument",icon:"new-document"},{name:"removeformat",text:"Clear formatting",action:"RemoveFormat",icon:"remove-formatting"},{name:"remove",text:"Remove",action:"Delete",icon:"remove"}],(function(t){e.ui.registry.addButton(t.name,{tooltip:t.text,icon:t.icon,onAction:eQ(e,t.action)})}))}(e),function(e){h_.each([{name:"blockquote",text:"Blockquote",action:"mceBlockQuote",icon:"quote"}],(function(t){e.ui.registry.addToggleButton(t.name,{tooltip:t.text,icon:t.icon,onAction:eQ(e,t.action),onSetup:GB(e,t.name)})}))}(e)})(e),function(e){h_.each([{name:"bold",text:"Bold",action:"Bold",icon:"bold",shortcut:"Meta+B"},{name:"italic",text:"Italic",action:"Italic",icon:"italic",shortcut:"Meta+I"},{name:"underline",text:"Underline",action:"Underline",icon:"underline",shortcut:"Meta+U"},{name:"strikethrough",text:"Strikethrough",action:"Strikethrough",icon:"strike-through",shortcut:""},{name:"subscript",text:"Subscript",action:"Subscript",icon:"subscript",shortcut:""},{name:"superscript",text:"Superscript",action:"Superscript",icon:"superscript",shortcut:""},{name:"removeformat",text:"Clear formatting",action:"RemoveFormat",icon:"remove-formatting",shortcut:""},{name:"newdocument",text:"New document",action:"mceNewDocument",icon:"new-document",shortcut:""},{name:"cut",text:"Cut",action:"Cut",icon:"cut",shortcut:"Meta+X"},{name:"copy",text:"Copy",action:"Copy",icon:"copy",shortcut:"Meta+C"},{name:"paste",text:"Paste",action:"Paste",icon:"paste",shortcut:"Meta+V"},{name:"selectall",text:"Select all",action:"SelectAll",icon:"select-all",shortcut:"Meta+A"}],(function(t){e.ui.registry.addMenuItem(t.name,{text:t.text,icon:t.icon,shortcut:t.shortcut,onAction:eQ(e,t.action)})})),e.ui.registry.addMenuItem("codeformat",{text:"Code",icon:"sourcecode",onAction:xT(e,"code")})}(e)},kT=function(e,t){return KB(e,"Undo Redo AddUndo TypingUndo ClearUndos SwitchMode",(function(n){n.setDisabled(e.mode.isReadOnly()||!e.undoManager[t]())}))},CT=function(e){return KB(e,"VisualAid",(function(t){t.setActive(e.hasVisual)}))},BT=function(e,t){!function(e){W([{name:"alignleft",text:"Align left",cmd:"JustifyLeft",icon:"align-left"},{name:"aligncenter",text:"Align center",cmd:"JustifyCenter",icon:"align-center"},{name:"alignright",text:"Align right",cmd:"JustifyRight",icon:"align-right"},{name:"alignjustify",text:"Justify",cmd:"JustifyFull",icon:"align-justify"}],(function(t){e.ui.registry.addToggleButton(t.name,{tooltip:t.text,icon:t.icon,onAction:eQ(e,t.cmd),onSetup:GB(e,t.name)})})),e.ui.registry.addButton("alignnone",{tooltip:"No alignment",icon:"align-none",onAction:eQ(e,"JustifyNone")})}(e),ST(e),function(e,t){!function(e,t){var n=nQ(0,t,dQ(e));e.ui.registry.addNestedMenuItem("align",{text:t.shared.providers.translate("Align"),getSubmenuItems:function(){return n.items.validateItems(n.getStyleItems())}})}(e,t),function(e,t){var n=nQ(0,t,pQ(e));e.ui.registry.addNestedMenuItem("fontformats",{text:t.shared.providers.translate("Fonts"),getSubmenuItems:function(){return n.items.validateItems(n.getStyleItems())}})}(e,t),function(e,t){var n=k({type:"advanced"},t.styleselect),r=nQ(0,t,OQ(e,n));e.ui.registry.addNestedMenuItem("formats",{text:"Formats",getSubmenuItems:function(){return r.items.validateItems(r.getStyleItems())}})}(e,t),function(e,t){var n=nQ(0,t,yQ(e));e.ui.registry.addNestedMenuItem("blockformats",{text:"Blocks",getSubmenuItems:function(){return n.items.validateItems(n.getStyleItems())}})}(e,t),function(e,t){var n=nQ(0,t,AQ(e));e.ui.registry.addNestedMenuItem("fontsizes",{text:"Font sizes",getSubmenuItems:function(){return n.items.validateItems(n.getStyleItems())}})}(e,t)}(e,t),function(e){!function(e){e.ui.registry.addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onSetup:kT(e,"hasUndo"),onAction:eQ(e,"undo")}),e.ui.registry.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onSetup:kT(e,"hasRedo"),onAction:eQ(e,"redo")})}(e),function(e){e.ui.registry.addButton("undo",{tooltip:"Undo",icon:"undo",disabled:!0,onSetup:kT(e,"hasUndo"),onAction:eQ(e,"undo")}),e.ui.registry.addButton("redo",{tooltip:"Redo",icon:"redo",disabled:!0,onSetup:kT(e,"hasRedo"),onAction:eQ(e,"redo")})}(e)}(e),function(e){!function(e){e.addCommand("mceApplyTextcolor",(function(t,n){!function(e,t,n){e.undoManager.transact((function(){e.focus(),e.formatter.apply(t,{value:n}),e.nodeChanged()}))}(e,t,n)})),e.addCommand("mceRemoveTextcolor",(function(t){!function(e,t){e.undoManager.transact((function(){e.focus(),e.formatter.remove(t,{value:null},null,!0),e.nodeChanged()}))}(e,t)}))}(e);var t=ho(sy),n=ho(sy);py(e,"forecolor","forecolor","Text color",t),py(e,"backcolor","hilitecolor","Background color",n),my(e,"forecolor","forecolor","Text color"),my(e,"backcolor","hilitecolor","Background color")}(e),function(e){!function(e){e.ui.registry.addButton("visualaid",{tooltip:"Visual aids",text:"Visual aids",onAction:eQ(e,"mceToggleVisualAid")})}(e),function(e){e.ui.registry.addToggleMenuItem("visualaid",{text:"Visual aids",onSetup:CT(e),onAction:eQ(e,"mceToggleVisualAid")})}(e)}(e),function(e){!function(e){e.ui.registry.addButton("outdent",{tooltip:"Decrease indent",icon:"outdent",onSetup:_T(e),onAction:eQ(e,"outdent")}),e.ui.registry.addButton("indent",{tooltip:"Increase indent",icon:"indent",onAction:eQ(e,"indent")})}(e)}(e),function(e){bT(e,wT),function(e){var t=z.from(function(e){return e.getParam("content_langs",void 0,"array")}(e));return t.map((function(t){return{name:"language",text:"Language",icon:"language",getOptions:A(t),hash:function(e){return c(e.customCode)?e.code:e.code+"/"+e.customCode},display:function(e){return e.title},watcher:function(e,t,n){return e.formatter.formatChanged("lang",n,!1,{value:t.code,customValue:t.customCode}).unbind},getCurrent:function(e){var t=Re(e.selection.getNode());return bo(t,(function(e){return z.some(e).filter(Le).bind((function(e){return qt(e,"lang").map((function(t){return{code:t,customCode:qt(e,"data-mce-lang").getOrUndefined(),title:""}}))}))}))},setCurrent:function(e,t){return e.execCommand("Lang",!1,t)},onToolbarSetup:function(t){var n=Bl();return t.setActive(e.formatter.match("lang",{},void 0,!0)),n.set(e.formatter.formatChanged("lang",t.setActive,!0)),n.clear}}}))}(e).each((function(t){return bT(e,t)}))}(e)},QT=function(e,t){return{type:"makeshift",x:e,y:t}},TT=function(e){return"longpress"===e.type||0===e.type.indexOf("touch")},ET=function(e,t){return"contextmenu"===t.type||"longpress"===t.type?e.inline?function(e){if(TT(e)){var t=e.touches[0];return QT(t.pageX,t.pageY)}return QT(e.pageX,e.pageY)}(t):function(e,t){var n=SA.DOM.getPos(e);return function(e,t,n){return QT(e.x+t,e.y+n)}(t,n.x,n.y)}(e.getContentAreaContainer(),function(e){if(TT(e)){var t=e.touches[0];return QT(t.clientX,t.clientY)}return QT(e.clientX,e.clientY)}(t)):PT(e)},PT=function(e){return{type:"selection",root:Re(e.selection.getNode())}},$T=function(e,t,n){switch(n){case"node":return function(e){return{type:"node",node:z.some(Re(e.selection.getNode())),root:Re(e.getBody())}}(e);case"point":return ET(e,t);case"selection":return PT(e)}},MT=function(e,t,n,r,o,i){var a=n(),s=$T(e,t,i);yx(a,Cg.CLOSE_ON_EXECUTE,r,!1).map((function(e){t.preventDefault(),hm.showMenuAt(o,{anchor:s},{menu:{markers:Ug("normal")},data:e})}))},zT={onLtr:function(){return[Ds,Ps,$s,Ms,zs,Rs,Sm,km,xm,wm,_m,bm]},onRtl:function(){return[Ds,$s,Ps,zs,Ms,Rs,Sm,km,_m,bm,xm,wm]}},RT={valignCentre:[],alignCentre:[],alignLeft:["tox-pop--align-left"],alignRight:["tox-pop--align-right"],right:["tox-pop--right"],left:["tox-pop--left"],bottom:["tox-pop--bottom"],top:["tox-pop--top"]},DT=function(e,t,n,r,o,i){var a=yt(),s=a.os.isiOS(),l=a.os.isOSX(),c=a.os.isAndroid(),u=a.deviceType.isTouch(),d=function(){var a=n();!function(e,t,n,r,o,i,a){var s=function(e,t,n){var r=$T(e,t,n);return k({bubble:Fl(0,"point"===n?12:0,RT),layouts:zT,overrides:{maxWidthFunction:lB(),maxHeightFunction:Nl()}},r)}(e,t,i);yx(n,Cg.CLOSE_ON_EXECUTE,r,!0).map((function(n){t.preventDefault(),hm.showMenuWithinBounds(o,{anchor:s},{menu:{markers:Ug("normal"),highlightImmediately:a},data:n,type:"horizontal"},(function(){return z.some(iT(e,r.shared,"node"===i?"node":"selection"))})),e.fire(eT)}))}(e,t,a,r,o,i,!(c||s||l&&u))};if((l||s)&&"node"!==i){var f=function(){!function(e){var t=e.selection.getRng(),n=function(){$m.setEditorTimeout(e,(function(){e.selection.setRng(t)}),10),i()};e.once("touchend",n);var r=function(e){e.preventDefault(),e.stopImmediatePropagation()};e.on("mousedown",r,!0);var o=function(){return i()};e.once("longpresscancel",o);var i=function(){e.off("touchend",n),e.off("longpresscancel",o),e.off("mousedown",r)}}(e),d()};!function(e,t){var n=e.selection;if(n.isCollapsed()||t.touches.length<1)return!1;var r=t.touches[0],o=n.getRng();return Tc(e.getWin(),mc.domRange(o)).exists((function(e){return e.left<=r.clientX&&e.right>=r.clientX&&e.top<=r.clientY&&e.bottom>=r.clientY}))}(e,t)?(e.once("selectionchange",f),e.once("touchend",(function(){return e.off("selectionchange",f)}))):f()}else d()},IT=function(e){return"string"==typeof e?e.split(/[ ,]/):e},NT=function(e){return e.getParam("contextmenu_never_use_native",!1,"boolean")},LT=function(e){return o(e)?"|"===e:"separator"===e.type},VT={type:"separator"},UT=function(e){var t,n=function(e){return{text:e.text,icon:e.icon,disabled:e.disabled,shortcut:e.shortcut}};if(o(e))return e;switch(e.type){case"separator":return VT;case"submenu":return k(k({type:"nestedmenuitem"},n(e)),{getSubmenuItems:function(){var t=e.getSubmenuItems();return o(t)?t:H(t,UT)}});default:return k(k({type:"menuitem"},n(e)),{onAction:(t=e.onAction,function(){return t()})})}},FT=function(e,t){if(0===t.length)return e;var n=le(e).filter((function(e){return!LT(e)})).fold((function(){return[]}),(function(e){return[VT]}));return e.concat(n).concat(t).concat([VT])},HT=function(e,t){return"longpress"!==t.type&&(2!==t.button||t.target===e.getBody()&&""===t.pointerType)},WT=function(e,t){return HT(e,t)?e.selection.getStart(!0):t.target},XT=function(e,t,n){var r=yt().deviceType.isTouch,i=za(hm.sketch({dom:{tag:"div"},lazySink:t,onEscape:function(){return e.focus()},onShow:function(){return n.setContextMenuState(!0)},onHide:function(){return n.setContextMenuState(!1)},fireDismissalEventInstead:{},inlineBehaviours:Gs([Sp("dismissContextMenu",[Bi(di(),(function(t,n){Su.close(t),e.focus()}))])])})),a=function(e){return hm.hide(i)},s=function(t){if(NT(e)&&t.preventDefault(),!function(e,t){return t.ctrlKey&&!NT(e)}(e,t)&&!function(e){return!1===e.getParam("contextmenu")}(e)){var a=function(e,t){var n=function(e){return e.getParam("contextmenu_avoid_overlap","","string")}(e),r=HT(e,t)?"selection":"point";if(Te(n)){var o=WT(e,t);return Py(Re(o),n)?"node":r}return r}(e,t);(r()?DT:MT)(e,t,(function(){var n=WT(e,t),r=e.ui.registry.getAll(),i=function(e){return function(e){var t=e.ui.registry.getAll().contextMenus;return z.from(e.getParam("contextmenu")).map(IT).getOrThunk((function(){return j(IT("link linkchecker image imagetools table spellchecker configurepermanentpen"),(function(e){return Oe(t,e)}))}))}(e)}(e);return function(e,t,n){var r=Z(t,(function(t,r){return ye(e,r.toLowerCase()).map((function(e){var r=e.update(n);if(o(r))return FT(t,r.split(" "));if(r.length>0){var i=H(r,UT);return FT(t,i)}return t})).getOrThunk((function(){return t.concat([r])}))}),[]);return r.length>0&&LT(r[r.length-1])&&r.pop(),r}(r.contextMenus,i,n)}),n,i,a)}};e.on("init",(function(){var t="ResizeEditor ScrollContent ScrollWindow longpresscancel"+(r()?"":" ResizeWindow");e.on(t,a),e.on("longpress contextmenu",s)}))},jT=po([{offset:["x","y"]},{absolute:["x","y"]},{fixed:["x","y"]}]),qT=function(e){return function(t){return t.translate(-e.left,-e.top)}},ZT=function(e){return function(t){return t.translate(e.left,e.top)}},YT=function(e){return function(t,n){return Z(e,(function(e,t){return t(e)}),mn(t,n))}},GT=function(e,t,n){return e.fold(YT([ZT(n),qT(t)]),YT([qT(t)]),YT([]))},KT=function(e,t,n){return e.fold(YT([ZT(n)]),YT([]),YT([ZT(t)]))},JT=function(e,t,n){return e.fold(YT([]),YT([qT(n)]),YT([ZT(t),qT(n)]))},eE=function(e,t,n){var r=e.fold((function(e,t){return{position:z.some("absolute"),left:z.some(e+"px"),top:z.some(t+"px")}}),(function(e,t){return{position:z.some("absolute"),left:z.some(e-n.left+"px"),top:z.some(t-n.top+"px")}}),(function(e,t){return{position:z.some("fixed"),left:z.some(e+"px"),top:z.some(t+"px")}}));return k({right:z.none(),bottom:z.none()},r)},tE=function(e,t,n,r){var o=function(e,o){return function(i,a){var s=e(t,n,r);return o(i.getOr(s.left),a.getOr(s.top))}};return e.fold(o(JT,nE),o(KT,rE),o(GT,oE))},nE=jT.offset,rE=jT.absolute,oE=jT.fixed,iE=function(e,t){var n=jt(e,t);return c(n)?NaN:parseInt(n,10)},aE=function(e,t,n,r,o,i){var a=function(e,t,n,r){return function(e,t){var n=e.element,r=iE(n,t.leftAttr),o=iE(n,t.topAttr);return isNaN(r)||isNaN(o)?z.none():z.some(mn(r,o))}(e,t).fold((function(){return n}),(function(e){return oE(e.left+r.left,e.top+r.top)}))}(e,t,n,r),s=t.mustSnap?lE(e,t,a,o,i):cE(e,t,a,o,i),l=GT(a,o,i);return function(e,t,n){var r=e.element;Wt(r,t.leftAttr,n.left+"px"),Wt(r,t.topAttr,n.top+"px")}(e,t,l),s.fold((function(){return{coord:oE(l.left,l.top),extra:z.none()}}),(function(e){return{coord:e.output,extra:e.extra}}))},sE=function(e,t,n,r){return ue(e,(function(e){var o=e.sensor,i=function(e,t,n,r,o,i){var a=KT(e,o,i),s=KT(t,o,i);return Math.abs(a.left-s.left)<=n&&Math.abs(a.top-s.top)<=r}(t,o,e.range.left,e.range.top,n,r);return i?z.some({output:tE(e.output,t,n,r),extra:e.extra}):z.none()}))},lE=function(e,t,n,r,o){var i=t.getSnapPoints(e);return sE(i,n,r,o).orThunk((function(){var e=Z(i,(function(e,t){var i=t.sensor,a=function(e,t,n,r,o,i){var a=KT(e,o,i),s=KT(t,o,i),l=Math.abs(a.left-s.left),c=Math.abs(a.top-s.top);return mn(l,c)}(n,i,t.range.left,t.range.top,r,o);return e.deltas.fold((function(){return{deltas:z.some(a),snap:z.some(t)}}),(function(n){return(a.left+a.top)/2<=(n.left+n.top)/2?{deltas:z.some(a),snap:z.some(t)}:e}))}),{deltas:z.none(),snap:z.none()});return e.snap.map((function(e){return{output:tE(e.output,n,r,o),extra:e.extra}}))}))},cE=function(e,t,n,r,o){var i=t.getSnapPoints(e);return sE(i,n,r,o)},uE=Object.freeze({__proto__:null,snapTo:function(e,t,n,r){var o=t.getTarget(e.element);if(t.repositionTarget){var i=xt(e.element),a=$n(i),s=Lk(o),l=function(e,t,n){return{coord:tE(e.output,e.output,t,n),extra:e.extra}}(r,a,s),c=eE(l.coord,0,s);tn(o,c)}}}),dE="data-initial-z-index",fE=function(e,t){e.getSystem().addToGui(t),function(e){Bt(e.element).filter(Le).each((function(t){on(t,"z-index").each((function(e){Wt(t,dE,e)})),Jt(t,"z-index",nn(e.element,"z-index"))}))}(t)},hE=function(e){!function(e){Bt(e.element).filter(Le).each((function(e){qt(e,dE).fold((function(){return ln(e,"z-index")}),(function(t){return Jt(e,"z-index",t)})),Yt(e,dE)}))}(e),e.getSystem().removeFromGui(e)},pE=function(e,t,n){return e.getSystem().build(Fy.sketch({dom:{styles:{left:"0px",top:"0px",width:"100%",height:"100%",position:"fixed","z-index":"1000000000000000"},classes:[t]},events:n}))},mE=no("snaps",[Vr("getSnapPoints"),is("onSensor"),Vr("leftAttr"),Vr("topAttr"),ro("lazyViewport",Fn),ro("mustSnap",!1)]),gE=[ro("useFixed",_),Vr("blockerClass"),ro("getTarget",v),ro("onDrag",m),ro("repositionTarget",!0),ro("onDrop",m),co("getBounds",Fn),mE],AE=function(e,t){return{bounds:e.getBounds(),height:hn(t.element),width:bn(t.element)}},vE=function(e,t,n,r,o){var i=n.update(r,o),a=n.getStartData().getOrThunk((function(){return AE(t,e)}));i.each((function(n){!function(e,t,n,r){var o=t.getTarget(e.element);if(t.repositionTarget){var i=xt(e.element),a=$n(i),s=Lk(o),l=function(e){return(t=on(e,"left"),n=on(e,"top"),r=on(e,"position"),o=function(e,t,n){return("fixed"===n?oE:nE)(parseInt(e,10),parseInt(t,10))},t.isSome()&&n.isSome()&&r.isSome()?z.some(o(t.getOrDie(),n.getOrDie(),r.getOrDie())):z.none()).getOrThunk((function(){var t=An(e);return rE(t.left,t.top)}));var t,n,r,o}(o),c=function(e,t,n,r,o,i,a){return function(e,t,n,r,o){var i=o.bounds,a=KT(t,n,r),s=_s(a.left,i.x,i.x+i.width-o.width),l=_s(a.top,i.y,i.y+i.height-o.height),c=rE(s,l);return t.fold((function(){var e=JT(c,n,r);return nE(e.left,e.top)}),A(c),(function(){var e=GT(c,n,r);return oE(e.left,e.top)}))}(0,t.fold((function(){var e,t,a,s=(e=n,t=i.left,a=i.top,e.fold((function(e,n){return nE(e+t,n+a)}),(function(e,n){return rE(e+t,n+a)}),(function(e,n){return oE(e+t,n+a)}))),l=GT(s,r,o);return oE(l.left,l.top)}),(function(t){var a=aE(e,t,n,i,r,o);return a.extra.each((function(n){t.onSensor(e,n)})),a.coord})),r,o,a)}(e,t.snaps,l,a,s,r,n),u=eE(c,0,s);tn(o,u)}t.onDrag(e,o,r)}(e,t,a,n)}))},yE=function(e,t,n,r){t.each(hE),n.snaps.each((function(t){!function(e,t){!function(e,t){var n=e.element;Yt(n,t.leftAttr),Yt(n,t.topAttr)}(e,t)}(e,t)}));var o=n.getTarget(e.element);r.reset(),n.onDrop(e,o)},OE=function(e){return function(t,n){var r=function(e){n.setStartData(AE(t,e))};return Si(B([Bi(si(),(function(e){n.getStartData().each((function(){return r(e)}))}))],e(t,n,r),!0))}},bE=Object.freeze({__proto__:null,getData:function(e){return z.from(mn(e.x,e.y))},getDelta:function(e,t){return mn(t.left-e.left,t.top-e.top)}}),wE=function(e,t,n){return[Bi(To(),(function(r,o){if(0===o.event.raw.button){o.stop();var i=function(){return yE(r,z.some(l),e,t)},a=$y(i,200),s={drop:i,delayDrop:a.schedule,forceDrop:i,move:function(n){a.cancel(),vE(r,e,t,bE,n)}},l=pE(r,e.blockerClass,function(e){return Si([Bi(To(),e.forceDrop),Bi($o(),e.drop),Bi(Eo(),(function(t,n){e.move(n.event)})),Bi(Po(),e.delayDrop)])}(s));n(r),fE(r,l)}}))]},_E=B(B([],gE,!0),[cs("dragger",{handlers:OE(wE)})],!1),xE=Object.freeze({__proto__:null,getData:function(e){var t=e.raw.touches;return 1===t.length?function(e){var t=e[0];return z.some(mn(t.clientX,t.clientY))}(t):z.none()},getDelta:function(e,t){return mn(t.left-e.left,t.top-e.top)}}),SE=function(e,t,n){var r=Ql(),o=function(n){yE(n,r.get(),e,t),r.clear()};return[Bi(ko(),(function(i,a){a.stop();var s=function(){return o(i)},l={drop:s,delayDrop:m,forceDrop:s,move:function(n){vE(i,e,t,xE,n)}},c=pE(i,e.blockerClass,function(e){return Si([Bi(ko(),e.forceDrop),Bi(Bo(),e.drop),Bi(Qo(),e.drop),Bi(Co(),(function(t,n){e.move(n.event)}))])}(l));r.set(c),n(i),fE(i,c)})),Bi(Co(),(function(n,r){r.stop(),vE(n,e,t,xE,r.event)})),Bi(Bo(),(function(e,t){t.stop(),o(e)})),Bi(Qo(),o)]},kE=_E,CE=B(B([],gE,!0),[cs("dragger",{handlers:OE(SE)})],!1),BE=B(B([],gE,!0),[cs("dragger",{handlers:OE((function(e,t,n){return B(B([],wE(e,t,n),!0),SE(e,t,n),!0)}))})],!1),QE=Object.freeze({__proto__:null,mouse:kE,touch:CE,mouseOrTouch:BE}),TE=Object.freeze({__proto__:null,init:function(){var e=z.none(),t=z.none(),n=A({});return ua({readState:n,reset:function(){e=z.none(),t=z.none()},update:function(t,n){return t.getData(n).bind((function(n){return function(t,n){var r=e.map((function(e){return t.getDelta(e,n)}));return e=z.some(n),r}(t,n)}))},getStartData:function(){return t},setStartData:function(e){t=z.some(e)}})}}),EE=tl({branchKey:"mode",branches:QE,name:"dragging",active:{events:function(e,t){return e.dragger.handlers(e,t)}},extra:{snap:function(e){return{sensor:e.sensor,range:e.range,output:e.output,extra:z.from(e.extra)}}},state:TE,apis:uE}),PE=function(e,t,n,r,o,i){return e.fold((function(){return EE.snap({sensor:rE(n-20,r-20),range:mn(o,i),output:rE(z.some(n),z.some(r)),extra:{td:t}})}),(function(e){var o=n-20,i=r-20,a=e.element.dom.getBoundingClientRect();return EE.snap({sensor:rE(o,i),range:mn(40,40),output:rE(z.some(n-a.width/2),z.some(r-a.height/2)),extra:{td:t}})}))},$E=function(e,t,n){return{getSnapPoints:e,leftAttr:"data-drag-left",topAttr:"data-drag-top",onSensor:function(e,r){var o=r.td;(function(e,t){return e.exists((function(e){return wt(e,t)}))})(t.get(),o)||(t.set(o),n(o))},mustSnap:!0}},ME=function(e){return zm(Mm.sketch({dom:{tag:"div",classes:["tox-selector"]},buttonBehaviours:Gs([EE.config({mode:"mouseOrTouch",blockerClass:"blocker",snaps:e}),ob.config({})]),eventOrder:{mousedown:["dragging","alloy.base.behaviour"],touchstart:["dragging","alloy.base.behaviour"]}}))},zE=function(e,t){var n=ho([]),r=ho([]),o=ho(!1),i=Ql(),a=Ql(),s=function(e){var n=Un(e);return PE(d.getOpt(t),e,n.x,n.y,n.width,n.height)},l=function(e){var n=Un(e);return PE(f.getOpt(t),e,n.right,n.bottom,n.width,n.height)},c=$E((function(){return H(n.get(),(function(e){return s(e)}))}),i,(function(t){a.get().each((function(n){e.fire("TableSelectorChange",{start:t,finish:n})}))})),u=$E((function(){return H(r.get(),(function(e){return l(e)}))}),a,(function(t){i.get().each((function(n){e.fire("TableSelectorChange",{start:n,finish:t})}))})),d=ME(c),f=ME(u),h=za(d.asSpec()),p=za(f.asSpec()),m=function(t,n,r,o){var i=r(n);EE.snapTo(t,i),function(t,n){var r=n.dom.getBoundingClientRect();ln(t.element,"display");var i=Ct(Re(e.getBody())).dom.innerHeight,a=r[o]<0,s=function(e,t){return e[o]>t}(r,i);(a||s)&&Jt(t.element,"display","none")}(t,n)},g=function(e){return m(h,e,s,"top")},A=function(e){return m(p,e,l,"bottom")};yt().deviceType.isTouch()&&(e.on("TableSelectionChange",(function(e){o.get()||(su(t,h),su(t,p),o.set(!0)),i.set(e.start),a.set(e.finish),e.otherCells.each((function(t){n.set(t.upOrLeftCells),r.set(t.downOrRightCells),g(e.start),A(e.finish)}))})),e.on("ResizeEditor ResizeWindow ScrollContent",(function(){i.get().each(g),a.get().each(A)})),e.on("TableSelectionClear",(function(){o.get()&&(uu(h),uu(p),o.set(!1)),i.clear(),a.clear()})))},RE=function(e){if(1===e.nodeType){if("BR"===e.nodeName||e.getAttribute("data-mce-bogus"))return!0;if("bookmark"===e.getAttribute("data-mce-type"))return!0}return!1};!function(e){e[e.None=0]="None",e[e.Both=1]="Both",e[e.Vertical=2]="Vertical"}(lQ||(lQ={}));var DE,IE=function(e,t,n){var r=Re(e.getContainer()),o=function(e,t,n,r,o){var i={};return i.height=YQ(r+t.top,TA(e),PA(e)),n===lQ.Both&&(i.width=YQ(o+t.left,QA(e),EA(e))),i}(e,t,n,fn(r),On(r));he(o,(function(e,t){return Jt(r,t,ZQ(e))})),function(e){e.fire("ResizeEditor")}(e)},NE=function(e,t,n,r){var o=mn(20*n,20*r);return IE(e,o,t),z.some(!0)},LE=function(e,t){var n=function(){var n,r=[];return e.getParam("elementpath",!0,"boolean")&&r.push(function(e,t,n){return t.delimiter||(t.delimiter="»"),{dom:{tag:"div",classes:["tox-statusbar__path"],attributes:{role:"navigation"}},behaviours:Gs([vp.config({mode:"flow",selector:"div[role=button]"}),hf.config({disabled:n.isDisabled}),nv(),Yy.config({}),xp.config({}),Sp("elementPathEvents",[Ri((function(r,o){e.shortcuts.add("alt+F11","focus statusbar elementpath",(function(){return vp.focusIn(r)})),e.on("NodeChange",(function(o){var i,a,s=function(t){for(var n=[],r=t.length;r-- >0;){var o=t[r];if(1===o.nodeType&&!RE(o)){var i=e.fire("ResolveName",{name:o.nodeName.toLowerCase(),target:o});if(i.isDefaultPrevented()||n.push({name:i.name,element:o}),i.isPropagationStopped())break}}return n}(o.parents);s.length>0?xp.set(r,(i=H(s||[],(function(t,r){return Mm.sketch({dom:{tag:"div",classes:["tox-statusbar__path-item"],attributes:{role:"button","data-index":r,"tab-index":-1,"aria-level":r+1},innerHtml:t.name},action:function(n){e.focus(),e.selection.select(t.element),e.nodeChanged()},buttonBehaviours:Gs([rv(n.isDisabled),nv()])})})),a={dom:{tag:"div",classes:["tox-statusbar__path-divider"],attributes:{"aria-hidden":!0},innerHtml:" "+t.delimiter+" "}},Z(i.slice(1),(function(e,t){var n=e;return n.push(a),n.push(t),n}),[i[0]]))):xp.set(r,[])}))}))])]),components:[]}}(e,{},t)),e.hasPlugin("wordcount")&&r.push(function(e,t){var n,r=function(e,n,r){return xp.set(e,[Pa(t.translate(["{0} "+r,n[r]]))])};return Mm.sketch({dom:{tag:"button",classes:["tox-statusbar__wordcount"]},components:[],buttonBehaviours:Gs([rv(t.isDisabled),nv(),Yy.config({}),xp.config({}),Wu.config({store:{mode:"memory",initialValue:{mode:"words",count:{words:0,characters:0}}}}),Sp("wordcount-events",[Ni((function(e){var t=Wu.getValue(e),n="words"===t.mode?"characters":"words";Wu.setValue(e,{mode:n,count:t.count}),r(e,t.count,n)})),Ri((function(t){e.on("wordCountUpdate",(function(e){var n=Wu.getValue(t).mode;Wu.setValue(t,{mode:n,count:e.wordCount}),r(t,e.wordCount,n)}))}))])]),eventOrder:(n={},n[Ko()]=["disabling","alloy.base.behaviour","wordcount-events"],n)})}(e,t)),e.getParam("branding",!0,"boolean")&&r.push({dom:{tag:"span",classes:["tox-statusbar__branding"],innerHtml:'<a href="https://www.tiny.cloud/?utm_campaign=editor_referral&amp;utm_medium=poweredby&amp;utm_source=tinymce&amp;utm_content=v5" rel="noopener" target="_blank" tabindex="-1" aria-label="'+(n=Rm.translate(["Powered by {0}","Tiny"]))+'">'+n+"</a>"}}),r.length>0?[{dom:{tag:"div",classes:["tox-statusbar__text-container"]},components:r}]:[]};return{dom:{tag:"div",classes:["tox-statusbar"]},components:function(){var r=n(),o=function(e,t){var n=function(e){var t=!e.hasPlugin("autoresize"),n=e.getParam("resize",t);return!1===n?lQ.None:"both"===n?lQ.Both:lQ.Vertical}(e);return n===lQ.None?z.none():z.some(Wm("resize-handle",{tag:"div",classes:["tox-statusbar__resize-handle"],attributes:{title:t.translate("Resize")},behaviours:[EE.config({mode:"mouse",repositionTarget:!1,onDrag:function(t,r,o){return IE(e,o,n)},blockerClass:"tox-blocker"}),vp.config({mode:"special",onLeft:function(){return NE(e,n,-1,0)},onRight:function(){return NE(e,n,1,0)},onUp:function(){return NE(e,n,0,-1)},onDown:function(){return NE(e,n,0,1)}}),Yy.config({}),Tp.config({})]},t.icons))}(e,t);return r.concat(o.toArray())}()}},VE=function(e){var t,n,r,o,i=e.inline,a=i?JQ:jQ,s=jA(e)?fC:Ik,l=z.none(),c=yt(),u=c.browser.isIE()?["tox-platform-ie"]:[],d=c.deviceType.isTouch()?["tox-platform-touch"]:[],f=UA(e),h=WA(e),p=Rm.isRtl()?{attributes:{dir:"rtl"}}:{},g={attributes:(t={},t[ql]=f?yl.BottomToTop:yl.TopToBottom,t)},A=function(){return l.bind(LB.getHeader)},v=za((n=wt(Ut(),h)&&"grid"===nn(h,"display"),r={dom:k({tag:"div",classes:["tox","tox-silver-sink","tox-tinymce-aux"].concat(u).concat(d)},p),behaviours:Gs([nu.config({useFixed:function(){return s.isDocked(A)}})])},o={dom:{styles:{width:document.body.clientWidth+"px"}},events:Si([Bi(li(),(function(){Jt(H.element,"width",document.body.clientWidth+"px")}))])},nr(r,n?o:{}))),y=function(){return Xn.value(v)},O=zm({dom:{tag:"div",classes:["tox-anchorbar"]}}),b=function(){return l.bind((function(e){return LB.getThrobber(e)})).getOrDie("Could not find throbber element")},w=function(e,t,n){var r=ho(!1),o=function(e){var t=ho(UA(e)?"bottom":"top");return{isPositionedAtTop:function(){return"top"===t.get()},getDockingMode:t.get,setDockingMode:t.set}}(t),i={shared:{providers:{icons:function(){return t.ui.registry.getAll().icons},menuItems:function(){return t.ui.registry.getAll().menuItems},translate:Rm.translate,isDisabled:function(){return t.mode.isReadOnly()||t.ui.isDisabled()},getSetting:t.getParam.bind(t)},interpreter:function(e){return function(e,t){return zS($S,e,t)}(e,i)},anchors:VS(t,n,o.isPositionedAtTop),header:o,getSink:function(){return Xn.value(e)}},urlinput:Sk(t),styleselect:ek(t),colorinput:XS(t),dialog:qS(t),isContextMenuOpen:function(){return r.get()},setContextMenuState:function(e){return r.set(e)}};return i}(v,e,(function(){return l.bind((function(e){return O.getOpt(e)})).getOrDie("Could not find a anchor bar element")})),_=LB.parts.menubar({dom:{tag:"div",classes:["tox-menubar"]},backstage:w,onEscape:function(){e.focus()}}),x=IA(e),S=LB.parts.toolbar(k({dom:{tag:"div",classes:["tox-toolbar"]},getSink:y,providers:w.shared.providers,onEscape:function(){e.focus()},type:x,lazyToolbar:function(){return l.bind((function(e){return LB.getToolbar(e)})).getOrDie("Could not find more toolbar element")},lazyHeader:function(){return A().getOrDie("Could not find header element")}},g)),C=LB.parts["multiple-toolbar"]({dom:{tag:"div",classes:["tox-toolbar-overlord"]},providers:w.shared.providers,onEscape:function(){e.focus()},type:x}),B=LB.parts.socket({dom:{tag:"div",classes:["tox-edit-area"]}}),Q=LB.parts.sidebar({dom:{tag:"div",classes:["tox-sidebar"]}}),T=LB.parts.throbber({dom:{tag:"div",classes:["tox-throbber"]},backstage:w}),E=e.getParam("statusbar",!0,"boolean")&&!i?z.some(LE(e,w.shared.providers)):z.none(),P={dom:{tag:"div",classes:["tox-sidebar-wrap"]},components:[B,Q]},$=RA(e),M=MA(e),R=$A(e),D=LB.parts.header({dom:k({tag:"div",classes:["tox-editor-header"]},g),components:K([R?[_]:[],$?[C]:M?[S]:[],HA(e)?[]:[O.asSpec()]]),sticky:jA(e),editor:e,sharedBackstage:w.shared}),I=K([f?[]:[D],i?[]:[P],f?[D]:[]]),N=K([[{dom:{tag:"div",classes:["tox-editor-container"]},components:I}],i?[]:E.toArray(),[T]]),L=XA(e),V=k(k({role:"application"},Rm.isRtl()?{dir:"rtl"}:{}),L?{"aria-hidden":"true"}:{}),U=za(LB.sketch({dom:{tag:"div",classes:["tox","tox-tinymce"].concat(i?["tox-tinymce-inline"]:[]).concat(f?["tox-tinymce--toolbar-bottom"]:[]).concat(d).concat(u),styles:k({visibility:"hidden"},L?{opacity:"0",border:"0"}:{}),attributes:V},components:N,behaviours:Gs([nv(),hf.config({disableClass:"tox-tinymce--disabled"}),vp.config({mode:"cyclic",selector:".tox-menubar, .tox-toolbar, .tox-toolbar__primary, .tox-toolbar__overflow--open, .tox-sidebar__overflow--open, .tox-statusbar__path, .tox-statusbar__wordcount, .tox-statusbar__branding a, .tox-statusbar__resize-handle"})])}));l=z.some(U),e.shortcuts.add("alt+F9","focus menubar",(function(){LB.focusMenubar(U)})),e.shortcuts.add("alt+F10","focus toolbar",(function(){LB.focusToolbar(U)})),e.addCommand("ToggleToolbarDrawer",(function(){LB.toggleToolbarDrawer(U)})),e.addQueryStateHandler("ToggleToolbarDrawer",(function(){return LB.isToolbarDrawerToggled(U)}));var F=Hy(U),H=Hy(v);!function(e,t,n){var r=function(e,r){W([t,n],(function(t){t.broadcastEvent(e,r)}))},o=function(e,r){W([t,n],(function(t){t.broadcastOn([e],r)}))},i=function(e){return o(ku(),{target:e.target})},a=il(),s=El(a,"touchstart",i),l=El(a,"touchmove",(function(e){return r(ii(),e)})),c=El(a,"touchend",(function(e){return r(ai(),e)})),u=El(a,"mousedown",i),d=El(a,"mouseup",(function(e){0===e.raw.button&&o(Bu(),{target:e.target})})),f=function(e){return o(ku(),{target:Re(e.target)})},h=function(e){0===e.button&&o(Bu(),{target:Re(e.target)})},p=function(){W(e.editorManager.get(),(function(t){e!==t&&t.fire("DismissPopups",{relatedTarget:e})}))},m=function(e){return r(si(),$l(e))},g=function(e){o(Cu(),{}),r(li(),$l(e))},A=function(){return o(Cu(),{})},v=function(t){t.state&&o(ku(),{target:Re(e.getContainer())})},y=function(e){o(ku(),{target:Re(e.relatedTarget.getContainer())})};e.on("PostRender",(function(){e.on("click",f),e.on("tap",f),e.on("mouseup",h),e.on("mousedown",p),e.on("ScrollWindow",m),e.on("ResizeWindow",g),e.on("ResizeEditor",A),e.on("AfterProgressState",v),e.on("DismissPopups",y)})),e.on("remove",(function(){e.off("click",f),e.off("tap",f),e.off("mouseup",h),e.off("mousedown",p),e.off("ScrollWindow",m),e.off("ResizeWindow",g),e.off("ResizeEditor",A),e.off("AfterProgressState",v),e.off("DismissPopups",y),u.unbind(),s.unbind(),l.unbind(),c.unbind(),d.unbind()})),e.on("detach",(function(){pu(t),pu(n),t.destroy(),n.destroy()}))}(e,F,H);var X=function(){var t=ZQ(function(e){var t=function(e){var t=CA(e),n=TA(e),r=PA(e);return qQ(t).map((function(e){return YQ(e,n,r)}))}(e);return t.getOr(CA(e))}(e)),n=ZQ(function(e){return GQ(e).getOr(BA(e))}(e));return e.inline||(sn("div","width",n)&&Jt(U.element,"width",n),sn("div","height",t)?Jt(U.element,"height",t):Jt(U.element,"height","200px")),t};return{mothership:F,uiMothership:H,backstage:w,renderUI:function(){s.setup(e,w.shared,A),BT(e,w),XT(e,y,w),function(e){var t=e.ui.registry.getAll().sidebars;W(de(t),(function(n){var r=t[n],o=function(){return we(z.from(e.queryCommandValue("ToggleSidebar")),n)};e.ui.registry.addToggleButton(n,{icon:r.icon,tooltip:r.tooltip,onAction:function(t){e.execCommand("ToggleSidebar",!1,n),t.setActive(o())},onSetup:function(t){var n=function(){return t.setActive(o())};return e.on("ToggleSidebar",n),function(){e.off("ToggleSidebar",n)}}})}))}(e),JC(e,b,w.shared),pe(function(e){return e.getParam("toolbar_groups",{},"object")}(e),(function(t,n){e.ui.registry.addGroupToolbarButton(n,t)}));var t=e.ui.registry.getAll(),n=t.buttons,r=t.menuItems,o=t.contextToolbars,i=t.sidebars,l=zA(e),c={menuItems:r,menus:qA(e),menubar:ZA(e),toolbar:l.getOrThunk((function(){return function(e){return e.getParam("toolbar",!0)}(e)})),allowToolbarGroups:x===kg.floating,buttons:n,sidebar:i};vT(e,o,v,{backstage:w}),zE(e,v);var u=e.getElement(),d=X(),f={mothership:F,uiMothership:H,outerContainer:U},h={targetNode:u,height:d};return a.render(e,f,c,w,h)},getUi:function(){return{channels:{broadcastAll:H.broadcast,broadcastOn:H.broadcastOn,register:m}}}}},UE=A([Vr("lazySink"),Yr("dragBlockClass"),co("getBounds",Fn),ro("useTabstopAt",x),ro("eventOrder",{}),Xu("modalBehaviours",[vp]),as("onExecute"),ls("onEscape")]),FE={sketch:v},HE=A([bd({name:"draghandle",overrides:function(e,t){return{behaviours:Gs([EE.config({mode:"mouse",getTarget:function(e){return Ua(e,'[role="dialog"]').getOr(e)},blockerClass:e.dragBlockClass.getOrDie(new Error("The drag blocker class was not specified for a dialog with a drag handle: \n"+JSON.stringify(t,null,2)).message),getBounds:e.getDragBounds})])}}}),yd({schema:[Vr("dom")],name:"title"}),yd({factory:FE,schema:[Vr("dom")],name:"close"}),yd({factory:FE,schema:[Vr("dom")],name:"body"}),bd({factory:FE,schema:[Vr("dom")],name:"footer"}),Od({factory:{sketch:function(e,t){return k(k({},e),{dom:t.dom,components:t.components})}},schema:[ro("dom",{tag:"div",styles:{position:"fixed",left:"0px",top:"0px",right:"0px",bottom:"0px"}}),ro("components",[])],name:"blocker"})]),WE=qd({name:"ModalDialog",configFields:UE(),partFields:HE(),factory:function(e,t,n,r){var o,i=Ql(),a=ji("modal-events"),s=k(k({},e.eventOrder),((o={})[ci()]=[a].concat(e.eventOrder["alloy.system.attached"]||[]),o));return{uid:e.uid,dom:e.dom,components:t,apis:{show:function(t){i.set(t);var n=e.lazySink(t).getOrDie(),o=r.blocker(),a=n.getSystem().build(k(k({},o),{components:o.components.concat([Ra(t)]),behaviours:Gs([Tp.config({}),Sp("dialog-blocker-events",[zi(zo(),(function(){vp.focusIn(t)}))])])}));su(n,a),vp.focusIn(t)},hide:function(e){i.clear(),Bt(e.element).each((function(t){e.getSystem().getByDom(t).each((function(e){uu(e)}))}))},getBody:function(t){return Md(t,e,"body")},getFooter:function(t){return Md(t,e,"footer")},setIdle:function(e){YC.unblock(e)},setBusy:function(e,t){YC.block(e,t)}},eventOrder:s,domModification:{attributes:{role:"dialog","aria-modal":"true"}},behaviours:qu(e.modalBehaviours,[xp.config({}),vp.config({mode:"cyclic",onEnter:e.onExecute,onEscape:e.onEscape,useTabstopAt:e.useTabstopAt}),YC.config({getRoot:i.get}),Sp(a,[Ri((function(t){var n,r,o,i,a,s;n=t.element,r=Md(t,e,"title").element,o=qt(n,"id").fold((function(){var e=ji("dialog-label");return Wt(r,"id",e),e}),v),Wt(n,"aria-labelledby",o),i=t.element,a=Md(t,e,"body").element,s=z.from(jt(i,"id")).fold((function(){var e=ji("dialog-describe");return Wt(a,"id",e),e}),v),Wt(i,"aria-describedby",s)}))])])}},apis:{show:function(e,t){e.show(t)},hide:function(e,t){e.hide(t)},getBody:function(e,t){return e.getBody(t)},getFooter:function(e,t){return e.getFooter(t)},setBusy:function(e,t,n){e.setBusy(t,n)},setIdle:function(e,t){e.setIdle(t)}}}),XE=Ar([Hr("type"),Hr("name")].concat(iA)),jE=kr,qE=[Ir("name","name",or((function(){return ji("button-name")})),Sr),Jr("icon"),so("align","end",["start","end"]),lo("primary",!1),lo("disabled",!1)],ZE=B(B([],qE,!0),[Hr("text")],!1),YE=B([Wr("type",["submit","cancel","custom"])],ZE,!0),GE=B([Wr("type",["menu"]),Jr("text"),Jr("tooltip"),Jr("icon"),Zr("items",XE)],qE,!0),KE=Dr("type",{submit:YE,cancel:YE,custom:YE,menu:GE}),JE=[Hr("type"),Hr("text"),Wr("level",["info","warn","error","success"]),Hr("icon"),ro("url","")],eP=Ar(JE),tP=[Hr("type"),Hr("text"),lo("disabled",!1),lo("primary",!1),Ir("name","name",or((function(){return ji("button-name")})),Sr),Jr("icon"),lo("borderless",!1)],nP=Ar(tP),rP=[Hr("type"),Hr("name"),Hr("label"),lo("disabled",!1)],oP=Ar(rP),iP=kr,aP=[Hr("type"),Hr("name")],sP=aP.concat([Jr("label")]),lP=sP.concat([ro("columns","auto")]),cP=Ar(lP),uP=br([Hr("value"),Hr("text"),Hr("icon")]),dP=Ar(sP),fP=Sr,hP=Ar(sP),pP=Sr,mP=aP.concat([ao("tag","textarea"),Hr("scriptId"),Hr("scriptUrl"),oo("settings",void 0,Qr)]),gP=aP.concat([ao("tag","textarea"),Xr("init")]),AP=Er((function(e){return $r("customeditor.old",gr(gP),e).orThunk((function(){return $r("customeditor.new",gr(mP),e)}))})),vP=Sr,yP=Ar(sP),OP=vr(dr),bP=function(e){return[Hr("type"),Fr("columns"),e]},wP=[Hr("type"),Hr("html"),so("presets","presentation",["presentation","document"])],_P=Ar(wP),xP=sP.concat([lo("sandboxed",!0)]),SP=Ar(xP),kP=Sr,CP=sP.concat([Ur("currentState",Ar([Vr("blob"),Hr("url")]))]),BP=Ar(CP),QP=sP.concat([Jr("inputMode"),Jr("placeholder"),lo("maximized",!1),lo("disabled",!1)]),TP=Ar(QP),EP=Sr,PP=function(e){return[Hr("type"),Hr("label"),e]},$P=[Hr("text"),Hr("value")],MP=[Hr("text"),Zr("items",(DE=He((function(){return zP})),{extract:function(e,t){return DE().extract(e,t)},toString:function(){return DE().toString()}}))],zP=yr([Ar($P),Ar(MP)]),RP=sP.concat([Zr("items",zP),lo("disabled",!1)]),DP=Ar(RP),IP=Sr,NP=sP.concat([qr("items",[Hr("text"),Hr("value")]),io("size",1),lo("disabled",!1)]),LP=Ar(NP),VP=Sr,UP=sP.concat([lo("constrain",!0),lo("disabled",!1)]),FP=Ar(UP),HP=Ar([Hr("width"),Hr("height")]),WP=[Hr("type"),Zr("header",Sr),Zr("cells",vr(Sr))],XP=Ar(WP),jP=sP.concat([Jr("placeholder"),lo("maximized",!1),lo("disabled",!1)]),qP=Ar(jP),ZP=Sr,YP=sP.concat([so("filetype","file",["image","media","file"]),ro("disabled",!1)]),GP=Ar(YP),KP=Ar([Hr("value"),ro("meta",{})]),JP=function(e){return Ir("items","items",{tag:"required",process:{}},vr(Er((function(t){return $r("Checking item of "+e,e$,t).fold((function(e){return Xn.error(Rr(e))}),(function(e){return Xn.value(e)}))}))))},e$=pr((function(){return Tr("type",{alertbanner:eP,bar:Ar((e=JP("bar"),[Hr("type"),e])),button:nP,checkbox:oP,colorinput:dP,colorpicker:hP,dropzone:yP,grid:Ar(bP(JP("grid"))),iframe:SP,input:TP,listbox:DP,selectbox:LP,sizeinput:FP,textarea:qP,urlinput:GP,customeditor:AP,htmlpanel:_P,imagetools:BP,collection:cP,label:Ar(PP(JP("label"))),table:XP,panel:n$});var e})),t$=[Hr("type"),ro("classes",[]),Zr("items",e$)],n$=Ar(t$),r$=[Ir("name","name",or((function(){return ji("tab-name")})),Sr),Hr("title"),Zr("items",e$)],o$=[Hr("type"),qr("tabs",r$)],i$=Ar(o$),a$=ZE,s$=KE,l$=Ar([Hr("title"),Ur("body",Tr("type",{panel:n$,tabpanel:i$})),ao("size","normal"),Zr("buttons",s$),ro("initialData",{}),co("onAction",m),co("onChange",m),co("onSubmit",m),co("onClose",m),co("onCancel",m),ro("onTabChange",m)]),c$=Ar(B([Wr("type",["cancel","custom"])],a$,!0)),u$=Ar([Hr("title"),Hr("url"),Kr("height"),Kr("width"),to("buttons",c$),co("onAction",m),co("onCancel",m),co("onClose",m),co("onMessage",m)]),d$=function(e){return i(e)?[e].concat(J(ve(e),d$)):a(e)?J(e,d$):[]},f$=function(e){return o(e.type)&&o(e.name)},h$={checkbox:iP,colorinput:fP,colorpicker:pP,dropzone:OP,input:EP,iframe:kP,sizeinput:HP,selectbox:VP,listbox:IP,size:HP,textarea:ZP,urlinput:KP,customeditor:vP,collection:uP,togglemenuitem:jE},p$=function(e){var t=function(e){return j(d$(e),f$)}(e),n=J(t,(function(e){return function(e){return z.from(h$[e.type])}(e).fold((function(){return[]}),(function(t){return[Ur(e.name,t)]}))}));return Ar(n)},m$=function(e){return{internalDialog:Mr($r("dialog",l$,e)),dataValidator:p$(e),initialData:e.initialData}},g$={open:function(e,t){var n=m$(t);return e(n.internalDialog,n.initialData,n.dataValidator)},openUrl:function(e,t){return e(Mr($r("dialog",u$,t)))},redial:function(e){return m$(e)}},A$=function(e){var t=[],n={};return he(e,(function(e,r){e.fold((function(){t.push(r)}),(function(e){n[r]=e}))})),t.length>0?Xn.error(t):Xn.value(n)},v$=function(e,t){var n,r=zm(t_.sketch((function(n){return{dom:{tag:"div",classes:["tox-form"].concat(e.classes)},components:H(e.items,(function(e){return MS(n,e,t)}))}})));return{dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[r.asSpec()]}],behaviours:Gs([vp.config({mode:"acyclic",useTabstopAt:b(k_)}),(n=r,Kd.config({find:n.getOpt})),g_(r,{postprocess:function(e){return A$(e).fold((function(e){return console.error(e),{}}),v)}})])}},y$=jd({name:"TabButton",configFields:[ro("uid",void 0),Vr("value"),Ir("dom","dom",ar((function(){return{attributes:{role:"tab",id:ji("aria"),"aria-selected":"false"}}})),wr()),Yr("action"),ro("domModification",{}),Xu("tabButtonBehaviours",[Tp,vp,Wu]),Vr("view")],factory:function(e,t){return{uid:e.uid,dom:e.dom,components:e.components,events:Hp(e.action),behaviours:qu(e.tabButtonBehaviours,[Tp.config({}),vp.config({mode:"execution",useSpace:!0,useEnter:!0}),Wu.config({store:{mode:"memory",initialValue:e.value}})]),domModification:e.domModification}}}),O$=A([Vr("tabs"),Vr("dom"),ro("clickToDismiss",!1),Xu("tabbarBehaviours",[_f,vp]),rs(["tabClass","selectedClass"])]),b$=wd({factory:y$,name:"tabs",unit:"tab",overrides:function(e){var t=function(e,t){_f.dehighlight(e,t),Oi(e,gi(),{tabbar:e,button:t})},n=function(e,t){_f.highlight(e,t),Oi(e,mi(),{tabbar:e,button:t})};return{action:function(r){var o=r.getSystem().getByUid(e.uid).getOrDie(),i=_f.isHighlighted(o,r);(i&&e.clickToDismiss?t:i?m:n)(o,r)},domModification:{classes:[e.markers.tabClass]}}}}),w$=A([b$]),_$=qd({name:"Tabbar",configFields:O$(),partFields:w$(),factory:function(e,t,n,r){return{uid:e.uid,dom:e.dom,components:t,"debug.sketcher":"Tabbar",domModification:{attributes:{role:"tablist"}},behaviours:qu(e.tabbarBehaviours,[_f.config({highlightClass:e.markers.selectedClass,itemClass:e.markers.tabClass,onHighlight:function(e,t){Wt(t.element,"aria-selected","true")},onDehighlight:function(e,t){Wt(t.element,"aria-selected","false")}}),vp.config({mode:"flow",getInitial:function(e){return _f.getHighlighted(e).map((function(e){return e.element}))},selector:"."+e.markers.tabClass,executeOnMove:!0})])}}}),x$=jd({name:"Tabview",configFields:[Xu("tabviewBehaviours",[xp])],factory:function(e,t){return{uid:e.uid,dom:e.dom,behaviours:qu(e.tabviewBehaviours,[xp.config({})]),domModification:{attributes:{role:"tabpanel"}}}}}),S$=A([ro("selectFirst",!0),is("onChangeTab"),is("onDismissTab"),ro("tabs",[]),Xu("tabSectionBehaviours",[])]),k$=yd({factory:_$,schema:[Vr("dom"),jr("markers",[Vr("tabClass"),Vr("selectedClass")])],name:"tabbar",defaults:function(e){return{tabs:e.tabs}}}),C$=yd({factory:x$,name:"tabview"}),B$=A([k$,C$]),Q$=qd({name:"TabSection",configFields:S$(),partFields:B$(),factory:function(e,t,n,r){var o=function(t,n){$d(t,e,"tabbar").each((function(e){n(e).each(bi)}))};return{uid:e.uid,dom:e.dom,components:t,behaviours:ju(e.tabSectionBehaviours),events:Si(K([e.selectFirst?[Ri((function(e,t){o(e,_f.getFirst)}))]:[],[Bi(mi(),(function(t,n){var r,o;r=n.event.button,o=Wu.getValue(r),$d(r,e,"tabview").each((function(t){Y(e.tabs,(function(e){return e.value===o})).each((function(n){var o=n.view();qt(r.element,"id").each((function(e){Wt(t.element,"aria-labelledby",e)})),xp.set(t,o),e.onChangeTab(t,r,o)}))}))})),Bi(gi(),(function(t,n){var r=n.event.button;e.onDismissTab(t,r)}))]])),apis:{getViewItems:function(t){return $d(t,e,"tabview").map((function(e){return xp.contents(e)})).getOr([])},showTab:function(e,t){o(e,(function(e){var n=_f.getCandidates(e);return Y(n,(function(e){return Wu.getValue(e)===t})).filter((function(t){return!_f.isHighlighted(e,t)}))}))}}}},apis:{getViewItems:function(e,t){return e.getViewItems(t)},showTab:function(e,t,n){e.showTab(t,n)}}}),T$=function(e,t){Jt(e,"height",t+"px"),yt().browser.isIE()?ln(e,"flex-basis"):Jt(e,"flex-basis",t+"px")},E$=function(e,t,n){Ua(e,'[role="dialog"]').each((function(e){Ha(e,'[role="tablist"]').each((function(r){n.get().map((function(n){return Jt(t,"height","0"),Jt(t,"flex-basis","0"),Math.min(n,function(e,t,n){var r,o=kt(e).dom,i=Ua(e,".tox-dialog-wrap").getOr(e);r="fixed"===nn(i,"position")?Math.max(o.clientHeight,window.innerHeight):Math.max(o.offsetHeight,o.scrollHeight);var a=fn(t),s=t.dom.offsetLeft>=n.dom.offsetLeft+On(n)?Math.max(fn(n),a):a,l=parseInt(nn(e,"margin-top"),10)||0,c=parseInt(nn(e,"margin-bottom"),10)||0;return r-(fn(e)+l+c-s)}(e,t,r))})).each((function(e){T$(t,e)}))}))}))},P$=function(e){return Ha(e,'[role="tabpanel"]')},$$="send-data-to-section",M$="send-data-to-view",z$=function(e,t){var n=ho({}),r=function(e){var t=Wu.getValue(e),r=A$(t).getOr({}),o=n.get(),i=nr(o,r);n.set(i)},o=function(e){var t=n.get();Wu.setValue(e,t)},i=ho(null),a=H(e.tabs,(function(e){return{value:e.name,dom:{tag:"div",classes:["tox-dialog__body-nav-item"],innerHtml:t.shared.providers.translate(e.title)},view:function(){return[t_.sketch((function(n){return{dom:{tag:"div",classes:["tox-form"]},components:H(e.items,(function(e){return MS(n,e,t)})),formBehaviours:Gs([vp.config({mode:"acyclic",useTabstopAt:b(k_)}),Sp("TabView.form.events",[Ri(o),Di(r)]),rl.config({channels:vo([{key:$$,value:{onReceive:r}},{key:M$,value:{onReceive:o}}])})])}}))]}}})),s=function(e){var t,n,r=(t=Ql(),n=[Ri((function(n){var r=n.element;P$(r).each((function(o){Jt(o,"visibility","hidden"),n.getSystem().getByDom(o).toOptional().each((function(n){var r=function(e,t,n){return H(e,(function(r,o){xp.set(n,e[o].view());var i=t.dom.getBoundingClientRect();return xp.set(n,[]),i.height}))}(e,o,n),i=function(e){return se(ie(e,(function(e,t){return e>t?-1:e<t?1:0})))}(r);i.fold(t.clear,t.set)})),E$(r,o,t),ln(o,"visibility"),function(e,t){se(e).each((function(e){return Q$.showTab(t,e.value)}))}(e,n),$m.requestAnimationFrame((function(){E$(r,o,t)}))}))})),Bi(li(),(function(e){var n=e.element;P$(n).each((function(e){E$(n,e,t)}))})),Bi(uO,(function(e,n){var r=e.element;P$(r).each((function(e){var n=ll(Dt(e));Jt(e,"visibility","hidden");var o=on(e,"height").map((function(e){return parseInt(e,10)}));ln(e,"height"),ln(e,"flex-basis");var i=e.dom.getBoundingClientRect().height;o.forall((function(e){return i>e}))?(t.set(i),E$(r,e,t)):o.each((function(t){T$(e,t)})),ln(e,"visibility"),n.each(al)}))}))],{extraEvents:n,selectFirst:!1});return{smartTabHeight:r,naiveTabHeight:{extraEvents:[],selectFirst:!0}}}(a).smartTabHeight;return Q$.sketch({dom:{tag:"div",classes:["tox-dialog__body"]},onChangeTab:function(e,t,n){var r=Wu.getValue(t);Oi(e,cO,{name:r,oldName:i.get()}),i.set(r)},tabs:a,components:[Q$.parts.tabbar({dom:{tag:"div",classes:["tox-dialog__body-nav"]},components:[_$.parts.tabs({})],markers:{tabClass:"tox-tab",selectedClass:"tox-dialog__body-nav-item--active"},tabbarBehaviours:Gs([Yy.config({})])}),Q$.parts.tabview({dom:{tag:"div",classes:["tox-dialog__body-content"]}})],selectFirst:s.selectFirst,tabSectionBehaviours:Gs([Sp("tabpanel",s.extraEvents),vp.config({mode:"acyclic"}),Kd.config({find:function(e){return se(Q$.getViewItems(e))}}),Wu.config({store:{mode:"manual",getValue:function(e){return e.getSystem().broadcastOn([$$],{}),n.get()},setValue:function(e,t){n.set(t),e.getSystem().broadcastOn([M$],{})}}})])})},R$=ji("update-dialog"),D$=ji("update-title"),I$=ji("update-body"),N$=ji("update-footer"),L$=ji("body-send-message"),V$=function(e,t,n,r){return{dom:{tag:"div",classes:["tox-dialog__content-js"],attributes:k(k({},t.map((function(e){return{id:e}})).getOr({})),r?{"aria-live":"polite"}:{})},components:[],behaviours:Gs([c_(0),xQ.config({channel:I$,updateState:function(e,t){return z.some({isTabPanel:function(){return"tabpanel"===t.body.type}})},renderComponents:function(e){return"tabpanel"===e.body.type?[z$(e.body,n)]:[v$(e.body,n)]},initialData:e})])}},U$=pv.deviceType.isTouch(),F$=function(e,t){return{dom:{tag:"div",styles:{display:"none"},classes:["tox-dialog__header"]},components:[e,t]}},H$=function(e,t){return WE.parts.close(Mm.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":t.translate("Close")}},action:e,buttonBehaviours:Gs([Yy.config({})])}))},W$=function(){return WE.parts.title({dom:{tag:"div",classes:["tox-dialog__title"],innerHtml:"",styles:{display:"none"}}})},X$=function(e,t){return WE.parts.body({dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[{dom:GC("<p>"+t.translate(e)+"</p>")}]}]})},j$=function(e){return WE.parts.footer({dom:{tag:"div",classes:["tox-dialog__footer"]},components:e})},q$=function(e,t){return[Fy.sketch({dom:{tag:"div",classes:["tox-dialog__footer-start"]},components:e}),Fy.sketch({dom:{tag:"div",classes:["tox-dialog__footer-end"]},components:t})]},Z$=function(e){var t,n="tox-dialog",r=n+"-wrap",o=r+"__backdrop",i=n+"__disable-scroll";return WE.sketch({lazySink:e.lazySink,onEscape:function(t){return e.onEscape(t),z.some(!0)},useTabstopAt:function(e){return!k_(e)},dom:{tag:"div",classes:[n].concat(e.extraClasses),styles:k({position:"relative"},e.extraStyles)},components:B([e.header,e.body],e.footer.toArray(),!0),parts:{blocker:{dom:GC('<div class="'+r+'"></div>'),components:[{dom:{tag:"div",classes:U$?[o,o+"--opaque"]:[o]}}]}},dragBlockClass:r,modalBehaviours:Gs(B([Tp.config({}),Sp("dialog-events",e.dialogEvents.concat([zi(zo(),(function(e,t){vp.focusIn(e)}))])),Sp("scroll-lock",[Ri((function(){wa(Ut(),i)})),Di((function(){_a(Ut(),i)}))])],e.extraBehaviours,!0)),eventOrder:k((t={},t[Ko()]=["dialog-events"],t[ci()]=["scroll-lock","dialog-events","alloy.base.behaviour"],t[ui()]=["alloy.base.behaviour","dialog-events","scroll-lock"],t),e.eventOrder)})},Y$=function(e){return Mm.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":e.translate("Close"),title:e.translate("Close")}},components:[Wm("close",{tag:"div",classes:["tox-icon"]},e.icons)],action:function(e){yi(e,oO)}})},G$=function(e,t,n){var r=function(e){return[Pa(n.translate(e.title))]};return{dom:{tag:"div",classes:["tox-dialog__title"],attributes:k({},t.map((function(e){return{id:e}})).getOr({}))},components:r(e),behaviours:Gs([xQ.config({channel:D$,renderComponents:r})])}},K$=function(){return{dom:GC('<div class="tox-dialog__draghandle"></div>')}},J$=function(e,t){return function(e,t){var n=WE.parts.title(G$(e,z.none(),t)),r=WE.parts.draghandle(K$()),o=WE.parts.close(Y$(t)),i=[n].concat(e.draggable?[r]:[]).concat([o]);return Fy.sketch({dom:GC('<div class="tox-dialog__header"></div>'),components:i})}({title:t.shared.providers.translate(e),draggable:t.dialog.isDraggableModal()},t.shared.providers)},eM=function(e,t,n){return{dom:{tag:"div",classes:["tox-dialog__busy-spinner"],attributes:{"aria-label":n.translate(e)},styles:{left:"0px",right:"0px",bottom:"0px",top:"0px",position:"absolute"}},behaviours:t,components:[{dom:GC('<div class="tox-spinner"><div></div><div></div><div></div></div>')}]}},tM=function(e,t,n){return{onClose:function(){return n.closeWindow()},onBlock:function(n){WE.setBusy(e(),(function(e,r){return eM(n.message,r,t)}))},onUnblock:function(){WE.setIdle(e())}}},nM=function(e,t,n,r){var o;return za(Z$(k(k({},e),{lazySink:r.shared.getSink,extraBehaviours:B([xQ.config({channel:R$,updateState:function(e,t){return z.some(t)},initialData:t}),y_({})],e.extraBehaviours,!0),onEscape:function(e){yi(e,oO)},dialogEvents:n,eventOrder:(o={},o[Go()]=[xQ.name(),rl.name()],o[ci()]=["scroll-lock",xQ.name(),"messages","dialog-events","alloy.base.behaviour"],o[ui()]=["alloy.base.behaviour","dialog-events","messages",xQ.name(),"scroll-lock"],o)})))},rM=function(e){return H(e,(function(e){return"menu"===e.type?function(e){var t=H(e.items,(function(e){var t=ho(!1);return k(k({},e),{storage:t})}));return k(k({},e),{items:t})}(e):e}))},oM=function(e){return Z(e,(function(e,t){return"menu"===t.type?Z(t.items,(function(e,t){return e[t.name]=t.storage,e}),e):e}),{})},iM=function(e,t){return[Pi(zo(),S_),e(rO,(function(e,n){t.onClose(),n.onClose()})),e(oO,(function(e,t,n,r){t.onCancel(e),yi(r,rO)})),Bi(lO,(function(e,n){return t.onUnblock()})),Bi(sO,(function(e,n){return t.onBlock(n.event)}))]},aM=function(e,t,n){var r=function(t,n){return Bi(t,(function(t,r){o(t,(function(o,i){n(e(),o,r.event,t)}))}))},o=function(e,t){xQ.getState(e).get().each((function(n){t(n.internalDialog,e)}))};return B(B([],iM(r,t),!0),[r(aO,(function(e,t){return t.onSubmit(e)})),r(nO,(function(e,t,n){t.onChange(e,{name:n.name})})),r(iO,(function(e,t,r,o){var i=function(){return vp.focusIn(o)},a=function(e){return Zt(e,"disabled")||qt(e,"aria-disabled").exists((function(e){return"true"===e}))},s=Dt(o.element),l=ll(s);t.onAction(e,{name:r.name,value:r.value}),ll(s).fold(i,(function(e){a(e)||l.exists((function(t){return _t(e,t)&&a(t)}))?i():n().toOptional().filter((function(t){return!_t(t.element,e)})).each(i)}))})),r(cO,(function(e,t,n){t.onTabChange(e,{newTabName:n.name,oldTabName:n.oldName})})),Di((function(t){var n=e();Wu.setValue(t,n.getData())}))],!1)},sM=function(e,t){var n=t.map((function(e){return e.footerButtons})).getOr([]),r=X(n,(function(e){return"start"===e.align})),o=function(e,t){return Fy.sketch({dom:{tag:"div",classes:["tox-dialog__footer-"+e]},components:H(t,(function(e){return e.memento.asSpec()}))})};return[o("start",r.pass),o("end",r.fail)]},lM=function(e,t){return{dom:GC('<div class="tox-dialog__footer"></div>'),components:[],behaviours:Gs([xQ.config({channel:N$,initialData:e,updateState:function(e,n){var r=H(n.buttons,(function(e){var n=zm(function(e,t){return Qx(e,e.type,t)}(e,t));return{name:e.name,align:e.align,memento:n}}));return z.some({lookupByName:function(e,t){return function(e,t,n){return Y(t,(function(e){return e.name===n})).bind((function(t){return t.memento.getOpt(e)}))}(e,r,t)},footerButtons:r})},renderComponents:sM})])}},cM=function(e,t){return WE.parts.footer(lM(e,t))},uM=function(e,t){if(e.getRoot().getSystem().isConnected()){var n=Kd.getCurrent(e.getFormWrapper()).getOr(e.getFormWrapper());return t_.getField(n,t).fold((function(){var r=e.getFooter();return xQ.getState(r).get().bind((function(e){return e.lookupByName(n,t)}))}),(function(e){return z.some(e)}))}return z.none()},dM=function(e,t,n){var r=function(t){var n=e.getRoot();n.getSystem().isConnected()&&t(n)},i={getData:function(){var t=e.getRoot(),r=t.getSystem().isConnected()?e.getFormWrapper():t,o=Wu.getValue(r),i=pe(n,(function(e){return e.get()}));return k(k({},o),i)},setData:function(t){r((function(r){var o=i.getData(),a=k(k({},o),t),s=function(e,t){var n=e.getRoot();return xQ.getState(n).get().map((function(e){return Mr($r("data",e.dataValidator,t))})).getOr(t)}(e,a),l=e.getFormWrapper();Wu.setValue(l,s),he(n,(function(e,t){Oe(a,t)&&e.set(a[t])}))}))},disable:function(t){uM(e,t).each(hf.disable)},enable:function(t){uM(e,t).each(hf.enable)},focus:function(t){uM(e,t).each(Tp.focus)},block:function(e){if(!o(e))throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");r((function(t){Oi(t,sO,{message:e})}))},unblock:function(){r((function(e){yi(e,lO)}))},showTab:function(t){r((function(n){var r=e.getBody();xQ.getState(r).get().exists((function(e){return e.isTabPanel()}))&&Kd.getCurrent(r).each((function(e){Q$.showTab(e,t)}))}))},redial:function(e){r((function(n){var r=t(e);n.getSystem().broadcastOn([R$],r),n.getSystem().broadcastOn([D$],r.internalDialog),n.getSystem().broadcastOn([I$],r.internalDialog),n.getSystem().broadcastOn([N$],r.internalDialog),i.setData(r.initialData)}))},close:function(){r((function(e){yi(e,rO)}))}};return i},fM=tinymce.util.Tools.resolve("tinymce.util.URI"),hM=["insertContent","setContent","execCommand","close","block","unblock"],pM=function(e){return i(e)&&-1!==hM.indexOf(e.mceAction)},mM=function(e,t,n,r){var a,s,c,u,d,f,h,p,m=J$(e.title,r),g=(p={dom:{tag:"div",classes:["tox-dialog__content-js"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-iframe"]},components:[__({dom:{tag:"iframe",attributes:{src:e.url}},behaviours:Gs([Yy.config({}),Tp.config({})])})]}],behaviours:Gs([vp.config({mode:"acyclic",useTabstopAt:b(k_)})])},WE.parts.body(p)),A=e.buttons.bind((function(e){return 0===e.length?z.none():z.some(cM({buttons:e},r))})),v=(u=function(){return Q},d=tM((function(){return C}),r.shared.providers,t),f=function(e,t){return Bi(e,(function(e,n){h(e,(function(r,o){t(u(),r,n.event,e)}))}))},h=function(e,t){xQ.getState(e).get().each((function(n){t(n,e)}))},B(B([],iM(f,d),!0),[f(iO,(function(e,t,n){t.onAction(e,{name:n.name})}))],!1)),y=k(k({},e.height.fold((function(){return{}}),(function(e){return{height:e+"px","max-height":e+"px"}}))),e.width.fold((function(){return{}}),(function(e){return{width:e+"px","max-width":e+"px"}}))),O=e.width.isNone()&&e.height.isNone()?["tox-dialog--width-lg"]:[],w=new fM(e.url,{base_uri:new fM(window.location.href)}),_=w.protocol+"://"+w.host+(w.port?":"+w.port:""),x=Bl(),S=[Sp("messages",[Ri((function(){var t=El(Re(window),"message",(function(t){if(w.isSameOrigin(new fM(t.raw.origin))){var r=t.raw.data;pM(r)?function(e,t,n){switch(n.mceAction){case"insertContent":e.insertContent(n.content);break;case"setContent":e.setContent(n.content);break;case"execCommand":var r=!!l(n.ui)&&n.ui;e.execCommand(n.cmd,r,n.value);break;case"close":t.close();break;case"block":t.block(n.message);break;case"unblock":t.unblock()}}(n,Q,r):function(e){return!pM(e)&&i(e)&&Oe(e,"mceAction")}(r)&&e.onMessage(Q,r)}}));x.set(t)})),Di(x.clear)]),rl.config({channels:(a={},a[L$]={onReceive:function(e,t){Ha(e.element,"iframe").each((function(e){e.dom.contentWindow.postMessage(t,_)}))}},a)})],C=nM({header:m,body:g,footer:A,extraClasses:O,extraBehaviours:S,extraStyles:y},e,v,r),Q=(s=C,c=function(e){s.getSystem().isConnected()&&e(s)},{block:function(e){if(!o(e))throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");c((function(t){Oi(t,sO,{message:e})}))},unblock:function(){c((function(e){yi(e,lO)}))},close:function(){c((function(e){yi(e,rO)}))},sendMessage:function(e){c((function(t){t.getSystem().broadcastOn([L$],e)}))}});return{dialog:C,instanceApi:Q}},gM=function(e,t,n){return t&&n?[]:[nC.config({contextual:{lazyContext:function(){return z.some(Vn(Re(e.getContentAreaContainer())))},fadeInClass:"tox-dialog-dock-fadein",fadeOutClass:"tox-dialog-dock-fadeout",transitionClass:"tox-dialog-dock-transition"},modes:["top"]})]},AM=function(e){var t=e.backstage,n=e.editor,r=jA(n),o=function(e){var t=e.backstage.shared;return{open:function(n,r){var o=function(){WE.hide(l),r()},i=zm(Qx({name:"close-alert",text:"OK",primary:!0,align:"end",disabled:!1,icon:z.none()},"cancel",e.backstage)),a=W$(),s=H$(o,t.providers),l=za(Z$({lazySink:function(){return t.getSink()},header:F$(a,s),body:X$(n,t.providers),footer:z.some(j$(q$([],[i.asSpec()]))),onEscape:o,extraClasses:["tox-alert-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[Bi(oO,o)],eventOrder:{}}));WE.show(l);var c=i.get(l);Tp.focus(c)}}}(e),i=function(e){var t=e.backstage.shared;return{open:function(n,r){var o=function(e){WE.hide(c),r(e)},i=zm(Qx({name:"yes",text:"Yes",primary:!0,align:"end",disabled:!1,icon:z.none()},"submit",e.backstage)),a=Qx({name:"no",text:"No",primary:!1,align:"end",disabled:!1,icon:z.none()},"cancel",e.backstage),s=W$(),l=H$((function(){return o(!1)}),t.providers),c=za(Z$({lazySink:function(){return t.getSink()},header:F$(s,l),body:X$(n,t.providers),footer:z.some(j$(q$([],[a,i.asSpec()]))),onEscape:function(){return o(!1)},extraClasses:["tox-confirm-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[Bi(oO,(function(){return o(!1)})),Bi(aO,(function(){return o(!0)}))],eventOrder:{}}));WE.show(c);var u=i.get(c);Tp.focus(u)}}}(e),a=function(e,n){return g$.open((function(e,r,o){var i=r,a=function(e,t,n){var r=J$(e.internalDialog.title,n),o=function(e,t){var n=V$(e,z.none(),t,!1);return WE.parts.body(n)}({body:e.internalDialog.body},n),i=rM(e.internalDialog.buttons),a=oM(i),s=cM({buttons:i},n),l=aM((function(){return h}),tM((function(){return d}),n.shared.providers,t),n.shared.getSink),c=function(e){switch(e){case"large":return["tox-dialog--width-lg"];case"medium":return["tox-dialog--width-md"];default:return[]}}(e.internalDialog.size),u={header:r,body:o,footer:z.some(s),extraClasses:c,extraBehaviours:[],extraStyles:{}},d=nM(u,e,l,n),f={getRoot:A(d),getBody:function(){return WE.getBody(d)},getFooter:function(){return WE.getFooter(d)},getFormWrapper:function(){var e=WE.getBody(d);return Kd.getCurrent(e).getOr(e)}},h=dM(f,t.redial,a);return{dialog:d,instanceApi:h}}({dataValidator:o,initialData:i,internalDialog:e},{redial:g$.redial,closeWindow:function(){WE.hide(a.dialog),n(a.instanceApi)}},t);return WE.show(a.dialog),a.instanceApi.setData(i),a.instanceApi}),e)},s=function(e,o,i,a){return g$.open((function(e,s,l){var c=Mr($r("data",l,s)),u=Ql(),d=t.shared.header.isPositionedAtTop(),f=function(){return u.on((function(e){hm.reposition(e),nC.refresh(e)}))},h=function(e,t,n,r){var o,i,a,s,l,c=ji("dialog-label"),u=ji("dialog-content"),d=zm((a={title:e.internalDialog.title,draggable:!0},s=c,l=n.shared.providers,Fy.sketch({dom:GC('<div class="tox-dialog__header"></div>'),components:[G$(a,z.some(s),l),K$(),Y$(l)],containerBehaviours:Gs([EE.config({mode:"mouse",blockerClass:"blocker",getTarget:function(e){return Wa(e,'[role="dialog"]').getOrDie()},snaps:{getSnapPoints:function(){return[]},leftAttr:"data-drag-left",topAttr:"data-drag-top"}})])}))),f=zm(function(e,t,n,r){return V$(e,z.some(t),n,r)}({body:e.internalDialog.body},u,n,r)),h=rM(e.internalDialog.buttons),p=oM(h),m=zm(function(e,t){return lM(e,t)}({buttons:h},n)),g=aM((function(){return y}),{onBlock:function(e){YC.block(v,(function(t,r){return eM(e.message,r,n.shared.providers)}))},onUnblock:function(){YC.unblock(v)},onClose:function(){return t.closeWindow()}},n.shared.getSink),v=za({dom:{tag:"div",classes:["tox-dialog","tox-dialog-inline"],attributes:(o={role:"dialog"},o["aria-labelledby"]=c,o["aria-describedby"]=u,o)},eventOrder:(i={},i[Go()]=[xQ.name(),rl.name()],i[Ko()]=["execute-on-form"],i[ci()]=["reflecting","execute-on-form"],i),behaviours:Gs([vp.config({mode:"cyclic",onEscape:function(e){return yi(e,rO),z.some(!0)},useTabstopAt:function(e){return!k_(e)&&("button"!==Ie(e)||"disabled"!==jt(e,"disabled"))}}),xQ.config({channel:R$,updateState:function(e,t){return z.some(t)},initialData:e}),Tp.config({}),Sp("execute-on-form",g.concat([zi(zo(),(function(e,t){vp.focusIn(e)}))])),YC.config({getRoot:function(){return z.some(v)}}),xp.config({}),y_({})]),components:[d.asSpec(),f.asSpec(),m.asSpec()]}),y=dM({getRoot:A(v),getFooter:function(){return m.get(v)},getBody:function(){return f.get(v)},getFormWrapper:function(){var e=f.get(v);return Kd.getCurrent(e).getOr(e)}},t.redial,p);return{dialog:v,instanceApi:y}}({dataValidator:l,initialData:c,internalDialog:e},{redial:g$.redial,closeWindow:function(){u.on(hm.hide),n.off("ResizeEditor",f),u.clear(),i(h.instanceApi)}},t,a),p=za(hm.sketch(k(k({lazySink:t.shared.getSink,dom:{tag:"div",classes:[]},fireDismissalEventInstead:{}},d?{}:{fireRepositionEventInstead:{}}),{inlineBehaviours:Gs(B([Sp("window-manager-inline-events",[Bi(di(),(function(e,t){yi(h.dialog,oO)}))])],gM(n,r,d),!0)),isExtraPart:function(e,t){return function(e){return Py(e,".tox-alert-dialog")||Py(e,".tox-confirm-dialog")}(t)}})));return u.set(p),hm.showWithin(p,Ra(h.dialog),{anchor:o},z.some(Ut())),r&&d||(nC.refresh(p),n.on("ResizeEditor",f)),h.instanceApi.setData(c),vp.focusIn(h.dialog),h.instanceApi}),e)};return{open:function(e,n,r){return void 0!==n&&"toolbar"===n.inline?s(e,t.shared.anchors.inlineDialog(),r,n.ariaAttrs):void 0!==n&&"cursor"===n.inline?s(e,t.shared.anchors.cursor(),r,n.ariaAttrs):a(e,r)},openUrl:function(e,r){return function(e,r){return g$.openUrl((function(e){var o=mM(e,{closeWindow:function(){WE.hide(o.dialog),r(o.instanceApi)}},n,t);return WE.show(o.dialog),o.instanceApi}),e)}(e,r)},alert:function(e,t){o.open(e,(function(){t()}))},close:function(e){e.close()},confirm:function(e,t){i.open(e,(function(e){t(e)}))}}};S.add("silver",(function(e){var t=VE(e),n=t.uiMothership,r=t.backstage,o=t.renderUI,i=t.getUi;Ey(e,r.shared);var a=AM({editor:e,backstage:r});return{renderUI:o,getWindowManagerImpl:A(a),getNotificationManagerImpl:function(){return function(e,t,n){var r=t.backstage.shared;return{open:function(t,o){var i=!t.closeButton&&t.timeout&&(t.timeout>0||t.timeout<0),a=function(){o(),hm.hide(l)},s=za(jm.sketch({text:t.text,level:L(["success","error","warning","warn","info"],t.type)?t.type:void 0,progress:!0===t.progressBar,icon:z.from(t.icon),closeButton:!i,onAction:a,iconProvider:r.providers.icons,translationProvider:r.providers.translate})),l=za(hm.sketch(k({dom:{tag:"div",classes:["tox-notifications-container"]},lazySink:r.getSink,fireDismissalEventInstead:{}},r.header.isPositionedAtTop()?{}:{fireRepositionEventInstead:{}})));n.add(l),t.timeout>0&&$m.setTimeout((function(){a()}),t.timeout);var c=function(){var t=Vn(Re(e.getContentAreaContainer())),n=Fn(),r=_s(n.x,t.x,t.right),o=_s(n.y,t.y,t.bottom),i=Math.max(t.right,n.right),a=Math.max(t.bottom,n.bottom);return z.some(Ln(r,o,i-r,a-o))};return{close:a,moveTo:function(e,t){hm.showAt(l,Ra(s),{anchor:{type:"makeshift",x:e,y:t}})},moveRel:function(e,t){var n=Ra(s),o={maxHeightFunction:Nl()};if("banner"!==t&&d(e)){var i=function(e){switch(e){case"bc-bc":return km;case"tc-tc":return Sm;case"tc-bc":return Rs;default:return Ds}}(t),a={type:"node",root:Ut(),node:z.some(Re(e)),overrides:o,layouts:{onRtl:function(){return[i]},onLtr:function(){return[i]}}};hm.showWithinBounds(l,n,{anchor:a},c)}else{var u=k(k({},r.anchors.banner()),{overrides:o});hm.showWithinBounds(l,n,{anchor:u},c)}},text:function(e){jm.updateText(s,e)},settings:t,getEl:function(){return s.element.dom},progressBar:{value:function(e){jm.updateProgress(s,e)}}}},close:function(e){e.close()},reposition:function(e){e.length>0&&W(e,(function(t,n){0===n?t.moveRel(null,"banner"):t.moveRel(e[n-1].getEl(),"bc-tc")}))},getArgs:function(e){return e.settings}}}(e,{backstage:r},n)},ui:i()}}))}()},5070:function(e,t,n){"use strict";n.d(t,{MW:function(){return C},Ay:function(){return T}});var r=n(15215),o=n(71519),i=n(68717),a=n(57043),s=n(89259);function l(e,t,n,r,o,i,a,l,c,u,d){if(0===c)return!1;var f=c;return!(d>t+f&&d>r+f&&d>i+f&&d>l+f||d<t-f&&d<r-f&&d<i-f&&d<l-f||u>e+f&&u>n+f&&u>o+f&&u>a+f||u<e-f&&u<n-f&&u<o-f&&u<a-f)&&s.Et(e,t,n,r,o,i,a,l,u,d,null)<=f/2}var c=n(14423),u=n(41589),d=2*Math.PI;function f(e,t,n,r,o,i,a,s,l){if(0===a)return!1;var c=a;s-=e,l-=t;var f=Math.sqrt(s*s+l*l);if(f-c>n||f+c<n)return!1;if(Math.abs(r-o)%d<1e-4)return!0;if(i){var h=r;r=(0,u.n)(o),o=(0,u.n)(h)}else r=(0,u.n)(r),o=(0,u.n)(o);r>o&&(o+=d);var p=Math.atan2(l,s);return p<0&&(p+=d),p>=r&&p<=o||p+d>=r&&p+d<=o}var h=n(76873),p=i.A.CMD,m=2*Math.PI,g=[-1,-1,-1],A=[-1,-1];function v(e,t,n,r,o,i,a,l,c,u){if(u>t&&u>r&&u>i&&u>l||u<t&&u<r&&u<i&&u<l)return 0;var d,f=s._E(t,r,i,l,u,g);if(0===f)return 0;for(var h=0,p=-1,m=void 0,v=void 0,y=0;y<f;y++){var O=g[y],b=0===O||1===O?.5:1;s.Yb(e,n,o,a,O)<c||(p<0&&(p=s.lX(t,r,i,l,A),A[1]<A[0]&&p>1&&(void 0,d=A[0],A[0]=A[1],A[1]=d),m=s.Yb(t,r,i,l,A[0]),p>1&&(v=s.Yb(t,r,i,l,A[1]))),2===p?O<A[0]?h+=m<t?b:-b:O<A[1]?h+=v<m?b:-b:h+=l<v?b:-b:O<A[0]?h+=m<t?b:-b:h+=l<m?b:-b)}return h}function y(e,t,n,r,o,i,a,l){if(l>t&&l>r&&l>i||l<t&&l<r&&l<i)return 0;var c=s.qY(t,r,i,l,g);if(0===c)return 0;var u=s.gC(t,r,i);if(u>=0&&u<=1){for(var d=0,f=s.k3(t,r,i,u),h=0;h<c;h++){var p=0===g[h]||1===g[h]?.5:1;s.k3(e,n,o,g[h])<a||(g[h]<u?d+=f<t?p:-p:d+=i<f?p:-p)}return d}return p=0===g[0]||1===g[0]?.5:1,s.k3(e,n,o,g[0])<a?0:i<t?p:-p}function O(e,t,n,r,o,i,a,s){if((s-=t)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);g[0]=-l,g[1]=l;var c=Math.abs(r-o);if(c<1e-4)return 0;if(c>=m-1e-4){r=0,o=m;var u=i?1:-1;return a>=g[0]+e&&a<=g[1]+e?u:0}if(r>o){var d=r;r=o,o=d}r<0&&(r+=m,o+=m);for(var f=0,h=0;h<2;h++){var p=g[h];if(p+e>a){var A=Math.atan2(s,p);u=i?1:-1,A<0&&(A=m+A),(A>=r&&A<=o||A+m>=r&&A+m<=o)&&(A>Math.PI/2&&A<1.5*Math.PI&&(u=-u),f+=u)}}return f}function b(e,t,n,r,o){for(var i,s,u,d,m=e.data,g=e.len(),A=0,b=0,w=0,_=0,x=0,S=0;S<g;){var k=m[S++],C=1===S;switch(k===p.M&&S>1&&(n||(A+=(0,h.A)(b,w,_,x,r,o))),C&&(_=b=m[S],x=w=m[S+1]),k){case p.M:b=_=m[S++],w=x=m[S++];break;case p.L:if(n){if(a.l(b,w,m[S],m[S+1],t,r,o))return!0}else A+=(0,h.A)(b,w,m[S],m[S+1],r,o)||0;b=m[S++],w=m[S++];break;case p.C:if(n){if(l(b,w,m[S++],m[S++],m[S++],m[S++],m[S],m[S+1],t,r,o))return!0}else A+=v(b,w,m[S++],m[S++],m[S++],m[S++],m[S],m[S+1],r,o)||0;b=m[S++],w=m[S++];break;case p.Q:if(n){if(c.l(b,w,m[S++],m[S++],m[S],m[S+1],t,r,o))return!0}else A+=y(b,w,m[S++],m[S++],m[S],m[S+1],r,o)||0;b=m[S++],w=m[S++];break;case p.A:var B=m[S++],Q=m[S++],T=m[S++],E=m[S++],P=m[S++],$=m[S++];S+=1;var M=!!(1-m[S++]);i=Math.cos(P)*T+B,s=Math.sin(P)*E+Q,C?(_=i,x=s):A+=(0,h.A)(b,w,i,s,r,o);var z=(r-B)*E/T+B;if(n){if(f(B,Q,E,P,P+$,M,t,z,o))return!0}else A+=O(B,Q,E,P,P+$,M,z,o);b=Math.cos(P+$)*T+B,w=Math.sin(P+$)*E+Q;break;case p.R:if(_=b=m[S++],x=w=m[S++],i=_+m[S++],s=x+m[S++],n){if(a.l(_,x,i,x,t,r,o)||a.l(i,x,i,s,t,r,o)||a.l(i,s,_,s,t,r,o)||a.l(_,s,_,x,t,r,o))return!0}else A+=(0,h.A)(i,x,i,s,r,o),A+=(0,h.A)(_,s,_,x,r,o);break;case p.Z:if(n){if(a.l(b,w,_,x,t,r,o))return!0}else A+=(0,h.A)(b,w,_,x,r,o);b=_,w=x}}return n||(u=w,d=x,Math.abs(u-d)<1e-4)||(A+=(0,h.A)(b,w,_,x,r,o)||0),0!==A}var w=n(98026),_=n(47698),x=n(73098),S=n(56448),k=n(92836),C=(0,w.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},o.oN),B={style:(0,w.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},o.sW.style)},Q=k.Wx.concat(["invisible","culling","z","z2","zlevel","parent"]),T=function(e){function t(t){return e.call(this,t)||this}var n;return(0,r.C6)(t,e),t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var o=this._decalEl=this._decalEl||new t;o.buildPath===t.prototype.buildPath&&(o.buildPath=function(e){n.buildPath(e,n.shape)}),o.silent=!0;var i=o.style;for(var a in r)i[a]!==r[a]&&(i[a]=r[a]);i.fill=r.fill?r.decal:null,i.decal=null,i.shadowColor=null,r.strokeFirst&&(i.stroke=null);for(var s=0;s<Q.length;++s)o[Q[s]]=this[Q[s]];o.__dirty|=S.M}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(t){var n=(0,w.keys)(t);this.shape=this.getDefaultShape();var r=this.getDefaultStyle();r&&this.useStyle(r);for(var o=0;o<n.length;o++){var i=n[o],a=t[i];"style"===i?this.style?(0,w.extend)(this.style,a):this.useStyle(a):"shape"===i?(0,w.extend)(this.shape,a):e.prototype.attrKV.call(this,i,a)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var e=this.style.fill;if("none"!==e){if((0,w.isString)(e)){var t=(0,_.lum)(e,0);return t>.5?x._S:t>.2?x.tY:x.el}if(e)return x.el}return x._S},t.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if((0,w.isString)(t)){var n=this.__zr;if(!(!n||!n.isDarkMode())==(0,_.lum)(e,0)<x.ps)return t}},t.prototype.buildPath=function(e,t,n){},t.prototype.pathUpdated=function(){this.__dirty&=~S.Dl},t.prototype.getUpdatedPathProxy=function(e){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},t.prototype.createPathProxy=function(){this.path=new i.A(!1)},t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))},t.prototype.hasFill=function(){var e=this.style.fill;return null!=e&&"none"!==e},t.prototype.getBoundingRect=function(){var e=this._rect,t=this.style,n=!e;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var o=this.path;(r||this.__dirty&S.Dl)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),e=o.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var i=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||n){i.copy(e);var a=t.strokeNoScale?this.getLineScale():1,s=t.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(i.width+=s/a,i.height+=s/a,i.x-=s/a/2,i.y-=s/a/2)}return i}return e},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),o=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var i=this.path;if(this.hasStroke()){var a=o.lineWidth,s=o.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(e,t,n,r){return b(e,t,!0,n,r)}(i,a/s,e,t)))return!0}if(this.hasFill())return function(e,t,n){return b(e,0,!1,t,n)}(i,e,t)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=S.Dl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():"shape"===e?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(t,n){"shape"===t?this.setShape(n):e.prototype.attrKV.call(this,t,n)},t.prototype.setShape=function(e,t){var n=this.shape;return n||(n=this.shape={}),"string"==typeof e?n[e]=t:(0,w.extend)(n,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&S.Dl)},t.prototype.createStyle=function(e){return(0,w.createObject)(C,e)},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.shape&&!n.shape&&(n.shape=(0,w.extend)({},this.shape))},t.prototype._applyStateObj=function(t,n,r,o,i,a){e.prototype._applyStateObj.call(this,t,n,r,o,i,a);var s,l=!(n&&o);if(n&&n.shape?i?o?s=n.shape:(s=(0,w.extend)({},r.shape),(0,w.extend)(s,n.shape)):(s=(0,w.extend)({},o?this.shape:r.shape),(0,w.extend)(s,n.shape)):l&&(s=r.shape),s)if(i){this.shape=(0,w.extend)({},this.shape);for(var c={},u=(0,w.keys)(s),d=0;d<u.length;d++){var f=u[d];"object"==typeof s[f]?this.shape[f]=s[f]:c[f]=s[f]}this._transitionState(t,{shape:c},a)}else this.shape=s,this.dirtyShape()},t.prototype._mergeStates=function(t){for(var n,r=e.prototype._mergeStates.call(this,t),o=0;o<t.length;o++){var i=t[o];i.shape&&(n=n||{},this._mergeStyle(n,i.shape))}return n&&(r.shape=n),r},t.prototype.getAnimationStyleProps=function(){return B},t.prototype.isZeroArea=function(){return!1},t.extend=function(e){var n=function(t){function n(n){var r=t.call(this,n)||this;return e.init&&e.init.call(r,n),r}return(0,r.C6)(n,t),n.prototype.getDefaultStyle=function(){return(0,w.clone)(e.style)},n.prototype.getDefaultShape=function(){return(0,w.clone)(e.shape)},n}(t);for(var o in e)"function"==typeof e[o]&&(n.prototype[o]=e[o]);return n},t.initDefaultProps=((n=t.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=S.M|S.pO|S.Dl)),t}(o.Ay)},5202:function(e,t,n){"use strict";n.d(t,{A:function(){return A}});var r=n(38123),o=n(30693),i=(0,n(32944).A)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function e(){}return e.prototype.getAreaStyle=function(e,t){return i(this,e,t)},e}(),s=n(89632),l=n(32322),c=["textStyle","color"],u=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],d=new l.Ay,f=function(){function e(){}return e.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(c):null)},e.prototype.getFont=function(){return(0,s.c8)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},e.prototype.getTextRect=function(e){for(var t={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<u.length;n++)t[u[n]]=this.getShallow(u[n]);return d.useStyle(t),d.update(),d.getBoundingRect()},e}(),h=n(8317),p=n(14962),m=n(98026),g=function(){function e(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}return e.prototype.init=function(e,t,n){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o]},e.prototype.mergeOption=function(e,t){(0,m.merge)(this.option,e,!0)},e.prototype.get=function(e,t){return null==e?this.option:this._doGet(this.parsePath(e),!t&&this.parentModel)},e.prototype.getShallow=function(e,t){var n=this.option,r=null==n?n:n[e];if(null==r&&!t){var o=this.parentModel;o&&(r=o.getShallow(e))}return r},e.prototype.getModel=function(t,n){var r=null!=t,o=r?this.parsePath(t):null;return new e(r?this._doGet(o):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(o)),this.ecModel)},e.prototype.isEmpty=function(){return null==this.option},e.prototype.restoreData=function(){},e.prototype.clone=function(){return new(0,this.constructor)((0,m.clone)(this.option))},e.prototype.parsePath=function(e){return"string"==typeof e?e.split("."):e},e.prototype.resolveParentPath=function(e){return e},e.prototype.isAnimationEnabled=function(){if(!r.A.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},e.prototype._doGet=function(e,t){var n=this.option;if(!e)return n;for(var r=0;r<e.length&&(!e[r]||null!=(n=n&&"object"==typeof n?n[e[r]]:null));r++);return null==n&&t&&(n=t._doGet(this.resolveParentPath(e),t.parentModel)),n},e}();(0,o.gq)(g),(0,o.Od)(g),(0,m.mixin)(g,h.J),(0,m.mixin)(g,p.s),(0,m.mixin)(g,a),(0,m.mixin)(g,f);var A=g},5254:function(e,t){"use strict";t.A=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5638:function(e,t,n){"use strict";n.d(t,{Jw:function(){return i},LR:function(){return c},LW:function(){return l},Nz:function(){return u},Xr:function(){return p},ap:function(){return h},oi:function(){return s},t5:function(){return f}});var r=n(98026),o=(0,n(48170).$r)();function i(e,t,n,o,i){var a;if(t&&t.ecModel){var s=t.ecModel.getUpdatePayload();a=s&&s.animation}var l="update"===e;if(t&&t.isAnimationEnabled()){var c=void 0,u=void 0,d=void 0;return o?(c=(0,r.retrieve2)(o.duration,200),u=(0,r.retrieve2)(o.easing,"cubicOut"),d=0):(c=t.getShallow(l?"animationDurationUpdate":"animationDuration"),u=t.getShallow(l?"animationEasingUpdate":"animationEasing"),d=t.getShallow(l?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(c=a.duration),null!=a.easing&&(u=a.easing),null!=a.delay&&(d=a.delay)),(0,r.isFunction)(d)&&(d=d(n,i)),(0,r.isFunction)(c)&&(c=c(n)),{duration:c||0,delay:d,easing:u}}return null}function a(e,t,n,o,a,s,l){var c,u=!1;(0,r.isFunction)(a)?(l=s,s=a,a=null):(0,r.isObject)(a)&&(s=a.cb,l=a.during,u=a.isFrom,c=a.removeOpt,a=a.dataIndex);var d="leave"===e;d||t.stopAnimation("leave");var f=i(e,o,a,d?c||{}:null,o&&o.getAnimationDelayParams?o.getAnimationDelayParams(t,a):null);if(f&&f.duration>0){var h={duration:f.duration,delay:f.delay||0,easing:f.easing,done:s,force:!!s||!!l,setToFinal:!d,scope:e,during:l};u?t.animateFrom(n,h):t.animateTo(n,h)}else t.stopAnimation(),!u&&t.attr(n),l&&l(1),s&&s()}function s(e,t,n,r,o,i){a("update",e,t,n,r,o,i)}function l(e,t,n,r,o,i){a("enter",e,t,n,r,o,i)}function c(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++)if("leave"===e.animators[t].scope)return!0;return!1}function u(e,t,n,r,o,i){c(e)||a("leave",e,t,n,r,o,i)}function d(e,t,n,r){e.removeTextContent(),e.removeTextGuideLine(),u(e,{style:{opacity:0}},t,n,r)}function f(e,t,n){function r(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse((function(e){e.isGroup||d(e,t,n,r)})):d(e,t,n,r)}function h(e){o(e).oldStyle=e.style}function p(e){return o(e).oldStyle}},5678:function(e,t,n){var r=n(60843);e.exports=function(e){return r(e)?"":JSON.stringify(e)}},5690:function(e,t,n){"use strict";n.d(t,{a:function(){return j}});var r=n(3087),o=n(15215),i=n(98026),a=n(5202),s=n(48170),l=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,o.C6)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),this._updateSelector(t)},t.prototype._updateSelector=function(e){var t=e.selector,n=this.ecModel;!0===t&&(t=e.selector=["all","inverse"]),i.isArray(t)&&i.each(t,(function(e,r){i.isString(e)&&(e={type:e}),t[r]=i.merge(e,function(e,t){return"all"===t?{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])}:"inverse"===t?{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(n,e.type))}))},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n<e.length;n++){var r=e[n].get("name");if(this.isSelected(r)){this.select(r),t=!0;break}}!t&&this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var t=[],n=[];e.eachRawSeries((function(r){var o,i=r.name;if(n.push(i),r.legendVisualProvider){var a=r.legendVisualProvider.getAllNames();e.isSeriesFiltered(r)||(n=n.concat(a)),a.length?t=t.concat(a):o=!0}else o=!0;o&&(0,s.O0)(r)&&t.push(r.name)})),this._availableNames=n;var r=this.get("data")||t,o=i.createHashMap(),l=i.map(r,(function(e){return(i.isString(e)||i.isNumber(e))&&(e={name:e}),o.get(e.name)?null:(o.set(e.name,!0),new a.A(e,this,this.ecModel))}),this);this._data=i.filter(l,(function(e){return!!e}))},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var t=this.option.selected;if("single"===this.get("selectedMode")){var n=this._data;i.each(n,(function(e){t[e.get("name")]=!1}))}t[e]=!0},t.prototype.unSelect=function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},t.prototype.toggleSelected=function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},t.prototype.allSelect=function(){var e=this._data,t=this.option.selected;i.each(e,(function(e){t[e.get("name",!0)]=!0}))},t.prototype.inverseSelect=function(){var e=this._data,t=this.option.selected;i.each(e,(function(e){var n=e.get("name",!0);t.hasOwnProperty(n)||(t[n]=!0),t[n]=!t[n]}))},t.prototype.isSelected=function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&i.indexOf(this._availableNames,e)>=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(n(15915).A),c=l,u=n(47698),d=n(43870),f=n(32322),h=n(10992),p=n(43199),m=n(34833),g=n(89632),A=n(2400),v=n(34253),y=n(59109),O=n(62103),b=n(76868),w=n(69622),_=i.curry,x=i.each,S=d.A,k=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return(0,o.C6)(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new S),this.group.add(this._selectorGroup=new S),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var o=e.get("align"),a=e.get("orient");o&&"auto"!==o||(o="right"===e.get("left")&&"vertical"===a?"right":"left");var s=e.get("selector",!0),l=e.get("selectorPosition",!0);!s||l&&"auto"!==l||(l="horizontal"===a?"end":"start"),this.renderInner(o,e,t,n,s,a,l);var c=e.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},d=e.get("padding"),f=v.dV(c,u,d),h=this.layoutInner(e,o,f,r,s,l),p=v.dV(i.defaults({width:h.width,height:h.height},c),u,d);this.group.x=p.x-h.x,this.group.y=p.y-h.y,this.group.markRedraw(),this.group.add(this._backgroundEl=(0,A.P)(h,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,n,r,o,a,s){var l=this.getContentGroup(),c=i.createHashMap(),d=t.get("selectedMode"),f=[];n.eachRawSeries((function(e){!e.get("legendHoverLink")&&f.push(e.id)})),x(t.getData(),(function(o,a){var s=o.get("name");if(!this.newlineDisabled&&(""===s||"\n"===s)){var h=new S;return h.newline=!0,void l.add(h)}var p=n.getSeriesByName(s)[0];if(!c.get(s))if(p){var m=p.getData(),g=m.getVisual("legendLineStyle")||{},A=m.getVisual("legendIcon"),v=m.getVisual("style"),y=this._createItem(p,s,a,o,t,e,g,v,A,d,r);y.on("click",_(C,s,null,r,f)).on("mouseover",_(Q,p.name,null,r,f)).on("mouseout",_(T,p.name,null,r,f)),n.ssr&&y.eachChild((function(e){var t=(0,w.z)(e);t.seriesIndex=p.seriesIndex,t.dataIndex=a,t.ssrType="legend"})),c.set(s,!0)}else n.eachRawSeries((function(l){if(!c.get(s)&&l.legendVisualProvider){var h=l.legendVisualProvider;if(!h.containName(s))return;var p=h.indexOfName(s),m=h.getItemVisual(p,"style"),g=h.getItemVisual(p,"legendIcon"),A=(0,u.parse)(m.fill);A&&0===A[3]&&(A[3]=.2,m=i.extend(i.extend({},m),{fill:(0,u.stringify)(A,"rgba")}));var v=this._createItem(l,s,a,o,t,e,{},m,g,d,r);v.on("click",_(C,null,s,r,f)).on("mouseover",_(Q,null,s,r,f)).on("mouseout",_(T,null,s,r,f)),n.ssr&&v.eachChild((function(e){var t=(0,w.z)(e);t.seriesIndex=l.seriesIndex,t.dataIndex=a,t.ssrType="legend"})),c.set(s,!0)}}),this)}),this),o&&this._createSelector(o,t,r,a,s)},t.prototype._createSelector=function(e,t,n,r,o){var i=this.getSelectorGroup();x(e,(function(e){var r=e.type,o=new f.Ay({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect",legendId:t.id})}});i.add(o);var a=t.getModel("selectorLabel"),s=t.getModel(["emphasis","selectorLabel"]);(0,g.qM)(o,{normal:a,emphasis:s},{defaultText:e.title}),(0,m.iJ)(o)}))},t.prototype._createItem=function(e,t,n,r,o,a,s,l,c,u,d){var A,v,y,w=e.visualDrawType,_=o.get("itemWidth"),k=o.get("itemHeight"),C=o.isSelected(t),B=r.get("symbolRotate"),Q=r.get("symbolKeepAspect"),T=r.get("icon"),E=function(e,t,n,r,o,i,a){function s(e,t){"auto"===e.lineWidth&&(e.lineWidth=t.lineWidth>0?2:0),x(e,(function(n,r){"inherit"===e[r]&&(e[r]=t[r])}))}var l=t.getModel("itemStyle"),c=l.getItemStyle(),u=0===e.lastIndexOf("empty",0)?"fill":"stroke",d=l.getShallow("decal");c.decal=d&&"inherit"!==d?(0,b.w)(d,a):r.decal,"inherit"===c.fill&&(c.fill=r[o]),"inherit"===c.stroke&&(c.stroke=r[u]),"inherit"===c.opacity&&(c.opacity=("fill"===o?r:n).opacity),s(c,r);var f=t.getModel("lineStyle"),h=f.getLineStyle();if(s(h,n),"auto"===c.fill&&(c.fill=r.fill),"auto"===c.stroke&&(c.stroke=r.fill),"auto"===h.stroke&&(h.stroke=r.fill),!i){var p=t.get("inactiveBorderWidth"),m=c[u];c.lineWidth="auto"===p?r.lineWidth>0&&m?2:0:c.lineWidth,c.fill=t.get("inactiveColor"),c.stroke=t.get("inactiveBorderColor"),h.stroke=f.get("inactiveColor"),h.lineWidth=f.get("inactiveWidth")}return{itemStyle:c,lineStyle:h}}(c=T||c||"roundRect",r,s,l,w,C,d),P=new S,$=r.getModel("textStyle");if(!i.isFunction(e.getLegendIcon)||T&&"inherit"!==T){var M="inherit"===T&&e.getData().getVisual("symbol")?"inherit"===B?e.getData().getVisual("symbolRotate"):B:0;P.add((A={itemWidth:_,itemHeight:k,icon:c,iconRotate:M,itemStyle:E.itemStyle,lineStyle:E.lineStyle,symbolKeepAspect:Q},v=A.icon||"roundRect",(y=(0,O.v5)(v,0,0,A.itemWidth,A.itemHeight,A.itemStyle.fill,A.symbolKeepAspect)).setStyle(A.itemStyle),y.rotation=(A.iconRotate||0)*Math.PI/180,y.setOrigin([A.itemWidth/2,A.itemHeight/2]),v.indexOf("empty")>-1&&(y.style.stroke=y.style.fill,y.style.fill="#fff",y.style.lineWidth=2),y))}else P.add(e.getLegendIcon({itemWidth:_,itemHeight:k,icon:c,iconRotate:B,itemStyle:E.itemStyle,lineStyle:E.lineStyle,symbolKeepAspect:Q}));var z="left"===a?_+5:-5,R=a,D=o.get("formatter"),I=t;i.isString(D)&&D?I=D.replace("{name}",null!=t?t:""):i.isFunction(D)&&(I=D(t));var N=C?$.getTextColor():r.get("inactiveColor");P.add(new f.Ay({style:(0,g.VB)($,{text:I,x:z,y:k/2,fill:N,align:R,verticalAlign:"middle"},{inheritColor:N})}));var L=new h.A({shape:P.getBoundingRect(),style:{fill:"transparent"}}),V=r.getModel("tooltip");return V.get("show")&&p.setTooltipConfig({el:L,componentModel:o,itemName:t,itemTooltipOption:V.option}),P.add(L),P.eachChild((function(e){e.silent=!0})),L.silent=!u,this.getContentGroup().add(P),(0,m.iJ)(P),P.__legendDataIndex=n,P},t.prototype.layoutInner=function(e,t,n,r,o,i){var a=this.getContentGroup(),s=this.getSelectorGroup();v.aP(e.get("orient"),a,e.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),c=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),o){v.aP("horizontal",s,e.get("selectorItemGap",!0));var u=s.getBoundingRect(),d=[-u.x,-u.y],f=e.get("selectorButtonGap",!0),h=e.getOrient().index,p=0===h?"width":"height",m=0===h?"height":"width",g=0===h?"y":"x";"end"===i?d[h]+=l[p]+f:c[h]+=u[p]+f,d[1-h]+=l[m]/2-u[m]/2,s.x=d[0],s.y=d[1],a.x=c[0],a.y=c[1];var A={x:0,y:0};return A[p]=l[p]+f+u[p],A[m]=Math.max(l[m],u[m]),A[g]=Math.min(0,u[g]+d[1-h]),A}return a.x=c[0],a.y=c[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(y.A);function C(e,t,n,r){T(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),Q(e,t,n,r)}function B(e){for(var t,n=e.getZr().storage.getDisplayList(),r=0,o=n.length;r<o&&!(t=n[r].states.emphasis);)r++;return t&&t.hoverLayer}function Q(e,t,n,r){B(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:r})}function T(e,t,n,r){B(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:r})}var E=k;function P(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0}))}function $(e,t,n){var r="allSelect"===e||"inverseSelect"===e,o={},a=[];n.eachComponent({mainType:"legend",query:t},(function(n){r?n[e]():n[e](t.name),M(n,o),a.push(n.componentIndex)}));var s={};return n.eachComponent("legend",(function(e){(0,i.each)(o,(function(t,n){e[t?"select":"unSelect"](n)})),M(e,s)})),r?{selected:s,legendIndex:a}:{name:t.name,selected:s}}function M(e,t){var n=t||{};return(0,i.each)(e.getData(),(function(t){var r=t.get("name");if("\n"!==r&&""!==r){var o=e.isSelected(r);(0,i.hasOwn)(n,r)?n[r]=n[r]&&o:n[r]=o}})),n}function z(e){e.registerComponentModel(c),e.registerComponentView(E),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,P),e.registerSubTypeDefaulter("legend",(function(){return"plain"})),function(e){e.registerAction("legendToggleSelect","legendselectchanged",(0,i.curry)($,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",(0,i.curry)($,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",(0,i.curry)($,"inverseSelect")),e.registerAction("legendSelect","legendselected",(0,i.curry)($,"select")),e.registerAction("legendUnSelect","legendunselected",(0,i.curry)($,"unSelect"))}(e)}var R=n(12616),D=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.C6)(t,e),t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(t,n,r){var o=(0,v.vs)(t);e.prototype.init.call(this,t,n,r),I(this,t,o)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),I(this,this.option,t)},t.type="legend.scroll",t.defaultOption=(0,R.G_)(c.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(c);function I(e,t,n){var r=[1,1];r[e.getOrient().index]=0,(0,v.YA)(t,n,{type:"box",ignoreSize:!!r})}var N=D,L=n(5638),V=d.A,U=["width","height"],F=["x","y"],H=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!0,n._currentIndex=0,n}return(0,o.C6)(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new V),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new V)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(t,n,r,o,a,s,l){var c=this;e.prototype.renderInner.call(this,t,n,r,o,a,s,l);var u=this._controllerGroup,d=n.get("pageIconSize",!0),h=i.isArray(d)?d:[d,d];g("pagePrev",0);var m=n.getModel("pageTextStyle");function g(e,t){var r=e+"DataIndex",a=p.createIcon(n.get("pageIcons",!0)[n.getOrient().name][t],{onclick:i.bind(c._pageGo,c,r,n,o)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});a.name=e,u.add(a)}u.add(new f.Ay({name:"pageText",style:{text:"xx/xx",fill:m.getTextColor(),font:m.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),g("pageNext",1)},t.prototype.layoutInner=function(e,t,n,r,o,a){var s=this.getSelectorGroup(),l=e.getOrient().index,c=U[l],u=F[l],d=U[1-l],f=F[1-l];o&&v.aP("horizontal",s,e.get("selectorItemGap",!0));var h=e.get("selectorButtonGap",!0),p=s.getBoundingRect(),m=[-p.x,-p.y],g=i.clone(n);o&&(g[c]=n[c]-p[c]-h);var A=this._layoutContentAndController(e,r,g,l,c,d,f,u);if(o){if("end"===a)m[l]+=A[c]+h;else{var y=p[c]+h;m[l]-=y,A[u]-=y}A[c]+=p[c]+h,m[1-l]+=A[f]+A[d]/2-p[d]/2,A[d]=Math.max(A[d],p[d]),A[f]=Math.min(A[f],p[f]+m[1-l]),s.x=m[0],s.y=m[1],s.markRedraw()}return A},t.prototype._layoutContentAndController=function(e,t,n,r,o,a,s,l){var c=this.getContentGroup(),u=this._containerGroup,d=this._controllerGroup;v.aP(e.get("orient"),c,e.get("itemGap"),r?n.width:null,r?null:n.height),v.aP("horizontal",d,e.get("pageButtonItemGap",!0));var f=c.getBoundingRect(),p=d.getBoundingRect(),m=this._showController=f[o]>n[o],g=[-f.x,-f.y];t||(g[r]=c[l]);var A=[0,0],y=[-p.x,-p.y],O=i.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));m&&("end"===e.get("pageButtonPosition",!0)?y[r]+=n[o]-p[o]:A[r]+=p[o]+O),y[1-r]+=f[a]/2-p[a]/2,c.setPosition(g),u.setPosition(A),d.setPosition(y);var b={x:0,y:0};if(b[o]=m?n[o]:f[o],b[a]=Math.max(f[a],p[a]),b[s]=Math.min(0,p[s]+y[1-r]),u.__rectSize=n[o],m){var w={x:0,y:0};w[o]=Math.max(n[o]-p[o]-O,0),w[a]=b[a],u.setClipPath(new h.A({shape:w})),u.__rectSize=w[o]}else d.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var _=this._getPageInfo(e);return null!=_.pageIndex&&L.oi(c,{x:_.contentPosition[0],y:_.contentPosition[1]},m?e:null),this._updatePageInfoView(e,_),b},t.prototype._pageGo=function(e,t,n){var r=this._getPageInfo(t)[e];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup;i.each(["pagePrev","pageNext"],(function(r){var o=null!=t[r+"DataIndex"],i=n.childOfName(r);i&&(i.setStyle("fill",o?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),i.cursor=o?"pointer":"default")}));var r=n.childOfName("pageText"),o=e.get("pageFormatter"),a=t.pageIndex,s=null!=a?a+1:0,l=t.pageCount;r&&o&&r.setStyle("text",i.isString(o)?o.replace("{current}",null==s?"":s+"").replace("{total}",null==l?"":l+""):o({current:s,total:l}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,o=e.getOrient().index,i=U[o],a=F[o],s=this._findTargetItemIndex(t),l=n.children(),c=l[s],u=l.length,d=u?1:0,f={contentPosition:[n.x,n.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return f;var h=v(c);f.contentPosition[o]=-h.s;for(var p=s+1,m=h,g=h,A=null;p<=u;++p)(!(A=v(l[p]))&&g.e>m.s+r||A&&!y(A,m.s))&&(m=g.i>m.i?g:A)&&(null==f.pageNextDataIndex&&(f.pageNextDataIndex=m.i),++f.pageCount),g=A;for(p=s-1,m=h,g=h,A=null;p>=-1;--p)(A=v(l[p]))&&y(g,A.s)||!(m.i<g.i)||(g=m,null==f.pagePrevDataIndex&&(f.pagePrevDataIndex=m.i),++f.pageCount,++f.pageIndex),m=A;return f;function v(e){if(e){var t=e.getBoundingRect(),n=t[a]+e[a];return{s:n,e:n+t[i],i:e.__legendDataIndex}}}function y(e,t){return e.e>=t&&e.s<=t+r}},t.prototype._findTargetItemIndex=function(e){return this._showController?(this.getContentGroup().eachChild((function(r,o){var i=r.__legendDataIndex;null==n&&null!=i&&(n=o),i===e&&(t=o)})),null!=t?t:n):0;var t,n},t.type="legend.scroll",t}(E),W=H;function X(e){(0,r.Y)(z),e.registerComponentModel(N),e.registerComponentView(W),function(e){e.registerAction("legendScroll","legendscroll",(function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(n)}))}))}(e)}function j(e){(0,r.Y)(z),(0,r.Y)(X)}},5786:function(e,t,n){"use strict";n.d(t,{a:function(){return b}});var r=n(98026),o=n(41025),i=n(31825),a={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},s=function(){function e(e){null==(this._condVal=(0,r.isString)(e)?new RegExp(e):(0,r.isRegExp)(e)?e:null)&&(0,o.$8)("")}return e.prototype.evaluate=function(e){var t=typeof e;return(0,r.isString)(t)?this._condVal.test(e):!!(0,r.isNumber)(t)&&this._condVal.test(e+"")},e}(),l=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),c=function(){function e(){}return e.prototype.evaluate=function(){for(var e=this.children,t=0;t<e.length;t++)if(!e[t].evaluate())return!1;return!0},e}(),u=function(){function e(){}return e.prototype.evaluate=function(){for(var e=this.children,t=0;t<e.length;t++)if(e[t].evaluate())return!0;return!1},e}(),d=function(){function e(){}return e.prototype.evaluate=function(){return!this.child.evaluate()},e}(),f=function(){function e(){}return e.prototype.evaluate=function(){for(var e=!!this.valueParser,t=(0,this.getValue)(this.valueGetterParam),n=e?this.valueParser(t):null,r=0;r<this.subCondList.length;r++)if(!this.subCondList[r].evaluate(e?n:t))return!1;return!0},e}();function h(e,t){if(!0===e||!1===e){var n=new l;return n.value=e,n}return m(e)||(0,o.$8)(""),e.and?p("and",e,t):e.or?p("or",e,t):e.not?function(e,t){var n=e.not;m(n)||(0,o.$8)("");var r=new d;return r.child=h(n,t),r.child||(0,o.$8)(""),r}(e,t):function(e,t){for(var n=t.prepareGetValue(e),l=[],c=(0,r.keys)(e),u=e.parser,d=u?(0,i.zC)(u):null,h=0;h<c.length;h++){var p=c[h];if("parser"!==p&&!t.valueGetterAttrMap.get(p)){var m=(0,r.hasOwn)(a,p)?a[p]:p,g=e[p],A=d?d(g):g,v=(0,i.zs)(m,A)||"reg"===m&&new s(A);v||(0,o.$8)(""),l.push(v)}}l.length||(0,o.$8)("");var y=new f;return y.valueGetterParam=n,y.valueParser=d,y.getValue=t.getValue,y.subCondList=l,y}(e,t)}function p(e,t,n){var i=t[e];(0,r.isArray)(i)||(0,o.$8)(""),i.length||(0,o.$8)("");var a="and"===e?new c:new u;return a.children=(0,r.map)(i,(function(e){return h(e,n)})),a.children.length||(0,o.$8)(""),a}function m(e){return(0,r.isObject)(e)&&!(0,r.isArrayLike)(e)}var g=function(){function e(e,t){this._cond=h(e,t)}return e.prototype.evaluate=function(){return this._cond.evaluate()},e}(),A={type:"echarts:filter",transform:function(e){for(var t,n,i,a=e.upstream,s=(n=e.config,i={valueGetterAttrMap:(0,r.createHashMap)({dimension:!0}),prepareGetValue:function(e){var t=e.dimension;(0,r.hasOwn)(e,"dimension")||(0,o.$8)("");var n=a.getDimensionInfo(t);return n||(0,o.$8)(""),{dimIdx:n.index}},getValue:function(e){return a.retrieveValueFromItem(t,e.dimIdx)}},new g(n,i)),l=[],c=0,u=a.count();c<u;c++)t=a.getRawDataItem(c),s.evaluate()&&l.push(t);return{data:l}}},v=n(13430),y=n(48170),O={type:"echarts:sort",transform:function(e){var t=e.upstream,n=e.config,a="",s=(0,y.qB)(n);s.length||(0,o.$8)(a);var l=[];(0,r.each)(s,(function(e){var n=e.dimension,r=e.order,s=e.parser,c=e.incomparable;null==n&&(0,o.$8)(a),"asc"!==r&&"desc"!==r&&(0,o.$8)(a),c&&"min"!==c&&"max"!==c&&(0,o.$8)(""),"asc"!==r&&"desc"!==r&&(0,o.$8)("");var u=t.getDimensionInfo(n);u||(0,o.$8)(a);var d=s?(0,i.zC)(s):null;s&&!d&&(0,o.$8)(a),l.push({dimIdx:u.index,parser:d,comparator:new i.Fl(r,c)})}));var c=t.sourceFormat;c!==v.Km&&c!==v.Wk&&(0,o.$8)(a);for(var u=[],d=0,f=t.count();d<f;d++)u.push(t.getRawDataItem(d));return u.sort((function(e,n){for(var r=0;r<l.length;r++){var o=l[r],i=t.retrieveValueFromItem(e,o.dimIdx),a=t.retrieveValueFromItem(n,o.dimIdx);o.parser&&(i=o.parser(i),a=o.parser(a));var s=o.comparator.evaluate(i,a);if(0!==s)return s}return 0})),{data:u}}};function b(e){e.registerTransform(A),e.registerTransform(O)}},5947:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}function i(e){return 100*(-1+e)}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var l=n.render(!t),c=l.querySelector(r.barSelector),u=r.speed,d=r.easing;return l.offsetWidth,a((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(c,function(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+t+"ms "+n,o}(e,u,d)),1===e?(s(l,{transition:"none",opacity:1}),l.offsetWidth,setTimeout((function(){s(l,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,a=t.querySelector(r.barSelector),l=e?"-100":i(n.status||0),u=document.querySelector(r.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&f(o),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var a=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n){return n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()})),t[n]||(t[n]=function(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+i)in n)return r;return t}(n))}function r(e,t,r){t=n(t),e.style[t]=r}return function(e,t){var n,o,i=arguments;if(2==i.length)for(n in t)void 0!==(o=t[n])&&t.hasOwnProperty(n)&&r(e,n,o);else r(e,i[1],i[2])}}();function l(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=d(e),r=n+t;l(n,t)||(e.className=r.substring(1))}function u(e,t){var n,r=d(e);l(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o=r.call(t,n,t,e))||(e.exports=o)},6006:function(e,t,n){"use strict";var r,o,i,a,s,l,c,u=n(98026),d=n(5202),f=n(16563),h=n(58267),p=n(29756),m=n(22759),g=n(13430),A=n(48170),v=n(69622),y=n(34310),O=n(70250),b=n(73632),w=u.isObject,_=u.map,x="undefined"==typeof Int32Array?Array:Int32Array,S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],k=["_approximateExtent"],C=function(){function e(e,t){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var r=!1;(0,b.fg)(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(r=!0,n=e),n=n||["x","y"];for(var o={},i=[],a={},s=!1,l={},c=0;c<n.length;c++){var d=n[c],f=u.isString(d)?new m.A({name:d}):d instanceof m.A?d:new m.A(d),h=f.name;f.type=f.type||"float",f.coordDim||(f.coordDim=h,f.coordDimIndex=0);var p=f.otherDims=f.otherDims||{};i.push(h),o[h]=f,null!=l[h]&&(s=!0),f.createInvertedIndices&&(a[h]=[]),0===p.itemName&&(this._nameDimIdx=c),0===p.itemId&&(this._idDimIdx=c),r&&(f.storeDimIndex=c)}if(this.dimensions=i,this._dimInfos=o,this._initGetDimensionInfo(s),this.hostModel=t,this._invertedIndicesMap=a,this._dimOmitted){var g=this._dimIdxToName=u.createHashMap();u.each(i,(function(e){g.set(o[e].storeDimIndex,e)}))}}return e.prototype.getDimension=function(e){var t=this._recognizeDimIndex(e);if(null==t)return e;if(t=e,!this._dimOmitted)return this.dimensions[t];var n=this._dimIdxToName.get(t);if(null!=n)return n;var r=this._schema.getSourceDimension(t);return r?r.name:void 0},e.prototype.getDimensionIndex=function(e){var t=this._recognizeDimIndex(e);if(null!=t)return t;if(null==e)return-1;var n=this._getDimInfo(e);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},e.prototype._recognizeDimIndex=function(e){if(u.isNumber(e)||null!=e&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},e.prototype._getStoreDimIndex=function(e){return this.getDimensionIndex(e)},e.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},e.prototype._initGetDimensionInfo=function(e){var t=this._dimInfos;this._getDimInfo=e?function(e){return t.hasOwnProperty(e)?t[e]:void 0}:function(e){return t[e]}},e.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},e.prototype.mapDimension=function(e,t){var n=this._dimSummary;if(null==t)return n.encodeFirstDimNotExtra[e];var r=n.encode[e];return r?r[t]:null},e.prototype.mapDimensionsAll=function(e){return(this._dimSummary.encode[e]||[]).slice()},e.prototype.getStore=function(){return this._store},e.prototype.initData=function(e,t,n){var r,o=this;if(e instanceof O.Ay&&(r=e),!r){var i=this.dimensions,a=(0,y.tP)(e)||u.isArrayLike(e)?new h.d1(e,i.length):e;r=new O.Ay;var s=_(i,(function(e){return{type:o._dimInfos[e].type,property:e}}));r.initData(a,s,n)}this._store=r,this._nameList=(t||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,r.count()),this._dimSummary=(0,p.l)(this,this._schema),this.userOutput=this._dimSummary.userOutput},e.prototype.appendData=function(e){var t=this._store.appendData(e);this._doInit(t[0],t[1])},e.prototype.appendValues=function(e,t){var n=this._store.appendValues(e,t&&t.length),r=n.start,o=n.end,i=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),t)for(var a=r;a<o;a++){var s=a-r;this._nameList[a]=t[s],i&&c(this,a)}},e.prototype._updateOrdinalMeta=function(){for(var e=this._store,t=this.dimensions,n=0;n<t.length;n++){var r=this._dimInfos[t[n]];r.ordinalMeta&&e.collectOrdinalMeta(r.storeDimIndex,r.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return null==this._idDimIdx&&e.getSource().sourceFormat!==g.XO&&!e.fillStorage},e.prototype._doInit=function(e,t){if(!(e>=t)){var n=this._store.getProvider();this._updateOrdinalMeta();var o=this._nameList,i=this._idList;if(n.getSource().sourceFormat===g.mK&&!n.pure)for(var a=[],s=e;s<t;s++){var l=n.getItem(s,a);if(!this.hasItemOption&&(0,A.zu)(l)&&(this.hasItemOption=!0),l){var u=l.name;null==o[s]&&null!=u&&(o[s]=(0,A.vS)(u,null));var d=l.id;null==i[s]&&null!=d&&(i[s]=(0,A.vS)(d,null))}}if(this._shouldMakeIdFromName())for(s=e;s<t;s++)c(this,s);r(this)}},e.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},e.prototype.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},e.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},e.prototype.setCalculationInfo=function(e,t){w(e)?u.extend(this._calculationInfo,e):this._calculationInfo[e]=t},e.prototype.getName=function(e){var t=this.getRawIndex(e),n=this._nameList[t];return null==n&&null!=this._nameDimIdx&&(n=i(this,this._nameDimIdx,t)),null==n&&(n=""),n},e.prototype._getCategory=function(e,t){var n=this._store.get(e,t),r=this._store.getOrdinalMeta(e);return r?r.categories[n]:n},e.prototype.getId=function(e){return o(this,this.getRawIndex(e))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(e,t){var n=this._store,r=this._dimInfos[e];if(r)return n.get(r.storeDimIndex,t)},e.prototype.getByRawIndex=function(e,t){var n=this._store,r=this._dimInfos[e];if(r)return n.getByRawIndex(r.storeDimIndex,t)},e.prototype.getIndices=function(){return this._store.getIndices()},e.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},e.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},e.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},e.prototype.getValues=function(e,t){var n=this,r=this._store;return u.isArray(e)?r.getValues(_(e,(function(e){return n._getStoreDimIndex(e)})),t):r.getValues(e)},e.prototype.hasValue=function(e){for(var t=this._dimSummary.dataDimIndicesOnCoord,n=0,r=t.length;n<r;n++)if(isNaN(this._store.get(t[n],e)))return!1;return!0},e.prototype.indexOfName=function(e){for(var t=0,n=this._store.count();t<n;t++)if(this.getName(t)===e)return t;return-1},e.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},e.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},e.prototype.rawIndexOf=function(e,t){var n=e&&this._invertedIndicesMap[e],r=n&&n[t];return null==r||isNaN(r)?-1:r},e.prototype.indicesOfNearest=function(e,t,n){return this._store.indicesOfNearest(this._getStoreDimIndex(e),t,n)},e.prototype.each=function(e,t,n){u.isFunction(e)&&(n=t,t=e,e=[]);var r=n||this,o=_(a(e),this._getStoreDimIndex,this);this._store.each(o,r?u.bind(t,r):t)},e.prototype.filterSelf=function(e,t,n){u.isFunction(e)&&(n=t,t=e,e=[]);var r=n||this,o=_(a(e),this._getStoreDimIndex,this);return this._store=this._store.filter(o,r?u.bind(t,r):t),this},e.prototype.selectRange=function(e){var t=this,n={},r=u.keys(e),o=[];return u.each(r,(function(r){var i=t._getStoreDimIndex(r);n[i]=e[r],o.push(i)})),this._store=this._store.selectRange(n),this},e.prototype.mapArray=function(e,t,n){u.isFunction(e)&&(n=t,t=e,e=[]),n=n||this;var r=[];return this.each(e,(function(){r.push(t&&t.apply(this,arguments))}),n),r},e.prototype.map=function(e,t,n,r){var o=n||r||this,i=_(a(e),this._getStoreDimIndex,this),s=l(this);return s._store=this._store.map(i,o?u.bind(t,o):t),s},e.prototype.modify=function(e,t,n,r){var o=n||r||this,i=_(a(e),this._getStoreDimIndex,this);this._store.modify(i,o?u.bind(t,o):t)},e.prototype.downSample=function(e,t,n,r){var o=l(this);return o._store=this._store.downSample(this._getStoreDimIndex(e),t,n,r),o},e.prototype.minmaxDownSample=function(e,t){var n=l(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(e),t),n},e.prototype.lttbDownSample=function(e,t){var n=l(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(e),t),n},e.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},e.prototype.getItemModel=function(e){var t=this.hostModel,n=this.getRawDataItem(e);return new d.A(n,t,t&&t.ecModel)},e.prototype.diff=function(e){var t=this;return new f.A(e?e.getStore().getIndices():[],this.getStore().getIndices(),(function(t){return o(e,t)}),(function(e){return o(t,e)}))},e.prototype.getVisual=function(e){var t=this._visual;return t&&t[e]},e.prototype.setVisual=function(e,t){this._visual=this._visual||{},w(e)?u.extend(this._visual,e):this._visual[e]=t},e.prototype.getItemVisual=function(e,t){var n=this._itemVisuals[e],r=n&&n[t];return null==r?this.getVisual(t):r},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,r=n[e];r||(r=n[e]={});var o=r[t];return null==o&&(o=this.getVisual(t),u.isArray(o)?o=o.slice():w(o)&&(o=u.extend({},o)),r[t]=o),o},e.prototype.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{};this._itemVisuals[e]=r,w(t)?u.extend(r,t):r[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){w(e)?u.extend(this._layout,e):this._layout[e]=t},e.prototype.getLayout=function(e){return this._layout[e]},e.prototype.getItemLayout=function(e){return this._itemLayouts[e]},e.prototype.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?u.extend(this._itemLayouts[e]||{},t):t},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(e,t){var n=this.hostModel&&this.hostModel.seriesIndex;(0,v.a)(n,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){u.each(this._graphicEls,(function(n,r){n&&e&&e.call(t,n,r)}))},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:_(this.dimensions,this._getDimInfo,this),this.hostModel)),s(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];u.isFunction(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(u.slice(arguments)))})},e.internalField=(r=function(e){var t=e._invertedIndicesMap;u.each(t,(function(n,r){var o=e._dimInfos[r],i=o.ordinalMeta,a=e._store;if(i){n=t[r]=new x(i.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(s=0;s<a.count();s++)n[a.get(o.storeDimIndex,s)]=s}}))},i=function(e,t,n){return(0,A.vS)(e._getCategory(t,n),null)},o=function(e,t){var n=e._idList[t];return null==n&&null!=e._idDimIdx&&(n=i(e,e._idDimIdx,t)),null==n&&(n="e\0\0"+t),n},a=function(e){return u.isArray(e)||(e=null!=e?[e]:[]),e},l=function(t){var n=new e(t._schema?t._schema:_(t.dimensions,t._getDimInfo,t),t.hostModel);return s(n,t),n},s=function(e,t){u.each(S.concat(t.__wrappedMethods||[]),(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e.__wrappedMethods=t.__wrappedMethods,u.each(k,(function(n){e[n]=u.clone(t[n])})),e._calculationInfo=u.extend({},t._calculationInfo)},void(c=function(e,t){var n=e._nameList,r=e._idList,o=e._nameDimIdx,a=e._idDimIdx,s=n[t],l=r[t];if(null==s&&null!=o&&(n[t]=s=i(e,o,t)),null==l&&null!=a&&(r[t]=l=i(e,a,t)),null==l&&null!=s){var c=e._nameRepeatCount,u=c[s]=(c[s]||0)+1;l=s,u>1&&(l+="__ec__"+u),r[t]=l}})),e}();t.A=C},6060:function(e,t,n){var r=n(75526)("Date");e.exports=r},6393:function(e,t,n){"use strict";n.d(t,{AH:function(){return P},Yk:function(){return E}});var r=n(48820),o=n(43720);const i=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function a(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function s(e){return e>=48&&e<=57}const l=new r.Lu(((e,t)=>{for(let n=!1,r=0,o=0;;o++){let{next:i}=e;if(a(i)||45==i||95==i||n&&s(i))!n&&(45!=i||o>0)&&(n=!0),r===o&&45==i&&r++,e.advance();else{if(92!=i||10==e.peek(1)){n&&e.acceptToken(40==i?101:2==r&&t.canShift(2)?2:102);break}e.advance(),e.next>-1&&e.advance(),n=!0}}})),c=new r.Lu((e=>{if(i.includes(e.peek(-1))){let{next:t}=e;(a(t)||95==t||35==t||46==t||91==t||58==t&&a(e.peek(1))||45==t||38==t)&&e.acceptToken(100)}})),u=new r.Lu((e=>{if(!i.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),a(t)){do{e.advance()}while(a(e.next)||s(e.next));e.acceptToken(1)}}})),d=(0,o.pn)({"AtKeyword import charset namespace keyframes media supports":o._A.definitionKeyword,"from to selector":o._A.keyword,NamespaceName:o._A.namespace,KeyframeName:o._A.labelName,KeyframeRangeName:o._A.operatorKeyword,TagName:o._A.tagName,ClassName:o._A.className,PseudoClassName:o._A.constant(o._A.className),IdName:o._A.labelName,"FeatureName PropertyName":o._A.propertyName,AttributeName:o._A.attributeName,NumberLiteral:o._A.number,KeywordQuery:o._A.keyword,UnaryQueryOp:o._A.operatorKeyword,"CallTag ValueName":o._A.atom,VariableName:o._A.variableName,Callee:o._A.operatorKeyword,Unit:o._A.unit,"UniversalSelector NestingSelector":o._A.definitionOperator,MatchOp:o._A.compareOperator,"ChildOp SiblingOp, LogicOp":o._A.logicOperator,BinOp:o._A.arithmeticOperator,Important:o._A.modifier,Comment:o._A.blockComment,ColorLiteral:o._A.color,"ParenthesizedContent StringLiteral":o._A.string,":":o._A.punctuation,"PseudoOp #":o._A.derefOperator,"; ,":o._A.separator,"( )":o._A.paren,"[ ]":o._A.squareBracket,"{ }":o._A.brace}),f={__proto__:null,lang:34,"nth-child":34,"nth-last-child":34,"nth-of-type":34,"nth-last-of-type":34,dir:34,"host-context":34,url:62,"url-prefix":62,domain:62,regexp:62,selector:140},h={__proto__:null,"@import":120,"@media":144,"@charset":148,"@namespace":152,"@keyframes":158,"@supports":170},p={__proto__:null,not:134,only:134},m=r.U1.deserialize({version:14,states:":jQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#CiO$qQ[O'#DUO$vQ[O'#DXOOQP'#En'#EnO${QdO'#DhO%jQ[O'#DuO${QdO'#DwO%{Q[O'#DyO&WQ[O'#D|O&`Q[O'#ESO&nQ[O'#EUOOQS'#Em'#EmOOQS'#EX'#EXQYQ[OOO&uQXO'#CdO'jQWO'#DdO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@])C@]OOQP'#Ch'#ChOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E]O({QWO,58{O)TQ[O,59TO$qQ[O,59pO$vQ[O,59sO(aQ[O,59vO(aQ[O,59xO(aQ[O,59yO)`Q[O'#DcOOQS,58{,58{OOQP'#Cl'#ClOOQO'#DS'#DSOOQP,59T,59TO)gQWO,59TO)lQWO,59TOOQP'#DW'#DWOOQP,59p,59pOOQO'#DY'#DYO)qQ`O,59sOOQS'#Cq'#CqO${QdO'#CrO)yQvO'#CtO+ZQtO,5:SOOQO'#Cy'#CyO)lQWO'#CxO+oQWO'#CzO+tQ[O'#DPOOQS'#Ep'#EpOOQO'#Dk'#DkO+|Q[O'#DrO,[QWO'#EtO&`Q[O'#DpO,jQWO'#DsOOQO'#Eu'#EuO)OQWO,5:aO,oQpO,5:cOOQS'#D{'#D{O,wQWO,5:eO,|Q[O,5:eOOQO'#EO'#EOO-UQWO,5:hO-ZQWO,5:nO-cQWO,5:pOOQS-E8V-E8VO-kQdO,5:OO-{Q[O'#E_O.YQWO,5;_O.YQWO,5;_POOO'#EW'#EWP.eO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO/[QXO,5:wOOQO-E8Z-E8ZOOQS1G.g1G.gOOQP1G.o1G.oO)gQWO1G.oO)lQWO1G.oOOQP1G/[1G/[O/iQ`O1G/_O0SQXO1G/bO0jQXO1G/dO1QQXO1G/eO1hQWO,59}O1mQ[O'#DTO1tQdO'#CpOOQP1G/_1G/_O${QdO1G/_O1{QpO,59^OOQS,59`,59`O${QdO,59bO2TQWO1G/nOOQS,59d,59dO2YQ!bO,59fOOQS'#DQ'#DQOOQS'#EZ'#EZO2eQ[O,59kOOQS,59k,59kO2mQWO'#DkO2xQWO,5:WO2}QWO,5:^O&`Q[O,5:YO&`Q[O'#E`O3VQWO,5;`O3bQWO,5:[O(aQ[O,5:_OOQS1G/{1G/{OOQS1G/}1G/}OOQS1G0P1G0PO3sQWO1G0PO3xQdO'#EPOOQS1G0S1G0SOOQS1G0Y1G0YOOQS1G0[1G0[O4TQtO1G/jOOQO1G/j1G/jOOQO,5:y,5:yO4kQ[O,5:yOOQO-E8]-E8]O4xQWO1G0yPOOO-E8U-E8UPOOO1G.e1G.eOOQP7+$Z7+$ZOOQP7+$y7+$yO${QdO7+$yOOQS1G/i1G/iO5TQXO'#ErO5[QWO,59oO5aQtO'#EYO6XQdO'#EoO6cQWO,59[O6hQpO7+$yOOQS1G.x1G.xOOQS1G.|1G.|OOQS7+%Y7+%YOOQS1G/Q1G/QO6pQWO1G/QOOQS-E8X-E8XOOQS1G/V1G/VO${QdO1G/rOOQO1G/x1G/xOOQO1G/t1G/tO6uQWO,5:zOOQO-E8^-E8^O7TQXO1G/yOOQS7+%k7+%kO7[QYO'#CtOOQO'#ER'#ERO7gQ`O'#EQOOQO'#EQ'#EQO7rQWO'#EaO7zQdO,5:kOOQS,5:k,5:kO8VQtO'#E^O${QdO'#E^O9WQdO7+%UOOQO7+%U7+%UOOQO1G0e1G0eO9kQpO<<HeO9sQWO,5;^OOQP1G/Z1G/ZOOQS-E8W-E8WO${QdO'#E[O9{QWO,5;ZOOQT1G.v1G.vOOQP<<He<<HeOOQS7+$l7+$lO:TQdO7+%^OOQO7+%e7+%eOOQO,5:l,5:lO3{QdO'#EbO7rQWO,5:{OOQS,5:{,5:{OOQS-E8_-E8_OOQS1G0V1G0VO:[QtO,5:xOOQS-E8[-E8[OOQO<<Hp<<HpOOQPAN>PAN>PO;]QdO,5:vOOQO-E8Y-E8YOOQO<<Hx<<HxOOQO,5:|,5:|OOQO-E8`-E8`OOQS1G0g1G0g",stateData:";o~O#[OS#]QQ~OUYOXYOZTO^VO_VOrXOyWO!]aO!^ZO!j[O!l]O!n^O!q_O!w`O#YRO~OQfOUYOXYOZTO^VO_VOrXOyWO!]aO!^ZO!j[O!l]O!n^O!q_O!w`O#YeO~O#V#gP~P!ZO#]jO~O#YlO~OZnO^qO_qOrsOuoOyrO!PtO!SvO#WuO~O!UwO~P#pOa}O#XzO#YyO~O#Y!OO~O#Y!QO~OQ![Oc!TOg![Oi![Oo!YOr!ZO#X!WO#Y!SO#e!UO~Oc!^O!e!`O!h!aO#Y!]O!U#hP~Oi!fOo!YO#Y!eO~Oi!hO#Y!hO~Oc!^O!e!`O!h!aO#Y!]O~O!Z#hP~P%jOZWX^WX^!XX_WXrWXuWXyWX!PWX!SWX!UWX#WWX~O^!mO~O!Z!nO#V#gX!T#gX~O#V#gX!T#gX~P!ZO#^!qO#_!qO#`!sO~OUYOXYOZTO^VO_VOrXOyWO#YRO~OuoO!UwO~Oa!zO#XzO#YyO~O!T#gP~P!ZOc#RO~Oc#SO~Oq#TO}#UO~OP#WOchXkhX!ZhX!ehX!hhX#YhXbhXQhXghXihXohXrhXuhX!YhX#VhX#XhX#ehXqhX!ThX~Oc!^Ok#XO!e!`O!h!aO#Y!]O!Z#hP~Oc#[O~Oq#`O#Y#]O~Oc!^O!e!`O!h!aO#Y#aO~Ou#eO!c#dO!U#hX!Z#hX~Oc#hO~Ok#XO!Z#jO~O!Z#kO~Oi#lOo!YO~O!U#mO~O!UwO!c#dO~O!UwO!Z#pO~O!Y#rO!Z!Wa#V!Wa!T!Wa~P${O!Z#RX#V#RX!T#RX~P!ZO!Z!nO#V#ga!T#ga~O#^!qO#_!qO#`#xO~OZnO^qO_qOrsOyrO!PtO!SvO#WuO~Ou#Pa!U#Pab#Pa~P.pOq#zO}#{O~OZnO^qO_qOrsOyrO~Ou!Oi!P!Oi!S!Oi!U!Oi#W!Oib!Oi~P/qOu!Qi!P!Qi!S!Qi!U!Qi#W!Qib!Qi~P/qOu!Ri!P!Ri!S!Ri!U!Ri#W!Rib!Ri~P/qO!T#|O~Ob#fP~P(aOb#cP~P${Ob$TOk#XO~O!Z$VO~Ob$WOi$XOp$XO~Oq$ZO#Y#]O~O^!aXb!_X!c!_X~O^$[O~Ob$]O!c#dO~Ou#eO!U#ha!Z#ha~O!c#dOu!da!U!da!Z!dab!da~O!Z$bO~O!T$iO#Y$dO#e$cO~Ok#XOu$kO!Y$mO!Z!Wi#V!Wi!T!Wi~P${O!Z#Ra#V#Ra!T#Ra~P!ZO!Z!nO#V#gi!T#gi~Ob#fX~P#pOb$qO~Ok#XOQ!|Xb!|Xc!|Xg!|Xi!|Xo!|Xr!|Xu!|X#X!|X#Y!|X#e!|X~Ou$sOb#cX~P${Ob$uO~Ok#XOq$vO~Ob$wO~O!c#dOu#Sa!U#Sa!Z#Sa~Ob$yO~P.pOP#WOuhX!UhX~O#e$cOu!tX!U!tX~Ou${O!UwO~O!T%PO#Y$dO#e$cO~Ok#XOQ#QXc#QXg#QXi#QXo#QXr#QXu#QX!Y#QX!Z#QX#V#QX#X#QX#Y#QX#e#QX!T#QX~Ou$kO!Y%SO!Z!Wq#V!Wq!T!Wq~P${Ok#XOq%TO~OuoOb#fa~Ou$sOb#ca~Ob%WO~P${Ok#XOQ#Qac#Qag#Qai#Qao#Qar#Qau#Qa!Y#Qa!Z#Qa#V#Qa#X#Qa#Y#Qa#e#Qa!T#Qa~Ob#Oau#Oa~P${O#[p#]#ek!S#e~",goto:"-g#jPPP#kP#nP#w$WP#wP$g#wPP$mPPP$s$|$|P%`P$|P$|%z&^PPPP$|&vP&z'Q#wP'W#w'^P#wP#w#wPPP'd'y(WPP#nPP(_(_(i(_P(_P(_(_P#nP#nP#nP(l#nP(o(r(u(|#nP#nP)R)X)h)v)|*S*^*d*n*t*zPPPPPPPPPP+Q+Z+v+yP,o,r,x-RRkQ_bOPdhw!n#tkYOPdhotuvw!n#R#h#tkSOPdhotuvw!n#R#h#tQmTR!tnQ{VR!xqQ!x}Q#Z!XR#y!zq![Z]!T!m#S#U#X#q#{$Q$[$k$l$s$x%Up![Z]!T!m#S#U#X#q#{$Q$[$k$l$s$x%UU$f#m$h${R$z$eq!XZ]!T!m#S#U#X#q#{$Q$[$k$l$s$x%Up![Z]!T!m#S#U#X#q#{$Q$[$k$l$s$x%UQ!f^R#l!gT#^!Z#_Q|VR!yqQ!x|R#y!yQ!PWR!{rQ!RXR!|sQxUQ!wpQ#i!cQ#o!jQ#p!kQ$}$gR%Z$|SgPwQ!phQ#s!nR$n#tZfPhw!n#ta!b[`a!V!^!`#d#eR#b!^R!g^R!i_R#n!iS$g#m$hR%X${V$e#m$h${Q!rjR#w!rQdOShPwU!ldh#tR#t!nQ$Q#SU$r$Q$x%UQ$x$[R%U$sQ#_!ZR$Y#_Q$t$QR%V$tQpUS!vp$pR$p#}Q$l#qR%R$lQ!ogS#u!o#vR#v!pQ#f!_R$`#fQ$h#mR%O$hQ$|$gR%Y$|_cOPdhw!n#t^UOPdhw!n#tQ!uoQ!}tQ#OuQ#PvQ#}#RR$a#hR$R#SQ!VZQ!d]Q#V!TQ#q!m[$P#S$Q$[$s$x%UQ$S#UQ$U#XS$j#q$lQ$o#{R%Q$kR$O#RQiPR#QwQ!c[Q!kaR#Y!VU!_[a!VQ!j`Q#c!^Q#g!`Q$^#dR$_#e",nodeNames:"⚠ Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName , PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",maxTerm:117,nodeProps:[["isolate",-2,3,25,""],["openedBy",18,"(",33,"[",51,"{"],["closedBy",19,")",34,"]",52,"}"]],propSources:[d],skippedNodes:[0,3,88],repeatNodeCount:11,tokenData:"J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSp`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#[~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#[~p`OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^l)[UOy%^z#]%^#]#^)n#^;'S%^;'S;=`%o<%lO%^l)sUp`Oy%^z#a%^#a#b*V#b;'S%^;'S;=`%o<%lO%^l*[Up`Oy%^z#d%^#d#e*n#e;'S%^;'S;=`%o<%lO%^l*sUp`Oy%^z#c%^#c#d+V#d;'S%^;'S;=`%o<%lO%^l+[Up`Oy%^z#f%^#f#g+n#g;'S%^;'S;=`%o<%lO%^l+sUp`Oy%^z#h%^#h#i,V#i;'S%^;'S;=`%o<%lO%^l,[Up`Oy%^z#T%^#T#U,n#U;'S%^;'S;=`%o<%lO%^l,sUp`Oy%^z#b%^#b#c-V#c;'S%^;'S;=`%o<%lO%^l-[Up`Oy%^z#h%^#h#i-n#i;'S%^;'S;=`%o<%lO%^l-uS!Y[p`Oy%^z;'S%^;'S;=`%o<%lO%^~.UWOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o<%lO.R~.sOi~~.vRO;'S.R;'S;=`/P;=`O.R~/SXOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o;=`<%l.R<%lO.R~/rP;=`<%l.Rn/zYyQOy%^z!Q%^!Q![0j![!c%^!c!i0j!i#T%^#T#Z0j#Z;'S%^;'S;=`%o<%lO%^l0oYp`Oy%^z!Q%^!Q![1_![!c%^!c!i1_!i#T%^#T#Z1_#Z;'S%^;'S;=`%o<%lO%^l1dYp`Oy%^z!Q%^!Q![2S![!c%^!c!i2S!i#T%^#T#Z2S#Z;'S%^;'S;=`%o<%lO%^l2ZYg[p`Oy%^z!Q%^!Q![2y![!c%^!c!i2y!i#T%^#T#Z2y#Z;'S%^;'S;=`%o<%lO%^l3QYg[p`Oy%^z!Q%^!Q![3p![!c%^!c!i3p!i#T%^#T#Z3p#Z;'S%^;'S;=`%o<%lO%^l3uYp`Oy%^z!Q%^!Q![4e![!c%^!c!i4e!i#T%^#T#Z4e#Z;'S%^;'S;=`%o<%lO%^l4lYg[p`Oy%^z!Q%^!Q![5[![!c%^!c!i5[!i#T%^#T#Z5[#Z;'S%^;'S;=`%o<%lO%^l5aYp`Oy%^z!Q%^!Q![6P![!c%^!c!i6P!i#T%^#T#Z6P#Z;'S%^;'S;=`%o<%lO%^l6WSg[p`Oy%^z;'S%^;'S;=`%o<%lO%^d6gUOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^d7QS}Sp`Oy%^z;'S%^;'S;=`%o<%lO%^b7cSXQOy%^z;'S%^;'S;=`%o<%lO%^~7rWOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W<%lO7o~8_RO;'S7o;'S;=`8h;=`O7o~8kXOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W;=`<%l7o<%lO7o~9ZP;=`<%l7on9cSc^Oy%^z;'S%^;'S;=`%o<%lO%^~9tOb~n9{UUQkWOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^n:fWkW!SQOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^l;TUp`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYp`#e[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l<cYp`Oy%^z{%^{|=R|}%^}!O=R!O!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=WUp`Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=qUp`#e[Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l>[[p`#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSu^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWkWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VUZQOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTkWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSp`#]~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU^QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S_Qp`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Z^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS}SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!PQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!PQp`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[!]Qp`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSr^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSq^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUp`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!cQp`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!UUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!T^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!SQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[c,u,l,1,2,3,4,new r.uC("m~RRYZ[z{a~~g~aO#_~~dP!P!Qg~lO#`~~",28,106)],topRules:{StyleSheet:[0,4],Styles:[1,87]},specialized:[{term:101,get:e=>f[e]||-1},{term:59,get:e=>h[e]||-1},{term:102,get:e=>p[e]||-1}],tokenPrec:1219});var g=n(15874),A=n(90365);let v=null;function y(){if(!v&&"object"==typeof document&&document.body){let{style:e}=document.body,t=[],n=new Set;for(let r in e)"cssText"!=r&&"cssFloat"!=r&&"string"==typeof e[r]&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))),n.has(r)||(t.push(r),n.add(r)));v=t.sort().map((e=>({type:"property",label:e,apply:e+": "})))}return v||[]}const O=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map((e=>({type:"class",label:e}))),b=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map((e=>({type:"keyword",label:e}))).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map((e=>({type:"constant",label:e})))),w=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map((e=>({type:"type",label:e}))),_=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map((e=>({type:"keyword",label:e}))),x=/^(\w[\w-]*|-\w[\w-]*|)$/,S=/^-(-[\w-]*)?$/,k=new A.RY,C=["Declaration"];function B(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function Q(e,t,n){if(t.to-t.from>4096){let r=k.get(t);if(r)return r;let o=[],i=new Set,a=t.cursor(A.Qj.IncludeAnonymous);if(a.firstChild())do{for(let t of Q(e,a.node,n))i.has(t.label)||(i.add(t.label),o.push(t))}while(a.nextSibling());return k.set(t,o),o}{let r=[],o=new Set;return t.cursor().iterate((t=>{var i;if(n(t)&&t.matchContext(C)&&":"==(null===(i=t.node.nextSibling)||void 0===i?void 0:i.name)){let n=e.sliceString(t.from,t.to);o.has(n)||(o.add(n),r.push({label:n,type:"variable"}))}})),r}}const T=(e=>t=>{let{state:n,pos:r}=t,o=(0,g.mv)(n).resolveInner(r,-1),i=o.type.isError&&o.from==o.to-1&&"-"==n.doc.sliceString(o.from,o.to);if("PropertyName"==o.name||(i||"TagName"==o.name)&&/^(Block|Styles)$/.test(o.resolve(o.to).name))return{from:o.from,options:y(),validFor:x};if("ValueName"==o.name)return{from:o.from,options:b,validFor:x};if("PseudoClassName"==o.name)return{from:o.from,options:O,validFor:x};if(e(o)||(t.explicit||i)&&function(e,t){var n;if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1;let r=null===(n=e.parent)||void 0===n?void 0:n.firstChild;return"Callee"==(null==r?void 0:r.name)&&"var"==t.sliceString(r.from,r.to)}(o,n.doc))return{from:e(o)||i?o.from:r,options:Q(n.doc,B(o),e),validFor:S};if("TagName"==o.name){for(let{parent:e}=o;e;e=e.parent)if("Block"==e.name)return{from:o.from,options:y(),validFor:x};return{from:o.from,options:w,validFor:x}}if("AtKeyword"==o.name)return{from:o.from,options:_,validFor:x};if(!t.explicit)return null;let a=o.resolve(r),s=a.childBefore(r);return s&&":"==s.name&&"PseudoClassSelector"==a.name?{from:r,options:O,validFor:x}:s&&":"==s.name&&"Declaration"==a.name||"ArgList"==a.name?{from:r,options:b,validFor:x}:"Block"==a.name||"Styles"==a.name?{from:r,options:y(),validFor:x}:null})((e=>"VariableName"==e.name)),E=g.bj.define({name:"css",parser:m.configure({props:[g.Oh.add({Declaration:(0,g.mz)()}),g.b_.add({"Block KeyframeList":g.yd})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function P(){return new g.Yy(E,E.data.of({autocomplete:T}))}},6666:function(e,t,n){"use strict";var r=n(98026),o=n(43870),i=n(12616),a=n(30693),s=n(48170),l=n(34833),c=n(49431),u=n(87582),d=n(43199),f=s.$r(),h=(0,u.A)(),p=function(){function e(){this.group=new o.A,this.uid=i.$Q("viewChart"),this.renderTask=(0,c.U)({plan:A,reset:v}),this.renderTask.context={view:this}}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){},e.prototype.highlight=function(e,t,n,r){var o=e.getData(r&&r.dataType);o&&g(o,r,"emphasis")},e.prototype.downplay=function(e,t,n,r){var o=e.getData(r&&r.dataType);o&&g(o,r,"normal")},e.prototype.remove=function(e,t){this.group.removeAll()},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateLayout=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateVisual=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.eachRendered=function(e){(0,d.traverseElements)(this.group,e)},e.markUpdateMethod=function(e,t){f(e).updateMethod=t},e.protoInitialize=void(e.prototype.type="chart"),e}();function m(e,t,n){e&&(0,l.u6)(e)&&("emphasis"===t?l.HY:l.SD)(e,n)}function g(e,t,n){var o=s.le(e,t),i=t&&null!=t.highlightKey?(0,l._n)(t.highlightKey):null;null!=o?(0,r.each)(s.qB(o),(function(t){m(e.getItemGraphicEl(t),n,i)})):e.eachItemGraphicEl((function(e){m(e,n,i)}))}function A(e){return h(e.model)}function v(e){var t=e.model,n=e.ecModel,r=e.api,o=e.payload,i=t.pipelineContext.progressiveRender,a=e.view,s=o&&f(o).updateMethod,l=i?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](t,n,r,o),y[l]}a.gq(p,["dispose"]),a.tQ(p);var y={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};t.A=p},6756:function(e,t,n){"use strict";n.d(t,{a:function(){return Y}});var r=n(98026),o=n(62536),i=n(37959),a=n(15215),s=n(98908),l=n(40446),c=n(12616),u=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,a.C6)(t,e),t.prototype.getInitialData=function(){return(0,l.A)(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},t.prototype.brushSelector=function(e,t,n){return n.rect(t.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=(0,c.G_)(s.A.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(s.A),d=u,f=n(5070),h=n(43870),p=n(43199),m=n(5638),g=n(10992),A=n(59975),v=n(69622),y=n(34833),O=n(89632),b=n(24711),w=n(95235),_=n(84618),x=n(6666),S=n(41849),k=n(44532),C=n(45558);function B(e,t,n){return t*Math.sin(e)*(n?-1:1)}function Q(e,t,n){return t*Math.cos(e)*(n?1:-1)}var T=n(79446),E=Math.max,P=Math.min,$=function(e){function t(){var n=e.call(this)||this;return n.type=t.type,n._isFirstFrame=!0,n}return(0,a.C6)(t,e),t.prototype.render=function(e,t,n,r){this._model=e,this._removeOnRenderedListener(n),this._updateDrawMode(e);var o=e.get("coordinateSystem");("cartesian2d"===o||"polar"===o)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n,r))},t.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},t.prototype.incrementalRender=function(e,t){this._progressiveEls=[],this._incrementalRenderLarge(e,t)},t.prototype.eachRendered=function(e){(0,p.traverseElements)(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e,t,n,r){var o,i=this.group,a=e.getData(),s=this._data,l=e.coordinateSystem,c=l.getBaseAxis();"cartesian2d"===l.type?o=c.isHorizontal():"polar"===l.type&&(o="angle"===c.dim);var u=e.isAnimationEnabled()?e:null,d=function(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();if(n&&"category"===r.type&&"cartesian2d"===t.type)return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}(e,l);d&&this._enableRealtimeSort(d,a,n);var f=e.get("clip",!0)||d,p=function(e,t){var n=e.getArea&&e.getArea();if((0,S.g)(e,"cartesian2d")){var r=e.getBaseAxis();if("category"!==r.type||!r.onBand){var o=t.getLayout("bandWidth");r.isHorizontal()?(n.x-=o,n.width+=2*o):(n.y-=o,n.height+=2*o)}}return n}(l,a);i.removeClipPath();var v=e.get("roundCap",!0),y=e.get("showBackground",!0),b=e.getModel("backgroundStyle"),w=b.get("borderRadius")||0,_=[],x=this._backgroundEls,k=r&&r.isInitSort,C=r&&"changeAxisOrder"===r.type;function B(e){var t=V[l.type](a,e),n=function(e,t,n){return new("polar"===e.type?A.A:g.A)({shape:q(t,n,e),silent:!0,z2:0})}(l,o,t);return n.useStyle(b.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",w):n.setShape("cornerRadius",w),_[e]=n,n}a.diff(s).add((function(t){var n=a.getItemModel(t),r=V[l.type](a,t,n);if(y&&B(t),a.hasValue(t)&&L[l.type](r)){var s=!1;f&&(s=M[l.type](p,r));var h=z[l.type](e,a,t,r,o,u,c.model,!1,v);d&&(h.forceLabelAnimation=!0),F(h,a,t,n,r,e,o,"polar"===l.type),k?h.attr({shape:r}):d?R(d,u,h,r,t,o,!1,!1):(0,m.LW)(h,{shape:r},e,t),a.setItemGraphicEl(t,h),i.add(h),h.ignore=s}})).update((function(t,n){var r=a.getItemModel(t),h=V[l.type](a,t,r);if(y){var g=void 0;0===x.length?g=B(n):((g=x[n]).useStyle(b.getItemStyle()),"cartesian2d"===l.type?g.setShape("r",w):g.setShape("cornerRadius",w),_[t]=g);var A=V[l.type](a,t),S=q(o,A,l);(0,m.oi)(g,{shape:S},u,t)}var Q=s.getItemGraphicEl(n);if(a.hasValue(t)&&L[l.type](h)){var T=!1;if(f&&(T=M[l.type](p,h))&&i.remove(Q),Q?(0,m.ap)(Q):Q=z[l.type](e,a,t,h,o,u,c.model,!!Q,v),d&&(Q.forceLabelAnimation=!0),C){var E=Q.getTextContent();if(E){var P=(0,O.Lu)(E);null!=P.prevValue&&(P.prevValue=P.value)}}else F(Q,a,t,r,h,e,o,"polar"===l.type);k?Q.attr({shape:h}):d?R(d,u,Q,h,t,o,!0,C):(0,m.oi)(Q,{shape:h},e,t,null),a.setItemGraphicEl(t,Q),Q.ignore=T,i.add(Q)}else i.remove(Q)})).remove((function(t){var n=s.getItemGraphicEl(t);n&&(0,m.t5)(n,e,t)})).execute();var Q=this._backgroundGroup||(this._backgroundGroup=new h.A);Q.removeAll();for(var T=0;T<_.length;++T)Q.add(_[T]);i.add(Q),this._backgroundEls=_,this._data=a},t.prototype._renderLarge=function(e,t,n){this._clear(),X(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,t){this._removeBackground(),X(t,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(e){var t=e.get("clip",!0)&&(0,w.Ip)(e.coordinateSystem,!1,e),n=this.group;t?n.setClipPath(t):n.removeClipPath()},t.prototype._enableRealtimeSort=function(e,t,n){var r=this;if(t.count()){var o=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(t,e,n),this._isFirstFrame=!1;else{var i=function(e){var n=t.getItemGraphicEl(e),r=n&&n.shape;return r&&Math.abs(o.isHorizontal()?r.height:r.width)||0};this._onRendered=function(){r._updateSortWithinSameData(t,i,o,n)},n.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,t,n){var o=[];return e.each(e.mapDimension(t.dim),(function(e,t){var r=n(t);r=null==r?NaN:r,o.push({dataIndex:t,mappedValue:r,ordinalNumber:e})})),o.sort((function(e,t){return t.mappedValue-e.mappedValue})),{ordinalNumbers:(0,r.map)(o,(function(e){return e.ordinalNumber}))}},t.prototype._isOrderChangedWithinSameData=function(e,t,n){for(var r=n.scale,o=e.mapDimension(n.dim),i=Number.MAX_VALUE,a=0,s=r.getOrdinalMeta().categories.length;a<s;++a){var l=e.rawIndexOf(o,r.getRawOrdinalNumber(a)),c=l<0?Number.MIN_VALUE:t(e.indexOfRawIndex(l));if(c>i)return!0;i=c}return!1},t.prototype._isOrderDifferentInView=function(e,t){for(var n=t.scale,r=n.getExtent(),o=Math.max(0,r[0]),i=Math.min(r[1],n.getOrdinalMeta().categories.length-1);o<=i;++o)if(e.ordinalNumbers[o]!==n.getRawOrdinalNumber(o))return!0},t.prototype._updateSortWithinSameData=function(e,t,n,r){if(this._isOrderChangedWithinSameData(e,t,n)){var o=this._dataSort(e,n,t);this._isOrderDifferentInView(o,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:o}))}},t.prototype._dispatchInitSort=function(e,t,n){var r=t.baseAxis,o=this._dataSort(e,r,(function(n){return e.get(e.mapDimension(t.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:o})},t.prototype.remove=function(e,t){this._clear(this._model),this._removeOnRenderedListener(t)},t.prototype.dispose=function(e,t){this._removeOnRenderedListener(t)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var t=this.group,n=this._data;e&&e.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(t){(0,m.t5)(t,e,(0,v.z)(t).dataIndex)}))):t.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(x.A),M={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var o=e.x+e.width,i=e.y+e.height,a=E(t.x,e.x),s=P(t.x+t.width,o),l=E(t.y,e.y),c=P(t.y+t.height,i),u=s<a,d=c<l;return t.x=u&&a>o?s:a,t.y=d&&l>i?c:l,t.width=u?0:s-a,t.height=d?0:c-l,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),u||d},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var o=P(t.r,e.r),i=E(t.r0,e.r0);t.r=o,t.r0=i;var a=o-i<0;return n<0&&(r=t.r,t.r=t.r0,t.r0=r),a}},z={cartesian2d:function(e,t,n,o,i,a,s,l,c){var u=new g.A({shape:(0,r.extend)({},o),z2:1});return u.__dataIndex=n,u.name="item",a&&(u.shape[i?"height":"width"]=0),u},polar:function(e,t,n,r,o,i,a,s,l){var c=!o&&l?_.A:A.A,u=new c({shape:r,z2:1});u.name="item";var d,f,h,p=U(o);if(u.calculateTextPosition=(d=p,f={isRoundCap:c===_.A},h=(f=f||{}).isRoundCap,function(e,t,n){var r=t.position;if(!r||r instanceof Array)return(0,C.X4)(e,t,n);var o=d(r),i=null!=t.distance?t.distance:5,a=this.shape,s=a.cx,l=a.cy,c=a.r,u=a.r0,f=(c+u)/2,p=a.startAngle,m=a.endAngle,g=(p+m)/2,A=h?Math.abs(c-u)/2:0,v=Math.cos,y=Math.sin,O=s+c*v(p),b=l+c*y(p),w="left",_="top";switch(o){case"startArc":O=s+(u-i)*v(g),b=l+(u-i)*y(g),w="center",_="top";break;case"insideStartArc":O=s+(u+i)*v(g),b=l+(u+i)*y(g),w="center",_="bottom";break;case"startAngle":O=s+f*v(p)+B(p,i+A,!1),b=l+f*y(p)+Q(p,i+A,!1),w="right",_="middle";break;case"insideStartAngle":O=s+f*v(p)+B(p,-i+A,!1),b=l+f*y(p)+Q(p,-i+A,!1),w="left",_="middle";break;case"middle":O=s+f*v(g),b=l+f*y(g),w="center",_="middle";break;case"endArc":O=s+(c+i)*v(g),b=l+(c+i)*y(g),w="center",_="bottom";break;case"insideEndArc":O=s+(c-i)*v(g),b=l+(c-i)*y(g),w="center",_="top";break;case"endAngle":O=s+f*v(m)+B(m,i+A,!0),b=l+f*y(m)+Q(m,i+A,!0),w="left",_="middle";break;case"insideEndAngle":O=s+f*v(m)+B(m,-i+A,!0),b=l+f*y(m)+Q(m,-i+A,!0),w="right",_="middle";break;default:return(0,C.X4)(e,t,n)}return(e=e||{}).x=O,e.y=b,e.align=w,e.verticalAlign=_,e}),i){var g=o?"r":"endAngle",v={};u.shape[g]=o?r.r0:r.startAngle,v[g]=r[g],(s?m.oi:m.LW)(u,{shape:v},i)}return u}};function R(e,t,n,r,o,i,a,s){var l,c;i?(c={x:r.x,width:r.width},l={y:r.y,height:r.height}):(c={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(a?m.oi:m.LW)(n,{shape:l},t,o,null);var u=t?e.baseAxis.model:null;(a?m.oi:m.LW)(n,{shape:c},u,o)}function D(e,t){for(var n=0;n<t.length;n++)if(!isFinite(e[t[n]]))return!0;return!1}var I=["x","y","width","height"],N=["cx","cy","r","startAngle","endAngle"],L={cartesian2d:function(e){return!D(e,I)},polar:function(e){return!D(e,N)}},V={cartesian2d:function(e,t,n){var r=e.getItemLayout(t),o=n?function(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var r=e.get(["itemStyle","borderWidth"])||0,o=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),i=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,o,i)}(n,r):0,i=r.width>0?1:-1,a=r.height>0?1:-1;return{x:r.x+i*o/2,y:r.y+a*o/2,width:r.width-i*o,height:r.height-a*o}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function U(e){return function(e){var t=e?"Arc":"Angle";return function(e){switch(e){case"start":case"insideStart":case"end":case"insideEnd":return e+t;default:return e}}}(e)}function F(e,t,n,o,i,a,s,l){var c=t.getItemVisual(n,"style");if(l){if(!a.get("roundCap")){var u=e.shape,d=(0,T.i)(o.getModel("itemStyle"),u,!0);(0,r.extend)(u,d),e.setShape(u)}}else{var f=o.get(["itemStyle","borderRadius"])||0;e.setShape("r",f)}e.useStyle(c);var h=o.getShallow("cursor");h&&e.attr("cursor",h);var p=l?s?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":s?i.height>=0?"bottom":"top":i.width>=0?"right":"left",m=(0,O.lx)(o);(0,O.qM)(e,m,{labelFetcher:a,labelDataIndex:n,defaultText:(0,k.i)(a.getData(),n),inheritColor:c.fill,defaultOpacity:c.opacity,defaultOutsidePosition:p});var g=e.getTextContent();if(l&&g){var A=o.get(["label","position"]);e.textConfig.inside="middle"===A||null,function(e,t,n,o){if((0,r.isNumber)(o))e.setTextConfig({rotation:o});else if((0,r.isArray)(t))e.setTextConfig({rotation:0});else{var i,a=e.shape,s=a.clockwise?a.startAngle:a.endAngle,l=a.clockwise?a.endAngle:a.startAngle,c=(s+l)/2,u=n(t);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":i=c;break;case"startAngle":case"insideStartAngle":i=s;break;case"endAngle":case"insideEndAngle":i=l;break;default:return void e.setTextConfig({rotation:0})}var d=1.5*Math.PI-i;"middle"===u&&d>Math.PI/2&&d<1.5*Math.PI&&(d-=Math.PI),e.setTextConfig({rotation:d})}}(e,"outside"===A?p:A,U(s),o.get(["label","rotate"]))}(0,O.Oh)(g,m,a.getRawValue(n),(function(e){return(0,k.T)(t,e)}));var v=o.getModel(["emphasis"]);(0,y.Lm)(e,v.get("focus"),v.get("blurScope"),v.get("disabled")),(0,y.Mx)(e,o),function(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}(i)&&(e.style.fill="none",e.style.stroke="none",(0,r.each)(e.states,(function(e){e.style&&(e.style.fill=e.style.stroke="none")})))}var H=function(){},W=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeBar",n}return(0,a.C6)(t,e),t.prototype.getDefaultShape=function(){return new H},t.prototype.buildPath=function(e,t){for(var n=t.points,r=this.baseDimIdx,o=1-this.baseDimIdx,i=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[r]=s,a[o]=n[l+2],i[r]=n[l+r],i[o]=n[l+o],e.rect(i[0],i[1],a[0],a[1])},t}(f.Ay);function X(e,t,n,r){var o=e.getData(),i=o.getLayout("valueAxisHorizontal")?1:0,a=o.getLayout("largeDataIndices"),s=o.getLayout("size"),l=e.getModel("backgroundStyle"),c=o.getLayout("largeBackgroundPoints");if(c){var u=new W({shape:{points:c},incremental:!!r,silent:!0,z2:0});u.baseDimIdx=i,u.largeDataIndices=a,u.barWidth=s,u.useStyle(l.getItemStyle()),t.add(u),n&&n.push(u)}var d=new W({shape:{points:o.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});d.baseDimIdx=i,d.largeDataIndices=a,d.barWidth=s,t.add(d),d.useStyle(o.getVisual("style")),d.style.stroke=null,(0,v.z)(d).seriesIndex=e.seriesIndex,e.get("silent")||(d.on("mousedown",j),d.on("mousemove",j)),n&&n.push(d)}var j=(0,b.nF)((function(e){var t=function(e,t,n){for(var r=e.baseDimIdx,o=1-r,i=e.shape.points,a=e.largeDataIndices,s=[],l=[],c=e.barWidth,u=0,d=i.length/3;u<d;u++){var f=3*u;if(l[r]=c,l[o]=i[f+2],s[r]=i[f+r],s[o]=i[f+o],l[o]<0&&(s[o]+=l[o],l[o]=-l[o]),t>=s[0]&&t<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[u]}return-1}(this,e.offsetX,e.offsetY);(0,v.z)(this).dataIndex=t>=0?t:null}),30,!1);function q(e,t,n){if((0,S.g)(n,"cartesian2d")){var r=t,o=n.getArea();return{x:e?r.x:o.x,y:e?o.y:r.y,width:e?r.width:o.width,height:e?o.height:r.height}}var i=t;return{cx:(o=n.getArea()).cx,cy:o.cy,r0:e?o.r0:i.r0,r:e?o.r:i.r,startAngle:e?i.startAngle:0,endAngle:e?i.endAngle:2*Math.PI}}var Z=$;function Y(e){e.registerChartView(Z),e.registerSeriesModel(d),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,r.curry(o.Zp,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,(0,o.KF)("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(0,i.A)("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){e.sortInfo&&t.axis.setCategorySortInfo(e.sortInfo)}))}))}},6980:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7040:function(e,t,n){"use strict";var r=n(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7442:function(e,t,n){"use strict";n.d(t,{S:function(){return i},a:function(){return a}});var r=n(98026),o=(0,r.createHashMap)();function i(e,t){(0,r.assert)(null==o.get(e)&&t),o.set(e,t)}function a(e,t,n){var r=o.get(t);if(!r)return n;var i=r(e);return i?n.concat(i):n}},7586:function(e,t,n){var r=n(43271),o=n(1968);e.exports=function(e,t){return r(e,t,o)}},7588:function(e,t,n){"use strict";var r=n(46518),o=n(72652),i=n(79306),a=n(28551),s=n(1767);r({target:"Iterator",proto:!0,real:!0},{forEach:function(e){a(this),i(e);var t=s(this),n=0;o(t,(function(t){e(t,n++)}),{IS_RECORD:!0})}})},7828:function(e,t,n){n(83393)},7847:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(e){return function(t){return r=typeof(n=t),(null===n?"null":"object"===r&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"===r&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":r)===e;var n,r}},n=t("string"),r=t("array"),o=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),i=tinymce.util.Tools.resolve("tinymce.EditorManager"),a=tinymce.util.Tools.resolve("tinymce.Env"),s=tinymce.util.Tools.resolve("tinymce.util.Tools"),l=function(e){return e.getParam("importcss_selector_converter")},c=function(e){return e.getParam("importcss_append")},u=Array.prototype.push,d=/^\.(?:ephox|tiny-pageembed|mce)(?:[.-]+\w+)+$/,f=function(e){return n(e)?function(t){return-1!==t.indexOf(e)}:e instanceof RegExp?function(t){return e.test(t)}:e},h=function(e,t){var n,r=/^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(t);if(r){var o=r[1],i=r[2].substr(1).split(".").join(" "),a=s.makeMap("a,img");return r[1]?(n={title:t},e.schema.getTextBlockElements()[o]?n.block=o:e.schema.getBlockElements()[o]||a[o.toLowerCase()]?n.selector=o:n.inline=o):r[2]&&(n={inline:"span",title:t.substr(1),classes:i}),!1!==function(e){return e.getParam("importcss_merge_classes")}(e)?n.classes=i:n.attributes={class:i},n}},p=function(e,t){return null===t||!1!==function(e){return e.getParam("importcss_exclusive")}(e)},m=function(e){e.on("init",(function(){var t=function(){var e=[],t=[],n={};return{addItemToGroup:function(e,r){n[e]?n[e].push(r):(t.push(e),n[e]=[r])},addItem:function(t){e.push(t)},toFormats:function(){return(o=t,i=function(e){var t=n[e];return 0===t.length?[]:[{title:e,items:t}]},function(e){for(var t=[],n=0,o=e.length;n<o;++n){if(!r(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);u.apply(t,e[n])}return t}(function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r}(o,i))).concat(e);var o,i}}}(),m={},g=f(function(e){return e.getParam("importcss_selector_filter")}(e)),A=function(e){return s.map(e,(function(e){return s.extend({},e,{original:e,selectors:{},filter:f(e.filter)})}))}(function(e){return e.getParam("importcss_groups")}(e)),v=function(t,n){if(function(e,t,n,r){return!(p(e,n)?t in r:t in n.selectors)}(e,t,n,m)){!function(e,t,n,r){p(e,n)?r[t]=!0:n.selectors[t]=!0}(e,t,n,m);var r=function(e,t,n,r){return(r&&r.selector_converter?r.selector_converter:l(e)?l(e):function(){return h(e,n)}).call(t,n,r)}(e,e.plugins.importcss,t,n);if(r){var i=r.name||o.DOM.uniqueId();return e.formatter.register(i,r),{title:r.title,format:i}}}return null};s.each(function(e,t,r){var o=[],l={},c=function(t,l){var u,d,f,h=t.href;if(d=h,f=a.cacheSuffix,n(d)&&(d=d.replace("?"+f,"").replace("&"+f,"")),(h=d)&&r(h,l)&&!function(e,t){var n=function(e){var t=e.getParam("skin");return!1!==t&&(t||"oxide")}(e);if(n){var r=function(e){return e.getParam("skin_url")}(e),o=r?e.documentBaseURI.toAbsolute(r):i.baseURL+"/skins/ui/"+n,a=i.baseURL+"/skins/content/";return t===o+"/content"+(e.inline?".inline":"")+".min.css"||-1!==t.indexOf(a)}return!1}(e,h)){s.each(t.imports,(function(e){c(e,!0)}));try{u=t.cssRules||t.rules}catch(e){}s.each(u,(function(e){e.styleSheet?c(e.styleSheet,!0):e.selectorText&&s.each(e.selectorText.split(","),(function(e){o.push(s.trim(e))}))}))}};s.each(e.contentCSS,(function(e){l[e]=!0})),r||(r=function(e,t){return t||l[e]});try{s.each(t.styleSheets,(function(e){c(e)}))}catch(e){}return o}(e,e.getDoc(),f(function(e){return e.getParam("importcss_file_filter")}(e))),(function(e){if(!d.test(e)&&(!g||g(e))){var n=function(e,t){return s.grep(e,(function(e){return!e.filter||e.filter(t)}))}(A,e);if(n.length>0)s.each(n,(function(n){var r=v(e,n);r&&t.addItemToGroup(n.title,r)}));else{var r=v(e,null);r&&t.addItem(r)}}}));var y=t.toFormats();e.fire("addStyleModifications",{items:y,replace:!c(e)})}))};e.add("importcss",(function(e){return m(e),function(e){return{convertSelectorToFormat:function(t){return h(e,t)}}}(e)}))}()},8022:function(e,t,n){n(64715)},8127:function(e,t,n){"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g&&n.g,e.exports=function(){"use strict";var e,t="3.7.7",n=t,r="function"==typeof Buffer,o="function"==typeof TextDecoder?new TextDecoder:void 0,i="function"==typeof TextEncoder?new TextEncoder:void 0,a=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),s=(e={},a.forEach((function(t,n){return e[t]=n})),e),l=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,c=String.fromCharCode.bind(String),u="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):function(e){return new Uint8Array(Array.prototype.slice.call(e,0))},d=function(e){return e.replace(/=/g,"").replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"}))},f=function(e){return e.replace(/[^A-Za-z0-9\+\/]/g,"")},h=function(e){for(var t,n,r,o,i="",s=e.length%3,l=0;l<e.length;){if((n=e.charCodeAt(l++))>255||(r=e.charCodeAt(l++))>255||(o=e.charCodeAt(l++))>255)throw new TypeError("invalid character found");i+=a[(t=n<<16|r<<8|o)>>18&63]+a[t>>12&63]+a[t>>6&63]+a[63&t]}return s?i.slice(0,s-3)+"===".substring(s):i},p="function"==typeof btoa?function(e){return btoa(e)}:r?function(e){return Buffer.from(e,"binary").toString("base64")}:h,m=r?function(e){return Buffer.from(e).toString("base64")}:function(e){for(var t=[],n=0,r=e.length;n<r;n+=4096)t.push(c.apply(null,e.subarray(n,n+4096)));return p(t.join(""))},g=function(e,t){return void 0===t&&(t=!1),t?d(m(e)):m(e)},A=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?c(192|t>>>6)+c(128|63&t):c(224|t>>>12&15)+c(128|t>>>6&63)+c(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return c(240|t>>>18&7)+c(128|t>>>12&63)+c(128|t>>>6&63)+c(128|63&t)},v=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,y=function(e){return e.replace(v,A)},O=r?function(e){return Buffer.from(e,"utf8").toString("base64")}:i?function(e){return m(i.encode(e))}:function(e){return p(y(e))},b=function(e,t){return void 0===t&&(t=!1),t?d(O(e)):O(e)},w=function(e){return b(e,!0)},_=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,x=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return c(55296+(t>>>10))+c(56320+(1023&t));case 3:return c((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return c((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},S=function(e){return e.replace(_,x)},k=function(e){if(e=e.replace(/\s+/g,""),!l.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));for(var t,n,r,o="",i=0;i<e.length;)t=s[e.charAt(i++)]<<18|s[e.charAt(i++)]<<12|(n=s[e.charAt(i++)])<<6|(r=s[e.charAt(i++)]),o+=64===n?c(t>>16&255):64===r?c(t>>16&255,t>>8&255):c(t>>16&255,t>>8&255,255&t);return o},C="function"==typeof atob?function(e){return atob(f(e))}:r?function(e){return Buffer.from(e,"base64").toString("binary")}:k,B=r?function(e){return u(Buffer.from(e,"base64"))}:function(e){return u(C(e).split("").map((function(e){return e.charCodeAt(0)})))},Q=function(e){return B(E(e))},T=r?function(e){return Buffer.from(e,"base64").toString("utf8")}:o?function(e){return o.decode(B(e))}:function(e){return S(C(e))},E=function(e){return f(e.replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})))},P=function(e){return T(E(e))},$=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}},M=function(){var e=function(e,t){return Object.defineProperty(String.prototype,e,$(t))};e("fromBase64",(function(){return P(this)})),e("toBase64",(function(e){return b(this,e)})),e("toBase64URI",(function(){return b(this,!0)})),e("toBase64URL",(function(){return b(this,!0)})),e("toUint8Array",(function(){return Q(this)}))},z=function(){var e=function(e,t){return Object.defineProperty(Uint8Array.prototype,e,$(t))};e("toBase64",(function(e){return g(this,e)})),e("toBase64URI",(function(){return g(this,!0)})),e("toBase64URL",(function(){return g(this,!0)}))},R={version:t,VERSION:n,atob:C,atobPolyfill:k,btoa:p,btoaPolyfill:h,fromBase64:P,toBase64:b,encode:b,encodeURI:w,encodeURL:w,utob:y,btou:S,decode:P,isValid:function(e){if("string"!=typeof e)return!1;var t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},fromUint8Array:g,toUint8Array:Q,extendString:M,extendUint8Array:z,extendBuiltins:function(){M(),z()},Base64:{}};return Object.keys(R).forEach((function(e){return R.Base64[e]=R[e]})),R}()},8134:function(e){e.exports=function(){"use strict";var e="week",t="year";return function(n,r,o){var i=r.prototype;i.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var i=o(this).startOf(t).add(1,t).date(r),a=o(this).endOf(e);if(i.isBefore(a))return 1}var s=o(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),l=this.diff(s,e,!0);return l<0?o(this).startOf("week").week():Math.ceil(l)},i.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()},8317:function(e,t,n){"use strict";n.d(t,{J:function(){return a},m:function(){return o}});var r=n(32944),o=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],i=(0,r.A)(o),a=function(){function e(){}return e.prototype.getLineStyle=function(e){return i(this,e)},e}()},8557:function(e,t,n){var r=n(21323),o=n(99361),i=n(88827),a=n(50281),s=n(53876),l=n(35224);e.exports=function(e){return e=s(e),l(e)?Math.floor((i(e)-i(a(e,0,o)))/r)+1:NaN}},8906:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}}()},8957:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(98026),o="undefined"!=typeof Float32Array,i=o?Float32Array:Array;function a(e){return(0,r.isArray)(e)?o?new Float32Array(e):e:new i(e)}},9310:function(e,t,n){var r=n(73971),o=typeof WeakSet!==r;e.exports=function(e){return o&&e instanceof WeakSet}},9427:function(e,t,n){"use strict";n.d(t,{J:function(){return s},L:function(){return l}});var r=n(98026),o=n(58267),i=n(83412),a=/\{@(.+?)\}/g,s=function(){function e(){}return e.prototype.getDataParams=function(e,t){var n=this.getData(t),r=this.getRawValue(e,t),o=n.getRawIndex(e),i=n.getName(e),a=n.getRawDataItem(e),s=n.getItemVisual(e,"style"),l=s&&s[n.getItemVisual(e,"drawType")||"fill"],c=s&&s.stroke,u=this.mainType,d="series"===u,f=n.userOutput&&n.userOutput.get();return{componentType:u,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:i,dataIndex:o,data:a,dataType:t,value:r,color:l,borderColor:c,dimensionNames:f?f.fullDimensions:null,encode:f?f.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(e,t,n,s,l,c){t=t||"normal";var u=this.getData(n),d=this.getDataParams(e,n);return c&&(d.value=c.interpolatedValue),null!=s&&r.isArray(d.value)&&(d.value=d.value[s]),l||(l=u.getItemModel(e).get("normal"===t?["label","formatter"]:[t,"label","formatter"])),r.isFunction(l)?(d.status=t,d.dimensionIndex=s,l(d)):r.isString(l)?(0,i.YK)(l,d).replace(a,(function(t,n){var i=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(i-1)&&(a=+a.slice(1,i-1));var s=(0,o.QE)(u,e,a);if(c&&r.isArray(c.interpolatedValue)){var l=u.getDimensionIndex(a);l>=0&&(s=c.interpolatedValue[l])}return null!=s?s+"":""})):void 0},e.prototype.getRawValue=function(e,t){return(0,o.QE)(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,n){},e}();function l(e){var t,n;return r.isObject(e)?e.type&&(n=e):t=e,{text:t,frag:n}}},9539:function(e,t,n){"use strict";var r=n(69565),o=n(28551),i=n(55966);e.exports=function(e,t,n){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return o(a),n}},9914:function(e,t,n){"use strict";n.d(t,{_0:function(){return he.A},OZ:function(){return h.A},jT:function(){return u.A},bR:function(){return d.A},B8:function(){return p.A},Kx:function(){return x.A},FQ:function(){return c.FQ},rP:function(){return f.A},yW:function(){return y},Ng:function(){return c.Ng},p5:function(){return c.p5},El:function(){return c.El},zm:function(){return c.zm},Zf:function(){return c.Zf},AS:function(){return c.AS},_K:function(){return fe.A},yX:function(){return ve},rt:function(){return me},NO:function(){return ge},NA:function(){return Ae},GP:function(){return s},Bo:function(){return c.Bo},FP:function(){return c.FP},aQ:function(){return c.aQ},ZB:function(){return c.ZB},fA:function(){return a},dw:function(){return r},Ts:function(){return c.Ts},UU:function(){return pe.Xi},UP:function(){return g},ai:function(){return o},l3:function(){return N.A},zI:function(){return N.A},OH:function(){return c.OH},pX:function(){return c.pX},Oh:function(){return c.Oh},Ej:function(){return c.Ej},E:function(){return c.E},mz:function(){return c.mz},cf:function(){return c.cf},tb:function(){return c.tb},lP:function(){return c.lP},qg:function(){return c.qg},bf:function(){return c.bf},iY:function(){return c.iY},xV:function(){return c.xV},AF:function(){return c.AF},vV:function(){return c.vV},Gs:function(){return I.Gs},nF:function(){return O.nF},kB:function(){return i},Yx:function(){return D.Y},ZS:function(){return l},i1:function(){return A},rE:function(){return c.rE},F_:function(){return v},nd:function(){return m}});var r={};n.r(r),n.d(r,{createDimensions:function(){return Q.M},createList:function(){return P},createScale:function(){return M},createSymbol:function(){return T.v5},createTextStyle:function(){return R},dataStack:function(){return $},enableHoverEmphasis:function(){return E.iJ},getECData:function(){return C.z},getLayoutRect:function(){return S.dV},mixinAxisModelCommonMethods:function(){return z}});var o={};n.r(o),n.d(o,{MAX_SAFE_INTEGER:function(){return L.Is},asc:function(){return L.Y6},getPercentWithPrecision:function(){return L.wp},getPixelPrecision:function(){return L.hb},getPrecision:function(){return L.XV},getPrecisionSafe:function(){return L.y6},isNumeric:function(){return L.kf},isRadianAroundZero:function(){return L.dh},linearMap:function(){return L.Cb},nice:function(){return L.Cm},numericToNumber:function(){return L.Sm},parseDate:function(){return L._U},quantile:function(){return L.YV},quantity:function(){return L.au},quantityExponent:function(){return L.NX},reformIntervals:function(){return L.sL},remRadian:function(){return L._7},round:function(){return L.LI}});var i={};n.r(i),n.d(i,{format:function(){return V.GP},parse:function(){return L._U}});var a={};n.r(a),n.d(a,{Arc:function(){return ne.A},BezierCurve:function(){return te.A},BoundingRect:function(){return se.A},Circle:function(){return j.A},CompoundPath:function(){return oe.A},Ellipse:function(){return q.A},Group:function(){return H.A},Image:function(){return W.Ay},IncrementalDisplayable:function(){return re.A},Line:function(){return ee.A},LinearGradient:function(){return ie.A},Polygon:function(){return G.A},Polyline:function(){return K.A},RadialGradient:function(){return ae.A},Rect:function(){return J.A},Ring:function(){return Y.A},Sector:function(){return Z.A},Text:function(){return X.Ay},clipPointsByRect:function(){return U.clipPointsByRect},clipRectByRect:function(){return U.clipRectByRect},createIcon:function(){return U.createIcon},extendPath:function(){return U.extendPath},extendShape:function(){return U.extendShape},getShapeClass:function(){return U.getShapeClass},getTransform:function(){return U.getTransform},initProps:function(){return F.LW},makeImage:function(){return U.makeImage},makePath:function(){return U.makePath},mergePath:function(){return U.mergePath},registerShape:function(){return U.registerShape},resizePath:function(){return U.resizePath},updateProps:function(){return F.oi}});var s={};n.r(s),n.d(s,{addCommas:function(){return le.ob},capitalFirst:function(){return le.x5},encodeHTML:function(){return ce.Me},formatTime:function(){return le.fU},formatTpl:function(){return le.YK},getTextRect:function(){return de},getTooltipMarker:function(){return le.qg},normalizeCssArray:function(){return le.QX},toCamelCase:function(){return le.Cb},truncateText:function(){return ue.EJ}});var l={};n.r(l),n.d(l,{bind:function(){return v.bind},clone:function(){return v.clone},curry:function(){return v.curry},defaults:function(){return v.defaults},each:function(){return v.each},extend:function(){return v.extend},filter:function(){return v.filter},indexOf:function(){return v.indexOf},inherits:function(){return v.inherits},isArray:function(){return v.isArray},isFunction:function(){return v.isFunction},isObject:function(){return v.isObject},isString:function(){return v.isString},map:function(){return v.map},merge:function(){return v.merge},reduce:function(){return v.reduce}});var c=n(23421),u=n(15915),d=n(59109),f=n(47355),h=n(6666),p=n(6006),m=n(23442),g=n(45587),A=n(83509),v=n(98026),y=n(47698),O=n(24711),b=n(40446),w=n(50626),_=n(12462),x=n(5202),S=n(34253),k=n(65008),C=n(69622),B=n(89632),Q=n(97351),T=n(62103),E=n(34833);function P(e){return(0,b.A)(null,e)}var $={isDimensionStacked:k.sJ,enableDataStack:k.iJ,getStackedDimension:k.me};function M(e,t){var n=t;t instanceof x.A||(n=new x.A(t));var r=w.f$(n);return r.setExtent(e[0],e[1]),w.af(r,n),r}function z(e){v.mixin(e,_.L)}function R(e,t){return t=t||{},(0,B.VB)(e,null,null,"normal"!==t.state)}var D=n(3087),I=n(59741),N=n(69718),L=n(24326),V=n(55854),U=n(43199),F=n(5638),H=n(43870),W=n(90540),X=n(32322),j=n(31571),q=n(18393),Z=n(59975),Y=n(42933),G=n(52505),K=n(39195),J=n(10992),ee=n(82861),te=n(53849),ne=n(43471),re=n(2995),oe=n(82591),ie=n(29668),ae=n(82250),se=n(29308),le=n(83412),ce=n(44265),ue=n(62406);function de(e,t,n,r,o,i,a,s){return new X.Ay({style:{text:e,font:t,align:n,verticalAlign:r,padding:o,rich:i,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}var fe=n(38123),he=n(33423),pe=n(29571);function me(e){var t=u.A.extend(e);return u.A.registerClass(t),t}function ge(e){var t=d.A.extend(e);return d.A.registerClass(t),t}function Ae(e){var t=f.A.extend(e);return f.A.registerClass(t),t}function ve(e){var t=h.A.extend(e);return h.A.registerClass(t),t}var ye=n(77037);(0,D.Y)(ye._)},9915:function(e){e.exports=function(e,t,n){var r,o,i=[],a=arguments;if(a.length<2&&(t=a[0],e=0),o=0|t,(r=0|e)<t)for(n=0|n||1;r<o;r+=n)i.push(r);return i}},10022:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(64670);const o=(0,n(50819).b_)({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),i=e=>(0,r.A)(o,e)},10128:function(e,t,n){"use strict";var r=n(15215),o=n(62103),i=n(5638),a=n(43870),s=n(69622),l=n(34833),c=n(44532),u=n(98026),d=n(89632),f=n(90540),h=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.updateData(t,n,r,o),i}return(0,r.C6)(t,e),t.prototype._createSymbol=function(e,t,n,r,i){this.removeAll();var a=(0,o.v5)(e,-1,-1,2,2,null,i);a.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),a.drift=p,this._symbolType=e,this.add(a)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){(0,l.HY)(this.childAt(0))},t.prototype.downplay=function(){(0,l.SD)(this.childAt(0))},t.prototype.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},t.prototype.setDraggable=function(e,t){var n=this.childAt(0);n.draggable=e,n.cursor=!t&&e?"move":n.cursor},t.prototype.updateData=function(e,n,r,o){this.silent=!1;var a=e.getItemVisual(n,"symbol")||"circle",s=e.hostModel,l=t.getSymbolSize(e,n),c=a!==this._symbolType,u=o&&o.disableAnimation;if(c){var d=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(a,e,n,l,d)}else{(h=this.childAt(0)).silent=!1;var f={scaleX:l[0]/2,scaleY:l[1]/2};u?h.attr(f):i.oi(h,f,s,n),(0,i.ap)(h)}if(this._updateCommon(e,n,l,r,o),c){var h=this.childAt(0);u||(f={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}},h.scaleX=h.scaleY=0,h.style.opacity=0,i.LW(h,f,s,n))}u&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,t,n,r,i){var a,s,h,p,m,g,A,v,y,O=this.childAt(0),b=e.hostModel;if(r&&(a=r.emphasisItemStyle,s=r.blurItemStyle,h=r.selectItemStyle,p=r.focus,m=r.blurScope,A=r.labelStatesModels,v=r.hoverScale,y=r.cursorStyle,g=r.emphasisDisabled),!r||e.hasItemOption){var w=r&&r.itemModel?r.itemModel:e.getItemModel(t),_=w.getModel("emphasis");a=_.getModel("itemStyle").getItemStyle(),h=w.getModel(["select","itemStyle"]).getItemStyle(),s=w.getModel(["blur","itemStyle"]).getItemStyle(),p=_.get("focus"),m=_.get("blurScope"),g=_.get("disabled"),A=(0,d.lx)(w),v=_.getShallow("scale"),y=w.getShallow("cursor")}var x=e.getItemVisual(t,"symbolRotate");O.attr("rotation",(x||0)*Math.PI/180||0);var S=(0,o.hV)(e.getItemVisual(t,"symbolOffset"),n);S&&(O.x=S[0],O.y=S[1]),y&&O.attr("cursor",y);var k=e.getItemVisual(t,"style"),C=k.fill;if(O instanceof f.Ay){var B=O.style;O.useStyle((0,u.extend)({image:B.image,x:B.x,y:B.y,width:B.width,height:B.height},k))}else O.__isEmptyBrush?O.useStyle((0,u.extend)({},k)):O.useStyle(k),O.style.decal=null,O.setColor(C,i&&i.symbolInnerColor),O.style.strokeNoScale=!0;var Q=e.getItemVisual(t,"liftZ"),T=this._z2;null!=Q?null==T&&(this._z2=O.z2,O.z2+=Q):null!=T&&(O.z2=T,this._z2=null);var E=i&&i.useNameLabel;(0,d.qM)(O,A,{labelFetcher:b,labelDataIndex:t,defaultText:function(t){return E?e.getName(t):(0,c.i)(e,t)},inheritColor:C,defaultOpacity:k.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var P=O.ensureState("emphasis");P.style=a,O.ensureState("select").style=h,O.ensureState("blur").style=s;var $=null==v||!0===v?Math.max(1.1,3/this._sizeY):isFinite(v)&&v>0?+v:1;P.scaleX=this._sizeX*$,P.scaleY=this._sizeY*$,this.setSymbolScale(1),(0,l.Lm)(this,p,m,g)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,t,n){var r=this.childAt(0),o=(0,s.z)(this).dataIndex,a=n&&n.animation;if(this.silent=r.silent=!0,n&&n.fadeLabel){var l=r.getTextContent();l&&i.Nz(l,{style:{opacity:0}},t,{dataIndex:o,removeOpt:a,cb:function(){r.removeTextContent()}})}else r.removeTextContent();i.Nz(r,{style:{opacity:0},scaleX:0,scaleY:0},t,{dataIndex:o,cb:e,removeOpt:a})},t.getSymbolSize=function(e,t){return(0,o.xU)(e.getItemVisual(t,"symbolSize"))},t}(a.A);function p(e,t){this.parent.drift(e,t)}t.A=h},10224:function(e,t,n){var r=n(3045),o=n(35657),i=n(79135),a=n(2801),s=n(10906),l=n(54477);function c(e,t,n){var s,u=[];return o(e,(function(e,o){s=i(e),l(e)||s?u=u.concat(c(e,t+"["+o+"]",s)):u.push(r(t+"["+(n?"":o)+"]")+"="+r(a(e)?"":e))})),u}e.exports=function(e){var t,n=[];return o(e,(function(e,o){s(e)||(t=i(e),l(e)||t?n=n.concat(c(e,o,t)):n.push(r(o)+"="+r(a(e)?"":e)))})),n.join("&").replace(/%20/g,"+")}},10246:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}n.r(t),n.d(t,{MultiDrag:function(){return Ot},Sortable:function(){return Ve},Swap:function(){return ct}});var u=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),d=c(/Edge/i),f=c(/firefox/i),h=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),p=c(/iP(ad|od|hone)/i),m=c(/chrome/i)&&c(/android/i),g={capture:!1,passive:!1};function A(e,t,n){e.addEventListener(t,n,!u&&g)}function v(e,t,n){e.removeEventListener(t,n,!u&&g)}function y(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function O(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function b(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&y(e,t):y(e,t))||r&&e===n)return e;if(e===n)break}while(e=O(e))}return null}var w,_=/\s+/g;function x(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(_," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(_," ")}}function S(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function k(e,t){var n="";if("string"==typeof e)n=e;else do{var r=S(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function C(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o<i;o++)n(r[o],o);return r}return[]}function B(){return document.scrollingElement||document.documentElement}function Q(e,t,n,r,o){if(e.getBoundingClientRect||e===window){var i,a,s,l,c,d,f;if(e!==window&&e.parentNode&&e!==B()?(a=(i=e.getBoundingClientRect()).top,s=i.left,l=i.bottom,c=i.right,d=i.height,f=i.width):(a=0,s=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!u))do{if(o&&o.getBoundingClientRect&&("none"!==S(o,"transform")||n&&"static"!==S(o,"position"))){var h=o.getBoundingClientRect();a-=h.top+parseInt(S(o,"border-top-width")),s-=h.left+parseInt(S(o,"border-left-width")),l=a+i.height,c=s+i.width;break}}while(o=o.parentNode);if(r&&e!==window){var p=k(o||e),m=p&&p.a,g=p&&p.d;p&&(l=(a/=g)+(d/=g),c=(s/=m)+(f/=m))}return{top:a,left:s,bottom:l,right:c,width:f,height:d}}}function T(e,t,n){for(var r=z(e,!0),o=Q(e)[t];r;){var i=Q(r)[n];if(!("top"===n||"left"===n?o>=i:o<=i))return r;if(r===B())break;r=z(r,!1)}return!1}function E(e,t,n,r){for(var o=0,i=0,a=e.children;i<a.length;){if("none"!==a[i].style.display&&a[i]!==Ve.ghost&&(r||a[i]!==Ve.dragged)&&b(a[i],n.draggable,e,!1)){if(o===t)return a[i];o++}i++}return null}function P(e,t){for(var n=e.lastElementChild;n&&(n===Ve.ghost||"none"===S(n,"display")||t&&!y(n,t));)n=n.previousElementSibling;return n||null}function $(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Ve.clone||t&&!y(e,t)||n++;return n}function M(e){var t=0,n=0,r=B();if(e)do{var o=k(e),i=o.a,a=o.d;t+=e.scrollLeft*i,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function z(e,t){if(!e||!e.getBoundingClientRect)return B();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=S(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return B();if(r||t)return n;r=!0}}}while(n=n.parentNode);return B()}function R(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function D(e,t){return function(){if(!w){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),w=setTimeout((function(){w=void 0}),t)}}}function I(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function N(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function L(e,t){S(e,"position","absolute"),S(e,"top",t.top),S(e,"left",t.left),S(e,"width",t.width),S(e,"height",t.height)}function V(e){S(e,"position",""),S(e,"top",""),S(e,"left",""),S(e,"width",""),S(e,"height","")}function U(e,t,n){var r={};return Array.from(e.children).forEach((function(o){var i,a,s,l;if(b(o,t.draggable,e,!1)&&!o.animated&&o!==n){var c=Q(o);r.left=Math.min(null!==(i=r.left)&&void 0!==i?i:1/0,c.left),r.top=Math.min(null!==(a=r.top)&&void 0!==a?a:1/0,c.top),r.right=Math.max(null!==(s=r.right)&&void 0!==s?s:-1/0,c.right),r.bottom=Math.max(null!==(l=r.bottom)&&void 0!==l?l:-1/0,c.bottom)}})),r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}var F="Sortable"+(new Date).getTime();var H=[],W={initializeByDefault:!0},X={mount:function(e){for(var t in W)W.hasOwnProperty(t)&&!(t in e)&&(e[t]=W[t]);H.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),H.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";H.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](o({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](o({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var o in H.forEach((function(r){var o=r.pluginName;if(e.options[o]||r.initializeByDefault){var i=new r(e,t,e.options);i.sortable=e,i.options=e.options,e[o]=i,s(n,i.defaults)}})),e.options)if(e.options.hasOwnProperty(o)){var i=this.modifyOption(e,o,e.options[o]);void 0!==i&&(e.options[o]=i)}},getEventProperties:function(e,t){var n={};return H.forEach((function(r){"function"==typeof r.eventProperties&&s(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return H.forEach((function(o){e[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[t]&&(r=o.optionListeners[t].call(e[o.pluginName],n))})),r}};function j(e){var t=e.sortable,n=e.rootEl,r=e.name,i=e.targetEl,a=e.cloneEl,s=e.toEl,l=e.fromEl,c=e.oldIndex,f=e.newIndex,h=e.oldDraggableIndex,p=e.newDraggableIndex,m=e.originalEvent,g=e.putSortable,A=e.extraEventProperties;if(t=t||n&&n[F]){var v,y=t.options,O="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||u||d?(v=document.createEvent("Event")).initEvent(r,!0,!0):v=new CustomEvent(r,{bubbles:!0,cancelable:!0}),v.to=s||n,v.from=l||n,v.item=i||n,v.clone=a,v.oldIndex=c,v.newIndex=f,v.oldDraggableIndex=h,v.newDraggableIndex=p,v.originalEvent=m,v.pullMode=g?g.lastPutMode:void 0;var b=o(o({},A),X.getEventProperties(r,t));for(var w in b)v[w]=b[w];n&&n.dispatchEvent(v),y[O]&&y[O].call(t,v)}}var q=["evt"],Z=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n,q);X.pluginEvent.bind(Ve)(e,t,o({dragEl:G,parentEl:K,ghostEl:J,rootEl:ee,nextEl:te,lastDownEl:ne,cloneEl:re,cloneHidden:oe,dragStarted:Ae,putSortable:ue,activeSortable:Ve.active,originalEvent:r,oldIndex:ie,oldDraggableIndex:se,newIndex:ae,newDraggableIndex:le,hideGhostForTarget:De,unhideGhostForTarget:Ie,cloneNowHidden:function(){oe=!0},cloneNowShown:function(){oe=!1},dispatchSortableEvent:function(e){Y({sortable:t,name:e,originalEvent:r})}},i))};function Y(e){j(o({putSortable:ue,cloneEl:re,targetEl:G,rootEl:ee,oldIndex:ie,oldDraggableIndex:se,newIndex:ae,newDraggableIndex:le},e))}var G,K,J,ee,te,ne,re,oe,ie,ae,se,le,ce,ue,de,fe,he,pe,me,ge,Ae,ve,ye,Oe,be,we=!1,_e=!1,xe=[],Se=!1,ke=!1,Ce=[],Be=!1,Qe=[],Te="undefined"!=typeof document,Ee=p,Pe=d||u?"cssFloat":"float",$e=Te&&!m&&!p&&"draggable"in document.createElement("div"),Me=function(){if(Te){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),ze=function(e,t){var n=S(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=E(e,0,t),i=E(e,1,t),a=o&&S(o),s=i&&S(i),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Q(o).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Q(i).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&"none"!==a.float){var u="left"===a.float?"left":"right";return!i||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=r&&"none"===n[Pe]||i&&"none"===n[Pe]&&l+c>r)?"vertical":"horizontal"},Re=function(e){function t(e,n){return function(r,o,i,a){var s=r.options.group.name&&o.options.group.name&&r.options.group.name===o.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,o,i,a),n)(r,o,i,a);var l=(n?r:o).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},r=e.group;r&&"object"==i(r)||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},De=function(){!Me&&J&&S(J,"display","none")},Ie=function(){!Me&&J&&S(J,"display","")};Te&&!m&&document.addEventListener("click",(function(e){if(_e)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),_e=!1,!1}),!0);var Ne=function(e){if(G){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,i=e.clientY,xe.some((function(e){var t=e[F].options.emptyInsertThreshold;if(t&&!P(e)){var n=Q(e),r=o>=n.left-t&&o<=n.right+t,s=i>=n.top-t&&i<=n.bottom+t;return r&&s?a=e:void 0}})),a);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[F]._onDragOver(n)}}var o,i,a},Le=function(e){G&&G.parentNode[F]._isOutsideThisEl(e.target)};function Ve(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=s({},t),e[F]=this;var n,r,i={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return ze(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ve.supportPointer&&"PointerEvent"in window&&(!h||p),emptyInsertThreshold:5};for(var a in X.initializePlugins(this,e,i),i)!(a in t)&&(t[a]=i[a]);for(var l in Re(t),this)"_"===l.charAt(0)&&"function"==typeof this[l]&&(this[l]=this[l].bind(this));this.nativeDraggable=!t.forceFallback&&$e,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?A(e,"pointerdown",this._onTapStart):(A(e,"mousedown",this._onTapStart),A(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(A(e,"dragover",this),A(e,"dragenter",this)),xe.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),s(this,(r=[],{captureAnimationState:function(){r=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(e){if("none"!==S(e,"display")&&e!==Ve.ghost){r.push({target:e,rect:Q(e)});var t=o({},r[r.length-1].rect);if(e.thisAnimationDuration){var n=k(e,!0);n&&(t.top-=n.f,t.left-=n.e)}e.fromRect=t}}))},addAnimationState:function(e){r.push(e)},removeAnimationState:function(e){r.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n);return-1}(r,{target:e}),1)},animateAll:function(e){var t=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof e&&e());var o=!1,i=0;r.forEach((function(e){var n=0,r=e.target,a=r.fromRect,s=Q(r),l=r.prevFromRect,c=r.prevToRect,u=e.rect,d=k(r,!0);d&&(s.top-=d.f,s.left-=d.e),r.toRect=s,r.thisAnimationDuration&&R(l,s)&&!R(a,s)&&(u.top-s.top)/(u.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(n=function(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}(u,l,c,t.options)),R(s,a)||(r.prevFromRect=a,r.prevToRect=s,n||(n=t.options.animation),t.animate(r,u,s,n)),n&&(o=!0,i=Math.max(i,n),clearTimeout(r.animationResetTimer),r.animationResetTimer=setTimeout((function(){r.animationTime=0,r.prevFromRect=null,r.fromRect=null,r.prevToRect=null,r.thisAnimationDuration=null}),n),r.thisAnimationDuration=n)})),clearTimeout(n),o?n=setTimeout((function(){"function"==typeof e&&e()}),i):"function"==typeof e&&e(),r=[]},animate:function(e,t,n,r){if(r){S(e,"transition",""),S(e,"transform","");var o=k(this.el),i=o&&o.a,a=o&&o.d,s=(t.left-n.left)/(i||1),l=(t.top-n.top)/(a||1);e.animatingX=!!s,e.animatingY=!!l,S(e,"transform","translate3d("+s+"px,"+l+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),S(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),S(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){S(e,"transition",""),S(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}))}function Ue(e,t,n,r,o,i,a,s){var l,c,f=e[F],h=f.options.onMove;return!window.CustomEvent||u||d?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=i||Q(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),h&&(c=h.call(f,l,a)),c}function Fe(e){e.draggable=!1}function He(){Be=!1}function We(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function Xe(e){return setTimeout(e,0)}function je(e){return clearTimeout(e)}Ve.prototype={constructor:Ve,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(ve=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,G):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,o=r.preventOnFilter,i=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=r.filter;if(function(e){Qe.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&Qe.push(r)}}(n),!G&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!h||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=b(s,r.draggable,n,!1))&&s.animated||ne===s)){if(ie=$(s),se=$(s,r.draggable),"function"==typeof c){if(c.call(this,e,s,this))return Y({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),Z("filter",t,{evt:e}),void(o&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=b(l,r.trim(),n,!1))return Y({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Z("filter",t,{evt:e}),!0}))))return void(o&&e.preventDefault());r.handle&&!b(l,r.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var r,o=this,i=o.el,a=o.options,s=i.ownerDocument;if(n&&!G&&n.parentNode===i){var l=Q(n);if(ee=i,K=(G=n).parentNode,te=G.nextSibling,ne=n,ce=a.group,Ve.dragged=G,de={target:G,clientX:(t||e).clientX,clientY:(t||e).clientY},me=de.clientX-l.left,ge=de.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,G.style["will-change"]="all",r=function(){Z("delayEnded",o,{evt:e}),Ve.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!f&&o.nativeDraggable&&(G.draggable=!0),o._triggerDragStart(e,t),Y({sortable:o,name:"choose",originalEvent:e}),x(G,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){C(G,e.trim(),Fe)})),A(s,"dragover",Ne),A(s,"mousemove",Ne),A(s,"touchmove",Ne),a.supportPointer?(A(s,"pointerup",o._onDrop),!this.nativeDraggable&&A(s,"pointercancel",o._onDrop)):(A(s,"mouseup",o._onDrop),A(s,"touchend",o._onDrop),A(s,"touchcancel",o._onDrop)),f&&this.nativeDraggable&&(this.options.touchStartThreshold=4,G.draggable=!0),Z("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(d||u))r();else{if(Ve.eventCanceled)return void this._onDrop();a.supportPointer?(A(s,"pointerup",o._disableDelayedDrag),A(s,"pointercancel",o._disableDelayedDrag)):(A(s,"mouseup",o._disableDelayedDrag),A(s,"touchend",o._disableDelayedDrag),A(s,"touchcancel",o._disableDelayedDrag)),A(s,"mousemove",o._delayedDragTouchMoveHandler),A(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&A(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){G&&Fe(G),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;v(e,"mouseup",this._disableDelayedDrag),v(e,"touchend",this._disableDelayedDrag),v(e,"touchcancel",this._disableDelayedDrag),v(e,"pointerup",this._disableDelayedDrag),v(e,"pointercancel",this._disableDelayedDrag),v(e,"mousemove",this._delayedDragTouchMoveHandler),v(e,"touchmove",this._delayedDragTouchMoveHandler),v(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?A(document,"pointermove",this._onTouchMove):A(document,t?"touchmove":"mousemove",this._onTouchMove):(A(G,"dragend",this),A(ee,"dragstart",this._onDragStart));try{document.selection?Xe((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(we=!1,ee&&G){Z("dragStarted",this,{evt:t}),this.nativeDraggable&&A(document,"dragover",Le);var n=this.options;!e&&x(G,n.dragClass,!1),x(G,n.ghostClass,!0),Ve.active=this,e&&this._appendGhost(),Y({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(fe){this._lastX=fe.clientX,this._lastY=fe.clientY,De();for(var e=document.elementFromPoint(fe.clientX,fe.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(fe.clientX,fe.clientY))!==t;)t=e;if(G.parentNode[F]._isOutsideThisEl(e),t)do{if(t[F]&&t[F]._onDragOver({clientX:fe.clientX,clientY:fe.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break;e=t}while(t=O(t));Ie()}},_onTouchMove:function(e){if(de){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,i=J&&k(J,!0),a=J&&i&&i.a,s=J&&i&&i.d,l=Ee&&be&&M(be),c=(o.clientX-de.clientX+r.x)/(a||1)+(l?l[0]-Ce[0]:0)/(a||1),u=(o.clientY-de.clientY+r.y)/(s||1)+(l?l[1]-Ce[1]:0)/(s||1);if(!Ve.active&&!we){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(J){i?(i.e+=c-(he||0),i.f+=u-(pe||0)):i={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");S(J,"webkitTransform",d),S(J,"mozTransform",d),S(J,"msTransform",d),S(J,"transform",d),he=c,pe=u,fe=o}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!J){var e=this.options.fallbackOnBody?document.body:ee,t=Q(G,!0,Ee,!0,e),n=this.options;if(Ee){for(be=e;"static"===S(be,"position")&&"none"===S(be,"transform")&&be!==document;)be=be.parentNode;be!==document.body&&be!==document.documentElement?(be===document&&(be=B()),t.top+=be.scrollTop,t.left+=be.scrollLeft):be=B(),Ce=M(be)}x(J=G.cloneNode(!0),n.ghostClass,!1),x(J,n.fallbackClass,!0),x(J,n.dragClass,!0),S(J,"transition",""),S(J,"transform",""),S(J,"box-sizing","border-box"),S(J,"margin",0),S(J,"top",t.top),S(J,"left",t.left),S(J,"width",t.width),S(J,"height",t.height),S(J,"opacity","0.8"),S(J,"position",Ee?"absolute":"fixed"),S(J,"zIndex","100000"),S(J,"pointerEvents","none"),Ve.ghost=J,e.appendChild(J),S(J,"transform-origin",me/parseInt(J.style.width)*100+"% "+ge/parseInt(J.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,o=n.options;Z("dragStart",this,{evt:e}),Ve.eventCanceled?this._onDrop():(Z("setupClone",this),Ve.eventCanceled||((re=N(G)).removeAttribute("id"),re.draggable=!1,re.style["will-change"]="",this._hideClone(),x(re,this.options.chosenClass,!1),Ve.clone=re),n.cloneId=Xe((function(){Z("clone",n),Ve.eventCanceled||(n.options.removeCloneOnHide||ee.insertBefore(re,G),n._hideClone(),Y({sortable:n,name:"clone"}))})),!t&&x(G,o.dragClass,!0),t?(_e=!0,n._loopId=setInterval(n._emulateDragOver,50)):(v(document,"mouseup",n._onDrop),v(document,"touchend",n._onDrop),v(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",o.setData&&o.setData.call(n,r,G)),A(document,"drop",n),S(G,"transform","translateZ(0)")),we=!0,n._dragStartId=Xe(n._dragStarted.bind(n,t,e)),A(document,"selectstart",n),Ae=!0,window.getSelection().removeAllRanges(),h&&S(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,i,a=this.el,s=e.target,l=this.options,c=l.group,u=Ve.active,d=ce===c,f=l.sort,h=ue||u,p=this,m=!1;if(!Be){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),s=b(s,l.draggable,a,!0),N("dragOver"),Ve.eventCanceled)return m;if(G.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return V(!1);if(_e=!1,u&&!l.disabled&&(d?f||(r=K!==ee):ue===this||(this.lastPutMode=ce.checkPull(this,u,G,e))&&c.checkPut(this,u,G,e))){if(i="vertical"===this._getDirection(e,s),t=Q(G),N("dragOverValid"),Ve.eventCanceled)return m;if(r)return K=ee,L(),this._hideClone(),N("revert"),Ve.eventCanceled||(te?ee.insertBefore(G,te):ee.appendChild(G)),V(!0);var g=P(a,l.draggable);if(!g||function(e,t,n){var r=Q(P(n.el,n.options.draggable)),o=U(n.el,n.options,J);return t?e.clientX>o.right+10||e.clientY>r.bottom&&e.clientX>r.left:e.clientY>o.bottom+10||e.clientX>r.right&&e.clientY>r.top}(e,i,this)&&!g.animated){if(g===G)return V(!1);if(g&&a===e.target&&(s=g),s&&(n=Q(s)),!1!==Ue(ee,a,G,t,s,n,e,!!s))return L(),g&&g.nextSibling?a.insertBefore(G,g.nextSibling):a.appendChild(G),K=a,H(),V(!0)}else if(g&&function(e,t,n){var r=Q(E(n.el,0,n.options,!0)),o=U(n.el,n.options,J);return t?e.clientX<o.left-10||e.clientY<r.top&&e.clientX<r.right:e.clientY<o.top-10||e.clientY<r.bottom&&e.clientX<r.left}(e,i,this)){var A=E(a,0,l,!0);if(A===G)return V(!1);if(n=Q(s=A),!1!==Ue(ee,a,G,t,s,n,e,!1))return L(),a.insertBefore(G,A),K=a,H(),V(!0)}else if(s.parentNode===a){n=Q(s);var v,y,O,w=G.parentNode!==a,_=!function(e,t,n){var r=n?e.left:e.top,o=n?e.right:e.bottom,i=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===a||o===s||r+i/2===a+l/2}(G.animated&&G.toRect||t,s.animated&&s.toRect||n,i),k=i?"top":"left",C=T(s,"top","top")||T(G,"top","top"),B=C?C.scrollTop:void 0;if(ve!==s&&(y=n[k],Se=!1,ke=!_&&l.invertSwap||w),v=function(e,t,n,r,o,i,a,s){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!a)if(s&&Oe<c*o){if(!Se&&(1===ye?l>u+c*i/2:l<d-c*i/2)&&(Se=!0),Se)f=!0;else if(1===ye?l<u+Oe:l>d-Oe)return-ye}else if(l>u+c*(1-o)/2&&l<d-c*(1-o)/2)return function(e){return $(G)<$(e)?1:-1}(t);return(f=f||a)&&(l<u+c*i/2||l>d-c*i/2)?l>u+c/2?1:-1:0}(e,s,n,i,_?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,ke,ve===s),0!==v){var M=$(G);do{M-=v,O=K.children[M]}while(O&&("none"===S(O,"display")||O===J))}if(0===v||O===s)return V(!1);ve=s,ye=v;var z=s.nextElementSibling,R=!1,D=Ue(ee,a,G,t,s,n,e,R=1===v);if(!1!==D)return 1!==D&&-1!==D||(R=1===D),Be=!0,setTimeout(He,30),L(),R&&!z?a.appendChild(G):s.parentNode.insertBefore(G,R?z:s),C&&I(C,0,B-C.scrollTop),K=G.parentNode,void 0===y||ke||(Oe=Math.abs(y-Q(s)[k])),H(),V(!0)}if(a.contains(G))return V(!1)}return!1}function N(l,c){Z(l,p,o({evt:e,isOwner:d,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:f,fromSortable:h,target:s,completed:V,onMove:function(n,r){return Ue(ee,a,G,t,n,Q(n),e,r)},changed:H},c))}function L(){N("dragOverAnimationCapture"),p.captureAnimationState(),p!==h&&h.captureAnimationState()}function V(t){return N("dragOverCompleted",{insertion:t}),t&&(d?u._hideClone():u._showClone(p),p!==h&&(x(G,ue?ue.options.ghostClass:u.options.ghostClass,!1),x(G,l.ghostClass,!0)),ue!==p&&p!==Ve.active?ue=p:p===Ve.active&&ue&&(ue=null),h===p&&(p._ignoreWhileAnimating=s),p.animateAll((function(){N("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(s===G&&!G.animated||s===a&&!s.animated)&&(ve=null),l.dragoverBubble||e.rootEl||s===document||(G.parentNode[F]._isOutsideThisEl(e.target),!t&&Ne(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function H(){ae=$(G),le=$(G,l.draggable),Y({sortable:p,name:"change",toEl:a,newIndex:ae,newDraggableIndex:le,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){v(document,"mousemove",this._onTouchMove),v(document,"touchmove",this._onTouchMove),v(document,"pointermove",this._onTouchMove),v(document,"dragover",Ne),v(document,"mousemove",Ne),v(document,"touchmove",Ne)},_offUpEvents:function(){var e=this.el.ownerDocument;v(e,"mouseup",this._onDrop),v(e,"touchend",this._onDrop),v(e,"pointerup",this._onDrop),v(e,"pointercancel",this._onDrop),v(e,"touchcancel",this._onDrop),v(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;ae=$(G),le=$(G,n.draggable),Z("drop",this,{evt:e}),K=G&&G.parentNode,ae=$(G),le=$(G,n.draggable),Ve.eventCanceled||(we=!1,ke=!1,Se=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),je(this.cloneId),je(this._dragStartId),this.nativeDraggable&&(v(document,"drop",this),v(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),h&&S(document.body,"user-select",""),S(G,"transform",""),e&&(Ae&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),J&&J.parentNode&&J.parentNode.removeChild(J),(ee===K||ue&&"clone"!==ue.lastPutMode)&&re&&re.parentNode&&re.parentNode.removeChild(re),G&&(this.nativeDraggable&&v(G,"dragend",this),Fe(G),G.style["will-change"]="",Ae&&!we&&x(G,ue?ue.options.ghostClass:this.options.ghostClass,!1),x(G,this.options.chosenClass,!1),Y({sortable:this,name:"unchoose",toEl:K,newIndex:null,newDraggableIndex:null,originalEvent:e}),ee!==K?(ae>=0&&(Y({rootEl:K,name:"add",toEl:K,fromEl:ee,originalEvent:e}),Y({sortable:this,name:"remove",toEl:K,originalEvent:e}),Y({rootEl:K,name:"sort",toEl:K,fromEl:ee,originalEvent:e}),Y({sortable:this,name:"sort",toEl:K,originalEvent:e})),ue&&ue.save()):ae!==ie&&ae>=0&&(Y({sortable:this,name:"update",toEl:K,originalEvent:e}),Y({sortable:this,name:"sort",toEl:K,originalEvent:e})),Ve.active&&(null!=ae&&-1!==ae||(ae=ie,le=se),Y({sortable:this,name:"end",toEl:K,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){Z("nulling",this),ee=G=K=J=te=re=ne=oe=de=fe=Ae=ae=le=ie=se=ve=ye=ue=ce=Ve.dragged=Ve.ghost=Ve.clone=Ve.active=null,Qe.forEach((function(e){e.checked=!0})),Qe.length=he=pe=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":G&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,o=n.length,i=this.options;r<o;r++)b(e=n[r],i.draggable,this.el,!1)&&t.push(e.getAttribute(i.dataIdAttr)||We(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach((function(e,t){var o=r.children[t];b(o,this.options.draggable,r,!1)&&(n[e]=o)}),this),t&&this.captureAnimationState(),e.forEach((function(e){n[e]&&(r.removeChild(n[e]),r.appendChild(n[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return b(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var r=X.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&Re(n)},destroy:function(){Z("destroy",this);var e=this.el;e[F]=null,v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart),v(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),xe.splice(xe.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!oe){if(Z("hideClone",this),Ve.eventCanceled)return;S(re,"display","none"),this.options.removeCloneOnHide&&re.parentNode&&re.parentNode.removeChild(re),oe=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(oe){if(Z("showClone",this),Ve.eventCanceled)return;G.parentNode!=ee||this.options.group.revertClone?te?ee.insertBefore(re,te):ee.appendChild(re):ee.insertBefore(re,G),this.options.group.revertClone&&this.animate(G,re),S(re,"display",""),oe=!1}}else this._hideClone()}},Te&&A(document,"touchmove",(function(e){(Ve.active||we)&&e.cancelable&&e.preventDefault()})),Ve.utils={on:A,off:v,css:S,find:C,is:function(e,t){return!!b(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:D,closest:b,toggleClass:x,clone:N,index:$,nextTick:Xe,cancelNextTick:je,detectDirection:ze,getChild:E,expando:F},Ve.get=function(e){return e[F]},Ve.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Ve.utils=o(o({},Ve.utils),e.utils)),X.mount(e)}))},Ve.create=function(e,t){return new Ve(e,t)},Ve.version="1.15.6";var qe,Ze,Ye,Ge,Ke,Je,et=[],tt=!1;function nt(){et.forEach((function(e){clearInterval(e.pid)})),et=[]}function rt(){clearInterval(Je)}var ot,it=D((function(e,t,n,r){if(t.scroll){var o,i=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,c=B(),u=!1;Ze!==n&&(Ze=n,nt(),qe=t.scroll,o=t.scrollFn,!0===qe&&(qe=z(n,!0)));var d=0,f=qe;do{var h=f,p=Q(h),m=p.top,g=p.bottom,A=p.left,v=p.right,y=p.width,O=p.height,b=void 0,w=void 0,_=h.scrollWidth,x=h.scrollHeight,k=S(h),C=h.scrollLeft,T=h.scrollTop;h===c?(b=y<_&&("auto"===k.overflowX||"scroll"===k.overflowX||"visible"===k.overflowX),w=O<x&&("auto"===k.overflowY||"scroll"===k.overflowY||"visible"===k.overflowY)):(b=y<_&&("auto"===k.overflowX||"scroll"===k.overflowX),w=O<x&&("auto"===k.overflowY||"scroll"===k.overflowY));var E=b&&(Math.abs(v-i)<=s&&C+y<_)-(Math.abs(A-i)<=s&&!!C),P=w&&(Math.abs(g-a)<=s&&T+O<x)-(Math.abs(m-a)<=s&&!!T);if(!et[d])for(var $=0;$<=d;$++)et[$]||(et[$]={});et[d].vx==E&&et[d].vy==P&&et[d].el===h||(et[d].el=h,et[d].vx=E,et[d].vy=P,clearInterval(et[d].pid),0==E&&0==P||(u=!0,et[d].pid=setInterval(function(){r&&0===this.layer&&Ve.active._onTouchMove(Ke);var t=et[this.layer].vy?et[this.layer].vy*l:0,n=et[this.layer].vx?et[this.layer].vx*l:0;"function"==typeof o&&"continue"!==o.call(Ve.dragged.parentNode[F],n,t,e,Ke,et[this.layer].el)||I(et[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==c&&(f=z(f,!1)));tt=u}}),30),at=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,o=e.activeSortable,i=e.dispatchSortableEvent,a=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=n||o;a();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(u)&&(i("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function st(){}function lt(){}function ct(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;ot=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,o=e.activeSortable,i=e.changed,a=e.cancel;if(o.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=ot;!1!==r(n)?(x(n,l.swapClass,!0),ot=n):ot=null,c&&c!==ot&&x(c,l.swapClass,!1)}i(),t(!0),a()}},drop:function(e){var t,n,r,o,i,a,s=e.activeSortable,l=e.putSortable,c=e.dragEl,u=l||this.sortable,d=this.options;ot&&x(ot,d.swapClass,!1),ot&&(d.swap||l&&l.options.swap)&&c!==ot&&(u.captureAnimationState(),u!==s&&s.captureAnimationState(),n=ot,i=(t=c).parentNode,a=n.parentNode,i&&a&&!i.isEqualNode(n)&&!a.isEqualNode(t)&&(r=$(t),o=$(n),i.isEqualNode(a)&&r<o&&o++,i.insertBefore(n,i.children[r]),a.insertBefore(t,a.children[o])),u.animateAll(),u!==s&&s.animateAll())},nulling:function(){ot=null}},s(e,{pluginName:"swap",eventProperties:function(){return{swapItem:ot}}})}st.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=E(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:at},s(st,{pluginName:"revertOnSpill"}),lt.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:at},s(lt,{pluginName:"removeOnSpill"});var ut,dt,ft,ht,pt,mt=[],gt=[],At=!1,vt=!1,yt=!1;function Ot(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.avoidImplicitDeselect||(e.options.supportPointer?A(document,"pointerup",this._deselectMultiDrag):(A(document,"mouseup",this._deselectMultiDrag),A(document,"touchend",this._deselectMultiDrag))),A(document,"keydown",this._checkKeyDown),A(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:!1,setData:function(t,n){var r="";mt.length&&dt===e?mt.forEach((function(e,t){r+=(t?", ":"")+e.textContent})):r=n.textContent,t.setData("Text",r)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;ft=t},delayEnded:function(){this.isMultiDrag=~mt.indexOf(ft)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var r=0;r<mt.length;r++)gt.push(N(mt[r])),gt[r].sortableIndex=mt[r].sortableIndex,gt[r].draggable=!1,gt[r].style["will-change"]="",x(gt[r],this.options.selectedClass,!1),mt[r]===ft&&x(gt[r],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,r=e.dispatchSortableEvent,o=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||mt.length&&dt===t&&(bt(!0,n),r("clone"),o()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,r=e.cancel;this.isMultiDrag&&(bt(!1,n),gt.forEach((function(e){S(e,"display","")})),t(),pt=!1,r())},hideClone:function(e){var t=this,n=(e.sortable,e.cloneNowHidden),r=e.cancel;this.isMultiDrag&&(gt.forEach((function(e){S(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),n(),pt=!0,r())},dragStartGlobal:function(e){e.sortable,!this.isMultiDrag&&dt&&dt.multiDrag._deselectMultiDrag(),mt.forEach((function(e){e.sortableIndex=$(e)})),mt=mt.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),yt=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){mt.forEach((function(e){e!==ft&&S(e,"position","absolute")}));var r=Q(ft,!1,!0,!0);mt.forEach((function(e){e!==ft&&L(e,r)})),vt=!0,At=!0}n.animateAll((function(){vt=!1,At=!1,t.options.animation&&mt.forEach((function(e){V(e)})),t.options.sort&&wt()}))}},dragOver:function(e){var t=e.target,n=e.completed,r=e.cancel;vt&&~mt.indexOf(t)&&(n(!1),r())},revert:function(e){var t=e.fromSortable,n=e.rootEl,r=e.sortable,o=e.dragRect;mt.length>1&&(mt.forEach((function(e){r.addAnimationState({target:e,rect:vt?Q(e):o}),V(e),e.fromRect=o,t.removeAnimationState(e)})),vt=!1,function(e,t){mt.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,r=e.insertion,o=e.activeSortable,i=e.parentEl,a=e.putSortable,s=this.options;if(r){if(n&&o._hideClone(),At=!1,s.animation&&mt.length>1&&(vt||!n&&!o.options.sort&&!a)){var l=Q(ft,!1,!0,!0);mt.forEach((function(e){e!==ft&&(L(e,l),i.appendChild(e))})),vt=!0}if(!n)if(vt||wt(),mt.length>1){var c=pt;o._showClone(t),o.options.animation&&!pt&&c&&gt.forEach((function(e){o.addAnimationState({target:e,rect:ht}),e.fromRect=ht,e.thisAnimationDuration=null}))}else o._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(mt.forEach((function(e){e.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){ht=s({},t);var o=k(ft,!0);ht.top-=o.f,ht.left-=o.e}},dragOverAnimationComplete:function(){vt&&(vt=!1,wt())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,o=e.sortable,i=e.dispatchSortableEvent,a=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var c=this.options,u=r.children;if(!yt)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),x(ft,c.selectedClass,!~mt.indexOf(ft)),~mt.indexOf(ft))mt.splice(mt.indexOf(ft),1),ut=null,j({sortable:o,rootEl:n,name:"deselect",targetEl:ft,originalEvent:t});else{if(mt.push(ft),j({sortable:o,rootEl:n,name:"select",targetEl:ft,originalEvent:t}),t.shiftKey&&ut&&o.el.contains(ut)){var d=$(ut),f=$(ft);~d&&~f&&d!==f&&function(){var e,i;f>d?(i=d,e=f):(i=f,e=d+1);for(var a=c.filter;i<e;i++)~mt.indexOf(u[i])||b(u[i],c.draggable,r,!1)&&(a&&("function"==typeof a?a.call(o,t,u[i],o):a.split(",").some((function(e){return b(u[i],e.trim(),r,!1)})))||(x(u[i],c.selectedClass,!0),mt.push(u[i]),j({sortable:o,rootEl:n,name:"select",targetEl:u[i],originalEvent:t})))}()}else ut=ft;dt=l}if(yt&&this.isMultiDrag){if(vt=!1,(r[F].options.sort||r!==n)&&mt.length>1){var h=Q(ft),p=$(ft,":not(."+this.options.selectedClass+")");if(!At&&c.animation&&(ft.thisAnimationDuration=null),l.captureAnimationState(),!At&&(c.animation&&(ft.fromRect=h,mt.forEach((function(e){if(e.thisAnimationDuration=null,e!==ft){var t=vt?Q(e):h;e.fromRect=t,l.addAnimationState({target:e,rect:t})}}))),wt(),mt.forEach((function(e){u[p]?r.insertBefore(e,u[p]):r.appendChild(e),p++})),a===$(ft))){var m=!1;mt.forEach((function(e){e.sortableIndex===$(e)||(m=!0)})),m&&(i("update"),i("sort"))}mt.forEach((function(e){V(e)})),l.animateAll()}dt=l}(n===r||s&&"clone"!==s.lastPutMode)&&gt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=yt=!1,gt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),v(document,"pointerup",this._deselectMultiDrag),v(document,"mouseup",this._deselectMultiDrag),v(document,"touchend",this._deselectMultiDrag),v(document,"keydown",this._checkKeyDown),v(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==yt&&yt||dt!==this.sortable||e&&b(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;mt.length;){var t=mt[0];x(t,this.options.selectedClass,!1),mt.shift(),j({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvent:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},s(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[F];t&&t.options.multiDrag&&!~mt.indexOf(e)&&(dt&&dt!==t&&(dt.multiDrag._deselectMultiDrag(),dt=t),x(e,t.options.selectedClass,!0),mt.push(e))},deselect:function(e){var t=e.parentNode[F],n=mt.indexOf(e);t&&t.options.multiDrag&&~n&&(x(e,t.options.selectedClass,!1),mt.splice(n,1))}},eventProperties:function(){var e,t=this,n=[],r=[];return mt.forEach((function(e){var o;n.push({multiDragElement:e,index:e.sortableIndex}),o=vt&&e!==ft?-1:vt?$(e,":not(."+t.options.selectedClass+")"):$(e),r.push({multiDragElement:e,index:o})})),{items:(e=mt,function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e)||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.")}()),clones:[].concat(gt),oldIndicies:n,newIndicies:r}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function bt(e,t){gt.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function wt(){mt.forEach((function(e){e!==ft&&e.parentNode&&e.parentNode.removeChild(e)}))}Ve.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?A(document,"dragover",this._handleAutoScroll):this.options.supportPointer?A(document,"pointermove",this._handleFallbackAutoScroll):t.touches?A(document,"touchmove",this._handleFallbackAutoScroll):A(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):(v(document,"pointermove",this._handleFallbackAutoScroll),v(document,"touchmove",this._handleFallbackAutoScroll),v(document,"mousemove",this._handleFallbackAutoScroll)),rt(),nt(),clearTimeout(w),w=void 0},nulling:function(){Ke=Ze=qe=tt=Je=Ye=Ge=null,et.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,i=document.elementFromPoint(r,o);if(Ke=e,t||this.options.forceAutoScrollFallback||d||u||h){it(e,this.options,i,t);var a=z(i,!0);!tt||Je&&r===Ye&&o===Ge||(Je&&rt(),Je=setInterval((function(){var i=z(document.elementFromPoint(r,o),!0);i!==a&&(a=i,nt()),it(e,n.options,i,t)}),10),Ye=r,Ge=o)}else{if(!this.options.bubbleScroll||z(i,!0)===B())return void nt();it(e,this.options,z(i,!1),!1)}}},s(e,{pluginName:"scroll",initializeByDefault:!0})}),Ve.mount(lt,st),t.default=Ve},10350:function(e,t,n){"use strict";var r=n(43724),o=n(39297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},10757:function(e,t,n){"use strict";var r=n(97751),o=n(94901),i=n(1625),a=n(7040),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,s(e))}},10810:function(e,t,n){"use strict";n.d(t,{Ey:function(){return v},nY:function(){return Q}});var r=n(12189);let o;const i=e=>o=e,a=Symbol();function s(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var l;!function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"}(l||(l={}));const c="undefined"!=typeof window,u=(()=>"object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:"object"==typeof globalThis?globalThis:{HTMLElement:null})();function d(e,t,n){const r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){g(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function f(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function h(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}const p="object"==typeof navigator?navigator:{userAgent:""},m=(()=>/Macintosh/.test(p.userAgent)&&/AppleWebKit/.test(p.userAgent)&&!/Safari/.test(p.userAgent))(),g=c?"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!m?function(e,t="download",n){const r=document.createElement("a");r.download=t,r.rel="noopener","string"==typeof e?(r.href=e,r.origin!==location.origin?f(r.href)?d(e,t,n):(r.target="_blank",h(r)):h(r)):(r.href=URL.createObjectURL(e),setTimeout((function(){URL.revokeObjectURL(r.href)}),4e4),setTimeout((function(){h(r)}),0))}:"msSaveOrOpenBlob"in p?function(e,t="download",n){if("string"==typeof e)if(f(e))d(e,t,n);else{const t=document.createElement("a");t.href=e,t.target="_blank",setTimeout((function(){h(t)}))}else navigator.msSaveOrOpenBlob(function(e,{autoBom:t=!1}={}){return t&&/^\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}(e,n),t)}:function(e,t,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof e)return d(e,t,n);const o="application/octet-stream"===e.type,i=/constructor/i.test(String(u.HTMLElement))||"safari"in u,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||o&&i||m)&&"undefined"!=typeof FileReader){const t=new FileReader;t.onloadend=function(){let e=t.result;if("string"!=typeof e)throw r=null,new Error("Wrong reader.result type");e=a?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{const t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout((function(){URL.revokeObjectURL(t)}),4e4)}}:()=>{},{assign:A}=Object;function v(){const e=(0,r.uYQ)(!0),t=e.run((()=>(0,r.KRz)({})));let n=[],o=[];const s=(0,r.IGZ)({install(e){i(s),r.LER||(s._a=e,e.provide(a,s),e.config.globalProperties.$pinia=s,o.forEach((e=>n.push(e))),o=[])},use(e){return this._a||r.LER?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const y=()=>{};function O(e,t,n,o=y){e.push(t);const i=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};return!n&&(0,r.o55)()&&(0,r.jr2)(i),i}function b(e,...t){e.slice().forEach((e=>{e(...t)}))}const w=e=>e(),_=Symbol(),x=Symbol();function S(e,t){e instanceof Map&&t instanceof Map?t.forEach(((t,n)=>e.set(n,t))):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],i=e[n];s(i)&&s(o)&&e.hasOwnProperty(n)&&!(0,r.i9z)(o)&&!(0,r.g8q)(o)?e[n]=S(i,o):e[n]=o}return e}const k=Symbol(),{assign:C}=Object;function B(e,t,n={},o,a,c){let u;const d=C({actions:{}},n),f={deep:!0};let h,p,m,g=[],A=[];const v=o.state.value[e];let B;function Q(t){let n;h=p=!1,"function"==typeof t?(t(o.state.value[e]),n={type:l.patchFunction,storeId:e,events:m}):(S(o.state.value[e],t),n={type:l.patchObject,payload:t,storeId:e,events:m});const i=B=Symbol();(0,r.dYV)().then((()=>{B===i&&(h=!0)})),p=!0,b(g,n,o.state.value[e])}c||v||(r.LER?(0,r.hZp)(o.state.value,e,{}):o.state.value[e]={}),(0,r.KRz)({});const T=c?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{C(e,t)}))}:y,E=(t,n="")=>{if(_ in t)return t[x]=n,t;const r=function(){i(o);const n=Array.from(arguments),a=[],s=[];let l;b(A,{args:n,name:r[x],store:$,after:function(e){a.push(e)},onError:function(e){s.push(e)}});try{l=t.apply(this&&this.$id===e?this:$,n)}catch(e){throw b(s,e),e}return l instanceof Promise?l.then((e=>(b(a,e),e))).catch((e=>(b(s,e),Promise.reject(e)))):(b(a,l),l)};return r[_]=!0,r[x]=n,r},P={_p:o,$id:e,$onAction:O.bind(null,A),$patch:Q,$reset:T,$subscribe(t,n={}){const i=O(g,t,n.detached,(()=>a())),a=u.run((()=>(0,r.wBe)((()=>o.state.value[e]),(r=>{("sync"===n.flush?p:h)&&t({storeId:e,type:l.direct,events:m},r)}),C({},f,n))));return i},$dispose:function(){u.stop(),g=[],A=[],o._s.delete(e)}};r.LER&&(P._r=!1);const $=(0,r.Kh)(P);o._s.set(e,$);const M=(o._a&&o._a.runWithContext||w)((()=>o._e.run((()=>(u=(0,r.uYQ)()).run((()=>t({action:E})))))));for(const t in M){const n=M[t];if((0,r.i9z)(n)&&(R=n,!(0,r.i9z)(R)||!R.effect)||(0,r.g8q)(n))c||(!v||s(z=n)&&z.hasOwnProperty(k)||((0,r.i9z)(n)?n.value=v[t]:S(n,v[t])),r.LER?(0,r.hZp)(o.state.value[e],t,n):o.state.value[e][t]=n);else if("function"==typeof n){const e=E(n,t);r.LER?(0,r.hZp)(M,t,e):M[t]=e,d.actions[t]=n}}var z,R;return r.LER?Object.keys(M).forEach((e=>{(0,r.hZp)($,e,M[e])})):(C($,M),C((0,r.uxp)($),M)),Object.defineProperty($,"$state",{get:()=>o.state.value[e],set:e=>{Q((t=>{C(t,e)}))}}),r.LER&&($._r=!0),o._p.forEach((e=>{C($,u.run((()=>e({store:$,app:o._a,pinia:o,options:d}))))})),v&&c&&n.hydrate&&n.hydrate($.$state,v),h=!0,p=!0,$}function Q(e,t,n){let s,l;const c="function"==typeof t;function u(e,n){const u=(0,r.PSC)();return(e=e||(u?(0,r.WQX)(a,null):null))&&i(e),(e=o)._s.has(s)||(c?B(s,t,l,e):function(e,t,n){const{state:o,actions:a,getters:s}=t,l=n.state.value[e];let c;c=B(e,(function(){l||(r.LER?(0,r.hZp)(n.state.value,e,o?o():{}):n.state.value[e]=o?o():{});const t=(0,r.QWb)(n.state.value[e]);return C(t,a,Object.keys(s||{}).reduce(((t,o)=>(t[o]=(0,r.IGZ)((0,r.EWP)((()=>{i(n);const t=n._s.get(e);if(!r.LER||t._r)return s[o].call(t,t)}))),t)),{}))}),t,n,0,!0)}(s,l,e)),e._s.get(s)}return"string"==typeof e?(s=e,l=c?n:t):(l=e,s=e.id),u.$id=s,u}},10813:function(){!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("textcolor",(function(){}))}()},10906:function(e,t,n){var r=n(73971),o=n(98594)(r);e.exports=o},10992:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(15215),o=n(5070),i=n(14865),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},l=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new a},t.prototype.buildPath=function(e,t){var n,r,o,a;if(this.subPixelOptimize){var l=(0,i.Op)(s,t,this.style);n=l.x,r=l.y,o=l.width,a=l.height,l.r=t.r,t=l}else n=t.x,r=t.y,o=t.width,a=t.height;t.r?function(e,t){var n,r,o,i,a,s=t.x,l=t.y,c=t.width,u=t.height,d=t.r;c<0&&(s+=c,c=-c),u<0&&(l+=u,u=-u),"number"==typeof d?n=r=o=i=d:d instanceof Array?1===d.length?n=r=o=i=d[0]:2===d.length?(n=o=d[0],r=i=d[1]):3===d.length?(n=d[0],r=i=d[1],o=d[2]):(n=d[0],r=d[1],o=d[2],i=d[3]):n=r=o=i=0,n+r>c&&(n*=c/(a=n+r),r*=c/a),o+i>c&&(o*=c/(a=o+i),i*=c/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),n+i>u&&(n*=u/(a=n+i),i*=u/a),e.moveTo(s+n,l),e.lineTo(s+c-r,l),0!==r&&e.arc(s+c-r,l+r,r,-Math.PI/2,0),e.lineTo(s+c,l+u-o),0!==o&&e.arc(s+c-o,l+u-o,o,0,Math.PI/2),e.lineTo(s+i,l+u),0!==i&&e.arc(s+i,l+u-i,i,Math.PI/2,Math.PI),e.lineTo(s,l+n),0!==n&&e.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(e,t):e.rect(n,r,o,a)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(o.Ay);l.prototype.type="rect";var c=l},11203:function(e,t,n){n(96168)},11310:function(e,t,n){n(87187)},11793:function(e,t){"use strict";var n=function(){function e(e){this.colorStops=e||[]}return e.prototype.addColorStop=function(e,t){this.colorStops.push({offset:e,color:t})},e}();t.A=n},12116:function(e){e.exports=function(e,t,n){var r=null,o=null,i=n||{},a=!1,s=null,l=!("leading"in i)||i.leading,c="trailing"in i&&i.trailing,u=function(){r=null,o=null},d=function(){a=!0,e.apply(o,r),s=setTimeout(f,t),u()},f=function(){s=null,a||!0!==c||d()},h=function(){r=arguments,o=this,a=!1,null===s&&(!0===l?d():!0===c&&(s=setTimeout(f,t)))};return h.cancel=function(){var e=null!==s;return e&&clearTimeout(s),u(),s=null,a=!1,e},h}},12189:function(e,t,n){"use strict";n.d(t,{EWP:function(){return r.computed},IGZ:function(){return r.markRaw},IJ:function(){return r.shallowRef},KRz:function(){return r.ref},Kh:function(){return r.reactive},LER:function(){return o},PSC:function(){return r.hasInjectionContext},QWb:function(){return r.toRefs},R1X:function(){return r.unref},Sg5:function(){return i},WQX:function(){return r.inject},dYV:function(){return r.nextTick},g8q:function(){return r.isReactive},hZp:function(){return a},i9z:function(){return r.isRef},jr2:function(){return r.onScopeDispose},nIK:function(){return r.getCurrentInstance},nTw:function(){return r.watchEffect},o55:function(){return r.getCurrentScope},rYL:function(){return r.customRef},sV8:function(){return r.onMounted},tBZ:function(){return r.readonly},uYQ:function(){return r.effectScope},uxp:function(){return r.toRaw},wBe:function(){return r.watch}});var r=n(61431),o=!1,i=!0;function a(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}},12191:function(e,t,n){"use strict";n.d(t,{OD:function(){return s},SR:function(){return a},xA:function(){return c}});var r=n(60501),o=n(59741),i=new r.Ay(50);function a(e){if("string"==typeof e){var t=i.get(e);return t&&t.image}return e}function s(e,t,n,r,a){if(e){if("string"==typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var s=i.get(e),u={hostEl:n,cb:r,cbPayload:a};return s?!c(t=s.image)&&s.pending.push(u):((t=o.yh.loadImage(e,l,l)).__zrImageSrc=e,i.put(e,t.__cachedImgObj={image:t,pending:[u]})),t}return e}return t}function l(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var n=e.pending[t],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function c(e){return e&&e.width&&e.height}},12205:function(e,t,n){n(79914)},12211:function(e,t,n){"use strict";var r=n(79039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},12273:function(e,t,n){"use strict";n.d(t,{_q:function(){return u}});var r=n(61431),o=n(42757),i=n(51338),a=n(50819),s=n(65980);const l=(0,a.b_)({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:(0,a.jq)([String,Array,Object])},zIndex:{type:(0,a.jq)([String,Number])}}),c={click:e=>e instanceof MouseEvent},u=(0,r.defineComponent)({name:"ElOverlay",props:l,emits:c,setup(e,{slots:t,emit:n}){const a=(0,s.DU)("overlay"),{onClick:l,onMousedown:c,onMouseup:u}=(0,o.r)(e.customMaskEvent?void 0:e=>{n("click",e)});return()=>e.mask?(0,r.createVNode)("div",{class:[a.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:l,onMousedown:c,onMouseup:u},[(0,r.renderSlot)(t,"default")],i.Yn.STYLE|i.Yn.CLASS|i.Yn.PROPS,["onClick","onMouseup","onMousedown"]):(0,r.h)("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[(0,r.renderSlot)(t,"default")])}})},12407:function(e,t,n){var r=n(86075)("indexOf",n(18346));e.exports=r},12462:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});var r=function(){function e(){}return e.prototype.getNeedCrossZero=function(){return!this.option.scale},e.prototype.getCoordSysModel=function(){},e}()},12616:function(e,t,n){"use strict";n.d(t,{$Q:function(){return a},A6:function(){return s},G_:function(){return c},vf:function(){return l}});var r=n(98026),o=n(30693),i=Math.round(10*Math.random());function a(e){return[e||"",i++].join("_")}function s(e){var t={};e.registerSubTypeDefaulter=function(e,n){var r=(0,o.CC)(e);t[r.main]=n},e.determineSubType=function(n,r){var i=r.type;if(!i){var a=(0,o.CC)(n).main;e.hasSubTypes(n)&&t[a]&&(i=t[a](r))}return i}}function l(e,t){function n(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}e.topologicalTravel=function(e,o,i,a){if(e.length){var s=function(e){var o={},i=[];return r.each(e,(function(a){var s=n(o,a),l=function(e,t){var n=[];return r.each(e,(function(e){r.indexOf(t,e)>=0&&n.push(e)})),n}(s.originalDeps=t(a),e);s.entryCount=l.length,0===s.entryCount&&i.push(a),r.each(l,(function(e){r.indexOf(s.predecessor,e)<0&&s.predecessor.push(e);var t=n(o,e);r.indexOf(t.successor,e)<0&&t.successor.push(a)}))})),{graph:o,noEntryList:i}}(o),l=s.graph,c=s.noEntryList,u={};for(r.each(e,(function(e){u[e]=!0}));c.length;){var d=c.pop(),f=l[d],h=!!u[d];h&&(i.call(a,d,f.originalDeps.slice()),delete u[d]),r.each(f.successor,h?m:p)}r.each(u,(function(){throw new Error("")}))}function p(e){l[e].entryCount--,0===l[e].entryCount&&c.push(e)}function m(e){u[e]=!0,p(e)}}}function c(e,t){return r.merge(r.merge({},e,!0),t,!0)}},12706:function(e,t,n){"use strict";var r=n(15215),o=n(24326),i=n(55854),a=n(67071),s=n(74562),l=n(28613),c=n(98026),u=function(e){function t(t){var n=e.call(this,t)||this;return n.type="time",n}return(0,r.C6)(t,e),t.prototype.getLabel=function(e){var t=this.getSetting("useUTC");return(0,i.GP)(e.value,i.Lm[(0,i.$9)((0,i.ym)(this._minLevelUnit))]||i.Lm.second,t,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(e,t,n){var r=this.getSetting("useUTC"),o=this.getSetting("locale");return(0,i.X_)(e,t,n,o,r)},t.prototype.getTicks=function(){var e=this._interval,t=this._extent,n=[];if(!e)return n;n.push({value:t[0],level:0});var r=this.getSetting("useUTC"),a=function(e,t,n,r){var a=i.F7,s=0;function l(e,t,n,o,i,a,s){for(var l=new Date(t),c=t,u=l[o]();c<n&&c<=r[1];)s.push({value:c}),u+=e,l[i](u),c=l.getTime();s.push({value:c,notAdd:!0})}function u(e,a,s){var c=[],u=!a.length;if(!function(e,t,n,r){var a=o._U(t),s=o._U(n),l=function(e){return(0,i.g0)(a,e,r)===(0,i.g0)(s,e,r)},c=function(){return l("year")},u=function(){return c()&&l("month")},d=function(){return u()&&l("day")},f=function(){return d()&&l("hour")},h=function(){return f()&&l("minute")},p=function(){return h()&&l("second")};switch(e){case"year":return c();case"month":return u();case"day":return d();case"hour":return f();case"minute":return h();case"second":return p();case"millisecond":return p()&&l("millisecond")}}((0,i.ym)(e),r[0],r[1],n)){u&&(a=[{value:A(new Date(r[0]),e,n)},{value:r[1]}]);for(var d=0;d<a.length-1;d++){var v=a[d].value,y=a[d+1].value;if(v!==y){var O=void 0,b=void 0,w=void 0;switch(e){case"year":O=Math.max(1,Math.round(t/i.CZ/365)),b=(0,i.hY)(n),w=(0,i.tM)(n);break;case"half-year":case"quarter":case"month":O=h(t),b=(0,i.jJ)(n),w=(0,i.xu)(n);break;case"week":case"half-week":case"day":O=f(t),b=(0,i.bP)(n),w=(0,i.ti)(n);break;case"half-day":case"quarter-day":case"hour":O=p(t),b=(0,i.iC)(n),w=(0,i.Yd)(n);break;case"minute":O=m(t,!0),b=(0,i.yB)(n),w=(0,i.KF)(n);break;case"second":O=m(t,!1),b=(0,i.Wf)(n),w=(0,i.ww)(n);break;case"millisecond":O=g(t),b=(0,i.Zz)(n),w=(0,i.FP)(n)}l(O,v,y,b,w,0,c),"year"===e&&s.length>1&&0===d&&s.unshift({value:s[0].value-O})}}for(d=0;d<c.length;d++)s.push(c[d]);return c}}for(var d=[],v=[],y=0,O=0,b=0;b<a.length&&s++<1e4;++b){var w=(0,i.ym)(a[b]);if((0,i.ce)(a[b])&&(u(a[b],d[d.length-1]||[],v),w!==(a[b+1]?(0,i.ym)(a[b+1]):null))){if(v.length){O=y,v.sort((function(e,t){return e.value-t.value}));for(var _=[],x=0;x<v.length;++x){var S=v[x].value;0!==x&&v[x-1].value===S||(_.push(v[x]),S>=r[0]&&S<=r[1]&&y++)}var k=(r[1]-r[0])/t;if(y>1.5*k&&O>k/1.5)break;if(d.push(_),y>k||e===a[b])break}v=[]}}var C=(0,c.filter)((0,c.map)(d,(function(e){return(0,c.filter)(e,(function(e){return e.value>=r[0]&&e.value<=r[1]&&!e.notAdd}))})),(function(e){return e.length>0})),B=[],Q=C.length-1;for(b=0;b<C.length;++b)for(var T=C[b],E=0;E<T.length;++E)B.push({value:T[E].value,level:Q-b});B.sort((function(e,t){return e.value-t.value}));var P=[];for(b=0;b<B.length;++b)0!==b&&B[b].value===B[b-1].value||P.push(B[b]);return P}(this._minLevelUnit,this._approxInterval,r,t);return(n=n.concat(a)).push({value:t[1],level:0}),n},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1]&&(t[0]-=i.CZ,t[1]+=i.CZ),t[1]===-1/0&&t[0]===1/0){var n=new Date;t[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),t[0]=t[1]-i.CZ}this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},t.prototype.calcNiceTicks=function(e,t,n){e=e||10;var r=this._extent,o=r[1]-r[0];this._approxInterval=o/e,null!=t&&this._approxInterval<t&&(this._approxInterval=t),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var i=d.length,a=Math.min(function(e,t,n,r){for(;n<r;){var o=n+r>>>1;e[o][1]<t?n=o+1:r=o}return n}(d,this._approxInterval,0,i),i-1);this._interval=d[a][1],this._minLevelUnit=d[Math.max(a-1,0)][0]},t.prototype.parse=function(e){return(0,c.isNumber)(e)?e:+o._U(e)},t.prototype.contain=function(e){return a.lP(this.parse(e),this._extent)},t.prototype.normalize=function(e){return a.S8(this.parse(e),this._extent)},t.prototype.scale=function(e){return a.hs(e,this._extent)},t.type="time",t}(s.A),d=[["second",i.OY],["minute",i.iW],["hour",i.MA],["quarter-day",6*i.MA],["half-day",12*i.MA],["day",1.2*i.CZ],["half-week",3.5*i.CZ],["week",7*i.CZ],["month",31*i.CZ],["quarter",95*i.CZ],["half-year",i.$H/2],["year",i.$H]];function f(e,t){return(e/=i.CZ)>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function h(e){return(e/=30*i.CZ)>6?6:e>3?3:e>2?2:1}function p(e){return(e/=i.MA)>12?12:e>6?6:e>3.5?4:e>2?2:1}function m(e,t){return(e/=t?i.iW:i.OY)>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function g(e){return o.Cm(e,!0)}function A(e,t,n){var r=new Date(e);switch((0,i.ym)(t)){case"year":case"month":r[(0,i.xu)(n)](0);case"day":r[(0,i.ti)(n)](1);case"hour":r[(0,i.Yd)(n)](0);case"minute":r[(0,i.KF)(n)](0);case"second":r[(0,i.ww)(n)](0),r[(0,i.FP)(n)](0)}return r.getTime()}l.A.registerClass(u),t.A=u},12897:function(e,t,n){e.exports=function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};function t(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self;var r=t((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(e){return Array.isArray(e)?[]:{}}function n(n,r){return r&&!0===r.clone&&e(n)?i(t(n),n,r):n}function r(t,r,o){var a=t.slice();return r.forEach((function(r,s){void 0===a[s]?a[s]=n(r,o):e(r)?a[s]=i(t[s],r,o):-1===t.indexOf(r)&&a.push(n(r,o))})),a}function o(t,r,o){var a={};return e(t)&&Object.keys(t).forEach((function(e){a[e]=n(t[e],o)})),Object.keys(r).forEach((function(s){e(r[s])&&t[s]?a[s]=i(t[s],r[s],o):a[s]=n(r[s],o)})),a}function i(e,t,i){var a=Array.isArray(t),s=(i||{arrayMerge:r}).arrayMerge||r;return a?Array.isArray(e)?s(e,t,i):n(t,i):o(e,t,i)}return i.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return i(e,n,t)}))},i}()})),o=t((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),i=o.svg,a=o.xlink,s={};s[i.name]=i.uri,s[a.name]=a.uri;var l=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,"&quot;")+'"'})).join(" ")}(r(s,t||{}))+">"+e+"</svg>"},c=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}(l(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(e);return c}()},12983:function(){tinymce.IconManager.add("default",{icons:{"accessibility-check":'<svg width="24" height="24"><path d="M12 2a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2c0-1.1.9-2 2-2zm8 7h-5v12c0 .6-.4 1-1 1a1 1 0 01-1-1v-5c0-.6-.4-1-1-1a1 1 0 00-1 1v5c0 .6-.4 1-1 1a1 1 0 01-1-1V9H4a1 1 0 110-2h16c.6 0 1 .4 1 1s-.4 1-1 1z" fill-rule="nonzero"/></svg>',"action-next":'<svg width="24" height="24"><path fill-rule="nonzero" d="M5.7 7.3a1 1 0 00-1.4 1.4l7.7 7.7 7.7-7.7a1 1 0 10-1.4-1.4L12 13.6 5.7 7.3z"/></svg>',"action-prev":'<svg width="24" height="24"><path fill-rule="nonzero" d="M18.3 15.7a1 1 0 001.4-1.4L12 6.6l-7.7 7.7a1 1 0 001.4 1.4L12 9.4l6.3 6.3z"/></svg>',"align-center":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 110-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 010-2zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2z" fill-rule="evenodd"/></svg>',"align-justify":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2z" fill-rule="evenodd"/></svg>',"align-left":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2z" fill-rule="evenodd"/></svg>',"align-none":'<svg width="24" height="24"><path d="M14.2 5L13 7H5a1 1 0 110-2h9.2zm4 0h.8a1 1 0 010 2h-2l1.2-2zm-6.4 4l-1.2 2H5a1 1 0 010-2h6.8zm4 0H19a1 1 0 010 2h-4.4l1.2-2zm-6.4 4l-1.2 2H5a1 1 0 010-2h4.4zm4 0H19a1 1 0 010 2h-6.8l1.2-2zM7 17l-1.2 2H5a1 1 0 010-2h2zm4 0h8a1 1 0 010 2H9.8l1.2-2zm5.2-13.5l1.3.7-9.7 16.3-1.3-.7 9.7-16.3z" fill-rule="evenodd"/></svg>',"align-right":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2z" fill-rule="evenodd"/></svg>',"arrow-left":'<svg width="24" height="24"><path d="M5.6 13l12 6a1 1 0 001.4-1V6a1 1 0 00-1.4-.9l-12 6a1 1 0 000 1.8z" fill-rule="evenodd"/></svg>',"arrow-right":'<svg width="24" height="24"><path d="M18.5 13l-12 6A1 1 0 015 18V6a1 1 0 011.4-.9l12 6a1 1 0 010 1.8z" fill-rule="evenodd"/></svg>',bold:'<svg width="24" height="24"><path d="M7.8 19c-.3 0-.5 0-.6-.2l-.2-.5V5.7c0-.2 0-.4.2-.5l.6-.2h5c1.5 0 2.7.3 3.5 1 .7.6 1.1 1.4 1.1 2.5a3 3 0 01-.6 1.9c-.4.6-1 1-1.6 1.2.4.1.9.3 1.3.6s.8.7 1 1.2c.4.4.5 1 .5 1.6 0 1.3-.4 2.3-1.3 3-.8.7-2.1 1-3.8 1H7.8zm5-8.3c.6 0 1.2-.1 1.6-.5.4-.3.6-.7.6-1.3 0-1.1-.8-1.7-2.3-1.7H9.3v3.5h3.4zm.5 6c.7 0 1.3-.1 1.7-.4.4-.4.6-.9.6-1.5s-.2-1-.7-1.4c-.4-.3-1-.4-2-.4H9.4v3.8h4z" fill-rule="evenodd"/></svg>',bookmark:'<svg width="24" height="24"><path d="M6 4v17l6-4 6 4V4c0-.6-.4-1-1-1H7a1 1 0 00-1 1z" fill-rule="nonzero"/></svg>',"border-style":'<svg width="24" height="24"><g fill-rule="evenodd"><rect width="18" height="2" x="3" y="6" rx="1"/><rect width="2.8" height="2" x="3" y="16" rx="1"/><rect width="2.8" height="2" x="6.8" y="16" rx="1"/><rect width="2.8" height="2" x="10.6" y="16" rx="1"/><rect width="2.8" height="2" x="14.4" y="16" rx="1"/><rect width="2.8" height="2" x="18.2" y="16" rx="1"/><rect width="8" height="2" x="3" y="11" rx="1"/><rect width="8" height="2" x="13" y="11" rx="1"/></g></svg>',"border-width":'<svg width="24" height="24"><g fill-rule="evenodd"><rect width="18" height="5" x="3" y="5" rx="1"/><rect width="18" height="3.5" x="3" y="11.5" rx="1"/><rect width="18" height="2" x="3" y="17" rx="1"/></g></svg>',brightness:'<svg width="24" height="24"><path d="M12 17c.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 01-.7.3 1 1 0 01-.7-.3 1 1 0 01-.3-.7v-1c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3zm0-10a1 1 0 01-.7-.3A1 1 0 0111 6V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 01-.7.3zm7 4c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 01-.7.3h-1a1 1 0 01-.7-.3 1 1 0 01-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1zM7 12c0 .3-.1.5-.3.7a1 1 0 01-.7.3H5a1 1 0 01-.7-.3A1 1 0 014 12c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1c.3 0 .5.1.7.3.2.2.3.4.3.7zm10 3.5l.7.8c.2.1.3.4.3.6 0 .3-.1.6-.3.8a1 1 0 01-.8.3 1 1 0 01-.6-.3l-.8-.7a1 1 0 01-.3-.8c0-.2.1-.5.3-.7a1 1 0 011.4 0zm-10-7l-.7-.8a1 1 0 01-.3-.6c0-.3.1-.6.3-.8.2-.2.5-.3.8-.3.2 0 .5.1.7.3l.7.7c.2.2.3.5.3.8 0 .2-.1.5-.3.7a1 1 0 01-.7.3 1 1 0 01-.8-.3zm10 0a1 1 0 01-.8.3 1 1 0 01-.7-.3 1 1 0 01-.3-.7c0-.3.1-.6.3-.8l.8-.7c.1-.2.4-.3.6-.3.3 0 .6.1.8.3.2.2.3.5.3.8 0 .2-.1.5-.3.7l-.7.7zm-10 7c.2-.2.5-.3.8-.3.2 0 .5.1.7.3a1 1 0 010 1.4l-.8.8a1 1 0 01-.6.3 1 1 0 01-.8-.3 1 1 0 01-.3-.8c0-.2.1-.5.3-.6l.7-.8zM12 8a4 4 0 013.7 2.4 4 4 0 010 3.2A4 4 0 0112 16a4 4 0 01-3.7-2.4 4 4 0 010-3.2A4 4 0 0112 8zm0 6.5c.7 0 1.3-.2 1.8-.7.5-.5.7-1.1.7-1.8s-.2-1.3-.7-1.8c-.5-.5-1.1-.7-1.8-.7s-1.3.2-1.8.7c-.5.5-.7 1.1-.7 1.8s.2 1.3.7 1.8c.5.5 1.1.7 1.8.7z" fill-rule="evenodd"/></svg>',browse:'<svg width="24" height="24"><path d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2h-4v-2h4V8H5v10h4v2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm-8 9.4l-2.3 2.3a1 1 0 11-1.4-1.4l4-4a1 1 0 011.4 0l4 4a1 1 0 01-1.4 1.4L13 13.4V20a1 1 0 01-2 0v-6.6z" fill-rule="nonzero"/></svg>',cancel:'<svg width="24" height="24"><path d="M12 4.6a7.4 7.4 0 110 14.8 7.4 7.4 0 010-14.8zM12 3a9 9 0 100 18 9 9 0 000-18zm0 8L14.8 8l1 1.1-2.7 2.8 2.7 2.7-1.1 1.1-2.7-2.7-2.7 2.7-1-1.1 2.6-2.7-2.7-2.7 1-1.1 2.8 2.7z" fill-rule="nonzero"/></svg>',"cell-background-color":'<svg width="24" height="24"><path d="M15.7 2l1.6 1.6-2.7 2.6 5.9 5.8c.7.7.7 1.7 0 2.4l-6.3 6.1a1.7 1.7 0 01-2.4 0l-6.3-6.1c-.7-.7-.7-1.7 0-2.4L15.7 2zM18 12l-4.5-4L9 12h9zM4 16s2 2.4 2 3.8C6 21 5.1 22 4 22s-2-1-2-2.2C2 18.4 4 16 4 16z"/></svg>',"cell-border-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M5 13v5h2v2H5a2 2 0 01-2-2v-5h2zm8-7V4h6a2 2 0 012 2h-8z" opacity=".2"/><path fill-rule="nonzero" d="M13 4v2H5v7H3V6c0-1.1.9-2 2-2h8zm-2.6 14.1l.1-.1.1.1.2.3.2.2.2.2c.4.6.8 1.2.8 1.7 0 .8-.7 1.5-1.5 1.5S9 21.3 9 20.5c0-.5.4-1.1.8-1.7l.2-.2.2-.2.2-.3z"/><path d="M13 11l-2 2H5v-2h6V6h2z"/><path fill-rule="nonzero" d="M18.4 8l1 1-1.8 1.9 4 4c.5.4.5 1.1 0 1.6l-4.3 4.2a1.2 1.2 0 01-1.6 0l-4.4-4.2c-.4-.5-.4-1.2 0-1.7l7-6.8zm1.6 7l-3-3-3 3h6z"/></g></svg>',"change-case":'<svg width="24" height="24"><path d="M18.4 18.2v-.6c-.5.8-1.3 1.2-2.4 1.2-2.2 0-3.3-1.6-3.3-4.8 0-3.1 1-4.7 3.3-4.7 1.1 0 1.8.3 2.4 1.1v-.6c0-.5.4-.8.8-.8s.8.3.8.8v8.4c0 .5-.4.8-.8.8a.8.8 0 01-.8-.8zm-2-7.4c-1.3 0-1.8.9-1.8 3.2 0 2.4.5 3.3 1.7 3.3 1.3 0 1.8-.9 1.8-3.2 0-2.4-.5-3.3-1.7-3.3zM10 15.7H5.5l-.8 2.6a1 1 0 01-1 .7h-.2a.7.7 0 01-.7-1l4-12a1 1 0 012 0l4 12a.7.7 0 01-.8 1h-.2a1 1 0 01-1-.7l-.8-2.6zm-.3-1.5l-2-6.5-1.9 6.5h3.9z" fill-rule="evenodd"/></svg>',"character-count":'<svg width="24" height="24"><path d="M4 11.5h16v1H4v-1zm4.8-6.8V10H7.7V5.8h-1v-1h2zM11 8.3V9h2v1h-3V7.7l2-1v-.9h-2v-1h3v2.4l-2 1zm6.3-3.4V10h-3.1V9h2.1V8h-2.1V6.8h2.1v-1h-2.1v-1h3.1zM5.8 16.4c0-.5.2-.8.5-1 .2-.2.6-.3 1.2-.3l.8.1c.2 0 .4.2.5.3l.4.4v2.8l.2.3H8.2v-.1-.2l-.6.3H7c-.4 0-.7 0-1-.2a1 1 0 01-.3-.9c0-.3 0-.6.3-.8.3-.2.7-.4 1.2-.4l.6-.2h.3v-.2l-.1-.2a.8.8 0 00-.5-.1 1 1 0 00-.4 0l-.3.4h-1zm2.3.8h-.2l-.2.1-.4.1a1 1 0 00-.4.2l-.2.2.1.3.5.1h.4l.4-.4v-.6zm2-3.4h1.2v1.7l.5-.3h.5c.5 0 .9.1 1.2.5.3.4.5.8.5 1.4 0 .6-.2 1.1-.5 1.5-.3.4-.7.6-1.3.6l-.6-.1-.4-.4v.4h-1.1v-5.4zm1.1 3.3c0 .3 0 .6.2.8a.7.7 0 001.2 0l.2-.8c0-.4 0-.6-.2-.8a.7.7 0 00-.6-.3l-.6.3-.2.8zm6.1-.5c0-.2 0-.3-.2-.4a.8.8 0 00-.5-.2c-.3 0-.5.1-.6.3l-.2.9c0 .3 0 .6.2.8.1.2.3.3.6.3.2 0 .4 0 .5-.2l.2-.4h1.1c0 .5-.3.8-.6 1.1a2 2 0 01-1.3.4c-.5 0-1-.2-1.3-.6a2 2 0 01-.5-1.4c0-.6.1-1.1.5-1.5.3-.4.8-.5 1.4-.5.5 0 1 0 1.2.3.4.3.5.7.5 1.2h-1v-.1z" fill-rule="evenodd"/></svg>',"checklist-rtl":'<svg width="24" height="24"><path d="M5 17h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm14.2 11c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 010-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 010-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 8c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 010-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8z" fill-rule="evenodd"/></svg>',checklist:'<svg width="24" height="24"><path d="M11 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm0-6h8a1 1 0 010 2h-8a1 1 0 010-2zM7.2 16c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 010-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 010-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 8c-.2.3-.7.4-1 0L3.8 6.9a.7.7 0 010-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8z" fill-rule="evenodd"/></svg>',checkmark:'<svg width="24" height="24"><path d="M18.2 5.4a1 1 0 011.6 1.2l-8 12a1 1 0 01-1.5.1l-5-5a1 1 0 111.4-1.4l4.1 4.1 7.4-11z" fill-rule="nonzero"/></svg>',"chevron-down":'<svg width="10" height="10"><path d="M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 010-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8z" fill-rule="nonzero"/></svg>',"chevron-left":'<svg width="10" height="10"><path d="M7.8 1.3L4 5l3.8 3.7c.3.3.3.8 0 1-.4.4-.9.4-1.2 0L2.2 5.7a.8.8 0 010-1.2L6.6.2C7 0 7.4 0 7.8.2c.3.3.3.8 0 1.1z" fill-rule="nonzero"/></svg>',"chevron-right":'<svg width="10" height="10"><path d="M2.2 1.3a.8.8 0 010-1c.4-.4.9-.4 1.2 0l4.4 4.1c.3.4.3.9 0 1.2L3.4 9.8c-.3.3-.8.3-1.2 0a.8.8 0 010-1.1L6 5 2.2 1.3z" fill-rule="nonzero"/></svg>',"chevron-up":'<svg width="10" height="10"><path d="M8.7 7.8L5 4 1.3 7.8c-.3.3-.8.3-1 0a.8.8 0 010-1.2l4.1-4.4c.3-.3.9-.3 1.2 0l4.2 4.4c.3.3.3.9 0 1.2-.3.3-.8.3-1.1 0z" fill-rule="nonzero"/></svg>',close:'<svg width="24" height="24"><path d="M17.3 8.2L13.4 12l3.9 3.8a1 1 0 01-1.5 1.5L12 13.4l-3.8 3.9a1 1 0 01-1.5-1.5l3.9-3.8-3.9-3.8a1 1 0 011.5-1.5l3.8 3.9 3.8-3.9a1 1 0 011.5 1.5z" fill-rule="evenodd"/></svg>',"code-sample":'<svg width="24" height="26"><path d="M7.1 11a2.8 2.8 0 01-.8 2 2.8 2.8 0 01.8 2v1.7c0 .3.1.6.4.8.2.3.5.4.8.4.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.7 0-1.4-.3-2-.8-.5-.6-.8-1.3-.8-2V15c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 01-.4-.4v-.8c0-.2.2-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V9.3c0-.7.3-1.4.8-2 .6-.5 1.3-.8 2-.8.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8V11zm9.8 0V9.3c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 01-.4-.4V7c0-.2.1-.4.4-.4.7 0 1.4.3 2 .8.5.6.8 1.3.8 2V11c0 .3.1.6.4.8.2.3.5.4.8.4.2 0 .4.2.4.4v.8c0 .2-.2.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8v1.7c0 .7-.3 1.4-.8 2-.6.5-1.3.8-2 .8a.4.4 0 01-.4-.4v-.8c0-.2.1-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V15a2.8 2.8 0 01.8-2 2.8 2.8 0 01-.8-2zm-3.3-.4c0 .4-.1.8-.5 1.1-.3.3-.7.5-1.1.5-.4 0-.8-.2-1.1-.5-.4-.3-.5-.7-.5-1.1 0-.5.1-.9.5-1.2.3-.3.7-.4 1.1-.4.4 0 .8.1 1.1.4.4.3.5.7.5 1.2zM12 13c.4 0 .8.1 1.1.5.4.3.5.7.5 1.1 0 1-.1 1.6-.5 2a3 3 0 01-1.1 1c-.4.3-.8.4-1.1.4a.5.5 0 01-.5-.5V17a3 3 0 001-.2l.6-.6c-.6 0-1-.2-1.3-.5-.2-.3-.3-.7-.3-1 0-.5.1-1 .5-1.2.3-.4.7-.5 1.1-.5z" fill-rule="evenodd"/></svg>',"color-levels":'<svg width="24" height="24"><path d="M17.5 11.4A9 9 0 0118 14c0 .5 0 1-.2 1.4 0 .4-.3.9-.5 1.3a6.2 6.2 0 01-3.7 3 5.7 5.7 0 01-3.2 0A5.9 5.9 0 017.6 18a6.2 6.2 0 01-1.4-2.6 6.7 6.7 0 010-2.8c0-.4.1-.9.3-1.3a13.6 13.6 0 012.3-4A20 20 0 0112 4a26.4 26.4 0 013.2 3.4 18.2 18.2 0 012.3 4zm-2 4.5c.4-.7.5-1.4.5-2a7.3 7.3 0 00-1-3.2c.2.6.2 1.2.2 1.9a4.5 4.5 0 01-1.3 3 5.3 5.3 0 01-2.3 1.5 4.9 4.9 0 01-2 .1 4.3 4.3 0 002.4.8 4 4 0 002-.6 4 4 0 001.5-1.5z" fill-rule="evenodd"/></svg>',"color-picker":'<svg width="24" height="24"><path d="M12 3a9 9 0 000 18 1.5 1.5 0 001.1-2.5c-.2-.3-.4-.6-.4-1 0-.8.7-1.5 1.5-1.5H16a5 5 0 005-5c0-4.4-4-8-9-8zm-5.5 9a1.5 1.5 0 110-3 1.5 1.5 0 010 3zm3-4a1.5 1.5 0 110-3 1.5 1.5 0 010 3zm5 0a1.5 1.5 0 110-3 1.5 1.5 0 010 3zm3 4a1.5 1.5 0 110-3 1.5 1.5 0 010 3z" fill-rule="nonzero"/></svg>',"color-swatch-remove-color":'<svg width="24" height="24"><path stroke="#000" stroke-width="2" d="M21 3L3 21" fill-rule="evenodd"/></svg>',"color-swatch":'<svg width="24" height="24"><rect x="3" y="3" width="18" height="18" rx="1" fill-rule="evenodd"/></svg>',"comment-add":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M9 19l3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 00-1 1v10c0 .6.4 1 1 1h4v2zm-2 4v-4H5a3 3 0 01-3-3V6a3 3 0 013-3h14a3 3 0 013 3v10a3 3 0 01-3 3h-6.4L7 23z"/><path d="M13 10h2a1 1 0 010 2h-2v2a1 1 0 01-2 0v-2H9a1 1 0 010-2h2V8a1 1 0 012 0v2z"/></g></svg>',comment:'<svg width="24" height="24"><path fill-rule="nonzero" d="M9 19l3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 00-1 1v10c0 .6.4 1 1 1h4v2zm-2 4v-4H5a3 3 0 01-3-3V6a3 3 0 013-3h14a3 3 0 013 3v10a3 3 0 01-3 3h-6.4L7 23z"/></svg>',contrast:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 015.7 2.3A8 8 0 1112 4zm-6 8a6 6 0 006 6V6a6 6 0 00-6 6z" fill-rule="evenodd"/></svg>',copy:'<svg width="24" height="24"><path d="M16 3H6a2 2 0 00-2 2v11h2V5h10V3zm1 4a2 2 0 012 2v10a2 2 0 01-2 2h-7a2 2 0 01-2-2V9c0-1.2.9-2 2-2h7zm0 12V9h-7v10h7z" fill-rule="nonzero"/></svg>',crop:'<svg width="24" height="24"><path d="M17 8v7h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v2c0 .6-.4 1-1 1a1 1 0 01-1-1v-2H7V9H5a1 1 0 110-2h2V5c0-.6.4-1 1-1s1 .4 1 1v2h7l3-3 1 1-3 3zM9 9v5l5-5H9zm1 6h5v-5l-5 5z" fill-rule="evenodd"/></svg>',"cut-column":'<svg width="24" height="24"><path fill-rule="evenodd" d="M7.2 4.5c.9 0 1.6.4 2.2 1A3.7 3.7 0 0110.5 8v.5l1 1 4-4 1-.5a3.3 3.3 0 012 0c.4 0 .7.3 1 .5L17 8h4v13h-6V10l-1.5 1.5.5.5v4l-2.5-2.5-1 1v.5c0 .4 0 .8-.3 1.2-.2.5-.4.9-.8 1.2-.6.7-1.3 1-2.2 1-.8.2-1.5 0-2-.6l-.5-.8-.2-1c0-.4 0-.8.3-1.2A3.9 3.9 0 017 12.7c.5-.2 1-.3 1.5-.2l1-1-1-1c-.5 0-1 0-1.5-.2-.5-.1-1-.4-1.4-.9-.4-.3-.6-.7-.8-1.2L4.5 7c0-.4 0-.7.2-1 0-.3.3-.6.5-.8.5-.5 1.2-.8 2-.7zm12.3 5h-3v10h3v-10zM8 13.8h-.3l-.4.2a2.8 2.8 0 00-.7.4v.1a2.8 2.8 0 00-.6.8l-.1.4v.7l.2.5.5.2h.7a2.6 2.6 0 00.8-.3 2.4 2.4 0 00.7-.7 2.5 2.5 0 00.3-.8 1.5 1.5 0 000-.8 1 1 0 00-.2-.4 1 1 0 00-.5-.2H8zm3.5-3.7c-.4 0-.7.1-1 .4-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4zM7 5.8h-.4a1 1 0 00-.5.3 1 1 0 00-.2.5v.7a2.5 2.5 0 00.3.8l.2.3h.1l.4.4.4.2.4.1h.7L9 9l.2-.4a1.6 1.6 0 000-.8 2.6 2.6 0 00-.3-.8A2.5 2.5 0 007.7 6l-.4-.1H7z"/></svg>',"cut-row":'<svg width="24" height="24"><path fill-rule="evenodd" d="M22 3v5H9l3 3 2-2h4l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8.7.6 1 1.3 1 2.2.2.8 0 1.5-.6 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 01-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 018.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 010-2c0-.4.3-.7.5-1l2 2V3h14zM8.5 15.3h-.3a2.6 2.6 0 00-.8.4 2.5 2.5 0 00-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 00.8-.3L9 18V18l.4-.4.2-.4.1-.4v-.3-.4a1 1 0 00-.2-.5 1 1 0 00-.4-.2h-.5zm7 0H15a1 1 0 00-.4.3 1 1 0 00-.2.5 1.5 1.5 0 000 .7v.4a2.8 2.8 0 00.5.7h.1a2.8 2.8 0 00.8.6l.4.1h.7l.5-.2.2-.5v-.4-.3a2.6 2.6 0 00-.3-.8 2.4 2.4 0 00-.7-.7 2.5 2.5 0 00-.8-.3h-.3zM12 11.6c-.4 0-.7.1-1 .4-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4zm8.5-7.1h-11v2h11v-2z"/></svg>',cut:'<svg width="24" height="24"><path d="M18 15c.6.7 1 1.4 1 2.3 0 .8-.2 1.5-.7 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 01-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 018.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 010-2c0-.4.3-.7.5-1l6 6 6-6 .5 1a3.3 3.3 0 010 2c0 .4-.3.7-.5 1l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8zm-8.5 2.2l.1-.4v-.3-.4a1 1 0 00-.2-.5 1 1 0 00-.4-.2 1.6 1.6 0 00-.8 0 2.6 2.6 0 00-.8.3 2.5 2.5 0 00-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 00.8-.3 2.8 2.8 0 001-1zm2.5-2.8c.4 0 .7-.1 1-.4.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4s-.7.1-1 .4c-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4zm5.4 4l.2-.5v-.4-.3a2.6 2.6 0 00-.3-.8 2.4 2.4 0 00-.7-.7 2.5 2.5 0 00-.8-.3 1.5 1.5 0 00-.8 0 1 1 0 00-.4.2 1 1 0 00-.2.5 1.5 1.5 0 000 .7v.4l.3.4.3.4a2.8 2.8 0 00.8.5l.4.1h.7l.5-.2z" fill-rule="evenodd"/></svg>',"document-properties":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 00-2 2v14c0 1.1.9 2 2 2h10a2 2 0 002-2V7.6L14.4 3zM17 19H7V5h6v4h4v10z" fill-rule="nonzero"/></svg>',drag:'<svg width="24" height="24"><path d="M13 5h2v2h-2V5zm0 4h2v2h-2V9zM9 9h2v2H9V9zm4 4h2v2h-2v-2zm-4 0h2v2H9v-2zm0 4h2v2H9v-2zm4 0h2v2h-2v-2zM9 5h2v2H9V5z" fill-rule="evenodd"/></svg>',"duplicate-column":'<svg width="24" height="24"><path d="M17 6v16h-7V6h7zm-2 2h-3v12h3V8zm-2-6v2H8v15H6V2h7z"/></svg>',"duplicate-row":'<svg width="24" height="24"><path d="M22 11v7H6v-7h16zm-2 2H8v3h12v-3zm-1-6v2H4v5H2V7h17z"/></svg>',duplicate:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M16 3v2H6v11H4V5c0-1.1.9-2 2-2h10zm3 8h-2V9h-7v10h9a2 2 0 01-2 2h-7a2 2 0 01-2-2V9c0-1.2.9-2 2-2h7a2 2 0 012 2v2z"/><path d="M17 14h1a1 1 0 010 2h-1v1a1 1 0 01-2 0v-1h-1a1 1 0 010-2h1v-1a1 1 0 012 0v1z"/></g></svg>',"edit-block":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19.8 8.8l-9.4 9.4c-.2.2-.5.4-.9.4l-5.4 1.2 1.2-5.4.5-.8 9.4-9.4c.7-.7 1.8-.7 2.5 0l2.1 2.1c.7.7.7 1.8 0 2.5zm-2-.2l1-.9v-.3l-2.2-2.2a.3.3 0 00-.3 0l-1 1L18 8.5zm-1 1l-2.5-2.4-6 6 2.5 2.5 6-6zm-7 7.1l-2.6-2.4-.3.3-.1.2-.7 3 3.1-.6h.1l.4-.5z"/></svg>',"edit-image":'<svg width="24" height="24"><path d="M18 16h2V7a2 2 0 00-2-2H7v2h11v9zM6 17h15a1 1 0 010 2h-1v1a1 1 0 01-2 0v-1H6a2 2 0 01-2-2V7H3a1 1 0 110-2h1V4a1 1 0 112 0v13zm3-5.3l1.3 2 3-4.7 3.7 6H7l2-3.3z" fill-rule="nonzero"/></svg>',"embed-page":'<svg width="24" height="24"><path d="M19 6V5H5v14h2A13 13 0 0119 6zm0 1.4c-.8.8-1.6 2.4-2.2 4.6H19V7.4zm0 5.6h-2.4c-.4 1.8-.6 3.8-.6 6h3v-6zm-4 6c0-2.2.2-4.2.6-6H13c-.7 1.8-1.1 3.8-1.1 6h3zm-4 0c0-2.2.4-4.2 1-6H9.6A12 12 0 008 19h3zM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 01-1-1V4c0-.6.4-1 1-1zm11.8 9c.4-1.9 1-3.4 1.8-4.5a9.2 9.2 0 00-4 4.5h2.2zm-3.4 0a12 12 0 012.8-4 12 12 0 00-5 4h2.2z" fill-rule="nonzero"/></svg>',embed:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 01-1-1V4c0-.6.4-1 1-1zm1 2v14h14V5H5zm4.8 2.6l5.6 4a.5.5 0 010 .8l-5.6 4A.5.5 0 019 16V8a.5.5 0 01.8-.4z" fill-rule="nonzero"/></svg>',emoji:'<svg width="24" height="24"><path d="M9 11c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 00-1 1c0 .6.4 1 1 1zm6 0c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 00-1 1c0 .6.4 1 1 1zm-3 5.5c2.1 0 4-1.5 4.4-3.5H7.6c.5 2 2.3 3.5 4.4 3.5zM12 4a8 8 0 100 16 8 8 0 000-16zm0 14.5a6.5 6.5 0 110-13 6.5 6.5 0 010 13z" fill-rule="nonzero"/></svg>',export:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M14.4 3L18 7v1h-5V5H7v14h9a1 1 0 012 0c0 1-.8 2-1.9 2H7c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2h7.5z"/><path d="M18.1 12c.5 0 .9.4.9 1 0 .5-.3 1-.8 1h-7.3c-.5 0-.9-.4-.9-1 0-.5.3-1 .8-1h7.3z"/><path d="M16.4 9.2a1 1 0 011.4.2l2.4 3.6-2.4 3.6a1 1 0 01-1.7-1v-.2l1.7-2.4-1.6-2.4a1 1 0 01.2-1.4z"/></g></svg>',fill:'<svg width="24" height="26"><path d="M16.6 12l-9-9-1.4 1.4 2.4 2.4-5.2 5.1c-.5.6-.5 1.6 0 2.2L9 19.6a1.5 1.5 0 002.2 0l5.5-5.5c.5-.6.5-1.6 0-2.2zM5.2 13L10 8.2l4.8 4.8H5.2zM19 14.5s-2 2.2-2 3.5c0 1.1.9 2 2 2a2 2 0 002-2c0-1.3-2-3.5-2-3.5z" fill-rule="nonzero"/></svg>',"flip-horizontally":'<svg width="24" height="24"><path d="M14 19h2v-2h-2v2zm4-8h2V9h-2v2zM4 7v10c0 1.1.9 2 2 2h3v-2H6V7h3V5H6a2 2 0 00-2 2zm14-2v2h2a2 2 0 00-2-2zm-7 16h2V3h-2v18zm7-6h2v-2h-2v2zm-4-8h2V5h-2v2zm4 12a2 2 0 002-2h-2v2z" fill-rule="nonzero"/></svg>',"flip-vertically":'<svg width="24" height="24"><path d="M5 14v2h2v-2H5zm8 4v2h2v-2h-2zm4-14H7a2 2 0 00-2 2v3h2V6h10v3h2V6a2 2 0 00-2-2zm2 14h-2v2a2 2 0 002-2zM3 11v2h18v-2H3zm6 7v2h2v-2H9zm8-4v2h2v-2h-2zM5 18c0 1.1.9 2 2 2v-2H5z" fill-rule="nonzero"/></svg>',"format-painter":'<svg width="24" height="24"><path d="M18 5V4c0-.5-.4-1-1-1H5a1 1 0 00-1 1v4c0 .6.5 1 1 1h12c.6 0 1-.4 1-1V7h1v4H9v9c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-7h8V5h-3z" fill-rule="nonzero"/></svg>',format:'<svg width="24" height="24"><path fill-rule="evenodd" d="M17 5a1 1 0 010 2h-4v11a1 1 0 01-2 0V7H7a1 1 0 110-2h10z"/></svg>',fullscreen:'<svg width="24" height="24"><path d="M15.3 10l-1.2-1.3 2.9-3h-2.3a.9.9 0 110-1.7H19c.5 0 .9.4.9.9v4.4a.9.9 0 11-1.8 0V7l-2.9 3zm0 4l3 3v-2.3a.9.9 0 111.7 0V19c0 .5-.4.9-.9.9h-4.4a.9.9 0 110-1.8H17l-3-2.9 1.3-1.2zM10 15.4l-2.9 3h2.3a.9.9 0 110 1.7H5a.9.9 0 01-.9-.9v-4.4a.9.9 0 111.8 0V17l2.9-3 1.2 1.3zM8.7 10L5.7 7v2.3a.9.9 0 01-1.7 0V5c0-.5.4-.9.9-.9h4.4a.9.9 0 010 1.8H7l3 2.9-1.3 1.2z" fill-rule="nonzero"/></svg>',gallery:'<svg width="24" height="24"><path fill-rule="nonzero" d="M5 15.7l2.3-2.2c.3-.3.7-.3 1 0L11 16l5.1-5c.3-.4.8-.4 1 0l2 1.9V8H5v7.7zM5 18V19h3l1.8-1.9-2-2L5 17.9zm14-3l-2.5-2.4-6.4 6.5H19v-4zM4 6h16c.6 0 1 .4 1 1v13c0 .6-.4 1-1 1H4a1 1 0 01-1-1V7c0-.6.4-1 1-1zm6 7a2 2 0 110-4 2 2 0 010 4zM4.5 4h15a.5.5 0 110 1h-15a.5.5 0 010-1zm2-2h11a.5.5 0 110 1h-11a.5.5 0 010-1z"/></svg>',gamma:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 01-1-1V4c0-.6.4-1 1-1zm1 2v14h14V5H5zm6.5 11.8V14L9.2 8.7a5.1 5.1 0 00-.4-.8l-.1-.2H8 8v-1l.3-.1.3-.1h.7a1 1 0 01.6.5l.1.3a8.5 8.5 0 01.3.6l1.9 4.6 2-5.2a1 1 0 011-.6.5.5 0 01.5.6L13 14v2.8a.7.7 0 01-1.4 0z" fill-rule="nonzero"/></svg>',help:'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M12 5.5a6.5 6.5 0 00-6 9 6.3 6.3 0 001.4 2l1 1a6.3 6.3 0 003.6 1 6.5 6.5 0 006-9 6.3 6.3 0 00-1.4-2l-1-1a6.3 6.3 0 00-3.6-1zM12 4a7.8 7.8 0 015.7 2.3A8 8 0 1112 4z"/><path d="M9.6 9.7a.7.7 0 01-.7-.8c0-1.1 1.5-1.8 3.2-1.8 1.8 0 3.2.8 3.2 2.4 0 1.4-.4 2.1-1.5 2.8-.2 0-.3.1-.3.2a2 2 0 00-.8.8.8.8 0 01-1.4-.6c.3-.7.8-1 1.3-1.5l.4-.2c.7-.4.8-.6.8-1.5 0-.5-.6-.9-1.7-.9-.5 0-1 .1-1.4.3-.2 0-.3.1-.3.2v-.2c0 .4-.4.8-.8.8z" fill-rule="nonzero"/><circle cx="12" cy="16" r="1"/></g></svg>',"highlight-bg-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path id="tox-icon-highlight-bg-color__color" d="M3 18h18v3H3z"/><path fill-rule="nonzero" d="M7.7 16.7H3l3.3-3.3-.7-.8L10.2 8l4 4.1-4 4.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zm5-7.5L11 7.4l3-2.9a2 2 0 012.6 0L18 6c.7.7.7 2 0 2.7l-2.9 2.9-1.8-1.8-.5-.6"/></g></svg>',home:'<svg width="24" height="24"><path fill-rule="nonzero" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>',"horizontal-rule":'<svg width="24" height="24"><path d="M4 11h16v2H4z" fill-rule="evenodd"/></svg>',"image-options":'<svg width="24" height="24"><path d="M6 10a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2zm12 0a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2zm-6 0a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2z" fill-rule="nonzero"/></svg>',image:'<svg width="24" height="24"><path d="M5 15.7l3.3-3.2c.3-.3.7-.3 1 0L12 15l4.1-4c.3-.4.8-.4 1 0l2 1.9V5H5v10.7zM5 18V19h3l2.8-2.9-2-2L5 17.9zm14-3l-2.5-2.4-6.4 6.5H19v-4zM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 01-1-1V4c0-.6.4-1 1-1zm6 8a2 2 0 100-4 2 2 0 000 4z" fill-rule="nonzero"/></svg>',indent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 110-2zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 010-2zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 010-2zm-5 4h12a1 1 0 010 2H7a1 1 0 010-2zm-2.6-3.8L6.2 12l-1.8-1.2a1 1 0 011.2-1.6l3 2a1 1 0 010 1.6l-3 2a1 1 0 11-1.2-1.6z" fill-rule="evenodd"/></svg>',info:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 015.7 2.3A8 8 0 1112 4zm-1 3v2h2V7h-2zm3 10v-1h-1v-5h-3v1h1v4h-1v1h4z" fill-rule="evenodd"/></svg>',"insert-character":'<svg width="24" height="24"><path d="M15 18h4l1-2v4h-6v-3.3l1.4-1a6 6 0 001.8-2.9 6.3 6.3 0 00-.1-4.1 5.8 5.8 0 00-3-3.2c-.6-.3-1.3-.5-2.1-.5a5.1 5.1 0 00-3.9 1.8 6.3 6.3 0 00-1.3 6 6.2 6.2 0 001.8 3l1.4.9V20H4v-4l1 2h4v-.5l-2-1L5.4 15A6.5 6.5 0 014 11c0-1 .2-1.9.6-2.7A7 7 0 016.3 6C7.1 5.4 8 5 9 4.5c1-.3 2-.5 3.1-.5a8.8 8.8 0 015.7 2 7 7 0 011.7 2.3 6 6 0 01.2 4.8c-.2.7-.6 1.3-1 1.9a7.6 7.6 0 01-3.6 2.5v.5z" fill-rule="evenodd"/></svg>',"insert-time":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M12 19a7 7 0 100-14 7 7 0 000 14zm0 2a9 9 0 110-18 9 9 0 010 18z"/><path d="M16 12h-3V7c0-.6-.4-1-1-1a1 1 0 00-1 1v7h5c.6 0 1-.4 1-1s-.4-1-1-1z"/></g></svg>',invert:'<svg width="24" height="24"><path d="M18 19.3L16.5 18a5.8 5.8 0 01-3.1 1.9 6.1 6.1 0 01-5.5-1.6A5.8 5.8 0 016 14v-.3l.1-1.2A13.9 13.9 0 017.7 9l-3-3 .7-.8 2.8 2.9 9 8.9 1.5 1.6-.7.6zm0-5.5v.3l-.1 1.1-.4 1-1.2-1.2a4.3 4.3 0 00.2-1v-.2c0-.4 0-.8-.2-1.3l-.5-1.4a14.8 14.8 0 00-3-4.2L12 6a26.1 26.1 0 00-2.2 2.5l-1-1a20.9 20.9 0 012.9-3.3L12 4l1 .8a22.2 22.2 0 014 5.4c.6 1.2 1 2.4 1 3.6z" fill-rule="evenodd"/></svg>',italic:'<svg width="24" height="24"><path d="M16.7 4.7l-.1.9h-.3c-.6 0-1 0-1.4.3-.3.3-.4.6-.5 1.1l-2.1 9.8v.6c0 .5.4.8 1.4.8h.2l-.2.8H8l.2-.8h.2c1.1 0 1.8-.5 2-1.5l2-9.8.1-.5c0-.6-.4-.8-1.4-.8h-.3l.2-.9h5.8z" fill-rule="evenodd"/></svg>',language:'<svg width="24" height="24"><path d="M12 3a9 9 0 110 18 9 9 0 010-18zm4.3 13.3c-.5 1-1.2 2-2 2.9a7.5 7.5 0 003.2-2.1l-.2-.2a6 6 0 00-1-.6zm-8.6 0c-.5.2-.9.5-1.2.8.9 1 2 1.7 3.2 2a10 10 0 01-2-2.8zm3.6-.8c-.8 0-1.6.1-2.2.3.5 1 1.2 1.9 2.1 2.7zm1.5 0v3c.9-.8 1.6-1.7 2.1-2.7-.6-.2-1.4-.3-2.1-.3zm-6-2.7H4.5c.2 1 .5 2.1 1 3h.3l1.3-1a10 10 0 01-.3-2zm12.7 0h-2.3c0 .7-.1 1.4-.3 2l1.6 1.1c.5-1 .9-2 1-3.1zm-3.8 0h-3V14c1 0 2 .1 2.7.4.2-.5.3-1 .3-1.6zm-4.4 0h-3l.3 1.6c.8-.3 1.7-.4 2.7-.4v-1.3zm-5.5-5c-.7 1-1.1 2.2-1.3 3.5h2.3c0-1 .2-1.8.5-2.6l-1.5-1zm2.9 1.4v.1c-.2.6-.4 1.3-.4 2h3V9.4c-1 0-1.8-.1-2.6-.3zm6.6 0h-.1l-2.4.3v1.8h3l-.5-2.1zm3-1.4l-.3.1-1.3.8c.3.8.5 1.6.5 2.6h2.3a7.5 7.5 0 00-1.3-3.5zm-9 0l2 .2V5.5a9 9 0 00-2 2.2zm3.5-2.3V8c.6 0 1.3 0 1.9-.2a9 9 0 00-2-2.3zm-3-.7h-.1c-1.1.4-2.1 1-3 1.8l1.2.7a10 10 0 011.9-2.5zm4.4 0l.1.1a10 10 0 011.8 2.4l1.1-.7a7.5 7.5 0 00-3-1.8z"/></svg>',"line-height":'<svg width="24" height="24"><path d="M21 5a1 1 0 01.1 2H13a1 1 0 01-.1-2H21zm0 4a1 1 0 01.1 2H13a1 1 0 01-.1-2H21zm0 4a1 1 0 01.1 2H13a1 1 0 01-.1-2H21zm0 4a1 1 0 01.1 2H13a1 1 0 01-.1-2H21zM7 3.6l3.7 3.7a1 1 0 01-1.3 1.5h-.1L8 7.3v9.2l1.3-1.3a1 1 0 011.3 0h.1c.4.4.4 1 0 1.3v.1L7 20.4l-3.7-3.7a1 1 0 011.3-1.5h.1L6 16.7V7.4L4.7 8.7a1 1 0 01-1.3 0h-.1a1 1 0 010-1.3v-.1L7 3.6z"/></svg>',line:'<svg width="24" height="24"><path d="M15 9l-8 8H4v-3l8-8 3 3zm1-1l-3-3 1-1h1c-.2 0 0 0 0 0l2 2s0 .2 0 0v1l-1 1zM4 18h16v2H4v-2z" fill-rule="evenodd"/></svg>',link:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 011.4 1.4l-2.1 2a2 2 0 102.7 2.8l4.8-4.8a1 1 0 000-1.4 1 1 0 111.4-1.3 2.9 2.9 0 010 4L9.6 20a3.9 3.9 0 01-5.5-5.5l2-2zm11.6-.6a1 1 0 01-1.4-1.4l2-2a2 2 0 10-2.6-2.8L11 10.3a1 1 0 000 1.4A1 1 0 119.6 13a2.9 2.9 0 010-4L14.4 4a3.9 3.9 0 015.5 5.5l-2 2z" fill-rule="nonzero"/></svg>',"list-bull-circle":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M11 16a2 2 0 100-4 2 2 0 000 4zm0 1a3 3 0 110-6 3 3 0 010 6zM11 26a2 2 0 100-4 2 2 0 000 4zm0 1a3 3 0 110-6 3 3 0 010 6zM11 36a2 2 0 100-4 2 2 0 000 4zm0 1a3 3 0 110-6 3 3 0 010 6z" fill-rule="nonzero"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-default":'<svg width="48" height="48"><g fill-rule="evenodd"><circle cx="11" cy="14" r="3"/><circle cx="11" cy="24" r="3"/><circle cx="11" cy="34" r="3"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-square":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M8 11h6v6H8zM8 21h6v6H8zM8 31h6v6H8z"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-num-default-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 17v-4.8l-1.6 1v-1.1l1.6-1h1.2V17zM33.3 17.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm1.7 5.7c0-1.2 1-2 2.2-2 1.3 0 2.1.8 2.1 1.8 0 .7-.3 1.2-1.3 2.2l-1.2 1v.2h2.6v1h-4.3v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H35zm-1.7 4.3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm3.2 7.3v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H35c0-1.1 1-1.8 2.2-1.8 1.2 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.7.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .6 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7zm-3.3 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7z"/></g></svg>',"list-num-default":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10 17v-4.8l-1.5 1v-1.1l1.6-1h1.2V17h-1.2zm3.6.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zm-5 5.7c0-1.2.8-2 2.1-2s2.1.8 2.1 1.8c0 .7-.3 1.2-1.4 2.2l-1.1 1v.2h2.6v1H8.6v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H8.5zm6.3 4.3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zM10 34.4v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H8.6c0-1.1 1-1.8 2.2-1.8 1.3 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.8.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .7 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7zm4.7 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7z"/></g></svg>',"list-num-lower-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M36.5 16c-.9 0-1.5-.5-1.5-1.3s.6-1.3 1.8-1.4h1v-.4c0-.4-.2-.6-.7-.6-.4 0-.7.1-.8.4h-1.1c0-.8.8-1.4 2-1.4S39 12 39 13V16h-1.2v-.6c-.3.4-.8.7-1.4.7zm.4-.8c.6 0 1-.4 1-.9V14h-1c-.5.1-.7.3-.7.6 0 .4.3.6.7.6zM33.1 16.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zM37.7 26c-.7 0-1.2-.2-1.5-.7v.7H35v-6.3h1.2v2.5c.3-.5.8-.9 1.5-.9 1.1 0 1.8 1 1.8 2.4 0 1.5-.7 2.4-1.8 2.4zm-.5-3.6c-.6 0-1 .5-1 1.3s.4 1.4 1 1.4c.7 0 1-.6 1-1.4 0-.8-.3-1.3-1-1.3zM33.2 26.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zm6 7h-1c-.1-.5-.4-.8-1-.8s-1 .5-1 1.4c0 1 .4 1.4 1 1.4.5 0 .9-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7zm-6.1 3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.3 15.2c.5 0 1-.4 1-.9V14h-1c-.5.1-.8.3-.8.6 0 .4.3.6.8.6zm-.4.9c-1 0-1.5-.6-1.5-1.4 0-.8.6-1.3 1.7-1.4h1.1v-.4c0-.4-.2-.6-.7-.6-.5 0-.8.1-.9.4h-1c0-.8.8-1.4 2-1.4 1.1 0 1.8.6 1.8 1.6V16h-1.1v-.6h-.1c-.2.4-.7.7-1.3.7zm4.6 0c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm-3.2 10c-.6 0-1.2-.3-1.4-.8v.7H8.5v-6.3H10v2.5c.3-.5.8-.9 1.4-.9 1.2 0 1.9 1 1.9 2.4 0 1.5-.7 2.4-1.9 2.4zm-.4-3.7c-.7 0-1 .5-1 1.3s.3 1.4 1 1.4c.6 0 1-.6 1-1.4 0-.8-.4-1.3-1-1.3zm4 3.7c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm-2.2 7h-1.2c0-.5-.4-.8-.9-.8-.6 0-1 .5-1 1.4 0 1 .4 1.4 1 1.4.5 0 .8-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7zm1.8 3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-greek-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 16c-1.2 0-2-.8-2-2.3 0-1.5.8-2.4 2-2.4.6 0 1 .4 1.3 1v-.9H40v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1-.7h-.2c-.2.4-.7.8-1.3.8zm.3-1c.6 0 1-.5 1-1.3s-.4-1.3-1-1.3-1 .5-1 1.3.4 1.4 1 1.4zM33.3 16.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zM36 21.9c0-1.5.8-2.3 2.1-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.9 1.3.9.3 1.3.8 1.3 1.7 0 1.2-.7 1.9-1.8 1.9-.6 0-1.1-.3-1.4-.8v2.2H36V22zm1.8 1.2v-1h.3c.5 0 .9-.2.9-.7 0-.5-.3-.8-.9-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1 1.3s1-.4 1-1-.4-1-1.2-1h-.3zM33.3 26.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zM37.1 34.6L34.8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.2.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2zm.7 1a2 2 0 00-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1zM33.3 36.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-greek":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.5 15c.7 0 1-.5 1-1.3s-.3-1.3-1-1.3c-.5 0-.9.5-.9 1.3s.4 1.4 1 1.4zm-.3 1c-1.1 0-1.8-.8-1.8-2.3 0-1.5.7-2.4 1.8-2.4.7 0 1.1.4 1.3 1h.1v-.9h1.2v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1.1-.7h-.1c-.2.4-.7.8-1.4.8zm5 .1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zm-4.9 7v-1h.3c.6 0 1-.2 1-.7 0-.5-.4-.8-1-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1.1 1.3.6 0 1-.4 1-1s-.5-1-1.3-1h-.3zM8.6 22c0-1.5.7-2.3 2-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.8 1.3.8.3 1.3.8 1.3 1.7 0 1.2-.8 1.9-1.9 1.9-.6 0-1.1-.3-1.3-.8v2.2H8.5V22zm6.2 4.2c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zm-4.5 8.5L8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.1.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2zm.7 1a2 2 0 00-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1zm4.5.5c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M32.9 16v-1.2h-1.3V16H33zm0 10v-1.2h-1.3V26H33zm0 10v-1.2h-1.3V36H33z"/><path fill-rule="nonzero" d="M36 21h-1.5v5H36zM36 31h-1.5v5H36zM39 21h-1.5v5H39zM39 31h-1.5v5H39zM42 31h-1.5v5H42zM36 11h-1.5v5H36zM36 19h-1.5v1H36zM36 29h-1.5v1H36zM39 19h-1.5v1H39zM39 29h-1.5v1H39zM42 29h-1.5v1H42zM36 9h-1.5v1H36z"/></g></svg>',"list-num-lower-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 16v-1.2h1.3V16H15zm0 10v-1.2h1.3V26H15zm0 10v-1.2h1.3V36H15z"/><path fill-rule="nonzero" d="M12 21h1.5v5H12zM12 31h1.5v5H12zM9 21h1.5v5H9zM9 31h1.5v5H9zM6 31h1.5v5H6zM12 11h1.5v5H12zM12 19h1.5v1H12zM12 29h1.5v1H12zM9 19h1.5v1H9zM9 29h1.5v1H9zM6 29h1.5v1H6zM12 9h1.5v1H12z"/></g></svg>',"list-num-upper-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M39.3 17l-.5-1.4h-2l-.5 1.4H35l2-6h1.6l2 6h-1.3zm-1.6-4.7l-.7 2.3h1.6l-.8-2.3zM33.4 17c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zm4.7 9.9h-2.7v-6H38c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7zm-1.4-5v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1zm0 4h1.1c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9h-1.1V26zM33 27.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm4.9 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2zm-4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-upper-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M12.6 17l-.5-1.4h-2L9.5 17H8.3l2-6H12l2 6h-1.3zM11 12.3l-.7 2.3h1.6l-.8-2.3zm4.7 4.8c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zM11.4 27H8.7v-6h2.6c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7zM10 22v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1zm0 4H11c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9H10V26zm5.4 1.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm-4.1 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2zm4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-upper-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M31.6 17v-1.2H33V17h-1.3zm0 10v-1.2H33V27h-1.3zm0 10v-1.2H33V37h-1.3z"/><path fill-rule="nonzero" d="M34.5 20H36v7h-1.5zM34.5 30H36v7h-1.5zM37.5 20H39v7h-1.5zM37.5 30H39v7h-1.5zM40.5 30H42v7h-1.5zM34.5 10H36v7h-1.5z"/></g></svg>',"list-num-upper-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 17v-1.2h1.3V17H15zm0 10v-1.2h1.3V27H15zm0 10v-1.2h1.3V37H15z"/><path fill-rule="nonzero" d="M12 20h1.5v7H12zM12 30h1.5v7H12zM9 20h1.5v7H9zM9 30h1.5v7H9zM6 30h1.5v7H6zM12 10h1.5v7H12z"/></g></svg>',lock:'<svg width="24" height="24"><path d="M16.3 11c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H8V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h.3zM10 8v3h4V8a1 1 0 00-.3-.7A1 1 0 0013 7h-2a1 1 0 00-.7.3 1 1 0 00-.3.7z" fill-rule="evenodd"/></svg>',ltr:'<svg width="24" height="24"><path d="M11 5h7a1 1 0 010 2h-1v11a1 1 0 01-2 0V7h-2v11a1 1 0 01-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 017.8 10a3.3 3.3 0 010-2.8 3.4 3.4 0 011.8-1.8L11 5zM4.4 16.2L6.2 15l-1.8-1.2a1 1 0 011.2-1.6l3 2a1 1 0 010 1.6l-3 2a1 1 0 11-1.2-1.6z" fill-rule="evenodd"/></svg>',"more-drawer":'<svg width="24" height="24"><path d="M6 10a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2zm12 0a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2zm-6 0a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2z" fill-rule="nonzero"/></svg>',"new-document":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 00-2 2v14c0 1.1.9 2 2 2h10a2 2 0 002-2V7.6L14.4 3zM17 19H7V5h6v4h4v10z" fill-rule="nonzero"/></svg>',"new-tab":'<svg width="24" height="24"><path d="M15 13l2-2v8H5V7h8l-2 2H7v8h8v-4zm4-8v5.5l-2-2-5.6 5.5H10v-1.4L15.5 7l-2-2H19z" fill-rule="evenodd"/></svg>',"non-breaking":'<svg width="24" height="24"><path d="M11 11H8a1 1 0 110-2h3V6c0-.6.4-1 1-1s1 .4 1 1v3h3c.6 0 1 .4 1 1s-.4 1-1 1h-3v3c0 .6-.4 1-1 1a1 1 0 01-1-1v-3zm10 4v5H3v-5c0-.6.4-1 1-1s1 .4 1 1v3h14v-3c0-.6.4-1 1-1s1 .4 1 1z" fill-rule="evenodd"/></svg>',notice:'<svg width="24" height="24"><path d="M17.8 9.8L15.4 4 20 8.5v7L15.5 20h-7L4 15.5v-7L8.5 4h7l2.3 5.8zm0 0l2.2 5.7-2.3-5.8zM13 17v-2h-2v2h2zm0-4V7h-2v6h2z" fill-rule="evenodd"/></svg>',"ordered-list-rtl":'<svg width="24" height="24"><path d="M6 17h8a1 1 0 010 2H6a1 1 0 010-2zm0-6h8a1 1 0 010 2H6a1 1 0 010-2zm0-6h8a1 1 0 010 2H6a1 1 0 110-2zm13-1v3.5a.5.5 0 11-1 0V5h-.5a.5.5 0 110-1H19zm-1 8.8l.2.2h1.3a.5.5 0 110 1h-1.6a1 1 0 01-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 00-.2-.2h-1.3a.5.5 0 01-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3zm2 4.2v2c0 .6-.4 1-1 1h-1.5a.5.5 0 010-1h1.2a.3.3 0 100-.6h-1.3a.4.4 0 110-.8h1.3a.3.3 0 000-.6h-1.2a.5.5 0 110-1H19c.6 0 1 .4 1 1z" fill-rule="evenodd"/></svg>',"ordered-list":'<svg width="24" height="24"><path d="M10 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 110-2zM6 4v3.5c0 .3-.2.5-.5.5a.5.5 0 01-.5-.5V5h-.5a.5.5 0 010-1H6zm-1 8.8l.2.2h1.3c.3 0 .5.2.5.5s-.2.5-.5.5H4.9a1 1 0 01-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 00-.2-.2H4.5a.5.5 0 01-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3zM7 17v2c0 .6-.4 1-1 1H4.5a.5.5 0 010-1h1.2c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.4a.4.4 0 110-.8h1.3c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.5a.5.5 0 110-1H6c.6 0 1 .4 1 1z" fill-rule="evenodd"/></svg>',orientation:'<svg width="24" height="24"><path d="M7.3 6.4L1 13l6.4 6.5 6.5-6.5-6.5-6.5zM3.7 13l3.6-3.7L11 13l-3.7 3.7-3.6-3.7zM12 6l2.8 2.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0L9.2 5.7a.8.8 0 010-1.2L13.6.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L12 4h1a9 9 0 11-4.3 16.9l1.5-1.5A7 7 0 1013 6h-1z" fill-rule="nonzero"/></svg>',outdent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 110-2zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 010-2zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 010-2zm-5 4h12a1 1 0 010 2H7a1 1 0 010-2zm1.6-3.8a1 1 0 01-1.2 1.6l-3-2a1 1 0 010-1.6l3-2a1 1 0 011.2 1.6L6.8 12l1.8 1.2z" fill-rule="evenodd"/></svg>',"page-break":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M5 11c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 010-2zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 010-2zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 010-2zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1h-1a1 1 0 010-2zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 010-2zM7 3v5h10V3c0-.6.4-1 1-1s1 .4 1 1v7H5V3c0-.6.4-1 1-1s1 .4 1 1zM6 22a1 1 0 01-1-1v-7h14v7c0 .6-.4 1-1 1a1 1 0 01-1-1v-5H7v5c0 .6-.4 1-1 1z"/></g></svg>',paragraph:'<svg width="24" height="24"><path fill-rule="evenodd" d="M10 5h7a1 1 0 010 2h-1v11a1 1 0 01-2 0V7h-2v11a1 1 0 01-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 016.8 10a3.3 3.3 0 010-2.8 3.4 3.4 0 011.8-1.8L10 5z"/></svg>',"paste-column-after":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 012.8 2H18c1 0 2 .8 2 1.9V7h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 01-1-1V5H6v13h7v2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0112 1zm8 7v12h-6V8h6zm-1.5 1.5h-3v9h3v-9zM12 3a1 1 0 100 2 1 1 0 000-2z"/></svg>',"paste-column-before":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 012.8 2H18c1 0 2 .8 2 1.9V18c0 1-.8 2-1.9 2H11v-2h7V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 01-1-1V5H6v2H4V5c0-1 .8-2 1.9-2H9.2A3 3 0 0112 1zm-2 7v12H4V8h6zM8.5 9.5h-3v9h3v-9zM12 3a1 1 0 100 2 1 1 0 000-2z"/></svg>',"paste-row-after":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 012.8 2H18c1 0 2 .8 2 1.9V11h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 01-1-1V5H6v13h14c0 1-.8 2-1.9 2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0112 1zm10 11v5H8v-5h14zm-1.5 1.5h-11v2h11v-2zM12 3a1 1 0 100 2 1 1 0 000-2z"/></svg>',"paste-row-before":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 012.8 2H18c1 0 2 .8 2 1.9V7h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 01-1-1V5H6v13h12v-4h2v4c0 1-.8 2-1.9 2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0112 1zm10 7v5H8V8h14zm-1.5 1.5h-11v2h11v-2zM12 3a1 1 0 100 2 1 1 0 000-2z"/></svg>',"paste-text":'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 01-1-1V5H6v13h3V9h9zM9 20H6a2 2 0 01-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0112 1a3 3 0 012.8 2H18a2 2 0 012 2v4h1v12H9v-1zm1.5-9.5v9h9v-9h-9zM12 3a1 1 0 00-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1zm0 9h6v2h-.5l-.5-1h-1v4h.8v1h-3.6v-1h.8v-4h-1l-.5 1H12v-2z" fill-rule="nonzero"/></svg>',paste:'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 01-1-1V5H6v13h3V9h9zM9 20H6a2 2 0 01-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0112 1a3 3 0 012.8 2H18a2 2 0 012 2v4h1v12H9v-1zm1.5-9.5v9h9v-9h-9zM12 3a1 1 0 00-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1z" fill-rule="nonzero"/></svg>',"permanent-pen":'<svg width="24" height="24"><path d="M10.5 17.5L8 20H3v-3l3.5-3.5a2 2 0 010-3L14 3l1 1-7.3 7.3a1 1 0 000 1.4l3.6 3.6c.4.4 1 .4 1.4 0L20 9l1 1-7.6 7.6a2 2 0 01-2.8 0l-.1-.1z" fill-rule="nonzero"/></svg>',plus:'<svg width="24" height="24"><path d="M12 4c.5 0 1 .4 1 .9V11h6a1 1 0 01.1 2H13v6a1 1 0 01-2 .1V13H5a1 1 0 01-.1-2H11V5c0-.6.4-1 1-1z"/></svg>',preferences:'<svg width="24" height="24"><path d="M20.1 13.5l-1.9.2a5.8 5.8 0 01-.6 1.5l1.2 1.5c.4.4.3 1 0 1.4l-.7.7a1 1 0 01-1.4 0l-1.5-1.2a6.2 6.2 0 01-1.5.6l-.2 1.9c0 .5-.5.9-1 .9h-1a1 1 0 01-1-.9l-.2-1.9a5.8 5.8 0 01-1.5-.6l-1.5 1.2a1 1 0 01-1.4 0l-.7-.7a1 1 0 010-1.4l1.2-1.5a6.2 6.2 0 01-.6-1.5l-1.9-.2a1 1 0 01-.9-1v-1c0-.5.4-1 .9-1l1.9-.2a5.8 5.8 0 01.6-1.5L5.2 7.3a1 1 0 010-1.4l.7-.7a1 1 0 011.4 0l1.5 1.2a6.2 6.2 0 011.5-.6l.2-1.9c0-.5.5-.9 1-.9h1c.5 0 1 .4 1 .9l.2 1.9a5.8 5.8 0 011.5.6l1.5-1.2a1 1 0 011.4 0l.7.7c.3.4.4 1 0 1.4l-1.2 1.5a6.2 6.2 0 01.6 1.5l1.9.2c.5 0 .9.5.9 1v1c0 .5-.4 1-.9 1zM12 15a3 3 0 100-6 3 3 0 000 6z" fill-rule="evenodd"/></svg>',preview:'<svg width="24" height="24"><path d="M3.5 12.5c.5.8 1.1 1.6 1.8 2.3 2 2 4.2 3.2 6.7 3.2s4.7-1.2 6.7-3.2a16.2 16.2 0 002.1-2.8 15.7 15.7 0 00-2.1-2.8c-2-2-4.2-3.2-6.7-3.2a9.3 9.3 0 00-6.7 3.2A16.2 16.2 0 003.2 12c0 .2.2.3.3.5zm-2.4-1l.7-1.2L4 7.8C6.2 5.4 8.9 4 12 4c3 0 5.8 1.4 8.1 3.8a18.2 18.2 0 012.8 3.7v1l-.7 1.2-2.1 2.5c-2.3 2.4-5 3.8-8.1 3.8-3 0-5.8-1.4-8.1-3.8a18.2 18.2 0 01-2.8-3.7 1 1 0 010-1zm12-3.3a2 2 0 102.7 2.6 4 4 0 11-2.6-2.6z" fill-rule="nonzero"/></svg>',print:'<svg width="24" height="24"><path d="M18 8H6a3 3 0 00-3 3v6h2v3h14v-3h2v-6a3 3 0 00-3-3zm-1 10H7v-4h10v4zm.5-5c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zm.5-8H6v2h12V5z" fill-rule="nonzero"/></svg>',quote:'<svg width="24" height="24"><path d="M7.5 17h.9c.4 0 .7-.2.9-.6L11 13V8c0-.6-.4-1-1-1H6a1 1 0 00-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 00.8 1.3zm8 0h.9c.4 0 .7-.2.9-.6L19 13V8c0-.6-.4-1-1-1h-4a1 1 0 00-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 00.8 1.3z" fill-rule="nonzero"/></svg>',redo:'<svg width="24" height="24"><path d="M17.6 10H12c-2.8 0-4.4 1.4-4.9 3.5-.4 2 .3 4 1.4 4.6a1 1 0 11-1 1.8c-2-1.2-2.9-4.1-2.3-6.8.6-3 3-5.1 6.8-5.1h5.6l-3.3-3.3a1 1 0 111.4-1.4l5 5a1 1 0 010 1.4l-5 5a1 1 0 01-1.4-1.4l3.3-3.3z" fill-rule="nonzero"/></svg>',reload:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M5 22.1l-1.2-4.7v-.2a1 1 0 011-1l5 .4a1 1 0 11-.2 2l-2.2-.2a7.8 7.8 0 008.4.2 7.5 7.5 0 003.5-6.4 1 1 0 112 0 9.5 9.5 0 01-4.5 8 9.9 9.9 0 01-10.2 0l.4 1.4a1 1 0 11-2 .5zM13.6 7.4c0-.5.5-1 1-.9l2.8.2a8 8 0 00-9.5-1 7.5 7.5 0 00-3.6 7 1 1 0 01-2 0 9.5 9.5 0 014.5-8.6 10 10 0 0110.9.3l-.3-1a1 1 0 012-.5l1.1 4.8a1 1 0 01-1 1.2l-5-.4a1 1 0 01-.9-1z"/></g></svg>',"remove-formatting":'<svg width="24" height="24"><path d="M13.2 6a1 1 0 010 .2l-2.6 10a1 1 0 01-1 .8h-.2a.8.8 0 01-.8-1l2.6-10H8a1 1 0 110-2h9a1 1 0 010 2h-3.8zM5 18h7a1 1 0 010 2H5a1 1 0 010-2zm13 1.5L16.5 18 15 19.5a.7.7 0 01-1-1l1.5-1.5-1.5-1.5a.7.7 0 011-1l1.5 1.5 1.5-1.5a.7.7 0 011 1L17.5 17l1.5 1.5a.7.7 0 01-1 1z" fill-rule="evenodd"/></svg>',remove:'<svg width="24" height="24"><path d="M16 7h3a1 1 0 010 2h-1v9a3 3 0 01-3 3H9a3 3 0 01-3-3V9H5a1 1 0 110-2h3V6a3 3 0 013-3h2a3 3 0 013 3v1zm-2 0V6c0-.6-.4-1-1-1h-2a1 1 0 00-1 1v1h4zm2 2H8v9c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V9zm-7 3a1 1 0 012 0v4a1 1 0 01-2 0v-4zm4 0a1 1 0 012 0v4a1 1 0 01-2 0v-4z" fill-rule="nonzero"/></svg>',"resize-handle":'<svg width="10" height="10"><g fill-rule="nonzero"><path d="M8.1 1.1A.5.5 0 119 2l-7 7A.5.5 0 111 8l7-7zM8.1 5.1A.5.5 0 119 6l-3 3A.5.5 0 115 8l3-3z"/></g></svg>',resize:'<svg width="24" height="24"><path d="M4 5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h6c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 01-.7.3H7.4L18 16.6V13c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v6c0 .3-.1.5-.3.7a1 1 0 01-.7.3h-6a1 1 0 01-.7-.3 1 1 0 01-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3.6L6 7.4V11c0 .3-.1.5-.3.7a1 1 0 01-.7.3 1 1 0 01-.7-.3A1 1 0 014 11V5z" fill-rule="evenodd"/></svg>',"restore-draft":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M17 13c0 .6-.4 1-1 1h-4V8c0-.6.4-1 1-1s1 .4 1 1v4h2c.6 0 1 .4 1 1z"/><path d="M4.7 10H9a1 1 0 010 2H3a1 1 0 01-1-1V5a1 1 0 112 0v3l2.5-2.4a9.2 9.2 0 0110.8-1.5A9 9 0 0113.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 111.3-1.5 7.2 7.2 0 0011.6-3.7 7 7 0 00-3.5-7.7A7.2 7.2 0 008 7L4.7 10z" fill-rule="nonzero"/></g></svg>',"rotate-left":'<svg width="24" height="24"><path d="M4.7 10H9a1 1 0 010 2H3a1 1 0 01-1-1V5a1 1 0 112 0v3l2.5-2.4a9.2 9.2 0 0110.8-1.5A9 9 0 0113.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 111.3-1.5 7.2 7.2 0 0011.6-3.7 7 7 0 00-3.5-7.7A7.2 7.2 0 008 7L4.7 10z" fill-rule="nonzero"/></svg>',"rotate-right":'<svg width="24" height="24"><path d="M20 8V5a1 1 0 012 0v6c0 .6-.4 1-1 1h-6a1 1 0 010-2h4.3L16 7A7.2 7.2 0 007.7 6a7 7 0 003 13.1c1.9.1 3.7-.5 5-1.7a1 1 0 011.4 1.5A9.2 9.2 0 012.2 14c-.9-3.9 1-8 4.5-9.9 3.5-1.9 8-1.3 10.8 1.5L20 8z" fill-rule="nonzero"/></svg>',rtl:'<svg width="24" height="24"><path d="M8 5h8v2h-2v12h-2V7h-2v12H8v-7c-.5 0-1 0-1.4-.3A3.4 3.4 0 014.8 10a3.3 3.3 0 010-2.8 3.4 3.4 0 011.8-1.8L8 5zm12 11.2a1 1 0 11-1 1.6l-3-2a1 1 0 010-1.6l3-2a1 1 0 111 1.6L18.4 15l1.8 1.2z" fill-rule="evenodd"/></svg>',save:'<svg width="24" height="24"><path d="M5 16h14a2 2 0 012 2v2a2 2 0 01-2 2H5a2 2 0 01-2-2v-2c0-1.1.9-2 2-2zm0 2v2h14v-2H5zm10 0h2v2h-2v-2zm-4-6.4L8.7 9.3a1 1 0 10-1.4 1.4l4 4c.4.4 1 .4 1.4 0l4-4a1 1 0 10-1.4-1.4L13 11.6V4a1 1 0 00-2 0v7.6z" fill-rule="nonzero"/></svg>',search:'<svg width="24" height="24"><path d="M16 17.3a8 8 0 111.4-1.4l4.3 4.4a1 1 0 01-1.4 1.4l-4.4-4.3zm-5-.3a6 6 0 100-12 6 6 0 000 12z" fill-rule="nonzero"/></svg>',"select-all":'<svg width="24" height="24"><path d="M3 5h2V3a2 2 0 00-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2a2 2 0 00-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8a2 2 0 002-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2zM7 17h10V7H7v10zm2-8h6v6H9V9z" fill-rule="nonzero"/></svg>',selected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6c0-1.1.9-2 2-2zm3.6 10.9L7 12.3a.7.7 0 00-1 1L9.6 17 18 8.6a.7.7 0 000-1 .7.7 0 00-1 0l-7.4 7.3z"/></svg>',settings:'<svg width="24" height="24"><path d="M11 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.6V8H5a1 1 0 110-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.5V6zM8 8h2V6H8v2zm9 2.8v.2h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v.3c0 .2 0 .3-.2.5l-.6.2h-2.4c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.6V13H5a1 1 0 010-2h8v-.3c0-.2 0-.3.2-.5l.6-.2h2.4c.3 0 .4 0 .6.2l.2.6zM14 13h2v-2h-2v2zm-3 2.8v.2h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.6V18H5a1 1 0 010-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.6zM8 18h2v-2H8v2z" fill-rule="evenodd"/></svg>',sharpen:'<svg width="24" height="24"><path d="M16 6l4 4-8 9-8-9 4-4h8zm-4 10.2l5.5-6.2-.1-.1H12v-.3h5.1l-.2-.2H12V9h4.6l-.2-.2H12v-.3h4.1l-.2-.2H12V8h3.6l-.2-.2H8.7L6.5 10l.1.1H12v.3H6.9l.2.2H12v.3H7.3l.2.2H12v.3H7.7l.3.2h4v.3H8.2l.2.2H12v.3H8.6l.3.2H12v.3H9l.3.2H12v.3H9.5l.2.2H12v.3h-2l.2.2H12v.3h-1.6l.2.2H12v.3h-1.1l.2.2h.9v.3h-.7l.2.2h.5v.3h-.3l.3.2z" fill-rule="evenodd"/></svg>',sourcecode:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M9.8 15.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0l-4.4-4.1a.8.8 0 010-1.2l4.4-4.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L6 12l3.8 3.7zM14.2 15.7c-.3.3-.3.8 0 1 .4.4.9.4 1.2 0l4.4-4.1c.3-.3.3-.9 0-1.2l-4.4-4.2a.8.8 0 00-1.2 0c-.3.3-.3.8 0 1.1L18 12l-3.8 3.7z"/></g></svg>',"spell-check":'<svg width="24" height="24"><path d="M6 8v3H5V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h2c.3 0 .5.1.7.3.2.2.3.4.3.7v6H8V8H6zm0-3v2h2V5H6zm13 0h-3v5h3v1h-3a1 1 0 01-.7-.3 1 1 0 01-.3-.7V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3v1zm-5 1.5l-.1.7c-.1.2-.3.3-.6.3.3 0 .5.1.6.3l.1.7V10c0 .3-.1.5-.3.7a1 1 0 01-.7.3h-3V4h3c.3 0 .5.1.7.3.2.2.3.4.3.7v1.5zM13 10V8h-2v2h2zm0-3V5h-2v2h2zm3 5l1 1-6.5 7L7 15.5l1.3-1 2.2 2.2L16 12z" fill-rule="evenodd"/></svg>',"strike-through":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M15.6 8.5c-.5-.7-1-1.1-1.3-1.3-.6-.4-1.3-.6-2-.6-2.7 0-2.8 1.7-2.8 2.1 0 1.6 1.8 2 3.2 2.3 4.4.9 4.6 2.8 4.6 3.9 0 1.4-.7 4.1-5 4.1A6.2 6.2 0 017 16.4l1.5-1.1c.4.6 1.6 2 3.7 2 1.6 0 2.5-.4 3-1.2.4-.8.3-2-.8-2.6-.7-.4-1.6-.7-2.9-1-1-.2-3.9-.8-3.9-3.6C7.6 6 10.3 5 12.4 5c2.9 0 4.2 1.6 4.7 2.4l-1.5 1.1z"/><path d="M5 11h14a1 1 0 010 2H5a1 1 0 010-2z" fill-rule="nonzero"/></g></svg>',subscript:'<svg width="24" height="24"><path d="M10.4 10l4.6 4.6-1.4 1.4L9 11.4 4.4 16 3 14.6 7.6 10 3 5.4 4.4 4 9 8.6 13.6 4 15 5.4 10.4 10zM21 19h-5v-1l1-.8 1.7-1.6c.3-.4.5-.8.5-1.2 0-.3 0-.6-.2-.7-.2-.2-.5-.3-.9-.3a2 2 0 00-.8.2l-.7.3-.4-1.1 1-.6 1.2-.2c.8 0 1.4.3 1.8.7.4.4.6.9.6 1.5s-.2 1.1-.5 1.6a8 8 0 01-1.3 1.3l-.6.6h2.6V19z" fill-rule="nonzero"/></svg>',superscript:'<svg width="24" height="24"><path d="M15 9.4L10.4 14l4.6 4.6-1.4 1.4L9 15.4 4.4 20 3 18.6 7.6 14 3 9.4 4.4 8 9 12.6 13.6 8 15 9.4zm5.9 1.6h-5v-1l1-.8 1.7-1.6c.3-.5.5-.9.5-1.3 0-.3 0-.5-.2-.7-.2-.2-.5-.3-.9-.3l-.8.2-.7.4-.4-1.2c.2-.2.5-.4 1-.5.3-.2.8-.2 1.2-.2.8 0 1.4.2 1.8.6.4.4.6 1 .6 1.6 0 .5-.2 1-.5 1.5l-1.3 1.4-.6.5h2.6V11z" fill-rule="nonzero"/></svg>',"table-caption":'<svg width="24" height="24"><g fill-rule="nonzero"><rect width="12" height="2" x="3" y="4" rx="1"/><path d="M19 8a2 2 0 012 2v8a2 2 0 01-2 2H5a2 2 0 01-2-2v-8c0-1.1.9-2 2-2h14zM5 15v3h6v-3H5zm14 0h-6v3h6v-3zm0-5h-6v3h6v-3zM5 13h6v-3H5v3z"/></g></svg>',"table-cell-classes":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M13 4v9H3V6c0-1.1.9-2 2-2h8zm-2 2H5v5h6V6z"/><path fill-rule="nonzero" d="M13 4h6a2 2 0 012 2v7h-8v-2h6V6h-6V4z" opacity=".2"/><path d="M18 20l-2.6 1.6.7-3-2.4-2 3.1-.2 1.2-2.9 1.2 2.9 3 .2-2.3 2 .7 3z"/><path fill-rule="nonzero" d="M3 13v5c0 1.1.9 2 2 2h8v-7h-2v5H5v-5H3z" opacity=".2"/></g></svg>',"table-cell-properties":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm-8 9H5v5h6v-5zm8 0h-6v5h6v-5zm-8-7H5v5h6V6z"/></svg>',"table-cell-select-all":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm0 2H5v12h14V6z"/><path d="M13 6v5h6v2h-6v5h-2v-5H5v-2h6V6h2z" opacity=".2"/></g></svg>',"table-cell-select-inner":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm0 2H5v12h14V6z" opacity=".2"/><path d="M13 6v5h6v2h-6v5h-2v-5H5v-2h6V6h2z"/></g></svg>',"table-classes":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v7h-8v7H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm-8 9H5v5h6v-5zm8-7h-6v5h6V6zm-8 0H5v5h6V6z"/><path d="M18 20l-2.6 1.6.7-3-2.4-2 3.1-.2 1.2-2.9 1.2 2.9 3 .2-2.3 2 .7 3z"/></g></svg>',"table-delete-column":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm-4 4h-2V6h-2v2H9V6H5v12h4v-2h2v2h2v-2h2v2h4V6h-4v2zm.3.5l1 1.2-3 2.3 3 2.3-1 1.2L12 13l-3.3 2.6-1-1.2 3-2.3-3-2.3 1-1.2L12 11l3.3-2.5z"/></svg>',"table-delete-row":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm0 2H5v3h2.5v2H5v2h2.5v2H5v3h14v-3h-2.5v-2H19v-2h-2.5V9H19V6zm-4.7 1.8l1.2 1L13 12l2.6 3.3-1.2 1-2.3-3-2.3 3-1.2-1L11 12 8.5 8.7l1.2-1 2.3 3 2.3-3z"/></svg>',"table-delete-table":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zM5 6v12h14V6H5z"/><path d="M14.4 8.6l1 1-2.3 2.4 2.3 2.4-1 1-2.4-2.3-2.4 2.3-1-1 2.3-2.4-2.3-2.4 1-1 2.4 2.3z"/></g></svg>',"table-insert-column-after":'<svg width="24" height="24"><path fill-rule="nonzero" d="M20 4c.6 0 1 .4 1 1v2a1 1 0 01-2 0V6h-8v12h8v-1a1 1 0 012 0v2c0 .5-.4 1-.9 1H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h15zM9 13H5v5h4v-5zm7-5c.5 0 1 .4 1 .9V11h2a1 1 0 01.1 2H17v2a1 1 0 01-2 .1V13h-2a1 1 0 01-.1-2H15V9c0-.6.4-1 1-1zM9 6H5v5h4V6z"/></svg>',"table-insert-column-before":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H4a1 1 0 01-1-1v-2a1 1 0 012 0v1h8V6H5v1a1 1 0 11-2 0V5c0-.6.4-1 1-1h15zm0 9h-4v5h4v-5zM8 8c.5 0 1 .4 1 .9V11h2a1 1 0 01.1 2H9v2a1 1 0 01-2 .1V13H5a1 1 0 01-.1-2H7V9c0-.6.4-1 1-1zm11-2h-4v5h4V6z"/></svg>',"table-insert-row-above":'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4a1 1 0 110 2H5v6h14V6h-1a1 1 0 010-2h2c.6 0 1 .4 1 1v13a2 2 0 01-2 2H5a2 2 0 01-2-2V5c0-.6.4-1 1-1h2zm5 10H5v4h6v-4zm8 0h-6v4h6v-4zM12 3c.5 0 1 .4 1 .9V6h2a1 1 0 010 2h-2v2a1 1 0 01-2 .1V8H9a1 1 0 010-2h2V4c0-.6.4-1 1-1z"/></svg>',"table-insert-row-after":'<svg width="24" height="24"><path fill-rule="nonzero" d="M12 13c.5 0 1 .4 1 .9V16h2a1 1 0 01.1 2H13v2a1 1 0 01-2 .1V18H9a1 1 0 01-.1-2H11v-2c0-.6.4-1 1-1zm6 7a1 1 0 010-2h1v-6H5v6h1a1 1 0 010 2H4a1 1 0 01-1-1V6c0-1.1.9-2 2-2h14a2 2 0 012 2v13c0 .5-.4 1-.9 1H18zM11 6H5v4h6V6zm8 0h-6v4h6V6z"/></svg>',"table-left-header":'<svg width="24" height="24"><path d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm0 9h-4v5h4v-5zm-6 0H9v5h4v-5zm0-7H9v5h4V6zm6 0h-4v5h4V6z"/></svg>',"table-merge-cells":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zM5 15.5V18h3v-2.5H5zm14-5h-9V18h9v-7.5zM19 6h-4v2.5h4V6zM8 6H5v2.5h3V6zm5 0h-3v2.5h3V6zm-8 7.5h3v-3H5v3z"/></svg>',"table-row-numbering-rtl":'<svg width="24" height="24"><path d="M6 4a2 2 0 00-2 2v13c0 1.1.9 2 2 2h12a2 2 0 002-2V6a2 2 0 00-2-2H6zm0 12h8v3H6v-3zm11 0c.6 0 1 .4 1 1v1a1 1 0 01-2 0v-1c0-.6.4-1 1-1zM6 11h8v3H6v-3zm11 0c.6 0 1 .4 1 1v1a1 1 0 01-2 0v-1c0-.6.4-1 1-1zM6 6h8v3H6V6zm11 0c.6 0 1 .4 1 1v1a1 1 0 11-2 0V7c0-.6.4-1 1-1z"/></svg>',"table-row-numbering":'<svg width="24" height="24"><path d="M18 4a2 2 0 012 2v13a2 2 0 01-2 2H6a2 2 0 01-2-2V6c0-1.1.9-2 2-2h12zm0 12h-8v3h8v-3zM7 16a1 1 0 00-1 1v1a1 1 0 002 0v-1c0-.6-.4-1-1-1zm11-5h-8v3h8v-3zM7 11a1 1 0 00-1 1v1a1 1 0 002 0v-1c0-.6-.4-1-1-1zm11-5h-8v3h8V6zM7 6a1 1 0 00-1 1v1a1 1 0 102 0V7c0-.6-.4-1-1-1z"/></svg>',"table-row-properties":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zM5 15v3h6v-3H5zm14 0h-6v3h6v-3zm0-9h-6v3h6V6zM5 9h6V6H5v3z"/></svg>',"table-split-cells":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zM8 15.5H5V18h3v-2.5zm11-5h-9V18h9v-7.5zm-2.5 1l1 1-2 2 2 2-1 1-2-2-2 2-1-1 2-2-2-2 1-1 2 2 2-2zm-8.5-1H5v3h3v-3zM19 6h-4v2.5h4V6zM8 6H5v2.5h3V6zm5 0h-3v2.5h3V6z"/></svg>',"table-top-header":'<svg width="24" height="24"><path d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm-8 11H5v3h6v-3zm8 0h-6v3h6v-3zm0-5h-6v3h6v-3zM5 13h6v-3H5v3z"/></svg>',table:'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zM5 14v4h6v-4H5zm14 0h-6v4h6v-4zm0-6h-6v4h6V8zM5 12h6V8H5v4z"/></svg>',template:'<svg width="24" height="24"><path d="M19 19v-1H5v1h14zM9 16v-4a5 5 0 116 0v4h4a2 2 0 012 2v3H3v-3c0-1.1.9-2 2-2h4zm4 0v-5l.8-.6a3 3 0 10-3.6 0l.8.6v5h2z" fill-rule="nonzero"/></svg>',"temporary-placeholder":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M9 7.6V6h2.5V4.5a.5.5 0 111 0V6H15v1.6a8 8 0 11-6 0zm-2.6 5.3a.5.5 0 00.3.6c.3 0 .6 0 .6-.3l.1-.2a5 5 0 013.3-2.8c.3-.1.4-.4.4-.6-.1-.3-.4-.5-.6-.4a6 6 0 00-4.1 3.7z"/><circle cx="14" cy="4" r="1"/><circle cx="12" cy="2" r="1"/><circle cx="10" cy="4" r="1"/></g></svg>',"text-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path id="tox-icon-text-color__color" d="M3 18h18v3H3z"/><path d="M8.7 16h-.8a.5.5 0 01-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 01-.5.6h-.8a.5.5 0 01-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4zm2.6-7.6l-.6 2a.5.5 0 00.5.6h1.6a.5.5 0 00.5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4z"/></g></svg>',toc:'<svg width="24" height="24"><path d="M5 5c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 110-2zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 110-2zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 010-2zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 010-2zm0-4c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 110-2zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 010-2zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2z" fill-rule="evenodd"/></svg>',translate:'<svg width="24" height="24"><path d="M12.7 14.3l-.3.7-.4.7-2.2-2.2-3.1 3c-.3.4-.8.4-1 0a.7.7 0 010-1l3.1-3A12.4 12.4 0 016.7 9H8a10.1 10.1 0 001.7 2.4c.5-.5 1-1.1 1.4-1.8l.9-2H4.7a.7.7 0 110-1.5h4.4v-.7c0-.4.3-.8.7-.8.4 0 .7.4.7.8v.7H15c.4 0 .8.3.8.7 0 .4-.4.8-.8.8h-1.4a12.3 12.3 0 01-1 2.4 13.5 13.5 0 01-1.7 2.3l1.9 1.8zm4.3-3l2.7 7.3a.5.5 0 01-.4.7 1 1 0 01-1-.7l-.6-1.5h-3.4l-.6 1.5a1 1 0 01-1 .7.5.5 0 01-.4-.7l2.7-7.4a1 1 0 012 0zm-2.2 4.4h2.4L16 12.5l-1.2 3.2z" fill-rule="evenodd"/></svg>',underline:'<svg width="24" height="24"><path d="M16 5c.6 0 1 .4 1 1v5.5a4 4 0 01-.4 1.8l-1 1.4a5.3 5.3 0 01-5.5 1 5 5 0 01-1.6-1c-.5-.4-.8-.9-1.1-1.4a4 4 0 01-.4-1.8V6c0-.6.4-1 1-1s1 .4 1 1v5.5c0 .3 0 .6.2 1l.6.7a3.3 3.3 0 002.2.8 3.4 3.4 0 002.2-.8c.3-.2.4-.5.6-.8l.2-.9V6c0-.6.4-1 1-1zM8 17h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 010-2z" fill-rule="evenodd"/></svg>',undo:'<svg width="24" height="24"><path d="M6.4 8H12c3.7 0 6.2 2 6.8 5.1.6 2.7-.4 5.6-2.3 6.8a1 1 0 01-1-1.8c1.1-.6 1.8-2.7 1.4-4.6-.5-2.1-2.1-3.5-4.9-3.5H6.4l3.3 3.3a1 1 0 11-1.4 1.4l-5-5a1 1 0 010-1.4l5-5a1 1 0 011.4 1.4L6.4 8z" fill-rule="nonzero"/></svg>',unlink:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 011.4 1.4l-2 2a2 2 0 102.6 2.8l4.8-4.8a1 1 0 000-1.4 1 1 0 111.4-1.3 2.9 2.9 0 010 4L9.6 20a3.9 3.9 0 01-5.5-5.5l2-2zm11.6-.6a1 1 0 01-1.4-1.4l2.1-2a2 2 0 10-2.7-2.8L11 10.3a1 1 0 000 1.4A1 1 0 119.6 13a2.9 2.9 0 010-4L14.4 4a3.9 3.9 0 015.5 5.5l-2 2zM7.6 6.3a.8.8 0 01-1 1.1L3.3 4.2a.7.7 0 111-1l3.2 3.1zM5.1 8.6a.8.8 0 010 1.5H3a.8.8 0 010-1.5H5zm5-3.5a.8.8 0 01-1.5 0V3a.8.8 0 011.5 0V5zm6 11.8a.8.8 0 011-1l3.2 3.2a.8.8 0 01-1 1L16 17zm-2.2 2a.8.8 0 011.5 0V21a.8.8 0 01-1.5 0V19zm5-3.5a.7.7 0 110-1.5H21a.8.8 0 010 1.5H19z" fill-rule="nonzero"/></svg>',unlock:'<svg width="24" height="24"><path d="M16 5c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h-2V8a1 1 0 00-.3-.7A1 1 0 0016 7h-2a1 1 0 00-.7.3 1 1 0 00-.3.7v3h.3c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H4.8c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H11V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2z" fill-rule="evenodd"/></svg>',"unordered-list":'<svg width="24" height="24"><path d="M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1z" fill-rule="evenodd"/></svg>',unselected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6c0-1.1.9-2 2-2zm0 1a1 1 0 00-1 1v12c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H6z"/></svg>',upload:'<svg width="24" height="24"><path d="M18 19v-2a1 1 0 012 0v3c0 .6-.4 1-1 1H5a1 1 0 01-1-1v-3a1 1 0 012 0v2h12zM11 6.4L8.7 8.7a1 1 0 01-1.4-1.4l4-4a1 1 0 011.4 0l4 4a1 1 0 11-1.4 1.4L13 6.4V16a1 1 0 01-2 0V6.4z" fill-rule="nonzero"/></svg>',user:'<svg width="24" height="24"><path d="M12 24a12 12 0 110-24 12 12 0 010 24zm-8.7-5.3a11 11 0 0017.4 0C19.4 16.3 14.6 15 12 15c-2.6 0-7.4 1.3-8.7 3.7zM12 13c2.2 0 4-2 4-4.5S14.2 4 12 4 8 6 8 8.5 9.8 13 12 13z" fill-rule="nonzero"/></svg>',"vertical-align":'<svg width="24" height="24"><g fill-rule="nonzero"><rect width="18" height="2" x="3" y="11" rx="1"/><path d="M12 2c.6 0 1 .4 1 1v4l2-1.3a1 1 0 011.2 1.5l-.1.1-4.1 3-4-3a1 1 0 011-1.7l2 1.5V3c0-.6.4-1 1-1zm0 11.8l4 2.9a1 1 0 01-1 1.7l-2-1.5V21c0 .5-.4 1-.9 1H12a1 1 0 01-1-1v-4l-2 1.3a1 1 0 01-1.2-.1l-.1-.1a1 1 0 01.1-1.3l.1-.1 4.1-3z"/></g></svg>',visualblocks:'<svg width="24" height="24"><path d="M9 19v2H7v-2h2zm-4 0v2a2 2 0 01-2-2h2zm8 0v2h-2v-2h2zm8 0a2 2 0 01-2 2v-2h2zm-4 0v2h-2v-2h2zM15 7a1 1 0 010 2v7a1 1 0 01-2 0V9h-1v7a1 1 0 01-2 0v-4a2.5 2.5 0 01-.2-5H15zM5 15v2H3v-2h2zm16 0v2h-2v-2h2zM5 11v2H3v-2h2zm16 0v2h-2v-2h2zM5 7v2H3V7h2zm16 0v2h-2V7h2zM5 3v2H3c0-1.1.9-2 2-2zm8 0v2h-2V3h2zm6 0a2 2 0 012 2h-2V3zM9 3v2H7V3h2zm8 0v2h-2V3h2z" fill-rule="evenodd"/></svg>',visualchars:'<svg width="24" height="24"><path d="M10 5h7a1 1 0 010 2h-1v11a1 1 0 01-2 0V7h-2v11a1 1 0 01-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 016.8 10a3.3 3.3 0 010-2.8 3.4 3.4 0 011.8-1.8L10 5z" fill-rule="evenodd"/></svg>',warning:'<svg width="24" height="24"><path d="M19.8 18.3c.2.5.3.9 0 1.2-.1.3-.5.5-1 .5H5.2c-.5 0-.9-.2-1-.5-.3-.3-.2-.7 0-1.2L11 4.7l.5-.5.5-.2c.2 0 .3 0 .5.2.2 0 .3.3.5.5l6.8 13.6zM12 18c.3 0 .5-.1.7-.3.2-.2.3-.4.3-.7a1 1 0 00-.3-.7 1 1 0 00-.7-.3 1 1 0 00-.7.3 1 1 0 00-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3zm.7-3l.3-4a1 1 0 00-.3-.7 1 1 0 00-.7-.3 1 1 0 00-.7.3 1 1 0 00-.3.7l.3 4h1.4z" fill-rule="evenodd"/></svg>',"zoom-in":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 111.4-1.4l4.3 4.4a1 1 0 01-1.4 1.4l-4.4-4.3zm-5-.3a6 6 0 100-12 6 6 0 000 12zm-1-9a1 1 0 012 0v6a1 1 0 01-2 0V8zm-2 4a1 1 0 010-2h6a1 1 0 010 2H8z" fill-rule="nonzero"/></svg>',"zoom-out":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 111.4-1.4l4.3 4.4a1 1 0 01-1.4 1.4l-4.4-4.3zm-5-.3a6 6 0 100-12 6 6 0 000 12zm-3-5a1 1 0 010-2h6a1 1 0 010 2H8z" fill-rule="nonzero"/></svg>'}})},13286:function(e,t,n){"use strict";var r=n(98026),o={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},i=r.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},o),a=r.merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},o),s=r.merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},a),l=r.defaults({logBase:10},a);t.A={category:i,value:a,time:s,log:l}},13369:function(e,t,n){var r=n(40481);e.exports=function(e){return e&&e.trimLeft?e.trimLeft():r(e).replace(/^[\s\uFEFF\xA0]+/g,"")}},13430:function(e,t,n){"use strict";n.d(t,{Km:function(){return i},Pe:function(){return r},Wk:function(){return a},XO:function(){return l},i_:function(){return u},mK:function(){return o},oC:function(){return d},t1:function(){return s},vm:function(){return c}});var r=(0,n(98026).createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),o="original",i="arrayRows",a="objectRows",s="keyedColumns",l="typedArray",c="unknown",u="column",d="row"},13550:function(){!function(){"use strict";var e,t,n=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=function(e){return function(){return e}},o=r(!1),i=r(!0),a=function(){return s},s={fold:function(e,t){return e()},isSome:o,isNone:i,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:r(null),getOrUndefined:r(void 0),or:t,orThunk:e,map:a,each:function(){},bind:a,exists:o,forall:i,filter:function(){return a()},toArray:function(){return[]},toString:r("none()")},l=function(e){var t=r(e),n=function(){return c},a=function(t){return t(e)},c={fold:function(t,n){return n(e)},isSome:i,isNone:o,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return l(t(e))},each:function(t){t(e)},bind:a,exists:a,forall:a,filter:function(t){return t(e)?c:s},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return c},c={some:l,none:a,from:function(e){return null==e?s:l(e)}},u=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),d=function(e){return e&&"PRE"===e.nodeName&&-1!==e.className.indexOf("language-")},f=function(e){return function(t,n){return e(n)}},h="undefined"!=typeof window?window:Function("return this;")(),p={},m={exports:p},g={};!function(e,t,n){var r=window.Prism;window.Prism={manual:!0},function(e,r){"object"==typeof t&&void 0!==n?n.exports=r():(e="undefined"!=typeof globalThis?globalThis:e||self).EphoxContactWrapper=r()}(this,(function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:g,t={exports:{}};return function(t){var n=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},o.util.type(t)){case"Object":if(i=o.util.objId(t),n[i])return n[i];for(var a in r={},n[i]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return i=o.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach((function(t,o){r[o]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e&&!t.test(e.className);)e=e.parentElement;return e?(e.className.match(t)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=o.util.clone(o.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||o.languages)[e],a={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(a[l]=n[l]);n.hasOwnProperty(s)||(a[s]=i[s])}var c=r[e];return r[e]=a,o.languages.DFS(o.languages,(function(t,n){n===c&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,r,i){i=i||{};var a=o.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var l=t[s],c=o.util.type(l);"Object"!==c||i[a(l)]?"Array"!==c||i[a(l)]||(i[a(l)]=!0,e(l,n,s,i)):(i[a(l)]=!0,e(l,n,null,i))}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),o.hooks.run("before-all-elements-highlight",r);for(var i,a=0;i=r.elements[a++];)o.highlightElement(i,!0===t,r.callback)},highlightElement:function(n,r,i){var a=o.util.getLanguage(n),s=o.languages[a];n.className=n.className.replace(t,"").replace(/\s+/g," ")+" language-"+a;var l=n.parentElement;l&&"pre"===l.nodeName.toLowerCase()&&(l.className=l.className.replace(t,"").replace(/\s+/g," ")+" language-"+a);var c={element:n,language:a,grammar:s,code:n.textContent};function u(e){c.highlightedCode=e,o.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,o.hooks.run("after-highlight",c),o.hooks.run("complete",c),i&&i.call(c.element)}if(o.hooks.run("before-sanity-check",c),(l=c.element.parentElement)&&"pre"===l.nodeName.toLowerCase()&&!l.hasAttribute("tabindex")&&l.setAttribute("tabindex","0"),!c.code)return o.hooks.run("complete",c),void(i&&i.call(c.element));if(o.hooks.run("before-highlight",c),c.grammar)if(r&&e.Worker){var d=new Worker(o.filename);d.onmessage=function(e){u(e.data)},d.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else u(o.highlight(c.code,c.grammar,c.language));else u(o.util.encode(c.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};return o.hooks.run("before-tokenize",r),r.tokens=o.tokenize(r.code,r.grammar),o.hooks.run("after-tokenize",r),i.stringify(o.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new l;return c(o,o.head,e),s(e,o,t,o.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=o.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=o.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function s(e,t,n,r,l,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var h=n[f];h=Array.isArray(h)?h:[h];for(var p=0;p<h.length;++p){if(d&&d.cause==f+","+p)return;var m=h[p],g=m.inside,A=!!m.lookbehind,v=!!m.greedy,y=m.alias;if(v&&!m.pattern.global){var O=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,O+"g")}for(var b=m.pattern||m,w=r.next,_=l;w!==t.tail&&!(d&&_>=d.reach);_+=w.value.length,w=w.next){var x=w.value;if(t.length>e.length)return;if(!(x instanceof i)){var S,k=1;if(v){if(!(S=a(b,_,e,A)))break;var C=S.index,B=S.index+S[0].length,Q=_;for(Q+=w.value.length;C>=Q;)Q+=(w=w.next).value.length;if(_=Q-=w.value.length,w.value instanceof i)continue;for(var T=w;T!==t.tail&&(Q<B||"string"==typeof T.value);T=T.next)k++,Q+=T.value.length;k--,x=e.slice(_,Q),S.index-=_}else if(!(S=a(b,0,x,A)))continue;C=S.index;var E=S[0],P=x.slice(0,C),$=x.slice(C+E.length),M=_+x.length;d&&M>d.reach&&(d.reach=M);var z=w.prev;if(P&&(z=c(t,z,P),_+=P.length),u(t,z,k),w=c(t,z,new i(f,g?o.tokenize(E,g):E,y,E)),$&&c(t,w,$),k>1){var R={cause:f+","+p,reach:M};s(e,t,n,w.prev,_,R),d&&R.reach>d.reach&&(d.reach=R.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function u(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}if(e.Prism=o,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),o.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener?(o.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,a=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),a&&e.close()}),!1),o):o;var d=o.util.currentScript();function f(){o.manual||o.highlightAll()}if(d&&(o.filename=d.src,d.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var h=document.readyState;"loading"===h||"interactive"===h&&d&&d.defer?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});t.exports&&(t.exports=n),void 0!==e&&(e.Prism=n)}(t),Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,i){if(n.language===r){var a=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof i&&!i(e))return e;for(var o,s=a.length;-1!==n.code.indexOf(o=t(r,s));)++s;return a[s]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,i=Object.keys(n.tokenStack);!function a(s){for(var l=0;l<s.length&&!(o>=i.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=i[o],d=n.tokenStack[u],f="string"==typeof c?c:c.content,h=t(r,u),p=f.indexOf(h);if(p>-1){++o;var m=f.substring(0,p),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),A=f.substring(p+h.length),v=[];m&&v.push.apply(v,a([m])),v.push(g),A&&v.push.apply(v,a([A])),"string"==typeof c?s.splice.apply(s,[l,1].concat(v)):c.content=v}}else c.content&&a(c.content)}return s}(n.tokens)}}}})}(Prism),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:module|import)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(Prism),function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var c=l(i),u=RegExp(l(o+" "+i+" "+a+" "+s)),d=l(i+" "+a+" "+s),f=l(o+" "+i+" "+s),h=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),p=r(/\((?:[^()]|<<self>>)*\)/.source,2),m=/@?\b[A-Za-z_]\w*\b/.source,g=t(/<<0>>(?:\s*<<1>>)?/.source,[m,h]),A=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,g]),v=/\[\s*(?:,\s*)*\]/.source,y=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[A,v]),O=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[h,p,v]),b=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[O]),w=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[b,A,v]),_={keyword:u,punctuation:/[<>()?,.:[\]]/},x=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,S=/"(?:\\.|[^\\"\r\n])*"/.source,k=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[k]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[S]),lookbehind:!0,greedy:!0},{pattern:RegExp(x),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[A]),lookbehind:!0,inside:_},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[m,w]),lookbehind:!0,inside:_},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[m]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[c,g]),lookbehind:!0,inside:_},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[A]),lookbehind:!0,inside:_},{pattern:n(/(\bwhere\s+)<<0>>/.source,[m]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[y]),lookbehind:!0,inside:_},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[w,f,m]),inside:_}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[m]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[m]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[p]),lookbehind:!0,alias:"class-name",inside:_},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[w,A]),inside:_,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[w]),lookbehind:!0,inside:_,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[m,h]),inside:{function:n(/^<<0>>/.source,[m]),generic:{pattern:RegExp(h),alias:"class-name",inside:_}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,g,m,w,u.source,p,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,p]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:u,"class-name":{pattern:RegExp(w),greedy:!0,inside:_},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var C=S+"|"+x,B=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[C]),Q=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[B]),2),T=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,E=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[A,Q]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[T,E]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[T]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[Q]),inside:e.languages.csharp},"class-name":{pattern:RegExp(A),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var P=/:[^}\r\n]+/.source,$=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[B]),2),M=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[$,P]),z=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[C]),2),R=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[z,P]);function D(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,P]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[M]),lookbehind:!0,greedy:!0,inside:D(M,$)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[R]),lookbehind:!0,greedy:!0,inside:D(R,z)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(Prism),function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism),Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript,Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,o=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:o,punctuation:i};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:o,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(Prism),Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,function(e){e.languages.ruby=e.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],"class-name":{pattern:/(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.languages.ruby}};delete e.languages.ruby.function,e.languages.insertBefore("ruby","keyword",{regex:[{pattern:RegExp(/%r/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:e.languages.ruby}}}),e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:RegExp(/%[qQiIwWxs]?/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"),greedy:!0,inside:{interpolation:t}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?/}},interpolation:t}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?'|'$/}}}}],e.languages.rb=e.languages.ruby}(Prism),{boltExport:t.exports}}));window.Prism;window.Prism=r}(0,p,m);var A=m.exports.boltExport,v=function(e){return h.Prism&&function(e){return e.getParam("codesample_global_prismjs",!1,"boolean")}(e)?h.Prism:A},y=function(e){var t,n=e.selection?e.selection.getNode():null;return t=n,d(n)?c.some(t):c.none()},O=function(e){var t,n=function(e){var t=function(e){return e.getParam("codesample_languages")}(e);return t||[{text:"HTML/XML",value:"markup"},{text:"JavaScript",value:"javascript"},{text:"CSS",value:"css"},{text:"PHP",value:"php"},{text:"Ruby",value:"ruby"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C",value:"c"},{text:"C#",value:"csharp"},{text:"C++",value:"cpp"}]}(e),o=(t=n,function(e){return 0<e.length?c.some(e[0]):c.none()}(t)).fold(r(""),(function(e){return e.value})),i=function(e,t){return y(e).fold((function(){return t}),(function(e){var n=e.className.match(/language-(\w+)/);return n?n[1]:t}))}(e,o),a=function(e){return y(e).fold(r(""),(function(e){return e.textContent}))}(e);e.windowManager.open({title:"Insert/Edit Code Sample",size:"large",body:{type:"panel",items:[{type:"selectbox",name:"language",label:"Language",items:n},{type:"textarea",name:"code",label:"Code view"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{language:i,code:a},onSubmit:function(t){var n=t.getData();!function(e,t,n){e.undoManager.transact((function(){var r=y(e);return n=u.DOM.encode(n),r.fold((function(){e.insertContent('<pre id="__new" class="language-'+t+'">'+n+"</pre>"),e.selection.select(e.$("#__new").removeAttr("id")[0])}),(function(r){e.dom.setAttrib(r,"class","language-"+t),r.innerHTML=n,v(e).highlightElement(r),e.selection.select(r)}))}))}(e,n.language,n.code),t.close()}})};n.add("codesample",(function(e){!function(e){var t=e.$;e.on("PreProcess",(function(e){t("pre[contenteditable=false]",e.node).filter(f(d)).each((function(e,n){var r=t(n),o=n.textContent;r.attr("class",t.trim(r.attr("class"))),r.removeAttr("contentEditable"),r.empty().append(t("<code></code>").each((function(){this.textContent=o})))}))})),e.on("SetContent",(function(){var n=t("pre").filter(f(d)).filter((function(e,t){return"false"!==t.contentEditable}));n.length&&e.undoManager.transact((function(){n.each((function(n,r){t(r).find("br").each((function(t,n){n.parentNode.replaceChild(e.getDoc().createTextNode("\n"),n)})),r.contentEditable="false",r.innerHTML=e.dom.encode(r.textContent),v(e).highlightElement(r),r.className=t.trim(r.className)}))}))}))}(e),function(e){var t=function(){return e.execCommand("codesample")};e.ui.registry.addToggleButton("codesample",{icon:"code-sample",tooltip:"Insert/edit code sample",onAction:t,onSetup:function(t){var n=function(){t.setActive(function(e){var t=e.selection.getStart();return e.dom.is(t,'pre[class*="language-"]')}(e))};return e.on("NodeChange",n),function(){return e.off("NodeChange",n)}}}),e.ui.registry.addMenuItem("codesample",{text:"Code sample...",icon:"code-sample",onAction:t})}(e),function(e){e.addCommand("codesample",(function(){var t=e.selection.getNode();e.selection.isCollapsed()||d(t)?O(e):e.formatter.toggle("code")}))}(e),e.on("dblclick",(function(t){d(t.target)&&O(e)}))}))}()},13579:function(e,t,n){"use strict";var r=n(46518),o=n(72652),i=n(79306),a=n(28551),s=n(1767);r({target:"Iterator",proto:!0,real:!0},{some:function(e){a(this),i(e);var t=s(this),n=0;return o(t,(function(t,r){if(e(t,n++))return r()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},13588:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(76912),o=n(241),i=n(52274),a=n(92049),s=o.A?o.A.isConcatSpreadable:void 0,l=function(e){return(0,a.A)(e)||(0,i.A)(e)||!!(s&&e&&e[s])},c=function e(t,n,o,i,a){var s=-1,c=t.length;for(o||(o=l),a||(a=[]);++s<c;){var u=t[s];n>0&&o(u)?n>1?e(u,n-1,o,i,a):(0,r.A)(a,u):i||(a[a.length]=u)}return a}},13702:function(e,t,n){var r=n(79135);e.exports=function(e,t,n,o){if(r(e)&&e.copyWithin)return e.copyWithin(t,n,o);var i,a,s=0|t,l=0|n,c=e.length,u=arguments.length>3?0|o:c;if(s<c&&(s=s>=0?s:c+s)>=0&&(l=l>=0?l:c+l)<(u=u>=0?u:c+u))for(i=0,a=e.slice(l,u);s<c&&!(a.length<=i);s++)e[s]=a[i++];return e}},13816:function(e,t,n){var r=n(79135),o=n(69821);e.exports=function(e,t,n){if(e)if(r(e))for(var i=0,a=e.length;i<a&&!1!==t.call(n,e[i],i,e);i++);else for(var s in e)if(o(e,s)&&!1===t.call(n,e[s],s,e))break}},13908:function(e,t,n){var r=n(49840)("keys",1);e.exports=r},13925:function(e,t,n){"use strict";var r=n(20034);e.exports=function(e){return r(e)||null===e}},13976:function(e,t,n){"use strict";n.d(t,{m:function(){return o},v:function(){return i}});var r={};function o(e,t){r[e]=t}function i(e){return r[e]}},14403:function(e,t,n){"use strict";var r=n(15215),o=n(98026),i=n(57861),a=n(43870),s=n(10992),l=n(43199),c=n(39195),u=n(52505),d=n(23868),f=n(16563),h=!0,p=Math.min,m=Math.max,g=Math.pow,A="globalPan",v={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},y={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},O={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},b=0,w=function(e){function t(t){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=t,n.group=new a.A,n._uid="brushController_"+b++,(0,o.each)(Z,(function(e,t){this._handlers[t]=(0,o.bind)(e,this)}),n),n}return(0,r.C6)(t,e),t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var t=this._zr;this._enableGlobalPan||d.s(t,A,this._uid),(0,o.each)(this._handlers,(function(e,n){t.on(n,e)})),this._brushType=e.brushType,this._brushOption=(0,o.merge)((0,o.clone)(O),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;d._r(e,A,this._uid),(0,o.each)(this._handlers,(function(t,n){e.off(n,t)})),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var t=this._panels={};(0,o.each)(e,(function(e){t[e.panelId]=(0,o.clone)(e)}))}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=t.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=(0,o.map)(e,(function(e){return(0,o.merge)((0,o.clone)(O),e,!0)}));var t=this._covers,n=this._covers=[],r=this,i=this._creatingCover;return new f.A(t,e,(function(e,t){return a(e.__brushOption,t)}),a).add(s).update(s).remove((function(e){t[e]!==i&&r.group.remove(t[e])})).execute(),this;function a(e,t){return(null!=e.id?e.id:"\0-brush-index-"+t)+"-"+e.brushType}function s(o,a){var s=e[o];if(null!=a&&t[a]===i)n[o]=t[a];else{var l=n[o]=null!=a?(t[a].__brushOption=s,t[a]):x(r,_(r,s));C(r,l)}}},t.prototype.unmount=function(){return this.enableBrush(!1),E(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(i.A);function _(e,t){var n=G[t.brushType].createCover(e,t);return n.__brushOption=t,k(n,t),e.group.add(n),n}function x(e,t){var n=B(t);return n.endCreating&&(n.endCreating(e,t),k(t,t.__brushOption)),t}function S(e,t){var n=t.__brushOption;B(t).updateCoverShape(e,t,n.range,n)}function k(e,t){var n=t.z;null==n&&(n=1e4),e.traverse((function(e){e.z=n,e.z2=n}))}function C(e,t){B(t).updateCommon(e,t),S(e,t)}function B(e){return G[e.__brushOption.brushType]}function Q(e,t,n){var r,i=e._panels;if(!i)return h;var a=e._transform;return(0,o.each)(i,(function(e){e.isTargetByCursor(t,n,a)&&(r=e)})),r}function T(e,t){var n=e._panels;if(!n)return h;var r=t.__brushOption.panelId;return null!=r?n[r]:h}function E(e){var t=e._covers,n=t.length;return(0,o.each)(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function P(e,t){var n=(0,o.map)(e._covers,(function(e){var t=e.__brushOption,n=(0,o.clone)(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function $(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function M(e,t,n,r){var i=new a.A;return i.add(new s.A({name:"main",style:I(n),silent:!0,draggable:!0,cursor:"move",drift:(0,o.curry)(V,e,t,i,["n","s","w","e"]),ondragend:(0,o.curry)(P,t,{isEnd:!0})})),(0,o.each)(r,(function(n){i.add(new s.A({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:(0,o.curry)(V,e,t,i,n),ondragend:(0,o.curry)(P,t,{isEnd:!0})}))})),i}function z(e,t,n,r){var o=r.brushStyle.lineWidth||0,i=m(o,6),a=n[0][0],s=n[1][0],l=a-o/2,c=s-o/2,u=n[0][1],d=n[1][1],f=u-i+o/2,h=d-i+o/2,p=u-a,g=d-s,A=p+o,v=g+o;D(e,t,"main",a,s,p,g),r.transformable&&(D(e,t,"w",l,c,i,v),D(e,t,"e",f,c,i,v),D(e,t,"n",l,c,A,i),D(e,t,"s",l,h,A,i),D(e,t,"nw",l,c,i,i),D(e,t,"ne",f,c,i,i),D(e,t,"sw",l,h,i,i),D(e,t,"se",f,h,i,i))}function R(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(I(n)),i.attr({silent:!r,cursor:r?"move":"default"}),(0,o.each)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var o=t.childOfName(n.join("")),i=1===n.length?L(e,n[0]):function(e,t){var n=[L(e,t[0]),L(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(e,n);o&&o.attr({silent:!r,invisible:!r,cursor:r?y[i]+"-resize":null})}))}function D(e,t,n,r,o,i,a){var s,l,c,u=t.childOfName(n);u&&u.setShape((s=H(e,t,[[r,o],[r+i,o+a]]),{x:l=p(s[0][0],s[1][0]),y:c=p(s[0][1],s[1][1]),width:m(s[0][0],s[1][0])-l,height:m(s[0][1],s[1][1])-c}))}function I(e){return(0,o.defaults)({strokeNoScale:!0},e.brushStyle)}function N(e,t,n,r){var o=[p(e,n),p(t,r)],i=[m(e,n),m(t,r)];return[[o[0],i[0]],[o[1],i[1]]]}function L(e,t){var n=l.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[t],function(e){return l.getTransform(e.group)}(e));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}function V(e,t,n,r,i,a){var s=n.__brushOption,l=e.toRectRange(s.range),c=F(t,i,a);(0,o.each)(r,(function(e){var t=v[e];l[t[0]][t[1]]+=c[t[0]]})),s.range=e.fromRectRange(N(l[0][0],l[1][0],l[0][1],l[1][1])),C(t,n),P(t,{isEnd:!1})}function U(e,t,n,r){var i=t.__brushOption.range,a=F(e,n,r);(0,o.each)(i,(function(e){e[0]+=a[0],e[1]+=a[1]})),C(e,t),P(e,{isEnd:!1})}function F(e,t,n){var r=e.group,o=r.transformCoordToLocal(t,n),i=r.transformCoordToLocal(0,0);return[o[0]-i[0],o[1]-i[1]]}function H(e,t,n){var r=T(e,t);return r&&r!==h?r.clipPath(n,e._transform):(0,o.clone)(n)}function W(e){var t=e.event;t.preventDefault&&t.preventDefault()}function X(e,t,n){return e.childOfName("main").contain(t,n)}function j(e,t,n,r){var i,a=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(n.slice()),function(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],o=n[0]-r[0],i=n[1]-r[1];return g(o*o+i*i,.5)>6}(e)||a){if(s&&!a){"single"===l.brushMode&&E(e);var c=(0,o.clone)(l);c.brushType=q(c.brushType,s),c.panelId=s===h?null:s.panelId,a=e._creatingCover=_(e,c),e._covers.push(a)}if(a){var u=G[q(e._brushType,s)];a.__brushOption.range=u.getCreatingRange(H(e,a,e._track)),r&&(x(e,a),u.updateCommon(e,a)),S(e,a),i={isEnd:r}}}else r&&"single"===l.brushMode&&l.removeOnClick&&Q(e,t,n)&&E(e)&&(i={isEnd:r,removeOnClick:!0});return i}function q(e,t){return"auto"===e?t.defaultBrushType:e}var Z={mousedown:function(e){if(this._dragging)Y(this,e);else if(!e.target||!e.target.draggable){W(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null,(this._creatingPanel=Q(this,e,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,r=this.group.transformCoordToLocal(t,n);if(function(e,t,n){if(e._brushType&&!function(e,t,n){var r=e._zr;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}(e,t.offsetX,t.offsetY)){var r=e._zr,o=e._covers,i=Q(e,t,n);if(!e._dragging)for(var a=0;a<o.length;a++){var s=o[a].__brushOption;if(i&&(i===h||s.panelId===i.panelId)&&G[s.brushType].contain(o[a],n[0],n[1]))return}i&&r.setCursorStyle("crosshair")}}(this,e,r),this._dragging){W(e);var o=j(this,e,r,!1);o&&P(this,o)}},mouseup:function(e){Y(this,e)}};function Y(e,t){if(e._dragging){W(t);var n=t.offsetX,r=t.offsetY,o=e.group.transformCoordToLocal(n,r),i=j(e,t,o,!0);e._dragging=!1,e._track=[],e._creatingCover=null,i&&P(e,i)}}var G={lineX:K(0),lineY:K(1),rect:{createCover:function(e,t){function n(e){return e}return M({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=$(e);return N(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){z(e,t,n,r)},updateCommon:R,contain:X},polygon:{createCover:function(e,t){var n=new a.A;return n.add(new c.A({name:"main",style:I(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new u.A({name:"main",draggable:!0,drift:(0,o.curry)(U,e,t),ondragend:(0,o.curry)(P,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:H(e,t,n)})},updateCommon:R,contain:X}};function K(e){return{createCover:function(t,n){return M({toRectRange:function(t){var n=[t,[0,100]];return e&&n.reverse(),n},fromRectRange:function(t){return t[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=$(t);return[p(n[0][e],n[1][e]),m(n[0][e],n[1][e])]},updateCoverShape:function(t,n,r,o){var i,a=T(t,n);if(a!==h&&a.getLinearBrushOtherExtent)i=a.getLinearBrushOtherExtent(e);else{var s=t._zr;i=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[r,i];e&&l.reverse(),z(t,n,l,o)},updateCommon:R,contain:X}}t.A=w},14423:function(e,t,n){"use strict";n.d(t,{l:function(){return o}});var r=n(89259);function o(e,t,n,o,i,a,s,l,c){if(0===s)return!1;var u=s;return!(c>t+u&&c>o+u&&c>a+u||c<t-u&&c<o-u&&c<a-u||l>e+u&&l>n+u&&l>i+u||l<e-u&&l<n-u&&l<i-u)&&(0,r.kh)(e,t,n,o,i,a,l,c,null)<=u/2}},14603:function(e,t,n){"use strict";var r=n(36840),o=n(79504),i=n(655),a=n(22812),s=URLSearchParams,l=s.prototype,c=o(l.append),u=o(l.delete),d=o(l.forEach),f=o([].push),h=new s("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&r(l,"delete",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return u(this,e);var r=[];d(this,(function(e,t){f(r,{key:t,value:e})})),a(t,1);for(var o,s=i(e),l=i(n),h=0,p=0,m=!1,g=r.length;h<g;)o=r[h++],m||o.key===s?(m=!0,u(this,o.key)):p++;for(;p<g;)(o=r[p++]).key===s&&o.value===l||c(this,o.key,o.value)}),{enumerable:!0,unsafe:!0})},14656:function(e,t,n){"use strict";n.d(t,{YK:function(){return f},_:function(){return c},d4:function(){return d}});var r=n(61431),o=n(2154),i=n(22720),a=n(41651);const s={current:0},l=(0,r.ref)(0),c=2e3,u=Symbol("elZIndexContextKey"),d=Symbol("zIndexContextKey"),f=e=>{const t=(0,r.getCurrentInstance)()?(0,r.inject)(u,s):s,n=e||((0,r.getCurrentInstance)()?(0,r.inject)(d,void 0):void 0),f=(0,r.computed)((()=>{const e=(0,r.unref)(n);return(0,o.Et)(e)?e:c})),h=(0,r.computed)((()=>f.value+l.value));return i.oc||(0,r.inject)(u)||(0,a.U)("ZIndexInjection","Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed\nusage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })"),{initialZIndex:f,currentZIndex:h,nextZIndex:()=>(t.current++,l.value=t.current,h.value)}}},14865:function(e,t,n){"use strict";n.d(t,{M7:function(){return a},Op:function(){return i},eB:function(){return o}});var r=Math.round;function o(e,t,n){if(t){var o=t.x1,i=t.x2,s=t.y1,l=t.y2;e.x1=o,e.x2=i,e.y1=s,e.y2=l;var c=n&&n.lineWidth;return c?(r(2*o)===r(2*i)&&(e.x1=e.x2=a(o,c,!0)),r(2*s)===r(2*l)&&(e.y1=e.y2=a(s,c,!0)),e):e}}function i(e,t,n){if(t){var r=t.x,o=t.y,i=t.width,s=t.height;e.x=r,e.y=o,e.width=i,e.height=s;var l=n&&n.lineWidth;return l?(e.x=a(r,l,!0),e.y=a(o,l,!0),e.width=Math.max(a(r+i,l,!1)-e.x,0===i?0:1),e.height=Math.max(a(o+s,l,!1)-e.y,0===s?0:1),e):e}}function a(e,t,n){if(!t)return e;var o=r(2*e);return(o+r(t))%2==0?o/2:(o+(n?1:-1))/2}},14962:function(e,t,n){"use strict";n.d(t,{L:function(){return o},s:function(){return a}});var r=n(32944),o=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],i=(0,r.A)(o),a=function(){function e(){}return e.prototype.getItemStyle=function(e,t){return i(this,e,t)},e}()},15024:function(e,t,n){"use strict";var r=n(46518),o=n(83650);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("symmetricDifference")},{symmetricDifference:o})},15135:function(e,t,n){"use strict";var r=n(98026),o=0,i=function(){function e(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++o}return e.createByAxisModel=function(t){var n=t.option,o=n.data,i=o&&(0,r.map)(o,a);return new e({categories:i,needCollect:!i,deduplication:!1!==n.dedplication})},e.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},e.prototype.parseAndCollect=function(e){var t,n=this._needCollect;if(!(0,r.isString)(e)&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var o=this._getOrCreateMap();return null==(t=o.get(e))&&(n?(t=this.categories.length,this.categories[t]=e,o.set(e,t)):t=NaN),t},e.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,r.createHashMap)(this.categories))},e}();function a(e){return(0,r.isObject)(e)&&null!=e.value?e.value:e+""}t.A=i},15215:function(e,t,n){"use strict";n.d(t,{C6:function(){return o}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create,Object.create},15367:function(e,t,n){"use strict";n.d(t,{Hg:function(){return F}});var r=n(48820),o=n(43720);const i=10,a=new Set([25,49,50,263,65,130,56,57,238,62,63,72,73,77,60,61,151,152,155,112]);function s(e){return e==i||13==e}function l(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}const c=new r.Lu(((e,t)=>{let n;if(e.next<0)e.acceptToken(199);else if(t.context.flags&d)s(e.next)&&e.acceptToken(198,1);else if(((n=e.peek(-1))<0||s(n))&&t.canShift(197)){let t=0;for(;32==e.next||9==e.next;)e.advance(),t++;e.next!=i&&13!=e.next&&35!=e.next||e.acceptToken(197,-t)}else s(e.next)&&e.acceptToken(196,1)}),{contextual:!0}),u=new r.Lu(((e,t)=>{let n=t.context;if(n.flags)return;let r=e.peek(-1);if(r==i||13==r){let t=0,r=0;for(;;){if(32==e.next)t++;else{if(9!=e.next)break;t+=8-t%8}e.advance(),r++}t!=n.indent&&e.next!=i&&13!=e.next&&35!=e.next&&(t<n.indent?e.acceptToken(195,-r):e.acceptToken(194))}})),d=1,f=4,h=8,p=16,m=32;function g(e,t,n){this.parent=e,this.indent=t,this.flags=n,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+n+(n<<6)}const A=new g(null,0,0),v=new Map([[241,0],[242,f],[243,h],[244,h|f],[245,p],[246,p|f],[247,p|h],[248,p|h|f],[249,m],[250,m|f],[251,m|h],[252,m|h|f],[253,m|p],[254,m|p|f],[255,m|p|h],[256,m|p|h|f]].map((([e,t])=>[e,2|t]))),y=new r.Aj({start:A,reduce(e,t,n,r){return e.flags&d&&a.has(t)||(71==t||72==t)&&2&e.flags?e.parent:e},shift(e,t,n,r){return 194==t?new g(e,function(e){let t=0;for(let n=0;n<e.length;n++)t+=9==e.charCodeAt(n)?8-t%8:1;return t}(r.read(r.pos,n.pos)),0):195==t?e.parent:24==t||55==t||59==t||3==t?new g(e,0,d):v.has(t)?new g(e,0,v.get(t)|e.flags&d):e},hash(e){return e.hash}}),O=new r.Lu((e=>{for(let t=0;t<5;t++){if(e.next!="print".charCodeAt(t))return;e.advance()}if(!/\w/.test(String.fromCharCode(e.next)))for(let t=0;;t++){let n=e.peek(t);if(32!=n&&9!=n)return void(40!=n&&46!=n&&n!=i&&13!=n&&35!=n&&e.acceptToken(1))}})),b=new r.Lu(((e,t)=>{let{flags:n}=t.context,r=n&f?34:39,o=(n&h)>0,a=!(n&p),s=(n&m)>0,l=e.pos;for(;!(e.next<0);)if(s&&123==e.next){if(123!=e.peek(1)){if(e.pos==l)return void e.acceptToken(3,1);break}e.advance(2)}else{if(a&&92==e.next){if(e.pos==l){e.advance();let t=e.next;return t>=0&&(e.advance(),w(e,t)),void e.acceptToken(2)}break}if(e.next==r&&(!o||e.peek(1)==r&&e.peek(2)==r)){if(e.pos==l)return void e.acceptToken(201,o?3:1);break}if(e.next==i){if(o)e.advance();else if(e.pos==l)return void e.acceptToken(201);break}e.advance()}e.pos>l&&e.acceptToken(200)}));function w(e,t){if(111==t)for(let t=0;t<2&&e.next>=48&&e.next<=55;t++)e.advance();else if(120==t)for(let t=0;t<2&&l(e.next);t++)e.advance();else if(117==t)for(let t=0;t<4&&l(e.next);t++)e.advance();else if(85==t)for(let t=0;t<8&&l(e.next);t++)e.advance();else if(78==t&&123==e.next){for(e.advance();e.next>=0&&125!=e.next&&39!=e.next&&34!=e.next&&e.next!=i;)e.advance();125==e.next&&e.advance()}}const _=(0,o.pn)({'async "*" "**" FormatConversion FormatSpec':o._A.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":o._A.controlKeyword,"in not and or is del":o._A.operatorKeyword,"from def class global nonlocal lambda":o._A.definitionKeyword,import:o._A.moduleKeyword,"with as print":o._A.keyword,Boolean:o._A.bool,None:o._A.null,VariableName:o._A.variableName,"CallExpression/VariableName":o._A.function(o._A.variableName),"FunctionDefinition/VariableName":o._A.function(o._A.definition(o._A.variableName)),"ClassDefinition/VariableName":o._A.definition(o._A.className),PropertyName:o._A.propertyName,"CallExpression/MemberExpression/PropertyName":o._A.function(o._A.propertyName),Comment:o._A.lineComment,Number:o._A.number,String:o._A.string,FormatString:o._A.special(o._A.string),Escape:o._A.escape,UpdateOp:o._A.updateOperator,"ArithOp!":o._A.arithmeticOperator,BitOp:o._A.bitwiseOperator,CompareOp:o._A.compareOperator,AssignOp:o._A.definitionOperator,Ellipsis:o._A.punctuation,At:o._A.meta,"( )":o._A.paren,"[ ]":o._A.squareBracket,"{ }":o._A.brace,".":o._A.derefOperator,", ;":o._A.separator}),x={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:162,True:164,False:164,del:178,pass:182,break:186,continue:190,return:194,raise:202,import:206,as:208,global:212,nonlocal:214,assert:218,type:223,elif:236,while:240,try:246,except:248,finally:250,with:254,def:258,class:268,match:279,case:285},S=r.U1.deserialize({version:14,states:"##jO`QeOOP$}OSOOO&WQtO'#HUOOQS'#Co'#CoOOQS'#Cp'#CpO'vQdO'#CnO*UQtO'#HTOOQS'#HU'#HUOOQS'#DU'#DUOOQS'#HT'#HTO*rQdO'#D_O+VQdO'#DfO+gQdO'#DjO+zOWO'#DuO,VOWO'#DvO.[QtO'#GuOOQS'#Gu'#GuO'vQdO'#GtO0ZQtO'#GtOOQS'#Eb'#EbO0rQdO'#EcOOQS'#Gs'#GsO0|QdO'#GrOOQV'#Gr'#GrO1XQdO'#FYOOQS'#G^'#G^O1^QdO'#FXOOQV'#IS'#ISOOQV'#Gq'#GqOOQV'#Fq'#FqQ`QeOOO'vQdO'#CqO1lQdO'#C}O1sQdO'#DRO2RQdO'#HYO2cQtO'#EVO'vQdO'#EWOOQS'#EY'#EYOOQS'#E['#E[OOQS'#E^'#E^O2wQdO'#E`O3_QdO'#EdO3rQdO'#EfO3zQtO'#EfO1XQdO'#EiO0rQdO'#ElO1XQdO'#EnO0rQdO'#EtO0rQdO'#EwO4VQdO'#EyO4^QdO'#FOO4iQdO'#EzO0rQdO'#FOO1XQdO'#FQO1XQdO'#FVO4nQdO'#F[P4uOdO'#GpPOOO)CBd)CBdOOQS'#Ce'#CeOOQS'#Cf'#CfOOQS'#Cg'#CgOOQS'#Ch'#ChOOQS'#Ci'#CiOOQS'#Cj'#CjOOQS'#Cl'#ClO'vQdO,59OO'vQdO,59OO'vQdO,59OO'vQdO,59OO'vQdO,59OO'vQdO,59OO5TQdO'#DoOOQS,5:Y,5:YO5hQdO'#HdOOQS,5:],5:]O5uQ!fO,5:]O5zQtO,59YO1lQdO,59bO1lQdO,59bO1lQdO,59bO8jQdO,59bO8oQdO,59bO8vQdO,59jO8}QdO'#HTO:TQdO'#HSOOQS'#HS'#HSOOQS'#D['#D[O:lQdO,59aO'vQdO,59aO:zQdO,59aOOQS,59y,59yO;PQdO,5:RO'vQdO,5:ROOQS,5:Q,5:QO;_QdO,5:QO;dQdO,5:XO'vQdO,5:XO'vQdO,5:VOOQS,5:U,5:UO;uQdO,5:UO;zQdO,5:WOOOW'#Fy'#FyO<POWO,5:aOOQS,5:a,5:aO<[QdO'#HwOOOW'#Dw'#DwOOOW'#Fz'#FzO<lOWO,5:bOOQS,5:b,5:bOOQS'#F}'#F}O<zQtO,5:iO?lQtO,5=`O@VQ#xO,5=`O@vQtO,5=`OOQS,5:},5:}OA_QeO'#GWOBqQdO,5;^OOQV,5=^,5=^OB|QtO'#IPOCkQdO,5;tOOQS-E:[-E:[OOQV,5;s,5;sO4dQdO'#FQOOQV-E9o-E9oOCsQtO,59]OEzQtO,59iOFeQdO'#HVOFpQdO'#HVO1XQdO'#HVOF{QdO'#DTOGTQdO,59mOGYQdO'#HZO'vQdO'#HZO0rQdO,5=tOOQS,5=t,5=tO0rQdO'#EROOQS'#ES'#ESOGwQdO'#GPOHXQdO,58|OHXQdO,58|O*xQdO,5:oOHgQtO'#H]OOQS,5:r,5:rOOQS,5:z,5:zOHzQdO,5;OOI]QdO'#IOO1XQdO'#H}OOQS,5;Q,5;QOOQS'#GT'#GTOIqQtO,5;QOJPQdO,5;QOJUQdO'#IQOOQS,5;T,5;TOJdQdO'#H|OOQS,5;W,5;WOJuQdO,5;YO4iQdO,5;`O4iQdO,5;cOJ}QtO'#ITO'vQdO'#ITOKXQdO,5;eO4VQdO,5;eO0rQdO,5;jO1XQdO,5;lOK^QeO'#EuOLjQgO,5;fO!!kQdO'#IUO4iQdO,5;jO!!vQdO,5;lO!#OQdO,5;qO!#ZQtO,5;vO'vQdO,5;vPOOO,5=[,5=[P!#bOSO,5=[P!#jOdO,5=[O!&bQtO1G.jO!&iQtO1G.jO!)YQtO1G.jO!)dQtO1G.jO!+}QtO1G.jO!,bQtO1G.jO!,uQdO'#HcO!-TQtO'#GuO0rQdO'#HcO!-_QdO'#HbOOQS,5:Z,5:ZO!-gQdO,5:ZO!-lQdO'#HeO!-wQdO'#HeO!.[QdO,5>OOOQS'#Ds'#DsOOQS1G/w1G/wOOQS1G.|1G.|O!/[QtO1G.|O!/cQtO1G.|O1lQdO1G.|O!0OQdO1G/UOOQS'#DZ'#DZO0rQdO,59tOOQS1G.{1G.{O!0VQdO1G/eO!0gQdO1G/eO!0oQdO1G/fO'vQdO'#H[O!0tQdO'#H[O!0yQtO1G.{O!1ZQdO,59iO!2aQdO,5=zO!2qQdO,5=zO!2yQdO1G/mO!3OQtO1G/mOOQS1G/l1G/lO!3`QdO,5=uO!4VQdO,5=uO0rQdO1G/qO!4tQdO1G/sO!4yQtO1G/sO!5ZQtO1G/qOOQS1G/p1G/pOOQS1G/r1G/rOOOW-E9w-E9wOOQS1G/{1G/{O!5kQdO'#HxO0rQdO'#HxO!5|QdO,5>cOOOW-E9x-E9xOOQS1G/|1G/|OOQS-E9{-E9{O!6[Q#xO1G2zO!6{QtO1G2zO'vQdO,5<jOOQS,5<j,5<jOOQS-E9|-E9|OOQS,5<r,5<rOOQS-E:U-E:UOOQV1G0x1G0xO1XQdO'#GRO!7dQtO,5>kOOQS1G1`1G1`O!8RQdO1G1`OOQS'#DV'#DVO0rQdO,5=qOOQS,5=q,5=qO!8WQdO'#FrO!8cQdO,59oO!8kQdO1G/XO!8uQtO,5=uOOQS1G3`1G3`OOQS,5:m,5:mO!9fQdO'#GtOOQS,5<k,5<kOOQS-E9}-E9}O!9wQdO1G.hOOQS1G0Z1G0ZO!:VQdO,5=wO!:gQdO,5=wO0rQdO1G0jO0rQdO1G0jO!:xQdO,5>jO!;ZQdO,5>jO1XQdO,5>jO!;lQdO,5>iOOQS-E:R-E:RO!;qQdO1G0lO!;|QdO1G0lO!<RQdO,5>lO!<aQdO,5>lO!<oQdO,5>hO!=VQdO,5>hO!=hQdO'#EpO0rQdO1G0tO!=sQdO1G0tO!=xQgO1G0zO!AvQgO1G0}O!EqQdO,5>oO!E{QdO,5>oO!FTQtO,5>oO0rQdO1G1PO!F_QdO1G1PO4iQdO1G1UO!!vQdO1G1WOOQV,5;a,5;aO!FdQfO,5;aO!FiQgO1G1QO!JjQdO'#GZO4iQdO1G1QO4iQdO1G1QO!JzQdO,5>pO!KXQdO,5>pO1XQdO,5>pOOQV1G1U1G1UO!KaQdO'#FSO!KrQ!fO1G1WO!KzQdO1G1WOOQV1G1]1G1]O4iQdO1G1]O!LPQdO1G1]O!LXQdO'#F^OOQV1G1b1G1bO!#ZQtO1G1bPOOO1G2v1G2vP!L^OSO1G2vOOQS,5=},5=}OOQS'#Dp'#DpO0rQdO,5=}O!LfQdO,5=|O!LyQdO,5=|OOQS1G/u1G/uO!MRQdO,5>PO!McQdO,5>PO!MkQdO,5>PO!NOQdO,5>PO!N`QdO,5>POOQS1G3j1G3jOOQS7+$h7+$hO!8kQdO7+$pO#!RQdO1G.|O#!YQdO1G.|OOQS1G/`1G/`OOQS,5<`,5<`O'vQdO,5<`OOQS7+%P7+%PO#!aQdO7+%POOQS-E9r-E9rOOQS7+%Q7+%QO#!qQdO,5=vO'vQdO,5=vOOQS7+$g7+$gO#!vQdO7+%PO##OQdO7+%QO##TQdO1G3fOOQS7+%X7+%XO##eQdO1G3fO##mQdO7+%XOOQS,5<_,5<_O'vQdO,5<_O##rQdO1G3aOOQS-E9q-E9qO#$iQdO7+%]OOQS7+%_7+%_O#$wQdO1G3aO#%fQdO7+%_O#%kQdO1G3gO#%{QdO1G3gO#&TQdO7+%]O#&YQdO,5>dO#&sQdO,5>dO#&sQdO,5>dOOQS'#Dx'#DxO#'UO&jO'#DzO#'aO`O'#HyOOOW1G3}1G3}O#'fQdO1G3}O#'nQdO1G3}O#'yQ#xO7+(fO#(jQtO1G2UP#)TQdO'#GOOOQS,5<m,5<mOOQS-E:P-E:POOQS7+&z7+&zOOQS1G3]1G3]OOQS,5<^,5<^OOQS-E9p-E9pOOQS7+$s7+$sO#)bQdO,5=`O#){QdO,5=`O#*^QtO,5<aO#*qQdO1G3cOOQS-E9s-E9sOOQS7+&U7+&UO#+RQdO7+&UO#+aQdO,5<nO#+uQdO1G4UOOQS-E:Q-E:QO#,WQdO1G4UOOQS1G4T1G4TOOQS7+&W7+&WO#,iQdO7+&WOOQS,5<p,5<pO#,tQdO1G4WOOQS-E:S-E:SOOQS,5<l,5<lO#-SQdO1G4SOOQS-E:O-E:OO1XQdO'#EqO#-jQdO'#EqO#-uQdO'#IRO#-}QdO,5;[OOQS7+&`7+&`O0rQdO7+&`O#.SQgO7+&fO!JmQdO'#GXO4iQdO7+&fO4iQdO7+&iO#2QQtO,5<tO'vQdO,5<tO#2[QdO1G4ZOOQS-E:W-E:WO#2fQdO1G4ZO4iQdO7+&kO0rQdO7+&kOOQV7+&p7+&pO!KrQ!fO7+&rO!KzQdO7+&rO`QeO1G0{OOQV-E:X-E:XO4iQdO7+&lO4iQdO7+&lOOQV,5<u,5<uO#2nQdO,5<uO!JmQdO,5<uOOQV7+&l7+&lO#2yQgO7+&lO#6tQdO,5<vO#7PQdO1G4[OOQS-E:Y-E:YO#7^QdO1G4[O#7fQdO'#IWO#7tQdO'#IWO1XQdO'#IWOOQS'#IW'#IWO#8PQdO'#IVOOQS,5;n,5;nO#8XQdO,5;nO0rQdO'#FUOOQV7+&r7+&rO4iQdO7+&rOOQV7+&w7+&wO4iQdO7+&wO#8^QfO,5;xOOQV7+&|7+&|POOO7+(b7+(bO#8cQdO1G3iOOQS,5<c,5<cO#8qQdO1G3hOOQS-E9u-E9uO#9UQdO,5<dO#9aQdO,5<dO#9tQdO1G3kOOQS-E9v-E9vO#:UQdO1G3kO#:^QdO1G3kO#:nQdO1G3kO#:UQdO1G3kOOQS<<H[<<H[O#:yQtO1G1zOOQS<<Hk<<HkP#;WQdO'#FtO8vQdO1G3bO#;eQdO1G3bO#;jQdO<<HkOOQS<<Hl<<HlO#;zQdO7+)QOOQS<<Hs<<HsO#<[QtO1G1yP#<{QdO'#FsO#=YQdO7+)RO#=jQdO7+)RO#=rQdO<<HwO#=wQdO7+({OOQS<<Hy<<HyO#>nQdO,5<bO'vQdO,5<bOOQS-E9t-E9tOOQS<<Hw<<HwOOQS,5<g,5<gO0rQdO,5<gO#>sQdO1G4OOOQS-E9y-E9yO#?^QdO1G4OO<[QdO'#H{OOOO'#D{'#D{OOOO'#F|'#F|O#?oO&jO,5:fOOOW,5>e,5>eOOOW7+)i7+)iO#?zQdO7+)iO#@SQdO1G2zO#@mQdO1G2zP'vQdO'#FuO0rQdO<<IpO1XQdO1G2YP1XQdO'#GSO#AOQdO7+)pO#AaQdO7+)pOOQS<<Ir<<IrP1XQdO'#GUP0rQdO'#GQOOQS,5;],5;]O#ArQdO,5>mO#BQQdO,5>mOOQS1G0v1G0vOOQS<<Iz<<IzOOQV-E:V-E:VO4iQdO<<JQOOQV,5<s,5<sO4iQdO,5<sOOQV<<JQ<<JQOOQV<<JT<<JTO#BYQtO1G2`P#BdQdO'#GYO#BkQdO7+)uO#BuQgO<<JVO4iQdO<<JVOOQV<<J^<<J^O4iQdO<<J^O!KrQ!fO<<J^O#FpQgO7+&gOOQV<<JW<<JWO#FzQgO<<JWOOQV1G2a1G2aO1XQdO1G2aO#JuQdO1G2aO4iQdO<<JWO1XQdO1G2bP0rQdO'#G[O#KQQdO7+)vO#K_QdO7+)vOOQS'#FT'#FTO0rQdO,5>rO#KgQdO,5>rO#KrQdO,5>rO#K}QdO,5>qO#L`QdO,5>qOOQS1G1Y1G1YOOQS,5;p,5;pOOQV<<Jc<<JcO#LhQdO1G1dOOQS7+)T7+)TP#LmQdO'#FwO#L}QdO1G2OO#MbQdO1G2OO#MrQdO1G2OP#M}QdO'#FxO#N[QdO7+)VO#NlQdO7+)VO#NlQdO7+)VO#NtQdO7+)VO$ UQdO7+(|O8vQdO7+(|OOQSAN>VAN>VO$ oQdO<<LmOOQSAN>cAN>cO0rQdO1G1|O$!PQtO1G1|P$!ZQdO'#FvOOQS1G2R1G2RP$!hQdO'#F{O$!uQdO7+)jO$#`QdO,5>gOOOO-E9z-E9zOOOW<<MT<<MTO$#nQdO7+(fOOQSAN?[AN?[OOQS7+'t7+'tO$$XQdO<<M[OOQS,5<q,5<qO$$jQdO1G4XOOQS-E:T-E:TOOQVAN?lAN?lOOQV1G2_1G2_O4iQdOAN?qO$$xQgOAN?qOOQVAN?xAN?xO4iQdOAN?xOOQV<<JR<<JRO4iQdOAN?rO4iQdO7+'{OOQV7+'{7+'{O1XQdO7+'{OOQVAN?rAN?rOOQS7+'|7+'|O$(sQdO<<MbOOQS1G4^1G4^O0rQdO1G4^OOQS,5<w,5<wO$)QQdO1G4]OOQS-E:Z-E:ZOOQU'#G_'#G_O$)cQfO7+'OO$)nQdO'#F_O$*uQdO7+'jO$+VQdO7+'jOOQS7+'j7+'jO$+bQdO<<LqO$+rQdO<<LqO$+rQdO<<LqO$+zQdO'#H^OOQS<<Lh<<LhO$,UQdO<<LhOOQS7+'h7+'hOOQS'#D|'#D|OOOO1G4R1G4RO$,oQdO1G4RO$,wQdO1G4RP!=hQdO'#GVOOQVG25]G25]O4iQdOG25]OOQVG25dG25dOOQVG25^G25^OOQV<<Kg<<KgO4iQdO<<KgOOQS7+)x7+)xP$-SQdO'#G]OOQU-E:]-E:]OOQV<<Jj<<JjO$-vQtO'#FaOOQS'#Fc'#FcO$.WQdO'#FbO$.xQdO'#FbOOQS'#Fb'#FbO$.}QdO'#IYO$)nQdO'#FiO$)nQdO'#FiO$/fQdO'#FjO$)nQdO'#FkO$/mQdO'#IZOOQS'#IZ'#IZO$0[QdO,5;yOOQS<<KU<<KUO$0dQdO<<KUO$0tQdOANB]O$1UQdOANB]O$1^QdO'#H_OOQS'#H_'#H_O1sQdO'#DcO$1wQdO,5=xOOQSANBSANBSOOOO7+)m7+)mO$2`QdO7+)mOOQVLD*wLD*wOOQVANARANARO5uQ!fO'#GaO$2hQtO,5<SO$)nQdO'#FmOOQS,5<W,5<WOOQS'#Fd'#FdO$3YQdO,5;|O$3_QdO,5;|OOQS'#Fg'#FgO$)nQdO'#G`O$4PQdO,5<QO$4kQdO,5>tO$4{QdO,5>tO1XQdO,5<PO$5^QdO,5<TO$5cQdO,5<TO$)nQdO'#I[O$5hQdO'#I[O$5mQdO,5<UOOQS,5<V,5<VO'vQdO'#FpOOQU1G1e1G1eO4iQdO1G1eOOQSAN@pAN@pO$5rQdOG27wO$6SQdO,59}OOQS1G3d1G3dOOOO<<MX<<MXOOQS,5<{,5<{OOQS-E:_-E:_O$6XQtO'#FaO$6`QdO'#I]O$6nQdO'#I]O$6vQdO,5<XOOQS1G1h1G1hO$6{QdO1G1hO$7QQdO,5<zOOQS-E:^-E:^O$7lQdO,5=OO$8TQdO1G4`OOQS-E:b-E:bOOQS1G1k1G1kOOQS1G1o1G1oO$8eQdO,5>vO$)nQdO,5>vOOQS1G1p1G1pO$8sQtO,5<[OOQU7+'P7+'PO$+zQdO1G/iO$)nQdO,5<YO$8zQdO,5>wO$9RQdO,5>wOOQS1G1s1G1sOOQS7+'S7+'SP$)nQdO'#GdO$9ZQdO1G4bO$9eQdO1G4bO$9mQdO1G4bOOQS7+%T7+%TO$9{QdO1G1tO$:ZQtO'#FaO$:bQdO,5<}OOQS,5<},5<}O$:pQdO1G4cOOQS-E:a-E:aO$)nQdO,5<|O$:wQdO,5<|O$:|QdO7+)|OOQS-E:`-E:`O$;WQdO7+)|O$)nQdO,5<ZP$)nQdO'#GcO$;`QdO1G2hO$)nQdO1G2hP$;nQdO'#GbO$;uQdO<<MhO$<PQdO1G1uO$<_QdO7+(SO8vQdO'#C}O8vQdO,59bO8vQdO,59bO8vQdO,59bO$<mQtO,5=`O8vQdO1G.|O0rQdO1G/XO0rQdO7+$pP$=QQdO'#GOO'vQdO'#GtO$=_QdO,59bO$=dQdO,59bO$=kQdO,59mO$=pQdO1G/UO1sQdO'#DRO8vQdO,59j",stateData:"$>Z~O%cOS%^OSSOS%]PQ~OPdOVaOfoOhYOopOs!POvqO!PrO!Q{O!T!SO!U!RO!XZO!][O!h`O!r`O!s`O!t`O!{tO!}uO#PvO#RwO#TxO#XyO#ZzO#^|O#_|O#a}O#c!OO#l!QO#o!TO#s!UO#u!VO#z!WO#}hO$P!XO%oRO%pRO%tSO%uWO&Z]O&[]O&]]O&^]O&_]O&`]O&a]O&b]O&c^O&d^O&e^O&f^O&g^O&h^O&i^O&j^O~O%]!YO~OV!aO_!aOa!bOh!iO!X!kO!f!mO%j![O%k!]O%l!^O%m!_O%n!_O%o!`O%p!`O%q!aO%r!aO%s!aO~Ok%xXl%xXm%xXn%xXo%xXp%xXs%xXz%xX{%xX!x%xX#g%xX%[%xX%_%xX%z%xXg%xX!T%xX!U%xX%{%xX!W%xX![%xX!Q%xX#[%xXt%xX!m%xX~P%SOfoOhYO!XZO!][O!h`O!r`O!s`O!t`O%oRO%pRO%tSO%uWO&Z]O&[]O&]]O&^]O&_]O&`]O&a]O&b]O&c^O&d^O&e^O&f^O&g^O&h^O&i^O&j^O~Oz%wX{%wX#g%wX%[%wX%_%wX%z%wX~Ok!pOl!qOm!oOn!oOo!rOp!sOs!tO!x%wX~P)pOV!zOg!|Oo0cOv0qO!PrO~P'vOV#OOo0cOv0qO!W#PO~P'vOV#SOa#TOo0cOv0qO![#UO~P'vOQ#XO%`#XO%a#ZO~OQ#^OR#[O%`#^O%a#`O~OV%iX_%iXa%iXh%iXk%iXl%iXm%iXn%iXo%iXp%iXs%iXz%iX!X%iX!f%iX%j%iX%k%iX%l%iX%m%iX%n%iX%o%iX%p%iX%q%iX%r%iX%s%iXg%iX!T%iX!U%iX~O&Z]O&[]O&]]O&^]O&_]O&`]O&a]O&b]O&c^O&d^O&e^O&f^O&g^O&h^O&i^O&j^O{%iX!x%iX#g%iX%[%iX%_%iX%z%iX%{%iX!W%iX![%iX!Q%iX#[%iXt%iX!m%iX~P,eOz#dO{%hX!x%hX#g%hX%[%hX%_%hX%z%hX~Oo0cOv0qO~P'vO#g#gO%[#iO%_#iO~O%uWO~O!T#nO#u!VO#z!WO#}hO~OopO~P'vOV#sOa#tO%uWO{wP~OV#xOo0cOv0qO!Q#yO~P'vO{#{O!x$QO%z#|O#g!yX%[!yX%_!yX~OV#xOo0cOv0qO#g#SX%[#SX%_#SX~P'vOo0cOv0qO#g#WX%[#WX%_#WX~P'vOh$WO%uWO~O!f$YO!r$YO%uWO~OV$eO~P'vO!U$gO#s$hO#u$iO~O{$jO~OV$qO~P'vOS$sO%[$rO%_$rO%c$tO~OV$}Oa$}Og%POo0cOv0qO~P'vOo0cOv0qO{%SO~P'vO&Y%UO~Oa!bOh!iO!X!kO!f!mOVba_bakbalbambanbaobapbasbazba{ba!xba#gba%[ba%_ba%jba%kba%lba%mba%nba%oba%pba%qba%rba%sba%zbagba!Tba!Uba%{ba!Wba![ba!Qba#[batba!mba~On%ZO~Oo%ZO~P'vOo0cO~P'vOk0eOl0fOm0dOn0dOo0mOp0nOs0rOg%wX!T%wX!U%wX%{%wX!W%wX![%wX!Q%wX#[%wX!m%wX~P)pO%{%]Og%vXz%vX!T%vX!U%vX!W%vX{%vX~Og%_Oz%`O!T%dO!U%cO~Og%_O~Oz%gO!T%dO!U%cO!W&SX~O!W%kO~Oz%lO{%nO!T%dO!U%cO![%}X~O![%rO~O![%sO~OQ#XO%`#XO%a%uO~OV%wOo0cOv0qO!PrO~P'vOQ#^OR#[O%`#^O%a%zO~OV!qa_!qaa!qah!qak!qal!qam!qan!qao!qap!qas!qaz!qa{!qa!X!qa!f!qa!x!qa#g!qa%[!qa%_!qa%j!qa%k!qa%l!qa%m!qa%n!qa%o!qa%p!qa%q!qa%r!qa%s!qa%z!qag!qa!T!qa!U!qa%{!qa!W!qa![!qa!Q!qa#[!qat!qa!m!qa~P#yOz%|O{%ha!x%ha#g%ha%[%ha%_%ha%z%ha~P%SOV&OOopOvqO{%ha!x%ha#g%ha%[%ha%_%ha%z%ha~P'vOz%|O{%ha!x%ha#g%ha%[%ha%_%ha%z%ha~OPdOVaOopOvqO!PrO!Q{O!{tO!}uO#PvO#RwO#TxO#XyO#ZzO#^|O#_|O#a}O#c!OO#g$zX%[$zX%_$zX~P'vO#g#gO%[&TO%_&TO~O!f&UOh&sX%[&sXz&sX#[&sX#g&sX%_&sX#Z&sXg&sX~Oh!iO%[&WO~Okealeameaneaoeapeaseazea{ea!xea#gea%[ea%_ea%zeagea!Tea!Uea%{ea!Wea![ea!Qea#[eatea!mea~P%SOsqazqa{qa#gqa%[qa%_qa%zqa~Ok!pOl!qOm!oOn!oOo!rOp!sO!xqa~PEcO%z&YOz%yX{%yX~O%uWOz%yX{%yX~Oz&]O{wX~O{&_O~Oz%lO#g%}X%[%}X%_%}Xg%}X{%}X![%}X!m%}X%z%}X~OV0lOo0cOv0qO!PrO~P'vO%z#|O#gUa%[Ua%_Ua~Oz&hO#g&PX%[&PX%_&PXn&PX~P%SOz&kO!Q&jO#g#Wa%[#Wa%_#Wa~Oz&lO#[&nO#g&rX%[&rX%_&rXg&rX~O!f$YO!r$YO#Z&qO%uWO~O#Z&qO~Oz&sO#g&tX%[&tX%_&tX~Oz&uO#g&pX%[&pX%_&pX{&pX~O!X&wO%z&xO~Oz&|On&wX~P%SOn'PO~OPdOVaOopOvqO!PrO!Q{O!{tO!}uO#PvO#RwO#TxO#XyO#ZzO#^|O#_|O#a}O#c!OO%['UO~P'vOt'YO#p'WO#q'XOP#naV#naf#nah#nao#nas#nav#na!P#na!Q#na!T#na!U#na!X#na!]#na!h#na!r#na!s#na!t#na!{#na!}#na#P#na#R#na#T#na#X#na#Z#na#^#na#_#na#a#na#c#na#l#na#o#na#s#na#u#na#z#na#}#na$P#na%X#na%o#na%p#na%t#na%u#na&Z#na&[#na&]#na&^#na&_#na&`#na&a#na&b#na&c#na&d#na&e#na&f#na&g#na&h#na&i#na&j#na%Z#na%_#na~Oz'ZO#[']O{&xX~Oh'_O!X&wO~Oh!iO{$jO!X&wO~O{'eO~P%SO%['hO%_'hO~OS'iO%['hO%_'hO~OV!aO_!aOa!bOh!iO!X!kO!f!mO%l!^O%m!_O%n!_O%o!`O%p!`O%q!aO%r!aO%s!aOkWilWimWinWioWipWisWizWi{Wi!xWi#gWi%[Wi%_Wi%jWi%zWigWi!TWi!UWi%{Wi!WWi![Wi!QWi#[WitWi!mWi~O%k!]O~P!#uO%kWi~P!#uOV!aO_!aOa!bOh!iO!X!kO!f!mO%o!`O%p!`O%q!aO%r!aO%s!aOkWilWimWinWioWipWisWizWi{Wi!xWi#gWi%[Wi%_Wi%jWi%kWi%lWi%zWigWi!TWi!UWi%{Wi!WWi![Wi!QWi#[WitWi!mWi~O%m!_O%n!_O~P!&pO%mWi%nWi~P!&pOa!bOh!iO!X!kO!f!mOkWilWimWinWioWipWisWizWi{Wi!xWi#gWi%[Wi%_Wi%jWi%kWi%lWi%mWi%nWi%oWi%pWi%zWigWi!TWi!UWi%{Wi!WWi![Wi!QWi#[WitWi!mWi~OV!aO_!aO%q!aO%r!aO%s!aO~P!)nOVWi_Wi%qWi%rWi%sWi~P!)nO!T%dO!U%cOg&VXz&VX~O%z'kO%{'kO~P,eOz'mOg&UX~Og'oO~Oz'pO{'rO!W&XX~Oo0cOv0qOz'pO{'sO!W&XX~P'vO!W'uO~Om!oOn!oOo!rOp!sOkjisjizji{ji!xji#gji%[ji%_ji%zji~Ol!qO~P!.aOlji~P!.aOk0eOl0fOm0dOn0dOo0mOp0nO~Ot'wO~P!/jOV'|Og'}Oo0cOv0qO~P'vOg'}Oz(OO~Og(QO~O!U(SO~Og(TOz(OO!T%dO!U%cO~P%SOk0eOl0fOm0dOn0dOo0mOp0nOgqa!Tqa!Uqa%{qa!Wqa![qa!Qqa#[qatqa!mqa~PEcOV'|Oo0cOv0qO!W&Sa~P'vOz(WO!W&Sa~O!W(XO~Oz(WO!T%dO!U%cO!W&Sa~P%SOV(]Oo0cOv0qO![%}a#g%}a%[%}a%_%}ag%}a{%}a!m%}a%z%}a~P'vOz(^O![%}a#g%}a%[%}a%_%}ag%}a{%}a!m%}a%z%}a~O![(aO~Oz(^O!T%dO!U%cO![%}a~P%SOz(dO!T%dO!U%cO![&Ta~P%SOz(gO{&lX![&lX!m&lX%z&lX~O{(kO![(mO!m(nO%z(jO~OV&OOopOvqO{%hi!x%hi#g%hi%[%hi%_%hi%z%hi~P'vOz(pO{%hi!x%hi#g%hi%[%hi%_%hi%z%hi~O!f&UOh&sa%[&saz&sa#[&sa#g&sa%_&sa#Z&sag&sa~O%[(uO~OV#sOa#tO%uWO~Oz&]O{wa~OopOvqO~P'vOz(^O#g%}a%[%}a%_%}ag%}a{%}a![%}a!m%}a%z%}a~P%SOz(zO#g%hX%[%hX%_%hX%z%hX~O%z#|O#gUi%[Ui%_Ui~O#g&Pa%[&Pa%_&Pan&Pa~P'vOz(}O#g&Pa%[&Pa%_&Pan&Pa~O%uWO#g&ra%[&ra%_&rag&ra~Oz)SO#g&ra%[&ra%_&rag&ra~Og)VO~OV)WOh$WO%uWO~O#Z)XO~O%uWO#g&ta%[&ta%_&ta~Oz)ZO#g&ta%[&ta%_&ta~Oo0cOv0qO#g&pa%[&pa%_&pa{&pa~P'vOz)^O#g&pa%[&pa%_&pa{&pa~OV)`Oa)`O%uWO~O%z)eO~Ot)hO#j)gOP#hiV#hif#hih#hio#his#hiv#hi!P#hi!Q#hi!T#hi!U#hi!X#hi!]#hi!h#hi!r#hi!s#hi!t#hi!{#hi!}#hi#P#hi#R#hi#T#hi#X#hi#Z#hi#^#hi#_#hi#a#hi#c#hi#l#hi#o#hi#s#hi#u#hi#z#hi#}#hi$P#hi%X#hi%o#hi%p#hi%t#hi%u#hi&Z#hi&[#hi&]#hi&^#hi&_#hi&`#hi&a#hi&b#hi&c#hi&d#hi&e#hi&f#hi&g#hi&h#hi&i#hi&j#hi%Z#hi%_#hi~Ot)iOP#kiV#kif#kih#kio#kis#kiv#ki!P#ki!Q#ki!T#ki!U#ki!X#ki!]#ki!h#ki!r#ki!s#ki!t#ki!{#ki!}#ki#P#ki#R#ki#T#ki#X#ki#Z#ki#^#ki#_#ki#a#ki#c#ki#l#ki#o#ki#s#ki#u#ki#z#ki#}#ki$P#ki%X#ki%o#ki%p#ki%t#ki%u#ki&Z#ki&[#ki&]#ki&^#ki&_#ki&`#ki&a#ki&b#ki&c#ki&d#ki&e#ki&f#ki&g#ki&h#ki&i#ki&j#ki%Z#ki%_#ki~OV)kOn&wa~P'vOz)lOn&wa~Oz)lOn&wa~P%SOn)pO~O%Y)tO~Ot)wO#p'WO#q)vOP#niV#nif#nih#nio#nis#niv#ni!P#ni!Q#ni!T#ni!U#ni!X#ni!]#ni!h#ni!r#ni!s#ni!t#ni!{#ni!}#ni#P#ni#R#ni#T#ni#X#ni#Z#ni#^#ni#_#ni#a#ni#c#ni#l#ni#o#ni#s#ni#u#ni#z#ni#}#ni$P#ni%X#ni%o#ni%p#ni%t#ni%u#ni&Z#ni&[#ni&]#ni&^#ni&_#ni&`#ni&a#ni&b#ni&c#ni&d#ni&e#ni&f#ni&g#ni&h#ni&i#ni&j#ni%Z#ni%_#ni~OV)zOo0cOv0qO{$jO~P'vOo0cOv0qO{&xa~P'vOz*OO{&xa~OV*SOa*TOg*WO%q*UO%uWO~O{$jO&{*YO~Oh'_O~Oh!iO{$jO~O%[*_O~O%[*aO%_*aO~OV$}Oa$}Oo0cOv0qOg&Ua~P'vOz*dOg&Ua~Oo0cOv0qO{*gO!W&Xa~P'vOz*hO!W&Xa~Oo0cOv0qOz*hO{*kO!W&Xa~P'vOo0cOv0qOz*hO!W&Xa~P'vOz*hO{*kO!W&Xa~Om0dOn0dOo0mOp0nOgjikjisjizji!Tji!Uji%{ji!Wji{ji![ji#gji%[ji%_ji!Qji#[jitji!mji%zji~Ol0fO~P!NkOlji~P!NkOV'|Og*pOo0cOv0qO~P'vOn*rO~Og*pOz*tO~Og*uO~OV'|Oo0cOv0qO!W&Si~P'vOz*vO!W&Si~O!W*wO~OV(]Oo0cOv0qO![%}i#g%}i%[%}i%_%}ig%}i{%}i!m%}i%z%}i~P'vOz*zO!T%dO!U%cO![&Ti~Oz*}O![%}i#g%}i%[%}i%_%}ig%}i{%}i!m%}i%z%}i~O![+OO~Oa+QOo0cOv0qO![&Ti~P'vOz*zO![&Ti~O![+SO~OV+UOo0cOv0qO{&la![&la!m&la%z&la~P'vOz+VO{&la![&la!m&la%z&la~O!]+YO&n+[O![!nX~O![+^O~O{(kO![+_O~O{(kO![+_O!m+`O~OV&OOopOvqO{%hq!x%hq#g%hq%[%hq%_%hq%z%hq~P'vOz$ri{$ri!x$ri#g$ri%[$ri%_$ri%z$ri~P%SOV&OOopOvqO~P'vOV&OOo0cOv0qO#g%ha%[%ha%_%ha%z%ha~P'vOz+aO#g%ha%[%ha%_%ha%z%ha~Oz$ia#g$ia%[$ia%_$ian$ia~P%SO#g&Pi%[&Pi%_&Pin&Pi~P'vOz+dO#g#Wq%[#Wq%_#Wq~O#[+eOz$va#g$va%[$va%_$vag$va~O%uWO#g&ri%[&ri%_&rig&ri~Oz+gO#g&ri%[&ri%_&rig&ri~OV+iOh$WO%uWO~O%uWO#g&ti%[&ti%_&ti~Oo0cOv0qO#g&pi%[&pi%_&pi{&pi~P'vO{#{Oz#eX!W#eX~Oz+mO!W&uX~O!W+oO~Ot+rO#j)gOP#hqV#hqf#hqh#hqo#hqs#hqv#hq!P#hq!Q#hq!T#hq!U#hq!X#hq!]#hq!h#hq!r#hq!s#hq!t#hq!{#hq!}#hq#P#hq#R#hq#T#hq#X#hq#Z#hq#^#hq#_#hq#a#hq#c#hq#l#hq#o#hq#s#hq#u#hq#z#hq#}#hq$P#hq%X#hq%o#hq%p#hq%t#hq%u#hq&Z#hq&[#hq&]#hq&^#hq&_#hq&`#hq&a#hq&b#hq&c#hq&d#hq&e#hq&f#hq&g#hq&h#hq&i#hq&j#hq%Z#hq%_#hq~On$|az$|a~P%SOV)kOn&wi~P'vOz+yOn&wi~Oz,TO{$jO#[,TO~O#q,VOP#nqV#nqf#nqh#nqo#nqs#nqv#nq!P#nq!Q#nq!T#nq!U#nq!X#nq!]#nq!h#nq!r#nq!s#nq!t#nq!{#nq!}#nq#P#nq#R#nq#T#nq#X#nq#Z#nq#^#nq#_#nq#a#nq#c#nq#l#nq#o#nq#s#nq#u#nq#z#nq#}#nq$P#nq%X#nq%o#nq%p#nq%t#nq%u#nq&Z#nq&[#nq&]#nq&^#nq&_#nq&`#nq&a#nq&b#nq&c#nq&d#nq&e#nq&f#nq&g#nq&h#nq&i#nq&j#nq%Z#nq%_#nq~O#[,WOz%Oa{%Oa~Oo0cOv0qO{&xi~P'vOz,YO{&xi~O{#{O%z,[Og&zXz&zX~O%uWOg&zXz&zX~Oz,`Og&yX~Og,bO~O%Y,eO~O!T%dO!U%cOg&Viz&Vi~OV$}Oa$}Oo0cOv0qOg&Ui~P'vO{,hOz$la!W$la~Oo0cOv0qO{,iOz$la!W$la~P'vOo0cOv0qO{*gO!W&Xi~P'vOz,lO!W&Xi~Oo0cOv0qOz,lO!W&Xi~P'vOz,lO{,oO!W&Xi~Og$hiz$hi!W$hi~P%SOV'|Oo0cOv0qO~P'vOn,qO~OV'|Og,rOo0cOv0qO~P'vOV'|Oo0cOv0qO!W&Sq~P'vOz$gi![$gi#g$gi%[$gi%_$gig$gi{$gi!m$gi%z$gi~P%SOV(]Oo0cOv0qO~P'vOa+QOo0cOv0qO![&Tq~P'vOz,sO![&Tq~O![,tO~OV(]Oo0cOv0qO![%}q#g%}q%[%}q%_%}qg%}q{%}q!m%}q%z%}q~P'vO{,uO~OV+UOo0cOv0qO{&li![&li!m&li%z&li~P'vOz,zO{&li![&li!m&li%z&li~O!]+YO&n+[O![!na~O{(kO![,}O~OV&OOo0cOv0qO#g%hi%[%hi%_%hi%z%hi~P'vOz-OO#g%hi%[%hi%_%hi%z%hi~O%uWO#g&rq%[&rq%_&rqg&rq~Oz-RO#g&rq%[&rq%_&rqg&rq~OV)`Oa)`O%uWO!W&ua~Oz-TO!W&ua~On$|iz$|i~P%SOV)kO~P'vOV)kOn&wq~P'vOt-XOP#myV#myf#myh#myo#mys#myv#my!P#my!Q#my!T#my!U#my!X#my!]#my!h#my!r#my!s#my!t#my!{#my!}#my#P#my#R#my#T#my#X#my#Z#my#^#my#_#my#a#my#c#my#l#my#o#my#s#my#u#my#z#my#}#my$P#my%X#my%o#my%p#my%t#my%u#my&Z#my&[#my&]#my&^#my&_#my&`#my&a#my&b#my&c#my&d#my&e#my&f#my&g#my&h#my&i#my&j#my%Z#my%_#my~O%Z-]O%_-]O~P`O#q-^OP#nyV#nyf#nyh#nyo#nys#nyv#ny!P#ny!Q#ny!T#ny!U#ny!X#ny!]#ny!h#ny!r#ny!s#ny!t#ny!{#ny!}#ny#P#ny#R#ny#T#ny#X#ny#Z#ny#^#ny#_#ny#a#ny#c#ny#l#ny#o#ny#s#ny#u#ny#z#ny#}#ny$P#ny%X#ny%o#ny%p#ny%t#ny%u#ny&Z#ny&[#ny&]#ny&^#ny&_#ny&`#ny&a#ny&b#ny&c#ny&d#ny&e#ny&f#ny&g#ny&h#ny&i#ny&j#ny%Z#ny%_#ny~Oz-aO{$jO#[-aO~Oo0cOv0qO{&xq~P'vOz-dO{&xq~O%z,[Og&zaz&za~O{#{Og&zaz&za~OV*SOa*TO%q*UO%uWOg&ya~Oz-hOg&ya~O$S-lO~OV$}Oa$}Oo0cOv0qO~P'vOo0cOv0qO{-mOz$li!W$li~P'vOo0cOv0qOz$li!W$li~P'vO{-mOz$li!W$li~Oo0cOv0qO{*gO~P'vOo0cOv0qO{*gO!W&Xq~P'vOz-pO!W&Xq~Oo0cOv0qOz-pO!W&Xq~P'vOs-sO!T%dO!U%cOg&Oq!W&Oq![&Oqz&Oq~P!/jOa+QOo0cOv0qO![&Ty~P'vOz$ji![$ji~P%SOa+QOo0cOv0qO~P'vOV+UOo0cOv0qO~P'vOV+UOo0cOv0qO{&lq![&lq!m&lq%z&lq~P'vO{(kO![-xO!m-yO%z-wO~OV&OOo0cOv0qO#g%hq%[%hq%_%hq%z%hq~P'vO%uWO#g&ry%[&ry%_&ryg&ry~OV)`Oa)`O%uWO!W&ui~Ot-}OP#m!RV#m!Rf#m!Rh#m!Ro#m!Rs#m!Rv#m!R!P#m!R!Q#m!R!T#m!R!U#m!R!X#m!R!]#m!R!h#m!R!r#m!R!s#m!R!t#m!R!{#m!R!}#m!R#P#m!R#R#m!R#T#m!R#X#m!R#Z#m!R#^#m!R#_#m!R#a#m!R#c#m!R#l#m!R#o#m!R#s#m!R#u#m!R#z#m!R#}#m!R$P#m!R%X#m!R%o#m!R%p#m!R%t#m!R%u#m!R&Z#m!R&[#m!R&]#m!R&^#m!R&_#m!R&`#m!R&a#m!R&b#m!R&c#m!R&d#m!R&e#m!R&f#m!R&g#m!R&h#m!R&i#m!R&j#m!R%Z#m!R%_#m!R~Oo0cOv0qO{&xy~P'vOV*SOa*TO%q*UO%uWOg&yi~O$S-lO%Z.VO%_.VO~OV.aOh._O!X.^O!].`O!h.YO!s.[O!t.[O%p.XO%uWO&Z]O&[]O&]]O&^]O&_]O&`]O&a]O&b]O~Oo0cOv0qOz$lq!W$lq~P'vO{.fOz$lq!W$lq~Oo0cOv0qO{*gO!W&Xy~P'vOz.gO!W&Xy~Oo0cOv.kO~P'vOs-sO!T%dO!U%cOg&Oy!W&Oy![&Oyz&Oy~P!/jO{(kO![.nO~O{(kO![.nO!m.oO~OV*SOa*TO%q*UO%uWO~Oh.tO!f.rOz$TX#[$TX%j$TXg$TX~Os$TX{$TX!W$TX![$TX~P$-bO%o.vO%p.vOs$UXz$UX{$UX#[$UX%j$UX!W$UXg$UX![$UX~O!h.xO~Oz.|O#[/OO%j.yOs&|X{&|X!W&|Xg&|X~Oa/RO~P$)zOh.tOs&}Xz&}X{&}X#[&}X%j&}X!W&}Xg&}X![&}X~Os/VO{$jO~Oo0cOv0qOz$ly!W$ly~P'vOo0cOv0qO{*gO!W&X!R~P'vOz/ZO!W&X!R~Og&RXs&RX!T&RX!U&RX!W&RX![&RXz&RX~P!/jOs-sO!T%dO!U%cOg&Qa!W&Qa![&Qaz&Qa~O{(kO![/^O~O!f.rOh$[as$[az$[a{$[a#[$[a%j$[a!W$[ag$[a![$[a~O!h/eO~O%o.vO%p.vOs$Uaz$Ua{$Ua#[$Ua%j$Ua!W$Uag$Ua![$Ua~O%j.yOs$Yaz$Ya{$Ya#[$Ya!W$Yag$Ya![$Ya~Os&|a{&|a!W&|ag&|a~P$)nOz/jOs&|a{&|a!W&|ag&|a~O!W/mO~Og/mO~O{/oO~O![/pO~Oo0cOv0qO{*gO!W&X!Z~P'vO{/sO~O%z/tO~P$-bOz/uO#[/OO%j.yOg'PX~Oz/uOg'PX~Og/wO~O!h/xO~O#[/OOs%Saz%Sa{%Sa%j%Sa!W%Sag%Sa![%Sa~O#[/OO%j.yOs%Waz%Wa{%Wa!W%Wag%Wa~Os&|i{&|i!W&|ig&|i~P$)nOz/zO#[/OO%j.yO!['Oa~O{$da~P%SOg'Pa~P$)nOz0SOg'Pa~Oa0UO!['Oi~P$)zOz0WO!['Oi~Oz0WO#[/OO%j.yO!['Oi~O#[/OO%j.yOg$biz$bi~O%z0ZO~P$-bO#[/OO%j.yOg%Vaz%Va~Og'Pi~P$)nO{0^O~Oa0UO!['Oq~P$)zOz0`O!['Oq~O#[/OO%j.yOz%Ui![%Ui~Oa0UO~P$)zOa0UO!['Oy~P$)zO#[/OO%j.yOg$ciz$ci~O#[/OO%j.yOz%Uq![%Uq~Oz+aO#g%ha%[%ha%_%ha%z%ha~P%SOV&OOo0cOv0qO~P'vOn0hO~Oo0hO~P'vO{0iO~Ot0jO~P!/jO&]&Z&j&h&i&g&f&d&e&c&b&`&a&_&^&[%u~",goto:"!=o'QPPPPPP'RP'Z*s+]+v,b,}-kP.YP'Z.y.y'ZPPP'Z2cPPPPPP2c5VPP5VP7g7p=xPP={>m>pPP'Z'ZPP?PPP'Z'ZPP'Z'Z'Z'Z'Z?T?}'ZP@QP@WD_G{HPPHSH^Hb'ZPPPHeHq'RP'R'RP'RP'RP'RP'RP'R'R'RP'RPP'RPP'RP'RPHwITI]PIdIjPIdPIdIdPPPIdPKxPLRL]LcKxPIdLlPIdPLsLyPL}McNQNkL}L}Nq! OL}L}L}L}! d! j! m! r! u!!P!!V!!c!!u!!{!#V!#]!#y!$P!$V!$a!$g!$m!%P!%Z!%a!%g!%q!%w!%}!&T!&Z!&a!&k!&q!&{!'R!'[!'b!'q!'y!(T!([PPPPPPPPPPP!(b!(e!(k!(t!)O!)ZPPPPPPPPPPPP!-}!/c!3c!6sPP!6{!7[!7e!8^!8T!8g!8m!8p!8s!8v!9O!9oPPPPPPPPPPPPPPPPP!9r!9v!9|P!:b!:f!:r!:{!;X!;o!;r!;u!;{!<R!<X!<[P!<d!<m!=i!=l]eOn#g$j)t,P'}`OTYZ[adnoprtxy}!P!Q!R!U!X!c!d!e!f!g!h!i!k!o!p!q!s!t!z#O#S#T#[#d#g#x#y#{#}$Q$e$g$h$j$q$}%S%Z%^%`%c%g%l%n%w%|&O&Z&_&h&j&k&u&x&|'P'W'Z'l'm'p'r's'w'|(O(S(W(](^(d(g(p(r(z(})^)e)g)k)l)p)t)z*O*Y*d*g*h*k*q*r*t*v*y*z*}+Q+U+V+Y+a+c+d+k+x+y,P,X,Y,],g,h,i,k,l,o,q,s,u,w,y,z-O-d-f-m-p-s.f.g/V/Z/s0c0d0e0f0h0i0j0k0l0n0r}!cQ#c#p$R$d$p%e%j%p%q&`'O'g(q(|)j*o*x+w,v/q0g!P!dQ#c#p$R$d$p$u%e%j%p%q&`'O'g(q(|)j*o*x+w,v/q0g!R!eQ#c#p$R$d$p$u$v%e%j%p%q&`'O'g(q(|)j*o*x+w,v/q0g!T!fQ#c#p$R$d$p$u$v$w%e%j%p%q&`'O'g(q(|)j*o*x+w,v/q0g!V!gQ#c#p$R$d$p$u$v$w$x%e%j%p%q&`'O'g(q(|)j*o*x+w,v/q0g!X!hQ#c#p$R$d$p$u$v$w$x$y%e%j%p%q&`'O'g(q(|)j*o*x+w,v/q0g!]!hQ!n#c#p$R$d$p$u$v$w$x$y$z%e%j%p%q&`'O'g(q(|)j*o*x+w,v/q0g'}TOTYZ[adnoprtxy}!P!Q!R!U!X!c!d!e!f!g!h!i!k!o!p!q!s!t!z#O#S#T#[#d#g#x#y#{#}$Q$e$g$h$j$q$}%S%Z%^%`%c%g%l%n%w%|&O&Z&_&h&j&k&u&x&|'P'W'Z'l'm'p'r's'w'|(O(S(W(](^(d(g(p(r(z(})^)e)g)k)l)p)t)z*O*Y*d*g*h*k*q*r*t*v*y*z*}+Q+U+V+Y+a+c+d+k+x+y,P,X,Y,],g,h,i,k,l,o,q,s,u,w,y,z-O-d-f-m-p-s.f.g/V/Z/s0c0d0e0f0h0i0j0k0l0n0r&cVOYZ[dnprxy}!P!Q!U!i!k!o!p!q!s!t#[#d#g#y#{#}$Q$h$j$}%S%Z%^%`%g%l%n%w%|&Z&_&j&k&u&x'P'W'Z'l'm'p'r's'w(O(W(^(d(g(p(r(z)^)e)g)p)t)z*O*Y*d*g*h*k*q*r*t*v*y*z*}+U+V+Y+a+d+k,P,X,Y,],g,h,i,k,l,o,q,s,u,w,y,z-O-d-f-m-p-s.f.g/Z/s0c0d0e0f0h0i0j0k0n0r%mXOYZ[dnrxy}!P!Q!U!i!k#[#d#g#y#{#}$Q$h$j$}%S%^%`%g%l%n%w%|&Z&_&j&k&u&x'P'W'Z'l'm'p'r's'w(O(W(^(d(g(p(r(z)^)e)g)p)t)z*O*Y*d*g*h*k*q*t*v*y*z*}+U+V+Y+a+d+k,P,X,Y,],g,h,i,k,l,o,s,u,w,y,z-O-d-f-m-p.f.g/Z0i0j0kQ#vqQ/[.kR0o0q't`OTYZ[adnoprtxy}!P!Q!R!U!X!c!d!e!f!g!h!k!o!p!q!s!t!z#O#S#T#[#d#g#x#y#{#}$Q$e$g$h$j$q$}%S%Z%^%`%c%g%l%n%w%|&O&Z&_&h&j&k&u&x&|'P'W'Z'l'p'r's'w'|(O(S(W(](^(d(g(p(r(z(})^)e)g)k)l)p)t)z*O*Y*g*h*k*q*r*t*v*y*z*}+Q+U+V+Y+a+c+d+k+x+y,P,X,Y,],h,i,k,l,o,q,s,u,w,y,z-O-d-f-m-p-s.f.g/V/Z/s0c0d0e0f0h0i0j0k0l0n0rh#jhz{$W$Z&l&q)S)X+f+g-RW#rq&].k0qQ$]|Q$a!OQ$n!VQ$o!WW$|!i'm*d,gS&[#s#tQ'S$iQ(s&UQ)U&nU)Y&s)Z+jW)a&w+m-T-{Q*Q']W*R'_,`-h.TQ+l)`S,_*S*TQ-Q+eQ-_,TQ-c,WQ.R-al.W-l.^._.a.z.|/R/j/o/t/y0U0Z0^Q/S.`Q/a.tQ/l/OU0P/u0S0[X0V/z0W0_0`R&Z#r!_!wYZ!P!Q!k%S%`%g'p'r's(O(W)g*g*h*k*q*t*v,h,i,k,l,o-m-p.f.g/ZR%^!vQ!{YQ%x#[Q&d#}Q&g$QR,{+YT.j-s/s![!jQ!n#c#p$R$d$p$u$v$w$x$y$z%e%j%p%q&`'O'g(q(|)j*o*x+w,v/q0gQ&X#kQ'c$oR*^'dR'l$|Q%V!mR/_.r'|_OTYZ[adnoprtxy}!P!Q!R!U!X!c!d!e!f!g!h!i!k!o!p!q!s!t!z#O#S#T#[#d#g#x#y#{#}$Q$e$g$h$j$q$}%S%Z%^%`%c%g%l%n%w%|&O&Z&_&h&j&k&u&x&|'P'W'Z'l'm'p'r's'w'|(O(S(W(](^(d(g(p(r(z(})^)e)g)k)l)p)t)z*O*Y*d*g*h*k*q*r*t*v*y*z*}+Q+U+V+Y+a+c+d+k+x+y,P,X,Y,],g,h,i,k,l,o,q,s,u,w,y,z-O-d-f-m-p-s.f.g/V/Z/s0c0d0e0f0h0i0j0k0l0n0rS#a_#b!P.[-l.^._.`.a.t.z.|/R/j/o/t/u/y/z0S0U0W0Z0[0^0_0`'|_OTYZ[adnoprtxy}!P!Q!R!U!X!c!d!e!f!g!h!i!k!o!p!q!s!t!z#O#S#T#[#d#g#x#y#{#}$Q$e$g$h$j$q$}%S%Z%^%`%c%g%l%n%w%|&O&Z&_&h&j&k&u&x&|'P'W'Z'l'm'p'r's'w'|(O(S(W(](^(d(g(p(r(z(})^)e)g)k)l)p)t)z*O*Y*d*g*h*k*q*r*t*v*y*z*}+Q+U+V+Y+a+c+d+k+x+y,P,X,Y,],g,h,i,k,l,o,q,s,u,w,y,z-O-d-f-m-p-s.f.g/V/Z/s0c0d0e0f0h0i0j0k0l0n0rT#a_#bT#^^#_R(o%xa(l%x(n(o+`,{-y-z.oT+[(k+]R-z,{Q$PsQ+l)aQ,^*RR-e,_X#}s$O$P&fQ&y$aQ'a$nQ'd$oR)s'SQ)b&wV-S+m-T-{ZgOn$j)t,PXkOn)t,PQ$k!TQ&z$bQ&{$cQ'^$mQ'b$oQ)q'RQ)x'WQ){'XQ)|'YQ*Z'`S*]'c'dQ+s)gQ+u)hQ+v)iQ+z)oS+|)r*[Q,Q)vQ,R)wS,S)y)zQ,d*^Q-V+rQ-W+tQ-Y+{S-Z+},OQ-`,UQ-b,VQ-|-XQ.O-[Q.P-^Q.Q-_Q.p-}Q.q.RQ/W.dR/r/XWkOn)t,PR#mjQ'`$nS)r'S'aR,O)sQ,]*RR-f,^Q*['`Q+})rR-[,OZiOjn)t,PQ'f$pR*`'gT-j,e-ku.c-l.^._.a.t.z.|/R/j/o/t/u/y0S0U0Z0[0^t.c-l.^._.a.t.z.|/R/j/o/t/u/y0S0U0Z0[0^Q/S.`X0V/z0W0_0`!P.Z-l.^._.`.a.t.z.|/R/j/o/t/u/y/z0S0U0W0Z0[0^0_0`Q.w.YR/f.xg.z.].{/b/i/n/|0O0Q0]0a0bu.b-l.^._.a.t.z.|/R/j/o/t/u/y0S0U0Z0[0^X.u.W.b/a0PR/c.tV0R/u0S0[R/X.dQnOS#on,PR,P)tQ&^#uR(x&^S%m#R#wS(_%m(bT(b%p&`Q%a!yQ%h!}W(P%a%h(U(YQ(U%eR(Y%jQ&i$RR)O&iQ(e%qQ*{(`T+R(e*{Q'n%OR*e'nS'q%R%SY*i'q*j,m-q.hU*j'r's'tU,m*k*l*mS-q,n,oR.h-rQ#Y]R%t#YQ#_^R%y#_Q(h%vS+W(h+XR+X(iQ+](kR,|+]Q#b_R%{#bQ#ebQ%}#cW&Q#e%}({+bQ({&cR+b0gQ$OsS&e$O&fR&f$PQ&v$_R)_&vQ&V#jR(t&VQ&m$VS)T&m+hR+h)UQ$Z{R&p$ZQ&t$]R)[&tQ+n)bR-U+nQ#hfR&S#hQ)f&zR+q)fQ&}$dS)m&})nR)n'OQ'V$kR)u'VQ'[$lS*P'[,ZR,Z*QQ,a*VR-i,aWjOn)t,PR#ljQ-k,eR.U-kd.{.]/b/i/n/|0O0Q0]0a0bR/h.{U.s.W/a0PR/`.sQ/{/nS0X/{0YR0Y/|S/v/b/cR0T/vQ.}.]R/k.}R!ZPXmOn)t,PWlOn)t,PR'T$jYfOn$j)t,PR&R#g[sOn#g$j)t,PR&d#}&bQOYZ[dnprxy}!P!Q!U!i!k!o!p!q!s!t#[#d#g#y#{#}$Q$h$j$}%S%Z%^%`%g%l%n%w%|&Z&_&j&k&u&x'P'W'Z'l'm'p'r's'w(O(W(^(d(g(p(r(z)^)e)g)p)t)z*O*Y*d*g*h*k*q*r*t*v*y*z*}+U+V+Y+a+d+k,P,X,Y,],g,h,i,k,l,o,q,s,u,w,y,z-O-d-f-m-p-s.f.g/Z/s0c0d0e0f0h0i0j0k0n0rQ!nTQ#caQ#poU$Rt%c(SS$d!R$gQ$p!XQ$u!cQ$v!dQ$w!eQ$x!fQ$y!gQ$z!hQ%e!zQ%j#OQ%p#SQ%q#TQ&`#xQ'O$eQ'g$qQ(q&OU(|&h(}+cW)j&|)l+x+yQ*o'|Q*x(]Q+w)kQ,v+QQ/q/VR0g0lQ!yYQ!}ZQ$b!PQ$c!QQ%R!kQ't%S^'{%`%g(O(W*q*t*v^*f'p*h,k,l-p.g/ZQ*l'rQ*m'sQ+t)gQ,j*gQ,n*kQ-n,hQ-o,iQ-r,oQ.e-mR/Y.f[bOn#g$j)t,P!^!vYZ!P!Q!k%S%`%g'p'r's(O(W)g*g*h*k*q*t*v,h,i,k,l,o-m-p.f.g/ZQ#R[Q#fdS#wrxQ$UyW$_}$Q'P)pS$l!U$hW${!i'm*d,gS%v#[+Y`&P#d%|(p(r(z+a-O0kQ&a#yQ&b#{Q&c#}Q'j$}Q'z%^W([%l(^*y*}Q(`%nQ(i%wQ(v&ZS(y&_0iQ)P&jQ)Q&kU)]&u)^+kQ)d&xQ)y'WY)}'Z*O,X,Y-dQ*b'lS*n'w0jW+P(d*z,s,wW+T(g+V,y,zQ+p)eQ,U)zQ,c*YQ,x+UQ-P+dQ-e,]Q-v,uR.S-fhUOn#d#g$j%|&_'w(p(r)t,P%S!uYZ[drxy}!P!Q!U!i!k#[#y#{#}$Q$h$}%S%^%`%g%l%n%w&Z&j&k&u&x'P'W'Z'l'm'p'r's(O(W(^(d(g(z)^)e)g)p)z*O*Y*d*g*h*k*q*t*v*y*z*}+U+V+Y+a+d+k,X,Y,],g,h,i,k,l,o,s,u,w,y,z-O-d-f-m-p.f.g/Z0i0j0kQ#qpW%W!o!s0d0nQ%X!pQ%Y!qQ%[!tQ%f0cS'v%Z0hQ'x0eQ'y0fQ,p*rQ-u,qS.i-s/sR0p0rU#uq.k0qR(w&][cOn#g$j)t,PZ!xY#[#}$Q+YQ#W[Q#zrR$TxQ%b!yQ%i!}Q%o#RQ'j${Q(V%eQ(Z%jQ(c%pQ(f%qQ*|(`Q,f*bQ-t,pQ.m-uR/].lQ$StQ(R%cR*s(SQ.l-sR/}/sR#QZR#V[R%Q!iQ%O!iV*c'm*d,g!]!lQ!n#c#p$R$d$p$u$v$w$x$y$z%e%j%p%q&`'O'g(q(|)j*o*x+w,v/q0gR%T!kT#]^#_Q%x#[R,{+YQ(m%xS+_(n(oQ,}+`Q-x,{S.n-y-zR/^.oT+Z(k+]Q$`}Q&g$QQ)o'PR+{)pQ$XzQ)W&qR+i)XQ$XzQ&o$WQ)W&qR+i)XQ#khW$Vz$W&q)XQ$[{Q&r$ZZ)R&l)S+f+g-RR$^|R)c&wXlOn)t,PQ$f!RR'Q$gQ$m!UR'R$hR*X'_Q*V'_V-g,`-h.TQ.d-lQ/P.^R/Q._U.]-l.^._Q/U.aQ/b.tQ/g.zU/i.|/j/yQ/n/RQ/|/oQ0O/tU0Q/u0S0[Q0]0UQ0a0ZR0b0^R/T.`R/d.t",nodeNames:"⚠ print Escape { Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression . PropertyName Number String FormatString FormatReplacement FormatSelfDoc FormatConversion FormatSpec FormatReplacement FormatSelfDoc ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert TypeDefinition type TypeParamList TypeParam StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard",maxTerm:277,context:y,nodeProps:[["isolate",-5,4,71,72,73,77,""],["group",-15,6,85,87,88,90,92,94,96,98,99,100,102,105,108,110,"Statement Statement",-22,8,18,21,25,40,49,50,56,57,60,61,62,63,64,67,70,71,72,79,80,81,82,"Expression",-10,114,116,119,121,122,126,128,133,135,138,"Statement",-9,143,144,147,148,150,151,152,153,154,"Pattern"],["openedBy",23,"(",54,"[",58,"{"],["closedBy",24,")",55,"]",59,"}"]],propSources:[_],skippedNodes:[0,4],repeatNodeCount:34,tokenData:"!2|~R!`OX%TXY%oY[%T[]%o]p%Tpq%oqr'ars)Yst*xtu%Tuv,dvw-hwx.Uxy/tyz0[z{0r{|2S|}2p}!O3W!O!P4_!P!Q:Z!Q!R;k!R![>_![!]Do!]!^Es!^!_FZ!_!`Gk!`!aHX!a!b%T!b!cIf!c!dJU!d!eK^!e!hJU!h!i!#f!i!tJU!t!u!,|!u!wJU!w!x!.t!x!}JU!}#O!0S#O#P&o#P#Q!0j#Q#R!1Q#R#SJU#S#T%T#T#UJU#U#VK^#V#YJU#Y#Z!#f#Z#fJU#f#g!,|#g#iJU#i#j!.t#j#oJU#o#p!1n#p#q!1s#q#r!2a#r#s!2f#s$g%T$g;'SJU;'S;=`KW<%lOJU`%YT&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T`%lP;=`<%l%To%v]&n`%c_OX%TXY%oY[%T[]%o]p%Tpq%oq#O%T#O#P&o#P#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To&tX&n`OY%TYZ%oZ]%T]^%o^#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc'f[&n`O!_%T!_!`([!`#T%T#T#U(r#U#f%T#f#g(r#g#h(r#h#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc(cTmR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc(yT!mR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk)aV&n`&[ZOr%Trs)vs#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk){V&n`Or%Trs*bs#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk*iT&n`&^ZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To+PZS_&n`OY*xYZ%TZ]*x]^%T^#o*x#o#p+r#p#q*x#q#r+r#r;'S*x;'S;=`,^<%lO*x_+wTS_OY+rZ]+r^;'S+r;'S;=`,W<%lO+r_,ZP;=`<%l+ro,aP;=`<%l*xj,kV%rQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj-XT!xY&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj-oV%lQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk.]V&n`&ZZOw%Twx.rx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk.wV&n`Ow%Twx/^x#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk/eT&n`&]ZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk/{ThZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc0cTgR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk0yXVZ&n`Oz%Tz{1f{!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk1mVaR&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk2ZV%oZ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc2wTzR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To3_W%pZ&n`O!_%T!_!`-Q!`!a3w!a#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Td4OT&{S&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk4fX!fQ&n`O!O%T!O!P5R!P!Q%T!Q![6T![#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk5WV&n`O!O%T!O!P5m!P#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk5tT!rZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti6[a!hX&n`O!Q%T!Q![6T![!g%T!g!h7a!h!l%T!l!m9s!m#R%T#R#S6T#S#X%T#X#Y7a#Y#^%T#^#_9s#_#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti7fZ&n`O{%T{|8X|}%T}!O8X!O!Q%T!Q![8s![#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti8^V&n`O!Q%T!Q![8s![#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti8z]!hX&n`O!Q%T!Q![8s![!l%T!l!m9s!m#R%T#R#S8s#S#^%T#^#_9s#_#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti9zT!hX&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk:bX%qR&n`O!P%T!P!Q:}!Q!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj;UV%sQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti;ro!hX&n`O!O%T!O!P=s!P!Q%T!Q![>_![!d%T!d!e?q!e!g%T!g!h7a!h!l%T!l!m9s!m!q%T!q!rA]!r!z%T!z!{Bq!{#R%T#R#S>_#S#U%T#U#V?q#V#X%T#X#Y7a#Y#^%T#^#_9s#_#c%T#c#dA]#d#l%T#l#mBq#m#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti=xV&n`O!Q%T!Q![6T![#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti>fc!hX&n`O!O%T!O!P=s!P!Q%T!Q![>_![!g%T!g!h7a!h!l%T!l!m9s!m#R%T#R#S>_#S#X%T#X#Y7a#Y#^%T#^#_9s#_#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti?vY&n`O!Q%T!Q!R@f!R!S@f!S#R%T#R#S@f#S#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti@mY!hX&n`O!Q%T!Q!R@f!R!S@f!S#R%T#R#S@f#S#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TiAbX&n`O!Q%T!Q!YA}!Y#R%T#R#SA}#S#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TiBUX!hX&n`O!Q%T!Q!YA}!Y#R%T#R#SA}#S#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TiBv]&n`O!Q%T!Q![Co![!c%T!c!iCo!i#R%T#R#SCo#S#T%T#T#ZCo#Z#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TiCv]!hX&n`O!Q%T!Q![Co![!c%T!c!iCo!i#R%T#R#SCo#S#T%T#T#ZCo#Z#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%ToDvV{_&n`O!_%T!_!`E]!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TcEdT%{R&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkEzT#gZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkFbXmR&n`O!^%T!^!_F}!_!`([!`!a([!a#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TjGUV%mQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkGrV%zZ&n`O!_%T!_!`([!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkH`WmR&n`O!_%T!_!`([!`!aHx!a#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TjIPV%nQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkIoV_Q#}P&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%ToJ_]&n`&YS%uZO!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUoKZP;=`<%lJUoKge&n`&YS%uZOr%Trs)Ysw%Twx.Ux!Q%T!Q![JU![!c%T!c!tJU!t!uLx!u!}JU!}#R%T#R#SJU#S#T%T#T#fJU#f#gLx#g#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUoMRa&n`&YS%uZOr%TrsNWsw%Twx! vx!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUkN_V&n`&`ZOr%TrsNts#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkNyV&n`Or%Trs! `s#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk! gT&n`&bZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk! }V&n`&_ZOw%Twx!!dx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!!iV&n`Ow%Twx!#Ox#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!#VT&n`&aZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To!#oe&n`&YS%uZOr%Trs!%Qsw%Twx!&px!Q%T!Q![JU![!c%T!c!tJU!t!u!(`!u!}JU!}#R%T#R#SJU#S#T%T#T#fJU#f#g!(`#g#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!%XV&n`&dZOr%Trs!%ns#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!%sV&n`Or%Trs!&Ys#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!&aT&n`&fZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!&wV&n`&cZOw%Twx!'^x#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!'cV&n`Ow%Twx!'xx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!(PT&n`&eZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To!(ia&n`&YS%uZOr%Trs!)nsw%Twx!+^x!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!)uV&n`&hZOr%Trs!*[s#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!*aV&n`Or%Trs!*vs#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!*}T&n`&jZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!+eV&n`&gZOw%Twx!+zx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!,PV&n`Ow%Twx!,fx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!,mT&n`&iZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To!-Vi&n`&YS%uZOr%TrsNWsw%Twx! vx!Q%T!Q![JU![!c%T!c!dJU!d!eLx!e!hJU!h!i!(`!i!}JU!}#R%T#R#SJU#S#T%T#T#UJU#U#VLx#V#YJU#Y#Z!(`#Z#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUo!.}a&n`&YS%uZOr%Trs)Ysw%Twx.Ux!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!0ZT!XZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc!0qT!WR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj!1XV%kQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!1sO!]~k!1zV%jR&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!2fO![~i!2mT%tX&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T",tokenizers:[O,u,c,b,0,1,2,3,4],topRules:{Script:[0,5]},specialized:[{term:221,get:e=>x[e]||-1}],tokenPrec:7675});var k=n(15874),C=n(90365),B=n(47404);const Q=new C.RY,T=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function E(e){return(t,n,r)=>{if(r)return!1;let o=t.node.getChild("VariableName");return o&&n(o,e),!0}}const P={FunctionDefinition:E("function"),ClassDefinition:E("class"),ForStatement(e,t,n){if(n)for(let n=e.node.firstChild;n;n=n.nextSibling)if("VariableName"==n.name)t(n,"variable");else if("in"==n.name)break},ImportStatement(e,t){var n,r;let{node:o}=e,i="from"==(null===(n=o.firstChild)||void 0===n?void 0:n.name);for(let e=o.getChild("import");e;e=e.nextSibling)"VariableName"==e.name&&"as"!=(null===(r=e.nextSibling)||void 0===r?void 0:r.name)&&t(e,i?"variable":"namespace")},AssignStatement(e,t){for(let n=e.node.firstChild;n;n=n.nextSibling)if("VariableName"==n.name)t(n,"variable");else if(":"==n.name||"AssignOp"==n.name)break},ParamList(e,t){for(let n=null,r=e.node.firstChild;r;r=r.nextSibling)"VariableName"!=r.name||n&&/\*|AssignOp/.test(n.name)||t(r,"variable"),n=r},CapturePattern:E("variable"),AsPattern:E("variable"),__proto__:null};function $(e,t){let n=Q.get(t);if(n)return n;let r=[],o=!0;function i(t,n){let o=e.sliceString(t.from,t.to);r.push({label:o,type:n})}return t.cursor(C.Qj.IncludeAnonymous).iterate((t=>{if(t.name){let e=P[t.name];if(e&&e(t,i,o)||!o&&T.has(t.name))return!1;o=!1}else if(t.to-t.from>8192){for(let n of $(e,t.node))r.push(n);return!1}})),Q.set(t,r),r}const M=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,z=["String","FormatString","Comment","PropertyName"];function R(e){let t=(0,k.mv)(e.state).resolveInner(e.pos,-1);if(z.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&M.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let n=t;n;n=n.parent)T.has(n.name)&&(r=r.concat($(e.state.doc,n)));return{options:r,from:n?t.from:e.pos,validFor:M}}const D=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map((e=>({label:e,type:"constant"}))).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map((e=>({label:e,type:"type"})))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map((e=>({label:e,type:"class"})))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map((e=>({label:e,type:"function"})))),I=[(0,B.Gw)("def ${name}(${params}):\n\t${}",{label:"def",detail:"function",type:"keyword"}),(0,B.Gw)("for ${name} in ${collection}:\n\t${}",{label:"for",detail:"loop",type:"keyword"}),(0,B.Gw)("while ${}:\n\t${}",{label:"while",detail:"loop",type:"keyword"}),(0,B.Gw)("try:\n\t${}\nexcept ${error}:\n\t${}",{label:"try",detail:"/ except block",type:"keyword"}),(0,B.Gw)("if ${}:\n\t\n",{label:"if",detail:"block",type:"keyword"}),(0,B.Gw)("if ${}:\n\t${}\nelse:\n\t${}",{label:"if",detail:"/ else block",type:"keyword"}),(0,B.Gw)("class ${name}:\n\tdef __init__(self, ${params}):\n\t\t\t${}",{label:"class",detail:"definition",type:"keyword"}),(0,B.Gw)("import ${module}",{label:"import",detail:"statement",type:"keyword"}),(0,B.Gw)("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],N=(0,B.Ar)(z,(0,B.et)(D.concat(I)));function L(e){let{node:t,pos:n}=e,r=e.lineIndent(n,-1),o=null;for(;;){let i=t.childBefore(n);if(!i)break;if("Comment"==i.name)n=i.from;else if("Body"==i.name||"MatchBody"==i.name)e.baseIndentFor(i)+e.unit<=r&&(o=i),t=i;else if("MatchClause"==i.name)t=i;else{if(!i.type.is("Statement"))break;t=i}}return o}function V(e,t){let n=e.baseIndentFor(t),r=e.lineAt(e.pos,-1),o=r.from+r.text.length;return/^\s*($|#)/.test(r.text)&&e.node.to<o+100&&!/\S/.test(e.state.sliceDoc(o,e.node.to))&&e.lineIndent(e.pos,-1)<=n||/^\s*(else:|elif |except |finally:|case\s+[^=:]+:)/.test(e.textAfter)&&e.lineIndent(e.pos,-1)>n?null:n+e.unit}const U=k.bj.define({name:"python",parser:S.configure({props:[k.Oh.add({Body:e=>{var t;return null!==(t=V(e,L(e)||e.node))&&void 0!==t?t:e.continue()},MatchBody:e=>{var t;return null!==(t=V(e,L(e)||e.node))&&void 0!==t?t:e.continue()},IfStatement:e=>/^\s*(else:|elif )/.test(e.textAfter)?e.baseIndent:e.continue(),"ForStatement WhileStatement":e=>/^\s*else:/.test(e.textAfter)?e.baseIndent:e.continue(),TryStatement:e=>/^\s*(except |finally:|else:)/.test(e.textAfter)?e.baseIndent:e.continue(),MatchStatement:e=>/^\s*case /.test(e.textAfter)?e.baseIndent+e.unit:e.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":(0,k.Ay)({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":(0,k.Ay)({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":(0,k.Ay)({closing:"]"}),"String FormatString":()=>null,Script:e=>{var t;let n=L(e);return null!==(t=n&&V(e,n))&&void 0!==t?t:e.continue()}}),k.b_.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":k.yd,Body:(e,t)=>({from:e.from+1,to:e.to-(e.to==t.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:|case\s+[^:]*:?)$/}});function F(){return new k.Yy(U,[U.data.of({autocomplete:R}),U.data.of({autocomplete:N})])}},15378:function(e,t,n){"use strict";n.d(t,{A:function(){return p}});var r=n(61431),o=n(97859),i=n(33333),a=n(36940),s=n(78396),l=n(22720),c=n(53344);let u=[];const d=e=>{e.code===c.R.esc&&u.forEach((t=>t(e)))};var f=n(90033);const h=(0,r.defineComponent)({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[a.NP,a.fI,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=(0,r.ref)();let s,h;const{focusReason:p}=(0,i.ie)();var m;m=n=>{e.trapped&&!g.paused&&t("release-requested",n)},(0,r.onMounted)((()=>{0===u.length&&document.addEventListener("keydown",d),l.oc&&u.push(m)})),(0,r.onBeforeUnmount)((()=>{u=u.filter((e=>e!==m)),0===u.length&&l.oc&&document.removeEventListener("keydown",d)}));const g={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},A=n=>{if(!e.loop&&!e.trapped)return;if(g.paused)return;const{code:r,altKey:o,ctrlKey:a,metaKey:s,currentTarget:l,shiftKey:u}=n,{loop:d}=e,f=r===c.R.tab&&!o&&!a&&!s,h=document.activeElement;if(f&&h){const e=l,[r,o]=(0,i.$M)(e);if(r&&o)if(u||h!==o){if(u&&[r,e].includes(h)){const e=(0,i.Ub)({focusReason:p.value});t("focusout-prevented",e),e.defaultPrevented||(n.preventDefault(),d&&(0,i.EC)(o,!0))}}else{const e=(0,i.Ub)({focusReason:p.value});t("focusout-prevented",e),e.defaultPrevented||(n.preventDefault(),d&&(0,i.EC)(r,!0))}else if(h===e){const e=(0,i.Ub)({focusReason:p.value});t("focusout-prevented",e),e.defaultPrevented||n.preventDefault()}}};(0,r.provide)(a.r3,{focusTrapRef:n,onKeydown:A}),(0,r.watch)((()=>e.focusTrapEl),(e=>{e&&(n.value=e)}),{immediate:!0}),(0,r.watch)([n],(([e],[t])=>{e&&(e.addEventListener("keydown",A),e.addEventListener("focusin",O),e.addEventListener("focusout",b)),t&&(t.removeEventListener("keydown",A),t.removeEventListener("focusin",O),t.removeEventListener("focusout",b))}));const v=e=>{t(a.NP,e)},y=e=>t(a.fI,e),O=o=>{const a=(0,r.unref)(n);if(!a)return;const l=o.target,c=o.relatedTarget,u=l&&a.contains(l);e.trapped||c&&a.contains(c)||(s=c),u&&t("focusin",o),g.paused||e.trapped&&(u?h=l:(0,i.EC)(h,!0))},b=a=>{const s=(0,r.unref)(n);if(!g.paused&&s)if(e.trapped){const n=a.relatedTarget;(0,o.A)(n)||s.contains(n)||setTimeout((()=>{if(!g.paused&&e.trapped){const e=(0,i.Ub)({focusReason:p.value});t("focusout-prevented",e),e.defaultPrevented||(0,i.EC)(h,!0)}}),0)}else{const e=a.target;e&&s.contains(e)||t("focusout",a)}};async function w(){await(0,r.nextTick)();const t=(0,r.unref)(n);if(t){i.Zy.push(g);const n=t.contains(document.activeElement)?s:document.activeElement;if(s=n,!t.contains(n)){const o=new Event(a.Ll,a.MP);t.addEventListener(a.Ll,v),t.dispatchEvent(o),o.defaultPrevented||(0,r.nextTick)((()=>{let r=e.focusStartEl;(0,f.Kg)(r)||((0,i.EC)(r),document.activeElement!==r&&(r="first")),"first"===r&&(0,i.s5)((0,i.uG)(t),!0),document.activeElement!==n&&"container"!==r||(0,i.EC)(t)}))}}}function _(){const e=(0,r.unref)(n);if(e){e.removeEventListener(a.Ll,v);const t=new CustomEvent(a.aw,{...a.MP,detail:{focusReason:p.value}});e.addEventListener(a.aw,y),e.dispatchEvent(t),t.defaultPrevented||"keyboard"!=p.value&&(0,i.KQ)()&&!e.contains(document.activeElement)||(0,i.EC)(null!=s?s:document.body),e.removeEventListener(a.aw,y),i.Zy.remove(g)}}return(0,r.onMounted)((()=>{e.trapped&&w(),(0,r.watch)((()=>e.trapped),(e=>{e?w():_()}))})),(0,r.onBeforeUnmount)((()=>{e.trapped&&_(),n.value&&(n.value.removeEventListener("keydown",A),n.value.removeEventListener("focusin",O),n.value.removeEventListener("focusout",b),n.value=void 0)})),{onKeydown:A}}});var p=(0,s.A)(h,[["render",function(e,t,n,o,i,a){return(0,r.renderSlot)(e.$slots,"default",{handleKeydown:e.onKeydown})}],["__file","focus-trap.vue"]])},15576:function(e,t,n){"use strict";n.d(t,{Pq:function(){return c}});var r=n(48820),o=n(43720);const i=(0,o.pn)({String:o._A.string,Number:o._A.number,"True False":o._A.bool,PropertyName:o._A.propertyName,Null:o._A.null,", :":o._A.separator,"[ ]":o._A.squareBracket,"{ }":o._A.brace}),a=r.U1.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[i],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0});var s=n(15874);const l=s.bj.define({name:"json",parser:a.configure({props:[s.Oh.add({Object:(0,s.mz)({except:/^\s*\}/}),Array:(0,s.mz)({except:/^\s*\]/})}),s.b_.add({"Object Array":s.yd})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function c(){return new s.Yy(l)}},15580:function(e,t,n){var r=n(63103),o=n(70111),i=n(53848),a=n(54529),s=n(35657);e.exports=function(e,t,n){var l,c={};return e&&(t&&o(t)?t=function(e){return function(){return r(e)}}(t):i(t)||(t=a(t)),s(e,(function(r,o){l=t?t.call(n,r,o,e):r,c[l]?c[l].push(r):c[l]=[r]}))),c}},15588:function(e,t,n){var r=n(51780);e.exports=function(e,t,n){var o=0,i=[];return function(){var a=arguments;++o<=e&&i.push(a[0]),o>=e&&t.apply(n,[i].concat(r(a)))}}},15651:function(e,t,n){var r=n(79135),o=n(40870);e.exports=function(e,t,n){if(e){r(e)||(e=o(e));for(var i=e.length-1;i>=0;i--)if(t.call(n,e[i],i,e))return e[i]}}},15791:function(e,t,n){n(72564)},15874:function(e,t,n){"use strict";n.d(t,{Ay:function(){return N},EI:function(){return T},KB:function(){return P},Lv:function(){return pe},Oh:function(){return $},Q0:function(){return d},Q_:function(){return $e},SG:function(){return Pe},TM:function(){return f},Tg:function(){return Ue},WD:function(){return H},Xt:function(){return B},Yy:function(){return S},Zt:function(){return _e},_Y:function(){return V},_v:function(){return E},b_:function(){return X},bj:function(){return p},cr:function(){return ge},f7:function(){return ie},iB:function(){return c},jU:function(){return Re},mv:function(){return m},mz:function(){return U},nq:function(){return v},p9:function(){return u},t:function(){return W},t$:function(){return k},tp:function(){return Q},y9:function(){return Oe},yd:function(){return j}});var r,o=n(90365),i=n(20614),a=n(62144),s=n(43720),l=n(97417);const c=new o.uY;function u(e){return i.sj.define({combine:e?t=>t.concat(e):void 0})}const d=new o.uY;class f{constructor(e,t,n=[],r=""){this.data=e,this.name=r,i.$t.prototype.hasOwnProperty("tree")||Object.defineProperty(i.$t.prototype,"tree",{get(){return m(this)}}),this.parser=t,this.extension=[x.of(this),i.$t.languageData.of(((e,t,n)=>{let r=h(e,t,n),o=r.type.prop(c);if(!o)return[];let i=e.facet(o),a=r.type.prop(d);if(a){let o=r.resolve(t-r.from,n);for(let t of a)if(t.test(o,e)){let n=e.facet(t.facet);return"replace"==t.type?n:n.concat(i)}}return i}))].concat(n)}isActiveAt(e,t,n=-1){return h(e,t,n).type.prop(c)==this.data}findRegions(e){let t=e.facet(x);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{if(e.prop(c)==this.data)return void n.push({from:t,to:t+e.length});let i=e.prop(o.uY.mounted);if(i){if(i.tree.prop(c)==this.data){if(i.overlay)for(let e of i.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}if(i.overlay){let e=n.length;if(r(i.tree,i.overlay[0].from+t),n.length>e)return}}for(let n=0;n<e.children.length;n++){let i=e.children[n];i instanceof o.PH&&r(i,e.positions[n]+t)}};return r(m(e),0),n}get allowsNesting(){return!0}}function h(e,t,n){let r=e.facet(x),i=m(e).topNode;if(!r||r.allowsNesting)for(let e=i;e;e=e.enter(t,n,o.Qj.ExcludeBuffers))e.type.isTop&&(i=e);return i}f.setState=i.Pe.define();class p extends f{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(e){let t=u(e.languageData);return new p(t,e.parser.configure({props:[c.add((e=>e.isTop?t:void 0))]}),e.name)}configure(e,t){return new p(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function m(e){let t=e.field(f.state,!1);return t?t.tree:o.PH.empty}class g{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let A=null;class v{constructor(e,t,n=[],r,o,i,a,s){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=o,this.viewport=i,this.skipped=a,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new v(e,t,[],o.PH.empty,0,n,[],null)}startParse(){return this.parser.startParse(new g(this.state.doc),this.fragments)}work(e,t){return null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=o.PH.empty&&this.isDone(null!=t?t:this.state.doc.length)?(this.takeTree(),!0):this.withContext((()=>{var n;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let r=this.parse.advance();if(r){if(this.fragments=this.withoutTempSkipped(o.rr.addTree(r,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!==(n=this.parse.stoppedAt)&&void 0!==n?n:this.state.doc.length,this.tree=r,this.parse=null,!(this.treeLen<(null!=t?t:this.state.doc.length)))return!0;this.parse=this.startParse()}if(e())return!1}}))}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext((()=>{for(;!(t=this.parse.advance()););})),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(o.rr.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=A;A=this;try{return e()}finally{A=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=y(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:r,treeLen:i,viewport:a,skipped:s}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges(((e,n,r,o)=>t.push({fromA:e,toA:n,fromB:r,toB:o}))),n=o.rr.applyChanges(n,t),r=o.PH.empty,i=0,a={from:e.mapPos(a.from,-1),to:e.mapPos(a.to,1)},this.skipped.length){s=[];for(let t of this.skipped){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);n<r&&s.push({from:n,to:r})}}}return new v(this.parser,t,n,r,i,a,s,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let t=0;t<this.skipped.length;t++){let{from:n,to:r}=this.skipped[t];n<e.to&&r>e.from&&(this.fragments=y(this.fragments,n,r),this.skipped.splice(t--,1))}return!(this.skipped.length>=t||(this.reset(),0))}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends o.iX{createParse(t,n,r){let i=r[0].from,a=r[r.length-1].to;return{parsedPos:i,advance(){let t=A;if(t){for(let e of r)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=a,new o.PH(o.Z6.none,[],[],a-i)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return A}}function y(e,t,n){return o.rr.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class O{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new O(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=v.create(e.facet(x).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new O(n)}}f.state=i.sU.define({create:O.init,update(e,t){for(let e of t.effects)if(e.is(f.setState))return e.value;return t.startState.facet(x)!=t.state.facet(x)?O.init(t.state):e.apply(t)}});let b=e=>{let t=setTimeout((()=>e()),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(b=e=>{let t=-1,n=setTimeout((()=>{t=requestIdleCallback(e,{timeout:400})}),100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});const w="undefined"!=typeof navigator&&(null===(r=navigator.scheduling)||void 0===r?void 0:r.isInputPending)?()=>navigator.scheduling.isInputPending():null,_=a.Z9.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(f.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(f.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=b(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:r}}=this.view,o=n.field(f.state);if(o.tree==o.context.tree&&o.context.isDone(r+1e5))return;let i=Date.now()+Math.min(this.chunkBudget,100,e&&!w?Math.max(25,e.timeRemaining()-5):1e9),a=o.context.treeLen<r&&n.doc.length>r+1e3,s=o.context.work((()=>w&&w()||Date.now()>i),r+(a?0:1e5));this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:f.setState.of(new O(o.context))})),this.chunkBudget>0&&(!s||a)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then((()=>this.scheduleWork())).catch((e=>(0,a.c_)(this.view.state,e))).then((()=>this.workScheduled--)),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),x=i.sj.define({combine(e){return e.length?e[0]:null},enables:e=>[f.state,_,a.Lz.contentAttributes.compute([e],(t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}}))]});class S{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class k{constructor(e,t,n,r,o,i=void 0){this.name=e,this.alias=t,this.extensions=n,this.filename=r,this.loadFunc=o,this.support=i,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then((e=>this.support=e),(e=>{throw this.loading=null,e})))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new k(e.name,(e.alias||[]).concat(e.name).map((e=>e.toLowerCase())),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let n of e)if(n.filename&&n.filename.test(t))return n;let n=/\.([^.]+)$/.exec(t);if(n)for(let t of e)if(t.extensions.indexOf(n[1])>-1)return t;return null}static matchLanguageName(e,t,n=!0){t=t.toLowerCase();for(let n of e)if(n.alias.some((e=>e==t)))return n;if(n)for(let n of e)for(let e of n.alias){let r=t.indexOf(e);if(r>-1&&(e.length>2||!/\w/.test(t[r-1])&&!/\w/.test(t[r+e.length])))return n}return null}}const C=i.sj.define(),B=i.sj.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some((e=>e!=t[0])))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function Q(e){let t=e.facet(B);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function T(e,t){let n="",r=e.tabSize,o=e.facet(B)[0];if("\t"==o){for(;t>=r;)n+="\t",t-=r;o=" "}for(let e=0;e<t;e++)n+=o;return n}function E(e,t){e instanceof i.$t&&(e=new P(e));for(let n of e.state.facet(C)){let r=n(e,t);if(void 0!==r)return r}let n=m(e.state);return n.length>=t?function(e,t,n){let r=t.resolveStack(n),o=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(o!=r.node){let e=[];for(let t=o;t&&(t.from!=r.node.from||t.type!=r.node.type);t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)r={node:e[t],next:r}}return M(r,e,n)}(e,n,t):null}class P{constructor(e,t={}){this.state=e,this.options=t,this.unit=Q(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:o}=this.options;return null!=r&&r>=n.from&&r<=n.to?o&&r==e?{text:"",from:e}:(t<0?r<e:r<=e)?{text:n.text.slice(r-n.from),from:r}:{text:n.text.slice(0,r-n.from),from:n.from}:n}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:n,from:r}=this.lineAt(e,t);return n.slice(e-r,Math.min(n.length,e+100-r))}column(e,t=1){let{text:n,from:r}=this.lineAt(e,t),o=this.countColumn(n,e-r),i=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;return i>-1&&(o+=i-this.countColumn(n,n.search(/\S|$/))),o}countColumn(e,t=e.length){return(0,i.y$)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:r}=this.lineAt(e,t),o=this.options.overrideIndentation;if(o){let e=o(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const $=new o.uY;function M(e,t,n){for(let r=e;r;r=r.next){let e=z(r.node);if(e)return e(D.create(t,n,r))}return 0}function z(e){let t=e.type.prop($);if(t)return t;let n,r=e.firstChild;if(r&&(n=r.type.prop(o.uY.closedBy))){let t=e.lastChild,r=t&&n.indexOf(t.name)>-1;return e=>L(e,!0,1,void 0,r&&!function(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}(e)?t.from:void 0)}return null==e.parent?R:null}function R(){return 0}class D extends P{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(e,t,n){return new D(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(I(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return M(this.context.next,this.base,this.pos)}}function I(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}function N({closing:e,align:t=!0,units:n=1}){return r=>L(r,t,n,e)}function L(e,t,n,r,o){let i=e.textAfter,a=i.match(/^\s*/)[0].length,s=r&&i.slice(a,a+r.length)==r||o==e.pos+a,l=t?function(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let o=e.options.simulateBreak,i=e.state.doc.lineAt(n.from),a=null==o||o<=i.from?i.to:Math.min(i.to,o);for(let e=n.to;;){let o=t.childAfter(e);if(!o||o==r)return null;if(!o.type.isSkipped){if(o.from>=a)return null;let e=/^ */.exec(i.text.slice(n.to-i.from))[0].length;return{from:n.from,to:n.to+e}}e=o.to}}(e):null;return l?s?e.column(l.from):e.column(l.to):e.baseIndent+(s?0:e.unit*n)}const V=e=>e.baseIndent;function U({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}const F=200;function H(){return i.$t.transactionFilter.of((e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,o=n.lineAt(r);if(r>o.from+F)return e;let i=n.sliceString(o.from,r);if(!t.some((e=>e.test(i))))return e;let{state:a}=e,s=-1,l=[];for(let{head:e}of a.selection.ranges){let t=a.doc.lineAt(e);if(t.from==s)continue;s=t.from;let n=E(a,t.from);if(null==n)continue;let r=/^\s*/.exec(t.text)[0],o=T(a,n);r!=o&&l.push({from:t.from,to:t.from+r.length,insert:o})}return l.length?[e,{changes:l,sequential:!0}]:e}))}const W=i.sj.define(),X=new o.uY;function j(e){let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}function q(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function Z(e,t,n){for(let r of e.facet(W)){let o=r(e,t,n);if(o)return o}return function(e,t,n){let r=m(e);if(r.length<n)return null;let o=null;for(let i=r.resolveStack(n,1);i;i=i.next){let a=i.node;if(a.to<=n||a.from>n)continue;if(o&&a.from<t)break;let s=a.type.prop(X);if(s&&(a.to<r.length-50||r.length==e.doc.length||!q(a))){let r=s(a,e);r&&r.from<=n&&r.from>=t&&r.to>n&&(o=r)}}return o}(e,t,n)}function Y(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}const G=i.Pe.define({map:Y}),K=i.Pe.define({map:Y});function J(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some((e=>e.from<=n&&e.to>=n))||t.push(e.lineBlockAt(n));return t}const ee=i.sU.define({create(){return a.NZ.none},update(e,t){e=e.map(t.changes);for(let n of t.effects)if(n.is(G)&&!ne(e,n.value.from,n.value.to)){let{preparePlaceholder:r}=t.state.facet(se),o=r?a.NZ.replace({widget:new de(r(t.state,n.value))}):ue;e=e.update({add:[o.range(n.value.from,n.value.to)]})}else n.is(K)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));if(t.selection){let n=!1,{head:r}=t.selection.main;e.between(r,r,((e,t)=>{e<r&&t>r&&(n=!0)})),n&&(e=e.update({filterFrom:r,filterTo:r,filter:(e,t)=>t<=r||e>=r}))}return e},provide:e=>a.Lz.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,((e,t)=>{n.push(e,t)})),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n<e.length;){let r=e[n++],o=e[n++];if("number"!=typeof r||"number"!=typeof o)throw new RangeError("Invalid JSON for fold state");t.push(ue.range(r,o))}return a.NZ.set(t,!0)}});function te(e,t,n){var r;let o=null;return null===(r=e.field(ee,!1))||void 0===r||r.between(t,n,((e,t)=>{(!o||o.from>e)&&(o={from:e,to:t})})),o}function ne(e,t,n){let r=!1;return e.between(t,t,((e,o)=>{e==t&&o==n&&(r=!0)})),r}function re(e,t){return e.field(ee,!1)?t:t.concat(i.Pe.appendConfig.of(le()))}function oe(e,t,n=!0){let r=e.state.doc.lineAt(t.from).number,o=e.state.doc.lineAt(t.to).number;return a.Lz.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${e.state.phrase("to")} ${o}.`)}const ie=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:e=>{for(let t of J(e)){let n=Z(e.state,t.from,t.to);if(n)return e.dispatch({effects:re(e.state,[G.of(n),oe(e,n)])}),!0}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:e=>{if(!e.state.field(ee,!1))return!1;let t=[];for(let n of J(e)){let r=te(e.state,n.from,n.to);r&&t.push(K.of(r),oe(e,r,!1))}return t.length&&e.dispatch({effects:t}),t.length>0}},{key:"Ctrl-Alt-[",run:e=>{let{state:t}=e,n=[];for(let r=0;r<t.doc.length;){let o=e.lineBlockAt(r),i=Z(t,o.from,o.to);i&&n.push(G.of(i)),r=(i?e.lineBlockAt(i.to):o).to+1}return n.length&&e.dispatch({effects:re(e.state,n)}),!!n.length}},{key:"Ctrl-Alt-]",run:e=>{let t=e.state.field(ee,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,((e,t)=>{n.push(K.of({from:e,to:t}))})),e.dispatch({effects:n}),!0}}],ae={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},se=i.sj.define({combine(e){return(0,i.QR)(e,ae)}});function le(e){let t=[ee,me];return e&&t.push(se.of(e)),t}function ce(e,t){let{state:n}=e,r=n.facet(se),o=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),r=te(e.state,n.from,n.to);r&&e.dispatch({effects:K.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,o,t);let i=document.createElement("span");return i.textContent=r.placeholderText,i.setAttribute("aria-label",n.phrase("folded code")),i.title=n.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=o,i}const ue=a.NZ.replace({widget:new class extends a.xO{toDOM(e){return ce(e,null)}}});class de extends a.xO{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return ce(e,this.value)}}const fe={openText:"⌄",closedText:"",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class he extends a.wJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function pe(e={}){let t=Object.assign(Object.assign({},fe),e),n=new he(t,!0),r=new he(t,!1),o=a.Z9.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(x)!=e.state.facet(x)||e.startState.field(ee,!1)!=e.state.field(ee,!1)||m(e.startState)!=m(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new i.vB;for(let o of e.viewportLineBlocks){let i=te(e.state,o.from,o.to)?r:Z(e.state,o.from,o.to)?n:null;i&&t.add(o.from,o.from,i)}return t.finish()}}),{domEventHandlers:s}=t;return[o,(0,a.cU)({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(o))||void 0===t?void 0:t.markers)||i.om.empty},initialSpacer(){return new he(t,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(e,t,n)=>{if(s.click&&s.click(e,t,n))return!0;let r=te(e.state,t.from,t.to);if(r)return e.dispatch({effects:K.of(r)}),!0;let o=Z(e.state,t.from,t.to);return!!o&&(e.dispatch({effects:G.of(o)}),!0)}})}),le()]}const me=a.Lz.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class ge{constructor(e,t){let n;function r(e){let t=l.G.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;const o="string"==typeof t.all?t.all:t.all?r(t.all):void 0,i=t.scope;this.scope=i instanceof f?e=>e.prop(c)==i.data:i?e=>e==i:void 0,this.style=(0,s.az)(e.map((e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))}))),{all:o}).style,this.module=n?new l.G(n):null,this.themeType=t.themeType}static define(e,t){return new ge(e,t||{})}}const Ae=i.sj.define(),ve=i.sj.define({combine(e){return e.length?[e[0]]:null}});function ye(e){let t=e.facet(Ae);return t.length?t:e.facet(ve)}function Oe(e,t){let n,r=[we];return e instanceof ge&&(e.module&&r.push(a.Lz.styleModule.of(e.module)),n=e.themeType),(null==t?void 0:t.fallback)?r.push(ve.of(e)):n?r.push(Ae.computeN([a.Lz.darkTheme],(t=>t.facet(a.Lz.darkTheme)==("dark"==n)?[e]:[]))):r.push(Ae.of(e)),r}class be{constructor(e){this.markCache=Object.create(null),this.tree=m(e.state),this.decorations=this.buildDeco(e,ye(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=m(e.state),n=ye(e.state),r=n!=ye(e.startState),{viewport:o}=e.view,i=e.changes.mapPos(this.decoratedTo,1);t.length<o.to&&!r&&t.type==this.tree.type&&i>=o.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=i):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=o.to)}buildDeco(e,t){if(!t||!this.tree.length)return a.NZ.none;let n=new i.vB;for(let{from:r,to:o}of e.visibleRanges)(0,s.DM)(this.tree,t,((e,t,r)=>{n.add(e,t,this.markCache[r]||(this.markCache[r]=a.NZ.mark({class:r})))}),r,o);return n.finish()}}const we=i.Nb.high(a.Z9.fromClass(be,{decorations:e=>e.decorations})),_e=ge.define([{tag:s._A.meta,color:"#404740"},{tag:s._A.link,textDecoration:"underline"},{tag:s._A.heading,textDecoration:"underline",fontWeight:"bold"},{tag:s._A.emphasis,fontStyle:"italic"},{tag:s._A.strong,fontWeight:"bold"},{tag:s._A.strikethrough,textDecoration:"line-through"},{tag:s._A.keyword,color:"#708"},{tag:[s._A.atom,s._A.bool,s._A.url,s._A.contentSeparator,s._A.labelName],color:"#219"},{tag:[s._A.literal,s._A.inserted],color:"#164"},{tag:[s._A.string,s._A.deleted],color:"#a11"},{tag:[s._A.regexp,s._A.escape,s._A.special(s._A.string)],color:"#e40"},{tag:s._A.definition(s._A.variableName),color:"#00f"},{tag:s._A.local(s._A.variableName),color:"#30a"},{tag:[s._A.typeName,s._A.namespace],color:"#085"},{tag:s._A.className,color:"#167"},{tag:[s._A.special(s._A.variableName),s._A.macroName],color:"#256"},{tag:s._A.definition(s._A.propertyName),color:"#00c"},{tag:s._A.comment,color:"#940"},{tag:s._A.invalid,color:"#f00"}]),xe=a.Lz.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),Se=1e4,ke="()[]{}",Ce=i.sj.define({combine(e){return(0,i.QR)(e,{afterCursor:!0,brackets:ke,maxScanDistance:Se,renderMatch:Te})}}),Be=a.NZ.mark({class:"cm-matchingBracket"}),Qe=a.NZ.mark({class:"cm-nonmatchingBracket"});function Te(e){let t=[],n=e.matched?Be:Qe;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}const Ee=[i.sU.define({create(){return a.NZ.none},update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],r=t.state.facet(Ce);for(let e of t.state.selection.ranges){if(!e.empty)continue;let o=Re(t.state,e.head,-1,r)||e.head>0&&Re(t.state,e.head-1,1,r)||r.afterCursor&&(Re(t.state,e.head,1,r)||e.head<t.state.doc.length&&Re(t.state,e.head+1,-1,r));o&&(n=n.concat(r.renderMatch(o,t.state)))}return a.NZ.set(n,!0)},provide:e=>a.Lz.decorations.from(e)}),xe];function Pe(e={}){return[Ce.of(e),Ee]}const $e=new o.uY;function Me(e,t,n){let r=e.prop(t<0?o.uY.openedBy:o.uY.closedBy);if(r)return r;if(1==e.name.length){let r=n.indexOf(e.name);if(r>-1&&r%2==(t<0?1:0))return[n[r+t]]}return null}function ze(e){let t=e.type.prop($e);return t?t(e.node):e}function Re(e,t,n,r={}){let o=r.maxScanDistance||Se,i=r.brackets||ke,a=m(e),s=a.resolveInner(t,n);for(let e=s;e;e=e.parent){let r=Me(e.type,n,i);if(r&&e.from<e.to){let o=ze(e);if(o&&(n>0?t>=o.from&&t<o.to:t>o.from&&t<=o.to))return De(0,0,n,e,o,r,i)}}return function(e,t,n,r,o,i,a){let s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=a.indexOf(s);if(l<0||l%2==0!=n>0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},u=e.doc.iterRange(t,n>0?e.doc.length:0),d=0;for(let e=0;!u.next().done&&e<=i;){let i=u.value;n<0&&(e+=i.length);let s=t+e*n;for(let e=n>0?0:i.length-1,t=n>0?i.length:-1;e!=t;e+=n){let t=a.indexOf(i[e]);if(!(t<0||r.resolveInner(s+e,1).type!=o))if(t%2==0==n>0)d++;else{if(1==d)return{start:c,end:{from:s+e,to:s+e+1},matched:t>>1==l>>1};d--}}n>0&&(e+=i.length)}return u.done?{start:c,matched:!1}:null}(e,t,n,a,s.type,o,i)}function De(e,t,n,r,o,i,a){let s=r.parent,l={from:o.from,to:o.to},c=0,u=null==s?void 0:s.cursor();if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do{if(n<0?u.to<=r.from:u.from>=r.to){if(0==c&&i.indexOf(u.type.name)>-1&&u.from<u.to){let e=ze(u);return{start:l,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}if(Me(u.type,n,a))c++;else if(Me(u.type,-n,a)){if(0==c){let e=ze(u);return{start:l,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}c--}}}while(n<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}function Ie(e,t,n,r=0,o=0){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);let i=o;for(let o=r;o<t;o++)9==e.charCodeAt(o)?i+=n-i%n:i++;return i}class Ne{constructor(e,t,n,r){this.string=e,this.tabSize=t,this.indentUnit=n,this.overrideIndent=r,this.pos=0,this.start=0,this.lastColumnPos=0,this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(e){let t,n=this.string.charAt(this.pos);if(t="string"==typeof e?n==e:n&&(e instanceof RegExp?e.test(n):e(n)),t)return++this.pos,n}eatWhile(e){let t=this.pos;for(;this.eat(e););return this.pos>t}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Ie(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue}indentation(){var e;return null!==(e=this.overrideIndent)&&void 0!==e?e:Ie(this.string,null,this.tabSize)}match(e,t,n){if("string"==typeof e){let r=e=>n?e.toLowerCase():e;return r(this.string.substr(this.pos,e.length))==r(e)?(!1!==t&&(this.pos+=e.length),!0):null}{let n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&!1!==t&&(this.pos+=n[0].length),n)}}current(){return this.string.slice(this.start,this.pos)}}function Le(e){if("object"!=typeof e)return e;let t={};for(let n in e){let r=e[n];t[n]=r instanceof Array?r.slice():r}return t}const Ve=new WeakMap;class Ue extends f{constructor(e){let t,n=u(e.languageData),r={name:(i=e).name||"",token:i.token,blankLine:i.blankLine||(()=>{}),startState:i.startState||(()=>!0),copyState:i.copyState||Le,indent:i.indent||(()=>null),languageData:i.languageData||{},tokenTable:i.tokenTable||je,mergeTokens:!1!==i.mergeTokens};var i;super(n,new class extends o.iX{createParse(e,n,r){return new We(t,e,n,r)}},[],e.name),this.topNode=function(e,t){let n=o.Z6.define({id:qe.length,name:"Document",props:[c.add((()=>e)),$.add((()=>e=>t.getIndent(e)))],top:!0});return qe.push(n),n}(n,this),t=this,this.streamParser=r,this.stateAfter=new o.uY({perNode:!0}),this.tokenTable=e.tokenTable?new Je(r.tokenTable):et}static define(e){return new Ue(e)}getIndent(e){let t,{overrideIndentation:n}=e.options;n&&(t=Ve.get(e.state),null!=t&&t<e.pos-1e4&&(t=void 0));let r,o,i=Fe(this,e.node.tree,e.node.from,e.node.from,null!=t?t:e.pos);if(i?(o=i.state,r=i.pos+1):(o=this.streamParser.startState(e.unit),r=e.node.from),e.pos-r>1e4)return null;for(;r<e.pos;){let t=e.state.doc.lineAt(r),i=Math.min(e.pos,t.to);if(t.length){let r=n?n(t.from):-1,a=new Ne(t.text,e.state.tabSize,e.unit,r<0?void 0:r);for(;a.pos<i-t.from;)Xe(this.streamParser.token,a,o)}else this.streamParser.blankLine(o,e.unit);if(i==e.pos)break;r=t.to+1}let a=e.lineAt(e.pos);return n&&null==t&&Ve.set(e.state,a.from),this.streamParser.indent(o,/^\s*(.*)/.exec(a.text)[1],e)}get allowsNesting(){return!1}}function Fe(e,t,n,r,i){let a=n>=r&&n+t.length<=i&&t.prop(e.stateAfter);if(a)return{state:e.streamParser.copyState(a),pos:n+t.length};for(let a=t.children.length-1;a>=0;a--){let s=t.children[a],l=n+t.positions[a],c=s instanceof o.PH&&l<i&&Fe(e,s,l,r,i);if(c)return c}return null}function He(e,t,n,r,i){if(i&&n<=0&&r>=t.length)return t;i||0!=n||t.type!=e.topNode||(i=!0);for(let a=t.children.length-1;a>=0;a--){let s,l=t.positions[a],c=t.children[a];if(l<r&&c instanceof o.PH){if(!(s=He(e,c,n-l,r-l,i)))break;return i?new o.PH(t.type,t.children.slice(0,a).concat(s),t.positions.slice(0,a+1),l+s.length):s}}return null}class We{constructor(e,t,n,r){this.lang=e,this.input=t,this.fragments=n,this.ranges=r,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=r[r.length-1].to;let i=v.get(),a=r[0].from,{state:s,tree:l}=function(e,t,n,r,i){for(let o of t){let t,i=o.from+(o.openStart?25:0),a=o.to-(o.openEnd?25:0),s=i<=n&&a>n&&Fe(e,o.tree,0-o.offset,n,a);if(s&&s.pos<=r&&(t=He(e,o.tree,n+o.offset,s.pos+o.offset,!1)))return{state:s.state,tree:t}}return{state:e.streamParser.startState(i?Q(i):4),tree:o.PH.empty}}(e,n,a,this.to,null==i?void 0:i.state);this.state=s,this.parsedPos=this.chunkStart=a+l.length;for(let e=0;e<l.children.length;e++)this.chunks.push(l.children[e]),this.chunkPos.push(l.positions[e]);i&&this.parsedPos<i.viewport.from-1e5&&r.some((e=>e.from<=i.viewport.from&&e.to>=i.viewport.from))&&(this.state=this.lang.streamParser.startState(Q(i.state)),i.skipUntilInView(this.parsedPos,i.viewport.from),this.parsedPos=i.viewport.from),this.moveRangeIndex()}advance(){let e=v.get(),t=null==this.stoppedAt?this.to:Math.min(this.to,this.stoppedAt),n=Math.min(t,this.chunkStart+2048);for(e&&(n=Math.min(n,e.viewport.to));this.parsedPos<n;)this.parseLine(e);return this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=t?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let t=this.input.chunk(e);if(this.input.lineChunks)"\n"==t&&(t="");else{let e=t.indexOf("\n");e>-1&&(t=t.slice(0,e))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,t=this.lineAfter(e),n=e+t.length;for(let e=this.rangeIndex;;){let r=this.ranges[e].to;if(r>=n)break;if(t=t.slice(0,r-(n-t.length)),e++,e==this.ranges.length)break;let o=this.ranges[e].from,i=this.lineAfter(o);t+=i,n=o+i.length}return{line:t,end:n}}skipGapsTo(e,t,n){for(;;){let r=this.ranges[this.rangeIndex].to,o=e+t;if(n>0?r>o:r>=o)break;t+=this.ranges[++this.rangeIndex].from-r}return t}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}emitToken(e,t,n,r){let o=4;if(this.ranges.length>1){t+=r=this.skipGapsTo(t,r,1);let e=this.chunk.length;n+=r=this.skipGapsTo(n,r,-1),o+=this.chunk.length-e}let i=this.chunk.length-4;return this.lang.streamParser.mergeTokens&&4==o&&i>=0&&this.chunk[i]==e&&this.chunk[i+2]==t?this.chunk[i+2]=n:this.chunk.push(e,t,n,o),r}parseLine(e){let{line:t,end:n}=this.nextLine(),r=0,{streamParser:o}=this.lang,i=new Ne(t,e?e.state.tabSize:4,e?Q(e.state):2);if(i.eol())o.blankLine(this.state,i.indentUnit);else for(;!i.eol();){let e=Xe(o.token,i,this.state);if(e&&(r=this.emitToken(this.lang.tokenTable.resolve(e),this.parsedPos+i.start,this.parsedPos+i.pos,r)),i.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}finishChunk(){let e=o.PH.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:Ze,topID:0,maxBufferLength:2048,reused:this.chunkReused});e=new o.PH(e.type,e.children,e.positions,e.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]),this.chunks.push(e),this.chunkPos.push(this.chunkStart-this.ranges[0].from),this.chunk=[],this.chunkReused=void 0,this.chunkStart=this.parsedPos}finish(){return new o.PH(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}}function Xe(e,t,n){t.start=t.pos;for(let r=0;r<10;r++){let r=e(t,n);if(t.pos>t.start)return r}throw new Error("Stream parser failed to advance stream.")}const je=Object.create(null),qe=[o.Z6.none],Ze=new o.fI(qe),Ye=[],Ge=Object.create(null),Ke=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Ke[e]=nt(je,t);class Je{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),Ke)}resolve(e){return e?this.table[e]||(this.table[e]=nt(this.extra,e)):0}}const et=new Je(je);function tt(e,t){Ye.indexOf(e)>-1||(Ye.push(e),console.warn(t))}function nt(e,t){let n=[];for(let r of t.split(" ")){let t=[];for(let n of r.split(".")){let r=e[n]||s._A[n];r?"function"==typeof r?t.length?t=t.map(r):tt(n,`Modifier ${n} used at start of tag`):t.length?tt(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:tt(n,`Unknown highlighting tag ${n}`)}for(let e of t)n.push(e)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),i=r+" "+n.map((e=>e.id)),a=Ge[i];if(a)return a.id;let l=Ge[i]=o.Z6.define({id:qe.length,name:r,props:[(0,s.pn)({[r]:n})]});return qe.push(l),l.id}a.OP.RTL,a.OP.LTR},15915:function(e,t,n){"use strict";var r=n(15215),o=n(98026),i=n(5202),a=n(12616),s=n(30693),l=n(48170),c=n(34253),u=(0,l.$r)(),d=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.uid=a.$Q("ec_cpt_model"),o}var n;return(0,r.C6)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=c.ad(this),r=n?c.vs(e):{},i=t.getTheme();o.merge(e,i.get(this.mainType)),o.merge(e,this.getDefaultOption()),n&&c.YA(e,r,n)},t.prototype.mergeOption=function(e,t){o.merge(this.option,e,!0);var n=c.ad(this);n&&c.YA(this.option,e,n)},t.prototype.optionUpdated=function(e,t){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!(0,s._E)(e))return e.defaultOption;var t=u(this);if(!t.defaultOption){for(var n=[],r=e;r;){var i=r.prototype.defaultOption;i&&n.push(i),r=r.superClass}for(var a={},l=n.length-1;l>=0;l--)a=o.merge(a,n[l],!0);t.defaultOption=a}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var n=e+"Index",r=e+"Id";return(0,l.JO)(this.ecModel,e,{index:this.get(n,!0),id:this.get(r,!0)},t)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=((n=t.prototype).type="component",n.id="",n.name="",n.mainType="",n.subType="",void(n.componentIndex=0)),t}(i.A);(0,s.q7)(d,i.A),(0,s.tQ)(d),a.A6(d),a.vf(d,(function(e){var t=[];return o.each(d.getClassesByMainType(e),(function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])})),t=o.map(t,(function(e){return(0,s.CC)(e).main})),"dataset"!==e&&o.indexOf(t,"dataset")<=0&&t.unshift("dataset"),t})),t.A=d},15980:function(e,t,n){var r=n(95962),o=n(99917),i=n(69156);e.exports=function(e,t){var n=o(e),a=o(t),s=r(n),l=r(a)-s,c=l<0,u=Math.pow(10,c?Math.abs(l):l);return i(n.replace(".","")/a.replace(".",""),c?1/u:u)}},16075:function(e,t,n){n(4934)},16134:function(e){e.exports=function(e,t,n){return e.substring(t,n)}},16193:function(e,t,n){"use strict";var r=n(84215);e.exports="NODE"===r},16563:function(e,t){"use strict";function n(e){return null==e?0:e.length||1}function r(e){return e}var o=function(){function e(e,t,n,o,i,a){this._old=e,this._new=t,this._oldKeyGetter=n||r,this._newKeyGetter=o||r,this.context=i,this._diffModeMultiple="multiple"===a}return e.prototype.add=function(e){return this._add=e,this},e.prototype.update=function(e){return this._update=e,this},e.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},e.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},e.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},e.prototype.remove=function(e){return this._remove=e,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var e=this._old,t=this._new,r={},o=new Array(e.length),i=new Array(t.length);this._initIndexMap(e,null,o,"_oldKeyGetter"),this._initIndexMap(t,r,i,"_newKeyGetter");for(var a=0;a<e.length;a++){var s=o[a],l=r[s],c=n(l);if(c>1){var u=l.shift();1===l.length&&(r[s]=l[0]),this._update&&this._update(u,a)}else 1===c?(r[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(i,r)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,r={},o={},i=[],a=[];this._initIndexMap(e,r,i,"_oldKeyGetter"),this._initIndexMap(t,o,a,"_newKeyGetter");for(var s=0;s<i.length;s++){var l=i[s],c=r[l],u=o[l],d=n(c),f=n(u);if(d>1&&1===f)this._updateManyToOne&&this._updateManyToOne(u,c),o[l]=null;else if(1===d&&f>1)this._updateOneToMany&&this._updateOneToMany(u,c),o[l]=null;else if(1===d&&1===f)this._update&&this._update(u,c),o[l]=null;else if(d>1&&f>1)this._updateManyToMany&&this._updateManyToMany(u,c),o[l]=null;else if(d>1)for(var h=0;h<d;h++)this._remove&&this._remove(c[h]);else this._remove&&this._remove(c)}this._performRestAdd(a,o)},e.prototype._performRestAdd=function(e,t){for(var r=0;r<e.length;r++){var o=e[r],i=t[o],a=n(i);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(i[s]);else 1===a&&this._add&&this._add(i);t[o]=null}},e.prototype._initIndexMap=function(e,t,r,o){for(var i=this._diffModeMultiple,a=0;a<e.length;a++){var s="_ec_"+this[o](e[a],a);if(i||(r[a]=s),t){var l=t[s],c=n(l);0===c?(t[s]=a,i&&r.push(s)):1===c?t[s]=[l,a]:l.push(a)}}},e}();t.A=o},16573:function(e,t,n){"use strict";var r=n(43724),o=n(62106),i=n(3238),a=ArrayBuffer.prototype;r&&!("detached"in a)&&o(a,"detached",{configurable:!0,get:function(){return i(this)}})},16626:function(e){e.exports=function(e,t){return e.substring(0,t)+"."+e.substring(t,e.length)}},16823:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},16851:function(e,t,n){var r=n(79135);e.exports=function(e,t){var n,o=[],i=0|t||1;if(r(e))if(i>=0&&e.length>i)for(n=0;n<e.length;)o.push(e.slice(n,n+i)),n+=i;else o=e.length?[e]:e;return o}},16884:function(e,t,n){"use strict";n.d(t,{I:function(){return i},l:function(){return s}});var r=n(98026),o=n(48170);function i(e,t){function n(t,n){var r=[];return t.eachComponent({mainType:"series",subType:e,query:n},(function(e){r.push(e.seriesIndex)})),r}(0,r.each)([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],(function(e){t(e[0],(function(t,o,i){t=(0,r.extend)({},t),i.dispatchAction((0,r.extend)(t,{type:e[1],seriesIndex:n(o,t)}))}))}))}function a(e,t,n,i,a){var s=e+t;n.isSilent(s)||i.eachComponent({mainType:"series",subType:"pie"},(function(e){for(var t=e.seriesIndex,i=e.option.selectedMap,l=a.selected,c=0;c<l.length;c++)if(l[c].seriesIndex===t){var u=e.getData(),d=(0,o.le)(u,a.fromActionPayload);n.trigger(s,{type:s,seriesId:e.id,name:(0,r.isArray)(d)?u.getName(d[0]):u.getName(d),selected:(0,r.isString)(i)?i:(0,r.extend)({},i)})}}))}function s(e,t,n){e.on("selectchanged",(function(e){var r=n.getModel();e.isFromClick?(a("map","selectchanged",t,r,e),a("pie","selectchanged",t,r,e)):"select"===e.fromAction?(a("map","selected",t,r,e),a("pie","selected",t,r,e)):"unselect"===e.fromAction&&(a("map","unselected",t,r,e),a("pie","unselected",t,r,e))}))}},16908:function(e,t,n){"use strict";n.d(t,{t:function(){return c}});var r=n(61431),o=n(65980),i=n(41651),a=n(22720),s=n(76031),l=n(98261);const c=(e,t={})=>{(0,r.isRef)(e)||(0,i.$)("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||(0,o.DU)("popup"),c=(0,r.computed)((()=>n.bm("parent","hidden")));if(!a.oc||(0,s.nB)(document.body,c.value))return;let u=0,d=!1,f="0";const h=()=>{setTimeout((()=>{"undefined"!=typeof document&&d&&document&&(document.body.style.width=f,(0,s.vy)(document.body,c.value))}),200)};(0,r.watch)(e,(e=>{if(!e)return void h();d=!(0,s.nB)(document.body,c.value),d&&(f=document.body.style.width,(0,s.iQ)(document.body,c.value)),u=(0,l.F_)(n.namespace.value);const t=document.documentElement.clientHeight<document.body.scrollHeight,r=(0,s.gd)(document.body,"overflowY");u>0&&(t||"scroll"===r)&&d&&(document.body.style.width=`calc(100% - ${u}px)`)})),(0,r.onScopeDispose)((()=>h()))}},16985:function(e,t,n){"use strict";n.d(t,{M_:function(){return i},Ms:function(){return r},x$:function(){return a}});var r=function(){},o={};function i(e,t){o[e]=t}function a(e){return o[e]}},17186:function(e,t,n){var r=n(82867)((function(e,t,n){for(var r=0,o=e.length;r<o;r++)if(t.call(n,e[r],r,e))return r;return-1}));e.exports=r},17304:function(e,t,n){var r=n(90662);e.exports=function(e){return!(!r||!e||e!==e.window)}},17474:function(e,t,n){var r=n(2237),o=n(21323),i=n(65571),a=n(89093),s=n(97205),l=n(53876),c=n(35224),u=n(56816),d=n(9915),f=n(95932),h=n(48007),p=f(d(0,7),(function(e){return[(e+1)%7,(e+2)%7,(e+3)%7]}));function m(e,t){var n=new Date(e).getDay();return s(p[t],n)}e.exports=function(e,t){return function(n,s){var d=a(s)?s:r.firstDayOfWeek,f=l(n);if(c(f)){var p,g=u(f,0,d,d),A=e(g),v=h(A),y=h(g),O=y+6*o,b=new Date(O),w=u(A,0,d,d),_=h(w);if(y===_)return 1;if(t(g,b))for(p=h(e(b));p<O;p+=o)if(m(p,d))return 1;var x=_+6*o,S=new Date(O),k=1;if(t(w,S))for(k=0,p=v;p<x;p+=o)if(m(p,d)){k++;break}return Math.floor((y-_)/i)+k}return NaN}}},17479:function(e,t,n){n(668)},17642:function(e,t,n){"use strict";var r=n(46518),o=n(83440);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("difference",(function(e){return 0===e.size}))},{difference:o})},17674:function(e,t,n){var r=n(17474)((function(e){return new Date(e.getFullYear(),e.getMonth(),1)}),(function(e,t){return e.getMonth()!==t.getMonth()}));e.exports=r},17752:function(e,t,n){"use strict";n.d(t,{py:function(){return A},v5:function(){return g}});var r=n(13430),o=n(48170),i=n(98026),a=n(58267),s=n(31825),l=n(41025),c=n(34310),u=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(e){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(e){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(e,t){},e.prototype.retrieveValueFromItem=function(e,t){},e.prototype.convertValue=function(e,t){return(0,s.Pn)(e,t)},e}();function d(e){return y(e.sourceFormat)||(0,l.$8)(""),e.data}function f(e){var t=e.sourceFormat,n=e.data;if(y(t)||(0,l.$8)(""),t===r.Km){for(var o=[],a=0,s=n.length;a<s;a++)o.push(n[a].slice());return o}if(t===r.Wk){for(o=[],a=0,s=n.length;a<s;a++)o.push((0,i.extend)({},n[a]));return o}}function h(e,t,n){if(null!=n)return(0,i.isNumber)(n)||!isNaN(n)&&!(0,i.hasOwn)(t,n)?e[n]:(0,i.hasOwn)(t,n)?t[n]:void 0}function p(e){return(0,i.clone)(e)}var m=(0,i.createHashMap)();function g(e){var t=(e=(0,i.clone)(e)).type;t||(0,l.$8)("");var n=t.split(":");2!==n.length&&(0,l.$8)("");var r=!1;"echarts"===n[0]&&(t=n[1],r=!0),e.__isBuiltIn=r,m.set(t,e)}function A(e,t,n){var r=(0,o.qB)(e),i=r.length;i||(0,l.$8)("");for(var a=0,s=i;a<s;a++)t=v(r[a],t),a!==s-1&&(t.length=Math.max(t.length,1));return t}function v(e,t,n,s){t.length||(0,l.$8)(""),(0,i.isObject)(e)||(0,l.$8)("");var g=e.type,A=m.get(g);A||(0,l.$8)("");var v=(0,i.map)(t,(function(e){return function(e,t){var n=new u,o=e.data,s=n.sourceFormat=e.sourceFormat,c=e.startIndex;e.seriesLayoutBy!==r.i_&&(0,l.$8)("");var m=[],g={},A=e.dimensionsDefine;if(A)(0,i.each)(A,(function(e,t){var n=e.name,r={index:t,name:n,displayName:e.displayName};m.push(r),null!=n&&((0,i.hasOwn)(g,n)&&(0,l.$8)(""),g[n]=r)}));else for(var v=0;v<e.dimensionsDetectedCount;v++)m.push({index:v});var y=(0,a.sC)(s,r.i_);t.__isBuiltIn&&(n.getRawDataItem=function(e){return y(o,c,m,e)},n.getRawData=(0,i.bind)(d,null,e)),n.cloneRawData=(0,i.bind)(f,null,e);var O=(0,a.Kd)(s,r.i_);n.count=(0,i.bind)(O,null,o,c,m);var b=(0,a.uQ)(s);n.retrieveValue=function(e,t){var n=y(o,c,m,e);return w(n,t)};var w=n.retrieveValueFromItem=function(e,t){if(null!=e){var n=m[t];return n?b(e,t,n.name):void 0}};return n.getDimensionInfo=(0,i.bind)(h,null,m,g),n.cloneAllDimensionInfo=(0,i.bind)(p,null,m),n}(e,A)})),O=(0,o.qB)(A.transform({upstream:v[0],upstreamList:v,config:(0,i.clone)(e.config)}));return(0,i.map)(O,(function(e,n){var o;(0,i.isObject)(e)||(0,l.$8)(""),e.data||(0,l.$8)(""),y((0,c.wZ)(e.data))||(0,l.$8)("");var a=t[0];if(a&&0===n&&!e.dimensions){var s=a.startIndex;s&&(e.data=a.data.slice(0,s).concat(e.data)),o={seriesLayoutBy:r.i_,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else o={seriesLayoutBy:r.i_,sourceHeader:0,dimensions:e.dimensions};return(0,c.gV)(e.data,o,null)}))}function y(e){return e===r.Km||e===r.Wk}},17878:function(){!function(){"use strict";var e,t,n,r=function(e){var t=e;return{get:function(){return t},set:function(e){t=e}}},o=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=function(e){return n=typeof(t=e),"array"===(null===t?"null":"object"===n&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===n&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":n);var t,n},a=function(e){return!function(e){return null==e}(e)},s=function(e){return"function"==typeof e},l=function(){},c=function(e){return function(){return e}},u=c(!1),d=c(!0),f=function(){return h},h={fold:function(e,t){return e()},isSome:u,isNone:d,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:c(null),getOrUndefined:c(void 0),or:t,orThunk:e,map:f,each:l,bind:f,exists:u,forall:d,filter:function(){return f()},toArray:function(){return[]},toString:c("none()")},p=function(e){var t=c(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:d,isNone:u,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return p(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:h},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},m={some:p,none:f,from:function(e){return null==e?h:p(e)}},g=Array.prototype.slice,A=Array.prototype.push,v=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t(e[n],n))return!0;return!1},y=function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r},O=function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)},b=s(Array.from)?Array.from:function(e){return g.call(e)},w=function(){return w=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},w.apply(this,arguments)},_=function(){var e=function(e){var t=r(m.none()),n=function(){return t.get().each(e)};return{clear:function(){n(),t.set(m.none())},isSet:function(){return t.get().isSome()},get:function(){return t.get()},set:function(e){n(),t.set(m.some(e))}}}(l);return w(w({},e),{on:function(t){return e.get().each(t)}})},x=function(e,t,n){return""===t||e.length>=t.length&&e.substr(n,n+t.length)===t},S=tinymce.util.Tools.resolve("tinymce.Env"),k=tinymce.util.Tools.resolve("tinymce.util.Delay"),C=tinymce.util.Tools.resolve("tinymce.util.Promise"),B=tinymce.util.Tools.resolve("tinymce.util.VK"),Q=function(e,t){return e.fire("PastePlainTextToggle",{state:t})},T=tinymce.util.Tools.resolve("tinymce.util.Tools"),E=function(e){return e.getParam("paste_data_images",!1)},P=function(e){return e.getParam("paste_merge_formats",!0)},$=function(e){return e.getParam("paste_retain_style_properties")},M=function(e){return e.getParam("validate")},z=function(e){return e.getParam("allow_html_data_urls",!1,"boolean")},R=function(e){return e.getParam("paste_data_images",!1,"boolean")},D=function(e){return T.explode(e.getParam("images_file_types","jpeg,jpg,jpe,jfi,jif,jfif,png,gif,bmp,webp","string"))},I="x-tinymce/html",N="\x3c!-- "+I+" --\x3e",L=function(e){return-1!==e.indexOf(N)},V=c(I),U=Object.hasOwnProperty,F=function(e,t){return U.call(e,t)},H=tinymce.util.Tools.resolve("tinymce.html.Entities"),W=tinymce.util.Tools.resolve("tinymce.html.DomParser"),X=tinymce.util.Tools.resolve("tinymce.html.Serializer"),j=" ",q=tinymce.util.Tools.resolve("tinymce.html.Node"),Z=tinymce.util.Tools.resolve("tinymce.html.Schema"),Y=function(e,t){return T.each(t,(function(t){e=t.constructor===RegExp?e.replace(t,""):e.replace(t[0],t[1])})),e},G=function(e){return Y(e,[/^[\s\S]*<body[^>]*>\s*|\s*<\/body[^>]*>[\s\S]*$/gi,/<!--StartFragment-->|<!--EndFragment-->/g,[/( ?)<span class="Apple-converted-space">\u00a0<\/span>( ?)/g,function(e,t,n){return t||n?j:" "}],/<br class="Apple-interchange-newline">/g,/<br>$/i])},K=function(e){return/<font face="Times New Roman"|class="?Mso|style="[^"]*\bmso-|style='[^']*\bmso-|w:WordDocument/i.test(e)||/class="OutlineElement/.test(e)||/id="?docs\-internal\-guid\-/.test(e)},J=function(e){var t=!1;return e=e.replace(/^[\u00a0 ]+/,""),T.each([/^[IVXLMCD]+\.[ \u00a0]/,/^[ivxlmcd]+\.[ \u00a0]/,/^[a-z]{1,2}[\.\)][ \u00a0]/,/^[A-Z]{1,2}[\.\)][ \u00a0]/,/^[0-9]+\.[ \u00a0]/,/^[\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d]+\.[ \u00a0]/,/^[\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d\u62fe]+\.[ \u00a0]/],(function(n){if(n.test(e))return t=!0,!1})),t},ee=function(e,t,n,r){var o={},i=e.dom.parseStyle(r);return T.each(i,(function(i,a){switch(a){case"mso-list":var s=/\w+ \w+([0-9]+)/i.exec(r);s&&(n._listLevel=parseInt(s[1],10)),/Ignore/i.test(i)&&n.firstChild&&(n._listIgnore=!0,n.firstChild._listIgnore=!0);break;case"horiz-align":a="text-align";break;case"vert-align":a="vertical-align";break;case"font-color":case"mso-foreground":a="color";break;case"mso-background":case"mso-highlight":a="background";break;case"font-weight":case"font-style":return void("normal"!==i&&(o[a]=i));case"mso-element":if(/^(comment|comment-list)$/i.test(i))return void n.remove()}0!==a.indexOf("mso-comment")?0!==a.indexOf("mso-")&&("all"===$(e)||t&&t[a])&&(o[a]=i):n.remove()})),/(bold)/i.test(o["font-weight"])&&(delete o["font-weight"],n.wrap(new q("b",1))),/(italic)/i.test(o["font-style"])&&(delete o["font-style"],n.wrap(new q("i",1))),e.dom.serializeStyle(o,n.name)||null},te=function(e,t){return{content:e,cancelled:t}},ne=function(e,t,n){var r=K(t),o=r?function(e,t){return function(e){return e.getParam("paste_enable_default_filters",!0)}(e)?function(e,t){var n,r=$(e);r&&(n=T.makeMap(r.split(/[, ]/))),t=Y(t,[/<br class="?Apple-interchange-newline"?>/gi,/<b[^>]+id="?docs-internal-[^>]*>/gi,/<!--[\s\S]+?-->/gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/&nbsp;/gi,j],[/<span\s+style\s*=\s*"\s*mso-spacerun\s*:\s*yes\s*;?\s*"\s*>([\s\u00a0]*)<\/span>/gi,function(e,t){return t.length>0?t.replace(/./," ").slice(Math.floor(t.length/2)).split("").join(j):""}]]);var o=function(e){return e.getParam("paste_word_valid_elements","-strong/b,-em/i,-u,-span,-p,-ol,-ul,-li,-h1,-h2,-h3,-h4,-h5,-h6,-p/div,-a[href|name],sub,sup,strike,br,del,table[width],tr,td[colspan|rowspan|width],th[colspan|rowspan|width],thead,tfoot,tbody")}(e),i=Z({valid_elements:o,valid_children:"-li[p]"});T.each(i.elements,(function(e){e.attributes.class||(e.attributes.class={},e.attributesOrder.push("class")),e.attributes.style||(e.attributes.style={},e.attributesOrder.push("style"))}));var a=W({},i);a.addAttributeFilter("style",(function(t){for(var r,o=t.length;o--;)(r=t[o]).attr("style",ee(e,n,r,r.attr("style"))),"span"===r.name&&r.parent&&!r.attributes.length&&r.unwrap()})),a.addAttributeFilter("class",(function(e){for(var t,n,r=e.length;r--;)n=(t=e[r]).attr("class"),/^(MsoCommentReference|MsoCommentText|msoDel)$/i.test(n)&&t.remove(),t.attr("class",null)})),a.addNodeFilter("del",(function(e){for(var t=e.length;t--;)e[t].remove()})),a.addNodeFilter("a",(function(e){for(var t,n,r,o=e.length;o--;)if(n=(t=e[o]).attr("href"),r=t.attr("name"),n&&-1!==n.indexOf("#_msocom_"))t.remove();else if(n&&0===n.indexOf("file://")&&(n=n.split("#")[1])&&(n="#"+n),n||r){if(r&&!/^_?(?:toc|edn|ftn)/i.test(r)){t.unwrap();continue}t.attr({href:n,name:r})}else t.unwrap()}));var s=a.parse(t);return function(e){return e.getParam("paste_convert_word_fake_lists",!0)}(e)&&function(e){for(var t,n,r=1,o=function(e){var t="";if(3===e.type)return e.value;if(e=e.firstChild)do{t+=o(e)}while(e=e.next);return t},i=function(e,t){if(3===e.type&&t.test(e.value))return e.value=e.value.replace(t,""),!1;if(e=e.firstChild)do{if(!i(e,t))return!1}while(e=e.next);return!0},a=function(e){if(e._listIgnore)e.remove();else if(e=e.firstChild)do{a(e)}while(e=e.next)},s=function(e,o,s){var l=e._listLevel||r;l!==r&&(l<r?t&&(t=t.parent.parent):(n=t,t=null)),t&&t.name===o?t.append(e):(n=n||t,t=new q(o,1),s>1&&t.attr("start",""+s),e.wrap(t)),e.name="li",l>r&&n&&n.lastChild.append(t),r=l,a(e),i(e,/^\u00a0+/),i(e,/^\s*([\u2022\u00b7\u00a7\u25CF]|\w+\.)/),i(e,/^\u00a0+/)},l=[],c=e.firstChild;null!=c;)if(l.push(c),null!==(c=c.walk()))for(;void 0!==c&&c.parent!==e;)c=c.walk();for(var u=0;u<l.length;u++)if("p"===(e=l[u]).name&&e.firstChild){var d=o(e);if(/^[\s\u00a0]*[\u2022\u00b7\u00a7\u25CF]\s*/.test(d)){s(e,"ul");continue}if(J(d)){var f=/([0-9]+)\./.exec(d),h=1;f&&(h=parseInt(f[1],10)),s(e,"ol",h);continue}if(e._listLevel){s(e,"ul",1);continue}t=null}else n=t,t=null}(s),X({validate:M(e)},i).serialize(s)}(e,t):t}(e,t):t;return function(e,t,n,r){var o=function(e,t,n,r){return e.fire("PastePreProcess",{content:t,internal:n,wordContent:r})}(e,t,n,r),i=function(e,t){var n=W({},e.schema);n.addNodeFilter("meta",(function(e){T.each(e,(function(e){e.remove()}))}));var r=n.parse(t,{forced_root_block:!1,isRootContent:!0});return X({validate:M(e)},e.schema).serialize(r)}(e,o.content);return e.hasEventListeners("PastePostProcess")&&!o.isDefaultPrevented()?function(e,t,n,r){var o=e.dom.create("div",{style:"display:none"},t),i=function(e,t,n,r){return e.fire("PastePostProcess",{node:t,internal:n,wordContent:r})}(e,o,n,r);return te(i.node.innerHTML,i.isDefaultPrevented())}(e,i,n,r):te(i,o.isDefaultPrevented())}(e,o,n,r)},re=function(e,t){return e.insertContent(t,{merge:P(e),paste:!0}),!0},oe=function(e){return/^https?:\/\/[\w\?\-\/+=.&%@~#]+$/i.test(e)},ie=function(e,t,n){return!(!1!==e.selection.isCollapsed()||!oe(t))&&function(e,t,n){return e.undoManager.extra((function(){n(e,t)}),(function(){e.execCommand("mceInsertLink",!1,t)})),!0}(e,t,n)},ae=function(e,t,n){return!!function(e,t){return oe(t)&&v(D(e),(function(e){return n=t.toLowerCase(),r="."+e.toLowerCase(),x(n,r,n.length-r.length);var n,r}))}(e,t)&&function(e,t,n){return e.undoManager.extra((function(){n(e,t)}),(function(){e.insertContent('<img src="'+t+'">')})),!0}(e,t,n)},se=function(e){return"\n"===e||"\r"===e},le=function(e,t,n,r){var o=ne(e,t,n);!1===o.cancelled&&function(e,t,n){n||!1===function(e){return e.getParam("smart_paste",!0)}(e)?re(e,t):function(e,t){T.each([ie,ae,re],(function(n){return!0!==n(e,t,re)}))}(e,t)}(e,o.content,r)},ce=function(e,t,n){var r=n||L(t);le(e,function(e){return e.replace(N,"")}(t),r,!1)},ue=function(e,t){var n=e.dom.encode(t).replace(/\r\n/g,"\n"),r=function(e,t,n){return t?function(e,t,n){var r=e.split(/\n\n/),o=function(e,t){var n=[],r="<"+e;if("object"==typeof t){for(var o in t)F(t,o)&&n.push(o+'="'+H.encodeAllRaw(t[o])+'"');n.length&&(r+=" "+n.join(" "))}return r+">"}(t,n),i="</"+t+">",a=T.map(r,(function(e){return e.split(/\n/).join("<br />")}));return 1===a.length?a[0]:T.map(a,(function(e){return o+e+i})).join("")}(e,!0===t?"p":t,n):function(e){return e.replace(/\r?\n/g,"<br>")}(e)}(function(e,t){var n,r,o,i=(n=function(e){return e.getParam("paste_tab_spaces",4,"number")}(e),n<=0?"":new Array(n+1).join(" ")),a=t.replace(/\t/g,i),s=(r=function(e,t){return function(e){return-1!==" \f\t\v".indexOf(e)}(t)||t===j?e.pcIsSpace||""===e.str||e.str.length===a.length-1||function(e,t){return t<e.length&&t>=0&&se(e[t])}(a,e.str.length+1)?{pcIsSpace:!1,str:e.str+j}:{pcIsSpace:!0,str:e.str+" "}:{pcIsSpace:se(t),str:e.str+t}},o={pcIsSpace:!1,str:""},O(a,(function(e,t){o=r(o,e)})),o);return s.str}(e,n),function(e){return e.getParam("forced_root_block")}(e),function(e){return e.getParam("forced_root_block_attrs")}(e));le(e,r,!1,!0)},de=function(e){var t={};if(e){if(e.getData){var n=e.getData("Text");n&&n.length>0&&-1===n.indexOf("data:text/mce-internal,")&&(t["text/plain"]=n)}if(e.types)for(var r=0;r<e.types.length;r++){var o=e.types[r];try{t[o]=e.getData(o)}catch(e){t[o]=""}}}return t},fe=function(e,t){return t in e&&e[t].length>0},he=function(e){return fe(e,"text/html")||fe(e,"text/plain")},pe=(n=0,function(){return"mceclip"+n++}),me=function(e,t,n){var r,o="paste"===t.type?t.clipboardData:t.dataTransfer;if(R(e)&&o){var s=function(e,t){var n,r=t.items?(n=b(t.items),function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!i(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);A.apply(t,e[n])}return t}(y(n,(function(e){return"file"===e.kind?[e.getAsFile()]:[]})))):[],o=t.files?b(t.files):[];return function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];t(i,r)&&n.push(i)}return n}(r.length>0?r:o,function(e){var t=D(e);return function(e){return n=e.type,x(n,"image/",0)&&v(t,(function(t){return n=t.toLowerCase(),r={jpg:"jpeg",jpe:"jpeg",jfi:"jpeg",jif:"jpeg",jfif:"jpeg",pjpeg:"jpeg",pjp:"jpeg",svg:"svg+xml"},(T.hasOwn(r,n)?"image/"+r[n]:"image/"+n)===e.type;var n,r}));var n}}(e))}(e,o);if(s.length>0)return t.preventDefault(),(r=s,C.all(y(r,(function(e){return new C((function(t){var n=function(e){return a(e.getAsFile)}(e)?e.getAsFile():e,r=new window.FileReader;r.onload=function(){t({blob:n,uri:r.result})},r.readAsDataURL(n)}))})))).then((function(t){n&&e.selection.setRng(n),O(t,(function(t){!function(e,t){var n,r,o=(n=t.uri,(r=/data:([^;]+);base64,([a-z0-9\+\/=]+)/i.exec(n))?{type:r[1],data:decodeURIComponent(r[2])}:{type:null,data:null}),i=o.data,s=o.type,l=pe(),c=t.blob,u=new Image;if(u.src=t.uri,function(e,t){var n=function(e){return e.getParam("images_dataimg_filter")}(e);return!n||n(t)}(e,u)){var d=e.editorUpload.blobCache,f=void 0,h=d.getByData(i,s);if(h)f=h;else{var p=function(e){return e.getParam("images_reuse_filename")}(e)&&a(c.name),m=p?function(e,t){var n=t.match(/([\s\S]+?)(?:\.[a-z0-9.]+)$/i);return a(n)?e.dom.encode(n[1]):null}(e,c.name):l,g=p?c.name:void 0;f=d.create(l,c,i,m,g),d.add(f)}ce(e,'<img src="'+f.blobUri()+'">',!1)}else ce(e,'<img src="'+t.uri+'">',!1)}(e,t)}))})),!0}return!1},ge=function(e){return B.metaKeyPressed(e)&&86===e.keyCode||e.shiftKey&&45===e.keyCode},Ae=function(e){return S.ie&&e.inline?document.body:e.getBody()},ve=function(e){return e.dom.get("mcepastebin")},ye=function(e,t){return t===e},Oe=function(e,t){var n,r=ve(e);return(n=r)&&"mcepastebin"===n.id&&ye(t,r.innerHTML)},be=function(e){var t=r(null),n="%MCEPASTEBIN%";return{create:function(){return function(e,t,n){var r=e.dom,o=e.getBody();t.set(e.selection.getRng());var i=e.dom.add(Ae(e),"div",{id:"mcepastebin",class:"mce-pastebin",contentEditable:!0,"data-mce-bogus":"all",style:"position: fixed; top: 50%; width: 10px; height: 10px; overflow: hidden; opacity: 0"},n);(S.ie||S.gecko)&&r.setStyle(i,"left","rtl"===r.getStyle(o,"direction",!0)?65535:-65535),r.bind(i,"beforedeactivate focusin focusout",(function(e){e.stopPropagation()})),function(e,t,n){(function(e){return Ae(e)!==e.getBody()})(e)&&e.dom.bind(t,"paste keyup",(function(t){Oe(e,n)||e.fire("paste")}))}(e,i,n),i.focus(),e.selection.select(i,!0)}(e,t,n)},remove:function(){return function(e,t){if(ve(e)){for(var n=void 0,r=t.get();n=e.dom.get("mcepastebin");)e.dom.remove(n),e.dom.unbind(n);r&&e.selection.setRng(r)}t.set(null)}(e,t)},getEl:function(){return ve(e)},getHtml:function(){return function(e){var t=function(t,n){t.appendChild(n),e.dom.remove(n,!0)},n=T.grep(Ae(e).childNodes,(function(e){return"mcepastebin"===e.id})),r=n.shift();T.each(n,(function(e){t(r,e)}));for(var o=e.dom.select("div[id=mcepastebin]",r),i=o.length-1;i>=0;i--){var a=e.dom.create("div");r.insertBefore(a,o[i]),t(a,o[i])}return r?r.innerHTML:""}(e)},getLastRng:t.get,isDefault:function(){return Oe(e,n)},isDefaultContent:function(e){return ye(n,e)}}},we=function(e,t){var n=be(e);return e.on("PreInit",(function(){return function(e,t,n){var r;(function(e,t,n){var r,o=_(),i=_();e.on("keyup",i.clear),e.on("keydown",(function(n){var a=function(e){ge(e)&&!e.isDefaultPrevented()&&t.remove()};if(ge(n)&&!n.isDefaultPrevented()){if((r=n.shiftKey&&86===n.keyCode)&&S.webkit&&-1!==navigator.userAgent.indexOf("Version/"))return;if(n.stopImmediatePropagation(),o.set(n),i.set(!0),S.ie&&r)return n.preventDefault(),void function(e){e.fire("paste",{ieFake:!0})}(e);t.remove(),t.create(),e.once("keyup",a),e.once("paste",(function(){e.off("keyup",a)}))}}));var a=function(e,n,r,o,i){var a;fe(n,"text/html")?a=n["text/html"]:(a=t.getHtml(),i=i||L(a),t.isDefaultContent(a)&&(o=!0)),a=G(a),t.remove();var s,l,c,u,d,f,h,p,m=!1===i&&!/<(?:\/?(?!(?:div|p|br|span)>)\w+|(?:(?!(?:span style="white-space:\s?pre;?">)|br\s?\/>))\w+\s[^>]+)>/i.test(a),g=oe(a);(!a.length||m&&!g)&&(o=!0),(o||g)&&(a=fe(n,"text/plain")&&m?n["text/plain"]:(s=a,l=Z(),c=W({},l),u="",d=l.getShortEndedElements(),f=T.makeMap("script noscript style textarea video audio iframe object"," "),h=l.getBlockElements(),p=function(e){var t=e.name,n=e;if("br"!==t){if("wbr"!==t)if(d[t]&&(u+=" "),f[t])u+=" ";else{if(3===e.type&&(u+=e.value),!e.shortEnded&&(e=e.firstChild))do{p(e)}while(e=e.next);h[t]&&n.next&&(u+="\n","p"===t&&(u+="\n"))}}else u+="\n"},s=Y(s,[/<!\[[^\]]+\]>/g]),p(c.parse(s)),u)),t.isDefaultContent(a)?r||e.windowManager.alert("Please use Ctrl+V/Cmd+V keyboard shortcuts to paste contents."):o?ue(e,a):ce(e,a,i)};e.on("paste",(function(s){var l=o.isSet()||i.isSet();l&&o.clear();var c=function(e,t){return de(t.clipboardData||e.getDoc().dataTransfer)}(e,s),u="text"===n.get()||r,d=fe(c,V());r=!1,s.isDefaultPrevented()||function(e){var t=e.clipboardData;return-1!==navigator.userAgent.indexOf("Android")&&t&&t.items&&0===t.items.length}(s)?t.remove():he(c)||!me(e,s,t.getLastRng()||e.selection.getRng())?(l||s.preventDefault(),!S.ie||l&&!s.ieFake||fe(c,"text/html")||(t.create(),e.dom.bind(t.getEl(),"paste",(function(e){e.stopPropagation()})),e.getDoc().execCommand("Paste",!1,null),c["text/html"]=t.getHtml()),fe(c,"text/html")?(s.preventDefault(),d||(d=L(c["text/html"])),a(e,c,l,u,d)):k.setEditorTimeout(e,(function(){a(e,c,l,u,d)}),0)):t.remove()}))})(e,t,n),e.parser.addNodeFilter("img",(function(t,n,o){var i,a=function(e){return 0===e.indexOf("webkit-fake-url")},s=function(e){return 0===e.indexOf("data:")};if(!R(e)&&function(e){return e.data&&!0===e.data.paste}(o))for(var l=t.length;l--;)(r=t[l].attr("src"))&&(a(r)||!z(e)&&s(r))&&((i=t[l]).attr("data-mce-object")||r===S.transparentSrc||i.remove())}))}(e,n,t)})),{pasteFormat:t,pasteHtml:function(t,n){return ce(e,t,n)},pasteText:function(t){return ue(e,t)},pasteImageData:function(t,n){return me(e,t,n)},getDataTransferItems:de,hasHtmlOrText:he,hasContentType:fe}},_e=function(e,t,n,r){!function(e,t,n){if(!function(e){return!1===S.iOS&&"function"==typeof(null==e?void 0:e.setData)}(e))return!1;try{return e.clearData(),e.setData("text/html",t),e.setData("text/plain",n),e.setData(V(),t),!0}catch(e){return!1}}(e.clipboardData,t.html,t.text)?n(t.html,r):(e.preventDefault(),r())},xe=function(e){return function(t,n){var r=function(e){return N+e}(t),o=e.dom.create("div",{contenteditable:"false","data-mce-bogus":"all"}),i=e.dom.create("div",{contenteditable:"true"},r);e.dom.setStyles(o,{position:"fixed",top:"0",left:"-3000px",width:"1000px",overflow:"hidden"}),o.appendChild(i),e.dom.add(e.getBody(),o);var a=e.selection.getRng();i.focus();var s=e.dom.createRng();s.selectNodeContents(i),e.selection.setRng(s),k.setTimeout((function(){e.selection.setRng(a),o.parentNode.removeChild(o),n()}),0)}},Se=function(e){return{html:e.selection.getContent({contextual:!0}),text:e.selection.getContent({format:"text"})}},ke=function(e){return!e.selection.isCollapsed()||function(e){return!!e.dom.getParent(e.selection.getStart(),"td[data-mce-selected],th[data-mce-selected]",e.getBody())}(e)},Ce=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),Be=function(e,t){return Ce.getCaretRangeFromPoint(t.clientX,t.clientY,e.getDoc())},Qe=function(e,t){e.focus(),e.selection.setRng(t)},Te=function(e,t){e.on("PastePreProcess",(function(n){n.content=t(e,n.content,n.internal,n.wordContent)}))},Ee=function(e,t){if(!K(t))return t;var n=[];T.each(e.schema.getBlockElements(),(function(e,t){n.push(t)}));var r=new RegExp("(?:<br>&nbsp;[\\s\\r\\n]+|<br>)*(<\\/?("+n.join("|")+")[^>]*>)(?:<br>&nbsp;[\\s\\r\\n]+|<br>)*","g");return t=Y(t,[[r,"$1"]]),Y(t,[[/<br><br>/g,"<BR><BR>"],[/<br>/g," "],[/<BR><BR>/g,"<br>"]])},Pe=function(e,t,n,r){if(r||n)return t;var o,i=function(e){return e.getParam("paste_webkit_styles")}(e);if(!1===function(e){return e.getParam("paste_remove_styles_if_webkit",!0)}(e)||"all"===i)return t;if(i&&(o=i.split(/[, ]/)),o){var a=e.dom,s=e.selection.getNode();t=t.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,(function(e,t,n,r){var i=a.parseStyle(a.decode(n)),l={};if("none"===o)return t+r;for(var c=0;c<o.length;c++){var u=i[o[c]],d=a.getStyle(s,o[c],!0);/color/.test(o[c])&&(u=a.toHex(u),d=a.toHex(d)),d!==u&&(l[o[c]]=u)}var f=a.serializeStyle(l,"span");return f?t+' style="'+f+'"'+r:t+r}))}else t=t.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,"$1$3");return t=t.replace(/(<[^>]+) data-mce-style="([^"]+)"([^>]*>)/gi,(function(e,t,n,r){return t+' style="'+n+'"'+r})),t},$e=function(e,t){e.$("a",t).find("font,u").each((function(t,n){e.dom.remove(n,!0)}))},Me=function(e,t){return function(n){n.setActive("text"===t.pasteFormat.get());var r=function(e){return n.setActive(e.state)};return e.on("PastePlainTextToggle",r),function(){return e.off("PastePlainTextToggle",r)}}};o.add("paste",(function(e){if(!1===function(e){return!!e.hasPlugin("powerpaste",!0)&&(void 0!==window.console&&window.console.log&&window.console.log("PowerPaste is incompatible with Paste plugin! Remove 'paste' from the 'plugins' option."),!0)}(e)){var t=r(!1),n=r(function(e){return e.getParam("paste_as_text",!1)}(e)?"text":"html"),o=we(e,n);return function(e){S.webkit&&Te(e,Pe),S.ie&&(Te(e,Ee),function(e,t){e.on("PastePostProcess",(function(n){t(e,n.node)}))}(e,$e))}(e),function(e,t){var n=function(){return e.execCommand("mceTogglePlainTextPaste")};e.ui.registry.addToggleButton("pastetext",{active:!1,icon:"paste-text",tooltip:"Paste as text",onAction:n,onSetup:Me(e,t)}),e.ui.registry.addToggleMenuItem("pastetext",{text:"Paste as text",icon:"paste-text",onAction:n,onSetup:Me(e,t)})}(e,o),function(e,t){e.addCommand("mceTogglePlainTextPaste",(function(){!function(e,t){"text"===t.pasteFormat.get()?(t.pasteFormat.set("html"),Q(e,!1)):(t.pasteFormat.set("text"),Q(e,!0)),e.focus()}(e,t)})),e.addCommand("mceInsertClipboardContent",(function(e,n){n.content&&t.pasteHtml(n.content,n.internal),n.text&&t.pasteText(n.text)}))}(e,o),function(e){var t=e.plugins.paste,n=function(e){return e.getParam("paste_preprocess")}(e);n&&e.on("PastePreProcess",(function(e){n.call(t,t,e)}));var r=function(e){return e.getParam("paste_postprocess")}(e);r&&e.on("PastePostProcess",(function(e){r.call(t,t,e)}))}(e),function(e){e.on("cut",function(e){return function(t){ke(e)&&_e(t,Se(e),xe(e),(function(){if(S.browser.isChrome()||S.browser.isFirefox()){var t=e.selection.getRng();k.setEditorTimeout(e,(function(){e.selection.setRng(t),e.execCommand("Delete")}),0)}else e.execCommand("Delete")}))}}(e)),e.on("copy",function(e){return function(t){ke(e)&&_e(t,Se(e),xe(e),l)}}(e))}(e),function(e,t,n){(function(e){return e.getParam("paste_block_drop",!1)})(e)&&e.on("dragend dragover draggesture dragdrop drop drag",(function(e){e.preventDefault(),e.stopPropagation()})),E(e)||e.on("drop",(function(e){var t=e.dataTransfer;t&&t.files&&t.files.length>0&&e.preventDefault()})),e.on("drop",(function(r){var o=Be(e,r);if(!r.isDefaultPrevented()&&!n.get()){var i,a=t.getDataTransferItems(r.dataTransfer),s=t.hasContentType(a,V());if((t.hasHtmlOrText(a)&&(!(i=a["text/plain"])||0!==i.indexOf("file://"))||!t.pasteImageData(r,o))&&o&&function(e){return e.getParam("paste_filter_drop",!0)}(e)){var l=a["mce-internal"]||a["text/html"]||a["text/plain"];l&&(r.preventDefault(),k.setEditorTimeout(e,(function(){e.undoManager.transact((function(){a["mce-internal"]&&e.execCommand("Delete"),Qe(e,o),l=G(l),a["text/html"]?t.pasteHtml(l,s):t.pasteText(l)}))})))}}})),e.on("dragstart",(function(e){n.set(!0)})),e.on("dragover dragend",(function(t){E(e)&&!1===n.get()&&(t.preventDefault(),Qe(e,Be(e,t))),"dragend"===t.type&&n.set(!1)}))}(e,o,t),function(e){return{clipboard:e}}(o)}}))}()},18014:function(e,t,n){"use strict";var r=n(91291),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,9007199254740991):0}},18066:function(e){var t;self,t=()=>(()=>{"use strict";var e={};return(()=>{var t=e;function n(e,t,n){return e.addEventListener(t,n),{dispose:()=>{n&&e.removeEventListener(t,n)}}}Object.defineProperty(t,"__esModule",{value:!0}),t.AttachAddon=void 0,t.AttachAddon=class{constructor(e,t){this._disposables=[],this._socket=e,this._socket.binaryType="arraybuffer",this._bidirectional=!(t&&!1===t.bidirectional)}activate(e){this._disposables.push(n(this._socket,"message",(t=>{const n=t.data;e.write("string"==typeof n?n:new Uint8Array(n))}))),this._bidirectional&&(this._disposables.push(e.onData((e=>this._sendData(e)))),this._disposables.push(e.onBinary((e=>this._sendBinary(e))))),this._disposables.push(n(this._socket,"close",(()=>this.dispose()))),this._disposables.push(n(this._socket,"error",(()=>this.dispose())))}dispose(){for(const e of this._disposables)e.dispose()}_sendData(e){this._checkOpenSocket()&&this._socket.send(e)}_sendBinary(e){if(!this._checkOpenSocket())return;const t=new Uint8Array(e.length);for(let n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);this._socket.send(t)}_checkOpenSocket(){switch(this._socket.readyState){case WebSocket.OPEN:return!0;case WebSocket.CONNECTING:throw new Error("Attach addon was loaded before socket was open");case WebSocket.CLOSING:return console.warn("Attach addon socket is closing"),!1;case WebSocket.CLOSED:throw new Error("Attach addon socket is closed");default:throw new Error("Unexpected socket state")}}}})(),e})(),e.exports=t()},18111:function(e,t,n){"use strict";var r=n(46518),o=n(44576),i=n(90679),a=n(28551),s=n(94901),l=n(42787),c=n(62106),u=n(97040),d=n(79039),f=n(39297),h=n(78227),p=n(57657).IteratorPrototype,m=n(43724),g=n(96395),A="constructor",v="Iterator",y=h("toStringTag"),O=TypeError,b=o[v],w=g||!s(b)||b.prototype!==p||!d((function(){b({})})),_=function(){if(i(this,p),l(this)===p)throw new O("Abstract class Iterator not directly constructable")},x=function(e,t){m?c(p,e,{configurable:!0,get:function(){return t},set:function(t){if(a(this),this===p)throw new O("You can't redefine this property");f(this,e)?this[e]=t:u(this,e,t)}}):p[e]=t};f(p,y)||x(y,v),!w&&f(p,A)&&p[A]!==Object||x(A,_),_.prototype=p,r({global:!0,constructor:!0,forced:w},{Iterator:_})},18237:function(e,t,n){"use strict";var r=n(46518),o=n(72652),i=n(79306),a=n(28551),s=n(1767),l=TypeError;r({target:"Iterator",proto:!0,real:!0},{reduce:function(e){a(this),i(e);var t=s(this),n=arguments.length<2,r=n?void 0:arguments[1],c=0;if(o(t,(function(t){n?(n=!1,r=t):r=e(r,t,c),c++}),{IS_RECORD:!0}),n)throw new l("Reduce of empty iterator with no initial value");return r}})},18346:function(e){e.exports=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(t===e[n])return n}},18386:function(e,t,n){"use strict";var r=n(43870),o=n(5638),i=n(43199),a=n(10128),s=n(98026),l=n(89632);function c(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function u(e){return null==e||(0,s.isObject)(e)||(e={isIgnore:e}),e||{}}function d(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:(0,l.lx)(t),cursorStyle:t.get("cursor")}}var f=function(){function e(e){this.group=new r.A,this._SymbolCtor=e||a.A}return e.prototype.updateData=function(e,t){this._progressiveEls=null,t=u(t);var n=this.group,r=e.hostModel,i=this._data,a=this._SymbolCtor,s=t.disableAnimation,l=d(e),f={disableAnimation:s},h=t.getSymbolPoint||function(t){return e.getItemLayout(t)};i||n.removeAll(),e.diff(i).add((function(r){var o=h(r);if(c(e,o,r,t)){var i=new a(e,r,l,f);i.setPosition(o),e.setItemGraphicEl(r,i),n.add(i)}})).update((function(u,d){var p=i.getItemGraphicEl(d),m=h(u);if(c(e,m,u,t)){var g=e.getItemVisual(u,"symbol")||"circle",A=p&&p.getSymbolType&&p.getSymbolType();if(!p||A&&A!==g)n.remove(p),(p=new a(e,u,l,f)).setPosition(m);else{p.updateData(e,u,l,f);var v={x:m[0],y:m[1]};s?p.attr(v):o.oi(p,v,r)}n.add(p),e.setItemGraphicEl(u,p)}else n.remove(p)})).remove((function(e){var t=i.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}),r)})).execute(),this._getSymbolPoint=h,this._data=e},e.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl((function(t,n){var r=e._getSymbolPoint(n);t.setPosition(r),t.markRedraw()}))},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=d(e),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t,n){function r(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=u(n);for(var o=e.start;o<e.end;o++){var i=t.getItemLayout(o);if(c(t,i,o,n)){var a=new this._SymbolCtor(t,o,this._seriesScope);a.traverse(r),a.setPosition(i),this.group.add(a),t.setItemGraphicEl(o,a),this._progressiveEls.push(a)}}},e.prototype.eachRendered=function(e){i.traverseElements(this._progressiveEls||this.group,e)},e.prototype.remove=function(e){var t=this.group,n=this._data;n&&e?n.eachItemGraphicEl((function(e){e.fadeOut((function(){t.remove(e)}),n.hostModel)})):t.removeAll()},e}();t.A=f},18393:function(e,t,n){"use strict";var r=n(15215),o=n(5070),i=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},a=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new i},t.prototype.buildPath=function(e,t){var n=.5522848,r=t.cx,o=t.cy,i=t.rx,a=t.ry,s=i*n,l=a*n;e.moveTo(r-i,o),e.bezierCurveTo(r-i,o-l,r-s,o-a,r,o-a),e.bezierCurveTo(r+s,o-a,r+i,o-l,r+i,o),e.bezierCurveTo(r+i,o+l,r+s,o+a,r,o+a),e.bezierCurveTo(r-s,o+a,r-i,o+l,r-i,o),e.closePath()},t}(o.Ay);a.prototype.type="ellipse",t.A=a},18472:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});const r=["","default","small","large"]},18550:function(e,t,n){"use strict";var r=n(15215),o=n(28613),i=n(15135),a=n(67071),s=n(98026),l=function(e){function t(t){var n=e.call(this,t)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new i.A({})),(0,s.isArray)(r)&&(r=new i.A({categories:(0,s.map)(r,(function(e){return(0,s.isObject)(e)?e.value:e}))})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return(0,r.C6)(t,e),t.prototype.parse=function(e){return null==e?NaN:(0,s.isString)(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),a.lP(e,this._extent)&&null!=this._ordinalMeta.categories[e]},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),a.S8(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(a.hs(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){for(var e=[],t=this._extent,n=t[0];n<=t[1];)e.push({value:n}),n++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(null!=e){for(var t=e.ordinalNumbers,n=this._ordinalNumbersByTick=[],r=this._ticksByOrdinalNumber=[],o=0,i=this._ordinalMeta.categories.length,a=Math.min(i,t.length);o<a;++o){var s=t[o];n[o]=s,r[s]=o}for(var l=0;o<i;++o){for(;null!=r[l];)l++;n.push(l),r[l]=o}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},t.prototype._getTickNumber=function(e){var t=this._ticksByOrdinalNumber;return t&&e>=0&&e<t.length?t[e]:e},t.prototype.getRawOrdinalNumber=function(e){var t=this._ordinalNumbersByTick;return t&&e>=0&&e<t.length?t[e]:e},t.prototype.getLabel=function(e){if(!this.isBlank()){var t=this.getRawOrdinalNumber(e.value),n=this._ordinalMeta.categories[t];return null==n?"":n+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.isInExtentRange=function(e){return e=this._getTickNumber(e),this._extent[0]<=e&&this._extent[1]>=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(o.A);o.A.registerClass(l),t.A=l},18727:function(e,t,n){"use strict";var r=n(36955);e.exports=function(e){var t=r(e);return"BigInt64Array"===t||"BigUint64Array"===t}},18744:function(e,t,n){"use strict";n.d(t,{A:function(){return g}});var r,o=n(89610),i=n(41917).A["__core-js_shared__"],a=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",s=n(23149),l=n(81121),c=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,f=u.toString,h=d.hasOwnProperty,p=RegExp("^"+f.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),m=function(e){return!(!(0,s.A)(e)||(t=e,a&&a in t))&&((0,o.A)(e)?p:c).test((0,l.A)(e));var t},g=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return m(n)?n:void 0}},18983:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(83509);function o(e,t,n){var o=t.smooth,i=t.points;if(i&&i.length>=2){if(o){var a=function(e,t,n,o){var i,a,s,l,c=[],u=[],d=[],f=[];if(o){s=[1/0,1/0],l=[-1/0,-1/0];for(var h=0,p=e.length;h<p;h++)(0,r.min)(s,s,e[h]),(0,r.max)(l,l,e[h]);(0,r.min)(s,s,o[0]),(0,r.max)(l,l,o[1])}for(h=0,p=e.length;h<p;h++){var m=e[h];if(n)i=e[h?h-1:p-1],a=e[(h+1)%p];else{if(0===h||h===p-1){c.push((0,r.clone)(e[h]));continue}i=e[h-1],a=e[h+1]}(0,r.sub)(u,a,i),(0,r.scale)(u,u,t);var g=(0,r.distance)(m,i),A=(0,r.distance)(m,a),v=g+A;0!==v&&(g/=v,A/=v),(0,r.scale)(d,u,-g),(0,r.scale)(f,u,A);var y=(0,r.add)([],m,d),O=(0,r.add)([],m,f);o&&((0,r.max)(y,y,s),(0,r.min)(y,y,l),(0,r.max)(O,O,s),(0,r.min)(O,O,l)),c.push(y),c.push(O)}return n&&c.push(c.shift()),c}(i,o,n,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var s=i.length,l=0;l<(n?s:s-1);l++){var c=a[2*l],u=a[2*l+1],d=i[(l+1)%s];e.bezierCurveTo(c[0],c[1],u[0],u[1],d[0],d[1])}}else{e.moveTo(i[0][0],i[0][1]),l=1;for(var f=i.length;l<f;l++)e.lineTo(i[l][0],i[l][1])}n&&e.closePath()}}},19042:function(e){e.exports=function(e){return e?e.splice&&e.join?e:(""+e).replace(/(\[\d+\])\.?/g,"$1.").replace(/\.$/,"").split("."):[]}},19092:function(e,t,n){"use strict";n.r(t),n.d(t,{Axis:function(){return r._0},ChartView:function(){return r.OZ},ComponentModel:function(){return r.jT},ComponentView:function(){return r.bR},List:function(){return r.B8},Model:function(){return r.Kx},PRIORITY:function(){return r.FQ},SeriesModel:function(){return r.rP},color:function(){return r.yW},connect:function(){return r.Ng},dataTool:function(){return r.p5},dependencies:function(){return r.El},disConnect:function(){return r.zm},disconnect:function(){return r.Zf},dispose:function(){return r.AS},env:function(){return r._K},extendChartView:function(){return r.yX},extendComponentModel:function(){return r.rt},extendComponentView:function(){return r.NO},extendSeriesModel:function(){return r.NA},format:function(){return r.GP},getCoordinateSystemDimensions:function(){return r.Bo},getInstanceByDom:function(){return r.FP},getInstanceById:function(){return r.aQ},getMap:function(){return r.ZB},graphic:function(){return r.fA},helper:function(){return r.dw},init:function(){return r.Ts},innerDrawElementOnCanvas:function(){return r.UU},matrix:function(){return r.UP},number:function(){return r.ai},parseGeoJSON:function(){return r.l3},parseGeoJson:function(){return r.zI},registerAction:function(){return r.OH},registerCoordinateSystem:function(){return r.pX},registerLayout:function(){return r.Oh},registerLoading:function(){return r.Ej},registerLocale:function(){return r.E},registerMap:function(){return r.mz},registerPostInit:function(){return r.cf},registerPostUpdate:function(){return r.tb},registerPreprocessor:function(){return r.lP},registerProcessor:function(){return r.qg},registerTheme:function(){return r.bf},registerTransform:function(){return r.iY},registerUpdateLifecycle:function(){return r.xV},registerVisual:function(){return r.AF},setCanvasCreator:function(){return r.vV},setPlatformAPI:function(){return r.Gs},throttle:function(){return r.nF},time:function(){return r.kB},use:function(){return r.Yx},util:function(){return r.ZS},vector:function(){return r.i1},version:function(){return r.rE},zrUtil:function(){return r.F_},zrender:function(){return r.nd}});var r=n(9914)},19462:function(e,t,n){"use strict";var r=n(69565),o=n(2360),i=n(66699),a=n(56279),s=n(78227),l=n(91181),c=n(55966),u=n(57657).IteratorPrototype,d=n(62529),f=n(9539),h=s("toStringTag"),p="IteratorHelper",m="WrapForValidIterator",g=l.set,A=function(e){var t=l.getterFor(e?m:p);return a(o(u),{next:function(){var n=t(this);if(e)return n.nextHandler();if(n.done)return d(void 0,!0);try{var r=n.nextHandler();return n.returnHandlerResult?r:d(r,n.done)}catch(e){throw n.done=!0,e}},return:function(){var n=t(this),o=n.iterator;if(n.done=!0,e){var i=c(o,"return");return i?r(i,o):d(void 0,!0)}if(n.inner)try{f(n.inner.iterator,"normal")}catch(e){return f(o,"throw",e)}return o&&f(o,"normal"),d(void 0,!0)}})},v=A(!0),y=A(!1);i(y,h,"Iterator Helper"),e.exports=function(e,t,n){var r=function(r,o){o?(o.iterator=r.iterator,o.next=r.next):o=r,o.type=t?m:p,o.returnHandlerResult=!!n,o.nextHandler=e,o.counter=0,o.done=!1,g(this,o)};return r.prototype=t?v:y,r}},19617:function(e,t,n){"use strict";var r=n(25397),o=n(35610),i=n(26198),a=function(e){return function(t,n,a){var s=r(t),l=i(s);if(0===l)return!e&&-1;var c,u=o(a,l);if(e&&n!=n){for(;l>u;)if((c=s[u++])!=c)return!0}else for(;l>u;u++)if((e||u in s)&&s[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},19845:function(e,t,n){"use strict";var r=n(15215),o=n(71519),i=n(45558),a=n(5070),s=n(98026),l=n(59741),c=(0,s.defaults)({strokeFirst:!0,font:l.OH,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.MW),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return null!=t&&"none"!==t&&e.lineWidth>0},t.prototype.hasFill=function(){var e=this.style.fill;return null!=e&&"none"!==e},t.prototype.createStyle=function(e){return(0,s.createObject)(c,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var t=e.text;null!=t?t+="":t="";var n=(0,i.NO)(t,e.font,e.textAlign,e.textBaseline);if(n.x+=e.x||0,n.y+=e.y||0,this.hasStroke()){var r=e.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},t.initDefaultProps=void(t.prototype.dirtyRectTolerance=10),t}(o.Ay);u.prototype.type="tspan",t.A=u},20034:function(e,t,n){"use strict";var r=n(94901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},20037:function(e,t,n){var r=n(51780);e.exports=function(e,t){var n=!1,o=null,i=r(arguments,2);return function(){return n||(o=e.apply(t,r(arguments).concat(i)),n=!0),o}}},20116:function(e,t,n){"use strict";var r=n(46518),o=n(72652),i=n(79306),a=n(28551),s=n(1767);r({target:"Iterator",proto:!0,real:!0},{find:function(e){a(this),i(e);var t=s(this),n=0;return o(t,(function(t,r){if(e(t,n++))return r(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},20163:function(e,t,n){"use strict";n.d(t,{nk:function(){return C}});var r=n(61431),o=n(22720),i=n(97786),a=n(79869),s=n(91361),l=n(50819),c=n(25343);const u=["success","info","warning","error"],d=(0,n(51254).f)({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:o.oc?document.body:void 0}),f=(0,l.b_)({customClass:{type:String,default:d.customClass},center:{type:Boolean,default:d.center},dangerouslyUseHTMLString:{type:Boolean,default:d.dangerouslyUseHTMLString},duration:{type:Number,default:d.duration},icon:{type:c.Ze,default:d.icon},id:{type:String,default:d.id},message:{type:(0,l.jq)([String,Object,Function]),default:d.message},onClose:{type:(0,l.jq)(Function),default:d.onClose},showClose:{type:Boolean,default:d.showClose},type:{type:String,values:u,default:d.type},plain:{type:Boolean,default:d.plain},offset:{type:Number,default:d.offset},zIndex:{type:Number,default:d.zIndex},grouping:{type:Boolean,default:d.grouping},repeatNum:{type:Number,default:d.repeatNum}}),h=(0,r.shallowReactive)([]);var p=n(78396),m=n(22974),g=n(53344);const A=(0,r.defineComponent)({name:"ElMessage"}),v=(0,r.defineComponent)({...A,props:f,emits:{destroy:()=>!0},setup(e,{expose:t}){const n=e,{Close:l}=c.Nk,{ns:u,zIndex:d}=(0,m.ht)("message"),{currentZIndex:f,nextZIndex:p}=d,A=(0,r.ref)(),v=(0,r.ref)(!1),y=(0,r.ref)(0);let O;const b=(0,r.computed)((()=>n.type?"error"===n.type?"danger":n.type:"info")),w=(0,r.computed)((()=>{const e=n.type;return{[u.bm("icon",e)]:e&&c.rz[e]}})),_=(0,r.computed)((()=>n.icon||c.rz[n.type]||"")),x=(0,r.computed)((()=>(e=>{const{prev:t}=(e=>{const t=h.findIndex((t=>t.id===e)),n=h[t];let r;return t>0&&(r=h[t-1]),{current:n,prev:r}})(e);return t?t.vm.exposed.bottom.value:0})(n.id))),S=(0,r.computed)((()=>((e,t)=>h.findIndex((t=>t.id===e))>0?16:t)(n.id,n.offset)+x.value)),k=(0,r.computed)((()=>y.value+S.value)),C=(0,r.computed)((()=>({top:`${S.value}px`,zIndex:f.value})));function B(){0!==n.duration&&({stop:O}=(0,o.TO)((()=>{T()}),n.duration))}function Q(){null==O||O()}function T(){v.value=!1}return(0,r.onMounted)((()=>{B(),p(),v.value=!0})),(0,r.watch)((()=>n.repeatNum),(()=>{Q(),B()})),(0,i.MLh)(document,"keydown",(function({code:e}){e===g.R.esc&&T()})),(0,i.wYm)(A,(()=>{y.value=A.value.getBoundingClientRect().height})),t({visible:v,bottom:k,close:T}),(e,t)=>((0,r.openBlock)(),(0,r.createBlock)(r.Transition,{name:(0,r.unref)(u).b("fade"),onBeforeLeave:e.onClose,onAfterLeave:t=>e.$emit("destroy"),persisted:""},{default:(0,r.withCtx)((()=>[(0,r.withDirectives)((0,r.createElementVNode)("div",{id:e.id,ref_key:"messageRef",ref:A,class:(0,r.normalizeClass)([(0,r.unref)(u).b(),{[(0,r.unref)(u).m(e.type)]:e.type},(0,r.unref)(u).is("center",e.center),(0,r.unref)(u).is("closable",e.showClose),(0,r.unref)(u).is("plain",e.plain),e.customClass]),style:(0,r.normalizeStyle)((0,r.unref)(C)),role:"alert",onMouseenter:Q,onMouseleave:B},[e.repeatNum>1?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(a.z_),{key:0,value:e.repeatNum,type:(0,r.unref)(b),class:(0,r.normalizeClass)((0,r.unref)(u).e("badge"))},null,8,["value","type","class"])):(0,r.createCommentVNode)("v-if",!0),(0,r.unref)(_)?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(s.tk),{key:1,class:(0,r.normalizeClass)([(0,r.unref)(u).e("icon"),(0,r.unref)(w)])},{default:(0,r.withCtx)((()=>[((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)((0,r.unref)(_))))])),_:1},8,["class"])):(0,r.createCommentVNode)("v-if",!0),(0,r.renderSlot)(e.$slots,"default",{},(()=>[e.dangerouslyUseHTMLString?((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:1},[(0,r.createCommentVNode)(" Caution here, message could've been compromised, never use user's input as message "),(0,r.createElementVNode)("p",{class:(0,r.normalizeClass)((0,r.unref)(u).e("content")),innerHTML:e.message},null,10,["innerHTML"])],2112)):((0,r.openBlock)(),(0,r.createElementBlock)("p",{key:0,class:(0,r.normalizeClass)((0,r.unref)(u).e("content"))},(0,r.toDisplayString)(e.message),3))])),e.showClose?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(s.tk),{key:2,class:(0,r.normalizeClass)((0,r.unref)(u).e("closeBtn")),onClick:(0,r.withModifiers)(T,["stop"])},{default:(0,r.withCtx)((()=>[(0,r.createVNode)((0,r.unref)(l))])),_:1},8,["class","onClick"])):(0,r.createCommentVNode)("v-if",!0)],46,["id"]),[[r.vShow,v.value]])])),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}});var y=(0,p.A)(v,[["__file","message.vue"]]),O=n(31415),b=n(2154),w=n(90033),_=n(41651);let x=1;const S=e=>{const t=!e||(0,w.Kg)(e)||(0,r.isVNode)(e)||(0,w.Tn)(e)?{message:e}:e,n={...d,...t};if(n.appendTo){if((0,w.Kg)(n.appendTo)){let e=document.querySelector(n.appendTo);(0,b.vq)(e)||((0,_.U)("ElMessage","the appendTo option is not an HTMLElement. Falling back to document.body."),e=document.body),n.appendTo=e}}else n.appendTo=document.body;return(0,b.Lm)(O.k.grouping)&&!n.grouping&&(n.grouping=O.k.grouping),(0,b.Et)(O.k.duration)&&3e3===n.duration&&(n.duration=O.k.duration),(0,b.Et)(O.k.offset)&&16===n.offset&&(n.offset=O.k.offset),(0,b.Lm)(O.k.showClose)&&!n.showClose&&(n.showClose=O.k.showClose),n},k=(e={},t)=>{if(!o.oc)return{close:()=>{}};const n=S(e);if(n.grouping&&h.length){const e=h.find((({vnode:e})=>{var t;return(null==(t=e.props)?void 0:t.message)===n.message}));if(e)return e.props.repeatNum+=1,e.props.type=n.type,e.handler}if((0,b.Et)(O.k.max)&&h.length>=O.k.max)return{close:()=>{}};const i=(({appendTo:e,...t},n)=>{const o="message_"+x++,i=t.onClose,a=document.createElement("div"),s={...t,id:o,onClose:()=>{null==i||i(),(e=>{const t=h.indexOf(e);if(-1===t)return;h.splice(t,1);const{handler:n}=e;n.close()})(d)},onDestroy:()=>{(0,r.render)(null,a)}},l=(0,r.createVNode)(y,s,(0,w.Tn)(s.message)||(0,r.isVNode)(s.message)?{default:(0,w.Tn)(s.message)?s.message:()=>s.message}:null);l.appContext=n||k._context,(0,r.render)(l,a),e.appendChild(a.firstElementChild);const c=l.component,u={close:()=>{c.exposed.visible.value=!1}},d={id:o,vnode:l,vm:c,handler:u,props:l.component.props};return d})(n,t);return h.push(i),i.handler};u.forEach((e=>{k[e]=(t={},n)=>{const r=S(t);return k({...r,type:e},n)}})),k.closeAll=function(e){for(const t of h)e&&e!==t.props.type||t.handler.close()},k._context=null;const C=(0,n(64769)._u)(k,"$message")},20354:function(e){e.exports=function(){"use strict";var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};function t(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};function r(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function o(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function i(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||t)}for(var a=function(){function e(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r}return e.prototype.add=function(t,n,r,o){return new e(this.left+t,this.top+n,this.width+r,this.height+o)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var r=Array.from(n).find((function(e){return 0!==e.width}));return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),s=function(e,t){return a.fromClientRect(e,t.getBoundingClientRect())},l=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t},c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],o=-1,i="";++o<n;){var a=e[o];a<=65535?r.push(a):(a-=65536,r.push(55296+(a>>10),a%1024+56320)),(o+1===n||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d="undefined"==typeof Uint8Array?[]:new Uint8Array(256),f=0;f<64;f++)d[u.charCodeAt(f)]=f;for(var h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="undefined"==typeof Uint8Array?[]:new Uint8Array(256),m=0;m<64;m++)p[h.charCodeAt(m)]=m;for(var g=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},A=function(){function e(e,t,n,r,o,i){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=o,this.data=i}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y="undefined"==typeof Uint8Array?[]:new Uint8Array(256),O=0;O<64;O++)y[v.charCodeAt(O)]=O;var b=10,w=13,_=15,x=17,S=18,k=19,C=20,B=21,Q=22,T=24,E=25,P=26,$=27,M=28,z=30,R=32,D=33,I=34,N=35,L=37,V=38,U=39,F=40,H=42,W=[9001,65288],X="×",j="÷",q=function(e){var t,n,r,o=function(e){var t,n,r,o,i,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<s;t+=4)n=p[e.charCodeAt(t)],r=p[e.charCodeAt(t+1)],o=p[e.charCodeAt(t+2)],i=p[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|o>>2,u[l++]=(3&o)<<6|63&i;return c}(e),i=Array.isArray(o)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(o):new Uint32Array(o),a=Array.isArray(o)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(o):new Uint16Array(o),s=g(a,12,i[4]/2),l=2===i[5]?g(a,(24+i[4])/2):(t=i,n=Math.ceil((24+i[4])/4),t.slice?t.slice(n,r):new Uint32Array(Array.prototype.slice.call(t,n,r)));return new A(i[0],i[1],i[2],i[3],s,l)}("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),Z=[z,36],Y=[1,2,3,5],G=[b,8],K=[$,P],J=Y.concat(G),ee=[V,U,F,I,N],te=[_,w],ne=function(e,t,n,r){var o=r[n];if(Array.isArray(e)?-1!==e.indexOf(o):e===o)for(var i=n;i<=r.length;){if((l=r[++i])===t)return!0;if(l!==b)break}if(o===b)for(i=n;i>0;){var a=r[--i];if(Array.isArray(e)?-1!==e.indexOf(a):e===a)for(var s=n;s<=r.length;){var l;if((l=r[++s])===t)return!0;if(l!==b)break}if(a!==b)break}return!1},re=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r!==b)return r;n--}return 0},oe=function(e,t,n,r,o){if(0===n[r])return X;var i=r-1;if(Array.isArray(o)&&!0===o[i])return X;var a=i-1,s=i+1,l=t[i],c=a>=0?t[a]:0,u=t[s];if(2===l&&3===u)return X;if(-1!==Y.indexOf(l))return"!";if(-1!==Y.indexOf(u))return X;if(-1!==G.indexOf(u))return X;if(8===re(i,t))return j;if(11===q.get(e[i]))return X;if((l===R||l===D)&&11===q.get(e[s]))return X;if(7===l||7===u)return X;if(9===l)return X;if(-1===[b,w,_].indexOf(l)&&9===u)return X;if(-1!==[x,S,k,T,M].indexOf(u))return X;if(re(i,t)===Q)return X;if(ne(23,Q,i,t))return X;if(ne([x,S],B,i,t))return X;if(ne(12,12,i,t))return X;if(l===b)return j;if(23===l||23===u)return X;if(16===u||16===l)return j;if(-1!==[w,_,B].indexOf(u)||14===l)return X;if(36===c&&-1!==te.indexOf(l))return X;if(l===M&&36===u)return X;if(u===C)return X;if(-1!==Z.indexOf(u)&&l===E||-1!==Z.indexOf(l)&&u===E)return X;if(l===$&&-1!==[L,R,D].indexOf(u)||-1!==[L,R,D].indexOf(l)&&u===P)return X;if(-1!==Z.indexOf(l)&&-1!==K.indexOf(u)||-1!==K.indexOf(l)&&-1!==Z.indexOf(u))return X;if(-1!==[$,P].indexOf(l)&&(u===E||-1!==[Q,_].indexOf(u)&&t[s+1]===E)||-1!==[Q,_].indexOf(l)&&u===E||l===E&&-1!==[E,M,T].indexOf(u))return X;if(-1!==[E,M,T,x,S].indexOf(u))for(var d=i;d>=0;){if((f=t[d])===E)return X;if(-1===[M,T].indexOf(f))break;d--}if(-1!==[$,P].indexOf(u))for(d=-1!==[x,S].indexOf(l)?a:i;d>=0;){var f;if((f=t[d])===E)return X;if(-1===[M,T].indexOf(f))break;d--}if(V===l&&-1!==[V,U,I,N].indexOf(u)||-1!==[U,I].indexOf(l)&&-1!==[U,F].indexOf(u)||-1!==[F,N].indexOf(l)&&u===F)return X;if(-1!==ee.indexOf(l)&&-1!==[C,P].indexOf(u)||-1!==ee.indexOf(u)&&l===$)return X;if(-1!==Z.indexOf(l)&&-1!==Z.indexOf(u))return X;if(l===T&&-1!==Z.indexOf(u))return X;if(-1!==Z.concat(E).indexOf(l)&&u===Q&&-1===W.indexOf(e[s])||-1!==Z.concat(E).indexOf(u)&&l===S)return X;if(41===l&&41===u){for(var h=n[i],p=1;h>0&&41===t[--h];)p++;if(p%2!=0)return X}return l===R&&u===D?X:j},ie=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=function(e,t){void 0===t&&(t="strict");var n=[],r=[],o=[];return e.forEach((function(e,i){var a=q.get(e);if(a>50?(o.push(!0),a-=50):o.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(i),n.push(16);if(4===a||11===a){if(0===i)return r.push(i),n.push(z);var s=n[i-1];return-1===J.indexOf(s)?(r.push(r[i-1]),n.push(s)):(r.push(i),n.push(z))}return r.push(i),31===a?n.push("strict"===t?B:L):a===H||29===a?n.push(z):43===a?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(L):n.push(z):void n.push(a)})),[r,n,o]}(e,t.lineBreak),r=n[0],o=n[1],i=n[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(o=o.map((function(e){return-1!==[E,z,H].indexOf(e)?L:e})));var a="keep-all"===t.wordBreak?i.map((function(t,n){return t&&e[n]>=19968&&e[n]<=40959})):void 0;return[r,o,a]},ae=function(){function e(e,t,n,r){this.codePoints=e,this.required="!"===t,this.start=n,this.end=r}return e.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),se=45,le=43,ce=-1,ue=function(e){return e>=48&&e<=57},de=function(e){return ue(e)||e>=65&&e<=70||e>=97&&e<=102},fe=function(e){return 10===e||9===e||32===e},he=function(e){return function(e){return function(e){return e>=97&&e<=122}(e)||function(e){return e>=65&&e<=90}(e)}(e)||function(e){return e>=128}(e)||95===e},pe=function(e){return he(e)||ue(e)||e===se},me=function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e},ge=function(e,t){return 92===e&&10!==t},Ae=function(e,t,n){return e===se?he(t)||ge(t,n):!!he(e)||!(92!==e||!ge(e,t))},ve=function(e,t,n){return e===le||e===se?!!ue(t)||46===t&&ue(n):ue(46===e?t:e)},ye=function(e){var t=0,n=1;e[t]!==le&&e[t]!==se||(e[t]===se&&(n=-1),t++);for(var r=[];ue(e[t]);)r.push(e[t++]);var o=r.length?parseInt(c.apply(void 0,r),10):0;46===e[t]&&t++;for(var i=[];ue(e[t]);)i.push(e[t++]);var a=i.length,s=a?parseInt(c.apply(void 0,i),10):0;69!==e[t]&&101!==e[t]||t++;var l=1;e[t]!==le&&e[t]!==se||(e[t]===se&&(l=-1),t++);for(var u=[];ue(e[t]);)u.push(e[t++]);var d=u.length?parseInt(c.apply(void 0,u),10):0;return n*(o+s*Math.pow(10,-a))*Math.pow(10,l*d)},Oe={type:2},be={type:3},we={type:4},_e={type:13},xe={type:8},Se={type:21},ke={type:9},Ce={type:10},Be={type:11},Qe={type:12},Te={type:14},Ee={type:23},Pe={type:1},$e={type:25},Me={type:24},ze={type:26},Re={type:27},De={type:28},Ie={type:29},Ne={type:31},Le={type:32},Ve=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(l(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Le;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(pe(t)||ge(n,r)){var o=Ae(t,n,r)?2:1;return{type:5,value:this.consumeName(),flags:o}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),_e;break;case 39:return this.consumeStringToken(39);case 40:return Oe;case 41:return be;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Te;break;case le:if(ve(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 44:return we;case se:var i=e,a=this.peekCodePoint(0),s=this.peekCodePoint(1);if(ve(i,a,s))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Ae(i,a,s))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(a===se&&62===s)return this.consumeCodePoint(),this.consumeCodePoint(),Me;break;case 46:if(ve(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(42===l&&47===(l=this.consumeCodePoint()))return this.consumeToken();if(l===ce)return this.consumeToken()}break;case 58:return ze;case 59:return Re;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===se&&this.peekCodePoint(2)===se)return this.consumeCodePoint(),this.consumeCodePoint(),$e;break;case 64:var u=this.peekCodePoint(0),d=this.peekCodePoint(1),f=this.peekCodePoint(2);if(Ae(u,d,f))return{type:7,value:this.consumeName()};break;case 91:return De;case 92:if(ge(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case 93:return Ie;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),xe;break;case 123:return Be;case 125:return Qe;case 117:case 85:var h=this.peekCodePoint(0),p=this.peekCodePoint(1);return h!==le||!de(p)&&63!==p||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ke;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),Se;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ce;break;case ce:return Le}return fe(e)?(this.consumeWhiteSpace(),Ne):ue(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):he(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:c(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return void 0===e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();de(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;63===t&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(c.apply(void 0,e.map((function(e){return 63===e?48:e}))),16),end:parseInt(c.apply(void 0,e.map((function(e){return 63===e?70:e}))),16)};var r=parseInt(c.apply(void 0,e),16);if(this.peekCodePoint(0)===se&&de(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];de(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();return{type:30,start:r,end:parseInt(c.apply(void 0,o),16)}}return{type:30,start:r,end:r}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===ce)return{type:22,value:""};var t=this.peekCodePoint(0);if(39===t||34===t){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===ce||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),Ee)}for(;;){var r=this.consumeCodePoint();if(r===ce||41===r)return{type:22,value:c.apply(void 0,e)};if(fe(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ce||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Ee);if(34===r||39===r||40===r||me(r))return this.consumeBadUrlRemnants(),Ee;if(92===r){if(!ge(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Ee;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;fe(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(41===e||e===ce)return;ge(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t="";e>0;){var n=Math.min(5e4,e);t+=c.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),t},e.prototype.consumeStringToken=function(e){for(var t="",n=0;;){var r=this._value[n];if(r===ce||void 0===r||r===e)return{type:0,value:t+=this.consumeStringSlice(n)};if(10===r)return this._value.splice(0,n),Pe;if(92===r){var o=this._value[n+1];o!==ce&&void 0!==o&&(10===o?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):ge(r,o)&&(t+=this.consumeStringSlice(n),t+=c(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=4,n=this.peekCodePoint(0);for(n!==le&&n!==se||e.push(this.consumeCodePoint());ue(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===n&&ue(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;ue(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var o=this.peekCodePoint(2);if((69===n||101===n)&&((r===le||r===se)&&ue(o)||ue(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;ue(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[ye(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),o=this.peekCodePoint(1),i=this.peekCodePoint(2);return Ae(r,o,i)?{type:15,number:t,flags:n,unit:this.consumeName()}:37===r?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(de(e)){for(var t=c(e);de(this.peekCodePoint(0))&&t.length<6;)t+=c(this.consumeCodePoint());fe(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||function(e){return e>=55296&&e<=57343}(n)||n>1114111?65533:n}return e===ce?65533:e},e.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(pe(t))e+=c(t);else{if(!ge(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=c(this.consumeEscapedCodePoint())}}},e}(),Ue=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new Ve;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(32===n.type||Ge(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return void 0===e?Le:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),Fe=function(e){return 15===e.type},He=function(e){return 17===e.type},We=function(e){return 20===e.type},Xe=function(e){return 0===e.type},je=function(e,t){return We(e)&&e.value===t},qe=function(e){return 31!==e.type},Ze=function(e){return 31!==e.type&&4!==e.type},Ye=function(e){var t=[],n=[];return e.forEach((function(e){if(4===e.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}31!==e.type&&n.push(e)})),n.length&&t.push(n),t},Ge=function(e,t){return 11===t&&12===e.type||28===t&&29===e.type||2===t&&3===e.type},Ke=function(e){return 17===e.type||15===e.type},Je=function(e){return 16===e.type||Ke(e)},et=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},tt={type:17,number:0,flags:4},nt={type:16,number:50,flags:4},rt={type:16,number:100,flags:4},ot=function(e,t,n){var r=e[0],o=e[1];return[it(r,t),it(void 0!==o?o:r,n)]},it=function(e,t){if(16===e.type)return e.number/100*t;if(Fe(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},at="grad",st="turn",lt=function(e,t){if(15===t.type)switch(t.unit){case"deg":return Math.PI*t.number/180;case at:return Math.PI/200*t.number;case"rad":return t.number;case st:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")},ct=function(e){return 15===e.type&&("deg"===e.unit||e.unit===at||"rad"===e.unit||e.unit===st)},ut=function(e){switch(e.filter(We).map((function(e){return e.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[tt,tt];case"to top":case"bottom":return dt(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[tt,rt];case"to right":case"left":return dt(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[rt,rt];case"to bottom":case"top":return dt(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[rt,tt];case"to left":case"right":return dt(270)}return 0},dt=function(e){return Math.PI*e/180},ft=function(e,t){if(18===t.type){var n=Ot[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),o=t.value.substring(1,2),i=t.value.substring(2,3);return mt(parseInt(r+r,16),parseInt(o+o,16),parseInt(i+i,16),1)}if(4===t.value.length){r=t.value.substring(0,1),o=t.value.substring(1,2),i=t.value.substring(2,3);var a=t.value.substring(3,4);return mt(parseInt(r+r,16),parseInt(o+o,16),parseInt(i+i,16),parseInt(a+a,16)/255)}if(6===t.value.length)return r=t.value.substring(0,2),o=t.value.substring(2,4),i=t.value.substring(4,6),mt(parseInt(r,16),parseInt(o,16),parseInt(i,16),1);if(8===t.value.length)return r=t.value.substring(0,2),o=t.value.substring(2,4),i=t.value.substring(4,6),a=t.value.substring(6,8),mt(parseInt(r,16),parseInt(o,16),parseInt(i,16),parseInt(a,16)/255)}if(20===t.type){var s=wt[t.value.toUpperCase()];if(void 0!==s)return s}return wt.TRANSPARENT},ht=function(e){return!(255&e)},pt=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,o=255&e>>24;return t<255?"rgba("+o+","+r+","+n+","+t/255+")":"rgb("+o+","+r+","+n+")"},mt=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r))>>>0},gt=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},At=function(e,t){var n=t.filter(Ze);if(3===n.length){var r=n.map(gt),o=r[0],i=r[1],a=r[2];return mt(o,i,a,1)}if(4===n.length){var s=n.map(gt),l=(o=s[0],i=s[1],a=s[2],s[3]);return mt(o,i,a,l)}return 0};function vt(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var yt=function(e,t){var n=t.filter(Ze),r=n[0],o=n[1],i=n[2],a=n[3],s=(17===r.type?dt(r.number):lt(e,r))/(2*Math.PI),l=Je(o)?o.number/100:0,c=Je(i)?i.number/100:0,u=void 0!==a&&Je(a)?it(a,1):1;if(0===l)return mt(255*c,255*c,255*c,1);var d=c<=.5?c*(l+1):c+l-c*l,f=2*c-d,h=vt(f,d,s+1/3),p=vt(f,d,s),m=vt(f,d,s-1/3);return mt(255*h,255*p,255*m,u)},Ot={hsl:yt,hsla:yt,rgb:At,rgba:At},bt=function(e,t){return ft(e,Ue.create(t).parseComponentValue())},wt={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},_t={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(We(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},xt={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},St=function(e,t){var n=ft(e,t[0]),r=t[1];return r&&Je(r)?{color:n,stop:r}:{color:n,stop:null}},kt=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=tt),null===r.stop&&(r.stop=rt);for(var o=[],i=0,a=0;a<e.length;a++){var s=e[a].stop;if(null!==s){var l=it(s,t);l>i?o.push(l):o.push(i),i=l}else o.push(null)}var c=null;for(a=0;a<o.length;a++){var u=o[a];if(null===u)null===c&&(c=a);else if(null!==c){for(var d=a-c,f=(u-o[c-1])/(d+1),h=1;h<=d;h++)o[c+h-1]=f*h;c=null}}return e.map((function(e,n){return{color:e.color,stop:Math.max(Math.min(1,o[n]/t),0)}}))},Ct=function(e,t,n){var r="number"==typeof e?e:function(e,t,n){var r=t/2,o=n/2,i=it(e[0],t)-r,a=o-it(e[1],n);return(Math.atan2(a,i)+2*Math.PI)%(2*Math.PI)}(e,t,n),o=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),i=t/2,a=n/2,s=o/2,l=Math.sin(r-Math.PI/2)*s,c=Math.cos(r-Math.PI/2)*s;return[o,i-c,i+c,a-l,a+l]},Bt=function(e,t){return Math.sqrt(e*e+t*t)},Qt=function(e,t,n,r,o){return[[0,0],[0,t],[e,0],[e,t]].reduce((function(e,t){var i=t[0],a=t[1],s=Bt(n-i,r-a);return(o?s<e.optimumDistance:s>e.optimumDistance)?{optimumCorner:t,optimumDistance:s}:e}),{optimumDistance:o?1/0:-1/0,optimumCorner:null}).optimumCorner},Tt=function(e,t){var n=dt(180),r=[];return Ye(t).forEach((function(t,o){if(0===o){var i=t[0];if(20===i.type&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(n=ut(t));if(ct(i))return void(n=(lt(e,i)+dt(270))%dt(360))}var a=St(e,t);r.push(a)})),{angle:n,stops:r,type:1}},Et="closest-side",Pt="farthest-side",$t="closest-corner",Mt="farthest-corner",zt="circle",Rt="ellipse",Dt="cover",It="contain",Nt=function(e,t){var n=0,r=3,o=[],i=[];return Ye(t).forEach((function(t,a){var s=!0;if(0===a?s=t.reduce((function(e,t){if(We(t))switch(t.value){case"center":return i.push(nt),!1;case"top":case"left":return i.push(tt),!1;case"right":case"bottom":return i.push(rt),!1}else if(Je(t)||Ke(t))return i.push(t),!1;return e}),s):1===a&&(s=t.reduce((function(e,t){if(We(t))switch(t.value){case zt:return n=0,!1;case Rt:return n=1,!1;case It:case Et:return r=0,!1;case Pt:return r=1,!1;case $t:return r=2,!1;case Dt:case Mt:return r=3,!1}else if(Ke(t)||Je(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e}),s)),s){var l=St(e,t);o.push(l)}})),{size:r,shape:n,stops:o,position:i,type:2}},Lt=function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var r=Ut[t.name];if(void 0===r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error("Unsupported image type "+t.type)};var Vt,Ut={"linear-gradient":function(e,t){var n=dt(180),r=[];return Ye(t).forEach((function(t,o){if(0===o){var i=t[0];if(20===i.type&&"to"===i.value)return void(n=ut(t));if(ct(i))return void(n=lt(e,i))}var a=St(e,t);r.push(a)})),{angle:n,stops:r,type:1}},"-moz-linear-gradient":Tt,"-ms-linear-gradient":Tt,"-o-linear-gradient":Tt,"-webkit-linear-gradient":Tt,"radial-gradient":function(e,t){var n=0,r=3,o=[],i=[];return Ye(t).forEach((function(t,a){var s=!0;if(0===a){var l=!1;s=t.reduce((function(e,t){if(l)if(We(t))switch(t.value){case"center":return i.push(nt),e;case"top":case"left":return i.push(tt),e;case"right":case"bottom":return i.push(rt),e}else(Je(t)||Ke(t))&&i.push(t);else if(We(t))switch(t.value){case zt:return n=0,!1;case Rt:return n=1,!1;case"at":return l=!0,!1;case Et:return r=0,!1;case Dt:case Pt:return r=1,!1;case It:case $t:return r=2,!1;case Mt:return r=3,!1}else if(Ke(t)||Je(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e}),s)}if(s){var c=St(e,t);o.push(c)}})),{size:r,shape:n,stops:o,position:i,type:2}},"-moz-radial-gradient":Nt,"-ms-radial-gradient":Nt,"-o-radial-gradient":Nt,"-webkit-radial-gradient":Nt,"-webkit-gradient":function(e,t){var n=dt(180),r=[],o=1;return Ye(t).forEach((function(t,n){var i=t[0];if(0===n){if(We(i)&&"linear"===i.value)return void(o=1);if(We(i)&&"radial"===i.value)return void(o=2)}if(18===i.type)if("from"===i.name){var a=ft(e,i.values[0]);r.push({stop:tt,color:a})}else if("to"===i.name)a=ft(e,i.values[0]),r.push({stop:rt,color:a});else if("color-stop"===i.name){var s=i.values.filter(Ze);if(2===s.length){a=ft(e,s[1]);var l=s[0];He(l)&&r.push({stop:{type:16,number:100*l.number,flags:l.flags},color:a})}}})),1===o?{angle:(n+dt(180))%dt(360),stops:r,type:o}:{size:3,shape:0,stops:r,position:[],type:o}}},Ft={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t.filter((function(e){return Ze(e)&&function(e){return!(20===e.type&&"none"===e.value||18===e.type&&!Ut[e.name])}(e)})).map((function(t){return Lt(e,t)}))}},Ht={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(We(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Wt={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return Ye(t).map((function(e){return e.filter(Je)})).map(et)}},Xt={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return Ye(t).map((function(e){return e.filter(We).map((function(e){return e.value})).join(" ")})).map(jt)}},jt=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"}(Vt||(Vt={}));var qt,Zt={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return Ye(t).map((function(e){return e.filter(Yt)}))}},Yt=function(e){return We(e)||Je(e)},Gt=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Kt=Gt("top"),Jt=Gt("right"),en=Gt("bottom"),tn=Gt("left"),nn=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return et(t.filter(Je))}}},rn=nn("top-left"),on=nn("top-right"),an=nn("bottom-right"),sn=nn("bottom-left"),ln=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},cn=ln("top"),un=ln("right"),dn=ln("bottom"),fn=ln("left"),hn=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Fe(t)?t.number:0}}},pn=hn("top"),mn=hn("right"),gn=hn("bottom"),An=hn("left"),vn={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},yn={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){return"rtl"===t?1:0}},On={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(We).reduce((function(e,t){return e|bn(t.value)}),0)}},bn=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},wn={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},_n={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};!function(e){e.NORMAL="normal",e.STRICT="strict"}(qt||(qt={}));var xn,Sn={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"strict"===t?qt.STRICT:qt.NORMAL}},kn={name:"line-height",initialValue:"normal",prefix:!1,type:4},Cn=function(e,t){return We(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:Je(e)?it(e,t):t},Bn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:Lt(e,t)}},Qn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){return"inside"===t?0:1}},Tn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},En=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},Pn=En("top"),$n=En("right"),Mn=En("bottom"),zn=En("left"),Rn={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(We).map((function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}}))}},Dn={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"break-word"===t?"break-word":"normal"}},In=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Nn=In("top"),Ln=In("right"),Vn=In("bottom"),Un=In("left"),Fn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Hn={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Wn={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&je(t[0],"none")?[]:Ye(t).map((function(t){for(var n={color:wt.TRANSPARENT,offsetX:tt,offsetY:tt,blur:tt},r=0,o=0;o<t.length;o++){var i=t[o];Ke(i)?(0===r?n.offsetX=i:1===r?n.offsetY=i:n.blur=i,r++):n.color=ft(e,i)}return n}))}},Xn={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},jn={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(20===t.type&&"none"===t.value)return null;if(18===t.type){var n=qn[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},qn={matrix:function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number}));return 6===t.length?t:null},matrix3d:function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number})),n=t[0],r=t[1];t[2],t[3];var o=t[4],i=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var a=t[12],s=t[13];return t[14],t[15],16===t.length?[n,r,o,i,a,s]:null}},Zn={type:16,number:50,flags:4},Yn=[Zn,Zn],Gn={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var n=t.filter(Je);return 2!==n.length?Yn:[n[0],n[1]]}},Kn={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;default:return 0}}};!function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"}(xn||(xn={}));for(var Jn={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return xn.BREAK_ALL;case"keep-all":return xn.KEEP_ALL;default:return xn.NORMAL}}},er={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(He(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},tr={name:"time",parse:function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},nr={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return He(t)?t.number:1}},rr={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},or={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(We).map((function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(e){return 0!==e}))}},ir={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var n=[],r=[];return t.forEach((function(e){switch(e.type){case 20:case 0:n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:r.push(n.join(" ")),n.length=0}})),n.length&&r.push(n.join(" ")),r.map((function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"}))}},ar={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},sr={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){return He(t)?t.number:We(t)&&"bold"===t.value?700:400}},lr={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(We).map((function(e){return e.value}))}},cr={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},ur=function(e,t){return!!(e&t)},dr={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t}},fr={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;for(var r=[],o=t.filter(qe),i=0;i<o.length;i++){var a=o[i],s=o[i+1];if(20===a.type){var l=s&&He(s)?s.number:1;r.push({counter:a.value,increment:l})}}return r}},hr={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var n=[],r=t.filter(qe),o=0;o<r.length;o++){var i=r[o],a=r[o+1];if(We(i)&&"none"!==i.value){var s=a&&He(a)?a.number:0;n.push({counter:i.value,reset:s})}}return n}},pr={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(Fe).map((function(t){return tr.parse(e,t)}))}},mr={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;var r=[],o=t.filter(Xe);if(o.length%2!=0)return null;for(var i=0;i<o.length;i+=2){var a=o[i].value,s=o[i+1].value;r.push({open:a,close:s})}return r}},gr=function(e,t,n){if(!e)return"";var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:""},Ar={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&je(t[0],"none")?[]:Ye(t).map((function(t){for(var n={color:255,offsetX:tt,offsetY:tt,blur:tt,spread:tt,inset:!1},r=0,o=0;o<t.length;o++){var i=t[o];je(i,"inset")?n.inset=!0:Ke(i)?(0===r?n.offsetX=i:1===r?n.offsetY=i:2===r?n.blur=i:n.spread=i,r++):n.color=ft(e,i)}return n}))}},vr={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var n=[];return t.filter(We).forEach((function(e){switch(e.value){case"stroke":n.push(1);break;case"fill":n.push(0);break;case"markers":n.push(2)}})),[0,1,2].forEach((function(e){-1===n.indexOf(e)&&n.push(e)})),n}},yr={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Or={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Fe(t)?t.number:0}},br=function(){function e(e,t){var n,r;this.animationDuration=xr(e,pr,t.animationDuration),this.backgroundClip=xr(e,_t,t.backgroundClip),this.backgroundColor=xr(e,xt,t.backgroundColor),this.backgroundImage=xr(e,Ft,t.backgroundImage),this.backgroundOrigin=xr(e,Ht,t.backgroundOrigin),this.backgroundPosition=xr(e,Wt,t.backgroundPosition),this.backgroundRepeat=xr(e,Xt,t.backgroundRepeat),this.backgroundSize=xr(e,Zt,t.backgroundSize),this.borderTopColor=xr(e,Kt,t.borderTopColor),this.borderRightColor=xr(e,Jt,t.borderRightColor),this.borderBottomColor=xr(e,en,t.borderBottomColor),this.borderLeftColor=xr(e,tn,t.borderLeftColor),this.borderTopLeftRadius=xr(e,rn,t.borderTopLeftRadius),this.borderTopRightRadius=xr(e,on,t.borderTopRightRadius),this.borderBottomRightRadius=xr(e,an,t.borderBottomRightRadius),this.borderBottomLeftRadius=xr(e,sn,t.borderBottomLeftRadius),this.borderTopStyle=xr(e,cn,t.borderTopStyle),this.borderRightStyle=xr(e,un,t.borderRightStyle),this.borderBottomStyle=xr(e,dn,t.borderBottomStyle),this.borderLeftStyle=xr(e,fn,t.borderLeftStyle),this.borderTopWidth=xr(e,pn,t.borderTopWidth),this.borderRightWidth=xr(e,mn,t.borderRightWidth),this.borderBottomWidth=xr(e,gn,t.borderBottomWidth),this.borderLeftWidth=xr(e,An,t.borderLeftWidth),this.boxShadow=xr(e,Ar,t.boxShadow),this.color=xr(e,vn,t.color),this.direction=xr(e,yn,t.direction),this.display=xr(e,On,t.display),this.float=xr(e,wn,t.cssFloat),this.fontFamily=xr(e,ir,t.fontFamily),this.fontSize=xr(e,ar,t.fontSize),this.fontStyle=xr(e,cr,t.fontStyle),this.fontVariant=xr(e,lr,t.fontVariant),this.fontWeight=xr(e,sr,t.fontWeight),this.letterSpacing=xr(e,_n,t.letterSpacing),this.lineBreak=xr(e,Sn,t.lineBreak),this.lineHeight=xr(e,kn,t.lineHeight),this.listStyleImage=xr(e,Bn,t.listStyleImage),this.listStylePosition=xr(e,Qn,t.listStylePosition),this.listStyleType=xr(e,Tn,t.listStyleType),this.marginTop=xr(e,Pn,t.marginTop),this.marginRight=xr(e,$n,t.marginRight),this.marginBottom=xr(e,Mn,t.marginBottom),this.marginLeft=xr(e,zn,t.marginLeft),this.opacity=xr(e,nr,t.opacity);var o=xr(e,Rn,t.overflow);this.overflowX=o[0],this.overflowY=o[o.length>1?1:0],this.overflowWrap=xr(e,Dn,t.overflowWrap),this.paddingTop=xr(e,Nn,t.paddingTop),this.paddingRight=xr(e,Ln,t.paddingRight),this.paddingBottom=xr(e,Vn,t.paddingBottom),this.paddingLeft=xr(e,Un,t.paddingLeft),this.paintOrder=xr(e,vr,t.paintOrder),this.position=xr(e,Hn,t.position),this.textAlign=xr(e,Fn,t.textAlign),this.textDecorationColor=xr(e,rr,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=xr(e,or,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=xr(e,Wn,t.textShadow),this.textTransform=xr(e,Xn,t.textTransform),this.transform=xr(e,jn,t.transform),this.transformOrigin=xr(e,Gn,t.transformOrigin),this.visibility=xr(e,Kn,t.visibility),this.webkitTextStrokeColor=xr(e,yr,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=xr(e,Or,t.webkitTextStrokeWidth),this.wordBreak=xr(e,Jn,t.wordBreak),this.zIndex=xr(e,er,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return ht(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return ur(this.display,4)||ur(this.display,33554432)||ur(this.display,268435456)||ur(this.display,536870912)||ur(this.display,67108864)||ur(this.display,134217728)},e}(),wr=function(e,t){this.content=xr(e,dr,t.content),this.quotes=xr(e,mr,t.quotes)},_r=function(e,t){this.counterIncrement=xr(e,fr,t.counterIncrement),this.counterReset=xr(e,hr,t.counterReset)},xr=function(e,t,n){var r=new Ve,o=null!=n?n.toString():t.initialValue;r.write(o);var i=new Ue(r.read());switch(t.type){case 2:var a=i.parseComponentValue();return t.parse(e,We(a)?a.value:t.initialValue);case 0:return t.parse(e,i.parseComponentValue());case 1:return t.parse(e,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(t.format){case"angle":return lt(e,i.parseComponentValue());case"color":return ft(e,i.parseComponentValue());case"image":return Lt(e,i.parseComponentValue());case"length":var s=i.parseComponentValue();return Ke(s)?s:tt;case"length-percentage":var l=i.parseComponentValue();return Je(l)?l:tt;case"time":return tr.parse(e,i.parseComponentValue())}}},Sr=function(e,t){var n=function(e){switch(e.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(e);return 1===n||t===n},kr=function(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Sr(t,3),this.styles=new br(e,window.getComputedStyle(t,null)),Eo(t)&&(this.styles.animationDuration.some((function(e){return e>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=s(this.context,t),Sr(t,4)&&(this.flags|=16)},Cr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Br="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Qr=0;Qr<64;Qr++)Br[Cr.charCodeAt(Qr)]=Qr;for(var Tr=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},Er=function(){function e(e,t,n,r,o,i){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=o,this.data=i}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),Pr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$r="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Mr=0;Mr<64;Mr++)$r[Pr.charCodeAt(Mr)]=Mr;var zr,Rr=8,Dr=9,Ir=11,Nr=12,Lr=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],o=-1,i="";++o<n;){var a=e[o];a<=65535?r.push(a):(a-=65536,r.push(55296+(a>>10),a%1024+56320)),(o+1===n||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},Vr=function(e){var t,n,r,o=function(e){var t,n,r,o,i,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<s;t+=4)n=Br[e.charCodeAt(t)],r=Br[e.charCodeAt(t+1)],o=Br[e.charCodeAt(t+2)],i=Br[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|o>>2,u[l++]=(3&o)<<6|63&i;return c}(e),i=Array.isArray(o)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(o):new Uint32Array(o),a=Array.isArray(o)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(o):new Uint16Array(o),s=Tr(a,12,i[4]/2),l=2===i[5]?Tr(a,(24+i[4])/2):(t=i,n=Math.ceil((24+i[4])/4),t.slice?t.slice(n,r):new Uint32Array(Array.prototype.slice.call(t,n,r)));return new Er(i[0],i[1],i[2],i[3],s,l)}("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),Ur="×",Fr=function(e){return Vr.get(e)},Hr=function(e,t,n){var r=n-2,o=t[r],i=t[n-1],a=t[n];if(2===i&&3===a)return Ur;if(2===i||3===i||4===i)return"÷";if(2===a||3===a||4===a)return"÷";if(i===Rr&&-1!==[Rr,Dr,Ir,Nr].indexOf(a))return Ur;if(!(i!==Ir&&i!==Dr||a!==Dr&&10!==a))return Ur;if((i===Nr||10===i)&&10===a)return Ur;if(13===a||5===a)return Ur;if(7===a)return Ur;if(1===i)return Ur;if(13===i&&14===a){for(;5===o;)o=t[--r];if(14===o)return Ur}if(15===i&&15===a){for(var s=0;15===o;)s++,o=t[--r];if(s%2==0)return Ur}return"÷"},Wr=function(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e),n=t.length,r=0,o=0,i=t.map(Fr);return{next:function(){if(r>=n)return{done:!0,value:null};for(var e=Ur;r<n&&(e=Hr(0,i,++r))===Ur;);if(e!==Ur||r===n){var a=Lr.apply(null,t.slice(o,r));return o=r,{value:a,done:!1}}return{done:!0,value:null}}}},Xr=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},jr=function(e,t,n,r,o){var i="http://www.w3.org/2000/svg",a=document.createElementNS(i,"svg"),s=document.createElementNS(i,"foreignObject");return a.setAttributeNS(null,"width",e.toString()),a.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",n.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(o),a},qr=function(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},Zr={get SUPPORT_RANGE_BOUNDS(){var e=function(e){if(e.createRange){var t=e.createRange();if(t.getBoundingClientRect){var n=e.createElement("boundtest");n.style.height="123px",n.style.display="block",e.body.appendChild(n),t.selectNode(n);var r=t.getBoundingClientRect(),o=Math.round(r.height);if(e.body.removeChild(n),123===o)return!0}}return!1}(document);return Object.defineProperty(Zr,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=Zr.SUPPORT_RANGE_BOUNDS&&function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var n=e.createRange();t.innerHTML="function"==typeof"".repeat?"&#128104;".repeat(10):"";var r=t.firstChild,o=l(r.data).map((function(e){return c(e)})),i=0,a={},s=o.every((function(e,t){n.setStart(r,i),n.setEnd(r,i+e.length);var o=n.getBoundingClientRect();i+=e.length;var s=o.x>a.x||o.y>a.y;return a=o,0===t||s}));return e.body.removeChild(t),s}(document);return Object.defineProperty(Zr,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=function(e){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),n.toDataURL()}catch(e){return!1}return!0}(document);return Object.defineProperty(Zr,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"==typeof Array.from&&"function"==typeof window.fetch?function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,n,n);var o=new Image,i=t.toDataURL();o.src=i;var a=jr(n,n,0,0,o);return r.fillStyle="red",r.fillRect(0,0,n,n),qr(a).then((function(t){r.drawImage(t,0,0);var o=r.getImageData(0,0,n,n).data;r.fillStyle="red",r.fillRect(0,0,n,n);var a=e.createElement("div");return a.style.backgroundImage="url("+i+")",a.style.height=n+"px",Xr(o)?qr(jr(n,n,0,0,a)):Promise.reject(!1)})).then((function(e){return r.drawImage(e,0,0),Xr(r.getImageData(0,0,n,n).data)})).catch((function(){return!1}))}(document):Promise.resolve(!1);return Object.defineProperty(Zr,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=void 0!==(new Image).crossOrigin;return Object.defineProperty(Zr,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(Zr,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Zr,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(Zr,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Yr=function(e,t){this.text=e,this.bounds=t},Gr=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var o=t.parentNode;if(o){o.replaceChild(r,t);var i=s(e,r);return r.firstChild&&o.replaceChild(r.firstChild,r),i}}return a.EMPTY},Kr=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var o=r.createRange();return o.setStart(e,t),o.setEnd(e,t+n),o},Jr=function(e){if(Zr.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map((function(e){return e.segment}))}return function(e){for(var t,n=Wr(e),r=[];!(t=n.next()).done;)t.value&&r.push(t.value.slice());return r}(e)},eo=function(e,t){return 0!==t.letterSpacing?Jr(e):function(e,t){if(Zr.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(e)).map((function(e){return e.segment}))}return no(e,t)}(e,t)},to=[32,160,4961,65792,65793,4153,4241],no=function(e,t){for(var n,r=function(e,t){var n=l(e),r=ie(n,t),o=r[0],i=r[1],a=r[2],s=n.length,c=0,u=0;return{next:function(){if(u>=s)return{done:!0,value:null};for(var e=X;u<s&&(e=oe(n,i,o,++u,a))===X;);if(e!==X||u===s){var t=new ae(n,e,c,u);return c=u,{value:t,done:!1}}return{done:!0,value:null}}}}(e,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),o=[],i=function(){if(n.value){var e=n.value.slice(),t=l(e),r="";t.forEach((function(e){-1===to.indexOf(e)?r+=c(e):(r.length&&o.push(r),o.push(c(e)),r="")})),r.length&&o.push(r)}};!(n=r.next()).done;)i();return o},ro=function(e,t,n){this.text=oo(t.data,n.textTransform),this.textBounds=function(e,t,n,r){var o=eo(t,n),i=[],s=0;return o.forEach((function(t){if(n.textDecorationLine.length||t.trim().length>0)if(Zr.SUPPORT_RANGE_BOUNDS){var o=Kr(r,s,t.length).getClientRects();if(o.length>1){var l=Jr(t),c=0;l.forEach((function(t){i.push(new Yr(t,a.fromDOMRectList(e,Kr(r,c+s,t.length).getClientRects()))),c+=t.length}))}else i.push(new Yr(t,a.fromDOMRectList(e,o)))}else{var u=r.splitText(t.length);i.push(new Yr(t,Gr(e,r))),r=u}else Zr.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));s+=t.length})),i}(e,this.text,n,t)},oo=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(io,ao);case 2:return e.toUpperCase();default:return e}},io=/(^|\s|:|-|\(|\))([a-z])/g,ao=function(e,t,n){return e.length>0?t+n.toUpperCase():e},so=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return t(n,e),n}(kr),lo=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return t(n,e),n}(kr),co=function(e){function n(t,n){var r=e.call(this,t,n)||this,o=new XMLSerializer,i=s(t,n);return n.setAttribute("width",i.width+"px"),n.setAttribute("height",i.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(o.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t(n,e),n}(kr),uo=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(kr),fo=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.start=n.start,r.reversed="boolean"==typeof n.reversed&&!0===n.reversed,r}return t(n,e),n}(kr),ho=[{type:15,flags:0,unit:"px",number:3}],po=[{type:16,flags:0,number:50}],mo="checkbox",go="radio",Ao="password",vo=707406591,yo=function(e){function n(t,n){var r,o,i,s=e.call(this,t,n)||this;switch(s.type=n.type.toLowerCase(),s.checked=n.checked,s.value=0===(i=(o=n).type===Ao?new Array(o.value.length+1).join("•"):o.value).length?o.placeholder||"":i,s.type!==mo&&s.type!==go||(s.styles.backgroundColor=3739148031,s.styles.borderTopColor=s.styles.borderRightColor=s.styles.borderBottomColor=s.styles.borderLeftColor=2779096575,s.styles.borderTopWidth=s.styles.borderRightWidth=s.styles.borderBottomWidth=s.styles.borderLeftWidth=1,s.styles.borderTopStyle=s.styles.borderRightStyle=s.styles.borderBottomStyle=s.styles.borderLeftStyle=1,s.styles.backgroundClip=[0],s.styles.backgroundOrigin=[0],s.bounds=(r=s.bounds).width>r.height?new a(r.left+(r.width-r.height)/2,r.top,r.height,r.height):r.width<r.height?new a(r.left,r.top+(r.height-r.width)/2,r.width,r.width):r),s.type){case mo:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=ho;break;case go:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=po}return s}return t(n,e),n}(kr),Oo=function(e){function n(t,n){var r=e.call(this,t,n)||this,o=n.options[n.selectedIndex||0];return r.value=o&&o.text||"",r}return t(n,e),n}(kr),bo=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(kr),wo=function(e){function n(t,n){var r=e.call(this,t,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=ko(t,n.contentWindow.document.documentElement);var o=n.contentWindow.document.documentElement?bt(t,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):wt.TRANSPARENT,i=n.contentWindow.document.body?bt(t,getComputedStyle(n.contentWindow.document.body).backgroundColor):wt.TRANSPARENT;r.backgroundColor=ht(o)?ht(i)?r.styles.backgroundColor:i:o}}catch(e){}return r}return t(n,e),n}(kr),_o=["OL","UL","MENU"],xo=function(e,t,n,r){for(var o=t.firstChild,i=void 0;o;o=i)if(i=o.nextSibling,Qo(o)&&o.data.trim().length>0)n.textNodes.push(new ro(e,o,n.styles));else if(To(o))if(Wo(o)&&o.assignedNodes)o.assignedNodes().forEach((function(t){return xo(e,t,n,r)}));else{var a=So(e,o);a.styles.isVisible()&&(Co(o,a,r)?a.flags|=4:Bo(a.styles)&&(a.flags|=2),-1!==_o.indexOf(o.tagName)&&(a.flags|=8),n.elements.push(a),o.slot,o.shadowRoot?xo(e,o.shadowRoot,a,r):Fo(o)||Ro(o)||Ho(o)||xo(e,o,a,r))}},So=function(e,t){return Lo(t)?new so(e,t):Io(t)?new lo(e,t):Ro(t)?new co(e,t):$o(t)?new uo(e,t):Mo(t)?new fo(e,t):zo(t)?new yo(e,t):Ho(t)?new Oo(e,t):Fo(t)?new bo(e,t):Vo(t)?new wo(e,t):new kr(e,t)},ko=function(e,t){var n=So(e,t);return n.flags|=4,xo(e,t,n,n),n},Co=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||Do(e)&&n.styles.isTransparent()},Bo=function(e){return e.isPositioned()||e.isFloating()},Qo=function(e){return e.nodeType===Node.TEXT_NODE},To=function(e){return e.nodeType===Node.ELEMENT_NODE},Eo=function(e){return To(e)&&void 0!==e.style&&!Po(e)},Po=function(e){return"object"==typeof e.className},$o=function(e){return"LI"===e.tagName},Mo=function(e){return"OL"===e.tagName},zo=function(e){return"INPUT"===e.tagName},Ro=function(e){return"svg"===e.tagName},Do=function(e){return"BODY"===e.tagName},Io=function(e){return"CANVAS"===e.tagName},No=function(e){return"VIDEO"===e.tagName},Lo=function(e){return"IMG"===e.tagName},Vo=function(e){return"IFRAME"===e.tagName},Uo=function(e){return"STYLE"===e.tagName},Fo=function(e){return"TEXTAREA"===e.tagName},Ho=function(e){return"SELECT"===e.tagName},Wo=function(e){return"SLOT"===e.tagName},Xo=function(e){return e.tagName.indexOf("-")>0},jo=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){return this.counters[e]||[]},e.prototype.pop=function(e){var t=this;e.forEach((function(e){return t.counters[e].pop()}))},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,r=e.counterReset,o=!0;null!==n&&n.forEach((function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(o=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)}));var i=[];return o&&r.forEach((function(e){var n=t.counters[e.counter];i.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)})),i},e}(),qo={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Zo={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Yo={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Go={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Ko=function(e,t,n,r,o,i){return e<t||e>n?si(e,o,i.length>0):r.integers.reduce((function(t,n,o){for(;e>=n;)e-=n,t+=r.values[o];return t}),"")+i},Jo=function(e,t,n,r){var o="";do{n||e--,o=r(e)+o,e/=t}while(e*t>=t);return o},ei=function(e,t,n,r,o){var i=n-t+1;return(e<0?"-":"")+(Jo(Math.abs(e),i,r,(function(e){return c(Math.floor(e%i)+t)}))+o)},ti=function(e,t,n){void 0===n&&(n=". ");var r=t.length;return Jo(Math.abs(e),r,!1,(function(e){return t[Math.floor(e%r)]}))+n},ni=function(e,t,n,r,o,i){if(e<-9999||e>9999)return si(e,4,o.length>0);var a=Math.abs(e),s=o;if(0===a)return t[0]+s;for(var l=0;a>0&&l<=4;l++){var c=a%10;0===c&&ur(i,1)&&""!==s?s=t[c]+s:c>1||1===c&&0===l||1===c&&1===l&&ur(i,2)||1===c&&1===l&&ur(i,4)&&e>100||1===c&&l>1&&ur(i,8)?s=t[c]+(l>0?n[l-1]:"")+s:1===c&&l>0&&(s=n[l-1]+s),a=Math.floor(a/10)}return(e<0?r:"")+s},ri="十百千萬",oi="拾佰仟萬",ii="マイナス",ai="마이너스",si=function(e,t,n){var r=n?". ":"",o=n?"、":"",i=n?", ":"",a=n?" ":"";switch(t){case 0:return"•"+a;case 1:return"◦"+a;case 2:return"◾"+a;case 5:var s=ei(e,48,57,!0,r);return s.length<4?"0"+s:s;case 4:return ti(e,"〇一二三四五六七八九",o);case 6:return Ko(e,1,3999,qo,3,r).toLowerCase();case 7:return Ko(e,1,3999,qo,3,r);case 8:return ei(e,945,969,!1,r);case 9:return ei(e,97,122,!1,r);case 10:return ei(e,65,90,!1,r);case 11:return ei(e,1632,1641,!0,r);case 12:case 49:return Ko(e,1,9999,Zo,3,r);case 35:return Ko(e,1,9999,Zo,3,r).toLowerCase();case 13:return ei(e,2534,2543,!0,r);case 14:case 30:return ei(e,6112,6121,!0,r);case 15:return ti(e,"子丑寅卯辰巳午未申酉戌亥",o);case 16:return ti(e,"甲乙丙丁戊己庚辛壬癸",o);case 17:case 48:return ni(e,"零一二三四五六七八九",ri,"負",o,14);case 47:return ni(e,"零壹貳參肆伍陸柒捌玖",oi,"負",o,15);case 42:return ni(e,"零一二三四五六七八九",ri,"负",o,14);case 41:return ni(e,"零壹贰叁肆伍陆柒捌玖",oi,"负",o,15);case 26:return ni(e,"〇一二三四五六七八九","十百千万",ii,o,0);case 25:return ni(e,"零壱弐参四伍六七八九","拾百千万",ii,o,7);case 31:return ni(e,"영일이삼사오육칠팔구","십백천만",ai,i,7);case 33:return ni(e,"零一二三四五六七八九","十百千萬",ai,i,0);case 32:return ni(e,"零壹貳參四五六七八九","拾百千",ai,i,7);case 18:return ei(e,2406,2415,!0,r);case 20:return Ko(e,1,19999,Go,3,r);case 21:return ei(e,2790,2799,!0,r);case 22:return ei(e,2662,2671,!0,r);case 22:return Ko(e,1,10999,Yo,3,r);case 23:return ti(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ti(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return ei(e,3302,3311,!0,r);case 28:return ti(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",o);case 29:return ti(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",o);case 34:return ei(e,3792,3801,!0,r);case 37:return ei(e,6160,6169,!0,r);case 38:return ei(e,4160,4169,!0,r);case 39:return ei(e,2918,2927,!0,r);case 40:return ei(e,1776,1785,!0,r);case 43:return ei(e,3046,3055,!0,r);case 44:return ei(e,3174,3183,!0,r);case 45:return ei(e,3664,3673,!0,r);case 46:return ei(e,3872,3881,!0,r);default:return ei(e,48,57,!0,r)}},li="data-html2canvas-ignore",ci=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new jo,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,i=di(e,t);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,l=i.contentWindow,c=l.document,u=pi(i).then((function(){return r(n,void 0,void 0,(function(){var e,n;return o(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(yi),l&&(l.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||l.scrollY===t.top&&l.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(l.scrollX-t.left,l.scrollY-t.top,0,0))),e=this.options.onclone,void 0===(n=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,hi(c)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"==typeof e?[2,Promise.resolve().then((function(){return e(c,n)})).then((function(){return i}))]:[2,i]}}))}))}));return c.open(),c.write(Ai(document.doctype)+"<html></html>"),vi(this.referenceElement.ownerDocument,a,s),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),u},e.prototype.createElementClone=function(e){if(Sr(e,2),Io(e))return this.createCanvasClone(e);if(No(e))return this.createVideoClone(e);if(Uo(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return Lo(t)&&(Lo(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),Xo(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return gi(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"==typeof t.cssText?e+t.cssText:e}),""),r=e.cloneNode(!1);return r.textContent=n,r}}catch(e){if(this.context.logger.error("Unable to access cssRules property",e),"SecurityError"!==e.name)throw e}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch(t){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var o=e.getContext("2d"),i=r.getContext("2d");if(i)if(!this.options.allowTaint&&o)i.putImageData(o.getImageData(0,0,e.width,e.height),0,0);else{var a=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(a){var s=a.getContextAttributes();!1===(null==s?void 0:s.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}i.drawImage(e,0,0)}return r}catch(t){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext("2d");try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info("Unable to clone video as it is tainted",e)}var r=e.ownerDocument.createElement("canvas");return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,n){To(t)&&("SCRIPT"===t.tagName||t.hasAttribute(li)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&To(t)&&Uo(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var r=this,o=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;o;o=o.nextSibling)if(To(o)&&Wo(o)&&"function"==typeof o.assignedNodes){var i=o.assignedNodes();i.length&&i.forEach((function(e){return r.appendChildNode(t,e,n)}))}else this.appendChildNode(t,o,n)},e.prototype.cloneNode=function(e,t){if(Qo(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&To(e)&&(Eo(e)||Po(e))){var r=this.createElementClone(e);r.style.transitionProperty="none";var o=n.getComputedStyle(e),i=n.getComputedStyle(e,":before"),a=n.getComputedStyle(e,":after");this.referenceElement===e&&Eo(r)&&(this.clonedReferenceElement=r),Do(r)&&_i(r);var s=this.counters.parse(new _r(this.context,o)),l=this.resolvePseudoContent(e,r,i,zr.BEFORE);Xo(e)&&(t=!0),No(e)||this.cloneChildNodes(e,r,t),l&&r.insertBefore(l,r.firstChild);var c=this.resolvePseudoContent(e,r,a,zr.AFTER);return c&&r.appendChild(c),this.counters.pop(s),(o&&(this.options.copyStyles||Po(e))&&!Vo(e)||t)&&gi(o,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(Fo(e)||Ho(e))&&(Fo(r)||Ho(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var o=this;if(n){var i=n.content,a=t.ownerDocument;if(a&&i&&"none"!==i&&"-moz-alt-content"!==i&&"none"!==n.display){this.counters.parse(new _r(this.context,n));var s=new wr(this.context,n),l=a.createElement("html2canvaspseudoelement");gi(n,l),s.content.forEach((function(t){if(0===t.type)l.appendChild(a.createTextNode(t.value));else if(22===t.type){var n=a.createElement("img");n.src=t.value,n.style.opacity="1",l.appendChild(n)}else if(18===t.type){if("attr"===t.name){var r=t.values.filter(We);r.length&&l.appendChild(a.createTextNode(e.getAttribute(r[0].value)||""))}else if("counter"===t.name){var i=t.values.filter(Ze),c=i[0],u=i[1];if(c&&We(c)){var d=o.counters.getCounterValue(c.value),f=u&&We(u)?Tn.parse(o.context,u.value):3;l.appendChild(a.createTextNode(si(d,f,!1)))}}else if("counters"===t.name){var h=t.values.filter(Ze),p=(c=h[0],h[1]);if(u=h[2],c&&We(c)){var m=o.counters.getCounterValues(c.value),g=u&&We(u)?Tn.parse(o.context,u.value):3,A=p&&0===p.type?p.value:"",v=m.map((function(e){return si(e,g,!1)})).join(A);l.appendChild(a.createTextNode(v))}}}else if(20===t.type)switch(t.value){case"open-quote":l.appendChild(a.createTextNode(gr(s.quotes,o.quoteDepth++,!0)));break;case"close-quote":l.appendChild(a.createTextNode(gr(s.quotes,--o.quoteDepth,!1)));break;default:l.appendChild(a.createTextNode(t.value))}})),l.className=Oi+" "+bi;var c=r===zr.BEFORE?" "+Oi:" "+bi;return Po(t)?t.className.baseValue+=c:t.className+=c,l}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"}(zr||(zr={}));var ui,di=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute(li,"true"),e.body.appendChild(n),n},fi=function(e){return new Promise((function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()}))},hi=function(e){return Promise.all([].slice.call(e.images,0).map(fi))},pi=function(e){return new Promise((function(t,n){var r=e.contentWindow;if(!r)return n("No window assigned for iframe");var o=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval((function(){o.body.childNodes.length>0&&"complete"===o.readyState&&(clearInterval(n),t(e))}),50)}}))},mi=["all","d","content"],gi=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);-1===mi.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}return t},Ai=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},vi=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},yi=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},Oi="___html2canvas___pseudoelement_before",bi="___html2canvas___pseudoelement_after",wi='{\n content: "" !important;\n display: none !important;\n}',_i=function(e){xi(e,"."+Oi+":before"+wi+"\n ."+bi+":after"+wi)},xi=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement("style");r.textContent=t,e.appendChild(r)}},Si=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),ki=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:$i(e)||Ti(e)?((this._cache[e]=this.loadImage(e)).catch((function(){})),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return r(this,void 0,void 0,(function(){var t,n,r,i,a=this;return o(this,(function(o){switch(o.label){case 0:return t=Si.isSameOrigin(e),n=!Ei(e)&&!0===this._options.useCORS&&Zr.SUPPORT_CORS_IMAGES&&!t,r=!Ei(e)&&!t&&!$i(e)&&"string"==typeof this._options.proxy&&Zr.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||Ei(e)||$i(e)||r||n?(i=e,r?[4,this.proxy(i)]:[3,2]):[2];case 1:i=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise((function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(Pi(i)||n)&&(r.crossOrigin="anonymous"),r.src=i,!0===r.complete&&setTimeout((function(){return e(r)}),500),a._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+a._options.imageTimeout+"ms) loading image")}),a._options.imageTimeout)}))];case 3:return[2,o.sent()]}}))}))},e.prototype.has=function(e){return void 0!==this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=e.substring(0,256);return new Promise((function(o,i){var a=Zr.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(200===s.status)if("text"===a)o(s.response);else{var e=new FileReader;e.addEventListener("load",(function(){return o(e.result)}),!1),e.addEventListener("error",(function(e){return i(e)}),!1),e.readAsDataURL(s.response)}else i("Failed to proxy resource "+r+" with status code "+s.status)},s.onerror=i;var l=n.indexOf("?")>-1?"&":"?";if(s.open("GET",""+n+l+"url="+encodeURIComponent(e)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),t._options.imageTimeout){var c=t._options.imageTimeout;s.timeout=c,s.ontimeout=function(){return i("Timed out ("+c+"ms) proxying "+r)}}s.send()}))},e}(),Ci=/^data:image\/svg\+xml/i,Bi=/^data:image\/.*;base64,/i,Qi=/^data:image\/.*/i,Ti=function(e){return Zr.SUPPORT_SVG_DRAWING||!Mi(e)},Ei=function(e){return Qi.test(e)},Pi=function(e){return Bi.test(e)},$i=function(e){return"blob"===e.substr(0,4)},Mi=function(e){return"svg"===e.substr(-3).toLowerCase()||Ci.test(e)},zi=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),Ri=function(e,t,n){return new zi(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},Di=function(){function e(e,t,n,r){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=Ri(this.start,this.startControl,t),o=Ri(this.startControl,this.endControl,t),i=Ri(this.endControl,this.end,t),a=Ri(r,o,t),s=Ri(o,i,t),l=Ri(a,s,t);return n?new e(this.start,r,a,l):new e(l,s,i,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Ii=function(e){return 1===e.type},Ni=function(e){var t=e.styles,n=e.bounds,r=ot(t.borderTopLeftRadius,n.width,n.height),o=r[0],i=r[1],a=ot(t.borderTopRightRadius,n.width,n.height),s=a[0],l=a[1],c=ot(t.borderBottomRightRadius,n.width,n.height),u=c[0],d=c[1],f=ot(t.borderBottomLeftRadius,n.width,n.height),h=f[0],p=f[1],m=[];m.push((o+s)/n.width),m.push((h+u)/n.width),m.push((i+p)/n.height),m.push((l+d)/n.height);var g=Math.max.apply(Math,m);g>1&&(o/=g,i/=g,s/=g,l/=g,u/=g,d/=g,h/=g,p/=g);var A=n.width-s,v=n.height-d,y=n.width-u,O=n.height-p,b=t.borderTopWidth,w=t.borderRightWidth,_=t.borderBottomWidth,x=t.borderLeftWidth,S=it(t.paddingTop,e.bounds.width),k=it(t.paddingRight,e.bounds.width),C=it(t.paddingBottom,e.bounds.width),B=it(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=o>0||i>0?Li(n.left+x/3,n.top+b/3,o-x/3,i-b/3,ui.TOP_LEFT):new zi(n.left+x/3,n.top+b/3),this.topRightBorderDoubleOuterBox=o>0||i>0?Li(n.left+A,n.top+b/3,s-w/3,l-b/3,ui.TOP_RIGHT):new zi(n.left+n.width-w/3,n.top+b/3),this.bottomRightBorderDoubleOuterBox=u>0||d>0?Li(n.left+y,n.top+v,u-w/3,d-_/3,ui.BOTTOM_RIGHT):new zi(n.left+n.width-w/3,n.top+n.height-_/3),this.bottomLeftBorderDoubleOuterBox=h>0||p>0?Li(n.left+x/3,n.top+O,h-x/3,p-_/3,ui.BOTTOM_LEFT):new zi(n.left+x/3,n.top+n.height-_/3),this.topLeftBorderDoubleInnerBox=o>0||i>0?Li(n.left+2*x/3,n.top+2*b/3,o-2*x/3,i-2*b/3,ui.TOP_LEFT):new zi(n.left+2*x/3,n.top+2*b/3),this.topRightBorderDoubleInnerBox=o>0||i>0?Li(n.left+A,n.top+2*b/3,s-2*w/3,l-2*b/3,ui.TOP_RIGHT):new zi(n.left+n.width-2*w/3,n.top+2*b/3),this.bottomRightBorderDoubleInnerBox=u>0||d>0?Li(n.left+y,n.top+v,u-2*w/3,d-2*_/3,ui.BOTTOM_RIGHT):new zi(n.left+n.width-2*w/3,n.top+n.height-2*_/3),this.bottomLeftBorderDoubleInnerBox=h>0||p>0?Li(n.left+2*x/3,n.top+O,h-2*x/3,p-2*_/3,ui.BOTTOM_LEFT):new zi(n.left+2*x/3,n.top+n.height-2*_/3),this.topLeftBorderStroke=o>0||i>0?Li(n.left+x/2,n.top+b/2,o-x/2,i-b/2,ui.TOP_LEFT):new zi(n.left+x/2,n.top+b/2),this.topRightBorderStroke=o>0||i>0?Li(n.left+A,n.top+b/2,s-w/2,l-b/2,ui.TOP_RIGHT):new zi(n.left+n.width-w/2,n.top+b/2),this.bottomRightBorderStroke=u>0||d>0?Li(n.left+y,n.top+v,u-w/2,d-_/2,ui.BOTTOM_RIGHT):new zi(n.left+n.width-w/2,n.top+n.height-_/2),this.bottomLeftBorderStroke=h>0||p>0?Li(n.left+x/2,n.top+O,h-x/2,p-_/2,ui.BOTTOM_LEFT):new zi(n.left+x/2,n.top+n.height-_/2),this.topLeftBorderBox=o>0||i>0?Li(n.left,n.top,o,i,ui.TOP_LEFT):new zi(n.left,n.top),this.topRightBorderBox=s>0||l>0?Li(n.left+A,n.top,s,l,ui.TOP_RIGHT):new zi(n.left+n.width,n.top),this.bottomRightBorderBox=u>0||d>0?Li(n.left+y,n.top+v,u,d,ui.BOTTOM_RIGHT):new zi(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=h>0||p>0?Li(n.left,n.top+O,h,p,ui.BOTTOM_LEFT):new zi(n.left,n.top+n.height),this.topLeftPaddingBox=o>0||i>0?Li(n.left+x,n.top+b,Math.max(0,o-x),Math.max(0,i-b),ui.TOP_LEFT):new zi(n.left+x,n.top+b),this.topRightPaddingBox=s>0||l>0?Li(n.left+Math.min(A,n.width-w),n.top+b,A>n.width+w?0:Math.max(0,s-w),Math.max(0,l-b),ui.TOP_RIGHT):new zi(n.left+n.width-w,n.top+b),this.bottomRightPaddingBox=u>0||d>0?Li(n.left+Math.min(y,n.width-x),n.top+Math.min(v,n.height-_),Math.max(0,u-w),Math.max(0,d-_),ui.BOTTOM_RIGHT):new zi(n.left+n.width-w,n.top+n.height-_),this.bottomLeftPaddingBox=h>0||p>0?Li(n.left+x,n.top+Math.min(O,n.height-_),Math.max(0,h-x),Math.max(0,p-_),ui.BOTTOM_LEFT):new zi(n.left+x,n.top+n.height-_),this.topLeftContentBox=o>0||i>0?Li(n.left+x+B,n.top+b+S,Math.max(0,o-(x+B)),Math.max(0,i-(b+S)),ui.TOP_LEFT):new zi(n.left+x+B,n.top+b+S),this.topRightContentBox=s>0||l>0?Li(n.left+Math.min(A,n.width+x+B),n.top+b+S,A>n.width+x+B?0:s-x+B,l-(b+S),ui.TOP_RIGHT):new zi(n.left+n.width-(w+k),n.top+b+S),this.bottomRightContentBox=u>0||d>0?Li(n.left+Math.min(y,n.width-(x+B)),n.top+Math.min(v,n.height+b+S),Math.max(0,u-(w+k)),d-(_+C),ui.BOTTOM_RIGHT):new zi(n.left+n.width-(w+k),n.top+n.height-(_+C)),this.bottomLeftContentBox=h>0||p>0?Li(n.left+x+B,n.top+O,Math.max(0,h-(x+B)),p-(_+C),ui.BOTTOM_LEFT):new zi(n.left+x+B,n.top+n.height-(_+C))};!function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(ui||(ui={}));var Li=function(e,t,n,r,o){var i=(Math.sqrt(2)-1)/3*4,a=n*i,s=r*i,l=e+n,c=t+r;switch(o){case ui.TOP_LEFT:return new Di(new zi(e,c),new zi(e,c-s),new zi(l-a,t),new zi(l,t));case ui.TOP_RIGHT:return new Di(new zi(e,t),new zi(e+a,t),new zi(l,c-s),new zi(l,c));case ui.BOTTOM_RIGHT:return new Di(new zi(l,t),new zi(l,t+s),new zi(e+a,c),new zi(e,c));case ui.BOTTOM_LEFT:default:return new Di(new zi(l,c),new zi(l-a,c),new zi(e,t+s),new zi(e,t))}},Vi=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Ui=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},Fi=function(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6},Hi=function(e,t){this.path=e,this.target=t,this.type=1},Wi=function(e){this.opacity=e,this.type=2,this.target=6},Xi=function(e){return 1===e.type},ji=function(e,t){return e.length===t.length&&e.some((function(e,n){return e===t[n]}))},qi=function(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},Zi=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new Ni(this.container),this.container.styles.opacity<1&&this.effects.push(new Wi(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,o=this.container.styles.transform;this.effects.push(new Fi(n,r,o))}if(0!==this.container.styles.overflowX){var i=Vi(this.curves),a=Ui(this.curves);ji(i,a)?this.effects.push(new Hi(i,6)):(this.effects.push(new Hi(i,2)),this.effects.push(new Hi(a,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);n;){var o=n.effects.filter((function(e){return!Xi(e)}));if(t||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,o),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var i=Vi(n.curves),a=Ui(n.curves);ji(i,a)||r.unshift(new Hi(a,6))}}else r.unshift.apply(r,o);n=n.parent}return r.filter((function(t){return ur(t.target,e)}))},e}(),Yi=function(e,t,n,r){e.container.elements.forEach((function(o){var i=ur(o.flags,4),a=ur(o.flags,2),s=new Zi(o,e);ur(o.styles.display,2048)&&r.push(s);var l=ur(o.flags,8)?[]:r;if(i||a){var c=i||o.styles.isPositioned()?n:t,u=new qi(s);if(o.styles.isPositioned()||o.styles.opacity<1||o.styles.isTransformed()){var d=o.styles.zIndex.order;if(d<0){var f=0;c.negativeZIndex.some((function(e,t){return d>e.element.container.styles.zIndex.order?(f=t,!1):f>0})),c.negativeZIndex.splice(f,0,u)}else if(d>0){var h=0;c.positiveZIndex.some((function(e,t){return d>=e.element.container.styles.zIndex.order?(h=t+1,!1):h>0})),c.positiveZIndex.splice(h,0,u)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else o.styles.isFloating()?c.nonPositionedFloats.push(u):c.nonPositionedInlineLevel.push(u);Yi(s,u,i?u:n,l)}else o.styles.isInlineLevel()?t.inlineLevel.push(s):t.nonInlineLevel.push(s),Yi(s,t,n,l);ur(o.flags,8)&&Gi(o,l)}))},Gi=function(e,t){for(var n=e instanceof fo?e.start:1,r=e instanceof fo&&e.reversed,o=0;o<t.length;o++){var i=t[o];i.container instanceof uo&&"number"==typeof i.container.value&&0!==i.container.value&&(n=i.container.value),i.listValue=si(n,i.container.styles.listStyleType,!0),n+=r?-1:1}},Ki=function(e,t){switch(t){case 0:return ea(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return ea(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return ea(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return ea(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Ji=function(e,t){var n=[];return Ii(e)?n.push(e.subdivide(.5,!1)):n.push(e),Ii(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},ea=function(e,t,n,r){var o=[];return Ii(e)?o.push(e.subdivide(.5,!1)):o.push(e),Ii(n)?o.push(n.subdivide(.5,!0)):o.push(n),Ii(r)?o.push(r.subdivide(.5,!0).reverse()):o.push(r),Ii(t)?o.push(t.subdivide(.5,!1).reverse()):o.push(t),o},ta=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},na=function(e){var t=e.styles,n=e.bounds,r=it(t.paddingLeft,n.width),o=it(t.paddingRight,n.width),i=it(t.paddingTop,n.width),a=it(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,i+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+o),-(t.borderTopWidth+t.borderBottomWidth+i+a))},ra=function(e,t,n){var r=function(e,t){return 0===e?t.bounds:2===e?na(t):ta(t)}(sa(e.styles.backgroundOrigin,t),e),o=function(e,t){return 0===e?t.bounds:2===e?na(t):ta(t)}(sa(e.styles.backgroundClip,t),e),i=aa(sa(e.styles.backgroundSize,t),n,r),a=i[0],s=i[1],l=ot(sa(e.styles.backgroundPosition,t),r.width-a,r.height-s);return[la(sa(e.styles.backgroundRepeat,t),l,i,r,o),Math.round(r.left+l[0]),Math.round(r.top+l[1]),a,s]},oa=function(e){return We(e)&&e.value===Vt.AUTO},ia=function(e){return"number"==typeof e},aa=function(e,t,n){var r=t[0],o=t[1],i=t[2],a=e[0],s=e[1];if(!a)return[0,0];if(Je(a)&&s&&Je(s))return[it(a,n.width),it(s,n.height)];var l=ia(i);if(We(a)&&(a.value===Vt.CONTAIN||a.value===Vt.COVER))return ia(i)?n.width/n.height<i!=(a.value===Vt.COVER)?[n.width,n.width/i]:[n.height*i,n.height]:[n.width,n.height];var c=ia(r),u=ia(o),d=c||u;if(oa(a)&&(!s||oa(s)))return c&&u?[r,o]:l||d?d&&l?[c?r:o*i,u?o:r/i]:[c?r:n.width,u?o:n.height]:[n.width,n.height];if(l){var f=0,h=0;return Je(a)?f=it(a,n.width):Je(s)&&(h=it(s,n.height)),oa(a)?f=h*i:s&&!oa(s)||(h=f/i),[f,h]}var p=null,m=null;if(Je(a)?p=it(a,n.width):s&&Je(s)&&(m=it(s,n.height)),null===p||s&&!oa(s)||(m=c&&u?p/r*o:n.height),null!==m&&oa(a)&&(p=c&&u?m/o*r:n.width),null!==p&&null!==m)return[p,m];throw new Error("Unable to calculate background-size for element")},sa=function(e,t){var n=e[t];return void 0===n?e[0]:n},la=function(e,t,n,r,o){var i=t[0],a=t[1],s=n[0],l=n[1];switch(e){case 2:return[new zi(Math.round(r.left),Math.round(r.top+a)),new zi(Math.round(r.left+r.width),Math.round(r.top+a)),new zi(Math.round(r.left+r.width),Math.round(l+r.top+a)),new zi(Math.round(r.left),Math.round(l+r.top+a))];case 3:return[new zi(Math.round(r.left+i),Math.round(r.top)),new zi(Math.round(r.left+i+s),Math.round(r.top)),new zi(Math.round(r.left+i+s),Math.round(r.height+r.top)),new zi(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new zi(Math.round(r.left+i),Math.round(r.top+a)),new zi(Math.round(r.left+i+s),Math.round(r.top+a)),new zi(Math.round(r.left+i+s),Math.round(r.top+a+l)),new zi(Math.round(r.left+i),Math.round(r.top+a+l))];default:return[new zi(Math.round(o.left),Math.round(o.top)),new zi(Math.round(o.left+o.width),Math.round(o.top)),new zi(Math.round(o.left+o.width),Math.round(o.height+o.top)),new zi(Math.round(o.left),Math.round(o.height+o.top))]}},ca="Hidden Text",ua=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement("div"),r=this._document.createElement("img"),o=this._document.createElement("span"),i=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",i.appendChild(n),r.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",o.style.fontFamily=e,o.style.fontSize=t,o.style.margin="0",o.style.padding="0",o.appendChild(this._document.createTextNode(ca)),n.appendChild(o),n.appendChild(r);var a=r.offsetTop-o.offsetTop+2;n.removeChild(o),n.appendChild(this._document.createTextNode(ca)),n.style.lineHeight="normal",r.style.verticalAlign="super";var s=r.offsetTop-n.offsetTop+2;return i.removeChild(n),{baseline:a,middle:s}},e.prototype.getMetrics=function(e,t){var n=e+" "+t;return void 0===this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),da=function(e,t){this.context=e,this.options=t},fa=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px"),r.fontMetrics=new ua(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),r}return t(n,e),n.prototype.applyEffects=function(e){for(var t=this;this._activeEffects.length;)this.popEffect();e.forEach((function(e){return t.applyEffect(e)}))},n.prototype.applyEffect=function(e){this.ctx.save(),function(e){return 2===e.type}(e)&&(this.ctx.globalAlpha=e.opacity),function(e){return 0===e.type}(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),Xi(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(e){return r(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return e.element.container.styles.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},n.prototype.renderNode=function(e){return r(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return ur(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},n.prototype.renderTextWithLetterSpacing=function(e,t,n){var r=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n):Jr(e.text).reduce((function(t,o){return r.ctx.fillText(o,t,e.bounds.top+n),t+r.ctx.measureText(o).width}),e.bounds.left)},n.prototype.createFontStyle=function(e){var t=e.fontVariant.filter((function(e){return"normal"===e||"small-caps"===e})).join(""),n=Aa(e.fontFamily).join(", "),r=Fe(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,r,n].join(" "),n,r]},n.prototype.renderTextNode=function(e,t){return r(this,void 0,void 0,(function(){var n,r,i,a,s,l,c,u,d=this;return o(this,(function(o){return n=this.createFontStyle(t),r=n[0],i=n[1],a=n[2],this.ctx.font=r,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(i,a),l=s.baseline,c=s.middle,u=t.paintOrder,e.textBounds.forEach((function(e){u.forEach((function(n){switch(n){case 0:d.ctx.fillStyle=pt(t.color),d.renderTextWithLetterSpacing(e,t.letterSpacing,l);var r=t.textShadow;r.length&&e.text.trim().length&&(r.slice(0).reverse().forEach((function(n){d.ctx.shadowColor=pt(n.color),d.ctx.shadowOffsetX=n.offsetX.number*d.options.scale,d.ctx.shadowOffsetY=n.offsetY.number*d.options.scale,d.ctx.shadowBlur=n.blur.number,d.renderTextWithLetterSpacing(e,t.letterSpacing,l)})),d.ctx.shadowColor="",d.ctx.shadowOffsetX=0,d.ctx.shadowOffsetY=0,d.ctx.shadowBlur=0),t.textDecorationLine.length&&(d.ctx.fillStyle=pt(t.textDecorationColor||t.color),t.textDecorationLine.forEach((function(t){switch(t){case 1:d.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+l),e.bounds.width,1);break;case 2:d.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:d.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+c),e.bounds.width,1)}})));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(d.ctx.strokeStyle=pt(t.webkitTextStrokeColor),d.ctx.lineWidth=t.webkitTextStrokeWidth,d.ctx.lineJoin=window.chrome?"miter":"round",d.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+l)),d.ctx.strokeStyle="",d.ctx.lineWidth=0,d.ctx.lineJoin="miter"}}))})),[2]}))}))},n.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=na(e),o=Ui(t);this.path(o),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(e){return r(this,void 0,void 0,(function(){var t,r,i,s,l,c,u,d,f,h,p,m,g,A,v,y,O,b;return o(this,(function(o){switch(o.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,r=e.curves,i=t.styles,s=0,l=t.textNodes,o.label=1;case 1:return s<l.length?(c=l[s],[4,this.renderTextNode(c,i)]):[3,4];case 2:o.sent(),o.label=3;case 3:return s++,[3,1];case 4:if(!(t instanceof so))return[3,8];o.label=5;case 5:return o.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return v=o.sent(),this.renderReplacedElement(t,r,v),[3,8];case 7:return o.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof lo&&this.renderReplacedElement(t,r,t.canvas),!(t instanceof co))return[3,12];o.label=9;case 9:return o.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return v=o.sent(),this.renderReplacedElement(t,r,v),[3,12];case 11:return o.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof wo&&t.tree?[4,new n(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}).render(t.tree)]:[3,14];case 13:u=o.sent(),t.width&&t.height&&this.ctx.drawImage(u,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),o.label=14;case 14:if(t instanceof yo&&(d=Math.min(t.bounds.width,t.bounds.height),t.type===mo?t.checked&&(this.ctx.save(),this.path([new zi(t.bounds.left+.39363*d,t.bounds.top+.79*d),new zi(t.bounds.left+.16*d,t.bounds.top+.5549*d),new zi(t.bounds.left+.27347*d,t.bounds.top+.44071*d),new zi(t.bounds.left+.39694*d,t.bounds.top+.5649*d),new zi(t.bounds.left+.72983*d,t.bounds.top+.23*d),new zi(t.bounds.left+.84*d,t.bounds.top+.34085*d),new zi(t.bounds.left+.39363*d,t.bounds.top+.79*d)]),this.ctx.fillStyle=pt(vo),this.ctx.fill(),this.ctx.restore()):t.type===go&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+d/2,t.bounds.top+d/2,d/4,0,2*Math.PI,!0),this.ctx.fillStyle=pt(vo),this.ctx.fill(),this.ctx.restore())),ha(t)&&t.value.length){switch(f=this.createFontStyle(i),O=f[0],h=f[1],p=this.fontMetrics.getMetrics(O,h).baseline,this.ctx.font=O,this.ctx.fillStyle=pt(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=ma(t.styles.textAlign),b=na(t),m=0,t.styles.textAlign){case 1:m+=b.width/2;break;case 2:m+=b.width}g=b.add(m,0,0,-b.height/2+1),this.ctx.save(),this.path([new zi(b.left,b.top),new zi(b.left+b.width,b.top),new zi(b.left+b.width,b.top+b.height),new zi(b.left,b.top+b.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Yr(t.value,g),i.letterSpacing,p),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!ur(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(0!==(A=t.styles.listStyleImage).type)return[3,18];v=void 0,y=A.url,o.label=15;case 15:return o.trys.push([15,17,,18]),[4,this.context.cache.match(y)];case 16:return v=o.sent(),this.ctx.drawImage(v,t.bounds.left-(v.width+10),t.bounds.top),[3,18];case 17:return o.sent(),this.context.logger.error("Error loading list-style-image "+y),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==t.styles.listStyleType&&(O=this.createFontStyle(i)[0],this.ctx.font=O,this.ctx.fillStyle=pt(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",b=new a(t.bounds.left,t.bounds.top+it(t.styles.paddingTop,t.bounds.width),t.bounds.width,Cn(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Yr(e.listValue,b),i.letterSpacing,Cn(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),o.label=20;case 20:return[2]}}))}))},n.prototype.renderStackContent=function(e){return r(this,void 0,void 0,(function(){var t,n,r,i,a,s,l,c,u,d,f,h,p,m,g;return o(this,(function(o){switch(o.label){case 0:return ur(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:o.sent(),t=0,n=e.negativeZIndex,o.label=2;case 2:return t<n.length?(g=n[t],[4,this.renderStack(g)]):[3,5];case 3:o.sent(),o.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:o.sent(),r=0,i=e.nonInlineLevel,o.label=7;case 7:return r<i.length?(g=i[r],[4,this.renderNode(g)]):[3,10];case 8:o.sent(),o.label=9;case 9:return r++,[3,7];case 10:a=0,s=e.nonPositionedFloats,o.label=11;case 11:return a<s.length?(g=s[a],[4,this.renderStack(g)]):[3,14];case 12:o.sent(),o.label=13;case 13:return a++,[3,11];case 14:l=0,c=e.nonPositionedInlineLevel,o.label=15;case 15:return l<c.length?(g=c[l],[4,this.renderStack(g)]):[3,18];case 16:o.sent(),o.label=17;case 17:return l++,[3,15];case 18:u=0,d=e.inlineLevel,o.label=19;case 19:return u<d.length?(g=d[u],[4,this.renderNode(g)]):[3,22];case 20:o.sent(),o.label=21;case 21:return u++,[3,19];case 22:f=0,h=e.zeroOrAutoZIndexOrTransformedOrOpacity,o.label=23;case 23:return f<h.length?(g=h[f],[4,this.renderStack(g)]):[3,26];case 24:o.sent(),o.label=25;case 25:return f++,[3,23];case 26:p=0,m=e.positiveZIndex,o.label=27;case 27:return p<m.length?(g=m[p],[4,this.renderStack(g)]):[3,30];case 28:o.sent(),o.label=29;case 29:return p++,[3,27];case 30:return[2]}}))}))},n.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},n.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},n.prototype.formatPath=function(e){var t=this;e.forEach((function(e,n){var r=Ii(e)?e.start:e;0===n?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),Ii(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)}))},n.prototype.renderRepeat=function(e,t,n,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},n.prototype.resizeImage=function(e,t,n){var r;if(e.width===t&&e.height===n)return e;var o=(null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document).createElement("canvas");return o.width=Math.max(1,t),o.height=Math.max(1,n),o.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,t,n),o},n.prototype.renderBackgroundImage=function(e){return r(this,void 0,void 0,(function(){var t,n,r,i,a,s;return o(this,(function(l){switch(l.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var i,a,s,l,c,u,d,f,h,p,m,g,A,v,y,O,b,w,_,x,S,k,C,B,Q,T,E,P,$,M,z;return o(this,(function(o){switch(o.label){case 0:if(0!==n.type)return[3,5];i=void 0,a=n.url,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,r.context.cache.match(a)];case 2:return i=o.sent(),[3,4];case 3:return o.sent(),r.context.logger.error("Error loading background-image "+a),[3,4];case 4:return i&&(s=ra(e,t,[i.width,i.height,i.width/i.height]),O=s[0],k=s[1],C=s[2],_=s[3],x=s[4],v=r.ctx.createPattern(r.resizeImage(i,_,x),"repeat"),r.renderRepeat(O,v,k,C)),[3,6];case 5:1===n.type?(l=ra(e,t,[null,null,null]),O=l[0],k=l[1],C=l[2],_=l[3],x=l[4],c=Ct(n.angle,_,x),u=c[0],d=c[1],f=c[2],h=c[3],p=c[4],(m=document.createElement("canvas")).width=_,m.height=x,g=m.getContext("2d"),A=g.createLinearGradient(d,h,f,p),kt(n.stops,u).forEach((function(e){return A.addColorStop(e.stop,pt(e.color))})),g.fillStyle=A,g.fillRect(0,0,_,x),_>0&&x>0&&(v=r.ctx.createPattern(m,"repeat"),r.renderRepeat(O,v,k,C))):function(e){return 2===e.type}(n)&&(y=ra(e,t,[null,null,null]),O=y[0],b=y[1],w=y[2],_=y[3],x=y[4],S=0===n.position.length?[nt]:n.position,k=it(S[0],_),C=it(S[S.length-1],x),B=function(e,t,n,r,o){var i=0,a=0;switch(e.size){case 0:0===e.shape?i=a=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-o)):1===e.shape&&(i=Math.min(Math.abs(t),Math.abs(t-r)),a=Math.min(Math.abs(n),Math.abs(n-o)));break;case 2:if(0===e.shape)i=a=Math.min(Bt(t,n),Bt(t,n-o),Bt(t-r,n),Bt(t-r,n-o));else if(1===e.shape){var s=Math.min(Math.abs(n),Math.abs(n-o))/Math.min(Math.abs(t),Math.abs(t-r)),l=Qt(r,o,t,n,!0),c=l[0],u=l[1];a=s*(i=Bt(c-t,(u-n)/s))}break;case 1:0===e.shape?i=a=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-o)):1===e.shape&&(i=Math.max(Math.abs(t),Math.abs(t-r)),a=Math.max(Math.abs(n),Math.abs(n-o)));break;case 3:if(0===e.shape)i=a=Math.max(Bt(t,n),Bt(t,n-o),Bt(t-r,n),Bt(t-r,n-o));else if(1===e.shape){s=Math.max(Math.abs(n),Math.abs(n-o))/Math.max(Math.abs(t),Math.abs(t-r));var d=Qt(r,o,t,n,!1);c=d[0],u=d[1],a=s*(i=Bt(c-t,(u-n)/s))}}return Array.isArray(e.size)&&(i=it(e.size[0],r),a=2===e.size.length?it(e.size[1],o):i),[i,a]}(n,k,C,_,x),Q=B[0],T=B[1],Q>0&&T>0&&(E=r.ctx.createRadialGradient(b+k,w+C,0,b+k,w+C,Q),kt(n.stops,2*Q).forEach((function(e){return E.addColorStop(e.stop,pt(e.color))})),r.path(O),r.ctx.fillStyle=E,Q!==T?(P=e.bounds.left+.5*e.bounds.width,$=e.bounds.top+.5*e.bounds.height,z=1/(M=T/Q),r.ctx.save(),r.ctx.translate(P,$),r.ctx.transform(1,0,0,M,0,0),r.ctx.translate(-P,-$),r.ctx.fillRect(b,z*(w-$)+$,_,x*z),r.ctx.restore()):r.ctx.fill())),o.label=6;case 6:return t--,[2]}}))},r=this,i=0,a=e.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return i<a.length?(s=a[i],[5,n(s)]):[3,4];case 2:l.sent(),l.label=3;case 3:return i++,[3,1];case 4:return[2]}}))}))},n.prototype.renderSolidBorder=function(e,t,n){return r(this,void 0,void 0,(function(){return o(this,(function(r){return this.path(Ki(n,t)),this.ctx.fillStyle=pt(e),this.ctx.fill(),[2]}))}))},n.prototype.renderDoubleBorder=function(e,t,n,i){return r(this,void 0,void 0,(function(){var r,a;return o(this,(function(o){switch(o.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,i)]:[3,2];case 1:return o.sent(),[2];case 2:return r=function(e,t){switch(t){case 0:return ea(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return ea(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return ea(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return ea(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}}(i,n),this.path(r),this.ctx.fillStyle=pt(e),this.ctx.fill(),a=function(e,t){switch(t){case 0:return ea(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return ea(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return ea(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return ea(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}}(i,n),this.path(a),this.ctx.fill(),[2]}}))}))},n.prototype.renderNodeBackgroundAndBorders=function(e){return r(this,void 0,void 0,(function(){var t,n,r,i,a,s,l,c,u=this;return o(this,(function(o){switch(o.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,n=!ht(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],i=pa(sa(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),ht(t.backgroundColor)||(this.ctx.fillStyle=pt(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:o.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach((function(t){u.ctx.save();var n,r,o,i,a,s=Vi(e.curves),l=t.inset?0:1e4,c=(n=s,r=-l+(t.inset?1:-1)*t.spread.number,o=(t.inset?1:-1)*t.spread.number,i=t.spread.number*(t.inset?-2:2),a=t.spread.number*(t.inset?-2:2),n.map((function(e,t){switch(t){case 0:return e.add(r,o);case 1:return e.add(r+i,o);case 2:return e.add(r+i,o+a);case 3:return e.add(r,o+a)}return e})));t.inset?(u.path(s),u.ctx.clip(),u.mask(c)):(u.mask(s),u.ctx.clip(),u.path(c)),u.ctx.shadowOffsetX=t.offsetX.number+l,u.ctx.shadowOffsetY=t.offsetY.number,u.ctx.shadowColor=pt(t.color),u.ctx.shadowBlur=t.blur.number,u.ctx.fillStyle=t.inset?pt(t.color):"rgba(0,0,0,1)",u.ctx.fill(),u.ctx.restore()})),o.label=2;case 2:a=0,s=0,l=r,o.label=3;case 3:return s<l.length?0!==(c=l[s]).style&&!ht(c.color)&&c.width>0?2!==c.style?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,a,e.curves,2)]:[3,11]:[3,13];case 4:return o.sent(),[3,11];case 5:return 3!==c.style?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,a,e.curves,3)];case 6:return o.sent(),[3,11];case 7:return 4!==c.style?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,a,e.curves)];case 8:return o.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,a,e.curves)];case 10:o.sent(),o.label=11;case 11:a++,o.label=12;case 12:return s++,[3,3];case 13:return[2]}}))}))},n.prototype.renderDashedDottedBorder=function(e,t,n,i,a){return r(this,void 0,void 0,(function(){var r,s,l,c,u,d,f,h,p,m,g,A,v,y,O,b;return o(this,(function(o){return this.ctx.save(),r=function(e,t){switch(t){case 0:return Ji(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Ji(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Ji(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return Ji(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}}(i,n),s=Ki(i,n),2===a&&(this.path(s),this.ctx.clip()),Ii(s[0])?(l=s[0].start.x,c=s[0].start.y):(l=s[0].x,c=s[0].y),Ii(s[1])?(u=s[1].end.x,d=s[1].end.y):(u=s[1].x,d=s[1].y),f=0===n||2===n?Math.abs(l-u):Math.abs(c-d),this.ctx.beginPath(),3===a?this.formatPath(r):this.formatPath(s.slice(0,2)),h=t<3?3*t:2*t,p=t<3?2*t:t,3===a&&(h=t,p=t),m=!0,f<=2*h?m=!1:f<=2*h+p?(h*=g=f/(2*h+p),p*=g):(A=Math.floor((f+p)/(h+p)),v=(f-A*h)/(A-1),p=(y=(f-(A+1)*h)/A)<=0||Math.abs(p-v)<Math.abs(p-y)?v:y),m&&(3===a?this.ctx.setLineDash([0,h+p]):this.ctx.setLineDash([h,p])),3===a?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=pt(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===a&&(Ii(s[0])&&(O=s[3],b=s[0],this.ctx.beginPath(),this.formatPath([new zi(O.end.x,O.end.y),new zi(b.start.x,b.start.y)]),this.ctx.stroke()),Ii(s[1])&&(O=s[1],b=s[2],this.ctx.beginPath(),this.formatPath([new zi(O.end.x,O.end.y),new zi(b.start.x,b.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},n.prototype.render=function(e){return r(this,void 0,void 0,(function(){var t;return o(this,(function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=pt(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=new Zi(e,null),o=new qi(r),Yi(r,o,o,i=[]),Gi(r.container,i),t=o,[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}var r,o,i}))}))},n}(da),ha=function(e){return e instanceof bo||e instanceof Oo||e instanceof yo&&e.type!==go&&e.type!==mo},pa=function(e,t){switch(e){case 0:return Vi(t);case 2:return function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]}(t);default:return Ui(t)}},ma=function(e){switch(e){case 1:return"center";case 2:return"right";default:return"left"}},ga=["-apple-system","system-ui"],Aa=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter((function(e){return-1===ga.indexOf(e)})):e},va=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),r}return t(n,e),n.prototype.render=function(e){return r(this,void 0,void 0,(function(){var t,n;return o(this,(function(r){switch(r.label){case 0:return t=jr(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,ya(t)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=pt(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},n}(da),ya=function(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},Oa=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info.apply(console,i([this.id,this.getTime()+"ms"],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn?console.warn.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.instances={},e}(),ba=function(){function e(t,n){var r;this.windowBounds=n,this.instanceName="#"+e.instanceCount++,this.logger=new Oa({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new ki(this,t)}return e.instanceCount=1,e}();"undefined"!=typeof window&&Si.setContext(window);var wa=function(e,t){return r(void 0,void 0,void 0,(function(){var r,i,l,c,u,d,f,h,p,m,g,A,v,y,O,b,w,_,x,S,k,C,B,Q,T,E,P,$,M,z,R,D,I,N,L,V,U,F;return o(this,(function(o){switch(o.label){case 0:if(!e||"object"!=typeof e)return[2,Promise.reject("Invalid element provided as first argument")];if(!(r=e.ownerDocument))throw new Error("Element is not attached to a Document");if(!(i=r.defaultView))throw new Error("Document is not attached to a Window");return l={allowTaint:null!==(C=t.allowTaint)&&void 0!==C&&C,imageTimeout:null!==(B=t.imageTimeout)&&void 0!==B?B:15e3,proxy:t.proxy,useCORS:null!==(Q=t.useCORS)&&void 0!==Q&&Q},c=n({logging:null===(T=t.logging)||void 0===T||T,cache:t.cache},l),u={windowWidth:null!==(E=t.windowWidth)&&void 0!==E?E:i.innerWidth,windowHeight:null!==(P=t.windowHeight)&&void 0!==P?P:i.innerHeight,scrollX:null!==($=t.scrollX)&&void 0!==$?$:i.pageXOffset,scrollY:null!==(M=t.scrollY)&&void 0!==M?M:i.pageYOffset},d=new a(u.scrollX,u.scrollY,u.windowWidth,u.windowHeight),f=new ba(c,d),h=null!==(z=t.foreignObjectRendering)&&void 0!==z&&z,p={allowTaint:null!==(R=t.allowTaint)&&void 0!==R&&R,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:h,copyStyles:h},f.logger.debug("Starting document clone with size "+d.width+"x"+d.height+" scrolled to "+-d.left+","+-d.top),m=new ci(f,e,p),(g=m.clonedReferenceElement)?[4,m.toIFrame(r,d)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return A=o.sent(),v=Do(g)||"HTML"===g.tagName?function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),o=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new a(0,0,r,o)}(g.ownerDocument):s(f,g),y=v.width,O=v.height,b=v.left,w=v.top,_=_a(f,g,t.backgroundColor),x={canvas:t.canvas,backgroundColor:_,scale:null!==(I=null!==(D=t.scale)&&void 0!==D?D:i.devicePixelRatio)&&void 0!==I?I:1,x:(null!==(N=t.x)&&void 0!==N?N:0)+b,y:(null!==(L=t.y)&&void 0!==L?L:0)+w,width:null!==(V=t.width)&&void 0!==V?V:Math.ceil(y),height:null!==(U=t.height)&&void 0!==U?U:Math.ceil(O)},h?(f.logger.debug("Document cloned, using foreign object rendering"),[4,new va(f,x).render(g)]):[3,3];case 2:return S=o.sent(),[3,5];case 3:return f.logger.debug("Document cloned, element located at "+b+","+w+" with size "+y+"x"+O+" using computed rendering"),f.logger.debug("Starting DOM parsing"),k=ko(f,g),_===k.styles.backgroundColor&&(k.styles.backgroundColor=wt.TRANSPARENT),f.logger.debug("Starting renderer for element at "+x.x+","+x.y+" with size "+x.width+"x"+x.height),[4,new fa(f,x).render(k)];case 4:S=o.sent(),o.label=5;case 5:return(null===(F=t.removeContainer)||void 0===F||F)&&(ci.destroy(A)||f.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),f.logger.debug("Finished rendering"),[2,S]}}))}))},_a=function(e,t,n){var r=t.ownerDocument,o=r.documentElement?bt(e,getComputedStyle(r.documentElement).backgroundColor):wt.TRANSPARENT,i=r.body?bt(e,getComputedStyle(r.body).backgroundColor):wt.TRANSPARENT,a="string"==typeof n?bt(e,n):null===n?wt.TRANSPARENT:4294967295;return t===r.documentElement?ht(o)?ht(i)?a:i:o:a};return function(e,t){return void 0===t&&(t={}),wa(e,t)}}()},20378:function(e,t,n){n(90095)},20397:function(e,t,n){"use strict";var r=n(97751);e.exports=r("document","documentElement")},20495:function(e,t,n){var r=n(95932),o=n(54529);e.exports=function(e,t){return r(e,o(t))}},20614:function(e,t,n){"use strict";n.d(t,{YH:function(){return fe},Gu:function(){return E},VR:function(){return P},Je:function(){return _e},xx:function(){return ee},OF:function(){return L},$t:function(){return ke},sj:function(){return F},iR:function(){return T},Nb:function(){return K},om:function(){return Pe},vB:function(){return $e},FB:function(){return Be},Pe:function(){return me},sU:function(){return Y},EY:function(){return m},ZX:function(){return ge},vS:function(){return k},Fh:function(){return B},QR:function(){return Ce},y$:function(){return He},zK:function(){return S},kn:function(){return We},MK:function(){return C}});let r=[],o=[];function i(e){if(e<768)return!1;for(let t=0,n=r.length;;){let i=t+n>>1;if(e<r[i])n=i;else{if(!(e>=o[i]))return!0;t=i+1}if(t==n)return!1}}function a(e){return e>=127462&&e<=127487}(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((e=>e?parseInt(e,36):1));for(let t=0,n=0;t<e.length;t++)(t%2?o:r).push(n+=e[t])})();const s=8205;function l(e,t,n=!0,r=!0){return(n?c:u)(e,t,r)}function c(e,t,n){if(t==e.length)return t;t&&f(e.charCodeAt(t))&&h(e.charCodeAt(t-1))&&t--;let r=d(e,t);for(t+=p(r);t<e.length;){let o=d(e,t);if(r==s||o==s||n&&i(o))t+=p(o),r=o;else{if(!a(o))break;{let n=0,r=t-2;for(;r>=0&&a(d(e,r));)n++,r-=2;if(n%2==0)break;t+=2}}}return t}function u(e,t,n){for(;t>0;){let r=c(e,t-2,n);if(r<t)return r;t--}return 0}function d(e,t){let n=e.charCodeAt(t);if(!h(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return f(r)?r-56320+(n-55296<<10)+65536:n}function f(e){return e>=56320&&e<57344}function h(e){return e>=55296&&e<56320}function p(e){return e<65536?1:2}class m{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=x(this,e,t);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),A.from(r,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=x(this,e,t);let n=[];return this.decompose(e,t,n,0),A.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new O(this),o=new O(e);for(let e=t,i=t;;){if(r.next(e),o.next(e),e=0,r.lineBreak!=o.lineBreak||r.done!=o.done||r.value!=o.value)return!1;if(i+=r.value.length,r.done||i>=n)return!0}}iter(e=1){return new O(this,e)}iterRange(e,t=this.length){return new b(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new w(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(0==e.length)throw new RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new g(e):A.from(g.split(e,[])):m.empty}}class g extends m{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,r){for(let o=0;;o++){let i=this.text[o],a=r+i.length;if((t?n:a)>=e)return new _(r,a,n,i);r=a+1,n++}}decompose(e,t,n,r){let o=e<=0&&t>=this.length?this:new g(y(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(1&r){let e=n.pop(),t=v(o.text,e.text.slice(),0,o.length);if(t.length<=32)n.push(new g(t,e.length+o.length));else{let e=t.length>>1;n.push(new g(t.slice(0,e)),new g(t.slice(e)))}}else n.push(o)}replace(e,t,n){if(!(n instanceof g))return super.replace(e,t,n);[e,t]=x(this,e,t);let r=v(this.text,v(n.text,y(this.text,0,e)),t),o=this.length+n.length-(t-e);return r.length<=32?new g(r,o):A.from(g.split(r,[]),o)}sliceString(e,t=this.length,n="\n"){[e,t]=x(this,e,t);let r="";for(let o=0,i=0;o<=t&&i<this.text.length;i++){let a=this.text[i],s=o+a.length;o>e&&i&&(r+=n),e<s&&t>o&&(r+=a.slice(Math.max(0,e-o),t-o)),o=s+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],r=-1;for(let o of e)n.push(o),r+=o.length+1,32==n.length&&(t.push(new g(n,r)),n=[],r=-1);return r>-1&&t.push(new g(n,r)),t}}class A extends m{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let t of e)this.lines+=t.lines}lineInner(e,t,n,r){for(let o=0;;o++){let i=this.children[o],a=r+i.length,s=n+i.lines-1;if((t?s:a)>=e)return i.lineInner(e,t,n,r);r=a+1,n=s+1}}decompose(e,t,n,r){for(let o=0,i=0;i<=t&&o<this.children.length;o++){let a=this.children[o],s=i+a.length;if(e<=s&&t>=i){let o=r&((i<=e?1:0)|(s>=t?2:0));i>=e&&s<=t&&!o?n.push(a):a.decompose(e-i,t-i,n,o)}i=s+1}}replace(e,t,n){if([e,t]=x(this,e,t),n.lines<this.lines)for(let r=0,o=0;r<this.children.length;r++){let i=this.children[r],a=o+i.length;if(e>=o&&t<=a){let s=i.replace(e-o,t-o,n),l=this.lines-i.lines+s.lines;if(s.lines<l>>4&&s.lines>l>>6){let o=this.children.slice();return o[r]=s,new A(o,this.length-(t-e)+n.length)}return super.replace(o,a,s)}o=a+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){[e,t]=x(this,e,t);let r="";for(let o=0,i=0;o<this.children.length&&i<=t;o++){let a=this.children[o],s=i+a.length;i>e&&o&&(r+=n),e<s&&t>i&&(r+=a.sliceString(e-i,t-i,n)),i=s+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof A))return 0;let n=0,[r,o,i,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,o+=t){if(r==i||o==a)return n;let s=this.children[r],l=e.children[o];if(s!=l)return n+s.scanIdentical(l,t);n+=s.length+1}}static from(e,t=e.reduce(((e,t)=>e+t.length+1),-1)){let n=0;for(let t of e)n+=t.lines;if(n<32){let n=[];for(let t of e)t.flatten(n);return new g(n,t)}let r=Math.max(32,n>>5),o=r<<1,i=r>>1,a=[],s=0,l=-1,c=[];function u(e){let t;if(e.lines>o&&e instanceof A)for(let t of e.children)u(t);else e.lines>i&&(s>i||!s)?(d(),a.push(e)):e instanceof g&&s&&(t=c[c.length-1])instanceof g&&e.lines+t.lines<=32?(s+=e.lines,l+=e.length+1,c[c.length-1]=new g(t.text.concat(e.text),t.length+1+e.length)):(s+e.lines>r&&d(),s+=e.lines,l+=e.length+1,c.push(e))}function d(){0!=s&&(a.push(1==c.length?c[0]:A.from(c,l)),l=-1,s=c.length=0)}for(let t of e)u(t);return d(),1==a.length?a[0]:new A(a,t)}}function v(e,t,n=0,r=1e9){for(let o=0,i=0,a=!0;i<e.length&&o<=r;i++){let s=e[i],l=o+s.length;l>=n&&(l>r&&(s=s.slice(0,r-o)),o<n&&(s=s.slice(n-o)),a?(t[t.length-1]+=s,a=!1):t.push(s)),o=l+1}return t}function y(e,t,n){return v(e,[""],t,n)}m.empty=new g([""],0);class O{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof g?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],o=this.offsets[n],i=o>>1,a=r instanceof g?r.text.length:r.children.length;if(i==(t>0?a:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&o)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof g){let o=r.text[i+(t<0?-1:0)];if(this.offsets[n]+=t,o.length>Math.max(0,e))return this.value=0==e?o:t>0?o.slice(e):o.slice(0,o.length-e),this;e-=o.length}else{let o=r.children[i+(t<0?-1:0)];e>o.length?(e-=o.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(o),this.offsets.push(t>0?1:(o instanceof g?o.text.length:o.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class b{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new O(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class w{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:r}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(m.prototype[Symbol.iterator]=function(){return this.iter()},O.prototype[Symbol.iterator]=b.prototype[Symbol.iterator]=w.prototype[Symbol.iterator]=function(){return this});class _{constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,this.text=r}get length(){return this.to-this.from}}function x(e,t,n){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}function S(e,t,n=!0,r=!0){return l(e,t,n,r)}function k(e,t){let n=e.charCodeAt(t);if(!((r=n)>=55296&&r<56320&&t+1!=e.length))return n;var r;let o=e.charCodeAt(t+1);return function(e){return e>=56320&&e<57344}(o)?o-56320+(n-55296<<10)+65536:n}function C(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function B(e){return e<65536?1:2}const Q=/\r\n?|\n/;var T=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(T||(T={}));class E{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(e){for(let t=0,n=0,r=0;t<this.sections.length;){let o=this.sections[t++],i=this.sections[t++];i<0?(e(n,r,o),r+=o):r+=i,n+=o}}iterChangedRanges(e,t=!1){z(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];r<0?e.push(n,r):e.push(r,n)}return new E(e)}composeDesc(e){return this.empty?e:e.empty?this:D(this,e)}mapDesc(e,t=!1){return e.empty?this:R(this,e,t)}mapPos(e,t=-1,n=T.Simple){let r=0,o=0;for(let i=0;i<this.sections.length;){let a=this.sections[i++],s=this.sections[i++],l=r+a;if(s<0){if(l>e)return o+(e-r);o+=a}else{if(n!=T.Simple&&l>=e&&(n==T.TrackDel&&r<e&&l>e||n==T.TrackBefore&&r<e||n==T.TrackAfter&&l>e))return null;if(l>e||l==e&&t<0&&!a)return e==r||t<0?o:o+s;o+=s}r=l}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return o}touchesRange(e,t=e){for(let n=0,r=0;n<this.sections.length&&r<=t;){let o=r+this.sections[n++];if(this.sections[n++]>=0&&r<=t&&o>=e)return!(r<e&&o>t)||"cover";r=o}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];e+=(e?" ":"")+n+(r>=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some((e=>"number"!=typeof e)))throw new RangeError("Invalid JSON representation of ChangeDesc");return new E(e)}static create(e){return new E(e)}}class P extends E{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return z(this,((t,n,r,o,i)=>e=e.replace(r,r+(n-t),i)),!1),e}mapDesc(e,t=!1){return R(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let r=0,o=0;r<t.length;r+=2){let i=t[r],a=t[r+1];if(a>=0){t[r]=a,t[r+1]=i;let s=r>>1;for(;n.length<s;)n.push(m.empty);n.push(i?e.slice(o,o+i):m.empty)}o+=i}return new P(t,n)}compose(e){return this.empty?e:e.empty?this:D(this,e,!0)}map(e,t=!1){return e.empty?this:R(this,e,t,!0)}iterChanges(e,t=!1){z(this,e,t)}get desc(){return E.create(this.sections)}filter(e){let t=[],n=[],r=[],o=new I(this);e:for(let i=0,a=0;;){let s=i==e.length?1e9:e[i++];for(;a<s||a==s&&0==o.len;){if(o.done)break e;let e=Math.min(o.len,s-a);$(r,e,-1);let i=-1==o.ins?-1:0==o.off?o.ins:0;$(t,e,i),i>0&&M(n,t,o.text),o.forward(e),a+=e}let l=e[i++];for(;a<l;){if(o.done)break e;let e=Math.min(o.len,l-a);$(t,e,-1),$(r,e,-1==o.ins?-1:0==o.off?o.ins:0),o.forward(e),a+=e}}return{changes:new P(t,n),filtered:E.create(r)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t],r=this.sections[t+1];r<0?e.push(n):0==r?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,n){let r=[],o=[],i=0,a=null;function s(e=!1){if(!e&&!r.length)return;i<t&&$(r,t-i,-1);let n=new P(r,o);a=a?a.compose(n.map(a)):n,r=[],o=[],i=0}return function e(l){if(Array.isArray(l))for(let t of l)e(t);else if(l instanceof P){if(l.length!=t)throw new RangeError(`Mismatched change set length (got ${l.length}, expected ${t})`);s(),a=a?a.compose(l.map(a)):l}else{let{from:e,to:a=e,insert:c}=l;if(e>a||e<0||a>t)throw new RangeError(`Invalid change range ${e} to ${a} (in doc of length ${t})`);let u=c?"string"==typeof c?m.of(c.split(n||Q)):c:m.empty,d=u.length;if(e==a&&0==d)return;e<i&&s(),e>i&&$(r,e-i,-1),$(r,a-e,d),M(o,r,u),i=a}}(e),s(!a),a}static empty(e){return new P(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let r=0;r<e.length;r++){let o=e[r];if("number"==typeof o)t.push(o,-1);else{if(!Array.isArray(o)||"number"!=typeof o[0]||o.some(((e,t)=>t&&"string"!=typeof e)))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==o.length)t.push(o[0],0);else{for(;n.length<r;)n.push(m.empty);n[r]=m.of(o.slice(1)),t.push(o[0],n[r].length)}}}return new P(t,n)}static createSet(e,t){return new P(e,t)}}function $(e,t,n,r=!1){if(0==t&&n<=0)return;let o=e.length-2;o>=0&&n<=0&&n==e[o+1]?e[o]+=t:o>=0&&0==t&&0==e[o]?e[o+1]+=n:r?(e[o]+=t,e[o+1]+=n):e.push(t,n)}function M(e,t,n){if(0==n.length)return;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<r;)e.push(m.empty);e.push(n)}}function z(e,t,n){let r=e.inserted;for(let o=0,i=0,a=0;a<e.sections.length;){let s=e.sections[a++],l=e.sections[a++];if(l<0)o+=s,i+=s;else{let c=o,u=i,d=m.empty;for(;c+=s,u+=l,l&&r&&(d=d.append(r[a-2>>1])),!(n||a==e.sections.length||e.sections[a+1]<0);)s=e.sections[a++],l=e.sections[a++];t(o,c,i,u,d),o=c,i=u}}}function R(e,t,n,r=!1){let o=[],i=r?[]:null,a=new I(e),s=new I(t);for(let e=-1;;){if(a.done&&s.len||s.done&&a.len)throw new Error("Mismatched change set lengths");if(-1==a.ins&&-1==s.ins){let e=Math.min(a.len,s.len);$(o,e,-1),a.forward(e),s.forward(e)}else if(s.ins>=0&&(a.ins<0||e==a.i||0==a.off&&(s.len<a.len||s.len==a.len&&!n))){let t=s.len;for($(o,s.ins,-1);t;){let n=Math.min(a.len,t);a.ins>=0&&e<a.i&&a.len<=n&&($(o,0,a.ins),i&&M(i,o,a.text),e=a.i),a.forward(n),t-=n}s.next()}else{if(!(a.ins>=0)){if(a.done&&s.done)return i?P.createSet(o,i):E.create(o);throw new Error("Mismatched change set lengths")}{let t=0,n=a.len;for(;n;)if(-1==s.ins){let e=Math.min(n,s.len);t+=e,n-=e,s.forward(e)}else{if(!(0==s.ins&&s.len<n))break;n-=s.len,s.next()}$(o,t,e<a.i?a.ins:0),i&&e<a.i&&M(i,o,a.text),e=a.i,a.forward(a.len-n)}}}}function D(e,t,n=!1){let r=[],o=n?[]:null,i=new I(e),a=new I(t);for(let e=!1;;){if(i.done&&a.done)return o?P.createSet(r,o):E.create(r);if(0==i.ins)$(r,i.len,0,e),i.next();else if(0!=a.len||a.done){if(i.done||a.done)throw new Error("Mismatched change set lengths");{let t=Math.min(i.len2,a.len),n=r.length;if(-1==i.ins){let n=-1==a.ins?-1:a.off?0:a.ins;$(r,t,n,e),o&&n&&M(o,r,a.text)}else-1==a.ins?($(r,i.off?0:i.len,t,e),o&&M(o,r,i.textBit(t))):($(r,i.off?0:i.len,a.off?0:a.ins,e),o&&!a.off&&M(o,r,a.text));e=(i.ins>t||a.ins>=0&&a.len>t)&&(e||r.length>n),i.forward2(t),a.forward(t)}}else $(r,0,a.ins,e),o&&M(o,r,a.text),a.next()}}class I{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return-2==this.ins}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?m.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?m.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class N{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6;return 16777215==e?void 0:e}map(e,t=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new N(n,r,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return L.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return L.range(this.anchor,n)}eq(e,t=!1){return!(this.anchor!=e.anchor||this.head!=e.head||t&&this.empty&&this.assoc!=e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid JSON representation for SelectionRange");return L.range(e.anchor,e.head)}static create(e,t,n){return new N(e,t,n)}}class L{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:L.create(this.ranges.map((n=>n.map(e,t))),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new L([this.main],0)}addRange(e,t=!0){return L.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let n=this.ranges.slice();return n[t]=e,L.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map((e=>e.toJSON())),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new L(e.ranges.map((e=>N.fromJSON(e))),e.main)}static single(e,t=e){return new L([L.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw new RangeError("A selection needs at least one range");for(let n=0,r=0;r<e.length;r++){let o=e[r];if(o.empty?o.from<=n:o.from<n)return L.normalized(e.slice(),t);n=o.to}return new L(e,t)}static cursor(e,t=0,n,r){return N.create(e,e,(0==t?0:t<0?8:16)|(null==n?7:Math.min(6,n))|(null!=r?r:16777215)<<6)}static range(e,t,n,r){let o=(null!=n?n:16777215)<<6|(null==r?7:Math.min(6,r));return t<e?N.create(t,e,48|o):N.create(e,t,(t>e?8:0)|o)}static normalized(e,t=0){let n=e[t];e.sort(((e,t)=>e.from-t.from)),t=e.indexOf(n);for(let n=1;n<e.length;n++){let r=e[n],o=e[n-1];if(r.empty?r.from<=o.to:r.from<o.to){let i=o.from,a=Math.max(r.to,o.to);n<=t&&t--,e.splice(--n,2,r.anchor>r.head?L.range(a,i):L.range(i,a))}}return new L(e,t)}}function V(e,t){for(let n of e.ranges)if(n.to>t)throw new RangeError("Selection points outside of document")}let U=0;class F{constructor(e,t,n,r,o){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=U++,this.default=e([]),this.extensions="function"==typeof o?o(this):o}get reader(){return this}static define(e={}){return new F(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:H),!!e.static,e.enables)}of(e){return new W([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new W(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new W(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],(n=>t(n.field(e))))}}function H(e,t){return e==t||e.length==t.length&&e.every(((e,n)=>e===t[n]))}class W{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=U++}dynamicSlot(e){var t;let n=this.value,r=this.facet.compareInput,o=this.id,i=e[o]>>1,a=2==this.type,s=!1,l=!1,c=[];for(let n of this.dependencies)"doc"==n?s=!0:"selection"==n?l=!0:1&(null!==(t=e[n.id])&&void 0!==t?t:1)||c.push(e[n.id]);return{create(e){return e.values[i]=n(e),1},update(e,t){if(s&&t.docChanged||l&&(t.docChanged||t.selection)||j(e,c)){let t=n(e);if(a?!X(t,e.values[i],r):!r(t,e.values[i]))return e.values[i]=t,1}return 0},reconfigure:(e,t)=>{let s,l=t.config.address[o];if(null!=l){let o=oe(t,l);if(this.dependencies.every((n=>n instanceof F?t.facet(n)===e.facet(n):!(n instanceof Y)||t.field(n,!1)==e.field(n,!1)))||(a?X(s=n(e),o,r):r(s=n(e),o)))return e.values[i]=o,0}else s=n(e);return e.values[i]=s,1}}}}function X(e,t,n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function j(e,t){let n=!1;for(let r of t)1&re(e,r)&&(n=!0);return n}function q(e,t,n){let r=n.map((t=>e[t.id])),o=n.map((e=>e.type)),i=r.filter((e=>!(1&e))),a=e[t.id]>>1;function s(e){let n=[];for(let t=0;t<r.length;t++){let i=oe(e,r[t]);if(2==o[t])for(let e of i)n.push(e);else n.push(i)}return t.combine(n)}return{create(e){for(let t of r)re(e,t);return e.values[a]=s(e),1},update(e,n){if(!j(e,i))return 0;let r=s(e);return t.compare(r,e.values[a])?0:(e.values[a]=r,1)},reconfigure(e,o){let i=j(e,r),l=o.config.facets[t.id],c=o.facet(t);if(l&&!i&&H(n,l))return e.values[a]=c,0;let u=s(e);return t.compare(u,c)?(e.values[a]=c,0):(e.values[a]=u,1)}}}const Z=F.define({static:!0});class Y{constructor(e,t,n,r,o){this.id=e,this.createF=t,this.updateF=n,this.compareF=r,this.spec=o,this.provides=void 0}static define(e){let t=new Y(U++,e.create,e.update,e.compare||((e,t)=>e===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(Z).find((e=>e.field==this));return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let r=e.values[t],o=this.updateF(r,n);return this.compareF(r,o)?0:(e.values[t]=o,1)},reconfigure:(e,n)=>{let r,o=e.facet(Z),i=n.facet(Z);return(r=o.find((e=>e.field==this)))&&r!=i.find((e=>e.field==this))?(e.values[t]=r.create(e),1):null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}}init(e){return[this,Z.of({field:this,create:e})]}get extension(){return this}}function G(e){return t=>new J(t,e)}const K={highest:G(0),high:G(1),default:G(2),low:G(3),lowest:G(4)};class J{constructor(e,t){this.inner=e,this.prec=t}}class ee{of(e){return new te(this,e)}reconfigure(e){return ee.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class te{constructor(e,t){this.compartment=e,this.inner=t}}class ne{constructor(e,t,n,r,o,i){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=o,this.facets=i,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return null==t?e.default:this.staticValues[t>>1]}static resolve(e,t,n){let r=[],o=Object.create(null),i=new Map;for(let n of function(e,t,n){let r=[[],[],[],[],[]],o=new Map;return function e(i,a){let s=o.get(i);if(null!=s){if(s<=a)return;let e=r[s].indexOf(i);e>-1&&r[s].splice(e,1),i instanceof te&&n.delete(i.compartment)}if(o.set(i,a),Array.isArray(i))for(let t of i)e(t,a);else if(i instanceof te){if(n.has(i.compartment))throw new RangeError("Duplicate use of compartment in extensions");let r=t.get(i.compartment)||i.inner;n.set(i.compartment,r),e(r,a)}else if(i instanceof J)e(i.inner,i.prec);else if(i instanceof Y)r[a].push(i),i.provides&&e(i.provides,a);else if(i instanceof W)r[a].push(i),i.facet.extensions&&e(i.facet.extensions,2);else{let t=i.extension;if(!t)throw new Error(`Unrecognized extension value in extension set (${i}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(t,a)}}(e,2),r.reduce(((e,t)=>e.concat(t)))}(e,t,i))n instanceof Y?r.push(n):(o[n.facet.id]||(o[n.facet.id]=[])).push(n);let a=Object.create(null),s=[],l=[];for(let e of r)a[e.id]=l.length<<1,l.push((t=>e.slot(t)));let c=null==n?void 0:n.config.facets;for(let e in o){let t=o[e],r=t[0].facet,i=c&&c[e]||[];if(t.every((e=>0==e.type)))if(a[r.id]=s.length<<1|1,H(i,t))s.push(n.facet(r));else{let e=r.combine(t.map((e=>e.value)));s.push(n&&r.compare(e,n.facet(r))?n.facet(r):e)}else{for(let e of t)0==e.type?(a[e.id]=s.length<<1|1,s.push(e.value)):(a[e.id]=l.length<<1,l.push((t=>e.dynamicSlot(t))));a[r.id]=l.length<<1,l.push((e=>q(e,r,t)))}}let u=l.map((e=>e(a)));return new ne(e,i,u,a,s,o)}}function re(e,t){if(1&t)return 2;let n=t>>1,r=e.status[n];if(4==r)throw new Error("Cyclic dependency between fields and/or facets");if(2&r)return r;e.status[n]=4;let o=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|o}function oe(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}const ie=F.define(),ae=F.define({combine:e=>e.some((e=>e)),static:!0}),se=F.define({combine:e=>e.length?e[0]:void 0,static:!0}),le=F.define(),ce=F.define(),ue=F.define(),de=F.define({combine:e=>!!e.length&&e[0]});class fe{constructor(e,t){this.type=e,this.value=t}static define(){return new he}}class he{of(e){return new fe(this,e)}}class pe{constructor(e){this.map=e}of(e){return new me(this,e)}}class me{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new me(this.type,t)}is(e){return this.type==e}static define(e={}){return new pe(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){let e=r.map(t);e&&n.push(e)}return n}}me.reconfigure=me.define(),me.appendConfig=me.define();class ge{constructor(e,t,n,r,o,i){this.startState=e,this.changes=t,this.selection=n,this.effects=r,this.annotations=o,this.scrollIntoView=i,this._doc=null,this._state=null,n&&V(n,t.newLength),o.some((e=>e.type==ge.time))||(this.annotations=o.concat(ge.time.of(Date.now())))}static create(e,t,n,r,o,i){return new ge(e,t,n,r,o,i)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(ge.userEvent);return!(!t||!(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function Ae(e,t){let n=[];for(let r=0,o=0;;){let i,a;if(r<e.length&&(o==t.length||t[o]>=e[r]))i=e[r++],a=e[r++];else{if(!(o<t.length))return n;i=t[o++],a=t[o++]}!n.length||n[n.length-1]<i?n.push(i,a):n[n.length-1]<a&&(n[n.length-1]=a)}}function ve(e,t,n){var r;let o,i,a;return n?(o=t.changes,i=P.empty(t.changes.length),a=e.changes.compose(t.changes)):(o=t.changes.map(e.changes),i=e.changes.mapDesc(t.changes,!0),a=e.changes.compose(o)),{changes:a,selection:t.selection?t.selection.map(i):null===(r=e.selection)||void 0===r?void 0:r.map(o),effects:me.mapEffects(e.effects,o).concat(me.mapEffects(t.effects,i)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function ye(e,t,n){let r=t.selection,o=we(t.annotations);return t.userEvent&&(o=o.concat(ge.userEvent.of(t.userEvent))),{changes:t.changes instanceof P?t.changes:P.of(t.changes||[],n,e.facet(se)),selection:r&&(r instanceof L?r:L.single(r.anchor,r.head)),effects:we(t.effects),annotations:o,scrollIntoView:!!t.scrollIntoView}}function Oe(e,t,n){let r=ye(e,t.length?t[0]:{},e.doc.length);t.length&&!1===t[0].filter&&(n=!1);for(let o=1;o<t.length;o++){!1===t[o].filter&&(n=!1);let i=!!t[o].sequential;r=ve(r,ye(e,t[o],i?r.changes.newLength:e.doc.length),i)}let o=ge.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return function(e){let t=e.startState,n=t.facet(ue),r=e;for(let o=n.length-1;o>=0;o--){let i=n[o](e);i&&Object.keys(i).length&&(r=ve(r,ye(t,i,e.changes.newLength),!0))}return r==e?e:ge.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}(n?function(e){let t=e.startState,n=!0;for(let r of t.facet(le)){let t=r(e);if(!1===t){n=!1;break}Array.isArray(t)&&(n=!0===n?t:Ae(n,t))}if(!0!==n){let r,o;if(!1===n)o=e.changes.invertedDesc,r=P.empty(t.doc.length);else{let t=e.changes.filter(n);r=t.changes,o=t.filtered.mapDesc(t.changes).invertedDesc}e=ge.create(t,r,e.selection&&e.selection.map(o),me.mapEffects(e.effects,o),e.annotations,e.scrollIntoView)}let r=t.facet(ce);for(let n=r.length-1;n>=0;n--){let o=r[n](e);e=o instanceof ge?o:Array.isArray(o)&&1==o.length&&o[0]instanceof ge?o[0]:Oe(t,we(o),!1)}return e}(o):o)}ge.time=fe.define(),ge.userEvent=fe.define(),ge.addToHistory=fe.define(),ge.remote=fe.define();const be=[];function we(e){return null==e?be:Array.isArray(e)?e:[e]}var _e=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(_e||(_e={}));const xe=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Se;try{Se=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(e){}class ke{constructor(e,t,n,r,o,i){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=o,i&&(i._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)re(this,e<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(null!=n)return re(this,n),oe(this,n);if(t)throw new RangeError("Field is not present in this state")}update(...e){return Oe(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:r,compartments:o}=n;for(let t of e.effects)t.is(ee.reconfigure)?(n&&(o=new Map,n.compartments.forEach(((e,t)=>o.set(t,e))),n=null),o.set(t.value.compartment,t.value.extension)):t.is(me.reconfigure)?(n=null,r=t.value):t.is(me.appendConfig)&&(n=null,r=we(r).concat(t.value));n?t=e.startState.values.slice():(n=ne.resolve(r,o,this),t=new ke(n,this.doc,this.selection,n.dynamicSlots.map((()=>null)),((e,t)=>t.reconfigure(e,this)),null).values);let i=e.startState.facet(ae)?e.newSelection:e.newSelection.asSingle();new ke(n,e.newDoc,i,t,((t,n)=>n.update(t,e)),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange((t=>({changes:{from:t.from,to:t.to,insert:e},range:L.cursor(t.from+e.length)})))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),o=[n.range],i=we(n.effects);for(let n=1;n<t.ranges.length;n++){let a=e(t.ranges[n]),s=this.changes(a.changes),l=s.map(r);for(let e=0;e<n;e++)o[e]=o[e].map(l);let c=r.mapDesc(s,!0);o.push(a.range.map(c)),r=r.compose(l),i=me.mapEffects(i,l).concat(me.mapEffects(we(a.effects),c))}return{changes:r,selection:L.create(o,t.mainIndex),effects:i}}changes(e=[]){return e instanceof P?e:P.of(e,this.doc.length,this.facet(ke.lineSeparator))}toText(e){return m.of(e.split(this.facet(ke.lineSeparator)||Q))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return null==t?e.default:(re(this,t),oe(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let r=e[n];r instanceof Y&&null!=this.config.address[r.id]&&(t[n]=r.spec.toJSON(this.field(e[n]),this))}return t}static fromJSON(e,t={},n){if(!e||"string"!=typeof e.doc)throw new RangeError("Invalid JSON representation for EditorState");let r=[];if(n)for(let t in n)if(Object.prototype.hasOwnProperty.call(e,t)){let o=n[t],i=e[t];r.push(o.init((e=>o.spec.fromJSON(i,e))))}return ke.create({doc:e.doc,selection:L.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=ne.resolve(e.extensions||[],new Map),n=e.doc instanceof m?e.doc:m.of((e.doc||"").split(t.staticFacet(ke.lineSeparator)||Q)),r=e.selection?e.selection instanceof L?e.selection:L.single(e.selection.anchor,e.selection.head):L.single(0);return V(r,n.length),t.staticFacet(ae)||(r=r.asSingle()),new ke(t,n,r,t.dynamicSlots.map((()=>null)),((e,t)=>t.create(e)),null)}get tabSize(){return this.facet(ke.tabSize)}get lineBreak(){return this.facet(ke.lineSeparator)||"\n"}get readOnly(){return this.facet(de)}phrase(e,...t){for(let t of this.facet(ke.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,((e,n)=>{if("$"==n)return"$";let r=+(n||1);return!r||r>t.length?e:t[r-1]}))),e}languageDataAt(e,t,n=-1){let r=[];for(let o of this.facet(ie))for(let i of o(this,t,n))Object.prototype.hasOwnProperty.call(i,e)&&r.push(i[e]);return r}charCategorizer(e){return t=this.languageDataAt("wordChars",e).join(""),e=>{if(!/\S/.test(e))return _e.Space;if(function(e){if(Se)return Se.test(e);for(let t=0;t<e.length;t++){let n=e[t];if(/\w/.test(n)||n>"€"&&(n.toUpperCase()!=n.toLowerCase()||xe.test(n)))return!0}return!1}(e))return _e.Word;for(let n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return _e.Word;return _e.Other};var t}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),o=this.charCategorizer(e),i=e-n,a=e-n;for(;i>0;){let e=S(t,i,!1);if(o(t.slice(e,i))!=_e.Word)break;i=e}for(;a<r;){let e=S(t,a);if(o(t.slice(a,e))!=_e.Word)break;a=e}return i==a?null:L.range(i+n,a+n)}}function Ce(e,t,n={}){let r={};for(let t of e)for(let e of Object.keys(t)){let o=t[e],i=r[e];if(void 0===i)r[e]=o;else if(i===o||void 0===o);else{if(!Object.hasOwnProperty.call(n,e))throw new Error("Config merge conflict for field "+e);r[e]=n[e](i,o)}}for(let e in t)void 0===r[e]&&(r[e]=t[e]);return r}ke.allowMultipleSelections=ae,ke.tabSize=F.define({combine:e=>e.length?e[0]:4}),ke.lineSeparator=se,ke.readOnly=de,ke.phrases=F.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every((n=>e[n]==t[n]))}}),ke.languageData=ie,ke.changeFilter=le,ke.transactionFilter=ce,ke.transactionExtender=ue,ee.reconfigure=me.define();class Be{eq(e){return this==e}range(e,t=e){return Qe.create(e,t,this)}}Be.prototype.startSide=Be.prototype.endSide=0,Be.prototype.point=!1,Be.prototype.mapMode=T.TrackDel;class Qe{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new Qe(e,t,n)}}function Te(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class Ee{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,r=0){let o=n?this.to:this.from;for(let i=r,a=o.length;;){if(i==a)return i;let r=i+a>>1,s=o[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t;if(r==i)return s>=0?i:a;s>=0?a=r:i=r+1}}between(e,t,n,r){for(let o=this.findIndex(t,-1e9,!0),i=this.findIndex(n,1e9,!1,o);o<i;o++)if(!1===r(this.from[o]+e,this.to[o]+e,this.value[o]))return!1}map(e,t){let n=[],r=[],o=[],i=-1,a=-1;for(let s=0;s<this.value.length;s++){let l,c,u=this.value[s],d=this.from[s]+e,f=this.to[s]+e;if(d==f){let e=t.mapPos(d,u.startSide,u.mapMode);if(null==e)continue;if(l=c=e,u.startSide!=u.endSide&&(c=t.mapPos(d,u.endSide),c<l))continue}else if(l=t.mapPos(d,u.startSide),c=t.mapPos(f,u.endSide),l>c||l==c&&u.startSide>0&&u.endSide<=0)continue;(c-l||u.endSide-u.startSide)<0||(i<0&&(i=l),u.point&&(a=Math.max(a,c-l)),n.push(u),r.push(l-i),o.push(c-i))}return{mapped:n.length?new Ee(r,o,n,a):null,pos:i}}}class Pe{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}static create(e,t,n,r){return new Pe(e,t,n,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:r=0,filterTo:o=this.length}=e,i=e.filter;if(0==t.length&&!i)return this;if(n&&(t=t.slice().sort(Te)),this.isEmpty)return t.length?Pe.of(t):this;let a=new ze(this,null,-1).goto(0),s=0,l=[],c=new $e;for(;a.value||s<t.length;)if(s<t.length&&(a.from-t[s].from||a.startSide-t[s].value.startSide)>=0){let e=t[s++];c.addInner(e.from,e.to,e.value)||l.push(e)}else 1==a.rangeIndex&&a.chunkIndex<this.chunk.length&&(s==t.length||this.chunkEnd(a.chunkIndex)<t[s].from)&&(!i||r>this.chunkEnd(a.chunkIndex)||o<this.chunkPos[a.chunkIndex])&&c.addChunk(this.chunkPos[a.chunkIndex],this.chunk[a.chunkIndex])?a.nextChunk():((!i||r>a.to||o<a.from||i(a.from,a.to,a.value))&&(c.addInner(a.from,a.to,a.value)||l.push(Qe.create(a.from,a.to,a.value))),a.next());return c.finishInner(this.nextLayer.isEmpty&&!l.length?Pe.empty:this.nextLayer.update({add:l,filter:i,filterFrom:r,filterTo:o}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],n=[],r=-1;for(let o=0;o<this.chunk.length;o++){let i=this.chunkPos[o],a=this.chunk[o],s=e.touchesRange(i,i+a.length);if(!1===s)r=Math.max(r,a.maxPoint),t.push(a),n.push(e.mapPos(i));else if(!0===s){let{mapped:o,pos:s}=a.map(i,e);o&&(r=Math.max(r,o.maxPoint),t.push(o),n.push(s))}}let o=this.nextLayer.map(e);return 0==t.length?o:new Pe(n,t,o||Pe.empty,r)}between(e,t,n){if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){let o=this.chunkPos[r],i=this.chunk[r];if(t>=o&&e<=o+i.length&&!1===i.between(o,e-o,t-o,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return Re.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Re.from(e).goto(t)}static compare(e,t,n,r,o=-1){let i=e.filter((e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=o)),a=t.filter((e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=o)),s=Me(i,a,n),l=new Ie(i,s,o),c=new Ie(a,s,o);n.iterGaps(((e,t,n)=>Ne(l,e,c,t,n,r))),n.empty&&0==n.length&&Ne(l,0,c,0,0,r)}static eq(e,t,n=0,r){null==r&&(r=999999999);let o=e.filter((e=>!e.isEmpty&&t.indexOf(e)<0)),i=t.filter((t=>!t.isEmpty&&e.indexOf(t)<0));if(o.length!=i.length)return!1;if(!o.length)return!0;let a=Me(o,i),s=new Ie(o,a,0).goto(n),l=new Ie(i,a,0).goto(n);for(;;){if(s.to!=l.to||!Le(s.active,l.active)||s.point&&(!l.point||!s.point.eq(l.point)))return!1;if(s.to>r)return!0;s.next(),l.next()}}static spans(e,t,n,r,o=-1){let i=new Ie(e,null,o).goto(t),a=t,s=i.openStart;for(;;){let e=Math.min(i.to,n);if(i.point){let n=i.activeForPoint(i.to),o=i.pointFrom<t?n.length+1:i.point.startSide<0?n.length:Math.min(n.length,s);r.point(a,e,i.point,n,o,i.pointRank),s=Math.min(i.openEnd(e),n.length)}else e>a&&(r.span(a,e,i.active,s),s=i.openEnd(e));if(i.to>n)return s+(i.point&&i.to>n?1:0);a=i.to,i.next()}}static of(e,t=!1){let n=new $e;for(let r of e instanceof Qe?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n];if(Te(t,r)>0)return e.slice().sort(Te);t=r}return e}(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return Pe.empty;let t=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=Pe.empty;r=r.nextLayer)t=new Pe(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint));return t}}Pe.empty=new Pe([],[],null,-1),Pe.empty.nextLayer=Pe.empty;class $e{finishChunk(e){this.chunks.push(new Ee(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new $e)).add(e,t,n)}addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return!(r<0||(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),0))}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(Pe.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=Pe.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function Me(e,t,n){let r=new Map;for(let t of e)for(let e=0;e<t.chunk.length;e++)t.chunk[e].maxPoint<=0&&r.set(t.chunk[e],t.chunkPos[e]);let o=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let i=r.get(e.chunk[t]);null==i||(n?n.mapPos(i):i)!=e.chunkPos[t]||(null==n?void 0:n.touchesRange(i,i+e.chunk[t].length))||o.add(e.chunk[t])}return o}class ze{constructor(e,t,n,r=0){this.layer=e,this.skip=t,this.minPoint=n,this.rank=r}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){let t=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||this.rangeIndex<r)&&this.setRangeIndex(r)}this.next()}forward(e,t){(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class Re{constructor(e){this.heap=e}static from(e,t=null,n=-1){let r=[];for(let o=0;o<e.length;o++)for(let i=e[o];!i.isEmpty;i=i.nextLayer)i.maxPoint>=n&&r.push(new ze(i,t,n,o));return 1==r.length?r[0]:new Re(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)De(this.heap,e);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)De(this.heap,e);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),De(this.heap,0)}}}function De(e,t){for(let n=e[t];;){let r=1+(t<<1);if(r>=e.length)break;let o=e[r];if(r+1<e.length&&o.compare(e[r+1])>=0&&(o=e[r+1],r++),n.compare(o)<0)break;e[r]=n,e[t]=o,t=r}}class Ie{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Re.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){Ve(this.active,e),Ve(this.activeTo,e),Ve(this.activeRank,e),this.minActive=Fe(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:r,rank:o}=this.cursor;for(;t<this.activeRank.length&&(o-this.activeRank[t]||r-this.activeTo[t])>0;)t++;Ue(this.active,t,n),Ue(this.activeTo,t,r),Ue(this.activeRank,t,o),e&&Ue(e,t,this.cursor.from),this.minActive=Fe(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&Ve(n,r)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let e=this.cursor.value;if(e.point){if(!(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)){this.point=e,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}this.cursor.next()}else this.addActive(n),this.cursor.next()}}}if(n){this.openStart=0;for(let t=n.length-1;t>=0&&n[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function Ne(e,t,n,r,o,i){e.goto(t),n.goto(r);let a=r+o,s=r,l=r-t;for(;;){let t=e.to+l-n.to,r=t||e.endSide-n.endSide,o=r<0?e.to+l:n.to,c=Math.min(o,a);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&Le(e.activeForPoint(e.to),n.activeForPoint(n.to))||i.comparePoint(s,c,e.point,n.point):c>s&&!Le(e.active,n.active)&&i.compareRange(s,c,e.active,n.active),o>a)break;(t||e.openEnd!=n.openEnd)&&i.boundChange&&i.boundChange(o),s=o,r<=0&&e.next(),r>=0&&n.next()}}function Le(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!e[n].eq(t[n]))return!1;return!0}function Ve(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}function Ue(e,t,n){for(let n=e.length-1;n>=t;n--)e[n+1]=e[n];e[t]=n}function Fe(e,t){let n=-1,r=1e9;for(let o=0;o<t.length;o++)(t[o]-r||e[o].endSide-e[n].endSide)<0&&(n=o,r=t[o]);return n}function He(e,t,n=e.length){let r=0;for(let o=0;o<n&&o<e.length;)9==e.charCodeAt(o)?(r+=t-r%t,o++):(r++,o=S(e,o));return r}function We(e,t,n,r){for(let r=0,o=0;;){if(o>=t)return r;if(r==e.length)break;o+=9==e.charCodeAt(r)?n-o%n:1,r=S(e,r)}return!0===r?-1:e.length}},20713:function(e,t,n){"use strict";var r=n(69565),o=n(79306),i=n(28551),a=n(1767),s=n(19462),l=n(96319),c=s((function(){var e=this.iterator,t=i(r(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)}));e.exports=function(e){return i(this),o(e),new c(a(this),{mapper:e})}},21323:function(e){e.exports=864e5},21419:function(e,t,n){"use strict";n.d(t,{oQ:function(){return P}});var r=n(48820),o=n(43720);const i=63;class a{constructor(e,t,n){this.parent=e,this.depth=t,this.type=n,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+n}}function s(e,t){for(let n=0,r=t-e.pos-1;;r--,n++){let t=e.peek(r);if(c(t)||-1==t)return n}}function l(e){return 32==e||9==e}function c(e){return 10==e||13==e}function u(e){return l(e)||c(e)}function d(e){return e<0||u(e)}a.top=new a(null,-1,0);const f=new r.Aj({start:a.top,reduce(e,t){return 3!=e.type||20!=t&&34!=t?e:e.parent},shift(e,t,n,r){if(3==t)return new a(e,s(r,r.pos),1);if(65==t||5==t)return new a(e,s(r,r.pos),2);if(t==i)return e.parent;if(19==t||33==t)return new a(e,0,3);if(13==t&&4==e.type)return e.parent;if(47==t){let t=/[1-9]/.exec(r.read(r.pos,n.pos));if(t)return new a(e,e.depth+ +t[0],4)}return e},hash(e){return e.hash}});function h(e,t,n=0){return e.peek(n)==t&&e.peek(n+1)==t&&e.peek(n+2)==t&&d(e.peek(n+3))}const p=new r.Lu(((e,t)=>{if(-1==e.next&&t.canShift(64))return e.acceptToken(64);let n=e.peek(-1);if((c(n)||n<0)&&3!=t.context.type){if(h(e,45)){if(!t.canShift(i))return e.acceptToken(1,3);e.acceptToken(i)}if(h(e,46)){if(!t.canShift(i))return e.acceptToken(2,3);e.acceptToken(i)}let n=0;for(;32==e.next;)n++,e.advance();!(n<t.context.depth)&&(n!=t.context.depth||1!=t.context.type||45==e.next&&d(e.peek(1)))||-1==e.next||c(e.next)||35==e.next||e.acceptToken(i,-n)}}),{contextual:!0}),m=new r.Lu(((e,t)=>{if(3!=t.context.type)if(45==e.next)e.advance(),d(e.next)&&e.acceptToken(1==t.context.type&&t.context.depth==s(e,e.pos-1)?4:3);else if(63==e.next)e.advance(),d(e.next)&&e.acceptToken(2==t.context.type&&t.context.depth==s(e,e.pos-1)?6:5);else{let n=e.pos;for(;;)if(l(e.next)){if(e.pos==n)return;e.advance()}else if(33==e.next)v(e);else{if(38!=e.next){if(42==e.next){y(e);break}if(39==e.next||34==e.next){if(O(e,!0))break;return}if(91==e.next||123==e.next){if(!b(e))return;break}S(e,!0,!1,0);break}y(e)}for(;l(e.next);)e.advance();if(58==e.next){if(e.pos==n&&t.canShift(29))return;d(e.peek(1))&&e.acceptTokenTo(2==t.context.type&&t.context.depth==s(e,n)?66:65,n)}}else 63==e.next&&(e.advance(),d(e.next)&&e.acceptToken(7))}),{contextual:!0});function g(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function A(e,t){return 37==e.next?(e.advance(),g(e.next)&&e.advance(),g(e.next)&&e.advance(),!0):!!((n=e.next)>32&&n<127&&34!=n&&37!=n&&44!=n&&60!=n&&62!=n&&92!=n&&94!=n&&96!=n&&123!=n&&124!=n&&125!=n||t&&44==e.next)&&(e.advance(),!0);var n}function v(e){if(e.advance(),60==e.next){for(e.advance();;)if(!A(e,!0)){62==e.next&&e.advance();break}}else for(;A(e,!1););}function y(e){for(e.advance();!d(e.next)&&"f"!=_(e.tag);)e.advance()}function O(e,t){let n=e.next,r=!1,o=e.pos;for(e.advance();;){let i=e.next;if(i<0)break;if(e.advance(),i==n){if(39!=i)break;if(39!=e.next)break;e.advance()}else if(92==i&&34==n)e.next>=0&&e.advance();else if(c(i)){if(t)return!1;r=!0}else if(t&&e.pos>=o+1024)return!1}return!r}function b(e){for(let t=[],n=e.pos+1024;;)if(91==e.next||123==e.next)t.push(e.next),e.advance();else if(39==e.next||34==e.next){if(!O(e,!0))return!1}else if(93==e.next||125==e.next){if(t[t.length-1]!=e.next-2)return!1;if(t.pop(),e.advance(),!t.length)return!0}else{if(e.next<0||e.pos>n||c(e.next))return!1;e.advance()}}const w="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function _(e){return e<33?"u":e>125?"s":w[e-33]}function x(e,t){let n=_(e);return"u"!=n&&!(t&&"f"==n)}function S(e,t,n,r){if("s"!=_(e.next)&&(63!=e.next&&58!=e.next&&45!=e.next||!x(e.peek(1),n)))return!1;e.advance();let o=e.pos;for(;;){let i=e.next,a=0,s=r+1;for(;u(i);){if(c(i)){if(t)return!1;s=0}else s++;i=e.peek(++a)}if(!(i>=0&&(58==i?x(e.peek(a+1),n):35==i?32!=e.peek(a-1):x(i,n)))||!n&&s<=r||0==s&&!n&&(h(e,45,a)||h(e,46,a)))break;if(t&&"f"==_(i))return!1;for(let t=a;t>=0;t--)e.advance();if(t&&e.pos>o+1024)return!1}return!0}const k=new r.Lu(((e,t)=>{if(33==e.next)v(e),e.acceptToken(12);else if(38==e.next||42==e.next){let t=38==e.next?10:11;y(e),e.acceptToken(t)}else 39==e.next||34==e.next?(O(e,!1),e.acceptToken(9)):S(e,!1,3==t.context.type,t.context.depth)&&e.acceptToken(8)})),C=new r.Lu(((e,t)=>{let n=4==t.context.type?t.context.depth:-1,r=e.pos;e:for(;;){let o=0,i=e.next;for(;32==i;)i=e.peek(++o);if(!o&&(h(e,45,o)||h(e,46,o)))break;if(!c(i)&&(n<0&&(n=Math.max(t.context.depth+1,o)),o<n))break;for(;;){if(e.next<0)break e;let t=c(e.next);if(e.advance(),t)continue e;r=e.pos}}e.acceptTokenTo(13,r)})),B=(0,o.pn)({DirectiveName:o._A.keyword,DirectiveContent:o._A.attributeValue,"DirectiveEnd DocEnd":o._A.meta,QuotedLiteral:o._A.string,BlockLiteralHeader:o._A.special(o._A.string),BlockLiteralContent:o._A.content,Literal:o._A.content,"Key/Literal Key/QuotedLiteral":o._A.definition(o._A.propertyName),"Anchor Alias":o._A.labelName,Tag:o._A.typeName,Comment:o._A.lineComment,": , -":o._A.separator,"?":o._A.punctuation,"[ ]":o._A.squareBracket,"{ }":o._A.brace}),Q=r.U1.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-sQgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|QfO'#DWO.hQcO'#DWOOQR,59v,59vO.yOWO,59vO/OOaO,59vO/WOaO,59vO/cQgO'#D_OOQR,59x,59xO0VQgO'#DaOOQR,59z,59zOOQP,59|,59|O0yOaO,59|O1ROaO,59|O1aOqO,59|OOQP-E7h-E7hO1oQgO,59XOOQP,59X,59XO2PQaO'#DeO2_QgO'#DeO2oQgO'#DkOOQP'#Dk'#DkQ)jQaOOO3PQdO'#CsOOQO,59^,59^O3kQdO'#CuOOQO,59`,59`OOQO,59c,59cO4VQdO,59cO4aQdO'#CzO4kQ`O'#CzOOQO,59b,59bOOQU,5:Q,5:QOOQR1G.v1G.vO4pQ`O1G.vOOQU-E7d-E7dO4xQdO,59kOOQO,59k,59kO5SQdO'#DQO5^Q`O'#DQOOQO,5:d,5:dOOQU,5:R,5:ROOQR1G/U1G/UO5cQ`O1G/UOOQU-E7e-E7eO5kQgO'#DhO5xQcO1G/XOOQR1G/X1G/XOOQR,59q,59qO6TQgO,59qO6eQdO'#DiO6lQgO'#DiO7PQcO1G/[OOQR1G/[1G/[OOQR,59r,59rO#|QfO,59rOOQR1G/b1G/bO7_OWO1G/bO7dOaO1G/bOOQR,59y,59yOOQR,59{,59{OOQP1G/h1G/hO7lOaO1G/hO7tOaO1G/hO8POaO1G/hOOQP1G.s1G.sO8_QgO,5:POOQP,5:P,5:POOQP,5:V,5:VOOQP-E7i-E7iOOQO,59_,59_OOQO,59a,59aOOQO1G.}1G.}OOQO,59f,59fO8oQdO,59fOOQR7+$b7+$bP,XQ`O'#DfOOQO1G/V1G/VOOQO,59l,59lO8yQdO,59lOOQR7+$p7+$pP9TQ`O'#DgOOQR'#DT'#DTOOQR,5:S,5:SOOQR-E7f-E7fOOQR7+$s7+$sOOQR1G/]1G/]O9YQgO'#DYO9jQ`O'#DYOOQR,5:T,5:TO#|QfO'#DZO9oQcO'#DZOOQR-E7g-E7gOOQR7+$v7+$vOOQR1G/^1G/^OOQR7+$|7+$|O:QOWO7+$|OOQP7+%S7+%SO:VOaO7+%SO:_OaO7+%SOOQP1G/k1G/kOOQO1G/Q1G/QOOQO1G/W1G/WOOQR,59t,59tO:jQgO,59tOOQR,59u,59uO#|QfO,59uOOQR<<Hh<<HhOOQP<<Hn<<HnO:zOaO<<HnOOQR1G/`1G/`OOQR1G/a1G/aOOQPAN>YAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:f,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[B],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[p,m,k,C,0,1],topRules:{Stream:[0,15]},tokenPrec:0});var T=n(15874);n(90365);const E=T.bj.define({name:"yaml",parser:Q.configure({props:[T.Oh.add({Stream:e=>{for(let t=e.node.resolve(e.pos,-1);t&&t.to>=e.pos;t=t.parent){if("BlockLiteralContent"==t.name&&t.from<t.to)return e.baseIndentFor(t);if("BlockLiteral"==t.name)return e.baseIndentFor(t)+e.unit;if("BlockSequence"==t.name||"BlockMapping"==t.name)return e.column(t.from,1);if("QuotedLiteral"==t.name)return null;if("Literal"==t.name){let n=e.column(t.from,1);if(n==e.lineIndent(t.from,1))return n;if(t.to>e.pos)return null}}return null},FlowMapping:(0,T.Ay)({closing:"}"}),FlowSequence:(0,T.Ay)({closing:"]"})}),T.b_.add({"FlowMapping FlowSequence":T.yd,"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function P(){return new T.Yy(E)}o._A.meta},21607:function(e,t,n){var r=n(87400),o=n(59988),i=n(99917);e.exports=function(e){return function(t,n){var a=o(t),s=a;if(a){n|=0;var l=i(a).split("."),c=l[0],u=l[1]||"",d=u.substring(0,n+1),f=c+(d?"."+d:"");if(n>=u.length)return o(f);if(f=a,n>0){var h=Math.pow(10,n);s=Math[e](r(f,h))/h}else s=Math[e](f)}return s}}},21640:function(e,t,n){var r=n(40870);e.exports=function(e){return r(e)[0]}},21840:function(e){e.exports=function(){"use strict";return function(e,t,n){var r=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,n,r,i){var a=e.name?e:e.$locale(),s=o(a[t]),l=o(a[n]),c=s||l.map((function(e){return e.slice(0,r)}));if(!i)return c;var u=a.weekStart;return c.map((function(e,t){return c[(t+(u||0))%7]}))},a=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}(e.formats[t.toUpperCase()])},l=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return l.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return i(a(),"months")},n.monthsShort=function(){return i(a(),"monthsShort","months",3)},n.weekdays=function(e){return i(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}}()},21857:function(e,t,n){"use strict";n.d(t,{S2:function(){return _},fg:function(){return x}});var r=n(61431),o=n(91361);const i=Symbol("buttonGroupContextKey");var a=n(49766),s=n(22974),l=n(29357),c=n(72207),u=n(2250),d=n(61951),f=n(65980);function h(e,t=20){return e.mix("#141414",t).toString()}var p=n(78396);const m=(0,r.defineComponent)({name:"ElButton"}),g=(0,r.defineComponent)({...m,props:u.D$,emits:u.ro,setup(e,{expose:t,emit:n}){const u=e,p=function(e){const t=(0,c.CB)(),n=(0,f.DU)("button");return(0,r.computed)((()=>{let r={},o=e.color;if(o){const i=o.match(/var\((.*?)\)/);i&&(o=window.getComputedStyle(window.document.documentElement).getPropertyValue(i[1]));const a=new d.q(o),s=e.dark?a.tint(20).toString():h(a,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?h(a,90):a.tint(90).toString(),"text-color":o,"border-color":e.dark?h(a,50):a.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":o,"hover-border-color":o,"active-bg-color":s,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":s}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?h(a,90):a.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?h(a,50):a.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?h(a,80):a.tint(80).toString());else{const i=e.dark?h(a,30):a.tint(30).toString(),l=a.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":o,"text-color":l,"border-color":o,"hover-bg-color":i,"hover-text-color":l,"hover-border-color":i,"active-bg-color":s,"active-border-color":s}),t.value){const t=e.dark?h(a,50):a.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=t,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=t}}}return r}))}(u),m=(0,f.DU)("button"),{_ref:g,_size:A,_type:v,_disabled:y,_props:O,shouldAddSpace:b,handleClick:w}=((e,t)=>{(0,a.b)({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},(0,r.computed)((()=>"text"===e.type)));const n=(0,r.inject)(i,void 0),o=(0,s.H3)("button"),{form:u}=(0,l.j)(),d=(0,c.NV)((0,r.computed)((()=>null==n?void 0:n.size))),f=(0,c.CB)(),h=(0,r.ref)(),p=(0,r.useSlots)(),m=(0,r.computed)((()=>e.type||(null==n?void 0:n.type)||"")),g=(0,r.computed)((()=>{var t,n,r;return null!=(r=null!=(n=e.autoInsertSpace)?n:null==(t=o.value)?void 0:t.autoInsertSpace)&&r})),A=(0,r.computed)((()=>"button"===e.tag?{ariaDisabled:f.value||e.loading,disabled:f.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{})),v=(0,r.computed)((()=>{var e;const t=null==(e=p.default)?void 0:e.call(p);if(g.value&&1===(null==t?void 0:t.length)){const e=t[0];if((null==e?void 0:e.type)===r.Text){const t=e.children;return/^\p{Unified_Ideograph}{2}$/u.test(t.trim())}}return!1}));return{_disabled:f,_size:d,_type:m,_ref:h,_props:A,shouldAddSpace:v,handleClick:n=>{f.value||e.loading?n.stopPropagation():("reset"===e.nativeType&&(null==u||u.resetFields()),t("click",n))}}})(u,n),_=(0,r.computed)((()=>[m.b(),m.m(v.value),m.m(A.value),m.is("disabled",y.value),m.is("loading",u.loading),m.is("plain",u.plain),m.is("round",u.round),m.is("circle",u.circle),m.is("text",u.text),m.is("link",u.link),m.is("has-bg",u.bg)]));return t({ref:g,size:A,type:v,disabled:y,shouldAddSpace:b}),(e,t)=>((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(e.tag),(0,r.mergeProps)({ref_key:"_ref",ref:g},(0,r.unref)(O),{class:(0,r.unref)(_),style:(0,r.unref)(p),onClick:(0,r.unref)(w)}),{default:(0,r.withCtx)((()=>[e.loading?((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:0},[e.$slots.loading?(0,r.renderSlot)(e.$slots,"loading",{key:0}):((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(o.tk),{key:1,class:(0,r.normalizeClass)((0,r.unref)(m).is("loading"))},{default:(0,r.withCtx)((()=>[((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(e.loadingIcon)))])),_:1},8,["class"]))],64)):e.icon||e.$slots.icon?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(o.tk),{key:1},{default:(0,r.withCtx)((()=>[e.icon?((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(e.icon),{key:0})):(0,r.renderSlot)(e.$slots,"icon",{key:1})])),_:3})):(0,r.createCommentVNode)("v-if",!0),e.$slots.default?((0,r.openBlock)(),(0,r.createElementBlock)("span",{key:2,class:(0,r.normalizeClass)({[(0,r.unref)(m).em("text","expand")]:(0,r.unref)(b)})},[(0,r.renderSlot)(e.$slots,"default")],2)):(0,r.createCommentVNode)("v-if",!0)])),_:3},16,["class","style","onClick"]))}});var A=(0,p.A)(g,[["__file","button.vue"]]);const v={size:u.D$.size,type:u.D$.type},y=(0,r.defineComponent)({name:"ElButtonGroup"}),O=(0,r.defineComponent)({...y,props:v,setup(e){const t=e;(0,r.provide)(i,(0,r.reactive)({size:(0,r.toRef)(t,"size"),type:(0,r.toRef)(t,"type")}));const n=(0,f.DU)("button");return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("div",{class:(0,r.normalizeClass)((0,r.unref)(n).b("group"))},[(0,r.renderSlot)(e.$slots,"default")],2))}});var b=(0,p.A)(O,[["__file","button-group.vue"]]),w=n(64769);const _=(0,w.GU)(A,{ButtonGroup:b}),x=(0,w.WM)(b)},22195:function(e,t,n){"use strict";var r=n(79504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},22355:function(e,t,n){"use strict";n.d(t,{bs:function(){return c},fQ:function(){return u},mf:function(){return s}});var r=n(61431),o=n(50819),i=n(90033),a=n(41651);const s=Symbol("emptyValuesContextKey"),l=["",void 0,null],c=(0,o.b_)({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:e=>(0,i.Tn)(e)?!e():!e}}),u=(e,t)=>{const n=(0,r.getCurrentInstance)()?(0,r.inject)(s,(0,r.ref)({})):(0,r.ref)({}),o=(0,r.computed)((()=>e.emptyValues||n.value.emptyValues||l)),c=(0,r.computed)((()=>(0,i.Tn)(e.valueOnClear)?e.valueOnClear():void 0!==e.valueOnClear?e.valueOnClear:(0,i.Tn)(n.value.valueOnClear)?n.value.valueOnClear():void 0!==n.value.valueOnClear?n.value.valueOnClear:void 0!==t?t:void 0));return o.value.includes(c.value)||(0,a.U)("use-empty-values","value-on-clear should be a value of empty-values"),{emptyValues:o,valueOnClear:c,isEmptyValue:e=>o.value.includes(e)}}},22440:function(e,t,n){n(47829)},22454:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};function n(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var r,o,i=function(e){return function(t){return r=typeof(n=t),(null===n?"null":"object"===r&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"===r&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":r)===e;var n,r}},a=i("string"),s=i("object"),l=i("array"),c=function(){},u=function(e){return function(){return e}},d=function(e){return e},f=u(!1),h=u(!0),p=function(){return m},m={fold:function(e,t){return e()},isSome:f,isNone:h,getOr:o=d,getOrThunk:r=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:u(null),getOrUndefined:u(void 0),or:o,orThunk:r,map:p,each:c,bind:p,exists:f,forall:h,filter:function(){return p()},toArray:function(){return[]},toString:u("none()")},g=function(e){var t=u(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:h,isNone:f,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return g(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:m},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},A={some:g,none:p,from:function(e){return null==e?m:g(e)}},v=Array.prototype.slice,y=Array.prototype.indexOf,O=function(e,t){return n=e,r=t,y.call(n,r)>-1;var n,r},b=function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r},w=function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)},_=function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];t(i,r)&&n.push(i)}return n},x=function(e,t,n){return function(e,t){for(var n=e.length-1;n>=0;n--)t(e[n],n)}(e,(function(e,r){n=t(n,e,r)})),n},S=function(e,t){for(var n=0,r=e.length;n<r;++n)if(!0!==t(e[n],n))return!1;return!0},k=Object.keys,C=Object.hasOwnProperty;!function(e){if(!l(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");var t=[],n={};w(e,(function(r,o){var i=k(r);if(1!==i.length)throw new Error("one and only one name per case");var a=i[0],s=r[a];if(void 0!==n[a])throw new Error("duplicate key detected:"+a);if("cata"===a)throw new Error("cannot have a case named cata (sorry)");if(!l(s))throw new Error("case arguments must be an array");t.push(a),n[a]=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=n.length;if(i!==s.length)throw new Error("Wrong number of arguments to case "+a+". Expected "+s.length+" ("+s+"), got "+i);return{fold:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[o].apply(null,n)},match:function(e){var r=k(e);if(t.length!==r.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+r.join(","));if(!S(t,(function(e){return O(r,e)})))throw new Error("Not all branches were specified when using match. Specified: "+r.join(", ")+"\nRequired: "+t.join(", "));return e[a].apply(null,n)},log:function(e){console.log(e,{constructors:t,constructor:a,params:n})}}}}))}([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]);var B=function(e){var t=[],n=[];return w(e,(function(e){e.fold((function(e){t.push(e)}),(function(e){n.push(e)}))})),{errors:t,values:n}},Q=function(e){return{isValue:h,isError:f,getOr:u(e),getOrThunk:u(e),getOrDie:u(e),or:function(t){return Q(e)},orThunk:function(t){return Q(e)},fold:function(t,n){return n(e)},map:function(t){return Q(t(e))},mapError:function(t){return Q(e)},each:function(t){t(e)},bind:function(t){return t(e)},exists:function(t){return t(e)},forall:function(t){return t(e)},toOptional:function(){return A.some(e)}}},T=function(e){return{isValue:f,isError:h,getOr:d,getOrThunk:function(e){return e()},getOrDie:function(){return(t=String(e),function(){throw new Error(t)})();var t},or:d,orThunk:function(e){return e()},fold:function(t,n){return t(e)},map:function(t){return T(e)},mapError:function(t){return T(t(e))},each:c,bind:function(t){return T(e)},exists:f,forall:h,toOptional:A.none}},E={value:Q,error:T,fromOption:function(e,t){return e.fold((function(){return T(t)}),Q)}},P=function(e){return"inline-command"===e.type||"inline-format"===e.type},$=function(e){return"block-command"===e.type||"block-format"===e.type},M=function(e){return t=e,n=function(e,t){return e.start.length===t.start.length?0:e.start.length>t.start.length?-1:1},(r=v.call(t,0)).sort(n),r;var t,n,r},z=function(e){var t=function(t){return E.error({message:t,pattern:e})},n=function(n,r,o){if(void 0!==e.format){var i=void 0;if(l(e.format)){if(!S(e.format,a))return t(n+" pattern has non-string items in the `format` array");i=e.format}else{if(!a(e.format))return t(n+" pattern has non-string `format` parameter");i=[e.format]}return E.value(r(i))}return void 0!==e.cmd?a(e.cmd)?E.value(o(e.cmd,e.value)):t(n+" pattern has non-string `cmd` parameter"):t(n+" pattern is missing both `format` and `cmd` parameters")};if(!s(e))return t("Raw pattern is not an object");if(!a(e.start))return t("Raw pattern is missing `start` parameter");if(void 0!==e.end){if(!a(e.end))return t("Inline pattern has non-string `end` parameter");if(0===e.start.length&&0===e.end.length)return t("Inline pattern has empty `start` and `end` parameters");var r=e.start,o=e.end;return 0===o.length&&(o=r,r=""),n("Inline",(function(e){return{type:"inline-format",start:r,end:o,format:e}}),(function(e,t){return{type:"inline-command",start:r,end:o,cmd:e,value:t}}))}return void 0!==e.replacement?a(e.replacement)?0===e.start.length?t("Replacement pattern has empty `start` parameter"):E.value({type:"inline-command",start:"",end:e.start,cmd:"mceInsertContent",value:e.replacement}):t("Replacement pattern has non-string `replacement` parameter"):0===e.start.length?t("Block pattern has empty `start` parameter"):n("Block",(function(t){return{type:"block-format",start:e.start,format:t[0]}}),(function(t,n){return{type:"block-command",start:e.start,cmd:t,value:n}}))},R=function(e){return"block-command"===e.type?{start:e.start,cmd:e.cmd,value:e.value}:"block-format"===e.type?{start:e.start,format:e.format}:"inline-command"===e.type?"mceInsertContent"===e.cmd&&""===e.start?{start:e.end,replacement:e.value}:{start:e.start,end:e.end,cmd:e.cmd,value:e.value}:"inline-format"===e.type?{start:e.start,end:e.end,format:1===e.format.length?e.format[0]:e.format}:void 0},D=function(e){return{inlinePatterns:_(e,P),blockPatterns:M(_(e,$))}},I="undefined"!=typeof window?window:Function("return this;")(),N=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=I.console;n&&(n.error?n.error.apply(n,e):n.log.apply(n,e))},L=[{start:"*",end:"*",format:"italic"},{start:"**",end:"**",format:"bold"},{start:"#",format:"h1"},{start:"##",format:"h2"},{start:"###",format:"h3"},{start:"####",format:"h4"},{start:"#####",format:"h5"},{start:"######",format:"h6"},{start:"1. ",cmd:"InsertOrderedList"},{start:"* ",cmd:"InsertUnorderedList"},{start:"- ",cmd:"InsertUnorderedList"}],V=function(e){var t=e.getParam("forced_root_block","p");return!1===t?"":!0===t?"p":t},U=tinymce.util.Tools.resolve("tinymce.util.Delay"),F=tinymce.util.Tools.resolve("tinymce.util.VK"),H=tinymce.util.Tools.resolve("tinymce.util.Tools"),W=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),X=tinymce.util.Tools.resolve("tinymce.dom.TextSeeker"),j=function(e,t){return{container:e,offset:t}},q=function(e){return e.nodeType===Node.TEXT_NODE},Z=function(e,t,n){if(t&&e.isEmpty(t)&&!n(t)){var r=t.parentNode;e.remove(t),Z(e,r,n)}},Y=function(e,t,n,r){void 0===r&&(r=!0);var o=t.startContainer.parentNode,i=t.endContainer.parentNode;t.deleteContents(),r&&!n(t.startContainer)&&(q(t.startContainer)&&0===t.startContainer.data.length&&e.remove(t.startContainer),q(t.endContainer)&&0===t.endContainer.data.length&&e.remove(t.endContainer),Z(e,o,n),o!==i&&Z(e,i,n))},G=function(e,t){var n,r=t.get(e);return l(r)&&(n=r,function(e){return 0<e.length?A.some(e[0]):A.none()}(n)).exists((function(e){return t=e,C.call(t,"block");var t}))},K=function(e){return 0===e.start.length},J=function(e,t){var n=A.from(e.dom.getParent(t.startContainer,e.dom.isBlock));return""===V(e)?n.orThunk((function(){return A.some(e.getBody())})):n},ee=W.DOM,te=function(e){return function(t){return e===t?-1:0}},ne=function(e,t,n){if(q(e)&&t>=0)return A.some(j(e,t));var r=X(ee);return A.from(r.backwards(e,t,te(e),n)).map((function(e){return j(e.container,e.container.data.length)}))},re=function(e,t,n){if(!q(e))return A.none();var r=e.textContent;if(t>=0&&t<=r.length)return A.some(j(e,t));var o=X(ee);return A.from(o.backwards(e,t,te(e),n)).bind((function(e){var r=e.container.data;return re(e.container,t+r.length,n)}))},oe=function(e,t,n){if(!q(e))return A.none();var r=e.textContent;if(t<=r.length)return A.some(j(e,t));var o=X(ee);return A.from(o.forwards(e,t,te(e),n)).bind((function(e){return oe(e.container,t-r.length,n)}))},ie=function(e,t,n){if(q(t)&&(n<0||n>t.data.length))return[];for(var r=[n],o=t;o!==e&&o.parentNode;){for(var i=o.parentNode,a=0;a<i.childNodes.length;a++)if(i.childNodes[a]===o){r.push(a);break}o=i}return o===e?r.reverse():[]},ae=function(e,t,n,r,o){return{start:ie(e,t,n),end:ie(e,r,o)}},se=function(e,t){var n,r,o,i=t.slice(),a=i.pop();return(n=i,r=function(e,t){return e.bind((function(e){return A.from(e.childNodes[t])}))},o=A.some(e),w(n,(function(e,t){o=r(o,e)})),o).bind((function(e){return q(e)&&(a<0||a>e.data.length)?A.none():A.some({node:e,offset:a})}))},le=function(e,t){return se(e,t.start).bind((function(n){var r=n.node,o=n.offset;return se(e,t.end).map((function(e){var t=e.node,n=e.offset,i=document.createRange();return i.setStart(r,o),i.setEnd(t,n),i}))}))},ce=function(e,t,n){(function(e,t,n){if(q(e)&&0>=e.length)return A.some(j(e,0));var r=X(ee);return A.from(r.forwards(e,0,te(e),n)).map((function(e){return j(e.container,0)}))})(t,0,t).each((function(r){var o=r.container;oe(o,n.start.length,t).each((function(n){var r=e.createRng();r.setStart(o,0),r.setEnd(n.container,n.offset),Y(e,r,(function(e){return e===t}))}))}))},ue=function(e,t){var n=e.dom,r=e.selection.getRng();return J(e,r).filter((function(t){var r=V(e),o=""===r&&n.is(t,"body")||n.is(t,r);return null!==t&&o})).bind((function(e){var r=e.textContent,o=function(e,t){var n=t.replace(" "," ");return function(e,t,n){for(var r=0,o=e.length;r<o;r++){var i=e[r];if(t(i,r))return A.some(i);if(n(i,r))break}return A.none()}(e,(function(e){return 0===t.indexOf(e.start)||0===n.indexOf(e.start)}),f)}(t,r);return o.map((function(t){return H.trim(r).length===t.start.length?[]:[{pattern:t,range:ae(n.getRoot(),e,0,e,0)}]}))})).getOr([])},de=0,fe=function(e,t){return e.create("span",{"data-mce-type":"bookmark",id:t})},he=function(e,t){var n=e.createRng();return n.setStartAfter(t.start),n.setEndBefore(t.end),n},pe=function(e,t,n){var r=le(e.getRoot(),n).getOrDie("Unable to resolve path range"),o=r.startContainer,i=r.endContainer,a=0===r.endOffset?i:i.splitText(r.endOffset),s=0===r.startOffset?o:o.splitText(r.startOffset);return{prefix:t,end:a.parentNode.insertBefore(fe(e,t+"-end"),a),start:s.parentNode.insertBefore(fe(e,t+"-start"),s)}},me=function(e,t,n){Z(e,e.get(t.prefix+"-end"),n),Z(e,e.get(t.prefix+"-start"),n)},ge=function(e,t,n,r){var o,i=t.start;return function(e,t,n,r,o){var i=X(e,function(e){return function(t){return e.isBlock(t)||O(["BR","IMG","HR","INPUT"],t.nodeName)||"false"===e.getContentEditable(t)}}(e));return A.from(i.backwards(t,n,r,o))}(e,r.container,r.offset,(o=i,function(e,t){var n=e.data.substring(0,t),r=n.lastIndexOf(o.charAt(o.length-1)),i=n.lastIndexOf(o);return-1!==i?i+o.length:-1!==r?r+1:-1}),n).bind((function(r){if(r.offset>=i.length){var o=e.createRng();return o.setStart(r.container,r.offset-i.length),o.setEnd(r.container,r.offset),A.some(o)}var a=r.offset-i.length;return re(r.container,a,n).map((function(t){var n=e.createRng();return n.setStart(t.container,t.offset),n.setEnd(r.container,r.offset),n})).filter((function(e){return e.toString()===i})).orThunk((function(){return ge(e,t,n,j(r.container,0))}))}))},Ae=function(e,t,n){var r=e.dom,o=r.getRoot(),i=n.pattern,a=n.position.container,s=n.position.offset;return re(a,s-n.pattern.end.length,t).bind((function(l){var c=ae(o,l.container,l.offset,a,s);if(K(i))return A.some({matches:[{pattern:i,startRng:c,endRng:c}],position:l});var u=ve(e,n.remainingPatterns,l.container,l.offset,t),d=u.getOr({matches:[],position:l}),f=d.position,h=function(e,t,n,r,o,i){if(void 0===i&&(i=!1),0===t.start.length&&!i){var a=e.createRng();return a.setStart(n,r),a.setEnd(n,r),A.some(a)}return ne(n,r,o).bind((function(n){return ge(e,t,o,n).bind((function(e){if(i){if(e.endContainer===n.container&&e.endOffset===n.offset)return A.none();if(0===n.offset&&e.endContainer.textContent.length===e.endOffset)return A.none()}return A.some(e)}))}))}(r,i,f.container,f.offset,t,u.isNone());return h.map((function(e){var t=function(e,t){return ae(e,t.startContainer,t.startOffset,t.endContainer,t.endOffset)}(o,e);return{matches:d.matches.concat([{pattern:i,startRng:t,endRng:c}]),position:j(e.startContainer,e.startOffset)}}))}))},ve=function(e,t,n,r,o){var i=e.dom;return ne(n,r,i.getRoot()).bind((function(a){var s=i.createRng();s.setStart(o,0),s.setEnd(n,r);for(var l,c,u=s.toString(),d=0;d<t.length;d++){var f=t[d];if(function(e,t,n){return""===t||e.length>=t.length&&e.substr(n,n+t.length)===t}(l=u,c=f.end,l.length-c.length)){var h=t.slice();h.splice(d,1);var p=Ae(e,o,{pattern:f,remainingPatterns:h,position:a});if(p.isSome())return p}}return A.none()}))},ye=function(e,t,n){e.selection.setRng(n),"inline-format"===t.type?w(t.format,(function(t){e.formatter.apply(t)})):e.execCommand(t.cmd,!1,t.value)},Oe=function(e,t,n){var r=e.selection.getRng();return!1===r.collapsed?[]:J(e,r).bind((function(o){var i=r.startOffset-(n?1:0);return ve(e,t,r.startContainer,i,o)})).fold((function(){return[]}),(function(e){return e.matches}))},be=function(e,n){if(0!==n.length){var r=e.dom,o=e.selection.getBookmark(),i=function(e,n){var r,o=(r=(new Date).getTime(),"mce_textpattern_"+Math.floor(1e9*Math.random())+ ++de+String(r)),i=x(n,(function(n,r){var i=pe(e,o+"_end"+n.length,r.endRng);return n.concat([t(t({},r),{endMarker:i})])}),[]);return x(i,(function(n,r){var a=i.length-n.length-1,s=K(r.pattern)?r.endMarker:pe(e,o+"_start"+a,r.startRng);return n.concat([t(t({},r),{startMarker:s})])}),[])}(r,n);w(i,(function(t){var n=r.getParent(t.startMarker.start,r.isBlock),o=function(e){return e===n};K(t.pattern)?function(e,t,n,r){var o=he(e.dom,n);Y(e.dom,o,r),ye(e,t,o)}(e,t.pattern,t.endMarker,o):function(e,t,n,r,o){var i=e.dom,a=he(i,r),s=he(i,n);Y(i,s,o),Y(i,a,o);var l={prefix:n.prefix,start:n.end,end:r.start},c=he(i,l);ye(e,t,c)}(e,t.pattern,t.startMarker,t.endMarker,o),me(r,t.endMarker,o),me(r,t.startMarker,o)})),e.selection.moveToBookmark(o)}},we=function(e,t){var n=Oe(e,t.inlinePatterns,!0);n.length>0&&e.undoManager.transact((function(){be(e,n)}))},_e=function(e,t,n){for(var r=0;r<e.length;r++)if(n(e[r],t))return!0;return!1},xe=function(e,t){var n=[",",".",";",":","!","?"],r=[32];e.on("keydown",(function(n){13!==n.keyCode||F.modifierPressed(n)||function(e,t){if(!e.selection.isCollapsed())return!1;var n=Oe(e,t.inlinePatterns,!1),r=ue(e,t.blockPatterns);return(r.length>0||n.length>0)&&(e.undoManager.add(),e.undoManager.extra((function(){e.execCommand("mceInsertNewLine")}),(function(){e.insertContent("\ufeff"),be(e,n),function(e,t){if(0!==t.length){var n=e.selection.getBookmark();w(t,(function(t){return function(e,t){var n=e.dom,r=t.pattern,o=le(n.getRoot(),t.range).getOrDie("Unable to resolve path range");return J(e,o).each((function(t){"block-format"===r.type?G(r.format,e.formatter)&&e.undoManager.transact((function(){ce(e.dom,t,r),e.formatter.apply(r.format)})):"block-command"===r.type&&e.undoManager.transact((function(){ce(e.dom,t,r),e.execCommand(r.cmd,!1,r.value)}))})),!0}(e,t)})),e.selection.moveToBookmark(n)}}(e,r);var t=e.selection.getRng(),o=ne(t.startContainer,t.startOffset,e.dom.getRoot());e.execCommand("mceInsertNewLine"),o.each((function(t){var n=t.container;"\ufeff"===n.data.charAt(t.offset-1)&&(n.deleteData(t.offset-1,1),Z(e.dom,n.parentNode,(function(t){return t===e.dom.getRoot()})))}))})),!0)}(e,t.get())&&n.preventDefault()}),!0),e.on("keyup",(function(n){_e(r,n,(function(e,t){return e===t.keyCode&&!1===F.modifierPressed(t)}))&&we(e,t.get())})),e.on("keypress",(function(r){_e(n,r,(function(e,t){return e.charCodeAt(0)===t.charCode}))&&U.setEditorTimeout(e,(function(){we(e,t.get())}))}))};e.add("textpattern",(function(e){var t=function(e){var t=e;return{get:function(){return t},set:function(e){t=e}}}(function(e){var t=e.getParam("textpattern_patterns",L,"array");if(!l(t))return N("The setting textpattern_patterns should be an array"),{inlinePatterns:[],blockPatterns:[]};var n=B(b(t,z));return w(n.errors,(function(e){return N(e.message,e.pattern)})),D(n.values)}(e));return xe(e,t),function(e){return{setPatterns:function(t){var n=B(b(t,z));if(n.errors.length>0){var r=n.errors[0];throw new Error(r.message+":\n"+JSON.stringify(r.pattern,null,2))}e.set(D(n.values))},getPatterns:function(){return n(n([],b(e.get().inlinePatterns,R),!0),b(e.get().blockPatterns,R),!0)}}}(t)}))}()},22480:function(e,t,n){"use strict";var r=n(15215),o=n(49890),i=n(59109),a={},s=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.C6)(t,e),t.prototype.render=function(t,n,r,i){this.axisPointerClass&&o.h_(t),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(t,r,!0)},t.prototype.updateAxisPointer=function(e,t,n,r){this._doUpdateAxisPointerClass(e,n,!1)},t.prototype.remove=function(e,t){var n=this._axisPointer;n&&n.remove(t)},t.prototype.dispose=function(t,n){this._disposeAxisPointer(n),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(e,n,r){var i=t.getAxisPointerClass(this.axisPointerClass);if(i){var a=o.mg(e);a?(this._axisPointer||(this._axisPointer=new i)).render(e,a,n,r):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,t){a[e]=t},t.getAxisPointerClass=function(e){return e&&a[e]},t.type="axis",t}(i.A);t.A=s},22489:function(e,t,n){"use strict";var r=n(46518),o=n(69565),i=n(79306),a=n(28551),s=n(1767),l=n(19462),c=n(96319),u=n(96395),d=l((function(){for(var e,t,n=this.iterator,r=this.predicate,i=this.next;;){if(e=a(o(i,n)),this.done=!!e.done)return;if(t=e.value,c(n,r,[t,this.counter++],!0))return t}}));r({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function(e){return a(this),i(e),new d(s(this),{predicate:e})}})},22498:function(e){e.exports=function(e){return e.getMonth()}},22612:function(){!function(){"use strict";var e=function(e){var t=e;return{get:function(){return t},set:function(e){t=e}}},t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=function(e){return function(t){return r=typeof(n=t),(null===n?"null":"object"===r&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"===r&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":r)===e;var n,r}},r=function(e){return function(t){return typeof t===e}},o=n("string"),i=n("array"),a=r("boolean"),s=function(e){return!function(e){return null==e}(e)},l=r("function"),c=r("number"),u=function(){},d=function(e){return function(){return e}};function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=t.concat(n);return e.apply(null,o)}}var h,p,m=d(!1),g=d(!0),A=function(){return v},v={fold:function(e,t){return e()},isSome:m,isNone:g,getOr:p=function(e){return e},getOrThunk:h=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:d(null),getOrUndefined:d(void 0),or:p,orThunk:h,map:A,each:u,bind:A,exists:m,forall:g,filter:function(){return A()},toArray:function(){return[]},toString:d("none()")},y=function(e){var t=d(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:g,isNone:m,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return y(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:v},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},O={some:y,none:A,from:function(e){return null==e?v:y(e)}},b=function(){return b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},b.apply(this,arguments)},w=function(t){var n=e(O.none()),r=function(){return n.get().each(t)};return{clear:function(){r(),n.set(O.none())},isSet:function(){return n.get().isSome()},get:function(){return n.get()},set:function(e){r(),n.set(O.some(e))}}},_=function(){return w((function(e){return e.unbind()}))},x=Array.prototype.push,S=function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r},k=function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)},C=function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];t(i,r)&&n.push(i)}return n},B=function(e,t){return function(e,t,n){for(var r=0,o=e.length;r<o;r++){var i=e[r];if(t(i,r))return O.some(i);if(n(i,r))break}return O.none()}(e,t,m)},Q=Object.keys,T=function(e,t){return-1!==e.indexOf(t)},E=function(e){return void 0!==e.style&&l(e.style.getPropertyValue)},P=function(e){if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},$=P;"undefined"!=typeof window?window:Function("return this;")();var M=function(e){return function(t){return function(e){return e.dom.nodeType}(t)===e}},z=M(1),R=M(3),D=M(9),I=M(11),N=function(){return L(0,0)},L=function(e,t){return{major:e,minor:t}},V={nu:L,detect:function(e,t){var n=String(t).toLowerCase();return 0===e.length?N():function(e,t){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.test(t))return r}}(e,t);if(!n)return{major:0,minor:0};var r=function(e){return Number(t.replace(n,"$"+e))};return L(r(1),r(2))}(e,n)},unknown:N},U=function(e,t){var n=String(t).toLowerCase();return B(e,(function(e){return e.search(n)}))},F=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,H=function(e){return function(t){return T(t,e)}},W=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return T(e,"edge/")&&T(e,"chrome")&&T(e,"safari")&&T(e,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,F],search:function(e){return T(e,"chrome")&&!T(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return T(e,"msie")||T(e,"trident")}},{name:"Opera",versionRegexes:[F,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:H("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:H("firefox")},{name:"Safari",versionRegexes:[F,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(T(e,"safari")||T(e,"mobile/"))&&T(e,"applewebkit")}}],X=[{name:"Windows",search:H("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return T(e,"iphone")||T(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:H("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:H("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:H("linux"),versionRegexes:[]},{name:"Solaris",search:H("sunos"),versionRegexes:[]},{name:"FreeBSD",search:H("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:H("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],j={browsers:d(W),oses:d(X)},q="Edge",Z="Chrome",Y="Opera",G="Firefox",K="Safari",J=function(e){var t=e.current,n=e.version,r=function(e){return function(){return t===e}};return{current:t,version:n,isEdge:r(q),isChrome:r(Z),isIE:r("IE"),isOpera:r(Y),isFirefox:r(G),isSafari:r(K)}},ee=function(){return J({current:void 0,version:V.unknown()})},te=J,ne=(d(q),d(Z),d("IE"),d(Y),d(G),d(K),"Windows"),re="Android",oe="Linux",ie="Solaris",ae="FreeBSD",se="ChromeOS",le=function(e){var t=e.current,n=e.version,r=function(e){return function(){return t===e}};return{current:t,version:n,isWindows:r(ne),isiOS:r("iOS"),isAndroid:r(re),isOSX:r("OSX"),isLinux:r(oe),isSolaris:r(ie),isFreeBSD:r(ae),isChromeOS:r(se)}},ce=function(){return le({current:void 0,version:V.unknown()})},ue=le,de=(d(ne),d("iOS"),d(re),d(oe),d("OSX"),d(ie),d(ae),d(se),function(e,t,n){var r=j.browsers(),o=j.oses(),i=t.bind((function(e){return function(e,t){return function(e,t){for(var n=0;n<e.length;n++){var r=t(e[n]);if(r.isSome())return r}return O.none()}(t.brands,(function(t){var n=t.brand.toLowerCase();return B(e,(function(e){var t;return n===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((function(e){return{current:e.name,version:V.nu(parseInt(t.version,10),0)}}))}))}(r,e)})).orThunk((function(){return function(e,t){return U(e,t).map((function(e){var n=V.detect(e.versionRegexes,t);return{current:e.name,version:n}}))}(r,e)})).fold(ee,te),a=function(e,t){return U(e,t).map((function(e){var n=V.detect(e.versionRegexes,t);return{current:e.name,version:n}}))}(o,e).fold(ce,ue),s=function(e,t,n,r){var o=e.isiOS()&&!0===/ipad/i.test(n),i=e.isiOS()&&!o,a=e.isiOS()||e.isAndroid(),s=a||r("(pointer:coarse)"),l=o||!i&&a&&r("(min-device-width:768px)"),c=i||a&&!l,u=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),f=!c&&!l&&!u;return{isiPad:d(o),isiPhone:d(i),isTablet:d(l),isPhone:d(c),isTouch:d(s),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:d(u),isDesktop:d(f)}}(a,i,e,n);return{browser:i,os:a,deviceType:s}}),fe=function(e){return window.matchMedia(e).matches},he=function(e){var t,n=!1;return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return n||(n=!0,t=e.apply(null,r)),t}}((function(){return de(navigator.userAgent,O.from(navigator.userAgentData),fe)})),pe=function(e,t){var n=e.dom;if(1!==n.nodeType)return!1;var r=n;if(void 0!==r.matches)return r.matches(t);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(t);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")},me=function(e){return $(e.dom.ownerDocument)},ge=function(e){return S(e.dom.childNodes,$)},Ae=l(Element.prototype.attachShadow)&&l(Node.prototype.getRootNode),ve=d(Ae),ye=Ae?function(e){return $(e.dom.getRootNode())}:function(e){return D(e)?e:me(e)},Oe=function(e){var t,n=ye(e);return I(t=n)&&s(t.dom.host)?O.some(n):O.none()},be=function(e){return $(e.dom.host)},we=function(e){var t=R(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;var n,r,o=t.ownerDocument;return Oe($(t)).fold((function(){return o.body.contains(t)}),(n=we,r=be,function(e){return n(r(e))}))},_e=function(e,t){var n=e.dom.getAttribute(t);return null===n?void 0:n},xe=function(e,t){e.dom.removeAttribute(t)},Se=function(e,t){var n=e.dom;!function(e,t){for(var n=Q(e),r=0,o=n.length;r<o;r++){var i=n[r];t(e[i],i)}}(t,(function(e,t){!function(e,t,n){if(!o(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);E(e)&&e.style.setProperty(t,n)}(n,t,e)}))},ke=function(e){var t,n,r=$(function(e){if(ve()&&s(e.target)){var t=$(e.target);if(z(t)&&s(t.dom.shadowRoot)&&e.composed&&e.composedPath){var n=e.composedPath();if(n)return function(e){return 0<e.length?O.some(e[0]):O.none()}(n)}}return O.from(e.target)}(e).getOr(e.target)),o=function(){return e.stopPropagation()},i=function(){return e.preventDefault()},a=(t=i,n=o,function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t(n.apply(null,e))});return function(e,t,n,r,o,i,a){return{target:e,x:t,y:n,stop:r,prevent:o,kill:i,raw:a}}(r,e.clientX,e.clientY,o,i,a,e)},Ce=function(e,t,n,r){e.dom.removeEventListener(t,n,r)},Be=g,Qe=function(e,t,n){return function(e,t,n,r){return function(e,t,n,r,o){var i=function(e,t){return function(n){e(n)&&t(ke(n))}}(n,r);return e.dom.addEventListener(t,i,o),{unbind:f(Ce,e,t,i,o)}}(e,t,n,r,!1)}(e,t,Be,n)},Te=function(e,t){return{left:e,top:t,translate:function(n,r){return Te(e+n,t+r)}}},Ee=Te,Pe=function(e){var t=void 0===e?window:e;return he().browser.isFirefox()?O.none():O.from(t.visualViewport)},$e=function(e,t,n,r){return{x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}},Me=function(e){var t=void 0===e?window:e,n=t.document,r=function(e){var t=void 0!==e?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return Ee(n,r)}($(n));return Pe(t).fold((function(){var e=t.document.documentElement,n=e.clientWidth,o=e.clientHeight;return $e(r.left,r.top,n,o)}),(function(e){return $e(Math.max(e.pageLeft,r.left),Math.max(e.pageTop,r.top),e.width,e.height)}))},ze=function(e,t,n){return Pe(n).map((function(n){var r=function(e){return t(ke(e))};return n.addEventListener(e,r),{unbind:function(){return n.removeEventListener(e,r)}}})).getOrThunk((function(){return{unbind:u}}))},Re=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),De=tinymce.util.Tools.resolve("tinymce.Env"),Ie=tinymce.util.Tools.resolve("tinymce.util.Delay"),Ne=function(e,t){e.fire("FullscreenStateChanged",{state:t})},Le=function(e){return e.getParam("fullscreen_native",!1,"boolean")},Ve=function(e){return e.dom===(void 0!==(t=me(e).dom).fullscreenElement?t.fullscreenElement:void 0!==t.msFullscreenElement?t.msFullscreenElement:void 0!==t.webkitFullscreenElement?t.webkitFullscreenElement:null);var t},Ue=function(e,t,n){return function(e,t,n){return C(function(e,t){for(var n=l(t)?t:m,r=e.dom,o=[];null!==r.parentNode&&void 0!==r.parentNode;){var i=r.parentNode,a=$(i);if(o.push(a),!0===n(a))break;r=i}return o}(e,n),t)}(e,(function(e){return pe(e,t)}),n)},Fe=function(e,t){return function(e){return C(function(e){return O.from(e.dom.parentNode).map($)}(n=e).map(ge).map((function(e){return C(e,(function(e){return t=e,!(n.dom===t.dom);var t}))})).getOr([]),(function(e){return pe(e,t)}));var n}(e)},He="data-ephox-mobile-fullscreen-style",We="position:absolute!important;",Xe="top:0!important;left:0!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:visible!important;",je=De.os.isAndroid(),qe=function(e){var t=function(e,t){var n=e.dom,r=window.getComputedStyle(n).getPropertyValue(t);return""!==r||we(e)?r:function(e,t){return E(e)?e.style.getPropertyValue(t):""}(n,t)}(e,"background-color");return void 0!==t&&""!==t?"background-color:"+t+"!important":"background-color:rgb(255,255,255)!important;"},Ze=Re.DOM,Ye=Pe().fold((function(){return{bind:u,unbind:u}}),(function(e){var t,n=(t=w(u),b(b({},t),{on:function(e){return t.get().each(e)}})),r=_(),o=_(),i=Ie.throttle((function(){document.body.scrollTop=0,document.documentElement.scrollTop=0,window.requestAnimationFrame((function(){n.on((function(t){return Se(t,{top:e.offsetTop+"px",left:e.offsetLeft+"px",height:e.height+"px",width:e.width+"px"})}))}))}),50);return{bind:function(e){n.set(e),i(),r.set(ze("resize",i)),o.set(ze("scroll",i))},unbind:function(){n.on((function(){r.clear(),o.clear()})),n.clear()}}})),Ge=function(e,t){var n,r,s,l=document.body,u=document.documentElement,d=e.getContainer(),f=$(d),h=function(e){var t=$(e.getElement());return Oe(t).map(be).getOrThunk((function(){return function(e){var t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return $(t)}(me(t))}))}(e),p=t.get(),m=$(e.getBody()),g=De.deviceType.isTouch(),A=d.style,v=e.iframeElement.style,y=function(e){e(l,"tox-fullscreen"),e(u,"tox-fullscreen"),e(d,"tox-fullscreen"),Oe(f).map((function(e){return be(e).dom})).each((function(t){e(t,"tox-fullscreen"),e(t,"tox-shadowhost")}))},b=function(){var n,r;g&&(n=e.dom,r=function(e){var t,n=document;return 1!==(t=n).nodeType&&9!==t.nodeType&&11!==t.nodeType||0===t.childElementCount?[]:S(n.querySelectorAll(e),$)}("["+He+"]"),k(r,(function(e){var t=_e(e,He);"no-styles"!==t?Se(e,n.parseStyle(t)):xe(e,"style"),xe(e,He)}))),y(Ze.removeClass),Ye.unbind(),O.from(t.get()).each((function(e){return e.fullscreenChangeHandler.unbind()}))};if(p)p.fullscreenChangeHandler.unbind(),Le(e)&&Ve(h)&&((r=me(h).dom).exitFullscreen?r.exitFullscreen():r.msExitFullscreen?r.msExitFullscreen():r.webkitCancelFullScreen&&r.webkitCancelFullScreen()),v.width=p.iframeWidth,v.height=p.iframeHeight,A.width=p.containerWidth,A.height=p.containerHeight,A.top=p.containerTop,A.left=p.containerLeft,n=p.scrollPos,window.scrollTo(n.x,n.y),t.set(null),Ne(e,!1),b(),e.off("remove",b);else{var w=Qe(me(h),void 0!==document.fullscreenElement?"fullscreenchange":void 0!==document.msFullscreenElement?"MSFullscreenChange":void 0!==document.webkitFullscreenElement?"webkitfullscreenchange":"fullscreenchange",(function(n){Le(e)&&(Ve(h)||null===t.get()||Ge(e,t))})),_={scrollPos:Me(window),containerWidth:A.width,containerHeight:A.height,containerTop:A.top,containerLeft:A.left,iframeWidth:v.width,iframeHeight:v.height,fullscreenChangeHandler:w};g&&function(e,t,n){var r=function(t){return function(n){var r=_e(n,"style"),i=void 0===r?"no-styles":r.trim();i!==t&&(function(e,t,n){!function(e,t,n){if(!(o(n)||a(n)||c(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")}(e.dom,t,n)}(n,He,i),Se(n,e.parseStyle(t)))}},s=Ue(t,"*"),l=function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!i(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);x.apply(t,e[n])}return t}(S(s,(function(e){return Fe(e,"*:not(.tox-silver-sink)")}))),u=qe(n);k(l,r("display:none!important;")),k(s,r(We+Xe+u)),r((!0===je?"":We)+Xe+u)(t)}(e.dom,f,m),v.width=v.height="100%",A.width=A.height="",y(Ze.addClass),Ye.bind(f),e.on("remove",b),t.set(_),Le(e)&&((s=h.dom).requestFullscreen?s.requestFullscreen():s.msRequestFullscreen?s.msRequestFullscreen():s.webkitRequestFullScreen&&s.webkitRequestFullScreen()),Ne(e,!0)}},Ke=function(e,t){return function(n){n.setActive(null!==t.get());var r=function(e){return n.setActive(e.state)};return e.on("FullscreenStateChanged",r),function(){return e.off("FullscreenStateChanged",r)}}};t.add("fullscreen",(function(t){var n=e(null);return t.inline||(function(e,t){e.addCommand("mceFullScreen",(function(){Ge(e,t)}))}(t,n),function(e,t){var n=function(){return e.execCommand("mceFullScreen")};e.ui.registry.addToggleMenuItem("fullscreen",{text:"Fullscreen",icon:"fullscreen",shortcut:"Meta+Shift+F",onAction:n,onSetup:Ke(e,t)}),e.ui.registry.addToggleButton("fullscreen",{tooltip:"Fullscreen",icon:"fullscreen",onAction:n,onSetup:Ke(e,t)})}(t,n),t.addShortcut("Meta+Shift+F","","mceFullScreen")),function(e){return{isFullscreen:function(){return null!==e.get()}}}(n)}))}()},22720:function(e,t,n){"use strict";n.d(t,{AI:function(){return p},C8:function(){return g},D_:function(){return _},Kg:function(){return v},TO:function(){return Q},Tn:function(){return A},Uo:function(){return S},V7:function(){return k},bW:function(){return x},k3:function(){return C},lQ:function(){return y},oc:function(){return m},rd:function(){return B},uA:function(){return p},un:function(){return O},x_:function(){return b}});var r,o=n(12189),i=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,d=(e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&d(e,n,t[n]);if(l)for(var n of l(t))u.call(t,n)&&d(e,n,t[n]);return e},h=(e,t)=>a(e,s(t));function p(e,t){var n;const r=(0,o.IJ)();return(0,o.nTw)((()=>{r.value=e()}),h(f({},t),{flush:null!=(n=null==t?void 0:t.flush)?n:"sync"})),(0,o.tBZ)(r)}const m="undefined"!=typeof window,g=e=>void 0!==e,A=(Object.prototype.toString,e=>"function"==typeof e),v=e=>"string"==typeof e,y=()=>{},O=m&&(null==(r=null==window?void 0:window.navigator)?void 0:r.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function b(e){return"function"==typeof e?e():(0,o.R1X)(e)}function w(e,t){return function(...n){return new Promise(((r,o)=>{Promise.resolve(e((()=>t.apply(this,n)),{fn:t,thisArg:this,args:n})).then(r).catch(o)}))}}function _(e){return e}function x(e,t){let n,r,i;const a=(0,o.KRz)(!0),s=()=>{a.value=!0,i()};(0,o.wBe)(e,s,{flush:"sync"});const l=A(t)?t:t.get,c=A(t)?void 0:t.set,u=(0,o.rYL)(((e,t)=>(r=e,i=t,{get(){return a.value&&(n=l(),a.value=!1),r(),n},set(e){null==c||c(e)}})));return Object.isExtensible(u)&&(u.trigger=s),u}function S(e){return!!(0,o.o55)()&&((0,o.jr2)(e),!0)}function k(e,t=200,n={}){const r=(0,o.KRz)(e.value),i=function(e,t=200,n={}){return w(function(e,t={}){let n,r,o=y;const i=e=>{clearTimeout(e),o(),o=y};return a=>{const s=b(e),l=b(t.maxWait);return n&&i(n),s<=0||void 0!==l&&l<=0?(r&&(i(r),r=null),Promise.resolve(a())):new Promise(((e,c)=>{o=t.rejectOnCancel?c:e,l&&!r&&(r=setTimeout((()=>{n&&i(n),r=null,e(a())}),l)),n=setTimeout((()=>{r&&i(r),r=null,e(a())}),s)}))}}(t,n),e)}((()=>{r.value=e.value}),t,n);return(0,o.wBe)(e,(()=>i())),r}function C(e,t=200,n=!1,r=!0,o=!1){return w(function(e,t=!0,n=!0,r=!1){let o,i,a=0,s=!0,l=y;const c=()=>{o&&(clearTimeout(o),o=void 0,l(),l=y)};return u=>{const d=b(e),f=Date.now()-a,h=()=>i=u();return c(),d<=0?(a=Date.now(),h()):(f>d&&(n||!s)?(a=Date.now(),h()):t&&(i=new Promise(((e,t)=>{l=r?t:e,o=setTimeout((()=>{a=Date.now(),s=!0,e(h()),c()}),Math.max(0,d-f))}))),n||o||(o=setTimeout((()=>s=!0),d)),s=!1,i)}}(t,n,r,o),e)}function B(e,t=!0){(0,o.nIK)()?(0,o.sV8)(e):t?e():(0,o.dYV)(e)}function Q(e,t,n={}){const{immediate:r=!0}=n,i=(0,o.KRz)(!1);let a=null;function s(){a&&(clearTimeout(a),a=null)}function l(){i.value=!1,s()}function c(...n){s(),i.value=!0,a=setTimeout((()=>{i.value=!1,a=null,e(...n)}),b(t))}return r&&(i.value=!0,m&&c()),S(l),{isPending:(0,o.tBZ)(i),start:c,stop:l}}o.Sg5,o.Sg5,o.Sg5,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable},22759:function(e,t,n){"use strict";var r=n(98026);t.A=function(e){this.otherDims={},null!=e&&r.extend(this,e)}},22810:function(e){e.exports=function(e){return e.getFullYear()}},22812:function(e){"use strict";var t=TypeError;e.exports=function(e,n){if(e<n)throw new t("Not enough arguments");return e}},22946:function(e,t,n){var r=n(73971),o=typeof Set!==r;e.exports=function(e){return o&&e instanceof Set}},22974:function(e,t,n){"use strict";n.d(t,{Vh:function(){return m},ht:function(){return p},H3:function(){return h}});var r=n(61431);const o=Symbol();var i=n(65980),a=n(14656),s=n(87404),l=n(838),c=n(22355),u=n(41651),d=n(55158);const f=(0,r.ref)();function h(e,t=void 0){const n=(0,r.getCurrentInstance)()?(0,r.inject)(o,f):f;return e?(0,r.computed)((()=>{var r,o;return null!=(o=null==(r=n.value)?void 0:r[e])?o:t})):n}function p(e,t){const n=h(),o=(0,i.DU)(e,(0,r.computed)((()=>{var e;return(null==(e=n.value)?void 0:e.namespace)||i.Lt}))),l=(0,s.Ym)((0,r.computed)((()=>{var e;return null==(e=n.value)?void 0:e.locale}))),c=(0,a.YK)((0,r.computed)((()=>{var e;return(null==(e=n.value)?void 0:e.zIndex)||a._}))),u=(0,r.computed)((()=>{var e;return(0,r.unref)(t)||(null==(e=n.value)?void 0:e.size)||""}));return m((0,r.computed)((()=>(0,r.unref)(n)||{}))),{ns:o,locale:l,zIndex:c,size:u}}const m=(e,t,n=!1)=>{var d;const p=!!(0,r.getCurrentInstance)(),m=p?h():void 0,A=null!=(d=null==t?void 0:t.provide)?d:p?r.provide:void 0;if(!A)return void(0,u.U)("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");const v=(0,r.computed)((()=>{const t=(0,r.unref)(e);return(null==m?void 0:m.value)?g(m.value,t):t}));return A(o,v),A(s.vx,(0,r.computed)((()=>v.value.locale))),A(i.O5,(0,r.computed)((()=>v.value.namespace))),A(a.d4,(0,r.computed)((()=>v.value.zIndex))),A(l.SN,{size:(0,r.computed)((()=>v.value.size||""))}),A(c.mf,(0,r.computed)((()=>({emptyValues:v.value.emptyValues,valueOnClear:v.value.valueOnClear})))),!n&&f.value||(f.value=v.value),v},g=(e,t)=>{const n=[...new Set([...(0,d.YD)(e),...(0,d.YD)(t)])],r={};for(const o of n)r[o]=void 0!==t[o]?t[o]:e[o];return r}},22997:function(e,t,n){var r=n(50026),o=n(59988);e.exports=function(e,t){return r(o(e),o(t))}},23071:function(e,t,n){"use strict";n.d(t,{G9:function(){return d},Gt:function(){return f},OC:function(){return c},PU:function(){return h},ln:function(){return u},ps:function(){return l},sc:function(){return a}});var r=n(48170),o=n(98026),i=n(13430),a={Must:1,Might:2,Not:3},s=(0,r.$r)();function l(e){s(e).datasetMap=(0,o.createHashMap)()}function c(e,t,n){var r={},i=d(t);if(!i||!e)return r;var a,l,c=[],u=[],f=t.ecModel,h=s(f).datasetMap,p=i.uid+"_"+n.seriesLayoutBy;e=e.slice(),(0,o.each)(e,(function(t,n){var i=(0,o.isObject)(t)?t:e[n]={name:t};"ordinal"===i.type&&null==a&&(a=n,l=A(i)),r[i.name]=[]}));var m=h.get(p)||h.set(p,{categoryWayDim:l,valueWayDim:0});function g(e,t,n){for(var r=0;r<n;r++)e.push(t+r)}function A(e){var t=e.dimsDef;return t?t.length:1}return(0,o.each)(e,(function(e,t){var n=e.name,o=A(e);if(null==a){var i=m.valueWayDim;g(r[n],i,o),g(u,i,o),m.valueWayDim+=o}else a===t?(g(r[n],0,o),g(c,0,o)):(i=m.categoryWayDim,g(r[n],i,o),g(u,i,o),m.categoryWayDim+=o)})),c.length&&(r.itemName=c),u.length&&(r.seriesName=u),r}function u(e,t,n){var r={};if(!d(e))return r;var s,l=t.sourceFormat,c=t.dimensionsDefine;l!==i.Wk&&l!==i.t1||(0,o.each)(c,(function(e,t){"name"===((0,o.isObject)(e)?e.name:e)&&(s=t)}));var u=function(){for(var e={},r={},o=[],i=0,u=Math.min(5,n);i<u;i++){var d=p(t.data,l,t.seriesLayoutBy,c,t.startIndex,i);o.push(d);var f=d===a.Not;if(f&&null==e.v&&i!==s&&(e.v=i),(null==e.n||e.n===e.v||!f&&o[e.n]===a.Not)&&(e.n=i),h(e)&&o[e.n]!==a.Not)return e;f||(d===a.Might&&null==r.v&&i!==s&&(r.v=i),null!=r.n&&r.n!==r.v||(r.n=i))}function h(e){return null!=e.v&&null!=e.n}return h(e)?e:h(r)?r:null}();if(u){r.value=[u.v];var f=null!=s?s:u.n;r.itemName=[f],r.seriesName=[f]}return r}function d(e){if(!e.get("data",!0))return(0,r.JO)(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},r.US).models[0]}function f(e){return e.get("transform",!0)||e.get("fromTransformResult",!0)?(0,r.JO)(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},r.US).models:[]}function h(e,t){return p(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function p(e,t,n,s,l,c){var u,d,f;if((0,o.isTypedArray)(e))return a.Not;if(s){var h=s[c];(0,o.isObject)(h)?(d=h.name,f=h.type):(0,o.isString)(h)&&(d=h)}if(null!=f)return"ordinal"===f?a.Must:a.Not;if(t===i.Km){var p=e;if(n===i.oC){for(var m=p[c],g=0;g<(m||[]).length&&g<5;g++)if(null!=(u=_(m[l+g])))return u}else for(g=0;g<p.length&&g<5;g++){var A=p[l+g];if(A&&null!=(u=_(A[c])))return u}}else if(t===i.Wk){var v=e;if(!d)return a.Not;for(g=0;g<v.length&&g<5;g++)if((b=v[g])&&null!=(u=_(b[d])))return u}else if(t===i.t1){var y=e;if(!d)return a.Not;if(!(m=y[d])||(0,o.isTypedArray)(m))return a.Not;for(g=0;g<m.length&&g<5;g++)if(null!=(u=_(m[g])))return u}else if(t===i.mK){var O=e;for(g=0;g<O.length&&g<5;g++){var b=O[g],w=(0,r.vj)(b);if(!(0,o.isArray)(w))return a.Not;if(null!=(u=_(w[c])))return u}}function _(e){var t=(0,o.isString)(e);return null!=e&&Number.isFinite(Number(e))&&""!==e?t?a.Might:a.Not:t&&"-"!==e?a.Must:void 0}return a.Not}},23149:function(e,t){"use strict";t.A=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},23167:function(e,t,n){"use strict";var r=n(94901),o=n(20034),i=n(52967);e.exports=function(e,t,n){var a,s;return i&&r(a=t.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},23193:function(e,t,n){var r=n(85860);e.exports=function(){return r(arguments)}},23205:function(e,t,n){"use strict";n.d(t,{O:function(){return l}});var r=n(61431),o=n(63753),i=n(41651);const a=["class","style"],s=/^on[A-Z]/,l=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,l=(0,r.computed)((()=>((null==n?void 0:n.value)||[]).concat(a))),c=(0,r.getCurrentInstance)();return c?(0,r.computed)((()=>{var e;return(0,o.A)(Object.entries(null==(e=c.proxy)?void 0:e.$attrs).filter((([e])=>!(l.value.includes(e)||t&&s.test(e)))))})):((0,i.U)("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),(0,r.computed)((()=>({}))))}},23421:function(e,t,n){"use strict";n.d(t,{FQ:function(){return wt},Ng:function(){return mn},p5:function(){return Nn},El:function(){return gt},zm:function(){return An},Zf:function(){return gn},AS:function(){return vn},Bo:function(){return Qn},FP:function(){return yn},aQ:function(){return On},ZB:function(){return Dn},Ts:function(){return pn},OH:function(){return Cn},pX:function(){return Bn},Oh:function(){return Tn},Ej:function(){return Mn},E:function(){return ct.E},mz:function(){return Rn},cf:function(){return xn},tb:function(){return Sn},lP:function(){return wn},qg:function(){return _n},bf:function(){return bn},iY:function(){return In},xV:function(){return kn},AF:function(){return En},vV:function(){return zn},rE:function(){return mt}});var r=n(15215),o=n(23442),i=n(98026),a=n(38123),s=n(83470),l=n(57861),c=n(48170),u=n(5202),d=n(15915),f="";"undefined"!=typeof navigator&&(f=navigator.platform||"");var h,p,m,g="rgba(0, 0, 0, 0.2)",A={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:g,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:g,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:g,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:g,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:g,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:g,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:f.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},v=n(23071),y=n(7442),O=n(96501),b="\0_ec_inner",w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.init=function(e,t,n,r,o,i){r=r||{},this.option=null,this._theme=new u.A(r),this._locale=new u.A(o),this._optionManager=i},t.prototype.setOption=function(e,t,n){var r=S(t);this._optionManager.setOption(e,n,r),this._resetOption(null,r)},t.prototype.resetOption=function(e,t){return this._resetOption(e,S(t))},t.prototype._resetOption=function(e,t){var n=!1,r=this._optionManager;if(!e||"recreate"===e){var o=r.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this._mergeOption(o,t)):m(this,o),n=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var a=r.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,t))}if(!e||"recreate"===e||"media"===e){var s=r.getMediaOption(this);s.length&&(0,i.each)(s,(function(e){n=!0,this._mergeOption(e,t)}),this)}return n},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,t){var n=this.option,r=this._componentsMap,o=this._componentsCount,a=[],s=(0,i.createHashMap)(),l=t&&t.replaceMergeMainTypeMap;(0,v.ps)(this),(0,i.each)(e,(function(e,t){null!=e&&(d.A.hasClass(t)?t&&(a.push(t),s.set(t,!0)):n[t]=null==n[t]?(0,i.clone)(e):(0,i.merge)(n[t],e,!0))})),l&&l.each((function(e,t){d.A.hasClass(t)&&!s.get(t)&&(a.push(t),s.set(t,!0))})),d.A.topologicalTravel(a,d.A.getAllClassMainTypes(),(function(t){var a=(0,y.a)(this,t,c.qB(e[t])),s=r.get(t),u=s?l&&l.get(t)?"replaceMerge":"normalMerge":"replaceAll",f=c.O2(s,a,u);c.GX(f,t,d.A),n[t]=null,r.set(t,null),o.set(t,0);var p,m=[],g=[],A=0;(0,i.each)(f,(function(e,n){var r=e.existing,o=e.newOption;if(o){var a="series"===t,s=d.A.getClass(t,e.keyInfo.subType,!a);if(!s)return;if("tooltip"===t){if(p)return;p=!0}if(r&&r.constructor===s)r.name=e.keyInfo.name,r.mergeOption(o,this),r.optionUpdated(o,!1);else{var l=(0,i.extend)({componentIndex:n},e.keyInfo);r=new s(o,this,this,l),(0,i.extend)(r,l),e.brandNew&&(r.__requireNewView=!0),r.init(o,this,this),r.optionUpdated(null,!0)}}else r&&(r.mergeOption({},this),r.optionUpdated({},!1));r?(m.push(r.option),g.push(r),A++):(m.push(void 0),g.push(void 0))}),this),n[t]=m,r.set(t,g),o.set(t,A),"series"===t&&h(this)}),this),this._seriesIndices||h(this)},t.prototype.getOption=function(){var e=(0,i.clone)(this.option);return(0,i.each)(e,(function(t,n){if(d.A.hasClass(n)){for(var r=c.qB(t),o=r.length,i=!1,a=o-1;a>=0;a--)r[a]&&!c.oh(r[a])?i=!0:(r[a]=null,!i&&o--);r.length=o,e[n]=r}})),delete e[b],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,t){var n=this._componentsMap.get(e);if(n){var r=n[t||0];if(r)return r;if(null==t)for(var o=0;o<n.length;o++)if(n[o])return n[o]}},t.prototype.queryComponents=function(e){var t=e.mainType;if(!t)return[];var n,r=e.index,o=e.id,a=e.name,s=this._componentsMap.get(t);return s&&s.length?(null!=r?(n=[],(0,i.each)(c.qB(r),(function(e){s[e]&&n.push(s[e])}))):n=null!=o?_("id",o,s):null!=a?_("name",a,s):(0,i.filter)(s,(function(e){return!!e})),x(n,e)):[]},t.prototype.findComponents=function(e){var t,n,r,o,a,s=e.query,l=e.mainType,c=(n=l+"Index",r=l+"Id",o=l+"Name",!(t=s)||null==t[n]&&null==t[r]&&null==t[o]?null:{mainType:l,index:t[n],id:t[r],name:t[o]});return a=x(c?this.queryComponents(c):(0,i.filter)(this._componentsMap.get(l),(function(e){return!!e})),e),e.filter?(0,i.filter)(a,e.filter):a},t.prototype.eachComponent=function(e,t,n){var r=this._componentsMap;if((0,i.isFunction)(e)){var o=t,a=e;r.each((function(e,t){for(var n=0;e&&n<e.length;n++){var r=e[n];r&&a.call(o,t,r,r.componentIndex)}}))}else for(var s=(0,i.isString)(e)?r.get(e):(0,i.isObject)(e)?this.findComponents(e):null,l=0;s&&l<s.length;l++){var c=s[l];c&&t.call(n,c,c.componentIndex)}},t.prototype.getSeriesByName=function(e){var t=c.vS(e,null);return(0,i.filter)(this._componentsMap.get("series"),(function(e){return!!e&&null!=t&&e.name===t}))},t.prototype.getSeriesByIndex=function(e){return this._componentsMap.get("series")[e]},t.prototype.getSeriesByType=function(e){return(0,i.filter)(this._componentsMap.get("series"),(function(t){return!!t&&t.subType===e}))},t.prototype.getSeries=function(){return(0,i.filter)(this._componentsMap.get("series"),(function(e){return!!e}))},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(e,t){p(this),(0,i.each)(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];e.call(t,r,n)}),this)},t.prototype.eachRawSeries=function(e,t){(0,i.each)(this._componentsMap.get("series"),(function(n){n&&e.call(t,n,n.componentIndex)}))},t.prototype.eachSeriesByType=function(e,t,n){p(this),(0,i.each)(this._seriesIndices,(function(r){var o=this._componentsMap.get("series")[r];o.subType===e&&t.call(n,o,r)}),this)},t.prototype.eachRawSeriesByType=function(e,t,n){return(0,i.each)(this.getSeriesByType(e),t,n)},t.prototype.isSeriesFiltered=function(e){return p(this),null==this._seriesIndicesMap.get(e.componentIndex)},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(e,t){p(this);var n=[];(0,i.each)(this._seriesIndices,(function(r){var o=this._componentsMap.get("series")[r];e.call(t,o,r)&&n.push(r)}),this),this._seriesIndices=n,this._seriesIndicesMap=(0,i.createHashMap)(n)},t.prototype.restoreData=function(e){h(this);var t=this._componentsMap,n=[];t.each((function(e,t){d.A.hasClass(t)&&n.push(t)})),d.A.topologicalTravel(n,d.A.getAllClassMainTypes(),(function(n){(0,i.each)(t.get(n),(function(t){!t||"series"===n&&function(e,t){if(t){var n=t.seriesIndex,r=t.seriesId,o=t.seriesName;return null!=n&&e.componentIndex!==n||null!=r&&e.id!==r||null!=o&&e.name!==o}}(t,e)||t.restoreData()}))}))},t.internalField=(h=function(e){var t=e._seriesIndices=[];(0,i.each)(e._componentsMap.get("series"),(function(e){e&&t.push(e.componentIndex)})),e._seriesIndicesMap=(0,i.createHashMap)(t)},p=function(e){},void(m=function(e,t){e.option={},e.option[b]=1,e._componentsMap=(0,i.createHashMap)({series:[]}),e._componentsCount=(0,i.createHashMap)();var n=t.aria;(0,i.isObject)(n)&&null==n.enabled&&(n.enabled=!0),function(e,t){var n=e.color&&!e.colorLayer;(0,i.each)(t,(function(t,r){"colorLayer"===r&&n||d.A.hasClass(r)||("object"==typeof t?e[r]=e[r]?(0,i.merge)(e[r],t,!1):(0,i.clone)(t):null==e[r]&&(e[r]=t))}))}(t,e._theme.option),(0,i.merge)(t,A,!1),e._mergeOption(t,null)})),t}(u.A);function _(e,t,n){if((0,i.isArray)(t)){var r=(0,i.createHashMap)();return(0,i.each)(t,(function(e){null!=e&&null!=c.vS(e,null)&&r.set(e,!0)})),(0,i.filter)(n,(function(t){return t&&r.get(t[e])}))}var o=c.vS(t,null);return(0,i.filter)(n,(function(t){return t&&null!=o&&t[e]===o}))}function x(e,t){return t.hasOwnProperty("subType")?(0,i.filter)(e,(function(e){return e&&e.subType===t.subType})):e}function S(e){var t=(0,i.createHashMap)();return e&&(0,i.each)(c.qB(e.replaceMerge),(function(e){t.set(e,!0)})),{replaceMergeMainTypeMap:t}}(0,i.mixin)(w,O.X);var k=w,C=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],B=function(e){i.each(C,(function(t){this[t]=i.bind(e[t],e)}),this)},Q=n(89737),T=/^(min|max)?(.+)$/,E=function(){function e(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return e.prototype.setOption=function(e,t,n){e&&((0,i.each)((0,c.qB)(e.series),(function(e){e&&e.data&&(0,i.isTypedArray)(e.data)&&(0,i.setAsPrimitive)(e.data)})),(0,i.each)((0,c.qB)(e.dataset),(function(e){e&&e.source&&(0,i.isTypedArray)(e.source)&&(0,i.setAsPrimitive)(e.source)}))),e=(0,i.clone)(e);var r=this._optionBackup,o=function(e,t,n){var r,o,a=[],s=e.baseOption,l=e.timeline,c=e.options,u=e.media,d=!!e.media,f=!!(c||l||s&&s.timeline);function h(e){(0,i.each)(t,(function(t){t(e,n)}))}return s?(o=s).timeline||(o.timeline=l):((f||d)&&(e.options=e.media=null),o=e),d&&(0,i.isArray)(u)&&(0,i.each)(u,(function(e){e&&e.option&&(e.query?a.push(e):r||(r=e))})),h(o),(0,i.each)(c,(function(e){return h(e)})),(0,i.each)(a,(function(e){return h(e.option)})),{baseOption:o,timelineOptions:c||[],mediaDefault:r,mediaList:a}}(e,t,!r);this._newBaseOption=o.baseOption,r?(o.timelineOptions.length&&(r.timelineOptions=o.timelineOptions),o.mediaList.length&&(r.mediaList=o.mediaList),o.mediaDefault&&(r.mediaDefault=o.mediaDefault)):this._optionBackup=o},e.prototype.mountOption=function(e){var t=this._optionBackup;return this._timelineOptions=t.timelineOptions,this._mediaList=t.mediaList,this._mediaDefault=t.mediaDefault,this._currentMediaIndices=[],(0,i.clone)(e?t.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(e){var t,n=this._timelineOptions;if(n.length){var r=e.getComponent("timeline");r&&(t=(0,i.clone)(n[r.getCurrentIndex()]))}return t},e.prototype.getMediaOption=function(e){var t,n,r=this._api.getWidth(),o=this._api.getHeight(),a=this._mediaList,s=this._mediaDefault,l=[],c=[];if(!a.length&&!s)return c;for(var u=0,d=a.length;u<d;u++)P(a[u].query,r,o)&&l.push(u);return!l.length&&s&&(l=[-1]),l.length&&(t=l,n=this._currentMediaIndices,t.join(",")!==n.join(","))&&(c=(0,i.map)(l,(function(e){return(0,i.clone)(-1===e?s.option:a[e].option)}))),this._currentMediaIndices=l,c},e}();function P(e,t,n){var r={width:t,height:n,aspectratio:t/n},o=!0;return(0,i.each)(e,(function(e,t){var n=t.match(T);if(n&&n[1]&&n[2]){var i=n[1],a=n[2].toLowerCase();(function(e,t,n){return"min"===n?e>=t:"max"===n?e<=t:e===t})(r[a],e,i)||(o=!1)}})),o}var $=E,M=i.each,z=i.isObject,R=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function D(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=R.length;n<r;n++){var o=R[n],a=t.normal,s=t.emphasis;a&&a[o]&&(e[o]=e[o]||{},e[o].normal?i.merge(e[o].normal,a[o]):e[o].normal=a[o],a[o]=null),s&&s[o]&&(e[o]=e[o]||{},e[o].emphasis?i.merge(e[o].emphasis,s[o]):e[o].emphasis=s[o],s[o]=null)}}function I(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var r=e[t].normal,o=e[t].emphasis;r&&(n?(e[t].normal=e[t].emphasis=null,i.defaults(e[t],r)):e[t]=r),o&&(e.emphasis=e.emphasis||{},e.emphasis[t]=o,o.focus&&(e.emphasis.focus=o.focus),o.blurScope&&(e.emphasis.blurScope=o.blurScope))}}function N(e){I(e,"itemStyle"),I(e,"lineStyle"),I(e,"areaStyle"),I(e,"label"),I(e,"labelLine"),I(e,"upperLabel"),I(e,"edgeLabel")}function L(e,t){var n=z(e)&&e[t],r=z(n)&&n.textStyle;if(r)for(var o=0,i=c.JS.length;o<i;o++){var a=c.JS[o];r.hasOwnProperty(a)&&(n[a]=r[a])}}function V(e){e&&(N(e),L(e,"label"),e.emphasis&&L(e.emphasis,"label"))}function U(e){return i.isArray(e)?e:e?[e]:[]}function F(e){return(i.isArray(e)?e[0]:e)||{}}function H(e){e&&(0,i.each)(W,(function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])}))}var W=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],X=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],j=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function q(e){var t=e&&e.itemStyle;if(t)for(var n=0;n<j.length;n++){var r=j[n][1],o=j[n][0];null!=t[r]&&(t[o]=t[r])}}function Z(e){e&&"edge"===e.alignTo&&null!=e.margin&&null==e.edgeDistance&&(e.edgeDistance=e.margin)}function Y(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function G(e,t){if(e)for(var n=0;n<e.length;n++)t(e[n]),e[n]&&G(e[n].children,t)}function K(e,t){(function(e,t){M(U(e.series),(function(e){z(e)&&function(e){if(z(e)){D(e),N(e),L(e,"label"),L(e,"upperLabel"),L(e,"edgeLabel"),e.emphasis&&(L(e.emphasis,"label"),L(e.emphasis,"upperLabel"),L(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(D(t),V(t));var n=e.markLine;n&&(D(n),V(n));var r=e.markArea;r&&V(r);var o=e.data;if("graph"===e.type){o=o||e.nodes;var a=e.links||e.edges;if(a&&!i.isTypedArray(a))for(var s=0;s<a.length;s++)V(a[s]);i.each(e.categories,(function(e){N(e)}))}if(o&&!i.isTypedArray(o))for(s=0;s<o.length;s++)V(o[s]);if((t=e.markPoint)&&t.data){var l=t.data;for(s=0;s<l.length;s++)V(l[s])}if((n=e.markLine)&&n.data){var c=n.data;for(s=0;s<c.length;s++)i.isArray(c[s])?(V(c[s][0]),V(c[s][1])):V(c[s])}"gauge"===e.type?(L(e,"axisLabel"),L(e,"title"),L(e,"detail")):"treemap"===e.type?(I(e.breadcrumb,"itemStyle"),i.each(e.levels,(function(e){N(e)}))):"tree"===e.type&&N(e.leaves)}}(e)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),M(n,(function(t){M(U(e[t]),(function(e){e&&(L(e,"axisLabel"),L(e.axisPointer,"label"))}))})),M(U(e.parallel),(function(e){var t=e&&e.parallelAxisDefault;L(t,"axisLabel"),L(t&&t.axisPointer,"label")})),M(U(e.calendar),(function(e){I(e,"itemStyle"),L(e,"dayLabel"),L(e,"monthLabel"),L(e,"yearLabel")})),M(U(e.radar),(function(e){L(e,"name"),e.name&&null==e.axisName&&(e.axisName=e.name,delete e.name),null!=e.nameGap&&null==e.axisNameGap&&(e.axisNameGap=e.nameGap,delete e.nameGap)})),M(U(e.geo),(function(e){z(e)&&(V(e),M(U(e.regions),(function(e){V(e)})))})),M(U(e.timeline),(function(e){V(e),I(e,"label"),I(e,"itemStyle"),I(e,"controlStyle",!0);var t=e.data;i.isArray(t)&&i.each(t,(function(e){i.isObject(e)&&(I(e,"label"),I(e,"itemStyle"))}))})),M(U(e.toolbox),(function(e){I(e,"iconStyle"),M(e.feature,(function(e){I(e,"iconStyle")}))})),L(F(e.axisPointer),"label"),L(F(e.tooltip).axisPointer,"label")})(e,t),e.series=(0,c.qB)(e.series),(0,i.each)(e.series,(function(e){if((0,i.isObject)(e)){var t=e.type;if("line"===t)null!=e.clipOverflow&&(e.clip=e.clipOverflow);else if("pie"===t||"gauge"===t){if(null!=e.clockWise&&(e.clockwise=e.clockWise),Z(e.label),(o=e.data)&&!(0,i.isTypedArray)(o))for(var n=0;n<o.length;n++)Z(o[n]);null!=e.hoverOffset&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset))}else if("gauge"===t){var r=function(e){for(var t="pointer.color".split(","),n=e,r=0;r<t.length&&null!=(n=n&&n[t[r]]);r++);return n}(e);null!=r&&function(e,t,n){for(var r,o="itemStyle.color".split(","),i=e,a=0;a<o.length-1;a++)null==i[r=o[a]]&&(i[r]={}),i=i[r];null==i[o[a]]&&(i[o[a]]=n)}(e,0,r)}else if("bar"===t){var o;if(q(e),q(e.backgroundStyle),q(e.emphasis),(o=e.data)&&!(0,i.isTypedArray)(o))for(n=0;n<o.length;n++)"object"==typeof o[n]&&(q(o[n]),q(o[n]&&o[n].emphasis))}else if("sunburst"===t){var a=e.highlightPolicy;a&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=a)),Y(e),G(e.data,Y)}else"graph"===t||"sankey"===t?function(e){e&&null!=e.focusNodeAdjacency&&(e.emphasis=e.emphasis||{},null==e.emphasis.focus&&(e.emphasis.focus="adjacency"))}(e):"map"===t&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation&&(0,i.defaults)(e,e.mapLocation));null!=e.hoverAnimation&&(e.emphasis=e.emphasis||{},e.emphasis&&null==e.emphasis.scale&&(e.emphasis.scale=e.hoverAnimation)),H(e)}})),e.dataRange&&(e.visualMap=e.dataRange),(0,i.each)(X,(function(t){var n=e[t];n&&((0,i.isArray)(n)||(n=[n]),(0,i.each)(n,(function(e){H(e)})))}))}var J=n(24326);function ee(e){(0,i.each)(e,(function(t,n){var r=[],o=[NaN,NaN],i=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";a.modify(i,(function(i,c,u){var d,f,h=a.get(t.stackedDimension,u);if(isNaN(h))return o;s?f=a.getRawIndex(u):d=a.get(t.stackedByDimension,u);for(var p=NaN,m=n-1;m>=0;m--){var g=e[m];if(s||(f=g.data.rawIndexOf(g.stackedByDimension,d)),f>=0){var A=g.data.getByRawIndex(g.stackResultDimension,f);if("all"===l||"positive"===l&&A>0||"negative"===l&&A<0||"samesign"===l&&h>=0&&A>0||"samesign"===l&&h<=0&&A<0){h=(0,J.Tr)(h,A),p=A;break}}}return r[0]=h,r[1]=p,r}))}))}var te=n(47355),ne=n(59109),re=n(6666),oe=n(10992),ie=n(90540),ae=n(5638),se=n(5070),le=n(69622),ce=n(34833),ue=n(24711),de=n(32944),fe=n(14962),he=n(8317),pe=(0,c.$r)(),me={itemStyle:(0,de.A)(fe.L,!0),lineStyle:(0,de.A)(he.m,!0)},ge={lineStyle:"stroke",itemStyle:"fill"};function Ae(e,t){return e.visualStyleMapper||me[t]||(console.warn("Unknown style type '"+t+"'."),me.itemStyle)}function ve(e,t){return e.visualDrawType||ge[t]||(console.warn("Unknown style type '"+t+"'."),"fill")}var ye={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",o=e.getModel(r),a=Ae(e,r)(o),s=o.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var l=ve(e,r),c=a[l],u=(0,i.isFunction)(c)?c:null,d="auto"===a.fill||"auto"===a.stroke;if(!a[l]||u||d){var f=e.getColorFromPalette(e.name,null,t.getSeriesCount());a[l]||(a[l]=f,n.setVisual("colorFromPalette",!0)),a.fill="auto"===a.fill||(0,i.isFunction)(a.fill)?f:a.fill,a.stroke="auto"===a.stroke||(0,i.isFunction)(a.stroke)?f:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",l),!t.isSeriesFiltered(e)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(t,n){var r=e.getDataParams(n),o=(0,i.extend)({},a);o[l]=u(r),t.setItemVisual(n,"style",o)}}}},Oe=new u.A,be={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.ignoreStyleOnData&&!t.isSeriesFiltered(e)){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",o=Ae(e,r),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(e,t){var n=e.getRawDataItem(t);if(n&&n[r]){Oe.option=n[r];var s=o(Oe),l=e.ensureUniqueItemVisual(t,"style");(0,i.extend)(l,s),Oe.option.decal&&(e.setItemVisual(t,"decal",Oe.option.decal),Oe.option.decal.dirty=!0),a in s&&e.setItemVisual(t,"colorFromPalette",!1)}}:null}}}},we={performRawSeries:!0,overallReset:function(e){var t=(0,i.createHashMap)();e.eachSeries((function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var r=e.type+"-"+n,o=t.get(r);o||(o={},t.set(r,o)),pe(e).scope=o}})),e.eachSeries((function(t){if(!t.isColorBySeries()&&!e.isSeriesFiltered(t)){var n=t.getRawData(),r={},o=t.getData(),i=pe(t).scope,a=t.visualStyleAccessPath||"itemStyle",s=ve(t,a);o.each((function(e){var t=o.getRawIndex(e);r[t]=e})),n.each((function(e){var a=r[e];if(o.getItemVisual(a,"colorFromPalette")){var l=o.ensureUniqueItemVisual(a,"style"),c=n.getName(e)||e+"",u=n.count();l[s]=t.getColorFromPalette(c,i,u)}}))}}))}},_e=n(43870),xe=n(32322),Se=n(43471),ke=Math.PI,Ce=n(49431),Be=n(12616),Qe=function(){function e(e,t,n,r){this._stageTaskMap=(0,i.createHashMap)(),this.ecInstance=e,this.api=t,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return e.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){var t=e.overallTask;t&&t.dirty()}))},e.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),r=n.context,o=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__idxInPipeline>n.blockIndex?n.step:null,i=r&&r.modDataCount;return{step:o,modBy:null!=i?Math.ceil(i/o):null,modDataCount:i}}},e.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},e.prototype.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData().count(),o=n.progressiveEnabled&&t.incrementalPrepareRender&&r>=n.threshold,i=e.get("large")&&r>=e.get("largeThreshold"),a="mod"===e.get("progressiveChunkMode")?r:null;e.pipelineContext=n.context={progressiveRender:o,modDataCount:a,large:i}},e.prototype.restorePipelines=function(e){var t=this,n=t._pipelineMap=(0,i.createHashMap)();e.eachSeries((function(e){var r=e.getProgressive(),o=e.uid;n.set(o,{id:o,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),t._pipe(e,e.dataTask)}))},e.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),n=this.api;(0,i.each)(this._allHandlers,(function(r){var o=e.get(r.uid)||e.set(r.uid,{});(0,i.assert)(!(r.reset&&r.overallReset),""),r.reset&&this._createSeriesStageTask(r,o,t,n),r.overallReset&&this._createOverallStageTask(r,o,t,n)}),this)},e.prototype.prepareView=function(e,t,n,r){var o=e.renderTask,i=o.context;i.model=t,i.ecModel=n,i.api=r,o.__block=!e.incrementalPrepareRender,this._pipe(t,o)},e.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},e.prototype.performVisualTasks=function(e,t,n){this._performStageTasks(this._visualHandlers,e,t,n)},e.prototype._performStageTasks=function(e,t,n,r){r=r||{};var o=!1,a=this;function s(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}(0,i.each)(e,(function(e,i){if(!r.visualType||r.visualType===e.visualType){var l=a._stageTaskMap.get(e.uid),c=l.seriesTaskMap,u=l.overallTask;if(u){var d,f=u.agentStubMap;f.each((function(e){s(r,e)&&(e.dirty(),d=!0)})),d&&u.dirty(),a.updatePayload(u,n);var h=a.getPerformArgs(u,r.block);f.each((function(e){e.perform(h)})),u.perform(h)&&(o=!0)}else c&&c.each((function(i,l){s(r,i)&&i.dirty();var c=a.getPerformArgs(i,r.block);c.skip=!e.performRawSeries&&t.isSeriesFiltered(i.context.model),a.updatePayload(i,n),i.perform(c)&&(o=!0)}))}})),this.unfinished=o||this.unfinished},e.prototype.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t=e.dataTask.perform()||t})),this.unfinished=t||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))},e.prototype.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)},e.prototype._createSeriesStageTask=function(e,t,n,r){var o=this,a=t.seriesTaskMap,s=t.seriesTaskMap=(0,i.createHashMap)(),l=e.seriesType,c=e.getTargetSeries;function u(t){var i=t.uid,l=s.set(i,a&&a.get(i)||(0,Ce.U)({plan:Me,reset:ze,count:Ie}));l.context={model:t,ecModel:n,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:o},o._pipe(t,l)}e.createOnAllSeries?n.eachRawSeries(u):l?n.eachRawSeriesByType(l,u):c&&c(n,r).each(u)},e.prototype._createOverallStageTask=function(e,t,n,r){var o=this,a=t.overallTask=t.overallTask||(0,Ce.U)({reset:Te});a.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:o};var s=a.agentStubMap,l=a.agentStubMap=(0,i.createHashMap)(),c=e.seriesType,u=e.getTargetSeries,d=!0,f=!1;function h(e){var t=e.uid,n=l.set(t,s&&s.get(t)||(f=!0,(0,Ce.U)({reset:Ee,onDirty:$e})));n.context={model:e,overallProgress:d},n.agent=a,n.__block=d,o._pipe(e,n)}(0,i.assert)(!e.createOnAllSeries,""),c?n.eachRawSeriesByType(c,h):u?u(n,r).each(h):(d=!1,(0,i.each)(n.getSeries(),h)),f&&a.dirty()},e.prototype._pipe=function(e,t){var n=e.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=t),r.tail&&r.tail.pipe(t),r.tail=t,t.__idxInPipeline=r.count++,t.__pipeline=r},e.wrapStageHandler=function(e,t){return(0,i.isFunction)(e)&&(e={overallReset:e,seriesType:Ne(e)}),e.uid=(0,Be.$Q)("stageHandler"),t&&(e.visualType=t),e},e}();function Te(e){e.overallReset(e.ecModel,e.api,e.payload)}function Ee(e){return e.overallProgress&&Pe}function Pe(){this.agent.dirty(),this.getDownstream().dirty()}function $e(){this.agent&&this.agent.dirty()}function Me(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function ze(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=(0,c.qB)(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?(0,i.map)(t,(function(e,t){return De(t)})):Re}var Re=De(0);function De(e){return function(t,n){var r=n.data,o=n.resetDefines[e];if(o&&o.dataEach)for(var i=t.start;i<t.end;i++)o.dataEach(r,i);else o&&o.progress&&o.progress(t,r)}}function Ie(e){return e.data.count()}function Ne(e){Le=null;try{e(Ve,Ue)}catch(e){}return Le}var Le,Ve={},Ue={};function Fe(e,t){for(var n in t.prototype)e[n]=i.noop}Fe(Ve,k),Fe(Ue,B),Ve.eachSeriesByType=Ve.eachRawSeriesByType=function(e){Le=e},Ve.eachComponent=function(e){"series"===e.mainType&&e.subType&&(Le=e.subType)};var He=Qe,We=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],Xe={color:We,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],We]},je="#B9B8CE",qe="#100C2A",Ze=function(){return{axisLine:{lineStyle:{color:je}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Ye=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Ge={darkMode:!0,color:Ye,backgroundColor:qe,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:je},pageTextStyle:{color:je}},textStyle:{color:je},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:je}},dataZoom:{borderColor:"#71708A",textStyle:{color:je},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:je}},timeline:{lineStyle:{color:je},label:{color:je},controlStyle:{color:je,borderColor:je}},calendar:{itemStyle:{color:qe},dayLabel:{color:je},monthLabel:{color:je},yearLabel:{color:je}},timeAxis:Ze(),logAxis:Ze(),valueAxis:Ze(),categoryAxis:Ze(),line:{symbol:"circle"},graph:{color:Ye},gauge:{title:{color:je},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:je},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Ge.categoryAxis.splitLine.show=!1;var Ke=Ge,Je=n(30693),et=function(){function e(){}return e.prototype.normalizeQuery=function(e){var t={},n={},r={};if(i.isString(e)){var o=(0,Je.CC)(e);t.mainType=o.main||null,t.subType=o.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};i.each(e,(function(e,o){for(var i=!1,l=0;l<a.length;l++){var c=a[l],u=o.lastIndexOf(c);if(u>0&&u===o.length-c.length){var d=o.slice(0,u);"data"!==d&&(t.mainType=d,t[c.toLowerCase()]=e,i=!0)}}s.hasOwnProperty(o)&&(n[o]=e,i=!0),i||(r[o]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:r}},e.prototype.filter=function(e,t){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,o=n.packedEvent,i=n.model,a=n.view;if(!i||!a)return!0;var s=t.cptQuery,l=t.dataQuery;return c(s,i,"mainType")&&c(s,i,"subType")&&c(s,i,"index","componentIndex")&&c(s,i,"name")&&c(s,i,"id")&&c(l,o,"name")&&c(l,o,"dataIndex")&&c(l,o,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(e,t.otherQuery,r,o));function c(e,t,n,r){return null==e[n]||t[r||n]===e[n]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),tt=["symbol","symbolSize","symbolRotate","symbolOffset"],nt=tt.concat(["symbolKeepAspect"]),rt={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),e.hasSymbolVisual){for(var r={},o={},a=!1,s=0;s<tt.length;s++){var l=tt[s],c=e.get(l);(0,i.isFunction)(c)?(a=!0,o[l]=c):r[l]=c}if(r.symbol=r.symbol||e.defaultSymbol,n.setVisual((0,i.extend)({legendIcon:e.legendIcon||r.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},r)),!t.isSeriesFiltered(e)){var u=(0,i.keys)(o);return{dataEach:a?function(t,n){for(var r=e.getRawValue(n),i=e.getDataParams(n),a=0;a<u.length;a++){var s=u[a];t.setItemVisual(n,s,o[s](r,i))}}:null}}}}},ot={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(e.hasSymbolVisual&&!t.isSeriesFiltered(e))return{dataEach:e.getData().hasItemOption?function(e,t){for(var n=e.getItemModel(t),r=0;r<nt.length;r++){var o=nt[r],i=n.getShallow(o,!0);null!=i&&e.setItemVisual(t,o,i)}}:null}}},it=n(37395),at=n(41025),st=n(16884),lt=n(17752),ct=n(56629),ut=n(47411),dt=n(76868),ft=new l.A,ht=n(59741),pt=n(13976),mt="5.6.0",gt={zrender:"5.6.1"},At=2e3,vt=1e3,yt=2e3,Ot=3e3,bt=4500,wt={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:vt,PROGRESSIVE_LAYOUT:1100,GLOBAL:yt,CHART:Ot,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:bt,ARIA:6e3,DECAL:7e3}},_t="__flagInMainProcess",xt="__pendingUpdate",St="__needsUpdateStatus",kt=/^[a-zA-Z0-9_]+$/,Ct="__connectUpdateStatus";function Bt(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!this.isDisposed())return Tt(this,e,t);en(this.id)}}function Qt(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Tt(this,e,t)}}function Tt(e,t,n){return n[0]=n[0]&&n[0].toLowerCase(),l.A.prototype[t].apply(e,n)}var Et,Pt,$t,Mt,zt,Rt,Dt,It,Nt,Lt,Vt,Ut,Ft,Ht,Wt,Xt,jt,qt,Zt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t}(l.A),Yt=Zt.prototype;Yt.on=Qt("on"),Yt.off=Qt("off");var Gt=function(e){function t(t,n,r){var a=e.call(this,new et)||this;a._chartsViews=[],a._chartsMap={},a._componentsViews=[],a._componentsMap={},a._pendingActions=[],r=r||{},(0,i.isString)(n)&&(n=sn[n]),a._dom=t,r.ssr&&o.registerSSRDataGetter((function(e){var t=(0,le.z)(e),n=t.dataIndex;if(null!=n){var r=(0,i.createHashMap)();return r.set("series_index",t.seriesIndex),r.set("data_index",n),t.ssrType&&r.set("ssr_type",t.ssrType),r}}));var l=a._zr=o.init(t,{renderer:r.renderer||"canvas",devicePixelRatio:r.devicePixelRatio,width:r.width,height:r.height,ssr:r.ssr,useDirtyRect:(0,i.retrieve2)(r.useDirtyRect,!1),useCoarsePointer:(0,i.retrieve2)(r.useCoarsePointer,"auto"),pointerSize:r.pointerSize});a._ssr=r.ssr,a._throttledZrFlush=(0,ue.nF)((0,i.bind)(l.flush,l),17),(n=(0,i.clone)(n))&&K(n,!0),a._theme=n,a._locale=(0,ct.A$)(r.locale||ct.Lv),a._coordSysMgr=new Q.A;var c=a._api=Wt(a);function u(e,t){return e.__prio-t.__prio}return(0,s.A)(an,u),(0,s.A)(rn,u),a._scheduler=new He(a,c,rn,an),a._messageCenter=new Zt,a._initEvents(),a.resize=(0,i.bind)(a.resize,a),l.animation.on("frame",a._onframe,a),Lt(l,a),Vt(l,a),(0,i.setAsPrimitive)(a),a}return(0,r.C6)(t,e),t.prototype._onframe=function(){if(!this._disposed){qt(this);var e=this._scheduler;if(this[xt]){var t=this[xt].silent;this[_t]=!0;try{Et(this),Mt.update.call(this,null,this[xt].updateParams)}catch(e){throw this[_t]=!1,this[xt]=null,e}this._zr.flush(),this[_t]=!1,this[xt]=null,It.call(this,t),Nt.call(this,t)}else if(e.unfinished){var n=1,r=this._model,o=this._api;e.unfinished=!1;do{var i=+new Date;e.performSeriesTasks(r),e.performDataProcessorTasks(r),Rt(this,r),e.performVisualTasks(r),Ht(this,this._model,o,"remain",{}),n-=+new Date-i}while(n>0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,t,n){if(!this[_t])if(this._disposed)en(this.id);else{var r,o,a;if((0,i.isObject)(t)&&(n=t.lazyUpdate,r=t.silent,o=t.replaceMerge,a=t.transition,t=t.notMerge),this[_t]=!0,!this._model||t){var s=new $(this._api),l=this._theme,c=this._model=new k;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,l,this._locale,s)}this._model.setOption(e,{replaceMerge:o},on);var u={seriesTransition:a,optionChanged:!0};if(n)this[xt]={silent:r,updateParams:u},this[_t]=!1,this.getZr().wakeUp();else{try{Et(this),Mt.update.call(this,null,u)}catch(e){throw this[xt]=null,this[_t]=!1,e}this._ssr||this._zr.flush(),this[xt]=null,this[_t]=!1,It.call(this,r),Nt.call(this,r)}}},t.prototype.setTheme=function(){(0,at.aT)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||a.A.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){return e=e||{},this._zr.painter.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){return e=e||{},this._zr.painter.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(a.A.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return(0,i.each)(t,(function(e){e.stopAnimation(null,!0)})),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(!this._disposed){var t=(e=e||{}).excludeComponents,n=this._model,r=[],o=this;(0,i.each)(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=o._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return(0,i.each)(r,(function(e){e.group.ignore=!1})),a}en(this.id)},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var t="svg"===e.type,n=this.group,r=Math.min,a=Math.max,s=1/0;if(un[n]){var l=s,c=s,u=-1/0,d=-1/0,f=[],h=e&&e.pixelRatio||this.getDevicePixelRatio();(0,i.each)(cn,(function(o,s){if(o.group===n){var h=t?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas((0,i.clone)(e)),p=o.getDom().getBoundingClientRect();l=r(p.left,l),c=r(p.top,c),u=a(p.right,u),d=a(p.bottom,d),f.push({dom:h,left:p.left,top:p.top})}}));var p=(u*=h)-(l*=h),m=(d*=h)-(c*=h),g=ht.yh.createCanvas(),A=o.init(g,{renderer:t?"svg":"canvas"});if(A.resize({width:p,height:m}),t){var v="";return(0,i.each)(f,(function(e){var t=e.left-l,n=e.top-c;v+='<g transform="translate('+t+","+n+')">'+e.dom+"</g>"})),A.painter.getSvgRoot().innerHTML=v,e.connectedBackgroundColor&&A.painter.setBackgroundColor(e.connectedBackgroundColor),A.refreshImmediately(),A.painter.toDataURL()}return e.connectedBackgroundColor&&A.add(new oe.A({shape:{x:0,y:0,width:p,height:m},style:{fill:e.connectedBackgroundColor}})),(0,i.each)(f,(function(e){var t=new ie.Ay({style:{x:e.left*h-l,y:e.top*h-c,image:e.dom}});A.add(t)})),A.refreshImmediately(),g.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}en(this.id)},t.prototype.convertToPixel=function(e,t){return zt(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return zt(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){if(!this._disposed){var n,r=this._model,o=c._e(r,e);return(0,i.each)(o,(function(e,r){r.indexOf("Models")>=0&&(0,i.each)(e,(function(e){var o=e.coordinateSystem;if(o&&o.containPoint)n=n||!!o.containPoint(t);else if("seriesModels"===r){var i=this._chartsMap[e.__viewId];i&&i.containPoint&&(n=n||i.containPoint(t,e))}}),this)}),this),!!n}en(this.id)},t.prototype.getVisual=function(e,t){var n=this._model,r=c._e(n,e,{defaultMainType:"series"}),o=r.seriesModel.getData(),i=r.hasOwnProperty("dataIndexInside")?r.dataIndexInside:r.hasOwnProperty("dataIndex")?o.indexOfRawIndex(r.dataIndex):null;return null!=i?(0,it.Ez)(o,i,t):(0,it.rI)(o,t)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;(0,i.each)(Jt,(function(t){var n=function(n){var r,o=e.getModel(),a=n.target;if("globalout"===t?r={}:a&&(0,ut.R)(a,(function(e){var t=(0,le.z)(e);if(t&&null!=t.dataIndex){var n=t.dataModel||o.getSeriesByIndex(t.seriesIndex);return r=n&&n.getDataParams(t.dataIndex,t.dataType,a)||{},!0}if(t.eventData)return r=(0,i.extend)({},t.eventData),!0}),!0),r){var s=r.componentType,l=r.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=r.seriesIndex);var c=s&&null!=l&&o.getComponent(s,l),u=c&&e["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];r.event=n,r.type=t,e._$eventProcessor.eventInfo={targetEl:a,packedEvent:r,model:c,view:u},e.trigger(t,r)}};n.zrEventfulCallAtLast=!0,e._zr.on(t,n,e)})),(0,i.each)(nn,(function(t,n){e._messageCenter.on(n,(function(e){this.trigger(n,e)}),e)})),(0,i.each)(["selectchanged"],(function(t){e._messageCenter.on(t,(function(e){this.trigger(t,e)}),e)})),(0,st.l)(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?en(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)en(this.id);else{this._disposed=!0,this.getDom()&&c.Bq(this.getDom(),hn,"");var e=this,t=e._api,n=e._model;(0,i.each)(e._componentsViews,(function(e){e.dispose(n,t)})),(0,i.each)(e._chartsViews,(function(e){e.dispose(n,t)})),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete cn[e.id]}},t.prototype.resize=function(e){if(!this[_t])if(this._disposed)en(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),r=e&&e.silent;this[xt]&&(null==r&&(r=this[xt].silent),n=!0,this[xt]=null),this[_t]=!0;try{n&&Et(this),Mt.update.call(this,{type:"resize",animation:(0,i.extend)({duration:0},e&&e.animation)})}catch(e){throw this[_t]=!1,e}this[_t]=!1,It.call(this,r),Nt.call(this,r)}}},t.prototype.showLoading=function(e,t){if(this._disposed)en(this.id);else if((0,i.isObject)(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),ln[e]){var n=ln[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},t.prototype.hideLoading=function(){this._disposed?en(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=(0,i.extend)({},e);return t.type=nn[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)en(this.id);else if((0,i.isObject)(t)||(t={silent:!!t}),tn[e.type]&&this._model)if(this[_t])this._pendingActions.push(e);else{var n=t.silent;Dt.call(this,e,n);var r=t.flush;r?this._zr.flush():!1!==r&&a.A.browser.weChat&&this._throttledZrFlush(),It.call(this,n),Nt.call(this,n)}},t.prototype.updateLabelLayout=function(){ft.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)en(this.id);else{var t=e.seriesIndex;this.getModel().getSeriesByIndex(t).appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},t.internalField=function(){function e(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function t(e){for(var t=[],n=e.currentStates,r=0;r<n.length;r++){var o=n[r];"emphasis"!==o&&"blur"!==o&&"select"!==o&&t.push(o)}e.selected&&e.states.select&&t.push("select"),e.hoverState===ce.e3&&e.states.emphasis?t.push("emphasis"):e.hoverState===ce.zX&&e.states.blur&&t.push("blur"),e.useStates(t)}function n(e,t){if(!e.preventAutoZ){var n=e.get("z")||0,r=e.get("zlevel")||0;t.eachRendered((function(e){return o(e,n,r,-1/0),!0}))}}function o(e,t,n,r){var i=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)r=Math.max(o(s[l],t,n,r),r);else e.z=t,e.zlevel=n,r=Math.max(e.z2,r);if(i&&(i.z=t,i.zlevel=n,isFinite(r)&&(i.z2=r+2)),a){var c=e.textGuideLineConfig;a.z=t,a.zlevel=n,isFinite(r)&&(a.z2=r+(c&&c.showAbove?1:-1))}return r}function l(e,t){t.eachRendered((function(e){if(!ae.LR(e)){var t=e.getTextContent(),n=e.getTextGuideLine();e.stateTransition&&(e.stateTransition=null),t&&t.stateTransition&&(t.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),e.hasState()?(e.prevStates=e.currentStates,e.clearStates()):e.prevStates&&(e.prevStates=null)}}))}function u(e,n){var r=e.getModel("stateAnimation"),o=e.isAnimationEnabled(),i=r.get("duration"),a=i>0?{duration:i,delay:r.get("delay"),easing:r.get("easing")}:null;n.eachRendered((function(e){if(e.states&&e.states.emphasis){if(ae.LR(e))return;if(e instanceof se.Ay&&(0,ce.fz)(e),e.__dirty){var n=e.prevStates;n&&e.useStates(n)}if(o){e.stateTransition=a;var r=e.getTextContent(),i=e.getTextGuideLine();r&&(r.stateTransition=a),i&&(i.stateTransition=a)}e.__dirty&&t(e)}}))}Et=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),Pt(e,!0),Pt(e,!1),t.plan()},Pt=function(e,t){for(var n=e._model,r=e._scheduler,o=t?e._componentsViews:e._chartsViews,i=t?e._componentsMap:e._chartsMap,a=e._zr,s=e._api,l=0;l<o.length;l++)o[l].__alive=!1;function c(e){var l=e.__requireNewView;e.__requireNewView=!1;var c="_ec_"+e.id+"_"+e.type,u=!l&&i[c];if(!u){var d=(0,Je.CC)(e.type);(u=new(t?ne.A.getClass(d.main,d.sub):re.A.getClass(d.sub))).init(n,s),i[c]=u,o.push(u),a.add(u.group)}e.__viewId=u.__id=c,u.__alive=!0,u.__model=e,u.group.__ecComponentInfo={mainType:e.mainType,index:e.componentIndex},!t&&r.prepareView(u,e,n,s)}for(t?n.eachComponent((function(e,t){"series"!==e&&c(t)})):n.eachSeries(c),l=0;l<o.length;){var u=o[l];u.__alive?l++:(!t&&u.renderTask.dispose(),a.remove(u.group),u.dispose(n,s),o.splice(l,1),i[u.__id]===u&&delete i[u.__id],u.__id=u.group.__ecComponentInfo=null)}},$t=function(e,t,n,r,o){var a=e._model;if(a.setUpdatePayload(n),r){var s={};s[r+"Id"]=n[r+"Id"],s[r+"Index"]=n[r+"Index"],s[r+"Name"]=n[r+"Name"];var l={mainType:r,query:s};o&&(l.subType=o);var u,d=n.excludeSeriesId;null!=d&&(u=(0,i.createHashMap)(),(0,i.each)(c.qB(d),(function(e){var t=c.vS(e,null);null!=t&&u.set(t,!0)}))),a&&a.eachComponent(l,(function(t){if(!u||null==u.get(t.id))if((0,ce.T$)(n))if(t instanceof te.A)n.type!==ce.h5||n.notBlur||t.get(["emphasis","disabled"])||(0,ce.lV)(t,n,e._api);else{var r=(0,ce.Tl)(t.mainType,t.componentIndex,n.name,e._api),o=r.focusSelf,a=r.dispatchers;n.type===ce.h5&&o&&!n.notBlur&&(0,ce.Du)(t.mainType,t.componentIndex,e._api),a&&(0,i.each)(a,(function(e){n.type===ce.h5?(0,ce.HY)(e):(0,ce.SD)(e)}))}else(0,ce.Lx)(n)&&t instanceof te.A&&((0,ce.t6)(t,n,e._api),(0,ce.jA)(t),jt(e))}),e),a&&a.eachComponent(l,(function(t){u&&null!=u.get(t.id)||f(e["series"===r?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else(0,i.each)([].concat(e._componentsViews).concat(e._chartsViews),f);function f(r){r&&r.__alive&&r[t]&&r[t](r.__model,a,e._api,n)}},Mt={prepareAndUpdate:function(e){Et(this),Mt.update.call(this,e,{optionChanged:null!=e.newOption})},update:function(t,n){var r=this._model,o=this._api,i=this._zr,a=this._coordSysMgr,s=this._scheduler;if(r){r.setUpdatePayload(t),s.restoreData(r,t),s.performSeriesTasks(r),a.create(r,o),s.performDataProcessorTasks(r,t),Rt(this,r),a.update(r,o),e(r),s.performVisualTasks(r,t),Ut(this,r,o,t,n);var l=r.get("backgroundColor")||"transparent",c=r.get("darkMode");i.setBackgroundColor(l),null!=c&&"auto"!==c&&i.setDarkMode(c),ft.trigger("afterupdate",r,o)}},updateTransform:function(t){var n=this,r=this._model,o=this._api;if(r){r.setUpdatePayload(t);var a=[];r.eachComponent((function(e,i){if("series"!==e){var s=n.getViewOfComponentModel(i);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(i,r,o,t);l&&l.update&&a.push(s)}else a.push(s)}}));var s=(0,i.createHashMap)();r.eachSeries((function(e){var i=n._chartsMap[e.__viewId];if(i.updateTransform){var a=i.updateTransform(e,r,o,t);a&&a.update&&s.set(e.uid,1)}else s.set(e.uid,1)})),e(r),this._scheduler.performVisualTasks(r,t,{setDirty:!0,dirtyMap:s}),Ht(this,r,o,t,{},s),ft.trigger("afterupdate",r,o)}},updateView:function(t){var n=this._model;n&&(n.setUpdatePayload(t),re.A.markUpdateMethod(t,"updateView"),e(n),this._scheduler.performVisualTasks(n,t,{setDirty:!0}),Ut(this,n,this._api,t,{}),ft.trigger("afterupdate",n,this._api))},updateVisual:function(t){var n=this,r=this._model;r&&(r.setUpdatePayload(t),r.eachSeries((function(e){e.getData().clearAllVisual()})),re.A.markUpdateMethod(t,"updateVisual"),e(r),this._scheduler.performVisualTasks(r,t,{visualType:"visual",setDirty:!0}),r.eachComponent((function(e,o){if("series"!==e){var i=n.getViewOfComponentModel(o);i&&i.__alive&&i.updateVisual(o,r,n._api,t)}})),r.eachSeries((function(e){n._chartsMap[e.__viewId].updateVisual(e,r,n._api,t)})),ft.trigger("afterupdate",r,this._api))},updateLayout:function(e){Mt.update.call(this,e)}},zt=function(e,t,n,r){if(e._disposed)en(e.id);else for(var o,i=e._model,a=e._coordSysMgr.getCoordinateSystems(),s=c._e(i,n),l=0;l<a.length;l++){var u=a[l];if(u[t]&&null!=(o=u[t](i,s,r)))return o}},Rt=function(e,t){var n=e._chartsMap,r=e._scheduler;t.eachSeries((function(e){r.updateStreamModes(e,n[e.__viewId])}))},Dt=function(e,t){var n=this,r=this.getModel(),o=e.type,a=e.escapeConnect,s=tn[o],l=s.actionInfo,u=(l.update||"update").split(":"),d=u.pop(),f=null!=u[0]&&(0,Je.CC)(u[0]);this[_t]=!0;var h=[e],p=!1;e.batch&&(p=!0,h=(0,i.map)(e.batch,(function(t){return(t=(0,i.defaults)((0,i.extend)({},t),e)).batch=null,t})));var m,g=[],A=(0,ce.Lx)(e),v=(0,ce.T$)(e);if(v&&(0,ce.qR)(this._api),(0,i.each)(h,(function(t){if((m=(m=s.action(t,n._model,n._api))||(0,i.extend)({},t)).type=l.event||m.type,g.push(m),v){var r=c.HB(e),o=r.queryOptionMap,a=r.mainTypeSpecified?o.keys()[0]:"series";$t(n,d,t,a),jt(n)}else A?($t(n,d,t,"series"),jt(n)):f&&$t(n,d,t,f.main,f.sub)})),"none"!==d&&!v&&!A&&!f)try{this[xt]?(Et(this),Mt.update.call(this,e),this[xt]=null):Mt[d].call(this,e)}catch(e){throw this[_t]=!1,e}if(m=p?{type:l.event||o,escapeConnect:a,batch:g}:g[0],this[_t]=!1,!t){var y=this._messageCenter;if(y.trigger(m.type,m),A){var O={type:"selectchanged",escapeConnect:a,selected:(0,ce.mc)(r),isFromClick:e.isFromClick||!1,fromAction:e.type,fromActionPayload:e};y.trigger(O.type,O)}}},It=function(e){for(var t=this._pendingActions;t.length;){var n=t.shift();Dt.call(this,n,e)}},Nt=function(e){!e&&this.trigger("updated")},Lt=function(e,t){e.on("rendered",(function(n){t.trigger("rendered",n),!e.animation.isFinished()||t[xt]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))},Vt=function(e,t){e.on("mouseover",(function(e){var n=e.target,r=(0,ut.R)(n,ce.u6);r&&((0,ce._m)(r,e,t._api),jt(t))})).on("mouseout",(function(e){var n=e.target,r=(0,ut.R)(n,ce.u6);r&&((0,ce.Iz)(r,e,t._api),jt(t))})).on("click",(function(e){var n=e.target,r=(0,ut.R)(n,(function(e){return null!=(0,le.z)(e).dataIndex}),!0);if(r){var o=r.selected?"unselect":"select",i=(0,le.z)(r);t._api.dispatchAction({type:o,dataType:i.dataType,dataIndexInside:i.dataIndex,seriesIndex:i.seriesIndex,isFromClick:!0})}}))},Ut=function(e,t,n,r,o){!function(e){var t=[],n=[],r=!1;if(e.eachComponent((function(e,o){var i=o.get("zlevel")||0,a=o.get("z")||0,s=o.getZLevelKey();r=r||!!s,("series"===e?n:t).push({zlevel:i,z:a,idx:o.componentIndex,type:e,key:s})})),r){var o,a,l=t.concat(n);(0,s.A)(l,(function(e,t){return e.zlevel===t.zlevel?e.z-t.z:e.zlevel-t.zlevel})),(0,i.each)(l,(function(t){var n=e.getComponent(t.type,t.idx),r=t.zlevel,i=t.key;null!=o&&(r=Math.max(o,r)),i?(r===o&&i!==a&&r++,a=i):a&&(r===o&&r++,a=""),o=r,n.setZLevel(r)}))}}(t),Ft(e,t,n,r,o),(0,i.each)(e._chartsViews,(function(e){e.__alive=!1})),Ht(e,t,n,r,o),(0,i.each)(e._chartsViews,(function(e){e.__alive||e.remove(t,n)}))},Ft=function(e,t,r,o,a,s){(0,i.each)(s||e._componentsViews,(function(e){var i=e.__model;l(0,e),e.render(i,t,r,o),n(i,e),u(i,e)}))},Ht=function(e,t,r,o,s,c){var d=e._scheduler;s=(0,i.extend)(s||{},{updatedSeries:t.getSeries()}),ft.trigger("series:beforeupdate",t,r,s);var f=!1;t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];n.__alive=!0;var r=n.renderTask;d.updatePayload(r,o),l(0,n),c&&c.get(t.uid)&&r.dirty(),r.perform(d.getPerformArgs(r))&&(f=!0),n.group.silent=!!t.get("silent"),function(e,t){var n=e.get("blendMode")||null;t.eachRendered((function(e){e.isGroup||(e.style.blend=n)}))}(t,n),(0,ce.jA)(t)})),d.unfinished=f||d.unfinished,ft.trigger("series:layoutlabels",t,r,s),ft.trigger("series:transition",t,r,s),t.eachSeries((function(t){var r=e._chartsMap[t.__viewId];n(t,r),u(t,r)})),function(e,t){var n=e._zr.storage,r=0;n.traverse((function(e){e.isGroup||r++})),r>t.get("hoverLayerThreshold")&&!a.A.node&&!a.A.worker&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.eachRendered((function(e){e.states.emphasis&&(e.states.emphasis.hoverLayer=!0)}))}}))}(e,t),ft.trigger("series:afterupdate",t,r,s)},jt=function(e){e[St]=!0,e.getZr().wakeUp()},qt=function(e){e[St]&&(e.getZr().storage.traverse((function(e){ae.LR(e)||t(e)})),e[St]=!1)},Wt=function(e){return new(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(n,t),n.prototype.getCoordinateSystems=function(){return e._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(t){for(;t;){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}},n.prototype.enterEmphasis=function(t,n){(0,ce.HY)(t,n),jt(e)},n.prototype.leaveEmphasis=function(t,n){(0,ce.SD)(t,n),jt(e)},n.prototype.enterBlur=function(t){(0,ce.QX)(t),jt(e)},n.prototype.leaveBlur=function(t){(0,ce.JC)(t),jt(e)},n.prototype.enterSelect=function(t){(0,ce.JI)(t),jt(e)},n.prototype.leaveSelect=function(t){(0,ce.gd)(t),jt(e)},n.prototype.getModel=function(){return e.getModel()},n.prototype.getViewOfComponentModel=function(t){return e.getViewOfComponentModel(t)},n.prototype.getViewOfSeriesModel=function(t){return e.getViewOfSeriesModel(t)},n}(B))(e)},Xt=function(e){function t(e,t){for(var n=0;n<e.length;n++)e[n][Ct]=t}(0,i.each)(nn,(function(n,r){e._messageCenter.on(r,(function(n){if(un[e.group]&&0!==e[Ct]){if(n&&n.escapeConnect)return;var r=e.makeActionFromEvent(n),o=[];(0,i.each)(cn,(function(t){t!==e&&t.group===e.group&&o.push(t)})),t(o,0),(0,i.each)(o,(function(e){1!==e[Ct]&&e.dispatchAction(r)})),t(o,2)}}))}))}}(),t}(l.A),Kt=Gt.prototype;Kt.on=Bt("on"),Kt.off=Bt("off"),Kt.one=function(e,t,n){var r=this;(0,at.aT)("ECharts#one is deprecated."),this.on.call(this,e,(function n(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];t&&t.apply&&t.apply(this,o),r.off(e,n)}),n)};var Jt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function en(e){}var tn={},nn={},rn=[],on=[],an=[],sn={},ln={},cn={},un={},dn=+new Date-0,fn=+new Date-0,hn="_echarts_instance_";function pn(e,t,n){var r=!(n&&n.ssr);if(r){var o=yn(e);if(o)return o}var i=new Gt(e,t,n);return i.id="ec_"+dn++,cn[i.id]=i,r&&c.Bq(e,hn,i.id),Xt(i),ft.trigger("afterinit",i),i}function mn(e){if((0,i.isArray)(e)){var t=e;e=null,(0,i.each)(t,(function(t){null!=t.group&&(e=t.group)})),e=e||"g_"+fn++,(0,i.each)(t,(function(t){t.group=e}))}return un[e]=!0,e}function gn(e){un[e]=!1}var An=gn;function vn(e){(0,i.isString)(e)?e=cn[e]:e instanceof Gt||(e=yn(e)),e instanceof Gt&&!e.isDisposed()&&e.dispose()}function yn(e){return cn[c.D$(e,hn)]}function On(e){return cn[e]}function bn(e,t){sn[e]=t}function wn(e){(0,i.indexOf)(on,e)<0&&on.push(e)}function _n(e,t){$n(rn,e,t,At)}function xn(e){kn("afterinit",e)}function Sn(e){kn("afterupdate",e)}function kn(e,t){ft.on(e,t)}function Cn(e,t,n){(0,i.isFunction)(t)&&(n=t,t="");var r=(0,i.isObject)(e)?e.type:[e,e={event:t}][0];e.event=(e.event||r).toLowerCase(),t=e.event,nn[t]||((0,i.assert)(kt.test(r)&&kt.test(t)),tn[r]||(tn[r]={action:n,actionInfo:e}),nn[t]=r)}function Bn(e,t){Q.A.register(e,t)}function Qn(e){var t=Q.A.get(e);if(t)return t.getDimensionsInfo?t.getDimensionsInfo():t.dimensions.slice()}function Tn(e,t){$n(an,e,t,vt,"layout")}function En(e,t){$n(an,e,t,Ot,"visual")}var Pn=[];function $n(e,t,n,r,o){if(((0,i.isFunction)(t)||(0,i.isObject)(t))&&(n=t,t=r),!((0,i.indexOf)(Pn,n)>=0)){Pn.push(n);var a=He.wrapStageHandler(n,o);a.__prio=t,a.__raw=n,e.push(a)}}function Mn(e,t){ln[e]=t}function zn(e){(0,ht.Gs)({createCanvas:e})}function Rn(e,t,n){var r=(0,pt.v)("registerMap");r&&r(e,t,n)}function Dn(e){var t=(0,pt.v)("getMap");return t&&t(e)}var In=lt.v5;En(yt,ye),En(bt,be),En(bt,we),En(yt,rt),En(bt,ot),En(7e3,(function(e,t){e.eachRawSeries((function(n){if(!e.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each((function(e){var n=r.getItemVisual(e,"decal");n&&(r.ensureUniqueItemVisual(e,"style").decal=(0,dt.w)(n,t))}));var o=r.getVisual("decal");o&&(r.getVisual("style").decal=(0,dt.w)(o,t))}}))})),wn(K),_n(900,(function(e){var t=(0,i.createHashMap)();e.eachSeries((function(e){var n=e.get("stack");if(n){var r=t.get(n)||t.set(n,[]),o=e.getData(),i={stackResultDimension:o.getCalculationInfo("stackResultDimension"),stackedOverDimension:o.getCalculationInfo("stackedOverDimension"),stackedDimension:o.getCalculationInfo("stackedDimension"),stackedByDimension:o.getCalculationInfo("stackedByDimension"),isStackedByIndex:o.getCalculationInfo("isStackedByIndex"),data:o,seriesModel:e};if(!i.stackedDimension||!i.isStackedByIndex&&!i.stackedByDimension)return;r.length&&o.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(i)}})),t.each(ee)})),Mn("default",(function(e,t){t=t||{},i.defaults(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new _e.A,r=new oe.A({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var o,a=new xe.Ay({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),s=new oe.A({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});return n.add(s),t.showSpinner&&((o=new Se.A({shape:{startAngle:-ke/2,endAngle:-ke/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*ke/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:3*ke/2}).delay(300).start("circularInOut"),n.add(o)),n.resize=function(){var n=a.getBoundingRect().width,i=t.showSpinner?t.spinnerRadius:0,l=(e.getWidth()-2*i-(t.showSpinner&&n?10:0)-n)/2-(t.showSpinner&&n?0:5+n/2)+(t.showSpinner?0:n/2)+(n?0:i),c=e.getHeight()/2;t.showSpinner&&o.setShape({cx:l,cy:c}),s.setShape({x:l-i,y:c-i,width:2*i,height:2*i}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n})),Cn({type:ce.h5,event:ce.h5,update:ce.h5},i.noop),Cn({type:ce.PW,event:ce.PW,update:ce.PW},i.noop),Cn({type:ce.Lv,event:ce.Lv,update:ce.Lv},i.noop),Cn({type:ce.U2,event:ce.U2,update:ce.U2},i.noop),Cn({type:ce.Q6,event:ce.Q6,update:ce.Q6},i.noop),bn("light",Xe),bn("dark",Ke);var Nn={}},23442:function(e,t,n){"use strict";n.r(t),n.d(t,{dispose:function(){return se},disposeAll:function(){return le},getElementSSRData:function(){return de},getInstance:function(){return ce},init:function(){return ae},registerPainter:function(){return ue},registerSSRDataGetter:function(){return fe},version:function(){return he}});var r=n(38123),o=n(98026),i=n(15215),a=n(83509),s=function(e,t){this.target=e,this.topTarget=t&&t.topTarget},l=function(){function e(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(e){for(var t=e.target;t&&!t.draggable;)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new s(t,e),"dragstart",e.event))},e.prototype._drag=function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,r=e.offsetY,o=n-this._x,i=r-this._y;this._x=n,this._y=r,t.drift(o,i,e),this.handler.dispatchToElement(new s(t,e),"drag",e.event);var a=this.handler.findHover(n,r,t).target,l=this._dropTarget;this._dropTarget=a,t!==a&&(l&&a!==l&&this.handler.dispatchToElement(new s(l,e),"dragleave",e.event),a&&a!==l&&this.handler.dispatchToElement(new s(a,e),"dragenter",e.event))}},e.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new s(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new s(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},e}(),c=n(57861),u=n(35452),d=function(){function e(){this._track=[]}return e.prototype.recognize=function(e,t,n){return this._doTrack(e,t,n),this._recognize(e)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(e,t,n){var r=e.touches;if(r){for(var o={points:[],touches:[],target:t,event:e},i=0,a=r.length;i<a;i++){var s=r[i],l=u.Yo(n,s,{});o.points.push([l.zrX,l.zrY]),o.touches.push(s)}this._track.push(o)}},e.prototype._recognize=function(e){for(var t in h)if(h.hasOwnProperty(t)){var n=h[t](this._track,e);if(n)return n}},e}();function f(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}var h={pinch:function(e,t){var n=e.length;if(n){var r,o=(e[n-1]||{}).points,i=(e[n-2]||{}).points||o;if(i&&i.length>1&&o&&o.length>1){var a=f(o)/f(i);!isFinite(a)&&(a=1),t.pinchScale=a;var s=[((r=o)[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2];return t.pinchX=s[0],t.pinchY=s[1],{type:"pinch",target:e[0].target,event:t}}}}},p=n(29308),m="silent";function g(){u.ds(this.event)}var A=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handler=null,t}return(0,i.C6)(t,e),t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(c.A),v=function(e,t){this.x=e,this.y=t},y=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],O=new p.A(0,0,0,0),b=function(e){function t(t,n,r,o,i){var a=e.call(this)||this;return a._hovered=new v(0,0),a.storage=t,a.painter=n,a.painterRoot=o,a._pointerSize=i,r=r||new A,a.proxy=null,a.setHandlerProxy(r),a._draggingMgr=new l(a),a}return(0,i.C6)(t,e),t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(o.each(y,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var t=e.zrX,n=e.zrY,r=x(this,t,n),o=this._hovered,i=o.target;i&&!i.__zr&&(i=(o=this.findHover(o.x,o.y)).target);var a=this._hovered=r?new v(t,n):this.findHover(t,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),i&&s!==i&&this.dispatchToElement(o,"mouseout",e),this.dispatchToElement(a,"mousemove",e),s&&s!==i&&this.dispatchToElement(a,"mouseover",e)},t.prototype.mouseout=function(e){var t=e.zrEventControl;"only_globalout"!==t&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==t&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new v(0,0)},t.prototype.dispatch=function(e,t){var n=this[e];n&&n.call(this,t)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},t.prototype.dispatchToElement=function(e,t,n){var r=(e=e||{}).target;if(!r||!r.silent){for(var o="on"+t,i=function(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:g}}(t,e,n);r&&(r[o]&&(i.cancelBubble=!!r[o].call(r,i)),r.trigger(t,i),r=r.__hostTarget?r.__hostTarget:r.parent,!i.cancelBubble););i.cancelBubble||(this.trigger(t,i),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(e){"function"==typeof e[o]&&e[o].call(e,i),e.trigger&&e.trigger(t,i)})))}},t.prototype.findHover=function(e,t,n){var r=this.storage.getDisplayList(),o=new v(e,t);if(_(r,o,e,t,n),this._pointerSize&&!o.target){for(var i=[],a=this._pointerSize,s=a/2,l=new p.A(e-s,t-s,a,a),c=r.length-1;c>=0;c--){var u=r[c];u===n||u.ignore||u.ignoreCoarsePointer||u.parent&&u.parent.ignoreCoarsePointer||(O.copy(u.getBoundingRect()),u.transform&&O.applyTransform(u.transform),O.intersect(l)&&i.push(u))}if(i.length)for(var d=Math.PI/12,f=2*Math.PI,h=0;h<s;h+=4)for(var m=0;m<f;m+=d)if(_(i,o,e+h*Math.cos(m),t+h*Math.sin(m),n),o.target)return o}return o},t.prototype.processGesture=function(e,t){this._gestureMgr||(this._gestureMgr=new d);var n=this._gestureMgr;"start"===t&&n.clear();var r=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&n.clear(),r){var o=r.type;e.gestureEvent=o;var i=new v;i.target=r.target,this.dispatchToElement(i,o,r.event)}},t}(c.A);function w(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var r=e,o=void 0,i=!1;r;){if(r.ignoreClip&&(i=!0),!i){var a=r.getClipPath();if(a&&!a.contain(t,n))return!1}r.silent&&(o=!0),r=r.__hostTarget||r.parent}return!o||m}return!1}function _(e,t,n,r,o){for(var i=e.length-1;i>=0;i--){var a=e[i],s=void 0;if(a!==o&&!a.ignore&&(s=w(a,n,r))&&(!t.topTarget&&(t.topTarget=a),s!==m)){t.target=a;break}}}function x(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}o.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){b.prototype[e]=function(t){var n,r,o=t.zrX,i=t.zrY,s=x(this,o,i);if("mouseup"===e&&s||(r=(n=this.findHover(o,i)).target),"mousedown"===e)this._downEl=r,this._downPoint=[t.zrX,t.zrY],this._upEl=r;else if("mouseup"===e)this._upEl=r;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||a.dist(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,e,t)}}));var S=b,k=n(83470),C=n(56448),B=!1;function Q(){B||(B=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function T(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var E=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=T}return e.prototype.traverse=function(e,t){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(e,t)},e.prototype.getDisplayList=function(e,t){t=t||!1;var n=this._displayList;return!e&&n.length||this.updateDisplayList(t),n},e.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var t=this._roots,n=this._displayList,r=0,o=t.length;r<o;r++)this._updateAndAddDisplayable(t[r],null,e);n.length=this._displayListLen,(0,k.A)(n,T)},e.prototype._updateAndAddDisplayable=function(e,t,n){if(!e.ignore||n){e.beforeUpdate(),e.update(),e.afterUpdate();var r=e.getClipPath();if(e.ignoreClip)t=null;else if(r){t=t?t.slice():[];for(var o=r,i=e;o;)o.parent=i,o.updateTransform(),t.push(o),i=o,o=o.getClipPath()}if(e.childrenRef){for(var a=e.childrenRef(),s=0;s<a.length;s++){var l=a[s];e.__dirty&&(l.__dirty|=C.M),this._updateAndAddDisplayable(l,t,n)}e.__dirty=0}else{var c=e;t&&t.length?c.__clipPaths=t:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(Q(),c.z=0),isNaN(c.z2)&&(Q(),c.z2=0),isNaN(c.zlevel)&&(Q(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var u=e.getDecalElement&&e.getDecalElement();u&&this._updateAndAddDisplayable(u,t,n);var d=e.getTextGuideLine();d&&this._updateAndAddDisplayable(d,t,n);var f=e.getTextContent();f&&this._updateAndAddDisplayable(f,t,n)}},e.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},e.prototype.delRoot=function(e){if(e instanceof Array)for(var t=0,n=e.length;t<n;t++)this.delRoot(e[t]);else{var r=o.indexOf(this._roots,e);r>=0&&this._roots.splice(r,1)}},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}(),P=n(45825),$=n(77193);function M(){return(new Date).getTime()}var z,R,D=function(e){function t(t){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,t=t||{},n.stage=t.stage||{},n}return(0,i.C6)(t,e),t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var t=e.getClip();t&&this.addClip(t)},t.prototype.removeClip=function(e){if(e.animation){var t=e.prev,n=e.next;t?t.next=n:this._head=n,n?n.prev=t:this._tail=t,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var t=e.getClip();t&&this.removeClip(t),e.animation=null},t.prototype.update=function(e){for(var t=M()-this._pausedTime,n=t-this._time,r=this._head;r;){var o=r.next;r.step(t,n)?(r.ondestroy(),this.removeClip(r),r=o):r=o}this._time=t,e||(this.trigger("frame",n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0,(0,P.A)((function t(){e._running&&((0,P.A)(t),!e._paused&&e.update())}))},t.prototype.start=function(){this._running||(this._time=M(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=M(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=M()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var t=e.next;e.prev=e.next=e.animation=null,e=t}this._head=this._tail=null},t.prototype.isFinished=function(){return null==this._head},t.prototype.animate=function(e,t){t=t||{},this.start();var n=new $.A(e,t.loop);return this.addAnimator(n),n},t}(c.A),I=r.A.domSupported,N=(R={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:z=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:o.map(z,(function(e){var t=e.replace("mouse","pointer");return R.hasOwnProperty(t)?t:e}))}),L=["mousemove","mouseup"],V=["pointermove","pointerup"],U=!1;function F(e){var t=e.pointerType;return"pen"===t||"touch"===t}function H(e){e&&(e.zrByTouch=!0)}function W(e,t){for(var n=t,r=!1;n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return r}var X=function(e,t){this.stopPropagation=o.noop,this.stopImmediatePropagation=o.noop,this.preventDefault=o.noop,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY},j={mousedown:function(e){e=(0,u.e0)(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=(0,u.e0)(this.dom,e);var t=this.__mayPointerCapture;!t||e.zrX===t[0]&&e.zrY===t[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=(0,u.e0)(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){W(this,(e=(0,u.e0)(this.dom,e)).toElement||e.relatedTarget)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){U=!0,e=(0,u.e0)(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){U||(e=(0,u.e0)(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){H(e=(0,u.e0)(this.dom,e)),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),j.mousemove.call(this,e),j.mousedown.call(this,e)},touchmove:function(e){H(e=(0,u.e0)(this.dom,e)),this.handler.processGesture(e,"change"),j.mousemove.call(this,e)},touchend:function(e){H(e=(0,u.e0)(this.dom,e)),this.handler.processGesture(e,"end"),j.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<300&&j.click.call(this,e)},pointerdown:function(e){j.mousedown.call(this,e)},pointermove:function(e){F(e)||j.mousemove.call(this,e)},pointerup:function(e){j.mouseup.call(this,e)},pointerout:function(e){F(e)||j.mouseout.call(this,e)}};o.each(["click","dblclick","contextmenu"],(function(e){j[e]=function(t){t=(0,u.e0)(this.dom,t),this.trigger(e,t)}}));var q={pointermove:function(e){F(e)||q.mousemove.call(this,e)},pointerup:function(e){q.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function Z(e,t,n,r){e.mounted[t]=n,e.listenerOpts[t]=r,(0,u.q2)(e.domTarget,t,n,r)}function Y(e){var t=e.mounted;for(var n in t)t.hasOwnProperty(n)&&(0,u.f)(e.domTarget,n,t[n],e.listenerOpts[n]);e.mounted={}}var G,K=function(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t},J=function(e){function t(t,n){var i,a,s,l=e.call(this)||this;return l.__pointerCapturing=!1,l.dom=t,l.painterRoot=n,l._localHandlerScope=new K(t,j),I&&(l._globalHandlerScope=new K(document,q)),i=l,a=l._localHandlerScope,s=a.domHandlers,r.A.pointerEventsSupported?o.each(N.pointer,(function(e){Z(a,e,(function(t){s[e].call(i,t)}))})):(r.A.touchEventsSupported&&o.each(N.touch,(function(e){Z(a,e,(function(t){s[e].call(i,t),function(e){e.touching=!0,null!=e.touchTimer&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout((function(){e.touching=!1,e.touchTimer=null}),700)}(a)}))})),o.each(N.mouse,(function(e){Z(a,e,(function(t){t=(0,u.mK)(t),a.touching||s[e].call(i,t)}))}))),l}return(0,i.C6)(t,e),t.prototype.dispose=function(){Y(this._localHandlerScope),I&&Y(this._globalHandlerScope)},t.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},t.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,I&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var t=this._globalHandlerScope;e?function(e,t){function n(n){Z(t,n,(function(r){r=(0,u.mK)(r),W(e,r.target)||(r=function(e,t){return(0,u.e0)(e.dom,new X(e,t),!0)}(e,r),t.domHandlers[n].call(e,r))}),{capture:!0})}r.A.pointerEventsSupported?o.each(V,n):r.A.touchEventsSupported||o.each(L,n)}(this,t):Y(t)}},t}(c.A),ee=n(47698),te=n(73098),ne=n(43870),re={},oe={},ie=function(){function e(e,t,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=t,this.id=e;var a=new E,s=n.renderer||"canvas";re[s]||(s=o.keys(re)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var l=new re[s](t,a,n,e),c=n.ssr||l.ssrOnly;this.storage=a,this.painter=l;var u,d=r.A.node||r.A.worker||c?null:new J(l.getViewportRoot(),l.root),f=n.useCoarsePointer;(null==f||"auto"===f?r.A.touchEventsSupported:!!f)&&(u=o.retrieve2(n.pointerSize,44)),this.handler=new S(a,l,d,l.root,u),this.animation=new D({stage:{update:c?null:function(){return i._flush(!0)}}}),c||this.animation.start()}return e.prototype.add=function(e){!this._disposed&&e&&(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},e.prototype.remove=function(e){!this._disposed&&e&&(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(e,t){this._disposed||(this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh())},e.prototype.setBackgroundColor=function(e){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=function(e){if(!e)return!1;if("string"==typeof e)return(0,ee.lum)(e,1)<te.ps;if(e.colorStops){for(var t=e.colorStops,n=0,r=t.length,o=0;o<r;o++)n+=(0,ee.lum)(t[o].color,1);return(n/=r)<te.ps}return!1}(e))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(e){this._darkMode=e},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(e){this._disposed||(e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!1)},e.prototype._flush=function(e){var t,n=M();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately());var r=M();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:r-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},e.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},e.prototype.findHover=function(e,t){if(!this._disposed)return this.handler.findHover(e,t)},e.prototype.on=function(e,t,n){return this._disposed||this.handler.on(e,t,n),this},e.prototype.off=function(e,t){this._disposed||this.handler.off(e,t)},e.prototype.trigger=function(e,t){this._disposed||this.handler.trigger(e,t)},e.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),t=0;t<e.length;t++)e[t]instanceof ne.A&&e[t].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.prototype.dispose=function(){var e;this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,e=this.id,delete oe[e])},e}();function ae(e,t){var n=new ie(o.guid(),e,t);return oe[n.id]=n,n}function se(e){e.dispose()}function le(){for(var e in oe)oe.hasOwnProperty(e)&&oe[e].dispose();oe={}}function ce(e){return oe[e]}function ue(e,t){re[e]=t}function de(e){if("function"==typeof G)return G(e)}function fe(e){G=e}var he="5.6.1"},23565:function(e,t,n){var r=n(13908),o=n(51780),i=n(97205),a=n(96430),s=n(24993);e.exports=function(e,t){if(e&&t){var n=s.apply(this,[{}].concat(o(arguments,1))),l=r(n);a(r(e),(function(t){i(l,t)&&(e[t]=n[t])}))}return e}},23806:function(e,t,n){var r=n(43271),o=n(1968),i=n(53848),a=n(10906);e.exports=function(e,t,n){return i(n)?r(e,t,(function(e,t,r,i,s){var l=n(e,t,r,i,s);return a(l)?o(e,t):!!l}),n):r(e,t,o)}},23859:function(e,t,n){"use strict";n.d(t,{bE:function(){return Ke}});var r=n(61431),o=n(62144),i=n(20614),a=n(15874),s=n(45230);function l(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=n[r];"string"==typeof o?e.setAttribute(r,o):null!=o&&(e[r]=o)}t++}for(;t<arguments.length;t++)c(e,arguments[t]);return e}function c(e,t){if("string"==typeof t)e.appendChild(document.createTextNode(t));else if(null==t);else if(null!=t.nodeType)e.appendChild(t);else{if(!Array.isArray(t))throw new RangeError("Unsupported child node: "+t);for(var n=0;n<t.length;n++)c(e,t[n])}}const u="function"==typeof String.prototype.normalize?e=>e.normalize("NFKD"):e=>e;class d{constructor(e,t,n=0,r=e.length,o,i){this.test=i,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=o?e=>o(u(e)):u,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return(0,i.vS)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=(0,i.MK)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,i.Fh)(e);let r=this.normalize(t);if(r.length)for(let e=0,o=n;;e++){let i=r.charCodeAt(e),a=this.match(i,o,this.bufferPos+this.bufferStart);if(e==r.length-1){if(a)return this.value=a,this;break}o==n&&e<t.length&&t.charCodeAt(e)==i&&o++}}}match(e,t,n){let r=null;for(let t=0;t<this.matches.length;t+=2){let o=this.matches[t],i=!1;this.query.charCodeAt(o)==e&&(o==this.query.length-1?r={from:this.matches[t+1],to:n}:(this.matches[t]++,i=!0)),i||(this.matches.splice(t,2),t-=2)}return this.query.charCodeAt(0)==e&&(1==this.query.length?r={from:t,to:n}:this.matches.push(1,t)),r&&this.test&&!this.test(r.from,r.to,this.buffer,this.bufferStart)&&(r=null),r}}"undefined"!=typeof Symbol&&(d.prototype[Symbol.iterator]=function(){return this});const f={from:-1,to:-1,match:/.*/.exec("")},h="gm"+(null==/x/.unicode?"":"u");class p{constructor(e,t,n,r=0,o=e.length){if(this.text=e,this.to=o,this.curLine="",this.done=!1,this.value=f,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new A(e,t,n,r,o);this.re=new RegExp(t,h+((null==n?void 0:n.ignoreCase)?"i":"")),this.test=null==n?void 0:n.test,this.iter=e.iter();let i=e.lineAt(r);this.curLineStart=i.from,this.matchPos=v(e,r),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,r=n+t[0].length;if(this.matchPos=v(this.text,r+(n==r?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<r||n>this.value.to)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length<this.to))return this.done=!0,this;this.nextLine(),e=0}}}}const m=new WeakMap;class g{constructor(e,t){this.from=e,this.text=t}get to(){return this.from+this.text.length}static get(e,t,n){let r=m.get(e);if(!r||r.from>=n||r.to<=t){let r=new g(t,e.sliceString(t,n));return m.set(e,r),r}if(r.from==t&&r.to==n)return r;let{text:o,from:i}=r;return i>t&&(o=e.sliceString(t,i)+o,i=t),r.to<n&&(o+=e.sliceString(r.to,n)),m.set(e,new g(i,o)),new g(t,o.slice(t-i,n-i))}}class A{constructor(e,t,n,r,o){this.text=e,this.to=o,this.done=!1,this.value=f,this.matchPos=v(e,r),this.re=new RegExp(t,h+((null==n?void 0:n.ignoreCase)?"i":"")),this.test=null==n?void 0:n.test,this.flat=g.get(e,r,this.chunkEnd(r+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let e=this.flat.from+t.index,n=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,n,t)))return this.value={from:e,to:n,match:t},this.matchPos=v(this.text,n+(e==n?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=g.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function v(e,t){if(t>=e.length)return t;let n,r=e.lineAt(t);for(;t<r.to&&(n=r.text.charCodeAt(t-r.from))>=56320&&n<57344;)t++;return t}function y(e){let t=l("input",{class:"cm-textfield",name:"line",value:String(e.state.doc.lineAt(e.state.selection.main.head).number)});function n(){let n=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(!n)return;let{state:r}=e,a=r.doc.lineAt(r.selection.main.head),[,s,l,c,u]=n,d=c?+c.slice(1):0,f=l?+l:a.number;if(l&&u){let e=f/100;s&&(e=e*("-"==s?-1:1)+a.number/r.doc.lines),f=Math.round(r.doc.lines*e)}else l&&s&&(f=f*("-"==s?-1:1)+a.number);let h=r.doc.line(Math.max(1,Math.min(r.doc.lines,f))),p=i.OF.cursor(h.from+Math.max(0,Math.min(d,h.length)));e.dispatch({effects:[O.of(!1),o.Lz.scrollIntoView(p.from,{y:"center"})],selection:p}),e.focus()}return{dom:l("form",{class:"cm-gotoLine",onkeydown:t=>{27==t.keyCode?(t.preventDefault(),e.dispatch({effects:O.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),n())},onsubmit:e=>{e.preventDefault(),n()}},l("label",e.state.phrase("Go to line"),": ",t)," ",l("button",{class:"cm-button",type:"submit"},e.state.phrase("go")),l("button",{name:"close",onclick:()=>{e.dispatch({effects:O.of(!1)}),e.focus()},"aria-label":e.state.phrase("close"),type:"button"},["×"]))}}"undefined"!=typeof Symbol&&(p.prototype[Symbol.iterator]=A.prototype[Symbol.iterator]=function(){return this});const O=i.Pe.define(),b=i.sU.define({create(){return!0},update(e,t){for(let n of t.effects)n.is(O)&&(e=n.value);return e},provide:e=>o.S7.from(e,(e=>e?y:null))}),w=o.Lz.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px",position:"relative","& label":{fontSize:"80%"},"& [name=close]":{position:"absolute",top:"0",bottom:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:"0"}}}),_={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},x=i.sj.define({combine(e){return(0,i.QR)(e,_,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function S(e){let t=[T,Q];return e&&t.push(x.of(e)),t}const k=o.NZ.mark({class:"cm-selectionMatch"}),C=o.NZ.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function B(e,t,n,r){return!(0!=n&&e(t.sliceDoc(n-1,n))==i.Je.Word||r!=t.doc.length&&e(t.sliceDoc(r,r+1))==i.Je.Word)}const Q=o.Z9.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(x),{state:n}=e,r=n.selection;if(r.ranges.length>1)return o.NZ.none;let a,s=r.main,l=null;if(s.empty){if(!t.highlightWordAroundCursor)return o.NZ.none;let e=n.wordAt(s.head);if(!e)return o.NZ.none;l=n.charCategorizer(s.head),a=n.sliceDoc(e.from,e.to)}else{let e=s.to-s.from;if(e<t.minSelectionLength||e>200)return o.NZ.none;if(t.wholeWords){if(a=n.sliceDoc(s.from,s.to),l=n.charCategorizer(s.head),!B(l,n,s.from,s.to)||!function(e,t,n,r){return e(t.sliceDoc(n,n+1))==i.Je.Word&&e(t.sliceDoc(r-1,r))==i.Je.Word}(l,n,s.from,s.to))return o.NZ.none}else if(a=n.sliceDoc(s.from,s.to),!a)return o.NZ.none}let c=[];for(let r of e.visibleRanges){let e=new d(n.doc,a,r.from,r.to);for(;!e.next().done;){let{from:r,to:i}=e.value;if((!l||B(l,n,r,i))&&(s.empty&&r<=s.from&&i>=s.to?c.push(C.range(r,i)):(r>=s.to||i<=s.from)&&c.push(k.range(r,i)),c.length>t.maxMatches))return o.NZ.none}}return o.NZ.set(c)}},{decorations:e=>e.decorations}),T=o.Lz.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),E=i.sj.define({combine(e){return(0,i.QR)(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new ae(e),scrollToMatch:e=>o.Lz.scrollIntoView(e)})}});class P{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return new RegExp(e,h),!0}catch(e){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,((e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\"))}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new N(this):new z(this)}getCursor(e,t=0,n){let r=e.doc?e:i.$t.create({doc:e});return null==n&&(n=r.doc.length),this.regexp?R(this,r,t,n):M(this,r,t,n)}}class ${constructor(e){this.spec=e}}function M(e,t,n,r){return new d(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:e=>e.toLowerCase(),e.wholeWord?(o=t.doc,a=t.charCategorizer(t.selection.main.head),(e,t,n,r)=>((r>e||r+n.length<t)&&(r=Math.max(0,e-2),n=o.sliceString(r,Math.min(o.length,t+2))),!(a(D(n,e-r))==i.Je.Word&&a(I(n,e-r))==i.Je.Word||a(I(n,t-r))==i.Je.Word&&a(D(n,t-r))==i.Je.Word))):void 0);var o,a}class z extends ${constructor(e){super(e)}nextMatch(e,t,n){let r=M(this.spec,e,n,e.doc.length).nextOverlapping();if(r.done){let n=Math.min(e.doc.length,t+this.spec.unquoted.length);r=M(this.spec,e,0,n).nextOverlapping()}return r.done||r.value.from==t&&r.value.to==n?null:r.value}prevMatchInRange(e,t,n){for(let r=n;;){let n=Math.max(t,r-1e4-this.spec.unquoted.length),o=M(this.spec,e,n,r),i=null;for(;!o.nextOverlapping().done;)i=o.value;if(i)return i;if(n==t)return null;r-=1e4}}prevMatch(e,t,n){let r=this.prevMatchInRange(e,0,t);return r||(r=this.prevMatchInRange(e,Math.max(0,n-this.spec.unquoted.length),e.doc.length)),!r||r.from==t&&r.to==n?null:r}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let n=M(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let o=M(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!o.next().done;)r(o.value.from,o.value.to)}}function R(e,t,n,r){return new p(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?(o=t.charCategorizer(t.selection.main.head),(e,t,n)=>!n[0].length||(o(D(n.input,n.index))!=i.Je.Word||o(I(n.input,n.index))!=i.Je.Word)&&(o(I(n.input,n.index+n[0].length))!=i.Je.Word||o(D(n.input,n.index+n[0].length))!=i.Je.Word)):void 0},n,r);var o}function D(e,t){return e.slice((0,i.zK)(e,t,!1),t)}function I(e,t){return e.slice(t,(0,i.zK)(e,t))}class N extends ${nextMatch(e,t,n){let r=R(this.spec,e,n,e.doc.length).next();return r.done&&(r=R(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,n){for(let r=1;;r++){let o=Math.max(t,n-1e4*r),i=R(this.spec,e,o,n),a=null;for(;!i.next().done;)a=i.value;if(a&&(o==t||a.from>o+10))return a;if(o==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,((t,n)=>{if("&"==n)return e.match[0];if("$"==n)return"$";for(let t=n.length;t>0;t--){let r=+n.slice(0,t);if(r>0&&r<e.match.length)return e.match[r]+n.slice(t)}return t}))}matchAll(e,t){let n=R(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let o=R(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!o.next().done;)r(o.value.from,o.value.to)}}const L=i.Pe.define(),V=i.Pe.define(),U=i.sU.define({create(e){return new F(ee(e).create(),null)},update(e,t){for(let n of t.effects)n.is(L)?e=new F(n.value.create(),e.panel):n.is(V)&&(e=new F(e.query,n.value?J:null));return e},provide:e=>o.S7.from(e,(e=>e.panel))});class F{constructor(e,t){this.query=e,this.panel=t}}const H=o.NZ.mark({class:"cm-searchMatch"}),W=o.NZ.mark({class:"cm-searchMatch cm-searchMatch-selected"}),X=o.Z9.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(U))}update(e){let t=e.state.field(U);(t!=e.startState.field(U)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return o.NZ.none;let{view:n}=this,r=new i.vB;for(let t=0,o=n.visibleRanges,i=o.length;t<i;t++){let{from:a,to:s}=o[t];for(;t<i-1&&s>o[t+1].from-500;)s=o[++t].to;e.highlight(n.state,a,s,((e,t)=>{let o=n.state.selection.ranges.some((n=>n.from==e&&n.to==t));r.add(e,t,o?W:H)}))}return r.finish()}},{decorations:e=>e.decorations});function j(e){return t=>{let n=t.state.field(U,!1);return n&&n.query.spec.valid?e(t,n):re(t)}}const q=j(((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);if(!r)return!1;let o=i.OF.single(r.from,r.to),a=e.state.facet(E);return e.dispatch({selection:o,effects:[ue(e,r),a.scrollToMatch(o.main,e)],userEvent:"select.search"}),ne(e),!0})),Z=j(((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,o=t.prevMatch(n,r,r);if(!o)return!1;let a=i.OF.single(o.from,o.to),s=e.state.facet(E);return e.dispatch({selection:a,effects:[ue(e,o),s.scrollToMatch(a.main,e)],userEvent:"select.search"}),ne(e),!0})),Y=j(((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!(!n||!n.length||(e.dispatch({selection:i.OF.create(n.map((e=>i.OF.range(e.from,e.to)))),userEvent:"select.search.matches"}),0))})),G=j(((e,{query:t})=>{let{state:n}=e,{from:r,to:a}=n.selection.main;if(n.readOnly)return!1;let s=t.nextMatch(n,r,r);if(!s)return!1;let l,c,u=s,d=[],f=[];if(u.from==r&&u.to==a&&(c=n.toText(t.getReplacement(u)),d.push({from:u.from,to:u.to,insert:c}),u=t.nextMatch(n,u.from,u.to),f.push(o.Lz.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(r).number)+"."))),u){let t=0==d.length||d[0].from>=s.to?0:s.to-s.from-c.length;l=i.OF.single(u.from-t,u.to-t),f.push(ue(e,u)),f.push(n.facet(E).scrollToMatch(l.main,e))}return e.dispatch({changes:d,selection:l,effects:f,userEvent:"input.replace"}),!0})),K=j(((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map((e=>{let{from:n,to:r}=e;return{from:n,to:r,insert:t.getReplacement(e)}}));if(!n.length)return!1;let r=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:o.Lz.announce.of(r),userEvent:"input.replace.all"}),!0}));function J(e){return e.state.facet(E).createPanel(e)}function ee(e,t){var n,r,o,i,a;let s=e.selection.main,l=s.empty||s.to>s.from+100?"":e.sliceDoc(s.from,s.to);if(t&&!l)return t;let c=e.facet(E);return new P({search:(null!==(n=null==t?void 0:t.literal)&&void 0!==n?n:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:null!==(r=null==t?void 0:t.caseSensitive)&&void 0!==r?r:c.caseSensitive,literal:null!==(o=null==t?void 0:t.literal)&&void 0!==o?o:c.literal,regexp:null!==(i=null==t?void 0:t.regexp)&&void 0!==i?i:c.regexp,wholeWord:null!==(a=null==t?void 0:t.wholeWord)&&void 0!==a?a:c.wholeWord})}function te(e){let t=(0,o.ld)(e,J);return t&&t.dom.querySelector("[main-field]")}function ne(e){let t=te(e);t&&t==e.root.activeElement&&t.select()}const re=e=>{let t=e.state.field(U,!1);if(t&&t.panel){let n=te(e);if(n&&n!=e.root.activeElement){let r=ee(e.state,t.query.spec);r.valid&&e.dispatch({effects:L.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[V.of(!0),t?L.of(ee(e.state,t.query.spec)):i.Pe.appendConfig.of(fe)]});return!0},oe=e=>{let t=e.state.field(U,!1);if(!t||!t.panel)return!1;let n=(0,o.ld)(e,J);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:V.of(!1)}),!0},ie=[{key:"Mod-f",run:re,scope:"editor search-panel"},{key:"F3",run:q,shift:Z,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:q,shift:Z,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:oe,scope:"editor search-panel"},{key:"Mod-Shift-l",run:({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:o}=n.main,a=[],s=0;for(let t=new d(e.doc,e.sliceDoc(r,o));!t.next().done;){if(a.length>1e3)return!1;t.value.from==r&&(s=a.length),a.push(i.OF.range(t.value.from,t.value.to))}return t(e.update({selection:i.OF.create(a,s),userEvent:"select.search.matches"})),!0}},{key:"Mod-Alt-g",run:e=>{let t=(0,o.ld)(e,y);if(!t){let n=[O.of(!0)];null==e.state.field(b,!1)&&n.push(i.Pe.appendConfig.of([b,w])),e.dispatch({effects:n}),t=(0,o.ld)(e,y)}return t&&t.dom.querySelector("input").select(),!0}},{key:"Mod-d",run:({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some((e=>e.from===e.to)))return(({state:e,dispatch:t})=>{let{selection:n}=e,r=i.OF.create(n.ranges.map((t=>e.wordAt(t.head)||i.OF.cursor(t.head))),n.mainIndex);return!r.eq(n)&&(t(e.update({selection:r})),!0)})({state:e,dispatch:t});let r=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some((t=>e.sliceDoc(t.from,t.to)!=r)))return!1;let a=function(e,t){let{main:n,ranges:r}=e.selection,o=e.wordAt(n.head),i=o&&o.from==n.from&&o.to==n.to;for(let n=!1,o=new d(e.doc,t,r[r.length-1].to);;){if(o.next(),!o.done){if(n&&r.some((e=>e.from==o.value.from)))continue;if(i){let t=e.wordAt(o.value.from);if(!t||t.from!=o.value.from||t.to!=o.value.to)continue}return o.value}if(n)return null;o=new d(e.doc,t,0,Math.max(0,r[r.length-1].from-1)),n=!0}}(e,r);return!!a&&(t(e.update({selection:e.selection.addRange(i.OF.range(a.from,a.to),!1),effects:o.Lz.scrollIntoView(a.to)})),!0)},preventDefault:!0}];class ae{constructor(e){this.view=e;let t=this.query=e.state.field(U).query.spec;function n(e,t,n){return l("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=l("input",{value:t.search,placeholder:se(e,"Find"),"aria-label":se(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=l("input",{value:t.replace,placeholder:se(e,"Replace"),"aria-label":se(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=l("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=l("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=l("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=l("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",(()=>q(e)),[se(e,"next")]),n("prev",(()=>Z(e)),[se(e,"previous")]),n("select",(()=>Y(e)),[se(e,"all")]),l("label",null,[this.caseField,se(e,"match case")]),l("label",null,[this.reField,se(e,"regexp")]),l("label",null,[this.wordField,se(e,"by word")]),...e.state.readOnly?[]:[l("br"),this.replaceField,n("replace",(()=>G(e)),[se(e,"replace")]),n("replaceAll",(()=>K(e)),[se(e,"replace all")])],l("button",{name:"close",onclick:()=>oe(e),"aria-label":se(e,"close"),type:"button"},["×"])])}commit(){let e=new P({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:L.of(e)}))}keydown(e){(0,o.TS)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?Z:q)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),G(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(L)&&!e.value.eq(this.query)&&this.setQuery(e.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(E).top}}function se(e,t){return e.state.phrase(t)}const le=30,ce=/[\s\.,:;?!]/;function ue(e,{from:t,to:n}){let r=e.state.doc.lineAt(t),i=e.state.doc.lineAt(n).to,a=Math.max(r.from,t-le),s=Math.min(i,n+le),l=e.state.sliceDoc(a,s);if(a!=r.from)for(let e=0;e<le;e++)if(!ce.test(l[e+1])&&ce.test(l[e])){l=l.slice(e);break}if(s!=i)for(let e=l.length-1;e>l.length-le;e--)if(!ce.test(l[e-1])&&ce.test(l[e])){l=l.slice(0,e);break}return o.Lz.announce.of(`${e.state.phrase("current match")}. ${l} ${e.state.phrase("on line")} ${r.number}.`)}const de=o.Lz.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),fe=[U,i.Nb.low(X),de];var he=n(47404);class pe{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class me{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let r=e,a=n.facet(ke).markerFilter;a&&(r=a(r,n));let s=e.slice().sort(((e,t)=>e.from-t.from||e.to-t.to)),l=new i.vB,c=[],u=0;for(let e=0;;){let t,r,i=e==s.length?null:s[e];if(!i&&!c.length)break;for(c.length?(t=u,r=c.reduce(((e,t)=>Math.min(e,t.to)),i&&i.from>t?i.from:1e8)):(t=i.from,r=i.to,c.push(i),e++);e<s.length;){let n=s[e];if(n.from!=t||!(n.to>n.from||n.to==t)){r=Math.min(n.from,r);break}c.push(n),e++,r=Math.min(n.to,r)}let a=ze(c);if(c.some((e=>e.from==e.to||e.from==e.to-1&&n.doc.lineAt(e.from).to==e.from)))l.add(t,t,o.NZ.widget({widget:new Qe(a),diagnostics:c.slice()}));else{let e=c.reduce(((e,t)=>t.markClass?e+" "+t.markClass:e),"");l.add(t,r,o.NZ.mark({class:"cm-lintRange cm-lintRange-"+a+e,diagnostics:c.slice(),inclusiveEnd:c.some((e=>e.to>r))}))}u=r;for(let e=0;e<c.length;e++)c[e].to<=u&&c.splice(e--,1)}let d=l.finish();return new me(d,t,ge(d))}}function ge(e,t=null,n=0){let r=null;return e.between(n,1e9,((e,n,{spec:o})=>{if(!(t&&o.diagnostics.indexOf(t)<0))if(r){if(o.diagnostics.indexOf(r.diagnostic)<0)return!1;r=new pe(r.from,n,r.diagnostic)}else r=new pe(e,n,t||o.diagnostics[0])})),r}const Ae=i.Pe.define(),ve=i.Pe.define(),ye=i.Pe.define(),Oe=i.sU.define({create(){return new me(o.NZ.none,null,null)},update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,o=e.panel;if(e.selected){let o=t.changes.mapPos(e.selected.from,1);r=ge(n,e.selected.diagnostic,o)||ge(n,null,o)}!n.size&&o&&t.state.facet(ke).autoPanel&&(o=null),e=new me(n,o,r)}for(let n of t.effects)if(n.is(Ae)){let r=t.state.facet(ke).autoPanel?n.value.length?Ee.open:null:e.panel;e=me.init(n.value,r,t.state)}else n.is(ve)?e=new me(e.diagnostics,n.value?Ee.open:null,e.selected):n.is(ye)&&(e=new me(e.diagnostics,e.panel,n.value));return e},provide:e=>[o.S7.from(e,(e=>e.panel)),o.Lz.decorations.from(e,(e=>e.diagnostics))]}),be=o.NZ.mark({class:"cm-lintRange cm-lintRange-active"});function we(e,t,n){let r,{diagnostics:o}=e.state.field(Oe),i=-1,a=-1;o.between(t-(n<0?1:0),t+(n>0?1:0),((e,o,{spec:s})=>{if(t>=e&&t<=o&&(e==o||(t>e||n>0)&&(t<o||n<0)))return r=s.diagnostics,i=e,a=o,!1}));let s=e.state.facet(ke).tooltipFilter;return r&&s&&(r=s(r,e.state)),r?{pos:i,end:a,above:e.state.doc.lineAt(i).to<a,create(){return{dom:_e(e,r)}}}:null}function _e(e,t){return l("ul",{class:"cm-tooltip-lint"},t.map((t=>Be(e,t,!1))))}const xe=e=>{let t=e.state.field(Oe,!1);return!(!t||!t.panel||(e.dispatch({effects:ve.of(!1)}),0))},Se=[{key:"Mod-Shift-m",run:e=>{let t=e.state.field(Oe,!1);var n,r;t&&t.panel||e.dispatch({effects:(n=e.state,r=[ve.of(!0)],n.field(Oe,!1)?r:r.concat(i.Pe.appendConfig.of(Re)))});let a=(0,o.ld)(e,Ee.open);return a&&a.dom.querySelector(".cm-panel-lint ul").focus(),!0},preventDefault:!0},{key:"F8",run:e=>{let t=e.state.field(Oe,!1);if(!t)return!1;let n=e.state.selection.main,r=t.diagnostics.iter(n.to+1);return!(!r.value&&(r=t.diagnostics.iter(0),!r.value||r.from==n.from&&r.to==n.to)||(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),0))}}],ke=i.sj.define({combine(e){return Object.assign({sources:e.map((e=>e.source)).filter((e=>null!=e))},(0,i.QR)(e.map((e=>e.config)),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t}))}});function Ce(e){let t=[];if(e)e:for(let{name:n}of e){for(let e=0;e<n.length;e++){let r=n[e];if(/[a-zA-Z]/.test(r)&&!t.some((e=>e.toLowerCase()==r.toLowerCase()))){t.push(r);continue e}}t.push("")}return t}function Be(e,t,n){var r;let o=n?Ce(t.actions):[];return l("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},l("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null===(r=t.actions)||void 0===r?void 0:r.map(((n,r)=>{let i=!1,a=r=>{if(r.preventDefault(),i)return;i=!0;let o=ge(e.state.field(Oe).diagnostics,t);o&&n.apply(e,o.from,o.to)},{name:s}=n,c=o[r]?s.indexOf(o[r]):-1,u=c<0?s:[s.slice(0,c),l("u",s.slice(c,c+1)),s.slice(c+1)];return l("button",{type:"button",class:"cm-diagnosticAction",onclick:a,onmousedown:a,"aria-label":` Action: ${s}${c<0?"":` (access key "${o[r]})"`}.`},u)})),t.source&&l("div",{class:"cm-diagnosticSource"},t.source))}class Qe extends o.xO{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return l("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class Te{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=Be(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Ee{constructor(e){this.view=e,this.items=[],this.list=l("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(27==t.keyCode)xe(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65&&t.keyCode<=90&&this.selectedIndex>=0))return;{let{diagnostic:n}=this.items[this.selectedIndex],r=Ce(n.actions);for(let o=0;o<r.length;o++)if(r[o].toUpperCase().charCodeAt(0)==t.keyCode){let t=ge(this.view.state.field(Oe).diagnostics,n);t&&n.actions[o].apply(e,t.from,t.to)}}}t.preventDefault()},onclick:e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)}}),this.dom=l("div",{class:"cm-panel-lint"},this.list,l("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>xe(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(Oe).selected;if(!e)return-1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return-1}update(){let{diagnostics:e,selected:t}=this.view.state.field(Oe),n=0,r=!1,o=null,i=new Set;for(e.between(0,this.view.state.doc.length,((e,a,{spec:s})=>{for(let e of s.diagnostics){if(i.has(e))continue;i.add(e);let a,s=-1;for(let t=n;t<this.items.length;t++)if(this.items[t].diagnostic==e){s=t;break}s<0?(a=new Te(this.view,e),this.items.splice(n,0,a),r=!0):(a=this.items[s],s>n&&(this.items.splice(n,s-n),r=!0)),t&&a.diagnostic==t.diagnostic?a.dom.hasAttribute("aria-selected")||(a.dom.setAttribute("aria-selected","true"),o=a):a.dom.hasAttribute("aria-selected")&&a.dom.removeAttribute("aria-selected"),n++}}));n<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)r=!0,this.items.pop();0==this.items.length&&(this.items.push(new Te(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),r=!0),o?(this.list.setAttribute("aria-activedescendant",o.id),this.view.requestMeasure({key:this,read:()=>({sel:o.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let n=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/n:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=ge(this.view.state.field(Oe).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:ye.of(t)})}static open(e){return new Ee(e)}}function Pe(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const $e=o.Lz.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Pe("#d11")},".cm-lintRange-warning":{backgroundImage:Pe("orange")},".cm-lintRange-info":{backgroundImage:Pe("#999")},".cm-lintRange-hint":{backgroundImage:Pe("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function Me(e){return"error"==e?4:"warning"==e?3:"info"==e?2:1}function ze(e){let t="hint",n=1;for(let r of e){let e=Me(r.severity);e>n&&(n=e,t=r.severity)}return t}o.wJ;const Re=[Oe,o.Lz.decorations.compute([Oe],(e=>{let{selected:t,panel:n}=e.field(Oe);return t&&n&&t.from!=t.to?o.NZ.set([be.range(t.from,t.to)]):o.NZ.none})),(0,o.Ux)(we,{hideOn:function(e,t){let n=t.pos,r=t.end||n,o=e.state.facet(ke).hideOn(e,n,r);if(null!=o)return o;let i=e.startState.doc.lineAt(t.pos);return!(!e.effects.some((e=>e.is(Ae)))&&!e.changes.touchesRange(i.from,Math.max(i.to,r)))}}),$e],De=(()=>[(0,o.$K)(),(0,o.Wu)(),(0,o.N$)(),(0,s.b6)(),(0,a.Lv)(),(0,o.VH)(),(0,o.A)(),i.$t.allowMultipleSelections.of(!0),(0,a.WD)(),(0,a.y9)(a.Zt,{fallback:!0}),(0,a.SG)(),(0,he.wm)(),(0,he.yU)(),(0,o.D4)(),(0,o.HJ)(),(0,o.dz)(),S(),o.w4.of([...he.Bc,...s.pw,...ie,...s.cL,...a.f7,...he.OO,...Se])])();var Ie,Ne,Le=Object.freeze({autofocus:!1,disabled:!1,indentWithTab:!0,tabSize:2,placeholder:"",autoDestroy:!0,extensions:[De]}),Ve=Symbol("vue-codemirror-global-config"),Ue=function(e){var t=new i.xx;return{compartment:t,run:function(n){t.get(e.state)?e.dispatch({effects:t.reconfigure(n)}):e.dispatch({effects:i.Pe.appendConfig.of(t.of(n))})}}},Fe=function(e,t){var n=Ue(e),r=n.compartment,o=n.run;return function(n){var i=r.get(e.state);o((null!=n?n:i!==t)?t:[])}},He={type:Boolean,default:void 0},We={autofocus:He,disabled:He,indentWithTab:He,tabSize:Number,placeholder:String,style:Object,autoDestroy:He,phrases:Object,root:Object,extensions:Array,selection:Object},Xe={modelValue:{type:String,default:""}},je=Object.assign(Object.assign({},We),Xe);(Ne=Ie||(Ie={})).Change="change",Ne.Update="update",Ne.Focus="focus",Ne.Blur="blur",Ne.Ready="ready",Ne.ModelUpdate="update:modelValue";var qe={};qe[Ie.Change]=function(e,t){return!0},qe[Ie.Update]=function(e){return!0},qe[Ie.Focus]=function(e){return!0},qe[Ie.Blur]=function(e){return!0},qe[Ie.Ready]=function(e){return!0};var Ze={};Ze[Ie.ModelUpdate]=qe[Ie.Change];var Ye=Object.assign(Object.assign({},qe),Ze),Ge=(0,r.defineComponent)({name:"VueCodemirror",props:Object.assign({},je),emits:Object.assign({},Ye),setup:function(e,t){var n=(0,r.shallowRef)(),l=(0,r.shallowRef)(),c=(0,r.shallowRef)(),u=Object.assign(Object.assign({},Le),(0,r.inject)(Ve,{})),d=(0,r.computed)((function(){var t={};return Object.keys((0,r.toRaw)(e)).forEach((function(n){var r;"modelValue"!==n&&(t[n]=null!==(r=e[n])&&void 0!==r?r:u[n])})),t}));return(0,r.onMounted)((function(){var f;l.value=function(e){var t=e.onUpdate,n=e.onChange,r=e.onFocus,a=e.onBlur,s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["onUpdate","onChange","onFocus","onBlur"]);return i.$t.create({doc:s.doc,selection:s.selection,extensions:(Array.isArray(s.extensions)?s.extensions:[s.extensions]).concat([o.Lz.updateListener.of((function(e){t(e),e.docChanged&&n(e.state.doc.toString(),e),e.focusChanged&&(e.view.hasFocus?r(e):a(e))}))])})}({doc:e.modelValue,selection:d.value.selection,extensions:null!==(f=u.extensions)&&void 0!==f?f:[],onFocus:function(e){return t.emit(Ie.Focus,e)},onBlur:function(e){return t.emit(Ie.Blur,e)},onUpdate:function(e){return t.emit(Ie.Update,e)},onChange:function(n,r){n!==e.modelValue&&(t.emit(Ie.Change,n,r),t.emit(Ie.ModelUpdate,n,r))}}),c.value=function(e){return new o.Lz(Object.assign({},e))}({state:l.value,parent:n.value,root:d.value.root});var h=function(e){var t=function(){return e.state.doc.toString()},n=Ue(e).run,r=Fe(e,[o.Lz.editable.of(!1),i.$t.readOnly.of(!0)]),l=Fe(e,o.w4.of([s.Yc])),c=Ue(e).run,u=Ue(e).run,d=Ue(e).run,f=Ue(e).run;return{focus:function(){return e.focus()},getDoc:t,setDoc:function(n){n!==t()&&e.dispatch({changes:{from:0,to:e.state.doc.length,insert:n}})},reExtensions:n,toggleDisabled:r,toggleIndentWithTab:l,setTabSize:function(e){c([i.$t.tabSize.of(e),a.Xt.of(" ".repeat(e))])},setPhrases:function(e){u([i.$t.phrases.of(e)])},setPlaceholder:function(e){d((0,o.qf)(e))},setStyle:function(e){void 0===e&&(e={}),f(o.Lz.theme({"&":Object.assign({},e)}))}}}(c.value);(0,r.watch)((function(){return e.modelValue}),(function(e){e!==h.getDoc()&&h.setDoc(e)})),(0,r.watch)((function(){return e.extensions}),(function(e){return h.reExtensions(e||[])}),{immediate:!0}),(0,r.watch)((function(){return d.value.disabled}),(function(e){return h.toggleDisabled(e)}),{immediate:!0}),(0,r.watch)((function(){return d.value.indentWithTab}),(function(e){return h.toggleIndentWithTab(e)}),{immediate:!0}),(0,r.watch)((function(){return d.value.tabSize}),(function(e){return h.setTabSize(e)}),{immediate:!0}),(0,r.watch)((function(){return d.value.phrases}),(function(e){return h.setPhrases(e||{})}),{immediate:!0}),(0,r.watch)((function(){return d.value.placeholder}),(function(e){return h.setPlaceholder(e)}),{immediate:!0}),(0,r.watch)((function(){return d.value.style}),(function(e){return h.setStyle(e)}),{immediate:!0}),d.value.autofocus&&h.focus(),t.emit(Ie.Ready,{state:l.value,view:c.value,container:n.value})})),(0,r.onBeforeUnmount)((function(){d.value.autoDestroy&&c.value&&function(e){e.destroy()}(c.value)})),function(){return(0,r.h)("div",{class:"v-codemirror",style:{display:"contents"},ref:n})}}}),Ke=Ge},23868:function(e,t,n){"use strict";n.d(t,{Ck:function(){return l},_r:function(){return s},s:function(){return a}});var r=n(23421),o=n(98026),i="\0_ec_interaction_mutex";function a(e,t,n){c(e)[t]=n}function s(e,t,n){var r=c(e);r[t]===n&&(r[t]=null)}function l(e,t){return!!c(e)[t]}function c(e){return e[i]||(e[i]={})}r.OH({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},o.noop)},24237:function(e,t,n){var r=n(15980),o=n(35055),i=n(74933);e.exports=function(e,t,n){return r(i(e,t,n),o(e))}},24303:function(){!function(){"use strict";var e,t,n=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=function(e){return function(t){return typeof t===e}},o=function(e){return n=typeof(t=e),"string"===(null===t?"null":"object"===n&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===n&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":n);var t,n},i=r("boolean"),a=r("function"),s=r("number"),l=function(e){return function(){return e}},c=l(!1),u=l(!0),d=function(){return f},f={fold:function(e,t){return e()},isSome:c,isNone:u,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:l(null),getOrUndefined:l(void 0),or:t,orThunk:e,map:d,each:function(){},bind:d,exists:c,forall:u,filter:function(){return d()},toArray:function(){return[]},toString:l("none()")},h=function(e){var t=l(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:u,isNone:c,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return h(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:f},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},p={some:h,none:d,from:function(e){return null==e?f:h(e)}},m=function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)},g=function(e){if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},A=g,v=function(e,t){var n=e.dom;if(1!==n.nodeType)return!1;var r=n;if(void 0!==r.matches)return r.matches(t);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(t);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")};"undefined"!=typeof window?window:Function("return this;")();var y=function(e){return function(t){return function(e){return e.dom.nodeType}(t)===e}},O=y(1),b=y(3),w=y(9),_=y(11),x=function(e,t){e.dom.removeAttribute(t)},S=a(Element.prototype.attachShadow)&&a(Node.prototype.getRootNode)?function(e){return A(e.dom.getRootNode())}:function(e){return w(e)?e:A(e.dom.ownerDocument)},k=function(e){return A(e.dom.host)},C=function(e){var t=b(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;var n,r,o,i,a,s=t.ownerDocument;return(o=A(t),a=S(o),_(i=a)&&null!=i.dom.host?p.some(a):p.none()).fold((function(){return s.body.contains(t)}),(n=C,r=k,function(e){return n(r(e))}))},B=function(e){return"rtl"===function(e,t){var n=e.dom,r=window.getComputedStyle(n).getPropertyValue(t);return""!==r||C(e)?r:function(e,t){return function(e){return void 0!==e.style&&a(e.style.getPropertyValue)}(e)?e.style.getPropertyValue(t):""}(n,t)}(e,"direction")?"rtl":"ltr"},Q=function(e,t){return function(e){return function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];t(i,r)&&n.push(i)}return n}(function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r}(e.dom.childNodes,A),(function(e){return v(e,t)}))}(e)},T=function(e){return O(e)&&"li"===e.dom.nodeName.toLowerCase()},E=function(e,t){var n=e.selection.getSelectedBlocks();n.length>0&&(m(n,(function(e){var n,r=A(e),l=T(r),u=function(e,t){return(t?(n=e,r="ol,ul",function(e,t,n){for(var o=e.dom,i=a(n)?n:c;o.parentNode;){o=o.parentNode;var s=A(o);if(v(s,r))return p.some(s);if(i(s))break}return p.none()}(n,0,o)):p.some(e)).getOr(e);var n,r,o}(r,l);(n=u,function(e){return p.from(e.dom.parentNode).map(A)}(n).filter(O)).each((function(e){if(B(e)!==t?function(e,t,n){!function(e,t,n){if(!(o(n)||i(n)||s(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")}(e.dom,t,n)}(u,"dir",t):B(u)!==t&&x(u,"dir"),l){var n=Q(u,"li[dir]");m(n,(function(e){return x(e,"dir")}))}}))})),e.nodeChanged())},P=function(e,t){return function(n){var r=function(e){var r=A(e.element);n.setActive(B(r)===t)};return e.on("NodeChange",r),function(){return e.off("NodeChange",r)}}};n.add("directionality",(function(e){!function(e){e.addCommand("mceDirectionLTR",(function(){E(e,"ltr")})),e.addCommand("mceDirectionRTL",(function(){E(e,"rtl")}))}(e),function(e){e.ui.registry.addToggleButton("ltr",{tooltip:"Left to right",icon:"ltr",onAction:function(){return e.execCommand("mceDirectionLTR")},onSetup:P(e,"ltr")}),e.ui.registry.addToggleButton("rtl",{tooltip:"Right to left",icon:"rtl",onAction:function(){return e.execCommand("mceDirectionRTL")},onSetup:P(e,"rtl")})}(e)}))}()},24326:function(e,t,n){"use strict";n.d(t,{Cb:function(){return a},Cm:function(){return _},IH:function(){return B},Is:function(){return g},LI:function(){return l},NX:function(){return w},Sm:function(){return k},Tr:function(){return m},XV:function(){return u},Y6:function(){return c},YV:function(){return x},_7:function(){return A},_U:function(){return O},au:function(){return b},dh:function(){return v},hb:function(){return f},kM:function(){return p},kf:function(){return C},lQ:function(){return T},lo:function(){return s},sL:function(){return S},wp:function(){return h},y6:function(){return d}});var r=n(98026),o=1e-4,i=20;function a(e,t,n,r){var o=t[0],i=t[1],a=n[0],s=n[1],l=i-o,c=s-a;if(0===l)return 0===c?a:(a+s)/2;if(r)if(l>0){if(e<=o)return a;if(e>=i)return s}else{if(e>=o)return a;if(e<=i)return s}else{if(e===o)return a;if(e===i)return s}return(e-o)/l*c+a}function s(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%"}return r.isString(e)?(n=e,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e;var n}function l(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),i),e=(+e).toFixed(t),n?e:+e}function c(e){return e.sort((function(e,t){return e-t})),e}function u(e){if(e=+e,isNaN(e))return 0;if(e>1e-14)for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n;return d(e)}function d(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,o=n>0?n:t.length,i=t.indexOf("."),a=i<0?0:o-1-i;return Math.max(0,a-r)}function f(e,t){var n=Math.log,r=Math.LN10,o=Math.floor(n(e[1]-e[0])/r),i=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-o+i,0),20);return isFinite(a)?a:20}function h(e,t,n){return e[t]&&p(e,n)[t]||0}function p(e,t){var n=r.reduce(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===n)return[];for(var o=Math.pow(10,t),i=r.map(e,(function(e){return(isNaN(e)?0:e)/n*o*100})),a=100*o,s=r.map(i,(function(e){return Math.floor(e)})),l=r.reduce(s,(function(e,t){return e+t}),0),c=r.map(i,(function(e,t){return e-s[t]}));l<a;){for(var u=Number.NEGATIVE_INFINITY,d=null,f=0,h=c.length;f<h;++f)c[f]>u&&(u=c[f],d=f);++s[d],c[d]=0,++l}return r.map(s,(function(e){return e/o}))}function m(e,t){var n=Math.max(u(e),u(t)),r=e+t;return n>i?r:l(r,n)}var g=9007199254740991;function A(e){var t=2*Math.PI;return(e%t+t)%t}function v(e){return e>-o&&e<o}var y=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function O(e){if(e instanceof Date)return e;if(r.isString(e)){var t=y.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(n-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}return null==e?new Date(NaN):new Date(Math.round(e))}function b(e){return Math.pow(10,w(e))}function w(e){if(0===e)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function _(e,t){var n=w(e),r=Math.pow(10,n),o=e/r;return e=(t?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10)*r,n>=-20?+e.toFixed(n<0?-n:0):e}function x(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),o=+e[r-1],i=n-r;return i?o+i*(e[r]-o):o}function S(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,n=1,r=0;r<e.length;){for(var o=e[r].interval,i=e[r].close,a=0;a<2;a++)o[a]<=t&&(o[a]=t,i[a]=a?1:1-n),t=o[a],n=i[a];o[0]===o[1]&&i[0]*i[1]!=1?e.splice(r,1):r++}return e;function s(e,t,n){return e.interval[n]<t.interval[n]||e.interval[n]===t.interval[n]&&(e.close[n]-t.close[n]==(n?-1:1)||!n&&s(e,t,1))}}function k(e){var t=parseFloat(e);return t==e&&(0!==t||!r.isString(e)||e.indexOf("x")<=0)?t:NaN}function C(e){return!isNaN(k(e))}function B(){return Math.round(9*Math.random())}function Q(e,t){return 0===t?e:Q(t,e%t)}function T(e,t){return null==e?t:null==t?e:e*t/Q(e,t)}},24711:function(e,t,n){"use strict";n.d(t,{IU:function(){return l},N:function(){return s},nF:function(){return a}});var r="\0__throttleOriginMethod",o="\0__throttleRate",i="\0__throttleType";function a(e,t,n){var r,o,i,a,s,l=0,c=0,u=null;function d(){c=(new Date).getTime(),u=null,e.apply(i,a||[])}t=t||0;var f=function(){for(var e=[],f=0;f<arguments.length;f++)e[f]=arguments[f];r=(new Date).getTime(),i=this,a=e;var h=s||t,p=s||n;s=null,o=r-(p?l:c)-h,clearTimeout(u),p?u=setTimeout(d,h):o>=0?d():u=setTimeout(d,-o),l=r};return f.clear=function(){u&&(clearTimeout(u),u=null)},f.debounceNextCall=function(e){s=e},f}function s(e,t,n,s){var l=e[t];if(l){var c=l[r]||l,u=l[i];if(l[o]!==n||u!==s){if(null==n||!s)return e[t]=c;(l=e[t]=a(c,n,"debounce"===s))[r]=c,l[i]=s,l[o]=n}return l}}function l(e,t){var n=e[t];n&&n[r]&&(n.clear&&n.clear(),e[t]=n[r])}},24855:function(){!function(){"use strict";var e,t,n=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=function(e){return function(t){return r=typeof(n=t),(null===n?"null":"object"===r&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"===r&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":r)===e;var n,r}},i=o("string"),a=o("object"),s=o("array"),l=function(e){return!function(e){return null==e}(e)},c=function(e){return function(){return e}},u=c(!1),d=c(!0),f=function(){return h},h={fold:function(e,t){return e()},isSome:u,isNone:d,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:c(null),getOrUndefined:c(void 0),or:t,orThunk:e,map:f,each:function(){},bind:f,exists:u,forall:d,filter:function(){return f()},toArray:function(){return[]},toString:c("none()")},p=function(e){var t=c(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:d,isNone:u,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return p(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:h},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},m={some:p,none:f,from:function(e){return null==e?h:p(e)}},g=Array.prototype.push,A=function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)},v=function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!s(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);g.apply(t,e[n])}return t},y=function(e){var t=e;return{get:function(){return t},set:function(e){t=e}}},O=Object.keys,b=Object.hasOwnProperty,w=function(e,t){return _(e,t)?m.from(e[t]):m.none()},_=function(e,t){return b.call(e,t)},x=function(e){return e.getParam("media_scripts")},S=function(e){return e.getParam("media_live_embeds",!0)},k=tinymce.util.Tools.resolve("tinymce.util.Tools"),C=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),B=tinymce.util.Tools.resolve("tinymce.html.SaxParser"),Q=function(e,t){if(e)for(var n=0;n<e.length;n++)if(-1!==t.indexOf(e[n].filter))return e[n]},T=C.DOM,E=function(e){return e.replace(/px$/,"")},P=function(e,t){var n=y(!1),r={};return B({validate:!1,allow_conditional_comments:!0,start:function(t,o){if(n.get());else if(_(o.map,"data-ephox-embed-iri"))n.set(!0),r=function(e){var t=e.map.style,n=t?T.parseStyle(t):{};return{type:"ephox-embed-iri",source:e.map["data-ephox-embed-iri"],altsource:"",poster:"",width:w(n,"max-width").map(E).getOr(""),height:w(n,"max-height").map(E).getOr("")}}(o);else{if(r.source||"param"!==t||(r.source=o.map.movie),"iframe"!==t&&"object"!==t&&"embed"!==t&&"video"!==t&&"audio"!==t||(r.type||(r.type=t),r=k.extend(o.map,r)),"script"===t){var i=Q(e,o.map.src);if(!i)return;r={type:"script",source:o.map.src,width:String(i.width),height:String(i.height)}}"source"===t&&(r.source?r.altsource||(r.altsource=o.map.src):r.source=o.map.src),"img"!==t||r.poster||(r.poster=o.map.src)}}}).parse(t),r.source=r.source||r.src||r.data,r.altsource=r.altsource||"",r.poster=r.poster||"",r},$=function(e){return{mp3:"audio/mpeg",m4a:"audio/x-m4a",wav:"audio/wav",mp4:"video/mp4",webm:"video/webm",ogg:"video/ogg",swf:"application/x-shockwave-flash"}[e.toLowerCase().split(".").pop()]||""},M=tinymce.util.Tools.resolve("tinymce.html.Schema"),z=tinymce.util.Tools.resolve("tinymce.html.Writer"),R=C.DOM,D=function(e){return/^[0-9.]+$/.test(e)?e+"px":e},I=function(e,t){!function(e,t){for(var n=O(e),r=0,o=n.length;r<o;r++){var i=n[r];t(e[i],i)}}(t,(function(t,n){var r=""+t;if(e.map[n])for(var o=e.length;o--;){var i=e[o];i.name===n&&(r?(e.map[n]=r,i.value=r):(delete e.map[n],e.splice(o,1)))}else r&&(e.push({name:n,value:r}),e.map[n]=r)}))},N=["source","altsource"],L=function(e,t,n){var r,o=z(),i=y(!1),a=0;return B({validate:!1,allow_conditional_comments:!0,comment:function(e){o.comment(e)},cdata:function(e){o.cdata(e)},text:function(e,t){o.text(e,t)},start:function(e,s,l){if(i.get());else if(_(s.map,"data-ephox-embed-iri"))i.set(!0),function(e,t){var n=t.map.style,r=n?R.parseStyle(n):{};r["max-width"]=D(e.width),r["max-height"]=D(e.height),I(t,{style:R.serializeStyle(r)})}(t,s);else{switch(e){case"video":case"object":case"embed":case"img":case"iframe":void 0!==t.height&&void 0!==t.width&&I(s,{width:t.width,height:t.height})}if(n)switch(e){case"video":I(s,{poster:t.poster,src:""}),t.altsource&&I(s,{src:""});break;case"iframe":I(s,{src:t.source});break;case"source":if(a<2&&(I(s,{src:t[N[a]],type:t[N[a]+"mime"]}),!t[N[a]]))return;a++;break;case"img":if(!t.poster)return;r=!0}}o.start(e,s,l)},end:function(e){if(!i.get()){if("video"===e&&n)for(var s=0;s<2;s++)if(t[N[s]]){var l=[];l.map={},a<=s&&(I(l,{src:t[N[s]],type:t[N[s]+"mime"]}),o.start("source",l,!0))}if(t.poster&&"object"===e&&n&&!r){var c=[];c.map={},I(c,{src:t.poster,width:t.width,height:t.height}),o.start("img",c,!0)}}o.end(e)}},M({})).parse(e),o.getContent()},V=[{regex:/youtu\.be\/([\w\-_\?&=.]+)/i,type:"iframe",w:560,h:314,url:"www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/youtube\.com(.+)v=([^&]+)(&([a-z0-9&=\-_]+))?/i,type:"iframe",w:560,h:314,url:"www.youtube.com/embed/$2?$4",allowFullscreen:!0},{regex:/youtube.com\/embed\/([a-z0-9\?&=\-_]+)/i,type:"iframe",w:560,h:314,url:"www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/vimeo\.com\/([0-9]+)/,type:"iframe",w:425,h:350,url:"player.vimeo.com/video/$1?title=0&byline=0&portrait=0&color=8dc7dc",allowFullscreen:!0},{regex:/vimeo\.com\/(.*)\/([0-9]+)/,type:"iframe",w:425,h:350,url:"player.vimeo.com/video/$2?title=0&amp;byline=0",allowFullscreen:!0},{regex:/maps\.google\.([a-z]{2,3})\/maps\/(.+)msid=(.+)/,type:"iframe",w:425,h:350,url:'maps.google.com/maps/ms?msid=$2&output=embed"',allowFullscreen:!1},{regex:/dailymotion\.com\/video\/([^_]+)/,type:"iframe",w:480,h:270,url:"www.dailymotion.com/embed/video/$1",allowFullscreen:!0},{regex:/dai\.ly\/([^_]+)/,type:"iframe",w:480,h:270,url:"www.dailymotion.com/embed/video/$1",allowFullscreen:!0}],U=function(e,t){for(var n=function(e){var t=e.match(/^(https?:\/\/|www\.)(.+)$/i);return t&&t.length>1?"www."===t[1]?"https://":t[1]:"https://"}(t),r=e.regex.exec(t),o=n+e.url,i=function(e){o=o.replace("$"+e,(function(){return r[e]?r[e]:""}))},a=0;a<r.length;a++)i(a);return o.replace(/\?$/,"")},F=function(e,t){var n=k.extend({},t);if(!n.source&&(k.extend(n,P(x(e),n.embed)),!n.source))return"";n.altsource||(n.altsource=""),n.poster||(n.poster=""),n.source=e.convertURL(n.source,"source"),n.altsource=e.convertURL(n.altsource,"source"),n.sourcemime=$(n.source),n.altsourcemime=$(n.altsource),n.poster=e.convertURL(n.poster,"poster");var r,o,i=(r=n.source,o=V.filter((function(e){return e.regex.test(r)})),o.length>0?k.extend({},o[0],{url:U(o[0],r)}):null);if(i&&(n.source=i.url,n.type=i.type,n.allowfullscreen=i.allowFullscreen,n.width=n.width||String(i.w),n.height=n.height||String(i.h)),n.embed)return L(n.embed,n,!0);var a=Q(x(e),n.source);a&&(n.type="script",n.width=String(a.width),n.height=String(a.height));var s=function(e){return e.getParam("audio_template_callback")}(e),l=function(e){return e.getParam("video_template_callback")}(e);return n.width=n.width||"300",n.height=n.height||"150",k.each(n,(function(t,r){n[r]=e.dom.encode(""+t)})),"iframe"===n.type?function(e){var t=e.allowfullscreen?' allowFullscreen="1"':"";return'<iframe src="'+e.source+'" width="'+e.width+'" height="'+e.height+'"'+t+"></iframe>"}(n):"application/x-shockwave-flash"===n.sourcemime?function(e){var t='<object data="'+e.source+'" width="'+e.width+'" height="'+e.height+'" type="application/x-shockwave-flash">';return e.poster&&(t+='<img src="'+e.poster+'" width="'+e.width+'" height="'+e.height+'" />'),t+"</object>"}(n):-1!==n.sourcemime.indexOf("audio")?function(e,t){return t?t(e):'<audio controls="controls" src="'+e.source+'">'+(e.altsource?'\n<source src="'+e.altsource+'"'+(e.altsourcemime?' type="'+e.altsourcemime+'"':"")+" />\n":"")+"</audio>"}(n,s):"script"===n.type?function(e){return'<script src="'+e.source+'"><\/script>'}(n):function(e,t){return t?t(e):'<video width="'+e.width+'" height="'+e.height+'"'+(e.poster?' poster="'+e.poster+'"':"")+' controls="controls">\n<source src="'+e.source+'"'+(e.sourcemime?' type="'+e.sourcemime+'"':"")+" />\n"+(e.altsource?'<source src="'+e.altsource+'"'+(e.altsourcemime?' type="'+e.altsourcemime+'"':"")+" />\n":"")+"</video>"}(n,l)},H=function(e){return e.hasAttribute("data-mce-object")||e.hasAttribute("data-ephox-embed-iri")},W=tinymce.util.Tools.resolve("tinymce.util.Promise"),X={},j=function(e){return function(t){return F(e,t)}},q=function(e,t){var n=function(e){return e.getParam("media_url_resolver")}(e);return n?function(e,t,n){return new W((function(r,o){var i=function(n){return n.html&&(X[e.source]=n),r({url:e.source,html:n.html?n.html:t(e)})};X[e.source]?i(X[e.source]):n({url:e.source},i,o)}))}(t,j(e),n):function(e,t){return W.resolve({html:t(e),url:e.source})}(t,j(e))},Z=function(e,t){var n=t?function(e,t){return w(t,e).bind((function(e){return w(e,"meta")}))}(t,e).getOr({}):{},o=function(e,t,n){return function(r){var o,i=function(){return w(e,r)},s=function(){return w(t,r)},l=function(e){return w(e,"value").bind((function(e){return e.length>0?m.some(e):m.none()}))};return(o={})[r]=(r===n?i().bind((function(e){return a(e)?l(e).orThunk(s):s().orThunk((function(){return m.from(e)}))})):s().orThunk((function(){return i().bind((function(e){return a(e)?l(e):m.from(e)}))}))).getOr(""),o}}(e,n,t);return r(r(r(r(r({},o("source")),o("altsource")),o("poster")),o("embed")),function(e,t){var n={};return w(e,"dimensions").each((function(e){A(["width","height"],(function(r){w(t,r).orThunk((function(){return w(e,r)})).each((function(e){return n[r]=e}))}))})),n}(e,n))},Y=function(e){var t=r(r({},e),{source:{value:w(e,"source").getOr("")},altsource:{value:w(e,"altsource").getOr("")},poster:{value:w(e,"poster").getOr("")}});return A(["width","height"],(function(n){w(e,n).each((function(e){var r=t.dimensions||{};r[n]=e,t.dimensions=r}))})),t},G=function(e){return function(t){var n=t&&t.msg?"Media embed handler error: "+t.msg:"Media embed handler threw unknown error.";e.notificationManager.open({type:"error",text:n})}},K=function(e,t){return P(x(e),t)},J=function(e,t){return function(n){if(i(n.url)&&n.url.trim().length>0){var o=n.html,a=K(t,o),s=r(r({},a),{source:n.url,embed:o});e.setData(Y(s))}}},ee=function(e,t){var n=e.dom.select("*[data-mce-object]");e.insertContent(t),function(e,t){for(var n=e.dom.select("*[data-mce-object]"),r=0;r<t.length;r++)for(var o=n.length-1;o>=0;o--)t[r]===n[o]&&n.splice(o,1);e.selection.select(n[0])}(e,n),e.nodeChanged()},te=function(e){var t=function(e){var t=e.selection.getNode(),n=H(t)?e.serializer.serialize(t,{selection:!0}):"";return r({embed:n},P(x(e),n))}(e),n=y(t),o=Y(t),i=function(e){return e.getParam("media_dimensions",!0)}(e)?[{type:"sizeinput",name:"dimensions",label:"Constrain proportions",constrain:!0}]:[],a={title:"General",name:"general",items:v([[{name:"source",type:"urlinput",filetype:"media",label:"Source"}],i])},s=[];(function(e){return e.getParam("media_alt_source",!0)})(e)&&s.push({name:"altsource",type:"urlinput",filetype:"media",label:"Alternative source URL"}),function(e){return e.getParam("media_poster",!0)}(e)&&s.push({name:"poster",type:"urlinput",filetype:"image",label:"Media poster (Image URL)"});var l={title:"Advanced",name:"advanced",items:s},c=[a,{title:"Embed",items:[{type:"textarea",name:"embed",label:"Paste your embed code below:"}]}];s.length>0&&c.push(l);var u={type:"tabpanel",tabs:c},d=e.windowManager.open({title:"Insert/Edit Media",size:"normal",body:u,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:function(t){var r=Z(t.getData());(function(e,t,n){var r;t.embed=L(t.embed,t),t.embed&&(e.source===t.source||(r=t.source,_(X,r)))?ee(n,t.embed):q(n,t).then((function(e){ee(n,e.html)})).catch(G(n))})(n.get(),r,e),t.close()},onChange:function(t,o){switch(o.name){case"source":!function(t,n){var r=Z(n.getData(),"source");t.source!==r.source&&(J(d,e)({url:r.source,html:""}),q(e,r).then(J(d,e)).catch(G(e)))}(n.get(),t);break;case"embed":!function(t){var n=Z(t.getData()),r=K(e,n.embed);t.setData(Y(r))}(t);break;case"dimensions":case"altsource":case"poster":!function(t,n){var o=Z(t.getData(),n),i=F(e,o);t.setData(Y(r(r({},o),{embed:i})))}(t,o.name)}n.set(Z(t.getData()))},initialData:o})},ne=tinymce.util.Tools.resolve("tinymce.html.Node"),re=tinymce.util.Tools.resolve("tinymce.Env"),oe=tinymce.util.Tools.resolve("tinymce.html.DomParser"),ie=function(e,t){if(!1===function(e){return e.getParam("media_filter_html",!0)}(e))return t;var n,r=z();return B({validate:!1,allow_conditional_comments:!1,comment:function(e){n||r.comment(e)},cdata:function(e){n||r.cdata(e)},text:function(e,t){n||r.text(e,t)},start:function(t,o,i){if(n=!0,"script"!==t&&"noscript"!==t&&"svg"!==t){for(var a=o.length-1;a>=0;a--){var s=o[a].name;0===s.indexOf("on")&&(delete o.map[s],o.splice(a,1)),"style"===s&&(o[a].value=e.dom.serializeStyle(e.dom.parseStyle(o[a].value),t))}r.start(t,o,i),n=!1}},end:function(e){n||r.end(e)}},M({})).parse(t),r.getContent()},ae=function(e){var t=e.name;return"iframe"===t||"video"===t||"audio"===t},se=function(e,t,n,r){void 0===r&&(r=null);var o=e.attr(n);return l(o)?o:_(t,n)?null:r},le=function(e,t,n){var r="img"===t.name||"video"===e.name,o=r?"300":null,i="audio"===e.name?"30":"150",a=r?i:null;t.attr({width:se(e,n,"width",o),height:se(e,n,"height",a)})},ce=function(e,t){var n=t.name,r=new ne("img",1);return r.shortEnded=!0,de(e,t,r),le(t,r,{}),r.attr({style:t.attr("style"),src:re.transparentSrc,"data-mce-object":n,class:"mce-object mce-object-"+n}),r},ue=function(e,t){var n=t.name,r=new ne("span",1);r.attr({contentEditable:"false",style:t.attr("style"),"data-mce-object":n,class:"mce-preview-object mce-object-"+n}),de(e,t,r);var o=e.dom.parseStyle(t.attr("style")),i=new ne(n,1);if(le(t,i,o),i.attr({src:t.attr("src"),style:t.attr("style"),class:t.attr("class")}),"iframe"===n)i.attr({allowfullscreen:t.attr("allowfullscreen"),frameborder:"0"});else{A(["controls","crossorigin","currentTime","loop","muted","poster","preload"],(function(e){i.attr(e,t.attr(e))}));var a=r.attr("data-mce-html");l(a)&&function(e,t,n,r){for(var o=oe({forced_root_block:!1,validate:!1},e.schema).parse(r,{context:t});o.firstChild;)n.append(o.firstChild)}(e,n,i,unescape(a))}var s=new ne("span",1);return s.attr("class","mce-shim"),r.append(i),r.append(s),r},de=function(e,t,n){for(var r=t.attributes,o=r.length;o--;){var i=r[o].name,a=r[o].value;"width"!==i&&"height"!==i&&"style"!==i&&("data"!==i&&"src"!==i||(a=e.convertURL(a,i)),n.attr("data-mce-p-"+i,a))}var s=t.firstChild&&t.firstChild.value;s&&(n.attr("data-mce-html",escape(ie(e,s))),n.firstChild=null)},fe=function(e){var t=e.attr("class");return t&&/\btiny-pageembed\b/.test(t)},he=function(e){for(;e=e.parent;)if(e.attr("data-ephox-embed-iri")||fe(e))return!0;return!1};n.add("media",(function(e){return function(e){e.addCommand("mceMedia",(function(){te(e)}))}(e),function(e){var t=function(){return e.execCommand("mceMedia")};e.ui.registry.addToggleButton("media",{tooltip:"Insert/edit media",icon:"embed",onAction:t,onSetup:function(t){var n=e.selection;return t.setActive(H(n.getNode())),n.selectorChangedWithUnbind("img[data-mce-object],span[data-mce-object],div[data-ephox-embed-iri]",t.setActive).unbind}}),e.ui.registry.addMenuItem("media",{icon:"embed",text:"Media...",onAction:t})}(e),function(e){e.on("ResolveName",(function(e){var t;1===e.target.nodeType&&(t=e.target.getAttribute("data-mce-object"))&&(e.name=t)}))}(e),function(e){e.on("preInit",(function(){var t=e.schema.getSpecialElements();k.each("video audio iframe object".split(" "),(function(e){t[e]=new RegExp("</"+e+"[^>]*>","gi")}));var n=e.schema.getBoolAttrs();k.each("webkitallowfullscreen mozallowfullscreen allowfullscreen".split(" "),(function(e){n[e]={}})),e.parser.addNodeFilter("iframe,video,audio,object,embed,script",function(e){return function(t){for(var n,r,o=t.length;o--;)(n=t[o]).parent&&(n.parent.attr("data-mce-object")||("script"!==n.name||(r=Q(x(e),n.attr("src"))))&&(r&&(r.width&&n.attr("width",r.width.toString()),r.height&&n.attr("height",r.height.toString())),ae(n)&&S(e)&&re.ceFalse?he(n)||n.replace(ue(e,n)):he(n)||n.replace(ce(e,n))))}}(e)),e.serializer.addAttributeFilter("data-mce-object",(function(t,n){for(var r,o,i,a,s,l,c,u,d=t.length;d--;)if((r=t[d]).parent){for(c=r.attr(n),o=new ne(c,1),"audio"!==c&&"script"!==c&&((u=r.attr("class"))&&-1!==u.indexOf("mce-preview-object")?o.attr({width:r.firstChild.attr("width"),height:r.firstChild.attr("height")}):o.attr({width:r.attr("width"),height:r.attr("height")})),o.attr({style:r.attr("style")}),i=(a=r.attributes).length;i--;){var f=a[i].name;0===f.indexOf("data-mce-p-")&&o.attr(f.substr(11),a[i].value)}"script"===c&&o.attr("type","text/javascript"),(s=r.attr("data-mce-html"))&&((l=new ne("#text",3)).raw=!0,l.value=ie(e,unescape(s)),o.append(l)),r.replace(o)}}))})),e.on("SetContent",(function(){e.$("span.mce-preview-object").each((function(t,n){var r=e.$(n);0===r.find("span.mce-shim").length&&r.append('<span class="mce-shim"></span>')}))}))}(e),function(e){e.on("click keyup touchend",(function(){var t=e.selection.getNode();t&&e.dom.hasClass(t,"mce-preview-object")&&e.dom.getAttrib(t,"data-mce-selected")&&t.setAttribute("data-mce-selected","2")})),e.on("ObjectSelected",(function(e){"script"===e.target.getAttribute("data-mce-object")&&e.preventDefault()})),e.on("ObjectResized",(function(e){var t=e.target;if(t.getAttribute("data-mce-object")){var n=t.getAttribute("data-mce-html");n&&(n=unescape(n),t.setAttribute("data-mce-html",escape(L(n,{width:String(e.width),height:String(e.height)}))))}}))}(e),function(e){return{showDialog:function(){te(e)}}}(e)}))}()},24913:function(e,t,n){"use strict";var r=n(43724),o=n(35917),i=n(48686),a=n(28551),s=n(56969),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";t.f=r?i?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=u(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:d in n?n[d]:r[d],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},24993:function(e,t,n){var r=n(96430),o=n(13908),i=n(79135),a=n(83515),s=Object.assign;function l(e,t,n){for(var i,s=t.length,l=1;l<s;l++)i=t[l],r(o(t[l]),n?function(t){e[t]=a(i[t],n)}:function(t){e[t]=i[t]});return e}e.exports=function(e){if(e){var t=arguments;if(!0!==e)return s?s.apply(Object,t):l(e,t);if(t.length>1)return l(e=i(e[1])?[]:{},t,!0)}return e}},25170:function(e,t,n){"use strict";var r=n(46706),o=n(94402);e.exports=r(o.proto,"size","get")||function(e){return e.size}},25343:function(e,t,n){"use strict";n.d(t,{H2:function(){return i},Nk:function(){return a},Ze:function(){return o},rz:function(){return s},vK:function(){return l}});var r=n(48548);const o=(0,n(50819).jq)([String,Object,Function]),i={Close:r.Close},a={Close:r.Close,SuccessFilled:r.SuccessFilled,InfoFilled:r.InfoFilled,WarningFilled:r.WarningFilled,CircleCloseFilled:r.CircleCloseFilled},s={success:r.SuccessFilled,warning:r.WarningFilled,error:r.CircleCloseFilled,info:r.InfoFilled},l={validating:r.Loading,success:r.CircleCheck,error:r.CircleClose}},25353:function(e,t){"use strict";var n=/^(?:0|[1-9]\d*)$/;t.A=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},25397:function(e,t,n){"use strict";var r=n(47055),o=n(67750);e.exports=function(e){return r(o(e))}},25451:function(e,t,n){"use strict";n.d(t,{wd:function(){return a},wx:function(){return s},x$:function(){return l}});var r=n(29308),o=n(72589),i=n(43199);function a(e){return e=c(e),function(t){return i.clipPointsByRect(t,e)}}function s(e,t){return e=c(e),function(n){var r=null!=t?t:n,o=r?e.width:e.height,i=r?e.x:e.y;return[i,i+(o||0)]}}function l(e,t,n){var r=c(e);return function(e,i){return r.contain(i[0],i[1])&&!(0,o.I)(e,t,n)}}function c(e){return r.A.create(e)}},25619:function(e,t,n){"use strict";n.d(t,{A:function(){return m}});var r=n(98026),o=n(68686),i=n(24326),a=n(98983),s=n(50626),l=n(42262),c=n(48170),u=r.each,d=i.Y6,f=function(){function e(e,t,n,r){this._dimName=e,this._axisIndex=t,this.ecModel=r,this._dataZoomModel=n}return e.prototype.hostedBy=function(e){return this._dataZoomModel===e},e.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},e.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},e.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries((function(t){if((0,o._u)(t)){var n=(0,o.dX)(this._dimName),r=t.getReferringComponents(n,c.US).models[0];r&&this._axisIndex===r.componentIndex&&e.push(t)}}),this),e},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return r.clone(this._minMaxSpan)},e.prototype.calculateDataWindow=function(e){var t,n=this._dataExtent,r=this.getAxisModel().axis.scale,o=this._dataZoomModel.getRangePropMode(),s=[0,100],l=[],c=[];u(["start","end"],(function(a,u){var d=e[a],f=e[a+"Value"];"percent"===o[u]?(null==d&&(d=s[u]),f=r.parse(i.Cb(d,s,n))):(t=!0,f=null==f?n[u]:r.parse(f),d=i.Cb(f,n,s)),c[u]=null==f||isNaN(f)?n[u]:f,l[u]=null==d||isNaN(d)?s[u]:d})),d(c),d(l);var f=this._minMaxSpan;function h(e,t,n,o,s){var l=s?"Span":"ValueSpan";(0,a.A)(0,e,n,"all",f["min"+l],f["max"+l]);for(var c=0;c<2;c++)t[c]=i.Cb(e[c],n,o,!0),s&&(t[c]=r.parse(t[c]))}return t?h(c,l,n,s,!1):h(l,c,s,n,!0),{valueWindow:c,percentWindow:l}},e.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=function(e,t,n){var r=[1/0,-1/0];u(n,(function(e){(0,s.PN)(r,e.getData(),t)}));var o=e.getAxisModel(),i=(0,l.Tc)(o.axis.scale,o,r).calculate();return[i.min,i.max]}(this,this._dimName,t),this._updateMinMaxSpan();var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(e,t){if(e===this._dataZoomModel){var n=this._dimName,o=this.getTargetSeriesModels(),i=e.get("filterMode"),a=this._valueWindow;"none"!==i&&u(o,(function(e){var t=e.getData(),o=t.mapDimensionsAll(n);if(o.length){if("weakFilter"===i){var s=t.getStore(),l=r.map(o,(function(e){return t.getDimensionIndex(e)}),t);t.filterSelf((function(e){for(var t,n,r,i=0;i<o.length;i++){var c=s.get(l[i],e),u=!isNaN(c),d=c<a[0],f=c>a[1];if(u&&!d&&!f)return!0;u&&(r=!0),d&&(t=!0),f&&(n=!0)}return r&&t&&n}))}else u(o,(function(n){if("empty"===i)e.setData(t=t.map(n,(function(e){return function(e){return e>=a[0]&&e<=a[1]}(e)?e:NaN})));else{var r={};r[n]=a,t.selectRange(r)}}));u(o,(function(e){t.setApproximateExtent(a,e)}))}}))}},e.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,n=this._dataExtent;u(["min","max"],(function(r){var o=t.get(r+"Span"),a=t.get(r+"ValueSpan");null!=a&&(a=this.getAxisModel().axis.scale.parse(a)),null!=a?o=i.Cb(n[0]+a,n,[0,100],!0):null!=o&&(a=i.Cb(o,[0,100],n,!0)-n[0]),e[r+"Span"]=o,e[r+"ValueSpan"]=a}),this)},e.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,n=this._valueWindow;if(t){var r=i.hb(n,[0,500]);r=Math.min(r,20);var o=e.axis.scale.rawExtentInfo;0!==t[0]&&o.setDeterminedMinMax("min",+n[0].toFixed(r)),100!==t[1]&&o.setDeterminedMinMax("max",+n[1].toFixed(r)),o.freeze()}},e}(),h={getTargetSeries:function(e){function t(t){e.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(r,i){var a=e.getComponent((0,o.dX)(r),i);t(r,i,a,n)}))}))}t((function(e,t,n,r){n.__dzAxisProxy=null}));var n=[];t((function(t,r,o,i){o.__dzAxisProxy||(o.__dzAxisProxy=new f(t,r,i,e),n.push(o.__dzAxisProxy))}));var i=(0,r.createHashMap)();return(0,r.each)(n,(function(e){(0,r.each)(e.getTargetSeriesModels(),(function(e){i.set(e.uid,e)}))})),i},overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(t,n){e.getAxisProxy(t,n).reset(e)})),e.eachTargetAxis((function(n,r){e.getAxisProxy(n,r).filterData(e,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy();if(t){var n=t.getDataPercentWindow(),r=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}}))}},p=!1;function m(e){p||(p=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,h),function(e){e.registerAction("dataZoom",(function(e,t){var n=(0,o.CN)(t,e);(0,r.each)(n,(function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))}(e),e.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}},25682:function(e,t,n){var r=n(38588),o=n(53876),i=n(35224);e.exports=function(e,t,n){var a,s=t&&!isNaN(t)?3*t:0;return e=o(e),i(e)?(a=3*(function(e){var t=e.getMonth();return t<3?1:t<6?2:t<9?3:4}(e)-1),e.setMonth(a),r(e,s,n)):e}},25745:function(e,t,n){"use strict";var r=n(77629);e.exports=function(e,t){return r[e]||(r[e]=t||{})}},25872:function(e){e.exports=function(){}},26198:function(e,t,n){"use strict";var r=n(18014);e.exports=function(e){return r(e.length)}},26269:function(e){"use strict";e.exports={}},26333:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(98026),o=n(48170);function i(e,t){var n,i=[],a=e.seriesIndex;if(null==a||!(n=t.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=o.le(s,e);if(null==l||l<0||r.isArray(l))return{point:[]};var c=s.getItemGraphicEl(l),u=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(l)||[];else if(u&&u.dataToPoint)if(e.isStacked){var d=u.getBaseAxis(),f=u.getOtherAxis(d).dim,h=d.dim,p="x"===f||"radius"===f?1:0,m=s.mapDimension(h),g=[];g[p]=s.get(m,l),g[1-p]=s.get(s.getCalculationInfo("stackResultDimension"),l),i=u.dataToPoint(g)||[]}else i=u.dataToPoint(s.getValues(r.map(u.dimensions,(function(e){return s.mapDimension(e)})),l))||[];else if(c){var A=c.getBoundingRect().clone();A.applyTransform(c.transform),i=[A.x+A.width/2,A.y+A.height/2]}return{point:i,el:c}}},26346:function(e,t){"use strict";var n=function(){function e(e,t){this.x=e||0,this.y=t||0}return e.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(e,t){return this.x=e,this.y=t,this},e.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},e.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},e.prototype.scale=function(e){this.x*=e,this.y*=e},e.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},e.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},e.prototype.dot=function(e){return this.x*e.x+this.y*e.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},e.prototype.distance=function(e){var t=this.x-e.x,n=this.y-e.y;return Math.sqrt(t*t+n*n)},e.prototype.distanceSquare=function(e){var t=this.x-e.x,n=this.y-e.y;return t*t+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(e){if(e){var t=this.x,n=this.y;return this.x=e[0]*t+e[2]*n+e[4],this.y=e[1]*t+e[3]*n+e[5],this}},e.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},e.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},e.set=function(e,t,n){e.x=t,e.y=n},e.copy=function(e,t){e.x=t.x,e.y=t.y},e.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},e.lenSquare=function(e){return e.x*e.x+e.y*e.y},e.dot=function(e,t){return e.x*t.x+e.y*t.y},e.add=function(e,t,n){e.x=t.x+n.x,e.y=t.y+n.y},e.sub=function(e,t,n){e.x=t.x-n.x,e.y=t.y-n.y},e.scale=function(e,t,n){e.x=t.x*n,e.y=t.y*n},e.scaleAndAdd=function(e,t,n,r){e.x=t.x+n.x*r,e.y=t.y+n.y*r},e.lerp=function(e,t,n,r){var o=1-r;e.x=o*t.x+r*n.x,e.y=o*t.y+r*n.y},e}();t.A=n},26642:function(e,t,n){var r=n(48007),o=n(54364),i=Date.now||function(){return r(o())};e.exports=i},26988:function(e,t,n){var r=n(2237),o=n(96430),i=n(24993);function a(e,t,n,r){var i=r.key,s=r.parentKey,l=r.children,c=r.data,u=r.updated,d=r.clear;return o(n,(function(n){var o=n[l];c&&(n=n[c]),!1!==u&&(n[s]=t?t[i]:null),e.push(n),o&&o.length&&a(e,n,o,r),d&&delete n[l]})),e}e.exports=function(e,t){return a([],null,e,i({},r.treeOptions,t))}},27097:function(e){e.exports=function(e){return e.toUpperCase()}},27260:function(e,t,n){var r=n(40481),o=n(13908);e.exports=function(e){var t=new RegExp("(?:"+o(e).join("|")+")","g");return function(n){return r(n).replace(t,(function(t){return e[t]}))}}},27380:function(e,t,n){"use strict";function r(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map((function(e){e(n)})),(r=e.get("*"))&&r.slice().map((function(e){e(t,n)}))}}}n.d(t,{A:function(){return r}})},27476:function(e,t,n){"use strict";var r=n(22195),o=n(79504);e.exports=function(e){if("Function"===r(e))return o(e)}},27524:function(){!function(){"use strict";var e,t,n,r=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=function(e){return function(t){return r=typeof(n=t),(null===n?"null":"object"===r&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"===r&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":r)===e;var n,r}},i=function(e){return function(t){return typeof t===e}},a=o("string"),s=o("object"),l=o("array"),c=i("boolean"),u=i("function"),d=i("number"),f=function(){},h=function(e){return function(){return e}},p=function(e,t){return e===t},m=function(e){return function(t){return!e(t)}},g=h(!1),A=h(!0),v=function(){return y},y={fold:function(e,t){return e()},isSome:g,isNone:A,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:h(null),getOrUndefined:h(void 0),or:t,orThunk:e,map:v,each:f,bind:v,exists:g,forall:A,filter:function(){return v()},toArray:function(){return[]},toString:h("none()")},O=function(e){var t=h(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:A,isNone:g,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return O(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:y},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},b={some:O,none:v,from:function(e){return null==e?y:O(e)}},w=Array.prototype.slice,_=Array.prototype.push,x=function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r},S=function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)},k=function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];t(i,r)&&n.push(i)}return n},C=function(e,t,n){return S(e,(function(e,r){n=t(n,e,r)})),n},B=function(e,t,n){for(var r=0,o=e.length;r<o;r++){var i=e[r];if(t(i,r))return b.some(i);if(n(i,r))break}return b.none()},Q=function(e,t){return B(e,t,g)},T=function(e,t){return function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!l(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);_.apply(t,e[n])}return t}(x(e,t))},E=function(e){var t=w.call(e,0);return t.reverse(),t},P=function(e,t){return t>=0&&t<e.length?b.some(e[t]):b.none()},$=function(e){return P(e,0)},M=function(e){return P(e,e.length-1)},z=function(){return z=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},z.apply(this,arguments)},R=function(){return D(0,0)},D=function(e,t){return{major:e,minor:t}},I={nu:D,detect:function(e,t){var n=String(t).toLowerCase();return 0===e.length?R():function(e,t){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.test(t))return r}}(e,t);if(!n)return{major:0,minor:0};var r=function(e){return Number(t.replace(n,"$"+e))};return D(r(1),r(2))}(e,n)},unknown:R},N=function(e,t){var n=String(t).toLowerCase();return Q(e,(function(e){return e.search(n)}))},L=function(e,t){return-1!==e.indexOf(t)},V=(n=/^\s+|\s+$/g,function(e){return e.replace(n,"")}),U=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,F=function(e){return function(t){return L(t,e)}},H=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return L(e,"edge/")&&L(e,"chrome")&&L(e,"safari")&&L(e,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,U],search:function(e){return L(e,"chrome")&&!L(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return L(e,"msie")||L(e,"trident")}},{name:"Opera",versionRegexes:[U,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:F("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:F("firefox")},{name:"Safari",versionRegexes:[U,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(L(e,"safari")||L(e,"mobile/"))&&L(e,"applewebkit")}}],W=[{name:"Windows",search:F("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return L(e,"iphone")||L(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:F("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:F("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:F("linux"),versionRegexes:[]},{name:"Solaris",search:F("sunos"),versionRegexes:[]},{name:"FreeBSD",search:F("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:F("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],X={browsers:h(H),oses:h(W)},j="Edge",q="Chrome",Z="Opera",Y="Firefox",G="Safari",K=function(e){var t=e.current,n=e.version,r=function(e){return function(){return t===e}};return{current:t,version:n,isEdge:r(j),isChrome:r(q),isIE:r("IE"),isOpera:r(Z),isFirefox:r(Y),isSafari:r(G)}},J=function(){return K({current:void 0,version:I.unknown()})},ee=K,te=(h(j),h(q),h("IE"),h(Z),h(Y),h(G),"Windows"),ne="Android",re="Linux",oe="Solaris",ie="FreeBSD",ae="ChromeOS",se=function(e){var t=e.current,n=e.version,r=function(e){return function(){return t===e}};return{current:t,version:n,isWindows:r(te),isiOS:r("iOS"),isAndroid:r(ne),isOSX:r("OSX"),isLinux:r(re),isSolaris:r(oe),isFreeBSD:r(ie),isChromeOS:r(ae)}},le=function(){return se({current:void 0,version:I.unknown()})},ce=se,ue=(h(te),h("iOS"),h(ne),h(re),h("OSX"),h(oe),h(ie),h(ae),function(e,t,n){var r=X.browsers(),o=X.oses(),i=t.bind((function(e){return function(e,t){return function(e,t){for(var n=0;n<e.length;n++){var r=t(e[n]);if(r.isSome())return r}return b.none()}(t.brands,(function(t){var n=t.brand.toLowerCase();return Q(e,(function(e){var t;return n===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((function(e){return{current:e.name,version:I.nu(parseInt(t.version,10),0)}}))}))}(r,e)})).orThunk((function(){return function(e,t){return N(e,t).map((function(e){var n=I.detect(e.versionRegexes,t);return{current:e.name,version:n}}))}(r,e)})).fold(J,ee),a=function(e,t){return N(e,t).map((function(e){var n=I.detect(e.versionRegexes,t);return{current:e.name,version:n}}))}(o,e).fold(le,ce),s=function(e,t,n,r){var o=e.isiOS()&&!0===/ipad/i.test(n),i=e.isiOS()&&!o,a=e.isiOS()||e.isAndroid(),s=a||r("(pointer:coarse)"),l=o||!i&&a&&r("(min-device-width:768px)"),c=i||a&&!l,u=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),d=!c&&!l&&!u;return{isiPad:h(o),isiPhone:h(i),isTablet:h(l),isPhone:h(c),isTouch:h(s),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:h(u),isDesktop:h(d)}}(a,i,e,n);return{browser:i,os:a,deviceType:s}}),de=function(e){return window.matchMedia(e).matches},fe=function(e){var t,n=!1;return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return n||(n=!0,t=e.apply(null,r)),t}}((function(){return ue(navigator.userAgent,b.from(navigator.userAgentData),de)})),he=function(e){if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},pe=function(e,t){var n=(t||document).createElement(e);return he(n)},me=he,ge=function(e,t){return e.dom===t.dom},Ae=function(e,t){return fe().browser.isIE()?function(e,t){return n=e.dom,r=t.dom,o=Node.DOCUMENT_POSITION_CONTAINED_BY,!!(n.compareDocumentPosition(r)&o);var n,r,o}(e,t):function(e,t){var n=e.dom,r=t.dom;return n!==r&&n.contains(r)}(e,t)},ve=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),ye=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),Oe=tinymce.util.Tools.resolve("tinymce.util.VK"),be=Object.keys,we=function(e,t){for(var n=be(e),r=0,o=n.length;r<o;r++){var i=n[r];t(e[i],i)}};"undefined"!=typeof window?window:Function("return this;")();var _e=function(e){return e.dom.nodeName.toLowerCase()},xe=function(e){return 1===function(e){return e.dom.nodeType}(e)},Se=function(e){return function(t){return xe(t)&&_e(t)===e}},ke=function(e,t){var n=e.dom;we(t,(function(e,t){!function(e,t,n){if(!(a(n)||c(n)||d(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")}(n,t,e)}))},Ce=function(e){return C(e.dom.attributes,(function(e,t){return e[t.name]=t.value,e}),{})},Be=function(e){return b.from(e.dom.parentNode).map(me)},Qe=function(e){return x(e.dom.childNodes,me)},Te=function(e,t){var n=e.dom.childNodes;return b.from(n[t]).map(me)},Ee=function(e){return Te(e,0)},Pe=function(e){return Te(e,e.dom.childNodes.length-1)},$e=function(e,t){Be(e).each((function(n){n.dom.insertBefore(t.dom,e.dom)}))},Me=function(e,t){e.dom.appendChild(t.dom)},ze=function(e,t){S(t,(function(t){Me(e,t)}))},Re=function(e){var t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},De=function(e){return function(e){return me(e.dom.cloneNode(!0))}(e)},Ie=function(e,t){var n=function(e,t){var n=pe(t),r=Ce(e);return ke(n,r),n}(e,t);$e(e,n);var r=Qe(e);return ze(n,r),Re(e),n},Ne=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),Le=tinymce.util.Tools.resolve("tinymce.util.Tools"),Ve=function(e){return function(t){return t&&t.nodeName.toLowerCase()===e}},Ue=function(e){return function(t){return t&&e.test(t.nodeName)}},Fe=function(e){return e&&3===e.nodeType},He=Ue(/^(OL|UL|DL)$/),We=Ue(/^(OL|UL)$/),Xe=Ve("ol"),je=Ue(/^(LI|DT|DD)$/),qe=Ue(/^(DT|DD)$/),Ze=Ue(/^(TH|TD)$/),Ye=Ve("br"),Ge=function(e,t){return t&&!!e.schema.getTextBlockElements()[t.nodeName]},Ke=function(e,t){return e&&e.nodeName in t},Je=function(e,t,n){var r=e.isEmpty(t);return!(n&&e.select("span[data-mce-type=bookmark]",t).length>0)&&r},et=function(e,t){return e.isChildOf(t,e.getRoot())},tt=function(e,t){var n,r,o,i=e.dom,a=e.schema.getBlockElements(),s=i.createFragment(),l=function(e){var t=e.getParam("forced_root_block","p");return!1===t?"":!0===t?"p":t}(e);if(l&&((r=i.create(l)).tagName===l.toUpperCase()&&i.setAttribs(r,function(e){return e.getParam("forced_root_block_attrs",{})}(e)),Ke(t.firstChild,a)||s.appendChild(r)),t)for(;n=t.firstChild;){var c=n.nodeName;o||"SPAN"===c&&"bookmark"===n.getAttribute("data-mce-type")||(o=!0),Ke(n,a)?(s.appendChild(n),r=null):l?(r||(r=i.create(l),s.appendChild(r)),r.appendChild(n)):s.appendChild(n)}return l?o||r.appendChild(i.create("br",{"data-mce-bogus":"1"})):s.appendChild(i.create("br")),s},nt=Ne.DOM,rt=Se("dd"),ot=Se("dt"),it=function(e){ot(e)&&Ie(e,"dd")},at=function(e,t){if(Fe(e))return{container:e,offset:t};var n=ve.getNode(e,t);return Fe(n)?{container:n,offset:t>=e.childNodes.length?n.data.length:0}:n.previousSibling&&Fe(n.previousSibling)?{container:n.previousSibling,offset:n.previousSibling.data.length}:n.nextSibling&&Fe(n.nextSibling)?{container:n.nextSibling,offset:0}:{container:e,offset:t}},st=function(e){var t=e.cloneRange(),n=at(e.startContainer,e.startOffset);t.setStart(n.container,n.offset);var r=at(e.endContainer,e.endOffset);return t.setEnd(r.container,r.offset),t},lt=tinymce.util.Tools.resolve("tinymce.dom.DomQuery"),ct=function(e,t){var n=t||e.selection.getStart(!0);return e.dom.getParent(n,"OL,UL,DL",dt(e,n))},ut=function(e){var t=e.selection.getSelectedBlocks();return k(function(e,t){var n=Le.map(t,(function(t){return e.dom.getParent(t,"li,dd,dt",dt(e,t))||t}));return lt.unique(n)}(e,t),je)},dt=function(e,t){var n=e.dom.getParents(t,"TD,TH");return n.length>0?n[0]:e.getBody()},ft=function(e,t){var n=e.dom.getParents(t,"ol,ul",dt(e,t));return M(n)},ht=function(e,t){var n=x(t,(function(t){return ft(e,t).getOr(t)}));return lt.unique(n)},pt=function(e,t,n){return void 0===n&&(n=p),e.exists((function(e){return n(e,t)}))},mt=function(e,t,n){return e.isSome()&&t.isSome()?b.some(n(e.getOrDie(),t.getOrDie())):b.none()},gt=function(e,t,n){return e.fire("ListMutation",{action:t,element:n})},At=function(e,t,n){if(!a(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);(function(e){return void 0!==e.style&&u(e.style.getPropertyValue)})(e)&&e.style.setProperty(t,n)},vt=function(e,t){Me(e.item,t.list)},yt=function(e,t){var n={list:pe(t,e),item:pe("li",e)};return Me(n.list,n.item),n},Ot=function(e){return function(e,t){var n=e.dom;if(1!==n.nodeType)return!1;var r=n;if(void 0!==r.matches)return r.matches(t);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(t);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}(e,"OL,UL")},bt=function(e){return Ee(e).exists(Ot)},wt=function(e){return e.depth>0},_t=function(e){return e.isSelected},xt=function(e){var t=Qe(e),n=Pe(e).exists(Ot)?t.slice(0,-1):t;return x(n,De)},St=function(e){return S(e,(function(t,n){(function(e,t){var n=e[t].depth,r=function(e){return e.depth===n&&!e.dirty},o=function(e){return e.depth<n};return B(E(e.slice(0,t)),r,o).orThunk((function(){return B(e.slice(t+1),r,o)}))})(e,n).fold((function(){t.dirty&&function(e){e.listAttributes=function(e,t){var n={};return function(e,t,n,r){we(e,(function(e,o){(t(e,o)?n:r)(e,o)}))}(e,t,function(e){return function(t,n){e[n]=t}}(n),f),n}(e.listAttributes,(function(e,t){return"start"!==t}))}(t)}),(function(e){return r=e,(n=t).listType=r.listType,void(n.listAttributes=z({},r.listAttributes));var n,r}))})),e},kt=function(e,t,n,r){return Ee(r).filter(Ot).fold((function(){t.each((function(e){ge(e.start,r)&&n.set(!0)}));var o=function(e,t,n){return Be(e).filter(xe).map((function(r){return{depth:t,dirty:!1,isSelected:n,content:xt(e),itemAttributes:Ce(e),listAttributes:Ce(r),listType:_e(r)}}))}(r,e,n.get());t.each((function(e){ge(e.end,r)&&n.set(!1)}));var i=Pe(r).filter(Ot).map((function(r){return Ct(e,t,n,r)})).getOr([]);return o.toArray().concat(i)}),(function(r){return Ct(e,t,n,r)}))},Ct=function(e,t,n,r){return T(Qe(r),(function(r){return(Ot(r)?Ct:kt)(e+1,t,n,r)}))},Bt=function(e,t){var n=St(t);return function(e,t){var n=C(t,(function(t,n){return n.depth>t.length?function(e,t,n){var r,o=function(e,t,n){for(var r=[],o=0;o<n;o++)r.push(yt(e,t.listType));return r}(e,n,n.depth-t.length);return function(e){for(var t=1;t<e.length;t++)vt(e[t-1],e[t])}(o),function(e,t){for(var n=0;n<e.length-1;n++)r=e[n].item.dom,At(r,"list-style-type","none");var r;M(e).each((function(e){ke(e.list,t.listAttributes),ke(e.item,t.itemAttributes),ze(e.item,t.content)}))}(o,n),r=o,mt(M(t),$(r),vt),t.concat(o)}(e,t,n):function(e,t,n){var r=t.slice(0,n.depth);return M(r).each((function(t){var r=function(e,t,n){var r=pe("li",e);return ke(r,t),ze(r,n),r}(e,n.itemAttributes,n.content);!function(e,t){Me(e.list,t),e.item=t}(t,r),function(e,t){_e(e.list)!==t.listType&&(e.list=Ie(e.list,t.listType)),ke(e.list,t.listAttributes)}(t,n)})),r}(e,t,n)}),[]);return $(n).map((function(e){return e.list}))}(e.contentDocument,n).toArray()},Qt=function(e,t,n){var r=function(e,t){var n,r=(n=!1,{get:function(){return n},set:function(e){n=e}});return x(e,(function(e){return{sourceList:e,entries:Ct(0,t,r,e)}}))}(t,function(e){var t=x(ut(e),me);return mt(Q(t,m(bt)),Q(E(t),m(bt)),(function(e,t){return{start:e,end:t}}))}(e));S(r,(function(t){!function(e,t){S(k(e,_t),(function(e){return function(e,t){switch(e){case"Indent":t.depth++;break;case"Outdent":t.depth--;break;case"Flatten":t.depth=0}t.dirty=!0}(t,e)}))}(t.entries,n);var r,o=function(e,t){return T(function(e,t){if(0===e.length)return[];for(var n=t(e[0]),r=[],o=[],i=0,a=e.length;i<a;i++){var s=e[i],l=t(s);l!==n&&(r.push(o),o=[]),n=l,o.push(s)}return 0!==o.length&&r.push(o),r}(t,wt),(function(t){return $(t).exists(wt)?Bt(e,t):function(e,t){var n=St(t);return x(n,(function(t){var n,r,o=(n=t.content,r=document.createDocumentFragment(),S(n,(function(e){r.appendChild(e.dom)})),me(r));return me(tt(e,o.dom))}))}(e,t)}))}(e,t.entries);S(o,(function(t){gt(e,"Indent"===n?"IndentList":"OutdentList",t.dom)})),r=t.sourceList,S(o,(function(e){$e(r,e)})),Re(t.sourceList)}))},Tt=function(e,t){var n=x(function(e){var t=function(e){var t=ft(e,e.selection.getStart()),n=k(e.selection.getSelectedBlocks(),We);return t.toArray().concat(n)}(e);return ht(e,t)}(e),me),r=x(function(e){return k(ut(e),qe)}(e),me),o=!1;if(n.length||r.length){var i=e.selection.getBookmark();Qt(e,n,t),function(e,t,n){S(n,"Indent"===t?it:function(t){return function(e,t){rt(t)?Ie(t,"dt"):ot(t)&&Be(t).each((function(n){return function(e,t,n){var r=nt.select('span[data-mce-type="bookmark"]',t),o=tt(e,n),i=nt.createRng();i.setStartAfter(n),i.setEndAfter(t);for(var a,s=i.extractContents(),l=s.firstChild;l;l=l.firstChild)if("LI"===l.nodeName&&e.dom.isEmpty(l)){nt.remove(l);break}e.dom.isEmpty(s)||nt.insertAfter(s,t),nt.insertAfter(o,t),Je(e.dom,n.parentNode)&&(a=n.parentNode,Le.each(r,(function(e){a.parentNode.insertBefore(e,n.parentNode)})),nt.remove(a)),nt.remove(n),Je(e.dom,t)&&nt.remove(t)}(e,n.dom,t.dom)}))}(e,t)})}(e,t,r),e.selection.moveToBookmark(i),e.selection.setRng(st(e.selection.getRng())),e.nodeChanged(),o=!0}return o},Et=function(e){return Tt(e,"Indent")},Pt=function(e){return Tt(e,"Outdent")},$t=function(e){return Tt(e,"Flatten")},Mt=tinymce.util.Tools.resolve("tinymce.dom.BookmarkManager"),zt=Ne.DOM,Rt=function(e){var t={},n=function(n){var r=e[n?"startContainer":"endContainer"],o=e[n?"startOffset":"endOffset"];if(1===r.nodeType){var i=zt.create("span",{"data-mce-type":"bookmark"});r.hasChildNodes()?(o=Math.min(o,r.childNodes.length-1),n?r.insertBefore(i,r.childNodes[o]):zt.insertAfter(i,r.childNodes[o])):r.appendChild(i),r=i,o=0}t[n?"startContainer":"endContainer"]=r,t[n?"startOffset":"endOffset"]=o};return n(!0),e.collapsed||n(),t},Dt=function(e){var t=function(t){var n,r=n=e[t?"startContainer":"endContainer"],o=e[t?"startOffset":"endOffset"];r&&(1===r.nodeType&&(o=function(e){for(var t=e.parentNode.firstChild,n=0;t;){if(t===e)return n;1===t.nodeType&&"bookmark"===t.getAttribute("data-mce-type")||n++,t=t.nextSibling}return-1}(r),r=r.parentNode,zt.remove(n),!r.hasChildNodes()&&zt.isBlock(r)&&r.appendChild(zt.create("br"))),e[t?"startContainer":"endContainer"]=r,e[t?"startOffset":"endOffset"]=o)};t(!0),t();var n=zt.createRng();return n.setStart(e.startContainer,e.startOffset),e.endContainer&&n.setEnd(e.endContainer,e.endOffset),st(n)},It=function(e){switch(e){case"UL":return"ToggleUlList";case"OL":return"ToggleOlList";case"DL":return"ToggleDLList"}},Nt=function(e){return/\btox\-/.test(e.className)},Lt=function(e,t,n){var r=function(e){var r=B(e.parents,He,Ze).filter((function(e){return e.nodeName===t&&!Nt(e)})).isSome();n(r)},o=e.dom.getParents(e.selection.getNode());return r({parents:o}),e.on("NodeChange",r),function(){return e.off("NodeChange",r)}},Vt=function(e,t){Le.each(t,(function(t,n){e.setAttribute(n,t)}))},Ut=function(e,t,n){!function(e,t,n){var r=n["list-style-type"]?n["list-style-type"]:null;e.setStyle(t,"list-style-type",r)}(e,t,n),function(e,t,n){Vt(t,n["list-attributes"]),Le.each(e.select("li",t),(function(e){Vt(e,n["list-item-attributes"])}))}(e,t,n)},Ft=function(e,t,n,r){var o=t[n?"startContainer":"endContainer"],i=t[n?"startOffset":"endOffset"];for(1===o.nodeType&&(o=o.childNodes[Math.min(i,o.childNodes.length-1)]||o),!n&&Ye(o.nextSibling)&&(o=o.nextSibling);o.parentNode!==r;){if(Ge(e,o))return o;if(/^(TD|TH)$/.test(o.parentNode.nodeName))return o;o=o.parentNode}return o},Ht=function(e,t,n){var r=e.selection.getRng(),o="LI",i=dt(e,e.selection.getStart(!0)),a=e.dom;if("false"!==a.getContentEditable(e.selection.getNode())){"DL"===(t=t.toUpperCase())&&(o="DT");var s=Rt(r),l=function(e,t,n){for(var r,o=[],i=e.dom,a=Ft(e,t,!0,n),s=Ft(e,t,!1,n),l=[],c=a;c&&(l.push(c),c!==s);c=c.nextSibling);return Le.each(l,(function(t){if(Ge(e,t))return o.push(t),void(r=null);if(i.isBlock(t)||Ye(t))return Ye(t)&&i.remove(t),void(r=null);var a=t.nextSibling;Mt.isBookmarkNode(t)&&(He(a)||Ge(e,a)||!a&&t.parentNode===n)?r=null:(r||(r=i.create("p"),t.parentNode.insertBefore(r,t),o.push(r)),r.appendChild(t))})),o}(e,r,i);Le.each(l,(function(r){var i,s=r.previousSibling,l=r.parentNode;je(l)||(s&&He(s)&&s.nodeName===t&&function(e,t,n){var r=e.getStyle(t,"list-style-type"),o=n?n["list-style-type"]:"";return r===(null===o?"":o)}(a,s,n)?(i=s,r=a.rename(r,o),s.appendChild(r)):(i=a.create(t),r.parentNode.insertBefore(i,r),i.appendChild(r),r=a.rename(r,o)),function(e,t){Le.each(["margin","margin-right","margin-bottom","margin-left","margin-top","padding","padding-right","padding-bottom","padding-left","padding-top"],(function(n){var r;return e.setStyle(t,((r={})[n]="",r))}))}(a,r),Ut(a,i,n),Xt(e.dom,i))})),e.selection.setRng(Dt(s))}},Wt=function(e,t,n){return function(e,t){return e&&t&&He(e)&&e.nodeName===t.nodeName}(t,n)&&function(e,t,n){return e.getStyle(t,"list-style-type",!0)===e.getStyle(n,"list-style-type",!0)}(e,t,n)&&(r=n,t.className===r.className);var r},Xt=function(e,t){var n,r;if(n=t.nextSibling,Wt(e,t,n)){for(;r=n.firstChild;)t.appendChild(r);e.remove(n)}if(n=t.previousSibling,Wt(e,t,n)){for(;r=n.lastChild;)t.insertBefore(r,t.firstChild);e.remove(n)}},jt=function(e){return"list-style-type"in e},qt=function(e,t,n){var r=ct(e),o=function(e){var t=ct(e),n=e.selection.getSelectedBlocks();return function(e,t){return e&&1===t.length&&t[0]===e}(t,n)?function(e){return k(e.querySelectorAll("ol,ul,dl"),He)}(t):k(n,(function(e){return He(e)&&t!==e}))}(e),i=s(n)?n:{};o.length>0?function(e,t,n,r,o){var i=He(t);if(i&&t.nodeName===r&&!jt(o))$t(e);else{Ht(e,r,o);var a=Rt(e.selection.getRng()),s=i?function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([t],n,!0):n;Le.each(s,(function(t){!function(e,t,n,r){if(t.nodeName!==n){var o=e.dom.rename(t,n);Ut(e.dom,o,r),gt(e,It(n),o)}else Ut(e.dom,t,r),gt(e,It(n),t)}(e,t,r,o)})),e.selection.setRng(Dt(a))}}(e,r,o,t,i):function(e,t,n,r){if(t!==e.getBody())if(t)if(t.nodeName!==n||jt(r)||Nt(t)){var o=Rt(e.selection.getRng());Ut(e.dom,t,r);var i=e.dom.rename(t,n);Xt(e.dom,i),e.selection.setRng(Dt(o)),Ht(e,n,r),gt(e,It(n),i)}else $t(e);else Ht(e,n,r),gt(e,It(n),t)}(e,r,t,i)},Zt=Ne.DOM,Yt=function(e,t,n,r){var o=t.startContainer,i=t.startOffset;if(Fe(o)&&(n?i<o.data.length:i>0))return o;var a=e.schema.getNonEmptyElements();1===o.nodeType&&(o=ve.getNode(o,i));var s=new ye(o,r);for(n&&function(e,t){return!!Ye(t)&&e.isBlock(t.nextSibling)&&!Ye(t.previousSibling)}(e.dom,o)&&s.next();o=s[n?"next":"prev2"]();){if("LI"===o.nodeName&&!o.hasChildNodes())return o;if(a[o.nodeName])return o;if(Fe(o)&&o.data.length>0)return o}},Gt=function(e,t){var n=t.childNodes;return 1===n.length&&!He(n[0])&&e.isBlock(n[0])},Kt=function(e,t,n){var r,o=t.parentNode;if(et(e,t)&&et(e,n)){He(n.lastChild)&&(r=n.lastChild),o===n.lastChild&&Ye(o.previousSibling)&&e.remove(o.previousSibling);var i=n.lastChild;i&&Ye(i)&&t.hasChildNodes()&&e.remove(i),Je(e,n,!0)&&e.$(n).empty(),function(e,t,n){var r,o=Gt(e,n)?n.firstChild:n;if(function(e,t){Gt(e,t)&&e.remove(t.firstChild,!0)}(e,t),!Je(e,t,!0))for(;r=t.firstChild;)o.appendChild(r)}(e,t,n),r&&n.appendChild(r);var a=Ae(me(n),me(t))?e.getParents(t,He,n):[];e.remove(t),S(a,(function(t){Je(e,t)&&t!==e.getRoot()&&e.remove(t)}))}},Jt=function(e,t){var n=e.dom,r=e.selection,o=r.getStart(),i=dt(e,o),a=n.getParent(r.getStart(),"LI",i);if(a){var s=a.parentNode;if(s===e.getBody()&&Je(n,s))return!0;var l=st(r.getRng()),c=n.getParent(Yt(e,l,t,i),"LI",i);if(c&&c!==a)return e.undoManager.transact((function(){var n;t?function(e,t,n,r){var o=e.dom;if(o.isEmpty(r))!function(e,t,n){e.dom.$(n).empty(),Kt(e.dom,t,n),e.selection.setCursorLocation(n,0)}(e,n,r);else{var i=Rt(t);Kt(o,n,r),e.selection.setRng(Dt(i))}}(e,l,c,a):(n=a).parentNode.firstChild===n?Pt(e):function(e,t,n,r){var o=Rt(t);Kt(e.dom,n,r);var i=Dt(o);e.selection.setRng(i)}(e,l,a,c)})),!0;if(!c&&!t&&0===l.startOffset&&0===l.endOffset)return e.undoManager.transact((function(){$t(e)})),!0}return!1},en=function(e,t){return e.selection.isCollapsed()?function(e,t){return Jt(e,t)||function(e,t){var n=e.dom,r=e.selection.getStart(),o=dt(e,r),i=n.getParent(r,n.isBlock,o);if(i&&n.isEmpty(i)){var a=st(e.selection.getRng()),s=n.getParent(Yt(e,a,t,o),"LI",o);if(s)return e.undoManager.transact((function(){!function(e,t,n){var r=e.getParent(t.parentNode,e.isBlock,n);e.remove(t),r&&e.isEmpty(r)&&e.remove(r)}(n,i,o),Xt(n,s.parentNode),e.selection.select(s,!0),e.selection.collapse(t)})),!0}return!1}(e,t)}(e,t):function(e){var t=e.selection.getStart(),n=dt(e,t);return!!(e.dom.getParent(t,"LI,DT,DD",n)||ut(e).length>0)&&(e.undoManager.transact((function(){var t,n,r;e.execCommand("Delete"),t=e.dom,n=e.getBody(),r=Le.grep(t.select("ol,ul",n)),Le.each(r,(function(e){!function(e,t){var n,r=t.parentNode;"LI"===r.nodeName&&r.firstChild===t&&((n=r.previousSibling)&&"LI"===n.nodeName?(n.appendChild(t),Je(e,r)&&Zt.remove(r)):Zt.setStyle(r,"listStyleType","none")),He(r)&&(n=r.previousSibling)&&"LI"===n.nodeName&&n.appendChild(t)}(t,e)}))})),!0)}(e)},tn=function(e){var t=E(V(e).split("")),n=x(t,(function(e,t){var n=e.toUpperCase().charCodeAt(0)-"A".charCodeAt(0)+1;return Math.pow(26,t)*n}));return C(n,(function(e,t){return e+t}),0)},nn=function(e){if(--e<0)return"";var t=e%26,n=Math.floor(e/26);return nn(n)+String.fromCharCode("A".charCodeAt(0)+t)},rn=function(e,t){return function(){var n=ct(e);return n&&n.nodeName===t}},on=function(e){e.addCommand("mceListProps",(function(){!function(e){var t,n,r=ct(e);Xe(r)&&e.windowManager.open({title:"List Properties",body:{type:"panel",items:[{type:"input",name:"start",label:"Start list at number",inputMode:"numeric"}]},initialData:{start:(t={start:e.dom.getAttrib(r,"start","1"),listStyleType:b.some(e.dom.getStyle(r,"list-style-type"))},n=parseInt(t.start,10),pt(t.listStyleType,"upper-alpha")?nn(n):pt(t.listStyleType,"lower-alpha")?nn(n).toLowerCase():t.start)},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:function(t){(function(e){switch(function(e){return/^[0-9]+$/.test(e)?2:/^[A-Z]+$/.test(e)?0:/^[a-z]+$/.test(e)?1:e.length>0?4:3}(e)){case 2:return b.some({listStyleType:b.none(),start:e});case 0:return b.some({listStyleType:b.some("upper-alpha"),start:tn(e).toString()});case 1:return b.some({listStyleType:b.some("lower-alpha"),start:tn(e).toString()});case 3:return b.some({listStyleType:b.none(),start:""});case 4:return b.none()}})(t.getData().start).each((function(t){e.execCommand("mceListUpdate",!1,{attrs:{start:"1"===t.start?"":t.start},styles:{"list-style-type":t.listStyleType.getOr("")}})})),t.close()}})}(e)}))};r.add("lists",(function(e){return!1===e.hasPlugin("rtc",!0)?(function(e){(function(e){return e.getParam("lists_indent_on_tab",!0)})(e)&&function(e){e.on("keydown",(function(t){t.keyCode!==Oe.TAB||Oe.metaKeyPressed(t)||e.undoManager.transact((function(){(t.shiftKey?Pt(e):Et(e))&&t.preventDefault()}))}))}(e),function(e){e.on("keydown",(function(t){t.keyCode===Oe.BACKSPACE?en(e,!1)&&t.preventDefault():t.keyCode===Oe.DELETE&&en(e,!0)&&t.preventDefault()}))}(e)}(e),function(e){e.on("BeforeExecCommand",(function(t){var n=t.command.toLowerCase();"indent"===n?Et(e):"outdent"===n&&Pt(e)})),e.addCommand("InsertUnorderedList",(function(t,n){qt(e,"UL",n)})),e.addCommand("InsertOrderedList",(function(t,n){qt(e,"OL",n)})),e.addCommand("InsertDefinitionList",(function(t,n){qt(e,"DL",n)})),e.addCommand("RemoveList",(function(){$t(e)})),on(e),e.addCommand("mceListUpdate",(function(t,n){s(n)&&function(e,t){var n=ct(e);e.undoManager.transact((function(){s(t.styles)&&e.dom.setStyles(n,t.styles),s(t.attrs)&&we(t.attrs,(function(t,r){return e.dom.setAttrib(n,r,t)}))}))}(e,n)})),e.addQueryStateHandler("InsertUnorderedList",rn(e,"UL")),e.addQueryStateHandler("InsertOrderedList",rn(e,"OL")),e.addQueryStateHandler("InsertDefinitionList",rn(e,"DL"))}(e)):on(e),function(e){var t=function(t){return function(){return e.execCommand(t)}};e.hasPlugin("advlist")||(e.ui.registry.addToggleButton("numlist",{icon:"ordered-list",active:!1,tooltip:"Numbered list",onAction:t("InsertOrderedList"),onSetup:function(t){return Lt(e,"OL",t.setActive)}}),e.ui.registry.addToggleButton("bullist",{icon:"unordered-list",active:!1,tooltip:"Bullet list",onAction:t("InsertUnorderedList"),onSetup:function(t){return Lt(e,"UL",t.setActive)}}))}(e),function(e){var t={text:"List properties...",icon:"ordered-list",onAction:function(){return e.execCommand("mceListProps")},onSetup:function(t){return Lt(e,"OL",(function(e){return t.setDisabled(!e)}))}};e.ui.registry.addMenuItem("listprops",t),e.ui.registry.addContextMenu("lists",{update:function(t){var n=ct(e,t);return Xe(n)?["listprops"]:[]}})}(e),function(e){return{backspaceDelete:function(t){en(e,t)}}}(e)}))}()},27715:function(e,t,n){var r=n(71582);e.exports=function(e,t){return r(e,t,{tmplRE:/\{([.\w[\]\s]+)\}/g})}},28190:function(e,t,n){"use strict";n.d(t,{$:function(){return u},p:function(){return d}});var r=n(838),o=n(25343),i=n(51254),a=n(10022),s=n(31069),l=n(50819),c=n(90033);const u=(0,l.b_)({id:{type:String,default:void 0},size:r.mU,disabled:Boolean,modelValue:{type:(0,l.jq)([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:(0,l.jq)([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:o.Ze},prefixIcon:{type:o.Ze},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:(0,l.jq)([Object,Array,String]),default:()=>(0,i.f)({})},autofocus:Boolean,rows:{type:Number,default:2},...(0,a.l)(["ariaLabel"])}),d={[s.l4]:e=>(0,c.Kg)(e),input:e=>(0,c.Kg)(e),change:e=>(0,c.Kg)(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent}},28224:function(e,t,n){"use strict";n.d(t,{WK:function(){return T}});var r=n(61431),o=n(97786),i=n(22720),a=n(97859),s=n(91361),l=n(48548),c=n(33385),u=n(2154);let d;const f={height:"0",visibility:"hidden",overflow:(0,c.gm)()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},h=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function p(e,t=1,n){var r;d||(d=document.createElement("textarea"),document.body.appendChild(d));const{paddingSize:o,borderSize:i,boxSizing:a,contextStyle:s}=function(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:h.map((e=>[e,t.getPropertyValue(e)])),paddingSize:r,borderSize:o,boxSizing:n}}(e);s.forEach((([e,t])=>null==d?void 0:d.style.setProperty(e,t))),Object.entries(f).forEach((([e,t])=>null==d?void 0:d.style.setProperty(e,t,"important"))),d.value=e.value||e.placeholder||"";let l=d.scrollHeight;const c={};"border-box"===a?l+=i:"content-box"===a&&(l-=o),d.value="";const p=d.scrollHeight-o;if((0,u.Et)(t)){let e=p*t;"border-box"===a&&(e=e+o+i),l=Math.max(e,l),c.minHeight=`${e}px`}if((0,u.Et)(n)){let e=p*n;"border-box"===a&&(e=e+o+i),l=Math.min(e,l)}return c.height=`${l}px`,null==(r=d.parentNode)||r.removeChild(d),d=void 0,c}var m=n(28190),g=n(78396),A=n(23205),v=n(29357),y=n(72207),O=n(53600),b=n(25343),w=n(70200),_=n(65980),x=n(41651),S=n(90033),k=n(31069);const C=(0,r.defineComponent)({name:"ElInput",inheritAttrs:!1}),B=(0,r.defineComponent)({...C,props:m.$,emits:m.p,setup(e,{expose:t,emit:n}){const c=e,u=(0,r.useAttrs)(),d=(0,A.O)(),f=(0,r.useSlots)(),h=(0,r.computed)((()=>["textarea"===c.type?P.b():E.b(),E.m(Q.value),E.is("disabled",T.value),E.is("exceed",te.value),{[E.b("group")]:f.prepend||f.append,[E.m("prefix")]:f.prefix||c.prefixIcon,[E.m("suffix")]:f.suffix||c.suffixIcon||c.clearable||c.showPassword,[E.bm("suffix","password-clear")]:G.value&&K.value,[E.b("hidden")]:"hidden"===c.type},u.class])),m=(0,r.computed)((()=>[E.e("wrapper"),E.is("focus",V.value)])),{form:g,formItem:C}=(0,v.j)(),{inputId:B}=(0,v.W)(c,{formItemContext:C}),Q=(0,y.NV)(),T=(0,y.CB)(),E=(0,_.DU)("input"),P=(0,_.DU)("textarea"),$=(0,r.shallowRef)(),M=(0,r.shallowRef)(),z=(0,r.ref)(!1),R=(0,r.ref)(!1),D=(0,r.ref)(),I=(0,r.shallowRef)(c.inputStyle),N=(0,r.computed)((()=>$.value||M.value)),{wrapperRef:L,isFocused:V,handleFocus:U,handleBlur:F}=(0,O.K)(N,{beforeFocus(){return T.value},afterBlur(){var e;c.validateEvent&&(null==(e=null==C?void 0:C.validate)||e.call(C,"blur").catch((e=>(0,x.U)(e))))}}),H=(0,r.computed)((()=>{var e;return null!=(e=null==g?void 0:g.statusIcon)&&e})),W=(0,r.computed)((()=>(null==C?void 0:C.validateState)||"")),X=(0,r.computed)((()=>W.value&&b.vK[W.value])),j=(0,r.computed)((()=>R.value?l.View:l.Hide)),q=(0,r.computed)((()=>[u.style])),Z=(0,r.computed)((()=>[c.inputStyle,I.value,{resize:c.resize}])),Y=(0,r.computed)((()=>(0,a.A)(c.modelValue)?"":String(c.modelValue))),G=(0,r.computed)((()=>c.clearable&&!T.value&&!c.readonly&&!!Y.value&&(V.value||z.value))),K=(0,r.computed)((()=>c.showPassword&&!T.value&&!!Y.value&&(!!Y.value||V.value))),J=(0,r.computed)((()=>c.showWordLimit&&!!c.maxlength&&("text"===c.type||"textarea"===c.type)&&!T.value&&!c.readonly&&!c.showPassword)),ee=(0,r.computed)((()=>Y.value.length)),te=(0,r.computed)((()=>!!J.value&&ee.value>Number(c.maxlength))),ne=(0,r.computed)((()=>!!f.suffix||!!c.suffixIcon||G.value||c.showPassword||J.value||!!W.value&&H.value)),[re,oe]=function(e){let t;return[function(){if(null==e.value)return;const{selectionStart:n,selectionEnd:r,value:o}=e.value;if(null==n||null==r)return;const i=o.slice(0,Math.max(0,n)),a=o.slice(Math.max(0,r));t={selectionStart:n,selectionEnd:r,value:o,beforeTxt:i,afterTxt:a}},function(){if(null==e.value||null==t)return;const{value:n}=e.value,{beforeTxt:r,afterTxt:o,selectionStart:i}=t;if(null==r||null==o||null==i)return;let a=n.length;if(n.endsWith(o))a=n.length-o.length;else if(n.startsWith(r))a=r.length;else{const e=r[i-1],t=n.indexOf(e,i-1);-1!==t&&(a=t+1)}e.value.setSelectionRange(a,a)}]}($);(0,o.wYm)(M,(e=>{if(ae(),!J.value||"both"!==c.resize)return;const t=e[0],{width:n}=t.contentRect;D.value={right:`calc(100% - ${n+15+6}px)`}}));const ie=()=>{const{type:e,autosize:t}=c;if(i.oc&&"textarea"===e&&M.value)if(t){const e=(0,S.Gv)(t)?t.minRows:void 0,n=(0,S.Gv)(t)?t.maxRows:void 0,o=p(M.value,e,n);I.value={overflowY:"hidden",...o},(0,r.nextTick)((()=>{M.value.offsetHeight,I.value=o}))}else I.value={minHeight:p(M.value).minHeight}},ae=(e=>{let t=!1;return()=>{var n;!t&&c.autosize&&(null===(null==(n=M.value)?void 0:n.offsetParent)||(e(),t=!0))}})(ie),se=()=>{const e=N.value,t=c.formatter?c.formatter(Y.value):Y.value;e&&e.value!==t&&(e.value=t)},le=async e=>{re();let{value:t}=e.target;c.formatter&&c.parser&&(t=c.parser(t)),ue.value||(t!==Y.value?(n(k.l4,t),n("input",t),await(0,r.nextTick)(),se(),oe()):se())},ce=e=>{let{value:t}=e.target;c.formatter&&c.parser&&(t=c.parser(t)),n("change",t)},{isComposing:ue,handleCompositionStart:de,handleCompositionUpdate:fe,handleCompositionEnd:he}=(0,w.o)({emit:n,afterComposition:le}),pe=()=>{re(),R.value=!R.value,setTimeout(oe)},me=e=>{z.value=!1,n("mouseleave",e)},ge=e=>{z.value=!0,n("mouseenter",e)},Ae=e=>{n("keydown",e)},ve=()=>{n(k.l4,""),n("change",""),n("clear"),n("input","")};return(0,r.watch)((()=>c.modelValue),(()=>{var e;(0,r.nextTick)((()=>ie())),c.validateEvent&&(null==(e=null==C?void 0:C.validate)||e.call(C,"change").catch((e=>(0,x.U)(e))))})),(0,r.watch)(Y,(()=>se())),(0,r.watch)((()=>c.type),(async()=>{await(0,r.nextTick)(),se(),ie()})),(0,r.onMounted)((()=>{!c.formatter&&c.parser&&(0,x.U)("ElInput","If you set the parser, you also need to set the formatter."),se(),(0,r.nextTick)(ie)})),t({input:$,textarea:M,ref:N,textareaStyle:Z,autosize:(0,r.toRef)(c,"autosize"),isComposing:ue,focus:()=>{var e;return null==(e=N.value)?void 0:e.focus()},blur:()=>{var e;return null==(e=N.value)?void 0:e.blur()},select:()=>{var e;null==(e=N.value)||e.select()},clear:ve,resizeTextarea:ie}),(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("div",{class:(0,r.normalizeClass)([(0,r.unref)(h),{[(0,r.unref)(E).bm("group","append")]:e.$slots.append,[(0,r.unref)(E).bm("group","prepend")]:e.$slots.prepend}]),style:(0,r.normalizeStyle)((0,r.unref)(q)),onMouseenter:ge,onMouseleave:me},[(0,r.createCommentVNode)(" input "),"textarea"!==e.type?((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:0},[(0,r.createCommentVNode)(" prepend slot "),e.$slots.prepend?((0,r.openBlock)(),(0,r.createElementBlock)("div",{key:0,class:(0,r.normalizeClass)((0,r.unref)(E).be("group","prepend"))},[(0,r.renderSlot)(e.$slots,"prepend")],2)):(0,r.createCommentVNode)("v-if",!0),(0,r.createElementVNode)("div",{ref_key:"wrapperRef",ref:L,class:(0,r.normalizeClass)((0,r.unref)(m))},[(0,r.createCommentVNode)(" prefix slot "),e.$slots.prefix||e.prefixIcon?((0,r.openBlock)(),(0,r.createElementBlock)("span",{key:0,class:(0,r.normalizeClass)((0,r.unref)(E).e("prefix"))},[(0,r.createElementVNode)("span",{class:(0,r.normalizeClass)((0,r.unref)(E).e("prefix-inner"))},[(0,r.renderSlot)(e.$slots,"prefix"),e.prefixIcon?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(s.tk),{key:0,class:(0,r.normalizeClass)((0,r.unref)(E).e("icon"))},{default:(0,r.withCtx)((()=>[((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(e.prefixIcon)))])),_:1},8,["class"])):(0,r.createCommentVNode)("v-if",!0)],2)],2)):(0,r.createCommentVNode)("v-if",!0),(0,r.createElementVNode)("input",(0,r.mergeProps)({id:(0,r.unref)(B),ref_key:"input",ref:$,class:(0,r.unref)(E).e("inner")},(0,r.unref)(d),{minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?R.value?"text":"password":e.type,disabled:(0,r.unref)(T),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,role:e.containerRole,onCompositionstart:(0,r.unref)(de),onCompositionupdate:(0,r.unref)(fe),onCompositionend:(0,r.unref)(he),onInput:le,onChange:ce,onKeydown:Ae}),null,16,["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","onCompositionstart","onCompositionupdate","onCompositionend"]),(0,r.createCommentVNode)(" suffix slot "),(0,r.unref)(ne)?((0,r.openBlock)(),(0,r.createElementBlock)("span",{key:1,class:(0,r.normalizeClass)((0,r.unref)(E).e("suffix"))},[(0,r.createElementVNode)("span",{class:(0,r.normalizeClass)((0,r.unref)(E).e("suffix-inner"))},[(0,r.unref)(G)&&(0,r.unref)(K)&&(0,r.unref)(J)?(0,r.createCommentVNode)("v-if",!0):((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:0},[(0,r.renderSlot)(e.$slots,"suffix"),e.suffixIcon?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(s.tk),{key:0,class:(0,r.normalizeClass)((0,r.unref)(E).e("icon"))},{default:(0,r.withCtx)((()=>[((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(e.suffixIcon)))])),_:1},8,["class"])):(0,r.createCommentVNode)("v-if",!0)],64)),(0,r.unref)(G)?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(s.tk),{key:1,class:(0,r.normalizeClass)([(0,r.unref)(E).e("icon"),(0,r.unref)(E).e("clear")]),onMousedown:(0,r.withModifiers)((0,r.unref)(S.tE),["prevent"]),onClick:ve},{default:(0,r.withCtx)((()=>[(0,r.createVNode)((0,r.unref)(l.CircleClose))])),_:1},8,["class","onMousedown"])):(0,r.createCommentVNode)("v-if",!0),(0,r.unref)(K)?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(s.tk),{key:2,class:(0,r.normalizeClass)([(0,r.unref)(E).e("icon"),(0,r.unref)(E).e("password")]),onClick:pe},{default:(0,r.withCtx)((()=>[((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)((0,r.unref)(j))))])),_:1},8,["class"])):(0,r.createCommentVNode)("v-if",!0),(0,r.unref)(J)?((0,r.openBlock)(),(0,r.createElementBlock)("span",{key:3,class:(0,r.normalizeClass)((0,r.unref)(E).e("count"))},[(0,r.createElementVNode)("span",{class:(0,r.normalizeClass)((0,r.unref)(E).e("count-inner"))},(0,r.toDisplayString)((0,r.unref)(ee))+" / "+(0,r.toDisplayString)(e.maxlength),3)],2)):(0,r.createCommentVNode)("v-if",!0),(0,r.unref)(W)&&(0,r.unref)(X)&&(0,r.unref)(H)?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(s.tk),{key:4,class:(0,r.normalizeClass)([(0,r.unref)(E).e("icon"),(0,r.unref)(E).e("validateIcon"),(0,r.unref)(E).is("loading","validating"===(0,r.unref)(W))])},{default:(0,r.withCtx)((()=>[((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)((0,r.unref)(X))))])),_:1},8,["class"])):(0,r.createCommentVNode)("v-if",!0)],2)],2)):(0,r.createCommentVNode)("v-if",!0)],2),(0,r.createCommentVNode)(" append slot "),e.$slots.append?((0,r.openBlock)(),(0,r.createElementBlock)("div",{key:1,class:(0,r.normalizeClass)((0,r.unref)(E).be("group","append"))},[(0,r.renderSlot)(e.$slots,"append")],2)):(0,r.createCommentVNode)("v-if",!0)],64)):((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:1},[(0,r.createCommentVNode)(" textarea "),(0,r.createElementVNode)("textarea",(0,r.mergeProps)({id:(0,r.unref)(B),ref_key:"textarea",ref:M,class:[(0,r.unref)(P).e("inner"),(0,r.unref)(E).is("focus",(0,r.unref)(V))]},(0,r.unref)(d),{minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:(0,r.unref)(T),readonly:e.readonly,autocomplete:e.autocomplete,style:(0,r.unref)(Z),"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,role:e.containerRole,onCompositionstart:(0,r.unref)(de),onCompositionupdate:(0,r.unref)(fe),onCompositionend:(0,r.unref)(he),onInput:le,onFocus:(0,r.unref)(U),onBlur:(0,r.unref)(F),onChange:ce,onKeydown:Ae}),null,16,["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role","onCompositionstart","onCompositionupdate","onCompositionend","onFocus","onBlur"]),(0,r.unref)(J)?((0,r.openBlock)(),(0,r.createElementBlock)("span",{key:0,style:(0,r.normalizeStyle)(D.value),class:(0,r.normalizeClass)((0,r.unref)(E).e("count"))},(0,r.toDisplayString)((0,r.unref)(ee))+" / "+(0,r.toDisplayString)(e.maxlength),7)):(0,r.createCommentVNode)("v-if",!0)],64))],38))}});var Q=(0,g.A)(B,[["__file","input.vue"]]);const T=(0,n(64769).GU)(Q)},28246:function(e,t,n){"use strict";n.d(t,{_n:function(){return E}});var r=n(48820),o=n(43720);function i(e){return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}let a=null,s=null,l=0;function c(e,t){let n=e.pos+t;if(s==e&&l==n)return a;for(;9==(r=e.peek(t))||10==r||13==r||32==r;)t++;var r;let o="";for(;;){let n=e.peek(t);if(!i(n))break;o+=String.fromCharCode(n),t++}return s=e,l=n,a=o||null}function u(e,t){this.name=e,this.parent=t}const d=new r.Aj({start:null,shift(e,t,n,r){return 1==t?new u(c(r,1)||"",e):e},reduce(e,t){return 11==t&&e?e.parent:e},reuse(e,t,n,r){let o=t.type.id;return 1==o||13==o?new u(c(r,1)||"",e):e},strict:!1}),f=new r.Lu(((e,t)=>{if(60==e.next)if(e.advance(),47==e.next){e.advance();let n=c(e,0);if(!n)return e.acceptToken(5);if(t.context&&n==t.context.name)return e.acceptToken(2);for(let r=t.context;r;r=r.parent)if(r.name==n)return e.acceptToken(3,-2);e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)}),{contextual:!0});function h(e,t){return new r.Lu((n=>{let r=0,o=t.charCodeAt(0);e:for(;!(n.next<0);n.advance(),r++)if(n.next==o){for(let e=1;e<t.length;e++)if(n.peek(e)!=t.charCodeAt(e))continue e;break}r&&n.acceptToken(e)}))}const p=h(36,"--\x3e"),m=h(37,"?>"),g=h(38,"]]>"),A=(0,o.pn)({Text:o._A.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":o._A.angleBracket,TagName:o._A.tagName,"MismatchedCloseTag/TagName":[o._A.tagName,o._A.invalid],AttributeName:o._A.attributeName,AttributeValue:o._A.attributeValue,Is:o._A.definitionOperator,"EntityReference CharacterReference":o._A.character,Comment:o._A.blockComment,ProcessingInst:o._A.processingInstruction,DoctypeDecl:o._A.documentMeta,Cdata:o._A.special(o._A.string)}),v=r.U1.deserialize({version:14,states:",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6z-E6zOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6{-E6{OOOP1G.x1G.xOOOS-E6|-E6|OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'mO!bO,59eOOOO-E6w-E6wO'{OpO1G.uO'{OpO1G.uOOOP1G.u1G.uO(TOpO7+$fOOOP7+$f7+$fO(]O!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(hO#tO'#CnO(vO&jO'#CnOOOO1G.q1G.qO)UOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO)^O#tO,59YOOOO,59Y,59YOOOO'#C{'#C{O)lO&jO,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.tOOOO-E6y-E6y",stateData:")z~OPQOSVOTWOVWOWWOXWOiXOyPO!QTO!SUO~OvZOx]O~O^`Oz^O~OPQOQcOSVOTWOVWOWWOXWOyPO!QTO!SUO~ORdO~P!SOteO!PgO~OuhO!RjO~O^lOz^O~OvZOxoO~O^qOz^O~O[vO`sOdwOz^O~ORyO~P!SO^{Oz^O~OteO!P}O~OuhO!R!PO~O^!QOz^O~O[!SOz^O~O[!VO`sOd!WOz^O~Oa!YOz^O~Oz^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oz^O~O[!_Oz^O~O[!aOz^O~O[!cO`sOd!dOz^O~O[!cO`sOd!dO~Oa!eOz^O~Oz^O{!gO}!hO~Oz^O[ma`madma~O[!kOz^O~O[!lOz^O~O[!mO`sOd!nO~OW!qOX!qO{!sO|!qO~OW!tOX!tO}!sO!O!tO~O[!vOz^O~OW!qOX!qO{!yO|!qO~OW!tOX!tO}!yO!O!tO~O",goto:"%cxPPPPPPPPPPyyP!PP!VPP!`!jP!pyyyP!v!|#S$[$k$q$w$}%TPPPP%ZXWORYbXRORYb_t`qru!T!U!bQ!i!YS!p!e!fR!w!oQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!j!oQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!j!]R!o!eQu`S!UqrU![u!U!bR!b!TQ!r!gR!x!rQ!u!hR!z!uQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:50,context:d,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"],["isolate",-6,13,18,19,21,22,24,""]],propSources:[A],skippedNodes:[0],repeatNodeCount:9,tokenData:"!)v~R!YOX$qXY)iYZ)iZ]$q]^)i^p$qpq)iqr$qrs*vsv$qvw+fwx/ix}$q}!O0[!O!P$q!P!Q2z!Q![$q![!]4n!]!^$q!^!_8U!_!`!#t!`!a!$l!a!b!%d!b!c$q!c!}4n!}#P$q#P#Q!'W#Q#R$q#R#S4n#S#T$q#T#o4n#o%W$q%W%o4n%o%p$q%p&a4n&a&b$q&b1p4n1p4U$q4U4d4n4d4e$q4e$IS4n$IS$I`$q$I`$Ib4n$Ib$Kh$q$Kh%#t4n%#t&/x$q&/x&Et4n&Et&FV$q&FV;'S4n;'S;:j8O;:j;=`)c<%l?&r$q?&r?Ah4n?Ah?BY$q?BY?Mn4n?MnO$qi$zXVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qa%nVVP!O`Ov%gwx&Tx!^%g!^!_&o!_;'S%g;'S;=`'W<%lO%gP&YTVPOv&Tw!^&T!_;'S&T;'S;=`&i<%lO&TP&lP;=`<%l&T`&tS!O`Ov&ox;'S&o;'S;=`'Q<%lO&o`'TP;=`<%l&oa'ZP;=`<%l%gX'eWVP|WOr'^rs&Tsv'^w!^'^!^!_'}!_;'S'^;'S;=`(i<%lO'^W(ST|WOr'}sv'}w;'S'};'S;=`(c<%lO'}W(fP;=`<%l'}X(lP;=`<%l'^h(vV|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oh)`P;=`<%l(oi)fP;=`<%l$qo)t`VP|W!O`zUOX$qXY)iYZ)iZ]$q]^)i^p$qpq)iqr$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk+PV{YVP!O`Ov%gwx&Tx!^%g!^!_&o!_;'S%g;'S;=`'W<%lO%g~+iast,n![!]-r!c!}-r#R#S-r#T#o-r%W%o-r%p&a-r&b1p-r4U4d-r4e$IS-r$I`$Ib-r$Kh%#t-r&/x&Et-r&FV;'S-r;'S;:j/c?&r?Ah-r?BY?Mn-r~,qQ!Q![,w#l#m-V~,zQ!Q![,w!]!^-Q~-VOX~~-YR!Q![-c!c!i-c#T#Z-c~-fS!Q![-c!]!^-Q!c!i-c#T#Z-c~-ug}!O-r!O!P-r!Q![-r![!]-r!]!^/^!c!}-r#R#S-r#T#o-r$}%O-r%W%o-r%p&a-r&b1p-r1p4U-r4U4d-r4e$IS-r$I`$Ib-r$Je$Jg-r$Kh%#t-r&/x&Et-r&FV;'S-r;'S;:j/c?&r?Ah-r?BY?Mn-r~/cOW~~/fP;=`<%l-rk/rW}bVP|WOr'^rs&Tsv'^w!^'^!^!_'}!_;'S'^;'S;=`(i<%lO'^k0eZVP|W!O`Or$qrs%gsv$qwx'^x}$q}!O1W!O!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk1aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a2S!a;'S$q;'S;=`)c<%lO$qk2_X!PQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qm3TZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a3v!a;'S$q;'S;=`)c<%lO$qm4RXdSVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo4{!P`S^QVP|W!O`Or$qrs%gsv$qwx'^x}$q}!O4n!O!P4n!P!Q$q!Q![4n![!]4n!]!^$q!^!_(o!_!c$q!c!}4n!}#R$q#R#S4n#S#T$q#T#o4n#o$}$q$}%O4n%O%W$q%W%o4n%o%p$q%p&a4n&a&b$q&b1p4n1p4U4n4U4d4n4d4e$q4e$IS4n$IS$I`$q$I`$Ib4n$Ib$Je$q$Je$Jg4n$Jg$Kh$q$Kh%#t4n%#t&/x$q&/x&Et4n&Et&FV$q&FV;'S4n;'S;:j8O;:j;=`)c<%l?&r$q?&r?Ah4n?Ah?BY$q?BY?Mn4n?MnO$qo8RP;=`<%l4ni8]Y|W!O`Oq(oqr8{rs&osv(owx'}x!a(o!a!b!#U!b;'S(o;'S;=`)]<%lO(oi9S_|W!O`Or(ors&osv(owx'}x}(o}!O:R!O!f(o!f!g;e!g!}(o!}#ODh#O#W(o#W#XLp#X;'S(o;'S;=`)]<%lO(oi:YX|W!O`Or(ors&osv(owx'}x}(o}!O:u!O;'S(o;'S;=`)]<%lO(oi;OV!QP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oi;lX|W!O`Or(ors&osv(owx'}x!q(o!q!r<X!r;'S(o;'S;=`)]<%lO(oi<`X|W!O`Or(ors&osv(owx'}x!e(o!e!f<{!f;'S(o;'S;=`)]<%lO(oi=SX|W!O`Or(ors&osv(owx'}x!v(o!v!w=o!w;'S(o;'S;=`)]<%lO(oi=vX|W!O`Or(ors&osv(owx'}x!{(o!{!|>c!|;'S(o;'S;=`)]<%lO(oi>jX|W!O`Or(ors&osv(owx'}x!r(o!r!s?V!s;'S(o;'S;=`)]<%lO(oi?^X|W!O`Or(ors&osv(owx'}x!g(o!g!h?y!h;'S(o;'S;=`)]<%lO(oi@QY|W!O`Or?yrs@psv?yvwA[wxBdx!`?y!`!aCr!a;'S?y;'S;=`Db<%lO?ya@uV!O`Ov@pvxA[x!`@p!`!aAy!a;'S@p;'S;=`B^<%lO@pPA_TO!`A[!`!aAn!a;'SA[;'S;=`As<%lOA[PAsOiPPAvP;=`<%lA[aBQSiP!O`Ov&ox;'S&o;'S;=`'Q<%lO&oaBaP;=`<%l@pXBiX|WOrBdrsA[svBdvwA[w!`Bd!`!aCU!a;'SBd;'S;=`Cl<%lOBdXC]TiP|WOr'}sv'}w;'S'};'S;=`(c<%lO'}XCoP;=`<%lBdiC{ViP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oiDeP;=`<%l?yiDoZ|W!O`Or(ors&osv(owx'}x!e(o!e!fEb!f#V(o#V#WIr#W;'S(o;'S;=`)]<%lO(oiEiX|W!O`Or(ors&osv(owx'}x!f(o!f!gFU!g;'S(o;'S;=`)]<%lO(oiF]X|W!O`Or(ors&osv(owx'}x!c(o!c!dFx!d;'S(o;'S;=`)]<%lO(oiGPX|W!O`Or(ors&osv(owx'}x!v(o!v!wGl!w;'S(o;'S;=`)]<%lO(oiGsX|W!O`Or(ors&osv(owx'}x!c(o!c!dH`!d;'S(o;'S;=`)]<%lO(oiHgX|W!O`Or(ors&osv(owx'}x!}(o!}#OIS#O;'S(o;'S;=`)]<%lO(oiI]V|W!O`yPOr(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oiIyX|W!O`Or(ors&osv(owx'}x#W(o#W#XJf#X;'S(o;'S;=`)]<%lO(oiJmX|W!O`Or(ors&osv(owx'}x#T(o#T#UKY#U;'S(o;'S;=`)]<%lO(oiKaX|W!O`Or(ors&osv(owx'}x#h(o#h#iK|#i;'S(o;'S;=`)]<%lO(oiLTX|W!O`Or(ors&osv(owx'}x#T(o#T#UH`#U;'S(o;'S;=`)]<%lO(oiLwX|W!O`Or(ors&osv(owx'}x#c(o#c#dMd#d;'S(o;'S;=`)]<%lO(oiMkX|W!O`Or(ors&osv(owx'}x#V(o#V#WNW#W;'S(o;'S;=`)]<%lO(oiN_X|W!O`Or(ors&osv(owx'}x#h(o#h#iNz#i;'S(o;'S;=`)]<%lO(oi! RX|W!O`Or(ors&osv(owx'}x#m(o#m#n! n#n;'S(o;'S;=`)]<%lO(oi! uX|W!O`Or(ors&osv(owx'}x#d(o#d#e!!b#e;'S(o;'S;=`)]<%lO(oi!!iX|W!O`Or(ors&osv(owx'}x#X(o#X#Y?y#Y;'S(o;'S;=`)]<%lO(oi!#_V!SP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(ok!$PXaQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo!$wX[UVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!%mZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!&`!a;'S$q;'S;=`)c<%lO$qk!&kX!RQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!'aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_#P$q#P#Q!(S#Q;'S$q;'S;=`)c<%lO$qk!(]ZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!)O!a;'S$q;'S;=`)c<%lO$qk!)ZXxQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$q",tokenizers:[f,p,m,g,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0});var y=n(15874),O=n(20614),b=n(62144);function w(e,t){let n=t&&t.getChild("TagName");return n?e.sliceString(n.from,n.to):""}function _(e,t){let n=t&&t.firstChild;return n&&"OpenTag"==n.name?w(e,n):""}function x(e){for(let t=e&&e.parent;t;t=t.parent)if("Element"==t.name)return t;return null}class S{constructor(e,t,n){this.attrs=t,this.attrValues=n,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map((e=>({label:e,type:"text"}))):[]}}const k=/^[:\-\.\w\u00b7-\uffff]*$/;function C(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function B(e){return"string"==typeof e?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function Q(e,t){let n=[],r=[],o=Object.create(null);for(let e of t){let t=C(e);n.push(t),e.global&&r.push(t),e.values&&(o[e.name]=e.values.map(B))}let i=[],a=[],s=Object.create(null);for(let t of e){let e=r,l=o;t.attributes&&(e=e.concat(t.attributes.map((e=>"string"==typeof e?n.find((t=>t.label==e))||{label:e,type:"property"}:(e.values&&(l==o&&(l=Object.create(l)),l[e.name]=e.values.map(B)),C(e))))));let c=new S(t,e,l);s[c.name]=c,i.push(c),t.top&&a.push(c)}a.length||(a=i);for(let t=0;t<i.length;t++){let n=e[t],r=i[t];if(n.children)for(let e of n.children)s[e]&&r.children.push(s[e]);else r.children=i}return e=>{var t;let{doc:n}=e.state,l=function(e,t){var n;let r=(0,y.mv)(e).resolveInner(t,-1),o=null;for(let e=r;!o&&e.parent;e=e.parent)"OpenTag"!=e.name&&"CloseTag"!=e.name&&"SelfClosingTag"!=e.name&&"MismatchedCloseTag"!=e.name||(o=e);if(o&&(o.to>t||o.lastChild.type.isError)){let e=o.parent;if("TagName"==r.name)return"CloseTag"==o.name||"MismatchedCloseTag"==o.name?{type:"closeTag",from:r.from,context:e}:{type:"openTag",from:r.from,context:x(e)};if("AttributeName"==r.name)return{type:"attrName",from:r.from,context:o};if("AttributeValue"==r.name)return{type:"attrValue",from:r.from,context:o};let n=r==o||"Attribute"==r.name?r.childBefore(t):r;return"StartTag"==(null==n?void 0:n.name)?{type:"openTag",from:t,context:x(e)}:"StartCloseTag"==(null==n?void 0:n.name)&&n.to<=t?{type:"closeTag",from:t,context:e}:"Is"==(null==n?void 0:n.name)?{type:"attrValue",from:t,context:o}:n?{type:"attrName",from:t,context:o}:null}if("StartCloseTag"==r.name)return{type:"closeTag",from:t,context:r.parent};for(;r.parent&&r.to==t&&!(null===(n=r.lastChild)||void 0===n?void 0:n.type.isError);)r=r.parent;return"Element"==r.name||"Text"==r.name||"Document"==r.name?{type:"tag",from:t,context:"Element"==r.name?r:x(r)}:null}(e.state,e.pos);if(!l||"tag"==l.type&&!e.explicit)return null;let{type:c,from:u,context:d}=l;if("openTag"==c){let e=a,t=_(n,d);if(t){let n=s[t];e=(null==n?void 0:n.children)||i}return{from:u,options:e.map((e=>e.completion)),validFor:k}}if("closeTag"==c){let r=_(n,d);return r?{from:u,to:e.pos+(">"==n.sliceString(e.pos,e.pos+1)?1:0),options:[(null===(t=s[r])||void 0===t?void 0:t.closeNameCompletion)||{label:r+">",type:"type"}],validFor:k}:null}if("attrName"==c){let e=s[w(n,d)];return{from:u,options:(null==e?void 0:e.attrs)||r,validFor:k}}if("attrValue"==c){let t=function(e,t,n){let r=t&&t.getChildren("Attribute").find((e=>e.from<=n&&e.to>=n)),o=r&&r.getChild("AttributeName");return o?e.sliceString(o.from,o.to):""}(n,d,u);if(!t)return null;let r=s[w(n,d)],i=((null==r?void 0:r.attrValues)||o)[t];return i&&i.length?{from:u,to:e.pos+('"'==n.sliceString(e.pos,e.pos+1)?1:0),options:i,validFor:/^"[^"]*"?$/}:null}if("tag"==c){let t=_(n,d),r=s[t],o=[],l=d&&d.lastChild;!t||l&&"CloseTag"==l.name&&w(n,l)==t||o.push(r?r.closeCompletion:{label:"</"+t+">",type:"type",boost:2});let c=o.concat(((null==r?void 0:r.children)||(d?i:a)).map((e=>e.openCompletion)));if(d&&(null==r?void 0:r.text.length)){let t=d.firstChild;t.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(t.to,e.pos))&&(c=c.concat(r.text))}return{from:u,options:c,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}return null}}const T=y.bj.define({name:"xml",parser:v.configure({props:[y.Oh.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),y.b_.add({Element(e){let t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}}),y.Q_.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/$/}});function E(e={}){let t=[T.data.of({autocomplete:Q(e.elements||[],e.attributes||[])})];return!1!==e.autoCloseTags&&t.push($),new y.Yy(T,t)}function P(e,t,n=e.length){if(!t)return"";let r=t.firstChild,o=r&&r.getChild("TagName");return o?e.sliceString(o.from,Math.min(o.to,n)):""}const $=b.Lz.inputHandler.of(((e,t,n,r,o)=>{if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!T.isActiveAt(e.state,t,-1))return!1;let i=o(),{state:a}=i,s=a.changeByRange((e=>{var t,n,o;let i,{head:s}=e,l=a.doc.sliceString(s-1,s)==r,c=(0,y.mv)(a).resolveInner(s,-1);if(l&&">"==r&&"EndTag"==c.name){let r=c.parent;if("CloseTag"!=(null===(n=null===(t=r.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)&&(i=P(a.doc,r.parent,s)))return{range:e,changes:{from:s,to:s+(">"===a.doc.sliceString(s,s+1)?1:0),insert:`</${i}>`}}}else if(l&&"/"==r&&"StartCloseTag"==c.name){let e=c.parent;if(c.from==s-2&&"CloseTag"!=(null===(o=e.lastChild)||void 0===o?void 0:o.name)&&(i=P(a.doc,e,s))){let e=s+(">"===a.doc.sliceString(s,s+1)?1:0),t=`${i}>`;return{range:O.OF.cursor(s+t.length,-1),changes:{from:s,to:e,insert:t}}}}return{range:e}}));return!s.changes.empty&&(e.dispatch([i,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}))},28498:function(e,t,n){var r=n(53848),o=n(60843),i=n(29650),a=n(96430);e.exports=function(e){return function(t,n){var s,l;return t&&t.length?(a(t,(function(a,c){n&&(a=r(n)?n(a,c,t):i(a,n)),o(a)||!o(s)&&!e(s,a)||(l=c,s=a)})),t[l]):s}}},28527:function(e,t,n){"use strict";var r=n(97080),o=n(94402).has,i=n(25170),a=n(83789),s=n(40507),l=n(9539);e.exports=function(e){var t=r(this),n=a(e);if(i(t)<n.size)return!1;var c=n.getIterator();return!1!==s(c,(function(e){if(!o(t,e))return l(c,"normal",!1)}))}},28551:function(e,t,n){"use strict";var r=n(20034),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},28613:function(e,t,n){"use strict";var r=n(30693),o=function(){function e(e){this._setting=e||{},this._extent=[1/0,-1/0]}return e.prototype.getSetting=function(e){return this._setting[e]},e.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1])},e.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},e.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(e){this._isBlank=e},e}();r.tQ(o),t.A=o},28623:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}}()},28747:function(e,t,n){"use strict";function r(e){return new RegExp("^(?:"+e.join("|")+")$","i")}n.d(t,{f:function(){return f}});var o=r(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),i=r(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),a=r(["function","if","repeat","do","\\(","{"]),s=r(["end","until","\\)","}"]),l=new RegExp("^(?:"+["end","until","\\)","}","else","elseif"].join("|")+")","i");function c(e){for(var t=0;e.eat("=");)++t;return e.eat("["),t}function u(e,t){var n,r=e.next();return"-"==r&&e.eat("-")?e.eat("[")&&e.eat("[")?(t.cur=d(c(e),"comment"))(e,t):(e.skipToEnd(),"comment"):'"'==r||"'"==r?(t.cur=(n=r,function(e,t){for(var r,o=!1;null!=(r=e.next())&&(r!=n||o);)o=!o&&"\\"==r;return o||(t.cur=u),"string"}))(e,t):"["==r&&/[\[=]/.test(e.peek())?(t.cur=d(c(e),"string"))(e,t):/\d/.test(r)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(r)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function d(e,t){return function(n,r){for(var o,i=null;null!=(o=n.next());)if(null==i)"]"==o&&(i=0);else if("="==o)++i;else{if("]"==o&&i==e){r.cur=u;break}i=null}return t}}const f={name:"lua",startState:function(){return{basecol:0,indentDepth:0,cur:u}},token:function(e,t){if(e.eatSpace())return null;var n=t.cur(e,t),r=e.current();return"variable"==n&&(i.test(r)?n="keyword":o.test(r)&&(n="builtin")),"comment"!=n&&"string"!=n&&(a.test(r)?++t.indentDepth:s.test(r)&&--t.indentDepth),n},indent:function(e,t,n){var r=l.test(t);return e.basecol+n.unit*(e.indentDepth-(r?1:0))},languageData:{indentOnInput:/^\s*(?:end|until|else|\)|\})$/,commentTokens:{line:"--",block:{open:"--[[",close:"]]--"}}}}},28966:function(e,t,n){var r=n(21607)("round");e.exports=r},29008:function(e,t){"use strict";t.A=function(e){return e}},29308:function(e,t,n){"use strict";var r=n(45587),o=n(26346),i=Math.min,a=Math.max,s=new o.A,l=new o.A,c=new o.A,u=new o.A,d=new o.A,f=new o.A,h=function(){function e(e,t,n,r){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r),this.x=e,this.y=t,this.width=n,this.height=r}return e.prototype.union=function(e){var t=i(e.x,this.x),n=i(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(e.y+e.height,this.y+this.height)-n:this.height=e.height,this.x=t,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(e){var t=this,n=e.width/t.width,o=e.height/t.height,i=r.create();return r.translate(i,i,[-t.x,-t.y]),r.scale(i,i,[n,o]),r.translate(i,i,[e.x,e.y]),i},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var r=this,i=r.x,a=r.x+r.width,s=r.y,l=r.y+r.height,c=t.x,u=t.x+t.width,h=t.y,p=t.y+t.height,m=!(a<c||u<i||l<h||p<s);if(n){var g=1/0,A=0,v=Math.abs(a-c),y=Math.abs(u-i),O=Math.abs(l-h),b=Math.abs(p-s),w=Math.min(v,y),_=Math.min(O,b);a<c||u<i?w>A&&(A=w,v<y?o.A.set(f,-v,0):o.A.set(f,y,0)):w<g&&(g=w,v<y?o.A.set(d,v,0):o.A.set(d,-y,0)),l<h||p<s?_>A&&(A=_,O<b?o.A.set(f,0,-O):o.A.set(f,0,b)):w<g&&(g=w,O<b?o.A.set(d,0,O):o.A.set(d,0,-b))}return n&&o.A.copy(n,m?d:f),m},e.prototype.contain=function(e,t){var n=this;return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return 0===this.width||0===this.height},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},e.applyTransform=function(t,n,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var o=r[0],d=r[3],f=r[4],h=r[5];return t.x=n.x*o+f,t.y=n.y*d+h,t.width=n.width*o,t.height=n.height*d,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}s.x=c.x=n.x,s.y=u.y=n.y,l.x=u.x=n.x+n.width,l.y=c.y=n.y+n.height,s.transform(r),u.transform(r),l.transform(r),c.transform(r),t.x=i(s.x,l.x,c.x,u.x),t.y=i(s.y,l.y,c.y,u.y);var p=a(s.x,l.x,c.x,u.x),m=a(s.y,l.y,c.y,u.y);t.width=p-t.x,t.height=m-t.y}else t!==n&&e.copy(t,n)},e}();t.A=h},29314:function(e,t,n){var r=n(73971),o=typeof FormData!==r;e.exports=function(e){return o&&e instanceof FormData}},29357:function(e,t,n){"use strict";n.d(t,{W:function(){return s},j:function(){return a}});var r=n(61431),o=n(67959),i=n(77010);const a=()=>({form:(0,r.inject)(o.F,void 0),formItem:(0,r.inject)(o.w,void 0)}),s=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:o})=>{n||(n=(0,r.ref)(!1)),o||(o=(0,r.ref)(!1));const a=(0,r.ref)();let s;const l=(0,r.computed)((()=>{var n;return!!(!e.label&&!e.ariaLabel&&t&&t.inputIds&&(null==(n=t.inputIds)?void 0:n.length)<=1)}));return(0,r.onMounted)((()=>{s=(0,r.watch)([(0,r.toRef)(e,"id"),n],(([e,n])=>{const r=null!=e?e:n?void 0:(0,i.Bi)().value;r!==a.value&&((null==t?void 0:t.removeInputId)&&(a.value&&t.removeInputId(a.value),(null==o?void 0:o.value)||n||!r||t.addInputId(r)),a.value=r)}),{immediate:!0})})),(0,r.onUnmounted)((()=>{s&&s(),(null==t?void 0:t.removeInputId)&&a.value&&t.removeInputId(a.value)})),{isLabeledByFormItem:l,inputId:a}}},29436:function(){},29468:function(e,t,n){var r=n(73971),o=typeof WeakMap!==r;e.exports=function(e){return o&&e instanceof WeakMap}},29471:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=(0,n(18744).A)(Object,"create"),o=Object.prototype.hasOwnProperty,i=Object.prototype.hasOwnProperty;function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=r?r(null):{},this.size=0},a.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},a.prototype.get=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0},a.prototype.has=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)},a.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this};var s=a,l=n(80127),c=n(68335),u=function(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map};function d(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}d.prototype.clear=function(){this.size=0,this.__data__={hash:new s,map:new(c.A||l.A),string:new s}},d.prototype.delete=function(e){var t=u(this,e).delete(e);return this.size-=t?1:0,t},d.prototype.get=function(e){return u(this,e).get(e)},d.prototype.has=function(e){return u(this,e).has(e)},d.prototype.set=function(e,t){var n=u(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};var f=d},29504:function(){!function(){"use strict";var e,t,n=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=function(e,t,n){var r="UL"===t?"InsertUnorderedList":"InsertOrderedList";e.execCommand(r,!1,!1===n?null:{"list-style-type":n})},o=tinymce.util.Tools.resolve("tinymce.util.Tools"),i=function(e){return function(){return e}},a=i(!1),s=i(!0),l=function(){return c},c={fold:function(e,t){return e()},isSome:a,isNone:s,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:i(null),getOrUndefined:i(void 0),or:t,orThunk:e,map:l,each:function(){},bind:l,exists:a,forall:s,filter:function(){return l()},toArray:function(){return[]},toString:i("none()")},u=function(e){var t=i(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:s,isNone:a,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return u(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:c},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},d=function(e){return e&&/^(TH|TD)$/.test(e.nodeName)},f=function(e,t){return function(n){var r=function(r){n.setActive(function(e,t,n){var r=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}(t.parents,d),i=-1!==r?t.parents.slice(0,r):t.parents,a=o.grep(i,function(e){return function(t){return t&&/^(OL|UL|DL)$/.test(t.nodeName)&&function(e,t){return e.$.contains(e.getBody(),t)}(e,t)}}(e));return a.length>0&&a[0].nodeName===n}(e,r,t))};return e.on("NodeChange",r),function(){return e.off("NodeChange",r)}}},h=function(e,t,n,i,a,s){e.ui.registry.addSplitButton(t,{tooltip:n,icon:"OL"===a?"ordered-list":"unordered-list",presets:"listpreview",columns:3,fetch:function(e){e(o.map(s,(function(e){var t="OL"===a?"num":"bull",n="disc"===e||"decimal"===e?"default":e,r="default"===e?"":e,o=function(e){return e.replace(/\-/g," ").replace(/\b\w/g,(function(e){return e.toUpperCase()}))}(e);return{type:"choiceitem",value:r,icon:"list-"+t+"-"+n,text:o}})))},onAction:function(){return e.execCommand(i)},onItemAction:function(t,n){r(e,a,n)},select:function(t){var n=function(e){var t=e.dom.getParent(e.selection.getNode(),"ol,ul");return function(e){return null==e?c:u(e)}(e.dom.getStyle(t,"listStyleType"))}(e);return n.map((function(e){return t===e})).getOr(!1)},onSetup:f(e,a)})},p=function(e,t,n,r,o,i){i.length>1?h(e,t,n,r,o,i):function(e,t,n,r,o){e.ui.registry.addToggleButton(t,{active:!1,tooltip:n,icon:"OL"===o?"ordered-list":"unordered-list",onSetup:f(e,o),onAction:function(){return e.execCommand(r)}})}(e,t,n,r,o)};n.add("advlist",(function(e){e.hasPlugin("lists")?(function(e){p(e,"numlist","Numbered list","InsertOrderedList","OL",function(e){var t=e.getParam("advlist_number_styles","default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman");return t?t.split(/[ ,]/):[]}(e)),p(e,"bullist","Bullet list","InsertUnorderedList","UL",function(e){var t=e.getParam("advlist_bullet_styles","default,circle,square");return t?t.split(/[ ,]/):[]}(e))}(e),function(e){e.addCommand("ApplyUnorderedListStyle",(function(t,n){r(e,"UL",n["list-style-type"])})),e.addCommand("ApplyOrderedListStyle",(function(t,n){r(e,"OL",n["list-style-type"])}))}(e)):console.error("Please use the Lists plugin together with the Advanced List plugin.")}))}()},29571:function(e,t,n){"use strict";n.d(t,{V$:function(){return $},Xi:function(){return P},ZQ:function(){return O}});var r=n(71519),o=n(68717),i=n(12191),a=n(53479),s=n(5070),l=n(90540),c=n(19845),u=n(98026),d=n(76050),f=n(56448),h=n(59741),p=new o.A(!0);function m(e){var t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))}function g(e){return"string"==typeof e&&"none"!==e}function A(e){var t=e.fill;return null!=t&&"none"!==t}function v(e,t){if(null!=t.fillOpacity&&1!==t.fillOpacity){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function y(e,t){if(null!=t.strokeOpacity&&1!==t.strokeOpacity){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function O(e,t,n){var r=(0,i.OD)(t.image,t.__image,n);if((0,i.xA)(r)){var o=e.createPattern(r,t.repeat||"repeat");if("function"==typeof DOMMatrix&&o&&o.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*u.RADIAN_TO_DEGREE),a.scaleSelf(t.scaleX||1,t.scaleY||1),o.setTransform(a)}return o}}var b=["shadowBlur","shadowOffsetX","shadowOffsetY"],w=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function _(e,t,n,o,i){var a=!1;if(!o&&t===(n=n||{}))return!1;if(o||t.opacity!==n.opacity){T(e,i),a=!0;var s=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(s)?r.oN.opacity:s}(o||t.blend!==n.blend)&&(a||(T(e,i),a=!0),e.globalCompositeOperation=t.blend||r.oN.blend);for(var l=0;l<b.length;l++){var c=b[l];(o||t[c]!==n[c])&&(a||(T(e,i),a=!0),e[c]=e.dpr*(t[c]||0))}return(o||t.shadowColor!==n.shadowColor)&&(a||(T(e,i),a=!0),e.shadowColor=t.shadowColor||r.oN.shadowColor),a}function x(e,t,n,r,o){var i=E(t,o.inHover),a=r?null:n&&E(n,o.inHover)||{};if(i===a)return!1;var s=_(e,i,a,r,o);if((r||i.fill!==a.fill)&&(s||(T(e,o),s=!0),g(i.fill)&&(e.fillStyle=i.fill)),(r||i.stroke!==a.stroke)&&(s||(T(e,o),s=!0),g(i.stroke)&&(e.strokeStyle=i.stroke)),(r||i.opacity!==a.opacity)&&(s||(T(e,o),s=!0),e.globalAlpha=null==i.opacity?1:i.opacity),t.hasStroke()){var l=i.lineWidth/(i.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==l&&(s||(T(e,o),s=!0),e.lineWidth=l)}for(var c=0;c<w.length;c++){var u=w[c],d=u[0];(r||i[d]!==a[d])&&(s||(T(e,o),s=!0),e[d]=i[d]||u[1])}return s}function S(e,t){var n=t.transform,r=e.dpr||1;n?e.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):e.setTransform(r,0,0,r,0,0)}var k=1,C=2,B=3,Q=4;function T(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function E(e,t){return t&&e.__hoverStyle||e.style}function P(e,t){$(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function $(e,t,n,r){var o=t.transform;if(!t.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return t.__dirty&=~f.M,void(t.__isRendered=!1);var u=t.__clipPaths,g=n.prevElClipPaths,b=!1,w=!1;if(g&&!(0,a.KU)(u,g)||(g&&g.length&&(T(e,n),e.restore(),w=b=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),u&&u.length&&(T(e,n),e.save(),function(e,t,n){for(var r=!1,o=0;o<e.length;o++){var i=e[o];r=r||i.isZeroArea(),S(t,i),t.beginPath(),i.buildPath(t,i.shape),t.clip()}n.allClipped=r}(u,e,n),b=!0),n.prevElClipPaths=u),n.allClipped)t.__isRendered=!1;else{t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var P=n.prevEl;P||(w=b=!0);var M,z,R=t instanceof s.Ay&&t.autoBatch&&function(e){var t=A(e),n=m(e);return!(e.lineDash||!(+t^+n)||t&&"string"!=typeof e.fill||n&&"string"!=typeof e.stroke||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}(t.style);b||(M=o,z=P.transform,M&&z?M[0]!==z[0]||M[1]!==z[1]||M[2]!==z[2]||M[3]!==z[3]||M[4]!==z[4]||M[5]!==z[5]:M||z)?(T(e,n),S(e,t)):R||T(e,n);var D=E(t,n.inHover);t instanceof s.Ay?(n.lastDrawType!==k&&(w=!0,n.lastDrawType=k),x(e,t,P,w,n),R&&(n.batchFill||n.batchStroke)||e.beginPath(),function(e,t,n,r){var o,i=m(n),s=A(n),l=n.strokePercent,c=l<1,u=!t.path;t.silent&&!c||!u||t.createPathProxy();var h=t.path||p,g=t.__dirty;if(!r){var b=n.fill,w=n.stroke,_=s&&!!b.colorStops,x=i&&!!w.colorStops,S=s&&!!b.image,k=i&&!!w.image,C=void 0,B=void 0,Q=void 0,T=void 0,E=void 0;(_||x)&&(E=t.getBoundingRect()),_&&(C=g?(0,a.Ff)(e,b,E):t.__canvasFillGradient,t.__canvasFillGradient=C),x&&(B=g?(0,a.Ff)(e,w,E):t.__canvasStrokeGradient,t.__canvasStrokeGradient=B),S&&(Q=g||!t.__canvasFillPattern?O(e,b,t):t.__canvasFillPattern,t.__canvasFillPattern=Q),k&&(T=g||!t.__canvasStrokePattern?O(e,w,t):t.__canvasStrokePattern,t.__canvasStrokePattern=Q),_?e.fillStyle=C:S&&(Q?e.fillStyle=Q:s=!1),x?e.strokeStyle=B:k&&(T?e.strokeStyle=T:i=!1)}var P,$,M=t.getGlobalScale();h.setScale(M[0],M[1],t.segmentIgnoreThreshold),e.setLineDash&&n.lineDash&&(P=(o=(0,d.V)(t))[0],$=o[1]);var z=!0;(u||g&f.Dl)&&(h.setDPR(e.dpr),c?h.setContext(null):(h.setContext(e),z=!1),h.reset(),t.buildPath(h,t.shape,r),h.toStatic(),t.pathUpdated()),z&&h.rebuildPath(e,c?l:1),P&&(e.setLineDash(P),e.lineDashOffset=$),r||(n.strokeFirst?(i&&y(e,n),s&&v(e,n)):(s&&v(e,n),i&&y(e,n))),P&&e.setLineDash([])}(e,t,D,R),R&&(n.batchFill=D.fill||"",n.batchStroke=D.stroke||"")):t instanceof c.A?(n.lastDrawType!==B&&(w=!0,n.lastDrawType=B),x(e,t,P,w,n),function(e,t,n){var r,o=n.text;if(null!=o&&(o+=""),o){e.font=n.font||h.OH,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var i=void 0,a=void 0;e.setLineDash&&n.lineDash&&(i=(r=(0,d.V)(t))[0],a=r[1]),i&&(e.setLineDash(i),e.lineDashOffset=a),n.strokeFirst?(m(n)&&e.strokeText(o,n.x,n.y),A(n)&&e.fillText(o,n.x,n.y)):(A(n)&&e.fillText(o,n.x,n.y),m(n)&&e.strokeText(o,n.x,n.y)),i&&e.setLineDash([])}}(e,t,D)):t instanceof l.Ay?(n.lastDrawType!==C&&(w=!0,n.lastDrawType=C),function(e,t,n,r,o){_(e,E(t,o.inHover),n&&E(n,o.inHover),r,o)}(e,t,P,w,n),function(e,t,n){var r=t.__image=(0,i.OD)(n.image,t.__image,t,t.onload);if(r&&(0,i.xA)(r)){var o=n.x||0,a=n.y||0,s=t.getWidth(),l=t.getHeight(),c=r.width/r.height;if(null==s&&null!=l?s=l*c:null==l&&null!=s?l=s/c:null==s&&null==l&&(s=r.width,l=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,d=n.sy||0;e.drawImage(r,u,d,n.sWidth,n.sHeight,o,a,s,l)}else if(n.sx&&n.sy){var f=s-(u=n.sx),h=l-(d=n.sy);e.drawImage(r,u,d,f,h,o,a,s,l)}else e.drawImage(r,o,a,s,l)}}(e,t,D)):t.getTemporalDisplayables&&(n.lastDrawType!==Q&&(w=!0,n.lastDrawType=Q),function(e,t,n){var r=t.getDisplayables(),o=t.getTemporalDisplayables();e.save();var i,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(i=t.getCursor(),a=r.length;i<a;i++)(u=r[i]).beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),$(e,u,s,i===a-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),s.prevEl=u;for(var l=0,c=o.length;l<c;l++){var u;(u=o[l]).beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),$(e,u,s,l===c-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),s.prevEl=u}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}(e,t,n)),R&&r&&T(e,n),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),n.prevEl=t,t.__dirty=0,t.__isRendered=!0}}},29599:function(e){e.exports="last"},29650:function(e,t,n){var r=n(61249),o=n(19042),i=n(69821),a=n(10906),s=n(60843);function l(e,t){var n=t?t.match(r):"";return n?n[1]?e[n[1]]?e[n[1]][n[2]]:void 0:e[n[2]]:e[t]}e.exports=function(e,t,n){if(s(e))return n;var r=function(e,t){if(e){var n,r,a,c=0;if(e[t]||i(e,t))return e[t];if(a=(r=o(t)).length)for(n=e;c<a;c++)if(n=l(n,r[c]),s(n))return c===a-1?n:void 0;return n}}(e,t);return a(r)?n:r}},29668:function(e,t,n){"use strict";var r=n(15215),o=function(e){function t(t,n,r,o,i,a){var s=e.call(this,i)||this;return s.x=null==t?0:t,s.y=null==n?0:n,s.x2=null==r?1:r,s.y2=null==o?0:o,s.type="linear",s.global=a||!1,s}return(0,r.C6)(t,e),t}(n(11793).A);t.A=o},29756:function(e,t,n){"use strict";n.d(t,{B:function(){return l},l:function(){return a}});var r=n(98026),o=n(13430),i=function(){function e(e,t){this._encode=e,this._schema=t}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function a(e,t){var n={},a=n.encode={},l=(0,r.createHashMap)(),c=[],u=[],d={};(0,r.each)(e.dimensions,(function(t){var n,r=e.getDimensionInfo(t),i=r.coordDim;if(i){var f=r.coordDimIndex;s(a,i)[f]=t,r.isExtraCoord||(l.set(i,1),"ordinal"!==(n=r.type)&&"time"!==n&&(c[0]=t),s(d,i)[f]=e.getDimensionIndex(r.name)),r.defaultTooltip&&u.push(t)}o.Pe.each((function(e,t){var n=s(a,t),o=r.otherDims[t];null!=o&&!1!==o&&(n[o]=r.name)}))}));var f=[],h={};l.each((function(e,t){var n=a[t];h[t]=n[0],f=f.concat(n)})),n.dataDimsOnCoord=f,n.dataDimIndicesOnCoord=(0,r.map)(f,(function(t){return e.getDimensionInfo(t).storeDimIndex})),n.encodeFirstDimNotExtra=h;var p=a.label;p&&p.length&&(c=p.slice());var m=a.tooltip;return m&&m.length?u=m.slice():u.length||(u=c.slice()),a.defaultedLabel=c,a.defaultedTooltip=u,n.userOutput=new i(d,t),n}function s(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function l(e){return"category"===e?"ordinal":"time"===e?"time":"float"}},29869:function(e,t,n){var r=n(95654),o=n(35657),i=r((function e(t,n,r,i,a,s,l,c){var u,d;o(n,(function(o,f){u=a.concat([""+f]),d=s.concat([o]),r.call(i,o,f,n,u,t,d),o&&l&&(u.push(l),e(o,o[l],r,i,u,d,l,c))}))}));e.exports=i},30421:function(e){"use strict";e.exports={}},30531:function(e,t,n){"use strict";var r=n(46518),o=n(69565),i=n(79306),a=n(28551),s=n(1767),l=n(48646),c=n(19462),u=n(9539),d=n(96395),f=c((function(){for(var e,t,n=this.iterator,r=this.mapper;;){if(t=this.inner)try{if(!(e=a(o(t.next,t.iterator))).done)return e.value;this.inner=null}catch(e){u(n,"throw",e)}if(e=a(o(this.next,n)),this.done=!!e.done)return;try{this.inner=l(r(e.value,this.counter++),!1)}catch(e){u(n,"throw",e)}}}));r({target:"Iterator",proto:!0,real:!0,forced:d},{flatMap:function(e){return a(this),i(e),new f(s(this),{mapper:e,inner:null})}})},30682:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(98026),o=n(87582),i=n(65008),a=n(8957);function s(e,t){return{seriesType:e,plan:(0,o.A)(),reset:function(e){var n=e.getData(),o=e.coordinateSystem,s=e.pipelineContext,l=t||s.large;if(o){var c=(0,r.map)(o.dimensions,(function(e){return n.mapDimension(e)})).slice(0,2),u=c.length,d=n.getCalculationInfo("stackResultDimension");(0,i.sJ)(n,c[0])&&(c[0]=d),(0,i.sJ)(n,c[1])&&(c[1]=d);var f=n.getStore(),h=n.getDimensionIndex(c[0]),p=n.getDimensionIndex(c[1]);return u&&{progress:function(e,t){for(var n=e.end-e.start,r=l&&(0,a.J)(n*u),i=[],s=[],c=e.start,d=0;c<e.end;c++){var m=void 0;if(1===u){var g=f.get(h,c);m=o.dataToPoint(g,null,s)}else i[0]=f.get(h,c),i[1]=f.get(p,c),m=o.dataToPoint(i,null,s);l?(r[d++]=m[0],r[d++]=m[1]):t.setItemLayout(c,m.slice())}l&&t.setLayout("points",r)}}}}}}},30693:function(e,t,n){"use strict";n.d(t,{CC:function(){return l},Od:function(){return h},_E:function(){return c},gq:function(){return u},q7:function(){return d},tQ:function(){return g}});var r=n(15215),o=n(98026),i=".",a="___EC__COMPONENT__CONTAINER___",s="___EC__EXTENDED_CLASS___";function l(e){var t={main:"",sub:""};if(e){var n=e.split(i);t.main=n[0]||"",t.sub=n[1]||""}return t}function c(e){return!(!e||!e[s])}function u(e,t){e.$constructor=e,e.extend=function(e){var t,n,i=this;return n=i,o.isFunction(n)&&/^class\s/.test(Function.prototype.toString.call(n))?t=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.C6)(t,e),t}(i):(t=function(){(e.$constructor||i).apply(this,arguments)},o.inherits(t,this)),o.extend(t.prototype,e),t[s]=!0,t.extend=this.extend,t.superCall=p,t.superApply=m,t.superClass=i,t}}function d(e,t){e.extend=t.extend}var f=Math.round(10*Math.random());function h(e){var t=["__\0is_clz",f++].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function p(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[t].apply(e,n)}function m(e,t,n){return this.superClass.prototype[t].apply(e,n)}function g(e){var t={};e.registerClass=function(e){var n,r=e.type||e.prototype.type;if(r){n=r,o.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),e.prototype.type=r;var i=l(r);if(i.sub){if(i.sub!==a){var s=function(e){var n=t[e.main];return n&&n[a]||((n=t[e.main]={})[a]=!0),n}(i);s[i.sub]=e}}else t[i.main]=e}return e},e.getClass=function(e,n,r){var o=t[e];if(o&&o[a]&&(o=n?o[n]:null),r&&!o)throw new Error(n?"Component "+e+"."+(n||"")+" is used but not imported.":e+".type should be specified.");return o},e.getClassesByMainType=function(e){var n=l(e),r=[],i=t[n.main];return i&&i[a]?o.each(i,(function(e,t){t!==a&&r.push(e)})):r.push(i),r},e.hasClass=function(e){var n=l(e);return!!t[n.main]},e.getAllClassMainTypes=function(){var e=[];return o.each(t,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){var n=l(e),r=t[n.main];return r&&r[a]}}},30901:function(e,t,n){"use strict";var r=n(61882);t.A=function(e){if("string"==typeof e||(0,r.A)(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},31021:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!e.vueAxiosInstalled){var n=s(t)?function(e){return{axios:e,$http:e}}(t):t;if(function(e){return"object"===r(e)&&Object.keys(e).every((function(t){return s(e[t])}))}(n)){var o=function(e){return e&&e.version&&Number(e.version.split(".")[0])}(e);if(o){var l=o<3?i:a;Object.keys(n).forEach((function(t){l(e,t,n[t])})),e.vueAxiosInstalled=!0}else console.error("[vue-axios] unknown Vue version")}else console.error("[vue-axios] configuration is invalid, expected options are either <axios_instance> or { <registration_key>: <axios_instance> }")}}function i(e,t,n){Object.defineProperty(e.prototype,t,{get:function(){return n}}),e[t]=n}function a(e,t,n){e.config.globalProperties[t]=n,e[t]=n}function s(e){return e&&"function"==typeof e.get&&"function"==typeof e.post}n.d(t,{A:function(){return o}}),e=n.hmd(e),"object"==("undefined"==typeof exports?"undefined":r(exports))?e.exports=o:"function"==typeof define&&n.amdO?define([],(function(){return o})):window.Vue&&window.axios&&window.Vue.use&&Vue.use(o,window.axios)},31024:function(e,t,n){"use strict";n.d(t,{U5:function(){return g},cn:function(){return m},m5:function(){return h},nS:function(){return p}});var r=n(15215),o=n(29308),i=n(83509),a=n(51183),s=n(45587),l=n(98026),c=[];function u(e,t){for(var n=0;n<e.length;n++)i.applyTransform(e[n],e[n],t)}function d(e,t,n,r){for(var o=0;o<e.length;o++){var a=e[o];r&&(a=r.project(a)),a&&isFinite(a[0])&&isFinite(a[1])&&(i.min(t,t,a),i.max(n,n,a))}}var f=function(){function e(e){this.name=e}return e.prototype.setCenter=function(e){this._center=e},e.prototype.getCenter=function(){var e=this._center;return e||(e=this._center=this.calcCenter()),e},e}(),h=function(e,t){this.type="polygon",this.exterior=e,this.interiors=t},p=function(e){this.type="linestring",this.points=e},m=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.type="geoJSON",o.geometries=n,o._center=r&&[r[0],r[1]],o}return(0,r.C6)(t,e),t.prototype.calcCenter=function(){for(var e,t=this.geometries,n=0,r=0;r<t.length;r++){var o=t[r],i=o.exterior,a=i&&i.length;a>n&&(e=o,n=a)}if(e)return function(e){for(var t=0,n=0,r=0,o=e.length,i=e[o-1][0],a=e[o-1][1],s=0;s<o;s++){var l=e[s][0],c=e[s][1],u=i*c-l*a;t+=u,n+=(i+l)*u,r+=(a+c)*u,i=l,a=c}return t?[n/t/3,r/t/3,t]:[e[0][0]||0,e[0][1]||0]}(e.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},t.prototype.getBoundingRect=function(e){var t=this._rect;if(t&&!e)return t;var n=[1/0,1/0],r=[-1/0,-1/0],i=this.geometries;return(0,l.each)(i,(function(t){"polygon"===t.type?d(t.exterior,n,r,e):(0,l.each)(t.points,(function(t){d(t,n,r,e)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(r[0])&&isFinite(r[1])||(n[0]=n[1]=r[0]=r[1]=0),t=new o.A(n[0],n[1],r[0]-n[0],r[1]-n[1]),e||(this._rect=t),t},t.prototype.contain=function(e){var t=this.getBoundingRect(),n=this.geometries;if(!t.contain(e[0],e[1]))return!1;e:for(var r=0,o=n.length;r<o;r++){var i=n[r];if("polygon"===i.type){var s=i.exterior,l=i.interiors;if(a.l(s,e[0],e[1])){for(var c=0;c<(l?l.length:0);c++)if(a.l(l[c],e[0],e[1]))continue e;return!0}}}return!1},t.prototype.transformTo=function(e,t,n,r){var i=this.getBoundingRect(),a=i.width/i.height;n?r||(r=n/a):n=a*r;for(var s=new o.A(e,t,n,r),c=i.calculateTransform(s),d=this.geometries,f=0;f<d.length;f++){var h=d[f];"polygon"===h.type?(u(h.exterior,c),(0,l.each)(h.interiors,(function(e){u(e,c)}))):(0,l.each)(h.points,(function(e){u(e,c)}))}(i=this._rect).copy(s),this._center=[i.x+i.width/2,i.y+i.height/2]},t.prototype.cloneShallow=function(e){null==e&&(e=this.name);var n=new t(e,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},t}(f),g=function(e){function t(t,n){var r=e.call(this,t)||this;return r.type="geoSVG",r._elOnlyForCalculate=n,r}return(0,r.C6)(t,e),t.prototype.calcCenter=function(){for(var e=this._elOnlyForCalculate,t=e.getBoundingRect(),n=[t.x+t.width/2,t.y+t.height/2],r=s.identity(c),o=e;o&&!o.isGeoSVGGraphicRoot;)s.mul(r,o.getLocalTransform(),r),o=o.parent;return s.invert(r,r),i.applyTransform(n,n,r),n},t}(f)},31069:function(e,t,n){"use strict";n.d(t,{YU:function(){return o},l4:function(){return r},qs:function(){return i}});const r="update:modelValue",o="change",i="input"},31148:function(){!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("code",(function(e){return function(e){e.addCommand("mceCodeEditor",(function(){!function(e){var t=function(e){return e.getContent({source_view:!0})}(e);e.windowManager.open({title:"Source Code",size:"large",body:{type:"panel",items:[{type:"textarea",name:"code"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{code:t},onSubmit:function(t){!function(e,t){e.focus(),e.undoManager.transact((function(){e.setContent(t)})),e.selection.setCursorLocation(),e.nodeChanged()}(e,t.getData().code),t.close()}})}(e)}))}(e),function(e){var t=function(){return e.execCommand("mceCodeEditor")};e.ui.registry.addButton("code",{icon:"sourcecode",tooltip:"Source code",onAction:t}),e.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code",onAction:t})}(e),{}}))}()},31415:function(e,t,n){"use strict";n.d(t,{A:function(){return u},k:function(){return c}});var r=n(61431),o=n(22974),i=n(22355),a=n(50819),s=n(838);const l=(0,a.b_)({a11y:{type:Boolean,default:!0},locale:{type:(0,a.jq)(Object)},size:s.mU,button:{type:(0,a.jq)(Object)},experimentalFeatures:{type:(0,a.jq)(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:(0,a.jq)(Object)},zIndex:Number,namespace:{type:String,default:"el"},...i.bs}),c={},u=(0,r.defineComponent)({name:"ElConfigProvider",props:l,setup(e,{slots:t}){(0,r.watch)((()=>e.message),(e=>{Object.assign(c,null!=e?e:{})}),{immediate:!0,deep:!0});const n=(0,o.Vh)(e);return()=>(0,r.renderSlot)(t,"default",{config:null==n?void 0:n.value})}})},31571:function(e,t,n){"use strict";var r=n(15215),o=n(5070),i=function(){this.cx=0,this.cy=0,this.r=0},a=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new i},t.prototype.buildPath=function(e,t){e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI)},t}(o.Ay);a.prototype.type="circle",t.A=a},31698:function(e,t,n){"use strict";var r=n(46518),o=n(44204);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("union")},{union:o})},31737:function(e,t,n){var r=n(79135),o=n(41982),i=n(4094);e.exports=function(e,t,n){return e?(r(e)?o:i)(e,t,n):e}},31800:function(e,t,n){var r=n(73183),o=n(27260),i=n(35657),a={};i(r,(function(e,t){a[r[t]]=t}));var s=o(a);e.exports=s},31825:function(e,t,n){"use strict";n.d(t,{Fl:function(){return d},Pn:function(){return a},zC:function(){return l},zs:function(){return h}});var r=n(24326),o=n(98026),i=n(41025);function a(e,t){var n=t&&t.type;return"ordinal"===n?e:("time"!==n||(0,o.isNumber)(e)||null==e||"-"===e||(e=+(0,r._U)(e)),null==e||""===e?NaN:Number(e))}var s=(0,o.createHashMap)({number:function(e){return parseFloat(e)},time:function(e){return+(0,r._U)(e)},trim:function(e){return(0,o.isString)(e)?(0,o.trim)(e):e}});function l(e){return s.get(e)}var c={lt:function(e,t){return e<t},lte:function(e,t){return e<=t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t}},u=function(){function e(e,t){(0,o.isNumber)(t)||(0,i.$8)(""),this._opFn=c[e],this._rvalFloat=(0,r.Sm)(t)}return e.prototype.evaluate=function(e){return(0,o.isNumber)(e)?this._opFn(e,this._rvalFloat):this._opFn((0,r.Sm)(e),this._rvalFloat)},e}(),d=function(){function e(e,t){var n="desc"===e;this._resultLT=n?1:-1,null==t&&(t=n?"min":"max"),this._incomparable="min"===t?-1/0:1/0}return e.prototype.evaluate=function(e,t){var n=(0,o.isNumber)(e)?e:(0,r.Sm)(e),i=(0,o.isNumber)(t)?t:(0,r.Sm)(t),a=isNaN(n),s=isNaN(i);if(a&&(n=this._incomparable),s&&(i=this._incomparable),a&&s){var l=(0,o.isString)(e),c=(0,o.isString)(t);l&&(n=c?e:0),c&&(i=l?t:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},e}(),f=function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=(0,r.Sm)(t)}return e.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var n=typeof e;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(t=(0,r.Sm)(e)===this._rvalFloat)}return this._isEQ?t:!t},e}();function h(e,t){return"eq"===e||"ne"===e?new f("eq"===e,t):(0,o.hasOwn)(c,e)?new u(e,t):null}},31833:function(){!function(){"use strict";var e,t,n=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=function(e,t){var n=function(e,t){return e.fire("insertCustomChar",{chr:t})}(e,t).chr;e.execCommand("mceInsertContent",!1,n)},o=function(e){return n=typeof(t=e),"array"===(null===t?"null":"object"===n&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===n&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":n);var t,n},i=function(e){return null===e},a=function(e){return function(){return e}},s=a(!1),l=a(!0),c=function(){return u},u={fold:function(e,t){return e()},isSome:s,isNone:l,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:a(null),getOrUndefined:a(void 0),or:t,orThunk:e,map:c,each:function(){},bind:c,exists:s,forall:l,filter:function(){return c()},toArray:function(){return[]},toString:a("none()")},d=function(e){var t=a(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:l,isNone:s,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return d(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:u},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},f={some:d,none:c,from:function(e){return null==e?u:d(e)}},h=Array.prototype.push,p=function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r},m=tinymce.util.Tools.resolve("tinymce.util.Tools"),g=m.isArray,A="User Defined",v=function(e){return g(e)?(t=e,m.grep(t,(function(e){return g(e)&&2===e.length}))):"function"==typeof e?e():[];var t},y=function(e){var t,n,r=function(e,t){var n=function(e){return e.getParam("charmap")}(e);n&&(t=[{name:A,characters:v(n)}]);var r=function(e){return e.getParam("charmap_append")}(e);if(r){var o=m.grep(t,(function(e){return e.name===A}));return o.length?(o[0].characters=[].concat(o[0].characters).concat(v(r)),t):t.concat({name:A,characters:v(r)})}return t}(e,[{name:"Currency",characters:[[36,"dollar sign"],[162,"cent sign"],[8364,"euro sign"],[163,"pound sign"],[165,"yen sign"],[164,"currency sign"],[8352,"euro-currency sign"],[8353,"colon sign"],[8354,"cruzeiro sign"],[8355,"french franc sign"],[8356,"lira sign"],[8357,"mill sign"],[8358,"naira sign"],[8359,"peseta sign"],[8360,"rupee sign"],[8361,"won sign"],[8362,"new sheqel sign"],[8363,"dong sign"],[8365,"kip sign"],[8366,"tugrik sign"],[8367,"drachma sign"],[8368,"german penny symbol"],[8369,"peso sign"],[8370,"guarani sign"],[8371,"austral sign"],[8372,"hryvnia sign"],[8373,"cedi sign"],[8374,"livre tournois sign"],[8375,"spesmilo sign"],[8376,"tenge sign"],[8377,"indian rupee sign"],[8378,"turkish lira sign"],[8379,"nordic mark sign"],[8380,"manat sign"],[8381,"ruble sign"],[20870,"yen character"],[20803,"yuan character"],[22291,"yuan character, in hong kong and taiwan"],[22278,"yen/yuan character variant one"]]},{name:"Text",characters:[[169,"copyright sign"],[174,"registered sign"],[8482,"trade mark sign"],[8240,"per mille sign"],[181,"micro sign"],[183,"middle dot"],[8226,"bullet"],[8230,"three dot leader"],[8242,"minutes / feet"],[8243,"seconds / inches"],[167,"section sign"],[182,"paragraph sign"],[223,"sharp s / ess-zed"]]},{name:"Quotations",characters:[[8249,"single left-pointing angle quotation mark"],[8250,"single right-pointing angle quotation mark"],[171,"left pointing guillemet"],[187,"right pointing guillemet"],[8216,"left single quotation mark"],[8217,"right single quotation mark"],[8220,"left double quotation mark"],[8221,"right double quotation mark"],[8218,"single low-9 quotation mark"],[8222,"double low-9 quotation mark"],[60,"less-than sign"],[62,"greater-than sign"],[8804,"less-than or equal to"],[8805,"greater-than or equal to"],[8211,"en dash"],[8212,"em dash"],[175,"macron"],[8254,"overline"],[164,"currency sign"],[166,"broken bar"],[168,"diaeresis"],[161,"inverted exclamation mark"],[191,"turned question mark"],[710,"circumflex accent"],[732,"small tilde"],[176,"degree sign"],[8722,"minus sign"],[177,"plus-minus sign"],[247,"division sign"],[8260,"fraction slash"],[215,"multiplication sign"],[185,"superscript one"],[178,"superscript two"],[179,"superscript three"],[188,"fraction one quarter"],[189,"fraction one half"],[190,"fraction three quarters"]]},{name:"Mathematical",characters:[[402,"function / florin"],[8747,"integral"],[8721,"n-ary sumation"],[8734,"infinity"],[8730,"square root"],[8764,"similar to"],[8773,"approximately equal to"],[8776,"almost equal to"],[8800,"not equal to"],[8801,"identical to"],[8712,"element of"],[8713,"not an element of"],[8715,"contains as member"],[8719,"n-ary product"],[8743,"logical and"],[8744,"logical or"],[172,"not sign"],[8745,"intersection"],[8746,"union"],[8706,"partial differential"],[8704,"for all"],[8707,"there exists"],[8709,"diameter"],[8711,"backward difference"],[8727,"asterisk operator"],[8733,"proportional to"],[8736,"angle"]]},{name:"Extended Latin",characters:[[192,"A - grave"],[193,"A - acute"],[194,"A - circumflex"],[195,"A - tilde"],[196,"A - diaeresis"],[197,"A - ring above"],[256,"A - macron"],[198,"ligature AE"],[199,"C - cedilla"],[200,"E - grave"],[201,"E - acute"],[202,"E - circumflex"],[203,"E - diaeresis"],[274,"E - macron"],[204,"I - grave"],[205,"I - acute"],[206,"I - circumflex"],[207,"I - diaeresis"],[298,"I - macron"],[208,"ETH"],[209,"N - tilde"],[210,"O - grave"],[211,"O - acute"],[212,"O - circumflex"],[213,"O - tilde"],[214,"O - diaeresis"],[216,"O - slash"],[332,"O - macron"],[338,"ligature OE"],[352,"S - caron"],[217,"U - grave"],[218,"U - acute"],[219,"U - circumflex"],[220,"U - diaeresis"],[362,"U - macron"],[221,"Y - acute"],[376,"Y - diaeresis"],[562,"Y - macron"],[222,"THORN"],[224,"a - grave"],[225,"a - acute"],[226,"a - circumflex"],[227,"a - tilde"],[228,"a - diaeresis"],[229,"a - ring above"],[257,"a - macron"],[230,"ligature ae"],[231,"c - cedilla"],[232,"e - grave"],[233,"e - acute"],[234,"e - circumflex"],[235,"e - diaeresis"],[275,"e - macron"],[236,"i - grave"],[237,"i - acute"],[238,"i - circumflex"],[239,"i - diaeresis"],[299,"i - macron"],[240,"eth"],[241,"n - tilde"],[242,"o - grave"],[243,"o - acute"],[244,"o - circumflex"],[245,"o - tilde"],[246,"o - diaeresis"],[248,"o slash"],[333,"o macron"],[339,"ligature oe"],[353,"s - caron"],[249,"u - grave"],[250,"u - acute"],[251,"u - circumflex"],[252,"u - diaeresis"],[363,"u - macron"],[253,"y - acute"],[254,"thorn"],[255,"y - diaeresis"],[563,"y - macron"],[913,"Alpha"],[914,"Beta"],[915,"Gamma"],[916,"Delta"],[917,"Epsilon"],[918,"Zeta"],[919,"Eta"],[920,"Theta"],[921,"Iota"],[922,"Kappa"],[923,"Lambda"],[924,"Mu"],[925,"Nu"],[926,"Xi"],[927,"Omicron"],[928,"Pi"],[929,"Rho"],[931,"Sigma"],[932,"Tau"],[933,"Upsilon"],[934,"Phi"],[935,"Chi"],[936,"Psi"],[937,"Omega"],[945,"alpha"],[946,"beta"],[947,"gamma"],[948,"delta"],[949,"epsilon"],[950,"zeta"],[951,"eta"],[952,"theta"],[953,"iota"],[954,"kappa"],[955,"lambda"],[956,"mu"],[957,"nu"],[958,"xi"],[959,"omicron"],[960,"pi"],[961,"rho"],[962,"final sigma"],[963,"sigma"],[964,"tau"],[965,"upsilon"],[966,"phi"],[967,"chi"],[968,"psi"],[969,"omega"]]},{name:"Symbols",characters:[[8501,"alef symbol"],[982,"pi symbol"],[8476,"real part symbol"],[978,"upsilon - hook symbol"],[8472,"Weierstrass p"],[8465,"imaginary part"]]},{name:"Arrows",characters:[[8592,"leftwards arrow"],[8593,"upwards arrow"],[8594,"rightwards arrow"],[8595,"downwards arrow"],[8596,"left right arrow"],[8629,"carriage return"],[8656,"leftwards double arrow"],[8657,"upwards double arrow"],[8658,"rightwards double arrow"],[8659,"downwards double arrow"],[8660,"left right double arrow"],[8756,"therefore"],[8834,"subset of"],[8835,"superset of"],[8836,"not a subset of"],[8838,"subset of or equal to"],[8839,"superset of or equal to"],[8853,"circled plus"],[8855,"circled times"],[8869,"perpendicular"],[8901,"dot operator"],[8968,"left ceiling"],[8969,"right ceiling"],[8970,"left floor"],[8971,"right floor"],[9001,"left-pointing angle bracket"],[9002,"right-pointing angle bracket"],[9674,"lozenge"],[9824,"black spade suit"],[9827,"black club suit"],[9829,"black heart suit"],[9830,"black diamond suit"],[8194,"en space"],[8195,"em space"],[8201,"thin space"],[8204,"zero width non-joiner"],[8205,"zero width joiner"],[8206,"left-to-right mark"],[8207,"right-to-left mark"]]}]);return r.length>1?[{name:"All",characters:(t=r,n=function(e){return e.characters},function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!o(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);h.apply(t,e[n])}return t}(p(t,n)))}].concat(r):r},O=function(e){var t=e;return{get:function(){return t},set:function(e){t=e}}},b=String.fromCodePoint,w=function(e,t){return-1!==e.indexOf(t)},_=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(b)return b.apply(void 0,e);for(var n=[],r=0,o="",i=0,a=e.length;i!==a;++i){var s=+e[i];if(!(s<1114111&&s>>>0===s))throw RangeError("Invalid code point: "+s);s<=65535?r=n.push(s):(s-=65536,r=n.push(55296+(s>>10),s%1024+56320)),r>=16383&&(o+=String.fromCharCode.apply(null,n),n.length=0)}return o+String.fromCharCode.apply(null,n)},x=function(e,t){var n=[],r=t.toLowerCase();return function(e){for(var t=0,o=e.length;t<o;t++)(function(e,t,n){return!!w(_(e).toLowerCase(),n)||w(t.toLowerCase(),n)||w(t.toLowerCase().replace(/\s+/g,""),n)})((i=e[t])[0],i[1],r)&&n.push(i);var i}(e.characters),p(n,(function(e){return{text:e[1],value:_(e[0]),icon:_(e[0])}}))},S="pattern",k=function(e,t){var n,o,a,l=function(){return[{label:"Search",type:"input",name:S},{type:"collection",name:"results"}]},c=1===t.length?O(A):O("All"),u=(n=function(e){var n=e.getData().pattern;!function(e,n){var r,o;(r=t,o=function(e){return e.name===c.get()},function(e,t,n){for(var r=0,o=e.length;r<o;r++){var i=e[r];if(t(i,r))return f.some(i);if(n(i,r))break}return f.none()}(r,o,s)).each((function(t){var r=x(t,n);e.setData({results:r})}))}(e,n)},o=null,{cancel:a=function(){i(o)||(clearTimeout(o),o=null)},throttle:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];a(),o=setTimeout((function(){o=null,n.apply(null,e)}),40)}}),d={title:"Special Character",size:"normal",body:1===t.length?{type:"panel",items:l()}:{type:"tabpanel",tabs:p(t,(function(e){return{title:e.name,name:e.name,items:l()}}))},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{pattern:"",results:x(t[0],"")},onAction:function(t,n){"results"===n.name&&(r(e,n.value),t.close())},onTabChange:function(e,t){c.set(t.newTabName),u.throttle(e)},onChange:function(e,t){t.name===S&&u.throttle(e)}};e.windowManager.open(d).focus(S)},C=tinymce.util.Tools.resolve("tinymce.util.Promise");n.add("charmap",(function(e){var t=y(e);return function(e,t){e.addCommand("mceShowCharmap",(function(){k(e,t)}))}(e,t),function(e){e.ui.registry.addButton("charmap",{icon:"insert-character",tooltip:"Special character",onAction:function(){return e.execCommand("mceShowCharmap")}}),e.ui.registry.addMenuItem("charmap",{icon:"insert-character",text:"Special character...",onAction:function(){return e.execCommand("mceShowCharmap")}})}(e),function(e,t){e.ui.registry.addAutocompleter("charmap",{ch:":",columns:"auto",minChars:2,fetch:function(e,n){return new C((function(n,r){n(x(t,e))}))},onAction:function(t,n,r){e.selection.setRng(n),e.insertContent(r),t.hide()}})}(e,t[0]),function(e){return{getCharMap:function(){return y(e)},insertChar:function(t){r(e,t)}}}(e)}))}()},32073:function(e,t,n){n(90134)},32322:function(e,t,n){"use strict";n.d(t,{I5:function(){return y},XE:function(){return b}});var r=n(15215),o=n(62406),i=n(19845),a=n(98026),s=n(45558),l=n(90540),c=n(10992),u=n(29308),d=n(71519),f=n(59741),h={fill:"#000"},p={style:(0,a.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},d.sW.style)},m=function(e){function t(t){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=h,n.attr(t),n}return(0,r.C6)(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t<this._children.length;t++){var n=this._children[t];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},t.prototype.updateTransform=function(){var t=this.innerTransformable;t?(t.updateTransform(),t.transform&&(this.transform=t.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(t){var n=this.innerTransformable;return n?n.getLocalTransform(t):e.prototype.getLocalTransform.call(this,t)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){var e;this._childCursor=0,w(e=this.style),(0,a.each)(e.rich,w),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var n=0;n<this._children.length;n++)this._children[n].__zr=t},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var e=new u.A(0,0,0,0),t=this._children,n=[],r=null,o=0;o<t.length;o++){var i=t[o],a=i.getBoundingRect(),s=i.getLocalTransform(n);s?(e.copy(a),e.applyTransform(s),(r=r||e.clone()).union(e)):(r=r||a.clone()).union(a)}this._rect=r||e}return this._rect},t.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||h},t.prototype.setTextContent=function(e){},t.prototype._mergeStyle=function(e,t){if(!t)return e;var n=t.rich,r=e.rich||n&&{};return(0,a.extend)(e,t),n&&r?(this._mergeRich(r,n),e.rich=r):r&&(e.rich=r),e},t.prototype._mergeRich=function(e,t){for(var n=(0,a.keys)(t),r=0;r<n.length;r++){var o=n[r];e[o]=e[o]||{},(0,a.extend)(e[o],t[o])}},t.prototype.getAnimationStyleProps=function(){return p},t.prototype._getOrCreateChild=function(e){var t=this._children[this._childCursor];return t&&t instanceof e||(t=new e),this._children[this._childCursor++]=t,t.__zr=this.__zr,t.parent=this,t},t.prototype._updatePlainTexts=function(){var e=this.style,t=e.font||f.OH,n=e.padding,r=k(e),a=(0,o.j_)(r,e),l=C(e),c=!!e.backgroundColor,d=a.outerHeight,h=a.outerWidth,p=a.contentWidth,m=a.lines,g=a.lineHeight,A=this._defaultStyle;this.isTruncated=!!a.isTruncated;var v=e.x||0,y=e.y||0,b=e.align||A.align||"left",w=e.verticalAlign||A.verticalAlign||"top",B=v,Q=(0,s.sZ)(y,a.contentHeight,w);if(l||n){var T=(0,s.ll)(v,h,b),E=(0,s.sZ)(y,d,w);l&&this._renderBackground(e,e,T,E,h,d)}Q+=g/2,n&&(B=S(v,b,n),"top"===w?Q+=n[0]:"bottom"===w&&(Q-=n[2]));for(var P=0,$=!1,M=(x("fill"in e?e.fill:($=!0,A.fill))),z=(_("stroke"in e?e.stroke:c||A.autoStroke&&!$?null:(P=2,A.stroke))),R=e.textShadowBlur>0,D=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),I=a.calculatedLineHeight,N=0;N<m.length;N++){var L=this._getOrCreateChild(i.A),V=L.createStyle();L.useStyle(V),V.text=m[N],V.x=B,V.y=Q,b&&(V.textAlign=b),V.textBaseline="middle",V.opacity=e.opacity,V.strokeFirst=!0,R&&(V.shadowBlur=e.textShadowBlur||0,V.shadowColor=e.textShadowColor||"transparent",V.shadowOffsetX=e.textShadowOffsetX||0,V.shadowOffsetY=e.textShadowOffsetY||0),V.stroke=z,V.fill=M,z&&(V.lineWidth=e.lineWidth||P,V.lineDash=e.lineDash,V.lineDashOffset=e.lineDashOffset||0),V.font=t,O(V,e),Q+=g,D&&L.setBoundingRect(new u.A((0,s.ll)(V.x,p,V.textAlign),(0,s.sZ)(V.y,I,V.textBaseline),p,I))}},t.prototype._updateRichTexts=function(){var e=this.style,t=k(e),n=(0,o.FQ)(t,e),r=n.width,i=n.outerWidth,a=n.outerHeight,l=e.padding,c=e.x||0,u=e.y||0,d=this._defaultStyle,f=e.align||d.align,h=e.verticalAlign||d.verticalAlign;this.isTruncated=!!n.isTruncated;var p=(0,s.ll)(c,i,f),m=(0,s.sZ)(u,a,h),g=p,A=m;l&&(g+=l[3],A+=l[0]);var v=g+r;C(e)&&this._renderBackground(e,e,p,m,i,a);for(var y=!!e.backgroundColor,O=0;O<n.lines.length;O++){for(var b=n.lines[O],w=b.tokens,_=w.length,x=b.lineHeight,S=b.width,B=0,Q=g,T=v,E=_-1,P=void 0;B<_&&(!(P=w[B]).align||"left"===P.align);)this._placeToken(P,e,x,A,Q,"left",y),S-=P.width,Q+=P.width,B++;for(;E>=0&&"right"===(P=w[E]).align;)this._placeToken(P,e,x,A,T,"right",y),S-=P.width,T-=P.width,E--;for(Q+=(r-(Q-g)-(v-T)-S)/2;B<=E;)P=w[B],this._placeToken(P,e,x,A,Q+P.width/2,"center",y),Q+=P.width,B++;A+=x}},t.prototype._placeToken=function(e,t,n,r,o,l,c){var d=t.rich[e.styleName]||{};d.text=e.text;var h=e.verticalAlign,p=r+n/2;"top"===h?p=r+e.height/2:"bottom"===h&&(p=r+n-e.height/2),!e.isLineHolder&&C(d)&&this._renderBackground(d,t,"right"===l?o-e.width:"center"===l?o-e.width/2:o,p-e.height/2,e.width,e.height);var m=!!d.backgroundColor,g=e.textPadding;g&&(o=S(o,l,g),p-=e.height/2-g[0]-e.innerHeight/2);var A=this._getOrCreateChild(i.A),v=A.createStyle();A.useStyle(v);var y=this._defaultStyle,b=!1,w=0,k=x("fill"in d?d.fill:"fill"in t?t.fill:(b=!0,y.fill)),B=_("stroke"in d?d.stroke:"stroke"in t?t.stroke:m||c||y.autoStroke&&!b?null:(w=2,y.stroke)),Q=d.textShadowBlur>0||t.textShadowBlur>0;v.text=e.text,v.x=o,v.y=p,Q&&(v.shadowBlur=d.textShadowBlur||t.textShadowBlur||0,v.shadowColor=d.textShadowColor||t.textShadowColor||"transparent",v.shadowOffsetX=d.textShadowOffsetX||t.textShadowOffsetX||0,v.shadowOffsetY=d.textShadowOffsetY||t.textShadowOffsetY||0),v.textAlign=l,v.textBaseline="middle",v.font=e.font||f.OH,v.opacity=(0,a.retrieve3)(d.opacity,t.opacity,1),O(v,d),B&&(v.lineWidth=(0,a.retrieve3)(d.lineWidth,t.lineWidth,w),v.lineDash=(0,a.retrieve2)(d.lineDash,t.lineDash),v.lineDashOffset=t.lineDashOffset||0,v.stroke=B),k&&(v.fill=k);var T=e.contentWidth,E=e.contentHeight;A.setBoundingRect(new u.A((0,s.ll)(v.x,T,v.textAlign),(0,s.sZ)(v.y,E,v.textBaseline),T,E))},t.prototype._renderBackground=function(e,t,n,r,o,i){var s,u,d,f=e.backgroundColor,h=e.borderWidth,p=e.borderColor,m=f&&f.image,g=f&&!m,A=e.borderRadius,v=this;if(g||e.lineHeight||h&&p){(s=this._getOrCreateChild(c.A)).useStyle(s.createStyle()),s.style.fill=null;var y=s.shape;y.x=n,y.y=r,y.width=o,y.height=i,y.r=A,s.dirtyShape()}if(g)(d=s.style).fill=f||null,d.fillOpacity=(0,a.retrieve2)(e.fillOpacity,1);else if(m){(u=this._getOrCreateChild(l.Ay)).onload=function(){v.dirtyStyle()};var O=u.style;O.image=f.image,O.x=n,O.y=r,O.width=o,O.height=i}h&&p&&((d=s.style).lineWidth=h,d.stroke=p,d.strokeOpacity=(0,a.retrieve2)(e.strokeOpacity,1),d.lineDash=e.borderDash,d.lineDashOffset=e.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(d.strokeFirst=!0,d.lineWidth*=2));var b=(s||u).style;b.shadowBlur=e.shadowBlur||0,b.shadowColor=e.shadowColor||"transparent",b.shadowOffsetX=e.shadowOffsetX||0,b.shadowOffsetY=e.shadowOffsetY||0,b.opacity=(0,a.retrieve3)(e.opacity,t.opacity,1)},t.makeFont=function(e){var t="";return b(e)&&(t=[e.fontStyle,e.fontWeight,y(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),t&&(0,a.trim)(t)||e.textFont||e.font},t}(d.Ay),g={left:!0,right:1,center:1},A={top:1,bottom:1,middle:1},v=["fontStyle","fontWeight","fontSize","fontFamily"];function y(e){return"string"!=typeof e||-1===e.indexOf("px")&&-1===e.indexOf("rem")&&-1===e.indexOf("em")?isNaN(+e)?f.gI+"px":e+"px":e}function O(e,t){for(var n=0;n<v.length;n++){var r=v[n],o=t[r];null!=o&&(e[r]=o)}}function b(e){return null!=e.fontSize||e.fontFamily||e.fontWeight}function w(e){if(e){e.font=m.makeFont(e);var t=e.align;"middle"===t&&(t="center"),e.align=null==t||g[t]?t:"left";var n=e.verticalAlign;"center"===n&&(n="middle"),e.verticalAlign=null==n||A[n]?n:"top",e.padding&&(e.padding=(0,a.normalizeCssArray)(e.padding))}}function _(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function x(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function S(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function k(e){var t=e.text;return null!=t&&(t+=""),t}function C(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}t.Ay=m},32475:function(e,t,n){"use strict";var r=n(46518),o=n(28527);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("isSupersetOf",(function(e){return!e}))},{isSupersetOf:o})},32592:function(e,t,n){"use strict";n.d(t,{i:function(){return he}});var r=n(47355),o=n(98026),i=n(89259),a=n(5070),s=n(83509),l=n(99429),c=n(92836),u=n(48813),d=n(29308),f=n(26346),h=n(52505),p=n(10992),m=n(59975),g=n(68717).A.CMD;function A(e,t){return Math.abs(e-t)<1e-5}function v(e){var t,n,r,o,i,a=e.data,s=e.len(),l=[],c=0,u=0,d=0,f=0;function h(e,n){t&&t.length>2&&l.push(t),t=[e,n]}function p(e,n,r,o){A(e,r)&&A(n,o)||t.push(e,n,r,o,r,o)}function m(e,n,r,o,i,a){var s=Math.abs(n-e),l=4*Math.tan(s/4)/3,c=n<e?-1:1,u=Math.cos(e),d=Math.sin(e),f=Math.cos(n),h=Math.sin(n),p=u*i+r,m=d*a+o,g=f*i+r,A=h*a+o,v=i*l*c,y=a*l*c;t.push(p-v*d,m+y*u,g+v*h,A-y*f,g,A)}for(var v=0;v<s;){var y=a[v++],O=1===v;switch(O&&(d=c=a[v],f=u=a[v+1],y!==g.L&&y!==g.C&&y!==g.Q||(t=[d,f])),y){case g.M:c=d=a[v++],u=f=a[v++],h(d,f);break;case g.L:p(c,u,n=a[v++],r=a[v++]),c=n,u=r;break;case g.C:t.push(a[v++],a[v++],a[v++],a[v++],c=a[v++],u=a[v++]);break;case g.Q:n=a[v++],r=a[v++],o=a[v++],i=a[v++],t.push(c+2/3*(n-c),u+2/3*(r-u),o+2/3*(n-o),i+2/3*(r-i),o,i),c=o,u=i;break;case g.A:var b=a[v++],w=a[v++],_=a[v++],x=a[v++],S=a[v++],k=a[v++]+S;v+=1;var C=!a[v++];n=Math.cos(S)*_+b,r=Math.sin(S)*x+w,O?h(d=n,f=r):p(c,u,n,r),c=Math.cos(k)*_+b,u=Math.sin(k)*x+w;for(var B=(C?-1:1)*Math.PI/2,Q=S;C?Q>k:Q<k;Q+=B)m(Q,C?Math.max(Q+B,k):Math.min(Q+B,k),b,w,_,x);break;case g.R:d=c=a[v++],f=u=a[v++],n=d+a[v++],r=f+a[v++],h(n,f),p(n,f,n,r),p(n,r,d,r),p(d,r,d,f),p(d,f,n,f);break;case g.Z:t&&p(c,u,d,f),c=d,u=f}}return t&&t.length>2&&l.push(t),l}function y(e,t,n,r,o,a,s,l,c,u){if(A(e,n)&&A(t,r)&&A(o,s)&&A(a,l))c.push(s,l);else{var d=2/u,f=d*d,h=s-e,p=l-t,m=Math.sqrt(h*h+p*p);h/=m,p/=m;var g=n-e,v=r-t,O=o-s,b=a-l,w=g*g+v*v,_=O*O+b*b;if(w<f&&_<f)c.push(s,l);else{var x=h*g+p*v,S=-h*O-p*b;if(w-x*x<f&&x>=0&&_-S*S<f&&S>=0)c.push(s,l);else{var k=[],C=[];(0,i.YT)(e,n,o,s,.5,k),(0,i.YT)(t,r,a,l,.5,C),y(k[0],C[0],k[1],C[1],k[2],C[2],k[3],C[3],c,u),y(k[4],C[4],k[5],C[5],k[6],C[6],k[7],C[7],c,u)}}}}function O(e,t,n){var r=e[t],o=e[1-t],i=Math.abs(r/o),a=Math.ceil(Math.sqrt(i*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],c=0;c<a;c++)l.push(s);var u=n-a*s;if(u>0)for(c=0;c<u;c++)l[c%a]+=1;return l}function b(e,t,n){for(var r=e.r0,o=e.r,i=e.startAngle,a=e.endAngle,s=Math.abs(a-i),l=s*o,c=o-r,u=l>Math.abs(c),d=O([l,c],u?0:1,t),f=(u?s:c)/d.length,h=0;h<d.length;h++)for(var p=(u?c:s)/d[h],m=0;m<d[h];m++){var g={};u?(g.startAngle=i+f*h,g.endAngle=i+f*(h+1),g.r0=r+p*m,g.r=r+p*(m+1)):(g.startAngle=i+p*m,g.endAngle=i+p*(m+1),g.r0=r+f*h,g.r=r+f*(h+1)),g.clockwise=e.clockwise,g.cx=e.cx,g.cy=e.cy,n.push(g)}}function w(e,t,n,r){return e*r-n*t}function _(e,t,n,r,o,i,a,s){var l=n-e,c=r-t,u=a-o,d=s-i,h=w(u,d,l,c);if(Math.abs(h)<1e-6)return null;var p=w(e-o,t-i,u,d)/h;return p<0||p>1?null:new f.A(p*l+e,p*c+t)}function x(e,t,n){var r=new f.A;f.A.sub(r,n,t),r.normalize();var o=new f.A;return f.A.sub(o,e,t),o.dot(r)}function S(e,t){var n=e[e.length-1];n&&n[0]===t[0]&&n[1]===t[1]||e.push(t)}function k(e){var t=e.points,n=[],r=[];(0,u.Cr)(t,n,r);var o=new d.A(n[0],n[1],r[0]-n[0],r[1]-n[1]),i=o.width,a=o.height,s=o.x,l=o.y,c=new f.A,h=new f.A;return i>a?(c.x=h.x=s+i/2,c.y=l,h.y=l+a):(c.y=h.y=l+a/2,c.x=s,h.x=s+i),function(e,t,n){for(var r=e.length,o=[],i=0;i<r;i++){var a=e[i],s=e[(i+1)%r],l=_(a[0],a[1],s[0],s[1],t.x,t.y,n.x,n.y);l&&o.push({projPt:x(l,t,n),pt:l,idx:i})}if(o.length<2)return[{points:e},{points:e}];o.sort((function(e,t){return e.projPt-t.projPt}));var c=o[0],u=o[o.length-1];if(u.idx<c.idx){var d=c;c=u,u=d}var f=[c.pt.x,c.pt.y],h=[u.pt.x,u.pt.y],p=[f],m=[h];for(i=c.idx+1;i<=u.idx;i++)S(p,e[i].slice());for(S(p,h),S(p,f),i=u.idx+1;i<=c.idx+r;i++)S(m,e[i%r].slice());return S(m,f),S(m,h),[{points:p},{points:m}]}(t,c,h)}function C(e,t,n,r){if(1===n)r.push(t);else{var o=Math.floor(n/2),i=e(t);C(e,i[0],o,r),C(e,i[1],n-o,r)}return r}function B(e,t){var n=e.length,r=t.length;if(n===r)return[e,t];for(var o=[],a=[],s=n<r?e:t,l=Math.min(n,r),c=Math.abs(r-n)/6,u=(l-2)/6,d=Math.ceil(c/u)+1,f=[s[0],s[1]],h=c,p=2;p<l;){var m=s[p-2],g=s[p-1],A=s[p++],v=s[p++],y=s[p++],O=s[p++],b=s[p++],w=s[p++];if(h<=0)f.push(A,v,y,O,b,w);else{for(var _=Math.min(h,d-1)+1,x=1;x<=_;x++){var S=x/_;(0,i.YT)(m,A,y,b,S,o),(0,i.YT)(g,v,O,w,S,a),m=o[3],g=a[3],f.push(o[1],a[1],o[2],a[2],m,g),A=o[5],v=a[5],y=o[6],O=a[6]}h-=_-1}}return s===e?[f,t]:[e,f]}function Q(e,t){for(var n=e.length,r=e[n-2],o=e[n-1],i=[],a=0;a<t.length;)i[a++]=r,i[a++]=o;return i}function T(e){for(var t=0,n=0,r=0,o=e.length,i=0,a=o-2;i<o;a=i,i+=2){var s=e[a],l=e[a+1],c=e[i],u=e[i+1],d=s*u-c*l;t+=d,n+=(s+c)*d,r+=(l+u)*d}return 0===t?[e[0]||0,e[1]||0]:[n/t/3,r/t/3,t]}function E(e,t,n,r){for(var o=(e.length-2)/6,i=1/0,a=0,s=e.length,l=s-2,c=0;c<o;c++){for(var u=6*c,d=0,f=0;f<s;f+=2){var h=0===f?u:(u+f-2)%l+2,p=e[h]-n[0],m=e[h+1]-n[1],g=t[f]-r[0]-p,A=t[f+1]-r[1]-m;d+=g*g+A*A}d<i&&(i=d,a=c)}return a}function P(e){for(var t=[],n=e.length,r=0;r<n;r+=2)t[r]=e[n-r-2],t[r+1]=e[n-r-1];return t}function $(e){return e.__isCombineMorphing}var M="__mOriginal_";function z(e,t,n){var r=M+t,o=e[r]||e[t];e[r]||(e[r]=e[t]);var i=n.replace,a=n.after,s=n.before;e[t]=function(){var e,t=arguments;return s&&s.apply(this,t),e=i?i.apply(this,t):o.apply(this,t),a&&a.apply(this,t),e}}function R(e,t){var n=M+t;e[n]&&(e[t]=e[n],e[n]=null)}function D(e,t){for(var n=0;n<e.length;n++)for(var r=e[n],o=0;o<r.length;){var i=r[o],a=r[o+1];r[o++]=t[0]*i+t[2]*a+t[4],r[o++]=t[1]*i+t[3]*a+t[5]}}function I(e,t){var n=e.getUpdatedPathProxy(),r=t.getUpdatedPathProxy(),o=function(e,t){for(var n,r,o,i=[],a=[],s=0;s<Math.max(e.length,t.length);s++){var l=e[s],c=t[s],u=void 0,d=void 0;l?c?(r=u=(n=B(l,c))[0],o=d=n[1]):(d=Q(o||l,l),u=l):(u=Q(r||c,c),d=c),i.push(u),a.push(d)}return[i,a]}(v(n),v(r)),i=o[0],a=o[1],l=e.getComputedTransform(),c=t.getComputedTransform();l&&D(i,l),c&&D(a,c),z(t,"updateTransform",{replace:function(){this.transform=null}}),t.transform=null;var u=function(e,t,n,r){for(var o,i=[],a=0;a<e.length;a++){var s=e[a],l=t[a],c=T(s),u=T(l);null==o&&(o=c[2]<0!=u[2]<0);var d=[],f=[],h=0,p=1/0,m=[],g=s.length;o&&(s=P(s));for(var A=6*E(s,l,c,u),v=g-2,y=0;y<v;y+=2){var O=(A+y)%v+2;d[y+2]=s[O]-c[0],d[y+3]=s[O+1]-c[1]}d[0]=s[A]-c[0],d[1]=s[A+1]-c[1];for(var b=r/10,w=-r/2;w<=r/2;w+=b){var _=Math.sin(w),x=Math.cos(w),S=0;for(y=0;y<s.length;y+=2){var k=d[y],C=d[y+1],B=l[y]-u[0],Q=l[y+1]-u[1],$=B*x-Q*_,M=B*_+Q*x;m[y]=$,m[y+1]=M;var z=$-k,R=M-C;S+=z*z+R*R}if(S<p){p=S,h=w;for(var D=0;D<m.length;D++)f[D]=m[D]}}i.push({from:d,to:f,fromCp:c,toCp:u,rotation:-h})}return i}(i,a,0,Math.PI),d=[];z(t,"buildPath",{replace:function(e){for(var n=t.__morphT,r=1-n,o=[],i=0;i<u.length;i++){var a=u[i],l=a.from,c=a.to,f=a.rotation*n,h=a.fromCp,p=a.toCp,m=Math.sin(f),g=Math.cos(f);(0,s.lerp)(o,h,p,n);for(var A=0;A<l.length;A+=2){var v=l[A],y=l[A+1],O=v*r+(x=c[A])*n,b=y*r+(S=c[A+1])*n;d[A]=O*g-b*m+o[0],d[A+1]=O*m+b*g+o[1]}var w=d[0],_=d[1];for(e.moveTo(w,_),A=2;A<l.length;){var x=d[A++],S=d[A++],k=d[A++],C=d[A++],B=d[A++],Q=d[A++];w===x&&_===S&&k===B&&C===Q?e.lineTo(B,Q):e.bezierCurveTo(x,S,k,C,B,Q),w=B,_=Q}}}})}function N(e,t,n){if(!e||!t)return t;var r=n.done,i=n.during;return I(e,t),t.__morphT=0,t.animateTo({__morphT:1},(0,o.defaults)({during:function(e){t.dirtyShape(),i&&i(e)},done:function(){R(t,"buildPath"),R(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape(),r&&r()}},n)),t}function L(e,t,n,r,o,i){e=o===n?0:Math.round(32767*(e-n)/(o-n)),t=i===r?0:Math.round(32767*(t-r)/(i-r));for(var a,s=0,l=32768;l>0;l/=2){var c=0,u=0;(e&l)>0&&(c=1),(t&l)>0&&(u=1),s+=l*l*(3*c^u),0===u&&(1===c&&(e=l-1-e,t=l-1-t),a=e,e=t,t=a)}return s}function V(e){var t=1/0,n=1/0,r=-1/0,i=-1/0,a=(0,o.map)(e,(function(e){var o=e.getBoundingRect(),a=e.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return t=Math.min(s,t),n=Math.min(l,n),r=Math.max(s,r),i=Math.max(l,i),[s,l]}));return(0,o.map)(a,(function(o,a){return{cp:o,z:L(o[0],o[1],t,n,r,i),path:e[a]}})).sort((function(e,t){return e.z-t.z})).map((function(e){return e.path}))}function U(e){return function(e,t){var n,r=[],i=e.shape;switch(e.type){case"rect":!function(e,t,n){for(var r=e.width,o=e.height,i=r>o,a=O([r,o],i?0:1,t),s=i?"width":"height",l=i?"height":"width",c=i?"x":"y",u=i?"y":"x",d=e[s]/a.length,f=0;f<a.length;f++)for(var h=e[l]/a[f],p=0;p<a[f];p++){var m={};m[c]=f*d,m[u]=p*h,m[s]=d,m[l]=h,m.x+=e.x,m.y+=e.y,n.push(m)}}(i,t,r),n=p.A;break;case"sector":b(i,t,r),n=m.A;break;case"circle":b({r0:0,r:i.r,startAngle:0,endAngle:2*Math.PI,cx:i.cx,cy:i.cy},t,r),n=m.A;break;default:var a=e.getComputedTransform(),s=a?Math.sqrt(Math.max(a[0]*a[0]+a[1]*a[1],a[2]*a[2]+a[3]*a[3])):1,c=(0,o.map)(function(e,t){var n=v(e),r=[];t=t||1;for(var o=0;o<n.length;o++){var i=n[o],a=[],s=i[0],l=i[1];a.push(s,l);for(var c=2;c<i.length;){var u=i[c++],d=i[c++],f=i[c++],h=i[c++],p=i[c++],m=i[c++];y(s,l,u,d,f,h,p,m,a,t),s=p,l=m}r.push(a)}return r}(e.getUpdatedPathProxy(),s),(function(e){return function(e){for(var t=[],n=0;n<e.length;)t.push([e[n++],e[n++]]);return t}(e)})),d=c.length;if(0===d)C(k,{points:c[0]},t,r);else if(d===t)for(var f=0;f<d;f++)r.push({points:c[f]});else{var g=0,A=(0,o.map)(c,(function(e){var t=[],n=[];(0,u.Cr)(e,t,n);var r=(n[1]-t[1])*(n[0]-t[0]);return g+=r,{poly:e,area:r}}));A.sort((function(e,t){return t.area-e.area}));var w=t;for(f=0;f<d;f++){var _=A[f];if(w<=0)break;var x=f===d-1?w:Math.ceil(_.area/g*t);x<0||(C(k,{points:_.poly},x,r),w-=x)}}n=h.A}if(!n)return function(e,t){for(var n=[],r=0;r<t;r++)n.push((0,l.rR)(e));return n}(e,t);var S,B,Q=[];for(f=0;f<r.length;f++){var T=new n;T.setShape(r[f]),S=e,(B=T).setStyle(S.style),B.z=S.z,B.z2=S.z2,B.zlevel=S.zlevel,Q.push(T)}return Q}(e.path,e.count)}var F=n(5638);function H(e){return(0,o.isArray)(e[0])}function W(e,t){for(var n=[],r=e.length,o=0;o<r;o++)n.push({one:e[o],many:[]});for(o=0;o<t.length;o++){var i=t[o].length,a=void 0;for(a=0;a<i;a++)n[a%r].many.push(t[o][a])}var s=0;for(o=r-1;o>=0;o--)if(!n[o].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}i=l.length;var c=Math.ceil(i/2);n[o].many=l.slice(c,i),n[s].many=l.slice(0,c),s++}return n}var X={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),r=0;r<e.count;r++){var o=(0,l.rR)(e.path);o.setStyle("opacity",n),t.push(o)}return t},split:null};function j(e,t,n,r,i,s){if(e.length&&t.length){var u=(0,F.Jw)("update",r,i);if(u&&u.duration>0){var d,f,h=r.getModel("universalTransition").get("delay"),p=Object.assign({setToFinal:!0},u);H(e)&&(d=e,f=t),H(t)&&(d=t,f=e);for(var m=d?d===e:e.length>t.length,g=d?W(f,d):W(m?t:e,[m?e:t]),A=0,v=0;v<g.length;v++)A+=g[v].many.length;var y=0;for(v=0;v<g.length;v++)O(g[v],m,y,A),y+=g[v].many.length}}function O(e,t,r,i,u){var d=e.many,f=e.one;if(1!==d.length||u)for(var m=(0,o.defaults)({dividePath:X[n],individualDelay:h&&function(e,t,n,o){return h(e+r,i)}},p),g=t?function(e,t,n){var r=[];!function e(t){for(var n=0;n<t.length;n++){var o=t[n];$(o)?e(o.childrenRef()):o instanceof a.Ay&&r.push(o)}}(e);var i=r.length;if(!i)return{fromIndividuals:[],toIndividuals:[],count:0};var s=(n.dividePath||U)({path:t,count:i});if(s.length!==i)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0};r=V(r),s=V(s);for(var l=n.done,u=n.during,d=n.individualDelay,f=new c.Ay,h=0;h<i;h++){var p=r[h],m=s[h];m.parent=t,m.copyTransform(f),d||I(p,m)}function g(e){for(var t=0;t<s.length;t++)s[t].addSelfToZr(e)}function A(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,R(t,"addSelfToZr"),R(t,"removeSelfFromZr")}t.__isCombineMorphing=!0,t.childrenRef=function(){return s},z(t,"addSelfToZr",{after:function(e){g(e)}}),z(t,"removeSelfFromZr",{after:function(e){for(var t=0;t<s.length;t++)s[t].removeSelfFromZr(e)}});var v=s.length;if(d){var y=v,O=function(){0==--y&&(A(),l&&l())};for(h=0;h<v;h++){var b=d?(0,o.defaults)({delay:(n.delay||0)+d(h,v,r[h],s[h]),done:O},n):n;N(r[h],s[h],b)}}else t.__morphT=0,t.animateTo({__morphT:1},(0,o.defaults)({during:function(e){for(var n=0;n<v;n++){var r=s[n];r.__morphT=t.__morphT,r.dirtyShape()}u&&u(e)},done:function(){A();for(var t=0;t<e.length;t++)R(e[t],"updateTransform");l&&l()}},n));return t.__zr&&g(t.__zr),{fromIndividuals:r,toIndividuals:s,count:v}}(d,f,m):function(e,t,n){var r=t.length,i=[],s=n.dividePath||U;if($(e)){!function e(t){for(var n=0;n<t.length;n++){var r=t[n];$(r)?e(r.childrenRef()):r instanceof a.Ay&&i.push(r)}}(e.childrenRef());var c=i.length;if(c<r)for(var u=0,d=c;d<r;d++)i.push((0,l.rR)(i[u++%c]));i.length=r}else{i=s({path:e,count:r});var f=e.getComputedTransform();for(d=0;d<i.length;d++)i[d].setLocalTransform(f);if(i.length!==r)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0}}i=V(i),t=V(t);var h=n.individualDelay;for(d=0;d<r;d++){var p=h?(0,o.defaults)({delay:(n.delay||0)+h(d,r,i[d],t[d])},n):n;N(i[d],t[d],p)}return{fromIndividuals:i,toIndividuals:t,count:t.length}}(f,d,m),A=g.fromIndividuals,v=g.toIndividuals,y=A.length,b=0;b<y;b++)w=h?(0,o.defaults)({delay:h(b,y)},p):p,s(A[b],v[b],t?d[b]:e.one,t?e.one:d[b],w);else{var w,_=t?d[0]:f,x=t?f:d[0];$(_)?O({many:[_],one:x},!0,r,i,!0):(N(_,x,w=h?(0,o.defaults)({delay:h(r,i)},p):p),s(_,x,_,x,w))}}}function q(e){if(!e)return[];if((0,o.isArray)(e)){for(var t=[],n=0;n<e.length;n++)t.push(q(e[n]));return t}var r=[];return e.traverse((function(e){e instanceof a.Ay&&!e.disableMorphing&&!e.invisible&&!e.ignore&&r.push(e)})),r}var Z=n(16563),Y=n(48170),G=(n(41025),n(71519)),K=1e4,J=0,ee=1,te=2,ne=(0,Y.$r)();function re(e,t,n,r){var o=function(e,t){for(var n=e.dimensions,r=0;r<n.length;r++){var o=e.getDimensionInfo(n[r]);if(o&&0===o.otherDims[t])return n[r]}}(e,r?"itemChildGroupId":"itemGroupId");if(o){var i=function(e,t,n){var r=e.getDimensionInfo(n),o=r&&r.ordinalMeta;if(r){var i=e.get(r.name,t);return o&&o.categories[i]||i+""}}(e,t,o);return i}var a=e.getRawDataItem(t),s=r?"childGroupId":"groupId";return a&&a[s]?a[s]+"":r?void 0:n||e.getId(t)}function oe(e){var t=[];return(0,o.each)(e,(function(e){var n=e.data,r=e.dataGroupId;if(!(n.count()>K))for(var o=n.getIndices(),i=0;i<o.length;i++)t.push({data:n,groupId:re(n,i,r,!1),childGroupId:re(n,i,r,!0),divide:e.divide,dataIndex:i})})),t}function ie(e,t,n){e.traverse((function(e){e instanceof a.Ay&&(0,F.LW)(e,{style:{opacity:0}},t,{dataIndex:n,isFrom:!0})}))}function ae(e){if(e.parent){var t=e.getComputedTransform();e.setLocalTransform(t),e.parent.remove(e)}}function se(e){e.stopAnimation(),e.isGroup&&e.traverse((function(e){e.stopAnimation()}))}function le(e,t,n){var r=oe(e),i=oe(t);function s(e,t,n,r,i){(n||e)&&t.animateFrom({style:n&&n!==e?(0,o.extend)((0,o.extend)({},n.style),e.style):e.style},i)}var l=!1,c=J,u=(0,o.createHashMap)(),d=(0,o.createHashMap)();r.forEach((function(e){e.groupId&&u.set(e.groupId,!0),e.childGroupId&&d.set(e.childGroupId,!0)}));for(var f=0;f<i.length;f++){var h=i[f].groupId;if(d.get(h)){c=ee;break}var p=i[f].childGroupId;if(p&&u.get(p)){c=te;break}}function m(e,t){return function(n){var r=n.data,o=n.dataIndex;return t?r.getId(o):e?c===ee?n.childGroupId:n.groupId:c===te?n.childGroupId:n.groupId}}var g=function(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++){var o=e[r],i=t[r];if(o.data.getId(o.dataIndex)!==i.data.getId(i.dataIndex))return!1}return!0}(r,i),A={};if(!g)for(f=0;f<i.length;f++){var v=i[f],y=v.data.getItemGraphicEl(v.dataIndex);y&&(A[y.id]=!0)}function O(e,t){var n=r[t],o=i[e],a=o.data.hostModel,c=n.data.getItemGraphicEl(n.dataIndex),u=o.data.getItemGraphicEl(o.dataIndex);c!==u?c&&A[c.id]||u&&(se(u),c?(se(c),ae(c),l=!0,j(q(c),q(u),o.divide,a,e,s)):ie(u,a,e)):u&&function(e,t,n){var r=(0,F.Jw)("update",n,t);r&&e.traverse((function(e){if(e instanceof G.Ay){var t=(0,F.Xr)(e);t&&e.animateFrom({style:t},r)}}))}(u,o.dataIndex,a)}new Z.A(r,i,m(!0,g),m(!1,g),null,"multiple").update(O).updateManyToOne((function(e,t){var n=i[e],a=n.data,c=a.hostModel,u=a.getItemGraphicEl(n.dataIndex),d=(0,o.filter)((0,o.map)(t,(function(e){return r[e].data.getItemGraphicEl(r[e].dataIndex)})),(function(e){return e&&e!==u&&!A[e.id]}));u&&(se(u),d.length?((0,o.each)(d,(function(e){se(e),ae(e)})),l=!0,j(q(d),q(u),n.divide,c,e,s)):ie(u,c,n.dataIndex))})).updateOneToMany((function(e,t){var n=r[t],a=n.data.getItemGraphicEl(n.dataIndex);if(!a||!A[a.id]){var c=(0,o.filter)((0,o.map)(e,(function(e){return i[e].data.getItemGraphicEl(i[e].dataIndex)})),(function(e){return e&&e!==a})),u=i[e[0]].data.hostModel;c.length&&((0,o.each)(c,(function(e){return se(e)})),a?(se(a),ae(a),l=!0,j(q(a),q(c),n.divide,u,e[0],s)):(0,o.each)(c,(function(t){return ie(t,u,e[0])})))}})).updateManyToMany((function(e,t){new Z.A(t,e,(function(e){return r[e].data.getId(r[e].dataIndex)}),(function(e){return i[e].data.getId(i[e].dataIndex)})).update((function(n,r){O(e[n],t[r])})).execute()})).execute(),l&&(0,o.each)(t,(function(e){var t=e.data.hostModel,r=t&&n.getViewOfSeriesModel(t),o=(0,F.Jw)("update",t,0);r&&t.isAnimationEnabled()&&o&&o.duration>0&&r.group.traverse((function(e){e instanceof a.Ay&&!e.animators.length&&e.animateFrom({style:{opacity:0}},o)}))}))}function ce(e){return e.getModel("universalTransition").get("seriesKey")||e.id}function ue(e){return(0,o.isArray)(e)?e.sort().join(","):e}function de(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function fe(e,t){for(var n=0;n<e.length;n++)if(null!=t.seriesIndex&&t.seriesIndex===e[n].seriesIndex||null!=t.seriesId&&t.seriesId===e[n].id)return n}function he(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){(0,o.each)((0,Y.qB)(n.seriesTransition),(function(e){(0,o.each)((0,Y.qB)(e.to),(function(e){for(var t=n.updatedSeries,o=0;o<t.length;o++)(null!=e.seriesIndex&&e.seriesIndex===t[o].seriesIndex||null!=e.seriesId&&e.seriesId===t[o].id)&&(t[o][r.U]=!0)}))}))})),e.registerUpdateLifecycle("series:transition",(function(e,t,n){var i=ne(t);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var a=n.seriesTransition;if(a)(0,o.each)((0,Y.qB)(a),(function(e){!function(e,t,n,r){var i=[],a=[];(0,o.each)((0,Y.qB)(e.from),(function(e){var n=fe(t.oldSeries,e);n>=0&&i.push({dataGroupId:t.oldDataGroupIds[n],data:t.oldData[n],divide:de(t.oldData[n]),groupIdDim:e.dimension})})),(0,o.each)((0,Y.qB)(e.to),(function(e){var r=fe(n.updatedSeries,e);if(r>=0){var o=n.updatedSeries[r].getData();a.push({dataGroupId:t.oldDataGroupIds[r],data:o,divide:de(o),groupIdDim:e.dimension})}})),i.length>0&&a.length>0&&le(i,a,r)}(e,i,n,t)}));else{var s=function(e,t){var n=(0,o.createHashMap)(),r=(0,o.createHashMap)(),i=(0,o.createHashMap)();return(0,o.each)(e.oldSeries,(function(t,n){var a=e.oldDataGroupIds[n],s=e.oldData[n],l=ce(t),c=ue(l);r.set(c,{dataGroupId:a,data:s}),(0,o.isArray)(l)&&(0,o.each)(l,(function(e){i.set(e,{key:c,dataGroupId:a,data:s})}))})),(0,o.each)(t.updatedSeries,(function(e){if(e.isUniversalTransitionEnabled()&&e.isAnimationEnabled()){var t=e.get("dataGroupId"),a=e.getData(),s=ce(e),l=ue(s),c=r.get(l);if(c)n.set(l,{oldSeries:[{dataGroupId:c.dataGroupId,divide:de(c.data),data:c.data}],newSeries:[{dataGroupId:t,divide:de(a),data:a}]});else if((0,o.isArray)(s)){var u=[];(0,o.each)(s,(function(e){var t=r.get(e);t.data&&u.push({dataGroupId:t.dataGroupId,divide:de(t.data),data:t.data})})),u.length&&n.set(l,{oldSeries:u,newSeries:[{dataGroupId:t,data:a,divide:de(a)}]})}else{var d=i.get(s);if(d){var f=n.get(d.key);f||(f={oldSeries:[{dataGroupId:d.dataGroupId,data:d.data,divide:de(d.data)}],newSeries:[]},n.set(d.key,f)),f.newSeries.push({dataGroupId:t,data:a,divide:de(a)})}}}})),n}(i,n);(0,o.each)(s.keys(),(function(e){var n=s.get(e);le(n.oldSeries,n.newSeries,t)}))}(0,o.each)(n.updatedSeries,(function(e){e[r.U]&&(e[r.U]=!1)}))}for(var l=e.getSeries(),c=i.oldSeries=[],u=i.oldDataGroupIds=[],d=i.oldData=[],f=0;f<l.length;f++){var h=l[f].getData();h.count()<K&&(c.push(l[f]),u.push(l[f].get("dataGroupId")),d.push(h))}}))}},32603:function(e,t,n){"use strict";var r=n(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},32707:function(e,t,n){e.exports=function(e,t){"use strict";var r=Object.defineProperty,o=Object.defineProperties,i=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&c(e,n,t[n]);if(a)for(var n of a(t))l.call(t,n)&&c(e,n,t[n]);return e},d=(e,t)=>o(e,i(t)),f=(e,t,n)=>new Promise(((r,o)=>{var i=e=>{try{s(n.next(e))}catch(e){o(e)}},a=e=>{try{s(n.throw(e))}catch(e){o(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,a);s((n=n.apply(e,t)).next())}));void 0===window.setImmediate&&(window.setImmediate=function(e,...t){setTimeout((()=>e(t)))});var h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function p(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var m,g={exports:{}};m=function(){return function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){if(!s&&p)return p(a,!0);if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){return o(t[a][1][e]||e)}),c,c.exports,e,t,n,r)}return n[a].exports}for(var i=p,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){var r=e("./utils"),o=e("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,o,a,s,l,c,u=[],d=0,f=e.length,h=f,p="string"!==r.getTypeOf(e);d<e.length;)h=f-d,o=p?(t=e[d++],n=d<f?e[d++]:0,d<f?e[d++]:0):(t=e.charCodeAt(d++),n=d<f?e.charCodeAt(d++):0,d<f?e.charCodeAt(d++):0),a=t>>2,s=(3&t)<<4|n>>4,l=1<h?(15&n)<<2|o>>6:64,c=2<h?63&o:64,u.push(i.charAt(a)+i.charAt(s)+i.charAt(l)+i.charAt(c));return u.join("")},n.decode=function(e){var t,n,r,a,s,l,c=0,u=0,d="data:";if(e.substr(0,5)===d)throw new Error("Invalid base64 input, it looks like a data url.");var f,h=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===i.charAt(64)&&h--,e.charAt(e.length-2)===i.charAt(64)&&h--,h%1!=0)throw new Error("Invalid base64 input, bad content length.");for(f=o.uint8array?new Uint8Array(0|h):new Array(0|h);c<e.length;)t=i.indexOf(e.charAt(c++))<<2|(a=i.indexOf(e.charAt(c++)))>>4,n=(15&a)<<4|(s=i.indexOf(e.charAt(c++)))>>2,r=(3&s)<<6|(l=i.indexOf(e.charAt(c++))),f[u++]=t,64!==s&&(f[u++]=n),64!==l&&(f[u++]=r);return f}},{"./support":30,"./utils":32}],2:[function(e,t,n){var r=e("./external"),o=e("./stream/DataWorker"),i=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function s(e,t,n,r,o){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=o}s.prototype={getContentWorker:function(){var e=new o(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new o(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new i).pipe(new a("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var r=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var r=e("./utils"),o=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==r.getTypeOf(e)?function(e,t,n){var r=o,i=0+n;e^=-1;for(var a=0;a<i;a++)e=e>>>8^r[255&(e^t[a])];return~e}(0|t,e,e.length):function(e,t,n){var r=o,i=0+n;e^=-1;for(var a=0;a<i;a++)e=e>>>8^r[255&(e^t.charCodeAt(a))];return~e}(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var r;r="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,o=e("pako"),i=e("./utils"),a=e("./stream/GenericWorker"),s=r?"uint8array":"array";function l(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",i.inherits(l,a),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(i.transformTo(s,e.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new l("Deflate",e)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function r(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function o(e,t,n,o,a,u){var d,f,h=e.file,p=e.compression,m=u!==s.utf8encode,g=i.transformTo("string",u(h.name)),A=i.transformTo("string",s.utf8encode(h.name)),v=h.comment,y=i.transformTo("string",u(v)),O=i.transformTo("string",s.utf8encode(v)),b=A.length!==h.name.length,w=O.length!==v.length,_="",x="",S="",k=h.dir,C=h.date,B={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(B.crc32=e.crc32,B.compressedSize=e.compressedSize,B.uncompressedSize=e.uncompressedSize);var Q=0;t&&(Q|=8),m||!b&&!w||(Q|=2048);var T,E,P=0,$=0;k&&(P|=16),"UNIX"===a?($=798,P|=(E=T=h.unixPermissions,T||(E=k?16893:33204),(65535&E)<<16)):($=20,P|=function(e){return 63&(e||0)}(h.dosPermissions)),d=C.getUTCHours(),d<<=6,d|=C.getUTCMinutes(),d<<=5,d|=C.getUTCSeconds()/2,f=C.getUTCFullYear()-1980,f<<=4,f|=C.getUTCMonth()+1,f<<=5,f|=C.getUTCDate(),b&&(x=r(1,1)+r(l(g),4)+A,_+="up"+r(x.length,2)+x),w&&(S=r(1,1)+r(l(y),4)+O,_+="uc"+r(S.length,2)+S);var M="";return M+="\n\0",M+=r(Q,2),M+=p.magic,M+=r(d,2),M+=r(f,2),M+=r(B.crc32,4),M+=r(B.compressedSize,4),M+=r(B.uncompressedSize,4),M+=r(g.length,2),M+=r(_.length,2),{fileRecord:c.LOCAL_FILE_HEADER+M+g+_,dirRecord:c.CENTRAL_FILE_HEADER+r($,2)+M+r(y.length,2)+"\0\0\0\0"+r(P,4)+r(o,4)+g+_+y}}var i=e("../utils"),a=e("../stream/GenericWorker"),s=e("../utf8"),l=e("../crc32"),c=e("../signature");function u(e,t,n,r){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}i.inherits(u,a),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=o(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t,n=this.streamFiles&&!e.file.dir,i=o(e,n,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(i.dirRecord),n)this.push({data:(t=e,c.DATA_DESCRIPTOR+r(t.crc32,4)+r(t.compressedSize,4)+r(t.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:i.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n,o,a,s,l,u,d=this.bytesWritten-e,f=(n=this.dirRecords.length,o=d,a=e,s=this.zipComment,l=this.encodeFileName,u=i.transformTo("string",l(s)),c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(n,2)+r(n,2)+r(o,4)+r(a,4)+r(u.length,2)+u);this.push({data:f,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},u.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t=this._sources;if(!a.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},u.prototype.lock=function(){a.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){var r=e("../compressions"),o=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var i=new o(t.streamFiles,n,t.platform,t.encodeFileName),a=0;try{e.forEach((function(e,n){a++;var o=function(e,t){var n=e||t,o=r[n];if(!o)throw new Error(n+" is not a valid compression method !");return o}(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},l=n.dir,c=n.date;n._compressWorker(o,s).withStreamInfo("file",{name:e,dir:l,date:c,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(i)})),i.entriesCount=a}catch(e){i.error(e)}return i}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new r;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(r.prototype=e("./object")).loadAsync=e("./load"),r.support=e("./support"),r.defaults=e("./defaults"),r.version="3.10.1",r.loadAsync=function(e,t){return(new r).loadAsync(e,t)},r.external=e("./external"),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){var r=e("./utils"),o=e("./external"),i=e("./utf8"),a=e("./zipEntries"),s=e("./stream/Crc32Probe"),l=e("./nodejsUtils");function c(e){return new o.Promise((function(t,n){var r=e.decompressed.getContentWorker().pipe(new s);r.on("error",(function(e){n(e)})).on("end",(function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),l.isNode&&l.isStream(e)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var n=new a(t);return n.load(e),n})).then((function(e){var n=[o.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var i=0;i<r.length;i++)n.push(c(r[i]));return o.Promise.all(n)})).then((function(e){for(var o=e.shift(),i=o.files,a=0;a<i.length;a++){var s=i[a],l=s.fileNameStr,c=r.resolve(s.fileNameStr);n.file(c,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(n.file(c).unsafeOriginalName=l)}return o.zipComment.length&&(n.comment=o.zipComment),n}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){var r=e("../utils"),o=e("../stream/GenericWorker");function i(e,t){o.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(i,o),i.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},i.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},i.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){var r=e("readable-stream").Readable;function o(e,t,n){r.call(this,t),this._helper=e;var o=this;e.on("data",(function(e,t){o.push(e)||o._helper.pause(),n&&n(t)})).on("error",(function(e){o.emit("error",e)})).on("end",(function(){o.push(null)}))}e("../utils").inherits(o,r),o.prototype._read=function(){this._helper.resume()},t.exports=o},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){t.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,n){function r(e,t,n){var r,o=i.getTypeOf(t),s=i.extend(n||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=m(e)),s.createFolders&&(r=p(e))&&g.call(this,r,!0);var d="string"===o&&!1===s.binary&&!1===s.base64;n&&void 0!==n.binary||(s.binary=!d),(t instanceof c&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t="",s.compression="STORE",o="string");var A;A=t instanceof c||t instanceof a?t:f.isNode&&f.isStream(t)?new h(e,t):i.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var v=new u(e,A,s);this.files[e]=v}var o=e("./utf8"),i=e("./utils"),a=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),l=e("./defaults"),c=e("./compressedObject"),u=e("./zipObject"),d=e("./generate"),f=e("./nodejsUtils"),h=e("./nodejs/NodejsStreamInputAdapter"),p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:l.createFolders,e=m(e),this.files[e]||r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function A(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var v={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach((function(n,r){e(n,r)&&t.push(r)})),t},file:function(e,t,n){if(1!==arguments.length)return e=this.root+e,r.call(this,e,t,n),this;if(A(e)){var o=e;return this.filter((function(e,t){return!t.dir&&o.test(e)}))}var i=this.files[this.root+e];return i&&!i.dir?i:null},folder:function(e){if(!e)return this;if(A(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=this.root+e,n=g.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=i.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");i.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var r=n.comment||this.comment||"";t=d.generateWorker(this,n,r)}catch(e){(t=new a("error")).error(e)}return new s(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=v},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,n){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,n){var r=e("./DataReader");function o(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(o,r),o.prototype.byteAt=function(e){return this.data[this.zero+e]},o.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),o=e.charCodeAt(3),i=this.length-4;0<=i;--i)if(this.data[i]===t&&this.data[i+1]===n&&this.data[i+2]===r&&this.data[i+3]===o)return i-this.zero;return-1},o.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),o=e.charCodeAt(3),i=this.readData(4);return t===i[0]&&n===i[1]&&r===i[2]&&o===i[3]},o.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=o},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){var r=e("../utils");function o(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=o},{"../utils":32}],19:[function(e,t,n){var r=e("./Uint8ArrayReader");function o(e){r.call(this,e)}e("../utils").inherits(o,r),o.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){var r=e("./DataReader");function o(e){r.call(this,e)}e("../utils").inherits(o,r),o.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},o.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},o.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},o.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=o},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){var r=e("./ArrayReader");function o(e){r.call(this,e)}e("../utils").inherits(o,r),o.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){var r=e("../utils"),o=e("../support"),i=e("./ArrayReader"),a=e("./StringReader"),s=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||o.uint8array?"nodebuffer"===t?new s(e):o.uint8array?new l(r.transformTo("uint8array",e)):new i(r.transformTo("array",e)):new a(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,n){var r=e("./GenericWorker"),o=e("../utils");function i(e){r.call(this,"ConvertWorker to "+e),this.destType=e}o.inherits(i,r),i.prototype.processChunk=function(e){this.push({data:o.transformTo(this.destType,e.data),meta:e.meta})},t.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){var r=e("./GenericWorker"),o=e("../crc32");function i(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(i,r),i.prototype.processChunk=function(e){this.streamInfo.crc32=o(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){var r=e("../utils"),o=e("./GenericWorker");function i(e){o.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(i,o),i.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}o.prototype.processChunk.call(this,e)},t.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){var r=e("../utils"),o=e("./GenericWorker");function i(e){o.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}r.inherits(i,o),i.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},i.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){function r(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=r},{}],29:[function(e,t,n){var r=e("../utils"),o=e("./ConvertWorker"),i=e("./GenericWorker"),a=e("../base64"),s=e("../support"),l=e("../external"),c=null;if(s.nodestream)try{c=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function u(e,t,n){var a=t;switch(t){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=t,this._mimeType=n,r.checkSupport(a),this._worker=e.pipe(new o(a)),e.lock()}catch(e){this._worker=new i("error"),this._worker.error(e)}}u.prototype={accumulate:function(e){return function(e,t){return new l.Promise((function(n,o){var i=[],s=e._internalType,l=e._outputType,c=e._mimeType;e.on("data",(function(e,n){i.push(e),t&&t(n)})).on("error",(function(e){i=[],o(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return r.newBlob(r.transformTo("arraybuffer",t),n);case"base64":return a.encode(t);default:return r.transformTo(e,t)}}(l,function(e,t){var n,r=0,o=null,i=0;for(n=0;n<t.length;n++)i+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(o=new Uint8Array(i),n=0;n<t.length;n++)o.set(t[n],r),r+=t[n].length;return o;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(s,i),c);n(e)}catch(e){o(e)}i=[]})).resume()}))}(this,e)},on:function(e,t){var n=this;return"data"===e?this._worker.on(e,(function(e){t.call(n,e.data,e.meta)})):this._worker.on(e,(function(){r.delay(t,arguments,n)})),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(r.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer="undefined"!=typeof Buffer,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=0===new Blob([r],{type:"application/zip"}).size}catch(e){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(r),n.blob=0===o.getBlob("application/zip").size}catch(e){n.blob=!1}}}try{n.nodestream=!!e("readable-stream").Readable}catch(e){n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){for(var r=e("./utils"),o=e("./support"),i=e("./nodejsUtils"),a=e("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function c(){a.call(this,"utf-8 decode"),this.leftOver=null}function u(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,n.utf8encode=function(e){return o.nodebuffer?i.newBufferFrom(e,"utf-8"):function(e){var t,n,r,i,a,s=e.length,l=0;for(i=0;i<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=o.uint8array?new Uint8Array(l):new Array(l),i=a=0;a<l;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[a++]=n:(n<2048?t[a++]=192|n>>>6:(n<65536?t[a++]=224|n>>>12:(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63),t[a++]=128|n>>>6&63),t[a++]=128|63&n);return t}(e)},n.utf8decode=function(e){return o.nodebuffer?r.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,o,i,a=e.length,l=new Array(2*a);for(t=n=0;t<a;)if((o=e[t++])<128)l[n++]=o;else if(4<(i=s[o]))l[n++]=65533,t+=i-1;else{for(o&=2===i?31:3===i?15:7;1<i&&t<a;)o=o<<6|63&e[t++],i--;1<i?l[n++]=65533:o<65536?l[n++]=o:(o-=65536,l[n++]=55296|o>>10&1023,l[n++]=56320|1023&o)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)}(e=r.transformTo(o.uint8array?"uint8array":"array",e))},r.inherits(c,a),c.prototype.processChunk=function(e){var t=r.transformTo(o.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var i=t;(t=new Uint8Array(i.length+this.leftOver.length)).set(this.leftOver,0),t.set(i,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var a=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}(t),l=t;a!==t.length&&(o.uint8array?(l=t.subarray(0,a),this.leftOver=t.subarray(a,t.length)):(l=t.slice(0,a),this.leftOver=t.slice(a,t.length))),this.push({data:n.utf8decode(l),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,r.inherits(u,a),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){var r=e("./support"),o=e("./base64"),i=e("./nodejsUtils"),a=e("./external");function s(e){return e}function l(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e("setimmediate"),n.newBlob=function(e,t){n.checkSupport("blob");try{return new Blob([e],{type:t})}catch(n){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(e),r.getBlob(t)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(e,t,n){var r=[],o=0,i=e.length;if(i<=n)return String.fromCharCode.apply(null,e);for(;o<i;)"array"===t||"nodebuffer"===t?r.push(String.fromCharCode.apply(null,e.slice(o,Math.min(o+n,i)))):r.push(String.fromCharCode.apply(null,e.subarray(o,Math.min(o+n,i)))),o+=n;return r.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,i.allocBuffer(1)).length}catch(e){return!1}}()}};function u(e){var t=65536,r=n.getTypeOf(e),o=!0;if("uint8array"===r?o=c.applyCanBeUsed.uint8array:"nodebuffer"===r&&(o=c.applyCanBeUsed.nodebuffer),o)for(;1<t;)try{return c.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return c.stringifyByChar(e)}function d(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=u;var f={};f.string={string:s,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return f.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,i.allocBuffer(e.length))}},f.array={string:u,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return i.newBufferFrom(e)}},f.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return i.newBufferFrom(new Uint8Array(e))}},f.uint8array={string:u,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return i.newBufferFrom(e)}},f.nodebuffer={string:u,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return f.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:s},n.transformTo=function(e,t){if(t=t||"",!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return f[r][e](t)},n.resolve=function(e){for(var t=e.split("/"),n=[],r=0;r<t.length;r++){var o=t[r];"."===o||""===o&&0!==r&&r!==t.length-1||(".."===o?n.pop():n.push(o))}return n.join("/")},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&i.isBuffer(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){setImmediate((function(){e.apply(n||null,t||[])}))},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,i,s,c){return a.Promise.resolve(t).then((function(e){return r.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new a.Promise((function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)})):e})).then((function(t){var u,d=n.getTypeOf(t);return d?("arraybuffer"===d?t=n.transformTo("uint8array",t):"string"===d&&(c?t=o.decode(t):i&&!0!==s&&(t=l(u=t,r.uint8array?new Uint8Array(u.length):new Array(u.length)))),t):a.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,n){var r=e("./reader/readerFor"),o=e("./utils"),i=e("./signature"),a=e("./zipEntry"),s=e("./support");function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(t)+", expected "+o.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",n=o.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(e=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,i.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(0<r)this.isSignature(t,i.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){var r=e("./reader/readerFor"),o=e("./utils"),i=e("./compressedObject"),a=e("./crc32"),s=e("./utf8"),l=e("./compressions"),c=e("./support");function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in l)if(Object.prototype.hasOwnProperty.call(l,t)&&l[t].magic===e)return l[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,o=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<o;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(o)},handleUTF8:function(){var e=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=o.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var i=o.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return 1!==t.readInt(1)||a(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return 1!==t.readInt(1)||a(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){function r(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var o=e("./stream/StreamHelper"),i=e("./stream/DataWorker"),a=e("./utf8"),s=e("./compressedObject"),l=e("./stream/GenericWorker");r.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!r&&(t=t.pipe(new a.Utf8EncodeWorker)),!i&&r&&(t=t.pipe(new a.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new o(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new i(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<c.length;d++)r.prototype[c[d]]=u;t.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,n){(function(e){var n,r,o=e.MutationObserver||e.WebKitMutationObserver;if(o){var i=0,a=new o(u),s=e.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=i=++i%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var l=new e.MessageChannel;l.port1.onmessage=u,n=function(){l.port2.postMessage(0)}}var c=[];function u(){var e,t;r=!0;for(var n=c.length;n;){for(t=c,c=[],e=-1;++e<n;)t[e]();n=c.length}r=!1}t.exports=function(e){1!==c.push(e)||r||n()}}).call(this,void 0!==h?h:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,n){var r=e("immediate");function o(){}var i={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==o&&h(this,e)}function u(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r((function(){var r;try{r=t(n)}catch(t){return i.reject(e,t)}r===e?i.reject(e,new TypeError("Cannot resolve promise with itself")):i.resolve(e,r)}))}function f(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function h(e,t){var n=!1;function r(t){n||(n=!0,i.reject(e,t))}function o(t){n||(n=!0,i.resolve(e,t))}var a=p((function(){t(o,r)}));"error"===a.status&&r(a.value)}function p(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}(t.exports=c).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===a)return this;var n=new this.constructor(o);return this.state!==l?d(n,this.state===s?e:t,this.outcome):this.queue.push(new u(n,e,t)),n},u.prototype.callFulfilled=function(e){i.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){i.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},i.resolve=function(e,t){var n=p(f,t);if("error"===n.status)return i.reject(e,n.value);var r=n.value;if(r)h(e,r);else{e.state=s,e.outcome=t;for(var o=-1,a=e.queue.length;++o<a;)e.queue[o].callFulfilled(t)}return e},i.reject=function(e,t){e.state=a,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:i.resolve(new this(o),e)},c.reject=function(e){var t=new this(o);return i.reject(t,e)},c.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var a=new Array(n),s=0,l=-1,c=new this(o);++l<n;)u(e[l],l);return c;function u(e,o){t.resolve(e).then((function(e){a[o]=e,++s!==n||r||(r=!0,i.resolve(c,a))}),(function(e){r||(r=!0,i.reject(c,e))}))}},c.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var t,n=e.length,r=!1;if(!n)return this.resolve([]);for(var a=-1,s=new this(o);++a<n;)t=e[a],this.resolve(t).then((function(e){r||(r=!0,i.resolve(s,e))}),(function(e){r||(r=!0,i.reject(s,e))}));return s}},{immediate:36}],38:[function(e,t,n){var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){var r=e("./zlib/deflate"),o=e("./utils/common"),i=e("./utils/strings"),a=e("./zlib/messages"),s=e("./zlib/zstream"),l=Object.prototype.toString;function c(e){if(!(this instanceof c))return new c(e);this.options=o.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw new Error(a[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var u;if(u="string"==typeof t.dictionary?i.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=r.deflateSetDictionary(this.strm,u)))throw new Error(a[n]);this._dict_set=!0}}function u(e,t){var n=new c(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}c.prototype.push=function(e,t){var n,a,s=this.strm,c=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=i.string2buf(e):"[object ArrayBuffer]"===l.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new o.Buf8(c),s.next_out=0,s.avail_out=c),1!==(n=r.deflate(s,a))&&0!==n)return this.onEnd(n),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(i.buf2binstring(o.shrinkBuf(s.output,s.next_out))):this.onData(o.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==n);return 4===a?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==a||(this.onEnd(0),!(s.avail_out=0))},c.prototype.onData=function(e){this.chunks.push(e)},c.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=c,n.deflate=u,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,u(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,u(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){var r=e("./zlib/inflate"),o=e("./utils/common"),i=e("./utils/strings"),a=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),u=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);this.header=new c,r.inflateGetHeader(this.strm,this.header)}function f(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}d.prototype.push=function(e,t){var n,s,l,c,d,f,h=this.strm,p=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?h.input=i.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new o.Buf8(p),h.next_out=0,h.avail_out=p),(n=r.inflate(h,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&m&&(f="string"==typeof m?i.string2buf(m):"[object ArrayBuffer]"===u.call(m)?new Uint8Array(m):m,n=r.inflateSetDictionary(this.strm,f)),n===a.Z_BUF_ERROR&&!0===g&&(n=a.Z_OK,g=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),!(this.ended=!0);h.next_out&&(0!==h.avail_out&&n!==a.Z_STREAM_END&&(0!==h.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=i.utf8border(h.output,h.next_out),c=h.next_out-l,d=i.buf2string(h.output,l),h.next_out=c,h.avail_out=p-c,c&&o.arraySet(h.output,h.output,l,c,0),this.onData(d)):this.onData(o.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(g=!0)}while((0<h.avail_in||0===h.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(h.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=f,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,f(e,t)},n.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,n){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={arraySet:function(e,t,n,r,o){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),o);else for(var i=0;i<r;i++)e[o+i]=t[n+i]},flattenChunks:function(e){var t,n,r,o,i,a;for(t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),t=o=0,n=e.length;t<n;t++)i=e[t],a.set(i,o),o+=i.length;return a}},i={arraySet:function(e,t,n,r,o){for(var i=0;i<r;i++)e[o+i]=t[n+i]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,o)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,i))},n.setTyped(r)},{}],42:[function(e,t,n){var r=e("./common"),o=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(e){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){i=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(e,t){if(t<65537&&(e.subarray&&i||!e.subarray&&o))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",a=0;a<t;a++)n+=String.fromCharCode(e[a]);return n}a[254]=a[254]=1,n.string2buf=function(e){var t,n,o,i,a,s=e.length,l=0;for(i=0;i<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(o=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(o-56320),i++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(l),i=a=0;a<l;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(o=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(o-56320),i++),n<128?t[a++]=n:(n<2048?t[a++]=192|n>>>6:(n<65536?t[a++]=224|n>>>12:(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63),t[a++]=128|n>>>6&63),t[a++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,o=t.length;n<o;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,o,i,s=t||e.length,c=new Array(2*s);for(n=r=0;n<s;)if((o=e[n++])<128)c[r++]=o;else if(4<(i=a[o]))c[r++]=65533,n+=i-1;else{for(o&=2===i?31:3===i?15:7;1<i&&n<s;)o=o<<6|63&e[n++],i--;1<i?c[r++]=65533:o<65536?c[r++]=o:(o-=65536,c[r++]=55296|o>>10&1023,c[r++]=56320|1023&o)}return l(c,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+a[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){t.exports=function(e,t,n,r){for(var o=65535&e,i=e>>>16&65535,a=0;0!==n;){for(n-=a=2e3<n?2e3:n;i=i+(o=o+t[r++]|0)|0,--a;);o%=65521,i%=65521}return o|i<<16}},{}],44:[function(e,t,n){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,o){var i=r,a=o+n;e^=-1;for(var s=o;s<a;s++)e=e>>>8^i[255&(e^t[s])];return~e}},{}],46:[function(e,t,n){var r,o=e("../utils/common"),i=e("./trees"),a=e("./adler32"),s=e("./crc32"),l=e("./messages"),c=-2,u=258,d=262,f=113;function h(e,t){return e.msg=l[t],t}function p(e){return(e<<1)-(4<e?9:0)}function m(e){for(var t=e.length;0<=--t;)e[t]=0}function g(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(o.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function A(e,t){i._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,g(e.strm)}function v(e,t){e.pending_buf[e.pending++]=t}function y(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function O(e,t){var n,r,o=e.max_chain_length,i=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-d?e.strstart-(e.w_size-d):0,c=e.window,f=e.w_mask,h=e.prev,p=e.strstart+u,m=c[i+a-1],g=c[i+a];e.prev_length>=e.good_match&&(o>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+a]===g&&c[n+a-1]===m&&c[n]===c[i]&&c[++n]===c[i+1]){i+=2,n++;do{}while(c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&i<p);if(r=u-(p-i),i=p-u,a<r){if(e.match_start=t,s<=(a=r))break;m=c[i+a-1],g=c[i+a]}}}while((t=h[t&f])>l&&0!=--o);return a<=e.lookahead?a:e.lookahead}function b(e){var t,n,r,i,l,c,u,f,h,p,m=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-d)){for(o.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;r=e.head[--t],e.head[t]=m<=r?r-m:0,--n;);for(t=n=m;r=e.prev[--t],e.prev[t]=m<=r?r-m:0,--n;);i+=m}if(0===e.strm.avail_in)break;if(c=e.strm,u=e.window,f=e.strstart+e.lookahead,p=void 0,(h=i)<(p=c.avail_in)&&(p=h),n=0===p?0:(c.avail_in-=p,o.arraySet(u,c.input,c.next_in,p,f),1===c.state.wrap?c.adler=a(c.adler,u,p,f):2===c.state.wrap&&(c.adler=s(c.adler,u,p,f)),c.next_in+=p,c.total_in+=p,p),e.lookahead+=n,e.lookahead+e.insert>=3)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+3-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<d&&0!==e.strm.avail_in)}function w(e,t){for(var n,r;;){if(e.lookahead<d){if(b(e),e.lookahead<d&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-d&&(e.match_length=O(e,n)),e.match_length>=3)if(r=i._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}function _(e,t){for(var n,r,o;;){if(e.lookahead<d){if(b(e),e.lookahead<d&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-d&&(e.match_length=O(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&4096<e.strstart-e.match_start)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){for(o=e.strstart+e.lookahead-3,r=i._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=o&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(A(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=i._tr_tally(e,0,e.window[e.strstart-1]))&&A(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=i._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}function x(e,t,n,r,o){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=o}function S(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new o.Buf16(1146),this.dyn_dtree=new o.Buf16(122),this.bl_tree=new o.Buf16(78),m(this.dyn_ltree),m(this.dyn_dtree),m(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(16),this.heap=new o.Buf16(573),m(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(573),m(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function k(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:f,e.adler=2===t.wrap?0:1,t.last_flush=0,i._tr_init(t),0):h(e,c)}function C(e){var t,n=k(e);return 0===n&&((t=e.state).window_size=2*t.w_size,m(t.head),t.max_lazy_match=r[t.level].max_lazy,t.good_match=r[t.level].good_length,t.nice_match=r[t.level].nice_length,t.max_chain_length=r[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function B(e,t,n,r,i,a){if(!e)return c;var s=1;if(-1===t&&(t=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),i<1||9<i||8!==n||r<8||15<r||t<0||9<t||a<0||4<a)return h(e,c);8===r&&(r=9);var l=new S;return(e.state=l).strm=e,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=i+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new o.Buf8(2*l.w_size),l.head=new o.Buf16(l.hash_size),l.prev=new o.Buf16(l.w_size),l.lit_bufsize=1<<i+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new o.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=a,l.method=n,C(e)}r=[new x(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(b(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,A(e,!1),0===e.strm.avail_out)||e.strstart-e.block_start>=e.w_size-d&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(A(e,!1),e.strm.avail_out),1)})),new x(4,4,8,4,w),new x(4,5,16,8,w),new x(4,6,32,32,w),new x(4,4,16,16,_),new x(8,16,32,32,_),new x(8,16,128,128,_),new x(8,32,128,256,_),new x(32,128,258,1024,_),new x(32,258,258,4096,_)],n.deflateInit=function(e,t){return B(e,t,8,15,8,0)},n.deflateInit2=B,n.deflateReset=C,n.deflateResetKeep=k,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?c:(e.state.gzhead=t,0):c},n.deflate=function(e,t){var n,o,a,l;if(!e||!e.state||5<t||t<0)return e?h(e,c):c;if(o=e.state,!e.output||!e.input&&0!==e.avail_in||666===o.status&&4!==t)return h(e,0===e.avail_out?-5:c);if(o.strm=e,n=o.last_flush,o.last_flush=t,42===o.status)if(2===o.wrap)e.adler=0,v(o,31),v(o,139),v(o,8),o.gzhead?(v(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),v(o,255&o.gzhead.time),v(o,o.gzhead.time>>8&255),v(o,o.gzhead.time>>16&255),v(o,o.gzhead.time>>24&255),v(o,9===o.level?2:2<=o.strategy||o.level<2?4:0),v(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(v(o,255&o.gzhead.extra.length),v(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(e.adler=s(e.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(v(o,0),v(o,0),v(o,0),v(o,0),v(o,0),v(o,9===o.level?2:2<=o.strategy||o.level<2?4:0),v(o,3),o.status=f);else{var d=8+(o.w_bits-8<<4)<<8;d|=(2<=o.strategy||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(d|=32),d+=31-d%31,o.status=f,y(o,d),0!==o.strstart&&(y(o,e.adler>>>16),y(o,65535&e.adler)),e.adler=1}if(69===o.status)if(o.gzhead.extra){for(a=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),g(e),a=o.pending,o.pending!==o.pending_buf_size));)v(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(73===o.status)if(o.gzhead.name){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),g(e),a=o.pending,o.pending===o.pending_buf_size)){l=1;break}l=o.gzindex<o.gzhead.name.length?255&o.gzhead.name.charCodeAt(o.gzindex++):0,v(o,l)}while(0!==l);o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),0===l&&(o.gzindex=0,o.status=91)}else o.status=91;if(91===o.status)if(o.gzhead.comment){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),g(e),a=o.pending,o.pending===o.pending_buf_size)){l=1;break}l=o.gzindex<o.gzhead.comment.length?255&o.gzhead.comment.charCodeAt(o.gzindex++):0,v(o,l)}while(0!==l);o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),0===l&&(o.status=103)}else o.status=103;if(103===o.status&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&g(e),o.pending+2<=o.pending_buf_size&&(v(o,255&e.adler),v(o,e.adler>>8&255),e.adler=0,o.status=f)):o.status=f),0!==o.pending){if(g(e),0===e.avail_out)return o.last_flush=-1,0}else if(0===e.avail_in&&p(t)<=p(n)&&4!==t)return h(e,-5);if(666===o.status&&0!==e.avail_in)return h(e,-5);if(0!==e.avail_in||0!==o.lookahead||0!==t&&666!==o.status){var O=2===o.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(b(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}(o,t):3===o.strategy?function(e,t){for(var n,r,o,a,s=e.window;;){if(e.lookahead<=u){if(b(e),e.lookahead<=u&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&0<e.strstart&&(r=s[o=e.strstart-1])===s[++o]&&r===s[++o]&&r===s[++o]){a=e.strstart+u;do{}while(r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&o<a);e.match_length=u-(a-o),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=i._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}(o,t):r[o.level].func(o,t);if(3!==O&&4!==O||(o.status=666),1===O||3===O)return 0===e.avail_out&&(o.last_flush=-1),0;if(2===O&&(1===t?i._tr_align(o):5!==t&&(i._tr_stored_block(o,0,0,!1),3===t&&(m(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),g(e),0===e.avail_out))return o.last_flush=-1,0}return 4!==t?0:o.wrap<=0?1:(2===o.wrap?(v(o,255&e.adler),v(o,e.adler>>8&255),v(o,e.adler>>16&255),v(o,e.adler>>24&255),v(o,255&e.total_in),v(o,e.total_in>>8&255),v(o,e.total_in>>16&255),v(o,e.total_in>>24&255)):(y(o,e.adler>>>16),y(o,65535&e.adler)),g(e),0<o.wrap&&(o.wrap=-o.wrap),0!==o.pending?0:1)},n.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&t!==f&&666!==t?h(e,c):(e.state=null,t===f?h(e,-3):0):c},n.deflateSetDictionary=function(e,t){var n,r,i,s,l,u,d,f,h=t.length;if(!e||!e.state||2===(s=(n=e.state).wrap)||1===s&&42!==n.status||n.lookahead)return c;for(1===s&&(e.adler=a(e.adler,t,h,0)),n.wrap=0,h>=n.w_size&&(0===s&&(m(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new o.Buf8(n.w_size),o.arraySet(f,t,h-n.w_size,n.w_size,0),t=f,h=n.w_size),l=e.avail_in,u=e.next_in,d=e.input,e.avail_in=h,e.next_in=0,e.input=t,b(n);n.lookahead>=3;){for(r=n.strstart,i=n.lookahead-2;n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--i;);n.strstart=r,n.lookahead=2,b(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=u,e.input=d,e.avail_in=l,n.wrap=s,0},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,n){t.exports=function(e,t){var n,r,o,i,a,s,l,c,u,d,f,h,p,m,g,A,v,y,O,b,w,_,x,S,k;n=e.state,r=e.next_in,S=e.input,o=r+(e.avail_in-5),i=e.next_out,k=e.output,a=i-(t-e.avail_out),s=i+(e.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,d=n.wnext,f=n.window,h=n.hold,p=n.bits,m=n.lencode,g=n.distcode,A=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;e:do{p<15&&(h+=S[r++]<<p,p+=8,h+=S[r++]<<p,p+=8),y=m[h&A];t:for(;;){if(h>>>=O=y>>>24,p-=O,0==(O=y>>>16&255))k[i++]=65535&y;else{if(!(16&O)){if(!(64&O)){y=m[(65535&y)+(h&(1<<O)-1)];continue t}if(32&O){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}b=65535&y,(O&=15)&&(p<O&&(h+=S[r++]<<p,p+=8),b+=h&(1<<O)-1,h>>>=O,p-=O),p<15&&(h+=S[r++]<<p,p+=8,h+=S[r++]<<p,p+=8),y=g[h&v];n:for(;;){if(h>>>=O=y>>>24,p-=O,!(16&(O=y>>>16&255))){if(!(64&O)){y=g[(65535&y)+(h&(1<<O)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(w=65535&y,p<(O&=15)&&(h+=S[r++]<<p,(p+=8)<O&&(h+=S[r++]<<p,p+=8)),l<(w+=h&(1<<O)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(h>>>=O,p-=O,(O=i-a)<w){if(u<(O=w-O)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(x=f,(_=0)===d){if(_+=c-O,O<b){for(b-=O;k[i++]=f[_++],--O;);_=i-w,x=k}}else if(d<O){if(_+=c+d-O,(O-=d)<b){for(b-=O;k[i++]=f[_++],--O;);if(_=0,d<b){for(b-=O=d;k[i++]=f[_++],--O;);_=i-w,x=k}}}else if(_+=d-O,O<b){for(b-=O;k[i++]=f[_++],--O;);_=i-w,x=k}for(;2<b;)k[i++]=x[_++],k[i++]=x[_++],k[i++]=x[_++],b-=3;b&&(k[i++]=x[_++],1<b&&(k[i++]=x[_++]))}else{for(_=i-w;k[i++]=k[_++],k[i++]=k[_++],k[i++]=k[_++],2<(b-=3););b&&(k[i++]=k[_++],1<b&&(k[i++]=k[_++]))}break}}break}}while(r<o&&i<s);r-=b=p>>3,h&=(1<<(p-=b<<3))-1,e.next_in=r,e.next_out=i,e.avail_in=r<o?o-r+5:5-(r-o),e.avail_out=i<s?s-i+257:257-(i-s),n.hold=h,n.bits=p}},{}],49:[function(e,t,n){var r=e("../utils/common"),o=e("./adler32"),i=e("./crc32"),a=e("./inffast"),s=e("./inftrees"),l=-2;function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function u(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(852),t.distcode=t.distdyn=new r.Buf32(592),t.sane=1,t.back=-1,0):l}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,d(e)):l}function h(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?l:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,f(e))):l}function p(e,t){var n,r;return e?(r=new u,(e.state=r).window=null,0!==(n=h(e,t))&&(e.state=null),n):l}var m,g,A=!0;function v(e){if(A){var t;for(m=new r.Buf32(512),g=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(1,e.lens,0,288,m,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(2,e.lens,0,32,g,0,e.work,{bits:5}),A=!1}e.lencode=m,e.lenbits=9,e.distcode=g,e.distbits=5}function y(e,t,n,o){var i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),o>=a.wsize?(r.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(o<(i=a.wsize-a.wnext)&&(i=o),r.arraySet(a.window,t,n-o,i,a.wnext),(o-=i)?(r.arraySet(a.window,t,n-o,o,0),a.wnext=o,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}n.inflateReset=f,n.inflateReset2=h,n.inflateResetKeep=d,n.inflateInit=function(e){return p(e,15)},n.inflateInit2=p,n.inflate=function(e,t){var n,u,d,f,h,p,m,g,A,O,b,w,_,x,S,k,C,B,Q,T,E,P,$,M,z=0,R=new r.Buf8(4),D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return l;12===(n=e.state).mode&&(n.mode=13),h=e.next_out,d=e.output,m=e.avail_out,f=e.next_in,u=e.input,p=e.avail_in,g=n.hold,A=n.bits,O=p,b=m,P=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;A<16;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}if(2&n.wrap&&35615===g){R[n.check=0]=255&g,R[1]=g>>>8&255,n.check=i(n.check,R,2,0),A=g=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",n.mode=30;break}if(A-=4,E=8+(15&(g>>>=4)),0===n.wbits)n.wbits=E;else if(E>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<E,e.adler=n.check=1,n.mode=512&g?10:12,A=g=0;break;case 2:for(;A<16;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}if(n.flags=g,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=g>>8&1),512&n.flags&&(R[0]=255&g,R[1]=g>>>8&255,n.check=i(n.check,R,2,0)),A=g=0,n.mode=3;case 3:for(;A<32;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}n.head&&(n.head.time=g),512&n.flags&&(R[0]=255&g,R[1]=g>>>8&255,R[2]=g>>>16&255,R[3]=g>>>24&255,n.check=i(n.check,R,4,0)),A=g=0,n.mode=4;case 4:for(;A<16;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}n.head&&(n.head.xflags=255&g,n.head.os=g>>8),512&n.flags&&(R[0]=255&g,R[1]=g>>>8&255,n.check=i(n.check,R,2,0)),A=g=0,n.mode=5;case 5:if(1024&n.flags){for(;A<16;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}n.length=g,n.head&&(n.head.extra_len=g),512&n.flags&&(R[0]=255&g,R[1]=g>>>8&255,n.check=i(n.check,R,2,0)),A=g=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(p<(w=n.length)&&(w=p),w&&(n.head&&(E=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,u,f,w,E)),512&n.flags&&(n.check=i(n.check,u,w,f)),p-=w,f+=w,n.length-=w),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===p)break e;for(w=0;E=u[f+w++],n.head&&E&&n.length<65536&&(n.head.name+=String.fromCharCode(E)),E&&w<p;);if(512&n.flags&&(n.check=i(n.check,u,w,f)),p-=w,f+=w,E)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===p)break e;for(w=0;E=u[f+w++],n.head&&E&&n.length<65536&&(n.head.comment+=String.fromCharCode(E)),E&&w<p;);if(512&n.flags&&(n.check=i(n.check,u,w,f)),p-=w,f+=w,E)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;A<16;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}if(g!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}A=g=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;A<32;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}e.adler=n.check=c(g),A=g=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=h,e.avail_out=m,e.next_in=f,e.avail_in=p,n.hold=g,n.bits=A,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){g>>>=7&A,A-=7&A,n.mode=27;break}for(;A<3;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}switch(n.last=1&g,A-=1,3&(g>>>=1)){case 0:n.mode=14;break;case 1:if(v(n),n.mode=20,6!==t)break;g>>>=2,A-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}g>>>=2,A-=2;break;case 14:for(g>>>=7&A,A-=7&A;A<32;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}if((65535&g)!=(g>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&g,A=g=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(w=n.length){if(p<w&&(w=p),m<w&&(w=m),0===w)break e;r.arraySet(d,u,f,w,h),p-=w,f+=w,m-=w,h+=w,n.length-=w;break}n.mode=12;break;case 17:for(;A<14;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}if(n.nlen=257+(31&g),g>>>=5,A-=5,n.ndist=1+(31&g),g>>>=5,A-=5,n.ncode=4+(15&g),g>>>=4,A-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;A<3;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}n.lens[D[n.have++]]=7&g,g>>>=3,A-=3}for(;n.have<19;)n.lens[D[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,$={bits:n.lenbits},P=s(0,n.lens,0,19,n.lencode,0,n.work,$),n.lenbits=$.bits,P){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;k=(z=n.lencode[g&(1<<n.lenbits)-1])>>>16&255,C=65535&z,!((S=z>>>24)<=A);){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}if(C<16)g>>>=S,A-=S,n.lens[n.have++]=C;else{if(16===C){for(M=S+2;A<M;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}if(g>>>=S,A-=S,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}E=n.lens[n.have-1],w=3+(3&g),g>>>=2,A-=2}else if(17===C){for(M=S+3;A<M;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}A-=S,E=0,w=3+(7&(g>>>=S)),g>>>=3,A-=3}else{for(M=S+7;A<M;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}A-=S,E=0,w=11+(127&(g>>>=S)),g>>>=7,A-=7}if(n.have+w>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;w--;)n.lens[n.have++]=E}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,$={bits:n.lenbits},P=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,$),n.lenbits=$.bits,P){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,$={bits:n.distbits},P=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,$),n.distbits=$.bits,P){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=p&&258<=m){e.next_out=h,e.avail_out=m,e.next_in=f,e.avail_in=p,n.hold=g,n.bits=A,a(e,b),h=e.next_out,d=e.output,m=e.avail_out,f=e.next_in,u=e.input,p=e.avail_in,g=n.hold,A=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;k=(z=n.lencode[g&(1<<n.lenbits)-1])>>>16&255,C=65535&z,!((S=z>>>24)<=A);){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}if(k&&!(240&k)){for(B=S,Q=k,T=C;k=(z=n.lencode[T+((g&(1<<B+Q)-1)>>B)])>>>16&255,C=65535&z,!(B+(S=z>>>24)<=A);){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}g>>>=B,A-=B,n.back+=B}if(g>>>=S,A-=S,n.back+=S,n.length=C,0===k){n.mode=26;break}if(32&k){n.back=-1,n.mode=12;break}if(64&k){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&k,n.mode=22;case 22:if(n.extra){for(M=n.extra;A<M;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}n.length+=g&(1<<n.extra)-1,g>>>=n.extra,A-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;k=(z=n.distcode[g&(1<<n.distbits)-1])>>>16&255,C=65535&z,!((S=z>>>24)<=A);){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}if(!(240&k)){for(B=S,Q=k,T=C;k=(z=n.distcode[T+((g&(1<<B+Q)-1)>>B)])>>>16&255,C=65535&z,!(B+(S=z>>>24)<=A);){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}g>>>=B,A-=B,n.back+=B}if(g>>>=S,A-=S,n.back+=S,64&k){e.msg="invalid distance code",n.mode=30;break}n.offset=C,n.extra=15&k,n.mode=24;case 24:if(n.extra){for(M=n.extra;A<M;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}n.offset+=g&(1<<n.extra)-1,g>>>=n.extra,A-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===m)break e;if(w=b-m,n.offset>w){if((w=n.offset-w)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}_=w>n.wnext?(w-=n.wnext,n.wsize-w):n.wnext-w,w>n.length&&(w=n.length),x=n.window}else x=d,_=h-n.offset,w=n.length;for(m<w&&(w=m),m-=w,n.length-=w;d[h++]=x[_++],--w;);0===n.length&&(n.mode=21);break;case 26:if(0===m)break e;d[h++]=n.length,m--,n.mode=21;break;case 27:if(n.wrap){for(;A<32;){if(0===p)break e;p--,g|=u[f++]<<A,A+=8}if(b-=m,e.total_out+=b,n.total+=b,b&&(e.adler=n.check=n.flags?i(n.check,d,b,h-b):o(n.check,d,b,h-b)),b=m,(n.flags?g:c(g))!==n.check){e.msg="incorrect data check",n.mode=30;break}A=g=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;A<32;){if(0===p)break e;p--,g+=u[f++]<<A,A+=8}if(g!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}A=g=0}n.mode=29;case 29:P=1;break e;case 30:P=-3;break e;case 31:return-4;default:return l}return e.next_out=h,e.avail_out=m,e.next_in=f,e.avail_in=p,n.hold=g,n.bits=A,(n.wsize||b!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&y(e,e.output,e.next_out,b-e.avail_out)?(n.mode=31,-4):(O-=e.avail_in,b-=e.avail_out,e.total_in+=O,e.total_out+=b,n.total+=b,n.wrap&&b&&(e.adler=n.check=n.flags?i(n.check,d,b,e.next_out-b):o(n.check,d,b,e.next_out-b)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==O&&0===b||4===t)&&0===P&&(P=-5),P)},n.inflateEnd=function(e){if(!e||!e.state)return l;var t=e.state;return t.window&&(t.window=null),e.state=null,0},n.inflateGetHeader=function(e,t){var n;return e&&e.state&&2&(n=e.state).wrap?((n.head=t).done=!1,0):l},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?l:11===n.mode&&o(1,t,r,0)!==n.check?-3:y(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):l},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){var r=e("../utils/common"),o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],i=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,l,c,u,d,f){var h,p,m,g,A,v,y,O,b,w=f.bits,_=0,x=0,S=0,k=0,C=0,B=0,Q=0,T=0,E=0,P=0,$=null,M=0,z=new r.Buf16(16),R=new r.Buf16(16),D=null,I=0;for(_=0;_<=15;_++)z[_]=0;for(x=0;x<l;x++)z[t[n+x]]++;for(C=w,k=15;1<=k&&0===z[k];k--);if(k<C&&(C=k),0===k)return c[u++]=20971520,c[u++]=20971520,f.bits=1,0;for(S=1;S<k&&0===z[S];S++);for(C<S&&(C=S),_=T=1;_<=15;_++)if(T<<=1,(T-=z[_])<0)return-1;if(0<T&&(0===e||1!==k))return-1;for(R[1]=0,_=1;_<15;_++)R[_+1]=R[_]+z[_];for(x=0;x<l;x++)0!==t[n+x]&&(d[R[t[n+x]]++]=x);if(v=0===e?($=D=d,19):1===e?($=o,M-=257,D=i,I-=257,256):($=a,D=s,-1),_=S,A=u,Q=x=P=0,m=-1,g=(E=1<<(B=C))-1,1===e&&852<E||2===e&&592<E)return 1;for(;;){for(y=_-Q,b=d[x]<v?(O=0,d[x]):d[x]>v?(O=D[I+d[x]],$[M+d[x]]):(O=96,0),h=1<<_-Q,S=p=1<<B;c[A+(P>>Q)+(p-=h)]=y<<24|O<<16|b,0!==p;);for(h=1<<_-1;P&h;)h>>=1;if(0!==h?(P&=h-1,P+=h):P=0,x++,0==--z[_]){if(_===k)break;_=t[n+d[x]]}if(C<_&&(P&g)!==m){for(0===Q&&(Q=C),A+=S,T=1<<(B=_-Q);B+Q<k&&!((T-=z[B+Q])<=0);)B++,T<<=1;if(E+=1<<B,1===e&&852<E||2===e&&592<E)return 1;c[m=P&g]=C<<24|B<<16|A-u}}return 0!==P&&(c[A+P]=_-Q<<24|64<<16),f.bits=C,0}},{"../utils/common":41}],51:[function(e,t,n){t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,n){var r=e("../utils/common");function o(e){for(var t=e.length;0<=--t;)e[t]=0}var i=256,a=286,s=30,l=15,c=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],u=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],f=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],h=new Array(576);o(h);var p=new Array(60);o(p);var m=new Array(512);o(m);var g=new Array(256);o(g);var A=new Array(29);o(A);var v,y,O,b=new Array(s);function w(e,t,n,r,o){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=o,this.has_stree=e&&e.length}function _(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function x(e){return e<256?m[e]:m[256+(e>>>7)]}function S(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function k(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,S(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function C(e,t,n){k(e,n[2*t],n[2*t+1])}function B(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function Q(e,t,n){var r,o,i=new Array(16),a=0;for(r=1;r<=l;r++)i[r]=a=a+n[r-1]<<1;for(o=0;o<=t;o++){var s=e[2*o+1];0!==s&&(e[2*o]=B(i[s]++,s))}}function T(e){var t;for(t=0;t<a;t++)e.dyn_ltree[2*t]=0;for(t=0;t<s;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function E(e){8<e.bi_valid?S(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function P(e,t,n,r){var o=2*t,i=2*n;return e[o]<e[i]||e[o]===e[i]&&r[t]<=r[n]}function $(e,t,n){for(var r=e.heap[n],o=n<<1;o<=e.heap_len&&(o<e.heap_len&&P(t,e.heap[o+1],e.heap[o],e.depth)&&o++,!P(t,r,e.heap[o],e.depth));)e.heap[n]=e.heap[o],n=o,o<<=1;e.heap[n]=r}function M(e,t,n){var r,o,a,s,l=0;if(0!==e.last_lit)for(;r=e.pending_buf[e.d_buf+2*l]<<8|e.pending_buf[e.d_buf+2*l+1],o=e.pending_buf[e.l_buf+l],l++,0===r?C(e,o,t):(C(e,(a=g[o])+i+1,t),0!==(s=c[a])&&k(e,o-=A[a],s),C(e,a=x(--r),n),0!==(s=u[a])&&k(e,r-=b[a],s)),l<e.last_lit;);C(e,256,t)}function z(e,t){var n,r,o,i=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<c;n++)0!==i[2*n]?(e.heap[++e.heap_len]=u=n,e.depth[n]=0):i[2*n+1]=0;for(;e.heap_len<2;)i[2*(o=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[o]=0,e.opt_len--,s&&(e.static_len-=a[2*o+1]);for(t.max_code=u,n=e.heap_len>>1;1<=n;n--)$(e,i,n);for(o=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],$(e,i,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,i[2*o]=i[2*n]+i[2*r],e.depth[o]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,i[2*n+1]=i[2*r+1]=o,e.heap[1]=o++,$(e,i,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,o,i,a,s,c=t.dyn_tree,u=t.max_code,d=t.stat_desc.static_tree,f=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,m=t.stat_desc.max_length,g=0;for(i=0;i<=l;i++)e.bl_count[i]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)m<(i=c[2*c[2*(r=e.heap[n])+1]+1]+1)&&(i=m,g++),c[2*r+1]=i,u<r||(e.bl_count[i]++,a=0,p<=r&&(a=h[r-p]),s=c[2*r],e.opt_len+=s*(i+a),f&&(e.static_len+=s*(d[2*r+1]+a)));if(0!==g){do{for(i=m-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[m]--,g-=2}while(0<g);for(i=m;0!==i;i--)for(r=e.bl_count[i];0!==r;)u<(o=e.heap[--n])||(c[2*o+1]!==i&&(e.opt_len+=(i-c[2*o+1])*c[2*o],c[2*o+1]=i),r--)}}(e,t),Q(i,u,e.bl_count)}function R(e,t,n){var r,o,i=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)o=a,a=t[2*(r+1)+1],++s<l&&o===a||(s<c?e.bl_tree[2*o]+=s:0!==o?(o!==i&&e.bl_tree[2*o]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,i=o,c=(s=0)===a?(l=138,3):o===a?(l=6,3):(l=7,4))}function D(e,t,n){var r,o,i=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),r=0;r<=n;r++)if(o=a,a=t[2*(r+1)+1],!(++s<l&&o===a)){if(s<c)for(;C(e,o,e.bl_tree),0!=--s;);else 0!==o?(o!==i&&(C(e,o,e.bl_tree),s--),C(e,16,e.bl_tree),k(e,s-3,2)):s<=10?(C(e,17,e.bl_tree),k(e,s-3,3)):(C(e,18,e.bl_tree),k(e,s-11,7));i=o,c=(s=0)===a?(l=138,3):o===a?(l=6,3):(l=7,4)}}o(b);var I=!1;function N(e,t,n,o){var i,a,s;k(e,0+(o?1:0),3),a=t,s=n,E(i=e),S(i,s),S(i,~s),r.arraySet(i.pending_buf,i.window,a,s,i.pending),i.pending+=s}n._tr_init=function(e){I||(function(){var e,t,n,r,o,i=new Array(16);for(r=n=0;r<28;r++)for(A[r]=n,e=0;e<1<<c[r];e++)g[n++]=r;for(g[n-1]=r,r=o=0;r<16;r++)for(b[r]=o,e=0;e<1<<u[r];e++)m[o++]=r;for(o>>=7;r<s;r++)for(b[r]=o<<7,e=0;e<1<<u[r]-7;e++)m[256+o++]=r;for(t=0;t<=l;t++)i[t]=0;for(e=0;e<=143;)h[2*e+1]=8,e++,i[8]++;for(;e<=255;)h[2*e+1]=9,e++,i[9]++;for(;e<=279;)h[2*e+1]=7,e++,i[7]++;for(;e<=287;)h[2*e+1]=8,e++,i[8]++;for(Q(h,287,i),e=0;e<s;e++)p[2*e+1]=5,p[2*e]=B(e,5);v=new w(h,c,257,a,l),y=new w(p,u,0,s,l),O=new w(new Array(0),d,0,19,7)}(),I=!0),e.l_desc=new _(e.dyn_ltree,v),e.d_desc=new _(e.dyn_dtree,y),e.bl_desc=new _(e.bl_tree,O),e.bi_buf=0,e.bi_valid=0,T(e)},n._tr_stored_block=N,n._tr_flush_block=function(e,t,n,r){var o,a,s=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<i;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),z(e,e.l_desc),z(e,e.d_desc),s=function(e){var t;for(R(e,e.dyn_ltree,e.l_desc.max_code),R(e,e.dyn_dtree,e.d_desc.max_code),z(e,e.bl_desc),t=18;3<=t&&0===e.bl_tree[2*f[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=o&&(o=a)):o=a=n+5,n+4<=o&&-1!==t?N(e,t,n,r):4===e.strategy||a===o?(k(e,2+(r?1:0),3),M(e,h,p)):(k(e,4+(r?1:0),3),function(e,t,n,r){var o;for(k(e,t-257,5),k(e,n-1,5),k(e,r-4,4),o=0;o<r;o++)k(e,e.bl_tree[2*f[o]+1],3);D(e,e.dyn_ltree,t-1),D(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),M(e,e.dyn_ltree,e.dyn_dtree)),T(e),r&&E(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(g[n]+i+1)]++,e.dyn_dtree[2*x(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){var t;k(e,2,3),C(e,256,h),16===(t=e).bi_valid?(S(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,t,n){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){(function(e){!function(e){if(!e.setImmediate){var t,n,r,o,i=1,a={},s=!1,l=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,t="[object process]"==={}.toString.call(e.process)?function(e){process.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(o="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",f,!1):e.attachEvent("onmessage",f),function(t){e.postMessage(o+t,"*")}):e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){d(e.data)},function(e){r.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(n=l.documentElement,function(e){var t=l.createElement("script");t.onreadystatechange=function(){d(e),t.onreadystatechange=null,n.removeChild(t),t=null},n.appendChild(t)}):function(e){setTimeout(d,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var n=new Array(arguments.length-1),r=0;r<n.length;r++)n[r]=arguments[r+1];var o={callback:e,args:n};return a[i]=o,t(i),i++},c.clearImmediate=u}function u(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(undefined,n)}}(t)}finally{u(e),s=!1}}}}function f(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&d(+t.data.slice(o.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,void 0!==h?h:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)},g.exports=m();const A=(v=g.exports)&&v.__esModule&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v;var v,y;!function(e){e.OfficeDocument="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",e.FontTable="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable",e.Image="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",e.Numbering="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",e.Styles="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",e.StylesWithEffects="http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects",e.Theme="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",e.Settings="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings",e.WebSettings="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings",e.Hyperlink="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",e.Footnotes="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",e.Endnotes="http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes",e.Footer="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",e.Header="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",e.ExtendedProperties="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",e.CoreProperties="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",e.CustomProperties="http://schemas.openxmlformats.org/package/2006/relationships/metadata/custom-properties",e.Comments="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",e.CommentsExtended="http://schemas.microsoft.com/office/2011/relationships/commentsExtended"}(y||(y={}));const O="http://schemas.openxmlformats.org/wordprocessingml/2006/main",b={mul:.05,unit:"pt"},w={mul:1/12700,unit:"pt"},_={mul:.5,unit:"pt"},x={mul:.125,unit:"pt"},S={mul:1,unit:"pt"},k={mul:.02,unit:"%"};function C(e,t=b){return null==e||/.+(p[xt]|[%])$/.test(e)?e:`${(parseInt(e)*t.mul).toFixed(2)}${t.unit}`}function B(e,t,n){if(e.namespaceURI!=O)return!1;switch(e.localName){case"color":t.color=n.attr(e,"val");break;case"sz":t.fontSize=n.lengthAttr(e,"val",_);break;default:return!1}return!0}class Q{elements(e,t=null){const n=[];for(let r=0,o=e.childNodes.length;r<o;r++){let o=e.childNodes.item(r);1==o.nodeType&&(null==t||o.localName==t)&&n.push(o)}return n}element(e,t){for(let n=0,r=e.childNodes.length;n<r;n++){let r=e.childNodes.item(n);if(1==r.nodeType&&r.localName==t)return r}return null}elementAttr(e,t,n){var r=this.element(e,t);return r?this.attr(r,n):void 0}attrs(e){return Array.from(e.attributes)}attr(e,t){for(let n=0,r=e.attributes.length;n<r;n++){let r=e.attributes.item(n);if(r.localName==t)return r.value}return null}intAttr(e,t,n=null){var r=this.attr(e,t);return r?parseInt(r):n}hexAttr(e,t,n=null){var r=this.attr(e,t);return r?parseInt(r,16):n}floatAttr(e,t,n=null){var r=this.attr(e,t);return r?parseFloat(r):n}boolAttr(e,t,n=null){return function(e,t=!1){switch(e){case"1":case"on":case"true":return!0;case"0":case"off":case"false":return!1;default:return t}}(this.attr(e,t),n)}lengthAttr(e,t,n=b){return C(this.attr(e,t),n)}}const T=new Q;class E{constructor(e,t){this._package=e,this.path=t}load(){return f(this,null,(function*(){this.rels=yield this._package.loadRelationships(this.path);const e=yield this._package.load(this.path),t=this._package.parseXmlDocument(e);this._package.options.keepOrigin&&(this._xmlDocument=t),this.parseXml(t.firstElementChild)}))}save(){this._package.update(this.path,function(e){return(new XMLSerializer).serializeToString(e)}(this._xmlDocument))}parseXml(e){}}const P={embedRegular:"regular",embedBold:"bold",embedItalic:"italic",embedBoldItalic:"boldItalic"};function $(e,t){return t.elements(e).map((e=>function(e,t){let n={name:t.attr(e,"name"),embedFontRefs:[]};for(let r of t.elements(e))switch(r.localName){case"family":n.family=t.attr(r,"val");break;case"altName":n.altName=t.attr(r,"val");break;case"embedRegular":case"embedBold":case"embedItalic":case"embedBoldItalic":n.embedFontRefs.push(M(r,t))}return n}(e,t)))}function M(e,t){return{id:t.attr(e,"id"),key:t.attr(e,"fontKey"),type:P[e.localName]}}class z extends E{parseXml(e){this.fonts=$(e,this._package.xmlParser)}}function R(e){let t=e.lastIndexOf("/")+1;return[0==t?"":e.substring(0,t),0==t?e:e.substring(t)]}function D(e,t){try{const n="http://docx/";return new URL(e,n+t).toString().substring(n.length)}catch(n){return`${t}${e}`}}function I(e,t){return e.reduce(((e,n)=>(e[t(n)]=n,e)),{})}function N(e){return e&&"object"==typeof e&&!Array.isArray(e)}function L(e,...t){var n;if(!t.length)return e;const r=t.shift();if(N(e)&&N(r))for(const t in r)N(r[t])?L(null!=(n=e[t])?n:e[t]={},r[t]):e[t]=r[t];return L(e,...t)}function V(e){return Array.isArray(e)?e:[e]}class U{constructor(e,t){this._zip=e,this.options=t,this.xmlParser=new Q}get(e){var t;const n=function(e){return e.startsWith("/")?e.substr(1):e}(e);return null!=(t=this._zip.files[n])?t:this._zip.files[n.replace(/\//g,"\\")]}update(e,t){this._zip.file(e,t)}static load(e,t){return f(this,null,(function*(){const n=yield A.loadAsync(e);return new U(n,t)}))}save(e="blob"){return this._zip.generateAsync({type:e})}load(e,t="string"){var n,r;return null!=(r=null==(n=this.get(e))?void 0:n.async(t))?r:Promise.resolve(null)}loadRelationships(e=null){return f(this,null,(function*(){let t="_rels/.rels";if(null!=e){const[n,r]=R(e);t=`${n}_rels/${r}.rels`}const n=yield this.load(t);return n?function(e,t){return t.elements(e).map((e=>({id:t.attr(e,"Id"),type:t.attr(e,"Type"),target:t.attr(e,"Target"),targetMode:t.attr(e,"TargetMode")})))}(this.parseXmlDocument(n).firstElementChild,this.xmlParser):null}))}parseXmlDocument(e){return function(e,t=!1){t&&(e=e.replace(/<[?].*[?]>/,"")),e=function(e){return 65279===e.charCodeAt(0)?e.substring(1):e}(e);const n=(new DOMParser).parseFromString(e,"application/xml"),r=function(e){var t;return null==(t=e.getElementsByTagName("parsererror")[0])?void 0:t.textContent}(n);if(r)throw new Error(r);return n}(e,this.options.trimXmlDeclaration)}}class F extends E{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){this.body=this._documentParser.parseDocumentFile(e)}}function H(e,t){return{type:t.attr(e,"val"),color:t.attr(e,"color"),size:t.lengthAttr(e,"sz",x),offset:t.lengthAttr(e,"space",S),frame:t.boolAttr(e,"frame"),shadow:t.boolAttr(e,"shadow")}}function W(e,t){var n={};for(let r of t.elements(e))switch(r.localName){case"left":n.left=H(r,t);break;case"top":n.top=H(r,t);break;case"right":n.right=H(r,t);break;case"bottom":n.bottom=H(r,t)}return n}var X,j;function q(e,t=T){var n,r,o={};for(let i of t.elements(e))switch(i.localName){case"pgSz":o.pageSize={width:t.lengthAttr(i,"w"),height:t.lengthAttr(i,"h"),orientation:t.attr(i,"orient")};break;case"type":o.type=t.attr(i,"val");break;case"pgMar":o.pageMargins={left:t.lengthAttr(i,"left"),right:t.lengthAttr(i,"right"),top:t.lengthAttr(i,"top"),bottom:t.lengthAttr(i,"bottom"),header:t.lengthAttr(i,"header"),footer:t.lengthAttr(i,"footer"),gutter:t.lengthAttr(i,"gutter")};break;case"cols":o.columns=Z(i,t);break;case"headerReference":(null!=(n=o.headerRefs)?n:o.headerRefs=[]).push(G(i,t));break;case"footerReference":(null!=(r=o.footerRefs)?r:o.footerRefs=[]).push(G(i,t));break;case"titlePg":o.titlePage=t.boolAttr(i,"val",!0);break;case"pgBorders":o.pageBorders=W(i,t);break;case"pgNumType":o.pageNumber=Y(i,t)}return o}function Z(e,t){return{numberOfColumns:t.intAttr(e,"num"),space:t.lengthAttr(e,"space"),separator:t.boolAttr(e,"sep"),equalWidth:t.boolAttr(e,"equalWidth",!0),columns:t.elements(e,"col").map((e=>({width:t.lengthAttr(e,"w"),space:t.lengthAttr(e,"space")})))}}function Y(e,t){return{chapSep:t.attr(e,"chapSep"),chapStyle:t.attr(e,"chapStyle"),format:t.attr(e,"fmt"),start:t.intAttr(e,"start")}}function G(e,t){return{id:t.attr(e,"id"),type:t.attr(e,"type")}}function K(e,t){let n={};for(let r of t.elements(e))J(r,n,t);return n}function J(e,t,n){return!!B(e,t,n)}function ee(e,t){let n={};for(let r of t.elements(e))te(r,n,t);return n}function te(e,t,n){if(e.namespaceURI!=O)return!1;if(B(e,t,n))return!0;switch(e.localName){case"tabs":t.tabs=function(e,t){return t.elements(e,"tab").map((e=>({position:t.lengthAttr(e,"pos"),leader:t.attr(e,"leader"),style:t.attr(e,"val")})))}(e,n);break;case"sectPr":t.sectionProps=q(e,n);break;case"numPr":t.numbering=function(e,t){var n={};for(let r of t.elements(e))switch(r.localName){case"numId":n.id=t.attr(r,"val");break;case"ilvl":n.level=t.intAttr(r,"val")}return n}(e,n);break;case"spacing":return t.lineSpacing=function(e,t){return{before:t.lengthAttr(e,"before"),after:t.lengthAttr(e,"after"),line:t.intAttr(e,"line"),lineRule:t.attr(e,"lineRule")}}(e,n),!1;case"textAlignment":return t.textAlignment=n.attr(e,"val"),!1;case"keepLines":t.keepLines=n.boolAttr(e,"val",!0);break;case"keepNext":t.keepNext=n.boolAttr(e,"val",!0);break;case"pageBreakBefore":t.pageBreakBefore=n.boolAttr(e,"val",!0);break;case"outlineLvl":t.outlineLevel=n.intAttr(e,"val");break;case"pStyle":t.styleName=n.attr(e,"val");break;case"rPr":t.runProps=K(e,n);break;default:return!1}return!0}function ne(e,t){let n={id:t.attr(e,"numId"),overrides:[]};for(let r of t.elements(e))switch(r.localName){case"abstractNumId":n.abstractId=t.attr(r,"val");break;case"lvlOverride":n.overrides.push(ie(r,t))}return n}function re(e,t){let n={id:t.attr(e,"abstractNumId"),levels:[]};for(let r of t.elements(e))switch(r.localName){case"name":n.name=t.attr(r,"val");break;case"multiLevelType":n.multiLevelType=t.attr(r,"val");break;case"numStyleLink":n.numberingStyleLink=t.attr(r,"val");break;case"styleLink":n.styleLink=t.attr(r,"val");break;case"lvl":n.levels.push(oe(r,t))}return n}function oe(e,t){let n={level:t.intAttr(e,"ilvl")};for(let r of t.elements(e))switch(r.localName){case"start":n.start=t.attr(r,"val");break;case"lvlRestart":n.restart=t.intAttr(r,"val");break;case"numFmt":n.format=t.attr(r,"val");break;case"lvlText":n.text=t.attr(r,"val");break;case"lvlJc":n.justification=t.attr(r,"val");break;case"lvlPicBulletId":n.bulletPictureId=t.attr(r,"val");break;case"pStyle":n.paragraphStyle=t.attr(r,"val");break;case"pPr":n.paragraphProps=ee(r,t);break;case"rPr":n.runProps=K(r,t)}return n}function ie(e,t){let n={level:t.intAttr(e,"ilvl")};for(let r of t.elements(e))switch(r.localName){case"startOverride":n.start=t.intAttr(r,"val");break;case"lvl":n.numberingLevel=oe(r,t)}return n}function ae(e,t){var n=t.element(e,"pict"),r=n&&t.element(n,"shape"),o=r&&t.element(r,"imagedata");return o?{id:t.attr(e,"numPicBulletId"),referenceId:t.attr(o,"id"),style:t.attr(r,"style")}:null}!function(e){e.Continuous="continuous",e.NextPage="nextPage",e.NextColumn="nextColumn",e.EvenPage="evenPage",e.OddPage="oddPage"}(X||(X={}));class se extends E{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){Object.assign(this,function(e,t){let n={numberings:[],abstractNumberings:[],bulletPictures:[]};for(let r of t.elements(e))switch(r.localName){case"num":n.numberings.push(ne(r,t));break;case"abstractNum":n.abstractNumberings.push(re(r,t));break;case"numPicBullet":n.bulletPictures.push(ae(r,t))}return n}(e,this._package.xmlParser)),this.domNumberings=this._documentParser.parseNumberingFile(e)}}class le extends E{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){this.styles=this._documentParser.parseStylesFile(e)}}!function(e){e.Document="document",e.Paragraph="paragraph",e.Run="run",e.Break="break",e.NoBreakHyphen="noBreakHyphen",e.Table="table",e.Row="row",e.Cell="cell",e.Hyperlink="hyperlink",e.SmartTag="smartTag",e.Drawing="drawing",e.Image="image",e.Text="text",e.Tab="tab",e.Symbol="symbol",e.BookmarkStart="bookmarkStart",e.BookmarkEnd="bookmarkEnd",e.Footer="footer",e.Header="header",e.FootnoteReference="footnoteReference",e.EndnoteReference="endnoteReference",e.Footnote="footnote",e.Endnote="endnote",e.SimpleField="simpleField",e.ComplexField="complexField",e.Instruction="instruction",e.VmlPicture="vmlPicture",e.MmlMath="mmlMath",e.MmlMathParagraph="mmlMathParagraph",e.MmlFraction="mmlFraction",e.MmlFunction="mmlFunction",e.MmlFunctionName="mmlFunctionName",e.MmlNumerator="mmlNumerator",e.MmlDenominator="mmlDenominator",e.MmlRadical="mmlRadical",e.MmlBase="mmlBase",e.MmlDegree="mmlDegree",e.MmlSuperscript="mmlSuperscript",e.MmlSubscript="mmlSubscript",e.MmlPreSubSuper="mmlPreSubSuper",e.MmlSubArgument="mmlSubArgument",e.MmlSuperArgument="mmlSuperArgument",e.MmlNary="mmlNary",e.MmlDelimiter="mmlDelimiter",e.MmlRun="mmlRun",e.MmlEquationArray="mmlEquationArray",e.MmlLimit="mmlLimit",e.MmlLimitLower="mmlLimitLower",e.MmlMatrix="mmlMatrix",e.MmlMatrixRow="mmlMatrixRow",e.MmlBox="mmlBox",e.MmlBar="mmlBar",e.MmlGroupChar="mmlGroupChar",e.VmlElement="vmlElement",e.Inserted="inserted",e.Deleted="deleted",e.DeletedText="deletedText",e.Comment="comment",e.CommentReference="commentReference",e.CommentRangeStart="commentRangeStart",e.CommentRangeEnd="commentRangeEnd"}(j||(j={}));class ce{constructor(){this.children=[],this.cssStyle={}}}class ue extends ce{constructor(){super(...arguments),this.type=j.Header}}class de extends ce{constructor(){super(...arguments),this.type=j.Footer}}class fe extends E{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){this.rootElement=this.createRootElement(),this.rootElement.children=this._documentParser.parseBodyElements(e)}}class he extends fe{createRootElement(){return new ue}}class pe extends fe{createRootElement(){return new de}}function me(e){if(void 0!==e)return parseInt(e)}class ge extends E{parseXml(e){this.props=function(e,t){const n={};for(let r of t.elements(e))switch(r.localName){case"Template":n.template=r.textContent;break;case"Pages":n.pages=me(r.textContent);break;case"Words":n.words=me(r.textContent);break;case"Characters":n.characters=me(r.textContent);break;case"Application":n.application=r.textContent;break;case"Lines":n.lines=me(r.textContent);break;case"Paragraphs":n.paragraphs=me(r.textContent);break;case"Company":n.company=r.textContent;break;case"AppVersion":n.appVersion=r.textContent}return n}(e,this._package.xmlParser)}}class Ae extends E{parseXml(e){this.props=function(e,t){const n={};for(let r of t.elements(e))switch(r.localName){case"title":n.title=r.textContent;break;case"description":n.description=r.textContent;break;case"subject":n.subject=r.textContent;break;case"creator":n.creator=r.textContent;break;case"keywords":n.keywords=r.textContent;break;case"language":n.language=r.textContent;break;case"lastModifiedBy":n.lastModifiedBy=r.textContent;break;case"revision":r.textContent&&(n.revision=parseInt(r.textContent))}return n}(e,this._package.xmlParser)}}class ve{}function ye(e,t){var n={name:t.attr(e,"name"),colors:{}};for(let i of t.elements(e)){var r=t.element(i,"srgbClr"),o=t.element(i,"sysClr");r?n.colors[i.localName]=t.attr(r,"val"):o&&(n.colors[i.localName]=t.attr(o,"lastClr"))}return n}function Oe(e,t){var n={name:t.attr(e,"name")};for(let r of t.elements(e))switch(r.localName){case"majorFont":n.majorFont=be(r,t);break;case"minorFont":n.minorFont=be(r,t)}return n}function be(e,t){return{latinTypeface:t.elementAttr(e,"latin","typeface"),eaTypeface:t.elementAttr(e,"ea","typeface"),csTypeface:t.elementAttr(e,"cs","typeface")}}class we extends E{constructor(e,t){super(e,t)}parseXml(e){this.theme=function(e,t){var n=new ve,r=t.element(e,"themeElements");for(let e of t.elements(r))switch(e.localName){case"clrScheme":n.colorScheme=ye(e,t);break;case"fontScheme":n.fontScheme=Oe(e,t)}return n}(e,this._package.xmlParser)}}class _e{}class xe extends _e{constructor(){super(...arguments),this.type=j.Footnote}}class Se extends _e{constructor(){super(...arguments),this.type=j.Endnote}}class ke extends E{constructor(e,t,n){super(e,t),this._documentParser=n}}class Ce extends ke{constructor(e,t,n){super(e,t,n)}parseXml(e){this.notes=this._documentParser.parseNotes(e,"footnote",xe)}}class Be extends ke{constructor(e,t,n){super(e,t,n)}parseXml(e){this.notes=this._documentParser.parseNotes(e,"endnote",Se)}}function Qe(e,t){var n={defaultNoteIds:[]};for(let r of t.elements(e))switch(r.localName){case"numFmt":n.nummeringFormat=t.attr(r,"val");break;case"footnote":case"endnote":n.defaultNoteIds.push(t.attr(r,"id"))}return n}class Te extends E{constructor(e,t){super(e,t)}parseXml(e){this.settings=function(e,t){var n={};for(let r of t.elements(e))switch(r.localName){case"defaultTabStop":n.defaultTabStop=t.lengthAttr(r,"val");break;case"footnotePr":n.footnoteProps=Qe(r,t);break;case"endnotePr":n.endnoteProps=Qe(r,t);break;case"autoHyphenation":n.autoHyphenation=t.boolAttr(r,"val")}return n}(e,this._package.xmlParser)}}class Ee extends E{parseXml(e){this.props=function(e,t){return t.elements(e,"property").map((e=>{const n=e.firstChild;return{formatId:t.attr(e,"fmtid"),name:t.attr(e,"name"),type:n.nodeName,value:n.textContent}}))}(e,this._package.xmlParser)}}class Pe extends E{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){this.comments=this._documentParser.parseComments(e),this.commentMap=I(this.comments,(e=>e.id))}}class $e extends E{constructor(e,t){super(e,t),this.comments=[]}parseXml(e){const t=this._package.xmlParser;for(let n of t.elements(e,"commentEx"))this.comments.push({paraId:t.attr(n,"paraId"),paraIdParent:t.attr(n,"paraIdParent"),done:t.boolAttr(n,"done")});this.commentMap=I(this.comments,(e=>e.paraId))}}const Me=[{type:y.OfficeDocument,target:"word/document.xml"},{type:y.ExtendedProperties,target:"docProps/app.xml"},{type:y.CoreProperties,target:"docProps/core.xml"},{type:y.CustomProperties,target:"docProps/custom.xml"}];class ze{constructor(){this.parts=[],this.partsMap={}}static load(e,t,n){return f(this,null,(function*(){var r=new ze;return r._options=n,r._parser=t,r._package=yield U.load(e,n),r.rels=yield r._package.loadRelationships(),yield Promise.all(Me.map((e=>{var t;const n=null!=(t=r.rels.find((t=>t.type===e.type)))?t:e;return r.loadRelationshipPart(n.target,n.type)}))),r}))}save(e="blob"){return this._package.save(e)}loadRelationshipPart(e,t){return f(this,null,(function*(){var n;if(this.partsMap[e])return this.partsMap[e];if(!this._package.get(e))return null;let r=null;switch(t){case y.OfficeDocument:this.documentPart=r=new F(this._package,e,this._parser);break;case y.FontTable:this.fontTablePart=r=new z(this._package,e);break;case y.Numbering:this.numberingPart=r=new se(this._package,e,this._parser);break;case y.Styles:this.stylesPart=r=new le(this._package,e,this._parser);break;case y.Theme:this.themePart=r=new we(this._package,e);break;case y.Footnotes:this.footnotesPart=r=new Ce(this._package,e,this._parser);break;case y.Endnotes:this.endnotesPart=r=new Be(this._package,e,this._parser);break;case y.Footer:r=new pe(this._package,e,this._parser);break;case y.Header:r=new he(this._package,e,this._parser);break;case y.CoreProperties:this.corePropsPart=r=new Ae(this._package,e);break;case y.ExtendedProperties:this.extendedPropsPart=r=new ge(this._package,e);break;case y.CustomProperties:r=new Ee(this._package,e);break;case y.Settings:this.settingsPart=r=new Te(this._package,e);break;case y.Comments:this.commentsPart=r=new Pe(this._package,e,this._parser);break;case y.CommentsExtended:this.commentsExtendedPart=r=new $e(this._package,e)}if(null==r)return Promise.resolve(null);if(this.partsMap[e]=r,this.parts.push(r),yield r.load(),(null==(n=r.rels)?void 0:n.length)>0){const[e]=R(r.path);yield Promise.all(r.rels.map((t=>this.loadRelationshipPart(D(t.target,e),t.type))))}return r}))}loadDocumentImage(e,t){return f(this,null,(function*(){const n=yield this.loadResource(null!=t?t:this.documentPart,e,"blob");return this.blobToURL(n)}))}loadNumberingImage(e){return f(this,null,(function*(){const t=yield this.loadResource(this.numberingPart,e,"blob");return this.blobToURL(t)}))}loadFont(e,t){return f(this,null,(function*(){const n=yield this.loadResource(this.fontTablePart,e,"uint8array");return n&&this.blobToURL(new Blob([Re(n,t)]))}))}blobToURL(e){return e?this._options.useBase64URL?function(e){return new Promise(((t,n)=>{const r=new FileReader;r.onloadend=()=>t(r.result),r.onerror=()=>n(),r.readAsDataURL(e)}))}(e):URL.createObjectURL(e):null}findPartByRelId(e,t=null){var n,r=(null!=(n=t.rels)?n:this.rels).find((t=>t.id==e));const o=t?R(t.path)[0]:"";return r?this.partsMap[D(r.target,o)]:null}getPathById(e,t){const n=e.rels.find((e=>e.id==t)),[r]=R(e.path);return n?D(n.target,r):null}loadResource(e,t,n){const r=this.getPathById(e,t);return r?this._package.load(r,n):Promise.resolve(null)}}function Re(e,t){const n=t.replace(/{|}|-/g,""),r=new Array(16);for(let e=0;e<16;e++)r[16-e-1]=parseInt(n.substr(2*e,2),16);for(let t=0;t<32;t++)e[t]=e[t]^r[t%16];return e}function De(e,t){return{type:j.BookmarkStart,id:t.attr(e,"id"),name:t.attr(e,"name"),colFirst:t.intAttr(e,"colFirst"),colLast:t.intAttr(e,"colLast")}}function Ie(e,t){return{type:j.BookmarkEnd,id:t.attr(e,"id")}}class Ne extends ce{constructor(){super(...arguments),this.type=j.VmlElement,this.attrs={}}}function Le(e,t){var n=new Ne;switch(e.localName){case"rect":n.tagName="rect",Object.assign(n.attrs,{width:"100%",height:"100%"});break;case"oval":n.tagName="ellipse",Object.assign(n.attrs,{cx:"50%",cy:"50%",rx:"50%",ry:"50%"});break;case"line":n.tagName="line";break;case"shape":n.tagName="g";break;case"textbox":n.tagName="foreignObject",Object.assign(n.attrs,{width:"100%",height:"100%"});break;default:return null}for(const t of T.attrs(e))switch(t.localName){case"style":n.cssStyleText=t.value;break;case"fillcolor":n.attrs.fill=t.value;break;case"from":const[e,r]=Ue(t.value);Object.assign(n.attrs,{x1:e,y1:r});break;case"to":const[o,i]=Ue(t.value);Object.assign(n.attrs,{x2:o,y2:i})}for(const r of T.elements(e))switch(r.localName){case"stroke":Object.assign(n.attrs,Ve(r));break;case"fill":Object.assign(n.attrs,{});break;case"imagedata":n.tagName="image",Object.assign(n.attrs,{width:"100%",height:"100%"}),n.imageHref={id:T.attr(r,"id"),title:T.attr(r,"title")};break;case"txbxContent":n.children.push(...t.parseBodyElements(r));break;default:const e=Le(r,t);e&&n.children.push(e)}return n}function Ve(e){var t;return{stroke:T.attr(e,"color"),"stroke-width":null!=(t=T.lengthAttr(e,"weight",w))?t:"1px"}}function Ue(e){return e.split(",")}class Fe extends ce{constructor(){super(...arguments),this.type=j.Comment}}class He extends ce{constructor(e){super(),this.id=e,this.type=j.CommentReference}}class We extends ce{constructor(e){super(),this.id=e,this.type=j.CommentRangeStart}}class Xe extends ce{constructor(e){super(),this.id=e,this.type=j.CommentRangeEnd}}var je="inherit",qe="black",Ze="black",Ye="transparent";const Ge=[],Ke={oMath:j.MmlMath,oMathPara:j.MmlMathParagraph,f:j.MmlFraction,func:j.MmlFunction,fName:j.MmlFunctionName,num:j.MmlNumerator,den:j.MmlDenominator,rad:j.MmlRadical,deg:j.MmlDegree,e:j.MmlBase,sSup:j.MmlSuperscript,sSub:j.MmlSubscript,sPre:j.MmlPreSubSuper,sup:j.MmlSuperArgument,sub:j.MmlSubArgument,d:j.MmlDelimiter,nary:j.MmlNary,eqArr:j.MmlEquationArray,lim:j.MmlLimit,limLow:j.MmlLimitLower,m:j.MmlMatrix,mr:j.MmlMatrixRow,box:j.MmlBox,bar:j.MmlBar,groupChr:j.MmlGroupChar};class Je{constructor(e){this.options=u({ignoreWidth:!1,debug:!1},e)}parseNotes(e,t,n){var r=[];for(let o of T.elements(e,t)){const e=new n;e.id=T.attr(o,"id"),e.noteType=T.attr(o,"type"),e.children=this.parseBodyElements(o),r.push(e)}return r}parseComments(e){var t=[];for(let n of T.elements(e,"comment")){const e=new Fe;e.id=T.attr(n,"id"),e.author=T.attr(n,"author"),e.initials=T.attr(n,"initials"),e.date=T.attr(n,"date"),e.children=this.parseBodyElements(n),t.push(e)}return t}parseDocumentFile(e){var t=T.element(e,"body"),n=T.element(e,"background"),r=T.element(t,"sectPr");return{type:j.Document,children:this.parseBodyElements(t),props:r?q(r,T):{},cssStyle:n?this.parseBackground(n):{}}}parseBackground(e){var t={},n=tt.colorAttr(e,"color");return n&&(t["background-color"]=n),t}parseBodyElements(e){var t=[];for(let n of T.elements(e))switch(n.localName){case"p":t.push(this.parseParagraph(n));break;case"tbl":t.push(this.parseTable(n));break;case"sdt":t.push(...this.parseSdt(n,(e=>this.parseBodyElements(e))))}return t}parseStylesFile(e){var t=[];return tt.foreach(e,(e=>{switch(e.localName){case"style":t.push(this.parseStyle(e));break;case"docDefaults":t.push(this.parseDefaultStyles(e))}})),t}parseDefaultStyles(e){var t={id:null,name:null,target:null,basedOn:null,styles:[]};return tt.foreach(e,(e=>{switch(e.localName){case"rPrDefault":var n=T.element(e,"rPr");n&&t.styles.push({target:"span",values:this.parseDefaultProperties(n,{})});break;case"pPrDefault":var r=T.element(e,"pPr");r&&t.styles.push({target:"p",values:this.parseDefaultProperties(r,{})})}})),t}parseStyle(e){var t={id:T.attr(e,"styleId"),isDefault:T.boolAttr(e,"default"),name:null,target:null,basedOn:null,styles:[],linked:null};switch(T.attr(e,"type")){case"paragraph":t.target="p";break;case"table":t.target="table";break;case"character":t.target="span"}return tt.foreach(e,(e=>{switch(e.localName){case"basedOn":t.basedOn=T.attr(e,"val");break;case"name":t.name=T.attr(e,"val");break;case"link":t.linked=T.attr(e,"val");break;case"next":t.next=T.attr(e,"val");break;case"aliases":t.aliases=T.attr(e,"val").split(",");break;case"pPr":t.styles.push({target:"p",values:this.parseDefaultProperties(e,{})}),t.paragraphProps=ee(e,T);break;case"rPr":t.styles.push({target:"span",values:this.parseDefaultProperties(e,{})}),t.runProps=K(e,T);break;case"tblPr":case"tcPr":t.styles.push({target:"td",values:this.parseDefaultProperties(e,{})});break;case"tblStylePr":for(let n of this.parseTableStyle(e))t.styles.push(n);break;case"rsid":case"qFormat":case"hidden":case"semiHidden":case"unhideWhenUsed":case"autoRedefine":case"uiPriority":break;default:this.options.debug&&console.warn(`DOCX: Unknown style element: ${e.localName}`)}})),t}parseTableStyle(e){var t=[],n=T.attr(e,"type"),r="",o="";switch(n){case"firstRow":o=".first-row",r="tr.first-row td";break;case"lastRow":o=".last-row",r="tr.last-row td";break;case"firstCol":o=".first-col",r="td.first-col";break;case"lastCol":o=".last-col",r="td.last-col";break;case"band1Vert":o=":not(.no-vband)",r="td.odd-col";break;case"band2Vert":o=":not(.no-vband)",r="td.even-col";break;case"band1Horz":o=":not(.no-hband)",r="tr.odd-row";break;case"band2Horz":o=":not(.no-hband)",r="tr.even-row";break;default:return[]}return tt.foreach(e,(e=>{switch(e.localName){case"pPr":t.push({target:`${r} p`,mod:o,values:this.parseDefaultProperties(e,{})});break;case"rPr":t.push({target:`${r} span`,mod:o,values:this.parseDefaultProperties(e,{})});break;case"tblPr":case"tcPr":t.push({target:r,mod:o,values:this.parseDefaultProperties(e,{})})}})),t}parseNumberingFile(e){var t=[],n={},r=[];return tt.foreach(e,(e=>{switch(e.localName){case"abstractNum":this.parseAbstractNumbering(e,r).forEach((e=>t.push(e)));break;case"numPicBullet":r.push(this.parseNumberingPicBullet(e));break;case"num":var o=T.attr(e,"numId"),i=T.elementAttr(e,"abstractNumId","val");n[i]=o}})),t.forEach((e=>e.id=n[e.id])),t}parseNumberingPicBullet(e){var t=T.element(e,"pict"),n=t&&T.element(t,"shape"),r=n&&T.element(n,"imagedata");return r?{id:T.intAttr(e,"numPicBulletId"),src:T.attr(r,"id"),style:T.attr(n,"style")}:null}parseAbstractNumbering(e,t){var n=[],r=T.attr(e,"abstractNumId");return tt.foreach(e,(e=>{"lvl"===e.localName&&n.push(this.parseNumberingLevel(r,e,t))})),n}parseNumberingLevel(e,t,n){var r={id:e,level:T.intAttr(t,"ilvl"),start:1,pStyleName:void 0,pStyle:{},rStyle:{},suff:"tab"};return tt.foreach(t,(e=>{switch(e.localName){case"start":r.start=T.intAttr(e,"val");break;case"pPr":this.parseDefaultProperties(e,r.pStyle);break;case"rPr":this.parseDefaultProperties(e,r.rStyle);break;case"lvlPicBulletId":var t=T.intAttr(e,"val");r.bullet=n.find((e=>(null==e?void 0:e.id)==t));break;case"lvlText":r.levelText=T.attr(e,"val");break;case"pStyle":r.pStyleName=T.attr(e,"val");break;case"numFmt":r.format=T.attr(e,"val");break;case"suff":r.suff=T.attr(e,"val")}})),r}parseSdt(e,t){const n=T.element(e,"sdtContent");return n?t(n):[]}parseInserted(e,t){var n,r;return{type:j.Inserted,children:null!=(r=null==(n=t(e))?void 0:n.children)?r:[]}}parseDeleted(e,t){var n,r;return{type:j.Deleted,children:null!=(r=null==(n=t(e))?void 0:n.children)?r:[]}}parseParagraph(e){var t={type:j.Paragraph,children:[]};for(let n of T.elements(e))switch(n.localName){case"pPr":this.parseParagraphProperties(n,t);break;case"r":t.children.push(this.parseRun(n,t));break;case"hyperlink":t.children.push(this.parseHyperlink(n,t));break;case"smartTag":t.children.push(this.parseSmartTag(n,t));break;case"bookmarkStart":t.children.push(De(n,T));break;case"bookmarkEnd":t.children.push(Ie(n,T));break;case"commentRangeStart":t.children.push(new We(T.attr(n,"id")));break;case"commentRangeEnd":t.children.push(new Xe(T.attr(n,"id")));break;case"oMath":case"oMathPara":t.children.push(this.parseMathElement(n));break;case"sdt":t.children.push(...this.parseSdt(n,(e=>this.parseParagraph(e).children)));break;case"ins":t.children.push(this.parseInserted(n,(e=>this.parseParagraph(e))));break;case"del":t.children.push(this.parseDeleted(n,(e=>this.parseParagraph(e))))}return t}parseParagraphProperties(e,t){this.parseDefaultProperties(e,t.cssStyle={},null,(e=>{if(te(e,t,T))return!0;switch(e.localName){case"pStyle":t.styleName=T.attr(e,"val");break;case"cnfStyle":t.className=nt.classNameOfCnfStyle(e);break;case"framePr":this.parseFrame(e,t);break;case"rPr":break;default:return!1}return!0}))}parseFrame(e,t){"drop"==T.attr(e,"dropCap")&&(t.cssStyle.float="left")}parseHyperlink(e,t){var n={type:j.Hyperlink,parent:t,children:[]},r=T.attr(e,"anchor"),o=T.attr(e,"id");return r&&(n.href="#"+r),o&&(n.id=o),tt.foreach(e,(e=>{"r"===e.localName&&n.children.push(this.parseRun(e,n))})),n}parseSmartTag(e,t){var n={type:j.SmartTag,parent:t,children:[]},r=T.attr(e,"uri"),o=T.attr(e,"element");return r&&(n.uri=r),o&&(n.element=o),tt.foreach(e,(e=>{"r"===e.localName&&n.children.push(this.parseRun(e,n))})),n}parseRun(e,t){var n={type:j.Run,parent:t,children:[]};return tt.foreach(e,(e=>{switch((e=this.checkAlternateContent(e)).localName){case"t":n.children.push({type:j.Text,text:e.textContent});break;case"delText":n.children.push({type:j.DeletedText,text:e.textContent});break;case"commentReference":n.children.push(new He(T.attr(e,"id")));break;case"fldSimple":n.children.push({type:j.SimpleField,instruction:T.attr(e,"instr"),lock:T.boolAttr(e,"lock",!1),dirty:T.boolAttr(e,"dirty",!1)});break;case"instrText":n.fieldRun=!0,n.children.push({type:j.Instruction,text:e.textContent});break;case"fldChar":n.fieldRun=!0,n.children.push({type:j.ComplexField,charType:T.attr(e,"fldCharType"),lock:T.boolAttr(e,"lock",!1),dirty:T.boolAttr(e,"dirty",!1)});break;case"noBreakHyphen":n.children.push({type:j.NoBreakHyphen});break;case"br":n.children.push({type:j.Break,break:T.attr(e,"type")||"textWrapping"});break;case"lastRenderedPageBreak":n.children.push({type:j.Break,break:"lastRenderedPageBreak"});break;case"sym":n.children.push({type:j.Symbol,font:T.attr(e,"font"),char:T.attr(e,"char")});break;case"tab":n.children.push({type:j.Tab});break;case"footnoteReference":n.children.push({type:j.FootnoteReference,id:T.attr(e,"id")});break;case"endnoteReference":n.children.push({type:j.EndnoteReference,id:T.attr(e,"id")});break;case"drawing":let t=this.parseDrawing(e);t&&(n.children=[t]);break;case"pict":n.children.push(this.parseVmlPicture(e));break;case"rPr":this.parseRunProperties(e,n)}})),n}parseMathElement(e){const t=`${e.localName}Pr`,n={type:Ke[e.localName],children:[]};for(const o of T.elements(e))if(Ke[o.localName])n.children.push(this.parseMathElement(o));else if("r"==o.localName){var r=this.parseRun(o);r.type=j.MmlRun,n.children.push(r)}else o.localName==t&&(n.props=this.parseMathProperies(o));return n}parseMathProperies(e){const t={};for(const n of T.elements(e))switch(n.localName){case"chr":t.char=T.attr(n,"val");break;case"vertJc":t.verticalJustification=T.attr(n,"val");break;case"pos":t.position=T.attr(n,"val");break;case"degHide":t.hideDegree=T.boolAttr(n,"val");break;case"begChr":t.beginChar=T.attr(n,"val");break;case"endChr":t.endChar=T.attr(n,"val")}return t}parseRunProperties(e,t){this.parseDefaultProperties(e,t.cssStyle={},null,(e=>{switch(e.localName){case"rStyle":t.styleName=T.attr(e,"val");break;case"vertAlign":t.verticalAlign=nt.valueOfVertAlign(e,!0);break;default:return!1}return!0}))}parseVmlPicture(e){const t={type:j.VmlPicture,children:[]};for(const n of T.elements(e)){const e=Le(n,this);e&&t.children.push(e)}return t}checkAlternateContent(e){var t;if("AlternateContent"!=e.localName)return e;var n=T.element(e,"Choice");if(n){var r=T.attr(n,"Requires"),o=e.lookupNamespaceURI(r);if(Ge.includes(o))return n.firstElementChild}return null==(t=T.element(e,"Fallback"))?void 0:t.firstElementChild}parseDrawing(e){for(var t of T.elements(e))switch(t.localName){case"inline":case"anchor":return this.parseDrawingWrapper(t)}}parseDrawingWrapper(e){var t,n={type:j.Drawing,children:[],cssStyle:{}},r="anchor"==e.localName;let o=null,i=T.boolAttr(e,"simplePos");T.boolAttr(e,"behindDoc");let a={relative:"page",align:"left",offset:"0"},s={relative:"page",align:"top",offset:"0"};for(var l of T.elements(e))switch(l.localName){case"simplePos":i&&(a.offset=T.lengthAttr(l,"x",w),s.offset=T.lengthAttr(l,"y",w));break;case"extent":n.cssStyle.width=T.lengthAttr(l,"cx",w),n.cssStyle.height=T.lengthAttr(l,"cy",w);break;case"positionH":case"positionV":if(!i){let e="positionH"==l.localName?a:s;var c=T.element(l,"align"),u=T.element(l,"posOffset");e.relative=null!=(t=T.attr(l,"relativeFrom"))?t:e.relative,c&&(e.align=c.textContent),u&&(e.offset=tt.sizeValue(u,w))}break;case"wrapTopAndBottom":o="wrapTopAndBottom";break;case"wrapNone":o="wrapNone";break;case"graphic":var d=this.parseGraphic(l);d&&n.children.push(d)}return"wrapTopAndBottom"==o?(n.cssStyle.display="block",a.align&&(n.cssStyle["text-align"]=a.align,n.cssStyle.width="100%")):"wrapNone"==o?(n.cssStyle.display="block",n.cssStyle.position="relative",n.cssStyle.width="0px",n.cssStyle.height="0px",a.offset&&(n.cssStyle.left=a.offset),s.offset&&(n.cssStyle.top=s.offset)):r&&("left"==a.align||"right"==a.align)&&(n.cssStyle.float=a.align),n}parseGraphic(e){var t=T.element(e,"graphicData");for(let e of T.elements(t))if("pic"===e.localName)return this.parsePicture(e);return null}parsePicture(e){var t={type:j.Image,src:"",cssStyle:{}},n=T.element(e,"blipFill"),r=T.element(n,"blip");t.src=T.attr(r,"embed");var o=T.element(e,"spPr"),i=T.element(o,"xfrm");for(var a of(t.cssStyle.position="relative",T.elements(i)))switch(a.localName){case"ext":t.cssStyle.width=T.lengthAttr(a,"cx",w),t.cssStyle.height=T.lengthAttr(a,"cy",w);break;case"off":t.cssStyle.left=T.lengthAttr(a,"x",w),t.cssStyle.top=T.lengthAttr(a,"y",w)}return t}parseTable(e){var t={type:j.Table,children:[]};return tt.foreach(e,(e=>{switch(e.localName){case"tr":t.children.push(this.parseTableRow(e));break;case"tblGrid":t.columns=this.parseTableColumns(e);break;case"tblPr":this.parseTableProperties(e,t)}})),t}parseTableColumns(e){var t=[];return tt.foreach(e,(e=>{"gridCol"===e.localName&&t.push({width:T.lengthAttr(e,"w")})})),t}parseTableProperties(e,t){switch(t.cssStyle={},t.cellStyle={},this.parseDefaultProperties(e,t.cssStyle,t.cellStyle,(e=>{switch(e.localName){case"tblStyle":t.styleName=T.attr(e,"val");break;case"tblLook":t.className=nt.classNameOftblLook(e);break;case"tblpPr":this.parseTablePosition(e,t);break;case"tblStyleColBandSize":t.colBandSize=T.intAttr(e,"val");break;case"tblStyleRowBandSize":t.rowBandSize=T.intAttr(e,"val");break;default:return!1}return!0})),t.cssStyle["text-align"]){case"center":delete t.cssStyle["text-align"],t.cssStyle["margin-left"]="auto",t.cssStyle["margin-right"]="auto";break;case"right":delete t.cssStyle["text-align"],t.cssStyle["margin-left"]="auto"}}parseTablePosition(e,t){var n=T.lengthAttr(e,"topFromText"),r=T.lengthAttr(e,"bottomFromText"),o=T.lengthAttr(e,"rightFromText"),i=T.lengthAttr(e,"leftFromText");t.cssStyle.float="left",t.cssStyle["margin-bottom"]=nt.addSize(t.cssStyle["margin-bottom"],r),t.cssStyle["margin-left"]=nt.addSize(t.cssStyle["margin-left"],i),t.cssStyle["margin-right"]=nt.addSize(t.cssStyle["margin-right"],o),t.cssStyle["margin-top"]=nt.addSize(t.cssStyle["margin-top"],n)}parseTableRow(e){var t={type:j.Row,children:[]};return tt.foreach(e,(e=>{switch(e.localName){case"tc":t.children.push(this.parseTableCell(e));break;case"trPr":this.parseTableRowProperties(e,t)}})),t}parseTableRowProperties(e,t){t.cssStyle=this.parseDefaultProperties(e,{},null,(e=>{switch(e.localName){case"cnfStyle":t.className=nt.classNameOfCnfStyle(e);break;case"tblHeader":t.isHeader=T.boolAttr(e,"val");break;default:return!1}return!0}))}parseTableCell(e){var t={type:j.Cell,children:[]};return tt.foreach(e,(e=>{switch(e.localName){case"tbl":t.children.push(this.parseTable(e));break;case"p":t.children.push(this.parseParagraph(e));break;case"tcPr":this.parseTableCellProperties(e,t)}})),t}parseTableCellProperties(e,t){t.cssStyle=this.parseDefaultProperties(e,{},null,(e=>{var n;switch(e.localName){case"gridSpan":t.span=T.intAttr(e,"val",null);break;case"vMerge":t.verticalMerge=null!=(n=T.attr(e,"val"))?n:"continue";break;case"cnfStyle":t.className=nt.classNameOfCnfStyle(e);break;default:return!1}return!0}))}parseDefaultProperties(e,t=null,n=null,r=null){return t=t||{},tt.foreach(e,(o=>{if(null==r||!r(o))switch(o.localName){case"jc":t["text-align"]=nt.valueOfJc(o);break;case"textAlignment":t["vertical-align"]=nt.valueOfTextAlignment(o);break;case"color":t.color=tt.colorAttr(o,"val",null,qe);break;case"sz":t["font-size"]=t["min-height"]=T.lengthAttr(o,"val",_);break;case"shd":t["background-color"]=tt.colorAttr(o,"fill",null,je);break;case"highlight":t["background-color"]=tt.colorAttr(o,"val",null,Ye);break;case"vertAlign":break;case"position":t.verticalAlign=T.lengthAttr(o,"val",_);break;case"tcW":if(this.options.ignoreWidth)break;case"tblW":t.width=nt.valueOfSize(o,"w");break;case"trHeight":this.parseTrHeight(o,t);break;case"strike":t["text-decoration"]=T.boolAttr(o,"val",!0)?"line-through":"none";break;case"b":t["font-weight"]=T.boolAttr(o,"val",!0)?"bold":"normal";break;case"i":t["font-style"]=T.boolAttr(o,"val",!0)?"italic":"normal";break;case"caps":t["text-transform"]=T.boolAttr(o,"val",!0)?"uppercase":"none";break;case"smallCaps":t["font-variant"]=T.boolAttr(o,"val",!0)?"small-caps":"none";break;case"u":this.parseUnderline(o,t);break;case"ind":case"tblInd":this.parseIndentation(o,t);break;case"rFonts":this.parseFont(o,t);break;case"tblBorders":this.parseBorderProperties(o,n||t);break;case"tblCellSpacing":t["border-spacing"]=nt.valueOfMargin(o),t["border-collapse"]="separate";break;case"pBdr":this.parseBorderProperties(o,t);break;case"bdr":t.border=nt.valueOfBorder(o);break;case"tcBorders":this.parseBorderProperties(o,t);break;case"vanish":T.boolAttr(o,"val",!0)&&(t.display="none");break;case"kern":case"noWrap":break;case"tblCellMar":case"tcMar":this.parseMarginProperties(o,n||t);break;case"tblLayout":t["table-layout"]=nt.valueOfTblLayout(o);break;case"vAlign":t["vertical-align"]=nt.valueOfTextAlignment(o);break;case"spacing":"pPr"==e.localName&&this.parseSpacing(o,t);break;case"wordWrap":T.boolAttr(o,"val")&&(t["overflow-wrap"]="break-word");break;case"suppressAutoHyphens":t.hyphens=T.boolAttr(o,"val",!0)?"none":"auto";break;case"lang":t.$lang=T.attr(o,"val");break;case"bCs":case"iCs":case"szCs":case"tabs":case"outlineLvl":case"contextualSpacing":case"tblStyleColBandSize":case"tblStyleRowBandSize":case"webHidden":case"pageBreakBefore":case"suppressLineNumbers":case"keepLines":case"keepNext":case"widowControl":case"bidi":case"rtl":case"noProof":break;default:this.options.debug&&console.warn(`DOCX: Unknown document element: ${e.localName}.${o.localName}`)}})),t}parseUnderline(e,t){var n=T.attr(e,"val");if(null!=n){switch(n){case"dash":case"dashDotDotHeavy":case"dashDotHeavy":case"dashedHeavy":case"dashLong":case"dashLongHeavy":case"dotDash":case"dotDotDash":t["text-decoration"]="underline dashed";break;case"dotted":case"dottedHeavy":t["text-decoration"]="underline dotted";break;case"double":t["text-decoration"]="underline double";break;case"single":case"thick":case"words":t["text-decoration"]="underline";break;case"wave":case"wavyDouble":case"wavyHeavy":t["text-decoration"]="underline wavy";break;case"none":t["text-decoration"]="none"}var r=tt.colorAttr(e,"color");r&&(t["text-decoration-color"]=r)}}parseFont(e,t){var n=[T.attr(e,"ascii"),nt.themeValue(e,"asciiTheme")].filter((e=>e)).join(", ");n.length>0&&(t["font-family"]=n)}parseIndentation(e,t){var n=T.lengthAttr(e,"firstLine"),r=T.lengthAttr(e,"hanging"),o=T.lengthAttr(e,"left"),i=T.lengthAttr(e,"start"),a=T.lengthAttr(e,"right"),s=T.lengthAttr(e,"end");n&&(t["text-indent"]=n),r&&(t["text-indent"]=`-${r}`),(o||i)&&(t["margin-left"]=o||i),(a||s)&&(t["margin-right"]=a||s)}parseSpacing(e,t){var n=T.lengthAttr(e,"before"),r=T.lengthAttr(e,"after"),o=T.intAttr(e,"line",null),i=T.attr(e,"lineRule");if(n&&(t["margin-top"]=n),r&&(t["margin-bottom"]=r),null!==o)switch(i){case"auto":t["line-height"]=`${(o/240).toFixed(2)}`;break;case"atLeast":t["line-height"]=`calc(100% + ${o/20}pt)`;break;default:t["line-height"]=t["min-height"]=o/20+"pt"}}parseMarginProperties(e,t){tt.foreach(e,(e=>{switch(e.localName){case"left":t["padding-left"]=nt.valueOfMargin(e);break;case"right":t["padding-right"]=nt.valueOfMargin(e);break;case"top":t["padding-top"]=nt.valueOfMargin(e);break;case"bottom":t["padding-bottom"]=nt.valueOfMargin(e)}}))}parseTrHeight(e,t){T.attr(e,"hRule"),t.height=T.lengthAttr(e,"val")}parseBorderProperties(e,t){tt.foreach(e,(e=>{switch(e.localName){case"start":case"left":t["border-left"]=nt.valueOfBorder(e);break;case"end":case"right":t["border-right"]=nt.valueOfBorder(e);break;case"top":t["border-top"]=nt.valueOfBorder(e);break;case"bottom":t["border-bottom"]=nt.valueOfBorder(e)}}))}}const et=["black","blue","cyan","darkBlue","darkCyan","darkGray","darkGreen","darkMagenta","darkRed","darkYellow","green","lightGray","magenta","none","red","white","yellow"];class tt{static foreach(e,t){for(var n=0;n<e.childNodes.length;n++){let r=e.childNodes[n];r.nodeType==Node.ELEMENT_NODE&&t(r)}}static colorAttr(e,t,n=null,r="black"){var o=T.attr(e,t);if(o)return"auto"==o?r:et.includes(o)?o:`#${o}`;var i=T.attr(e,"themeColor");return i?`var(--docx-${i}-color)`:n}static sizeValue(e,t=b){return C(e.textContent,t)}}class nt{static themeValue(e,t){var n=T.attr(e,t);return n?`var(--docx-${n}-font)`:null}static valueOfSize(e,t){var n=b;switch(T.attr(e,"type")){case"dxa":break;case"pct":n=k;break;case"auto":return"auto"}return T.lengthAttr(e,t,n)}static valueOfMargin(e){return T.lengthAttr(e,"w")}static valueOfBorder(e){if("nil"==T.attr(e,"val"))return"none";var t=tt.colorAttr(e,"color");return`${T.lengthAttr(e,"sz",x)} solid ${"auto"==t?Ze:t}`}static valueOfTblLayout(e){return"fixed"==T.attr(e,"val")?"fixed":"auto"}static classNameOfCnfStyle(e){const t=T.attr(e,"val");return["first-row","last-row","first-col","last-col","odd-col","even-col","odd-row","even-row","ne-cell","nw-cell","se-cell","sw-cell"].filter(((e,n)=>"1"==t[n])).join(" ")}static valueOfJc(e){var t=T.attr(e,"val");switch(t){case"start":case"left":return"left";case"center":return"center";case"end":case"right":return"right";case"both":return"justify"}return t}static valueOfVertAlign(e,t=!1){var n=T.attr(e,"val");switch(n){case"subscript":return"sub";case"superscript":return t?"sup":"super"}return t?null:n}static valueOfTextAlignment(e){var t=T.attr(e,"val");switch(t){case"auto":case"baseline":return"baseline";case"top":return"top";case"center":return"middle";case"bottom":return"bottom"}return t}static addSize(e,t){return null==e?t:null==t?e:`calc(${e} + ${t})`}static classNameOftblLook(e){const t=T.hexAttr(e,"val",0);let n="";return(T.boolAttr(e,"firstRow")||32&t)&&(n+=" first-row"),(T.boolAttr(e,"lastRow")||64&t)&&(n+=" last-row"),(T.boolAttr(e,"firstColumn")||128&t)&&(n+=" first-col"),(T.boolAttr(e,"lastColumn")||256&t)&&(n+=" last-col"),(T.boolAttr(e,"noHBand")||512&t)&&(n+=" no-hband"),(T.boolAttr(e,"noVBand")||1024&t)&&(n+=" no-vband"),n.trim()}}const rt={pos:0,leader:"none",style:"left"};function ot(e,t,n,r=.75){const o=e.closest("p"),i=e.getBoundingClientRect(),a=o.getBoundingClientRect(),s=getComputedStyle(o),l=(null==t?void 0:t.length)>0?t.map((e=>({pos:it(e.position),leader:e.leader,style:e.style}))).sort(((e,t)=>e.pos-t.pos)):[rt],c=l[l.length-1],f=a.width*r,h=it(n);let p=c.pos+h;if(p<f)for(;p<f&&l.length<50;p+=h)l.push(d(u({},rt),{pos:p}));const m=parseFloat(s.marginLeft),g=a.left+m,A=(i.left-g)*r,v=l.find((e=>"clear"!=e.style&&e.pos>A));if(null==v)return;let y=1;if("right"==v.style||"center"==v.style){const t=Array.from(o.querySelectorAll(`.${e.className}`)),n=t.indexOf(e)+1,i=document.createRange();i.setStart(e,1),n<t.length?i.setEndBefore(t[n]):i.setEndAfter(o);const s="center"==v.style?.5:1,l=i.getBoundingClientRect(),c=l.left+s*l.width-(a.left-m);y=v.pos-c*r}else y=v.pos-A;switch(e.innerHTML="&nbsp;",e.style.textDecoration="inherit",e.style.wordSpacing=`${y.toFixed(0)}pt`,v.leader){case"dot":case"middleDot":e.style.textDecoration="underline",e.style.textDecorationStyle="dotted";break;case"hyphen":case"heavy":case"underscore":e.style.textDecoration="underline"}}function it(e){return parseFloat(e)}const at="http://www.w3.org/2000/svg",st="http://www.w3.org/1998/Math/MathML";class lt{constructor(e){this.htmlDocument=e,this.className="docx",this.styleMap={},this.currentPart=null,this.tableVerticalMerges=[],this.currentVerticalMerge=null,this.tableCellPositions=[],this.currentCellPosition=null,this.footnoteMap={},this.endnoteMap={},this.currentEndnoteIds=[],this.usedHederFooterParts=[],this.currentTabs=[],this.tabsTimeout=0,this.commentMap={},this.tasks=[],this.postRenderTasks=[],this.createElement=ct}render(e,t,n=null,r){var o;this.document=e,this.options=r,this.className=r.className,this.rootSelector=r.inWrapper?`.${this.className}-wrapper`:":root",this.styleMap=null,this.tasks=[],this.options.renderComments&&globalThis.Highlight&&(this.commentHighlight=new Highlight),ft(n=n||t),ft(t),mt(n,"docxjs library predefined styles"),n.appendChild(this.renderDefaultStyle()),e.themePart&&(mt(n,"docxjs document theme values"),this.renderTheme(e.themePart,n)),null!=e.stylesPart&&(this.styleMap=this.processStyles(e.stylesPart.styles),mt(n,"docxjs document styles"),n.appendChild(this.renderStyles(e.stylesPart.styles))),e.numberingPart&&(this.prodessNumberings(e.numberingPart.domNumberings),mt(n,"docxjs document numbering styles"),n.appendChild(this.renderNumbering(e.numberingPart.domNumberings,n))),e.footnotesPart&&(this.footnoteMap=I(e.footnotesPart.notes,(e=>e.id))),e.endnotesPart&&(this.endnoteMap=I(e.endnotesPart.notes,(e=>e.id))),e.settingsPart&&(this.defaultTabSize=null==(o=e.settingsPart.settings)?void 0:o.defaultTabStop),!r.ignoreFonts&&e.fontTablePart&&this.renderFontTable(e.fontTablePart,n);var i=this.renderSections(e.documentPart.body);this.options.inWrapper?t.appendChild(this.renderWrapper(i)):ht(t,i),this.commentHighlight&&r.renderComments&&CSS.highlights.set(`${this.className}-comments`,this.commentHighlight),this.refreshTabStops(),this.postRenderTasks.forEach((e=>e()))}renderTheme(e,t){var n,r;const o={},i=null==(n=e.theme)?void 0:n.fontScheme;i&&(i.majorFont&&(o["--docx-majorHAnsi-font"]=i.majorFont.latinTypeface),i.minorFont&&(o["--docx-minorHAnsi-font"]=i.minorFont.latinTypeface));const a=null==(r=e.theme)?void 0:r.colorScheme;if(a)for(let[e,t]of Object.entries(a.colors))o[`--docx-${e}-color`]=`#${t}`;const s=this.styleToString(`.${this.className}`,o);t.appendChild(pt(s))}renderFontTable(e,t){for(let n of e.fonts)for(let e of n.embedFontRefs)this.tasks.push(this.document.loadFont(e.id,e.key).then((r=>{const o={"font-family":n.name,src:`url(${r})`};("bold"==e.type||"boldItalic"==e.type)&&(o["font-weight"]="bold"),("italic"==e.type||"boldItalic"==e.type)&&(o["font-style"]="italic"),mt(t,`docxjs ${n.name} font`);const i=this.styleToString("@font-face",o);t.appendChild(pt(i)),this.refreshTabStops()})))}processStyleName(e){return e?`${this.className}_${function(e){return null==e?void 0:e.replace(/[ .]+/g,"-").replace(/[&]+/g,"and").toLowerCase()}(e)}`:this.className}processStyles(e){const t=I(e.filter((e=>null!=e.id)),(e=>e.id));for(const r of e.filter((e=>e.basedOn))){var n=t[r.basedOn];if(n){r.paragraphProps=L(r.paragraphProps,n.paragraphProps),r.runProps=L(r.runProps,n.runProps);for(const e of n.styles){const t=r.styles.find((t=>t.target==e.target));t?this.copyStyleProperties(e.values,t.values):r.styles.push(d(u({},e),{values:u({},e.values)}))}}else this.options.debug&&console.warn(`Can't find base style ${r.basedOn}`)}for(let t of e)t.cssName=this.processStyleName(t.id);return t}prodessNumberings(e){var t;for(let n of e.filter((e=>e.pStyleName))){const e=this.findStyle(n.pStyleName);null!=(t=null==e?void 0:e.paragraphProps)&&t.numbering&&(e.paragraphProps.numbering.level=n.level)}}processElement(e){if(e.children)for(var t of e.children)t.parent=e,t.type==j.Table?this.processTable(t):this.processElement(t)}processTable(e){for(var t of e.children)for(var n of t.children)n.cssStyle=this.copyStyleProperties(e.cellStyle,n.cssStyle,["border-left","border-right","border-top","border-bottom","padding-left","padding-right","padding-top","padding-bottom"]),this.processElement(n)}copyStyleProperties(e,t,n=null){if(!e)return t;for(var r of(null==t&&(t={}),null==n&&(n=Object.getOwnPropertyNames(e)),n))e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r]);return t}createPageElement(e,t){var n=this.createElement("section",{className:e});return t&&(t.pageMargins&&(n.style.paddingLeft=t.pageMargins.left,n.style.paddingRight=t.pageMargins.right,n.style.paddingTop=t.pageMargins.top,n.style.paddingBottom=t.pageMargins.bottom),t.pageSize&&(this.options.ignoreWidth||(n.style.width=t.pageSize.width),this.options.ignoreHeight||(n.style.minHeight=t.pageSize.height))),n}createSectionContent(e){var t=this.createElement("article");return e.columns&&e.columns.numberOfColumns&&(t.style.columnCount=`${e.columns.numberOfColumns}`,t.style.columnGap=e.columns.space,e.columns.separator&&(t.style.columnRule="1px solid black")),t}renderSections(e){const t=[];this.processElement(e);const n=this.splitBySection(e.children,e.props),r=this.groupByPageBreaks(n);let o=null;for(let n=0,a=r.length;n<a;n++){this.currentFootnoteIds=[];let s=r[n][0].sectProps;const l=this.createPageElement(this.className,s);this.renderStyleValues(e.cssStyle,l),this.options.renderHeaders&&this.renderHeaderFooter(s.headerRefs,s,t.length,o!=s,l);for(const e of r[n]){var i=this.createSectionContent(e.sectProps);this.renderElements(e.elements,i),l.appendChild(i),s=e.sectProps}this.options.renderFootnotes&&this.renderNotes(this.currentFootnoteIds,this.footnoteMap,l),this.options.renderEndnotes&&n==a-1&&this.renderNotes(this.currentEndnoteIds,this.endnoteMap,l),this.options.renderFooters&&this.renderHeaderFooter(s.footerRefs,s,t.length,o!=s,l),t.push(l),o=s}return t}renderHeaderFooter(e,t,n,r,o){var i,a;if(e){var s=null!=(a=null!=(i=t.titlePage&&r?e.find((e=>"first"==e.type)):null)?i:n%2==1?e.find((e=>"even"==e.type)):null)?a:e.find((e=>"default"==e.type)),l=s&&this.document.findPartByRelId(s.id,this.document.documentPart);if(l){this.currentPart=l,this.usedHederFooterParts.includes(l.path)||(this.processElement(l.rootElement),this.usedHederFooterParts.push(l.path));const[e]=this.renderElements([l.rootElement],o);null!=t&&t.pageMargins&&(l.rootElement.type===j.Header?(e.style.marginTop=`calc(${t.pageMargins.header} - ${t.pageMargins.top})`,e.style.minHeight=`calc(${t.pageMargins.top} - ${t.pageMargins.header})`):l.rootElement.type===j.Footer&&(e.style.marginBottom=`calc(${t.pageMargins.footer} - ${t.pageMargins.bottom})`,e.style.minHeight=`calc(${t.pageMargins.bottom} - ${t.pageMargins.footer})`)),this.currentPart=null}}}isPageBreakElement(e){return e.type==j.Break&&("lastRenderedPageBreak"==e.break?!this.options.ignoreLastRenderedPageBreak:"page"==e.break)}isPageBreakSection(e,t){var n,r,o,i,a,s;return!(!e||!t||(null==(n=e.pageSize)?void 0:n.orientation)==(null==(r=t.pageSize)?void 0:r.orientation)&&(null==(o=e.pageSize)?void 0:o.width)==(null==(i=t.pageSize)?void 0:i.width)&&(null==(a=e.pageSize)?void 0:a.height)==(null==(s=t.pageSize)?void 0:s.height))}splitBySection(e,t){var n,r={sectProps:null,elements:[],pageBreak:!1},o=[r];for(let t of e){if(t.type==j.Paragraph){const e=this.findStyle(t.styleName);null!=(n=null==e?void 0:e.paragraphProps)&&n.pageBreakBefore&&(r.sectProps=i,r.pageBreak=!0,r={sectProps:null,elements:[],pageBreak:!1},o.push(r))}if(r.elements.push(t),t.type==j.Paragraph){const e=t;var i=e.sectionProps,a=-1,s=-1;if(this.options.breakPages&&e.children&&(a=e.children.findIndex((e=>{var t,n;return-1!=(s=null!=(n=null==(t=e.children)?void 0:t.findIndex(this.isPageBreakElement.bind(this)))?n:-1)}))),(i||-1!=a)&&(r.sectProps=i,r.pageBreak=-1!=a,r={sectProps:null,elements:[],pageBreak:!1},o.push(r)),-1!=a){let n=e.children[a],o=s<n.children.length-1;if(a<e.children.length-1||o){var l=t.children,c=d(u({},t),{children:l.slice(a)});if(t.children=l.slice(0,a),r.elements.push(c),o){let e=n.children,r=d(u({},n),{children:e.slice(0,s)});t.children.push(r),n.children=e.slice(s)}}}}}let f=null;for(let e=o.length-1;e>=0;e--)null==o[e].sectProps?o[e].sectProps=null!=f?f:t:f=o[e].sectProps;return o}groupByPageBreaks(e){let t,n=[];const r=[n];for(let o of e)n.push(o),(this.options.ignoreLastRenderedPageBreak||o.pageBreak||this.isPageBreakSection(t,o.sectProps))&&r.push(n=[]),t=o.sectProps;return r.filter((e=>e.length>0))}renderWrapper(e){return this.createElement("div",{className:`${this.className}-wrapper`},e)}renderDefaultStyle(){var e=this.className,t=`\n.${e}-wrapper { background: gray; padding: 30px; padding-bottom: 0px; display: flex; flex-flow: column; align-items: center; } \n.${e}-wrapper>section.${e} { background: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); margin-bottom: 30px; }\n.${e} { color: black; hyphens: auto; text-underline-position: from-font; }\nsection.${e} { box-sizing: border-box; display: flex; flex-flow: column nowrap; position: relative; overflow: hidden; }\nsection.${e}>article { margin-bottom: auto; z-index: 1; }\nsection.${e}>footer { z-index: 1; }\n.${e} table { border-collapse: collapse; }\n.${e} table td, .${e} table th { vertical-align: top; }\n.${e} p { margin: 0pt; min-height: 1em; }\n.${e} span { white-space: pre-wrap; overflow-wrap: break-word; }\n.${e} a { color: inherit; text-decoration: inherit; }\n.${e} svg { fill: transparent; }\n`;return this.options.renderComments&&(t+=`\n.${e}-comment-ref { cursor: default; }\n.${e}-comment-popover { display: none; z-index: 1000; padding: 0.5rem; background: white; position: absolute; box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.25); width: 30ch; }\n.${e}-comment-ref:hover~.${e}-comment-popover { display: block; }\n.${e}-comment-author,.${e}-comment-date { font-size: 0.875rem; color: #888; }\n`),pt(t)}renderNumbering(e,t){var n="",r=[];for(var o of e){var i=`p.${this.numberingClass(o.id,o.level)}`,a="none";if(o.bullet){let e=`--${this.className}-${o.bullet.src}`.toLowerCase();n+=this.styleToString(`${i}:before`,{content:"' '",display:"inline-block",background:`var(${e})`},o.bullet.style),this.tasks.push(this.document.loadNumberingImage(o.bullet.src).then((n=>{var r=`${this.rootSelector} { ${e}: url(${n}) }`;t.appendChild(pt(r))})))}else if(o.levelText){let e=this.numberingCounter(o.id,o.level);const t=e+" "+(o.start-1);o.level>0&&(n+=this.styleToString(`p.${this.numberingClass(o.id,o.level-1)}`,{"counter-reset":t})),r.push(t),n+=this.styleToString(`${i}:before`,u({content:this.levelTextToContent(o.levelText,o.suff,o.id,this.numFormatToCssValue(o.format)),"counter-increment":e},o.rStyle))}else a=this.numFormatToCssValue(o.format);n+=this.styleToString(i,u({display:"list-item","list-style-position":"inside","list-style-type":a},o.pStyle))}return r.length>0&&(n+=this.styleToString(this.rootSelector,{"counter-reset":r.join(" ")})),pt(n)}renderStyles(e){var t,n="";const r=this.styleMap,o=I(e.filter((e=>e.isDefault)),(e=>e.target));for(const l of e){var i=l.styles;if(l.linked){var a=l.linked&&r[l.linked];a?i=i.concat(a.styles):this.options.debug&&console.warn(`Can't find linked style ${l.linked}`)}for(const e of i){var s=`${null!=(t=l.target)?t:""}.${l.cssName}`;l.target!=e.target&&(s+=` ${e.target}`),o[l.target]==l&&(s=`.${this.className} ${l.target}, `+s),n+=this.styleToString(s,e.values)}}return pt(n)}renderNotes(e,t,n){var r=e.map((e=>t[e])).filter((e=>e));if(r.length>0){var o=this.createElement("ol",null,this.renderElements(r));n.appendChild(o)}}renderElement(e){switch(e.type){case j.Paragraph:return this.renderParagraph(e);case j.BookmarkStart:return this.renderBookmarkStart(e);case j.BookmarkEnd:return null;case j.Run:return this.renderRun(e);case j.Table:return this.renderTable(e);case j.Row:return this.renderTableRow(e);case j.Cell:return this.renderTableCell(e);case j.Hyperlink:return this.renderHyperlink(e);case j.SmartTag:return this.renderSmartTag(e);case j.Drawing:return this.renderDrawing(e);case j.Image:return this.renderImage(e);case j.Text:case j.Text:return this.renderText(e);case j.DeletedText:return this.renderDeletedText(e);case j.Tab:return this.renderTab(e);case j.Symbol:return this.renderSymbol(e);case j.Break:return this.renderBreak(e);case j.Footer:return this.renderContainer(e,"footer");case j.Header:return this.renderContainer(e,"header");case j.Footnote:case j.Endnote:return this.renderContainer(e,"li");case j.FootnoteReference:return this.renderFootnoteReference(e);case j.EndnoteReference:return this.renderEndnoteReference(e);case j.NoBreakHyphen:return this.createElement("wbr");case j.VmlPicture:return this.renderVmlPicture(e);case j.VmlElement:return this.renderVmlElement(e);case j.MmlMath:return this.renderContainerNS(e,st,"math",{xmlns:st});case j.MmlMathParagraph:return this.renderContainer(e,"span");case j.MmlFraction:return this.renderContainerNS(e,st,"mfrac");case j.MmlBase:return this.renderContainerNS(e,st,e.parent.type==j.MmlMatrixRow?"mtd":"mrow");case j.MmlNumerator:case j.MmlDenominator:case j.MmlFunction:case j.MmlLimit:case j.MmlBox:return this.renderContainerNS(e,st,"mrow");case j.MmlGroupChar:return this.renderMmlGroupChar(e);case j.MmlLimitLower:return this.renderContainerNS(e,st,"munder");case j.MmlMatrix:return this.renderContainerNS(e,st,"mtable");case j.MmlMatrixRow:return this.renderContainerNS(e,st,"mtr");case j.MmlRadical:return this.renderMmlRadical(e);case j.MmlSuperscript:return this.renderContainerNS(e,st,"msup");case j.MmlSubscript:return this.renderContainerNS(e,st,"msub");case j.MmlDegree:case j.MmlSuperArgument:case j.MmlSubArgument:return this.renderContainerNS(e,st,"mn");case j.MmlFunctionName:return this.renderContainerNS(e,st,"ms");case j.MmlDelimiter:return this.renderMmlDelimiter(e);case j.MmlRun:return this.renderMmlRun(e);case j.MmlNary:return this.renderMmlNary(e);case j.MmlPreSubSuper:return this.renderMmlPreSubSuper(e);case j.MmlBar:return this.renderMmlBar(e);case j.MmlEquationArray:return this.renderMllList(e);case j.Inserted:return this.renderInserted(e);case j.Deleted:return this.renderDeleted(e);case j.CommentRangeStart:return this.renderCommentRangeStart(e);case j.CommentRangeEnd:return this.renderCommentRangeEnd(e);case j.CommentReference:return this.renderCommentReference(e)}return null}renderChildren(e,t){return this.renderElements(e.children,t)}renderElements(e,t){if(null==e)return null;var n=e.flatMap((e=>this.renderElement(e))).filter((e=>null!=e));return t&&ht(t,n),n}renderContainer(e,t,n){return this.createElement(t,n,this.renderChildren(e))}renderContainerNS(e,t,n,r){return dt(t,n,r,this.renderChildren(e))}renderParagraph(e){var t,n,r,o=this.createElement("p");const i=this.findStyle(e.styleName);null!=e.tabs||(e.tabs=null==(t=null==i?void 0:i.paragraphProps)?void 0:t.tabs),this.renderClass(e,o),this.renderChildren(e,o),this.renderStyleValues(e.cssStyle,o),this.renderCommonProperties(o.style,e);const a=null!=(r=e.numbering)?r:null==(n=null==i?void 0:i.paragraphProps)?void 0:n.numbering;return a&&o.classList.add(this.numberingClass(a.id,a.level)),o}renderRunProperties(e,t){this.renderCommonProperties(e,t)}renderCommonProperties(e,t){null!=t&&(t.color&&(e.color=t.color),t.fontSize&&(e["font-size"]=t.fontSize))}renderHyperlink(e){var t=this.createElement("a");if(this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),e.href)t.href=e.href;else if(e.id){const n=this.document.documentPart.rels.find((t=>t.id==e.id&&"External"===t.targetMode));t.href=null==n?void 0:n.target}return t}renderSmartTag(e){var t=this.createElement("span");return this.renderChildren(e,t),t}renderCommentRangeStart(e){var t;if(!this.options.renderComments)return null;const n=new Range;null==(t=this.commentHighlight)||t.add(n);const r=this.htmlDocument.createComment(`start of comment #${e.id}`);return this.later((()=>n.setStart(r,0))),this.commentMap[e.id]=n,r}renderCommentRangeEnd(e){if(!this.options.renderComments)return null;const t=this.commentMap[e.id],n=this.htmlDocument.createComment(`end of comment #${e.id}`);return this.later((()=>null==t?void 0:t.setEnd(n,0))),n}renderCommentReference(e){var t;if(!this.options.renderComments)return null;var n=null==(t=this.document.commentsPart)?void 0:t.commentMap[e.id];if(!n)return null;const r=new DocumentFragment,o=ct("span",{className:`${this.className}-comment-ref`},["💬"]),i=ct("div",{className:`${this.className}-comment-popover`});return this.renderCommentContent(n,i),r.appendChild(this.htmlDocument.createComment(`comment #${n.id} by ${n.author} on ${n.date}`)),r.appendChild(o),r.appendChild(i),r}renderCommentContent(e,t){t.appendChild(ct("div",{className:`${this.className}-comment-author`},[e.author])),t.appendChild(ct("div",{className:`${this.className}-comment-date`},[new Date(e.date).toLocaleString()])),this.renderChildren(e,t)}renderDrawing(e){var t=this.createElement("div");return t.style.display="inline-block",t.style.position="relative",t.style.textIndent="0px",this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),t}renderImage(e){let t=this.createElement("img");return this.renderStyleValues(e.cssStyle,t),this.document&&this.tasks.push(this.document.loadDocumentImage(e.src,this.currentPart).then((e=>{t.src=e}))),t}renderText(e){return this.htmlDocument.createTextNode(e.text)}renderDeletedText(e){return this.options.renderEndnotes?this.htmlDocument.createTextNode(e.text):null}renderBreak(e){return"textWrapping"==e.break?this.createElement("br"):null}renderInserted(e){return this.options.renderChanges?this.renderContainer(e,"ins"):this.renderChildren(e)}renderDeleted(e){return this.options.renderChanges?this.renderContainer(e,"del"):null}renderSymbol(e){var t=this.createElement("span");return t.style.fontFamily=e.font,t.innerHTML=`&#x${e.char};`,t}renderFootnoteReference(e){var t=this.createElement("sup");return this.currentFootnoteIds.push(e.id),t.textContent=`${this.currentFootnoteIds.length}`,t}renderEndnoteReference(e){var t=this.createElement("sup");return this.currentEndnoteIds.push(e.id),t.textContent=`${this.currentEndnoteIds.length}`,t}renderTab(e){var t,n=this.createElement("span");if(n.innerHTML="&emsp;",this.options.experimental){n.className=this.tabStopClass();var r=null==(t=function(e,t){for(var n=e.parent;null!=n&&n.type!=t;)n=n.parent;return n}(e,j.Paragraph))?void 0:t.tabs;this.currentTabs.push({stops:r,span:n})}return n}renderBookmarkStart(e){var t=this.createElement("span");return t.id=e.name,t}renderRun(e){if(e.fieldRun)return null;const t=this.createElement("span");if(e.id&&(t.id=e.id),this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),e.verticalAlign){const n=this.createElement(e.verticalAlign);this.renderChildren(e,n),t.appendChild(n)}else this.renderChildren(e,t);return t}renderTable(e){let t=this.createElement("table");return this.tableCellPositions.push(this.currentCellPosition),this.tableVerticalMerges.push(this.currentVerticalMerge),this.currentVerticalMerge={},this.currentCellPosition={col:0,row:0},e.columns&&t.appendChild(this.renderTableColumns(e.columns)),this.renderClass(e,t),this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),this.currentVerticalMerge=this.tableVerticalMerges.pop(),this.currentCellPosition=this.tableCellPositions.pop(),t}renderTableColumns(e){let t=this.createElement("colgroup");for(let n of e){let e=this.createElement("col");n.width&&(e.style.width=n.width),t.appendChild(e)}return t}renderTableRow(e){let t=this.createElement("tr");return this.currentCellPosition.col=0,this.renderClass(e,t),this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),this.currentCellPosition.row++,t}renderTableCell(e){let t=this.createElement("td");const n=this.currentCellPosition.col;return e.verticalMerge?"restart"==e.verticalMerge?(this.currentVerticalMerge[n]=t,t.rowSpan=1):this.currentVerticalMerge[n]&&(this.currentVerticalMerge[n].rowSpan+=1,t.style.display="none"):this.currentVerticalMerge[n]=null,this.renderClass(e,t),this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),e.span&&(t.colSpan=e.span),this.currentCellPosition.col+=t.colSpan,t}renderVmlPicture(e){var t=ct("div");return this.renderChildren(e,t),t}renderVmlElement(e){var t,n,r=ut("svg");r.setAttribute("style",e.cssStyleText);const o=this.renderVmlChildElement(e);return null!=(t=e.imageHref)&&t.id&&this.tasks.push(null==(n=this.document)?void 0:n.loadDocumentImage(e.imageHref.id,this.currentPart).then((e=>o.setAttribute("href",e)))),r.appendChild(o),requestAnimationFrame((()=>{const e=r.firstElementChild.getBBox();r.setAttribute("width",`${Math.ceil(e.x+e.width)}`),r.setAttribute("height",`${Math.ceil(e.y+e.height)}`)})),r}renderVmlChildElement(e){const t=ut(e.tagName);Object.entries(e.attrs).forEach((([e,n])=>t.setAttribute(e,n)));for(let n of e.children)n.type==j.VmlElement?t.appendChild(this.renderVmlChildElement(n)):t.appendChild(...V(this.renderElement(n)));return t}renderMmlRadical(e){var t;const n=e.children.find((e=>e.type==j.MmlBase));if(null!=(t=e.props)&&t.hideDegree)return dt(st,"msqrt",null,this.renderElements([n]));const r=e.children.find((e=>e.type==j.MmlDegree));return dt(st,"mroot",null,this.renderElements([n,r]))}renderMmlDelimiter(e){var t,n;const r=[];return r.push(dt(st,"mo",null,[null!=(t=e.props.beginChar)?t:"("])),r.push(...this.renderElements(e.children)),r.push(dt(st,"mo",null,[null!=(n=e.props.endChar)?n:")"])),dt(st,"mrow",null,r)}renderMmlNary(e){var t,n;const r=[],o=I(e.children,(e=>e.type)),i=o[j.MmlSuperArgument],a=o[j.MmlSubArgument],s=i?dt(st,"mo",null,V(this.renderElement(i))):null,l=a?dt(st,"mo",null,V(this.renderElement(a))):null,c=dt(st,"mo",null,[null!=(n=null==(t=e.props)?void 0:t.char)?n:"∫"]);return s||l?r.push(dt(st,"munderover",null,[c,l,s])):s?r.push(dt(st,"mover",null,[c,s])):l?r.push(dt(st,"munder",null,[c,l])):r.push(c),r.push(...this.renderElements(o[j.MmlBase].children)),dt(st,"mrow",null,r)}renderMmlPreSubSuper(e){const t=[],n=I(e.children,(e=>e.type)),r=n[j.MmlSuperArgument],o=n[j.MmlSubArgument],i=r?dt(st,"mo",null,V(this.renderElement(r))):null,a=o?dt(st,"mo",null,V(this.renderElement(o))):null,s=dt(st,"mo",null);return t.push(dt(st,"msubsup",null,[s,a,i])),t.push(...this.renderElements(n[j.MmlBase].children)),dt(st,"mrow",null,t)}renderMmlGroupChar(e){const t="bot"===e.props.verticalJustification?"mover":"munder",n=this.renderContainerNS(e,st,t);return e.props.char&&n.appendChild(dt(st,"mo",null,[e.props.char])),n}renderMmlBar(e){const t=this.renderContainerNS(e,st,"mrow");switch(e.props.position){case"top":t.style.textDecoration="overline";break;case"bottom":t.style.textDecoration="underline"}return t}renderMmlRun(e){const t=dt(st,"ms");return this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),this.renderChildren(e,t),t}renderMllList(e){const t=dt(st,"mtable");this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),this.renderChildren(e);for(let n of this.renderChildren(e))t.appendChild(dt(st,"mtr",null,[dt(st,"mtd",null,[n])]));return t}renderStyleValues(e,t){for(let n in e)n.startsWith("$")?t.setAttribute(n.slice(1),e[n]):t.style[n]=e[n]}renderClass(e,t){e.className&&(t.className=e.className),e.styleName&&t.classList.add(this.processStyleName(e.styleName))}findStyle(e){var t;return e&&(null==(t=this.styleMap)?void 0:t[e])}numberingClass(e,t){return`${this.className}-num-${e}-${t}`}tabStopClass(){return`${this.className}-tab-stop`}styleToString(e,t,n=null){let r=`${e} {\r\n`;for(const e in t)e.startsWith("$")||(r+=` ${e}: ${t[e]};\r\n`);return n&&(r+=n),r+"}\r\n"}numberingCounter(e,t){return`${this.className}-num-${e}-${t}`}levelTextToContent(e,t,n,r){var o;return`"${e.replace(/%\d*/g,(e=>{let t=parseInt(e.substring(1),10)-1;return`"counter(${this.numberingCounter(n,t)}, ${r})"`}))}${null!=(o={tab:"\\9",space:"\\a0"}[t])?o:""}"`}numFormatToCssValue(e){var t;return null!=(t={none:"none",bullet:"disc",decimal:"decimal",lowerLetter:"lower-alpha",upperLetter:"upper-alpha",lowerRoman:"lower-roman",upperRoman:"upper-roman",decimalZero:"decimal-leading-zero",aiueo:"katakana",aiueoFullWidth:"katakana",chineseCounting:"simp-chinese-informal",chineseCountingThousand:"simp-chinese-informal",chineseLegalSimplified:"simp-chinese-formal",chosung:"hangul-consonant",ideographDigital:"cjk-ideographic",ideographTraditional:"cjk-heavenly-stem",ideographLegalTraditional:"trad-chinese-formal",ideographZodiac:"cjk-earthly-branch",iroha:"katakana-iroha",irohaFullWidth:"katakana-iroha",japaneseCounting:"japanese-informal",japaneseDigitalTenThousand:"cjk-decimal",japaneseLegal:"japanese-formal",thaiNumbers:"thai",koreanCounting:"korean-hangul-formal",koreanDigital:"korean-hangul-formal",koreanDigital2:"korean-hanja-informal",hebrew1:"hebrew",hebrew2:"hebrew",hindiNumbers:"devanagari",ganada:"hangul",taiwaneseCounting:"cjk-ideographic",taiwaneseCountingThousand:"cjk-ideographic",taiwaneseDigital:"cjk-decimal"}[e])?t:e}refreshTabStops(){this.options.experimental&&(clearTimeout(this.tabsTimeout),this.tabsTimeout=setTimeout((()=>{const e=function(e=document.body){const t=document.createElement("div");t.style.width="100pt",e.appendChild(t);const n=100/t.offsetWidth;return e.removeChild(t),n}();for(let t of this.currentTabs)ot(t.span,t.stops,this.defaultTabSize,e)}),500))}later(e){this.postRenderTasks.push(e)}}function ct(e,t,n){return dt(void 0,e,t,n)}function ut(e,t,n){return dt(at,e,t,n)}function dt(e,t,n,r){var o=e?document.createElementNS(e,t):document.createElement(t);return Object.assign(o,n),r&&ht(o,r),o}function ft(e){e.innerHTML=""}function ht(e,t){t.forEach((t=>e.appendChild(function(e){return"string"==typeof e||e instanceof String}(t)?document.createTextNode(t):t)))}function pt(e){return ct("style",{innerHTML:e})}function mt(e,t){e.appendChild(document.createComment(t))}const gt={ignoreHeight:!1,ignoreWidth:!1,ignoreFonts:!1,breakPages:!0,debug:!1,experimental:!1,className:"docx",inWrapper:!0,trimXmlDeclaration:!0,ignoreLastRenderedPageBreak:!0,renderHeaders:!0,renderFooters:!0,renderFootnotes:!0,renderEndnotes:!0,useBase64URL:!1,renderChanges:!1,renderComments:!1};function At(e,t,n,r){return f(this,null,(function*(){const o=yield function(e,t){const n=u(u({},gt),t);return ze.load(e,new Je(n),n)}(e,r);return yield function(e,t,n,r){return f(this,null,(function*(){const o=u(u({},gt),r),i=new lt(window.document);return i.render(e,t,n,o),Promise.allSettled(i.tasks)}))}(o,t,n,r),o}))}const vt={ignoreLastRenderedPageBreak:!1};const yt={getData:function(e,t={}){return"string"==typeof e?function(e,t){return fetch(e,t).then((e=>200!==e.status?Promise.reject(e):e))}(e,t):Promise.resolve(e)},render:function(e,t,n={}){if(!e)return t.innerHTML="",Promise.resolve();let r;return e instanceof Blob?r=e:e instanceof Response?r=e.blob():e instanceof ArrayBuffer&&(r=new Blob([e])),At(r,t,t,u(u({},vt),n))},getBlob:function(e){return f(this,null,(function*(){let t;return e instanceof Blob?t=e:e instanceof Response?t=yield e.blob():e instanceof ArrayBuffer&&(t=new Blob([e])),t}))}};function Ot(e,t){return f(this,null,(function*(){t&&(t instanceof ArrayBuffer&&(t=new Blob([t])),function(e,t){let n=document.createElement("a");n.download=e,n.style.display="none",n.href=t,document.body.appendChild(n),n.click(),document.body.removeChild(n)}(e,URL.createObjectURL(t)))}))}const bt=e.defineComponent({name:"VueOfficeDocx",props:{src:[String,ArrayBuffer,Blob],requestOptions:{type:Object,default:()=>({})},options:{type:Object,default:()=>({})}},emits:["rendered","error"],setup(t,{emit:n}){const r=e.ref(null);let o=null;function i(){let e=r.value;yt.getData(t.src,t.requestOptions).then((r=>f(this,null,(function*(){o=yield yt.getBlob(r),yt.render(o,e,t.options).then((()=>{n("rendered")})).catch((r=>{yt.render("",e,t.options),n("error",r)}))})))).catch((r=>{yt.render("",e,t.options),n("error",r)}))}return e.onMounted((()=>{t.src&&i()})),e.watch((()=>t.src),(()=>{t.src?i():yt.render("",r.value,t.options).then((()=>{n("rendered")}))})),{rootRef:r,save:function(e){Ot(e||`vue-office-docx-${(new Date).getTime()}.docx`,o)}}}}),wt={class:"vue-office-docx"},_t={class:"vue-office-docx-main",ref:"rootRef"};const xt=((e,t)=>{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n})(bt,[["render",function(e,n,r,o,i,a){return t.openBlock(),t.createElementBlock("div",wt,[t.createElementVNode("div",_t,null,512)])}]]);return xt.install=function(e){e.component(xt.name,xt)},xt}(n(87561),n(61431))},32902:function(e,t,n){var r=n(40870),o=n(35657);e.exports=function(e,t){var n={};return t=t||[],o(r(e),(function(e,r){n[e]=t[r]})),n}},32944:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(98026);function o(e,t){for(var n=0;n<e.length;n++)e[n][1]||(e[n][1]=e[n][0]);return t=t||!1,function(n,o,i){for(var a={},s=0;s<e.length;s++){var l=e[s][1];if(!(o&&r.indexOf(o,l)>=0||i&&r.indexOf(i,l)<0)){var c=n.getShallow(l,t);null!=c&&(a[e[s][0]]=c)}}return a}}},33040:function(e){e.exports=function(e){return!!e&&e.constructor===TypeError}},33174:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.Env");e.add("print",(function(e){!function(e){e.addCommand("mcePrint",(function(){t.browser.isIE()?e.getDoc().execCommand("print",!1,null):e.getWin().print()}))}(e),function(e){var t=function(){return e.execCommand("mcePrint")};e.ui.registry.addButton("print",{icon:"print",tooltip:"Print",onAction:t}),e.ui.registry.addMenuItem("print",{text:"Print...",icon:"print",onAction:t})}(e),e.addShortcut("Meta+P","","mcePrint")}))}()},33255:function(e,t,n){var r=n(93850),o=n(54477),i=n(70111),a=n(79135),s=n(2801),l=n(24993),c=n(68142);e.exports=function(e,t,n){if(e){var u,d=arguments.length>1&&(s(t)||!i(t)),f=d?n:t;if(o(e))c(e,d?function(n,r){e[r]=t}:function(t,n){r(e,n)}),f&&l(e,f);else if(a(e)){if(d)for(u=e.length;u>0;)u--,e[u]=t;else e.length=0;f&&e.push.apply(e,f)}}return e}},33333:function(e,t,n){"use strict";n.d(t,{$M:function(){return p},EC:function(){return m},KQ:function(){return y},Ub:function(){return _},Zy:function(){return v},ie:function(){return w},s5:function(){return A},uG:function(){return d}});var r=n(61431),o=n(36940),i=n(2154),a=n(81531);const s=(0,r.ref)(),l=(0,r.ref)(0),c=(0,r.ref)(0);let u=0;const d=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},f=(e,t)=>{for(const n of e)if(!h(n,t))return n},h=(e,t)=>{if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},p=e=>{const t=d(e);return[f(t,e),f(t.reverse(),e)]},m=(e,t)=>{if(e&&e.focus){const n=document.activeElement;let r=!1;!(0,i.vq)(e)||(0,a.tp)(e)||e.getAttribute("tabindex")||(e.setAttribute("tabindex","-1"),r=!0),e.focus({preventScroll:!0}),c.value=window.performance.now(),e!==n&&(e=>e instanceof HTMLInputElement&&"select"in e)(e)&&t&&e.select(),(0,i.vq)(e)&&r&&e.removeAttribute("tabindex")}};function g(e,t){const n=[...e],r=e.indexOf(t);return-1!==r&&n.splice(r,1),n}const A=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(m(r,t),document.activeElement!==n)return},v=(()=>{let e=[];return{push:t=>{const n=e[0];n&&t!==n&&n.pause(),e=g(e,t),e.unshift(t)},remove:t=>{var n,r;e=g(e,t),null==(r=null==(n=e[0])?void 0:n.resume)||r.call(n)}}})(),y=()=>l.value>c.value,O=()=>{s.value="pointer",l.value=window.performance.now()},b=()=>{s.value="keyboard",l.value=window.performance.now()},w=()=>((0,r.onMounted)((()=>{0===u&&(document.addEventListener("mousedown",O),document.addEventListener("touchstart",O),document.addEventListener("keydown",b)),u++})),(0,r.onBeforeUnmount)((()=>{u--,u<=0&&(document.removeEventListener("mousedown",O),document.removeEventListener("touchstart",O),document.removeEventListener("keydown",b))})),{focusReason:s,lastUserFocusTimestamp:l,lastAutomatedFocusTimestamp:c}),_=e=>new CustomEvent(o.d,{...o.oV,detail:e})},33385:function(e,t,n){"use strict";n.d(t,{gm:function(){return o}});var r=n(22720);const o=()=>r.oc&&/firefox/i.test(window.navigator.userAgent)},33392:function(e,t,n){"use strict";var r=n(79504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},33423:function(e,t,n){"use strict";n.d(t,{A:function(){return v}});var r=n(98026),o=n(24326),i=n(45558),a=n(48170),s=n(50626),l=(0,a.$r)();function c(e,t){var n=r.map(t,(function(t){return e.scale.parse(t)}));return"time"===e.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function u(e,t){var n,o,i=d(e,"labels"),a=(0,s.j2)(t);return f(i,a)||(r.isFunction(a)?n=m(e,a):(o="auto"===a?function(e){var t=l(e).autoInterval;return null!=t?t:l(e).autoInterval=e.calculateCategoryInterval()}(e):a,n=p(e,o)),h(i,a,{labels:n,labelCategoryInterval:o}))}function d(e,t){return l(e)[t]||(l(e)[t]=[])}function f(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function h(e,t,n){return e.push({key:t,value:n}),n}function p(e,t,n){var r=(0,s.ry)(e),o=e.scale,i=o.getExtent(),a=e.getLabelModel(),l=[],c=Math.max((t||0)+1,1),u=i[0],d=o.count();0!==u&&c>1&&d/c>2&&(u=Math.round(Math.ceil(u/c)*c));var f=(0,s.PJ)(e),h=a.get("showMinLabel")||f,p=a.get("showMaxLabel")||f;h&&u!==i[0]&&g(i[0]);for(var m=u;m<=i[1];m+=c)g(m);function g(e){var t={value:e};l.push(n?e:{formattedLabel:r(t),rawLabel:o.getLabel(t),tickValue:e})}return p&&m-c!==i[1]&&g(i[1]),l}function m(e,t,n){var o=e.scale,i=(0,s.ry)(e),a=[];return r.each(o.getTicks(),(function(e){var r=o.getLabel(e),s=e.value;t(e.value,r)&&a.push(n?s:{formattedLabel:i(e),rawLabel:r,tickValue:s})})),a}var g=[0,1];function A(e,t){var n=(e[1]-e[0])/t/2;e[0]+=n,e[1]-=n}var v=function(){function e(e,t,n){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=n||[0,0]}return e.prototype.contain=function(e){var t=this._extent,n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]);return e>=n&&e<=r},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return(0,o.hb)(e||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(e,t){var n=this._extent;n[0]=e,n[1]=t},e.prototype.dataToCoord=function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&A(n=n.slice(),r.count()),(0,o.Cb)(e,g,n,t)},e.prototype.coordToData=function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&A(n=n.slice(),r.count());var i=(0,o.Cb)(e,n,g,t);return this.scale.scale(i)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){var t=(e=e||{}).tickModel||this.getTickModel(),n=function(e,t){var n=e.getTickModel().get("customValues");if(n){var o=e.scale.getExtent(),i=c(e,n);return{ticks:r.filter(i,(function(e){return e>=o[0]&&e<=o[1]}))}}return"category"===e.type?function(e,t){var n,o,i=d(e,"ticks"),a=(0,s.j2)(t),l=f(i,a);if(l)return l;if(t.get("show")&&!e.scale.isBlank()||(n=[]),r.isFunction(a))n=m(e,a,!0);else if("auto"===a){var c=u(e,e.getLabelModel());o=c.labelCategoryInterval,n=r.map(c.labels,(function(e){return e.tickValue}))}else n=p(e,o=a,!0);return h(i,a,{ticks:n,tickCategoryInterval:o})}(e,t):{ticks:r.map(e.scale.getTicks(),(function(e){return e.value}))}}(this,t).ticks,i=(0,r.map)(n,(function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}}),this);return function(e,t,n,i){var a=t.length;if(e.onBand&&!n&&a){var s,l,c=e.getExtent();if(1===a)t[0].coord=c[0],s=t[1]={coord:c[1],tickValue:t[0].tickValue};else{var u=t[a-1].tickValue-t[0].tickValue,d=(t[a-1].coord-t[0].coord)/u;(0,r.each)(t,(function(e){e.coord-=d/2}));var f=e.scale.getExtent();l=1+f[1]-t[a-1].tickValue,s={coord:t[a-1].coord+d*l,tickValue:f[1]+1},t.push(s)}var h=c[0]>c[1];p(t[0].coord,c[0])&&(i?t[0].coord=c[0]:t.shift()),i&&p(c[0],t[0].coord)&&t.unshift({coord:c[0]}),p(c[1],s.coord)&&(i?s.coord=c[1]:t.pop()),i&&p(s.coord,c[1])&&t.push({coord:c[1]})}function p(e,t){return e=(0,o.LI)(e),t=(0,o.LI)(t),h?e>t:e<t}}(this,i,t.get("alignWithLabel"),e.clamp),i},e.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick").get("splitNumber");e>0&&e<100||(e=5);var t=this.scale.getMinorTicks(e);return(0,r.map)(t,(function(e){return(0,r.map)(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this)},e.prototype.getViewLabels=function(){return function(e){var t=e.getLabelModel().get("customValues");if(t){var n=(0,s.ry)(e),o=e.scale.getExtent(),i=c(e,t),a=r.filter(i,(function(e){return e>=o[0]&&e<=o[1]}));return{labels:r.map(a,(function(t){var r={value:t};return{formattedLabel:n(r),rawLabel:e.scale.getLabel(r),tickValue:t}}))}}return"category"===e.type?function(e){var t=e.getLabelModel(),n=u(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(e):function(e){var t=e.scale.getTicks(),n=(0,s.ry)(e);return{labels:r.map(t,(function(t,r){return{level:t.level,formattedLabel:n(t,r),rawLabel:e.scale.getLabel(t),tickValue:t.value}}))}}(e)}(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},e.prototype.calculateCategoryInterval=function(){return function(e){var t=function(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}(e),n=(0,s.ry)(e),r=(t.axisRotate-t.labelRotate)/180*Math.PI,o=e.scale,a=o.getExtent(),c=o.count();if(a[1]-a[0]<1)return 0;var u=1;c>40&&(u=Math.max(1,Math.floor(c/40)));for(var d=a[0],f=e.dataToCoord(d+1)-e.dataToCoord(d),h=Math.abs(f*Math.cos(r)),p=Math.abs(f*Math.sin(r)),m=0,g=0;d<=a[1];d+=u){var A,v,y=i.NO(n({value:d}),t.font,"center","top");A=1.3*y.width,v=1.3*y.height,m=Math.max(m,A,7),g=Math.max(g,v,7)}var O=m/h,b=g/p;isNaN(O)&&(O=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(O,b))),_=l(e.model),x=e.getExtent(),S=_.lastAutoInterval,k=_.lastTickCount;return null!=S&&null!=k&&Math.abs(S-w)<=1&&Math.abs(k-c)<=1&&S>w&&_.axisExtent0===x[0]&&_.axisExtent1===x[1]?w=S:(_.lastTickCount=c,_.lastAutoInterval=w,_.axisExtent0=x[0],_.axisExtent1=x[1]),w}(this)},e}()},33498:function(e,t,n){n(24303)},33616:function(e){var t;self,t=()=>(()=>{"use strict";var e,t={};return e=t,Object.defineProperty(e,"__esModule",{value:!0}),e.FitAddon=void 0,e.FitAddon=class{activate(e){this._terminal=e}dispose(){}fit(){const e=this.proposeDimensions();if(!e||!this._terminal||isNaN(e.cols)||isNaN(e.rows))return;const t=this._terminal._core;this._terminal.rows===e.rows&&this._terminal.cols===e.cols||(t._renderService.clear(),this._terminal.resize(e.cols,e.rows))}proposeDimensions(){if(!this._terminal)return;if(!this._terminal.element||!this._terminal.element.parentElement)return;const e=this._terminal._core,t=e._renderService.dimensions;if(0===t.css.cell.width||0===t.css.cell.height)return;const n=0===this._terminal.options.scrollback?0:e.viewport.scrollBarWidth,r=window.getComputedStyle(this._terminal.element.parentElement),o=parseInt(r.getPropertyValue("height")),i=Math.max(0,parseInt(r.getPropertyValue("width"))),a=window.getComputedStyle(this._terminal.element),s=o-(parseInt(a.getPropertyValue("padding-top"))+parseInt(a.getPropertyValue("padding-bottom"))),l=i-(parseInt(a.getPropertyValue("padding-right"))+parseInt(a.getPropertyValue("padding-left")))-n;return{cols:Math.max(2,Math.floor(l/t.css.cell.width)),rows:Math.max(1,Math.floor(s/t.css.cell.height))}}},t})(),e.exports=t()},33706:function(e,t,n){"use strict";var r=n(79504),o=n(94901),i=n(77629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},33717:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},33853:function(e,t,n){"use strict";var r=n(46518),o=n(86830);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("isDisjointFrom",(function(e){return!e}))},{isDisjointFrom:o})},34098:function(e,t,n){"use strict";var r=n(13588);t.A=function(e){return null!=e&&e.length?(0,r.A)(e,1):[]}},34253:function(e,t,n){"use strict";n.d(t,{HU:function(){return f},Ir:function(){return y},Qf:function(){return m},Tj:function(){return l},YA:function(){return A},aP:function(){return d},ad:function(){return g},dV:function(){return h},m$:function(){return p},vs:function(){return v}});var r=n(98026),o=n(29308),i=n(24326),a=n(83412),s=r.each,l=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function u(e,t,n,r,o){var i=0,a=0;null==r&&(r=1/0),null==o&&(o=1/0);var s=0;t.eachChild((function(l,c){var u,d,f=l.getBoundingRect(),h=t.childAt(c+1),p=h&&h.getBoundingRect();if("horizontal"===e){var m=f.width+(p?-p.x+f.x:0);(u=i+m)>r||l.newline?(i=0,u=m,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var g=f.height+(p?-p.y+f.y:0);(d=a+g)>o||l.newline?(i+=s+n,a=0,d=g,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=i,l.y=a,l.markRedraw(),"horizontal"===e?i=u+n:a=d+n)}))}var d=u;function f(e,t,n){var r=t.width,o=t.height,s=(0,i.lo)(e.left,r),l=(0,i.lo)(e.top,o),c=(0,i.lo)(e.right,r),u=(0,i.lo)(e.bottom,o);return(isNaN(s)||isNaN(parseFloat(e.left)))&&(s=0),(isNaN(c)||isNaN(parseFloat(e.right)))&&(c=r),(isNaN(l)||isNaN(parseFloat(e.top)))&&(l=0),(isNaN(u)||isNaN(parseFloat(e.bottom)))&&(u=o),n=a.QX(n||0),{width:Math.max(c-s-n[1]-n[3],0),height:Math.max(u-l-n[0]-n[2],0)}}function h(e,t,n){n=a.QX(n||0);var r=t.width,s=t.height,l=(0,i.lo)(e.left,r),c=(0,i.lo)(e.top,s),u=(0,i.lo)(e.right,r),d=(0,i.lo)(e.bottom,s),f=(0,i.lo)(e.width,r),h=(0,i.lo)(e.height,s),p=n[2]+n[0],m=n[1]+n[3],g=e.aspect;switch(isNaN(f)&&(f=r-u-m-l),isNaN(h)&&(h=s-d-p-c),null!=g&&(isNaN(f)&&isNaN(h)&&(g>r/s?f=.8*r:h=.8*s),isNaN(f)&&(f=g*h),isNaN(h)&&(h=f/g)),isNaN(l)&&(l=r-u-f-m),isNaN(c)&&(c=s-d-h-p),e.left||e.right){case"center":l=r/2-f/2-n[3];break;case"right":l=r-f-m}switch(e.top||e.bottom){case"middle":case"center":c=s/2-h/2-n[0];break;case"bottom":c=s-h-p}l=l||0,c=c||0,isNaN(f)&&(f=r-m-l-(u||0)),isNaN(h)&&(h=s-p-c-(d||0));var A=new o.A(l+n[3],c+n[0],f,h);return A.margin=n,A}function p(e,t,n,i,a,s){var l,c=!a||!a.hv||a.hv[0],u=!a||!a.hv||a.hv[1],d=a&&a.boundingMode||"all";if((s=s||e).x=e.x,s.y=e.y,!c&&!u)return!1;if("raw"===d)l="group"===e.type?new o.A(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(l=e.getBoundingRect(),e.needLocalTransform()){var f=e.getLocalTransform();(l=l.clone()).applyTransform(f)}var p=h(r.defaults({width:l.width,height:l.height},t),n,i),m=c?p.x-l.x:0,g=u?p.y-l.y:0;return"raw"===d?(s.x=m,s.y=g):(s.x+=m,s.y+=g),s===e&&e.markRedraw(),!0}function m(e,t){return null!=e[c[t][0]]||null!=e[c[t][1]]&&null!=e[c[t][2]]}function g(e){var t=e.layoutMode||e.constructor.layoutMode;return r.isObject(t)?t:t?{type:t}:null}function A(e,t,n){var o=n&&n.ignoreSize;!r.isArray(o)&&(o=[o,o]);var i=l(c[0],0),a=l(c[1],1);function l(n,r){var i={},a=0,l={},c=0;if(s(n,(function(t){l[t]=e[t]})),s(n,(function(e){u(t,e)&&(i[e]=l[e]=t[e]),d(i,e)&&a++,d(l,e)&&c++})),o[r])return d(t,n[1])?l[n[2]]=null:d(t,n[2])&&(l[n[1]]=null),l;if(2!==c&&a){if(a>=2)return i;for(var f=0;f<n.length;f++){var h=n[f];if(!u(i,h)&&u(e,h)){i[h]=e[h];break}}return i}return l}function u(e,t){return e.hasOwnProperty(t)}function d(e,t){return null!=e[t]&&"auto"!==e[t]}function f(e,t,n){s(e,(function(e){t[e]=n[e]}))}f(c[0],e,i),f(c[1],e,a)}function v(e){return y({},e)}function y(e,t){return t&&e&&s(l,(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}r.curry(u,"vertical"),r.curry(u,"horizontal")},34310:function(e,t,n){"use strict";n.d(t,{AF:function(){return u},BE:function(){return d},O0:function(){return m},gV:function(){return c},tP:function(){return l},wZ:function(){return f}});var r=n(98026),o=n(13430),i=n(48170),a=n(23071),s=function(e){this.data=e.data||(e.sourceFormat===o.t1?{}:[]),this.sourceFormat=e.sourceFormat||o.vm,this.seriesLayoutBy=e.seriesLayoutBy||o.i_,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var n=0;n<t.length;n++){var r=t[n];null==r.type&&(0,a.PU)(this,n)===a.sc.Must&&(r.type="ordinal")}};function l(e){return e instanceof s}function c(e,t,n){n=n||f(e);var a=t.seriesLayoutBy,l=function(e,t,n,a,s){var l,c;if(!e)return{dimensionsDefine:h(s),startIndex:c,dimensionsDetectedCount:l};if(t===o.Km){var u=e;"auto"===a||null==a?p((function(e){null!=e&&"-"!==e&&((0,r.isString)(e)?null==c&&(c=1):c=0)}),n,u,10):c=(0,r.isNumber)(a)?a:a?1:0,s||1!==c||(s=[],p((function(e,t){s[t]=null!=e?e+"":""}),n,u,1/0)),l=s?s.length:n===o.oC?u.length:u[0]?u[0].length:null}else if(t===o.Wk)s||(s=function(e){for(var t,n=0;n<e.length&&!(t=e[n++]););if(t)return(0,r.keys)(t)}(e));else if(t===o.t1)s||(s=[],(0,r.each)(e,(function(e,t){s.push(t)})));else if(t===o.mK){var d=(0,i.vj)(e[0]);l=(0,r.isArray)(d)&&d.length||1}else o.XO;return{startIndex:c,dimensionsDefine:h(s),dimensionsDetectedCount:l}}(e,n,a,t.sourceHeader,t.dimensions);return new s({data:e,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:l.dimensionsDefine,startIndex:l.startIndex,dimensionsDetectedCount:l.dimensionsDetectedCount,metaRawOption:(0,r.clone)(t)})}function u(e){return new s({data:e,sourceFormat:(0,r.isTypedArray)(e)?o.XO:o.mK})}function d(e){return new s({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:(0,r.clone)(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function f(e){var t=o.vm;if((0,r.isTypedArray)(e))t=o.XO;else if((0,r.isArray)(e)){0===e.length&&(t=o.Km);for(var n=0,i=e.length;n<i;n++){var a=e[n];if(null!=a){if((0,r.isArray)(a)||(0,r.isTypedArray)(a)){t=o.Km;break}if((0,r.isObject)(a)){t=o.Wk;break}}}}else if((0,r.isObject)(e))for(var s in e)if((0,r.hasOwn)(e,s)&&(0,r.isArrayLike)(e[s])){t=o.t1;break}return t}function h(e){if(e){var t=(0,r.createHashMap)();return(0,r.map)(e,(function(e,n){var o={name:(e=(0,r.isObject)(e)?e:{name:e}).name,displayName:e.displayName,type:e.type};if(null==o.name)return o;o.name+="",null==o.displayName&&(o.displayName=o.name);var i=t.get(o.name);return i?o.name+="-"+i.count++:t.set(o.name,{count:1}),o}))}}function p(e,t,n,r){if(t===o.oC)for(var i=0;i<n.length&&i<r;i++)e(n[i]?n[i][0]:null,i);else{var a=n[0]||[];for(i=0;i<a.length&&i<r;i++)e(a[i],i)}}function m(e){var t=e.sourceFormat;return t===o.Wk||t===o.t1}},34328:function(){!function(){"use strict";var e,t,n=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=function(e){return function(t){return typeof t===e}},o=function(e){return n=typeof(t=e),"string"===(null===t?"null":"object"===n&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===n&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":n);var t,n},i=r("boolean"),a=r("number"),s=function(e){return function(){return e}},l=s(!1),c=s(!0),u=function(){return d},d={fold:function(e,t){return e()},isSome:l,isNone:c,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:s(null),getOrUndefined:s(void 0),or:t,orThunk:e,map:u,each:function(){},bind:u,exists:l,forall:c,filter:function(){return u()},toArray:function(){return[]},toString:s("none()")},f=function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)},h=Object.keys,p=function(e,t){for(var n=h(e),r=0,o=n.length;r<o;r++){var i=n[r];t(e[i],i)}};"undefined"!=typeof window?window:Function("return this;")();var m=function(e){return e.dom.nodeValue},g=function(e){return 3===function(e){return e.dom.nodeType}(e)},A=function(e,t,n){!function(e,t,n){if(!(o(n)||i(n)||a(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")}(e.dom,t,n)},v=function(e,t){e.dom.removeAttribute(t)},y=function(e,t){var n=function(e,t){var n=e.dom.getAttribute(t);return null===n?void 0:n}(e,t);return void 0===n||""===n?[]:n.split(" ")},O=function(e){return void 0!==e.dom.classList},b=function(e){if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},w=b,_={" ":"nbsp","­":"shy"},x=function(e,t){var n="";return p(e,(function(e,t){n+=t})),new RegExp("["+n+"]",t?"g":"")},S=x(_),k=x(_,!0),C=function(e){var t="";return p(e,(function(e){t&&(t+=","),t+="span.mce-"+e})),t}(_),B="mce-nbsp",Q=function(e){return'<span data-mce-bogus="1" class="mce-'+_[e]+'">'+e+"</span>"},T=function(e){var t=m(e);return g(e)&&void 0!==t&&S.test(t)},E=function(e,t){var n=[],r=function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r}(e.dom.childNodes,w);return f(r,(function(e){t(e)&&(n=n.concat([e])),n=n.concat(E(e,t))})),n},P=function(e){return"span"===e.nodeName.toLowerCase()&&e.classList.contains("mce-nbsp-wrap")},$=function(e,t){var n=E(w(t),T);f(n,(function(t){var n,r,o=t.dom.parentNode;if(P(o))n=w(o),r=B,O(n)?n.dom.classList.add(r):function(e,t){(function(e,t,n){var r=y(e,t).concat([n]);A(e,t,r.join(" "))})(e,"class",t)}(n,r);else{for(var i=e.dom.encode(m(t)).replace(k,Q),a=e.dom.create("div",null,i),s=void 0;s=a.lastChild;)e.dom.insertAfter(s,t.dom);e.dom.remove(t.dom)}}))},M=function(e,t){var n=e.dom.select(C,t);f(n,(function(t){var n,r;P(t)?(n=w(t),r=B,O(n)?n.dom.classList.remove(r):function(e,t){(function(e,t,n){var r=function(e){for(var t=[],r=0,o=e.length;r<o;r++){var i=e[r];i!==n&&t.push(i)}return t}(y(e,t));r.length>0?A(e,t,r.join(" ")):v(e,t)})(e,"class",t)}(n,r),function(e){var t=O(e)?e.dom.classList:function(e){return y(e,"class")}(e);0===t.length&&v(e,"class")}(n)):e.dom.remove(t,!0)}))},z=function(e){var t=e.getBody(),n=e.selection.getBookmark(),r=function(e,t){for(;e.parentNode;){if(e.parentNode===t)return e;e=e.parentNode}}(e.selection.getNode(),t);M(e,r=void 0!==r?r:t),$(e,r),e.selection.moveToBookmark(n)},R=function(e,t){!function(e,t){e.fire("VisualChars",{state:t})}(e,t.get());var n=e.getBody();!0===t.get()?$(e,n):M(e,n)},D=tinymce.util.Tools.resolve("tinymce.util.Delay"),I=function(e,t){return function(n){n.setActive(t.get());var r=function(e){return n.setActive(e.state)};return e.on("VisualChars",r),function(){return e.off("VisualChars",r)}}};n.add("visualchars",(function(e){var t=function(e){var t=e;return{get:function(){return t},set:function(e){t=e}}}(function(e){return e.getParam("visualchars_default_state",!1)}(e));return function(e,t){e.addCommand("mceVisualChars",(function(){!function(e,t){t.set(!t.get());var n=e.selection.getBookmark();R(e,t),e.selection.moveToBookmark(n)}(e,t)}))}(e,t),function(e,t){var n=function(){return e.execCommand("mceVisualChars")};e.ui.registry.addToggleButton("visualchars",{tooltip:"Show invisible characters",icon:"visualchars",onAction:n,onSetup:I(e,t)}),e.ui.registry.addToggleMenuItem("visualchars",{text:"Show invisible characters",icon:"visualchars",onAction:n,onSetup:I(e,t)})}(e,t),function(e,t){var n=D.debounce((function(){z(e)}),300);(function(e){return!1!==e.getParam("forced_root_block")})(e)&&e.on("keydown",(function(r){!0===t.get()&&(13===r.keyCode?z(e):n())})),e.on("remove",n.stop)}(e,t),function(e,t){e.on("init",(function(){R(e,t)}))}(e,t),function(e){return{isEnabled:function(){return e.get()}}}(t)}))}()},34376:function(e,t,n){"use strict";var r=n(22195);e.exports=Array.isArray||function(e){return"Array"===r(e)}},34527:function(e,t,n){"use strict";var r=n(43724),o=n(34376),i=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},34674:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(15215),o=n(13286),i=n(34253),a=n(15135),s={value:1,category:1,time:1,log:1},l=n(98026);function c(e,t,n,c){(0,l.each)(s,(function(s,d){var f=(0,l.merge)((0,l.merge)({},o.A[d],!0),c,!0),h=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t+"Axis."+d,n}return(0,r.C6)(n,e),n.prototype.mergeDefaultAndTheme=function(e,t){var n=(0,i.ad)(this),r=n?(0,i.vs)(e):{},o=t.getTheme();(0,l.merge)(e,o.get(d+"Axis")),(0,l.merge)(e,this.getDefaultOption()),e.type=u(e),n&&(0,i.YA)(e,r,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=a.A.createByAxisModel(this))},n.prototype.getCategories=function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=t+"Axis."+d,n.defaultOption=f,n}(n);e.registerComponentModel(h)})),e.registerSubTypeDefaulter(t+"Axis",u)}function u(e){return e.type||(e.data?"category":"value")}},34833:function(e,t,n){"use strict";n.d(t,{BV:function(){return m},CA:function(){return A},DW:function(){return R},Du:function(){return q},HY:function(){return N},Iz:function(){return K},JC:function(){return U},JI:function(){return F},Lm:function(){return re},Lv:function(){return b},Lx:function(){return fe},Mx:function(){return se},PW:function(){return O},Pk:function(){return M},Q6:function(){return _},QX:function(){return V},SD:function(){return L},T$:function(){return he},Tl:function(){return Y},U2:function(){return w},_m:function(){return G},_n:function(){return de},e3:function(){return p},fz:function(){return pe},gR:function(){return oe},gd:function(){return H},h5:function(){return y},iJ:function(){return ne},ix:function(){return le},jA:function(){return ee},lV:function(){return Z},mc:function(){return te},ml:function(){return ue},qR:function(){return X},t6:function(){return J},u6:function(){return ce},wV:function(){return g},zX:function(){return h}});var r=n(98026),o=n(69622),i=n(47698),a=n(48170),s=n(5070),l=1,c={},u=(0,a.$r)(),d=(0,a.$r)(),f=0,h=1,p=2,m=["emphasis","blur","select"],g=["normal","emphasis","blur","select"],A=10,v=9,y="highlight",O="downplay",b="select",w="unselect",_="toggleSelect";function x(e){return null!=e&&"none"!==e}function S(e,t,n){e.onHoverStateChange&&(e.hoverState||0)!==n&&e.onHoverStateChange(t),e.hoverState=n}function k(e){S(e,"emphasis",p)}function C(e){e.hoverState===p&&S(e,"normal",f)}function B(e){S(e,"blur",h)}function Q(e){e.hoverState===h&&S(e,"normal",f)}function T(e){e.selected=!0}function E(e){e.selected=!1}function P(e,t,n){t(e,n)}function $(e,t,n){P(e,t,n),e.isGroup&&e.traverse((function(e){P(e,t,n)}))}function M(e,t){switch(t){case"emphasis":e.hoverState=p;break;case"normal":e.hoverState=f;break;case"blur":e.hoverState=h;break;case"select":e.selected=!0}}function z(e,t){var n=this.states[e];if(this.style){if("emphasis"===e)return function(e,t,n,o){var a=n&&(0,r.indexOf)(n,"select")>=0,l=!1;if(e instanceof s.Ay){var c=u(e),d=a&&c.selectFill||c.normalFill,f=a&&c.selectStroke||c.normalStroke;if(x(d)||x(f)){var h=(o=o||{}).style||{};"inherit"===h.fill?(l=!0,o=(0,r.extend)({},o),(h=(0,r.extend)({},h)).fill=d):!x(h.fill)&&x(d)?(l=!0,o=(0,r.extend)({},o),(h=(0,r.extend)({},h)).fill=(0,i.liftColor)(d)):!x(h.stroke)&&x(f)&&(l||(o=(0,r.extend)({},o),h=(0,r.extend)({},h)),h.stroke=(0,i.liftColor)(f)),o.style=h}}if(o&&null==o.z2){l||(o=(0,r.extend)({},o));var p=e.z2EmphasisLift;o.z2=e.z2+(null!=p?p:A)}return o}(this,0,t,n);if("blur"===e)return function(e,t,n){var o=(0,r.indexOf)(e.currentStates,t)>=0,i=e.style.opacity,a=o?null:function(e,t,n,r){for(var o=e.style,i={},a=0;a<t.length;a++){var s=t[a],l=o[s];i[s]=null==l?r&&r[s]:l}for(a=0;a<e.animators.length;a++){var c=e.animators[a];c.__fromStateTransition&&c.__fromStateTransition.indexOf(n)<0&&"style"===c.targetName&&c.saveTo(i,t)}return i}(e,["opacity"],t,{opacity:1}),s=(n=n||{}).style||{};return null==s.opacity&&(n=(0,r.extend)({},n),s=(0,r.extend)({opacity:o?i:.1*a.opacity},s),n.style=s),n}(this,e,n);if("select"===e)return function(e,t,n){if(n&&null==n.z2){n=(0,r.extend)({},n);var o=e.z2SelectLift;n.z2=e.z2+(null!=o?o:v)}return n}(this,0,n)}return n}function R(e){e.stateProxy=z;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=z),n&&(n.stateProxy=z)}function D(e,t){!W(e,t)&&!e.__highByOuter&&$(e,k)}function I(e,t){!W(e,t)&&!e.__highByOuter&&$(e,C)}function N(e,t){e.__highByOuter|=1<<(t||0),$(e,k)}function L(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&$(e,C)}function V(e){$(e,B)}function U(e){$(e,Q)}function F(e){$(e,T)}function H(e){$(e,E)}function W(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function X(e){var t=e.getModel(),n=[],o=[];t.eachComponent((function(t,r){var i=d(r),a="series"===t,s=a?e.getViewOfSeriesModel(r):e.getViewOfComponentModel(r);!a&&o.push(s),i.isBlured&&(s.group.traverse((function(e){Q(e)})),a&&n.push(r)),i.isBlured=!1})),(0,r.each)(o,(function(e){e&&e.toggleBlurSeries&&e.toggleBlurSeries(n,!1,t)}))}function j(e,t,n,o){var i=o.getModel();function a(e,t){for(var n=0;n<t.length;n++){var r=e.getItemGraphicEl(t[n]);r&&U(r)}}if(n=n||"coordinateSystem",null!=e&&t&&"none"!==t){var s=i.getSeriesByIndex(e),l=s.coordinateSystem;l&&l.master&&(l=l.master);var c=[];i.eachSeries((function(e){var i=s===e,u=e.coordinateSystem;if(u&&u.master&&(u=u.master),!("series"===n&&!i||"coordinateSystem"===n&&!(u&&l?u===l:i)||"series"===t&&i)){if(o.getViewOfSeriesModel(e).group.traverse((function(e){e.__highByOuter&&i&&"self"===t||B(e)})),(0,r.isArrayLike)(t))a(e.getData(),t);else if((0,r.isObject)(t))for(var f=(0,r.keys)(t),h=0;h<f.length;h++)a(e.getData(f[h]),t[f[h]]);c.push(e),d(e).isBlured=!0}})),i.eachComponent((function(e,t){if("series"!==e){var n=o.getViewOfComponentModel(t);n&&n.toggleBlurSeries&&n.toggleBlurSeries(c,!0,i)}}))}}function q(e,t,n){if(null!=e&&null!=t){var r=n.getModel().getComponent(e,t);if(r){d(r).isBlured=!0;var o=n.getViewOfComponentModel(r);o&&o.focusBlurEnabled&&o.group.traverse((function(e){B(e)}))}}}function Z(e,t,n){var i=e.seriesIndex,s=e.getData(t.dataType);if(s){var l=(0,a.le)(s,t);l=((0,r.isArray)(l)?l[0]:l)||0;var c=s.getItemGraphicEl(l);if(!c)for(var u=s.count(),d=0;!c&&d<u;)c=s.getItemGraphicEl(d++);if(c){var f=(0,o.z)(c);j(i,f.focus,f.blurScope,n)}else{var h=e.get(["emphasis","focus"]),p=e.get(["emphasis","blurScope"]);null!=h&&j(i,h,p,n)}}}function Y(e,t,n,r){var i={focusSelf:!1,dispatchers:null};if(null==e||"series"===e||null==t||null==n)return i;var a=r.getModel().getComponent(e,t);if(!a)return i;var s=r.getViewOfComponentModel(a);if(!s||!s.findHighDownDispatchers)return i;for(var l,c=s.findHighDownDispatchers(n),u=0;u<c.length;u++)if("self"===(0,o.z)(c[u]).focus){l=!0;break}return{focusSelf:l,dispatchers:c}}function G(e,t,n){var i=(0,o.z)(e),a=Y(i.componentMainType,i.componentIndex,i.componentHighDownName,n),s=a.dispatchers,l=a.focusSelf;s?(l&&q(i.componentMainType,i.componentIndex,n),(0,r.each)(s,(function(e){return D(e,t)}))):(j(i.seriesIndex,i.focus,i.blurScope,n),"self"===i.focus&&q(i.componentMainType,i.componentIndex,n),D(e,t))}function K(e,t,n){X(n);var i=(0,o.z)(e),a=Y(i.componentMainType,i.componentIndex,i.componentHighDownName,n).dispatchers;a?(0,r.each)(a,(function(e){return I(e,t)})):I(e,t)}function J(e,t,n){if(fe(t)){var o=t.dataType,i=e.getData(o),s=(0,a.le)(i,t);(0,r.isArray)(s)||(s=[s]),e[t.type===_?"toggleSelect":t.type===b?"select":"unselect"](s,o)}}function ee(e){var t=e.getAllData();(0,r.each)(t,(function(t){var n=t.data,r=t.type;n.eachItemGraphicEl((function(t,n){e.isSelected(n,r)?F(t):H(t)}))}))}function te(e){var t=[];return e.eachSeries((function(e){var n=e.getAllData();(0,r.each)(n,(function(n){n.data;var r=n.type,o=e.getSelectedDataIndices();if(o.length>0){var i={dataIndex:o,seriesIndex:e.seriesIndex};null!=r&&(i.dataType=r),t.push(i)}}))})),t}function ne(e,t,n){le(e,!0),$(e,R),oe(e,t,n)}function re(e,t,n,r){r?function(e){le(e,!1)}(e):ne(e,t,n)}function oe(e,t,n){var r=(0,o.z)(e);null!=t?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var ie=["emphasis","blur","select"],ae={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function se(e,t,n,r){n=n||"itemStyle";for(var o=0;o<ie.length;o++){var i=ie[o],a=t.getModel([i,n]);e.ensureState(i).style=r?r(a):a[ae[n]]()}}function le(e,t){var n=!1===t,r=e;e.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=e.highDownSilentOnTouch),n&&!r.__highDownDispatcher||(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function ce(e){return!(!e||!e.__highDownDispatcher)}function ue(e,t,n){var r=(0,o.z)(e);r.componentMainType=t.mainType,r.componentIndex=t.componentIndex,r.componentHighDownName=n}function de(e){var t=c[e];return null==t&&l<=32&&(t=c[e]=l++),t}function fe(e){var t=e.type;return t===b||t===w||t===_}function he(e){var t=e.type;return t===y||t===O}function pe(e){var t=u(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var n=e.states.select||{};t.selectFill=n.style&&n.style.fill||null,t.selectStroke=n.style&&n.style.stroke||null}},34860:function(e,t,n){var r=n(2237),o=n(27097),i=n(22810),a=n(22498),s=n(53876),l=n(74251),c=n(8557),u=n(24993),d=n(35224),f=n(53848),h=n(40699);function p(e,t,n,r){var o=t[n];return o?f(o)?o(r,n,e):o[r]:r}var m=/\[([^\]]+)]|y{2,4}|M{1,2}|d{1,2}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|S{1,3}|Z{1,2}|W{1,2}|D{1,3}|[aAeEq]/g;e.exports=function(e,t,n){if(e){if(e=s(e),d(e)){var f=t||r.parseDateFormat||r.formatString,g=e.getHours(),A=g<12?"am":"pm",v=u({},r.parseDateRules||r.formatStringMatchs,n?n.formats:null),y=function(t,n){return(""+i(e)).substr(4-n)},O=function(t,n){return h(a(e)+1,n,"0")},b=function(t,n){return h(e.getDate(),n,"0")},w=function(e,t){return h(g,t,"0")},_=function(e,t){return h(g<=12?g:g-12,t,"0")},x=function(t,n){return h(e.getMinutes(),n,"0")},S=function(t,n){return h(e.getSeconds(),n,"0")},k=function(t,n){return h(e.getMilliseconds(),n,"0")},C=function(t,n){var r=e.getTimezoneOffset()/60*-1;return p(e,v,t,(r>=0?"+":"-")+h(r,2,"0")+(1===n?":":"")+"00")},B=function(t,o){return h(p(e,v,t,l(e,(n?n.firstDay:null)||r.firstDayOfWeek)),o,"0")},Q=function(t,n){return h(p(e,v,t,c(e)),n,"0")},T={yyyy:y,yy:y,MM:O,M:O,dd:b,d:b,HH:w,H:w,hh:_,h:_,mm:x,m:x,ss:S,s:S,SSS:k,S:k,ZZ:C,Z:C,WW:B,W:B,DDD:Q,D:Q,a:function(t){return p(e,v,t,A)},A:function(t){return p(e,v,t,o(A))},e:function(t){return p(e,v,t,e.getDay())},E:function(t){return p(e,v,t,e.getDay())},q:function(t){return p(e,v,t,Math.floor((a(e)+3)/3))}};return f.replace(m,(function(e,t){return t||(T[e]?T[e](e,e.length):e)}))}return"Invalid Date"}return""}},35031:function(e,t,n){"use strict";var r=n(97751),o=n(79504),i=n(38480),a=n(33717),s=n(28551),l=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?l(t,n(e)):t}},35055:function(e,t,n){var r=n(79135),o=n(74409),i=n(35657);e.exports=function(e){var t=0;return o(e)||r(e)?e.length:(i(e,(function(){t++})),t)}},35224:function(e,t,n){var r=n(6060),o=n(48007);e.exports=function(e){return r(e)&&!isNaN(o(e))}},35369:function(e,t,n){"use strict";n.d(t,{V:function(){return s},Y:function(){return a}});var r=n(98026),o=n(10992),i=(0,n(48170).$r)();function a(e,t,n,a){var s=n.axis;if(!s.scale.isBlank()){var l=n.getModel("splitArea"),c=l.getModel("areaStyle"),u=c.get("color"),d=a.coordinateSystem.getRect(),f=s.getTicksCoords({tickModel:l,clamp:!0});if(f.length){var h=u.length,p=i(e).splitAreaColors,m=r.createHashMap(),g=0;if(p)for(var A=0;A<f.length;A++){var v=p.get(f[A].tickValue);if(null!=v){g=(v+(h-1)*A)%h;break}}var y=s.toGlobalCoord(f[0].coord),O=c.getAreaStyle();for(u=r.isArray(u)?u:[u],A=1;A<f.length;A++){var b=s.toGlobalCoord(f[A].coord),w=void 0,_=void 0,x=void 0,S=void 0;s.isHorizontal()?(w=y,_=d.y,x=b-w,S=d.height,y=w+x):(w=d.x,_=y,x=d.width,y=_+(S=b-_));var k=f[A-1].tickValue;null!=k&&m.set(k,g),t.add(new o.A({anid:null!=k?"area_"+k:null,shape:{x:w,y:_,width:x,height:S},style:r.defaults({fill:u[g]},O),autoBatch:!0,silent:!0})),g=(g+1)%h}i(e).splitAreaColors=m}}}function s(e){i(e).splitAreaColors=null}},35370:function(e,t,n){"use strict";var r=n(26198);e.exports=function(e,t,n){for(var o=0,i=arguments.length>2?n:r(t),a=new e(i);i>o;)a[o]=t[o++];return a}},35390:function(e,t,n){var r=n(79135),o=n(54477),i=n(53848),a=n(35657),s=n(61968);function l(e,t){return o(e)&&o(t)||r(e)&&r(t)?(a(t,(function(n,r){s(r)&&(e[r]=i(t)?n:l(e[r],n))})),e):t}e.exports=function(e){e||(e={});for(var t,n=arguments,r=n.length,o=1;o<r;o++)(t=n[o])&&l(e,t);return e}},35452:function(e,t,n){"use strict";n.d(t,{W5:function(){return m},Yo:function(){return l},ds:function(){return p},e0:function(){return d},f:function(){return h},mK:function(){return u},q2:function(){return f}});var r=n(38123),o=n(44265),i=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=r.A.browser.firefox&&+r.A.browser.version.split(".")[0]<39;function l(e,t,n,r){return n=n||{},r?c(e,t,n):s&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):c(e,t,n),n}function c(e,t,n){if(r.A.domSupported&&e.getBoundingClientRect){var i=t.clientX,s=t.clientY;if((0,o.ot)(e)){var l=e.getBoundingClientRect();return n.zrX=i-l.left,void(n.zrY=s-l.top)}if((0,o.oq)(a,e,i,s))return n.zrX=a[0],void(n.zrY=a[1])}n.zrX=n.zrY=0}function u(e){return e||window.event}function d(e,t,n){if(null!=(t=u(t)).zrX)return t;var r=t.type;if(r&&r.indexOf("touch")>=0){var o="touchend"!==r?t.targetTouches[0]:t.changedTouches[0];o&&l(e,o,t,n)}else{l(e,t,t,n);var a=function(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;return null==n||null==r?t:3*(0!==r?Math.abs(r):Math.abs(n))*(r>0?-1:r<0?1:n>0?-1:1)}(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return null==t.which&&void 0!==s&&i.test(t.type)&&(t.which=1&s?1:2&s?3:4&s?2:0),t}function f(e,t,n,r){e.addEventListener(t,n,r)}function h(e,t,n,r){e.removeEventListener(t,n,r)}var p=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function m(e){return 2===e.which||3===e.which}},35508:function(e,t,n){var r=n(72832),o=n(13369);e.exports=function(e){return e&&e.trim?e.trim():r(o(e))}},35610:function(e,t,n){"use strict";var r=n(91291),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},35657:function(e,t,n){var r=n(79135),o=n(96430),i=n(68142);e.exports=function(e,t,n){return e?(r(e)?o:i)(e,t,n):e}},35917:function(e,t,n){"use strict";var r=n(43724),o=n(79039),i=n(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},36840:function(e,t,n){"use strict";var r=n(94901),o=n(24913),i=n(50283),a=n(39433);e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(r(n)&&i(n,c,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},36940:function(e,t,n){"use strict";n.d(t,{Ll:function(){return r},MP:function(){return a},NP:function(){return l},aw:function(){return o},d:function(){return i},fI:function(){return c},oV:function(){return s},r3:function(){return u}});const r="focus-trap.focus-after-trapped",o="focus-trap.focus-after-released",i="focus-trap.focusout-prevented",a={cancelable:!0,bubbles:!1},s={cancelable:!0,bubbles:!1},l="focusAfterTrapped",c="focusAfterReleased",u=Symbol("elFocusTrap")},36955:function(e,t,n){"use strict";var r=n(92140),o=n(94901),i=n(22195),a=n(78227)("toStringTag"),s=Object,l="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?i(t):"Object"===(r=i(t))&&o(t.callee)?"Arguments":r}},37346:function(e,t,n){"use strict";var r=n(52851),o=n(81094),i=n(25353),a=n(23149),s=n(30901);t.A=function(e,t,n,l){if(!(0,a.A)(e))return e;for(var c=-1,u=(t=(0,o.A)(t,e)).length,d=u-1,f=e;null!=f&&++c<u;){var h=(0,s.A)(t[c]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(c!=d){var m=f[h];void 0===(p=l?l(m,h,f):void 0)&&(p=(0,a.A)(m)?m:(0,i.A)(t[c+1])?[]:{})}(0,r.A)(f,h,p),f=f[h]}return e}},37395:function(e,t,n){"use strict";function r(e,t,n){switch(n){case"color":return e.getItemVisual(t,"style")[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,n)}}function o(e,t){switch(t){case"color":return e.getVisual("style")[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t)}}function i(e,t,n,r){switch(n){case"color":e.ensureUniqueItemVisual(t,"style")[e.getVisual("drawType")]=r,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=r;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,n,r)}}n.d(t,{Ez:function(){return r},oZ:function(){return i},rI:function(){return o}})},37467:function(e,t,n){"use strict";var r=n(37628),o=n(94644),i=o.aTypedArray,a=o.exportTypedArrayMethod,s=o.getTypedArrayConstructor;a("toReversed",(function(){return r(i(this),s(this))}))},37628:function(e,t,n){"use strict";var r=n(26198);e.exports=function(e,t){for(var n=r(e),o=new t(n),i=0;i<n;i++)o[i]=e[n-i-1];return o}},37959:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var r=n(98026),o={average:function(e){for(var t=0,n=0,r=0;r<e.length;r++)isNaN(e[r])||(t+=e[r],n++);return 0===n?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},i=function(e){return Math.round(e.length/2)};function a(e){return{seriesType:e,reset:function(e,t,n){var a=e.getData(),s=e.get("sampling"),l=e.coordinateSystem,c=a.count();if(c>10&&"cartesian2d"===l.type&&s){var u=l.getBaseAxis(),d=l.getOtherAxis(u),f=u.getExtent(),h=n.getDevicePixelRatio(),p=Math.abs(f[1]-f[0])*(h||1),m=Math.round(c/p);if(isFinite(m)&&m>1){"lttb"===s?e.setData(a.lttbDownSample(a.mapDimension(d.dim),1/m)):"minmax"===s&&e.setData(a.minmaxDownSample(a.mapDimension(d.dim),1/m));var g=void 0;(0,r.isString)(s)?g=o[s]:(0,r.isFunction)(s)&&(g=s),g&&e.setData(a.downSample(a.mapDimension(d.dim),1/m,g,i))}}}}}},38123:function(e,t){"use strict";var n=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},r=new function(){this.browser=new n,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(r.wxa=!0,r.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?r.worker=!0:!r.hasGlobalWindow||"Deno"in window?(r.node=!0,r.svgSupported=!0):function(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),o=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),i=e.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]),o&&(n.ie=!0,n.version=o[1]),i&&(n.edge=!0,n.version=i[1],n.newEdge=+i[1].split(".")[0]>18),a&&(n.weChat=!0),t.svgSupported="undefined"!=typeof SVGRect,t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported="undefined"!=typeof document;var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,r),t.A=r},38469:function(e,t,n){"use strict";var r=n(79504),o=n(40507),i=n(94402),a=i.Set,s=i.proto,l=r(s.forEach),c=r(s.keys),u=c(new a).next;e.exports=function(e,t,n){return n?o({iterator:c(e),next:u},t):l(e,t)}},38480:function(e,t,n){"use strict";var r=n(61828),o=n(88727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},38574:function(e,t,n){"use strict";var r=n(79504),o=Error,i=r("".replace),a=String(new o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!o.prepareStackTrace)for(;t--;)e=i(e,s,"");return e}},38588:function(e,t,n){var r=n(99361),o=n(29599),i=n(21323),a=n(22810),s=n(48007),l=n(22498),c=n(53876),u=n(35224),d=n(89093);e.exports=function e(t,n,f){var h=n&&!isNaN(n)?n:0;if(t=c(t),u(t)){if(f===r)return new Date(a(t),l(t)+h,1);if(f===o)return new Date(s(e(t,h+1,r))-1);if(d(f)&&t.setDate(f),h){var p=t.getDate();if(t.setMonth(l(t)+h),p!==t.getDate())return t.setDate(1),new Date(s(t)-i)}}return t}},38910:function(e,t,n){var r=n(50281),o=n(53876),i=n(35224),a=n(55623);e.exports=function(e,t){return e=o(e),i(e)?a(r(e,t))?366:365:NaN}},38912:function(e,t,n){var r=n(95654),o=n(95932),i=r((function e(t,n,r,i,a,s,l,c){var u,d,f,h=c.mapChildren||l;return o(n,(function(o,p){return u=a.concat([""+p]),d=s.concat([o]),(f=r.call(i,o,p,n,u,t,d))&&o&&l&&o[l]&&(f[h]=e(o,o[l],r,i,u,d,l,c)),f}))}));e.exports=i},39195:function(e,t,n){"use strict";var r=n(15215),o=n(5070),i=n(18983),a=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},s=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new a},t.prototype.buildPath=function(e,t){i.U(e,t,!1)},t}(o.Ay);s.prototype.type="polyline",t.A=s},39297:function(e,t,n){"use strict";var r=n(79504),o=n(48981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},39433:function(e,t,n){"use strict";var r=n(44576),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},39519:function(e,t,n){"use strict";var r,o,i=n(44576),a=n(82839),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(o=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},39789:function(e,t,n){"use strict";n.d(t,{a:function(){return ae}});var r=n(3087),o=n(15215),i=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.C6)(t,e),t.type="dataZoom.select",t}(n(72012).A),a=i,s=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.C6)(t,e),t.type="dataZoom.select",t}(n(98248).A),l=s,c=n(25619);function u(e){e.registerComponentModel(a),e.registerComponentView(l),(0,c.A)(e)}var d=n(98026),f=n(16985),h=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.C6)(t,e),t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;d.each(this.option.feature,(function(e,n){var r=f.x$(n);r&&(r.getDefaultOption&&(r.defaultOption=r.getDefaultOption(t)),d.merge(e,r.defaultOption))}))},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(n(15915).A),p=h,m=n(45558),g=n(43199),A=n(34833),v=n(5202),y=n(16563),O=n(2400),b=n(59109),w=n(12616),_=n(32322),x=n(89632),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.C6)(t,e),t.prototype.render=function(e,t,n,r){var o=this.group;if(o.removeAll(),e.get("show")){var i=+e.get("itemSize"),a="vertical"===e.get("orient"),s=e.get("feature")||{},l=this._features||(this._features={}),c=[];d.each(s,(function(e,t){c.push(t)})),new y.A(this._featureNames||[],c).add(u).update(u).remove(d.curry(u,null)).execute(),this._featureNames=c,O.Z(o,e,n),o.add(O.P(o.getBoundingRect(),e)),a||o.eachChild((function(e){var t=e.__title,r=e.ensureState("emphasis"),a=r.textConfig||(r.textConfig={}),s=e.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!d.isFunction(l)&&t){var c=l.style||(l.style={}),u=m.NO(t,_.Ay.makeFont(c)),f=e.x+o.x,h=!1;e.y+o.y+i+u.height>n.getHeight()&&(a.position="top",h=!0);var p=h?-5-u.height:i+10;f+u.width/2>n.getWidth()?(a.position=["100%",p],c.align="right"):f-u.width/2<0&&(a.position=[0,p],c.align="left")}}))}function u(u,h){var p,m=c[u],y=c[h],O=s[m],b=new v.A(O,e,e.ecModel);if(r&&null!=r.newTitle&&r.featureName===m&&(O.title=r.newTitle),m&&!y){if(function(e){return 0===e.indexOf("my")}(m))p={onclick:b.option.onclick,featureName:m};else{var S=(0,f.x$)(m);if(!S)return;p=new S}l[m]=p}else if(!(p=l[y]))return;p.uid=(0,w.$Q)("toolbox-feature"),p.model=b,p.ecModel=t,p.api=n;var k=p instanceof f.Ms;m||!y?!b.get("show")||k&&p.unusable?k&&p.remove&&p.remove(t,n):(function(r,s,l){var c,u,h=r.getModel("iconStyle"),p=r.getModel(["emphasis","iconStyle"]),m=s instanceof f.Ms&&s.getIcons?s.getIcons():r.get("icon"),v=r.get("title")||{};d.isString(m)?(c={})[l]=m:c=m,d.isString(v)?(u={})[l]=v:u=v;var y=r.iconPaths={};d.each(c,(function(l,c){var f=g.createIcon(l,{},{x:-i/2,y:-i/2,width:i,height:i});f.setStyle(h.getItemStyle()),f.ensureState("emphasis").style=p.getItemStyle();var m=new _.Ay({style:{text:u[c],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null,font:(0,x.c8)({fontStyle:p.get("textFontStyle"),fontFamily:p.get("textFontFamily"),fontSize:p.get("textFontSize"),fontWeight:p.get("textFontWeight")},t)},ignore:!0});f.setTextContent(m),g.setTooltipConfig({el:f,componentModel:e,itemName:c,formatterParamsExtra:{title:u[c]}}),f.__title=u[c],f.on("mouseover",(function(){var t=p.getItemStyle(),r=a?null==e.get("right")&&"right"!==e.get("left")?"right":"left":null==e.get("bottom")&&"bottom"!==e.get("top")?"bottom":"top";m.setStyle({fill:p.get("textFill")||t.fill||t.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),f.setTextConfig({position:p.get("textPosition")||r}),m.ignore=!e.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==r.get(["iconStatus",c])&&n.leaveEmphasis(this),m.hide()})),("emphasis"===r.get(["iconStatus",c])?A.HY:A.SD)(f),o.add(f),f.on("click",d.bind(s.onclick,s,t,n,c)),y[c]=f}))}(b,p,m),b.setIconStatus=function(e,t){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,r[e]&&("emphasis"===t?A.HY:A.SD)(r[e])},p instanceof f.Ms&&p.render&&p.render(b,t,n,r)):k&&p.dispose&&p.dispose(t,n)}},t.prototype.updateView=function(e,t,n,r){d.each(this._features,(function(e){e instanceof f.Ms&&e.updateView&&e.updateView(e.model,t,n,r)}))},t.prototype.remove=function(e,t){d.each(this._features,(function(n){n instanceof f.Ms&&n.remove&&n.remove(e,t)})),this.group.removeAll()},t.prototype.dispose=function(e,t){d.each(this._features,(function(n){n instanceof f.Ms&&n.dispose&&n.dispose(e,t)}))},t.type="toolbox",t}(b.A),k=S,C=n(38123),B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.C6)(t,e),t.prototype.onclick=function(e,t){var n=this.model,r=n.get("name")||e.get("title.0.text")||"echarts",o="svg"===t.getZr().painter.getType(),i=o?"svg":n.get("type",!0)||"png",a=t.getConnectedDataURL({type:i,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=C.A.browser;if("function"!=typeof MouseEvent||!s.newEdge&&(s.ie||s.edge))if(window.navigator.msSaveOrOpenBlob||o){var l=a.split(","),c=l[0].indexOf("base64")>-1,u=o?decodeURIComponent(l[1]):l[1];c&&(u=window.atob(u));var d=r+"."+i;if(window.navigator.msSaveOrOpenBlob){for(var f=u.length,h=new Uint8Array(f);f--;)h[f]=u.charCodeAt(f);var p=new Blob([h]);window.navigator.msSaveOrOpenBlob(p,d)}else{var m=document.createElement("iframe");document.body.appendChild(m);var g=m.contentWindow,A=g.document;A.open("image/svg+xml","replace"),A.write(u),A.close(),g.focus(),A.execCommand("SaveAs",!0,d),document.body.removeChild(m)}}else{var v=n.get("lang"),y='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(v&&v[0]||"")+'" /></body>',O=window.open();O.document.write(y),O.document.title=r}else{var b=document.createElement("a");b.download=r+"."+i,b.target="_blank",b.href=a;var w=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});b.dispatchEvent(w)}},t.getDefaultOption=function(e){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},t}(f.Ms),Q=B,T=n(23421),E=n(48170),P="__ec_magicType_stack__",$=[["line","bar"],["stack"]],M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.C6)(t,e),t.prototype.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return d.each(e.get("type"),(function(e){t[e]&&(n[e]=t[e])})),n},t.getDefaultOption=function(e){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},t.prototype.onclick=function(e,t,n){var r=this.model,o=r.get(["seriesIndex",n]);if(z[n]){var i,a={series:[]};d.each($,(function(e){d.indexOf(e,n)>=0&&d.each(e,(function(e){r.setIconStatus(e,"normal")}))})),r.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},(function(e){var t=e.subType,o=e.id,i=z[n](t,o,e,r);i&&(d.defaults(i,e.option),a.series.push(i));var s=e.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var c=l.dim+"Axis",u=e.getReferringComponents(c,E.US).models[0].componentIndex;a[c]=a[c]||[];for(var f=0;f<=u;f++)a[c][u]=a[c][u]||{};a[c][u].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(i=d.merge({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(s="tiled")),t.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:i,featureName:"magicType"})}},t}(f.Ms),z={line:function(e,t,n,r){if("bar"===e)return d.merge({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(e,t,n,r){if("line"===e)return d.merge({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(e,t,n,r){var o=n.get("stack")===P;if("line"===e||"bar"===e)return r.setIconStatus("stack",o?"normal":"emphasis"),d.merge({id:t,stack:o?"":P},r.get(["option","stack"])||{},!0)}};T.OH({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)}));var R=M,D=n(35452),I=new Array(60).join("-"),N="\t";function L(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var V=new RegExp("[\t]+","g");var U=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.C6)(t,e),t.prototype.onclick=function(e,t){setTimeout((function(){t.dispatchAction({type:"hideTip"})}));var n=t.getDom(),r=this.model;this._dom&&n.removeChild(this._dom);var o=document.createElement("div");o.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",o.style.backgroundColor=r.get("backgroundColor")||"#fff";var i=document.createElement("h4"),a=r.get("lang")||[];i.innerHTML=a[0]||r.get("title"),i.style.cssText="margin:10px 20px",i.style.color=r.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var c=r.get("optionToContent"),u=r.get("contentToOption"),f=function(e){var t,n,r,o=function(e){var t={},n=[],r=[];return e.eachRawSeries((function(e){var o=e.coordinateSystem;if(!o||"cartesian2d"!==o.type&&"polar"!==o.type)n.push(e);else{var i=o.getBaseAxis();if("category"===i.type){var a=i.dim+"_"+i.index;t[a]||(t[a]={categoryAxis:i,valueAxis:o.getOtherAxis(i),series:[]},r.push({axisDim:i.dim,axisIndex:i.index})),t[a].series.push(e)}else n.push(e)}})),{seriesGroupByCategoryAxis:t,other:n,meta:r}}(e);return{value:d.filter([(n=o.seriesGroupByCategoryAxis,r=[],d.each(n,(function(e,t){var n=e.categoryAxis,o=e.valueAxis.dim,i=[" "].concat(d.map(e.series,(function(e){return e.name}))),a=[n.model.getCategories()];d.each(e.series,(function(e){var t=e.getRawData();a.push(e.getRawData().mapArray(t.mapDimension(o),(function(e){return e})))}));for(var s=[i.join(N)],l=0;l<a[0].length;l++){for(var c=[],u=0;u<a.length;u++)c.push(a[u][l]);s.push(c.join(N))}r.push(s.join("\n"))})),r.join("\n\n"+I+"\n\n")),(t=o.other,d.map(t,(function(e){var t=e.getRawData(),n=[e.name],r=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,o=arguments[e-1],i=t.getName(o),a=0;a<e-1;a++)r[a]=arguments[a];n.push((i?i+N:"")+r.join(N))})),n.join("\n")})).join("\n\n"+I+"\n\n"))],(function(e){return!!e.replace(/[\n\t\s]/g,"")})).join("\n\n"+I+"\n\n"),meta:o.meta}}(e);if(d.isFunction(c)){var h=c(t.getOption());d.isString(h)?s.innerHTML=h:d.isDom(h)&&s.appendChild(h)}else{l.readOnly=r.get("readOnly");var p=l.style;p.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",p.color=r.get("textColor"),p.borderColor=r.get("textareaBorderColor"),p.backgroundColor=r.get("textareaColor"),l.value=f.value,s.appendChild(l)}var m=f.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var A="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",v=document.createElement("div"),y=document.createElement("div");A+=";background-color:"+r.get("buttonColor"),A+=";color:"+r.get("buttonTextColor");var O=this;function b(){n.removeChild(o),O._dom=null}(0,D.q2)(v,"click",b),(0,D.q2)(y,"click",(function(){if(null==u&&null!=c||null!=u&&null==c)b();else{var e;try{e=d.isFunction(u)?u(s,t.getOption()):function(e,t){var n=e.split(new RegExp("\n*"+I+"\n*","g")),r={series:[]};return d.each(n,(function(e,n){if(function(e){if(e.slice(0,e.indexOf("\n")).indexOf(N)>=0)return!0}(e)){var o=function(e){for(var t=e.split(/\n+/g),n=L(t.shift()).split(V),r=[],o=d.map(n,(function(e){return{name:e,data:[]}})),i=0;i<t.length;i++){var a=L(t[i]).split(V);r.push(a.shift());for(var s=0;s<a.length;s++)o[s]&&(o[s].data[i]=a[s])}return{series:o,categories:r}}(e),i=t[n],a=i.axisDim+"Axis";i&&(r[a]=r[a]||[],r[a][i.axisIndex]={data:o.categories},r.series=r.series.concat(o.series))}else o=function(e){for(var t=e.split(/\n+/g),n=L(t.shift()),r=[],o=0;o<t.length;o++){var i=L(t[o]);if(i){var a=i.split(V),s="",l=void 0,c=!1;isNaN(a[0])?(c=!0,s=a[0],a=a.slice(1),r[o]={name:s,value:[]},l=r[o].value):l=r[o]=[];for(var u=0;u<a.length;u++)l.push(+a[u]);1===l.length&&(c?r[o].value=l[0]:r[o]=l[0])}}return{name:n,data:r}}(e),r.series.push(o)})),r}(l.value,m)}catch(e){throw b(),new Error("Data view format error "+e)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),b()}})),v.innerHTML=a[1],y.innerHTML=a[2],y.style.cssText=v.style.cssText=A,!r.get("readOnly")&&g.appendChild(y),g.appendChild(v),o.appendChild(i),o.appendChild(s),o.appendChild(g),s.style.height=n.clientHeight-80+"px",n.appendChild(o),this._dom=o},t.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.getDefaultOption=function(e){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},t}(f.Ms);function F(e,t){return d.map(e,(function(e,n){var r=t&&t[n];if(d.isObject(r)&&!d.isArray(r)){d.isObject(e)&&!d.isArray(e)||(e={value:e});var o=null!=r.name&&null==e.name;return e=d.defaults(e,r),o&&delete e.name,e}return e}))}T.OH({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(e,t){var n=[];d.each(e.newOption.series,(function(e){var r=t.getSeriesByName(e.name)[0];if(r){var o=r.get("data");n.push({name:e.name,data:F(e.data,o)})}else n.push(d.extend({type:"scatter"},e))})),t.mergeOption(d.defaults({series:n},e.newOption))}));var H=U,W=d.each,X=(0,E.$r)();function j(e){var t=X(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.C6)(t,e),t.prototype.onclick=function(e,t){!function(e){X(e).snapshots=null}(e),t.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])}},t}(f.Ms);T.OH({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var Z=q,Y=n(14403),G=n(98595),K=n(98983),J=n(7442),ee=d.each,te=(0,E.S_)("toolbox-dataZoom_"),ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.C6)(t,e),t.prototype.render=function(e,t,n,r){this._brushController||(this._brushController=new Y.A(n.getZr()),this._brushController.on("brush",d.bind(this._onBrush,this)).mount()),function(e,t,n,r,o){var i=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(i="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=i,e.setIconStatus("zoom",i?"emphasis":"normal");var a=new G.A(oe(e),t,{include:["grid"]}).makePanelOpts(o,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(a).enableBrush(!(!i||!a.length)&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}(e,t,this,r,n),function(e,t){e.setIconStatus("back",function(e){return j(e).length}(t)>1?"emphasis":"normal")}(e,t)},t.prototype.onclick=function(e,t,n){re[n].call(this)},t.prototype.remove=function(e,t){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,t){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var t=e.areas;if(e.isEnd&&t.length){var n={},r=this.ecModel;this._brushController.updateCovers([]),new G.A(oe(this.model),r,{include:["grid"]}).matchOutputRanges(t,r,(function(e,t,n){if("cartesian2d"===n.type){var r=e.brushType;"rect"===r?(o("x",n,t[0]),o("y",n,t[1])):o({lineX:"x",lineY:"y"}[r],n,t)}})),function(e,t){var n=j(e);W(t,(function(t,r){for(var o=n.length-1;o>=0&&!n[o][r];o--);if(o<0){var i=e.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(i){var a=i.getPercentRange();n[0][r]={dataZoomId:r,start:a[0],end:a[1]}}}})),n.push(t)}(r,n),this._dispatchZoomAction(n)}function o(e,t,o){var i=t.getAxis(e),a=i.model,s=function(e,t,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(e,t.componentIndex)&&(r=n)})),r}(e,a,r),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(o=(0,K.A)(0,o.slice(),i.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:o[0],endValue:o[1]})}},t.prototype._dispatchZoomAction=function(e){var t=[];ee(e,(function(e,n){t.push(d.clone(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},t.getDefaultOption=function(e){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},t}(f.Ms),re={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(function(e){var t=j(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return W(n,(function(e,n){for(var o=t.length-1;o>=0;o--)if(e=t[o][n]){r[n]=e;break}})),r}(this.ecModel))}};function oe(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return null==t.xAxisIndex&&null==t.xAxisId&&(t.xAxisIndex="all"),null==t.yAxisIndex&&null==t.yAxisId&&(t.yAxisIndex="all"),t}(0,J.S)("dataZoom",(function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(t&&null!=t.get(n)){var r=t.getModel(n),o=[],i=oe(r),a=(0,E._e)(e,i);return ee(a.xAxisModels,(function(e){return s(e,"xAxis","xAxisIndex")})),ee(a.yAxisModels,(function(e){return s(e,"yAxis","yAxisIndex")})),o}function s(e,t,n){var i=e.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:te+t+i};a[n]=i,o.push(a)}}));var ie=ne;function ae(e){e.registerComponentModel(p),e.registerComponentView(k),(0,f.M_)("saveAsImage",Q),(0,f.M_)("magicType",R),(0,f.M_)("dataView",H),(0,f.M_)("dataZoom",ie),(0,f.M_)("restore",Z),(0,r.Y)(u)}},39852:function(e,t,n){var r=n(99361),o=n(29599),i=n(63982),a=n(22810),s=n(22498),l=n(48007),c=n(53876),u=n(35224);e.exports=function e(t,n,d){if(t=c(t),u(t)&&!isNaN(n)){if(t.setDate(t.getDate()+i(n)),d===r)return new Date(a(t),s(t),t.getDate());if(d===o)return new Date(l(e(t,1,r))-1)}return t}},39916:function(e,t,n){n(59977)},39928:function(e,t,n){"use strict";var r=n(26198),o=n(91291),i=RangeError;e.exports=function(e,t,n,a){var s=r(e),l=o(n),c=l<0?s+l:l;if(c>=s||c<0)throw new i("Incorrect index");for(var u=new t(s),d=0;d<s;d++)u[d]=d===c?a:e[d];return u}},40446:function(e,t,n){"use strict";n.d(t,{A:function(){return g}});var r=n(98026),o=n(6006),i=n(97351),a=n(29756),s=n(48170),l=n(89737),c=function(e){this.coordSysDims=[],this.axisMap=(0,r.createHashMap)(),this.categoryAxisMap=(0,r.createHashMap)(),this.coordSysName=e},u={cartesian2d:function(e,t,n,r){var o=e.getReferringComponents("xAxis",s.US).models[0],i=e.getReferringComponents("yAxis",s.US).models[0];t.coordSysDims=["x","y"],n.set("x",o),n.set("y",i),d(o)&&(r.set("x",o),t.firstCategoryDimIndex=0),d(i)&&(r.set("y",i),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var o=e.getReferringComponents("singleAxis",s.US).models[0];t.coordSysDims=["single"],n.set("single",o),d(o)&&(r.set("single",o),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var o=e.getReferringComponents("polar",s.US).models[0],i=o.findAxisModel("radiusAxis"),a=o.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",i),n.set("angle",a),d(i)&&(r.set("radius",i),t.firstCategoryDimIndex=0),d(a)&&(r.set("angle",a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,o){var i=e.ecModel,a=i.getComponent("parallel",e.get("parallelIndex")),s=t.coordSysDims=a.dimensions.slice();(0,r.each)(a.parallelAxisIndex,(function(e,r){var a=i.getComponent("parallelAxis",e),l=s[r];n.set(l,a),d(a)&&(o.set(l,a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=r))}))}};function d(e){return"category"===e.get("type")}var f=n(34310),h=n(65008),p=n(23071),m=n(13430),g=function(e,t,n){n=n||{};var d,g=t.getSourceManager(),A=!1;e?(A=!0,d=(0,f.AF)(e)):A=(d=g.getSource()).sourceFormat===m.mK;var v=function(e){var t=e.get("coordinateSystem"),n=new c(t),r=u[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}(t),y=function(e,t){var n,o=e.get("coordinateSystem"),i=l.A.get(o);return t&&t.coordSysDims&&(n=r.map(t.coordSysDims,(function(e){var n={name:e},r=t.axisMap.get(e);if(r){var o=r.get("type");n.type=(0,a.B)(o)}return n}))),n||(n=i&&(i.getDimensionsInfo?i.getDimensionsInfo():i.dimensions.slice())||["x","y"]),n}(t,v),O=n.useEncodeDefaulter,b=r.isFunction(O)?O:O?r.curry(p.OC,y,t):null,w={coordDimensions:y,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:b,canOmitUnusedDimensions:!A},_=(0,i.A)(d,w),x=function(e,t,n){var o,i;return n&&r.each(e,(function(e,r){var a=e.coordDim,s=n.categoryAxisMap.get(a);s&&(null==o&&(o=r),e.ordinalMeta=s.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),null!=e.otherDims.itemName&&(i=!0)})),i||null==o||(e[o].otherDims.itemName=0),o}(_.dimensions,n.createInvertedIndices,v),S=A?null:g.getSharedDataStore(_),k=(0,h.iJ)(t,{schema:_,store:S}),C=new o.A(_,t);C.setCalculationInfo(k);var B=null!=x&&function(e){if(e.sourceFormat===m.mK){var t=function(e){for(var t=0;t<e.length&&null==e[t];)t++;return e[t]}(e.data||[]);return!r.isArray((0,s.vj)(t))}}(d)?function(e,t,n,r){return r===x?n:this.defaultDimValueGetter(e,t,n,r)}:null;return C.hasItemOption=!1,C.initData(A?d:S,null,B),C}},40481:function(e,t,n){var r=n(60843),o=n(89093),i=n(99917);e.exports=function(e){return o(e)?i(e):""+(r(e)?"":e)}},40499:function(e,t,n){var r=n(13908),o=n(17186),i=n(7586),a=n(50480),s=n(68772);e.exports=function(e,t){var n=r(e),l=r(t);return!l.length||(s(n,l)?a(l,(function(r){return o(n,(function(n){return n===r&&i(e[n],t[r])}))>-1})):i(e,t))}},40507:function(e,t,n){"use strict";var r=n(69565);e.exports=function(e,t,n){for(var o,i,a=n?e:e.iterator,s=e.next;!(o=r(s,a)).done;)if(void 0!==(i=t(o.value)))return i}},40557:function(e,t,n){"use strict";function r(e){for(var t={},n=0,r=e.length;n<r;++n)t[e[n]]=!0;return t}n.d(t,{v:function(){return A}});var o,i=["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"],a=r(i),s=r(["def","class","case","for","while","until","module","catch","loop","proc","begin"]),l=r(["end","until"]),c={"[":"]","{":"}","(":")"},u={"]":"[","}":"{",")":"("};function d(e,t,n){return n.tokenize.push(e),e(t,n)}function f(e,t){if(e.sol()&&e.match("=begin")&&e.eol())return t.tokenize.push(g),"comment";if(e.eatSpace())return null;var n,r,i,a=e.next();if("`"==a||"'"==a||'"'==a)return d(m(a,"string",'"'==a||"`"==a),e,t);if("/"==a)return function(e){for(var t,n=e.pos,r=0,o=!1,i=!1;null!=(t=e.next());)if(i)i=!1;else{if("[{(".indexOf(t)>-1)r++;else if("]})".indexOf(t)>-1){if(--r<0)break}else if("/"==t&&0==r){o=!0;break}i="\\"==t}return e.backUp(e.pos-n),o}(e)?d(m(a,"string.special",!0),e,t):"operator";if("%"==a){var s="string",l=!0;e.eat("s")?s="atom":e.eat(/[WQ]/)?s="string":e.eat(/[r]/)?s="string.special":e.eat(/[wxq]/)&&(s="string",l=!1);var u=e.eat(/[^\w\s=]/);return u?(c.propertyIsEnumerable(u)&&(u=c[u]),d(m(u,s,l,!0),e,t)):"operator"}if("#"==a)return e.skipToEnd(),"comment";if("<"==a&&(n=e.match(/^<([-~])[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return d((r=n[2],i=n[1],function(e,t){return i&&e.eatSpace(),e.match(r)?t.tokenize.pop():e.skipToEnd(),"string"}),e,t);if("0"==a)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(a))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==a){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==a)return e.eat("'")?d(m("'","atom",!1),e,t):e.eat('"')?d(m('"',"atom",!0),e,t):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==a&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"propertyName";if("$"==a)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variableName.special";if(/[a-zA-Z_\xa1-\uffff]/.test(a))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"variable";if("|"!=a||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok){if(/[\(\)\[\]{}\\;]/.test(a))return o=a,null;if("-"==a&&e.eat(">"))return"operator";if(/[=+\-\/*:\.^%<>~|]/.test(a)){var f=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=a||f||(o="."),"operator"}return null}return o="|",null}function h(e){return e||(e=1),function(t,n){if("}"==t.peek()){if(1==e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);n.tokenize[n.tokenize.length-1]=h(e-1)}else"{"==t.peek()&&(n.tokenize[n.tokenize.length-1]=h(e+1));return f(t,n)}}function p(){var e=!1;return function(t,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)):(e=!0,f(t,n))}}function m(e,t,n,r){return function(o,i){var a,s=!1;for("read-quoted-paused"===i.context.type&&(i.context=i.context.prev,o.eat("}"));null!=(a=o.next());){if(a==e&&(r||!s)){i.tokenize.pop();break}if(n&&"#"==a&&!s){if(o.eat("{")){"}"==e&&(i.context={prev:i.context,type:"read-quoted-paused"}),i.tokenize.push(h());break}if(/[@\$]/.test(o.peek())){i.tokenize.push(p());break}}s=!s&&"\\"==a}return t}}function g(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}const A={name:"ruby",startState:function(e){return{tokenize:[f],indented:0,context:{type:"top",indented:-e},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,t){o=null,e.sol()&&(t.indented=e.indentation());var n,r=t.tokenize[t.tokenize.length-1](e,t),i=o;if("variable"==r){var c=e.current();"keyword"==(r="."==t.lastTok?"property":a.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(c)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable")&&(i=c,s.propertyIsEnumerable(c)?n="indent":l.propertyIsEnumerable(c)?n="dedent":"if"!=c&&"unless"!=c||e.column()!=e.indentation()?"do"==c&&t.context.indented<t.indented&&(n="indent"):n="indent")}return(o||r&&"comment"!=r)&&(t.lastTok=i),"|"==o&&(t.varList=!t.varList),"indent"==n||/[\(\[\{]/.test(o)?t.context={prev:t.context,type:o||r,indented:t.indented}:("dedent"==n||/[\)\]\}]/.test(o))&&t.context.prev&&(t.context=t.context.prev),e.eol()&&(t.continuedLine="\\"==o||"operator"==r),r},indent:function(e,t,n){if(e.tokenize[e.tokenize.length-1]!=f)return null;var r=t&&t.charAt(0),o=e.context,i=o.type==u[r]||"keyword"==o.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(t);return o.indented+(i?0:n.unit)+(e.continuedLine?n.unit:0)},languageData:{indentOnInput:/^\s*(?:end|rescue|elsif|else|\})$/,commentTokens:{line:"#"},autocomplete:i}}},40616:function(e,t,n){"use strict";var r=n(79039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},40699:function(e,t,n){var r=n(40481),o=n(10906),i=n(658);e.exports=function(e,t,n){var a=r(e);return t|=0,n=o(n)?" ":""+n,a.padStart?a.padStart(t,n):t>a.length?((t-=a.length)>n.length&&(n+=i(n,t/n.length)),n.slice(0,t)+a):a}},40870:function(e,t,n){var r=n(49840)("values",0);e.exports=r},40972:function(e,t,n){"use strict";n.d(t,{A:function(){return d},R:function(){return u}});var r=n(98026),o=n(34310),i=n(13430),a=n(23071),s=n(17752),l=n(70250),c=n(58267),u=function(){function e(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var e,t,n=this._sourceHost,a=this._getUpstreamSourceManagers(),s=!!a.length;if(f(n)){var l=n,c=void 0,u=void 0,d=void 0;if(s){var h=a[0];h.prepareSource(),c=(d=h.getSource()).data,u=d.sourceFormat,t=[h._getVersionSign()]}else c=l.get("data",!0),u=(0,r.isTypedArray)(c)?i.XO:i.mK,t=[];var p=this._getSourceMetaRawOption()||{},m=d&&d.metaRawOption||{},g=(0,r.retrieve2)(p.seriesLayoutBy,m.seriesLayoutBy)||null,A=(0,r.retrieve2)(p.sourceHeader,m.sourceHeader),v=(0,r.retrieve2)(p.dimensions,m.dimensions);e=g!==m.seriesLayoutBy||!!A!=!!m.sourceHeader||v?[(0,o.gV)(c,{seriesLayoutBy:g,sourceHeader:A,dimensions:v},u)]:[]}else{var y=n;if(s){var O=this._applyTransform(a);e=O.sourceList,t=O.upstreamSignList}else{var b=y.get("source",!0);e=[(0,o.gV)(b,this._getSourceMetaRawOption(),null)],t=[]}}this._setLocalSource(e,t)},e.prototype._applyTransform=function(e){var t,n=this._sourceHost,i=n.get("transform",!0),a=n.get("fromTransformResult",!0);null!=a&&1!==e.length&&h("");var l=[],c=[];return(0,r.each)(e,(function(e){e.prepareSource();var t=e.getSource(a||0);null==a||t||h(""),l.push(t),c.push(e._getVersionSign())})),i?t=(0,s.py)(i,l,{datasetIndex:n.componentIndex}):null!=a&&(t=[(0,o.BE)(l[0])]),{sourceList:t,upstreamSignList:c}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t<e.length;t++){var n=e[t];if(n._isDirty()||this._upstreamSignList[t]!==n._getVersionSign())return!0}},e.prototype.getSource=function(e){e=e||0;var t=this._sourceList[e];if(!t){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(e)}return t},e.prototype.getSharedDataStore=function(e){var t=e.makeStoreSchema();return this._innerGetDataStore(t.dimensions,e.source,t.hash)},e.prototype._innerGetDataStore=function(e,t,n){var r=this._storeList,o=r[0];o||(o=r[0]={});var i=o[n];if(!i){var a=this._getUpstreamSourceManagers()[0];f(this._sourceHost)&&a?i=a._innerGetDataStore(e,t,n):(i=new l.Ay).initData(new c.d1(t,e.length),e),o[n]=i}return i},e.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(f(e)){var t=(0,a.G9)(e);return t?[t.getSourceManager()]:[]}return(0,r.map)((0,a.Gt)(e),(function(e){return e.getSourceManager()}))},e.prototype._getSourceMetaRawOption=function(){var e,t,n,r=this._sourceHost;if(f(r))e=r.get("seriesLayoutBy",!0),t=r.get("sourceHeader",!0),n=r.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var o=r;e=o.get("seriesLayoutBy",!0),t=o.get("sourceHeader",!0),n=o.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:t,dimensions:n}},e}();function d(e){e.option.transform&&(0,r.setAsPrimitive)(e.option.transform)}function f(e){return"series"===e.mainType}function h(e){throw new Error(e)}},41025:function(e,t,n){"use strict";n.d(t,{$8:function(){return l},R8:function(){return a},aT:function(){return s}});var r="[ECharts] ",o={},i="undefined"!=typeof console&&console.warn&&console.log;function a(e,t){!function(e,t,n){if(i){if(n){if(o[t])return;o[t]=!0}console[e](r+t)}}("warn",e,t)}function s(e){}function l(e){throw new Error(e)}},41373:function(e){var t=decodeURIComponent;e.exports=t},41418:function(e,t,n){"use strict";n.d(t,{V:function(){return i},m:function(){return o}});var r=n(22720);const o=e=>r.oc?window.requestAnimationFrame(e):setTimeout(e,16),i=e=>r.oc?window.cancelAnimationFrame(e):clearTimeout(e)},41589:function(e,t,n){"use strict";n.d(t,{n:function(){return o}});var r=2*Math.PI;function o(e){return(e%=r)<0&&(e+=r),e}},41626:function(e,t,n){var r=n(98594)("boolean");e.exports=r},41651:function(e,t,n){"use strict";n.d(t,{$:function(){return o},U:function(){return i}});class r extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function o(e,t){throw new r(`[${e}] ${t}`)}function i(e,t){}},41769:function(e,t,n){var r=n(35657),o=n(97205),i=n(53848),a=n(54529);e.exports=function(e,t,n){var s=[];if(t){i(t)||(t=a(t));var l,c={};r(e,(function(r,o){l=t.call(n,r,o,e),c[l]||(c[l]=1,s.push(r))}))}else r(e,(function(e){o(s,e)||s.push(e)}));return s}},41820:function(e,t,n){var r=n(79135),o=n(77864),i=n(2801);e.exports=function(e){return!(i(e)||isNaN(e)||r(e)||o(e))}},41849:function(e,t,n){"use strict";function r(e,t){return e.type===t}n.d(t,{g:function(){return r}})},41917:function(e,t,n){"use strict";var r=n(72136),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.A||o||Function("return this")();t.A=i},41982:function(e){e.exports=function(e,t,n){for(var r=e.length-1;r>=0;r--)t.call(n,e[r],r,e)}},42106:function(e,t,n){var r=n(75526)("Arguments");e.exports=r},42120:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),n=tinymce.util.Tools.resolve("tinymce.util.Tools"),r="a:not([href])",o=function(e){return!e},i=function(e){return e.getAttribute("id")||e.getAttribute("name")||""},a=function(e){return function(e){return e&&"a"===e.nodeName.toLowerCase()}(e)&&!e.getAttribute("href")&&""!==i(e)},s=function(e){return e.dom.getParent(e.selection.getStart(),r)},l=function(e,r){var o=s(e);o?function(e,t,n){n.removeAttribute("name"),n.id=t,e.addVisual(),e.undoManager.add()}(e,r,o):function(e,r){e.undoManager.transact((function(){(function(e){return e.getParam("allow_html_in_named_anchor",!1,"boolean")})(e)||e.selection.collapse(!0),e.selection.isCollapsed()?e.insertContent(e.dom.createHTML("a",{id:r})):(function(e){var r=e.dom;t(r).walk(e.selection.getRng(),(function(e){n.each(e,(function(e){var t;a(t=e)&&!t.firstChild&&r.remove(e,!1)}))}))}(e),e.formatter.remove("namedAnchor",null,null,!0),e.formatter.apply("namedAnchor",{value:r}),e.addVisual())}))}(e,r),e.focus()},c=function(e){return function(e){return e&&o(e.attr("href"))&&!o(e.attr("id")||e.attr("name"))}(e)&&!e.firstChild},u=function(e){return function(t){for(var n=0;n<t.length;n++){var r=t[n];c(r)&&r.attr("contenteditable",e)}}};e.add("anchor",(function(e){!function(e){e.on("PreInit",(function(){e.parser.addNodeFilter("a",u("false")),e.serializer.addNodeFilter("a",u(null))}))}(e),function(e){e.addCommand("mceAnchor",(function(){!function(e){var t=function(e){var t=s(e);return t?i(t):""}(e);e.windowManager.open({title:"Anchor",size:"normal",body:{type:"panel",items:[{name:"id",type:"input",label:"ID",placeholder:"example"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{id:t},onSubmit:function(t){(function(e,t){return/^[A-Za-z][A-Za-z0-9\-:._]*$/.test(t)?(l(e,t),!0):(e.windowManager.alert("Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."),!1)})(e,t.getData().id)&&t.close()}})}(e)}))}(e),function(e){e.ui.registry.addToggleButton("anchor",{icon:"bookmark",tooltip:"Anchor",onAction:function(){return e.execCommand("mceAnchor")},onSetup:function(t){return e.selection.selectorChangedWithUnbind("a:not([href])",t.setActive).unbind}}),e.ui.registry.addMenuItem("anchor",{icon:"bookmark",text:"Anchor...",onAction:function(){return e.execCommand("mceAnchor")}})}(e),e.on("PreInit",(function(){!function(e){e.formatter.register("namedAnchor",{inline:"a",selector:r,remove:"all",split:!0,deep:!0,attributes:{id:"%value"},onmatch:function(e,t,n){return a(e)}})}(e)}))}))}()},42217:function(e,t,n){var r=n(78259);e.exports=function(e){return!(!e||!r||9!==e.nodeType)}},42229:function(e,t,n){"use strict";n.d(t,{G$:function(){return f},LF:function(){return h},Hz:function(){return u},W5:function(){return p}});var r=n(97859),o=n(41651),i=n(90033);class a extends Error{constructor(e,t,n,r){super(e),this.name="UploadAjaxError",this.status=t,this.method=n,this.url=r}}function s(e,t,n){let r;return r=n.response?`${n.response.error||n.response}`:n.responseText?`${n.responseText}`:`fail to ${t.method} ${e} ${n.status}`,new a(r,n.status,t.method,e)}var l=n(50819),c=n(51254);const u=["text","picture","picture-card"];let d=1;const f=()=>Date.now()+d++,h=(0,l.b_)({action:{type:String,default:"#"},headers:{type:(0,l.jq)(Object)},method:{type:String,default:"post"},data:{type:(0,l.jq)([Object,Function,Promise]),default:()=>(0,c.f)({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:(0,l.jq)(Array),default:()=>(0,c.f)([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:u,default:"text"},httpRequest:{type:(0,l.jq)(Function),default:e=>{"undefined"==typeof XMLHttpRequest&&(0,o.$)("ElUpload","XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",(t=>{const n=t;n.percent=t.total>0?t.loaded/t.total*100:0,e.onProgress(n)}));const a=new FormData;if(e.data)for(const[t,n]of Object.entries(e.data))(0,i.cy)(n)&&n.length?a.append(t,...n):a.append(t,n);a.append(e.filename,e.file,e.file.name),t.addEventListener("error",(()=>{e.onError(s(n,e,t))})),t.addEventListener("load",(()=>{if(t.status<200||t.status>=300)return e.onError(s(n,e,t));e.onSuccess(function(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}(t))})),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const l=e.headers||{};if(l instanceof Headers)l.forEach(((e,n)=>t.setRequestHeader(n,e)));else for(const[e,n]of Object.entries(l))(0,r.A)(n)||t.setRequestHeader(e,String(n));return t.send(a),t}},disabled:Boolean,limit:Number}),p=(0,l.b_)({...h,beforeUpload:{type:(0,l.jq)(Function),default:i.tE},beforeRemove:{type:(0,l.jq)(Function)},onRemove:{type:(0,l.jq)(Function),default:i.tE},onChange:{type:(0,l.jq)(Function),default:i.tE},onPreview:{type:(0,l.jq)(Function),default:i.tE},onSuccess:{type:(0,l.jq)(Function),default:i.tE},onProgress:{type:(0,l.jq)(Function),default:i.tE},onError:{type:(0,l.jq)(Function),default:i.tE},onExceed:{type:(0,l.jq)(Function),default:i.tE},crossorigin:{type:(0,l.jq)(String)}})},42262:function(e,t,n){"use strict";n.d(t,{Tc:function(){return l}});var r=n(98026),o=n(45558),i=function(){function e(e,t,n){this._prepareParams(e,t,n)}return e.prototype._prepareParams=function(e,t,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var i=this._isOrdinal="ordinal"===e.type;this._needCrossZero="interval"===e.type&&t.getNeedCrossZero&&t.getNeedCrossZero();var a=t.get("min",!0);null==a&&(a=t.get("startValue",!0));var s=this._modelMinRaw=a;(0,r.isFunction)(s)?this._modelMinNum=c(e,s({min:n[0],max:n[1]})):"dataMin"!==s&&(this._modelMinNum=c(e,s));var l=this._modelMaxRaw=t.get("max",!0);if((0,r.isFunction)(l)?this._modelMaxNum=c(e,l({min:n[0],max:n[1]})):"dataMax"!==l&&(this._modelMaxNum=c(e,l)),i)this._axisDataLen=t.getCategories().length;else{var u=t.get("boundaryGap"),d=(0,r.isArray)(u)?u:[u||0,u||0];"boolean"==typeof d[0]||"boolean"==typeof d[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[(0,o.lo)(d[0],1),(0,o.lo)(d[1],1)]}},e.prototype.calculate=function(){var e=this._isOrdinal,t=this._dataMin,n=this._dataMax,o=this._axisDataLen,i=this._boundaryGapInner,a=e?null:n-t||Math.abs(t),s="dataMin"===this._modelMinRaw?t:this._modelMinNum,l="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,c=null!=s,u=null!=l;null==s&&(s=e?o?0:NaN:t-i[0]*a),null==l&&(l=e?o?o-1:NaN:n+i[1]*a),(null==s||!isFinite(s))&&(s=NaN),(null==l||!isFinite(l))&&(l=NaN);var d=(0,r.eqNaN)(s)||(0,r.eqNaN)(l)||e&&!o;this._needCrossZero&&(s>0&&l>0&&!c&&(s=0),s<0&&l<0&&!u&&(l=0));var f=this._determinedMin,h=this._determinedMax;return null!=f&&(s=f,c=!0),null!=h&&(l=h,u=!0),{min:s,max:l,minFixed:c,maxFixed:u,isBlank:d}},e.prototype.modifyDataMinMax=function(e,t){this[s[e]]=t},e.prototype.setDeterminedMinMax=function(e,t){this[a[e]]=t},e.prototype.freeze=function(){this.frozen=!0},e}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function l(e,t,n){var r=e.rawExtentInfo;return r||(r=new i(e,t,n),e.rawExtentInfo=r,r)}function c(e,t){return null==t?null:(0,r.eqNaN)(t)?NaN:e.parse(t)}},42757:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var r=n(90033);const o=e=>{if(!e)return{onClick:r.tE,onMousedown:r.tE,onMouseup:r.tE};let t=!1,n=!1;return{onClick:r=>{t&&n&&e(r),t=n=!1},onMousedown:e=>{t=e.target===e.currentTarget},onMouseup:e=>{n=e.target===e.currentTarget}}}},42787:function(e,t,n){"use strict";var r=n(39297),o=n(94901),i=n(48981),a=n(66119),s=n(12211),l=a("IE_PROTO"),c=Object,u=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=i(e);if(r(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof c?u:null}},42933:function(e,t,n){"use strict";var r=n(15215),o=n(5070),i=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},a=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new i},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,o=2*Math.PI;e.moveTo(n+t.r,r),e.arc(n,r,t.r,0,o,!1),e.moveTo(n+t.r0,r),e.arc(n,r,t.r0,0,o,!0)},t}(o.Ay);a.prototype.type="ring",t.A=a},43199:function(e,t,n){"use strict";n.r(t),n.d(t,{Arc:function(){return O.A},BezierCurve:function(){return y.A},BoundingRect:function(){return x.A},Circle:function(){return d.A},CompoundPath:function(){return b.A},Ellipse:function(){return f.A},Group:function(){return c.A},Image:function(){return l.Ay},IncrementalDisplayable:function(){return C.A},Line:function(){return v.A},LinearGradient:function(){return w.A},OrientedBoundingRect:function(){return S.A},Path:function(){return a.Ay},Point:function(){return k.A},Polygon:function(){return m.A},Polyline:function(){return g.A},RadialGradient:function(){return _.A},Rect:function(){return A.A},Ring:function(){return p.A},Sector:function(){return h.A},Text:function(){return u.Ay},applyTransform:function(){return Z},clipPointsByRect:function(){return J},clipRectByRect:function(){return ee},createIcon:function(){return te},extendPath:function(){return D},extendShape:function(){return z},getShapeClass:function(){return N},getTransform:function(){return q},groupTransition:function(){return K},initProps:function(){return E.LW},isElementRemoved:function(){return E.LR},lineLineIntersect:function(){return re},linePolygonIntersect:function(){return ne},makeImage:function(){return V},makePath:function(){return L},mergePath:function(){return F},registerShape:function(){return I},removeElement:function(){return E.Nz},removeElementWithFadeOut:function(){return E.t5},resizePath:function(){return H},setTooltipConfig:function(){return ie},subPixelOptimize:function(){return j},subPixelOptimizeLine:function(){return W},subPixelOptimizeRect:function(){return X},transformDirection:function(){return Y},traverseElements:function(){return se},updateProps:function(){return E.oi}});var r=n(99429),o=n(45587),i=n(83509),a=n(5070),s=n(92836),l=n(90540),c=n(43870),u=n(32322),d=n(31571),f=n(18393),h=n(59975),p=n(42933),m=n(52505),g=n(39195),A=n(10992),v=n(82861),y=n(53849),O=n(43471),b=n(82591),w=n(29668),_=n(82250),x=n(29308),S=n(84716),k=n(26346),C=n(2995),B=n(14865),Q=n(98026),T=n(69622),E=n(5638),P=Math.max,$=Math.min,M={};function z(e){return a.Ay.extend(e)}var R=r.Qh;function D(e,t){return R(e,t)}function I(e,t){M[e]=t}function N(e){if(M.hasOwnProperty(e))return M[e]}function L(e,t,n,o){var i=r.UJ(e,t);return n&&("center"===o&&(n=U(n,i.getBoundingRect())),H(i,n)),i}function V(e,t,n){var r=new l.Ay({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var o={width:e.width,height:e.height};r.setStyle(U(t,o))}}});return r}function U(e,t){var n,r=t.width/t.height,o=e.height*r;return n=o<=e.width?e.height:(o=e.width)/r,{x:e.x+e.width/2-o/2,y:e.y+e.height/2-n/2,width:o,height:n}}var F=r.uc;function H(e,t){if(e.applyTransform){var n=e.getBoundingRect().calculateTransform(t);e.applyTransform(n)}}function W(e,t){return B.eB(e,e,{lineWidth:t}),e}function X(e){return B.Op(e.shape,e.shape,e.style),e}var j=B.M7;function q(e,t){for(var n=o.identity([]);e&&e!==t;)o.mul(n,e.getLocalTransform(),n),e=e.parent;return n}function Z(e,t,n){return t&&!(0,Q.isArrayLike)(t)&&(t=s.Ay.getLocalTransform(t)),n&&(t=o.invert([],t)),i.applyTransform([],e,t)}function Y(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),o=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),i=["left"===e?-r:"right"===e?r:0,"top"===e?-o:"bottom"===e?o:0];return i=Z(i,t,n),Math.abs(i[0])>Math.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function G(e){return!e.isGroup}function K(e,t,n){if(e&&t){var r,o=(r={},e.traverse((function(e){G(e)&&e.anid&&(r[e.anid]=e)})),r);t.traverse((function(e){if(G(e)&&e.anid){var t=o[e.anid];if(t){var r=i(e);e.attr(i(t)),(0,E.oi)(e,r,n,(0,T.z)(e).dataIndex)}}}))}function i(e){var t={x:e.x,y:e.y,rotation:e.rotation};return function(e){return null!=e.shape}(e)&&(t.shape=(0,Q.extend)({},e.shape)),t}}function J(e,t){return(0,Q.map)(e,(function(e){var n=e[0];n=P(n,t.x),n=$(n,t.x+t.width);var r=e[1];return r=P(r,t.y),[n,r=$(r,t.y+t.height)]}))}function ee(e,t){var n=P(e.x,t.x),r=$(e.x+e.width,t.x+t.width),o=P(e.y,t.y),i=$(e.y+e.height,t.y+t.height);if(r>=n&&i>=o)return{x:n,y:o,width:r-n,height:i-o}}function te(e,t,n){var r=(0,Q.extend)({rectHover:!0},t),o=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(o.image=e.slice(8),(0,Q.defaults)(o,n),new l.Ay(r)):L(e.replace("path://",""),r,n,"center")}function ne(e,t,n,r,o){for(var i=0,a=o[o.length-1];i<o.length;i++){var s=o[i];if(re(e,t,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function re(e,t,n,r,o,i,a,s){var l,c=n-e,u=r-t,d=a-o,f=s-i,h=oe(d,f,c,u);if((l=h)<=1e-6&&l>=-1e-6)return!1;var p=e-o,m=t-i,g=oe(p,m,c,u)/h;if(g<0||g>1)return!1;var A=oe(p,m,d,f)/h;return!(A<0||A>1)}function oe(e,t,n,r){return e*r-n*t}function ie(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,o=(0,Q.isString)(t)?{formatter:t}:t,i=n.mainType,a=n.componentIndex,s={componentType:i,name:r,$vars:["name"]};s[i+"Index"]=a;var l=e.formatterParamsExtra;l&&(0,Q.each)((0,Q.keys)(l),(function(e){(0,Q.hasOwn)(s,e)||(s[e]=l[e],s.$vars.push(e))}));var c=(0,T.z)(e.el);c.componentMainType=i,c.componentIndex=a,c.tooltipConfig={name:r,option:(0,Q.defaults)({content:r,encodeHTMLContent:!0,formatterParams:s},o)}}function ae(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function se(e,t){if(e)if((0,Q.isArray)(e))for(var n=0;n<e.length;n++)ae(e[n],t);else ae(e,t)}I("circle",d.A),I("ellipse",f.A),I("sector",h.A),I("ring",p.A),I("polygon",m.A),I("polyline",g.A),I("rect",A.A),I("line",v.A),I("bezierCurve",y.A),I("arc",O.A)},43271:function(e,t,n){var r=n(89093),o=n(79135),i=n(74409),a=n(2121),s=n(6060),l=n(41626),c=n(10906),u=n(13908),d=n(63205);e.exports=function e(t,n,f,h,p,m,g){if(t===n)return!0;if(t&&n&&!r(t)&&!r(n)&&!i(t)&&!i(n)){if(a(t))return f(""+t,""+n,p,m,g);if(s(t)||l(t))return f(+t,+n,p,m,g);var A,v,y,O=o(t),b=o(n);if(O||b?O&&b:t.constructor===n.constructor)return v=u(t),y=u(n),h&&(A=h(t,n,p)),v.length===y.length&&(c(A)?d(v,(function(r,o){return r===y[o]&&e(t[r],n[y[o]],f,h,O||b?o:r,t,n)})):!!A)}return f(t,n,p,m,g)}},43471:function(e,t,n){"use strict";var r=n(15215),o=n(5070),i=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new i},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,o=Math.max(t.r,0),i=t.startAngle,a=t.endAngle,s=t.clockwise,l=Math.cos(i),c=Math.sin(i);e.moveTo(l*o+n,c*o+r),e.arc(n,r,o,i,a,!s)},t}(o.Ay);a.prototype.type="arc",t.A=a},43720:function(e,t,n){"use strict";n.d(t,{DM:function(){return f},_A:function(){return Q},az:function(){return d},pn:function(){return l},vw:function(){return i}});var r=n(90365);let o=0;class i{constructor(e,t,n,r){this.name=e,this.set=t,this.base=n,this.modified=r,this.id=o++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(e,t){let n="string"==typeof e?e:"?";if(e instanceof i&&(t=e),null==t?void 0:t.base)throw new Error("Can not derive from a modified tag");let r=new i(n,[],null,[]);if(r.set.push(r),t)for(let e of t.set)r.set.push(e);return r}static defineModifier(e){let t=new s(e);return e=>e.modified.indexOf(t)>-1?e:s.get(e.base||e,e.modified.concat(t).sort(((e,t)=>e.id-t.id)))}}let a=0;class s{constructor(e){this.name=e,this.instances=[],this.id=a++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find((n=>{return n.base==e&&(r=t,o=n.modified,r.length==o.length&&r.every(((e,t)=>e==o[t])));var r,o}));if(n)return n;let r=[],o=new i(e.name,r,e,t);for(let e of t)e.instances.push(o);let a=function(e){let t=[[]];for(let n=0;n<e.length;n++)for(let r=0,o=t.length;r<o;r++)t.push(t[r].concat(e[n]));return t.sort(((e,t)=>t.length-e.length))}(t);for(let t of e.set)if(!t.modified.length)for(let e of a)r.push(s.get(t,e));return o}}function l(e){let t=Object.create(null);for(let n in e){let r=e[n];Array.isArray(r)||(r=[r]);for(let e of n.split(" "))if(e){let n=[],o=2,i=e;for(let t=0;;){if("..."==i&&t>0&&t+3==e.length){o=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(i);if(!r)throw new RangeError("Invalid path: "+e);if(n.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),t+=r[0].length,t==e.length)break;let a=e[t++];if(t==e.length&&"!"==a){o=0;break}if("/"!=a)throw new RangeError("Invalid path: "+e);i=e.slice(t)}let a=n.length-1,s=n[a];if(!s)throw new RangeError("Invalid path: "+e);let l=new u(r,o,a>0?n.slice(0,a):null);t[s]=l.sort(t[s])}}return c.add(t)}const c=new r.uY;class u{constructor(e,t,n,r){this.tags=e,this.mode=t,this.context=n,this.next=r}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}function d(e,t){let n=Object.create(null);for(let t of e)if(Array.isArray(t.tag))for(let e of t.tag)n[e.id]=t.class;else n[t.tag.id]=t.class;let{scope:r,all:o=null}=t||{};return{style:e=>{let t=o;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+" "+r:r;break}}return t},scope:r}}function f(e,t,n,r=0,o=e.length){let i=new h(r,Array.isArray(t)?t:[t],n);i.highlightRange(e.cursor(),r,o,"",i.highlighters),i.flush(o)}u.empty=new u([],2,null);class h{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,o,i){let{type:a,from:s,to:l}=e;if(s>=n||l<=t)return;a.isTop&&(i=this.highlighters.filter((e=>!e.scope||e.scope(a))));let d=o,f=function(e){let t=e.type.prop(c);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||u.empty,h=function(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+" "+e:e)}return n}(i,f.tags);if(h&&(d&&(d+=" "),d+=h,1==f.mode&&(o+=(o?" ":"")+h)),this.startSpan(Math.max(t,s),d),f.opaque)return;let p=e.tree&&e.tree.prop(r.uY.mounted);if(p&&p.overlay){let r=e.node.enter(p.overlay[0].from+s,1),a=this.highlighters.filter((e=>!e.scope||e.scope(p.tree.type))),c=e.firstChild();for(let u=0,f=s;;u++){let h=u<p.overlay.length?p.overlay[u]:null,m=h?h.from+s:l,g=Math.max(t,f),A=Math.min(n,m);if(g<A&&c)for(;e.from<A&&(this.highlightRange(e,g,A,o,i),this.startSpan(Math.min(A,e.to),d),!(e.to>=m)&&e.nextSibling()););if(!h||m>n)break;f=h.to+s,f>t&&(this.highlightRange(r.cursor(),Math.max(t,h.from+s),Math.min(n,f),"",a),this.startSpan(Math.min(n,f),d))}c&&e.parent()}else if(e.firstChild()){p&&(o="");do{if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,o,i),this.startSpan(Math.min(n,e.to),d)}}while(e.nextSibling());e.parent()}}}const p=i.define,m=p(),g=p(),A=p(g),v=p(g),y=p(),O=p(y),b=p(y),w=p(),_=p(w),x=p(),S=p(),k=p(),C=p(k),B=p(),Q={comment:m,lineComment:p(m),blockComment:p(m),docComment:p(m),name:g,variableName:p(g),typeName:A,tagName:p(A),propertyName:v,attributeName:p(v),className:p(g),labelName:p(g),namespace:p(g),macroName:p(g),literal:y,string:O,docString:p(O),character:p(O),attributeValue:p(O),number:b,integer:p(b),float:p(b),bool:p(y),regexp:p(y),escape:p(y),color:p(y),url:p(y),keyword:x,self:p(x),null:p(x),atom:p(x),unit:p(x),modifier:p(x),operatorKeyword:p(x),controlKeyword:p(x),definitionKeyword:p(x),moduleKeyword:p(x),operator:S,derefOperator:p(S),arithmeticOperator:p(S),logicOperator:p(S),bitwiseOperator:p(S),compareOperator:p(S),updateOperator:p(S),definitionOperator:p(S),typeOperator:p(S),controlOperator:p(S),punctuation:k,separator:p(k),bracket:C,angleBracket:p(C),squareBracket:p(C),paren:p(C),brace:p(C),content:w,heading:_,heading1:p(_),heading2:p(_),heading3:p(_),heading4:p(_),heading5:p(_),heading6:p(_),contentSeparator:p(w),list:p(w),quote:p(w),emphasis:p(w),strong:p(w),link:p(w),monospace:p(w),strikethrough:p(w),inserted:p(),deleted:p(),changed:p(),invalid:p(),meta:B,documentMeta:p(B),annotation:p(B),processingInstruction:p(B),definition:i.defineModifier("definition"),constant:i.defineModifier("constant"),function:i.defineModifier("function"),standard:i.defineModifier("standard"),local:i.defineModifier("local"),special:i.defineModifier("special")};for(let e in Q){let t=Q[e];t instanceof i&&(t.name=e)}d([{tag:Q.link,class:"tok-link"},{tag:Q.heading,class:"tok-heading"},{tag:Q.emphasis,class:"tok-emphasis"},{tag:Q.strong,class:"tok-strong"},{tag:Q.keyword,class:"tok-keyword"},{tag:Q.atom,class:"tok-atom"},{tag:Q.bool,class:"tok-bool"},{tag:Q.url,class:"tok-url"},{tag:Q.labelName,class:"tok-labelName"},{tag:Q.inserted,class:"tok-inserted"},{tag:Q.deleted,class:"tok-deleted"},{tag:Q.literal,class:"tok-literal"},{tag:Q.string,class:"tok-string"},{tag:Q.number,class:"tok-number"},{tag:[Q.regexp,Q.escape,Q.special(Q.string)],class:"tok-string2"},{tag:Q.variableName,class:"tok-variableName"},{tag:Q.local(Q.variableName),class:"tok-variableName tok-local"},{tag:Q.definition(Q.variableName),class:"tok-variableName tok-definition"},{tag:Q.special(Q.variableName),class:"tok-variableName2"},{tag:Q.definition(Q.propertyName),class:"tok-propertyName tok-definition"},{tag:Q.typeName,class:"tok-typeName"},{tag:Q.namespace,class:"tok-namespace"},{tag:Q.className,class:"tok-className"},{tag:Q.macroName,class:"tok-macroName"},{tag:Q.propertyName,class:"tok-propertyName"},{tag:Q.operator,class:"tok-operator"},{tag:Q.comment,class:"tok-comment"},{tag:Q.meta,class:"tok-meta"},{tag:Q.invalid,class:"tok-invalid"},{tag:Q.punctuation,class:"tok-punctuation"}])},43724:function(e,t,n){"use strict";var r=n(79039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},43870:function(e,t,n){"use strict";var r=n(15215),o=n(98026),i=n(62454),a=n(29308),s=function(e){function t(t){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(t),n}return(0,r.C6)(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var t=this._children,n=0;n<t.length;n++)if(t[n].name===e)return t[n]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},t.prototype.addBefore=function(e,t){if(e&&e!==this&&e.parent!==this&&t&&t.parent===this){var n=this._children,r=n.indexOf(t);r>=0&&(n.splice(r,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,t){var n=o.indexOf(this._children,e);return n>=0&&this.replaceAt(t,n),this},t.prototype.replaceAt=function(e,t){var n=this._children,r=n[t];if(e&&e!==this&&e.parent!==this&&e!==r){n[t]=e,r.parent=null;var o=this.__zr;o&&r.removeSelfFromZr(o),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__zr;t&&t!==e.__zr&&e.addSelfToZr(t),t&&t.refresh()},t.prototype.remove=function(e){var t=this.__zr,n=this._children,r=o.indexOf(n,e);return r<0||(n.splice(r,1),e.parent=null,t&&e.removeSelfFromZr(t),t&&t.refresh()),this},t.prototype.removeAll=function(){for(var e=this._children,t=this.__zr,n=0;n<e.length;n++){var r=e[n];t&&r.removeSelfFromZr(t),r.parent=null}return e.length=0,this},t.prototype.eachChild=function(e,t){for(var n=this._children,r=0;r<n.length;r++){var o=n[r];e.call(t,o,r)}return this},t.prototype.traverse=function(e,t){for(var n=0;n<this._children.length;n++){var r=this._children[n],o=e.call(t,r);r.isGroup&&!o&&r.traverse(e,t)}return this},t.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var n=0;n<this._children.length;n++)this._children[n].addSelfToZr(t)},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var n=0;n<this._children.length;n++)this._children[n].removeSelfFromZr(t)},t.prototype.getBoundingRect=function(e){for(var t=new a.A(0,0,0,0),n=e||this._children,r=[],o=null,i=0;i<n.length;i++){var s=n[i];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),c=s.getLocalTransform(r);c?(a.A.applyTransform(t,l,c),(o=o||t.clone()).union(t)):(o=o||l.clone()).union(l)}}return o||t},t}(i.A);s.prototype.type="group",t.A=s},44114:function(e,t,n){"use strict";var r=n(46518),o=n(48981),i=n(26198),a=n(34527),s=n(96837);r({target:"Array",proto:!0,arity:1,forced:n(79039)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=o(this),n=i(t),r=arguments.length;s(n+r);for(var l=0;l<r;l++)t[n]=arguments[l],n++;return a(t,n),n}})},44155:function(e){e.exports=function(e,t,n){var r=null,o=null,i=n||{},a=!1,s=null,l="boolean"==typeof n,c="leading"in i?i.leading:l,u="trailing"in i?i.trailing:!l,d=function(){r=null,o=null},f=function(){a=!0,e.apply(o,r),d()},h=function(){!0===c&&(s=null),a||!0!==u||f()},p=function(){a=!1,r=arguments,o=this,null===s?!0===c&&f():clearTimeout(s),s=setTimeout(h,t)};return p.cancel=function(){var e=null!==s;return e&&clearTimeout(s),d(),s=null,a=!1,e},p}},44204:function(e,t,n){"use strict";var r=n(97080),o=n(94402).add,i=n(89286),a=n(83789),s=n(40507);e.exports=function(e){var t=r(this),n=a(e).getIterator(),l=i(t);return s(n,(function(e){o(l,e)})),l}},44209:function(e,t,n){"use strict";var r=n(78227),o=n(26269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},44265:function(e,t,n){"use strict";n.d(t,{Me:function(){return p},ot:function(){return d},oq:function(){return u},lJ:function(){return c}});var r=n(38123),o=Math.log(2);function i(e,t,n,r,a,s){var l=r+"-"+a,c=e.length;if(s.hasOwnProperty(l))return s[l];if(1===t){var u=Math.round(Math.log((1<<c)-1&~a)/o);return e[n][u]}for(var d=r|1<<n,f=n+1;r&1<<f;)f++;for(var h=0,p=0,m=0;p<c;p++){var g=1<<p;g&a||(h+=(m%2?-1:1)*e[n][p]*i(e,t-1,f,d,a|g,s),m++)}return s[l]=h,h}function a(e,t){var n=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],r={},o=i(n,8,0,0,0,r);if(0!==o){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*i(n,7,0===s?1:0,1<<s,1<<l,r)/o*t[s];return function(e,t,n){var r=t*a[6]+n*a[7]+1;e[0]=(t*a[0]+n*a[1]+a[2])/r,e[1]=(t*a[3]+n*a[4]+a[5])/r}}}var s="___zrEVENTSAVED",l=[];function c(e,t,n,r,o){return u(l,t,r,o,!0)&&u(e,n,l[0],l[1])}function u(e,t,n,o,i){if(t.getBoundingClientRect&&r.A.domSupported&&!d(t)){var l=t[s]||(t[s]={}),c=function(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var r=["left","right"],o=["top","bottom"],i=0;i<4;i++){var a=document.createElement("div"),s=i%2,l=(i>>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",o[l]+":0",r[1-s]+":auto",o[1-l]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}(t,l),u=function(e,t,n){for(var r=n?"invTrans":"trans",o=t[r],i=t.srcCoords,s=[],l=[],c=!0,u=0;u<4;u++){var d=e[u].getBoundingClientRect(),f=2*u,h=d.left,p=d.top;s.push(h,p),c=c&&i&&h===i[f]&&p===i[f+1],l.push(e[u].offsetLeft,e[u].offsetTop)}return c&&o?o:(t.srcCoords=s,t[r]=n?a(l,s):a(s,l))}(c,l,i);if(u)return u(e,n,o),!0}return!1}function d(e){return"CANVAS"===e.nodeName.toUpperCase()}var f=/([&<>"'])/g,h={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function p(e){return null==e?"":(e+"").replace(f,(function(e,t){return h[t]}))}},44532:function(e,t,n){"use strict";n.d(t,{T:function(){return a},i:function(){return i}});var r=n(58267),o=n(98026);function i(e,t){var n=e.mapDimensionsAll("defaultedLabel"),o=n.length;if(1===o){var i=(0,r.QE)(e,t,n[0]);return null!=i?i+"":null}if(o){for(var a=[],s=0;s<n.length;s++)a.push((0,r.QE)(e,t,n[s]));return a.join(" ")}}function a(e,t){var n=e.mapDimensionsAll("defaultedLabel");if(!(0,o.isArray)(t))return t+"";for(var r=[],i=0;i<n.length;i++){var a=e.getDimensionIndex(n[i]);a>=0&&r.push(t[a])}return r.join(" ")}},44576:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},44732:function(e,t,n){"use strict";var r=n(94644),o=n(79504),i=n(79306),a=n(35370),s=r.aTypedArray,l=r.getTypedArrayConstructor,c=r.exportTypedArrayMethod,u=o(r.TypedArrayPrototype.sort);c("toSorted",(function(e){void 0!==e&&i(e);var t=s(this),n=a(l(t),t);return u(n,e)}))},44784:function(e,t,n){"use strict";n.d(t,{h:function(){return u},k:function(){return s}});var r=n(98026),o=n(38123),i=(0,n(48170).$r)(),a=r.each;function s(e,t,n){if(!o.A.node){var s=t.getZr();i(s).records||(i(s).records={}),function(e,t){function n(n,r){e.on(n,(function(n){var o=function(e){var t={showTip:[],hideTip:[]},n=function(r){var o=t[r.type];o?o.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}(t);a(i(e).records,(function(e){e&&r(e,n,o.dispatchAction)})),function(e,t){var n,r=e.showTip.length,o=e.hideTip.length;r?n=e.showTip[r-1]:o&&(n=e.hideTip[o-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}(o.pendings,t)}))}i(e).initialized||(i(e).initialized=!0,n("click",r.curry(c,"click")),n("mousemove",r.curry(c,"mousemove")),n("globalout",l))}(s,t),(i(s).records[e]||(i(s).records[e]={})).handler=n}}function l(e,t,n){e.handler("leave",null,n)}function c(e,t,n,r){t.handler(e,n,r)}function u(e,t){if(!o.A.node){var n=t.getZr();(i(n).records||{})[e]&&(i(n).records[e]=null)}}},44832:function(e,t,n){var r=n(93850),o=n(53848),i=n(79135),a=n(35657),s=n(96430),l=n(31737),c=n(33255),u=n(60843);e.exports=function(e,t,n){if(e){if(!u(t)){var d=[],f=[];return o(t)||(h=t,t=function(e,t){return t===h}),a(e,(function(e,r,o){t.call(n,e,r,o)&&d.push(r)})),i(e)?l(d,(function(t,n){f.push(e[t]),e.splice(t,1)})):(f={},s(d,(function(t){f[t]=e[t],r(e,t)}))),f}return c(e)}var h;return e}},45041:function(e,t){"use strict";const n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=(()=>{if("undefined"==typeof document)return!1;const e=n[0],t={};for(const r of n){const n=r?.[1];if(n in document){for(const[n,o]of r.entries())t[e[n]]=o;return t}}return!1})(),o={change:r.fullscreenchange,error:r.fullscreenerror};let i={request(e=document.documentElement,t){return new Promise(((n,o)=>{const a=()=>{i.off("change",a),n()};i.on("change",a);const s=e[r.requestFullscreen](t);s instanceof Promise&&s.then(a).catch(o)}))},exit(){return new Promise(((e,t)=>{if(!i.isFullscreen)return void e();const n=()=>{i.off("change",n),e()};i.on("change",n);const o=document[r.exitFullscreen]();o instanceof Promise&&o.then(n).catch(t)}))},toggle(e,t){return i.isFullscreen?i.exit():i.request(e,t)},onchange(e){i.on("change",e)},onerror(e){i.on("error",e)},on(e,t){const n=o[e];n&&document.addEventListener(n,t,!1)},off(e,t){const n=o[e];n&&document.removeEventListener(n,t,!1)},raw:r};Object.defineProperties(i,{isFullscreen:{get:()=>Boolean(document[r.fullscreenElement])},element:{enumerable:!0,get:()=>document[r.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>Boolean(document[r.fullscreenEnabled])}}),r||(i={isEnabled:!1}),t.A=i},45222:function(e,t,n){var r=n(40481),o=n(10906),i=n(658);e.exports=function(e,t,n){var a=r(e);return t|=0,n=o(n)?" ":""+n,a.padEnd?a.padEnd(t,n):t>a.length?((t-=a.length)>n.length&&(n+=i(n,t/n.length)),a+n.slice(0,t)):a}},45230:function(e,t,n){"use strict";n.d(t,{Yc:function(){return De},ZR:function(){return ze},b6:function(){return O},cL:function(){return D},pr:function(){return Me},pw:function(){return Re}});var r=n(20614),o=n(62144),i=n(15874),a=n(90365);function s(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let o=e(t,n);return!!o&&(r(n.update(o)),!0)}}const l=s(p,0),c=s(h,0),u=s(((e,t)=>h(e,t,function(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),o=n.to<=r.to?r:e.doc.lineAt(n.to);o.from>r.from&&o.from==n.to&&(o=n.to==r.to+1?r:e.doc.lineAt(n.to-1));let i=t.length-1;i>=0&&t[i].to>r.from?t[i].to=o.to:t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:o.to})}return t}(t))),0);function d(e,t){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}const f=50;function h(e,t,n=t.selection.ranges){let r=n.map((e=>d(t,e.from).block));if(!r.every((e=>e)))return null;let o=n.map(((e,n)=>function(e,{open:t,close:n},r,o){let i,a,s=e.sliceDoc(r-f,r),l=e.sliceDoc(o,o+f),c=/\s*$/.exec(s)[0].length,u=/^\s*/.exec(l)[0].length,d=s.length-c;if(s.slice(d-t.length,d)==t&&l.slice(u,u+n.length)==n)return{open:{pos:r-c,margin:c&&1},close:{pos:o+u,margin:u&&1}};o-r<=2*f?i=a=e.sliceDoc(r,o):(i=e.sliceDoc(r,r+f),a=e.sliceDoc(o-f,o));let h=/^\s*/.exec(i)[0].length,p=/\s*$/.exec(a)[0].length,m=a.length-p-n.length;return i.slice(h,h+t.length)==t&&a.slice(m,m+n.length)==n?{open:{pos:r+h+t.length,margin:/\s/.test(i.charAt(h+t.length))?1:0},close:{pos:o-p-n.length,margin:/\s/.test(a.charAt(m-1))?1:0}}:null}(t,r[n],e.from,e.to)));if(2!=e&&!o.every((e=>e)))return{changes:t.changes(n.map(((e,t)=>o[t]?[]:[{from:e.from,insert:r[t].open+" "},{from:e.to,insert:" "+r[t].close}])))};if(1!=e&&o.some((e=>e))){let e=[];for(let t,n=0;n<o.length;n++)if(t=o[n]){let o=r[n],{open:i,close:a}=t;e.push({from:i.pos-o.open.length,to:i.pos+i.margin},{from:a.pos-a.margin,to:a.pos+o.close.length})}return{changes:e}}return null}function p(e,t,n=t.selection.ranges){let r=[],o=-1;for(let{from:e,to:i}of n){let n=r.length,a=1e9,s=d(t,e).line;if(s){for(let n=e;n<=i;){let l=t.doc.lineAt(n);if(l.from>o&&(e==i||i>l.from)){o=l.from;let e=/^\s*/.exec(l.text)[0].length,t=e==l.length,n=l.text.slice(e,e+s.length)==s?e:-1;e<l.text.length&&e<a&&(a=e),r.push({line:l,comment:n,token:s,indent:e,empty:t,single:!1})}n=l.to+1}if(a<1e9)for(let e=n;e<r.length;e++)r[e].indent<r[e].line.text.length&&(r[e].indent=a);r.length==n+1&&(r[n].single=!0)}}if(2!=e&&r.some((e=>e.comment<0&&(!e.empty||e.single)))){let e=[];for(let{line:t,token:n,indent:o,empty:i,single:a}of r)!a&&i||e.push({from:t.from+o,insert:n+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}if(1!=e&&r.some((e=>e.comment>=0))){let e=[];for(let{line:t,comment:n,token:o}of r)if(n>=0){let r=t.from+n,i=r+o.length;" "==t.text[i-t.from]&&i++,e.push({from:r,to:i})}return{changes:e}}return null}const m=r.YH.define(),g=r.YH.define(),A=r.sj.define(),v=r.sj.define({combine(e){return(0,r.QR)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}}),y=r.sU.define({create(){return R.empty},update(e,t){let n=t.state.facet(v),o=t.annotation(m);if(o){let r=k.fromTransaction(t,o.selection),i=o.side,a=0==i?e.undone:e.done;return a=r?C(a,a.length,n.minDepth,r):E(a,t.startState.selection),new R(0==i?o.rest:a,0==i?a:o.rest)}let i=t.annotation(g);if("full"!=i&&"before"!=i||(e=e.isolate()),!1===t.annotation(r.ZX.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let a=k.fromTransaction(t),s=t.annotation(r.ZX.time),l=t.annotation(r.ZX.userEvent);return a?e=e.addChanges(a,s,l,n,t):t.selection&&(e=e.addSelection(t.startState.selection,s,l,n.newGroupDelay)),"full"!=i&&"after"!=i||(e=e.isolate()),e},toJSON(e){return{done:e.done.map((e=>e.toJSON())),undone:e.undone.map((e=>e.toJSON()))}},fromJSON(e){return new R(e.done.map(k.fromJSON),e.undone.map(k.fromJSON))}});function O(e={}){return[y,v.of(e),o.Lz.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?w:"historyRedo"==e.inputType?_:null;return!!n&&(e.preventDefault(),n(t))}})]}function b(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let o=n.field(y,!1);if(!o)return!1;let i=o.pop(e,n,t);return!!i&&(r(i),!0)}}const w=b(0,!1),_=b(1,!1),x=b(0,!0),S=b(1,!0);class k{constructor(e,t,n,r,o){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=o}setSelAfter(e){return new k(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map((e=>e.toJSON()))}}static fromJSON(e){return new k(e.changes&&r.VR.fromJSON(e.changes),[],e.mapped&&r.Gu.fromJSON(e.mapped),e.startSelection&&r.OF.fromJSON(e.startSelection),e.selectionsAfter.map(r.OF.fromJSON))}static fromTransaction(e,t){let n=Q;for(let t of e.startState.facet(A)){let r=t(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new k(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,Q)}static selection(e){return new k(void 0,Q,void 0,void 0,e)}}function C(e,t,n,r){let o=t+1>n+20?t-n-1:0,i=e.slice(o,t);return i.push(r),i}function B(e,t){return e.length?t.length?e.concat(t):e:t}const Q=[],T=200;function E(e,t){if(e.length){let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-T));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),C(e,e.length-1,1e9,n.setSelAfter(r)))}return[k.selection([t])]}function P(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function $(e,t){if(!e.length)return e;let n=e.length,r=Q;for(;n;){let o=M(e[n-1],t,r);if(o.changes&&!o.changes.empty||o.effects.length){let t=e.slice(0,n);return t[n-1]=o,t}t=o.mapped,n--,r=o.selectionsAfter}return r.length?[k.selection(r)]:Q}function M(e,t,n){let o=B(e.selectionsAfter.length?e.selectionsAfter.map((e=>e.map(t))):Q,n);if(!e.changes)return k.selection(o);let i=e.changes.map(t),a=t.mapDesc(e.changes,!0),s=e.mapped?e.mapped.composeDesc(a):a;return new k(i,r.Pe.mapEffects(e.effects,t),s,e.startSelection.map(a),o)}const z=/^(input\.type|delete)($|\.)/;class R{constructor(e,t,n=0,r=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new R(this.done,this.undone):this}addChanges(e,t,n,o,i){let a=this.done,s=a[a.length-1];return a=s&&s.changes&&!s.changes.empty&&e.changes&&(!n||z.test(n))&&(!s.selectionsAfter.length&&t-this.prevTime<o.newGroupDelay&&o.joinToEvent(i,function(e,t){let n=[],r=!1;return e.iterChangedRanges(((e,t)=>n.push(e,t))),t.iterChangedRanges(((e,t,o,i)=>{for(let e=0;e<n.length;){let t=n[e++],a=n[e++];i>=t&&o<=a&&(r=!0)}})),r}(s.changes,e.changes))||"input.type.compose"==n)?C(a,a.length-1,o.minDepth,new k(e.changes.compose(s.changes),B(r.Pe.mapEffects(e.effects,s.changes),s.effects),s.mapped,s.startSelection,Q)):C(a,a.length,o.minDepth,e),new R(a,Q,t,n)}addSelection(e,t,n,r){let o=this.done.length?this.done[this.done.length-1].selectionsAfter:Q;return o.length>0&&t-this.prevTime<r&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&(i=o[o.length-1],a=e,i.ranges.length==a.ranges.length&&0===i.ranges.filter(((e,t)=>e.empty!=a.ranges[t].empty)).length)?this:new R(E(this.done,e),this.undone,t,n);var i,a}addMapping(e){return new R($(this.done,e),$(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=0==e?this.done:this.undone;if(0==r.length)return null;let o=r[r.length-1],i=o.selectionsAfter[0]||t.selection;if(n&&o.selectionsAfter.length)return t.update({selection:o.selectionsAfter[o.selectionsAfter.length-1],annotations:m.of({side:e,rest:P(r),selection:i}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0});if(o.changes){let n=1==r.length?Q:r.slice(0,r.length-1);return o.mapped&&(n=$(n,o.mapped)),t.update({changes:o.changes,selection:o.startSelection,effects:o.effects,annotations:m.of({side:e,rest:n,selection:i}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}return null}}R.empty=new R(Q,Q);const D=[{key:"Mod-z",run:w,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:_,preventDefault:!0},{linux:"Ctrl-Shift-z",run:_,preventDefault:!0},{key:"Mod-u",run:x,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:S,preventDefault:!0}];function I(e,t){return r.OF.create(e.ranges.map(t),e.mainIndex)}function N(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function L({state:e,dispatch:t},n){let r=I(e.selection,n);return!r.eq(e.selection,!0)&&(t(N(e,r)),!0)}function V(e,t){return r.OF.cursor(t?e.to:e.from)}function U(e,t){return L(e,(n=>n.empty?e.moveByChar(n,t):V(n,t)))}function F(e){return e.textDirectionAt(e.state.selection.main.head)==o.OP.LTR}const H=e=>U(e,!F(e)),W=e=>U(e,F(e));function X(e,t){return L(e,(n=>n.empty?e.moveByGroup(n,t):V(n,t)))}function j(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function q(e,t,n){let o,s,l=(0,i.mv)(e).resolveInner(t.head),c=n?a.uY.closedBy:a.uY.openedBy;for(let r=t.head;;){let t=n?l.childAfter(r):l.childBefore(r);if(!t)break;j(e,t,c)?l=t:r=n?t.to:t.from}return s=l.type.prop(c)&&(o=n?(0,i.jU)(e,l.from,1):(0,i.jU)(e,l.to,-1))&&o.matched?n?o.end.to:o.end.from:n?l.to:l.from,r.OF.cursor(s,n?-1:1)}function Z(e,t){return L(e,(n=>{if(!n.empty)return V(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)}))}"undefined"!=typeof Intl&&Intl.Segmenter;const Y=e=>Z(e,!1),G=e=>Z(e,!0);function K(e){let t,n=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,r=0,i=0;if(n){for(let t of e.state.facet(o.Lz.scrollMargins)){let n=t(e);(null==n?void 0:n.top)&&(r=Math.max(null==n?void 0:n.top,r)),(null==n?void 0:n.bottom)&&(i=Math.max(null==n?void 0:n.bottom,i))}t=e.scrollDOM.clientHeight-r-i}else t=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:r,marginBottom:i,selfScroll:n,height:Math.max(e.defaultLineHeight,t-5)}}function J(e,t){let n,r=K(e),{state:i}=e,a=I(i.selection,(n=>n.empty?e.moveVertically(n,t,r.height):V(n,t)));if(a.eq(i.selection))return!1;if(r.selfScroll){let t=e.coordsAtPos(i.selection.main.head),s=e.scrollDOM.getBoundingClientRect(),l=s.top+r.marginTop,c=s.bottom-r.marginBottom;t&&t.top>l&&t.bottom<c&&(n=o.Lz.scrollIntoView(a.main.head,{y:"start",yMargin:t.top-l}))}return e.dispatch(N(i,a),{effects:n}),!0}const ee=e=>J(e,!1),te=e=>J(e,!0);function ne(e,t,n){let o=e.lineBlockAt(t.head),i=e.moveToLineBoundary(t,n);if(i.head==t.head&&i.head!=(n?o.to:o.from)&&(i=e.moveToLineBoundary(t,n,!1)),!n&&i.head==o.from&&o.length){let n=/^\s*/.exec(e.state.sliceDoc(o.from,Math.min(o.from+100,o.to)))[0].length;n&&t.head!=o.from+n&&(i=r.OF.cursor(o.from+n))}return i}function re(e,t){let n=I(e.state.selection,(e=>{let n=t(e);return r.OF.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)}));return!n.eq(e.state.selection)&&(e.dispatch(N(e.state,n)),!0)}function oe(e,t){return re(e,(n=>e.moveByChar(n,t)))}const ie=e=>oe(e,!F(e)),ae=e=>oe(e,F(e));function se(e,t){return re(e,(n=>e.moveByGroup(n,t)))}function le(e,t){return re(e,(n=>e.moveVertically(n,t)))}const ce=e=>le(e,!1),ue=e=>le(e,!0);function de(e,t){return re(e,(n=>e.moveVertically(n,t,K(e).height)))}const fe=e=>de(e,!1),he=e=>de(e,!0),pe=({state:e,dispatch:t})=>(t(N(e,{anchor:0})),!0),me=({state:e,dispatch:t})=>(t(N(e,{anchor:e.doc.length})),!0),ge=({state:e,dispatch:t})=>(t(N(e,{anchor:e.selection.main.anchor,head:0})),!0),Ae=({state:e,dispatch:t})=>(t(N(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0);function ve(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:i}=e,a=i.changeByRange((o=>{let{from:i,to:a}=o;if(i==a){let r=t(o);r<i?(n="delete.backward",r=ye(e,r,!1)):r>i&&(n="delete.forward",r=ye(e,r,!0)),i=Math.min(i,r),a=Math.max(a,r)}else i=ye(e,i,!1),a=ye(e,a,!0);return i==a?{range:o}:{changes:{from:i,to:a},range:r.OF.cursor(i,i<o.head?-1:1)}}));return!a.changes.empty&&(e.dispatch(i.update(a,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?o.Lz.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function ye(e,t,n){if(e instanceof o.Lz)for(let r of e.state.facet(o.Lz.atomicRanges).map((t=>t(e))))r.between(t,t,((e,r)=>{e<t&&r>t&&(t=n?r:e)}));return t}const Oe=(e,t,n)=>ve(e,(o=>{let a,s,l=o.from,{state:c}=e,u=c.doc.lineAt(l);if(n&&!t&&l>u.from&&l<u.from+200&&!/[^ \t]/.test(a=u.text.slice(0,l-u.from))){if("\t"==a[a.length-1])return l-1;let e=(0,r.y$)(a,c.tabSize)%(0,i.tp)(c)||(0,i.tp)(c);for(let t=0;t<e&&" "==a[a.length-1-t];t++)l--;s=l}else s=(0,r.zK)(u.text,l-u.from,t,t)+u.from,s==l&&u.number!=(t?c.doc.lines:1)?s+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(u.text.slice(s-u.from,l-u.from))&&(s=(0,r.zK)(u.text,s-u.from,!1,!1)+u.from);return s})),be=e=>Oe(e,!1,!0),we=e=>Oe(e,!0,!1),_e=(e,t)=>ve(e,(n=>{let o=n.head,{state:i}=e,a=i.doc.lineAt(o),s=i.charCategorizer(o);for(let e=null;;){if(o==(t?a.to:a.from)){o==n.head&&a.number!=(t?i.doc.lines:1)&&(o+=t?1:-1);break}let l=(0,r.zK)(a.text,o-a.from,t)+a.from,c=a.text.slice(Math.min(o,l)-a.from,Math.max(o,l)-a.from),u=s(c);if(null!=e&&u!=e)break;" "==c&&o==n.head||(e=u),o=l}return o})),xe=e=>_e(e,!1);function Se(e){let t=[],n=-1;for(let r of e.selection.ranges){let o=e.doc.lineAt(r.from),i=e.doc.lineAt(r.to);if(r.empty||r.to!=i.from||(i=e.doc.lineAt(r.to-1)),n>=o.number){let e=t[t.length-1];e.to=i.to,e.ranges.push(r)}else t.push({from:o.from,to:i.to,ranges:[r]});n=i.number+1}return t}function ke(e,t,n){if(e.readOnly)return!1;let o=[],i=[];for(let t of Se(e)){if(n?t.to==e.doc.length:0==t.from)continue;let a=e.doc.lineAt(n?t.to+1:t.from-1),s=a.length+1;if(n){o.push({from:t.to,to:a.to},{from:t.from,insert:a.text+e.lineBreak});for(let n of t.ranges)i.push(r.OF.range(Math.min(e.doc.length,n.anchor+s),Math.min(e.doc.length,n.head+s)))}else{o.push({from:a.from,to:t.from},{from:t.to,insert:e.lineBreak+a.text});for(let e of t.ranges)i.push(r.OF.range(e.anchor-s,e.head-s))}}return!!o.length&&(t(e.update({changes:o,scrollIntoView:!0,selection:r.OF.create(i,e.selection.mainIndex),userEvent:"move.line"})),!0)}function Ce(e,t,n){if(e.readOnly)return!1;let r=[];for(let t of Se(e))n?r.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):r.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});return t(e.update({changes:r,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const Be=Te(!1),Qe=Te(!0);function Te(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let o=t.changeByRange((n=>{let{from:o,to:s}=n,l=t.doc.lineAt(o),c=!e&&o==s&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n,r=(0,i.mv)(e).resolveInner(t),o=r.childBefore(t),s=r.childAfter(t);return o&&s&&o.to<=t&&s.from>=t&&(n=o.type.prop(a.uY.closedBy))&&n.indexOf(s.name)>-1&&e.doc.lineAt(o.to).from==e.doc.lineAt(s.from).from&&!/\S/.test(e.sliceDoc(o.to,s.from))?{from:o.to,to:s.from}:null}(t,o);e&&(o=s=(s<=l.to?l:t.doc.lineAt(s)).to);let u=new i.KB(t,{simulateBreak:o,simulateDoubleBreak:!!c}),d=(0,i._v)(u,o);for(null==d&&(d=(0,r.y$)(/^\s*/.exec(t.doc.lineAt(o).text)[0],t.tabSize));s<l.to&&/\s/.test(l.text[s-l.from]);)s++;c?({from:o,to:s}=c):o>l.from&&o<l.from+100&&!/\S/.test(l.text.slice(0,o))&&(o=l.from);let f=["",(0,i.EI)(t,d)];return c&&f.push((0,i.EI)(t,u.lineIndent(l.from,-1))),{changes:{from:o,to:s,insert:r.EY.of(f)},range:r.OF.cursor(o+1+f[1].length)}}));return n(t.update(o,{scrollIntoView:!0,userEvent:"input"})),!0}}function Ee(e,t){let n=-1;return e.changeByRange((o=>{let i=[];for(let r=o.from;r<=o.to;){let a=e.doc.lineAt(r);a.number>n&&(o.empty||o.to>a.from)&&(t(a,i,o),n=a.number),r=a.to+1}let a=e.changes(i);return{changes:i,range:r.OF.range(a.mapPos(o.anchor,1),a.mapPos(o.head,1))}}))}const Pe=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Ee(e,((t,n)=>{n.push({from:t.from,insert:e.facet(i.Xt)})})),{userEvent:"input.indent"})),!0),$e=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Ee(e,((t,n)=>{let o=/^\s*/.exec(t.text)[0];if(!o)return;let a=(0,r.y$)(o,e.tabSize),s=0,l=(0,i.EI)(e,Math.max(0,a-(0,i.tp)(e)));for(;s<o.length&&s<l.length&&o.charCodeAt(s)==l.charCodeAt(s);)s++;n.push({from:t.from+s,to:t.from+o.length,insert:l.slice(s)})})),{userEvent:"delete.dedent"})),!0),Me=({state:e,dispatch:t})=>e.selection.ranges.some((e=>!e.empty))?Pe({state:e,dispatch:t}):(t(e.update(e.replaceSelection("\t"),{scrollIntoView:!0,userEvent:"input"})),!0),ze=[{key:"ArrowLeft",run:H,shift:ie,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:e=>X(e,!F(e)),shift:e=>se(e,!F(e)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:e=>L(e,(t=>ne(e,t,!F(e)))),shift:e=>re(e,(t=>ne(e,t,!F(e)))),preventDefault:!0},{key:"ArrowRight",run:W,shift:ae,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:e=>X(e,F(e)),shift:e=>se(e,F(e)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:e=>L(e,(t=>ne(e,t,F(e)))),shift:e=>re(e,(t=>ne(e,t,F(e)))),preventDefault:!0},{key:"ArrowUp",run:Y,shift:ce,preventDefault:!0},{mac:"Cmd-ArrowUp",run:pe,shift:ge},{mac:"Ctrl-ArrowUp",run:ee,shift:fe},{key:"ArrowDown",run:G,shift:ue,preventDefault:!0},{mac:"Cmd-ArrowDown",run:me,shift:Ae},{mac:"Ctrl-ArrowDown",run:te,shift:he},{key:"PageUp",run:ee,shift:fe},{key:"PageDown",run:te,shift:he},{key:"Home",run:e=>L(e,(t=>ne(e,t,!1))),shift:e=>re(e,(t=>ne(e,t,!1))),preventDefault:!0},{key:"Mod-Home",run:pe,shift:ge},{key:"End",run:e=>L(e,(t=>ne(e,t,!0))),shift:e=>re(e,(t=>ne(e,t,!0))),preventDefault:!0},{key:"Mod-End",run:me,shift:Ae},{key:"Enter",run:Be,shift:Be},{key:"Mod-a",run:({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:be,shift:be},{key:"Delete",run:we},{key:"Mod-Backspace",mac:"Alt-Backspace",run:xe},{key:"Mod-Delete",mac:"Alt-Delete",run:e=>_e(e,!0)},{mac:"Mod-Backspace",run:e=>ve(e,(t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}))},{mac:"Mod-Delete",run:e=>ve(e,(t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}))}].concat([{key:"Ctrl-b",run:H,shift:ie,preventDefault:!0},{key:"Ctrl-f",run:W,shift:ae},{key:"Ctrl-p",run:Y,shift:ce},{key:"Ctrl-n",run:G,shift:ue},{key:"Ctrl-a",run:e=>L(e,(t=>r.OF.cursor(e.lineBlockAt(t.head).from,1))),shift:e=>re(e,(t=>r.OF.cursor(e.lineBlockAt(t.head).from)))},{key:"Ctrl-e",run:e=>L(e,(t=>r.OF.cursor(e.lineBlockAt(t.head).to,-1))),shift:e=>re(e,(t=>r.OF.cursor(e.lineBlockAt(t.head).to)))},{key:"Ctrl-d",run:we},{key:"Ctrl-h",run:be},{key:"Ctrl-k",run:e=>ve(e,(t=>{let n=e.lineBlockAt(t.head).to;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}))},{key:"Ctrl-Alt-h",run:xe},{key:"Ctrl-o",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange((e=>({changes:{from:e.from,to:e.to,insert:r.EY.of(["",""])},range:r.OF.cursor(e.from)})));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}},{key:"Ctrl-t",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange((t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,o=e.doc.lineAt(n),i=n==o.from?n-1:(0,r.zK)(o.text,n-o.from,!1)+o.from,a=n==o.to?n+1:(0,r.zK)(o.text,n-o.from,!0)+o.from;return{changes:{from:i,to:a,insert:e.doc.slice(n,a).append(e.doc.slice(i,n))},range:r.OF.cursor(a)}}));return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:te}].map((e=>({mac:e.key,run:e.run,shift:e.shift})))),Re=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:e=>L(e,(t=>q(e.state,t,!F(e)))),shift:e=>re(e,(t=>q(e.state,t,!F(e))))},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>L(e,(t=>q(e.state,t,F(e)))),shift:e=>re(e,(t=>q(e.state,t,F(e))))},{key:"Alt-ArrowUp",run:({state:e,dispatch:t})=>ke(e,t,!1)},{key:"Shift-Alt-ArrowUp",run:({state:e,dispatch:t})=>Ce(e,t,!1)},{key:"Alt-ArrowDown",run:({state:e,dispatch:t})=>ke(e,t,!0)},{key:"Shift-Alt-ArrowDown",run:({state:e,dispatch:t})=>Ce(e,t,!0)},{key:"Escape",run:({state:e,dispatch:t})=>{let n=e.selection,o=null;return n.ranges.length>1?o=r.OF.create([n.main]):n.main.empty||(o=r.OF.create([r.OF.cursor(n.main.head)])),!!o&&(t(N(e,o)),!0)}},{key:"Mod-Enter",run:Qe},{key:"Alt-l",mac:"Ctrl-l",run:({state:e,dispatch:t})=>{let n=Se(e).map((({from:t,to:n})=>r.OF.range(t,Math.min(n+1,e.doc.length))));return t(e.update({selection:r.OF.create(n),userEvent:"select"})),!0}},{key:"Mod-i",run:({state:e,dispatch:t})=>{let n=I(e.selection,(t=>{let n=(0,i.mv)(e),o=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);e.node.from>=o.node.from&&e.node.to<=o.node.to&&(o=e)}for(let e=o;e;e=e.next){let{node:n}=e;if((n.from<t.from&&n.to>=t.to||n.to>t.to&&n.from<=t.from)&&e.next)return r.OF.range(n.to,n.from)}return t}));return!n.eq(e.selection)&&(t(N(e,n)),!0)},preventDefault:!0},{key:"Mod-[",run:$e},{key:"Mod-]",run:Pe},{key:"Mod-Alt-\\",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new i.KB(e,{overrideIndentation:e=>{let t=n[e];return null==t?-1:t}}),o=Ee(e,((t,o,a)=>{let s=(0,i._v)(r,t.from);if(null==s)return;/\S/.test(t.text)||(s=0);let l=/^\s*/.exec(t.text)[0],c=(0,i.EI)(e,s);(l!=c||a.from<t.from+l.length)&&(n[t.from]=s,o.push({from:t.from,to:t.from+l.length,insert:c}))}));return o.changes.empty||t(e.update(o,{userEvent:"indent"})),!0}},{key:"Shift-Mod-k",run:e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(Se(t).map((({from:e,to:n})=>(e>0?e--:n<t.doc.length&&n++,{from:e,to:n})))),r=I(t.selection,(t=>{let n;if(e.lineWrapping){let r=e.lineBlockAt(t.head),o=e.coordsAtPos(t.head,t.assoc||1);o&&(n=r.bottom+e.documentTop-o.bottom+e.defaultLineHeight/2)}return e.moveVertically(t,!0,n)})).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:({state:e,dispatch:t})=>function(e,t,n){let o=!1,a=I(e.selection,(t=>{let a=(0,i.jU)(e,t.head,-1)||(0,i.jU)(e,t.head,1)||t.head>0&&(0,i.jU)(e,t.head-1,1)||t.head<e.doc.length&&(0,i.jU)(e,t.head+1,-1);if(!a||!a.end)return t;o=!0;let s=a.start.from==t.head?a.end.to:a.end.from;return n?r.OF.range(t.anchor,s):r.OF.cursor(s)}));return!!o&&(t(N(e,a)),!0)}(e,t,!1)},{key:"Mod-/",run:e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=d(e.state,n.from);return r.line?l(e):!!r.block&&u(e)}},{key:"Alt-A",run:c},{key:"Ctrl-m",mac:"Shift-Alt-m",run:e=>(e.setTabFocusMode(),!0)}].concat(ze),De={key:"Tab",run:Pe,shift:$e}},45558:function(e,t,n){"use strict";n.d(t,{NO:function(){return c},RG:function(){return s},X4:function(){return p},ks:function(){return f},ll:function(){return u},lo:function(){return h},sZ:function(){return d}});var r=n(29308),o=n(60501),i=n(59741),a={};function s(e,t){t=t||i.OH;var n=a[t];n||(n=a[t]=new o.Ay(500));var r=n.get(e);return null==r&&(r=i.yh.measureText(e,t).width,n.put(e,r)),r}function l(e,t,n,o){var i=s(e,t),a=f(t),l=u(0,i,n),c=d(0,a,o);return new r.A(l,c,i,a)}function c(e,t,n,o){var i=((e||"")+"").split("\n");if(1===i.length)return l(i[0],t,n,o);for(var a=new r.A(0,0,0,0),s=0;s<i.length;s++){var c=l(i[s],t,n,o);0===s?a.copy(c):a.union(c)}return a}function u(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function d(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function f(e){return s("国",e)}function h(e,t){return"string"==typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function p(e,t,n){var r=t.position||"inside",o=null!=t.distance?t.distance:5,i=n.height,a=n.width,s=i/2,l=n.x,c=n.y,u="left",d="top";if(r instanceof Array)l+=h(r[0],n.width),c+=h(r[1],n.height),u=null,d=null;else switch(r){case"left":l-=o,c+=s,u="right",d="middle";break;case"right":l+=o+a,c+=s,d="middle";break;case"top":l+=a/2,c-=o,u="center",d="bottom";break;case"bottom":l+=a/2,c+=i+o,u="center";break;case"inside":l+=a/2,c+=s,u="center",d="middle";break;case"insideLeft":l+=o,c+=s,d="middle";break;case"insideRight":l+=a-o,c+=s,u="right",d="middle";break;case"insideTop":l+=a/2,c+=o,u="center";break;case"insideBottom":l+=a/2,c+=i-o,u="center",d="bottom";break;case"insideTopLeft":l+=o,c+=o;break;case"insideTopRight":l+=a-o,c+=o,u="right";break;case"insideBottomLeft":l+=o,c+=i-o,d="bottom";break;case"insideBottomRight":l+=a-o,c+=i-o,u="right",d="bottom"}return(e=e||{}).x=l,e.y=c,e.align=u,e.verticalAlign=d,e}},45572:function(e,t){"use strict";t.A=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},45587:function(e,t,n){"use strict";function r(){return[1,0,0,1,0,0]}function o(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function i(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function a(e,t,n){var r=t[0]*n[0]+t[2]*n[1],o=t[1]*n[0]+t[3]*n[1],i=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=o,e[2]=i,e[3]=a,e[4]=s,e[5]=l,e}function s(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function l(e,t,n,r){void 0===r&&(r=[0,0]);var o=t[0],i=t[2],a=t[4],s=t[1],l=t[3],c=t[5],u=Math.sin(n),d=Math.cos(n);return e[0]=o*d+s*u,e[1]=-o*u+s*d,e[2]=i*d+l*u,e[3]=-i*u+d*l,e[4]=d*(a-r[0])+u*(c-r[1])+r[0],e[5]=d*(c-r[1])-u*(a-r[0])+r[1],e}function c(e,t,n){var r=n[0],o=n[1];return e[0]=t[0]*r,e[1]=t[1]*o,e[2]=t[2]*r,e[3]=t[3]*o,e[4]=t[4]*r,e[5]=t[5]*o,e}function u(e,t){var n=t[0],r=t[2],o=t[4],i=t[1],a=t[3],s=t[5],l=n*a-i*r;return l?(l=1/l,e[0]=a*l,e[1]=-i*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-a*o)*l,e[5]=(i*o-n*s)*l,e):null}function d(e){var t=[1,0,0,1,0,0];return i(t,e),t}n.r(t),n.d(t,{clone:function(){return d},copy:function(){return i},create:function(){return r},identity:function(){return o},invert:function(){return u},mul:function(){return a},rotate:function(){return l},scale:function(){return c},translate:function(){return s}})},45620:function(e,t,n){"use strict";n.d(t,{a:function(){return a}});var r=n(73100),o=n(97063),i=n(3087);function a(e){(0,i.Y)(r.a),(0,i.Y)(o.a)}},45669:function(e,t,n){n(96082)},45825:function(e,t,n){"use strict";var r;r=n(38123).A.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)},t.A=r},45876:function(e,t,n){"use strict";var r=n(46518),o=n(53838);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("isSubsetOf",(function(e){return e}))},{isSubsetOf:o})},46059:function(e,t,n){var r=n(89093);e.exports=function(e){return r(e)&&isFinite(e)}},46518:function(e,t,n){"use strict";var r=n(44576),o=n(77347).f,i=n(66699),a=n(36840),s=n(39433),l=n(77740),c=n(92796);e.exports=function(e,t){var n,u,d,f,h,p=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[p]||s(p,{}):r[p]&&r[p].prototype)for(u in t){if(f=t[u],d=e.dontCallGetSet?(h=o(n,u))&&h.value:n[u],!c(m?u:p+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,u,f,e)}}},46632:function(e,t,n){"use strict";var r=n(29471);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r.A),n}o.Cache=r.A,t.A=o},46706:function(e,t,n){"use strict";var r=n(79504),o=n(79306);e.exports=function(e,t,n){try{return r(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},46883:function(e,t,n){var r=n(89093);e.exports=function(e){return r(e)&&isNaN(e)}},47055:function(e,t,n){"use strict";var r=n(79504),o=n(79039),i=n(22195),a=Object,s=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?s(e,""):a(e)}:a},47355:function(e,t,n){"use strict";n.d(t,{U:function(){return A}});var r=n(15215),o=n(98026),i=n(38123),a=n(48170),s=n(15915),l=n(96501),c=n(9427),u=n(34253),d=n(49431),f=n(30693),h=n(40972),p=n(4235),m=a.$r();function g(e,t){return e.getName(t)||e.getId(t)}var A="__universalTransitionEnabled",v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}var n;return(0,r.C6)(t,e),t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,d.U)({count:O,reset:b}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),(m(this).sourceManager=new h.R(this)).prepareSource();var r=this.getInitialData(e,n);_(r,this),this.dataTask.context.data=r,m(this).dataBeforeProcessed=r,y(this),this._initSelectedMapFromData(r)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=(0,u.ad)(this),r=n?(0,u.vs)(e):{},i=this.subType;s.A.hasClass(i)&&(i+="Series"),o.merge(e,t.getTheme().get(this.subType)),o.merge(e,this.getDefaultOption()),a.M5(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&(0,u.YA)(e,r,n)},t.prototype.mergeOption=function(e,t){e=o.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var n=(0,u.ad)(this);n&&(0,u.YA)(this.option,e,n);var r=m(this).sourceManager;r.dirty(),r.prepareSource();var i=this.getInitialData(e,t);_(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,m(this).dataBeforeProcessed=i,y(this),this._initSelectedMapFromData(i)},t.prototype.fillDataTextStyle=function(e){if(e&&!o.isTypedArray(e))for(var t=["show"],n=0;n<e.length;n++)e[n]&&e[n].label&&a.M5(e[n],"label",t)},t.prototype.getInitialData=function(e,t){},t.prototype.appendData=function(e){this.getRawData().appendData(e.data)},t.prototype.getData=function(e){var t=S(this);if(t){var n=t.context.data;return null!=e&&n.getLinkedData?n.getLinkedData(e):n}return m(this).data},t.prototype.getAllData=function(){var e=this.getData();return e&&e.getLinkedDataAll?e.getLinkedDataAll():[{data:e}]},t.prototype.setData=function(e){var t=S(this);if(t){var n=t.context;n.outputData=e,t!==this.dataTask&&(n.data=e)}m(this).data=e},t.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return o.createHashMap(e)},t.prototype.getSourceManager=function(){return m(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return m(this).dataBeforeProcessed},t.prototype.getColorBy=function(){return this.get("colorBy")||"series"},t.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},t.prototype.getBaseAxis=function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},t.prototype.formatTooltip=function(e,t,n){return(0,p.J)({series:this,dataIndex:e,multipleSeries:t})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(i.A.node&&(!e||!e.ssr))return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),!!t},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,t,n){var r=this.ecModel,o=l.X.prototype.getColorFromPalette.call(this,e,t,n);return o||(o=r.getColorFromPalette(e,t,n)),o},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},t.prototype.unselect=function(e,t){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,o=this.getData(t);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var i=0;i<e.length;i++){var a=g(o,e[i]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},t.prototype.toggleSelect=function(e,t){for(var n=[],r=0;r<e.length;r++)n[0]=e[r],this.isSelected(e[r],t)?this.unselect(n,t):this.select(n,t)},t.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var e=this._selectedDataIndicesMap,t=o.keys(e),n=[],r=0;r<t.length;r++){var i=e[t[r]];i>=0&&n.push(i)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(t);return("all"===n||n[g(r,e)])&&!r.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[A])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var n,r,i=this.option,a=i.selectedMode,s=t.length;if(a&&s)if("series"===a)i.selectedMap="all";else if("multiple"===a){o.isObject(i.selectedMap)||(i.selectedMap={});for(var l=i.selectedMap,c=0;c<s;c++){var u=t[c];l[f=g(e,u)]=!0,this._selectedDataIndicesMap[f]=e.getRawIndex(u)}}else if("single"===a||!0===a){var d=t[s-1],f=g(e,d);i.selectedMap=((n={})[f]=!0,n),this._selectedDataIndicesMap=((r={})[f]=e.getRawIndex(d),r)}},t.prototype._initSelectedMapFromData=function(e){if(!this.option.selectedMap){var t=[];e.hasItemOption&&e.each((function(n){var r=e.getRawDataItem(n);r&&r.selected&&t.push(n)})),t.length>0&&this._innerSelect(e,t)}},t.registerClass=function(e){return s.A.registerClass(e)},t.protoInitialize=((n=t.prototype).type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",void(n.visualDrawType="fill")),t}(s.A);function y(e){var t=e.name;a.O0(e)||(e.name=function(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return o.each(n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)})),r.join(" ")}(e)||t)}function O(e){return e.model.getRawData().count()}function b(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),w}function w(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function _(e,t){o.each(o.concatArray(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),(function(n){e.wrapMethod(n,o.curry(x,t))}))}function x(e,t){var n=S(e);return n&&n.setOutputEnd((t||this).count()),t}function S(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var o=r.agentStubMap;o&&(r=o.get(e.uid))}return r}}o.mixin(v,c.J),o.mixin(v,l.X),(0,f.q7)(v,s.A),t.A=v},47359:function(e,t,n){"use strict";n.d(t,{go:function(){return k}});var r=n(48820),o=n(43720);const i=new r.Lu(((e,t)=>{for(let n=0,r=e.next;(t.context&&(r<0||10==r||13==r||47==r&&47==e.peek(n+1))||41==r||125==r)&&e.acceptToken(177),32==r||9==r;)r=e.peek(++n)}),{contextual:!0});let a=new Set([95,184,20,12,17,144,145,142,148,13,53,25]);const s=new r.Aj({start:!1,shift:(e,t)=>179==t?e:a.has(t)}),l=(0,o.pn)({"func interface struct chan map const type var":o._A.definitionKeyword,"import package":o._A.moduleKeyword,"switch for go select return break continue goto fallthrough case if else defer":o._A.controlKeyword,range:o._A.keyword,Bool:o._A.bool,String:o._A.string,Rune:o._A.character,Number:o._A.number,Nil:o._A.null,VariableName:o._A.variableName,DefName:o._A.definition(o._A.variableName),TypeName:o._A.typeName,LabelName:o._A.labelName,FieldName:o._A.propertyName,"FunctionDecl/DefName":o._A.function(o._A.definition(o._A.variableName)),"TypeSpec/DefName":o._A.definition(o._A.typeName),"CallExpr/VariableName":o._A.function(o._A.variableName),LineComment:o._A.lineComment,BlockComment:o._A.blockComment,LogicOp:o._A.logicOperator,ArithOp:o._A.arithmeticOperator,BitOp:o._A.bitwiseOperator,"DerefOp .":o._A.derefOperator,"UpdateOp IncDecOp":o._A.updateOperator,CompareOp:o._A.compareOperator,"= :=":o._A.definitionOperator,"<-":o._A.operator,'~ "*"':o._A.modifier,"; ,":o._A.separator,"... :":o._A.punctuation,"( )":o._A.paren,"[ ]":o._A.squareBracket,"{ }":o._A.brace}),c={__proto__:null,package:10,import:18,true:380,false:380,nil:383,struct:48,func:68,interface:78,chan:94,map:118,make:157,new:159,const:204,type:212,var:224,if:236,else:238,switch:242,case:248,default:250,for:260,range:266,go:270,select:274,return:284,break:288,continue:290,goto:292,fallthrough:296,defer:300},u=r.U1.deserialize({version:14,states:"!=xO#{QQOOP$SOQOOO&UQTO'#CbO&]QRO'#FlO]QQOOOOQP'#Cn'#CnOOQP'#Co'#CoO&eQQO'#C|O(kQQO'#C{O)]QRO'#GiO+tQQO'#D_OOQP'#Ge'#GeO+{QQO'#GeO.aQTO'#GaO.hQQO'#D`OOQP'#Gm'#GmO.mQRO'#GdO/hQQO'#DgOOQP'#Gd'#GdO/uQQO'#DrO2bQQO'#DsO4QQTO'#GqO,^QTO'#GaO4XQQO'#DxO4^QQO'#D{OOQO'#EQ'#EQOOQO'#ER'#EROOQO'#ES'#ESOOQO'#ET'#ETO4cQQO'#EPO5}QQO'#EPOOQP'#Ga'#GaO6UQQO'#E`O6^QQO'#EcOOQP'#G`'#G`O6cQQO'#EsOOQP'#G_'#G_O&]QRO'#FnOOQO'#Fn'#FnO9QQQO'#G^QOQQOOO&]QROOO9XQQO'#C`O9^QSO'#CdO9lQQO'#C}O9tQQO'#DSO9yQQO'#D[O:kQQO'#CsO:pQQO'#DhO:uQQO'#EeO:}QQO'#EiO;VQQO'#EoO;_QQO'#EuO<uQQO'#ExO<|QQO'#FRO4cQQO'#FWO=WQQO'#FYO=]QRO'#F_O=jQRO'#FaO=uQQO'#FaOOQP'#Fe'#FeO4cQQO'#FgP=zOWO'#C^POOO)CAz)CAzOOQO'#G]'#G]OOQO,5<W,5<WOOQO-E9j-E9jO?TQTO'#CqOOQO'#C|'#C|OOQP,59g,59gO?tQQO'#D_O@fQSO'#FuO@kQQO'#C}O@pQQO'#D[O9XQQO'#FqO@uQRO,5=TOAyQQO,59yOCVQSO,5:[O@kQQO'#C}OCaQQO'#DjOOQP,59^,59^OOQO,5<a,5<aO?tQQO'#DeOOQO,5:e,5:eOOQO-E9s-E9sOOQP,59z,59zOOQP,59|,59|OCqQSO,5:QO(kQQO,5:ROC{QQO,5:RO&]QRO'#FxOOQO'#Fx'#FxOFjQQO'#GpOFwQQO,5:^OF|QQO,5:_OHdQQO,5:`OHlQQO,5:aOHvQRO'#FyOIaQRO,5=]OIuQQO'#DzOOQP,5:d,5:dOOQO'#EV'#EVOOQO'#EW'#EWOOQO'#EX'#EXOOQO'#EZ'#EZOOQO'#E['#E[O4cQQO,5:pO4cQQO,5:pO4cQQO,5:pO4cQQO,5:pO4cQQO,5:pO4cQQO,5:wOOQP,5:x,5:xO?tQQO'#EOOOQP,5:g,5:gOOQP,5:k,5:kO9yQQO,59vO4cQQO,5:zO4cQQO,5:}OI|QRO,5;_OOQO,5<Y,5<YOOQO-E9l-E9lO]QQOOOOQP'#Cb'#CbOOQP,58z,58zOOQP'#Cf'#CfOJWQQO'#CfOJ]QSO'#CkOOQP,59O,59OOJkQQO'#DPOLZQQO,5<UOLbQQO,59iOLsQQO,5<TOMpQQO'#DUOOQP,59n,59nOOQP,59v,59vONfQQO,59vONmQQO'#CwOOQP,59_,59_O?tQQO,5:SONxQRO'#EgO! VQQO'#EhOOQP,5;P,5;PO! |QQO'#EkO!!WQQO'#EnOOQP,5;T,5;TO!!`QRO'#EqO!!mQQO'#ErOOQP,5;Z,5;ZO!!uQTO'#CbO!!|QTO,5;aO&]QRO,5;aO!#WQQO,5;jO!$yQTO,5;dO!%WQQO'#EzOOQP,5;d,5;dO&]QRO,5;dO!%cQSO,5;mO!%mQQO'#E`O!%uQQO'#EcO!%zQQO'#FTO!&UQQO'#FTOOQP,5;m,5;mO!&ZQQO,5;mO!&`QTO,5;rO!&mQQO'#F[OOQP,5;t,5;tO!&xQTO'#GqOOQP,5;y,5;yOOQP'#Et'#EtOOQP,5;{,5;{O!']QTO,5<RPOOO'#Fk'#FkP!'jOWO,58xPOOO,58x,58xO!'uQQO,59yO!'zQQO'#GgOOQP,59i,59iO(kQQO,59vOOQP,5<],5<]OOQP-E9o-E9oOOQP1G/e1G/eOOQP1G/v1G/vO!([QSO'#DlO!(lQQO'#DlO!(wQQO'#DkOOQO'#Go'#GoO!(|QQO'#GoO!)UQQO,5:UO!)ZQQO'#GnO!)fQQO,5:PPOQO'#Cq'#CqO(kQQO1G/lOOQP1G/m1G/mO(kQQO1G/mOOQO,5<d,5<dOOQO-E9v-E9vOOQP1G/x1G/xO!)kQSO1G/yOOQP'#Cy'#CyOOQP1G/z1G/zO?tQQO1G/}O!)xQSO1G/{O!*YQQO1G/|O!*gQTO,5<eOOQP-E9w-E9wOOQP,5:f,5:fO!+QQQO,5:fOOQP1G0[1G0[O!,vQTO1G0[O!.wQTO1G0[O!/OQTO1G0[O!0pQTO1G0[O!1QQTO1G0cO!1bQQO,5:jOOQP1G/b1G/bOOQP1G0f1G0fOOQP1G0i1G0iOOQP1G0y1G0yOOQP,59Q,59QO&]QRO'#FmO!1mQSO,59VOOQP,59V,59VOOQO'#DQ'#DQO?tQQO'#DQO!1{QQO'#DQOOQO'#Gh'#GhO!2SQQO'#GhO!2[QQO,59kO!2aQSO'#CqOJkQQO'#DPOOQP,5=R,5=RO@kQQO1G1pOOQP1G/w1G/wO.hQQO'#ElO!2rQRO1G1oO@kQQO1G1oO@kQQO'#DVO?tQQO'#DWOOQP'#Gk'#GkO!2}QRO'#GjOOQP'#Gj'#GjO&]QRO'#FsO!3`QQO,59pOOQP,59p,59pO!3gQRO'#CxO!3uQQO'#CxO!3|QRO'#CxO.hQQO'#CxO&]QRO'#FoO!4XQQO,59cOOQP,59c,59cO!4dQQO1G/nO4cQQO,5;RO!4iQQO,5;RO&]QRO'#FzO!4nQQO,5;SOOQP,5;S,5;SO!6aQQO'#DgO?tQQO,5;VOOQP,5;V,5;VO&]QRO'#F}O!6hQQO,5;YOOQP,5;Y,5;YO!6pQRO,5;]O4cQQO,5;]O&]QRO'#GOO!6{QQO,5;^OOQP,5;^,5;^O!7TQRO1G0{O!7`QQO1G0{O4cQQO1G1UO!8vQQO1G1UOOQP1G1O1G1OO!9OQQO'#GPO!9YQQO,5;fOOQP,5;f,5;fO4cQQO'#E{O!9eQQO'#E{O<uQQO1G1OOOQP1G1X1G1XO!9jQQO,5:zO!9jQQO,5:}O!9tQSO,5;oO!:OQQO,5;oO!:VQQO,5;oO!9OQQO'#GRO!:aQQO,5;vOOQP,5;v,5;vO!<PQQO'#F]O!<WQQO'#F]POOO-E9i-E9iPOOO1G.d1G.dO!<]QQO,5:VO!<gQQO,5=ZO!<tQQO,5=ZOOQP1G/p1G/pO!<|QQO,5=YO!=WQQO,5=YOOQP1G/k1G/kOOQP7+%W7+%WOOQP7+%X7+%XOOQP7+%e7+%eO!=cQQO7+%eO!=hQQO7+%iOOQP7+%g7+%gO!=mQQO7+%gO!=rQQO7+%hO!>PQSO7+%hOOQP7+%h7+%hO4cQQO7+%hOOQP1G0Q1G0QO!>^QQO1G0QOOQP1G0U1G0UO!>fQQO1G0UOF|QQO1G0UOOQO,5<X,5<XOOQO-E9k-E9kOOQP1G.q1G.qOOQO,59l,59lO?tQQO,59lO!?cQQO,5=SO!?jQQO,5=SOOQP1G/V1G/VO!?rQQO,59yO!?}QRO7+'[O!@YQQO'#EmO!@dQQO'#HOO!@lQQO,5;WOOQP7+'Z7+'ZO!@qQRO7+'ZOOQP,59q,59qOOQP,59r,59rOOQO'#DZ'#DZO!@]QQO'#FtO!@|QRO,59tOOQO,5<_,5<_OOQO-E9q-E9qOOQP1G/[1G/[OOQP,59d,59dOHgQQO'#FpO!3uQQO,59dO!A_QRO,59dO!AjQRO,59dOOQO,5<Z,5<ZOOQO-E9m-E9mOOQP1G.}1G.}O(kQQO7+%YOOQP1G0m1G0mO4cQQO1G0mOOQO,5<f,5<fOOQO-E9x-E9xOOQP1G0n1G0nO!AxQQO'#GdOOQP1G0q1G0qOOQO,5<i,5<iOOQO-E9{-E9{OOQP1G0t1G0tO4cQQO1G0wOOQP1G0w1G0wOOQO,5<j,5<jOOQO-E9|-E9|OOQP1G0x1G0xO!B]QQO7+&gO!BeQSO7+&gO!CsQSO7+&pO!CzQQO7+&pOOQO,5<k,5<kOOQO-E9}-E9}OOQP1G1Q1G1QO!DRQQO,5;gOOQO,5;g,5;gO!DWQSO7+&jOOQP7+&j7+&jO!DbQQO7+&pO!7`QQO1G1[O!DgQQO1G1ZOOQO1G1Z1G1ZO!DnQSO1G1ZOOQO,5<m,5<mOOQO-E:P-E:POOQP1G1b1G1bO!DxQSO'#GqO!E]QQO'#F^O!EbQQO'#F^O!EgQQO,5;wOOQO,5;w,5;wO!ElQSO1G/qOOQO1G/q1G/qO!EyQSO'#DoO!FZQQO'#DoO!FfQQO'#DnOOQO,5<c,5<cO!FkQQO1G2uOOQO-E9u-E9uOOQO,5<b,5<bO!FxQQO1G2tOOQO-E9t-E9tOOQP<<IP<<IPOOQP<<IT<<ITOOQP<<IR<<IRO!GSQSO<<ISOOQP<<IS<<ISO4cQQO<<ISO!GaQSO<<ISOOQP7+%l7+%lO!GkQQO7+%lOOQP7+%p7+%pO!GpQQO7+%pO!GuQQO7+%pOOQO1G/W1G/WOOQO,5<^,5<^O!G}QQO1G2nOOQO-E9p-E9pOOQP<<Jv<<JvO.hQQO'#F{O!@YQQO,5;XOOQO,5;X,5;XO!HUQQO,5=jO!H^QQO,5=jOOQO1G0r1G0rOOQP<<Ju<<JuOOQP,5<`,5<`OOQP-E9r-E9rOOQO,5<[,5<[OOQO-E9n-E9nO!HfQRO1G/OOOQP1G/O1G/OOOQP<<Ht<<HtOOQP7+&X7+&XO!HqQQO'#DeOOQP7+&c7+&cOOQP<<JR<<JRO!HxQRO<<JRO!ITQQO<<J[O!I]QQO<<J[OOQO1G1R1G1ROOQP<<JU<<JUO4cQQO<<J[O!IbQSO7+&vOOQO7+&u7+&uO!IlQQO7+&uO4cQQO,5;xOOQO1G1c1G1cO!<]QQO,5:YP!<]QQO'#FwP?tQQO'#FvOOQPAN>nAN>nO4cQQOAN>nO!IsQSOAN>nOOQP<<IW<<IWOOQP<<I[<<I[O!I}QQO<<I[P!>nQQO'#FrOOQO,5<g,5<gOOQO-E9y-E9yOOQO1G0s1G0sOOQO,5<h,5<hO!JVQQO1G3UOOQO-E9z-E9zOOQP7+$j7+$jO!J_QQO'#GnO!B]QQOAN?mO!JjQQOAN?vO!JqQQOAN?vO!KzQSOAN?vOOQO<<Ja<<JaO!LRQSO1G1dO!L]QSO1G/tOOQO1G/t1G/tO!LjQSOG24YOOQPG24YG24YOOQPAN>vAN>vO!LtQQOAN>vP.hQQO'#F|OOQPG25XG25XO!LyQQOG25bO!MOQQO'#FPOOQPG25bG25bO!MZQQOG25bOOQPLD)tLD)tOOQPG24bG24bO!JqQQOLD*|O!9OQQO'#GQO!McQQO,5;kOOQP,5;k,5;kO?tQQO'#FQO!MnQQO'#FQO!MsQQOLD*|OOQP!$'Nh!$'NhOOQO,5<l,5<lOOQO-E:O-E:OOOQP1G1V1G1VO!MzQQO,5;lOOQO,5;l,5;lO!NPQQO!$'NhOOQO1G1W1G1WO!JqQQO!)9DSOOQP!.K9n!.K9nO# {QTO'#CqO#!`QTO'#CqO##}QSO'#CqO#$XQSO'#CqO#&]QSO'#CqO#&gQQO'#FyO#&tQQO'#FyO#'OQQO,5=]O#'ZQQO,5=]O#'cQQO,5:pO!7`QQO,5:pOF|QQO,5:pO#'cQQO,5:pO!7`QQO,5:pOF|QQO,5:pO#'cQQO,5:pO!7`QQO,5:pOF|QQO,5:pO#'cQQO,5:pO!7`QQO,5:pOF|QQO,5:pO#'cQQO,5:pO!7`QQO,5:pOF|QQO,5:pO!7`QQO,5:wO!7`QQO,5:zO!7`QQO,5:}O#(yQSO'#CbO#)}QSO'#CbO#*bQSO'#GqO#*rQSO'#GqO#+PQRO'#GgO#+yQSO,5<eO#,ZQSO,5<eO#,hQSO1G0[O#-rQTO1G0[O#-yQSO1G0[O#.TQSO1G0[O#0{QTO1G0[O#1SQSO1G0[O#2eQSO1G0[O#2lQTO1G0[O#2sQSO1G0[O#4XQSO1G0[O#4`QTO1G0[O#4jQSO1G0[O#4wQSO1G0cO#5dQTO'#CqO#5kQTO'#CqO#6bQSO'#GqO#'cQQO'#EPO!7`QQO'#EPOF|QQO'#EPO#8]QQO'#EPO#8gQQO'#EPO#8qQQO'#EPO#8{QQO'#E`O#9TQQO'#EcO@kQQO'#C}O?tQQO,5:RO#9YQQO,59vO#:iQQO,59vO?tQQO,59vO?tQQO1G/lO?tQQO1G/mO?tQQO7+%YO?tQQO'#C{O#:pQQO'#DgO#9YQQO'#D[O#:wQQO'#D[O#:|QSO,5:QO#;WQQO,5:RO#;]QQO1G/nO?tQQO,5:SO#;bQQO'#Dh",stateData:"#;m~O$yOSPOS$zPQ~OVvOX{O[oO^YOaoOdoOh!POjcOr|Ow}O!P!OO!QnO!WaO!]!QO!phO!qhO#Y!RO#^!SO#d!TO#j!UO#m!VO#v!WO#{!XO#}!YO$S!ZO$U![O$V![O$W!]O$Y!^O$[!_O%OQO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO$v%QP~OTzO~P]O$z!`O~OVeXZeX^eX^!TXj!TXnUXneX!QeX!WeX!W!TX!|eX#ReX#TeX#UeX#WUX$weX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeX~O!a#hX~P$XOV!bO$w!bO~O[!wX^pX^!wXa!wXd!wXhpXh!wXrpXr!wXwpXw!wX!PpX!P!wX!QpX!Q!wX!WpX!W!wX!]pX!]!wX!p!wX!q!wX%OpX%O!wX%U!wX%V!wX%YpX%Y!wX%f!wX%g!wX%h!wX%i!wX%j!wX~O^!hOh!POr!jOw}O!P!OO!Q!kO!WaO!]!QO%O!eO%Y!fO~On!lO#W%]XV%]X^%]Xh%]Xr%]Xw%]X!P%]X!Q%]X!W%]X!]%]X#T%]X$w%]X%O%]X%Y%]Xu%]X~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!WaO!]!QO!phO!qhO%O+wO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O!Q-OO~P*aOj!qO^%XX]%XXn%XX!V%XX~O!W!tOV%TXZ%TX^%TXn%TX!Q%TX!W%TX!|%TX#R%TX#T%TX#U%TX$w%TX%Y%TX%`%TX%f%TX%g%TX%i%TX%j%TX%k%TX%l%TX%m%TX%n%TX%o%TX%p%TX%q%TX]%TX!V%TXj%TXi%TX!a%TXu%TX~OZ!sO~P,^O%O!eO~O!W!tO^%WXj%WX]%WXn%WX!V%WXu%WXV%WX$w%WX%`%WX#T%WX[%WX!a%WX~Ou!{O!QnO!V!zO~P*aOV!}O[oO^YOaoOdoOh!POjcOr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO#Y!RO#^!SO#d!TO#j!UO#m!VO#v!WO#{!XO#}!YO$S!ZO$U![O$V![O$W!]O$Y!^O$[!_O%OQO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlOi%dP~O^#QO~OZ#RO^#VOn#TO!Q#cO!W#SO#R#dO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]OV`X#T%eX#U%eX$w`X~O!|#`O~P2gO^#VO~O^#eO~O!QnO~P*aO[oO^YOaoOdoOh!POr!pOw}O!QnO!WaO!]!QO!phO!qhO%O+wO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O!P#hO~P4jO#T#iO#U#iO~O#W#jO~O!a#kO~OVvO[oO^YOaoOdoOh!POjcOr|Ow}O!P!OO!QnO!WaO!]!QO!phO!qhO#Y!RO#^!SO#d!TO#j!UO#m!VO#v!WO#{!XO#}!YO$S!ZO$U![O$V![O$W!]O$Y!^O$[!_O%OQO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O$v%QX~P6hO%O#oO~OZ#rO[#qO^#sO%O#oO~O^#uO%O#oO~Oj#yO~O^!hOh!POr!jOw}O!P!OO!Q#|O!WaO!]!QO%O!eO%Y!fO~Oj#}O~O!W$PO~O^$RO%O#oO~O^$UO%O#oO~O^$XO%O#oO~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-PO!WaO!]!QO!phO!qhO%O$ZO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~Oj$`O~P;_OV$fOjcO~P;_Oj$kO~O!QnOV$RX$w$RX~P*aO%O$oOV$TX$w$TX~O%O$oO~O${$rO$|$rO$}$tO~OZeX^!TX!W!TXj!TXn!TXh!TXr!TXw!TX{!TX!P!TX!Q!TX!]!TX%O!TX%Y!TX~O]!TX!V!TXu!TX#T!TXV!TX$w!TX%`!TX[!TX!a!TX~P>VO^!hOh!POr-TOw}O!P-_O!Q-`O!W-^O!]-eO%O!eO%Y!fO~OZ!sO~O^#uO~O!P$xO~On!lO#W%]aV%]a^%]ah%]ar%]aw%]a!P%]a!Q%]a!W%]a!]%]a#T%]a$w%]a%O%]a%Y%]au%]a~O]${O^#QO~OZ#RO^#VO!W#SO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~O]$|O!|,WO~PBROj!qOn%QO!QnOi%cP~P*aO!V%WO!|#`O~PBRO!V%YO~OV!}O[oO^YOaoOdoOh!POjcOr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO#Y!RO#^!SO#d!TO#j!UO#m!VO#v!WO#{!XO#}!YO$S!ZO$U![O$V![O$W!]O$Y!^O$[!_O%OQO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~Oi%dX#p%dX#q%dX~PDQOi%]O~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-QO!WaO!]!QO!phO!qhO%O+{O%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O^%aO%O%_O~O!QnO!a%cO~P*aO!QnOn$mX#T$mX#U$mXV$mX$w$mX!a$mX~P*aOn#TO#T%ea#U%eaV%ea$w%ea!a%ea~O]%fO~PF|OV#ga$w#ga~PDTO[%sO~OZ#rO[#qO]%vO%O#oO~O^!hOh!POn%zOr-TOu%xOw}O!P-_O!Q-`O!W-^O!]-eO%O,dO%Y!fO]%[P~O^&OOh!POr!jOw}O!P!OO!Q!kO!WaO!]!QO%Y!fO^%ZXj%ZX~O%O%}O~PKfOjcO^qa]qanqa!Vqa~O^#uO!W&SO~O^!hOh!POr-TOw}O{&WO!P-_O!Q-`O!W-^O!]-eO%O,xO%Y!fO~Oi&^O~PL{O^!hOh!POr!jOw}O!Q!kO!WaO!]!QO%O!eO%Y!fO~O!P#hO~PMwOi&eO%O,yO%Y!fO~O#T&gOV#ZX$w#ZX~P?tO]&kO%O#oO~O^!hOh!POr-TOw}O!P-_O!Q-`O!]-eO%O!eO%Y!fO~O!W&lO#T&mO~P! _O]&qO%O#oO~O#T&sOV#eX$w#eX~P?tO]&vO%O#oO~OjeX~P$XOjcO!|,XO~P2gOn!lO#W&yO#W%]X~O^#VOn#TO!Q#cO!W#SO!|,XO#R#dO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]OV`X#T%eX#U%eX~OZ&zOj$`O$w`X~P!#cOi'OO#p'PO#q'QO~OZ#ROjcO~P!#cO#T'TO#U#iO~O#W'UO~OV'WO!QnO~P*aOV'XO~OjcO~O!|#`OV#za$w#za~PBROi'[O#p']O#q'^O~On#TO!|#`OV%eX$w%eX!a%eX~PBRO!|#`OV$Za$w$Za~PBRO${$rO$|$rO$}'`O~O]${O~O%O!eO]%ZXn%ZX!V%ZX~PKfO!|#`Oi!_Xn!_X!a!`X~PBROi!_Xn!_X!a!`X~O!a'aO~On'bOi%cX~Oi'dO~On'eO!V%bX!a%bX~O!V'gO~O]'jOn'kO!|,YO~PBROn'nO!V'mO!a'oO!|#`O~PBRO!QnO!V'qO!a'rO~P*aO!|#`On$ma#T$ma#U$maV$ma$w$ma!a$ma~PBRO]'sOu'tO~O%Y#XO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xin!xi!Q!xi!W!xi!|!xi#R!xi#T!xi#U!xi$w!xi%`!xi%f!xi%g!xi%i!xi%p!xi%q!xi~O!V!xii!xi!a!xi~P!+YO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%p!xi%q!xi!V!xii!xi!a!xi~O!|!xi~P!-TO!|#`O~P!-TO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[OV!xiZ!xi^!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%q!xi~O!|#`O!V!xii!xi!a!xi~P!/VO!|#`OV#Pi$w#Pi!a#Pi~PBRO]'uOn'wOu'vO~OZ#rO[#qO]'zO%O#oO~Ou'|O~P?tOn'}O]%[X~O](PO~OZeX^mX^!TXj!TX!W!TX~OjcOV$]i$w$]i~O%`(ZOV%^X$w%^Xn%^X!V%^X~Oi(`O~PL{O[(aO!W!tOVlX$wlX~On(bO~P?tO[(aOVlX$wlX~Oi(hO%O,yO%Y!fO~O!V(iO~O#T(kO~O](nO%O#oO~O[oO^YOaoOdoOh!POr!pOu-bOw}O!P!OO!QnO!V-UO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O%O+zO~P!4vO](sO%O#oO~O#T(tOV#ea$w#ea~O](xO%O#oO~O#k(yOV#ii$w#ii~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-PO!WaO!]!QO!phO!qhO%O+xO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O^(|O%O%_O~O#p%dP#q%dP~P/uOi)PO#p'PO#q'QO~O!a)RO~O!QnO#y)VO~P*aOV)WO!|#`O~PBROj#wa~P;_OV)WO!QnO~P*aOi)]O#p']O#q'^O~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O%O,eO~P!:lO!a)bO~Oj!qO!QnO~P*aOj!qO!QnOi%ca~P*aOn)iOi%ca~O!V%ba!a%ba~P?tOn)lO!V%ba!a%ba~O])nO~O])oO~O!V)pO~O!QnO!V)rO!a)sO~P*aO!V)rO!a)sO!|#`O~PBRO])uOn)vO~O])wOn)xO~O^!hOh!POr-TOu%xOw}O!P-_O!Q-`O!W-^O!]-eO%O,dO%Y!fO~O]%[a~P!>nOn)|O]%[a~O]${O]tXntX~OjcOV$^q$w$^q~On*PO{&WO~P?tOn*SO!V%rX~O!V*UO~OjcOV$]q$w$]q~O%`(ZOV|a$w|an|a!V|a~O[*]OVla$wla~O[*]O!W!tOVla$wla~On*PO{&WO!W*`O^%WXj%WX~P! _OjcO#j!UO~OjcO!|,XO~PBROZ*dO^#VO!W#SO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~O!|#`O~P!BoO#^*eO~P?tO!a*fO~Oj$`O!|,XO~P!BoO#W*hO~Oj#wi~P;_OV*kO!|#`O~PBROn#TO!Q#cO!|#`O!a$QX#T%eX~PBRO#T*lO~O#W*lO~O!a*mO~O!|#`Oi!_in!_i~PBRO!|#`Oi!bXn!bX!a!cX~PBROi!bXn!bX!a!cX~O!a*nO~Oj!qO!QnOi%ci~P*aO!V%bi!a%bi~P?tO!V*qO!a*rO!|#`O~PBRO!V*qO!|#`O~PBRO]*tO~O]*uO~O]*uOu*vO~O]%[i~P!>nO%O!eO!V%ra~On*|O!V%ra~O[+OOVli$wli~O%O+yO~P!4vO#k+QOV#iy$w#iy~O^+RO%O%_O~O]+SO~O!|,XOj#xq~PBROj#wq~P;_O!V+ZO!|#`O~PBRO]+[On+]O~O%O!eO!V%ri~O^#QOn'eO!V%bX~O#^+`O~P?tOj+aO~O^#VO!W#SO!|#`O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~OZ+cO~P!JvO!|#`O!a$Qi~PBRO!|#`Oi!bin!bi~PBRO!V+dO!|#`O~PBRO]+eO~O]+fO~Oi+iO#p+jO#q+kO~O^+lO%O%_O~Oi+pO#p+jO#q+kO~O!a+rO~O#^+sO~P?tO!a+tO~O]+uO~OZeX^eX^!TXj!TX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeXVeXneX!QeX#ReX#TeX#UeX$weX~O]eX]!TX!VeXieX!aeX~P!NUOjeX~P!NUOZeX^eX^!TXj!TX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeXn!TX!VeX~O]eX!V!TX~P#!gOh!TXr!TXw!TX{!TX!P!TX!Q!TX!]!TX%O!TX%Y!TX~P#!gOZeX^eX^!TXj!TXneX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeX~O]eXueX~P#$xO]$mXn$mXu$mX~PF|Oj$mXn$mX~P!7`On+|O]%eau%ea~On+}Oj%ea~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-OO!WaO!]!QO!phO!qhO%O+yO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~OZeX]!TX^UXhUXnUXn!TXrUXuUXwUX!PUX!QUX!WUX!W!TX!]UX%OUX%YUX~OnUX!QeX!aeX#TeX#WUX~P#$xOn+|O!|,YO]%eXu%eX~PBROn+}O!|,XOj%eX~PBRO^&OOV%ZXj%ZX$w%ZX]%ZXn%ZX!V%ZXu%ZX%`%ZX#T%ZX[%ZX!a%ZX~P?wO!|,YO]$man$mau$ma~PBRO!|,XOj$man$ma~PBRO%Y#XO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi!|!xi%`!xi%f!xi%g!xi%i!xi%p!xi%q!xi~Oj!xi~P!+YOn!xiu!xi~P#,hO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi!|!xi%p!xi%q!xi~O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xij!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%p!xi%q!xi~O!|!xi~P#/_On!xiu!xi~P#.TO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi%p!xi%q!xi~O!|,WO~P#1^O!|,XO~P#/_O!|,YOn!xiu!xi~P#1^O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[OZ!xi]!xi^!xi!W!xi%q!xi~O!|,WO~P#3QO!|,XOj!xi~P!/VO!|,YOn!xiu!xi~P#3QO!|,XOj#Pi~PBROV!TXZeX^mX!W!TX$w!TX~O%`!TX~P#5RO[!TXhmXnmXrmXwmX!PmX!QmX!WmX!]mX%OmX%YmX~P#5ROn#TO!Q,aO!|,XO#R#dOj`X#T%eX#U%eX~PBRO[oO^YOaoOdoOh!POr!pOw}O!P#hO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O!Q-OO%O+yO~P#6{O!Q-PO%O+xO~P#6{O!Q-QO%O+{O~P#6{O#T,bO#U,bO~O#W,cO~O^!hOh!POr-TOw}O!P-_O!Q-WO!W-^O!]-eO%O!eO%Y!fO~O^!hOh!POr-TOw}O!Q-`O!W-^O!]-eO%O!eO%Y!fO~O!P-VO~P#9zO%O+wO~P!4vO!P-XO~O!V-YO!|#`O~PBRO!V-ZO~O!V-[O~O!W-dO~OP%ka%Oa~",goto:"!FW%sPP%tP%wP%zP'SP'XPPPP'`'cP'u'uP)w'u-_PPP0j0m0qP1V4b1VP7s8WP1VP8a8d8hP8p8w1VPP1V8{<`?vPPCY-_-_-_PCdCuCxPC{DQ'u'uDV'uES'u'u'u'uGUIW'uPPJR'uJUMjMjMj'u! r! r!#SP!$`!%d!&d'cP'cPP'cP!&yP!'V!'^!&yP!'a!'h!'n!'w!&yP!'z!(R!&y!(U!(fPP!&yP!(x!)UPP!&y!)Y!)c!&yP!)g!)gP!&yP!&yP!)j!)m!&v!&yP!&yPPP!&yP!&yP!)q!)q!)w!)}!*U!*[!*d!*j!*p!*w!*}!+T!+Z!.q!.x!/O!/X!/m!/s!/z!0Q!0W!0^!0d!0jPPPPPPPPP!0p!1f!1k!1{!2kPP!7P!:^P!>u!?Z!?_!@Z!@fP!@p!D_!Df!Di!DuPPPPPPPPPPPP!FSR!aPRyO!WXOScw!R!T!U!W#O#k#n#u$R$X&O&j&u&|'W'Y']'})W)|*k*w+gQ#pzU#r{#s%uQ#x|U$T!S$U&pQ$^!VQ$y!lR)U'RVROS#nQ#t{T%t#s%uR#t{qrOScw!U!V!W#O#k#n&|'W'Y)W*k+g%PoOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^%O]OSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^#u!iW^!O!h!t!z#e#h#u#v#y#|#}$P$Q$T$W$v$x%W%Y%a%x%y&O&S&W&]&`&b&d&m'e'|'}(S([(c(i(o(|)l)|*P*Q*S*p*w*|+R+^+j+l,h-U-V-W-X-Y-Z-[-]-_-d'cbOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR$O!PT&c#}&dW%`#R&z*d+cQ&Q#vS&V#y&]S&`#}&dR*Y(b'cZOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-d%fWOSWYacmnw!O!U!V!W!X!Z!_!q!z#O#Q#S#T#V#^#_#`#a#b#c#h#i#j#k#n#v#|$f$v$x%W%Y%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(i(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^S&b#}&d!{-]!h!t#e#u#y$P$Q$T$W%a%x%y&O&W&]&`&m'e'|'}(S([(c(o(|)l)|*Q*p*w+R+j+l,h-U-V-W-X-Y-Z-[-]-_-dQ#v|S$v!j!pU&P#v$v,hZ,h#x&Q&U&V-TS%{#u&OV){'})|*wR#z}T&[#y&]]&X#y&](S([(o*QZ&Z#y&](S(o*QT([&Y(]'s_OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-d'r_OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR!w^'bbOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&a#}&dR(d&bS!u]fX!x`&_(e(oQ!r[Q%O!qQ)d'aU)f'b)i*oR+X*nR%R!qR%P!qV)h'b)i*oV)g'b)i*odtOScw#O#k#n&|'Y+gQ$h!WQ&R#wQ&w$[S'S$c$iQ(V&TQ*O(RQ*V(WQ*b(yQ*c(zR+_+Q%PfOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^%PgOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^!q#Weg!o!y$[$_$c$j$m$q$}%^%b%d%m'V'p(z({)S)Y)^)c)e)q)t*i*s+T+V+W+Y,f,g,i,j,w,z-aR#fh#^mOSacmnw!X!Z!_!q#O#S#T#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&y&|'P'T'U'X'Y']'a'b'o'r(k(t)i)s*`*h*l*n*o*r+g-^!W#_e!y$j$m$q$}%b%d%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aW,T!o,n,q,tj,U$[$_$c(z)S*i,g,j,o,r,u,w,z[,V%^,f,i,p,s,v`,{Y,Q,T,W,Z,^,{-Ox,|!U!V!W&x'R'W)V)W*k+},R,U,X,[,_,a,b,c,|-Pg,}#Q#V'w+|,S,V,Y,],`,}-Q#^mOSacmnw!X!Z!_!q#O#S#T#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&y&|'P'T'U'X'Y']'a'b'o'r(k(t)i)s*`*h*l*n*o*r+g-^`,{Y,Q,T,W,Z,^,{-Ox,|!U!V!W&x'R'W)V)W*k+},R,U,X,[,_,a,b,c,|-Pg,}#Q#V'w+|,S,V,Y,],`,}-Q!Y#^e!y$j$m$q$}%b%d%i%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aY,Q!o,k,n,q,tl,R$[$_$c(z)S*i,g,j,l,o,r,u,w,z_,S%^,f,i,m,p,s,v!W#_e!y$j$m$q$}%b%d%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aW,T!o,n,q,tj,U$[$_$c(z)S*i,g,j,o,r,u,w,z],V%^,f,i,p,s,v!S#ae!y$j$m$q$}%b%d%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aS,Z!o,tf,[$[$_$c(z)S*i,g,j,u,w,zX,]%^,f,i,v!Q#be!y$j$m$q$}%b%d%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aQ,^!od,_$[$_$c(z)S*i,g,j,w,zV,`%^,f,iprOScw!U!V!W#O#k#n&|'W'Y)W*k+gR)a']etOScw#O#k#n&|'Y+gQ$S!RT&i$R&jR$S!RQ$V!ST&o$U&pQ&U#xR&m$TS(T&S&lV*{*S*|+^R$V!SQ$Y!TT&t$X&uR$Y!TdsOScw#O#k#n&|'Y+gT$p![!]dtOScw#O#k#n&|'Y+gQ*b(yR+_+QQ$a!VQ&{$_Q)T'RR*g)ST&|$`&}Q+b+SQ+m+fR+v+uT+g+a+hR$i!WR$l!YT'Y$k'ZXuOSw#nQ$s!`R'_$sSSO#nR!dSQ%u#sR'y%uUwOS#nR#mwQ&d#}R(g&dQ(c&`R*Z(cS!mX$^R$z!mQ(O%{R)}(OQ&]#yR(_&]Q(]&YR*X(]'r^OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR!v^S'f%T+PR)m'fQ'c%RR)j'cW#Oc&|'Y+gR%[#O^#Ue$[$_$c$m)^,zU%e#U,O,PQ,O,fR,P,gQ&j$RR(m&jS*Q(S(oR*y*QQ*T(TR*}*TQ&p$UR(r&pQ&u$XR(w&uQ&}$`R)O&}Q+h+aR+o+hQ'Z$kR)['ZQ!cRQ#luQ#nyQ%Z!|Q&x$]Q'R$bQ'x%tQ(^&[Q(f&cQ(l&iQ(q&oR(v&tVxOS#nWuOSw#nY!|c#O&|'Y+gR%r#kdtOScw#O#k#n&|'Y+gQ$]!UQ$b!VQ$g!WQ)X'WQ*j)WR+U*kdeOScw#O#k#n&|'Y+gQ!oYQ!ya`#gmn,{,|,}-O-P-QQ$[!UQ$_!VQ$c!WQ$j!Xd$m!Z#i#j&g&s'P'T'U(k(tQ$q!_Q$}!qQ%^#QQ%b#SQ%d#TW%h#^,Q,R,SQ%i#_Q%j#`Q%k#aQ%l#bQ%m#cQ'V$fQ'p%cQ(z&xQ({&yQ)S'RQ)Y'XQ)^']Q)c'aU)e'b)i*oQ)q'oQ)t'rQ*i)VQ*s)sQ+T*hQ+V*lQ+W*nQ+Y*rS,f#V'wS,g,b,cQ,i+|Q,j+}Q,k,TQ,l,UQ,m,VQ,n,WQ,o,XQ,p,YQ,q,ZQ,r,[Q,s,]Q,t,^Q,u,_Q,v,`Q,w,aU,z'W)W*kV-a&l*`-^#bZW!O!h!t!z#e#h#u#v#y#|$P$Q$T$W$v$x%W%Y%a%x%y&O&W&]&`&m'e'|'}(S([(c(i(o(|)l)|*Q*p*w+R+j+l,h-U-V-W-X-Y-Z-[-]-_-d%P[OSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^$zdOSacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^S!gW-]Q!nYS#{!O-_Q$u!hS%T!t+jS%X!z-UQ%n#e[%o#h#|$x-V-W-XW%w#u'})|*wU&P#v$v,h[&X#y&](S([(o*QQ&f$PQ&h$QQ&n$TQ&r$WS'h%W-YS'i%Y-ZW'l%a(|+R+lS'{%x%yQ(Q&OQ(Y&WQ(d&`Q(p&mU)k'e)l*pQ)z'|Q*[(cS*^(i-[Q+P*`R-c-dS#w|!pS$w!j-TQ&T#xQ(R&QQ(W&UR(X&VT%|#u&OhqOScw!U!V#O#k#n&|'Y+gU$Q!R$R&jU$W!T$X&uQ$e!WY%y#u&O'})|*wQ)`']V-S'W)W*kS&[#y&]S*R(S(oR*z*QY&Y#y&](S(o*QR*W(['``OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&_#}&dW(S&S*S*|+^Q(e&bQ(o&lR*x*PS%U!t*`R+q+jR%S!qQ#PcQ(}&|Q)Z'YR+n+ghpOScw!U!V#O#k#n&|'Y+gQ$d!WQ$n!ZQ%g#VU%p#i'T,bU%q#j'U,cQ(j&gQ(u&sQ)Q'PQ)_']Q)y'wQ*_(kQ*a(tV-R'W)W*kT(U&S&l",nodeNames:"⚠ LineComment BlockComment SourceFile PackageClause package DefName ; ImportDecl import ImportSpec . String ) ( SpecList ExprStatement Number Bool Nil Rune VariableName TypedLiteral StructType struct } { StructBody FieldDecl FieldName , PointerType * FunctionType func Parameters Parameter ... InterfaceType interface InterfaceBody MethodElem UnderlyingType ~ TypeElem LogicOp ChannelType chan <- ParenthesizedType QualifiedType TypeName ParameterizedType ] [ TypeArgs ArrayType SliceType MapType map LiteralValue Element Key : Element Key ParenthesizedExpr FunctionLiteral Block Conversion SelectorExpr IndexExpr SliceExpr TypeAssertion CallExpr ParameterizedExpr Arguments CallExpr make new Arguments UnaryExp ArithOp LogicOp BitOp DerefOp BinaryExp ArithOp BitOp BitOp CompareOp LogicOp LogicOp SendStatement IncDecStatement IncDecOp Assignment = UpdateOp VarDecl := ConstDecl const ConstSpec SpecList TypeDecl type TypeSpec TypeParams TypeParam SpecList VarDecl var VarSpec SpecList LabeledStatement LabelName IfStatement if else SwitchStatement switch SwitchBlock Case case default TypeSwitchStatement SwitchBlock Case ForStatement for ForClause RangeClause range GoStatement go SelectStatement select SelectBlock Case ReceiveStatement ReturnStatement return GotoStatement break continue goto FallthroughStatement fallthrough DeferStatement defer FunctionDecl MethodDecl",maxTerm:218,context:s,nodeProps:[["isolate",-3,2,12,20,""],["group",-18,12,17,18,19,20,21,22,66,67,69,70,71,72,73,74,77,81,86,"Expr",-20,16,68,93,94,96,99,101,105,111,115,117,120,126,129,134,136,141,143,147,149,"Statement",-12,23,31,33,38,46,49,50,51,52,56,57,58,"Type"],["openedBy",13,"(",25,"{",53,"["],["closedBy",14,")",26,"}",54,"]"]],propSources:[l],skippedNodes:[0,1,2,153],repeatNodeCount:23,tokenData:":b~RvXY#iYZ#i]^#ipq#iqr#zrs$Xuv&Pvw&^wx&yxy(qyz(vz{({{|)T|})e}!O)j!O!P)u!P!Q+}!Q!R,y!R![-t![!]2^!]!^2k!^!_2p!_!`3]!`!a3e!c!}3x!}#O4j#P#Q4o#Q#R4t#R#S4|#S#T9X#T#o3x#o#p9q#p#q9v#q#r:W#r#s:]$g;'S3x;'S;=`4d<%lO3x~#nS$y~XY#iYZ#i]^#ipq#iU$PP%hQ!_!`$SS$XO!|S~$^W[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y<%lO$X~${O[~~%ORO;'S$X;'S;=`%X;=`O$X~%^X[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y;=`<%l$X<%lO$X~%|P;=`<%l$X~&UP%l~!_!`&X~&^O#U~~&cR%j~vw&l!_!`&X#Q#R&q~&qO%p~~&vP%o~!_!`&X~'OWd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k<%lO&y~'mOd~~'pRO;'S&y;'S;=`'y;=`O&y~(OXd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k;=`<%l&y<%lO&y~(nP;=`<%l&y~(vO^~~({O]~~)QP%Y~!_!`&X~)YQ%f~{|)`!_!`&X~)eO#R~~)jOn~~)oQ%g~}!O)`!_!`&X~)zRZS!O!P*T!Q![*`#R#S+w~*WP!O!P*Z~*`Ou~Q*eTaQ!Q![*`!g!h*t#R#S+w#X#Y*t#]#^+rQ*wS{|+T}!O+T!Q![+^#R#S+lQ+WQ!Q![+^#R#S+lQ+cRaQ!Q![+^#R#S+l#]#^+rQ+oP!Q![+^Q+wOaQQ+zP!Q![*`~,SR%k~z{,]!P!Q,b!_!`&X~,bO$z~~,gSP~OY,bZ;'S,b;'S;=`,s<%lO,b~,vP;=`<%l,bQ-O[aQ!O!P*`!Q![-t!d!e.c!g!h*t!q!r/Z!z!{/x#R#S.]#U#V.c#X#Y*t#]#^+r#c#d/Z#l#m/xQ-yUaQ!O!P*`!Q![-t!g!h*t#R#S.]#X#Y*t#]#^+rQ.`P!Q![-tQ.fR!Q!R.o!R!S.o#R#S/QQ.tSaQ!Q!R.o!R!S.o#R#S/Q#]#^+rQ/TQ!Q!R.o!R!S.oQ/^Q!Q!Y/d#R#S/rQ/iRaQ!Q!Y/d#R#S/r#]#^+rQ/uP!Q!Y/dQ/{T!O!P0[!Q![1c!c!i1c#R#S2Q#T#Z1cQ0_S!Q![0k!c!i0k#R#S1V#T#Z0kQ0pVaQ!Q![0k!c!i0k!r!s*t#R#S1V#T#Z0k#]#^+r#d#e*tQ1YR!Q![0k!c!i0k#T#Z0kQ1hWaQ!O!P0k!Q![1c!c!i1c!r!s*t#R#S2Q#T#Z1c#]#^+r#d#e*tQ2TR!Q![1c!c!i1c#T#Z1c~2cP!a~!_!`2f~2kO#W~~2pOV~~2uR!|S}!O3O!^!_3T!_!`$S~3TO!Q~~3YP%m~!_!`&X~3bP#T~!_!`$S~3jQ!|S!_!`$S!`!a3p~3uP%n~!_!`&X~3}V%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~4gP;=`<%l3x~4oO!W~~4tO!V~~4yP%i~!_!`&X~5RV%O~!Q![5h!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~5o^aQ%O~!O!P*`!Q![5h!c!g3x!g!h6k!h!}3x#R#S4|#T#X3x#X#Y6k#Y#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~6pX%O~{|+T}!O+T!Q![7]!c!}3x#R#S8P#T#o3x$g;'S3x;'S;=`4d<%lO3x~7dXaQ%O~!Q![7]!c!}3x#R#S8P#T#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~8UV%O~!Q![7]!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~8rVaQ%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~9[TO#S9X#S#T$v#T;'S9X;'S;=`9k<%lO9X~9nP;=`<%l9X~9vOj~~9{Q%`~!_!`&X#p#q:R~:WO%q~~:]Oi~~:bO{~",tokenizers:[i,1,2,new r.uC("j~RQYZXz{^~^O$|~~aP!P!Qd~iO$}~~",25,181)],topRules:{SourceFile:[0,3]},dynamicPrecedences:{19:1,51:-1,55:2,69:-1,108:-1},specialized:[{term:184,get:e=>c[e]||-1}],tokenPrec:5451});var d=n(15874),f=n(47404),h=n(90365);const p=[(0,f.Gw)("func ${name}(${params}) ${type} {\n\t${}\n}",{label:"func",detail:"declaration",type:"keyword"}),(0,f.Gw)("func (${receiver}) ${name}(${params}) ${type} {\n\t${}\n}",{label:"func",detail:"method declaration",type:"keyword"}),(0,f.Gw)("var ${name} = ${value}",{label:"var",detail:"declaration",type:"keyword"}),(0,f.Gw)("type ${name} ${type}",{label:"type",detail:"declaration",type:"keyword"}),(0,f.Gw)("const ${name} = ${value}",{label:"const",detail:"declaration",type:"keyword"}),(0,f.Gw)("type ${name} = ${type}",{label:"type",detail:"alias declaration",type:"keyword"}),(0,f.Gw)("for ${init}; ${test}; ${update} {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,f.Gw)("for ${i} := range ${value} {\n\t${}\n}",{label:"for",detail:"range",type:"keyword"}),(0,f.Gw)("select {\n\t${}\n}",{label:"select",detail:"statement",type:"keyword"}),(0,f.Gw)("case ${}:\n${}",{label:"case",type:"keyword"}),(0,f.Gw)("switch ${} {\n\t${}\n}",{label:"switch",detail:"statement",type:"keyword"}),(0,f.Gw)("switch ${}.(${type}) {\n\t${}\n}",{label:"switch",detail:"type statement",type:"keyword"}),(0,f.Gw)("if ${} {\n\t${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,f.Gw)("if ${} {\n\t${}\n} else {\n\t${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,f.Gw)('import ${name} "${module}"\n${}',{label:"import",detail:"declaration",type:"keyword"})],m=new h.RY,g=new Set(["SourceFile","Block","FunctionDecl","MethodDecl","FunctionLiteral","ForStatement","SwitchStatement","TypeSwitchStatement","IfStatement"]);function A(e,t){return(n,r)=>{e:for(let o=n.node.firstChild,i=0,a=null;;){for(;!o;){if(!i)break e;i--,o=a.nextSibling,a=a.parent}t&&o.name==t||"SpecList"==o.name?(i++,a=o,o=o.firstChild):("DefName"==o.name&&r(o,e),o=o.nextSibling)}return!0}}const v={FunctionDecl:A("function"),VarDecl:A("var","VarSpec"),ConstDecl:A("constant","ConstSpec"),TypeDecl:A("type","TypeSpec"),ImportDecl:A("constant","ImportSpec"),Parameter:A("var"),__proto__:null};function y(e,t){let n=m.get(t);if(n)return n;let r=[],o=!0;function i(t,n){let o=e.sliceString(t.from,t.to);r.push({label:o,type:n})}return t.cursor(h.Qj.IncludeAnonymous).iterate((t=>{if(o)o=!1;else if(t.name){let e=v[t.name];if(e&&e(t,i)||g.has(t.name))return!1}else if(t.to-t.from>8192){for(let n of y(e,t.node))r.push(n);return!1}})),m.set(t,r),r}const O=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,b=["String","LineComment","BlockComment","DefName","LabelName","FieldName",".","?."],w=e=>{let t=(0,d.mv)(e.state).resolveInner(e.pos,-1);if(b.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&O.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let n=t;n;n=n.parent)g.has(n.name)&&(r=r.concat(y(e.state.doc,n)));return{options:r,from:n?t.from:e.pos,validFor:O}},_=d.bj.define({name:"go",parser:u.configure({props:[d.Oh.add({IfStatement:(0,d.mz)({except:/^\s*({|else\b)/}),LabeledStatement:d._Y,"SwitchBlock SelectBlock":e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n||r?0:e.unit)},Block:(0,d.Ay)({closing:"}"}),BlockComment:()=>null,Statement:(0,d.mz)({except:/^{/})}),d.b_.add({"Block SwitchBlock SelectBlock LiteralValue InterfaceType StructType SpecList":d.yd,BlockComment(e){return{from:e.from+2,to:e.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case\b|default\b|\})$/}});let x=e=>({label:e,type:"keyword"});const S="interface struct chan map package go return break continue goto fallthrough else defer range true false nil".split(" ").map(x);function k(){let e=p.concat(S);return new d.Yy(_,[_.data.of({autocomplete:(0,f.Ar)(b,(0,f.et)(e))}),_.data.of({autocomplete:w})])}},47404:function(e,t,n){"use strict";n.d(t,{Ar:function(){return c},Bc:function(){return be},Gw:function(){return ce},OO:function(){return Te},_5:function(){return a},et:function(){return l},wm:function(){return me},yU:function(){return Qe}});var r=n(20614),o=n(62144),i=n(15874);class a{constructor(e,t,n,r){this.state=e,this.pos=t,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=(0,i.mv)(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),o=r.search(f(e,!1));return o<0?null:{from:n+o,to:this.pos,text:r.slice(o)}}get aborted(){return null==this.abortListeners}addEventListener(e,t,n){"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function s(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function l(e){let t=e.map((e=>"string"==typeof e?{label:e}:e)),[n,r]=t.every((e=>/^\w+$/.test(e.label)))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e<r.length;e++)n[r[e]]=!0}let r=s(t)+s(n)+"*$";return[new RegExp("^"+r),new RegExp(r)]}(t);return e=>{let o=e.matchBefore(r);return o||e.explicit?{from:o?o.from:e.pos,options:t,validFor:n}:null}}function c(e,t){return n=>{for(let t=(0,i.mv)(n.state).resolveInner(n.pos,-1);t;t=t.parent){if(e.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return t(n)}}class u{constructor(e,t,n,r){this.completion=e,this.source=t,this.match=n,this.score=r}}function d(e){return e.selection.main.from}function f(e,t){var n;let{source:r}=e,o=t&&"^"!=r[0],i="$"!=r[r.length-1];return o||i?new RegExp(`${o?"^":""}(?:${r})${i?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}const h=r.YH.define(),p=new WeakMap;function m(e){if(!Array.isArray(e))return e;let t=p.get(e);return t||p.set(e,t=l(e)),t}const g=r.Pe.define(),A=r.Pe.define();class v{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t<e.length;){let n=(0,r.vS)(e,t),o=(0,r.Fh)(n);this.chars.push(n);let i=e.slice(t,t+o),a=i.toUpperCase();this.folded.push((0,r.vS)(a==i?i.toLowerCase():a,0)),t+=o}this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,this}match(e){if(0==this.pattern.length)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:t,folded:n,any:o,precise:i,byWord:a}=this;if(1==t.length){let o=(0,r.vS)(e,0),i=(0,r.Fh)(o),a=i==e.length?0:-100;if(o==t[0]);else{if(o!=n[0])return null;a+=-200}return this.ret(a,[0,i])}let s=e.indexOf(this.pattern);if(0==s)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=t.length,c=0;if(s<0){for(let i=0,a=Math.min(e.length,200);i<a&&c<l;){let a=(0,r.vS)(e,i);a!=t[c]&&a!=n[c]||(o[c++]=i),i+=(0,r.Fh)(a)}if(c<l)return null}let u=0,d=0,f=!1,h=0,p=-1,m=-1,g=/[a-z]/.test(e),A=!0;for(let o=0,c=Math.min(e.length,200),v=0;o<c&&d<l;){let c=(0,r.vS)(e,o);s<0&&(u<l&&c==t[u]&&(i[u++]=o),h<l&&(c==t[h]||c==n[h]?(0==h&&(p=o),m=o+1,h++):h=0));let y,O=c<255?c>=48&&c<=57||c>=97&&c<=122?2:c>=65&&c<=90?1:0:(y=(0,r.MK)(c))!=y.toLowerCase()?1:y!=y.toUpperCase()?2:0;(!o||1==O&&g||0==v&&0!=O)&&(t[d]==c||n[d]==c&&(f=!0)?a[d++]=o:a.length&&(A=!1)),v=O,o+=(0,r.Fh)(c)}return d==l&&0==a[0]&&A?this.result((f?-200:0)-100,a,e):h==l&&0==p?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):s>-1?this.ret(-700-e.length,[s,s+this.pattern.length]):h==l?this.ret(-900-e.length,[p,m]):d==l?this.result((f?-200:0)-100-700+(A?0:-1100),a,e):2==t.length?null:this.result((o[0]?-700:0)-200-1100,o,e)}result(e,t,n){let o=[],i=0;for(let e of t){let t=e+(this.astral?(0,r.Fh)((0,r.vS)(n,e)):1);i&&o[i-1]==e?o[i-1]=t:(o[i++]=e,o[i++]=t)}return this.ret(e-n.length,o)}}class y{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let t=e.slice(0,this.pattern.length),n=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null;return null==n?null:(this.matched=[0,t.length],this.score=n+(e.length==this.pattern.length?0:-100),this)}}const O=r.sj.define({combine(e){return(0,r.QR)(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:w,filterStrict:!1,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>b(e(n),t(n)),optionClass:(e,t)=>n=>b(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})}});function b(e,t){return e?t?e+" "+t:e:t}function w(e,t,n,r,i,a){let s,l,c=e.textDirection==o.OP.RTL,u=c,d=!1,f="top",h=t.left-i.left,p=i.right-t.right,m=r.right-r.left,g=r.bottom-r.top;if(u&&h<Math.min(m,p)?u=!1:!u&&p<Math.min(m,h)&&(u=!0),m<=(u?h:p))s=Math.max(i.top,Math.min(n.top,i.bottom-g))-t.top,l=Math.min(400,u?h:p);else{d=!0,l=Math.min(400,(c?t.right:i.right-t.left)-30);let e=i.bottom-t.bottom;e>=g||e>t.top?s=n.bottom-t.top:(f="bottom",s=t.bottom-n.top)}return{style:`${f}: ${s/((t.bottom-t.top)/a.offsetHeight)}px; max-width: ${l/((t.right-t.left)/a.offsetWidth)}px`,class:"cm-completionInfo-"+(d?c?"left-narrow":"right-narrow":u?"left":"right")}}function _(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class x{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let r=e.state.field(t),{options:o,selected:i}=r.open,a=e.state.facet(O);this.optionContent=function(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map((e=>"cm-completionIcon-"+e))),t.setAttribute("aria-hidden","true"),t},position:20}),t.push({render(e,t,n,r){let o=document.createElement("span");o.className="cm-completionLabel";let i=e.displayLabel||e.label,a=0;for(let e=0;e<r.length;){let t=r[e++],n=r[e++];t>a&&o.appendChild(document.createTextNode(i.slice(a,t)));let s=o.appendChild(document.createElement("span"));s.appendChild(document.createTextNode(i.slice(t,n))),s.className="cm-completionMatchedText",a=n}return a<i.length&&o.appendChild(document.createTextNode(i.slice(a))),o},position:50},{render(e){if(!e.detail)return null;let t=document.createElement("span");return t.className="cm-completionDetail",t.textContent=e.detail,t},position:80}),t.sort(((e,t)=>e.position-t.position)).map((e=>e.render))}(a),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=_(o.length,i,a.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",(n=>{let{options:r}=e.state.field(t).open;for(let t,o=n.target;o&&o!=this.dom;o=o.parentNode)if("LI"==o.nodeName&&(t=/-(\d+)$/.exec(o.id))&&+t[1]<r.length)return this.applyCompletion(e,r[+t[1]]),void n.preventDefault()})),this.dom.addEventListener("focusout",(t=>{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(O).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:A.of(null)})})),this.showOptions(o,r.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",(()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)}))}update(e){var t;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:o,selected:i,disabled:a}=n.open;r.open&&r.open.options==o||(this.range=_(o.length,i,e.state.facet(O).maxRenderedOptions),this.showOptions(o,n.id)),this.updateSel(),a!=(null===(t=r.open)||void 0===t?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!a)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(" "))e&&this.dom.classList.remove(e);for(let e of t.split(" "))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=_(t.options.length,t.selected,this.view.state.facet(O).maxRenderedOptions),this.showOptions(t.options,e.id)),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:n}=t.options[t.selected],{info:r}=n;if(!r)return;let i="string"==typeof r?document.createTextNode(r):r(n);if(!i)return;"then"in i?i.then((t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,n)})).catch((e=>(0,o.c_)(this.view.state,e,"completion info"))):this.addInfoPane(i,n)}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",null!=e.nodeType)n.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:r}=e;n.appendChild(t),this.infoDestroy=r||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)"LI"==n.nodeName&&n.id?r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected"):r--;return t&&function(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=n.height/e.offsetHeight;r.top<n.top?e.scrollTop-=(n.top-r.top)/o:r.bottom>n.bottom&&(e.scrollTop+=(r.bottom-n.bottom)/o)}(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),o=this.space;if(!o){let e=this.dom.ownerDocument.documentElement;o={left:0,top:0,right:e.clientWidth,bottom:e.clientHeight}}return r.top>Math.min(o.bottom,t.bottom)-10||r.bottom<Math.max(o.top,t.top)+10?null:this.view.state.facet(O).positionInfo(this.view,t,r,n,o,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,t,n){const r=document.createElement("ul");r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions")),r.addEventListener("mousedown",(e=>{e.target==r&&e.preventDefault()}));let o=null;for(let i=n.from;i<n.to;i++){let{completion:a,match:s}=e[i],{section:l}=a;if(l){let e="string"==typeof l?l:l.name;e!=o&&(i>n.from||0==n.from)&&(o=e,"string"!=typeof l&&l.header?r.appendChild(l.header(l)):r.appendChild(document.createElement("completion-section")).textContent=e)}const c=r.appendChild(document.createElement("li"));c.id=t+"-"+i,c.setAttribute("role","option");let u=this.optionClass(a);u&&(c.className=u);for(let e of this.optionContent){let t=e(a,this.view.state,this.view,s);t&&c.appendChild(t)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.to<e.length&&r.classList.add("cm-completionListIncompleteBottom"),r}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function S(e,t){return n=>new x(n,e,t)}function k(e){return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}class C{constructor(e,t,n,r,o,i){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,this.selected=o,this.disabled=i}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new C(this.options,E(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,r,o,i){if(r&&!i&&e.some((e=>e.isPending)))return r.setDisabled();let a=function(e,t){let n=[],r=null,o=e=>{n.push(e);let{section:t}=e.completion;if(t){r||(r=[]);let e="string"==typeof t?t:t.name;r.some((t=>t.name==e))||r.push("string"==typeof t?{name:e}:t)}},i=t.facet(O);for(let r of e)if(r.hasResult()){let e=r.result.getMatch;if(!1===r.result.filter)for(let t of r.result.options)o(new u(t,r.source,e?e(t):[],1e9-n.length));else{let n,a=t.sliceDoc(r.from,r.to),s=i.filterStrict?new y(a):new v(a);for(let t of r.result.options)if(n=s.match(t.label)){let i=t.displayLabel?e?e(t,n.matched):[]:n.matched;o(new u(t,r.source,i,n.score+(t.boost||0)))}}}if(r){let e=Object.create(null),t=0,o=(e,t)=>{var n,r;return(null!==(n=e.rank)&&void 0!==n?n:1e9)-(null!==(r=t.rank)&&void 0!==r?r:1e9)||(e.name<t.name?-1:1)};for(let n of r.sort(o))t-=1e5,e[n.name]=t;for(let t of n){let{section:n}=t.completion;n&&(t.score+=e["string"==typeof n?n:n.name])}}let a=[],s=null,l=i.compareCompletions;for(let e of n.sort(((e,t)=>t.score-e.score||l(e.completion,t.completion)))){let t=e.completion;!s||s.label!=t.label||s.detail!=t.detail||null!=s.type&&null!=t.type&&s.type!=t.type||s.apply!=t.apply||s.boost!=t.boost?a.push(e):k(e.completion)>k(s)&&(a[a.length-1]=e),s=e.completion}return a}(e,t);if(!a.length)return r&&e.some((e=>e.isPending))?r.setDisabled():null;let s=t.facet(O).selectOnOpen?0:-1;if(r&&r.selected!=s&&-1!=r.selected){let e=r.options[r.selected].completion;for(let t=0;t<a.length;t++)if(a[t].completion==e){s=t;break}}return new C(a,E(n,s),{pos:e.reduce(((e,t)=>t.hasResult()?Math.min(e,t.from):e),1e8),create:L,above:o.aboveCursor},r?r.timestamp:Date.now(),s,!1)}map(e){return new C(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}setDisabled(){return new C(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class B{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new B(P,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(O),r=(n.override||t.languageDataAt("autocomplete",d(t)).map(m)).map((t=>(this.active.find((e=>e.source==t))||new M(t,this.active.some((e=>0!=e.state))?1:0)).update(e,n)));r.length==this.active.length&&r.every(((e,t)=>e==this.active[t]))&&(r=this.active);let o=this.open,i=e.effects.some((e=>e.is(R)));o&&e.docChanged&&(o=o.map(e.changes)),e.selection||r.some((t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to)))||!function(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;n<e.length&&!e[n].hasResult();)n++;for(;r<t.length&&!t[r].hasResult();)r++;let o=n==e.length,i=r==t.length;if(o||i)return o==i;if(e[n++].result!=t[r++].result)return!1}}(r,this.active)||i?o=C.build(r,t,this.id,o,n,i):o&&o.disabled&&!r.some((e=>e.isPending))&&(o=null),!o&&r.every((e=>!e.isPending))&&r.some((e=>e.hasResult()))&&(r=r.map((e=>e.hasResult()?new M(e.source,0):e)));for(let t of e.effects)t.is(D)&&(o=o&&o.setSelected(t.value,this.id));return r==this.active&&o==this.open?this:new B(r,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?Q:T}}const Q={"aria-autocomplete":"list"},T={};function E(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}const P=[];function $(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(h);if(n&&t.activateOnCompletion(n))return 12}let n=e.isUserEvent("input.type");return n&&t.activateOnTyping?5:n?1:e.isUserEvent("delete.backward")?2:e.selection?8:e.docChanged?16:0}class M{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){let n=$(e,t),r=this;(8&n||16&n&&this.touches(e))&&(r=new M(r.source,0)),4&n&&0==r.state&&(r=new M(this.source,1)),r=r.updateFor(e,n);for(let t of e.effects)if(t.is(g))r=new M(r.source,1,t.value);else if(t.is(A))r=new M(r.source,0);else if(t.is(R))for(let e of t.value)e.source==r.source&&(r=e);return r}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(d(e.state))}}class z extends M{constructor(e,t,n,r,o,i){super(e,3,t),this.limit=n,this.result=r,this.from=o,this.to=i}hasResult(){return!0}updateFor(e,t){var n;if(!(3&t))return this.map(e.changes);let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes));let o=e.changes.mapPos(this.from),i=e.changes.mapPos(this.to,1),s=d(e.state);if(s>i||!r||2&t&&(d(e.startState)==this.from||s<this.limit))return new M(this.source,4&t?1:0);let l=e.changes.mapPos(this.limit);return function(e,t,n,r){if(!e)return!1;let o=t.sliceDoc(n,r);return"function"==typeof e?e(o,n,r,t):f(e,!0).test(o)}(r.validFor,e.state,o,i)?new z(this.source,this.explicit,l,r,o,i):r.update&&(r=r.update(r,o,i,new a(e.state,s,!1)))?new z(this.source,this.explicit,l,r,r.from,null!==(n=r.to)&&void 0!==n?n:d(e.state)):new M(this.source,1,this.explicit)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new z(this.source,this.explicit,e.mapPos(this.limit),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new M(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}const R=r.Pe.define({map(e,t){return e.map((e=>e.map(t)))}}),D=r.Pe.define(),I=r.sU.define({create(){return B.start()},update(e,t){return e.update(t)},provide:e=>[o.DK.from(e,(e=>e.tooltip)),o.Lz.contentAttributes.from(e,(e=>e.attrs))]});function N(e,t){const n=t.completion.apply||t.completion.label;let o=e.state.field(I).active.find((e=>e.source==t.source));return o instanceof z&&("string"==typeof n?e.dispatch(Object.assign(Object.assign({},function(e,t,n,o){let{main:i}=e.selection,a=n-i.from,s=o-i.from;return Object.assign(Object.assign({},e.changeByRange((l=>{if(l!=i&&n!=o&&e.sliceDoc(l.from+a,l.from+s)!=e.sliceDoc(n,o))return{range:l};let c=e.toText(t);return{changes:{from:l.from+a,to:o==i.from?l.to:l.from+s,insert:c},range:r.OF.cursor(l.from+a+c.length)}}))),{scrollIntoView:!0,userEvent:"input.complete"})}(e.state,n,o.from,o.to)),{annotations:h.of(t.completion)})):n(e,t.completion,o.from,o.to),!0)}const L=S(I,N);function V(e,t="option"){return n=>{let r=n.state.field(I,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(O).interactionDelay)return!1;let i,a=1;"page"==t&&(i=(0,o.Eg)(n,r.open.tooltip))&&(a=Math.max(2,Math.floor(i.dom.offsetHeight/i.dom.querySelector("li").offsetHeight)-1));let{length:s}=r.open.options,l=r.open.selected>-1?r.open.selected+a*(e?1:-1):e?0:s-1;return l<0?l="page"==t?0:s-1:l>=s&&(l="page"==t?s-1:0),n.dispatch({effects:D.of(l)}),!0}}const U=e=>!!e.state.field(I,!1)&&(e.dispatch({effects:g.of(!0)}),!0);class F{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const H=o.Z9.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let t of e.state.field(I).active)t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(I),n=e.state.facet(O);if(!e.selectionSet&&!e.docChanged&&e.startState.field(I)==t)return;let r=e.transactions.some((e=>{let t=$(e,n);return 8&t||(e.selection||e.docChanged)&&!(3&t)}));for(let t=0;t<this.running.length;t++){let n=this.running[t];if(r||n.context.abortOnDocChange&&e.docChanged||n.updates.length+e.transactions.length>50&&Date.now()-n.time>1e3){for(let e of n.context.abortListeners)try{e()}catch(e){(0,o.c_)(this.view.state,e)}n.context.abortListeners=null,this.running.splice(t--,1)}else n.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some((e=>e.effects.some((e=>e.is(g)))))&&(this.pendingStart=!0);let i=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some((e=>e.isPending&&!this.running.some((t=>t.active.source==e.source))))?setTimeout((()=>this.startUpdate()),i):-1,0!=this.composing)for(let t of e.transactions)t.isUserEvent("input.type")?this.composing=2:2==this.composing&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(I);for(let e of t.active)e.isPending&&!this.running.some((t=>t.active.source==e.source))&&this.startQuery(e);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout((()=>this.accept()),this.view.state.facet(O).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=d(t),r=new a(t,n,e.explicit,this.view),i=new F(e,r);this.running.push(i),Promise.resolve(e.source(r)).then((e=>{i.context.aborted||(i.done=e||null,this.scheduleAccept())}),(e=>{this.view.dispatch({effects:A.of(null)}),(0,o.c_)(this.view.state,e)}))}scheduleAccept(){this.running.every((e=>void 0!==e.done))?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout((()=>this.accept()),this.view.state.facet(O).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(O),r=this.view.state.field(I);for(let o=0;o<this.running.length;o++){let i=this.running[o];if(void 0===i.done)continue;if(this.running.splice(o--,1),i.done){let r=d(i.updates.length?i.updates[0].startState:this.view.state),o=Math.min(r,i.done.from+(i.active.explicit?0:1)),a=new z(i.active.source,i.active.explicit,o,i.done,i.done.from,null!==(e=i.done.to)&&void 0!==e?e:r);for(let e of i.updates)a=a.update(e,n);if(a.hasResult()){t.push(a);continue}}let a=r.active.find((e=>e.source==i.active.source));if(a&&a.isPending)if(null==i.done){let e=new M(i.active.source,0);for(let t of i.updates)e=e.update(t,n);e.isPending||t.push(e)}else this.startQuery(a)}(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:R.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(I,!1);if(t&&t.tooltip&&this.view.state.facet(O).closeOnBlur){let n=t.open&&(0,o.Eg)(this.view,t.open.tooltip);n&&n.dom.contains(e.relatedTarget)||setTimeout((()=>this.view.dispatch({effects:A.of(null)})),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout((()=>this.view.dispatch({effects:g.of(!1)})),20),this.composing=0}}}),W="object"==typeof navigator&&/Win/.test(navigator.platform),X=r.Nb.highest(o.Lz.domEventHandlers({keydown(e,t){let n=t.state.field(I,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&(!W||!e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],o=n.active.find((e=>e.source==r.source)),i=r.completion.commitCharacters||o.result.commitCharacters;return i&&i.indexOf(e.key)>-1&&N(t,r),!1}})),j=o.Lz.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"''"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class q{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}}class Z{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,r.iR.TrackDel),n=e.mapPos(this.to,1,r.iR.TrackDel);return null==t||null==n?null:new Z(this.field,t,n)}}class Y{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],r=[t],o=e.doc.lineAt(t),a=/^\s*/.exec(o.text)[0];for(let o of this.lines){if(n.length){let n=a,s=/^\t*/.exec(o)[0].length;for(let t=0;t<s;t++)n+=e.facet(i.Xt);r.push(t+n.length-s),o=n+o.slice(s)}n.push(o),t+=o.length+1}let s=this.fieldPositions.map((e=>new Z(e.field,r[e.line]+e.from,r[e.line]+e.to)));return{text:n,ranges:s}}static parse(e){let t,n=[],r=[],o=[];for(let i of e.split(/\r\n?|\n/)){for(;t=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(i);){let e=t[1]?+t[1]:null,a=t[2]||t[3]||"",s=-1,l=a.replace(/\\[{}]/g,(e=>e[1]));for(let t=0;t<n.length;t++)(null!=e?n[t].seq==e:l&&n[t].name==l)&&(s=t);if(s<0){let t=0;for(;t<n.length&&(null==e||null!=n[t].seq&&n[t].seq<e);)t++;n.splice(t,0,{seq:e,name:l}),s=t;for(let e of o)e.field>=s&&e.field++}o.push(new q(s,r.length,t.index,t.index+l.length)),i=i.slice(0,t.index)+a+i.slice(t.index+t[0].length)}i=i.replace(/\\([{}])/g,((e,t,n)=>{for(let e of o)e.line==r.length&&e.from>n&&(e.from--,e.to--);return t})),r.push(i)}return new Y(r,o)}}let G=o.NZ.widget({widget:new class extends o.xO{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),K=o.NZ.mark({class:"cm-snippetField"});class J{constructor(e,t){this.ranges=e,this.active=t,this.deco=o.NZ.set(e.map((e=>(e.from==e.to?G:K).range(e.from,e.to))))}map(e){let t=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;t.push(r)}return new J(t,this.active)}selectionInsideField(e){return e.ranges.every((e=>this.ranges.some((t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))))}}const ee=r.Pe.define({map(e,t){return e&&e.map(t)}}),te=r.Pe.define(),ne=r.sU.define({create(){return null},update(e,t){for(let n of t.effects){if(n.is(ee))return n.value;if(n.is(te)&&e)return new J(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>o.Lz.decorations.from(e,(e=>e?e.deco:o.NZ.none))});function re(e,t){return r.OF.create(e.filter((e=>e.field==t)).map((e=>r.OF.range(e.from,e.to))))}function oe(e){let t=Y.parse(e);return(e,n,o,i)=>{let{text:a,ranges:s}=t.instantiate(e.state,o),{main:l}=e.state.selection,c={changes:{from:o,to:i==l.from?l.to:i,insert:r.EY.of(a)},scrollIntoView:!0,annotations:n?[h.of(n),r.ZX.userEvent.of("input.complete")]:void 0};if(s.length&&(c.selection=re(s,0)),s.some((e=>e.field>0))){let t=new J(s,0),n=c.effects=[ee.of(t)];void 0===e.state.field(ne,!1)&&n.push(r.Pe.appendConfig.of([ne,le,ue,j]))}e.dispatch(e.state.update(c))}}function ie(e){return({state:t,dispatch:n})=>{let r=t.field(ne,!1);if(!r||e<0&&0==r.active)return!1;let o=r.active+e,i=e>0&&!r.ranges.some((t=>t.field==o+e));return n(t.update({selection:re(r.ranges,o),effects:ee.of(i?null:new J(r.ranges,o)),scrollIntoView:!0})),!0}}const ae=[{key:"Tab",run:ie(1),shift:ie(-1)},{key:"Escape",run:({state:e,dispatch:t})=>!!e.field(ne,!1)&&(t(e.update({effects:ee.of(null)})),!0)}],se=r.sj.define({combine(e){return e.length?e[0]:ae}}),le=r.Nb.highest(o.w4.compute([se],(e=>e.facet(se))));function ce(e,t){return Object.assign(Object.assign({},t),{apply:oe(e)})}const ue=o.Lz.domEventHandlers({mousedown(e,t){let n,r=t.state.field(ne,!1);if(!r||null==(n=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let o=r.ranges.find((e=>e.from<=n&&e.to>=n));return!(!o||o.field==r.active||(t.dispatch({selection:re(r.ranges,o.field),effects:ee.of(r.ranges.some((e=>e.field>o.field))?new J(r.ranges,o.field):null),scrollIntoView:!0}),0))}}),de={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},fe=r.Pe.define({map(e,t){let n=t.mapPos(e,-1,r.iR.TrackAfter);return null==n?void 0:n}}),he=new class extends r.FB{};he.startSide=1,he.endSide=-1;const pe=r.sU.define({create(){return r.om.empty},update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=n.from&&e<=n.to})}for(let n of t.effects)n.is(fe)&&(e=e.update({add:[he.range(n.value,n.value+1)]}));return e}});function me(){return[Oe,pe]}const ge="()[]{}<>«»»«[]{}";function Ae(e){for(let t=0;t<16;t+=2)if(ge.charCodeAt(t)==e)return ge.charAt(t+1);return(0,r.MK)(e<128?e:e+1)}function ve(e,t){return e.languageDataAt("closeBrackets",t)[0]||de}const ye="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),Oe=o.Lz.inputHandler.of(((e,t,n,o)=>{if((ye?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let i=e.state.selection.main;if(o.length>2||2==o.length&&1==(0,r.Fh)((0,r.vS)(o,0))||t!=i.from||n!=i.to)return!1;let a=function(e,t){let n=ve(e,e.selection.main.head),o=n.brackets||de.brackets;for(let i of o){let a=Ae((0,r.vS)(i,0));if(t==i)return a==i?ke(e,i,o.indexOf(i+i+i)>-1,n):xe(e,i,a,n.before||de.before);if(t==a&&we(e,e.selection.main.from))return Se(e,0,a)}return null}(e.state,o);return!!a&&(e.dispatch(a),!0)})),be=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=ve(e,e.selection.main.head).brackets||de.brackets,o=null,i=e.changeByRange((t=>{if(t.empty){let o=function(e,t){let n=e.sliceString(t-2,t);return(0,r.Fh)((0,r.vS)(n,0))==n.length?n:n.slice(1)}(e.doc,t.head);for(let i of n)if(i==o&&_e(e.doc,t.head)==Ae((0,r.vS)(i,0)))return{changes:{from:t.head-i.length,to:t.head+i.length},range:r.OF.cursor(t.head-i.length)}}return{range:o=t}}));return o||t(e.update(i,{scrollIntoView:!0,userEvent:"delete.backward"})),!o}}];function we(e,t){let n=!1;return e.field(pe).between(0,e.doc.length,(e=>{e==t&&(n=!0)})),n}function _e(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,r.Fh)((0,r.vS)(n,0)))}function xe(e,t,n,o){let i=null,a=e.changeByRange((a=>{if(!a.empty)return{changes:[{insert:t,from:a.from},{insert:n,from:a.to}],effects:fe.of(a.to+t.length),range:r.OF.range(a.anchor+t.length,a.head+t.length)};let s=_e(e.doc,a.head);return!s||/\s/.test(s)||o.indexOf(s)>-1?{changes:{insert:t+n,from:a.head},effects:fe.of(a.head+t.length),range:r.OF.cursor(a.head+t.length)}:{range:i=a}}));return i?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function Se(e,t,n){let o=null,i=e.changeByRange((t=>t.empty&&_e(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:r.OF.cursor(t.head+n.length)}:o={range:t}));return o?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function ke(e,t,n,o){let a=o.stringPrefixes||de.stringPrefixes,s=null,l=e.changeByRange((o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:t,from:o.to}],effects:fe.of(o.to+t.length),range:r.OF.range(o.anchor+t.length,o.head+t.length)};let l,c=o.head,u=_e(e.doc,c);if(u==t){if(Ce(e,c))return{changes:{insert:t+t,from:c},effects:fe.of(c+t.length),range:r.OF.cursor(c+t.length)};if(we(e,c)){let o=n&&e.sliceDoc(c,c+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:c,to:c+o.length,insert:o},range:r.OF.cursor(c+o.length)}}}else{if(n&&e.sliceDoc(c-2*t.length,c)==t+t&&(l=Be(e,c-2*t.length,a))>-1&&Ce(e,l))return{changes:{insert:t+t+t+t,from:c},effects:fe.of(c+t.length),range:r.OF.cursor(c+t.length)};if(e.charCategorizer(c)(u)!=r.Je.Word&&Be(e,c,a)>-1&&!function(e,t,n,r){let o=(0,i.mv)(e).resolveInner(t,-1),a=r.reduce(((e,t)=>Math.max(e,t.length)),0);for(let i=0;i<5;i++){let i=e.sliceDoc(o.from,Math.min(o.to,o.from+n.length+a)),s=i.indexOf(n);if(!s||s>-1&&r.indexOf(i.slice(0,s))>-1){let t=o.firstChild;for(;t&&t.from==o.from&&t.to-t.from>n.length+s;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let l=o.to==t&&o.parent;if(!l)break;o=l}return!1}(e,c,t,a))return{changes:{insert:t+t,from:c},effects:fe.of(c+t.length),range:r.OF.cursor(c+t.length)}}return{range:s=o}}));return s?null:e.update(l,{scrollIntoView:!0,userEvent:"input.type"})}function Ce(e,t){let n=(0,i.mv)(e).resolveInner(t+1);return n.parent&&n.from==t}function Be(e,t,n){let o=e.charCategorizer(t);if(o(e.sliceDoc(t-1,t))!=r.Je.Word)return t;for(let i of n){let n=t-i.length;if(e.sliceDoc(n,t)==i&&o(e.sliceDoc(n-1,n))!=r.Je.Word)return n}return-1}function Qe(e={}){return[X,I,O.of(e),H,Ee,j]}const Te=[{key:"Ctrl-Space",run:U},{mac:"Alt-`",run:U},{key:"Escape",run:e=>{let t=e.state.field(I,!1);return!(!t||!t.active.some((e=>0!=e.state))||(e.dispatch({effects:A.of(null)}),0))}},{key:"ArrowDown",run:V(!0)},{key:"ArrowUp",run:V(!1)},{key:"PageDown",run:V(!0,"page")},{key:"PageUp",run:V(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(I,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(O).interactionDelay)&&N(e,t.open.options[t.open.selected])}}],Ee=r.Nb.highest(o.w4.computeN([O],(e=>e.facet(O).defaultKeymap?[Te]:[])))},47411:function(e,t,n){"use strict";function r(e,t,n){for(var r;e&&(!t(e)||(r=e,!n));)e=e.__hostTarget||e.parent;return r}n.d(t,{R:function(){return r}})},47566:function(e,t,n){"use strict";var r=n(36840),o=n(79504),i=n(655),a=n(22812),s=URLSearchParams,l=s.prototype,c=o(l.getAll),u=o(l.has),d=new s("a=1");!d.has("a",2)&&d.has("a",void 0)||r(l,"has",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return u(this,e);var r=c(this,e);a(t,1);for(var o=i(n),s=0;s<r.length;)if(r[s++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0})},47694:function(e,t,n){"use strict";n.d(t,{wD:function(){return rt}});var r,o=n(20614),i=n(62144),a=n(15874),s=n(47404),l=n(90365),c=n(43720);class u{static create(e,t,n,r,o){return new u(e,t,n,r+(r<<8)+e+(t<<4)|0,o,[],[])}constructor(e,t,n,r,o,i,a){this.type=e,this.value=t,this.from=n,this.hash=r,this.end=o,this.children=i,this.positions=a,this.hashProp=[[l.uY.contextHash,r]]}addChild(e,t){e.prop(l.uY.contextHash)!=this.hash&&(e=new l.PH(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let n=this.children.length-1;return n>=0&&(t=Math.max(t,this.positions[n]+this.children[n].length+this.from)),new l.PH(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,n)=>new l.PH(l.Z6.none,e,t,n,this.hashProp)})}}!function(e){e[e.Document=1]="Document",e[e.CodeBlock=2]="CodeBlock",e[e.FencedCode=3]="FencedCode",e[e.Blockquote=4]="Blockquote",e[e.HorizontalRule=5]="HorizontalRule",e[e.BulletList=6]="BulletList",e[e.OrderedList=7]="OrderedList",e[e.ListItem=8]="ListItem",e[e.ATXHeading1=9]="ATXHeading1",e[e.ATXHeading2=10]="ATXHeading2",e[e.ATXHeading3=11]="ATXHeading3",e[e.ATXHeading4=12]="ATXHeading4",e[e.ATXHeading5=13]="ATXHeading5",e[e.ATXHeading6=14]="ATXHeading6",e[e.SetextHeading1=15]="SetextHeading1",e[e.SetextHeading2=16]="SetextHeading2",e[e.HTMLBlock=17]="HTMLBlock",e[e.LinkReference=18]="LinkReference",e[e.Paragraph=19]="Paragraph",e[e.CommentBlock=20]="CommentBlock",e[e.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",e[e.Escape=22]="Escape",e[e.Entity=23]="Entity",e[e.HardBreak=24]="HardBreak",e[e.Emphasis=25]="Emphasis",e[e.StrongEmphasis=26]="StrongEmphasis",e[e.Link=27]="Link",e[e.Image=28]="Image",e[e.InlineCode=29]="InlineCode",e[e.HTMLTag=30]="HTMLTag",e[e.Comment=31]="Comment",e[e.ProcessingInstruction=32]="ProcessingInstruction",e[e.Autolink=33]="Autolink",e[e.HeaderMark=34]="HeaderMark",e[e.QuoteMark=35]="QuoteMark",e[e.ListMark=36]="ListMark",e[e.LinkMark=37]="LinkMark",e[e.EmphasisMark=38]="EmphasisMark",e[e.CodeMark=39]="CodeMark",e[e.CodeText=40]="CodeText",e[e.CodeInfo=41]="CodeInfo",e[e.LinkTitle=42]="LinkTitle",e[e.LinkLabel=43]="LinkLabel",e[e.URL=44]="URL"}(r||(r={}));class d{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class f{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return g(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let r=t;r<e;r++)n+=9==this.text.charCodeAt(r)?4-n%4:1;return n}findColumn(e){let t=0;for(let n=0;t<this.text.length&&n<e;t++)n+=9==this.text.charCodeAt(t)?4-n%4:1;return t}scrub(){if(!this.baseIndent)return this.text;let e="";for(let t=0;t<this.basePos;t++)e+=" ";return e+this.text.slice(this.basePos)}}function h(e,t,n){if(n.pos==n.text.length||e!=t.block&&n.indent>=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let o=(e.type==r.OrderedList?_:w)(n,t,!1);return o>0&&(e.type!=r.BulletList||O(n,t,!1)<0)&&n.text.charCodeAt(n.pos+o-1)==e.value}const p={[r.Blockquote](e,t,n){return 62==n.next&&(n.markers.push(G(r.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(m(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0)},[r.ListItem](e,t,n){return!(n.indent<n.baseIndent+e.value&&n.next>-1||(n.moveBaseColumn(n.baseIndent+e.value),0))},[r.OrderedList]:h,[r.BulletList]:h,[r.Document](){return!0}};function m(e){return 32==e||9==e||10==e||13==e}function g(e,t=0){for(;t<e.length&&m(e.charCodeAt(t));)t++;return t}function A(e,t,n){for(;t>n&&m(e.charCodeAt(t-1));)t--;return t}function v(e){if(96!=e.next&&126!=e.next)return-1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;if(t<e.pos+3)return-1;if(96==e.next)for(let n=t;n<e.text.length;n++)if(96==e.text.charCodeAt(n))return-1;return t}function y(e){return 62!=e.next?-1:32==e.text.charCodeAt(e.pos+1)?2:1}function O(e,t,n){if(42!=e.next&&45!=e.next&&95!=e.next)return-1;let r=1;for(let t=e.pos+1;t<e.text.length;t++){let n=e.text.charCodeAt(t);if(n==e.next)r++;else if(!m(n))return-1}return n&&45==e.next&&S(e)>-1&&e.depth==t.stack.length&&t.parser.leafBlockParsers.indexOf(D.SetextHeading)>-1||r<3?-1:1}function b(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function w(e,t,n){return 45!=e.next&&43!=e.next&&42!=e.next||e.pos!=e.text.length-1&&!m(e.text.charCodeAt(e.pos+1))||!(!n||b(t,r.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?-1:1}function _(e,t,n){let o=e.pos,i=e.next;for(;i>=48&&i<=57;){if(o++,o==e.text.length)return-1;i=e.text.charCodeAt(o)}return o==e.pos||o>e.pos+9||46!=i&&41!=i||o<e.text.length-1&&!m(e.text.charCodeAt(o+1))||n&&!b(t,r.OrderedList)&&(e.skipSpace(o+1)==e.text.length||o>e.pos+1||49!=e.next)?-1:o+1-e.pos}function x(e){if(35!=e.next)return-1;let t=e.pos+1;for(;t<e.text.length&&35==e.text.charCodeAt(t);)t++;if(t<e.text.length&&32!=e.text.charCodeAt(t))return-1;let n=t-e.pos;return n>6?-1:n}function S(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return-1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;let n=t;for(;t<e.text.length&&m(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}const k=/^[ \t]*$/,C=/-->/,B=/\?>/,Q=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,C],[/^\s*<\?/,B],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,k],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,k]];function T(e,t,n){if(60!=e.next)return-1;let r=e.text.slice(e.pos);for(let e=0,t=Q.length-(n?1:0);e<t;e++)if(Q[e][0].test(r))return e;return-1}function E(e,t){let n=e.countIndent(t,e.pos,e.indent),r=e.countIndent(e.skipSpace(t),t,n);return r>=n+5?n+1:r}function P(e,t,n){let o=e.length-1;o>=0&&e[o].to==t&&e[o].type==r.CodeText?e[o].to=n:e.push(G(r.CodeText,t,n))}const $={LinkReference:void 0,IndentedCode(e,t){let n=t.baseIndent+4;if(t.indent<n)return!1;let o=t.findColumn(n),i=e.lineStart+o,a=e.lineStart+t.text.length,s=[],l=[];for(P(s,i,a);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length){P(l,e.lineStart-1,e.lineStart);for(let e of t.markers)l.push(e)}else{if(t.indent<n)break;{if(l.length){for(let e of l)e.type==r.CodeText?P(s,e.from,e.to):s.push(e);l=[]}P(s,e.lineStart-1,e.lineStart);for(let e of t.markers)s.push(e);a=e.lineStart+t.text.length;let n=e.lineStart+t.findColumn(t.baseIndent+4);n<a&&P(s,n,a)}}return l.length&&(l=l.filter((e=>e.type!=r.CodeText)),l.length&&(t.markers=l.concat(t.markers))),e.addNode(e.buffer.writeElements(s,-i).finish(r.CodeBlock,a-i),i),!0},FencedCode(e,t){let n=v(t);if(n<0)return!1;let o=e.lineStart+t.pos,i=t.next,a=n-t.pos,s=t.skipSpace(n),l=A(t.text,t.text.length,s),c=[G(r.CodeMark,o,o+a)];s<l&&c.push(G(r.CodeInfo,e.lineStart+s,e.lineStart+l));for(let n=!0;e.nextLine()&&t.depth>=e.stack.length;n=!1){let o=t.pos;if(t.indent-t.baseIndent<4)for(;o<t.text.length&&t.text.charCodeAt(o)==i;)o++;if(o-t.pos>=a&&t.skipSpace(o)==t.text.length){for(let e of t.markers)c.push(e);c.push(G(r.CodeMark,e.lineStart+t.pos,e.lineStart+o)),e.nextLine();break}{n||P(c,e.lineStart-1,e.lineStart);for(let e of t.markers)c.push(e);let r=e.lineStart+t.basePos,o=e.lineStart+t.text.length;r<o&&P(c,r,o)}}return e.addNode(e.buffer.writeElements(c,-o).finish(r.FencedCode,e.prevLineEnd()-o),o),!0},Blockquote(e,t){let n=y(t);return!(n<0)&&(e.startContext(r.Blockquote,t.pos),e.addNode(r.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1),t.moveBase(t.pos+n),null)},HorizontalRule(e,t){if(O(t,e,!1)<0)return!1;let n=e.lineStart+t.pos;return e.nextLine(),e.addNode(r.HorizontalRule,n),!0},BulletList(e,t){let n=w(t,e,!1);if(n<0)return!1;e.block.type!=r.BulletList&&e.startContext(r.BulletList,t.basePos,t.next);let o=E(t,t.pos+1);return e.startContext(r.ListItem,t.basePos,o-t.baseIndent),e.addNode(r.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(o),null},OrderedList(e,t){let n=_(t,e,!1);if(n<0)return!1;e.block.type!=r.OrderedList&&e.startContext(r.OrderedList,t.basePos,t.text.charCodeAt(t.pos+n-1));let o=E(t,t.pos+n);return e.startContext(r.ListItem,t.basePos,o-t.baseIndent),e.addNode(r.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(o),null},ATXHeading(e,t){let n=x(t);if(n<0)return!1;let o=t.pos,i=e.lineStart+o,a=A(t.text,t.text.length,o),s=a;for(;s>o&&t.text.charCodeAt(s-1)==t.next;)s--;s!=a&&s!=o&&m(t.text.charCodeAt(s-1))||(s=t.text.length);let l=e.buffer.write(r.HeaderMark,0,n).writeElements(e.parser.parseInline(t.text.slice(o+n+1,s),i+n+1),-i);s<t.text.length&&l.write(r.HeaderMark,s-o,a-o);let c=l.finish(r.ATXHeading1-1+n,t.text.length-o);return e.nextLine(),e.addNode(c,i),!0},HTMLBlock(e,t){let n=T(t,0,!1);if(n<0)return!1;let o=e.lineStart+t.pos,i=Q[n][1],a=[],s=i!=k;for(;!i.test(t.text)&&e.nextLine();){if(t.depth<e.stack.length){s=!1;break}for(let e of t.markers)a.push(e)}s&&e.nextLine();let l=i==C?r.CommentBlock:i==B?r.ProcessingInstructionBlock:r.HTMLBlock,c=e.prevLineEnd();return e.addNode(e.buffer.writeElements(a,-o).finish(l,c-o),o),!0},SetextHeading:void 0};class M{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,t,n){if(-1==this.stage)return!1;let r=n.content+"\n"+t.scrub(),o=this.advance(r);return o>-1&&o<r.length&&this.complete(e,n,o)}finish(e,t){return(2==this.stage||3==this.stage)&&g(t.content,this.pos)==t.content.length&&this.complete(e,t,t.content.length)}complete(e,t,n){return e.addLeafElement(t,G(r.LinkReference,this.start,this.start+n,this.elts)),!0}nextStage(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(!1===e&&(this.stage=-1),!1)}advance(e){for(;;){if(-1==this.stage)return-1;if(0==this.stage){if(!this.nextStage(le(e,this.pos,this.start,!0)))return-1;if(58!=e.charCodeAt(this.pos))return this.stage=-1;this.elts.push(G(r.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else{if(1!=this.stage){if(2==this.stage){let t=g(e,this.pos),n=0;if(t>this.pos){let r=se(e,t,this.start);if(r){let t=z(e,r.to-this.start);t>0&&(this.nextStage(r),n=t)}}return n||(n=z(e,this.pos)),n>0&&n<e.length?n:-1}return z(e,this.pos)}if(!this.nextStage(ae(e,g(e,this.pos),this.start)))return-1}}}}function z(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(10==n)break;if(!m(n))return-1}return t}class R{nextLine(e,t,n){let o=t.depth<e.stack.length?-1:S(t),i=t.next;if(o<0)return!1;let a=G(r.HeaderMark,e.lineStart+t.pos,e.lineStart+o);return e.nextLine(),e.addLeafElement(n,G(61==i?r.SetextHeading1:r.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),a])),!0}finish(){return!1}}const D={LinkReference(e,t){return 91==t.content.charCodeAt(0)?new M(t):null},SetextHeading(){return new R}},I=[(e,t)=>x(t)>=0,(e,t)=>v(t)>=0,(e,t)=>y(t)>=0,(e,t)=>w(t,e,!0)>=0,(e,t)=>_(t,e,!0)>=0,(e,t)=>O(t,e,!0)>=0,(e,t)=>T(t,0,!0)>=0],N={text:"",end:0};class L{constructor(e,t,n,o){this.parser=e,this.input=t,this.ranges=o,this.line=new f,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=o[o.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=o[0].from,this.block=u.create(r.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new fe(n,t):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(null!=this.stoppedAt&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){for(let t=0;;){let n=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;t<e.markers.length&&(!n||e.markers[t].from<n.end);){let n=e.markers[t++];this.addNode(n.type,n.from,n.to)}if(!n)break;this.finishContext()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;e:for(;;){for(let t of this.parser.blockParsers)if(t){let n=t(this,e);if(0!=n){if(1==n)return null;e.forward();continue e}}break}let t=new d(this.lineStart+e.pos,e.text.slice(e.pos));for(let e of this.parser.leafBlockParsers)if(e){let n=e(this,t);n&&t.parsers.push(n)}e:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4)for(let n of this.parser.endLeafBlock)if(n(this,e,t))break e;for(let n of t.parsers)if(n.nextLine(this,e,t))return null;t.content+="\n"+e.scrub();for(let n of e.markers)t.marks.push(n)}return this.finishLeaf(t),null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;let t=this.fragments.takeNodes(this);return!!t&&(this.absoluteLineStart+=t,this.lineStart=he(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0)}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){return this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}peekLine(){return this.scanLine(this.absoluteLineEnd+1).text}moveRangeI(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){let t=N;if(t.end=e,e>=this.to)t.text="";else if(t.text=this.lineChunkAt(e),t.end+=t.text.length,this.ranges.length>1){let e=this.absoluteLineStart,n=this.rangeI;for(;this.ranges[n].to<t.end;){n++;let r=this.ranges[n].from,o=this.lineChunkAt(r);t.end=r+o.length,t.text=t.text.slice(0,this.ranges[n-1].to-e)+o,e=t.end-t.text.length}}return t}readLine(){let{line:e}=this,{text:t,end:n}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=n,e.reset(t);e.depth<this.stack.length;e.depth++){let t=this.stack[e.depth],n=this.parser.skipContextMarkup[t.type];if(!n)throw new Error("Unhandled block context "+r[t.type]);if(!n(t,this,e))break;e.forward()}}lineChunkAt(e){let t,n=this.input.chunk(e);if(this.input.lineChunks)t="\n"==n?"":n;else{let e=n.indexOf("\n");t=e<0?n:n.slice(0,e)}return e+t.length>this.to?t.slice(0,this.to-e):t}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,n=0){this.block=u.create(e,n,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,t,n=0){this.startContext(this.parser.getNodeType(e),t,n)}addNode(e,t,n){"number"==typeof e&&(e=new l.PH(this.parser.nodeSet.types[e],j,j,(null!=n?n:this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,t){this.addNode(this.buffer.writeElements(ue(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}finishContext(){let e=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?V(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let t of e.parsers)if(t.finish(this,e))return;let t=ue(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(r.Paragraph,e.content.length),e.start)}elt(e,t,n,r){return"string"==typeof e?G(this.parser.getNodeType(e),t,n,r):new Y(e,t)}get buffer(){return new q(this.parser.nodeSet)}}function V(e,t,n,r,o){let i=e[t].to,a=[],s=[],c=n.from+r;function u(n,o){for(;o?n>=i:n>i;){let o=e[t+1].from-i;r+=o,n+=o,t++,i=e[t].to}}for(let l=n.firstChild;l;l=l.nextSibling){u(l.from+r,!0);let n,d=l.from+r,f=o.get(l.tree);f?n=f:l.to+r>i?(n=V(e,t,l,r,o),u(l.to+r,!1)):n=l.toTree(),a.push(n),s.push(d-c)}return u(n.to+r,!1),new l.PH(n.type,a,s,n.to+r-c,n.tree?n.tree.propValues:void 0)}class U extends l.iX{constructor(e,t,n,r,o,i,a,s,l){super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=n,this.blockNames=r,this.endLeafBlock=o,this.skipContextMarkup=i,this.inlineParsers=a,this.inlineNames=s,this.wrappers=l,this.nodeTypes=Object.create(null);for(let t of e.types)this.nodeTypes[t.name]=t.id}createParse(e,t,n){let r=new L(this,e,t,n);for(let o of this.wrappers)r=o(r,e,t,n);return r}configure(e){let t=H(e);if(!t)return this;let{nodeSet:n,skipContextMarkup:o}=this,i=this.blockParsers.slice(),a=this.leafBlockParsers.slice(),s=this.blockNames.slice(),u=this.inlineParsers.slice(),d=this.inlineNames.slice(),f=this.endLeafBlock.slice(),h=this.wrappers;if(F(t.defineNodes)){o=Object.assign({},o);let e,i=n.types.slice();for(let n of t.defineNodes){let{name:t,block:a,composite:s,style:u}="string"==typeof n?{name:n}:n;if(i.some((e=>e.name==t)))continue;s&&(o[i.length]=(e,t,n)=>s(t,n,e.value));let d=i.length,f=s?["Block","BlockContext"]:a?d>=r.ATXHeading1&&d<=r.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;i.push(l.Z6.define({id:d,name:t,props:f&&[[l.uY.group,f]]})),u&&(e||(e={}),Array.isArray(u)||u instanceof c.vw?e[t]=u:Object.assign(e,u))}n=new l.fI(i),e&&(n=n.extend((0,c.pn)(e)))}if(F(t.props)&&(n=n.extend(...t.props)),F(t.remove))for(let e of t.remove){let t=this.blockNames.indexOf(e),n=this.inlineNames.indexOf(e);t>-1&&(i[t]=a[t]=void 0),n>-1&&(u[n]=void 0)}if(F(t.parseBlock))for(let e of t.parseBlock){let t=s.indexOf(e.name);if(t>-1)i[t]=e.parse,a[t]=e.leaf;else{let t=e.before?W(s,e.before):e.after?W(s,e.after)+1:s.length-1;i.splice(t,0,e.parse),a.splice(t,0,e.leaf),s.splice(t,0,e.name)}e.endLeaf&&f.push(e.endLeaf)}if(F(t.parseInline))for(let e of t.parseInline){let t=d.indexOf(e.name);if(t>-1)u[t]=e.parse;else{let t=e.before?W(d,e.before):e.after?W(d,e.after)+1:d.length-1;u.splice(t,0,e.parse),d.splice(t,0,e.name)}}return t.wrap&&(h=h.concat(t.wrap)),new U(n,i,a,s,f,o,u,d,h)}getNodeType(e){let t=this.nodeTypes[e];if(null==t)throw new RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let n=new ce(this,e,t);e:for(let e=t;e<n.end;){let t=n.char(e);for(let r of this.inlineParsers)if(r){let o=r(n,t,e);if(o>=0){e=o;continue e}}e++}return n.resolveMarkers(0)}}function F(e){return null!=e&&e.length>0}function H(e){if(!Array.isArray(e))return e;if(0==e.length)return null;let t=H(e[0]);if(1==e.length)return t;let n=H(e.slice(1));if(!n||!t)return t||n;let r=(e,t)=>(e||j).concat(t||j),o=t.wrap,i=n.wrap;return{props:r(t.props,n.props),defineNodes:r(t.defineNodes,n.defineNodes),parseBlock:r(t.parseBlock,n.parseBlock),parseInline:r(t.parseInline,n.parseInline),remove:r(t.remove,n.remove),wrap:o?i?(e,t,n,r)=>o(i(e,t,n,r),t,n,r):o:i}}function W(e,t){let n=e.indexOf(t);if(n<0)throw new RangeError(`Position specified relative to unknown parser ${t}`);return n}let X=[l.Z6.none];for(let e,t=1;e=r[t];t++)X[t]=l.Z6.define({id:t,name:e,props:t>=r.Escape?[]:[[l.uY.group,t in p?["Block","BlockContext"]:["Block","LeafBlock"]]],top:"Document"==e});const j=[];class q{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,t,n,r=0){return this.content.push(e,t,n,4+4*r),this}writeElements(e,t=0){for(let n of e)n.writeTo(this,t);return this}finish(e,t){return l.PH.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}class Z{constructor(e,t,n,r=j){this.type=e,this.from=t,this.to=n,this.children=r}writeTo(e,t){let n=e.content.length;e.writeElements(this.children,t),e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-n)}toTree(e){return new q(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}class Y{constructor(e,t){this.tree=e,this.from=t}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return j}writeTo(e,t){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}toTree(){return this.tree}}function G(e,t,n,r){return new Z(e,t,n,r)}const K={resolve:"Emphasis",mark:"EmphasisMark"},J={resolve:"Emphasis",mark:"EmphasisMark"},ee={},te={};class ne{constructor(e,t,n,r){this.type=e,this.from=t,this.to=n,this.side=r}}let re=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{re=new RegExp("[\\p{S}|\\p{P}]","u")}catch(e){}const oe={Escape(e,t,n){if(92!=t||n==e.end-1)return-1;let o=e.char(n+1);for(let t=0;t<32;t++)if("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~".charCodeAt(t)==o)return e.append(G(r.Escape,n,n+2));return-1},Entity(e,t,n){if(38!=t)return-1;let o=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(n+1,n+31));return o?e.append(G(r.Entity,n,n+1+o[0].length)):-1},InlineCode(e,t,n){if(96!=t||n&&96==e.char(n-1))return-1;let o=n+1;for(;o<e.end&&96==e.char(o);)o++;let i=o-n,a=0;for(;o<e.end;o++)if(96==e.char(o)){if(a++,a==i&&96!=e.char(o+1))return e.append(G(r.InlineCode,n,o+1,[G(r.CodeMark,n,n+i),G(r.CodeMark,o+1-i,o+1)]))}else a=0;return-1},HTMLTag(e,t,n){if(60!=t||n==e.end-1)return-1;let o=e.slice(n+1,e.end),i=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(o);if(i)return e.append(G(r.Autolink,n,n+1+i[0].length,[G(r.LinkMark,n,n+1),G(r.URL,n+1,n+i[0].length),G(r.LinkMark,n+i[0].length,n+1+i[0].length)]));let a=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(o);if(a)return e.append(G(r.Comment,n,n+1+a[0].length));let s=/^\?[^]*?\?>/.exec(o);if(s)return e.append(G(r.ProcessingInstruction,n,n+1+s[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(o);return l?e.append(G(r.HTMLTag,n,n+1+l[0].length)):-1},Emphasis(e,t,n){if(95!=t&&42!=t)return-1;let r=n+1;for(;e.char(r)==t;)r++;let o=e.slice(n-1,n),i=e.slice(r,r+1),a=re.test(o),s=re.test(i),l=/\s|^$/.test(o),c=/\s|^$/.test(i),u=!c&&(!s||l||a),d=!l&&(!a||c||s),f=u&&(42==t||!d||a),h=d&&(42==t||!u||s);return e.append(new ne(95==t?K:J,n,r,(f?1:0)|(h?2:0)))},HardBreak(e,t,n){if(92==t&&10==e.char(n+1))return e.append(G(r.HardBreak,n,n+2));if(32==t){let t=n+1;for(;32==e.char(t);)t++;if(10==e.char(t)&&t>=n+2)return e.append(G(r.HardBreak,n,t+1))}return-1},Link(e,t,n){return 91==t?e.append(new ne(ee,n,n+1,1)):-1},Image(e,t,n){return 33==t&&91==e.char(n+1)?e.append(new ne(te,n,n+2,1)):-1},LinkEnd(e,t,n){if(93!=t)return-1;for(let t=e.parts.length-1;t>=0;t--){let o=e.parts[t];if(o instanceof ne&&(o.type==ee||o.type==te)){if(!o.side||e.skipSpace(o.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[t]=null,-1;let i=e.takeContent(t),a=e.parts[t]=ie(e,i,o.type==ee?r.Link:r.Image,o.from,n+1);if(o.type==ee)for(let n=0;n<t;n++){let t=e.parts[n];t instanceof ne&&t.type==ee&&(t.side=0)}return a.to}}return-1}};function ie(e,t,n,o,i){let{text:a}=e,s=e.char(i),l=i;if(t.unshift(G(r.LinkMark,o,o+(n==r.Image?2:1))),t.push(G(r.LinkMark,i-1,i)),40==s){let n,o=e.skipSpace(i+1),s=ae(a,o-e.offset,e.offset);s&&(o=e.skipSpace(s.to),o!=s.to&&(n=se(a,o-e.offset,e.offset),n&&(o=e.skipSpace(n.to)))),41==e.char(o)&&(t.push(G(r.LinkMark,i,i+1)),l=o+1,s&&t.push(s),n&&t.push(n),t.push(G(r.LinkMark,o,l)))}else if(91==s){let n=le(a,i-e.offset,e.offset,!1);n&&(t.push(n),l=n.to)}return G(n,o,l,t)}function ae(e,t,n){if(60==e.charCodeAt(t)){for(let o=t+1;o<e.length;o++){let i=e.charCodeAt(o);if(62==i)return G(r.URL,t+n,o+1+n);if(60==i||10==i)return!1}return null}{let o=0,i=t;for(let t=!1;i<e.length;i++){let n=e.charCodeAt(i);if(m(n))break;if(t)t=!1;else if(40==n)o++;else if(41==n){if(!o)break;o--}else 92==n&&(t=!0)}return i>t?G(r.URL,t+n,i+n):i==e.length&&null}}function se(e,t,n){let o=e.charCodeAt(t);if(39!=o&&34!=o&&40!=o)return!1;let i=40==o?41:o;for(let o=t+1,a=!1;o<e.length;o++){let s=e.charCodeAt(o);if(a)a=!1;else{if(s==i)return G(r.LinkTitle,t+n,o+1+n);92==s&&(a=!0)}}return null}function le(e,t,n,o){for(let i=!1,a=t+1,s=Math.min(e.length,a+999);a<s;a++){let s=e.charCodeAt(a);if(i)i=!1;else{if(93==s)return!o&&G(r.LinkLabel,t+n,a+1+n);if(o&&!m(s)&&(o=!1),91==s)return!1;92==s&&(i=!0)}}return null}class ce{constructor(e,t,n){this.parser=e,this.text=t,this.offset=n,this.parts=[]}char(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,r,o){return this.append(new ne(e,t,n,(r?1:0)|(o?2:0)))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let t=this.parts[e];if(t instanceof ne&&(t.type==ee||t.type==te))return!0}return!1}addElement(e){return this.append(e)}resolveMarkers(e){for(let t=e;t<this.parts.length;t++){let n=this.parts[t];if(!(n instanceof ne&&n.type.resolve&&2&n.side))continue;let r,o=n.type==K||n.type==J,i=n.to-n.from,a=t-1;for(;a>=e;a--){let e=this.parts[a];if(e instanceof ne&&1&e.side&&e.type==n.type&&!(o&&(1&n.side||2&e.side)&&(e.to-e.from+i)%3==0&&((e.to-e.from)%3||i%3))){r=e;break}}if(!r)continue;let s=n.type.resolve,l=[],c=r.from,u=n.to;if(o){let e=Math.min(2,r.to-r.from,i);c=r.to-e,u=n.from+e,s=1==e?"Emphasis":"StrongEmphasis"}r.type.mark&&l.push(this.elt(r.type.mark,c,r.to));for(let e=a+1;e<t;e++)this.parts[e]instanceof Z&&l.push(this.parts[e]),this.parts[e]=null;n.type.mark&&l.push(this.elt(n.type.mark,n.from,u));let d=this.elt(s,c,u,l);this.parts[a]=o&&r.from!=c?new ne(r.type,r.from,c,r.side):null,(this.parts[t]=o&&n.to!=u?new ne(n.type,u,n.to,n.side):null)?this.parts.splice(t,0,d):this.parts[t]=d}let t=[];for(let n=e;n<this.parts.length;n++){let e=this.parts[n];e instanceof Z&&t.push(e)}return t}findOpeningDelimiter(e){for(let t=this.parts.length-1;t>=0;t--){let n=this.parts[t];if(n instanceof ne&&n.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return g(this.text,e-this.offset)+this.offset}elt(e,t,n,r){return"string"==typeof e?G(this.parser.getNodeType(e),t,n,r):new Y(e,t)}}function ue(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),r=0;for(let e of t){for(;r<n.length&&n[r].to<e.to;)r++;if(r<n.length&&n[r].from<e.from){let t=n[r];t instanceof Z&&(n[r]=new Z(t.type,t.from,t.to,ue(t.children,[e])))}else n.splice(r++,0,e)}return n}const de=[r.CodeBlock,r.ListItem,r.OrderedList,r.BulletList];class fe{constructor(e,t){this.fragments=e,this.input=t,this.i=0,this.fragment=null,this.fragmentEnd=-1,this.cursor=null,e.length&&(this.fragment=e[this.i++])}nextFragment(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null,this.cursor=null,this.fragmentEnd=-1}moveTo(e,t){for(;this.fragment&&this.fragment.to<=e;)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return!1;if(this.fragmentEnd<0){let e=this.fragment.to;for(;e>0&&"\n"!=this.input.read(e-1,e);)e--;this.fragmentEnd=e?e-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let r=e+this.fragment.offset;for(;n.to<=r;)if(!n.parent())return!1;for(;;){if(n.from>=r)return this.fragment.from<=t;if(!n.childAfter(r))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(l.uY.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,o=this.fragmentEnd-(this.fragment.openEnd?1:0),i=e.absoluteLineStart,a=i,s=e.block.children.length,c=a,u=s;for(;;){if(t.to-n>o){if(t.type.isAnonymous&&t.firstChild())continue;break}let i=he(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,i);else{let n=new l.PH(e.parser.nodeSet.types[r.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(n,t.tree),e.addNode(n,i)}if(t.type.is("Block")&&(de.indexOf(t.type.id)<0?(a=t.to-n,s=e.block.children.length):(a=c,s=u,c=t.to-n,u=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>s;)e.block.children.pop(),e.block.positions.pop();return a-i}}function he(e,t){let n=e;for(let r=1;r<t.length;r++){let o=t[r-1].to,i=t[r].from;o<e&&(n-=i-o)}return n}const pe=(0,c.pn)({"Blockquote/...":c._A.quote,HorizontalRule:c._A.contentSeparator,"ATXHeading1/... SetextHeading1/...":c._A.heading1,"ATXHeading2/... SetextHeading2/...":c._A.heading2,"ATXHeading3/...":c._A.heading3,"ATXHeading4/...":c._A.heading4,"ATXHeading5/...":c._A.heading5,"ATXHeading6/...":c._A.heading6,"Comment CommentBlock":c._A.comment,Escape:c._A.escape,Entity:c._A.character,"Emphasis/...":c._A.emphasis,"StrongEmphasis/...":c._A.strong,"Link/... Image/...":c._A.link,"OrderedList/... BulletList/...":c._A.list,"BlockQuote/...":c._A.quote,"InlineCode CodeText":c._A.monospace,"URL Autolink":c._A.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":c._A.processingInstruction,"CodeInfo LinkLabel":c._A.labelName,LinkTitle:c._A.string,Paragraph:c._A.content}),me=new U(new l.fI(X).extend(pe),Object.keys($).map((e=>$[e])),Object.keys($).map((e=>D[e])),Object.keys($),I,p,Object.keys(oe).map((e=>oe[e])),Object.keys(oe),[]);function ge(e,t,n){let r=[];for(let o=e.firstChild,i=t;;o=o.nextSibling){let e=o?o.from:n;if(e>i&&r.push({from:i,to:e}),!o)break;i=o.to}return r}const Ae={resolve:"Strikethrough",mark:"StrikethroughMark"},ve={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":c._A.strikethrough}},{name:"StrikethroughMark",style:c._A.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,n){if(126!=t||126!=e.char(n+1)||126==e.char(n+2))return-1;let r=e.slice(n-1,n),o=e.slice(n+2,n+3),i=/\s|^$/.test(r),a=/\s|^$/.test(o),s=re.test(r),l=re.test(o);return e.addDelimiter(Ae,n,n+2,!a&&(!l||i||s),!i&&(!s||a||l))},after:"Emphasis"}]};function ye(e,t,n=0,r,o=0){let i=0,a=!0,s=-1,l=-1,c=!1,u=()=>{r.push(e.elt("TableCell",o+s,o+l,e.parser.parseInline(t.slice(s,l),o+s)))};for(let d=n;d<t.length;d++){let n=t.charCodeAt(d);124!=n||c?(c||32!=n&&9!=n)&&(s<0&&(s=d),l=d+1):((!a||s>-1)&&i++,a=!1,r&&(s>-1&&u(),r.push(e.elt("TableDelimiter",d+o,d+o+1))),s=l=-1),c=!c&&92==n}return s>-1&&(i++,r&&u()),i}function Oe(e,t){for(let n=t;n<e.length;n++){let t=e.charCodeAt(n);if(124==t)return!0;92==t&&n++}return!1}const be=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class we{constructor(){this.rows=null}nextLine(e,t,n){if(null==this.rows){let r;if(this.rows=!1,(45==t.next||58==t.next||124==t.next)&&be.test(r=t.text.slice(t.pos))){let o=[];ye(e,n.content,0,o,n.start)==ye(e,r,t.pos)&&(this.rows=[e.elt("TableHeader",n.start,n.start+n.content.length,o),e.elt("TableDelimiter",e.lineStart+t.pos,e.lineStart+t.text.length)])}}else if(this.rows){let n=[];ye(e,t.text,t.pos,n,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+t.pos,e.lineStart+t.text.length,n))}return!1}finish(e,t){return!!this.rows&&(e.addLeafElement(t,e.elt("Table",t.start,t.start+t.content.length,this.rows)),!0)}}const _e={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":c._A.heading}},"TableRow",{name:"TableCell",style:c._A.content},{name:"TableDelimiter",style:c._A.processingInstruction}],parseBlock:[{name:"Table",leaf(e,t){return Oe(t.content,0)?new we:null},endLeaf(e,t,n){if(n.parsers.some((e=>e instanceof we))||!Oe(t.text,t.basePos))return!1;let r=e.peekLine();return be.test(r)&&ye(e,t.text,t.basePos)==ye(e,r,t.basePos)},before:"SetextHeading"}]};class xe{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}const Se={defineNodes:[{name:"Task",block:!0,style:c._A.list},{name:"TaskMarker",style:c._A.atom}],parseBlock:[{name:"TaskList",leaf(e,t){return/^\[[ xX]\][ \t]/.test(t.content)&&"ListItem"==e.parentType().name?new xe:null},after:"SetextHeading"}]},ke=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,Ce=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,Be=/[\w-]+\.[\w-]+($|\/)/,Qe=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Te=/\/[a-zA-Z\d@.]+/gy;function Ee(e,t,n,r){let o=0;for(let i=t;i<n;i++)e[i]==r&&o++;return o}function Pe(e,t){Qe.lastIndex=t;let n=Qe.exec(e);if(!n)return-1;let r=n[0][n[0].length-1];return"_"==r||"-"==r?-1:t+n[0].length-("."==r?1:0)}const $e=[_e,Se,ve,{parseInline:[{name:"Autolink",parse(e,t,n){let r=n-e.offset;if(r&&/\w/.test(e.text[r-1]))return-1;ke.lastIndex=r;let o=ke.exec(e.text),i=-1;return o?(o[1]||o[2]?(i=function(e,t){Ce.lastIndex=t;let n=Ce.exec(e);if(!n||Be.exec(n[0])[0].indexOf("_")>-1)return-1;let r=t+n[0].length;for(;;){let n,o=e[r-1];if(/[?!.,:*_~]/.test(o)||")"==o&&Ee(e,t,r,")")>Ee(e,t,r,"("))r--;else{if(";"!=o||!(n=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(e.slice(t,r))))break;r=t+n.index}}return r}(e.text,r+o[0].length),i>-1&&e.hasOpenLink&&(i=r+/([^\[\]]|\[[^\]]*\])*/.exec(e.text.slice(r,i))[0].length)):o[3]?i=Pe(e.text,r):(i=Pe(e.text,r+o[0].length),i>-1&&"xmpp:"==o[0]&&(Te.lastIndex=i,o=Te.exec(e.text),o&&(i=o.index+o[0].length))),i<0?-1:(e.addElement(e.elt("URL",n,i+e.offset)),i+e.offset)):-1}}]}];function Me(e,t,n){return(r,o,i)=>{if(o!=e||r.char(i+1)==e)return-1;let a=[r.elt(n,i,i+1)];for(let o=i+1;o<r.end;o++){let s=r.char(o);if(s==e)return r.addElement(r.elt(t,i,o+1,a.concat(r.elt(n,o,o+1))));if(92==s&&a.push(r.elt("Escape",o,2+o++)),m(s))break}return-1}}const ze={defineNodes:[{name:"Superscript",style:c._A.special(c._A.content)},{name:"SuperscriptMark",style:c._A.processingInstruction}],parseInline:[{name:"Superscript",parse:Me(94,"Superscript","SuperscriptMark")}]},Re={defineNodes:[{name:"Subscript",style:c._A.special(c._A.content)},{name:"SubscriptMark",style:c._A.processingInstruction}],parseInline:[{name:"Subscript",parse:Me(126,"Subscript","SubscriptMark")}]},De={defineNodes:[{name:"Emoji",style:c._A.character}],parseInline:[{name:"Emoji",parse(e,t,n){let r;return 58==t&&(r=/^[a-zA-Z_0-9]+:/.exec(e.slice(n+1,e.end)))?e.addElement(e.elt("Emoji",n,n+1+r[0].length)):-1}}]};var Ie=n(80441);const Ne=(0,a.p9)({commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}}}),Le=new l.uY,Ve=me.configure({props:[a.b_.add((e=>!e.is("Block")||e.is("Document")||null!=Ue(e)||function(e){return"OrderedList"==e.name||"BulletList"==e.name}(e)?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to}))),Le.add(Ue),a.Oh.add({Document:()=>null}),a.iB.add({Document:Ne})]});function Ue(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}function Fe(e,t){let n=e;for(;;){let e,r=n.nextSibling;if(!r||null!=(e=Ue(r.type))&&e<=t)break;n=r}return n.to}const He=a.t.of(((e,t,n)=>{for(let r=(0,a.mv)(e).resolveInner(n,-1);r&&!(r.from<t);r=r.parent){let e=r.type.prop(Le);if(null==e)continue;let t=Fe(r,e);if(t>n)return{from:n,to:t}}return null}));function We(e){return new a.TM(Ne,e,[He],"markdown")}const Xe=We(Ve),je=We(Ve.configure([$e,Re,ze,De,{props:[a.b_.add({Table:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}]));class qe{constructor(e,t,n,r,o,i,a){this.node=e,this.from=t,this.to=n,this.spaceBefore=r,this.spaceAfter=o,this.type=i,this.item=a}blank(e,t=!0){let n=this.spaceBefore+("Blockquote"==this.node.name?">":"");if(null!=e){for(;n.length<e;)n+=" ";return n}for(let e=this.to-this.from-n.length-this.spaceAfter.length;e>0;e--)n+=" ";return n+(t?this.spaceAfter:"")}marker(e,t){let n="OrderedList"==this.node.name?String(+Ye(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function Ze(e,t){let n=[],r=[];for(let t=e;t;t=t.parent){if("FencedCode"==t.name)return r;"ListItem"!=t.name&&"Blockquote"!=t.name||n.push(t)}for(let e=n.length-1;e>=0;e--){let o,i=n[e],a=t.lineAt(i.from),s=i.from-a.from;if("Blockquote"==i.name&&(o=/^ *>( ?)/.exec(a.text.slice(s))))r.push(new qe(i,s,s+o[0].length,"",o[1],">",null));else if("ListItem"==i.name&&"OrderedList"==i.parent.name&&(o=/^( *)\d+([.)])( *)/.exec(a.text.slice(s)))){let e=o[3],t=o[0].length;e.length>=4&&(e=e.slice(0,e.length-4),t-=4),r.push(new qe(i.parent,s,s+t,o[1],e,o[2],i))}else if("ListItem"==i.name&&"BulletList"==i.parent.name&&(o=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(a.text.slice(s)))){let e=o[4],t=o[0].length;e.length>4&&(e=e.slice(0,e.length-4),t-=4);let n=o[2];o[3]&&(n+=o[3].replace(/[xX]/," ")),r.push(new qe(i.parent,s,s+t,o[1],e,n,i))}}return r}function Ye(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function Ge(e,t,n,r=0){for(let o=-1,i=e;;){if("ListItem"==i.name){let e=Ye(i,t),a=+e[2];if(o>=0){if(a!=o+1)return;n.push({from:i.from+e[1].length,to:i.from+e[0].length,insert:String(o+2+r)})}o=a}let e=i.nextSibling;if(!e)break;i=e}}function Ke(e,t){let n=/^[ \t]*/.exec(e)[0].length;if(!n||"\t"!=t.facet(a.Xt))return e;let r="";for(let t=(0,o.y$)(e,4,n);t>0;)t>=4?(r+="\t",t-=4):(r+=" ",t--);return r+e.slice(n)}function Je(e){return"QuoteMark"==e.name||"ListMark"==e.name}function et(e,t,n){let r="";for(let t=0,i=e.length-2;t<=i;t++)r+=e[t].blank(t<i?(0,o.y$)(n.text,4,Math.min(n.text.length,e[t+1].from))-r.length:null,t<i);return Ke(r,t)}const tt=[{key:"Enter",run:({state:e,dispatch:t})=>{let n=(0,a.mv)(e),{doc:r}=e,i=null,s=e.changeByRange((t=>{if(!t.empty||!je.isActiveAt(e,t.from,0))return i={range:t};let a=t.from,s=r.lineAt(a),l=Ze(n.resolveInner(a,-1),r);for(;l.length&&l[l.length-1].from>a-s.from;)l.pop();if(!l.length)return i={range:t};let c=l[l.length-1];if(c.to-c.spaceAfter.length>a-s.from)return i={range:t};let u=a>=c.to-c.spaceAfter.length&&!/\S/.test(s.text.slice(c.to));if(c.item&&u){let t=c.node.firstChild,n=c.node.getChild("ListItem","ListItem");if(t.to>=a||n&&n.to<a||s.from>0&&!/[^\s>]/.test(r.lineAt(s.from-1).text)){let e,t=l.length>1?l[l.length-2]:null,n="";t&&t.item?(e=s.from+t.from,n=t.marker(r,1)):e=s.from+(t?t.to:0);let i=[{from:e,to:a,insert:n}];return"OrderedList"==c.node.name&&Ge(c.item,r,i,-2),t&&"OrderedList"==t.node.name&&Ge(t.item,r,i),{range:o.OF.cursor(e+n.length),changes:i}}{let t=et(l,e,s);return{range:o.OF.cursor(a+t.length+1),changes:{from:s.from,insert:t+e.lineBreak}}}}if("Blockquote"==c.node.name&&u&&s.from){let n=r.lineAt(s.from-1),o=/>\s*$/.exec(n.text);if(o&&o.index==c.from){let r=e.changes([{from:n.from+o.index,to:n.to},{from:s.from+c.from,to:s.to}]);return{range:t.map(r),changes:r}}}let d=[];"OrderedList"==c.node.name&&Ge(c.item,r,d);let f=c.item&&c.item.from<s.from,h="";if(!f||/^[\s\d.)\-+*>]*/.exec(s.text)[0].length>=c.to)for(let e=0,t=l.length-1;e<=t;e++)h+=e!=t||f?l[e].blank(e<t?(0,o.y$)(s.text,4,l[e+1].from)-h.length:null):l[e].marker(r,1);let p=a;for(;p>s.from&&/\s/.test(s.text.charAt(p-s.from-1));)p--;return h=Ke(h,e),function(e,t){if("OrderedList"!=e.name&&"BulletList"!=e.name)return!1;let n=e.firstChild,r=e.getChild("ListItem","ListItem");if(!r)return!1;let o=t.lineAt(n.to),i=t.lineAt(r.from),a=/^[\s>]*$/.test(o.text);return o.number+(a?0:1)<i.number}(c.node,e.doc)&&(h=et(l,e,s)+e.lineBreak+h),d.push({from:p,to:a,insert:e.lineBreak+h}),{range:o.OF.cursor(p+h.length+1),changes:d}}));return!i&&(t(e.update(s,{scrollIntoView:!0,userEvent:"input"})),!0)}},{key:"Backspace",run:({state:e,dispatch:t})=>{let n=(0,a.mv)(e),r=null,i=e.changeByRange((t=>{let i=t.from,{doc:a}=e;if(t.empty&&je.isActiveAt(e,t.from)){let t=a.lineAt(i),r=Ze(function(e,t){let n=e.resolveInner(t,-1),r=t;Je(n)&&(r=n.from,n=n.parent);for(let e;e=n.childBefore(r);)if(Je(e))r=e.from;else{if("OrderedList"!=e.name&&"BulletList"!=e.name)break;n=e.lastChild,r=n.to}return n}(n,i),a);if(r.length){let n=r[r.length-1],a=n.to-n.spaceAfter.length+(n.spaceAfter?1:0);if(i-t.from>a&&!/\S/.test(t.text.slice(a,i-t.from)))return{range:o.OF.cursor(t.from+a),changes:{from:t.from+a,to:i}};if(i-t.from==a&&(!n.item||t.from<=n.item.from||!/\S/.test(t.text.slice(0,n.to)))){let r=t.from+n.from;if(n.item&&n.node.from<n.item.from&&/\S/.test(t.text.slice(n.from,n.to))){let i=n.blank((0,o.y$)(t.text,4,n.to)-(0,o.y$)(t.text,4,n.from));return r==t.from&&(i=Ke(i,e)),{range:o.OF.cursor(r+i.length),changes:{from:r,to:t.from+n.to,insert:i}}}if(r<i)return{range:o.OF.cursor(r),changes:{from:r,to:i}}}}}return r={range:t}}));return!r&&(t(e.update(i,{scrollIntoView:!0,userEvent:"delete"})),!0)}}],nt=(0,Ie.qy)({matchClosingTags:!1});function rt(e={}){let{codeLanguages:t,defaultCodeLanguage:n,addKeymap:s=!0,base:{parser:c}=Xe,completeHTMLTags:u=!0,htmlTagLanguage:d=nt}=e;if(!(c instanceof U))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");let f,h=e.extensions?[e.extensions]:[],p=[d.support];n instanceof a.Yy?(p.push(n.support),f=n.language):n&&(f=n);let m=t||f?(g=t,A=f,e=>{if(e&&g){let t=null;if(e=/\S*/.exec(e)[0],t="function"==typeof g?g(e):a.t$.matchLanguageName(g,e,!0),t instanceof a.t$)return t.support?t.support.language.parser:a.nq.getSkippingParser(t.load());if(t)return t.parser}return A?A.parser:null}):void 0;var g,A;h.push(function(e){let{codeParser:t,htmlParser:n}=e,o=(0,l.$g)(((e,o)=>{let i=e.type.id;if(!t||i!=r.CodeBlock&&i!=r.FencedCode){if(n&&(i==r.HTMLBlock||i==r.HTMLTag))return{parser:n,overlay:ge(e.node,e.from,e.to)}}else{let n="";if(i==r.FencedCode){let t=e.node.getChild(r.CodeInfo);t&&(n=o.read(t.from,t.to))}let a=t(n);if(a)return{parser:a,overlay:e=>e.type.id==r.CodeText}}return null}));return{wrap:o}}({codeParser:m,htmlParser:d.language.parser})),s&&p.push(o.Nb.high(i.w4.of(tt)));let v=We(c.configure(h));return u&&p.push(v.data.of({autocomplete:ot})),new a.Yy(v,p)}function ot(e){let{state:t,pos:n}=e,r=/<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(n-25,n));if(!r)return null;let o=(0,a.mv)(t).resolveInner(n,-1);for(;o&&!o.type.isTop;){if("CodeBlock"==o.name||"FencedCode"==o.name||"ProcessingInstructionBlock"==o.name||"CommentBlock"==o.name||"Link"==o.name||"Image"==o.name)return null;o=o.parent}return{from:n-r[0].length,to:n,options:at(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}let it=null;function at(){if(it)return it;let e=(0,Ie.$g)(new s._5(o.$t.create({extensions:nt}),0,!0));return it=e?e.options:[]}},47698:function(e,t,n){"use strict";n.r(t),n.d(t,{fastLerp:function(){return b},fastMapToColor:function(){return w},lerp:function(){return _},lift:function(){return y},liftColor:function(){return E},lum:function(){return B},mapToColor:function(){return x},modifyAlpha:function(){return k},modifyHSL:function(){return S},parse:function(){return A},random:function(){return Q},stringify:function(){return C},toHex:function(){return O}});var r=n(60501),o=n(98026),i={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(e){return(e=Math.round(e))<0?0:e>255?255:e}function s(e){return e<0?0:e>1?1:e}function l(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function c(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function u(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function d(e,t,n){return e+(t-e)*n}function f(e,t,n,r,o){return e[0]=t,e[1]=n,e[2]=r,e[3]=o,e}function h(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var p=new r.Ay(20),m=null;function g(e,t){m&&h(m,t),m=p.put(e,m||t.slice())}function A(e,t){if(e){t=t||[];var n=p.get(e);if(n)return h(t,n);var r=(e+="").replace(/ /g,"").toLowerCase();if(r in i)return h(t,i[r]),g(e,t),t;var o,a=r.length;if("#"===r.charAt(0))return 4===a||5===a?(o=parseInt(r.slice(1,4),16))>=0&&o<=4095?(f(t,(3840&o)>>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,5===a?parseInt(r.slice(4),16)/15:1),g(e,t),t):void f(t,0,0,0,1):7===a||9===a?(o=parseInt(r.slice(1,7),16))>=0&&o<=16777215?(f(t,(16711680&o)>>16,(65280&o)>>8,255&o,9===a?parseInt(r.slice(7),16)/255:1),g(e,t),t):void f(t,0,0,0,1):void 0;var s=r.indexOf("("),u=r.indexOf(")");if(-1!==s&&u+1===a){var d=r.substr(0,s),m=r.substr(s+1,u-(s+1)).split(","),A=1;switch(d){case"rgba":if(4!==m.length)return 3===m.length?f(t,+m[0],+m[1],+m[2],1):f(t,0,0,0,1);A=c(m.pop());case"rgb":return m.length>=3?(f(t,l(m[0]),l(m[1]),l(m[2]),3===m.length?A:c(m[3])),g(e,t),t):void f(t,0,0,0,1);case"hsla":return 4!==m.length?void f(t,0,0,0,1):(m[3]=c(m[3]),v(m,t),g(e,t),t);case"hsl":return 3!==m.length?void f(t,0,0,0,1):(v(m,t),g(e,t),t);default:return}}f(t,0,0,0,1)}}function v(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=c(e[1]),o=c(e[2]),i=o<=.5?o*(r+1):o+r-o*r,s=2*o-i;return f(t=t||[],a(255*u(s,i,n+1/3)),a(255*u(s,i,n)),a(255*u(s,i,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function y(e,t){var n=A(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return C(n,4===n.length?"rgba":"rgb")}}function O(e){var t=A(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function b(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var r=e*(t.length-1),o=Math.floor(r),i=Math.ceil(r),l=t[o],c=t[i],u=r-o;return n[0]=a(d(l[0],c[0],u)),n[1]=a(d(l[1],c[1],u)),n[2]=a(d(l[2],c[2],u)),n[3]=s(d(l[3],c[3],u)),n}}var w=b;function _(e,t,n){if(t&&t.length&&e>=0&&e<=1){var r=e*(t.length-1),o=Math.floor(r),i=Math.ceil(r),l=A(t[o]),c=A(t[i]),u=r-o,f=C([a(d(l[0],c[0],u)),a(d(l[1],c[1],u)),a(d(l[2],c[2],u)),s(d(l[3],c[3],u))],"rgba");return n?{color:f,leftIndex:o,rightIndex:i,value:r}:f}}var x=_;function S(e,t,n,r){var o,i=A(e);if(e)return i=function(e){if(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,a=Math.min(r,o,i),s=Math.max(r,o,i),l=s-a,c=(s+a)/2;if(0===l)t=0,n=0;else{n=c<.5?l/(s+a):l/(2-s-a);var u=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l,f=((s-i)/6+l/2)/l;r===s?t=f-d:o===s?t=1/3+u-f:i===s&&(t=2/3+d-u),t<0&&(t+=1),t>1&&(t-=1)}var h=[360*t,n,c];return null!=e[3]&&h.push(e[3]),h}}(i),null!=t&&(i[0]=(o=t,(o=Math.round(o))<0?0:o>360?360:o)),null!=n&&(i[1]=c(n)),null!=r&&(i[2]=c(r)),C(v(i),"rgba")}function k(e,t){var n=A(e);if(n&&null!=t)return n[3]=s(t),C(n,"rgba")}function C(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}function B(e,t){var n=A(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}function Q(){return C([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var T=new r.Ay(100);function E(e){if((0,o.isString)(e)){var t=T.get(e);return t||(t=y(e,-.1),T.put(e,t)),t}if((0,o.isGradientObject)(e)){var n=(0,o.extend)({},e);return n.colorStops=(0,o.map)(e.colorStops,(function(e){return{offset:e.offset,color:y(e.color,-.1)}})),n}return e}},47829:function(){!function(){"use strict";var e,t,n=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=function(e){return n=typeof(t=e),"string"===(null===t?"null":"object"===n&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===n&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":n);var t,n},o=function(e){return"function"==typeof e},i=function(e){return function(){return e}},a=i(!1),s=i(!0),l=tinymce.util.Tools.resolve("tinymce.util.Tools"),c=tinymce.util.Tools.resolve("tinymce.util.XHR"),u=function(e){return e.getParam("template_mdate_classes","mdate")},d=function(e){return e.getParam("template_replace_values")},f=function(e){return e.getParam("template_mdate_format",e.translate("%Y-%m-%d"))},h=function(e,t){if((e=""+e).length<t)for(var n=0;n<t-e.length;n++)e="0"+e;return e},p=function(e,t,n){void 0===n&&(n=new Date);var r="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),o="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),i="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),a="January February March April May June July August September October November December".split(" ");return(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+n.getFullYear())).replace("%y",""+n.getYear())).replace("%m",h(n.getMonth()+1,2))).replace("%d",h(n.getDate(),2))).replace("%H",""+h(n.getHours(),2))).replace("%M",""+h(n.getMinutes(),2))).replace("%S",""+h(n.getSeconds(),2))).replace("%I",""+((n.getHours()+11)%12+1))).replace("%p",n.getHours()<12?"AM":"PM")).replace("%B",""+e.translate(a[n.getMonth()]))).replace("%b",""+e.translate(i[n.getMonth()]))).replace("%A",""+e.translate(o[n.getDay()]))).replace("%a",""+e.translate(r[n.getDay()]))).replace("%%","%")},m=function(e,t){return l.each(t,(function(t,n){o(t)&&(t=t(n)),e=e.replace(new RegExp("\\{\\$"+n+"\\}","g"),t)})),e},g=function(e,t){var n=e.dom,r=d(e);l.each(n.select("*",t),(function(e){l.each(r,(function(t,r){n.hasClass(e,r)&&o(t)&&t(e)}))}))},A=function(e,t){return new RegExp("\\b"+t+"\\b","g").test(e.className)},v=function(e,t,n){var r=e.dom,o=e.selection.getContent();n=m(n,d(e));var i=r.create("div",null,n),a=r.select(".mceTmpl",i);a&&a.length>0&&(i=r.create("div",null)).appendChild(a[0].cloneNode(!0)),l.each(r.select("*",i),(function(t){A(t,function(e){return e.getParam("template_cdate_classes","cdate")}(e).replace(/\s+/g,"|"))&&(t.innerHTML=p(e,function(e){return e.getParam("template_cdate_format",e.translate("%Y-%m-%d"))}(e))),A(t,u(e).replace(/\s+/g,"|"))&&(t.innerHTML=p(e,f(e))),A(t,function(e){return e.getParam("template_selected_content_classes","selcontent")}(e).replace(/\s+/g,"|"))&&(t.innerHTML=o)})),g(e,i),e.execCommand("mceInsertContent",!1,i.innerHTML),e.addVisual()},y=function(){return O},O={fold:function(e,t){return e()},isSome:a,isNone:s,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:i(null),getOrUndefined:i(void 0),or:t,orThunk:e,map:y,each:function(){},bind:y,exists:a,forall:s,filter:function(){return y()},toArray:function(){return[]},toString:i("none()")},b=function(e){var t=i(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:s,isNone:a,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return b(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:O},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},w={some:b,none:y,from:function(e){return null==e?O:b(e)}},_=tinymce.util.Tools.resolve("tinymce.Env"),x=tinymce.util.Tools.resolve("tinymce.util.Promise"),S=Object.hasOwnProperty,k={'"':"&quot;","<":"&lt;",">":"&gt;","&":"&amp;","'":"&#039;"},C=function(e){return e.replace(/["'<>&]/g,(function(e){return(t=k,n=e,function(e,t){return S.call(e,t)}(t,n)?w.from(t[n]):w.none()).getOr(e);var t,n}))},B=function(e,t){var n=function(e,t){return function(e,t,n){for(var r=0,o=e.length;r<o;r++){var i=e[r];if(t(i,r))return w.some(i);if(n(i,r))break}return w.none()}(e,(function(e){return e.text===t}),a)},r=function(t){e.windowManager.alert("Could not load the specified template.",(function(){return t.focus("template")}))},o=function(e){return new x((function(t,n){e.value.url.fold((function(){return t(e.value.content.getOr(""))}),(function(e){return c.send({url:e,success:function(e){t(e)},error:function(e){n(e)}})}))}))},i=function(e,t){return function(i,a){if("template"===a.name){var s=i.getData().template;n(e,s).each((function(e){i.block("Loading..."),o(e).then((function(n){t(i,e,n)})).catch((function(){t(i,e,""),i.disable("save"),r(i)}))}))}}},s=function(t){return function(i){var a=i.getData();n(t,a.template).each((function(t){o(t).then((function(t){e.execCommand("mceInsertTemplate",!1,t),i.close()})).catch((function(){i.disable("save"),r(i)}))}))}};(function(){if(!t||0===t.length){var n=e.translate("No templates defined.");return e.notificationManager.open({text:n,type:"info"}),w.none()}return w.from(l.map(t,(function(e,t){var n=function(e){return void 0!==e.url};return{selected:0===t,text:e.title,value:{url:n(e)?w.from(e.url):w.none(),content:n(e)?w.none():w.from(e.content),description:e.description}}})))})().each((function(t){var n=function(e){return function(e){for(var t=e.length,n=new Array(t),r=0;r<t;r++){var o=e[r];n[r]={text:(i=o).text,value:i.text}}var i;return n}(e)}(t),a=function(e,n){return{title:"Insert Template",size:"large",body:{type:"panel",items:e},initialData:n,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:s(t),onChange:i(t,c)}},c=function(t,r,o){var i=function(e,t){if(-1===t.indexOf("<html>")){var n="",r=function(e){return e.getParam("content_style","","string")}(e),o=function(e){return e.getParam("content_css_cors",!1,"boolean")}(e)?' crossorigin="anonymous"':"";l.each(e.contentCSS,(function(t){n+='<link type="text/css" rel="stylesheet" href="'+e.documentBaseURI.toAbsolute(t)+'"'+o+">"})),r&&(n+='<style type="text/css">'+r+"</style>");var i=function(e){var t=e.getParam("body_class","","string");return-1===t.indexOf("=")?t:function(e){return e.getParam("body_class","","hash")[e.id]||""}(e)}(e),a=e.dom.encode,s='<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A" && !('+(_.mac?"e.metaKey":"e.ctrlKey && !e.altKey")+")) {e.preventDefault();}}}, false);<\/script> ",c=e.getBody().dir,u=c?' dir="'+a(c)+'"':"";t='<!DOCTYPE html><html><head><base href="'+a(e.documentBaseURI.getURI())+'">'+n+s+'</head><body class="'+a(i)+'"'+u+">"+t+"</body></html>"}return m(t,function(e){return e.getParam("template_preview_replace_values")}(e))}(e,o),s=[{type:"selectbox",name:"template",label:"Templates",items:n},{type:"htmlpanel",html:'<p aria-live="polite">'+C(r.value.description)+"</p>"},{label:"Preview",type:"iframe",name:"preview",sandboxed:!1}],c={template:r.text,preview:i};t.unblock(),t.redial(a(s,c)),t.focus("template")},u=e.windowManager.open(a([],{template:"",preview:""}));u.block("Loading..."),o(t[0]).then((function(e){c(u,t[0],e)})).catch((function(){c(u,t[0],""),u.disable("save"),r(u)}))}))};n.add("template",(function(e){!function(e){var t=function(){return e.execCommand("mceTemplate")};e.ui.registry.addButton("template",{icon:"template",tooltip:"Insert template",onAction:t}),e.ui.registry.addMenuItem("template",{icon:"template",text:"Insert template...",onAction:t})}(e),function(e){e.addCommand("mceInsertTemplate",function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=t.concat(n);return e.apply(null,o)}}(v,e)),e.addCommand("mceTemplate",function(e,t){return function(){var n=function(e){return e.getParam("templates")}(e);o(n)?n(t):r(n)?c.send({url:n,success:function(e){t(JSON.parse(e))}}):t(n)}}(e,function(e){return function(t){B(e,t)}}(e)))}(e),function(e){e.on("PreProcess",(function(t){var n=e.dom,r=f(e);l.each(n.select("div",t.node),(function(t){n.hasClass(t,"mceTmpl")&&(l.each(n.select("*",t),(function(t){n.hasClass(t,u(e).replace(/\s+/g,"|"))&&(t.innerHTML=p(e,r))})),g(e,t))}))}))}(e)}))}()},47998:function(e,t,n){var r=n(73971),o=n(78259),i=n(90662),a=n(24993),s=n(96430);function l(e){try{var t="__xe_t";return e.setItem(t,1),e.removeItem(t),!0}catch(e){return!1}}function c(e){return navigator.userAgent.indexOf(e)>-1}e.exports=function(){var e,t,n,u=!1,d=!1,f=!1,h={isNode:!1,isMobile:u,isPC:!1,isDoc:!!o};if(i||typeof process===r){n=c("Edge"),t=c("Chrome"),u=/(Android|webOS|iPhone|iPad|iPod|SymbianOS|BlackBerry|Windows Phone)/.test(navigator.userAgent),h.isDoc&&(e=o.body||o.documentElement,s(["webkit","khtml","moz","ms","o"],(function(t){h["-"+t]=!!e[t+"MatchesSelector"]})));try{d=l(i.localStorage)}catch(e){}try{f=l(i.sessionStorage)}catch(e){}a(h,{edge:n,firefox:c("Firefox"),msie:!n&&h["-ms"],safari:!t&&!n&&c("Safari"),isMobile:u,isPC:!u,isLocalStorage:d,isSessionStorage:f})}else h.isNode=!0;return h}},48007:function(e){e.exports=function(e){return e.getTime()}},48170:function(e,t,n){"use strict";n.d(t,{$r:function(){return x},Bq:function(){return E},D$:function(){return P},D6:function(){return w},GX:function(){return b},HB:function(){return C},Il:function(){return z},JO:function(){return T},JS:function(){return d},M5:function(){return u},O0:function(){return v},O2:function(){return p},S_:function(){return O},Sq:function(){return M},US:function(){return B},UW:function(){return Q},XJ:function(){return $},_e:function(){return k},le:function(){return _},oh:function(){return y},qB:function(){return c},vS:function(){return A},vj:function(){return f},zu:function(){return h}});var r=n(98026),o=n(38123),i=n(24326);function a(e,t,n){return(t-e)*n+e}var s="series\0",l="\0_ec_\0";function c(e){return e instanceof Array?e:null==e?[]:[e]}function u(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var r=0,o=n.length;r<o;r++){var i=n[r];!e.emphasis[t].hasOwnProperty(i)&&e[t].hasOwnProperty(i)&&(e.emphasis[t][i]=e[t][i])}}}var d=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function f(e){return!(0,r.isObject)(e)||(0,r.isArray)(e)||e instanceof Date?e:e.value}function h(e){return(0,r.isObject)(e)&&!(e instanceof Array)}function p(e,t,n){var o="normalMerge"===n,i="replaceMerge"===n,a="replaceAll"===n;e=e||[],t=(t||[]).slice();var l=(0,r.createHashMap)();(0,r.each)(t,(function(e,n){(0,r.isObject)(e)||(t[n]=null)}));var c,u,d=function(e,t,n){var r=[];if("replaceAll"===n)return r;for(var o=0;o<e.length;o++){var i=e[o];i&&null!=i.id&&t.set(i.id,o),r.push({existing:"replaceMerge"===n||y(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return r}(e,l,n);return(o||i)&&function(e,t,n,o){(0,r.each)(o,(function(i,a){if(i&&null!=i.id){var s=g(i.id),l=n.get(s);if(null!=l){var c=e[l];(0,r.assert)(!c.newOption,'Duplicated option on id "'+s+'".'),c.newOption=i,c.existing=t[l],o[a]=null}}}))}(d,e,l,t),o&&function(e,t){(0,r.each)(t,(function(n,r){if(n&&null!=n.name)for(var o=0;o<e.length;o++){var i=e[o].existing;if(!e[o].newOption&&i&&(null==i.id||null==n.id)&&!y(n)&&!y(i)&&m("name",i,n))return e[o].newOption=n,void(t[r]=null)}}))}(d,t),o||i?function(e,t,n){(0,r.each)(t,(function(t){if(t){for(var r,o=0;(r=e[o])&&(r.newOption||y(r.existing)||r.existing&&null!=t.id&&!m("id",t,r.existing));)o++;r?(r.newOption=t,r.brandNew=n):e.push({newOption:t,brandNew:n,existing:null,keyInfo:null}),o++}}))}(d,t,i):a&&function(e,t){(0,r.each)(t,(function(t){e.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})}))}(d,t),c=d,u=(0,r.createHashMap)(),(0,r.each)(c,(function(e){var t=e.existing;t&&u.set(t.id,e)})),(0,r.each)(c,(function(e){var t=e.newOption;(0,r.assert)(!t||null==t.id||!u.get(t.id)||u.get(t.id)===e,"id duplicates: "+(t&&t.id)),t&&null!=t.id&&u.set(t.id,e),!e.keyInfo&&(e.keyInfo={})})),(0,r.each)(c,(function(e,t){var n=e.existing,o=e.newOption,i=e.keyInfo;if((0,r.isObject)(o)){if(i.name=null!=o.name?g(o.name):n?n.name:s+t,n)i.id=g(n.id);else if(null!=o.id)i.id=g(o.id);else{var a=0;do{i.id="\0"+i.name+"\0"+a++}while(u.get(i.id))}u.set(i.id,e)}})),d}function m(e,t,n){var r=A(t[e],null),o=A(n[e],null);return null!=r&&null!=o&&r===o}function g(e){return A(e,"")}function A(e,t){return null==e?t:(0,r.isString)(e)?e:(0,r.isNumber)(e)||(0,r.isStringSafe)(e)?e+"":t}function v(e){var t=e.name;return!(!t||!t.indexOf(s))}function y(e){return e&&null!=e.id&&0===g(e.id).indexOf(l)}function O(e){return l+e}function b(e,t,n){(0,r.each)(e,(function(e){var o=e.newOption;(0,r.isObject)(o)&&(e.keyInfo.mainType=t,e.keyInfo.subType=function(e,t,n,r){return t.type?t.type:n?n.subType:r.determineSubType(e,t)}(t,o,e.existing,n))}))}function w(e,t){var n={},r={};return o(e||[],n),o(t||[],r,n),[i(n),i(r)];function o(e,t,n){for(var r=0,o=e.length;r<o;r++){var i=A(e[r].seriesId,null);if(null==i)return;for(var a=c(e[r].dataIndex),s=n&&n[i],l=0,u=a.length;l<u;l++){var d=a[l];s&&s[d]?s[d]=null:(t[i]||(t[i]={}))[d]=1}}}function i(e,t){var n=[];for(var r in e)if(e.hasOwnProperty(r)&&null!=e[r])if(t)n.push(+r);else{var o=i(e[r],!0);o.length&&n.push({seriesId:r,dataIndex:o})}return n}}function _(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?(0,r.isArray)(t.dataIndex)?(0,r.map)(t.dataIndex,(function(t){return e.indexOfRawIndex(t)})):e.indexOfRawIndex(t.dataIndex):null!=t.name?(0,r.isArray)(t.name)?(0,r.map)(t.name,(function(t){return e.indexOfName(t)})):e.indexOfName(t.name):void 0}function x(){var e="__ec_inner_"+S++;return function(t){return t[e]||(t[e]={})}}var S=(0,i.IH)();function k(e,t,n){var r=C(t,n),o=r.mainTypeSpecified,i=r.queryOptionMap,a=r.others,s=n?n.defaultMainType:null;return!o&&s&&i.set(s,{}),i.each((function(t,r){var o=T(e,r,t,{useDefault:s===r,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[r+"Models"]=o.models,a[r+"Model"]=o.models[0]})),a}function C(e,t){var n;if((0,r.isString)(e)){var o={};o[e+"Index"]=0,n=o}else n=e;var i=(0,r.createHashMap)(),a={},s=!1;return(0,r.each)(n,(function(e,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var o=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=o[1],c=(o[2]||"").toLowerCase();!l||!c||t&&t.includeMainTypes&&(0,r.indexOf)(t.includeMainTypes,l)<0||(s=s||!!l,(i.get(l)||i.set(l,{}))[c]=e)}else a[n]=e})),{mainTypeSpecified:s,queryOptionMap:i,others:a}}var B={useDefault:!0,enableAll:!1,enableNone:!1},Q={useDefault:!1,enableAll:!0,enableNone:!0};function T(e,t,n,o){o=o||B;var i=n.index,a=n.id,s=n.name,l={models:null,specified:null!=i||null!=a||null!=s};if(!l.specified){var c=void 0;return l.models=o.useDefault&&(c=e.getComponent(t))?[c]:[],l}return"none"===i||!1===i?((0,r.assert)(o.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[],l):("all"===i&&((0,r.assert)(o.enableAll,'`"all"` is not a valid value on index option.'),i=a=s=null),l.models=e.queryComponents({mainType:t,index:i,id:a,name:s}),l)}function E(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function P(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function $(e){return"auto"===e?o.A.domSupported?"html":"richText":e||"html"}function M(e,t){var n=(0,r.createHashMap)(),o=[];return(0,r.each)(e,(function(e){var r=t(e);(n.get(r)||(o.push(r),n.set(r,[]))).push(e)})),{keys:o,buckets:n}}function z(e,t,n,o,s){var l=null==t||"auto"===t;if(null==o)return o;if((0,r.isNumber)(o)){var c=a(n||0,o,s);return(0,i.LI)(c,l?Math.max((0,i.XV)(n||0),(0,i.XV)(o)):t)}if((0,r.isString)(o))return s<1?n:o;for(var u=[],d=n,f=o,h=Math.max(d?d.length:0,f.length),p=0;p<h;++p){var m=e.getDimensionInfo(p);if(m&&"ordinal"===m.type)u[p]=(s<1&&d?d:f)[p];else{var g=d&&d[p]?d[p]:0,A=f[p];c=a(g,A,s),u[p]=(0,i.LI)(c,l?Math.max((0,i.XV)(g),(0,i.XV)(A)):t)}}return u}},48432:function(e,t,n){"use strict";var r=n(91072),o=n(55638),i=n(61431);const a={UNEXPECTED_RETURN_TYPE:r.CORE_ERROR_CODES_EXTEND_POINT,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function s(e,...t){return r.createCompileError(e,null,void 0)}const l=o.makeSymbol("__translateVNode"),c=o.makeSymbol("__datetimeParts"),u=o.makeSymbol("__numberParts"),d=o.makeSymbol("__setPluralRules");o.makeSymbol("__intlifyMeta");const f=o.makeSymbol("__injectWithOption"),h=o.makeSymbol("__dispose");function p(e){if(!o.isObject(e))return e;for(const t in e)if(o.hasOwn(e,t))if(t.includes(".")){const n=t.split("."),r=n.length-1;let i=e,a=!1;for(let e=0;e<r;e++){if("__proto__"===n[e])throw new Error(`unsafe key: ${n[e]}`);if(n[e]in i||(i[n[e]]=o.create()),!o.isObject(i[n[e]])){a=!0;break}i=i[n[e]]}a||(i[n[r]]=e[t],delete e[t]),o.isObject(i[n[r]])&&p(i[n[r]])}else o.isObject(e[t])&&p(e[t]);return e}function m(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,s=o.isPlainObject(n)?n:o.isArray(r)?o.create():{[e]:o.create()};if(o.isArray(r)&&r.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(s[t]=s[t]||o.create(),o.deepCopy(n,s[t])):o.deepCopy(n,s)}else o.isString(e)&&o.deepCopy(JSON.parse(e),s)})),null==i&&a)for(const e in s)o.hasOwn(s,e)&&p(s[e]);return s}function g(e,t,n){let r=o.isObject(t.messages)?t.messages:o.create();"__i18nGlobal"in n&&(r=m(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);if(i.length&&i.forEach((t=>{e.mergeLocaleMessage(t,r[t])})),o.isObject(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if(o.isObject(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}function A(e){return i.createVNode(i.Text,null,e,0)}const v=()=>[],y=()=>!1;let O=0;function b(e){return(t,n,r,o)=>e(n,r,i.getCurrentInstance()||void 0,o)}function w(e={}){const{__root:t,__injectWithOption:n}=e,h=void 0===t,g=e.flatJson,w=o.inBrowser?i.ref:i.shallowRef;let _=!o.isBoolean(e.inheritLocale)||e.inheritLocale;const x=w(t&&_?t.locale.value:o.isString(e.locale)?e.locale:r.DEFAULT_LOCALE),S=w(t&&_?t.fallbackLocale.value:o.isString(e.fallbackLocale)||o.isArray(e.fallbackLocale)||o.isPlainObject(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:x.value),k=w(m(x.value,e)),C=w(o.isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[x.value]:{}}),B=w(o.isPlainObject(e.numberFormats)?e.numberFormats:{[x.value]:{}});let Q=t?t.missingWarn:!o.isBoolean(e.missingWarn)&&!o.isRegExp(e.missingWarn)||e.missingWarn,T=t?t.fallbackWarn:!o.isBoolean(e.fallbackWarn)&&!o.isRegExp(e.fallbackWarn)||e.fallbackWarn,E=t?t.fallbackRoot:!o.isBoolean(e.fallbackRoot)||e.fallbackRoot,P=!!e.fallbackFormat,$=o.isFunction(e.missing)?e.missing:null,M=o.isFunction(e.missing)?b(e.missing):null,z=o.isFunction(e.postTranslation)?e.postTranslation:null,R=t?t.warnHtmlMessage:!o.isBoolean(e.warnHtmlMessage)||e.warnHtmlMessage,D=!!e.escapeParameter;const I=t?t.modifiers:o.isPlainObject(e.modifiers)?e.modifiers:{};let N,L=e.pluralRules||t&&t.pluralRules;N=(()=>{h&&r.setFallbackContext(null);const t={version:"10.0.6",locale:x.value,fallbackLocale:S.value,messages:k.value,modifiers:I,pluralRules:L,missing:null===M?void 0:M,missingWarn:Q,fallbackWarn:T,fallbackFormat:P,unresolving:!0,postTranslation:null===z?void 0:z,warnHtmlMessage:R,escapeParameter:D,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=C.value,t.numberFormats=B.value,t.__datetimeFormatters=o.isPlainObject(N)?N.__datetimeFormatters:void 0,t.__numberFormatters=o.isPlainObject(N)?N.__numberFormatters:void 0;const n=r.createCoreContext(t);return h&&r.setFallbackContext(n),n})(),r.updateFallbackLocale(N,x.value,S.value);const V=i.computed({get:()=>x.value,set:e=>{x.value=e,N.locale=x.value}}),U=i.computed({get:()=>S.value,set:e=>{S.value=e,N.fallbackLocale=S.value,r.updateFallbackLocale(N,x.value,e)}}),F=i.computed((()=>k.value)),H=i.computed((()=>C.value)),W=i.computed((()=>B.value)),X=(e,n,i,l,c,u)=>{let d;x.value,S.value,k.value,C.value,B.value;try{h||(N.fallbackContext=t?r.getFallbackContext():void 0),d=e(N)}finally{h||(N.fallbackContext=void 0)}if("translate exists"!==i&&o.isNumber(d)&&d===r.NOT_REOSLVED||"translate exists"===i&&!d){const[e,r]=n();return t&&E?l(t):c(e)}if(u(d))return d;throw s(a.UNEXPECTED_RETURN_TYPE)};function j(...e){return X((t=>Reflect.apply(r.translate,null,[t,...e])),(()=>r.parseTranslateArgs(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>o.isString(e)))}const q={normalize:function(e){return e.map((e=>o.isString(e)||o.isNumber(e)||o.isBoolean(e)?A(String(e)):e))},interpolate:e=>e,type:"vnode"};function Z(e){return k.value[e]||{}}O++,t&&o.inBrowser&&(i.watch(t.locale,(e=>{_&&(x.value=e,N.locale=e,r.updateFallbackLocale(N,x.value,S.value))})),i.watch(t.fallbackLocale,(e=>{_&&(S.value=e,N.fallbackLocale=e,r.updateFallbackLocale(N,x.value,S.value))})));const Y={id:O,locale:V,fallbackLocale:U,get inheritLocale(){return _},set inheritLocale(e){_=e,e&&t&&(x.value=t.locale.value,S.value=t.fallbackLocale.value,r.updateFallbackLocale(N,x.value,S.value))},get availableLocales(){return Object.keys(k.value).sort()},messages:F,get modifiers(){return I},get pluralRules(){return L||{}},get isGlobal(){return h},get missingWarn(){return Q},set missingWarn(e){Q=e,N.missingWarn=Q},get fallbackWarn(){return T},set fallbackWarn(e){T=e,N.fallbackWarn=T},get fallbackRoot(){return E},set fallbackRoot(e){E=e},get fallbackFormat(){return P},set fallbackFormat(e){P=e,N.fallbackFormat=P},get warnHtmlMessage(){return R},set warnHtmlMessage(e){R=e,N.warnHtmlMessage=e},get escapeParameter(){return D},set escapeParameter(e){D=e,N.escapeParameter=e},t:j,getLocaleMessage:Z,setLocaleMessage:function(e,t){if(g){const n={[e]:t};for(const e in n)o.hasOwn(n,e)&&p(n[e]);t=n[e]}k.value[e]=t,N.messages=k.value},mergeLocaleMessage:function(e,t){k.value[e]=k.value[e]||{};const n={[e]:t};if(g)for(const e in n)o.hasOwn(n,e)&&p(n[e]);t=n[e],o.deepCopy(t,k.value[e]),N.messages=k.value},getPostTranslationHandler:function(){return o.isFunction(z)?z:null},setPostTranslationHandler:function(e){z=e,N.postTranslation=e},getMissingHandler:function(){return $},setMissingHandler:function(e){null!==e&&(M=b(e)),$=e,N.missing=M},[d]:function(e){L=e,N.pluralRules=L}};return Y.datetimeFormats=H,Y.numberFormats=W,Y.rt=function(...e){const[t,n,r]=e;if(r&&!o.isObject(r))throw s(a.INVALID_ARGUMENT);return j(t,n,o.assign({resolvedMessage:!0},r||{}))},Y.te=function(e,t){return X((()=>{if(!e)return!1;const n=Z(o.isString(t)?t:x.value),i=N.messageResolver(n,e);return r.isMessageAST(i)||r.isMessageFunction(i)||o.isString(i)}),(()=>[e]),"translate exists",(n=>Reflect.apply(n.te,n,[e,t])),y,(e=>o.isBoolean(e)))},Y.tm=function(e){const n=function(e){let t=null;const n=r.fallbackWithLocaleChain(N,S.value,x.value);for(let r=0;r<n.length;r++){const o=k.value[n[r]]||{},i=N.messageResolver(o,e);if(null!=i){t=i;break}}return t}(e);return null!=n?n:t&&t.tm(e)||{}},Y.d=function(...e){return X((t=>Reflect.apply(r.datetime,null,[t,...e])),(()=>r.parseDateTimeArgs(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>r.MISSING_RESOLVE_VALUE),(e=>o.isString(e)))},Y.n=function(...e){return X((t=>Reflect.apply(r.number,null,[t,...e])),(()=>r.parseNumberArgs(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>r.MISSING_RESOLVE_VALUE),(e=>o.isString(e)))},Y.getDateTimeFormat=function(e){return C.value[e]||{}},Y.setDateTimeFormat=function(e,t){C.value[e]=t,N.datetimeFormats=C.value,r.clearDateTimeFormat(N,e,t)},Y.mergeDateTimeFormat=function(e,t){C.value[e]=o.assign(C.value[e]||{},t),N.datetimeFormats=C.value,r.clearDateTimeFormat(N,e,t)},Y.getNumberFormat=function(e){return B.value[e]||{}},Y.setNumberFormat=function(e,t){B.value[e]=t,N.numberFormats=B.value,r.clearNumberFormat(N,e,t)},Y.mergeNumberFormat=function(e,t){B.value[e]=o.assign(B.value[e]||{},t),N.numberFormats=B.value,r.clearNumberFormat(N,e,t)},Y[f]=n,Y[l]=function(...e){return X((t=>{let n;const o=t;try{o.processor=q,n=Reflect.apply(r.translate,null,[o,...e])}finally{o.processor=null}return n}),(()=>r.parseTranslateArgs(...e)),"translate",(t=>t[l](...e)),(e=>[A(e)]),(e=>o.isArray(e)))},Y[c]=function(...e){return X((t=>Reflect.apply(r.datetime,null,[t,...e])),(()=>r.parseDateTimeArgs(...e)),"datetime format",(t=>t[c](...e)),v,(e=>o.isString(e)||o.isArray(e)))},Y[u]=function(...e){return X((t=>Reflect.apply(r.number,null,[t,...e])),(()=>r.parseNumberArgs(...e)),"number format",(t=>t[u](...e)),v,(e=>o.isString(e)||o.isArray(e)))},Y}function _(e={}){const t=w(function(e){const t=o.isString(e.locale)?e.locale:r.DEFAULT_LOCALE,n=o.isString(e.fallbackLocale)||o.isArray(e.fallbackLocale)||o.isPlainObject(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,i=o.isFunction(e.missing)?e.missing:void 0,a=!o.isBoolean(e.silentTranslationWarn)&&!o.isRegExp(e.silentTranslationWarn)||!e.silentTranslationWarn,s=!o.isBoolean(e.silentFallbackWarn)&&!o.isRegExp(e.silentFallbackWarn)||!e.silentFallbackWarn,l=!o.isBoolean(e.fallbackRoot)||e.fallbackRoot,c=!!e.formatFallbackMessages,u=o.isPlainObject(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,f=o.isFunction(e.postTranslation)?e.postTranslation:void 0,h=!o.isString(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,p=!!e.escapeParameterHtml,m=!o.isBoolean(e.sync)||e.sync;let g=e.messages;if(o.isPlainObject(e.sharedMessages)){const t=e.sharedMessages;g=Object.keys(t).reduce(((e,n)=>{const r=e[n]||(e[n]={});return o.assign(r,t[n]),e}),g||{})}const{__i18n:A,__root:v,__injectWithOption:y}=e,O=e.datetimeFormats,b=e.numberFormats;return{locale:t,fallbackLocale:n,messages:g,flatJson:e.flatJson,datetimeFormats:O,numberFormats:b,missing:i,missingWarn:a,fallbackWarn:s,fallbackRoot:l,fallbackFormat:c,modifiers:u,pluralRules:d,postTranslation:f,warnHtmlMessage:h,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:m,__i18n:A,__root:v,__injectWithOption:y}}(e)),{__extender:n}=e,i={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return o.isBoolean(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=o.isBoolean(e)?!e:e},get silentFallbackWarn(){return o.isBoolean(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=o.isBoolean(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){return Reflect.apply(t.t,t,[...e])},rt(...e){return Reflect.apply(t.rt,t,[...e])},tc(...e){const[n,r,i]=e,l={plural:1};let c=null,u=null;if(!o.isString(n))throw s(a.INVALID_ARGUMENT);const d=n;return o.isString(r)?l.locale=r:o.isNumber(r)?l.plural=r:o.isArray(r)?c=r:o.isPlainObject(r)&&(u=r),o.isString(i)?l.locale=i:o.isArray(i)?c=i:o.isPlainObject(i)&&(u=i),Reflect.apply(t.t,t,[d,c||u||{},l])},te(e,n){return t.te(e,n)},tm(e){return t.tm(e)},getLocaleMessage(e){return t.getLocaleMessage(e)},setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d(...e){return Reflect.apply(t.d,t,[...e])},getDateTimeFormat(e){return t.getDateTimeFormat(e)},setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n(...e){return Reflect.apply(t.n,t,[...e])},getNumberFormat(e){return t.getNumberFormat(e)},setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)}};return i.__extender=n,i}function x(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[d](t.pluralizationRules||e.pluralizationRules);const n=m(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}const S={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function k(){return i.Fragment}const C=i.defineComponent({name:"i18n-t",props:o.assign({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>o.isNumber(e)||!isNaN(e)}},S),setup(e,t){const{slots:n,attrs:r}=t,a=e.i18n||M({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter((e=>"_"!==e)),c=o.create();e.locale&&(c.locale=e.locale),void 0!==e.plural&&(c.plural=o.isString(e.plural)?+e.plural:e.plural);const u=function({slots:e},t){return 1===t.length&&"default"===t[0]?(e.default?e.default():[]).reduce(((e,t)=>[...e,...t.type===i.Fragment?t.children:[t]]),[]):t.reduce(((t,n)=>{const r=e[n];return r&&(t[n]=r()),t}),o.create())}(t,s),d=a[l](e.keypath,u,c),f=o.assign(o.create(),r),h=o.isString(e.tag)||o.isObject(e.tag)?e.tag:k();return i.h(h,f,d)}}});function B(e,t,n,r){const{slots:a,attrs:s}=t;return()=>{const t={part:!0};let l=o.create();e.locale&&(t.locale=e.locale),o.isString(e.format)?t.key=e.format:o.isObject(e.format)&&(o.isString(e.format.key)&&(t.key=e.format.key),l=Object.keys(e.format).reduce(((t,r)=>n.includes(r)?o.assign(o.create(),t,{[r]:e.format[r]}):t),o.create()));const c=r(e.value,t,l);let u=[t.key];o.isArray(c)?u=c.map(((e,t)=>{const n=a[e.type],r=n?n({[e.type]:e.value,index:t,parts:c}):[e.value];var i;return i=r,o.isArray(i)&&!o.isString(i[0])&&(r[0].key=`${e.type}-${t}`),r})):o.isString(c)&&(u=[c]);const d=o.assign(o.create(),s),f=o.isString(e.tag)||o.isObject(e.tag)?e.tag:k();return i.h(f,d,u)}}const Q=i.defineComponent({name:"i18n-n",props:o.assign({value:{type:Number,required:!0},format:{type:[String,Object]}},S),setup(e,t){const n=e.i18n||M({useScope:e.scope,__useComponent:!0});return B(e,t,r.NUMBER_FORMAT_OPTIONS_KEYS,((...e)=>n[u](...e)))}}),T=i.defineComponent({name:"i18n-d",props:o.assign({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},S),setup(e,t){const n=e.i18n||M({useScope:e.scope,__useComponent:!0});return B(e,t,r.DATETIME_FORMAT_OPTIONS_KEYS,((...e)=>n[c](...e)))}});function E(e){if(o.isString(e))return{path:e};if(o.isPlainObject(e)){if(!("path"in e))throw s(a.REQUIRED_VALUE);return e}throw s(a.INVALID_VALUE)}function P(e){const{path:t,locale:n,args:r,choice:i,plural:a}=e,s={},l=r||{};return o.isString(n)&&(s.locale=n),o.isNumber(i)&&(s.plural=i),o.isNumber(a)&&(s.plural=a),[t,l,s]}const $=o.makeSymbol("global-vue-i18n");function M(e={}){const t=i.getCurrentInstance();if(null==t)throw s(a.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw s(a.NOT_INSTALLED);const n=function(e){const t=i.inject(e.isCE?$:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw s(e.isCE?a.NOT_INSTALLED_WITH_PROVIDE:a.UNEXPECTED_ERROR);return t}(t),r=function(e){return"composition"===e.mode?e.global:e.global.__composer}(n),l=function(e){return e.type}(t),c=function(e,t){return o.isEmptyObject(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,l);if("global"===c)return g(r,e,l),r;if("parent"===c){let o=function(e,t,n=!1){let r=null;const o=t.root;let i=function(e,t=!1){return null==e?null:t&&e.vnode.ctx||e.parent}(t,n);for(;null!=i;){const t=e;if("composition"===e.mode)r=t.__getInstance(i);else{const e=t.__getInstance(i);null!=e&&(r=e.__composer,n&&r&&!r[f]&&(r=null))}if(null!=r)break;if(o===i)break;i=i.parent}return r}(n,t,e.__useComponent);return null==o&&(o=r),o}const u=n;let d=u.__getInstance(t);if(null==d){const n=o.assign({},e);"__i18n"in l&&(n.__i18n=l.__i18n),r&&(n.__root=r),d=w(n),u.__composerExtend&&(d[h]=u.__composerExtend(d)),function(e,t,n){i.onMounted((()=>{}),t),i.onUnmounted((()=>{const r=n;e.__deleteInstance(t);const o=r[h];o&&(o(),delete r[h])}),t)}(u,t,d),u.__setInstance(t,d)}return d}const z=["locale","fallbackLocale","availableLocales"],R=["t","rt","d","n","tm","te"];r.registerMessageCompiler(r.compile),r.registerMessageResolver(r.resolveValue),r.registerLocaleFallbacker(r.fallbackWithLocaleChain),t.hU=function(e={},t){const n=!o.isBoolean(e.legacy)||e.legacy,r=!o.isBoolean(e.globalInjection)||e.globalInjection,l=new Map,[c,u]=function(e,t){const n=i.effectScope(),r=t?n.run((()=>_(e))):n.run((()=>w(e)));if(null==r)throw s(a.UNEXPECTED_ERROR);return[n,r]}(e,n),d=o.makeSymbol(""),f={get mode(){return n?"legacy":"composition"},async install(e,...t){if(e.__VUE_I18N_SYMBOL__=d,e.provide(e.__VUE_I18N_SYMBOL__,f),o.isPlainObject(t[0])){const e=t[0];f.__composerExtend=e.__composerExtend,f.__vueI18nExtend=e.__vueI18nExtend}let l=null;!n&&r&&(l=function(e,t){const n=Object.create(null);z.forEach((e=>{const r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw s(a.UNEXPECTED_ERROR);const o=i.isRef(r.value)?{get(){return r.value.value},set(e){r.value.value=e}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,e,o)})),e.config.globalProperties.$i18n=n,R.forEach((n=>{const r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw s(a.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}));return()=>{delete e.config.globalProperties.$i18n,R.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))}}(e,f.global)),function(e,t,...n){const r=o.isPlainObject(n[0])?n[0]:{};(!o.isBoolean(r.globalInstall)||r.globalInstall)&&([C.name,"I18nT"].forEach((t=>e.component(t,C))),[Q.name,"I18nN"].forEach((t=>e.component(t,Q))),[T.name,"I18nD"].forEach((t=>e.component(t,T)))),e.directive("t",function(e){const t=t=>{const{instance:n,value:r}=t;if(!n||!n.$)throw s(a.UNEXPECTED_ERROR);const o=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return null!=r?r.__composer:e.global.__composer}}(e,n.$),i=E(r);return[Reflect.apply(o.t,o,[...P(i)]),o]};return{created:(n,r)=>{const[a,s]=t(r);o.inBrowser&&e.global===s&&(n.__i18nWatcher=i.watch(s.locale,(()=>{r.instance&&r.instance.$forceUpdate()}))),n.__composer=s,n.textContent=a},unmounted:e=>{o.inBrowser&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const n=e.__composer,r=E(t);e.textContent=Reflect.apply(n.t,n,[...P(r)])}},getSSRProps:e=>{const[n]=t(e);return{textContent:n}}}}(t))}(e,f,...t),n&&e.mixin(function(e,t,n){return{beforeCreate(){const r=i.getCurrentInstance();if(!r)throw s(a.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const r=o.i18n;if(o.__i18n&&(r.__i18n=o.__i18n),r.__root=t,this===this.$root)this.$i18n=x(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=_(r);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=x(e,o);else{this.$i18n=_({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&g(t,o,o),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const e=i.getCurrentInstance();if(!e)throw s(a.UNEXPECTED_ERROR);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}(u,u.__composer,f));const c=e.unmount;e.unmount=()=>{l&&l(),f.dispose(),c()}},get global(){return u},dispose(){c.stop()},__instances:l,__getInstance:function(e){return l.get(e)||null},__setInstance:function(e,t){l.set(e,t)},__deleteInstance:function(e){l.delete(e)}};return f},t.s9=M},48548:function(e,t,n){"use strict";n.r(t),n.d(t,{AddLocation:function(){return i},Aim:function(){return s},AlarmClock:function(){return c},Apple:function(){return d},ArrowDown:function(){return m},ArrowDownBold:function(){return h},ArrowLeft:function(){return y},ArrowLeftBold:function(){return A},ArrowRight:function(){return _},ArrowRightBold:function(){return b},ArrowUp:function(){return C},ArrowUpBold:function(){return S},Avatar:function(){return Q},Back:function(){return E},Baseball:function(){return $},Basketball:function(){return z},Bell:function(){return N},BellFilled:function(){return D},Bicycle:function(){return V},Bottom:function(){return j},BottomLeft:function(){return F},BottomRight:function(){return W},Bowl:function(){return Z},Box:function(){return G},Briefcase:function(){return J},Brush:function(){return re},BrushFilled:function(){return te},Burger:function(){return ie},Calendar:function(){return se},Camera:function(){return de},CameraFilled:function(){return ce},CaretBottom:function(){return he},CaretLeft:function(){return me},CaretRight:function(){return Ae},CaretTop:function(){return ye},Cellphone:function(){return be},ChatDotRound:function(){return _e},ChatDotSquare:function(){return Se},ChatLineRound:function(){return Ce},ChatLineSquare:function(){return Qe},ChatRound:function(){return Ee},ChatSquare:function(){return $e},Check:function(){return ze},Checked:function(){return De},Cherry:function(){return Ne},Chicken:function(){return Ve},ChromeFilled:function(){return Fe},CircleCheck:function(){return je},CircleCheckFilled:function(){return We},CircleClose:function(){return Ge},CircleCloseFilled:function(){return Ze},CirclePlus:function(){return tt},CirclePlusFilled:function(){return Je},Clock:function(){return rt},Close:function(){return st},CloseBold:function(){return it},Cloudy:function(){return ct},Coffee:function(){return ht},CoffeeCup:function(){return dt},Coin:function(){return mt},ColdDrink:function(){return At},Collection:function(){return bt},CollectionTag:function(){return yt},Comment:function(){return _t},Compass:function(){return St},Connection:function(){return Ct},Coordinate:function(){return Qt},CopyDocument:function(){return Et},Cpu:function(){return $t},CreditCard:function(){return zt},Crop:function(){return Dt},DArrowLeft:function(){return Nt},DArrowRight:function(){return Vt},DCaret:function(){return Ft},DataAnalysis:function(){return Wt},DataBoard:function(){return jt},DataLine:function(){return Zt},Delete:function(){return tn},DeleteFilled:function(){return Gt},DeleteLocation:function(){return Jt},Dessert:function(){return rn},Discount:function(){return an},Dish:function(){return un},DishDot:function(){return ln},Document:function(){return wn},DocumentAdd:function(){return fn},DocumentChecked:function(){return pn},DocumentCopy:function(){return gn},DocumentDelete:function(){return vn},DocumentRemove:function(){return On},Download:function(){return xn},Drizzling:function(){return kn},Edit:function(){return Tn},EditPen:function(){return Bn},Eleme:function(){return Mn},ElemeFilled:function(){return Pn},ElementPlus:function(){return Rn},Expand:function(){return In},Failed:function(){return Ln},Female:function(){return Un},Files:function(){return Hn},Film:function(){return Xn},Filter:function(){return qn},Finished:function(){return Yn},FirstAidKit:function(){return Kn},Flag:function(){return er},Fold:function(){return nr},Folder:function(){return pr},FolderAdd:function(){return or},FolderChecked:function(){return ar},FolderDelete:function(){return lr},FolderOpened:function(){return ur},FolderRemove:function(){return fr},Food:function(){return gr},Football:function(){return vr},ForkSpoon:function(){return Or},Fries:function(){return wr},FullScreen:function(){return xr},Goblet:function(){return Pr},GobletFull:function(){return kr},GobletSquare:function(){return Tr},GobletSquareFull:function(){return Br},GoldMedal:function(){return Mr},Goods:function(){return Ir},GoodsFilled:function(){return Rr},Grape:function(){return Lr},Grid:function(){return Ur},Guide:function(){return Hr},Handbag:function(){return Xr},Headset:function(){return qr},Help:function(){return Kr},HelpFilled:function(){return Yr},Hide:function(){return eo},Histogram:function(){return no},HomeFilled:function(){return oo},HotWater:function(){return ao},House:function(){return lo},IceCream:function(){return mo},IceCreamRound:function(){return uo},IceCreamSquare:function(){return ho},IceDrink:function(){return Ao},IceTea:function(){return yo},InfoFilled:function(){return bo},Iphone:function(){return wo},Key:function(){return _o},KnifeFork:function(){return xo},Lightning:function(){return So},Link:function(){return ko},List:function(){return Co},Loading:function(){return Bo},Location:function(){return Eo},LocationFilled:function(){return Qo},LocationInformation:function(){return To},Lock:function(){return Po},Lollipop:function(){return $o},MagicStick:function(){return Mo},Magnet:function(){return zo},Male:function(){return Ro},Management:function(){return Do},MapLocation:function(){return Io},Medal:function(){return No},Memo:function(){return Lo},Menu:function(){return Vo},Message:function(){return Fo},MessageBox:function(){return Uo},Mic:function(){return Ho},Microphone:function(){return Wo},MilkTea:function(){return Xo},Minus:function(){return jo},Money:function(){return qo},Monitor:function(){return Zo},Moon:function(){return Go},MoonNight:function(){return Yo},More:function(){return Jo},MoreFilled:function(){return Ko},MostlyCloudy:function(){return ei},Mouse:function(){return ti},Mug:function(){return ni},Mute:function(){return oi},MuteNotification:function(){return ri},NoSmoking:function(){return ii},Notebook:function(){return ai},Notification:function(){return si},Odometer:function(){return li},OfficeBuilding:function(){return ci},Open:function(){return ui},Operation:function(){return di},Opportunity:function(){return fi},Orange:function(){return hi},Paperclip:function(){return pi},PartlyCloudy:function(){return mi},Pear:function(){return gi},Phone:function(){return vi},PhoneFilled:function(){return Ai},Picture:function(){return bi},PictureFilled:function(){return yi},PictureRounded:function(){return Oi},PieChart:function(){return wi},Place:function(){return _i},Platform:function(){return xi},Plus:function(){return Si},Pointer:function(){return ki},Position:function(){return Ci},Postcard:function(){return Bi},Pouring:function(){return Qi},Present:function(){return Ti},PriceTag:function(){return Ei},Printer:function(){return Pi},Promotion:function(){return $i},QuartzWatch:function(){return Mi},QuestionFilled:function(){return zi},Rank:function(){return Ri},Reading:function(){return Ii},ReadingLamp:function(){return Di},Refresh:function(){return Vi},RefreshLeft:function(){return Ni},RefreshRight:function(){return Li},Refrigerator:function(){return Ui},Remove:function(){return Hi},RemoveFilled:function(){return Fi},Right:function(){return Wi},ScaleToOriginal:function(){return Xi},School:function(){return ji},Scissor:function(){return qi},Search:function(){return Zi},Select:function(){return Yi},Sell:function(){return Gi},SemiSelect:function(){return Ki},Service:function(){return Ji},SetUp:function(){return ea},Setting:function(){return ta},Share:function(){return na},Ship:function(){return ra},Shop:function(){return oa},ShoppingBag:function(){return ia},ShoppingCart:function(){return sa},ShoppingCartFull:function(){return aa},ShoppingTrolley:function(){return la},Smoking:function(){return ca},Soccer:function(){return ua},SoldOut:function(){return da},Sort:function(){return pa},SortDown:function(){return fa},SortUp:function(){return ha},Stamp:function(){return ma},Star:function(){return Aa},StarFilled:function(){return ga},Stopwatch:function(){return va},SuccessFilled:function(){return ya},Sugar:function(){return Oa},Suitcase:function(){return wa},SuitcaseLine:function(){return ba},Sunny:function(){return _a},Sunrise:function(){return xa},Sunset:function(){return Sa},Switch:function(){return Ba},SwitchButton:function(){return ka},SwitchFilled:function(){return Ca},TakeawayBox:function(){return Qa},Ticket:function(){return Ta},Tickets:function(){return Ea},Timer:function(){return Pa},ToiletPaper:function(){return $a},Tools:function(){return Ma},Top:function(){return Da},TopLeft:function(){return za},TopRight:function(){return Ra},TrendCharts:function(){return Ia},Trophy:function(){return La},TrophyBase:function(){return Na},TurnOff:function(){return Va},Umbrella:function(){return Ua},Unlock:function(){return Fa},Upload:function(){return Wa},UploadFilled:function(){return Ha},User:function(){return ja},UserFilled:function(){return Xa},Van:function(){return qa},VideoCamera:function(){return Ya},VideoCameraFilled:function(){return Za},VideoPause:function(){return Ga},VideoPlay:function(){return Ka},View:function(){return Ja},Wallet:function(){return ts},WalletFilled:function(){return es},WarnTriangleFilled:function(){return ns},Warning:function(){return os},WarningFilled:function(){return rs},Watch:function(){return is},Watermelon:function(){return as},WindPower:function(){return ss},ZoomIn:function(){return ls},ZoomOut:function(){return cs}});var r=n(61431),o=(0,r.defineComponent)({name:"AddLocation",__name:"add-location",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"})]))}}),i=o,a=(0,r.defineComponent)({name:"Aim",__name:"aim",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32"})]))}}),s=a,l=(0,r.defineComponent)({name:"AlarmClock",__name:"alarm-clock",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z"})]))}}),c=l,u=(0,r.defineComponent)({name:"Apple",__name:"apple",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M599.872 203.776a189.44 189.44 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a426.624 426.624 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664zm-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688 63.552 0 81.28 34.688 136.96 33.536 56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152z"})]))}}),d=u,f=(0,r.defineComponent)({name:"ArrowDownBold",__name:"arrow-down-bold",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496z"})]))}}),h=f,p=(0,r.defineComponent)({name:"ArrowDown",__name:"arrow-down",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),m=p,g=(0,r.defineComponent)({name:"ArrowLeftBold",__name:"arrow-left-bold",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0z"})]))}}),A=g,v=(0,r.defineComponent)({name:"ArrowLeft",__name:"arrow-left",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),y=v,O=(0,r.defineComponent)({name:"ArrowRightBold",__name:"arrow-right-bold",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0z"})]))}}),b=O,w=(0,r.defineComponent)({name:"ArrowRight",__name:"arrow-right",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),_=w,x=(0,r.defineComponent)({name:"ArrowUpBold",__name:"arrow-up-bold",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496z"})]))}}),S=x,k=(0,r.defineComponent)({name:"ArrowUp",__name:"arrow-up",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),C=k,B=(0,r.defineComponent)({name:"Avatar",__name:"avatar",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0"})]))}}),Q=B,T=(0,r.defineComponent)({name:"Back",__name:"back",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),E=T,P=(0,r.defineComponent)({name:"Baseball",__name:"baseball",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6zm45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896zM108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1736.64 1736.64 0 0 1-11.392-65.728z"})]))}}),$=P,M=(0,r.defineComponent)({name:"Basketball",__name:"basketball",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M778.752 788.224a382.464 382.464 0 0 0 116.032-245.632 256.512 256.512 0 0 0-241.728-13.952 762.88 762.88 0 0 1 125.696 259.584zm-55.04 44.224a699.648 699.648 0 0 0-125.056-269.632 256.128 256.128 0 0 0-56.064 331.968 382.72 382.72 0 0 0 181.12-62.336m-254.08 61.248A320.128 320.128 0 0 1 557.76 513.6a715.84 715.84 0 0 0-48.192-48.128 320.128 320.128 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.128 256.128 0 0 0 331.072-56.448 699.648 699.648 0 0 0-268.8-124.352 382.656 382.656 0 0 0-62.272 180.8m106.56-235.84a762.88 762.88 0 0 1 258.688 125.056 256.512 256.512 0 0 0-13.44-241.088A382.464 382.464 0 0 0 235.84 245.248zm318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a779.84 779.84 0 0 1 66.176 66.112 320.832 320.832 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6"})]))}}),z=M,R=(0,r.defineComponent)({name:"BellFilled",__name:"bell-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.128 320.128 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"})]))}}),D=R,I=(0,r.defineComponent)({name:"Bell",__name:"bell",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}}),N=I,L=(0,r.defineComponent)({name:"Bicycle",__name:"bicycle",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}}),V=L,U=(0,r.defineComponent)({name:"BottomLeft",__name:"bottom-left",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312l-544 544z"})]))}}),F=U,H=(0,r.defineComponent)({name:"BottomRight",__name:"bottom-right",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z"})]))}}),W=H,X=(0,r.defineComponent)({name:"Bottom",__name:"bottom",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}}),j=X,q=(0,r.defineComponent)({name:"Bowl",__name:"bowl",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M714.432 704a351.744 351.744 0 0 0 148.16-256H161.408a351.744 351.744 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z"})]))}}),Z=q,Y=(0,r.defineComponent)({name:"Box",__name:"box",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"})]))}}),G=Y,K=(0,r.defineComponent)({name:"Briefcase",__name:"briefcase",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}}),J=K,ee=(0,r.defineComponent)({name:"BrushFilled",__name:"brush-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z"})]))}}),te=ee,ne=(0,r.defineComponent)({name:"Brush",__name:"brush",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a663.872 663.872 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384h61.248zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168z"})]))}}),re=ne,oe=(0,r.defineComponent)({name:"Burger",__name:"burger",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z"})]))}}),ie=oe,ae=(0,r.defineComponent)({name:"Calendar",__name:"calendar",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),se=ae,le=(0,r.defineComponent)({name:"CameraFilled",__name:"camera-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),ce=le,ue=(0,r.defineComponent)({name:"Camera",__name:"camera",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"})]))}}),de=ue,fe=(0,r.defineComponent)({name:"CaretBottom",__name:"caret-bottom",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}}),he=fe,pe=(0,r.defineComponent)({name:"CaretLeft",__name:"caret-left",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}}),me=pe,ge=(0,r.defineComponent)({name:"CaretRight",__name:"caret-right",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),Ae=ge,ve=(0,r.defineComponent)({name:"CaretTop",__name:"caret-top",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),ye=ve,Oe=(0,r.defineComponent)({name:"Cellphone",__name:"cellphone",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),be=Oe,we=(0,r.defineComponent)({name:"ChatDotRound",__name:"chat-dot-round",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),_e=we,xe=(0,r.defineComponent)({name:"ChatDotSquare",__name:"chat-dot-square",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4z"})]))}}),Se=xe,ke=(0,r.defineComponent)({name:"ChatLineRound",__name:"chat-line-round",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),Ce=ke,Be=(0,r.defineComponent)({name:"ChatLineSquare",__name:"chat-line-square",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),Qe=Be,Te=(0,r.defineComponent)({name:"ChatRound",__name:"chat-round",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z"})]))}}),Ee=Te,Pe=(0,r.defineComponent)({name:"ChatSquare",__name:"chat-square",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"})]))}}),$e=Pe,Me=(0,r.defineComponent)({name:"Check",__name:"check",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),ze=Me,Re=(0,r.defineComponent)({name:"Checked",__name:"checked",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"})]))}}),De=Re,Ie=(0,r.defineComponent)({name:"Cherry",__name:"cherry",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6zM288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320"})]))}}),Ne=Ie,Le=(0,r.defineComponent)({name:"Chicken",__name:"chicken",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M349.952 716.992 478.72 588.16a106.688 106.688 0 0 1-26.176-19.072 106.688 106.688 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112zm57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52-3.52 56.32z"})]))}}),Ve=Le,Ue=(0,r.defineComponent)({name:"ChromeFilled",__name:"chrome-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.372 212.372 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M576.79 401.63a127.92 127.92 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128.005 128.005 0 0 0-2.16 127.44l1.24 2.13a127.906 127.906 0 0 0 46.36 46.61 127.907 127.907 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.984 127.984 0 0 0 .29-127.46 127.957 127.957 0 0 0-46.36-46.91"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M394.45 333.96A213.336 213.336 0 0 1 512 298.67h369.58A426.503 426.503 0 0 0 512 85.34a425.598 425.598 0 0 0-171.74 35.98 425.644 425.644 0 0 0-142.62 102.22l118.14 204.63a213.397 213.397 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.284 213.284 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.315 213.315 0 0 1-122.77-21.91z"})]))}}),Fe=Ue,He=(0,r.defineComponent)({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),We=He,Xe=(0,r.defineComponent)({name:"CircleCheck",__name:"circle-check",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),je=Xe,qe=(0,r.defineComponent)({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),Ze=qe,Ye=(0,r.defineComponent)({name:"CircleClose",__name:"circle-close",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),Ge=Ye,Ke=(0,r.defineComponent)({name:"CirclePlusFilled",__name:"circle-plus-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0v147.2z"})]))}}),Je=Ke,et=(0,r.defineComponent)({name:"CirclePlus",__name:"circle-plus",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),tt=et,nt=(0,r.defineComponent)({name:"Clock",__name:"clock",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),rt=nt,ot=(0,r.defineComponent)({name:"CloseBold",__name:"close-bold",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496z"})]))}}),it=ot,at=(0,r.defineComponent)({name:"Close",__name:"close",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),st=at,lt=(0,r.defineComponent)({name:"Cloudy",__name:"cloudy",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"})]))}}),ct=lt,ut=(0,r.defineComponent)({name:"CoffeeCup",__name:"coffee-cup",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M768 192a192 192 0 1 1-8 383.808A256.128 256.128 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z"})]))}}),dt=ut,ft=(0,r.defineComponent)({name:"Coffee",__name:"coffee",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64h493.184m-548.16 128H820.48l-10.688-64H214.208l-10.688 64h6.784m68.736 64 36.544 512H708.16l36.544-512z"})]))}}),ht=ft,pt=(0,r.defineComponent)({name:"Coin",__name:"coin",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160"})]))}}),mt=pt,gt=(0,r.defineComponent)({name:"ColdDrink",__name:"cold-drink",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.064 192.064 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z"})]))}}),At=gt,vt=(0,r.defineComponent)({name:"CollectionTag",__name:"collection-tag",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32"})]))}}),yt=vt,Ot=(0,r.defineComponent)({name:"Collection",__name:"collection",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"})]))}}),bt=Ot,wt=(0,r.defineComponent)({name:"Comment",__name:"comment",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z"})]))}}),_t=wt,xt=(0,r.defineComponent)({name:"Compass",__name:"compass",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832"})]))}}),St=xt,kt=(0,r.defineComponent)({name:"Connection",__name:"connection",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.064 192.064 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z"})]))}}),Ct=kt,Bt=(0,r.defineComponent)({name:"Coordinate",__name:"coordinate",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),Qt=Bt,Tt=(0,r.defineComponent)({name:"CopyDocument",__name:"copy-document",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}}),Et=Tt,Pt=(0,r.defineComponent)({name:"Cpu",__name:"cpu",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32"})]))}}),$t=Pt,Mt=(0,r.defineComponent)({name:"CreditCard",__name:"credit-card",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.352 52.352 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.352 52.352 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.352 52.352 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.352 52.352 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448-20.864 11.136-41.6 17.088-98.56 17.088H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.288 116.288 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448 20.864-11.136 41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384 11.136 20.864 17.088 41.6 17.088 98.56z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}}),zt=Mt,Rt=(0,r.defineComponent)({name:"Crop",__name:"crop",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}}),Dt=Rt,It=(0,r.defineComponent)({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),Nt=It,Lt=(0,r.defineComponent)({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),Vt=Lt,Ut=(0,r.defineComponent)({name:"DCaret",__name:"d-caret",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),Ft=Ut,Ht=(0,r.defineComponent)({name:"DataAnalysis",__name:"data-analysis",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"})]))}}),Wt=Ht,Xt=(0,r.defineComponent)({name:"DataBoard",__name:"data-board",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}}),jt=Xt,qt=(0,r.defineComponent)({name:"DataLine",__name:"data-line",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z"})]))}}),Zt=qt,Yt=(0,r.defineComponent)({name:"DeleteFilled",__name:"delete-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}}),Gt=Yt,Kt=(0,r.defineComponent)({name:"DeleteLocation",__name:"delete-location",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),Jt=Kt,en=(0,r.defineComponent)({name:"Delete",__name:"delete",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),tn=en,nn=(0,r.defineComponent)({name:"Dessert",__name:"dessert",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.808 143.808 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.808 143.808 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0h140.48m339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64"})]))}}),rn=nn,on=(0,r.defineComponent)({name:"Discount",__name:"discount",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),an=on,sn=(0,r.defineComponent)({name:"DishDot",__name:"dish-dot",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.192 448.192 0 0 1 955.392 768H68.544A448.192 448.192 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z"})]))}}),ln=sn,cn=(0,r.defineComponent)({name:"Dish",__name:"dish",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64"})]))}}),un=cn,dn=(0,r.defineComponent)({name:"DocumentAdd",__name:"document-add",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"})]))}}),fn=dn,hn=(0,r.defineComponent)({name:"DocumentChecked",__name:"document-checked",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"})]))}}),pn=hn,mn=(0,r.defineComponent)({name:"DocumentCopy",__name:"document-copy",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),gn=mn,An=(0,r.defineComponent)({name:"DocumentDelete",__name:"document-delete",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248 90.496-90.496z"})]))}}),vn=An,yn=(0,r.defineComponent)({name:"DocumentRemove",__name:"document-remove",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z"})]))}}),On=yn,bn=(0,r.defineComponent)({name:"Document",__name:"document",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),wn=bn,_n=(0,r.defineComponent)({name:"Download",__name:"download",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),xn=_n,Sn=(0,r.defineComponent)({name:"Drizzling",__name:"drizzling",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z"})]))}}),kn=Sn,Cn=(0,r.defineComponent)({name:"EditPen",__name:"edit-pen",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112-56.64 98.112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64h-448z"})]))}}),Bn=Cn,Qn=(0,r.defineComponent)({name:"Edit",__name:"edit",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),Tn=Qn,En=(0,r.defineComponent)({name:"ElemeFilled",__name:"eleme-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.688 330.688 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.552 47.552 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.304 234.304 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.552 47.552 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z"})]))}}),Pn=En,$n=(0,r.defineComponent)({name:"Eleme",__name:"eleme",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24zm526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.232 63.232 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8l71.04-46.08z"})]))}}),Mn=$n,zn=(0,r.defineComponent)({name:"ElementPlus",__name:"element-plus",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6c12.8-5.1 25.6-5.1 38.4 0 0 0 279 161.3 309.8 179.2 17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4l220.1-128zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64l-2.5-38.4z"})]))}}),Rn=zn,Dn=(0,r.defineComponent)({name:"Expand",__name:"expand",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}}),In=Dn,Nn=(0,r.defineComponent)({name:"Failed",__name:"failed",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z"})]))}}),Ln=Nn,Vn=(0,r.defineComponent)({name:"Female",__name:"female",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),Un=Vn,Fn=(0,r.defineComponent)({name:"Files",__name:"files",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z"})]))}}),Hn=Fn,Wn=(0,r.defineComponent)({name:"Film",__name:"film",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}}),Xn=Wn,jn=(0,r.defineComponent)({name:"Filter",__name:"filter",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z"})]))}}),qn=jn,Zn=(0,r.defineComponent)({name:"Finished",__name:"finished",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2l203.968 152.96zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z"})]))}}),Yn=Zn,Gn=(0,r.defineComponent)({name:"FirstAidKit",__name:"first-aid-kit",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"})]))}}),Kn=Gn,Jn=(0,r.defineComponent)({name:"Flag",__name:"flag",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}}),er=Jn,tr=(0,r.defineComponent)({name:"Fold",__name:"fold",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}}),nr=tr,rr=(0,r.defineComponent)({name:"FolderAdd",__name:"folder-add",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z"})]))}}),or=rr,ir=(0,r.defineComponent)({name:"FolderChecked",__name:"folder-checked",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z"})]))}}),ar=ir,sr=(0,r.defineComponent)({name:"FolderDelete",__name:"folder-delete",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z"})]))}}),lr=sr,cr=(0,r.defineComponent)({name:"FolderOpened",__name:"folder-opened",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896"})]))}}),ur=cr,dr=(0,r.defineComponent)({name:"FolderRemove",__name:"folder-remove",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z"})]))}}),fr=dr,hr=(0,r.defineComponent)({name:"Folder",__name:"folder",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}}),pr=hr,mr=(0,r.defineComponent)({name:"Food",__name:"food",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288"})]))}}),gr=mr,Ar=(0,r.defineComponent)({name:"Football",__name:"football",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a385.984 385.984 0 0 1-80.448-91.648zm653.696-5.312a385.92 385.92 0 0 1-83.776 96.96l-32.512-56.384a322.923 322.923 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184zM465.984 445.248l11.136-63.104a323.584 323.584 0 0 0 69.76 0l11.136 63.104a387.968 387.968 0 0 1-92.032 0m-62.72-12.8A381.824 381.824 0 0 1 320 396.544l32-55.424a319.885 319.885 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.824 381.824 0 0 1-83.328 35.84l-11.2-63.552A319.885 319.885 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.92 385.92 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072zm657.536.128a1442.759 1442.759 0 0 1-49.024 43.072 321.408 321.408 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408zM465.92 578.752a387.968 387.968 0 0 1 92.032 0l-11.136 63.104a323.584 323.584 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a319.885 319.885 0 0 0-62.464 27.712L320 627.392a381.824 381.824 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.272 318.272 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z"})]))}}),vr=Ar,yr=(0,r.defineComponent)({name:"ForkSpoon",__name:"fork-spoon",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56zM672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192"})]))}}),Or=yr,br=(0,r.defineComponent)({name:"Fries",__name:"fries",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.744 95.744 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128.128 128.128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132.405 132.405 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z"})]))}}),wr=br,_r=(0,r.defineComponent)({name:"FullScreen",__name:"full-screen",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),xr=_r,Sr=(0,r.defineComponent)({name:"GobletFull",__name:"goblet-full",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0zM544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4"})]))}}),kr=Sr,Cr=(0,r.defineComponent)({name:"GobletSquareFull",__name:"goblet-square-full",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256v142.912zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952.32 952.32 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z"})]))}}),Br=Cr,Qr=(0,r.defineComponent)({name:"GobletSquare",__name:"goblet-square",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z"})]))}}),Tr=Qr,Er=(0,r.defineComponent)({name:"Goblet",__name:"goblet",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320"})]))}}),Pr=Er,$r=(0,r.defineComponent)({name:"GoldMedal",__name:"gold-medal",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16zM640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128h.01zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a359.844 359.844 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}}),Mr=$r,zr=(0,r.defineComponent)({name:"GoodsFilled",__name:"goods-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0"})]))}}),Rr=zr,Dr=(0,r.defineComponent)({name:"Goods",__name:"goods",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z"})]))}}),Ir=Dr,Nr=(0,r.defineComponent)({name:"Grape",__name:"grape",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),Lr=Nr,Vr=(0,r.defineComponent)({name:"Grid",__name:"grid",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}}),Ur=Vr,Fr=(0,r.defineComponent)({name:"Guide",__name:"guide",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"m220.8 256-71.232 80 71.168 80H768V256H220.8zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2l71.168 80zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z"})]))}}),Hr=Fr,Wr=(0,r.defineComponent)({name:"Handbag",__name:"handbag",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z"})]))}}),Xr=Wr,jr=(0,r.defineComponent)({name:"Headset",__name:"headset",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0"})]))}}),qr=jr,Zr=(0,r.defineComponent)({name:"HelpFilled",__name:"help-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M926.784 480H701.312A192.512 192.512 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.512 192.512 0 0 0 701.312 544zM97.28 544h225.472A192.512 192.512 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.512 192.512 0 0 0 322.688 480H97.216z"})]))}}),Yr=Zr,Gr=(0,r.defineComponent)({name:"Help",__name:"help",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m759.936 805.248-90.944-91.008A254.912 254.912 0 0 1 512 768a254.912 254.912 0 0 1-156.992-53.76l-90.944 91.008A382.464 382.464 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.464 382.464 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512c0 59.136-20.096 113.6-53.76 156.992l91.008 90.944zm-45.312-541.184A382.464 382.464 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.912 254.912 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76l90.944-91.008zm-541.184 45.312A382.464 382.464 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.912 254.912 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.56 194.56 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.232 191.232 0 0 0-67.968-146.56A191.296 191.296 0 0 0 512 320a191.232 191.232 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.232 191.232 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),Kr=Gr,Jr=(0,r.defineComponent)({name:"Hide",__name:"hide",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),eo=Jr,to=(0,r.defineComponent)({name:"Histogram",__name:"histogram",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}}),no=to,ro=(0,r.defineComponent)({name:"HomeFilled",__name:"home-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}}),oo=ro,io=(0,r.defineComponent)({name:"HotWater",__name:"hot-water",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2H273.067zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134zM512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133zM375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267z"})]))}}),ao=io,so=(0,r.defineComponent)({name:"House",__name:"house",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"})]))}}),lo=so,co=(0,r.defineComponent)({name:"IceCreamRound",__name:"ice-cream-round",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0z"})]))}}),uo=co,fo=(0,r.defineComponent)({name:"IceCreamSquare",__name:"ice-cream-square",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z"})]))}}),ho=fo,po=(0,r.defineComponent)({name:"IceCream",__name:"ice-cream",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.128 208.128 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0zm351.36 0h286.272a144 144 0 0 0-286.272 0zm-294.848 64 271.808 396.608L778.24 512H249.408zM511.68 352.64a207.872 207.872 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56"})]))}}),mo=po,go=(0,r.defineComponent)({name:"IceDrink",__name:"ice-drink",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.128 256.128 0 0 0 512 192.64m-64 8.064A256.448 256.448 0 0 0 264.256 384H448zm64-72.064A320.128 320.128 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.384 320.384 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z"})]))}}),Ao=go,vo=(0,r.defineComponent)({name:"IceTea",__name:"ice-tea",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z"})]))}}),yo=vo,Oo=(0,r.defineComponent)({name:"InfoFilled",__name:"info-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),bo=Oo,wo=(0,r.defineComponent)({name:"Iphone",__name:"iphone",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0"})]))}}),_o=(0,r.defineComponent)({name:"Key",__name:"key",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"})]))}}),xo=(0,r.defineComponent)({name:"KnifeFork",__name:"knife-fork",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256 21.312 81.152 32 177.152 32 288z"})]))}}),So=(0,r.defineComponent)({name:"Lightning",__name:"lightning",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M288 671.36v64.128A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z"})]))}}),ko=(0,r.defineComponent)({name:"Link",__name:"link",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}}),Co=(0,r.defineComponent)({name:"List",__name:"list",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}}),Bo=(0,r.defineComponent)({name:"Loading",__name:"loading",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),Qo=(0,r.defineComponent)({name:"LocationFilled",__name:"location-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6"})]))}}),To=(0,r.defineComponent)({name:"LocationInformation",__name:"location-information",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),Eo=(0,r.defineComponent)({name:"Location",__name:"location",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),Po=(0,r.defineComponent)({name:"Lock",__name:"lock",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),$o=(0,r.defineComponent)({name:"Lollipop",__name:"lollipop",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744zm-54.464-36.032a321.92 321.92 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z"})]))}}),Mo=(0,r.defineComponent)({name:"MagicStick",__name:"magic-stick",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z"})]))}}),zo=(0,r.defineComponent)({name:"Magnet",__name:"magnet",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0"})]))}}),Ro=(0,r.defineComponent)({name:"Male",__name:"male",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}}),Do=(0,r.defineComponent)({name:"Management",__name:"management",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}}),Io=(0,r.defineComponent)({name:"MapLocation",__name:"map-location",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"})]))}}),No=(0,r.defineComponent)({name:"Medal",__name:"medal",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M576 128H448v200a286.72 286.72 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92V128zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96-56.896 0-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64"})]))}}),Lo=(0,r.defineComponent)({name:"Memo",__name:"memo",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"})]))}}),Vo=(0,r.defineComponent)({name:"Menu",__name:"menu",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"})]))}}),Uo=(0,r.defineComponent)({name:"MessageBox",__name:"message-box",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128z"})]))}}),Fo=(0,r.defineComponent)({name:"Message",__name:"message",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224H205.056"})]))}}),Ho=(0,r.defineComponent)({name:"Mic",__name:"mic",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z"})]))}}),Wo=(0,r.defineComponent)({name:"Microphone",__name:"microphone",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z"})]))}}),Xo=(0,r.defineComponent)({name:"MilkTea",__name:"milk-tea",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12"})]))}}),jo=(0,r.defineComponent)({name:"Minus",__name:"minus",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),qo=(0,r.defineComponent)({name:"Money",__name:"money",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.056 29.056 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),Zo=(0,r.defineComponent)({name:"Monitor",__name:"monitor",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}}),Yo=(0,r.defineComponent)({name:"MoonNight",__name:"moon-night",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.256 448.256 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"})]))}}),Go=(0,r.defineComponent)({name:"Moon",__name:"moon",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 390.592 390.592 0 0 0-17.408 16.384zm181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}}),Ko=(0,r.defineComponent)({name:"MoreFilled",__name:"more-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),Jo=(0,r.defineComponent)({name:"More",__name:"more",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),ei=(0,r.defineComponent)({name:"MostlyCloudy",__name:"mostly-cloudy",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.808 207.808 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.808 271.808 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"})]))}}),ti=(0,r.defineComponent)({name:"Mouse",__name:"mouse",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112-20.096 10.752-35.52 26.176-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76 10.752 20.096 26.176 35.52 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112 20.096-10.752 35.52-26.176 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.464 110.464 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.464 174.464 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.464 174.464 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.464 174.464 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z"})]))}}),ni=(0,r.defineComponent)({name:"Mug",__name:"mug",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z"})]))}}),ri=(0,r.defineComponent)({name:"MuteNotification",__name:"mute-notification",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.128 320.128 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.552 319.552 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}}),oi=(0,r.defineComponent)({name:"Mute",__name:"mute",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m412.16 592.128-45.44 45.44A191.232 191.232 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A222.976 222.976 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.976 286.976 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}}),ii=(0,r.defineComponent)({name:"NoSmoking",__name:"no-smoking",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),ai=(0,r.defineComponent)({name:"Notebook",__name:"notebook",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32"})]))}}),si=(0,r.defineComponent)({name:"Notification",__name:"notification",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"})]))}}),li=(0,r.defineComponent)({name:"Odometer",__name:"odometer",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928"})]))}}),ci=(0,r.defineComponent)({name:"OfficeBuilding",__name:"office-building",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"})]))}}),ui=(0,r.defineComponent)({name:"Open",__name:"open",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),di=(0,r.defineComponent)({name:"Operation",__name:"operation",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}}),fi=(0,r.defineComponent)({name:"Opportunity",__name:"opportunity",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.656 350.656 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.552 351.552 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}}),hi=(0,r.defineComponent)({name:"Orange",__name:"orange",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M544 894.72a382.336 382.336 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.336 382.336 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024l182.976 182.912zM894.656 480a382.336 382.336 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024h258.688zm-134.72-261.248A382.336 382.336 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.336 382.336 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.336 382.336 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.336 382.336 0 0 0 89.408 215.936l182.976-182.912A127.232 127.232 0 0 1 388.032 544zm134.72 261.248A382.336 382.336 0 0 0 480 894.656V635.968a127.232 127.232 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128"})]))}}),pi=(0,r.defineComponent)({name:"Paperclip",__name:"paperclip",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744l294.144-294.208z"})]))}}),mi=(0,r.defineComponent)({name:"PartlyCloudy",__name:"partly-cloudy",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6003.84 6003.84 0 0 0-49.28 41.408z"})]))}}),gi=(0,r.defineComponent)({name:"Pear",__name:"pear",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M542.336 258.816a443.255 443.255 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.688 162.688 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.688 162.688 0 0 0-130.112-133.12zm-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a316.608 316.608 0 0 0-9.792 15.104 226.688 226.688 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z"})]))}}),Ai=(0,r.defineComponent)({name:"PhoneFilled",__name:"phone-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048z"})]))}}),vi=(0,r.defineComponent)({name:"Phone",__name:"phone",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472L139.84 402.304zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384"})]))}}),yi=(0,r.defineComponent)({name:"PictureFilled",__name:"picture-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),Oi=(0,r.defineComponent)({name:"PictureRounded",__name:"picture-rounded",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64q-64 0-64-64t64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z"})]))}}),bi=(0,r.defineComponent)({name:"Picture",__name:"picture",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}}),wi=(0,r.defineComponent)({name:"PieChart",__name:"pie-chart",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.128 384.128 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.128 448.128 0 0 1 448 68.48z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28zM512 64V33.152A448 448 0 0 1 990.848 512H512z"})]))}}),_i=(0,r.defineComponent)({name:"Place",__name:"place",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912"})]))}}),xi=(0,r.defineComponent)({name:"Platform",__name:"platform",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}}),Si=(0,r.defineComponent)({name:"Plus",__name:"plus",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),ki=(0,r.defineComponent)({name:"Pointer",__name:"pointer",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.272 94.272 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.272 158.272 0 0 1 185.984 8.32z"})]))}}),Ci=(0,r.defineComponent)({name:"Position",__name:"position",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z"})]))}}),Bi=(0,r.defineComponent)({name:"Postcard",__name:"postcard",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),Qi=(0,r.defineComponent)({name:"Pouring",__name:"pouring",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32"})]))}}),Ti=(0,r.defineComponent)({name:"Present",__name:"present",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),Ei=(0,r.defineComponent)({name:"PriceTag",__name:"price-tag",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),Pi=(0,r.defineComponent)({name:"Printer",__name:"printer",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.296 23.296 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.296 23.296 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z"})]))}}),$i=(0,r.defineComponent)({name:"Promotion",__name:"promotion",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}}),Mi=(0,r.defineComponent)({name:"QuartzWatch",__name:"quartz-watch",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51-8.67.32-16.17 3.66-22.5 10.02-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5c3.01-11.65.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01-.32-8.67-3.66-16.16-10.02-22.5-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01 3.35 11.99 10.85 19.49 22.5 22.5zm242.94 0c11.67-3.03 19.01-10.37 22.02-22.02 3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5c-6.36 6.34-9.7 13.84-10.02 22.5-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01 0 9.35 3 17.02 8.99 23.01 6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01 0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02"})]))}}),zi=(0,r.defineComponent)({name:"QuestionFilled",__name:"question-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),Ri=(0,r.defineComponent)({name:"Rank",__name:"rank",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544H186.496z"})]))}}),Di=(0,r.defineComponent)({name:"ReadingLamp",__name:"reading-lamp",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}}),Ii=(0,r.defineComponent)({name:"Reading",__name:"reading",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}}),Ni=(0,r.defineComponent)({name:"RefreshLeft",__name:"refresh-left",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),Li=(0,r.defineComponent)({name:"RefreshRight",__name:"refresh-right",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}}),Vi=(0,r.defineComponent)({name:"Refresh",__name:"refresh",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),Ui=(0,r.defineComponent)({name:"Refrigerator",__name:"refrigerator",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z"})]))}}),Fi=(0,r.defineComponent)({name:"RemoveFilled",__name:"remove-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"})]))}}),Hi=(0,r.defineComponent)({name:"Remove",__name:"remove",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),Wi=(0,r.defineComponent)({name:"Right",__name:"right",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"})]))}}),Xi=(0,r.defineComponent)({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}}),ji=(0,r.defineComponent)({name:"School",__name:"school",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"})]))}}),qi=(0,r.defineComponent)({name:"Scissor",__name:"scissor",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248"})]))}}),Zi=(0,r.defineComponent)({name:"Search",__name:"search",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),Yi=(0,r.defineComponent)({name:"Select",__name:"select",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496z"})]))}}),Gi=(0,r.defineComponent)({name:"Sell",__name:"sell",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248z"})]))}}),Ki=(0,r.defineComponent)({name:"SemiSelect",__name:"semi-select",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}}),Ji=(0,r.defineComponent)({name:"Service",__name:"service",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.064 192.064 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193.235 193.235 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128"})]))}}),ea=(0,r.defineComponent)({name:"SetUp",__name:"set-up",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),ta=(0,r.defineComponent)({name:"Setting",__name:"setting",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"})]))}}),na=(0,r.defineComponent)({name:"Share",__name:"share",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m679.872 348.8-301.76 188.608a127.808 127.808 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"})]))}}),ra=(0,r.defineComponent)({name:"Ship",__name:"ship",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2H185.408"})]))}}),oa=(0,r.defineComponent)({name:"Shop",__name:"shop",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z"})]))}}),ia=(0,r.defineComponent)({name:"ShoppingBag",__name:"shopping-bag",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}}),aa=(0,r.defineComponent)({name:"ShoppingCartFull",__name:"shopping-cart-full",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M699.648 256 608 145.984 516.352 256h183.296zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648l179.2-215.04"})]))}}),sa=(0,r.defineComponent)({name:"ShoppingCart",__name:"shopping-cart",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"})]))}}),la=(0,r.defineComponent)({name:"ShoppingTrolley",__name:"shopping-trolley",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833"})]))}}),ca=(0,r.defineComponent)({name:"Smoking",__name:"smoking",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),ua=(0,r.defineComponent)({name:"Soccer",__name:"soccer",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.056 573.056 0 0 0 224.832-137.216 573.12 573.12 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.68 567.68 0 0 0 170.432 532.48l320.384 320.384zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944-199.936 199.936-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248l45.248 45.248z"})]))}}),da=(0,r.defineComponent)({name:"SoldOut",__name:"sold-out",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z"})]))}}),fa=(0,r.defineComponent)({name:"SortDown",__name:"sort-down",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),ha=(0,r.defineComponent)({name:"SortUp",__name:"sort-up",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),pa=(0,r.defineComponent)({name:"Sort",__name:"sort",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0V141.248z"})]))}}),ma=(0,r.defineComponent)({name:"Stamp",__name:"stamp",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"})]))}}),ga=(0,r.defineComponent)({name:"StarFilled",__name:"star-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}}),Aa=(0,r.defineComponent)({name:"Star",__name:"star",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),va=(0,r.defineComponent)({name:"Stopwatch",__name:"stopwatch",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z"})]))}}),ya=(0,r.defineComponent)({name:"SuccessFilled",__name:"success-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),Oa=(0,r.defineComponent)({name:"Sugar",__name:"sugar",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16l-109.248 19.2zm-548.8 198.72h447.168v2.24l60.8-60.8a63.808 63.808 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64.064 64.064 0 0 0-10.24 13.248zm0 64c2.752 4.736 6.144 9.152 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632l-137.6 24.256zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z"})]))}}),ba=(0,r.defineComponent)({name:"SuitcaseLine",__name:"suitcase-line",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5C77.16 253.82 64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z"})]))}}),wa=(0,r.defineComponent)({name:"Suitcase",__name:"suitcase",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64"})]))}}),_a=(0,r.defineComponent)({name:"Sunny",__name:"sunny",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0zm543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}}),xa=(0,r.defineComponent)({name:"Sunrise",__name:"sunrise",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0h-64.32zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0zm-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248"})]))}}),Sa=(0,r.defineComponent)({name:"Sunset",__name:"sunset",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),ka=(0,r.defineComponent)({name:"SwitchButton",__name:"switch-button",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}}),Ca=(0,r.defineComponent)({name:"SwitchFilled",__name:"switch-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.655 196.655 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.67 196.67 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42zm-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.695 131.695 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.655 196.655 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.69 196.69 0 0 0 139.08-57.61A196.655 196.655 0 0 0 896 699.31V325.29a196.69 196.69 0 0 0-57.61-139.08zm-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82z"})]))}}),Ba=(0,r.defineComponent)({name:"Switch",__name:"switch",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344zM64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}}),Qa=(0,r.defineComponent)({name:"TakeawayBox",__name:"takeaway-box",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64"})]))}}),Ta=(0,r.defineComponent)({name:"Ticket",__name:"ticket",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}}),Ea=(0,r.defineComponent)({name:"Tickets",__name:"tickets",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"})]))}}),Pa=(0,r.defineComponent)({name:"Timer",__name:"timer",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z"})]))}}),$a=(0,r.defineComponent)({name:"ToiletPaper",__name:"toilet-paper",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96"})]))}}),Ma=(0,r.defineComponent)({name:"Tools",__name:"tools",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M764.416 254.72a351.68 351.68 0 0 1 86.336 149.184H960v192.064H850.752a351.68 351.68 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 0 1-86.336-149.312H64v-192h109.248a351.68 351.68 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"})]))}}),za=(0,r.defineComponent)({name:"TopLeft",__name:"top-left",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312l-544-544z"})]))}}),Ra=(0,r.defineComponent)({name:"TopRight",__name:"top-right",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312l544-544z"})]))}}),Da=(0,r.defineComponent)({name:"Top",__name:"top",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}}),Ia=(0,r.defineComponent)({name:"TrendCharts",__name:"trend-charts",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624 139.84-156.608zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}}),Na=(0,r.defineComponent)({name:"TrophyBase",__name:"trophy-base",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4C752 67.2 745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6C259.2 80 256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 16-9.6 22.4 3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4zM256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6C342.4 480 320 438.4 320 384V128h384v256c0 54.4-19.2 99.2-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2zM768 896H256c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6"})]))}}),La=(0,r.defineComponent)({name:"Trophy",__name:"trophy",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 896V702.08A256.256 256.256 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.256 256.256 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z"})]))}}),Va=(0,r.defineComponent)({name:"TurnOff",__name:"turn-off",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),Ua=(0,r.defineComponent)({name:"Umbrella",__name:"umbrella",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z"})]))}}),Fa=(0,r.defineComponent)({name:"Unlock",__name:"unlock",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}}),Ha=(0,r.defineComponent)({name:"UploadFilled",__name:"upload-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.808 239.808 0 0 1 512 192a239.872 239.872 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}}),Wa=(0,r.defineComponent)({name:"Upload",__name:"upload",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),Xa=(0,r.defineComponent)({name:"UserFilled",__name:"user-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"})]))}}),ja=(0,r.defineComponent)({name:"User",__name:"user",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}}),qa=(0,r.defineComponent)({name:"Van",__name:"van",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96h151.872M688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160"})]))}}),Za=(0,r.defineComponent)({name:"VideoCameraFilled",__name:"video-camera-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0"})]))}}),Ya=(0,r.defineComponent)({name:"VideoCamera",__name:"video-camera",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"})]))}}),Ga=(0,r.defineComponent)({name:"VideoPause",__name:"video-pause",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32"})]))}}),Ka=(0,r.defineComponent)({name:"VideoPlay",__name:"video-play",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"})]))}}),Ja=(0,r.defineComponent)({name:"View",__name:"view",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),es=(0,r.defineComponent)({name:"WalletFilled",__name:"wallet-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z"})]))}}),ts=(0,r.defineComponent)({name:"Wallet",__name:"wallet",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),ns=(0,r.defineComponent)({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49 12.91-20.12 12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z"})]))}}),rs=(0,r.defineComponent)({name:"WarningFilled",__name:"warning-filled",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),os=(0,r.defineComponent)({name:"Warning",__name:"warning",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}}),is=(0,r.defineComponent)({name:"Watch",__name:"watch",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),(0,r.createElementVNode)("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}}),as=(0,r.defineComponent)({name:"Watermelon",__name:"watermelon",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632l632 632"})]))}}),ss=(0,r.defineComponent)({name:"WindPower",__name:"wind-power",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z"})]))}}),ls=(0,r.defineComponent)({name:"ZoomIn",__name:"zoom-in",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),cs=(0,r.defineComponent)({name:"ZoomOut",__name:"zoom-out",setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r.createElementVNode)("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}})},48614:function(e,t,n){var r=n(69821),o=n(79135);e.exports=function(e,t,n,i,a){return function(s,l,c){if(s&&l){if(e&&s[e])return s[e](l,c);if(t&&o(s)){for(var u=0,d=s.length;u<d;u++)if(!!l.call(c,s[u],u,s)===i)return[!0,!1,u,s[u]][n]}else for(var f in s)if(r(s,f)&&!!l.call(c,s[f],f,s)===i)return[!0,!1,f,s[f]][n]}return a}}},48646:function(e,t,n){"use strict";var r=n(69565),o=n(28551),i=n(1767),a=n(50851);e.exports=function(e,t){t&&"string"==typeof e||o(e);var n=a(e);return i(o(void 0!==n?r(n,e):e))}},48686:function(e,t,n){"use strict";var r=n(43724),o=n(79039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},48773:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},48813:function(e,t,n){"use strict";n.d(t,{$s:function(){return y},BM:function(){return A},Cr:function(){return h},j6:function(){return p},tW:function(){return v}});var r=n(83509),o=n(89259),i=Math.min,a=Math.max,s=Math.sin,l=Math.cos,c=2*Math.PI,u=r.create(),d=r.create(),f=r.create();function h(e,t,n){if(0!==e.length){for(var r=e[0],o=r[0],s=r[0],l=r[1],c=r[1],u=1;u<e.length;u++)r=e[u],o=i(o,r[0]),s=a(s,r[0]),l=i(l,r[1]),c=a(c,r[1]);t[0]=o,t[1]=l,n[0]=s,n[1]=c}}function p(e,t,n,r,o,s){o[0]=i(e,n),o[1]=i(t,r),s[0]=a(e,n),s[1]=a(t,r)}var m=[],g=[];function A(e,t,n,r,s,l,c,u,d,f){var h=o.lX,p=o.Yb,A=h(e,n,s,c,m);d[0]=1/0,d[1]=1/0,f[0]=-1/0,f[1]=-1/0;for(var v=0;v<A;v++){var y=p(e,n,s,c,m[v]);d[0]=i(y,d[0]),f[0]=a(y,f[0])}for(A=h(t,r,l,u,g),v=0;v<A;v++){var O=p(t,r,l,u,g[v]);d[1]=i(O,d[1]),f[1]=a(O,f[1])}d[0]=i(e,d[0]),f[0]=a(e,f[0]),d[0]=i(c,d[0]),f[0]=a(c,f[0]),d[1]=i(t,d[1]),f[1]=a(t,f[1]),d[1]=i(u,d[1]),f[1]=a(u,f[1])}function v(e,t,n,r,s,l,c,u){var d=o.gC,f=o.k3,h=a(i(d(e,n,s),1),0),p=a(i(d(t,r,l),1),0),m=f(e,n,s,h),g=f(t,r,l,p);c[0]=i(e,s,m),c[1]=i(t,l,g),u[0]=a(e,s,m),u[1]=a(t,l,g)}function y(e,t,n,o,i,a,h,p,m){var g=r.min,A=r.max,v=Math.abs(i-a);if(v%c<1e-4&&v>1e-4)return p[0]=e-n,p[1]=t-o,m[0]=e+n,void(m[1]=t+o);if(u[0]=l(i)*n+e,u[1]=s(i)*o+t,d[0]=l(a)*n+e,d[1]=s(a)*o+t,g(p,u,d),A(m,u,d),(i%=c)<0&&(i+=c),(a%=c)<0&&(a+=c),i>a&&!h?a+=c:i<a&&h&&(i+=c),h){var y=a;a=i,i=y}for(var O=0;O<a;O+=Math.PI/2)O>i&&(f[0]=l(O)*n+e,f[1]=s(O)*o+t,g(p,f,p),A(m,f,m))}},48820:function(e,t,n){"use strict";n.d(t,{Aj:function(){return C},Lu:function(){return p},U1:function(){return B},uC:function(){return h}});var r=n(90365);class o{constructor(e,t,n,r,o,i,a,s,l,c=0,u){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=o,this.score=i,this.buffer=a,this.bufferBase=s,this.curContext=l,this.lookAhead=c,this.parent=u}toString(){return`[${this.stack.filter(((e,t)=>t%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let r=e.parser.context;return new o(e,[],t,n,n,0,[],0,r?new i(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,r=65535&e,{parser:o}=this.p,i=this.reducePos<this.pos-25;i&&this.setLookAhead(this.pos);let a=o.dynamicPrecedence(r);if(a&&(this.score+=a),0==n)return this.pushState(o.getGoto(this.state,r,!0),this.reducePos),r<o.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,i?8:4,!0),void this.reduceContext(r,this.reducePos);let s=this.stack.length-3*(n-1)-(262144&e?6:0),l=s?this.stack[s-2]:this.p.ranges[0].from,c=this.reducePos-l;c>=2e3&&!(null===(t=this.p.parser.nodeSet.types[r])||void 0===t?void 0:t.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=c));let u=s?this.stack[s-1]:0,d=this.bufferBase+this.buffer.length-u;if(r<o.minRepeatTerm||131072&e){let e=o.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,l,e,d+4,!0)}if(262144&e)this.state=this.stack[s];else{let e=this.stack[s-3];this.state=o.getGoto(e,r,!0)}for(;this.stack.length>s;)this.stack.pop();this.reduceContext(r,l)}storeNode(e,t,n,r=4,o=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,r=this.buffer.length;if(0==r&&e.parent&&(r=e.bufferBase-e.parent.bufferBase,e=e.parent),r>0&&0==e.buffer[r-4]&&e.buffer[r-1]>-1){if(t==n)return;if(e.buffer[r-2]>=t)return void(e.buffer[r-2]=n)}}if(o&&this.pos!=n){let o=this.buffer.length;if(o>0&&0!=this.buffer[o-4]){let e=!1;for(let t=o;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4)}this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=n,this.buffer[o+3]=r}else this.buffer.push(e,t,n,r)}shift(e,t,n,r){if(131072&e)this.pushState(65535&e,this.pos);else if(262144&e)this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4);else{let o=e,{parser:i}=this.p;(r>this.pos||t<=i.maxNode)&&(this.pos=r,i.stateFlag(o,1)||(this.reducePos=r)),this.pushState(o,n),this.shiftContext(t,n),t<=i.maxNode&&this.buffer.push(t,n,r,4)}}apply(e,t,n,r){65536&e?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new o(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new a(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if(!(65536&n))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r,o=0;o<t.length;o+=2)(r=t[o+1])!=this.state&&this.p.parser.hasAction(r,e)&&n.push(t[o],r);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some(((e,t)=>1&t&&e==r))||n.push(t[e],r)}t=n}let n=[];for(let e=0;e<t.length&&n.length<4;e+=2){let r=t[e+1];if(r==this.state)continue;let o=this.split();o.pushState(r,this.pos),o.storeNode(0,o.pos,o.pos,4,!0),o.shiftContext(t[e],this.pos),o.reducePos=this.pos,o.score-=200,n.push(o)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(65536&t))return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=65535&t,o=this.stack.length-3*n;if(o<0||e.getGoto(this.stack[o],r,!1)<0){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,o)=>{if(!t.includes(r))return t.push(r),e.allActions(r,(t=>{if(393216&t);else if(65536&t){let n=(t>>19)-o;if(n>1){let r=65535&t,o=this.stack.length-3*n;if(o>=0&&e.getGoto(this.stack[o],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,o+1);if(null!=e)return e}}))};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new i(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class i{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class a{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,n=e>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}class s{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new s(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new s(this.stack,this.pos,this.index)}}function l(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let r=0,o=0;r<e.length;){let i=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(126==t){i=65535;break}t>=92&&t--,t>=34&&t--;let o=t-32;if(o>=46&&(o-=46,n=!0),i+=o,n)break;i*=46}n?n[o++]=i:n=new t(i)}return n}class c{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const u=new c;class d{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=u,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,o=this.pos+e;for(;o<n.from;){if(!r)return null;let e=this.ranges[--r];o-=n.from-e.to,n=e}for(;t<0?o>n.to:o>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];o+=e.from-n.to,n=e}return o}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t,n,r=this.chunkOff+e;if(r>=0&&r<this.chunk.length)t=this.pos+e,n=this.chunk.charCodeAt(r);else{let r=this.resolveOffset(e,1);if(null==r)return-1;if(t=r,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let e=this.rangeIndex,r=this.range;for(;r.to<=t;)r=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>r.to&&(this.chunk2=this.chunk2.slice(0,r.to-t)),n=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=u,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}class f{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;m(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}f.prototype.contextual=f.prototype.fallback=f.prototype.extend=!1;class h{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data="string"==typeof e?l(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,o=e.resolveOffset(1,1);if(m(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(n||r++,null==o)break;e.reset(o,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}h.prototype.contextual=f.prototype.fallback=f.prototype.extend=!1;class p{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function m(e,t,n,r,o,i){let a=0,s=1<<r,{dialect:l}=n.p.parser;e:for(;s&e[a];){let n=e[a+1];for(let r=a+3;r<n;r+=2)if((e[r+1]&s)>0){let n=e[r];if(l.allows(n)&&(-1==t.token.value||t.token.value==n||A(n,t.token.value,o,i))){t.acceptToken(n);break}}let r=t.next,c=0,u=e[a+2];if(!(t.next<0&&u>c&&65535==e[n+3*u-3])){for(;c<u;){let o=c+u>>1,i=n+o+(o<<1),s=e[i],l=e[i+1]||65536;if(r<s)u=o;else{if(!(r>=l)){a=e[i+2],t.advance();continue e}c=o+1}}break}a=e[n+3*u-1]}}function g(e,t,n){for(let r,o=t;65535!=(r=e[o]);o++)if(r==n)return o-t;return-1}function A(e,t,n,r){let o=g(n,r,t);return o<0||g(n,r,e)<o}const v="undefined"!=typeof process&&{NODE_ENV:"production",BASE_URL:""}&&/\bparse\b/.test({NODE_ENV:"production",BASE_URL:""}.LOG);let y=null;function O(e,t,n){let o=e.cursor(r.Qj.IncludeAnonymous);for(o.moveTo(t);;)if(!(n<0?o.childBefore(t):o.childAfter(t)))for(;;){if((n<0?o.to<t:o.from>t)&&!o.type.isError)return n<0?Math.max(0,Math.min(o.to-1,t-25)):Math.min(e.length,Math.max(o.from+1,t+25));if(n<0?o.prevSibling():o.nextSibling())break;if(!o.parent())return n<0?0:e.length}}class b{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?O(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?O(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],o=this.index[t];if(o==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=n.children[o],a=this.start[t]+n.positions[o];if(a>e)return this.nextStart=a,null;if(i instanceof r.PH){if(a==e){if(a<this.safeFrom)return null;let e=a+i.length;if(e<=this.safeTo){let t=i.prop(r.uY.lookAhead);if(!t||e+t<this.fragment.to)return i}}this.index[t]++,a+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(a),this.index.push(0))}else this.index[t]++,this.nextStart=a+i.length}}}class w{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map((e=>new c))}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:o}=r,i=r.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,s=0;for(let r=0;r<o.length;r++){if(!(1<<r&i))continue;let l=o[r],c=this.tokens[r];if((!n||l.fallback)&&((l.contextual||c.start!=e.pos||c.mask!=i||c.context!=a)&&(this.updateCachedToken(c,l,e),c.mask=i,c.context=a),c.lookAhead>c.end+25&&(s=Math.max(c.lookAhead,s)),0!=c.value)){let r=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!l.extend&&(n=c,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),n||e.pos!=this.stream.end||(n=new c,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new c,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let o=t.specializers[r](this.stream.read(e.start,e.end),n);if(o>=0&&n.p.parser.dialect.allows(o>>1)){1&o?e.extended=o>>1:e.value=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let t=0;t<r;t+=3)if(this.actions[t]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}addActions(e,t,n,r){let{state:o}=e,{parser:i}=e.p,{data:a}=i;for(let e=0;e<2;e++)for(let s=i.stateSlot(o,e?2:1);;s+=3){if(65535==a[s]){if(1!=a[s+1]){0==r&&2==a[s+1]&&(r=this.putAction(Q(a,s+2),t,n,r));break}s=Q(a,s+2)}a[s]==t&&(r=this.putAction(Q(a,s+1),t,n,r))}return r}}class _{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new d(t,r),this.tokens=new w(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[o.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>4*e.bufferLength?new b(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,r=this.minStackPos,o=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[e]=n;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let i=0;i<n.length;i++){let a=n[i];for(;;){if(this.tokens.mainToken=null,a.pos>r)o.push(a);else{if(this.advanceStack(a,o,n))continue;{e||(e=[],t=[]),e.push(a);let n=this.tokens.getMainToken(a);t.push(n.value,n.end)}}break}}if(!o.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}(e);if(t)return v&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw v&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&e){let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,o);if(n)return v&&console.log("Force-finish "+this.stackID(n)),this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(o.length>e)for(o.sort(((e,t)=>t.score-e.score));o.length>e;)o.pop();o.some((e=>e.reducePos>r))&&this.recovering--}else if(o.length>1){e:for(let e=0;e<o.length-1;e++){let t=o[e];for(let n=e+1;n<o.length;n++){let r=o[n];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500){if(!((t.score-r.score||t.buffer.length-r.buffer.length)>0)){o.splice(e--,1);continue e}o.splice(n--,1)}}}o.length>12&&o.splice(12,o.length-12)}this.minStackPos=o[0].pos;for(let e=1;e<o.length;e++)o[e].pos<this.minStackPos&&(this.minStackPos=o[e].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let o=e.pos,{parser:i}=this,a=v?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&o>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let s=this.fragments.nodeAt(o);s;){let o=this.parser.nodeSet.types[s.type.id]==s.type?i.getGoto(e.state,s.type.id):-1;if(o>-1&&s.length&&(!t||(s.prop(r.uY.contextHash)||0)==n))return e.useNode(s,o),v&&console.log(a+this.stackID(e)+` (via reuse of ${i.getName(s.type.id)})`),!0;if(!(s instanceof r.PH)||0==s.children.length||s.positions[0]>0)break;let l=s.children[0];if(!(l instanceof r.PH&&0==s.positions[0]))break;s=l}}let s=i.stateSlot(e.state,4);if(s>0)return e.reduce(s),v&&console.log(a+this.stackID(e)+` (via always-reduce ${i.getName(65535&s)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let r=0;r<l.length;){let s=l[r++],c=l[r++],u=l[r++],d=r==l.length||!n,f=d?e:e.split(),h=this.tokens.mainToken;if(f.apply(s,c,h?h.start:f.pos,u),v&&console.log(a+this.stackID(f)+` (via ${65536&s?`reduce of ${i.getName(65535&s)}`:"shift"} for ${i.getName(c)} @ ${o}${f==e?"":", split"})`),d)return!0;f.pos>o?t.push(f):n.push(f)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return x(e,t),!0}}runRecovery(e,t,n){let r=null,o=!1;for(let i=0;i<e.length;i++){let a=e[i],s=t[i<<1],l=t[1+(i<<1)],c=v?this.stackID(a)+" -> ":"";if(a.deadEnd){if(o)continue;if(o=!0,a.restart(),v&&console.log(c+this.stackID(a)+" (restarted)"),this.advanceFully(a,n))continue}let u=a.split(),d=c;for(let e=0;u.forceReduce()&&e<10&&(v&&console.log(d+this.stackID(u)+" (via force-reduce)"),!this.advanceFully(u,n));e++)v&&(d=this.stackID(u)+" -> ");for(let e of a.recoverByInsert(s))v&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>a.pos?(l==a.pos&&(l++,s=0),a.recoverByDelete(s,l),v&&console.log(c+this.stackID(a)+` (via recover-delete ${this.parser.getName(s)})`),x(a,n)):(!r||r.score<a.score)&&(r=a)}return r}stackToTree(e){return e.close(),r.PH.build({buffer:s.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(y||(y=new WeakMap)).get(e);return t||y.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function x(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e))return void(t[n].score<e.score&&(t[n]=e))}t.push(e)}class S{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}const k=e=>e;class C{constructor(e){this.start=e.start,this.shift=e.shift||k,this.reduce=e.reduce||k,this.reuse=e.reuse||k,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class B extends r.iX{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let n=0;n<e.repeatNodeCount;n++)t.push("");let n=Object.keys(e.topRules).map((t=>e.topRules[t][1])),o=[];for(let e=0;e<t.length;e++)o.push([]);function i(e,t,n){o[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=r.uY[e]);for(let n=1;n<t.length;){let r=t[n++];if(r>=0)i(r,e,t[n++]);else{let o=t[n+-r];for(let a=-r;a>0;a--)i(t[n++],e,o);n++}}}this.nodeSet=new r.fI(t.map(((t,i)=>r.Z6.define({name:i>=this.minRepeatTerm?void 0:t,id:i,props:o[i],top:n.indexOf(i)>-1,error:0==i,skipped:e.skippedNodes&&e.skippedNodes.indexOf(i)>-1})))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=r.cF;let a=l(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(T),this.states=l(e.states,Uint32Array),this.data=l(e.stateData),this.goto=l(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map((e=>"number"==typeof e?new f(a,e):e)),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new _(this,e,t,n);for(let o of this.wrappers)r=o(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let o=r[t+1];;){let t=r[o++],i=1&t,a=r[o++];if(i&&n)return a;for(let n=o+(t>>1);o<n;o++)if(r[o]==e)return a;if(i)return-1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let o,i=this.stateSlot(e,r?2:1);;i+=3){if(65535==(o=n[i])){if(1!=n[i+1]){if(2==n[i+1])return Q(n,i+2);break}o=n[i=Q(n,i+2)]}if(o==t||0==o)return Q(n,i+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,(e=>e==t||null))}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let n=this.stateSlot(e,1);null==r;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])break;n=Q(this.data,n+2)}r=t(Q(this.data,n+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])break;n=Q(this.data,n+2)}if(!(1&this.data[n+2])){let e=this.data[n+1];t.some(((t,n)=>1&n&&t==e))||t.push(this.data[n],e)}}return t}configure(e){let t=Object.assign(Object.create(B.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map((t=>{let n=e.tokenizers.find((e=>e.from==t));return n?n.to:t}))),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map(((n,r)=>{let o=e.specializers.find((e=>e.from==n.external));if(!o)return n;let i=Object.assign(Object.assign({},n),{external:o.to});return t.specializers[r]=T(i),i}))),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map((()=>!1));if(e)for(let r of e.split(" ")){let e=t.indexOf(r);e>=0&&(n[e]=!0)}let r=null;for(let e=0;e<t.length;e++)if(!n[e])for(let n,o=this.dialects[t[e]];65535!=(n=this.data[o++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[n]=1;return new S(e,n,r)}static deserialize(e){return new B(e)}}function Q(e,t){return e[t]|e[t+1]<<16}function T(e){if(e.external){let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}},48981:function(e,t,n){"use strict";var r=n(67750),o=Object;e.exports=function(e){return o(r(e))}},49075:function(e,t,n){"use strict";n.d(t,{ll:function(){return N}});var r=n(15874),o=n(43720),i=n(48820),a=n(47404);const s=20,l=21;function c(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57}function u(e,t,n){for(let r=!1;;){if(e.next<0)return;if(e.next==t&&!r)return void e.advance();r=n&&!r&&92==e.next,e.advance()}}function d(e,t){for(;95==e.next||c(e.next);)null!=t&&(t+=String.fromCharCode(e.next)),e.advance();return t}function f(e,t){for(;48==e.next||49==e.next;)e.advance();t&&e.next==t&&e.advance()}function h(e,t){for(;;){if(46==e.next){if(t)break;t=!0}else if(e.next<48||e.next>57)break;e.advance()}if(69==e.next||101==e.next)for(e.advance(),43!=e.next&&45!=e.next||e.advance();e.next>=48&&e.next<=57;)e.advance()}function p(e){for(;!(e.next<0||10==e.next);)e.advance()}function m(e,t){for(let n=0;n<t.length;n++)if(t.charCodeAt(n)==e)return!0;return!1}const g=" \t\r\n";function A(e,t,n){let r=Object.create(null);r.true=r.false=5,r.null=r.unknown=6;for(let t of e.split(" "))t&&(r[t]=s);for(let e of t.split(" "))e&&(r[e]=l);for(let e of(n||"").split(" "))e&&(r[e]=24);return r}const v={backslashEscapes:!1,hashComments:!1,spaceAfterDashes:!1,slashComments:!1,doubleQuotedStrings:!1,doubleDollarQuotedStrings:!1,unquotedBitLiterals:!1,treatBitsAsBytes:!1,charSetCasts:!1,plsqlQuotingMechanism:!1,operatorChars:"*+-%<>!=&|~^/",specialVar:"?",identifierQuotes:'"',caseInsensitiveIdentifiers:!1,words:A("absolute action add after all allocate alter and any are as asc assertion at authorization before begin between both breadth by call cascade cascaded case cast catalog check close collate collation column commit condition connect connection constraint constraints constructor continue corresponding count create cross cube current current_date current_default_transform_group current_transform_group_for_type current_path current_role current_time current_timestamp current_user cursor cycle data day deallocate declare default deferrable deferred delete depth deref desc describe descriptor deterministic diagnostics disconnect distinct do domain drop dynamic each else elseif end end-exec equals escape except exception exec execute exists exit external fetch first for foreign found from free full function general get global go goto grant group grouping handle having hold hour identity if immediate in indicator initially inner inout input insert intersect into is isolation join key language last lateral leading leave left level like limit local localtime localtimestamp locator loop map match method minute modifies module month names natural nesting new next no none not of old on only open option or order ordinality out outer output overlaps pad parameter partial path prepare preserve primary prior privileges procedure public read reads recursive redo ref references referencing relative release repeat resignal restrict result return returns revoke right role rollback rollup routine row rows savepoint schema scroll search second section select session session_user set sets signal similar size some space specific specifictype sql sqlexception sqlstate sqlwarning start state static system_user table temporary then timezone_hour timezone_minute to trailing transaction translation treat trigger under undo union unique unnest until update usage user using value values view when whenever where while with without work write year zone ","array binary bit boolean char character clob date decimal double float int integer interval large national nchar nclob numeric object precision real smallint time timestamp varchar varying ")};function y(e){return new i.Lu((t=>{var n;let{next:r}=t;if(t.advance(),m(r,g)){for(;m(t.next,g);)t.advance();t.acceptToken(36)}else if(36==r&&e.doubleDollarQuotedStrings){let e=d(t,"");36==t.next&&(t.advance(),function(e,t){e:for(;;){if(e.next<0)return;if(36==e.next){e.advance();for(let n=0;n<t.length;n++){if(e.next!=t.charCodeAt(n))continue e;e.advance()}if(36==e.next)return void e.advance()}else e.advance()}}(t,e),t.acceptToken(3))}else if(39==r||34==r&&e.doubleQuotedStrings)u(t,r,e.backslashEscapes),t.acceptToken(3);else if(35==r&&e.hashComments||47==r&&47==t.next&&e.slashComments)p(t),t.acceptToken(1);else if(45!=r||45!=t.next||e.spaceAfterDashes&&32!=t.peek(1))if(47==r&&42==t.next){t.advance();for(let e=1;;){let n=t.next;if(t.next<0)break;if(t.advance(),42==n&&47==t.next){if(e--,t.advance(),!e)break}else 47==n&&42==t.next&&(e++,t.advance())}t.acceptToken(2)}else if(101!=r&&69!=r||39!=t.next)if(110!=r&&78!=r||39!=t.next||!e.charSetCasts)if(95==r&&e.charSetCasts)for(let n=0;;n++){if(39==t.next&&n>1){t.advance(),u(t,39,e.backslashEscapes),t.acceptToken(3);break}if(!c(t.next))break;t.advance()}else if(e.plsqlQuotingMechanism&&(113==r||81==r)&&39==t.next&&t.peek(1)>0&&!m(t.peek(1),g)){let e=t.peek(1);t.advance(2),function(e,t){let n="[{<(".indexOf(String.fromCharCode(t)),r=n<0?t:"]}>)".charCodeAt(n);for(;;){if(e.next<0)return;if(e.next==r&&39==e.peek(1))return void e.advance(2);e.advance()}}(t,e),t.acceptToken(3)}else if(40==r)t.acceptToken(7);else if(41==r)t.acceptToken(8);else if(123==r)t.acceptToken(9);else if(125==r)t.acceptToken(10);else if(91==r)t.acceptToken(11);else if(93==r)t.acceptToken(12);else if(59==r)t.acceptToken(13);else if(e.unquotedBitLiterals&&48==r&&98==t.next)t.advance(),f(t),t.acceptToken(22);else if(98!=r&&66!=r||39!=t.next&&34!=t.next){if(48==r&&(120==t.next||88==t.next)||(120==r||88==r)&&39==t.next){let e=39==t.next;for(t.advance();(o=t.next)>=48&&o<=57||o>=97&&o<=102||o>=65&&o<=70;)t.advance();e&&39==t.next&&t.advance(),t.acceptToken(4)}else if(46==r&&t.next>=48&&t.next<=57)h(t,!0),t.acceptToken(4);else if(46==r)t.acceptToken(14);else if(r>=48&&r<=57)h(t,!1),t.acceptToken(4);else if(m(r,e.operatorChars)){for(;m(t.next,e.operatorChars);)t.advance();t.acceptToken(15)}else if(m(r,e.specialVar))t.next==r&&t.advance(),function(e){if(39==e.next||34==e.next||96==e.next){let t=e.next;e.advance(),u(e,t,!1)}else d(e)}(t),t.acceptToken(17);else if(m(r,e.identifierQuotes))u(t,r,!1),t.acceptToken(19);else if(58==r||44==r)t.acceptToken(16);else if(c(r)){let o=d(t,String.fromCharCode(r));t.acceptToken(46==t.next||46==t.peek(-o.length-1)?18:null!==(n=e.words[o.toLowerCase()])&&void 0!==n?n:18)}}else{const n=t.next;t.advance(),e.treatBitsAsBytes?(u(t,n,e.backslashEscapes),t.acceptToken(23)):(f(t,n),t.acceptToken(22))}else t.advance(),u(t,39,e.backslashEscapes),t.acceptToken(3);else t.advance(),u(t,39,!0),t.acceptToken(3);else p(t),t.acceptToken(1);var o}))}const O=y(v),b=i.U1.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"⚠ LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,nodeProps:[["isolate",-4,1,2,3,19,""]],skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,O],topRules:{Script:[0,25]},tokenPrec:0});function w(e){let t=e.cursor().moveTo(e.from,-1);for(;/Comment/.test(t.name);)t.moveTo(t.from,-1);return t.node}function _(e,t){let n=e.sliceString(t.from,t.to),r=/^([`'"])(.*)\1$/.exec(n);return r?r[2]:n}function x(e){return e&&("Identifier"==e.name||"QuotedIdentifier"==e.name)}function S(e,t){if("CompositeIdentifier"==t.name){let n=[];for(let r=t.firstChild;r;r=r.nextSibling)x(r)&&n.push(_(e,r));return n}return[_(e,t)]}function k(e,t){for(let n=[];;){if(!t||"."!=t.name)return n;let r=w(t);if(!x(r))return n;n.unshift(_(e,r)),t=w(r)}}const C=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" ")),B=/^\w*$/,Q=/^[`'"]?\w*[`'"]?$/;function T(e){return e.self&&"string"==typeof e.self.label}class E{constructor(e,t){this.idQuote=e,this.idCaseInsensitive=t,this.list=[],this.children=void 0}child(e){let t=this.children||(this.children=Object.create(null));return t[e]||(e&&!this.list.some((t=>t.label==e))&&this.list.push(P(e,"type",this.idQuote,this.idCaseInsensitive)),t[e]=new E(this.idQuote,this.idCaseInsensitive))}maybeChild(e){return this.children?this.children[e]:null}addCompletion(e){let t=this.list.findIndex((t=>t.label==e.label));t>-1?this.list[t]=e:this.list.push(e)}addCompletions(e){for(let t of e)this.addCompletion("string"==typeof t?P(t,"property",this.idQuote,this.idCaseInsensitive):t)}addNamespace(e){Array.isArray(e)?this.addCompletions(e):T(e)?this.addNamespace(e.children):this.addNamespaceObject(e)}addNamespaceObject(e){for(let t of Object.keys(e)){let n=e[t],r=null,o=t.replace(/\\?\./g,(e=>"."==e?"\0":e)).split("\0"),i=this;T(n)&&(r=n.self,n=n.children);for(let e=0;e<o.length;e++)r&&e==o.length-1&&i.addCompletion(r),i=i.child(o[e].replace(/\\\./g,"."));i.addNamespace(n)}}}function P(e,t,n,r){return new RegExp("^[a-z_][a-z_\\d]*$",r?"i":"").test(e)?{label:e,type:t}:{label:e,type:t,apply:n+e+n}}let $=b.configure({props:[r.Oh.add({Statement:(0,r.mz)()}),r.b_.add({Statement(e,t){return{from:Math.min(e.from+100,t.doc.lineAt(e.from).to),to:e.to}},BlockComment(e){return{from:e.from+2,to:e.to-2}}}),(0,o.pn)({Keyword:o._A.keyword,Type:o._A.typeName,Builtin:o._A.standard(o._A.name),Bits:o._A.number,Bytes:o._A.string,Bool:o._A.bool,Null:o._A.null,Number:o._A.number,String:o._A.string,Identifier:o._A.name,QuotedIdentifier:o._A.special(o._A.string),SpecialVar:o._A.special(o._A.name),LineComment:o._A.lineComment,BlockComment:o._A.blockComment,Operator:o._A.operator,"Semi Punctuation":o._A.punctuation,"( )":o._A.paren,"{ }":o._A.brace,"[ ]":o._A.squareBracket})]});class M{constructor(e,t,n){this.dialect=e,this.language=t,this.spec=n}get extension(){return this.language.extension}static define(e){let t=function(e,t,n,r){let o={};for(let t in v)o[t]=(e.hasOwnProperty(t)?e:v)[t];return t&&(o.words=A(t,n||"",r)),o}(e,e.keywords,e.types,e.builtin),n=r.bj.define({name:"sql",parser:$.configure({tokenizers:[{from:O,to:y(t)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new M(t,n,e)}}function z(e,t){return{label:e,type:t,boost:-1}}function R(e,t=!1,n){return function(e,t,n){let r=Object.keys(e).map((r=>{return n(t?r.toUpperCase():r,(o=e[r])==l?"type":o==s?"keyword":"variable");var o}));return(0,a.Ar)(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],(0,a.et)(r))}(e.dialect.words,t,n||z)}function D(e){return e.schema?function(e,t,n,o,i,a){var s;let l=(null===(s=null==a?void 0:a.spec.identifierQuotes)||void 0===s?void 0:s[0])||'"',c=new E(l,!!(null==a?void 0:a.spec.caseInsensitiveIdentifiers)),u=i?c.child(i):null;return c.addNamespace(e),t&&(u||c).addCompletions(t),n&&c.addCompletions(n),u&&c.addCompletions(u.list),o&&c.addCompletions((u||c).child(o).list),e=>{let{parents:t,from:n,quoted:i,empty:a,aliases:s}=function(e,t){let n=(0,r.mv)(e).resolveInner(t,-1),o=function(e,t){let n;for(let e=t;!n;e=e.parent){if(!e)return null;"Statement"==e.name&&(n=e)}let r=null;for(let t=n.firstChild,o=!1,i=null;t;t=t.nextSibling){let n="Keyword"==t.name?e.sliceString(t.from,t.to).toLowerCase():null,a=null;if(o)if("as"==n&&i&&x(t.nextSibling))a=_(e,t.nextSibling);else{if(n&&C.has(n))break;i&&x(t)&&(a=_(e,t))}else o="from"==n;a&&(r||(r=Object.create(null)),r[a]=S(e,i)),i=/Identifier$/.test(t.name)?t:null}return r}(e.doc,n);return"Identifier"==n.name||"QuotedIdentifier"==n.name||"Keyword"==n.name?{from:n.from,quoted:"QuotedIdentifier"==n.name?e.doc.sliceString(n.from,n.from+1):null,parents:k(e.doc,w(n)),aliases:o}:"."==n.name?{from:t,quoted:null,parents:k(e.doc,n),aliases:o}:{from:t,quoted:null,parents:[],empty:!0,aliases:o}}(e.state,e.pos);if(a&&!e.explicit)return null;s&&1==t.length&&(t=s[t[0]]||t);let l=c;for(let e of t){for(;!l.children||!l.children[e];)if(l==c&&u)l=u;else{if(l!=u||!o)return null;l=l.child(o)}let t=l.maybeChild(e);if(!t)return null;l=t}let d=i&&e.state.sliceDoc(e.pos,e.pos+1)==i,f=l.list;return l==c&&s&&(f=f.concat(Object.keys(s).map((e=>({label:e,type:"constant"}))))),{from:n,to:d?e.pos+1:void 0,options:(h=i,p=f,h?p.map((e=>Object.assign(Object.assign({},e),{label:e.label[0]==h?e.label:h+e.label+h,apply:void 0}))):p),validFor:i?Q:B};var h,p}}(e.schema,e.tables,e.schemas,e.defaultTable,e.defaultSchema,e.dialect||L):()=>null}function I(e){return e.schema?(e.dialect||L).language.data.of({autocomplete:D(e)}):[]}function N(e={}){let t=e.dialect||L;return new r.Yy(t.language,[I(e),t.language.data.of({autocomplete:R(t,e.upperCaseKeywords,e.keywordCompletion)})])}const L=M.define({})},49204:function(e,t,n){n(89313)},49248:function(e,t,n){var r=n(21607)("floor");e.exports=r},49431:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(98026);function o(e){return new i(e)}var i=function(){function e(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return e.prototype.perform=function(e){var t,n=this._upstream,o=e&&e.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!o&&(t=this._plan(this.context));var a,s=d(this._modBy),l=this._modDataCount||0,c=d(e&&e.modBy),u=e&&e.modDataCount||0;function d(e){return!(e>=1)&&(e=1),e}s===c&&l===u||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,a=this._doReset(o)),this._modBy=c,this._modDataCount=u;var f=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,p=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!o&&(a||h<p)){var m=this._progress;if((0,r.isArray)(m))for(var g=0;g<m.length;g++)this._doProgress(m[g],h,p,c,u);else this._doProgress(m,h,p,c,u)}this._dueIndex=p;var A=null!=this._settedOutputEnd?this._settedOutputEnd:p;this._outputDueEnd=A}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},e.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},e.prototype._doProgress=function(e,t,n,r,o){a.reset(t,n,r,o),this._callingProgress=e,this._callingProgress({start:t,end:n,count:n-t,next:a.next},this.context)},e.prototype._doReset=function(e){var t,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!e&&this._reset&&((t=this._reset(this.context))&&t.progress&&(n=t.forceFirstProgress,t=t.progress),(0,r.isArray)(t)&&!t.length&&(t=null)),this._progress=t,this._modBy=this._modDataCount=null;var o=this._downstream;return o&&o.dirty(),n},e.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},e.prototype.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},e.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},e.prototype.getUpstream=function(){return this._upstream},e.prototype.getDownstream=function(){return this._downstream},e.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},e}(),a=function(){var e,t,n,r,o,i={reset:function(l,c,u,d){t=l,e=c,n=u,r=d,o=Math.ceil(r/n),i.next=n>1&&r>0?s:a}};return i;function a(){return t<e?t++:null}function s(){var i=t%o*n+Math.ceil(t/o),a=t>=e?null:i<r?i:t;return t++,a}}()},49476:function(e,t,n){var r=n(15580),o=n(68142);e.exports=function(e,t,n){var i=r(e,t,n||this);return o(i,(function(e,t){i[t]=e.length})),i}},49766:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(61431),o=n(41651);const i=({from:e,replacement:t,scope:n,version:i,ref:a,type:s="API"},l)=>{(0,r.watch)((()=>(0,r.unref)(l)),(r=>{r&&(0,o.U)(n,`[${s}] ${e} is about to be deprecated in version ${i}, please use ${t} instead.\nFor more detail, please visit: ${a}\n`)}),{immediate:!0})}},49840:function(e,t,n){var r=n(35657);e.exports=function(e,t){var n=Object[e];return function(e){var o=[];if(e){if(n)return n(e);r(e,t>1?function(t){o.push([""+t,e[t]])}:function(){o.push(arguments[t])})}return o}}},49890:function(e,t,n){"use strict";n.d(t,{Fo:function(){return i},Yc:function(){return l},h_:function(){return s},mg:function(){return c},og:function(){return d}});var r=n(5202),o=n(98026);function i(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(e,t,n){var i=t.getComponent("tooltip"),s=t.getComponent("axisPointer"),l=s.get("link",!0)||[],c=[];(0,o.each)(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var f=d(n.model),h=e.coordSysAxesInfo[f]={};e.coordSysMap[f]=n;var p=n.model.getModel("tooltip",i);if((0,o.each)(n.getAxes(),(0,o.curry)(v,!1,null)),n.getTooltipAxes&&i&&p.get("show")){var m="axis"===p.get("trigger"),g="cross"===p.get(["axisPointer","type"]),A=n.getTooltipAxes(p.get(["axisPointer","axis"]));(m||g)&&(0,o.each)(A.baseAxes,(0,o.curry)(v,!g||"cross",m)),g&&(0,o.each)(A.otherAxes,(0,o.curry)(v,"cross",!1))}}function v(i,f,m){var g=m.model.getModel("axisPointer",s),A=g.get("show");if(A&&("auto"!==A||i||u(g))){null==f&&(f=g.get("triggerTooltip")),g=i?function(e,t,n,i,a,s){var l=t.getModel("axisPointer"),c={};(0,o.each)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){c[e]=(0,o.clone)(l.get(e))})),c.snap="category"!==e.type&&!!s,"cross"===l.get("type")&&(c.type="line");var u=c.label||(c.label={});if(null==u.show&&(u.show=!1),"cross"===a){var d=l.get(["label","show"]);if(u.show=null==d||d,!s){var f=c.lineStyle=l.get("crossStyle");f&&(0,o.defaults)(u,f.textStyle)}}return e.model.getModel("axisPointer",new r.A(c,n,i))}(m,p,s,t,i,f):g;var v=g.get("snap"),y=g.get("triggerEmphasis"),O=d(m.model),b=f||v||"category"===m.type,w=e.axesInfo[O]={key:O,axis:m,coordSys:n,axisPointerModel:g,triggerTooltip:f,triggerEmphasis:y,involveSeries:b,snap:v,useHandle:u(g),seriesModels:[],linkGroup:null};h[O]=w,e.seriesInvolved=e.seriesInvolved||b;var _=function(e,t){for(var n=t.model,r=t.dim,o=0;o<e.length;o++){var i=e[o]||{};if(a(i[r+"AxisId"],n.id)||a(i[r+"AxisIndex"],n.componentIndex)||a(i[r+"AxisName"],n.name))return o}}(l,m);if(null!=_){var x=c[_]||(c[_]={axesInfo:{}});x.axesInfo[O]=w,x.mapper=l[_].mapper,w.linkGroup=x}}}}))}(n,e,t),n.seriesInvolved&&function(e,t){t.eachSeries((function(t){var n=t.coordinateSystem,r=t.get(["tooltip","trigger"],!0),i=t.get(["tooltip","show"],!0);n&&"none"!==r&&!1!==r&&"item"!==r&&!1!==i&&!1!==t.get(["axisPointer","show"],!0)&&(0,o.each)(e.coordSysAxesInfo[d(n.model)],(function(e){var r=e.axis;n.getAxis(r.dim)===r&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}))}(n,e),n}function a(e,t){return"all"===e||(0,o.isArray)(e)&&(0,o.indexOf)(e,t)>=0||e===t}function s(e){var t=l(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,o=n.option,i=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=u(n);null==i&&(o.status=s?"show":"hide");var c=r.getExtent().slice();c[0]>c[1]&&c.reverse(),(null==a||a>c[1])&&(a=c[1]),a<c[0]&&(a=c[0]),o.value=a,s&&(o.status=t.axis.scale.isBlank()?"hide":"show")}}function l(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[d(e)]}function c(e){var t=l(e);return t&&t.axisPointerModel}function u(e){return!!e.get(["handle","show"])}function d(e){return e.type+"||"+e.id}},50026:function(e,t,n){var r=n(95962),o=n(99917),i=n(69156);e.exports=function(e,t){var n=o(e),a=o(t),s=Math.pow(10,Math.max(r(n),r(a)));return(i(e,s)+i(t,s))/s}},50180:function(e,t,n){"use strict";n.d(t,{P:function(){return i}});var r=n(61431),o=n(76031);const i=(e,t,n,i)=>{let a={offsetX:0,offsetY:0};const s=t=>{const n=t.clientX,r=t.clientY,{offsetX:s,offsetY:l}=a,c=e.value.getBoundingClientRect(),u=c.left,d=c.top,f=c.width,h=c.height,p=document.documentElement.clientWidth,m=document.documentElement.clientHeight,g=-u+s,A=-d+l,v=p-u-f+s,y=m-d-h+l,O=t=>{let c=s+t.clientX-n,u=l+t.clientY-r;(null==i?void 0:i.value)||(c=Math.min(Math.max(c,g),v),u=Math.min(Math.max(u,A),y)),a={offsetX:c,offsetY:u},e.value&&(e.value.style.transform=`translate(${(0,o._V)(c)}, ${(0,o._V)(u)})`)},b=()=>{document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",O),document.addEventListener("mouseup",b)},l=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",s)};return(0,r.onMounted)((()=>{(0,r.watchEffect)((()=>{n.value?t.value&&e.value&&t.value.addEventListener("mousedown",s):l()}))})),(0,r.onBeforeUnmount)((()=>{l()})),{resetPosition:()=>{a={offsetX:0,offsetY:0},e.value&&(e.value.style.transform="none")}}}},50193:function(e,t,n){n(13550)},50281:function(e,t,n){var r=n(99361),o=n(29599),i=n(22810),a=n(38588),s=n(53876),l=n(35224);e.exports=function(e,t,n){var c;if(e=s(e),l(e)&&(t&&(c=t&&!isNaN(t)?t:0,e.setFullYear(i(e)+c)),n||!isNaN(n))){if(n===r)return new Date(i(e),0,1);if(n===o)return e.setMonth(11),a(e,0,o);e.setMonth(n)}return e}},50283:function(e,t,n){"use strict";var r=n(79504),o=n(79039),i=n(94901),a=n(39297),s=n(43724),l=n(10350).CONFIGURABLE,c=n(33706),u=n(91181),d=u.enforce,f=u.get,h=String,p=Object.defineProperty,m=r("".slice),g=r("".replace),A=r([].join),v=s&&!o((function(){return 8!==p((function(){}),"length",{value:8}).length})),y=String(String).split("String"),O=e.exports=function(e,t,n){"Symbol("===m(h(t),0,7)&&(t="["+g(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),v&&n&&a(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return a(r,"source")||(r.source=A(y,"string"==typeof t?t:"")),e};Function.prototype.toString=O((function(){return i(this)&&f(this).source||c(this)}),"toString")},50288:function(e,t,n){var r=n(73971),o=typeof Symbol!==r;e.exports=function(e){return o&&Symbol.isSymbol?Symbol.isSymbol(e):"symbol"==typeof e}},50322:function(e,t,n){var r=n(40481);e.exports=function(e,t,n){var o=r(e),i=arguments.length;return i>1&&(i>2?o.substring(0,n).indexOf(t)===n-1:o.indexOf(t)===o.length-1)}},50416:function(e,t,n){"use strict";var r=n(34098),o=n(76875),i=n(99727);t.A=function(e){return(0,i.A)((0,o.A)(e,void 0,r.A),e+"")}},50480:function(e,t,n){var r=n(48614)("some",1,0,!0,!1);e.exports=r},50626:function(e,t,n){"use strict";n.d(t,{f$:function(){return B},Og:function(){return P},Dt:function(){return E},wq:function(){return z},j2:function(){return $},Rx:function(){return k},JJ:function(){return Q},ry:function(){return T},af:function(){return C},PJ:function(){return M},PN:function(){return R}});var r=n(98026),o=n(18550),i=n(74562),a=n(28613),s=n(62536),l=n(29308),c=n(12706),u=n(15215),d=n(24326),f=n(67071),h=a.A.prototype,p=i.A.prototype,m=d.LI,g=Math.floor,A=Math.ceil,v=Math.pow,y=Math.log,O=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="log",t.base=10,t._originalScale=new i.A,t._interval=0,t}return(0,u.C6)(t,e),t.prototype.getTicks=function(e){var t=this._originalScale,n=this._extent,o=t.getExtent(),i=p.getTicks.call(this,e);return r.map(i,(function(e){var t=e.value,r=d.LI(v(this.base,t));return r=t===n[0]&&this._fixMin?w(r,o[0]):r,{value:r=t===n[1]&&this._fixMax?w(r,o[1]):r}}),this)},t.prototype.setExtent=function(e,t){var n=y(this.base);e=y(Math.max(0,e))/n,t=y(Math.max(0,t))/n,p.setExtent.call(this,e,t)},t.prototype.getExtent=function(){var e=this.base,t=h.getExtent.call(this);t[0]=v(e,t[0]),t[1]=v(e,t[1]);var n=this._originalScale.getExtent();return this._fixMin&&(t[0]=w(t[0],n[0])),this._fixMax&&(t[1]=w(t[1],n[1])),t},t.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=y(e[0])/y(t),e[1]=y(e[1])/y(t),h.unionExtent.call(this,e)},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.calcNiceTicks=function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var r=d.au(n);for(e/n*r<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var o=[d.LI(A(t[0]/r)*r),d.LI(g(t[1]/r)*r)];this._interval=r,this._niceExtent=o}},t.prototype.calcNiceExtent=function(e){p.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return e=y(e)/y(this.base),f.lP(e,this._extent)},t.prototype.normalize=function(e){return e=y(e)/y(this.base),f.S8(e,this._extent)},t.prototype.scale=function(e){return e=f.hs(e,this._extent),v(this.base,e)},t.type="log",t}(a.A),b=O.prototype;function w(e,t){return m(e,d.XV(t))}b.getMinorTicks=p.getMinorTicks,b.getLabel=p.getLabel,a.A.registerClass(O);var _=O,x=n(65008),S=n(42262);function k(e,t){var n=e.type,o=(0,S.Tc)(e,t,e.getExtent()).calculate();e.setBlank(o.isBlank);var i=o.min,a=o.max,l=t.ecModel;if(l&&"time"===n){var c=(0,s.GL)("bar",l),u=!1;if(r.each(c,(function(e){u=u||e.getBaseAxis()===t.axis})),u){var d=(0,s.vq)(c),f=function(e,t,n,o){var i=n.axis.getExtent(),a=Math.abs(i[1]-i[0]),l=(0,s.VA)(o,n.axis);if(void 0===l)return{min:e,max:t};var c=1/0;r.each(l,(function(e){c=Math.min(e.offset,c)}));var u=-1/0;r.each(l,(function(e){u=Math.max(e.offset+e.width,u)})),c=Math.abs(c),u=Math.abs(u);var d=c+u,f=t-e,h=f/(1-(c+u)/a)-f;return{min:e-=h*(c/d),max:t+=h*(u/d)}}(i,a,t,d);i=f.min,a=f.max}}return{extent:[i,a],fixMin:o.minFixed,fixMax:o.maxFixed}}function C(e,t){var n=t,r=k(e,n),o=r.extent,i=n.get("splitNumber");e instanceof _&&(e.base=n.get("logBase"));var a=e.type,s=n.get("interval"),l="interval"===a||"time"===a;e.setExtent(o[0],o[1]),e.calcNiceExtent({splitNumber:i,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&e.setInterval&&e.setInterval(s)}function B(e,t){if(t=t||e.get("type"))switch(t){case"category":return new o.A({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new c.A({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(a.A.getClass(t)||i.A)}}function Q(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function T(e){var t,n,o=e.getLabelModel().get("formatter"),i="category"===e.type?e.scale.getExtent()[0]:null;return"time"===e.scale.type?(n=o,function(t,r){return e.scale.getFormattedLabel(t,r,n)}):r.isString(o)?function(t){return function(n){var r=e.scale.getLabel(n);return t.replace("{value}",null!=r?r:"")}}(o):r.isFunction(o)?(t=o,function(n,r){return null!=i&&(r=n.value-i),t(E(e,n),r,null!=n.level?{level:n.level}:null)}):function(t){return e.scale.getLabel(t)}}function E(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function P(e){var t=e.model,n=e.scale;if(t.get(["axisLabel","show"])&&!n.isBlank()){var r,i,a=n.getExtent();i=n instanceof o.A?n.count():(r=n.getTicks()).length;var s,c,u,d,f,h,p,m=e.getLabelModel(),g=T(e),A=1;i>40&&(A=Math.ceil(i/40));for(var v=0;v<i;v+=A){var y=g(r?r[v]:{value:a[0]+v},v),O=(c=m.getTextRect(y),void 0,void 0,void 0,void 0,void 0,u=(m.get("rotate")||0)*Math.PI/180,d=c.width,f=c.height,h=d*Math.abs(Math.cos(u))+Math.abs(f*Math.sin(u)),p=d*Math.abs(Math.sin(u))+Math.abs(f*Math.cos(u)),new l.A(c.x,c.y,h,p));s?s.union(O):s=O}return s}}function $(e){var t=e.get("interval");return null==t?"auto":t}function M(e){return"category"===e.type&&0===$(e.getLabelModel())}function z(e,t){var n={};return r.each(e.mapDimensionsAll(t),(function(t){n[(0,x.me)(e,t)]=!0})),r.keys(n)}function R(e,t,n){t&&r.each(z(t,n),(function(n){var r=t.getApproximateExtent(n);r[0]<e[0]&&(e[0]=r[0]),r[1]>e[1]&&(e[1]=r[1])}))}},50670:function(e,t,n){var r=n(22810),o=n(22498);e.exports=function(e){return new Date(r(e),o(e),e.getDate())}},50749:function(){!function(){"use strict";var e,t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),r=tinymce.util.Tools.resolve("tinymce.util.I18n"),o=tinymce.util.Tools.resolve("tinymce.util.Tools"),i=function(e){return e.getParam("toc_class","mce-toc")},a=function(e){var t=e.getParam("toc_header","h2");return/^h[1-6]$/.test(t)?t:"h2"},s=(e=0,function(){return"mcetoc_"+(new Date).getTime().toString(32)+(e++).toString(32)}),l=function(e){var t=i(e),n=a(e),r=function(e){var t,n=[];for(t=1;t<=e;t++)n.push("h"+t);return n.join(",")}(function(e){var t=parseInt(e.getParam("toc_depth","3"),10);return t>=1&&t<=9?t:3}(e)),l=e.$(r);return l.length&&/^h[1-9]$/i.test(n)&&(l=l.filter((function(n,r){return!e.dom.hasClass(r.parentNode,t)}))),o.map(l,(function(t){return{id:t.id||s(),level:parseInt(t.nodeName.replace(/^H/i,""),10),title:e.$.text(t),element:t}}))},c=function(e){var t,o,i,s="",c=l(e),u=function(e){for(var t=9,n=0;n<e.length;n++)if(e[n].level<t&&(t=e[n].level),1===t)return t;return t}(c)-1;if(!c.length)return"";s+=(t=a(e),o=r.translate("Table of Contents"),i="</"+t+">","<"+t+' contenteditable="true">'+n.DOM.encode(o)+i);for(var d=0;d<c.length;d++){var f=c[d];f.element.id=f.id;var h=c[d+1]&&c[d+1].level;if(u===f.level)s+="<li>";else for(var p=u;p<f.level;p++)s+="<ul><li>";if(s+='<a href="#'+f.id+'">'+f.title+"</a>",h!==f.level&&h)for(p=f.level;p>h;p--)s+=p===h+1?"</li></ul><li>":"</li></ul>";else s+="</li>",h||(s+="</ul>");u=f.level}return s},u=function(e){var t=i(e),n=e.$("."+t);n.length&&e.undoManager.transact((function(){n.html(c(e))}))},d=function(e){return function(t){var n=function(){return t.setDisabled(e.mode.isReadOnly()||!function(e){return l(e).length>0}(e))};return n(),e.on("LoadContent SetContent change",n),function(){return e.on("LoadContent SetContent change",n)}}},f=function(e){return function(t){return t&&e.dom.is(t,"."+i(e))&&e.getBody().contains(t)}};t.add("toc",(function(e){!function(e){e.addCommand("mceInsertToc",(function(){!function(e){var t=i(e),n=e.$("."+t);!function(e,t){return!t.length||e.dom.getParents(t[0],".mce-offscreen-selection").length>0}(e,n)?u(e):e.insertContent(function(e){var t=c(e);return'<div class="'+e.dom.encode(i(e))+'" contenteditable="false">'+t+"</div>"}(e))}(e)})),e.addCommand("mceUpdateToc",(function(){u(e)}))}(e),function(e){var t=function(){return e.execCommand("mceInsertToc")};e.ui.registry.addButton("toc",{icon:"toc",tooltip:"Table of contents",onAction:t,onSetup:d(e)}),e.ui.registry.addButton("tocupdate",{icon:"reload",tooltip:"Update",onAction:function(){return e.execCommand("mceUpdateToc")}}),e.ui.registry.addMenuItem("toc",{icon:"toc",text:"Table of contents",onAction:t,onSetup:d(e)}),e.ui.registry.addContextToolbar("toc",{items:"tocupdate",predicate:f(e),scope:"node",position:"node"})}(e),function(e){var t=e.$,n=i(e);e.on("PreProcess",(function(e){var r=t("."+n,e.node);r.length&&(r.removeAttr("contentEditable"),r.find("[contenteditable]").removeAttr("contentEditable"))})),e.on("SetContent",(function(){var e=t("."+n);e.length&&(e.attr("contentEditable",!1),e.children(":first-child").attr("contentEditable",!0))}))}(e)}))}()},50819:function(e,t,n){"use strict";n.d(t,{Y8:function(){return l},b_:function(){return c},jq:function(){return s}});var r=n(61431),o=n(63753),i=n(90033);const a="__epPropKey",s=e=>e,l=(e,t)=>{if(!(0,i.Gv)(e)||(n=e,(0,i.Gv)(n)&&n[a]))return e;var n;const{values:o,required:s,default:l,type:c,validator:u}=e,d=o||u?n=>{let a=!1,s=[];if(o&&(s=Array.from(o),(0,i.$3)(e,"default")&&s.push(l),a||(a=s.includes(n))),u&&(a||(a=u(n))),!a&&s.length>0){const e=[...new Set(s)].map((e=>JSON.stringify(e))).join(", ");(0,r.warn)(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${e}], got value ${JSON.stringify(n)}.`)}return a}:void 0,f={type:c,required:!!s,validator:d,[a]:!0};return(0,i.$3)(e,"default")&&(f.default=l),f},c=e=>(0,o.A)(Object.entries(e).map((([e,t])=>[e,l(t,e)])))},50851:function(e,t,n){"use strict";var r=n(36955),o=n(55966),i=n(64117),a=n(26269),s=n(78227)("iterator");e.exports=function(e){if(!i(e))return o(e,s)||o(e,"@@iterator")||a[r(e)]}},51183:function(e,t,n){"use strict";n.d(t,{l:function(){return a}});var r=n(76873),o=1e-8;function i(e,t){return Math.abs(e-t)<o}function a(e,t,n){var o=0,a=e[0];if(!a)return!1;for(var s=1;s<e.length;s++){var l=e[s];o+=(0,r.A)(a[0],a[1],l[0],l[1],t,n),a=l}var c=e[0];return i(a[0],c[0])&&i(a[1],c[1])||(o+=(0,r.A)(a[0],a[1],c[0],c[1],t,n)),0!==o}},51190:function(){!function(){"use strict";var e,t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=function(e){return e},r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=[new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-׳ؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆༀཀ-ཇཉ-ཬྈ-ྌႠ-Ⴥა-ჺჼᄀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᨀ-ᨖᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᯀ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ--ℝℤΩℨK--ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⒶ-ⓩⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⴀ-ⴥⴰ-ⵥⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〻〼ㄅ-ㄭㄱ-ㆎㆠ-ㆺꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐꞑꞠ-ꞩꟺ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA---하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),new RegExp("[-'\\.‘’․﹒'.]"),new RegExp("[:··״‧︓﹕:]"),new RegExp("[±+*/,;;։،؍٬߸⁄︐︔﹐﹔,;]"),new RegExp("[0-9٠-٩٫۰-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩၀-၉႐-႙០-៩᠐-᠙᥆-᥏᧐-᧙᪀-᪉᪐-᪙᭐-᭙᮰-᮹᱀-᱉᱐-᱙꘠-꘩꣐-꣙꤀-꤉꧐-꧙꩐-꩙꯰-꯹]"),new RegExp("\\r"),new RegExp("\\n"),new RegExp("[\v\f…\u2028\u2029]"),new RegExp("[̀-ͯ҃-҉֑-ׇֽֿׁׂׅׄؐ-ًؚ-ٰٟۖ-ۜ۟-۪ۤۧۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ऀ-ःऺ-़ा-ॏ॑-ॗॢॣঁ-ঃ়া-ৄেৈো-্ৗৢৣਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑੰੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣஂா-ூெ-ைொ-்ௗఁ-ఃా-ౄె-ైొ-్ౕౖౢౣಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣംഃാ-ൄെ-ൈൊ-്ൗൢൣංඃ්ා-ුූෘ-ෟෲෳัิ-ฺ็-๎ັິ-ູົຼ່-ໍ༹༘༙༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏႚ-ႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳា-៓៝᠋-᠍ᢩᤠ-ᤫᤰ-᤻ᦰ-ᧀᧈᧉᨗ-ᨛᩕ-ᩞ᩠-᩿᩼ᬀ-ᬄ᬴-᭄᭫-᭳ᮀ-ᮂᮡ-᯦᮪-᯳ᰤ-᰷᳐-᳔᳒-᳨᳭ᳲ᷀-ᷦ᷼-᷿‌‍⃐-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꙯-꙲꙼꙽꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-꣄꣠-꣱ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀ꨩ-ꨶꩃꩌꩍꩻꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꯣ-ꯪ꯬꯭ﬞ︀-️︠-゙゚︦]"),new RegExp("[­؀-؃۝܏឴឵‎‏‪---\ufeff-]"),new RegExp("[〱-〵゛゜゠-ヺー-ヿㇰ-ㇿ㋐-㋾㌀-㍗ヲ-ン]"),new RegExp("[=_‿⁀⁔︳︴-﹏_∀-<>]"),new RegExp("@")],i=new RegExp("^[!-#%-*,-\\/:;?@\\[-\\]_{}¡«·»¿;·՚-՟։֊־׀׃׆׳״؉؊،؍؛؞؟٪-٭۔܀-܍߷-߹࠰-࠾࡞।॥॰෴๏๚๛༄-༒༺-༽྅࿐-࿔࿙࿚၊-၏჻፡-፨᐀᙭᙮᚛᚜᛫-᛭᜵᜶។-៖៘-៚᠀-᠊᥄᥅᨞᨟᪠-᪦᪨-᪭᭚-᭠᯼-᯿᰻-᰿᱾᱿᳓‐-‧‰-⁃⁅-⁑⁓-⁞⁽⁾₍₎〈〉❨-❵⟅⟆⟦-⟯⦃-⦘⧘-⧛⧼⧽⳹-⳼⳾⳿⵰⸀-⸮⸰⸱、-〃〈-】〔-〟〰〽゠・꓾꓿꘍-꘏꙳꙾꛲-꛷꡴-꡷꣎꣏꣸-꣺꤮꤯꥟꧁-꧍꧞꧟꩜-꩟꫞꫟꯫﴾﴿︐-︙︰-﹒﹔-﹡﹣﹨﹪﹫!----]_{}⦅-・]$"),a=o,s=function(e){for(var t=13,n=a.length,r=0;r<n;++r){var o=a[r];if(o&&o.test(e)){t=r;break}}return t},l=function(e,t){var n=e[t],r=e[t+1];if(t<0||t>e.length-1&&0!==t)return!1;if(0===n&&0===r)return!1;var o=e[t+2];if(0===n&&(2===r||1===r||12===r)&&0===o)return!1;var i=e[t-1];return(2!==n&&1!==n&&12!==r||0!==r||0!==i)&&(4!==n&&0!==n||4!==r&&0!==r)&&(3!==n&&1!==n||4!==r||4!==i)&&(4!==n||3!==r&&1!==r||4!==o)&&8!==n&&9!==n&&8!==i&&9!==i&&8!==r&&9!==r&&(5!==n||6!==r)&&(7===n||5===n||6===n||7===r||5===r||6===r||(10!==n||10!==r)&&(11!==r||0!==n&&4!==n&&10!==n&&11!==n)&&(11!==n||0!==r&&4!==r&&10!==r)&&12!==n)},c=/^\s+$/,u=i,d=function(e){return"http"===e||"https"===e},f=function(e,t,n){n=r(r({},{includeWhitespace:!1,includePunctuation:!1}),n);for(var o=[],i=[],a=0;a<e.length;a++){var f=t(e[a]);"\ufeff"!==f&&(o.push(e[a]),i.push(f))}return function(e,t,n,r){for(var o=[],i=[],a=0;a<n.length;++a)if(i.push(e[a]),l(n,a)){var s=t[a];if((r.includeWhitespace||!c.test(s))&&(r.includePunctuation||!u.test(s))){var f=a-i.length+1,h=a+1,p=t.slice(f,h).join("");if(d(p)){var m=(y=void 0,y=function(e,t){var n;for(n=t;n<e.length&&!c.test(e[n]);n++);return n}(A=t,(v=a)+1),"://"===A.slice(v+1,y).join("").substr(0,3)?y:v),g=e.slice(h,m);Array.prototype.push.apply(i,g),a=m}o.push(i)}i=[]}var A,v,y;return o}(o,i,function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r}(i,(h=s,p={},function(e){if(p[e])return p[e];var t=h(e);return p[e]=t,t})),n);var h,p},h=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),p=function(e,t){for(var n=t.getBlockElements(),r=t.getShortEndedElements(),o=function(e){return n[e.nodeName]||r[e.nodeName]},i=[],a="",s=new h(e,e);e=s.next();)3===e.nodeType?a+=e.data.replace(/\uFEFF/g,""):o(e)&&a.length&&(i.push(a),a="");return a.length&&i.push(a),i},m=function(e){return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length},g=function(e,t){var r=function(e){return e.replace(/\u200B/g,"")}(p(e,t).join("\n"));return f(r.split(""),n).length},A=function(e,t){var n=p(e,t).join("");return m(n)},v=function(e,t){var n=p(e,t).join("").replace(/\s/g,"");return m(n)},y=function(e,t){return function(){return t(e.getBody(),e.schema)}},O=function(e,t){return function(){return t(e.selection.getRng().cloneContents(),e.schema)}},b=function(e){return y(e,g)},w=tinymce.util.Tools.resolve("tinymce.util.Delay"),_=function(e,t){!function(e,t){e.fire("wordCountUpdate",{wordCount:{words:t.body.getWordCount(),characters:t.body.getCharacterCount(),charactersWithoutSpaces:t.body.getCharacterCountWithoutSpaces()}})}(e,t)};void 0===e&&(e=300),t.add("wordcount",(function(t){var n=function(e){return{body:{getWordCount:b(e),getCharacterCount:y(e,A),getCharacterCountWithoutSpaces:y(e,v)},selection:{getWordCount:O(e,g),getCharacterCount:O(e,A),getCharacterCountWithoutSpaces:O(e,v)},getCount:b(e)}}(t);return function(e,t){e.addCommand("mceWordCount",(function(){return function(e,t){e.windowManager.open({title:"Word Count",body:{type:"panel",items:[{type:"table",header:["Count","Document","Selection"],cells:[["Words",String(t.body.getWordCount()),String(t.selection.getWordCount())],["Characters (no spaces)",String(t.body.getCharacterCountWithoutSpaces()),String(t.selection.getCharacterCountWithoutSpaces())],["Characters",String(t.body.getCharacterCount()),String(t.selection.getCharacterCount())]]}]},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}]})}(e,t)}))}(t,n),function(e){var t=function(){return e.execCommand("mceWordCount")};e.ui.registry.addButton("wordcount",{tooltip:"Word count",icon:"character-count",onAction:t}),e.ui.registry.addMenuItem("wordcount",{text:"Word count",icon:"character-count",onAction:t})}(t),function(e,t,n){var r=w.debounce((function(){return _(e,t)}),n);e.on("init",(function(){_(e,t),w.setEditorTimeout(e,(function(){e.on("SetContent BeforeAddUndo Undo Redo ViewUpdate keyup",r)}),0)}))}(t,n,e),n}))}()},51254:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});const r=e=>e},51338:function(e,t,n){"use strict";n.d(t,{$P:function(){return u},CW:function(){return d},Yn:function(){return a},jO:function(){return l},oh:function(){return c},zv:function(){return s}});var r=n(61431),o=n(41651),i=n(90033),a=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(a||{});function s(e){return(0,r.isVNode)(e)&&e.type===r.Fragment}function l(e){return(0,r.isVNode)(e)&&!s(e)&&!function(e){return(0,r.isVNode)(e)&&e.type===r.Comment}(e)}const c=e=>{if(!(0,r.isVNode)(e))return(0,o.U)("utils/vue/vnode","[getNormalizedProps] must be a VNode"),{};const t=e.props||{},n=((0,r.isVNode)(e.type)?e.type.props:void 0)||{},a={};return Object.keys(n).forEach((e=>{(0,i.$3)(n[e],"default")&&(a[e]=n[e].default)})),Object.keys(t).forEach((e=>{a[(0,i.PT)(e)]=t[e]})),a},u=e=>{if(!(0,i.cy)(e)||e.length>1)throw new Error("expect to receive a single Vue element child");return e[0]},d=e=>{const t=(0,i.cy)(e)?e:[e],n=[];return t.forEach((e=>{var t;(0,i.cy)(e)?n.push(...d(e)):(0,r.isVNode)(e)&&(null==(t=e.component)?void 0:t.subTree)?n.push(e,...d(e.component.subTree)):(0,r.isVNode)(e)&&(0,i.cy)(e.children)?n.push(...d(e.children)):(0,r.isVNode)(e)&&2===e.shapeFlag?n.push(...d(e.type())):n.push(e)})),n}},51780:function(e,t,n){var r=n(59988);e.exports=function(e,t,n){var o=[],i=arguments.length;if(e){if(t=i>=2?r(t):0,n=i>=3?r(n):e.length,e.slice)return e.slice(t,n);for(;t<n;t++)o.push(e[t])}return o}},51815:function(e,t,n){var r=n(86075)("lastIndexOf",n(66074));e.exports=r},51850:function(e,t,n){var r=n(28498)((function(e,t){return e>t}));e.exports=r},51967:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var r={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}}},52171:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.Env"),n=tinymce.util.Tools.resolve("tinymce.util.Tools");e.add("preview",(function(e){!function(e){e.addCommand("mcePreview",(function(){!function(e){var r=function(e){var r="",o=e.dom.encode,i=function(e){return e.getParam("content_style","","string")}(e);r+='<base href="'+o(e.documentBaseURI.getURI())+'">';var a=function(e){return e.getParam("content_css_cors",!1,"boolean")}(e)?' crossorigin="anonymous"':"";n.each(e.contentCSS,(function(t){r+='<link type="text/css" rel="stylesheet" href="'+o(e.documentBaseURI.toAbsolute(t))+'"'+a+">"})),i&&(r+='<style type="text/css">'+i+"</style>");var s=function(e){var t=e.getParam("body_id","tinymce","string");return-1===t.indexOf("=")?t:function(e){var t=e.getParam("body_id","","hash");return t[e.id]||t}(e)}(e),l=function(e){var t=e.getParam("body_class","","string");return-1===t.indexOf("=")?t:function(e){return e.getParam("body_class","","hash")[e.id]||""}(e)}(e),c='<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A" && !('+(t.mac?"e.metaKey":"e.ctrlKey && !e.altKey")+")) {e.preventDefault();}}}, false);<\/script> ",u=e.getBody().dir,d=u?' dir="'+o(u)+'"':"";return"<!DOCTYPE html><html><head>"+r+'</head><body id="'+o(s)+'" class="mce-content-body '+o(l)+'"'+d+">"+e.getContent()+c+"</body></html>"}(e);e.windowManager.open({title:"Preview",size:"large",body:{type:"panel",items:[{name:"preview",type:"iframe",sandboxed:!0}]},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{preview:r}}).focus("close")}(e)}))}(e),function(e){var t=function(){return e.execCommand("mcePreview")};e.ui.registry.addButton("preview",{icon:"preview",tooltip:"Preview",onAction:t}),e.ui.registry.addMenuItem("preview",{icon:"preview",text:"Preview",onAction:t})}(e)}))}()},52274:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(88496),o=n(53098),i=function(e){return(0,o.A)(e)&&"[object Arguments]"==(0,r.A)(e)},a=Object.prototype,s=a.hasOwnProperty,l=a.propertyIsEnumerable,c=i(function(){return arguments}())?i:function(e){return(0,o.A)(e)&&s.call(e,"callee")&&!l.call(e,"callee")},u=c},52505:function(e,t,n){"use strict";var r=n(15215),o=n(5070),i=n(18983),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new a},t.prototype.buildPath=function(e,t){i.U(e,t,!0)},t}(o.Ay);s.prototype.type="polygon",t.A=s},52528:function(e,t,n){"use strict";var r=n(84171);t.A=function(e,t,n){"__proto__"==t&&r.A?(0,r.A)(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},52851:function(e,t,n){"use strict";var r=n(52528),o=n(66984),i=Object.prototype.hasOwnProperty;t.A=function(e,t,n){var a=e[t];i.call(e,t)&&(0,o.A)(a,n)&&(void 0!==n||t in e)||(0,r.A)(e,t,n)}},52967:function(e,t,n){"use strict";var r=n(46706),o=n(20034),i=n(67750),a=n(73506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),a(r),o(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},53098:function(e,t){"use strict";t.A=function(e){return null!=e&&"object"==typeof e}},53226:function(e,t,n){"use strict";var r=n(98026),o=n(43870),i=n(43199),a=n(32322),s=n(5638),l=n(49890),c=n(35452),u=n(24711),d=(0,n(48170).$r)(),f=r.clone,h=r.bind,p=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(e,t,n,i){var a=t.get("value"),s=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,i||this._lastValue!==a||this._lastStatus!==s){this._lastValue=a,this._lastStatus=s;var l=this._group,c=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(c&&c.hide());l&&l.show(),c&&c.show();var u={};this.makeElOption(u,a,e,t,n);var d=u.graphicKey;d!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=d;var f=this._moveAnimation=this.determineAnimation(e,t);if(l){var h=r.curry(m,t,f);this.updatePointerEl(l,u,h),this.updateLabelEl(l,u,h,t)}else l=this._group=new o.A,this.createPointerEl(l,u,e,t),this.createLabelEl(l,u,e,t),n.getZr().add(l);y(l,t,!0),this._renderHandle(a)}},e.prototype.remove=function(e){this.clear(e)},e.prototype.dispose=function(e){this.clear(e)},e.prototype.determineAnimation=function(e,t){var n=t.get("animation"),r=e.axis,o="category"===r.type,i=t.get("snap");if(!i&&!o)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(o&&r.getBandWidth()>a)return!0;if(i){var s=l.Yc(e).seriesDataCount,c=r.getExtent();return Math.abs(c[0]-c[1])/s>a}return!1}return!0===n},e.prototype.makeElOption=function(e,t,n,r,o){},e.prototype.createPointerEl=function(e,t,n,r){var o=t.pointer;if(o){var a=d(e).pointerEl=new i[o.type](f(t.pointer));e.add(a)}},e.prototype.createLabelEl=function(e,t,n,r){if(t.label){var o=d(e).labelEl=new a.Ay(f(t.label));e.add(o),A(o,r)}},e.prototype.updatePointerEl=function(e,t,n){var r=d(e).pointerEl;r&&t.pointer&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},e.prototype.updateLabelEl=function(e,t,n,r){var o=d(e).labelEl;o&&(o.setStyle(t.label.style),n(o,{x:t.label.x,y:t.label.y}),A(o,r))},e.prototype._renderHandle=function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,o=this._api.getZr(),a=this._handle,s=n.getModel("handle"),l=n.get("status");if(!s.get("show")||!l||"hide"===l)return a&&o.remove(a),void(this._handle=null);this._handle||(t=!0,a=this._handle=i.createIcon(s.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){c.ds(e.event)},onmousedown:h(this._onHandleDragMove,this,0,0),drift:h(this._onHandleDragMove,this),ondragend:h(this._onHandleDragEnd,this)}),o.add(a)),y(a,n,!1),a.setStyle(s.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=s.get("size");r.isArray(d)||(d=[d,d]),a.scaleX=d[0]/2,a.scaleY=d[1]/2,u.N(this,"_doDispatchAxisPointer",s.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},e.prototype._moveHandleToValue=function(e,t){m(this._axisPointerModel,!t&&this._moveAnimation,this._handle,v(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(v(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(v(r)),d(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){if(this._handle){var e=this._payloadInfo,t=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:t.axis.dim,axisIndex:t.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),u.IU(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}},e}();function m(e,t,n,r){g(d(n).lastProp,r)||(d(n).lastProp=r,t?s.oi(n,r,e):(n.stopAnimation(),n.attr(r)))}function g(e,t){if(r.isObject(e)&&r.isObject(t)){var n=!0;return r.each(t,(function(t,r){n=n&&g(e[r],t)})),!!n}return e===t}function A(e,t){e[t.get(["label","show"])?"show":"hide"]()}function v(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function y(e,t,n){var r=t.get("z"),o=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=o&&(e.zlevel=o),e.silent=n)}))}t.A=p},53344:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});const r={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"}},53364:function(e,t,n){"use strict";n.d(t,{N:function(){return f},z:function(){return p}});var r=n(15215),o=n(5070),i=n(68717),a=n(89259),s=Math.min,l=Math.max;function c(e,t){return isNaN(e)||isNaN(t)}function u(e,t,n,r,o,i,a,u,d){for(var f,h,p,m,g,A,v=n,y=0;y<r;y++){var O=t[2*v],b=t[2*v+1];if(v>=o||v<0)break;if(c(O,b)){if(d){v+=i;continue}break}if(v===n)e[i>0?"moveTo":"lineTo"](O,b),p=O,m=b;else{var w=O-f,_=b-h;if(w*w+_*_<.5){v+=i;continue}if(a>0){for(var x=v+i,S=t[2*x],k=t[2*x+1];S===O&&k===b&&y<r;)y++,v+=i,S=t[2*(x+=i)],k=t[2*x+1],w=(O=t[2*v])-f,_=(b=t[2*v+1])-h;var C=y+1;if(d)for(;c(S,k)&&C<r;)C++,S=t[2*(x+=i)],k=t[2*x+1];var B=.5,Q=0,T=0,E=void 0,P=void 0;if(C>=r||c(S,k))g=O,A=b;else{Q=S-f,T=k-h;var $=O-f,M=S-O,z=b-h,R=k-b,D=void 0,I=void 0;if("x"===u){var N=Q>0?1:-1;g=O-N*(D=Math.abs($))*a,A=b,E=O+N*(I=Math.abs(M))*a,P=b}else if("y"===u){var L=T>0?1:-1;g=O,A=b-L*(D=Math.abs(z))*a,E=O,P=b+L*(I=Math.abs(R))*a}else D=Math.sqrt($*$+z*z),g=O-Q*a*(1-(B=(I=Math.sqrt(M*M+R*R))/(I+D))),A=b-T*a*(1-B),P=b+T*a*B,E=s(E=O+Q*a*B,l(S,O)),P=s(P,l(k,b)),E=l(E,s(S,O)),A=b-(T=(P=l(P,s(k,b)))-b)*D/I,g=s(g=O-(Q=E-O)*D/I,l(f,O)),A=s(A,l(h,b)),E=O+(Q=O-(g=l(g,s(f,O))))*I/D,P=b+(T=b-(A=l(A,s(h,b))))*I/D}e.bezierCurveTo(p,m,g,A,O,b),p=E,m=P}else e.lineTo(O,b)}f=O,h=b,v+=i}return y}var d=function(){this.smooth=0,this.smoothConstraint=!0},f=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return(0,r.C6)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new d},t.prototype.buildPath=function(e,t){var n=t.points,r=0,o=n.length/2;if(t.connectNulls){for(;o>0&&c(n[2*o-2],n[2*o-1]);o--);for(;r<o&&c(n[2*r],n[2*r+1]);r++);}for(;r<o;)r+=u(e,n,r,o,o,1,t.smooth,t.smoothMonotone,t.connectNulls)+1},t.prototype.getPointOn=function(e,t){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,r,o=this.path.data,s=i.A.CMD,l="x"===t,c=[],u=0;u<o.length;){var d=void 0,f=void 0,h=void 0,p=void 0,m=void 0,g=void 0,A=void 0;switch(o[u++]){case s.M:n=o[u++],r=o[u++];break;case s.L:if(d=o[u++],f=o[u++],(A=l?(e-n)/(d-n):(e-r)/(f-r))<=1&&A>=0){var v=l?(f-r)*A+r:(d-n)*A+n;return l?[e,v]:[v,e]}n=d,r=f;break;case s.C:d=o[u++],f=o[u++],h=o[u++],p=o[u++],m=o[u++],g=o[u++];var y=l?(0,a._E)(n,d,h,m,e,c):(0,a._E)(r,f,p,g,e,c);if(y>0)for(var O=0;O<y;O++){var b=c[O];if(b<=1&&b>=0)return v=l?(0,a.Yb)(r,f,p,g,b):(0,a.Yb)(n,d,h,m,b),l?[e,v]:[v,e]}n=m,r=g}}},t}(o.Ay),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t}(d),p=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new h},t.prototype.buildPath=function(e,t){var n=t.points,r=t.stackedOnPoints,o=0,i=n.length/2,a=t.smoothMonotone;if(t.connectNulls){for(;i>0&&c(n[2*i-2],n[2*i-1]);i--);for(;o<i&&c(n[2*o],n[2*o+1]);o++);}for(;o<i;){var s=u(e,n,o,i,i,1,t.smooth,a,t.connectNulls);u(e,r,o+s-1,s,i,-1,t.stackedOnSmooth,a,t.connectNulls),o+=s+1,e.closePath()}},t}(o.Ay)},53389:function(e,t,n){var r=n(35657),o=n(53848),i=n(54529);e.exports=function(e,t,n){var a={};if(e){if(!t)return e;o(t)||(t=i(t)),r(e,(function(r,o){a[o]=t.call(n,r,o,e)}))}return a}},53479:function(e,t,n){"use strict";function r(e){return isFinite(e)}function o(e,t,n){for(var o="radial"===t.type?function(e,t,n){var o=n.width,i=n.height,a=Math.min(o,i),s=null==t.x?.5:t.x,l=null==t.y?.5:t.y,c=null==t.r?.5:t.r;return t.global||(s=s*o+n.x,l=l*i+n.y,c*=a),s=r(s)?s:.5,l=r(l)?l:.5,c=c>=0&&r(c)?c:.5,e.createRadialGradient(s,l,0,s,l,c)}(e,t,n):function(e,t,n){var o=null==t.x?0:t.x,i=null==t.x2?1:t.x2,a=null==t.y?0:t.y,s=null==t.y2?0:t.y2;return t.global||(o=o*n.width+n.x,i=i*n.width+n.x,a=a*n.height+n.y,s=s*n.height+n.y),o=r(o)?o:0,i=r(i)?i:1,a=r(a)?a:0,s=r(s)?s:0,e.createLinearGradient(o,a,i,s)}(e,t,n),i=t.colorStops,a=0;a<i.length;a++)o.addColorStop(i[a].offset,i[a].color);return o}function i(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0;return!1}function a(e){return parseInt(e,10)}function s(e,t,n){var r=["width","height"][t],o=["clientWidth","clientHeight"][t],i=["paddingLeft","paddingTop"][t],s=["paddingRight","paddingBottom"][t];if(null!=n[r]&&"auto"!==n[r])return parseFloat(n[r]);var l=document.defaultView.getComputedStyle(e);return(e[o]||a(l[r])||a(e.style[r]))-(a(l[i])||0)-(a(l[s])||0)|0}n.d(t,{Ff:function(){return o},KU:function(){return i},YC:function(){return s}})},53600:function(e,t,n){"use strict";n.d(t,{K:function(){return a}});var r=n(61431),o=n(97786),i=n(90033);function a(e,{beforeFocus:t,afterFocus:n,beforeBlur:a,afterBlur:s}={}){const l=(0,r.getCurrentInstance)(),{emit:c}=l,u=(0,r.shallowRef)(),d=(0,r.ref)(!1),f=e=>{(0,i.Tn)(t)&&t(e)||d.value||(d.value=!0,c("focus",e),null==n||n())},h=e=>{var t;(0,i.Tn)(a)&&a(e)||e.relatedTarget&&(null==(t=u.value)?void 0:t.contains(e.relatedTarget))||(d.value=!1,c("blur",e),null==s||s())};return(0,r.watch)(u,(e=>{e&&e.setAttribute("tabindex","-1")})),(0,o.MLh)(u,"focus",f,!0),(0,o.MLh)(u,"blur",h,!0),(0,o.MLh)(u,"click",(()=>{var t,n;(null==(t=u.value)?void 0:t.contains(document.activeElement))&&u.value!==document.activeElement||null==(n=e.value)||n.focus()}),!0),{isFocused:d,wrapperRef:u,handleFocus:f,handleBlur:h}}},53838:function(e,t,n){"use strict";var r=n(97080),o=n(25170),i=n(38469),a=n(83789);e.exports=function(e){var t=r(this),n=a(e);return!(o(t)>n.size)&&!1!==i(t,(function(e){if(!n.includes(e))return!1}),!0)}},53847:function(e,t,n){n(31148)},53848:function(e,t,n){var r=n(98594)("function");e.exports=r},53849:function(e,t,n){"use strict";var r=n(15215),o=n(5070),i=n(83509),a=n(89259),s=[],l=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function c(e,t,n){var r=e.cpx2,o=e.cpy2;return null!=r||null!=o?[(n?a.rD:a.Yb)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?a.rD:a.Yb)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?a.z7:a.k3)(e.x1,e.cpx1,e.x2,t),(n?a.z7:a.k3)(e.y1,e.cpy1,e.y2,t)]}var u=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new l},t.prototype.buildPath=function(e,t){var n=t.x1,r=t.y1,o=t.x2,i=t.y2,l=t.cpx1,c=t.cpy1,u=t.cpx2,d=t.cpy2,f=t.percent;0!==f&&(e.moveTo(n,r),null==u||null==d?(f<1&&((0,a.kx)(n,l,o,f,s),l=s[1],o=s[2],(0,a.kx)(r,c,i,f,s),c=s[1],i=s[2]),e.quadraticCurveTo(l,c,o,i)):(f<1&&((0,a.YT)(n,l,u,o,f,s),l=s[1],u=s[2],o=s[3],(0,a.YT)(r,c,d,i,f,s),c=s[1],d=s[2],i=s[3]),e.bezierCurveTo(l,c,u,d,o,i)))},t.prototype.pointAt=function(e){return c(this.shape,e,!1)},t.prototype.tangentAt=function(e){var t=c(this.shape,e,!0);return i.normalize(t,t)},t}(o.Ay);u.prototype.type="bezier-curve",t.A=u},53876:function(e,t,n){var r=n(63982),o=n(73367),i=n(48007),a=n(74409),s=n(6060);function l(e){return"(\\d{"+e+"})"}function c(e){return isNaN(e)?e:r(e)}for(var u=l(2),d=l("1,2"),f=l("1,7"),h=l("3,4"),p=".{1}",m=p+d,g="(([zZ])|([-+]\\d{2}:?\\d{2}))",A=[h,m,m,m,m,m,p+f,g],v=[],y=A.length-1;y>=0;y--){for(var O="",b=0;b<y+1;b++)O+=A[b];v.push(new RegExp("^"+O+"$"))}var w=[["yyyy",h],["yy",u],["MM",u],["M",d],["dd",u],["d",d],["HH",u],["H",d],["mm",u],["m",d],["ss",u],["s",d],["SSS",l(3)],["S",f],["Z",g]],_={},x=["\\[([^\\]]+)\\]"];for(b=0;b<w.length;b++){var S=w[b];_[S[0]]=S[1]+"?",x.push(S[0])}var k=new RegExp(x.join("|"),"g"),C={};e.exports=function(e,t){if(e){var n=s(e);if(n||!t&&/^[0-9]{11,15}$/.test(e))return new Date(n?i(e):r(e));if(a(e)){var l=t?function(e,t){var n=C[t];if(!n){var r=[],o=t.replace(/([$(){}*+.?\\^|])/g,"\\$1").replace(k,(function(e,t){var n=e.charAt(0);return"["===n?t:(r.push(n),_[e])}));n=C[t]={_i:r,_r:new RegExp(o)}}var i={},a=e.match(n._r);if(a){for(var s=n._i,l=1,c=a.length;l<c;l++)i[s[l-1]]=a[l];return i}return i}(e,t):function(e){for(var t,n={},r=0,o=v.length;r<o;r++)if(t=e.match(v[r])){n.y=t[1],n.M=t[2],n.d=t[3],n.H=t[4],n.m=t[5],n.s=t[6],n.S=t[7],n.Z=t[8];break}return n}(e);if(l.y)return l.M&&(l.M=c(l.M)-1),l.S&&(l.S=(u=c(l.S.substring(0,3)))<10?100*u:u<100?10*u:u),l.Z?function(e){if(/^[zZ]/.test(e.Z))return new Date(o(e));var t=e.Z.match(/([-+])(\d{2}):?(\d{2})/);return t?new Date(o(e)-("-"===t[1]?-1:1)*r(t[2])*36e5+6e4*r(t[3])):new Date("")}(l):new Date(l.y,l.M||0,l.d||1,l.H||0,l.m||0,l.s||0,l.S||0)}}var u;return new Date("")}},53954:function(e,t,n){var r=n(2237),o=n(60843);e.exports=function(e){return""+(o(e)?"":e)+r.keyId++}},54176:function(){!function(){"use strict";var e,t,n=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=0,o=tinymce.util.Tools.resolve("tinymce.util.Promise"),i=tinymce.util.Tools.resolve("tinymce.Env"),a=tinymce.util.Tools.resolve("tinymce.util.Delay"),s=function(e){e.ui.registry.addButton("quickimage",{icon:"image",tooltip:"Insert image",onAction:function(){(function(e){return new o((function(t){var n=document.createElement("input");n.type="file",n.accept="image/*",n.style.position="fixed",n.style.left="0",n.style.top="0",n.style.opacity="0.001",document.body.appendChild(n),n.addEventListener("change",(function(e){t(Array.prototype.slice.call(e.target.files))}));var r=function(o){var s=function(){t([]),n.parentNode.removeChild(n)};i.os.isAndroid()&&"remove"!==o.type?a.setEditorTimeout(e,s,0):s(),e.off("focusin remove",r)};e.on("focusin remove",r),n.click()}))})(e).then((function(t){if(t.length>0){var n=t[0];(i=n,new o((function(e){var t=new FileReader;t.onloadend=function(){e(t.result.split(",")[1])},t.readAsDataURL(i)}))).then((function(t){!function(e,t,n){var o,i=e.editorUpload.blobCache,a=i.create((o=(new Date).getTime(),"mceu_"+Math.floor(1e9*Math.random())+ ++r+String(o)),n,t);i.add(a),e.insertContent(e.dom.createHTML("img",{src:a.blobUri()}))}(e,t,n)}))}var i}))}}),e.ui.registry.addButton("quicktable",{icon:"table",tooltip:"Insert table",onAction:function(){!function(e){e.plugins.table?e.plugins.table.insertTable(2,2):function(e){e.undoManager.transact((function(){e.insertContent(function(){var e='<table data-mce-id="mce" style="width: 100%">';e+="<tbody>";for(var t=0;t<2;t++){e+="<tr>";for(var n=0;n<2;n++)e+="<td><br></td>";e+="</tr>"}return(e+="</tbody>")+"</table>"}());var t=function(e){return e.dom.select("*[data-mce-id]")[0]}(e);t.removeAttribute("data-mce-id");var n=e.dom.select("td,th",t);e.selection.setCursorLocation(n[0],0)}))}(e)}(e)}})},l=function(e){return function(t){return r=typeof(n=t),(null===n?"null":"object"===r&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"===r&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":r)===e;var n,r}},c=function(e){return function(t){return typeof t===e}},u=l("string"),d=l("object"),f=l("array"),h=c("boolean"),p=function(e){return undefined===e},m=c("function"),g=function(e){return function(){return e}},A=g(!1),v=g(!0),y=function(){return O},O={fold:function(e,t){return e()},isSome:A,isNone:v,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:g(null),getOrUndefined:g(void 0),or:t,orThunk:e,map:y,each:function(){},bind:y,exists:A,forall:v,filter:function(){return y()},toArray:function(){return[]},toString:g("none()")},b=function(e){var t=g(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:v,isNone:A,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return b(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:O},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},w={some:b,none:y,from:function(e){return null==e?O:b(e)}};function _(e,t,n,r,o){return e(n,r)?w.some(n):m(o)&&o(n)?w.none():t(n,r,o)}var x=function(e){if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},S=x,k=function(e,t){var n=e.dom;if(1!==n.nodeType)return!1;var r=n;if(void 0!==r.matches)return r.matches(t);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(t);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")};"undefined"!=typeof window?window:Function("return this;")();var C,B=function(e,t,n){for(var r=e.dom,o=m(n)?n:A;r.parentNode;){r=r.parentNode;var i=S(r);if(t(i))return w.some(i);if(o(i))break}return w.none()},Q=function(e,t,n){return B(e,(function(e){return k(e,t)}),n)},T=(C=u,function(e,t,n){return function(e,t){if(t(e))return!0;throw new Error("Default value doesn't match requested type.")}(n,C),function(e,t){if(f(e)||d(e))throw new Error("expected a string but found: "+e);return p(e)?t:h(e)?!1===e?"":t:e}(e.getParam(t,n),n)}),E=function(e){var t=function(e){return T(e,"quickbars_insert_toolbar","quickimage quicktable")}(e);t.trim().length>0&&e.ui.registry.addContextToolbar("quickblock",{predicate:function(t){var n=S(t),r=e.schema.getTextBlockElements(),o=function(t){return t.dom===e.getBody()};return function(e,t,n){return _((function(e,t){return k(e,t)}),Q,e,"table",n)}(n,0,o).fold((function(){return function(t,n,o){return _((function(e,t){return t(e)}),B,t,(function(t){return t.dom.nodeName.toLowerCase()in r&&e.dom.isEmpty(t.dom)}),o)}(n,0,o).isSome()}),A)},items:t,position:"line",scope:"editor"})};n.add("quickbars",(function(e){s(e),E(e),function(e){var t=function(e){return"IMG"===e.nodeName||"FIGURE"===e.nodeName&&/image/i.test(e.className)},n=function(e){return T(e,"quickbars_image_toolbar","alignleft aligncenter alignright")}(e);n.trim().length>0&&e.ui.registry.addContextToolbar("imageselection",{predicate:t,items:n,position:"node"});var r=function(e){return T(e,"quickbars_selection_toolbar","bold italic | quicklink h2 h3 blockquote")}(e);r.trim().length>0&&e.ui.registry.addContextToolbar("textselection",{predicate:function(n){return!t(n)&&!e.selection.isCollapsed()&&function(t){return"false"!==e.dom.getContentEditableParent(t)}(n)},items:r,position:"selection",scope:"editor"})}(e)}))}()},54364:function(e){e.exports=function(){return new Date}},54477:function(e){e.exports=function(e){return!!e&&e.constructor===Object}},54529:function(e,t,n){var r=n(2801);e.exports=function(e,t){return function(n){return r(n)?t:n[e]}}},55002:function(e){"use strict";e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},55042:function(e,t,n){e.exports=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self;var t=e((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(e){return Array.isArray(e)?[]:{}}function n(n,r){return r&&!0===r.clone&&e(n)?i(t(n),n,r):n}function r(t,r,o){var a=t.slice();return r.forEach((function(r,s){void 0===a[s]?a[s]=n(r,o):e(r)?a[s]=i(t[s],r,o):-1===t.indexOf(r)&&a.push(n(r,o))})),a}function o(t,r,o){var a={};return e(t)&&Object.keys(t).forEach((function(e){a[e]=n(t[e],o)})),Object.keys(r).forEach((function(s){e(r[s])&&t[s]?a[s]=i(t[s],r[s],o):a[s]=n(r[s],o)})),a}function i(e,t,i){var a=Array.isArray(t),s=(i||{arrayMerge:r}).arrayMerge||r;return a?Array.isArray(e)?s(e,t,i):n(t,i):o(e,t,i)}return i.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return i(e,n,t)}))},i}()}));var r=e((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),o=r.svg,i=r.xlink,a={};a[o.name]=o.uri,a[i.name]=i.uri;var s,l=function(e,n){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,"&quot;")+'"'})).join(" ")}(t(a,n||{}))+">"+e+"</svg>"},c=r.svg,u=r.xlink,d={attrs:(s={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},s[c.name]=c.uri,s[u.name]=u.uri,s)},f=function(e){this.config=t(d,e||{}),this.symbols=[]};f.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},f.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},f.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},f.prototype.has=function(e){return null!==this.find(e)},f.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return l(t,e)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var h=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};h.prototype.stringify=function(){return this.content},h.prototype.toString=function(){return this.stringify()},h.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var p=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},m=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return p(l(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(h),g={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},A=function(e){return Array.prototype.slice.call(e,0)},v=function(){return/firefox/i.test(navigator.userAgent)},y=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},O=function(){return/edge/i.test(navigator.userAgent)},b=function(e){return(e||window.location.href).split("#")[0]},w=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,r){var o,i,a;o=e,i={oldUrl:r,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(a)}))}])},_=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),A(e.querySelectorAll("symbol")).forEach((function(e){A(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e};var x=r.xlink.uri,S="xlink:href",k=/[{}|\\\^\[\]`"<>]/g;function C(e){return e.replace(k,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}var B,Q=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],T=Q.map((function(e){return"["+e+"]"})).join(","),E=function(e,t,n,r){var o,i,a=C(n),s=C(r);(o=e.querySelectorAll(T),i=function(e){var t=e.localName,n=e.value;return-1!==Q.indexOf(t)&&-1!==n.indexOf("url("+a)},A(o).reduce((function(e,t){if(!t.attributes)return e;var n=A(t.attributes),r=i?n.filter(i):n;return e.concat(r)}),[])).forEach((function(e){return e.value=e.value.replace(new RegExp(a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),s)})),function(e,t,n){A(e).forEach((function(e){var r=e.getAttribute(S);if(r&&0===r.indexOf(t)){var o=r.replace(t,n);e.setAttributeNS(x,S,o)}}))}(t,a,s)},P="mount",$="symbol_mount",M=function(e){function n(n){var r=this;void 0===n&&(n={}),e.call(this,t(g,n));var o,i=(o=o||Object.create(null),{on:function(e,t){(o[e]||(o[e]=[])).push(t)},off:function(e,t){o[e]&&o[e].splice(o[e].indexOf(t)>>>0,1)},emit:function(e,t){(o[e]||[]).map((function(e){e(t)})),(o["*"]||[]).map((function(n){n(e,t)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(n),a.syncUrlsWithBaseTag){var s=document.getElementsByTagName("base")[0].getAttribute("href");i.on(P,(function(){return r.updateUrls("#",s)}))}var l=this._handleLocationChange.bind(this);this._handleLocationChange=l,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,l),a.locationChangeAngularEmitter&&w(a.locationChangeEvent),i.on(P,(function(e){a.moveGradientsOutsideSymbol&&_(e)})),i.on($,(function(e){var t;a.moveGradientsOutsideSymbol&&_(e.parentNode),(y()||O())&&(t=[],A(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})))}))}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},n.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=v())},n.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,r=t.newUrl;this.updateUrls(n,r)},n.prototype.add=function(t){var n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(this.node),this._emitter.emit($,t.node)),n},n.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof e?document.querySelector(e):e;return n.node=r,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit($,e.node)})),A(r.querySelectorAll("symbol")).forEach((function(e){var t=m.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(P,r),r},n.prototype.destroy=function(){var e=this,t=e.config,n=e.symbols,r=e._emitter;n.forEach((function(e){return e.destroy()})),r.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},n.prototype.mount=function(e,t){void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1);var n=this;if(n.isMounted)return n.node;var r="string"==typeof e?document.querySelector(e):e,o=n.render();return this.node=o,t&&r.childNodes[0]?r.insertBefore(o,r.childNodes[0]):r.appendChild(o),this._emitter.emit(P,o),o},n.prototype.render=function(){return p(this.stringify())},n.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},n.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return E(this.node,n,b(e)+"#",b(t)+"#"),!0},Object.defineProperties(n.prototype,r),n}(f),z=e((function(e){var t;t=function(){var e,t=[],n=document,r=n.documentElement.doScroll,o="DOMContentLoaded",i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState);return i||n.addEventListener(o,e=function(){for(n.removeEventListener(o,e),i=1;e=t.shift();)e()}),function(e){i?setTimeout(e,0):t.push(e)}},e.exports=t()})),R="__SVG_SPRITE_NODE__",D="__SVG_SPRITE__";window[D]?B=window[D]:(B=new M({attrs:{id:R,"aria-hidden":"true"}}),window[D]=B);var I=function(){var e=document.getElementById(R);e?B.attach(e):B.mount(document.body,!0)};return document.body?I():z(I),B}()},55081:function(e,t,n){n(51190)},55158:function(e,t,n){"use strict";n.d(t,{Mc:function(){return a},GT:function(){return s},YD:function(){return i}});var r=n(77500),o=n(37346);const i=e=>Object.keys(e),a=e=>Object.entries(e),s=(e,t,n)=>({get value(){return(0,r.A)(e,t,n)},set value(n){!function(e,t,n){null==e||(0,o.A)(e,t,n)}(e,t,n)}})},55169:function(e,t,n){"use strict";var r=n(3238),o=TypeError;e.exports=function(e){if(r(e))throw new o("ArrayBuffer is detached");return e}},55392:function(e,t,n){var r=n(48614)("",0,2,!0);e.exports=r},55623:function(e,t,n){var r=n(6060),o=n(53876),i=n(54364);e.exports=function(e){var t,n=e?o(e):i();return!!r(n)&&(t=n.getFullYear())%4==0&&(t%100!=0||t%400==0)}},55638:function(e,t,n){"use strict";n.r(t),n.d(t,{assign:function(){return m},create:function(){return A},createEmitter:function(){return L},deepCopy:function(){return U},escapeHtml:function(){return O},format:function(){return s},friendlyJSONstringify:function(){return u},generateCodeFrame:function(){return R},generateFormatCacheKey:function(){return c},getGlobalThis:function(){return y},hasOwn:function(){return w},inBrowser:function(){return r},isArray:function(){return _},isBoolean:function(){return k},isDate:function(){return f},isEmptyObject:function(){return p},isFunction:function(){return x},isNumber:function(){return d},isObject:function(){return B},isPlainObject:function(){return P},isPromise:function(){return Q},isRegExp:function(){return h},isString:function(){return S},isSymbol:function(){return C},join:function(){return M},makeSymbol:function(){return l},mark:function(){return o},measure:function(){return i},objectToString:function(){return T},toDisplayString:function(){return $},toTypeString:function(){return E},warn:function(){return D},warnOnce:function(){return N}});const r="undefined"!=typeof window;let o,i;{const e=r&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(o=t=>{e.mark(t)},i=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const a=/\{([0-9a-zA-Z]+)\}/g;function s(e,...t){return 1===t.length&&B(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(a,((e,n)=>t.hasOwnProperty(n)?t[n]:""))}const l=(e,t=!1)=>t?Symbol.for(e):Symbol(e),c=(e,t,n)=>u({l:e,k:t,s:n}),u=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),d=e=>"number"==typeof e&&isFinite(e),f=e=>"[object Date]"===E(e),h=e=>"[object RegExp]"===E(e),p=e=>P(e)&&0===Object.keys(e).length,m=Object.assign,g=Object.create,A=(e=null)=>g(e);let v;const y=()=>v||(v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:A());function O(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const b=Object.prototype.hasOwnProperty;function w(e,t){return b.call(e,t)}const _=Array.isArray,x=e=>"function"==typeof e,S=e=>"string"==typeof e,k=e=>"boolean"==typeof e,C=e=>"symbol"==typeof e,B=e=>null!==e&&"object"==typeof e,Q=e=>B(e)&&x(e.then)&&x(e.catch),T=Object.prototype.toString,E=e=>T.call(e),P=e=>"[object Object]"===E(e),$=e=>null==e?"":_(e)||P(e)&&e.toString===T?JSON.stringify(e,null,2):String(e);function M(e,t=""){return e.reduce(((e,n,r)=>0===r?e+n:e+t+n),"")}const z=2;function R(e,t=0,n=e.length){const r=e.split(/\r?\n/);let o=0;const i=[];for(let e=0;e<r.length;e++)if(o+=r[e].length+1,o>=t){for(let a=e-z;a<=e+z||n>o;a++){if(a<0||a>=r.length)continue;const s=a+1;i.push(`${s}${" ".repeat(3-String(s).length)}| ${r[a]}`);const l=r[a].length;if(a===e){const e=t-(o-l)+1,r=Math.max(1,n>o?l-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(a>e){if(n>o){const e=Math.max(Math.min(n-o,l),1);i.push(" | "+"^".repeat(e))}o+=l+1}}break}return i.join("\n")}function D(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const I={};function N(e){I[e]||(I[e]=!0,D(e))}function L(){const e=new Map;return{events:e,on(t,n){const r=e.get(t);r&&r.push(n)||e.set(t,[n])},off(t,n){const r=e.get(t);r&&r.splice(r.indexOf(n)>>>0,1)},emit(t,n){(e.get(t)||[]).slice().map((e=>e(n))),(e.get("*")||[]).slice().map((e=>e(t,n)))}}}const V=e=>!B(e)||_(e);function U(e,t){if(V(e)||V(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:e,des:t}=n.pop();Object.keys(e).forEach((r=>{"__proto__"!==r&&(B(e[r])&&!B(t[r])&&(t[r]=Array.isArray(e[r])?[]:A()),V(t[r])||V(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))}))}}},55644:function(e,t,n){var r=n(40870);e.exports=function(e){var t=r(e);return t[t.length-1]}},55775:function(e,t,n){n(27524)},55854:function(e,t,n){"use strict";n.d(t,{$9:function(){return O},$H:function(){return d},CZ:function(){return u},F7:function(){return g},FP:function(){return I},GP:function(){return b},KF:function(){return R},Lm:function(){return p},MA:function(){return c},OY:function(){return s},Wf:function(){return T},X_:function(){return w},Yd:function(){return z},Zz:function(){return E},bP:function(){return C},ce:function(){return y},eV:function(){return A},g0:function(){return x},hY:function(){return S},iC:function(){return B},iW:function(){return l},jJ:function(){return k},tM:function(){return P},ti:function(){return M},ww:function(){return D},xu:function(){return $},yB:function(){return Q},ym:function(){return v}});var r=n(98026),o=n(24326),i=n(56629),a=n(5202),s=1e3,l=60*s,c=60*l,u=24*c,d=365*u,f={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},h="{yyyy}-{MM}-{dd}",p={year:"{yyyy}",month:"{yyyy}-{MM}",day:h,hour:h+" "+f.hour,minute:h+" "+f.minute,second:h+" "+f.second,millisecond:f.none},m=["year","month","day","hour","minute","second","millisecond"],g=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function A(e,t){return"0000".substr(0,t-(e+="").length)+e}function v(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function y(e){return e===v(e)}function O(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function b(e,t,n,r){var s=o._U(e),l=s[S(n)](),c=s[k(n)]()+1,u=Math.floor((c-1)/3)+1,d=s[C(n)](),f=s["get"+(n?"UTC":"")+"Day"](),h=s[B(n)](),p=(h-1)%12+1,m=s[Q(n)](),g=s[T(n)](),v=s[E(n)](),y=h>=12?"pm":"am",O=y.toUpperCase(),b=(r instanceof a.A?r:(0,i.A4)(r||i.Lv)||(0,i.pr)()).getModel("time"),w=b.get("month"),_=b.get("monthAbbr"),x=b.get("dayOfWeek"),P=b.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,y+"").replace(/{A}/g,O+"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,A(l%100+"",2)).replace(/{Q}/g,u+"").replace(/{MMMM}/g,w[c-1]).replace(/{MMM}/g,_[c-1]).replace(/{MM}/g,A(c,2)).replace(/{M}/g,c+"").replace(/{dd}/g,A(d,2)).replace(/{d}/g,d+"").replace(/{eeee}/g,x[f]).replace(/{ee}/g,P[f]).replace(/{e}/g,f+"").replace(/{HH}/g,A(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,A(p+"",2)).replace(/{h}/g,p+"").replace(/{mm}/g,A(m,2)).replace(/{m}/g,m+"").replace(/{ss}/g,A(g,2)).replace(/{s}/g,g+"").replace(/{SSS}/g,A(v,3)).replace(/{S}/g,v+"")}function w(e,t,n,o,i){var a=null;if(r.isString(n))a=n;else if(r.isFunction(n))a=n(e.value,t,{level:e.level});else{var s=r.extend({},f);if(e.level>0)for(var l=0;l<m.length;++l)s[m[l]]="{primary|"+s[m[l]]+"}";var c=n?!1===n.inherit?n:r.defaults(n,s):s,u=_(e.value,i);if(c[u])a=c[u];else if(c.inherit){for(l=g.indexOf(u)-1;l>=0;--l)if(c[u]){a=c[u];break}a=a||s.none}if(r.isArray(a)){var d=null==e.level?0:e.level>=0?e.level:a.length+e.level;a=a[d=Math.min(d,a.length-1)]}}return b(new Date(e.value),a,i,o)}function _(e,t){var n=o._U(e),r=n[k(t)]()+1,i=n[C(t)](),a=n[B(t)](),s=n[Q(t)](),l=n[T(t)](),c=0===n[E(t)](),u=c&&0===l,d=u&&0===s,f=d&&0===a,h=f&&1===i;return h&&1===r?"year":h?"month":f?"day":d?"hour":u?"minute":c?"second":"millisecond"}function x(e,t,n){var i=r.isNumber(e)?o._U(e):e;switch(t=t||_(e,n)){case"year":return i[S(n)]();case"half-year":return i[k(n)]()>=6?1:0;case"quarter":return Math.floor((i[k(n)]()+1)/4);case"month":return i[k(n)]();case"day":return i[C(n)]();case"half-day":return i[B(n)]()/24;case"hour":return i[B(n)]();case"minute":return i[Q(n)]();case"second":return i[T(n)]();case"millisecond":return i[E(n)]()}}function S(e){return e?"getUTCFullYear":"getFullYear"}function k(e){return e?"getUTCMonth":"getMonth"}function C(e){return e?"getUTCDate":"getDate"}function B(e){return e?"getUTCHours":"getHours"}function Q(e){return e?"getUTCMinutes":"getMinutes"}function T(e){return e?"getUTCSeconds":"getSeconds"}function E(e){return e?"getUTCMilliseconds":"getMilliseconds"}function P(e){return e?"setUTCFullYear":"setFullYear"}function $(e){return e?"setUTCMonth":"setMonth"}function M(e){return e?"setUTCDate":"setDate"}function z(e){return e?"setUTCHours":"setHours"}function R(e){return e?"setUTCMinutes":"setMinutes"}function D(e){return e?"setUTCSeconds":"setSeconds"}function I(e){return e?"setUTCMilliseconds":"setMilliseconds"}},55911:function(e,t,n){n(87516)},55966:function(e,t,n){"use strict";var r=n(79306),o=n(64117);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},56279:function(e,t,n){"use strict";var r=n(36840);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},56448:function(e,t,n){"use strict";n.d(t,{Dl:function(){return i},M:function(){return r},pO:function(){return o}});var r=1,o=2,i=4},56629:function(e,t,n){"use strict";n.d(t,{Lv:function(){return d},A$:function(){return h},pr:function(){return m},A4:function(){return p},E:function(){return f}});var r=n(5202),o=n(38123),i=n(98026),a="ZH",s="EN",l=s,c={},u={},d=o.A.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||l).toUpperCase().indexOf(a)>-1?a:l;function f(e,t){e=e.toUpperCase(),u[e]=new r.A(t),c[e]=t}function h(e){if((0,i.isString)(e)){var t=c[e.toUpperCase()]||{};return e===a||e===s?(0,i.clone)(t):(0,i.merge)((0,i.clone)(t),(0,i.clone)(c[l]),!1)}return(0,i.merge)((0,i.clone)(e),(0,i.clone)(c[l]),!1)}function p(e){return u[e]}function m(){return u[l]}f(s,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),f(a,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}",withoutName:"第{seriesId}个系列是一个{seriesType}",separator:{middle:"",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:"",end:""}}}})},56816:function(e,t,n){var r=n(2237),o=n(21323),i=n(65571),a=n(48007),s=n(53876),l=n(35224),c=n(89093);e.exports=function(e,t,n,u){if(e=s(e),l(e)){var d=c(n),f=c(u),h=a(e);if(d||f){var p=f?u:r.firstDayOfWeek,m=e.getDay(),g=d?n:m;if(m!==g){var A=0;p>m?A=-(7-p+m):p<m&&(A=p-m),h+=g>p?((0===g?7:g)-p+A)*o:g<p?(7-p+g+A)*o:A*o}}return t&&!isNaN(t)&&(h+=t*i),new Date(h)}return e}},56912:function(e,t,n){n(85645)},56969:function(e,t,n){"use strict";var r=n(72777),o=n(10757);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},56992:function(e,t,n){var r=n(2237),o=n(28966),i=n(2721),a=n(49248),s=n(89093),l=n(40481),c=n(539),u=n(99917),d=n(24993);e.exports=function(e,t){var n,f,h,p,m,g=d({},r.commafyOptions,t),A=g.digits;return s(e)?(n=(g.ceil?i:g.floor?a:o)(e,A),p=(f=u(A?c(n,A):n).split("."))[0],m=f[1],(h=p&&n<0)&&(p=p.substring(1,p.length))):p=(f=(n=l(e).replace(/,/g,""))?[n]:[])[0],f.length?(h?"-":"")+p.replace(new RegExp("(?=(?!(\\b))(.{"+(g.spaceNumber||3)+"})+$)","g"),g.separator||",")+(m?"."+m:""):n}},57043:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){if(0===o)return!1;var s,l=o;if(a>t+l&&a>r+l||a<t-l&&a<r-l||i>e+l&&i>n+l||i<e-l&&i<n-l)return!1;if(e===n)return Math.abs(i-e)<=l/2;var c=(s=(t-r)/(e-n))*i-a+(e*r-n*t)/(e-n);return c*c/(s*s+1)<=l/2*l/2}n.d(t,{l:function(){return r}})},57235:function(){!function(){"use strict";var e=function(e){return function(t){return r=typeof(n=t),(null===n?"null":"object"===r&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"===r&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":r)===e;var n,r}},t=function(e){return function(t){return typeof t===e}},n=function(e){return function(t){return e===t}},r=e("string"),o=e("object"),i=e("array"),a=n(null),s=t("boolean"),l=n(void 0),c=function(e){return!function(e){return null==e}(e)},u=t("function"),d=t("number"),f=function(){},h=function(e){return function(){return e}},p=function(e){return e},m=function(e,t){return e===t};function g(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=t.concat(n);return e.apply(null,o)}}var A,v,y=function(e){return function(t){return!e(t)}},O=h(!1),b=h(!0),w=function(){return _},_={fold:function(e,t){return e()},isSome:O,isNone:b,getOr:v=p,getOrThunk:A=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:h(null),getOrUndefined:h(void 0),or:v,orThunk:A,map:w,each:f,bind:w,exists:O,forall:b,filter:function(){return w()},toArray:function(){return[]},toString:h("none()")},x=function(e){var t=h(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:b,isNone:O,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return x(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:_},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},S={some:x,none:w,from:function(e){return null==e?_:x(e)}},k=Array.prototype.slice,C=Array.prototype.indexOf,B=Array.prototype.push,Q=function(e,t){return n=e,r=t,C.call(n,r)>-1;var n,r},T=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t(e[n],n))return!0;return!1},E=function(e,t){for(var n=[],r=0;r<e;r++)n.push(t(r));return n},P=function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r},$=function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)},M=function(e,t){for(var n=[],r=[],o=0,i=e.length;o<i;o++){var a=e[o];(t(a,o)?n:r).push(a)}return{pass:n,fail:r}},z=function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];t(i,r)&&n.push(i)}return n},R=function(e,t,n){return function(e,t){for(var n=e.length-1;n>=0;n--)t(e[n],n)}(e,(function(e,r){n=t(n,e,r)})),n},D=function(e,t,n){return $(e,(function(e,r){n=t(n,e,r)})),n},I=function(e,t){return function(e,t,n){for(var r=0,o=e.length;r<o;r++){var i=e[r];if(t(i,r))return S.some(i);if(n(i,r))break}return S.none()}(e,t,O)},N=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t(e[n],n))return S.some(n);return S.none()},L=function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!i(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);B.apply(t,e[n])}return t},V=function(e,t){return L(P(e,t))},U=function(e,t){for(var n=0,r=e.length;n<r;++n)if(!0!==t(e[n],n))return!1;return!0},F=function(e,t){for(var n={},r=0,o=e.length;r<o;r++){var i=e[r];n[String(i)]=t(i,r)}return n},H=function(e){return[e]},W=function(e,t){return t>=0&&t<e.length?S.some(e[t]):S.none()},X=function(e){return W(e,0)},j=function(e){return W(e,e.length-1)},q=function(e,t){for(var n=0;n<e.length;n++){var r=t(e[n],n);if(r.isSome())return r}return S.none()},Z=function(){return Z=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Z.apply(this,arguments)};function Y(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var G=function(e){var t,n=!1;return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return n||(n=!0,t=e.apply(null,r)),t}},K=function(){return J(0,0)},J=function(e,t){return{major:e,minor:t}},ee={nu:J,detect:function(e,t){var n=String(t).toLowerCase();return 0===e.length?K():function(e,t){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.test(t))return r}}(e,t);if(!n)return{major:0,minor:0};var r=function(e){return Number(t.replace(n,"$"+e))};return J(r(1),r(2))}(e,n)},unknown:K},te=function(e,t){var n=String(t).toLowerCase();return I(e,(function(e){return e.search(n)}))},ne=function(e,t,n){return""===t||e.length>=t.length&&e.substr(n,n+t.length)===t},re=function(e,t){return-1!==e.indexOf(t)},oe=function(e,t){return ne(e,t,0)},ie=function(e,t){return ne(e,t,e.length-t.length)},ae=function(e){return function(t){return t.replace(e,"")}}(/^\s+|\s+$/g),se=function(e){return e.length>0},le=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,ce=function(e){return function(t){return re(t,e)}},ue=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return re(e,"edge/")&&re(e,"chrome")&&re(e,"safari")&&re(e,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,le],search:function(e){return re(e,"chrome")&&!re(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return re(e,"msie")||re(e,"trident")}},{name:"Opera",versionRegexes:[le,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:ce("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:ce("firefox")},{name:"Safari",versionRegexes:[le,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(re(e,"safari")||re(e,"mobile/"))&&re(e,"applewebkit")}}],de=[{name:"Windows",search:ce("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return re(e,"iphone")||re(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:ce("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:ce("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:ce("linux"),versionRegexes:[]},{name:"Solaris",search:ce("sunos"),versionRegexes:[]},{name:"FreeBSD",search:ce("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:ce("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],fe={browsers:h(ue),oses:h(de)},he="Edge",pe="Chrome",me="Opera",ge="Firefox",Ae="Safari",ve=function(e){var t=e.current,n=e.version,r=function(e){return function(){return t===e}};return{current:t,version:n,isEdge:r(he),isChrome:r(pe),isIE:r("IE"),isOpera:r(me),isFirefox:r(ge),isSafari:r(Ae)}},ye=function(){return ve({current:void 0,version:ee.unknown()})},Oe=ve,be=(h(he),h(pe),h("IE"),h(me),h(ge),h(Ae),"Windows"),we="Android",_e="Linux",xe="Solaris",Se="FreeBSD",ke="ChromeOS",Ce=function(e){var t=e.current,n=e.version,r=function(e){return function(){return t===e}};return{current:t,version:n,isWindows:r(be),isiOS:r("iOS"),isAndroid:r(we),isOSX:r("OSX"),isLinux:r(_e),isSolaris:r(xe),isFreeBSD:r(Se),isChromeOS:r(ke)}},Be=function(){return Ce({current:void 0,version:ee.unknown()})},Qe=Ce,Te=(h(be),h("iOS"),h(we),h(_e),h("OSX"),h(xe),h(Se),h(ke),function(e){return window.matchMedia(e).matches}),Ee=G((function(){return function(e,t,n){var r=fe.browsers(),o=fe.oses(),i=t.bind((function(e){return function(e,t){return q(t.brands,(function(t){var n=t.brand.toLowerCase();return I(e,(function(e){var t;return n===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((function(e){return{current:e.name,version:ee.nu(parseInt(t.version,10),0)}}))}))}(r,e)})).orThunk((function(){return function(e,t){return te(e,t).map((function(e){var n=ee.detect(e.versionRegexes,t);return{current:e.name,version:n}}))}(r,e)})).fold(ye,Oe),a=function(e,t){return te(e,t).map((function(e){var n=ee.detect(e.versionRegexes,t);return{current:e.name,version:n}}))}(o,e).fold(Be,Qe),s=function(e,t,n,r){var o=e.isiOS()&&!0===/ipad/i.test(n),i=e.isiOS()&&!o,a=e.isiOS()||e.isAndroid(),s=a||r("(pointer:coarse)"),l=o||!i&&a&&r("(min-device-width:768px)"),c=i||a&&!l,u=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),d=!c&&!l&&!u;return{isiPad:h(o),isiPhone:h(i),isTablet:h(l),isPhone:h(c),isTouch:h(s),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:h(u),isDesktop:h(d)}}(a,i,e,n);return{browser:i,os:a,deviceType:s}}(navigator.userAgent,S.from(navigator.userAgentData),Te)})),Pe=function(){return Ee()},$e=function(e){if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},Me={fromHtml:function(e,t){var n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1)throw console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return $e(n.childNodes[0])},fromTag:function(e,t){var n=(t||document).createElement(e);return $e(n)},fromText:function(e,t){var n=(t||document).createTextNode(e);return $e(n)},fromDom:$e,fromPoint:function(e,t,n){return S.from(e.dom.elementFromPoint(t,n)).map($e)}},ze=function(e,t){var n=e.dom;if(1!==n.nodeType)return!1;var r=n;if(void 0!==r.matches)return r.matches(t);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(t);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")},Re=function(e){return 1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount},De=function(e,t){var n=void 0===t?document:t.dom;return Re(n)?S.none():S.from(n.querySelector(e)).map(Me.fromDom)},Ie=function(e,t){return e.dom===t.dom},Ne=function(e,t){return Pe().browser.isIE()?function(e,t){return n=e.dom,r=t.dom,o=Node.DOCUMENT_POSITION_CONTAINED_BY,!!(n.compareDocumentPosition(r)&o);var n,r,o}(e,t):function(e,t){var n=e.dom,r=t.dom;return n!==r&&n.contains(r)}(e,t)},Le=ze,Ve=Object.keys,Ue=Object.hasOwnProperty,Fe=function(e,t){for(var n=Ve(e),r=0,o=n.length;r<o;r++){var i=n[r];t(e[i],i)}},He=function(e,t){return We(e,(function(e,n){return{k:n,v:t(e,n)}}))},We=function(e,t){var n={};return Fe(e,(function(e,r){var o=t(e,r);n[o.k]=o.v})),n},Xe=function(e,t){var n={};return function(e,t,n,r){Fe(e,(function(e,o){(t(e,o)?n:r)(e,o)}))}(e,t,function(e){return function(t,n){e[n]=t}}(n),f),n},je=function(e,t){var n=[];return Fe(e,(function(e,r){n.push(t(e,r))})),n},qe=function(e){return je(e,p)},Ze=function(e){return Ve(e).length},Ye=function(e,t){return Ge(e,t)?S.from(e[t]):S.none()},Ge=function(e,t){return Ue.call(e,t)},Ke=function(e,t){return Ge(e,t)&&void 0!==e[t]&&null!==e[t]},Je=["tfoot","thead","tbody","colgroup"],et=function(e,t,n){return{element:e,rowspan:t,colspan:n}},tt=function(e,t,n){return{element:e,cells:t,section:n}},nt=function(e,t,n){return{element:e,isNew:t,isLocked:n}},rt=function(e,t,n,r){return{element:e,cells:t,section:n,isNew:r}};"undefined"!=typeof window?window:Function("return this;")();var ot=function(e){return e.dom.nodeName.toLowerCase()},it=function(e){return e.dom.nodeType},at=function(e){return function(t){return it(t)===e}},st=function(e){return 8===it(e)||"#comment"===ot(e)},lt=at(1),ct=at(3),ut=at(9),dt=at(11),ft=function(e){return function(t){return lt(t)&&ot(t)===e}},ht=function(e){return Me.fromDom(e.dom.ownerDocument)},pt=function(e){return ut(e)?e:ht(e)},mt=function(e){return S.from(e.dom.parentNode).map(Me.fromDom)},gt=function(e,t){for(var n=u(t)?t:O,r=e.dom,o=[];null!==r.parentNode&&void 0!==r.parentNode;){var i=r.parentNode,a=Me.fromDom(i);if(o.push(a),!0===n(a))break;r=i}return o},At=function(e){return S.from(e.dom.previousSibling).map(Me.fromDom)},vt=function(e){return S.from(e.dom.nextSibling).map(Me.fromDom)},yt=function(e){return P(e.dom.childNodes,Me.fromDom)},Ot=function(e,t){var n=e.dom.childNodes;return S.from(n[t]).map(Me.fromDom)},bt=u(Element.prototype.attachShadow)&&u(Node.prototype.getRootNode),wt=h(bt),_t=bt?function(e){return Me.fromDom(e.dom.getRootNode())}:pt,xt=function(e){return Me.fromDom(e.dom.host)},St=function(e){var t=ct(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;var n,r,o=t.ownerDocument;return function(e){var t,n=_t(e);return dt(t=n)&&c(t.dom.host)?S.some(n):S.none()}(Me.fromDom(t)).fold((function(){return o.body.contains(t)}),(n=St,r=xt,function(e){return n(r(e))}))},kt=function(e){var t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return Me.fromDom(t)},Ct=function(e,t){var n=[];return $(yt(e),(function(e){t(e)&&(n=n.concat([e])),n=n.concat(Ct(e,t))})),n},Bt=function(e,t,n){return function(e,n,r){return z(gt(e,r),(function(e){return ze(e,t)}))}(e,0,n)},Qt=function(e,t){return function(e){return z(yt(e),(function(e){return ze(e,t)}))}(e)},Tt=function(e,t){return function(e,t){var n=void 0===t?document:t.dom;return Re(n)?[]:P(n.querySelectorAll(e),Me.fromDom)}(t,e)};function Et(e,t,n,r,o){return e(n,r)?S.some(n):u(o)&&o(n)?S.none():t(n,r,o)}var Pt=function(e,t,n){for(var r=e.dom,o=u(n)?n:O;r.parentNode;){r=r.parentNode;var i=Me.fromDom(r);if(t(i))return S.some(i);if(o(i))break}return S.none()},$t=function(e,t,n){return Pt(e,(function(e){return ze(e,t)}),n)},Mt=function(e,t){return function(e){return I(e.dom.childNodes,(function(e){return n=Me.fromDom(e),ze(n,t);var n})).map(Me.fromDom)}(e)},zt=function(e,t){return De(t,e)},Rt=function(e,t,n){return Et((function(e,t){return ze(e,t)}),$t,e,t,n)},Dt=function(e,t,n){if(!(r(n)||s(n)||d(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")},It=function(e,t,n){Dt(e.dom,t,n)},Nt=function(e,t){var n=e.dom;Fe(t,(function(e,t){Dt(n,t,e)}))},Lt=function(e,t){var n=e.dom.getAttribute(t);return null===n?void 0:n},Vt=function(e,t){return S.from(Lt(e,t))},Ut=function(e,t){e.dom.removeAttribute(t)},Ft=function(e){return D(e.dom.attributes,(function(e,t){return e[t.name]=t.value,e}),{})},Ht=function(e,t,n){return void 0===n&&(n=m),e.exists((function(e){return n(e,t)}))},Wt=function(e){for(var t=[],n=function(e){t.push(e)},r=0;r<e.length;r++)e[r].each(n);return t},Xt=function(e,t,n){return e.isSome()&&t.isSome()?S.some(n(e.getOrDie(),t.getOrDie())):S.none()},jt=function(e,t){return e?S.some(t):S.none()},qt=function(e){return void 0!==e.style&&u(e.style.getPropertyValue)},Zt=function(e,t,n){if(!r(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);qt(e)&&e.style.setProperty(t,n)},Yt=function(e,t,n){var r=e.dom;Zt(r,t,n)},Gt=function(e,t){var n=e.dom;Fe(t,(function(e,t){Zt(n,t,e)}))},Kt=function(e,t){var n=e.dom,r=window.getComputedStyle(n).getPropertyValue(t);return""!==r||St(e)?r:Jt(n,t)},Jt=function(e,t){return qt(e)?e.style.getPropertyValue(t):""},en=function(e,t){var n=e.dom,r=Jt(n,t);return S.from(r).filter((function(e){return e.length>0}))},tn=function(e,t){!function(e,t){qt(e)&&e.style.removeProperty(t)}(e.dom,t),Ht(Vt(e,"style").map(ae),"")&&Ut(e,"style")},nn=function(e,t,n){return void 0===n&&(n=0),Vt(e,t).map((function(e){return parseInt(e,10)})).getOr(n)},rn=function(e,t){return nn(e,t,1)},on=function(e){return ft("col")(e)?nn(e,"span",1)>1:rn(e,"colspan")>1},an=function(e){return rn(e,"rowspan")>1},sn=function(e,t){return parseInt(Kt(e,t),10)},ln=h(10),cn=h(10),un=function(e,t){return dn(e,t,b)},dn=function(e,t,n){return V(yt(e),(function(e){return ze(e,t)?n(e)?[e]:[]:dn(e,t,n)}))},fn=function(e,t){return function(e,t,n){return void 0===n&&(n=O),n(t)?S.none():Q(e,ot(t))?S.some(t):$t(t,e.join(","),(function(e){return ze(e,"table")||n(e)}))}(["td","th"],e,t)},hn=function(e){return un(e,"th,td")},pn=function(e){return ze(e,"colgroup")?Qt(e,"col"):V(An(e),(function(e){return Qt(e,"col")}))},mn=function(e,t){return Rt(e,"table",t)},gn=function(e){return un(e,"tr")},An=function(e){return mn(e).fold(h([]),(function(e){return Qt(e,"colgroup")}))},vn=function(e,t){return P(e,(function(e){if("colgroup"===ot(e)){var n=P(pn(e),(function(e){var t=nn(e,"span",1);return et(e,1,t)}));return tt(e,n,"colgroup")}return n=P(hn(e),(function(e){var t=nn(e,"rowspan",1),n=nn(e,"colspan",1);return et(e,t,n)})),tt(e,n,t(e))}))},yn=function(e){return mt(e).map((function(e){var t=ot(e);return function(e){return Q(Je,e)}(t)?t:"tbody"})).getOr("tbody")},On=function(e){var t=gn(e),n=Y(Y([],An(e),!0),t,!0);return vn(n,yn)},bn=function(e,t,n){var r=e.cells,o=r.slice(0,t),i=r.slice(t),a=o.concat(n).concat(i);return xn(e,a)},wn=function(e,t,n){return bn(e,t,[n])},_n=function(e,t,n){e.cells[t]=n},xn=function(e,t){return rt(e.element,t,e.section,e.isNew)},Sn=function(e,t){return e.cells[t]},kn=function(e,t){return Sn(e,t).element},Cn=function(e){return e.cells.length},Bn=function(e){var t=M(e,(function(e){return"colgroup"===e.section}));return{rows:t.fail,cols:t.pass}},Qn=function(e,t,n){var r=P(e.cells,n);return rt(t(e.element),r,e.section,!0)},Tn="data-snooker-locked-cols",En=function(e){return Vt(e,Tn).bind((function(e){return S.from(e.match(/\d+/g))})).map((function(e){return F(e,b)}))},Pn=function(e){var t,n,r=D(Bn(e).rows,(function(e,t){return $(t.cells,(function(t,n){t.isLocked&&(e[n]=!0)})),e}),{}),o=je(r,(function(e,t){return parseInt(t,10)}));return t=o,(n=k.call(t,0)).sort(void 0),n},$n=function(e,t){return e+","+t},Mn=function(e,t){var n=V(e.all,(function(e){return e.cells}));return z(n,t)},zn=function(e){var t={},n=[],r=X(e).map((function(e){return e.element})).bind(mn).bind(En).getOr({}),o=0,i=0,a=0,s=M(e,(function(e){return"colgroup"===e.section})),l=s.pass,c=s.fail;$(c,(function(e){var s=[];$(e.cells,(function(e){for(var n=0;void 0!==t[$n(a,n)];)n++;for(var o=Ke(r,n.toString()),l=function(e,t,n,r,o,i){return{element:e,rowspan:t,colspan:n,row:r,column:o,isLocked:i}}(e.element,e.rowspan,e.colspan,a,n,o),c=0;c<e.colspan;c++)for(var u=0;u<e.rowspan;u++){var d=n+c,f=$n(a+u,d);t[f]=l,i=Math.max(i,d+1)}s.push(l)})),o++,n.push(tt(e.element,s,e.section)),a++}));var u=j(l).map((function(e){var t=function(e){var t={},n=0;return $(e.cells,(function(e){var r=e.colspan;E(r,(function(o){var i=n+o;t[i]=function(e,t,n){return{element:e,colspan:t,column:n}}(e.element,r,i)})),n+=r})),t}(e),n=function(e,t){return{element:e,columns:t}}(e.element,qe(t));return{colgroups:[n],columns:t}})).getOrThunk((function(){return{colgroups:[],columns:{}}})),d=u.columns,f=u.colgroups,h=function(e,t){return{rows:e,columns:t}}(o,i);return{grid:h,access:t,all:n,columns:d,colgroups:f}},Rn=function(e){var t=On(e);return zn(t)},Dn=zn,In=function(e,t,n){return S.from(e.access[$n(t,n)])},Nn=function(e,t,n){var r=Mn(e,(function(e){return n(t,e.element)}));return r.length>0?S.some(r[0]):S.none()},Ln=Mn,Vn=function(e){return V(e.all,(function(e){return e.cells}))},Un=function(e){return qe(e.columns)},Fn=function(e){return Ve(e.columns).length>0},Hn=function(e,t){return S.from(e.columns[t])},Wn=function(e,t){var n=t.column,r=t.column+t.colspan-1,o=t.row,i=t.row+t.rowspan-1;return n<=e.finishCol&&r>=e.startCol&&o<=e.finishRow&&i>=e.startRow},Xn=function(e,t){return t.column>=e.startCol&&t.column+t.colspan-1<=e.finishCol&&t.row>=e.startRow&&t.row+t.rowspan-1<=e.finishRow},jn=function(e,t,n){var r=Nn(e,t,Ie),o=Nn(e,n,Ie);return r.bind((function(e){return o.map((function(t){return n=e,r=t,{startRow:Math.min(n.row,r.row),startCol:Math.min(n.column,r.column),finishRow:Math.max(n.row+n.rowspan-1,r.row+r.rowspan-1),finishCol:Math.max(n.column+n.colspan-1,r.column+r.colspan-1)};var n,r}))}))},qn=function(e,t,n){return jn(e,t,n).map((function(t){var n=Ln(e,g(Wn,t));return P(n,(function(e){return e.element}))}))},Zn=function(e,t){return Nn(e,t,(function(e,t){return Ne(t,e)})).map((function(e){return e.element}))},Yn=function(e,t,n){var r=Kn(e);return qn(r,t,n)},Gn=function(e,t,n,r,o){var i=Kn(e),a=Ie(e,n)?S.some(t):Zn(i,t),s=Ie(e,o)?S.some(r):Zn(i,r);return a.bind((function(e){return s.bind((function(t){return qn(i,e,t)}))}))},Kn=Rn,Jn=function(e,t){mt(e).each((function(n){n.dom.insertBefore(t.dom,e.dom)}))},er=function(e,t){vt(e).fold((function(){mt(e).each((function(e){nr(e,t)}))}),(function(e){Jn(e,t)}))},tr=function(e,t){var n=function(e){return Ot(e,0)}(e);n.fold((function(){nr(e,t)}),(function(n){e.dom.insertBefore(t.dom,n.dom)}))},nr=function(e,t){e.dom.appendChild(t.dom)},rr=function(e,t){Jn(e,t),nr(t,e)},or=function(e,t){$(t,(function(n,r){var o=0===r?e:t[r-1];er(o,n)}))},ir=function(e,t){$(t,(function(t){nr(e,t)}))},ar=function(e){e.dom.textContent="",$(yt(e),(function(e){sr(e)}))},sr=function(e){var t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},lr=function(e){var t,n=yt(e);n.length>0&&(t=e,$(n,(function(e){Jn(t,e)}))),sr(e)},cr=function(e){var t=function(t){return e(t)?S.from(t.dom.nodeValue):S.none()};return{get:function(n){if(!e(n))throw new Error("Can only get text value of a text node");return t(n).getOr("")},getOption:t,set:function(t,n){if(!e(t))throw new Error("Can only set raw text value of a text node");t.dom.nodeValue=n}}}(ct),ur=function(e){return cr.get(e)},dr=function(e){return cr.getOption(e)},fr=function(e,t){return cr.set(e,t)},hr=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"];function pr(){return{up:h({selector:$t,closest:Rt,predicate:Pt,all:gt}),down:h({selector:Tt,predicate:Ct}),styles:h({get:Kt,getRaw:en,set:Yt,remove:tn}),attrs:h({get:Lt,set:It,remove:Ut,copyTo:function(e,t){var n=Ft(e);Nt(t,n)}}),insert:h({before:Jn,after:er,afterAll:or,append:nr,appendAll:ir,prepend:tr,wrap:rr}),remove:h({unwrap:lr,remove:sr}),create:h({nu:Me.fromTag,clone:function(e){return Me.fromDom(e.dom.cloneNode(!1))},text:Me.fromText}),query:h({comparePosition:function(e,t){return e.dom.compareDocumentPosition(t.dom)},prevSibling:At,nextSibling:vt}),property:h({children:yt,name:ot,parent:mt,document:function(e){return pt(e).dom},isText:ct,isComment:st,isElement:lt,isSpecial:function(e){var t=ot(e);return Q(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:function(e){return lt(e)?Vt(e,"lang"):S.none()},getText:ur,setText:fr,isBoundary:function(e){return!!lt(e)&&("body"===ot(e)||Q(hr,ot(e)))},isEmptyTag:function(e){return!!lt(e)&&Q(["br","img","hr","input"],ot(e))},isNonEditable:function(e){return lt(e)&&"false"===Lt(e,"contenteditable")}}),eq:Ie,is:Le}}var mr,gr,Ar,vr,yr=function(e,t,n,r){var o=t(e,n);return R(r,(function(n,r){var o=t(e,r);return Or(e,n,o)}),o)},Or=function(e,t,n){return t.bind((function(t){return n.filter(g(e.eq,t))}))},br=pr(),wr=function(e,t){return function(e,t,n){return n.length>0?function(e,t,n,r){return r(e,t,n[0],n.slice(1))}(e,t,n,yr):S.none()}(br,(function(t,n){return e(n)}),t)},_r=function(e){return $t(e,"table")},xr=function(e,t,n){var r=function(e){return function(t){return void 0!==n&&n(t)||Ie(t,e)}};return Ie(e,t)?S.some({boxes:S.some([e]),start:e,finish:t}):_r(e).bind((function(o){return _r(t).bind((function(i){if(Ie(o,i))return S.some({boxes:Yn(o,e,t),start:e,finish:t});if(Ne(o,i)){var a=(s=Bt(t,"td,th",r(o))).length>0?s[s.length-1]:t;return S.some({boxes:Gn(o,e,o,t,i),start:e,finish:a})}if(Ne(i,o)){var s,l=(s=Bt(e,"td,th",r(i))).length>0?s[s.length-1]:e;return S.some({boxes:Gn(i,e,o,t,i),start:e,finish:l})}return function(e,t){return function(e,t,n,r){void 0===r&&(r=O);var o=[t].concat(e.up().all(t)),i=[n].concat(e.up().all(n)),a=function(e){return N(e,r).fold((function(){return e}),(function(t){return e.slice(0,t+1)}))},s=a(o),l=a(i),c=I(s,(function(t){return T(l,function(e,t){return g(e.eq,t)}(e,t))}));return{firstpath:s,secondpath:l,shared:c}}(br,e,t,void 0)}(e,t).shared.bind((function(a){return Rt(a,"table",n).bind((function(n){var a=Bt(t,"td,th",r(n)),s=a.length>0?a[a.length-1]:t,l=Bt(e,"td,th",r(n)),c=l.length>0?l[l.length-1]:e;return S.some({boxes:Gn(n,e,o,t,i),start:c,finish:s})}))}))}))}))},Sr=function(e,t){var n=Tt(e,t);return n.length>0?S.some(n):S.none()},kr=function(e,t,n){return zt(e,t).bind((function(t){return zt(e,n).bind((function(e){return wr(_r,[t,e]).map((function(n){return{first:t,last:e,table:n}}))}))}))},Cr=function(e,t,n,r,o){return function(e,t){return I(e,(function(e){return ze(e,t)}))}(e,o).bind((function(e){return function(e,t,n){return mn(e).bind((function(r){return function(e,t,n,r){return Nn(e,t,Ie).bind((function(t){var o=n>0?t.row+t.rowspan-1:t.row,i=r>0?t.column+t.colspan-1:t.column;return In(e,o+n,i+r).map((function(e){return e.element}))}))}(Kn(r),e,t,n)}))}(e,t,n).bind((function(e){return function(e,t){return $t(e,"table").bind((function(n){return zt(n,t).bind((function(t){return xr(t,e).bind((function(e){return e.boxes.map((function(t){return{boxes:t,start:e.start,finish:e.finish}}))}))}))}))}(e,r)}))}))},Br=function(e,t){return Sr(e,t)},Qr=function(e,t,n){return kr(e,t,n).bind((function(t){var n=function(t){return Ie(e,t)},r="thead,tfoot,tbody,table",o=$t(t.first,r,n),i=$t(t.last,r,n);return o.bind((function(e){return i.bind((function(n){return Ie(e,n)?function(e,t,n){return function(e,t,n){return jn(e,t,n).bind((function(t){return function(e,t){for(var n=!0,r=g(Xn,t),o=t.startRow;o<=t.finishRow;o++)for(var i=t.startCol;i<=t.finishCol;i++)n=n&&In(e,o,i).exists(r);return n?S.some(t):S.none()}(e,t)}))}(Kn(e),t,n)}(t.table,t.first,t.last):S.none()}))}))}))},Tr=function(e){if(!i(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");var t=[],n={};return $(e,(function(r,o){var a=Ve(r);if(1!==a.length)throw new Error("one and only one name per case");var s=a[0],l=r[s];if(void 0!==n[s])throw new Error("duplicate key detected:"+s);if("cata"===s)throw new Error("cannot have a case named cata (sorry)");if(!i(l))throw new Error("case arguments must be an array");t.push(s),n[s]=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=n.length;if(i!==l.length)throw new Error("Wrong number of arguments to case "+s+". Expected "+l.length+" ("+l+"), got "+i);return{fold:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[o].apply(null,n)},match:function(e){var r=Ve(e);if(t.length!==r.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+r.join(","));if(!U(t,(function(e){return Q(r,e)})))throw new Error("Not all branches were specified when using match. Specified: "+r.join(", ")+"\nRequired: "+t.join(", "));return e[s].apply(null,n)},log:function(e){console.log(e,{constructors:t,constructor:s,params:n})}}}})),n},Er=Tr([{none:[]},{multiple:["elements"]},{single:["element"]}]),Pr=function(e,t,n,r){return e.fold(t,n,r)},$r=Er.none,Mr=Er.multiple,zr=Er.single,Rr=tinymce.util.Tools.resolve("tinymce.PluginManager"),Dr=function(e,t){return Me.fromDom(e.dom.cloneNode(t))},Ir=function(e){return Dr(e,!1)},Nr=function(e){return Dr(e,!0)},Lr=function(e,t){var n=Me.fromTag(t),r=Ft(e);return Nt(n,r),n},Vr=function(e,t){var n=function(n){var r=t(n);if(r<=0||null===r){var o=Kt(n,e);return parseFloat(o)||0}return r},r=function(e,t){return D(t,(function(t,n){var r=Kt(e,n),o=void 0===r?0:parseInt(r,10);return isNaN(o)?t:t+o}),0)};return{set:function(t,n){if(!d(n)&&!n.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+n);var r=t.dom;qt(r)&&(r.style[e]=n+"px")},get:n,getOuter:n,aggregate:r,max:function(e,t,n){var o=r(e,n);return t>o?t-o:0}}},Ur=function(){var e=Pe().browser;return e.isIE()||e.isEdge()},Fr=function(e,t,n){return function(e,t){return function(e){var t=parseFloat(e);return isNaN(t)?S.none():S.some(t)}(e).getOr(t)}(Kt(e,t),n)},Hr=function(e){return Kt(e,"box-sizing")},Wr=function(e,t,n,r){return t-Fr(e,"padding-"+n,0)-Fr(e,"padding-"+r,0)-Fr(e,"border-"+n+"-width",0)-Fr(e,"border-"+r+"-width",0)},Xr=function(e,t){var n=e.dom,r=n.getBoundingClientRect().width||n.offsetWidth;return"border-box"===t?r:Wr(e,r,"left","right")},jr=Vr("width",(function(e){return e.dom.offsetWidth})),qr=function(e){return jr.get(e)},Zr=function(e){return jr.getOuter(e)},Yr=function(e){return Xr(e,"content-box")},Gr=function(e,t){void 0===t&&(t=b);var n=e.grid,r=E(n.columns,p),o=E(n.rows,p);return P(r,(function(n){return Kr((function(){return V(o,(function(t){return In(e,t,n).filter((function(e){return e.column===n})).toArray()}))}),(function(e){return 1===e.colspan&&t(e.element)}),(function(){return In(e,0,n)}))}))},Kr=function(e,t,n){var r=e();return I(r,t).orThunk((function(){return S.from(r[0]).orThunk(n)})).map((function(e){return e.element}))},Jr=function(e){var t=e.grid,n=E(t.rows,p),r=E(t.columns,p);return P(n,(function(t){return Kr((function(){return V(r,(function(n){return In(e,t,n).filter((function(e){return e.row===t})).fold(h([]),(function(e){return[e]}))}))}),(function(e){return 1===e.rowspan}),(function(){return In(e,t,0)}))}))},eo=function(e,t){return function(n){return"rtl"===to(n)?t:e}},to=function(e){return"rtl"===Kt(e,"direction")?"rtl":"ltr"},no=Vr("height",(function(e){var t=e.dom;return St(e)?t.getBoundingClientRect().height:t.offsetHeight})),ro=function(e){return no.get(e)},oo=function(e){return no.getOuter(e)},io=function(e,t){return{left:e,top:t,translate:function(n,r){return io(e+n,t+r)}}},ao=io,so=function(e,t){return void 0!==e?e:void 0!==t?t:0},lo=function(e){var t=e.dom.ownerDocument,n=t.body,r=t.defaultView,o=t.documentElement;if(n===e.dom)return ao(n.offsetLeft,n.offsetTop);var i=so(null==r?void 0:r.pageYOffset,o.scrollTop),a=so(null==r?void 0:r.pageXOffset,o.scrollLeft),s=so(o.clientTop,n.clientTop),l=so(o.clientLeft,n.clientLeft);return co(e).translate(a-l,i-s)},co=function(e){var t=e.dom,n=t.ownerDocument.body;return n===t?ao(n.offsetLeft,n.offsetTop):St(e)?function(e){var t=e.getBoundingClientRect();return ao(t.left,t.top)}(t):ao(0,0)},uo=function(e,t){return{row:e,y:t}},fo=function(e,t){return{col:e,x:t}},ho=function(e){return lo(e).left+Zr(e)},po=function(e){return lo(e).left},mo=function(e,t){return fo(e,po(t))},go=function(e,t){return fo(e,ho(t))},Ao=function(e){return lo(e).top},vo=function(e,t){return uo(e,Ao(t))},yo=function(e,t){return uo(e,Ao(t)+oo(t))},Oo=function(e,t,n){if(0===n.length)return[];var r=P(n.slice(1),(function(t,n){return t.map((function(t){return e(n,t)}))})),o=n[n.length-1].map((function(e){return t(n.length-1,e)}));return r.concat([o])},bo={delta:p,positions:function(e){return Oo(vo,yo,e)},edge:Ao},wo={delta:p,edge:po,positions:function(e){return Oo(mo,go,e)}},_o={delta:function(e){return-e},edge:ho,positions:function(e){return Oo(go,mo,e)}},xo=eo(wo,_o),So={delta:function(e,t){return xo(t).delta(e,t)},positions:function(e,t){return xo(t).positions(e,t)},edge:function(e){return xo(e).edge(e)}},ko={unsupportedLength:["em","ex","cap","ch","ic","rem","lh","rlh","vw","vh","vi","vb","vmin","vmax","cm","mm","Q","in","pc","pt","px"],fixed:["px","pt"],relative:["%"],empty:[""]},Co=(mr="[0-9]+",gr="[eE][+-]?"+mr,Ar=function(e){return"(?:"+e+")?"},vr=["Infinity",mr+"\\."+Ar(mr)+Ar(gr),"\\."+mr+Ar(gr),mr+Ar(gr)].join("|"),new RegExp("^([+-]?(?:"+vr+"))(.*)$")),Bo=/(\d+(\.\d+)?)%/,Qo=/(\d+(\.\d+)?)px|em/,To=ft("col"),Eo=function(e,t,n){var r,o=(r=e,S.from(r.dom.parentElement).map(Me.fromDom)).getOrThunk((function(){return kt(ht(e))}));return t(e)/n(o)*100},Po=function(e,t){Yt(e,"width",t+"px")},$o=function(e,t){Yt(e,"width",t+"%")},Mo=function(e,t){Yt(e,"height",t+"px")},zo=function(e){var t=function(e){return t=e,(Ur()?function(e,t){var n=e.dom,r=n.getBoundingClientRect().height||n.offsetHeight;return"border-box"===t?r:Wr(e,r,"top","bottom")}(t,Hr(t)):Fr(t,"height",t.dom.offsetHeight))+"px";var t}(e);return t?function(e,t,n,r){var o=parseFloat(e);return ie(e,"%")&&"table"!==ot(t)?function(e,t,n,r){var o=mn(e).map((function(e){var r=n(e);return Math.floor(t/100*r)})).getOr(t);return r(e,o),o}(t,o,n,r):o}(t,e,ro,Mo):ro(e)},Ro=function(e,t){return en(e,t).orThunk((function(){return Vt(e,t).map((function(e){return e+"px"}))}))},Do=function(e){return Ro(e,"width")},Io=function(e){return Eo(e,qr,Yr)},No=function(e){return To(e)?qr(e):(t=e,Ur()?Xr(t,Hr(t)):Fr(t,"width",t.dom.offsetWidth));var t},Lo=function(e){return function(e,t,n){return n(e)/rn(e,"rowspan")}(e,0,zo)},Vo=function(e,t,n){Yt(e,"width",t+n)},Uo=function(e){return Eo(e,qr,Yr)+"%"},Fo=h(Bo),Ho=ft("col"),Wo=function(e){return Do(e).getOrThunk((function(){return No(e)+"px"}))},Xo=function(e){return(t=e,Ro(t,"height")).getOrThunk((function(){return Lo(e)+"px"}));var t},jo=function(e,t,n,r,o,i){return e.filter(r).fold((function(){return i(function(e,t){if(t<0||t>=e.length-1)return S.none();var n=e[t].fold((function(){var n=function(e){var t=k.call(e,0);return t.reverse(),t}(e.slice(0,t));return q(n,(function(e,t){return e.map((function(e){return{value:e,delta:t+1}}))}))}),(function(e){return S.some({value:e,delta:0})})),r=e[t+1].fold((function(){var n=e.slice(t+1);return q(n,(function(e,t){return e.map((function(e){return{value:e,delta:t+1}}))}))}),(function(e){return S.some({value:e,delta:1})}));return n.bind((function(e){return r.map((function(t){var n=t.delta+e.delta;return Math.abs(t.value-e.value)/n}))}))}(n,t))}),(function(e){return o(e)}))},qo=function(e,t,n,r){var o=Gr(e),i=Fn(e)?function(e){return P(Un(e),(function(e){return S.from(e.element)}))}(e):o,a=[S.some(So.edge(t))].concat(P(So.positions(o,t),(function(e){return e.map((function(e){return e.x}))}))),s=y(on);return P(i,(function(e,t){return jo(e,t,a,s,(function(e){if(function(e){var t=Pe().browser,n=t.isChrome()||t.isFirefox();return!Ho(e)||n}(e))return n(e);var i,l=null!=(i=o[t])?p(i):S.none();return jo(l,t,a,s,(function(e){return r(S.some(qr(e)))}),r)}),r)}))},Zo=function(e){return e.map((function(e){return e+"px"})).getOr("")},Yo=function(e,t,n){return qo(e,t,No,(function(e){return e.getOrThunk(n.minCellWidth)}))},Go=function(e,t,n,r,o){var i=Jr(e),a=[S.some(n.edge(t))].concat(P(n.positions(i,t),(function(e){return e.map((function(e){return e.y}))})));return P(i,(function(e,t){return jo(e,t,a,y(an),r,o)}))},Ko=function(e,t){return function(){return St(e)?t(e):parseFloat(en(e,"width").getOr("0"))}},Jo=function(e){var t=Ko(e,(function(e){return parseFloat(Uo(e))})),n=Ko(e,qr);return{width:t,pixelWidth:n,getWidths:function(t,n){return function(e,t,n){return qo(e,t,Io,(function(e){return e.fold((function(){return n.minCellWidth()}),(function(e){return e/n.pixelWidth()*100}))}))}(t,e,n)},getCellDelta:function(e){return e/n()*100},singleColumnWidth:function(e,t){return[100-e]},minCellWidth:function(){return ln()/n()*100},setElementWidth:$o,adjustTableWidth:function(n){var r=t();$o(e,r+n/100*r)},isRelative:!0,label:"percent"}},ei=function(e){var t=Ko(e,qr);return{width:t,pixelWidth:t,getWidths:function(t,n){return Yo(t,e,n)},getCellDelta:p,singleColumnWidth:function(e,t){return[Math.max(ln(),e+t)-e]},minCellWidth:ln,setElementWidth:Po,adjustTableWidth:function(n){var r=t()+n;Po(e,r)},isRelative:!1,label:"pixel"}},ti=function(e){return Do(e).fold((function(){return function(e){var t=Ko(e,qr),n=h(0);return{width:t,pixelWidth:t,getWidths:function(t,n){return Yo(t,e,n)},getCellDelta:n,singleColumnWidth:h([0]),minCellWidth:n,setElementWidth:f,adjustTableWidth:f,isRelative:!0,label:"none"}}(e)}),(function(t){return function(e,t){return null!==Fo().exec(t)?Jo(e):ei(e)}(e,t)}))},ni=ei,ri=Jo,oi=function(e,t,n){var r=e[n].element,o=Me.fromTag("td");nr(o,Me.fromTag("br")),(t?nr:tr)(r,o)},ii=function(e){return"img"===ot(e)?1:dr(e).fold((function(){return yt(e).length}),(function(e){return e.length}))},ai=["img","br"],si=function(e){return dr(e).filter((function(e){return 0!==e.trim().length||e.indexOf(" ")>-1})).isSome()||Q(ai,ot(e))},li=function(e){return t=si,(n=function(e){for(var r=0;r<e.childNodes.length;r++){var o=Me.fromDom(e.childNodes[r]);if(t(o))return S.some(o);var i=n(e.childNodes[r]);if(i.isSome())return i}return S.none()})(e.dom);var t,n},ci=function(e){return ui(e,si)},ui=function(e,t){var n=function(e){for(var r=yt(e),o=r.length-1;o>=0;o--){var i=r[o];if(t(i))return S.some(i);var a=n(i);if(a.isSome())return a}return S.none()};return n(e)},di={scope:["row","col"]},fi=function(e){return function(){var t=Me.fromTag("td",e.dom);return nr(t,Me.fromTag("br",e.dom)),t}},hi=function(e){return function(){return Me.fromTag("col",e.dom)}},pi=function(e){return function(){return Me.fromTag("colgroup",e.dom)}},mi=function(e){return function(){return Me.fromTag("tr",e.dom)}},gi=function(e,t,n){var r=function(e,t){var n=Lr(e,t),r=yt(Nr(e));return ir(n,r),n}(e,t);return Fe(n,(function(e,t){null===e?Ut(r,t):It(r,t,e)})),r},Ai=function(e){return e},vi=function(e,t,n){var r=function(e,t){var n,r,o;n=t,r=e.element.dom,o=n.dom,qt(r)&&qt(o)&&(o.style.cssText=r.style.cssText),tn(t,"height"),1!==e.colspan&&tn(t,"width")};return{col:function(n){var o=Me.fromTag(ot(n.element),t.dom);return r(n,o),e(n.element,o),o},colgroup:pi(t),row:mi(t),cell:function(o){var i=Me.fromTag(ot(o.element),t.dom),a=n.getOr(["strong","em","b","i","span","font","h1","h2","h3","h4","h5","h6","p","div"]),s=a.length>0?function(e,t,n){return li(e).map((function(r){var o=n.join(","),i=Bt(r,o,(function(t){return Ie(t,e)}));return R(i,(function(e,t){var n=Ir(t);return Ut(n,"contenteditable"),nr(e,n),n}),t)})).getOr(t)}(o.element,i,a):i;return nr(s,Me.fromTag("br")),r(o,i),function(e,t){Fe(di,(function(n,r){return Vt(e,r).filter((function(e){return Q(n,e)})).each((function(e){return It(t,r,e)}))}))}(o.element,i),e(o.element,i),i},replace:gi,colGap:hi(t),gap:fi(t)}},yi=function(e){return{col:hi(e),colgroup:pi(e),row:mi(e),cell:fi(e),replace:Ai,colGap:hi(e),gap:fi(e)}},Oi=function(e){return P(e,Me.fromDom)},bi=function(e){return Me.fromDom(e.getBody())},wi=function(e){return e.getBoundingClientRect().width},_i=function(e){return e.getBoundingClientRect().height},xi=function(e){return function(t){return Ie(t,bi(e))}},Si=function(e){return/^\d+(\.\d+)?$/.test(e)?e+"px":e},ki=function(e){Ut(e,"data-mce-style");var t=function(e){return Ut(e,"data-mce-style")};$(hn(e),t),$(pn(e),t),$(gn(e),t)},Ci=function(e){return Me.fromDom(e.selection.getStart())},Bi=function(e){return Pr(e.get(),h([]),p,H)},Qi=function(e){var t=function(e,t){return Vt(e,t).exists((function(e){return parseInt(e,10)>1}))},n=Bi(e);return n.length>0&&U(n,(function(e){return t(e,"rowspan")||t(e,"colspan")}))?S.some(n):S.none()},Ti=function(e,t,n){return Pr(t.get(),S.none,(function(t){return t.length<=1?S.none():Qr(e,n.firstSelectedSelector,n.lastSelectedSelector).map((function(e){return{bounds:e,cells:t}}))}),S.none)},Ei="data-mce-selected",Pi="td["+Ei+"],th["+Ei+"]",$i="["+Ei+"]",Mi="data-mce-first-selected",zi="td["+Mi+"],th["+Mi+"]",Ri="data-mce-last-selected",Di="td["+Ri+"],th["+Ri+"]",Ii=$i,Ni={selected:Ei,selectedSelector:Pi,firstSelected:Mi,firstSelectedSelector:zi,lastSelected:Ri,lastSelectedSelector:Di},Li=function(e,t,n){return{element:n,mergable:Ti(t,e,Ni),unmergable:Qi(e),selection:Bi(e)}},Vi=function(e){return function(t,n){var r,o=ot(t),i="col"===o||"colgroup"===o?mn(r=t).bind((function(e){return Br(e,Ni.firstSelectedSelector)})).fold(h(r),(function(e){return e[0]})):t;return Rt(i,e,n)}},Ui=Vi("th,td,caption"),Fi=Vi("th,td"),Hi=function(e){return Bi(e)},Wi=function(e,t,n){e.on("BeforeGetContent",(function(n){!0===n.selection&&Pr(t.get(),f,(function(t){n.preventDefault(),function(e){return mn(e[0]).map((function(e){var t=function(e,t){var n=function(e){return ze(e.element,t)},r=Nr(e),o=On(r),i=ti(e),a=Dn(o),s=function(e,t){var n=e.grid.columns,r=e.grid.rows,o=n,i=0,a=0,s=[],l=[];return Fe(e.access,(function(e){if(s.push(e),t(e)){l.push(e);var n=e.row,c=n+e.rowspan-1,u=e.column,d=u+e.colspan-1;n<r?r=n:c>i&&(i=c),u<o?o=u:d>a&&(a=d)}})),function(e,t,n,r,o,i){return{minRow:e,minCol:t,maxRow:n,maxCol:r,allCells:o,selectedCells:i}}(r,o,i,a,s,l)}(a,n),l="th:not("+t+"),td:not("+t+")",c=dn(r,"th,td",(function(e){return ze(e,l)}));$(c,sr),function(e,t,n,r){for(var o=t.grid.columns,i=t.grid.rows,a=0;a<i;a++)for(var s=!1,l=0;l<o;l++)a<n.minRow||a>n.maxRow||l<n.minCol||l>n.maxCol||(In(t,a,l).filter(r).isNone()?oi(e,s,a):s=!0)}(o,a,s,n);var u=function(e,t,n,r){if(0===r.minCol&&t.grid.columns===r.maxCol+1)return 0;var o=Yo(t,e,n),i=D(o,(function(e,t){return e+t}),0),a=D(o.slice(r.minCol,r.maxCol+1),(function(e,t){return e+t}),0),s=a/i*n.pixelWidth()-n.pixelWidth();return n.getCellDelta(s)}(e,Rn(e),i,s);return function(e,t,n,r){Fe(n.columns,(function(e){(e.column<t.minCol||e.column>t.maxCol)&&sr(e.element)}));var o=z(un(e,"tr"),(function(e){return 0===e.dom.childElementCount}));$(o,sr),t.minCol!==t.maxCol&&t.minRow!==t.maxRow||$(un(e,"th,td"),(function(e){Ut(e,"rowspan"),Ut(e,"colspan")})),Ut(e,Tn),Ut(e,"data-snooker-col-series"),ti(e).adjustTableWidth(r)}(r,s,a,u),r}(e,Ii);return ki(t),[t]}))}(t).each((function(t){n.content="text"===n.format?function(e){return P(e,(function(e){return e.dom.innerText})).join("")}(t):function(e,t){return P(t,(function(t){return e.selection.serializer.serialize(t.dom,{})})).join("")}(e,t)}))}),f)})),e.on("BeforeSetContent",(function(r){if(!0===r.selection&&!0===r.paste){var o=Hi(t);X(o).each((function(t){mn(t).each((function(o){var i,a,s=z((i=r.content,(a=document.createElement("div")).innerHTML=i,yt(Me.fromDom(a))),(function(e){return"meta"!==ot(e)})),l=ft("table");if(1===s.length&&l(s[0])){r.preventDefault();var c=Me.fromDom(e.getDoc()),u=yi(c),d=function(e,t,n){return{element:e,clipboard:t,generators:n}}(t,s[0],u);n.pasteCells(o,d).each((function(){e.focus()}))}}))}))}}))},Xi=Tr([{none:[]},{only:["index"]},{left:["index","next"]},{middle:["prev","index","next"]},{right:["prev","index"]}]),ji=Z({},Xi),qi=function(e,t,n){for(var r=0,o=e;o<t;o++)r+=void 0!==n[o]?n[o]:0;return r},Zi=function(e,t){var n=Vn(e);return P(n,(function(e){var n=qi(e.row,e.row+e.rowspan,t);return{element:e.element,height:n,rowspan:e.rowspan}}))},Yi=function(e,t,n){var r=function(e,t){return Fn(e)?function(e,t){var n=Un(e);return P(n,(function(e,n){return{element:e.element,width:t[n],colspan:e.colspan}}))}(e,t):function(e,t){var n=Vn(e);return P(n,(function(e){var n=qi(e.column,e.column+e.colspan,t);return{element:e.element,width:n,colspan:e.colspan}}))}(e,t)}(e,t);$(r,(function(e){n.setElementWidth(e.element,e.width)}))},Gi=function(e,t,n,r,o){var i=Rn(e),a=o.getCellDelta(t),s=o.getWidths(i,o),l=n===i.grid.columns-1,c=r.clampTableDelta(s,n,a,o.minCellWidth(),l),u=function(e,t,n,r,o){var i=e.slice(0),a=function(e,t){return 0===e.length?ji.none():1===e.length?ji.only(0):0===t?ji.left(0,1):t===e.length-1?ji.right(t-1,t):t>0&&t<e.length-1?ji.middle(t-1,t,t+1):ji.none()}(e,t),s=h(P(i,h(0)));return a.fold(s,(function(e){return r.singleColumnWidth(i[e],n)}),(function(e,t){return o.calcLeftEdgeDeltas(i,e,t,n,r.minCellWidth(),r.isRelative)}),(function(e,t,a){return o.calcMiddleDeltas(i,e,t,a,n,r.minCellWidth(),r.isRelative)}),(function(e,t){return o.calcRightEdgeDeltas(i,e,t,n,r.minCellWidth(),r.isRelative)}))}(s,n,c,o,r),d=P(u,(function(e,t){return e+s[t]}));Yi(i,d,o),r.resizeTable(o.adjustTableWidth,c,l)},Ki=function(e){return P(e,h(0))},Ji=function(e,t,n,r,o){return o(e.slice(0,t)).concat(r).concat(o(e.slice(n)))},ea=function(e){return function(t,n,r,o){if(e(r)){var i=Math.max(o,t[n]-Math.abs(r)),a=Math.abs(i-t[n]);return r>=0?a:-a}return r}},ta=ea((function(e){return e<0})),na=ea(b),ra=function(){var e=function(e,t,n,r){var o=(100+n)/100,i=Math.max(r,(e[t]+n)/o);return P(e,(function(e,n){return(n===t?i:e/o)-e}))},t=function(t,n,r,o,i,a){return a?e(t,n,o,i):function(e,t,n,r,o){var i=ta(e,t,r,o);return Ji(e,t,n+1,[i,0],Ki)}(t,n,r,o,i)};return{resizeTable:function(e,t){return e(t)},clampTableDelta:ta,calcLeftEdgeDeltas:t,calcMiddleDeltas:function(e,n,r,o,i,a,s){return t(e,r,o,i,a,s)},calcRightEdgeDeltas:function(t,n,r,o,i,a){if(a)return e(t,r,o,i);var s=ta(t,r,o,i);return Ki(t.slice(0,r)).concat([s])},calcRedestributedWidths:function(e,t,n,r){if(r){var o=(t+n)/t,i=P(e,(function(e){return e/o}));return{delta:100*o-100,newSizes:i}}return{delta:n,newSizes:e}}}},oa=function(){var e=function(e,t,n,r,o){var i=na(e,r>=0?n:t,r,o);return Ji(e,t,n+1,[i,-i],Ki)};return{resizeTable:function(e,t,n){n&&e(t)},clampTableDelta:function(e,t,n,r,o){if(o){if(n>=0)return n;var i=D(e,(function(e,t){return e+t-r}),0);return Math.max(-i,n)}return ta(e,t,n,r)},calcLeftEdgeDeltas:e,calcMiddleDeltas:function(t,n,r,o,i,a){return e(t,r,o,i,a)},calcRightEdgeDeltas:function(e,t,n,r,o,i){if(i)return Ki(e);var a=r/e.length;return P(e,h(a))},calcRedestributedWidths:function(e,t,n,r){return{delta:0,newSizes:e}}}},ia=function(e,t){var n=S.from(e.dom.documentElement).map(Me.fromDom).getOr(e);return{parent:h(n),view:h(e),origin:h(ao(0,0)),isResizable:t}},aa=Tr([{invalid:["raw"]},{pixels:["value"]},{percent:["value"]}]),sa=function(e,t,n){var r=n.substring(0,n.length-e.length),o=parseFloat(r);return r===o.toString()?t(o):aa.invalid(n)},la=Z(Z({},aa),{from:function(e){return ie(e,"%")?sa("%",aa.percent,e):ie(e,"px")?sa("px",aa.pixels,e):aa.invalid(e)}}),ca=function(e,t,n){var r=la.from(n),o=U(e,(function(e){return"0px"===e}))?function(e,t){var n=e.fold((function(){return h("")}),(function(e){return h(e/t+"px")}),(function(){return h(100/t+"%")}));return E(t,n)}(r,e.length):function(e,t,n){return e.fold((function(){return t}),(function(e){return function(e,t,n){var r=n/t;return P(e,(function(e){return la.from(e).fold((function(){return e}),(function(e){return e*r+"px"}),(function(e){return e/100*n+"px"}))}))}(t,n,e)}),(function(e){return function(e,t){return P(e,(function(e){return la.from(e).fold((function(){return e}),(function(e){return e/t*100+"%"}),(function(e){return e+"%"}))}))}(t,n)}))}(r,e,t);return fa(o)},ua=function(e,t){return 0===e.length?t:R(e,(function(e,t){return la.from(t).fold(h(0),p,p)+e}),0)},da=function(e,t){return la.from(e).fold(h(e),(function(e){return e+t+"px"}),(function(e){return e+t+"%"}))},fa=function(e){if(0===e.length)return e;var t=R(e,(function(e,t){var n=la.from(t).fold((function(){return{value:t,remainder:0}}),(function(e){return function(e){var t=Math.floor(e);return{value:t+"px",remainder:e-t}}(e)}),(function(e){return{value:e+"%",remainder:0}}));return{output:[n.value].concat(e.output),remainder:e.remainder+n.remainder}}),{output:[],remainder:0}),n=t.output;return n.slice(0,n.length-1).concat([da(n[n.length-1],Math.round(t.remainder))])},ha=la.from,pa=function(e){return ha(e).fold(h("px"),h("px"),h("%"))},ma=function(e,t,n){var r=Rn(e),o=r.all,i=Vn(r),a=Un(r);t.each((function(t){var n=pa(t),o=qr(e),s=function(e,t){return qo(e,t,Wo,Zo)}(r,e),l=ca(s,o,t);Fn(r)?function(e,t,n){$(t,(function(t,r){var o=ua([e[r]],ln());Yt(t.element,"width",o+n)}))}(l,a,n):function(e,t,n){$(t,(function(t){var r=e.slice(t.column,t.colspan+t.column),o=ua(r,ln());Yt(t.element,"width",o+n)}))}(l,i,n),Yt(e,"width",t)})),n.each((function(t){var n=pa(t),a=ro(e),s=function(e,t,n){return Go(e,t,n,Xo,Zo)}(r,e,bo);!function(e,t,n,r){$(n,(function(t){var n=e.slice(t.row,t.rowspan+t.row),o=ua(n,cn());Yt(t.element,"height",o+r)})),$(t,(function(t,n){Yt(t.element,"height",e[n])}))}(ca(s,a,t),o,i,n),Yt(e,"height",t)}))},ga=function(e){return Do(e).exists((function(e){return Bo.test(e)}))},Aa=function(e){return Do(e).exists((function(e){return Qo.test(e)}))},va=function(e){return Do(e).isNone()},ya=function(e){return Rn(e).grid},Oa=function(e){var t=[];return{bind:function(e){if(void 0===e)throw new Error("Event bind error: undefined handler");t.push(e)},unbind:function(e){t=z(t,(function(t){return t!==e}))},trigger:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};$(e,(function(e,t){o[e]=n[t]})),$(t,(function(e){e(o)}))}}},ba=function(e){return{registry:He(e,(function(e){return{bind:e.bind,unbind:e.unbind}})),trigger:He(e,(function(e){return e.trigger}))}},wa=function(e){return e.slice(0).sort()},_a=function(e,t){var n=z(t,(function(t){return!Q(e,t)}));n.length>0&&function(e){throw new Error("Unsupported keys for object: "+wa(e).join(", "))}(n)},xa=function(e){return function(e,t){return function(e,t,n){if(0===t.length)throw new Error("You must specify at least one required field.");var o;return function(e,t){if(!i(t))throw new Error("The "+e+" fields must be an array. Was: "+t+".");$(t,(function(t){if(!r(t))throw new Error("The value "+t+" in the "+e+" fields was not a string.")}))}("required",t),o=wa(t),I(o,(function(e,t){return t<o.length-1&&e===o[t+1]})).each((function(e){throw new Error("The field: "+e+" occurs more than once in the combined fields: ["+o.join(", ")+"].")})),function(r){var o=Ve(r);U(t,(function(e){return Q(o,e)}))||function(e,t){throw new Error("All required keys ("+wa(e).join(", ")+") were not specified. Specified keys were: "+wa(t).join(", ")+".")}(t,o),e(t,o);var i=z(t,(function(e){return!n.validate(r[e],e)}));return i.length>0&&function(e,t){throw new Error("All values need to be of type: "+t+". Keys ("+wa(e).join(", ")+") were not.")}(i,n.label),r}}(e,t,{validate:u,label:"function"})}(_a,e)},Sa=xa(["compare","extract","mutate","sink"]),ka=xa(["element","start","stop","destroy"]),Ca=xa(["forceDrop","drop","move","delayDrop"]),Ba=function(){var e,t=(e=ba({move:Oa(["info"])}),{onEvent:f,reset:f,events:e.registry}),n=function(){var e=S.none(),t=ba({move:Oa(["info"])});return{onEvent:function(n,r){r.extract(n).each((function(n){var o=function(t,n){var r=e.map((function(e){return t.compare(e,n)}));return e=S.some(n),r}(r,n);o.each((function(e){t.trigger.move(e)}))}))},reset:function(){e=S.none()},events:t.registry}}(),r=t;return{on:function(){r.reset(),r=n},off:function(){r.reset(),r=t},isOn:function(){return r===n},onEvent:function(e,t){r.onEvent(e,t)},events:n.events}},Qa=function(e){var t,n,r=Me.fromDom(function(e){if(wt()&&c(e.target)){var t=Me.fromDom(e.target);if(lt(t)&&c(t.dom.shadowRoot)&&e.composed&&e.composedPath){var n=e.composedPath();if(n)return X(n)}}return S.from(e.target)}(e).getOr(e.target)),o=function(){return e.stopPropagation()},i=function(){return e.preventDefault()},a=(t=i,n=o,function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t(n.apply(null,e))});return function(e,t,n,r,o,i,a){return{target:e,x:t,y:n,stop:r,prevent:o,kill:i,raw:a}}(r,e.clientX,e.clientY,o,i,a,e)},Ta=function(e,t,n,r){e.dom.removeEventListener(t,n,r)},Ea=b,Pa=function(e,t,n){return function(e,t,n,r){return function(e,t,n,r,o){var i=function(e,t){return function(n){e(n)&&t(Qa(n))}}(n,r);return e.dom.addEventListener(t,i,o),{unbind:g(Ta,e,t,i,o)}}(e,t,n,r,!1)}(e,t,Ea,n)},$a=Qa,Ma=function(e){return void 0!==e.dom.classList},za=function(e,t){return function(e,t,n){var r=function(e,t){var n=Lt(e,t);return void 0===n||""===n?[]:n.split(" ")}(e,t).concat([n]);return It(e,t,r.join(" ")),!0}(e,"class",t)},Ra=function(e,t){Ma(e)?e.dom.classList.add(t):za(e,t)},Da=function(e,t){return Ma(e)&&e.dom.classList.contains(t)},Ia=function(e){var t=e.replace(/\./g,"-");return{resolve:function(e){return t+"-"+e}}},Na=Ia("ephox-dragster"),La=Na.resolve,Va=Sa({compare:function(e,t){return ao(t.left-e.left,t.top-e.top)},extract:function(e){return S.some(ao(e.x,e.y))},sink:function(e,t){var n=function(e){var t=Z({layerClass:La("blocker")},e),n=Me.fromTag("div");return It(n,"role","presentation"),Gt(n,{position:"fixed",left:"0px",top:"0px",width:"100%",height:"100%"}),Ra(n,La("blocker")),Ra(n,t.layerClass),{element:h(n),destroy:function(){sr(n)}}}(t),r=Pa(n.element(),"mousedown",e.forceDrop),o=Pa(n.element(),"mouseup",e.drop),i=Pa(n.element(),"mousemove",e.move),a=Pa(n.element(),"mouseout",e.delayDrop);return ka({element:n.element,start:function(e){nr(e,n.element())},stop:function(){sr(n.element())},destroy:function(){n.destroy(),o.unbind(),i.unbind(),a.unbind(),r.unbind()}})},mutate:function(e,t){e.mutate(t.left,t.top)}}),Ua=function(e){return Rt(e,"[contenteditable]")},Fa=function(e,t){return void 0===t&&(t=!1),!Pe().browser.isIE()&&St(e)?e.dom.isContentEditable:Ua(e).fold(h(t),(function(e){return"true"===Ha(e)}))},Ha=function(e){return e.dom.contentEditable},Wa=Ia("ephox-snooker"),Xa=Wa.resolve,ja=Xa("resizer-bar"),qa=Xa("resizer-rows"),Za=Xa("resizer-cols"),Ya=function(e){var t=Tt(e.parent(),"."+ja);$(t,sr)},Ga=function(e,t,n){var r=e.origin();$(t,(function(t){t.each((function(t){var o=n(r,t);Ra(o,ja),nr(e.parent(),o)}))}))},Ka=function(e,t,n,r,o){var i=lo(n),a=t.isResizable,s=r.length>0?bo.positions(r,n):[],l=s.length>0?function(e,t){return V(e.all,(function(e,n){return t(e.element)?[n]:[]}))}(e,a):[];!function(e,t,n,r){Ga(e,t,(function(e,t){var o=function(e,t,n,r){var o=Me.fromTag("div");return Gt(o,{position:"absolute",left:t+"px",top:n-3.5+"px",height:"7px",width:r+"px"}),Nt(o,{"data-row":e,role:"presentation"}),o}(t.row,n.left-e.left,t.y-e.top,r);return Ra(o,qa),o}))}(t,z(s,(function(e,t){return T(l,(function(e){return t===e}))})),i,Zr(n));var c=o.length>0?So.positions(o,n):[],u=c.length>0?function(e,t){var n=[];return E(e.grid.columns,(function(r){Hn(e,r).map((function(e){return e.element})).forall(t)&&n.push(r)})),z(n,(function(n){var r=Ln(e,(function(e){return e.column===n}));return U(r,(function(e){return t(e.element)}))}))}(e,a):[];!function(e,t,n,r){Ga(e,t,(function(e,t){var o,i,a,s,l,c=(o=t.col,i=t.x-e.left,a=n.top-e.top,s=r,l=Me.fromTag("div"),Gt(l,{position:"absolute",left:i-3.5+"px",top:a+"px",height:s+"px",width:"7px"}),Nt(l,{"data-column":o,role:"presentation"}),l);return Ra(c,Za),c}))}(t,z(c,(function(e,t){return T(u,(function(e){return t===e}))})),i,oo(n))},Ja=function(e,t){if(Ya(e),e.isResizable(t)){var n=Rn(t),r=Jr(n),o=Gr(n);Ka(n,e,t,r,o)}},es=function(e,t){var n=Tt(e.parent(),"."+ja);$(n,t)},ts=function(e){es(e,(function(e){Yt(e,"display","none")}))},ns=function(e){es(e,(function(e){Yt(e,"display","block")}))},rs=Xa("resizer-bar-dragging"),os=function(e){var t=function(){var e=ba({drag:Oa(["xDelta","yDelta","target"])}),t=S.none(),n=function(){var e=ba({drag:Oa(["xDelta","yDelta"])});return{mutate:function(t,n){e.trigger.drag(t,n)},events:e.registry}}();return n.events.drag.bind((function(n){t.each((function(t){e.trigger.drag(n.xDelta,n.yDelta,t)}))})),{assign:function(e){t=S.some(e)},get:function(){return t},mutate:n.mutate,events:e.registry}}(),n=function(e,t){return void 0===t&&(t={}),function(e,t,n){var r,o,i,s=!1,l=ba({start:Oa([]),stop:Oa([])}),c=Ba(),u=function(){h.stop(),c.isOn()&&(c.off(),l.trigger.stop())},d=(r=u,o=null,{cancel:i=function(){a(o)||(clearTimeout(o),o=null)},throttle:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i(),o=setTimeout((function(){o=null,r.apply(null,e)}),200)}});c.events.move.bind((function(n){t.mutate(e,n.info)}));var f=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];s&&e.apply(null,t)}},h=t.sink(Ca({forceDrop:u,drop:f(u),move:f((function(e){d.cancel(),c.onEvent(e,t)})),delayDrop:f(d.throttle)}),n);return{element:h.element,go:function(e){h.start(e),c.on(),l.trigger.start()},on:function(){s=!0},off:function(){s=!1},destroy:function(){h.destroy()},events:l.registry}}(e,void 0!==t.mode?t.mode:Va,t)}(t,{}),r=S.none(),o=function(e,t){return S.from(Lt(e,t))};t.events.drag.bind((function(e){o(e.target,"data-row").each((function(t){var n=sn(e.target,"top");Yt(e.target,"top",n+e.yDelta+"px")})),o(e.target,"data-column").each((function(t){var n=sn(e.target,"left");Yt(e.target,"left",n+e.xDelta+"px")}))}));var i=function(e,t){return sn(e,t)-nn(e,"data-initial-"+t,0)};n.events.stop.bind((function(){t.get().each((function(t){r.each((function(n){o(t,"data-row").each((function(e){var r=i(t,"top");Ut(t,"data-initial-top"),d.trigger.adjustHeight(n,r,parseInt(e,10))})),o(t,"data-column").each((function(e){var r=i(t,"left");Ut(t,"data-initial-left"),d.trigger.adjustWidth(n,r,parseInt(e,10))})),Ja(e,n)}))}))}));var s=function(r,o){d.trigger.startAdjust(),t.assign(r),It(r,"data-initial-"+o,sn(r,o)),Ra(r,rs),Yt(r,"opacity","0.2"),n.go(e.parent())},l=Pa(e.parent(),"mousedown",(function(e){var t;t=e.target,Da(t,qa)&&s(e.target,"top"),function(e){return Da(e,Za)}(e.target)&&s(e.target,"left")})),c=function(t){return Ie(t,e.view())},u=Pa(e.view(),"mouseover",(function(t){var n;(n=t.target,Rt(n,"table",c).filter(Fa)).fold((function(){St(t.target)&&Ya(e)}),(function(t){r=S.some(t),Ja(e,t)}))})),d=ba({adjustHeight:Oa(["table","delta","row"]),adjustWidth:Oa(["table","delta","column"]),startAdjust:Oa([])});return{destroy:function(){l.unbind(),u.unbind(),n.destroy(),Ya(e)},refresh:function(t){Ja(e,t)},on:n.on,off:n.off,hideBars:g(ts,e),showBars:g(ns,e),events:d.registry}},is=function(e,t,n){var r=bo,o=So,i=os(e),a=ba({beforeResize:Oa(["table","type"]),afterResize:Oa(["table","type"]),startDrag:Oa([])});return i.events.adjustHeight.bind((function(e){var t=e.table;a.trigger.beforeResize(t,"row"),function(e,t,n,r){var o=Rn(e),i=function(e,t,n){return Go(e,t,n,Lo,(function(e){return e.getOrThunk(cn)}))}(o,e,r),a=P(i,(function(e,r){return n===r?Math.max(t+e,cn()):e})),s=Zi(o,a),l=function(e,t){return P(e.all,(function(e,n){return{element:e.element,height:t[n]}}))}(o,a);$(l,(function(e){Mo(e.element,e.height)})),$(s,(function(e){Mo(e.element,e.height)}));var c=R(a,(function(e,t){return e+t}),0);Mo(e,c)}(t,r.delta(e.delta,t),e.row,r),a.trigger.afterResize(t,"row")})),i.events.startAdjust.bind((function(e){a.trigger.startDrag()})),i.events.adjustWidth.bind((function(e){var r=e.table;a.trigger.beforeResize(r,"col");var i=o.delta(e.delta,r),s=n(r);Gi(r,i,e.column,t,s),a.trigger.afterResize(r,"col")})),{on:i.on,off:i.off,hideBars:i.hideBars,showBars:i.showBars,destroy:i.destroy,events:a.registry}},as=function(e,t){return e.fire("newrow",{node:t})},ss=function(e,t){return e.fire("newcell",{node:t})},ls=function(e,t,n){e.fire("TableModified",Z(Z({},n),{table:t}))},cs={structure:!1,style:!0},us={structure:!0,style:!1},ds={structure:!0,style:!0},fs={"border-collapse":"collapse",width:"100%"},hs=E(5,(function(e){var t=e+1+"px";return{title:t,value:t}})),ps=P(["Solid","Dotted","Dashed","Double","Groove","Ridge","Inset","Outset","None","Hidden"],(function(e){return{title:e,value:e.toLowerCase()}})),ms={border:"1"},gs="preservetable",As=function(e){return e.getParam("table_sizing_mode","auto")},vs=function(e){return e.getParam("table_responsive_width")},ys=function(e){return e.getParam("table_border_widths",hs,"array")},Os=function(e){return e.getParam("table_border_styles",ps,"array")},bs=function(e){return e.getParam("table_default_attributes",ms,"object")},ws=function(e){return e.getParam("table_default_styles",function(e){var t;if(Ts(e)){var n=e.dom,r=null!==(t=n.getParent(e.selection.getStart(),n.isBlock))&&void 0!==t?t:e.getBody(),o=Yr(Me.fromDom(r));return Z(Z({},fs),{width:o+"px"})}return Es(e)?Xe(fs,(function(e,t){return"width"!==t})):fs}(e),"object")},_s=function(e){return e.getParam("table_cell_advtab",!0,"boolean")},xs=function(e){return e.getParam("table_row_advtab",!0,"boolean")},Ss=function(e){return e.getParam("table_advtab",!0,"boolean")},ks=function(e){return e.getParam("table_style_by_css",!1,"boolean")},Cs=function(e){return e.getParam("table_cell_class_list",[],"array")},Bs=function(e){return e.getParam("table_class_list",[],"array")},Qs=function(e){return"relative"===As(e)||!0===vs(e)},Ts=function(e){return"fixed"===As(e)||!1===vs(e)},Es=function(e){return"responsive"===As(e)},Ps=function(e){return e.getParam("table_use_colgroups",!1,"boolean")},$s=function(e){var t="section",n=e.getParam("table_header_type",t,"string");return Q(["section","cells","sectionCells","auto"],n)?n:t},Ms=function(e){var t=e.getParam("table_column_resizing",gs,"string");return I(["preservetable","resizetable"],(function(e){return e===t})).getOr(gs)},zs=function(e){return"preservetable"===Ms(e)},Rs=function(e){return"resizetable"===Ms(e)},Ds=function(e){var t=e.getParam("table_clone_elements");return r(t)?S.some(t.split(/[ ,]/)):Array.isArray(t)?S.some(t):S.none()},Is=function(e){return e.getParam("table_background_color_map",[],"array")},Ns=function(e){return e.getParam("table_border_color_map",[],"array")},Ls=function(e,t){return Qs(e)?ri(t):Ts(e)?ni(t):ti(t)},Vs=function(e){Ut(e,"width")},Us=function(e){var t=Uo(e);ma(e,S.some(t),S.none()),Vs(e)},Fs=function(e){var t=function(e){return qr(e)+"px"}(e);ma(e,S.some(t),S.none()),Vs(e)},Hs=function(e){tn(e,"width");var t=pn(e),n=t.length>0?t:hn(e);$(n,(function(e){tn(e,"width"),Vs(e)})),Vs(e)},Ws="bar-",Xs=function(e){return"false"!==Lt(e,"data-mce-resize")},js=function(e){var t,n,o=S.none(),i=S.none(),a=S.none(),s=function(e){return"TABLE"===e.nodeName},l=function(){return i},c=function(t){return Ls(e,t)},u=function(){return zs(e)?oa():ra()};return e.on("init",(function(){var t=function(e,t){return e.inline?function(e,t,n){return{parent:h(t),view:h(e),origin:h(ao(0,0)),isResizable:n}}(bi(e),(n=Me.fromTag("div"),Gt(n,{position:"static",height:"0",width:"0",padding:"0",margin:"0",border:"0"}),nr(kt(Me.fromDom(document)),n),n),t):ia(Me.fromDom(e.getDoc()),t);var n}(e,Xs);if(a=S.some(t),function(e){var t=e.getParam("object_resizing",!0);return r(t)?"table"===t:t}(e)&&function(e){return e.getParam("table_resize_bars",!0,"boolean")}(e)){var n=u(),s=is(t,n,c);s.on(),s.events.startDrag.bind((function(t){o=S.some(e.selection.getRng())})),s.events.beforeResize.bind((function(t){var n=t.table.dom;!function(e,t,n,r,o){e.fire("ObjectResizeStart",{target:t,width:n,height:r,origin:o})}(e,n,wi(n),_i(n),Ws+t.type)})),s.events.afterResize.bind((function(t){var n=t.table,r=n.dom;ki(n),o.each((function(t){e.selection.setRng(t),e.focus()})),function(e,t,n,r,o){e.fire("ObjectResized",{target:t,width:n,height:r,origin:o})}(e,r,wi(r),_i(r),Ws+t.type),e.undoManager.add()})),i=S.some(s)}})),e.on("ObjectResizeStart",(function(r){var o=r.target;if(s(o)){var i=Me.fromDom(o);$(e.dom.select(".mce-clonedresizable"),(function(t){e.dom.addClass(t,"mce-"+Ms(e)+"-columns")})),!Aa(i)&&Ts(e)?Fs(i):!ga(i)&&Qs(e)&&Us(i),va(i)&&oe(r.origin,Ws)&&Us(i),t=r.width,n=Es(e)?"":function(e,t){var n=e.dom.getStyle(t,"width")||e.dom.getAttrib(t,"width");return S.from(n).filter(se)}(e,o).getOr("")}})),e.on("ObjectResized",(function(r){var o=r.target;if(s(o)){var i=Me.fromDom(o),a=r.origin;oe(a,"corner-")&&function(r,o,i){var a=ie(o,"e");if(""===n&&Us(r),i!==t&&""!==n){Yt(r,"width",n);var s=u(),l=c(r),d=zs(e)||a?function(e){return ya(e).columns}(r)-1:0;Gi(r,i-t,d,s,l)}else if(function(e){return/^(\d+(\.\d+)?)%$/.test(e)}(n)){var f=parseFloat(n.replace("%",""));Yt(r,"width",i*f/t+"%")}(function(e){return/^(\d+(\.\d+)?)px$/.test(e)})(n)&&function(e){var t=Rn(e);Fn(t)||$(hn(e),(function(e){var t=Kt(e,"width");Yt(e,"width",t),Ut(e,"width")}))}(r)}(i,a,r.width),ki(i),ls(e,i.dom,cs)}})),e.on("SwitchMode",(function(){l().each((function(t){e.mode.isReadOnly()?t.hideBars():t.showBars()}))})),{lazyResize:l,lazyWire:function(){return a.getOr(ia(Me.fromDom(e.getBody()),Xs))},destroy:function(){i.each((function(e){e.destroy()})),a.each((function(t){!function(e,t){e.inline&&sr(t.parent())}(e,t)}))}}},qs=function(e,t){return{element:e,offset:t}},Zs=function(e,t,n){return e.property().isText(t)&&0===e.property().getText(t).trim().length||e.property().isComment(t)?n(t).bind((function(t){return Zs(e,t,n).orThunk((function(){return S.some(t)}))})):S.none()},Ys=function(e,t){return e.property().isText(t)?e.property().getText(t).length:e.property().children(t).length},Gs=function(e,t){var n=Zs(e,t,e.query().prevSibling).getOr(t);if(e.property().isText(n))return qs(n,Ys(e,n));var r=e.property().children(n);return r.length>0?Gs(e,r[r.length-1]):qs(n,Ys(e,n))},Ks=Gs,Js=pr(),el=function(e,t){if(1===rn(e,"colspan")){var n=function(e){return Do(e).bind((function(e){return t=e,n=["fixed","relative","empty"],S.from(Co.exec(t)).bind((function(e){var t=Number(e[1]),r=e[2];return function(e,t){return T(t,(function(t){return T(ko[t],(function(t){return e===t}))}))}(r,n)?S.some({value:t,unit:r}):S.none()}));var t,n}))}(e);n.each((function(n){var r=n.value/2;Vo(e,r,n.unit),Vo(t,r,n.unit)}))}},tl=ft("th"),nl=function(e){return U(e,(function(e){return tl(e.element)}))},rl=function(e,t){return e&&t?"sectionCells":e?"section":"cells"},ol=function(e){var t="thead"===e.section,n=Ht(il(e.cells),"th");return t||n?{type:"header",subType:rl(t,n)}:"tfoot"===e.section?{type:"footer"}:{type:"body"}},il=function(e){var t=z(e,(function(e){return tl(e.element)}));return 0===t.length?S.some("td"):t.length===e.length?S.some("th"):S.none()},al=function(e,t,n){return nt(n(e.element,t),!0,e.isLocked)},sl=function(e,t){return e.section!==t?rt(e.element,e.cells,t,e.isNew):e},ll=function(){return{transformRow:sl,transformCell:function(e,t,n){var r=n(e.element,t),o="td"!==ot(r)?function(e){var t=Lr(e,"td");Jn(e,t);var n=yt(e);return ir(t,n),sr(e),t}(r):r;return nt(o,e.isNew,e.isLocked)}}},cl=function(){return{transformRow:sl,transformCell:al}},ul=function(){return{transformRow:function(e,t){return sl(e,"thead"===t?"tbody":t)},transformCell:al}},dl=ll,fl=cl,hl=ul,pl=function(){return{transformRow:p,transformCell:al}},ml=function(e,t,n,r){n===r?Ut(e,t):It(e,t,n)},gl=function(e,t,n){j(Qt(e,t)).fold((function(){return tr(e,n)}),(function(e){return er(e,n)}))},Al=function(e,t){var n=[],r=[],o=function(e){return P(e,(function(e){e.isNew&&n.push(e.element);var t=e.element;return ar(t),$(e.cells,(function(e){e.isNew&&r.push(e.element),ml(e.element,"colspan",e.colspan,1),ml(e.element,"rowspan",e.rowspan,1),nr(t,e.element)})),t}))},i=function(e){return V(e,(function(e){return P(e.cells,(function(e){return ml(e.element,"span",e.colspan,1),e.element}))}))},a=function(t,n){var r=function(e,t){var n=Mt(e,t).getOrThunk((function(){var n=Me.fromTag(t,ht(e).dom);return"thead"===t?gl(e,"caption,colgroup",n):"colgroup"===t?gl(e,"caption",n):nr(e,n),n}));return ar(n),n}(e,n),a=("colgroup"===n?i:o)(t);ir(r,a)},s=function(t,n){t.length>0?a(t,n):function(t){Mt(e,t).each(sr)}(n)},l=[],c=[],u=[],d=[];return $(t,(function(e){switch(e.section){case"thead":l.push(e);break;case"tbody":c.push(e);break;case"tfoot":u.push(e);break;case"colgroup":d.push(e)}})),s(d,"colgroup"),s(l,"thead"),s(c,"tbody"),s(u,"tfoot"),{newRows:n,newCells:r}},vl=function(e,t){if(0===e.length)return 0;var n=e[0];return N(e,(function(e){return!t(n.element,e.element)})).getOr(e.length)},yl=function(e,t){var n=P(e,(function(e){return P(e.cells,O)}));return P(e,(function(r,o){var i=V(r.cells,(function(r,i){if(!1===n[o][i]){var a=function(e,t,n,r){var o=function(e,t){return e[t]}(e,t),i="colgroup"===o.section,a=vl(o.cells.slice(n),r),s=i?1:vl(function(e,t){return P(e,(function(e){return Sn(e,t)}))}(e.slice(t),n),r);return{colspan:a,rowspan:s}}(e,o,i,t);return function(e,t,r,o){for(var i=e;i<e+r;i++)for(var a=t;a<t+o;a++)n[i][a]=!0}(o,i,a.rowspan,a.colspan),[(s=r.element,l=a.rowspan,c=a.colspan,u=r.isNew,{element:s,rowspan:l,colspan:c,isNew:u})]}return[];var s,l,c,u}));return function(e,t,n,r){return{element:e,cells:t,section:n,isNew:r}}(r.element,i,r.section,r.isNew)}))},Ol=function(e,t,n){var r=[];$(e.colgroups,(function(o){for(var i=[],a=0;a<e.grid.columns;a++){var s=Hn(e,a).map((function(e){return nt(e.element,n,!1)})).getOrThunk((function(){return nt(t.colGap(),!0,!1)}));i.push(s)}r.push(rt(o.element,i,"colgroup",n))}));for(var o=0;o<e.grid.rows;o++){for(var i=[],a=0;a<e.grid.columns;a++){var s=In(e,o,a).map((function(e){return nt(e.element,n,e.isLocked)})).getOrThunk((function(){return nt(t.gap(),!0,!1)}));i.push(s)}var l=e.all[o],c=rt(l.element,i,l.section,n);r.push(c)}return r},bl=function(e){return yl(e,Ie)},wl=function(e,t){return q(e.all,(function(e){return I(e.cells,(function(e){return Ie(t,e.element)}))}))},_l=function(e,t,n){var r=P(t.selection,(function(t){return fn(t).bind((function(t){return wl(e,t)})).filter(n)})),o=Wt(r);return jt(o.length>0,o)},xl=function(e,t,n,r,o){return function(i,a,s,l,c){var u=Rn(a),d=S.from(null==c?void 0:c.section).getOrThunk(pl);return t(u,s).map((function(t){var n=function(e,t){return Ol(e,t,!1)}(u,l),r=e(n,t,Ie,o(l),d),i=Pn(r.grid);return{info:t,grid:bl(r.grid),cursor:r.cursor,lockedColumns:i}})).bind((function(e){var t=Al(a,e.grid),o=S.from(null==c?void 0:c.sizing).getOrThunk((function(){return ti(a)})),s=S.from(null==c?void 0:c.resize).getOrThunk(oa);return n(a,e.grid,e.info,{sizing:o,resize:s,section:d}),r(a),Ja(i,a),Ut(a,Tn),e.lockedColumns.length>0&&It(a,Tn,e.lockedColumns.join(",")),S.some({cursor:e.cursor,newRows:t.newRows,newCells:t.newCells})}))}},Sl=function(e,t){return _l(e,t,b).map((function(e){return{cells:e,generators:t.generators,clipboard:t.clipboard}}))},kl=function(e,t){return _l(e,t,b)},Cl=function(e,t){return _l(e,t,(function(e){return!e.isLocked}))},Bl=function(e,t){return U(t,(function(t){return function(e,t){return wl(e,t).exists((function(e){return!e.isLocked}))}(e,t)}))},Ql=function(e,t){return function(e,t){return t.mergable}(0,t).filter((function(t){return Bl(e,t.cells)}))},Tl=function(e,t){return function(e,t){return t.unmergable}(0,t).filter((function(t){return Bl(e,t)}))},El=function(e,t,n,r){for(var o=Bn(e).rows,i=!0,a=0;a<o.length;a++)for(var s=0;s<Cn(o[0]);s++){var l=o[a],c=Sn(l,s),u=n(c.element,t);!0===u&&!1===i?_n(l,s,nt(r(),!0,c.isLocked)):!0===u&&(i=!1)}return e},Pl=function(e){return{isValue:b,isError:O,getOr:h(e),getOrThunk:h(e),getOrDie:h(e),or:function(t){return Pl(e)},orThunk:function(t){return Pl(e)},fold:function(t,n){return n(e)},map:function(t){return Pl(t(e))},mapError:function(t){return Pl(e)},each:function(t){t(e)},bind:function(t){return t(e)},exists:function(t){return t(e)},forall:function(t){return t(e)},toOptional:function(){return S.some(e)}}},$l=function(e){return{isValue:O,isError:b,getOr:p,getOrThunk:function(e){return e()},getOrDie:function(){return(t=String(e),function(){throw new Error(t)})();var t},or:p,orThunk:function(e){return e()},fold:function(t,n){return t(e)},map:function(t){return $l(e)},mapError:function(t){return $l(t(e))},each:f,bind:function(t){return $l(e)},exists:O,forall:b,toOptional:S.none}},Ml={value:Pl,error:$l,fromOption:function(e,t){return e.fold((function(){return $l(t)}),Pl)}},zl=function(e,t){return{rowDelta:0,colDelta:Cn(e[0])-Cn(t[0])}},Rl=function(e,t){return{rowDelta:e.length-t.length,colDelta:0}},Dl=function(e,t,n,r){var o="colgroup"===t.section?n.col:n.cell;return E(e,(function(e){return nt(o(),!0,r(e))}))},Il=function(e,t,n,r){var o=e[e.length-1];return e.concat(E(t,(function(){var e="colgroup"===o.section?n.colgroup:n.row,t=Qn(o,e,p),i=Dl(t.cells.length,t,n,(function(e){return Ge(r,e.toString())}));return xn(t,i)})))},Nl=function(e,t,n,r){return P(e,(function(e){var o=Dl(t,e,n,O);return bn(e,r,o)}))},Ll=function(e,t,n){var r=t.colDelta<0?Nl:p,o=t.rowDelta<0?Il:p,i=Pn(e),a=Cn(e[0]),s=T(i,(function(e){return e===a-1})),l=r(e,Math.abs(t.colDelta),n,s?a-1:a),c=Pn(l);return o(l,Math.abs(t.rowDelta),n,F(c,b))},Vl=function(e,t,n,r){var o=g(r,Sn(e[t],n).element),i=e[t];return e.length>1&&Cn(i)>1&&(n>0&&o(kn(i,n-1))||n<i.cells.length-1&&o(kn(i,n+1))||t>0&&o(kn(e[t-1],n))||t<e.length-1&&o(kn(e[t+1],n)))},Ul=function(e,t,n){return z(n,(function(n){return n>=e.column&&n<=Cn(t[0])+e.column}))},Fl=function(e,t,n,r,o){!function(e,t,n,r){t>0&&t<e[0].cells.length&&$(e,(function(e){var o=e.cells[t-1],i=e.cells[t];n(i.element,o.element)&&_n(e,t,nt(r(),!0,i.isLocked))}))}(t,e,o,r.cell);var i=Rl(n,t),a=Ll(n,i,r),s=Rl(t,a),l=Ll(t,s,r);return P(l,(function(t,n){return bn(t,e,a[n].cells)}))},Hl=function(e,t,n,r,o){!function(e,t,n,r){var o=Bn(e).rows;if(t>0&&t<o.length){var i=function(e,t){return D(e,(function(e,n){return T(e,(function(e){return t(e.element,n.element)}))?e:e.concat([n])}),[])}(o[t-1].cells,n);$(i,(function(e){for(var i=S.none(),a=t;a<o.length;a++)for(var s=function(t){var s=o[a],l=Sn(s,t);n(l.element,e.element)&&(i.isNone()&&(i=S.some(r())),i.each((function(e){_n(s,t,nt(e,!0,l.isLocked))})))},l=0;l<Cn(o[0]);l++)s(l)}))}}(t,e,o,r.cell);var i,a,s=Pn(t),l=zl(t,n),c=Z(Z({},l),{colDelta:l.colDelta-s.length}),u=Ll(t,c,r),d=Bn(u),f=d.cols,h=d.rows,p=Pn(u),m=zl(n,t),g=Z(Z({},m),{colDelta:m.colDelta+p.length}),A=(i=r,a=p,P(n,(function(e){return D(a,(function(t,n){var r=Dl(1,e,i,b)[0];return wn(t,n,r)}),e)}))),v=Ll(A,g,r);return f.concat(h.slice(0,e)).concat(v).concat(h.slice(e,h.length))},Wl=function(e,t,n,r,o){var i=Bn(e),a=i.rows,s=i.cols,l=a.slice(0,t),c=a.slice(t),u=function(e,t,n,r){return Qn(e,(function(e){return r(e,n)}),t)}(a[n],(function(e,n){return t>0&&t<a.length&&r(kn(a[t-1],n),kn(a[t],n))?Sn(a[t],n):nt(o(e.element,r),!0,e.isLocked)}),r,o);return s.concat(l).concat([u]).concat(c)},Xl=function(e,t,n,r,o){return P(e,(function(e){var i=t>0&&t<Cn(e)&&r(kn(e,t-1),kn(e,t)),a=function(e,t,n,r,o,i,a){if("colgroup"!==n&&r)return Sn(e,t);var s=Sn(e,o);return nt(a(s.element,i),!0,!1)}(e,t,e.section,i,n,r,o);return wn(e,t,a)}))},jl=function(e,t,n,r){return function(e,t,n,r){return void 0!==kn(e[t],n)&&t>0&&r(kn(e[t-1],n),kn(e[t],n))}(e,t,n,r)||function(e,t,n){return t>0&&n(kn(e,t-1),kn(e,t))}(e[t],n,r)},ql=function(e,t,n,r){var o=function(e){return function(e){return"row"===e?an(t):on(t)}(e)?e+"group":e};return e?tl(t)?o(n):null:r&&tl(t)?o("row"===n?"col":"row"):null},Zl=function(e,t,n){return nt(n(e.element,t),!0,e.isLocked)},Yl=function(e,t,n,r,o,i,a){return P(e,(function(e,s){return function(e){var l=e.cells,c=P(l,(function(e,l){if(function(e){return T(t,(function(t){return n(e.element,t.element)}))}(e)){var c=a(e,s,l)?o(e,n,r):e;return i(c,s,l).each((function(e){var t,n;t=c.element,n={scope:S.from(e)},Fe(n,(function(e,n){e.fold((function(){Ut(t,n)}),(function(e){Dt(t.dom,n,e)}))}))})),c}return e}));return rt(e.element,c,e.section,e.isNew)}(e)}))},Gl=function(e,t,n){return V(e,(function(r,o){return jl(e,o,t,n)?[]:[Sn(r,t)]}))},Kl=function(e,t,n,r,o){var i=Bn(e).rows,a=V(t,(function(e){return Gl(i,e,r)})),s=P(e,(function(e){return nl(e.cells)})),l=function(e,t){return U(t,p)&&nl(e)?b:function(e,n,r){return!("th"===ot(e.element)&&t[n])}}(a,s),c=function(e,t){return function(n,r){return S.some(ql(e,n.element,"row",t[r]))}}(n,s);return Yl(e,a,r,o,Zl,c,l)},Jl=function(e,t,n,r){var o=Bn(e).rows,i=P(t,(function(e){return Sn(o[e.row],e.column)}));return Yl(e,i,n,r,Zl,S.none,b)},ec=function(e){return D(e,(function(e,t){return T(e,(function(e){return e.column===t.column}))?e:e.concat([t])}),[]).sort((function(e,t){return e.column-t.column}))},tc=ft("col"),nc=ft("colgroup"),rc=function(e){return"tr"===ot(e)||nc(e)},oc=function(e){return{element:e,colspan:nn(e,"colspan",1),rowspan:nn(e,"rowspan",1)}},ic=function(e){return Vt(e,"scope").map((function(e){return e.substr(0,3)}))},ac=function(e,t){void 0===t&&(t=oc);var n=function(n){if(rc(n))return nc((o={element:n}).element)?e.colgroup(o):e.row(o);var o,i=function(t){return tc(t.element)?e.col(t):e.cell(t)}(t(n));return r=S.some({item:n,replacement:i}),i},r=S.none();return{getOrInit:function(e,t){return r.fold((function(){return n(e)}),(function(r){return t(e,r.item)?r.replacement:n(e)}))}}},sc=function(e){return function(t){var n=[],r=function(r){var o="td"===e?{scope:null}:{},i=t.replace(r,e,o);return n.push({item:r,sub:i}),i};return{replaceOrInit:function(e,t){return rc(e)||tc(e)?e:function(e,t){return I(n,(function(n){return t(n.item,e)}))}(e,t).fold((function(){return r(e)}),(function(n){return t(e,n.item)?n.sub:r(e)}))}}}},lc=function(e){return{unmerge:function(t){var n=ic(t);return n.each((function(e){return It(t,"scope",e)})),function(){var r=e.cell({element:t,colspan:1,rowspan:1});return tn(r,"width"),tn(t,"width"),n.each((function(e){return It(r,"scope",e)})),r}},merge:function(e){return tn(e[0],"width"),function(){var t=Wt(P(e,ic));if(0===t.length)return S.none();var n=t[0],r=["row","col"];return T(t,(function(e){return e!==n&&Q(r,e)}))?S.none():S.from(n)}().fold((function(){return Ut(e[0],"scope")}),(function(t){return It(e[0],"scope",t+"group")})),h(e[0])}}},cc=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","table","thead","tfoot","tbody","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],uc=pr(),dc=function(e){return function(e,t){var n=e.property().name(t);return Q(cc,n)}(uc,e)},fc=function(e){return function(e,t){var n=e.property().name(t);return Q(["ol","ul"],n)}(uc,e)},hc=function(e){var t,n=function(e){return"br"===ot(e)},r=function(e){return ci(e).bind((function(t){var r=vt(t).map((function(e){return!!dc(e)||!!function(e,t){return Q(["br","img","hr","input"],e.property().name(t))}(uc,e)&&"img"!==ot(e)})).getOr(!1);return mt(t).map((function(o){return!0===r||("li"===ot(i=o)||Pt(i,fc).isSome())||n(t)||dc(o)&&!Ie(e,o)?[]:[Me.fromTag("br")];var i}))})).getOr([])},o=(t=V(e,(function(e){var t=yt(e);return function(e){return U(e,(function(e){return n(e)||ct(e)&&0===ur(e).trim().length}))}(t)?[]:t.concat(r(e))})),0===t.length?[Me.fromTag("br")]:t);ar(e[0]),ir(e[0],o)},pc=function(e){return Fa(e,!0)},mc=function(e){0===hn(e).length&&sr(e)},gc=function(e,t){return{grid:e,cursor:t}},Ac=function(e,t,n){var r=function(e,t,n){var r,o,i=Bn(e).rows;return S.from(null===(o=null===(r=i[t])||void 0===r?void 0:r.cells[n])||void 0===o?void 0:o.element).filter(pc).orThunk((function(){return function(e){return q(e,(function(e){return q(e.cells,(function(e){var t=e.element;return jt(pc(t),t)}))}))}(i)}))}(e,t,n);return gc(e,r)},vc=function(e){return D(e,(function(e,t){return T(e,(function(e){return e.row===t.row}))?e:e.concat([t])}),[]).sort((function(e,t){return e.row-t.row}))},yc=function(e,t){return function(n,r,o,i,a){var s=vc(r),l=P(s,(function(e){return e.row})),c=function(e,t,n,r,o,i,a){var s=Bn(e),l=s.cols,c=s.rows,u=c[t[0]],d=V(t,(function(e){return function(e,t,n){var r=e[t];return V(r.cells,(function(r,o){return jl(e,t,o,n)?[]:[r]}))}(c,e,o)})),f=P(u.cells,(function(e,t){return nl(Gl(c,t,o))})),h=Y([],c,!0);$(t,(function(e){h[e]=a.transformRow(c[e],n)}));var m=l.concat(h),g=function(e,t){return U(t,p)&&nl(e.cells)?b:function(e,n,r){return!("th"===ot(e.element)&&t[r])}}(u,f),A=function(e,t){return function(n,r,o){return S.some(ql(e,n.element,"col",t[o]))}}(r,f);return Yl(m,d,o,i,a.transformCell,A,g)}(n,l,e,t,o,i.replaceOrInit,a);return Ac(c,r[0].row,r[0].column)}},Oc=yc("thead",!0),bc=yc("tbody",!1),wc=yc("tfoot",!1),_c=function(e,t,n){var r=function(e,t){return vn(e,(function(){return t}))}(e,n.section),o=Dn(r);return Ol(o,t,!0)},xc=function(e,t,n,r){return function(e,t,n,r){var o=Dn(t),i=r.getWidths(o,r);Yi(o,i,r)}(0,t,0,r.sizing)},Sc=function(e,t,n,r){return function(e,t,n,r,o){var i=Dn(t),a=r.getWidths(i,r),s=r.pixelWidth(),l=o.calcRedestributedWidths(a,s,n.pixelDelta,r.isRelative),c=l.newSizes,u=l.delta;Yi(i,c,r),r.adjustTableWidth(u)}(0,t,n,r.sizing,r.resize)},kc=function(e,t){return T(t,(function(e){return 0===e.column&&e.isLocked}))},Cc=function(e,t){return T(t,(function(t){return t.column+t.colspan>=e.grid.columns&&t.isLocked}))},Bc=function(e,t){var n=Gr(e),r=ec(t);return D(r,(function(e,t){return e+n[t.column].map(Zr).getOr(0)}),0)},Qc=function(e){return function(t,n){return kl(t,n).filter((function(n){return!(e?kc:Cc)(t,n)})).map((function(e){return{details:e,pixelDelta:Bc(t,e)}}))}},Tc=function(e){return function(t,n){return Sl(t,n).filter((function(n){return!(e?kc:Cc)(t,n.cells)}))}},Ec=sc("th"),Pc=sc("td"),$c=xl((function(e,t,n,r){var o=t[0].row,i=vc(t),a=R(i,(function(e,t){return{grid:Wl(e.grid,o,t.row+e.delta,n,r.getOrInit),delta:e.delta+1}}),{grid:e,delta:0}).grid;return Ac(a,o,t[0].column)}),kl,f,f,ac),Mc=xl((function(e,t,n,r){var o=vc(t),i=o[o.length-1],a=i.row+i.rowspan,s=R(o,(function(e,t){return Wl(e,a,t.row,n,r.getOrInit)}),e);return Ac(s,a,t[0].column)}),kl,f,f,ac),zc=xl((function(e,t,n,r){var o=t.details,i=ec(o),a=i[0].column,s=R(i,(function(e,t){return{grid:Xl(e.grid,a,t.column+e.delta,n,r.getOrInit),delta:e.delta+1}}),{grid:e,delta:0}).grid;return Ac(s,o[0].row,a)}),Qc(!0),Sc,f,ac),Rc=xl((function(e,t,n,r){var o=t.details,i=o[o.length-1],a=i.column+i.colspan,s=ec(o),l=R(s,(function(e,t){return Xl(e,a,t.column,n,r.getOrInit)}),e);return Ac(l,o[0].row,a)}),Qc(!1),Sc,f,ac),Dc=xl((function(e,t,n,r){var o=ec(t.details),i=function(e,t){return V(e,(function(e){var n=e.cells,r=R(t,(function(e,t){return t>=0&&t<e.length?e.slice(0,t).concat(e.slice(t+1)):e}),n);return r.length>0?[rt(e.element,r,e.section,e.isNew)]:[]}))}(e,P(o,(function(e){return e.column}))),a=i.length>0?i[0].cells.length-1:0;return Ac(i,o[0].row,Math.min(o[0].column,a))}),(function(e,t){return Cl(e,t).map((function(t){return{details:t,pixelDelta:-Bc(e,t)}}))}),Sc,mc,ac),Ic=xl((function(e,t,n,r){var o=vc(t),i=function(e,t,n){var r=Bn(e),o=r.rows;return r.cols.concat(o.slice(0,t)).concat(o.slice(n+1))}(e,o[0].row,o[o.length-1].row),a=i.length>0?i.length-1:0;return Ac(i,Math.min(t[0].row,a),t[0].column)}),kl,f,mc,ac),Nc=xl((function(e,t,n,r){var o=ec(t),i=P(o,(function(e){return e.column})),a=Kl(e,i,!0,n,r.replaceOrInit);return Ac(a,t[0].row,t[0].column)}),Cl,f,f,Ec),Lc=xl((function(e,t,n,r){var o=ec(t),i=P(o,(function(e){return e.column})),a=Kl(e,i,!1,n,r.replaceOrInit);return Ac(a,t[0].row,t[0].column)}),Cl,f,f,Pc),Vc=xl(Oc,Cl,f,f,Ec),Uc=xl(bc,Cl,f,f,Pc),Fc=xl(wc,Cl,f,f,Pc),Hc=xl((function(e,t,n,r){var o=Jl(e,t,n,r.replaceOrInit);return Ac(o,t[0].row,t[0].column)}),Cl,f,f,Ec),Wc=xl((function(e,t,n,r){var o=Jl(e,t,n,r.replaceOrInit);return Ac(o,t[0].row,t[0].column)}),Cl,f,f,Pc),Xc=xl((function(e,t,n,r){var o=t.cells;hc(o);var i=function(e,t,n,r){var o=Bn(e).rows;if(0===o.length)return e;for(var i=t.startRow;i<=t.finishRow;i++)for(var a=t.startCol;a<=t.finishCol;a++){var s=o[i],l=Sn(s,a).isLocked;_n(s,a,nt(r(),!1,l))}return e}(e,t.bounds,0,r.merge(o));return gc(i,S.from(o[0]))}),Ql,xc,f,lc),jc=xl((function(e,t,n,r){var o=R(t,(function(e,t){return El(e,t,n,r.unmerge(t))}),e);return gc(o,S.from(t[0]))}),Tl,xc,f,lc),qc=xl((function(e,t,n,r){var o,i,a=function(e,t){var n=Rn(e);return Ol(n,t,!0)}(t.clipboard,t.generators);return function(e,t,n,r,o){var i=Pn(t),a=function(e,t,n){var r=Cn(t[0]),o=Bn(t).cols.length+e.row,i=E(r-e.column,(function(t){return t+e.column}));return{row:o,column:I(i,(function(e){return U(n,(function(t){return t!==e}))})).getOr(r-1)}}(e,t,i),s=Bn(n).rows,l=Ul(a,s,i),c=function(e,t,n){if(e.row>=t.length||e.column>Cn(t[0]))return Ml.error("invalid start address out of table bounds, row: "+e.row+", column: "+e.column);var r=t.slice(e.row),o=r[0].cells.slice(e.column),i=Cn(n[0]),a=n.length;return Ml.value({rowDelta:r.length-a,colDelta:o.length-i})}(a,t,s);return c.map((function(e){var n=Z(Z({},e),{colDelta:e.colDelta-l.length}),i=Ll(t,n,r),c=Pn(i),u=Ul(a,s,c);return function(e,t,n,r,o,i){for(var a=e.row,s=e.column,l=a+n.length,c=s+Cn(n[0])+i.length,u=F(i,b),d=a;d<l;d++)for(var f=0,h=s;h<c;h++)if(u[h])f++;else{Vl(t,d,h,o)&&El(t,kn(t[d],h),o,r.cell);var p=h-s-f,m=Sn(n[d-a],p),g=m.element,A=r.replace(g);_n(t[d],h,nt(A,!0,m.isLocked))}return t}(a,i,s,r,o,u)}))}((o=t.row,i=t.column,{row:o,column:i}),e,a,t.generators,n).fold((function(){return gc(e,S.some(t.element))}),(function(e){return Ac(e,t.row,t.column)}))}),(function(e,t){return fn(t.element).bind((function(n){return wl(e,n).map((function(e){return Z(Z({},e),{generators:t.generators,clipboard:t.clipboard})}))}))}),xc,f,ac),Zc=xl((function(e,t,n,r){var o=Bn(e).rows,i=t.cells[0].column,a=o[t.cells[0].row],s=_c(t.clipboard,t.generators,a),l=Fl(i,e,s,t.generators,n);return Ac(l,t.cells[0].row,t.cells[0].column)}),Tc(!0),f,f,ac),Yc=xl((function(e,t,n,r){var o=Bn(e).rows,i=t.cells[t.cells.length-1].column+t.cells[t.cells.length-1].colspan,a=o[t.cells[0].row],s=_c(t.clipboard,t.generators,a),l=Fl(i,e,s,t.generators,n);return Ac(l,t.cells[0].row,t.cells[0].column)}),Tc(!1),f,f,ac),Gc=xl((function(e,t,n,r){var o=Bn(e).rows,i=t.cells[0].row,a=o[i],s=_c(t.clipboard,t.generators,a),l=Hl(i,e,s,t.generators,n);return Ac(l,t.cells[0].row,t.cells[0].column)}),Sl,f,f,ac),Kc=xl((function(e,t,n,r){var o=Bn(e).rows,i=t.cells[t.cells.length-1].row+t.cells[t.cells.length-1].rowspan,a=o[t.cells[0].row],s=_c(t.clipboard,t.generators,a),l=Hl(i,e,s,t.generators,n);return Ac(l,t.cells[0].row,t.cells[0].column)}),Sl,f,f,ac),Jc=function(e,t){var n=Rn(e);return kl(n,t).bind((function(e){var t=e[e.length-1],r=e[0].column,o=t.column+t.colspan,i=L(P(n.all,(function(e){return z(e.cells,(function(e){return e.column>=r&&e.column<o}))})));return il(i)})).getOr("")},eu=function(e,t){var n=Rn(e);return kl(n,t).bind(il).getOr("")},tu=function(e,t){var n=Rn(e);return kl(n,t).bind((function(e){var t=e[e.length-1],r=e[0].row,o=t.row+t.rowspan;return function(e){var t=P(e,(function(e){return ol(e).type})),n=Q(t,"header"),r=Q(t,"footer");if(n||r){var o=Q(t,"body");return!n||o||r?n||o||!r?S.none():S.some("footer"):S.some("header")}return S.some("body")}(n.all.slice(r,o))})).getOr("")},nu=function(e,t,n){var r=function(e){return"table"===ot(bi(e))},o=Ds(e),i=Rs(e)?f:el,a=function(t){switch($s(e)){case"section":return dl();case"sectionCells":return fl();case"cells":return hl();default:return function(e,t){var n;switch((n=Rn(e),q(n.all,(function(e){var t=ol(e);return"header"===t.type?S.from(t.subType):S.none()}))).getOr(t)){case"section":return ll();case"sectionCells":return cl();case"cells":return ul()}}(t,"section")}},s=function(n,r,i,s,l){return function(c,u,d){void 0===d&&(d=!1),ki(c);var f=s(),h=Me.fromDom(e.getDoc()),p=vi(i,h,o),m={sizing:Ls(e,c),resize:Rs(e)?ra():oa(),section:a(c)};return r(c)?n(f,c,u,p,m).bind((function(n){$(n.newRows,(function(t){as(e,t.dom)})),$(n.newCells,(function(t){ss(e,t.dom)}));var r=function(n,r){return r.cursor.fold((function(){var r=hn(n);return X(r).filter(St).map((function(r){t.clear(n);var o=e.dom.createRng();return o.selectNode(r.dom),e.selection.setRng(o),It(r,"data-mce-selected","1"),o}))}),(function(r){var o=Ks(Js,r),i=e.dom.createRng();return i.setStart(o.element.dom,o.offset),i.setEnd(o.element.dom,o.offset),e.selection.setRng(i),t.clear(n),S.some(i)}))}(c,n);return St(c)&&(ki(c),d||ls(e,c.dom,l)),r.map((function(e){return{rng:e,effect:l}}))})):S.none()}},l=s(Ic,(function(t){return!1===r(e)||ya(t).rows>1}),f,n,us),c=s(Dc,(function(t){return!1===r(e)||ya(t).columns>1}),f,n,us);return{deleteRow:l,deleteColumn:c,insertRowsBefore:s($c,b,f,n,us),insertRowsAfter:s(Mc,b,f,n,us),insertColumnsBefore:s(zc,b,i,n,us),insertColumnsAfter:s(Rc,b,i,n,us),mergeCells:s(Xc,b,f,n,us),unmergeCells:s(jc,b,f,n,us),pasteColsBefore:s(Zc,b,f,n,us),pasteColsAfter:s(Yc,b,f,n,us),pasteRowsBefore:s(Gc,b,f,n,us),pasteRowsAfter:s(Kc,b,f,n,us),pasteCells:s(qc,b,f,n,ds),makeCellsHeader:s(Hc,b,f,n,us),unmakeCellsHeader:s(Wc,b,f,n,us),makeColumnsHeader:s(Nc,b,f,n,us),unmakeColumnsHeader:s(Lc,b,f,n,us),makeRowsHeader:s(Vc,b,f,n,us),makeRowsBody:s(Uc,b,f,n,us),makeRowsFooter:s(Fc,b,f,n,us),getTableRowType:tu,getTableCellType:eu,getTableColType:Jc}},ru={styles:{"border-collapse":"collapse",width:"100%"},attributes:{border:"1"},colGroups:!1},ou=function(e,t,n,r){return E(e,(function(e){return function(e,t,n,r){for(var o=Me.fromTag("tr"),i=0;i<e;i++){var a=Me.fromTag(r<t||i<n?"th":"td");i<n&&It(a,"scope","row"),r<t&&It(a,"scope","col"),nr(a,Me.fromTag("br")),nr(o,a)}return o}(t,n,r,e)}))},iu=function(e,t){e.selection.select(t.dom,!0),e.selection.collapse(!0)},au=function(e,t,n,o,i){var a=ws(e),s={styles:a,attributes:bs(e),colGroups:Ps(e)};return e.undoManager.ignore((function(){var r=function(e,t,n,r,o,i){void 0===i&&(i=ru);var a=Me.fromTag("table"),s="cells"!==o;Gt(a,i.styles),Nt(a,i.attributes),i.colGroups&&nr(a,function(e){var t=Me.fromTag("colgroup");return E(e,(function(){return nr(t,Me.fromTag("col"))})),t}(t));var l=Math.min(e,n);if(s&&n>0){var c=Me.fromTag("thead");nr(a,c);var u=ou(n,t,"sectionCells"===o?l:0,r);ir(c,u)}var d=Me.fromTag("tbody");nr(a,d);var f=ou(s?e-l:e,t,s?0:n,r);return ir(d,f),a}(n,t,i,o,$s(e),s);It(r,"data-mce-id","__mce");var a=function(e){var t=Me.fromTag("div"),n=Me.fromDom(e.dom.cloneNode(!0));return nr(t,n),function(e){return e.dom.innerHTML}(t)}(r);e.insertContent(a),e.addVisual()})),zt(bi(e),'table[data-mce-id="__mce"]').map((function(t){return Ts(e)?Fs(t):Es(e)?Hs(t):(Qs(e)||function(e){return r(e)&&-1!==e.indexOf("%")}(a.width))&&Us(t),ki(t),Ut(t,"data-mce-id"),function(e,t){$(Tt(t,"tr"),(function(t){as(e,t.dom),$(Tt(t,"th,td"),(function(t){ss(e,t.dom)}))}))}(e,t),function(e,t){zt(t,"td,th").each(g(iu,e))}(e,t),t.dom})).getOr(null)},su=function(e,t,n,r,o){void 0===r&&(r={});var i=function(e){return d(e)&&e>0};if(i(t)&&i(n)){var a=r.headerRows||0,s=r.headerColumns||0;return au(e,n,t,s,a)}return console.error(o),null},lu=function(e){return function(){return e().fold((function(){return[]}),(function(e){return P(e,(function(e){return e.dom}))}))}},cu=function(e){return function(t){var n=t.length>0?S.some(Oi(t)):S.none();e(n)}},uu=function(e){return function(t,n,r){void 0===r&&(r={});var o=su(e,n,t,r,"Invalid values for insertTable - rows and columns values are required to insert a table.");return e.undoManager.add(),o}},du=function(e,t,n){var r=nn(e,t,1);1===n||r<=1?Ut(e,t):It(e,t,Math.min(n,r))},fu=tinymce.util.Tools.resolve("tinymce.util.Tools"),hu=function(e,t,n){return function(t,r){for(var o=0;o<r.length;o++){var i=e.getStyle(r[o],n);if(void 0===t&&(t=i),t!==i)return""}return t}(void 0,e.select("td,th",t))},pu=function(e,t,n){n&&e.formatter.apply("align"+n,{},t)},mu=function(e,t){fu.each("left center right".split(" "),(function(n){e.formatter.remove("align"+n,{},t)}))},gu=[{text:"None",value:""},{text:"Top",value:"top"},{text:"Middle",value:"middle"},{text:"Bottom",value:"bottom"}],Au=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,vu=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,yu=function(e){return(t=e,oe(t,"#")?function(e){return e.substring(1)}(t):t).toUpperCase();var t},Ou=function(e){var t=e.toString(16);return(1===t.length?"0"+t:t).toUpperCase()},bu=function(e){return function(e){return{value:e}}(Ou(e.red)+Ou(e.green)+Ou(e.blue))},wu=/^rgb\((\d+),\s*(\d+),\s*(\d+)\)/,_u=/^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/,xu=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},Su=function(e,t,n,r){var o=parseInt(e,10),i=parseInt(t,10),a=parseInt(n,10),s=parseFloat(r);return xu(o,i,a,s)},ku=function(e){return(t=e,function(e){return Au.test(e)||vu.test(e)}(t)?S.some({value:yu(t)}):S.none()).orThunk((function(){return function(e){if("transparent"===e)return S.some(xu(0,0,0,0));var t=wu.exec(e);if(null!==t)return S.some(Su(t[1],t[2],t[3],"1"));var n=_u.exec(e);return null!==n?S.some(Su(n[1],n[2],n[3],n[4])):S.none()}(e).map(bu)})).getOrThunk((function(){var t=document.createElement("canvas");t.height=1,t.width=1;var n=t.getContext("2d");n.clearRect(0,0,t.width,t.height),n.fillStyle="#FFFFFF",n.fillStyle=e,n.fillRect(0,0,1,1);var r=n.getImageData(0,0,1,1).data,o=r[0],i=r[1],a=r[2],s=r[3];return bu(xu(o,i,a,s))}));var t},Cu=function(e){var t=e;return{get:function(){return t},set:function(e){t=e}}},Bu=function(e){var t=Cu(S.none()),n=function(){return t.get().each(e)};return{clear:function(){n(),t.set(S.none())},isSet:function(){return t.get().isSome()},get:function(){return t.get()},set:function(e){n(),t.set(S.some(e))}}},Qu=function(){var e=Bu(f);return Z(Z({},e),{on:function(t){return e.get().each(t)}})},Tu=function(e,t,n,r){return function(o){var i=Bu((function(e){return e.unbind()})),a=!se(r),s=function(){var s=Hi(t),l=function(t){return e.formatter.match(n,{value:r},t.dom,a)};a?(o.setActive(!T(s,l)),i.set(e.formatter.formatChanged(n,(function(e){return o.setActive(!e)}),!0))):(o.setActive(U(s,l)),i.set(e.formatter.formatChanged(n,o.setActive,!1,{value:r})))};return e.initialized?s():e.on("init",s),i.clear}},Eu=function(e){return Ke(e,"menu")},Pu=function(e){return P(e,(function(e){var t=e.text||e.title;return Eu(e)?{text:t,items:Pu(e.menu)}:{text:t,value:e.value}}))},$u=function(e,t,n,r,o){return P(n,(function(n){var i=n.text||n.title;return Eu(n)?{type:"nestedmenuitem",text:i,getSubmenuItems:function(){return $u(e,t,n.menu,r,o)}}:{text:i,type:"togglemenuitem",onAction:function(){return o(n.value)},onSetup:Tu(e,t,r,n.value)}}))},Mu=function(e,t){return function(n){var r;e.execCommand("mceTableApplyCellStyle",!1,((r={})[t]=n,r))}},zu=function(e){return V(e,(function(e){return Eu(e)?[Z(Z({},e),{menu:zu(e.menu)})]:se(e.value)?[e]:[]}))},Ru=function(e,t,n,r,o){return function(i){return i($u(e,t,n,r,o))}},Du=function(e,t,n){var r=P(t,(function(e){return{text:e.title,value:"#"+ku(e.value).value,type:"choiceitem"}}));return[{type:"fancymenuitem",fancytype:"colorswatch",initData:{colors:r.length>0?r:void 0,allowCustomColors:!1},onAction:function(t){var r,o="remove"===t.value?"":t.value;e.execCommand("mceTableApplyCellStyle",!1,((r={})[n]=o,r))}}]},Iu=function(e){return function(){var t="header"===e.queryCommandValue("mceTableRowType")?"body":"header";e.execCommand("mceTableRowType",!1,{type:t})}},Nu=function(e){return function(){var t="th"===e.queryCommandValue("mceTableColType")?"td":"th";e.execCommand("mceTableColType",!1,{type:t})}},Lu=[{name:"width",type:"input",label:"Width"},{name:"height",type:"input",label:"Height"},{name:"celltype",type:"listbox",label:"Cell type",items:[{text:"Cell",value:"td"},{text:"Header cell",value:"th"}]},{name:"scope",type:"listbox",label:"Scope",items:[{text:"None",value:""},{text:"Row",value:"row"},{text:"Column",value:"col"},{text:"Row group",value:"rowgroup"},{text:"Column group",value:"colgroup"}]},{name:"halign",type:"listbox",label:"Horizontal align",items:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{name:"valign",type:"listbox",label:"Vertical align",items:gu}],Vu=function(e){return Lu.concat(function(e){var t=Pu(Cs(e));return t.length>0?S.some({name:"class",type:"listbox",label:"Class",items:t}):S.none()}(e).toArray())},Uu=function(e,t){var n=[{name:"borderstyle",type:"listbox",label:"Border style",items:[{text:"Select...",value:""}].concat(Pu(Os(e)))},{name:"bordercolor",type:"colorinput",label:"Border color"},{name:"backgroundcolor",type:"colorinput",label:"Background color"}];return{title:"Advanced",name:"advanced",items:"cell"===t?[{name:"borderwidth",type:"input",label:"Border width"}].concat(n):n}},Fu=function(e){return function(t,n){var r=t.dom;return{setAttrib:function(t,o){e&&!o||r.setAttrib(n,t,o)},setStyle:function(t,o){e&&!o||r.setStyle(n,t,o)},setFormat:function(r,o){e&&!o||(""===o?t.formatter.remove(r,{value:null},n,!0):t.formatter.apply(r,{value:o},n))}}}},Hu={normal:Fu(!1),ifTruthy:Fu(!0)},Wu=function(e){return function(t){return oe(t,"rgb")?e.toHex(t):t}},Xu=function(e,t){var n=Me.fromDom(t);return{borderwidth:en(n,"border-width").getOr(""),borderstyle:en(n,"border-style").getOr(""),bordercolor:en(n,"border-color").map(Wu(e)).getOr(""),backgroundcolor:en(n,"background-color").map(Wu(e)).getOr("")}},ju=function(e){var t=e[0],n=e.slice(1);return $(n,(function(e){$(Ve(t),(function(n){Fe(e,(function(e,r){var o=t[n];""!==o&&n===r&&o!==e&&(t[n]="")}))}))})),t},qu=function(e,t,n,r){return I(e,(function(e){return!l(n.formatter.matchNode(r,t+e))})).getOr("")},Zu=g(qu,["left","center","right"],"align"),Yu=g(qu,["top","middle","bottom"],"valign"),Gu=function(e){return mn(Me.fromDom(e)).map((function(t){var n={selection:Oi(e.cells)};return tu(t,n)})).getOr("")},Ku=function(e,t){var n=Rn(e),r=Vn(n),o=z(r,(function(e){return T(t,(function(t){return Ie(e.element,t)}))}));return P(o,(function(e){return{element:e.element.dom,column:Hn(n,e.column).map((function(e){return e.element.dom}))}}))},Ju=function(e,t,n,r){var o=r.getData();r.close(),e.undoManager.transact((function(){!function(e,t,n,r){var o=Xe(r,(function(e,t){return n[t]!==e}));Ze(o)>0&&t.length>=1&&mn(t[0]).each((function(n){var i=Ku(n,t),a=Ze(Xe(o,(function(e,t){return"scope"!==t&&"celltype"!==t})))>0,s=Ge(o,"celltype");(a||Ge(o,"scope"))&&function(e,t,n){var r=1===t.length;$(t,(function(t){var o=t.element,i=r?Hu.normal(e,o):Hu.ifTruthy(e,o);!function(e,t,n){e.setAttrib("scope",n.scope),e.setAttrib("class",n.class),e.setStyle("height",Si(n.height)),t.setStyle("width",Si(n.width))}(i,t.column.map((function(t){return r?Hu.normal(e,t):Hu.ifTruthy(e,t)})).getOr(i),n),_s(e)&&function(e,t){e.setFormat("tablecellbackgroundcolor",t.backgroundcolor),e.setFormat("tablecellbordercolor",t.bordercolor),e.setFormat("tablecellborderstyle",t.borderstyle),e.setFormat("tablecellborderwidth",Si(t.borderwidth))}(i,n),r&&(mu(e,o),function(e,t){fu.each("top middle bottom".split(" "),(function(n){e.formatter.remove("valign"+n,{},t)}))}(e,o)),n.halign&&pu(e,o,n.halign),n.valign&&function(e,t,n){n&&e.formatter.apply("valign"+n,{},t)}(e,o,n.valign)}))}(e,i,r),s&&function(e,t){e.execCommand("mceTableCellType",!1,{type:t.celltype,no_events:!0})}(e,r),ls(e,n.dom,{structure:s,style:a})}))}(e,t,n,o),e.focus()}))},ed=function(e,t){var n=Hi(t);if(0!==n.length){var r=function(e,t){var n=mn(t[0]).map((function(n){return P(Ku(n,t),(function(t){return function(e,t,n,r){var o,i=e.dom,a=r.getOr(t),s=function(e,t){return i.getStyle(e,t)||i.getAttrib(e,t)};return Z({width:s(a,"width"),height:s(t,"height"),scope:i.getAttrib(t,"scope"),celltype:(o=t,o.nodeName.toLowerCase()),class:i.getAttrib(t,"class",""),halign:Zu(e,t),valign:Yu(e,t)},n?Xu(i,t):{})}(e,t.element,_s(e),t.column)}))}));return ju(n.getOrDie())}(e,n),o={type:"tabpanel",tabs:[{title:"General",name:"general",items:Vu(e)},Uu(e,"cell")]},i={type:"panel",items:[{type:"grid",columns:2,items:Vu(e)}]};e.windowManager.open({title:"Cell Properties",size:"normal",body:_s(e)?o:i,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:r,onSubmit:g(Ju,e,n,r)})}},td=[{type:"listbox",name:"type",label:"Row type",items:[{text:"Header",value:"header"},{text:"Body",value:"body"},{text:"Footer",value:"footer"}]},{type:"listbox",name:"align",label:"Alignment",items:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{label:"Height",name:"height",type:"input"}],nd=function(e){return td.concat(function(e){var t=Pu(function(e){return e.getParam("table_row_class_list",[],"array")}(e));return t.length>0?S.some({name:"class",type:"listbox",label:"Class",items:t}):S.none()}(e).toArray())},rd=function(e,t,n,r){var o=r.getData();r.close(),e.undoManager.transact((function(){!function(e,t,n,r){var o=Xe(r,(function(e,t){return n[t]!==e}));if(Ze(o)>0){var i=Ge(o,"type"),a=!i||Ze(o)>1;a&&function(e,t,n,r){var o=1===t.length;$(t,(function(t){var i=o?Hu.normal(e,t):Hu.ifTruthy(e,t);!function(e,t){e.setAttrib("class",t.class),e.setStyle("height",Si(t.height))}(i,n),xs(e)&&function(e,t){e.setStyle("background-color",t.backgroundcolor),e.setStyle("border-color",t.bordercolor),e.setStyle("border-style",t.borderstyle)}(i,n),n.align!==r.align&&(mu(e,t),pu(e,t,n.align))}))}(e,t,r,n),i&&function(e,t){e.execCommand("mceTableRowType",!1,{type:t.type,no_events:!0})}(e,r),mn(Me.fromDom(t[0])).each((function(t){return ls(e,t.dom,{structure:i,style:a})}))}}(e,t,n,o),e.focus()}))},od=function(e){var t,n,r,o,i=(t=Ci(e),n=Ni.selected,o=(r=Fi(t)).bind((function(e){return mn(e)})).map((function(e){return gn(e)})),Xt(r,o,(function(e,t){return z(t,(function(t){return T(Oi(t.dom.cells),(function(t){return"1"===Lt(t,n)||Ie(t,e)}))}))})).getOr([]));if(0!==i.length){var a=P(i,(function(t){return function(e,t,n){var r=e.dom;return Z({height:r.getStyle(t,"height")||r.getAttrib(t,"height"),class:r.getAttrib(t,"class",""),type:Gu(t),align:Zu(e,t)},n?Xu(r,t):{})}(e,t.dom,xs(e))})),s=ju(a),l={type:"tabpanel",tabs:[{title:"General",name:"general",items:nd(e)},Uu(e,"row")]},c={type:"panel",items:[{type:"grid",columns:2,items:nd(e)}]};e.windowManager.open({title:"Row Properties",size:"normal",body:xs(e)?l:c,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:s,onSubmit:g(rd,e,P(i,(function(e){return e.dom})),s)})}},id=function(e,t,n){var r=n?[{type:"input",name:"cols",label:"Cols",inputMode:"numeric"},{type:"input",name:"rows",label:"Rows",inputMode:"numeric"}]:[],o=function(e){return e.getParam("table_appearance_options",!0,"boolean")}(e)?[{type:"input",name:"cellspacing",label:"Cell spacing",inputMode:"numeric"},{type:"input",name:"cellpadding",label:"Cell padding",inputMode:"numeric"},{type:"input",name:"border",label:"Border width"},{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[],i=t.length>0?[{type:"listbox",name:"class",label:"Class",items:t}]:[];return r.concat([{type:"input",name:"width",label:"Width"},{type:"input",name:"height",label:"Height"}]).concat(o).concat([{type:"listbox",name:"align",label:"Alignment",items:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]}]).concat(i)},ad=function(e,t,n,o){if("TD"===t.tagName||"TH"===t.tagName)r(n)?e.setStyle(t,n,o):e.setStyle(t,n);else if(t.children)for(var i=0;i<t.children.length;i++)ad(e,t.children[i],n,o)},sd=function(e,t,n,r){var o=e.dom,i=r.getData(),a=Xe(i,(function(e,t){return n[t]!==e}));r.close(),""===i.class&&delete i.class,e.undoManager.transact((function(){if(!t){var n=parseInt(i.cols,10)||1,r=parseInt(i.rows,10)||1;t=au(e,n,r,0,0)}if(Ze(a)>0){!function(e,t,n){var r=e.dom,o={},i={};if(o.class=n.class,i.height=Si(n.height),r.getAttrib(t,"width")&&!ks(e)?o.width=function(e){return e?e.replace(/px$/,""):""}(n.width):i.width=Si(n.width),ks(e)?(i["border-width"]=Si(n.border),i["border-spacing"]=Si(n.cellspacing)):(o.border=n.border,o.cellpadding=n.cellpadding,o.cellspacing=n.cellspacing),ks(e)&&t.children)for(var a=0;a<t.children.length;a++)ad(r,t.children[a],{"border-width":Si(n.border),padding:Si(n.cellpadding)}),Ss(e)&&ad(r,t.children[a],{"border-color":n.bordercolor});Ss(e)&&(i["background-color"]=n.backgroundcolor,i["border-color"]=n.bordercolor,i["border-style"]=n.borderstyle),o.style=r.serializeStyle(Z(Z({},ws(e)),i)),r.setAttribs(t,Z(Z({},bs(e)),o))}(e,t,i);var s=o.select("caption",t)[0];(s&&!i.caption||!s&&i.caption)&&e.execCommand("mceTableToggleCaption"),""===i.align?mu(e,t):pu(e,t,i.align)}if(e.focus(),e.addVisual(),Ze(a)>0){var l=Ge(a,"caption"),c=!l||Ze(a)>1;ls(e,t,{structure:l,style:c})}}))},ld=function(e,t){var n,r=e.dom,o=function(e,t){var n,r,o,i,a=ws(e),s=bs(e),l=t?(n=e.dom,{borderstyle:Ye(a,"border-style").getOr(""),bordercolor:Wu(n)(Ye(a,"border-color").getOr("")),backgroundcolor:Wu(n)(Ye(a,"background-color").getOr(""))}):{};return Z(Z(Z(Z(Z(Z({},{height:"",width:"100%",cellspacing:"",cellpadding:"",caption:!1,class:"",align:"",border:""}),a),s),l),(i=a["border-width"],ks(e)&&i?{border:i}:Ye(s,"border").fold((function(){return{}}),(function(e){return{border:e}})))),(r=Ye(a,"border-spacing").or(Ye(s,"cellspacing")).fold((function(){return{}}),(function(e){return{cellspacing:e}})),o=Ye(a,"border-padding").or(Ye(s,"cellpadding")).fold((function(){return{}}),(function(e){return{cellpadding:e}})),Z(Z({},r),o)))}(e,Ss(e));!1===t?(n=r.getParent(e.selection.getStart(),"table",e.getBody()))?o=function(e,t,n){var r=e.dom,o=ks(e)?r.getStyle(t,"border-spacing")||r.getAttrib(t,"cellspacing"):r.getAttrib(t,"cellspacing")||r.getStyle(t,"border-spacing"),i=ks(e)?hu(r,t,"padding")||r.getAttrib(t,"cellpadding"):r.getAttrib(t,"cellpadding")||hu(r,t,"padding");return Z({width:r.getStyle(t,"width")||r.getAttrib(t,"width"),height:r.getStyle(t,"height")||r.getAttrib(t,"height"),cellspacing:o,cellpadding:i,border:function(t,n){var r=en(Me.fromDom(n),"border-width");return ks(e)&&r.isSome()?r.getOr(""):t.getAttrib(n,"border")||hu(e.dom,n,"border-width")||hu(e.dom,n,"border")}(r,t),caption:!!r.select("caption",t)[0],class:r.getAttrib(t,"class",""),align:Zu(e,t)},n?Xu(r,t):{})}(e,n,Ss(e)):Ss(e)&&(o.borderstyle="",o.bordercolor="",o.backgroundcolor=""):(o.cols="1",o.rows="1",Ss(e)&&(o.borderstyle="",o.bordercolor="",o.backgroundcolor=""));var i=Pu(Bs(e));i.length>0&&o.class&&(o.class=o.class.replace(/\s*mce\-item\-table\s*/g,""));var a={type:"grid",columns:2,items:id(e,i,t)},s=Ss(e)?{type:"tabpanel",tabs:[{title:"General",name:"general",items:[a]},Uu(e,"table")]}:{type:"panel",items:[a]};e.windowManager.open({title:"Table Properties",size:"normal",body:s,onSubmit:g(sd,e,n,o),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:o})},cd=function(e){return Ui(Ci(e),xi(e))},ud=function(e,t,n,i,a){var s=xi(e),l=function(e){return mn(e,s)},c=function(t){return function(e){return Fi(Ci(e),xi(e))}(e).bind((function(e){return l(e).map((function(n){return t(n,e)}))}))},u=function(t){e.focus()},d=function(e,t){return void 0===t&&(t=!1),c((function(n,r){var o=Li(i,n,r);e(n,o,t).each(u)}))},h=function(){return c((function(t,n){return function(e,t,n){var r=Rn(e);return kl(r,t).bind((function(e){var t=Ol(r,n,!1),o=Bn(t).rows.slice(e[0].row,e[e.length-1].row+e[e.length-1].rowspan),i=V(o,(function(e){var t=z(e.cells,(function(e){return!e.isLocked}));return t.length>0?[Z(Z({},e),{cells:t})]:[]})),a=bl(i);return jt(a.length>0,a)})).map((function(e){return P(e,(function(e){var t=Ir(e.element);return $(e.cells,(function(e){var n=Nr(e.element);ml(n,"colspan",e.colspan,1),ml(n,"rowspan",e.rowspan,1),nr(t,n)})),t}))}))}(t,Li(i,t,n),vi(f,Me.fromDom(e.getDoc()),S.none()))}))},p=function(){return c((function(e,t){return function(e,t){var n=Rn(e);return Cl(n,t).map((function(e){var t=e[e.length-1],r=e[0].column,o=t.column+t.colspan,i=function(e,t,n){if(Fn(e)){var r=z(Un(e),(function(e){return e.column>=t&&e.column<n})),o=P(r,(function(e){var r=Nr(e.element);return du(r,"span",n-t),r})),i=Me.fromTag("colgroup");return ir(i,o),[i]}return[]}(n,r,o),a=function(e,t,n){return P(e.all,(function(e){var r=z(e.cells,(function(e){return e.column>=t&&e.column<n})),o=P(r,(function(e){var r=Nr(e.element);return du(r,"colspan",n-t),r})),i=Me.fromTag("tr");return ir(i,o),i}))}(n,r,o);return Y(Y([],i,!0),a,!0)}))}(e,Li(i,e,t))}))},m=function(t,n){return n().each((function(n){var r=P(n,(function(e){return Nr(e)}));c((function(n,o){var a=yi(Me.fromDom(e.getDoc())),s=function(e,t,n,r){return{selection:Bi(e),clipboard:n,generators:r}}(i,0,r,a);t(n,s).each(u)}))}))},A=function(e){return function(t,n){return Ye(n,"type").each((function(t){d(e(t),n.no_events)}))}};Fe({mceTableSplitCells:function(){return d(t.unmergeCells)},mceTableMergeCells:function(){return d(t.mergeCells)},mceTableInsertRowBefore:function(){return d(t.insertRowsBefore)},mceTableInsertRowAfter:function(){return d(t.insertRowsAfter)},mceTableInsertColBefore:function(){return d(t.insertColumnsBefore)},mceTableInsertColAfter:function(){return d(t.insertColumnsAfter)},mceTableDeleteCol:function(){return d(t.deleteColumn)},mceTableDeleteRow:function(){return d(t.deleteRow)},mceTableCutCol:function(){return p().each((function(e){a.setColumns(e),d(t.deleteColumn)}))},mceTableCutRow:function(){return h().each((function(e){a.setRows(e),d(t.deleteRow)}))},mceTableCopyCol:function(){return p().each((function(e){return a.setColumns(e)}))},mceTableCopyRow:function(){return h().each((function(e){return a.setRows(e)}))},mceTablePasteColBefore:function(){return m(t.pasteColsBefore,a.getColumns)},mceTablePasteColAfter:function(){return m(t.pasteColsAfter,a.getColumns)},mceTablePasteRowBefore:function(){return m(t.pasteRowsBefore,a.getRows)},mceTablePasteRowAfter:function(){return m(t.pasteRowsAfter,a.getRows)},mceTableDelete:function(){return cd(e).each((function(t){mn(t,s).filter(y(s)).each((function(t){var n=Me.fromText("");if(er(t,n),sr(t),e.dom.isEmpty(e.getBody()))e.setContent(""),e.selection.setCursorLocation();else{var r=e.dom.createRng();r.setStart(n.dom,0),r.setEnd(n.dom,0),e.selection.setRng(r),e.nodeChanged()}}))}))},mceTableCellToggleClass:function(t,n){c((function(t){var r=Hi(i),o=U(r,(function(t){return e.formatter.match("tablecellclass",{value:n},t.dom)})),a=o?e.formatter.remove:e.formatter.apply;$(r,(function(e){return a("tablecellclass",{value:n},e.dom)})),ls(e,t.dom,cs)}))},mceTableToggleClass:function(t,n){c((function(t){e.formatter.toggle("tableclass",{value:n},t.dom),ls(e,t.dom,cs)}))},mceTableToggleCaption:function(){cd(e).each((function(t){mn(t,s).each((function(n){Mt(n,"caption").fold((function(){var t=Me.fromTag("caption");nr(t,Me.fromText("Caption")),function(e,t){Ot(e,0).fold((function(){nr(e,t)}),(function(e){Jn(e,t)}))}(n,t),e.selection.setCursorLocation(t.dom,0)}),(function(r){ft("caption")(t)&&De("td",n).each((function(t){return e.selection.setCursorLocation(t.dom,0)})),sr(r)})),ls(e,n.dom,us)}))}))},mceTableSizingMode:function(t,n){return function(t){return cd(e).each((function(n){Es(e)||Ts(e)||Qs(e)||mn(n,s).each((function(n){"relative"!==t||ga(n)?"fixed"!==t||Aa(n)?"responsive"!==t||va(n)||Hs(n):Fs(n):Us(n),ki(n),ls(e,n.dom,us)}))}))}(n)},mceTableCellType:A((function(e){return"th"===e?t.makeCellsHeader:t.unmakeCellsHeader})),mceTableColType:A((function(e){return"th"===e?t.makeColumnsHeader:t.unmakeColumnsHeader})),mceTableRowType:A((function(e){switch(e){case"header":return t.makeRowsHeader;case"footer":return t.makeRowsFooter;default:return t.makeRowsBody}}))},(function(t,n){return e.addCommand(n,t)})),Fe({mceTableProps:g(ld,e,!1),mceTableRowProps:g(od,e),mceTableCellProps:g(ed,e,i)},(function(t,n){return e.addCommand(n,(function(){return t()}))})),e.addCommand("mceInsertTable",(function(t,n){o(n)&&Ve(n).length>0?su(e,n.rows,n.columns,n.options,"Invalid values for mceInsertTable - rows and columns values are required to insert a table."):ld(e,!0)})),e.addCommand("mceTableApplyCellStyle",(function(t,n){var a=function(e){return"tablecell"+e.toLowerCase().replace("-","")};if(o(n)){var s=Hi(i);if(0!==s.length){var c=Xe(n,(function(t,n){return e.formatter.has(a(n))&&r(t)}));(function(e){for(var t in e)if(Ue.call(e,t))return!1;return!0})(c)||(Fe(c,(function(t,n){$(s,(function(r){Hu.normal(e,r.dom).setFormat(a(n),t)}))})),l(s[0]).each((function(t){return ls(e,t.dom,cs)})))}}}))},dd={remove_similar:!0,inherit:!1},fd=Z({selector:"td,th"},dd),hd={tablecellbackgroundcolor:Z({styles:{backgroundColor:"%value"}},fd),tablecellverticalalign:Z({styles:{"vertical-align":"%value"}},fd),tablecellbordercolor:Z({styles:{borderColor:"%value"}},fd),tablecellclass:Z({classes:["%value"]},fd),tableclass:Z({selector:"table",classes:["%value"]},dd),tablecellborderstyle:Z({styles:{borderStyle:"%value"}},fd),tablecellborderwidth:Z({styles:{borderWidth:"%value"}},fd)},pd=Tr([{none:["current"]},{first:["current"]},{middle:["current","target"]},{last:["current"]}]),md=Z(Z({},pd),{none:function(e){return void 0===e&&(e=void 0),pd.none(e)}}),gd=function(e,t,n,r,o){void 0===o&&(o=b);var i=1===r;if(!i&&n<=0)return md.first(e[0]);if(i&&n>=e.length-1)return md.last(e[e.length-1]);var a=n+r,s=e[a];return o(s)?md.middle(t,s):gd(e,t,a,r,o)},Ad=function(e,t){return mn(e,t).bind((function(t){var n=hn(t);return N(n,(function(t){return Ie(e,t)})).map((function(e){return{index:e,all:n}}))}))},vd=function(e,t,n,r){return{start:e,soffset:t,finish:n,foffset:r}},yd=Tr([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),Od={before:yd.before,on:yd.on,after:yd.after,cata:function(e,t,n,r){return e.fold(t,n,r)},getStart:function(e){return e.fold(p,p,p)}},bd=Tr([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),wd={domRange:bd.domRange,relative:bd.relative,exact:bd.exact,exactFromRange:function(e){return bd.exact(e.start,e.soffset,e.finish,e.foffset)},getWin:function(e){var t=function(e){return e.match({domRange:function(e){return Me.fromDom(e.startContainer)},relative:function(e,t){return Od.getStart(e)},exact:function(e,t,n,r){return e}})}(e);return Me.fromDom(pt(t).dom.defaultView)},range:vd},_d=function(e,t){var n=e.document.createRange();return n.selectNode(t.dom),n},xd=function(e,t){var n=e.document.createRange();return Sd(n,t),n},Sd=function(e,t){return e.selectNodeContents(t.dom)},kd=function(e,t,n){var r,o=e.document.createRange();return r=o,t.fold((function(e){r.setStartBefore(e.dom)}),(function(e,t){r.setStart(e.dom,t)}),(function(e){r.setStartAfter(e.dom)})),function(e,t){t.fold((function(t){e.setEndBefore(t.dom)}),(function(t,n){e.setEnd(t.dom,n)}),(function(t){e.setEndAfter(t.dom)}))}(o,n),o},Cd=function(e,t,n,r,o){var i=e.document.createRange();return i.setStart(t.dom,n),i.setEnd(r.dom,o),i},Bd=function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom,width:e.width,height:e.height}},Qd=Tr([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),Td=function(e,t,n){return t(Me.fromDom(n.startContainer),n.startOffset,Me.fromDom(n.endContainer),n.endOffset)},Ed=function(e,t){var n=function(e,t){return t.match({domRange:function(e){return{ltr:h(e),rtl:S.none}},relative:function(t,n){return{ltr:G((function(){return kd(e,t,n)})),rtl:G((function(){return S.some(kd(e,n,t))}))}},exact:function(t,n,r,o){return{ltr:G((function(){return Cd(e,t,n,r,o)})),rtl:G((function(){return S.some(Cd(e,r,o,t,n))}))}}})}(e,t);return function(e,t){var n=t.ltr();return n.collapsed?t.rtl().filter((function(e){return!1===e.collapsed})).map((function(e){return Qd.rtl(Me.fromDom(e.endContainer),e.endOffset,Me.fromDom(e.startContainer),e.startOffset)})).getOrThunk((function(){return Td(0,Qd.ltr,n)})):Td(0,Qd.ltr,n)}(0,n)},Pd=function(e,t){return Ed(e,t).match({ltr:function(t,n,r,o){var i=e.document.createRange();return i.setStart(t.dom,n),i.setEnd(r.dom,o),i},rtl:function(t,n,r,o){var i=e.document.createRange();return i.setStart(r.dom,o),i.setEnd(t.dom,n),i}})};Qd.ltr,Qd.rtl;var $d=function(e,t,n){return t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom},Md=function(e,t,n,r){return ct(t)?function(e,t,n,r){var o=e.dom.createRange();o.selectNode(t.dom);var i=o.getClientRects();return q(i,(function(e){return $d(e,n,r)?S.some(e):S.none()})).map((function(o){return function(e,t,n,r,o){var i=function(n){var r=e.dom.createRange();return r.setStart(t.dom,n),r.collapse(!0),r},a=ur(t).length,s=function(e,t,n,r,o){if(0===o)return 0;if(t===r)return o-1;for(var a=r,s=1;s<o;s++){var l=i(s).getBoundingClientRect(),c=Math.abs(t-l.left);if(n<=l.bottom){if(n<l.top||c>a)return s-1;a=c}}return 0}(0,n,r,o.right,a);return i(s)}(e,t,n,r,o)}))}(e,t,n,r):function(e,t,n,r){var o=e.dom.createRange(),i=yt(t);return q(i,(function(t){return o.selectNode(t.dom),$d(o.getBoundingClientRect(),n,r)?Md(e,t,n,r):S.none()}))}(e,t,n,r)},zd=!0,Rd=function(e,t){return t-e.left<e.right-t&&zd},Dd=function(e,t,n){var r=e.dom.createRange();return r.selectNode(t.dom),r.collapse(n),r},Id=function(e,t,n){var r=e.dom.createRange();r.selectNode(t.dom);var o=r.getBoundingClientRect(),i=Rd(o,n);return(i===zd?li:ci)(t).map((function(t){return Dd(e,t,i)}))},Nd=function(e,t,n){var r=t.dom.getBoundingClientRect(),o=Rd(r,n);return S.some(Dd(e,t,o))},Ld=document.caretPositionFromPoint?function(e,t,n){var r,o;return S.from(null===(o=(r=e.dom).caretPositionFromPoint)||void 0===o?void 0:o.call(r,t,n)).bind((function(t){if(null===t.offsetNode)return S.none();var n=e.dom.createRange();return n.setStart(t.offsetNode,t.offset),n.collapse(),S.some(n)}))}:document.caretRangeFromPoint?function(e,t,n){var r,o;return S.from(null===(o=(r=e.dom).caretRangeFromPoint)||void 0===o?void 0:o.call(r,t,n))}:function(e,t,n){return Me.fromPoint(e,t,n).bind((function(r){var o=function(){return function(e,t,n){return(0===yt(t).length?Nd:Id)(e,t,n)}(e,r,t)};return 0===yt(r).length?o():function(e,t,n,r){var o=e.dom.createRange();o.selectNode(t.dom);var i=o.getBoundingClientRect();return function(e,t,n,r){var o=e.dom.createRange();o.selectNode(t.dom);var i=o.getBoundingClientRect(),a=Math.max(i.left,Math.min(i.right,n)),s=Math.max(i.top,Math.min(i.bottom,r));return Md(e,t,a,s)}(e,t,Math.max(i.left,Math.min(i.right,n)),Math.max(i.top,Math.min(i.bottom,r)))}(e,r,t,n).orThunk(o)}))},Vd=function(e,t){var n=ot(e);return"input"===n?Od.after(e):Q(["br","img"],n)?0===t?Od.before(e):Od.after(e):Od.on(e,t)},Ud=function(e,t){var n=e.fold(Od.before,Vd,Od.after),r=t.fold(Od.before,Vd,Od.after);return wd.relative(n,r)},Fd=function(e,t,n,r){var o=Vd(e,t),i=Vd(n,r);return wd.relative(o,i)},Hd=function(e){return S.from(e.getSelection())},Wd=function(e,t){Hd(e).each((function(e){e.removeAllRanges(),e.addRange(t)}))},Xd=function(e,t,n,r,o){var i=Cd(e,t,n,r,o);Wd(e,i)},jd=function(e,t){return Ed(e,t).match({ltr:function(t,n,r,o){Xd(e,t,n,r,o)},rtl:function(t,n,r,o){Hd(e).each((function(i){if(i.setBaseAndExtent)i.setBaseAndExtent(t.dom,n,r.dom,o);else if(i.extend)try{!function(e,t,n,r,o,i){t.collapse(n.dom,r),t.extend(o.dom,i)}(0,i,t,n,r,o)}catch(i){Xd(e,r,o,t,n)}else Xd(e,r,o,t,n)}))}})},qd=function(e,t,n,r,o){var i=Fd(t,n,r,o);jd(e,i)},Zd=function(e,t,n){var r=Ud(t,n);jd(e,r)},Yd=function(e){if(e.rangeCount>0){var t=e.getRangeAt(0),n=e.getRangeAt(e.rangeCount-1);return S.some(vd(Me.fromDom(t.startContainer),t.startOffset,Me.fromDom(n.endContainer),n.endOffset))}return S.none()},Gd=function(e){if(null===e.anchorNode||null===e.focusNode)return Yd(e);var t=Me.fromDom(e.anchorNode),n=Me.fromDom(e.focusNode);return function(e,t,n,r){var o=function(e,t,n,r){var o=ht(e).dom.createRange();return o.setStart(e.dom,t),o.setEnd(n.dom,r),o}(e,t,n,r),i=Ie(e,n)&&t===r;return o.collapsed&&!i}(t,e.anchorOffset,n,e.focusOffset)?S.some(vd(t,e.anchorOffset,n,e.focusOffset)):Yd(e)},Kd=function(e,t,n){void 0===n&&(n=!0);var r=(n?xd:_d)(e,t);Wd(e,r)},Jd=function(e){return function(e){return Hd(e).filter((function(e){return e.rangeCount>0})).bind(Gd)}(e).map((function(e){return wd.exact(e.start,e.soffset,e.finish,e.foffset)}))},ef=tinymce.util.Tools.resolve("tinymce.util.VK"),tf=function(e,t,n){return rf(e,t,(o=Fa,Ad(r=n,void 0).fold((function(){return md.none(r)}),(function(e){return gd(e.all,r,e.index,1,o)}))));var r,o},nf=function(e,t,n){return rf(e,t,(o=Fa,Ad(r=n,void 0).fold((function(){return md.none()}),(function(e){return gd(e.all,r,e.index,-1,o)}))));var r,o},rf=function(e,t,n){return n.fold(S.none,S.none,(function(e,t){return li(t).map((function(e){return function(e,t){return function(e){var t=wd.getWin(e).dom,n=function(e,n,r,o){return Cd(t,e,n,r,o)},r=function(e){return e.match({domRange:function(e){var t=Me.fromDom(e.startContainer),n=Me.fromDom(e.endContainer);return Fd(t,e.startOffset,n,e.endOffset)},relative:Ud,exact:Fd})}(e);return Ed(t,r).match({ltr:n,rtl:n})}(wd.exact(t,0,t,0))}(0,e)}))}),(function(n){return e.execCommand("mceTableInsertRowAfter"),tf(e,t,n)}))},of=["table","li","dl"],af=function(e,t){return{selection:e,kill:t}},sf=function(e,t,n,r){return{start:Od.on(e,t),finish:Od.on(n,r)}},lf=function(e,t){var n=Pd(e,t);return vd(Me.fromDom(n.startContainer),n.startOffset,Me.fromDom(n.endContainer),n.endOffset)},cf=sf,uf=function(e,t,n,r,o){return Ie(n,r)?S.none():xr(n,r,t).bind((function(t){var r=t.boxes.getOr([]);return r.length>1?(o(e,r,t.start,t.finish),S.some(af(S.some(cf(n,0,n,ii(n))),!0))):S.none()}))},df=function(e,t){return{item:e,mode:t}},ff=function(e,t,n,r){return void 0===r&&(r=hf),e.property().parent(t).map((function(e){return df(e,r)}))},hf=function(e,t,n,r){return void 0===r&&(r=pf),n.sibling(e,t).map((function(e){return df(e,r)}))},pf=function(e,t,n,r){void 0===r&&(r=pf);var o=e.property().children(t);return n.first(o).map((function(e){return df(e,r)}))},mf=[{current:ff,next:hf,fallback:S.none()},{current:hf,next:pf,fallback:S.some(ff)},{current:pf,next:pf,fallback:S.some(hf)}],gf=function(e,t,n,r,o){return void 0===o&&(o=mf),I(o,(function(e){return e.current===n})).bind((function(n){return n.current(e,t,r,n.next).orThunk((function(){return n.fallback.bind((function(n){return gf(e,t,n,r)}))}))}))},Af=function(e,t,n,r,o,i){return gf(e,t,r,o).bind((function(t){return i(t.item)?S.none():n(t.item)?S.some(t.item):Af(e,t.item,n,t.mode,o,i)}))},vf=function(e){return function(t){return 0===e.property().children(t).length}},yf=function(e,t,n,r){return Af(e,t,n,hf,{sibling:function(e,t){return e.query().prevSibling(t)},first:function(e){return e.length>0?S.some(e[e.length-1]):S.none()}},r)},Of=function(e,t,n,r){return Af(e,t,n,hf,{sibling:function(e,t){return e.query().nextSibling(t)},first:function(e){return e.length>0?S.some(e[0]):S.none()}},r)},bf=pr(),wf=function(e,t){return function(e,t,n){return yf(e,t,vf(e),n)}(bf,e,t)},_f=function(e,t){return function(e,t,n){return Of(e,t,vf(e),n)}(bf,e,t)},xf=Tr([{none:["message"]},{success:[]},{failedUp:["cell"]},{failedDown:["cell"]}]),Sf=function(e){return Rt(e,"tr")},kf=Z(Z({},xf),{verify:function(e,t,n,r,o,i,a){return Rt(r,"td,th",a).bind((function(n){return Rt(t,"td,th",a).map((function(t){return Ie(n,t)?Ie(r,n)&&ii(n)===o?i(t):xf.none("in same cell"):wr(Sf,[n,t]).fold((function(){return function(e,t,n){var r=e.getRect(t),o=e.getRect(n);return o.right>r.left&&o.left<r.right}(e,t,n)?xf.success():i(t)}),(function(e){return i(t)}))}))})).getOr(xf.none("default"))},cata:function(e,t,n,r,o){return e.fold(t,n,r,o)}}),Cf=function(e){return"br"===ot(e)},Bf=function(e,t,n){return t(e,n).bind((function(e){return ct(e)&&0===ur(e).trim().length?Bf(e,t,n):S.some(e)}))},Qf=function(e,t,n,r){return function(e,t){return Ot(e,t).filter(Cf).orThunk((function(){return Ot(e,t-1).filter(Cf)}))}(t,n).bind((function(t){return r.traverse(t).fold((function(){return Bf(t,r.gather,e).map(r.relative)}),(function(e){return function(e){return mt(e).bind((function(t){var n=yt(t);return function(e,t){return N(e,g(Ie,t))}(n,e).map((function(r){return function(e,t,n,r){return{parent:e,children:t,element:n,index:r}}(t,n,e,r)}))}))}(e).map((function(e){return Od.on(e.parent,e.index)}))}))}))},Tf=function(e,t){return{left:e.left,top:e.top+t,right:e.right,bottom:e.bottom+t}},Ef=function(e,t){return{left:e.left,top:e.top-t,right:e.right,bottom:e.bottom-t}},Pf=function(e,t,n){return{left:e.left+t,top:e.top+n,right:e.right+t,bottom:e.bottom+n}},$f=function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}},Mf=function(e,t){return S.some(e.getRect(t))},zf=function(e,t,n){return lt(t)?Mf(e,t).map($f):ct(t)?function(e,t,n){return n>=0&&n<ii(t)?e.getRangedRect(t,n,t,n+1):n>0?e.getRangedRect(t,n-1,t,n):S.none()}(e,t,n).map($f):S.none()},Rf=function(e,t){return lt(t)?Mf(e,t).map($f):ct(t)?e.getRangedRect(t,0,t,ii(t)).map($f):S.none()},Df=Tr([{none:[]},{retry:["caret"]}]),If=function(e,t,n){return(r=t,o=dc,Et((function(e,t){return t(e)}),Pt,r,o,undefined)).fold(O,(function(t){return Rf(e,t).exists((function(e){return function(e,t){return e.left<t.left||Math.abs(t.right-e.left)<1||e.left>t.right}(n,e)}))}));var r,o},Nf={point:function(e){return e.bottom},adjuster:function(e,t,n,r,o){var i=Tf(o,5);return Math.abs(n.bottom-r.bottom)<1||n.top>o.bottom?Df.retry(i):n.top===o.bottom?Df.retry(Tf(o,1)):If(e,t,o)?Df.retry(Pf(i,5,0)):Df.none()},move:Tf,gather:_f},Lf=function(e,t,n,r,o){return 0===o?S.some(r):function(e,t,n){return e.elementFromPoint(t,n).filter((function(e){return"table"===ot(e)})).isSome()}(e,r.left,t.point(r))?function(e,t,n,r,o){return Lf(e,t,n,t.move(r,5),o)}(e,t,n,r,o-1):e.situsFromPoint(r.left,t.point(r)).bind((function(i){return i.start.fold(S.none,(function(i){return Rf(e,i).bind((function(a){return t.adjuster(e,i,a,n,r).fold(S.none,(function(r){return Lf(e,t,n,r,o-1)}))})).orThunk((function(){return S.some(r)}))}),S.none)}))},Vf=function(e,t,n){var r=e.move(n,5),o=Lf(t,e,n,r,100).getOr(r);return function(e,t,n){return e.point(t)>n.getInnerHeight()?S.some(e.point(t)-n.getInnerHeight()):e.point(t)<0?S.some(-e.point(t)):S.none()}(e,o,t).fold((function(){return t.situsFromPoint(o.left,e.point(o))}),(function(n){return t.scrollBy(0,n),t.situsFromPoint(o.left,e.point(o)-n)}))},Uf={tryUp:g(Vf,{point:function(e){return e.top},adjuster:function(e,t,n,r,o){var i=Ef(o,5);return Math.abs(n.top-r.top)<1||n.bottom<o.top?Df.retry(i):n.bottom===o.top?Df.retry(Ef(o,1)):If(e,t,o)?Df.retry(Pf(i,5,0)):Df.none()},move:Ef,gather:wf}),tryDown:g(Vf,Nf),ieTryUp:function(e,t){return e.situsFromPoint(t.left,t.top-5)},ieTryDown:function(e,t){return e.situsFromPoint(t.left,t.bottom+5)},getJumpSize:h(5)},Ff=function(e,t,n){return e.getSelection().bind((function(r){return function(e,t,n,r){var o=Cf(t)?function(e,t,n){return n.traverse(t).orThunk((function(){return Bf(t,n.gather,e)})).map(n.relative)}(e,t,r):Qf(e,t,n,r);return o.map((function(e){return{start:e,finish:e}}))}(t,r.finish,r.foffset,n).fold((function(){return S.some(qs(r.finish,r.foffset))}),(function(o){var i,a=e.fromSitus(o);return i=kf.verify(e,r.finish,r.foffset,a.finish,a.foffset,n.failure,t),kf.cata(i,(function(e){return S.none()}),(function(){return S.none()}),(function(e){return S.some(qs(e,0))}),(function(e){return S.some(qs(e,ii(e)))}))}))}))},Hf=function(e,t,n,r,o,i){return 0===i?S.none():jf(e,t,n,r,o).bind((function(a){var s=e.fromSitus(a),l=kf.verify(e,n,r,s.finish,s.foffset,o.failure,t);return kf.cata(l,(function(){return S.none()}),(function(){return S.some(a)}),(function(a){return Ie(n,a)&&0===r?Wf(e,n,r,Ef,o):Hf(e,t,a,0,o,i-1)}),(function(a){return Ie(n,a)&&r===ii(a)?Wf(e,n,r,Tf,o):Hf(e,t,a,ii(a),o,i-1)}))}))},Wf=function(e,t,n,r,o){return zf(e,t,n).bind((function(t){return Xf(e,o,r(t,Uf.getJumpSize()))}))},Xf=function(e,t,n){var r=Pe().browser;return r.isChrome()||r.isSafari()||r.isFirefox()||r.isEdge()?t.otherRetry(e,n):r.isIE()?t.ieRetry(e,n):S.none()},jf=function(e,t,n,r,o){return zf(e,n,r).bind((function(t){return Xf(e,o,t)}))},qf=function(e,t,n,r,o){return Rt(r,"td,th",t).bind((function(r){return Rt(r,"table",t).bind((function(i){return function(e,t){return Pt(e,(function(e){return mt(e).exists((function(e){return Ie(e,t)}))}),void 0).isSome()}(o,i)?function(e,t,n){return Ff(e,t,n).bind((function(r){return Hf(e,t,r.element,r.offset,n,20).map(e.fromSitus)}))}(e,t,n).bind((function(e){return Rt(e.finish,"td,th",t).map((function(t){return{start:r,finish:t,range:e}}))})):S.none()}))}))},Zf=function(e,t,n,r,o,i){return Pe().browser.isIE()?S.none():i(r,t).orThunk((function(){return qf(e,t,n,r,o).map((function(e){var t=e.range;return af(S.some(cf(t.start,t.soffset,t.finish,t.foffset)),!0)}))}))},Yf=function(e,t){return Rt(e,"tr",t).bind((function(e){return Rt(e,"table",t).bind((function(n){var r=Tt(n,"tr");return Ie(e,r[0])?function(e,t,n){return yf(bf,e,(function(e){return ci(e).isSome()}),n)}(n,0,t).map((function(e){var t=ii(e);return af(S.some(cf(e,t,e,t)),!0)})):S.none()}))}))},Gf=function(e,t){return Rt(e,"tr",t).bind((function(e){return Rt(e,"table",t).bind((function(n){var r=Tt(n,"tr");return Ie(e,r[r.length-1])?function(e,t,n){return Of(bf,e,(function(e){return li(e).isSome()}),n)}(n,0,t).map((function(e){return af(S.some(cf(e,0,e,0)),!0)})):S.none()}))}))},Kf=function(e,t,n,r,o,i,a){return qf(e,n,r,o,i).bind((function(e){return uf(t,n,e.start,e.finish,a)}))},Jf=function(e,t){return Rt(e,"td,th",t)},eh={traverse:vt,gather:_f,relative:Od.before,otherRetry:Uf.tryDown,ieRetry:Uf.ieTryDown,failure:kf.failedDown},th={traverse:At,gather:wf,relative:Od.before,otherRetry:Uf.tryUp,ieRetry:Uf.ieTryUp,failure:kf.failedUp},nh=function(e){return function(t){return t===e}},rh=nh(38),oh=nh(40),ih=function(e){return e>=37&&e<=40},ah={isBackward:nh(37),isForward:nh(39)},sh={isBackward:nh(39),isForward:nh(37)},lh=function(e){return{elementFromPoint:function(t,n){return Me.fromPoint(Me.fromDom(e.document),t,n)},getRect:function(e){return e.dom.getBoundingClientRect()},getRangedRect:function(t,n,r,o){var i=wd.exact(t,n,r,o);return function(e,t){return n=Pd(e,t),r=n.getClientRects(),(o=r.length>0?r[0]:n.getBoundingClientRect()).width>0||o.height>0?S.some(o).map(Bd):S.none();var n,r,o}(e,i)},getSelection:function(){return Jd(e).map((function(t){return lf(e,t)}))},fromSitus:function(t){var n=wd.relative(t.start,t.finish);return lf(e,n)},situsFromPoint:function(t,n){return function(e,t,n){return function(e,t,n){var r=Me.fromDom(e.document);return Ld(r,t,n).map((function(e){return vd(Me.fromDom(e.startContainer),e.startOffset,Me.fromDom(e.endContainer),e.endOffset)}))}(e,t,n)}(e,t,n).map((function(e){return sf(e.start,e.soffset,e.finish,e.foffset)}))},clearSelection:function(){!function(e){Hd(e).each((function(e){return e.removeAllRanges()}))}(e)},collapseSelection:function(t){void 0===t&&(t=!1),Jd(e).each((function(n){return n.fold((function(e){return e.collapse(t)}),(function(n,r){var o=t?n:r;Zd(e,o,o)}),(function(n,r,o,i){var a=t?n:o,s=t?r:i;qd(e,a,s,a,s)}))}))},setSelection:function(t){qd(e,t.start,t.soffset,t.finish,t.foffset)},setRelativeSelection:function(t,n){Zd(e,t,n)},selectNode:function(t){Kd(e,t,!1)},selectContents:function(t){Kd(e,t)},getInnerHeight:function(){return e.innerHeight},getScrollY:function(){var t,n,r,o;return(t=Me.fromDom(e.document),n=void 0!==t?t.dom:document,r=n.body.scrollLeft||n.documentElement.scrollLeft,o=n.body.scrollTop||n.documentElement.scrollTop,ao(r,o)).top},scrollBy:function(t,n){!function(e,t,n){var r=(void 0!==n?n.dom:document).defaultView;r&&r.scrollBy(e,t)}(t,n,Me.fromDom(e.document))}}},ch=function(e,t){return{rows:e,cols:t}},uh=tinymce.util.Tools.resolve("tinymce.Env"),dh=function(e){return!1===Da(Me.fromDom(e.target),"ephox-snooker-resizer-bar")};function fh(e,t,n){var r=function(e,t,n){var r=function(t){Ut(t,e.selected),Ut(t,e.firstSelected),Ut(t,e.lastSelected)},o=function(t){It(t,e.selected,"1")},i=function(e){a(e),n()},a=function(t){var n=Tt(t,e.selectedSelector+","+e.firstSelectedSelector+","+e.lastSelectedSelector);$(n,r)};return{clearBeforeUpdate:a,clear:i,selectRange:function(n,r,a,s){i(n),$(r,o),It(a,e.firstSelected,"1"),It(s,e.lastSelected,"1"),t(r,a,s)},selectedSelector:e.selectedSelector,firstSelectedSelector:e.firstSelectedSelector,lastSelectedSelector:e.lastSelectedSelector}}(Ni,(function(t,r,o){n.targets().each((function(n){mn(r).each((function(i){var a=Ds(e),s=vi(f,Me.fromDom(e.getDoc()),a),l=function(e,t,n){var r=Rn(e);return kl(r,t).map((function(e){var t=Ol(r,n,!1),o=function(e,t){var n=e.slice(0,t[t.length-1].row+1),r=bl(n);return V(r,(function(e){var n=e.cells.slice(0,t[t.length-1].column+1);return P(n,(function(e){return e.element}))}))}(t,e),i=function(e,t){var n=e.slice(t[0].row+t[0].rowspan-1,e.length),r=bl(n);return V(r,(function(e){var n=e.cells.slice(t[0].column+t[0].colspan-1,e.cells.length);return P(n,(function(e){return e.element}))}))}(t,e);return{upOrLeftCells:o,downOrRightCells:i}}))}(i,n,s);!function(e,t,n,r,o){e.fire("TableSelectionChange",{cells:t,start:n,finish:r,otherCells:o})}(e,t,r,o,l)}))}))}),(function(){return function(e){e.fire("TableSelectionClear")}(e)}));return e.on("init",(function(n){var o=e.getWin(),i=bi(e),a=xi(e),s=function(e,t,n,r){var o=function(e,t,n,r){var o=Qu(),i=o.clear,a=function(i){o.on((function(o){r.clearBeforeUpdate(t),Jf(i.target,n).each((function(a){xr(o,a,n).each((function(n){var o=n.boxes.getOr([]);if(1===o.length){var s=o[0],l="false"===Ha(s),c=Ht(Ua(i.target),s,Ie);l&&c&&(r.selectRange(t,o,s,s),e.selectContents(s))}else o.length>1&&(r.selectRange(t,o,n.start,n.finish),e.selectContents(a))}))}))}))};return{clearstate:i,mousedown:function(e){r.clear(t),Jf(e.target,n).each(o.set)},mouseover:function(e){a(e)},mouseup:function(e){a(e),i()}}}(lh(e),t,n,r);return{clearstate:o.clearstate,mousedown:o.mousedown,mouseover:o.mouseover,mouseup:o.mouseup}}(o,i,a,r),l=function(e,t,n,r){var o=lh(e),i=function(){return r.clear(t),S.none()};return{keydown:function(e,a,s,l,c,u){var d=e.raw,f=d.which,h=!0===d.shiftKey,p=Sr(t,r.selectedSelector).fold((function(){return ih(f)&&!h&&r.clearBeforeUpdate(t),oh(f)&&h?g(Kf,o,t,n,eh,l,a,r.selectRange):rh(f)&&h?g(Kf,o,t,n,th,l,a,r.selectRange):oh(f)?g(Zf,o,n,eh,l,a,Gf):rh(f)?g(Zf,o,n,th,l,a,Yf):S.none}),(function(e){var n=function(n){return function(){var i=q(n,(function(n){return function(e,t,n,r,o){return Cr(r,e,t,o.firstSelectedSelector,o.lastSelectedSelector).map((function(e){return o.clearBeforeUpdate(n),o.selectRange(n,e.boxes,e.start,e.finish),e.boxes}))}(n.rows,n.cols,t,e,r)}));return i.fold((function(){return kr(t,r.firstSelectedSelector,r.lastSelectedSelector).map((function(e){var n=oh(f)||u.isForward(f)?Od.after:Od.before;return o.setRelativeSelection(Od.on(e.first,0),n(e.table)),r.clear(t),af(S.none(),!0)}))}),(function(e){return S.some(af(S.none(),!0))}))}};return oh(f)&&h?n([ch(1,0)]):rh(f)&&h?n([ch(-1,0)]):u.isBackward(f)&&h?n([ch(0,-1),ch(-1,0)]):u.isForward(f)&&h?n([ch(0,1),ch(1,0)]):ih(f)&&!h?i:S.none}));return p()},keyup:function(e,o,i,a,s){return Sr(t,r.selectedSelector).fold((function(){var l=e.raw,c=l.which;return!0===l.shiftKey&&ih(c)?function(e,t,n,r,o,i,a){return Ie(n,o)&&r===i?S.none():Rt(n,"td,th",t).bind((function(n){return Rt(o,"td,th",t).bind((function(r){return uf(e,t,n,r,a)}))}))}(t,n,o,i,a,s,r.selectRange):S.none()}),S.none)}}}(o,i,a,r),c=function(e,t,n,r){var o=lh(e);return function(e,i){r.clearBeforeUpdate(t),xr(e,i,n).each((function(e){var n=e.boxes.getOr([]);r.selectRange(t,n,e.start,e.finish),o.selectContents(i),o.collapseSelection()}))}}(o,i,a,r);e.on("TableSelectorChange",(function(e){return c(e.start,e.finish)}));var u,d,h=function(t,n){(function(e){return!0===e.raw.shiftKey})(t)&&(n.kill&&t.kill(),n.selection.each((function(t){var n=wd.relative(t.start,t.finish),r=Pd(o,n);e.selection.setRng(r)})))},p=function(e){return 0===e.button},m=(u=Cu(Me.fromDom(i)),d=Cu(0),{touchEnd:function(e){var t=Me.fromDom(e.target);if("td"===ot(t)||"th"===ot(t)){var n=u.get(),r=d.get();Ie(n,t)&&e.timeStamp-r<300&&(e.preventDefault(),c(t,t))}u.set(t),d.set(e.timeStamp)}});e.on("dragstart",(function(e){s.clearstate()})),e.on("mousedown",(function(e){p(e)&&dh(e)&&s.mousedown($a(e))})),e.on("mouseover",(function(e){var t;(void 0===(t=e).buttons||uh.browser.isEdge()&&0===t.buttons||1&t.buttons)&&dh(e)&&s.mouseover($a(e))})),e.on("mouseup",(function(e){p(e)&&dh(e)&&s.mouseup($a(e))})),e.on("touchend",m.touchEnd),e.on("keyup",(function(t){var n=$a(t);if(n.raw.shiftKey&&ih(n.raw.which)){var r=e.selection.getRng(),o=Me.fromDom(r.startContainer),i=Me.fromDom(r.endContainer);l.keyup(n,o,r.startOffset,i,r.endOffset).each((function(e){h(n,e)}))}})),e.on("keydown",(function(n){var r=$a(n);t().each((function(e){return e.hideBars()}));var o=e.selection.getRng(),i=Me.fromDom(o.startContainer),a=Me.fromDom(o.endContainer),s=eo(ah,sh)(Me.fromDom(e.selection.getStart()));l.keydown(r,i,o.startOffset,a,o.endOffset,s).each((function(e){h(r,e)})),t().each((function(e){return e.showBars()}))})),e.on("NodeChange",(function(){var t=e.selection,n=Me.fromDom(t.getStart()),o=Me.fromDom(t.getEnd());wr(mn,[n,o]).fold((function(){return r.clear(i)}),f)}))})),{clear:r.clear}}var hh=function(e,t){var n=Cu(S.none()),r=Cu([]),o=S.none(),i=ft("caption"),a=function(e){return o.forall((function(t){return!t[e]}))},s=function(){return Ui(Ci(e),xi(e)).bind((function(n){return r=Xt(mn(n),Ui(function(e){return Me.fromDom(e.selection.getEnd())}(e),xi(e)).bind(mn),(function(e,r){return Ie(e,r)?i(n)?S.some(function(e){return{element:e,mergable:S.none(),unmergable:S.none(),selection:[e]}}(n)):S.some(Li(t,e,n)):S.none()})),r.bind(p);var r}))},l=function(e){return mn(e.element).map((function(t){var n=Rn(t),r=kl(n,e).getOr([]),o=D(r,(function(e,t){return t.isLocked&&(e.onAny=!0,0===t.column?e.onFirst=!0:t.column+t.colspan>=n.grid.columns&&(e.onLast=!0)),e}),{onAny:!1,onFirst:!1,onLast:!1});return{mergeable:Ql(n,e).isSome(),unmergeable:Tl(n,e).isSome(),locked:o}}))},c=function(){n.set(G(s)()),o=n.get().bind(l),$(r.get(),(function(e){return e()}))},u=function(e){return e(),r.set(r.get().concat([e])),function(){r.set(z(r.get(),(function(t){return t!==e})))}},d=function(e,t){return u((function(){return n.get().fold((function(){e.setDisabled(!0)}),(function(n){e.setDisabled(t(n))}))}))},f=function(e,t,r){return u((function(){return n.get().fold((function(){e.setDisabled(!0),e.setActive(!1)}),(function(n){e.setDisabled(t(n)),e.setActive(r(n))}))}))},h=function(e){return o.exists((function(t){return t.locked[e]}))},m=function(t,n){return function(r){return f(r,(function(e){return i(e.element)}),(function(){return e.queryCommandValue(t)===n}))}},g=m("mceTableRowType","header"),A=m("mceTableColType","th");return e.on("NodeChange ExecCommand TableSelectorChange",c),{onSetupTable:function(e){return d(e,(function(e){return!1}))},onSetupCellOrRow:function(e){return d(e,(function(e){return i(e.element)}))},onSetupColumn:function(e){return function(t){return d(t,(function(t){return i(t.element)||h(e)}))}},onSetupPasteable:function(e){return function(t){return d(t,(function(t){return i(t.element)||e().isNone()}))}},onSetupPasteableColumn:function(e,t){return function(n){return d(n,(function(n){return i(n.element)||e().isNone()||h(t)}))}},onSetupMergeable:function(e){return d(e,(function(e){return a("mergeable")}))},onSetupUnmergeable:function(e){return d(e,(function(e){return a("unmergeable")}))},resetTargets:c,onSetupTableWithCaption:function(t){return f(t,O,(function(t){return mn(t.element,xi(e)).exists((function(e){return Mt(e,"caption").isSome()}))}))},onSetupTableRowHeaders:g,onSetupTableColumnHeaders:A,targets:n.get}};Rr.add("table",(function(e){var t,n=(t=Ni.selectedSelector,{get:function(){return Br(bi(e),t).fold((function(){return Fi(Ci(e),xi(e)).fold($r,zr)}),(function(e){return Mr(e)}))}}),r=hh(e,n),o=js(e),i=fh(e,o.lazyResize,r),a=nu(e,i,o.lazyWire),s=function(){var e=Qu(),t=Qu();return{getRows:e.get,setRows:function(n){n.fold(e.clear,e.set),t.clear()},clearRows:e.clear,getColumns:t.get,setColumns:function(n){n.fold(t.clear,t.set),e.clear()},clearColumns:t.clear}}();return ud(e,a,0,n,s),function(e,t,n){var r=xi(e),o=function(t){return Fi(Ci(e)).bind((function(e){return mn(e,r).map((function(r){var o=Li(n,r,e);return t(r,o)}))})).getOr("")};Fe({mceTableRowType:function(){return o(t.getTableRowType)},mceTableCellType:function(){return o(t.getTableCellType)},mceTableColType:function(){return o(t.getTableColType)}},(function(t,n){return e.addQueryValueHandler(n,t)}))}(e,a,n),Wi(e,n,a),function(e,t,n,r){var o=function(t){return function(){return e.execCommand(t)}},i=function(t){e.execCommand("mceInsertTable",!1,{rows:t.numRows,columns:t.numColumns})},a={text:"Table properties",onSetup:n.onSetupTable,onAction:o("mceTableProps")},s={text:"Delete table",icon:"table-delete-table",onSetup:n.onSetupTable,onAction:o("mceTableDelete")};e.ui.registry.addMenuItem("tableinsertrowbefore",{text:"Insert row before",icon:"table-insert-row-above",onAction:o("mceTableInsertRowBefore"),onSetup:n.onSetupCellOrRow}),e.ui.registry.addMenuItem("tableinsertrowafter",{text:"Insert row after",icon:"table-insert-row-after",onAction:o("mceTableInsertRowAfter"),onSetup:n.onSetupCellOrRow}),e.ui.registry.addMenuItem("tabledeleterow",{text:"Delete row",icon:"table-delete-row",onAction:o("mceTableDeleteRow"),onSetup:n.onSetupCellOrRow}),e.ui.registry.addMenuItem("tablerowprops",{text:"Row properties",icon:"table-row-properties",onAction:o("mceTableRowProps"),onSetup:n.onSetupCellOrRow}),e.ui.registry.addMenuItem("tablecutrow",{text:"Cut row",icon:"cut-row",onAction:o("mceTableCutRow"),onSetup:n.onSetupCellOrRow}),e.ui.registry.addMenuItem("tablecopyrow",{text:"Copy row",icon:"duplicate-row",onAction:o("mceTableCopyRow"),onSetup:n.onSetupCellOrRow}),e.ui.registry.addMenuItem("tablepasterowbefore",{text:"Paste row before",icon:"paste-row-before",onAction:o("mceTablePasteRowBefore"),onSetup:n.onSetupPasteable(r.getRows)}),e.ui.registry.addMenuItem("tablepasterowafter",{text:"Paste row after",icon:"paste-row-after",onAction:o("mceTablePasteRowAfter"),onSetup:n.onSetupPasteable(r.getRows)});var l={type:"nestedmenuitem",text:"Row",getSubmenuItems:h("tableinsertrowbefore tableinsertrowafter tabledeleterow tablerowprops | tablecutrow tablecopyrow tablepasterowbefore tablepasterowafter")};e.ui.registry.addMenuItem("tableinsertcolumnbefore",{text:"Insert column before",icon:"table-insert-column-before",onAction:o("mceTableInsertColBefore"),onSetup:n.onSetupColumn("onFirst")}),e.ui.registry.addMenuItem("tableinsertcolumnafter",{text:"Insert column after",icon:"table-insert-column-after",onAction:o("mceTableInsertColAfter"),onSetup:n.onSetupColumn("onLast")}),e.ui.registry.addMenuItem("tabledeletecolumn",{text:"Delete column",icon:"table-delete-column",onAction:o("mceTableDeleteCol"),onSetup:n.onSetupColumn("onAny")}),e.ui.registry.addMenuItem("tablecutcolumn",{text:"Cut column",icon:"cut-column",onAction:o("mceTableCutCol"),onSetup:n.onSetupColumn("onAny")}),e.ui.registry.addMenuItem("tablecopycolumn",{text:"Copy column",icon:"duplicate-column",onAction:o("mceTableCopyCol"),onSetup:n.onSetupColumn("onAny")}),e.ui.registry.addMenuItem("tablepastecolumnbefore",{text:"Paste column before",icon:"paste-column-before",onAction:o("mceTablePasteColBefore"),onSetup:n.onSetupPasteableColumn(r.getColumns,"onFirst")}),e.ui.registry.addMenuItem("tablepastecolumnafter",{text:"Paste column after",icon:"paste-column-after",onAction:o("mceTablePasteColAfter"),onSetup:n.onSetupPasteableColumn(r.getColumns,"onLast")});var c={type:"nestedmenuitem",text:"Column",getSubmenuItems:h("tableinsertcolumnbefore tableinsertcolumnafter tabledeletecolumn | tablecutcolumn tablecopycolumn tablepastecolumnbefore tablepastecolumnafter")};e.ui.registry.addMenuItem("tablecellprops",{text:"Cell properties",icon:"table-cell-properties",onAction:o("mceTableCellProps"),onSetup:n.onSetupCellOrRow}),e.ui.registry.addMenuItem("tablemergecells",{text:"Merge cells",icon:"table-merge-cells",onAction:o("mceTableMergeCells"),onSetup:n.onSetupMergeable}),e.ui.registry.addMenuItem("tablesplitcells",{text:"Split cell",icon:"table-split-cells",onAction:o("mceTableSplitCells"),onSetup:n.onSetupUnmergeable});var u={type:"nestedmenuitem",text:"Cell",getSubmenuItems:h("tablecellprops tablemergecells tablesplitcells")};!1===function(e){return e.getParam("table_grid",!0,"boolean")}(e)?e.ui.registry.addMenuItem("inserttable",{text:"Table",icon:"table",onAction:o("mceInsertTable")}):e.ui.registry.addNestedMenuItem("inserttable",{text:"Table",icon:"table",getSubmenuItems:function(){return[{type:"fancymenuitem",fancytype:"inserttable",onAction:i}]}}),e.ui.registry.addMenuItem("inserttabledialog",{text:"Insert table",icon:"table",onAction:o("mceInsertTable")}),e.ui.registry.addMenuItem("tableprops",a),e.ui.registry.addMenuItem("deletetable",s),e.ui.registry.addNestedMenuItem("row",l),e.ui.registry.addNestedMenuItem("column",c),e.ui.registry.addNestedMenuItem("cell",u),e.ui.registry.addContextMenu("table",{update:function(){return n.resetTargets(),n.targets().fold(h(""),(function(e){return"caption"===ot(e.element)?"tableprops deletetable":"cell row column | advtablesort | tableprops deletetable"}))}});var d=zu(Bs(e));0!==d.length&&e.ui.registry.addNestedMenuItem("tableclass",{icon:"table-classes",text:"Table styles",getSubmenuItems:function(){return $u(e,t,d,"tableclass",(function(t){return e.execCommand("mceTableToggleClass",!1,t)}))},onSetup:n.onSetupTable});var f=zu(Cs(e));0!==f.length&&e.ui.registry.addNestedMenuItem("tablecellclass",{icon:"table-cell-classes",text:"Cell styles",getSubmenuItems:function(){return $u(e,t,f,"tablecellclass",(function(t){return e.execCommand("mceTableCellToggleClass",!1,t)}))},onSetup:n.onSetupCellOrRow}),e.ui.registry.addNestedMenuItem("tablecellvalign",{icon:"vertical-align",text:"Vertical align",getSubmenuItems:function(){return $u(e,t,gu,"tablecellverticalalign",Mu(e,"vertical-align"))},onSetup:n.onSetupCellOrRow}),e.ui.registry.addNestedMenuItem("tablecellborderwidth",{icon:"border-width",text:"Border width",getSubmenuItems:function(){return $u(e,t,ys(e),"tablecellborderwidth",Mu(e,"border-width"))},onSetup:n.onSetupCellOrRow}),e.ui.registry.addNestedMenuItem("tablecellborderstyle",{icon:"border-style",text:"Border style",getSubmenuItems:function(){return $u(e,t,Os(e),"tablecellborderstyle",Mu(e,"border-style"))},onSetup:n.onSetupCellOrRow}),e.ui.registry.addToggleMenuItem("tablecaption",{icon:"table-caption",text:"Table caption",onAction:o("mceTableToggleCaption"),onSetup:n.onSetupTableWithCaption}),e.ui.registry.addNestedMenuItem("tablecellbackgroundcolor",{icon:"cell-background-color",text:"Background color",getSubmenuItems:function(){return Du(e,Is(e),"background-color")},onSetup:n.onSetupCellOrRow}),e.ui.registry.addNestedMenuItem("tablecellbordercolor",{icon:"cell-border-color",text:"Border color",getSubmenuItems:function(){return Du(e,Ns(e),"border-color")},onSetup:n.onSetupCellOrRow}),e.ui.registry.addToggleMenuItem("tablerowheader",{text:"Row header",icon:"table-top-header",onAction:Iu(e),onSetup:n.onSetupTableRowHeaders}),e.ui.registry.addToggleMenuItem("tablecolheader",{text:"Column header",icon:"table-left-header",onAction:Nu(e),onSetup:n.onSetupTableColumnHeaders})}(e,n,r,s),function(e,t,n,r){e.ui.registry.addMenuButton("table",{tooltip:"Table",icon:"table",fetch:function(e){return e("inserttable | cell row column | advtablesort | tableprops deletetable")}});var o=function(t){return function(){return e.execCommand(t)}};e.ui.registry.addButton("tableprops",{tooltip:"Table properties",onAction:o("mceTableProps"),icon:"table",onSetup:n.onSetupTable}),e.ui.registry.addButton("tabledelete",{tooltip:"Delete table",onAction:o("mceTableDelete"),icon:"table-delete-table",onSetup:n.onSetupTable}),e.ui.registry.addButton("tablecellprops",{tooltip:"Cell properties",onAction:o("mceTableCellProps"),icon:"table-cell-properties",onSetup:n.onSetupCellOrRow}),e.ui.registry.addButton("tablemergecells",{tooltip:"Merge cells",onAction:o("mceTableMergeCells"),icon:"table-merge-cells",onSetup:n.onSetupMergeable}),e.ui.registry.addButton("tablesplitcells",{tooltip:"Split cell",onAction:o("mceTableSplitCells"),icon:"table-split-cells",onSetup:n.onSetupUnmergeable}),e.ui.registry.addButton("tableinsertrowbefore",{tooltip:"Insert row before",onAction:o("mceTableInsertRowBefore"),icon:"table-insert-row-above",onSetup:n.onSetupCellOrRow}),e.ui.registry.addButton("tableinsertrowafter",{tooltip:"Insert row after",onAction:o("mceTableInsertRowAfter"),icon:"table-insert-row-after",onSetup:n.onSetupCellOrRow}),e.ui.registry.addButton("tabledeleterow",{tooltip:"Delete row",onAction:o("mceTableDeleteRow"),icon:"table-delete-row",onSetup:n.onSetupCellOrRow}),e.ui.registry.addButton("tablerowprops",{tooltip:"Row properties",onAction:o("mceTableRowProps"),icon:"table-row-properties",onSetup:n.onSetupCellOrRow}),e.ui.registry.addButton("tableinsertcolbefore",{tooltip:"Insert column before",onAction:o("mceTableInsertColBefore"),icon:"table-insert-column-before",onSetup:n.onSetupColumn("onFirst")}),e.ui.registry.addButton("tableinsertcolafter",{tooltip:"Insert column after",onAction:o("mceTableInsertColAfter"),icon:"table-insert-column-after",onSetup:n.onSetupColumn("onLast")}),e.ui.registry.addButton("tabledeletecol",{tooltip:"Delete column",onAction:o("mceTableDeleteCol"),icon:"table-delete-column",onSetup:n.onSetupColumn("onAny")}),e.ui.registry.addButton("tablecutrow",{tooltip:"Cut row",icon:"cut-row",onAction:o("mceTableCutRow"),onSetup:n.onSetupCellOrRow}),e.ui.registry.addButton("tablecopyrow",{tooltip:"Copy row",icon:"duplicate-row",onAction:o("mceTableCopyRow"),onSetup:n.onSetupCellOrRow}),e.ui.registry.addButton("tablepasterowbefore",{tooltip:"Paste row before",icon:"paste-row-before",onAction:o("mceTablePasteRowBefore"),onSetup:n.onSetupPasteable(r.getRows)}),e.ui.registry.addButton("tablepasterowafter",{tooltip:"Paste row after",icon:"paste-row-after",onAction:o("mceTablePasteRowAfter"),onSetup:n.onSetupPasteable(r.getRows)}),e.ui.registry.addButton("tablecutcol",{tooltip:"Cut column",icon:"cut-column",onAction:o("mceTableCutCol"),onSetup:n.onSetupColumn("onAny")}),e.ui.registry.addButton("tablecopycol",{tooltip:"Copy column",icon:"duplicate-column",onAction:o("mceTableCopyCol"),onSetup:n.onSetupColumn("onAny")}),e.ui.registry.addButton("tablepastecolbefore",{tooltip:"Paste column before",icon:"paste-column-before",onAction:o("mceTablePasteColBefore"),onSetup:n.onSetupPasteableColumn(r.getColumns,"onFirst")}),e.ui.registry.addButton("tablepastecolafter",{tooltip:"Paste column after",icon:"paste-column-after",onAction:o("mceTablePasteColAfter"),onSetup:n.onSetupPasteableColumn(r.getColumns,"onLast")}),e.ui.registry.addButton("tableinsertdialog",{tooltip:"Insert table",onAction:o("mceInsertTable"),icon:"table"});var i=zu(Bs(e));0!==i.length&&e.ui.registry.addMenuButton("tableclass",{icon:"table-classes",tooltip:"Table styles",fetch:Ru(e,t,i,"tableclass",(function(t){return e.execCommand("mceTableToggleClass",!1,t)})),onSetup:n.onSetupTable});var a=zu(Cs(e));0!==a.length&&e.ui.registry.addMenuButton("tablecellclass",{icon:"table-cell-classes",tooltip:"Cell styles",fetch:Ru(e,t,a,"tablecellclass",(function(t){return e.execCommand("mceTableCellToggleClass",!1,t)})),onSetup:n.onSetupCellOrRow}),e.ui.registry.addMenuButton("tablecellvalign",{icon:"vertical-align",tooltip:"Vertical align",fetch:Ru(e,t,gu,"tablecellverticalalign",Mu(e,"vertical-align")),onSetup:n.onSetupCellOrRow}),e.ui.registry.addMenuButton("tablecellborderwidth",{icon:"border-width",tooltip:"Border width",fetch:Ru(e,t,ys(e),"tablecellborderwidth",Mu(e,"border-width")),onSetup:n.onSetupCellOrRow}),e.ui.registry.addMenuButton("tablecellborderstyle",{icon:"border-style",tooltip:"Border style",fetch:Ru(e,t,Os(e),"tablecellborderstyle",Mu(e,"border-style")),onSetup:n.onSetupCellOrRow}),e.ui.registry.addToggleButton("tablecaption",{tooltip:"Table caption",onAction:o("mceTableToggleCaption"),icon:"table-caption",onSetup:n.onSetupTableWithCaption}),e.ui.registry.addMenuButton("tablecellbackgroundcolor",{icon:"cell-background-color",tooltip:"Background color",fetch:function(t){return t(Du(e,Is(e),"background-color"))},onSetup:n.onSetupCellOrRow}),e.ui.registry.addMenuButton("tablecellbordercolor",{icon:"cell-border-color",tooltip:"Border color",fetch:function(t){return t(Du(e,Ns(e),"border-color"))},onSetup:n.onSetupCellOrRow}),e.ui.registry.addToggleButton("tablerowheader",{tooltip:"Row header",icon:"table-top-header",onAction:Iu(e),onSetup:n.onSetupTableRowHeaders}),e.ui.registry.addToggleButton("tablecolheader",{tooltip:"Column header",icon:"table-left-header",onAction:Nu(e),onSetup:n.onSetupTableColumnHeaders})}(e,n,r,s),function(e){var t=function(e){return e.getParam("table_toolbar","tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol")}(e);t.length>0&&e.ui.registry.addContextToolbar("table",{predicate:function(t){return e.dom.is(t,"table")&&e.getBody().contains(t)},items:t,scope:"node",position:"node"})}(e),e.on("PreInit",(function(){e.serializer.addTempAttr(Ni.firstSelected),e.serializer.addTempAttr(Ni.lastSelected),function(e){e.formatter.register(hd)}(e)})),function(e){return e.getParam("table_tab_navigation",!0,"boolean")}(e)&&e.on("keydown",(function(t){!function(e,t,n){if(e.keyCode===ef.TAB){var r=bi(t),o=function(e){var t=ot(e);return Ie(e,r)||Q(of,t)},i=t.selection.getRng(),a=Me.fromDom(e.shiftKey?i.startContainer:i.endContainer);fn(a,o).each((function(r){e.preventDefault(),mn(r,o).each(n.clear),t.selection.collapse(e.shiftKey),(e.shiftKey?nf:tf)(t,o,r).each((function(e){t.selection.setRng(e)}))}))}}(t,e,i)})),e.on("remove",(function(){o.destroy()})),function(e,t,n,r){return{insertTable:uu(e),setClipboardRows:cu(t.setRows),getClipboardRows:lu(t.getRows),setClipboardCols:cu(t.setColumns),getClipboardCols:lu(t.getColumns),resizeHandler:n,selectionTargets:r}}(e,s,o,r)}))}()},57354:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var r={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},dropdown:{toggleDropdown:"切换下拉选项"},mention:{loading:"加载中"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}}},57372:function(e,t,n){n(2553)},57426:function(e,t,n){n(24855)},57478:function(e,t,n){var r=n(95423);e.exports=function(e,t){var n=r(e);return arguments.length<=1?n[0]:(t<n.length&&(n.length=t||0),n)}},57576:function(e){var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return O}});var r=n(279),o=n.n(r),i=n(370),a=n.n(i),s=n(817),l=n.n(s);function c(e){try{return document.execCommand(e)}catch(e){return!1}}var u=function(e){var t=l()(e);return c("cut"),t},d=function(e,t){var n=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);var r=l()(n);return c("copy"),n.remove(),r},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=d(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=d(e.value,t):(n=l()(e),c("copy")),n};function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}function v(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var y=function(e){!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&&g(e,t)}(l,e);var t,n,r,o,i,s=(o=l,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=A(o);if(i){var n=A(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function l(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(n=s.call(this)).resolveOptions(t),n.listenClick(e),n}return t=l,n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===p(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=a()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,o=e.target,i=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==h(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return i?f(i,{container:r}):o?"cut"===n?u(o):f(o,{container:r}):void 0}({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return v("action",e)}},{key:"defaultTarget",value:function(e){var t=v("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return v("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return f(e,t)}},{key:"cut",value:function(e){return u(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&m(t.prototype,n),r&&m(t,r),l}(o()),O=y},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function o(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),o=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default},e.exports=t()},57625:function(e,t,n){var r=n(51780);e.exports=function(e,t){var n=r(arguments,2),o=this;return setTimeout((function(){e.apply(o,n)}),t)}},57657:function(e,t,n){"use strict";var r,o,i,a=n(79039),s=n(94901),l=n(20034),c=n(2360),u=n(42787),d=n(36840),f=n(78227),h=n(96395),p=f("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):m=!0),!l(r)||a((function(){var e={};return r[p].call(e)!==e}))?r={}:h&&(r=c(r)),s(r[p])||d(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},57696:function(e,t,n){"use strict";var r=n(91291),o=n(18014),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw new i("Wrong length or index");return n}},57861:function(e,t){"use strict";var n=function(){function e(e){e&&(this._$eventProcessor=e)}return e.prototype.on=function(e,t,n,r){this._$handlers||(this._$handlers={});var o=this._$handlers;if("function"==typeof t&&(r=n,n=t,t=null),!n||!e)return this;var i=this._$eventProcessor;null!=t&&i&&i.normalizeQuery&&(t=i.normalizeQuery(t)),o[e]||(o[e]=[]);for(var a=0;a<o[e].length;a++)if(o[e][a].h===n)return this;var s={h:n,query:t,ctx:r||this,callAtLast:n.zrEventfulCallAtLast},l=o[e].length-1,c=o[e][l];return c&&c.callAtLast?o[e].splice(l,0,s):o[e].push(s),this},e.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},e.prototype.off=function(e,t){var n=this._$handlers;if(!n)return this;if(!e)return this._$handlers={},this;if(t){if(n[e]){for(var r=[],o=0,i=n[e].length;o<i;o++)n[e][o].h!==t&&r.push(n[e][o]);n[e]=r}n[e]&&0===n[e].length&&delete n[e]}else delete n[e];return this},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[e],o=this._$eventProcessor;if(r)for(var i=t.length,a=r.length,s=0;s<a;s++){var l=r[s];if(!o||!o.filter||null==l.query||o.filter(e,l.query))switch(i){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,t[0]);break;case 2:l.h.call(l.ctx,t[0],t[1]);break;default:l.h.apply(l.ctx,t)}}return o&&o.afterTrigger&&o.afterTrigger(e),this},e.prototype.triggerWithContext=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[e],o=this._$eventProcessor;if(r)for(var i=t.length,a=t[i-1],s=r.length,l=0;l<s;l++){var c=r[l];if(!o||!o.filter||null==c.query||o.filter(e,c.query))switch(i){case 0:c.h.call(a);break;case 1:c.h.call(a,t[0]);break;case 2:c.h.call(a,t[0],t[1]);break;default:c.h.apply(a,t.slice(1,i-1))}}return o&&o.afterTrigger&&o.afterTrigger(e),this},e}();t.A=n},58004:function(e,t,n){"use strict";var r=n(46518),o=n(79039),i=n(68750);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("intersection",(function(e){return 2===e.size&&e.has(1)&&e.has(2)}))||o((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:i})},58251:function(e,t,n){var r=n(63982),o=n(92360)(r);e.exports=o},58267:function(e,t,n){"use strict";n.d(t,{Kd:function(){return v},QE:function(){return _},d1:function(){return f},sC:function(){return m},uQ:function(){return b}});var r,o,i,a,s,l=n(98026),c=n(48170),u=n(34310),d=n(13430),f=function(){function e(e,t){var n=(0,u.tP)(e)?e:(0,u.AF)(e);this._source=n;var r=this._data=n.data;n.sourceFormat===d.XO&&(this._offset=0,this._dimSize=t,this._data=r),s(this,r,n)}var t;return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(e,t){},e.prototype.appendData=function(e){},e.prototype.clean=function(){},e.protoInitialize=((t=e.prototype).pure=!1,void(t.persistent=!0)),e.internalField=function(){var e;s=function(e,o,i){var s=i.sourceFormat,c=i.seriesLayoutBy,u=i.startIndex,f=i.dimensionsDefine,h=a[w(s,c)];if((0,l.extend)(e,h),s===d.XO)e.getItem=t,e.count=r,e.fillStorage=n;else{var p=m(s,c);e.getItem=(0,l.bind)(p,null,o,u,f);var g=v(s,c);e.count=(0,l.bind)(g,null,o,u,f)}};var t=function(e,t){e-=this._offset,t=t||[];for(var n=this._data,r=this._dimSize,o=r*e,i=0;i<r;i++)t[i]=n[o+i];return t},n=function(e,t,n,r){for(var o=this._data,i=this._dimSize,a=0;a<i;a++){for(var s=r[a],l=null==s[0]?1/0:s[0],c=null==s[1]?-1/0:s[1],u=t-e,d=n[a],f=0;f<u;f++){var h=o[f*i+a];d[e+f]=h,h<l&&(l=h),h>c&&(c=h)}s[0]=l,s[1]=c}},r=function(){return this._data?this._data.length/this._dimSize:0};function o(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}(e={})[d.Km+"_"+d.i_]={pure:!0,appendData:o},e[d.Km+"_"+d.oC]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[d.Wk]={pure:!0,appendData:o},e[d.t1]={pure:!0,appendData:function(e){var t=this._data;(0,l.each)(e,(function(e,n){for(var r=t[n]||(t[n]=[]),o=0;o<(e||[]).length;o++)r.push(e[o])}))}},e[d.mK]={appendData:o},e[d.XO]={persistent:!1,pure:!0,appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}},a=e}(),e}(),h=function(e,t,n,r){return e[r]},p=((r={})[d.Km+"_"+d.i_]=function(e,t,n,r){return e[r+t]},r[d.Km+"_"+d.oC]=function(e,t,n,r,o){r+=t;for(var i=o||[],a=e,s=0;s<a.length;s++){var l=a[s];i[s]=l?l[r]:null}return i},r[d.Wk]=h,r[d.t1]=function(e,t,n,r,o){for(var i=o||[],a=0;a<n.length;a++){var s=e[n[a].name];i[a]=s?s[r]:null}return i},r[d.mK]=h,r);function m(e,t){return p[w(e,t)]}var g=function(e,t,n){return e.length},A=((o={})[d.Km+"_"+d.i_]=function(e,t,n){return Math.max(0,e.length-t)},o[d.Km+"_"+d.oC]=function(e,t,n){var r=e[0];return r?Math.max(0,r.length-t):0},o[d.Wk]=g,o[d.t1]=function(e,t,n){var r=e[n[0].name];return r?r.length:0},o[d.mK]=g,o);function v(e,t){return A[w(e,t)]}var y=function(e,t,n){return e[t]},O=((i={})[d.Km]=y,i[d.Wk]=function(e,t,n){return e[n]},i[d.t1]=y,i[d.mK]=function(e,t,n){var r=(0,c.vj)(e);return r instanceof Array?r[t]:r},i[d.XO]=y,i);function b(e){return O[e]}function w(e,t){return e===d.Km?e+"_"+t:e}function _(e,t,n){if(e){var r=e.getRawDataItem(t);if(null!=r){var o=e.getStore(),i=o.getSource().sourceFormat;if(null!=n){var a=e.getDimensionIndex(n),s=o.getDimensionProperty(a);return b(i)(r,a,s)}var l=r;return i===d.mK&&(l=(0,c.vj)(r)),l}}}},58622:function(e,t,n){"use strict";var r=n(44576),o=n(94901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},59109:function(e,t,n){"use strict";var r=n(43870),o=n(12616),i=n(30693),a=function(){function e(){this.group=new r.A,this.uid=o.$Q("viewComponent")}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){},e.prototype.updateLayout=function(e,t,n,r){},e.prototype.updateVisual=function(e,t,n,r){},e.prototype.toggleBlurSeries=function(e,t,n){},e.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},e}();i.gq(a),i.tQ(a),t.A=a},59154:function(e,t,n){var r=n(29869);e.exports=function(e,t,n,o){var i=[];return e&&t&&r(e,(function(e,n,r,a,s,l){t.call(o,e,n,r,a,s,l)&&i.push(e)}),n),i}},59171:function(e,t,n){var r=n(48614)("find",1,3,!0);e.exports=r},59638:function(e,t,n){n(52171)},59741:function(e,t,n){"use strict";n.d(t,{Gs:function(){return u},OH:function(){return s},gI:function(){return i},yh:function(){return c},zs:function(){return a}});var r,o,i=12,a="sans-serif",s=i+"px "+a,l=function(e){var t={};if("undefined"==typeof JSON)return t;for(var n=0;n<95;n++){var r=String.fromCharCode(n+32),o=(e.charCodeAt(n)-20)/100;t[r]=o}return t}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),c={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(e,t){if(!r){var n=c.createCanvas();r=n&&n.getContext("2d")}if(r)return o!==t&&(o=r.font=t||s),r.measureText(e);e=e||"";var a=/((?:\d+)?\.?\d*)px/.exec(t=t||s),u=a&&+a[1]||i,d=0;if(t.indexOf("mono")>=0)d=u*e.length;else for(var f=0;f<e.length;f++){var h=l[e[f]];d+=null==h?u:h*u}return{width:d}},loadImage:function(e,t,n){var r=new Image;return r.onload=t,r.onerror=n,r.src=e,r}};function u(e){for(var t in c)e[t]&&(c[t]=e[t])}},59947:function(e,t,n){var r=n(95654)((function e(t,n,r,o,i,a,s,l){var c,u,d,f,h,p;if(n)for(u=0,d=n.length;u<d;u++){if(c=n[u],f=i.concat([""+u]),h=a.concat([c]),r.call(o,c,u,n,f,t,h))return{index:u,item:c,path:f,items:n,parent:t,nodes:h};if(s&&c&&(p=e(c,c[s],r,o,f.concat([s]),h,s,l)))return p}}));e.exports=r},59975:function(e,t,n){"use strict";n.d(t,{A:function(){return O}});var r=n(15215),o=n(5070),i=n(98026),a=Math.PI,s=2*a,l=Math.sin,c=Math.cos,u=Math.acos,d=Math.atan2,f=Math.abs,h=Math.sqrt,p=Math.max,m=Math.min,g=1e-4;function A(e,t,n,r,o,i,a){var s=e-n,l=t-r,c=(a?i:-i)/h(s*s+l*l),u=c*l,d=-c*s,f=e+u,m=t+d,g=n+u,A=r+d,v=(f+g)/2,y=(m+A)/2,O=g-f,b=A-m,w=O*O+b*b,_=o-i,x=f*A-g*m,S=(b<0?-1:1)*h(p(0,_*_*w-x*x)),k=(x*b-O*S)/w,C=(-x*O-b*S)/w,B=(x*b+O*S)/w,Q=(-x*O+b*S)/w,T=k-v,E=C-y,P=B-v,$=Q-y;return T*T+E*E>P*P+$*$&&(k=B,C=Q),{cx:k,cy:C,x0:-u,y0:-d,x1:k*(o/_-1),y1:C*(o/_-1)}}var v=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},y=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new v},t.prototype.buildPath=function(e,t){!function(e,t){var n,r=p(t.r,0),o=p(t.r0||0,0),v=r>0;if(v||o>0){if(v||(r=o,o=0),o>r){var y=r;r=o,o=y}var O=t.startAngle,b=t.endAngle;if(!isNaN(O)&&!isNaN(b)){var w=t.cx,_=t.cy,x=!!t.clockwise,S=f(b-O),k=S>s&&S%s;if(k>g&&(S=k),r>g)if(S>s-g)e.moveTo(w+r*c(O),_+r*l(O)),e.arc(w,_,r,O,b,!x),o>g&&(e.moveTo(w+o*c(b),_+o*l(b)),e.arc(w,_,o,b,O,x));else{var C=void 0,B=void 0,Q=void 0,T=void 0,E=void 0,P=void 0,$=void 0,M=void 0,z=void 0,R=void 0,D=void 0,I=void 0,N=void 0,L=void 0,V=void 0,U=void 0,F=r*c(O),H=r*l(O),W=o*c(b),X=o*l(b),j=S>g;if(j){var q=t.cornerRadius;q&&(C=(n=function(e){var t;if((0,i.isArray)(e)){var n=e.length;if(!n)return e;t=1===n?[e[0],e[0],0,0]:2===n?[e[0],e[0],e[1],e[1]]:3===n?e.concat(e[2]):e}else t=[e,e,e,e];return t}(q))[0],B=n[1],Q=n[2],T=n[3]);var Z=f(r-o)/2;if(E=m(Z,Q),P=m(Z,T),$=m(Z,C),M=m(Z,B),D=z=p(E,P),I=R=p($,M),(z>g||R>g)&&(N=r*c(b),L=r*l(b),V=o*c(O),U=o*l(O),S<a)){var Y=function(e,t,n,r,o,i,a,s){var l=n-e,c=r-t,u=a-o,d=s-i,f=d*l-u*c;if(!(f*f<g))return[e+(f=(u*(t-i)-d*(e-o))/f)*l,t+f*c]}(F,H,V,U,N,L,W,X);if(Y){var G=F-Y[0],K=H-Y[1],J=N-Y[0],ee=L-Y[1],te=1/l(u((G*J+K*ee)/(h(G*G+K*K)*h(J*J+ee*ee)))/2),ne=h(Y[0]*Y[0]+Y[1]*Y[1]);D=m(z,(r-ne)/(te+1)),I=m(R,(o-ne)/(te-1))}}}if(j)if(D>g){var re=m(Q,D),oe=m(T,D),ie=A(V,U,F,H,r,re,x),ae=A(N,L,W,X,r,oe,x);e.moveTo(w+ie.cx+ie.x0,_+ie.cy+ie.y0),D<z&&re===oe?e.arc(w+ie.cx,_+ie.cy,D,d(ie.y0,ie.x0),d(ae.y0,ae.x0),!x):(re>0&&e.arc(w+ie.cx,_+ie.cy,re,d(ie.y0,ie.x0),d(ie.y1,ie.x1),!x),e.arc(w,_,r,d(ie.cy+ie.y1,ie.cx+ie.x1),d(ae.cy+ae.y1,ae.cx+ae.x1),!x),oe>0&&e.arc(w+ae.cx,_+ae.cy,oe,d(ae.y1,ae.x1),d(ae.y0,ae.x0),!x))}else e.moveTo(w+F,_+H),e.arc(w,_,r,O,b,!x);else e.moveTo(w+F,_+H);o>g&&j?I>g?(re=m(C,I),ie=A(W,X,N,L,o,-(oe=m(B,I)),x),ae=A(F,H,V,U,o,-re,x),e.lineTo(w+ie.cx+ie.x0,_+ie.cy+ie.y0),I<R&&re===oe?e.arc(w+ie.cx,_+ie.cy,I,d(ie.y0,ie.x0),d(ae.y0,ae.x0),!x):(oe>0&&e.arc(w+ie.cx,_+ie.cy,oe,d(ie.y0,ie.x0),d(ie.y1,ie.x1),!x),e.arc(w,_,o,d(ie.cy+ie.y1,ie.cx+ie.x1),d(ae.cy+ae.y1,ae.cx+ae.x1),x),re>0&&e.arc(w+ae.cx,_+ae.cy,re,d(ae.y1,ae.x1),d(ae.y0,ae.x0),!x))):(e.lineTo(w+W,_+X),e.arc(w,_,o,b,O,x)):e.lineTo(w+W,_+X)}else e.moveTo(w,_);e.closePath()}}}(e,t)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(o.Ay);y.prototype.type="sector";var O=y},59977:function(){!function(){"use strict";var e=function(e){var t=e;return{get:function(){return t},set:function(e){t=e}}},t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},r=tinymce.util.Tools.resolve("tinymce.util.Tools"),o=tinymce.util.Tools.resolve("tinymce.html.DomParser"),i=tinymce.util.Tools.resolve("tinymce.html.Node"),a=tinymce.util.Tools.resolve("tinymce.html.Serializer"),s=function(e){return e.getParam("fullpage_hide_in_source_view")},l=function(e){return e.getParam("fullpage_default_encoding")},c=function(e){return e.getParam("fullpage_default_font_family")},u=function(e){return e.getParam("fullpage_default_font_size")},d=function(e,t){return o({validate:!1,root_name:"#document"},e.schema).parse(t,{format:"xhtml"})},f=r.each,h=function(e){return e.replace(/<\/?[A-Z]+/g,(function(e){return e.toLowerCase()}))},p=function(e){var t,n="",r="";(function(e){return e.getParam("fullpage_default_xml_pi")})(e)&&(n+='<?xml version="1.0" encoding="'+(l(e)||"ISO-8859-1")+'" ?>\n');return n+=function(e){return e.getParam("fullpage_default_doctype","<!DOCTYPE html>")}(e),n+="\n<html>\n<head>\n",(t=function(e){return e.getParam("fullpage_default_title")}(e))&&(n+="<title>"+t+"</title>\n"),(t=l(e))&&(n+='<meta http-equiv="Content-Type" content="text/html; charset='+t+'" />\n'),(t=c(e))&&(r+="font-family: "+t+";"),(t=u(e))&&(r+="font-size: "+t+";"),(t=function(e){return e.getParam("fullpage_default_text_color")}(e))&&(r+="color: "+t+";"),n+"</head>\n<body"+(r?' style="'+r+'"':"")+">\n"};t.add("fullpage",(function(t){var o=e(""),l=e("");!function(e,t){e.addCommand("mceFullPageProperties",(function(){!function(e,t){var o=function(e,t){var n,o,i=d(e,t),a={},s=function(e,t){return e.attr(t)||""};return a.fontface=c(e),a.fontsize=u(e),7===(n=i.firstChild).type&&(a.xml_pi=!0,(o=/encoding="([^"]+)"/.exec(n.value))&&(a.docencoding=o[1])),(n=i.getAll("#doctype")[0])&&(a.doctype="<!DOCTYPE"+n.value+">"),(n=i.getAll("title")[0])&&n.firstChild&&(a.title=n.firstChild.value),r.each(i.getAll("meta"),(function(e){var t,n=e.attr("name"),r=e.attr("http-equiv");n?a[n.toLowerCase()]=e.attr("content"):"Content-Type"===r&&(t=/charset\s*=\s*(.*)\s*/gi.exec(e.attr("content")))&&(a.docencoding=t[1])})),(n=i.getAll("html")[0])&&(a.langcode=s(n,"lang")||s(n,"xml:lang")),a.stylesheets=[],r.each(i.getAll("link"),(function(e){"stylesheet"===e.attr("rel")&&a.stylesheets.push(e.attr("href"))})),(n=i.getAll("body")[0])&&(a.langdir=s(n,"dir"),a.style=s(n,"style"),a.visited_color=s(n,"vlink"),a.link_color=s(n,"link"),a.active_color=s(n,"alink")),a}(e,t.get()),s=n(n({},{title:"",keywords:"",description:"",robots:"",author:"",docencoding:""}),o);e.windowManager.open({title:"Metadata and Document Properties",size:"normal",body:{type:"panel",items:[{name:"title",type:"input",label:"Title"},{name:"keywords",type:"input",label:"Keywords"},{name:"description",type:"input",label:"Description"},{name:"robots",type:"input",label:"Robots"},{name:"author",type:"input",label:"Author"},{name:"docencoding",type:"input",label:"Encoding"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:s,onSubmit:function(n){var s=n.getData(),l=function(e,t,n){var o,s,l=e.dom,c=function(e,t,n){e.attr(t,n||void 0)},u=function(e){o.firstChild?o.insert(e,o.firstChild):o.append(e)},f=d(e,n);if((o=f.getAll("head")[0])||(s=f.getAll("html")[0],o=new i("head",1),s.firstChild?s.insert(o,s.firstChild,!0):s.append(o)),s=f.firstChild,t.xml_pi){var h='version="1.0"';t.docencoding&&(h+=' encoding="'+t.docencoding+'"'),7!==s.type&&(s=new i("xml",7),f.insert(s,f.firstChild,!0)),s.value=h}else s&&7===s.type&&s.remove();s=f.getAll("#doctype")[0],t.doctype?(s||(s=new i("#doctype",10),t.xml_pi?f.insert(s,f.firstChild):u(s)),s.value=t.doctype.substring(9,t.doctype.length-1)):s&&s.remove(),s=null,r.each(f.getAll("meta"),(function(e){"Content-Type"===e.attr("http-equiv")&&(s=e)})),t.docencoding?(s||((s=new i("meta",1)).attr("http-equiv","Content-Type"),s.shortEnded=!0,u(s)),s.attr("content","text/html; charset="+t.docencoding)):s&&s.remove(),s=f.getAll("title")[0],t.title?(s?s.empty():(s=new i("title",1),u(s)),s.append(new i("#text",3)).value=t.title):s&&s.remove(),r.each("keywords,description,author,copyright,robots".split(","),(function(e){var n,r,o=f.getAll("meta"),a=t[e];for(n=0;n<o.length;n++)if((r=o[n]).attr("name")===e)return void(a?r.attr("content",a):r.remove());a&&((s=new i("meta",1)).attr("name",e),s.attr("content",a),s.shortEnded=!0,u(s))}));var p={};r.each(f.getAll("link"),(function(e){"stylesheet"===e.attr("rel")&&(p[e.attr("href")]=e)})),r.each(t.stylesheets,(function(e){p[e]||((s=new i("link",1)).attr({rel:"stylesheet",text:"text/css",href:e}),s.shortEnded=!0,u(s)),delete p[e]})),r.each(p,(function(e){e.remove()})),(s=f.getAll("body")[0])&&(c(s,"dir",t.langdir),c(s,"style",t.style),c(s,"vlink",t.visited_color),c(s,"link",t.link_color),c(s,"alink",t.active_color),l.setAttribs(e.getBody(),{style:t.style,dir:t.dir,vLink:t.visited_color,link:t.link_color,aLink:t.active_color})),(s=f.getAll("html")[0])&&(c(s,"lang",t.langcode),c(s,"xml:lang",t.langcode)),o.firstChild||o.remove();var m=a({validate:!1,indent:!0,indent_before:"head,html,body,meta,title,script,link,style",indent_after:"head,html,body,meta,title,script,link,style"}).serialize(f);return m.substring(0,m.indexOf("</body>"))}(e,r.extend(o,s),t.get());t.set(l),n.close()}})}(e,t)}))}(t,o),function(e){e.ui.registry.addButton("fullpage",{tooltip:"Metadata and document properties",icon:"document-properties",onAction:function(){e.execCommand("mceFullPageProperties")}}),e.ui.registry.addMenuItem("fullpage",{text:"Metadata and document properties",icon:"document-properties",onAction:function(){e.execCommand("mceFullPageProperties")}})}(t),function(e,t,n){e.on("BeforeSetContent",(function(o){!function(e,t,n,o){var i,a,l,c,u,m="",g=e.dom;if(!(o.selection||(c=function(e){return e.getParam("protect")}(e),u=o.content,r.each(c,(function(e){u=u.replace(e,(function(e){return"\x3c!--mce:protected "+escape(e)+"--\x3e"}))})),l=u,"raw"===o.format&&t.get()||o.source_view&&s(e)))){0!==l.length||o.source_view||(l=r.trim(t.get())+"\n"+r.trim(l)+"\n"+r.trim(n.get())),-1!==(i=(l=l.replace(/<(\/?)BODY/gi,"<$1body")).indexOf("<body"))?(i=l.indexOf(">",i),t.set(h(l.substring(0,i+1))),-1===(a=l.indexOf("</body",i))&&(a=l.length),o.content=r.trim(l.substring(i+1,a)),n.set(h(l.substring(a)))):(t.set(p(e)),n.set("\n</body>\n</html>"));var A=d(e,t.get());f(A.getAll("style"),(function(e){e.firstChild&&(m+=e.firstChild.value)}));var v=A.getAll("body")[0];v&&g.setAttribs(e.getBody(),{style:v.attr("style")||"",dir:v.attr("dir")||"",vLink:v.attr("vlink")||"",link:v.attr("link")||"",aLink:v.attr("alink")||""}),g.remove("fullpage_styles");var y=e.getDoc().getElementsByTagName("head")[0];m&&g.add(y,"style",{id:"fullpage_styles"}).appendChild(document.createTextNode(m));var O={};r.each(y.getElementsByTagName("link"),(function(e){"stylesheet"===e.rel&&e.getAttribute("data-mce-fullpage")&&(O[e.href]=e)})),r.each(A.getAll("link"),(function(e){var t=e.attr("href");if(!t)return!0;O[t]||"stylesheet"!==e.attr("rel")||g.add(y,"link",{rel:"stylesheet",text:"text/css",href:t,"data-mce-fullpage":"1"}),delete O[t]})),r.each(O,(function(e){e.parentNode.removeChild(e)}))}}(e,t,n,o)})),e.on("GetContent",(function(o){!function(e,t,n,o){"html"!==o.format||o.selection||o.source_view&&s(e)||(o.content=(r.trim(t)+"\n"+r.trim(o.content)+"\n"+r.trim(n)).replace(/<!--mce:protected ([\s\S]*?)-->/g,(function(e,t){return unescape(t)})))}(e,t.get(),n.get(),o)}))}(t,o,l)}))}()},59988:function(e,t,n){var r=n(92360)(parseFloat);e.exports=r},60501:function(e,t,n){"use strict";var r=function(e){this.value=e},o=function(){function e(){this._len=0}return e.prototype.insert=function(e){var t=new r(e);return this.insertEntry(t),t},e.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},e.prototype.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),i=function(){function e(e){this._list=new o,this._maxSize=10,this._map={},this._maxSize=e}return e.prototype.put=function(e,t){var n=this._list,o=this._map,i=null;if(null==o[e]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete o[l.key],i=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new r(t),s.key=e,n.insertEntry(s),o[e]=s}return i},e.prototype.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();t.Ay=i},60843:function(e,t,n){var r=n(2801),o=n(10906);e.exports=function(e){return r(e)||o(e)}},61249:function(e){e.exports=/(.+)?\[(\d+)\]$/},61422:function(e,t,n){var r=n(1769),o=n(71797),i=n(51815);e.exports=function(){if(r){var e=r.pathname,t=i(e,"/")+1;return o()+(t===e.length?e:e.substring(0,t))}return""}},61431:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseTransition:function(){return sn},BaseTransitionPropsValidators:function(){return rn},Comment:function(){return ai},DeprecationTypes:function(){return ya},EffectScope:function(){return s},ErrorCodes:function(){return ut},ErrorTypeStrings:function(){return ha},Fragment:function(){return oi},KeepAlive:function(){return Vn},ReactiveEffect:function(){return f},Static:function(){return si},Suspense:function(){return Ko},Teleport:function(){return Yt},Text:function(){return ii},TrackOpTypes:function(){return Ye},Transition:function(){return Ea},TransitionGroup:function(){return ks},TriggerOpTypes:function(){return Ge},VueElement:function(){return vs},assertNumber:function(){return ct},callWithAsyncErrorHandling:function(){return ft},callWithErrorHandling:function(){return dt},camelize:function(){return o.PT},capitalize:function(){return o.ZH},cloneVNode:function(){return ki},compatUtils:function(){return va},compile:function(){return Kd},computed:function(){return aa},createApp:function(){return rl},createBlock:function(){return Ai},createCommentVNode:function(){return Qi},createElementBlock:function(){return gi},createElementVNode:function(){return _i},createHydrationRenderer:function(){return _o},createPropsRestProxy:function(){return Ir},createRenderer:function(){return wo},createSSRApp:function(){return ol},createSlots:function(){return gr},createStaticVNode:function(){return Bi},createTextVNode:function(){return Ci},createVNode:function(){return xi},customRef:function(){return Fe},defineAsyncComponent:function(){return In},defineComponent:function(){return pn},defineCustomElement:function(){return ms},defineEmits:function(){return kr},defineExpose:function(){return Cr},defineModel:function(){return Tr},defineOptions:function(){return Br},defineProps:function(){return Sr},defineSSRCustomElement:function(){return gs},defineSlots:function(){return Qr},devtools:function(){return pa},effect:function(){return S},effectScope:function(){return l},getCurrentInstance:function(){return Ni},getCurrentScope:function(){return c},getCurrentWatcher:function(){return tt},getTransitionRawChildren:function(){return hn},guardReactiveProps:function(){return Si},h:function(){return sa},handleError:function(){return ht},hasInjectionContext:function(){return ro},hydrate:function(){return nl},hydrateOnIdle:function(){return $n},hydrateOnInteraction:function(){return Rn},hydrateOnMediaQuery:function(){return zn},hydrateOnVisible:function(){return Mn},initCustomFormatter:function(){return la},initDirectivesForSSR:function(){return ll},inject:function(){return no},isMemoSame:function(){return ua},isProxy:function(){return Ce},isReactive:function(){return xe},isReadonly:function(){return Se},isRef:function(){return Pe},isRuntimeOnly:function(){return Gi},isShallow:function(){return ke},isVNode:function(){return vi},markRaw:function(){return Qe},mergeDefaults:function(){return Rr},mergeModels:function(){return Dr},mergeProps:function(){return $i},nextTick:function(){return bt},normalizeClass:function(){return o.C4},normalizeProps:function(){return o._B},normalizeStyle:function(){return o.Tr},onActivated:function(){return Fn},onBeforeMount:function(){return Gn},onBeforeUnmount:function(){return tr},onBeforeUpdate:function(){return Jn},onDeactivated:function(){return Hn},onErrorCaptured:function(){return ar},onMounted:function(){return Kn},onRenderTracked:function(){return ir},onRenderTriggered:function(){return or},onScopeDispose:function(){return u},onServerPrefetch:function(){return rr},onUnmounted:function(){return nr},onUpdated:function(){return er},onWatcherCleanup:function(){return nt},openBlock:function(){return ui},popScopeId:function(){return Rt},provide:function(){return to},proxyRefs:function(){return Ve},pushScopeId:function(){return zt},queuePostFlushCb:function(){return xt},reactive:function(){return ye},readonly:function(){return be},ref:function(){return $e},registerRuntimeCompiler:function(){return Yi},render:function(){return tl},renderList:function(){return mr},renderSlot:function(){return Ar},resolveComponent:function(){return cr},resolveDirective:function(){return fr},resolveDynamicComponent:function(){return dr},resolveFilter:function(){return Aa},resolveTransitionHooks:function(){return cn},setBlockTracking:function(){return pi},setDevtoolsHook:function(){return ma},setTransitionHooks:function(){return fn},shallowReactive:function(){return Oe},shallowReadonly:function(){return we},shallowRef:function(){return Me},ssrContextKey:function(){return Eo},ssrUtils:function(){return ga},stop:function(){return k},toDisplayString:function(){return o.v_},toHandlerKey:function(){return o.rU},toHandlers:function(){return yr},toRaw:function(){return Be},toRef:function(){return je},toRefs:function(){return He},toValue:function(){return Ne},transformVNodeArgs:function(){return Oi},triggerRef:function(){return De},unref:function(){return Ie},useAttrs:function(){return $r},useCssModule:function(){return bs},useCssVars:function(){return Ya},useHost:function(){return ys},useId:function(){return mn},useModel:function(){return Lo},useSSRContext:function(){return Po},useShadowRoot:function(){return Os},useSlots:function(){return Pr},useTemplateRef:function(){return An},useTransitionState:function(){return tn},vModelCheckbox:function(){return zs},vModelDynamic:function(){return Us},vModelRadio:function(){return Ds},vModelSelect:function(){return Is},vModelText:function(){return Ms},vShow:function(){return ja},version:function(){return da},warn:function(){return fa},watch:function(){return Ro},watchEffect:function(){return $o},watchPostEffect:function(){return Mo},watchSyncEffect:function(){return zo},withAsyncContext:function(){return Nr},withCtx:function(){return It},withDefaults:function(){return Er},withDirectives:function(){return Nt},withKeys:function(){return Zs},withMemo:function(){return ca},withModifiers:function(){return js},withScopeId:function(){return Dt}});var r={};n.r(r),n.d(r,{BaseTransition:function(){return sn},BaseTransitionPropsValidators:function(){return rn},Comment:function(){return ai},DeprecationTypes:function(){return ya},EffectScope:function(){return s},ErrorCodes:function(){return ut},ErrorTypeStrings:function(){return ha},Fragment:function(){return oi},KeepAlive:function(){return Vn},ReactiveEffect:function(){return f},Static:function(){return si},Suspense:function(){return Ko},Teleport:function(){return Yt},Text:function(){return ii},TrackOpTypes:function(){return Ye},Transition:function(){return Ea},TransitionGroup:function(){return ks},TriggerOpTypes:function(){return Ge},VueElement:function(){return vs},assertNumber:function(){return ct},callWithAsyncErrorHandling:function(){return ft},callWithErrorHandling:function(){return dt},camelize:function(){return o.PT},capitalize:function(){return o.ZH},cloneVNode:function(){return ki},compatUtils:function(){return va},computed:function(){return aa},createApp:function(){return rl},createBlock:function(){return Ai},createCommentVNode:function(){return Qi},createElementBlock:function(){return gi},createElementVNode:function(){return _i},createHydrationRenderer:function(){return _o},createPropsRestProxy:function(){return Ir},createRenderer:function(){return wo},createSSRApp:function(){return ol},createSlots:function(){return gr},createStaticVNode:function(){return Bi},createTextVNode:function(){return Ci},createVNode:function(){return xi},customRef:function(){return Fe},defineAsyncComponent:function(){return In},defineComponent:function(){return pn},defineCustomElement:function(){return ms},defineEmits:function(){return kr},defineExpose:function(){return Cr},defineModel:function(){return Tr},defineOptions:function(){return Br},defineProps:function(){return Sr},defineSSRCustomElement:function(){return gs},defineSlots:function(){return Qr},devtools:function(){return pa},effect:function(){return S},effectScope:function(){return l},getCurrentInstance:function(){return Ni},getCurrentScope:function(){return c},getCurrentWatcher:function(){return tt},getTransitionRawChildren:function(){return hn},guardReactiveProps:function(){return Si},h:function(){return sa},handleError:function(){return ht},hasInjectionContext:function(){return ro},hydrate:function(){return nl},hydrateOnIdle:function(){return $n},hydrateOnInteraction:function(){return Rn},hydrateOnMediaQuery:function(){return zn},hydrateOnVisible:function(){return Mn},initCustomFormatter:function(){return la},initDirectivesForSSR:function(){return ll},inject:function(){return no},isMemoSame:function(){return ua},isProxy:function(){return Ce},isReactive:function(){return xe},isReadonly:function(){return Se},isRef:function(){return Pe},isRuntimeOnly:function(){return Gi},isShallow:function(){return ke},isVNode:function(){return vi},markRaw:function(){return Qe},mergeDefaults:function(){return Rr},mergeModels:function(){return Dr},mergeProps:function(){return $i},nextTick:function(){return bt},normalizeClass:function(){return o.C4},normalizeProps:function(){return o._B},normalizeStyle:function(){return o.Tr},onActivated:function(){return Fn},onBeforeMount:function(){return Gn},onBeforeUnmount:function(){return tr},onBeforeUpdate:function(){return Jn},onDeactivated:function(){return Hn},onErrorCaptured:function(){return ar},onMounted:function(){return Kn},onRenderTracked:function(){return ir},onRenderTriggered:function(){return or},onScopeDispose:function(){return u},onServerPrefetch:function(){return rr},onUnmounted:function(){return nr},onUpdated:function(){return er},onWatcherCleanup:function(){return nt},openBlock:function(){return ui},popScopeId:function(){return Rt},provide:function(){return to},proxyRefs:function(){return Ve},pushScopeId:function(){return zt},queuePostFlushCb:function(){return xt},reactive:function(){return ye},readonly:function(){return be},ref:function(){return $e},registerRuntimeCompiler:function(){return Yi},render:function(){return tl},renderList:function(){return mr},renderSlot:function(){return Ar},resolveComponent:function(){return cr},resolveDirective:function(){return fr},resolveDynamicComponent:function(){return dr},resolveFilter:function(){return Aa},resolveTransitionHooks:function(){return cn},setBlockTracking:function(){return pi},setDevtoolsHook:function(){return ma},setTransitionHooks:function(){return fn},shallowReactive:function(){return Oe},shallowReadonly:function(){return we},shallowRef:function(){return Me},ssrContextKey:function(){return Eo},ssrUtils:function(){return ga},stop:function(){return k},toDisplayString:function(){return o.v_},toHandlerKey:function(){return o.rU},toHandlers:function(){return yr},toRaw:function(){return Be},toRef:function(){return je},toRefs:function(){return He},toValue:function(){return Ne},transformVNodeArgs:function(){return Oi},triggerRef:function(){return De},unref:function(){return Ie},useAttrs:function(){return $r},useCssModule:function(){return bs},useCssVars:function(){return Ya},useHost:function(){return ys},useId:function(){return mn},useModel:function(){return Lo},useSSRContext:function(){return Po},useShadowRoot:function(){return Os},useSlots:function(){return Pr},useTemplateRef:function(){return An},useTransitionState:function(){return tn},vModelCheckbox:function(){return zs},vModelDynamic:function(){return Us},vModelRadio:function(){return Ds},vModelSelect:function(){return Is},vModelText:function(){return Ms},vShow:function(){return ja},version:function(){return da},warn:function(){return fa},watch:function(){return Ro},watchEffect:function(){return $o},watchPostEffect:function(){return Mo},watchSyncEffect:function(){return zo},withAsyncContext:function(){return Nr},withCtx:function(){return It},withDefaults:function(){return Er},withDirectives:function(){return Nt},withKeys:function(){return Zs},withMemo:function(){return ca},withModifiers:function(){return js},withScopeId:function(){return Dt}});var o=n(90033);let i,a;class s{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=i,!e&&i&&(this.index=(i.scopes||(i.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=i;try{return i=this,e()}finally{i=t}}}on(){i=this}off(){i=this.parent}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function l(e){return new s(e)}function c(){return i}function u(e,t=!1){i&&i.cleanups.push(e)}const d=new WeakSet;class f{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,i&&i.active&&i.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,d.has(this)&&(d.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||g(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,E(this),y(this);const e=a,t=C;a=this,C=!0;try{return this.fn()}finally{O(this),a=e,C=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)_(e);this.deps=this.depsTail=void 0,E(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?d.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){b(this)&&this.run()}get dirty(){return b(this)}}let h,p,m=0;function g(e,t=!1){if(e.flags|=8,t)return e.next=p,void(p=e);e.next=h,h=e}function A(){m++}function v(){if(--m>0)return;if(p){let e=p;for(p=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;h;){let t=h;for(h=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}function y(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function O(e){let t,n=e.depsTail,r=n;for(;r;){const e=r.prevDep;-1===r.version?(r===n&&(n=e),_(r),x(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function b(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(w(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function w(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===P)return;e.globalVersion=P;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!b(e))return void(e.flags&=-3);const n=a,r=C;a=e,C=!0;try{y(e);const n=e.fn(e._value);(0===t.version||(0,o.$H)(n,e._value))&&(e._value=n,t.version++)}catch(e){throw t.version++,e}finally{a=n,C=r,O(e),e.flags&=-3}}function _(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)_(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function x(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function S(e,t){e.effect instanceof f&&(e=e.effect.fn);const n=new f(e);t&&(0,o.X$)(n,t);try{n.run()}catch(e){throw n.stop(),e}const r=n.run.bind(n);return r.effect=n,r}function k(e){e.effect.stop()}let C=!0;const B=[];function Q(){B.push(C),C=!1}function T(){const e=B.pop();C=void 0===e||e}function E(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=a;a=void 0;try{t()}finally{a=e}}}let P=0;class ${constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class M{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!a||!C||a===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==a)t=this.activeLink=new $(a,this),a.deps?(t.prevDep=a.depsTail,a.depsTail.nextDep=t,a.depsTail=t):a.deps=a.depsTail=t,z(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=a.depsTail,t.nextDep=void 0,a.depsTail.nextDep=t,a.depsTail=t,a.deps===t&&(a.deps=e)}return t}trigger(e){this.version++,P++,this.notify(e)}notify(e){A();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{v()}}}function z(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)z(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const R=new WeakMap,D=Symbol(""),I=Symbol(""),N=Symbol("");function L(e,t,n){if(C&&a){let t=R.get(e);t||R.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new M),r.map=t,r.key=n),r.track()}}function V(e,t,n,r,i,a){const s=R.get(e);if(!s)return void P++;const l=e=>{e&&e.trigger()};if(A(),"clear"===t)s.forEach(l);else{const i=(0,o.cy)(e),a=i&&(0,o.yI)(n);if(i&&"length"===n){const e=Number(r);s.forEach(((t,n)=>{("length"===n||n===N||!(0,o.Bm)(n)&&n>=e)&&l(t)}))}else switch((void 0!==n||s.has(void 0))&&l(s.get(n)),a&&l(s.get(N)),t){case"add":i?a&&l(s.get("length")):(l(s.get(D)),(0,o.CE)(e)&&l(s.get(I)));break;case"delete":i||(l(s.get(D)),(0,o.CE)(e)&&l(s.get(I)));break;case"set":(0,o.CE)(e)&&l(s.get(D))}}v()}function U(e){const t=Be(e);return t===e?t:(L(t,0,N),ke(e)?t:t.map(Te))}function F(e){return L(e=Be(e),0,N),e}const H={__proto__:null,[Symbol.iterator](){return W(this,Symbol.iterator,Te)},concat(...e){return U(this).concat(...e.map((e=>(0,o.cy)(e)?U(e):e)))},entries(){return W(this,"entries",(e=>(e[1]=Te(e[1]),e)))},every(e,t){return j(this,"every",e,t,void 0,arguments)},filter(e,t){return j(this,"filter",e,t,(e=>e.map(Te)),arguments)},find(e,t){return j(this,"find",e,t,Te,arguments)},findIndex(e,t){return j(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return j(this,"findLast",e,t,Te,arguments)},findLastIndex(e,t){return j(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return j(this,"forEach",e,t,void 0,arguments)},includes(...e){return Z(this,"includes",e)},indexOf(...e){return Z(this,"indexOf",e)},join(e){return U(this).join(e)},lastIndexOf(...e){return Z(this,"lastIndexOf",e)},map(e,t){return j(this,"map",e,t,void 0,arguments)},pop(){return Y(this,"pop")},push(...e){return Y(this,"push",e)},reduce(e,...t){return q(this,"reduce",e,t)},reduceRight(e,...t){return q(this,"reduceRight",e,t)},shift(){return Y(this,"shift")},some(e,t){return j(this,"some",e,t,void 0,arguments)},splice(...e){return Y(this,"splice",e)},toReversed(){return U(this).toReversed()},toSorted(e){return U(this).toSorted(e)},toSpliced(...e){return U(this).toSpliced(...e)},unshift(...e){return Y(this,"unshift",e)},values(){return W(this,"values",Te)}};function W(e,t,n){const r=F(e),o=r[t]();return r===e||ke(e)||(o._next=o.next,o.next=()=>{const e=o._next();return e.value&&(e.value=n(e.value)),e}),o}const X=Array.prototype;function j(e,t,n,r,o,i){const a=F(e),s=a!==e&&!ke(e),l=a[t];if(l!==X[t]){const t=l.apply(e,i);return s?Te(t):t}let c=n;a!==e&&(s?c=function(t,r){return n.call(this,Te(t),r,e)}:n.length>2&&(c=function(t,r){return n.call(this,t,r,e)}));const u=l.call(a,c,r);return s&&o?o(u):u}function q(e,t,n,r){const o=F(e);let i=n;return o!==e&&(ke(e)?n.length>3&&(i=function(t,r,o){return n.call(this,t,r,o,e)}):i=function(t,r,o){return n.call(this,t,Te(r),o,e)}),o[t](i,...r)}function Z(e,t,n){const r=Be(e);L(r,0,N);const o=r[t](...n);return-1!==o&&!1!==o||!Ce(n[0])?o:(n[0]=Be(n[0]),r[t](...n))}function Y(e,t,n=[]){Q(),A();const r=Be(e)[t].apply(e,n);return v(),T(),r}const G=(0,o.pD)("__proto__,__v_isRef,__isVue"),K=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(o.Bm));function J(e){(0,o.Bm)(e)||(e=String(e));const t=Be(this);return L(t,0,e),t.hasOwnProperty(e)}class ee{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const r=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(r?i?ve:Ae:i?ge:me).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const a=(0,o.cy)(e);if(!r){let e;if(a&&(e=H[t]))return e;if("hasOwnProperty"===t)return J}const s=Reflect.get(e,t,Pe(e)?e:n);return((0,o.Bm)(t)?K.has(t):G(t))?s:(r||L(e,0,t),i?s:Pe(s)?a&&(0,o.yI)(t)?s:s.value:(0,o.Gv)(s)?r?be(s):ye(s):s)}}class te extends ee{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t];if(!this._isShallow){const t=Se(i);if(ke(n)||Se(n)||(i=Be(i),n=Be(n)),!(0,o.cy)(e)&&Pe(i)&&!Pe(n))return!t&&(i.value=n,!0)}const a=(0,o.cy)(e)&&(0,o.yI)(t)?Number(t)<e.length:(0,o.$3)(e,t),s=Reflect.set(e,t,n,Pe(e)?e:r);return e===Be(r)&&(a?(0,o.$H)(n,i)&&V(e,"set",t,n):V(e,"add",t,n)),s}deleteProperty(e,t){const n=(0,o.$3)(e,t),r=(e[t],Reflect.deleteProperty(e,t));return r&&n&&V(e,"delete",t,void 0),r}has(e,t){const n=Reflect.has(e,t);return(0,o.Bm)(t)&&K.has(t)||L(e,0,t),n}ownKeys(e){return L(e,0,(0,o.cy)(e)?"length":D),Reflect.ownKeys(e)}}class ne extends ee{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const re=new te,oe=new ne,ie=new te(!0),ae=new ne(!0),se=e=>e,le=e=>Reflect.getPrototypeOf(e);function ce(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function ue(e,t){const n=function(e,t){const n={get(n){const r=this.__v_raw,i=Be(r),a=Be(n);e||((0,o.$H)(n,a)&&L(i,0,n),L(i,0,a));const{has:s}=le(i),l=t?se:e?Ee:Te;return s.call(i,n)?l(r.get(n)):s.call(i,a)?l(r.get(a)):void(r!==i&&r.get(n))},get size(){const t=this.__v_raw;return!e&&L(Be(t),0,D),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,r=Be(n),i=Be(t);return e||((0,o.$H)(t,i)&&L(r,0,t),L(r,0,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){const o=this,i=o.__v_raw,a=Be(i),s=t?se:e?Ee:Te;return!e&&L(a,0,D),i.forEach(((e,t)=>n.call(r,s(e),s(t),o)))}};return(0,o.X$)(n,e?{add:ce("add"),set:ce("set"),delete:ce("delete"),clear:ce("clear")}:{add(e){t||ke(e)||Se(e)||(e=Be(e));const n=Be(this);return le(n).has.call(n,e)||(n.add(e),V(n,"add",e,e)),this},set(e,n){t||ke(n)||Se(n)||(n=Be(n));const r=Be(this),{has:i,get:a}=le(r);let s=i.call(r,e);s||(e=Be(e),s=i.call(r,e));const l=a.call(r,e);return r.set(e,n),s?(0,o.$H)(n,l)&&V(r,"set",e,n):V(r,"add",e,n),this},delete(e){const t=Be(this),{has:n,get:r}=le(t);let o=n.call(t,e);o||(e=Be(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&V(t,"delete",e,void 0),i},clear(){const e=Be(this),t=0!==e.size,n=e.clear();return t&&V(e,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach((r=>{n[r]=function(e,t,n){return function(...r){const i=this.__v_raw,a=Be(i),s=(0,o.CE)(a),l="entries"===e||e===Symbol.iterator&&s,c="keys"===e&&s,u=i[e](...r),d=n?se:t?Ee:Te;return!t&&L(a,0,c?I:D),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}(r,e,t)})),n}(e,t);return(t,r,i)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get((0,o.$3)(n,r)&&r in t?n:t,r,i)}const de={get:ue(!1,!1)},fe={get:ue(!1,!0)},he={get:ue(!0,!1)},pe={get:ue(!0,!0)},me=new WeakMap,ge=new WeakMap,Ae=new WeakMap,ve=new WeakMap;function ye(e){return Se(e)?e:_e(e,!1,re,de,me)}function Oe(e){return _e(e,!1,ie,fe,ge)}function be(e){return _e(e,!0,oe,he,Ae)}function we(e){return _e(e,!0,ae,pe,ve)}function _e(e,t,n,r,i){if(!(0,o.Gv)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const s=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((0,o.Zf)(l));var l;if(0===s)return e;const c=new Proxy(e,2===s?r:n);return i.set(e,c),c}function xe(e){return Se(e)?xe(e.__v_raw):!(!e||!e.__v_isReactive)}function Se(e){return!(!e||!e.__v_isReadonly)}function ke(e){return!(!e||!e.__v_isShallow)}function Ce(e){return!!e&&!!e.__v_raw}function Be(e){const t=e&&e.__v_raw;return t?Be(t):e}function Qe(e){return!(0,o.$3)(e,"__v_skip")&&Object.isExtensible(e)&&(0,o.yQ)(e,"__v_skip",!0),e}const Te=e=>(0,o.Gv)(e)?ye(e):e,Ee=e=>(0,o.Gv)(e)?be(e):e;function Pe(e){return!!e&&!0===e.__v_isRef}function $e(e){return ze(e,!1)}function Me(e){return ze(e,!0)}function ze(e,t){return Pe(e)?e:new Re(e,t)}class Re{constructor(e,t){this.dep=new M,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Be(e),this._value=t?e:Te(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||ke(e)||Se(e);e=n?e:Be(e),(0,o.$H)(e,t)&&(this._rawValue=e,this._value=n?e:Te(e),this.dep.trigger())}}function De(e){e.dep&&e.dep.trigger()}function Ie(e){return Pe(e)?e.value:e}function Ne(e){return(0,o.Tn)(e)?e():Ie(e)}const Le={get:(e,t,n)=>"__v_raw"===t?e:Ie(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Pe(o)&&!Pe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Ve(e){return xe(e)?e:new Proxy(e,Le)}class Ue{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new M,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function Fe(e){return new Ue(e)}function He(e){const t=(0,o.cy)(e)?new Array(e.length):{};for(const n in e)t[n]=qe(e,n);return t}class We{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=R.get(e);return n&&n.get(t)}(Be(this._object),this._key)}}class Xe{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function je(e,t,n){return Pe(e)?e:(0,o.Tn)(e)?new Xe(e):(0,o.Gv)(e)&&arguments.length>1?qe(e,t,n):$e(e)}function qe(e,t,n){const r=e[t];return Pe(r)?r:new We(e,t,n)}class Ze{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new M(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=P-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||a===this))return g(this,!0),!0}get value(){const e=this.dep.track();return w(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const Ye={GET:"get",HAS:"has",ITERATE:"iterate"},Ge={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Ke={},Je=new WeakMap;let et;function tt(){return et}function nt(e,t=!1,n=et){if(n){let t=Je.get(n);t||Je.set(n,t=[]),t.push(e)}}function rt(e,t=1/0,n){if(t<=0||!(0,o.Gv)(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Pe(e))rt(e.value,t,n);else if((0,o.cy)(e))for(let r=0;r<e.length;r++)rt(e[r],t,n);else if((0,o.vM)(e)||(0,o.CE)(e))e.forEach((e=>{rt(e,t,n)}));else if((0,o.Qd)(e)){for(const r in e)rt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&rt(e[r],t,n)}return e}const ot=[];let it=!1;function at(e,...t){if(it)return;it=!0,Q();const n=ot.length?ot[ot.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=function(){let e=ot[ot.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}();if(r)dt(r,n,11,[e+t.map((e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)})).join(""),n&&n.proxy,o.map((({vnode:e})=>`at <${ia(n,e.type)}>`)).join("\n"),o]);else{const n=[`[Vue warn]: ${e}`,...t];o.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=!!e.component&&null==e.component.parent,o=` at <${ia(e.component,e.type,r)}`,i=">"+n;return e.props?[o,...st(e.props),i]:[o+i]}(e))})),t}(o)),console.warn(...n)}T(),it=!1}function st(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...lt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function lt(e,t,n){return(0,o.Kg)(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Pe(t)?(t=lt(e,Be(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):(0,o.Tn)(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Be(t),n?t:[`${e}=`,t])}function ct(e,t){}const ut={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"};function dt(e,t,n,r){try{return r?e(...r):e()}catch(e){ht(e,t,n)}}function ft(e,t,n,r){if((0,o.Tn)(e)){const i=dt(e,t,n,r);return i&&(0,o.yL)(i)&&i.catch((e=>{ht(e,t,n)})),i}if((0,o.cy)(e)){const o=[];for(let i=0;i<e.length;i++)o.push(ft(e[i],t,n,r));return o}}function ht(e,t,n,r=!0){t&&t.vnode;const{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||o.MZ;if(t){let r=t.parent;const o=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,a))return;r=r.parent}if(i)return Q(),dt(i,null,10,[e,o,a]),void T()}!function(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}(e,0,0,r,a)}const pt=[];let mt=-1;const gt=[];let At=null,vt=0;const yt=Promise.resolve();let Ot=null;function bt(e){const t=Ot||yt;return e?t.then(this?e.bind(this):e):t}function wt(e){if(!(1&e.flags)){const t=Ct(e),n=pt[pt.length-1];!n||!(2&e.flags)&&t>=Ct(n)?pt.push(e):pt.splice(function(e){let t=mt+1,n=pt.length;for(;t<n;){const r=t+n>>>1,o=pt[r],i=Ct(o);i<e||i===e&&2&o.flags?t=r+1:n=r}return t}(t),0,e),e.flags|=1,_t()}}function _t(){Ot||(Ot=yt.then(Bt))}function xt(e){(0,o.cy)(e)?gt.push(...e):At&&-1===e.id?At.splice(vt+1,0,e):1&e.flags||(gt.push(e),e.flags|=1),_t()}function St(e,t,n=mt+1){for(;n<pt.length;n++){const t=pt[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;pt.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function kt(e){if(gt.length){const e=[...new Set(gt)].sort(((e,t)=>Ct(e)-Ct(t)));if(gt.length=0,At)return void At.push(...e);for(At=e,vt=0;vt<At.length;vt++){const e=At[vt];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}At=null,vt=0}}const Ct=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Bt(e){o.tE;try{for(mt=0;mt<pt.length;mt++){const e=pt[mt];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),dt(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;mt<pt.length;mt++){const e=pt[mt];e&&(e.flags&=-2)}mt=-1,pt.length=0,kt(),Ot=null,(pt.length||gt.length)&&Bt(e)}}let Qt,Tt=[],Et=!1,Pt=null,$t=null;function Mt(e){const t=Pt;return Pt=e,$t=e&&e.type.__scopeId||null,t}function zt(e){$t=e}function Rt(){$t=null}const Dt=e=>It;function It(e,t=Pt,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&pi(-1);const o=Mt(t);let i;try{i=e(...n)}finally{Mt(o),r._d&&pi(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Nt(e,t){if(null===Pt)return e;const n=ta(Pt),r=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[i,a,s,l=o.MZ]=t[e];i&&((0,o.Tn)(i)&&(i={mounted:i,updated:i}),i.deep&&rt(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:s,modifiers:l}))}return e}function Lt(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let a=0;a<o.length;a++){const s=o[a];i&&(s.oldValue=i[a].value);let l=s.dir[r];l&&(Q(),ft(l,n,8,[e.el,s,e,t]),T())}}const Vt=Symbol("_vte"),Ut=e=>e.__isTeleport,Ft=e=>e&&(e.disabled||""===e.disabled),Ht=e=>e&&(e.defer||""===e.defer),Wt=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Xt=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,jt=(e,t)=>{const n=e&&e.to;return(0,o.Kg)(n)?t?t(n):null:n},qt={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,a,s,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:m,createComment:g}}=c,A=Ft(t.props);let{shapeFlag:v,children:y,dynamicChildren:O}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");h(e,n,r),h(c,n,r);const d=(e,t)=>{16&v&&(o&&o.isCE&&(o.ce._teleportTarget=e),u(y,e,t,o,i,a,s,l))},f=()=>{const e=t.target=jt(t.props,p),n=Kt(e,t,m,h);e&&("svg"!==a&&Wt(e)?a="svg":"mathml"!==a&&Xt(e)&&(a="mathml"),A||(d(e,n),Gt(t,!1)))};A&&(d(n,c),Gt(t,!0)),Ht(t.props)?bo((()=>{f(),t.el.__isMounted=!0}),i):f()}else{if(Ht(t.props)&&!e.el.__isMounted)return void bo((()=>{qt.process(e,t,n,r,o,i,a,s,l,c),delete e.el.__isMounted}),i);t.el=e.el,t.targetStart=e.targetStart;const u=t.anchor=e.anchor,h=t.target=e.target,m=t.targetAnchor=e.targetAnchor,g=Ft(e.props),v=g?n:h,y=g?u:m;if("svg"===a||Wt(h)?a="svg":("mathml"===a||Xt(h))&&(a="mathml"),O?(f(e.dynamicChildren,O,v,o,i,a,s),Bo(e,t,!0)):l||d(e,t,v,y,o,i,a,s,!1),A)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Zt(t,n,u,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=jt(t.props,p);e&&Zt(t,e,null,c,0)}else g&&Zt(t,h,m,c,1);Gt(t,A)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:a,children:s,anchor:l,targetStart:c,targetAnchor:u,target:d,props:f}=e;if(d&&(o(c),o(u)),i&&o(l),16&a){const e=i||!Ft(f);for(let o=0;o<s.length;o++){const i=s[o];r(i,t,n,e,!!i.dynamicChildren)}}},move:Zt,hydrate:function(e,t,n,r,o,i,{o:{nextSibling:a,parentNode:s,querySelector:l,insert:c,createText:u}},d){const f=t.target=jt(t.props,l);if(f){const l=Ft(t.props),h=f._lpa||f.firstChild;if(16&t.shapeFlag)if(l)t.anchor=d(a(e),t,s(e),n,r,o,i),t.targetStart=h,t.targetAnchor=h&&a(h);else{t.anchor=a(e);let s=h;for(;s;){if(s&&8===s.nodeType)if("teleport start anchor"===s.data)t.targetStart=s;else if("teleport anchor"===s.data){t.targetAnchor=s,f._lpa=t.targetAnchor&&a(t.targetAnchor);break}s=a(s)}t.targetAnchor||Kt(f,t,u,c),d(h&&a(h),t,f,n,r,o,i)}Gt(t,l)}return t.anchor&&a(t.anchor)}};function Zt(e,t,n,{o:{insert:r},m:o},i=2){0===i&&r(e.targetAnchor,t,n);const{el:a,anchor:s,shapeFlag:l,children:c,props:u}=e,d=2===i;if(d&&r(a,t,n),(!d||Ft(u))&&16&l)for(let e=0;e<c.length;e++)o(c[e],t,n,2);d&&r(s,t,n)}const Yt=qt;function Gt(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)1===r.nodeType&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Kt(e,t,n,r){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[Vt]=i,e&&(r(o,e),r(i,e)),i}const Jt=Symbol("_leaveCb"),en=Symbol("_enterCb");function tn(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Kn((()=>{e.isMounted=!0})),tr((()=>{e.isUnmounting=!0})),e}const nn=[Function,Array],rn={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:nn,onEnter:nn,onAfterEnter:nn,onEnterCancelled:nn,onBeforeLeave:nn,onLeave:nn,onAfterLeave:nn,onLeaveCancelled:nn,onBeforeAppear:nn,onAppear:nn,onAfterAppear:nn,onAppearCancelled:nn},on=e=>{const t=e.subTree;return t.component?on(t.component):t};function an(e){let t=e[0];if(e.length>1){let n=!1;for(const r of e)if(r.type!==ai){t=r,n=!0;break}}return t}const sn={name:"BaseTransition",props:rn,setup(e,{slots:t}){const n=Ni(),r=tn();return()=>{const o=t.default&&hn(t.default(),!0);if(!o||!o.length)return;const i=an(o),a=Be(e),{mode:s}=a;if(r.isLeaving)return un(i);const l=dn(i);if(!l)return un(i);let c=cn(l,a,r,n,(e=>c=e));l.type!==ai&&fn(l,c);let u=n.subTree&&dn(n.subTree);if(u&&u.type!==ai&&!yi(l,u)&&on(n).type!==ai){let e=cn(u,a,r,n);if(fn(u,e),"out-in"===s&&l.type!==ai)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},un(i);"in-out"===s&&l.type!==ai?e.delayLeave=(e,t,n)=>{ln(r,u)[String(u.key)]=u,e[Jt]=()=>{t(),e[Jt]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{n(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function ln(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function cn(e,t,n,r,i){const{appear:a,mode:s,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:d,onEnterCancelled:f,onBeforeLeave:h,onLeave:p,onAfterLeave:m,onLeaveCancelled:g,onBeforeAppear:A,onAppear:v,onAfterAppear:y,onAppearCancelled:O}=t,b=String(e.key),w=ln(n,e),_=(e,t)=>{e&&ft(e,r,9,t)},x=(e,t)=>{const n=t[1];_(e,t),(0,o.cy)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:s,persisted:l,beforeEnter(t){let r=c;if(!n.isMounted){if(!a)return;r=A||c}t[Jt]&&t[Jt](!0);const o=w[b];o&&yi(e,o)&&o.el[Jt]&&o.el[Jt](),_(r,[t])},enter(e){let t=u,r=d,o=f;if(!n.isMounted){if(!a)return;t=v||u,r=y||d,o=O||f}let i=!1;const s=e[en]=t=>{i||(i=!0,_(t?o:r,[e]),S.delayedLeave&&S.delayedLeave(),e[en]=void 0)};t?x(t,[e,s]):s()},leave(t,r){const o=String(e.key);if(t[en]&&t[en](!0),n.isUnmounting)return r();_(h,[t]);let i=!1;const a=t[Jt]=n=>{i||(i=!0,r(),_(n?g:m,[t]),t[Jt]=void 0,w[o]===e&&delete w[o])};w[o]=e,p?x(p,[t,a]):a()},clone(e){const o=cn(e,t,n,r,i);return i&&i(o),o}};return S}function un(e){if(Ln(e))return(e=ki(e)).children=null,e}function dn(e){if(!Ln(e))return Ut(e.type)&&e.children?an(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&(0,o.Tn)(n.default))return n.default()}}function fn(e,t){6&e.shapeFlag&&e.component?(e.transition=t,fn(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function hn(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let a=e[i];const s=null==n?a.key:String(n)+String(null!=a.key?a.key:i);a.type===oi?(128&a.patchFlag&&o++,r=r.concat(hn(a.children,t,s))):(t||a.type!==ai)&&r.push(null!=s?ki(a,{key:s}):a)}if(o>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function pn(e,t){return(0,o.Tn)(e)?(()=>(0,o.X$)({name:e.name},t,{setup:e}))():e}function mn(){const e=Ni();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function gn(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function An(e){const t=Ni(),n=Me(null);if(t){const r=t.refs===o.MZ?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function vn(e,t,n,r,i=!1){if((0,o.cy)(e))return void e.forEach(((e,a)=>vn(e,t&&((0,o.cy)(t)?t[a]:t),n,r,i)));if(Dn(r)&&!i)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&vn(e,t,n,r.component.subTree));const a=4&r.shapeFlag?ta(r.component):r.el,s=i?null:a,{i:l,r:c}=e,u=t&&t.r,d=l.refs===o.MZ?l.refs={}:l.refs,f=l.setupState,h=Be(f),p=f===o.MZ?()=>!1:e=>(0,o.$3)(h,e);if(null!=u&&u!==c&&((0,o.Kg)(u)?(d[u]=null,p(u)&&(f[u]=null)):Pe(u)&&(u.value=null)),(0,o.Tn)(c))dt(c,l,12,[s,d]);else{const t=(0,o.Kg)(c),r=Pe(c);if(t||r){const l=()=>{if(e.f){const n=t?p(c)?f[c]:d[c]:c.value;i?(0,o.cy)(n)&&(0,o.TF)(n,a):(0,o.cy)(n)?n.includes(a)||n.push(a):t?(d[c]=[a],p(c)&&(f[c]=d[c])):(c.value=[a],e.k&&(d[e.k]=c.value))}else t?(d[c]=s,p(c)&&(f[c]=s)):r&&(c.value=s,e.k&&(d[e.k]=s))};s?(l.id=-1,bo(l,n)):l()}}}let yn=!1;const On=()=>{yn||(console.error("Hydration completed but contains mismatches."),yn=!0)},bn=e=>{if(1===e.nodeType)return(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0},wn=e=>8===e.nodeType;function _n(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:s,remove:l,insert:c,createComment:u}}=e,d=(n,r,o,l,u,y=!1)=>{y=y||!!r.dynamicChildren;const O=wn(n)&&"["===n.data,b=()=>m(n,r,o,l,u,O),{type:w,ref:_,shapeFlag:x,patchFlag:S}=r;let k=n.nodeType;r.el=n,-2===S&&(y=!1,r.dynamicChildren=null);let C=null;switch(w){case ii:3!==k?""===r.children?(c(r.el=i(""),s(n),n),C=n):C=b():(n.data!==r.children&&(at("Hydration text mismatch in",n.parentNode,`\n - rendered on server: ${JSON.stringify(n.data)}\n - expected on client: ${JSON.stringify(r.children)}`),On(),n.data=r.children),C=a(n));break;case ai:v(n)?(C=a(n),A(r.el=n.content.firstChild,n,o)):C=8!==k||O?b():a(n);break;case si:if(O&&(k=(n=a(n)).nodeType),1===k||3===k){C=n;const e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=1===C.nodeType?C.outerHTML:C.data),t===r.staticCount-1&&(r.anchor=C),C=a(C);return O?a(C):C}b();break;case oi:C=O?p(n,r,o,l,u,y):b();break;default:if(1&x)C=1===k&&r.type.toLowerCase()===n.tagName.toLowerCase()||v(n)?f(n,r,o,l,u,y):b();else if(6&x){r.slotScopeIds=u;const e=s(n);if(C=O?g(n):wn(n)&&"teleport start"===n.data?g(n,n.data,"teleport end"):a(n),t(r,e,null,o,l,bn(e),y),Dn(r)&&!r.type.__asyncResolved){let t;O?(t=xi(oi),t.anchor=C?C.previousSibling:e.lastChild):t=3===n.nodeType?Ci(""):xi("div"),t.el=n,r.component.subTree=t}}else 64&x?C=8!==k?b():r.type.hydrate(n,r,o,l,u,y,e,h):128&x?C=r.type.hydrate(n,r,o,l,bn(s(n)),u,y,e,d):at("Invalid HostVNode type:",w,`(${typeof w})`)}return null!=_&&vn(_,null,l,r),C},f=(e,t,n,i,a,s)=>{s=s||!!t.dynamicChildren;const{type:c,props:u,patchFlag:d,shapeFlag:f,dirs:p,transition:m}=t,g="input"===c||"option"===c;if(g||-1!==d){p&&Lt(t,null,n,"created");let c,d=!1;if(v(e)){d=Co(null,m)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;d&&m.beforeEnter(r),A(r,e,n),t.el=e=r}if(16&f&&(!u||!u.innerHTML&&!u.textContent)){let r=h(e.firstChild,t,e,n,i,a,s),o=!1;for(;r;){Tn(e,1)||(o||(at("Hydration children mismatch on",e,"\nServer rendered element contains more child nodes than client vdom."),o=!0),On());const t=r;r=r.nextSibling,l(t)}}else if(8&f){let n=t.children;"\n"!==n[0]||"PRE"!==e.tagName&&"TEXTAREA"!==e.tagName||(n=n.slice(1)),e.textContent!==n&&(Tn(e,0)||(at("Hydration text content mismatch on",e,`\n - rendered on server: ${e.textContent}\n - expected on client: ${t.children}`),On()),e.textContent=t.children)}if(u){const i=e.tagName.includes("-");for(const a in u)p&&p.some((e=>e.dir.created))||!xn(e,a,u[a],t,n)||On(),(g&&(a.endsWith("value")||"indeterminate"===a)||(0,o.Mp)(a)&&!(0,o.SU)(a)||"."===a[0]||i)&&r(e,a,null,u[a],void 0,n)}(c=u&&u.onVnodeBeforeMount)&&Mi(c,n,t),p&&Lt(t,null,n,"beforeMount"),((c=u&&u.onVnodeMounted)||p||d)&&ni((()=>{c&&Mi(c,n,t),d&&m.enter(e),p&&Lt(t,null,n,"mounted")}),i)}return e.nextSibling},h=(e,t,r,o,s,l,u)=>{u=u||!!t.dynamicChildren;const f=t.children,h=f.length;let p=!1;for(let t=0;t<h;t++){const m=u?f[t]:f[t]=Ti(f[t]),g=m.type===ii;e?(g&&!u&&t+1<h&&Ti(f[t+1]).type===ii&&(c(i(e.data.slice(m.children.length)),r,a(e)),e.data=m.children),e=d(e,m,o,s,l,u)):g&&!m.children?c(m.el=i(""),r):(Tn(r,1)||(p||(at("Hydration children mismatch on",r,"\nServer rendered element contains fewer child nodes than client vdom."),p=!0),On()),n(null,m,r,null,o,s,bn(r),l))}return e},p=(e,t,n,r,o,i)=>{const{slotScopeIds:l}=t;l&&(o=o?o.concat(l):l);const d=s(e),f=h(a(e),t,d,n,r,o,i);return f&&wn(f)&&"]"===f.data?a(t.anchor=f):(On(),c(t.anchor=u("]"),d,f),f)},m=(e,t,r,o,i,c)=>{if(Tn(e.parentElement,1)||(at("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":wn(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),On()),t.el=null,c){const t=g(e);for(;;){const n=a(e);if(!n||n===t)break;l(n)}}const u=a(e),d=s(e);return l(e),n(null,t,d,u,r,o,bn(d),i),r&&(r.vnode.el=t.el,Zo(r,t.el)),u},g=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=a(e))&&wn(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return a(e);r--}return e},A=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let o=n;for(;o;)o.vnode.el===t&&(o.vnode.el=o.subTree.el=e),o=o.parent},v=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return at("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),kt(),void(t._vnode=e);d(t.firstChild,e,null,null,null),kt(),t._vnode=e},d]}function xn(e,t,n,r,i){let a,s,l,c;if("class"===t)l=e.getAttribute("class"),c=(0,o.C4)(n),function(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}(Sn(l||""),Sn(c))||(a=2,s="class");else if("style"===t){l=e.getAttribute("style")||"",c=(0,o.Kg)(n)?n:(0,o.tl)((0,o.Tr)(n));const t=kn(l),u=kn(c);if(r.dirs)for(const{dir:e,value:t}of r.dirs)"show"!==e.name||t||u.set("display","none");i&&Cn(i,r,u),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e)if(r!==t.get(n))return!1;return!0}(t,u)||(a=3,s="style")}else(e instanceof SVGElement&&(0,o.z3)(t)||e instanceof HTMLElement&&((0,o.W0)(t)||(0,o.wQ)(t)))&&((0,o.W0)(t)?(l=e.hasAttribute(t),c=(0,o.Y2)(n)):null==n?(l=e.hasAttribute(t),c=!1):(l=e.hasAttribute(t)?e.getAttribute(t):"value"===t&&"TEXTAREA"===e.tagName&&e.value,c=!!(0,o.Vp)(n)&&String(n)),l!==c&&(a=4,s=t));if(null!=a&&!Tn(e,a)){const t=e=>!1===e?"(not rendered)":`${s}="${e}"`;return at(`Hydration ${Qn[a]} mismatch on`,e,`\n - rendered on server: ${t(l)}\n - expected on client: ${t(c)}\n Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n You should fix the source of the mismatch.`),!0}return!1}function Sn(e){return new Set(e.trim().split(/\s+/))}function kn(e){const t=new Map;for(const n of e.split(";")){let[e,r]=n.split(":");e=e.trim(),r=r&&r.trim(),e&&r&&t.set(e,r)}return t}function Cn(e,t,n){const r=e.subTree;if(e.getCssVars&&(t===r||r&&r.type===oi&&r.children.includes(t))){const t=e.getCssVars();for(const e in t)n.set(`--${(0,o.XW)(e,!1)}`,String(t[e]))}t===r&&e.parent&&Cn(e.parent,e.vnode,n)}const Bn="data-allow-mismatch",Qn={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Tn(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(Bn);)e=e.parentElement;const n=e&&e.getAttribute(Bn);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||n.split(",").includes(Qn[t])}}const En=(0,o.We)().requestIdleCallback||(e=>setTimeout(e,1)),Pn=(0,o.We)().cancelIdleCallback||(e=>clearTimeout(e)),$n=(e=1e4)=>t=>{const n=En(t,{timeout:e});return()=>Pn(n)},Mn=e=>(t,n)=>{const r=new IntersectionObserver((e=>{for(const n of e)if(n.isIntersecting){r.disconnect(),t();break}}),e);return n((e=>{if(e instanceof Element)return function(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:a}=window;return(t>0&&t<i||r>0&&r<i)&&(n>0&&n<a||o>0&&o<a)}(e)?(t(),r.disconnect(),!1):void r.observe(e)})),()=>r.disconnect()},zn=e=>t=>{if(e){const n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},Rn=(e=[])=>(t,n)=>{(0,o.Kg)(e)&&(e=[e]);let r=!1;const i=e=>{r||(r=!0,a(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},a=()=>{n((t=>{for(const n of e)t.removeEventListener(n,i)}))};return n((t=>{for(const n of e)t.addEventListener(n,i,{once:!0})})),a},Dn=e=>!!e.type.__asyncLoader;function In(e){(0,o.Tn)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:s,suspensible:l=!0,onError:c}=e;let u,d=null,f=0;const h=()=>{let e;return d||(e=d=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),c)return new Promise(((t,n)=>{c(e,(()=>t((f++,d=null,h()))),(()=>n(e)),f+1)}));throw e})).then((t=>e!==d&&d?d:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),u=t,t))))};return pn({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(e,t,n){const r=a?()=>{const r=a(n,(t=>function(e,t){if(wn(e)&&"["===e.data){let n=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(wn(r))if("]"===r.data){if(0==--n)break}else"["===r.data&&n++;r=r.nextSibling}}else t(e)}(e,t)));r&&(t.bum||(t.bum=[])).push(r)}:n;u?r():h().then((()=>!t.isUnmounted&&r()))},get __asyncResolved(){return u},setup(){const e=Ii;if(gn(e),u)return()=>Nn(u,e);const t=t=>{d=null,ht(t,e,13,!r)};if(l&&e.suspense||ji)return h().then((t=>()=>Nn(t,e))).catch((e=>(t(e),()=>r?xi(r,{error:e}):null)));const o=$e(!1),a=$e(),c=$e(!!i);return i&&setTimeout((()=>{c.value=!1}),i),null!=s&&setTimeout((()=>{if(!o.value&&!a.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),a.value=e}}),s),h().then((()=>{o.value=!0,e.parent&&Ln(e.parent.vnode)&&e.parent.update()})).catch((e=>{t(e),a.value=e})),()=>o.value&&u?Nn(u,e):a.value&&r?xi(r,{error:a.value}):n&&!c.value?xi(n):void 0}})}function Nn(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,a=xi(e,r,o);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const Ln=e=>e.type.__isKeepAlive,Vn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ni(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=new Map,a=new Set;let s=null;const l=n.suspense,{renderer:{p:c,m:u,um:d,o:{createElement:f}}}=r,h=f("div");function p(e){jn(e),d(e,n,l,!0)}function m(e){i.forEach(((t,n)=>{const r=oa(t.type);r&&!e(r)&&g(n)}))}function g(e){const t=i.get(e);!t||s&&yi(t,s)?s&&jn(s):p(t),i.delete(e),a.delete(e)}r.activate=(e,t,n,r,i)=>{const a=e.component;u(e,t,n,0,l),c(a.vnode,e,t,n,a,l,r,e.slotScopeIds,i),bo((()=>{a.isDeactivated=!1,a.a&&(0,o.DY)(a.a);const t=e.props&&e.props.onVnodeMounted;t&&Mi(t,a.parent,e)}),l)},r.deactivate=e=>{const t=e.component;To(t.m),To(t.a),u(e,h,null,1,l),bo((()=>{t.da&&(0,o.DY)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Mi(n,t.parent,e),t.isDeactivated=!0}),l)},Ro((()=>[e.include,e.exclude]),(([e,t])=>{e&&m((t=>Un(e,t))),t&&m((e=>!Un(t,e)))}),{flush:"post",deep:!0});let A=null;const v=()=>{null!=A&&(Yo(n.subTree.type)?bo((()=>{i.set(A,qn(n.subTree))}),n.subTree.suspense):i.set(A,qn(n.subTree)))};return Kn(v),er(v),tr((()=>{i.forEach((e=>{const{subTree:t,suspense:r}=n,o=qn(t);if(e.type!==o.type||e.key!==o.key)p(e);else{jn(o);const e=o.component.da;e&&bo(e,r)}}))})),()=>{if(A=null,!t.default)return s=null;const n=t.default(),r=n[0];if(n.length>1)return s=null,n;if(!vi(r)||!(4&r.shapeFlag||128&r.shapeFlag))return s=null,r;let o=qn(r);if(o.type===ai)return s=null,o;const l=o.type,c=oa(Dn(o)?o.type.__asyncResolved||{}:l),{include:u,exclude:d,max:f}=e;if(u&&(!c||!Un(u,c))||d&&c&&Un(d,c))return o.shapeFlag&=-257,s=o,r;const h=null==o.key?l:o.key,p=i.get(h);return o.el&&(o=ki(o),128&r.shapeFlag&&(r.ssContent=o)),A=h,p?(o.el=p.el,o.component=p.component,o.transition&&fn(o,o.transition),o.shapeFlag|=512,a.delete(h),a.add(h)):(a.add(h),f&&a.size>parseInt(f,10)&&g(a.values().next().value)),o.shapeFlag|=256,s=o,Yo(r.type)?r:o}}};function Un(e,t){return(0,o.cy)(e)?e.some((e=>Un(e,t))):(0,o.Kg)(e)?e.split(",").includes(t):!!(0,o.gd)(e)&&(e.lastIndex=0,e.test(t))}function Fn(e,t){Wn(e,"a",t)}function Hn(e,t){Wn(e,"da",t)}function Wn(e,t,n=Ii){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Zn(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Ln(e.parent.vnode)&&Xn(r,t,n,e),e=e.parent}}function Xn(e,t,n,r){const i=Zn(t,e,r,!0);nr((()=>{(0,o.TF)(r[t],i)}),n)}function jn(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function qn(e){return 128&e.shapeFlag?e.ssContent:e}function Zn(e,t,n=Ii,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{Q();const o=Ui(n),i=ft(t,n,e,r);return o(),T(),i});return r?o.unshift(i):o.push(i),i}}const Yn=e=>(t,n=Ii)=>{ji&&"sp"!==e||Zn(e,((...e)=>t(...e)),n)},Gn=Yn("bm"),Kn=Yn("m"),Jn=Yn("bu"),er=Yn("u"),tr=Yn("bum"),nr=Yn("um"),rr=Yn("sp"),or=Yn("rtg"),ir=Yn("rtc");function ar(e,t=Ii){Zn("ec",e,t)}const sr="components",lr="directives";function cr(e,t){return hr(sr,e,!0,t)||e}const ur=Symbol.for("v-ndc");function dr(e){return(0,o.Kg)(e)?hr(sr,e,!1)||e:e||ur}function fr(e){return hr(lr,e)}function hr(e,t,n=!0,r=!1){const i=Pt||Ii;if(i){const n=i.type;if(e===sr){const e=oa(n,!1);if(e&&(e===t||e===(0,o.PT)(t)||e===(0,o.ZH)((0,o.PT)(t))))return n}const a=pr(i[e]||n[e],t)||pr(i.appContext[e],t);return!a&&r?n:a}}function pr(e,t){return e&&(e[t]||e[(0,o.PT)(t)]||e[(0,o.ZH)((0,o.PT)(t))])}function mr(e,t,n,r){let i;const a=n&&n[r],s=(0,o.cy)(e);if(s||(0,o.Kg)(e)){let n=!1;s&&xe(e)&&(n=!ke(e),e=F(e)),i=new Array(e.length);for(let r=0,o=e.length;r<o;r++)i[r]=t(n?Te(e[r]):e[r],r,void 0,a&&a[r])}else if("number"==typeof e){i=new Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if((0,o.Gv)(e))if(e[Symbol.iterator])i=Array.from(e,((e,n)=>t(e,n,void 0,a&&a[n])));else{const n=Object.keys(e);i=new Array(n.length);for(let r=0,o=n.length;r<o;r++){const o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}else i=[];return n&&(n[r]=i),i}function gr(e,t){for(let n=0;n<t.length;n++){const r=t[n];if((0,o.cy)(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function Ar(e,t,n={},r,i){if(Pt.ce||Pt.parent&&Dn(Pt.parent)&&Pt.parent.ce)return"default"!==t&&(n.name=t),ui(),Ai(oi,null,[xi("slot",n,r&&r())],64);let a=e[t];a&&a._c&&(a._d=!1),ui();const s=a&&vr(a(n)),l=n.key||s&&s.key,c=Ai(oi,{key:(l&&!(0,o.Bm)(l)?l:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&1===e._?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),a&&a._c&&(a._d=!0),c}function vr(e){return e.some((e=>!vi(e)||e.type!==ai&&!(e.type===oi&&!vr(e.children))))?e:null}function yr(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:(0,o.rU)(r)]=e[r];return n}const Or=e=>e?Hi(e)?ta(e):Or(e.parent):null,br=(0,o.X$)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Or(e.parent),$root:e=>Or(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Fr(e),$forceUpdate:e=>e.f||(e.f=()=>{wt(e.update)}),$nextTick:e=>e.n||(e.n=bt.bind(e.proxy)),$watch:e=>Io.bind(e)}),wr=(e,t)=>e!==o.MZ&&!e.__isScriptSetup&&(0,o.$3)(e,t),_r={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:r,data:i,props:a,accessCache:s,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=s[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(wr(r,t))return s[t]=1,r[t];if(i!==o.MZ&&(0,o.$3)(i,t))return s[t]=2,i[t];if((u=e.propsOptions[0])&&(0,o.$3)(u,t))return s[t]=3,a[t];if(n!==o.MZ&&(0,o.$3)(n,t))return s[t]=4,n[t];Lr&&(s[t]=0)}}const d=br[t];let f,h;return d?("$attrs"===t&&L(e.attrs,0,""),d(e)):(f=l.__cssModules)&&(f=f[t])?f:n!==o.MZ&&(0,o.$3)(n,t)?(s[t]=4,n[t]):(h=c.config.globalProperties,(0,o.$3)(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return wr(i,t)?(i[t]=n,!0):r!==o.MZ&&(0,o.$3)(r,t)?(r[t]=n,!0):!((0,o.$3)(e.props,t)||"$"===t[0]&&t.slice(1)in e||(a[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},s){let l;return!!n[s]||e!==o.MZ&&(0,o.$3)(e,s)||wr(t,s)||(l=a[0])&&(0,o.$3)(l,s)||(0,o.$3)(r,s)||(0,o.$3)(br,s)||(0,o.$3)(i.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,o.$3)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},xr=(0,o.X$)({},_r,{get(e,t){if(t!==Symbol.unscopables)return _r.get(e,t,e)},has(e,t){return"_"!==t[0]&&!(0,o.BH)(t)}});function Sr(){return null}function kr(){return null}function Cr(e){}function Br(e){}function Qr(){return null}function Tr(){}function Er(e,t){return null}function Pr(){return Mr().slots}function $r(){return Mr().attrs}function Mr(){const e=Ni();return e.setupContext||(e.setupContext=ea(e))}function zr(e){return(0,o.cy)(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function Rr(e,t){const n=zr(e);for(const e in t){if(e.startsWith("__skip"))continue;let r=n[e];r?(0,o.cy)(r)||(0,o.Tn)(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:null===r&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function Dr(e,t){return e&&t?(0,o.cy)(e)&&(0,o.cy)(t)?e.concat(t):(0,o.X$)({},zr(e),zr(t)):e||t}function Ir(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Nr(e){const t=Ni();let n=e();return Fi(),(0,o.yL)(n)&&(n=n.catch((e=>{throw Ui(t),e}))),[n,()=>Ui(t)]}let Lr=!0;function Vr(e,t,n){ft((0,o.cy)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Ur(e,t,n,r){let i=r.includes(".")?No(n,r):()=>n[r];if((0,o.Kg)(e)){const n=t[e];(0,o.Tn)(n)&&Ro(i,n)}else if((0,o.Tn)(e))Ro(i,e.bind(n));else if((0,o.Gv)(e))if((0,o.cy)(e))e.forEach((e=>Ur(e,t,n,r)));else{const r=(0,o.Tn)(e.handler)?e.handler.bind(n):t[e.handler];(0,o.Tn)(r)&&Ro(i,r,e)}}function Fr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,l=a.get(t);let c;return l?c=l:i.length||n||r?(c={},i.length&&i.forEach((e=>Hr(c,e,s,!0))),Hr(c,t,s)):c=t,(0,o.Gv)(t)&&a.set(t,c),c}function Hr(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Hr(e,i,n,!0),o&&o.forEach((t=>Hr(e,t,n,!0)));for(const o in t)if(r&&"expose"===o);else{const r=Wr[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const Wr={data:Xr,props:Yr,emits:Yr,methods:Zr,computed:Zr,beforeCreate:qr,created:qr,beforeMount:qr,mounted:qr,beforeUpdate:qr,updated:qr,beforeDestroy:qr,beforeUnmount:qr,destroyed:qr,unmounted:qr,activated:qr,deactivated:qr,errorCaptured:qr,serverPrefetch:qr,components:Zr,directives:Zr,watch:function(e,t){if(!e)return t;if(!t)return e;const n=(0,o.X$)(Object.create(null),e);for(const r in t)n[r]=qr(e[r],t[r]);return n},provide:Xr,inject:function(e,t){return Zr(jr(e),jr(t))}};function Xr(e,t){return t?e?function(){return(0,o.X$)((0,o.Tn)(e)?e.call(this,this):e,(0,o.Tn)(t)?t.call(this,this):t)}:t:e}function jr(e){if((0,o.cy)(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function qr(e,t){return e?[...new Set([].concat(e,t))]:t}function Zr(e,t){return e?(0,o.X$)(Object.create(null),e,t):t}function Yr(e,t){return e?(0,o.cy)(e)&&(0,o.cy)(t)?[...new Set([...e,...t])]:(0,o.X$)(Object.create(null),zr(e),zr(null!=t?t:{})):t}function Gr(){return{app:null,config:{isNativeTag:o.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Kr=0;function Jr(e,t){return function(n,r=null){(0,o.Tn)(n)||(n=(0,o.X$)({},n)),null==r||(0,o.Gv)(r)||(r=null);const i=Gr(),a=new WeakSet,s=[];let l=!1;const c=i.app={_uid:Kr++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:da,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&(0,o.Tn)(e.install)?(a.add(e),e.install(c,...t)):(0,o.Tn)(e)&&(a.add(e),e(c,...t))),c},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),c},component(e,t){return t?(i.components[e]=t,c):i.components[e]},directive(e,t){return t?(i.directives[e]=t,c):i.directives[e]},mount(o,a,s){if(!l){const u=c._ceVNode||xi(n,r);return u.appContext=i,!0===s?s="svg":!1===s&&(s=void 0),a&&t?t(u,o):e(u,o,s),l=!0,c._container=o,o.__vue_app__=c,ta(u.component)}},onUnmount(e){s.push(e)},unmount(){l&&(ft(s,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return i.provides[e]=t,c},runWithContext(e){const t=eo;eo=c;try{return e()}finally{eo=t}}};return c}}let eo=null;function to(e,t){if(Ii){let n=Ii.provides;const r=Ii.parent&&Ii.parent.provides;r===n&&(n=Ii.provides=Object.create(r)),n[e]=t}}function no(e,t,n=!1){const r=Ii||Pt;if(r||eo){const i=eo?eo._context.provides:r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&(0,o.Tn)(t)?t.call(r&&r.proxy):t}}function ro(){return!!(Ii||Pt||eo)}const oo={},io=()=>Object.create(oo),ao=e=>Object.getPrototypeOf(e)===oo;function so(e,t,n,r){const[i,a]=e.propsOptions;let s,l=!1;if(t)for(let c in t){if((0,o.SU)(c))continue;const u=t[c];let d;i&&(0,o.$3)(i,d=(0,o.PT)(c))?a&&a.includes(d)?(s||(s={}))[d]=u:n[d]=u:Ho(e.emitsOptions,c)||c in r&&u===r[c]||(r[c]=u,l=!0)}if(a){const t=Be(n),r=s||o.MZ;for(let s=0;s<a.length;s++){const l=a[s];n[l]=lo(i,t,l,r[l],e,!(0,o.$3)(r,l))}}return l}function lo(e,t,n,r,i,a){const s=e[n];if(null!=s){const e=(0,o.$3)(s,"default");if(e&&void 0===r){const e=s.default;if(s.type!==Function&&!s.skipFactory&&(0,o.Tn)(e)){const{propsDefaults:o}=i;if(n in o)r=o[n];else{const a=Ui(i);r=o[n]=e.call(null,t),a()}}else r=e;i.ce&&i.ce._setProp(n,r)}s[0]&&(a&&!e?r=!1:!s[1]||""!==r&&r!==(0,o.Tg)(n)||(r=!0))}return r}const co=new WeakMap;function uo(e,t,n=!1){const r=n?co:t.propsCache,i=r.get(e);if(i)return i;const a=e.props,s={},l=[];let c=!1;if(!(0,o.Tn)(e)){const r=e=>{c=!0;const[n,r]=uo(e,t,!0);(0,o.X$)(s,n),r&&l.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!a&&!c)return(0,o.Gv)(e)&&r.set(e,o.Oj),o.Oj;if((0,o.cy)(a))for(let e=0;e<a.length;e++){const t=(0,o.PT)(a[e]);fo(t)&&(s[t]=o.MZ)}else if(a)for(const e in a){const t=(0,o.PT)(e);if(fo(t)){const n=a[e],r=s[t]=(0,o.cy)(n)||(0,o.Tn)(n)?{type:n}:(0,o.X$)({},n),i=r.type;let c=!1,u=!0;if((0,o.cy)(i))for(let e=0;e<i.length;++e){const t=i[e],n=(0,o.Tn)(t)&&t.name;if("Boolean"===n){c=!0;break}"String"===n&&(u=!1)}else c=(0,o.Tn)(i)&&"Boolean"===i.name;r[0]=c,r[1]=u,(c||(0,o.$3)(r,"default"))&&l.push(t)}}const u=[s,l];return(0,o.Gv)(e)&&r.set(e,u),u}function fo(e){return"$"!==e[0]&&!(0,o.SU)(e)}const ho=e=>"_"===e[0]||"$stable"===e,po=e=>(0,o.cy)(e)?e.map(Ti):[Ti(e)],mo=(e,t,n)=>{if(t._n)return t;const r=It(((...e)=>po(t(...e))),n);return r._c=!1,r},go=(e,t,n)=>{const r=e._ctx;for(const n in e){if(ho(n))continue;const i=e[n];if((0,o.Tn)(i))t[n]=mo(0,i,r);else if(null!=i){const e=po(i);t[n]=()=>e}}},Ao=(e,t)=>{const n=po(t);e.slots.default=()=>n},vo=(e,t,n)=>{for(const r in t)(n||"_"!==r)&&(e[r]=t[r])},yo=(e,t,n)=>{const r=e.slots=io();if(32&e.vnode.shapeFlag){const e=t._;e?(vo(r,t,n),n&&(0,o.yQ)(r,"_",e,!0)):go(t,r)}else t&&Ao(e,t)},Oo=(e,t,n)=>{const{vnode:r,slots:i}=e;let a=!0,s=o.MZ;if(32&r.shapeFlag){const e=t._;e?n&&1===e?a=!1:vo(i,t,n):(a=!t.$stable,go(t,i)),s=t}else t&&(Ao(e,t),s={default:1});if(a)for(const e in i)ho(e)||null!=s[e]||delete i[e]},bo=ni;function wo(e){return xo(e)}function _o(e){return xo(e,_n)}function xo(e,t){(0,o.We)().__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:a,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:p=o.tE,insertStaticContent:m}=e,g=(e,t,n,r=null,o=null,i=null,a=void 0,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!yi(e,t)&&(r=W(e),N(e,o,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case ii:A(e,t,n,r);break;case ai:v(e,t,n,r);break;case si:null==e&&y(t,n,r,a);break;case oi:C(e,t,n,r,o,i,a,s,l);break;default:1&d?O(e,t,n,r,o,i,a,s,l):6&d?B(e,t,n,r,o,i,a,s,l):(64&d||128&d)&&c.process(e,t,n,r,o,i,a,s,l,q)}null!=u&&o&&vn(u,e&&e.ref,i,t||e,!t)},A=(e,t,r,o)=>{if(null==e)n(t.el=s(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},v=(e,t,r,o)=>{null==e?n(t.el=l(t.children||""),r,o):t.el=e.el},y=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},O=(e,t,n,r,o,i,a,s,l)=>{"svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e?b(t,n,r,o,i,a,s,l):x(e,t,o,i,a,s,l)},b=(e,t,r,s,l,c,d,f)=>{let h,p;const{props:m,shapeFlag:g,transition:A,dirs:v}=e;if(h=e.el=a(e.type,c,m&&m.is,m),8&g?u(h,e.children):16&g&&_(e.children,h,null,s,l,So(e,c),d,f),v&&Lt(e,null,s,"created"),w(h,e,e.scopeId,d,s),m){for(const e in m)"value"===e||(0,o.SU)(e)||i(h,e,null,m[e],c,s);"value"in m&&i(h,"value",null,m.value,c),(p=m.onVnodeBeforeMount)&&Mi(p,s,e)}v&&Lt(e,null,s,"beforeMount");const y=Co(l,A);y&&A.beforeEnter(h),n(h,t,r),((p=m&&m.onVnodeMounted)||y||v)&&bo((()=>{p&&Mi(p,s,e),y&&A.enter(h),v&&Lt(e,null,s,"mounted")}),l)},w=(e,t,n,r,o)=>{if(n&&p(e,n),r)for(let t=0;t<r.length;t++)p(e,r[t]);if(o){let n=o.subTree;if(t===n||Yo(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=o.vnode;w(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},_=(e,t,n,r,o,i,a,s,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=s?Ei(e[c]):Ti(e[c]);g(null,l,t,n,r,o,i,a,s)}},x=(e,t,n,r,a,s,l)=>{const c=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:h}=t;d|=16&e.patchFlag;const p=e.props||o.MZ,m=t.props||o.MZ;let g;if(n&&ko(n,!1),(g=m.onVnodeBeforeUpdate)&&Mi(g,n,t,e),h&&Lt(t,e,n,"beforeUpdate"),n&&ko(n,!0),(p.innerHTML&&null==m.innerHTML||p.textContent&&null==m.textContent)&&u(c,""),f?S(e.dynamicChildren,f,c,n,r,So(t,a),s):l||z(e,t,c,null,n,r,So(t,a),s,!1),d>0){if(16&d)k(c,p,m,n,a);else if(2&d&&p.class!==m.class&&i(c,"class",null,m.class,a),4&d&&i(c,"style",p.style,m.style,a),8&d){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const r=e[t],o=p[r],s=m[r];s===o&&"value"!==r||i(c,r,o,s,a,n)}}1&d&&e.children!==t.children&&u(c,t.children)}else l||null!=f||k(c,p,m,n,a);((g=m.onVnodeUpdated)||h)&&bo((()=>{g&&Mi(g,n,t,e),h&&Lt(t,e,n,"updated")}),r)},S=(e,t,n,r,o,i,a)=>{for(let s=0;s<t.length;s++){const l=e[s],c=t[s],u=l.el&&(l.type===oi||!yi(l,c)||70&l.shapeFlag)?d(l.el):n;g(l,c,u,null,r,o,i,a,!0)}},k=(e,t,n,r,a)=>{if(t!==n){if(t!==o.MZ)for(const s in t)(0,o.SU)(s)||s in n||i(e,s,t[s],null,a,r);for(const s in n){if((0,o.SU)(s))continue;const l=n[s],c=t[s];l!==c&&"value"!==s&&i(e,s,c,l,a,r)}"value"in n&&i(e,"value",t.value,n.value,a)}},C=(e,t,r,o,i,a,l,c,u)=>{const d=t.el=e?e.el:s(""),f=t.anchor=e?e.anchor:s("");let{patchFlag:h,dynamicChildren:p,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(n(d,r,o),n(f,r,o),_(t.children||[],r,f,i,a,l,c,u)):h>0&&64&h&&p&&e.dynamicChildren?(S(e.dynamicChildren,p,r,i,a,l,c),(null!=t.key||i&&t===i.subTree)&&Bo(e,t,!0)):z(e,t,r,f,i,a,l,c,u)},B=(e,t,n,r,o,i,a,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,a,l):E(t,n,r,o,i,a,l):P(e,t,l)},E=(e,t,n,r,o,i,a)=>{const s=e.component=Di(e,r,o);if(Ln(e)&&(s.ctx.renderer=q),qi(s,!1,a),s.asyncDep){if(o&&o.registerDep(s,$,a),!e.el){const e=s.subTree=xi(ai);v(null,e,t,n)}}else $(s,e,t,n,o,i,a)},P=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!s||s&&s.$stable)||r!==a&&(r?!a||qo(r,a,c):!!a);if(1024&l)return!0;if(16&l)return r?qo(r,a,c):!!a;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(a[n]!==r[n]&&!Ho(c,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void M(r,t,n);r.next=t,r.update()}else t.el=e.el,r.vnode=t},$=(e,t,n,r,i,a,s)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:c,vnode:u}=e;{const n=Qo(e);if(n)return t&&(t.el=u.el,M(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let f,h=t;ko(e,!1),t?(t.el=u.el,M(e,t,s)):t=u,n&&(0,o.DY)(n),(f=t.props&&t.props.onVnodeBeforeUpdate)&&Mi(f,c,t,u),ko(e,!0);const p=Wo(e),m=e.subTree;e.subTree=p,g(m,p,d(m.el),W(m),e,i,a),t.el=p.el,null===h&&Zo(e,p.el),r&&bo(r,i),(f=t.props&&t.props.onVnodeUpdated)&&bo((()=>Mi(f,c,t,u)),i)}else{let s;const{el:l,props:c}=t,{bm:u,m:d,parent:f,root:h,type:p}=e,m=Dn(t);if(ko(e,!1),u&&(0,o.DY)(u),!m&&(s=c&&c.onVnodeBeforeMount)&&Mi(s,f,t),ko(e,!0),l&&Y){const t=()=>{e.subTree=Wo(e),Y(l,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(l,e,t):t()}else{h.ce&&h.ce._injectChildStyle(p);const o=e.subTree=Wo(e);g(null,o,n,r,e,i,a),t.el=o.el}if(d&&bo(d,i),!m&&(s=c&&c.onVnodeMounted)){const e=t;bo((()=>Mi(s,f,e)),i)}(256&t.shapeFlag||f&&Dn(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&bo(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();const c=e.effect=new f(l);e.scope.off();const u=e.update=c.run.bind(c),h=e.job=c.runIfDirty.bind(c);h.i=e,h.id=e.uid,c.scheduler=()=>wt(h),ko(e,!0),u()},M=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:i,attrs:a,vnode:{patchFlag:s}}=e,l=Be(i),[c]=e.propsOptions;let u=!1;if(!(r||s>0)||16&s){let r;so(e,t,i,a)&&(u=!0);for(const a in l)t&&((0,o.$3)(t,a)||(r=(0,o.Tg)(a))!==a&&(0,o.$3)(t,r))||(c?!n||void 0===n[a]&&void 0===n[r]||(i[a]=lo(c,l,a,void 0,e,!0)):delete i[a]);if(a!==l)for(const e in a)t&&(0,o.$3)(t,e)||(delete a[e],u=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let s=n[r];if(Ho(e.emitsOptions,s))continue;const d=t[s];if(c)if((0,o.$3)(a,s))d!==a[s]&&(a[s]=d,u=!0);else{const t=(0,o.PT)(s);i[t]=lo(c,l,t,d,e,!1)}else d!==a[s]&&(a[s]=d,u=!0)}}u&&V(e.attrs,"set","")}(e,t.props,r,n),Oo(e,t.children,n),Q(),St(e),T()},z=(e,t,n,r,o,i,a,s,l=!1)=>{const c=e&&e.children,d=e?e.shapeFlag:0,f=t.children,{patchFlag:h,shapeFlag:p}=t;if(h>0){if(128&h)return void D(c,f,n,r,o,i,a,s,l);if(256&h)return void R(c,f,n,r,o,i,a,s,l)}8&p?(16&d&&H(c,o,i),f!==c&&u(n,f)):16&d?16&p?D(c,f,n,r,o,i,a,s,l):H(c,o,i,!0):(8&d&&u(n,""),16&p&&_(f,n,r,o,i,a,s,l))},R=(e,t,n,r,i,a,s,l,c)=>{e=e||o.Oj,t=t||o.Oj;const u=e.length,d=t.length,f=Math.min(u,d);let h;for(h=0;h<f;h++){const r=t[h]=c?Ei(t[h]):Ti(t[h]);g(e[h],r,n,null,i,a,s,l,c)}u>d?H(e,i,a,!0,!1,f):_(t,n,r,i,a,s,l,c,f)},D=(e,t,n,r,i,a,s,l,c)=>{let u=0;const d=t.length;let f=e.length-1,h=d-1;for(;u<=f&&u<=h;){const r=e[u],o=t[u]=c?Ei(t[u]):Ti(t[u]);if(!yi(r,o))break;g(r,o,n,null,i,a,s,l,c),u++}for(;u<=f&&u<=h;){const r=e[f],o=t[h]=c?Ei(t[h]):Ti(t[h]);if(!yi(r,o))break;g(r,o,n,null,i,a,s,l,c),f--,h--}if(u>f){if(u<=h){const e=h+1,o=e<d?t[e].el:r;for(;u<=h;)g(null,t[u]=c?Ei(t[u]):Ti(t[u]),n,o,i,a,s,l,c),u++}}else if(u>h)for(;u<=f;)N(e[u],i,a,!0),u++;else{const p=u,m=u,A=new Map;for(u=m;u<=h;u++){const e=t[u]=c?Ei(t[u]):Ti(t[u]);null!=e.key&&A.set(e.key,u)}let v,y=0;const O=h-m+1;let b=!1,w=0;const _=new Array(O);for(u=0;u<O;u++)_[u]=0;for(u=p;u<=f;u++){const r=e[u];if(y>=O){N(r,i,a,!0);continue}let o;if(null!=r.key)o=A.get(r.key);else for(v=m;v<=h;v++)if(0===_[v-m]&&yi(r,t[v])){o=v;break}void 0===o?N(r,i,a,!0):(_[o-m]=u+1,o>=w?w=o:b=!0,g(r,t[o],n,null,i,a,s,l,c),y++)}const x=b?function(e){const t=e.slice(),n=[0];let r,o,i,a,s;const l=e.length;for(r=0;r<l;r++){const l=e[r];if(0!==l){if(o=n[n.length-1],e[o]<l){t[r]=o,n.push(r);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,e[n[s]]<l?i=s+1:a=s;l<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}(_):o.Oj;for(v=x.length-1,u=O-1;u>=0;u--){const e=m+u,o=t[e],f=e+1<d?t[e+1].el:r;0===_[u]?g(null,o,n,f,i,a,s,l,c):b&&(v<0||u!==x[v]?I(o,n,f,2):v--)}}},I=(e,t,r,o,i=null)=>{const{el:a,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)I(e.component.subTree,t,r,o);else if(128&u)e.suspense.move(t,r,o);else if(64&u)s.move(e,t,r,q);else if(s!==oi)if(s!==si)if(2!==o&&1&u&&l)if(0===o)l.beforeEnter(a),n(a,t,r),bo((()=>l.enter(a)),i);else{const{leave:e,delayLeave:o,afterLeave:i}=l,s=()=>n(a,t,r),c=()=>{e(a,(()=>{s(),i&&i()}))};o?o(a,s,c):c()}else n(a,t,r);else(({el:e,anchor:t},r,o)=>{let i;for(;e&&e!==t;)i=h(e),n(e,r,o),e=i;n(t,r,o)})(e,t,r);else{n(a,t,r);for(let e=0;e<c.length;e++)I(c[e],t,r,o);n(e.anchor,t,r)}},N=(e,t,n,r=!1,o=!1)=>{const{type:i,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:h}=e;if(-2===d&&(o=!1),null!=s&&vn(s,null,n,e,!0),null!=h&&(t.renderCache[h]=void 0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,m=!Dn(e);let g;if(m&&(g=a&&a.onVnodeBeforeUnmount)&&Mi(g,t,e),6&u)F(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);p&&Lt(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,q,r):c&&!c.hasOnce&&(i!==oi||d>0&&64&d)?H(c,t,n,!1,!0):(i===oi&&384&d||!o&&16&u)&&H(l,t,n),r&&L(e)}(m&&(g=a&&a.onVnodeUnmounted)||p)&&bo((()=>{g&&Mi(g,t,e),p&&Lt(e,null,t,"unmounted")}),n)},L=e=>{const{type:t,el:n,anchor:o,transition:i}=e;if(t===oi)return void U(n,o);if(t===si)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),r(e),e=n;r(t)})(e);const a=()=>{r(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},U=(e,t)=>{let n;for(;e!==t;)n=h(e),r(e),e=n;r(t)},F=(e,t,n)=>{const{bum:r,scope:i,job:a,subTree:s,um:l,m:c,a:u}=e;To(c),To(u),r&&(0,o.DY)(r),i.stop(),a&&(a.flags|=8,N(s,e,t,n)),l&&bo(l,t),bo((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},H=(e,t,n,r=!1,o=!1,i=0)=>{for(let a=i;a<e.length;a++)N(e[a],t,n,r,o)},W=e=>{if(6&e.shapeFlag)return W(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=h(e.anchor||e.el),n=t&&t[Vt];return n?h(n):t};let X=!1;const j=(e,t,n)=>{null==e?t._vnode&&N(t._vnode,null,null,!0):g(t._vnode||null,e,t,null,null,null,n),t._vnode=e,X||(X=!0,St(),kt(),X=!1)},q={p:g,um:N,m:I,r:L,mt:E,mc:_,pc:z,pbc:S,n:W,o:e};let Z,Y;return t&&([Z,Y]=t(q)),{render:j,hydrate:Z,createApp:Jr(j,Z)}}function So({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ko({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Co(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Bo(e,t,n=!1){const r=e.children,i=t.children;if((0,o.cy)(r)&&(0,o.cy)(i))for(let e=0;e<r.length;e++){const t=r[e];let o=i[e];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=i[e]=Ei(i[e]),o.el=t.el),n||-2===o.patchFlag||Bo(t,o)),o.type===ii&&(o.el=t.el)}}function Qo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Qo(t)}function To(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Eo=Symbol.for("v-scx"),Po=()=>no(Eo);function $o(e,t){return Do(e,null,t)}function Mo(e,t){return Do(e,null,{flush:"post"})}function zo(e,t){return Do(e,null,{flush:"sync"})}function Ro(e,t,n){return Do(e,t,n)}function Do(e,t,n=o.MZ){const{immediate:r,deep:i,flush:a,once:s}=n,l=(0,o.X$)({},n),u=t&&r||!t&&"post"!==a;let d;if(ji)if("sync"===a){const e=Po();d=e.__watcherHandles||(e.__watcherHandles=[])}else if(!u){const e=()=>{};return e.stop=o.tE,e.resume=o.tE,e.pause=o.tE,e}const h=Ii;l.call=(e,t,n)=>ft(e,h,t,n);let p=!1;"post"===a?l.scheduler=e=>{bo(e,h&&h.suspense)}:"sync"!==a&&(p=!0,l.scheduler=(e,t)=>{t?e():wt(e)}),l.augmentJob=e=>{t&&(e.flags|=4),p&&(e.flags|=2,h&&(e.id=h.uid,e.i=h))};const m=function(e,t,n=o.MZ){const{immediate:r,deep:i,once:a,scheduler:s,augmentJob:l,call:u}=n,d=e=>i?e:ke(e)||!1===i||0===i?rt(e,1):rt(e);let h,p,m,g,A=!1,v=!1;if(Pe(e)?(p=()=>e.value,A=ke(e)):xe(e)?(p=()=>d(e),A=!0):(0,o.cy)(e)?(v=!0,A=e.some((e=>xe(e)||ke(e))),p=()=>e.map((e=>Pe(e)?e.value:xe(e)?d(e):(0,o.Tn)(e)?u?u(e,2):e():void 0))):p=(0,o.Tn)(e)?t?u?()=>u(e,2):e:()=>{if(m){Q();try{m()}finally{T()}}const t=et;et=h;try{return u?u(e,3,[g]):e(g)}finally{et=t}}:o.tE,t&&i){const e=p,t=!0===i?1/0:i;p=()=>rt(e(),t)}const y=c(),O=()=>{h.stop(),y&&y.active&&(0,o.TF)(y.effects,h)};if(a&&t){const e=t;t=(...t)=>{e(...t),O()}}let b=v?new Array(e.length).fill(Ke):Ke;const w=e=>{if(1&h.flags&&(h.dirty||e))if(t){const e=h.run();if(i||A||(v?e.some(((e,t)=>(0,o.$H)(e,b[t]))):(0,o.$H)(e,b))){m&&m();const n=et;et=h;try{const n=[e,b===Ke?void 0:v&&b[0]===Ke?[]:b,g];u?u(t,3,n):t(...n),b=e}finally{et=n}}}else h.run()};return l&&l(w),h=new f(p),h.scheduler=s?()=>s(w,!1):w,g=e=>nt(e,!1,h),m=h.onStop=()=>{const e=Je.get(h);if(e){if(u)u(e,4);else for(const t of e)t();Je.delete(h)}},t?r?w(!0):b=h.run():s?s(w.bind(null,!0),!0):h.run(),O.pause=h.pause.bind(h),O.resume=h.resume.bind(h),O.stop=O,O}(e,t,l);return ji&&(d?d.push(m):u&&m()),m}function Io(e,t,n){const r=this.proxy,i=(0,o.Kg)(e)?e.includes(".")?No(r,e):()=>r[e]:e.bind(r,r);let a;(0,o.Tn)(t)?a=t:(a=t.handler,n=t);const s=Ui(this),l=Do(i,a.bind(r),n);return s(),l}function No(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function Lo(e,t,n=o.MZ){const r=Ni(),i=(0,o.PT)(t),a=(0,o.Tg)(t),s=Vo(e,i),l=Fe(((s,l)=>{let c,u,d=o.MZ;return zo((()=>{const t=e[i];(0,o.$H)(c,t)&&(c=t,l())})),{get(){return s(),n.get?n.get(c):c},set(e){const s=n.set?n.set(e):e;if(!((0,o.$H)(s,c)||d!==o.MZ&&(0,o.$H)(e,d)))return;const f=r.vnode.props;f&&(t in f||i in f||a in f)&&(`onUpdate:${t}`in f||`onUpdate:${i}`in f||`onUpdate:${a}`in f)||(c=e,l()),r.emit(`update:${t}`,s),(0,o.$H)(e,s)&&(0,o.$H)(e,d)&&!(0,o.$H)(s,u)&&l(),d=e,u=s}}}));return l[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?s||o.MZ:l,done:!1}:{done:!0}}}},l}const Vo=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${(0,o.PT)(t)}Modifiers`]||e[`${(0,o.Tg)(t)}Modifiers`];function Uo(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o.MZ;let i=n;const a=t.startsWith("update:"),s=a&&Vo(r,t.slice(7));let l;s&&(s.trim&&(i=n.map((e=>(0,o.Kg)(e)?e.trim():e))),s.number&&(i=n.map(o.bB)));let c=r[l=(0,o.rU)(t)]||r[l=(0,o.rU)((0,o.PT)(t))];!c&&a&&(c=r[l=(0,o.rU)((0,o.Tg)(t))]),c&&ft(c,e,6,i);const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,ft(u,e,6,i)}}function Fo(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;const a=e.emits;let s={},l=!1;if(!(0,o.Tn)(e)){const r=e=>{const n=Fo(e,t,!0);n&&(l=!0,(0,o.X$)(s,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return a||l?((0,o.cy)(a)?a.forEach((e=>s[e]=null)):(0,o.X$)(s,a),(0,o.Gv)(e)&&r.set(e,s),s):((0,o.Gv)(e)&&r.set(e,null),null)}function Ho(e,t){return!(!e||!(0,o.Mp)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,o.$3)(e,t[0].toLowerCase()+t.slice(1))||(0,o.$3)(e,(0,o.Tg)(t))||(0,o.$3)(e,t))}function Wo(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:l,emit:c,render:u,renderCache:d,props:f,data:h,setupState:p,ctx:m,inheritAttrs:g}=e,A=Mt(e);let v,y;try{if(4&n.shapeFlag){const e=i||r,t=e;v=Ti(u.call(t,e,d,f,p,h,m)),y=l}else{const e=t;v=Ti(e.length>1?e(f,{attrs:l,slots:s,emit:c}):e(f,null)),y=t.props?l:Xo(l)}}catch(t){li.length=0,ht(t,e,1),v=xi(ai)}let O=v;if(y&&!1!==g){const e=Object.keys(y),{shapeFlag:t}=O;e.length&&7&t&&(a&&e.some(o.CP)&&(y=jo(y,a)),O=ki(O,y,!1,!0))}return n.dirs&&(O=ki(O,null,!1,!0),O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&fn(O,n.transition),v=O,Mt(A),v}const Xo=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,o.Mp)(n))&&((t||(t={}))[n]=e[n]);return t},jo=(e,t)=>{const n={};for(const r in e)(0,o.CP)(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function qo(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!Ho(n,i))return!0}return!1}function Zo({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=n,t=t.parent}}const Yo=e=>e.__isSuspense;let Go=0;const Ko={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,a,s,l,c){if(null==e)!function(e,t,n,r,o,i,a,s,l){const{p:c,o:{createElement:u}}=l,d=u("div"),f=e.suspense=ei(e,o,r,t,d,n,i,a,s,l);c(null,f.pendingBranch=e.ssContent,d,null,r,f,i,a),f.deps>0?(Jo(e,"onPending"),Jo(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,a),ri(f,e.ssFallback)):f.resolve(!1,!0)}(t,n,r,o,i,a,s,l,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,o,i,a,s,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:g,isHydrating:A}=d;if(m)d.pendingBranch=f,yi(f,m)?(l(m,f,d.hiddenContainer,null,o,d,i,a,s),d.deps<=0?d.resolve():g&&(A||(l(p,h,n,r,o,null,i,a,s),ri(d,h)))):(d.pendingId=Go++,A?(d.isHydrating=!1,d.activeBranch=m):c(m,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),g?(l(null,f,d.hiddenContainer,null,o,d,i,a,s),d.deps<=0?d.resolve():(l(p,h,n,r,o,null,i,a,s),ri(d,h))):p&&yi(f,p)?(l(p,f,n,r,o,d,i,a,s),d.resolve(!0)):(l(null,f,d.hiddenContainer,null,o,d,i,a,s),d.deps<=0&&d.resolve()));else if(p&&yi(f,p))l(p,f,n,r,o,d,i,a,s),ri(d,f);else if(Jo(t,"onPending"),d.pendingBranch=f,512&f.shapeFlag?d.pendingId=f.component.suspenseId:d.pendingId=Go++,l(null,f,d.hiddenContainer,null,o,d,i,a,s),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout((()=>{d.pendingId===t&&d.fallback(h)}),e):0===e&&d.fallback(h)}}(e,t,n,r,o,a,s,l,c)}},hydrate:function(e,t,n,r,o,i,a,s,l){const c=t.suspense=ei(t,r,n,e.parentNode,document.createElement("div"),null,o,i,a,s,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,a);return 0===c.deps&&c.resolve(!1,!0),u},normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=ti(r?n.default:n),e.ssFallback=r?ti(n.fallback):xi(ai)}};function Jo(e,t){const n=e.props&&e.props[t];(0,o.Tn)(n)&&n()}function ei(e,t,n,r,i,a,s,l,c,u,d=!1){const{p:f,m:h,um:p,n:m,o:{parentNode:g,remove:A}}=u;let v;const y=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);y&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const O=e.props?(0,o.Ro)(e.props.timeout):void 0,b=a,w={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:i,deps:0,pendingId:Go++,timeout:"number"==typeof O?O:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:o,pendingBranch:i,pendingId:s,effects:l,parentComponent:c,container:u}=w;let d=!1;w.isHydrating?w.isHydrating=!1:e||(d=o&&i.transition&&"out-in"===i.transition.mode,d&&(o.transition.afterLeave=()=>{s===w.pendingId&&(h(i,u,a===b?m(o):a,0),xt(l))}),o&&(g(o.el)===u&&(a=m(o)),p(o,c,w,!0)),d||h(i,u,a,0)),ri(w,i),w.pendingBranch=null,w.isInFallback=!1;let f=w.parent,A=!1;for(;f;){if(f.pendingBranch){f.effects.push(...l),A=!0;break}f=f.parent}A||d||xt(l),w.effects=[],y&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),Jo(r,"onResolve")},fallback(e){if(!w.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,namespace:i}=w;Jo(t,"onFallback");const a=m(n),s=()=>{w.isInFallback&&(f(null,e,o,a,r,null,i,l,c),ri(w,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=s),w.isInFallback=!0,p(n,r,null,!0),u||s()},move(e,t,n){w.activeBranch&&h(w.activeBranch,e,t,n),w.container=e},next(){return w.activeBranch&&m(w.activeBranch)},registerDep(e,t,n){const r=!!w.pendingBranch;r&&w.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{ht(t,e,0)})).then((i=>{if(e.isUnmounted||w.isUnmounted||w.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:a}=e;Zi(e,i,!1),o&&(a.el=o);const l=!o&&e.subTree.el;t(e,a,g(o||e.subTree.el),o?null:m(e.subTree),w,s,n),l&&A(l),Zo(e,a.el),r&&0==--w.deps&&w.resolve()}))},unmount(e,t){w.isUnmounted=!0,w.activeBranch&&p(w.activeBranch,n,e,t),w.pendingBranch&&p(w.pendingBranch,n,e,t)}};return w}function ti(e){let t;if((0,o.Tn)(e)){const n=hi&&e._c;n&&(e._d=!1,ui()),e=e(),n&&(e._d=!0,t=ci,di())}if((0,o.cy)(e)){const t=function(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(!vi(r))return;if(r.type!==ai||"v-if"===r.children){if(t)return;t=r}}return t}(e);e=t}return e=Ti(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function ni(e,t){t&&t.pendingBranch?(0,o.cy)(e)?t.effects.push(...e):t.effects.push(e):xt(e)}function ri(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,Zo(r,o))}const oi=Symbol.for("v-fgt"),ii=Symbol.for("v-txt"),ai=Symbol.for("v-cmt"),si=Symbol.for("v-stc"),li=[];let ci=null;function ui(e=!1){li.push(ci=e?null:[])}function di(){li.pop(),ci=li[li.length-1]||null}let fi,hi=1;function pi(e,t=!1){hi+=e,e<0&&ci&&t&&(ci.hasOnce=!0)}function mi(e){return e.dynamicChildren=hi>0?ci||o.Oj:null,di(),hi>0&&ci&&ci.push(e),e}function gi(e,t,n,r,o,i){return mi(_i(e,t,n,r,o,i,!0))}function Ai(e,t,n,r,o){return mi(xi(e,t,n,r,o,!0))}function vi(e){return!!e&&!0===e.__v_isVNode}function yi(e,t){return e.type===t.type&&e.key===t.key}function Oi(e){fi=e}const bi=({key:e})=>null!=e?e:null,wi=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?(0,o.Kg)(e)||Pe(e)||(0,o.Tn)(e)?{i:Pt,r:e,k:t,f:!!n}:e:null);function _i(e,t=null,n=null,r=0,i=null,a=(e===oi?0:1),s=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&bi(t),ref:t&&wi(t),scopeId:$t,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Pt};return l?(Pi(c,n),128&a&&e.normalize(c)):n&&(c.shapeFlag|=(0,o.Kg)(n)?8:16),hi>0&&!s&&ci&&(c.patchFlag>0||6&a)&&32!==c.patchFlag&&ci.push(c),c}const xi=function(e,t=null,n=null,r=0,i=null,a=!1){if(e&&e!==ur||(e=ai),vi(e)){const r=ki(e,t,!0);return n&&Pi(r,n),hi>0&&!a&&ci&&(6&r.shapeFlag?ci[ci.indexOf(e)]=r:ci.push(r)),r.patchFlag=-2,r}if(s=e,(0,o.Tn)(s)&&"__vccOpts"in s&&(e=e.__vccOpts),t){t=Si(t);let{class:e,style:n}=t;e&&!(0,o.Kg)(e)&&(t.class=(0,o.C4)(e)),(0,o.Gv)(n)&&(Ce(n)&&!(0,o.cy)(n)&&(n=(0,o.X$)({},n)),t.style=(0,o.Tr)(n))}var s;return _i(e,t,n,r,i,(0,o.Kg)(e)?1:Yo(e)?128:Ut(e)?64:(0,o.Gv)(e)?4:(0,o.Tn)(e)?2:0,a,!0)};function Si(e){return e?Ce(e)||ao(e)?(0,o.X$)({},e):e:null}function ki(e,t,n=!1,r=!1){const{props:i,ref:a,patchFlag:s,children:l,transition:c}=e,u=t?$i(i||{},t):i,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&bi(u),ref:t&&t.ref?n&&a?(0,o.cy)(a)?a.concat(wi(t)):[a,wi(t)]:wi(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==oi?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ki(e.ssContent),ssFallback:e.ssFallback&&ki(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&fn(d,c.clone(d)),d}function Ci(e=" ",t=0){return xi(ii,null,e,t)}function Bi(e,t){const n=xi(si,null,e);return n.staticCount=t,n}function Qi(e="",t=!1){return t?(ui(),Ai(ai,null,e)):xi(ai,null,e)}function Ti(e){return null==e||"boolean"==typeof e?xi(ai):(0,o.cy)(e)?xi(oi,null,e.slice()):vi(e)?Ei(e):xi(ii,null,String(e))}function Ei(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ki(e)}function Pi(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if((0,o.cy)(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),Pi(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||ao(t)?3===r&&Pt&&(1===Pt.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Pt}}else(0,o.Tn)(t)?(t={default:t,_ctx:Pt},n=32):(t=String(t),64&r?(n=16,t=[Ci(t)]):n=8);e.children=t,e.shapeFlag|=n}function $i(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=(0,o.C4)([t.class,r.class]));else if("style"===e)t.style=(0,o.Tr)([t.style,r.style]);else if((0,o.Mp)(e)){const n=t[e],i=r[e];!i||n===i||(0,o.cy)(n)&&n.includes(i)||(t[e]=n?[].concat(n,i):i)}else""!==e&&(t[e]=r[e])}return t}function Mi(e,t,n,r=null){ft(e,t,7,[n,r])}const zi=Gr();let Ri=0;function Di(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||zi,a={uid:Ri++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new s(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:uo(r,i),emitsOptions:Fo(r,i),emit:null,emitted:null,propsDefaults:o.MZ,inheritAttrs:r.inheritAttrs,ctx:o.MZ,data:o.MZ,props:o.MZ,attrs:o.MZ,slots:o.MZ,refs:o.MZ,setupState:o.MZ,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=Uo.bind(null,a),e.ce&&e.ce(a),a}let Ii=null;const Ni=()=>Ii||Pt;let Li,Vi;{const e=(0,o.We)(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach((t=>t(e))):r[0](e)}};Li=t("__VUE_INSTANCE_SETTERS__",(e=>Ii=e)),Vi=t("__VUE_SSR_SETTERS__",(e=>ji=e))}const Ui=e=>{const t=Ii;return Li(e),e.scope.on(),()=>{e.scope.off(),Li(t)}},Fi=()=>{Ii&&Ii.scope.off(),Li(null)};function Hi(e){return 4&e.vnode.shapeFlag}let Wi,Xi,ji=!1;function qi(e,t=!1,n=!1){t&&Vi(t);const{props:r,children:i}=e.vnode,a=Hi(e);!function(e,t,n,r=!1){const o={},i=io();e.propsDefaults=Object.create(null),so(e,t,o,i);for(const t in e.propsOptions[0])t in o||(o[t]=void 0);n?e.props=r?o:Oe(o):e.type.props?e.props=o:e.props=i,e.attrs=i}(e,r,a,t),yo(e,i,n);const s=a?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,_r);const{setup:r}=n;if(r){Q();const n=e.setupContext=r.length>1?ea(e):null,i=Ui(e),a=dt(r,e,0,[e.props,n]),s=(0,o.yL)(a);if(T(),i(),!s&&!e.sp||Dn(e)||gn(e),s){if(a.then(Fi,Fi),t)return a.then((n=>{Zi(e,n,t)})).catch((t=>{ht(t,e,0)}));e.asyncDep=a}else Zi(e,a,t)}else Ki(e,t)}(e,t):void 0;return t&&Vi(!1),s}function Zi(e,t,n){(0,o.Tn)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,o.Gv)(t)&&(e.setupState=Ve(t)),Ki(e,n)}function Yi(e){Wi=e,Xi=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,xr))}}const Gi=()=>!Wi;function Ki(e,t,n){const r=e.type;if(!e.render){if(!t&&Wi&&!r.render){const t=r.template||Fr(e).template;if(t){const{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:s}=r,l=(0,o.X$)((0,o.X$)({isCustomElement:n,delimiters:a},i),s);r.render=Wi(t,l)}}e.render=r.render||o.tE,Xi&&Xi(e)}{const t=Ui(e);Q();try{!function(e){const t=Fr(e),n=e.proxy,r=e.ctx;Lr=!1,t.beforeCreate&&Vr(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:f,mounted:h,beforeUpdate:p,updated:m,activated:g,deactivated:A,beforeDestroy:v,beforeUnmount:y,destroyed:O,unmounted:b,render:w,renderTracked:_,renderTriggered:x,errorCaptured:S,serverPrefetch:k,expose:C,inheritAttrs:B,components:Q,directives:T,filters:E}=t;if(u&&function(e,t){(0,o.cy)(e)&&(e=jr(e));for(const n in e){const r=e[n];let i;i=(0,o.Gv)(r)?"default"in r?no(r.from||n,r.default,!0):no(r.from||n):no(r),Pe(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}(u,r),s)for(const e in s){const t=s[e];(0,o.Tn)(t)&&(r[e]=t.bind(n))}if(i){const t=i.call(n,n);(0,o.Gv)(t)&&(e.data=ye(t))}if(Lr=!0,a)for(const e in a){const t=a[e],i=(0,o.Tn)(t)?t.bind(n,n):(0,o.Tn)(t.get)?t.get.bind(n,n):o.tE,s=!(0,o.Tn)(t)&&(0,o.Tn)(t.set)?t.set.bind(n):o.tE,l=aa({get:i,set:s});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(l)for(const e in l)Ur(l[e],r,n,e);if(c){const e=(0,o.Tn)(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{to(t,e[t])}))}function P(e,t){(0,o.cy)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&Vr(d,e,"c"),P(Gn,f),P(Kn,h),P(Jn,p),P(er,m),P(Fn,g),P(Hn,A),P(ar,S),P(ir,_),P(or,x),P(tr,y),P(nr,b),P(rr,k),(0,o.cy)(C))if(C.length){const t=e.exposed||(e.exposed={});C.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});w&&e.render===o.tE&&(e.render=w),null!=B&&(e.inheritAttrs=B),Q&&(e.components=Q),T&&(e.directives=T),k&&gn(e)}(e)}finally{T(),t()}}}const Ji={get(e,t){return L(e,0,""),e[t]}};function ea(e){return{attrs:new Proxy(e.attrs,Ji),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function ta(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ve(Qe(e.exposed)),{get(t,n){return n in t?t[n]:n in br?br[n](e):void 0},has(e,t){return t in e||t in br}})):e.proxy}const na=/(?:^|[-_])(\w)/g,ra=e=>e.replace(na,(e=>e.toUpperCase())).replace(/[-_]/g,"");function oa(e,t=!0){return(0,o.Tn)(e)?e.displayName||e.name:e.name||t&&e.__name}function ia(e,t,n=!1){let r=oa(t);if(!r&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?ra(r):n?"App":"Anonymous"}const aa=(e,t)=>{const n=function(e,t,n=!1){let r,i;return(0,o.Tn)(e)?r=e:(r=e.get,i=e.set),new Ze(r,i,n)}(e,0,ji);return n};function sa(e,t,n){const r=arguments.length;return 2===r?(0,o.Gv)(t)&&!(0,o.cy)(t)?vi(t)?xi(e,null,[t]):xi(e,t):xi(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&vi(n)&&(n=[n]),xi(e,t,n))}function la(){}function ca(e,t,n,r){const o=n[r];if(o&&ua(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=r,n[r]=i}function ua(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if((0,o.$H)(n[e],t[e]))return!1;return hi>0&&ci&&ci.push(e),!0}const da="3.5.13",fa=o.tE,ha={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"},pa=Qt,ma=function e(t,n){var r,o;Qt=t,Qt?(Qt.enabled=!0,Tt.forEach((({event:e,args:t})=>Qt.emit(e,...t))),Tt=[]):"undefined"!=typeof window&&window.HTMLElement&&!(null==(o=null==(r=window.navigator)?void 0:r.userAgent)?void 0:o.includes("jsdom"))?((n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((t=>{e(t,n)})),setTimeout((()=>{Qt||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Et=!0,Tt=[])}),3e3)):(Et=!0,Tt=[])},ga={createComponentInstance:Di,setupComponent:qi,renderComponentRoot:Wo,setCurrentRenderingInstance:Mt,isVNode:vi,normalizeVNode:Ti,getComponentPublicInstance:ta,ensureValidVNode:vr,pushWarningContext:function(e){ot.push(e)},popWarningContext:function(){ot.pop()}},Aa=null,va=null,ya=null;let Oa;const ba="undefined"!=typeof window&&window.trustedTypes;if(ba)try{Oa=ba.createPolicy("vue",{createHTML:e=>e})}catch(e){}const wa=Oa?e=>Oa.createHTML(e):e=>e,_a="undefined"!=typeof document?document:null,xa=_a&&_a.createElement("template"),Sa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o="svg"===t?_a.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?_a.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?_a.createElement(e,{is:n}):_a.createElement(e);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>_a.createTextNode(e),createComment:e=>_a.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_a.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==i&&(o=o.nextSibling););else{xa.innerHTML=wa("svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e);const o=xa.content;if("svg"===r||"mathml"===r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ka="transition",Ca="animation",Ba=Symbol("_vtc"),Qa={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ta=(0,o.X$)({},rn,Qa),Ea=(e=>(e.displayName="Transition",e.props=Ta,e))(((e,{slots:t})=>sa(sn,Ma(e),t))),Pa=(e,t=[])=>{(0,o.cy)(e)?e.forEach((e=>e(...t))):e&&e(...t)},$a=e=>!!e&&((0,o.cy)(e)?e.some((e=>e.length>1)):e.length>1);function Ma(e){const t={};for(const n in e)n in Qa||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:u=s,appearToClass:d=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if((0,o.Gv)(e))return[za(e.enter),za(e.leave)];{const t=za(e);return[t,t]}}(i),g=m&&m[0],A=m&&m[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:O,onLeave:b,onLeaveCancelled:w,onBeforeAppear:_=v,onAppear:x=y,onAppearCancelled:S=O}=t,k=(e,t,n,r)=>{e._enterCancelled=r,Da(e,t?d:l),Da(e,t?u:s),n&&n()},C=(e,t)=>{e._isLeaving=!1,Da(e,f),Da(e,p),Da(e,h),t&&t()},B=e=>(t,n)=>{const o=e?x:y,i=()=>k(t,e,n);Pa(o,[t,i]),Ia((()=>{Da(t,e?c:a),Ra(t,e?d:l),$a(o)||La(t,r,g,i)}))};return(0,o.X$)(t,{onBeforeEnter(e){Pa(v,[e]),Ra(e,a),Ra(e,s)},onBeforeAppear(e){Pa(_,[e]),Ra(e,c),Ra(e,u)},onEnter:B(!1),onAppear:B(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>C(e,t);Ra(e,f),e._enterCancelled?(Ra(e,h),Ha()):(Ha(),Ra(e,h)),Ia((()=>{e._isLeaving&&(Da(e,f),Ra(e,p),$a(b)||La(e,r,A,n))})),Pa(b,[e,n])},onEnterCancelled(e){k(e,!1,void 0,!0),Pa(O,[e])},onAppearCancelled(e){k(e,!0,void 0,!0),Pa(S,[e])},onLeaveCancelled(e){C(e),Pa(w,[e])}})}function za(e){return(0,o.Ro)(e)}function Ra(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Ba]||(e[Ba]=new Set)).add(t)}function Da(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Ba];n&&(n.delete(t),n.size||(e[Ba]=void 0))}function Ia(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Na=0;function La(e,t,n,r){const o=e._endId=++Na,i=()=>{o===e._endId&&r()};if(null!=n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=Va(e,t);if(!a)return r();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),s+1),e.addEventListener(c,f)}function Va(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r(`${ka}Delay`),i=r(`${ka}Duration`),a=Ua(o,i),s=r(`${Ca}Delay`),l=r(`${Ca}Duration`),c=Ua(s,l);let u=null,d=0,f=0;return t===ka?a>0&&(u=ka,d=a,f=i.length):t===Ca?c>0&&(u=Ca,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?ka:Ca:null,f=u?u===ka?i.length:l.length:0),{type:u,timeout:d,propCount:f,hasTransform:u===ka&&/\b(transform|all)(,|$)/.test(r(`${ka}Property`).toString())}}function Ua(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Fa(t)+Fa(e[n]))))}function Fa(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Ha(){return document.body.offsetHeight}const Wa=Symbol("_vod"),Xa=Symbol("_vsh"),ja={beforeMount(e,{value:t},{transition:n}){e[Wa]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):qa(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),qa(e,!0),r.enter(e)):r.leave(e,(()=>{qa(e,!1)})):qa(e,t))},beforeUnmount(e,{value:t}){qa(e,t)}};function qa(e,t){e.style.display=t?e[Wa]:"none",e[Xa]=!t}const Za=Symbol("");function Ya(e){const t=Ni();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>Ka(e,n)))},r=()=>{const r=e(t.proxy);t.ce?Ka(t.ce,r):Ga(t.subTree,r),n(r)};Jn((()=>{xt(r)})),Kn((()=>{Ro(r,o.tE,{flush:"post"});const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),nr((()=>e.disconnect()))}))}function Ga(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{Ga(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Ka(e.el,t);else if(e.type===oi)e.children.forEach((e=>Ga(e,t)));else if(e.type===si){let{el:n,anchor:r}=e;for(;n&&(Ka(n,t),n!==r);)n=n.nextSibling}}function Ka(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t)n.setProperty(`--${e}`,t[e]),r+=`--${e}: ${t[e]};`;n[Za]=r}}const Ja=/(^|;)\s*display\s*:/,es=/\s*!important$/;function ts(e,t,n){if((0,o.cy)(n))n.forEach((n=>ts(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=rs[t];if(n)return n;let r=(0,o.PT)(t);if("filter"!==r&&r in e)return rs[t]=r;r=(0,o.ZH)(r);for(let n=0;n<ns.length;n++){const o=ns[n]+r;if(o in e)return rs[t]=o}return t}(e,t);es.test(n)?e.setProperty((0,o.Tg)(r),n.replace(es,""),"important"):e[r]=n}}const ns=["Webkit","Moz","ms"],rs={},os="http://www.w3.org/1999/xlink";function is(e,t,n,r,i,a=(0,o.J$)(t)){r&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(os,t.slice(6,t.length)):e.setAttributeNS(os,t,n):null==n||a&&!(0,o.Y2)(n)?e.removeAttribute(t):e.setAttribute(t,a?"":(0,o.Bm)(n)?String(n):n)}function as(e,t,n,r,i){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?wa(n):n));const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){const r="OPTION"===a?e.getAttribute("value")||"":e.value,o=null==n?"checkbox"===e.type?"on":"":String(n);return r===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let s=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=(0,o.Y2)(n):null==n&&"string"===r?(n="",s=!0):"number"===r&&(n=0,s=!0)}try{e[t]=n}catch(e){}s&&e.removeAttribute(i||t)}function ss(e,t,n,r){e.addEventListener(t,n,r)}const ls=Symbol("_vei");const cs=/(?:Once|Passive|Capture)$/;let us=0;const ds=Promise.resolve(),fs=()=>us||(ds.then((()=>us=0)),us=Date.now()),hs=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ps={};function ms(e,t,n){const r=pn(e,t);(0,o.Qd)(r)&&(0,o.X$)(r,t);class i extends vs{constructor(e){super(r,e,n)}}return i.def=r,i}const gs=(e,t)=>ms(e,t,ol),As="undefined"!=typeof HTMLElement?HTMLElement:class{};class vs extends As{constructor(e,t={},n=rl){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==rl?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof vs){this._parent=e;break}this._instance||(this._resolved?(this._setParent(),this._update()):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then((()=>{this._pendingResolve=void 0,this._resolveDef()})):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._instance.provides=e._instance.provides)}disconnectedCallback(){this._connected=!1,bt((()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)}))}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:r}=e;let i;if(n&&!(0,o.cy)(n))for(const e in n){const t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=(0,o.Ro)(this._props[e])),(i||(i=Object.create(null)))[(0,o.PT)(e)]=!0)}this._numberProps=i,t&&this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then((t=>e(this._def=t,!0))):e(this._def)}_mount(e){this._app=this._createApp(e),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&&this._instance.exposed;if(t)for(const e in t)(0,o.$3)(this,e)||Object.defineProperty(this,e,{get:()=>Ie(t[e])})}_resolveProps(e){const{props:t}=e,n=(0,o.cy)(t)?t:Object.keys(t||{});for(const e of Object.keys(this))"_"!==e[0]&&n.includes(e)&&this._setProp(e,this[e]);for(const e of n.map(o.PT))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let n=t?this.getAttribute(e):ps;const r=(0,o.PT)(e);t&&this._numberProps&&this._numberProps[r]&&(n=(0,o.Ro)(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(t===ps?delete this._props[e]:(this._props[e]=t,"key"===e&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){const n=this._ob;n&&n.disconnect(),!0===t?this.setAttribute((0,o.Tg)(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute((0,o.Tg)(e),t+""):t||this.removeAttribute((0,o.Tg)(e)),n&&n.observe(this,{attributes:!0})}}_update(){tl(this._createVNode(),this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const t=xi(this._def,(0,o.X$)(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,(0,o.Qd)(t[0])?(0,o.X$)({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),(0,o.Tg)(e)!==e&&t((0,o.Tg)(e),n)},this._setParent()}),t}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const n=this._nonce;for(let t=e.length-1;t>=0;t--){const r=document.createElement("style");n&&r.setAttribute("nonce",n),r.textContent=e[t],this.shadowRoot.prepend(r)}}_parseSlots(){const e=this._slots={};let t;for(;t=this.firstChild;){const n=1===t.nodeType&&t.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){const e=(this._teleportTarget||this).querySelectorAll("slot"),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){const r=e[n],o=r.getAttribute("name")||"default",i=this._slots[o],a=r.parentNode;if(i)for(const e of i){if(t&&1===e.nodeType){const n=t+"-s",r=document.createTreeWalker(e,1);let o;for(e.setAttribute(n,"");o=r.nextNode();)o.setAttribute(n,"")}a.insertBefore(e,r)}else for(;r.firstChild;)a.insertBefore(r.firstChild,r);a.removeChild(r)}}_injectChildStyle(e){this._applyStyles(e.styles,e)}_removeChildStyle(e){}}function ys(e){const t=Ni();return t&&t.ce||null}function Os(){const e=ys();return e&&e.shadowRoot}function bs(e="$style"){{const t=Ni();if(!t)return o.MZ;const n=t.type.__cssModules;if(!n)return o.MZ;return n[e]||o.MZ}}const ws=new WeakMap,_s=new WeakMap,xs=Symbol("_moveCb"),Ss=Symbol("_enterCb"),ks=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:(0,o.X$)({},Ta,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ni(),r=tn();let o,i;return er((()=>{if(!o.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const r=e.cloneNode(),o=e[Ba];o&&o.forEach((e=>{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))})),n.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const i=1===t.nodeType?t:t.parentNode;i.appendChild(r);const{hasTransform:a}=Va(r);return i.removeChild(r),a}(o[0].el,n.vnode.el,t))return;o.forEach(Cs),o.forEach(Bs);const r=o.filter(Qs);Ha(),r.forEach((e=>{const n=e.el,r=n.style;Ra(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n[xs]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n[xs]=null,Da(n,t))};n.addEventListener("transitionend",o)}))})),()=>{const a=Be(e),s=Ma(a);let l=a.tag||oi;if(o=[],i)for(let e=0;e<i.length;e++){const t=i[e];t.el&&t.el instanceof Element&&(o.push(t),fn(t,cn(t,s,r,n)),ws.set(t,t.el.getBoundingClientRect()))}i=t.default?hn(t.default()):[];for(let e=0;e<i.length;e++){const t=i[e];null!=t.key&&fn(t,cn(t,s,r,n))}return xi(l,null,i)}}});function Cs(e){const t=e.el;t[xs]&&t[xs](),t[Ss]&&t[Ss]()}function Bs(e){_s.set(e,e.el.getBoundingClientRect())}function Qs(e){const t=ws.get(e),n=_s.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${r}px,${o}px)`,t.transitionDuration="0s",e}}const Ts=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,o.cy)(t)?e=>(0,o.DY)(t,e):t};function Es(e){e.target.composing=!0}function Ps(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const $s=Symbol("_assign"),Ms={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[$s]=Ts(i);const a=r||i.props&&"number"===i.props.type;ss(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),a&&(r=(0,o.bB)(r)),e[$s](r)})),n&&ss(e,"change",(()=>{e.value=e.value.trim()})),t||(ss(e,"compositionstart",Es),ss(e,"compositionend",Ps),ss(e,"change",Ps))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},s){if(e[$s]=Ts(s),e.composing)return;const l=null==t?"":t;if((!a&&"number"!==e.type||/^0\d/.test(e.value)?e.value:(0,o.bB)(e.value))!==l){if(document.activeElement===e&&"range"!==e.type){if(r&&t===n)return;if(i&&e.value.trim()===l)return}e.value=l}}},zs={deep:!0,created(e,t,n){e[$s]=Ts(n),ss(e,"change",(()=>{const t=e._modelValue,n=Ls(e),r=e.checked,i=e[$s];if((0,o.cy)(t)){const e=(0,o.u3)(t,n),a=-1!==e;if(r&&!a)i(t.concat(n));else if(!r&&a){const n=[...t];n.splice(e,1),i(n)}}else if((0,o.vM)(t)){const e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(Vs(e,r))}))},mounted:Rs,beforeUpdate(e,t,n){e[$s]=Ts(n),Rs(e,t,n)}};function Rs(e,{value:t,oldValue:n},r){let i;if(e._modelValue=t,(0,o.cy)(t))i=(0,o.u3)(t,r.props.value)>-1;else if((0,o.vM)(t))i=t.has(r.props.value);else{if(t===n)return;i=(0,o.BX)(t,Vs(e,!0))}e.checked!==i&&(e.checked=i)}const Ds={created(e,{value:t},n){e.checked=(0,o.BX)(t,n.props.value),e[$s]=Ts(n),ss(e,"change",(()=>{e[$s](Ls(e))}))},beforeUpdate(e,{value:t,oldValue:n},r){e[$s]=Ts(r),t!==n&&(e.checked=(0,o.BX)(t,r.props.value))}},Is={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=(0,o.vM)(t);ss(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?(0,o.bB)(Ls(e)):Ls(e)));e[$s](e.multiple?i?new Set(t):t:t[0]),e._assigning=!0,bt((()=>{e._assigning=!1}))})),e[$s]=Ts(r)},mounted(e,{value:t}){Ns(e,t)},beforeUpdate(e,t,n){e[$s]=Ts(n)},updated(e,{value:t}){e._assigning||Ns(e,t)}};function Ns(e,t){const n=e.multiple,r=(0,o.cy)(t);if(!n||r||(0,o.vM)(t)){for(let i=0,a=e.options.length;i<a;i++){const a=e.options[i],s=Ls(a);if(n)if(r){const e=typeof s;a.selected="string"===e||"number"===e?t.some((e=>String(e)===String(s))):(0,o.u3)(t,s)>-1}else a.selected=t.has(s);else if((0,o.BX)(Ls(a),t))return void(e.selectedIndex!==i&&(e.selectedIndex=i))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Ls(e){return"_value"in e?e._value:e.value}function Vs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Us={created(e,t,n){Hs(e,t,n,null,"created")},mounted(e,t,n){Hs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Hs(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Hs(e,t,n,r,"updated")}};function Fs(e,t){switch(e){case"SELECT":return Is;case"TEXTAREA":return Ms;default:switch(t){case"checkbox":return zs;case"radio":return Ds;default:return Ms}}}function Hs(e,t,n,r,o){const i=Fs(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}const Ws=["ctrl","shift","alt","meta"],Xs={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ws.some((n=>e[`${n}Key`]&&!t.includes(n)))},js=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e<t.length;e++){const r=Xs[t[e]];if(r&&r(n,t))return}return e(n,...r)})},qs={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Zs=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=(0,o.Tg)(n.key);return t.some((e=>e===r||qs[e]===r))?e(n):void 0})},Ys=(0,o.X$)({patchProp:(e,t,n,r,i,a)=>{const s="svg"===i;"class"===t?function(e,t,n){const r=e[Ba];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,s):"style"===t?function(e,t,n){const r=e.style,i=(0,o.Kg)(n);let a=!1;if(n&&!i){if(t)if((0,o.Kg)(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&ts(r,t,"")}else for(const e in t)null==n[e]&&ts(r,e,"");for(const e in n)"display"===e&&(a=!0),ts(r,e,n[e])}else if(i){if(t!==n){const e=r[Za];e&&(n+=";"+e),r.cssText=n,a=Ja.test(n)}}else t&&e.removeAttribute("style");Wa in e&&(e[Wa]=a?r.display:"",e[Xa]&&(r.display="none"))}(e,n,r):(0,o.Mp)(t)?(0,o.CP)(t)||function(e,t,n,r,i=null){const a=e[ls]||(e[ls]={}),s=a[t];if(r&&s)s.value=r;else{const[n,l]=function(e){let t;if(cs.test(e)){let n;for(t={};n=e.match(cs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):(0,o.Tg)(e.slice(2)),t]}(t);if(r){const s=a[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();ft(function(e,t){if((0,o.cy)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=fs(),n}(r,i);ss(e,n,s,l)}else s&&(function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,s,l),a[t]=void 0)}}(e,t,0,r,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&hs(t)&&(0,o.Tn)(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!hs(t)||!(0,o.Kg)(n))&&t in e}(e,t,r,s))?(as(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||is(e,t,r,s,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&(0,o.Kg)(r)?("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),is(e,t,r,s)):as(e,(0,o.PT)(t),r,0,t)}},Sa);let Gs,Ks=!1;function Js(){return Gs||(Gs=wo(Ys))}function el(){return Gs=Ks?Gs:_o(Ys),Ks=!0,Gs}const tl=(...e)=>{Js().render(...e)},nl=(...e)=>{el().hydrate(...e)},rl=(...e)=>{const t=Js().createApp(...e),{mount:n}=t;return t.mount=e=>{const r=al(e);if(!r)return;const i=t._component;(0,o.Tn)(i)||i.render||i.template||(i.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const a=n(r,!1,il(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t},ol=(...e)=>{const t=el().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=al(e);if(t)return n(t,!0,il(t))},t};function il(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function al(e){return(0,o.Kg)(e)?document.querySelector(e):e}let sl=!1;const ll=()=>{sl||(sl=!0,Ms.getSSRProps=({value:e})=>({value:e}),Ds.getSSRProps=({value:e},t)=>{if(t.props&&(0,o.BX)(t.props.value,e))return{checked:!0}},zs.getSSRProps=({value:e},t)=>{if((0,o.cy)(e)){if(t.props&&(0,o.u3)(e,t.props.value)>-1)return{checked:!0}}else if((0,o.vM)(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Us.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const n=Fs(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0},ja.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})},cl=Symbol(""),ul=Symbol(""),dl=Symbol(""),fl=Symbol(""),hl=Symbol(""),pl=Symbol(""),ml=Symbol(""),gl=Symbol(""),Al=Symbol(""),vl=Symbol(""),yl=Symbol(""),Ol=Symbol(""),bl=Symbol(""),wl=Symbol(""),_l=Symbol(""),xl=Symbol(""),Sl=Symbol(""),kl=Symbol(""),Cl=Symbol(""),Bl=Symbol(""),Ql=Symbol(""),Tl=Symbol(""),El=Symbol(""),Pl=Symbol(""),$l=Symbol(""),Ml=Symbol(""),zl=Symbol(""),Rl=Symbol(""),Dl=Symbol(""),Il=Symbol(""),Nl=Symbol(""),Ll=Symbol(""),Vl=Symbol(""),Ul=Symbol(""),Fl=Symbol(""),Hl=Symbol(""),Wl=Symbol(""),Xl=Symbol(""),jl=Symbol(""),ql={[cl]:"Fragment",[ul]:"Teleport",[dl]:"Suspense",[fl]:"KeepAlive",[hl]:"BaseTransition",[pl]:"openBlock",[ml]:"createBlock",[gl]:"createElementBlock",[Al]:"createVNode",[vl]:"createElementVNode",[yl]:"createCommentVNode",[Ol]:"createTextVNode",[bl]:"createStaticVNode",[wl]:"resolveComponent",[_l]:"resolveDynamicComponent",[xl]:"resolveDirective",[Sl]:"resolveFilter",[kl]:"withDirectives",[Cl]:"renderList",[Bl]:"renderSlot",[Ql]:"createSlots",[Tl]:"toDisplayString",[El]:"mergeProps",[Pl]:"normalizeClass",[$l]:"normalizeStyle",[Ml]:"normalizeProps",[zl]:"guardReactiveProps",[Rl]:"toHandlers",[Dl]:"camelize",[Il]:"capitalize",[Nl]:"toHandlerKey",[Ll]:"setBlockTracking",[Vl]:"pushScopeId",[Ul]:"popScopeId",[Fl]:"withCtx",[Hl]:"unref",[Wl]:"isRef",[Xl]:"withMemo",[jl]:"isMemoSame"},Zl={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Yl(e,t,n,r,o,i,a,s=!1,l=!1,c=!1,u=Zl){return e&&(s?(e.helper(pl),e.helper(ac(e.inSSR,c))):e.helper(ic(e.inSSR,c)),a&&e.helper(kl)),{type:13,tag:t,props:n,children:r,patchFlag:o,dynamicProps:i,directives:a,isBlock:s,disableTracking:l,isComponent:c,loc:u}}function Gl(e,t=Zl){return{type:17,loc:t,elements:e}}function Kl(e,t=Zl){return{type:15,loc:t,properties:e}}function Jl(e,t){return{type:16,loc:Zl,key:(0,o.Kg)(e)?ec(e,!0):e,value:t}}function ec(e,t=!1,n=Zl,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function tc(e,t=Zl){return{type:8,loc:t,children:e}}function nc(e,t=[],n=Zl){return{type:14,loc:n,callee:e,arguments:t}}function rc(e,t=void 0,n=!1,r=!1,o=Zl){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:o}}function oc(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:Zl}}function ic(e,t){return e||t?Al:vl}function ac(e,t){return e||t?ml:gl}function sc(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(ic(r,e.isComponent)),t(pl),t(ac(r,e.isComponent)))}const lc=new Uint8Array([123,123]),cc=new Uint8Array([125,125]);function uc(e){return e>=97&&e<=122||e>=65&&e<=90}function dc(e){return 32===e||10===e||9===e||12===e||13===e}function fc(e){return 47===e||62===e||dc(e)}function hc(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const pc={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};function mc(e,{compatConfig:t}){const n=t&&t[e];return"MODE"===e?n||3:n}function gc(e,t){const n=mc("MODE",t),r=mc(e,t);return 3===n?!0===r:!1!==r}function Ac(e,t,n,...r){return gc(e,t)}function vc(e){throw e}function yc(e){}function Oc(e,t,n,r){const o=new SyntaxError(String(`https://vuejs.org/error-reference/#compiler-${e}`));return o.code=e,o.loc=t,o}const bc=e=>4===e.type&&e.isStatic;function wc(e){switch(e){case"Teleport":case"teleport":return ul;case"Suspense":case"suspense":return dl;case"KeepAlive":case"keep-alive":return fl;case"BaseTransition":case"base-transition":return hl}}const _c=/^\d|[^\$\w\xA0-\uFFFF]/,xc=e=>!_c.test(e),Sc=/[A-Za-z_$\xA0-\uFFFF]/,kc=/[\.\?\w$\xA0-\uFFFF]/,Cc=/\s+[.[]\s*|\s*[.[]\s+/g,Bc=e=>4===e.type?e.content:e.loc.source,Qc=e=>{const t=Bc(e).trim().replace(Cc,(e=>e.trim()));let n=0,r=[],o=0,i=0,a=null;for(let e=0;e<t.length;e++){const s=t.charAt(e);switch(n){case 0:if("["===s)r.push(n),n=1,o++;else if("("===s)r.push(n),n=2,i++;else if(!(0===e?Sc:kc).test(s))return!1;break;case 1:"'"===s||'"'===s||"`"===s?(r.push(n),n=3,a=s):"["===s?o++:"]"===s&&(--o||(n=r.pop()));break;case 2:if("'"===s||'"'===s||"`"===s)r.push(n),n=3,a=s;else if("("===s)i++;else if(")"===s){if(e===t.length-1)return!1;--i||(n=r.pop())}break;case 3:s===a&&(n=r.pop(),a=null)}}return!o&&!i},Tc=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;function Ec(e,t,n=!1){for(let r=0;r<e.props.length;r++){const i=e.props[r];if(7===i.type&&(n||i.exp)&&((0,o.Kg)(t)?i.name===t:t.test(i.name)))return i}}function Pc(e,t,n=!1,r=!1){for(let o=0;o<e.props.length;o++){const i=e.props[o];if(6===i.type){if(n)continue;if(i.name===t&&(i.value||r))return i}else if("bind"===i.name&&(i.exp||r)&&$c(i.arg,t))return i}}function $c(e,t){return!(!e||!bc(e)||e.content!==t)}function Mc(e){return 5===e.type||2===e.type}function zc(e){return 7===e.type&&"slot"===e.name}function Rc(e){return 1===e.type&&3===e.tagType}function Dc(e){return 1===e.type&&2===e.tagType}const Ic=new Set([Ml,zl]);function Nc(e,t=[]){if(e&&!(0,o.Kg)(e)&&14===e.type){const n=e.callee;if(!(0,o.Kg)(n)&&Ic.has(n))return Nc(e.arguments[0],t.concat(e))}return[e,t]}function Lc(e,t,n){let r,i,a=13===e.type?e.props:e.arguments[2],s=[];if(a&&!(0,o.Kg)(a)&&14===a.type){const e=Nc(a);a=e[0],s=e[1],i=s[s.length-1]}if(null==a||(0,o.Kg)(a))r=Kl([t]);else if(14===a.type){const e=a.arguments[0];(0,o.Kg)(e)||15!==e.type?a.callee===Rl?r=nc(n.helper(El),[Kl([t]),a]):a.arguments.unshift(Kl([t])):Vc(t,e)||e.properties.unshift(t),!r&&(r=a)}else 15===a.type?(Vc(t,a)||a.properties.unshift(t),r=a):(r=nc(n.helper(El),[Kl([t]),a]),i&&i.callee===zl&&(i=s[s.length-2]));13===e.type?i?i.arguments[0]=r:e.props=r:i?i.arguments[0]=r:e.arguments[2]=r}function Vc(e,t){let n=!1;if(4===e.key.type){const r=e.key.content;n=t.properties.some((e=>4===e.key.type&&e.key.content===r))}return n}function Uc(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}const Fc=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,Hc={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:o.NO,isPreTag:o.NO,isIgnoreNewlineTag:o.NO,isCustomElement:o.NO,onError:vc,onWarn:yc,comments:!1,prefixIdentifiers:!1};let Wc=Hc,Xc=null,jc="",qc=null,Zc=null,Yc="",Gc=-1,Kc=-1,Jc=0,eu=!1,tu=null;const nu=[],ru=new class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=lc,this.delimiterClose=cc,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=lc,this.delimiterClose=cc}getPos(e){let t=1,n=e+1;for(let r=this.newlines.length-1;r>=0;r--){const o=this.newlines[r];if(e>o){t=r+2,n=e-o;break}}return{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?fc(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||dc(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}return this.sectionStart=t+2,this.stateInClosingTagName(e),void(this.inRCDATA=!1)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===pc.TitleEnd||this.currentSequence===pc.TextareaEnd&&!this.inSFCRoot?this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)}stateCDATASequence(e){e===pc.Cdata[this.sequenceIndex]?++this.sequenceIndex===pc.Cdata.length&&(this.state=28,this.currentSequence=pc.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const t=this.buffer.charCodeAt(this.index);if(10===t&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===pc.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){33===e?(this.state=22,this.sectionStart=this.index+1):63===e?(this.state=24,this.sectionStart=this.index+1):uc(e)?(this.sectionStart=this.index,0===this.mode?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:this.state=116===e?30:115===e?29:6):47===e?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){fc(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(fc(e)){const t=this.buffer.slice(this.sectionStart,this.index);"template"!==t&&this.enterRCDATA(hc("</"+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){dc(e)||(62===e?(this.state=1,this.sectionStart=this.index+1):(this.state=uc(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(62===e||dc(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){62===e&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){62===e?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):47===e?this.state=7:60===e&&47===this.peek()?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):dc(e)||this.handleAttrStart(e)}handleAttrStart(e){118===e&&45===this.peek()?(this.state=13,this.sectionStart=this.index):46===e||58===e||64===e||35===e?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){62===e?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):dc(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(61===e||fc(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){61===e||fc(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):58===e?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):46===e&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){61===e||fc(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):91===e?this.state=15:46===e&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){93===e?this.state=14:(61===e||fc(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){61===e||fc(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):46===e&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){61===e?this.state=18:47===e||62===e?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):dc(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){34===e?(this.state=19,this.sectionStart=this.index+1):39===e?(this.state=20,this.sectionStart=this.index+1):dc(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(34===t?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){dc(e)||62===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):39!==e&&60!==e&&61!==e&&96!==e||this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){91===e?(this.state=26,this.sequenceIndex=0):this.state=45===e?25:23}stateInDeclaration(e){(62===e||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){45===e?(this.state=28,this.currentSequence=pc.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===pc.ScriptEnd[3]?this.startSpecial(pc.ScriptEnd,4):e===pc.StyleEnd[3]?this.startSpecial(pc.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===pc.TitleEnd[3]?this.startSpecial(pc.TitleEnd,4):e===pc.TextareaEnd[3]?this.startSpecial(pc.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);switch(10===e&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity()}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(1===this.state||32===this.state&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):19!==this.state&&20!==this.state&&21!==this.state||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(28===this.state?this.currentSequence===pc.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}}(nu,{onerr:_u,ontext(e,t){lu(au(e,t),e,t)},ontextentity(e,t,n){lu(e,t,n)},oninterpolation(e,t){if(eu)return lu(au(e,t),e,t);let n=e+ru.delimiterOpen.length,r=t-ru.delimiterClose.length;for(;dc(jc.charCodeAt(n));)n++;for(;dc(jc.charCodeAt(r-1));)r--;let o=au(n,r);o.includes("&")&&(o=Wc.decodeEntities(o,!1)),vu({type:5,content:wu(o,!1,yu(n,r)),loc:yu(e,t)})},onopentagname(e,t){const n=au(e,t);qc={type:1,tag:n,ns:Wc.getNamespace(n,nu[0],Wc.ns),tagType:0,props:[],children:[],loc:yu(e-1,t),codegenNode:void 0}},onopentagend(e){su(e)},onclosetag(e,t){const n=au(e,t);if(!Wc.isVoidTag(n)){let r=!1;for(let e=0;e<nu.length;e++)if(nu[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&_u(24,nu[0].loc.start.offset);for(let n=0;n<=e;n++)cu(nu.shift(),t,n<e);break}r||_u(23,uu(e,60))}},onselfclosingtag(e){const t=qc.tag;qc.isSelfClosing=!0,su(e),nu[0]&&nu[0].tag===t&&cu(nu.shift(),e)},onattribname(e,t){Zc={type:6,name:au(e,t),nameLoc:yu(e,t),value:void 0,loc:yu(e)}},ondirname(e,t){const n=au(e,t),r="."===n||":"===n?"bind":"@"===n?"on":"#"===n?"slot":n.slice(2);if(eu||""!==r||_u(26,e),eu||""===r)Zc={type:6,name:n,nameLoc:yu(e,t),value:void 0,loc:yu(e)};else if(Zc={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:"."===n?[ec("prop")]:[],loc:yu(e)},"pre"===r){eu=ru.inVPre=!0,tu=qc;const e=qc.props;for(let t=0;t<e.length;t++)7===e[t].type&&(e[t]=bu(e[t]))}},ondirarg(e,t){if(e===t)return;const n=au(e,t);if(eu)Zc.name+=n,Ou(Zc.nameLoc,t);else{const r="["!==n[0];Zc.arg=wu(r?n:n.slice(1,-1),r,yu(e,t),r?3:0)}},ondirmodifier(e,t){const n=au(e,t);if(eu)Zc.name+="."+n,Ou(Zc.nameLoc,t);else if("slot"===Zc.name){const e=Zc.arg;e&&(e.content+="."+n,Ou(e.loc,t))}else{const r=ec(n,!0,yu(e,t));Zc.modifiers.push(r)}},onattribdata(e,t){Yc+=au(e,t),Gc<0&&(Gc=e),Kc=t},onattribentity(e,t,n){Yc+=e,Gc<0&&(Gc=t),Kc=n},onattribnameend(e){const t=Zc.loc.start.offset,n=au(t,e);7===Zc.type&&(Zc.rawName=n),qc.props.some((e=>(7===e.type?e.rawName:e.name)===n))&&_u(2,t)},onattribend(e,t){if(qc&&Zc){if(Ou(Zc.loc,t),0!==e)if(Yc.includes("&")&&(Yc=Wc.decodeEntities(Yc,!0)),6===Zc.type)"class"===Zc.name&&(Yc=Au(Yc).trim()),1!==e||Yc||_u(13,t),Zc.value={type:2,content:Yc,loc:1===e?yu(Gc,Kc):yu(Gc-1,Kc+1)},ru.inSFCRoot&&"template"===qc.tag&&"lang"===Zc.name&&Yc&&"html"!==Yc&&ru.enterRCDATA(hc("</template"),0);else{let e=0;Zc.exp=wu(Yc,!1,yu(Gc,Kc),0,e),"for"===Zc.name&&(Zc.forParseResult=function(e){const t=e.loc,n=e.content,r=n.match(Fc);if(!r)return;const[,o,i]=r,a=(e,n,r=!1)=>{const o=t.start.offset+n;return wu(e,!1,yu(o,o+e.length),0,r?1:0)},s={source:a(i.trim(),n.indexOf(i,o.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=o.trim().replace(iu,"").trim();const c=o.indexOf(l),u=l.match(ou);if(u){l=l.replace(ou,"").trim();const e=u[1].trim();let t;if(e&&(t=n.indexOf(e,c+l.length),s.key=a(e,t,!0)),u[2]){const r=u[2].trim();r&&(s.index=a(r,n.indexOf(r,s.key?t+e.length:c+l.length),!0))}}return l&&(s.value=a(l,c,!0)),s}(Zc.exp));let t=-1;"bind"===Zc.name&&(t=Zc.modifiers.findIndex((e=>"sync"===e.content)))>-1&&Ac("COMPILER_V_BIND_SYNC",Wc,Zc.loc,Zc.rawName)&&(Zc.name="model",Zc.modifiers.splice(t,1))}7===Zc.type&&"pre"===Zc.name||qc.props.push(Zc)}Yc="",Gc=Kc=-1},oncomment(e,t){Wc.comments&&vu({type:3,content:au(e,t),loc:yu(e-4,t+3)})},onend(){const e=jc.length;for(let t=0;t<nu.length;t++)cu(nu[t],e-1),_u(24,nu[t].loc.start.offset)},oncdata(e,t){0!==nu[0].ns?lu(au(e,t),e,t):_u(1,e-9)},onprocessinginstruction(e){0===(nu[0]?nu[0].ns:Wc.ns)&&_u(21,e-1)}}),ou=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,iu=/^\(|\)$/g;function au(e,t){return jc.slice(e,t)}function su(e){ru.inSFCRoot&&(qc.innerLoc=yu(e+1,e+1)),vu(qc);const{tag:t,ns:n}=qc;0===n&&Wc.isPreTag(t)&&Jc++,Wc.isVoidTag(t)?cu(qc,e):(nu.unshift(qc),1!==n&&2!==n||(ru.inXML=!0)),qc=null}function lu(e,t,n){{const t=nu[0]&&nu[0].tag;"script"!==t&&"style"!==t&&e.includes("&")&&(e=Wc.decodeEntities(e,!1))}const r=nu[0]||Xc,o=r.children[r.children.length-1];o&&2===o.type?(o.content+=e,Ou(o.loc,n)):r.children.push({type:2,content:e,loc:yu(t,n)})}function cu(e,t,n=!1){Ou(e.loc,n?uu(t,60):function(e){let t=e;for(;62!==jc.charCodeAt(t)&&t<jc.length-1;)t++;return t}(t)+1),ru.inSFCRoot&&(e.children.length?e.innerLoc.end=(0,o.X$)({},e.children[e.children.length-1].loc.end):e.innerLoc.end=(0,o.X$)({},e.innerLoc.start),e.innerLoc.source=au(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:r,ns:i,children:a}=e;if(eu||("slot"===r?e.tagType=2:fu(e)?e.tagType=3:function({tag:e,props:t}){if(Wc.isCustomElement(e))return!1;if("component"===e||(n=e.charCodeAt(0))>64&&n<91||wc(e)||Wc.isBuiltInComponent&&Wc.isBuiltInComponent(e)||Wc.isNativeTag&&!Wc.isNativeTag(e))return!0;var n;for(let e=0;e<t.length;e++){const n=t[e];if(6===n.type){if("is"===n.name&&n.value){if(n.value.content.startsWith("vue:"))return!0;if(Ac("COMPILER_IS_ON_ELEMENT",Wc,n.loc))return!0}}else if("bind"===n.name&&$c(n.arg,"is")&&Ac("COMPILER_IS_ON_ELEMENT",Wc,n.loc))return!0}return!1}(e)&&(e.tagType=1)),ru.inRCDATA||(e.children=pu(a)),0===i&&Wc.isIgnoreNewlineTag(r)){const e=a[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}0===i&&Wc.isPreTag(r)&&Jc--,tu===e&&(eu=ru.inVPre=!1,tu=null),ru.inXML&&0===(nu[0]?nu[0].ns:Wc.ns)&&(ru.inXML=!1);{const t=e.props;if(!ru.inSFCRoot&&gc("COMPILER_NATIVE_TEMPLATE",Wc)&&"template"===e.tag&&!fu(e)){const t=nu[0]||Xc,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}const n=t.find((e=>6===e.type&&"inline-template"===e.name));n&&Ac("COMPILER_INLINE_TEMPLATE",Wc,n.loc)&&e.children.length&&(n.value={type:2,content:au(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function uu(e,t){let n=e;for(;jc.charCodeAt(n)!==t&&n>=0;)n--;return n}const du=new Set(["if","else","else-if","for","slot"]);function fu({tag:e,props:t}){if("template"===e)for(let e=0;e<t.length;e++)if(7===t[e].type&&du.has(t[e].name))return!0;return!1}const hu=/\r\n/g;function pu(e,t){const n="preserve"!==Wc.whitespace;let r=!1;for(let t=0;t<e.length;t++){const o=e[t];if(2===o.type)if(Jc)o.content=o.content.replace(hu,"\n");else if(mu(o.content)){const i=e[t-1]&&e[t-1].type,a=e[t+1]&&e[t+1].type;!i||!a||n&&(3===i&&(3===a||1===a)||1===i&&(3===a||1===a&&gu(o.content)))?(r=!0,e[t]=null):o.content=" "}else n&&(o.content=Au(o.content))}return r?e.filter(Boolean):e}function mu(e){for(let t=0;t<e.length;t++)if(!dc(e.charCodeAt(t)))return!1;return!0}function gu(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(10===n||13===n)return!0}return!1}function Au(e){let t="",n=!1;for(let r=0;r<e.length;r++)dc(e.charCodeAt(r))?n||(t+=" ",n=!0):(t+=e[r],n=!1);return t}function vu(e){(nu[0]||Xc).children.push(e)}function yu(e,t){return{start:ru.getPos(e),end:null==t?t:ru.getPos(t),source:null==t?t:au(e,t)}}function Ou(e,t){e.end=ru.getPos(t),e.source=au(e.start.offset,t)}function bu(e){const t={type:6,name:e.rawName,nameLoc:yu(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function wu(e,t=!1,n,r=0,o=0){return ec(e,t,n,r)}function _u(e,t,n){Wc.onError(Oc(e,yu(t,t)))}function xu(e,t){ku(e,void 0,t,Su(e,e.children[0]))}function Su(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Dc(t)}function ku(e,t,n,r=!1,i=!1){const{children:a}=e,s=[];for(let t=0;t<a.length;t++){const o=a[t];if(1===o.type&&0===o.tagType){const e=r?0:Cu(o,n);if(e>0){if(e>=2){o.codegenNode.patchFlag=-1,s.push(o);continue}}else{const e=o.codegenNode;if(13===e.type){const t=e.patchFlag;if((void 0===t||512===t||1===t)&&Tu(o,n)>=2){const t=Eu(o);t&&(e.props=n.hoist(t))}e.dynamicProps&&(e.dynamicProps=n.hoist(e.dynamicProps))}}}else if(12===o.type&&(r?0:Cu(o,n))>=2){s.push(o);continue}if(1===o.type){const t=1===o.tagType;t&&n.scopes.vSlot++,ku(o,e,n,!1,i),t&&n.scopes.vSlot--}else if(11===o.type)ku(o,e,n,1===o.children.length,!0);else if(9===o.type)for(let t=0;t<o.branches.length;t++)ku(o.branches[t],e,n,1===o.branches[t].children.length,i)}let l=!1;if(s.length===a.length&&1===e.type)if(0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&(0,o.cy)(e.codegenNode.children))e.codegenNode.children=c(Gl(e.codegenNode.children)),l=!0;else if(1===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&e.codegenNode.children&&!(0,o.cy)(e.codegenNode.children)&&15===e.codegenNode.children.type){const t=u(e.codegenNode,"default");t&&(t.returns=c(Gl(t.returns)),l=!0)}else if(3===e.tagType&&t&&1===t.type&&1===t.tagType&&t.codegenNode&&13===t.codegenNode.type&&t.codegenNode.children&&!(0,o.cy)(t.codegenNode.children)&&15===t.codegenNode.children.type){const n=Ec(e,"slot",!0),r=n&&n.arg&&u(t.codegenNode,n.arg);r&&(r.returns=c(Gl(r.returns)),l=!0)}if(!l)for(const e of s)e.codegenNode=n.cache(e.codegenNode);function c(e){const t=n.cache(e);return i&&n.hmr&&(t.needArraySpread=!0),t}function u(e,t){if(e.children&&!(0,o.cy)(e.children)&&15===e.children.type){const n=e.children.properties.find((e=>e.key===t||e.key.content===t));return n&&n.value}}s.length&&n.transformHoist&&n.transformHoist(a,n,e)}function Cu(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const r=n.get(e);if(void 0!==r)return r;const i=e.codegenNode;if(13!==i.type)return 0;if(i.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag&&"math"!==e.tag)return 0;if(void 0===i.patchFlag){let r=3;const o=Tu(e,t);if(0===o)return n.set(e,0),0;o<r&&(r=o);for(let o=0;o<e.children.length;o++){const i=Cu(e.children[o],t);if(0===i)return n.set(e,0),0;i<r&&(r=i)}if(r>1)for(let o=0;o<e.props.length;o++){const i=e.props[o];if(7===i.type&&"bind"===i.name&&i.exp){const o=Cu(i.exp,t);if(0===o)return n.set(e,0),0;o<r&&(r=o)}}if(i.isBlock){for(let t=0;t<e.props.length;t++)if(7===e.props[t].type)return n.set(e,0),0;t.removeHelper(pl),t.removeHelper(ac(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(ic(t.inSSR,i.isComponent))}return n.set(e,r),r}return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Cu(e.content,t);case 4:return e.constType;case 8:let a=3;for(let n=0;n<e.children.length;n++){const r=e.children[n];if((0,o.Kg)(r)||(0,o.Bm)(r))continue;const i=Cu(r,t);if(0===i)return 0;i<a&&(a=i)}return a;case 20:return 2}}const Bu=new Set([Pl,$l,Ml,zl]);function Qu(e,t){if(14===e.type&&!(0,o.Kg)(e.callee)&&Bu.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Cu(n,t);if(14===n.type)return Qu(n,t)}return 0}function Tu(e,t){let n=3;const r=Eu(e);if(r&&15===r.type){const{properties:e}=r;for(let r=0;r<e.length;r++){const{key:o,value:i}=e[r],a=Cu(o,t);if(0===a)return a;let s;if(a<n&&(n=a),s=4===i.type?Cu(i,t):14===i.type?Qu(i,t):0,0===s)return s;s<n&&(n=s)}}return n}function Eu(e){const t=e.codegenNode;if(13===t.type)return t.props}function Pu(e,t){const n=function(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:i=!1,cacheHandlers:a=!1,nodeTransforms:s=[],directiveTransforms:l={},transformHoist:c=null,isBuiltInComponent:u=o.tE,isCustomElement:d=o.tE,expressionPlugins:f=[],scopeId:h=null,slotted:p=!0,ssr:m=!1,inSSR:g=!1,ssrCssVars:A="",bindingMetadata:v=o.MZ,inline:y=!1,isTS:O=!1,onError:b=vc,onWarn:w=yc,compatConfig:_}){const x=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),S={filename:t,selfName:x&&(0,o.ZH)((0,o.PT)(x[1])),prefixIdentifiers:n,hoistStatic:r,hmr:i,cacheHandlers:a,nodeTransforms:s,directiveTransforms:l,transformHoist:c,isBuiltInComponent:u,isCustomElement:d,expressionPlugins:f,scopeId:h,slotted:p,ssr:m,inSSR:g,ssrCssVars:A,bindingMetadata:v,inline:y,isTS:O,onError:b,onWarn:w,compatConfig:_,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=S.helpers.get(e)||0;return S.helpers.set(e,t+1),e},removeHelper(e){const t=S.helpers.get(e);if(t){const n=t-1;n?S.helpers.set(e,n):S.helpers.delete(e)}},helperString(e){return`_${ql[S.helper(e)]}`},replaceNode(e){S.parent.children[S.childIndex]=S.currentNode=e},removeNode(e){const t=S.parent.children,n=e?t.indexOf(e):S.currentNode?S.childIndex:-1;e&&e!==S.currentNode?S.childIndex>n&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(n,1)},onNodeRemoved:o.tE,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){(0,o.Kg)(e)&&(e=ec(e)),S.hoists.push(e);const t=ec(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){const r=function(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:Zl}}(S.cached.length,e,t,n);return S.cached.push(r),r}};return S.filters=new Set,S}(e,t);$u(e,n),t.hoistStatic&&xu(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:r}=e;if(1===r.length){const n=r[0];if(Su(e,n)&&n.codegenNode){const r=n.codegenNode;13===r.type&&sc(r,t),e.codegenNode=r}else e.codegenNode=n}else if(r.length>1){let r=64;e.codegenNode=Yl(t,n(cl),void 0,e.children,r,void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function $u(e,t){t.currentNode=e;const{nodeTransforms:n}=t,r=[];for(let i=0;i<n.length;i++){const a=n[i](e,t);if(a&&((0,o.cy)(a)?r.push(...a):r.push(a)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(yl);break;case 5:t.ssr||t.helper(Tl);break;case 9:for(let n=0;n<e.branches.length;n++)$u(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const r=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];(0,o.Kg)(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,$u(i,t))}}(e,t)}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function Mu(e,t){const n=(0,o.Kg)(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:o}=e;if(3===e.tagType&&o.some(zc))return;const i=[];for(let a=0;a<o.length;a++){const s=o[a];if(7===s.type&&n(s.name)){o.splice(a,1),a--;const n=t(e,s,r);n&&i.push(n)}}return i}}}const zu="/*@__PURE__*/",Ru=e=>`${ql[e]}: _${ql[e]}`;function Du(e,t,{helper:n,push:r,newline:o,isTS:i}){const a=n("filter"===t?Sl:"component"===t?wl:xl);for(let n=0;n<e.length;n++){let s=e[n];const l=s.endsWith("__self");l&&(s=s.slice(0,-6)),r(`const ${Uc(s,t)} = ${a}(${JSON.stringify(s)}${l?", true":""})${i?"!":""}`),n<e.length-1&&o()}}function Iu(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Nu(e,t,n),n&&t.deindent(),t.push("]")}function Nu(e,t,n=!1,r=!0){const{push:i,newline:a}=t;for(let s=0;s<e.length;s++){const l=e[s];(0,o.Kg)(l)?i(l,-3):(0,o.cy)(l)?Iu(l,t):Lu(l,t),s<e.length-1&&(n?(r&&i(","),a()):r&&i(", "))}}function Lu(e,t){if((0,o.Kg)(e))t.push(e,-3);else if((0,o.Bm)(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:Lu(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),-3,e)}(e,t);break;case 4:Vu(e,t);break;case 5:!function(e,t){const{push:n,helper:r,pure:o}=t;o&&n(zu),n(`${r(Tl)}(`),Lu(e.content,t),n(")")}(e,t);break;case 8:Uu(e,t);break;case 3:!function(e,t){const{push:n,helper:r,pure:o}=t;o&&n(zu),n(`${r(yl)}(${JSON.stringify(e.content)})`,-3,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:r,pure:o}=t,{tag:i,props:a,children:s,patchFlag:l,dynamicProps:c,directives:u,isBlock:d,disableTracking:f,isComponent:h}=e;let p;l&&(p=String(l)),u&&n(r(kl)+"("),d&&n(`(${r(pl)}(${f?"true":""}), `),o&&n(zu);n(r(d?ac(t.inSSR,h):ic(t.inSSR,h))+"(",-2,e),Nu(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([i,a,s,p,c]),t),n(")"),d&&n(")"),u&&(n(", "),Lu(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:r,pure:i}=t,a=(0,o.Kg)(e.callee)?e.callee:r(e.callee);i&&n(zu),n(a+"(",-2,e),Nu(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:r,deindent:o,newline:i}=t,{properties:a}=e;if(!a.length)return void n("{}",-2,e);const s=a.length>1||!1;n(s?"{":"{ "),s&&r();for(let e=0;e<a.length;e++){const{key:r,value:o}=a[e];Fu(r,t),n(": "),Lu(o,t),e<a.length-1&&(n(","),i())}s&&o(),n(s?"}":" }")}(e,t);break;case 17:!function(e,t){Iu(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:r,deindent:i}=t,{params:a,returns:s,body:l,newline:c,isSlot:u}=e;u&&n(`_${ql[Fl]}(`),n("(",-2,e),(0,o.cy)(a)?Nu(a,t):a&&Lu(a,t),n(") => "),(c||l)&&(n("{"),r()),s?(c&&n("return "),(0,o.cy)(s)?Iu(s,t):Lu(s,t)):l&&Lu(l,t),(c||l)&&(i(),n("}")),u&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:r,alternate:o,newline:i}=e,{push:a,indent:s,deindent:l,newline:c}=t;if(4===n.type){const e=!xc(n.content);e&&a("("),Vu(n,t),e&&a(")")}else a("("),Lu(n,t),a(")");i&&s(),t.indentLevel++,i||a(" "),a("? "),Lu(r,t),t.indentLevel--,i&&c(),i||a(" "),a(": ");const u=19===o.type;u||t.indentLevel++,Lu(o,t),u||t.indentLevel--,i&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:r,indent:o,deindent:i,newline:a}=t,{needPauseTracking:s,needArraySpread:l}=e;l&&n("[...("),n(`_cache[${e.index}] || (`),s&&(o(),n(`${r(Ll)}(-1`),e.inVOnce&&n(", true"),n("),"),a(),n("(")),n(`_cache[${e.index}] = `),Lu(e.value,t),s&&(n(`).cacheIndex = ${e.index},`),a(),n(`${r(Ll)}(1),`),a(),n(`_cache[${e.index}]`),i()),n(")"),l&&n(")]")}(e,t);break;case 21:Nu(e.body,t,!0,!1)}}function Vu(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function Uu(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];(0,o.Kg)(r)?t.push(r,-3):Lu(r,t)}}function Fu(e,t){const{push:n}=t;8===e.type?(n("["),Uu(e,t),n("]")):e.isStatic?n(xc(e.content)?e.content:JSON.stringify(e.content),-2,e):n(`[${e.content}]`,-3,e)}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const Hu=Mu(/^(if|else|else-if)$/,((e,t,n)=>function(e,t,n,r){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(Oc(28,t.loc)),t.exp=ec("true",!1,r)}if("if"===t.name){const i=Wu(e,t),a={type:9,loc:(o=e.loc,yu(o.start.offset,o.end.offset)),branches:[i]};if(n.replaceNode(a),r)return r(a,i,!0)}else{const o=n.parent.children;let i=o.indexOf(e);for(;i-- >=-1;){const a=o[i];if(a&&3===a.type)n.removeNode(a);else{if(!a||2!==a.type||a.content.trim().length){if(a&&9===a.type){"else-if"===t.name&&void 0===a.branches[a.branches.length-1].condition&&n.onError(Oc(30,e.loc)),n.removeNode();const o=Wu(e,t);a.branches.push(o);const i=r&&r(a,o,!1);$u(o,n),i&&i(),n.currentNode=null}else n.onError(Oc(30,e.loc));break}n.removeNode(a)}}}var o}(e,t,n,((e,t,r)=>{const o=n.parent.children;let i=o.indexOf(e),a=0;for(;i-- >=0;){const e=o[i];e&&9===e.type&&(a+=e.branches.length)}return()=>{if(r)e.codegenNode=Xu(t,a,n);else{const r=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);r.alternate=Xu(t,a+e.branches.length-1,n)}}}))));function Wu(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!Ec(e,"for")?e.children:[e],userKey:Pc(e,"key"),isTemplateIf:n}}function Xu(e,t,n){return e.condition?oc(e.condition,ju(e,t,n),nc(n.helper(yl),['""',"true"])):ju(e,t,n)}function ju(e,t,n){const{helper:r}=n,o=Jl("key",ec(`${t}`,!1,Zl,2)),{children:i}=e,a=i[0];if(1!==i.length||1!==a.type){if(1===i.length&&11===a.type){const e=a.codegenNode;return Lc(e,o,n),e}{let t=64;return Yl(n,r(cl),Kl([o]),i,t,void 0,void 0,!0,!1,!1,e.loc)}}{const e=a.codegenNode,t=14===(s=e).type&&s.callee===Xl?s.arguments[1].returns:s;return 13===t.type&&sc(t,n),Lc(t,o,n),e}var s}const qu=(e,t,n)=>{const{modifiers:r,loc:i}=e,a=e.arg;let{exp:s}=e;if(s&&4===s.type&&!s.content.trim()&&(s=void 0),!s){if(4!==a.type||!a.isStatic)return n.onError(Oc(52,a.loc)),{props:[Jl(a,ec("",!0,i))]};Zu(e),s=e.exp}return 4!==a.type?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),r.some((e=>"camel"===e.content))&&(4===a.type?a.isStatic?a.content=(0,o.PT)(a.content):a.content=`${n.helperString(Dl)}(${a.content})`:(a.children.unshift(`${n.helperString(Dl)}(`),a.children.push(")"))),n.inSSR||(r.some((e=>"prop"===e.content))&&Yu(a,"."),r.some((e=>"attr"===e.content))&&Yu(a,"^")),{props:[Jl(a,s)]}},Zu=(e,t)=>{const n=e.arg,r=(0,o.PT)(n.content);e.exp=ec(r,!1,n.loc)},Yu=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Gu=Mu("for",((e,t,n)=>{const{helper:r,removeHelper:o}=n;return function(e,t,n,r){if(!t.exp)return void n.onError(Oc(31,t.loc));const o=t.forParseResult;if(!o)return void n.onError(Oc(32,t.loc));Ku(o);const{addIdentifiers:i,removeIdentifiers:a,scopes:s}=n,{source:l,value:c,key:u,index:d}=o,f={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:d,parseResult:o,children:Rc(e)?e.children:[e]};n.replaceNode(f),s.vFor++;const h=r&&r(f);return()=>{s.vFor--,h&&h()}}(e,t,n,(t=>{const i=nc(r(Cl),[t.source]),a=Rc(e),s=Ec(e,"memo"),l=Pc(e,"key",!1,!0);l&&7===l.type&&!l.exp&&Zu(l);let c=l&&(6===l.type?l.value?ec(l.value.content,!0):void 0:l.exp);const u=l&&c?Jl("key",c):null,d=4===t.source.type&&t.source.constType>0,f=d?64:l?128:256;return t.codegenNode=Yl(n,r(cl),void 0,i,f,void 0,void 0,!0,!d,!1,e.loc),()=>{let l;const{children:f}=t,h=1!==f.length||1!==f[0].type,p=Dc(e)?e:a&&1===e.children.length&&Dc(e.children[0])?e.children[0]:null;if(p?(l=p.codegenNode,a&&u&&Lc(l,u,n)):h?l=Yl(n,r(cl),u?Kl([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(l=f[0].codegenNode,a&&u&&Lc(l,u,n),l.isBlock!==!d&&(l.isBlock?(o(pl),o(ac(n.inSSR,l.isComponent))):o(ic(n.inSSR,l.isComponent))),l.isBlock=!d,l.isBlock?(r(pl),r(ac(n.inSSR,l.isComponent))):r(ic(n.inSSR,l.isComponent))),s){const e=rc(Ju(t.parseResult,[ec("_cached")]));e.body={type:21,body:[tc(["const _memo = (",s.exp,")"]),tc(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(jl)}(_cached, _memo)) return _cached`]),tc(["const _item = ",l]),ec("_item.memo = _memo"),ec("return _item")],loc:Zl},i.arguments.push(e,ec("_cache"),ec(String(n.cached.length))),n.cached.push(null)}else i.arguments.push(rc(Ju(t.parseResult),l,!0))}}))}));function Ku(e,t){e.finalized||(e.finalized=!0)}function Ju({value:e,key:t,index:n},r=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||ec("_".repeat(t+1),!1)))}([e,t,n,...r])}const ed=ec("undefined",!1),td=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Ec(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},nd=(e,t,n,r)=>rc(e,n,!1,!0,n.length?n[0].loc:r);function rd(e,t,n=nd){t.helper(Fl);const{children:r,loc:o}=e,i=[],a=[];let s=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Ec(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!bc(e)&&(s=!0),i.push(Jl(e||ec("default",!0),n(t,void 0,r,o)))}let c=!1,u=!1;const d=[],f=new Set;let h=0;for(let e=0;e<r.length;e++){const o=r[e];let p;if(!Rc(o)||!(p=Ec(o,"slot",!0))){3!==o.type&&d.push(o);continue}if(l){t.onError(Oc(37,p.loc));break}c=!0;const{children:m,loc:g}=o,{arg:A=ec("default",!0),exp:v,loc:y}=p;let O;bc(A)?O=A?A.content:"default":s=!0;const b=Ec(o,"for"),w=n(v,b,m,g);let _,x;if(_=Ec(o,"if"))s=!0,a.push(oc(_.exp,od(A,w,h++),ed));else if(x=Ec(o,/^else(-if)?$/,!0)){let n,o=e;for(;o--&&(n=r[o],3===n.type););if(n&&Rc(n)&&Ec(n,/^(else-)?if$/)){let e=a[a.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=x.exp?oc(x.exp,od(A,w,h++),ed):od(A,w,h++)}else t.onError(Oc(30,x.loc))}else if(b){s=!0;const e=b.forParseResult;e?(Ku(e),a.push(nc(t.helper(Cl),[e.source,rc(Ju(e),od(A,w),!0)]))):t.onError(Oc(32,b.loc))}else{if(O){if(f.has(O)){t.onError(Oc(38,y));continue}f.add(O),"default"===O&&(u=!0)}i.push(Jl(A,w))}}if(!l){const e=(e,r)=>{const i=n(e,void 0,r,o);return t.compatConfig&&(i.isNonScopedSlot=!0),Jl("default",i)};c?d.length&&d.some((e=>ad(e)))&&(u?t.onError(Oc(39,d[0].loc)):i.push(e(void 0,d))):i.push(e(void 0,r))}const p=s?2:id(e.children)?3:1;let m=Kl(i.concat(Jl("_",ec(p+"",!1))),o);return a.length&&(m=nc(t.helper(Ql),[m,Gl(a)])),{slots:m,hasDynamicSlots:s}}function od(e,t,n){const r=[Jl("name",e),Jl("fn",t)];return null!=n&&r.push(Jl("key",ec(String(n),!0))),Kl(r)}function id(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||id(n.children))return!0;break;case 9:if(id(n.branches))return!0;break;case 10:case 11:if(id(n.children))return!0}}return!1}function ad(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():ad(e.content))}const sd=new WeakMap,ld=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:r}=e,i=1===e.tagType;let a=i?function(e,t,n=!1){let{tag:r}=e;const o=fd(r),i=Pc(e,"is",!1,!0);if(i)if(o||gc("COMPILER_IS_ON_ELEMENT",t)){let e;if(6===i.type?e=i.value&&ec(i.value.content,!0):(e=i.exp,e||(e=ec("is",!1,i.arg.loc))),e)return nc(t.helper(_l),[e])}else 6===i.type&&i.value.content.startsWith("vue:")&&(r=i.value.content.slice(4));const a=wc(r)||t.isBuiltInComponent(r);return a?(n||t.helper(a),a):(t.helper(wl),t.components.add(r),Uc(r,"component"))}(e,t):`"${n}"`;const s=(0,o.Gv)(a)&&a.callee===_l;let l,c,u,d,f,h=0,p=s||a===ul||a===dl||!i&&("svg"===n||"foreignObject"===n||"math"===n);if(r.length>0){const n=cd(e,t,void 0,i,s);l=n.props,h=n.patchFlag,d=n.dynamicPropNames;const r=n.directives;f=r&&r.length?Gl(r.map((e=>function(e,t){const n=[],r=sd.get(e);r?n.push(t.helperString(r)):(t.helper(xl),t.directives.add(e.name),n.push(Uc(e.name,"directive")));const{loc:o}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=ec("true",!1,o);n.push(Kl(e.modifiers.map((e=>Jl(e,t))),o))}return Gl(n,e.loc)}(e,t)))):void 0,n.shouldUseBlock&&(p=!0)}if(e.children.length>0)if(a===fl&&(p=!0,h|=1024),i&&a!==ul&&a!==fl){const{slots:n,hasDynamicSlots:r}=rd(e,t);c=n,r&&(h|=1024)}else if(1===e.children.length&&a!==ul){const n=e.children[0],r=n.type,o=5===r||8===r;o&&0===Cu(n,t)&&(h|=1),c=o||2===r?n:e.children}else c=e.children;d&&d.length&&(u=function(e){let t="[";for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=", ");return t+"]"}(d)),e.codegenNode=Yl(t,a,l,c,0===h?void 0:h,u,f,!!p,!1,i,e.loc)};function cd(e,t,n=e.props,r,i,a=!1){const{tag:s,loc:l,children:c}=e;let u=[];const d=[],f=[],h=c.length>0;let p=!1,m=0,g=!1,A=!1,v=!1,y=!1,O=!1,b=!1;const w=[],_=e=>{u.length&&(d.push(Kl(ud(u),l)),u=[]),e&&d.push(e)},x=()=>{t.scopes.vFor>0&&u.push(Jl(ec("ref_for",!0),ec("true")))},S=({key:e,value:n})=>{if(bc(e)){const a=e.content,s=(0,o.Mp)(a);if(!s||r&&!i||"onclick"===a.toLowerCase()||"onUpdate:modelValue"===a||(0,o.SU)(a)||(y=!0),s&&(0,o.SU)(a)&&(b=!0),s&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&Cu(n,t)>0)return;"ref"===a?g=!0:"class"===a?A=!0:"style"===a?v=!0:"key"===a||w.includes(a)||w.push(a),!r||"class"!==a&&"style"!==a||w.includes(a)||w.push(a)}else O=!0};for(let i=0;i<n.length;i++){const c=n[i];if(6===c.type){const{loc:e,name:n,nameLoc:r,value:o}=c;let i=!0;if("ref"===n&&(g=!0,x()),"is"===n&&(fd(s)||o&&o.content.startsWith("vue:")||gc("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(Jl(ec(n,!0,r),ec(o?o.content:"",i,o?o.loc:e)))}else{const{name:n,arg:i,exp:g,loc:A,modifiers:v}=c,y="bind"===n,b="on"===n;if("slot"===n){r||t.onError(Oc(40,A));continue}if("once"===n||"memo"===n)continue;if("is"===n||y&&$c(i,"is")&&(fd(s)||gc("COMPILER_IS_ON_ELEMENT",t)))continue;if(b&&a)continue;if((y&&$c(i,"key")||b&&h&&$c(i,"vue:before-update"))&&(p=!0),y&&$c(i,"ref")&&x(),!i&&(y||b)){if(O=!0,g)if(y){if(x(),_(),gc("COMPILER_V_BIND_OBJECT_ORDER",t)){d.unshift(g);continue}d.push(g)}else _({type:14,loc:A,callee:t.helper(Rl),arguments:r?[g]:[g,"true"]});else t.onError(Oc(y?34:35,A));continue}y&&v.some((e=>"prop"===e.content))&&(m|=32);const w=t.directiveTransforms[n];if(w){const{props:n,needRuntime:r}=w(c,e,t);!a&&n.forEach(S),b&&i&&!bc(i)?_(Kl(n,l)):u.push(...n),r&&(f.push(c),(0,o.Bm)(r)&&sd.set(c,r))}else(0,o.lk)(n)||(f.push(c),h&&(p=!0))}}let k;if(d.length?(_(),k=d.length>1?nc(t.helper(El),d,l):d[0]):u.length&&(k=Kl(ud(u),l)),O?m|=16:(A&&!r&&(m|=2),v&&!r&&(m|=4),w.length&&(m|=8),y&&(m|=32)),p||0!==m&&32!==m||!(g||b||f.length>0)||(m|=512),!t.inSSR&&k)switch(k.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<k.properties.length;t++){const o=k.properties[t].key;bc(o)?"class"===o.content?e=t:"style"===o.content&&(n=t):o.isHandlerKey||(r=!0)}const o=k.properties[e],i=k.properties[n];r?k=nc(t.helper(Ml),[k]):(o&&!bc(o.value)&&(o.value=nc(t.helper(Pl),[o.value])),i&&(v||4===i.value.type&&"["===i.value.content.trim()[0]||17===i.value.type)&&(i.value=nc(t.helper($l),[i.value])));break;case 14:break;default:k=nc(t.helper(Ml),[nc(t.helper(zl),[k])])}return{props:k,directives:f,patchFlag:m,dynamicPropNames:w,shouldUseBlock:p}}function ud(e){const t=new Map,n=[];for(let r=0;r<e.length;r++){const i=e[r];if(8===i.key.type||!i.key.isStatic){n.push(i);continue}const a=i.key.content,s=t.get(a);s?("style"===a||"class"===a||(0,o.Mp)(a))&&dd(s,i):(t.set(a,i),n.push(i))}return n}function dd(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Gl([e.value,t.value],e.loc)}function fd(e){return"component"===e||"Component"===e}const hd=(e,t)=>{if(Dc(e)){const{children:n,loc:r}=e,{slotName:i,slotProps:a}=function(e,t){let n,r='"default"';const i=[];for(let t=0;t<e.props.length;t++){const n=e.props[t];if(6===n.type)n.value&&("name"===n.name?r=JSON.stringify(n.value.content):(n.name=(0,o.PT)(n.name),i.push(n)));else if("bind"===n.name&&$c(n.arg,"name")){if(n.exp)r=n.exp;else if(n.arg&&4===n.arg.type){const e=(0,o.PT)(n.arg.content);r=n.exp=ec(e,!1,n.arg.loc)}}else"bind"===n.name&&n.arg&&bc(n.arg)&&(n.arg.content=(0,o.PT)(n.arg.content)),i.push(n)}if(i.length>0){const{props:r,directives:o}=cd(e,t,i,!1,!1);n=r,o.length&&t.onError(Oc(36,o[0].loc))}return{slotName:r,slotProps:n}}(e,t),s=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;a&&(s[2]=a,l=3),n.length&&(s[3]=rc([],n,!1,!1,r),l=4),t.scopeId&&!t.slotted&&(l=5),s.splice(l),e.codegenNode=nc(t.helper(Bl),s,r)}},pd=(e,t,n,r)=>{const{loc:i,modifiers:a,arg:s}=e;let l;if(e.exp||a.length||n.onError(Oc(35,i)),4===s.type)if(s.isStatic){let e=s.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),l=ec(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?(0,o.rU)((0,o.PT)(e)):`on:${e}`,!0,s.loc)}else l=tc([`${n.helperString(Nl)}(`,s,")"]);else l=s,l.children.unshift(`${n.helperString(Nl)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let u=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const e=Qc(c),t=!(e||(e=>Tc.test(Bc(e)))(c)),n=c.content.includes(";");(t||u&&e)&&(c=tc([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let d={props:[Jl(l,c||ec("() => {}",!1,i))]};return r&&(d=r(d)),u&&(d.props[0].value=n.cache(d.props[0].value)),d.props.forEach((e=>e.key.isHandlerKey=!0)),d},md=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let r,o=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Mc(t)){o=!0;for(let o=e+1;o<n.length;o++){const i=n[o];if(!Mc(i)){r=void 0;break}r||(r=n[e]=tc([t],t.loc)),r.children.push(" + ",i),n.splice(o,1),o--}}}if(o&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const r=n[e];if(Mc(r)||8===r.type){const o=[];2===r.type&&" "===r.content||o.push(r),t.ssr||0!==Cu(r,t)||o.push("1"),n[e]={type:12,content:r,loc:r.loc,codegenNode:nc(t.helper(Ol),o)}}}}},gd=new WeakSet,Ad=(e,t)=>{if(1===e.type&&Ec(e,"once",!0)){if(gd.has(e)||t.inVOnce||t.inSSR)return;return gd.add(e),t.inVOnce=!0,t.helper(Ll),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}}},vd=(e,t,n)=>{const{exp:r,arg:i}=e;if(!r)return n.onError(Oc(41,e.loc)),yd();const a=r.loc.source.trim(),s=4===r.type?r.content:a,l=n.bindingMetadata[a];if("props"===l||"props-aliased"===l)return n.onError(Oc(44,r.loc)),yd();if(!s.trim()||!Qc(r))return n.onError(Oc(42,r.loc)),yd();const c=i||ec("modelValue",!0),u=i?bc(i)?`onUpdate:${(0,o.PT)(i.content)}`:tc(['"onUpdate:" + ',i]):"onUpdate:modelValue";let d;d=tc([(n.isTS?"($event: any)":"$event")+" => ((",r,") = $event)"]);const f=[Jl(c,e.exp),Jl(u,d)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>e.content)).map((e=>(xc(e)?e:JSON.stringify(e))+": true")).join(", "),n=i?bc(i)?`${i.content}Modifiers`:tc([i,' + "Modifiers"']):"modelModifiers";f.push(Jl(n,ec(`{ ${t} }`,!1,e.loc,2)))}return yd(f)};function yd(e=[]){return{props:e}}const Od=/[\w).+\-_$\]]/,bd=(e,t)=>{gc("COMPILER_FILTERS",t)&&(5===e.type?wd(e.content,t):1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&wd(e.exp,t)})))};function wd(e,t){if(4===e.type)_d(e,t);else for(let n=0;n<e.children.length;n++){const r=e.children[n];"object"==typeof r&&(4===r.type?_d(r,t):8===r.type?wd(e,t):5===r.type&&wd(r.content,t))}}function _d(e,t){const n=e.content;let r,o,i,a,s=!1,l=!1,c=!1,u=!1,d=0,f=0,h=0,p=0,m=[];for(i=0;i<n.length;i++)if(o=r,r=n.charCodeAt(i),s)39===r&&92!==o&&(s=!1);else if(l)34===r&&92!==o&&(l=!1);else if(c)96===r&&92!==o&&(c=!1);else if(u)47===r&&92!==o&&(u=!1);else if(124!==r||124===n.charCodeAt(i+1)||124===n.charCodeAt(i-1)||d||f||h){switch(r){case 34:l=!0;break;case 39:s=!0;break;case 96:c=!0;break;case 40:h++;break;case 41:h--;break;case 91:f++;break;case 93:f--;break;case 123:d++;break;case 125:d--}if(47===r){let e,t=i-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&Od.test(e)||(u=!0)}}else void 0===a?(p=i+1,a=n.slice(0,i).trim()):g();function g(){m.push(n.slice(p,i).trim()),p=i+1}if(void 0===a?a=n.slice(0,i).trim():0!==p&&g(),m.length){for(i=0;i<m.length;i++)a=xd(a,m[i],t);e.content=a,e.ast=void 0}}function xd(e,t,n){n.helper(Sl);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${Uc(t,"filter")}(${e})`;{const o=t.slice(0,r),i=t.slice(r+1);return n.filters.add(o),`${Uc(o,"filter")}(${e}${")"!==i?","+i:i}`}}const Sd=new WeakSet,kd=(e,t)=>{if(1===e.type){const n=Ec(e,"memo");if(!n||Sd.has(e))return;return Sd.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&13===r.type&&(1!==e.tagType&&sc(r,t),e.codegenNode=nc(t.helper(Xl),[n.exp,rc(void 0,r),"_cache",String(t.cached.length)]),t.cached.push(null))}}};function Cd(e,t={}){const n=t.onError||vc,r="module"===t.mode;!0===t.prefixIdentifiers?n(Oc(47)):r&&n(Oc(48)),t.cacheHandlers&&n(Oc(49)),t.scopeId&&!r&&n(Oc(50));const i=(0,o.X$)({},t,{prefixIdentifiers:!1}),a=(0,o.Kg)(e)?function(e,t){if(ru.reset(),qc=null,Zc=null,Yc="",Gc=-1,Kc=-1,nu.length=0,jc=e,Wc=(0,o.X$)({},Hc),t){let e;for(e in t)null!=t[e]&&(Wc[e]=t[e])}ru.mode="html"===Wc.parseMode?1:"sfc"===Wc.parseMode?2:0,ru.inXML=1===Wc.ns||2===Wc.ns;const n=t&&t.delimiters;n&&(ru.delimiterOpen=hc(n[0]),ru.delimiterClose=hc(n[1]));const r=Xc=function(e,t=""){return{type:0,source:t,children:[],helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Zl}}(0,e);return ru.parse(jc),r.loc=yu(0,e.length),r.children=pu(r.children),Xc=null,r}(e,i):e,[s,l]=[[Ad,Hu,kd,Gu,bd,hd,ld,td,md],{on:pd,bind:qu,model:vd}];return Pu(a,(0,o.X$)({},i,{nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:(0,o.X$)({},l,t.directiveTransforms||{})})),function(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:r=!1,filename:o="template.vue.html",scopeId:i=null,optimizeImports:a=!1,runtimeGlobalName:s="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:d=!1,inSSR:f=!1}){const h={mode:t,prefixIdentifiers:n,sourceMap:r,filename:o,scopeId:i,optimizeImports:a,runtimeGlobalName:s,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:d,inSSR:f,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(e){return`_${ql[e]}`},push(e,t=-2,n){h.code+=e},indent(){p(++h.indentLevel)},deindent(e=!1){e?--h.indentLevel:p(--h.indentLevel)},newline(){p(h.indentLevel)}};function p(e){h.push("\n"+" ".repeat(e),0)}return h}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:o,prefixIdentifiers:i,indent:a,deindent:s,newline:l,scopeId:c,ssr:u}=n,d=Array.from(e.helpers),f=d.length>0,h=!i&&"module"!==r;if(function(e,t){const{ssr:n,prefixIdentifiers:r,push:o,newline:i,runtimeModuleName:a,runtimeGlobalName:s,ssrRuntimeModuleName:l}=t,c=s,u=Array.from(e.helpers);u.length>0&&(o(`const _Vue = ${c}\n`,-1),e.hoists.length)&&o(`const { ${[Al,vl,yl,Ol,bl].filter((e=>u.includes(e))).map(Ru).join(", ")} } = _Vue\n`,-1),function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r}=t;r();for(let o=0;o<e.length;o++){const i=e[o];i&&(n(`const _hoisted_${o+1} = `),Lu(i,t),r())}t.pure=!1}(e.hoists,t),i(),o("return ")}(e,n),o(`function ${u?"ssrRender":"render"}(${(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),a(),h&&(o("with (_ctx) {"),a(),f&&(o(`const { ${d.map(Ru).join(", ")} } = _Vue\n`,-1),l())),e.components.length&&(Du(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Du(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Du(e.filters,"filter",n),l()),e.temps>0){o("let ");for(let t=0;t<e.temps;t++)o(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(o("\n",0),l()),u||o("return "),e.codegenNode?Lu(e.codegenNode,n):o("null"),h&&(s(),o("}")),s(),o("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}(a,i)}const Bd=Symbol(""),Qd=Symbol(""),Td=Symbol(""),Ed=Symbol(""),Pd=Symbol(""),$d=Symbol(""),Md=Symbol(""),zd=Symbol(""),Rd=Symbol(""),Dd=Symbol("");var Id;let Nd;Id={[Bd]:"vModelRadio",[Qd]:"vModelCheckbox",[Td]:"vModelText",[Ed]:"vModelSelect",[Pd]:"vModelDynamic",[$d]:"withModifiers",[Md]:"withKeys",[zd]:"vShow",[Rd]:"Transition",[Dd]:"TransitionGroup"},Object.getOwnPropertySymbols(Id).forEach((e=>{ql[e]=Id[e]}));const Ld={parseMode:"html",isVoidTag:o.BU,isNativeTag:e=>(0,o.OC)(e)||(0,o.nC)(e)||(0,o.Sf)(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:function(e,t=!1){return Nd||(Nd=document.createElement("div")),t?(Nd.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,Nd.children[0].getAttribute("foo")):(Nd.innerHTML=e,Nd.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?Rd:"TransitionGroup"===e||"transition-group"===e?Dd:void 0,getNamespace(e,t,n){let r=t?t.ns:n;if(t&&2===r)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(r=0);else t&&1===r&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(r=0));if(0===r){if("svg"===e)return 1;if("math"===e)return 2}return r}},Vd=(e,t)=>{const n=(0,o.Gx)(e);return ec(JSON.stringify(n),!1,t,3)};function Ud(e,t){return Oc(e,t)}const Fd=(0,o.pD)("passive,once,capture"),Hd=(0,o.pD)("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Wd=(0,o.pD)("left,right"),Xd=(0,o.pD)("onkeyup,onkeydown,onkeypress"),jd=(e,t)=>bc(e)&&"onclick"===e.content.toLowerCase()?ec(t,!0):4!==e.type?tc(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,qd=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Zd=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:ec("style",!0,t.loc),exp:Vd(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Yd={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(Ud(53,o)),t.children.length&&(n.onError(Ud(54,o)),t.children.length=0),{props:[Jl(ec("innerHTML",!0,o),r||ec("",!0))]}},text:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(Ud(55,o)),t.children.length&&(n.onError(Ud(56,o)),t.children.length=0),{props:[Jl(ec("textContent",!0),r?Cu(r,n)>0?r:nc(n.helperString(Tl),[r],o):ec("",!0))]}},model:(e,t,n)=>{const r=vd(e,t,n);if(!r.props.length||1===t.tagType)return r;e.arg&&n.onError(Ud(58,e.arg.loc));const{tag:o}=t,i=n.isCustomElement(o);if("input"===o||"textarea"===o||"select"===o||i){let a=Td,s=!1;if("input"===o||i){const r=Pc(t,"type");if(r){if(7===r.type)a=Pd;else if(r.value)switch(r.value.content){case"radio":a=Bd;break;case"checkbox":a=Qd;break;case"file":s=!0,n.onError(Ud(59,e.loc))}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(a=Pd)}else"select"===o&&(a=Ed);s||(r.needRuntime=n.helper(a))}else n.onError(Ud(57,e.loc));return r.props=r.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),r},on:(e,t,n)=>pd(e,t,n,(t=>{const{modifiers:r}=e;if(!r.length)return t;let{key:i,value:a}=t.props[0];const{keyModifiers:s,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t,n)=>{const r=[],o=[],i=[];for(let a=0;a<t.length;a++){const s=t[a].content;"native"===s&&Ac("COMPILER_V_ON_NATIVE",n)||Fd(s)?i.push(s):Wd(s)?bc(e)?Xd(e.content.toLowerCase())?r.push(s):o.push(s):(r.push(s),o.push(s)):Hd(s)?o.push(s):r.push(s)}return{keyModifiers:r,nonKeyModifiers:o,eventOptionModifiers:i}})(i,r,n,e.loc);if(l.includes("right")&&(i=jd(i,"onContextmenu")),l.includes("middle")&&(i=jd(i,"onMouseup")),l.length&&(a=nc(n.helper($d),[a,JSON.stringify(l)])),!s.length||bc(i)&&!Xd(i.content.toLowerCase())||(a=nc(n.helper(Md),[a,JSON.stringify(s)])),c.length){const e=c.map(o.ZH).join("");i=bc(i)?ec(`${i.content}${e}`,!0):tc(["(",i,`) + "${e}"`])}return{props:[Jl(i,a)]}})),show:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(Ud(61,o)),{props:[],needRuntime:n.helper(zd)}}},Gd=Object.create(null);function Kd(e,t){if(!(0,o.Kg)(e)){if(!e.nodeType)return o.tE;e=e.innerHTML}const n=(0,o.eW)(e,t),i=Gd[n];if(i)return i;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const a=(0,o.X$)({hoistStatic:!0,onError:void 0,onWarn:o.tE},t);a.isCustomElement||"undefined"==typeof customElements||(a.isCustomElement=e=>!!customElements.get(e));const{code:s}=function(e,t={}){return Cd(e,(0,o.X$)({},Ld,t,{nodeTransforms:[qd,...Zd,...t.nodeTransforms||[]],directiveTransforms:(0,o.X$)({},Yd,t.directiveTransforms||{}),transformHoist:null}))}(e,a),l=new Function("Vue",s)(r);return l._rc=!0,Gd[n]=l}Yi(Kd)},61445:function(e,t,n){"use strict";n.d(t,{A:function(){return g}});var r,o=n(61431),i=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],a=function(e){return-1!==i.map((function(e){return e.toLowerCase()})).indexOf(e.toLowerCase())},s=0,l=function(e){var t=Date.now();return e+"_"+Math.floor(1e9*Math.random())+ ++s+String(t)},c=function(e){return void 0===e||""===e?[]:Array.isArray(e)?e:e.split(" ")},u=function(){return{listeners:[],scriptId:l("tiny-script"),scriptLoaded:!1}},d=(r=u(),{load:function(e,t,n){r.scriptLoaded?n():(r.listeners.push(n),e.getElementById(r.scriptId)||function(e,t,n){var o=t.createElement("script");o.referrerPolicy="origin",o.type="application/javascript",o.id=e,o.src=n;var i=function(){o.removeEventListener("load",i),r.listeners.forEach((function(e){return e()})),r.scriptLoaded=!0};o.addEventListener("load",i),t.head&&t.head.appendChild(o)}(r.scriptId,e,t))},reinitialize:function(){r=u()}}),f=function(){var e="undefined"!=typeof window?window:n.g;return e&&e.tinymce?e.tinymce:null},h={apiKey:String,cloudChannel:String,id:String,init:Object,initialValue:String,inline:Boolean,modelEvents:[String,Array],plugins:[String,Array],tagName:String,toolbar:[String,Array],modelValue:String,disabled:Boolean,tinymceScriptSrc:String,outputFormat:{type:String,validator:function(e){return"html"===e||"text"===e}}},p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p.apply(this,arguments)},m={selector:void 0,target:void 0},g=(0,o.defineComponent)({props:h,setup:function(e,t){var n=e.init?p(p({},e.init),m):p({},m),r=(0,o.toRefs)(e),i=r.disabled,s=r.modelValue,u=r.tagName,h=(0,o.ref)(null),g=null,A=e.id||l("tiny-vue"),v=e.init&&e.init.inline||e.inline,y=!!t.attrs["onUpdate:modelValue"],O=!0,b=e.initialValue?e.initialValue:"",w="",_=function(){var r,i,l,u=(r=O,y?function(){return(null==s?void 0:s.value)?s.value:""}:function(){return r?b:w}),d=p(p({},n),{readonly:e.disabled,target:h.value,plugins:(i=n.plugins,l=e.plugins,c(i).concat(c(l))),toolbar:e.toolbar||n.toolbar,inline:v,setup:function(r){g=r,r.on("init",(function(n){return function(e,t,n,r,i,s){r.setContent(s()),n.attrs["onUpdate:modelValue"]&&function(e,t,n,r){var i=e.modelEvents?e.modelEvents:null,a=Array.isArray(i)?i.join(" "):i;(0,o.watch)(r,(function(t,r){n&&"string"==typeof t&&t!==r&&t!==n.getContent({format:e.outputFormat})&&n.setContent(t)})),n.on(a||"change input undo redo",(function(){t.emit("update:modelValue",n.getContent({format:e.outputFormat}))}))}(t,n,r,i),function(e,t,n){Object.keys(t).filter(a).forEach((function(r){var o=t[r];"function"==typeof o&&("onInit"===r?o(e,n):n.on(r.substring(2),(function(e){return o(e,n)})))}))}(e,n.attrs,r)}(n,e,t,r,s,u)})),"function"==typeof n.setup&&n.setup(r)}});(function(e){return null!==e&&"textarea"===e.tagName.toLowerCase()})(h.value)&&(h.value.style.visibility=""),f().init(d),O=!1};return(0,o.watch)(i,(function(e){var t;null!==g&&("function"==typeof(null===(t=g.mode)||void 0===t?void 0:t.set)?g.mode.set(e?"readonly":"design"):g.setMode(e?"readonly":"design"))})),(0,o.watch)(u,(function(e){var t;y||(w=g.getContent()),null===(t=f())||void 0===t||t.remove(g),(0,o.nextTick)((function(){return _()}))})),(0,o.onMounted)((function(){if(null!==f())_();else if(h.value&&h.value.ownerDocument){var t=e.cloudChannel?e.cloudChannel:"6",n=e.apiKey?e.apiKey:"no-api-key",r=null==e.tinymceScriptSrc?"https://cdn.tiny.cloud/1/".concat(n,"/tinymce/").concat(t,"/tinymce.min.js"):e.tinymceScriptSrc;d.load(h.value.ownerDocument,r,_)}})),(0,o.onBeforeUnmount)((function(){null!==f()&&f().remove(g)})),v||((0,o.onActivated)((function(){O||_()})),(0,o.onDeactivated)((function(){var e;y||(w=g.getContent()),null===(e=f())||void 0===e||e.remove(g)}))),t.expose({rerender:function(e){var t;w=g.getContent(),null===(t=f())||void 0===t||t.remove(g),n=p(p(p({},n),e),m),(0,o.nextTick)((function(){return _()}))},getEditor:function(){return g}}),function(){return v?function(e,t,n,r){return e(r||"div",{id:t,ref:n})}(o.h,A,h,e.tagName):(0,o.h)("textarea",{id:A,visibility:"hidden",ref:h})}}})},61532:function(e,t,n){n(31833)},61644:function(e,t,n){"use strict";n.d(t,{df:function(){return _}});var r=n(61431),o=n(22720),i=n(97786),a=n(91361),s=n(50819),l=n(25343);const c=["success","info","warning","error"],u=(0,s.b_)({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:l.Ze},id:{type:String,default:""},message:{type:(0,s.jq)([String,Object,Function]),default:""},offset:{type:Number,default:0},onClick:{type:(0,s.jq)(Function),default:()=>{}},onClose:{type:(0,s.jq)(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...c,""],default:""},zIndex:Number});var d=n(78396),f=n(22974),h=n(53344);const p=(0,r.defineComponent)({name:"ElNotification"}),m=(0,r.defineComponent)({...p,props:u,emits:{destroy:()=>!0},setup(e,{expose:t}){const n=e,{ns:s,zIndex:c}=(0,f.ht)("notification"),{nextZIndex:u,currentZIndex:d}=c,{Close:p}=l.H2,m=(0,r.ref)(!1);let g;const A=(0,r.computed)((()=>{const e=n.type;return e&&l.rz[n.type]?s.m(e):""})),v=(0,r.computed)((()=>n.type&&l.rz[n.type]||n.icon)),y=(0,r.computed)((()=>n.position.endsWith("right")?"right":"left")),O=(0,r.computed)((()=>n.position.startsWith("top")?"top":"bottom")),b=(0,r.computed)((()=>{var e;return{[O.value]:`${n.offset}px`,zIndex:null!=(e=n.zIndex)?e:d.value}}));function w(){n.duration>0&&({stop:g}=(0,o.TO)((()=>{m.value&&x()}),n.duration))}function _(){null==g||g()}function x(){m.value=!1}return(0,r.onMounted)((()=>{w(),u(),m.value=!0})),(0,i.MLh)(document,"keydown",(function({code:e}){e===h.R.delete||e===h.R.backspace?_():e===h.R.esc?m.value&&x():w()})),t({visible:m,close:x}),(e,t)=>((0,r.openBlock)(),(0,r.createBlock)(r.Transition,{name:(0,r.unref)(s).b("fade"),onBeforeLeave:e.onClose,onAfterLeave:t=>e.$emit("destroy"),persisted:""},{default:(0,r.withCtx)((()=>[(0,r.withDirectives)((0,r.createElementVNode)("div",{id:e.id,class:(0,r.normalizeClass)([(0,r.unref)(s).b(),e.customClass,(0,r.unref)(y)]),style:(0,r.normalizeStyle)((0,r.unref)(b)),role:"alert",onMouseenter:_,onMouseleave:w,onClick:e.onClick},[(0,r.unref)(v)?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(a.tk),{key:0,class:(0,r.normalizeClass)([(0,r.unref)(s).e("icon"),(0,r.unref)(A)])},{default:(0,r.withCtx)((()=>[((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)((0,r.unref)(v))))])),_:1},8,["class"])):(0,r.createCommentVNode)("v-if",!0),(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)((0,r.unref)(s).e("group"))},[(0,r.createElementVNode)("h2",{class:(0,r.normalizeClass)((0,r.unref)(s).e("title")),textContent:(0,r.toDisplayString)(e.title)},null,10,["textContent"]),(0,r.withDirectives)((0,r.createElementVNode)("div",{class:(0,r.normalizeClass)((0,r.unref)(s).e("content")),style:(0,r.normalizeStyle)(e.title?void 0:{margin:0})},[(0,r.renderSlot)(e.$slots,"default",{},(()=>[e.dangerouslyUseHTMLString?((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:1},[(0,r.createCommentVNode)(" Caution here, message could've been compromised, never use user's input as message "),(0,r.createElementVNode)("p",{innerHTML:e.message},null,8,["innerHTML"])],2112)):((0,r.openBlock)(),(0,r.createElementBlock)("p",{key:0},(0,r.toDisplayString)(e.message),1))]))],6),[[r.vShow,e.message]]),e.showClose?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(a.tk),{key:0,class:(0,r.normalizeClass)((0,r.unref)(s).e("closeBtn")),onClick:(0,r.withModifiers)(x,["stop"])},{default:(0,r.withCtx)((()=>[(0,r.createVNode)((0,r.unref)(p))])),_:1},8,["class","onClick"])):(0,r.createCommentVNode)("v-if",!0)],2)],46,["id","onClick"]),[[r.vShow,m.value]])])),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}});var g=(0,d.A)(m,[["__file","notification.vue"]]),A=n(90033),v=n(2154),y=n(41651);const O={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]};let b=1;const w=function(e={},t){if(!o.oc)return{close:()=>{}};((0,A.Kg)(e)||(0,r.isVNode)(e))&&(e={message:e});const n=e.position||"top-right";let i=e.offset||0;O[n].forEach((({vm:e})=>{var t;i+=((null==(t=e.el)?void 0:t.offsetHeight)||0)+16})),i+=16;const a="notification_"+b++,s=e.onClose,l={...e,offset:i,id:a,onClose:()=>{!function(e,t,n){const r=O[t],o=r.findIndex((({vm:t})=>{var n;return(null==(n=t.component)?void 0:n.props.id)===e}));if(-1===o)return;const{vm:i}=r[o];if(!i)return;null==n||n(i);const a=i.el.offsetHeight,s=t.split("-")[0];r.splice(o,1);const l=r.length;if(!(l<1))for(let e=o;e<l;e++){const{el:t,component:n}=r[e].vm,o=Number.parseInt(t.style[s],10)-a-16;n.props.offset=o}}(a,n,s)}};let c=document.body;(0,v.vq)(e.appendTo)?c=e.appendTo:(0,A.Kg)(e.appendTo)&&(c=document.querySelector(e.appendTo)),(0,v.vq)(c)||((0,y.U)("ElNotification","the appendTo option is not an HTMLElement. Falling back to document.body."),c=document.body);const u=document.createElement("div"),d=(0,r.createVNode)(g,l,(0,A.Tn)(l.message)?l.message:(0,r.isVNode)(l.message)?()=>l.message:null);return d.appContext=(0,v.b0)(t)?w._context:t,d.props.onDestroy=()=>{(0,r.render)(null,u)},(0,r.render)(d,u),O[n].push({vm:d}),c.appendChild(u.firstElementChild),{close:()=>{d.component.exposed.visible.value=!1}}};c.forEach((e=>{w[e]=(t={},n)=>(((0,A.Kg)(t)||(0,r.isVNode)(t))&&(t={message:t}),w({...t,type:e},n))})),w.closeAll=function(){for(const e of Object.values(O))e.forEach((({vm:e})=>{e.component.exposed.visible.value=!1}))},w._context=null;const _=(0,n(64769)._u)(w,"$notify")},61701:function(e,t,n){"use strict";var r=n(46518),o=n(20713);r({target:"Iterator",proto:!0,real:!0,forced:n(96395)},{map:o})},61828:function(e,t,n){"use strict";var r=n(79504),o=n(39297),i=n(25397),a=n(19617).indexOf,s=n(30421),l=r([].push);e.exports=function(e,t){var n,r=i(e),c=0,u=[];for(n in r)!o(s,n)&&o(r,n)&&l(u,n);for(;t.length>c;)o(r,n=t[c++])&&(~a(u,n)||l(u,n));return u}},61882:function(e,t,n){"use strict";var r=n(88496),o=n(53098);t.A=function(e){return"symbol"==typeof e||(0,o.A)(e)&&"[object Symbol]"==(0,r.A)(e)}},61951:function(e,t,n){"use strict";function r(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function s(e){return 1===e.length?"0"+e:String(e)}function l(e,t,n){e=r(e,255),t=r(t,255),n=r(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,s=0,l=(o+i)/2;if(o===i)s=0,a=0;else{var c=o-i;switch(s=l>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4}a/=6}return{h:a,s:s,l:l}}function c(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function u(e,t,n){e=r(e,255),t=r(t,255),n=r(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,s=o,l=o-i,c=0===o?0:l/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t<n?6:0);break;case t:a=(n-e)/l+2;break;case n:a=(e-t)/l+4}a/=6}return{h:a,s:c,v:s}}function d(e,t,n,r){var o=[s(Math.round(e).toString(16)),s(Math.round(t).toString(16)),s(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function f(e){return h(e)/255}function h(e){return parseInt(e,16)}n.d(t,{q:function(){return O}});var p={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var m="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),g="[\\s|\\(]+(".concat(m,")[,|\\s]+(").concat(m,")[,|\\s]+(").concat(m,")\\s*\\)?"),A="[\\s|\\(]+(".concat(m,")[,|\\s]+(").concat(m,")[,|\\s]+(").concat(m,")[,|\\s]+(").concat(m,")\\s*\\)?"),v={CSS_UNIT:new RegExp(m),rgb:new RegExp("rgb"+g),rgba:new RegExp("rgba"+A),hsl:new RegExp("hsl"+g),hsla:new RegExp("hsla"+A),hsv:new RegExp("hsv"+g),hsva:new RegExp("hsva"+A),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function y(e){return Boolean(v.CSS_UNIT.exec(String(e)))}var O=function(){function e(t,n){var o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var s=function(e){var t,n,o,s={r:0,g:0,b:0},l=1,u=null,d=null,m=null,g=!1,A=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(p[e])e=p[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=v.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=v.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=v.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=v.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=v.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=v.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=v.hex8.exec(e))?{r:h(n[1]),g:h(n[2]),b:h(n[3]),a:f(n[4]),format:t?"name":"hex8"}:(n=v.hex6.exec(e))?{r:h(n[1]),g:h(n[2]),b:h(n[3]),format:t?"name":"hex"}:(n=v.hex4.exec(e))?{r:h(n[1]+n[1]),g:h(n[2]+n[2]),b:h(n[3]+n[3]),a:f(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=v.hex3.exec(e))&&{r:h(n[1]+n[1]),g:h(n[2]+n[2]),b:h(n[3]+n[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(y(e.r)&&y(e.g)&&y(e.b)?(t=e.r,n=e.g,o=e.b,s={r:255*r(t,255),g:255*r(n,255),b:255*r(o,255)},g=!0,A="%"===String(e.r).substr(-1)?"prgb":"rgb"):y(e.h)&&y(e.s)&&y(e.v)?(u=a(e.s),d=a(e.v),s=function(e,t,n){e=6*r(e,360),t=r(t,100),n=r(n,100);var o=Math.floor(e),i=e-o,a=n*(1-t),s=n*(1-i*t),l=n*(1-(1-i)*t),c=o%6;return{r:255*[n,s,a,a,l,n][c],g:255*[l,n,n,s,a,a][c],b:255*[a,a,l,n,n,s][c]}}(e.h,u,d),g=!0,A="hsv"):y(e.h)&&y(e.s)&&y(e.l)&&(u=a(e.s),m=a(e.l),s=function(e,t,n){var o,i,a;if(e=r(e,360),t=r(t,100),n=r(n,100),0===t)i=n,a=n,o=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=c(l,s,e+1/3),i=c(l,s,e),a=c(l,s,e-1/3)}return{r:255*o,g:255*i,b:255*a}}(e.h,u,m),g=!0,A="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(l=e.a)),l=i(l),{ok:g,format:e.format||A,r:Math.min(255,Math.max(s.r,0)),g:Math.min(255,Math.max(s.g,0)),b:Math.min(255,Math.max(s.b,0)),a:l}}(t);this.originalInput=t,this.r=s.r,this.g=s.g,this.b=s.b,this.a=s.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:s.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=s.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=i(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=u(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=u(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=l(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=l(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),d(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,r,o){var i,a=[s(Math.round(e).toString(16)),s(Math.round(t).toString(16)),s(Math.round(n).toString(16)),s((i=r,Math.round(255*parseFloat(i)).toString(16)))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*r(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*r(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+d(this.r,this.g,this.b,!1),t=0,n=Object.entries(p);t<n.length;t++){var r=n[t],o=r[0];if(e===r[1])return o}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!=e?e:this.format;var n=!1,r=this.a<1&&this.a>=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=o(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=o(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=o(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=o(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100;return new e({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a<t;a++)o.push(new e({h:(r+a*i)%360,s:n.s,l:n.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}()},61968:function(e){e.exports=function(e){return"__proto__"!==e&&"constructor"!==e}},62067:function(e,t,n){"use strict";n.d(t,{v:function(){return h}});var r={};function o(e,t){for(var n=0;n<t.length;n++)r[t[n]]=e}var i=["true","false"],a=["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],s=["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","nl","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"];function l(e,t){if(e.eatSpace())return null;var n,o=e.sol(),i=e.next();if("\\"===i)return e.next(),null;if("'"===i||'"'===i||"`"===i)return t.tokens.unshift(c(i,"`"===i?"quote":"string")),f(e,t);if("#"===i)return o&&e.eat("!")?(e.skipToEnd(),"meta"):(e.skipToEnd(),"comment");if("$"===i)return t.tokens.unshift(d),f(e,t);if("+"===i||"="===i)return"operator";if("-"===i)return e.eat("-"),e.eatWhile(/\w/),"attribute";if("<"==i){if(e.match("<<"))return"operator";var a=e.match(/^<-?\s*(?:['"]([^'"]*)['"]|([^'"\s]*))/);if(a)return t.tokens.unshift((n=a[1]||a[2],function(e,t){return e.sol()&&e.string==n&&t.tokens.shift(),e.skipToEnd(),"string.special"})),"string.special"}if(/\d/.test(i)&&(e.eatWhile(/\d/),e.eol()||!/\w/.test(e.peek())))return"number";e.eatWhile(/[\w-]/);var s=e.current();return"="===e.peek()&&/\w+/.test(s)?"def":r.hasOwnProperty(s)?r[s]:null}function c(e,t){var n="("==e?")":"{"==e?"}":e;return function(r,o){for(var i,a=!1;null!=(i=r.next());){if(i===n&&!a){o.tokens.shift();break}if("$"===i&&!a&&"'"!==e&&r.peek()!=n){a=!0,r.backUp(1),o.tokens.unshift(d);break}if(!a&&e!==n&&i===e)return o.tokens.unshift(c(e,t)),f(r,o);if(!a&&/['"]/.test(i)&&!/['"]/.test(e)){o.tokens.unshift(u(i,"string")),r.backUp(1);break}a=!a&&"\\"===i}return t}}function u(e,t){return function(n,r){return r.tokens[0]=c(e,t),n.next(),f(n,r)}}o("atom",i),o("keyword",a),o("builtin",s);var d=function(e,t){t.tokens.length>1&&e.eat("$");var n=e.next();return/['"({]/.test(n)?(t.tokens[0]=c(n,"("==n?"quote":"{"==n?"def":"string"),f(e,t)):(/\d/.test(n)||e.eatWhile(/\w/),t.tokens.shift(),"def")};function f(e,t){return(t.tokens[0]||l)(e,t)}const h={name:"shell",startState:function(){return{tokens:[]}},token:function(e,t){return f(e,t)},languageData:{autocomplete:i.concat(a,s),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}}},62103:function(e,t,n){"use strict";n.d(t,{$V:function(){return v},hV:function(){return _},v5:function(){return b},xU:function(){return w}});var r=n(98026),o=n(5070),i=n(82861),a=n(10992),s=n(31571),l=n(43199),c=n(29308),u=n(45558),d=n(24326),f=o.Ay.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,o=t.width/2,i=t.height/2;e.moveTo(n,r-i),e.lineTo(n+o,r+i),e.lineTo(n-o,r+i),e.closePath()}}),h=o.Ay.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,o=t.width/2,i=t.height/2;e.moveTo(n,r-i),e.lineTo(n+o,r),e.lineTo(n,r+i),e.lineTo(n-o,r),e.closePath()}}),p=o.Ay.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,r=t.y,o=t.width/5*3,i=Math.max(o,t.height),a=o/2,s=a*a/(i-a),l=r-i+a+s,c=Math.asin(s/a),u=Math.cos(c)*a,d=Math.sin(c),f=Math.cos(c),h=.6*a,p=.7*a;e.moveTo(n-u,l+s),e.arc(n,l,a,Math.PI-c,2*Math.PI+c),e.bezierCurveTo(n+u-d*h,l+s+f*h,n,r-p,n,r),e.bezierCurveTo(n,r-p,n-u+d*h,l+s+f*h,n-u,l+s),e.closePath()}}),m=o.Ay.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,r=t.width,o=t.x,i=t.y,a=r/3*2;e.moveTo(o,i),e.lineTo(o+a,i+n),e.lineTo(o,i+n/4*3),e.lineTo(o-a,i+n),e.lineTo(o,i),e.closePath()}}),g={line:i.A,rect:a.A,roundRect:a.A,square:a.A,circle:s.A,diamond:h,pin:p,arrow:m,triangle:f},A={line:function(e,t,n,r,o){o.x1=e,o.y1=t+r/2,o.x2=e+n,o.y2=t+r/2},rect:function(e,t,n,r,o){o.x=e,o.y=t,o.width=n,o.height=r},roundRect:function(e,t,n,r,o){o.x=e,o.y=t,o.width=n,o.height=r,o.r=Math.min(n,r)/4},square:function(e,t,n,r,o){var i=Math.min(n,r);o.x=e,o.y=t,o.width=i,o.height=i},circle:function(e,t,n,r,o){o.cx=e+n/2,o.cy=t+r/2,o.r=Math.min(n,r)/2},diamond:function(e,t,n,r,o){o.cx=e+n/2,o.cy=t+r/2,o.width=n,o.height=r},pin:function(e,t,n,r,o){o.x=e+n/2,o.y=t+r/2,o.width=n,o.height=r},arrow:function(e,t,n,r,o){o.x=e+n/2,o.y=t+r/2,o.width=n,o.height=r},triangle:function(e,t,n,r,o){o.cx=e+n/2,o.cy=t+r/2,o.width=n,o.height=r}},v={};(0,r.each)(g,(function(e,t){v[t]=new e}));var y=o.Ay.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var r=(0,u.X4)(e,t,n),o=this.shape;return o&&"pin"===o.symbolType&&"inside"===t.position&&(r.y=n.y+.4*n.height),r},buildPath:function(e,t,n){var r=t.symbolType;if("none"!==r){var o=v[r];o||(o=v[r="rect"]),A[r](t.x,t.y,t.width,t.height,o.shape),o.buildPath(e,o.shape,n)}}});function O(e,t){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=e:n.fill=e,this.markRedraw()}}function b(e,t,n,r,o,i,a){var s,u=0===e.indexOf("empty");return u&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),(s=0===e.indexOf("image://")?l.makeImage(e.slice(8),new c.A(t,n,r,o),a?"center":"cover"):0===e.indexOf("path://")?l.makePath(e.slice(7),{},new c.A(t,n,r,o),a?"center":"cover"):new y({shape:{symbolType:e,x:t,y:n,width:r,height:o}})).__isEmptyBrush=u,s.setColor=O,i&&s.setColor(i),s}function w(e){return(0,r.isArray)(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function _(e,t){if(null!=e)return(0,r.isArray)(e)||(e=[e,e]),[(0,d.lo)(e[0],t[0])||0,(0,d.lo)((0,r.retrieve2)(e[1],e[0]),t[1])||0]}},62106:function(e,t,n){"use strict";var r=n(50283),o=n(24913);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),o.f(e,t,n)}},62144:function(e,t,n){"use strict";n.d(t,{NZ:function(){return fe},OP:function(){return xe},Lz:function(){return lr},wJ:function(){return Ro},Z9:function(){return lt},xO:function(){return ue},HJ:function(){return uo},VH:function(){return Pr},A:function(){return Ur},ld:function(){return Eo},Eg:function(){return Bo},cU:function(){return Vo},dz:function(){return eo},Wu:function(){return ai},N$:function(){return Yr},Yq:function(){return di},Ux:function(){return Co},w4:function(){return gr},$K:function(){return ni},c_:function(){return ot},qf:function(){return oo},D4:function(){return so},TS:function(){return yr},S7:function(){return zo},DK:function(){return bo}});for(var r=n(20614),o=n(97417),i={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},a={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),l="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),c=0;c<10;c++)i[48+c]=i[96+c]=String(c);for(c=1;c<=24;c++)i[c+111]="F"+c;for(c=65;c<=90;c++)i[c]=String.fromCharCode(c+32),a[c]=String.fromCharCode(c);for(var u in i)a.hasOwnProperty(u)||(a[u]=i[u]);function d(e){let t;return t=11==e.nodeType?e.getSelection?e:e.ownerDocument:e,t.getSelection()}function f(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}function h(e,t){if(!t.anchorNode)return!1;try{return f(e,t.anchorNode)}catch(e){return!1}}function p(e){return 3==e.nodeType?C(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function m(e,t,n,r){return!!n&&(v(e,t,n,r,-1)||v(e,t,n,r,1))}function g(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function A(e){return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function v(e,t,n,r,o){for(;;){if(e==n&&t==r)return!0;if(t==(o<0?0:y(e))){if("DIV"==e.nodeName)return!1;let n=e.parentNode;if(!n||1!=n.nodeType)return!1;t=g(e)+(o<0?0:1),e=n}else{if(1!=e.nodeType)return!1;if(1==(e=e.childNodes[t+(o<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1;t=o<0?y(e):0}}}function y(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function O(e,t){let n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}function b(e){let t=e.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function w(e,t){let n=t.width/e.offsetWidth,r=t.height/e.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.width-e.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.height-e.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}class _{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:n}=e;this.set(t,Math.min(e.anchorOffset,t?y(t):0),n,Math.min(e.focusOffset,n?y(n):0))}set(e,t,n,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}}let x,S=null;function k(e){if(e.setActive)return e.setActive();if(S)return e.focus(S);let t=[];for(let n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(e.focus(null==S?{get preventScroll(){return S={preventScroll:!0},!0}}:void 0),!S){S=!1;for(let e=0;e<t.length;){let n=t[e++],r=t[e++],o=t[e++];n.scrollTop!=r&&(n.scrollTop=r),n.scrollLeft!=o&&(n.scrollLeft=o)}}}function C(e,t,n=t){let r=x||(x=document.createRange());return r.setEnd(e,n),r.setStart(e,t),r}function B(e,t,n,r){let o={key:t,code:t,keyCode:n,which:n,cancelable:!0};r&&({altKey:o.altKey,ctrlKey:o.ctrlKey,shiftKey:o.shiftKey,metaKey:o.metaKey}=r);let i=new KeyboardEvent("keydown",o);i.synthetic=!0,e.dispatchEvent(i);let a=new KeyboardEvent("keyup",o);return a.synthetic=!0,e.dispatchEvent(a),i.defaultPrevented||a.defaultPrevented}function Q(e){for(;e.attributes.length;)e.removeAttributeNode(e.attributes[0])}function T(e){return e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}function E(e,t){for(let n=e,r=t;;){if(3==n.nodeType&&r>0)return{node:n,offset:r};if(1==n.nodeType&&r>0){if("false"==n.contentEditable)return null;n=n.childNodes[r-1],r=y(n)}else{if(!n.parentNode||A(n))return null;r=g(n),n=n.parentNode}}}function P(e,t){for(let n=e,r=t;;){if(3==n.nodeType&&r<n.nodeValue.length)return{node:n,offset:r};if(1==n.nodeType&&r<n.childNodes.length){if("false"==n.contentEditable)return null;n=n.childNodes[r],r=0}else{if(!n.parentNode||A(n))return null;r=g(n)+1,n=n.parentNode}}}class ${constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}static before(e,t){return new $(e.parentNode,g(e),t)}static after(e,t){return new $(e.parentNode,g(e)+1,t)}}const M=[];class z{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let n of this.children){if(n==e)return t;t+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(2&this.flags){let n,r=this.dom,o=null;for(let i of this.children){if(7&i.flags){if(!i.dom&&(n=o?o.nextSibling:r.firstChild)){let e=z.get(n);(!e||!e.parent&&e.canReuseDOM(i))&&i.reuseDOM(n)}i.sync(e,t),i.flags&=-8}if(n=o?o.nextSibling:r.firstChild,t&&!t.written&&t.node==r&&n!=i.dom&&(t.written=!0),i.dom.parentNode==r)for(;n&&n!=i.dom;)n=R(n);else r.insertBefore(i.dom,n);o=i.dom}for(n=o?o.nextSibling:r.firstChild,n&&t&&t.node==r&&(t.written=!0);n;)n=R(n)}else if(1&this.flags)for(let n of this.children)7&n.flags&&(n.sync(e,t),n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,t){let n;if(e==this.dom)n=this.dom.childNodes[t];else{let r=0==y(e)?0:0==t?-1:1;for(;;){let t=e.parentNode;if(t==this.dom)break;0==r&&t.firstChild!=t.lastChild&&(r=e==t.firstChild?-1:1),e=t}n=r<0?e:e.nextSibling}if(n==this.dom.firstChild)return 0;for(;n&&!z.get(n);)n=n.nextSibling;if(!n)return this.length;for(let e=0,t=0;;e++){let r=this.children[e];if(r.dom==n)return t;t+=r.length+r.breakAfter}}domBoundsAround(e,t,n=0){let r=-1,o=-1,i=-1,a=-1;for(let s=0,l=n,c=n;s<this.children.length;s++){let n=this.children[s],u=l+n.length;if(l<e&&u>t)return n.domBoundsAround(e,t,l);if(u>=e&&-1==r&&(r=s,o=l),l>t&&n.dom.parentNode==this.dom){i=s,a=c;break}c=u,l=u+n.breakAfter}return{from:o,to:a<0?n+this.length:a,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:i<this.children.length&&i>=0?this.children[i].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),1&t.flags)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,7&this.flags&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,n=M){this.markDirty();for(let r=e;r<t;r++){let e=this.children[r];e.parent==this&&n.indexOf(e)<0&&e.destroy()}n.length<250?this.children.splice(e,t-e,...n):this.children=[].concat(this.children.slice(0,e),n,this.children.slice(t));for(let e=0;e<n.length;e++)n[e].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new D(this.children,e,this.children.length)}childPos(e,t=1){return this.childCursor().findPos(e,t)}toString(){let e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+("Text"==e?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(e,t,n,r,o,i){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor&&!(8&(this.flags|e.flags))}getSide(){return 0}destroy(){for(let e of this.children)e.parent==this&&e.destroy();this.parent=null}}function R(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}z.prototype.breakAfter=0;class D{constructor(e,t,n){this.children=e,this.pos=t,this.i=n,this.off=0}findPos(e,t=1){for(;;){if(e>this.pos||e==this.pos&&(t>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function I(e,t,n,r,o,i,a,s,l){let{children:c}=e,u=c.length?c[t]:null,d=i.length?i[i.length-1]:null,f=d?d.breakAfter:a;if(!(t==r&&u&&!a&&!f&&i.length<2&&u.merge(n,o,i.length?d:null,0==n,s,l))){if(r<c.length){let e=c[r];e&&(o<e.length||e.breakAfter&&(null==d?void 0:d.breakAfter))?(t==r&&(e=e.split(o),o=0),!f&&d&&e.merge(0,o,d,!0,0,l)?i[i.length-1]=e:((o||e.children.length&&!e.children[0].length)&&e.merge(0,o,null,!1,0,l),i.push(e))):(null==e?void 0:e.breakAfter)&&(d?d.breakAfter=1:a=1),r++}for(u&&(u.breakAfter=a,n>0&&(!a&&i.length&&u.merge(n,u.length,i[0],!1,s,0)?u.breakAfter=i.shift().breakAfter:(n<u.length||u.children.length&&0==u.children[u.children.length-1].length)&&u.merge(n,u.length,null,!1,s,0),t++));t<r&&i.length;)if(c[r-1].become(i[i.length-1]))r--,i.pop(),l=i.length?0:s;else{if(!c[t].become(i[0]))break;t++,i.shift(),s=i.length?0:l}!i.length&&t&&r<c.length&&!c[t-1].breakAfter&&c[r].merge(0,0,c[t-1],!1,s,l)&&t--,(t<r||i.length)&&e.replaceChildren(t,r,i)}}function N(e,t,n,r,o,i){let a=e.childCursor(),{i:s,off:l}=a.findPos(n,1),{i:c,off:u}=a.findPos(t,-1),d=t-n;for(let e of r)d+=e.length;e.length+=d,I(e,c,u,s,l,r,0,o,i)}let L="undefined"!=typeof navigator?navigator:{userAgent:"",vendor:"",platform:""},V="undefined"!=typeof document?document:{documentElement:{style:{}}};const U=/Edge\/(\d+)/.exec(L.userAgent),F=/MSIE \d/.test(L.userAgent),H=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(L.userAgent),W=!!(F||H||U),X=!W&&/gecko\/(\d+)/i.test(L.userAgent),j=!W&&/Chrome\/(\d+)/.exec(L.userAgent),q="webkitFontSmoothing"in V.documentElement.style,Z=!W&&/Apple Computer/.test(L.vendor),Y=Z&&(/Mobile\/\w+/.test(L.userAgent)||L.maxTouchPoints>2);var G={mac:Y||/Mac/.test(L.platform),windows:/Win/.test(L.platform),linux:/Linux|X11/.test(L.platform),ie:W,ie_version:F?V.documentMode||6:H?+H[1]:U?+U[1]:0,gecko:X,gecko_version:X?+(/Firefox\/(\d+)/.exec(L.userAgent)||[0,0])[1]:0,chrome:!!j,chrome_version:j?+j[1]:0,ios:Y,android:/Android\b/.test(L.userAgent),webkit:q,safari:Z,webkit_version:q?+(/\bAppleWebKit\/(\d+)/.exec(L.userAgent)||[0,0])[1]:0,tabSize:null!=V.documentElement.style.tabSize?"tab-size":"-moz-tab-size"};class K extends z{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){3==e.nodeType&&this.createDOM(e)}merge(e,t,n){return!(8&this.flags||n&&(!(n instanceof K)||this.length-(t-e)+n.length>256||8&n.flags)||(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(t),this.markDirty(),0))}split(e){let t=new K(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=8&this.flags,t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new $(this.dom,e)}domBoundsAround(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return function(e,t,n){let r=e.nodeValue.length;t>r&&(t=r);let o=t,i=t,a=0;0==t&&n<0||t==r&&n>=0?G.chrome||G.gecko||(t?(o--,a=1):i<r&&(i++,a=-1)):n<0?o--:i<r&&i++;let s=C(e,o,i).getClientRects();if(!s.length)return null;let l=s[(a?a<0:n>=0)?0:s.length-1];return G.safari&&!a&&0==l.width&&(l=Array.prototype.find.call(s,(e=>e.width))||l),a?O(l,a<0):l||null}(this.dom,e,t)}}class J extends z{constructor(e,t=[],n=0){super(),this.mark=e,this.children=t,this.length=n;for(let e of t)e.setParent(this)}setAttrs(e){if(Q(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!(8&(this.flags|e.flags))}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?4&this.flags&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,n,r,o,i){return!(n&&(!(n instanceof J&&n.mark.eq(this.mark))||e&&o<=0||t<this.length&&i<=0)||(N(this,e,t,n?n.children.slice():[],o-1,i-1),this.markDirty(),0))}split(e){let t=[],n=0,r=-1,o=0;for(let i of this.children){let a=n+i.length;a>e&&t.push(n<e?i.split(e-n):i),r<0&&n>=e&&(r=o),n=a,o++}let i=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new J(this.mark,t,i)}domAtPos(e){return ne(this,e)}coordsAt(e,t){return oe(this,e,t)}}class ee extends z{static create(e,t,n){return new ee(e,t,n)}constructor(e,t,n){super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}split(e){let t=ee.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){this.dom&&this.widget.updateDOM(this.dom,e)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,t,n,r,o,i){return!(n&&(!(n instanceof ee&&this.widget.compare(n.widget))||e>0&&o<=0||t<this.length&&i<=0)||(this.length=e+(n?n.length:0)+(this.length-t),0))}become(e){return e instanceof ee&&e.side==this.side&&this.widget.constructor==e.widget.constructor&&(this.widget.compare(e.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,!0)}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(0==this.length)return r.EY.empty;let e=this;for(;e.parent;)e=e.parent;let{view:t}=e,n=t&&t.state.doc,o=this.posAtStart;return n?n.slice(o,o+this.length):r.EY.empty}domAtPos(e){return(this.length?0==e:this.side>0)?$.before(this.dom):$.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let n=this.widget.coordsAt(this.dom,e,t);if(n)return n;let r=this.dom.getClientRects(),o=null;if(!r.length)return null;let i=this.side?this.side<0:e>0;for(let t=i?r.length-1:0;o=r[t],!(e>0?0==t:t==r.length-1||o.top<o.bottom);t+=i?-1:1);return O(o,!i)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class te extends z{constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}become(e){return e instanceof te&&e.side==this.side}split(){return new te(this.side)}sync(){if(!this.dom){let e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}getSide(){return this.side}domAtPos(e){return this.side>0?$.before(this.dom):$.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return r.EY.empty}get isHidden(){return!0}}function ne(e,t){let n=e.dom,{children:r}=e,o=0;for(let e=0;o<r.length;o++){let i=r[o],a=e+i.length;if(!(a==e&&i.getSide()<=0)){if(t>e&&t<a&&i.dom.parentNode==n)return i.domAtPos(t-e);if(t<=e)break;e=a}}for(let e=o;e>0;e--){let t=r[e-1];if(t.dom.parentNode==n)return t.domAtPos(t.length)}for(let e=o;e<r.length;e++){let t=r[e];if(t.dom.parentNode==n)return t.domAtPos(0)}return new $(n,0)}function re(e,t,n){let r,{children:o}=e;n>0&&t instanceof J&&o.length&&(r=o[o.length-1])instanceof J&&r.mark.eq(t.mark)?re(r,t.children[0],n-1):(o.push(t),t.setParent(e)),e.length+=t.length}function oe(e,t,n){let r=null,o=-1,i=null,a=-1;!function e(t,s){for(let l=0,c=0;l<t.children.length&&c<=s;l++){let u=t.children[l],d=c+u.length;d>=s&&(u.children.length?e(u,s-c):(!i||i.isHidden&&n>0)&&(d>s||c==d&&u.getSide()>0)?(i=u,a=s-c):(c<s||c==d&&u.getSide()<0&&!u.isHidden)&&(r=u,o=s-c)),c=d}}(e,t);let s=(n<0?r:i)||r||i;return s?s.coordsAt(Math.max(0,s==r?o:a),n):function(e){let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let n=p(t);return n[n.length-1]||null}(e)}function ie(e,t){for(let n in e)"class"==n&&t.class?t.class+=" "+e.class:"style"==n&&t.style?t.style+=";"+e.style:t[n]=e[n];return t}K.prototype.children=ee.prototype.children=te.prototype.children=M;const ae=Object.create(null);function se(e,t,n){if(e==t)return!0;e||(e=ae),t||(t=ae);let r=Object.keys(e),o=Object.keys(t);if(r.length-(n&&r.indexOf(n)>-1?1:0)!=o.length-(n&&o.indexOf(n)>-1?1:0))return!1;for(let i of r)if(i!=n&&(-1==o.indexOf(i)||e[i]!==t[i]))return!1;return!0}function le(e,t,n){let r=!1;if(t)for(let o in t)n&&o in n||(r=!0,"style"==o?e.style.cssText="":e.removeAttribute(o));if(n)for(let o in n)t&&t[o]==n[o]||(r=!0,"style"==o?e.style.cssText=n[o]:e.setAttribute(o,n[o]));return r}function ce(e){let t=Object.create(null);for(let n=0;n<e.attributes.length;n++){let r=e.attributes[n];t[r.name]=r.value}return t}class ue{eq(e){return!1}updateDOM(e,t){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,t,n){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}}var de=function(e){return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e}(de||(de={}));class fe extends r.FB{constructor(e,t,n,r){super(),this.startSide=e,this.endSide=t,this.widget=n,this.spec=r}get heightRelevant(){return!1}static mark(e){return new he(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return t+=n&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new me(e,t,t,n,e.widget||null,!1)}static replace(e){let t,n,r=!!e.block;if(e.isBlockGap)t=-5e8,n=4e8;else{let{start:o,end:i}=ge(e,r);t=(o?r?-3e8:-1:5e8)-1,n=1+(i?r?2e8:1:-6e8)}return new me(e,t,n,r,e.widget||null,!0)}static line(e){return new pe(e)}static set(e,t=!1){return r.om.of(e,t)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}}fe.none=r.om.empty;class he extends fe{constructor(e){let{start:t,end:n}=ge(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var t,n;return this==e||e instanceof he&&this.tagName==e.tagName&&(this.class||(null===(t=this.attrs)||void 0===t?void 0:t.class))==(e.class||(null===(n=e.attrs)||void 0===n?void 0:n.class))&&se(this.attrs,e.attrs,"class")}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}he.prototype.point=!1;class pe extends fe{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof pe&&this.spec.class==e.spec.class&&se(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}pe.prototype.mapMode=r.iR.TrackBefore,pe.prototype.point=!0;class me extends fe{constructor(e,t,n,o,i,a){super(t,n,i,e),this.block=o,this.isReplace=a,this.mapMode=o?t<=0?r.iR.TrackBefore:r.iR.TrackAfter:r.iR.TrackDel}get type(){return this.startSide!=this.endSide?de.WidgetRange:this.startSide<=0?de.WidgetBefore:de.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof me&&((t=this.widget)==(n=e.widget)||!!(t&&n&&t.compare(n)))&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide;var t,n}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}function ge(e,t=!1){let{inclusiveStart:n,inclusiveEnd:r}=e;return null==n&&(n=e.inclusive),null==r&&(r=e.inclusive),{start:null!=n?n:t,end:null!=r?r:t}}function Ae(e,t,n,r=0){let o=n.length-1;o>=0&&n[o]+r>=e?n[o]=Math.max(n[o],t):n.push(e,t)}me.prototype.point=!0;class ve extends z{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,n,r,o,i){if(n){if(!(n instanceof ve))return!1;this.dom||n.transferDOM(this)}return r&&this.setDeco(n?n.attrs:null),N(this,e,t,n?n.children.slice():[],o,i),!0}split(e){let t=new ve;if(t.breakAfter=this.breakAfter,0==this.length)return t;let{i:n,off:r}=this.childPos(e);r&&(t.append(this.children[n].split(r),0),this.children[n].merge(r,this.children[n].length,null,!1,0,0),n++);for(let e=n;e<this.children.length;e++)t.append(this.children[e],0);for(;n>0&&0==this.children[n-1].length;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){se(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){re(this,e,t)}addLineDeco(e){let t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=ie(t,this.attrs||{})),n&&(this.attrs=ie({class:n},this.attrs||{}))}domAtPos(e){return ne(this,e)}reuseDOM(e){"DIV"==e.nodeName&&(this.setDOM(e),this.flags|=6)}sync(e,t){var n;this.dom?4&this.flags&&(Q(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(le(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let r=this.dom.lastChild;for(;r&&z.get(r)instanceof J;)r=r.lastChild;if(!(r&&this.length&&("BR"==r.nodeName||0!=(null===(n=z.get(r))||void 0===n?void 0:n.isEditable)||G.ios&&this.children.some((e=>e instanceof K))))){let e=document.createElement("BR");e.cmIgnore=!0,this.dom.appendChild(e)}}measureTextSize(){if(0==this.children.length||this.length>20)return null;let e,t=0;for(let n of this.children){if(!(n instanceof K)||/[^ -~]/.test(n.text))return null;let r=p(n.dom);if(1!=r.length)return null;t+=r[0].width,e=r[0].height}return t?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length,textHeight:e}:null}coordsAt(e,t){let n=oe(this,e,t);if(!this.children.length&&n&&this.parent){let{heightOracle:e}=this.parent.view.viewState,t=n.bottom-n.top;if(Math.abs(t-e.lineHeight)<2&&e.textHeight<t){let r=(t-e.textHeight)/2;return{top:n.top+r,bottom:n.bottom-r,left:n.left,right:n.left}}}return n}become(e){return e instanceof ve&&0==this.children.length&&0==e.children.length&&se(this.attrs,e.attrs)&&this.breakAfter==e.breakAfter}covers(){return!0}static find(e,t){for(let n=0,r=0;n<e.children.length;n++){let o=e.children[n],i=r+o.length;if(i>=t){if(o instanceof ve)return o;if(i>t)break}r=i+o.breakAfter}return null}}class ye extends z{constructor(e,t,n){super(),this.widget=e,this.length=t,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(e,t,n,r,o,i){return!(n&&(!(n instanceof ye&&this.widget.compare(n.widget))||e>0&&o<=0||t<this.length&&i<=0)||(this.length=e+(n?n.length:0)+(this.length-t),0))}domAtPos(e){return 0==e?$.before(this.dom):$.after(this.dom,e==this.length)}split(e){let t=this.length-e;this.length=e;let n=new ye(this.widget,t,this.deco);return n.breakAfter=this.breakAfter,n}get children(){return M}sync(e){this.dom&&this.widget.updateDOM(this.dom,e)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):r.EY.empty}domBoundsAround(){return null}become(e){return e instanceof ye&&e.widget.constructor==this.widget.constructor&&(e.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,this.deco=e.deco,this.breakAfter=e.breakAfter,!0)}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(e,t){return this.widget.coordsAt(this.dom,e,t)||(this.widget instanceof Oe?null:O(this.dom.getBoundingClientRect(),this.length?0==e:t<=0))}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:t,endSide:n}=this.deco;return t!=n&&(e<0?t<0:n>0)}}class Oe extends ue{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}class be{constructor(e,t,n,r){this.doc=e,this.pos=t,this.end=n,this.disallowBlockEffectsFor=r,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=t}posCovered(){if(0==this.content.length)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof ye&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new ve),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(we(new te(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,this.posCovered()||e&&this.content.length&&this.content[this.content.length-1]instanceof ye||this.getLine()}buildText(e,t,n){for(;e>0;){if(this.textOff==this.text.length){let{value:t,lineBreak:n,done:r}=this.cursor.next(this.skip);if(this.skip=0,r)throw new Error("Ran out of text content when drawing inline views");if(n){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}this.text=t,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-n)),this.getLine().append(we(new K(this.text.slice(this.textOff,this.textOff+r)),t),n),this.atCursorPos=!0,this.textOff+=r,e-=r,n=0}}span(e,t,n,r){this.buildText(t-e,n,r),this.pos=t,this.openStart<0&&(this.openStart=r)}point(e,t,n,r,o,i){if(this.disallowBlockEffectsFor[i]&&n instanceof me){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=t-e;if(n instanceof me)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new ye(n.widget||_e.block,a,n));else{let i=ee.create(n.widget||_e.inline,a,a?0:n.startSide),s=this.atCursorPos&&!i.isEditable&&o<=r.length&&(e<t||n.startSide>0),l=!i.isEditable&&(e<t||o>r.length||n.startSide<=0),c=this.getLine();2!=this.pendingBuffer||s||i.isEditable||(this.pendingBuffer=0),this.flushBuffer(r),s&&(c.append(we(new te(1),r),o),o=r.length+Math.max(0,o-r.length)),c.append(we(i,r),o),this.atCursorPos=l,this.pendingBuffer=l?e<t||o>r.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=o)}static build(e,t,n,o,i){let a=new be(e,t,n,i);return a.openEnd=r.om.spans(o,t,n,a),a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a}}function we(e,t){for(let n of t)e=new J(n,[e],e.length);return e}class _e extends ue{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}_e.inline=new _e("span"),_e.block=new _e("div");var xe=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(xe||(xe={}));const Se=xe.LTR,ke=xe.RTL;function Ce(e){let t=[];for(let n=0;n<e.length;n++)t.push(1<<+e[n]);return t}const Be=Ce("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),Qe=Ce("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),Te=Object.create(null),Ee=[];for(let e of["()","[]","{}"]){let t=e.charCodeAt(0),n=e.charCodeAt(1);Te[t]=n,Te[n]=-t}function Pe(e){return e<=247?Be[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?Qe[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1}const $e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class Me{get dir(){return this.level%2?ke:Se}constructor(e,t,n){this.from=e,this.to=t,this.level=n}side(e,t){return this.dir==t==e?this.to:this.from}forward(e,t){return e==(this.dir==t)}static find(e,t,n,r){let o=-1;for(let i=0;i<e.length;i++){let a=e[i];if(a.from<=t&&a.to>=t){if(a.level==n)return i;(o<0||(0!=r?r<0?a.from<t:a.to>t:e[o].level>a.level))&&(o=i)}}if(o<0)throw new RangeError("Index out of range");return o}}function ze(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],o=t[n];if(r.from!=o.from||r.to!=o.to||r.direction!=o.direction||!ze(r.inner,o.inner))return!1}return!0}const Re=[];function De(e,t,n,r,o,i,a){let s=r%2?2:1;if(r%2==o%2)for(let l=t,c=0;l<n;){let t=!0,u=!1;if(c==i.length||l<i[c].from){let e=Re[l];e!=s&&(t=!1,u=16==e)}let d=t||1!=s?null:[],f=t?r:r+1,h=l;e:for(;;)if(c<i.length&&h==i[c].from){if(u)break e;let p=i[c];if(!t)for(let e=p.to,t=c+1;;){if(e==n)break e;if(!(t<i.length&&i[t].from==e)){if(Re[e]==s)break e;break}e=i[t++].to}c++,d?d.push(p):(p.from>l&&a.push(new Me(l,p.from,f)),Ie(e,p.direction==Se!=!(f%2)?r+1:r,o,p.inner,p.from,p.to,a),l=p.to),h=p.to}else{if(h==n||(t?Re[h]!=s:Re[h]==s))break;h++}d?De(e,l,h,r+1,o,d,a):l<h&&a.push(new Me(l,h,f)),l=h}else for(let l=n,c=i.length;l>t;){let n=!0,u=!1;if(!c||l>i[c-1].to){let e=Re[l-1];e!=s&&(n=!1,u=16==e)}let d=n||1!=s?null:[],f=n?r:r+1,h=l;e:for(;;)if(c&&h==i[c-1].to){if(u)break e;let p=i[--c];if(!n)for(let e=p.from,n=c;;){if(e==t)break e;if(!n||i[n-1].to!=e){if(Re[e-1]==s)break e;break}e=i[--n].from}d?d.push(p):(p.to<l&&a.push(new Me(p.to,l,f)),Ie(e,p.direction==Se!=!(f%2)?r+1:r,o,p.inner,p.from,p.to,a),l=p.from),h=p.from}else{if(h==t||(n?Re[h-1]!=s:Re[h-1]==s))break;h--}d?De(e,h,l,r+1,o,d,a):h<l&&a.push(new Me(h,l,f)),l=h}}function Ie(e,t,n,r,o,i,a){let s=t%2?2:1;!function(e,t,n,r,o){for(let i=0;i<=r.length;i++){let a=i?r[i-1].to:t,s=i<r.length?r[i].from:n,l=i?256:o;for(let t=a,n=l,r=l;t<s;t++){let o=Pe(e.charCodeAt(t));512==o?o=n:8==o&&4==r&&(o=16),Re[t]=4==o?2:o,7&o&&(r=o),n=o}for(let e=a,t=l,r=l;e<s;e++){let o=Re[e];if(128==o)e<s-1&&t==Re[e+1]&&24&t?o=Re[e]=t:Re[e]=256;else if(64==o){let o=e+1;for(;o<s&&64==Re[o];)o++;let i=e&&8==t||o<n&&8==Re[o]?1==r?1:8:256;for(let t=e;t<o;t++)Re[t]=i;e=o-1}else 8==o&&1==r&&(Re[e]=1);t=o,7&o&&(r=o)}}}(e,o,i,r,s),function(e,t,n,r,o){let i=1==o?2:1;for(let a=0,s=0,l=0;a<=r.length;a++){let c=a?r[a-1].to:t,u=a<r.length?r[a].from:n;for(let t,n,r,a=c;a<u;a++)if(n=Te[t=e.charCodeAt(a)])if(n<0){for(let e=s-3;e>=0;e-=3)if(Ee[e+1]==-n){let t=Ee[e+2],n=2&t?o:4&t?1&t?i:o:0;n&&(Re[a]=Re[Ee[e]]=n),s=e;break}}else{if(189==Ee.length)break;Ee[s++]=a,Ee[s++]=t,Ee[s++]=l}else if(2==(r=Re[a])||1==r){let e=r==o;l=e?0:1;for(let t=s-3;t>=0;t-=3){let n=Ee[t+2];if(2&n)break;if(e)Ee[t+2]|=2;else{if(4&n)break;Ee[t+2]|=4}}}}}(e,o,i,r,s),function(e,t,n,r){for(let o=0,i=r;o<=n.length;o++){let a=o?n[o-1].to:e,s=o<n.length?n[o].from:t;for(let l=a;l<s;){let a=Re[l];if(256==a){let a=l+1;for(;;)if(a==s){if(o==n.length)break;a=n[o++].to,s=o<n.length?n[o].from:t}else{if(256!=Re[a])break;a++}let c=1==i,u=c==(1==(a<t?Re[a]:r))?c?1:2:r;for(let t=a,r=o,i=r?n[r-1].to:e;t>l;)t==i&&(t=n[--r].from,i=r?n[r-1].to:e),Re[--t]=u;l=a}else i=a,l++}}}(o,i,r,s),De(e,o,i,t,n,r,a)}function Ne(e){return[new Me(0,e,0)]}let Le="";function Ve(e,t,n,o,i){var a;let s=o.head-e.from,l=Me.find(t,s,null!==(a=o.bidiLevel)&&void 0!==a?a:-1,o.assoc),c=t[l],u=c.side(i,n);if(s==u){let e=l+=i?1:-1;if(e<0||e>=t.length)return null;c=t[l=e],s=c.side(!i,n),u=c.side(i,n)}let d=(0,r.zK)(e.text,s,c.forward(i,n));(d<c.from||d>c.to)&&(d=u),Le=e.text.slice(Math.min(s,d),Math.max(s,d));let f=l==(i?t.length-1:0)?null:t[l+(i?1:-1)];return f&&d==u&&f.level+(i?0:1)<c.level?r.OF.cursor(f.side(!i,n)+e.from,f.forward(i,n)?1:-1,f.level):r.OF.cursor(d+e.from,c.forward(i,n)?-1:1,c.level)}function Ue(e,t,n){for(let r=t;r<n;r++){let t=Pe(e.charCodeAt(r));if(1==t)return Se;if(2==t||4==t)return ke}return Se}const Fe=r.sj.define(),He=r.sj.define(),We=r.sj.define(),Xe=r.sj.define(),je=r.sj.define(),qe=r.sj.define(),Ze=r.sj.define(),Ye=r.sj.define(),Ge=r.sj.define(),Ke=r.sj.define({combine:e=>e.some((e=>e))}),Je=r.sj.define({combine:e=>e.some((e=>e))}),et=r.sj.define();class tt{constructor(e,t="nearest",n="nearest",r=5,o=5,i=!1){this.range=e,this.y=t,this.x=n,this.yMargin=r,this.xMargin=o,this.isSnapshot=i}map(e){return e.empty?this:new tt(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new tt(r.OF.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const nt=r.Pe.define({map:(e,t)=>e.map(t)}),rt=r.Pe.define();function ot(e,t,n){let r=e.facet(Xe);r.length?r[0](t):window.onerror?window.onerror(String(t),n,void 0,void 0,t):n?console.error(n+":",t):console.error(t)}const it=r.sj.define({combine:e=>!e.length||e[0]});let at=0;const st=r.sj.define();class lt{constructor(e,t,n,r,o){this.id=e,this.create=t,this.domEventHandlers=n,this.domEventObservers=r,this.extension=o(this)}static define(e,t){const{eventHandlers:n,eventObservers:r,provide:o,decorations:i}=t||{};return new lt(at++,e,n,r,(e=>{let t=[st.of(e)];return i&&t.push(ft.of((t=>{let n=t.plugin(e);return n?i(n):fe.none}))),o&&t.push(o(e)),t}))}static fromClass(e,t){return lt.define((t=>new e(t)),t)}}class ct{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let e=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(e)}catch(t){if(ot(e.state,t,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(e){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){ot(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(null===(t=this.value)||void 0===t?void 0:t.destroy)try{this.value.destroy()}catch(t){ot(e.state,t,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const ut=r.sj.define(),dt=r.sj.define(),ft=r.sj.define(),ht=r.sj.define(),pt=r.sj.define(),mt=r.sj.define();function gt(e,t){let n=e.state.facet(mt);if(!n.length)return n;let o=n.map((t=>t instanceof Function?t(e):t)),i=[];return r.om.spans(o,t.from,t.to,{point(){},span(e,n,r,o){let a=e-t.from,s=n-t.from,l=i;for(let e=r.length-1;e>=0;e--,o--){let n,i=r[e].spec.bidiIsolate;if(null==i&&(i=Ue(t.text,a,s)),o>0&&l.length&&(n=l[l.length-1]).to==a&&n.direction==i)n.to=s,l=n.inner;else{let e={from:a,to:s,direction:i,inner:[]};l.push(e),l=e.inner}}}}),i}const At=r.sj.define();function vt(e){let t=0,n=0,r=0,o=0;for(let i of e.state.facet(At)){let a=i(e);a&&(null!=a.left&&(t=Math.max(t,a.left)),null!=a.right&&(n=Math.max(n,a.right)),null!=a.top&&(r=Math.max(r,a.top)),null!=a.bottom&&(o=Math.max(o,a.bottom)))}return{left:t,right:n,top:r,bottom:o}}const yt=r.sj.define();class Ot{constructor(e,t,n,r){this.fromA=e,this.toA=t,this.fromB=n,this.toB=r}join(e){return new Ot(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let r=e[t-1];if(!(r.fromA>n.toA)){if(r.toA<n.fromA)break;n=n.join(r),e.splice(t-1,1)}}return e.splice(t,0,n),e}static extendWithRanges(e,t){if(0==t.length)return e;let n=[];for(let r=0,o=0,i=0,a=0;;r++){let s=r==e.length?null:e[r],l=i-a,c=s?s.fromB:1e9;for(;o<t.length&&t[o]<c;){let e=t[o],r=t[o+1],i=Math.max(a,e),s=Math.min(c,r);if(i<=s&&new Ot(i+l,s+l,i,s).addToSet(n),r>c)break;o+=2}if(!s)return n;new Ot(s.fromA,s.toA,s.fromB,s.toB).addToSet(n),i=s.toA,a=s.toB}}}class bt{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=r.VR.empty(this.startState.doc.length);for(let e of n)this.changes=this.changes.compose(e.changes);let o=[];this.changes.iterChangedRanges(((e,t,n,r)=>o.push(new Ot(e,t,n,r)))),this.changedRanges=o}static create(e,t,n){return new bt(e,t,n)}get viewportChanged(){return(4&this.flags)>0}get viewportMoved(){return(8&this.flags)>0}get heightChanged(){return(2&this.flags)>0}get geometryChanged(){return this.docChanged||(18&this.flags)>0}get focusChanged(){return(1&this.flags)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some((e=>e.selection))}get empty(){return 0==this.flags&&0==this.transactions.length}}class wt extends z{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=fe.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new ve],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new Ot(0,0,0,e.state.doc.length)],0,null)}update(e){var t;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every((({fromA:e,toA:t})=>t<this.minWidthFrom||e>this.minWidthTo))?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let o=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&((null===(t=this.domChanged)||void 0===t?void 0:t.newSel)?o=this.domChanged.newSel.head:function(e,t){let n=!1;return t&&e.iterChangedRanges(((e,r)=>{e<t.to&&r>t.from&&(n=!0)})),n}(e.changes,this.hasComposition)||e.selectionSet||(o=e.state.selection.main.head));let i=o>-1?function(e,t,n){let r=_t(e,n);if(!r)return null;let{node:o,from:i,to:a}=r,s=o.nodeValue;if(/[\n\r]/.test(s))return null;if(e.state.doc.sliceString(r.from,r.to)!=s)return null;let l=t.invertedDesc,c=new Ot(l.mapPos(i),l.mapPos(a),i,a),u=[];for(let t=o.parentNode;;t=t.parentNode){let n=z.get(t);if(n instanceof J)u.push({node:t,deco:n.mark});else{if(n instanceof ve||"DIV"==t.nodeName&&t.parentNode==e.contentDOM)return{range:c,text:o,marks:u,line:t};if(t==e.contentDOM)return null;u.push({node:t,deco:new he({inclusive:!0,attributes:ce(t),tagName:t.tagName.toLowerCase()})})}}}(this.view,e.changes,o):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:t,to:r}=this.hasComposition;n=new Ot(t,r,e.changes.mapPos(t,-1),e.changes.mapPos(r,1)).addToSet(n.slice())}this.hasComposition=i?{from:i.range.fromB,to:i.range.toB}:null,(G.ie||G.chrome)&&!i&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let a=function(e,t,n){let o=new xt;return r.om.compare(e,t,n,o),o.changes}(this.decorations,this.updateDeco(),e.changes);return n=Ot.extendWithRanges(n,a),!!(7&this.flags||0!=n.length)&&(this.updateInner(n,e.startState.doc.length,i),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,n);let{observer:r}=this.view;r.ignore((()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let e=G.chrome||G.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,e),this.flags&=-8,e&&(e.written||r.selectionRange.focusNode!=e.node)&&(this.forceSelection=!0),this.dom.style.height=""})),this.markedForComposition.forEach((e=>e.flags&=-9));let o=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let e of this.children)e instanceof ye&&e.widget instanceof Oe&&o.push(e.dom);r.updateGaps(o)}updateChildren(e,t,n){let r=n?n.range.addToSet(e.slice()):e,o=this.childCursor(t);for(let e=r.length-1;;e--){let t=e>=0?r[e]:null;if(!t)break;let i,a,s,l,{fromA:c,toA:u,fromB:d,toB:f}=t;if(n&&n.range.fromB<f&&n.range.toB>d){let e=be.build(this.view.state.doc,d,n.range.fromB,this.decorations,this.dynamicDecorationMap),t=be.build(this.view.state.doc,n.range.toB,f,this.decorations,this.dynamicDecorationMap);a=e.breakAtStart,s=e.openStart,l=t.openEnd;let r=this.compositionView(n);t.breakAtStart?r.breakAfter=1:t.content.length&&r.merge(r.length,r.length,t.content[0],!1,t.openStart,0)&&(r.breakAfter=t.content[0].breakAfter,t.content.shift()),e.content.length&&r.merge(0,0,e.content[e.content.length-1],!0,0,e.openEnd)&&e.content.pop(),i=e.content.concat(r).concat(t.content)}else({content:i,breakAtStart:a,openStart:s,openEnd:l}=be.build(this.view.state.doc,d,f,this.decorations,this.dynamicDecorationMap));let{i:h,off:p}=o.findPos(u,1),{i:m,off:g}=o.findPos(c,-1);I(this,m,g,h,p,i,a,s,l)}n&&this.fixCompositionDOM(n)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let t of e.transactions)for(let e of t.effects)e.is(rt)&&(this.editContextFormatting=e.value)}compositionView(e){let t=new K(e.text.nodeValue);t.flags|=8;for(let{deco:n}of e.marks)t=new J(n,[t],t.length);let n=new ve;return n.append(t,0),n}fixCompositionDOM(e){let t=(e,t)=>{t.flags|=8|(t.children.some((e=>7&e.flags))?1:0),this.markedForComposition.add(t);let n=z.get(e);n&&n!=t&&(n.dom=null),t.setDOM(e)},n=this.childPos(e.range.fromB,1),r=this.children[n.i];t(e.line,r);for(let o=e.marks.length-1;o>=-1;o--)n=r.childPos(n.off,1),r=r.children[n.i],t(o>=0?e.marks[o].node:e.text,r)}updateSelection(e=!1,t=!1){!e&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange();let n=this.view.root.activeElement,r=n==this.dom,o=!r&&!(this.view.state.facet(it)||this.dom.tabIndex>-1)&&h(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(r||t||o))return;let i=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,s=this.moveToLine(this.domAtPos(a.anchor)),l=a.empty?s:this.moveToLine(this.domAtPos(a.head));if(G.gecko&&a.empty&&!this.hasComposition&&1==(c=s).node.nodeType&&c.node.firstChild&&(0==c.offset||"false"==c.node.childNodes[c.offset-1].contentEditable)&&(c.offset==c.node.childNodes.length||"false"==c.node.childNodes[c.offset].contentEditable)){let e=document.createTextNode("");this.view.observer.ignore((()=>s.node.insertBefore(e,s.node.childNodes[s.offset]||null))),s=l=new $(e,0),i=!0}var c;let u=this.view.observer.selectionRange;!i&&u.focusNode&&(m(s.node,s.offset,u.anchorNode,u.anchorOffset)&&m(l.node,l.offset,u.focusNode,u.focusOffset)||this.suppressWidgetCursorChange(u,a))||(this.view.observer.ignore((()=>{G.android&&G.chrome&&this.dom.contains(u.focusNode)&&function(e,t){for(let n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(1==n.nodeType&&"false"==n.contentEditable)return!0;return!1}(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let e=d(this.view.root);if(e)if(a.empty){if(G.gecko){let e=(t=s.node,r=s.offset,1!=t.nodeType?0:(r&&"false"==t.childNodes[r-1].contentEditable?1:0)|(r<t.childNodes.length&&"false"==t.childNodes[r].contentEditable?2:0));if(e&&3!=e){let t=(1==e?E:P)(s.node,s.offset);t&&(s=new $(t.node,t.offset))}}e.collapse(s.node,s.offset),null!=a.bidiLevel&&void 0!==e.caretBidiLevel&&(e.caretBidiLevel=a.bidiLevel)}else if(e.extend){e.collapse(s.node,s.offset);try{e.extend(l.node,l.offset)}catch(e){}}else{let t=document.createRange();a.anchor>a.head&&([s,l]=[l,s]),t.setEnd(l.node,l.offset),t.setStart(s.node,s.offset),e.removeAllRanges(),e.addRange(t)}var t,r;o&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())})),this.view.observer.setSelectionRange(s,l)),this.impreciseAnchor=s.precise?null:new $(u.anchorNode,u.anchorOffset),this.impreciseHead=l.precise?null:new $(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(e,t){return this.hasComposition&&t.empty&&m(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==t.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,n=d(e.root),{anchorNode:r,anchorOffset:o}=e.observer.selectionRange;if(!(n&&t.empty&&t.assoc&&n.modify))return;let i=ve.find(this,t.head);if(!i)return;let a=i.posAtStart;if(t.head==a||t.head==a+i.length)return;let s=this.coordsAt(t.head,-1),l=this.coordsAt(t.head,1);if(!s||!l||s.bottom>l.top)return;let c=this.domAtPos(t.head+t.assoc);n.collapse(c.node,c.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let u=e.observer.selectionRange;e.docView.posFromDOM(u.anchorNode,u.anchorOffset)!=t.from&&n.collapse(r,o)}moveToLine(e){let t,n=this.dom;if(e.node!=n)return e;for(let r=e.offset;!t&&r<n.childNodes.length;r++){let e=z.get(n.childNodes[r]);e instanceof ve&&(t=e.domAtPos(0))}for(let r=e.offset-1;!t&&r>=0;r--){let e=z.get(n.childNodes[r]);e instanceof ve&&(t=e.domAtPos(e.length))}return t?new $(t.node,t.offset,!0):e}nearest(e){for(let t=e;t;){let e=z.get(t);if(e&&e.rootView==this)return e;t=t.parentNode}return null}posFromDOM(e,t){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;t<this.children.length-1;){let e=this.children[t];if(n<e.length||e instanceof ve)break;t++,n=0}return this.children[t].domAtPos(n)}coordsAt(e,t){let n=null,r=0;for(let o=this.length,i=this.children.length-1;i>=0;i--){let a=this.children[i],s=o-a.breakAfter,l=s-a.length;if(s<e)break;if(l<=e&&(l<e||a.covers(-1))&&(s>e||a.covers(1))&&(!n||a instanceof ve&&!(n instanceof ve&&t>=0)))n=a,r=l;else if(n&&l==e&&s==e&&a instanceof ye&&Math.abs(t)<2){if(a.deco.startSide<0)break;i&&(n=null)}o=l}return n?n.coordsAt(e-r,t):null}coordsForChar(e){let{i:t,off:n}=this.childPos(e,1),o=this.children[t];if(!(o instanceof ve))return null;for(;o.children.length;){let{i:e,off:t}=o.childPos(n,1);for(;;e++){if(e==o.children.length)return null;if((o=o.children[e]).length)break}n=t}if(!(o instanceof K))return null;let i=(0,r.zK)(o.text,n);if(i==n)return null;let a=C(o.dom,n,i).getClientRects();for(let e=0;e<a.length;e++){let t=a[e];if(e==a.length-1||t.top<t.bottom&&t.left<t.right)return t}return null}measureVisibleLineHeights(e){let t=[],{from:n,to:r}=e,o=this.view.contentDOM.clientWidth,i=o>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,s=this.view.textDirection==xe.LTR;for(let e=0,l=0;l<this.children.length;l++){let c=this.children[l],u=e+c.length;if(u>r)break;if(e>=n){let n=c.dom.getBoundingClientRect();if(t.push(n.height),i){let t=c.dom.lastChild,r=t?p(t):[];if(r.length){let t=r[r.length-1],i=s?t.right-n.left:n.right-t.left;i>a&&(a=i,this.minWidth=o,this.minWidthFrom=e,this.minWidthTo=u)}}}e=u+c.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return"rtl"==getComputedStyle(this.children[t].dom).direction?xe.RTL:xe.LTR}measureTextSize(){for(let e of this.children)if(e instanceof ve){let t=e.measureTextSize();if(t)return t}let e,t,n,r=document.createElement("div");return r.className="cm-line",r.style.width="99999px",r.style.position="absolute",r.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore((()=>{this.dom.appendChild(r);let o=p(r.firstChild)[0];e=r.getBoundingClientRect().height,t=o?o.width/27:7,n=o?o.height:e,r.remove()})),{lineHeight:e,charWidth:t,textHeight:n}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new D(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,r=0;;r++){let o=r==t.viewports.length?null:t.viewports[r],i=o?o.from-1:this.length;if(i>n){let r=(t.lineBlockAt(i).bottom-t.lineBlockAt(n).top)/this.view.scaleY;e.push(fe.replace({widget:new Oe(r),block:!0,inclusive:!0,isBlockGap:!0}).range(n,i))}if(!o)break;n=o.to+1}return fe.set(e)}updateDeco(){let e=1,t=this.view.state.facet(ft).map((t=>(this.dynamicDecorationMap[e++]="function"==typeof t)?t(this.view):t)),n=!1,o=this.view.state.facet(ht).map(((e,t)=>{let r="function"==typeof e;return r&&(n=!0),r?e(this.view):e}));for(o.length&&(this.dynamicDecorationMap[e++]=n,t.push(r.om.join(o))),this.decorations=[this.editContextFormatting,...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;return this.decorations}scrollIntoView(e){if(e.isSnapshot){let t=this.view.viewState.lineBlockAt(e.range.head);return this.view.scrollDOM.scrollTop=t.top-e.yMargin,void(this.view.scrollDOM.scrollLeft=e.xMargin)}for(let t of this.view.state.facet(et))try{if(t(this.view,e.range,e))return!0}catch(e){ot(this.view.state,e,"scroll handler")}let t,{range:n}=e,r=this.coordsAt(n.head,n.empty?n.assoc:n.head>n.anchor?-1:1);if(!r)return;!n.empty&&(t=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={left:Math.min(r.left,t.left),top:Math.min(r.top,t.top),right:Math.max(r.right,t.right),bottom:Math.max(r.bottom,t.bottom)});let o=vt(this.view),i={left:r.left-o.left,top:r.top-o.top,right:r.right+o.right,bottom:r.bottom+o.bottom},{offsetWidth:a,offsetHeight:s}=this.view.scrollDOM;!function(e,t,n,r,o,i,a,s){let l=e.ownerDocument,c=l.defaultView||window;for(let u=e,d=!1;u&&!d;)if(1==u.nodeType){let e,f=u==l.body,h=1,p=1;if(f)e=b(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(d=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let t=u.getBoundingClientRect();({scaleX:h,scaleY:p}=w(u,t)),e={left:t.left,right:t.left+u.clientWidth*h,top:t.top,bottom:t.top+u.clientHeight*p}}let m=0,g=0;if("nearest"==o)t.top<e.top?(g=t.top-(e.top+a),n>0&&t.bottom>e.bottom+g&&(g=t.bottom-e.bottom+a)):t.bottom>e.bottom&&(g=t.bottom-e.bottom+a,n<0&&t.top-g<e.top&&(g=t.top-(e.top+a)));else{let r=t.bottom-t.top,i=e.bottom-e.top;g=("center"==o&&r<=i?t.top+r/2-i/2:"start"==o||"center"==o&&n<0?t.top-a:t.bottom-i+a)-e.top}if("nearest"==r?t.left<e.left?(m=t.left-(e.left+i),n>0&&t.right>e.right+m&&(m=t.right-e.right+i)):t.right>e.right&&(m=t.right-e.right+i,n<0&&t.left<e.left+m&&(m=t.left-(e.left+i))):m=("center"==r?t.left+(t.right-t.left)/2-(e.right-e.left)/2:"start"==r==s?t.left-i:t.right-(e.right-e.left)+i)-e.left,m||g)if(f)c.scrollBy(m,g);else{let e=0,n=0;if(g){let e=u.scrollTop;u.scrollTop+=g/p,n=(u.scrollTop-e)*p}if(m){let t=u.scrollLeft;u.scrollLeft+=m/h,e=(u.scrollLeft-t)*h}t={left:t.left-e,top:t.top-n,right:t.right-e,bottom:t.bottom-n},e&&Math.abs(e-m)<1&&(r="nearest"),n&&Math.abs(n-g)<1&&(o="nearest")}if(f)break;(t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)&&(t={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)}),u=u.assignedSlot||u.parentNode}else{if(11!=u.nodeType)break;u=u.host}}(this.view.scrollDOM,i,n.head<n.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,a),-a),Math.max(Math.min(e.yMargin,s),-s),this.view.textDirection==xe.LTR)}}function _t(e,t){let n=e.observer.selectionRange;if(!n.focusNode)return null;let r=E(n.focusNode,n.focusOffset),o=P(n.focusNode,n.focusOffset),i=r||o;if(o&&r&&o.node!=r.node){let t=z.get(o.node);if(!t||t instanceof K&&t.text!=o.node.nodeValue)i=o;else if(e.docView.lastCompositionAfterCursor){let e=z.get(r.node);!e||e instanceof K&&e.text!=r.node.nodeValue||(i=o)}}if(e.docView.lastCompositionAfterCursor=i!=r,!i)return null;let a=t-i.offset;return{from:a,to:a+i.node.nodeValue.length,node:i.node}}let xt=class{constructor(){this.changes=[]}compareRange(e,t){Ae(e,t,this.changes)}comparePoint(e,t){Ae(e,t,this.changes)}boundChange(e){Ae(e,e,this.changes)}};function St(e,t){return t.left>e?t.left-e:Math.max(0,e-t.right)}function kt(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function Ct(e,t){return e.top<t.bottom-1&&e.bottom>t.top+1}function Bt(e,t){return t<e.top?{top:t,left:e.left,right:e.right,bottom:e.bottom}:e}function Qt(e,t){return t>e.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function Tt(e,t,n){let r,o,i,a,s,l,c,u,d=!1;for(let f=e.firstChild;f;f=f.nextSibling){let e=p(f);for(let h=0;h<e.length;h++){let p=e[h];o&&Ct(o,p)&&(p=Bt(Qt(p,o.bottom),o.top));let m=St(t,p),g=kt(n,p);if(0==m&&0==g)return 3==f.nodeType?Et(f,t,n):Tt(f,t,n);if(!r||a>g||a==g&&i>m){r=f,o=p,i=m,a=g;let s=g?n<p.top?-1:1:m?t<p.left?-1:1:0;d=!s||(s>0?h<e.length-1:h>0)}0==m?n>p.bottom&&(!c||c.bottom<p.bottom)?(s=f,c=p):n<p.top&&(!u||u.top>p.top)&&(l=f,u=p):c&&Ct(c,p)?c=Qt(c,p.bottom):u&&Ct(u,p)&&(u=Bt(u,p.top))}}if(c&&c.bottom>=n?(r=s,o=c):u&&u.top<=n&&(r=l,o=u),!r)return{node:e,offset:0};let f=Math.max(o.left,Math.min(o.right,t));return 3==r.nodeType?Et(r,f,n):d&&"false"!=r.contentEditable?Tt(r,f,n):{node:e,offset:Array.prototype.indexOf.call(e.childNodes,r)+(t>=(o.left+o.right)/2?1:0)}}function Et(e,t,n){let r=e.nodeValue.length,o=-1,i=1e9,a=0;for(let s=0;s<r;s++){let r=C(e,s,s+1).getClientRects();for(let l=0;l<r.length;l++){let c=r[l];if(c.top==c.bottom)continue;a||(a=t-c.left);let u=(c.top>n?c.top-n:n-c.bottom)-1;if(c.left-1<=t&&c.right+1>=t&&u<i){let n=t>=(c.left+c.right)/2,r=n;if((G.chrome||G.gecko)&&C(e,s).getBoundingClientRect().left==c.right&&(r=!n),u<=0)return{node:e,offset:s+(r?1:0)};o=s+(r?1:0),i=u}}}return{node:e,offset:o>-1?o:a>0?e.nodeValue.length:0}}function Pt(e,t,n,r=-1){var o,i;let a,s=e.contentDOM.getBoundingClientRect(),l=s.top+e.viewState.paddingTop,{docHeight:c}=e.viewState,{x:u,y:d}=t,f=d-l;if(f<0)return 0;if(f>c)return e.state.doc.length;for(let t=e.viewState.heightOracle.textHeight/2,o=!1;a=e.elementAtHeight(f),a.type!=de.Text;)for(;f=r>0?a.bottom+t:a.top-t,!(f>=0&&f<=c);){if(o)return n?null:0;o=!0,r=-r}d=l+f;let h=a.from;if(h<e.viewport.from)return 0==e.viewport.from?0:n?null:$t(e,s,a,u,d);if(h>e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:$t(e,s,a,u,d);let p=e.dom.ownerDocument,m=e.root.elementFromPoint?e.root:p,g=m.elementFromPoint(u,d);g&&!e.contentDOM.contains(g)&&(g=null),g||(u=Math.max(s.left+1,Math.min(s.right-1,u)),g=m.elementFromPoint(u,d),g&&!e.contentDOM.contains(g)&&(g=null));let A,v=-1;if(g&&0!=(null===(o=e.docView.nearest(g))||void 0===o?void 0:o.isEditable)){if(p.caretPositionFromPoint){let e=p.caretPositionFromPoint(u,d);e&&({offsetNode:A,offset:v}=e)}else if(p.caretRangeFromPoint){let t=p.caretRangeFromPoint(u,d);t&&(({startContainer:A,startOffset:v}=t),(!e.contentDOM.contains(A)||G.safari&&function(e,t,n){let r;if(3!=e.nodeType||t!=(r=e.nodeValue.length))return!1;for(let t=e.nextSibling;t;t=t.nextSibling)if(1!=t.nodeType||"BR"!=t.nodeName)return!1;return C(e,r-1,r).getBoundingClientRect().left>n}(A,v,u)||G.chrome&&function(e,t,n){if(0!=t)return!1;for(let t=e;;){let e=t.parentNode;if(!e||1!=e.nodeType||e.firstChild!=t)return!1;if(e.classList.contains("cm-line"))break;t=e}return n-(1==e.nodeType?e.getBoundingClientRect():C(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect()).left>5}(A,v,u))&&(A=void 0))}A&&(v=Math.min(y(A),v))}if(!A||!e.docView.dom.contains(A)){let t=ve.find(e.docView,h);if(!t)return f>a.top+a.height/2?a.to:a.from;({node:A,offset:v}=Tt(t.dom,u,d))}let O=e.docView.nearest(A);if(!O)return null;if(O.isWidget&&1==(null===(i=O.dom)||void 0===i?void 0:i.nodeType)){let e=O.dom.getBoundingClientRect();return t.y<e.top||t.y<=e.bottom&&t.x<=(e.left+e.right)/2?O.posAtStart:O.posAtEnd}return O.localPosFromDOM(A,v)+O.posAtStart}function $t(e,t,n,o,i){let a=Math.round((o-t.left)*e.defaultCharacterWidth);if(e.lineWrapping&&n.height>1.5*e.defaultLineHeight){let t=e.viewState.heightOracle.textHeight;a+=Math.floor((i-n.top-.5*(e.defaultLineHeight-t))/t)*e.viewState.heightOracle.lineLength}let s=e.state.sliceDoc(n.from,n.to);return n.from+(0,r.kn)(s,a,e.state.tabSize)}function Mt(e,t){let n=e.lineBlockAt(t);if(Array.isArray(n.type))for(let e of n.type)if(e.to>t||e.to==t&&(e.to==n.to||e.type==de.Text))return e;return n}function zt(e,t,n,r){let o=e.state.doc.lineAt(t.head),i=e.bidiSpans(o),a=e.textDirectionAt(o.from);for(let s=t,l=null;;){let t=Ve(o,i,a,s,n),c=Le;if(!t){if(o.number==(n?e.state.doc.lines:1))return s;c="\n",o=e.state.doc.line(o.number+(n?1:-1)),i=e.bidiSpans(o),t=e.visualLineSide(o,!n)}if(l){if(!l(c))return s}else{if(!r)return t;l=r(c)}s=t}}function Rt(e,t,n){for(;;){let r=0;for(let o of e)o.between(t-1,t+1,((e,o,i)=>{if(t>e&&t<o){let i=r||n||(t-e<o-t?-1:1);t=i<0?e:o,r=i}}));if(!r)return t}}function Dt(e,t,n){let o=Rt(e.state.facet(pt).map((t=>t(e))),n.from,t.head>n.from?-1:1);return o==n.from?n:r.OF.cursor(o,o<n.from?1:-1)}const It="￿";class Nt{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(r.$t.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=It}readRange(e,t){if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r);let e=this.text.length;this.readNode(r);let o=r.nextSibling;if(o==t)break;let i=z.get(r),a=z.get(o);(i&&a?i.breakAfter:(i?i.breakAfter:A(r))||A(o)&&("BR"!=r.nodeName||r.cmIgnore)&&this.text.length>e)&&this.lineBreak(),r=o}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let o,i=-1,a=1;if(this.lineSeparator?(i=t.indexOf(this.lineSeparator,n),a=this.lineSeparator.length):(o=r.exec(t))&&(i=o.index,a=o[0].length),this.append(t.slice(n,i<0?t.length:i)),i<0)break;if(this.lineBreak(),a>1)for(let t of this.points)t.node==e&&t.pos>this.text.length&&(t.pos-=a-1);n=i+a}}readNode(e){if(e.cmIgnore)return;let t=z.get(e),n=t&&t.overrideDOMText;if(null!=n){this.findPointInside(e,n.length);for(let e=n.iter();!e.next().done;)e.lineBreak?this.lineBreak():this.append(e.value)}else 3==e.nodeType?this.readTextNode(e):"BR"==e.nodeName?e.nextSibling&&this.lineBreak():1==e.nodeType&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(3==e.nodeType?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(Lt(e,n.node,n.offset)?t:0))}}function Lt(e,t,n){for(;;){if(!t||n<y(t))return!1;if(t==e)return!0;n=g(t)+1,t=t.parentNode}}class Vt{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class Ut{constructor(e,t,n,o){this.typeOver=o,this.bounds=null,this.text="",this.domChanged=t>-1;let{impreciseHead:i,impreciseAnchor:a}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){let t=i||a?[]:function(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:n,anchorOffset:r,focusNode:o,focusOffset:i}=e.observer.selectionRange;return n&&(t.push(new Vt(n,r)),o==n&&i==r||t.push(new Vt(o,i))),t}(e),n=new Nt(t,e.state);n.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=n.text,this.newSel=function(e,t){if(0==e.length)return null;let n=e[0].pos,o=2==e.length?e[1].pos:n;return n>-1&&o>-1?r.OF.single(n+t,o+t):null}(t,this.bounds.from)}else{let t=e.observer.selectionRange,n=i&&i.node==t.focusNode&&i.offset==t.focusOffset||!f(e.contentDOM,t.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),o=a&&a.node==t.anchorNode&&a.offset==t.anchorOffset||!f(e.contentDOM,t.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),s=e.viewport;if((G.ios||G.chrome)&&e.state.selection.main.empty&&n!=o&&(s.from>0||s.to<e.state.doc.length)){let t=Math.min(n,o),r=Math.max(n,o),i=s.from-t,a=s.to-r;0!=i&&1!=i&&0!=t||0!=a&&-1!=a&&r!=e.state.doc.length||(n=0,o=e.state.doc.length)}this.newSel=r.OF.single(o,n)}}}function Ft(e,t){let n,{newSel:o}=t,i=e.state.selection.main,a=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:o,to:s}=t.bounds,l=i.from,c=null;(8===a||G.android&&t.text.length<s-o)&&(l=i.to,c="end");let u=function(e,t,n,r){let o=Math.min(e.length,t.length),i=0;for(;i<o&&e.charCodeAt(i)==t.charCodeAt(i);)i++;if(i==o&&e.length==t.length)return null;let a=e.length,s=t.length;for(;a>0&&s>0&&e.charCodeAt(a-1)==t.charCodeAt(s-1);)a--,s--;return"end"==r&&(n-=a+Math.max(0,i-Math.min(a,s))-i),a<i&&e.length<t.length?(i-=n<=i&&n>=a?i-n:0,s=i+(s-a),a=i):s<i&&(i-=n<=i&&n>=s?i-n:0,a=i+(a-s),s=i),{from:i,toA:a,toB:s}}(e.state.doc.sliceString(o,s,It),t.text,l-o,c);u&&(G.chrome&&13==a&&u.toB==u.from+2&&t.text.slice(u.from,u.toB)==It+It&&u.toB--,n={from:o+u.from,to:o+u.toA,insert:r.EY.of(t.text.slice(u.from,u.toB).split(It))})}else o&&(!e.hasFocus&&e.state.facet(it)||o.main.eq(i))&&(o=null);if(!n&&!o)return!1;if(!n&&t.typeOver&&!i.empty&&o&&o.main.empty?n={from:i.from,to:i.to,insert:e.state.doc.slice(i.from,i.to)}:(G.mac||G.android)&&n&&n.from==n.to&&n.from==i.head-1&&/^\. ?$/.test(n.insert.toString())&&"off"==e.contentDOM.getAttribute("autocorrect")?(o&&2==n.insert.length&&(o=r.OF.single(o.main.anchor-1,o.main.head-1)),n={from:n.from,to:n.to,insert:r.EY.of([n.insert.toString().replace("."," ")])}):n&&n.from>=i.from&&n.to<=i.to&&(n.from!=i.from||n.to!=i.to)&&i.to-i.from-(n.to-n.from)<=4?n={from:i.from,to:i.to,insert:e.state.doc.slice(i.from,n.from).append(n.insert).append(e.state.doc.slice(n.to,i.to))}:G.chrome&&n&&n.from==n.to&&n.from==i.head&&"\n "==n.insert.toString()&&e.lineWrapping&&(o&&(o=r.OF.single(o.main.anchor-1,o.main.head-1)),n={from:i.from,to:i.to,insert:r.EY.of([" "])}),n)return Ht(e,n,o,a);if(o&&!o.main.eq(i)){let t=!1,n="select";return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(t=!0),n=e.inputState.lastSelectionOrigin),e.dispatch({selection:o,scrollIntoView:t,userEvent:n}),!0}return!1}function Ht(e,t,n,o=-1){if(G.ios&&e.inputState.flushIOSKey(t))return!0;let i=e.state.selection.main;if(G.android&&(t.to==i.to&&(t.from==i.from||t.from==i.from-1&&" "==e.state.sliceDoc(t.from,i.from))&&1==t.insert.length&&2==t.insert.lines&&B(e.contentDOM,"Enter",13)||(t.from==i.from-1&&t.to==i.to&&0==t.insert.length||8==o&&t.insert.length<t.to-t.from&&t.to>i.head)&&B(e.contentDOM,"Backspace",8)||t.from==i.from&&t.to==i.to+1&&0==t.insert.length&&B(e.contentDOM,"Delete",46)))return!0;let a,s=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let l=()=>a||(a=function(e,t,n){let o,i=e.state,a=i.selection.main;if(t.from>=a.from&&t.to<=a.to&&t.to-t.from>=(a.to-a.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let n=a.from<t.from?i.sliceDoc(a.from,t.from):"",r=a.to>t.to?i.sliceDoc(t.to,a.to):"";o=i.replaceSelection(e.state.toText(n+t.insert.sliceString(0,void 0,e.state.lineBreak)+r))}else{let s=i.changes(t),l=n&&n.main.to<=s.newLength?n.main:void 0;if(i.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=a.to&&t.to>=a.to-10){let c,u=e.state.sliceDoc(t.from,t.to),d=n&&_t(e,n.main.head);if(d){let e=t.insert.length-(t.to-t.from);c={from:d.from,to:d.to-e}}else c=e.state.doc.lineAt(a.head);let f=a.to-t.to,h=a.to-a.from;o=i.changeByRange((n=>{if(n.from==a.from&&n.to==a.to)return{changes:s,range:l||n.map(s)};let o=n.to-f,d=o-u.length;if(n.to-n.from!=h||e.state.sliceDoc(d,o)!=u||n.to>=c.from&&n.from<=c.to)return{range:n};let p=i.changes({from:d,to:o,insert:t.insert}),m=n.to-a.to;return{changes:p,range:l?r.OF.range(Math.max(0,l.anchor+m),Math.max(0,l.head+m)):n.map(p)}}))}else o={changes:s,selection:l&&i.selection.replaceRange(l)}}let s="input.type";return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,s+=".compose",e.inputState.compositionFirstChange&&(s+=".start",e.inputState.compositionFirstChange=!1)),i.update(o,{userEvent:s,scrollIntoView:!0})}(e,t,n));return e.state.facet(qe).some((n=>n(e,t.from,t.to,s,l)))||e.dispatch(l()),!0}class Wt{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,G.safari&&e.contentDOM.addEventListener("input",(()=>null)),G.gecko&&function(e){yn.has(e)||(yn.add(e),e.addEventListener("copy",(()=>{})),e.addEventListener("cut",(()=>{})))}(e.contentDOM.ownerDocument)}handleEvent(e){(function(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n,r=t.target;r!=e.contentDOM;r=r.parentNode)if(!r||11==r.nodeType||(n=z.get(r))&&n.ignoreEvent(t))return!1;return!0})(this.view,e)&&!this.ignoreDuringComposition(e)&&("keydown"==e.type&&this.keydown(e)||(0!=this.view.updateState?Promise.resolve().then((()=>this.runHandlers(e.type,e))):this.runHandlers(e.type,e)))}runHandlers(e,t){let n=this.handlers[e];if(n){for(let e of n.observers)e(this.view,t);for(let e of n.handlers){if(t.defaultPrevented)break;if(e(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=jt(e),n=this.handlers,r=this.view.contentDOM;for(let e in t)if("scroll"!=e){let o=!t[e].handlers.length,i=n[e];i&&o!=!i.handlers.length&&(r.removeEventListener(e,this.handleEvent),i=null),i||r.addEventListener(e,this.handleEvent,{passive:o})}for(let e in n)"scroll"==e||t[e]||r.removeEventListener(e,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),9==e.keyCode&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&27!=e.keyCode&&Yt.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),G.android&&G.chrome&&!e.synthetic&&(13==e.keyCode||8==e.keyCode))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let t;return!G.ios||e.synthetic||e.altKey||e.metaKey||!((t=qt.find((t=>t.keyCode==e.keyCode)))&&!e.ctrlKey||Zt.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(229!=e.keyCode&&this.view.observer.forceFlush(),!1):(this.pendingIOSKey=t||e,setTimeout((()=>this.flushIOSKey()),250),!0)}flushIOSKey(e){let t=this.pendingIOSKey;return!!t&&!("Enter"==t.key&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString()))&&(this.pendingIOSKey=void 0,B(this.view.contentDOM,t.key,t.keyCode,t instanceof KeyboardEvent?t:void 0))}ignoreDuringComposition(e){return!!/^key/.test(e.type)&&(this.composing>0||!!(G.safari&&!G.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100)&&(this.compositionPendingKey=!1,!0))}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function Xt(e,t){return(n,r)=>{try{return t.call(e,r,n)}catch(e){ot(n.state,e)}}}function jt(e){let t=Object.create(null);function n(e){return t[e]||(t[e]={observers:[],handlers:[]})}for(let t of e){let e=t.spec;if(e&&e.domEventHandlers)for(let r in e.domEventHandlers){let o=e.domEventHandlers[r];o&&n(r).handlers.push(Xt(t.value,o))}if(e&&e.domEventObservers)for(let r in e.domEventObservers){let o=e.domEventObservers[r];o&&n(r).observers.push(Xt(t.value,o))}}for(let e in Jt)n(e).handlers.push(Jt[e]);for(let e in en)n(e).observers.push(en[e]);return t}const qt=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Zt="dthko",Yt=[16,17,18,20,91,92,224,225];function Gt(e){return.7*Math.max(0,e)+8}class Kt{constructor(e,t,n,o){this.view=e,this.startEvent=t,this.style=n,this.mustSelect=o,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParents=function(e){let t,n,r=e.ownerDocument;for(let o=e.parentNode;o&&!(o==r.body||t&&n);)if(1==o.nodeType)!n&&o.scrollHeight>o.clientHeight&&(n=o),!t&&o.scrollWidth>o.clientWidth&&(t=o),o=o.assignedSlot||o.parentNode;else{if(11!=o.nodeType)break;o=o.host}return{x:t,y:n}}(e.contentDOM),this.atoms=e.state.facet(pt).map((t=>t(e)));let i=e.contentDOM.ownerDocument;i.addEventListener("mousemove",this.move=this.move.bind(this)),i.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(r.$t.allowMultipleSelections)&&function(e,t){let n=e.state.facet(Fe);return n.length?n[0](t):G.mac?t.metaKey:t.ctrlKey}(e,t),this.dragging=!(!function(e,t){let{main:n}=e.state.selection;if(n.empty)return!1;let r=d(e.root);if(!r||0==r.rangeCount)return!0;let o=r.getRangeAt(0).getClientRects();for(let e=0;e<o.length;e++){let n=o[e];if(n.left<=t.clientX&&n.right>=t.clientX&&n.top<=t.clientY&&n.bottom>=t.clientY)return!0}return!1}(e,t)||1!=hn(t))&&null}start(e){!1===this.dragging&&this.select(e)}move(e){if(0==e.buttons)return this.destroy();if(this.dragging||null==this.dragging&&(t=this.startEvent,n=e,Math.max(Math.abs(t.clientX-n.clientX),Math.abs(t.clientY-n.clientY))<10))return;var t,n;this.select(this.lastEvent=e);let r=0,o=0,i=0,a=0,s=this.view.win.innerWidth,l=this.view.win.innerHeight;this.scrollParents.x&&({left:i,right:s}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:a,bottom:l}=this.scrollParents.y.getBoundingClientRect());let c=vt(this.view);e.clientX-c.left<=i+6?r=-Gt(i-e.clientX):e.clientX+c.right>=s-6&&(r=Gt(e.clientX-s)),e.clientY-c.top<=a+6?o=-Gt(a-e.clientY):e.clientY+c.bottom>=l-6&&(o=Gt(e.clientY-l)),this.setScrollSpeed(r,o)}up(e){null==this.dragging&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval((()=>this.scroll()),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:t}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),t&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=t,t=0),(e||t)&&this.view.win.scrollBy(e,t),!1===this.dragging&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let n=0;n<e.ranges.length;n++){let o=e.ranges[n],i=null;if(o.empty){let e=Rt(this.atoms,o.from,0);e!=o.from&&(i=r.OF.cursor(e,-1))}else{let e=Rt(this.atoms,o.from,-1),t=Rt(this.atoms,o.to,1);e==o.from&&t==o.to||(i=r.OF.range(o.from==o.anchor?e:t,o.from==o.head?e:t))}i&&(t||(t=e.ranges.slice()),t[n]=i)}return t?r.OF.create(t,e.mainIndex):e}select(e){let{view:t}=this,n=this.skipAtoms(this.style.get(e,this.extend,this.multiple));!this.mustSelect&&n.eq(t.state.selection,!1===this.dragging)||this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some((e=>e.isUserEvent("input.type")))?this.destroy():this.style.update(e)&&setTimeout((()=>this.select(this.lastEvent)),20)}}const Jt=Object.create(null),en=Object.create(null),tn=G.ie&&G.ie_version<15||G.ios&&G.webkit_version<604;function nn(e,t,n){for(let r of e.facet(t))n=r(n,e);return n}function rn(e,t){t=nn(e.state,Ye,t);let n,{state:o}=e,i=1,a=o.toText(t),s=a.lines==o.selection.ranges.length;if(null!=mn&&o.selection.ranges.every((e=>e.empty))&&mn==a.toString()){let e=-1;n=o.changeByRange((n=>{let l=o.doc.lineAt(n.from);if(l.from==e)return{range:n};e=l.from;let c=o.toText((s?a.line(i++).text:t)+o.lineBreak);return{changes:{from:l.from,insert:c},range:r.OF.cursor(n.from+c.length)}}))}else n=s?o.changeByRange((e=>{let t=a.line(i++);return{changes:{from:e.from,to:e.to,insert:t.text},range:r.OF.cursor(e.from+t.length)}})):o.replaceSelection(a);e.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}function on(e,t,n,o){if(1==o)return r.OF.cursor(t,n);if(2==o)return function(e,t,n=1){let o=e.charCategorizer(t),i=e.doc.lineAt(t),a=t-i.from;if(0==i.length)return r.OF.cursor(t);0==a?n=1:a==i.length&&(n=-1);let s=a,l=a;n<0?s=(0,r.zK)(i.text,a,!1):l=(0,r.zK)(i.text,a);let c=o(i.text.slice(s,l));for(;s>0;){let e=(0,r.zK)(i.text,s,!1);if(o(i.text.slice(e,s))!=c)break;s=e}for(;l<i.length;){let e=(0,r.zK)(i.text,l);if(o(i.text.slice(l,e))!=c)break;l=e}return r.OF.range(s+i.from,l+i.from)}(e.state,t,n);{let n=ve.find(e.docView,t),o=e.state.doc.lineAt(n?n.posAtEnd:t),i=n?n.posAtStart:o.from,a=n?n.posAtEnd:o.to;return a<e.state.doc.length&&a==o.to&&a++,r.OF.range(i,a)}}en.scroll=e=>{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft},Jt.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),27==t.keyCode&&0!=e.inputState.tabFocusMode&&(e.inputState.tabFocusMode=Date.now()+2e3),!1),en.touchstart=(e,t)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")},en.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")},Jt.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of e.state.facet(We))if(n=r(e,t),n)break;if(n||0!=t.button||(n=function(e,t){let n=ln(e,t),o=hn(t),i=e.state.selection;return{update(e){e.docChanged&&(n.pos=e.changes.mapPos(n.pos),i=i.map(e.changes))},get(t,a,s){let l,c=ln(e,t),u=on(e,c.pos,c.bias,o);if(n.pos!=c.pos&&!a){let t=on(e,n.pos,n.bias,o),i=Math.min(t.from,u.from),a=Math.max(t.to,u.to);u=i<u.from?r.OF.range(i,a):r.OF.range(a,i)}return a?i.replaceRange(i.main.extend(u.from,u.to)):s&&1==o&&i.ranges.length>1&&(l=function(e,t){for(let n=0;n<e.ranges.length;n++){let{from:o,to:i}=e.ranges[n];if(o<=t&&i>=t)return r.OF.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-(e.mainIndex>n?1:0))}return null}(i,c.pos))?l:s?i.addRange(u):r.OF.create([u])}}}(e,t)),n){let r=!e.hasFocus;e.inputState.startMouseSelection(new Kt(e,t,n,r)),r&&e.observer.ignore((()=>{k(e.contentDOM);let t=e.root.activeElement;t&&!t.contains(e.contentDOM)&&t.blur()}));let o=e.inputState.mouseSelection;if(o)return o.start(t),!1===o.dragging}return!1};let an=(e,t,n)=>t>=n.top&&t<=n.bottom&&e>=n.left&&e<=n.right;function sn(e,t,n,r){let o=ve.find(e.docView,t);if(!o)return 1;let i=t-o.posAtStart;if(0==i)return 1;if(i==o.length)return-1;let a=o.coordsAt(i,-1);if(a&&an(n,r,a))return-1;let s=o.coordsAt(i,1);return s&&an(n,r,s)?1:a&&a.bottom>=r?-1:1}function ln(e,t){let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:n,bias:sn(e,n,t.clientX,t.clientY)}}const cn=G.ie&&G.ie_version<=11;let un=null,dn=0,fn=0;function hn(e){if(!cn)return e.detail;let t=un,n=fn;return un=e,fn=Date.now(),dn=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(dn+1)%3:1}function pn(e,t,n,r){if(!(n=nn(e.state,Ye,n)))return;let o=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:i}=e.inputState,a=r&&i&&function(e,t){let n=e.state.facet(He);return n.length?n[0](t):G.mac?!t.altKey:!t.ctrlKey}(e,t)?{from:i.from,to:i.to}:null,s={from:o,insert:n},l=e.state.changes(a?[a,s]:s);e.focus(),e.dispatch({changes:l,selection:{anchor:l.mapPos(o,-1),head:l.mapPos(o,1)},userEvent:a?"move.drop":"input.drop"}),e.inputState.draggedContent=null}Jt.dragstart=(e,t)=>{let{selection:{main:n}}=e.state;if(t.target.draggable){let o=e.docView.nearest(t.target);if(o&&o.isWidget){let e=o.posAtStart,t=e+o.length;(e>=n.to||t<=n.from)&&(n=r.OF.range(e,t))}}let{inputState:o}=e;return o.mouseSelection&&(o.mouseSelection.dragging=!0),o.draggedContent=n,t.dataTransfer&&(t.dataTransfer.setData("Text",nn(e.state,Ge,e.state.sliceDoc(n.from,n.to))),t.dataTransfer.effectAllowed="copyMove"),!1},Jt.dragend=e=>(e.inputState.draggedContent=null,!1),Jt.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let n=t.dataTransfer.files;if(n&&n.length){let r=Array(n.length),o=0,i=()=>{++o==n.length&&pn(e,t,r.filter((e=>null!=e)).join(e.state.lineBreak),!1)};for(let e=0;e<n.length;e++){let t=new FileReader;t.onerror=i,t.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(r[e]=t.result),i()},t.readAsText(n[e])}return!0}{let n=t.dataTransfer.getData("Text");if(n)return pn(e,t,n,!0),!0}return!1},Jt.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let n=tn?null:t.clipboardData;return n?(rn(e,n.getData("text/plain")||n.getData("text/uri-list")),!0):(function(e){let t=e.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout((()=>{e.focus(),n.remove(),rn(e,n.value)}),50)}(e),!1)};let mn=null;Jt.copy=Jt.cut=(e,t)=>{let{text:n,ranges:r,linewise:o}=function(e){let t=[],n=[],r=!1;for(let r of e.selection.ranges)r.empty||(t.push(e.sliceDoc(r.from,r.to)),n.push(r));if(!t.length){let o=-1;for(let{from:r}of e.selection.ranges){let i=e.doc.lineAt(r);i.number>o&&(t.push(i.text),n.push({from:i.from,to:Math.min(e.doc.length,i.to+1)})),o=i.number}r=!0}return{text:nn(e,Ge,t.join(e.lineBreak)),ranges:n,linewise:r}}(e.state);if(!n&&!o)return!1;mn=o?n:null,"cut"!=t.type||e.state.readOnly||e.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let i=tn?null:t.clipboardData;return i?(i.clearData(),i.setData("text/plain",n),!0):(function(e,t){let n=e.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout((()=>{r.remove(),e.focus()}),50)}(e,n),!1)};const gn=r.YH.define();function An(e,t){let n=[];for(let r of e.facet(Ze)){let o=r(e,t);o&&n.push(o)}return n?e.update({effects:n,annotations:gn.of(!0)}):null}function vn(e){setTimeout((()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let n=An(e.state,t);n?e.dispatch(n):e.update([])}}),10)}en.focus=e=>{e.inputState.lastFocusTime=Date.now(),e.scrollDOM.scrollTop||!e.inputState.lastScrollTop&&!e.inputState.lastScrollLeft||(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),vn(e)},en.blur=e=>{e.observer.clearSelectionRange(),vn(e)},en.compositionstart=en.compositionupdate=e=>{e.observer.editContext||(null==e.inputState.compositionFirstChange&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))},en.compositionend=e=>{e.observer.editContext||(e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,G.chrome&&G.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then((()=>e.observer.flush())):setTimeout((()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])}),50))},en.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()},Jt.beforeinput=(e,t)=>{var n,r;if("insertReplacementText"==t.inputType&&e.observer.editContext){let r=null===(n=t.dataTransfer)||void 0===n?void 0:n.getData("text/plain"),o=t.getTargetRanges();if(r&&o.length){let t=o[0],n=e.posAtDOM(t.startContainer,t.startOffset),i=e.posAtDOM(t.endContainer,t.endOffset);return Ht(e,{from:n,to:i,insert:e.state.toText(r)},null),!0}}let o;if(G.chrome&&G.android&&(o=qt.find((e=>e.inputType==t.inputType)))&&(e.observer.delayAndroidKey(o.key,o.keyCode),"Backspace"==o.key||"Delete"==o.key)){let t=(null===(r=window.visualViewport)||void 0===r?void 0:r.height)||0;setTimeout((()=>{var n;((null===(n=window.visualViewport)||void 0===n?void 0:n.height)||0)>t+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())}),100)}return G.ios&&"deleteContentForward"==t.inputType&&e.observer.flushSoon(),G.safari&&"insertText"==t.inputType&&e.inputState.composing>=0&&setTimeout((()=>en.compositionend(e,t)),20),!1};const yn=new Set,On=["pre-wrap","normal","pre-line","break-spaces"];let bn=!1;function wn(){bn=!1}class _n{constructor(e){this.lineWrapping=e,this.doc=r.EY.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return On.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];r<0?n++:this.heightSamples[Math.floor(10*r)]||(t=!0,this.heightSamples[Math.floor(10*r)]=!0)}return t}refresh(e,t,n,r,o,i){let a=On.indexOf(e)>-1,s=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=t,this.charWidth=n,this.textHeight=r,this.lineLength=o,s){this.heightSamples={};for(let e=0;e<i.length;e++){let t=i[e];t<0?e++:this.heightSamples[Math.floor(10*t)]=!0}}return s}}class xn{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}}class Sn{constructor(e,t,n,r,o){this.from=e,this.length=t,this.top=n,this.height=r,this._content=o}get type(){return"number"==typeof this._content?de.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof me?this._content.widget:null}get widgetLineBreaks(){return"number"==typeof this._content?this._content:0}join(e){let t=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new Sn(this.from,this.length+e.length,this.top,this.height+e.height,t)}}var kn=function(e){return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",e}(kn||(kn={}));const Cn=.001;class Bn{constructor(e,t,n=2){this.length=e,this.height=t,this.flags=n}get outdated(){return(2&this.flags)>0}set outdated(e){this.flags=(e?2:0)|-3&this.flags}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>Cn&&(bn=!0),this.height=e)}replace(e,t,n){return Bn.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,r){let o=this,i=n.doc;for(let a=r.length-1;a>=0;a--){let{fromA:s,toA:l,fromB:c,toB:u}=r[a],d=o.lineAt(s,kn.ByPosNoHeight,n.setDoc(t),0,0),f=d.to>=l?d:o.lineAt(l,kn.ByPosNoHeight,n,0,0);for(u+=f.to-l,l=f.to;a>0&&d.from<=r[a-1].toA;)s=r[a-1].fromA,c=r[a-1].fromB,a--,s<d.from&&(d=o.lineAt(s,kn.ByPosNoHeight,n,0,0));c+=d.from-s,s=d.from;let h=zn.build(n.setDoc(i),e,c,u);o=Qn(o,o.replace(s,l,h))}return o.updateHeight(n,0)}static empty(){return new En(0,0)}static of(e){if(1==e.length)return e[0];let t=0,n=e.length,r=0,o=0;for(;;)if(t==n)if(r>2*o){let o=e[t-1];o.break?e.splice(--t,1,o.left,null,o.right):e.splice(--t,1,o.left,o.right),n+=1+o.break,r-=o.size}else{if(!(o>2*r))break;{let t=e[n];t.break?e.splice(n,1,t.left,null,t.right):e.splice(n,1,t.left,t.right),n+=2+t.break,o-=t.size}}else if(r<o){let n=e[t++];n&&(r+=n.size)}else{let t=e[--n];t&&(o+=t.size)}let i=0;return null==e[t-1]?(i=1,t--):null==e[t]&&(i=1,n++),new $n(Bn.of(e.slice(0,t)),i,Bn.of(e.slice(n)))}}function Qn(e,t){return e==t?e:(e.constructor!=t.constructor&&(bn=!0),t)}Bn.prototype.size=1;class Tn extends Bn{constructor(e,t,n){super(e,t),this.deco=n}blockAt(e,t,n,r){return new Sn(r,this.length,n,this.height,this.deco||0)}lineAt(e,t,n,r,o){return this.blockAt(0,n,r,o)}forEachLine(e,t,n,r,o,i){e<=o+this.length&&t>=o&&i(this.blockAt(0,n,r,o))}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more&&this.setHeight(r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class En extends Tn{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,n,r){return new Sn(r,this.length,n,this.height,this.breaks)}replace(e,t,n){let r=n[0];return 1==n.length&&(r instanceof En||r instanceof Pn&&4&r.flags)&&Math.abs(this.length-r.length)<10?(r instanceof Pn?r=new En(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):Bn.of(n)}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more?this.setHeight(r.heights[r.index++]):(n||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Pn extends Bn{constructor(e){super(e,0)}heightMetrics(e,t){let n,r=e.doc.lineAt(t).number,o=e.doc.lineAt(t+this.length).number,i=o-r+1,a=0;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*i);n=t/i,this.length>i+1&&(a=(this.height-t)/(this.length-i-1))}else n=this.height/i;return{firstLine:r,lastLine:o,perLine:n,perChar:a}}blockAt(e,t,n,r){let{firstLine:o,lastLine:i,perLine:a,perChar:s}=this.heightMetrics(t,r);if(t.lineWrapping){let o=r+(e<t.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length)),i=t.doc.lineAt(o),l=a+i.length*s,c=Math.max(n,e-l/2);return new Sn(i.from,i.length,c,l,0)}{let r=Math.max(0,Math.min(i-o,Math.floor((e-n)/a))),{from:s,length:l}=t.doc.line(o+r);return new Sn(s,l,n+a*r,a,0)}}lineAt(e,t,n,r,o){if(t==kn.ByHeight)return this.blockAt(e,n,r,o);if(t==kn.ByPosNoHeight){let{from:t,to:r}=n.doc.lineAt(e);return new Sn(t,r-t,0,0,0)}let{firstLine:i,perLine:a,perChar:s}=this.heightMetrics(n,o),l=n.doc.lineAt(e),c=a+l.length*s,u=l.number-i,d=r+a*u+s*(l.from-o-u);return new Sn(l.from,l.length,Math.max(r,Math.min(d,r+this.height-c)),c,0)}forEachLine(e,t,n,r,o,i){e=Math.max(e,o),t=Math.min(t,o+this.length);let{firstLine:a,perLine:s,perChar:l}=this.heightMetrics(n,o);for(let c=e,u=r;c<=t;){let t=n.doc.lineAt(c);if(c==e){let n=t.number-a;u+=s*n+l*(e-o-n)}let r=s+l*t.length;i(new Sn(t.from,t.length,u,r,0)),u+=r,c=t.to+1}}replace(e,t,n){let r=this.length-t;if(r>0){let e=n[n.length-1];e instanceof Pn?n[n.length-1]=new Pn(e.length+r):n.push(null,new Pn(r-1))}if(e>0){let t=n[0];t instanceof Pn?n[0]=new Pn(e+t.length):n.unshift(new Pn(e-1),null)}return Bn.of(n)}decomposeLeft(e,t){t.push(new Pn(e-1),null)}decomposeRight(e,t){t.push(null,new Pn(this.length-e-1))}updateHeight(e,t=0,n=!1,r){let o=t+this.length;if(r&&r.from<=t+this.length&&r.more){let n=[],i=Math.max(t,r.from),a=-1;for(r.from>t&&n.push(new Pn(r.from-t-1).updateHeight(e,t));i<=o&&r.more;){let t=e.doc.lineAt(i).length;n.length&&n.push(null);let o=r.heights[r.index++];-1==a?a=o:Math.abs(o-a)>=Cn&&(a=-2);let s=new En(t,o);s.outdated=!1,n.push(s),i+=t+1}i<=o&&n.push(null,new Pn(o-i).updateHeight(e,i));let s=Bn.of(n);return(a<0||Math.abs(s.height-this.height)>=Cn||Math.abs(a-this.heightMetrics(e,t).perLine)>=Cn)&&(bn=!0),Qn(this,s)}return(n||this.outdated)&&(this.setHeight(e.heightForGap(t,t+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class $n extends Bn{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return 1&this.flags}blockAt(e,t,n,r){let o=n+this.left.height;return e<o?this.left.blockAt(e,t,n,r):this.right.blockAt(e,t,o,r+this.left.length+this.break)}lineAt(e,t,n,r,o){let i=r+this.left.height,a=o+this.left.length+this.break,s=t==kn.ByHeight?e<i:e<a,l=s?this.left.lineAt(e,t,n,r,o):this.right.lineAt(e,t,n,i,a);if(this.break||(s?l.to<a:l.from>a))return l;let c=t==kn.ByPosNoHeight?kn.ByPosNoHeight:kn.ByPos;return s?l.join(this.right.lineAt(a,c,n,i,a)):this.left.lineAt(a,c,n,r,o).join(l)}forEachLine(e,t,n,r,o,i){let a=r+this.left.height,s=o+this.left.length+this.break;if(this.break)e<s&&this.left.forEachLine(e,t,n,r,o,i),t>=s&&this.right.forEachLine(e,t,n,a,s,i);else{let l=this.lineAt(s,kn.ByPos,n,r,o);e<l.from&&this.left.forEachLine(e,l.from-1,n,r,o,i),l.to>=e&&l.from<=t&&i(l),t>l.to&&this.right.forEachLine(l.to+1,t,n,a,s,i)}}replace(e,t,n){let r=this.left.length+this.break;if(t<r)return this.balanced(this.left.replace(e,t,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,n));let o=[];e>0&&this.decomposeLeft(e,o);let i=o.length;for(let e of n)o.push(e);if(e>0&&Mn(o,i-1),t<this.length){let e=o.length;this.decomposeRight(t,o),Mn(o,e)}return Bn.of(o)}decomposeLeft(e,t){let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&(n++,e>=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e<n&&this.left.decomposeRight(e,t),this.break&&e<r&&t.push(null),t.push(this.right)}balanced(e,t){return e.size>2*t.size||t.size>2*e.size?Bn.of(this.break?[e,null,t]:[e,t]):(this.left=Qn(this.left,e),this.right=Qn(this.right,t),this.setHeight(e.height+t.height),this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,r){let{left:o,right:i}=this,a=t+o.length+this.break,s=null;return r&&r.from<=t+o.length&&r.more?s=o=o.updateHeight(e,t,n,r):o.updateHeight(e,t,n),r&&r.from<=a+i.length&&r.more?s=i=i.updateHeight(e,a,n,r):i.updateHeight(e,a,n),s?this.balanced(o,i):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Mn(e,t){let n,r;null==e[t]&&(n=e[t-1])instanceof Pn&&(r=e[t+1])instanceof Pn&&e.splice(t-1,3,new Pn(n.length+1+r.length))}class zn{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let e=Math.min(t,this.lineEnd),n=this.nodes[this.nodes.length-1];n instanceof En?n.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new En(e-this.pos,-1)),this.writtenTo=e,t>e&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e<t||n.heightRelevant){let r=n.widget?n.widget.estimatedHeight:0,o=n.widget?n.widget.lineBreaks:0;r<0&&(r=this.oracle.lineHeight);let i=t-e;n.block?this.addBlock(new Tn(i,r,n)):(i||o||r>=5)&&this.addLineDeco(r,o,i)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenTo<e&&((this.writtenTo<e-1||null==this.nodes[this.nodes.length-1])&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new En(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let n=new Pn(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof En)return e;let t=new En(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,n){let r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,this.writtenTo=this.pos=this.pos+n}finish(e){let t=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||t instanceof En||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new En(0,-1));let n=e;for(let e of this.nodes)e instanceof En&&e.updateHeight(this.oracle,n),n+=e?e.length:1;return this.nodes}static build(e,t,n,o){let i=new zn(n,e);return r.om.spans(t,n,o,i,0),i.finish(n)}}class Rn{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,n,r){(e<t||n&&n.heightRelevant||r&&r.heightRelevant)&&Ae(e,t,this.changes,5)}}function Dn(e,t){let n=e.getBoundingClientRect(),r=e.ownerDocument,o=r.defaultView||window,i=Math.max(0,n.left),a=Math.min(o.innerWidth,n.right),s=Math.max(0,n.top),l=Math.min(o.innerHeight,n.bottom);for(let t=e.parentNode;t&&t!=r.body;)if(1==t.nodeType){let n=t,r=window.getComputedStyle(n);if((n.scrollHeight>n.clientHeight||n.scrollWidth>n.clientWidth)&&"visible"!=r.overflow){let r=n.getBoundingClientRect();i=Math.max(i,r.left),a=Math.min(a,r.right),s=Math.max(s,r.top),l=Math.min(t==e.parentNode?o.innerHeight:l,r.bottom)}t="absolute"==r.position||"fixed"==r.position?n.offsetParent:n.parentNode}else{if(11!=t.nodeType)break;t=t.host}return{left:i-n.left,right:Math.max(i,a)-n.left,top:s-(n.top+t),bottom:Math.max(s,l)-(n.top+t)}}function In(e,t){let n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}class Nn{constructor(e,t,n,r){this.from=e,this.to=t,this.size=n,this.displaySize=r}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],o=t[n];if(r.from!=o.from||r.to!=o.to||r.size!=o.size)return!1}return!0}draw(e,t){return fe.replace({widget:new Ln(this.displaySize*(t?e.scaleY:e.scaleX),t)}).range(this.from,this.to)}}class Ln extends ue{constructor(e,t){super(),this.size=e,this.vertical=t}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}}class Vn{constructor(e){this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!1,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=Wn,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=xe.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let t=e.facet(dt).some((e=>"function"!=typeof e&&"cm-lineWrapping"==e.class));this.heightOracle=new _n(t),this.stateDeco=e.facet(ft).filter((e=>"function"!=typeof e)),this.heightMap=Bn.empty().applyChanges(this.stateDeco,r.EY.empty,this.heightOracle.setDoc(e.doc),[new Ot(0,0,0,e.doc.length)]);for(let e=0;e<2&&(this.viewport=this.getViewport(0,null),this.updateForViewport());e++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=fe.set(this.lineGaps.map((e=>e.draw(this,!1)))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let r=n?t.head:t.anchor;if(!e.some((({from:e,to:t})=>r>=e&&r<=t))){let{from:t,to:n}=this.lineBlockAt(r);e.push(new Un(t,n))}}return this.viewports=e.sort(((e,t)=>e.from-t.from)),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?Wn:new Xn(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,(e=>{this.viewportLines.push(jn(e,this.scaler))}))}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(ft).filter((e=>"function"!=typeof e));let o=e.changedRanges,i=Ot.extendWithRanges(o,function(e,t,n){let o=new Rn;return r.om.compare(e,t,n,o,0),o.changes}(n,this.stateDeco,e?e.changes:r.VR.empty(this.state.doc.length))),a=this.heightMap.height,s=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);wn(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),i),(this.heightMap.height!=a||bn)&&(e.flags|=2),s?(this.scrollAnchorPos=e.changes.mapPos(s.from,-1),this.scrollAnchorHeight=s.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=i.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<l.from||t.range.head>l.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,t));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,e.flags|=this.updateForViewport(),(c||!e.changes.empty||2&e.flags)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(e.changes),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(Je)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,n=window.getComputedStyle(t),o=this.heightOracle,i=n.whiteSpace;this.defaultTextDirection="rtl"==n.direction?xe.RTL:xe.LTR;let a=this.heightOracle.mustRefreshForWrapping(i),s=t.getBoundingClientRect(),l=a||this.mustMeasureContent||this.contentDOMHeight!=s.height;this.contentDOMHeight=s.height,this.mustMeasureContent=!1;let c=0,u=0;if(s.width&&s.height){let{scaleX:e,scaleY:n}=w(t,s);(e>.005&&Math.abs(this.scaleX-e)>.005||n>.005&&Math.abs(this.scaleY-n)>.005)&&(this.scaleX=e,this.scaleY=n,c|=16,a=l=!0)}let d=(parseInt(n.paddingTop)||0)*this.scaleY,f=(parseInt(n.paddingBottom)||0)*this.scaleY;this.paddingTop==d&&this.paddingBottom==f||(this.paddingTop=d,this.paddingBottom=f,c|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(o.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=16);let h=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=h&&(this.scrollAnchorHeight=-1,this.scrollTop=h),this.scrolledToBottom=T(e.scrollDOM);let p=(this.printing?In:Dn)(t,this.paddingTop),m=p.top-this.pixelViewport.top,g=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;let A=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(A!=this.inView&&(this.inView=A,A&&(l=!0)),!this.inView&&!this.scrollTarget&&!function(e){let t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView||window;return t.left<n.innerWidth&&t.right>0&&t.top<n.innerHeight&&t.bottom>0}(e.dom))return 0;let v=s.width;if(this.contentDOMWidth==v&&this.editorHeight==e.scrollDOM.clientHeight||(this.contentDOMWidth=s.width,this.editorHeight=e.scrollDOM.clientHeight,c|=16),l){let t=e.docView.measureVisibleLineHeights(this.viewport);if(o.mustRefreshForHeights(t)&&(a=!0),a||o.lineWrapping&&Math.abs(v-this.contentDOMWidth)>o.charWidth){let{lineHeight:n,charWidth:r,textHeight:s}=e.docView.measureTextSize();a=n>0&&o.refresh(i,n,r,s,v/r,t),a&&(e.docView.minWidth=0,c|=16)}m>0&&g>0?u=Math.max(m,g):m<0&&g<0&&(u=Math.min(m,g)),wn();for(let n of this.viewports){let i=n.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(n);this.heightMap=(a?Bn.empty().applyChanges(this.stateDeco,r.EY.empty,this.heightOracle,[new Ot(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(o,0,a,new xn(n.from,i))}bn&&(c|=2)}let y=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return y&&(2&c&&(c|=this.updateScaler()),this.viewport=this.getViewport(u,this.scrollTarget),c|=this.updateForViewport()),(2&c||y)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,o=this.heightOracle,{visibleTop:i,visibleBottom:a}=this,s=new Un(r.lineAt(i-1e3*n,kn.ByHeight,o,0,0).from,r.lineAt(a+1e3*(1-n),kn.ByHeight,o,0,0).to);if(t){let{head:e}=t.range;if(e<s.from||e>s.to){let n,i=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),a=r.lineAt(e,kn.ByPos,o,0,0);n="center"==t.y?(a.top+a.bottom)/2-i/2:"start"==t.y||"nearest"==t.y&&e<s.from?a.top:a.bottom-i,s=new Un(r.lineAt(n-500,kn.ByHeight,o,0,0).from,r.lineAt(n+i+500,kn.ByHeight,o,0,0).to)}}return s}mapViewport(e,t){let n=t.mapPos(e.from,-1),r=t.mapPos(e.to,1);return new Un(this.heightMap.lineAt(n,kn.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,kn.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:t},n=0){if(!this.inView)return!0;let{top:r}=this.heightMap.lineAt(e,kn.ByPos,this.heightOracle,0,0),{bottom:o}=this.heightMap.lineAt(t,kn.ByPos,this.heightOracle,0,0),{visibleTop:i,visibleBottom:a}=this;return(0==e||r<=i-Math.max(10,Math.min(-n,250)))&&(t==this.state.doc.length||o>=a+Math.max(10,Math.min(n,250)))&&r>i-2e3&&o<a+2e3}mapLineGaps(e,t){if(!e.length||t.empty)return e;let n=[];for(let r of e)t.touchesRange(r.from,r.to)||n.push(new Nn(t.mapPos(r.from),t.mapPos(r.to),r.size,r.displaySize));return n}ensureLineGaps(e,t){let n=this.heightOracle.lineWrapping,o=n?1e4:2e3,i=o>>1,a=o<<1;if(this.defaultTextDirection!=xe.LTR&&!n)return[];let s=[],l=(o,a,c,u)=>{if(a-o<i)return;let d=this.state.selection.main,f=[d.from];d.empty||f.push(d.to);for(let e of f)if(e>o&&e<a)return l(o,e-10,c,u),void l(e+10,a,c,u);let h=function(e,t){for(let n of e)if(t(n))return n}(e,(e=>e.from>=c.from&&e.to<=c.to&&Math.abs(e.from-o)<i&&Math.abs(e.to-a)<i&&!f.some((t=>e.from<t&&e.to>t))));if(!h){if(a<c.to&&t&&n&&t.visibleRanges.some((e=>e.from<=a&&e.to>=a))){let e=t.moveToLineBoundary(r.OF.cursor(a),!1,!0).head;e>o&&(a=e)}let e=this.gapSize(c,o,a,u);h=new Nn(o,a,e,n||e<2e6?e:2e6)}s.push(h)},c=t=>{if(t.length<a||t.type!=de.Text)return;let i=function(e,t,n){let o=[],i=e,a=0;return r.om.spans(n,e,t,{span(){},point(e,t){e>i&&(o.push({from:i,to:e}),a+=e-i),i=t}},20),i<t&&(o.push({from:i,to:t}),a+=t-i),{total:a,ranges:o}}(t.from,t.to,this.stateDeco);if(i.total<a)return;let s,c,u=this.scrollTarget?this.scrollTarget.range.head:null;if(n){let e,n,r=o/this.heightOracle.lineLength*this.heightOracle.lineHeight;if(null!=u){let o=Hn(i,u),a=((this.visibleBottom-this.visibleTop)/2+r)/t.height;e=o-a,n=o+a}else e=(this.visibleTop-t.top-r)/t.height,n=(this.visibleBottom-t.top+r)/t.height;s=Fn(i,e),c=Fn(i,n)}else{let n=i.total*this.heightOracle.charWidth,r=o*this.heightOracle.charWidth,a=0;if(n>2e6)for(let n of e)n.from>=t.from&&n.from<t.to&&n.size!=n.displaySize&&n.from*this.heightOracle.charWidth+a<this.pixelViewport.left&&(a=n.size-n.displaySize);let l,d,f=this.pixelViewport.left+a,h=this.pixelViewport.right+a;if(null!=u){let e=Hn(i,u),t=((h-f)/2+r)/n;l=e-t,d=e+t}else l=(f-r)/n,d=(h+r)/n;s=Fn(i,l),c=Fn(i,d)}s>t.from&&l(t.from,s,t,i),c<t.to&&l(c,t.to,t,i)};for(let e of this.viewportLines)Array.isArray(e.type)?e.type.forEach(c):c(e);return s}gapSize(e,t,n,r){let o=Hn(r,n)-Hn(r,t);return this.heightOracle.lineWrapping?e.height*o:r.total*this.heightOracle.charWidth*o}updateLineGaps(e){Nn.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=fe.set(e.map((e=>e.draw(this,this.heightOracle.lineWrapping)))))}computeVisibleRanges(e){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let n=[];r.om.spans(t,this.viewport.from,this.viewport.to,{span(e,t){n.push({from:e,to:t})},point(){}},20);let o=0;if(n.length!=this.visibleRanges.length)o=12;else for(let t=0;t<n.length&&!(8&o);t++){let r=this.visibleRanges[t],i=n[t];r.from==i.from&&r.to==i.to||(o|=4,e&&e.mapPos(r.from,-1)==i.from&&e.mapPos(r.to,1)==i.to||(o|=8))}return this.visibleRanges=n,o}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find((t=>t.from<=e&&t.to>=e))||jn(this.heightMap.lineAt(e,kn.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find((t=>t.top<=e&&t.bottom>=e))||jn(this.heightMap.lineAt(this.scaler.fromDOM(e),kn.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return jn(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class Un{constructor(e,t){this.from=e,this.to=t}}function Fn({total:e,ranges:t},n){if(n<=0)return t[0].from;if(n>=1)return t[t.length-1].to;let r=Math.floor(e*n);for(let e=0;;e++){let{from:n,to:o}=t[e],i=o-n;if(r<=i)return n+r;r-=i}}function Hn(e,t){let n=0;for(let{from:r,to:o}of e.ranges){if(t<=o){n+=t-r;break}n+=o-r}return n/e.total}const Wn={toDOM(e){return e},fromDOM(e){return e},scale:1,eq(e){return e==this}};class Xn{constructor(e,t,n){let r=0,o=0,i=0;this.viewports=n.map((({from:n,to:o})=>{let i=t.lineAt(n,kn.ByPos,e,0,0).top,a=t.lineAt(o,kn.ByPos,e,0,0).bottom;return r+=a-i,{from:n,to:o,top:i,bottom:a,domTop:0,domBottom:0}})),this.scale=(7e6-r)/(t.height-r);for(let e of this.viewports)e.domTop=i+(e.top-o)*this.scale,i=e.domBottom=e.domTop+(e.bottom-e.top),o=e.bottom}toDOM(e){for(let t=0,n=0,r=0;;t++){let o=t<this.viewports.length?this.viewports[t]:null;if(!o||e<o.top)return r+(e-n)*this.scale;if(e<=o.bottom)return o.domTop+(e-o.top);n=o.bottom,r=o.domBottom}}fromDOM(e){for(let t=0,n=0,r=0;;t++){let o=t<this.viewports.length?this.viewports[t]:null;if(!o||e<o.domTop)return n+(e-r)/this.scale;if(e<=o.domBottom)return o.top+(e-o.domTop);n=o.bottom,r=o.domBottom}}eq(e){return e instanceof Xn&&this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every(((t,n)=>t.from==e.viewports[n].from&&t.to==e.viewports[n].to))}}function jn(e,t){if(1==t.scale)return e;let n=t.toDOM(e.top),r=t.toDOM(e.bottom);return new Sn(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map((e=>jn(e,t))):e._content)}const qn=r.sj.define({combine:e=>e.join(" ")}),Zn=r.sj.define({combine:e=>e.indexOf(!0)>-1}),Yn=o.G.newName(),Gn=o.G.newName(),Kn=o.G.newName(),Jn={"&light":"."+Gn,"&dark":"."+Kn};function er(e,t,n){return new o.G(t,{finish(t){return/&/.test(t)?t.replace(/&\w*/,(t=>{if("&"==t)return e;if(!n||!n[t])throw new RangeError(`Unsupported selector: ${t}`);return n[t]})):e+" "+t}})}const tr=er("."+Yn,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:'url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>\')',backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Jn),nr={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},rr=G.ie&&G.ie_version<=11;class or{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new _,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver((t=>{for(let e of t)this.queue.push(e);(G.ie&&G.ie_version<=11||G.ios&&e.composing)&&t.some((e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length))?this.flushSoon():this.flush()})),!window.EditContext||!1===e.constructor.EDIT_CONTEXT||G.chrome&&G.chrome_version<126||(this.editContext=new sr(e),e.state.facet(it)&&(e.contentDOM.editContext=this.editContext.editContext)),rr&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),"function"==typeof ResizeObserver&&(this.resizeScroll=new ResizeObserver((()=>{var e;(null===(e=this.view.docView)||void 0===e?void 0:e.lastUpdate)<Date.now()-75&&this.onResize()})),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver((e=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),e.length>0&&e[e.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))}),{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver((e=>{e.length>0&&e[e.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))}),{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout((()=>{this.resizeTimeout=-1,this.view.requestMeasure()}),50))}onPrint(e){("change"!=e.type&&e.type||e.matches)&&(this.view.viewState.printing=!0,this.view.measure(),setTimeout((()=>{this.view.viewState.printing=!1,this.view.requestMeasure()}),500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some(((t,n)=>t!=e[n])))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,r=this.selectionRange;if(n.state.facet(it)?n.root.activeElement!=this.dom:!h(this.dom,r))return;let o=r.anchorNode&&n.docView.nearest(r.anchorNode);o&&o.ignoreEvent(e)?t||(this.selectionChanged=!1):(G.ie&&G.ie_version<=11||G.android&&G.chrome)&&!n.state.selection.main.empty&&r.focusNode&&m(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=d(e.root);if(!t)return!1;let n=G.safari&&11==e.root.nodeType&&e.root.activeElement==this.dom&&function(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return ar(e,n)}let n=null;function r(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.contentDOM.addEventListener("beforeinput",r,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",r,!0),n?ar(e,n):null}(this.view,t)||t;if(!n||this.selectionRange.eq(n))return!1;let r=h(this.dom,n);return r&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&function(e,t){let n=t.focusNode,r=t.focusOffset;if(!n||t.anchorNode!=n||t.anchorOffset!=r)return!1;for(r=Math.min(r,y(n));;)if(r){if(1!=n.nodeType)return!1;let e=n.childNodes[r-1];"false"==e.contentEditable?r--:(n=e,r=y(n))}else{if(n==e)return!0;r=g(n),n=n.parentNode}}(this.dom,n)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(n),r&&(this.selectionChanged=!0),!0)}setSelectionRange(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,t=null;for(let n=this.dom;n;)if(1==n.nodeType)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:t||(t=this.scrollTargets.slice(0,e)),t&&t.push(n),n=n.assignedSlot||n.parentNode;else{if(11!=n.nodeType)break;n=n.host}if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),t){for(let e of this.scrollTargets)e.removeEventListener("scroll",this.onScroll);for(let e of this.scrollTargets=t)e.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,nr),rr&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),rr&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){var n;if(!this.delayedAndroidKey){let e=()=>{let e=this.delayedAndroidKey;e&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&e.force&&B(this.dom,e.key,e.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(e)}this.delayedAndroidKey&&"Enter"!=e||(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange<Date.now()-50||!!(null===(n=this.delayedAndroidKey)||void 0===n?void 0:n.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame((()=>{this.delayedFlush=-1,this.flush()})))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,n=-1,r=!1;for(let o of e){let e=this.readMutation(o);e&&(e.typeOver&&(r=!0),-1==t?({from:t,to:n}=e):(t=Math.min(e.from,t),n=Math.max(e.to,n)))}return{from:t,to:n,typeOver:r}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),r=this.selectionChanged&&h(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let o=new Ut(this.view,e,t,n);return this.view.docView.domChanged={newSel:o.newSel?o.newSel.main:null},o}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return this.view.requestMeasure(),!1;let n=this.view.state,r=Ft(this.view,t);return this.view.state==n&&(t.domChanged||t.newSel&&!t.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),r}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty("attributes"==e.type),"attributes"==e.type&&(t.flags|=4),"childList"==e.type){let n=ir(t,e.previousSibling||e.target.previousSibling,-1),r=ir(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,typeOver:!1}}return"characterData"==e.type?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(it)!=e.state.facet(it)&&(e.view.contentDOM.editContext=e.state.facet(it)?this.editContext.editContext:null))}destroy(){var e,t,n;this.stop(),null===(e=this.intersection)||void 0===e||e.disconnect(),null===(t=this.gapIntersection)||void 0===t||t.disconnect(),null===(n=this.resizeScroll)||void 0===n||n.disconnect();for(let e of this.scrollTargets)e.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function ir(e,t,n){for(;t;){let r=z.get(t);if(r&&r.parent==e)return r;let o=t.parentNode;t=o!=e.dom?o:n>0?t.nextSibling:t.previousSibling}return null}function ar(e,t){let n=t.startContainer,r=t.startOffset,o=t.endContainer,i=t.endOffset,a=e.docView.domAtPos(e.state.selection.main.anchor);return m(a.node,a.offset,o,i)&&([n,r,o,i]=[o,i,n,r]),{anchorNode:n,anchorOffset:r,focusNode:o,focusOffset:i}}class sr{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let t=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=t=>{let n=e.state.selection.main,{anchor:o,head:i}=n,a=this.toEditorPos(t.updateRangeStart),s=this.toEditorPos(t.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:t.updateRangeStart,editorBase:a,drifted:!1});let l={from:a,to:s,insert:r.EY.of(t.text.split("\n"))};if(l.from==this.from&&o<this.from?l.from=o:l.to==this.to&&o>this.to&&(l.to=o),l.from!=l.to||l.insert.length){if((G.mac||G.android)&&l.from==i-1&&/^\. ?$/.test(t.text)&&"off"==e.contentDOM.getAttribute("autocorrect")&&(l={from:a,to:s,insert:r.EY.of([t.text.replace("."," ")])}),this.pendingContextChange=l,!e.state.readOnly){let n=this.to-this.from+(l.to-l.from+l.insert.length);Ht(e,l,r.OF.single(this.toEditorPos(t.selectionStart,n),this.toEditorPos(t.selectionEnd,n)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state))}else{let o=r.OF.single(this.toEditorPos(t.selectionStart),this.toEditorPos(t.selectionEnd));o.main.eq(n)||e.dispatch({selection:o,userEvent:"select"})}},this.handlers.characterboundsupdate=n=>{let r=[],o=null;for(let t=this.toEditorPos(n.rangeStart),i=this.toEditorPos(n.rangeEnd);t<i;t++){let n=e.coordsForChar(t);o=n&&new DOMRect(n.left,n.top,n.right-n.left,n.bottom-n.top)||o||new DOMRect,r.push(o)}t.updateCharacterBounds(n.rangeStart,r)},this.handlers.textformatupdate=t=>{let n=[];for(let e of t.getTextFormats()){let t=e.underlineStyle,r=e.underlineThickness;if("None"!=t&&"None"!=r){let o=this.toEditorPos(e.rangeStart),i=this.toEditorPos(e.rangeEnd);if(o<i){let e=`text-decoration: underline ${"Dashed"==t?"dashed ":"Squiggle"==t?"wavy ":""}${"Thin"==r?1:2}px`;n.push(fe.mark({attributes:{style:e}}).range(o,i))}}}e.dispatch({effects:rt.of(fe.set(n))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:t}=this.composing;this.composing=null,t&&this.reset(e.state)}};for(let e in this.handlers)t.addEventListener(e,this.handlers[e]);this.measureReq={read:e=>{this.editContext.updateControlBounds(e.contentDOM.getBoundingClientRect());let t=d(e.root);t&&t.rangeCount&&this.editContext.updateSelectionBounds(t.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let t=0,n=!1,r=this.pendingContextChange;return e.changes.iterChanges(((o,i,a,s,l)=>{if(n)return;let c=l.length-(i-o);if(r&&i>=r.to){if(r.from==o&&r.to==i&&r.insert.eq(l))return r=this.pendingContextChange=null,t+=c,void(this.to+=c);r=null,this.revertPending(e.state)}if(o+=t,(i+=t)<=this.from)this.from+=c,this.to+=c;else if(o<this.to){if(o<this.from||i>this.to||this.to-this.from+l.length>3e4)return void(n=!0);this.editContext.updateText(this.toContextPos(o),this.toContextPos(i),l.toString()),this.to+=c}t+=c})),r&&!n&&this.revertPending(e.state),!n}update(e){let t=this.pendingContextChange,n=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(n.from,n.to)&&e.transactions.some((e=>!e.isUserEvent("input.type")&&e.changes.touchesRange(this.from,this.to))))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):this.applyEdits(e)&&this.rangeIsValid(e.state)?(e.docChanged||e.selectionSet||t)&&this.setSelection(e.state):(this.pendingContextChange=null,this.reset(e.state)),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:t}=e.selection.main;this.from=Math.max(0,t-1e4),this.to=Math.min(e.doc.length,t+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let t=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(t.from),this.toContextPos(t.from+t.insert.length),e.doc.sliceString(t.from,t.to))}setSelection(e){let{main:t}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,t.anchor))),r=this.toContextPos(t.head);this.editContext.selectionStart==n&&this.editContext.selectionEnd==r||this.editContext.updateSelection(n,r)}rangeIsValid(e){let{head:t}=e.selection.main;return!(this.from>0&&t-this.from<500||this.to<e.doc.length&&this.to-t<500||this.to-this.from>3e4)}toEditorPos(e,t=this.to-this.from){e=Math.min(e,t);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){let t=this.composing;return t&&t.drifted?t.contextBase+(e-t.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class lr{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var t;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:n}=e;this.dispatchTransactions=e.dispatchTransactions||n&&(e=>e.forEach((e=>n(e,this))))||(e=>this.update(e)),this.dispatch=this.dispatch.bind(this),this._root=e.root||function(e){for(;e;){if(e&&(9==e.nodeType||11==e.nodeType&&e.host))return e;e=e.assignedSlot||e.parentNode}return null}(e.parent)||document,this.viewState=new Vn(e.state||r.$t.create(e)),e.scrollTo&&e.scrollTo.is(nt)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(st).map((e=>new ct(e)));for(let e of this.plugins)e.update(this);this.observer=new or(this),this.inputState=new Wt(this),this.inputState.ensureHandlers(this.plugins),this.docView=new wt(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),(null===(t=document.fonts)||void 0===t?void 0:t.ready)&&document.fonts.ready.then((()=>this.requestMeasure()))}dispatch(...e){let t=1==e.length&&e[0]instanceof r.ZX?e:1==e.length&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(0!=this.updateState)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t,n=!1,o=!1,i=this.state;for(let t of e){if(t.startState!=i)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");i=t.state}if(this.destroyed)return void(this.viewState.state=i);let a=this.hasFocus,s=0,l=null;e.some((e=>e.annotation(gn)))?(this.inputState.notifiedFocused=a,s=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,l=An(i,a),l||(s=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(i.doc)||!this.state.selection.eq(i.selection))&&(u=null)):this.observer.clear(),i.facet(r.$t.phrases)!=this.state.facet(r.$t.phrases))return this.setState(i);t=bt.create(this,i,e),t.flags|=s;let d=this.viewState.scrollTarget;try{this.updateState=2;for(let t of e){if(d&&(d=d.map(t.changes)),t.scrollIntoView){let{main:e}=t.state.selection;d=new tt(e.empty?e:r.OF.cursor(e.head,e.head>e.anchor?-1:1))}for(let e of t.effects)e.is(nt)&&(d=e.value.clip(this.state))}this.viewState.update(t,d),this.bidiCache=dr.update(this.bidiCache,t.changes),t.empty||(this.updatePlugins(t),this.inputState.update(t)),n=this.docView.update(t),this.state.facet(yt)!=this.styleModules&&this.mountStyles(),o=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(n,e.some((e=>e.isUserEvent("select.pointer"))))}finally{this.updateState=0}if(t.startState.facet(qn)!=t.state.facet(qn)&&(this.viewState.mustMeasureContent=!0),(n||o||d||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!t.empty)for(let e of this.state.facet(je))try{e(t)}catch(e){ot(this.state,e,"update listener")}(l||u)&&Promise.resolve().then((()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!Ft(this,u)&&c.force&&B(this.contentDOM,c.key,c.keyCode)}))}setState(e){if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed)return void(this.viewState.state=e);this.updateState=2;let t=this.hasFocus;try{for(let e of this.plugins)e.destroy(this);this.viewState=new Vn(e),this.plugins=e.facet(st).map((e=>new ct(e))),this.pluginMap.clear();for(let e of this.plugins)e.update(this);this.docView.destroy(),this.docView=new wt(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(st),n=e.state.facet(st);if(t!=n){let r=[];for(let o of n){let n=t.indexOf(o);if(n<0)r.push(new ct(o));else{let t=this.plugins[n];t.mustUpdate=e,r.push(t)}}for(let t of this.plugins)t.mustUpdate!=e&&t.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let t of this.plugins)t.mustUpdate=e;for(let e=0;e<this.plugins.length;e++)this.plugins[e].update(this);t!=n&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let t=e.value;if(t&&t.docViewUpdate)try{t.docViewUpdate(this)}catch(e){ot(this.state,e,"doc view update listener")}}}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey)return this.measureScheduled=-1,void this.requestMeasure();this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.scrollDOM,r=n.scrollTop*this.scaleY,{scrollAnchorPos:o,scrollAnchorHeight:i}=this.viewState;Math.abs(r-this.viewState.scrollTop)>1&&(i=-1),this.viewState.scrollAnchorHeight=-1;try{for(let e=0;;e++){if(i<0)if(T(n))o=-1,i=this.viewState.heightMap.height;else{let e=this.viewState.scrollAnchorAt(r);o=e.from,i=e.top}this.updateState=1;let a=this.viewState.measure(this);if(!a&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(e>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let s=[];4&a||([this.measureRequests,s]=[s,this.measureRequests]);let l=s.map((e=>{try{return e.read(this)}catch(e){return ot(this.state,e),ur}})),c=bt.create(this,this.state,[]),u=!1;c.flags|=a,t?t.flags|=a:t=c,this.updateState=2,c.empty||(this.updatePlugins(c),this.inputState.update(c),this.updateAttrs(),u=this.docView.update(c),u&&this.docViewUpdate());for(let e=0;e<s.length;e++)if(l[e]!=ur)try{let t=s[e];t.write&&t.write(l[e],this)}catch(e){ot(this.state,e)}if(u&&this.docView.updateSelection(!0),!c.viewportChanged&&0==this.measureRequests.length){if(this.viewState.editorHeight){if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,i=-1;continue}{let e=(o<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(o).top)-i;if(e>1||e<-1){r+=e,n.scrollTop=r/this.scaleY,i=-1;continue}}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let e of this.state.facet(je))e(t)}get themeClasses(){return Yn+" "+(this.state.facet(Zn)?Kn:Gn)+" "+this.state.facet(qn)}updateAttrs(){let e=fr(this,ut,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(it)?"true":"false",class:"cm-content",style:`${G.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),fr(this,dt,t);let n=this.observer.ignore((()=>{let n=le(this.contentDOM,this.contentAttrs,t),r=le(this.dom,this.editorAttrs,e);return n||r}));return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let e of n.effects)e.is(lr.announce)&&(t&&(this.announceDOM.textContent=""),t=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=e.value)}mountStyles(){this.styleModules=this.state.facet(yt);let e=this.state.facet(lr.cspNonce);o.G.mount(this.root,this.styleModules.concat(tr).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(2==this.updateState)throw new Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame((()=>this.measure()))),e){if(this.measureRequests.indexOf(e)>-1)return;if(null!=e.key)for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key)return void(this.measureRequests[t]=e);this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e);return(void 0===t||t&&t.spec!=e)&&this.pluginMap.set(e,t=this.plugins.find((t=>t.spec==e))||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return Dt(this,e,zt(this,e,t,n))}moveByGroup(e,t){return Dt(this,e,zt(this,e,t,(t=>function(e,t,n){let o=e.state.charCategorizer(t),i=o(n);return e=>{let t=o(e);return i==r.Je.Space&&(i=t),i==t}}(this,e.head,t))))}visualLineSide(e,t){let n=this.bidiSpans(e),o=this.textDirectionAt(e.from),i=n[t?n.length-1:0];return r.OF.cursor(i.side(t,o)+e.from,i.forward(!t,o)?1:-1)}moveToLineBoundary(e,t,n=!0){return function(e,t,n,o){let i=Mt(e,t.head),a=o&&i.type==de.Text&&(e.lineWrapping||i.widgetLineBreaks)?e.coordsAtPos(t.assoc<0&&t.head>i.from?t.head-1:t.head):null;if(a){let t=e.dom.getBoundingClientRect(),o=e.textDirectionAt(i.from),s=e.posAtCoords({x:n==(o==xe.LTR)?t.right-1:t.left+1,y:(a.top+a.bottom)/2});if(null!=s)return r.OF.cursor(s,n?-1:1)}return r.OF.cursor(n?i.to:i.from,n?-1:1)}(this,e,t,n)}moveVertically(e,t,n){return Dt(this,e,function(e,t,n,o){let i=t.head,a=n?1:-1;if(i==(n?e.state.doc.length:0))return r.OF.cursor(i,t.assoc);let s,l=t.goalColumn,c=e.contentDOM.getBoundingClientRect(),u=e.coordsAtPos(i,t.assoc||-1),d=e.documentTop;if(u)null==l&&(l=u.left-c.left),s=a<0?u.top:u.bottom;else{let t=e.viewState.lineBlockAt(i);null==l&&(l=Math.min(c.right-c.left,e.defaultCharacterWidth*(i-t.from))),s=(a<0?t.top:t.bottom)+d}let f=c.left+l,h=null!=o?o:e.viewState.heightOracle.textHeight>>1;for(let t=0;;t+=10){let n=s+(h+t)*a,o=Pt(e,{x:f,y:n},!1,a);if(n<c.top||n>c.bottom||(a<0?o<i:o>i)){let t=e.docView.coordsForChar(o),i=!t||n<t.top?-1:1;return r.OF.cursor(o,i,void 0,l)}}}(this,e,t,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),Pt(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let r=this.state.doc.lineAt(e),o=this.bidiSpans(r);return O(n,o[Me.find(o,e-r.from,-1,t)].dir==xe.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(Ke)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>cr)return Ne(e.length);let t,n=this.textDirectionAt(e.from);for(let r of this.bidiCache)if(r.from==e.from&&r.dir==n&&(r.fresh||ze(r.isolates,t=gt(this,e))))return r.order;t||(t=gt(this,e));let r=function(e,t,n){if(!e)return[new Me(0,0,t==ke?1:0)];if(t==Se&&!n.length&&!$e.test(e))return Ne(e.length);if(n.length)for(;e.length>Re.length;)Re[Re.length]=256;let r=[],o=t==Se?0:1;return Ie(e,o,o,n,0,e.length,r),r}(e.text,n,t);return this.bidiCache.push(new dr(e.from,e.to,n,t,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||G.safari&&(null===(e=this.inputState)||void 0===e?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore((()=>{k(this.contentDOM),this.docView.updateSelection()}))}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((9==e.nodeType?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return nt.of(new tt("number"==typeof e?r.OF.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return nt.of(new tt(r.OF.cursor(n.from),"start","start",n.top-e,t,!0))}setTabFocusMode(e){null==e?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:"boolean"==typeof e?this.inputState.tabFocusMode=e?0:-1:0!=this.inputState.tabFocusMode&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return lt.define((()=>({})),{eventHandlers:e})}static domEventObservers(e){return lt.define((()=>({})),{eventObservers:e})}static theme(e,t){let n=o.G.newName(),r=[qn.of(n),yt.of(er(`.${n}`,e))];return t&&t.dark&&r.push(Zn.of(!0)),r}static baseTheme(e){return r.Nb.lowest(yt.of(er("."+Yn,e,Jn)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),r=n&&z.get(n)||z.get(e);return(null===(t=null==r?void 0:r.rootView)||void 0===t?void 0:t.view)||null}}lr.styleModule=yt,lr.inputHandler=qe,lr.clipboardInputFilter=Ye,lr.clipboardOutputFilter=Ge,lr.scrollHandler=et,lr.focusChangeEffect=Ze,lr.perLineTextDirection=Ke,lr.exceptionSink=Xe,lr.updateListener=je,lr.editable=it,lr.mouseSelectionStyle=We,lr.dragMovesSelection=He,lr.clickAddsSelectionRange=Fe,lr.decorations=ft,lr.outerDecorations=ht,lr.atomicRanges=pt,lr.bidiIsolatedRanges=mt,lr.scrollMargins=At,lr.darkTheme=Zn,lr.cspNonce=r.sj.define({combine:e=>e.length?e[0]:""}),lr.contentAttributes=dt,lr.editorAttributes=ut,lr.lineWrapping=lr.contentAttributes.of({class:"cm-lineWrapping"}),lr.announce=r.Pe.define();const cr=4096,ur={};class dr{constructor(e,t,n,r,o,i){this.from=e,this.to=t,this.dir=n,this.isolates=r,this.fresh=o,this.order=i}static update(e,t){if(t.empty&&!e.some((e=>e.fresh)))return e;let n=[],r=e.length?e[e.length-1].dir:xe.LTR;for(let o=Math.max(0,e.length-10);o<e.length;o++){let i=e[o];i.dir!=r||t.touchesRange(i.from,i.to)||n.push(new dr(t.mapPos(i.from,1),t.mapPos(i.to,-1),i.dir,i.isolates,!1,i.order))}return n}}function fr(e,t,n){for(let r=e.state.facet(t),o=r.length-1;o>=0;o--){let t=r[o],i="function"==typeof t?t(e):t;i&&ie(i,n)}return n}const hr=G.mac?"mac":G.windows?"win":G.linux?"linux":"key";function pr(e,t,n){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),!1!==n&&t.shiftKey&&(e="Shift-"+e),e}const mr=r.Nb.default(lr.domEventHandlers({keydown(e,t){return _r(vr(t.state),e,t,"editor")}})),gr=r.sj.define({enables:mr}),Ar=new WeakMap;function vr(e){let t=e.facet(gr),n=Ar.get(t);return n||Ar.set(t,n=function(e,t=hr){let n=Object.create(null),r=Object.create(null),o=(e,t)=>{let n=r[e];if(null==n)r[e]=t;else if(n!=t)throw new Error("Key binding "+e+" is used both as a regular binding and as a multi-stroke prefix")},i=(e,r,i,a,s)=>{var l,c;let u=n[e]||(n[e]=Object.create(null)),d=r.split(/ (?!$)/).map((e=>function(e,t){const n=e.split(/-(?!$)/);let r,o,i,a,s=n[n.length-1];"Space"==s&&(s=" ");for(let e=0;e<n.length-1;++e){const s=n[e];if(/^(cmd|meta|m)$/i.test(s))a=!0;else if(/^a(lt)?$/i.test(s))r=!0;else if(/^(c|ctrl|control)$/i.test(s))o=!0;else if(/^s(hift)?$/i.test(s))i=!0;else{if(!/^mod$/i.test(s))throw new Error("Unrecognized modifier name: "+s);"mac"==t?a=!0:o=!0}}return r&&(s="Alt-"+s),o&&(s="Ctrl-"+s),a&&(s="Meta-"+s),i&&(s="Shift-"+s),s}(e,t)));for(let t=1;t<d.length;t++){let n=d.slice(0,t).join(" ");o(n,!0),u[n]||(u[n]={preventDefault:!0,stopPropagation:!1,run:[t=>{let r=Or={view:t,prefix:n,scope:e};return setTimeout((()=>{Or==r&&(Or=null)}),br),!0}]})}let f=d.join(" ");o(f,!1);let h=u[f]||(u[f]={preventDefault:!1,stopPropagation:!1,run:(null===(c=null===(l=u._any)||void 0===l?void 0:l.run)||void 0===c?void 0:c.slice())||[]});i&&h.run.push(i),a&&(h.preventDefault=!0),s&&(h.stopPropagation=!0)};for(let r of e){let e=r.scope?r.scope.split(" "):["editor"];if(r.any)for(let t of e){let e=n[t]||(n[t]=Object.create(null));e._any||(e._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:o}=r;for(let t in e)e[t].run.push((e=>o(e,wr)))}let o=r[t]||r.key;if(o)for(let t of e)i(t,o,r.run,r.preventDefault,r.stopPropagation),r.shift&&i(t,"Shift-"+o,r.shift,r.preventDefault,r.stopPropagation)}return n}(t.reduce(((e,t)=>e.concat(t)),[]))),n}function yr(e,t,n){return _r(vr(e.state),t,e,n)}let Or=null;const br=4e3;let wr=null;function _r(e,t,n,o){wr=t;let c=function(e){var t=!(s&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||l&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?a:i)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}(t),u=(0,r.vS)(c,0),d=(0,r.Fh)(u)==c.length&&" "!=c,f="",h=!1,p=!1,m=!1;Or&&Or.view==n&&Or.scope==o&&(f=Or.prefix+" ",Yt.indexOf(t.keyCode)<0&&(p=!0,Or=null));let g,A,v=new Set,y=e=>{if(e){for(let t of e.run)if(!v.has(t)&&(v.add(t),t(n)))return e.stopPropagation&&(m=!0),!0;e.preventDefault&&(e.stopPropagation&&(m=!0),p=!0)}return!1},O=e[o];return O&&(y(O[f+pr(c,t,!d)])?h=!0:d&&(t.altKey||t.metaKey||t.ctrlKey)&&!(G.windows&&t.ctrlKey&&t.altKey)&&(g=i[t.keyCode])&&g!=c?(y(O[f+pr(g,t,!0)])||t.shiftKey&&(A=a[t.keyCode])!=c&&A!=g&&y(O[f+pr(A,t,!1)]))&&(h=!0):d&&t.shiftKey&&y(O[f+pr(c,t,!0)])&&(h=!0),!h&&y(O._any)&&(h=!0)),p&&(h=!0),h&&m&&t.stopPropagation(),wr=null,h}class xr{constructor(e,t,n,r,o){this.className=e,this.left=t,this.top=n,this.width=r,this.height=o}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className==this.className&&(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",null!=this.width&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,n){if(n.empty){let r=e.coordsAtPos(n.head,n.assoc||1);if(!r)return[];let o=Sr(e);return[new xr(t,r.left-o.left,r.top-o.top,null,r.bottom-r.top)]}return function(e,t,n){if(n.to<=e.viewport.from||n.from>=e.viewport.to)return[];let r=Math.max(n.from,e.viewport.from),o=Math.min(n.to,e.viewport.to),i=e.textDirection==xe.LTR,a=e.contentDOM,s=a.getBoundingClientRect(),l=Sr(e),c=a.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),d=s.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),f=s.right-(u?parseInt(u.paddingRight):0),h=Mt(e,r),p=Mt(e,o),m=h.type==de.Text?h:null,g=p.type==de.Text?p:null;if(m&&(e.lineWrapping||h.widgetLineBreaks)&&(m=kr(e,r,1,m)),g&&(e.lineWrapping||p.widgetLineBreaks)&&(g=kr(e,o,-1,g)),m&&g&&m.from==g.from&&m.to==g.to)return v(y(n.from,n.to,m));{let t=m?y(n.from,null,m):O(h,!1),r=g?y(null,n.to,g):O(p,!0),o=[];return(m||h).to<(g||p).from-(m&&g?1:0)||h.widgetLineBreaks>1&&t.bottom+e.defaultLineHeight/2<r.top?o.push(A(d,t.bottom,f,r.top)):t.bottom<r.top&&e.elementAtHeight((t.bottom+r.top)/2).type==de.Text&&(t.bottom=r.top=(t.bottom+r.top)/2),v(t).concat(o).concat(v(r))}function A(e,n,r,o){return new xr(t,e-l.left,n-l.top,r-e,o-n)}function v({top:e,bottom:t,horizontal:n}){let r=[];for(let o=0;o<n.length;o+=2)r.push(A(n[o],e,n[o+1],t));return r}function y(t,n,r){let o=1e9,a=-1e9,s=[];function l(t,n,l,c,u){let h=e.coordsAtPos(t,t==r.to?-2:2),p=e.coordsAtPos(l,l==r.from?2:-2);h&&p&&(o=Math.min(h.top,p.top,o),a=Math.max(h.bottom,p.bottom,a),u==xe.LTR?s.push(i&&n?d:h.left,i&&c?f:p.right):s.push(!i&&c?d:p.left,!i&&n?f:h.right))}let c=null!=t?t:r.from,u=null!=n?n:r.to;for(let r of e.visibleRanges)if(r.to>c&&r.from<u)for(let o=Math.max(r.from,c),i=Math.min(r.to,u);;){let r=e.state.doc.lineAt(o);for(let a of e.bidiSpans(r)){let e=a.from+r.from,s=a.to+r.from;if(e>=i)break;s>o&&l(Math.max(e,o),null==t&&e<=c,Math.min(s,i),null==n&&s>=u,a.dir)}if(o=r.to+1,o>=i)break}return 0==s.length&&l(c,null==t,u,null==n,e.textDirection),{top:o,bottom:a,horizontal:s}}function O(e,t){let n=s.top+(t?e.top:e.bottom);return{top:n,bottom:n,horizontal:[]}}}(e,t,n)}}function Sr(e){let t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==xe.LTR?t.left:t.right-e.scrollDOM.clientWidth*e.scaleX)-e.scrollDOM.scrollLeft*e.scaleX,top:t.top-e.scrollDOM.scrollTop*e.scaleY}}function kr(e,t,n,r){let o=e.coordsAtPos(t,2*n);if(!o)return r;let i=e.dom.getBoundingClientRect(),a=(o.top+o.bottom)/2,s=e.posAtCoords({x:i.left+1,y:a}),l=e.posAtCoords({x:i.right-1,y:a});return null==s||null==l?r:{from:Math.max(r.from,Math.min(s,l)),to:Math.min(r.to,Math.max(s,l))}}class Cr{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(Br)!=e.state.facet(Br)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){!1!==this.layer.updateOnDocViewUpdate&&e.requestMeasure(this.measureReq)}setOrder(e){let t=0,n=e.facet(Br);for(;t<n.length&&n[t]!=this.layer;)t++;this.dom.style.zIndex=String((this.layer.above?150:-1)-t)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:t}=this.view;e==this.scaleX&&t==this.scaleY||(this.scaleX=e,this.scaleY=t,this.dom.style.transform=`scale(${1/e}, ${1/t})`)}draw(e){if(e.length!=this.drawn.length||e.some(((e,t)=>{return n=e,r=this.drawn[t],!(n.constructor==r.constructor&&n.eq(r));var n,r}))){let t=this.dom.firstChild,n=0;for(let r of e)r.update&&t&&r.constructor&&this.drawn[n].constructor&&r.update(t,this.drawn[n])?(t=t.nextSibling,n++):this.dom.insertBefore(r.draw(),t);for(;t;){let e=t.nextSibling;t.remove(),t=e}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const Br=r.sj.define();function Qr(e){return[lt.define((t=>new Cr(t,e))),Br.of(e)]}const Tr=!(G.ios&&G.webkit&&G.webkit_version<534),Er=r.sj.define({combine(e){return(0,r.QR)(e,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function Pr(e={}){return[Er.of(e),Mr,Rr,Ir,Je.of(!0)]}function $r(e){return e.startState.facet(Er)!=e.state.facet(Er)}const Mr=Qr({above:!0,markers(e){let{state:t}=e,n=t.facet(Er),o=[];for(let i of t.selection.ranges){let a=i==t.selection.main;if(i.empty?!a||Tr:n.drawRangeCursor){let t=a?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",n=i.empty?i:r.OF.cursor(i.head,i.head>i.anchor?-1:1);for(let r of xr.forRange(e,t,n))o.push(r)}}return o},update(e,t){e.transactions.some((e=>e.selection))&&(t.style.animationName="cm-blink"==t.style.animationName?"cm-blink2":"cm-blink");let n=$r(e);return n&&zr(e.state,t),e.docChanged||e.selectionSet||n},mount(e,t){zr(t.state,e)},class:"cm-cursorLayer"});function zr(e,t){t.style.animationDuration=e.facet(Er).cursorBlinkRate+"ms"}const Rr=Qr({above:!1,markers(e){return e.state.selection.ranges.map((t=>t.empty?[]:xr.forRange(e,"cm-selectionBackground",t))).reduce(((e,t)=>e.concat(t)))},update(e,t){return e.docChanged||e.selectionSet||e.viewportChanged||$r(e)},class:"cm-selectionLayer"}),Dr={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}};Tr&&(Dr[".cm-line"].caretColor=Dr[".cm-content"].caretColor="transparent !important");const Ir=r.Nb.highest(lr.theme(Dr)),Nr=r.Pe.define({map(e,t){return null==e?null:t.mapPos(e)}}),Lr=r.sU.define({create(){return null},update(e,t){return null!=e&&(e=t.changes.mapPos(e)),t.effects.reduce(((e,t)=>t.is(Nr)?t.value:e),e)}}),Vr=lt.fromClass(class{constructor(e){this.view=e,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(e){var t;let n=e.state.field(Lr);null==n?null!=this.cursor&&(null===(t=this.cursor)||void 0===t||t.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(e.startState.field(Lr)!=n||e.docChanged||e.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:e}=this,t=e.state.field(Lr),n=null!=t&&e.coordsAtPos(t);if(!n)return null;let r=e.scrollDOM.getBoundingClientRect();return{left:n.left-r.left+e.scrollDOM.scrollLeft*e.scaleX,top:n.top-r.top+e.scrollDOM.scrollTop*e.scaleY,height:n.bottom-n.top}}drawCursor(e){if(this.cursor){let{scaleX:t,scaleY:n}=this.view;e?(this.cursor.style.left=e.left/t+"px",this.cursor.style.top=e.top/n+"px",this.cursor.style.height=e.height/n+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(e){this.view.state.field(Lr)!=e&&this.view.dispatch({effects:Nr.of(e)})}},{eventObservers:{dragover(e){this.setDropPos(this.view.posAtCoords({x:e.clientX,y:e.clientY}))},dragleave(e){e.target!=this.view.contentDOM&&this.view.contentDOM.contains(e.relatedTarget)||this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function Ur(){return[Lr,Vr]}function Fr(e,t,n,r,o){t.lastIndex=0;for(let i,a=e.iterRange(n,r),s=n;!a.next().done;s+=a.value.length)if(!a.lineBreak)for(;i=t.exec(a.value);)o(s+i.index,i)}class Hr{constructor(e){const{regexp:t,decoration:n,decorate:r,boundary:o,maxLength:i=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,r)this.addMatch=(e,t,n,o)=>r(o,n,n+e[0].length,e,t);else if("function"==typeof n)this.addMatch=(e,t,r,o)=>{let i=n(e,t,r);i&&o(r,r+e[0].length,i)};else{if(!n)throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.addMatch=(e,t,r,o)=>o(r,r+e[0].length,n)}this.boundary=o,this.maxLength=i}createDeco(e){let t=new r.vB,n=t.add.bind(t);for(let{from:t,to:r}of function(e,t){let n=e.visibleRanges;if(1==n.length&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n;let r=[];for(let{from:o,to:i}of n)o=Math.max(e.state.doc.lineAt(o).from,o-t),i=Math.min(e.state.doc.lineAt(i).to,i+t),r.length&&r[r.length-1].to>=o?r[r.length-1].to=i:r.push({from:o,to:i});return r}(e,this.maxLength))Fr(e.state.doc,this.regexp,t,r,((t,r)=>this.addMatch(r,e,t,n)));return t.finish()}updateDeco(e,t){let n=1e9,r=-1;return e.docChanged&&e.changes.iterChanges(((t,o,i,a)=>{a>=e.view.viewport.from&&i<=e.view.viewport.to&&(n=Math.min(i,n),r=Math.max(a,r))})),e.viewportMoved||r-n>1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),n,r):t}updateRange(e,t,n,r){for(let o of e.visibleRanges){let i=Math.max(o.from,n),a=Math.min(o.to,r);if(a>i){let n=e.state.doc.lineAt(i),r=n.to<a?e.state.doc.lineAt(a):n,s=Math.max(o.from,n.from),l=Math.min(o.to,r.to);if(this.boundary){for(;i>n.from;i--)if(this.boundary.test(n.text[i-1-n.from])){s=i;break}for(;a<r.to;a++)if(this.boundary.test(r.text[a-r.from])){l=a;break}}let c,u=[],d=(e,t,n)=>u.push(n.range(e,t));if(n==r)for(this.regexp.lastIndex=s-n.from;(c=this.regexp.exec(n.text))&&c.index<l-n.from;)this.addMatch(c,e,c.index+n.from,d);else Fr(e.state.doc,this.regexp,s,l,((t,n)=>this.addMatch(n,e,t,d)));t=t.update({filterFrom:s,filterTo:l,filter:(e,t)=>e<s||t>l,add:u})}}return t}}const Wr=null!=/x/.unicode?"gu":"g",Xr=new RegExp("[\0-\b\n--Ÿ­؜\u2028\u2029\ufeff-]",Wr),jr={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let qr=null;const Zr=r.sj.define({combine(e){let t=(0,r.QR)(e,{render:null,specialChars:Xr,addSpecialChars:null});return(t.replaceTabs=!function(){var e;if(null==qr&&"undefined"!=typeof document&&document.body){let t=document.body.style;qr=null!=(null!==(e=t.tabSize)&&void 0!==e?e:t.MozTabSize)}return qr||!1}())&&(t.specialChars=new RegExp("\t|"+t.specialChars.source,Wr)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,Wr)),t}});function Yr(e={}){return[Zr.of(e),Gr||(Gr=lt.fromClass(class{constructor(e){this.view=e,this.decorations=fe.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(Zr)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new Hr({regexp:e.specialChars,decoration:(t,n,o)=>{let{doc:i}=n.state,a=(0,r.vS)(t[0],0);if(9==a){let e=i.lineAt(o),t=n.state.tabSize,a=(0,r.y$)(e.text,t,o-e.from);return fe.replace({widget:new Jr((t-a%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[a]||(this.decorationCache[a]=fe.replace({widget:new Kr(e,a)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(Zr);e.startState.facet(Zr)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)}},{decorations:e=>e.decorations}))]}let Gr=null;class Kr extends ue{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=function(e){return e>=32?"•":10==e?"␤":String.fromCharCode(9216+e)}(this.code),n=e.state.phrase("Control character")+" "+(jr[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,n,t);if(r)return r;let o=document.createElement("span");return o.textContent=t,o.title=n,o.setAttribute("aria-label",n),o.className="cm-specialChar",o}ignoreEvent(){return!1}}class Jr extends ue{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent="\t",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function eo(){return no}const to=fe.line({class:"cm-activeLine"}),no=lt.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.docChanged||e.selectionSet)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=-1,n=[];for(let r of e.state.selection.ranges){let o=e.lineBlockAt(r.head);o.from>t&&(n.push(to.range(o.from)),t=o.from)}return fe.set(n)}},{decorations:e=>e.decorations});class ro extends ue{constructor(e){super(),this.content=e}toDOM(e){let t=document.createElement("span");return t.className="cm-placeholder",t.style.pointerEvents="none",t.appendChild("string"==typeof this.content?document.createTextNode(this.content):"function"==typeof this.content?this.content(e):this.content.cloneNode(!0)),"string"==typeof this.content?t.setAttribute("aria-label","placeholder "+this.content):t.setAttribute("aria-hidden","true"),t}coordsAt(e){let t=e.firstChild?p(e.firstChild):[];if(!t.length)return null;let n=window.getComputedStyle(e.parentNode),r=O(t[0],"rtl"!=n.direction),o=parseInt(n.lineHeight);return r.bottom-r.top>1.5*o?{left:r.left,right:r.right,top:r.top,bottom:r.top+o}:r}ignoreEvent(){return!1}}function oo(e){return lt.fromClass(class{constructor(t){this.view=t,this.placeholder=e?fe.set([fe.widget({widget:new ro(e),side:1}).range(0)]):fe.none}get decorations(){return this.view.state.doc.length?fe.none:this.placeholder}},{decorations:e=>e.decorations})}const io=2e3;function ao(e,t){let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1),o=e.state.doc.lineAt(n),i=n-o.from,a=i>io?-1:i==o.length?function(e,t){let n=e.coordsAtPos(e.viewport.from);return n?Math.round(Math.abs((n.left-t)/e.defaultCharacterWidth)):-1}(e,t.clientX):(0,r.y$)(o.text,e.state.tabSize,n-o.from);return{line:o.number,col:a,off:i}}function so(e){let t=(null==e?void 0:e.eventFilter)||(e=>e.altKey&&0==e.button);return lr.mouseSelectionStyle.of(((e,n)=>t(n)?function(e,t){let n=ao(e,t),o=e.state.selection;return n?{update(e){if(e.docChanged){let t=e.changes.mapPos(e.startState.doc.line(n.line).from),r=e.state.doc.lineAt(t);n={line:r.number,col:n.col,off:Math.min(n.off,r.length)},o=o.map(e.changes)}},get(t,i,a){let s=ao(e,t);if(!s)return o;let l=function(e,t,n){let o=Math.min(t.line,n.line),i=Math.max(t.line,n.line),a=[];if(t.off>io||n.off>io||t.col<0||n.col<0){let s=Math.min(t.off,n.off),l=Math.max(t.off,n.off);for(let t=o;t<=i;t++){let n=e.doc.line(t);n.length<=l&&a.push(r.OF.range(n.from+s,n.to+l))}}else{let s=Math.min(t.col,n.col),l=Math.max(t.col,n.col);for(let t=o;t<=i;t++){let n=e.doc.line(t),o=(0,r.kn)(n.text,s,e.tabSize,!0);if(o<0)a.push(r.OF.cursor(n.to));else{let t=(0,r.kn)(n.text,l,e.tabSize);a.push(r.OF.range(n.from+o,n.from+t))}}}return a}(e.state,n,s);return l.length?a?r.OF.create(l.concat(o.ranges)):r.OF.create(l):o}}:null}(e,n):null))}const lo={Alt:[18,e=>!!e.altKey],Control:[17,e=>!!e.ctrlKey],Shift:[16,e=>!!e.shiftKey],Meta:[91,e=>!!e.metaKey]},co={style:"cursor: crosshair"};function uo(e={}){let[t,n]=lo[e.key||"Alt"],r=lt.fromClass(class{constructor(e){this.view=e,this.isDown=!1}set(e){this.isDown!=e&&(this.isDown=e,this.view.update([]))}},{eventObservers:{keydown(e){this.set(e.keyCode==t||n(e))},keyup(e){e.keyCode!=t&&n(e)||this.set(!1)},mousemove(e){this.set(n(e))}}});return[r,lr.contentAttributes.of((e=>{var t;return(null===(t=e.plugin(r))||void 0===t?void 0:t.isDown)?co:null}))]}const fo="-10000px";class ho{constructor(e,t,n,r){this.facet=t,this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(t),this.tooltips=this.input.filter((e=>e));let o=null;this.tooltipViews=this.tooltips.map((e=>o=n(e,o)))}update(e,t){var n;let r=e.state.facet(this.facet),o=r.filter((e=>e));if(r===this.input){for(let t of this.tooltipViews)t.update&&t.update(e);return!1}let i=[],a=t?[]:null;for(let n=0;n<o.length;n++){let r=o[n],s=-1;if(r){for(let e=0;e<this.tooltips.length;e++){let t=this.tooltips[e];t&&t.create==r.create&&(s=e)}if(s<0)i[n]=this.createTooltipView(r,n?i[n-1]:null),a&&(a[n]=!!r.above);else{let r=i[n]=this.tooltipViews[s];a&&(a[n]=t[s]),r.update&&r.update(e)}}}for(let e of this.tooltipViews)i.indexOf(e)<0&&(this.removeTooltipView(e),null===(n=e.destroy)||void 0===n||n.call(e));return t&&(a.forEach(((e,n)=>t[n]=e)),t.length=a.length),this.input=r,this.tooltips=o,this.tooltipViews=i,!0}}function po(e){let t=e.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:t.clientHeight,right:t.clientWidth}}const mo=r.sj.define({combine:e=>{var t,n,r;return{position:G.ios?"absolute":(null===(t=e.find((e=>e.position)))||void 0===t?void 0:t.position)||"fixed",parent:(null===(n=e.find((e=>e.parent)))||void 0===n?void 0:n.parent)||null,tooltipSpace:(null===(r=e.find((e=>e.tooltipSpace)))||void 0===r?void 0:r.tooltipSpace)||po}}}),go=new WeakMap,Ao=lt.fromClass(class{constructor(e){this.view=e,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(mo);this.position=t.position,this.parent=t.parent,this.classes=e.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver="function"==typeof ResizeObserver?new ResizeObserver((()=>this.measureSoon())):null,this.manager=new ho(e,bo,((e,t)=>this.createTooltip(e,t)),(e=>{this.resizeObserver&&this.resizeObserver.unobserve(e.dom),e.dom.remove()})),this.above=this.manager.tooltips.map((e=>!!e.above)),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver((e=>{Date.now()>this.lastTransaction-50&&e.length>0&&e[e.length-1].intersectionRatio<1&&this.measureSoon()}),{threshold:[1]}):null,this.observeIntersection(),e.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout((()=>{this.measureTimeout=-1,this.maybeMeasure()}),50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e,this.above);t&&this.observeIntersection();let n=t||e.geometryChanged,r=e.state.facet(mo);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let e of this.manager.tooltipViews)e.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let e of this.manager.tooltipViews)this.container.appendChild(e.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(e,t){let n=e.create(this.view),r=t?t.dom:null;if(n.dom.classList.add("cm-tooltip"),e.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let e=document.createElement("div");e.className="cm-tooltip-arrow",n.dom.appendChild(e)}return n.dom.style.position=this.position,n.dom.style.top=fo,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var e,t,n;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),null===(e=t.destroy)||void 0===e||e.call(t);this.parent&&this.container.remove(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),null===(n=this.intersectionObserver)||void 0===n||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,n=!1;if("fixed"==this.position&&this.manager.tooltipViews.length){let{dom:e}=this.manager.tooltipViews[0];if(G.gecko)n=e.offsetParent!=this.container.ownerDocument.body;else if(e.style.top==fo&&"0px"==e.style.left){let t=e.getBoundingClientRect();n=Math.abs(t.top+1e4)>1||Math.abs(t.left)>1}}if(n||"absolute"==this.position)if(this.parent){let n=this.parent.getBoundingClientRect();n.width&&n.height&&(e=n.width/this.parent.offsetWidth,t=n.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);let r=this.view.scrollDOM.getBoundingClientRect(),o=vt(this.view);return{visible:{left:r.left+o.left,top:r.top+o.top,right:r.right-o.right,bottom:r.bottom-o.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map(((e,t)=>{let n=this.manager.tooltipViews[t];return n.getCoords?n.getCoords(e.pos):this.view.coordsAtPos(e.pos)})),size:this.manager.tooltipViews.map((({dom:e})=>e.getBoundingClientRect())),space:this.view.state.facet(mo).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:n}}writeMeasure(e){var t;if(e.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let e of this.manager.tooltipViews)e.dom.style.position="absolute"}let{visible:n,space:r,scaleX:o,scaleY:i}=e,a=[];for(let s=0;s<this.manager.tooltips.length;s++){let l=this.manager.tooltips[s],c=this.manager.tooltipViews[s],{dom:u}=c,d=e.pos[s],f=e.size[s];if(!d||!1!==l.clip&&(d.bottom<=Math.max(n.top,r.top)||d.top>=Math.min(n.bottom,r.bottom)||d.right<Math.max(n.left,r.left)-.1||d.left>Math.min(n.right,r.right)+.1)){u.style.top=fo;continue}let h=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,p=h?7:0,m=f.right-f.left,g=null!==(t=go.get(c))&&void 0!==t?t:f.bottom-f.top,A=c.offset||Oo,v=this.view.textDirection==xe.LTR,y=f.width>r.right-r.left?v?r.left:r.right-f.width:v?Math.max(r.left,Math.min(d.left-(h?14:0)+A.x,r.right-m)):Math.min(Math.max(r.left,d.left-m+(h?14:0)-A.x),r.right-m),O=this.above[s];!l.strictSide&&(O?d.top-g-p-A.y<r.top:d.bottom+g+p+A.y>r.bottom)&&O==r.bottom-d.bottom>d.top-r.top&&(O=this.above[s]=!O);let b=(O?d.top-r.top:r.bottom-d.bottom)-p;if(b<g&&!1!==c.resize){if(b<this.view.defaultLineHeight){u.style.top=fo;continue}go.set(c,g),u.style.height=(g=b)/i+"px"}else u.style.height&&(u.style.height="");let w=O?d.top-g-p-A.y:d.bottom+p+A.y,_=y+m;if(!0!==c.overlap)for(let e of a)e.left<_&&e.right>y&&e.top<w+g&&e.bottom>w&&(w=O?e.top-g-2-p:e.bottom+p+2);if("absolute"==this.position?(u.style.top=(w-e.parent.top)/i+"px",vo(u,(y-e.parent.left)/o)):(u.style.top=w/i+"px",vo(u,y/o)),h){let e=d.left+(v?A.x:-A.x)-(y+14-7);h.style.left=e/o+"px"}!0!==c.overlap&&a.push({left:y,top:w,right:_,bottom:w+g}),u.classList.toggle("cm-tooltip-above",O),u.classList.toggle("cm-tooltip-below",!O),c.positioned&&c.positioned(e.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let e of this.manager.tooltipViews)e.dom.style.top=fo}},{eventObservers:{scroll(){this.maybeMeasure()}}});function vo(e,t){let n=parseInt(e.style.left,10);(isNaN(n)||Math.abs(t-n)>1)&&(e.style.left=t+"px")}const yo=lr.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),Oo={x:0,y:0},bo=r.sj.define({enables:[Ao,yo]}),wo=r.sj.define({combine:e=>e.reduce(((e,t)=>e.concat(t)),[])});class _o{static create(e){return new _o(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new ho(e,wo,((e,t)=>this.createHostedView(e,t)),(e=>e.dom.remove()))}createHostedView(e,t){let n=e.create(this.view);return n.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(n.dom,t?t.dom.nextSibling:this.dom.firstChild),this.mounted&&n.mount&&n.mount(this.view),n}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)null===(e=t.destroy)||void 0===e||e.call(t)}passProp(e){let t;for(let n of this.manager.tooltipViews){let r=n[e];if(void 0!==r)if(void 0===t)t=r;else if(t!==r)return}return t}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const xo=bo.compute([wo],(e=>{let t=e.facet(wo);return 0===t.length?null:{pos:Math.min(...t.map((e=>e.pos))),end:Math.max(...t.map((e=>{var t;return null!==(t=e.end)&&void 0!==t?t:e.pos}))),create:_o.create,above:t[0].above,arrow:t.some((e=>e.arrow))}}));class So{constructor(e,t,n,r,o){this.view=e,this.source=t,this.field=n,this.setHover=r,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout((()=>this.startHover()),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:t}=this,n=e.docView.nearest(t.target);if(!n)return;let r,o=1;if(n instanceof ee)r=n.posAtStart;else{if(r=e.posAtCoords(t),null==r)return;let n=e.coordsAtPos(r);if(!n||t.y<n.top||t.y>n.bottom||t.x<n.left-e.defaultCharacterWidth||t.x>n.right+e.defaultCharacterWidth)return;let i=e.bidiSpans(e.state.doc.lineAt(r)).find((e=>e.from<=r&&e.to>=r)),a=i&&i.dir==xe.RTL?-1:1;o=t.x<n.left?-a:a}let i=this.source(e,r,o);if(null==i?void 0:i.then){let t=this.pending={pos:r};i.then((n=>{this.pending==t&&(this.pending=null,!n||Array.isArray(n)&&!n.length||e.dispatch({effects:this.setHover.of(Array.isArray(n)?n:[n])}))}),(t=>ot(e.state,t,"hover tooltip")))}else!i||Array.isArray(i)&&!i.length||e.dispatch({effects:this.setHover.of(Array.isArray(i)?i:[i])})}get tooltip(){let e=this.view.plugin(Ao),t=e?e.manager.tooltips.findIndex((e=>e.create==_o.create)):-1;return t>-1?e.manager.tooltipViews[t]:null}mousemove(e){var t,n;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:r,tooltip:o}=this;if(r.length&&o&&!function(e,t){let n,{left:r,right:o,top:i,bottom:a}=e.getBoundingClientRect();if(n=e.querySelector(".cm-tooltip-arrow")){let e=n.getBoundingClientRect();i=Math.min(e.top,i),a=Math.max(e.bottom,a)}return t.clientX>=r-ko&&t.clientX<=o+ko&&t.clientY>=i-ko&&t.clientY<=a+ko}(o.dom,e)||this.pending){let{pos:o}=r[0]||this.pending,i=null!==(n=null===(t=r[0])||void 0===t?void 0:t.end)&&void 0!==n?n:o;(o==i?this.view.posAtCoords(this.lastMove)==o:function(e,t,n,r,o){let i=e.scrollDOM.getBoundingClientRect(),a=e.documentTop+e.documentPadding.top+e.contentHeight;if(i.left>r||i.right<r||i.top>o||Math.min(i.bottom,a)<o)return!1;let s=e.posAtCoords({x:r,y:o},!1);return s>=t&&s<=n}(this.view,o,i,e.clientX,e.clientY))||(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:t}=this;if(t.length){let{tooltip:t}=this;t&&t.dom.contains(e.relatedTarget)?this.watchTooltipLeave(t.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let t=n=>{e.removeEventListener("mouseleave",t),this.active.length&&!this.view.dom.contains(n.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",t)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const ko=4;function Co(e,t={}){let n=r.Pe.define(),o=r.sU.define({create(){return[]},update(e,o){if(e.length&&(t.hideOnChange&&(o.docChanged||o.selection)?e=[]:t.hideOn&&(e=e.filter((e=>!t.hideOn(o,e)))),o.docChanged)){let t=[];for(let n of e){let e=o.changes.mapPos(n.pos,-1,r.iR.TrackDel);if(null!=e){let r=Object.assign(Object.create(null),n);r.pos=e,null!=r.end&&(r.end=o.changes.mapPos(r.end)),t.push(r)}}e=t}for(let t of o.effects)t.is(n)&&(e=t.value),t.is(Qo)&&(e=[]);return e},provide:e=>wo.from(e)});return{active:o,extension:[o,lt.define((r=>new So(r,e,o,n,t.hoverTime||300))),xo]}}function Bo(e,t){let n=e.plugin(Ao);if(!n)return null;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}const Qo=r.Pe.define(),To=r.sj.define({combine(e){let t,n;for(let r of e)t=t||r.topContainer,n=n||r.bottomContainer;return{topContainer:t,bottomContainer:n}}});function Eo(e,t){let n=e.plugin(Po),r=n?n.specs.indexOf(t):-1;return r>-1?n.panels[r]:null}const Po=lt.fromClass(class{constructor(e){this.input=e.state.facet(zo),this.specs=this.input.filter((e=>e)),this.panels=this.specs.map((t=>t(e)));let t=e.state.facet(To);this.top=new $o(e,!0,t.topContainer),this.bottom=new $o(e,!1,t.bottomContainer),this.top.sync(this.panels.filter((e=>e.top))),this.bottom.sync(this.panels.filter((e=>!e.top)));for(let e of this.panels)e.dom.classList.add("cm-panel"),e.mount&&e.mount()}update(e){let t=e.state.facet(To);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new $o(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new $o(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(zo);if(n!=this.input){let t=n.filter((e=>e)),r=[],o=[],i=[],a=[];for(let n of t){let t,s=this.specs.indexOf(n);s<0?(t=n(e.view),a.push(t)):(t=this.panels[s],t.update&&t.update(e)),r.push(t),(t.top?o:i).push(t)}this.specs=t,this.panels=r,this.top.sync(o),this.bottom.sync(i);for(let e of a)e.dom.classList.add("cm-panel"),e.mount&&e.mount()}else for(let t of this.panels)t.update&&t.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>lr.scrollMargins.of((t=>{let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}}))});class $o{constructor(e,t,n){this.view=e,this.top=t,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(0==this.panels.length)return void(this.dom&&(this.dom.remove(),this.dom=void 0));if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let e=this.container||this.view.dom;e.insertBefore(this.dom,this.top?e.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=Mo(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=Mo(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function Mo(e){let t=e.nextSibling;return e.remove(),t}const zo=r.sj.define({enables:Po});class Ro extends r.FB{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Ro.prototype.elementClass="",Ro.prototype.toDOM=void 0,Ro.prototype.mapMode=r.iR.TrackBefore,Ro.prototype.startSide=Ro.prototype.endSide=-1,Ro.prototype.point=!0;const Do=r.sj.define(),Io=r.sj.define(),No={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>r.om.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Lo=r.sj.define();function Vo(e){return[Fo(),Lo.of(Object.assign(Object.assign({},No),e))]}const Uo=r.sj.define({combine:e=>e.some((e=>e))});function Fo(e){let t=[Ho];return e&&!1===e.fixed&&t.push(Uo.of(!0)),t}const Ho=lt.fromClass(class{constructor(e){this.view=e,this.prevViewport=e.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=e.state.facet(Lo).map((t=>new qo(e,t)));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!e.state.facet(Uo),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}update(e){if(this.updateGutters(e)){let t=this.prevViewport,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from);this.syncGutters(r<.8*(n.to-n.from))}e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(Uo)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&this.dom.remove();let n=r.om.iter(this.view.state.facet(Do),this.view.viewport.from),o=[],i=this.gutters.map((e=>new jo(e,this.view.viewport,-this.view.documentPadding.top)));for(let e of this.view.viewportLineBlocks)if(o.length&&(o=[]),Array.isArray(e.type)){let t=!0;for(let r of e.type)if(r.type==de.Text&&t){Xo(n,o,r.from);for(let e of i)e.line(this.view,r,o);t=!1}else if(r.widget)for(let e of i)e.widget(this.view,r)}else if(e.type==de.Text){Xo(n,o,e.from);for(let t of i)t.line(this.view,e,o)}else if(e.widget)for(let t of i)t.widget(this.view,e);for(let e of i)e.finish();e&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(e){let t=e.startState.facet(Lo),n=e.state.facet(Lo),o=e.docChanged||e.heightChanged||e.viewportChanged||!r.om.eq(e.startState.facet(Do),e.state.facet(Do),e.view.viewport.from,e.view.viewport.to);if(t==n)for(let t of this.gutters)t.update(e)&&(o=!0);else{o=!0;let r=[];for(let o of n){let n=t.indexOf(o);n<0?r.push(new qo(this.view,o)):(this.gutters[n].update(e),r.push(this.gutters[n]))}for(let e of this.gutters)e.dom.remove(),r.indexOf(e)<0&&e.destroy();for(let e of r)this.dom.appendChild(e.dom);this.gutters=r}return o}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove()}},{provide:e=>lr.scrollMargins.of((t=>{let n=t.plugin(e);return n&&0!=n.gutters.length&&n.fixed?t.textDirection==xe.LTR?{left:n.dom.offsetWidth*t.scaleX}:{right:n.dom.offsetWidth*t.scaleX}:null}))});function Wo(e){return Array.isArray(e)?e:[e]}function Xo(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}class jo{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=r.om.iter(e.markers,t.from)}addElement(e,t,n){let{gutter:r}=this,o=(t.top-this.height)/e.scaleY,i=t.height/e.scaleY;if(this.i==r.elements.length){let t=new Zo(e,i,o,n);r.elements.push(t),r.dom.appendChild(t.dom)}else r.elements[this.i].update(e,i,o,n);this.height=t.bottom,this.i++}line(e,t,n){let r=[];Xo(this.cursor,r,t.from),n.length&&(r=r.concat(n));let o=this.gutter.config.lineMarker(e,t,r);o&&r.unshift(o);let i=this.gutter;(0!=r.length||i.config.renderEmptyElements)&&this.addElement(e,t,r)}widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t),r=n?[n]:null;for(let n of e.state.facet(Io)){let o=n(e,t.widget,t);o&&(r||(r=[])).push(o)}r&&this.addElement(e,t,r)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class qo{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in t.domEventHandlers)this.dom.addEventListener(n,(r=>{let o,i=r.target;if(i!=this.dom&&this.dom.contains(i)){for(;i.parentNode!=this.dom;)i=i.parentNode;let e=i.getBoundingClientRect();o=(e.top+e.bottom)/2}else o=r.clientY;let a=e.lineBlockAtHeight(o-e.documentTop);t.domEventHandlers[n](e,a,r)&&r.preventDefault()}));this.markers=Wo(t.markers(e)),t.initialSpacer&&(this.spacer=new Zo(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=Wo(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let t=this.config.updateSpacer(this.spacer.markers[0],e);t!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[t])}let n=e.view.viewport;return!r.om.eq(this.markers,t,n.from,n.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(e)}destroy(){for(let e of this.elements)e.destroy()}}class Zo{constructor(e,t,n,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,n,r)}update(e,t,n,r){this.height!=t&&(this.height=t,this.dom.style.height=t+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),function(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].compare(t[n]))return!1;return!0}(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,t){let n="cm-gutterElement",r=this.dom.firstChild;for(let o=0,i=0;;){let a=i,s=o<t.length?t[o++]:null,l=!1;if(s){let e=s.elementClass;e&&(n+=" "+e);for(let e=i;e<this.markers.length;e++)if(this.markers[e].compare(s)){a=e,l=!0;break}}else a=this.markers.length;for(;i<a;){let e=this.markers[i++];if(e.toDOM){e.destroy(r);let t=r.nextSibling;r.remove(),r=t}}if(!s)break;s.toDOM&&(l?r=r.nextSibling:this.dom.insertBefore(s.toDOM(e),r)),l&&i++}this.dom.className=n,this.markers=t}destroy(){this.setMarkers(null,[])}}const Yo=r.sj.define(),Go=r.sj.define(),Ko=r.sj.define({combine(e){return(0,r.QR)(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){let n=Object.assign({},e);for(let e in t){let r=n[e],o=t[e];n[e]=r?(e,t,n)=>r(e,t,n)||o(e,t,n):o}return n}})}});class Jo extends Ro{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function ei(e,t){return e.state.facet(Ko).formatNumber(t,e.state)}const ti=Lo.compute([Ko],(e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(Yo)},lineMarker(e,t,n){return n.some((e=>e.toDOM))?null:new Jo(ei(e,e.state.doc.lineAt(t.from).number))},widgetMarker:(e,t,n)=>{for(let r of e.state.facet(Go)){let o=r(e,t,n);if(o)return o}return null},lineMarkerChange:e=>e.startState.facet(Ko)!=e.state.facet(Ko),initialSpacer(e){return new Jo(ei(e,ri(e.state.doc.lines)))},updateSpacer(e,t){let n=ei(t.view,ri(t.view.state.doc.lines));return n==e.number?e:new Jo(n)},domEventHandlers:e.facet(Ko).domEventHandlers})));function ni(e={}){return[Ko.of(e),Fo(),ti]}function ri(e){let t=9;for(;t<e;)t=10*t+9;return t}const oi=new class extends Ro{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},ii=Do.compute(["selection"],(e=>{let t=[],n=-1;for(let r of e.selection.ranges){let o=e.doc.lineAt(r.head).from;o>n&&(n=o,t.push(oi.range(o)))}return r.om.of(t)}));function ai(){return ii}function si(e){return lt.define((t=>({decorations:e.createDeco(t),update(t){this.decorations=e.updateDeco(t,this.decorations)}})),{decorations:e=>e.decorations})}const li=fe.mark({class:"cm-highlightTab"}),ci=fe.mark({class:"cm-highlightSpace"}),ui=si(new Hr({regexp:/\t| /g,decoration:e=>"\t"==e[0]?li:ci,boundary:/\S/}));function di(){return ui}},62298:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(18472);const o=e=>["",...r.I].includes(e)},62406:function(e,t,n){"use strict";n.d(t,{EJ:function(){return s},FQ:function(){return g},j_:function(){return f}});var r=n(12191),o=n(98026),i=n(45558),a=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function s(e,t,n,r,o){var i={};return l(i,e,t,n,r,o),i.text}function l(e,t,n,r,o,i){if(!n)return e.text="",void(e.isTruncated=!1);var a=(t+"").split("\n");i=c(n,r,o,i);for(var s=!1,l={},d=0,f=a.length;d<f;d++)u(l,a[d],i),a[d]=l.textLine,s=s||l.isTruncated;e.text=a.join("\n"),e.isTruncated=s}function c(e,t,n,r){r=r||{};var a=(0,o.extend)({},r);a.font=t,n=(0,o.retrieve2)(n,"..."),a.maxIterations=(0,o.retrieve2)(r.maxIterations,2);var s=a.minChar=(0,o.retrieve2)(r.minChar,0);a.cnCharWidth=(0,i.RG)("国",t);var l=a.ascCharWidth=(0,i.RG)("a",t);a.placeholder=(0,o.retrieve2)(r.placeholder,"");for(var c=e=Math.max(0,e-1),u=0;u<s&&c>=l;u++)c-=l;var d=(0,i.RG)(n,t);return d>c&&(n="",d=0),c=e-d,a.ellipsis=n,a.ellipsisWidth=d,a.contentWidth=c,a.containerWidth=e,a}function u(e,t,n){var r=n.containerWidth,o=n.font,a=n.contentWidth;if(!r)return e.textLine="",void(e.isTruncated=!1);var s=(0,i.RG)(t,o);if(s<=r)return e.textLine=t,void(e.isTruncated=!1);for(var l=0;;l++){if(s<=a||l>=n.maxIterations){t+=n.ellipsis;break}var c=0===l?d(t,a,n.ascCharWidth,n.cnCharWidth):s>0?Math.floor(t.length*a/s):0;t=t.substr(0,c),s=(0,i.RG)(t,o)}""===t&&(t=n.placeholder),e.textLine=t,e.isTruncated=!0}function d(e,t,n,r){for(var o=0,i=0,a=e.length;i<a&&o<t;i++){var s=e.charCodeAt(i);o+=0<=s&&s<=127?n:r}return i}function f(e,t){null!=e&&(e+="");var n,r=t.overflow,a=t.padding,s=t.font,l="truncate"===r,d=(0,i.ks)(s),f=(0,o.retrieve2)(t.lineHeight,d),h=!!t.backgroundColor,p="truncate"===t.lineOverflow,m=!1,g=t.width,A=(n=null==g||"break"!==r&&"breakAll"!==r?e?e.split("\n"):[]:e?O(e,t.font,g,"breakAll"===r,0).lines:[]).length*f,v=(0,o.retrieve2)(t.height,A);if(A>v&&p){var y=Math.floor(v/f);m=m||n.length>y,n=n.slice(0,y)}if(e&&l&&null!=g)for(var b=c(g,s,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),w={},_=0;_<n.length;_++)u(w,n[_],b),n[_]=w.textLine,m=m||w.isTruncated;var x=v,S=0;for(_=0;_<n.length;_++)S=Math.max((0,i.RG)(n[_],s),S);null==g&&(g=S);var k=S;return a&&(x+=a[0]+a[2],k+=a[1]+a[3],g+=a[1]+a[3]),h&&(k=g),{lines:n,height:v,outerWidth:k,outerHeight:x,lineHeight:f,calculatedLineHeight:d,contentWidth:S,contentHeight:A,width:g,isTruncated:m}}var h=function(){},p=function(e){this.tokens=[],e&&(this.tokens=e)},m=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1};function g(e,t){var n=new m;if(null!=e&&(e+=""),!e)return n;for(var s,c=t.width,u=t.height,d=t.overflow,f="break"!==d&&"breakAll"!==d||null==c?null:{width:c,accumWidth:0,breakAll:"breakAll"===d},h=a.lastIndex=0;null!=(s=a.exec(e));){var p=s.index;p>h&&A(n,e.substring(h,p),t,f),A(n,s[2],t,f,s[1]),h=a.lastIndex}h<e.length&&A(n,e.substring(h,e.length),t,f);var g=[],v=0,y=0,O=t.padding,b="truncate"===d,w="truncate"===t.lineOverflow,_={};function x(e,t,n){e.width=t,e.lineHeight=n,v+=n,y=Math.max(y,t)}e:for(var S=0;S<n.lines.length;S++){for(var k=n.lines[S],C=0,B=0,Q=0;Q<k.tokens.length;Q++){var T=(V=k.tokens[Q]).styleName&&t.rich[V.styleName]||{},E=V.textPadding=T.padding,P=E?E[1]+E[3]:0,$=V.font=T.font||t.font;V.contentHeight=(0,i.ks)($);var M=(0,o.retrieve2)(T.height,V.contentHeight);if(V.innerHeight=M,E&&(M+=E[0]+E[2]),V.height=M,V.lineHeight=(0,o.retrieve3)(T.lineHeight,t.lineHeight,M),V.align=T&&T.align||t.align,V.verticalAlign=T&&T.verticalAlign||"middle",w&&null!=u&&v+V.lineHeight>u){var z=n.lines.length;Q>0?(k.tokens=k.tokens.slice(0,Q),x(k,B,C),n.lines=n.lines.slice(0,S+1)):n.lines=n.lines.slice(0,S),n.isTruncated=n.isTruncated||n.lines.length<z;break e}var R=T.width,D=null==R||"auto"===R;if("string"==typeof R&&"%"===R.charAt(R.length-1))V.percentWidth=R,g.push(V),V.contentWidth=(0,i.RG)(V.text,$);else{if(D){var I=T.backgroundColor,N=I&&I.image;N&&(N=r.SR(N),r.xA(N)&&(V.width=Math.max(V.width,N.width*M/N.height)))}var L=b&&null!=c?c-B:null;null!=L&&L<V.width?!D||L<P?(V.text="",V.width=V.contentWidth=0):(l(_,V.text,L-P,$,t.ellipsis,{minChar:t.truncateMinChar}),V.text=_.text,n.isTruncated=n.isTruncated||_.isTruncated,V.width=V.contentWidth=(0,i.RG)(V.text,$)):V.contentWidth=(0,i.RG)(V.text,$)}V.width+=P,B+=V.width,T&&(C=Math.max(C,V.lineHeight))}x(k,B,C)}for(n.outerWidth=n.width=(0,o.retrieve2)(c,y),n.outerHeight=n.height=(0,o.retrieve2)(u,v),n.contentHeight=v,n.contentWidth=y,O&&(n.outerWidth+=O[1]+O[3],n.outerHeight+=O[0]+O[2]),S=0;S<g.length;S++){var V,U=(V=g[S]).percentWidth;V.width=parseInt(U,10)/100*n.width}return n}function A(e,t,n,r,o){var a,s,l=""===t,c=o&&n.rich[o]||{},u=e.lines,d=c.font||n.font,f=!1;if(r){var m=c.padding,g=m?m[1]+m[3]:0;if(null!=c.width&&"auto"!==c.width){var A=(0,i.lo)(c.width,r.width)+g;u.length>0&&A+r.accumWidth>r.width&&(a=t.split("\n"),f=!0),r.accumWidth=A}else{var v=O(t,d,r.width,r.breakAll,r.accumWidth);r.accumWidth=v.accumWidth+g,s=v.linesWidths,a=v.lines}}else a=t.split("\n");for(var y=0;y<a.length;y++){var b=a[y],w=new h;if(w.styleName=o,w.text=b,w.isLineHolder=!b&&!l,"number"==typeof c.width?w.width=c.width:w.width=s?s[y]:(0,i.RG)(b,d),y||f)u.push(new p([w]));else{var _=(u[u.length-1]||(u[0]=new p)).tokens,x=_.length;1===x&&_[0].isLineHolder?_[0]=w:(b||!x||l)&&_.push(w)}}}var v=(0,o.reduce)(",&?/;] ".split(""),(function(e,t){return e[t]=!0,e}),{});function y(e){return!function(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}(e)||!!v[e]}function O(e,t,n,r,o){for(var a=[],s=[],l="",c="",u=0,d=0,f=0;f<e.length;f++){var h=e.charAt(f);if("\n"!==h){var p=(0,i.RG)(h,t),m=!r&&!y(h);(a.length?d+p>n:o+d+p>n)?d?(l||c)&&(m?(l||(l=c,c="",d=u=0),a.push(l),s.push(d-u),c+=h,l="",d=u+=p):(c&&(l+=c,c="",u=0),a.push(l),s.push(d),l=h,d=p)):m?(a.push(c),s.push(u),c=h,u=p):(a.push(h),s.push(p)):(d+=p,m?(c+=h,u+=p):(c&&(l+=c,c="",u=0),l+=h))}else c&&(l+=c,d+=u),a.push(l),s.push(d),l="",c="",u=0,d=0}return a.length||l||(l=e,c="",u=0),c&&(l+=c),l&&(a.push(l),s.push(d)),1===a.length&&(d+=o),{accumWidth:d,lines:a,linesWidths:s}}},62454:function(e,t,n){"use strict";var r=n(92836),o=n(77193),i=n(29308),a=n(57861),s=n(45558),l=n(98026),c=n(73098),u=n(47698),d=n(56448),f="__zr_normal__",h=r.Wx.concat(["ignore"]),p=(0,l.reduce)(r.Wx,(function(e,t){return e[t]=!0,e}),{ignore:!1}),m={},g=new i.A(0,0,0,0),A=function(){function e(e){this.id=(0,l.guid)(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return e.prototype._init=function(e){this.attr(e)},e.prototype.drift=function(e,t,n){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=e,r[5]+=t,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var n=this.textConfig,r=n.local,o=t.innerTransformable,i=void 0,a=void 0,l=!1;o.parent=r?this:null;var c=!1;if(o.copyTransform(t),null!=n.position){var u=g;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),r||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(m,n,u):(0,s.X4)(m,n,u),o.x=m.x,o.y=m.y,i=m.align,a=m.verticalAlign;var f=n.origin;if(f&&null!=n.rotation){var h=void 0,p=void 0;"center"===f?(h=.5*u.width,p=.5*u.height):(h=(0,s.lo)(f[0],u.width),p=(0,s.lo)(f[1],u.height)),c=!0,o.originX=-o.x+h+(r?0:u.x),o.originY=-o.y+p+(r?0:u.y)}}null!=n.rotation&&(o.rotation=n.rotation);var A=n.offset;A&&(o.x+=A[0],o.y+=A[1],c||(o.originX=-A[0],o.originY=-A[1]));var v=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,y=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),O=void 0,b=void 0,w=void 0;v&&this.canBeInsideText()?(O=n.insideFill,b=n.insideStroke,null!=O&&"auto"!==O||(O=this.getInsideTextFill()),null!=b&&"auto"!==b||(b=this.getInsideTextStroke(O),w=!0)):(O=n.outsideFill,b=n.outsideStroke,null!=O&&"auto"!==O||(O=this.getOutsideFill()),null!=b&&"auto"!==b||(b=this.getOutsideStroke(O),w=!0)),(O=O||"#000")===y.fill&&b===y.stroke&&w===y.autoStroke&&i===y.align&&a===y.verticalAlign||(l=!0,y.fill=O,y.stroke=b,y.autoStroke=w,y.align=i,y.verticalAlign=a,t.setDefaultTextStyle(y)),t.__dirty|=d.M,l&&t.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(e){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?c.el:c._S},e.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof t&&(0,u.parse)(t);n||(n=[255,255,255,1]);for(var r=n[3],o=this.__zr.isDarkMode(),i=0;i<3;i++)n[i]=n[i]*r+(o?0:255)*(1-r);return n[3]=1,(0,u.stringify)(n,"rgba")},e.prototype.traverse=function(e,t){},e.prototype.attrKV=function(e,t){"textConfig"===e?this.setTextConfig(t):"textContent"===e?this.setTextContent(t):"clipPath"===e?this.setClipPath(t):"extra"===e?(this.extra=this.extra||{},(0,l.extend)(this.extra,t)):this[e]=t},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(e,t){if("string"==typeof e)this.attrKV(e,t);else if((0,l.isObject)(e))for(var n=e,r=(0,l.keys)(n),o=0;o<r.length;o++){var i=r[o];this.attrKV(i,e[i])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var t=this._normalState,n=0;n<this.animators.length;n++){var r=this.animators[n],o=r.__fromStateTransition;if(!(r.getLoop()||o&&o!==f)){var i=r.targetName,a=i?t[i]:t;r.saveTo(a)}}},e.prototype._innerSaveToNormal=function(e){var t=this._normalState;t||(t=this._normalState={}),e.textConfig&&!t.textConfig&&(t.textConfig=this.textConfig),this._savePrimaryToNormal(e,t,h)},e.prototype._savePrimaryToNormal=function(e,t,n){for(var r=0;r<n.length;r++){var o=n[r];null==e[o]||o in t||(t[o]=this[o])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(e){return this.states[e]},e.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},e.prototype.clearStates=function(e){this.useState(f,!1,e)},e.prototype.useState=function(e,t,n,r){var o=e===f;if(this.hasState()||!o){var i=this.currentStates,a=this.stateTransition;if(!((0,l.indexOf)(i,e)>=0)||!t&&1!==i.length){var s;if(this.stateProxy&&!o&&(s=this.stateProxy(e)),s||(s=this.states&&this.states[e]),s||o){o||this.saveCurrentToNormalState(s);var c=!!(s&&s.hoverLayer||r);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,s,this._normalState,t,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,h=this._textGuide;return u&&u.useState(e,t,n,c),h&&h.useState(e,t,n,c),o?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~d.M),s}(0,l.logError)("State "+e+" not exists.")}}},e.prototype.useStates=function(e,t,n){if(e.length){var r=[],o=this.currentStates,i=e.length,a=i===o.length;if(a)for(var s=0;s<i;s++)if(e[s]!==o[s]){a=!1;break}if(a)return;for(s=0;s<i;s++){var l=e[s],c=void 0;this.stateProxy&&(c=this.stateProxy(l,e)),c||(c=this.states[l]),c&&r.push(c)}var u=r[i-1],f=!!(u&&u.hoverLayer||n);f&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(r),p=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(e.join(","),h,this._normalState,!1,!t&&!this.__inHover&&p&&p.duration>0,p);var m=this._textContent,g=this._textGuide;m&&m.useStates(e,t,f),g&&g.useStates(e,t,f),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~d.M)}else this.clearStates()},e.prototype.isSilent=function(){for(var e=this.silent,t=this.parent;!e&&t;){if(t.silent){e=!0;break}t=t.parent}return e},e.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var t=this.animators[e];t.targetName&&t.changeTarget(this[t.targetName])}},e.prototype.removeState=function(e){var t=(0,l.indexOf)(this.currentStates,e);if(t>=0){var n=this.currentStates.slice();n.splice(t,1),this.useStates(n)}},e.prototype.replaceState=function(e,t,n){var r=this.currentStates.slice(),o=(0,l.indexOf)(r,e),i=(0,l.indexOf)(r,t)>=0;o>=0?i?r.splice(o,1):r[o]=t:n&&!i&&r.push(t),this.useStates(r)},e.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},e.prototype._mergeStates=function(e){for(var t,n={},r=0;r<e.length;r++){var o=e[r];(0,l.extend)(n,o),o.textConfig&&(t=t||{},(0,l.extend)(t,o.textConfig))}return t&&(n.textConfig=t),n},e.prototype._applyStateObj=function(e,t,n,r,o,i){var a=!(t&&r);t&&t.textConfig?(this.textConfig=(0,l.extend)({},r?this.textConfig:n.textConfig),(0,l.extend)(this.textConfig,t.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},c=!1,u=0;u<h.length;u++){var d=h[u],f=o&&p[d];t&&null!=t[d]?f?(c=!0,s[d]=t[d]):this[d]=t[d]:a&&null!=n[d]&&(f?(c=!0,s[d]=n[d]):this[d]=n[d])}if(!o)for(u=0;u<this.animators.length;u++){var m=this.animators[u],g=m.targetName;m.getLoop()||m.__changeFinalValue(g?(t||n)[g]:t||n)}c&&this._transitionState(e,s,i)},e.prototype._attachComponent=function(e){if((!e.__zr||e.__hostTarget)&&e!==this){var t=this.__zr;t&&e.addSelfToZr(t),e.__zr=t,e.__hostTarget=this}},e.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},e.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(e){var t=this._textContent;t!==e&&(t&&t!==e&&this.removeTextContent(),e.innerTransformable=new r.Ay,this._attachComponent(e),this._textContent=e,this.markRedraw())},e.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),(0,l.extend)(this.textConfig,e),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=d.M;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var t=this._textContent,n=this._textGuide;t&&(t.__inHover=e),n&&(n.__inHover=e)},e.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.addAnimator(t[n]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.removeAnimator(t[n]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},e.prototype.animate=function(e,t,n){var r=e?this[e]:this,i=new o.A(r,t,n);return e&&(i.targetName=e),this.addAnimator(i,e),i},e.prototype.addAnimator=function(e,t){var n=this.__zr,r=this;e.during((function(){r.updateDuringAnimation(t)})).done((function(){var t=r.animators,n=(0,l.indexOf)(t,e);n>=0&&t.splice(n,1)})),this.animators.push(e),n&&n.animation.addAnimator(e),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(e){this.markRedraw()},e.prototype.stopAnimation=function(e,t){for(var n=this.animators,r=n.length,o=[],i=0;i<r;i++){var a=n[i];e&&e!==a.scope?o.push(a):a.stop(t)}return this.animators=o,this},e.prototype.animateTo=function(e,t,n){v(this,e,t,n)},e.prototype.animateFrom=function(e,t,n){v(this,e,t,n,!0)},e.prototype._transitionState=function(e,t,n,r){for(var o=v(this,t,n,r),i=0;i<o.length;i++)o[i].__fromStateTransition=e},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;function n(e,n,r,o){function i(e,t){Object.defineProperty(t,0,{get:function(){return e[r]},set:function(t){e[r]=t}}),Object.defineProperty(t,1,{get:function(){return e[o]},set:function(t){e[o]=t}})}Object.defineProperty(t,e,{get:function(){return this[n]||i(this,this[n]=[]),this[n]},set:function(e){this[r]=e[0],this[o]=e[1],this[n]=e,i(this,e)}})}t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=d.M,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),e}();function v(e,t,n,r,o){var i=[];b(e,"",e,t,n=n||{},r,i,o);var a=i.length,s=!1,l=n.done,c=n.aborted,u=function(){s=!0,--a<=0&&(s?l&&l():c&&c())},d=function(){--a<=0&&(s?l&&l():c&&c())};a||l&&l(),i.length>0&&n.during&&i[0].during((function(e,t){n.during(t)}));for(var f=0;f<i.length;f++){var h=i[f];u&&h.done(u),d&&h.aborted(d),n.force&&h.duration(n.duration),h.start(n.easing)}return i}function y(e,t,n){for(var r=0;r<n;r++)e[r]=t[r]}function O(e,t,n){if((0,l.isArrayLike)(t[n]))if((0,l.isArrayLike)(e[n])||(e[n]=[]),(0,l.isTypedArray)(t[n])){var r=t[n].length;e[n].length!==r&&(e[n]=new t[n].constructor(r),y(e[n],t[n],r))}else{var o=t[n],i=e[n],a=o.length;if(u=o,(0,l.isArrayLike)(u[0]))for(var s=o[0].length,c=0;c<a;c++)i[c]?y(i[c],o[c],s):i[c]=Array.prototype.slice.call(o[c]);else y(i,o,a);i.length=o.length}else e[n]=t[n];var u}function b(e,t,n,r,i,a,s,c){for(var u=(0,l.keys)(r),d=i.duration,f=i.delay,h=i.additive,p=i.setToFinal,m=!(0,l.isObject)(a),g=e.animators,A=[],v=0;v<u.length;v++){var y=u[v],w=r[y];if(null!=w&&null!=n[y]&&(m||a[y]))if(!(0,l.isObject)(w)||(0,l.isArrayLike)(w)||(0,l.isGradientObject)(w))A.push(y);else{if(t){c||(n[y]=w,e.updateDuringAnimation(t));continue}b(e,y,n[y],w,i,a&&a[y],s,c)}else c||(n[y]=w,e.updateDuringAnimation(t),A.push(y))}var _=A.length;if(!h&&_)for(var x=0;x<g.length;x++)if((k=g[x]).targetName===t&&k.stopTracks(A)){var S=(0,l.indexOf)(g,k);g.splice(S,1)}if(i.force||(A=(0,l.filter)(A,(function(e){return!((t=r[e])===(o=n[e])||(0,l.isArrayLike)(t)&&(0,l.isArrayLike)(o)&&function(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}(t,o));var t,o})),_=A.length),_>0||i.force&&!s.length){var k,C=void 0,B=void 0,Q=void 0;if(c)for(B={},p&&(C={}),x=0;x<_;x++)B[y=A[x]]=n[y],p?C[y]=r[y]:n[y]=r[y];else if(p)for(Q={},x=0;x<_;x++)Q[y=A[x]]=(0,o.F)(n[y]),O(n,r,y);(k=new o.A(n,!1,!1,h?(0,l.filter)(g,(function(e){return e.targetName===t})):null)).targetName=t,i.scope&&(k.scope=i.scope),p&&C&&k.whenWithKeys(0,C,A),Q&&k.whenWithKeys(0,Q,A),k.whenWithKeys(null==d?500:d,c?B:r,A).delay(f||0),e.addAnimator(k,t),s.push(k)}}(0,l.mixin)(A,a.A),(0,l.mixin)(A,r.Ay),t.A=A},62529:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},62536:function(e,t,n){"use strict";n.d(t,{DL:function(){return d},GL:function(){return f},KF:function(){return A},VA:function(){return m},Zp:function(){return g},vq:function(){return h}});var r=n(98026),o=n(24326),i=n(65008),a=n(87582),s=n(8957),l="__ec_stack_";function c(e){return e.get("stack")||l+e.seriesIndex}function u(e){return e.dim+e.index}function d(e){var t=[],n=e.axis,o="axis0";if("category"===n.type){for(var i=n.getBandWidth(),a=0;a<e.count;a++)t.push((0,r.defaults)({bandWidth:i,axisKey:o,stackId:l+a},e));var s=p(t),c=[];for(a=0;a<e.count;a++){var u=s[o][l+a];u.offsetCenter=u.offset+u.width/2,c.push(u)}return c}}function f(e,t){var n=[];return t.eachSeriesByType(e,(function(e){v(e)&&n.push(e)})),n}function h(e){var t=function(e){var t={};(0,r.each)(e,(function(e){var n=e.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var r=e.getData(),o=n.dim+"_"+n.index,i=r.getDimensionIndex(r.mapDimension(n.dim)),a=r.getStore(),s=0,l=a.count();s<l;++s){var c=a.get(i,s);t[o]?t[o].push(c):t[o]=[c]}}));var n={};for(var o in t)if(t.hasOwnProperty(o)){var i=t[o];if(i){i.sort((function(e,t){return e-t}));for(var a=null,s=1;s<i.length;++s){var l=i[s]-i[s-1];l>0&&(a=null===a?l:Math.min(a,l))}n[o]=a}}return n}(e),n=[];return(0,r.each)(e,(function(e){var r,i=e.coordinateSystem.getBaseAxis(),a=i.getExtent();if("category"===i.type)r=i.getBandWidth();else if("value"===i.type||"time"===i.type){var s=i.dim+"_"+i.index,l=t[s],d=Math.abs(a[1]-a[0]),f=i.scale.getExtent(),h=Math.abs(f[1]-f[0]);r=l?d/h*l:d}else{var p=e.getData();r=Math.abs(a[1]-a[0])/p.count()}var m=(0,o.lo)(e.get("barWidth"),r),g=(0,o.lo)(e.get("barMaxWidth"),r),A=(0,o.lo)(e.get("barMinWidth")||(y(e)?.5:1),r),v=e.get("barGap"),O=e.get("barCategoryGap");n.push({bandWidth:r,barWidth:m,barMaxWidth:g,barMinWidth:A,barGap:v,barCategoryGap:O,axisKey:u(i),stackId:c(e)})})),p(n)}function p(e){var t={};(0,r.each)(e,(function(e,n){var r=e.axisKey,o=e.bandWidth,i=t[r]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=i.stacks;t[r]=i;var s=e.stackId;a[s]||i.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(i.remainedWidth,l),i.remainedWidth-=l);var c=e.barMaxWidth;c&&(a[s].maxWidth=c);var u=e.barMinWidth;u&&(a[s].minWidth=u);var d=e.barGap;null!=d&&(i.gap=d);var f=e.barCategoryGap;null!=f&&(i.categoryGap=f)}));var n={};return(0,r.each)(t,(function(e,t){n[t]={};var i=e.stacks,a=e.bandWidth,s=e.categoryGap;if(null==s){var l=(0,r.keys)(i).length;s=Math.max(35-4*l,15)+"%"}var c=(0,o.lo)(s,a),u=(0,o.lo)(e.gap,1),d=e.remainedWidth,f=e.autoWidthCount,h=(d-c)/(f+(f-1)*u);h=Math.max(h,0),(0,r.each)(i,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width)r=e.width,t&&(r=Math.min(r,t)),n&&(r=Math.max(r,n)),e.width=r,d-=r+u*r,f--;else{var r=h;t&&t<r&&(r=Math.min(t,d)),n&&n>r&&(r=n),r!==h&&(e.width=r,d-=r+u*r,f--)}})),h=(d-c)/(f+(f-1)*u),h=Math.max(h,0);var p,m=0;(0,r.each)(i,(function(e,t){e.width||(e.width=h),p=e,m+=e.width*(1+u)})),p&&(m-=p.width*u);var g=-m/2;(0,r.each)(i,(function(e,r){n[t][r]=n[t][r]||{bandWidth:a,offset:g,width:e.width},g+=e.width*(1+u)}))})),n}function m(e,t,n){if(e&&t){var r=e[u(t)];return null!=r&&null!=n?r[c(n)]:r}}function g(e,t){var n=f(e,t),o=h(n);(0,r.each)(n,(function(e){var t=e.getData(),n=e.coordinateSystem.getBaseAxis(),r=c(e),i=o[u(n)][r],a=i.offset,s=i.width;t.setLayout({bandWidth:i.bandWidth,offset:a,size:s})}))}function A(e){return{seriesType:e,plan:(0,a.A)(),reset:function(e){if(v(e)){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),o=n.getOtherAxis(r),a=t.getDimensionIndex(t.mapDimension(o.dim)),l=t.getDimensionIndex(t.mapDimension(r.dim)),c=e.get("showBackground",!0),u=t.mapDimension(o.dim),d=t.getCalculationInfo("stackResultDimension"),f=(0,i.sJ)(t,u)&&!!t.getCalculationInfo("stackedOnSeries"),h=o.isHorizontal(),p=function(e,t){var n=t.model.get("startValue");return n||(n=0),t.toGlobalCoord(t.dataToCoord("log"===t.type?n>0?n:1:n))}(0,o),m=y(e),g=e.get("barMinHeight")||0,A=d&&t.getDimensionIndex(d),O=t.getLayout("size"),b=t.getLayout("offset");return{progress:function(e,t){for(var r,o=e.count,i=m&&(0,s.J)(3*o),u=m&&c&&(0,s.J)(3*o),d=m&&(0,s.J)(o),v=n.master.getRect(),y=h?v.width:v.height,w=t.getStore(),_=0;null!=(r=e.next());){var x=w.get(f?A:a,r),S=w.get(l,r),k=p,C=void 0;f&&(C=+x-w.get(a,r));var B=void 0,Q=void 0,T=void 0,E=void 0;if(h){var P=n.dataToPoint([x,S]);f&&(k=n.dataToPoint([C,S])[0]),B=k,Q=P[1]+b,T=P[0]-k,E=O,Math.abs(T)<g&&(T=(T<0?-1:1)*g)}else P=n.dataToPoint([S,x]),f&&(k=n.dataToPoint([S,C])[1]),B=P[0]+b,Q=k,T=O,E=P[1]-k,Math.abs(E)<g&&(E=(E<=0?-1:1)*g);m?(i[_]=B,i[_+1]=Q,i[_+2]=h?T:E,u&&(u[_]=h?v.x:B,u[_+1]=h?Q:v.y,u[_+2]=y),d[r]=r):t.setItemLayout(r,{x:B,y:Q,width:T,height:E}),_+=3}m&&t.setLayout({largePoints:i,largeDataIndices:d,largeBackgroundPoints:u,valueAxisHorizontal:h})}}}}}}function v(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function y(e){return e.pipelineContext&&e.pipelineContext.large}},62604:function(e,t,n){"use strict";n.r(t),n.d(t,{Axis:function(){return o._0},ChartView:function(){return o.OZ},ComponentModel:function(){return o.jT},ComponentView:function(){return o.bR},List:function(){return o.B8},Model:function(){return o.Kx},PRIORITY:function(){return o.FQ},SeriesModel:function(){return o.rP},color:function(){return o.yW},connect:function(){return o.Ng},dataTool:function(){return o.p5},dependencies:function(){return o.El},disConnect:function(){return o.zm},disconnect:function(){return o.Zf},dispose:function(){return o.AS},env:function(){return o._K},extendChartView:function(){return o.yX},extendComponentModel:function(){return o.rt},extendComponentView:function(){return o.NO},extendSeriesModel:function(){return o.NA},format:function(){return o.GP},getCoordinateSystemDimensions:function(){return o.Bo},getInstanceByDom:function(){return o.FP},getInstanceById:function(){return o.aQ},getMap:function(){return o.ZB},graphic:function(){return o.fA},helper:function(){return o.dw},init:function(){return o.Ts},innerDrawElementOnCanvas:function(){return o.UU},matrix:function(){return o.UP},number:function(){return o.ai},parseGeoJSON:function(){return o.l3},parseGeoJson:function(){return o.zI},registerAction:function(){return o.OH},registerCoordinateSystem:function(){return o.pX},registerLayout:function(){return o.Oh},registerLoading:function(){return o.Ej},registerLocale:function(){return o.E},registerMap:function(){return o.mz},registerPostInit:function(){return o.cf},registerPostUpdate:function(){return o.tb},registerPreprocessor:function(){return o.lP},registerProcessor:function(){return o.qg},registerTheme:function(){return o.bf},registerTransform:function(){return o.iY},registerUpdateLifecycle:function(){return o.xV},registerVisual:function(){return o.AF},setCanvasCreator:function(){return o.vV},setPlatformAPI:function(){return o.Gs},throttle:function(){return o.nF},time:function(){return o.kB},use:function(){return o.Yx},util:function(){return o.ZS},vector:function(){return o.i1},version:function(){return o.rE},zrUtil:function(){return o.F_},zrender:function(){return o.nd}});var r=n(3087),o=n(9914),i=n(76411),a=n(3455),s=n(5070),l=n(90540),c=n(45558),u=n(19845),d=Math.sin,f=Math.cos,h=Math.PI,p=2*Math.PI,m=180/h,g=function(){function e(){}return e.prototype.reset=function(e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,e||4)},e.prototype.moveTo=function(e,t){this._add("M",e,t)},e.prototype.lineTo=function(e,t){this._add("L",e,t)},e.prototype.bezierCurveTo=function(e,t,n,r,o,i){this._add("C",e,t,n,r,o,i)},e.prototype.quadraticCurveTo=function(e,t,n,r){this._add("Q",e,t,n,r)},e.prototype.arc=function(e,t,n,r,o,i){this.ellipse(e,t,n,n,0,r,o,i)},e.prototype.ellipse=function(e,t,n,r,o,i,s,l){var c,u=s-i,g=!l,A=Math.abs(u),v=(0,a.Cv)(A-p)||(g?u>=p:-u>=p),y=u>0?u%p:u%p+p;c=!!v||!(0,a.Cv)(A)&&y>=h==!!g;var O=e+n*f(i),b=t+r*d(i);this._start&&this._add("M",O,b);var w=Math.round(o*m);if(v){var _=1/this._p,x=(g?1:-1)*(p-_);this._add("A",n,r,w,1,+g,e+n*f(i+x),t+r*d(i+x)),_>.01&&this._add("A",n,r,w,0,+g,O,b)}else{var S=e+n*f(s),k=t+r*d(s);this._add("A",n,r,w,+c,+g,S,k)}},e.prototype.rect=function(e,t,n,r){this._add("M",e,t),this._add("l",n,0),this._add("l",0,r),this._add("l",-n,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(e,t,n,r,o,i,a,s,l){for(var c=[],u=this._p,d=1;d<arguments.length;d++){var f=arguments[d];if(isNaN(f))return void(this._invalid=!0);c.push(Math.round(f*u)/u)}this._d.push(e+c.join(" ")),this._start="Z"===e},e.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},e.prototype.getStr=function(){return this._str},e}(),A=g,v=n(76050),y=n(98026),O="none",b=Math.round,w=["lineCap","miterLimit","lineJoin"],_=(0,y.map)(w,(function(e){return"stroke-"+e.toLowerCase()}));var x=n(44265),S="http://www.w3.org/2000/svg",k="http://www.w3.org/1999/xlink",C="ecmeta_";function B(e){return document.createElementNS(S,e)}function Q(e,t,n,r,o){return{tag:e,attrs:n||{},children:r,text:o,key:t}}function T(e,t){var n=(t=t||{}).newline?"\n":"";return function e(t){var r=t.children,o=t.tag,i=t.attrs,a=t.text;return function(e,t){var n=[];if(t)for(var r in t){var o=t[r],i=r;!1!==o&&(!0!==o&&null!=o&&(i+='="'+o+'"'),n.push(i))}return"<"+e+" "+n.join(" ")+">"}(o,i)+("style"!==o?(0,x.Me)(a):a||"")+(r?""+n+(0,y.map)(r,(function(t){return e(t)})).join(n)+n:"")+"</"+o+">"}(e)}function E(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function P(e,t,n,r){return Q("svg","root",{width:e,height:t,xmlns:S,"xmlns:xlink":k,version:"1.1",baseProfile:"full",viewBox:!!r&&"0 0 "+e+" "+t},n)}var $=n(12191),M=n(92836),z=n(68717),R=n(82591),D=n(96320),I=0;function N(){return I++}var L={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},V="transform-origin";function U(e,t,n){var r=(0,y.extend)({},e.shape);(0,y.extend)(r,t),e.buildPath(n,r);var o=new A;return o.reset((0,a.MD)(e)),n.rebuildPath(o,1),o.generateStr(),o.getStr()}function F(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[V]=n+"px "+r+"px")}var H={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function W(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function X(e){return(0,y.isString)(e)?L[e]?"cubic-bezier("+L[e]+")":(0,D.w)(e)?e:"":""}function j(e,t,n,r){var o=e.animators,i=o.length,s=[];if(e instanceof R.A){var l=function(e,t,n){var r,o,i=e.shape.paths,a={};if((0,y.each)(i,(function(e){var t=E(n.zrId);t.animation=!0,j(e,{},t,!0);var i=t.cssAnims,s=t.cssNodes,l=(0,y.keys)(i),c=l.length;if(c){var u=i[o=l[c-1]];for(var d in u){var f=u[d];a[d]=a[d]||{d:""},a[d].d+=f.d||""}for(var h in s){var p=s[h].animation;p.indexOf(o)>=0&&(r=p)}}})),r){t.d=!1;var s=W(a,n);return r.replace(o,s)}}(e,t,n);if(l)s.push(l);else if(!i)return}else if(!i)return;for(var c={},u=0;u<i;u++){var d=o[u],f=[d.getMaxTime()/1e3+"s"],h=X(d.getClip().easing),p=d.getDelay();h?f.push(h):f.push("linear"),p&&f.push(p/1e3+"s"),d.getLoop()&&f.push("infinite");var m=f.join(" ");c[m]=c[m]||[m,[]],c[m][1].push(d)}function g(o){var i,s=o[1],l=s.length,c={},u={},d={},f="animation-timing-function";function h(e,t,n){for(var r=e.getTracks(),o=e.getMaxTime(),i=0;i<r.length;i++){var a=r[i];if(a.needsAnimate()){var s=a.keyframes,l=a.propName;if(n&&(l=n(l)),l)for(var c=0;c<s.length;c++){var u=s[c],d=Math.round(u.time/o*100)+"%",h=X(u.easing),p=u.rawValue;((0,y.isString)(p)||(0,y.isNumber)(p))&&(t[d]=t[d]||{},t[d][l]=u.rawValue,h&&(t[d][f]=h))}}}}for(var p=0;p<l;p++)(S=(x=s[p]).targetName)?"shape"===S&&h(x,u):!r&&h(x,c);for(var m in c){var g={};(0,M.IT)(g,e),(0,y.extend)(g,c[m]);var A=(0,a.Z1)(g),v=c[m][f];d[m]=A?{transform:A}:{},F(d[m],g),v&&(d[m][f]=v)}var O=!0;for(var m in u){d[m]=d[m]||{};var b=!i;v=u[m][f],b&&(i=new z.A);var w=i.len();i.reset(),d[m].d=U(e,u[m],i);var _=i.len();if(!b&&w!==_){O=!1;break}v&&(d[m][f]=v)}if(!O)for(var m in d)delete d[m].d;if(!r)for(p=0;p<l;p++){var x,S;"style"===(S=(x=s[p]).targetName)&&h(x,d,(function(e){return H[e]}))}var k,C=(0,y.keys)(d),B=!0;for(p=1;p<C.length;p++){var Q=C[p-1],T=C[p];if(d[Q][V]!==d[T][V]){B=!1;break}k=d[Q][V]}if(B&&k){for(var m in d)d[m][V]&&delete d[m][V];t[V]=k}if((0,y.filter)(C,(function(e){return(0,y.keys)(d[e]).length>0})).length)return W(d,n)+" "+o[0]+" both"}for(var A in c)(l=g(c[A]))&&s.push(l);if(s.length){var v=n.zrId+"-cls-"+N();n.cssNodes["."+v]={animation:s.join(",")},t.class=v}}var q=n(32322),Z=n(59741),Y=n(47698);function G(e,t,n,r){var o=JSON.stringify(e),i=n.cssStyleCache[o];i||(i=n.zrId+"-cls-"+N(),n.cssStyleCache[o]=i,n.cssNodes["."+i+(r?":hover":"")]=e),t.class=t.class?t.class+" "+i:i}var K=n(23442),J=Math.round;function ee(e){return e&&(0,y.isString)(e.src)}function te(e){return e&&(0,y.isFunction)(e.toDataURL)}function ne(e,t,n,r){(function(e,t,n,r){var o=null==t.opacity?1:t.opacity;if(n instanceof l.Ay)e("opacity",o);else{if(function(e){var t=e.fill;return null!=t&&t!==O}(t)){var i=(0,a.$2)(t.fill);e("fill",i.color);var c=null!=t.fillOpacity?t.fillOpacity*i.opacity*o:i.opacity*o;(r||c<1)&&e("fill-opacity",c)}else e("fill",O);if(function(e){var t=e.stroke;return null!=t&&t!==O}(t)){var u=(0,a.$2)(t.stroke);e("stroke",u.color);var d=t.strokeNoScale?n.getLineScale():1,f=d?(t.lineWidth||0)/d:0,h=null!=t.strokeOpacity?t.strokeOpacity*u.opacity*o:u.opacity*o,p=t.strokeFirst;if((r||1!==f)&&e("stroke-width",f),(r||p)&&e("paint-order",p?"stroke":"fill"),(r||h<1)&&e("stroke-opacity",h),t.lineDash){var m=(0,v.V)(n),g=m[0],A=m[1];g&&(A=b(A||0),e("stroke-dasharray",g.join(",")),(A||r)&&e("stroke-dashoffset",A))}else r&&e("stroke-dasharray",O);for(var y=0;y<w.length;y++){var x=w[y];if(r||t[x]!==s.MW[x]){var S=t[x]||s.MW[x];S&&e(_[y],S)}}}else r&&e("stroke",O)}})((function(o,i){var s="fill"===o||"stroke"===o;s&&(0,a.bn)(i)?he(t,e,o,r):s&&(0,a.Pt)(i)?pe(n,e,o,r):e[o]=i,s&&r.ssr&&"none"===i&&(e["pointer-events"]="visible")}),t,n,!1),function(e,t,n){var r=e.style;if((0,a.dX)(r)){var o=(0,a.si)(e),i=n.shadowCache,s=i[o];if(!s){var l=e.getGlobalScale(),c=l[0],u=l[1];if(!c||!u)return;var d=r.shadowOffsetX||0,f=r.shadowOffsetY||0,h=r.shadowBlur,p=(0,a.$2)(r.shadowColor),m=p.opacity,g=p.color,A=h/2/c+" "+h/2/u;s=n.zrId+"-s"+n.shadowIdx++,n.defs[s]=Q("filter",s,{id:s,x:"-100%",y:"-100%",width:"300%",height:"300%"},[Q("feDropShadow","",{dx:d/c,dy:f/u,stdDeviation:A,"flood-color":g,"flood-opacity":m})]),i[o]=s}t.filter=(0,a.Xu)(s)}}(n,e,r)}function re(e,t){var n=(0,K.getElementSSRData)(t);n&&(n.each((function(t,n){null!=t&&(e[(C+n).toLowerCase()]=t+"")})),t.isSilent()&&(e[C+"silent"]="true"))}function oe(e){return(0,a.Cv)(e[0]-1)&&(0,a.Cv)(e[1])&&(0,a.Cv)(e[2])&&(0,a.Cv)(e[3]-1)}function ie(e,t,n){if(t&&(!function(e){return(0,a.Cv)(e[4])&&(0,a.Cv)(e[5])}(t)||!oe(t))){var r=n?10:1e4;e.transform=oe(t)?"translate("+J(t[4]*r)/r+" "+J(t[5]*r)/r+")":(0,a.nV)(t)}}function ae(e,t,n){for(var r=e.points,o=[],i=0;i<r.length;i++)o.push(J(r[i][0]*n)/n),o.push(J(r[i][1]*n)/n);t.points=o.join(" ")}function se(e){return!e.smooth}var le,ce,ue={circle:[(le=["cx","cy","r"],ce=(0,y.map)(le,(function(e){return"string"==typeof e?[e,e]:e})),function(e,t,n){for(var r=0;r<ce.length;r++){var o=ce[r],i=e[o[0]];null!=i&&(t[o[1]]=J(i*n)/n)}})],polyline:[ae,se],polygon:[ae,se]};function de(e,t){var n=e.style,r=e.shape,o=ue[e.type],i={},s=t.animation,l="path",c=e.style.strokePercent,u=t.compress&&(0,a.MD)(e)||4;if(!o||t.willUpdate||o[1]&&!o[1](r)||s&&function(e){for(var t=e.animators,n=0;n<t.length;n++)if("shape"===t[n].targetName)return!0;return!1}(e)||c<1){var d=!e.path||e.shapeChanged();e.path||e.createPathProxy();var f=e.path;d&&(f.beginPath(),e.buildPath(f,e.shape),e.pathUpdated());var h=f.getVersion(),p=e,m=p.__svgPathBuilder;p.__svgPathVersion===h&&m&&c===p.__svgPathStrokePercent||(m||(m=p.__svgPathBuilder=new A),m.reset(u),f.rebuildPath(m,c),m.generateStr(),p.__svgPathVersion=h,p.__svgPathStrokePercent=c),i.d=m.getStr()}else{l=e.type;var g=Math.pow(10,u);o[0](r,i,g)}return ie(i,e.transform),ne(i,n,e,t),re(i,e),t.animation&&j(e,i,t),t.emphasis&&function(e,t,n){if(!e.ignore)if(e.isSilent())G(c={"pointer-events":"none"},t,n,!0);else{var r=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},o=r.fill;if(!o){var i=e.style&&e.style.fill,a=e.states.select&&e.states.select.style&&e.states.select.style.fill,s=e.currentStates.indexOf("select")>=0&&a||i;s&&(o=(0,Y.liftColor)(s))}var l=r.lineWidth;l&&(l/=!r.strokeNoScale&&e.transform?e.transform[0]:1);var c={cursor:"pointer"};o&&(c.fill=o),r.stroke&&(c.stroke=r.stroke),l&&(c["stroke-width"]=l),G(c,t,n,!0)}}(e,i,t),Q(l,e.id+"",i)}function fe(e,t){return e instanceof s.Ay?de(e,t):e instanceof l.Ay?function(e,t){var n=e.style,r=n.image;if(r&&!(0,y.isString)(r)&&(ee(r)?r=r.src:te(r)&&(r=r.toDataURL())),r){var o=n.x||0,i=n.y||0,a={href:r,width:n.width,height:n.height};return o&&(a.x=o),i&&(a.y=i),ie(a,e.transform),ne(a,n,e,t),re(a,e),t.animation&&j(e,a,t),Q("image",e.id+"",a)}}(e,t):e instanceof u.A?function(e,t){var n=e.style,r=n.text;if(null!=r&&(r+=""),r&&!isNaN(n.x)&&!isNaN(n.y)){var o=n.font||Z.OH,i=n.x||0,s=(0,a.sZ)(n.y||0,(0,c.ks)(o),n.textBaseline),l={"dominant-baseline":"central","text-anchor":a.eQ[n.textAlign]||n.textAlign};if((0,q.XE)(n)){var u="",d=n.fontStyle,f=(0,q.I5)(n.fontSize);if(!parseFloat(f))return;var h=n.fontFamily||Z.zs,p=n.fontWeight;u+="font-size:"+f+";font-family:"+h+";",d&&"normal"!==d&&(u+="font-style:"+d+";"),p&&"normal"!==p&&(u+="font-weight:"+p+";"),l.style=u}else l.style="font: "+o;return r.match(/\s/)&&(l["xml:space"]="preserve"),i&&(l.x=i),s&&(l.y=s),ie(l,e.transform),ne(l,n,e,t),re(l,e),t.animation&&j(e,l,t),Q("text",e.id+"",l,void 0,r)}}(e,t):void 0}function he(e,t,n,r){var o,i=e[n],s={gradientUnits:i.global?"userSpaceOnUse":"objectBoundingBox"};if((0,a.OS)(i))o="linearGradient",s.x1=i.x,s.y1=i.y,s.x2=i.x2,s.y2=i.y2;else{if(!(0,a.OH)(i))return;o="radialGradient",s.cx=(0,y.retrieve2)(i.x,.5),s.cy=(0,y.retrieve2)(i.y,.5),s.r=(0,y.retrieve2)(i.r,.5)}for(var l=i.colorStops,c=[],u=0,d=l.length;u<d;++u){var f=100*(0,a.XP)(l[u].offset)+"%",h=l[u].color,p=(0,a.$2)(h),m=p.color,g=p.opacity,A={offset:f};A["stop-color"]=m,g<1&&(A["stop-opacity"]=g),c.push(Q("stop",u+"",A))}var v=T(Q(o,"",s,c)),O=r.gradientCache,b=O[v];b||(b=r.zrId+"-g"+r.gradientIdx++,O[v]=b,s.id=b,r.defs[b]=Q(o,b,s,c)),t[n]=(0,a.Xu)(b)}function pe(e,t,n,r){var o,i=e.style[n],s=e.getBoundingRect(),l={},c=i.repeat,u="no-repeat"===c,d="repeat-x"===c,f="repeat-y"===c;if((0,a.sL)(i)){var h=i.imageWidth,p=i.imageHeight,m=void 0,g=i.image;if((0,y.isString)(g)?m=g:ee(g)?m=g.src:te(g)&&(m=g.toDataURL()),"undefined"==typeof Image){var A="Image width/height must been given explictly in svg-ssr renderer.";(0,y.assert)(h,A),(0,y.assert)(p,A)}else if(null==h||null==p){var v=function(e,t){if(e){var n=e.elm,r=h||t.width,o=p||t.height;"pattern"===e.tag&&(d?(o=1,r/=s.width):f&&(r=1,o/=s.height)),e.attrs.width=r,e.attrs.height=o,n&&(n.setAttribute("width",r),n.setAttribute("height",o))}},O=(0,$.OD)(m,null,e,(function(e){u||v(x,e),v(o,e)}));O&&O.width&&O.height&&(h=h||O.width,p=p||O.height)}o=Q("image","img",{href:m,width:h,height:p}),l.width=h,l.height=p}else i.svgElement&&(o=(0,y.clone)(i.svgElement),l.width=i.svgWidth,l.height=i.svgHeight);if(o){var b,w;u?b=w=1:d?(w=1,b=l.width/s.width):f?(b=1,w=l.height/s.height):l.patternUnits="userSpaceOnUse",null==b||isNaN(b)||(l.width=b),null==w||isNaN(w)||(l.height=w);var _=(0,a.Z1)(i);_&&(l.patternTransform=_);var x=Q("pattern","",l,[o]),S=T(x),k=r.patternCache,C=k[S];C||(C=r.zrId+"-p"+r.patternIdx++,k[S]=C,l.id=C,x=r.defs[C]=Q("pattern",C,l,[o])),t[n]=(0,a.Xu)(C)}}function me(e,t,n){var r=n.clipPathCache,o=n.defs,i=r[e.id];if(!i){var s={id:i=n.zrId+"-c"+n.clipPathIdx++};r[e.id]=i,o[i]=Q("clipPath",i,s,[de(e,n)])}t["clip-path"]=(0,a.Xu)(i)}function ge(e){return document.createTextNode(e)}function Ae(e,t,n){e.insertBefore(t,n)}function ve(e,t){e.removeChild(t)}function ye(e,t){e.appendChild(t)}function Oe(e){return e.parentNode}function be(e){return e.nextSibling}function we(e,t){e.textContent=t}var _e=Q("","");function xe(e){return void 0===e}function Se(e){return void 0!==e}function ke(e,t,n){for(var r={},o=t;o<=n;++o){var i=e[o].key;void 0!==i&&(r[i]=o)}return r}function Ce(e,t){var n=e.key===t.key;return e.tag===t.tag&&n}function Be(e){var t,n=e.children,r=e.tag;if(Se(r)){var o=e.elm=B(r);if(Ee(_e,e),(0,y.isArray)(n))for(t=0;t<n.length;++t){var i=n[t];null!=i&&ye(o,Be(i))}else Se(e.text)&&!(0,y.isObject)(e.text)&&ye(o,ge(e.text))}else e.elm=ge(e.text);return e.elm}function Qe(e,t,n,r,o){for(;r<=o;++r){var i=n[r];null!=i&&Ae(e,Be(i),t)}}function Te(e,t,n,r){for(;n<=r;++n){var o=t[n];null!=o&&(Se(o.tag)?ve(Oe(o.elm),o.elm):ve(e,o.elm))}}function Ee(e,t){var n,r=t.elm,o=e&&e.attrs||{},i=t.attrs||{};if(o!==i){for(n in i){var a=i[n];o[n]!==a&&(!0===a?r.setAttribute(n,""):!1===a?r.removeAttribute(n):"style"===n?r.style.cssText=a:120!==n.charCodeAt(0)?r.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?r.setAttributeNS("http://www.w3.org/2000/xmlns/",n,a):58===n.charCodeAt(3)?r.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,a):58===n.charCodeAt(5)?r.setAttributeNS(k,n,a):r.setAttribute(n,a))}for(n in o)n in i||r.removeAttribute(n)}}function Pe(e,t){var n=t.elm=e.elm,r=e.children,o=t.children;e!==t&&(Ee(e,t),xe(t.text)?Se(r)&&Se(o)?r!==o&&function(e,t,n){for(var r,o,i,a=0,s=0,l=t.length-1,c=t[0],u=t[l],d=n.length-1,f=n[0],h=n[d];a<=l&&s<=d;)null==c?c=t[++a]:null==u?u=t[--l]:null==f?f=n[++s]:null==h?h=n[--d]:Ce(c,f)?(Pe(c,f),c=t[++a],f=n[++s]):Ce(u,h)?(Pe(u,h),u=t[--l],h=n[--d]):Ce(c,h)?(Pe(c,h),Ae(e,c.elm,be(u.elm)),c=t[++a],h=n[--d]):Ce(u,f)?(Pe(u,f),Ae(e,u.elm,c.elm),u=t[--l],f=n[++s]):(xe(r)&&(r=ke(t,a,l)),xe(o=r[f.key])||(i=t[o]).tag!==f.tag?Ae(e,Be(f),c.elm):(Pe(i,f),t[o]=void 0,Ae(e,i.elm,c.elm)),f=n[++s]);(a<=l||s<=d)&&(a>l?Qe(e,null==n[d+1]?null:n[d+1].elm,n,s,d):Te(e,t,a,l))}(n,r,o):Se(o)?(Se(e.text)&&we(n,""),Qe(n,null,o,0,o.length-1)):Se(r)?Te(n,r,0,r.length-1):Se(e.text)&&we(n,""):e.text!==t.text&&(Se(r)&&Te(n,r,0,r.length-1),we(n,t.text)))}var $e=n(53479),Me=0,ze=function(){function e(e,t,n){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=t,this._opts=n=(0,y.extend)({},n),this.root=e,this._id="zr"+Me++,this._oldVNode=P(n.width,n.height),e&&!n.ssr){var r=this._viewport=document.createElement("div");r.style.cssText="position:relative;overflow:hidden";var o=this._svgDom=this._oldVNode.elm=B("svg");Ee(null,this._oldVNode),r.appendChild(o),e.appendChild(r)}this.resize(n.width,n.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",function(e,t){if(Ce(e,t))Pe(e,t);else{var n=e.elm,r=Oe(n);Be(t),null!==r&&(Ae(r,t.elm,be(n)),Te(r,[e],0,0))}}(this._oldVNode,e),this._oldVNode=e}},e.prototype.renderOneToVNode=function(e){return fe(e,E(this._id))},e.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),n=this._width,r=this._height,o=E(this._id);o.animation=e.animation,o.willUpdate=e.willUpdate,o.compress=e.compress,o.emphasis=e.emphasis,o.ssr=this._opts.ssr;var i=[],s=this._bgVNode=function(e,t,n,r){var o;if(n&&"none"!==n)if(o=Q("rect","bg",{width:e,height:t,x:"0",y:"0"}),(0,a.bn)(n))he({fill:n},o.attrs,"fill",r);else if((0,a.Pt)(n))pe({style:{fill:n},dirty:y.noop,getBoundingRect:function(){return{width:e,height:t}}},o.attrs,"fill",r);else{var i=(0,a.$2)(n),s=i.color,l=i.opacity;o.attrs.fill=s,l<1&&(o.attrs["fill-opacity"]=l)}return o}(n,r,this._backgroundColor,o);s&&i.push(s);var l=e.compress?null:this._mainVNode=Q("g","main",{},[]);this._paintList(t,o,l?l.children:i),l&&i.push(l);var c=(0,y.map)((0,y.keys)(o.defs),(function(e){return o.defs[e]}));if(c.length&&i.push(Q("defs","defs",{},c)),e.animation){var u=function(e,t,n){var r=(n=n||{}).newline?"\n":"",o=" {"+r,i=r+"}",a=(0,y.map)((0,y.keys)(e),(function(t){return t+o+(0,y.map)((0,y.keys)(e[t]),(function(n){return n+":"+e[t][n]+";"})).join(r)+i})).join(r),s=(0,y.map)((0,y.keys)(t),(function(e){return"@keyframes "+e+o+(0,y.map)((0,y.keys)(t[e]),(function(n){return n+o+(0,y.map)((0,y.keys)(t[e][n]),(function(r){var o=t[e][n][r];return"d"===r&&(o='path("'+o+'")'),r+":"+o+";"})).join(r)+i})).join(r)+i})).join(r);return a||s?["<![CDATA[",a,s,"]]>"].join(r):""}(o.cssNodes,o.cssAnims,{newline:!0});if(u){var d=Q("style","stl",{},[],u);i.push(d)}}return P(n,r,i,e.useViewBox)},e.prototype.renderToString=function(e){return e=e||{},T(this.renderToVNode({animation:(0,y.retrieve2)(e.cssAnimation,!0),emphasis:(0,y.retrieve2)(e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:(0,y.retrieve2)(e.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(e,t,n){for(var r,o,i=e.length,a=[],s=0,l=0,c=0;c<i;c++){var u=e[c];if(!u.invisible){var d=u.__clipPaths,f=d&&d.length||0,h=o&&o.length||0,p=void 0;for(p=Math.max(f-1,h-1);p>=0&&(!d||!o||d[p]!==o[p]);p--);for(var m=h-1;m>p;m--)r=a[--s-1];for(var g=p+1;g<f;g++){var A={};me(d[g],A,t);var v=Q("g","clip-g-"+l++,A,[]);(r?r.children:n).push(v),a[s++]=v,r=v}o=d;var y=fe(u,t);y&&(r?r.children:n).push(y)}}},e.prototype.resize=function(e,t){var n=this._opts,r=this.root,o=this._viewport;if(null!=e&&(n.width=e),null!=t&&(n.height=t),r&&o&&(o.style.display="none",e=(0,$e.YC)(r,0,n),t=(0,$e.YC)(r,1,n),o.style.display=""),this._width!==e||this._height!==t){if(this._width=e,this._height=t,o){var i=o.style;i.width=e+"px",i.height=t+"px"}if((0,a.Pt)(this._backgroundColor))this.refresh();else{var s=this._svgDom;s&&(s.setAttribute("width",e),s.setAttribute("height",t));var l=this._bgVNode&&this._bgVNode.elm;l&&(l.setAttribute("width",e),l.setAttribute("height",t))}}},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},e.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},e.prototype.toDataURL=function(e){var t=this.renderToString(),n="data:image/svg+xml;";return e?(t=(0,a.WG)(t))&&n+"base64,"+t:n+"charset=UTF-8,"+encodeURIComponent(t)},e}(),Re=ze,De=n(63487),Ie=n(6756),Ne=n(16884),Le=n(24326),Ve=n(34253),Ue=n(48170),Fe=2*Math.PI,He=Math.PI/180;function We(e,t){return Ve.dV(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Xe(e,t){var n=We(e,t),r=e.get("center"),o=e.get("radius");y.isArray(o)||(o=[0,o]);var i,a,s=(0,Le.lo)(n.width,t.getWidth()),l=(0,Le.lo)(n.height,t.getHeight()),c=Math.min(s,l),u=(0,Le.lo)(o[0],c/2),d=(0,Le.lo)(o[1],c/2),f=e.coordinateSystem;if(f){var h=f.dataToPoint(r);i=h[0]||0,a=h[1]||0}else y.isArray(r)||(r=[r,r]),i=(0,Le.lo)(r[0],s)+n.x,a=(0,Le.lo)(r[1],l)+n.y;return{cx:i,cy:a,r0:u,r:d}}function je(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.getData(),r=t.mapDimension("value"),o=We(e,n),i=Xe(e,n),a=i.cx,s=i.cy,l=i.r,c=i.r0,u=-e.get("startAngle")*He,d=e.get("endAngle"),f=e.get("padAngle")*He;d="auto"===d?u-Fe:-d*He;var h=e.get("minAngle")*He+f,p=0;t.each(r,(function(e){!isNaN(e)&&p++}));var m=t.getSum(r),g=Math.PI/(m||p)*2,A=e.get("clockwise"),v=e.get("roseType"),y=e.get("stillShowZeroSum"),O=t.getDataExtent(r);O[0]=0;var b=A?1:-1,w=[u,d],_=b*f/2;(0,z.q)(w,!A),u=w[0],d=w[1];var x=qe(e);x.startAngle=u,x.endAngle=d,x.clockwise=A;var S=Math.abs(d-u),k=S,C=0,B=u;if(t.setLayout({viewRect:o,r:l}),t.each(r,(function(e,n){var r;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:A,cx:a,cy:s,r0:c,r:v?NaN:l});else{(r="area"!==v?0===m&&y?g:e*g:S/p)<h?(r=h,k-=h):C+=e;var o=B+b*r,i=0,u=0;f>r?u=i=B+b*r/2:(i=B+_,u=o-_),t.setItemLayout(n,{angle:r,startAngle:i,endAngle:u,clockwise:A,cx:a,cy:s,r0:c,r:v?(0,Le.Cb)(e,O,[c,l]):l}),B=o}})),k<Fe&&p)if(k<=.001){var Q=S/p;t.each(r,(function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n);r.angle=Q;var o=0,i=0;Q<f?i=o=u+b*(n+.5)*Q:(o=u+b*n*Q+_,i=u+b*(n+1)*Q-_),r.startAngle=o,r.endAngle=i}}))}else g=k/C,B=u,t.each(r,(function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n),o=r.angle===h?h:e*g,i=0,a=0;o<f?a=i=B+b*o/2:(i=B+_,a=B+b*o-_),r.startAngle=i,r.endAngle=a,B+=b*o}}))}))}var qe=(0,Ue.$r)();function Ze(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var r=e.getData();r.filterSelf((function(e){for(var t=r.getName(e),o=0;o<n.length;o++)if(!n[o].isSelected(t))return!1;return!0}))}}}}var Ye=n(15215),Ge=n(5638),Ke=n(39195),Je=n(59975),et=n(34833),tt=n(6666),nt=n(26346),rt=n(92621),ot=n(77175),it=Math.PI/180;function at(e,t,n,r,o,i,a,s,l,c){if(!(e.length<2)){for(var u=e.length,d=0;d<u;d++)if("outer"===e[d].position&&"labelLine"===e[d].labelAlignTo){var f=e[d].label.x-c;e[d].linePoints[1][0]+=f,e[d].label.x=c}(0,ot.Xe)(e,l,l+a)&&function(e){for(var i={list:[],maxY:0},a={list:[],maxY:0},s=0;s<e.length;s++)if("none"===e[s].labelAlignTo){var l=e[s],c=l.label.y>n?a:i,u=Math.abs(l.label.y-n);if(u>=c.maxY){var d=l.label.x-t-l.len2*o,f=r+l.len,p=Math.abs(d)<f?Math.sqrt(u*u/(1-d*d/f/f)):f;c.rB=p,c.maxY=u}c.list.push(l)}h(i),h(a)}(e)}function h(e){for(var i=e.rB,a=i*i,s=0;s<e.list.length;s++){var l=e.list[s],c=Math.abs(l.label.y-n),u=r+l.len,d=u*u,f=Math.sqrt(Math.abs((1-c*c/a)*d)),h=t+(f+l.len2)*o,p=h-l.label.x;st(l,l.targetTextWidth-p*o,!0),l.label.x=h}}}function st(e,t,n){if(void 0===n&&(n=!1),null==e.labelStyleWidth){var r=e.label,o=r.style,i=e.rect,a=o.backgroundColor,s=o.padding,l=s?s[1]+s[3]:0,c=o.overflow,u=i.width+(a?0:l);if(t<u||n){var d=i.height;if(c&&c.match("break")){r.setStyle("backgroundColor",null),r.setStyle("width",t-l);var f=r.getBoundingRect();r.setStyle("width",Math.ceil(f.width)),r.setStyle("backgroundColor",a)}else{var h=t-l,p=t<u?h:n?h>e.unconstrainedWidth?null:h:null;r.setStyle("width",p)}var m=r.getBoundingRect();i.width=m.width;var g=(r.style.margin||0)+2.1;i.height=m.height+g,i.y-=(i.height-d)/2}}}function lt(e){return"center"===e.position}var ct=n(89632),ut=n(79446),dt=function(e){function t(t,n,r){var o=e.call(this)||this;o.z2=2;var i=new q.Ay;return o.setTextContent(i),o.updateData(t,n,r,!0),o}return(0,Ye.C6)(t,e),t.prototype.updateData=function(e,t,n,r){var o=this,i=e.hostModel,a=e.getItemModel(t),s=a.getModel("emphasis"),l=e.getItemLayout(t),c=(0,y.extend)((0,ut.i)(a.getModel("itemStyle"),l,!0),l);if(isNaN(c.startAngle))o.setShape(c);else{if(r){o.setShape(c);var u=i.getShallow("animationType");i.ecModel.ssr?(Ge.LW(o,{scaleX:0,scaleY:0},i,{dataIndex:t,isFrom:!0}),o.originX=c.cx,o.originY=c.cy):"scale"===u?(o.shape.r=l.r0,Ge.LW(o,{shape:{r:l.r}},i,t)):null!=n?(o.setShape({startAngle:n,endAngle:n}),Ge.LW(o,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},i,t)):(o.shape.endAngle=l.startAngle,Ge.oi(o,{shape:{endAngle:l.endAngle}},i,t))}else(0,Ge.ap)(o),Ge.oi(o,{shape:c},i,t);o.useStyle(e.getItemVisual(t,"style")),(0,et.Mx)(o,a);var d=(l.startAngle+l.endAngle)/2,f=i.get("selectedOffset"),h=Math.cos(d)*f,p=Math.sin(d)*f,m=a.getShallow("cursor");m&&o.attr("cursor",m),this._updateLabel(i,e,t),o.ensureState("emphasis").shape=(0,y.extend)({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},(0,ut.i)(s.getModel("itemStyle"),l)),(0,y.extend)(o.ensureState("select"),{x:h,y:p,shape:(0,ut.i)(a.getModel(["select","itemStyle"]),l)}),(0,y.extend)(o.ensureState("blur"),{shape:(0,ut.i)(a.getModel(["blur","itemStyle"]),l)});var g=o.getTextGuideLine(),A=o.getTextContent();g&&(0,y.extend)(g.ensureState("select"),{x:h,y:p}),(0,y.extend)(A.ensureState("select"),{x:h,y:p}),(0,et.Lm)(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},t.prototype._updateLabel=function(e,t,n){var r=this,o=t.getItemModel(n),i=o.getModel("labelLine"),a=t.getItemVisual(n,"style"),s=a&&a.fill,l=a&&a.opacity;(0,ct.qM)(r,(0,ct.lx)(o),{labelFetcher:t.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:l,defaultText:e.getFormattedLabel(n,"normal")||t.getName(n)});var c=r.getTextContent();r.setTextConfig({position:null,rotation:null}),c.attr({z2:10});var u=e.get(["label","position"]);if("outside"!==u&&"outer"!==u)r.removeTextGuideLine();else{var d=this.getTextGuideLine();d||(d=new Ke.A,this.setTextGuideLine(d)),(0,rt.eR)(this,(0,rt.rv)(o),{stroke:s,opacity:(0,y.retrieve3)(i.get(["lineStyle","opacity"]),l,1)})}},t}(Je.A),ft=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n,r){var o,i=e.getData(),a=this._data,s=this.group;if(!a&&i.count()>0){for(var l=i.getItemLayout(0),c=1;isNaN(l&&l.startAngle)&&c<i.count();++c)l=i.getItemLayout(c);l&&(o=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===i.count()&&e.get("showEmptyCircle")){var u=qe(e),d=new Je.A({shape:(0,y.extend)(Xe(e,n),u)});d.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=d,s.add(d)}i.diff(a).add((function(e){var t=new dt(i,e,o);i.setItemGraphicEl(e,t),s.add(t)})).update((function(e,t){var n=a.getItemGraphicEl(t);n.updateData(i,e,o),n.off("click"),s.add(n),i.setItemGraphicEl(e,n)})).remove((function(t){var n=a.getItemGraphicEl(t);Ge.t5(n,e,t)})).execute(),function(e){var t,n,r=e.getData(),o=[],i=!1,a=(e.get("minShowLabelAngle")||0)*it,s=r.getLayout("viewRect"),l=r.getLayout("r"),c=s.width,u=s.x,d=s.y,f=s.height;function h(e){e.ignore=!0}r.each((function(e){var s=r.getItemGraphicEl(e),d=s.shape,f=s.getTextContent(),p=s.getTextGuideLine(),m=r.getItemModel(e),g=m.getModel("label"),A=g.get("position")||m.get(["emphasis","label","position"]),v=g.get("distanceToLabelLine"),O=g.get("alignTo"),b=(0,Le.lo)(g.get("edgeDistance"),c),w=g.get("bleedMargin"),_=m.getModel("labelLine"),x=_.get("length");x=(0,Le.lo)(x,c);var S=_.get("length2");if(S=(0,Le.lo)(S,c),Math.abs(d.endAngle-d.startAngle)<a)return(0,y.each)(f.states,h),f.ignore=!0,void(p&&((0,y.each)(p.states,h),p.ignore=!0));if(function(e){if(!e.ignore)return!0;for(var t in e.states)if(!1===e.states[t].ignore)return!0;return!1}(f)){var k,C,B,Q,T=(d.startAngle+d.endAngle)/2,E=Math.cos(T),P=Math.sin(T);t=d.cx,n=d.cy;var $="inside"===A||"inner"===A;if("center"===A)k=d.cx,C=d.cy,Q="center";else{var M=($?(d.r+d.r0)/2*E:d.r*E)+t,z=($?(d.r+d.r0)/2*P:d.r*P)+n;if(k=M+3*E,C=z+3*P,!$){var R=M+E*(x+l-d.r),D=z+P*(x+l-d.r),I=R+(E<0?-1:1)*S;k="edge"===O?E<0?u+b:u+c-b:I+(E<0?-v:v),C=D,B=[[M,z],[R,D],[I,D]]}Q=$?"center":"edge"===O?E>0?"right":"left":E>0?"left":"right"}var N=Math.PI,L=0,V=g.get("rotate");if((0,y.isNumber)(V))L=V*(N/180);else if("center"===A)L=0;else if("radial"===V||!0===V)L=E<0?-T+N:-T;else if("tangential"===V&&"outside"!==A&&"outer"!==A){var U=Math.atan2(E,P);U<0&&(U=2*N+U),P>0&&(U=N+U),L=U-N}if(i=!!L,f.x=k,f.y=C,f.rotation=L,f.setStyle({verticalAlign:"middle"}),$){f.setStyle({align:Q});var F=f.states.select;F&&(F.x+=f.x,F.y+=f.y)}else{var H=f.getBoundingRect().clone();H.applyTransform(f.getComputedTransform());var W=(f.style.margin||0)+2.1;H.y-=W/2,H.height+=W,o.push({label:f,labelLine:p,position:A,len:x,len2:S,minTurnAngle:_.get("minTurnAngle"),maxSurfaceAngle:_.get("maxSurfaceAngle"),surfaceNormal:new nt.A(E,P),linePoints:B,textAlign:Q,labelDistance:v,labelAlignTo:O,edgeDistance:b,bleedMargin:w,rect:H,unconstrainedWidth:H.width,labelStyleWidth:f.style.width})}s.setTextConfig({inside:$})}})),!i&&e.get("avoidLabelOverlap")&&function(e,t,n,r,o,i,a,s){for(var l=[],c=[],u=Number.MAX_VALUE,d=-Number.MAX_VALUE,f=0;f<e.length;f++){var h=e[f].label;lt(e[f])||(h.x<t?(u=Math.min(u,h.x),l.push(e[f])):(d=Math.max(d,h.x),c.push(e[f])))}for(f=0;f<e.length;f++)if(!lt(g=e[f])&&g.linePoints){if(null!=g.labelStyleWidth)continue;h=g.label;var p,m=g.linePoints;p="edge"===g.labelAlignTo?h.x<t?m[2][0]-g.labelDistance-a-g.edgeDistance:a+o-g.edgeDistance-m[2][0]-g.labelDistance:"labelLine"===g.labelAlignTo?h.x<t?u-a-g.bleedMargin:a+o-d-g.bleedMargin:h.x<t?h.x-a-g.bleedMargin:a+o-h.x-g.bleedMargin,g.targetTextWidth=p,st(g,p)}for(at(c,t,n,r,1,0,i,0,s,d),at(l,t,n,r,-1,0,i,0,s,u),f=0;f<e.length;f++){var g;if(!lt(g=e[f])&&g.linePoints){h=g.label,m=g.linePoints;var A="edge"===g.labelAlignTo,v=h.style.padding,y=v?v[1]+v[3]:0,O=h.style.backgroundColor?0:y,b=g.rect.width+O,w=m[1][0]-m[2][0];A?h.x<t?m[2][0]=a+g.edgeDistance+b+g.labelDistance:m[2][0]=a+o-g.edgeDistance-b-g.labelDistance:(h.x<t?m[2][0]=h.x+g.labelDistance:m[2][0]=h.x-g.labelDistance,m[1][0]=m[2][0]+w),m[1][1]=m[2][1]=h.y}}}(o,t,n,l,c,f,u,d);for(var p=0;p<o.length;p++){var m=o[p],g=m.label,A=m.labelLine,v=isNaN(g.x)||isNaN(g.y);if(g){g.setStyle({align:m.textAlign}),v&&((0,y.each)(g.states,h),g.ignore=!0);var O=g.states.select;O&&(O.x+=g.x,O.y+=g.y)}if(A){var b=m.linePoints;v||!b?((0,y.each)(A.states,h),A.ignore=!0):((0,rt.YI)(b,m.minTurnAngle),(0,rt.QK)(b,m.surfaceNormal,m.maxSurfaceAngle),A.setShape({points:b}),g.__hostTarget.textGuideLineConfig={anchor:new nt.A(b[0][0],b[0][1])})}}}(e),"expansion"!==e.get("animationTypeUpdate")&&(this._data=i)},t.prototype.dispose=function(){},t.prototype.containPoint=function(e,t){var n=t.getData().getItemLayout(0);if(n){var r=e[0]-n.cx,o=e[1]-n.cy,i=Math.sqrt(r*r+o*o);return i<=n.r&&i>=n.r0}},t.type="pie",t}(tt.A),ht=ft,pt=n(97351),mt=n(6006);function gt(e,t,n){t=(0,y.isArray)(t)&&{coordDimensions:t}||(0,y.extend)({encodeDefine:e.getEncode()},t);var r=e.getSource(),o=(0,pt.A)(r,t).dimensions,i=new mt.A(o,e);return i.initData(r,n),i}var At=n(23071),vt=function(){function e(e,t){this._getDataWithEncodedVisual=e,this._getRawData=t}return e.prototype.getAllNames=function(){var e=this._getRawData();return e.mapArray(e.getName)},e.prototype.containName=function(e){return this._getRawData().indexOfName(e)>=0},e.prototype.indexOfName=function(e){return this._getDataWithEncodedVisual().indexOfName(e)},e.prototype.getItemVisual=function(e,t){return this._getDataWithEncodedVisual().getItemVisual(e,t)},e}(),yt=n(47355),Ot=Ue.$r(),bt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,Ye.C6)(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new vt(y.bind(this.getData,this),y.bind(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return gt(this,{coordDimensions:["value"],encodeDefaulter:y.curry(At.ln,this)})},t.prototype.getDataParams=function(t){var n=this.getData(),r=Ot(n),o=r.seats;if(!o){var i=[];n.each(n.mapDimension("value"),(function(e){i.push(e)})),o=r.seats=(0,Le.kM)(i,n.hostModel.get("percentPrecision"))}var a=e.prototype.getDataParams.call(this,t);return a.percent=o[t]||0,a.$vars.push("percent"),a},t.prototype._defaultLabelLine=function(e){Ue.M5(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(yt.A),wt=bt,_t=n(40446),xt=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return(0,Ye.C6)(t,e),t.prototype.getInitialData=function(e,t){return(0,_t.A)(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},t.prototype.brushSelector=function(e,t,n){return n.point(t.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(yt.A),St=xt,kt=n(18386),Ct=n(29308),Bt=n(43870),Qt=n(62103),Tt=n(69622),Et=function(){},Pt=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return(0,Ye.C6)(t,e),t.prototype.getDefaultShape=function(){return new Et},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,t){var n,r=t.points,o=t.size,i=this.symbolProxy,a=i.shape,s=e.getContext?e.getContext():e,l=s&&o[0]<4,c=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<r.length;){var u=r[n++],d=r[n++];isNaN(u)||isNaN(d)||c&&!c.contain(u,d)||(a.x=u-o[0]/2,a.y=d-o[1]/2,a.width=o[0],a.height=o[1],i.buildPath(e,a,!0))}this.incremental&&(this._off=n,this.notClear=!0)}},t.prototype.afterBrush=function(){var e,t=this.shape,n=t.points,r=t.size,o=this._ctx,i=this.softClipShape;if(o){for(e=this._off;e<n.length;){var a=n[e++],s=n[e++];isNaN(a)||isNaN(s)||i&&!i.contain(a,s)||o.fillRect(a-r[0]/2,s-r[1]/2,r[0],r[1])}this.incremental&&(this._off=e,this.notClear=!0)}},t.prototype.findDataIndex=function(e,t){for(var n=this.shape,r=n.points,o=n.size,i=Math.max(o[0],4),a=Math.max(o[1],4),s=r.length/2-1;s>=0;s--){var l=2*s,c=r[l]-i/2,u=r[l+1]-a/2;if(e>=c&&t>=u&&e<=c+i&&t<=u+a)return s}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return e=n[0],t=n[1],r.contain(e,t)?(this.hoverDataIdx=this.findDataIndex(e,t))>=0:(this.hoverDataIdx=-1,!1)},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape,n=t.points,r=t.size,o=r[0],i=r[1],a=1/0,s=1/0,l=-1/0,c=-1/0,u=0;u<n.length;){var d=n[u++],f=n[u++];a=Math.min(d,a),l=Math.max(d,l),s=Math.min(f,s),c=Math.max(f,c)}e=this._rect=new Ct.A(a-o/2,s-i/2,l-a+o,c-s+i)}return e},t}(s.Ay),$t=function(){function e(){this.group=new Bt.A}return e.prototype.updateData=function(e,t){this._clear();var n=this._create();n.setShape({points:e.getLayout("points")}),this._setCommon(n,e,t)},e.prototype.updateLayout=function(e){var t=e.getLayout("points");this.group.eachChild((function(e){if(null!=e.startIndex){var n=2*(e.endIndex-e.startIndex),r=4*e.startIndex*2;t=new Float32Array(t.buffer,r,n)}e.setShape("points",t),e.reset()}))},e.prototype.incrementalPrepareUpdate=function(e){this._clear()},e.prototype.incrementalUpdate=function(e,t,n){var r=this._newAdded[0],o=t.getLayout("points"),i=r&&r.shape.points;if(i&&i.length<2e4){var a=i.length,s=new Float32Array(a+o.length);s.set(i),s.set(o,a),r.endIndex=e.end,r.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=e.start,l.endIndex=e.end,l.incremental=!0,l.setShape({points:o}),this._setCommon(l,t,n)}},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new Pt({cursor:"default"});return e.ignoreCoarsePointer=!0,this.group.add(e),this._newAdded.push(e),e},e.prototype._setCommon=function(e,t,n){var r=t.hostModel;n=n||{};var o=t.getVisual("symbolSize");e.setShape("size",o instanceof Array?o:[o,o]),e.softClipShape=n.clipShape||null,e.symbolProxy=(0,Qt.v5)(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var i=e.shape.size[0]<4;e.useStyle(r.getModel("itemStyle").getItemStyle(i?["color","shadowBlur","shadowColor"]:["color"]));var a=t.getVisual("style"),s=a&&a.fill;s&&e.setColor(s);var l=(0,Tt.z)(e);l.seriesIndex=r.seriesIndex,e.on("mousemove",(function(t){l.dataIndex=null;var n=e.hoverDataIdx;n>=0&&(l.dataIndex=n+(e.startIndex||0))}))},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),Mt=$t,zt=n(30682),Rt=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){var r=e.getData();this._updateSymbolDraw(r,e).updateData(r,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var r=e.getData();this._updateSymbolDraw(r,e).incrementalPrepareUpdate(r),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},t.prototype.updateTransform=function(e,t,n){var r=e.getData();if(this.group.dirty(),!this._finished||r.count()>1e4)return{update:!0};var o=(0,zt.A)("").reset(e,t,n);o.progress&&o.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout(r)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){if(e.get("clip",!0)){var t=e.coordinateSystem;return t&&t.getArea&&t.getArea(.1)}},t.prototype._updateSymbolDraw=function(e,t){var n=this._symbolDraw,r=t.pipelineContext.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new Mt:new kt.A,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(tt.A),Dt=Rt,It=n(73100);function Nt(e){e.eachSeriesByType("radar",(function(e){var t=e.getData(),n=[],r=e.coordinateSystem;if(r){var o=r.getIndicatorAxes();y.each(o,(function(e,i){t.each(t.mapDimension(o[i].dim),(function(e,t){n[t]=n[t]||[];var o=r.dataToPoint(e,i);n[t][i]=Lt(o)?o:Vt(r)}))})),t.each((function(e){var o=y.find(n[e],(function(e){return Lt(e)}))||Vt(r);n[e].push(o.slice()),t.setItemLayout(e,n[e])}))}}))}function Lt(e){return!isNaN(e[0])&&!isNaN(e[1])}function Vt(e){return[e.cx,e.cy]}function Ut(e){var t=e.polar;if(t){y.isArray(t)||(t=[t]);var n=[];y.each(t,(function(t,r){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],y.isArray(e.radar)||(e.radar=[e.radar]),e.radar.push(t)):n.push(t)})),e.polar=n}y.each(e.series,(function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)}))}var Ft=n(43199),Ht=n(52505),Wt=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){var r=e.coordinateSystem,o=this.group,i=e.getData(),a=this._data;function s(e,t){var n=e.getItemVisual(t,"symbol")||"circle";if("none"!==n){var r=Qt.xU(e.getItemVisual(t,"symbolSize")),o=Qt.v5(n,-1,-1,2,2),i=e.getItemVisual(t,"symbolRotate")||0;return o.attr({style:{strokeNoScale:!0},z2:100,scaleX:r[0]/2,scaleY:r[1]/2,rotation:i*Math.PI/180||0}),o}}function c(t,n,r,o,i,a){r.removeAll();for(var l=0;l<n.length-1;l++){var c=s(o,i);c&&(c.__dimIdx=l,t[l]?(c.setPosition(t[l]),Ft[a?"initProps":"updateProps"](c,{x:n[l][0],y:n[l][1]},e,i)):c.setPosition(n[l]),r.add(c))}}function u(e){return y.map(e,(function(e){return[r.cx,r.cy]}))}i.diff(a).add((function(t){var n=i.getItemLayout(t);if(n){var r=new Ht.A,o=new Ke.A,a={shape:{points:n}};r.shape.points=u(n),o.shape.points=u(n),Ge.LW(r,a,e,t),Ge.LW(o,a,e,t);var s=new Bt.A,l=new Bt.A;s.add(o),s.add(r),s.add(l),c(o.shape.points,n,l,i,t,!0),i.setItemGraphicEl(t,s)}})).update((function(t,n){var r=a.getItemGraphicEl(n),o=r.childAt(0),s=r.childAt(1),l=r.childAt(2),u={shape:{points:i.getItemLayout(t)}};u.shape.points&&(c(o.shape.points,u.shape.points,l,i,t,!1),(0,Ge.ap)(s),(0,Ge.ap)(o),Ge.oi(o,u,e),Ge.oi(s,u,e),i.setItemGraphicEl(t,r))})).remove((function(e){o.remove(a.getItemGraphicEl(e))})).execute(),i.eachItemGraphicEl((function(e,t){var n=i.getItemModel(t),r=e.childAt(0),a=e.childAt(1),s=e.childAt(2),c=i.getItemVisual(t,"style"),u=c.fill;o.add(e),r.useStyle(y.defaults(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),(0,et.Mx)(r,n,"lineStyle"),(0,et.Mx)(a,n,"areaStyle");var d=n.getModel("areaStyle"),f=d.isEmpty()&&d.parentModel.isEmpty();a.ignore=f,y.each(["emphasis","select","blur"],(function(e){var t=n.getModel([e,"areaStyle"]),r=t.isEmpty()&&t.parentModel.isEmpty();a.ensureState(e).ignore=r&&f})),a.useStyle(y.defaults(d.getAreaStyle(),{fill:u,opacity:.7,decal:c.decal}));var h=n.getModel("emphasis"),p=h.getModel("itemStyle").getItemStyle();s.eachChild((function(e){if(e instanceof l.Ay){var r=e.style;e.useStyle(y.extend({image:r.image,x:r.x,y:r.y,width:r.width,height:r.height},c))}else e.useStyle(c),e.setColor(u),e.style.strokeNoScale=!0;e.ensureState("emphasis").style=y.clone(p);var o=i.getStore().get(i.getDimensionIndex(e.__dimIdx),t);(null==o||isNaN(o))&&(o=""),(0,ct.qM)(e,(0,ct.lx)(n),{labelFetcher:i.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:o,inheritColor:u,defaultOpacity:c.opacity})})),(0,et.Lm)(e,h.get("focus"),h.get("blurScope"),h.get("disabled"))})),this._data=i},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(tt.A),Xt=Wt,jt=n(3961),qt=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return(0,Ye.C6)(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new vt(y.bind(this.getData,this),y.bind(this.getRawData,this))},t.prototype.getInitialData=function(e,t){return gt(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),o=this.coordinateSystem.getIndicatorAxes(),i=this.getData().getName(e),a=""===i?this.name:i,s=(0,jt.aw)(this,e);return(0,jt.Qx)("section",{header:a,sortBlocks:!0,blocks:y.map(o,(function(t){var n=r.get(r.mapDimension(t.dim),e);return(0,jt.Qx)("nameValue",{markerType:"subItem",markerColor:s,name:t.name,value:n,sortParam:n})}))})},t.prototype.getTooltipPosition=function(e){if(null!=e)for(var t=this.getData(),n=this.coordinateSystem,r=t.getValues(y.map(n.dimensions,(function(e){return t.mapDimension(e)})),e),o=0,i=r.length;o<i;o++)if(!isNaN(r[o])){var a=n.getIndicatorAxes();return n.coordToPoint(a[o].dataToCoord(r[o]),o)}},t.type="series.radar",t.dependencies=["radar"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},t}(yt.A),Zt=qt,Yt=n(13286),Gt=n(5202),Kt=n(12462),Jt=n(15915),en=Yt.A.value;function tn(e,t){return y.defaults({show:t},e)}var nn=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.optionUpdated=function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),n=this.get("scale"),r=this.get("axisLine"),o=this.get("axisTick"),i=this.get("axisLabel"),a=this.get("axisName"),s=this.get(["axisName","show"]),l=this.get(["axisName","formatter"]),c=this.get("axisNameGap"),u=this.get("triggerEvent"),d=y.map(this.get("indicator")||[],(function(d){null!=d.max&&d.max>0&&!d.min?d.min=0:null!=d.min&&d.min<0&&!d.max&&(d.max=0);var f=a;null!=d.color&&(f=y.defaults({color:d.color},a));var h=y.merge(y.clone(d),{boundaryGap:e,splitNumber:t,scale:n,axisLine:r,axisTick:o,axisLabel:i,name:d.text,showName:s,nameLocation:"end",nameGap:c,nameTextStyle:f,triggerEvent:u},!1);if(y.isString(l)){var p=h.name;h.name=l.replace("{value}",null!=p?p:"")}else y.isFunction(l)&&(h.name=l(h.name,h));var m=new Gt.A(h,null,this.ecModel);return y.mixin(m,Kt.L.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m}),this);this._indicatorModels=d},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:y.merge({lineStyle:{color:"#bbb"}},en.axisLine),axisLabel:tn(en.axisLabel,!1),axisTick:tn(en.axisTick,!1),splitLine:tn(en.splitLine,!0),splitArea:tn(en.splitArea,!0),indicator:[]},t}(Jt.A),rn=nn,on=n(89598),an=n(31571),sn=n(42933),ln=n(59109),cn=["axisLine","axisTickLabel","axisName"],un=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){this.group.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes(),r=y.map(n,(function(e){var n=e.model.get("showName")?e.name:"";return new on.A(e.model,{axisName:n,position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}));y.each(r,(function(e){y.each(cn,e.add,e),this.group.add(e.getGroup())}),this)},t.prototype._buildSplitLineAndArea=function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes();if(n.length){var r=e.get("shape"),o=e.getModel("splitLine"),i=e.getModel("splitArea"),a=o.getModel("lineStyle"),s=i.getModel("areaStyle"),l=o.get("show"),c=i.get("show"),u=a.get("color"),d=s.get("color"),f=y.isArray(u)?u:[u],h=y.isArray(d)?d:[d],p=[],m=[];if("circle"===r)for(var g=n[0].getTicksCoords(),A=t.cx,v=t.cy,O=0;O<g.length;O++)l&&p[B(p,f,O)].push(new an.A({shape:{cx:A,cy:v,r:g[O].coord}})),c&&O<g.length-1&&m[B(m,h,O)].push(new sn.A({shape:{cx:A,cy:v,r0:g[O].coord,r:g[O+1].coord}}));else{var b,w=y.map(n,(function(e,n){var r=e.getTicksCoords();return b=null==b?r.length-1:Math.min(r.length-1,b),y.map(r,(function(e){return t.coordToPoint(e.coord,n)}))})),_=[];for(O=0;O<=b;O++){for(var x=[],S=0;S<n.length;S++)x.push(w[S][O]);x[0]&&x.push(x[0].slice()),l&&p[B(p,f,O)].push(new Ke.A({shape:{points:x}})),c&&_&&m[B(m,h,O-1)].push(new Ht.A({shape:{points:x.concat(_)}})),_=x.slice().reverse()}}var k=a.getLineStyle(),C=s.getAreaStyle();y.each(m,(function(e,t){this.group.add(Ft.mergePath(e,{style:y.defaults({stroke:"none",fill:h[t%h.length]},C),silent:!0}))}),this),y.each(p,(function(e,t){this.group.add(Ft.mergePath(e,{style:y.defaults({fill:"none",stroke:f[t%f.length]},k),silent:!0}))}),this)}function B(e,t,n){var r=n%t.length;return e[r]=e[r]||[],r}},t.type="radar",t}(ln.A),dn=un,fn=n(33423),hn=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.type="value",o.angle=0,o.name="",o}return(0,Ye.C6)(t,e),t}(fn.A),pn=n(74562),mn=n(3486),gn=function(){function e(e,t,n){this.dimensions=[],this._model=e,this._indicatorAxes=(0,y.map)(e.getIndicatorModels(),(function(e,t){var n="indicator_"+t,r=new hn(n,new pn.A);return r.name=e.get("name"),r.model=e,e.axis=r,this.dimensions.push(n),r}),this),this.resize(e,n)}return e.prototype.getIndicatorAxes=function(){return this._indicatorAxes},e.prototype.dataToPoint=function(e,t){var n=this._indicatorAxes[t];return this.coordToPoint(n.dataToCoord(e),t)},e.prototype.coordToPoint=function(e,t){var n=this._indicatorAxes[t].angle;return[this.cx+e*Math.cos(n),this.cy-e*Math.sin(n)]},e.prototype.pointToData=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=Math.sqrt(t*t+n*n);t/=r,n/=r;for(var o,i=Math.atan2(-n,t),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var c=this._indicatorAxes[l],u=Math.abs(i-c.angle);u<a&&(o=c,s=l,a=u)}return[s,+(o&&o.coordToData(r))]},e.prototype.resize=function(e,t){var n=e.get("center"),r=t.getWidth(),o=t.getHeight(),i=Math.min(r,o)/2;this.cx=Le.lo(n[0],r),this.cy=Le.lo(n[1],o),this.startAngle=e.get("startAngle")*Math.PI/180;var a=e.get("radius");((0,y.isString)(a)||(0,y.isNumber)(a))&&(a=[0,a]),this.r0=Le.lo(a[0],i),this.r=Le.lo(a[1],i),(0,y.each)(this._indicatorAxes,(function(e,t){e.setExtent(this.r0,this.r);var n=this.startAngle+t*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),e.angle=n}),this)},e.prototype.update=function(e,t){var n=this._indicatorAxes,r=this._model;(0,y.each)(n,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeriesByType("radar",(function(t,o){if("radar"===t.get("coordinateSystem")&&e.getComponent("radar",t.get("radarIndex"))===r){var i=t.getData();(0,y.each)(n,(function(e){e.scale.unionExtentFromData(i,i.mapDimension(e.dim))}))}}),this);var o=r.get("splitNumber"),i=new pn.A;i.setExtent(0,o),i.setInterval(1),(0,y.each)(n,(function(e,t){(0,mn.m)(e.scale,e.model,i)}))},e.prototype.convertToPixel=function(e,t,n){return console.warn("Not implemented."),null},e.prototype.convertFromPixel=function(e,t,n){return console.warn("Not implemented."),null},e.prototype.containPoint=function(e){return console.warn("Not implemented."),!1},e.create=function(t,n){var r=[];return t.eachComponent("radar",(function(o){var i=new e(o,t,n);r.push(i),o.coordinateSystem=i})),t.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=r[e.get("radarIndex")||0])})),r},e.dimensions=[],e}(),An=gn;function vn(e){e.registerCoordinateSystem("radar",An),e.registerComponentModel(rn),e.registerComponentView(dn),e.registerVisual({seriesType:"radar",reset:function(e){var t=e.getData();t.each((function(e){t.setItemVisual(e,"legendIcon","roundRect")})),t.setVisual("legendIcon","roundRect")}})}var yn=n(57861),On=n(35452),bn=n(23868);function wn(e,t,n,r,o){e.pointerChecker&&e.pointerChecker(r,o.originX,o.originY)&&(On.ds(r.event),_n(e,t,n,r,o))}function _n(e,t,n,r,o){o.isAvailableBehavior=(0,y.bind)(xn,null,n,r),e.trigger(t,o)}function xn(e,t,n){var r=n[e];return!e||r&&(!(0,y.isString)(r)||t.event[r+"Key"])}var Sn=function(e){function t(t){var n=e.call(this)||this;n._zr=t;var r=(0,y.bind)(n._mousedownHandler,n),o=(0,y.bind)(n._mousemoveHandler,n),i=(0,y.bind)(n._mouseupHandler,n),a=(0,y.bind)(n._mousewheelHandler,n),s=(0,y.bind)(n._pinchHandler,n);return n.enable=function(e,n){this.disable(),this._opt=(0,y.defaults)((0,y.clone)(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",r),t.on("mousemove",o),t.on("mouseup",i)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",a),t.on("pinch",s))},n.disable=function(){t.off("mousedown",r),t.off("mousemove",o),t.off("mouseup",i),t.off("mousewheel",a),t.off("pinch",s)},n}return(0,Ye.C6)(t,e),t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(e){this.pointerChecker=e},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(e){if(!On.W5(e)){for(var t=e.target;t;){if(t.draggable)return;t=t.__hostTarget||t.parent}var n=e.offsetX,r=e.offsetY;this.pointerChecker&&this.pointerChecker(e,n,r)&&(this._x=n,this._y=r,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(this._dragging&&xn("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!bn.Ck(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,r=this._x,o=this._y,i=t-r,a=n-o;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&On.ds(e.event),_n(this,"pan","moveOnMouseMove",e,{dx:i,dy:a,oldX:r,oldY:o,newX:t,newY:n,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){On.W5(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var t=xn("zoomOnMouseWheel",e,this._opt),n=xn("moveOnMouseWheel",e,this._opt),r=e.wheelDelta,o=Math.abs(r),i=e.offsetX,a=e.offsetY;if(0!==r&&(t||n)){if(t){var s=o>3?1.4:o>1?1.2:1.1;wn(this,"zoom","zoomOnMouseWheel",e,{scale:r>0?s:1/s,originX:i,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(r);wn(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(r>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:i,originY:a,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){bn.Ck(this._zr,"globalPan")||wn(this,"zoom",null,e,{scale:e.pinchScale>1?1.1:1/1.1,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})},t}(yn.A);function kn(e,t,n){var r=e.target;r.x+=t,r.y+=n,r.dirty()}function Cn(e,t,n,r){var o=e.target,i=e.zoomLimit,a=e.zoom=e.zoom||1;if(a*=t,i){var s=i.min||0,l=i.max||1/0;a=Math.max(Math.min(l,a),s)}var c=a/e.zoom;e.zoom=a,o.x-=(n-o.x)*(c-1),o.y-=(r-o.y)*(c-1),o.scaleX*=c,o.scaleY*=c,o.dirty()}var Bn,Qn=n(72589),Tn=n(10992),En=n(18393),Pn=n(82861),$n=n(45587),Mn=n(99429),zn=n(29668),Rn=n(82250);function Dn(e){(0,y.isString)(e)&&(e=(new DOMParser).parseFromString(e,"text/xml"));var t=e;for(9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}var In={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},Nn=(0,y.keys)(In),Ln={"alignment-baseline":"textBaseline","stop-color":"stopColor"},Vn=(0,y.keys)(Ln),Un=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(e,t){t=t||{};var n=Dn(e);this._defsUsePending=[];var r=new Bt.A;this._root=r;var o=[],i=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||t.width),s=parseFloat(n.getAttribute("height")||t.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),qn(n,r,null,!0,!1);for(var l,c,u=n.firstChild;u;)this._parseNode(u,r,o,null,!1,!1),u=u.nextSibling;if(function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r[0].style[r[1]]=e[r[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],i){var d=Kn(i);d.length>=4&&(l={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(l&&null!=a&&null!=s&&(c=rr(l,{x:0,y:0,width:a,height:s}),!t.ignoreViewBox)){var f=r;(r=new Bt.A).add(f),f.scaleX=f.scaleY=c.scale,f.x=c.x,f.y=c.y}return t.ignoreRootClip||null==a||null==s||r.setClipPath(new Tn.A({shape:{x:0,y:0,width:a,height:s}})),{root:r,width:a,height:s,viewBoxRect:l,viewBoxTransform:c,named:o}},e.prototype._parseNode=function(e,t,n,r,o,i){var a,s=e.nodeName.toLowerCase(),l=r;if("defs"===s&&(o=!0),"text"===s&&(i=!0),"defs"===s||"switch"===s)a=t;else{if(!o){var c=Bn[s];if(c&&(0,y.hasOwn)(Bn,s)){a=c.call(this,e,t);var u=e.getAttribute("name");if(u){var d={name:u,namedFrom:null,svgNodeTagLower:s,el:a};n.push(d),"g"===s&&(l=d)}else r&&n.push({name:r.name,namedFrom:r,svgNodeTagLower:s,el:a});t.add(a)}}var f=Fn[s];if(f&&(0,y.hasOwn)(Fn,s)){var h=f.call(this,e),p=e.getAttribute("id");p&&(this._defs[p]=h)}}if(a&&a.isGroup)for(var m=e.firstChild;m;)1===m.nodeType?this._parseNode(m,a,n,l,o,i):3===m.nodeType&&i&&this._parseText(m,a),m=m.nextSibling},e.prototype._parseText=function(e,t){var n=new u.A({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Xn(t,n),qn(e,n,this._defsUsePending,!1,!1),function(e,t){var n=t.__selfStyle;if(n){var r=n.textBaseline,o=r;r&&"auto"!==r?"baseline"===r?o="alphabetic":"before-edge"===r||"text-before-edge"===r?o="top":"after-edge"===r||"text-after-edge"===r?o="bottom":"central"!==r&&"mathematical"!==r||(o="middle"):o="alphabetic",e.style.textBaseline=o}var i=t.__inheritedStyle;if(i){var a=i.textAlign,s=a;a&&("middle"===a&&(s="center"),e.style.textAlign=s)}}(n,t);var r=n.style,o=r.fontSize;o&&o<9&&(r.fontSize=9,n.scaleX*=o/9,n.scaleY*=o/9);var i=(r.fontSize||r.fontFamily)&&[r.fontStyle,r.fontWeight,(r.fontSize||12)+"px",r.fontFamily||"sans-serif"].join(" ");r.font=i;var a=n.getBoundingRect();return this._textX+=a.width,t.add(n),n},e.internalField=void(Bn={g:function(e,t){var n=new Bt.A;return Xn(t,n),qn(e,n,this._defsUsePending,!1,!1),n},rect:function(e,t){var n=new Tn.A;return Xn(t,n),qn(e,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(e.getAttribute("x")||"0"),y:parseFloat(e.getAttribute("y")||"0"),width:parseFloat(e.getAttribute("width")||"0"),height:parseFloat(e.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(e,t){var n=new an.A;return Xn(t,n),qn(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),r:parseFloat(e.getAttribute("r")||"0")}),n.silent=!0,n},line:function(e,t){var n=new Pn.A;return Xn(t,n),qn(e,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(e.getAttribute("x1")||"0"),y1:parseFloat(e.getAttribute("y1")||"0"),x2:parseFloat(e.getAttribute("x2")||"0"),y2:parseFloat(e.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(e,t){var n=new En.A;return Xn(t,n),qn(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),rx:parseFloat(e.getAttribute("rx")||"0"),ry:parseFloat(e.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(e,t){var n,r=e.getAttribute("points");r&&(n=jn(r));var o=new Ht.A({shape:{points:n||[]},silent:!0});return Xn(t,o),qn(e,o,this._defsUsePending,!1,!1),o},polyline:function(e,t){var n,r=e.getAttribute("points");r&&(n=jn(r));var o=new Ke.A({shape:{points:n||[]},silent:!0});return Xn(t,o),qn(e,o,this._defsUsePending,!1,!1),o},image:function(e,t){var n=new l.Ay;return Xn(t,n),qn(e,n,this._defsUsePending,!1,!1),n.setStyle({image:e.getAttribute("xlink:href")||e.getAttribute("href"),x:+e.getAttribute("x"),y:+e.getAttribute("y"),width:+e.getAttribute("width"),height:+e.getAttribute("height")}),n.silent=!0,n},text:function(e,t){var n=e.getAttribute("x")||"0",r=e.getAttribute("y")||"0",o=e.getAttribute("dx")||"0",i=e.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(o),this._textY=parseFloat(r)+parseFloat(i);var a=new Bt.A;return Xn(t,a),qn(e,a,this._defsUsePending,!1,!0),a},tspan:function(e,t){var n=e.getAttribute("x"),r=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var o=e.getAttribute("dx")||"0",i=e.getAttribute("dy")||"0",a=new Bt.A;return Xn(t,a),qn(e,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(o),this._textY+=parseFloat(i),a},path:function(e,t){var n=e.getAttribute("d")||"",r=(0,Mn.UJ)(n);return Xn(t,r),qn(e,r,this._defsUsePending,!1,!1),r.silent=!0,r}}),e}(),Fn={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),n=parseInt(e.getAttribute("y1")||"0",10),r=parseInt(e.getAttribute("x2")||"10",10),o=parseInt(e.getAttribute("y2")||"0",10),i=new zn.A(t,n,r,o);return Hn(e,i),Wn(e,i),i},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),n=parseInt(e.getAttribute("cy")||"0",10),r=parseInt(e.getAttribute("r")||"0",10),o=new Rn.A(t,n,r);return Hn(e,o),Wn(e,o),o}};function Hn(e,t){"userSpaceOnUse"===e.getAttribute("gradientUnits")&&(t.global=!0)}function Wn(e,t){for(var n=e.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var r,o=n.getAttribute("offset");r=o&&o.indexOf("%")>0?parseInt(o,10)/100:o?parseFloat(o):0;var i={};nr(n,i,i);var a=i.stopColor||n.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function Xn(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),(0,y.defaults)(t.__inheritedStyle,e.__inheritedStyle))}function jn(e){for(var t=Kn(e),n=[],r=0;r<t.length;r+=2){var o=parseFloat(t[r]),i=parseFloat(t[r+1]);n.push([o,i])}return n}function qn(e,t,n,r,o){var i=t,a=i.__inheritedStyle=i.__inheritedStyle||{},s={};1===e.nodeType&&(function(e,t){var n=e.getAttribute("transform");if(n){n=n.replace(/,/g," ");var r=[],o=null;n.replace(Jn,(function(e,t,n){return r.push(t,n),""}));for(var i=r.length-1;i>0;i-=2){var a=r[i],s=r[i-1],l=Kn(a);switch(o=o||$n.create(),s){case"translate":$n.translate(o,o,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":$n.scale(o,o,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":$n.rotate(o,o,-parseFloat(l[0])*er,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":var c=Math.tan(parseFloat(l[0])*er);$n.mul(o,[1,0,c,1,0,0],o);break;case"skewY":var u=Math.tan(parseFloat(l[0])*er);$n.mul(o,[1,u,0,1,0,0],o);break;case"matrix":o[0]=parseFloat(l[0]),o[1]=parseFloat(l[1]),o[2]=parseFloat(l[2]),o[3]=parseFloat(l[3]),o[4]=parseFloat(l[4]),o[5]=parseFloat(l[5])}}t.setLocalTransform(o)}}(e,t),nr(e,a,s),r||function(e,t,n){for(var r=0;r<Nn.length;r++){var o=Nn[r];null!=(i=e.getAttribute(o))&&(t[In[o]]=i)}for(r=0;r<Vn.length;r++){var i;o=Vn[r],null!=(i=e.getAttribute(o))&&(n[Ln[o]]=i)}}(e,a,s)),i.style=i.style||{},null!=a.fill&&(i.style.fill=Yn(i,"fill",a.fill,n)),null!=a.stroke&&(i.style.stroke=Yn(i,"stroke",a.stroke,n)),(0,y.each)(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(e){null!=a[e]&&(i.style[e]=parseFloat(a[e]))})),(0,y.each)(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(e){null!=a[e]&&(i.style[e]=a[e])})),o&&(i.__selfStyle=s),a.lineDash&&(i.style.lineDash=(0,y.map)(Kn(a.lineDash),(function(e){return parseFloat(e)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(i.invisible=!0),"none"===a.display&&(i.ignore=!0)}var Zn=/^url\(\s*#(.*?)\)/;function Yn(e,t,n,r){var o=n&&n.match(Zn);if(!o)return"none"===n&&(n=null),n;var i=(0,y.trim)(o[1]);r.push([e,t,i])}var Gn=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Kn(e){return e.match(Gn)||[]}var Jn=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,er=Math.PI/180,tr=/([^\s:;]+)\s*:\s*([^:;]+)/g;function nr(e,t,n){var r,o=e.getAttribute("style");if(o)for(tr.lastIndex=0;null!=(r=tr.exec(o));){var i=r[1],a=(0,y.hasOwn)(In,i)?In[i]:null;a&&(t[a]=r[2]);var s=(0,y.hasOwn)(Ln,i)?Ln[i]:null;s&&(n[s]=r[2])}}function rr(e,t){var n=t.width/e.width,r=t.height/e.height,o=Math.min(n,r);return{scale:o,x:-(e.x+e.width/2)*o+(t.x+t.width/2),y:-(e.y+e.height/2)*o+(t.y+t.height/2)}}for(var or=n(31024),ir=(0,y.createHashMap)(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),ar=function(){function e(e,t){this.type="geoSVG",this._usedGraphicMap=(0,y.createHashMap)(),this._freedGraphics=[],this._mapName=e,this._parsedXML=Dn(t)}return e.prototype.load=function(){var e=this._firstGraphic;if(!e){e=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(e),this._boundingRect=this._firstGraphic.boundingRect.clone();var t=function(e){var t=[],n=(0,y.createHashMap)();return(0,y.each)(e,(function(e){if(null==e.namedFrom){var r=new or.U5(e.name,e.el);t.push(r),n.set(e.name,r)}})),{regions:t,regionsMap:n}}(e.named),n=t.regions,r=t.regionsMap;this._regions=n,this._regionsMap=r}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},e.prototype._buildGraphic=function(e){var t,n,r,o;try{n=(t=e&&(r=e,o={ignoreViewBox:!0,ignoreRootClip:!0},(new Un).parse(r,o))||{}).root,(0,y.assert)(null!=n)}catch(e){throw new Error("Invalid svg format\n"+e.message)}var i=new Bt.A;i.add(n),i.isGeoSVGGraphicRoot=!0;var a=t.width,s=t.height,l=t.viewBoxRect,c=this._boundingRect;if(!c){var u=void 0,d=void 0,f=void 0,h=void 0;if(null!=a?(u=0,f=a):l&&(u=l.x,f=l.width),null!=s?(d=0,h=s):l&&(d=l.y,h=l.height),null==u||null==d){var p=n.getBoundingRect();null==u&&(u=p.x,f=p.width),null==d&&(d=p.y,h=p.height)}c=this._boundingRect=new Ct.A(u,d,f,h)}if(l){var m=rr(l,c);n.scaleX=n.scaleY=m.scale,n.x=m.x,n.y=m.y}i.setClipPath(new Tn.A({shape:c.plain()}));var g=[];return(0,y.each)(t.named,(function(e){var t;null!=ir.get(e.svgNodeTagLower)&&(g.push(e),(t=e.el).silent=!1,t.isGroup&&t.traverse((function(e){e.silent=!1})))})),{root:i,boundingRect:c,named:g}},e.prototype.useGraphic=function(e){var t=this._usedGraphicMap,n=t.get(e);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),t.set(e,n),n)},e.prototype.freeGraphic=function(e){var t=this._usedGraphicMap,n=t.get(e);n&&(t.removeKey(e),this._freedGraphics.push(n))},e}(),sr=n(69718),lr=[126,25],cr="南海诸岛",ur=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],dr=0;dr<ur.length;dr++)for(var fr=0;fr<ur[dr].length;fr++)ur[dr][fr][0]/=10.5,ur[dr][fr][1]/=-14,ur[dr][fr][0]+=lr[0],ur[dr][fr][1]+=lr[1];var hr={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]},pr=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]],mr=function(){function e(e,t,n){var r;this.type="geoJSON",this._parsedMap=(0,y.createHashMap)(),this._mapName=e,this._specialAreas=n,this._geoJSON=(r=t,(0,y.isString)(r)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(r):new Function("return ("+r+");")():r)}return e.prototype.load=function(e,t){t=t||"name";var n=this._parsedMap.get(t);if(!n){var r=this._parseToRegions(t);n=this._parsedMap.set(t,{regions:r,boundingRect:gr(r)})}var o=(0,y.createHashMap)(),i=[];return(0,y.each)(n.regions,(function(t){var n=t.name;e&&(0,y.hasOwn)(e,n)&&(t=t.cloneShallow(n=e[n])),i.push(t),o.set(n,t)})),{regions:i,boundingRect:n.boundingRect||new Ct.A(0,0,0,0),regionsMap:o}},e.prototype._parseToRegions=function(e){var t,n=this._mapName,r=this._geoJSON;try{t=r?(0,sr.A)(r,e):[]}catch(e){throw new Error("Invalid geoJson format\n"+e.message)}return function(e,t){if("china"===e){for(var n=0;n<t.length;n++)if(t[n].name===cr)return;t.push(new or.cn(cr,y.map(ur,(function(e){return{type:"polygon",exterior:e}})),lr))}}(n,t),(0,y.each)(t,(function(e){var t=e.name;!function(e,t){if("china"===e){var n=hr[t.name];if(n){var r=t.getCenter();r[0]+=n[0]/10.5,r[1]+=-n[1]/14,t.setCenter(r)}}}(n,e),function(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:pr[0]})}(n,e);var r=this._specialAreas&&this._specialAreas[t];r&&e.transformTo(r.left,r.top,r.width,r.height)}),this),t},e.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},e}();function gr(e){for(var t,n=0;n<e.length;n++){var r=e[n].getBoundingRect();(t=t||r.clone()).union(r)}return t}var Ar=(0,y.createHashMap)(),vr=function(e){return Ar.get(e)},yr=function(e,t,n){var r=Ar.get(e);if(r)return r.load(t,n)},Or=n(12616),br=n(76868),wr=n(71519),_r=["rect","circle","line","ellipse","polygon","polyline","path"],xr=y.createHashMap(_r),Sr=y.createHashMap(_r.concat(["g"])),kr=y.createHashMap(_r.concat(["g"])),Cr=(0,Ue.$r)();function Br(e){var t=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(t.fill=n),t}function Qr(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var Tr=function(){function e(e){var t=new Bt.A;this.uid=(0,Or.$Q)("ec_map_draw"),this._controller=new Sn(e.getZr()),this._controllerHost={target:t},this.group=t,t.add(this._regionsGroup=new Bt.A),t.add(this._svgGroup=new Bt.A)}return e.prototype.draw=function(e,t,n,r,o){var i="geo"===e.mainType,a=e.getData&&e.getData();i&&t.eachComponent({mainType:"series",subType:"map"},(function(t){a||t.getHostGeoModel()!==e||(a=t.getData())}));var s=e.coordinateSystem,l=this._regionsGroup,c=this.group,u=s.getTransformInfo(),d=u.raw,f=u.roam;!l.childAt(0)||o?(c.x=f.x,c.y=f.y,c.scaleX=f.scaleX,c.scaleY=f.scaleY,c.dirty()):Ge.oi(c,f,e);var h=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,p={api:n,geo:s,mapOrGeoModel:e,data:a,isVisualEncodedByVisualMap:h,isGeo:i,transformInfoRaw:d};"geoJSON"===s.resourceType?this._buildGeoJSON(p):"geoSVG"===s.resourceType&&this._buildSVG(p),this._updateController(e,t,n),this._updateMapSelectHandler(e,l,n,r)},e.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=y.createHashMap(),n=y.createHashMap(),r=this._regionsGroup,o=e.transformInfoRaw,i=e.mapOrGeoModel,a=e.data,s=e.geo.projection,l=s&&s.stream;function c(e,t){return t&&(e=t(e)),e&&[e[0]*o.scaleX+o.x,e[1]*o.scaleY+o.y]}function u(e){for(var t=[],n=!l&&s&&s.project,r=0;r<e.length;++r){var o=c(e[r],n);o&&t.push(o)}return t}function d(e){return{shape:{points:u(e)}}}r.removeAll(),y.each(e.geo.regions,(function(o){var u=o.name,f=t.get(u),h=n.get(u)||{},p=h.dataIdx,m=h.regionModel;if(!f){f=t.set(u,new Bt.A),r.add(f),p=a?a.indexOfName(u):null;var g=(m=e.isGeo?i.getRegionModel(u):a?a.getItemModel(p):null).get("silent",!0);null!=g&&(f.silent=g),n.set(u,{dataIdx:p,regionModel:m})}var A=[],v=[];y.each(o.geometries,(function(e){if("polygon"===e.type){var t=[e.exterior].concat(e.interiors||[]);l&&(t=Rr(t,l)),y.each(t,(function(e){A.push(new Ht.A(d(e)))}))}else{var n=e.points;l&&(n=Rr(n,l,!0)),y.each(n,(function(e){v.push(new Ke.A(d(e)))}))}}));var O=c(o.getCenter(),s&&s.project);function b(t,n){if(t.length){var r=new R.A({culling:!0,segmentIgnoreThreshold:1,shape:{paths:t}});f.add(r),Er(e,r,p,m),Pr(e,r,u,m,i,p,O),n&&(Qr(r),y.each(r.states,Qr))}}b(A),b(v,!0)})),t.each((function(t,r){var o=n.get(r),a=o.dataIdx,s=o.regionModel;$r(e,t,r,s,i,a),Mr(e,t,r,s,i),zr(e,t,r,s,i)}),this)},e.prototype._buildSVG=function(e){var t=e.geo.map,n=e.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(t)&&(this._freeSVG(),this._useSVG(t));var r=this._svgDispatcherMap=y.createHashMap(),o=!1;y.each(this._svgGraphicRecord.named,(function(t){var n=t.name,i=e.mapOrGeoModel,a=e.data,s=t.svgNodeTagLower,l=t.el,c=a?a.indexOfName(n):null,u=i.getRegionModel(n);null!=xr.get(s)&&l instanceof wr.Ay&&Er(e,l,c,u),l instanceof wr.Ay&&(l.culling=!0);var d=u.get("silent",!0);null!=d&&(l.silent=d),l.z2EmphasisLift=0,t.namedFrom||(null!=kr.get(s)&&Pr(e,l,n,u,i,c,null),$r(e,l,n,u,i,c),Mr(e,l,n,u,i),null!=Sr.get(s)&&("self"===zr(e,l,n,u,i)&&(o=!0),(r.get(n)||r.set(n,[])).push(l)))}),this),this._enableBlurEntireSVG(o,e)},e.prototype._enableBlurEntireSVG=function(e,t){if(e&&t.isGeo){var n=t.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse((function(e){if(!e.isGroup){(0,et.DW)(e);var t=e.ensureState("blur").style||{};null==t.opacity&&null!=n&&(t.opacity=n),e.ensureState("emphasis")}}))}},e.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},e.prototype.findHighDownDispatchers=function(e,t){if(null==e)return[];var n=t.coordinateSystem;if("geoJSON"===n.resourceType){var r=this._regionsGroupByName;if(r){var o=r.get(e);return o?[o]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(e)||[]},e.prototype._svgResourceChanged=function(e){return this._svgMapName!==e},e.prototype._useSVG=function(e){var t=vr(e);if(t&&"geoSVG"===t.type){var n=t.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=e}},e.prototype._freeSVG=function(){var e=this._svgMapName;if(null!=e){var t=vr(e);t&&"geoSVG"===t.type&&t.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},e.prototype._updateController=function(e,t,n){var r=e.coordinateSystem,o=this._controller,i=this._controllerHost;i.zoomLimit=e.get("scaleLimit"),i.zoom=r.getZoom(),o.enable(e.get("roam")||!1);var a=e.mainType;function s(){var t={type:"geoRoam",componentType:a};return t[a+"Id"]=e.id,t}o.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,kn(i,e.dx,e.dy),n.dispatchAction(y.extend(s(),{dx:e.dx,dy:e.dy,animation:{duration:0}}))}),this),o.off("zoom").on("zoom",(function(e){this._mouseDownFlag=!1,Cn(i,e.scale,e.originX,e.originY),n.dispatchAction(y.extend(s(),{totalZoom:i.zoom,zoom:e.scale,originX:e.originX,originY:e.originY,animation:{duration:0}}))}),this),o.setPointerChecker((function(t,o,i){return r.containPoint([o,i])&&!(0,Qn.I)(t,n,e)}))},e.prototype.resetForLabelLayout=function(){this.group.traverse((function(e){var t=e.getTextContent();t&&(t.ignore=Cr(t).ignore)}))},e.prototype._updateMapSelectHandler=function(e,t,n,r){var o=this;t.off("mousedown"),t.off("click"),e.get("selectedMode")&&(t.on("mousedown",(function(){o._mouseDownFlag=!0})),t.on("click",(function(e){o._mouseDownFlag&&(o._mouseDownFlag=!1)})))},e}();function Er(e,t,n,r){var o=r.getModel("itemStyle"),i=r.getModel(["emphasis","itemStyle"]),a=r.getModel(["blur","itemStyle"]),s=r.getModel(["select","itemStyle"]),l=Br(o),c=Br(i),u=Br(s),d=Br(a),f=e.data;if(f){var h=f.getItemVisual(n,"style"),p=f.getItemVisual(n,"decal");e.isVisualEncodedByVisualMap&&h.fill&&(l.fill=h.fill),p&&(l.decal=(0,br.w)(p,e.api))}t.setStyle(l),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=c,t.ensureState("select").style=u,t.ensureState("blur").style=d,(0,et.DW)(t)}function Pr(e,t,n,r,o,i,a){var s=e.data,l=e.isGeo,c=s&&isNaN(s.get(s.mapDimension("value"),i)),u=s&&s.getItemLayout(i);if(l||c||u&&u.showLabel){var d=l?n:i,f=void 0;(!s||i>=0)&&(f=o);var h=a?{normal:{align:"center",verticalAlign:"middle"}}:null;(0,ct.qM)(t,(0,ct.lx)(r),{labelFetcher:f,labelDataIndex:d,defaultText:n},h);var p=t.getTextContent();if(p&&(Cr(p).ignore=p.ignore,t.textConfig&&a)){var m=t.getBoundingRect().clone();t.textConfig.layoutRect=m,t.textConfig.position=[(a[0]-m.x)/m.width*100+"%",(a[1]-m.y)/m.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function $r(e,t,n,r,o,i){e.data?e.data.setItemGraphicEl(i,t):(0,Tt.z)(t).eventData={componentType:"geo",componentIndex:o.componentIndex,geoIndex:o.componentIndex,name:n,region:r&&r.option||{}}}function Mr(e,t,n,r,o){e.data||Ft.setTooltipConfig({el:t,componentModel:o,itemName:n,itemTooltipOption:r.get("tooltip")})}function zr(e,t,n,r,o){t.highDownSilentOnTouch=!!o.get("selectedMode");var i=r.getModel("emphasis"),a=i.get("focus");return(0,et.Lm)(t,a,i.get("blurScope"),i.get("disabled")),e.isGeo&&(0,et.ml)(t,o,n),a}function Rr(e,t,n){var r,o=[];function i(){r=[]}function a(){r.length&&(o.push(r),r=[])}var s=t({polygonStart:i,polygonEnd:a,lineStart:i,lineEnd:a,point:function(e,t){isFinite(e)&&isFinite(t)&&r.push([e,t])},sphere:function(){}});return!n&&s.polygonStart(),y.each(e,(function(e){s.lineStart();for(var t=0;t<e.length;t++)s.point(e[t][0],e[t][1]);s.lineEnd()})),!n&&s.polygonEnd(),o}var Dr=Tr,Ir=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var o=this.group;if(o.removeAll(),!e.getHostGeoModel()){if(this._mapDraw&&r&&"geoRoam"===r.type&&this._mapDraw.resetForLabelLayout(),r&&"geoRoam"===r.type&&"series"===r.componentType&&r.seriesId===e.id)(i=this._mapDraw)&&o.add(i.group);else if(e.needsDrawMap){var i=this._mapDraw||new Dr(n);o.add(i.group),i.draw(e,t,n,this,r),this._mapDraw=i}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,n)}}},t.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},t.prototype._renderSymbols=function(e,t,n){var r=e.originalData,o=this.group;r.each(r.mapDimension("value"),(function(t,n){if(!isNaN(t)){var i=r.getItemLayout(n);if(i&&i.point){var a=i.point,s=i.offset,l=new an.A({style:{fill:e.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:et.CA+1)});if(!s){var c=e.mainSeries.getData(),u=r.getName(n),d=c.indexOfName(u),f=r.getItemModel(n),h=f.getModel("label"),p=c.getItemGraphicEl(d);(0,ct.qM)(l,(0,ct.lx)(f),{labelFetcher:{getFormattedLabel:function(t,n){return e.getFormattedLabel(d,n)}},defaultText:u}),l.disableLabelAnimation=!0,h.get("position")||l.setTextConfig({position:"bottom"}),p.onHoverStateChange=function(e){(0,et.Pk)(l,e)}}o.add(l)}}}))},t.type="map",t}(tt.A),Nr=Ir,Lr=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,r=n.getRegion(t);return r&&n.dataToPoint(r.getCenter())}},n}return(0,Ye.C6)(t,e),t.prototype.getInitialData=function(e){for(var t=gt(this,{coordDimensions:["value"],encodeDefaulter:y.curry(At.ln,this)}),n=y.createHashMap(),r=[],o=0,i=t.count();o<i;o++){var a=t.getName(o);n.set(a,o)}var s=yr(this.getMapType(),this.option.nameMap,this.option.nameProperty);return y.each(s.regions,(function(e){var o,i=e.name,a=n.get(i),s=e.properties&&e.properties.echartsStyle;null==a?(o={name:i},r.push(o)):o=t.getRawDataItem(a),s&&y.merge(o,s)})),t.appendData(r),t},t.prototype.getHostGeoModel=function(){var e=this.option.geoIndex;return null!=e?this.ecModel.getComponent("geo",e):null},t.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},t.prototype.getRawValue=function(e){var t=this.getData();return t.get(t.mapDimension("value"),e)},t.prototype.getRegionModel=function(e){var t=this.getData();return t.getItemModel(t.indexOfName(e))},t.prototype.formatTooltip=function(e,t,n){for(var r=this.getData(),o=this.getRawValue(e),i=r.getName(e),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var c=a[l].originalData.indexOfName(i),u=r.mapDimension("value");isNaN(a[l].originalData.get(u,c))||s.push(a[l].name)}return(0,jt.Qx)("section",{header:s.join(", "),noHeader:!s.length,blocks:[(0,jt.Qx)("nameValue",{name:i,value:o})]})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.getLegendIcon=function(e){var t=e.icon||"roundRect",n=(0,Qt.v5)(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill);return n.setStyle(e.itemStyle),n.style.stroke="none",t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t}(yt.A),Vr=Lr;function Ur(e){var t={};e.eachSeriesByType("map",(function(e){var n=e.getHostGeoModel(),r=n?"o"+n.id:"i"+e.getMapType();(t[r]=t[r]||[]).push(e)})),y.each(t,(function(e,t){for(var n,r,o,i=(n=y.map(e,(function(e){return e.getData()})),r=e[0].get("mapValueCalculation"),o={},y.each(n,(function(e){e.each(e.mapDimension("value"),(function(t,n){var r="ec-"+e.getName(n);o[r]=o[r]||[],isNaN(t)||o[r].push(t)}))})),n[0].map(n[0].mapDimension("value"),(function(e,t){for(var i="ec-"+n[0].getName(t),a=0,s=1/0,l=-1/0,c=o[i].length,u=0;u<c;u++)s=Math.min(s,o[i][u]),l=Math.max(l,o[i][u]),a+=o[i][u];return 0===c?NaN:"min"===r?s:"max"===r?l:"average"===r?a/c:a}))),a=0;a<e.length;a++)e[a].originalData=e[a].getData();for(a=0;a<e.length;a++)e[a].seriesGroup=e,e[a].needsDrawMap=0===a&&!e[a].getHostGeoModel(),e[a].setData(i.cloneShallow()),e[a].mainSeries=e[0]}))}function Fr(e){var t={};e.eachSeriesByType("map",(function(n){var r=n.getMapType();if(!n.getHostGeoModel()&&!t[r]){var o={};y.each(n.seriesGroup,(function(t){var n=t.coordinateSystem,r=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&r.each(r.mapDimension("value"),(function(e,t){var i=r.getName(t),a=n.getRegion(i);if(a&&!isNaN(e)){var s=o[i]||0,l=n.dataToPoint(a.getCenter());o[i]=s+1,r.setItemLayout(t,{point:l,offset:s})}}))}));var i=n.getData();i.each((function(e){var t=i.getName(e),n=i.getItemLayout(e)||{};n.showLabel=!o[t],i.setItemLayout(e,n)})),t[r]=!0}}))}var Hr=n(83509),Wr=Hr.applyTransform,Xr=function(e){function t(t){var n=e.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new M.Ay,n._rawTransformable=new M.Ay,n.name=t,n}return(0,Ye.C6)(t,e),t.prototype.setBoundingRect=function(e,t,n,r){return this._rect=new Ct.A(e,t,n,r),this._rect},t.prototype.getBoundingRect=function(){return this._rect},t.prototype.setViewRect=function(e,t,n,r){this._transformTo(e,t,n,r),this._viewRect=new Ct.A(e,t,n,r)},t.prototype._transformTo=function(e,t,n,r){var o=this.getBoundingRect(),i=this._rawTransformable;i.transform=o.calculateTransform(new Ct.A(e,t,n,r));var a=i.parent;i.parent=null,i.decomposeTransform(),i.parent=a,this._updateTransform()},t.prototype.setCenter=function(e,t){e&&(this._center=[(0,Le.lo)(e[0],t.getWidth()),(0,Le.lo)(e[1],t.getHeight())],this._updateCenterAndZoom())},t.prototype.setZoom=function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},t.prototype.getDefaultCenter=function(){var e=this.getBoundingRect();return[e.x+e.width/2,e.y+e.height/2]},t.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},t.prototype.getZoom=function(){return this._zoom||1},t.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},t.prototype._updateCenterAndZoom=function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,n=this.getDefaultCenter(),r=this.getCenter(),o=this.getZoom();r=Hr.applyTransform([],r,e),n=Hr.applyTransform([],n,e),t.originX=r[0],t.originY=r[1],t.x=n[0]-r[0],t.y=n[1]-r[1],t.scaleX=t.scaleY=o,this._updateTransform()},t.prototype._updateTransform=function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),$n.copy(this.transform||(this.transform=[]),t.transform||$n.create()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],$n.invert(this.invTransform,this.transform),this.decomposeTransform()},t.prototype.getTransformInfo=function(){var e=this._rawTransformable,t=this._roamTransformable,n=new M.Ay;return n.transform=t.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:e.x,y:e.y,scaleX:e.scaleX,scaleY:e.scaleY}}},t.prototype.getViewRect=function(){return this._viewRect},t.prototype.getViewRectAfterRoam=function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},t.prototype.dataToPoint=function(e,t,n){var r=t?this._rawTransform:this.transform;return n=n||[],r?Wr(n,e,r):Hr.copy(n,e)},t.prototype.pointToData=function(e){var t=this.invTransform;return t?Wr([],e,t):[e[0],e[1]]},t.prototype.convertToPixel=function(e,t,n){var r=jr(t);return r===this?r.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,t,n){var r=jr(t);return r===this?r.pointToData(n):null},t.prototype.containPoint=function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])},t.dimensions=["x","y"],t}(M.Ay);function jr(e){var t=e.seriesModel;return t?t.coordinateSystem:null}var qr=Xr,Zr={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},Yr=["lng","lat"],Gr=function(e){function t(t,n,r){var o=e.call(this,t)||this;o.dimensions=Yr,o.type="geo",o._nameCoordMap=y.createHashMap(),o.map=n;var i,a=r.projection,s=yr(n,r.nameMap,r.nameProperty),l=vr(n),c=(o.resourceType=l?l.type:null,o.regions=s.regions),u=Zr[l.type];if(o._regionsMap=s.regionsMap,o.regions=s.regions,o.projection=a,a)for(var d=0;d<c.length;d++){var f=c[d].getBoundingRect(a);(i=i||f.clone()).union(f)}else i=s.boundingRect;return o.setBoundingRect(i.x,i.y,i.width,i.height),o.aspectScale=a?1:y.retrieve2(r.aspectScale,u.aspectScale),o._invertLongitute=!a&&u.invertLongitute,o}return(0,Ye.C6)(t,e),t.prototype._transformTo=function(e,t,n,r){var o=this.getBoundingRect(),i=this._invertLongitute;o=o.clone(),i&&(o.y=-o.y-o.height);var a=this._rawTransformable;a.transform=o.calculateTransform(new Ct.A(e,t,n,r));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,i&&(a.scaleY=-a.scaleY),this._updateTransform()},t.prototype.getRegion=function(e){return this._regionsMap.get(e)},t.prototype.getRegionByCoord=function(e){for(var t=this.regions,n=0;n<t.length;n++){var r=t[n];if("geoJSON"===r.type&&r.contain(e))return t[n]}},t.prototype.addGeoCoord=function(e,t){this._nameCoordMap.set(e,t)},t.prototype.getGeoCoord=function(e){var t=this._regionsMap.get(e);return this._nameCoordMap.get(e)||t&&t.getCenter()},t.prototype.dataToPoint=function(e,t,n){if(y.isString(e)&&(e=this.getGeoCoord(e)),e){var r=this.projection;return r&&(e=r.project(e)),e&&this.projectedToPoint(e,t,n)}},t.prototype.pointToData=function(e){var t=this.projection;return t&&(e=t.unproject(e)),e&&this.pointToProjected(e)},t.prototype.pointToProjected=function(t){return e.prototype.pointToData.call(this,t)},t.prototype.projectedToPoint=function(t,n,r){return e.prototype.dataToPoint.call(this,t,n,r)},t.prototype.convertToPixel=function(e,t,n){var r=Kr(t);return r===this?r.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,t,n){var r=Kr(t);return r===this?r.pointToData(n):null},t}(qr);function Kr(e){var t=e.geoModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",Ue.US).models[0]||{}).coordinateSystem:null}y.mixin(Gr,qr);var Jr=Gr;function eo(e,t){var n=e.get("boundingCoords");if(null!=n){var r=n[0],o=n[1];if(isFinite(r[0])&&isFinite(r[1])&&isFinite(o[0])&&isFinite(o[1])){var i=this.projection;if(i){var a=r[0],s=r[1],l=o[0],c=o[1];r=[1/0,1/0],o=[-1/0,-1/0];var u=function(e,t,n,a){for(var s=n-e,l=a-t,c=0;c<=100;c++){var u=c/100,d=i.project([e+s*u,t+l*u]);Hr.min(r,r,d),Hr.max(o,o,d)}};u(a,s,l,s),u(l,s,l,c),u(l,c,a,c),u(a,c,l,s)}this.setBoundingRect(r[0],r[1],o[0]-r[0],o[1]-r[1])}}var d,f,h,p=this.getBoundingRect(),m=e.get("layoutCenter"),g=e.get("layoutSize"),A=t.getWidth(),v=t.getHeight(),y=p.width/p.height*this.aspectScale,O=!1;if(m&&g&&(d=[Le.lo(m[0],A),Le.lo(m[1],v)],f=Le.lo(g,Math.min(A,v)),isNaN(d[0])||isNaN(d[1])||isNaN(f)||(O=!0)),O)h={},y>1?(h.width=f,h.height=f/y):(h.height=f,h.width=f*y),h.y=d[1]-h.height/2,h.x=d[0]-h.width/2;else{var b=e.getBoxLayoutParams();b.aspect=y,h=Ve.dV(b,{width:A,height:v})}this.setViewRect(h.x,h.y,h.width,h.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}var to=function(){function e(){this.dimensions=Yr}return e.prototype.create=function(e,t){var n=[];function r(e){return{nameProperty:e.get("nameProperty"),aspectScale:e.get("aspectScale"),projection:e.get("projection")}}e.eachComponent("geo",(function(e,o){var i=e.get("map"),a=new Jr(i+o,i,y.extend({nameMap:e.get("nameMap")},r(e)));a.zoomLimit=e.get("scaleLimit"),n.push(a),e.coordinateSystem=a,a.model=e,a.resize=eo,a.resize(e,t)})),e.eachSeries((function(e){if("geo"===e.get("coordinateSystem")){var t=e.get("geoIndex")||0;e.coordinateSystem=n[t]}}));var o={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();o[t]=o[t]||[],o[t].push(e)}})),y.each(o,(function(e,o){var i=y.map(e,(function(e){return e.get("nameMap")})),a=new Jr(o,o,y.extend({nameMap:y.mergeAll(i)},r(e[0])));a.zoomLimit=y.retrieve.apply(null,y.map(e,(function(e){return e.get("scaleLimit")}))),n.push(a),a.resize=eo,a.resize(e[0],t),y.each(e,(function(e){e.coordinateSystem=a,function(e,t){y.each(t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}(a,e)}))})),n},e.prototype.getFilledRegions=function(e,t,n,r){for(var o=(e||[]).slice(),i=y.createHashMap(),a=0;a<o.length;a++)i.set(o[a].name,o[a]);var s=yr(t,n,r);return y.each(s.regions,(function(e){var t=e.name,n=i.get(t),r=e.properties&&e.properties.echartsStyle;n||(n={name:t},o.push(n)),r&&y.merge(n,r)})),o},e}(),no=new to,ro=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.init=function(e,t,n){var r=vr(e.map);if(r&&"geoJSON"===r.type){var o=e.itemStyle=e.itemStyle||{};"color"in o||(o.color="#eee")}this.mergeDefaultAndTheme(e,n),Ue.M5(e,"label",["show"])},t.prototype.optionUpdated=function(){var e=this,t=this.option;t.regions=no.getFilledRegions(t.regions,t.map,t.nameMap,t.nameProperty);var n={};this._optionModelMap=y.reduce(t.regions||[],(function(t,r){var o=r.name;return o&&(t.set(o,new Gt.A(r,e,e.ecModel)),r.selected&&(n[o]=!0)),t}),y.createHashMap()),t.selectedMap||(t.selectedMap=n)},t.prototype.getRegionModel=function(e){return this._optionModelMap.get(e)||new Gt.A(null,this,this.ecModel)},t.prototype.getFormattedLabel=function(e,t){var n=this.getRegionModel(e),r="normal"===t?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),o={name:e};return y.isFunction(r)?(o.status=t,r(o)):y.isString(r)?r.replace("{a}",null!=e?e:""):void 0},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.select=function(e){var t=this.option,n=t.selectedMode;n&&("multiple"!==n&&(t.selectedMap=null),(t.selectedMap||(t.selectedMap={}))[e]=!0)},t.prototype.unSelect=function(e){var t=this.option.selectedMap;t&&(t[e]=!1)},t.prototype.toggleSelected=function(e){this[this.isSelected(e)?"unSelect":"select"](e)},t.prototype.isSelected=function(e){var t=this.option.selectedMap;return!(!t||!t[e])},t.type="geo",t.layoutMode="box",t.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},t}(Jt.A),oo=ro;function io(e,t){return e.pointToProjected?e.pointToProjected(t):e.pointToData(t)}function ao(e,t,n,r){var o=e.getZoom(),i=e.getCenter(),a=t.zoom,s=e.projectedToPoint?e.projectedToPoint(i):e.dataToPoint(i);if(null!=t.dx&&null!=t.dy&&(s[0]-=t.dx,s[1]-=t.dy,e.setCenter(io(e,s),r)),null!=a){if(n){var l=n.min||0,c=n.max||1/0;a=Math.max(Math.min(o*a,c),l)/o}e.scaleX*=a,e.scaleY*=a;var u=(t.originX-e.x)*(a-1),d=(t.originY-e.y)*(a-1);e.x-=u,e.y-=d,e.updateTransform(),e.setCenter(io(e,s),r),e.setZoom(a*o)}return{center:e.getCenter(),zoom:e.getZoom()}}var so=n(47411),lo=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.focusBlurEnabled=!0,n}return(0,Ye.C6)(t,e),t.prototype.init=function(e,t){this._api=t},t.prototype.render=function(e,t,n,r){if(this._model=e,!e.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new Dr(n));var o=this._mapDraw;o.draw(e,t,n,this,r),o.group.on("click",this._handleRegionClick,this),o.group.silent=e.get("silent"),this.group.add(o.group),this.updateSelectStatus(e,t,n)},t.prototype._handleRegionClick=function(e){var t;(0,so.R)(e.target,(function(e){return null!=(t=(0,Tt.z)(e).eventData)}),!0),t&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:t.name})},t.prototype.updateSelectStatus=function(e,t,n){var r=this;this._mapDraw.group.traverse((function(e){var t=(0,Tt.z)(e).eventData;if(t)return r._model.isSelected(t.name)?n.enterSelect(e):n.leaveSelect(e),!0}))},t.prototype.findHighDownDispatchers=function(e){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(e,this._model)},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},t.type="geo",t}(ln.A),co=lo;function uo(e,t,n){!function(e,t,n){if(t.svg){var r=new ar(e,t.svg);Ar.set(e,r)}else{var o=t.geoJson||t.geoJSON;o&&!t.features?n=t.specialAreas:o=t,r=new mr(e,o,n),Ar.set(e,r)}}(e,t,n)}function fo(e){function t(t,n){n.update="geo:updateSelectStatus",e.registerAction(n,(function(e,n){var r={},o=[];return n.eachComponent({mainType:"geo",query:e},(function(n){n[t](e.name);var i=n.coordinateSystem;(0,y.each)(i.regions,(function(e){r[e.name]=n.isSelected(e.name)||!1}));var a=[];(0,y.each)(r,(function(e,t){r[t]&&a.push(t)})),o.push({geoIndex:n.componentIndex,name:a})})),{selected:r,allSelected:o,name:e.name}}))}e.registerCoordinateSystem("geo",no),e.registerComponentModel(oo),e.registerComponentView(co),e.registerImpl("registerMap",uo),e.registerImpl("getMap",(function(e){return function(e){var t=Ar.get(e);return t&&"geoJSON"===t.type&&t.getMapForUser()}(e)})),t("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),t("select",{type:"geoSelect",event:"geoselected"}),t("unSelect",{type:"geoUnSelect",event:"geounselected"}),e.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t,n){var r=e.componentType||"series";t.eachComponent({mainType:r,query:e},(function(t){var o=t.coordinateSystem;if("geo"===o.type){var i=ao(o,e,t.get("scaleLimit"),n);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom),"series"===r&&(0,y.each)(t.seriesGroup,(function(e){e.setCenter(i.center),e.setZoom(i.zoom)}))}}))}))}var ho=n(53849),po=n(10128);function mo(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,o=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){!function(e){for(var t=e.children,n=t.length,r=0,o=0;--n>=0;){var i=t[n];i.hierNode.prelim+=r,i.hierNode.modifier+=r,o+=i.hierNode.change,r+=i.hierNode.shift+o}}(e);var i=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;o?(e.hierNode.prelim=o.hierNode.prelim+t(e,o),e.hierNode.modifier=e.hierNode.prelim-i):e.hierNode.prelim=i}else o&&(e.hierNode.prelim=o.hierNode.prelim+t(e,o));e.parentNode.hierNode.defaultAncestor=function(e,t,n,r){if(t){for(var o=e,i=e,a=i.parentNode.children[0],s=t,l=o.hierNode.modifier,c=i.hierNode.modifier,u=a.hierNode.modifier,d=s.hierNode.modifier;s=Oo(s),i=bo(i),s&&i;){o=Oo(o),a=bo(a),o.hierNode.ancestor=e;var f=s.hierNode.prelim+d-i.hierNode.prelim-c+r(s,i);f>0&&(_o(wo(s,e,n),e,f),c+=f,l+=f),d+=s.hierNode.modifier,c+=i.hierNode.modifier,l+=o.hierNode.modifier,u+=a.hierNode.modifier}s&&!Oo(o)&&(o.hierNode.thread=s,o.hierNode.modifier+=d-l),i&&!bo(a)&&(a.hierNode.thread=i,a.hierNode.modifier+=c-u,n=e)}return n}(e,o,e.parentNode.hierNode.defaultAncestor||r[0],t)}function go(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function Ao(e){return arguments.length?e:xo}function vo(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function yo(e,t){return Ve.dV(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Oo(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function bo(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function wo(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function _o(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function xo(e,t){return e.parentNode===t.parentNode?1:2}var So=n(48813),ko=function(){this.parentPoint=[],this.childPoints=[]},Co=function(e){function t(t){return e.call(this,t)||this}return(0,Ye.C6)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new ko},t.prototype.buildPath=function(e,t){var n=t.childPoints,r=n.length,o=t.parentPoint,i=n[0],a=n[r-1];if(1===r)return e.moveTo(o[0],o[1]),void e.lineTo(i[0],i[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,c=1-l,u=(0,Le.lo)(t.forkPosition,1),d=[];d[l]=o[l],d[c]=o[c]+(a[c]-o[c])*u,e.moveTo(o[0],o[1]),e.lineTo(d[0],d[1]),e.moveTo(i[0],i[1]),d[l]=i[l],e.lineTo(d[0],d[1]),d[l]=a[l],e.lineTo(d[0],d[1]),e.lineTo(a[0],a[1]);for(var f=1;f<r-1;f++){var h=n[f];e.moveTo(h[0],h[1]),d[l]=h[l],e.lineTo(d[0],d[1])}},t}(s.Ay),Bo=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._mainGroup=new Bt.A,n}return(0,Ye.C6)(t,e),t.prototype.init=function(e,t){this._controller=new Sn(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.prototype.render=function(e,t,n){var r=e.getData(),o=e.layoutInfo,i=this._mainGroup;"radial"===e.get("layout")?(i.x=o.x+o.width/2,i.y=o.y+o.height/2):(i.x=o.x,i.y=o.y),this._updateViewCoordSys(e,n),this._updateController(e,t,n);var a=this._data;r.diff(a).add((function(t){Qo(r,t)&&To(r,t,null,i,e)})).update((function(t,n){var o=a.getItemGraphicEl(n);Qo(r,t)?To(r,t,o,i,e):o&&$o(a,n,o,i,e)})).remove((function(t){var n=a.getItemGraphicEl(t);n&&$o(a,t,n,i,e)})).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===e.get("expandAndCollapse")&&r.eachItemGraphicEl((function(t,r){t.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:r})}))})),this._data=r},t.prototype._updateViewCoordSys=function(e,t){var n=e.getData(),r=[];n.each((function(e){var t=n.getItemLayout(e);!t||isNaN(t.x)||isNaN(t.y)||r.push([+t.x,+t.y])}));var o=[],i=[];So.Cr(r,o,i);var a=this._min,s=this._max;i[0]-o[0]==0&&(o[0]=a?a[0]:o[0]-1,i[0]=s?s[0]:i[0]+1),i[1]-o[1]==0&&(o[1]=a?a[1]:o[1]-1,i[1]=s?s[1]:i[1]+1);var l=e.coordinateSystem=new qr;l.zoomLimit=e.get("scaleLimit"),l.setBoundingRect(o[0],o[1],i[0]-o[0],i[1]-o[1]),l.setCenter(e.get("center"),t),l.setZoom(e.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=o,this._max=i},t.prototype._updateController=function(e,t,n){var r=this,o=this._controller,i=this._controllerHost,a=this.group;o.setPointerChecker((function(t,r,o){var i=a.getBoundingRect();return i.applyTransform(a.transform),i.contain(r,o)&&!(0,Qn.I)(t,n,e)})),o.enable(e.get("roam")),i.zoomLimit=e.get("scaleLimit"),i.zoom=e.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",(function(t){kn(i,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){Cn(i,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),r._updateNodeAndLinkScale(e),n.updateLabelLayout()}))},t.prototype._updateNodeAndLinkScale=function(e){var t=e.getData(),n=this._getNodeGlobalScale(e);t.eachItemGraphicEl((function(e,t){e.setSymbolScale(n)}))},t.prototype._getNodeGlobalScale=function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=this._nodeScaleRatio,r=t.scaleX||1;return((t.getZoom()-1)*n+1)/r},t.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},t.type="tree",t}(tt.A);function Qo(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)}function To(e,t,n,r,o){var i=!n,a=e.tree.getNodeByDataIndex(t),s=a.getModel(),l=a.getVisual("style").fill,c=!1===a.isExpand&&0!==a.children.length?l:"#fff",u=e.tree.root,d=a.parentNode===u?a:a.parentNode||a,f=e.getItemGraphicEl(d.dataIndex),h=d.getLayout(),p=f?{x:f.__oldX,y:f.__oldY,rawX:f.__radialOldRawX,rawY:f.__radialOldRawY}:h,m=a.getLayout();i?((n=new po.A(e,t,null,{symbolInnerColor:c,useNameLabel:!0})).x=p.x,n.y=p.y):n.updateData(e,t,null,{symbolInnerColor:c,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=m.rawX,n.__radialRawY=m.rawY,r.add(n),e.setItemGraphicEl(t,n),n.__oldX=n.x,n.__oldY=n.y,Ge.oi(n,{x:m.x,y:m.y},o);var g=n.getSymbolPath();if("radial"===o.get("layout")){var A=u.children[0],v=A.getLayout(),O=A.children.length,b=void 0,w=void 0;if(m.x===v.x&&!0===a.isExpand&&A.children.length){var _={x:(A.children[0].getLayout().x+A.children[O-1].getLayout().x)/2,y:(A.children[0].getLayout().y+A.children[O-1].getLayout().y)/2};(b=Math.atan2(_.y-v.y,_.x-v.x))<0&&(b=2*Math.PI+b),(w=_.x<v.x)&&(b-=Math.PI)}else(b=Math.atan2(m.y-v.y,m.x-v.x))<0&&(b=2*Math.PI+b),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(w=m.x<v.x)&&(b-=Math.PI):(w=m.x>v.x)||(b-=Math.PI);var x=w?"left":"right",S=s.getModel("label"),k=S.get("rotate"),C=k*(Math.PI/180),B=g.getTextContent();B&&(g.setTextConfig({position:S.get("position")||x,rotation:null==k?-b:C,origin:"center"}),B.setStyle("verticalAlign","middle"))}var Q=s.get(["emphasis","focus"]),T="relative"===Q?y.concatArray(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===Q?a.getAncestorsIndices():"descendant"===Q?a.getDescendantIndices():null;T&&((0,Tt.z)(n).focus=T),function(e,t,n,r,o,i,a,s){var l=t.getModel(),c=e.get("edgeShape"),u=e.get("layout"),d=e.getOrient(),f=e.get(["lineStyle","curveness"]),h=e.get("edgeForkPosition"),p=l.getModel("lineStyle").getLineStyle(),m=r.__edge;if("curve"===c)t.parentNode&&t.parentNode!==n&&(m||(m=r.__edge=new ho.A({shape:Mo(u,d,f,o,o)})),Ge.oi(m,{shape:Mo(u,d,f,i,a)},e));else if("polyline"===c&&"orthogonal"===u&&t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var g=t.children,A=[],v=0;v<g.length;v++){var O=g[v].getLayout();A.push([O.x,O.y])}m||(m=r.__edge=new Co({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:d,forkPosition:h}})),Ge.oi(m,{shape:{parentPoint:[a.x,a.y],childPoints:A}},e)}m&&("polyline"!==c||t.isExpand)&&(m.useStyle(y.defaults({strokeNoScale:!0,fill:null},p)),(0,et.Mx)(m,l,"lineStyle"),(0,et.DW)(m),s.add(m))}(o,a,u,n,p,h,m,r),n.__edge&&(n.onHoverStateChange=function(t){if("blur"!==t){var r=a.parentNode&&e.getItemGraphicEl(a.parentNode.dataIndex);r&&r.hoverState===et.zX||(0,et.Pk)(n.__edge,t)}})}function Eo(e,t,n,r,o){var i=Po(t.tree.root,e),a=i.source,s=i.sourceLayout,l=t.getItemGraphicEl(e.dataIndex);if(l){var c=t.getItemGraphicEl(a.dataIndex).__edge,u=l.__edge||(!1===a.isExpand||1===a.children.length?c:void 0),d=r.get("edgeShape"),f=r.get("layout"),h=r.get("orient"),p=r.get(["lineStyle","curveness"]);u&&("curve"===d?Ge.Nz(u,{shape:Mo(f,h,p,s,s),style:{opacity:0}},r,{cb:function(){n.remove(u)},removeOpt:o}):"polyline"===d&&"orthogonal"===r.get("layout")&&Ge.Nz(u,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},r,{cb:function(){n.remove(u)},removeOpt:o}))}}function Po(e,t){for(var n,r=t.parentNode===e?t:t.parentNode||t;null==(n=r.getLayout());)r=r.parentNode===e?r:r.parentNode||r;return{source:r,sourceLayout:n}}function $o(e,t,n,r,o){var i=e.tree.getNodeByDataIndex(t),a=Po(e.tree.root,i).sourceLayout,s={duration:o.get("animationDurationUpdate"),easing:o.get("animationEasingUpdate")};Ge.Nz(n,{x:a.x+1,y:a.y+1},o,{cb:function(){r.remove(n),e.setItemGraphicEl(t,null)},removeOpt:s}),n.fadeOut(null,e.hostModel,{fadeLabel:!0,animation:s}),i.children.forEach((function(t){Eo(t,e,r,o,s)})),Eo(i,e,r,o,s)}function Mo(e,t,n,r,o){var i,a,s,l,c,u,d,f;if("radial"===e){c=r.rawX,d=r.rawY,u=o.rawX,f=o.rawY;var h=vo(c,d),p=vo(c,d+(f-d)*n),m=vo(u,f+(d-f)*n),g=vo(u,f);return{x1:h.x||0,y1:h.y||0,x2:g.x||0,y2:g.y||0,cpx1:p.x||0,cpy1:p.y||0,cpx2:m.x||0,cpy2:m.y||0}}return c=r.x,d=r.y,u=o.x,f=o.y,"LR"!==t&&"RL"!==t||(i=c+(u-c)*n,a=d,s=u+(c-u)*n,l=f),"TB"!==t&&"BT"!==t||(i=c,a=d+(f-d)*n,s=u,l=f+(d-f)*n),{x1:c,y1:d,x2:u,y2:f,cpx1:i,cpy1:a,cpx2:s,cpy2:l}}var zo=Bo,Ro=(0,Ue.$r)();function Do(e,t){if(Ro(this).mainData===this){var n=(0,y.extend)({},Ro(this).datas);n[this.dataType]=t,Uo(t,n,e)}else Fo(t,this.dataType,Ro(this).mainData,e);return t}function Io(e,t){return e.struct&&e.struct.update(),t}function No(e,t){return(0,y.each)(Ro(t).datas,(function(n,r){n!==t&&Fo(n.cloneShallow(),r,t,e)})),t}function Lo(e){var t=Ro(this).mainData;return null==e||null==t?t:Ro(t).datas[e]}function Vo(){var e=Ro(this).mainData;return null==e?[{data:e}]:(0,y.map)((0,y.keys)(Ro(e).datas),(function(t){return{type:t,data:Ro(e).datas[t]}}))}function Uo(e,t,n){Ro(e).datas={},(0,y.each)(t,(function(t,r){Fo(t,r,e,n)}))}function Fo(e,t,n,r){Ro(n).datas[t]=e,Ro(e).mainData=n,e.dataType=t,r.struct&&(e[r.structAttr]=r.struct,r.struct[r.datasAttr[t]]=e),e.getLinkedData=Lo,e.getLinkedDataAll=Vo}var Ho=function(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,Uo(t,n,e),(0,y.each)(n,(function(n){(0,y.each)(t.TRANSFERABLE_METHODS,(function(t){n.wrapMethod(t,(0,y.curry)(Do,e))}))})),t.wrapMethod("cloneShallow",(0,y.curry)(No,e)),(0,y.each)(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,(0,y.curry)(Io,e))})),(0,y.assert)(n[t.dataType]===t)},Wo=function(){function e(e,t){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=e||"",this.hostTree=t}return e.prototype.isRemoved=function(){return this.dataIndex<0},e.prototype.eachNode=function(e,t,n){y.isFunction(e)&&(n=t,t=e,e=null),e=e||{},y.isString(e)&&(e={order:e});var r,o=e.order||"preorder",i=this[e.attr||"children"];"preorder"===o&&(r=t.call(n,this));for(var a=0;!r&&a<i.length;a++)i[a].eachNode(e,t,n);"postorder"===o&&t.call(n,this)},e.prototype.updateDepthAndHeight=function(e){var t=0;this.depth=e;for(var n=0;n<this.children.length;n++){var r=this.children[n];r.updateDepthAndHeight(e+1),r.height>t&&(t=r.height)}this.height=t+1},e.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,r=n.length;t<r;t++){var o=n[t].getNodeById(e);if(o)return o}},e.prototype.contains=function(e){if(e===this)return!0;for(var t=0,n=this.children,r=n.length;t<r;t++){var o=n[t].contains(e);if(o)return o}},e.prototype.getAncestors=function(e){for(var t=[],n=e?this:this.parentNode;n;)t.push(n),n=n.parentNode;return t.reverse(),t},e.prototype.getAncestorsIndices=function(){for(var e=[],t=this;t;)e.push(t.dataIndex),t=t.parentNode;return e.reverse(),e},e.prototype.getDescendantIndices=function(){var e=[];return this.eachNode((function(t){e.push(t.dataIndex)})),e},e.prototype.getValue=function(e){var t=this.hostTree.data;return t.getStore().get(t.getDimensionIndex(e||"value"),this.dataIndex)},e.prototype.setLayout=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},e.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},e.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(e)},e.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},e.prototype.setVisual=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},e.prototype.getVisual=function(e){return this.hostTree.data.getItemVisual(this.dataIndex,e)},e.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},e.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},e.prototype.getChildIndex=function(){if(this.parentNode){for(var e=this.parentNode.children,t=0;t<e.length;++t)if(e[t]===this)return t;return-1}return-1},e.prototype.isAncestorOf=function(e){for(var t=e.parentNode;t;){if(t===this)return!0;t=t.parentNode}return!1},e.prototype.isDescendantOf=function(e){return e!==this&&e.isAncestorOf(this)},e}(),Xo=function(){function e(e){this.type="tree",this._nodes=[],this.hostModel=e}return e.prototype.eachNode=function(e,t,n){this.root.eachNode(e,t,n)},e.prototype.getNodeByDataIndex=function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},e.prototype.getNodeById=function(e){return this.root.getNodeById(e)},e.prototype.update=function(){for(var e=this.data,t=this._nodes,n=0,r=t.length;n<r;n++)t[n].dataIndex=-1;for(n=0,r=e.count();n<r;n++)t[e.getRawIndex(n)].dataIndex=n},e.prototype.clearLayouts=function(){this.data.clearItemLayouts()},e.createTree=function(t,n,r){var o=new e(n),i=[],a=1;!function e(t,n){var r=t.value;a=Math.max(a,y.isArray(r)?r.length:1),i.push(t);var s=new Wo((0,Ue.vS)(t.name,""),o);n?function(e,t){var n=t.children;e.parentNode!==t&&(n.push(e),e.parentNode=t)}(s,n):o.root=s,o._nodes.push(s);var l=t.children;if(l)for(var c=0;c<l.length;c++)e(l[c],s)}(t),o.root.updateDepthAndHeight(0);var s=(0,pt.A)(i,{coordDimensions:["value"],dimensionsCount:a}).dimensions,l=new mt.A(s,n);return l.initData(i),r&&r(l),Ho({mainData:l,struct:o,structAttr:"tree"}),o.update(),o},e}(),jo=Xo;function qo(e,t,n){if(e&&y.indexOf(t,e.type)>=0){var r=n.getData().tree.root,o=e.targetNode;if(y.isString(o)&&(o=r.getNodeById(o)),o&&r.contains(o))return{node:o};var i=e.targetNodeId;if(null!=i&&(o=r.getNodeById(i)))return{node:o}}}function Zo(e){for(var t=[];e;)(e=e.parentNode)&&t.push(e);return t.reverse()}function Yo(e,t){var n=Zo(e);return y.indexOf(n,t)>=0}function Go(e,t){for(var n=[];e;){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}var Ko=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return(0,Ye.C6)(t,e),t.prototype.getInitialData=function(e){var t={name:e.name,children:e.data},n=e.leaves||{},r=new Gt.A(n,this,this.ecModel),o=jo.createTree(t,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=o.getNodeByDataIndex(t);return n&&n.children.length&&n.isExpand||(e.parentModel=r),e}))})),i=0;o.eachNode("preorder",(function(e){e.depth>i&&(i=e.depth)}));var a=e.expandAndCollapse&&e.initialTreeDepth>=0?e.initialTreeDepth:i;return o.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=a})),o.data},t.prototype.getOrient=function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,t,n){for(var r=this.getData().tree,o=r.root.children[0],i=r.getNodeByDataIndex(e),a=i.getValue(),s=i.name;i&&i!==o;)s=i.parentNode.name+"."+s,i=i.parentNode;return(0,jt.Qx)("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=Go(r,this),n.collapsed=!r.isExpand,n},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(yt.A),Jo=Ko;function ei(e,t){for(var n,r=[e];n=r.pop();)if(t(n),n.isExpand){var o=n.children;if(o.length)for(var i=o.length-1;i>=0;i--)r.push(o[i])}}function ti(e,t){e.eachSeriesByType("tree",(function(e){!function(e,t){var n=yo(e,t);e.layoutInfo=n;var r=e.get("layout"),o=0,i=0,a=null;"radial"===r?(o=2*Math.PI,i=Math.min(n.height,n.width)/2,a=Ao((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(o=n.width,i=n.height,a=Ao());var s=e.getData().tree.root,l=s.children[0];if(l){!function(e){var t=e;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,r,o=[t];n=o.pop();)if(r=n.children,n.isExpand&&r.length)for(var i=r.length-1;i>=0;i--){var a=r[i];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:i,thread:null},o.push(a)}}(s),function(e,t,n){for(var r,o=[e],i=[];r=o.pop();)if(i.push(r),r.isExpand){var a=r.children;if(a.length)for(var s=0;s<a.length;s++)o.push(a[s])}for(;r=i.pop();)t(r,n)}(l,mo,a),s.hierNode.modifier=-l.hierNode.prelim,ei(l,go);var c=l,u=l,d=l;ei(l,(function(e){var t=e.getLayout().x;t<c.getLayout().x&&(c=e),t>u.getLayout().x&&(u=e),e.depth>d.depth&&(d=e)}));var f=c===u?1:a(c,u)/2,h=f-c.getLayout().x,p=0,m=0,g=0,A=0;if("radial"===r)p=o/(u.getLayout().x+f+h),m=i/(d.depth-1||1),ei(l,(function(e){g=(e.getLayout().x+h)*p,A=(e.depth-1)*m;var t=vo(g,A);e.setLayout({x:t.x,y:t.y,rawX:g,rawY:A},!0)}));else{var v=e.getOrient();"RL"===v||"LR"===v?(m=i/(u.getLayout().x+f+h),p=o/(d.depth-1||1),ei(l,(function(e){A=(e.getLayout().x+h)*m,g="LR"===v?(e.depth-1)*p:o-(e.depth-1)*p,e.setLayout({x:g,y:A},!0)}))):"TB"!==v&&"BT"!==v||(p=o/(u.getLayout().x+f+h),m=i/(d.depth-1||1),ei(l,(function(e){g=(e.getLayout().x+h)*p,A="TB"===v?(e.depth-1)*m:i-(e.depth-1)*m,e.setLayout({x:g,y:A},!0)})))}}}(e,t)}))}function ni(e){e.eachSeriesByType("tree",(function(e){var t=e.getData();t.tree.eachNode((function(e){var n=e.getModel().getModel("itemStyle").getItemStyle(),r=t.ensureUniqueItemVisual(e.dataIndex,"style");(0,y.extend)(r,n)}))}))}var ri=["treemapZoomToNode","treemapRender","treemapMove"],oi=n(96501);function ii(e){var t=e.getData().tree,n={};t.eachNode((function(t){for(var r=t;r&&r.depth>1;)r=r.parentNode;var o=(0,oi.x)(e.ecModel,r.name||r.dataIndex+"",n);t.setVisual("decal",o)}))}var ai=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventUsingHoverLayer=!0,n}return(0,Ye.C6)(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};si(n);var r=e.levels||[],o=this.designatedVisualItemStyle={},i=new Gt.A({itemStyle:o},this,t);r=e.levels=function(e,t){var n,r,o=(0,Ue.qB)(t.get("color")),i=(0,Ue.qB)(t.get(["aria","decal","decals"]));if(o){e=e||[],y.each(e,(function(e){var t=new Gt.A(e),o=t.get("color"),i=t.get("decal");(t.get(["itemStyle","color"])||o&&"none"!==o)&&(n=!0),(t.get(["itemStyle","decal"])||i&&"none"!==i)&&(r=!0)}));var a=e[0]||(e[0]={});return n||(a.color=o.slice()),!r&&i&&(a.decal=i.slice()),e}}(r,t);var a=y.map(r||[],(function(e){return new Gt.A(e,i,t)}),this),s=jo.createTree(n,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=s.getNodeByDataIndex(t),r=n?a[n.depth]:null;return e.parentModel=r||i,e}))}));return s.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),o=this.getRawValue(e),i=r.getName(e);return(0,jt.Qx)("nameValue",{name:i,value:o})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=Go(r,this),n.treePathInfo=n.treeAncestors,n},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},y.extend(this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=y.createHashMap(),this._idIndexMapCount=0);var n=t.get(e);return null==n&&t.set(e,n=this._idIndexMapCount++),n},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){ii(this)},t.type="series.treemap",t.layoutMode="box",t.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t}(yt.A);function si(e){var t=0;y.each(e.children,(function(e){si(e);var n=e.value;y.isArray(n)&&(n=n[0]),t+=n}));var n=e.value;y.isArray(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),y.isArray(e.value)?e.value[0]=n:e.value=n}var li=ai,ci=n(16563),ui=function(){function e(e){this.group=new Bt.A,e.add(this.group)}return e.prototype.render=function(e,t,n,r){var o=e.getModel("breadcrumb"),i=this.group;if(i.removeAll(),o.get("show")&&n){var a=o.getModel("itemStyle"),s=o.getModel("emphasis"),l=a.getModel("textStyle"),c=s.getModel(["itemStyle","textStyle"]),u={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(e,u,a,s,l,c,r),Ve.m$(i,u.pos,u.box)}},e.prototype._prepare=function(e,t,n){for(var r=e;r;r=r.parentNode){var o=(0,Ue.vS)(r.getModel().get("name"),""),i=n.getTextRect(o),a=Math.max(i.width+16,t.emptyItemWidth);t.totalWidth+=a+8,t.renderList.push({node:r,text:o,width:a})}},e.prototype._renderContent=function(e,t,n,r,o,i,a){for(var s=0,l=t.emptyItemWidth,c=e.get(["breadcrumb","height"]),u=Ve.HU(t.pos,t.box),d=t.totalWidth,f=t.renderList,h=r.getModel("itemStyle").getItemStyle(),p=f.length-1;p>=0;p--){var m=f[p],g=m.node,A=m.width,v=m.text;d>u.width&&(d-=A-l,A=l,v=null);var O=new Ht.A({shape:{points:di(s,0,A,c,p===f.length-1,0===p)},style:(0,y.defaults)(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new q.Ay({style:(0,ct.VB)(o,{text:v})}),textConfig:{position:"inside"},z2:1e4*et.CA,onclick:(0,y.curry)(a,g)});O.disableLabelAnimation=!0,O.getTextContent().ensureState("emphasis").style=(0,ct.VB)(i,{text:v}),O.ensureState("emphasis").style=h,(0,et.Lm)(O,r.get("focus"),r.get("blurScope"),r.get("disabled")),this.group.add(O),fi(O,e,g),s+=A+8}},e.prototype.remove=function(){this.group.removeAll()},e}();function di(e,t,n,r,o,i){var a=[[o?e:e-5,t],[e+n,t],[e+n,t+r],[o?e:e-5,t+r]];return!i&&a.splice(2,0,[e+n+5,t+r/2]),!o&&a.push([e,t+r/2]),a}function fi(e,t,n){(0,Tt.z)(e).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&Go(n,t)}}var hi=ui,pi=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(e,t,n,r,o){return!this._elExistsMap[e.id]&&(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:t,duration:n,delay:r,easing:o}),!0)},e.prototype.finished=function(e){return this._finishedCallback=e,this},e.prototype.start=function(){for(var e=this,t=this._storage.length,n=function(){--t<=0&&(e._storage.length=0,e._elExistsMap={},e._finishedCallback&&e._finishedCallback())},r=0,o=this._storage.length;r<o;r++){var i=this._storage[r];i.el.animateTo(i.target,{duration:i.duration,delay:i.delay,easing:i.easing,setToFinal:!0,done:n,aborted:n})}return this},e}(),mi=n(32944),gi=n(83412),Ai=Bt.A,vi=Tn.A,yi="label",Oi="upperLabel",bi=10*et.CA,wi=2*et.CA,_i=3*et.CA,xi=(0,mi.A)([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),Si=function(e){var t=xi(e);return t.stroke=t.fill=t.lineWidth=null,t},ki=(0,Ue.$r)(),Ci=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._state="ready",n._storage={nodeGroup:[],background:[],content:[]},n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n,r){var o=t.findComponents({mainType:"series",subType:"treemap",query:r});if(!((0,y.indexOf)(o,e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var i=qo(r,["treemapZoomToNode","treemapRootToNode"],e),a=r&&r.type,s=e.layoutInfo,l=!this._oldTree,c=this._storage,u="treemapRootToNode"===a&&i&&c?{rootNodeGroup:c.nodeGroup[i.node.getRawIndex()],direction:r.direction}:null,d=this._giveContainerGroup(s),f=e.get("animation"),h=this._doRender(d,e,u);!f||l||a&&"treemapZoomToNode"!==a&&"treemapRootToNode"!==a?h.renderFinally():this._doAnimation(d,h,e,u),this._resetController(n),this._renderBreadcrumb(e,n,i)}},t.prototype._giveContainerGroup=function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new Ai,this._initEvents(t),this.group.add(t)),t.x=e.x,t.y=e.y,t},t.prototype._doRender=function(e,t,n){var r=t.getData().tree,o=this._oldTree,i={nodeGroup:[],background:[],content:[]},a={nodeGroup:[],background:[],content:[]},s=this._storage,l=[];function c(e,r,o,c){return function(e,t,n,r,o,i,a,s,l,c){if(a){var u=a.getLayout(),d=e.getData(),f=a.getModel();if(d.setItemGraphicEl(a.dataIndex,null),u&&u.isInView){var h=u.width,p=u.height,m=u.borderWidth,g=u.invisible,A=a.getRawIndex(),v=s&&s.getRawIndex(),O=a.viewChildren,b=u.upperHeight,w=O&&O.length,_=f.getModel("itemStyle"),x=f.getModel(["emphasis","itemStyle"]),S=f.getModel(["blur","itemStyle"]),k=f.getModel(["select","itemStyle"]),C=_.get("borderRadius")||0,B=L("nodeGroup",Ai);if(B){if(l.add(B),B.x=u.x||0,B.y=u.y||0,B.markRedraw(),ki(B).nodeWidth=h,ki(B).nodeHeight=p,u.isAboveViewRoot)return B;var Q=L("background",vi,c,wi);Q&&function(t,n,r){var o=(0,Tt.z)(n);if(o.dataIndex=a.dataIndex,o.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:h,height:p,r:C}),g)D(n);else{n.invisible=!1;var i=a.getVisual("style"),s=i.stroke,l=Si(_);l.fill=s;var c=xi(x);c.fill=x.get("borderColor");var u=xi(S);u.fill=S.get("borderColor");var d=xi(k);if(d.fill=k.get("borderColor"),r){var f=h-2*m;I(n,s,i.opacity,{x:m,y:0,width:f,height:b})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=c,n.ensureState("blur").style=u,n.ensureState("select").style=d,(0,et.DW)(n)}t.add(n)}(B,Q,w&&u.upperLabelHeight);var T=f.getModel("emphasis"),E=T.get("focus"),P=T.get("blurScope"),$=T.get("disabled"),M="ancestor"===E?a.getAncestorsIndices():"descendant"===E?a.getDescendantIndices():E;if(w)(0,et.u6)(B)&&(0,et.ix)(B,!1),Q&&((0,et.ix)(Q,!$),d.setItemGraphicEl(a.dataIndex,Q),(0,et.gR)(Q,M,P));else{var z=L("content",vi,c,_i);z&&function(t,n){var r=(0,Tt.z)(n);r.dataIndex=a.dataIndex,r.seriesIndex=e.seriesIndex;var o=Math.max(h-2*m,0),i=Math.max(p-2*m,0);if(n.culling=!0,n.setShape({x:m,y:m,width:o,height:i,r:C}),g)D(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,c=Si(_);c.fill=l,c.decal=s.decal;var u=xi(x),d=xi(S),f=xi(k);I(n,l,s.opacity,null),n.setStyle(c),n.ensureState("emphasis").style=u,n.ensureState("blur").style=d,n.ensureState("select").style=f,(0,et.DW)(n)}t.add(n)}(B,z),Q.disableMorphing=!0,Q&&(0,et.u6)(Q)&&(0,et.ix)(Q,!1),(0,et.ix)(B,!$),d.setItemGraphicEl(a.dataIndex,B);var R=f.getShallow("cursor");R&&z.attr("cursor",R),(0,et.gR)(B,M,P)}return B}}}function D(e){!e.invisible&&i.push(e)}function I(t,n,r,o){var i=f.getModel(o?Oi:yi),s=(0,Ue.vS)(f.get("name"),null),l=i.getShallow("show");(0,ct.qM)(t,(0,ct.lx)(f,o?Oi:yi),{defaultText:l?s:null,inheritColor:n,defaultOpacity:r,labelFetcher:e,labelDataIndex:a.dataIndex});var c=t.getTextContent();if(c){var d=c.style,h=(0,y.normalizeCssArray)(d.padding||0);o&&(t.setTextConfig({layoutRect:o}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var e=Math.max((o?o.width:t.shape.width)-h[1]-h[3],0),n=Math.max((o?o.height:t.shape.height)-h[0]-h[2],0);d.width===e&&d.height===n||c.setStyle({width:e,height:n})},d.truncateMinChar=2,d.lineOverflow="truncate",N(d,o,u);var p=c.getState("emphasis");N(p?p.style:null,o,u)}}function N(t,n,r){var o=t?t.text:null;if(!n&&r.isLeafRoot&&null!=o){var i=e.get("drillDownIcon",!0);t.text=i?i+" "+o:o}}function L(e,i,s,l){var c=null!=v&&n[e][v],u=o[e];return c?(n[e][v]=null,function(e,t){var n=e[A]={};t instanceof Ai?(n.oldX=t.x,n.oldY=t.y):n.oldShape=(0,y.extend)({},t.shape)}(u,c)):g||((c=new i)instanceof wr.Ay&&(c.z2=function(e,t){return e*bi+t}(s,l)),function(e,t){var n=e[A]={},i=a.parentNode,s=t instanceof Bt.A;if(i&&(!r||"drillDown"===r.direction)){var l=0,c=0,u=o.background[i.getRawIndex()];!r&&u&&u.oldShape&&(l=u.oldShape.width,c=u.oldShape.height),s?(n.oldX=0,n.oldY=c):n.oldShape={x:l,y:c,width:0,height:0}}n.fadein=!s}(u,c)),t[e][A]=c}}(t,a,s,n,i,l,e,r,o,c)}!function e(t,n,r,o,i){function a(e){return e.getId()}function s(a,s){var l=null!=a?t[a]:null,u=null!=s?n[s]:null,d=c(l,u,r,i);d&&e(l&&l.viewChildren||[],u&&u.viewChildren||[],d,o,i+1)}o?(n=t,(0,y.each)(t,(function(e,t){!e.isRemoved()&&s(t,t)}))):new ci.A(n,t,a,a).add(s).update(s).remove((0,y.curry)(s,null)).execute()}(r.root?[r.root]:[],o&&o.root?[o.root]:[],e,r===o||!o,0);var u=function(e){var t={nodeGroup:[],background:[],content:[]};return e&&(0,y.each)(e,(function(e,n){var r=t[n];(0,y.each)(e,(function(e){e&&(r.push(e),ki(e).willDelete=!0)}))})),t}(s);if(this._oldTree=r,this._storage=a,this._controllerHost){var d=this.seriesModel.layoutInfo,f=r.root.getLayout();f.width===d.width&&f.height===d.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:i,willDeleteEls:u,renderFinally:function(){(0,y.each)(u,(function(e){(0,y.each)(e,(function(e){e.parent&&e.parent.remove(e)}))})),(0,y.each)(l,(function(e){e.invisible=!0,e.dirty()}))}}},t.prototype._doAnimation=function(e,t,n,r){var o=n.get("animationDurationUpdate"),i=n.get("animationEasing"),a=((0,y.isFunction)(o)?0:o)||0,s=((0,y.isFunction)(i)?null:i)||"cubicOut",l=new pi;(0,y.each)(t.willDeleteEls,(function(e,t){(0,y.each)(e,(function(e,n){if(!e.invisible){var o,i=e.parent,c=ki(i);if(r&&"drillDown"===r.direction)o=i===r.rootNodeGroup?{shape:{x:0,y:0,width:c.nodeWidth,height:c.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,d=0;c.willDelete||(u=c.nodeWidth/2,d=c.nodeHeight/2),o="nodeGroup"===t?{x:u,y:d,style:{opacity:0}}:{shape:{x:u,y:d,width:0,height:0},style:{opacity:0}}}o&&l.add(e,o,a,0,s)}}))})),(0,y.each)(this._storage,(function(e,n){(0,y.each)(e,(function(e,r){var o=t.lastsForAnimation[n][r],i={};o&&(e instanceof Bt.A?null!=o.oldX&&(i.x=e.x,i.y=e.y,e.x=o.oldX,e.y=o.oldY):(o.oldShape&&(i.shape=(0,y.extend)({},e.shape),e.setShape(o.oldShape)),o.fadein?(e.setStyle("opacity",0),i.style={opacity:1}):1!==e.style.opacity&&(i.style={opacity:1})),l.add(e,i,a,0,s))}))}),this),this._state="animating",l.finished((0,y.bind)((function(){this._state="ready",t.renderFinally()}),this)).start()},t.prototype._resetController=function(e){var t=this._controller,n=this._controllerHost;n||(this._controllerHost={target:this.group},n=this._controllerHost),t||((t=this._controller=new Sn(e.getZr())).enable(this.seriesModel.get("roam")),n.zoomLimit=this.seriesModel.get("scaleLimit"),n.zoom=this.seriesModel.get("zoom"),t.on("pan",(0,y.bind)(this._onPan,this)),t.on("zoom",(0,y.bind)(this._onZoom,this)));var r=new Ct.A(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,n){return r.contain(t,n)}))},t.prototype._clearController=function(){var e=this._controller;this._controllerHost=null,e&&(e.dispose(),e=null)},t.prototype._onPan=function(e){if("animating"!==this._state&&(Math.abs(e.dx)>3||Math.abs(e.dy)>3)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},t.prototype._onZoom=function(e){var t=e.originX,n=e.originY,r=e.scale;if("animating"!==this._state){var o=this.seriesModel.getData().tree.root;if(!o)return;var i=o.getLayout();if(!i)return;var a,s=new Ct.A(i.x,i.y,i.width,i.height),l=this._controllerHost;a=l.zoomLimit;var c=l.zoom=l.zoom||1;if(c*=r,a){var u=a.min||0,d=a.max||1/0;c=Math.max(Math.min(d,c),u)}var f=c/l.zoom;l.zoom=c;var h=this.seriesModel.layoutInfo;t-=h.x,n-=h.y;var p=$n.create();$n.translate(p,p,[-t,-n]),$n.scale(p,p,[f,f]),$n.translate(p,p,[t,n]),s.applyTransform(p),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},t.prototype._initEvents=function(e){var t=this;e.on("click",(function(e){if("ready"===t._state){var n=t.seriesModel.get("nodeClick",!0);if(n){var r=t.findTarget(e.offsetX,e.offsetY);if(r){var o=r.node;if(o.getLayout().isLeafRoot)t._rootToNode(r);else if("zoomToNode"===n)t._zoomToNode(r);else if("link"===n){var i=o.hostTree.data.getItemModel(o.dataIndex),a=i.get("link",!0),s=i.get("target",!0)||"blank";a&&(0,gi.JW)(a,s)}}}}}),this)},t.prototype._renderBreadcrumb=function(e,t,n){var r=this;n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2))||(n={node:e.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new hi(this.group))).render(e,t,n.node,(function(t){"animating"!==r._state&&(Yo(e.getViewRoot(),t)?r._rootToNode({node:t}):r._zoomToNode({node:t}))}))},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,t){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(r){var o=this._storage.background[r.getRawIndex()];if(o){var i=o.transformCoordToLocal(e,t),a=o.shape;if(!(a.x<=i[0]&&i[0]<=a.x+a.width&&a.y<=i[1]&&i[1]<=a.y+a.height))return!1;n={node:r,offsetX:i[0],offsetY:i[1]}}}),this),n},t.type="treemap",t}(tt.A),Bi=Ci,Qi=y.each,Ti=y.isObject,Ei=function(){function e(t){var n=t.mappingMethod,r=t.type,o=this.option=y.clone(t);this.type=r,this.mappingMethod=n,this._normalizeData=Vi[n];var i=e.visualHandlers[r];this.applyVisual=i.applyVisual,this.getColorMapper=i.getColorMapper,this._normalizedToVisual=i._normalizedToVisual[n],"piecewise"===n?(Pi(o),function(e){var t=e.pieceList;e.hasSpecialVisual=!1,y.each(t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}(o)):"category"===n?o.categories?function(e){var t=e.categories,n=e.categoryMap={},r=e.visual;if(Qi(t,(function(e,t){n[e]=t})),!y.isArray(r)){var o=[];y.isObject(r)?Qi(r,(function(e,t){var r=n[t];o[null!=r?r:-1]=e})):o[-1]=r,r=Li(e,o)}for(var i=t.length-1;i>=0;i--)null==r[i]&&(delete n[t[i]],t.pop())}(o):Pi(o,!0):(y.assert("linear"!==n||o.dataExtent),Pi(o))}return e.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},e.prototype.getNormalizer=function(){return y.bind(this._normalizeData,this)},e.listVisualTypes=function(){return y.keys(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(e,t,n){y.isObject(e)?y.each(e,t,n):t.call(n,e)},e.mapVisual=function(t,n,r){var o,i=y.isArray(t)?[]:y.isObject(t)?{}:(o=!0,null);return e.eachVisual(t,(function(e,t){var a=n.call(r,e,t);o?i=a:i[t]=a})),i},e.retrieveVisuals=function(t){var n,r={};return t&&Qi(e.visualHandlers,(function(e,o){t.hasOwnProperty(o)&&(r[o]=t[o],n=!0)})),n?r:null},e.prepareVisualTypes=function(e){if(y.isArray(e))e=e.slice();else{if(!Ti(e))return[];var t=[];Qi(e,(function(e,n){t.push(n)})),e=t}return e.sort((function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1})),e},e.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},e.findPieceIndex=function(e,t,n){for(var r,o=1/0,i=0,a=t.length;i<a;i++){var s=t[i].value;if(null!=s){if(s===e||y.isString(s)&&s===e+"")return i;n&&d(s,i)}}for(i=0,a=t.length;i<a;i++){var l=t[i],c=l.interval,u=l.close;if(c){if(c[0]===-1/0){if(Ui(u[1],e,c[1]))return i}else if(c[1]===1/0){if(Ui(u[0],c[0],e))return i}else if(Ui(u[0],c[0],e)&&Ui(u[1],e,c[1]))return i;n&&d(c[0],i),n&&d(c[1],i)}}if(n)return e===1/0?t.length-1:e===-1/0?0:r;function d(t,n){var i=Math.abs(t-e);i<o&&(o=i,r=n)}},e.visualHandlers={color:{applyVisual:zi("color"),getColorMapper:function(){var e=this.option;return y.bind("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),Ri.call(this,e)}:function(t,n,r){var o=!!r;return!n&&(t=this._normalizeData(t)),r=Y.fastLerp(t,e.parsedVisual,r),o?r:Y.stringify(r,"rgba")},this)},_normalizedToVisual:{linear:function(e){return Y.stringify(Y.fastLerp(e,this.option.parsedVisual),"rgba")},category:Ri,piecewise:function(e,t){var n=Ni.call(this,t);return null==n&&(n=Y.stringify(Y.fastLerp(e,this.option.parsedVisual),"rgba")),n},fixed:Di}},colorHue:$i((function(e,t){return Y.modifyHSL(e,t)})),colorSaturation:$i((function(e,t){return Y.modifyHSL(e,null,t)})),colorLightness:$i((function(e,t){return Y.modifyHSL(e,null,null,t)})),colorAlpha:$i((function(e,t){return Y.modifyAlpha(e,t)})),decal:{applyVisual:zi("decal"),_normalizedToVisual:{linear:null,category:Ri,piecewise:null,fixed:null}},opacity:{applyVisual:zi("opacity"),_normalizedToVisual:Ii([0,1])},liftZ:{applyVisual:zi("liftZ"),_normalizedToVisual:{linear:Di,category:Di,piecewise:Di,fixed:Di}},symbol:{applyVisual:function(e,t,n){n("symbol",this.mapValueToVisual(e))},_normalizedToVisual:{linear:Mi,category:Ri,piecewise:function(e,t){var n=Ni.call(this,t);return null==n&&(n=Mi.call(this,e)),n},fixed:Di}},symbolSize:{applyVisual:zi("symbolSize"),_normalizedToVisual:Ii([0,1])}},e}();function Pi(e,t){var n=e.visual,r=[];y.isObject(n)?Qi(n,(function(e){r.push(e)})):null!=n&&r.push(n),t||1!==r.length||{color:1,symbol:1}.hasOwnProperty(e.type)||(r[1]=r[0]),Li(e,r)}function $i(e){return{applyVisual:function(t,n,r){var o=this.mapValueToVisual(t);r("color",e(n("color"),o))},_normalizedToVisual:Ii([0,1])}}function Mi(e){var t=this.option.visual;return t[Math.round((0,Le.Cb)(e,[0,1],[0,t.length-1],!0))]||{}}function zi(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function Ri(e){var t=this.option.visual;return t[this.option.loop&&-1!==e?e%t.length:e]}function Di(){return this.option.visual[0]}function Ii(e){return{linear:function(t){return(0,Le.Cb)(t,e,this.option.visual,!0)},category:Ri,piecewise:function(t,n){var r=Ni.call(this,n);return null==r&&(r=(0,Le.Cb)(t,e,this.option.visual,!0)),r},fixed:Di}}function Ni(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=n[Ei.findPieceIndex(e,n)];if(r&&r.visual)return r.visual[this.type]}}function Li(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=y.map(t,(function(e){return Y.parse(e)||[0,0,0,1]}))),t}var Vi={linear:function(e){return(0,Le.Cb)(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=Ei.findPieceIndex(e,t,!0);if(null!=n)return(0,Le.Cb)(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?-1:t},fixed:y.noop};function Ui(e,t,n){return e?t<=n:t<n}var Fi=Ei,Hi=(0,Ue.$r)(),Wi={seriesType:"treemap",reset:function(e){var t=e.getData().tree.root;t.isRemoved()||Xi(t,{},e.getViewRoot().getAncestors(),e)}};function Xi(e,t,n,r){var o=e.getModel(),i=e.getLayout(),a=e.hostTree.data;if(i&&!i.invisible&&i.isInView){var s,l=o.getModel("itemStyle"),c=function(e,t,n){var r=(0,y.extend)({},t),o=n.designatedVisualItemStyle;return(0,y.each)(["color","colorAlpha","colorSaturation"],(function(n){o[n]=t[n];var i=e.get(n);o[n]=null,null!=i&&(r[n]=i)})),r}(l,t,r),u=a.ensureUniqueItemVisual(e.dataIndex,"style"),d=l.get("borderColor"),f=l.get("borderColorSaturation");null!=f&&(d=function(e,t){return null!=t?(0,Y.modifyHSL)(t,null,null,e):null}(f,s=ji(c))),u.stroke=d;var h=e.viewChildren;if(h&&h.length){var p=function(e,t,n,r,o,i){if(i&&i.length){var a=Zi(t,"color")||null!=o.color&&"none"!==o.color&&(Zi(t,"colorAlpha")||Zi(t,"colorSaturation"));if(a){var s=t.get("visualMin"),l=t.get("visualMax"),c=n.dataExtent.slice();null!=s&&s<c[0]&&(c[0]=s),null!=l&&l>c[1]&&(c[1]=l);var u=t.get("colorMappingBy"),d={type:a.name,dataExtent:c,visual:a.range};"color"!==d.type||"index"!==u&&"id"!==u?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var f=new Fi(d);return Hi(f).drColorMappingBy=u,f}}}(0,o,i,0,c,h);(0,y.each)(h,(function(e,t){if(e.depth>=n.length||e===n[e.depth]){var i=function(e,t,n,r,o,i){var a=(0,y.extend)({},t);if(o){var s=o.type,l="color"===s&&Hi(o).drColorMappingBy,c="index"===l?r:"id"===l?i.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));a[s]=o.mapValueToVisual(c)}return a}(o,c,e,t,p,r);Xi(e,i,n,r)}}))}else s=ji(c),u.fill=s}}function ji(e){var t=qi(e,"color");if(t){var n=qi(e,"colorAlpha"),r=qi(e,"colorSaturation");return r&&(t=(0,Y.modifyHSL)(t,null,null,r)),n&&(t=(0,Y.modifyAlpha)(t,n)),t}}function qi(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function Zi(e,t){var n=e.get(t);return(0,y.isArray)(n)&&n.length?{name:t,range:n}:null}var Yi=Math.max,Gi=Math.min,Ki=y.retrieve,Ji=y.each,ea=["itemStyle","borderWidth"],ta=["itemStyle","gapWidth"],na=["upperLabel","show"],ra=["upperLabel","height"],oa={seriesType:"treemap",reset:function(e,t,n,r){var o=n.getWidth(),i=n.getHeight(),a=e.option,s=Ve.dV(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],c=(0,Le.lo)(Ki(s.width,l[0]),o),u=(0,Le.lo)(Ki(s.height,l[1]),i),d=r&&r.type,f=qo(r,["treemapZoomToNode","treemapRootToNode"],e),h="treemapRender"===d||"treemapMove"===d?r.rootRect:null,p=e.getViewRoot(),m=Zo(p);if("treemapMove"!==d){var g="treemapZoomToNode"===d?function(e,t,n,r,o){var i,a=(t||{}).node,s=[r,o];if(!a||a===n)return s;for(var l=r*o,c=l*e.option.zoomToNodeRatio;i=a.parentNode;){for(var u=0,d=i.children,f=0,h=d.length;f<h;f++)u+=d[f].getValue();var p=a.getValue();if(0===p)return s;c*=u/p;var m=i.getModel(),g=m.get(ea);(c+=4*g*g+(3*g+Math.max(g,ca(m)))*Math.pow(c,.5))>Le.Is&&(c=Le.Is),a=i}c<l&&(c=l);var A=Math.pow(c/l,.5);return[r*A,o*A]}(e,f,p,c,u):h?[h.width,h.height]:[c,u],A=a.sort;A&&"asc"!==A&&"desc"!==A&&(A="desc");var v={squareRatio:a.squareRatio,sort:A,leafDepth:a.leafDepth};p.hostTree.clearLayouts();var O={x:0,y:0,width:g[0],height:g[1],area:g[0]*g[1]};p.setLayout(O),ia(p,v,!1,0),O=p.getLayout(),Ji(m,(function(e,t){var n=(m[t+1]||p).getValue();e.setLayout(y.extend({dataExtent:[n,n],borderWidth:0,upperHeight:0},O))}))}var b=e.getData().tree.root;b.setLayout(function(e,t,n){if(t)return{x:t.x,y:t.y};var r={x:0,y:0};if(!n)return r;var o=n.node,i=o.getLayout();if(!i)return r;for(var a=[i.width/2,i.height/2],s=o;s;){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:e.width/2-a[0],y:e.height/2-a[1]}}(s,h,f),!0),e.setLayoutInfo(s),la(b,new Ct.A(-s.x,-s.y,o,i),m,p,0)}};function ia(e,t,n,r){var o,i;if(!e.isRemoved()){var a=e.getLayout();o=a.width,i=a.height;var s=e.getModel(),l=s.get(ea),c=s.get(ta)/2,u=ca(s),d=Math.max(l,u),f=l-c,h=d-c;e.setLayout({borderWidth:l,upperHeight:d,upperLabelHeight:u},!0);var p=(o=Yi(o-2*f,0))*(i=Yi(i-f-h,0)),m=function(e,t,n,r,o,i){var a=e.children||[],s=r.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=r.leafDepth&&r.leafDepth<=i;if(o&&!l)return e.viewChildren=[];a=y.filter(a,(function(e){return!e.isRemoved()})),function(e,t){t&&e.sort((function(e,n){var r="asc"===t?e.getValue()-n.getValue():n.getValue()-e.getValue();return 0===r?"asc"===t?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:r}))}(a,s);var c=function(e,t,n){for(var r=0,o=0,i=t.length;o<i;o++)r+=t[o].getValue();var a,s=e.get("visualDimension");return t&&t.length?"value"===s&&n?(a=[t[t.length-1].getValue(),t[0].getValue()],"asc"===n&&a.reverse()):(a=[1/0,-1/0],Ji(t,(function(e){var t=e.getValue(s);t<a[0]&&(a[0]=t),t>a[1]&&(a[1]=t)}))):a=[NaN,NaN],{sum:r,dataExtent:a}}(t,a,s);if(0===c.sum)return e.viewChildren=[];if(c.sum=function(e,t,n,r,o){if(!r)return n;for(var i=e.get("visibleMin"),a=o.length,s=a,l=a-1;l>=0;l--){var c=o["asc"===r?a-l-1:l].getValue();c/n*t<i&&(s=l,n-=c)}return"asc"===r?o.splice(0,a-s):o.splice(s,a-s),n}(t,n,c.sum,s,a),0===c.sum)return e.viewChildren=[];for(var u=0,d=a.length;u<d;u++){var f=a[u].getValue()/c.sum*n;a[u].setLayout({area:f})}return l&&(a.length&&e.setLayout({isLeafRoot:!0},!0),a.length=0),e.viewChildren=a,e.setLayout({dataExtent:c.dataExtent},!0),a}(e,s,p,t,n,r);if(m.length){var g={x:f,y:h,width:o,height:i},A=Gi(o,i),v=1/0,O=[];O.area=0;for(var b=0,w=m.length;b<w;){var _=m[b];O.push(_),O.area+=_.getLayout().area;var x=aa(O,A,t.squareRatio);x<=v?(b++,v=x):(O.area-=O.pop().getLayout().area,sa(O,A,g,c,!1),A=Gi(g.width,g.height),O.length=O.area=0,v=1/0)}if(O.length&&sa(O,A,g,c,!0),!n){var S=s.get("childrenVisibleMin");null!=S&&p<S&&(n=!0)}for(b=0,w=m.length;b<w;b++)ia(m[b],t,n,r+1)}}}function aa(e,t,n){for(var r=0,o=1/0,i=0,a=void 0,s=e.length;i<s;i++)(a=e[i].getLayout().area)&&(a<o&&(o=a),a>r&&(r=a));var l=e.area*e.area,c=t*t*n;return l?Yi(c*r/l,l/(c*o)):1/0}function sa(e,t,n,r,o){var i=t===n.width?0:1,a=1-i,s=["x","y"],l=["width","height"],c=n[s[i]],u=t?e.area/t:0;(o||u>n[l[a]])&&(u=n[l[a]]);for(var d=0,f=e.length;d<f;d++){var h=e[d],p={},m=u?h.getLayout().area/u:0,g=p[l[a]]=Yi(u-2*r,0),A=n[s[i]]+n[l[i]]-c,v=d===f-1||A<m?A:m,y=p[l[i]]=Yi(v-2*r,0);p[s[a]]=n[s[a]]+Gi(r,g/2),p[s[i]]=c+Gi(r,y/2),c+=v,h.setLayout(p,!0)}n[s[a]]+=u,n[l[a]]-=u}function la(e,t,n,r,o){var i=e.getLayout(),a=n[o],s=a&&a===e;if(!(a&&!s||o===n.length&&e!==r)){e.setLayout({isInView:!0,invisible:!s&&!t.intersect(i),isAboveViewRoot:s},!0);var l=new Ct.A(t.x-i.x,t.y-i.y,t.width,t.height);Ji(e.viewChildren||[],(function(e){la(e,l,n,r,o+1)}))}}function ca(e){return e.get(na)?e.get(ra):0}function ua(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),r=e.getGraph().data,o=n.mapArray(n.getName);r.filterSelf((function(e){var n=r.getItemModel(e).getShallow("category");if(null!=n){(0,y.isNumber)(n)&&(n=o[n]);for(var i=0;i<t.length;i++)if(!t[i].isSelected(n))return!1}return!0}))}))}function da(e){var t={};e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),r=e.getData(),o={};n.each((function(r){var i=n.getName(r);o["ec-"+i]=r;var a=n.getItemModel(r),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=e.getColorFromPalette(i,t)),n.setItemVisual(r,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],c=0;c<l.length;c++){var u=a.getShallow(l[c],!0);null!=u&&n.setItemVisual(r,l[c],u)}})),n.count()&&r.each((function(e){var t=r.getItemModel(e).getShallow("category");if(null!=t){(0,y.isString)(t)&&(t=o["ec-"+t]);var i=n.getItemVisual(t,"style"),a=r.ensureUniqueItemVisual(e,"style");(0,y.extend)(a,i);for(var s=["symbol","symbolSize","symbolKeepAspect"],l=0;l<s.length;l++)r.setItemVisual(e,s[l],n.getItemVisual(t,s[l]))}}))}))}function fa(e){return e instanceof Array||(e=[e,e]),e}function ha(e){e.eachSeriesByType("graph",(function(e){var t=e.getGraph(),n=e.getEdgeData(),r=fa(e.get("edgeSymbol")),o=fa(e.get("edgeSymbolSize"));n.setVisual("fromSymbol",r&&r[0]),n.setVisual("toSymbol",r&&r[1]),n.setVisual("fromSymbolSize",o&&o[0]),n.setVisual("toSymbolSize",o&&o[1]),n.setVisual("style",e.getModel("lineStyle").getLineStyle()),n.each((function(e){var r=n.getItemModel(e),o=t.getEdgeByIndex(e),i=fa(r.getShallow("symbol",!0)),a=fa(r.getShallow("symbolSize",!0)),s=r.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(e,"style");switch((0,y.extend)(l,s),l.stroke){case"source":var c=o.node1.getVisual("style");l.stroke=c&&c.fill;break;case"target":c=o.node2.getVisual("style"),l.stroke=c&&c.fill}i[0]&&o.setVisual("fromSymbol",i[0]),i[1]&&o.setVisual("toSymbol",i[1]),a[0]&&o.setVisual("fromSymbolSize",a[0]),a[1]&&o.setVisual("toSymbolSize",a[1])}))}))}var pa="--\x3e",ma=function(e){return e.get("autoCurveness")||null},ga=function(e,t){var n=ma(e),r=20,o=[];if(y.isNumber(n))r=n;else if(y.isArray(n))return void(e.__curvenessList=n);t>r&&(r=t);var i=r%2?r+2:r+3;o=[];for(var a=0;a<i;a++)o.push((a%2?a+1:a)/10*(a%2?-1:1));e.__curvenessList=o},Aa=function(e,t,n){var r=[e.id,e.dataIndex].join("."),o=[t.id,t.dataIndex].join(".");return[n.uid,r,o].join(pa)},va=function(e){var t=e.split(pa);return[t[0],t[2],t[1]].join(pa)},ya=function(e,t){var n=t.__edgeMap;return n[e]?n[e].length:0};function Oa(e,t,n,r){var o=ma(t),i=y.isArray(o);if(!o)return null;var a=function(e,t){var n=Aa(e.node1,e.node2,t);return t.__edgeMap[n]}(e,t);if(!a)return null;for(var s=-1,l=0;l<a.length;l++)if(a[l]===n){s=l;break}var c=function(e,t){return ya(Aa(e.node1,e.node2,t),t)+ya(Aa(e.node2,e.node1,t),t)}(e,t);ga(t,c),e.lineStyle=e.lineStyle||{};var u=Aa(e.node1,e.node2,t),d=t.__curvenessList,f=i||c%2?0:1;if(a.isForward)return d[f+s];var h=va(u),p=ya(h,t),m=d[s+p+f];return r?i?o&&0===o[0]?(p+f)%2?m:-m:((p%2?0:1)+f)%2?m:-m:(p+f)%2?m:-m:d[s+p+f]}function ba(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),wa(n,e)}}function wa(e,t){e.eachEdge((function(e,n){var r=y.retrieve3(e.getModel().get(["lineStyle","curveness"]),-Oa(e,t,n,!0),0),o=Hr.clone(e.node1.getLayout()),i=Hr.clone(e.node2.getLayout()),a=[o,i];+r&&a.push([(o[0]+i[0])/2-(o[1]-i[1])*r,(o[1]+i[1])/2-(i[0]-o[0])*r]),e.setLayout(a)}))}function _a(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var r=e.getData(),o=[];(0,y.each)(n.dimensions,(function(e){o=o.concat(r.mapDimensionsAll(e))}));for(var i=0;i<r.count();i++){for(var a=[],s=!1,l=0;l<o.length;l++){var c=r.get(o[l],i);isNaN(c)||(s=!0),a.push(c)}s?r.setItemLayout(i,n.dataToPoint(a)):r.setItemLayout(i,[NaN,NaN])}wa(r.graph,e)}else t&&"none"!==t||ba(e)}))}function xa(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,r=t.scaleX;return((t.getZoom()-1)*n+1)/r}function Sa(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}var ka=Math.PI,Ca=[];function Ba(e,t,n,r){var o=e.coordinateSystem;if(!o||"view"===o.type){var i=o.getBoundingRect(),a=e.getData(),s=a.graph,l=i.width/2+i.x,c=i.height/2+i.y,u=Math.min(i.width,i.height)/2,d=a.count();if(a.setLayout({cx:l,cy:c}),d){if(n){var f=o.pointToData(r),h=f[0],p=f[1],m=[h-l,p-c];Hr.normalize(m,m),Hr.scale(m,m,u),n.setLayout([l+m[0],c+m[1]],!0),Ta(n,e.get(["circular","rotateLabel"]),l,c)}Qa[t](e,s,a,u,l,c,d),s.eachEdge((function(t,n){var r,o=y.retrieve3(t.getModel().get(["lineStyle","curveness"]),Oa(t,e,n),0),i=Hr.clone(t.node1.getLayout()),a=Hr.clone(t.node2.getLayout()),s=(i[0]+a[0])/2,u=(i[1]+a[1])/2;+o&&(r=[l*(o*=3)+s*(1-o),c*o+u*(1-o)]),t.setLayout([i,a,r])}))}}}var Qa={value:function(e,t,n,r,o,i,a){var s=0,l=n.getSum("value"),c=2*Math.PI/(l||a);t.eachNode((function(e){var t=e.getValue("value"),n=c*(l?t:1)/2;s+=n,e.setLayout([r*Math.cos(s)+o,r*Math.sin(s)+i]),s+=n}))},symbolSize:function(e,t,n,r,o,i,a){var s=0;Ca.length=a;var l=xa(e);t.eachNode((function(e){var t=Sa(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=l;var n=Math.asin(t/2/r);isNaN(n)&&(n=ka/2),Ca[e.dataIndex]=n,s+=2*n}));var c=(2*ka-s)/a/2,u=0;t.eachNode((function(e){var t=c+Ca[e.dataIndex];u+=t,(!e.getLayout()||!e.getLayout().fixed)&&e.setLayout([r*Math.cos(u)+o,r*Math.sin(u)+i]),u+=t}))}};function Ta(e,t,n,r){var o=e.getGraphicEl();if(o){var i=e.getModel().get(["label","rotate"])||0,a=o.getSymbolPath();if(t){var s=e.getLayout(),l=Math.atan2(s[1]-r,s[0]-n);l<0&&(l=2*Math.PI+l);var c=s[0]<n;c&&(l-=Math.PI);var u=c?"left":"right";a.setTextConfig({rotation:-l,position:u,origin:"center"});var d=a.ensureState("emphasis");y.extend(d.textConfig||(d.textConfig={}),{position:u})}else a.setTextConfig({rotation:i*=Math.PI/180})}}function Ea(e){e.eachSeriesByType("graph",(function(e){"circular"===e.get("layout")&&Ba(e,"symbolSize")}))}var Pa=Hr.scaleAndAdd;function $a(e){e.eachSeriesByType("graph",(function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var n=e.preservedPoints||{},r=e.getGraph(),o=r.data,i=r.edgeData,a=e.getModel("force"),s=a.get("initLayout");e.preservedPoints?o.each((function(e){var t=o.getId(e);o.setItemLayout(e,n[t]||[NaN,NaN])})):s&&"none"!==s?"circular"===s&&Ba(e,"value"):ba(e);var l=o.getDataExtent("value"),c=i.getDataExtent("value"),u=a.get("repulsion"),d=a.get("edgeLength"),f=y.isArray(u)?u:[u,u],h=y.isArray(d)?d:[d,d];h=[h[1],h[0]];var p=o.mapArray("value",(function(e,t){var n=o.getItemLayout(t),r=(0,Le.Cb)(e,l,f);return isNaN(r)&&(r=(f[0]+f[1])/2),{w:r,rep:r,fixed:o.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),m=i.mapArray("value",(function(t,n){var o=r.getEdgeByIndex(n),i=(0,Le.Cb)(t,c,h);isNaN(i)&&(i=(h[0]+h[1])/2);var a=o.getModel(),s=y.retrieve3(o.getModel().get(["lineStyle","curveness"]),-Oa(o,e,n,!0),0);return{n1:p[o.node1.dataIndex],n2:p[o.node2.dataIndex],d:i,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}})),g=t.getBoundingRect(),A=function(e,t,n){for(var r=e,o=t,i=n.rect,a=i.width,s=i.height,l=[i.x+a/2,i.y+s/2],c=null==n.gravity?.1:n.gravity,u=0;u<r.length;u++){var d=r[u];d.p||(d.p=Hr.create(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),d.pp=Hr.clone(d.p),d.edges=null}var f,h,p=null==n.friction?.6:n.friction,m=p;return{warmUp:function(){m=.8*p},setFixed:function(e){r[e].fixed=!0},setUnfixed:function(e){r[e].fixed=!1},beforeStep:function(e){f=e},afterStep:function(e){h=e},step:function(e){f&&f(r,o);for(var t=[],n=r.length,i=0;i<o.length;i++){var a=o[i];if(!a.ignoreForceLayout){var s=a.n1,u=a.n2;Hr.sub(t,u.p,s.p);var d=Hr.len(t)-a.d,p=u.w/(s.w+u.w);isNaN(p)&&(p=0),Hr.normalize(t,t),!s.fixed&&Pa(s.p,s.p,t,p*d*m),!u.fixed&&Pa(u.p,u.p,t,-(1-p)*d*m)}}for(i=0;i<n;i++)(y=r[i]).fixed||(Hr.sub(t,l,y.p),Pa(y.p,y.p,t,c*m));for(i=0;i<n;i++){s=r[i];for(var g=i+1;g<n;g++){u=r[g],Hr.sub(t,u.p,s.p),0===(d=Hr.len(t))&&(Hr.set(t,Math.random()-.5,Math.random()-.5),d=1);var A=(s.rep+u.rep)/d/d;!s.fixed&&Pa(s.pp,s.pp,t,A),!u.fixed&&Pa(u.pp,u.pp,t,-A)}}var v=[];for(i=0;i<n;i++){var y;(y=r[i]).fixed||(Hr.sub(v,y.p,y.pp),Pa(y.p,y.p,v,m),Hr.copy(y.pp,y.p))}var O=(m*=.992)<.01;h&&h(r,o,O),e&&e(O)}}}(p,m,{rect:g,gravity:a.get("gravity"),friction:a.get("friction")});A.beforeStep((function(e,t){for(var n=0,o=e.length;n<o;n++)e[n].fixed&&Hr.copy(e[n].p,r.getNodeByIndex(n).getLayout())})),A.afterStep((function(e,t,i){for(var a=0,s=e.length;a<s;a++)e[a].fixed||r.getNodeByIndex(a).setLayout(e[a].p),n[o.getId(a)]=e[a].p;for(a=0,s=t.length;a<s;a++){var l=t[a],c=r.getEdgeByIndex(a),u=l.n1.p,d=l.n2.p,f=c.getLayout();(f=f?f.slice():[])[0]=f[0]||[],f[1]=f[1]||[],Hr.copy(f[0],u),Hr.copy(f[1],d),+l.curveness&&(f[2]=[(u[0]+d[0])/2-(u[1]-d[1])*l.curveness,(u[1]+d[1])/2-(d[0]-u[0])*l.curveness]),c.setLayout(f)}})),e.forceLayout=A,e.preservedPoints=n,A.step()}else e.forceLayout=null}))}function Ma(e,t){var n=[];return e.eachSeriesByType("graph",(function(e){var r=e.get("coordinateSystem");if(!r||"view"===r){var o=e.getData(),i=o.mapArray((function(e){var t=o.getItemModel(e);return[+t.get("x"),+t.get("y")]})),a=[],s=[];So.Cr(i,a,s),s[0]-a[0]==0&&(s[0]+=1,a[0]-=1),s[1]-a[1]==0&&(s[1]+=1,a[1]-=1);var l=(s[0]-a[0])/(s[1]-a[1]),c=function(e,t,n){var r=(0,y.extend)(e.getBoxLayoutParams(),{aspect:n});return(0,Ve.dV)(r,{width:t.getWidth(),height:t.getHeight()})}(e,t,l);isNaN(l)&&(a=[c.x,c.y],s=[c.x+c.width,c.y+c.height]);var u=s[0]-a[0],d=s[1]-a[1],f=c.width,h=c.height,p=e.coordinateSystem=new qr;p.zoomLimit=e.get("scaleLimit"),p.setBoundingRect(a[0],a[1],u,d),p.setViewRect(c.x,c.y,f,h),p.setCenter(e.get("center"),t),p.setZoom(e.get("zoom")),n.push(p)}})),n}var za,Ra=Pn.A.prototype,Da=ho.A.prototype,Ia=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};function Na(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}za=Ia,(0,Ye.C6)((function(){return null!==za&&za.apply(this,arguments)||this}),za);var La=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-line",n}return(0,Ye.C6)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Ia},t.prototype.buildPath=function(e,t){Na(t)?Ra.buildPath.call(this,e,t):Da.buildPath.call(this,e,t)},t.prototype.pointAt=function(e){return Na(this.shape)?Ra.pointAt.call(this,e):Da.pointAt.call(this,e)},t.prototype.tangentAt=function(e){var t=this.shape,n=Na(t)?[t.x2-t.x1,t.y2-t.y1]:Da.tangentAt.call(this,e);return Hr.normalize(n,n)},t}(s.Ay),Va=["fromSymbol","toSymbol"];function Ua(e){return"_"+e+"Type"}function Fa(e,t,n){var r=t.getItemVisual(n,e);if(!r||"none"===r)return r;var o=t.getItemVisual(n,e+"Size"),i=t.getItemVisual(n,e+"Rotate"),a=t.getItemVisual(n,e+"Offset"),s=t.getItemVisual(n,e+"KeepAspect"),l=Qt.xU(o);return r+l+Qt.hV(a||0,l)+(i||"")+(s||"")}function Ha(e,t,n){var r=t.getItemVisual(n,e);if(r&&"none"!==r){var o=t.getItemVisual(n,e+"Size"),i=t.getItemVisual(n,e+"Rotate"),a=t.getItemVisual(n,e+"Offset"),s=t.getItemVisual(n,e+"KeepAspect"),l=Qt.xU(o),c=Qt.hV(a||0,l),u=Qt.v5(r,-l[0]/2+c[0],-l[1]/2+c[1],l[0],l[1],null,s);return u.__specifiedRotation=null==i||isNaN(i)?void 0:+i*Math.PI/180||0,u.name=e,u}}function Wa(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var n=t[2];n?(e.cpx1=n[0],e.cpy1=n[1]):(e.cpx1=NaN,e.cpy1=NaN)}var Xa=function(e){function t(t,n,r){var o=e.call(this)||this;return o._createLine(t,n,r),o}return(0,Ye.C6)(t,e),t.prototype._createLine=function(e,t,n){var r=e.hostModel,o=function(e){var t=new La({name:"line",subPixelOptimize:!0});return Wa(t.shape,e),t}(e.getItemLayout(t));o.shape.percent=0,Ge.LW(o,{shape:{percent:1}},r,t),this.add(o),(0,y.each)(Va,(function(n){var r=Ha(n,e,t);this.add(r),this[Ua(n)]=Fa(n,e,t)}),this),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var r=e.hostModel,o=this.childOfName("line"),i=e.getItemLayout(t),a={shape:{}};Wa(a.shape,i),Ge.oi(o,a,r,t),(0,y.each)(Va,(function(n){var r=Fa(n,e,t),o=Ua(n);if(this[o]!==r){this.remove(this.childOfName(n));var i=Ha(n,e,t);this.add(i)}this[o]=r}),this),this._updateCommonStl(e,t,n)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(e,t,n){var r=e.hostModel,o=this.childOfName("line"),i=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels,c=n&&n.emphasisDisabled,u=n&&n.focus,d=n&&n.blurScope;if(!n||e.hasItemOption){var f=e.getItemModel(t),h=f.getModel("emphasis");i=h.getModel("lineStyle").getLineStyle(),a=f.getModel(["blur","lineStyle"]).getLineStyle(),s=f.getModel(["select","lineStyle"]).getLineStyle(),c=h.get("disabled"),u=h.get("focus"),d=h.get("blurScope"),l=(0,ct.lx)(f)}var p=e.getItemVisual(t,"style"),m=p.stroke;o.useStyle(p),o.style.fill=null,o.style.strokeNoScale=!0,o.ensureState("emphasis").style=i,o.ensureState("blur").style=a,o.ensureState("select").style=s,(0,y.each)(Va,(function(e){var t=this.childOfName(e);if(t){t.setColor(m),t.style.opacity=p.opacity;for(var n=0;n<et.BV.length;n++){var r=et.BV[n],i=o.getState(r);if(i){var a=i.style||{},s=t.ensureState(r),l=s.style||(s.style={});null!=a.stroke&&(l[t.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}t.markRedraw()}}),this);var g=r.getRawValue(t);(0,ct.qM)(this,l,{labelDataIndex:t,labelFetcher:{getFormattedLabel:function(t,n){return r.getFormattedLabel(t,n,e.dataType)}},inheritColor:m||"#000",defaultOpacity:p.opacity,defaultText:(null==g?e.getName(t):isFinite(g)?(0,Le.LI)(g):g)+""});var A=this.getTextContent();if(A){var v=l.normal;A.__align=A.style.align,A.__verticalAlign=A.style.verticalAlign,A.__position=v.get("position")||"middle";var O=v.get("distance");(0,y.isArray)(O)||(O=[O,O]),A.__labelDistance=O}this.setTextConfig({position:null,local:!0,inside:!1}),(0,et.Lm)(this,u,d,c)},t.prototype.highlight=function(){(0,et.HY)(this)},t.prototype.downplay=function(){(0,et.SD)(this)},t.prototype.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},t.prototype.setLinePoints=function(e){var t=this.childOfName("line");Wa(t.shape,e),t.dirty()},t.prototype.beforeUpdate=function(){var e=this,t=e.childOfName("fromSymbol"),n=e.childOfName("toSymbol"),r=e.getTextContent();if(t||n||r&&!r.ignore){for(var o=1,i=this.parent;i;)i.scaleX&&(o/=i.scaleX),i=i.parent;var a=e.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),c=a.pointAt(s),u=Hr.sub([],c,l);if(Hr.normalize(u,u),t&&(t.setPosition(l),_(t,0),t.scaleX=t.scaleY=o*s,t.markRedraw()),n&&(n.setPosition(c),_(n,1),n.scaleX=n.scaleY=o*s,n.markRedraw()),r&&!r.ignore){r.x=r.y=0,r.originX=r.originY=0;var d=void 0,f=void 0,h=r.__labelDistance,p=h[0]*o,m=h[1]*o,g=s/2,A=a.tangentAt(g),v=[A[1],-A[0]],y=a.pointAt(g);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]);var O=A[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var b=-Math.atan2(A[1],A[0]);c[0]<l[0]&&(b=Math.PI+b),r.rotation=b}var w=void 0;switch(r.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-m,f="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=m,f="top";break;default:w=0,f="middle"}switch(r.__position){case"end":r.x=u[0]*p+c[0],r.y=u[1]*m+c[1],d=u[0]>.8?"left":u[0]<-.8?"right":"center",f=u[1]>.8?"top":u[1]<-.8?"bottom":"middle";break;case"start":r.x=-u[0]*p+l[0],r.y=-u[1]*m+l[1],d=u[0]>.8?"right":u[0]<-.8?"left":"center",f=u[1]>.8?"bottom":u[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":r.x=p*O+l[0],r.y=l[1]+w,d=A[0]<0?"right":"left",r.originX=-p*O,r.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":r.x=y[0],r.y=y[1]+w,d="center",r.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":r.x=-p*O+c[0],r.y=c[1]+w,d=A[0]>=0?"right":"left",r.originX=p*O,r.originY=-w}r.scaleX=r.scaleY=o,r.setStyle({verticalAlign:r.__verticalAlign||f,align:r.__align||d})}}}function _(e,t){var n=e.__specifiedRotation;if(null==n){var r=a.tangentAt(t);e.attr("rotation",(1===t?-1:1)*Math.PI/2-Math.atan2(r[1],r[0]))}else e.attr("rotation",n)}},t}(Bt.A),ja=Xa;function qa(e){var t=e.hostModel,n=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:(0,ct.lx)(t)}}function Za(e){return isNaN(e[0])||isNaN(e[1])}function Ya(e){return e&&!Za(e[0])&&!Za(e[1])}var Ga=function(){function e(e){this.group=new Bt.A,this._LineCtor=e||ja}return e.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var n=this,r=n.group,o=n._lineData;n._lineData=e,o||r.removeAll();var i=qa(e);e.diff(o).add((function(n){t._doAdd(e,n,i)})).update((function(n,r){t._doUpdate(o,e,r,n,i)})).remove((function(e){r.remove(o.getItemGraphicEl(e))})).execute()},e.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=qa(e),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t){function n(e){e.isGroup||function(e){return e.animators&&e.animators.length>0}(e)||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var r=e.start;r<e.end;r++)if(Ya(t.getItemLayout(r))){var o=new this._LineCtor(t,r,this._seriesScope);o.traverse(n),this.group.add(o),t.setItemGraphicEl(r,o),this._progressiveEls.push(o)}},e.prototype.remove=function(){this.group.removeAll()},e.prototype.eachRendered=function(e){Ft.traverseElements(this._progressiveEls||this.group,e)},e.prototype._doAdd=function(e,t,n){if(Ya(e.getItemLayout(t))){var r=new this._LineCtor(e,t,n);e.setItemGraphicEl(t,r),this.group.add(r)}},e.prototype._doUpdate=function(e,t,n,r,o){var i=e.getItemGraphicEl(n);Ya(t.getItemLayout(r))?(i?i.updateData(t,r,o):i=new this._LineCtor(t,r,o),t.setItemGraphicEl(r,i),this.group.add(i)):this.group.remove(i)},e}(),Ka=n(89259),Ja=[],es=[],ts=[],ns=Ka.k3,rs=Hr.distSquare,os=Math.abs;function is(e,t,n){for(var r,o=e[0],i=e[1],a=e[2],s=1/0,l=n*n,c=.1,u=.1;u<=.9;u+=.1)Ja[0]=ns(o[0],i[0],a[0],u),Ja[1]=ns(o[1],i[1],a[1],u),(h=os(rs(Ja,t)-l))<s&&(s=h,r=u);for(var d=0;d<32;d++){var f=r+c;es[0]=ns(o[0],i[0],a[0],r),es[1]=ns(o[1],i[1],a[1],r),ts[0]=ns(o[0],i[0],a[0],f),ts[1]=ns(o[1],i[1],a[1],f);var h=rs(es,t)-l;if(os(h)<.01)break;var p=rs(ts,t)-l;c/=2,h<0?p>=0?r+=c:r-=c:p>=0?r-=c:r+=c}return r}function as(e,t){var n=[],r=Ka.kx,o=[[],[],[]],i=[[],[]],a=[];t/=2,e.eachEdge((function(e,s){var l=e.getLayout(),c=e.getVisual("fromSymbol"),u=e.getVisual("toSymbol");l.__original||(l.__original=[Hr.clone(l[0]),Hr.clone(l[1])],l[2]&&l.__original.push(Hr.clone(l[2])));var d=l.__original;if(null!=l[2]){if(Hr.copy(o[0],d[0]),Hr.copy(o[1],d[2]),Hr.copy(o[2],d[1]),c&&"none"!==c){var f=Sa(e.node1),h=is(o,d[0],f*t);r(o[0][0],o[1][0],o[2][0],h,n),o[0][0]=n[3],o[1][0]=n[4],r(o[0][1],o[1][1],o[2][1],h,n),o[0][1]=n[3],o[1][1]=n[4]}u&&"none"!==u&&(f=Sa(e.node2),h=is(o,d[1],f*t),r(o[0][0],o[1][0],o[2][0],h,n),o[1][0]=n[1],o[2][0]=n[2],r(o[0][1],o[1][1],o[2][1],h,n),o[1][1]=n[1],o[2][1]=n[2]),Hr.copy(l[0],o[0]),Hr.copy(l[1],o[2]),Hr.copy(l[2],o[1])}else Hr.copy(i[0],d[0]),Hr.copy(i[1],d[1]),Hr.sub(a,i[1],i[0]),Hr.normalize(a,a),c&&"none"!==c&&(f=Sa(e.node1),Hr.scaleAndAdd(i[0],i[0],a,f*t)),u&&"none"!==u&&(f=Sa(e.node2),Hr.scaleAndAdd(i[1],i[1],a,-f*t)),Hr.copy(l[0],i[0]),Hr.copy(l[1],i[1])}))}function ss(e){return"view"===e.type}var ls=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.init=function(e,t){var n=new kt.A,r=new Ga,o=this.group;this._controller=new Sn(t.getZr()),this._controllerHost={target:o},o.add(n.group),o.add(r.group),this._symbolDraw=n,this._lineDraw=r,this._firstRender=!0},t.prototype.render=function(e,t,n){var r=this,o=e.coordinateSystem;this._model=e;var i=this._symbolDraw,a=this._lineDraw,s=this.group;if(ss(o)){var l={x:o.x,y:o.y,scaleX:o.scaleX,scaleY:o.scaleY};this._firstRender?s.attr(l):Ge.oi(s,l,e)}as(e.getGraph(),xa(e));var c=e.getData();i.updateData(c);var u=e.getEdgeData();a.updateData(u),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var d=e.forceLayout,f=e.get(["force","layoutAnimation"]);d&&this._startForceLayoutIteration(d,f);var h=e.get("layout");c.graph.eachNode((function(t){var n=t.dataIndex,o=t.getGraphicEl(),i=t.getModel();if(o){o.off("drag").off("dragend");var a=i.get("draggable");a&&o.on("drag",(function(i){switch(h){case"force":d.warmUp(),!r._layouting&&r._startForceLayoutIteration(d,f),d.setFixed(n),c.setItemLayout(n,[o.x,o.y]);break;case"circular":c.setItemLayout(n,[o.x,o.y]),t.setLayout({fixed:!0},!0),Ba(e,"symbolSize",t,[i.offsetX,i.offsetY]),r.updateLayout(e);break;default:c.setItemLayout(n,[o.x,o.y]),wa(e.getGraph(),e),r.updateLayout(e)}})).on("dragend",(function(){d&&d.setUnfixed(n)})),o.setDraggable(a,!!i.get("cursor")),"adjacency"===i.get(["emphasis","focus"])&&((0,Tt.z)(o).focus=t.getAdjacentDataIndices())}})),c.graph.eachEdge((function(e){var t=e.getGraphicEl(),n=e.getModel().get(["emphasis","focus"]);t&&"adjacency"===n&&((0,Tt.z)(t).focus={edge:[e.dataIndex],node:[e.node1.dataIndex,e.node2.dataIndex]})}));var p="circular"===e.get("layout")&&e.get(["circular","rotateLabel"]),m=c.getLayout("cx"),g=c.getLayout("cy");c.graph.eachNode((function(e){Ta(e,p,m,g)})),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(e,t){var n=this;!function r(){e.step((function(e){n.updateLayout(n._model),(n._layouting=!e)&&(t?n._layoutTimeout=setTimeout(r,16):r())}))}()},t.prototype._updateController=function(e,t,n){var r=this,o=this._controller,i=this._controllerHost,a=this.group;o.setPointerChecker((function(t,r,o){var i=a.getBoundingRect();return i.applyTransform(a.transform),i.contain(r,o)&&!(0,Qn.I)(t,n,e)})),ss(e.coordinateSystem)?(o.enable(e.get("roam")),i.zoomLimit=e.get("scaleLimit"),i.zoom=e.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",(function(t){kn(i,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){Cn(i,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),r._updateNodeAndLinkScale(),as(e.getGraph(),xa(e)),r._lineDraw.updateLayout(),n.updateLabelLayout()}))):o.disable()},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,t=e.getData(),n=xa(e);t.eachItemGraphicEl((function(e,t){e&&e.setSymbolScale(n)}))},t.prototype.updateLayout=function(e){as(e.getGraph(),xa(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(tt.A),cs=ls;function us(e){return"_EC_"+e}var ds=function(){function e(e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=e||!1}return e.prototype.isDirected=function(){return this._directed},e.prototype.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[us(e)]){var r=new fs(e,t);return r.hostGraph=this,this.nodes.push(r),n[us(e)]=r,r}},e.prototype.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},e.prototype.getNodeById=function(e){return this._nodesMap[us(e)]},e.prototype.addEdge=function(e,t,n){var r=this._nodesMap,o=this._edgesMap;if(y.isNumber(e)&&(e=this.nodes[e]),y.isNumber(t)&&(t=this.nodes[t]),e instanceof fs||(e=r[us(e)]),t instanceof fs||(t=r[us(t)]),e&&t){var i=e.id+"-"+t.id,a=new hs(e,t,n);return a.hostGraph=this,this._directed&&(e.outEdges.push(a),t.inEdges.push(a)),e.edges.push(a),e!==t&&t.edges.push(a),this.edges.push(a),o[i]=a,a}},e.prototype.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},e.prototype.getEdge=function(e,t){e instanceof fs&&(e=e.id),t instanceof fs&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},e.prototype.eachNode=function(e,t){for(var n=this.nodes,r=n.length,o=0;o<r;o++)n[o].dataIndex>=0&&e.call(t,n[o],o)},e.prototype.eachEdge=function(e,t){for(var n=this.edges,r=n.length,o=0;o<r;o++)n[o].dataIndex>=0&&n[o].node1.dataIndex>=0&&n[o].node2.dataIndex>=0&&e.call(t,n[o],o)},e.prototype.breadthFirstTraverse=function(e,t,n,r){if(t instanceof fs||(t=this._nodesMap[us(t)]),t){for(var o="out"===n?"outEdges":"in"===n?"inEdges":"edges",i=0;i<this.nodes.length;i++)this.nodes[i].__visited=!1;if(!e.call(r,t,null))for(var a=[t];a.length;){var s=a.shift(),l=s[o];for(i=0;i<l.length;i++){var c=l[i],u=c.node1===s?c.node2:c.node1;if(!u.__visited){if(e.call(r,u,s))return;a.push(u),u.__visited=!0}}}}},e.prototype.update=function(){for(var e=this.data,t=this.edgeData,n=this.nodes,r=this.edges,o=0,i=n.length;o<i;o++)n[o].dataIndex=-1;for(o=0,i=e.count();o<i;o++)n[e.getRawIndex(o)].dataIndex=o;for(t.filterSelf((function(e){var n=r[t.getRawIndex(e)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0})),o=0,i=r.length;o<i;o++)r[o].dataIndex=-1;for(o=0,i=t.count();o<i;o++)r[t.getRawIndex(o)].dataIndex=o},e.prototype.clone=function(){for(var t=new e(this._directed),n=this.nodes,r=this.edges,o=0;o<n.length;o++)t.addNode(n[o].id,n[o].dataIndex);for(o=0;o<r.length;o++){var i=r[o];t.addEdge(i.node1.id,i.node2.id,i.dataIndex)}return t},e}(),fs=function(){function e(e,t){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==e?"":e,this.dataIndex=null==t?-1:t}return e.prototype.degree=function(){return this.edges.length},e.prototype.inDegree=function(){return this.inEdges.length},e.prototype.outDegree=function(){return this.outEdges.length},e.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(e)},e.prototype.getAdjacentDataIndices=function(){for(var e={edge:[],node:[]},t=0;t<this.edges.length;t++){var n=this.edges[t];n.dataIndex<0||(e.edge.push(n.dataIndex),e.node.push(n.node1.dataIndex,n.node2.dataIndex))}return e},e.prototype.getTrajectoryDataIndices=function(){for(var e=y.createHashMap(),t=y.createHashMap(),n=0;n<this.edges.length;n++){var r=this.edges[n];if(!(r.dataIndex<0)){e.set(r.dataIndex,!0);for(var o=[r.node1],i=[r.node2],a=0;a<o.length;){var s=o[a];a++,t.set(s.dataIndex,!0);for(var l=0;l<s.inEdges.length;l++)e.set(s.inEdges[l].dataIndex,!0),o.push(s.inEdges[l].node1)}for(a=0;a<i.length;){var c=i[a];for(a++,t.set(c.dataIndex,!0),l=0;l<c.outEdges.length;l++)e.set(c.outEdges[l].dataIndex,!0),i.push(c.outEdges[l].node2)}}}return{edge:e.keys(),node:t.keys()}},e}(),hs=function(){function e(e,t,n){this.dataIndex=-1,this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}return e.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(e)},e.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},e.prototype.getTrajectoryDataIndices=function(){var e=y.createHashMap(),t=y.createHashMap();e.set(this.dataIndex,!0);for(var n=[this.node1],r=[this.node2],o=0;o<n.length;){var i=n[o];o++,t.set(i.dataIndex,!0);for(var a=0;a<i.inEdges.length;a++)e.set(i.inEdges[a].dataIndex,!0),n.push(i.inEdges[a].node1)}for(o=0;o<r.length;){var s=r[o];for(o++,t.set(s.dataIndex,!0),a=0;a<s.outEdges.length;a++)e.set(s.outEdges[a].dataIndex,!0),r.push(s.outEdges[a].node2)}return{edge:e.keys(),node:t.keys()}},e}();function ps(e,t){return{getValue:function(n){var r=this[e][t];return r.getStore().get(r.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,r){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n){return this[e][t].getItemVisual(this.dataIndex,n)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}}y.mixin(fs,ps("hostGraph","data")),y.mixin(hs,ps("hostGraph","edgeData"));var ms=ds,gs=n(89737);function As(e,t,n,r,o){for(var i=new ms(r),a=0;a<e.length;a++)i.addNode(y.retrieve(e[a].id,e[a].name,a),a);var s=[],l=[],c=0;for(a=0;a<t.length;a++){var u=t[a],d=u.source,f=u.target;i.addEdge(d,f,c)&&(l.push(u),s.push(y.retrieve((0,Ue.vS)(u.id,null),d+" > "+f)),c++)}var h,p=n.get("coordinateSystem");if("cartesian2d"===p||"polar"===p)h=(0,_t.A)(e,n);else{var m=gs.A.get(p),g=m&&m.dimensions||[];y.indexOf(g,"value")<0&&g.concat(["value"]);var A=(0,pt.A)(e,{coordDimensions:g,encodeDefine:n.getEncode()}).dimensions;(h=new mt.A(A,n)).initData(e)}var v=new mt.A(["value"],n);return v.initData(l,s),o&&o(h,v),Ho({mainData:h,struct:i,structAttr:"graph",datas:{node:h,edge:v},datasAttr:{node:"data",edge:"edgeData"}}),i.update(),i}var vs=n(4235),ys=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return(0,Ye.C6)(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments);var n=this;function r(){return n._categoriesData}this.legendVisualProvider=new vt(r,r),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(t){e.prototype.mergeDefaultAndTheme.apply(this,arguments),(0,Ue.M5)(t,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,t){var n,r=e.edges||e.links||[],o=e.data||e.nodes||[],i=this;if(o&&r){ma(n=this)&&(n.__curvenessList=[],n.__edgeMap={},ga(n));var a=As(o,r,this,!0,(function(e,t){e.wrapMethod("getItemModel",(function(e){var t=i._categoriesModels[e.getShallow("category")];return t&&(t.parentModel=e.parentModel,e.parentModel=t),e}));var n=Gt.A.prototype.getModel;function r(e,t){var r=n.call(this,e,t);return r.resolveParentPath=o,r}function o(e){if(e&&("label"===e[0]||"label"===e[1])){var t=e.slice();return"label"===e[0]?t[0]="edgeLabel":"label"===e[1]&&(t[1]="edgeLabel"),t}return e}t.wrapMethod("getItemModel",(function(e){return e.resolveParentPath=o,e.getModel=r,e}))}));return y.each(a.edges,(function(e){!function(e,t,n,r){if(ma(n)){var o=Aa(e,t,n),i=n.__edgeMap,a=i[va(o)];i[o]&&!a?i[o].isForward=!0:a&&i[o]&&(a.isForward=!0,i[o].isForward=!1),i[o]=i[o]||[],i[o].push(r)}}(e.node1,e.node2,this,e.dataIndex)}),this),a.data}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(e,t,n){if("edge"===n){var r=this.getData(),o=this.getDataParams(e,n),i=r.graph.getEdgeByIndex(e),a=r.getName(i.node1.dataIndex),s=r.getName(i.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),(0,jt.Qx)("nameValue",{name:l.join(" > "),value:o.value,noValue:null==o.value})}return(0,vs.J)({series:this,dataIndex:e,multipleSeries:t})},t.prototype._updateCategoriesData=function(){var e=y.map(this.option.categories||[],(function(e){return null!=e.value?e:y.extend({value:0},e)})),t=new mt.A(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e)}))},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.isAnimationEnabled=function(){return e.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(yt.A),Os=ys,bs={type:"graphRoam",event:"graphRoam",update:"none"},ws=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},_s=function(e){function t(t){var n=e.call(this,t)||this;return n.type="pointer",n}return(0,Ye.C6)(t,e),t.prototype.getDefaultShape=function(){return new ws},t.prototype.buildPath=function(e,t){var n=Math.cos,r=Math.sin,o=t.r,i=t.width,a=t.angle,s=t.x-n(a)*i*(i>=o/3?1:2),l=t.y-r(a)*i*(i>=o/3?1:2);a=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(a)*i,t.y+r(a)*i),e.lineTo(t.x+n(t.angle)*o,t.y+r(t.angle)*o),e.lineTo(t.x-n(a)*i,t.y-r(a)*i),e.lineTo(s,l)},t}(s.Ay),xs=_s,Ss=n(84618);function ks(e,t){var n=null==e?"":e+"";return t&&((0,y.isString)(t)?n=t.replace("{value}",n):(0,y.isFunction)(t)&&(n=t(e))),n}var Cs=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){this.group.removeAll();var r=e.get(["axisLine","lineStyle","color"]),o=function(e,t){var n=e.get("center"),r=t.getWidth(),o=t.getHeight(),i=Math.min(r,o);return{cx:(0,Le.lo)(n[0],t.getWidth()),cy:(0,Le.lo)(n[1],t.getHeight()),r:(0,Le.lo)(e.get("radius"),i/2)}}(e,n);this._renderMain(e,t,n,r,o),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,n,r,o){var i=this.group,a=e.get("clockwise"),s=-e.get("startAngle")/180*Math.PI,l=-e.get("endAngle")/180*Math.PI,c=e.getModel("axisLine"),u=c.get("roundCap")?Ss.A:Je.A,d=c.get("show"),f=c.getModel("lineStyle"),h=f.get("width"),p=[s,l];(0,z.q)(p,!a);for(var m=(l=p[1])-(s=p[0]),g=s,A=[],v=0;d&&v<r.length;v++){var O=new u({shape:{startAngle:g,endAngle:l=s+m*Math.min(Math.max(r[v][0],0),1),cx:o.cx,cy:o.cy,clockwise:a,r0:o.r-h,r:o.r},silent:!0});O.setStyle({fill:r[v][1]}),O.setStyle(f.getLineStyle(["color","width"])),A.push(O),g=l}A.reverse(),(0,y.each)(A,(function(e){return i.add(e)}));var b=function(e){if(e<=0)return r[0][1];var t;for(t=0;t<r.length;t++)if(r[t][0]>=e&&(0===t?0:r[t-1][0])<e)return r[t][1];return r[t-1][1]};this._renderTicks(e,t,n,b,o,s,l,a,h),this._renderTitleAndDetail(e,t,n,b,o),this._renderAnchor(e,o),this._renderPointer(e,t,n,b,o,s,l,a,h)},t.prototype._renderTicks=function(e,t,n,r,o,i,a,s,l){for(var c,u,d=this.group,f=o.cx,h=o.cy,p=o.r,m=+e.get("min"),g=+e.get("max"),A=e.getModel("splitLine"),v=e.getModel("axisTick"),O=e.getModel("axisLabel"),b=e.get("splitNumber"),w=v.get("splitNumber"),_=(0,Le.lo)(A.get("length"),p),x=(0,Le.lo)(v.get("length"),p),S=i,k=(a-i)/b,C=k/w,B=A.getModel("lineStyle").getLineStyle(),Q=v.getModel("lineStyle").getLineStyle(),T=A.get("distance"),E=0;E<=b;E++){if(c=Math.cos(S),u=Math.sin(S),A.get("show")){var P=T?T+l:l,$=new Pn.A({shape:{x1:c*(p-P)+f,y1:u*(p-P)+h,x2:c*(p-_-P)+f,y2:u*(p-_-P)+h},style:B,silent:!0});"auto"===B.stroke&&$.setStyle({stroke:r(E/b)}),d.add($)}if(O.get("show")){P=O.get("distance")+T;var M=ks((0,Le.LI)(E/b*(g-m)+m),O.get("formatter")),z=r(E/b),R=c*(p-_-P)+f,D=u*(p-_-P)+h,I=O.get("rotate"),N=0;"radial"===I?(N=-S+2*Math.PI)>Math.PI/2&&(N+=Math.PI):"tangential"===I?N=-S-Math.PI/2:(0,y.isNumber)(I)&&(N=I*Math.PI/180),0===N?d.add(new q.Ay({style:(0,ct.VB)(O,{text:M,x:R,y:D,verticalAlign:u<-.8?"top":u>.8?"bottom":"middle",align:c<-.4?"left":c>.4?"right":"center"},{inheritColor:z}),silent:!0})):d.add(new q.Ay({style:(0,ct.VB)(O,{text:M,x:R,y:D,verticalAlign:"middle",align:"center"},{inheritColor:z}),silent:!0,originX:R,originY:D,rotation:N}))}if(v.get("show")&&E!==b){P=(P=v.get("distance"))?P+l:l;for(var L=0;L<=w;L++){c=Math.cos(S),u=Math.sin(S);var V=new Pn.A({shape:{x1:c*(p-P)+f,y1:u*(p-P)+h,x2:c*(p-x-P)+f,y2:u*(p-x-P)+h},silent:!0,style:Q});"auto"===Q.stroke&&V.setStyle({stroke:r((E+L/w)/b)}),d.add(V),S+=C}S-=C}else S+=k}},t.prototype._renderPointer=function(e,t,n,r,o,i,a,s,c){var u=this.group,d=this._data,f=this._progressEls,h=[],p=e.get(["pointer","show"]),m=e.getModel("progress"),g=m.get("show"),A=e.getData(),v=A.mapDimension("value"),O=+e.get("min"),b=+e.get("max"),w=[O,b],_=[i,a];function x(t,n){var r,i=A.getItemModel(t).getModel("pointer"),a=(0,Le.lo)(i.get("width"),o.r),s=(0,Le.lo)(i.get("length"),o.r),l=e.get(["pointer","icon"]),c=i.get("offsetCenter"),u=(0,Le.lo)(c[0],o.r),d=(0,Le.lo)(c[1],o.r),f=i.get("keepAspect");return(r=l?(0,Qt.v5)(l,u-a/2,d-s,a,s,null,f):new xs({shape:{angle:-Math.PI/2,width:a,r:s,x:u,y:d}})).rotation=-(n+Math.PI/2),r.x=o.cx,r.y=o.cy,r}function S(e,t){var n=m.get("roundCap")?Ss.A:Je.A,r=m.get("overlap"),a=r?m.get("width"):c/A.count(),l=r?o.r-a:o.r-(e+1)*a,u=r?o.r:o.r-e*a,d=new n({shape:{startAngle:i,endAngle:t,cx:o.cx,cy:o.cy,clockwise:s,r0:l,r:u}});return r&&(d.z2=(0,Le.Cb)(A.get(v,e),[O,b],[100,0],!0)),d}(g||p)&&(A.diff(d).add((function(t){var n=A.get(v,t);if(p){var r=x(t,i);Ge.LW(r,{rotation:-((isNaN(+n)?_[0]:(0,Le.Cb)(n,w,_,!0))+Math.PI/2)},e),u.add(r),A.setItemGraphicEl(t,r)}if(g){var o=S(t,i),a=m.get("clip");Ge.LW(o,{shape:{endAngle:(0,Le.Cb)(n,w,_,a)}},e),u.add(o),(0,Tt.a)(e.seriesIndex,A.dataType,t,o),h[t]=o}})).update((function(t,n){var r=A.get(v,t);if(p){var o=d.getItemGraphicEl(n),a=o?o.rotation:i,s=x(t,a);s.rotation=a,Ge.oi(s,{rotation:-((isNaN(+r)?_[0]:(0,Le.Cb)(r,w,_,!0))+Math.PI/2)},e),u.add(s),A.setItemGraphicEl(t,s)}if(g){var l=f[n],c=S(t,l?l.shape.endAngle:i),y=m.get("clip");Ge.oi(c,{shape:{endAngle:(0,Le.Cb)(r,w,_,y)}},e),u.add(c),(0,Tt.a)(e.seriesIndex,A.dataType,t,c),h[t]=c}})).execute(),A.each((function(e){var t=A.getItemModel(e),n=t.getModel("emphasis"),o=n.get("focus"),i=n.get("blurScope"),a=n.get("disabled");if(p){var s=A.getItemGraphicEl(e),c=A.getItemVisual(e,"style"),u=c.fill;if(s instanceof l.Ay){var d=s.style;s.useStyle((0,y.extend)({image:d.image,x:d.x,y:d.y,width:d.width,height:d.height},c))}else s.useStyle(c),"pointer"!==s.type&&s.setColor(u);s.setStyle(t.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",r((0,Le.Cb)(A.get(v,e),w,[0,1],!0))),s.z2EmphasisLift=0,(0,et.Mx)(s,t),(0,et.Lm)(s,o,i,a)}if(g){var f=h[e];f.useStyle(A.getItemVisual(e,"style")),f.setStyle(t.getModel(["progress","itemStyle"]).getItemStyle()),f.z2EmphasisLift=0,(0,et.Mx)(f,t),(0,et.Lm)(f,o,i,a)}})),this._progressEls=h)},t.prototype._renderAnchor=function(e,t){var n=e.getModel("anchor");if(n.get("show")){var r=n.get("size"),o=n.get("icon"),i=n.get("offsetCenter"),a=n.get("keepAspect"),s=(0,Qt.v5)(o,t.cx-r/2+(0,Le.lo)(i[0],t.r),t.cy-r/2+(0,Le.lo)(i[1],t.r),r,r,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},t.prototype._renderTitleAndDetail=function(e,t,n,r,o){var i=this,a=e.getData(),s=a.mapDimension("value"),l=+e.get("min"),c=+e.get("max"),u=new Bt.A,d=[],f=[],h=e.isAnimationEnabled(),p=e.get(["pointer","showAbove"]);a.diff(this._data).add((function(e){d[e]=new q.Ay({silent:!0}),f[e]=new q.Ay({silent:!0})})).update((function(e,t){d[e]=i._titleEls[t],f[e]=i._detailEls[t]})).execute(),a.each((function(t){var n=a.getItemModel(t),i=a.get(s,t),m=new Bt.A,g=r((0,Le.Cb)(i,[l,c],[0,1],!0)),A=n.getModel("title");if(A.get("show")){var v=A.get("offsetCenter"),y=o.cx+(0,Le.lo)(v[0],o.r),O=o.cy+(0,Le.lo)(v[1],o.r);(B=d[t]).attr({z2:p?0:2,style:(0,ct.VB)(A,{x:y,y:O,text:a.getName(t),align:"center",verticalAlign:"middle"},{inheritColor:g})}),m.add(B)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),_=o.cx+(0,Le.lo)(w[0],o.r),x=o.cy+(0,Le.lo)(w[1],o.r),S=(0,Le.lo)(b.get("width"),o.r),k=(0,Le.lo)(b.get("height"),o.r),C=e.get(["progress","show"])?a.getItemVisual(t,"style").fill:g,B=f[t],Q=b.get("formatter");B.attr({z2:p?0:2,style:(0,ct.VB)(b,{x:_,y:x,text:ks(i,Q),width:isNaN(S)?null:S,height:isNaN(k)?null:k,align:"center",verticalAlign:"middle"},{inheritColor:C})}),(0,ct.Oh)(B,{normal:b},i,(function(e){return ks(e,Q)})),h&&(0,ct.xb)(B,t,a,e,{getFormattedLabel:function(e,t,n,r,o,a){return ks(a?a.interpolatedValue:i,Q)}}),m.add(B)}u.add(m)})),this.group.add(u),this._titleEls=d,this._detailEls=f},t.type="gauge",t}(tt.A),Bs=Cs,Qs=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="itemStyle",n}return(0,Ye.C6)(t,e),t.prototype.getInitialData=function(e,t){return gt(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t}(yt.A),Ts=Qs,Es=["itemStyle","opacity"],Ps=function(e){function t(t,n){var r=e.call(this)||this,o=r,i=new Ke.A,a=new q.Ay;return o.setTextContent(a),r.setTextGuideLine(i),r.updateData(t,n,!0),r}return(0,Ye.C6)(t,e),t.prototype.updateData=function(e,t,n){var r=this,o=e.hostModel,i=e.getItemModel(t),a=e.getItemLayout(t),s=i.getModel("emphasis"),l=i.get(Es);l=null==l?1:l,n||(0,Ge.ap)(r),r.useStyle(e.getItemVisual(t,"style")),r.style.lineJoin="round",n?(r.setShape({points:a.points}),r.style.opacity=0,Ge.LW(r,{style:{opacity:l}},o,t)):Ge.oi(r,{style:{opacity:l},shape:{points:a.points}},o,t),(0,et.Mx)(r,i),this._updateLabel(e,t),(0,et.Lm)(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e,t){var n=this,r=this.getTextGuideLine(),o=n.getTextContent(),i=e.hostModel,a=e.getItemModel(t),s=e.getItemLayout(t).label,l=e.getItemVisual(t,"style"),c=l.fill;(0,ct.qM)(o,(0,ct.lx)(a),{labelFetcher:e.hostModel,labelDataIndex:t,defaultOpacity:l.opacity,defaultText:e.getName(t)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:c,outsideFill:c});var u=s.linePoints;r.setShape({points:u}),n.textGuideLineConfig={anchor:u?new nt.A(u[0][0],u[0][1]):null},Ge.oi(o,{style:{x:s.x,y:s.y}},i,t),o.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),(0,rt.eR)(n,(0,rt.rv)(a),{stroke:c})},t}(Ht.A),$s=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreLabelLineUpdate=!0,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),o=this._data,i=this.group;r.diff(o).add((function(e){var t=new Ps(r,e);r.setItemGraphicEl(e,t),i.add(t)})).update((function(e,t){var n=o.getItemGraphicEl(t);n.updateData(r,e),i.add(n),r.setItemGraphicEl(e,n)})).remove((function(t){var n=o.getItemGraphicEl(t);Ge.t5(n,e,t)})).execute(),this._data=r},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(tt.A),Ms=$s,zs=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new vt(y.bind(this.getData,this),y.bind(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.getInitialData=function(e,t){return gt(this,{coordDimensions:["value"],encodeDefaulter:y.curry(At.ln,this)})},t.prototype._defaultLabelLine=function(e){(0,Ue.M5)(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.prototype.getDataParams=function(t){var n=this.getData(),r=e.prototype.getDataParams.call(this,t),o=n.mapDimension("value"),i=n.getSum(o);return r.percent=i?+(n.get(o,t)/i*100).toFixed(2):0,r.$vars.push("percent"),r},t.type="series.funnel",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(yt.A),Rs=zs;function Ds(e,t){e.eachSeriesByType("funnel",(function(e){var n=e.getData(),r=n.mapDimension("value"),o=e.get("sort"),i=function(e,t){return Ve.dV(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t),a=e.get("orient"),s=i.width,l=i.height,c=function(e,t){for(var n=e.mapDimension("value"),r=e.mapArray(n,(function(e){return e})),o=[],i="ascending"===t,a=0,s=e.count();a<s;a++)o[a]=a;return(0,y.isFunction)(t)?o.sort(t):"none"!==t&&o.sort((function(e,t){return i?r[e]-r[t]:r[t]-r[e]})),o}(n,o),u=i.x,d=i.y,f="horizontal"===a?[(0,Le.lo)(e.get("minSize"),l),(0,Le.lo)(e.get("maxSize"),l)]:[(0,Le.lo)(e.get("minSize"),s),(0,Le.lo)(e.get("maxSize"),s)],h=n.getDataExtent(r),p=e.get("min"),m=e.get("max");null==p&&(p=Math.min(h[0],0)),null==m&&(m=h[1]);var g=e.get("funnelAlign"),A=e.get("gap"),v=(("horizontal"===a?s:l)-A*(n.count()-1))/n.count(),O=function(e,t){if("horizontal"===a){var o=n.get(r,e)||0,i=(0,Le.Cb)(o,[p,m],f,!0),c=void 0;switch(g){case"top":c=d;break;case"center":c=d+(l-i)/2;break;case"bottom":c=d+(l-i)}return[[t,c],[t,c+i]]}var h,A=n.get(r,e)||0,v=(0,Le.Cb)(A,[p,m],f,!0);switch(g){case"left":h=u;break;case"center":h=u+(s-v)/2;break;case"right":h=u+s-v}return[[h,t],[h+v,t]]};"ascending"===o&&(v=-v,A=-A,"horizontal"===a?u+=s:d+=l,c=c.reverse());for(var b=0;b<c.length;b++){var w=c[b],_=c[b+1],x=n.getItemModel(w);if("horizontal"===a){var S=x.get(["itemStyle","width"]);null==S?S=v:(S=(0,Le.lo)(S,s),"ascending"===o&&(S=-S));var k=O(w,u),C=O(_,u+S);u+=S+A,n.setItemLayout(w,{points:k.concat(C.slice().reverse())})}else{var B=x.get(["itemStyle","height"]);null==B?B=v:(B=(0,Le.lo)(B,l),"ascending"===o&&(B=-B)),k=O(w,d),C=O(_,d+B),d+=B+A,n.setItemLayout(w,{points:k.concat(C.slice().reverse())})}}!function(e){var t=e.hostModel.get("orient");e.each((function(n){var r,o,i,a,s=e.getItemModel(n),l=s.getModel("label").get("position"),c=s.getModel("labelLine"),u=e.getItemLayout(n),d=u.points,f="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(f)"insideLeft"===l?(o=(d[0][0]+d[3][0])/2+5,i=(d[0][1]+d[3][1])/2,r="left"):"insideRight"===l?(o=(d[1][0]+d[2][0])/2-5,i=(d[1][1]+d[2][1])/2,r="right"):(o=(d[0][0]+d[1][0]+d[2][0]+d[3][0])/4,i=(d[0][1]+d[1][1]+d[2][1]+d[3][1])/4,r="center"),a=[[o,i],[o,i]];else{var h=void 0,p=void 0,m=void 0,g=void 0,A=c.get("length");"left"===l?(h=(d[3][0]+d[0][0])/2,p=(d[3][1]+d[0][1])/2,o=(m=h-A)-5,r="right"):"right"===l?(h=(d[1][0]+d[2][0])/2,p=(d[1][1]+d[2][1])/2,o=(m=h+A)+5,r="left"):"top"===l?(h=(d[3][0]+d[0][0])/2,i=(g=(p=(d[3][1]+d[0][1])/2)-A)-5,r="center"):"bottom"===l?(h=(d[1][0]+d[2][0])/2,i=(g=(p=(d[1][1]+d[2][1])/2)+A)+5,r="center"):"rightTop"===l?(h="horizontal"===t?d[3][0]:d[1][0],p="horizontal"===t?d[3][1]:d[1][1],"horizontal"===t?(i=(g=p-A)-5,r="center"):(o=(m=h+A)+5,r="top")):"rightBottom"===l?(h=d[2][0],p=d[2][1],"horizontal"===t?(i=(g=p+A)+5,r="center"):(o=(m=h+A)+5,r="bottom")):"leftTop"===l?(h=d[0][0],p="horizontal"===t?d[0][1]:d[1][1],"horizontal"===t?(i=(g=p-A)-5,r="center"):(o=(m=h-A)-5,r="right")):"leftBottom"===l?(h="horizontal"===t?d[1][0]:d[3][0],p="horizontal"===t?d[1][1]:d[2][1],"horizontal"===t?(i=(g=p+A)+5,r="center"):(o=(m=h-A)-5,r="right")):(h=(d[1][0]+d[2][0])/2,p=(d[1][1]+d[2][1])/2,"horizontal"===t?(i=(g=p+A)+5,r="center"):(o=(m=h+A)+5,r="left")),"horizontal"===t?o=m=h:i=g=p,a=[[h,p],[m,g]]}u.label={linePoints:a,x:o,y:i,verticalAlign:"middle",textAlign:r,inside:f}}))}(n)}))}var Is=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._dataGroup=new Bt.A,n._initialized=!1,n}return(0,Ye.C6)(t,e),t.prototype.init=function(){this.group.add(this._dataGroup)},t.prototype.render=function(e,t,n,r){this._progressiveEls=null;var o=this._dataGroup,i=e.getData(),a=this._data,s=e.coordinateSystem,l=s.dimensions,c=Vs(e);if(i.diff(a).add((function(e){Us(Ls(i,o,e,l,s),i,e,c)})).update((function(t,n){var r=a.getItemGraphicEl(n),o=Ns(i,t,l,s);i.setItemGraphicEl(t,r),Ge.oi(r,{shape:{points:o}},e,t),(0,Ge.ap)(r),Us(r,i,t,c)})).remove((function(e){var t=a.getItemGraphicEl(e);o.remove(t)})).execute(),!this._initialized){this._initialized=!0;var u=function(e,t){var n=e.model,r=e.getRect(),i=new Tn.A({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),a="horizontal"===n.get("layout")?"width":"height";return i.setShape(a,0),Ge.LW(i,{shape:{width:r.width,height:r.height}},t,(function(){setTimeout((function(){o.removeClipPath()}))})),i}(s,e);o.setClipPath(u)}this._data=i},t.prototype.incrementalPrepareRender=function(e,t,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},t.prototype.incrementalRender=function(e,t,n){for(var r=t.getData(),o=t.coordinateSystem,i=o.dimensions,a=Vs(t),s=this._progressiveEls=[],l=e.start;l<e.end;l++){var c=Ls(r,this._dataGroup,l,i,o);c.incremental=!0,Us(c,r,l,a),s.push(c)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(tt.A);function Ns(e,t,n,r){for(var o,i=[],a=0;a<n.length;a++){var s=n[a],l=e.get(e.mapDimension(s),t);o=l,("category"===r.getAxis(s).type?null==o:null==o||isNaN(o))||i.push(r.dataToPoint(l,s))}return i}function Ls(e,t,n,r,o){var i=Ns(e,n,r,o),a=new Ke.A({shape:{points:i},z2:10});return t.add(a),e.setItemGraphicEl(n,a),a}function Vs(e){var t=e.get("smooth",!0);return!0===t&&(t=.3),t=(0,Le.Sm)(t),(0,y.eqNaN)(t)&&(t=0),{smooth:t}}function Us(e,t,n,r){e.useStyle(t.getItemVisual(n,"style")),e.style.fill=null,e.setShape("smooth",r.smooth);var o=t.getItemModel(n),i=o.getModel("emphasis");(0,et.Mx)(e,o,"lineStyle"),(0,et.Lm)(e,i.get("focus"),i.get("blurScope"),i.get("disabled"))}var Fs=Is,Hs=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return(0,Ye.C6)(t,e),t.prototype.getInitialData=function(e,t){return(0,_t.A)(null,this,{useEncodeDefaulter:(0,y.bind)(Ws,null,this)})},t.prototype.getRawIndicesByActiveState=function(e){var t=this.coordinateSystem,n=this.getData(),r=[];return t.eachActiveState(n,(function(t,o){e===t&&r.push(n.getRawIndex(o))})),r},t.type="series.parallel",t.dependencies=["parallel"],t.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},t}(yt.A);function Ws(e){var t=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(t){var n={};return(0,y.each)(t.dimensions,(function(e){var t=+e.replace("dim","");n[e]=t})),n}}var Xs=Hs,js=["lineStyle","opacity"],qs={seriesType:"parallel",reset:function(e,t){var n=e.coordinateSystem,r={normal:e.get(["lineStyle","opacity"]),active:e.get("activeOpacity"),inactive:e.get("inactiveOpacity")};return{progress:function(e,t){n.eachActiveState(t,(function(e,n){var o=r[e];if("normal"===e&&t.hasItemOption){var i=t.getItemModel(n).get(js,!0);null!=i&&(o=i)}t.ensureUniqueItemVisual(n,"style").opacity=o}),e.start,e.end)}}}};function Zs(e){!function(e){if(!e.parallel){var t=!1;y.each(e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}}(e),function(e){var t=Ue.qB(e.parallelAxis);y.each(t,(function(t){if(y.isObject(t)){var n=t.parallelIndex||0,r=Ue.qB(e.parallel)[n];r&&r.parallelAxisDefault&&y.merge(t,r.parallelAxisDefault,!1)}}))}(e)}var Ys=n(24711),Gs=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){this._model=e,this._api=n,this._handlers||(this._handlers={},(0,y.each)(Ks,(function(e,t){n.getZr().on(t,this._handlers[t]=(0,y.bind)(e,this))}),this)),(0,Ys.N)(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},t.prototype.dispose=function(e,t){(0,Ys.IU)(this,"_throttledDispatchExpand"),(0,y.each)(this._handlers,(function(e,n){t.getZr().off(n,e)})),this._handlers=null},t.prototype._throttledDispatchExpand=function(e){this._dispatchExpand(e)},t.prototype._dispatchExpand=function(e){e&&this._api.dispatchAction((0,y.extend)({type:"parallelAxisExpand"},e))},t.type="parallel",t}(ln.A),Ks={mousedown:function(e){Js(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(Js(this,"click")&&t){var n=[e.offsetX,e.offsetY];if(Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2)>5)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&Js(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r?null:{duration:0}})}}};function Js(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}var el=Gs,tl=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var t=this.option;e&&y.merge(t,e,!0),this._initDimensions()},t.prototype.contains=function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},t.prototype.setAxisExpand=function(e){y.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},t.prototype._initDimensions=function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=y.filter(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);y.each(n,(function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)}))},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},t}(Jt.A),nl=tl,rl=n(50626),ol=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n,r)||this;return a.type=o||"value",a.axisIndex=i,a}return(0,Ye.C6)(t,e),t.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},t}(fn.A),il=n(98983),al=y.each,sl=Math.min,ll=Math.max,cl=Math.floor,ul=Math.ceil,dl=Le.LI,fl=Math.PI,hl=function(){function e(e,t,n){this.type="parallel",this._axesMap=y.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var r=e.dimensions,o=e.parallelAxisIndex;al(r,(function(e,n){var r=o[n],i=t.getComponent("parallelAxis",r),a=this._axesMap.set(e,new ol(e,rl.f$(i),[0,0],i.get("type"),r)),s="category"===a.type;a.onBand=s&&i.get("boundaryGap"),a.inverse=i.get("inverse"),i.axis=a,a.model=i,a.coordinateSystem=i.coordinateSystem=this}),this)},e.prototype.update=function(e,t){this._updateAxesFromSeries(this._model,e)},e.prototype.containPoint=function(e){var t=this._makeLayoutInfo(),n=t.axisBase,r=t.layoutBase,o=t.pixelDimIndex,i=e[1-o],a=e[o];return i>=n&&i<=n+t.axisLength&&a>=r&&a<=r+t.layoutLength},e.prototype.getModel=function(){return this._model},e.prototype._updateAxesFromSeries=function(e,t){t.eachSeries((function(n){if(e.contains(n,t)){var r=n.getData();al(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(r,r.mapDimension(e)),rl.af(t.scale,t.model)}),this)}}),this)},e.prototype.resize=function(e,t){this._rect=Ve.dV(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},e.prototype.getRect=function(){return this._rect},e.prototype._makeLayoutInfo=function(){var e,t=this._model,n=this._rect,r=["x","y"],o=["width","height"],i=t.get("layout"),a="horizontal"===i?0:1,s=n[o[a]],l=[0,s],c=this.dimensions.length,u=pl(t.get("axisExpandWidth"),l),d=pl(t.get("axisExpandCount")||0,[0,c]),f=t.get("axisExpandable")&&c>3&&c>d&&d>1&&u>0&&s>0,h=t.get("axisExpandWindow");h?(e=pl(h[1]-h[0],l),h[1]=h[0]+e):(e=pl(u*(d-1),l),(h=[u*(t.get("axisExpandCenter")||cl(c/2))-e/2])[1]=h[0]+e);var p=(s-e)/(c-d);p<3&&(p=0);var m=[cl(dl(h[0]/u,1))+1,ul(dl(h[1]/u,1))-1],g=p/u*h[0];return{layout:i,pixelDimIndex:a,layoutBase:n[r[a]],layoutLength:s,axisBase:n[r[1-a]],axisLength:n[o[1-a]],axisExpandable:f,axisExpandWidth:u,axisCollapseWidth:p,axisExpandWindow:h,axisCount:c,winInnerIndices:m,axisExpandWindow0Pos:g}},e.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),o=r.layout;t.each((function(e){var t=[0,r.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),al(n,(function(t,n){var i=(r.axisExpandable?gl:ml)(n,r),a={horizontal:{x:i.position,y:r.axisLength},vertical:{x:0,y:i.position}},s={horizontal:fl/2,vertical:0},l=[a[o].x+e.x,a[o].y+e.y],c=s[o],u=$n.create();$n.rotate(u,u,c),$n.translate(u,u,l),this._axesLayout[t]={position:l,rotation:c,transform:u,axisNameAvailableWidth:i.axisNameAvailableWidth,axisLabelShow:i.axisLabelShow,nameTruncateMaxWidth:i.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},e.prototype.getAxis=function(e){return this._axesMap.get(e)},e.prototype.dataToPoint=function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},e.prototype.eachActiveState=function(e,t,n,r){null==n&&(n=0),null==r&&(r=e.count());var o=this._axesMap,i=this.dimensions,a=[],s=[];y.each(i,(function(t){a.push(e.mapDimension(t)),s.push(o.get(t).model)}));for(var l=this.hasAxisBrushed(),c=n;c<r;c++){var u=void 0;if(l){u="active";for(var d=e.getValues(a,c),f=0,h=i.length;f<h;f++)if("inactive"===s[f].getActiveState(d[f])){u="inactive";break}}else u="normal";t(u,c)}},e.prototype.hasAxisBrushed=function(){for(var e=this.dimensions,t=this._axesMap,n=!1,r=0,o=e.length;r<o;r++)"normal"!==t.get(e[r]).model.getActiveState()&&(n=!0);return n},e.prototype.axisCoordToPoint=function(e,t){var n=this._axesLayout[t];return Ft.applyTransform([e,0],n.transform)},e.prototype.getAxisLayout=function(e){return y.clone(this._axesLayout[e])},e.prototype.getSlidedAxisExpandWindow=function(e){var t=this._makeLayoutInfo(),n=t.pixelDimIndex,r=t.axisExpandWindow.slice(),o=r[1]-r[0],i=[0,t.axisExpandWidth*(t.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:r};var a,s=e[n]-t.layoutBase-t.axisExpandWindow0Pos,l="slide",c=t.axisCollapseWidth,u=this._model.get("axisExpandSlideTriggerArea"),d=null!=u[0];if(c)d&&c&&s<o*u[0]?(l="jump",a=s-o*u[2]):d&&c&&s>o*(1-u[0])?(l="jump",a=s-o*(1-u[2])):(a=s-o*u[1])>=0&&(a=s-o*(1-u[1]))<=0&&(a=0),(a*=t.axisExpandWidth/c)?(0,il.A)(a,r,i,"all"):l="none";else{var f=r[1]-r[0];(r=[ll(0,i[1]*s/f-f/2)])[1]=sl(i[1],r[0]+f),r[0]=r[1]-f}return{axisExpandWindow:r,behavior:l}},e}();function pl(e,t){return sl(ll(e,t[0]),t[1])}function ml(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function gl(e,t){var n,r,o=t.layoutLength,i=t.axisExpandWidth,a=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,c=s,u=!1;return e<l[0]?(n=e*s,r=s):e<=l[1]?(n=t.axisExpandWindow0Pos+e*i-t.axisExpandWindow[0],c=i,u=!0):(n=o-(a-1-e)*s,r=s),{position:n,axisNameAvailableWidth:c,axisLabelShow:u,nameTruncateMaxWidth:r}}var Al=hl,vl={create:function(e,t){var n=[];return e.eachComponent("parallel",(function(r,o){var i=new Al(r,e,t);i.name="parallel_"+o,i.resize(r,t),r.coordinateSystem=i,i.model=r,n.push(i)})),e.eachSeries((function(e){if("parallel"===e.get("coordinateSystem")){var t=e.getReferringComponents("parallel",Ue.US).models[0];e.coordinateSystem=t.coordinateSystem}})),n}},yl=n(34674),Ol=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.activeIntervals=[],n}return(0,Ye.C6)(t,e),t.prototype.getAreaSelectStyle=function(){return(0,mi.A)([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(e){var t=this.activeIntervals=y.clone(e);if(t)for(var n=t.length-1;n>=0;n--)Le.Y6(t[n])},t.prototype.getActiveState=function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(+e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var r=0,o=t.length;r<o;r++)if(t[r][0]<=e&&e<=t[r][1])return"active";return"inactive"},t}(Jt.A);y.mixin(Ol,Kt.L);var bl=Ol,wl=n(14403),_l=n(25451),xl=["axisLine","axisTickLabel","axisName"],Sl=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.init=function(t,n){e.prototype.init.apply(this,arguments),(this._brushController=new wl.A(n.getZr())).on("brush",y.bind(this._onBrush,this))},t.prototype.render=function(e,t,n,r){if(!function(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}(e,t,r)){this.axisModel=e,this.api=n,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new Bt.A,this.group.add(this._axisGroup),e.get("show")){var i=function(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}(e,t),a=i.coordinateSystem,s=e.getAreaSelectStyle(),l=s.width,c=e.axis.dim,u=a.getAxisLayout(c),d=y.extend({strokeContainThreshold:l},u),f=new on.A(e,d);y.each(xl,f.add,f),this._axisGroup.add(f.getGroup()),this._refreshBrushController(d,s,e,i,l,n),Ft.groupTransition(o,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,t,n,r,o,i){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),c=Ct.A.create({x:a[0],y:-o/2,width:s,height:o});c.x-=l,c.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:"pl",clipPath:_l.wd(c),isTargetByCursor:_l.x$(c,i,r),getLinearBrushOtherExtent:_l.wx(c,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(function(e){var t=e.axis;return y.map(e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}(n))},t.prototype._onBrush=function(e){var t=e.areas,n=this.axisModel,r=n.axis,o=y.map(t,(function(e){return[r.coordToData(e.range[0],!0),r.coordToData(e.range[1],!0)]}));(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:o})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(ln.A),kl=Sl,Cl={type:"axisAreaSelect",event:"axisAreaSelected"},Bl={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function Ql(e){e.registerComponentView(el),e.registerComponentModel(nl),e.registerCoordinateSystem("parallel",vl),e.registerPreprocessor(Zs),e.registerComponentModel(bl),e.registerComponentView(kl),(0,yl.A)(e,"parallel",bl,Bl),function(e){e.registerAction(Cl,(function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},(function(t){t.axis.model.setActiveIntervals(e.intervals)}))})),e.registerAction("parallelAxisExpand",(function(e,t){t.eachComponent({mainType:"parallel",query:e},(function(t){t.setAxisExpand(e)}))}))}(e)}var Tl=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},El=function(e){function t(t){return e.call(this,t)||this}return(0,Ye.C6)(t,e),t.prototype.getDefaultShape=function(){return new Tl},t.prototype.buildPath=function(e,t){var n=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+n,t.y2),e.bezierCurveTo(t.cpx2+n,t.cpy2,t.cpx1+n,t.cpy1,t.x1+n,t.y1)):(e.lineTo(t.x2,t.y2+n),e.bezierCurveTo(t.cpx2,t.cpy2+n,t.cpx1,t.cpy1+n,t.x1,t.y1+n)),e.closePath()},t.prototype.highlight=function(){(0,et.HY)(this)},t.prototype.downplay=function(){(0,et.SD)(this)},t}(s.Ay),Pl=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._focusAdjacencyDisabled=!1,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){var r=this,o=e.getGraph(),i=this.group,a=e.layoutInfo,s=a.width,l=a.height,c=e.getData(),u=e.getData("edge"),d=e.get("orient");this._model=e,i.removeAll(),i.x=a.x,i.y=a.y,o.eachEdge((function(t){var n=new El,r=(0,Tt.z)(n);r.dataIndex=t.dataIndex,r.seriesIndex=e.seriesIndex,r.dataType="edge";var o,a,c,f,h,p,m,g,A=t.getModel(),v=A.getModel("lineStyle"),O=v.get("curveness"),b=t.node1.getLayout(),w=t.node1.getModel(),_=w.get("localX"),x=w.get("localY"),S=t.node2.getLayout(),k=t.node2.getModel(),C=k.get("localX"),B=k.get("localY"),Q=t.getLayout();n.shape.extent=Math.max(1,Q.dy),n.shape.orient=d,"vertical"===d?(o=(null!=_?_*s:b.x)+Q.sy,a=(null!=x?x*l:b.y)+b.dy,c=(null!=C?C*s:S.x)+Q.ty,h=o,p=a*(1-O)+(f=null!=B?B*l:S.y)*O,m=c,g=a*O+f*(1-O)):(o=(null!=_?_*s:b.x)+b.dx,a=(null!=x?x*l:b.y)+Q.sy,h=o*(1-O)+(c=null!=C?C*s:S.x)*O,p=a,m=o*O+c*(1-O),g=f=(null!=B?B*l:S.y)+Q.ty),n.setShape({x1:o,y1:a,x2:c,y2:f,cpx1:h,cpy1:p,cpx2:m,cpy2:g}),n.useStyle(v.getItemStyle()),$l(n.style,d,t);var T=""+A.get("value"),E=(0,ct.lx)(A,"edgeLabel");(0,ct.qM)(n,E,{labelFetcher:{getFormattedLabel:function(t,n,r,o,i,a){return e.getFormattedLabel(t,n,"edge",o,(0,y.retrieve3)(i,E.normal&&E.normal.get("formatter"),T),a)}},labelDataIndex:t.dataIndex,defaultText:T}),n.setTextConfig({position:"inside"});var P=A.getModel("emphasis");(0,et.Mx)(n,A,"lineStyle",(function(e){var n=e.getItemStyle();return $l(n,d,t),n})),i.add(n),u.setItemGraphicEl(t.dataIndex,n);var $=P.get("focus");(0,et.Lm)(n,"adjacency"===$?t.getAdjacentDataIndices():"trajectory"===$?t.getTrajectoryDataIndices():$,P.get("blurScope"),P.get("disabled"))})),o.eachNode((function(t){var n=t.getLayout(),r=t.getModel(),o=r.get("localX"),a=r.get("localY"),u=r.getModel("emphasis"),d=r.get(["itemStyle","borderRadius"])||0,f=new Tn.A({shape:{x:null!=o?o*s:n.x,y:null!=a?a*l:n.y,width:n.dx,height:n.dy,r:d},style:r.getModel("itemStyle").getItemStyle(),z2:10});(0,ct.qM)(f,(0,ct.lx)(r),{labelFetcher:{getFormattedLabel:function(t,n){return e.getFormattedLabel(t,n,"node")}},labelDataIndex:t.dataIndex,defaultText:t.id}),f.disableLabelAnimation=!0,f.setStyle("fill",t.getVisual("color")),f.setStyle("decal",t.getVisual("style").decal),(0,et.Mx)(f,r),i.add(f),c.setItemGraphicEl(t.dataIndex,f),(0,Tt.z)(f).dataType="node";var h=u.get("focus");(0,et.Lm)(f,"adjacency"===h?t.getAdjacentDataIndices():"trajectory"===h?t.getTrajectoryDataIndices():h,u.get("blurScope"),u.get("disabled"))})),c.eachItemGraphicEl((function(t,o){c.getItemModel(o).get("draggable")&&(t.drift=function(t,i){r._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=i,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(o),localX:this.shape.x/s,localY:this.shape.y/l})},t.ondragend=function(){r._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move")})),!this._data&&e.isAnimationEnabled()&&i.setClipPath(function(e,t){var n=new Tn.A({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Ge.LW(n,{shape:{width:e.width+20}},t,(function(){i.removeClipPath()})),n}(i.getBoundingRect(),e)),this._data=e.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(tt.A);function $l(e,t,n){switch(e.fill){case"source":e.fill=n.node1.getVisual("color"),e.decal=n.node1.getVisual("style").decal;break;case"target":e.fill=n.node2.getVisual("color"),e.decal=n.node2.getVisual("style").decal;break;case"gradient":var r=n.node1.getVisual("color"),o=n.node2.getVisual("color");(0,y.isString)(r)&&(0,y.isString)(o)&&(e.fill=new zn.A(0,0,+("horizontal"===t),+("vertical"===t),[{color:r,offset:0},{color:o,offset:1}]))}}var Ml=Pl,zl=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.getInitialData=function(e,t){var n=e.edges||e.links||[],r=e.data||e.nodes||[],o=e.levels||[];this.levelModels=[];for(var i=this.levelModels,a=0;a<o.length;a++)null!=o[a].depth&&o[a].depth>=0&&(i[o[a].depth]=new Gt.A(o[a],this,t));var s=As(r,n,this,!0,(function(e,t){e.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,r=n.getData().getItemLayout(t);if(r){var o=r.depth,i=n.levelModels[o];i&&(e.parentModel=i)}return e})),t.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,r=n.getGraph().getEdgeByIndex(t).node1.getLayout();if(r){var o=r.depth,i=n.levelModels[o];i&&(e.parentModel=i)}return e}))}));return s.data},t.prototype.setNodePosition=function(e,t){var n=(this.option.data||this.option.nodes)[e];n.localX=t[0],n.localY=t[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,t,n){function r(e){return isNaN(e)||null==e}if("edge"===n){var o=this.getDataParams(e,n),i=o.data,a=o.value,s=i.source+" -- "+i.target;return(0,jt.Qx)("nameValue",{name:s,value:a,noValue:r(a)})}var l=this.getGraph().getNodeByIndex(e).getLayout().value,c=this.getDataParams(e,n).data.name;return(0,jt.Qx)("nameValue",{name:null!=c?c+"":null,value:l,noValue:r(l)})},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(t,n){var r=e.prototype.getDataParams.call(this,t,n);if(null==r.value&&"node"===n){var o=this.getGraph().getNodeByIndex(t).getLayout().value;r.value=o}return r},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t}(yt.A),Rl=zl;function Dl(e,t){e.eachSeriesByType("sankey",(function(e){var n=e.get("nodeWidth"),r=e.get("nodeGap"),o=function(e,t){return Ve.dV(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t);e.layoutInfo=o;var i=o.width,a=o.height,s=e.getGraph(),l=s.nodes,c=s.edges;!function(e){y.each(e,(function(e){var t=jl(e.outEdges,Xl),n=jl(e.inEdges,Xl),r=e.getValue()||0,o=Math.max(t,n,r);e.setLayout({value:o},!0)}))}(l),function(e,t,n,r,o,i,a,s,l){(function(e,t,n,r,o,i,a){for(var s=[],l=[],c=[],u=[],d=0,f=0;f<t.length;f++)s[f]=1;for(f=0;f<e.length;f++)l[f]=e[f].inEdges.length,0===l[f]&&c.push(e[f]);for(var h=-1;c.length;){for(var p=0;p<c.length;p++){var m=c[p],g=m.hostGraph.data.getRawDataItem(m.dataIndex),A=null!=g.depth&&g.depth>=0;A&&g.depth>h&&(h=g.depth),m.setLayout({depth:A?g.depth:d},!0),"vertical"===i?m.setLayout({dy:n},!0):m.setLayout({dx:n},!0);for(var v=0;v<m.outEdges.length;v++){var O=m.outEdges[v];s[t.indexOf(O)]=0;var b=O.node2;0==--l[e.indexOf(b)]&&u.indexOf(b)<0&&u.push(b)}}++d,c=u,u=[]}for(f=0;f<s.length;f++)if(1===s[f])throw new Error("Sankey is a DAG, the original data has cycle!");var w=h>d-1?h:d-1;a&&"left"!==a&&function(e,t,n,r){if("right"===t){for(var o=[],i=e,a=0;i.length;){for(var s=0;s<i.length;s++){var l=i[s];l.setLayout({skNodeHeight:a},!0);for(var c=0;c<l.inEdges.length;c++){var u=l.inEdges[c];o.indexOf(u.node1)<0&&o.push(u.node1)}}i=o,o=[],++a}y.each(e,(function(e){Il(e)||e.setLayout({depth:Math.max(0,r-e.getLayout().skNodeHeight)},!0)}))}else"justify"===t&&function(e,t){y.each(e,(function(e){Il(e)||e.outEdges.length||e.setLayout({depth:t},!0)}))}(e,r)}(e,a,0,w),function(e,t,n){y.each(e,(function(e){var r=e.getLayout().depth*t;"vertical"===n?e.setLayout({y:r},!0):e.setLayout({x:r},!0)}))}(e,"vertical"===i?(o-n)/w:(r-n)/w,i)})(e,t,n,o,i,s,l),function(e,t,n,r,o,i,a){var s=function(e,t){var n=[],r="vertical"===t?"y":"x",o=(0,Ue.Sq)(e,(function(e){return e.getLayout()[r]}));return o.keys.sort((function(e,t){return e-t})),y.each(o.keys,(function(e){n.push(o.buckets.get(e))})),n}(e,a);(function(e,t,n,r,o,i){var a=1/0;y.each(e,(function(e){var t=e.length,s=0;y.each(e,(function(e){s+=e.getLayout().value}));var l="vertical"===i?(r-(t-1)*o)/s:(n-(t-1)*o)/s;l<a&&(a=l)})),y.each(e,(function(e){y.each(e,(function(e,t){var n=e.getLayout().value*a;"vertical"===i?(e.setLayout({x:t},!0),e.setLayout({dx:n},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:n},!0))}))})),y.each(t,(function(e){var t=+e.getValue()*a;e.setLayout({dy:t},!0)}))})(s,t,n,r,o,a),Nl(s,o,n,r,a);for(var l=1;i>0;i--)Ll(s,l*=.99,a),Nl(s,o,n,r,a),ql(s,l,a),Nl(s,o,n,r,a)}(e,t,i,o,r,a,s),function(e,t){var n="vertical"===t?"x":"y";y.each(e,(function(e){e.outEdges.sort((function(e,t){return e.node2.getLayout()[n]-t.node2.getLayout()[n]})),e.inEdges.sort((function(e,t){return e.node1.getLayout()[n]-t.node1.getLayout()[n]}))})),y.each(e,(function(e){var t=0,n=0;y.each(e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),y.each(e.inEdges,(function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy}))}))}(e,s)}(l,c,n,r,i,a,0!==y.filter(l,(function(e){return 0===e.getLayout().value})).length?0:e.get("layoutIterations"),e.get("orient"),e.get("nodeAlign"))}))}function Il(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function Nl(e,t,n,r,o){var i="vertical"===o?"x":"y";y.each(e,(function(e){var a,s,l;e.sort((function(e,t){return e.getLayout()[i]-t.getLayout()[i]}));for(var c=0,u=e.length,d="vertical"===o?"dx":"dy",f=0;f<u;f++)(l=c-(s=e[f]).getLayout()[i])>0&&(a=s.getLayout()[i]+l,"vertical"===o?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),c=s.getLayout()[i]+s.getLayout()[d]+t;if((l=c-t-("vertical"===o?r:n))>0)for(a=s.getLayout()[i]-l,"vertical"===o?s.setLayout({x:a},!0):s.setLayout({y:a},!0),c=a,f=u-2;f>=0;--f)(l=(s=e[f]).getLayout()[i]+s.getLayout()[d]+t-c)>0&&(a=s.getLayout()[i]-l,"vertical"===o?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),c=s.getLayout()[i]}))}function Ll(e,t,n){y.each(e.slice().reverse(),(function(e){y.each(e,(function(e){if(e.outEdges.length){var r=jl(e.outEdges,Vl,n)/jl(e.outEdges,Xl);if(isNaN(r)){var o=e.outEdges.length;r=o?jl(e.outEdges,Ul,n)/o:0}if("vertical"===n){var i=e.getLayout().x+(r-Wl(e,n))*t;e.setLayout({x:i},!0)}else{var a=e.getLayout().y+(r-Wl(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function Vl(e,t){return Wl(e.node2,t)*e.getValue()}function Ul(e,t){return Wl(e.node2,t)}function Fl(e,t){return Wl(e.node1,t)*e.getValue()}function Hl(e,t){return Wl(e.node1,t)}function Wl(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function Xl(e){return e.getValue()}function jl(e,t,n){for(var r=0,o=e.length,i=-1;++i<o;){var a=+t(e[i],n);isNaN(a)||(r+=a)}return r}function ql(e,t,n){y.each(e,(function(e){y.each(e,(function(e){if(e.inEdges.length){var r=jl(e.inEdges,Fl,n)/jl(e.inEdges,Xl);if(isNaN(r)){var o=e.inEdges.length;r=o?jl(e.inEdges,Hl,n)/o:0}if("vertical"===n){var i=e.getLayout().x+(r-Wl(e,n))*t;e.setLayout({x:i},!0)}else{var a=e.getLayout().y+(r-Wl(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function Zl(e){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),n=t.nodes,r=t.edges;if(n.length){var o=1/0,i=-1/0;y.each(n,(function(e){var t=e.getLayout().value;t<o&&(o=t),t>i&&(i=t)})),y.each(n,(function(t){var n=new Fi({type:"color",mappingMethod:"linear",dataExtent:[o,i],visual:e.get("color")}).mapValueToVisual(t.getLayout().value),r=t.getModel().get(["itemStyle","color"]);null!=r?(t.setVisual("color",r),t.setVisual("style",{fill:r})):(t.setVisual("color",n),t.setVisual("style",{fill:n}))}))}r.length&&y.each(r,(function(e){var t=e.getModel().get("lineStyle");e.setVisual("style",t)}))}))}var Yl=n(29756),Gl=function(){function e(){}return e.prototype._hasEncodeRule=function(e){var t=this.getEncode();return t&&null!=t.get(e)},e.prototype.getInitialData=function(e,t){var n,r,o=t.getComponent("xAxis",this.get("xAxisIndex")),i=t.getComponent("yAxis",this.get("yAxisIndex")),a=o.get("type"),s=i.get("type");"category"===a?(e.layout="horizontal",n=o.getOrdinalMeta(),r=!this._hasEncodeRule("x")):"category"===s?(e.layout="vertical",n=i.getOrdinalMeta(),r=!this._hasEncodeRule("y")):e.layout=e.layout||"horizontal";var l=["x","y"],c="horizontal"===e.layout?0:1,u=this._baseAxisDim=l[c],d=l[1-c],f=[o,i],h=f[c].get("type"),p=f[1-c].get("type"),m=e.data;if(m&&r){var g=[];y.each(m,(function(e,t){var n;y.isArray(e)?(n=e.slice(),e.unshift(t)):y.isArray(e.value)?((n=y.extend({},e)).value=n.value.slice(),e.value.unshift(t)):n=e,g.push(n)})),e.data=g}var A=this.defaultValueDimensions,v=[{name:u,type:(0,Yl.B)(h),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:d,type:(0,Yl.B)(p),dimsDef:A.slice()}];return gt(this,{coordDimensions:v,dimensionsCount:A.length+1,encodeDefaulter:y.curry(At.OC,v,this)})},e.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},e}(),Kl=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return(0,Ye.C6)(t,e),t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},t}(yt.A);(0,y.mixin)(Kl,Gl,!0);var Jl=Kl,ec=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),o=this.group,i=this._data;this._data||o.removeAll();var a="horizontal"===e.get("layout")?1:0;r.diff(i).add((function(e){if(r.hasValue(e)){var t=rc(r.getItemLayout(e),r,e,a,!0);r.setItemGraphicEl(e,t),o.add(t)}})).update((function(e,t){var n=i.getItemGraphicEl(t);if(r.hasValue(e)){var s=r.getItemLayout(e);n?((0,Ge.ap)(n),oc(s,n,r,e)):n=rc(s,r,e,a),o.add(n),r.setItemGraphicEl(e,n)}else o.remove(n)})).remove((function(e){var t=i.getItemGraphicEl(e);t&&o.remove(t)})).execute(),this._data=r},t.prototype.remove=function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(e){e&&t.remove(e)}))},t.type="boxplot",t}(tt.A),tc=function(){},nc=function(e){function t(t){var n=e.call(this,t)||this;return n.type="boxplotBoxPath",n}return(0,Ye.C6)(t,e),t.prototype.getDefaultShape=function(){return new tc},t.prototype.buildPath=function(e,t){var n=t.points,r=0;for(e.moveTo(n[r][0],n[r][1]),r++;r<4;r++)e.lineTo(n[r][0],n[r][1]);for(e.closePath();r<n.length;r++)e.moveTo(n[r][0],n[r][1]),r++,e.lineTo(n[r][0],n[r][1])},t}(s.Ay);function rc(e,t,n,r,o){var i=e.ends,a=new nc({shape:{points:o?ic(i,r,e):i}});return oc(e,a,t,n,o),a}function oc(e,t,n,r,o){var i=n.hostModel;(0,Ft[o?"initProps":"updateProps"])(t,{shape:{points:e.ends}},i,r),t.useStyle(n.getItemVisual(r,"style")),t.style.strokeNoScale=!0,t.z2=100;var a=n.getItemModel(r),s=a.getModel("emphasis");(0,et.Mx)(t,a),(0,et.Lm)(t,s.get("focus"),s.get("blurScope"),s.get("disabled"))}function ic(e,t,n){return y.map(e,(function(e){return(e=e.slice())[t]=n.initBaseline,e}))}var ac=ec,sc=y.each;function lc(e){var t=function(e){var t=[],n=[];return e.eachSeriesByType("boxplot",(function(e){var r=e.getBaseAxis(),o=y.indexOf(n,r);o<0&&(o=n.length,n[o]=r,t[o]={axis:r,seriesModels:[]}),t[o].seriesModels.push(e)})),t}(e);sc(t,(function(e){var t=e.seriesModels;t.length&&(function(e){var t,n=e.axis,r=e.seriesModels,o=r.length,i=e.boxWidthList=[],a=e.boxOffsetList=[],s=[];if("category"===n.type)t=n.getBandWidth();else{var l=0;sc(r,(function(e){l=Math.max(l,e.getData().count())}));var c=n.getExtent();t=Math.abs(c[1]-c[0])/l}sc(r,(function(e){var n=e.get("boxWidth");y.isArray(n)||(n=[n,n]),s.push([(0,Le.lo)(n[0],t)||0,(0,Le.lo)(n[1],t)||0])}));var u=.8*t-2,d=u/o*.3,f=(u-d*(o-1))/o,h=f/2-u/2;sc(r,(function(e,t){a.push(h),h+=d+f,i.push(Math.min(Math.max(f,s[t][0]),s[t][1]))}))}(e),sc(t,(function(t,n){!function(e,t,n){var r=e.coordinateSystem,o=e.getData(),i=n/2,a="horizontal"===e.get("layout")?0:1,s=1-a,l=["x","y"],c=o.mapDimension(l[a]),u=o.mapDimensionsAll(l[s]);if(!(null==c||u.length<5))for(var d=0;d<o.count();d++){var f=o.get(c,d),h=y(f,u[2],d),p=y(f,u[0],d),m=y(f,u[1],d),g=y(f,u[3],d),A=y(f,u[4],d),v=[];O(v,m,!1),O(v,g,!0),v.push(p,m,A,g),b(v,p),b(v,A),b(v,h),o.setItemLayout(d,{initBaseline:h[s],ends:v})}function y(e,n,i){var l,c=o.get(n,i),u=[];return u[a]=e,u[s]=c,isNaN(e)||isNaN(c)?l=[NaN,NaN]:(l=r.dataToPoint(u))[a]+=t,l}function O(e,t,n){var r=t.slice(),o=t.slice();r[a]+=i,o[a]-=i,n?e.push(r,o):e.push(o,r)}function b(e,t){var n=t.slice(),r=t.slice();n[a]-=i,r[a]+=i,e.push(n,r)}}(t,e.boxOffsetList[n],e.boxWidthList[n])})))}))}var cc=n(41025),uc=n(13430),dc={type:"echarts:boxplot",transform:function(e){var t=e.upstream;t.sourceFormat!==uc.Km&&(0,cc.$8)("");var n=function(e,t){for(var n=[],r=[],o=(t=t||{}).boundIQR,i="none"===o||0===o,a=0;a<e.length;a++){var s=(0,Le.Y6)(e[a].slice()),l=(0,Le.YV)(s,.25),c=(0,Le.YV)(s,.5),u=(0,Le.YV)(s,.75),d=s[0],f=s[s.length-1],h=(null==o?1.5:o)*(u-l),p=i?d:Math.max(d,l-h),m=i?f:Math.min(f,u+h),g=t.itemNameFormatter,A=(0,y.isFunction)(g)?g({value:a}):(0,y.isString)(g)?g.replace("{value}",a+""):a+"";n.push([A,p,l,c,u,m]);for(var v=0;v<s.length;v++){var O=s[v];if(O<p||O>m){var b=[A,O];r.push(b)}}}return{boxData:n,outliers:r}}(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}},fc=n(95235),hc=n(87582),pc=["itemStyle","borderColor"],mc=["itemStyle","borderColor0"],gc=["itemStyle","borderColorDoji"],Ac=["itemStyle","color"],vc=["itemStyle","color0"];function yc(e,t){return t.get(e>0?Ac:vc)}function Oc(e,t){return t.get(0===e?gc:e>0?pc:mc)}var bc={seriesType:"candlestick",plan:(0,hc.A)(),performRawSeries:!0,reset:function(e,t){if(!t.isSeriesFiltered(e))return!e.pipelineContext.large&&{progress:function(e,t){for(var n;null!=(n=e.next());){var r=t.getItemModel(n),o=t.getItemLayout(n).sign,i=r.getItemStyle();i.fill=yc(o,r),i.stroke=Oc(o,r)||i.fill;var a=t.ensureUniqueItemVisual(n,"style");(0,y.extend)(a,i)}}}}},wc=["color","borderColor"],_c=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,t,n){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,t,n,r){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},t.prototype.eachRendered=function(e){Ft.traverseElements(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e){var t=e.getData(),n=this._data,r=this.group,o=t.getLayout("isSimpleBox"),i=e.get("clip",!0),a=e.coordinateSystem,s=a.getArea&&a.getArea();this._data||r.removeAll(),t.diff(n).add((function(n){if(t.hasValue(n)){var a=t.getItemLayout(n);if(i&&Cc(s,a))return;var l=kc(a,0,!0);Ge.LW(l,{shape:{points:a.ends}},e,n),Bc(l,t,n,o),r.add(l),t.setItemGraphicEl(n,l)}})).update((function(a,l){var c=n.getItemGraphicEl(l);if(t.hasValue(a)){var u=t.getItemLayout(a);i&&Cc(s,u)?r.remove(c):(c?(Ge.oi(c,{shape:{points:u.ends}},e,a),(0,Ge.ap)(c)):c=kc(u),Bc(c,t,a,o),r.add(c),t.setItemGraphicEl(a,c))}else r.remove(c)})).remove((function(e){var t=n.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=t},t.prototype._renderLarge=function(e){this._clear(),Pc(e,this.group);var t=e.get("clip",!0)?(0,fc.Ip)(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,t){for(var n,r=t.getData(),o=r.getLayout("isSimpleBox");null!=(n=e.next());){var i=kc(r.getItemLayout(n));Bc(i,r,n,o),i.incremental=!0,this.group.add(i),this._progressiveEls.push(i)}},t.prototype._incrementalRenderLarge=function(e,t){Pc(t,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(tt.A),xc=function(){},Sc=function(e){function t(t){var n=e.call(this,t)||this;return n.type="normalCandlestickBox",n}return(0,Ye.C6)(t,e),t.prototype.getDefaultShape=function(){return new xc},t.prototype.buildPath=function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))},t}(s.Ay);function kc(e,t,n){var r=e.ends;return new Sc({shape:{points:n?Qc(r,e):r},z2:100})}function Cc(e,t){for(var n=!0,r=0;r<t.ends.length;r++)if(e.contain(t.ends[r][0],t.ends[r][1])){n=!1;break}return n}function Bc(e,t,n,r){var o=t.getItemModel(n);e.useStyle(t.getItemVisual(n,"style")),e.style.strokeNoScale=!0,e.__simpleBox=r,(0,et.Mx)(e,o);var i=t.getItemLayout(n).sign;y.each(e.states,(function(e,t){var n=o.getModel(t),r=yc(i,n),a=Oc(i,n)||r,s=e.style||(e.style={});r&&(s.fill=r),a&&(s.stroke=a)}));var a=o.getModel("emphasis");(0,et.Lm)(e,a.get("focus"),a.get("blurScope"),a.get("disabled"))}function Qc(e,t){return y.map(e,(function(e){return(e=e.slice())[1]=t.initBaseline,e}))}var Tc=function(){},Ec=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeCandlestickBox",n}return(0,Ye.C6)(t,e),t.prototype.getDefaultShape=function(){return new Tc},t.prototype.buildPath=function(e,t){for(var n=t.points,r=0;r<n.length;)if(this.__sign===n[r++]){var o=n[r++];e.moveTo(o,n[r++]),e.lineTo(o,n[r++])}else r+=3},t}(s.Ay);function Pc(e,t,n,r){var o=e.getData(),i=o.getLayout("largePoints"),a=new Ec({shape:{points:i},__sign:1,ignoreCoarsePointer:!0});t.add(a);var s=new Ec({shape:{points:i},__sign:-1,ignoreCoarsePointer:!0});t.add(s);var l=new Ec({shape:{points:i},__sign:0,ignoreCoarsePointer:!0});t.add(l),$c(1,a,e),$c(-1,s,e),$c(0,l,e),r&&(a.incremental=!0,s.incremental=!0),n&&n.push(a,s)}function $c(e,t,n,r){var o=Oc(e,n)||yc(e,n),i=n.getModel("itemStyle").getItemStyle(wc);t.useStyle(i),t.style.fill=null,t.style.stroke=o}var Mc=_c,zc=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return(0,Ye.C6)(t,e),t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(e,t,n){var r=t.getItemLayout(e);return r&&n.rect(r.brushRect)},t.type="series.candlestick",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(yt.A);(0,y.mixin)(zc,Gl,!0);var Rc=zc;function Dc(e){e&&y.isArray(e.series)&&y.each(e.series,(function(e){y.isObject(e)&&"k"===e.type&&(e.type="candlestick")}))}var Ic=n(8957),Nc={seriesType:"candlestick",plan:(0,hc.A)(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),r=function(e,t){var n,r=e.getBaseAxis(),o="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/t.count()),i=(0,Le.lo)((0,y.retrieve2)(e.get("barMaxWidth"),o),o),a=(0,Le.lo)((0,y.retrieve2)(e.get("barMinWidth"),1),o),s=e.get("barWidth");return null!=s?(0,Le.lo)(s,o):Math.max(Math.min(o/2,i),a)}(e,n),o=["x","y"],i=n.getDimensionIndex(n.mapDimension(o[0])),a=(0,y.map)(n.mapDimensionsAll(o[1]),n.getDimensionIndex,n),s=a[0],l=a[1],c=a[2],u=a[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(i<0||a.length<4))return{progress:e.pipelineContext.large?function(n,r){for(var o,a,d=(0,Ic.J)(4*n.count),f=0,h=[],p=[],m=r.getStore(),g=!!e.get(["itemStyle","borderColorDoji"]);null!=(a=n.next());){var A=m.get(i,a),v=m.get(s,a),y=m.get(l,a),O=m.get(c,a),b=m.get(u,a);isNaN(A)||isNaN(O)||isNaN(b)?(d[f++]=NaN,f+=3):(d[f++]=Lc(m,a,v,y,l,g),h[0]=A,h[1]=O,o=t.dataToPoint(h,null,p),d[f++]=o?o[0]:NaN,d[f++]=o?o[1]:NaN,h[1]=b,o=t.dataToPoint(h,null,p),d[f++]=o?o[1]:NaN)}r.setLayout("largePoints",d)}:function(e,n){for(var o,a=n.getStore();null!=(o=e.next());){var d=a.get(i,o),f=a.get(s,o),h=a.get(l,o),p=a.get(c,o),m=a.get(u,o),g=Math.min(f,h),A=Math.max(f,h),v=x(g,d),y=x(A,d),O=x(p,d),b=x(m,d),w=[];S(w,y,0),S(w,v,1),w.push(C(b),C(y),C(O),C(v));var _=!!n.getItemModel(o).get(["itemStyle","borderColorDoji"]);n.setItemLayout(o,{sign:Lc(a,o,f,h,l,_),initBaseline:f>h?y[1]:v[1],ends:w,brushRect:k(p,m,d)})}function x(e,n){var r=[];return r[0]=n,r[1]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(r)}function S(e,t,n){var o=t.slice(),i=t.slice();o[0]=(0,Ft.subPixelOptimize)(o[0]+r/2,1,!1),i[0]=(0,Ft.subPixelOptimize)(i[0]-r/2,1,!0),n?e.push(o,i):e.push(i,o)}function k(e,t,n){var o=x(e,n),i=x(t,n);return o[0]-=r/2,i[0]-=r/2,{x:o[0],y:o[1],width:r,height:i[1]-o[1]}}function C(e){return e[0]=(0,Ft.subPixelOptimize)(e[0],1),e}}}}};function Lc(e,t,n,r,o,i){return n>r?-1:n<r?1:i?0:t>0?e.get(o,t-1)<=r?1:-1:1}var Vc=Nc;function Uc(e,t){var n=t.rippleEffectColor||t.color;e.eachChild((function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?n:null,fill:"fill"===t.brushType?n:null}})}))}var Fc=function(e){function t(t,n){var r=e.call(this)||this,o=new po.A(t,n),i=new Bt.A;return r.add(o),r.add(i),r.updateData(t,n),r}return(0,Ye.C6)(t,e),t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,r=e.rippleNumber,o=this.childAt(1),i=0;i<r;i++){var a=(0,Qt.v5)(t,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-i/r*e.period+e.effectOffset;a.animate("",!0).when(e.period,{scaleX:e.rippleScale/2,scaleY:e.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(e.period,{opacity:0}).delay(s).start(),o.add(a)}Uc(o,e)},t.prototype.updateEffectAnimation=function(e){for(var t=this._effectCfg,n=this.childAt(1),r=["symbolType","period","rippleScale","rippleNumber"],o=0;o<r.length;o++){var i=r[o];if(t[i]!==e[i])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}Uc(n,e)},t.prototype.highlight=function(){(0,et.HY)(this)},t.prototype.downplay=function(){(0,et.SD)(this)},t.prototype.getSymbolType=function(){var e=this.childAt(0);return e&&e.getSymbolType()},t.prototype.updateData=function(e,t){var n=this,r=e.hostModel;this.childAt(0).updateData(e,t);var o=this.childAt(1),i=e.getItemModel(t),a=e.getItemVisual(t,"symbol"),s=(0,Qt.xU)(e.getItemVisual(t,"symbolSize")),l=e.getItemVisual(t,"style"),c=l&&l.fill,u=i.getModel("emphasis");o.setScale(s),o.traverse((function(e){e.setStyle("fill",c)}));var d=(0,Qt.hV)(e.getItemVisual(t,"symbolOffset"),s);d&&(o.x=d[0],o.y=d[1]);var f=e.getItemVisual(t,"symbolRotate");o.rotation=(f||0)*Math.PI/180||0;var h={};h.showEffectOn=r.get("showEffectOn"),h.rippleScale=i.get(["rippleEffect","scale"]),h.brushType=i.get(["rippleEffect","brushType"]),h.period=1e3*i.get(["rippleEffect","period"]),h.effectOffset=t/e.count(),h.z=r.getShallow("z")||0,h.zlevel=r.getShallow("zlevel")||0,h.symbolType=a,h.color=c,h.rippleEffectColor=i.get(["rippleEffect","color"]),h.rippleNumber=i.get(["rippleEffect","number"]),"render"===h.showEffectOn?(this._effectCfg?this.updateEffectAnimation(h):this.startEffectAnimation(h),this._effectCfg=h):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(e){"emphasis"===e?"render"!==h.showEffectOn&&n.startEffectAnimation(h):"normal"===e&&"render"!==h.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=h,(0,et.Lm)(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype.fadeOut=function(e){e&&e()},t}(Bt.A),Hc=Fc,Wc=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.init=function(){this._symbolDraw=new kt.A(Hc)},t.prototype.render=function(e,t,n){var r=e.getData(),o=this._symbolDraw;o.updateData(r,{clipShape:this._getClipShape(e)}),this.group.add(o.group)},t.prototype._getClipShape=function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},t.prototype.updateTransform=function(e,t,n){var r=e.getData();this.group.dirty();var o=(0,zt.A)("").reset(e,t,n);o.progress&&o.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout()},t.prototype._updateGroupTransform=function(e){var t=e.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=$n.clone(t.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(tt.A),Xc=Wc,jc=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return(0,Ye.C6)(t,e),t.prototype.getInitialData=function(e,t){return(0,_t.A)(null,this,{useEncodeDefaulter:!0})},t.prototype.brushSelector=function(e,t,n){return n.point(t.getItemLayout(e))},t.type="series.effectScatter",t.dependencies=["grid","polar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},t}(yt.A),qc=jc,Zc=function(e){function t(t,n,r){var o=e.call(this)||this;return o.add(o.createLine(t,n,r)),o._updateEffectSymbol(t,n),o}return(0,Ye.C6)(t,e),t.prototype.createLine=function(e,t,n){return new ja(e,t,n)},t.prototype._updateEffectSymbol=function(e,t){var n=e.getItemModel(t).getModel("effect"),r=n.get("symbolSize"),o=n.get("symbol");y.isArray(r)||(r=[r,r]);var i=e.getItemVisual(t,"style"),a=n.get("color")||i&&i.stroke,s=this.childAt(1);this._symbolType!==o&&(this.remove(s),(s=(0,Qt.v5)(o,-.5,-.5,1,1,a)).z2=100,s.culling=!0,this.add(s)),s&&(s.setStyle("shadowColor",a),s.setStyle(n.getItemStyle(["color"])),s.scaleX=r[0],s.scaleY=r[1],s.setColor(a),this._symbolType=o,this._symbolScale=r,this._updateEffectAnimation(e,n,t))},t.prototype._updateEffectAnimation=function(e,t,n){var r=this.childAt(1);if(r){var o=e.getItemLayout(n),i=1e3*t.get("period"),a=t.get("loop"),s=t.get("roundTrip"),l=t.get("constantSpeed"),c=y.retrieve(t.get("delay"),(function(t){return t/e.count()*i/3}));if(r.ignore=!0,this._updateAnimationPoints(r,o),l>0&&(i=this._getLineLength(r)/l*1e3),i!==this._period||a!==this._loop||s!==this._roundTrip){r.stopAnimation();var u=void 0;u=y.isFunction(c)?c(n):c,r.__t>0&&(u=-i*r.__t),this._animateSymbol(r,i,u,a,s)}this._period=i,this._loop=a,this._roundTrip=s}},t.prototype._animateSymbol=function(e,t,n,r,o){if(t>0){e.__t=0;var i=this,a=e.animate("",r).when(o?2*t:t,{__t:o?2:1}).delay(n).during((function(){i._updateSymbolPosition(e)}));r||a.done((function(){i.remove(e)})),a.start()}},t.prototype._getLineLength=function(e){return Hr.dist(e.__p1,e.__cp1)+Hr.dist(e.__cp1,e.__p2)},t.prototype._updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},t.prototype.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},t.prototype._updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,r=e.__cp1,o=e.__t<1?e.__t:2-e.__t,i=[e.x,e.y],a=i.slice(),s=Ka.k3,l=Ka.z7;i[0]=s(t[0],r[0],n[0],o),i[1]=s(t[1],r[1],n[1],o);var c=e.__t<1?l(t[0],r[0],n[0],o):l(n[0],r[0],t[0],1-o),u=e.__t<1?l(t[1],r[1],n[1],o):l(n[1],r[1],t[1],1-o);e.rotation=-Math.atan2(u,c)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==e.__lastT&&e.__lastT<e.__t?(e.scaleY=1.05*Hr.dist(a,i),1===o&&(i[0]=a[0]+(i[0]-a[0])/2,i[1]=a[1]+(i[1]-a[1])/2)):1===e.__lastT?e.scaleY=2*Hr.dist(t,i):e.scaleY=this._symbolScale[1]),e.__lastT=e.__t,e.ignore=!1,e.x=i[0],e.y=i[1]},t.prototype.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var n=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,n,t)},t}(Bt.A),Yc=Zc,Gc=function(e){function t(t,n,r){var o=e.call(this)||this;return o._createPolyline(t,n,r),o}return(0,Ye.C6)(t,e),t.prototype._createPolyline=function(e,t,n){var r=e.getItemLayout(t),o=new Ke.A({shape:{points:r}});this.add(o),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var r=e.hostModel,o=this.childAt(0),i={shape:{points:e.getItemLayout(t)}};Ge.oi(o,i,r,t),this._updateCommonStl(e,t,n)},t.prototype._updateCommonStl=function(e,t,n){var r=this.childAt(0),o=e.getItemModel(t),i=n&&n.emphasisLineStyle,a=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||e.hasItemOption){var c=o.getModel("emphasis");i=c.getModel("lineStyle").getLineStyle(),l=c.get("disabled"),a=c.get("focus"),s=c.get("blurScope")}r.useStyle(e.getItemVisual(t,"style")),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=i,(0,et.Lm)(this,a,s,l)},t.prototype.updateLayout=function(e,t){this.childAt(0).setShape("points",e.getItemLayout(t))},t}(Bt.A),Kc=Gc,Jc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._lastFrame=0,t._lastFramePercent=0,t}return(0,Ye.C6)(t,e),t.prototype.createLine=function(e,t,n){return new Kc(e,t,n)},t.prototype._updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],r=0,o=1;o<t.length;o++){var i=t[o-1],a=t[o];r+=Hr.dist(i,a),n.push(r)}if(0!==r){for(o=0;o<n.length;o++)n[o]/=r;this._offsets=n,this._length=r}else this._length=0},t.prototype._getLineLength=function(){return this._length},t.prototype._updateSymbolPosition=function(e){var t=e.__t<1?e.__t:2-e.__t,n=this._points,r=this._offsets,o=n.length;if(r){var i,a=this._lastFrame;if(t<this._lastFramePercent){for(i=Math.min(a+1,o-1);i>=0&&!(r[i]<=t);i--);i=Math.min(i,o-2)}else{for(i=a;i<o&&!(r[i]>t);i++);i=Math.min(i-1,o-2)}var s=(t-r[i])/(r[i+1]-r[i]),l=n[i],c=n[i+1];e.x=l[0]*(1-s)+s*c[0],e.y=l[1]*(1-s)+s*c[1];var u=e.__t<1?c[0]-l[0]:l[0]-c[0],d=e.__t<1?c[1]-l[1]:l[1]-c[1];e.rotation=-Math.atan2(d,u)-Math.PI/2,this._lastFrame=i,this._lastFramePercent=t,e.ignore=!1}},t}(Yc),eu=Jc,tu=n(57043),nu=n(14423),ru=function(){this.polyline=!1,this.curveness=0,this.segs=[]},ou=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return(0,Ye.C6)(t,e),t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new ru},t.prototype.buildPath=function(e,t){var n,r=t.segs,o=t.curveness;if(t.polyline)for(n=this._off;n<r.length;){var i=r[n++];if(i>0){e.moveTo(r[n++],r[n++]);for(var a=1;a<i;a++)e.lineTo(r[n++],r[n++])}}else for(n=this._off;n<r.length;){var s=r[n++],l=r[n++],c=r[n++],u=r[n++];if(e.moveTo(s,l),o>0){var d=(s+c)/2-(l-u)*o,f=(l+u)/2-(c-s)*o;e.quadraticCurveTo(d,f,c,u)}else e.lineTo(c,u)}this.incremental&&(this._off=n,this.notClear=!0)},t.prototype.findDataIndex=function(e,t){var n=this.shape,r=n.segs,o=n.curveness,i=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s<r.length;){var l=r[s++];if(l>0)for(var c=r[s++],u=r[s++],d=1;d<l;d++){var f=r[s++],h=r[s++];if(tu.l(c,u,f,h,i,e,t))return a}a++}else for(a=0,s=0;s<r.length;){if(c=r[s++],u=r[s++],f=r[s++],h=r[s++],o>0){var p=(c+f)/2-(u-h)*o,m=(u+h)/2-(f-c)*o;if(nu.l(c,u,p,m,f,h,i,e,t))return a}else if(tu.l(c,u,f,h,i,e,t))return a;a++}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return e=n[0],t=n[1],r.contain(e,t)?(this.hoverDataIdx=this.findDataIndex(e,t))>=0:(this.hoverDataIdx=-1,!1)},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape.segs,n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<t.length;){var s=t[a++],l=t[a++];n=Math.min(s,n),o=Math.max(s,o),r=Math.min(l,r),i=Math.max(l,i)}e=this._rect=new Ct.A(n,r,o,i)}return e},t}(s.Ay),iu=function(){function e(){this.group=new Bt.A}return e.prototype.updateData=function(e){this._clear();var t=this._create();t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e)},e.prototype.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clear()},e.prototype.incrementalUpdate=function(e,t){var n=this._newAdded[0],r=t.getLayout("linesPoints"),o=n&&n.shape.segs;if(o&&o.length<2e4){var i=o.length,a=new Float32Array(i+r.length);a.set(o),a.set(r,i),n.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:r}),this._setCommon(s,t),s.__startIndex=e.start}},e.prototype.remove=function(){this._clear()},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new ou({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(e),this.group.add(e),e},e.prototype._setCommon=function(e,t,n){var r=t.hostModel;e.setShape({polyline:r.get("polyline"),curveness:r.get(["lineStyle","curveness"])}),e.useStyle(r.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var o=t.getVisual("style");o&&o.stroke&&e.setStyle("stroke",o.stroke),e.setStyle("fill",null);var i=(0,Tt.z)(e);i.seriesIndex=r.seriesIndex,e.on("mousemove",(function(t){i.dataIndex=null;var n=e.hoverDataIdx;n>0&&(i.dataIndex=n+e.__startIndex)}))},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),au={seriesType:"lines",plan:(0,hc.A)(),reset:function(e){var t=e.coordinateSystem;if(t){var n=e.get("polyline"),r=e.pipelineContext.large;return{progress:function(o,i){var a=[];if(r){var s=void 0,l=o.end-o.start;if(n){for(var c=0,u=o.start;u<o.end;u++)c+=e.getLineCoordsCount(u);s=new Float32Array(l+2*c)}else s=new Float32Array(4*l);var d=0,f=[];for(u=o.start;u<o.end;u++){var h=e.getLineCoords(u,a);n&&(s[d++]=h);for(var p=0;p<h;p++)f=t.dataToPoint(a[p],!1,f),s[d++]=f[0],s[d++]=f[1]}i.setLayout("linesPoints",s)}else for(u=o.start;u<o.end;u++){var m=i.getItemModel(u),g=(h=e.getLineCoords(u,a),[]);if(n)for(var A=0;A<h;A++)g.push(t.dataToPoint(a[A]));else{g[0]=t.dataToPoint(a[0]),g[1]=t.dataToPoint(a[1]);var v=m.get(["lineStyle","curveness"]);+v&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*v,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*v])}i.setItemLayout(u,g)}}}}}},su=au,lu=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),o=this._updateLineDraw(r,e),i=e.get("zlevel"),a=e.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(i).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&a>0&&(l||s.configLayer(i,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),o.updateData(r);var c=e.get("clip",!0)&&(0,fc.Ip)(e.coordinateSystem,!1,e);c?this.group.setClipPath(c):this.group.removeClipPath(),this._lastZlevel=i,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var r=e.getData();this._updateLineDraw(r,e).incrementalPrepareUpdate(r),this._clearLayer(n),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},t.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},t.prototype.updateTransform=function(e,t,n){var r=e.getData(),o=e.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};var i=su.reset(e,t,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._lineDraw.updateLayout(),this._clearLayer(n)},t.prototype._updateLineDraw=function(e,t){var n=this._lineDraw,r=this._showEffect(t),o=!!t.get("polyline"),i=t.pipelineContext.large;return n&&r===this._hasEffet&&o===this._isPolyline&&i===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=i?new iu:new Ga(o?r?eu:Kc:r?Yc:ja),this._hasEffet=r,this._isPolyline=o,this._isLargeDraw=i),this.group.add(n.group),n},t.prototype._showEffect=function(e){return!!e.get(["effect","show"])},t.prototype._clearLayer=function(e){var t=e.getZr();"svg"===t.painter.getType()||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.type="lines",t}(tt.A),cu=lu,uu="undefined"==typeof Uint32Array?Array:Uint32Array,du="undefined"==typeof Float64Array?Array:Float64Array;function fu(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=(0,y.map)(t,(function(e){var t={coords:[e[0].coord,e[1].coord]};return e[0].name&&(t.fromName=e[0].name),e[1].name&&(t.toName=e[1].name),(0,y.mergeAll)([t,e[0],e[1]])})))}var hu=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return(0,Ye.C6)(t,e),t.prototype.init=function(t){t.data=t.data||[],fu(t);var n=this._processFlatCoordsArray(t.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(t.data=new Float32Array(n.count)),e.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(t){if(fu(t),t.data){var n=this._processFlatCoordsArray(t.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(t.data=new Float32Array(n.count))}e.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=(0,y.concatArray)(this._flatCoords,t.flatCoords),this._flatCoordsOffset=(0,y.concatArray)(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},t.prototype._getCoordsFromItemModel=function(e){var t=this.getData().getItemModel(e);return t.option instanceof Array?t.option:t.getShallow("coords")},t.prototype.getLineCoordsCount=function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},t.prototype.getLineCoords=function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],r=this._flatCoordsOffset[2*e+1],o=0;o<r;o++)t[o]=t[o]||[],t[o][0]=this._flatCoords[n+2*o],t[o][1]=this._flatCoords[n+2*o+1];return r}var i=this._getCoordsFromItemModel(e);for(o=0;o<i.length;o++)t[o]=t[o]||[],t[o][0]=i[o][0],t[o][1]=i[o][1];return i.length},t.prototype._processFlatCoordsArray=function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),(0,y.isNumber)(e[0])){for(var n=e.length,r=new uu(n),o=new du(n),i=0,a=0,s=0,l=0;l<n;){s++;var c=e[l++];r[a++]=i+t,r[a++]=c;for(var u=0;u<c;u++){var d=e[l++],f=e[l++];o[i++]=d,o[i++]=f}}return{flatCoordsOffset:new Uint32Array(r.buffer,0,a),flatCoords:o,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},t.prototype.getInitialData=function(e,t){var n=new mt.A(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],(function(e,t,r,o){if(e instanceof Array)return NaN;n.hasItemOption=!0;var i=e.value;return null!=i?i instanceof Array?i[o]:i:void 0})),n},t.prototype.formatTooltip=function(e,t,n){var r=this.getData().getItemModel(e),o=r.get("name");if(o)return o;var i=r.get("fromName"),a=r.get("toName"),s=[];return null!=i&&s.push(i),null!=a&&s.push(a),(0,jt.Qx)("nameValue",{name:s.join(" > ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},t.prototype.getZLevelKey=function(){var e=this.getModel("effect"),t=e.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:e.get("show")&&t>0?t+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t}(yt.A),pu=hu;function mu(e){return e instanceof Array||(e=[e,e]),e}var gu={seriesType:"lines",reset:function(e){var t=mu(e.get("symbol")),n=mu(e.get("symbolSize")),r=e.getData();return r.setVisual("fromSymbol",t&&t[0]),r.setVisual("toSymbol",t&&t[1]),r.setVisual("fromSymbolSize",n&&n[0]),r.setVisual("toSymbolSize",n&&n[1]),{dataEach:r.hasItemOption?function(e,t){var n=e.getItemModel(t),r=mu(n.getShallow("symbol",!0)),o=mu(n.getShallow("symbolSize",!0));r[0]&&e.setItemVisual(t,"fromSymbol",r[0]),r[1]&&e.setItemVisual(t,"toSymbol",r[1]),o[0]&&e.setItemVisual(t,"fromSymbolSize",o[0]),o[1]&&e.setItemVisual(t,"toSymbolSize",o[1])}:null}}},Au=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=Z.yh.createCanvas();this.canvas=e}return e.prototype.update=function(e,t,n,r,o,i){var a=this._getBrush(),s=this._getGradient(o,"inRange"),l=this._getGradient(o,"outOfRange"),c=this.pointSize+this.blurSize,u=this.canvas,d=u.getContext("2d"),f=e.length;u.width=t,u.height=n;for(var h=0;h<f;++h){var p=e[h],m=p[0],g=p[1],A=r(p[2]);d.globalAlpha=A,d.drawImage(a,m-c,g-c)}if(!u.width||!u.height)return u;for(var v=d.getImageData(0,0,u.width,u.height),y=v.data,O=0,b=y.length,w=this.minOpacity,_=this.maxOpacity-w;O<b;){A=y[O+3]/256;var x=4*Math.floor(255*A);if(A>0){var S=i(A)?s:l;A>0&&(A=A*_+w),y[O++]=S[x],y[O++]=S[x+1],y[O++]=S[x+2],y[O++]=S[x+3]*A*256}else O+=4}return d.putImageData(v,0,0),u},e.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=Z.yh.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var r=e.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-t,t,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),e},e.prototype._getGradient=function(e,t){for(var n=this._gradientPixels,r=n[t]||(n[t]=new Uint8ClampedArray(1024)),o=[0,0,0,0],i=0,a=0;a<256;a++)e[t](a/255,!0,o),r[i++]=o[0],r[i++]=o[1],r[i++]=o[2],r[i++]=o[3];return r},e}(),vu=Au,yu=n(41849);function Ou(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var bu=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){var r;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(r=t)}))})),this._progressiveEls=null,this.group.removeAll();var o=e.coordinateSystem;"cartesian2d"===o.type||"calendar"===o.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):Ou(o)&&this._renderOnGeo(o,e,r,n)},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll()},t.prototype.incrementalRender=function(e,t,n,r){var o=t.coordinateSystem;o&&(Ou(o)?this.render(t,n,r):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(t,r,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){Ft.traverseElements(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,t,n,r,o){var i,a,s,l,c=e.coordinateSystem,u=(0,yu.g)(c,"cartesian2d");if(u){var d=c.getAxis("x"),f=c.getAxis("y");i=d.getBandWidth()+.5,a=f.getBandWidth()+.5,s=d.scale.getExtent(),l=f.scale.getExtent()}for(var h=this.group,p=e.getData(),m=e.getModel(["emphasis","itemStyle"]).getItemStyle(),g=e.getModel(["blur","itemStyle"]).getItemStyle(),A=e.getModel(["select","itemStyle"]).getItemStyle(),v=e.get(["itemStyle","borderRadius"]),y=(0,ct.lx)(e),O=e.getModel("emphasis"),b=O.get("focus"),w=O.get("blurScope"),_=O.get("disabled"),x=u?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],S=n;S<r;S++){var k=void 0,C=p.getItemVisual(S,"style");if(u){var B=p.get(x[0],S),Q=p.get(x[1],S);if(isNaN(p.get(x[2],S))||isNaN(B)||isNaN(Q)||B<s[0]||B>s[1]||Q<l[0]||Q>l[1])continue;var T=c.dataToPoint([B,Q]);k=new Tn.A({shape:{x:T[0]-i/2,y:T[1]-a/2,width:i,height:a},style:C})}else{if(isNaN(p.get(x[1],S)))continue;k=new Tn.A({z2:1,shape:c.dataToRect([p.get(x[0],S)]).contentShape,style:C})}if(p.hasItemOption){var E=p.getItemModel(S),P=E.getModel("emphasis");m=P.getModel("itemStyle").getItemStyle(),g=E.getModel(["blur","itemStyle"]).getItemStyle(),A=E.getModel(["select","itemStyle"]).getItemStyle(),v=E.get(["itemStyle","borderRadius"]),b=P.get("focus"),w=P.get("blurScope"),_=P.get("disabled"),y=(0,ct.lx)(E)}k.shape.r=v;var $=e.getRawValue(S),M="-";$&&null!=$[2]&&(M=$[2]+""),(0,ct.qM)(k,y,{labelFetcher:e,labelDataIndex:S,defaultOpacity:C.opacity,defaultText:M}),k.ensureState("emphasis").style=m,k.ensureState("blur").style=g,k.ensureState("select").style=A,(0,et.Lm)(k,b,w,_),k.incremental=o,o&&(k.states.emphasis.hoverLayer=!0),h.add(k),p.setItemGraphicEl(S,k),this._progressiveEls&&this._progressiveEls.push(k)}},t.prototype._renderOnGeo=function(e,t,n,r){var o=n.targetVisuals.inRange,i=n.targetVisuals.outOfRange,a=t.getData(),s=this._hmLayer||this._hmLayer||new vu;s.blurSize=t.get("blurSize"),s.pointSize=t.get("pointSize"),s.minOpacity=t.get("minOpacity"),s.maxOpacity=t.get("maxOpacity");var c=e.getViewRect().clone(),u=e.getRoamTransform();c.applyTransform(u);var d=Math.max(c.x,0),f=Math.max(c.y,0),h=Math.min(c.width+c.x,r.getWidth()),p=Math.min(c.height+c.y,r.getHeight()),m=h-d,g=p-f,A=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(A,(function(t,n,r){var o=e.dataToPoint([t,n]);return o[0]-=d,o[1]-=f,o.push(r),o})),O=n.getExtent(),b="visualMap.continuous"===n.type?function(e,t){var n=e[1]-e[0];return t=[(t[0]-e[0])/n,(t[1]-e[0])/n],function(e){return e>=t[0]&&e<=t[1]}}(O,n.option.range):function(e,t,n){var r=e[1]-e[0],o=(t=y.map(t,(function(t){return{interval:[(t.interval[0]-e[0])/r,(t.interval[1]-e[0])/r]}}))).length,i=0;return function(e){var r;for(r=i;r<o;r++)if((a=t[r].interval)[0]<=e&&e<=a[1]){i=r;break}if(r===o)for(r=i-1;r>=0;r--){var a;if((a=t[r].interval)[0]<=e&&e<=a[1]){i=r;break}}return r>=0&&r<o&&n[r]}}(O,n.getPieceList(),n.option.selected);s.update(v,m,g,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:i.color.getColorMapper()},b);var w=new l.Ay({style:{width:m,height:g,x:d,y:f,image:s.canvas},silent:!0});this.group.add(w)},t.type="heatmap",t}(tt.A),wu=bu,_u=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.getInitialData=function(e,t){return(0,_t.A)(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=gs.A.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(yt.A),xu=_u,Su=n(44532),ku=["itemStyle","borderWidth"],Cu=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],Bu=new an.A,Qu=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){var r=this.group,o=e.getData(),i=this._data,a=e.coordinateSystem,s=a.getBaseAxis().isHorizontal(),l=a.master.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:a,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:Cu[+s],categoryDim:Cu[1-+s]};o.diff(i).add((function(e){if(o.hasValue(e)){var t=Du(o,e),n=Tu(o,e,t,c),i=Lu(o,c,n);o.setItemGraphicEl(e,i),r.add(i),Wu(i,c,n)}})).update((function(e,t){var n=i.getItemGraphicEl(t);if(o.hasValue(e)){var a=Du(o,e),s=Tu(o,e,a,c),l=Uu(o,s);n&&l!==n.__pictorialShapeStr&&(r.remove(n),o.setItemGraphicEl(e,null),n=null),n?function(e,t,n){var r=n.animationModel,o=n.dataIndex,i=e.__pictorialBundle;Ge.oi(i,{x:n.bundlePosition[0],y:n.bundlePosition[1]},r,o),n.symbolRepeat?$u(e,t,n,!0):Mu(e,0,n,!0),zu(e,n,!0),Ru(e,t,n,!0)}(n,c,s):n=Lu(o,c,s,!0),o.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=s,r.add(n),Wu(n,c,s)}else r.remove(n)})).remove((function(e){var t=i.getItemGraphicEl(e);t&&Vu(i,e,t.__pictorialSymbolMeta.animationModel,t)})).execute();var u=e.get("clip",!0)?(0,fc.Ip)(e.coordinateSystem,!1,e):null;return u?r.setClipPath(u):r.removeClipPath(),this._data=o,this.group},t.prototype.remove=function(e,t){var n=this.group,r=this._data;e.get("animation")?r&&r.eachItemGraphicEl((function(t){Vu(r,(0,Tt.z)(t).dataIndex,e,t)})):n.removeAll()},t.type="pictorialBar",t}(tt.A);function Tu(e,t,n,r){var o=e.getItemLayout(t),i=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=(n.get("symbolRotate")||0)*Math.PI/180||0,c=n.get("symbolPatternSize")||2,u=n.isAnimationEnabled(),d={dataIndex:t,layout:o,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",style:e.getItemVisual(t,"style"),symbolClip:a,symbolRepeat:i,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:l,animationModel:u?n:null,hoverScale:u&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(e,t,n,r,o){var i,a=r.valueDim,s=e.get("symbolBoundingData"),l=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),c=l.toGlobalCoord(l.dataToCoord(0)),u=1-+(n[a.wh]<=0);if(y.isArray(s)){var d=[Eu(l,s[0])-c,Eu(l,s[1])-c];d[1]<d[0]&&d.reverse(),i=d[u]}else i=null!=s?Eu(l,s)-c:t?r.coordSysExtent[a.index][u]-c:n[a.wh];o.boundingLength=i,t&&(o.repeatCutLength=n[a.wh]);var f="x"===a.xy,h=l.inverse;o.pxSign=f&&!h||!f&&h?i>=0?1:-1:i>0?1:-1}(n,i,o,r,d),function(e,t,n,r,o,i,a,s,l,c){var u,d=l.valueDim,f=l.categoryDim,h=Math.abs(n[f.wh]),p=e.getItemVisual(t,"symbolSize");(u=y.isArray(p)?p.slice():null==p?["100%","100%"]:[p,p])[f.index]=(0,Le.lo)(u[f.index],h),u[d.index]=(0,Le.lo)(u[d.index],r?h:Math.abs(i)),c.symbolSize=u,(c.symbolScale=[u[0]/s,u[1]/s])[d.index]*=(l.isHorizontal?-1:1)*a}(e,t,o,i,0,d.boundingLength,d.pxSign,c,r,d),function(e,t,n,r,o){var i=e.get(ku)||0;i&&(Bu.attr({scaleX:t[0],scaleY:t[1],rotation:n}),Bu.updateTransform(),i/=Bu.getLineScale(),i*=t[r.valueDim.index]),o.valueLineWidth=i||0}(n,d.symbolScale,l,r,d);var f=d.symbolSize,h=(0,Qt.hV)(n.get("symbolOffset"),f);return function(e,t,n,r,o,i,a,s,l,c,u,d){var f=u.categoryDim,h=u.valueDim,p=d.pxSign,m=Math.max(t[h.index]+s,0),g=m;if(r){var A=Math.abs(l),v=y.retrieve(e.get("symbolMargin"),"15%")+"",O=!1;v.lastIndexOf("!")===v.length-1&&(O=!0,v=v.slice(0,v.length-1));var b=(0,Le.lo)(v,t[h.index]),w=Math.max(m+2*b,0),_=O?0:2*b,x=(0,Le.kf)(r),S=x?r:Xu((A+_)/w);w=m+2*(b=(A-S*m)/2/(O?S:Math.max(S-1,1))),_=O?0:2*b,x||"fixed"===r||(S=c?Xu((Math.abs(c)+_)/w):0),g=S*w-_,d.repeatTimes=S,d.symbolMargin=b}var k=p*(g/2),C=d.pathPosition=[];C[f.index]=n[f.wh]/2,C[h.index]="start"===a?k:"end"===a?l-k:l/2,i&&(C[0]+=i[0],C[1]+=i[1]);var B=d.bundlePosition=[];B[f.index]=n[f.xy],B[h.index]=n[h.xy];var Q=d.barRectShape=y.extend({},n);Q[h.wh]=p*Math.max(Math.abs(n[h.wh]),Math.abs(C[h.index]+k)),Q[f.wh]=n[f.wh];var T=d.clipShape={};T[f.xy]=-n[f.xy],T[f.wh]=u.ecSize[f.wh],T[h.xy]=0,T[h.wh]=n[h.wh]}(n,f,o,i,0,h,s,d.valueLineWidth,d.boundingLength,d.repeatCutLength,r,d),d}function Eu(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function Pu(e){var t=e.symbolPatternSize,n=(0,Qt.v5)(e.symbolType,-t/2,-t/2,t,t);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function $u(e,t,n,r){var o=e.__pictorialBundle,i=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,c=n.repeatTimes||0,u=0,d=i[t.valueDim.index]+a+2*n.symbolMargin;for(Fu(e,(function(e){e.__pictorialAnimationIndex=u,e.__pictorialRepeatTimes=c,u<c?Hu(e,null,p(u),n,r):Hu(e,null,{scaleX:0,scaleY:0},n,r,(function(){o.remove(e)})),u++}));u<c;u++){var f=Pu(n);f.__pictorialAnimationIndex=u,f.__pictorialRepeatTimes=c,o.add(f);var h=p(u);Hu(f,{x:h.x,y:h.y,scaleX:0,scaleY:0},{scaleX:h.scaleX,scaleY:h.scaleY,rotation:h.rotation},n,r)}function p(e){var t=s.slice(),r=n.pxSign,o=e;return("start"===n.symbolRepeatDirection?r>0:r<0)&&(o=c-1-e),t[l.index]=d*(o-c/2+.5)+s[l.index],{x:t[0],y:t[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function Mu(e,t,n,r){var o=e.__pictorialBundle,i=e.__pictorialMainPath;i?Hu(i,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(i=e.__pictorialMainPath=Pu(n),o.add(i),Hu(i,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,r))}function zu(e,t,n){var r=y.extend({},t.barRectShape),o=e.__pictorialBarRect;o?Hu(o,null,{shape:r},t,n):((o=e.__pictorialBarRect=new Tn.A({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,e.add(o))}function Ru(e,t,n,r){if(n.symbolClip){var o=e.__pictorialClipPath,i=y.extend({},n.clipShape),a=t.valueDim,s=n.animationModel,l=n.dataIndex;if(o)Ge.oi(o,{shape:i},s,l);else{i[a.wh]=0,o=new Tn.A({shape:i}),e.__pictorialBundle.setClipPath(o),e.__pictorialClipPath=o;var c={};c[a.wh]=n.clipShape[a.wh],Ft[r?"updateProps":"initProps"](o,{shape:c},s,l)}}}function Du(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=Iu,n.isAnimationEnabled=Nu,n}function Iu(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function Nu(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function Lu(e,t,n,r){var o=new Bt.A,i=new Bt.A;return o.add(i),o.__pictorialBundle=i,i.x=n.bundlePosition[0],i.y=n.bundlePosition[1],n.symbolRepeat?$u(o,t,n):Mu(o,0,n),zu(o,n,r),Ru(o,t,n,r),o.__pictorialShapeStr=Uu(e,n),o.__pictorialSymbolMeta=n,o}function Vu(e,t,n,r){var o=r.__pictorialBarRect;o&&o.removeTextContent();var i=[];Fu(r,(function(e){i.push(e)})),r.__pictorialMainPath&&i.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),y.each(i,(function(e){Ge.Nz(e,{scaleX:0,scaleY:0},n,t,(function(){r.parent&&r.parent.remove(r)}))})),e.setItemGraphicEl(t,null)}function Uu(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function Fu(e,t,n){y.each(e.__pictorialBundle.children(),(function(r){r!==e.__pictorialBarRect&&t.call(n,r)}))}function Hu(e,t,n,r,o,i){t&&e.attr(t),r.symbolClip&&!o?n&&e.attr(n):n&&Ft[o?"updateProps":"initProps"](e,n,r.animationModel,r.dataIndex,i)}function Wu(e,t,n){var r=n.dataIndex,o=n.itemModel,i=o.getModel("emphasis"),a=i.getModel("itemStyle").getItemStyle(),s=o.getModel(["blur","itemStyle"]).getItemStyle(),c=o.getModel(["select","itemStyle"]).getItemStyle(),u=o.getShallow("cursor"),d=i.get("focus"),f=i.get("blurScope"),h=i.get("scale");Fu(e,(function(e){if(e instanceof l.Ay){var t=e.style;e.useStyle(y.extend({image:t.image,x:t.x,y:t.y,width:t.width,height:t.height},n.style))}else e.useStyle(n.style);var r=e.ensureState("emphasis");r.style=a,h&&(r.scaleX=1.1*e.scaleX,r.scaleY=1.1*e.scaleY),e.ensureState("blur").style=s,e.ensureState("select").style=c,u&&(e.cursor=u),e.z2=n.z2}));var p=t.valueDim.posDesc[+(n.boundingLength>0)],m=e.__pictorialBarRect;m.ignoreClip=!0,(0,ct.qM)(m,(0,ct.lx)(o),{labelFetcher:t.seriesModel,labelDataIndex:r,defaultText:(0,Su.i)(t.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:p}),(0,et.Lm)(e,d,f,i.get("disabled"))}function Xu(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var ju=Qu,qu=n(98908),Zu=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return(0,Ye.C6)(t,e),t.prototype.getInitialData=function(t){return t.stack=null,e.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=(0,Or.G_)(qu.A.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(qu.A),Yu=Zu,Gu=n(62536),Ku=n(53364),Ju=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._layers=[],n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),o=this,i=this.group,a=e.getLayerSeries(),s=r.getLayout("layoutInfo"),l=s.rect,c=s.boundaryGap;function u(e){return e.name}i.x=0,i.y=l.y+c[0];var d=new ci.A(this._layersSeries||[],a,u,u),f=[];function h(t,n,s){var l=o._layers;if("remove"!==t){for(var c,u,d=[],h=[],p=a[n].indices,m=0;m<p.length;m++){var g=r.getItemLayout(p[m]),A=g.x,v=g.y0,y=g.y;d.push(A,v),h.push(A,v+y),c=r.getItemVisual(p[m],"style")}var O=r.getItemLayout(p[0]),b=e.getModel("label").get("margin"),w=e.getModel("emphasis");if("add"===t){var _=f[n]=new Bt.A;u=new Ku.z({shape:{points:d,stackedOnPoints:h,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),_.add(u),i.add(_),e.isAnimationEnabled()&&u.setClipPath(function(e,t){var n=new Tn.A({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Ge.LW(n,{shape:{x:e.x-50,width:e.width+100,height:e.height+20}},t,(function(){u.removeClipPath()})),n}(u.getBoundingRect(),e))}else _=l[s],u=_.childAt(0),i.add(_),f[n]=_,Ge.oi(u,{shape:{points:d,stackedOnPoints:h}},e),(0,Ge.ap)(u);(0,ct.qM)(u,(0,ct.lx)(e),{labelDataIndex:p[m-1],defaultText:r.getName(p[m-1]),inheritColor:c.fill},{normal:{verticalAlign:"middle"}}),u.setTextConfig({position:null,local:!0});var x=u.getTextContent();x&&(x.x=O.x-b,x.y=O.y0+O.y/2),u.useStyle(c),r.setItemGraphicEl(n,u),(0,et.Mx)(u,e),(0,et.Lm)(u,w.get("focus"),w.get("blurScope"),w.get("disabled"))}else i.remove(l[n])}d.add((0,y.bind)(h,this,"add")).update((0,y.bind)(h,this,"update")).remove((0,y.bind)(h,this,"remove")).execute(),this._layersSeries=a,this._layers=f},t.type="themeRiver",t}(tt.A),ed=Ju,td=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new vt(y.bind(this.getData,this),y.bind(this.getRawData,this))},t.prototype.fixData=function(e){var t=e.length,n={},r=(0,Ue.Sq)(e,(function(e){return n.hasOwnProperty(e[0]+"")||(n[e[0]+""]=-1),e[2]})),o=[];r.buckets.each((function(e,t){o.push({name:t,dataList:e})}));for(var i=o.length,a=0;a<i;++a){for(var s=o[a].name,l=0;l<o[a].dataList.length;++l){var c=o[a].dataList[l][0]+"";n[c]=a}for(var c in n)n.hasOwnProperty(c)&&n[c]!==a&&(n[c]=a,e[t]=[c,0,s],t++)}return e},t.prototype.getInitialData=function(e,t){for(var n=this.getReferringComponents("singleAxis",Ue.US).models[0].get("type"),r=y.filter(e.data,(function(e){return void 0!==e[2]})),o=this.fixData(r||[]),i=[],a=this.nameMap=y.createHashMap(),s=0,l=0;l<o.length;++l)i.push(o[l][2]),a.get(o[l][2])||(a.set(o[l][2],s),s++);var c=(0,pt.A)(o,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:(0,Yl.B)(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,u=new mt.A(c,this);return u.initData(o),u},t.prototype.getLayerSeries=function(){for(var e=this.getData(),t=e.count(),n=[],r=0;r<t;++r)n[r]=r;var o=e.mapDimension("single"),i=(0,Ue.Sq)(n,(function(t){return e.get("name",t)})),a=[];return i.buckets.each((function(t,n){t.sort((function(t,n){return e.get(o,t)-e.get(o,n)})),a.push({name:n,indices:t})})),a},t.prototype.getAxisTooltipData=function(e,t,n){y.isArray(e)||(e=e?[e]:[]);for(var r,o=this.getData(),i=this.getLayerSeries(),a=[],s=i.length,l=0;l<s;++l){for(var c=Number.MAX_VALUE,u=-1,d=i[l].indices.length,f=0;f<d;++f){var h=o.get(e[0],i[l].indices[f]),p=Math.abs(h-t);p<=c&&(r=h,c=p,u=i[l].indices[f])}a.push(u)}return{dataIndices:a,nestestValue:r}},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),o=r.getName(e),i=r.get(r.mapDimension("value"),e);return(0,jt.Qx)("nameValue",{name:o,value:i})},t.type="series.themeRiver",t.dependencies=["singleAxis"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},t}(yt.A),nd=td;function rd(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.coordinateSystem,r={},o=n.getRect();r.rect=o;var i=e.get("boundaryGap"),a=n.getAxis();r.boundaryGap=i,"horizontal"===a.orient?(i[0]=Le.lo(i[0],o.height),i[1]=Le.lo(i[1],o.height),od(t,e,o.height-i[0]-i[1])):(i[0]=Le.lo(i[0],o.width),i[1]=Le.lo(i[1],o.width),od(t,e,o.width-i[0]-i[1])),t.setLayout("layoutInfo",r)}))}function od(e,t,n){if(e.count())for(var r,o=t.coordinateSystem,i=t.getLayerSeries(),a=e.mapDimension("single"),s=e.mapDimension("value"),l=y.map(i,(function(t){return y.map(t.indices,(function(t){var n=o.dataToPoint(e.get(a,t));return n[1]=e.get(s,t),n}))})),c=function(e){for(var t=e.length,n=e[0].length,r=[],o=[],i=0,a=0;a<n;++a){for(var s=0,l=0;l<t;++l)s+=e[l][a][1];s>i&&(i=s),r.push(s)}for(var c=0;c<n;++c)o[c]=(i-r[c])/2;i=0;for(var u=0;u<n;++u){var d=r[u]+o[u];d>i&&(i=d)}return{y0:o,max:i}}(l),u=c.y0,d=n/c.max,f=i.length,h=i[0].indices.length,p=0;p<h;++p){r=u[p]*d,e.setItemLayout(i[0].indices[p],{layerIndex:0,x:l[0][p][0],y0:r,y:l[0][p][1]*d});for(var m=1;m<f;++m)r+=l[m-1][p][1]*d,e.setItemLayout(i[m].indices[p],{layerIndex:m,x:l[m][p][0],y0:r,y:l[m][p][1]*d})}}var id=n(41589),ad=function(e){function t(t,n,r,o){var i=e.call(this)||this;i.z2=2,i.textConfig={inside:!0},(0,Tt.z)(i).seriesIndex=n.seriesIndex;var a=new q.Ay({z2:4,silent:t.getModel().get(["label","silent"])});return i.setTextContent(a),i.updateData(!0,t,n,r,o),i}return(0,Ye.C6)(t,e),t.prototype.updateData=function(e,t,n,r,o){this.node=t,t.piece=this,n=n||this._seriesModel,r=r||this._ecModel;var i=this;(0,Tt.z)(i).dataIndex=t.dataIndex;var a=t.getModel(),s=a.getModel("emphasis"),l=t.getLayout(),c=y.extend({},l);c.label=null;var u=t.getVisual("style");u.lineJoin="bevel";var d=t.getVisual("decal");d&&(u.decal=(0,br.w)(d,o));var f=(0,ut.i)(a.getModel("itemStyle"),c,!0);y.extend(c,f),y.each(et.BV,(function(e){var t=i.ensureState(e),n=a.getModel([e,"itemStyle"]);t.style=n.getItemStyle();var r=(0,ut.i)(n,c);r&&(t.shape=r)})),e?(i.setShape(c),i.shape.r=l.r0,Ge.LW(i,{shape:{r:l.r}},n,t.dataIndex)):(Ge.oi(i,{shape:c},n),(0,Ge.ap)(i)),i.useStyle(u),this._updateLabel(n);var h=a.getShallow("cursor");h&&i.attr("cursor",h),this._seriesModel=n||this._seriesModel,this._ecModel=r||this._ecModel;var p=s.get("focus"),m="relative"===p?y.concatArray(t.getAncestorsIndices(),t.getDescendantIndices()):"ancestor"===p?t.getAncestorsIndices():"descendant"===p?t.getDescendantIndices():p;(0,et.Lm)(this,m,s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e){var t=this,n=this.node.getModel(),r=n.getModel("label"),o=this.node.getLayout(),i=o.endAngle-o.startAngle,a=(o.startAngle+o.endAngle)/2,s=Math.cos(a),l=Math.sin(a),c=this,u=c.getTextContent(),d=this.node.dataIndex,f=r.get("minAngle")/180*Math.PI,h=r.get("show")&&!(null!=f&&Math.abs(i)<f);function p(e,t){var n=e.get(t);return null==n?r.get(t):n}u.ignore=!h,y.each(et.wV,(function(r){var f="normal"===r?n.getModel("label"):n.getModel([r,"label"]),h="normal"===r,m=h?u:u.ensureState(r),g=e.getFormattedLabel(d,r);h&&(g=g||t.node.name),m.style=(0,ct.VB)(f,{},null,"normal"!==r,!0),g&&(m.style.text=g);var A=f.get("show");null==A||h||(m.ignore=!A);var v,O=p(f,"position"),b=h?c:c.states[r],w=b.style.fill;b.textConfig={outsideFill:"inherit"===f.get("color")?w:null,inside:"outside"!==O};var _=p(f,"distance")||0,x=p(f,"align"),S=p(f,"rotate"),k=.5*Math.PI,C=1.5*Math.PI,B=(0,id.n)("tangential"===S?Math.PI/2-a:a),Q=B>k&&!(0,Le.dh)(B-k)&&B<C;"outside"===O?(v=o.r+_,x=Q?"right":"left"):x&&"center"!==x?"left"===x?(v=o.r0+_,x=Q?"right":"left"):"right"===x&&(v=o.r-_,x=Q?"left":"right"):(v=i===2*Math.PI&&0===o.r0?0:(o.r+o.r0)/2,x="center"),m.style.align=x,m.style.verticalAlign=p(f,"verticalAlign")||"middle",m.x=v*s+o.cx,m.y=v*l+o.cy;var T=0;"radial"===S?T=(0,id.n)(-a)+(Q?Math.PI:0):"tangential"===S?T=(0,id.n)(Math.PI/2-a)+(Q?Math.PI:0):y.isNumber(S)&&(T=S*Math.PI/180),m.rotation=(0,id.n)(T)})),u.dirtyStyle()},t}(Je.A),sd=ad,ld="sunburstRootToNode",cd="sunburstHighlight",ud=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n,r){var o=this;this.seriesModel=e,this.api=n,this.ecModel=t;var i=e.getData(),a=i.tree.root,s=e.getViewRoot(),l=this.group,c=e.get("renderLabelForZeroData"),u=[];s.eachNode((function(e){u.push(e)}));var d=this._oldChildren||[];!function(r,o){function s(e){return e.getId()}function u(s,u){!function(r,o){if(c||!r||r.getValue()||(r=null),r!==a&&o!==a)if(o&&o.piece)r?(o.piece.updateData(!1,r,e,t,n),i.setItemGraphicEl(r.dataIndex,o.piece)):(u=o)&&u.piece&&(l.remove(u.piece),u.piece=null);else if(r){var s=new sd(r,e,t,n);l.add(s),i.setItemGraphicEl(r.dataIndex,s)}var u}(null==s?null:r[s],null==u?null:o[u])}0===r.length&&0===o.length||new ci.A(o,r,s,s).add(u).update(u).remove(y.curry(u,null)).execute()}(u,d),function(r,i){i.depth>0?(o.virtualPiece?o.virtualPiece.updateData(!1,r,e,t,n):(o.virtualPiece=new sd(r,e,t,n),l.add(o.virtualPiece)),i.piece.off("click"),o.virtualPiece.on("click",(function(e){o._rootToNode(i.parentNode)}))):o.virtualPiece&&(l.remove(o.virtualPiece),o.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=u},t.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",(function(t){var n=!1;e.seriesModel.getViewRoot().eachNode((function(r){if(!n&&r.piece&&r.piece===t.target){var o=r.getModel().get("nodeClick");if("rootToNode"===o)e._rootToNode(r);else if("link"===o){var i=r.getModel(),a=i.get("link");if(a){var s=i.get("target",!0)||"_blank";(0,gi.JW)(a,s)}}n=!0}}))}))},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:ld,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,t){var n=t.getData().getItemLayout(0);if(n){var r=e[0]-n.cx,o=e[1]-n.cy,i=Math.sqrt(r*r+o*o);return i<=n.r&&i>=n.r0}},t.type="sunburst",t}(tt.A),dd=ud,fd=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreStyleOnData=!0,n}return(0,Ye.C6)(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};hd(n);var r=this._levelModels=y.map(e.levels||[],(function(e){return new Gt.A(e,this,t)}),this),o=jo.createTree(n,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=o.getNodeByDataIndex(t),i=r[n.depth];return i&&(e.parentModel=i),e}))}));return o.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treePathInfo=Go(r,this),n},t.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){ii(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t}(yt.A);function hd(e){var t=0;y.each(e.children,(function(e){hd(e);var n=e.value;y.isArray(n)&&(n=n[0]),t+=n}));var n=e.value;y.isArray(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),y.isArray(e.value)?e.value[0]=n:e.value=n}var pd=fd,md=Math.PI/180;function gd(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.get("center"),r=e.get("radius");y.isArray(r)||(r=[0,r]),y.isArray(t)||(t=[t,t]);var o=n.getWidth(),i=n.getHeight(),a=Math.min(o,i),s=(0,Le.lo)(t[0],o),l=(0,Le.lo)(t[1],i),c=(0,Le.lo)(r[0],a/2),u=(0,Le.lo)(r[1],a/2),d=-e.get("startAngle")*md,f=e.get("minAngle")*md,h=e.getData().tree.root,p=e.getViewRoot(),m=p.depth,g=e.get("sort");null!=g&&Ad(p,g);var A=0;y.each(p.children,(function(e){!isNaN(e.getValue())&&A++}));var v=p.getValue(),O=Math.PI/(v||A)*2,b=p.depth>0,w=p.height-(b?-1:1),_=(u-c)/(w||1),x=e.get("clockwise"),S=e.get("stillShowZeroSum"),k=x?1:-1,C=function(t,n){if(t){var r=n;if(t!==h){var o=t.getValue(),i=0===v&&S?O:o*O;i<f&&(i=f),r=n+k*i;var u=t.depth-m-(b?-1:1),d=c+_*u,p=c+_*(u+1),g=e.getLevelModel(t);if(g){var A=g.get("r0",!0),w=g.get("r",!0),B=g.get("radius",!0);null!=B&&(A=B[0],w=B[1]),null!=A&&(d=(0,Le.lo)(A,a/2)),null!=w&&(p=(0,Le.lo)(w,a/2))}t.setLayout({angle:i,startAngle:n,endAngle:r,clockwise:x,cx:s,cy:l,r0:d,r:p})}if(t.children&&t.children.length){var Q=0;y.each(t.children,(function(e){Q+=C(e,n+Q)}))}return r-n}};if(b){var B=c,Q=c+_,T=2*Math.PI;h.setLayout({angle:T,startAngle:d,endAngle:d+T,clockwise:x,cx:s,cy:l,r0:B,r:Q})}C(p,d)}))}function Ad(e,t){var n=e.children||[];e.children=function(e,t){if(y.isFunction(t)){var n=y.map(e,(function(e,t){var n=e.getValue();return{params:{depth:e.depth,height:e.height,dataIndex:e.dataIndex,getValue:function(){return n}},index:t}}));return n.sort((function(e,n){return t(e.params,n.params)})),y.map(n,(function(t){return e[t.index]}))}var r="asc"===t;return e.sort((function(e,t){var n=(e.getValue()-t.getValue())*(r?1:-1);return 0===n?(e.dataIndex-t.dataIndex)*(r?-1:1):n}))}(n,t),n.length&&y.each(e.children,(function(e){Ad(e,t)}))}function vd(e){var t={};e.eachSeriesByType("sunburst",(function(e){var n=e.getData(),r=n.tree;r.eachNode((function(o){var i=o.getModel().getModel("itemStyle").getItemStyle();i.fill||(i.fill=function(e,n,r){for(var o=e;o&&o.depth>1;)o=o.parentNode;var i=n.getColorFromPalette(o.name||o.dataIndex+"",t);return e.depth>1&&(0,y.isString)(i)&&(i=(0,Y.lift)(i,(e.depth-1)/(r-1)*.5)),i}(o,e,r.root.height));var a=n.ensureUniqueItemVisual(o.dataIndex,"style");(0,y.extend)(a,i)}))}))}var yd={color:"fill",borderColor:"stroke"},Od={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},bd=(0,Ue.$r)(),wd=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(e,t){return(0,_t.A)(null,this)},t.prototype.getDataParams=function(t,n,r){var o=e.prototype.getDataParams.call(this,t,n);return r&&(o.info=bd(r).info),o},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(yt.A),_d=wd;function xd(e,t){return t=t||[0,0],y.map(["x","y"],(function(n,r){var o=this.getAxis(n),i=t[r],a=e[r]/2;return"category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(i-a)-o.dataToCoord(i+a))}),this)}function Sd(e,t){return t=t||[0,0],y.map([0,1],(function(n){var r=t[n],o=e[n]/2,i=[],a=[];return i[n]=r-o,a[n]=r+o,i[1-n]=a[1-n]=t[1-n],Math.abs(this.dataToPoint(i)[n]-this.dataToPoint(a)[n])}),this)}function kd(e,t){var n=this.getAxis(),r=t instanceof Array?t[0]:t,o=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(r-o)-n.dataToCoord(r+o))}function Cd(e,t){return t=t||[0,0],y.map(["Radius","Angle"],(function(n,r){var o=this["get"+n+"Axis"](),i=t[r],a=e[r]/2,s="category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(i-a)-o.dataToCoord(i+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function Bd(e,t,n,r){return e&&(e.legacy||!1!==e.legacy&&!n&&!r&&"tspan"!==t&&("text"===t||(0,y.hasOwn)(e,"text")))}function Qd(e,t,n){var r,o,i,a=e;if("text"===t)i=a;else{i={},(0,y.hasOwn)(a,"text")&&(i.text=a.text),(0,y.hasOwn)(a,"rich")&&(i.rich=a.rich),(0,y.hasOwn)(a,"textFill")&&(i.fill=a.textFill),(0,y.hasOwn)(a,"textStroke")&&(i.stroke=a.textStroke),(0,y.hasOwn)(a,"fontFamily")&&(i.fontFamily=a.fontFamily),(0,y.hasOwn)(a,"fontSize")&&(i.fontSize=a.fontSize),(0,y.hasOwn)(a,"fontStyle")&&(i.fontStyle=a.fontStyle),(0,y.hasOwn)(a,"fontWeight")&&(i.fontWeight=a.fontWeight),o={type:"text",style:i,silent:!0},r={};var s=(0,y.hasOwn)(a,"textPosition");n?r.position=s?a.textPosition:"inside":s&&(r.position=a.textPosition),(0,y.hasOwn)(a,"textPosition")&&(r.position=a.textPosition),(0,y.hasOwn)(a,"textOffset")&&(r.offset=a.textOffset),(0,y.hasOwn)(a,"textRotation")&&(r.rotation=a.textRotation),(0,y.hasOwn)(a,"textDistance")&&(r.distance=a.textDistance)}return Td(i,e),(0,y.each)(i.rich,(function(e){Td(e,e)})),{textConfig:r,textContent:o}}function Td(e,t){t&&(t.font=t.textFont||t.font,(0,y.hasOwn)(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),(0,y.hasOwn)(t,"textAlign")&&(e.align=t.textAlign),(0,y.hasOwn)(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),(0,y.hasOwn)(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),(0,y.hasOwn)(t,"textWidth")&&(e.width=t.textWidth),(0,y.hasOwn)(t,"textHeight")&&(e.height=t.textHeight),(0,y.hasOwn)(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),(0,y.hasOwn)(t,"textPadding")&&(e.padding=t.textPadding),(0,y.hasOwn)(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),(0,y.hasOwn)(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),(0,y.hasOwn)(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),(0,y.hasOwn)(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),(0,y.hasOwn)(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),(0,y.hasOwn)(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),(0,y.hasOwn)(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function Ed(e,t,n){var r=e;r.textPosition=r.textPosition||n.position||"inside",null!=n.offset&&(r.textOffset=n.offset),null!=n.rotation&&(r.textRotation=n.rotation),null!=n.distance&&(r.textDistance=n.distance);var o=r.textPosition.indexOf("inside")>=0,i=e.fill||"#000";Pd(r,t);var a=null==r.textFill;return o?a&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=i),null==r.textStrokeWidth&&(r.textStrokeWidth=2)):(a&&(r.textFill=e.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=t.text,r.rich=t.rich,(0,y.each)(t.rich,(function(e){Pd(e,e)})),r}function Pd(e,t){t&&((0,y.hasOwn)(t,"fill")&&(e.textFill=t.fill),(0,y.hasOwn)(t,"stroke")&&(e.textStroke=t.fill),(0,y.hasOwn)(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),(0,y.hasOwn)(t,"font")&&(e.font=t.font),(0,y.hasOwn)(t,"fontStyle")&&(e.fontStyle=t.fontStyle),(0,y.hasOwn)(t,"fontWeight")&&(e.fontWeight=t.fontWeight),(0,y.hasOwn)(t,"fontSize")&&(e.fontSize=t.fontSize),(0,y.hasOwn)(t,"fontFamily")&&(e.fontFamily=t.fontFamily),(0,y.hasOwn)(t,"align")&&(e.textAlign=t.align),(0,y.hasOwn)(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),(0,y.hasOwn)(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),(0,y.hasOwn)(t,"width")&&(e.textWidth=t.width),(0,y.hasOwn)(t,"height")&&(e.textHeight=t.height),(0,y.hasOwn)(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),(0,y.hasOwn)(t,"padding")&&(e.textPadding=t.padding),(0,y.hasOwn)(t,"borderColor")&&(e.textBorderColor=t.borderColor),(0,y.hasOwn)(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),(0,y.hasOwn)(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),(0,y.hasOwn)(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),(0,y.hasOwn)(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),(0,y.hasOwn)(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),(0,y.hasOwn)(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),(0,y.hasOwn)(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),(0,y.hasOwn)(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),(0,y.hasOwn)(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),(0,y.hasOwn)(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}var $d=n(77193),Md={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},zd=(0,y.keys)(Md),Rd=((0,y.reduce)(M.Wx,(function(e,t){return e[t]=1,e}),{}),M.Wx.join(", "),["","style","shape","extra"]),Dd=(0,Ue.$r)();function Id(e,t,n,r,o){var i=e+"Animation",a=(0,Ge.Jw)(e,r,o)||{},s=Dd(t).userDuring;return a.duration>0&&(a.during=s?(0,y.bind)(Wd,{el:t,userDuring:s}):null,a.setToFinal=!0,a.scope=e),(0,y.extend)(a,n[i]),a}function Nd(e,t,n,r){var o=(r=r||{}).dataIndex,i=r.isInit,a=r.clearStyle,l=n.isAnimationEnabled(),c=Dd(e),u=t.style;c.userDuring=t.during;var d={},f={};if(function(e,t,n){for(var r=0;r<zd.length;r++){var o=zd[r],i=Md[o],a=t[o];a&&(n[i[0]]=a[0],n[i[1]]=a[1])}for(r=0;r<M.Wx.length;r++){var s=M.Wx[r];null!=t[s]&&(n[s]=t[s])}}(0,t,f),jd("shape",t,f),jd("extra",t,f),!i&&l&&(function(e,t,n){for(var r=t.transition,o=Ud(r)?M.Wx:(0,Ue.qB)(r||[]),i=0;i<o.length;i++){var a=o[i];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=e[a];n[a]=s}}}(e,t,d),Xd("shape",e,t,d),Xd("extra",e,t,d),function(e,t,n,r){if(n){var o,i=e.style;if(i){var a=n.transition,s=t.transition;if(a&&!Ud(a)){var l=(0,Ue.qB)(a);!o&&(o=r.style={});for(var c=0;c<l.length;c++){var u=i[p=l[c]];o[p]=u}}else if(e.getAnimationStyleProps&&(Ud(s)||Ud(a)||(0,y.indexOf)(s,"style")>=0)){var d=e.getAnimationStyleProps(),f=d?d.style:null;if(f){!o&&(o=r.style={});var h=(0,y.keys)(n);for(c=0;c<h.length;c++){var p;f[p=h[c]]&&(u=i[p],o[p]=u)}}}}}}(e,t,u,d)),f.style=u,function(e,t,n){var r=t.style;if(!e.isGroup&&r){if(n){e.useStyle({});for(var o=e.animators,i=0;i<o.length;i++){var a=o[i];"style"===a.targetName&&a.changeTarget(e.style)}}e.setStyle(r)}t&&(t.style=null,t&&e.attr(t),t.style=r)}(e,f,a),function(e,t){(0,y.hasOwn)(t,"silent")&&(e.silent=t.silent),(0,y.hasOwn)(t,"ignore")&&(e.ignore=t.ignore),e instanceof wr.Ay&&(0,y.hasOwn)(t,"invisible")&&(e.invisible=t.invisible),e instanceof s.Ay&&(0,y.hasOwn)(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}(e,t),l)if(i){var h={};(0,y.each)(Rd,(function(e){var n=e?t[e]:t;n&&n.enterFrom&&(e&&(h[e]=h[e]||{}),(0,y.extend)(e?h[e]:h,n.enterFrom))}));var p=Id("enter",e,t,n,o);p.duration>0&&e.animateFrom(h,p)}else!function(e,t,n,r,o){if(o){var i=Id("update",e,t,r,n);i.duration>0&&e.animateFrom(o,i)}}(e,t,o||0,n,d);Ld(e,t),u?e.dirty():e.markRedraw()}function Ld(e,t){for(var n=Dd(e).leaveToProps,r=0;r<Rd.length;r++){var o=Rd[r],i=o?t[o]:t;i&&i.leaveTo&&(n||(n=Dd(e).leaveToProps={}),o&&(n[o]=n[o]||{}),(0,y.extend)(o?n[o]:n,i.leaveTo))}}function Vd(e,t,n,r){if(e){var o=e.parent,i=Dd(e).leaveToProps;if(i){var a=Id("update",e,t,n,0);a.done=function(){o.remove(e),r&&r()},e.animateTo(i,a)}else o.remove(e),r&&r()}}function Ud(e){return"all"===e}var Fd={},Hd={setTransform:function(e,t){return Fd.el[e]=t,this},getTransform:function(e){return Fd.el[e]},setShape:function(e,t){var n=Fd.el;return(n.shape||(n.shape={}))[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=Fd.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=Fd.el,r=n.style;return r&&(r[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=Fd.el.style;if(t)return t[e]},setExtra:function(e,t){return(Fd.el.extra||(Fd.el.extra={}))[e]=t,this},getExtra:function(e){var t=Fd.el.extra;if(t)return t[e]}};function Wd(){var e=this,t=e.el;if(t){var n=Dd(t).userDuring,r=e.userDuring;n===r?(Fd.el=t,r(Hd)):e.el=e.userDuring=null}}function Xd(e,t,n,r){var o=n[e];if(o){var i,a=t[e];if(a){var s=n.transition,l=o.transition;if(l)if(!i&&(i=r[e]={}),Ud(l))(0,y.extend)(i,a);else for(var c=(0,Ue.qB)(l),u=0;u<c.length;u++){var d=a[h=c[u]];i[h]=d}else if(Ud(s)||(0,y.indexOf)(s,e)>=0){!i&&(i=r[e]={});var f=(0,y.keys)(a);for(u=0;u<f.length;u++){var h;d=a[h=f[u]],qd(o[h],d)&&(i[h]=d)}}}}}function jd(e,t,n){var r=t[e];if(r)for(var o=n[e]={},i=(0,y.keys)(r),a=0;a<i.length;a++){var s=i[a];o[s]=(0,$d.F)(r[s])}}function qd(e,t){return(0,y.isArrayLike)(e)?e!==t:null!=e&&isFinite(e)}var Zd=(0,Ue.$r)(),Yd=["percent","easing","shape","style","extra"];function Gd(e){e.stopAnimation("keyframe"),e.attr(Zd(e))}function Kd(e,t,n){if(n.isAnimationEnabled()&&t)if((0,y.isArray)(t))(0,y.each)(t,(function(t){Kd(e,t,n)}));else{var r=t.keyframes,o=t.duration;if(n&&null==o){var i=(0,Ge.Jw)("enter",n,0);o=i&&i.duration}if(r&&o){var a=Zd(e);(0,y.each)(Rd,(function(n){var i;n&&!e[n]||(r.sort((function(e,t){return e.percent-t.percent})),(0,y.each)(r,(function(r){var s=e.animators,l=n?r[n]:r;if(l){var c=(0,y.keys)(l);if(n||(c=(0,y.filter)(c,(function(e){return(0,y.indexOf)(Yd,e)<0}))),c.length){i||((i=e.animate(n,t.loop,!0)).scope="keyframe");for(var u=0;u<s.length;u++)s[u]!==i&&s[u].targetName===i.targetName&&s[u].stopTracks(c);n&&(a[n]=a[n]||{});var d=n?a[n]:a;(0,y.each)(c,(function(t){d[t]=((n?e[n]:e)||{})[t]})),i.whenWithKeys(o*r.percent,l,c,r.easing)}}})),i&&i.delay(t.delay||0).duration(o).start(t.easing))}))}}}var Jd="emphasis",ef="normal",tf="blur",nf="select",rf=[ef,Jd,tf,nf],of={normal:["itemStyle"],emphasis:[Jd,"itemStyle"],blur:[tf,"itemStyle"],select:[nf,"itemStyle"]},af={normal:["label"],emphasis:[Jd,"label"],blur:[tf,"label"],select:[nf,"label"]},sf=["x","y"],lf={normal:{},emphasis:{},blur:{},select:{}},cf={cartesian2d:function(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:y.bind(xd,e)}}},geo:function(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:y.bind(Sd,e)}}},single:function(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:(0,y.bind)(kd,e)}}},polar:function(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),r=t.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:r[1],r0:r[0]},api:{coord:function(r){var o=t.dataToRadius(r[0]),i=n.dataToAngle(r[1]),a=e.coordToPoint([o,i]);return a.push(o,i*Math.PI/180),a},size:y.bind(Cd,e)}}},calendar:function(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(t,n){return e.dataToPoint(t,n)}}}}};function uf(e){return e instanceof s.Ay}function df(e){return e instanceof wr.Ay}var ff=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n,r){this._progressiveEls=null;var o=this._data,i=e.getData(),a=this.group,s=vf(e,i,t,n);o||a.removeAll(),i.diff(o).add((function(t){Of(n,null,t,s(t,r),e,a,i)})).remove((function(t){var n=o.getItemGraphicEl(t);n&&Vd(n,bd(n).option,e)})).update((function(t,l){var c=o.getItemGraphicEl(l);Of(n,c,t,s(t,r),e,a,i)})).execute();var l=e.get("clip",!0)?(0,fc.Ip)(e.coordinateSystem,!1,e):null;l?a.setClipPath(l):a.removeClipPath(),this._data=i},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,t,n,r,o){var i=t.getData(),a=vf(t,i,n,r),s=this._progressiveEls=[];function l(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}for(var c=e.start;c<e.end;c++){var u=Of(null,null,c,a(c,o),t,this.group,i);u&&(u.traverse(l),s.push(u))}},t.prototype.eachRendered=function(e){Ft.traverseElements(this._progressiveEls||this.group,e)},t.prototype.filterForExposedEvent=function(e,t,n,r){var o=t.element;if(null==o||n.name===o)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===o)return!0;return!1},t.type="custom",t}(tt.A),hf=ff;function pf(e){var t,n=e.type;if("path"===n){var r=e.shape,o=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,i=Tf(r);t=Ft.makePath(i,null,o,r.layout||"center"),bd(t).customPathData=i}else if("image"===n)t=new l.Ay({}),bd(t).customImagePath=e.style.image;else if("text"===n)t=new q.Ay({});else if("group"===n)t=new Bt.A;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var a=Ft.getShapeClass(n);a||(0,cc.$8)(""),t=new a}return bd(t).customGraphicType=n,t.name=e.name,t.z2EmphasisLift=1,t.z2SelectLift=1,t}function mf(e,t,n,r,o,i,a){Gd(t);var s=o&&o.normal.cfg;s&&t.setTextConfig(s),r&&null==r.transition&&(r.transition=sf);var l=r&&r.style;if(l){if("text"===t.type){var c=l;(0,y.hasOwn)(c,"textFill")&&(c.fill=c.textFill),(0,y.hasOwn)(c,"textStroke")&&(c.stroke=c.textStroke)}var u=void 0,d=uf(t)?l.decal:null;e&&d&&(d.dirty=!0,u=(0,br.w)(d,e)),l.__decalPattern=u}df(t)&&l&&(u=l.__decalPattern)&&(l.decal=u),Nd(t,r,i,{dataIndex:n,isInit:a,clearStyle:!0}),Kd(t,r.keyframeAnimation,i)}function gf(e,t,n,r,o){var i=t.isGroup?null:t,a=o&&o[e].cfg;if(i){var s=i.ensureState(e);if(!1===r){var l=i.getState(e);l&&(l.style=null)}else s.style=r||null;a&&(s.textConfig=a),(0,et.DW)(i)}}function Af(e,t,n){var r=n===ef,o=r?t:xf(t,n),i=o?o.z2:null;null!=i&&((r?e:e.ensureState(n)).z2=i||0)}function vf(e,t,n,r){var o=e.get("renderItem"),i=e.coordinateSystem,a={};i&&(a=i.prepareCustoms?i.prepareCustoms(i):cf[i.type](i));for(var s,l,c=(0,y.defaults)({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:function(e,n){return null==n&&(n=s),t.getStore().get(t.getDimensionIndex(e||0),n)},style:function(n,r){null==r&&(r=s);var o=t.getItemVisual(r,"style"),i=o&&o.fill,a=o&&o.opacity,l=v(r,ef).getItemStyle();null!=i&&(l.fill=i),null!=a&&(l.opacity=a);var c={inheritColor:(0,y.isString)(i)?i:"#000"},u=O(r,ef),d=ct.VB(u,null,c,!1,!0);d.text=u.getShallow("show")?(0,y.retrieve2)(e.getFormattedLabel(r,ef),(0,Su.i)(t,r)):null;var f=ct.sD(u,c,!1);return w(n,l),l=Ed(l,d,f),n&&b(l,n),l.legacy=!0,l},ordinalRawValue:function(e,n){null==n&&(n=s),e=e||0;var r=t.getDimensionInfo(e);if(!r){var o=t.getDimensionIndex(e);return o>=0?t.getStore().get(o,n):void 0}var i=t.get(r.name,n),a=r&&r.ordinalMeta;return a?a.categories[i]:i},styleEmphasis:function(n,r){null==r&&(r=s);var o=v(r,Jd).getItemStyle(),i=O(r,Jd),a=ct.VB(i,null,null,!0,!0);a.text=i.getShallow("show")?(0,y.retrieve3)(e.getFormattedLabel(r,Jd),e.getFormattedLabel(r,ef),(0,Su.i)(t,r)):null;var l=ct.sD(i,null,!0);return w(n,o),o=Ed(o,a,l),n&&b(o,n),o.legacy=!0,o},visual:function(e,n){if(null==n&&(n=s),(0,y.hasOwn)(yd,e)){var r=t.getItemVisual(n,"style");return r?r[yd[e]]:null}if((0,y.hasOwn)(Od,e))return t.getItemVisual(n,e)},barLayout:function(e){if("cartesian2d"===i.type){var t=i.getBaseAxis();return(0,Gu.DL)((0,y.defaults)({axis:t},e))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(e){return ct.c8(e,n)}},a.api||{}),u={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:a.coordSys,dataInsideLength:t.count(),encode:yf(e.getData())},d={},f={},h={},p={},m=0;m<rf.length;m++){var g=rf[m];h[g]=e.getModel(of[g]),p[g]=e.getModel(af[g])}function A(e){return e===s?l||(l=t.getItemModel(e)):t.getItemModel(e)}function v(e,n){return t.hasItemOption?e===s?d[n]||(d[n]=A(e).getModel(of[n])):A(e).getModel(of[n]):h[n]}function O(e,n){return t.hasItemOption?e===s?f[n]||(f[n]=A(e).getModel(af[n])):A(e).getModel(af[n]):p[n]}return function(e,n){return s=e,l=null,d={},f={},o&&o((0,y.defaults)({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},u),c)};function b(e,t){for(var n in t)(0,y.hasOwn)(t,n)&&(e[n]=t[n])}function w(e,t){e&&(e.textFill&&(t.textFill=e.textFill),e.textPosition&&(t.textPosition=e.textPosition))}}function yf(e){var t={};return(0,y.each)(e.dimensions,(function(n){var r=e.getDimensionInfo(n);if(!r.isExtraCoord){var o=r.coordDim;(t[o]=t[o]||[])[r.coordDimIndex]=e.getDimensionIndex(n)}})),t}function Of(e,t,n,r,o,i,a){if(r){var s=bf(e,t,n,r,o,i);return s&&a.setItemGraphicEl(n,s),s&&(0,et.Lm)(s,r.focus,r.blurScope,r.emphasisDisabled),s}i.remove(t)}function bf(e,t,n,r,o,i){var a=-1,s=t;t&&wf(t,r,o)&&(a=(0,y.indexOf)(i.childrenRef(),t),t=null);var l,c,u=!t,d=t;d?d.clearStates():(d=pf(r),s&&(l=s,(c=d).copyTransform(l),df(c)&&df(l)&&(c.setStyle(l.style),c.z=l.z,c.z2=l.z2,c.zlevel=l.zlevel,c.invisible=l.invisible,c.ignore=l.ignore,uf(c)&&uf(l)&&c.setShape(l.shape)))),!1===r.morph?d.disableMorphing=!0:d.disableMorphing&&(d.disableMorphing=!1),lf.normal.cfg=lf.normal.conOpt=lf.emphasis.cfg=lf.emphasis.conOpt=lf.blur.cfg=lf.blur.conOpt=lf.select.cfg=lf.select.conOpt=null,lf.isLegacy=!1,function(e,t,n,r,o,i){if(!e.isGroup){_f(n,null,i),_f(n,Jd,i);var a=i.normal.conOpt,s=i.emphasis.conOpt,l=i.blur.conOpt,c=i.select.conOpt;if(null!=a||null!=s||null!=c||null!=l){var u=e.getTextContent();if(!1===a)u&&e.removeTextContent();else{a=i.normal.conOpt=a||{type:"text"},u?u.clearStates():(u=pf(a),e.setTextContent(u)),mf(null,u,t,a,null,r,o);for(var d=a&&a.style,f=0;f<rf.length;f++){var h=rf[f];if(h!==ef)gf(h,u,0,Sf(a,i[h].conOpt,h),null)}d?u.dirty():u.markRedraw()}}}}(d,n,r,o,u,lf),function(e,t,n,r,o){var i=n.clipPath;if(!1===i)e&&e.getClipPath()&&e.removeClipPath();else if(i){var a=e.getClipPath();a&&wf(a,i,r)&&(a=null),a||(a=pf(i),e.setClipPath(a)),mf(null,a,t,i,null,r,o)}}(d,n,r,o,u),mf(e,d,n,r,lf,o,u),(0,y.hasOwn)(r,"info")&&(bd(d).info=r.info);for(var f=0;f<rf.length;f++){var h=rf[f];if(h!==ef)gf(h,d,0,Sf(r,xf(r,h),h),lf)}return function(e,t,n){if(!e.isGroup){var r=e,o=n.currentZ,i=n.currentZLevel;r.z=o,r.zlevel=i;var a=t.z2;null!=a&&(r.z2=a||0);for(var s=0;s<rf.length;s++)Af(r,t,rf[s])}}(d,r,o),"group"===r.type&&function(e,t,n,r,o){var i=r.children,a=i?i.length:0,s=r.$mergeChildren,l="byName"===s||r.diffChildrenByName,c=!1===s;if(a||l||c){if(l)return u={api:e,oldChildren:t.children()||[],newChildren:i||[],dataIndex:n,seriesModel:o,group:t},void new ci.A(u.oldChildren,u.newChildren,Cf,Cf,u).add(Bf).update(Bf).remove(Qf).execute();var u;c&&t.removeAll();for(var d=0;d<a;d++){var f=i[d],h=t.childAt(d);f?(null==f.ignore&&(f.ignore=!1),bf(e,h,n,f,o,t)):h.ignore=!0}for(var p=t.childCount()-1;p>=d;p--){var m=t.childAt(p);kf(t,m,o)}}}(e,d,n,r,o),a>=0?i.replaceAt(d,a):i.add(d),d}function wf(e,t,n){var r,o=bd(e),i=t.type,a=t.shape,s=t.style;return n.isUniversalTransitionEnabled()||null!=i&&i!==o.customGraphicType||"path"===i&&(r=a)&&((0,y.hasOwn)(r,"pathData")||(0,y.hasOwn)(r,"d"))&&Tf(a)!==o.customPathData||"image"===i&&(0,y.hasOwn)(s,"image")&&s.image!==o.customImagePath}function _f(e,t,n){var r=t?xf(e,t):e,o=t?Sf(e,r,Jd):e.style,i=e.type,a=r?r.textConfig:null,s=e.textContent,l=s?t?xf(s,t):s:null;if(o&&(n.isLegacy||Bd(o,i,!!a,!!l))){n.isLegacy=!0;var c=Qd(o,i,!t);!a&&c.textConfig&&(a=c.textConfig),!l&&c.textContent&&(l=c.textContent)}if(!t&&l){var u=l;!u.type&&(u.type="text")}var d=t?n[t]:n.normal;d.cfg=a,d.conOpt=l}function xf(e,t){return t?e?e[t]:null:e}function Sf(e,t,n){var r=t&&t.style;return null==r&&n===Jd&&e&&(r=e.styleEmphasis),r}function kf(e,t,n){t&&Vd(t,bd(e).option,n)}function Cf(e,t){var n=e&&e.name;return null!=n?n:"e\0\0"+t}function Bf(e,t){var n=this.context,r=null!=e?n.newChildren[e]:null,o=null!=t?n.oldChildren[t]:null;bf(n.api,o,n.dataIndex,r,n.seriesModel,n.group)}function Qf(e){var t=this.context,n=t.oldChildren[e];n&&Vd(n,bd(n).option,t.seriesModel)}function Tf(e){return e&&(e.pathData||e.d)}var Ef=n(45620),Pf=n(22480),$f=n(53226),Mf=n(3686),zf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,Ye.C6)(t,e),t.prototype.makeElOption=function(e,t,n,r,o){var i=n.axis;"angle"===i.dim&&(this.animationThreshold=Math.PI/18);var a=i.polar,s=a.getOtherAxis(i).getExtent(),l=i.dataToCoord(t),c=r.get("type");if(c&&"none"!==c){var u=Mf.bY(r),d=Rf[c](i,a,l,s);d.style=u,e.graphicKey=d.type,e.pointer=d}var f=function(e,t,n,r,o){var i=t.axis,a=i.dataToCoord(e),s=r.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,c,u,d=r.getRadiusAxis().getExtent();if("radius"===i.dim){var f=$n.create();$n.rotate(f,f,s),$n.translate(f,f,[r.cx,r.cy]),l=Ft.applyTransform([a,-o],f);var h=t.getModel("axisLabel").get("rotate")||0,p=on.A.innerTextLayout(s,h*Math.PI/180,-1);c=p.textAlign,u=p.textVerticalAlign}else{var m=d[1];l=r.coordToPoint([m+o,a]);var g=r.cx,A=r.cy;c=Math.abs(l[0]-g)/m<.3?"center":l[0]>g?"left":"right",u=Math.abs(l[1]-A)/m<.3?"middle":l[1]>A?"top":"bottom"}return{position:l,align:c,verticalAlign:u}}(t,n,0,a,r.get(["label","margin"]));Mf.T8(e,n,r,o,f)},t}($f.A),Rf={line:function(e,t,n,r){return"angle"===e.dim?{type:"Line",shape:Mf.MU(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r){var o=Math.max(1,e.getBandWidth()),i=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:Mf.u7(t.cx,t.cy,r[0],r[1],(-n-o/2)*i,(o/2-n)*i)}:{type:"Sector",shape:Mf.u7(t.cx,t.cy,n-o/2,n+o/2,0,2*Math.PI)}}},Df=zf,If=n(97063),Nf=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.findAxisModel=function(e){var t;return this.ecModel.eachComponent(e,(function(e){e.getCoordSysModel()===this&&(t=e)}),this),t},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(Jt.A),Lf=Nf,Vf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,Ye.C6)(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Ue.US).models[0]},t.type="polarAxis",t}(Jt.A);y.mixin(Vf,Kt.L);var Uf=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.type="angleAxis",t}(Vf),Ff=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.type="radiusAxis",t}(Vf),Hf=function(e){function t(t,n){return e.call(this,"radius",t,n)||this}return(0,Ye.C6)(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t}(fn.A);Hf.prototype.dataToRadius=fn.A.prototype.dataToCoord,Hf.prototype.radiusToData=fn.A.prototype.coordToData;var Wf=Hf,Xf=(0,Ue.$r)(),jf=function(e){function t(t,n){return e.call(this,"angle",t,n||[0,360])||this}return(0,Ye.C6)(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t.prototype.calculateCategoryInterval=function(){var e=this,t=e.getLabelModel(),n=e.scale,r=n.getExtent(),o=n.count();if(r[1]-r[0]<1)return 0;var i=r[0],a=e.dataToCoord(i+1)-e.dataToCoord(i),s=Math.abs(a),l=c.NO(null==i?"":i+"",t.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var d=Math.max(0,Math.floor(u)),f=Xf(e.model),h=f.lastAutoInterval,p=f.lastTickCount;return null!=h&&null!=p&&Math.abs(h-d)<=1&&Math.abs(p-o)<=1&&h>d?d=h:(f.lastTickCount=o,f.lastAutoInterval=d),d},t}(fn.A);jf.prototype.dataToAngle=fn.A.prototype.dataToCoord,jf.prototype.angleToData=fn.A.prototype.coordToData;var qf=jf,Zf=["radius","angle"],Yf=function(){function e(e){this.dimensions=Zf,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new Wf,this._angleAxis=new qf,this.axisPointerEnabled=!0,this.name=e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},e.prototype.containData=function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},e.prototype.getAxis=function(e){return this["_"+e+"Axis"]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(e){var t=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===e&&t.push(n),r.scale.type===e&&t.push(r),t},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},e.prototype.dataToPoint=function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},e.prototype.pointToData=function(e,t){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],t),this._angleAxis.angleToData(n[1],t)]},e.prototype.pointToCoord=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=this.getAngleAxis(),o=r.getExtent(),i=Math.min(o[0],o[1]),a=Math.max(o[0],o[1]);r.inverse?i=a-360:a=i+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;for(var l=Math.atan2(-n,t)/Math.PI*180,c=l<i?1:-1;l<i||l>a;)l+=360*c;return[s,l]},e.prototype.coordToPoint=function(e){var t=e[0],n=e[1]/180*Math.PI;return[Math.cos(n)*t+this.cx,-Math.sin(n)*t+this.cy]},e.prototype.getArea=function(){var e=this.getAngleAxis(),t=this.getRadiusAxis().getExtent().slice();t[0]>t[1]&&t.reverse();var n=e.getExtent(),r=Math.PI/180,o=1e-4;return{cx:this.cx,cy:this.cy,r0:t[0],r:t[1],startAngle:-n[0]*r,endAngle:-n[1]*r,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,r=t-this.cy,i=n*n+r*r,a=this.r,s=this.r0;return a!==s&&i-o<=a*a&&i+o>=s*s}}},e.prototype.convertToPixel=function(e,t,n){return Gf(t)===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){return Gf(t)===this?this.pointToData(n):null},e}();function Gf(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}var Kf=Yf;function Jf(e,t){var n=this,r=n.getAngleAxis(),o=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();y.each((0,rl.wq)(t,"radius"),(function(e){o.scale.unionExtentFromData(t,e)})),y.each((0,rl.wq)(t,"angle"),(function(e){r.scale.unionExtentFromData(t,e)}))}})),(0,rl.af)(r.scale,r.model),(0,rl.af)(o.scale,o.model),"category"===r.type&&!r.onBand){var i=r.getExtent(),a=360/r.scale.count();r.inverse?i[1]+=a:i[1]-=a,r.setExtent(i[0],i[1])}}function eh(e,t){var n;if(e.type=t.get("type"),e.scale=(0,rl.f$)(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),function(e){return"angleAxis"===e.mainType}(t)){e.inverse=e.inverse!==t.get("clockwise");var r=t.get("startAngle"),o=null!==(n=t.get("endAngle"))&&void 0!==n?n:r+(e.inverse?-360:360);e.setExtent(r,o)}t.axis=e,e.model=t}var th={dimensions:Zf,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,r){var o=new Kf(r+"");o.update=Jf;var i=o.getRadiusAxis(),a=o.getAngleAxis(),s=e.findAxisModel("radiusAxis"),l=e.findAxisModel("angleAxis");eh(i,s),eh(a,l),function(e,t,n){var r=t.get("center"),o=n.getWidth(),i=n.getHeight();e.cx=(0,Le.lo)(r[0],o),e.cy=(0,Le.lo)(r[1],i);var a=e.getRadiusAxis(),s=Math.min(o,i)/2,l=t.get("radius");null==l?l=[0,"100%"]:y.isArray(l)||(l=[0,l]);var c=[(0,Le.lo)(l[0],s),(0,Le.lo)(l[1],s)];a.inverse?a.setExtent(c[1],c[0]):a.setExtent(c[0],c[1])}(o,e,t),n.push(o),e.coordinateSystem=o,o.model=e})),e.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var t=e.getReferringComponents("polar",Ue.US).models[0];e.coordinateSystem=t.coordinateSystem}})),n}},nh=th,rh=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function oh(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var r=e.coordToPoint([t[0],n]),o=e.coordToPoint([t[1],n]);return{x1:r[0],y1:r[1],x2:o[0],y2:o[1]}}function ih(e){return e.getRadiusAxis().inverse?0:1}function ah(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var sh=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,r=n.polar,o=r.getRadiusAxis().getExtent(),i=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=y.map(n.getViewLabels(),(function(e){e=y.clone(e);var t=n.scale,r="ordinal"===t.type?t.getRawOrdinalNumber(e.tickValue):e.tickValue;return e.coord=n.dataToCoord(r),e}));ah(s),ah(i),y.each(rh,(function(t){!e.get([t,"show"])||n.scale.isBlank()&&"axisLine"!==t||lh[t](this.group,e,r,i,a,o,s)}),this)}},t.type="angleAxis",t}(Pf.A),lh={axisLine:function(e,t,n,r,o,i){var a,s=t.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),c=Math.PI/180,u=l.getExtent(),d=ih(n),f=d?0:1,h=360===Math.abs(u[1]-u[0])?"Circle":"Arc";(a=0===i[f]?new Ft[h]({shape:{cx:n.cx,cy:n.cy,r:i[d],startAngle:-u[0]*c,endAngle:-u[1]*c,clockwise:l.inverse},style:s.getLineStyle(),z2:1,silent:!0}):new sn.A({shape:{cx:n.cx,cy:n.cy,r:i[d],r0:i[f]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,e.add(a)},axisTick:function(e,t,n,r,o,i){var a=t.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=i[ih(n)],c=y.map(r,(function(e){return new Pn.A({shape:oh(n,[l,l+s],e.coord)})}));e.add(Ft.mergePath(c,{style:y.defaults(a.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,n,r,o,i){if(o.length){for(var a=t.getModel("axisTick"),s=t.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),c=i[ih(n)],u=[],d=0;d<o.length;d++)for(var f=0;f<o[d].length;f++)u.push(new Pn.A({shape:oh(n,[c,c+l],o[d][f].coord)}));e.add(Ft.mergePath(u,{style:y.defaults(s.getModel("lineStyle").getLineStyle(),y.defaults(a.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(e,t,n,r,o,i,a){var s=t.getCategories(!0),l=t.getModel("axisLabel"),c=l.get("margin"),u=t.get("triggerEvent");y.each(a,(function(r,o){var a=l,d=r.tickValue,f=i[ih(n)],h=n.coordToPoint([f+c,r.coord]),p=n.cx,m=n.cy,g=Math.abs(h[0]-p)/f<.3?"center":h[0]>p?"left":"right",A=Math.abs(h[1]-m)/f<.3?"middle":h[1]>m?"top":"bottom";if(s&&s[d]){var v=s[d];y.isObject(v)&&v.textStyle&&(a=new Gt.A(v.textStyle,l,l.ecModel))}var O=new q.Ay({silent:on.A.isLabelSilent(t),style:(0,ct.VB)(a,{x:h[0],y:h[1],fill:a.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:r.formattedLabel,align:g,verticalAlign:A})});if(e.add(O),u){var b=on.A.makeAxisEventDataBase(t);b.targetType="axisLabel",b.value=r.rawLabel,(0,Tt.z)(O).eventData=b}}),this)},splitLine:function(e,t,n,r,o,i){var a=t.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var c=[],u=0;u<r.length;u++){var d=l++%s.length;c[d]=c[d]||[],c[d].push(new Pn.A({shape:oh(n,i,r[u].coord)}))}for(u=0;u<c.length;u++)e.add(Ft.mergePath(c[u],{style:y.defaults({stroke:s[u%s.length]},a.getLineStyle()),silent:!0,z:t.get("z")}))},minorSplitLine:function(e,t,n,r,o,i){if(o.length){for(var a=t.getModel("minorSplitLine").getModel("lineStyle"),s=[],l=0;l<o.length;l++)for(var c=0;c<o[l].length;c++)s.push(new Pn.A({shape:oh(n,i,o[l][c].coord)}));e.add(Ft.mergePath(s,{style:a.getLineStyle(),silent:!0,z:t.get("z")}))}},splitArea:function(e,t,n,r,o,i){if(r.length){var a=t.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var c=[],u=Math.PI/180,d=-r[0].coord*u,f=Math.min(i[0],i[1]),h=Math.max(i[0],i[1]),p=t.get("clockwise"),m=1,g=r.length;m<=g;m++){var A=m===g?r[0].coord:r[m].coord,v=l++%s.length;c[v]=c[v]||[],c[v].push(new Je.A({shape:{cx:n.cx,cy:n.cy,r0:f,r:h,startAngle:d,endAngle:-A*u,clockwise:p},silent:!0})),d=-A*u}for(m=0;m<c.length;m++)e.add(Ft.mergePath(c[m],{style:y.defaults({fill:s[m%s.length]},a.getAreaStyle()),silent:!0}))}}},ch=sh,uh=["axisLine","axisTickLabel","axisName"],dh=["splitLine","splitArea","minorSplitLine"],fh=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=this._axisGroup,r=this._axisGroup=new Bt.A;this.group.add(r);var o=e.axis,i=o.polar,a=i.getAngleAxis(),s=o.getTicksCoords(),l=o.getMinorTicksCoords(),c=a.getExtent()[0],u=o.getExtent(),d=function(e,t,n){return{position:[e.cx,e.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}(i,e,c),f=new on.A(e,d);y.each(uh,f.add,f),r.add(f.getGroup()),Ft.groupTransition(n,r,e),y.each(dh,(function(t){e.get([t,"show"])&&!o.scale.isBlank()&&hh[t](this.group,e,i,c,u,s,l)}),this)}},t.type="radiusAxis",t}(Pf.A),hh={splitLine:function(e,t,n,r,o,i){var a=t.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0,c=n.getAngleAxis(),u=Math.PI/180,d=c.getExtent(),f=360===Math.abs(d[1]-d[0])?"Circle":"Arc";s=s instanceof Array?s:[s];for(var h=[],p=0;p<i.length;p++){var m=l++%s.length;h[m]=h[m]||[],h[m].push(new Ft[f]({shape:{cx:n.cx,cy:n.cy,r:Math.max(i[p].coord,0),startAngle:-d[0]*u,endAngle:-d[1]*u,clockwise:c.inverse}}))}for(p=0;p<h.length;p++)e.add(Ft.mergePath(h[p],{style:y.defaults({stroke:s[p%s.length],fill:null},a.getLineStyle()),silent:!0}))},minorSplitLine:function(e,t,n,r,o,i,a){if(a.length){for(var s=t.getModel("minorSplitLine").getModel("lineStyle"),l=[],c=0;c<a.length;c++)for(var u=0;u<a[c].length;u++)l.push(new an.A({shape:{cx:n.cx,cy:n.cy,r:a[c][u].coord}}));e.add(Ft.mergePath(l,{style:y.defaults({fill:null},s.getLineStyle()),silent:!0}))}},splitArea:function(e,t,n,r,o,i){if(i.length){var a=t.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var c=[],u=i[0].coord,d=1;d<i.length;d++){var f=l++%s.length;c[f]=c[f]||[],c[f].push(new Je.A({shape:{cx:n.cx,cy:n.cy,r0:u,r:i[d].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),u=i[d].coord}for(d=0;d<c.length;d++)e.add(Ft.mergePath(c[d],{style:y.defaults({fill:s[d%s.length]},a.getAreaStyle()),silent:!0}))}}},ph=fh,mh=n(65008);function gh(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function Ah(e,t){return t.dim+e.model.componentIndex}var vh=function(e,t,n){var r={},o=function(e){var t={};y.each(e,(function(e,n){var r=e.getData(),o=e.coordinateSystem,i=o.getBaseAxis(),a=Ah(o,i),s=i.getExtent(),l="category"===i.type?i.getBandWidth():Math.abs(s[1]-s[0])/r.count(),c=t[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},u=c.stacks;t[a]=c;var d=gh(e);u[d]||c.autoWidthCount++,u[d]=u[d]||{width:0,maxWidth:0};var f=(0,Le.lo)(e.get("barWidth"),l),h=(0,Le.lo)(e.get("barMaxWidth"),l),p=e.get("barGap"),m=e.get("barCategoryGap");f&&!u[d].width&&(f=Math.min(c.remainedWidth,f),u[d].width=f,c.remainedWidth-=f),h&&(u[d].maxWidth=h),null!=p&&(c.gap=p),null!=m&&(c.categoryGap=m)}));var n={};return y.each(t,(function(e,t){n[t]={};var r=e.stacks,o=e.bandWidth,i=(0,Le.lo)(e.categoryGap,o),a=(0,Le.lo)(e.gap,1),s=e.remainedWidth,l=e.autoWidthCount,c=(s-i)/(l+(l-1)*a);c=Math.max(c,0),y.each(r,(function(e,t){var n=e.maxWidth;n&&n<c&&(n=Math.min(n,s),e.width&&(n=Math.min(n,e.width)),s-=n,e.width=n,l--)})),c=(s-i)/(l+(l-1)*a),c=Math.max(c,0);var u,d=0;y.each(r,(function(e,t){e.width||(e.width=c),u=e,d+=e.width*(1+a)})),u&&(d-=u.width*a);var f=-d/2;y.each(r,(function(e,r){n[t][r]=n[t][r]||{offset:f,width:e.width},f+=e.width*(1+a)}))})),n}(y.filter(t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),n=e.coordinateSystem,i=n.getBaseAxis(),a=Ah(n,i),s=gh(e),l=o[a][s],c=l.offset,u=l.width,d=n.getOtherAxis(i),f=e.coordinateSystem.cx,h=e.coordinateSystem.cy,p=e.get("barMinHeight")||0,m=e.get("barMinAngle")||0;r[s]=r[s]||[];for(var g=t.mapDimension(d.dim),A=t.mapDimension(i.dim),v=(0,mh.sJ)(t,g),y="radius"!==i.dim||!e.get("roundCap",!0),O=d.model.get("startValue"),b=d.dataToCoord(O||0),w=0,_=t.count();w<_;w++){var x=t.get(g,w),S=t.get(A,w),k=x>=0?"p":"n",C=b;v&&(r[s][S]||(r[s][S]={p:b,n:b}),C=r[s][S][k]);var B=void 0,Q=void 0,T=void 0,E=void 0;if("radius"===d.dim){var P=d.dataToCoord(x)-b,$=i.dataToCoord(S);Math.abs(P)<p&&(P=(P<0?-1:1)*p),B=C,Q=C+P,E=(T=$-c)-u,v&&(r[s][S][k]=Q)}else{var M=d.dataToCoord(x,y)-b,z=i.dataToCoord(S);Math.abs(M)<m&&(M=(M<0?-1:1)*m),Q=(B=z+c)+u,T=C,E=C+M,v&&(r[s][S][k]=E)}t.setItemLayout(w,{cx:f,cy:h,r0:B,r:Q,startAngle:-T*Math.PI/180,endAngle:-E*Math.PI/180,clockwise:T>=E})}}}))},yh={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},Oh={splitNumber:5},bh=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.type="polar",t}(ln.A);function wh(e,t){t=t||{};var n=e.coordinateSystem,r=e.axis,o={},i=r.position,a=r.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],c={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};o.position=["vertical"===a?c.vertical[i]:l[0],"horizontal"===a?c.horizontal[i]:l[3]],o.rotation=Math.PI/2*{horizontal:0,vertical:1}[a],o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,right:1,left:-1}[i],e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),y.retrieve(t.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var u=t.rotate;return null==u&&(u=e.get(["axisLabel","rotate"])),o.labelRotation="top"===i?-u:u,o.z2=1,o}var _h=n(35369),xh=["axisLine","axisTickLabel","axisName"],Sh=["splitArea","splitLine"],kh=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="SingleAxisPointer",n}return(0,Ye.C6)(t,e),t.prototype.render=function(t,n,r,o){var i=this.group;i.removeAll();var a=this._axisGroup;this._axisGroup=new Bt.A;var s=wh(t),l=new on.A(t,s);y.each(xh,l.add,l),i.add(this._axisGroup),i.add(l.getGroup()),y.each(Sh,(function(e){t.get([e,"show"])&&Ch[e](this,this.group,this._axisGroup,t)}),this),Ft.groupTransition(a,this._axisGroup,t),e.prototype.render.call(this,t,n,r,o)},t.prototype.remove=function(){(0,_h.V)(this)},t.type="singleAxis",t}(Pf.A),Ch={splitLine:function(e,t,n,r){var o=r.axis;if(!o.scale.isBlank()){var i=r.getModel("splitLine"),a=i.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),c=r.coordinateSystem.getRect(),u=o.isHorizontal(),d=[],f=0,h=o.getTicksCoords({tickModel:i}),p=[],m=[],g=0;g<h.length;++g){var A=o.toGlobalCoord(h[g].coord);u?(p[0]=A,p[1]=c.y,m[0]=A,m[1]=c.y+c.height):(p[0]=c.x,p[1]=A,m[0]=c.x+c.width,m[1]=A);var v=new Pn.A({shape:{x1:p[0],y1:p[1],x2:m[0],y2:m[1]},silent:!0});Ft.subPixelOptimizeLine(v.shape,l);var O=f++%s.length;d[O]=d[O]||[],d[O].push(v)}var b=a.getLineStyle(["color"]);for(g=0;g<d.length;++g)t.add(Ft.mergePath(d[g],{style:y.defaults({stroke:s[g%s.length]},b),silent:!0}))}},splitArea:function(e,t,n,r){(0,_h.Y)(e,n,r,r)}},Bh=kh,Qh=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.getCoordSysModel=function(){return this},t.type="singleAxis",t.layoutMode="box",t.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},t}(Jt.A);(0,y.mixin)(Qh,Kt.L.prototype);var Th=Qh,Eh=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n,r)||this;return a.type=o||"value",a.position=i||"bottom",a}return(0,Ye.C6)(t,e),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.pointToData=function(e,t){return this.coordinateSystem.pointToData(e)[0]},t}(fn.A),Ph=Eh,$h=["single"];function Mh(e){var t=e.seriesModel,n=e.singleAxisModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}var zh=function(){function e(e,t,n){this.type="single",this.dimension="single",this.dimensions=$h,this.axisPointerEnabled=!0,this.model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var r=this.dimension,o=new Ph(r,rl.f$(e),[0,0],e.get("type"),e.get("position")),i="category"===o.type;o.onBand=i&&e.get("boundaryGap"),o.inverse=e.get("inverse"),o.orient=e.get("orient"),e.axis=o,o.model=e,o.coordinateSystem=this,this._axis=o},e.prototype.update=function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();(0,y.each)(t.mapDimensionsAll(this.dimension),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),rl.af(this._axis.scale,this._axis.model)}}),this)},e.prototype.resize=function(e,t){this._rect=(0,Ve.dV)({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},e.prototype.getRect=function(){return this._rect},e.prototype._adjustAxis=function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),r=n?[0,e.width]:[0,e.height],o=t.inverse?1:0;t.setExtent(r[o],r[1-o]),this._updateAxisTransform(t,n?e.x:e.y)},e.prototype._updateAxisTransform=function(e,t){var n=e.getExtent(),r=n[0]+n[1],o=e.isHorizontal();e.toGlobalCoord=o?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord=o?function(e){return e-t}:function(e){return r-e+t}},e.prototype.getAxis=function(){return this._axis},e.prototype.getBaseAxis=function(){return this._axis},e.prototype.getAxes=function(){return[this._axis]},e.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},e.prototype.containPoint=function(e){var t=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},e.prototype.pointToData=function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},e.prototype.dataToPoint=function(e){var t=this.getAxis(),n=this.getRect(),r=[],o="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),r[o]=t.toGlobalCoord(t.dataToCoord(+e)),r[1-o]=0===o?n.y+n.height/2:n.x+n.width/2,r},e.prototype.convertToPixel=function(e,t,n){return Mh(t)===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){return Mh(t)===this?this.pointToData(n):null},e}(),Rh={create:function(e,t){var n=[];return e.eachComponent("singleAxis",(function(r,o){var i=new zh(r,e,t);i.name="single_"+o,i.resize(r,t),r.coordinateSystem=i,n.push(i)})),e.eachSeries((function(e){if("singleAxis"===e.get("coordinateSystem")){var t=e.getReferringComponents("singleAxis",Ue.US).models[0];e.coordinateSystem=t&&t.coordinateSystem}})),n},dimensions:$h},Dh=["x","y"],Ih=["width","height"],Nh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,Ye.C6)(t,e),t.prototype.makeElOption=function(e,t,n,r,o){var i=n.axis,a=i.coordinateSystem,s=Uh(a,1-Vh(i)),l=a.dataToPoint(t)[0],c=r.get("type");if(c&&"none"!==c){var u=Mf.bY(r),d=Lh[c](i,l,s);d.style=u,e.graphicKey=d.type,e.pointer=d}var f=wh(n);Mf.DA(t,e,f,n,r,o)},t.prototype.getHandleTransform=function(e,t,n){var r=wh(t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var o=Mf.Tc(t.axis,e,r);return{x:o[0],y:o[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var o=n.axis,i=o.coordinateSystem,a=Vh(o),s=Uh(i,a),l=[e.x,e.y];l[a]+=t[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var c=Uh(i,1-a),u=(c[1]+c[0])/2,d=[u,u];return d[a]=l[a],{x:l[0],y:l[1],rotation:e.rotation,cursorPoint:d,tooltipOption:{verticalAlign:"middle"}}},t}($f.A),Lh={line:function(e,t,n){return{type:"Line",subPixelOptimize:!0,shape:Mf.MU([t,n[0]],[t,n[1]],Vh(e))}},shadow:function(e,t,n){var r=e.getBandWidth(),o=n[1]-n[0];return{type:"Rect",shape:Mf.cU([t-r/2,n[0]],[r,o],Vh(e))}}};function Vh(e){return e.isHorizontal()?0:1}function Uh(e,t){var n=e.getRect();return[n[Dh[t]],n[Dh[t]]+n[Ih[t]]]}var Fh=Nh,Hh=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.type="single",t}(ln.A),Wh=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.init=function(t,n,r){var o=(0,Ve.vs)(t);e.prototype.init.apply(this,arguments),Xh(t,o)},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),Xh(this.option,t)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},t}(Jt.A);function Xh(e,t){var n,r=e.cellSize;1===(n=y.isArray(r)?r:e.cellSize=[r,r]).length&&(n[1]=n[0]);var o=y.map([0,1],(function(e){return(0,Ve.Qf)(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));(0,Ve.YA)(e,t,{type:"box",ignoreSize:o})}var jh=Wh,qh=n(56629),Zh=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){var r=this.group;r.removeAll();var o=e.coordinateSystem,i=o.getRangeInfo(),a=o.getOrient(),s=t.getLocaleModel();this._renderDayRect(e,i,r),this._renderLines(e,i,a,r),this._renderYearText(e,i,a,r),this._renderMonthText(e,s,a,r),this._renderWeekText(e,s,i,a,r)},t.prototype._renderDayRect=function(e,t,n){for(var r=e.coordinateSystem,o=e.getModel("itemStyle").getItemStyle(),i=r.getCellWidth(),a=r.getCellHeight(),s=t.start.time;s<=t.end.time;s=r.getNextNDay(s,1).time){var l=r.dataToRect([s],!1).tl,c=new Tn.A({shape:{x:l[0],y:l[1],width:i,height:a},cursor:"default",style:o});n.add(c)}},t.prototype._renderLines=function(e,t,n,r){var o=this,i=e.coordinateSystem,a=e.getModel(["splitLine","lineStyle"]).getLineStyle(),s=e.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=t.start,u=0;c.time<=t.end.time;u++){f(c.formatedDate),0===u&&(c=i.getDateInfo(t.start.y+"-"+t.start.m));var d=c.date;d.setMonth(d.getMonth()+1),c=i.getDateInfo(d)}function f(t){o._firstDayOfMonth.push(i.getDateInfo(t)),o._firstDayPoints.push(i.dataToRect([t],!1).tl);var l=o._getLinePointsOfOneWeek(e,t,n);o._tlpoints.push(l[0]),o._blpoints.push(l[l.length-1]),s&&o._drawSplitline(l,a,r)}f(i.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,l,n),a,r),s&&this._drawSplitline(o._getEdgesPoints(o._blpoints,l,n),a,r)},t.prototype._getEdgesPoints=function(e,t,n){var r=[e[0].slice(),e[e.length-1].slice()],o="horizontal"===n?0:1;return r[0][o]=r[0][o]-t/2,r[1][o]=r[1][o]+t/2,r},t.prototype._drawSplitline=function(e,t,n){var r=new Ke.A({z2:20,shape:{points:e},style:t});n.add(r)},t.prototype._getLinePointsOfOneWeek=function(e,t,n){for(var r=e.coordinateSystem,o=r.getDateInfo(t),i=[],a=0;a<7;a++){var s=r.getNextNDay(o.time,a),l=r.dataToRect([s.time],!1);i[2*s.day]=l.tl,i[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return i},t.prototype._formatterLabel=function(e,t){return(0,y.isString)(e)&&e?(0,gi.io)(e,t):(0,y.isFunction)(e)?e(t):t.nameMap},t.prototype._yearTextPositionControl=function(e,t,n,r,o){var i=t[0],a=t[1],s=["center","bottom"];"bottom"===r?(a+=o,s=["center","top"]):"left"===r?i-=o:"right"===r?(i+=o,s=["center","top"]):a-=o;var l=0;return"left"!==r&&"right"!==r||(l=Math.PI/2),{rotation:l,x:i,y:a,style:{align:s[0],verticalAlign:s[1]}}},t.prototype._renderYearText=function(e,t,n,r){var o=e.getModel("yearLabel");if(o.get("show")){var i=o.get("margin"),a=o.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,c=(s[0][1]+s[1][1])/2,u="horizontal"===n?0:1,d={top:[l,s[u][1]],bottom:[l,s[1-u][1]],left:[s[1-u][0],c],right:[s[u][0],c]},f=t.start.y;+t.end.y>+t.start.y&&(f=f+"-"+t.end.y);var h=o.get("formatter"),p={start:t.start.y,end:t.end.y,nameMap:f},m=this._formatterLabel(h,p),g=new q.Ay({z2:30,style:(0,ct.VB)(o,{text:m}),silent:o.get("silent")});g.attr(this._yearTextPositionControl(g,d[a],n,a,i)),r.add(g)}},t.prototype._monthTextPositionControl=function(e,t,n,r,o){var i="left",a="top",s=e[0],l=e[1];return"horizontal"===n?(l+=o,t&&(i="center"),"start"===r&&(a="bottom")):(s+=o,t&&(a="middle"),"start"===r&&(i="right")),{x:s,y:l,align:i,verticalAlign:a}},t.prototype._renderMonthText=function(e,t,n,r){var o=e.getModel("monthLabel");if(o.get("show")){var i=o.get("nameMap"),a=o.get("margin"),s=o.get("position"),l=o.get("align"),c=[this._tlpoints,this._blpoints];i&&!(0,y.isString)(i)||(i&&(t=(0,qh.A4)(i)||t),i=t.get(["time","monthAbbr"])||[]);var u="start"===s?0:1,d="horizontal"===n?0:1;a="start"===s?-a:a;for(var f="center"===l,h=o.get("silent"),p=0;p<c[u].length-1;p++){var m=c[u][p].slice(),g=this._firstDayOfMonth[p];if(f){var A=this._firstDayPoints[p];m[d]=(A[d]+c[0][p+1][d])/2}var v=o.get("formatter"),O=i[+g.m-1],b={yyyy:g.y,yy:(g.y+"").slice(2),MM:g.m,M:+g.m,nameMap:O},w=this._formatterLabel(v,b),_=new q.Ay({z2:30,style:(0,y.extend)((0,ct.VB)(o,{text:w}),this._monthTextPositionControl(m,f,n,s,a)),silent:h});r.add(_)}}},t.prototype._weekTextPositionControl=function(e,t,n,r,o){var i="center",a="middle",s=e[0],l=e[1],c="start"===n;return"horizontal"===t?(s=s+r+(c?1:-1)*o[0]/2,i=c?"right":"left"):(l=l+r+(c?1:-1)*o[1]/2,a=c?"bottom":"top"),{x:s,y:l,align:i,verticalAlign:a}},t.prototype._renderWeekText=function(e,t,n,r,o){var i=e.getModel("dayLabel");if(i.get("show")){var a=e.coordinateSystem,s=i.get("position"),l=i.get("nameMap"),c=i.get("margin"),u=a.getFirstDayOfWeek();l&&!(0,y.isString)(l)||(l&&(t=(0,qh.A4)(l)||t),l=t.get(["time","dayOfWeekShort"])||(0,y.map)(t.get(["time","dayOfWeekAbbr"]),(function(e){return e[0]})));var d=a.getNextNDay(n.end.time,7-n.lweek).time,f=[a.getCellWidth(),a.getCellHeight()];c=(0,Le.lo)(c,Math.min(f[1],f[0])),"start"===s&&(d=a.getNextNDay(n.start.time,-(7+n.fweek)).time,c=-c);for(var h=i.get("silent"),p=0;p<7;p++){var m,g=a.getNextNDay(d,p),A=a.dataToRect([g.time],!1).center;m=Math.abs((p+u)%7);var v=new q.Ay({z2:30,style:(0,y.extend)((0,ct.VB)(i,{text:l[m]}),this._weekTextPositionControl(A,r,s,c,f)),silent:h});o.add(v)}}},t.type="calendar",t}(ln.A),Yh=Zh,Gh=864e5;function Kh(e){var t=e.calendarModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem:null}var Jh=function(){function e(t,n,r){this.type="calendar",this.dimensions=e.dimensions,this.getDimensionsInfo=e.getDimensionsInfo,this._model=t}return e.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},e.prototype.getRangeInfo=function(){return this._rangeInfo},e.prototype.getModel=function(){return this._model},e.prototype.getRect=function(){return this._rect},e.prototype.getCellWidth=function(){return this._sw},e.prototype.getCellHeight=function(){return this._sh},e.prototype.getOrient=function(){return this._orient},e.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},e.prototype.getDateInfo=function(e){var t=(e=Le._U(e)).getFullYear(),n=e.getMonth()+1,r=n<10?"0"+n:""+n,o=e.getDate(),i=o<10?"0"+o:""+o,a=e.getDay();return{y:t+"",m:r,d:i,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:e.getTime(),formatedDate:t+"-"+r+"-"+i,date:e}},e.prototype.getNextNDay=function(e,t){return 0===(t=t||0)||(e=new Date(this.getDateInfo(e).time)).setDate(e.getDate()+t),this.getDateInfo(e)},e.prototype.update=function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,r=["width","height"],o=this._model.getCellSize().slice(),i=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];y.each([0,1],(function(e){c(o,e)&&(i[r[e]]=o[e]*a[e])}));var s={width:t.getWidth(),height:t.getHeight()},l=this._rect=Ve.dV(i,s);function c(e,t){return null!=e[t]&&"auto"!==e[t]}y.each([0,1],(function(e){c(o,e)||(o[e]=l[r[e]]/a[e])})),this._sw=o[0],this._sh=o[1]},e.prototype.dataToPoint=function(e,t){y.isArray(e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),r=this._rangeInfo,o=n.formatedDate;if(t&&!(n.time>=r.start.time&&n.time<r.end.time+Gh))return[NaN,NaN];var i=n.day,a=this._getRangeInfo([r.start.time,o]).nthWeek;return"vertical"===this._orient?[this._rect.x+i*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+i*this._sh+this._sh/2]},e.prototype.pointToData=function(e){var t=this.pointToDate(e);return t&&t.time},e.prototype.dataToRect=function(e,t){var n=this.dataToPoint(e,t);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},e.prototype.pointToDate=function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,n=Math.floor((e[1]-this._rect.y)/this._sh)+1,r=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,r):this._getDateByWeeksAndDay(t,n-1,r)},e.prototype.convertToPixel=function(e,t,n){var r=Kh(t);return r===this?r.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){var r=Kh(t);return r===this?r.pointToData(n):null},e.prototype.containPoint=function(e){return console.warn("Not implemented."),!1},e.prototype._initRangeOption=function(){var e,t=this._model.get("range");if(y.isArray(t)&&1===t.length&&(t=t[0]),y.isArray(t))e=t;else{var n=t.toString();if(/^\d{4}$/.test(n)&&(e=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var r=this.getDateInfo(n),o=r.date;o.setMonth(o.getMonth()+1);var i=this.getNextNDay(o,-1);e=[r.formatedDate,i.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(e=[n,n])}if(!e)return t;var a=this._getRangeInfo(e);return a.start.time>a.end.time&&e.reverse(),e},e.prototype._getRangeInfo=function(e){var t,n=[this.getDateInfo(e[0]),this.getDateInfo(e[1])];n[0].time>n[1].time&&(t=!0,n.reverse());var r=Math.floor(n[1].time/Gh)-Math.floor(n[0].time/Gh)+1,o=new Date(n[0].time),i=o.getDate(),a=n[1].date.getDate();o.setDate(i+r-1);var s=o.getDate();if(s!==a)for(var l=o.getTime()-n[1].time>0?1:-1;(s=o.getDate())!==a&&(o.getTime()-n[1].time)*l>0;)r-=l,o.setDate(s-l);var c=Math.floor((r+n[0].day+6)/7),u=t?1-c:c-1;return t&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:r,weeks:c,nthWeek:u,fweek:n[0].day,lweek:n[1].day}},e.prototype._getDateByWeeksAndDay=function(e,t,n){var r=this._getRangeInfo(n);if(e>r.weeks||0===e&&t<r.fweek||e===r.weeks&&t>r.lweek)return null;var o=7*(e-1)-r.fweek+t,i=new Date(r.start.time);return i.setDate(+r.start.d+o),this.getDateInfo(i)},e.create=function(t,n){var r=[];return t.eachComponent("calendar",(function(o){var i=new e(o,t,n);r.push(i),o.coordinateSystem=i})),t.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=r[e.get("calendarIndex")||0])})),r},e.dimensions=["time","value"],e}();function ep(e,t){var n;return y.each(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}var tp=["transition","enterFrom","leaveTo"],np=tp.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function rp(e,t,n){if(n&&(!e[n]&&t[n]&&(e[n]={}),e=e[n],t=t[n]),e&&t)for(var r=n?tp:np,o=0;o<r.length;o++){var i=r[o];null==e[i]&&null!=t[i]&&(e[i]=t[i])}}var op=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventAutoZ=!0,n}return(0,Ye.C6)(t,e),t.prototype.mergeOption=function(t,n){var r=this.option.elements;this.option.elements=null,e.prototype.mergeOption.call(this,t,n),this.option.elements=r},t.prototype.optionUpdated=function(e,t){var n=this.option,r=(t?n:e).elements,o=n.elements=t?[]:n.elements,i=[];this._flatten(r,i,null);var a=Ue.O2(o,i,"normalMerge"),s=this._elOptionsToUpdate=[];y.each(a,(function(e,t){var n=e.newOption;n&&(s.push(n),function(e,t){var n=e.existing;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}(e,n),function(e,t,n){var r=y.extend({},n),o=e[t],i=n.$action||"merge";"merge"===i?o?(y.merge(o,r,!0),(0,Ve.YA)(o,r,{ignoreSize:!0}),(0,Ve.Ir)(n,o),rp(n,o),rp(n,o,"shape"),rp(n,o,"style"),rp(n,o,"extra"),n.clipPath=o.clipPath):e[t]=r:"replace"===i?e[t]=r:"remove"===i&&o&&(e[t]=null)}(o,t,n),function(e,t){if(e&&(e.hv=t.hv=[ep(t,["left","right"]),ep(t,["top","bottom"])],"group"===e.type)){var n=e,r=t;null==n.width&&(n.width=r.width=0),null==n.height&&(n.height=r.height=0)}}(o[t],n))}),this),n.elements=y.filter(o,(function(e){return e&&delete e.$action,null!=e}))},t.prototype._flatten=function(e,t,n){y.each(e,(function(e){if(e){n&&(e.parentOption=n),t.push(e);var r=e.children;r&&r.length&&this._flatten(r,t,e),delete e.children}}),this)},t.prototype.useElOptionsToUpdate=function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e},t.type="graphic",t.defaultOption={elements:[]},t}(Jt.A),ip={path:null,compoundPath:null,group:Bt.A,image:l.Ay,text:q.Ay},ap=Ue.$r(),sp=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.init=function(){this._elMap=y.createHashMap()},t.prototype.render=function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,n)},t.prototype._updateElements=function(e){var t=e.useElOptionsToUpdate();if(t){var n=this._elMap,r=this.group,o=e.get("z"),i=e.get("zlevel");y.each(t,(function(t){var a=Ue.vS(t.id,null),s=null!=a?n.get(a):null,l=Ue.vS(t.parentId,null),c=null!=l?n.get(l):r,u=t.type,d=t.style;"text"===u&&d&&t.hv&&t.hv[1]&&(d.textVerticalAlign=d.textBaseline=d.verticalAlign=d.align=null);var f=t.textContent,h=t.textConfig;if(d&&Bd(d,u,!!h,!!f)){var p=Qd(d,u,!0);!h&&p.textConfig&&(h=t.textConfig=p.textConfig),!f&&p.textContent&&(f=p.textContent)}var m=function(e){return e=y.extend({},e),y.each(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(Ve.Tj),(function(t){delete e[t]})),e}(t),g=t.$action||"merge",A="merge"===g,v="replace"===g;if(A){var O=s;(C=!s)?O=cp(a,c,t.type,n):(O&&(ap(O).isNew=!1),Gd(O)),O&&(Nd(O,m,e,{isInit:C}),dp(O,t,o,i))}else if(v){up(s,t,n,e);var b=cp(a,c,t.type,n);b&&(Nd(b,m,e,{isInit:!0}),dp(b,t,o,i))}else"remove"===g&&(Ld(s,t),up(s,t,n,e));var w=n.get(a);if(w&&f)if(A){var _=w.getTextContent();_?_.attr(f):w.setTextContent(new q.Ay(f))}else v&&w.setTextContent(new q.Ay(f));if(w){var x=t.clipPath;if(x){var S=x.type,k=void 0,C=!1;if(A){var B=w.getClipPath();k=(C=!B||ap(B).type!==S)?lp(S):B}else v&&(C=!0,k=lp(S));w.setClipPath(k),Nd(k,x,e,{isInit:C}),Kd(k,x.keyframeAnimation,e)}var Q=ap(w);w.setTextConfig(h),Q.option=t,function(e,t,n){var r=(0,Tt.z)(e).eventData;e.silent||e.ignore||r||(r=(0,Tt.z)(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),r&&(r.info=n.info)}(w,e,t),Ft.setTooltipConfig({el:w,componentModel:e,itemName:w.name,itemTooltipOption:t.tooltip}),Kd(w,t.keyframeAnimation,e)}}))}},t.prototype._relocate=function(e,t){for(var n=e.option.elements,r=this.group,o=this._elMap,i=t.getWidth(),a=t.getHeight(),s=["x","y"],l=0;l<n.length;l++){var c=n[l];if((p=null!=(h=Ue.vS(c.id,null))?o.get(h):null)&&p.isGroup){var u=(m=p.parent)===r,d=ap(p),f=ap(m);d.width=(0,Le.lo)(d.option.width,u?i:f.width)||0,d.height=(0,Le.lo)(d.option.height,u?a:f.height)||0}}for(l=n.length-1;l>=0;l--){var h,p;if(c=n[l],p=null!=(h=Ue.vS(c.id,null))?o.get(h):null){var m=p.parent,g=(f=ap(m),m===r?{width:i,height:a}:{width:f.width,height:f.height}),A={},v=Ve.m$(p,c,g,null,{hv:c.hv,boundingMode:c.bounding},A);if(!ap(p).isNew&&v){for(var O=c.transition,b={},w=0;w<s.length;w++){var _=s[w],x=A[_];O&&(Ud(O)||y.indexOf(O,_)>=0)?b[_]=x:p[_]=x}(0,Ge.oi)(p,b,e,0)}else p.attr(A)}}},t.prototype._clear=function(){var e=this,t=this._elMap;t.each((function(n){up(n,ap(n).option,t,e._lastGraphicModel)})),this._elMap=y.createHashMap()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(ln.A);function lp(e){var t=new(y.hasOwn(ip,e)?ip[e]:Ft.getShapeClass(e))({});return ap(t).type=e,t}function cp(e,t,n,r){var o=lp(n);return t.add(o),r.set(e,o),ap(o).id=e,ap(o).isNew=!0,o}function up(e,t,n,r){e&&e.parent&&("group"===e.type&&e.traverse((function(e){up(e,t,n,r)})),Vd(e,t,r),n.removeKey(ap(e).id))}function dp(e,t,n,r){e.isGroup||y.each([["cursor",wr.Ay.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],(function(n){var r=n[0];y.hasOwn(t,r)?e[r]=y.retrieve2(t[r],n[1]):null==e[r]&&(e[r]=n[1])})),y.each(y.keys(t),(function(n){if(0===n.indexOf("on")){var r=t[n];e[n]=y.isFunction(r)?r:null}})),y.hasOwn(t,"draggable")&&(e.draggable=t.draggable),null!=t.name&&(e.name=t.name),null!=t.id&&(e.id=t.id)}var fp=n(39789),hp=n(73416),pp=["rect","polygon","keep","clear"];function mp(e,t){var n=(0,Ue.qB)(e?e.brush:[]);if(n.length){var r=[];y.each(n,(function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(r=r.concat(t))}));var o=e&&e.toolbox;y.isArray(o)&&(o=o[0]),o||(o={feature:{}},e.toolbox=[o]);var i,a,s=o.feature||(o.feature={}),l=s.brush||(s.brush={}),c=l.type||(l.type=[]);c.push.apply(c,r),i=c,a={},y.each(i,(function(e){a[e]=1})),i.length=0,y.each(a,(function(e,t){i.push(t)})),t&&!c.length&&c.push.apply(c,pp)}}var gp=n(37395),Ap=y.each;function vp(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}function yp(e,t,n){var r={};return Ap(t,(function(t){var o,i=r[t]=((o=function(){}).prototype.__hidden=o.prototype,new o);Ap(e[t],(function(e,r){if(Fi.isValidType(r)){var o={type:r,visual:e};n&&n(o,t),i[r]=new Fi(o),"opacity"===r&&((o=y.clone(o)).type="colorAlpha",i.__hidden.__alphaForOpacity=new Fi(o))}}))})),r}function Op(e,t,n){var r;y.each(n,(function(e){t.hasOwnProperty(e)&&vp(t[e])&&(r=!0)})),r&&y.each(n,(function(n){t.hasOwnProperty(n)&&vp(t[n])?e[n]=y.clone(t[n]):delete e[n]}))}var bp=n(51183),wp={lineX:_p(0),lineY:_p(1),rect:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return e&&n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])&&bp.l(n.range,e[0],e[1])},rect:function(e,t,n){var r=n.range;if(!e||r.length<=1)return!1;var o=e.x,i=e.y,a=e.width,s=e.height,l=r[0];return!!(bp.l(r,o,i)||bp.l(r,o+a,i)||bp.l(r,o,i+s)||bp.l(r,o+a,i+s)||Ct.A.create(e).contain(l[0],l[1])||(0,Ft.linePolygonIntersect)(o,i,o+a,i,r)||(0,Ft.linePolygonIntersect)(o,i,o,i+s,r)||(0,Ft.linePolygonIntersect)(o+a,i,o+a,i+s,r)||(0,Ft.linePolygonIntersect)(o,i+s,o+a,i+s,r))||void 0}}};function _p(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,r){if(t){var o=r.range;return xp(t[e],o)}},rect:function(r,o,i){if(r){var a=i.range,s=[r[t[e]],r[t[e]]+r[n[e]]];return s[1]<s[0]&&s.reverse(),xp(s[0],a)||xp(s[1],a)||xp(a[0],s)||xp(a[1],s)}}}}function xp(e,t){return t[0]<=e&&e<=t[1]}var Sp=n(98595),kp=["inBrush","outOfBrush"],Cp="__ecBrushSelect",Bp="__ecInBrushSelectEvent";function Qp(e){e.eachComponent({mainType:"brush"},(function(t){(t.brushTargetManager=new Sp.A(t.option,e)).setInputRanges(t.areas,e)}))}function Tp(e,t,n){var r,o,i=[];e.eachComponent({mainType:"brush"},(function(e){n&&"takeGlobalCursor"===n.type&&e.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),Qp(e),e.eachComponent({mainType:"brush"},(function(t,n){var a={brushId:t.id,brushIndex:n,brushName:t.name,areas:y.clone(t.areas),selected:[]};i.push(a);var s=t.option,l=s.brushLink,c=[],u=[],d=[],f=!1;n||(r=s.throttleType,o=s.throttleDelay);var h=y.map(t.areas,(function(e){var t=$p[e.brushType],n=y.defaults({boundingRect:t?t(e):void 0},e);return n.selectors=function(e){var t=e.brushType,n={point:function(r){return wp[t].point(r,n,e)},rect:function(r){return wp[t].rect(r,n,e)}};return n}(n),n})),p=yp(t.option,kp,(function(e){e.mappingMethod="fixed"}));function m(e){return"all"===l||!!c[e]}function g(e){return!!e.length}y.isArray(l)&&y.each(l,(function(e){c[e]=1})),e.eachSeries((function(n,r){var o=d[r]=[];"parallel"===n.subType?function(e,t){var n=e.coordinateSystem;f=f||n.hasAxisBrushed(),m(t)&&n.eachActiveState(e.getData(),(function(e,t){"active"===e&&(u[t]=1)}))}(n,r):function(n,r,o){if(n.brushSelector&&!function(e,t){var n=e.option.seriesIndex;return null!=n&&"all"!==n&&(y.isArray(n)?y.indexOf(n,t)<0:t!==n)}(t,r)&&(y.each(h,(function(r){t.brushTargetManager.controlSeries(r,n,e)&&o.push(r),f=f||g(o)})),m(r)&&g(o))){var i=n.getData();i.each((function(e){Pp(n,o,i,e)&&(u[e]=1)}))}}(n,r,o)})),e.eachSeries((function(e,t){var n={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};a.selected.push(n);var r=d[t],o=e.getData(),i=m(t)?function(e){return u[e]?(n.dataIndex.push(o.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(t){return Pp(e,r,o,t)?(n.dataIndex.push(o.getRawIndex(t)),"inBrush"):"outOfBrush"};(m(t)?f:g(r))&&function(e,t,n,r){var o,i={};function a(e){return(0,gp.Ez)(n,o,e)}function s(e,t){(0,gp.oZ)(n,o,e,t)}function l(e,l){o=e;var c=n.getRawDataItem(o);if(!c||!1!==c.visualMap)for(var u=r.call(undefined,e),d=t[u],f=i[u],h=0,p=f.length;h<p;h++){var m=f[h];d[m]&&d[m].applyVisual(e,a,s)}}y.each(e,(function(e){var n=Fi.prepareVisualTypes(t[e]);i[e]=n})),n.each(l)}(kp,p,o,i)}))})),function(e,t,n,r,o){if(o){var i=e.getZr();if(!i[Bp])i[Cp]||(i[Cp]=Ep),Ys.N(i,Cp,n,t)(e,r)}}(t,r,o,i,n)}function Ep(e,t){if(!e.isDisposed()){var n=e.getZr();n[Bp]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[Bp]=!1}}function Pp(e,t,n,r){for(var o=0,i=t.length;o<i;o++){var a=t[o];if(e.brushSelector(r,n,a.selectors,a))return!0}}var $p={rect:function(e){return Mp(e.range)},polygon:function(e){for(var t,n=e.range,r=0,o=n.length;r<o;r++){t=t||[[1/0,-1/0],[1/0,-1/0]];var i=n[r];i[0]<t[0][0]&&(t[0][0]=i[0]),i[0]>t[0][1]&&(t[0][1]=i[0]),i[1]<t[1][0]&&(t[1][0]=i[1]),i[1]>t[1][1]&&(t[1][1]=i[1])}return t&&Mp(t)}};function Mp(e){return new Ct.A(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var zp=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new wl.A(t.getZr())).on("brush",y.bind(this._onBrush,this)).mount()},t.prototype.render=function(e,t,n,r){this.model=e,this._updateController(e,t,n,r)},t.prototype.updateTransform=function(e,t,n,r){Qp(t),this._updateController(e,t,n,r)},t.prototype.updateVisual=function(e,t,n,r){this.updateTransform(e,t,n,r)},t.prototype.updateView=function(e,t,n,r){this._updateController(e,t,n,r)},t.prototype._updateController=function(e,t,n,r){(!r||r.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(e){var t=this.model.id,n=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:t,areas:y.clone(n),$from:t}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:t,areas:y.clone(n),$from:t})},t.type="brush",t}(ln.A),Rp=zp,Dp=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.areas=[],n.brushOption={},n}return(0,Ye.C6)(t,e),t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&Op(n,e,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},r.hasOwnProperty("liftZ")||(r.liftZ=5)},t.prototype.setAreas=function(e){e&&(this.areas=y.map(e,(function(e){return Ip(this.option,e)}),this))},t.prototype.setBrushOption=function(e){this.brushOption=Ip(this.option,e),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},t}(Jt.A);function Ip(e,t){return y.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new Gt.A(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var Np=Dp,Lp=n(16985),Vp=["rect","polygon","lineX","lineY","keep","clear"],Up=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,Ye.C6)(t,e),t.prototype.render=function(e,t,n){var r,o,i;t.eachComponent({mainType:"brush"},(function(e){r=e.brushType,o=e.brushOption.brushMode||"single",i=i||!!e.areas.length})),this._brushType=r,this._brushMode=o,y.each(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===o:"clear"===t?i:t===r)?"emphasis":"normal")}))},t.prototype.updateView=function(e,t,n){this.render(e,t,n)},t.prototype.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return y.each(e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},t.prototype.onclick=function(e,t,n){var r=this._brushType,o=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===o?"single":"multiple":o}})},t.getDefaultOption=function(e){return{show:!0,type:Vp.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:e.getLocaleModel().get(["toolbox","brush","title"])}},t}(Lp.Ms),Fp=Up,Hp=n(74064),Wp=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode="box",n}return(0,Ye.C6)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._initData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var e,t=this.option,n=t.data||[],r=t.axisType,o=this._names=[];"category"===r?(e=[],(0,y.each)(n,(function(t,n){var r,i=(0,Ue.vS)((0,Ue.vj)(t),"");(0,y.isObject)(t)?(r=(0,y.clone)(t)).value=n:r=n,e.push(r),o.push(i)}))):e=n;var i={category:"ordinal",time:"time",value:"number"}[r]||"number";(this._data=new mt.A([{name:"value",type:i}],this)).initData(e,o)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t}(Jt.A),Xp=Wp,jp=n(9427),qp=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.type="timeline.slider",t.defaultOption=(0,Or.G_)(Xp.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),t}(Xp);(0,y.mixin)(qp,jp.J.prototype);var Zp=qp,Yp=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.type="timeline",t}(ln.A),Gp=Yp,Kp=function(e){function t(t,n,r,o){var i=e.call(this,t,n,r)||this;return i.type=o||"value",i}return(0,Ye.C6)(t,e),t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},t}(fn.A),Jp=n(18550),em=n(12706),tm=Math.PI,nm=(0,Ue.$r)(),rm=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.init=function(e,t){this.api=t},t.prototype.render=function(e,t,n){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var r=this._layout(e,n),o=this._createGroup("_mainGroup"),i=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(r,e);e.formatTooltip=function(e){var t=a.scale.getLabel({value:e});return(0,jt.Qx)("nameValue",{noName:!0,value:t})},(0,y.each)(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](r,o,a,e)}),this),this._renderAxisLabel(r,i,a,e),this._position(r,e)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(e,t){var n,r,o,i,a=e.get(["label","position"]),s=e.get("orient"),l=function(e,t){return Ve.dV(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}(e,t),c={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2<t.getHeight()/2?"-":"+":l.x+l.width/2<t.getWidth()/2?"+":"-":(0,y.isString)(a)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[s][a]:a)>=0||"+"===n?"left":"right"},u={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:tm/2},f="vertical"===s?l.height:l.width,h=e.getModel("controlStyle"),p=h.get("show",!0),m=p?h.get("itemSize"):0,g=p?h.get("itemGap"):0,A=m+g,v=e.get(["label","rotate"])||0;v=v*tm/180;var O=h.get("position",!0),b=p&&h.get("showPlayBtn",!0),w=p&&h.get("showPrevBtn",!0),_=p&&h.get("showNextBtn",!0),x=0,S=f;"left"===O||"bottom"===O?(b&&(r=[0,0],x+=A),w&&(o=[x,0],x+=A),_&&(i=[S-m,0],S-=A)):(b&&(r=[S-m,0],S-=A),w&&(o=[0,0],x+=A),_&&(i=[S-m,0],S-=A));var k=[x,S];return e.get("inverse")&&k.reverse(),{viewRect:l,mainLength:f,orient:s,rotation:d[s],labelRotation:v,labelPosOpt:n,labelAlign:e.get(["label","align"])||c[s],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||u[s],playPosition:r,prevBtnPosition:o,nextBtnPosition:i,axisExtent:k,controlSize:m,controlGap:g}},t.prototype._position=function(e,t){var n=this._mainGroup,r=this._labelGroup,o=e.viewRect;if("vertical"===e.orient){var i=$n.create(),a=o.x,s=o.y+o.height;$n.translate(i,i,[-a,-s]),$n.rotate(i,i,-tm/2),$n.translate(i,i,[a,s]),(o=o.clone()).applyTransform(i)}var l=g(o),c=g(n.getBoundingRect()),u=g(r.getBoundingRect()),d=[n.x,n.y],f=[r.x,r.y];f[0]=d[0]=l[0][0];var h,p=e.labelPosOpt;function m(e){e.originX=l[0][0]-e.x,e.originY=l[1][0]-e.y}function g(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function A(e,t,n,r,o){e[r]+=n[r][o]-t[r][o]}null==p||(0,y.isString)(p)?(A(d,c,l,1,h="+"===p?0:1),A(f,u,l,1,1-h)):(A(d,c,l,1,h=p>=0?0:1),f[1]=d[1]+p),n.setPosition(d),r.setPosition(f),n.rotation=r.rotation=e.rotation,m(n),m(r)},t.prototype._createAxis=function(e,t){var n=t.getData(),r=t.get("axisType"),o=function(e,t){if(t=t||e.get("type"))switch(t){case"category":return new Jp.A({ordinalMeta:e.getCategories(),extent:[1/0,-1/0]});case"time":return new em.A({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new pn.A}}(t,r);o.getTicks=function(){return n.mapArray(["value"],(function(e){return{value:e}}))};var i=n.getDataExtent("value");o.setExtent(i[0],i[1]),o.calcNiceTicks();var a=new Kp("value",o,e.axisExtent,r);return a.model=t,a},t.prototype._createGroup=function(e){var t=this[e]=new Bt.A;return this.group.add(t),t},t.prototype._renderAxisLine=function(e,t,n,r){var o=n.getExtent();if(r.get(["lineStyle","show"])){var i=new Pn.A({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:(0,y.extend)({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});t.add(i);var a=this._progressLine=new Pn.A({shape:{x1:o[0],x2:this._currentPointer?this._currentPointer.x:o[0],y1:0,y2:0},style:(0,y.defaults)({lineCap:"round",lineWidth:i.style.lineWidth},r.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});t.add(a)}},t.prototype._renderAxisTick=function(e,t,n,r){var o=this,i=r.getData(),a=n.scale.getTicks();this._tickSymbols=[],(0,y.each)(a,(function(e){var a=n.dataToCoord(e.value),s=i.getItemModel(e.value),l=s.getModel("itemStyle"),c=s.getModel(["emphasis","itemStyle"]),u=s.getModel(["progress","itemStyle"]),d={x:a,y:0,onclick:(0,y.bind)(o._changeTimeline,o,e.value)},f=om(s,l,t,d);f.ensureState("emphasis").style=c.getItemStyle(),f.ensureState("progress").style=u.getItemStyle(),(0,et.iJ)(f);var h=(0,Tt.z)(f);s.get("tooltip")?(h.dataIndex=e.value,h.dataModel=r):h.dataIndex=h.dataModel=null,o._tickSymbols.push(f)}))},t.prototype._renderAxisLabel=function(e,t,n,r){var o=this;if(n.getLabelModel().get("show")){var i=r.getData(),a=n.getViewLabels();this._tickLabels=[],(0,y.each)(a,(function(r){var a=r.tickValue,s=i.getItemModel(a),l=s.getModel("label"),c=s.getModel(["emphasis","label"]),u=s.getModel(["progress","label"]),d=n.dataToCoord(r.tickValue),f=new q.Ay({x:d,y:0,rotation:e.labelRotation-e.rotation,onclick:(0,y.bind)(o._changeTimeline,o,a),silent:!1,style:(0,ct.VB)(l,{text:r.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});f.ensureState("emphasis").style=(0,ct.VB)(c),f.ensureState("progress").style=(0,ct.VB)(u),t.add(f),(0,et.iJ)(f),nm(f).dataIndex=a,o._tickLabels.push(f)}))}},t.prototype._renderControl=function(e,t,n,r){var o=e.controlSize,i=e.rotation,a=r.getModel("controlStyle").getItemStyle(),s=r.getModel(["emphasis","controlStyle"]).getItemStyle(),l=r.getPlayState(),u=r.get("inverse",!0);function d(e,n,l,u){if(e){var d=(0,c.lo)((0,y.retrieve2)(r.get(["controlStyle",n+"BtnSize"]),o),o),f=function(e,t,n,r){var o=r.style,i=Ft.createIcon(e.get(["controlStyle",t]),r||{},new Ct.A(n[0],n[1],n[2],n[3]));return o&&i.setStyle(o),i}(r,n+"Icon",[0,-d/2,d,d],{x:e[0],y:e[1],originX:o/2,originY:0,rotation:u?-i:0,rectHover:!0,style:a,onclick:l});f.ensureState("emphasis").style=s,t.add(f),(0,et.iJ)(f)}}d(e.nextBtnPosition,"next",(0,y.bind)(this._changeTimeline,this,u?"-":"+")),d(e.prevBtnPosition,"prev",(0,y.bind)(this._changeTimeline,this,u?"+":"-")),d(e.playPosition,l?"stop":"play",(0,y.bind)(this._handlePlayClick,this,!l),!0)},t.prototype._renderCurrentPointer=function(e,t,n,r){var o=r.getData(),i=r.getCurrentIndex(),a=o.getItemModel(i).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=(0,y.bind)(s._handlePointerDrag,s),e.ondragend=(0,y.bind)(s._handlePointerDragend,s),im(e,s._progressLine,i,n,r,!0)},onUpdate:function(e){im(e,s._progressLine,i,n,r)}};this._currentPointer=om(a,a,this._mainGroup,{},this._currentPointer,l)},t.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},t.prototype._handlePointerDrag=function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},t.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},t.prototype._pointerChangeTimeline=function(e,t){var n=this._toAxisCoord(e)[0],r=this._axis,o=Le.Y6(r.getExtent().slice());n>o[1]&&(n=o[1]),n<o[0]&&(n=o[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var i=this._progressLine;i&&(i.shape.x2=n,i.dirty());var a=this._findNearestTick(n),s=this.model;(t||a!==s.getCurrentIndex()&&s.get("realtime"))&&this._changeTimeline(a)},t.prototype._doPlayStop=function(){var e=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var t=e.model;e._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},t.prototype._toAxisCoord=function(e){var t=this._mainGroup.getLocalTransform();return Ft.applyTransform(e,t,!0)},t.prototype._findNearestTick=function(e){var t,n=this.model.getData(),r=1/0,o=this._axis;return n.each(["value"],(function(n,i){var a=o.dataToCoord(n),s=Math.abs(a-e);s<r&&(r=s,t=i)})),t},t.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},t.prototype._changeTimeline=function(e){var t=this.model.getCurrentIndex();"+"===e?e=t+1:"-"===e&&(e=t-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})},t.prototype._updateTicksStatus=function(){var e=this.model.getCurrentIndex(),t=this._tickSymbols,n=this._tickLabels;if(t)for(var r=0;r<t.length;r++)t&&t[r]&&t[r].toggleState("progress",r<e);if(n)for(r=0;r<n.length;r++)n&&n[r]&&n[r].toggleState("progress",nm(n[r]).dataIndex<=e)},t.type="timeline.slider",t}(Gp);function om(e,t,n,r,o,i){var a=t.get("color");if(o)o.setColor(a),n.add(o),i&&i.onUpdate(o);else{var s=e.get("symbol");(o=(0,Qt.v5)(s,-1,-1,2,2,a)).setStyle("strokeNoScale",!0),n.add(o),i&&i.onCreate(o)}var l=t.getItemStyle(["color"]);o.setStyle(l),r=(0,y.merge)({rectHover:!0,z2:100},r,!0);var c=(0,Qt.xU)(e.get("symbolSize"));r.scaleX=c[0]/2,r.scaleY=c[1]/2;var u=(0,Qt.hV)(e.get("symbolOffset"),c);u&&(r.x=(r.x||0)+u[0],r.y=(r.y||0)+u[1]);var d=e.get("symbolRotate");return r.rotation=(d||0)*Math.PI/180||0,o.attr(r),o.updateTransform(),o}function im(e,t,n,r,o,i){if(!e.dragging){var a=o.getModel("checkpointStyle"),s=r.dataToCoord(o.getData().get("value",n));if(i||!a.get("animation",!0))e.attr({x:s,y:0}),t&&t.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};e.stopAnimation(null,!0),e.animateTo({x:s,y:0},l),t&&t.animateTo({shape:{x2:s}},l)}}}var am=rm;function sm(e){var t=e&&e.timeline;y.isArray(t)||(t=t?[t]:[]),y.each(t,(function(e){e&&function(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),lm(e),cm(e,"controlPosition")){var r=e.controlStyle||(e.controlStyle={});cm(r,"position")||(r.position=e.controlPosition),"none"!==r.position||cm(r,"show")||(r.show=!1,delete r.position),delete e.controlPosition}y.each(e.data||[],(function(e){y.isObject(e)&&!y.isArray(e)&&(!cm(e,"value")&&cm(e,"name")&&(e.value=e.name),lm(e))}))}(e)}))}function lm(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),r=e.label||e.label||{},o=r.normal||(r.normal={}),i={normal:1,emphasis:1};y.each(r,(function(e,t){i[t]||cm(o,t)||(o[t]=e)})),n.label&&!cm(r,"emphasis")&&(r.emphasis=n.label,delete n.label)}function cm(e,t){return e.hasOwnProperty(t)}function um(e,t){if(!e)return!1;for(var n=(0,y.isArray)(e)?e:[e],r=0;r<n.length;r++)if(n[r]&&n[r][t])return!0;return!1}var dm=n(38123);function fm(e){(0,Ue.M5)(e,"label",["show"])}var hm=(0,Ue.$r)(),pm=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.createdBySelf=!1,n}return(0,Ye.C6)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},t.prototype.isAnimationEnabled=function(){if(dm.A.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,t){this._mergeOption(e,t,!1,!1)},t.prototype._mergeOption=function(e,t,n,r){var o=this.mainType;n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),i=hm(e)[o];n&&n.data?(i?i._mergeOption(n,t,!0):(r&&fm(n),y.each(n.data,(function(e){e instanceof Array?(fm(e[0]),fm(e[1])):fm(e)})),i=this.createMarkerModelFromSeries(n,this,t),y.extend(i,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),i.__hostSeries=e),hm(e)[o]=i):hm(e)[o]=null}),this)},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),o=this.getRawValue(e),i=r.getName(e);return(0,jt.Qx)("section",{header:this.name,blocks:[(0,jt.Qx)("nameValue",{name:i,value:o,noName:!i,noValue:null==o})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.prototype.getDataParams=function(e,t){var n=jp.J.prototype.getDataParams.call(this,e,t),r=this.__hostSeries;return r&&(n.seriesId=r.id,n.seriesName=r.name,n.seriesType=r.subType),n},t.getMarkerModelFromSeries=function(e,t){return hm(e)[t]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(Jt.A);y.mixin(pm,jp.J.prototype);var mm=pm,gm=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markPoint",t.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},t}(mm),Am=gm,vm=n(31825);function ym(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function Om(e,t,n,r,o,i){var a=[],s=(0,mh.sJ)(t,r)?t.getCalculationInfo("stackResultDimension"):r,l=km(t,s,e),c=t.indicesOfNearest(s,l)[0];a[o]=t.get(n,c),a[i]=t.get(s,c);var u=t.get(r,c),d=Le.XV(t.get(r,c));return(d=Math.min(d,20))>=0&&(a[i]=+a[i].toFixed(d)),[a,u]}var bm={min:(0,y.curry)(Om,"min"),max:(0,y.curry)(Om,"max"),average:(0,y.curry)(Om,"average"),median:(0,y.curry)(Om,"median")};function wm(e,t){if(t){var n=e.getData(),r=e.coordinateSystem,o=r&&r.dimensions;if(!function(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}(t)&&!(0,y.isArray)(t.coord)&&(0,y.isArray)(o)){var i=_m(t,n,r,e);if((t=(0,y.clone)(t)).type&&bm[t.type]&&i.baseAxis&&i.valueAxis){var a=(0,y.indexOf)(o,i.baseAxis.dim),s=(0,y.indexOf)(o,i.valueAxis.dim),l=bm[t.type](n,i.baseDataDim,i.valueDataDim,a,s);t.coord=l[0],t.value=l[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&(0,y.isArray)(o))for(var c=t.coord,u=0;u<2;u++)bm[c[u]]&&(c[u]=km(n,n.mapDimension(o[u]),c[u]));else t.coord=[];return t}}function _m(e,t,n,r){var o={};return null!=e.valueIndex||null!=e.valueDim?(o.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,o.valueAxis=n.getAxis(function(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}(r,o.valueDataDim)),o.baseAxis=n.getOtherAxis(o.valueAxis),o.baseDataDim=t.mapDimension(o.baseAxis.dim)):(o.baseAxis=r.getBaseAxis(),o.valueAxis=n.getOtherAxis(o.baseAxis),o.baseDataDim=t.mapDimension(o.baseAxis.dim),o.valueDataDim=t.mapDimension(o.valueAxis.dim)),o}function xm(e,t){return!(e&&e.containData&&t.coord&&!ym(t))||e.containData(t.coord)}function Sm(e,t){return e?function(e,n,r,o){var i=o<2?e.coord&&e.coord[o]:e.value;return(0,vm.Pn)(i,t[o])}:function(e,n,r,o){return(0,vm.Pn)(e.value,t[o])}}function km(e,t,n){if("average"===n){var r=0,o=0;return e.each(t,(function(e,t){isNaN(e)||(r+=e,o++)})),r/o}return"median"===n?e.getMedian(t):e.getDataExtent(t)["max"===n?1:0]}var Cm=(0,Ue.$r)(),Bm=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.init=function(){this.markerGroupMap=(0,y.createHashMap)()},t.prototype.render=function(e,t,n){var r=this,o=this.markerGroupMap;o.each((function(e){Cm(e).keep=!1})),t.eachSeries((function(e){var o=mm.getMarkerModelFromSeries(e,r.type);o&&r.renderSeries(e,o,t,n)})),o.each((function(e){!Cm(e).keep&&r.group.remove(e.group)}))},t.prototype.markKeep=function(e){Cm(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var n=this;(0,y.each)(e,(function(e){var r=mm.getMarkerModelFromSeries(e,n.type);r&&r.getData().eachItemGraphicEl((function(e){e&&(t?(0,et.QX)(e):(0,et.JC)(e))}))}))},t.type="marker",t}(ln.A),Qm=Bm;function Tm(e,t,n){var r=t.coordinateSystem;e.each((function(o){var i,a=e.getItemModel(o),s=Le.lo(a.get("x"),n.getWidth()),l=Le.lo(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(t.getMarkerPosition)i=t.getMarkerPosition(e.getValues(e.dimensions,o));else if(r){var c=e.get(r.dimensions[0],o),u=e.get(r.dimensions[1],o);i=r.dataToPoint([c,u])}}else i=[s,l];isNaN(s)||(i[0]=s),isNaN(l)||(i[1]=l),e.setItemLayout(o,i)}))}var Em=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=mm.getMarkerModelFromSeries(e,"markPoint");t&&(Tm(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout())}),this)},t.prototype.renderSeries=function(e,t,n,r){var o=e.coordinateSystem,i=e.id,a=e.getData(),s=this.markerGroupMap,l=s.get(i)||s.set(i,new kt.A),c=function(e,t,n){var r;r=e?(0,y.map)(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return(0,y.extend)((0,y.extend)({},n),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var o=new mt.A(r,n),i=(0,y.map)(n.get("data"),(0,y.curry)(wm,t));e&&(i=(0,y.filter)(i,(0,y.curry)(xm,e)));var a=Sm(!!e,r);return o.initData(i,null,a),o}(o,e,t);t.setData(c),Tm(t.getData(),e,r),c.each((function(e){var n=c.getItemModel(e),r=n.getShallow("symbol"),o=n.getShallow("symbolSize"),i=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if((0,y.isFunction)(r)||(0,y.isFunction)(o)||(0,y.isFunction)(i)||(0,y.isFunction)(s)){var u=t.getRawValue(e),d=t.getDataParams(e);(0,y.isFunction)(r)&&(r=r(u,d)),(0,y.isFunction)(o)&&(o=o(u,d)),(0,y.isFunction)(i)&&(i=i(u,d)),(0,y.isFunction)(s)&&(s=s(u,d))}var f=n.getModel("itemStyle").getItemStyle(),h=(0,gp.rI)(a,"color");f.fill||(f.fill=h),c.setItemVisual(e,{symbol:r,symbolSize:o,symbolRotate:i,symbolOffset:s,symbolKeepAspect:l,style:f})})),l.updateData(c),this.group.add(l.group),c.eachItemGraphicEl((function(e){e.traverse((function(e){(0,Tt.z)(e).dataModel=t}))})),this.markKeep(l),l.group.silent=t.get("silent")||e.get("silent")},t.type="markPoint",t}(Qm),Pm=Em,$m=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t}(mm),Mm=$m,zm=(0,Ue.$r)(),Rm=function(e,t,n,r){var o,i=e.getData();if((0,y.isArray)(r))o=r;else{var a=r.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=r.xAxis||null!=r.yAxis){var s=void 0,l=void 0;if(null!=r.yAxis||null!=r.xAxis)s=t.getAxis(null!=r.yAxis?"y":"x"),l=(0,y.retrieve)(r.yAxis,r.xAxis);else{var c=_m(r,i,t,e);s=c.valueAxis,l=km(i,(0,mh.me)(i,c.valueDataDim),a)}var u="x"===s.dim?0:1,d=1-u,f=(0,y.clone)(r),h={coord:[]};f.type=null,f.coord=[],f.coord[d]=-1/0,h.coord[d]=1/0;var p=n.get("precision");p>=0&&(0,y.isNumber)(l)&&(l=+l.toFixed(Math.min(p,20))),f.coord[u]=h.coord[u]=l,o=[f,h,{type:a,valueIndex:r.valueIndex,value:l}]}else o=[]}var m=[wm(e,o[0]),wm(e,o[1]),(0,y.extend)({},o[2])];return m[2].type=m[2].type||null,(0,y.merge)(m[2],m[0]),(0,y.merge)(m[2],m[1]),m};function Dm(e){return!isNaN(e)&&!isFinite(e)}function Im(e,t,n,r){var o=1-e,i=r.dimensions[e];return Dm(t[o])&&Dm(n[o])&&t[e]===n[e]&&r.getAxis(i).containData(t[e])}function Nm(e,t){if("cartesian2d"===e.type){var n=t[0].coord,r=t[1].coord;if(n&&r&&(Im(1,n,r,e)||Im(0,n,r,e)))return!0}return xm(e,t[0])&&xm(e,t[1])}function Lm(e,t,n,r,o){var i,a=r.coordinateSystem,s=e.getItemModel(t),l=Le.lo(s.get("x"),o.getWidth()),c=Le.lo(s.get("y"),o.getHeight());if(isNaN(l)||isNaN(c)){if(r.getMarkerPosition)i=r.getMarkerPosition(e.getValues(e.dimensions,t));else{var u=a.dimensions,d=e.get(u[0],t),f=e.get(u[1],t);i=a.dataToPoint([d,f])}if((0,yu.g)(a,"cartesian2d")){var h=a.getAxis("x"),p=a.getAxis("y");u=a.dimensions,Dm(e.get(u[0],t))?i[0]=h.toGlobalCoord(h.getExtent()[n?0:1]):Dm(e.get(u[1],t))&&(i[1]=p.toGlobalCoord(p.getExtent()[n?0:1]))}isNaN(l)||(i[0]=l),isNaN(c)||(i[1]=c)}else i=[l,c];e.setItemLayout(t,i)}var Vm=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=mm.getMarkerModelFromSeries(e,"markLine");if(t){var r=t.getData(),o=zm(t).from,i=zm(t).to;o.each((function(t){Lm(o,t,!0,e,n),Lm(i,t,!1,e,n)})),r.each((function(e){r.setItemLayout(e,[o.getItemLayout(e),i.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},t.prototype.renderSeries=function(e,t,n,r){var o=e.coordinateSystem,i=e.id,a=e.getData(),s=this.markerGroupMap,l=s.get(i)||s.set(i,new Ga);this.group.add(l.group);var c=function(e,t,n){var r;r=e?(0,y.map)(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return(0,y.extend)((0,y.extend)({},n),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var o=new mt.A(r,n),i=new mt.A(r,n),a=new mt.A([],n),s=(0,y.map)(n.get("data"),(0,y.curry)(Rm,t,e,n));e&&(s=(0,y.filter)(s,(0,y.curry)(Nm,e)));var l=Sm(!!e,r);return o.initData((0,y.map)(s,(function(e){return e[0]})),null,l),i.initData((0,y.map)(s,(function(e){return e[1]})),null,l),a.initData((0,y.map)(s,(function(e){return e[2]}))),a.hasItemOption=!0,{from:o,to:i,line:a}}(o,e,t),u=c.from,d=c.to,f=c.line;zm(t).from=u,zm(t).to=d,t.setData(f);var h=t.get("symbol"),p=t.get("symbolSize"),m=t.get("symbolRotate"),g=t.get("symbolOffset");function A(t,n,o){var i=t.getItemModel(n);Lm(t,n,o,e,r);var s=i.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=(0,gp.rI)(a,"color")),t.setItemVisual(n,{symbolKeepAspect:i.get("symbolKeepAspect"),symbolOffset:(0,y.retrieve2)(i.get("symbolOffset",!0),g[o?0:1]),symbolRotate:(0,y.retrieve2)(i.get("symbolRotate",!0),m[o?0:1]),symbolSize:(0,y.retrieve2)(i.get("symbolSize"),p[o?0:1]),symbol:(0,y.retrieve2)(i.get("symbol",!0),h[o?0:1]),style:s})}(0,y.isArray)(h)||(h=[h,h]),(0,y.isArray)(p)||(p=[p,p]),(0,y.isArray)(m)||(m=[m,m]),(0,y.isArray)(g)||(g=[g,g]),c.from.each((function(e){A(u,e,!0),A(d,e,!1)})),f.each((function(e){var t=f.getItemModel(e).getModel("lineStyle").getLineStyle();f.setItemLayout(e,[u.getItemLayout(e),d.getItemLayout(e)]),null==t.stroke&&(t.stroke=u.getItemVisual(e,"style").fill),f.setItemVisual(e,{fromSymbolKeepAspect:u.getItemVisual(e,"symbolKeepAspect"),fromSymbolOffset:u.getItemVisual(e,"symbolOffset"),fromSymbolRotate:u.getItemVisual(e,"symbolRotate"),fromSymbolSize:u.getItemVisual(e,"symbolSize"),fromSymbol:u.getItemVisual(e,"symbol"),toSymbolKeepAspect:d.getItemVisual(e,"symbolKeepAspect"),toSymbolOffset:d.getItemVisual(e,"symbolOffset"),toSymbolRotate:d.getItemVisual(e,"symbolRotate"),toSymbolSize:d.getItemVisual(e,"symbolSize"),toSymbol:d.getItemVisual(e,"symbol"),style:t})})),l.updateData(f),c.line.eachItemGraphicEl((function(e){(0,Tt.z)(e).dataModel=t,e.traverse((function(e){(0,Tt.z)(e).dataModel=t}))})),this.markKeep(l),l.group.silent=t.get("silent")||e.get("silent")},t.type="markLine",t}(Qm),Um=Vm,Fm=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}(mm),Hm=Fm,Wm=(0,Ue.$r)(),Xm=function(e,t,n,r){var o=r[0],i=r[1];if(o&&i){var a=wm(e,o),s=wm(e,i),l=a.coord,c=s.coord;l[0]=(0,y.retrieve)(l[0],-1/0),l[1]=(0,y.retrieve)(l[1],-1/0),c[0]=(0,y.retrieve)(c[0],1/0),c[1]=(0,y.retrieve)(c[1],1/0);var u=(0,y.mergeAll)([{},a,s]);return u.coord=[a.coord,s.coord],u.x0=a.x,u.y0=a.y,u.x1=s.x,u.y1=s.y,u}};function jm(e){return!isNaN(e)&&!isFinite(e)}function qm(e,t,n,r){var o=1-e;return jm(t[o])&&jm(n[o])}function Zm(e,t){var n=t.coord[0],r=t.coord[1],o={coord:n,x:t.x0,y:t.y0},i={coord:r,x:t.x1,y:t.y1};return(0,yu.g)(e,"cartesian2d")?!(!n||!r||!qm(1,n,r)&&!qm(0,n,r))||function(e,t,n){return!(e&&e.containZone&&t.coord&&n.coord&&!ym(t)&&!ym(n))||e.containZone(t.coord,n.coord)}(e,o,i):xm(e,o)||xm(e,i)}function Ym(e,t,n,r,o){var i,a=r.coordinateSystem,s=e.getItemModel(t),l=Le.lo(s.get(n[0]),o.getWidth()),c=Le.lo(s.get(n[1]),o.getHeight());if(isNaN(l)||isNaN(c)){if(r.getMarkerPosition){var u=e.getValues(["x0","y0"],t),d=e.getValues(["x1","y1"],t),f=a.clampData(u),h=a.clampData(d),p=[];"x0"===n[0]?p[0]=f[0]>h[0]?d[0]:u[0]:p[0]=f[0]>h[0]?u[0]:d[0],"y0"===n[1]?p[1]=f[1]>h[1]?d[1]:u[1]:p[1]=f[1]>h[1]?u[1]:d[1],i=r.getMarkerPosition(p,n,!0)}else{var m=[v=e.get(n[0],t),y=e.get(n[1],t)];a.clampData&&a.clampData(m,m),i=a.dataToPoint(m,!0)}if((0,yu.g)(a,"cartesian2d")){var g=a.getAxis("x"),A=a.getAxis("y"),v=e.get(n[0],t),y=e.get(n[1],t);jm(v)?i[0]=g.toGlobalCoord(g.getExtent()["x0"===n[0]?0:1]):jm(y)&&(i[1]=A.toGlobalCoord(A.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(i[0]=l),isNaN(c)||(i[1]=c)}else i=[l,c];return i}var Gm=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],Km=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=mm.getMarkerModelFromSeries(e,"markArea");if(t){var r=t.getData();r.each((function(t){var o=(0,y.map)(Gm,(function(o){return Ym(r,t,o,e,n)}));r.setItemLayout(t,o),r.getItemGraphicEl(t).setShape("points",o)}))}}),this)},t.prototype.renderSeries=function(e,t,n,r){var o=e.coordinateSystem,i=e.id,a=e.getData(),s=this.markerGroupMap,l=s.get(i)||s.set(i,{group:new Bt.A});this.group.add(l.group),this.markKeep(l);var c=function(e,t,n){var r,o;if(e){var i=(0,y.map)(e&&e.dimensions,(function(e){var n=t.getData(),r=n.getDimensionInfo(n.mapDimension(e))||{};return(0,y.extend)((0,y.extend)({},r),{name:e,ordinalMeta:null})}));o=(0,y.map)(["x0","y0","x1","y1"],(function(e,t){return{name:e,type:i[t%2].type}})),r=new mt.A(o,n)}else o=[{name:"value",type:"float"}],r=new mt.A(o,n);var a=(0,y.map)(n.get("data"),(0,y.curry)(Xm,t,e,n));e&&(a=(0,y.filter)(a,(0,y.curry)(Zm,e)));var s=e?function(e,t,n,r){var i=e.coord[Math.floor(r/2)][r%2];return(0,vm.Pn)(i,o[r])}:function(e,t,n,r){return(0,vm.Pn)(e.value,o[r])};return r.initData(a,null,s),r.hasItemOption=!0,r}(o,e,t);t.setData(c),c.each((function(t){var n=(0,y.map)(Gm,(function(n){return Ym(c,t,n,e,r)})),i=o.getAxis("x").scale,s=o.getAxis("y").scale,l=i.getExtent(),u=s.getExtent(),d=[i.parse(c.get("x0",t)),i.parse(c.get("x1",t))],f=[s.parse(c.get("y0",t)),s.parse(c.get("y1",t))];Le.Y6(d),Le.Y6(f);var h=!!(l[0]>d[1]||l[1]<d[0]||u[0]>f[1]||u[1]<f[0]);c.setItemLayout(t,{points:n,allClipped:h});var p=c.getItemModel(t).getModel("itemStyle").getItemStyle(),m=(0,gp.rI)(a,"color");p.fill||(p.fill=m,(0,y.isString)(p.fill)&&(p.fill=Y.modifyAlpha(p.fill,.4))),p.stroke||(p.stroke=m),c.setItemVisual(t,"style",p)})),c.diff(Wm(l).data).add((function(e){var t=c.getItemLayout(e);if(!t.allClipped){var n=new Ht.A({shape:{points:t.points}});c.setItemGraphicEl(e,n),l.group.add(n)}})).update((function(e,n){var r=Wm(l).data.getItemGraphicEl(n),o=c.getItemLayout(e);o.allClipped?r&&l.group.remove(r):(r?Ge.oi(r,{shape:{points:o.points}},t,e):r=new Ht.A({shape:{points:o.points}}),c.setItemGraphicEl(e,r),l.group.add(r))})).remove((function(e){var t=Wm(l).data.getItemGraphicEl(e);l.group.remove(t)})).execute(),c.eachItemGraphicEl((function(e,n){var r=c.getItemModel(n),o=c.getItemVisual(n,"style");e.useStyle(c.getItemVisual(n,"style")),(0,ct.qM)(e,(0,ct.lx)(r),{labelFetcher:t,labelDataIndex:n,defaultText:c.getName(n)||"",inheritColor:(0,y.isString)(o.fill)?Y.modifyAlpha(o.fill,1):"#000"}),(0,et.Mx)(e,r),(0,et.Lm)(e,null,null,r.get(["emphasis","disabled"])),(0,Tt.z)(e).dataModel=t})),Wm(l).data=c,l.group.silent=t.get("silent")||e.get("silent")},t.type="markArea",t}(Qm),Jm=Km,eg=n(5690),tg=n(72012),ng=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.type="dataZoom.inside",t.defaultOption=(0,Or.G_)(tg.A.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(tg.A),rg=ng,og=n(98248),ig=n(68686),ag=(0,Ue.$r)();function sg(e,t){if(t){e.removeKey(t.model.uid);var n=t.controller;n&&n.dispose()}}function lg(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function cg(e,t,n,r){return e.coordinateSystem.containPoint([n,r])}var ug=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return(0,Ye.C6)(t,e),t.prototype.render=function(t,n,r){e.prototype.render.apply(this,arguments),t.noTarget()?this._clear():(this.range=t.getPercentRange(),function(e,t,n){ag(e).coordSysRecordMap.each((function(e){var r=e.dataZoomInfoMap.get(t.uid);r&&(r.getRange=n)}))}(r,t,{pan:(0,y.bind)(dg.pan,this),zoom:(0,y.bind)(dg.zoom,this),scrollMove:(0,y.bind)(dg.scrollMove,this)}))},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){!function(e,t){for(var n=ag(e).coordSysRecordMap,r=n.keys(),o=0;o<r.length;o++){var i=r[o],a=n.get(i),s=a.dataZoomInfoMap;if(s){var l=t.uid;s.get(l)&&(s.removeKey(l),s.keys().length||sg(n,a))}}}(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(og.A),dg={zoom:function(e,t,n,r){var o=this.range,i=o.slice(),a=e.axisModels[0];if(a){var s=hg[t](null,[r.originX,r.originY],a,n,e),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(i[1]-i[0])+i[0],c=Math.max(1/r.scale,0);i[0]=(i[0]-l)*c+l,i[1]=(i[1]-l)*c+l;var u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return(0,il.A)(0,i,[0,100],0,u.minSpan,u.maxSpan),this.range=i,o[0]!==i[0]||o[1]!==i[1]?i:void 0}},pan:fg((function(e,t,n,r,o,i){var a=hg[r]([i.oldX,i.oldY],[i.newX,i.newY],t,o,n);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength})),scrollMove:fg((function(e,t,n,r,o,i){return hg[r]([0,0],[i.scrollDelta,i.scrollDelta],t,o,n).signal*(e[1]-e[0])*i.scrollDelta}))};function fg(e){return function(t,n,r,o){var i=this.range,a=i.slice(),s=t.axisModels[0];if(s){var l=e(a,s,t,n,r,o);return(0,il.A)(l,a,[0,100],"all"),this.range=a,i[0]!==a[0]||i[1]!==a[1]?a:void 0}}}var hg={grid:function(e,t,n,r,o){var i=n.axis,a={},s=o.model.coordinateSystem.getRect();return e=e||[0,0],"x"===i.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=i.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=i.inverse?-1:1),a},polar:function(e,t,n,r,o){var i=n.axis,a={},s=o.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),c=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(a.pixel=t[0]-e[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=i.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=c[1]-c[0],a.pixelStart=c[0],a.signal=i.inverse?-1:1),a},singleAxis:function(e,t,n,r,o){var i=n.axis,a=o.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===i.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=i.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=i.inverse?-1:1),s}},pg=ug,mg=n(25619);function gg(e){(0,mg.A)(e),e.registerComponentModel(rg),e.registerComponentView(pg),function(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,(function(e,t){var n=ag(t),r=n.coordSysRecordMap||(n.coordSysRecordMap=(0,y.createHashMap)());r.each((function(e){e.dataZoomInfoMap=null})),e.eachComponent({mainType:"dataZoom",subType:"inside"},(function(e){var n=(0,ig.es)(e);(0,y.each)(n.infoList,(function(n){var o=n.model.uid,i=r.get(o)||r.set(o,function(e,t){var n={model:t,containsPoint:(0,y.curry)(cg,t),dispatchAction:(0,y.curry)(lg,e),dataZoomInfoMap:null,controller:null},r=n.controller=new Sn(e.getZr());return(0,y.each)(["pan","zoom","scrollMove"],(function(e){r.on(e,(function(t){var r=[];n.dataZoomInfoMap.each((function(o){if(t.isAvailableBehavior(o.model.option)){var i=(o.getRange||{})[e],a=i&&i(o.dzReferCoordSysInfo,n.model.mainType,n.controller,t);!o.model.get("disabled",!0)&&a&&r.push({dataZoomId:o.model.id,start:a[0],end:a[1]})}})),r.length&&n.dispatchAction(r)}))})),n}(t,n.model));(i.dataZoomInfoMap||(i.dataZoomInfoMap=(0,y.createHashMap)())).set(e.uid,{dzReferCoordSysInfo:n,model:e,getRange:null})}))})),r.each((function(e){var t,n=e.controller,o=e.dataZoomInfoMap;if(o){var i=o.keys()[0];null!=i&&(t=o.get(i))}if(t){var a=function(e){var t,n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0;return e.each((function(e){var i=e.model,a=!i.get("disabled",!0)&&(!i.get("zoomLock",!0)||"move");r[n+a]>r[n+t]&&(t=a),o=o&&i.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}}}(o);n.enable(a.controlType,a.opt),n.setPointerChecker(e.containsPoint),Ys.N(e,"dispatchAction",t.model.get("throttle",!0),"fixRate")}else sg(r,e)}))}))}(e)}var Ag=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=(0,Or.G_)(tg.A.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(tg.A),vg=Ag,yg=Tn.A,Og="horizontal",bg="vertical",wg=["line","bar","candlestick","scatter"],_g={easing:"cubicOut",duration:100,delay:0},xg=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return(0,Ye.C6)(t,e),t.prototype.init=function(e,t){this.api=t,this._onBrush=(0,y.bind)(this._onBrush,this),this._onBrushEnd=(0,y.bind)(this._onBrushEnd,this)},t.prototype.render=function(t,n,r,o){if(e.prototype.render.apply(this,arguments),Ys.N(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1!==t.get("show")){if(t.noTarget())return this._clear(),void this.group.removeAll();o&&"dataZoom"===o.type&&o.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){Ys.IU(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var t=this._displayables.sliderGroup=new Bt.A;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,t=this.api,n=e.get("brushSelect")?7:0,r=this._findCoordRect(),o={width:t.getWidth(),height:t.getHeight()},i=this._orient===Og?{right:o.width-r.x-r.width,top:o.height-30-7-n,width:r.width,height:30}:{right:7,top:r.y,width:30,height:r.height},a=Ve.vs(e.option);(0,y.each)(["right","top","width","height"],(function(e){"ph"===a[e]&&(a[e]=i[e])}));var s=Ve.dV(a,o);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===bg&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,t=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),o=r&&r.get("inverse"),i=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;i.attr(n!==Og||o?n===Og&&o?{scaleY:a?1:-1,scaleX:-1}:n!==bg||o?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=e.getBoundingRect([i]);e.x=t.x-s.x,e.y=t.y-s.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.sliderGroup,r=e.get("brushSelect");n.add(new yg({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var o=new yg({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:(0,y.bind)(this._onClickPanel,this)}),i=this.api.getZr();r?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",i.on("mousemove",this._onBrush),i.on("mouseup",this._onBrushEnd)):(i.off("mousemove",this._onBrush),i.off("mouseup",this._onBrushEnd)),n.add(o)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],e){var t=this._size,n=this._shadowSize||[],r=e.series,o=r.getRawData(),i=r.getShadowDim&&r.getShadowDim(),a=i&&o.getDimensionInfo(i)?r.getShadowDim():e.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(o!==this._shadowData||a!==this._shadowDim||t[0]!==n[0]||t[1]!==n[1]){var c=o.getDataExtent(a),u=.3*(c[1]-c[0]);c=[c[0]-u,c[1]+u];var d,f=[0,t[1]],h=[0,t[0]],p=[[t[0],0],[0,0]],m=[],g=h[1]/(o.count()-1),A=0,v=Math.round(o.count()/t[0]);o.each([a],(function(e,t){if(v>0&&t%v)A+=g;else{var n=null==e||isNaN(e)||""===e,r=n?0:(0,Le.Cb)(e,c,f,!0);n&&!d&&t?(p.push([p[p.length-1][0],0]),m.push([m[m.length-1][0],0])):!n&&d&&(p.push([A,0]),m.push([A,0])),p.push([A,r]),m.push([A,r]),A+=g,d=n}})),s=this._shadowPolygonPts=p,l=this._shadowPolylinePts=m}this._shadowData=o,this._shadowDim=a,this._shadowSize=[t[0],t[1]];for(var y=this.dataZoomModel,O=0;O<3;O++){var b=w(1===O);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function w(e){var t=y.getModel(e?"selectedDataBackground":"dataBackground"),n=new Bt.A,r=new Ht.A({shape:{points:s},segmentIgnoreThreshold:1,style:t.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),o=new Ke.A({shape:{points:l},segmentIgnoreThreshold:1,style:t.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(r),n.add(o),n}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,r=this.ecModel;return e.eachTargetAxis((function(o,i){var a=e.getAxisProxy(o,i).getTargetSeriesModels();(0,y.each)(a,(function(e){if(!(n||!0!==t&&(0,y.indexOf)(wg,e.get("type"))<0)){var a,s=r.getComponent((0,ig.dX)(o),i).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[o],c=e.coordinateSystem;null!=l&&c.getOtherAxis&&(a=c.getOtherAxis(s).inverse),l=e.getData().mapDimension(l),n={thisAxis:s,series:e,thisDim:o,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},t.prototype._renderHandle=function(){var e=this.group,t=this._displayables,n=t.handles=[null,null],r=t.handleLabels=[null,null],o=this._displayables.sliderGroup,i=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,c=a.get("brushSelect"),u=t.filler=new yg({silent:c,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});o.add(u),o.add(new yg({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:i[0],height:i[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),(0,y.each)([0,1],(function(t){var i=a.get("handleIcon");!Qt.$V[i]&&i.indexOf("path://")<0&&i.indexOf("image://")<0&&(i="path://"+i);var s=(0,Qt.v5)(i,-1,0,2,2,null,!0);s.attr({cursor:Sg(this._orient),draggable:!0,drift:(0,y.bind)(this._onDragMove,this,t),ondragend:(0,y.bind)(this._onDragEnd,this),onmouseover:(0,y.bind)(this._showDataInfo,this,!0),onmouseout:(0,y.bind)(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),c=a.get("handleSize");this._handleHeight=(0,Le.lo)(c,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,et.iJ)(s);var u=a.get("handleColor");null!=u&&(s.style.fill=u),o.add(n[t]=s);var d=a.getModel("textStyle"),f=(a.get("handleLabel")||{}).show||!1;e.add(r[t]=new q.Ay({silent:!0,invisible:!f,style:(0,ct.VB)(d,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:d.getTextColor(),font:d.getFont()}),z2:10}))}),this);var d=u;if(c){var f=(0,Le.lo)(a.get("moveHandleSize"),i[1]),h=t.moveHandle=new Tn.A({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:i[1]-.5,height:f}}),p=.8*f,m=t.moveHandleIcon=(0,Qt.v5)(a.get("moveHandleIcon"),-p/2,-p/2,p,p,"#fff",!0);m.silent=!0,m.y=i[1]+f/2-.5,h.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var g=Math.min(i[1]/2,Math.max(f,10));(d=t.moveZone=new Tn.A({invisible:!0,shape:{y:i[1]-g,height:f+g}})).on("mouseover",(function(){s.enterEmphasis(h)})).on("mouseout",(function(){s.leaveEmphasis(h)})),o.add(h),o.add(m),o.add(d)}d.attr({draggable:!0,cursor:Sg(this._orient),drift:(0,y.bind)(this._onDragMove,this,"all"),ondragstart:(0,y.bind)(this._showDataInfo,this,!0),ondragend:(0,y.bind)(this._onDragEnd,this),onmouseover:(0,y.bind)(this._showDataInfo,this,!0),onmouseout:(0,y.bind)(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[(0,Le.Cb)(e[0],[0,100],t,!0),(0,Le.Cb)(e[1],[0,100],t,!0)]},t.prototype._updateInterval=function(e,t){var n=this.dataZoomModel,r=this._handleEnds,o=this._getViewExtent(),i=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];(0,il.A)(t,r,o,n.get("zoomLock")?"all":e,null!=i.minSpan?(0,Le.Cb)(i.minSpan,a,o,!0):null,null!=i.maxSpan?(0,Le.Cb)(i.maxSpan,a,o,!0):null);var s=this._range,l=this._range=(0,Le.Y6)([(0,Le.Cb)(r[0],o,a,!0),(0,Le.Cb)(r[1],o,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},t.prototype._updateView=function(e){var t=this._displayables,n=this._handleEnds,r=(0,Le.Y6)(n.slice()),o=this._size;(0,y.each)([0,1],(function(e){var r=t.handles[e],i=this._handleHeight;r.attr({scaleX:i/2,scaleY:i/2,x:n[e]+(e?-1:1),y:o[1]/2-i/2})}),this),t.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:o[1]});var i={x:r[0],width:r[1]-r[0]};t.moveHandle&&(t.moveHandle.setShape(i),t.moveZone.setShape(i),t.moveZone.getBoundingRect(),t.moveHandleIcon&&t.moveHandleIcon.attr("x",i.x+i.width/2));for(var a=t.dataShadowSegs,s=[0,r[0],r[1],o[0]],l=0;l<a.length;l++){var c=a[l],u=c.getClipPath();u||(u=new Tn.A,c.setClipPath(u)),u.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:o[1]})}this._updateDataInfo(e)},t.prototype._updateDataInfo=function(e){var t=this.dataZoomModel,n=this._displayables,r=n.handleLabels,o=this._orient,i=["",""];if(t.get("showDetail")){var a=t.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,c=e?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();i=[this._formatLabel(c[0],s),this._formatLabel(c[1],s)]}}var u=(0,Le.Y6)(this._handleEnds.slice());function d(e){var t=Ft.getTransform(n.handles[e].parent,this.group),a=Ft.transformDirection(0===e?"right":"left",t),s=this._handleWidth/2+5,l=Ft.applyTransform([u[e]+(0===e?-s:s),this._size[1]/2],t);r[e].setStyle({x:l[0],y:l[1],verticalAlign:o===Og?"middle":a,align:o===Og?a:"center",text:i[e]})}d.call(this,0),d.call(this,1)},t.prototype._formatLabel=function(e,t){var n=this.dataZoomModel,r=n.get("labelFormatter"),o=n.get("labelPrecision");null!=o&&"auto"!==o||(o=t.getPixelPrecision());var i=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel({value:Math.round(e)}):e.toFixed(Math.min(o,20));return(0,y.isFunction)(r)?r(e,i):(0,y.isString)(r)?r.replace("{value}",i):i},t.prototype._showDataInfo=function(e){var t=(this.dataZoomModel.get("handleLabel")||{}).show||!1,n=this.dataZoomModel.getModel(["emphasis","handleLabel"]).get("show")||!1,r=e||this._dragging?n:t,o=this._displayables,i=o.handleLabels;i[0].attr("invisible",!r),i[1].attr("invisible",!r),o.moveHandle&&this.api[r?"enterEmphasis":"leaveEmphasis"](o.moveHandle,1)},t.prototype._onDragMove=function(e,t,n,r){this._dragging=!0,On.ds(r.event);var o=this._displayables.sliderGroup.getLocalTransform(),i=Ft.applyTransform([t,n],o,!0),a=this._updateInterval(e,i[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction(!0)},t.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},t.prototype._onClickPanel=function(e){var t=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var r=this._handleEnds,o=(r[0]+r[1])/2,i=this._updateInterval("all",n[0]-o);this._updateView(),i&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var t=e.offsetX,n=e.offsetY;this._brushStart=new nt.A(t,n),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var t=this._displayables.brushRect;if(this._brushing=!1,t){t.attr("ignore",!0);var n=t.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var r=this._getViewExtent(),o=[0,100];this._range=(0,Le.Y6)([(0,Le.Cb)(n.x,r,o,!0),(0,Le.Cb)(n.x+n.width,r,o,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(On.ds(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,t){var n=this._displayables,r=this.dataZoomModel,o=n.brushRect;o||(o=n.brushRect=new yg({silent:!0,style:r.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(o)),o.attr("ignore",!1);var i=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(e,t),l=a.transformCoordToLocal(i.x,i.y),c=this._size;s[0]=Math.max(Math.min(c[0],s[0]),0),o.setShape({x:l[0],y:0,width:s[0]-l[0],height:c[1]})},t.prototype._dispatchZoomAction=function(e){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?_g:null,start:t[0],end:t[1]})},t.prototype._findCoordRect=function(){var e,t=(0,ig.es)(this.dataZoomModel).infoList;if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}if(!e){var r=this.api.getWidth(),o=this.api.getHeight();e={x:.2*r,y:.2*o,width:.6*r,height:.6*o}}return e},t.type="dataZoom.slider",t}(og.A);function Sg(e){return"vertical"===e?"ns-resize":"ew-resize"}var kg=xg;function Cg(e){e.registerComponentModel(vg),e.registerComponentView(kg),(0,mg.A)(e)}var Bg={get:function(e,t,n){var r=y.clone((Qg[e]||{})[t]);return n&&y.isArray(r)?r[r.length-1]:r}},Qg={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},Tg=Bg,Eg=Fi.mapVisual,Pg=Fi.eachVisual,$g=y.isArray,Mg=y.each,zg=Le.Y6,Rg=Le.Cb,Dg=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return(0,Ye.C6)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&Op(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var t=this.stateList;e=y.bind(e,this),this.controllerVisuals=yp(this.option.controller,t,e),this.targetVisuals=yp(this.option.target,t,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries((function(e,n){t.push(n)})):t=Ue.qB(e),t},t.prototype.eachTargetSeries=function(e,t){y.each(this.getTargetSeriesIndices(),(function(n){var r=this.ecModel.getSeriesByIndex(n);r&&e.call(t,r)}),this)},t.prototype.isTargetSeries=function(e){var t=!1;return this.eachTargetSeries((function(n){n===e&&(t=!0)})),t},t.prototype.formatValueText=function(e,t,n){var r,o=this.option,i=o.precision,a=this.dataBound,s=o.formatter;n=n||["<",">"],y.isArray(e)&&(e=e.slice(),r=!0);var l=t?e:r?[c(e[0]),c(e[1])]:c(e);return y.isString(s)?s.replace("{value}",r?l[0]:l).replace("{value2}",r?l[1]:l):y.isFunction(s)?r?s(e[0],e[1]):s(e):r?e[0]===a[0]?n[0]+" "+l[1]:e[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function c(e){return e===a[0]?"min":e===a[1]?"max":(+e).toFixed(Math.min(i,20))}},t.prototype.resetExtent=function(){var e=this.option,t=zg([e.min,e.max]);this._dataExtent=t},t.prototype.getDataDimensionIndex=function(e){var t=this.option.dimension;if(null!=t)return e.getDimensionIndex(t);for(var n=e.dimensions,r=n.length-1;r>=0;r--){var o=n[r],i=e.getDimensionInfo(o);if(!i.isCalculationCoord)return i.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},r=t.target||(t.target={}),o=t.controller||(t.controller={});y.merge(r,n),y.merge(o,n);var i=this.isCategory();function a(n){$g(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")}}a.call(this,r),a.call(this,o),function(e,t,n){var r=e[t],o=e[n];r&&!o&&(o=e[n]={},Mg(r,(function(e,t){if(Fi.isValidType(t)){var n=Tg.get(t,"inactive",i);null!=n&&(o[t]=n,"color"!==t||o.hasOwnProperty("opacity")||o.hasOwnProperty("colorAlpha")||(o.opacity=[0,0]))}})))}.call(this,r,"inRange","outOfRange"),function(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,r=this.get("inactiveColor"),o=this.getItemSymbol()||"roundRect";Mg(this.stateList,(function(a){var s=this.itemSize,l=e[a];l||(l=e[a]={color:i?r:[r]}),null==l.symbol&&(l.symbol=t&&y.clone(t)||(i?o:[o])),null==l.symbolSize&&(l.symbolSize=n&&y.clone(n)||(i?s[0]:[s[0],s[0]])),l.symbol=Eg(l.symbol,(function(e){return"none"===e?o:e}));var c=l.symbolSize;if(null!=c){var u=-1/0;Pg(c,(function(e){e>u&&(u=e)})),l.symbolSize=Eg(c,(function(e){return Rg(e,[0,u],[0,s[0]],!0)}))}}),this)}.call(this,o)},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(Jt.A),Ig=Dg,Ng=[20,140],Lg=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(null==t[0]||isNaN(t[0]))&&(t[0]=Ng[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=Ng[1])},t.prototype._resetRange=function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):y.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),y.each(this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=t[1]/3)}),this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),t=Le.Y6((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]<e[0]&&(t[0]=e[0]),t[1]<e[0]&&(t[1]=e[0]),t},t.prototype.getValueState=function(e){var t=this.option.range,n=this.getExtent();return(t[0]<=n[0]||t[0]<=e)&&(t[1]>=n[1]||e<=t[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[];return this.eachTargetSeries((function(n){var r=[],o=n.getData();o.each(this.getDataDimensionIndex(o),(function(t,n){e[0]<=t&&t<=e[1]&&r.push(n)}),this),t.push({seriesId:n.id,dataIndex:r})}),this),t},t.prototype.getVisualMeta=function(e){var t=Vg(0,0,this.getExtent()),n=Vg(0,0,this.option.range.slice()),r=[];function o(t,n){r.push({value:t,color:e(t,n)})}for(var i=0,a=0,s=n.length,l=t.length;a<l&&(!n.length||t[a]<=n[0]);a++)t[a]<n[i]&&o(t[a],"outOfRange");for(var c=1;i<s;i++,c=0)c&&r.length&&o(n[i],"outOfRange"),o(n[i],"inRange");for(c=1;a<l;a++)(!n.length||n[n.length-1]<t[a])&&(c&&(r.length&&o(r[r.length-1].value,"outOfRange"),c=0),o(t[a],"outOfRange"));var u=r.length;return{stops:r,outerColors:[u?r[0].color:"transparent",u?r[u-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=(0,Or.G_)(Ig.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),t}(Ig);function Vg(e,t,n){if(n[0]===n[1])return n.slice();for(var r=(n[1]-n[0])/200,o=n[0],i=[],a=0;a<=200&&o<n[1];a++)i.push(o),o+=r;return i.push(n[1]),i}var Ug=Lg,Fg=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return(0,Ye.C6)(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t},t.prototype.render=function(e,t,n,r){this.visualMapModel=e,!1!==e.get("show")?this.doRender(e,t,n,r):this.group.removeAll()},t.prototype.renderBackground=function(e){var t=this.visualMapModel,n=gi.QX(t.get("padding")||0),r=e.getBoundingRect();e.add(new Tn.A({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},t.prototype.getControllerVisual=function(e,t,n){var r=(n=n||{}).forceState,o=this.visualMapModel,i={};if("color"===t){var a=o.get("contentColor");i.color=a}function s(e){return i[e]}function l(e,t){i[e]=t}var c=o.controllerVisuals[r||o.getValueState(e)],u=Fi.prepareVisualTypes(c);return y.each(u,(function(r){var o=c[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",o=c.__alphaForOpacity),Fi.dependsOn(r,t)&&o&&o.applyVisual(e,s,l)})),i[t]},t.prototype.positionGroup=function(e){var t=this.visualMapModel,n=this.api;Ve.m$(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},t.prototype.doRender=function(e,t,n,r){},t.type="visualMap",t}(ln.A),Hg=Fg,Wg=[["left","right","width"],["top","bottom","height"]];function Xg(e,t,n){var r=e.option,o=r.align;if(null!=o&&"auto"!==o)return o;for(var i={width:t.getWidth(),height:t.getHeight()},a="horizontal"===r.orient?1:0,s=Wg[a],l=[0,null,10],c={},u=0;u<3;u++)c[Wg[1-a][u]]=l[u],c[s[u]]=2===u?n[0]:r[s[u]];var d=[["x","width",3],["y","height",0]][a],f=(0,Ve.dV)(c,i,r.padding);return s[(f.margin[d[2]]||0)+f[d[0]]+.5*f[d[1]]<.5*i[d[1]]?0:1]}function jg(e,t){return y.each(e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}var qg=Le.Cb,Zg=y.each,Yg=Math.min,Gg=Math.max,Kg=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return(0,Ye.C6)(t,e),t.prototype.init=function(t,n){e.prototype.init.call(this,t,n),this._hoverLinkFromSeriesMouseOver=y.bind(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=y.bind(this._hideIndicator,this)},t.prototype.doRender=function(e,t,n,r){r&&"selectDataRange"===r.type&&r.from===this.uid||this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},t.prototype._renderEndsText=function(e,t,n){if(t){var r=t[1-n];r=null!=r?r+"":"";var o=this.visualMapModel,i=o.get("textGap"),a=o.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===n?-i:a[1]+i],s),c=this._applyTransform(0===n?"bottom":"top",s),u=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new q.Ay({style:(0,ct.VB)(d,{x:l[0],y:l[1],verticalAlign:"horizontal"===u?"middle":c,align:"horizontal"===u?c:"center",text:r})}))}},t.prototype._renderBar=function(e){var t=this.visualMapModel,n=this._shapes,r=t.itemSize,o=this._orient,i=this._useHandle,a=Xg(t,this.api,r),s=n.mainGroup=this._createBarGroup(a),l=new Bt.A;s.add(l),l.add(n.outOfRange=Jg()),l.add(n.inRange=Jg(null,i?tA(this._orient):null,y.bind(this._dragHandle,this,"all",!1),y.bind(this._dragHandle,this,"all",!0))),l.setClipPath(new Tn.A({shape:{x:0,y:0,width:r[0],height:r[1],r:3}}));var c=t.textStyleModel.getTextRect("国"),u=Gg(c.width,c.height);i&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(t,s,0,r,u,o),this._createHandle(t,s,1,r,u,o)),this._createIndicator(t,s,r,u,o),e.add(s)},t.prototype._createHandle=function(e,t,n,r,o,i){var a=y.bind(this._dragHandle,this,n,!1),s=y.bind(this._dragHandle,this,n,!0),l=(0,c.lo)(e.get("handleSize"),r[0]),u=(0,Qt.v5)(e.get("handleIcon"),-l/2,-l/2,l,l,null,!0),d=tA(this._orient);u.attr({cursor:d,draggable:!0,drift:a,ondragend:s,onmousemove:function(e){On.ds(e.event)}}),u.x=r[0]/2,u.useStyle(e.getModel("handleStyle").getItemStyle()),u.setStyle({strokeNoScale:!0,strokeFirst:!0}),u.style.lineWidth*=2,u.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,et.ix)(u,!0),t.add(u);var f=this.visualMapModel.textStyleModel,h=new q.Ay({cursor:d,draggable:!0,drift:a,onmousemove:function(e){On.ds(e.event)},ondragend:s,style:(0,ct.VB)(f,{x:0,y:0,text:""})});h.ensureState("blur").style={opacity:.1},h.stateTransition={duration:200},this.group.add(h);var p=[l,0],m=this._shapes;m.handleThumbs[n]=u,m.handleLabelPoints[n]=p,m.handleLabels[n]=h},t.prototype._createIndicator=function(e,t,n,r,o){var i=(0,c.lo)(e.get("indicatorSize"),n[0]),a=(0,Qt.v5)(e.get("indicatorIcon"),-i/2,-i/2,i,i,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=e.getModel("indicatorStyle").getItemStyle();if(a instanceof l.Ay){var u=a.style;a.useStyle(y.extend({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},s))}else a.useStyle(s);t.add(a);var d=this.visualMapModel.textStyleModel,f=new q.Ay({silent:!0,invisible:!0,style:(0,ct.VB)(d,{x:0,y:0,text:""})});this.group.add(f);var h=[("horizontal"===o?r/2:6)+n[0]/2,0],p=this._shapes;p.indicator=a,p.indicatorLabel=f,p.indicatorLabelPoint=h,this._firstShowIndicator=!0},t.prototype._dragHandle=function(e,t,n,r){if(this._useHandle){if(this._dragging=!t,!t){var o=this._applyTransform([n,r],this._shapes.mainGroup,!0);this._updateInterval(e,o[1]),this._hideIndicator(),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():eA(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},t.prototype._resetInterval=function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),r=[0,e.itemSize[1]];this._handleEnds=[qg(t[0],n,r,!0),qg(t[1],n,r,!0)]},t.prototype._updateInterval=function(e,t){t=t||0;var n=this.visualMapModel,r=this._handleEnds,o=[0,n.itemSize[1]];(0,il.A)(t,r,o,e,0);var i=n.getExtent();this._dataInterval=[qg(r[0],o,i,!0),qg(r[1],o,i,!0)]},t.prototype._updateView=function(e){var t=this.visualMapModel,n=t.getExtent(),r=this._shapes,o=[0,t.itemSize[1]],i=e?o:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,i,"inRange"),s=this._createBarVisual(n,n,o,"outOfRange");r.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),r.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(i,a)},t.prototype._createBarVisual=function(e,t,n,r){var o={forceState:r,convertOpacityToAlpha:!0},i=this._makeColorGradient(e,o),a=[this.getControllerVisual(e[0],"symbolSize",o),this.getControllerVisual(e[1],"symbolSize",o)],s=this._createBarPoints(n,a);return{barColor:new zn.A(0,0,0,1,i),barPoints:s,handlesColor:[i[0].color,i[i.length-1].color]}},t.prototype._makeColorGradient=function(e,t){var n=[],r=(e[1]-e[0])/100;n.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var o=1;o<100;o++){var i=e[0]+r*o;if(i>e[1])break;n.push({color:this.getControllerVisual(i,"color",t),offset:o/100})}return n.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),n},t.prototype._createBarPoints=function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},t.prototype._createBarGroup=function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new Bt.A("horizontal"!==t||n?"horizontal"===t&&n?{scaleX:"bottom"===e?-1:1,rotation:-Math.PI/2}:"vertical"!==t||n?{scaleX:"left"===e?1:-1}:{scaleX:"left"===e?1:-1,scaleY:-1}:{scaleX:"bottom"===e?1:-1,rotation:Math.PI/2})},t.prototype._updateHandle=function(e,t){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,o=n.handleThumbs,i=n.handleLabels,a=r.itemSize,s=r.getExtent(),l=this._applyTransform("left",n.mainGroup);Zg([0,1],(function(c){var u=o[c];u.setStyle("fill",t.handlesColor[c]),u.y=e[c];var d=qg(e[c],[0,a[1]],s,!0),f=this.getControllerVisual(d,"symbolSize");u.scaleX=u.scaleY=f/a[0],u.x=a[0]-f/2;var h=Ft.applyTransform(n.handleLabelPoints[c],Ft.getTransform(u,this.group));if("horizontal"===this._orient){var p="left"===l||"top"===l?(a[0]-f)/2:(a[0]-f)/-2;h[1]+=p}i[c].setStyle({x:h[0],y:h[1],text:r.formatValueText(this._dataInterval[c]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},t.prototype._showIndicator=function(e,t,n,r){var o=this.visualMapModel,i=o.getExtent(),a=o.itemSize,s=[0,a[1]],l=this._shapes,c=l.indicator;if(c){c.attr("invisible",!1);var u=this.getControllerVisual(e,"color",{convertOpacityToAlpha:!0}),d=this.getControllerVisual(e,"symbolSize"),f=qg(e,i,s,!0),h=a[0]-d/2,p={x:c.x,y:c.y};c.y=f,c.x=h;var m=Ft.applyTransform(l.indicatorLabelPoint,Ft.getTransform(c,this.group)),g=l.indicatorLabel;g.attr("invisible",!1);var A=this._applyTransform("left",l.mainGroup),v="horizontal"===this._orient;g.setStyle({text:(n||"")+o.formatValueText(t),verticalAlign:v?A:"middle",align:v?"center":A});var y={x:h,y:f,style:{fill:u}},O={style:{x:m[0],y:m[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};c.x=p.x,c.y=p.y,c.animateTo(y,b),g.animateTo(O,b)}else c.attr(y),g.attr(O);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var _=0;_<w.length;_++)this.api.enterBlur(w[_])}},t.prototype._enableHoverLinkToSeries=function(){var e=this;this._shapes.mainGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,r=e._applyTransform([t.offsetX,t.offsetY],e._shapes.mainGroup,!0,!0);r[1]=Yg(Gg(0,r[1]),n[1]),e._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},t.prototype._enableHoverLinkFromSeries=function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},t.prototype._doHoverLinkToSeries=function(e,t){var n=this.visualMapModel,r=n.itemSize;if(n.option.hoverLink){var o=[0,r[1]],i=n.getExtent();e=Yg(Gg(o[0],e),o[1]);var a=function(e,t,n){var r=6,o=e.get("hoverLinkDataSize");return o&&(r=qg(o,t,n,!0)/2),r}(n,i,o),s=[e-a,e+a],l=qg(e,o,i,!0),c=[qg(s[0],o,i,!0),qg(s[1],o,i,!0)];s[0]<o[0]&&(c[0]=-1/0),s[1]>o[1]&&(c[1]=1/0),t&&(c[0]===-1/0?this._showIndicator(l,c[1],"< ",a):c[1]===1/0?this._showIndicator(l,c[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var u=this._hoverLinkDataIndices,d=[];(t||eA(n))&&(d=this._hoverLinkDataIndices=n.findTargetDataIndices(c));var f=Ue.D6(u,d);this._dispatchHighDown("downplay",jg(f[0],n)),this._dispatchHighDown("highlight",jg(f[1],n))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var t;if((0,so.R)(e.target,(function(e){var n=(0,Tt.z)(e);if(null!=n.dataIndex)return t=n,!0}),!0),t){var n=this.ecModel.getSeriesByIndex(t.seriesIndex),r=this.visualMapModel;if(r.isTargetSeries(n)){var o=n.getData(t.dataType),i=o.getStore().get(r.getDataDimensionIndex(o),t.dataIndex);isNaN(i)||this._showIndicator(i,i)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var t=this._shapes.handleLabels;if(t)for(var n=0;n<t.length;n++)this.api.leaveBlur(t[n])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",jg(e,this.visualMapModel)),e.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(e,t,n,r){var o=Ft.getTransform(t,r?null:this.group);return y.isArray(e)?Ft.applyTransform(e,o,n):Ft.transformDirection(e,o,n)},t.prototype._dispatchHighDown=function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(Hg);function Jg(e,t,n,r){return new Ht.A({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){On.ds(e.event)},ondragend:r})}function eA(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function tA(e){return"vertical"===e?"ns-resize":"ew-resize"}var nA=Kg,rA={type:"selectDataRange",event:"dataRangeSelected",update:"update"},oA=function(e,t){t.eachComponent({mainType:"visualMap",query:e},(function(t){t.setSelected(e.selected)}))},iA=[{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",(function(t){var r,o,i,a,s,l=e.pipelineContext;!t.isTargetSeries(e)||l&&l.large||n.push((r=t.stateList,o=t.targetVisuals,i=y.bind(t.getValueState,t),a=t.getDataDimensionIndex(e.getData()),s={},y.each(r,(function(e){var t=Fi.prepareVisualTypes(o[e]);s[e]=t})),{progress:function(e,t){var n,r;function l(e){return(0,gp.Ez)(t,r,e)}function c(e,n){(0,gp.oZ)(t,r,e,n)}null!=a&&(n=t.getDimensionIndex(a));for(var u=t.getStore();null!=(r=e.next());){var d=t.getRawDataItem(r);if(!d||!1!==d.visualMap)for(var f=null!=a?u.get(n,r):r,h=i(f),p=o[h],m=s[h],g=0,A=m.length;g<A;g++){var v=m[g];p[v]&&p[v].applyVisual(f,l,c)}}}}))})),n}},{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),r=[];t.eachComponent("visualMap",(function(t){if(t.isTargetSeries(e)){var o=t.getVisualMeta(y.bind(aA,null,e,t))||{stops:[],outerColors:[]},i=t.getDataDimensionIndex(n);i>=0&&(o.dimension=i,r.push(o))}})),e.getData().setVisual("visualMeta",r)}}];function aA(e,t,n,r){for(var o=t.targetVisuals[r],i=Fi.prepareVisualTypes(o),a={color:(0,gp.rI)(e.getData(),"color")},s=0,l=i.length;s<l;s++){var c=i[s],u=o["opacity"===c?"__alphaForOpacity":c];u&&u.applyVisual(n,d,f)}return a.color;function d(e){return a[e]}function f(e,t){a[e]=t}}var sA=y.each;function lA(e){var t=e&&e.visualMap;y.isArray(t)||(t=t?[t]:[]),sA(t,(function(e){if(e){cA(e,"splitList")&&!cA(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&y.isArray(t)&&sA(t,(function(e){y.isObject(e)&&(cA(e,"start")&&!cA(e,"min")&&(e.min=e.start),cA(e,"end")&&!cA(e,"max")&&(e.max=e.end))}))}}))}function cA(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var uA=!1;function dA(e){uA||(uA=!0,e.registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"})),e.registerAction(rA,oA),(0,y.each)(iA,(function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)})),e.registerPreprocessor(lA))}function fA(e){e.registerComponentModel(Ug),e.registerComponentView(nA),dA(e)}var hA=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return(0,Ye.C6)(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var r=this._mode=this._determineMode();this._pieceList=[],pA[this._mode].call(this,this._pieceList),this._resetSelected(t,n);var o=this.option.categories;this.resetVisual((function(e,t){"categories"===r?(e.mappingMethod="category",e.categories=y.clone(o)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=y.map(this._pieceList,(function(e){return e=y.clone(e),"inRange"!==t&&(e.visual=null),e})))}))},t.prototype.completeVisualOption=function(){var t=this.option,n={},r=Fi.listVisualTypes(),o=this.isCategory();function i(e,t,n){return e&&e[t]&&e[t].hasOwnProperty(n)}y.each(t.pieces,(function(e){y.each(r,(function(t){e.hasOwnProperty(t)&&(n[t]=1)}))})),y.each(n,(function(e,n){var r=!1;y.each(this.stateList,(function(e){r=r||i(t,e,n)||i(t.target,e,n)}),this),!r&&y.each(this.stateList,(function(e){(t[e]||(t[e]={}))[n]=Tg.get(n,"inRange"===e?"active":"inactive",o)}))}),this),e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,t){var n=this.option,r=this._pieceList,o=(t?n:e).selected||{};if(n.selected=o,y.each(r,(function(e,t){var n=this.getSelectedMapKey(e);o.hasOwnProperty(n)||(o[n]=!0)}),this),"single"===n.selectedMode){var i=!1;y.each(r,(function(e,t){var n=this.getSelectedMapKey(e);o[n]&&(i?o[n]=!1:i=!0)}),this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return"categories"===this._mode?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=y.clone(e)},t.prototype.getValueState=function(e){var t=Fi.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[],n=this._pieceList;return this.eachTargetSeries((function(r){var o=[],i=r.getData();i.each(this.getDataDimensionIndex(i),(function(t,r){Fi.findPieceIndex(t,n)===e&&o.push(r)}),this),t.push({seriesId:r.id,dataIndex:o})}),this),t},t.prototype.getRepresentValue=function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},t.prototype.getVisualMeta=function(e){if(!this.isCategory()){var t=[],n=["",""],r=this,o=this._pieceList.slice();if(o.length){var i=o[0].interval[0];i!==-1/0&&o.unshift({interval:[-1/0,i]}),(i=o[o.length-1].interval[1])!==1/0&&o.push({interval:[i,1/0]})}else o.push({interval:[-1/0,1/0]});var a=-1/0;return y.each(o,(function(e){var t=e.interval;t&&(t[0]>a&&s([a,t[0]],"outOfRange"),s(t.slice()),a=t[1])}),this),{stops:t,outerColors:n}}function s(o,i){var a=r.getRepresentValue({interval:o});i||(i=r.getValueState(a));var s=e(a,i);o[0]===-1/0?n[0]=s:o[1]===1/0?n[1]=s:t.push({value:o[0],color:s},{value:o[1],color:s})}},t.type="visualMap.piecewise",t.defaultOption=(0,Or.G_)(Ig.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t}(Ig),pA={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),r=this.getExtent(),o=t.splitNumber;o=Math.max(parseInt(o,10),1),t.splitNumber=o;for(var i=(r[1]-r[0])/o;+i.toFixed(n)!==i&&n<5;)n++;t.precision=n,i=+i.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var a=0,s=r[0];a<o;s+=i,a++){var l=a===o-1?r[1]:s+i;e.push({interval:[s,l],close:[1,1]})}t.maxOpen&&e.push({interval:[r[1],1/0],close:[0,0]}),(0,Le.sL)(e),y.each(e,(function(e,t){e.index=t,e.text=this.formatValueText(e.interval)}),this)},categories:function(e){var t=this.option;y.each(t.categories,(function(t){e.push({text:this.formatValueText(t,!0),value:t})}),this),mA(t,e)},pieces:function(e){var t=this.option;y.each(t.pieces,(function(t,n){y.isObject(t)||(t={value:t});var r={text:"",index:n};if(null!=t.label&&(r.text=t.label),t.hasOwnProperty("value")){var o=r.value=t.value;r.interval=[o,o],r.close=[1,1]}else{for(var i=r.interval=[],a=r.close=[0,0],s=[1,0,1],l=[-1/0,1/0],c=[],u=0;u<2;u++){for(var d=[["gte","gt","min"],["lte","lt","max"]][u],f=0;f<3&&null==i[u];f++)i[u]=t[d[f]],a[u]=s[f],c[u]=2===f;null==i[u]&&(i[u]=l[u])}c[0]&&i[1]===1/0&&(a[0]=0),c[1]&&i[0]===-1/0&&(a[1]=0),i[0]===i[1]&&a[0]&&a[1]&&(r.value=i[0])}r.visual=Fi.retrieveVisuals(t),e.push(r)}),this),mA(t,e),(0,Le.sL)(e),y.each(e,(function(e){var t=e.close,n=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)}),this)}};function mA(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var gA=hA,AA=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,Ye.C6)(t,e),t.prototype.doRender=function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),r=t.textStyleModel,o=r.getFont(),i=r.getTextColor(),a=this._getItemAlign(),s=t.itemSize,l=this._getViewData(),c=l.endsText,u=y.retrieve(t.get("showLabel",!0),!c),d=!t.get("selectedMode");c&&this._renderEndsText(e,c[0],s,u,a),y.each(l.viewPieceList,(function(r){var l=r.piece,c=new Bt.A;c.onclick=y.bind(this._onItemClick,this,l),this._enableHoverLink(c,r.indexInModelPieceList);var f=t.getRepresentValue(l);if(this._createItemSymbol(c,f,[0,0,s[0],s[1]],d),u){var h=this.visualMapModel.getValueState(f);c.add(new q.Ay({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:o,fill:i,opacity:"outOfRange"===h?.5:1},silent:d}))}e.add(c)}),this),c&&this._renderEndsText(e,c[1],s,u,a),Ve.aP(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,t){var n=this;e.on("mouseover",(function(){return r("highlight")})).on("mouseout",(function(){return r("downplay")}));var r=function(e){var r=n.visualMapModel;r.option.hoverLink&&n.api.dispatchAction({type:e,batch:jg(r.findTargetDataIndices(t),r)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return Xg(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},t.prototype._renderEndsText=function(e,t,n,r,o){if(t){var i=new Bt.A,a=this.visualMapModel.textStyleModel;i.add(new q.Ay({style:(0,ct.VB)(a,{x:r?"right"===o?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:r?o:"center",text:t})})),e.add(i)}},t.prototype._getViewData=function(){var e=this.visualMapModel,t=y.map(e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),n=e.get("text"),r=e.get("orient"),o=e.get("inverse");return("horizontal"===r?o:!o)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},t.prototype._createItemSymbol=function(e,t,n,r){var o=(0,Qt.v5)(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color"));o.silent=r,e.add(o)},t.prototype._onItemClick=function(e){var t=this.visualMapModel,n=t.option,r=n.selectedMode;if(r){var o=y.clone(n.selected),i=t.getSelectedMapKey(e);"single"===r||!0===r?(o[i]=!0,y.each(o,(function(e,t){o[t]=t===i}))):o[i]=!o[i],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},t.type="visualMap.piecewise",t}(Hg),vA=AA;function yA(e){e.registerComponentModel(gA),e.registerComponentView(vA),dA(e)}var OA={label:{enabled:!0},decal:{show:!1}},bA=(0,Ue.$r)(),wA={};function _A(e,t){var n=e.getModel("aria");if(n.get("enabled")){var r=y.clone(OA);y.merge(r.label,e.getLocaleModel().get("aria"),!1),y.merge(n.option,r,!1),function(){if(n.getModel("decal").get("show")){var t=y.createHashMap();e.eachSeries((function(e){if(!e.isColorBySeries()){var n=t.get(e.type);n||(n={},t.set(e.type,n)),bA(e).scope=n}})),e.eachRawSeries((function(t){if(!e.isSeriesFiltered(t))if(y.isFunction(t.enableAriaDecal))t.enableAriaDecal();else{var n=t.getData();if(t.isColorBySeries()){var r=(0,oi.x)(t.ecModel,t.name,wA,e.getSeriesCount()),o=n.getVisual("decal");n.setVisual("decal",c(o,r))}else{var i=t.getRawData(),a={},s=bA(t).scope;n.each((function(e){var t=n.getRawIndex(e);a[t]=e}));var l=i.count();i.each((function(e){var r=a[e],o=i.getName(e)||e+"",u=(0,oi.x)(t.ecModel,o,s,l),d=n.getItemVisual(r,"decal");n.setItemVisual(r,"decal",c(d,u))}))}}function c(e,t){var n=e?y.extend(y.extend({},t),e):t;return n.dirty=!0,n}}))}}(),function(){var r=t.getZr().dom;if(r){var i=e.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=y.defaults(a.option,i),a.get("enabled"))if(r.setAttribute("role","img"),a.get("description"))r.setAttribute("aria-label",a.get("description"));else{var s,l=e.getSeriesCount(),c=a.get(["data","maxCount"])||10,u=a.get(["series","maxCount"])||10,d=Math.min(l,u);if(!(l<1)){var f=function(){var t=e.get("title");return t&&t.length&&(t=t[0]),t&&t.text}();s=f?o(a.get(["general","withTitle"]),{title:f}):a.get(["general","withoutTitle"]);var h=[];s+=o(l>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:l}),e.eachSeries((function(t,n){if(n<d){var r=void 0,i=t.get("name")?"withName":"withoutName";r=o(r=l>1?a.get(["series","multiple",i]):a.get(["series","single",i]),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(b=t.subType,w=e.getLocaleModel().get(["series","typeNames"]),w[b]||w.chart)});var s=t.getData();s.count()>c?r+=o(a.get(["data","partialData"]),{displayCnt:c}):r+=a.get(["data","allData"]);for(var u=a.get(["data","separator","middle"]),f=a.get(["data","separator","end"]),p=a.get(["data","excludeDimensionId"]),m=[],g=0;g<s.count();g++)if(g<c){var A=s.getName(g),v=p?y.filter(s.getValues(g),(function(e,t){return-1===y.indexOf(p,t)})):s.getValues(g),O=a.get(["data",A?"withName":"withoutName"]);m.push(o(O,{name:A,value:v.join(u)}))}r+=m.join(u)+f,h.push(r)}var b,w}));var p=a.getModel(["series","multiple","separator"]),m=p.get("middle"),g=p.get("end");s+=h.join(m)+g,r.setAttribute("aria-label",s)}}}}()}function o(e,t){if(!y.isString(e))return e;var n=e;return y.each(t,(function(e,t){n=n.replace(new RegExp("\\{\\s*"+t+"\\s*\\}","g"),e)})),n}}function xA(e){if(e&&e.aria){var t=e.aria;null!=t.show&&(t.enabled=t.show),t.label=t.label||{},y.each(["description","general","series","data"],(function(e){null!=t[e]&&(t.label[e]=t[e])}))}}var SA=n(5786),kA=n(76302),CA=n(32592),BA=n(77037);(0,r.Y)([i.a]),(0,r.Y)([function(e){e.registerPainter("svg",Re)}]),(0,r.Y)([De.a,Ie.a,function(e){e.registerChartView(ht),e.registerSeriesModel(wt),(0,Ne.I)("pie",e.registerAction),e.registerLayout((0,y.curry)(je,"pie")),e.registerProcessor(Ze("pie")),e.registerProcessor({seriesType:"pie",reset:function(e,t){var n=e.getData();n.filterSelf((function(e){var t=n.mapDimension("value"),r=n.get(t,e);return!((0,y.isNumber)(r)&&!isNaN(r)&&r<0)}))}})},function(e){(0,r.Y)(It.a),e.registerSeriesModel(St),e.registerChartView(Dt),e.registerLayout((0,zt.A)("scatter"))},function(e){(0,r.Y)(vn),e.registerChartView(Xt),e.registerSeriesModel(Zt),e.registerLayout(Nt),e.registerProcessor(Ze("radar")),e.registerPreprocessor(Ut)},function(e){(0,r.Y)(fo),e.registerChartView(Nr),e.registerSeriesModel(Vr),e.registerLayout(Fr),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,Ur),(0,Ne.I)("map",e.registerAction)},function(e){e.registerChartView(zo),e.registerSeriesModel(Jo),e.registerLayout(ti),e.registerVisual(ni),function(e){e.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=e.dataIndex,r=t.getData().tree.getNodeByDataIndex(n);r.isExpand=!r.isExpand}))})),e.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t,n){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var r=ao(t.coordinateSystem,e,void 0,n);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)}))}))}(e)},function(e){e.registerSeriesModel(li),e.registerChartView(Bi),e.registerVisual(Wi),e.registerLayout(oa),function(e){for(var t=0;t<ri.length;t++)e.registerAction({type:ri[t],update:"updateView"},y.noop);e.registerAction({type:"treemapRootToNode",update:"updateView"},(function(e,t){t.eachComponent({mainType:"series",subType:"treemap",query:e},(function(t,n){var r=qo(e,["treemapZoomToNode","treemapRootToNode"],t);if(r){var o=t.getViewRoot();o&&(e.direction=Yo(o,r.node)?"rollUp":"drillDown"),t.resetViewRoot(r.node)}}))}))}(e)},function(e){e.registerChartView(cs),e.registerSeriesModel(Os),e.registerProcessor(ua),e.registerVisual(da),e.registerVisual(ha),e.registerLayout(_a),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,Ea),e.registerLayout($a),e.registerCoordinateSystem("graphView",{dimensions:qr.dimensions,create:Ma}),e.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},y.noop),e.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},y.noop),e.registerAction(bs,(function(e,t,n){t.eachComponent({mainType:"series",query:e},(function(t){var r=ao(t.coordinateSystem,e,void 0,n);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)}))}))},function(e){e.registerChartView(Bs),e.registerSeriesModel(Ts)},function(e){e.registerChartView(Ms),e.registerSeriesModel(Rs),e.registerLayout(Ds),e.registerProcessor(Ze("funnel"))},function(e){(0,r.Y)(Ql),e.registerChartView(Fs),e.registerSeriesModel(Xs),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,qs)},function(e){e.registerChartView(Ml),e.registerSeriesModel(Rl),e.registerLayout(Dl),e.registerVisual(Zl),e.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},(function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])}))}))},function(e){e.registerSeriesModel(Jl),e.registerChartView(ac),e.registerLayout(lc),e.registerTransform(dc)},function(e){e.registerChartView(Mc),e.registerSeriesModel(Rc),e.registerPreprocessor(Dc),e.registerVisual(bc),e.registerLayout(Vc)},function(e){e.registerChartView(Xc),e.registerSeriesModel(qc),e.registerLayout((0,zt.A)("effectScatter"))},function(e){e.registerChartView(cu),e.registerSeriesModel(pu),e.registerLayout(su),e.registerVisual(gu)},function(e){e.registerChartView(wu),e.registerSeriesModel(xu)},function(e){e.registerChartView(ju),e.registerSeriesModel(Yu),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,(0,y.curry)(Gu.Zp,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,(0,Gu.KF)("pictorialBar"))},function(e){e.registerChartView(ed),e.registerSeriesModel(nd),e.registerLayout(rd),e.registerProcessor(Ze("themeRiver"))},function(e){e.registerChartView(dd),e.registerSeriesModel(pd),e.registerLayout((0,y.curry)(gd,"sunburst")),e.registerProcessor((0,y.curry)(Ze,"sunburst")),e.registerVisual(vd),function(e){e.registerAction({type:ld,update:"updateView"},(function(e,t){t.eachComponent({mainType:"series",subType:"sunburst",query:e},(function(t,n){var r=qo(e,[ld],t);if(r){var o=t.getViewRoot();o&&(e.direction=Yo(o,r.node)?"rollUp":"drillDown"),t.resetViewRoot(r.node)}}))})),e.registerAction({type:cd,update:"none"},(function(e,t,n){e=(0,y.extend)({},e),t.eachComponent({mainType:"series",subType:"sunburst",query:e},(function(t){var n=qo(e,[cd],t);n&&(e.dataIndex=n.node.dataIndex)})),n.dispatchAction((0,y.extend)(e,{type:"highlight"}))})),e.registerAction({type:"sunburstUnhighlight",update:"updateView"},(function(e,t,n){e=(0,y.extend)({},e),n.dispatchAction((0,y.extend)(e,{type:"downplay"}))}))}(e)},function(e){e.registerChartView(hf),e.registerSeriesModel(_d)}]),(0,r.Y)(Ef.a),(0,r.Y)((function(e){(0,r.Y)(If.a),Pf.A.registerAxisPointerClass("PolarAxisPointer",Df),e.registerCoordinateSystem("polar",nh),e.registerComponentModel(Lf),e.registerComponentView(bh),(0,yl.A)(e,"angle",Uf,yh),(0,yl.A)(e,"radius",Ff,Oh),e.registerComponentView(ch),e.registerComponentView(ph),e.registerLayout((0,y.curry)(vh,"bar"))})),(0,r.Y)(fo),(0,r.Y)((function(e){(0,r.Y)(If.a),Pf.A.registerAxisPointerClass("SingleAxisPointer",Fh),e.registerComponentView(Hh),e.registerComponentView(Bh),e.registerComponentModel(Th),(0,yl.A)(e,"single",Th,Th.defaultOption),e.registerCoordinateSystem("single",Rh)})),(0,r.Y)(Ql),(0,r.Y)((function(e){e.registerComponentModel(jh),e.registerComponentView(Yh),e.registerCoordinateSystem("calendar",Jh)})),(0,r.Y)((function(e){e.registerComponentModel(op),e.registerComponentView(sp),e.registerPreprocessor((function(e){var t=e.graphic;(0,y.isArray)(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}))})),(0,r.Y)(fp.a),(0,r.Y)(hp.a),(0,r.Y)(If.a),(0,r.Y)((function(e){e.registerComponentView(Rp),e.registerComponentModel(Np),e.registerPreprocessor(mp),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,Tp),e.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(e,t){t.eachComponent({mainType:"brush",query:e},(function(t){t.setAreas(e.areas)}))})),e.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},y.noop),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},y.noop),(0,Lp.M_)("brush",Fp)})),(0,r.Y)(Hp.a),(0,r.Y)((function(e){e.registerComponentModel(Zp),e.registerComponentView(am),e.registerSubTypeDefaulter("timeline",(function(){return"slider"})),function(e){e.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t,n){var r=t.getComponent("timeline");return r&&null!=e.currentIndex&&(r.setCurrentIndex(e.currentIndex),!r.get("loop",!0)&&r.isIndexMax()&&r.getPlayState()&&(r.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:e.from}))),t.resetOption("timeline",{replaceMerge:r.get("replaceMerge",!0)}),(0,y.defaults)({currentIndex:r.option.currentIndex},e)})),e.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)}))}(e),e.registerPreprocessor(sm)})),(0,r.Y)((function(e){e.registerComponentModel(Am),e.registerComponentView(Pm),e.registerPreprocessor((function(e){um(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})}))})),(0,r.Y)((function(e){e.registerComponentModel(Mm),e.registerComponentView(Um),e.registerPreprocessor((function(e){um(e.series,"markLine")&&(e.markLine=e.markLine||{})}))})),(0,r.Y)((function(e){e.registerComponentModel(Hm),e.registerComponentView(Jm),e.registerPreprocessor((function(e){um(e.series,"markArea")&&(e.markArea=e.markArea||{})}))})),(0,r.Y)(eg.a),(0,r.Y)((function(e){(0,r.Y)(gg),(0,r.Y)(Cg)})),(0,r.Y)(gg),(0,r.Y)(Cg),(0,r.Y)((function(e){(0,r.Y)(fA),(0,r.Y)(yA)})),(0,r.Y)(fA),(0,r.Y)(yA),(0,r.Y)((function(e){e.registerPreprocessor(xA),e.registerVisual(e.PRIORITY.VISUAL.ARIA,_A)})),(0,r.Y)(SA.a),(0,r.Y)(kA.a),(0,r.Y)(CA.i),(0,r.Y)(BA._)},63094:function(e){e.exports=function(){"use strict";return function(e,t,n){t.prototype.dayOfYear=function(e){var t=Math.round((n(this).startOf("day")-n(this).startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"day")}}}()},63103:function(e){e.exports=function(e){for(var t in e)return!1;return!0}},63205:function(e,t,n){var r=n(48614)("every",1,1,!1,!0);e.exports=r},63336:function(e,t,n){var r=n(95962),o=n(99917),i=n(59988),a=n(539);e.exports=function(e,t){var n=i(e),s=i(t),l=o(n),c=o(s),u=r(l),d=r(c),f=Math.pow(10,Math.max(u,d));return parseFloat(a((n*f-s*f)/f,u>=d?u:d))}},63392:function(e,t,n){n(50749)},63487:function(e,t,n){"use strict";n.d(t,{a:function(){return F}});var r=n(15215),o=n(40446),i=n(47355),a=n(62103),s=n(43870),l=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return(0,r.C6)(t,e),t.prototype.getInitialData=function(e){return(0,o.A)(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var t=new s.A,n=(0,a.v5)("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);t.add(n),n.setStyle(e.lineStyle);var r=this.getData().getVisual("symbol"),o=this.getData().getVisual("symbolRotate"),i="none"===r?"circle":r,l=.8*e.itemHeight,c=(0,a.v5)(i,(e.itemWidth-l)/2,(e.itemHeight-l)/2,l,l,e.itemStyle.fill);t.add(c),c.setStyle(e.itemStyle);var u="inherit"===e.iconRotate?o:e.iconRotate||0;return c.rotation=u*Math.PI/180,c.setOrigin([e.itemWidth/2,e.itemHeight/2]),i.indexOf("empty")>-1&&(c.style.stroke=c.style.fill,c.style.fill="#fff",c.style.lineWidth=2),t},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(i.A),c=l,u=n(98026),d=n(18386),f=n(10128),h=n(65008);function p(e,t,n){var r=e.getBaseAxis(),o=e.getOtherAxis(r),i=function(e,t){var n=0,r=e.scale.getExtent();return"start"===t?n=r[0]:"end"===t?n=r[1]:(0,u.isNumber)(t)&&!isNaN(t)?n=t:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]),n}(o,n),a=r.dim,s=o.dim,l=t.mapDimension(s),c=t.mapDimension(a),d="x"===s||"radius"===s?1:0,f=(0,u.map)(e.dimensions,(function(e){return t.mapDimension(e)})),p=!1,m=t.getCalculationInfo("stackResultDimension");return(0,h.sJ)(t,f[0])&&(p=!0,f[0]=m),(0,h.sJ)(t,f[1])&&(p=!0,f[1]=m),{dataDimsForPoint:f,valueStart:i,valueAxisDim:s,baseAxisDim:a,stacked:!!p,valueDim:l,baseDim:c,baseDataOffset:d,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function m(e,t,n,r){var o=NaN;e.stacked&&(o=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(o)&&(o=e.valueStart);var i=e.baseDataOffset,a=[];return a[i]=n.get(e.baseDim,r),a[1-i]=o,t.dataToPoint(a)}var g=n(8957),A=n(29668),v=n(5638),y=n(32322),O=n(48170),b=n(53364),w=n(6666),_=n(95235),x=n(41849),S=n(34833),k=n(89632),C=n(44532),B=n(69622),Q=n(83412),T=n(47698);function E(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return;return!0}}function P(e){for(var t=1/0,n=1/0,r=-1/0,o=-1/0,i=0;i<e.length;){var a=e[i++],s=e[i++];isNaN(a)||(t=Math.min(a,t),r=Math.max(a,r)),isNaN(s)||(n=Math.min(s,n),o=Math.max(s,o))}return[[t,n],[r,o]]}function $(e,t){var n=P(e),r=n[0],o=n[1],i=P(t),a=i[0],s=i[1];return Math.max(Math.abs(r[0]-a[0]),Math.abs(r[1]-a[1]),Math.abs(o[0]-s[0]),Math.abs(o[1]-s[1]))}function M(e){return u.isNumber(e)?e:e?.5:0}function z(e,t,n,r,o){var i=n.getBaseAxis(),a="x"===i.dim||"radius"===i.dim?0:1,s=[],l=0,c=[],u=[],d=[],f=[];if(o){for(l=0;l<e.length;l+=2){var h=t||e;isNaN(h[l])||isNaN(h[l+1])||f.push(e[l],e[l+1])}e=f}for(l=0;l<e.length-2;l+=2)switch(d[0]=e[l+2],d[1]=e[l+3],u[0]=e[l],u[1]=e[l+1],s.push(u[0],u[1]),r){case"end":c[a]=d[a],c[1-a]=u[1-a],s.push(c[0],c[1]);break;case"middle":var p=(u[a]+d[a])/2,m=[];c[a]=m[a]=p,c[1-a]=u[1-a],m[1-a]=d[1-a],s.push(c[0],c[1]),s.push(m[0],m[1]);break;default:c[a]=u[a],c[1-a]=d[1-a],s.push(c[0],c[1])}return s.push(e[l++],e[l++]),s}function R(e,t){return[e[2*t],e[2*t+1]]}function D(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<S.BV.length;t++)if(e.get([S.BV[t],"endLabel","show"]))return!0;return!1}function I(e,t,n,r){if((0,x.g)(t,"cartesian2d")){var o=r.getModel("endLabel"),i=o.get("valueAnimation"),a=r.getData(),s={lastFrameIndex:0},l=D(r)?function(n,r){e._endLabelOnDuring(n,r,a,s,i,o,t)}:null,c=t.getBaseAxis().isHorizontal(),u=(0,_.SM)(t,n,r,(function(){var t=e._endLabel;t&&n&&null!=s.originalX&&t.attr({x:s.originalX,y:s.originalY})}),l);if(!r.get("clip",!0)){var d=u.shape,f=Math.max(d.width,d.height);c?(d.y-=f,d.height+=2*f):(d.x-=f,d.width+=2*f)}return l&&l(1,u),u}return(0,_.Mi)(t,n,r)}var N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.init=function(){var e=new s.A,t=new d.A;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e,this._changePolyState=u.bind(this._changePolyState,this)},t.prototype.render=function(e,t,n){var r=e.coordinateSystem,o=this.group,i=e.getData(),a=e.getModel("lineStyle"),s=e.getModel("areaStyle"),l=i.getLayout("points")||[],c="polar"===r.type,d=this._coordSys,h=this._symbolDraw,y=this._polyline,O=this._polygon,b=this._lineGroup,w=!t.ssr&&e.get("animation"),_=!s.isEmpty(),x=s.get("origin"),k=p(r,i,x),C=_&&function(e,t,n){if(!n.valueDim)return[];for(var r=t.count(),o=(0,g.J)(2*r),i=0;i<r;i++){var a=m(n,e,t,i);o[2*i]=a[0],o[2*i+1]=a[1]}return o}(r,i,k),P=e.get("showSymbol"),$=e.get("connectNulls"),R=P&&!c&&function(e,t,n){var r=e.get("showAllSymbol"),o="auto"===r;if(!r||o){var i=n.getAxesByScale("ordinal")[0];if(i&&(!o||!function(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var o=t.count(),i=Math.max(1,Math.round(o/5)),a=0;a<o;a+=i)if(1.5*f.A.getSymbolSize(t,a)[e.isHorizontal()?1:0]>r)return!1;return!0}(i,t))){var a=t.mapDimension(i.dim),s={};return u.each(i.getViewLabels(),(function(e){var t=i.scale.getRawOrdinalNumber(e.tickValue);s[t]=1})),function(e){return!s.hasOwnProperty(t.get(a,e))}}}}(e,i,r),D=this._data;D&&D.eachItemGraphicEl((function(e,t){e.__temp&&(o.remove(e),D.setItemGraphicEl(t,null))})),P||h.remove(),o.add(b);var N,L=!c&&e.get("step");r&&r.getArea&&e.get("clip",!0)&&(null!=(N=r.getArea()).width?(N.x-=.1,N.y-=.1,N.width+=.2,N.height+=.2):N.r0&&(N.r0-=.5,N.r+=.5)),this._clipShapeForSymbol=N;var V=function(e,t,n){var r=e.getVisual("visualMeta");if(r&&r.length&&e.count()&&"cartesian2d"===t.type){for(var o,i,a=r.length-1;a>=0;a--){var s=e.getDimensionInfo(r[a].dimension);if("x"===(o=s&&s.coordDim)||"y"===o){i=r[a];break}}if(i){var l=t.getAxis(o),c=u.map(i.stops,(function(e){return{coord:l.toGlobalCoord(l.dataToCoord(e.value)),color:e.color}})),d=c.length,f=i.outerColors.slice();d&&c[0].coord>c[d-1].coord&&(c.reverse(),f.reverse());var h=function(e,t){var n,r,o=[],i=e.length;function a(e,t,n){var r=e.coord,o=(n-r)/(t.coord-r);return{coord:n,color:(0,T.lerp)(o,[e.color,t.color])}}for(var s=0;s<i;s++){var l=e[s],c=l.coord;if(c<0)n=l;else{if(c>t){r?o.push(a(r,l,t)):n&&o.push(a(n,l,0),a(n,l,t));break}n&&(o.push(a(n,l,0)),n=null),o.push(l),r=l}}return o}(c,"x"===o?n.getWidth():n.getHeight()),p=h.length;if(!p&&d)return c[0].coord<0?f[1]?f[1]:c[d-1].color:f[0]?f[0]:c[0].color;var m=h[0].coord-10,g=h[p-1].coord+10,v=g-m;if(v<.001)return"transparent";u.each(h,(function(e){e.offset=(e.coord-m)/v})),h.push({offset:p?h[p-1].offset:.5,color:f[1]||"transparent"}),h.unshift({offset:p?h[0].offset:.5,color:f[0]||"transparent"});var y=new A.A(0,0,0,0,h,!0);return y[o]=m,y[o+"2"]=g,y}}}(i,r,n)||i.getVisual("style")[i.getVisual("drawType")];if(y&&d.type===r.type&&L===this._step){_&&!O?O=this._newPolygon(l,C):O&&!_&&(b.remove(O),O=this._polygon=null),c||this._initOrUpdateEndLabel(e,r,(0,Q.he)(V));var U=b.getClipPath();if(U){var F=I(this,r,!1,e);v.LW(U,{shape:F.shape},e)}else b.setClipPath(I(this,r,!0,e));P&&h.updateData(i,{isIgnore:R,clipShape:N,disableAnimation:!0,getSymbolPoint:function(e){return[l[2*e],l[2*e+1]]}}),E(this._stackedOnPoints,C)&&E(this._points,l)||(w?this._doUpdateAnimation(i,C,r,n,L,x,$):(L&&(C&&(C=z(C,l,r,L,$)),l=z(l,null,r,L,$)),y.setShape({points:l}),O&&O.setShape({points:l,stackedOnPoints:C})))}else P&&h.updateData(i,{isIgnore:R,clipShape:N,disableAnimation:!0,getSymbolPoint:function(e){return[l[2*e],l[2*e+1]]}}),w&&this._initSymbolLabelAnimation(i,r,N),L&&(C&&(C=z(C,l,r,L,$)),l=z(l,null,r,L,$)),y=this._newPolyline(l),_?O=this._newPolygon(l,C):O&&(b.remove(O),O=this._polygon=null),c||this._initOrUpdateEndLabel(e,r,(0,Q.he)(V)),b.setClipPath(I(this,r,!0,e));var H=e.getModel("emphasis"),W=H.get("focus"),X=H.get("blurScope"),j=H.get("disabled");y.useStyle(u.defaults(a.getLineStyle(),{fill:"none",stroke:V,lineJoin:"bevel"})),(0,S.Mx)(y,e,"lineStyle"),y.style.lineWidth>0&&"bolder"===e.get(["emphasis","lineStyle","width"])&&(y.getState("emphasis").style.lineWidth=+y.style.lineWidth+1),(0,B.z)(y).seriesIndex=e.seriesIndex,(0,S.Lm)(y,W,X,j);var q=M(e.get("smooth")),Z=e.get("smoothMonotone");if(y.setShape({smooth:q,smoothMonotone:Z,connectNulls:$}),O){var Y=i.getCalculationInfo("stackedOnSeries"),G=0;O.useStyle(u.defaults(s.getAreaStyle(),{fill:V,opacity:.7,lineJoin:"bevel",decal:i.getVisual("style").decal})),Y&&(G=M(Y.get("smooth"))),O.setShape({smooth:q,stackedOnSmooth:G,smoothMonotone:Z,connectNulls:$}),(0,S.Mx)(O,e,"areaStyle"),(0,B.z)(O).seriesIndex=e.seriesIndex,(0,S.Lm)(O,W,X,j)}var K=this._changePolyState;i.eachItemGraphicEl((function(e){e&&(e.onHoverStateChange=K)})),this._polyline.onHoverStateChange=K,this._data=i,this._coordSys=r,this._stackedOnPoints=C,this._points=l,this._step=L,this._valueOrigin=x,e.get("triggerLineEvent")&&(this.packEventData(e,y),O&&this.packEventData(e,O))},t.prototype.packEventData=function(e,t){(0,B.z)(t).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,t,n,r){var o=e.getData(),i=O.le(o,r);if(this._changePolyState("emphasis"),!(i instanceof Array)&&null!=i&&i>=0){var a=o.getLayout("points"),s=o.getItemGraphicEl(i);if(!s){var l=a[2*i],c=a[2*i+1];if(isNaN(l)||isNaN(c))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,c))return;var u=e.get("zlevel")||0,d=e.get("z")||0;(s=new f.A(o,i)).x=l,s.y=c,s.setZ(u,d);var h=s.getSymbolPath().getTextContent();h&&(h.zlevel=u,h.z=d,h.z2=this._polyline.z2+1),s.__temp=!0,o.setItemGraphicEl(i,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else w.A.prototype.highlight.call(this,e,t,n,r)},t.prototype.downplay=function(e,t,n,r){var o=e.getData(),i=O.le(o,r);if(this._changePolyState("normal"),null!=i&&i>=0){var a=o.getItemGraphicEl(i);a&&(a.__temp?(o.setItemGraphicEl(i,null),this.group.remove(a)):a.downplay())}else w.A.prototype.downplay.call(this,e,t,n,r)},t.prototype._changePolyState=function(e){var t=this._polygon;(0,S.Pk)(this._polyline,e),t&&(0,S.Pk)(t,e)},t.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new b.N({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(t),this._polyline=t,t},t.prototype._newPolygon=function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new b.z({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},t.prototype._initSymbolLabelAnimation=function(e,t,n){var r,o,i=t.getBaseAxis(),a=i.inverse;"cartesian2d"===t.type?(r=i.isHorizontal(),o=!1):"polar"===t.type&&(r="angle"===i.dim,o=!0);var s=e.hostModel,l=s.get("animationDuration");u.isFunction(l)&&(l=l(null));var c=s.get("animationDelay")||0,d=u.isFunction(c)?c(null):c;e.eachItemGraphicEl((function(e,i){var s=e;if(s){var f=[e.x,e.y],h=void 0,p=void 0,m=void 0;if(n)if(o){var g=n,A=t.pointToCoord(f);r?(h=g.startAngle,p=g.endAngle,m=-A[1]/180*Math.PI):(h=g.r0,p=g.r,m=A[0])}else{var v=n;r?(h=v.x,p=v.x+v.width,m=e.x):(h=v.y+v.height,p=v.y,m=e.y)}var y=p===h?0:(m-h)/(p-h);a&&(y=1-y);var O=u.isFunction(c)?c(i):l*y+d,b=s.getSymbolPath(),w=b.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:O}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:O}),b.disableLabelAnimation=!0}}))},t.prototype._initOrUpdateEndLabel=function(e,t,n){var r=e.getModel("endLabel");if(D(e)){var o=e.getData(),i=this._polyline,a=o.getLayout("points");if(!a)return i.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new y.Ay({z2:200})).ignoreClip=!0,i.setTextContent(this._endLabel),i.disableLabelAnimation=!0);var l=function(e){for(var t,n,r=e.length/2;r>0&&(t=e[2*r-2],n=e[2*r-1],isNaN(t)||isNaN(n));r--);return r-1}(a);l>=0&&((0,k.qM)(i,(0,k.lx)(e,"endLabel"),{inheritColor:n,labelFetcher:e,labelDataIndex:l,defaultText:function(e,t,n){return null!=n?(0,C.T)(o,n):(0,C.i)(o,e)},enableTextSetter:!0},function(e,t){var n=t.getBaseAxis(),r=n.isHorizontal(),o=n.inverse,i=r?o?"right":"left":"center",a=r?"middle":o?"top":"bottom";return{normal:{align:e.get("align")||i,verticalAlign:e.get("verticalAlign")||a}}}(r,t)),i.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,t,n,r,o,i,a){var s=this._endLabel,l=this._polyline;if(s){e<1&&null==r.originalX&&(r.originalX=s.x,r.originalY=s.y);var c=n.getLayout("points"),u=n.hostModel,d=u.get("connectNulls"),f=i.get("precision"),h=i.get("distance")||0,p=a.getBaseAxis(),m=p.isHorizontal(),g=p.inverse,A=t.shape,v=g?m?A.x:A.y+A.height:m?A.x+A.width:A.y,y=(m?h:0)*(g?-1:1),b=(m?0:-h)*(g?-1:1),w=m?"x":"y",_=function(e,t,n){for(var r,o,i=e.length/2,a="x"===n?0:1,s=0,l=-1,c=0;c<i;c++)if(o=e[2*c+a],!isNaN(o)&&!isNaN(e[2*c+1-a]))if(0!==c){if(r<=t&&o>=t||r>=t&&o<=t){l=c;break}s=c,r=o}else r=o;return{range:[s,l],t:(t-r)/(o-r)}}(c,v,w),x=_.range,S=x[1]-x[0],C=void 0;if(S>=1){if(S>1&&!d){var B=R(c,x[0]);s.attr({x:B[0]+y,y:B[1]+b}),o&&(C=u.getRawValue(x[0]))}else{(B=l.getPointOn(v,w))&&s.attr({x:B[0]+y,y:B[1]+b});var Q=u.getRawValue(x[0]),T=u.getRawValue(x[1]);o&&(C=O.Il(n,f,Q,T,_.t))}r.lastFrameIndex=x[0]}else{var E=1===e||r.lastFrameIndex>0?x[0]:0;B=R(c,E),o&&(C=u.getRawValue(E)),s.attr({x:B[0]+y,y:B[1]+b})}if(o){var P=(0,k.Lu)(s);"function"==typeof P.setLabelText&&P.setLabelText(C)}}},t.prototype._doUpdateAnimation=function(e,t,n,r,o,i,a){var s=this._polyline,l=this._polygon,c=e.hostModel,u=function(e,t,n,r,o,i,a){for(var s=function(e,t){var n=[];return t.diff(e).add((function(e){n.push({cmd:"+",idx:e})})).update((function(e,t){n.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){n.push({cmd:"-",idx:e})})).execute(),n}(e,t),l=[],c=[],u=[],d=[],f=[],h=[],A=[],v=p(o,t,a),y=e.getLayout("points")||[],O=t.getLayout("points")||[],b=0;b<s.length;b++){var w=s[b],_=!0,x=void 0,S=void 0;switch(w.cmd){case"=":x=2*w.idx,S=2*w.idx1;var k=y[x],C=y[x+1],B=O[S],Q=O[S+1];(isNaN(k)||isNaN(C))&&(k=B,C=Q),l.push(k,C),c.push(B,Q),u.push(n[x],n[x+1]),d.push(r[S],r[S+1]),A.push(t.getRawIndex(w.idx1));break;case"+":var T=w.idx,E=v.dataDimsForPoint,P=o.dataToPoint([t.get(E[0],T),t.get(E[1],T)]);S=2*T,l.push(P[0],P[1]),c.push(O[S],O[S+1]);var $=m(v,o,t,T);u.push($[0],$[1]),d.push(r[S],r[S+1]),A.push(t.getRawIndex(T));break;case"-":_=!1}_&&(f.push(w),h.push(h.length))}h.sort((function(e,t){return A[e]-A[t]}));var M=l.length,z=(0,g.J)(M),R=(0,g.J)(M),D=(0,g.J)(M),I=(0,g.J)(M),N=[];for(b=0;b<h.length;b++){var L=h[b],V=2*b,U=2*L;z[V]=l[U],z[V+1]=l[U+1],R[V]=c[U],R[V+1]=c[U+1],D[V]=u[U],D[V+1]=u[U+1],I[V]=d[U],I[V+1]=d[U+1],N[b]=f[L]}return{current:z,next:R,stackedOnCurrent:D,stackedOnNext:I,status:N}}(this._data,e,this._stackedOnPoints,t,this._coordSys,0,this._valueOrigin),d=u.current,f=u.stackedOnCurrent,h=u.next,A=u.stackedOnNext;if(o&&(f=z(u.stackedOnCurrent,u.current,n,o,a),d=z(u.current,null,n,o,a),A=z(u.stackedOnNext,u.next,n,o,a),h=z(u.next,null,n,o,a)),$(d,h)>3e3||l&&$(f,A)>3e3)return s.stopAnimation(),s.setShape({points:h}),void(l&&(l.stopAnimation(),l.setShape({points:h,stackedOnPoints:A})));s.shape.__points=u.current,s.shape.points=d;var y={shape:{points:h}};u.current!==d&&(y.shape.__points=u.next),s.stopAnimation(),v.oi(s,y,c),l&&(l.setShape({points:d,stackedOnPoints:f}),l.stopAnimation(),v.oi(l,{shape:{stackedOnPoints:A}},c),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var O=[],b=u.status,w=0;w<b.length;w++)if("="===b[w].cmd){var _=e.getItemGraphicEl(b[w].idx1);_&&O.push({el:_,ptIdx:w})}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var e=s.shape.__points,t=0;t<O.length;t++){var n=O[t].el,r=2*O[t].ptIdx;n.x=e[r],n.y=e[r+1],n.markRedraw()}}))},t.prototype.remove=function(e){var t=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(e,r){e.__temp&&(t.remove(e),n.setItemGraphicEl(r,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(w.A),L=N,V=n(30682),U=n(37959);function F(e){e.registerChartView(L),e.registerSeriesModel(c),e.registerLayout((0,V.A)("line",!0)),e.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),n=e.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",n)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(0,U.A)("line"))}},63753:function(e,t){"use strict";t.A=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}},63982:function(e){var t=parseInt;e.exports=t},64117:function(e){"use strict";e.exports=function(e){return null==e}},64449:function(e,t,n){var r=n(41373),o=n(96430),i=n(74409);e.exports=function(e){var t,n={};return e&&i(e)&&o(e.split("&"),(function(e){t=e.split("="),n[r(t[0])]=r(t[1]||"")})),n}},64670:function(e,t,n){"use strict";n.d(t,{A:function(){return l}});var r=n(66318),o=n(37346),i=n(81094),a=n(1668),s=function(e,t){return function(e,t,n){for(var a=-1,s=t.length,l={};++a<s;){var c=t[a],u=(0,r.A)(e,c);n(u,c)&&(0,o.A)(l,(0,i.A)(c,e),u)}return l}(e,t,(function(t,n){return(0,a.A)(e,n)}))},l=(0,n(50416).A)((function(e,t){return null==e?{}:s(e,t)}))},64715:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(e){return e.getParam("insertdatetime_timeformat",e.translate("%H:%M:%S"))},n=function(e){return e.getParam("insertdatetime_formats",["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"])},r="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),o="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),i="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),a="January February March April May June July August September October November December".split(" "),s=function(e,t){if((e=""+e).length<t)for(var n=0;n<t-e.length;n++)e="0"+e;return e},l=function(e,t,n){return void 0===n&&(n=new Date),(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+n.getFullYear())).replace("%y",""+n.getYear())).replace("%m",s(n.getMonth()+1,2))).replace("%d",s(n.getDate(),2))).replace("%H",""+s(n.getHours(),2))).replace("%M",""+s(n.getMinutes(),2))).replace("%S",""+s(n.getSeconds(),2))).replace("%I",""+((n.getHours()+11)%12+1))).replace("%p",n.getHours()<12?"AM":"PM")).replace("%B",""+e.translate(a[n.getMonth()]))).replace("%b",""+e.translate(i[n.getMonth()]))).replace("%A",""+e.translate(o[n.getDay()]))).replace("%a",""+e.translate(r[n.getDay()]))).replace("%%","%")},c=function(e,t){if(function(e){return e.getParam("insertdatetime_element",!1)}(e)){var n,r=l(e,t);n=/%[HMSIp]/.test(t)?l(e,"%Y-%m-%dT%H:%M"):l(e,"%Y-%m-%d");var o=e.dom.getParent(e.selection.getStart(),"time");o?function(e,t,n,r){var o=e.dom.create("time",{datetime:n},r);t.parentNode.insertBefore(o,t),e.dom.remove(t),e.selection.select(o,!0),e.selection.collapse(!1)}(e,o,n,r):e.insertContent('<time datetime="'+n+'">'+r+"</time>")}else e.insertContent(l(e,t))},u=tinymce.util.Tools.resolve("tinymce.util.Tools");e.add("insertdatetime",(function(e){!function(e){e.addCommand("mceInsertDate",(function(t,n){c(e,null!=n?n:function(e){return e.getParam("insertdatetime_dateformat",e.translate("%Y-%m-%d"))}(e))})),e.addCommand("mceInsertTime",(function(n,r){c(e,null!=r?r:t(e))}))}(e),function(e){var r,o,i=n(e),a=(r=function(e){var r=n(e);return r.length>0?r[0]:t(e)}(e),o=r,{get:function(){return o},set:function(e){o=e}}),s=function(t){return e.execCommand("mceInsertDate",!1,t)};e.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:function(e){return e===a.get()},fetch:function(t){t(u.map(i,(function(t){return{type:"choiceitem",text:l(e,t),value:t}})))},onAction:function(e){s(a.get())},onItemAction:function(e,t){a.set(t),s(t)}});var c=function(e){return function(){a.set(e),s(e)}};e.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:function(){return u.map(i,(function(t){return{type:"menuitem",text:l(e,t),onAction:c(t)}}))}})}(e)}))}()},64769:function(e,t,n){"use strict";n.d(t,{GU:function(){return o},PZ:function(){return a},WM:function(){return s},_u:function(){return i}});var r=n(90033);const o=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(null!=t?t:{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},i=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),a=(e,t)=>(e.install=n=>{n.directive(t,e)},e),s=e=>(e.install=r.tE,e)},64979:function(e,t,n){"use strict";var r=n(46518),o=n(44576),i=n(97751),a=n(6980),s=n(24913).f,l=n(39297),c=n(90679),u=n(23167),d=n(32603),f=n(55002),h=n(38574),p=n(43724),m=n(96395),g="DOMException",A=i("Error"),v=i(g),y=function(){c(this,O);var e=arguments.length,t=d(e<1?void 0:arguments[0]),n=d(e<2?void 0:arguments[1],"Error"),r=new v(t,n),o=new A(t);return o.name=g,s(r,"stack",a(1,h(o.stack,1))),u(r,this,y),r},O=y.prototype=v.prototype,b="stack"in new A(g),w="stack"in new v(1,2),_=v&&p&&Object.getOwnPropertyDescriptor(o,g),x=!(!_||_.writable&&_.configurable),S=b&&!x&&!w;r({global:!0,constructor:!0,forced:m||S},{DOMException:S?y:v});var k=i(g),C=k.prototype;if(C.constructor!==k)for(var B in m||s(C,"constructor",a(1,k)),f)if(l(f,B)){var Q=f[B],T=Q.s;l(k,T)||s(k,T,a(6,Q.c))}},65008:function(e,t,n){"use strict";n.d(t,{iJ:function(){return i},me:function(){return s},sJ:function(){return a}});var r=n(98026),o=n(73632);function i(e,t,n){var i,a,s,l=(n=n||{}).byIndex,c=n.stackedCoordDimension;!function(e){return!(0,o.fg)(e.schema)}(t)?(a=t.schema,i=a.dimensions,s=t.store):i=t;var u,d,f,h,p=!(!e||!e.get("stack"));if((0,r.each)(i,(function(e,t){(0,r.isString)(e)&&(i[t]=e={name:e}),p&&!e.isExtraCoord&&(l||u||!e.ordinalMeta||(u=e),d||"ordinal"===e.type||"time"===e.type||c&&c!==e.coordDim||(d=e))})),!d||l||u||(l=!0),d){f="__\0ecstackresult_"+e.id,h="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var m=d.coordDim,g=d.type,A=0;(0,r.each)(i,(function(e){e.coordDim===m&&A++}));var v={name:f,coordDim:m,coordDimIndex:A,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},y={name:h,coordDim:h,coordDimIndex:A+1,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};a?(s&&(v.storeDimIndex=s.ensureCalculationDimension(h,g),y.storeDimIndex=s.ensureCalculationDimension(f,g)),a.appendCalculationDimension(v),a.appendCalculationDimension(y)):(i.push(v),i.push(y))}return{stackedDimension:d&&d.name,stackedByDimension:u&&u.name,isStackedByIndex:l,stackedOverDimension:h,stackResultDimension:f}}function a(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function s(e,t){return a(e,t)?e.getCalculationInfo("stackResultDimension"):t}},65114:function(e,t,n){var r=n(50288),o=n(6060),i=n(79135),a=n(2121),s=n(91944),l=n(2801);e.exports=function(e){return l(e)?"null":r(e)?"symbol":o(e)?"date":i(e)?"array":a(e)?"regexp":s(e)?"error":typeof e}},65571:function(e,t,n){var r=7*n(21323);e.exports=r},65643:function(e){e.exports=function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){var r,i,a;r=t,i=e,a=o[e],(i=n(i))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function n(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e)||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.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s="undefined"!=typeof window&&void 0!==window.document,l=s?window:{},c=!(!s||!l.document.documentElement)&&"ontouchstart"in l.document.documentElement,u=!!s&&"PointerEvent"in l,d="cropper",f="all",h="crop",p="move",m="zoom",g="e",A="w",v="s",y="n",O="ne",b="nw",w="se",_="sw",x="".concat(d,"-crop"),S="".concat(d,"-disabled"),k="".concat(d,"-hidden"),C="".concat(d,"-hide"),B="".concat(d,"-invisible"),Q="".concat(d,"-modal"),T="".concat(d,"-move"),E="".concat(d,"Action"),P="".concat(d,"Preview"),$="crop",M="move",z="none",R="crop",D="cropend",I="cropmove",N="cropstart",L="dblclick",V=u?"pointerdown":c?"touchstart":"mousedown",U=u?"pointermove":c?"touchmove":"mousemove",F=u?"pointerup pointercancel":c?"touchend touchcancel":"mouseup",H="ready",W="resize",X="wheel",j="zoom",q="image/jpeg",Z=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,Y=/^data:/,G=/^data:image\/jpeg;base64,/,K=/^img|canvas$/i,J={viewMode:0,dragMode:$,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},ee=Number.isNaN||l.isNaN;function te(e){return"number"==typeof e&&!ee(e)}var ne=function(e){return e>0&&e<1/0};function re(e){return void 0===e}function oe(e){return"object"===r(e)&&null!==e}var ie=Object.prototype.hasOwnProperty;function ae(e){if(!oe(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&ie.call(n,"isPrototypeOf")}catch(e){return!1}}function se(e){return"function"==typeof e}var le=Array.prototype.slice;function ce(e){return Array.from?Array.from(e):le.call(e)}function ue(e,t){return e&&se(t)&&(Array.isArray(e)||te(e.length)?ce(e).forEach((function(n,r){t.call(e,n,r,e)})):oe(e)&&Object.keys(e).forEach((function(n){t.call(e,e[n],n,e)}))),e}var de=Object.assign||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return oe(e)&&n.length>0&&n.forEach((function(t){oe(t)&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e},fe=/\.\d*(?:0|9){12}\d*$/;function he(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return fe.test(e)?Math.round(e*t)/t:e}var pe=/^width|height|left|top|marginLeft|marginTop$/;function me(e,t){var n=e.style;ue(t,(function(e,t){pe.test(t)&&te(e)&&(e="".concat(e,"px")),n[t]=e}))}function ge(e,t){if(t)if(te(e.length))ue(e,(function(e){ge(e,t)}));else if(e.classList)e.classList.add(t);else{var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function Ae(e,t){t&&(te(e.length)?ue(e,(function(e){Ae(e,t)})):e.classList?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,"")))}function ve(e,t,n){t&&(te(e.length)?ue(e,(function(e){ve(e,t,n)})):n?ge(e,t):Ae(e,t))}var ye=/([a-z\d])([A-Z])/g;function Oe(e){return e.replace(ye,"$1-$2").toLowerCase()}function be(e,t){return oe(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(Oe(t)))}function we(e,t,n){oe(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(Oe(t)),n)}var _e=/\s\s*/,xe=function(){var e=!1;if(s){var t=!1,n=function(){},r=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});l.addEventListener("test",n,r),l.removeEventListener("test",n,r)}return e}();function Se(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n;t.trim().split(_e).forEach((function(t){if(!xe){var i=e.listeners;i&&i[t]&&i[t][n]&&(o=i[t][n],delete i[t][n],0===Object.keys(i[t]).length&&delete i[t],0===Object.keys(i).length&&delete e.listeners)}e.removeEventListener(t,o,r)}))}function ke(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n;t.trim().split(_e).forEach((function(t){if(r.once&&!xe){var i=e.listeners,a=void 0===i?{}:i;o=function(){delete a[t][n],e.removeEventListener(t,o,r);for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];n.apply(e,s)},a[t]||(a[t]={}),a[t][n]&&e.removeEventListener(t,a[t][n],r),a[t][n]=o,e.listeners=a}e.addEventListener(t,o,r)}))}function Ce(e,t,n){var r;return se(Event)&&se(CustomEvent)?r=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0}):(r=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,n),e.dispatchEvent(r)}function Be(e){var t=e.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}var Qe=l.location,Te=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function Ee(e){var t=e.match(Te);return null!==t&&(t[1]!==Qe.protocol||t[2]!==Qe.hostname||t[3]!==Qe.port)}function Pe(e){var t="timestamp=".concat((new Date).getTime());return e+(-1===e.indexOf("?")?"?":"&")+t}function $e(e){var t=e.rotate,n=e.scaleX,r=e.scaleY,o=e.translateX,i=e.translateY,a=[];te(o)&&0!==o&&a.push("translateX(".concat(o,"px)")),te(i)&&0!==i&&a.push("translateY(".concat(i,"px)")),te(t)&&0!==t&&a.push("rotate(".concat(t,"deg)")),te(n)&&1!==n&&a.push("scaleX(".concat(n,")")),te(r)&&1!==r&&a.push("scaleY(".concat(r,")"));var s=a.length?a.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}function Me(e,n){var r=e.pageX,o=e.pageY,i={endX:r,endY:o};return n?i:t({startX:r,startY:o},i)}function ze(e){var t=e.aspectRatio,n=e.height,r=e.width,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"contain",i=ne(r),a=ne(n);if(i&&a){var s=n*t;"contain"===o&&s>r||"cover"===o&&s<r?n=r/t:r=n*t}else i?n=r/t:a&&(r=n*t);return{width:r,height:n}}var Re=String.fromCharCode;var De=/^data:.*,/;function Ie(e){var t,n=new DataView(e);try{var r,o,i;if(255===n.getUint8(0)&&216===n.getUint8(1))for(var a=n.byteLength,s=2;s+1<a;){if(255===n.getUint8(s)&&225===n.getUint8(s+1)){o=s;break}s+=1}if(o){var l=o+10;if("Exif"===function(e,t,n){var r="";n+=t;for(var o=t;o<n;o+=1)r+=Re(e.getUint8(o));return r}(n,o+4,4)){var c=n.getUint16(l);if(((r=18761===c)||19789===c)&&42===n.getUint16(l+2,r)){var u=n.getUint32(l+4,r);u>=8&&(i=l+u)}}}if(i){var d,f,h=n.getUint16(i,r);for(f=0;f<h;f+=1)if(d=i+12*f+2,274===n.getUint16(d,r)){d+=8,t=n.getUint16(d,r),n.setUint16(d,1,r);break}}}catch(e){t=1}return t}var Ne={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var e=this.element,t=this.options,n=this.container,r=this.cropper,o=Number(t.minContainerWidth),i=Number(t.minContainerHeight);ge(r,k),Ae(e,k);var a={width:Math.max(n.offsetWidth,o>=0?o:200),height:Math.max(n.offsetHeight,i>=0?i:100)};this.containerData=a,me(r,{width:a.width,height:a.height}),ge(e,k),Ae(r,k)},initCanvas:function(){var e=this.containerData,t=this.imageData,n=this.options.viewMode,r=Math.abs(t.rotate)%180==90,o=r?t.naturalHeight:t.naturalWidth,i=r?t.naturalWidth:t.naturalHeight,a=o/i,s=e.width,l=e.height;e.height*a>e.width?3===n?s=e.height*a:l=e.width/a:3===n?l=e.width/a:s=e.height*a;var c={aspectRatio:a,naturalWidth:o,naturalHeight:i,width:s,height:l};this.canvasData=c,this.limited=1===n||2===n,this.limitCanvas(!0,!0),c.width=Math.min(Math.max(c.width,c.minWidth),c.maxWidth),c.height=Math.min(Math.max(c.height,c.minHeight),c.maxHeight),c.left=(e.width-c.width)/2,c.top=(e.height-c.height)/2,c.oldLeft=c.left,c.oldTop=c.top,this.initialCanvasData=de({},c)},limitCanvas:function(e,t){var n=this.options,r=this.containerData,o=this.canvasData,i=this.cropBoxData,a=n.viewMode,s=o.aspectRatio,l=this.cropped&&i;if(e){var c=Number(n.minCanvasWidth)||0,u=Number(n.minCanvasHeight)||0;a>1?(c=Math.max(c,r.width),u=Math.max(u,r.height),3===a&&(u*s>c?c=u*s:u=c/s)):a>0&&(c?c=Math.max(c,l?i.width:0):u?u=Math.max(u,l?i.height:0):l&&(c=i.width,(u=i.height)*s>c?c=u*s:u=c/s));var d=ze({aspectRatio:s,width:c,height:u});c=d.width,u=d.height,o.minWidth=c,o.minHeight=u,o.maxWidth=1/0,o.maxHeight=1/0}if(t)if(a>(l?0:1)){var f=r.width-o.width,h=r.height-o.height;o.minLeft=Math.min(0,f),o.minTop=Math.min(0,h),o.maxLeft=Math.max(0,f),o.maxTop=Math.max(0,h),l&&this.limited&&(o.minLeft=Math.min(i.left,i.left+(i.width-o.width)),o.minTop=Math.min(i.top,i.top+(i.height-o.height)),o.maxLeft=i.left,o.maxTop=i.top,2===a&&(o.width>=r.width&&(o.minLeft=Math.min(0,f),o.maxLeft=Math.max(0,f)),o.height>=r.height&&(o.minTop=Math.min(0,h),o.maxTop=Math.max(0,h))))}else o.minLeft=-o.width,o.minTop=-o.height,o.maxLeft=r.width,o.maxTop=r.height},renderCanvas:function(e,t){var n=this.canvasData,r=this.imageData;if(t){var o=function(e){var t=e.width,n=e.height,r=e.degree;if(90==(r=Math.abs(r)%180))return{width:n,height:t};var o=r%90*Math.PI/180,i=Math.sin(o),a=Math.cos(o),s=t*a+n*i,l=t*i+n*a;return r>90?{width:l,height:s}:{width:s,height:l}}({width:r.naturalWidth*Math.abs(r.scaleX||1),height:r.naturalHeight*Math.abs(r.scaleY||1),degree:r.rotate||0}),i=o.width,a=o.height,s=n.width*(i/n.naturalWidth),l=n.height*(a/n.naturalHeight);n.left-=(s-n.width)/2,n.top-=(l-n.height)/2,n.width=s,n.height=l,n.aspectRatio=i/a,n.naturalWidth=i,n.naturalHeight=a,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCanvas(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,me(this.canvas,de({width:n.width,height:n.height},$e({translateX:n.left,translateY:n.top}))),this.renderImage(e),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(e){var t=this.canvasData,n=this.imageData,r=n.naturalWidth*(t.width/t.naturalWidth),o=n.naturalHeight*(t.height/t.naturalHeight);de(n,{width:r,height:o,left:(t.width-r)/2,top:(t.height-o)/2}),me(this.image,de({width:n.width,height:n.height},$e(de({translateX:n.left,translateY:n.top},n)))),e&&this.output()},initCropBox:function(){var e=this.options,t=this.canvasData,n=e.aspectRatio||e.initialAspectRatio,r=Number(e.autoCropArea)||.8,o={width:t.width,height:t.height};n&&(t.height*n>t.width?o.height=o.width/n:o.width=o.height*n),this.cropBoxData=o,this.limitCropBox(!0,!0),o.width=Math.min(Math.max(o.width,o.minWidth),o.maxWidth),o.height=Math.min(Math.max(o.height,o.minHeight),o.maxHeight),o.width=Math.max(o.minWidth,o.width*r),o.height=Math.max(o.minHeight,o.height*r),o.left=t.left+(t.width-o.width)/2,o.top=t.top+(t.height-o.height)/2,o.oldLeft=o.left,o.oldTop=o.top,this.initialCropBoxData=de({},o)},limitCropBox:function(e,t){var n=this.options,r=this.containerData,o=this.canvasData,i=this.cropBoxData,a=this.limited,s=n.aspectRatio;if(e){var l=Number(n.minCropBoxWidth)||0,c=Number(n.minCropBoxHeight)||0,u=a?Math.min(r.width,o.width,o.width+o.left,r.width-o.left):r.width,d=a?Math.min(r.height,o.height,o.height+o.top,r.height-o.top):r.height;l=Math.min(l,r.width),c=Math.min(c,r.height),s&&(l&&c?c*s>l?c=l/s:l=c*s:l?c=l/s:c&&(l=c*s),d*s>u?d=u/s:u=d*s),i.minWidth=Math.min(l,u),i.minHeight=Math.min(c,d),i.maxWidth=u,i.maxHeight=d}t&&(a?(i.minLeft=Math.max(0,o.left),i.minTop=Math.max(0,o.top),i.maxLeft=Math.min(r.width,o.left+o.width)-i.width,i.maxTop=Math.min(r.height,o.top+o.height)-i.height):(i.minLeft=0,i.minTop=0,i.maxLeft=r.width-i.width,i.maxTop=r.height-i.height))},renderCropBox:function(){var e=this.options,t=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCropBox(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,e.movable&&e.cropBoxMovable&&we(this.face,E,n.width>=t.width&&n.height>=t.height?p:f),me(this.cropBox,de({width:n.width,height:n.height},$e({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),Ce(this.element,R,this.getData())}},Le={initPreview:function(){var e=this.element,t=this.crossOrigin,n=this.options.preview,r=t?this.crossOriginUrl:this.url,o=e.alt||"The image to preview",i=document.createElement("img");if(t&&(i.crossOrigin=t),i.src=r,i.alt=o,this.viewBox.appendChild(i),this.viewBoxImage=i,n){var a=n;"string"==typeof n?a=e.ownerDocument.querySelectorAll(n):n.querySelector&&(a=[n]),this.previews=a,ue(a,(function(e){var n=document.createElement("img");we(e,P,{width:e.offsetWidth,height:e.offsetHeight,html:e.innerHTML}),t&&(n.crossOrigin=t),n.src=r,n.alt=o,n.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',e.innerHTML="",e.appendChild(n)}))}},resetPreview:function(){ue(this.previews,(function(e){var t=be(e,P);me(e,{width:t.width,height:t.height}),e.innerHTML=t.html,function(e,t){if(oe(e[t]))try{delete e[t]}catch(n){e[t]=void 0}else if(e.dataset)try{delete e.dataset[t]}catch(n){e.dataset[t]=void 0}else e.removeAttribute("data-".concat(Oe(t)))}(e,P)}))},preview:function(){var e=this.imageData,t=this.canvasData,n=this.cropBoxData,r=n.width,o=n.height,i=e.width,a=e.height,s=n.left-t.left-e.left,l=n.top-t.top-e.top;this.cropped&&!this.disabled&&(me(this.viewBoxImage,de({width:i,height:a},$e(de({translateX:-s,translateY:-l},e)))),ue(this.previews,(function(t){var n=be(t,P),c=n.width,u=n.height,d=c,f=u,h=1;r&&(f=o*(h=c/r)),o&&f>u&&(d=r*(h=u/o),f=u),me(t,{width:d,height:f}),me(t.getElementsByTagName("img")[0],de({width:i*h,height:a*h},$e(de({translateX:-s*h,translateY:-l*h},e))))})))}},Ve={bind:function(){var e=this.element,t=this.options,n=this.cropper;se(t.cropstart)&&ke(e,N,t.cropstart),se(t.cropmove)&&ke(e,I,t.cropmove),se(t.cropend)&&ke(e,D,t.cropend),se(t.crop)&&ke(e,R,t.crop),se(t.zoom)&&ke(e,j,t.zoom),ke(n,V,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&ke(n,X,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&ke(n,L,this.onDblclick=this.dblclick.bind(this)),ke(e.ownerDocument,U,this.onCropMove=this.cropMove.bind(this)),ke(e.ownerDocument,F,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&ke(window,W,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,n=this.cropper;se(t.cropstart)&&Se(e,N,t.cropstart),se(t.cropmove)&&Se(e,I,t.cropmove),se(t.cropend)&&Se(e,D,t.cropend),se(t.crop)&&Se(e,R,t.crop),se(t.zoom)&&Se(e,j,t.zoom),Se(n,V,this.onCropStart),t.zoomable&&t.zoomOnWheel&&Se(n,X,this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&Se(n,L,this.onDblclick),Se(e.ownerDocument,U,this.onCropMove),Se(e.ownerDocument,F,this.onCropEnd),t.responsive&&Se(window,W,this.onResize)}},Ue={resize:function(){if(!this.disabled){var e,t,n=this.options,r=this.container,o=this.containerData,i=r.offsetWidth/o.width,a=r.offsetHeight/o.height,s=Math.abs(i-1)>Math.abs(a-1)?i:a;1!==s&&(n.restore&&(e=this.getCanvasData(),t=this.getCropBoxData()),this.render(),n.restore&&(this.setCanvasData(ue(e,(function(t,n){e[n]=t*s}))),this.setCropBoxData(ue(t,(function(e,n){t[n]=e*s})))))}},dblclick:function(){var e,t;this.disabled||this.options.dragMode===z||this.setDragMode((e=this.dragBox,t=x,(e.classList?e.classList.contains(t):e.className.indexOf(t)>-1)?M:$))},wheel:function(e){var t=this,n=Number(this.options.wheelZoomRatio)||.1,r=1;this.disabled||(e.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout((function(){t.wheeling=!1}),50),e.deltaY?r=e.deltaY>0?1:-1:e.wheelDelta?r=-e.wheelDelta/120:e.detail&&(r=e.detail>0?1:-1),this.zoom(-r*n,e)))},cropStart:function(e){var t=e.buttons,n=e.button;if(!(this.disabled||("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&(te(t)&&1!==t||te(n)&&0!==n||e.ctrlKey))){var r,o=this.options,i=this.pointers;e.changedTouches?ue(e.changedTouches,(function(e){i[e.identifier]=Me(e)})):i[e.pointerId||0]=Me(e),r=Object.keys(i).length>1&&o.zoomable&&o.zoomOnTouch?m:be(e.target,E),Z.test(r)&&!1!==Ce(this.element,N,{originalEvent:e,action:r})&&(e.preventDefault(),this.action=r,this.cropping=!1,r===h&&(this.cropping=!0,ge(this.dragBox,Q)))}},cropMove:function(e){var t=this.action;if(!this.disabled&&t){var n=this.pointers;e.preventDefault(),!1!==Ce(this.element,I,{originalEvent:e,action:t})&&(e.changedTouches?ue(e.changedTouches,(function(e){de(n[e.identifier]||{},Me(e,!0))})):de(n[e.pointerId||0]||{},Me(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,n=this.pointers;e.changedTouches?ue(e.changedTouches,(function(e){delete n[e.identifier]})):delete n[e.pointerId||0],t&&(e.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,ve(this.dragBox,Q,this.cropped&&this.options.modal)),Ce(this.element,D,{originalEvent:e,action:t}))}}},Fe={change:function(e){var n,r=this.options,o=this.canvasData,i=this.containerData,a=this.cropBoxData,s=this.pointers,l=this.action,c=r.aspectRatio,u=a.left,d=a.top,x=a.width,S=a.height,C=u+x,B=d+S,Q=0,T=0,E=i.width,P=i.height,$=!0;!c&&e.shiftKey&&(c=x&&S?x/S:1),this.limited&&(Q=a.minLeft,T=a.minTop,E=Q+Math.min(i.width,o.width,o.left+o.width),P=T+Math.min(i.height,o.height,o.top+o.height));var M=s[Object.keys(s)[0]],z={x:M.endX-M.startX,y:M.endY-M.startY},R=function(e){switch(e){case g:C+z.x>E&&(z.x=E-C);break;case A:u+z.x<Q&&(z.x=Q-u);break;case y:d+z.y<T&&(z.y=T-d);break;case v:B+z.y>P&&(z.y=P-B)}};switch(l){case f:u+=z.x,d+=z.y;break;case g:if(z.x>=0&&(C>=E||c&&(d<=T||B>=P))){$=!1;break}R(g),(x+=z.x)<0&&(l=A,u-=x=-x),c&&(S=x/c,d+=(a.height-S)/2);break;case y:if(z.y<=0&&(d<=T||c&&(u<=Q||C>=E))){$=!1;break}R(y),S-=z.y,d+=z.y,S<0&&(l=v,d-=S=-S),c&&(x=S*c,u+=(a.width-x)/2);break;case A:if(z.x<=0&&(u<=Q||c&&(d<=T||B>=P))){$=!1;break}R(A),x-=z.x,u+=z.x,x<0&&(l=g,u-=x=-x),c&&(S=x/c,d+=(a.height-S)/2);break;case v:if(z.y>=0&&(B>=P||c&&(u<=Q||C>=E))){$=!1;break}R(v),(S+=z.y)<0&&(l=y,d-=S=-S),c&&(x=S*c,u+=(a.width-x)/2);break;case O:if(c){if(z.y<=0&&(d<=T||C>=E)){$=!1;break}R(y),S-=z.y,d+=z.y,x=S*c}else R(y),R(g),z.x>=0?C<E?x+=z.x:z.y<=0&&d<=T&&($=!1):x+=z.x,z.y<=0?d>T&&(S-=z.y,d+=z.y):(S-=z.y,d+=z.y);x<0&&S<0?(l=_,d-=S=-S,u-=x=-x):x<0?(l=b,u-=x=-x):S<0&&(l=w,d-=S=-S);break;case b:if(c){if(z.y<=0&&(d<=T||u<=Q)){$=!1;break}R(y),S-=z.y,d+=z.y,x=S*c,u+=a.width-x}else R(y),R(A),z.x<=0?u>Q?(x-=z.x,u+=z.x):z.y<=0&&d<=T&&($=!1):(x-=z.x,u+=z.x),z.y<=0?d>T&&(S-=z.y,d+=z.y):(S-=z.y,d+=z.y);x<0&&S<0?(l=w,d-=S=-S,u-=x=-x):x<0?(l=O,u-=x=-x):S<0&&(l=_,d-=S=-S);break;case _:if(c){if(z.x<=0&&(u<=Q||B>=P)){$=!1;break}R(A),x-=z.x,u+=z.x,S=x/c}else R(v),R(A),z.x<=0?u>Q?(x-=z.x,u+=z.x):z.y>=0&&B>=P&&($=!1):(x-=z.x,u+=z.x),z.y>=0?B<P&&(S+=z.y):S+=z.y;x<0&&S<0?(l=O,d-=S=-S,u-=x=-x):x<0?(l=w,u-=x=-x):S<0&&(l=b,d-=S=-S);break;case w:if(c){if(z.x>=0&&(C>=E||B>=P)){$=!1;break}R(g),S=(x+=z.x)/c}else R(v),R(g),z.x>=0?C<E?x+=z.x:z.y>=0&&B>=P&&($=!1):x+=z.x,z.y>=0?B<P&&(S+=z.y):S+=z.y;x<0&&S<0?(l=b,d-=S=-S,u-=x=-x):x<0?(l=_,u-=x=-x):S<0&&(l=O,d-=S=-S);break;case p:this.move(z.x,z.y),$=!1;break;case m:this.zoom(function(e){var n=t({},e),r=0;return ue(e,(function(e,t){delete n[t],ue(n,(function(t){var n=Math.abs(e.startX-t.startX),o=Math.abs(e.startY-t.startY),i=Math.abs(e.endX-t.endX),a=Math.abs(e.endY-t.endY),s=Math.sqrt(n*n+o*o),l=(Math.sqrt(i*i+a*a)-s)/s;Math.abs(l)>Math.abs(r)&&(r=l)}))})),r}(s),e),$=!1;break;case h:if(!z.x||!z.y){$=!1;break}n=Be(this.cropper),u=M.startX-n.left,d=M.startY-n.top,x=a.minWidth,S=a.minHeight,z.x>0?l=z.y>0?w:O:z.x<0&&(u-=x,l=z.y>0?_:b),z.y<0&&(d-=S),this.cropped||(Ae(this.cropBox,k),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}$&&(a.width=x,a.height=S,a.left=u,a.top=d,this.action=l,this.renderCropBox()),ue(s,(function(e){e.startX=e.endX,e.startY=e.endY}))}},He={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&ge(this.dragBox,Q),Ae(this.cropBox,k),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=de({},this.initialImageData),this.canvasData=de({},this.initialCanvasData),this.cropBoxData=de({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(de(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Ae(this.dragBox,Q),ge(this.cropBox,k)),this},replace:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,ue(this.previews,(function(t){t.getElementsByTagName("img")[0].src=e})))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Ae(this.cropper,S)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,ge(this.cropper,S)),this},destroy:function(){var e=this.element;return e[d]?(e[d]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.canvasData,r=n.left,o=n.top;return this.moveTo(re(e)?e:r+Number(e),re(t)?t:o+Number(t))},moveTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.canvasData,r=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(te(e)&&(n.left=e,r=!0),te(t)&&(n.top=t,r=!0),r&&this.renderCanvas(!0)),this},zoom:function(e,t){var n=this.canvasData;return e=(e=Number(e))<0?1/(1-e):1+e,this.zoomTo(n.width*e/n.naturalWidth,null,t)},zoomTo:function(e,t,n){var r=this.options,o=this.canvasData,i=o.width,a=o.height,s=o.naturalWidth,l=o.naturalHeight;if((e=Number(e))>=0&&this.ready&&!this.disabled&&r.zoomable){var c=s*e,u=l*e;if(!1===Ce(this.element,j,{ratio:e,oldRatio:i/s,originalEvent:n}))return this;if(n){var d=this.pointers,f=Be(this.cropper),h=d&&Object.keys(d).length?function(e){var t=0,n=0,r=0;return ue(e,(function(e){var o=e.startX,i=e.startY;t+=o,n+=i,r+=1})),{pageX:t/=r,pageY:n/=r}}(d):{pageX:n.pageX,pageY:n.pageY};o.left-=(c-i)*((h.pageX-f.left-o.left)/i),o.top-=(u-a)*((h.pageY-f.top-o.top)/a)}else ae(t)&&te(t.x)&&te(t.y)?(o.left-=(c-i)*((t.x-o.left)/i),o.top-=(u-a)*((t.y-o.top)/a)):(o.left-=(c-i)/2,o.top-=(u-a)/2);o.width=c,o.height=u,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return te(e=Number(e))&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,te(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(te(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.imageData,r=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(te(e)&&(n.scaleX=e,r=!0),te(t)&&(n.scaleY=t,r=!0),r&&this.renderCanvas(!0,!0)),this},getData:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.options,r=this.imageData,o=this.canvasData,i=this.cropBoxData;if(this.ready&&this.cropped){e={x:i.left-o.left,y:i.top-o.top,width:i.width,height:i.height};var a=r.width/r.naturalWidth;if(ue(e,(function(t,n){e[n]=t/a})),t){var s=Math.round(e.y+e.height),l=Math.round(e.x+e.width);e.x=Math.round(e.x),e.y=Math.round(e.y),e.width=l-e.x,e.height=s-e.y}}else e={x:0,y:0,width:0,height:0};return n.rotatable&&(e.rotate=r.rotate||0),n.scalable&&(e.scaleX=r.scaleX||1,e.scaleY=r.scaleY||1),e},setData:function(e){var t=this.options,n=this.imageData,r=this.canvasData,o={};if(this.ready&&!this.disabled&&ae(e)){var i=!1;t.rotatable&&te(e.rotate)&&e.rotate!==n.rotate&&(n.rotate=e.rotate,i=!0),t.scalable&&(te(e.scaleX)&&e.scaleX!==n.scaleX&&(n.scaleX=e.scaleX,i=!0),te(e.scaleY)&&e.scaleY!==n.scaleY&&(n.scaleY=e.scaleY,i=!0)),i&&this.renderCanvas(!0,!0);var a=n.width/n.naturalWidth;te(e.x)&&(o.left=e.x*a+r.left),te(e.y)&&(o.top=e.y*a+r.top),te(e.width)&&(o.width=e.width*a),te(e.height)&&(o.height=e.height*a),this.setCropBoxData(o)}return this},getContainerData:function(){return this.ready?de({},this.containerData):{}},getImageData:function(){return this.sized?de({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&ue(["left","top","width","height","naturalWidth","naturalHeight"],(function(n){t[n]=e[n]})),t},setCanvasData:function(e){var t=this.canvasData,n=t.aspectRatio;return this.ready&&!this.disabled&&ae(e)&&(te(e.left)&&(t.left=e.left),te(e.top)&&(t.top=e.top),te(e.width)?(t.width=e.width,t.height=e.width/n):te(e.height)&&(t.height=e.height,t.width=e.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var e,t=this.cropBoxData;return this.ready&&this.cropped&&(e={left:t.left,top:t.top,width:t.width,height:t.height}),e||{}},setCropBoxData:function(e){var t,n,r=this.cropBoxData,o=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&ae(e)&&(te(e.left)&&(r.left=e.left),te(e.top)&&(r.top=e.top),te(e.width)&&e.width!==r.width&&(t=!0,r.width=e.width),te(e.height)&&e.height!==r.height&&(n=!0,r.height=e.height),o&&(t?r.height=r.width/o:n&&(r.width=r.height*o)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,n=function(e,t,n,r){var o=t.aspectRatio,a=t.naturalWidth,s=t.naturalHeight,l=t.rotate,c=void 0===l?0:l,u=t.scaleX,d=void 0===u?1:u,f=t.scaleY,h=void 0===f?1:f,p=n.aspectRatio,m=n.naturalWidth,g=n.naturalHeight,A=r.fillColor,v=void 0===A?"transparent":A,y=r.imageSmoothingEnabled,O=void 0===y||y,b=r.imageSmoothingQuality,w=void 0===b?"low":b,_=r.maxWidth,x=void 0===_?1/0:_,S=r.maxHeight,k=void 0===S?1/0:S,C=r.minWidth,B=void 0===C?0:C,Q=r.minHeight,T=void 0===Q?0:Q,E=document.createElement("canvas"),P=E.getContext("2d"),$=ze({aspectRatio:p,width:x,height:k}),M=ze({aspectRatio:p,width:B,height:T},"cover"),z=Math.min($.width,Math.max(M.width,m)),R=Math.min($.height,Math.max(M.height,g)),D=ze({aspectRatio:o,width:x,height:k}),I=ze({aspectRatio:o,width:B,height:T},"cover"),N=Math.min(D.width,Math.max(I.width,a)),L=Math.min(D.height,Math.max(I.height,s)),V=[-N/2,-L/2,N,L];return E.width=he(z),E.height=he(R),P.fillStyle=v,P.fillRect(0,0,z,R),P.save(),P.translate(z/2,R/2),P.rotate(c*Math.PI/180),P.scale(d,h),P.imageSmoothingEnabled=O,P.imageSmoothingQuality=w,P.drawImage.apply(P,[e].concat(i(V.map((function(e){return Math.floor(he(e))}))))),P.restore(),E}(this.image,this.imageData,t,e);if(!this.cropped)return n;var r=this.getData(e.rounded),o=r.x,a=r.y,s=r.width,l=r.height,c=n.width/Math.floor(t.naturalWidth);1!==c&&(o*=c,a*=c,s*=c,l*=c);var u=s/l,d=ze({aspectRatio:u,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),f=ze({aspectRatio:u,width:e.minWidth||0,height:e.minHeight||0},"cover"),h=ze({aspectRatio:u,width:e.width||(1!==c?n.width:s),height:e.height||(1!==c?n.height:l)}),p=h.width,m=h.height;p=Math.min(d.width,Math.max(f.width,p)),m=Math.min(d.height,Math.max(f.height,m));var g=document.createElement("canvas"),A=g.getContext("2d");g.width=he(p),g.height=he(m),A.fillStyle=e.fillColor||"transparent",A.fillRect(0,0,p,m);var v=e.imageSmoothingEnabled,y=void 0===v||v,O=e.imageSmoothingQuality;A.imageSmoothingEnabled=y,O&&(A.imageSmoothingQuality=O);var b,w,_,x,S,k,C=n.width,B=n.height,Q=o,T=a;Q<=-s||Q>C?(Q=0,b=0,_=0,S=0):Q<=0?(_=-Q,Q=0,S=b=Math.min(C,s+Q)):Q<=C&&(_=0,S=b=Math.min(s,C-Q)),b<=0||T<=-l||T>B?(T=0,w=0,x=0,k=0):T<=0?(x=-T,T=0,k=w=Math.min(B,l+T)):T<=B&&(x=0,k=w=Math.min(l,B-T));var E=[Q,T,b,w];if(S>0&&k>0){var P=p/s;E.push(_*P,x*P,S*P,k*P)}return A.drawImage.apply(A,[n].concat(i(E.map((function(e){return Math.floor(he(e))}))))),g},setAspectRatio:function(e){var t=this.options;return this.disabled||re(e)||(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,n=this.dragBox,r=this.face;if(this.ready&&!this.disabled){var o=e===$,i=t.movable&&e===M;e=o||i?e:z,t.dragMode=e,we(n,E,e),ve(n,x,o),ve(n,T,i),t.cropBoxMovable||(we(r,E,e),ve(r,x,o),ve(r,T,i))}return this}},We=l.Cropper,Xe=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t||!K.test(t.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=t,this.options=de({},J,ae(n)&&n),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return t=e,r=[{key:"noConflict",value:function(){return window.Cropper=We,e}},{key:"setDefaults",value:function(e){de(J,ae(e)&&e)}}],(n=[{key:"init",value:function(){var e,t=this.element,n=t.tagName.toLowerCase();if(!t[d]){if(t[d]=this,"img"===n){if(this.isImg=!0,e=t.getAttribute("src")||"",this.originalUrl=e,!e)return;e=t.src}else"canvas"===n&&window.HTMLCanvasElement&&(e=t.toDataURL());this.load(e)}}},{key:"load",value:function(e){var t,n,r,o,i=this;if(e){this.url=e,this.imageData={};var a=this.element,s=this.options;if(s.rotatable||s.scalable||(s.checkOrientation=!1),s.checkOrientation&&window.ArrayBuffer)if(Y.test(e))G.test(e)?this.read((t=e.replace(De,""),n=atob(t),r=new ArrayBuffer(n.length),ue(o=new Uint8Array(r),(function(e,t){o[t]=n.charCodeAt(t)})),r)):this.clone();else{var l=new XMLHttpRequest,c=this.clone.bind(this);this.reloading=!0,this.xhr=l,l.onabort=c,l.onerror=c,l.ontimeout=c,l.onprogress=function(){l.getResponseHeader("content-type")!==q&&l.abort()},l.onload=function(){i.read(l.response)},l.onloadend=function(){i.reloading=!1,i.xhr=null},s.checkCrossOrigin&&Ee(e)&&a.crossOrigin&&(e=Pe(e)),l.open("GET",e,!0),l.responseType="arraybuffer",l.withCredentials="use-credentials"===a.crossOrigin,l.send()}else this.clone()}}},{key:"read",value:function(e){var t=this.options,n=this.imageData,r=Ie(e),o=0,i=1,a=1;if(r>1){this.url=function(e,t){for(var n=[],r=new Uint8Array(e);r.length>0;)n.push(Re.apply(null,ce(r.subarray(0,8192)))),r=r.subarray(8192);return"data:".concat(t,";base64,").concat(btoa(n.join("")))}(e,q);var s=function(e){var t=0,n=1,r=1;switch(e){case 2:n=-1;break;case 3:t=-180;break;case 4:r=-1;break;case 5:t=90,r=-1;break;case 6:t=90;break;case 7:t=90,n=-1;break;case 8:t=-90}return{rotate:t,scaleX:n,scaleY:r}}(r);o=s.rotate,i=s.scaleX,a=s.scaleY}t.rotatable&&(n.rotate=o),t.scalable&&(n.scaleX=i,n.scaleY=a),this.clone()}},{key:"clone",value:function(){var e=this.element,t=this.url,n=e.crossOrigin,r=t;this.options.checkCrossOrigin&&Ee(t)&&(n||(n="anonymous"),r=Pe(t)),this.crossOrigin=n,this.crossOriginUrl=r;var o=document.createElement("img");n&&(o.crossOrigin=n),o.src=r||t,o.alt=e.alt||"The image to crop",this.image=o,o.onload=this.start.bind(this),o.onerror=this.stop.bind(this),ge(o,C),e.parentNode.insertBefore(o,e.nextSibling)}},{key:"start",value:function(){var e=this,t=this.image;t.onload=null,t.onerror=null,this.sizing=!0;var n=l.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(l.navigator.userAgent),r=function(t,n){de(e.imageData,{naturalWidth:t,naturalHeight:n,aspectRatio:t/n}),e.initialImageData=de({},e.imageData),e.sizing=!1,e.sized=!0,e.build()};if(!t.naturalWidth||n){var o=document.createElement("img"),i=document.body||document.documentElement;this.sizingImage=o,o.onload=function(){r(o.width,o.height),n||i.removeChild(o)},o.src=t.src,n||(o.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",i.appendChild(o))}else r(t.naturalWidth,t.naturalHeight)}},{key:"stop",value:function(){var e=this.image;e.onload=null,e.onerror=null,e.parentNode.removeChild(e),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var e=this.element,t=this.options,n=this.image,r=e.parentNode,o=document.createElement("div");o.innerHTML='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>';var i=o.querySelector(".".concat(d,"-container")),a=i.querySelector(".".concat(d,"-canvas")),s=i.querySelector(".".concat(d,"-drag-box")),l=i.querySelector(".".concat(d,"-crop-box")),c=l.querySelector(".".concat(d,"-face"));this.container=r,this.cropper=i,this.canvas=a,this.dragBox=s,this.cropBox=l,this.viewBox=i.querySelector(".".concat(d,"-view-box")),this.face=c,a.appendChild(n),ge(e,k),r.insertBefore(i,e.nextSibling),Ae(n,C),this.initPreview(),this.bind(),t.initialAspectRatio=Math.max(0,t.initialAspectRatio)||NaN,t.aspectRatio=Math.max(0,t.aspectRatio)||NaN,t.viewMode=Math.max(0,Math.min(3,Math.round(t.viewMode)))||0,ge(l,k),t.guides||ge(l.getElementsByClassName("".concat(d,"-dashed")),k),t.center||ge(l.getElementsByClassName("".concat(d,"-center")),k),t.background&&ge(i,"".concat(d,"-bg")),t.highlight||ge(c,B),t.cropBoxMovable&&(ge(c,T),we(c,E,f)),t.cropBoxResizable||(ge(l.getElementsByClassName("".concat(d,"-line")),k),ge(l.getElementsByClassName("".concat(d,"-point")),k)),this.render(),this.ready=!0,this.setDragMode(t.dragMode),t.autoCrop&&this.crop(),this.setData(t.data),se(t.ready)&&ke(e,H,t.ready,{once:!0}),Ce(e,H)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var e=this.cropper.parentNode;e&&e.removeChild(this.cropper),Ae(this.element,k)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();return de(Xe.prototype,Ne,Le,Ve,Ue,Fe,He),Xe}()},65746:function(e,t,n){var r=n(2237),o=n(78259),i=n(41373),a=n(3045),s=n(79135),l=n(70111),c=n(6060),u=n(10906),d=n(97205),f=n(13908),h=n(24993),p=n(96430),m=n(54364),g=n(48007),A=n(50281),v=n(38588),y=n(39852);function O(e,t){var n=parseFloat(t),r=m(),o=g(r);switch(e){case"y":return g(A(r,n));case"M":return g(v(r,n));case"d":return g(y(r,n));case"h":case"H":return o+60*n*60*1e3;case"m":return o+60*n*1e3;case"s":return o+1e3*n}return o}function b(e){return(c(e)?e:new Date(e)).toUTCString()}function w(e,t,n){if(o){var d,f,m,g,A,v,y=[],w=arguments;return s(e)?y=e:w.length>1?y=[h({name:e,value:t},n)]:l(e)&&(y=[e]),y.length>0?(p(y,(function(e){d=h({},r.cookies,e),m=[],d.name&&(f=d.expires,m.push(a(d.name)+"="+a(l(d.value)?JSON.stringify(d.value):d.value)),f&&(f=isNaN(f)?f.replace(/^([0-9]+)(y|M|d|H|h|m|s)$/,(function(e,t,n){return b(O(n,t))})):/^[0-9]{11,13}$/.test(f)||c(f)?b(f):b(O("d",f)),d.expires=f),p(["expires","path","domain","secure"],(function(e){u(d[e])||m.push(d[e]&&"secure"===e?e:e+"="+d[e])}))),o.cookie=m.join("; ")})),!0):(g={},(A=o.cookie)&&p(A.split("; "),(function(e){v=e.indexOf("="),g[i(e.substring(0,v))]=i(e.substring(v+1)||"")})),1===w.length?g[e]:g)}return!1}function _(e){return w(e)}function x(e,t,n){return w(e,t,n),w}function S(e,t){w(e,"",h({expires:-1},r.cookies,t))}function k(){return f(w())}h(w,{has:function(e){return d(k(),e)},set:x,setItem:x,get:_,getItem:_,remove:S,removeItem:S,keys:k,getJSON:function(){return w()}}),e.exports=w},65980:function(e,t,n){"use strict";n.d(t,{DU:function(){return l},E9:function(){return s},Lt:function(){return o},O5:function(){return a}});var r=n(61431);const o="el",i=(e,t,n,r,o)=>{let i=`${e}-${t}`;return n&&(i+=`-${n}`),r&&(i+=`__${r}`),o&&(i+=`--${o}`),i},a=Symbol("namespaceContextKey"),s=e=>{const t=e||((0,r.getCurrentInstance)()?(0,r.inject)(a,(0,r.ref)(o)):(0,r.ref)(o));return(0,r.computed)((()=>(0,r.unref)(t)||o))},l=(e,t)=>{const n=s(t);return{namespace:n,b:(t="")=>i(n.value,e,t,"",""),e:t=>t?i(n.value,e,"",t,""):"",m:t=>t?i(n.value,e,"","",t):"",be:(t,r)=>t&&r?i(n.value,e,t,r,""):"",em:(t,r)=>t&&r?i(n.value,e,"",t,r):"",bm:(t,r)=>t&&r?i(n.value,e,t,"",r):"",bem:(t,r,o)=>t&&r&&o?i(n.value,e,t,r,o):"",is:(e,...t)=>{const n=!(t.length>=1)||t[0];return e&&n?`is-${e}`:""},cssVar:e=>{const t={};for(const r in e)e[r]&&(t[`--${n.value}-${r}`]=e[r]);return t},cssVarName:e=>`--${n.value}-${e}`,cssVarBlock:t=>{const r={};for(const o in t)t[o]&&(r[`--${n.value}-${e}-${o}`]=t[o]);return r},cssVarBlockName:t=>`--${n.value}-${e}-${t}`}}},66074:function(e){e.exports=function(e,t){if(e.lastIndexOf)return e.lastIndexOf(t);for(var n=e.length-1;n>=0;n--)if(t===e[n])return n;return-1}},66119:function(e,t,n){"use strict";var r=n(25745),o=n(33392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},66188:function(e){e.exports=function(e){return e.toLowerCase()}},66262:function(e,t){"use strict";t.A=(e,t)=>{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n}},66318:function(e,t,n){"use strict";var r=n(81094),o=n(30901);t.A=function(e,t){for(var n=0,i=(t=(0,r.A)(t,e)).length;null!=e&&n<i;)e=e[(0,o.A)(t[n++])];return n&&n==i?e:void 0}},66699:function(e,t,n){"use strict";var r=n(43724),o=n(24913),i=n(6980);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},66984:function(e,t){"use strict";t.A=function(e,t){return e===t||e!=e&&t!=t}},67071:function(e,t,n){"use strict";n.d(t,{S8:function(){return u},hs:function(){return d},kH:function(){return a},lP:function(){return c},rf:function(){return o},u$:function(){return s},xh:function(){return i}});var r=n(24326);function o(e){return"interval"===e.type||"log"===e.type}function i(e,t,n,o){var i={},a=e[1]-e[0],c=i.interval=(0,r.Cm)(a/t,!0);null!=n&&c<n&&(c=i.interval=n),null!=o&&c>o&&(c=i.interval=o);var u=i.intervalPrecision=s(c);return function(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),l(e,0,t),l(e,1,t),e[0]>e[1]&&(e[0]=e[1])}(i.niceTickExtent=[(0,r.LI)(Math.ceil(e[0]/c)*c,u),(0,r.LI)(Math.floor(e[1]/c)*c,u)],e),i}function a(e){var t=Math.pow(10,(0,r.NX)(e)),n=e/t;return n?2===n?n=3:3===n?n=5:n*=2:n=1,(0,r.LI)(n*t)}function s(e){return(0,r.XV)(e)+2}function l(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function c(e,t){return e>=t[0]&&e<=t[1]}function u(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function d(e,t){return e*(t[1]-t[0])+t[0]}},67394:function(e,t,n){"use strict";var r=n(44576),o=n(46706),i=n(22195),a=r.ArrayBuffer,s=r.TypeError;e.exports=a&&o(a.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==i(e))throw new s("ArrayBuffer expected");return e.byteLength}},67740:function(e,t,n){var r=n(95932),o=n(79135);e.exports=function(e,t){for(var n,i=arguments,a=[],s=[],l=2,c=i.length;l<c;l++)a.push(i[l]);if(o(t)){for(c=t.length-1,l=0;l<c;l++)s.push(t[l]);t=t[c]}return r(e,(function(e){if(s.length&&(e=function(e,t){for(var n=0,r=t.length;e&&n<r;)e=e[t[n++]];return r&&e?e:0}(e,s)),(n=e[t]||t)&&n.apply)return n.apply(e,a)}))}},67741:function(e,t,n){n(12983)},67750:function(e,t,n){"use strict";var r=n(64117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},67959:function(e,t,n){"use strict";n.d(t,{F:function(){return r},w:function(){return o}});const r=Symbol("formContextKey"),o=Symbol("formItemContextKey")},67973:function(e,t,n){var r=n(98527);e.exports=r},67979:function(e,t,n){"use strict";var r=n(28551);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},68088:function(e,t,n){n(99013)},68142:function(e,t,n){var r=n(69821);e.exports=function(e,t,n){if(e)for(var o in e)r(e,o)&&t.call(n,e[o],o,e)}},68335:function(e,t,n){"use strict";var r=n(18744),o=n(41917),i=(0,r.A)(o.A,"Map");t.A=i},68686:function(e,t,n){"use strict";n.d(t,{$5:function(){return o},CN:function(){return l},_u:function(){return a},dX:function(){return s},es:function(){return c}});var r=n(98026),o=["x","y","radius","angle","single"],i=["cartesian2d","polar","singleAxis"];function a(e){var t=e.get("coordinateSystem");return(0,r.indexOf)(i,t)>=0}function s(e){return e+"Axis"}function l(e,t){var n,o=(0,r.createHashMap)(),i=[],a=(0,r.createHashMap)();e.eachComponent({mainType:"dataZoom",query:t},(function(e){a.get(e.uid)||l(e)}));do{n=!1,e.eachComponent("dataZoom",s)}while(n);function s(e){!a.get(e.uid)&&function(e){var t=!1;return e.eachTargetAxis((function(e,n){var r=o.get(e);r&&r[n]&&(t=!0)})),t}(e)&&(l(e),n=!0)}function l(e){a.set(e.uid,!0),i.push(e),e.eachTargetAxis((function(e,t){(o.get(e)||o.set(e,[]))[t]=!0}))}return i}function c(e){var t=e.ecModel,n={infoList:[],infoMap:(0,r.createHashMap)()};return e.eachTargetAxis((function(e,r){var o=t.getComponent(s(e),r);if(o){var i=o.getCoordSysModel();if(i){var a=i.uid,l=n.infoMap.get(a);l||(l={model:i,axisModels:[]},n.infoList.push(l),n.infoMap.set(a,l)),l.axisModels.push(o)}}})),n}},68717:function(e,t,n){"use strict";n.d(t,{q:function(){return S}});var r=n(83509),o=n(29308),i=n(73098),a=n(48813),s=n(89259),l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],u=[],d=[],f=[],h=[],p=[],m=Math.min,g=Math.max,A=Math.cos,v=Math.sin,y=Math.abs,O=Math.PI,b=2*O,w="undefined"!=typeof Float32Array,_=[];function x(e){return Math.round(e/O*1e8)/1e8%2*O}function S(e,t){var n=x(e[0]);n<0&&(n+=b);var r=n-e[0],o=e[1];o+=r,!t&&o-n>=b?o=n+b:t&&n-o>=b?o=n-b:!t&&n>o?o=n+(b-x(n-o)):t&&n<o&&(o=n-(b-x(o-n))),e[0]=n,e[1]=o}var k=function(){function e(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}var t;return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(e,t,n){(n=n||0)>0&&(this._ux=y(n/i.Y5/e)||0,this._uy=y(n/i.Y5/t)||0)},e.prototype.setDPR=function(e){this.dpr=e},e.prototype.setContext=function(e){this._ctx=e},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(l.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},e.prototype.lineTo=function(e,t){var n=y(e-this._xi),r=y(t-this._yi),o=n>this._ux||r>this._uy;if(this.addData(l.L,e,t),this._ctx&&o&&this._ctx.lineTo(e,t),o)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var i=n*n+r*r;i>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=i)}return this},e.prototype.bezierCurveTo=function(e,t,n,r,o,i){return this._drawPendingPt(),this.addData(l.C,e,t,n,r,o,i),this._ctx&&this._ctx.bezierCurveTo(e,t,n,r,o,i),this._xi=o,this._yi=i,this},e.prototype.quadraticCurveTo=function(e,t,n,r){return this._drawPendingPt(),this.addData(l.Q,e,t,n,r),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,r),this._xi=n,this._yi=r,this},e.prototype.arc=function(e,t,n,r,o,i){this._drawPendingPt(),_[0]=r,_[1]=o,S(_,i),r=_[0];var a=(o=_[1])-r;return this.addData(l.A,e,t,n,n,r,a,0,i?0:1),this._ctx&&this._ctx.arc(e,t,n,r,o,i),this._xi=A(o)*n+e,this._yi=v(o)*n+t,this},e.prototype.arcTo=function(e,t,n,r,o){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,n,r,o),this},e.prototype.rect=function(e,t,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,n,r),this.addData(l.R,e,t,n,r),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(l.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&e.closePath(),this._xi=t,this._yi=n,this},e.prototype.fill=function(e){e&&e.fill(),this.toStatic()},e.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(e){var t=e.length;this.data&&this.data.length===t||!w||(this.data=new Float32Array(t));for(var n=0;n<t;n++)this.data[n]=e[n];this._len=t},e.prototype.appendPath=function(e){e instanceof Array||(e=[e]);for(var t=e.length,n=0,r=this._len,o=0;o<t;o++)n+=e[o].len();for(w&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n)),o=0;o<t;o++)for(var i=e[o].data,a=0;a<i.length;a++)this.data[r++]=i[a];this._len=r},e.prototype.addData=function(e,t,n,r,o,i,a,s,l){if(this._saveData){var c=this.data;this._len+arguments.length>c.length&&(this._expandData(),c=this.data);for(var u=0;u<arguments.length;u++)c[this._len++]=arguments[u]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var e=this.data;e instanceof Array&&(e.length=this._len,w&&this._len>11&&(this.data=new Float32Array(e)))}},e.prototype.getBoundingRect=function(){d[0]=d[1]=h[0]=h[1]=Number.MAX_VALUE,f[0]=f[1]=p[0]=p[1]=-Number.MAX_VALUE;var e,t=this.data,n=0,i=0,s=0,c=0;for(e=0;e<this._len;){var u=t[e++],m=1===e;switch(m&&(s=n=t[e],c=i=t[e+1]),u){case l.M:n=s=t[e++],i=c=t[e++],h[0]=s,h[1]=c,p[0]=s,p[1]=c;break;case l.L:(0,a.j6)(n,i,t[e],t[e+1],h,p),n=t[e++],i=t[e++];break;case l.C:(0,a.BM)(n,i,t[e++],t[e++],t[e++],t[e++],t[e],t[e+1],h,p),n=t[e++],i=t[e++];break;case l.Q:(0,a.tW)(n,i,t[e++],t[e++],t[e],t[e+1],h,p),n=t[e++],i=t[e++];break;case l.A:var g=t[e++],y=t[e++],O=t[e++],b=t[e++],w=t[e++],_=t[e++]+w;e+=1;var x=!t[e++];m&&(s=A(w)*O+g,c=v(w)*b+y),(0,a.$s)(g,y,O,b,w,_,x,h,p),n=A(_)*O+g,i=v(_)*b+y;break;case l.R:s=n=t[e++],c=i=t[e++];var S=t[e++],k=t[e++];(0,a.j6)(s,c,s+S,c+k,h,p);break;case l.Z:n=s,i=c}r.min(d,d,h),r.max(f,f,p)}return 0===e&&(d[0]=d[1]=f[0]=f[1]=0),new o.A(d[0],d[1],f[0]-d[0],f[1]-d[1])},e.prototype._calculateLength=function(){var e=this.data,t=this._len,n=this._ux,r=this._uy,o=0,i=0,a=0,c=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,d=0,f=0,h=0;h<t;){var p=e[h++],O=1===h;O&&(a=o=e[h],c=i=e[h+1]);var w=-1;switch(p){case l.M:o=a=e[h++],i=c=e[h++];break;case l.L:var _=e[h++],x=(C=e[h++])-i;(y(D=_-o)>n||y(x)>r||h===t-1)&&(w=Math.sqrt(D*D+x*x),o=_,i=C);break;case l.C:var S=e[h++],k=e[h++],C=(_=e[h++],e[h++]),B=e[h++],Q=e[h++];w=(0,s.h0)(o,i,S,k,_,C,B,Q,10),o=B,i=Q;break;case l.Q:S=e[h++],k=e[h++],_=e[h++],C=e[h++],w=(0,s.d8)(o,i,S,k,_,C,10),o=_,i=C;break;case l.A:var T=e[h++],E=e[h++],P=e[h++],$=e[h++],M=e[h++],z=e[h++],R=z+M;h+=1,O&&(a=A(M)*P+T,c=v(M)*$+E),w=g(P,$)*m(b,Math.abs(z)),o=A(R)*P+T,i=v(R)*$+E;break;case l.R:a=o=e[h++],c=i=e[h++],w=2*e[h++]+2*e[h++];break;case l.Z:var D=a-o;x=c-i,w=Math.sqrt(D*D+x*x),o=a,i=c}w>=0&&(u[f++]=w,d+=w)}return this._pathLen=d,d},e.prototype.rebuildPath=function(e,t){var n,r,o,i,a,d,f,h,p,O,b=this.data,w=this._ux,_=this._uy,x=this._len,S=t<1,k=0,C=0,B=0;if(!S||(this._pathSegLen||this._calculateLength(),f=this._pathSegLen,h=t*this._pathLen))e:for(var Q=0;Q<x;){var T=b[Q++],E=1===Q;switch(E&&(n=o=b[Q],r=i=b[Q+1]),T!==l.L&&B>0&&(e.lineTo(p,O),B=0),T){case l.M:n=o=b[Q++],r=i=b[Q++],e.moveTo(o,i);break;case l.L:a=b[Q++],d=b[Q++];var P=y(a-o),$=y(d-i);if(P>w||$>_){if(S){if(k+(re=f[C++])>h){var M=(h-k)/re;e.lineTo(o*(1-M)+a*M,i*(1-M)+d*M);break e}k+=re}e.lineTo(a,d),o=a,i=d,B=0}else{var z=P*P+$*$;z>B&&(p=a,O=d,B=z)}break;case l.C:var R=b[Q++],D=b[Q++],I=b[Q++],N=b[Q++],L=b[Q++],V=b[Q++];if(S){if(k+(re=f[C++])>h){M=(h-k)/re,(0,s.YT)(o,R,I,L,M,c),(0,s.YT)(i,D,N,V,M,u),e.bezierCurveTo(c[1],u[1],c[2],u[2],c[3],u[3]);break e}k+=re}e.bezierCurveTo(R,D,I,N,L,V),o=L,i=V;break;case l.Q:if(R=b[Q++],D=b[Q++],I=b[Q++],N=b[Q++],S){if(k+(re=f[C++])>h){M=(h-k)/re,(0,s.kx)(o,R,I,M,c),(0,s.kx)(i,D,N,M,u),e.quadraticCurveTo(c[1],u[1],c[2],u[2]);break e}k+=re}e.quadraticCurveTo(R,D,I,N),o=I,i=N;break;case l.A:var U=b[Q++],F=b[Q++],H=b[Q++],W=b[Q++],X=b[Q++],j=b[Q++],q=b[Q++],Z=!b[Q++],Y=H>W?H:W,G=y(H-W)>.001,K=X+j,J=!1;if(S&&(k+(re=f[C++])>h&&(K=X+j*(h-k)/re,J=!0),k+=re),G&&e.ellipse?e.ellipse(U,F,H,W,q,X,K,Z):e.arc(U,F,Y,X,K,Z),J)break e;E&&(n=A(X)*H+U,r=v(X)*W+F),o=A(K)*H+U,i=v(K)*W+F;break;case l.R:n=o=b[Q],r=i=b[Q+1],a=b[Q++],d=b[Q++];var ee=b[Q++],te=b[Q++];if(S){if(k+(re=f[C++])>h){var ne=h-k;e.moveTo(a,d),e.lineTo(a+m(ne,ee),d),(ne-=ee)>0&&e.lineTo(a+ee,d+m(ne,te)),(ne-=te)>0&&e.lineTo(a+g(ee-ne,0),d+te),(ne-=ee)>0&&e.lineTo(a,d+g(te-ne,0));break e}k+=re}e.rect(a,d,ee,te);break;case l.Z:if(S){var re;if(k+(re=f[C++])>h){M=(h-k)/re,e.lineTo(o*(1-M)+n*M,i*(1-M)+r*M);break e}k+=re}e.closePath(),o=n,i=r}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=l,e.initDefaultProps=((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,void(t._version=0)),e}();t.A=k},68750:function(e,t,n){"use strict";var r=n(97080),o=n(94402),i=n(25170),a=n(83789),s=n(38469),l=n(40507),c=o.Set,u=o.add,d=o.has;e.exports=function(e){var t=r(this),n=a(e),o=new c;return i(t)>n.size?l(n.getIterator(),(function(e){d(t,e)&&u(o,e)})):s(t,(function(e){n.includes(e)&&u(o,e)})),o}},68772:function(e,t,n){var r=n(79135),o=n(97205);e.exports=function(e,t){var n,i=0;if(r(e)&&r(t)){for(n=t.length;i<n;i++)if(!o(e,t[i]))return!1;return!0}return o(e,t)}},69119:function(e,t,n){var r=n(73183),o=n(27260)(r);e.exports=o},69156:function(e,t,n){var r=n(87400),o=n(59988);e.exports=function(e,t){var n=o(e),i=o(t);return r(n,i)}},69288:function(e,t,n){var r=n(1769),o=n(64449),i=n(71797);function a(e){return o(e.split("?")[1]||"")}e.exports=function(e){var t,n,o,s,l=""+e;return 0===l.indexOf("//")?l=(r?r.protocol:"")+l:0===l.indexOf("/")&&(l=i()+l),o=l.replace(/#.*/,"").match(/(\?.*)/),(s={href:l,hash:"",host:"",hostname:"",protocol:"",port:"",search:o&&o[1]&&o[1].length>1?o[1]:""}).path=l.replace(/^([a-z0-9.+-]*:)\/\//,(function(e,t){return s.protocol=t,""})).replace(/^([a-z0-9.+-]*)(:\d+)?\/?/,(function(e,t,r){return n=r||"",s.port=n.replace(":",""),s.hostname=t,s.host=t+n,"/"})).replace(/(#.*)/,(function(e,t){return s.hash=t.length>1?t:"",""})),t=s.hash.match(/#((.*)\?|(.*))/),s.pathname=s.path.replace(/(\?|#.*).*/,""),s.origin=s.protocol+"//"+s.host,s.hashKey=t&&(t[2]||t[1])||"",s.hashQuery=a(s.hash),s.searchQuery=a(s.search),s}},69479:function(e,t,n){"use strict";var r=n(44576),o=n(43724),i=n(62106),a=n(67979),s=n(79039),l=r.RegExp,c=l.prototype;o&&s((function(){var e=!0;try{l(".","d")}catch(t){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",o=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(i.hasIndices="d"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(c,"flags").get.call(t)!==r||n!==r}))&&i(c,"flags",{configurable:!0,get:a})},69565:function(e,t,n){"use strict";var r=n(40616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},69622:function(e,t,n){"use strict";n.d(t,{a:function(){return o},z:function(){return r}});var r=(0,n(48170).$r)(),o=function(e,t,n,o){if(o){var i=r(o);i.dataIndex=n,i.dataType=t,i.seriesIndex=e,i.ssrType="chart","group"===o.type&&o.traverse((function(o){var i=r(o);i.seriesIndex=e,i.dataIndex=n,i.dataType=t,i.ssrType="chart"}))}}},69718:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(98026),o=n(31024);function i(e,t,n){for(var r=0;r<e.length;r++)e[r]=a(e[r],t[r],n)}function a(e,t,n){for(var r=[],o=t[0],i=t[1],a=0;a<e.length;a+=2){var s=e.charCodeAt(a)-64,l=e.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),o=s+=o,i=l+=i,r.push([s/n,l/n])}return r}function s(e,t){return e=function(e){if(!e.UTF8Encoding)return e;var t=e,n=t.UTF8Scale;null==n&&(n=1024);var o=t.features;return r.each(o,(function(e){var t=e.geometry,o=t.encodeOffsets,s=t.coordinates;if(o)switch(t.type){case"LineString":t.coordinates=a(s,o,n);break;case"Polygon":case"MultiLineString":i(s,o,n);break;case"MultiPolygon":r.each(s,(function(e,t){return i(e,o[t],n)}))}})),t.UTF8Encoding=!1,t}(e),r.map(r.filter(e.features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var n=e.properties,i=e.geometry,a=[];switch(i.type){case"Polygon":var s=i.coordinates;a.push(new o.m5(s[0],s.slice(1)));break;case"MultiPolygon":r.each(i.coordinates,(function(e){e[0]&&a.push(new o.m5(e[0],e.slice(1)))}));break;case"LineString":a.push(new o.nS([i.coordinates]));break;case"MultiLineString":a.push(new o.nS(i.coordinates))}var l=new o.cn(n[t||"name"],a,n.cp);return l.properties=n,l}))}},69821:function(e){e.exports=function(e,t){return!(!e||!e.hasOwnProperty)&&e.hasOwnProperty(t)}},70081:function(e,t,n){"use strict";var r=n(69565),o=n(79306),i=n(28551),a=n(16823),s=n(50851),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(o(n))return i(r(n,e));throw new l(a(e)+" is not iterable")}},70111:function(e,t,n){var r=n(98594)("object");e.exports=r},70200:function(e,t,n){"use strict";n.d(t,{o:function(){return i}});var r=n(61431);const o=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);function i({afterComposition:e,emit:t}){const n=(0,r.ref)(!1),i=e=>{var r;null==t||t("compositionupdate",e);const i=null==(r=e.target)?void 0:r.value,a=i[i.length-1]||"";n.value=!o(a)},a=o=>{null==t||t("compositionend",o),n.value&&(n.value=!1,(0,r.nextTick)((()=>e(o))))};return{isComposing:n,handleComposition:e=>{"compositionend"===e.type?a(e):i(e)},handleCompositionStart:e=>{null==t||t("compositionstart",e),n.value=!0},handleCompositionUpdate:i,handleCompositionEnd:a}}},70217:function(e,t,n){n(17878)},70250:function(e,t,n){"use strict";n.d(t,{A_:function(){return u}});var r,o=n(98026),i=n(31825),a=n(34310),s="undefined",l=typeof Uint32Array===s?Array:Uint32Array,c=typeof Uint16Array===s?Array:Uint16Array,u=typeof Int32Array===s?Array:Int32Array,d=typeof Float64Array===s?Array:Float64Array,f={float:d,int:u,ordinal:Array,number:Array,time:d};function h(e){return e>65535?l:c}function p(e,t,n,r,o){var i=f[n||"float"];if(o){var a=e[t],s=a&&a.length;if(s!==r){for(var l=new i(r),c=0;c<s;c++)l[c]=a[c];e[t]=l}}else e[t]=new i(r)}var m=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,o.createHashMap)()}return e.prototype.initData=function(e,t,n){this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=e.getSource(),s=this.defaultDimValueGetter=r[i.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[],(0,a.O0)(i),this._dimensions=(0,o.map)(t,(function(e){return{type:e.type,property:e.property}})),this._initDataFromProvider(0,e.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(e,t){var n=this._calcDimNameToIdx,r=this._dimensions,o=n.get(e);if(null!=o){if(r[o].type===t)return o}else o=r.length;return r[o]={type:t},n.set(e,o),this._chunks[o]=new f[t||"float"](this._rawCount),this._rawExtent[o]=[1/0,-1/0],o},e.prototype.collectOrdinalMeta=function(e,t){var n=this._chunks[e],r=this._dimensions[e],o=this._rawExtent,i=r.ordinalOffset||0,a=n.length;0===i&&(o[e]=[1/0,-1/0]);for(var s=o[e],l=i;l<a;l++){var c=n[l]=t.parseAndCollect(n[l]);isNaN(c)||(s[0]=Math.min(c,s[0]),s[1]=Math.max(c,s[1]))}r.ordinalMeta=t,r.ordinalOffset=a,r.type="ordinal"},e.prototype.getOrdinalMeta=function(e){return this._dimensions[e].ordinalMeta},e.prototype.getDimensionProperty=function(e){var t=this._dimensions[e];return t&&t.property},e.prototype.appendData=function(e){var t=this._provider,n=this.count();t.appendData(e);var r=t.count();return t.persistent||(r+=n),n<r&&this._initDataFromProvider(n,r,!0),[n,r]},e.prototype.appendValues=function(e,t){for(var n=this._chunks,o=this._dimensions,i=o.length,a=this._rawExtent,s=this.count(),l=s+Math.max(e.length,t||0),c=0;c<i;c++)p(n,c,(m=o[c]).type,l,!0);for(var u=[],d=s;d<l;d++)for(var f=d-s,h=0;h<i;h++){var m=o[h],g=r.arrayRows.call(this,e[f]||u,m.property,f,h);n[h][d]=g;var A=a[h];g<A[0]&&(A[0]=g),g>A[1]&&(A[1]=g)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,i=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,c=(0,o.map)(a,(function(e){return e.property})),u=0;u<s;u++){var d=a[u];l[u]||(l[u]=[1/0,-1/0]),p(i,u,d.type,t,n)}if(r.fillStorage)r.fillStorage(e,t,i,l);else for(var f=[],h=e;h<t;h++){f=r.getItem(h,f);for(var m=0;m<s;m++){var g=i[m],A=this._dimValueGetter(f,c[m],h,m);g[h]=A;var v=l[m];A<v[0]&&(v[0]=A),A>v[1]&&(v[1]=A)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var n=this._chunks[e];return n?n[this.getRawIndex(t)]:NaN},e.prototype.getValues=function(e,t){var n=[],r=[];if(null==t){t=e,e=[];for(var o=0;o<this._dimensions.length;o++)r.push(o)}else r=e;o=0;for(var i=r.length;o<i;o++)n.push(this.get(r[o],t));return n},e.prototype.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var n=this._chunks[e];return n?n[t]:NaN},e.prototype.getSum=function(e){var t=0;if(this._chunks[e])for(var n=0,r=this.count();n<r;n++){var o=this.get(e,n);isNaN(o)||(t+=o)}return t},e.prototype.getMedian=function(e){var t=[];this.each([e],(function(e){isNaN(e)||t.push(e)}));var n=t.sort((function(e,t){return e-t})),r=this.count();return 0===r?0:r%2==1?n[(r-1)/2]:(n[r/2]+n[r/2-1])/2},e.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&n<this._count&&n===e)return e;for(var r=0,o=this._count-1;r<=o;){var i=(r+o)/2|0;if(t[i]<e)r=i+1;else{if(!(t[i]>e))return i;o=i-1}}return-1},e.prototype.indicesOfNearest=function(e,t,n){var r=this._chunks[e],o=[];if(!r)return o;null==n&&(n=1/0);for(var i=1/0,a=-1,s=0,l=0,c=this.count();l<c;l++){var u=t-r[this.getRawIndex(l)],d=Math.abs(u);d<=n&&((d<i||d===i&&u>=0&&a<0)&&(i=d,a=u,s=0),u===a&&(o[s++]=l))}return o.length=s,o},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,r=this._count;if(n===Array){e=new n(r);for(var o=0;o<r;o++)e[o]=t[o]}else e=new n(t.buffer,0,r)}else for(e=new(n=h(this._rawCount))(this.count()),o=0;o<e.length;o++)e[o]=o;return e},e.prototype.filter=function(e,t){if(!this._count)return this;for(var n=this.clone(),r=n.count(),o=new(h(n._rawCount))(r),i=[],a=e.length,s=0,l=e[0],c=n._chunks,u=0;u<r;u++){var d=void 0,f=n.getRawIndex(u);if(0===a)d=t(u);else if(1===a)d=t(c[l][f],u);else{for(var p=0;p<a;p++)i[p]=c[e[p]][f];i[p]=u,d=t.apply(null,i)}d&&(o[s++]=f)}return s<r&&(n._indices=o),n._count=s,n._extent=[],n._updateGetRawIdx(),n},e.prototype.selectRange=function(e){var t=this.clone(),n=t._count;if(!n)return this;var r=(0,o.keys)(e),i=r.length;if(!i)return this;var a=t.count(),s=new(h(t._rawCount))(a),l=0,c=r[0],u=e[c][0],d=e[c][1],f=t._chunks,p=!1;if(!t._indices){var m=0;if(1===i){for(var g=f[r[0]],A=0;A<n;A++)((b=g[A])>=u&&b<=d||isNaN(b))&&(s[l++]=m),m++;p=!0}else if(2===i){g=f[r[0]];var v=f[r[1]],y=e[r[1]][0],O=e[r[1]][1];for(A=0;A<n;A++){var b=g[A],w=v[A];(b>=u&&b<=d||isNaN(b))&&(w>=y&&w<=O||isNaN(w))&&(s[l++]=m),m++}p=!0}}if(!p)if(1===i)for(A=0;A<a;A++){var _=t.getRawIndex(A);((b=f[r[0]][_])>=u&&b<=d||isNaN(b))&&(s[l++]=_)}else for(A=0;A<a;A++){for(var x=!0,S=(_=t.getRawIndex(A),0);S<i;S++){var k=r[S];((b=f[k][_])<e[k][0]||b>e[k][1])&&(x=!1)}x&&(s[l++]=t.getRawIndex(A))}return l<a&&(t._indices=s),t._count=l,t._extent=[],t._updateGetRawIdx(),t},e.prototype.map=function(e,t){var n=this.clone(e);return this._updateDims(n,e,t),n},e.prototype.modify=function(e,t){this._updateDims(this,e,t)},e.prototype._updateDims=function(e,t,n){for(var r=e._chunks,o=[],i=t.length,a=e.count(),s=[],l=e._rawExtent,c=0;c<t.length;c++)l[t[c]]=[1/0,-1/0];for(var u=0;u<a;u++){for(var d=e.getRawIndex(u),f=0;f<i;f++)s[f]=r[t[f]][d];s[i]=u;var h=n&&n.apply(null,s);if(null!=h)for("object"!=typeof h&&(o[0]=h,h=o),c=0;c<h.length;c++){var p=t[c],m=h[c],g=l[p],A=r[p];A&&(A[d]=m),m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}},e.prototype.lttbDownSample=function(e,t){var n,r,o,i=this.clone([e],!0),a=i._chunks[e],s=this.count(),l=0,c=Math.floor(1/t),u=this.getRawIndex(0),d=new(h(this._rawCount))(Math.min(2*(Math.ceil(s/c)+2),s));d[l++]=u;for(var f=1;f<s-1;f+=c){for(var p=Math.min(f+c,s-1),m=Math.min(f+2*c,s),g=(m+p)/2,A=0,v=p;v<m;v++){var y=a[k=this.getRawIndex(v)];isNaN(y)||(A+=y)}A/=m-p;var O=f,b=Math.min(f+c,s),w=f-1,_=a[u];n=-1,o=O;var x=-1,S=0;for(v=O;v<b;v++){var k;y=a[k=this.getRawIndex(v)],isNaN(y)?(S++,x<0&&(x=k)):(r=Math.abs((w-g)*(y-_)-(w-v)*(A-_)))>n&&(n=r,o=k)}S>0&&S<b-O&&(d[l++]=Math.min(x,o),o=Math.max(x,o)),d[l++]=o,u=o}return d[l++]=this.getRawIndex(s-1),i._count=l,i._indices=d,i.getRawIndex=this._getRawIdx,i},e.prototype.minmaxDownSample=function(e,t){for(var n=this.clone([e],!0),r=n._chunks,o=Math.floor(1/t),i=r[e],a=this.count(),s=new(h(this._rawCount))(2*Math.ceil(a/o)),l=0,c=0;c<a;c+=o){var u=c,d=i[this.getRawIndex(u)],f=c,p=i[this.getRawIndex(f)],m=o;c+o>a&&(m=a-c);for(var g=0;g<m;g++){var A=i[this.getRawIndex(c+g)];A<d&&(d=A,u=c+g),A>p&&(p=A,f=c+g)}var v=this.getRawIndex(u),y=this.getRawIndex(f);u<f?(s[l++]=v,s[l++]=y):(s[l++]=y,s[l++]=v)}return n._count=l,n._indices=s,n._updateGetRawIdx(),n},e.prototype.downSample=function(e,t,n,r){for(var o=this.clone([e],!0),i=o._chunks,a=[],s=Math.floor(1/t),l=i[e],c=this.count(),u=o._rawExtent[e]=[1/0,-1/0],d=new(h(this._rawCount))(Math.ceil(c/s)),f=0,p=0;p<c;p+=s){s>c-p&&(s=c-p,a.length=s);for(var m=0;m<s;m++){var g=this.getRawIndex(p+m);a[m]=l[g]}var A=n(a),v=this.getRawIndex(Math.min(p+r(a,A)||0,c-1));l[v]=A,A<u[0]&&(u[0]=A),A>u[1]&&(u[1]=A),d[f++]=v}return o._count=f,o._indices=d,o._updateGetRawIdx(),o},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,r=this._chunks,o=0,i=this.count();o<i;o++){var a=this.getRawIndex(o);switch(n){case 0:t(o);break;case 1:t(r[e[0]][a],o);break;case 2:t(r[e[0]][a],r[e[1]][a],o);break;default:for(var s=0,l=[];s<n;s++)l[s]=r[e[s]][a];l[s]=o,t.apply(null,l)}}},e.prototype.getDataExtent=function(e){var t=this._chunks[e],n=[1/0,-1/0];if(!t)return n;var r,o=this.count();if(!this._indices)return this._rawExtent[e].slice();if(r=this._extent[e])return r.slice();for(var i=(r=n)[0],a=r[1],s=0;s<o;s++){var l=t[this.getRawIndex(s)];l<i&&(i=l),l>a&&(a=l)}return r=[i,a],this._extent[e]=r,r},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],r=this._chunks,o=0;o<r.length;o++)n.push(r[o][t]);return n},e.prototype.clone=function(t,n){var r,i,a=new e,s=this._chunks,l=t&&(0,o.reduce)(t,(function(e,t){return e[t]=!0,e}),{});if(l)for(var c=0;c<s.length;c++)a._chunks[c]=l[c]?(i=void 0,(i=(r=s[c]).constructor)===Array?r.slice():new i(r)):s[c];else a._chunks=s;return this._copyCommonProps(a),n||(a._indices=this._cloneIndices()),a._updateGetRawIdx(),a},e.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=(0,o.clone)(this._extent),e._rawExtent=(0,o.clone)(this._rawExtent)},e.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,t=void 0;if(e===Array){var n=this._indices.length;t=new e(n);for(var r=0;r<n;r++)t[r]=this._indices[r]}else t=new e(this._indices);return t}return null},e.prototype._getRawIdxIdentity=function(e){return e},e.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function e(e,t,n,r){return(0,i.Pn)(e[r],this._dimensions[r])}r={arrayRows:e,objectRows:function(e,t,n,r){return(0,i.Pn)(e[t],this._dimensions[r])},keyedColumns:e,original:function(e,t,n,r){var o=e&&(null==e.value?e:e.value);return(0,i.Pn)(o instanceof Array?o[r]:o,this._dimensions[r])},typedArray:function(e,t,n,r){return e[r]}}}(),e}();t.Ay=m},70987:function(e,t,n){n(54176)},71048:function(e,t,n){var r=n(79135),o=n(69821);e.exports=function(e,t,n){var i,a;if(e)if(r(e))for(i=e.length-1;i>=0&&!1!==t.call(n,e[i],i,e);i--);else for(i=(a=o(e)).length-1;i>=0&&!1!==t.call(n,e[a[i]],a[i],e);i--);}},71072:function(e,t,n){"use strict";var r=n(61828),o=n(88727);e.exports=Object.keys||function(e){return r(e,o)}},71519:function(e,t,n){"use strict";n.d(t,{oN:function(){return c},sW:function(){return u}});var r=n(15215),o=n(62454),i=n(29308),a=n(98026),s=n(56448),l="__zr_style_"+Math.round(10*Math.random()),c={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},u={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};c[l]=!0;var d=["z","z2","invisible"],f=["invisible"],h=function(e){function t(t){return e.call(this,t)||this}var n;return(0,r.C6)(t,e),t.prototype._init=function(t){for(var n=(0,a.keys)(t),r=0;r<n.length;r++){var o=n[r];"style"===o?this.useStyle(t[o]):e.prototype.attrKV.call(this,o,t[o])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(e,t,n,r){var o,i,a,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(o=this,i=e,a=t,p.copy(o.getBoundingRect()),o.transform&&p.applyTransform(o.transform),m.width=i,m.height=a,!p.intersect(m))||s&&!s[0]&&!s[3])return!1;if(n&&this.__clipPaths)for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1;if(r&&this.parent)for(var c=this.parent;c;){if(c.ignore)return!1;c=c.parent}return!0},t.prototype.contain=function(e,t){return this.rectContain(e,t)},t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.rectContain=function(e,t){var n=this.transformCoordToLocal(e,t);return this.getBoundingRect().contain(n[0],n[1])},t.prototype.getPaintRect=function(){var e=this._paintRect;if(!this._paintRect||this.__dirty){var t=this.transform,n=this.getBoundingRect(),r=this.style,o=r.shadowBlur||0,a=r.shadowOffsetX||0,s=r.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new i.A(0,0,0,0)),t?i.A.applyTransform(e,n,t):e.copy(n),(o||a||s)&&(e.width+=2*o+Math.abs(a),e.height+=2*o+Math.abs(s),e.x=Math.min(e.x,e.x+a-o),e.y=Math.min(e.y,e.y+s-o));var l=this.dirtyRectTolerance;e.isZero()||(e.x=Math.floor(e.x-l),e.y=Math.floor(e.y-l),e.width=Math.ceil(e.width+1+2*l),e.height=Math.ceil(e.height+1+2*l))}return e},t.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new i.A(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(e){return this.animate("style",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(t,n){"style"!==t?e.prototype.attrKV.call(this,t,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(e,t){return"string"==typeof e?this.style[e]=t:(0,a.extend)(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=s.pO,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&s.pO)},t.prototype.styleUpdated=function(){this.__dirty&=~s.pO},t.prototype.createStyle=function(e){return(0,a.createObject)(c,e)},t.prototype.useStyle=function(e){e[l]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[l]},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(t,n,d)},t.prototype._applyStateObj=function(t,n,r,o,i,s){e.prototype._applyStateObj.call(this,t,n,r,o,i,s);var l,c=!(n&&o);if(n&&n.style?i?o?l=n.style:(l=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),o?this.style:r.style),this._mergeStyle(l,n.style)):c&&(l=r.style),l)if(i){var u=this.style;if(this.style=this.createStyle(c?{}:u),c)for(var h=(0,a.keys)(u),p=0;p<h.length;p++)(g=h[p])in l&&(l[g]=l[g],this.style[g]=u[g]);var m=(0,a.keys)(l);for(p=0;p<m.length;p++){var g=m[p];this.style[g]=this.style[g]}this._transitionState(t,{style:l},s,this.getAnimationStyleProps())}else this.useStyle(l);var A=this.__inHover?f:d;for(p=0;p<A.length;p++)g=A[p],n&&null!=n[g]?this[g]=n[g]:c&&null!=r[g]&&(this[g]=r[g])},t.prototype._mergeStates=function(t){for(var n,r=e.prototype._mergeStates.call(this,t),o=0;o<t.length;o++){var i=t[o];i.style&&(n=n||{},this._mergeStyle(n,i.style))}return n&&(r.style=n),r},t.prototype._mergeStyle=function(e,t){return(0,a.extend)(e,t),e},t.prototype.getAnimationStyleProps=function(){return u},t.initDefaultProps=((n=t.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=s.M|s.pO)),t}(o.A),p=new i.A(0,0,0,0),m=new i.A(0,0,0,0);t.Ay=h},71582:function(e,t,n){var r=n(2237),o=n(40481),i=n(35508),a=n(29650);e.exports=function(e,t,n){return o(e).replace((n||r).tmplRE||/\{{2}([.\w[\]\s]+)\}{2}/g,(function(e,n){return a(t,i(n))}))}},71627:function(e,t,n){n(29504)},71797:function(e,t,n){var r=n(1769);e.exports=function(){return r?r.origin||r.protocol+"//"+r.host:""}},72012:function(e,t,n){"use strict";var r=n(15215),o=n(98026),i=n(15915),a=n(68686),s=n(48170),l=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},e}(),c=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return(0,r.C6)(t,e),t.prototype.init=function(e,t,n){var r=u(e);this.settledOption=r,this.mergeDefaultAndTheme(e,n),this._doInit(r)},t.prototype.mergeOption=function(e){var t=u(e);(0,o.merge)(this.option,e,!0),(0,o.merge)(this.settledOption,t,!0),this._doInit(t)},t.prototype._doInit=function(e){var t=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var n=this.settledOption;(0,o.each)([["start","startValue"],["end","endValue"]],(function(e,r){"value"===this._rangePropMode[r]&&(t[e[0]]=n[e[0]]=null)}),this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),t=this._targetAxisInfoMap=(0,o.createHashMap)();this._fillSpecifiedTargetAxis(t)?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(t,this._orient)),this._noTarget=!0,t.each((function(e){e.indexList.length&&(this._noTarget=!1)}),this)},t.prototype._fillSpecifiedTargetAxis=function(e){var t=!1;return(0,o.each)(a.$5,(function(n){var r=this.getReferringComponents((0,a.dX)(n),s.UW);if(r.specified){t=!0;var i=new l;(0,o.each)(r.models,(function(e){i.add(e.componentIndex)})),e.set(n,i)}}),this),t},t.prototype._fillAutoTargetAxisByOrient=function(e,t){var n=this.ecModel,r=!0;if(r){var i="vertical"===t?"y":"x";c(n.findComponents({mainType:i+"Axis"}),i)}function c(t,n){var i=t[0];if(i){var a=new l;if(a.add(i.componentIndex),e.set(n,a),r=!1,"x"===n||"y"===n){var c=i.getReferringComponents("grid",s.US).models[0];c&&(0,o.each)(t,(function(e){i.componentIndex!==e.componentIndex&&c===e.getReferringComponents("grid",s.US).models[0]&&a.add(e.componentIndex)}))}}}r&&c(n.findComponents({mainType:"singleAxis",filter:function(e){return e.get("orient",!0)===t}}),"single"),r&&(0,o.each)(a.$5,(function(t){if(r){var o=n.findComponents({mainType:(0,a.dX)(t),filter:function(e){return"category"===e.get("type",!0)}});if(o[0]){var i=new l;i.add(o[0].componentIndex),e.set(t,i),r=!1}}}),this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis((function(t){!e&&(e=t)}),this),"y"===e?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,n=this.get("rangeMode");(0,o.each)([["start","startValue"],["end","endValue"]],(function(r,o){var i=null!=e[r[0]],a=null!=e[r[1]];i&&!a?t[o]="percent":!i&&a?t[o]="value":n?t[o]=n[o]:i&&(t[o]="percent")}))},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis((function(t,n){null==e&&(e=this.ecModel.getComponent((0,a.dX)(t),n))}),this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each((function(n,r){(0,o.each)(n.indexList,(function(n){e.call(t,r,n)}))}))},t.prototype.getAxisProxy=function(e,t){var n=this.getAxisModel(e,t);if(n)return n.__dzAxisProxy},t.prototype.getAxisModel=function(e,t){var n=this._targetAxisInfoMap.get(e);if(n&&n.indexMap[t])return this.ecModel.getComponent((0,a.dX)(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;(0,o.each)([["start","startValue"],["end","endValue"]],(function(r){null==e[r[0]]&&null==e[r[1]]||(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])}),this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;(0,o.each)(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var t,n=this._targetAxisInfoMap.keys(),r=0;r<n.length;r++)for(var o=n[r],i=this._targetAxisInfoMap.get(o),a=0;a<i.indexList.length;a++){var s=this.getAxisProxy(o,i.indexList[a]);if(s.hostedBy(this))return s;t||(t=s)}return t},t.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},t.prototype.getOrient=function(){return this._orient},t.type="dataZoom",t.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],t.defaultOption={z:4,filterMode:"filter",start:0,end:100},t}(i.A);function u(e){var t={};return(0,o.each)(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}t.A=c},72136:function(e,t){"use strict";var n="object"==typeof global&&global&&global.Object===Object&&global;t.A=n},72207:function(e,t,n){"use strict";n.d(t,{CB:function(){return l},NV:function(){return s}});var r=n(61431),o=n(67959);const i=e=>{const t=(0,r.getCurrentInstance)();return(0,r.computed)((()=>{var n,r;return null==(r=null==(n=null==t?void 0:t.proxy)?void 0:n.$props)?void 0:r[e]}))};var a=n(838);const s=(e,t={})=>{const n=(0,r.ref)(void 0),s=t.prop?n:i("size"),l=t.global?n:(0,a.wC)(),c=t.form?{size:void 0}:(0,r.inject)(o.F,void 0),u=t.formItem?{size:void 0}:(0,r.inject)(o.w,void 0);return(0,r.computed)((()=>s.value||(0,r.unref)(e)||(null==u?void 0:u.size)||(null==c?void 0:c.size)||l.value||""))},l=e=>{const t=i("disabled"),n=(0,r.inject)(o.F,void 0);return(0,r.computed)((()=>t.value||(0,r.unref)(e)||(null==n?void 0:n.disabled)||!1))}},72564:function(){!function(){"use strict";var e,t,n=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=function(e){return function(t){return r=typeof(n=t),(null===n?"null":"object"===r&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"===r&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":r)===e;var n,r}},i=function(e){return function(t){return typeof t===e}},a=o("string"),s=o("object"),l=o("array"),c=function(e){return null===e},u=i("boolean"),d=function(e){return!function(e){return null==e}(e)},f=i("function"),h=i("number"),p=function(){},m=function(e){return function(){return e}},g=m(!1),A=m(!0),v=function(){return y},y={fold:function(e,t){return e()},isSome:g,isNone:A,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:m(null),getOrUndefined:m(void 0),or:t,orThunk:e,map:v,each:p,bind:v,exists:g,forall:A,filter:function(){return v()},toArray:function(){return[]},toString:m("none()")},O=function(e){var t=m(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:A,isNone:g,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return O(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:y},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},b={some:O,none:v,from:function(e){return null==e?y:O(e)}},w=Object.keys,_=Object.hasOwnProperty,x=function(e,t){return _.call(e,t)},S=Array.prototype.push,k=function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!l(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);S.apply(t,e[n])}return t};"undefined"!=typeof window?window:Function("return this;")();var C,B=function(e,t,n){!function(e,t,n){if(!(a(n)||u(n)||h(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")}(e.dom,t,n)},Q=function(e){if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},T=Q,E=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),P=tinymce.util.Tools.resolve("tinymce.util.Promise"),$=tinymce.util.Tools.resolve("tinymce.util.URI"),M=tinymce.util.Tools.resolve("tinymce.util.XHR"),z=function(e){return e.getParam("image_dimensions",!0,"boolean")},R=function(e,t){return Math.max(parseInt(e,10),parseInt(t,10))},D=function(e){return e&&(e=e.replace(/px$/,"")),e},I=function(e){return e.length>0&&/^[0-9]+$/.test(e)&&(e+="px"),e},N=function(e){if(e.margin){var t=String(e.margin).split(" ");switch(t.length){case 1:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[0],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[0];break;case 2:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[1];break;case 3:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[1];break;case 4:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[3]}delete e.margin}return e},L=function(e){return"IMG"===e.nodeName&&(e.hasAttribute("data-mce-object")||e.hasAttribute("data-mce-placeholder"))},V=function(e,t){return $.isDomSafe(t,"img",e.settings)},U=E.DOM,F=function(e){return e.style.marginLeft&&e.style.marginRight&&e.style.marginLeft===e.style.marginRight?D(e.style.marginLeft):""},H=function(e){return e.style.marginTop&&e.style.marginBottom&&e.style.marginTop===e.style.marginBottom?D(e.style.marginTop):""},W=function(e){return e.style.borderWidth?D(e.style.borderWidth):""},X=function(e,t){return e.hasAttribute(t)?e.getAttribute(t):""},j=function(e,t){return e.style[t]?e.style[t]:""},q=function(e){return null!==e.parentNode&&"FIGURE"===e.parentNode.nodeName},Z=function(e,t,n){""===n?e.removeAttribute(t):e.setAttribute(t,n)},Y=function(e,t){var n=e.getAttribute("style"),r=t(null!==n?n:"");r.length>0?(e.setAttribute("style",r),e.setAttribute("data-mce-style",r)):e.removeAttribute("style")},G=function(e,t){return function(e,n,r){e.style[n]?(e.style[n]=I(r),Y(e,t)):Z(e,n,r)}},K=function(e,t){return e.style[t]?D(e.style[t]):X(e,t)},J=function(e,t){var n=I(t);e.style.marginLeft=n,e.style.marginRight=n},ee=function(e,t){var n=I(t);e.style.marginTop=n,e.style.marginBottom=n},te=function(e,t){var n=I(t);e.style.borderWidth=n},ne=function(e,t){e.style.borderStyle=t},re=function(e){return"FIGURE"===e.nodeName},oe=function(e){return 0===U.getAttrib(e,"alt").length&&"presentation"===U.getAttrib(e,"role")},ie=function(e){return oe(e)?"":X(e,"alt")},ae=function(e,t){return{src:X(t,"src"),alt:ie(t),title:X(t,"title"),width:K(t,"width"),height:K(t,"height"),class:X(t,"class"),style:e(X(t,"style")),caption:q(t),hspace:F(t),vspace:H(t),border:W(t),borderStyle:j(t,"borderStyle"),isDecorative:oe(t)}},se=function(e,t,n,r,o){n[r]!==t[r]&&o(e,r,n[r])},le=function(e,t,n){if(n){U.setAttrib(e,"role","presentation");var r=T(e);B(r,"alt","")}else c(t)?(r=T(e)).dom.removeAttribute("alt"):(r=T(e),B(r,"alt",t)),"presentation"===U.getAttrib(e,"role")&&U.setAttrib(e,"role","")},ce=function(e,t){return function(n,r,o){e(n,o),Y(n,t)}},ue=function(e,t,n){var r=ae(e,n);se(n,r,t,"caption",(function(e,t,n){return function(e){q(e)?function(e){var t=e.parentNode;U.insertAfter(e,t),U.remove(t)}(e):function(e){var t=U.create("figure",{class:"image"});U.insertAfter(t,e),t.appendChild(e),t.appendChild(U.create("figcaption",{contentEditable:"true"},"Caption")),t.contentEditable="false"}(e)}(e)})),se(n,r,t,"src",Z),se(n,r,t,"title",Z),se(n,r,t,"width",G(0,e)),se(n,r,t,"height",G(0,e)),se(n,r,t,"class",Z),se(n,r,t,"style",ce((function(e,t){return Z(e,"style",t)}),e)),se(n,r,t,"hspace",ce(J,e)),se(n,r,t,"vspace",ce(ee,e)),se(n,r,t,"border",ce(te,e)),se(n,r,t,"borderStyle",ce(ne,e)),function(e,t,n){n.alt===t.alt&&n.isDecorative===t.isDecorative||le(e,n.alt,n.isDecorative)}(n,r,t)},de=function(e,t){var n=e.dom.styles.parse(t),r=N(n),o=e.dom.styles.parse(e.dom.styles.serialize(r));return e.dom.styles.serialize(o)},fe=function(e){var t=e.selection.getNode(),n=e.dom.getParent(t,"figure.image");return n?e.dom.select("img",n)[0]:t&&("IMG"!==t.nodeName||L(t))?null:t},he=function(e,t){var n=e.dom,r=function(t){var n,r={};return function(e,t,n,r){(function(e,t){for(var n=w(e),r=0,o=n.length;r<o;r++){var i=n[r];t(e[i],i)}})(e,(function(e,o){(t(e,o)?n:r)(e,o)}))}(t,(function(t,n){return!e.schema.isValidChild(n,"figure")}),(n=r,function(e,t){n[t]=e}),p),r}(e.schema.getTextBlockElements()),o=n.getParent(t.parentNode,(function(e){return t=r,n=e.nodeName,x(t,n)&&void 0!==t[n]&&null!==t[n];var t,n}),e.getBody());return o?n.split(o,t):t},pe=function(e,t){var n=function(t,n){var o=document.createElement("img");if(ue((function(t){return de(e,t)}),r(r({},n),{caption:!1}),o),le(o,n.alt,n.isDecorative),n.caption){var i=U.create("figure",{class:"image"});return i.appendChild(o),i.appendChild(U.create("figcaption",{contentEditable:"true"},"Caption")),i.contentEditable="false",i}return o}(0,t);e.dom.setAttrib(n,"data-mce-id","__mcenew"),e.focus(),e.selection.setContent(n.outerHTML);var o=e.dom.select('*[data-mce-id="__mcenew"]')[0];if(e.dom.setAttrib(o,"data-mce-id",null),re(o)){var i=he(e,o);e.selection.select(i)}else e.selection.select(o)},me=function(e,t){var n=fe(e);if(n){var o=ae((function(t){return de(e,t)}),n),i=r(r({},o),t),a=function(e,t){var n=t.src;return r(r({},t),{src:V(e,n)?n:""})}(e,i);i.src?function(e,t){var n=fe(e);if(ue((function(t){return de(e,t)}),t,n),function(e,t){e.dom.setAttrib(t,"src",t.getAttribute("src"))}(e,n),re(n.parentNode)){var r=n.parentNode;he(e,r),e.selection.select(n.parentNode)}else e.selection.select(n),function(e,t,n){var r=function(){n.onload=n.onerror=null,e.selection&&(e.selection.select(n),e.nodeChanged())};n.onload=function(){t.width||t.height||!z(e)||e.dom.setAttribs(n,{width:String(n.clientWidth),height:String(n.clientHeight)}),r()},n.onerror=r}(e,t,n)}(e,a):function(e,t){if(t){var n=e.dom.is(t.parentNode,"figure.image")?t.parentNode:t;e.dom.remove(n),e.focus(),e.nodeChanged(),e.dom.isEmpty(e.getBody())&&(e.setContent(""),e.selection.setCursorLocation())}}(e,n)}else t.src&&pe(e,r(r({},{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1}),t))},ge=(C=function(e,t){return s(e)&&s(t)?ge(e,t):t},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)throw new Error("Can't merge zero objects");for(var n={},r=0;r<e.length;r++){var o=e[r];for(var i in o)x(o,i)&&(n[i]=C(n[i],o[i]))}return n}),Ae=tinymce.util.Tools.resolve("tinymce.util.ImageUploader"),ve=tinymce.util.Tools.resolve("tinymce.util.Tools"),ye=function(e){return a(e.value)?e.value:""},Oe=function(e,t){var n=[];return ve.each(e,(function(e){var r=function(e){return a(e.text)?e.text:a(e.title)?e.title:""}(e);if(void 0!==e.menu){var o=Oe(e.menu,t);n.push({text:r,items:o})}else{var i=t(e);n.push({text:r,value:i})}})),n},be=function(e){return void 0===e&&(e=ye),function(t){return t?b.from(t).map((function(t){return Oe(t,e)})):b.none()}},we=function(e,t){return function(e){for(var n=0;n<e.length;n++){var r=function(e){return x(e,"items")}(o=e[n])?we(o.items,t):o.value===t?b.some(o):b.none();if(r.isSome())return r}var o;return b.none()}(e)},_e=be,xe=function(e,t){return e.bind((function(e){return we(e,t)}))},Se=function(e){var t,n=_e((function(t){return e.convertURL(t.value||t.url,"src")})),r=new P((function(t){!function(e,t){var n=function(e){return e.getParam("image_list",!1)}(e);a(n)?M.send({url:n,success:function(e){t(JSON.parse(e))}}):f(n)?n(t):t(n)}(e,(function(e){t(n(e).map((function(e){return k([[{text:"None",value:""}],e])})))}))})),o=(t=function(e){return e.getParam("image_class_list")}(e),be(ye)(t)),i=function(e){return e.getParam("image_advtab",!1,"boolean")}(e),s=function(e){return e.getParam("image_uploadtab",!0,"boolean")}(e),l=function(e){return d(e.getParam("images_upload_url"))}(e),c=function(e){return d(e.getParam("images_upload_handler"))}(e),u=function(e){var t=fe(e);return t?ae((function(t){return de(e,t)}),t):{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1}}(e),h=function(e){return e.getParam("image_description",!0,"boolean")}(e),p=function(e){return e.getParam("image_title",!1,"boolean")}(e),m=z(e),g=function(e){return e.getParam("image_caption",!1,"boolean")}(e),A=function(e){return e.getParam("a11y_advanced_options",!1,"boolean")}(e),v=function(e){return e.getParam("automatic_uploads",!0,"boolean")}(e),y=b.some(function(e){return e.getParam("image_prepend_url","","string")}(e)).filter((function(e){return a(e)&&e.length>0}));return r.then((function(e){return{image:u,imageList:e,classList:o,hasAdvTab:i,hasUploadTab:s,hasUploadUrl:l,hasUploadHandler:c,hasDescription:h,hasImageTitle:p,hasDimensions:m,hasImageCaption:g,prependURL:y,hasAccessibilityOptions:A,automaticUploads:v}}))},ke=function(e){var t,n=e.imageList.map((function(e){return{name:"images",type:"listbox",label:"Image list",items:e}})),o={name:"alt",type:"input",label:"Alternative description",disabled:e.hasAccessibilityOptions&&e.image.isDecorative},i=e.classList.map((function(e){return{name:"classes",type:"listbox",label:"Class",items:e}}));return k([[{name:"src",type:"urlinput",filetype:"image",label:"Source"}],n.toArray(),e.hasAccessibilityOptions&&e.hasDescription?[{type:"label",label:"Accessibility",items:[{name:"isDecorative",type:"checkbox",label:"Image is decorative"}]}]:[],e.hasDescription?[o]:[],e.hasImageTitle?[{name:"title",type:"input",label:"Image title"}]:[],e.hasDimensions?[{name:"dimensions",type:"sizeinput"}]:[],[r(r({},(t=e.classList.isSome()&&e.hasImageCaption,t?{type:"grid",columns:2}:{type:"panel"})),{items:k([i.toArray(),e.hasImageCaption?[{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[]])})]])},Ce=function(e){return{title:"General",name:"general",items:ke(e)}},Be=ke,Qe=function(e){return{src:{value:e.src,meta:{}},images:e.src,alt:e.alt,title:e.title,dimensions:{width:e.width,height:e.height},classes:e.class,caption:e.caption,style:e.style,vspace:e.vspace,border:e.border,hspace:e.hspace,borderstyle:e.borderStyle,fileinput:[],isDecorative:e.isDecorative}},Te=function(e,t){return{src:e.src.value,alt:0===e.alt.length&&t?null:e.alt,title:e.title,width:e.dimensions.width,height:e.dimensions.height,class:e.classes,style:e.style,caption:e.caption,hspace:e.hspace,vspace:e.vspace,border:e.border,borderStyle:e.borderstyle,isDecorative:e.isDecorative}},Ee=function(e,t,n,r){(function(e,t){var n=t.getData();(function(e,t){return/^(?:[a-zA-Z]+:)?\/\//.test(t)?b.none():e.prependURL.bind((function(e){return t.substring(0,e.length)!==e?b.some(e+t):b.none()}))})(e,n.src.value).each((function(e){t.setData({src:{value:e,meta:n.src.meta}})}))})(t,r),function(e,t){var n=t.getData(),r=n.src.meta;if(void 0!==r){var o=ge({},n);!function(e,t,n){e.hasDescription&&a(n.alt)&&(t.alt=n.alt),e.hasAccessibilityOptions&&(t.isDecorative=n.isDecorative||t.isDecorative||!1),e.hasImageTitle&&a(n.title)&&(t.title=n.title),e.hasDimensions&&(a(n.width)&&(t.dimensions.width=n.width),a(n.height)&&(t.dimensions.height=n.height)),a(n.class)&&xe(e.classList,n.class).each((function(e){t.classes=e.value})),e.hasImageCaption&&u(n.caption)&&(t.caption=n.caption),e.hasAdvTab&&(a(n.style)&&(t.style=n.style),a(n.vspace)&&(t.vspace=n.vspace),a(n.border)&&(t.border=n.border),a(n.hspace)&&(t.hspace=n.hspace),a(n.borderstyle)&&(t.borderstyle=n.borderstyle))}(e,o,r),t.setData(o)}}(t,r),function(e,t,n,r){var o=r.getData(),i=o.src.value,a=o.src.meta||{};a.width||a.height||!t.hasDimensions||(i.length>0?e.imageSize(i).then((function(e){n.open&&r.setData({dimensions:e})})).catch((function(e){return console.error(e)})):r.setData({dimensions:{width:"",height:""}}))}(e,t,n,r),function(e,t,n){var r=n.getData(),o=xe(e.imageList,r.src.value);t.prevImage=o,n.setData({images:o.map((function(e){return e.value})).getOr("")})}(t,n,r)},Pe=function(e,t,n,r){var o,i=r.getData();r.block("Uploading image"),(o=i.fileinput,function(e){return 0<e.length?b.some(e[0]):b.none()}(o)).fold((function(){r.unblock()}),(function(o){var i,a=URL.createObjectURL(o),s=function(){r.unblock(),URL.revokeObjectURL(a)},l=function(o){r.setData({src:{value:o,meta:{}}}),r.showTab("general"),Ee(e,t,n,r)};(i=o,new P((function(e,t){var n=new FileReader;n.onload=function(){e(n.result)},n.onerror=function(){t(n.error.message)},n.readAsDataURL(i)}))).then((function(n){var i=e.createBlobCache(o,a,n);t.automaticUploads?e.uploadImage(i).then((function(e){l(e.url),s()})).catch((function(t){s(),e.alertErr(t)})):(e.addToBlobCache(i),l(i.blobUri()),r.unblock())}))}))},$e=function(e,t,n){return function(r,o){"src"===o.name?Ee(e,t,n,r):"images"===o.name?function(e,t,n,r){var o=r.getData(),i=xe(t.imageList,o.images);i.each((function(e){var t=""===o.alt||n.prevImage.map((function(e){return e.text===o.alt})).getOr(!1);t?""===e.value?r.setData({src:e,alt:n.prevAlt}):r.setData({src:e,alt:e.text}):r.setData({src:e})})),n.prevImage=i,Ee(e,t,n,r)}(e,t,n,r):"alt"===o.name?n.prevAlt=r.getData().alt:"style"===o.name?function(e,t){var n=t.getData(),r=function(e,t,n){var r=N(e(n.style)),o=ge({},n);return o.vspace=function(e){return e["margin-top"]&&e["margin-bottom"]&&e["margin-top"]===e["margin-bottom"]?D(String(e["margin-top"])):""}(r),o.hspace=function(e){return e["margin-right"]&&e["margin-left"]&&e["margin-right"]===e["margin-left"]?D(String(e["margin-right"])):""}(r),o.border=function(e){return e["border-width"]?D(String(e["border-width"])):""}(r),o.borderstyle=function(e){return e["border-style"]?String(e["border-style"]):""}(r),o.style=function(e,t,n){return t(e(t(n)))}(e,t,r),o}(e.parseStyle,e.serializeStyle,n);t.setData(r)}(e,r):"vspace"===o.name||"hspace"===o.name||"border"===o.name||"borderstyle"===o.name?function(e,t,n){var r=ge(Qe(t.image),n.getData()),o=function(e,t){var n=document.createElement("img");return Z(n,"style",t.style),(F(n)||""!==t.hspace)&&J(n,t.hspace),(H(n)||""!==t.vspace)&&ee(n,t.vspace),(W(n)||""!==t.border)&&te(n,t.border),(function(e){return j(e,"borderStyle")}(n)||""!==t.borderStyle)&&ne(n,t.borderStyle),e(n.getAttribute("style"))}(e.normalizeCss,Te(r,!1));n.setData({style:o})}(e,t,r):"fileinput"===o.name?Pe(e,t,n,r):"isDecorative"===o.name&&(r.getData().isDecorative?r.disable("alt"):r.enable("alt"))}},Me=function(e){return function(){e.open=!1}},ze=function(e){return e.hasAdvTab||e.hasUploadUrl||e.hasUploadHandler?{type:"tabpanel",tabs:k([[Ce(e)],e.hasAdvTab?[{title:"Advanced",name:"advanced",items:[{type:"input",label:"Style",name:"style"},{type:"grid",columns:2,items:[{type:"input",label:"Vertical space",name:"vspace",inputMode:"numeric"},{type:"input",label:"Horizontal space",name:"hspace",inputMode:"numeric"},{type:"input",label:"Border width",name:"border",inputMode:"numeric"},{type:"listbox",name:"borderstyle",label:"Border style",items:[{text:"Select...",value:""},{text:"Solid",value:"solid"},{text:"Dotted",value:"dotted"},{text:"Dashed",value:"dashed"},{text:"Double",value:"double"},{text:"Groove",value:"groove"},{text:"Ridge",value:"ridge"},{text:"Inset",value:"inset"},{text:"Outset",value:"outset"},{text:"None",value:"none"},{text:"Hidden",value:"hidden"}]}]}]}]:[],e.hasUploadTab&&(e.hasUploadUrl||e.hasUploadHandler)?[{title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput"}]}]:[]])}:{type:"panel",items:Be(e)}},Re=function(e){return function(t){return function(n){var r=ge(Qe(t.image),n.getData());e.execCommand("mceUpdateImage",!1,Te(r,t.hasAccessibilityOptions)),e.editorUpload.uploadImagesAuto(),n.close()}}},De=function(e){return function(t){return V(e,t)?function(e){return new P((function(t){var n=document.createElement("img"),r=function(e){n.onload=n.onerror=null,n.parentNode&&n.parentNode.removeChild(n),t(e)};n.onload=function(){var e={width:R(n.width,n.clientWidth),height:R(n.height,n.clientHeight)};r(P.resolve(e))},n.onerror=function(){r(P.reject("Failed to get image dimensions for: "+e))};var o=n.style;o.visibility="hidden",o.position="fixed",o.bottom=o.left="0px",o.width=o.height="auto",document.body.appendChild(n),n.src=e}))}(e.documentBaseURI.toAbsolute(t)).then((function(e){return{width:String(e.width),height:String(e.height)}})):P.resolve({width:"",height:""})}},Ie=function(e){return function(t,n,r){return e.editorUpload.blobCache.create({blob:t,blobUri:n,name:t.name?t.name.replace(/\.[^\.]+$/,""):null,filename:t.name,base64:r.split(",")[1]})}},Ne=function(e){return function(t){e.editorUpload.blobCache.add(t)}},Le=function(e){return function(t){e.windowManager.alert(t)}},Ve=function(e){return function(t){return de(e,t)}},Ue=function(e){return function(t){return e.dom.parseStyle(t)}},Fe=function(e){return function(t,n){return e.dom.serializeStyle(t,n)}},He=function(e){return function(t){return Ae(e).upload([t],!1).then((function(e){return 0===e.length?P.reject("Failed to upload image"):!1===e[0].status?P.reject(e[0].error.message):e[0]}))}},We=function(e){var t={onSubmit:Re(e),imageSize:De(e),addToBlobCache:Ne(e),createBlobCache:Ie(e),alertErr:Le(e),normalizeCss:Ve(e),parseStyle:Ue(e),serializeStyle:Fe(e),uploadImage:He(e)};return{open:function(){Se(e).then(function(e){return function(t){var n=function(e){return{prevImage:xe(e.imageList,e.image.src),prevAlt:e.image.alt,open:!0}}(t);return{title:"Insert/Edit Image",size:"normal",body:ze(t),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:Qe(t.image),onSubmit:e.onSubmit(t),onChange:$e(e,t,n),onClose:Me(n)}}}(t)).then(e.windowManager.open)}}},Xe=function(e){var t=e.attr("class");return t&&/\bimage\b/.test(t)},je=function(e){return function(t){for(var n=t.length,r=function(t){t.attr("contenteditable",e?"true":null)};n--;){var o=t[n];Xe(o)&&(o.attr("contenteditable",e?"false":null),ve.each(o.getAll("figcaption"),r))}}};n.add("image",(function(e){!function(e){e.on("PreInit",(function(){e.parser.addNodeFilter("figure",je(!0)),e.serializer.addNodeFilter("figure",je(!1))}))}(e),function(e){e.ui.registry.addToggleButton("image",{icon:"image",tooltip:"Insert/edit image",onAction:We(e).open,onSetup:function(t){return t.setActive(d(fe(e))),e.selection.selectorChangedWithUnbind("img:not([data-mce-object],[data-mce-placeholder]),figure.image",t.setActive).unbind}}),e.ui.registry.addMenuItem("image",{icon:"image",text:"Image...",onAction:We(e).open}),e.ui.registry.addContextMenu("image",{update:function(e){return re(e)||"IMG"===e.nodeName&&!L(e)?["image"]:[]}})}(e),function(e){e.addCommand("mceImage",We(e).open),e.addCommand("mceUpdateImage",(function(t,n){e.undoManager.transact((function(){return me(e,n)}))}))}(e)}))}()},72589:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r={axisPointer:1,tooltip:1,brush:1};function o(e,t,n){var o=t.getComponentByElement(e.topTarget),i=o&&o.coordinateSystem;return o&&o!==n&&!r.hasOwnProperty(o.mainType)&&i&&i.model!==n}},72652:function(e,t,n){"use strict";var r=n(76080),o=n(69565),i=n(28551),a=n(16823),s=n(44209),l=n(26198),c=n(1625),u=n(70081),d=n(50851),f=n(9539),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;e.exports=function(e,t,n){var g,A,v,y,O,b,w,_=n&&n.that,x=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),k=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),B=r(t,_),Q=function(e){return g&&f(g,"normal",e),new p(!0,e)},T=function(e){return x?(i(e),C?B(e[0],e[1],Q):B(e[0],e[1])):C?B(e,Q):B(e)};if(S)g=e.iterator;else if(k)g=e;else{if(!(A=d(e)))throw new h(a(e)+" is not iterable");if(s(A)){for(v=0,y=l(e);y>v;v++)if((O=T(e[v]))&&c(m,O))return O;return new p(!1)}g=u(e,A)}for(b=S?e.next:g.next;!(w=o(b,g)).done;){try{O=T(w.value)}catch(e){f(g,"throw",e)}if("object"==typeof O&&O&&c(m,O))return O}return new p(!1)}},72777:function(e,t,n){"use strict";var r=n(69565),o=n(20034),i=n(10757),a=n(55966),s=n(84270),l=n(78227),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,l=a(e,u);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!o(n)||i(n))return n;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},72832:function(e,t,n){var r=n(40481);e.exports=function(e){return e&&e.trimRight?e.trimRight():r(e).replace(/[\s\uFEFF\xA0]+$/g,"")}},73098:function(e,t,n){"use strict";n.d(t,{Y5:function(){return o},_S:function(){return a},el:function(){return s},ps:function(){return i},tY:function(){return l}});var r=1;n(38123).A.hasGlobalWindow&&(r=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=r,i=.4,a="#333",s="#ccc",l="#eee"},73100:function(e,t,n){"use strict";n.d(t,{a:function(){return j}});var r=n(15215),o=n(59109),i=n(15915),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(i.A),s=a,l=n(10992),c=n(98026),u=n(12462),d=n(48170),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",d.US).models[0]},t.type="cartesian2dAxis",t}(i.A);c.mixin(f,u.L);var h=n(34674),p=n(34253),m=n(50626),g=n(29308),A=function(){function e(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return e.prototype.getAxis=function(e){return this._axes[e]},e.prototype.getAxes=function(){return c.map(this._dimList,(function(e){return this._axes[e]}),this)},e.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),c.filter(this.getAxes(),(function(t){return t.scale.type===e}))},e.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},e}(),v=n(45587),y=n(83509),O=["x","y"];function b(e){return"interval"===e.type||"time"===e.type}var w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=O,t}return(0,r.C6)(t,e),t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,t=this.getAxis("y").scale;if(b(e)&&b(t)){var n=e.getExtent(),r=t.getExtent(),o=this.dataToPoint([n[0],r[0]]),i=this.dataToPoint([n[1],r[1]]),a=n[1]-n[0],s=r[1]-r[0];if(a&&s){var l=(i[0]-o[0])/a,c=(i[1]-o[1])/s,u=o[0]-n[0]*l,d=o[1]-r[0]*c,f=this._transform=[l,0,0,c,u,d];this._invTransform=(0,v.invert)([],f)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,t){var n=this.dataToPoint(e),r=this.dataToPoint(t),o=this.getArea(),i=new g.A(n[0],n[1],r[0]-n[0],r[1]-n[1]);return o.intersect(i)},t.prototype.dataToPoint=function(e,t,n){n=n||[];var r=e[0],o=e[1];if(this._transform&&null!=r&&isFinite(r)&&null!=o&&isFinite(o))return(0,y.applyTransform)(n,e,this._transform);var i=this.getAxis("x"),a=this.getAxis("y");return n[0]=i.toGlobalCoord(i.dataToCoord(r,t)),n[1]=a.toGlobalCoord(a.dataToCoord(o,t)),n},t.prototype.clampData=function(e,t){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,o=n.getExtent(),i=r.getExtent(),a=n.parse(e[0]),s=r.parse(e[1]);return(t=t||[])[0]=Math.min(Math.max(Math.min(o[0],o[1]),a),Math.max(o[0],o[1])),t[1]=Math.min(Math.max(Math.min(i[0],i[1]),s),Math.max(i[0],i[1])),t},t.prototype.pointToData=function(e,t){var n=[];if(this._invTransform)return(0,y.applyTransform)(n,e,this._invTransform);var r=this.getAxis("x"),o=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(e[0]),t),n[1]=o.coordToData(o.toLocalCoord(e[1]),t),n},t.prototype.getOtherAxis=function(e){return this.getAxis("x"===e.dim?"y":"x")},t.prototype.getArea=function(e){e=e||0;var t=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),r=Math.min(t[0],t[1])-e,o=Math.min(n[0],n[1])-e,i=Math.max(t[0],t[1])-r+e,a=Math.max(n[0],n[1])-o+e;return new g.A(r,o,i,a)},t}(A),_=w,x=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n,r)||this;return a.index=0,a.type=o||"value",a.position=i||"bottom",a}return(0,r.C6)(t,e),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.getGlobalExtent=function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},t.prototype.pointToData=function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},t.prototype.setCategorySortInfo=function(e){if("category"!==this.type)return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(n(33423).A),S=n(96878),k=n(67071),C=n(3486),B=function(){function e(e,t,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=O,this._initCartesian(e,t,n),this.model=e}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(e,t){var n=this._axesMap;function r(e){var t,n=(0,c.keys)(e),r=n.length;if(r){for(var o=[],i=r-1;i>=0;i--){var a=e[+n[i]],s=a.model,l=a.scale;(0,k.rf)(l)&&s.get("alignTicks")&&null==s.get("interval")?o.push(a):((0,m.af)(l,s),(0,k.rf)(l)&&(t=a))}o.length&&(t||(t=o.pop(),(0,m.af)(t.scale,t.model)),(0,c.each)(o,(function(e){(0,C.m)(e.scale,e.model,t.scale)})))}}this._updateScale(e,this.model),r(n.x),r(n.y);var o={};(0,c.each)(n.x,(function(e){T(n,"y",e,o)})),(0,c.each)(n.y,(function(e){T(n,"x",e,o)})),this.resize(this.model,t)},e.prototype.resize=function(e,t,n){var r=e.getBoxLayoutParams(),o=!n&&e.get("containLabel"),i=(0,p.dV)(r,{width:t.getWidth(),height:t.getHeight()});this._rect=i;var a=this._axesList;function s(){(0,c.each)(a,(function(e){var t=e.isHorizontal(),n=t?[0,i.width]:[0,i.height],r=e.inverse?1:0;e.setExtent(n[r],n[1-r]),function(e,t){var n=e.getExtent(),r=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return r-e+t}}(e,t?i.x:i.y)}))}s(),o&&((0,c.each)(a,(function(e){if(!e.model.get(["axisLabel","inside"])){var t=(0,m.Og)(e);if(t){var n=e.isHorizontal()?"height":"width",r=e.model.get(["axisLabel","margin"]);i[n]-=t[n]+r,"top"===e.position?i.y+=t.height+r:"left"===e.position&&(i.x+=t.width+r)}}})),s()),(0,c.each)(this._coordsList,(function(e){e.calcAffineTransform()}))},e.prototype.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n)return n[t||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}(0,c.isObject)(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var r=0,o=this._coordsList;r<o.length;r++)if(o[r].getAxis("x").index===e||o[r].getAxis("y").index===t)return o[r]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(e,t,n){var r=this._findConvertTarget(t);return r.cartesian?r.cartesian.dataToPoint(n):r.axis?r.axis.toGlobalCoord(r.axis.dataToCoord(n)):null},e.prototype.convertFromPixel=function(e,t,n){var r=this._findConvertTarget(t);return r.cartesian?r.cartesian.pointToData(n):r.axis?r.axis.coordToData(r.axis.toLocalCoord(n)):null},e.prototype._findConvertTarget=function(e){var t,n,r=e.seriesModel,o=e.xAxisModel||r&&r.getReferringComponents("xAxis",d.US).models[0],i=e.yAxisModel||r&&r.getReferringComponents("yAxis",d.US).models[0],a=e.gridModel,s=this._coordsList;return r?(t=r.coordinateSystem,(0,c.indexOf)(s,t)<0&&(t=null)):o&&i?t=this.getCartesian(o.componentIndex,i.componentIndex):o?n=this.getAxis("x",o.componentIndex):i?n=this.getAxis("y",i.componentIndex):a&&a.coordinateSystem===this&&(t=this._coordsList[0]),{cartesian:t,axis:n}},e.prototype.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},e.prototype._initCartesian=function(e,t,n){var r=this,o=this,i={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(t.eachComponent("xAxis",l("x"),this),t.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(t){return function(n,r){if(Q(n,e)){var l=n.get("position");"x"===t?"top"!==l&&"bottom"!==l&&(l=i.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=i.left?"right":"left"),i[l]=!0;var c=new x(t,(0,m.f$)(n),[0,0],n.get("type"),l),u="category"===c.type;c.onBand=u&&n.get("boundaryGap"),c.inverse=n.get("inverse"),n.axis=c,c.model=n,c.grid=o,c.index=r,o._axesList.push(c),a[t][r]=c,s[t]++}}}this._axesMap=a,(0,c.each)(a.x,(function(t,n){(0,c.each)(a.y,(function(o,i){var a="x"+n+"y"+i,s=new _(a);s.master=r,s.model=e,r._coordsMap[a]=s,r._coordsList.push(s),s.addAxis(t),s.addAxis(o)}))}))},e.prototype._updateScale=function(e,t){function n(e,t){(0,c.each)((0,m.wq)(e,t.dim),(function(n){t.scale.unionExtentFromData(e,n)}))}(0,c.each)(this._axesList,(function(e){if(e.scale.setExtent(1/0,-1/0),"category"===e.type){var t=e.model.get("categorySortInfo");e.scale.setSortInfo(t)}})),e.eachSeries((function(e){if((0,S.gO)(e)){var r=(0,S.LR)(e),o=r.xAxisModel,i=r.yAxisModel;if(!Q(o,t)||!Q(i,t))return;var a=this.getCartesian(o.componentIndex,i.componentIndex),s=e.getData(),l=a.getAxis("x"),c=a.getAxis("y");n(s,l),n(s,c)}}),this)},e.prototype.getTooltipAxes=function(e){var t=[],n=[];return(0,c.each)(this.getCartesians(),(function(r){var o=null!=e&&"auto"!==e?r.getAxis(e):r.getBaseAxis(),i=r.getOtherAxis(o);(0,c.indexOf)(t,o)<0&&t.push(o),(0,c.indexOf)(n,i)<0&&n.push(i)})),{baseAxes:t,otherAxes:n}},e.create=function(t,n){var r=[];return t.eachComponent("grid",(function(o,i){var a=new e(o,t,n);a.name="grid_"+i,a.resize(o,n,!0),o.coordinateSystem=a,r.push(a)})),t.eachSeries((function(e){if((0,S.gO)(e)){var t=(0,S.LR)(e),n=t.xAxisModel,r=t.yAxisModel,o=n.getCoordSysModel().coordinateSystem;e.coordinateSystem=o.getCartesian(n.componentIndex,r.componentIndex)}})),r},e.dimensions=O,e}();function Q(e,t){return e.getCoordSysModel()===t}function T(e,t,n,r){n.getAxesOnZeroOf=function(){return o?[o]:[]};var o,i=e[t],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)E(i[l])&&(o=i[l]);else for(var c in i)if(i.hasOwnProperty(c)&&E(i[c])&&!r[u(i[c])]){o=i[c];break}o&&(r[u(o)]=!0)}function u(e){return e.dim+"_"+e.index}}function E(e){return e&&"category"!==e.type&&"time"!==e.type&&(0,m.JJ)(e)}var P=B,$=n(43870),M=n(43199),z=n(82861),R=n(89598),D=n(22480),I=n(35369),N=["axisLine","axisTickLabel","axisName"],L=["splitArea","splitLine","minorSplitLine"],V=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="CartesianAxisPointer",n}return(0,r.C6)(t,e),t.prototype.render=function(t,n,r,o){this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new $.A,this.group.add(this._axisGroup),t.get("show")){var a=t.getCoordSysModel(),s=S.Zp(a,t),l=new R.A(t,c.extend({handleAutoShown:function(e){for(var n=a.coordinateSystem.getCartesians(),r=0;r<n.length;r++)if((0,k.rf)(n[r].getOtherAxis(t.axis).scale))return!0;return!1}},s));c.each(N,l.add,l),this._axisGroup.add(l.getGroup()),c.each(L,(function(e){t.get([e,"show"])&&U[e](this,this._axisGroup,t,a)}),this),o&&"changeAxisOrder"===o.type&&o.isInitSort||M.groupTransition(i,this._axisGroup,t),e.prototype.render.call(this,t,n,r,o)}},t.prototype.remove=function(){(0,I.V)(this)},t.type="cartesianAxis",t}(D.A),U={splitLine:function(e,t,n,r){var o=n.axis;if(!o.scale.isBlank()){var i=n.getModel("splitLine"),a=i.getModel("lineStyle"),s=a.get("color"),l=!1!==i.get("showMinLine"),u=!1!==i.get("showMaxLine");s=c.isArray(s)?s:[s];for(var d=r.coordinateSystem.getRect(),f=o.isHorizontal(),h=0,p=o.getTicksCoords({tickModel:i}),m=[],g=[],A=a.getLineStyle(),v=0;v<p.length;v++){var y=o.toGlobalCoord(p[v].coord);if((0!==v||l)&&(v!==p.length-1||u)){var O=p[v].tickValue;f?(m[0]=y,m[1]=d.y,g[0]=y,g[1]=d.y+d.height):(m[0]=d.x,m[1]=y,g[0]=d.x+d.width,g[1]=y);var b=h++%s.length,w=new z.A({anid:null!=O?"line_"+O:null,autoBatch:!0,shape:{x1:m[0],y1:m[1],x2:g[0],y2:g[1]},style:c.defaults({stroke:s[b]},A),silent:!0});M.subPixelOptimizeLine(w.shape,A.lineWidth),t.add(w)}}}},minorSplitLine:function(e,t,n,r){var o=n.axis,i=n.getModel("minorSplitLine").getModel("lineStyle"),a=r.coordinateSystem.getRect(),s=o.isHorizontal(),l=o.getMinorTicksCoords();if(l.length)for(var c=[],u=[],d=i.getLineStyle(),f=0;f<l.length;f++)for(var h=0;h<l[f].length;h++){var p=o.toGlobalCoord(l[f][h].coord);s?(c[0]=p,c[1]=a.y,u[0]=p,u[1]=a.y+a.height):(c[0]=a.x,c[1]=p,u[0]=a.x+a.width,u[1]=p);var m=new z.A({anid:"minor_line_"+l[f][h].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:u[0],y2:u[1]},style:d,silent:!0});M.subPixelOptimizeLine(m.shape,d.lineWidth),t.add(m)}},splitArea:function(e,t,n,r){(0,I.Y)(e,t,n,r)}},F=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.C6)(t,e),t.type="xAxis",t}(V),H=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=F.type,t}return(0,r.C6)(t,e),t.type="yAxis",t}(V),W=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="grid",t}return(0,r.C6)(t,e),t.prototype.render=function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new l.A({shape:e.coordinateSystem.getRect(),style:(0,c.defaults)({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(o.A),X={offset:0};function j(e){e.registerComponentView(W),e.registerComponentModel(s),e.registerCoordinateSystem("cartesian2d",P),(0,h.A)(e,"x",f,X),(0,h.A)(e,"y",f,X),e.registerComponentView(F),e.registerComponentView(H),e.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))}},73183:function(e){e.exports={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"}},73217:function(e,t,n){var r=n(15980),o=n(59988);e.exports=function(e,t){return r(o(e),o(t))}},73223:function(e,t,n){var r=n(51780);e.exports=function(e,t){var n=r(arguments,2);return function(){return e.apply(t,r(arguments).concat(n))}}},73367:function(e){e.exports=function(e){return Date.UTC(e.y,e.M||0,e.d||1,e.H||0,e.m||0,e.s||0,e.S||0)}},73416:function(e,t,n){"use strict";n.d(t,{a:function(){return ee}});var r=n(97063),o=n(3087),i=n(15215),a=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(n(15915).A),s=a,l=n(98026),c=n(38123),u=n(35452),d=n(44265),f=n(83412);function h(e){var t=e.get("confine");return null!=t?!!t:"richText"===e.get("renderMode")}function p(e){if(c.A.domSupported)for(var t=document.documentElement.style,n=0,r=e.length;n<r;n++)if(e[n]in t)return e[n]}var m=p(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),g=p(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function A(e,t){if(!e)return t;t=(0,f.Cb)(t,!0);var n=e.indexOf(t);return(e=-1===n?t:"-"+e.slice(0,n)+"-"+t).toLowerCase()}var v=n(3961),y=A(g,"transition"),O=A(m,"transform"),b="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(c.A.transform3dSupported?"will-change:transform;":"");function w(e,t,n){var r=e.toFixed(0)+"px",o=t.toFixed(0)+"px";if(!c.A.transformSupported)return n?"top:"+o+";left:"+r+";":[["top",o],["left",r]];var i=c.A.transform3dSupported,a="translate"+(i?"3d":"")+"("+r+","+o+(i?",0":"")+")";return n?"top:0;left:0;"+O+":"+a+";":[["top",0],["left",0],[m,a]]}function _(e,t,n,r,o){var i=t&&t.painter;if(n){var a=i&&i.getViewportRoot();a&&(0,d.lJ)(e,a,n,r,o)}else{e[0]=r,e[1]=o;var s=i&&i.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var x=function(){function e(e,t){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,c.A.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var r=this._zr=e.getZr(),o=t.appendTo,i=o&&((0,l.isString)(o)?document.querySelector(o):(0,l.isDom)(o)?o:(0,l.isFunction)(o)&&o(e.getDom()));_(this._styleCoord,r,i,e.getWidth()/2,e.getHeight()/2),(i||e.getDom()).appendChild(n),this._api=e,this._container=i;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(e){if(e=e||window.event,!a._enterable){var t=r.handler,n=r.painter.getViewportRoot();(0,u.e0)(n,e,!0),t.dispatch("mousemove",e)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return e.prototype.update=function(e){if(!this._container){var t=this._api.getDom(),n=(i="position",(a=(o=t).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(o))?i?a[i]:a:null),r=t.style;"absolute"!==r.position&&"absolute"!==n&&(r.position="relative")}var o,i,a,s=e.get("alwaysShowContent");s&&this._moveIfResized(),this._alwaysShowContent=s,this.el.className=e.get("className")||""},e.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,o=this._styleCoord;n.innerHTML?r.cssText=b+function(e,t,n){var r=[],o=e.get("transitionDuration"),i=e.get("backgroundColor"),a=e.get("shadowBlur"),s=e.get("shadowColor"),u=e.get("shadowOffsetX"),d=e.get("shadowOffsetY"),h=e.getModel("textStyle"),p=(0,v.CO)(e,"html"),m=u+"px "+d+"px "+a+"px "+s;return r.push("box-shadow:"+m),t&&o&&r.push(function(e,t){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+e/2+"s "+n,o="opacity"+r+",visibility"+r;return t||(r=" "+e+"s "+n,o+=c.A.transformSupported?","+O+r:",left"+r+",top"+r),y+":"+o}(o,n)),i&&r.push("background-color:"+i),(0,l.each)(["width","color","radius"],(function(t){var n="border-"+t,o=(0,f.Cb)(n),i=e.get(o);null!=i&&r.push(n+":"+i+("color"===t?"":"px"))})),r.push(function(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont());var o=(0,l.retrieve2)(e.get("lineHeight"),Math.round(3*n/2));n&&t.push("line-height:"+o+"px");var i=e.get("textShadowColor"),a=e.get("textShadowBlur")||0,s=e.get("textShadowOffsetX")||0,c=e.get("textShadowOffsetY")||0;return i&&a&&t.push("text-shadow:"+s+"px "+c+"px "+a+"px "+i),(0,l.each)(["decoration","align"],(function(n){var r=e.get(n);r&&t.push("text-"+n+":"+r)})),t.join(";")}(h)),null!=p&&r.push("padding:"+(0,f.QX)(p).join("px ")+"px"),r.join(";")+";"}(e,!this._firstShow,this._longHide)+w(o[0],o[1],!0)+"border-color:"+(0,f.he)(t)+";"+(e.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(e,t,n,r,o){var i=this.el;if(null!=e){var a="";if((0,l.isString)(o)&&"item"===n.get("trigger")&&!h(n)&&(a=function(e,t,n){if(!(0,l.isString)(n)||"inside"===n)return"";var r=e.get("backgroundColor"),o=e.get("borderWidth");t=(0,f.he)(t);var i,a,s="left"===(i=n)?"right":"right"===i?"left":"top"===i?"bottom":"top",c=Math.max(1.5*Math.round(o),6),u="",d=O+":";(0,l.indexOf)(["left","right"],s)>-1?(u+="top:50%",d+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",d+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var h=a*Math.PI/180,p=c+o,m=p*Math.abs(Math.cos(h))+p*Math.abs(Math.sin(h)),g=t+" solid "+o+"px;";return'<div style="'+["position:absolute;width:"+c+"px;height:"+c+"px;z-index:-1;",(u+=";"+s+":-"+Math.round(100*((m-Math.SQRT2*o)/2+Math.SQRT2*o-(m-p)/2))/100+"px")+";"+d+";","border-bottom:"+g,"border-right:"+g,"background-color:"+r+";"].join("")+'"></div>'}(n,r,o)),(0,l.isString)(e))i.innerHTML=e+a;else if(e){i.innerHTML="",(0,l.isArray)(e)||(e=[e]);for(var s=0;s<e.length;s++)(0,l.isDom)(e[s])&&e[s].parentNode!==i&&i.appendChild(e[s]);if(a&&i.childNodes.length){var c=document.createElement("div");c.innerHTML=a,i.appendChild(c)}}}else i.innerHTML=""},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el;return e?[e.offsetWidth,e.offsetHeight]:[0,0]},e.prototype.moveTo=function(e,t){if(this.el){var n=this._styleCoord;if(_(n,this._zr,this._container,e,t),null!=n[0]&&null!=n[1]){var r=this.el.style,o=w(n[0],n[1]);(0,l.each)(o,(function(e){r[e[0]]=e[1]}))}}},e.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},e.prototype.hide=function(){var e=this,t=this.el.style;t.visibility="hidden",t.opacity="0",c.A.transform3dSupported&&(t.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return e._longHide=!0}),500)},e.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout((0,l.bind)(this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var e=this.el.parentNode;e&&e.removeChild(this.el),this.el=this._container=null},e}(),S=x,k=n(32322),C=n(41025),B=function(){function e(e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=e.getZr(),E(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}return e.prototype.update=function(e){var t=e.get("alwaysShowContent");t&&this._moveIfResized(),this._alwaysShowContent=t},e.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},e.prototype.setContent=function(e,t,n,r,o){var i=this;l.isObject(e)&&(0,C.$8)(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new k.Ay({style:{rich:t.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:r,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,v.CO)(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),l.each(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(e){i.el.style[e]=n.get(e)})),l.each(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(e){i.el.style[e]=a.get(e)||0})),this._zr.add(this.el);var s=this;this.el.on("mouseover",(function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0})),this.el.on("mouseout",(function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1}))},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el,t=this.el.getBoundingRect(),n=T(e.style);return[t.width+n.left+n.right,t.height+n.top+n.bottom]},e.prototype.moveTo=function(e,t){var n=this.el;if(n){var r=this._styleCoord;E(r,this._zr,e,t),e=r[0],t=r[1];var o=n.style,i=Q(o.borderWidth||0),a=T(o);n.x=e+i+a.left,n.y=t+i+a.top,n.markRedraw()}},e.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},e.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},e.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(l.bind(this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this._zr.remove(this.el)},e}();function Q(e){return Math.max(0,e)}function T(e){var t=Q(e.shadowBlur||0),n=Q(e.shadowOffsetX||0),r=Q(e.shadowOffsetY||0);return{left:Q(t-n),right:Q(t+n),top:Q(t-r),bottom:Q(t+r)}}function E(e,t,n,r){e[0]=n,e[1]=r,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var P=B,$=n(24326),M=n(10992),z=n(26333),R=n(34253),D=n(5202),I=n(44784),N=n(50626),L=n(3686),V=n(48170),U=n(59109),F=n(55854),H=n(69622),W=n(9427),X=n(47411),j=n(24711),q=new M.A({shape:{x:-1,y:-1,width:2,height:2}}),Z=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.prototype.init=function(e,t){if(!c.A.node&&t.getDom()){var n=e.getComponent("tooltip"),r=this._renderMode=(0,V.XJ)(n.get("renderMode"));this._tooltipContent="richText"===r?new P(t):new S(t,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},t.prototype.render=function(e,t,n){if(!c.A.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n;var r=this._tooltipContent;r.update(e),r.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&e.get("transitionDuration")?(0,j.N)(this,"_updatePosition",50,"fixRate"):(0,j.IU)(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var e=this._tooltipModel.get("triggerOn");I.k("itemTooltip",this._api,(0,l.bind)((function(t,n,r){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(n,r):"leave"===t&&this._hide(r))}),this))},t.prototype._keepShow=function(){var e=this._tooltipModel,t=this._ecModel,n=this._api,r=e.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==r&&"click"!==r){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&o.manuallyShowTip(e,t,n,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})}))}},t.prototype.manuallyShowTip=function(e,t,n,r){if(r.from!==this.uid&&!c.A.node&&n.getDom()){var o=G(r,n);this._ticket="";var i=r.dataByCoordSys,a=function(e,t,n){var r=(0,V.HB)(e).queryOptionMap,o=r.keys()[0];if(o&&"series"!==o){var i,a=(0,V.JO)(t,o,r.get(o),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a)return n.getViewOfComponentModel(a).group.traverse((function(t){var n=(0,H.z)(t).tooltipConfig;if(n&&n.name===e.name)return i=t,!0})),i?{componentMainType:o,componentIndex:a.componentIndex,el:i}:void 0}}(r,t,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:r.position,positionDefault:"bottom"},o)}else if(r.tooltip&&null!=r.x&&null!=r.y){var l=q;l.x=r.x,l.y=r.y,l.update(),(0,H.z)(l).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:l},o)}else if(i)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:i,tooltipOption:r.tooltipOption},o);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,r))return;var u=(0,z.A)(r,t),d=u.point[0],f=u.point[1];null!=d&&null!=f&&this._tryShow({offsetX:d,offsetY:f,target:u.el,position:r.position,positionDefault:"bottom"},o)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},o))}},t.prototype.manuallyHideTip=function(e,t,n,r){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(G(r,n))},t.prototype._manuallyAxisShowTip=function(e,t,n,r){var o=r.seriesIndex,i=r.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=o&&null!=i&&null!=a){var s=t.getSeriesByIndex(o);if(s&&"axis"===Y([s.getData().getItemModel(i),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:i,position:r.position}),!0}},t.prototype._tryShow=function(e,t){var n=e.target;if(this._tooltipModel){this._lastX=e.offsetX,this._lastY=e.offsetY;var r=e.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,e);else if(n){var o,i;if("legend"===(0,H.z)(n).ssrType)return;this._lastDataByCoordSys=null,(0,X.R)(n,(function(e){return null!=(0,H.z)(e).dataIndex?(o=e,!0):null!=(0,H.z)(e).tooltipConfig?(i=e,!0):void 0}),!0),o?this._showSeriesItemTooltip(e,o,t):i?this._showComponentItemTooltip(e,i,t):this._hide(t)}else this._lastDataByCoordSys=null,this._hide(t)}},t.prototype._showOrMove=function(e,t){var n=e.get("showDelay");t=(0,l.bind)(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},t.prototype._showAxisTooltip=function(e,t){var n=this._ecModel,r=this._tooltipModel,o=[t.offsetX,t.offsetY],i=Y([t.tooltipOption],r),a=this._renderMode,s=[],c=(0,v.Qx)("section",{blocks:[],noHeader:!0}),u=[],d=new v.lb;(0,l.each)(e,(function(e){(0,l.each)(e.dataByAxis,(function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),o=e.value;if(t&&null!=o){var i=L._F(o,t.axis,n,e.seriesDataIndices,e.valueLabelOpt),h=(0,v.Qx)("section",{header:i,noHeader:!(0,l.trim)(i),sortBlocks:!0,blocks:[]});c.blocks.push(h),(0,l.each)(e.seriesDataIndices,(function(c){var p=n.getSeriesByIndex(c.seriesIndex),m=c.dataIndexInside,g=p.getDataParams(m);if(!(g.dataIndex<0)){g.axisDim=e.axisDim,g.axisIndex=e.axisIndex,g.axisType=e.axisType,g.axisId=e.axisId,g.axisValue=N.Dt(t.axis,{value:o}),g.axisValueLabel=i,g.marker=d.makeTooltipMarker("item",(0,f.he)(g.color),a);var A=(0,W.L)(p.formatTooltip(m,!0,null)),v=A.frag;if(v){var y=Y([p],r).get("valueFormatter");h.blocks.push(y?(0,l.extend)({valueFormatter:y},v):v)}A.text&&u.push(A.text),s.push(g)}}))}}))})),c.blocks.reverse(),u.reverse();var h=t.position,p=i.get("order"),m=(0,v.Yu)(c,d,a,p,n.get("useUTC"),i.get("textStyle"));m&&u.unshift(m);var g="richText"===a?"\n\n":"<br/>",A=u.join(g);this._showOrMove(i,(function(){this._updateContentNotChangedOnAxis(e,s)?this._updatePosition(i,h,o[0],o[1],this._tooltipContent,s):this._showTooltipContent(i,A,s,Math.random()+"",o[0],o[1],h,null,d)}))},t.prototype._showSeriesItemTooltip=function(e,t,n){var r=this._ecModel,o=(0,H.z)(t),i=o.seriesIndex,a=r.getSeriesByIndex(i),s=o.dataModel||a,c=o.dataIndex,u=o.dataType,d=s.getData(u),h=this._renderMode,p=e.positionDefault,m=Y([d.getItemModel(c),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),g=m.get("trigger");if(null==g||"item"===g){var A=s.getDataParams(c,u),y=new v.lb;A.marker=y.makeTooltipMarker("item",(0,f.he)(A.color),h);var O=(0,W.L)(s.formatTooltip(c,!1,u)),b=m.get("order"),w=m.get("valueFormatter"),_=O.frag,x=_?(0,v.Yu)(w?(0,l.extend)({valueFormatter:w},_):_,y,h,b,r.get("useUTC"),m.get("textStyle")):O.text,S="item_"+s.name+"_"+c;this._showOrMove(m,(function(){this._showTooltipContent(m,x,A,S,e.offsetX,e.offsetY,e.position,e.target,y)})),n({type:"showTip",dataIndexInside:c,dataIndex:d.getRawIndex(c),seriesIndex:i,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,t,n){var r="html"===this._renderMode,o=(0,H.z)(t),i=o.tooltipConfig.option||{},a=i.encodeHTMLContent;(0,l.isString)(i)&&(i={content:i,formatter:i},a=!0),a&&r&&i.content&&((i=(0,l.clone)(i)).content=(0,d.Me)(i.content));var s=[i],c=this._ecModel.getComponent(o.componentMainType,o.componentIndex);c&&s.push(c),s.push({formatter:i.content});var u=e.positionDefault,f=Y(s,this._tooltipModel,u?{position:u}:null),h=f.get("content"),p=Math.random()+"",m=new v.lb;this._showOrMove(f,(function(){var n=(0,l.clone)(f.get("formatterParams")||{});this._showTooltipContent(f,h,n,p,e.offsetX,e.offsetY,e.position,t,m)})),n({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,t,n,r,o,i,a,s,c){if(this._ticket="",e.get("showContent")&&e.get("show")){var u=this._tooltipContent;u.setEnterable(e.get("enterable"));var d=e.get("formatter");a=a||e.get("position");var h=t,p=this._getNearestPoint([o,i],n,e.get("trigger"),e.get("borderColor")).color;if(d)if((0,l.isString)(d)){var m=e.ecModel.get("useUTC"),g=(0,l.isArray)(n)?n[0]:n;h=d,g&&g.axisType&&g.axisType.indexOf("time")>=0&&(h=(0,F.GP)(g.axisValue,h,m)),h=(0,f.YK)(h,n,!0)}else if((0,l.isFunction)(d)){var A=(0,l.bind)((function(t,r){t===this._ticket&&(u.setContent(r,c,e,p,a),this._updatePosition(e,a,o,i,u,n,s))}),this);this._ticket=r,h=d(n,r,A)}else h=d;u.setContent(h,c,e,p,a),u.show(e,p),this._updatePosition(e,a,o,i,u,n,s)}},t.prototype._getNearestPoint=function(e,t,n,r){return"axis"===n||(0,l.isArray)(t)?{color:r||("html"===this._renderMode?"#fff":"none")}:(0,l.isArray)(t)?void 0:{color:r||t.color||t.borderColor}},t.prototype._updatePosition=function(e,t,n,r,o,i,a){var s=this._api.getWidth(),c=this._api.getHeight();t=t||e.get("position");var u=o.getSize(),d=e.get("align"),f=e.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),(0,l.isFunction)(t)&&(t=t([n,r],i,o.el,p,{viewSize:[s,c],contentSize:u.slice()})),(0,l.isArray)(t))n=(0,$.lo)(t[0],s),r=(0,$.lo)(t[1],c);else if((0,l.isObject)(t)){var m=t;m.width=u[0],m.height=u[1];var g=(0,R.dV)(m,{width:s,height:c});n=g.x,r=g.y,d=null,f=null}else if((0,l.isString)(t)&&a){var A=function(e,t,n,r){var o=n[0],i=n[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,c=t.width,u=t.height;switch(e){case"inside":s=t.x+c/2-o/2,l=t.y+u/2-i/2;break;case"top":s=t.x+c/2-o/2,l=t.y-i-a;break;case"bottom":s=t.x+c/2-o/2,l=t.y+u+a;break;case"left":s=t.x-o-a,l=t.y+u/2-i/2;break;case"right":s=t.x+c+a,l=t.y+u/2-i/2}return[s,l]}(t,p,u,e.get("borderWidth"));n=A[0],r=A[1]}else A=function(e,t,n,r,o,i,a){var s=n.getSize(),l=s[0],c=s[1];return null!=i&&(e+l+i+2>r?e-=l+i:e+=i),null!=a&&(t+c+a>o?t-=c+a:t+=a),[e,t]}(n,r,o,s,c,d?null:20,f?null:20),n=A[0],r=A[1];d&&(n-=K(d)?u[0]/2:"right"===d?u[0]:0),f&&(r-=K(f)?u[1]/2:"bottom"===f?u[1]:0),h(e)&&(A=function(e,t,n,r,o){var i=n.getSize(),a=i[0],s=i[1];return e=Math.min(e+a,r)-a,t=Math.min(t+s,o)-s,[e=Math.max(e,0),t=Math.max(t,0)]}(n,r,o,s,c),n=A[0],r=A[1]),o.moveTo(n,r)},t.prototype._updateContentNotChangedOnAxis=function(e,t){var n=this._lastDataByCoordSys,r=this._cbParamsList,o=!!n&&n.length===e.length;return o&&(0,l.each)(n,(function(n,i){var a=n.dataByAxis||[],s=(e[i]||{}).dataByAxis||[];(o=o&&a.length===s.length)&&(0,l.each)(a,(function(e,n){var i=s[n]||{},a=e.seriesDataIndices||[],c=i.seriesDataIndices||[];(o=o&&e.value===i.value&&e.axisType===i.axisType&&e.axisId===i.axisId&&a.length===c.length)&&(0,l.each)(a,(function(e,t){var n=c[t];o=o&&e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex})),r&&(0,l.each)(e.seriesDataIndices,(function(e){var n=e.seriesIndex,i=t[n],a=r[n];i&&a&&a.data!==i.data&&(o=!1)}))}))})),this._lastDataByCoordSys=e,this._cbParamsList=t,!!o},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,t){!c.A.node&&t.getDom()&&((0,j.IU)(this,"_updatePosition"),this._tooltipContent.dispose(),I.h("itemTooltip",t))},t.type="tooltip",t}(U.A);function Y(e,t,n){var r,o=t.ecModel;n?(r=new D.A(n,o,o),r=new D.A(t.option,r,o)):r=t;for(var i=e.length-1;i>=0;i--){var a=e[i];a&&(a instanceof D.A&&(a=a.get("tooltip",!0)),(0,l.isString)(a)&&(a={formatter:a}),a&&(r=new D.A(a,r,o)))}return r}function G(e,t){return e.dispatchAction||(0,l.bind)(t.dispatchAction,t)}function K(e){return"center"===e||"middle"===e}var J=Z;function ee(e){(0,o.Y)(r.a),e.registerComponentModel(s),e.registerComponentView(J),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},l.noop),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},l.noop)}},73506:function(e,t,n){"use strict";var r=n(13925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},73537:function(e,t,n){var r=n(1769),o=n(69288);e.exports=function(){return r?o(r.href):{}}},73632:function(e,t,n){"use strict";n.d(t,{Tc:function(){return l},eS:function(){return f},fg:function(){return c},io:function(){return u},j_:function(){return d}});var r=n(98026),o=n(48170),i=n(34310),a=(0,o.$r)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},l=function(){function e(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}return e.prototype.isDimensionOmitted=function(){return this._dimOmitted},e.prototype._updateDimOmitted=function(e){this._dimOmitted=e,e&&(this._dimNameMap||(this._dimNameMap=d(this.source)))},e.prototype.getSourceDimensionIndex=function(e){return(0,r.retrieve2)(this._dimNameMap.get(e),-1)},e.prototype.getSourceDimension=function(e){var t=this.source.dimensionsDefine;if(t)return t[e]},e.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,t=(0,i.O0)(this.source),n=!f(e),r="",o=[],a=0,l=0;a<e;a++){var c=void 0,u=void 0,d=void 0,h=this.dimensions[l];if(h&&h.storeDimIndex===a)c=t?h.name:null,u=h.type,d=h.ordinalMeta,l++;else{var p=this.getSourceDimension(a);p&&(c=t?p.name:null,u=p.type)}o.push({property:c,type:u,ordinalMeta:d}),!t||null==c||h&&h.isCalculationCoord||(r+=n?c.replace(/\`/g,"`1").replace(/\$/g,"`2"):c),r+="$",r+=s[u]||"f",d&&(r+=d.uid),r+="$"}var m=this.source;return{dimensions:o,hash:[m.seriesLayoutBy,m.startIndex,r].join("$$")}},e.prototype.makeOutputDimensionNames=function(){for(var e=[],t=0,n=0;t<this._fullDimCount;t++){var r=void 0,o=this.dimensions[n];if(o&&o.storeDimIndex===t)o.isCalculationCoord||(r=o.name),n++;else{var i=this.getSourceDimension(t);i&&(r=i.name)}e.push(r)}return e},e.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function c(e){return e instanceof l}function u(e){for(var t=(0,r.createHashMap)(),n=0;n<(e||[]).length;n++){var o=e[n],i=(0,r.isObject)(o)?o.name:o;null!=i&&null==t.get(i)&&t.set(i,n)}return t}function d(e){var t=a(e);return t.dimNameMap||(t.dimNameMap=u(e.dimensionsDefine))}function f(e){return e>30}},73731:function(e,t,n){"use strict";n.d(t,{J:function(){return u}});var r=n(48820),o=n(43720);const i=(0,o.pn)({null:o._A.null,instanceof:o._A.operatorKeyword,this:o._A.self,"new super assert open to with void":o._A.keyword,"class interface extends implements enum var":o._A.definitionKeyword,"module package import":o._A.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":o._A.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":o._A.modifier,IntegerLiteral:o._A.integer,FloatingPointLiteral:o._A.float,"StringLiteral TextBlock":o._A.string,CharacterLiteral:o._A.character,LineComment:o._A.lineComment,BlockComment:o._A.blockComment,BooleanLiteral:o._A.bool,PrimitiveType:o._A.standard(o._A.typeName),TypeName:o._A.typeName,Identifier:o._A.variableName,"MethodName/Identifier":o._A.function(o._A.variableName),Definition:o._A.definition(o._A.variableName),ArithOp:o._A.arithmeticOperator,LogicOp:o._A.logicOperator,BitOp:o._A.bitwiseOperator,CompareOp:o._A.compareOperator,AssignOp:o._A.definitionOperator,UpdateOp:o._A.updateOperator,Asterisk:o._A.punctuation,Label:o._A.labelName,"( )":o._A.paren,"[ ]":o._A.squareBracket,"{ }":o._A.brace,".":o._A.derefOperator,", ;":o._A.separator}),a={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:238,open:267,module:269,requires:274,transitive:276,exports:278,to:280,opens:282,uses:284,provides:286,with:288,package:292,import:296,if:308,else:310,while:314,for:318,var:325,assert:332,switch:336,case:342,do:346,break:350,continue:354,return:358,throw:364,try:368,catch:372,finally:380},s=r.U1.deserialize({version:14,states:"##jQ]QPOOQ$wQPOOO(bQQO'#H^O*iQQO'#CbOOQO'#Cb'#CbO*pQPO'#CaO*xOSO'#CpOOQO'#Hc'#HcOOQO'#Cu'#CuO,eQPO'#D_O-OQQO'#HmOOQO'#Hm'#HmO/gQQO'#HhO/nQQO'#HhOOQO'#Hh'#HhOOQO'#Hg'#HgO1rQPO'#DUO2PQPO'#GnO4wQPO'#D_O5OQPO'#DzO*pQPO'#E[O5qQPO'#E[OOQO'#DV'#DVO7SQQO'#HaO9^QQO'#EeO9eQPO'#EdO9jQPO'#EfOOQO'#Hb'#HbO7jQQO'#HbO:pQQO'#FhO:wQPO'#ExO:|QPO'#E}O:|QPO'#FPOOQO'#Ha'#HaOOQO'#HY'#HYOOQO'#Gh'#GhOOQO'#HX'#HXO<^QPO'#FiOOQO'#HW'#HWOOQO'#Gg'#GgQ]QPOOOOQO'#Hs'#HsO<cQPO'#HsO<hQPO'#D{O<hQPO'#EVO<hQPO'#EQO<pQPO'#HpO=RQQO'#EfO*pQPO'#C`O=ZQPO'#C`O*pQPO'#FcO=`QPO'#FeO=kQPO'#FkO=kQPO'#FnO<hQPO'#FsO=pQPO'#FpO:|QPO'#FwO=kQPO'#FyO]QPO'#GOO=uQPO'#GQO>QQPO'#GSO>]QPO'#GUO=kQPO'#GWO:|QPO'#GXO>dQPO'#GZO?QQQO'#HiO?mQQO'#CuO?tQPO'#HxO@SQPO'#D_O@rQPO'#DpO?wQPO'#DqO@|QPO'#HxOA_QPO'#DpOAgQPO'#IROAlQPO'#E`OOQO'#Hr'#HrOOQO'#Gm'#GmQ$wQPOOOAtQPO'#HsOOQO'#H^'#H^OCsQQO,58{OOQO'#H['#H[OOOO'#Gi'#GiOEfOSO,59[OOQO,59[,59[OOQO'#Hi'#HiOFVQPO,59eOGXQPO,59yOOQO-E:f-E:fO*pQPO,58zOG{QPO,58zO*pQPO,5;}OHQQPO'#DQOHVQPO'#DQOOQO'#Gk'#GkOIVQQO,59jOOQO'#Dm'#DmOJqQPO'#HuOJ{QPO'#DlOKZQPO'#HtOKcQPO,5<_OKhQPO,59^OLRQPO'#CxOOQO,59c,59cOLYQPO,59bOLeQQO'#H^ONgQQO'#CbO!!iQPO'#D_O!#nQQO'#HmO!$OQQO,59pO!$VQPO'#DvO!$eQPO'#H|O!$mQPO,5:`O!$rQPO,5:`O!%YQPO,5;nO!%eQPO'#ITO!%pQPO,5;eO!%uQPO,5=YOOQO-E:l-E:lOOQO,5:f,5:fO!']QPO,5:fO!'dQPO,5:vO?tQPO,5<_O*pQPO,5:vO<hQPO,5:gO<hQPO,5:qO<hQPO,5:lO<hQPO,5<_O!'zQPO,59qO:|QPO,5:}O!(RQPO,5;QO:|QPO,59TO!(aQPO'#DXOOQO,5;O,5;OOOQO'#El'#ElOOQO'#Eo'#EoO:|QPO,5;UO:|QPO,5;UO:|QPO,5;UO:|QPO,5;UO:|QPO,5;UO:|QPO,5;UO:|QPO,5;UO:|QPO,5;UO:|QPO,5;UO:|QPO,5;fOOQO,5;i,5;iOOQO,5<S,5<SO!(hQPO,5;bO!(yQPO,5;dO!(hQPO'#CyO!)QQQO'#HmO!)`QQO,5;kO]QPO,5<TOOQO-E:e-E:eOOQO,5>_,5>_O!*sQPO,5:gO!+RQPO,5:qO!+ZQPO,5:lO!+fQPO,5>[O!$VQPO,5>[O!'iQPO,59UO!+qQQO,58zO!+yQQO,5;}O!,RQQO,5<PO*pQPO,5<PO:|QPO'#DUO]QPO,5<VO]QPO,5<YO!,ZQPO'#FrO]QPO,5<[O]QPO,5<aO!,kQQO,5<cO!,uQPO,5<eO!,zQPO,5<jOOQO'#Fj'#FjOOQO,5<l,5<lO!-PQPO,5<lOOQO,5<n,5<nO!-UQPO,5<nO!-ZQQO,5<pOOQO,5<p,5<pO>gQPO,5<rO!-bQQO,5<sO!-iQPO'#GdO!.oQPO,5<uO>gQPO,5<}O!2mQPO,59jO!2zQPO'#HuO!3RQPO,59xO!3WQPO,5>dO?tQPO,59xO!3cQPO,5:[OAlQPO,5:zO!3kQPO'#DrO?wQPO'#DrO!3vQPO'#HyO!4OQPO,5:]O?tQPO,5>dO!(hQPO,5>dOAgQPO,5>mOOQO,5:[,5:[O!$rQPO'#DtOOQO,5>m,5>mO!4TQPO'#EaOOQO,5:z,5:zO!7UQPO,5:zO!(hQPO'#DxOOQO-E:k-E:kOOQO,5:y,5:yO*pQPO,58}O!7ZQPO'#ChOOQO1G.k1G.kOOOO-E:g-E:gOOQO1G.v1G.vO!+qQQO1G.fO*pQPO1G.fO!7eQQO1G1iOOQO,59l,59lO!7mQPO,59lOOQO-E:i-E:iO!7rQPO,5>aO!8ZQPO,5:WO<hQPO'#GpO!8bQPO,5>`OOQO1G1y1G1yOOQO1G.x1G.xO!8{QPO'#CyO!9kQPO'#HmO!9uQPO'#CzO!:TQPO'#HlO!:]QPO,59dOOQO1G.|1G.|OLYQPO1G.|O!:sQPO,59eO!;QQQO'#H^O!;cQQO'#CbOOQO,5:b,5:bO<hQPO,5:cOOQO,5:a,5:aO!;tQQO,5:aOOQO1G/[1G/[O!;yQPO,5:bO!<[QPO'#GsO!<oQPO,5>hOOQO1G/z1G/zO!<wQPO'#DvO!=YQPO1G/zO!(hQPO'#GqO!=_QPO1G1YO:|QPO1G1YO<hQPO'#GyO!=gQPO,5>oOOQO1G1P1G1POOQO1G0Q1G0QO!=oQPO'#E]OOQO1G0b1G0bO!>`QPO1G1yO!'dQPO1G0bO!*sQPO1G0RO!+RQPO1G0]O!+ZQPO1G0WOOQO1G/]1G/]O!>eQQO1G.pO9eQPO1G0jO*pQPO1G0jO<pQPO'#HpO!@[QQO1G.pOOQO1G.p1G.pO!@aQQO1G0iOOQO1G0l1G0lO!@hQPO1G0lO!@sQQO1G.oO!AZQQO'#HqO!AhQPO,59sO!BzQQO1G0pO!DfQQO1G0pO!DmQQO1G0pO!FUQQO1G0pO!F]QQO1G0pO!GbQQO1G0pO!I]QQO1G0pO!IdQQO1G0pO!IkQQO1G0pO!IuQQO1G1QO!I|QQO'#HmOOQO1G0|1G0|O!KSQQO1G1OOOQO1G1O1G1OOOQO1G1o1G1oO!KjQPO'#D[O!(hQPO'#D|O!(hQPO'#D}OOQO1G0R1G0RO!KqQPO1G0RO!KvQPO1G0RO!LOQPO1G0RO!LZQPO'#EXOOQO1G0]1G0]O!LnQPO1G0]O!LsQPO'#ETO!(hQPO'#ESOOQO1G0W1G0WO!MmQPO1G0WO!MrQPO1G0WO!MzQPO'#EhO!NRQPO'#EhOOQO'#Gx'#GxO!NZQQO1G0mO# }QQO1G3vO9eQPO1G3vO#$PQPO'#FXOOQO1G.f1G.fOOQO1G1i1G1iO#$WQPO1G1kOOQO1G1k1G1kO#$cQQO1G1kO#$kQPO1G1qOOQO1G1t1G1tO+QQPO'#D_O-OQQO,5<bO#(cQPO,5<bO#(tQPO,5<^O#({QPO,5<^OOQO1G1v1G1vOOQO1G1{1G1{OOQO1G1}1G1}O:|QPO1G1}O#,oQPO'#F{OOQO1G2P1G2PO=kQPO1G2UOOQO1G2W1G2WOOQO1G2Y1G2YOOQO1G2[1G2[OOQO1G2^1G2^OOQO1G2_1G2_O#,vQQO'#H^O#-aQQO'#CbO-OQQO'#HmO#-zQQOOO#.hQQO'#EeO#.VQQO'#HbO!$VQPO'#GeO#.oQPO,5=OOOQO'#HQ'#HQO#.wQPO1G2aO#2uQPO'#G]O>gQPO'#GaOOQO1G2a1G2aO#2zQPO1G2iO#6xQPO,5>gOOQO1G/d1G/dOOQO1G4O1G4OO#7ZQPO1G/dOOQO1G/v1G/vOOQO1G0f1G0fO!7UQPO1G0fOOQO,5:^,5:^O!(hQPO'#DsO#7`QPO,5:^O?wQPO'#GrO#7kQPO,5>eOOQO1G/w1G/wOAgQPO'#H{O#7sQPO1G4OO?tQPO1G4OOOQO1G4X1G4XO!#YQPO'#DvO!!iQPO'#D_OOQO,5:{,5:{O#8OQPO,5:{O#8OQPO,5:{O#8VQQO'#HaO#9hQQO'#HbO#9rQQO'#EbO#9}QPO'#EbO#:VQPO'#IOOOQO,5:d,5:dOOQO1G.i1G.iO#:bQQO'#EeO#:rQQO'#H`O#;SQPO'#FTOOQO'#H`'#H`O#;^QPO'#H`O#;{QPO'#IWO#<TQPO,59SOOQO7+$Q7+$QO!+qQQO7+$QOOQO7+'T7+'TOOQO1G/W1G/WO#<YQPO'#DoO#<dQQO'#HvOOQO'#Hv'#HvOOQO1G/r1G/rOOQO,5=[,5=[OOQO-E:n-E:nO#<tQWO,58{O#<{QPO,59fOOQO,59f,59fO!(hQPO'#HoOKmQPO'#GjO#=ZQPO,5>WOOQO1G/O1G/OOOQO7+$h7+$hOOQO1G/{1G/{O#=cQQO1G/{OOQO1G/}1G/}O#=hQPO1G/{OOQO1G/|1G/|O<hQPO1G/}OOQO,5=_,5=_OOQO-E:q-E:qOOQO7+%f7+%fOOQO,5=],5=]OOQO-E:o-E:oO:|QPO7+&tOOQO7+&t7+&tOOQO,5=e,5=eOOQO-E:w-E:wO#=mQPO'#EUO#={QPO'#EUOOQO'#Gw'#GwO#>dQPO,5:wOOQO,5:w,5:wOOQO7+'e7+'eOOQO7+%|7+%|OOQO7+%m7+%mO!KqQPO7+%mO!KvQPO7+%mO!LOQPO7+%mOOQO7+%w7+%wO!LnQPO7+%wOOQO7+%r7+%rO!MmQPO7+%rO!MrQPO7+%rOOQO7+&U7+&UOOQO'#Ee'#EeO9eQPO7+&UO9eQPO,5>[O#?TQPO7+$[OOQO7+&T7+&TOOQO7+&W7+&WO:|QPO'#GlO#?cQPO,5>]OOQO1G/_1G/_O:|QPO7+&lO#?nQQO,59eO#@tQPO,59vOOQO,59v,59vOOQO,5:h,5:hOOQO'#EP'#EPOOQO,5:i,5:iO#@{QPO'#EYO<hQPO'#EYO#A^QPO'#IPO#AiQPO,5:sO?tQPO'#HxO!(hQPO'#HxO#AqQPO'#DpOOQO'#Gu'#GuO#AxQPO,5:oOOQO,5:o,5:oOOQO,5:n,5:nOOQO,5;S,5;SO#BrQQO,5;SO#ByQPO,5;SOOQO-E:v-E:vOOQO7+&X7+&XOOQO7+)b7+)bO#CQQQO7+)bOOQO'#G|'#G|O#DqQPO,5;sOOQO,5;s,5;sO#DxQPO'#FYO*pQPO'#FYO*pQPO'#FYO*pQPO'#FYO#EWQPO7+'VO#E]QPO7+'VOOQO7+'V7+'VO]QPO7+']O#EhQPO1G1|O?tQPO1G1|O#EvQQO1G1xO!(aQPO1G1xO#E}QPO1G1xO#FUQQO7+'iOOQO'#HP'#HPO#F]QPO,5<gOOQO,5<g,5<gO#FdQPO'#HsO:|QPO'#F|O#FlQPO7+'pO#FqQPO,5=PO?tQPO,5=PO#FvQPO1G2jO#HPQPO1G2jOOQO1G2j1G2jOOQO-E;O-E;OOOQO7+'{7+'{O!<[QPO'#G_O>gQPO,5<wOOQO,5<{,5<{O#HXQPO7+(TOOQO7+(T7+(TO#LVQPO1G4ROOQO7+%O7+%OOOQO7+&Q7+&QO#LhQPO,5:_OOQO1G/x1G/xOOQO,5=^,5=^OOQO-E:p-E:pOOQO7+)j7+)jO#LsQPO7+)jO!:bQPO,5:aOOQO1G0g1G0gO#MOQPO1G0gO#MVQPO,59qO#MkQPO,5:|O9eQPO,5:|O!(hQPO'#GtO#MpQPO,5>jO#M{QPO,59TO#NSQPO'#IVO#N[QPO,5;oO*pQPO'#G{O#NaQPO,5>rOOQO1G.n1G.nOOQO<<Gl<<GlO#NiQPO'#HwO#NqQPO,5:ZOOQO1G/Q1G/QOOQO,5>Z,5>ZOOQO,5=U,5=UOOQO-E:h-E:hO#NvQPO7+%gOOQO7+%g7+%gOOQO7+%i7+%iOOQO<<J`<<J`O$ ^QPO'#H^O$ eQPO'#CbO$ lQPO,5:pO$ qQPO,5:xO#=mQPO,5:pOOQO-E:u-E:uOOQO1G0c1G0cOOQO<<IX<<IXO!KqQPO<<IXO!KvQPO<<IXOOQO<<Ic<<IcOOQO<<I^<<I^O!MmQPO<<I^OOQO<<Ip<<IpO$ vQQO<<GvO9eQPO<<IpO*pQPO<<IpOOQO<<Gv<<GvO$#mQQO,5=WOOQO-E:j-E:jO$#zQQO<<JWOOQO1G/b1G/bOOQO,5:t,5:tO$$bQPO,5:tO$$pQPO,5:tO$%RQPO'#GvO$%iQPO,5>kO$%tQPO'#EZOOQO1G0_1G0_O$%{QPO1G0_O?tQPO,5:pOOQO-E:s-E:sOOQO1G0Z1G0ZOOQO1G0n1G0nO$&QQQO1G0nOOQO<<L|<<L|OOQO-E:z-E:zOOQO1G1_1G1_O$&XQQO,5;tOOQO'#G}'#G}O#DxQPO,5;tOOQO'#IX'#IXO$&aQQO,5;tO$&rQQO,5;tOOQO<<Jq<<JqO$&zQPO<<JqOOQO<<Jw<<JwO:|QPO7+'hO$'PQPO7+'hO!(aQPO7+'dO$'_QPO7+'dO$'dQQO7+'dOOQO<<KT<<KTOOQO-E:}-E:}OOQO1G2R1G2ROOQO,5<h,5<hO$'kQQO,5<hOOQO<<K[<<K[O:|QPO1G2kO$'rQPO1G2kOOQO,5=n,5=nOOQO7+(U7+(UO$'wQPO7+(UOOQO-E;Q-E;QO$)fQWO'#HhO$)QQWO'#HhO$)mQPO'#G`O<hQPO,5<yO!$VQPO,5<yOOQO1G2c1G2cOOQO<<Ko<<KoO$*OQPO1G/yOOQO<<MU<<MUOOQO7+&R7+&RO$*ZQPO1G0jO$*fQQO1G0hOOQO1G0h1G0hO$*nQPO1G0hOOQO,5=`,5=`OOQO-E:r-E:rO$*sQQO1G.oOOQO1G1[1G1[O$*}QPO'#GzO$+[QPO,5>qOOQO1G1Z1G1ZO$+dQPO'#FUOOQO,5=g,5=gOOQO-E:y-E:yO$+iQPO'#GoO$+vQPO,5>cOOQO1G/u1G/uOOQO<<IR<<IROOQO1G0[1G0[O$,OQPO1G0dO$,TQPO1G0[O$,YQPO1G0dOOQOAN>sAN>sO!KqQPOAN>sOOQOAN>xAN>xOOQOAN?[AN?[O9eQPOAN?[OOQO1G0`1G0`O$,_QPO1G0`OOQO,5=b,5=bOOQO-E:t-E:tO$,mQPO,5:uOOQO7+%y7+%yOOQO7+&Y7+&YOOQO1G1`1G1`O$,tQQO1G1`OOQO-E:{-E:{O$,|QQO'#IYO$,wQPO1G1`O$&gQPO1G1`O*pQPO1G1`OOQOAN@]AN@]O$-XQQO<<KSO:|QPO<<KSO$-`QPO<<KOOOQO<<KO<<KOO!(aQPO<<KOOOQO1G2S1G2SO$-eQQO7+(VO:|QPO7+(VOOQO<<Kp<<KpP!-iQPO'#HSO!$VQPO'#HRO$-oQPO,5<zO$-zQPO1G2eO<hQPO1G2eO9eQPO7+&SO$.PQPO7+&SOOQO7+&S7+&SOOQO,5=f,5=fOOQO-E:x-E:xO#M{QPO,5;pOOQO,5=Z,5=ZOOQO-E:m-E:mO$.UQPO7+&OOOQO7+%v7+%vO$.dQPO7+&OOOQOG24_G24_OOQOG24vG24vOOQO7+%z7+%zOOQO7+&z7+&zO*pQPO'#HOO$.iQPO,5>tO$.qQPO7+&zO$.vQQO'#IZOOQOAN@nAN@nO$/RQQOAN@nOOQOAN@jAN@jO$/YQPOAN@jO$/_QQO<<KqO$/iQPO,5=mOOQO-E;P-E;POOQO7+(P7+(PO$/zQPO7+(PO$0PQPO<<InOOQO<<In<<InO$0UQPO<<IjOOQO<<Ij<<IjO#M{QPO<<IjO$0UQPO<<IjO$0dQQO,5=jOOQO-E:|-E:|OOQO<<Jf<<JfO$0oQPO,5>uOOQOG26YG26YOOQOG26UG26UOOQO<<Kk<<KkOOQOAN?YAN?YOOQOAN?UAN?UO#M{QPOAN?UO$0wQPOAN?UO$0|QPOAN?UO$1[QPOG24pOOQOG24pG24pO#M{QPOG24pOOQOLD*[LD*[O$1aQPOLD*[OOQO!$'Mv!$'MvO*pQPO'#CaO$1fQQO'#H^O$1yQQO'#CbO!(hQPO'#Cy",stateData:"$2i~OPOSQOS%yOS~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op!POv{OwkOz!OO}cO!PvO!SyO!TyO!UyO!VyO!WyO!XyO!YyO!ZzO![!`O!]yO!^yO!_yO!u}O!z|O#fpO#roO#tpO#upO#y!RO#z!QO$W!SO$Y!TO$`!UO$c!VO$e!XO$h!WO$l!YO$n!ZO$s![O$u!]O$w!^O$y!_O$|!aO%O!bO%}TO&PRO&RQO&XUO&tdO~Og^Oh^Ov{O}cO!P!mO!SyO!TyO!UyO!VyO!W!pO!XyO!YyO!ZzO!]yO!^yO!_yO!u}O!z|O%}TO&P!cO&R!dO&_!hO&tdO~OWiXW&QXZ&QXuiXu&QX!P&QX!b&QX#]&QX#_&QX#a&QX#b&QX#d&QX#e&QX#f&QX#g&QX#h&QX#i&QX#k&QX#o&QX#r&QX%}iX&PiX&RiX&^&QX&_iX&_&QX&n&QX&viX&v&QX&x!aX~O#p$^X~P&bOWUXW&]XZUXuUXu&]X!PUX!bUX#]UX#_UX#aUX#bUX#dUX#eUX#fUX#gUX#hUX#iUX#kUX#oUX#rUX%}&]X&P&]X&R&]X&^UX&_UX&_&]X&nUX&vUX&v&]X&x!aX~O#p$^X~P(iO&PSO&R!qO~O&W!vO&Y!tO~Og^Oh^O!SyO!TyO!UyO!VyO!WyO!XyO!YyO!ZzO!]yO!^yO!_yO%}TO&P!wO&RWOg!RXh!RX$h!RX&P!RX&R!RX~O#y!|O#z!{O$W!}Ov!RX!u!RX!z!RX&t!RX~P+QOW#XOu#OO%}TO&P#SO&R#SO&v&aX~OW#[Ou&[X%}&[X&P&[X&R&[X&v&[XY&[Xw&[X&n&[X&q&[XZ&[Xq&[X&^&[X!P&[X#_&[X#a&[X#b&[X#d&[X#e&[X#f&[X#g&[X#h&[X#i&[X#k&[X#o&[X#r&[X}&[X!r&[X#p&[Xs&[X|&[X~O&_#YO~P-dO&_&[X~P-dOZ`O_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO!SyO!TyO!UyO!VyO!WyO!XyO!YyO!ZzO!]yO!^yO!_yO#fpO#roO#tpO#upO%}TO&XUO~O&P#^O&R#]OY&pP~P/uO%}TOg%bXh%bXv%bX!S%bX!T%bX!U%bX!V%bX!W%bX!X%bX!Y%bX!Z%bX!]%bX!^%bX!_%bX!u%bX!z%bX$h%bX&P%bX&R%bX&t%bX&_%bX~O!SyO!TyO!UyO!VyO!WyO!XyO!YyO!ZzO!]yO!^yO!_yOg!RXh!RXv!RX!u!RX!z!RX&P!RX&R!RX&t!RX&_!RX~O$h!RX~P3gO|#kO~P]Og^Oh^Ov#pO!u#rO!z#qO&P!wO&RWO&t#oO~O$h#sO~P5VOu#uO&v#vO!P&TX#_&TX#a&TX#b&TX#d&TX#e&TX#f&TX#g&TX#h&TX#i&TX#k&TX#o&TX#r&TX&^&TX&_&TX&n&TX~OW#tOY&TX#p&TXs&TXq&TX|&TX~P5xO!b#wO#]#wOW&UXu&UX!P&UX#_&UX#a&UX#b&UX#d&UX#e&UX#f&UX#g&UX#h&UX#i&UX#k&UX#o&UX#r&UX&^&UX&_&UX&n&UX&v&UXY&UX#p&UXs&UXq&UX|&UX~OZ#XX~P7jOZ#xO~O&v#vO~O#_#|O#a#}O#b$OO#d$QO#e$RO#f$SO#g$TO#h$UO#i$UO#k$YO#o$VO#r$WO&^#zO&_#zO&n#{O~O!P$XO~P9oO&x$ZO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO#fpO#roO#tpO#upO%}TO&P0qO&R0pO&XUO~O#p$_O~O![$aO~O&P#SO&R#SO~Og^Oh^O&P!wO&RWO&_#YO~OW$gO&v#vO~O#z!{O~O!W$kO&PSO&R!qO~OZ$lO~OZ$oO~O!P$vO&P$uO&R$uO~O!P$xO&P$uO&R$uO~O!P${O~P:|OZ%OO}cO~OW&]Xu&]X%}&]X&P&]X&R&]X&_&]X~OZ!aX~P>lOWiXuiX%}iX&PiX&RiX&_iX~OZ!aX~P?XOu#OO%}TO&P#SO&R#SO~O%}TO~P3gOg^Oh^Ov#pO!u#rO!z#qO&_!hO&t#oO~O&P!cO&R!dO~P@ZOg^Oh^O%}TO&P!cO&R!dO~O}cO!P%aO~OZ%bO~O}%dO!m%gO~O}cOg&gXh&gXv&gX!S&gX!T&gX!U&gX!V&gX!W&gX!X&gX!Y&gX!Z&gX!]&gX!^&gX!_&gX!u&gX!z&gX%}&gX&P&gX&R&gX&_&gX&t&gX~OW%jOZ%kOgTahTa%}Ta&PTa&RTa~OvTa!STa!TTa!UTa!VTa!WTa!XTa!YTa!ZTa!]Ta!^Ta!_Ta!uTa!zTa#yTa#zTa$WTa$hTa&tTa&_TauTaYTaqTa|Ta!PTa~PC[O&W%nO&Y!tO~Ou#OO%}TOqma&^maYma&nma!Pma~O&vma}ma!rma~PEnO!SyO!TyO!UyO!VyO!WyO!XyO!YyO!ZzO!]yO!^yO!_yO~Og!Rah!Rav!Ra!u!Ra!z!Ra$h!Ra&P!Ra&R!Ra&t!Ra&_!Ra~PFdO#z%pO~Os%rO~Ou%sO%}TO~Ou#OO%}ra&Pra&Rra&vraYrawra&nra&qra!Pra&^raqra~OWra#_ra#ara#bra#dra#era#fra#gra#hra#ira#kra#ora#rra&_ra#prasra|ra~PH_Ou#OO%}TOq&iX!P&iX!b&iX~OY&iX#p&iX~PJ`O!b%vOq!`X!P!`XY!`X~Oq%wO!P&hX~O!P%yO~Ov%zO~Og^Oh^O%}0oO&P!wO&RWO&b%}O~O&^&`P~PKmO%}TO&P!wO&RWO~OW&QXYiXY!aXY&QXZ&QXq!aXu&QXwiX!b&QX#]&QX#_&QX#a&QX#b&QX#d&QX#e&QX#f&QX#g&QX#h&QX#i&QX#k&QX#o&QX#r&QX&^&QX&_&QX&niX&n&QX&qiX&viX&v&QX&x!aX~P?XOWUXYUXY!aXY&]XZUXq!aXuUXw&]X!bUX#]UX#_UX#aUX#bUX#dUX#eUX#fUX#gUX#hUX#iUX#kUX#oUX#rUX&^UX&_UX&nUX&n&]X&q&]X&vUX&v&]X&x!aX~P>lOg^Oh^O%}TO&P!wO&RWOg!RXh!RX&P!RX&R!RX~PFdOu#OOw&XO%}TO&P&UO&R&TO&q&WO~OW#XOY&aX&n&aX&v&aX~P!#YOY&ZO~P9oOg^Oh^O&P!wO&RWO~Oq&]OY&pX~OY&_O~Og^Oh^O%}TO&P!wO&RWOY&pP~PFdOY&dO&n&bO&v#vO~Oq&eO&x$ZOY&wX~OY&gO~O%}TOg%bah%bav%ba!S%ba!T%ba!U%ba!V%ba!W%ba!X%ba!Y%ba!Z%ba!]%ba!^%ba!_%ba!u%ba!z%ba$h%ba&P%ba&R%ba&t%ba&_%ba~O|&hO~P]O}&iO~Op&uOw&vO&PSO&R!qO&_#YO~Oz&tO~P!'iOz&xO&PSO&R!qO&_#YO~OY&eP~P:|Og^Oh^O%}TO&P!wO&RWO~O}cO~P:|OW#XOu#OO%}TO&v&aX~O#r$WO!P#sa#_#sa#a#sa#b#sa#d#sa#e#sa#f#sa#g#sa#h#sa#i#sa#k#sa#o#sa&^#sa&_#sa&n#saY#sa#p#sas#saq#sa|#sa~Oo'_O}'^O!r'`O&_!hO~O}'eO!r'`O~Oo'iO}'hO&_!hO~OZ#xOu'mO%}TO~OW%jO}'sO~OW%jO!P'uO~OW'vO!P'wO~O$h!WO&P0qO&R0pO!P&eP~P/uO!P(SO#p(TO~P9oO}(UO~O$c(WO~O!P(XO~O!P(YO~O!P(ZO~P9oO!P(]O~P9oOZ$lO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%}TO&P(_O&R(^O&XUO~PFdO%Q(hO%U(iOZ$}a_$}a`$}aa$}ab$}ac$}ae$}ag$}ah$}ap$}av$}aw$}az$}a}$}a!P$}a!S$}a!T$}a!U$}a!V$}a!W$}a!X$}a!Y$}a!Z$}a![$}a!]$}a!^$}a!_$}a!u$}a!z$}a#f$}a#r$}a#t$}a#u$}a#y$}a#z$}a$W$}a$Y$}a$`$}a$c$}a$e$}a$h$}a$l$}a$n$}a$s$}a$u$}a$w$}a$y$}a$|$}a%O$}a%w$}a%}$}a&P$}a&R$}a&X$}a&t$}a|$}a$a$}a$q$}a~O}ra!rra'Ora~PH_OZ%bO~PJ`O!P(mO~O!m%gO}&la!P&la~O}cO!P(pO~Oo(tOq!fX&^!fX~Oq(vO&^&mX~O&^(xO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op)UOv{Ow)TOz!OO|)PO}cO!PvO![!`O!u}O!z|O#fpO#roO#tpO#upO#y!RO#z!QO$W!SO$Y!TO$`!UO$c!VO$e!XO$h!WO$l!YO$n!ZO$s![O$u!]O$w!^O$y!_O$|!aO%O!bO%}TO&PRO&RQO&XUO&_#YO&tdO~PFdO}%dO~O})]OY&zP~P:|OW%jO!P)dO~Os)eO~Ou#OO%}TOq&ia!P&ia!b&iaY&ia#p&ia~O})fO~P:|Oq%wO!P&ha~Og^Oh^O%}0oO&P!wO&RWO~O&b)mO~P!8jOu#OO%}TOq&aX&^&aXY&aX&n&aX!P&aX~O}&aX!r&aX~P!9SOo)oOp)oOqnX&^nX~Oq)pO&^&`X~O&^)rO~Ou#OOw)tO%}TO&PSO&R!qO~OYma&nma&vma~P!:bOW&QXY!aXq!aXu!aX%}!aX~OWUXY!aXq!aXu!aX%}!aX~OW)wO~Ou#OO%}TO&P#SO&R#SO&q)yO~Og^Oh^O%}TO&P!wO&RWO~PFdOq&]OY&pa~Ou#OO%}TO&P#SO&R#SO&q&WO~OY)|O~OY*PO&n&bO~Oq&eOY&wa~Og^Oh^Ov{O|*XO!u}O%}TO&P!wO&RWO&tdO~PFdO!P*YO~OW^iZ#XXu^i!P^i!b^i#]^i#_^i#a^i#b^i#d^i#e^i#f^i#g^i#h^i#i^i#k^i#o^i#r^i&^^i&_^i&n^i&v^iY^i#p^is^iq^i|^i~OW*iO~Os*jO~P9oOz*kO&PSO&R!qO~O!P]iY]i#p]is]iq]i|]i~P9oOq*lOY&eX!P&eX~P9oOY*nO~O#f$SO#g$TO#k$YO#r$WO!P#^i#_#^i#a#^i#b#^i#d#^i#e#^i#o#^i&^#^i&_#^i&n#^iY#^i#p#^is#^iq#^i|#^i~O#h$UO#i$UO~P!AmO#_#|O#d$QO#e$RO#f$SO#g$TO#h$UO#i$UO#k$YO#r$WO&^#zO&_#zO&n#{O!P#^i#b#^i#o#^iY#^i#p#^is#^iq#^i|#^i~O#a#^i~P!CUO#a#}O~P!CUO#_#|O#f$SO#g$TO#h$UO#i$UO#k$YO#r$WO&^#zO&_#zO!P#^i#a#^i#b#^i#d#^i#e#^i#o#^iY#^i#p#^is#^iq#^i|#^i~O&n#^i~P!DtO&n#{O~P!DtO#f$SO#g$TO#k$YO#r$WO!P#^i#a#^i#b#^i#e#^i#o#^iY#^i#p#^is#^iq#^i|#^i~O#_#|O#d$QO#h$UO#i$UO&^#zO&_#zO&n#{O~P!FdO#k$YO#r$WO!P#^i#_#^i#a#^i#b#^i#d#^i#e#^i#f#^i#h#^i#i#^i#o#^i&^#^i&_#^i&n#^iY#^i#p#^is#^iq#^i|#^i~O#g$TO~P!G{O#g#^i~P!G{O#h#^i#i#^i~P!AmO#p*oO~P9oO#_&aX#a&aX#b&aX#d&aX#e&aX#f&aX#g&aX#h&aX#i&aX#k&aX#o&aX#r&aX&_&aX#p&aXs&aX|&aX~P!9SO!P#liY#li#p#lis#liq#li|#li~P9oO|*rO~P$wO}'^O~O}'^O!r'`O~Oo'_O}'^O!r'`O~O%}TO&P#SO&R#SO|&sP!P&sP~PFdO}'eO~Og^Oh^Ov{O|+PO!P*}O!u}O!z|O%}TO&P!wO&RWO&_!hO&tdO~PFdO}'hO~Oo'iO}'hO~Os+RO~P:|Ou+TO%}TO~Ou'mO})fO%}TOW#Zi!P#Zi#_#Zi#a#Zi#b#Zi#d#Zi#e#Zi#f#Zi#g#Zi#h#Zi#i#Zi#k#Zi#o#Zi#r#Zi&^#Zi&_#Zi&n#Zi&v#ZiY#Zi#p#Zis#Ziq#Zi|#Zi~O}'^OW&diu&di!P&di#_&di#a&di#b&di#d&di#e&di#f&di#g&di#h&di#i&di#k&di#o&di#r&di&^&di&_&di&n&di&v&diY&di#p&dis&diq&di|&di~O#}+]O$P+^O$R+^O$S+_O$T+`O~O|+[O~P##nO$Z+aO&PSO&R!qO~OW+bO!P+cO~O$a+dOZ$_i_$_i`$_ia$_ib$_ic$_ie$_ig$_ih$_ip$_iv$_iw$_iz$_i}$_i!P$_i!S$_i!T$_i!U$_i!V$_i!W$_i!X$_i!Y$_i!Z$_i![$_i!]$_i!^$_i!_$_i!u$_i!z$_i#f$_i#r$_i#t$_i#u$_i#y$_i#z$_i$W$_i$Y$_i$`$_i$c$_i$e$_i$h$_i$l$_i$n$_i$s$_i$u$_i$w$_i$y$_i$|$_i%O$_i%w$_i%}$_i&P$_i&R$_i&X$_i&t$_i|$_i$q$_i~Og^Oh^O$h#sO&P!wO&RWO~O!P+hO~P:|O!P+iO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op!POv{OwkOz!OO}cO!PvO!SyO!TyO!UyO!VyO!WyO!XyO!YyO!Z+nO![!`O!]yO!^yO!_yO!u}O!z|O#fpO#roO#tpO#upO#y!RO#z!QO$W!SO$Y!TO$`!UO$c!VO$e!XO$h!WO$l!YO$n!ZO$q+oO$s![O$u!]O$w!^O$y!_O$|!aO%O!bO%}TO&PRO&RQO&XUO&tdO~O|+mO~P#)QOW&QXY&QXZ&QXu&QX!P&QX&viX&v&QX~P?XOWUXYUXZUXuUX!PUX&vUX&v&]X~P>lOW#tOu#uO&v#vO~OW&UXY%XXu&UX!P%XX&v&UX~OZ#XX~P#.VOY+uO!P+sO~O%Q(hO%U(iOZ$}i_$}i`$}ia$}ib$}ic$}ie$}ig$}ih$}ip$}iv$}iw$}iz$}i}$}i!P$}i!S$}i!T$}i!U$}i!V$}i!W$}i!X$}i!Y$}i!Z$}i![$}i!]$}i!^$}i!_$}i!u$}i!z$}i#f$}i#r$}i#t$}i#u$}i#y$}i#z$}i$W$}i$Y$}i$`$}i$c$}i$e$}i$h$}i$l$}i$n$}i$s$}i$u$}i$w$}i$y$}i$|$}i%O$}i%w$}i%}$}i&P$}i&R$}i&X$}i&t$}i|$}i$a$}i$q$}i~OZ+xO~O%Q(hO%U(iOZ%Vi_%Vi`%Via%Vib%Vic%Vie%Vig%Vih%Vip%Viv%Viw%Viz%Vi}%Vi!P%Vi!S%Vi!T%Vi!U%Vi!V%Vi!W%Vi!X%Vi!Y%Vi!Z%Vi![%Vi!]%Vi!^%Vi!_%Vi!u%Vi!z%Vi#f%Vi#r%Vi#t%Vi#u%Vi#y%Vi#z%Vi$W%Vi$Y%Vi$`%Vi$c%Vi$e%Vi$h%Vi$l%Vi$n%Vi$s%Vi$u%Vi$w%Vi$y%Vi$|%Vi%O%Vi%w%Vi%}%Vi&P%Vi&R%Vi&X%Vi&t%Vi|%Vi$a%Vi$q%Vi~Ou#OO%}TO}&oa!P&oa!m&oa~O!P,OO~Oo(tOq!fa&^!fa~Oq(vO&^&ma~O!m%gO}&li!P&li~O|,XO~P]OW,ZO~P5xOW&UXu&UX#_&UX#a&UX#b&UX#d&UX#e&UX#f&UX#g&UX#h&UX#i&UX#k&UX#o&UX#r&UX&^&UX&_&UX&n&UX&v&UX~OZ#xO!P&UX~P#8^OW$gOZ#xO&v#vO~Op,]Ow,]O~Oq,^O}&rX!P&rX~O!b,`O#]#wOY&UXZ#XX~P#8^OY&SXq&SX|&SX!P&SX~P9oO})]O|&yP~P:|OY&SXg%[Xh%[X%}%[X&P%[X&R%[Xq&SX|&SX!P&SX~Oq,cOY&zX~OY,eO~O})fO|&kP~P:|Oq&jX!P&jX|&jXY&jX~P9oO&bTa~PC[Oo)oOp)oOqna&^na~Oq)pO&^&`a~OW,mO~Ow,nO~Ou#OO%}TO&P,rO&R,qO~Og^Oh^Ov#pO!u#rO&P!wO&RWO&t#oO~Og^Oh^Ov{O|,wO!u}O%}TO&P!wO&RWO&tdO~PFdOw-SO&PSO&R!qO&_#YO~Oq*lOY&ea!P&ea~O#_ma#ama#bma#dma#ema#fma#gma#hma#ima#kma#oma#rma&_ma#pmasma|ma~PEnO|-WO~P$wOZ#xO}'^Oq!|X|!|X!P!|X~Oq-[O|&sX!P&sX~O|-_O!P-^O~O&_!hO~P5VOg^Oh^Ov{O|-cO!P*}O!u}O!z|O%}TO&P!wO&RWO&_!hO&tdO~PFdOs-dO~P9oOs-dO~P:|O}'^OW&dqu&dq!P&dq#_&dq#a&dq#b&dq#d&dq#e&dq#f&dq#g&dq#h&dq#i&dq#k&dq#o&dq#r&dq&^&dq&_&dq&n&dq&v&dqY&dq#p&dqs&dqq&dq|&dq~O|-hO~P##nO!W-lO$O-lO&PSO&R!qO~O!P-oO~O$Z-pO&PSO&R!qO~O!b%vO#p-rOq!`X!P!`X~O!P-tO~P9oO!P-tO~P:|O!P-wO~P9oO|-yO~P#)QO![$aO#p-zO~O!P-|O~O!b-}O~OY.QOZ$lO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%}TO&P(_O&R(^O&XUO~PFdOY.QO!P.RO~O%Q(hO%U(iOZ%Vq_%Vq`%Vqa%Vqb%Vqc%Vqe%Vqg%Vqh%Vqp%Vqv%Vqw%Vqz%Vq}%Vq!P%Vq!S%Vq!T%Vq!U%Vq!V%Vq!W%Vq!X%Vq!Y%Vq!Z%Vq![%Vq!]%Vq!^%Vq!_%Vq!u%Vq!z%Vq#f%Vq#r%Vq#t%Vq#u%Vq#y%Vq#z%Vq$W%Vq$Y%Vq$`%Vq$c%Vq$e%Vq$h%Vq$l%Vq$n%Vq$s%Vq$u%Vq$w%Vq$y%Vq$|%Vq%O%Vq%w%Vq%}%Vq&P%Vq&R%Vq&X%Vq&t%Vq|%Vq$a%Vq$q%Vq~Ou#OO%}TO}&oi!P&oi!m&oi~O&n&bOq!ga&^!ga~O!m%gO}&lq!P&lq~O|.^O~P]Op.`Ow&vOz&tO&PSO&R!qO&_#YO~O!P.aO~Oq,^O}&ra!P&ra~O})]O~P:|Oq.gO|&yX~O|.iO~Oq,cOY&za~Oq.mO|&kX~O|.oO~Ow.pO~Oq!aXu!aX!P!aX!b!aX%}!aX~OZ&QX~P#N{OZUX~P#N{O!P.qO~OZ.rO~OW^yZ#XXu^y!P^y!b^y#]^y#_^y#a^y#b^y#d^y#e^y#f^y#g^y#h^y#i^y#k^y#o^y#r^y&^^y&_^y&n^y&v^yY^y#p^ys^yq^y|^y~OY%`aq%`a!P%`a~P9oO!P#nyY#ny#p#nys#nyq#ny|#ny~P9oO}'^Oq!|a|!|a!P!|a~OZ#xO}'^Oq!|a|!|a!P!|a~O%}TO&P#SO&R#SOq%jX|%jX!P%jX~PFdOq-[O|&sa!P&sa~O|!}X~P$wO|/PO~Os/QO~P9oOW%jO!P/RO~OW%jO$Q/WO&PSO&R!qO!P&|P~OW%jO$U/XO~O!P/YO~O!b%vO#p/[Oq!`X!P!`X~OY/^O~O!P/_O~P9oO#p/`O~P9oO!b/bO~OY/cOZ$lO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%}TO&P(_O&R(^O&XUO~PFdOW#[Ou&[X%}&[X&P&[X&R&[X'O&[X~O&_#YO~P$)QOu#OO%}TO'O/eO&P%SX&R%SX~O&n&bOq!gi&^!gi~Op/iO&PSO&R!qO~OW*iOZ#xO~O!P/kO~OY&SXq&SX~P9oO})]Oq%nX|%nX~P:|Oq.gO|&ya~O!b/nO~O})fOq%cX|%cX~P:|Oq.mO|&ka~OY/qO~O!P/rO~OZ/sO~O}'^Oq!|i|!|i!P!|i~O|!}a~P$wOW%jO!P/wO~OW%jOq/xO!P&|X~OY/|O~P9oOY0OO~OY%Xq!P%Xq~P9oO'O/eO&P%Sa&R%Sa~OY0TO~O!P0WO~Ou#OO!P0YO!Z0ZO%}TO~OY0[O~Oq/xO!P&|a~O!P0_O~OW%jOq/xO!P&}X~OY0aO~P9oOY0bO~OY%Xy!P%Xy~P9oOu#OO%}TO&P%ua&R%ua'O%ua~OY0cO~O!P0dO~Ou#OO!P0eO!Z0fO%}TO~OW%jOq%ra!P%ra~Oq/xO!P&}a~O!P0jO~Ou#OO!P0jO!Z0kO%}TO~O!P0lO~O!P0nO~O#p&QXY&QXs&QXq&QX|&QX~P&bO#pUXYUXsUXqUX|UX~P(iO`Q_P#g%y&P&Xc&X~",goto:"#+S'OPPPP'P'd*x.OP'dPP.d.h0PPPPPP1nP3ZPP4v7l:[<z=d?[PPP?bPA{PPPBu3ZPDqPPElPFcFkPPPPPPPPPPPPGvH_PKjKrLOLjLpLvNiNmNmNuP! U!!^!#R!#]P!#r!!^P!#x!$S!!y!$cP!%S!%^!%d!!^!%g!%mFcFc!%q!%{!&O3Z!'m3Z3Z!)iP.hP!)mPP!*_PPPPPP.hP.h!+O.hPP.hP.hPP.h!,g!,qPP!,w!-QPPPPPPPP'PP'PPP!-U!-U!-i!-UPP!-UP!-UP!.S!.VP!-U!.m!-UP!-UP!.p!.sP!-UP!-UP!-UP!-UP!-U!-UP!-UP!.wP!.}!/Q!/WP!-U!/d!/gP!/o!0R!4T!4Z!4a!5g!5m!5{!7R!7X!7_!7i!7o!7u!7{!8R!8X!8_!8e!8k!8q!8w!8}!9T!9_!9e!9o!9uPPP!9{!-U!:pP!>WP!?[P!Ap!BW!E]3ZPPP!F|!Jm!MaPP#!P#!SP#$`#$f#&V#&f#&n#'p#(Y#)T#)^#)a#)oP#)r#*OP#*V#*^P#*aP#*lP#*o#*r#*u#*y#+PstOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,Y'urOPXY`acopx!Y![!_!a!e!f!h!i!o!x#P#T#Y#[#_#`#e#i#l#n#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$]$_$e$l$m$n$o$p$q%O%S%V%Z%^%_%b%d%g%k%u%v%{%|&R&S&[&]&`&b&d&i'X'^'_'`'e'h'i'm'n'p'{'|(O(T(U(`(l(t(v({(})O)Q)R)])f)o)p*P*T*W*l*o*p*q*z*{+O+T+d+f+h+i+l+o+r+s+x+},W,Y,^,`,u-[-^-a-r-t-}.R.V.g.m/O/[/_/b/d/n/q0R0X0Z0[0f0h0k0r#xhO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%d%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0kt!sT!Q!S!T!{!}$k%p+]+^+_+`-k-m/W/X/x0oQ#mdS&Y#`(}Q&l#oU&q#t$g,ZQ&x#vW(b%O+s.R/dU)Y%j'v+bQ)Z%kS)u&S,WU*f&s-R._Q*k&yQ,t*TQ-P*iQ.j,cR.t,uu!sT!Q!S!T!{!}$k%p+]+^+_+`-k-m/W/X/x0oT%l!r)l#{qO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0k#zlO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0kX(c%O+s.R/d$TVO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0k$TkO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0k&O[OPX`ceopx!O!Y![!_!a!g!i!o#Y#_#b#e#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$_$f$l$m$n$o$p$q%O%_%b%d%g%k%v%{&]&b&d&i&t'^'_'`'h'i'm'{'}(O(T(U(d(t)O)Q)R)])f)o)p*P*U*W*l*o*q*{*|+O+T+d+h+i+l+o+s,Y,^,`-^-r-t-}.R.g.m/O/[/_/b/d/n0Z0f0k0rQ&Q#[Q)s&RV.T+x.X/e&O[OPX`ceopx!O!Y![!_!a!g!i!o#Y#_#b#e#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$_$f$l$m$n$o$p$q%O%_%b%d%g%k%v%{&]&b&d&i&t'^'_'`'h'i'm'{'}(O(T(U(d(t)O)Q)R)])f)o)p*P*U*W*l*o*q*{*|+O+T+d+h+i+l+o+s,Y,^,`-^-r-t-}.R.g.m/O/[/_/b/d/n0Z0f0k0rV.T+x.X/e&O]OPX`ceopx!O!Y![!_!a!g!i!o#Y#_#b#e#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$_$f$l$m$n$o$p$q%O%_%b%d%g%k%v%{&]&b&d&i&t'^'_'`'h'i'm'{'}(O(T(U(d(t)O)Q)R)])f)o)p*P*U*W*l*o*q*{*|+O+T+d+h+i+l+o+s,Y,^,`-^-r-t-}.R.g.m/O/[/_/b/d/n0Z0f0k0rV.U+x.X/eS#Z[.TS$f!O&tS&s#t$gQ&y#vQ)V%dQ-R*iR._,Z$kZO`copx!Y![!_!a#Y#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$_$l$m$n$o$p$q%O%d%g%k%v&b&d'_'`'i'm(O(T(U(t)Q)R)])f)o)p*P*l*o+T+d+h+i+l+o+s,Y,^,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0kQ&O#YR,k)p&P_OPX`ceopx!Y![!_!a!g!i!o#Y#_#b#e#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$_$l$m$n$o$p$q%O%_%b%d%g%k%v%{&]&b&d&i'^'_'`'h'i'm'{'}(O(T(U(d(t)O)Q)R)])f)o)p*P*U*W*l*o*q*{*|+O+T+d+h+i+l+o+s+x,Y,^,`-^-r-t-}.R.X.g.m/O/[/_/b/d/e/n0Z0f0k0r!o#QY!e!x#R#T#`#n$]%R%S%V%^%u%|&S&[&`'X'|(`(l({(}*T*p*z+f+r+},W,u-a.V/q0R0X0[0h$SkO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0kQ$m!UQ$n!VQ$s!ZQ$|!`R+p(WQ#yiS'q$e*hQ*e&rQ+X'rS,[)T)UQ-O*gQ-Y*vQ.b,]Q.x-QQ.{-ZQ/j.`Q/u.yR0V/iQ'a$bW*[&m'b'c'dQ+W'qU,x*]*^*_Q-X*vQ-f+XS.u,y,zS.z-Y-ZQ/t.vR/v.{]!mP!o'^*q-^/OreOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,Y[!gP!o'^*q-^/OW#b`#e%b&]Q'}$oW(d%O+s.R/dS*U&i*WS*w'e-[S*|'h+OR.X+xh#VY!W!e#n#s%V'|*T*z+f,u-aQ)j%wQ)v&WR,o)y#xnOcopx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0k^!kP!g!o'^*q-^/Ov#TY!W#`#n#s%w&W&[&`'|(`(})y*T+f+r,u.W/hQ#g`Q$b{Q$c|Q$d}W%S!e%V*z-aS%Y!h(vQ%`!iQ&m#pQ&n#qQ&o#rQ(u%ZS(y%^({Q*R&eS*v'e-[R-Z*wU)h%v)f.mR+V'p[!mP!o'^*q-^/OT*}'h+O^!iP!g!o'^*q-^/OQ'd$bQ'l$dQ*_&mQ*d&oV*{'h*|+OQ%[!hR,S(vQ(s%YR,R(u#znO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0kQ%c!kS(l%S(yR(|%`T#e`%bU#c`#e%bR)z&]Q%f!lQ(n%UQ(r%XQ,U(zR.],VrvOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,Y[!mP!o'^*q-^/OQ%P!bQ%a!jQ%i!pQ'[$ZQ([$|Q(k%QQ(p%WQ+z(iR.Y+yrtOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,Y[!mP!o'^*q-^/OS*V&i*WT*}'h+OQ'c$bS*^&m'dR,z*_Q'b$bQ'g$cU*]&m'c'dQ*a&nS,y*^*_R.v,zQ*u'`R+Q'iQ'k$dS*c&o'lR,}*dQ'j$dU*b&o'k'lS,|*c*dR.w,}rtOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,Y[!mP!o'^*q-^/OT*}'h+OQ'f$cS*`&n'gR,{*aQ*x'eR.|-[R-`*yQ&j#mR*Z&lT*V&i*WQ%e!lS(q%X%fR,P(rR)R%dWk%O+s.R/d#{lO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0k$SiO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0kU&r#t$g,ZS*g&s._Q-Q*iR.y-RT'o$e'p!_#|m#a$r$z$}&w&z&{'O'P'Q'R'S'W'Z)[)g+S+g+j-T-V-e-v-{.e/Z/a/}0Q!]$Pm#a$r$z$}&w&z&{'O'P'R'S'W'Z)[)g+S+g+j-T-V-e-v-{.e/Z/a/}0Q#{nO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0ka)^%k)],`.g/n0Z0f0kQ)`%kR.k,cQ't$hQ)b%oR,f)cT+Y's+ZsvOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,YruOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,YQ$w!]R$y!^R$p!XrvOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,YR(O$oR$q!XR(V$sT+k(U+lX(f%P(g(k+{R+y(hQ.W+xR/h.XQ(j%PQ+w(gQ+|(kR.Z+{R%Q!bQ(e%OV.P+s.R/dQxOQ#lcW$`x#l)Q,YQ)Q%dR,Y)RrXOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,Yn!fP!o#e&]&i'^'e'h*W*q+O+x-[-^/Ol!zX!f#P#_#i$[%Z%_%{&R'n'{)O0r!j#PY!e!x#T#`#n$]%S%V%^%u%|&S&[&`'X'|(`(l({(}*T*p*z+f+r+},W,u-a.V/q0R0X0[0hQ#_`Q#ia#d$[op!Y!_!a#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$l%g%k%v&b&d'_'`'i'm(O(T(t)])f)o*P*l*o+T+h+i+o,^,`-r-t-}.g.m/[/_/b/n0Z0f0kS%Z!h(vS%_!i*{S%{#Y)pQ&R#[S'n$e'pY'{$o%O+s.R/dQ)O%bR0r$YQ!uUR%m!uQ)q&OR,l)q^#RY#`$]'X'|(`*px%R!e!x#n%V%^%|&S&[&`({(}*T*z+f+r,W,u-a.V0R[%t#R%R%u+}0X0hS%u#T%SQ+}(lQ0X/qR0h0[Q*m&{R-U*mQ!oPU%h!o*q/OQ*q'^R/O-^!pbOP`cx![!o#e#l$_$m$n$o$p$q%O%b%d&]&i'^'e'h(U)Q)R*W*q+O+d+l+s+x,Y-[-^.R/O/dY!yX!f#_'{)OT#jb!yQ.n,gR/p.nQ%x#VR)k%xQ&c#fS*O&c.[R.[,QQ(w%[R,T(wQ&^#cR){&^Q,_)WR.d,_Q+O'hR-b+OQ-]*xR.}-]Q*W&iR,v*WQ'p$eR+U'pQ&f#gR*S&fQ.h,aR/m.hQ,d)`R.l,dQ+Z'sR-g+ZQ-k+]R/T-kQ/y/US0^/y0`R0`/{Q+l(UR-x+lQ(g%PS+v(g+{R+{(kQ/f.VR0S/fQ+t(eR.S+t`wOcx#l%d)Q)R,YQ$t![Q']$_Q'y$mQ'z$nQ(Q$pQ(R$qS+k(U+lR-q+d'dsOPXY`acopx!Y![!_!a!e!f!h!i!o!x#P#T#Y#[#_#`#e#i#l#n#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$]$_$e$l$m$n$o$p$q%O%S%V%Z%^%_%b%d%g%u%v%{%|&R&S&[&]&`&b&d&i'X'^'_'`'e'h'i'm'n'p'{'|(O(T(U(`(l(t(v({(})O)Q)R)f)o)p*P*T*W*l*o*p*q*z*{+O+T+d+f+h+i+l+o+r+s+x+},W,Y,^,u-[-^-a-r-t-}.R.V.m/O/[/_/b/d/q0R0X0[0h0ra)_%k)],`.g/n0Z0f0kQ!rTQ$h!QQ$i!SQ$j!TQ%o!{Q%q!}Q'x$kQ)c%pQ)l0oS-i+]+_Q-m+^Q-n+`Q/S-kS/U-m/WQ/{/XR0]/x%uSOT`cdopx!Q!S!T!Y![!_!a!{!}#`#l#o#t#u#v#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$g$k$l$m$n$o$p$q%O%d%j%k%p%v&S&d&s&y'm'v(O(T(U(})Q)R)])f*P*T*i*l*o+T+]+^+_+`+b+d+h+i+l+o+s,W,Y,Z,`,c,u-R-k-m-r-t-}.R._.g.m/W/X/[/_/b/d/n/x0Z0f0k0oQ)a%kQ,a)]S.f,`/nQ/l.gQ0g0ZQ0i0fR0m0krmOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,YS#a`$lQ$WoQ$^pQ$r!YQ$z!_Q$}!aQ&w#uQ&z#wY&{#x$o+h-t/_Q&}#|Q'O#}Q'P$OQ'Q$PQ'R$QQ'S$RQ'T$SQ'U$TQ'V$UQ'W$VQ'Z$Z^)[%k)].g/n0Z0f0kU)g%v)f.mQ*Q&dQ+S'mQ+g(OQ+j(TQ,p*PQ-T*lQ-V*oQ-e+TQ-v+iQ-{+oQ.e,`Q/Z-rQ/a-}Q/}/[R0Q/b#xgO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0kW(a%O+s.R/dR)S%drYOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,Y[!eP!o'^*q-^/OW!xX$[%{'{Q#``Q#ne#S$]op!Y!_!a#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$l%k%v&d'm(O(T)])f*P*l*o+T+h+i+o,`-r-t-}.g.m/[/_/b/n0Z0f0kQ%V!gS%^!i*{d%|#Y%g&b'_'`'i(t)o)p,^Q&S#_Q&[#bS&`#e&]Q'X$YQ'|$oW(`%O+s.R/dQ({%_Q(}%bS*T&i*WQ*p0rS*z'h+OQ+f'}Q+r(dQ,W)OQ,u*UQ-a*|S.V+x.XR0R/e&O_OPX`ceopx!Y![!_!a!g!i!o#Y#_#b#e#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$_$l$m$n$o$p$q%O%_%b%d%g%k%v%{&]&b&d&i'^'_'`'h'i'm'{'}(O(T(U(d(t)O)Q)R)])f)o)p*P*U*W*l*o*q*{*|+O+T+d+h+i+l+o+s+x,Y,^,`-^-r-t-}.R.X.g.m/O/[/_/b/d/e/n0Z0f0k0rQ$e!OQ'r$fR*h&t&ZWOPX`ceopx!O!Y![!_!a!g!i!o#Y#[#_#b#e#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$_$f$l$m$n$o$p$q%O%_%b%d%g%k%v%{&R&]&b&d&i&t'^'_'`'h'i'm'{'}(O(T(U(d(t)O)Q)R)])f)o)p*P*U*W*l*o*q*{*|+O+T+d+h+i+l+o+s+x,Y,^,`-^-r-t-}.R.X.g.m/O/[/_/b/d/e/n0Z0f0k0rR&P#Y$QjOcopx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0kQ#f`Q&O#YQ'Y$YU)W%g'`'iQ)}&bQ*s'_Q,Q(tQ,j)oQ,k)pR.c,^Q)n%}R,i)m$SfO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0kT&p#t,ZQ&|#xQ(P$oQ-u+hQ/]-tR0P/_]!nP!o'^*q-^/O#PaOPX`bcx![!f!o!y#_#e#l$_$m$n$o$p$q%O%b%d&]&i'^'e'h'{(U)O)Q)R*W*q+O+d+l+s+x,Y-[-^.R/O/dU#WY!W'|Q%T!eU&k#n#s+fQ(o%VS,s*T*zT.s,u-aj#UY!W!e#n#s%V%w&W)y*T*z,u-aU&V#`&`(}Q)x&[Q+e'|Q+q(`Q-s+fQ.O+rQ/g.WR0U/hQ)i%vQ,g)fR/o.mR,h)f`!jP!o'^'h*q+O-^/OT%W!g*|R%]!hW%U!e%V*z-aQ(z%^R,V({S#d`%bR&a#eQ)X%gT*t'`'iR*y'e[!lP!o'^*q-^/OR%X!gR#h`R,b)]R)a%kT-j+]-kQ/V-mR/z/WR/z/X",nodeNames:"⚠ LineComment BlockComment Program ModuleDeclaration MarkerAnnotation Identifier ScopedIdentifier . Annotation ) ( AnnotationArgumentList AssignmentExpression FieldAccess IntegerLiteral FloatingPointLiteral BooleanLiteral CharacterLiteral StringLiteral TextBlock null ClassLiteral void PrimitiveType TypeName ScopedTypeName GenericType TypeArguments AnnotatedType Wildcard extends super , ArrayType ] Dimension [ class this ParenthesizedExpression ObjectCreationExpression new ArgumentList } { ClassBody ; FieldDeclaration Modifiers public protected private abstract static final strictfp default synchronized native transient volatile VariableDeclarator Definition AssignOp ArrayInitializer MethodDeclaration TypeParameters TypeParameter TypeBound FormalParameters ReceiverParameter FormalParameter SpreadParameter Throws throws Block ClassDeclaration Superclass SuperInterfaces implements InterfaceTypeList InterfaceDeclaration interface ExtendsInterfaces InterfaceBody ConstantDeclaration EnumDeclaration enum EnumBody EnumConstant EnumBodyDeclarations AnnotationTypeDeclaration AnnotationTypeBody AnnotationTypeElementDeclaration StaticInitializer ConstructorDeclaration ConstructorBody ExplicitConstructorInvocation ArrayAccess MethodInvocation MethodName MethodReference ArrayCreationExpression Dimension AssignOp BinaryExpression CompareOp CompareOp LogicOp LogicOp BitOp BitOp BitOp ArithOp ArithOp ArithOp BitOp InstanceofExpression instanceof LambdaExpression InferredParameters TernaryExpression LogicOp : UpdateExpression UpdateOp UnaryExpression LogicOp BitOp CastExpression ElementValueArrayInitializer ElementValuePair open module ModuleBody ModuleDirective requires transitive exports to opens uses provides with PackageDeclaration package ImportDeclaration import Asterisk ExpressionStatement LabeledStatement Label IfStatement if else WhileStatement while ForStatement for ForSpec LocalVariableDeclaration var EnhancedForStatement ForSpec AssertStatement assert SwitchStatement switch SwitchBlock SwitchLabel case DoStatement do BreakStatement break ContinueStatement continue ReturnStatement return SynchronizedStatement ThrowStatement throw TryStatement try CatchClause catch CatchFormalParameter CatchType FinallyClause finally TryWithResourcesStatement ResourceSpecification Resource ClassContent",maxTerm:276,nodeProps:[["isolate",-4,1,2,18,19,""],["group",-26,4,47,76,77,82,87,92,145,147,150,151,153,156,158,161,163,165,167,172,174,176,178,180,181,183,191,"Statement",-25,6,13,14,15,16,17,18,19,20,21,22,39,40,41,99,100,102,103,106,118,120,122,125,127,130,"Expression",-7,23,24,25,26,27,29,34,"Type"],["openedBy",10,"(",44,"{"],["closedBy",11,")",45,"}"]],propSources:[i],skippedNodes:[0,1,2],repeatNodeCount:28,tokenData:"#'f_R!_OX%QXY'fYZ)bZ^'f^p%Qpq'fqr*|rs,^st%Qtu4euv5zvw7[wx8rxyAZyzAwz{Be{|CZ|}Dq}!OE_!O!PFx!P!Q! r!Q!R!,h!R![!0`![!]!>p!]!^!@Q!^!_!@n!_!`!BX!`!a!B{!a!b!Di!b!c!EX!c!}!LT!}#O!Mj#O#P%Q#P#Q!NW#Q#R!Nt#R#S4e#S#T%Q#T#o4e#o#p# h#p#q#!U#q#r##n#r#s#$[#s#y%Q#y#z'f#z$f%Q$f$g'f$g#BY4e#BY#BZ#$x#BZ$IS4e$IS$I_#$x$I_$I|4e$I|$JO#$x$JO$JT4e$JT$JU#$x$JU$KV4e$KV$KW#$x$KW&FU4e&FU&FV#$x&FV;'S4e;'S;=`5t<%lO4eS%VV&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS%qO&YSS%tVOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZS&^VOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS&vP;=`<%l%QS&|UOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZS'cP;=`<%l&Z_'mk&YS%yZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qs#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%Q_)iY&YS%yZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XZ*^Y%yZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XV+TX#tP&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QU+wV#_Q&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT,aXOY,|YZ%lZr,|rs3Ys#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T-PXOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT-qX&YSOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT.cVcPOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZT.}V&YSOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT/iW&YSOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0UWOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0sOcPP0vTOY0RYZ0RZ;'S0R;'S;=`1V<%lO0RP1YP;=`<%l0RT1`XOY,|YZ%lZr,|rs1{s#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T2QUcPOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZT2gVOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT3PP;=`<%l-lT3VP;=`<%l,|T3_VcPOY&ZYZ%lZr&Zrs3ts;'S&Z;'S;=`'`<%lO&ZT3yR&WSXY4SYZ4`pq4SP4VRXY4SYZ4`pq4SP4eO&XP_4lb&YS&PZOY%QYZ%lZr%Qrs%qst%Qtu4eu!Q%Q!Q![4e![!c%Q!c!}4e!}#R%Q#R#S4e#S#T%Q#T#o4e#o$g%Q$g;'S4e;'S;=`5t<%lO4e_5wP;=`<%l4eU6RX#hQ&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%QU6uV#]Q&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV7cZ&nR&YSOY%QYZ%lZr%Qrs%qsv%Qvw8Uw!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%QU8]V#aQ&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT8wZ&YSOY9jYZ%lZr9jrs:xsw9jwx%Qx#O9j#O#P<S#P;'S9j;'S;=`AT<%lO9jT9oX&YSOY%QYZ%lZr%Qrs%qsw%Qwx:[x;'S%Q;'S;=`&s<%lO%QT:cVbP&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT:{XOY&ZYZ%lZr&Zrs&ysw&Zwx;hx;'S&Z;'S;=`'`<%lO&ZT;mVbPOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT<XZ&YSOY<zYZ%lZr<zrs=rsw<zwx9jx#O<z#O#P9j#P;'S<z;'S;=`?^<%lO<zT=PZ&YSOY<zYZ%lZr<zrs=rsw<zwx:[x#O<z#O#P%Q#P;'S<z;'S;=`?^<%lO<zT=uZOY>hYZ%lZr>hrs?dsw>hwx;hx#O>h#O#P&Z#P;'S>h;'S;=`@}<%lO>hT>kZOY<zYZ%lZr<zrs=rsw<zwx:[x#O<z#O#P%Q#P;'S<z;'S;=`?^<%lO<zT?aP;=`<%l<zT?gZOY>hYZ%lZr>hrs@Ysw>hwx;hx#O>h#O#P&Z#P;'S>h;'S;=`@}<%lO>hP@]VOY@YZw@Ywx@rx#O@Y#P;'S@Y;'S;=`@w<%lO@YP@wObPP@zP;=`<%l@YTAQP;=`<%l>hTAWP;=`<%l9j_AbVZZ&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVBOVYR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVBnX$ZP&YS#gQOY%QYZ%lZr%Qrs%qs!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%QVCbZ#fR&YSOY%QYZ%lZr%Qrs%qs{%Q{|DT|!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%QVD[V#rR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVDxVqR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVEf[#fR&YSOY%QYZ%lZr%Qrs%qs}%Q}!ODT!O!_%Q!_!`6n!`!aF[!a;'S%Q;'S;=`&s<%lO%QVFcV&xR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_GPZWY&YSOY%QYZ%lZr%Qrs%qs!O%Q!O!PGr!P!Q%Q!Q![IQ![;'S%Q;'S;=`&s<%lO%QVGwX&YSOY%QYZ%lZr%Qrs%qs!O%Q!O!PHd!P;'S%Q;'S;=`&s<%lO%QVHkV&qR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTIXc&YS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![IQ![!f%Q!f!gJd!g!hKQ!h!iJd!i#R%Q#R#SNz#S#W%Q#W#XJd#X#YKQ#Y#ZJd#Z;'S%Q;'S;=`&s<%lO%QTJkV&YS`POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTKV]&YSOY%QYZ%lZr%Qrs%qs{%Q{|LO|}%Q}!OLO!O!Q%Q!Q![Lp![;'S%Q;'S;=`&s<%lO%QTLTX&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lp![;'S%Q;'S;=`&s<%lO%QTLwc&YS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lp![!f%Q!f!gJd!g!h%Q!h!iJd!i#R%Q#R#SNS#S#W%Q#W#XJd#X#Y%Q#Y#ZJd#Z;'S%Q;'S;=`&s<%lO%QTNXZ&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lp![#R%Q#R#SNS#S;'S%Q;'S;=`&s<%lO%QT! PZ&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![IQ![#R%Q#R#SNz#S;'S%Q;'S;=`&s<%lO%Q_! y]&YS#gQOY%QYZ%lZr%Qrs%qsz%Qz{!!r{!P%Q!P!Q!)e!Q!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%Q_!!wX&YSOY!!rYZ!#dZr!!rrs!%Psz!!rz{!&_{;'S!!r;'S;=`!'s<%lO!!r_!#iT&YSOz!#xz{!$[{;'S!#x;'S;=`!$y<%lO!#xZ!#{TOz!#xz{!$[{;'S!#x;'S;=`!$y<%lO!#xZ!$_VOz!#xz{!$[{!P!#x!P!Q!$t!Q;'S!#x;'S;=`!$y<%lO!#xZ!$yOQZZ!$|P;=`<%l!#x_!%SXOY!%oYZ!#dZr!%ors!'ysz!%oz{!(i{;'S!%o;'S;=`!)_<%lO!%o_!%rXOY!!rYZ!#dZr!!rrs!%Psz!!rz{!&_{;'S!!r;'S;=`!'s<%lO!!r_!&dZ&YSOY!!rYZ!#dZr!!rrs!%Psz!!rz{!&_{!P!!r!P!Q!'V!Q;'S!!r;'S;=`!'s<%lO!!r_!'^V&YSQZOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!'vP;=`<%l!!r_!'|XOY!%oYZ!#dZr!%ors!#xsz!%oz{!(i{;'S!%o;'S;=`!)_<%lO!%o_!(lZOY!!rYZ!#dZr!!rrs!%Psz!!rz{!&_{!P!!r!P!Q!'V!Q;'S!!r;'S;=`!'s<%lO!!r_!)bP;=`<%l!%o_!)lV&YSPZOY!)eYZ%lZr!)ers!*Rs;'S!)e;'S;=`!+X<%lO!)e_!*WVPZOY!*mYZ%lZr!*mrs!+_s;'S!*m;'S;=`!,b<%lO!*m_!*rVPZOY!)eYZ%lZr!)ers!*Rs;'S!)e;'S;=`!+X<%lO!)e_!+[P;=`<%l!)e_!+dVPZOY!*mYZ%lZr!*mrs!+ys;'S!*m;'S;=`!,b<%lO!*mZ!,OSPZOY!+yZ;'S!+y;'S;=`!,[<%lO!+yZ!,_P;=`<%l!+y_!,eP;=`<%l!*mT!,ou&YS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!/S!P!Q%Q!Q![!0`![!d%Q!d!e!3j!e!f%Q!f!gJd!g!hKQ!h!iJd!i!n%Q!n!o!2U!o!q%Q!q!r!5h!r!z%Q!z!{!7`!{#R%Q#R#S!2r#S#U%Q#U#V!3j#V#W%Q#W#XJd#X#YKQ#Y#ZJd#Z#`%Q#`#a!2U#a#c%Q#c#d!5h#d#l%Q#l#m!7`#m;'S%Q;'S;=`&s<%lO%QT!/Za&YS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![IQ![!f%Q!f!gJd!g!hKQ!h!iJd!i#W%Q#W#XJd#X#YKQ#Y#ZJd#Z;'S%Q;'S;=`&s<%lO%QT!0gi&YS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!/S!P!Q%Q!Q![!0`![!f%Q!f!gJd!g!hKQ!h!iJd!i!n%Q!n!o!2U!o#R%Q#R#S!2r#S#W%Q#W#XJd#X#YKQ#Y#ZJd#Z#`%Q#`#a!2U#a;'S%Q;'S;=`&s<%lO%QT!2]V&YS_POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT!2wZ&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!0`![#R%Q#R#S!2r#S;'S%Q;'S;=`&s<%lO%QT!3oY&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4_!R!S!4_!S;'S%Q;'S;=`&s<%lO%QT!4f`&YS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4_!R!S!4_!S!n%Q!n!o!2U!o#R%Q#R#S!3j#S#`%Q#`#a!2U#a;'S%Q;'S;=`&s<%lO%QT!5mX&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6Y!Y;'S%Q;'S;=`&s<%lO%QT!6a_&YS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6Y!Y!n%Q!n!o!2U!o#R%Q#R#S!5h#S#`%Q#`#a!2U#a;'S%Q;'S;=`&s<%lO%QT!7e_&YSOY%QYZ%lZr%Qrs%qs!O%Q!O!P!8d!P!Q%Q!Q![!:r![!c%Q!c!i!:r!i#T%Q#T#Z!:r#Z;'S%Q;'S;=`&s<%lO%QT!8i]&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9b![!c%Q!c!i!9b!i#T%Q#T#Z!9b#Z;'S%Q;'S;=`&s<%lO%QT!9gc&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9b![!c%Q!c!i!9b!i!r%Q!r!sKQ!s#R%Q#R#S!8d#S#T%Q#T#Z!9b#Z#d%Q#d#eKQ#e;'S%Q;'S;=`&s<%lO%QT!:yi&YS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!<h!P!Q%Q!Q![!:r![!c%Q!c!i!:r!i!n%Q!n!o!2U!o!r%Q!r!sKQ!s#R%Q#R#S!=r#S#T%Q#T#Z!:r#Z#`%Q#`#a!2U#a#d%Q#d#eKQ#e;'S%Q;'S;=`&s<%lO%QT!<ma&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9b![!c%Q!c!i!9b!i!r%Q!r!sKQ!s#T%Q#T#Z!9b#Z#d%Q#d#eKQ#e;'S%Q;'S;=`&s<%lO%QT!=w]&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!:r![!c%Q!c!i!:r!i#T%Q#T#Z!:r#Z;'S%Q;'S;=`&s<%lO%QV!>wX#pR&YSOY%QYZ%lZr%Qrs%qs![%Q![!]!?d!];'S%Q;'S;=`&s<%lO%QV!?kV&vR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!@XV!PR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!@uY&_Z&YSOY%QYZ%lZr%Qrs%qs!^%Q!^!_!Ae!_!`+p!`;'S%Q;'S;=`&s<%lO%QU!AlX#iQ&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%QV!B`X!bR&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QV!CSY&^R&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`!a!Cr!a;'S%Q;'S;=`&s<%lO%QU!CyY#iQ&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6n!`!a!Ae!a;'S%Q;'S;=`&s<%lO%Q_!DrV&bX#oQ&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!E`X%}Z&YSOY%QYZ%lZr%Qrs%qs#]%Q#]#^!E{#^;'S%Q;'S;=`&s<%lO%QV!FQX&YSOY%QYZ%lZr%Qrs%qs#b%Q#b#c!Fm#c;'S%Q;'S;=`&s<%lO%QV!FrX&YSOY%QYZ%lZr%Qrs%qs#h%Q#h#i!G_#i;'S%Q;'S;=`&s<%lO%QV!GdX&YSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!HP#Y;'S%Q;'S;=`&s<%lO%QV!HUX&YSOY%QYZ%lZr%Qrs%qs#f%Q#f#g!Hq#g;'S%Q;'S;=`&s<%lO%QV!HvX&YSOY%QYZ%lZr%Qrs%qs#Y%Q#Y#Z!Ic#Z;'S%Q;'S;=`&s<%lO%QV!IhX&YSOY%QYZ%lZr%Qrs%qs#T%Q#T#U!JT#U;'S%Q;'S;=`&s<%lO%QV!JYX&YSOY%QYZ%lZr%Qrs%qs#V%Q#V#W!Ju#W;'S%Q;'S;=`&s<%lO%QV!JzX&YSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!Kg#Y;'S%Q;'S;=`&s<%lO%QV!KnV&tR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!L[b&RZ&YSOY%QYZ%lZr%Qrs%qst%Qtu!LTu!Q%Q!Q![!LT![!c%Q!c!}!LT!}#R%Q#R#S!LT#S#T%Q#T#o!LT#o$g%Q$g;'S!LT;'S;=`!Md<%lO!LT_!MgP;=`<%l!LT_!MqVuZ&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!N_VsR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QU!N{X#eQ&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%QV# oV}R&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_#!_Z'OX#dQ&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6n!`#p%Q#p#q##Q#q;'S%Q;'S;=`&s<%lO%QU##XV#bQ&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV##uV|R&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT#$cV#uP&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_#%Ru&YS%yZ&PZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qst%Qtu4eu!Q%Q!Q![4e![!c%Q!c!}4e!}#R%Q#R#S4e#S#T%Q#T#o4e#o#y%Q#y#z'f#z$f%Q$f$g'f$g#BY4e#BY#BZ#$x#BZ$IS4e$IS$I_#$x$I_$I|4e$I|$JO#$x$JO$JT4e$JT$JU#$x$JU$KV4e$KV$KW#$x$KW&FU4e&FU&FV#$x&FV;'S4e;'S;=`5t<%lO4e",tokenizers:[0,1,2,3],topRules:{Program:[0,3],ClassContent:[1,194]},dynamicPrecedences:{27:1,232:-1,243:-1},specialized:[{term:231,get:e=>a[e]||-1}],tokenPrec:7144});var l=n(15874);const c=l.bj.define({name:"java",parser:s.configure({props:[l.Oh.add({IfStatement:(0,l.mz)({except:/^\s*({|else\b)/}),TryStatement:(0,l.mz)({except:/^\s*({|catch|finally)\b/}),LabeledStatement:l._Y,SwitchBlock:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:(0,l.Ay)({closing:"}"}),BlockComment:()=>null,Statement:(0,l.mz)({except:/^{/})}),l.b_.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":l.yd,BlockComment(e){return{from:e.from+2,to:e.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function u(){return new l.Yy(c)}},73971:function(e){e.exports="undefined"},74064:function(e,t,n){"use strict";n.d(t,{a:function(){return m}});var r=n(15215),o=n(98026),i=n(32322),a=n(10992),s=n(69622),l=n(89632),c=n(34253),u=n(15915),d=n(59109),f=n(83412),h=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,r.C6)(t,e),t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}(u.A),p=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.C6)(t,e),t.prototype.render=function(e,t,n){if(this.group.removeAll(),e.get("show")){var r=this.group,u=e.getModel("textStyle"),d=e.getModel("subtextStyle"),h=e.get("textAlign"),p=o.retrieve2(e.get("textBaseline"),e.get("textVerticalAlign")),m=new i.Ay({style:(0,l.VB)(u,{text:e.get("text"),fill:u.getTextColor()},{disableBox:!0}),z2:10}),g=m.getBoundingRect(),A=e.get("subtext"),v=new i.Ay({style:(0,l.VB)(d,{text:A,fill:d.getTextColor(),y:g.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),y=e.get("link"),O=e.get("sublink"),b=e.get("triggerEvent",!0);m.silent=!y&&!b,v.silent=!O&&!b,y&&m.on("click",(function(){(0,f.JW)(y,"_"+e.get("target"))})),O&&v.on("click",(function(){(0,f.JW)(O,"_"+e.get("subtarget"))})),(0,s.z)(m).eventData=(0,s.z)(v).eventData=b?{componentType:"title",componentIndex:e.componentIndex}:null,r.add(m),A&&r.add(v);var w=r.getBoundingRect(),_=e.getBoxLayoutParams();_.width=w.width,_.height=w.height;var x=(0,c.dV)(_,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));h||("middle"===(h=e.get("left")||e.get("right"))&&(h="center"),"right"===h?x.x+=x.width:"center"===h&&(x.x+=x.width/2)),p||("center"===(p=e.get("top")||e.get("bottom"))&&(p="middle"),"bottom"===p?x.y+=x.height:"middle"===p&&(x.y+=x.height/2),p=p||"top"),r.x=x.x,r.y=x.y,r.markRedraw();var S={align:h,verticalAlign:p};m.setStyle(S),v.setStyle(S),w=r.getBoundingRect();var k=x.margin,C=e.getItemStyle(["color","opacity"]);C.fill=e.get("backgroundColor");var B=new a.A({shape:{x:w.x-k[3],y:w.y-k[0],width:w.width+k[1]+k[3],height:w.height+k[0]+k[2],r:e.get("borderRadius")},style:C,subPixelOptimize:!0,silent:!0});r.add(B)}},t.type="title",t}(d.A);function m(e){e.registerComponentModel(h),e.registerComponentView(p)}},74251:function(e,t,n){var r=n(17474)((function(e){return new Date(e.getFullYear(),0,1)}),(function(e,t){return e.getFullYear()!==t.getFullYear()}));e.exports=r},74353:function(e){e.exports=function(){"use strict";var e=6e4,t=36e5,n="millisecond",r="second",o="minute",i="hour",a="day",s="week",l="month",c="quarter",u="year",d="date",f="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},A={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,l),i=n-o<0,a=t.clone().add(r+(i?-1:1),l);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:u,w:s,d:a,D:d,h:i,m:o,s:r,ms:n,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},v="en",y={};y[v]=m;var O="$isDayjsObject",b=function(e){return e instanceof S||!(!e||!e[O])},w=function e(t,n,r){var o;if(!t)return v;if("string"==typeof t){var i=t.toLowerCase();y[i]&&(o=i),n&&(y[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;y[s]=t,o=s}return!r&&o&&(v=o),o||!r&&v},_=function(e,t){if(b(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new S(n)},x=A;x.l=w,x.i=b,x.w=function(e,t){return _(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function m(e){this.$L=w(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[O]=!0}var g=m.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(x.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return x},g.isValid=function(){return!(this.$d.toString()===f)},g.isSame=function(e,t){var n=_(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return _(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<_(e)},g.$g=function(e,t,n){return x.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,c=!!x.u(t)||t,f=x.p(e),h=function(e,t){var r=x.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return c?r:r.endOf(a)},p=function(e,t){return x.w(n.toDate()[e].apply(n.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,A=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case u:return c?h(1,0):h(31,11);case l:return c?h(1,g):h(0,g+1);case s:var y=this.$locale().weekStart||0,O=(m<y?m+7:m)-y;return h(c?A-O:A+(6-O),g);case a:case d:return p(v+"Hours",0);case i:return p(v+"Minutes",1);case o:return p(v+"Seconds",2);case r:return p(v+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var s,c=x.p(e),f="set"+(this.$u?"UTC":""),h=(s={},s[a]=f+"Date",s[d]=f+"Date",s[l]=f+"Month",s[u]=f+"FullYear",s[i]=f+"Hours",s[o]=f+"Minutes",s[r]=f+"Seconds",s[n]=f+"Milliseconds",s)[c],p=c===a?this.$D+(t-this.$W):t;if(c===l||c===u){var m=this.clone().set(d,1);m.$d[h](p),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[x.p(e)]()},g.add=function(n,c){var d,f=this;n=Number(n);var h=x.p(c),p=function(e){var t=_(f);return x.w(t.date(t.date()+Math.round(e*n)),f)};if(h===l)return this.set(l,this.$M+n);if(h===u)return this.set(u,this.$y+n);if(h===a)return p(1);if(h===s)return p(7);var m=(d={},d[o]=e,d[i]=t,d[r]=1e3,d)[h]||1,g=this.$d.getTime()+n*m;return x.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=x.z(this),i=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},h=function(e){return x.s(i%12||12,e,"0")},m=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(p,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return x.s(t.$y,4,"0");case"M":return s+1;case"MM":return x.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return t.$D;case"DD":return x.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(i);case"HH":return x.s(i,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return m(i,a,!0);case"A":return m(i,a,!1);case"m":return String(a);case"mm":return x.s(a,2,"0");case"s":return String(t.$s);case"ss":return x.s(t.$s,2,"0");case"SSS":return x.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,d,f){var h,p=this,m=x.p(d),g=_(n),A=(g.utcOffset()-this.utcOffset())*e,v=this-g,y=function(){return x.m(p,g)};switch(m){case u:h=y()/12;break;case l:h=y();break;case c:h=y()/3;break;case s:h=(v-A)/6048e5;break;case a:h=(v-A)/864e5;break;case i:h=v/t;break;case o:h=v/e;break;case r:h=v/1e3;break;default:h=v}return f?h:x.a(h)},g.daysInMonth=function(){return this.endOf(l).$D},g.$locale=function(){return y[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=w(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return x.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},m}(),k=S.prototype;return _.prototype=k,[["$ms",n],["$s",r],["$m",o],["$H",i],["$W",a],["$M",l],["$y",u],["$D",d]].forEach((function(e){k[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),_.extend=function(e,t){return e.$i||(e(t,S,_),e.$i=!0),_},_.locale=w,_.isDayjs=b,_.unix=function(e){return _(1e3*e)},_.en=y[v],_.Ls=y,_.p={},_}()},74409:function(e,t,n){var r=n(98594)("string");e.exports=r},74562:function(e,t,n){"use strict";var r=n(15215),o=n(24326),i=n(83412),a=n(28613),s=n(67071),l=o.LI,c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return(0,r.C6)(t,e),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return s.lP(e,this._extent)},t.prototype.normalize=function(e){return s.S8(e,this._extent)},t.prototype.scale=function(e){return s.hs(e,this._extent)},t.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},t.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]),this.setExtent(t[0],t[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=s.u$(e)},t.prototype.getTicks=function(e){var t=this._interval,n=this._extent,r=this._niceExtent,o=this._intervalPrecision,i=[];if(!t)return i;n[0]<r[0]&&(e?i.push({value:l(r[0]-t,o)}):i.push({value:n[0]}));for(var a=r[0];a<=r[1]&&(i.push({value:a}),(a=l(a+t,o))!==i[i.length-1].value);)if(i.length>1e4)return[];var s=i.length?i[i.length-1].value:r[1];return n[1]>s&&(e?i.push({value:l(s+t,o)}):i.push({value:n[1]})),i},t.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),n=[],r=this.getExtent(),o=1;o<t.length;o++){for(var i=t[o],a=t[o-1],s=0,c=[],u=(i.value-a.value)/e;s<e-1;){var d=l(a.value+(s+1)*u);d>r[0]&&d<r[1]&&c.push(d),s++}n.push(c)}return n},t.prototype.getLabel=function(e,t){if(null==e)return"";var n=t&&t.precision;null==n?n=o.XV(e.value)||0:"auto"===n&&(n=this._intervalPrecision);var r=l(e.value,n,!0);return i.ob(r)},t.prototype.calcNiceTicks=function(e,t,n){e=e||5;var r=this._extent,o=r[1]-r[0];if(isFinite(o)){o<0&&(o=-o,r.reverse());var i=s.xh(r,e,t,n);this._intervalPrecision=i.intervalPrecision,this._interval=i.interval,this._niceExtent=i.niceTickExtent}},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1])if(0!==t[0]){var n=Math.abs(t[0]);e.fixMax||(t[1]+=n/2),t[0]-=n/2}else t[1]=1;var r=t[1]-t[0];isFinite(r)||(t[0]=0,t[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var o=this._interval;e.fixMin||(t[0]=l(Math.floor(t[0]/o)*o)),e.fixMax||(t[1]=l(Math.ceil(t[1]/o)*o))},t.prototype.setNiceExtent=function(e,t){this._niceExtent=[e,t]},t.type="interval",t}(a.A);a.A.registerClass(c),t.A=c},74933:function(e,t,n){var r=n(50026),o=n(53848),i=n(79135),a=n(35657),s=n(29650);e.exports=function(e,t,n){var l=0;return a(e&&e.length>2&&i(e)?e.sort():e,t?o(t)?function(){l=r(l,t.apply(n,arguments))}:function(e){l=r(l,s(e,t))}:function(e){l=r(l,e)}),l}},75199:function(e,t,n){!function(){"use strict";var t=function(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;return"object"===t&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"===t&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":t},r=function(e){return{eq:e}},o=r((function(e,t){return e===t})),i=function(e){return r((function(t,n){if(t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e.eq(t[o],n[o]))return!1;return!0}))},a=function(e){return r((function(t,n){var a=Object.keys(t),s=Object.keys(n);if(!function(e,t){return function(e,t){return r((function(n,r){return e.eq(t(n),t(r))}))}(i(e),(function(e){return function(e,t){return Array.prototype.slice.call(e).sort(t)}(e,t)}))}(o).eq(a,s))return!1;for(var l=a.length,c=0;c<l;c++){var u=a[c];if(!e.eq(t[u],n[u]))return!1}return!0}))},s=r((function(e,n){if(e===n)return!0;var r=t(e);return r===t(n)&&(function(e){return-1!==["undefined","boolean","number","string","function","xml","null"].indexOf(e)}(r)?e===n:"array"===r?i(s).eq(e,n):"object"===r&&a(s).eq(e,n))})),l=function(e){return function(t){return r=typeof(n=t),(null===n?"null":"object"===r&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"===r&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":r)===e;var n,r}},c=function(e){return function(t){return typeof t===e}},u=function(e){return function(t){return e===t}},d=l("string"),f=l("object"),h=l("array"),p=u(null),m=c("boolean"),g=u(void 0),A=function(e){return null==e},v=function(e){return!A(e)},y=c("function"),O=c("number"),b=function(){},w=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e(t.apply(null,n))}},_=function(e,t){return function(n){return e(t(n))}},x=function(e){return function(){return e}},S=function(e){return e},k=function(e,t){return e===t};function C(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=t.concat(n);return e.apply(null,o)}}var B=function(e){return function(t){return!e(t)}},Q=function(e){return e()},T=function(e){e()},E=x(!1),P=x(!0),$=function(){return M},M=function(){var e=function(e){return e()},t=S;return{fold:function(e,t){return e()},isSome:E,isNone:P,getOr:t,getOrThunk:e,getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:x(null),getOrUndefined:x(void 0),or:t,orThunk:e,map:$,each:b,bind:$,exists:E,forall:P,filter:function(){return $()},toArray:function(){return[]},toString:x("none()")}}(),z=function(e){var t=x(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:P,isNone:E,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return z(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:M},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},R={some:z,none:$,from:function(e){return null==e?M:z(e)}},D=Array.prototype.slice,I=Array.prototype.indexOf,N=Array.prototype.push,L=function(e,t){return I.call(e,t)},V=function(e,t){return L(e,t)>-1},U=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t(e[n],n))return!0;return!1},F=function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r},H=function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)},W=function(e,t){for(var n=e.length-1;n>=0;n--)t(e[n],n)},X=function(e,t){for(var n=[],r=[],o=0,i=e.length;o<i;o++){var a=e[o];(t(a,o)?n:r).push(a)}return{pass:n,fail:r}},j=function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];t(i,r)&&n.push(i)}return n},q=function(e,t,n){return W(e,(function(e,r){n=t(n,e,r)})),n},Z=function(e,t,n){return H(e,(function(e,r){n=t(n,e,r)})),n},Y=function(e,t,n){for(var r=0,o=e.length;r<o;r++){var i=e[r];if(t(i,r))return R.some(i);if(n(i,r))break}return R.none()},G=function(e,t){return Y(e,t,E)},K=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t(e[n],n))return R.some(n);return R.none()},J=function(e,t){return function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!h(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);N.apply(t,e[n])}return t}(F(e,t))},ee=function(e,t){for(var n=0,r=e.length;n<r;++n)if(!0!==t(e[n],n))return!1;return!0},te=function(e){var t=D.call(e,0);return t.reverse(),t},ne=function(e,t){return j(e,(function(e){return!V(t,e)}))},re=function(e,t){var n=D.call(e,0);return n.sort(t),n},oe=function(e,t){return t>=0&&t<e.length?R.some(e[t]):R.none()},ie=function(e){return oe(e,0)},ae=function(e){return oe(e,e.length-1)},se=y(Array.from)?Array.from:function(e){return D.call(e)},le=function(e,t){for(var n=0;n<e.length;n++){var r=t(e[n],n);if(r.isSome())return r}return R.none()},ce=Object.keys,ue=Object.hasOwnProperty,de=function(e,t){for(var n=ce(e),r=0,o=n.length;r<o;r++){var i=n[r];t(e[i],i)}},fe=function(e,t){return he(e,(function(e,n){return{k:n,v:t(e,n)}}))},he=function(e,t){var n={};return de(e,(function(e,r){var o=t(e,r);n[o.k]=o.v})),n},pe=function(e){return function(t,n){e[n]=t}},me=function(e,t,n,r){return de(e,(function(e,o){(t(e,o)?n:r)(e,o)})),{}},ge=function(e,t){var n={};return me(e,t,pe(n),b),n},Ae=function(e,t){return ve(e,t)?R.from(e[t]):R.none()},ve=function(e,t){return ue.call(e,t)},ye=function(e,t){return ve(e,t)&&void 0!==e[t]&&null!==e[t]},Oe=Array.isArray,be=function(e,t,n){var r,o;if(!e)return!1;if(n=n||e,void 0!==e.length){for(r=0,o=e.length;r<o;r++)if(!1===t.call(n,e[r],r,e))return!1}else for(r in e)if(ve(e,r)&&!1===t.call(n,e[r],r,e))return!1;return!0},we=function(e,t){var n=[];return be(e,(function(r,o){n.push(t(r,o,e))})),n},_e=function(e,t){var n=[];return be(e,(function(r,o){t&&!t(r,o,e)||n.push(r)})),n},xe=function(e,t){if(e)for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Se=function(e,t,n,r){for(var o=g(n)?e[0]:n,i=0;i<e.length;i++)o=t.call(r,o,e[i],i);return o},ke=function(e,t,n){var r,o;for(r=0,o=e.length;r<o;r++)if(t.call(n,e[r],r,e))return r;return-1},Ce=function(e){return e[e.length-1]},Be=function(){return Be=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Be.apply(this,arguments)};function Qe(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var Te=function(e){var t,n=!1;return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return n||(n=!0,t=e.apply(null,r)),t}},Ee=function(){return Pe(0,0)},Pe=function(e,t){return{major:e,minor:t}},$e={nu:Pe,detect:function(e,t){var n=String(t).toLowerCase();return 0===e.length?Ee():function(e,t){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.test(t))return r}}(e,t);if(!n)return{major:0,minor:0};var r=function(e){return Number(t.replace(n,"$"+e))};return Pe(r(1),r(2))}(e,n)},unknown:Ee},Me=function(e,t){var n=String(t).toLowerCase();return G(e,(function(e){return e.search(n)}))},ze=function(e,t){return-1!==e.indexOf(t)},Re=function(e,t){return function(e,t){return""===t||e.length>=t.length&&e.substr(0,0+t.length)===t}(e,t)},De=function(e){return function(t){return t.replace(e,"")}},Ie=De(/^\s+|\s+$/g),Ne=De(/^\s+/g),Le=De(/\s+$/g),Ve=function(e){return e.length>0},Ue=function(e){return!Ve(e)},Fe=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,He=function(e){return function(t){return ze(t,e)}},We=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return ze(e,"edge/")&&ze(e,"chrome")&&ze(e,"safari")&&ze(e,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,Fe],search:function(e){return ze(e,"chrome")&&!ze(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return ze(e,"msie")||ze(e,"trident")}},{name:"Opera",versionRegexes:[Fe,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:He("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:He("firefox")},{name:"Safari",versionRegexes:[Fe,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(ze(e,"safari")||ze(e,"mobile/"))&&ze(e,"applewebkit")}}],Xe=[{name:"Windows",search:He("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return ze(e,"iphone")||ze(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:He("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:He("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:He("linux"),versionRegexes:[]},{name:"Solaris",search:He("sunos"),versionRegexes:[]},{name:"FreeBSD",search:He("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:He("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],je={browsers:x(We),oses:x(Xe)},qe="Edge",Ze="Chrome",Ye="Opera",Ge="Firefox",Ke="Safari",Je=function(e){var t=e.current,n=e.version,r=function(e){return function(){return t===e}};return{current:t,version:n,isEdge:r(qe),isChrome:r(Ze),isIE:r("IE"),isOpera:r(Ye),isFirefox:r(Ge),isSafari:r(Ke)}},et=function(){return Je({current:void 0,version:$e.unknown()})},tt=Je,nt=(x(qe),x(Ze),x("IE"),x(Ye),x(Ge),x(Ke),"Windows"),rt="Android",ot="Linux",it="Solaris",at="FreeBSD",st="ChromeOS",lt=function(e){var t=e.current,n=e.version,r=function(e){return function(){return t===e}};return{current:t,version:n,isWindows:r(nt),isiOS:r("iOS"),isAndroid:r(rt),isOSX:r("OSX"),isLinux:r(ot),isSolaris:r(it),isFreeBSD:r(at),isChromeOS:r(st)}},ct=function(){return lt({current:void 0,version:$e.unknown()})},ut=lt,dt=(x(nt),x("iOS"),x(rt),x(ot),x("OSX"),x(it),x(at),x(st),function(e){return window.matchMedia(e).matches}),ft=Te((function(){return function(e,t,n){var r=je.browsers(),o=je.oses(),i=t.bind((function(e){return function(e,t){return le(t.brands,(function(t){var n=t.brand.toLowerCase();return G(e,(function(e){var t;return n===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((function(e){return{current:e.name,version:$e.nu(parseInt(t.version,10),0)}}))}))}(r,e)})).orThunk((function(){return function(e,t){return Me(e,t).map((function(e){var n=$e.detect(e.versionRegexes,t);return{current:e.name,version:n}}))}(r,e)})).fold(et,tt),a=function(e,t){return Me(e,t).map((function(e){var n=$e.detect(e.versionRegexes,t);return{current:e.name,version:n}}))}(o,e).fold(ct,ut),s=function(e,t,n,r){var o=e.isiOS()&&!0===/ipad/i.test(n),i=e.isiOS()&&!o,a=e.isiOS()||e.isAndroid(),s=a||r("(pointer:coarse)"),l=o||!i&&a&&r("(min-device-width:768px)"),c=i||a&&!l,u=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),d=!c&&!l&&!u;return{isiPad:x(o),isiPhone:x(i),isTablet:x(l),isPhone:x(c),isTouch:x(s),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:x(u),isDesktop:x(d)}}(a,i,e,n);return{browser:i,os:a,deviceType:s}}(navigator.userAgent,R.from(navigator.userAgentData),dt)})),ht=function(){return ft()},pt=navigator.userAgent,mt=ht(),gt=mt.browser,At=mt.os,vt=mt.deviceType,yt=/WebKit/.test(pt)&&!gt.isEdge(),Ot="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,bt=-1!==pt.indexOf("Windows Phone"),wt={opera:gt.isOpera(),webkit:yt,ie:!(!gt.isIE()&&!gt.isEdge())&&gt.version.major,gecko:gt.isFirefox(),mac:At.isOSX()||At.isiOS(),iOS:vt.isiPad()||vt.isiPhone(),android:At.isAndroid(),contentEditable:!0,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:!0,range:window.getSelection&&"Range"in window,documentMode:gt.isIE()?document.documentMode||7:10,fileApi:Ot,ceFalse:!0,cacheSuffix:null,container:null,experimentalShadowDom:!1,canHaveCSP:!gt.isIE(),desktop:vt.isDesktop(),windowsPhone:bt,browser:{current:gt.current,version:gt.version,isChrome:gt.isChrome,isEdge:gt.isEdge,isFirefox:gt.isFirefox,isIE:gt.isIE,isOpera:gt.isOpera,isSafari:gt.isSafari},os:{current:At.current,version:At.version,isAndroid:At.isAndroid,isChromeOS:At.isChromeOS,isFreeBSD:At.isFreeBSD,isiOS:At.isiOS,isLinux:At.isLinux,isOSX:At.isOSX,isSolaris:At.isSolaris,isWindows:At.isWindows},deviceType:{isDesktop:vt.isDesktop,isiPad:vt.isiPad,isiPhone:vt.isiPhone,isPhone:vt.isPhone,isTablet:vt.isTablet,isTouch:vt.isTouch,isWebView:vt.isWebView}},_t=/^\s*|\s*$/g,xt=function(e){return null==e?"":(""+e).replace(_t,"")},St=function(e,t){return t?!("array"!==t||!Oe(e))||typeof e===t:void 0!==e},kt=function(e,t,n,r){r=r||this,e&&(n&&(e=e[n]),be(e,(function(e,o){if(!1===t.call(r,e,o,n))return!1;kt(e,t,n,r)})))},Ct={trim:xt,isArray:Oe,is:St,toArray:function(e){if(Oe(e))return e;for(var t=[],n=0,r=e.length;n<r;n++)t[n]=e[n];return t},makeMap:function(e,t,n){var r;for(t=t||",","string"==typeof(e=e||[])&&(e=e.split(t)),n=n||{},r=e.length;r--;)n[e[r]]={};return n},each:be,map:we,grep:_e,inArray:xe,hasOwn:ve,extend:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++){var o=t[r];for(var i in o)if(ve(o,i)){var a=o[i];void 0!==a&&(e[i]=a)}}return e},create:function(e,t,n){var r,o,i,a=this,s=0,l=(e=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(e))[3].match(/(^|\.)(\w+)$/i)[2],c=a.createNS(e[3].replace(/\.\w+$/,""),n);if(!c[l]){if("static"===e[2])return c[l]=t,void(this.onCreate&&this.onCreate(e[2],e[3],c[l]));t[l]||(t[l]=function(){},s=1),c[l]=t[l],a.extend(c[l].prototype,t),e[5]&&(r=a.resolve(e[5]).prototype,o=e[5].match(/\.(\w+)$/i)[1],i=c[l],c[l]=s?function(){return r[o].apply(this,arguments)}:function(){return this.parent=r[o],i.apply(this,arguments)},c[l].prototype[l]=c[l],a.each(r,(function(e,t){c[l].prototype[t]=r[t]})),a.each(t,(function(e,t){r[t]?c[l].prototype[t]=function(){return this.parent=r[t],e.apply(this,arguments)}:t!==l&&(c[l].prototype[t]=e)}))),a.each(t.static,(function(e,t){c[l][t]=e}))}},walk:kt,createNS:function(e,t){var n,r;for(t=t||window,e=e.split("."),n=0;n<e.length;n++)t[r=e[n]]||(t[r]={}),t=t[r];return t},resolve:function(e,t){var n,r;for(t=t||window,n=0,r=(e=e.split(".")).length;n<r&&(t=t[e[n]]);n++);return t},explode:function(e,t){return!e||St(e,"array")?e:we(e.split(t||","),xt)},_addCacheSuffix:function(e){var t=wt.cacheSuffix;return t&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}},Bt=function(e){if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},Qt=function(e,t){var n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1)throw console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return Bt(n.childNodes[0])},Tt=function(e,t){var n=(t||document).createElement(e);return Bt(n)},Et=function(e,t){var n=(t||document).createTextNode(e);return Bt(n)},Pt=Bt,$t=function(e,t){var n=[],r=function(e){return n.push(e),t(e)},o=t(e);do{o=o.bind(r)}while(o.isSome());return n},Mt=function(e,t){var n=e.dom;if(1!==n.nodeType)return!1;var r=n;if(void 0!==r.matches)return r.matches(t);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(t);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")},zt=function(e){return 1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount},Rt=function(e,t){return e.dom===t.dom},Dt=function(e,t){return ht().browser.isIE()?function(e,t){return function(e,t,n){return!!(e.compareDocumentPosition(t)&n)}(e.dom,t.dom,Node.DOCUMENT_POSITION_CONTAINED_BY)}(e,t):function(e,t){var n=e.dom,r=t.dom;return n!==r&&n.contains(r)}(e,t)};"undefined"!=typeof window?window:Function("return this;")();var It=function(e){return e.dom.nodeName.toLowerCase()},Nt=function(e){return e.dom.nodeType},Lt=function(e){return function(t){return Nt(t)===e}},Vt=Lt(1),Ut=Lt(3),Ft=Lt(9),Ht=Lt(11),Wt=function(e){return Pt(e.dom.ownerDocument)},Xt=function(e){return Ft(e)?e:Wt(e)},jt=function(e){return Pt(Xt(e).dom.defaultView)},qt=function(e){return R.from(e.dom.parentNode).map(Pt)},Zt=function(e){return R.from(e.dom.previousSibling).map(Pt)},Yt=function(e){return R.from(e.dom.nextSibling).map(Pt)},Gt=function(e){return te($t(e,Zt))},Kt=function(e){return $t(e,Yt)},Jt=function(e){return F(e.dom.childNodes,Pt)},en=function(e,t){var n=e.dom.childNodes;return R.from(n[t]).map(Pt)},tn=function(e){return en(e,0)},nn=function(e){return en(e,e.dom.childNodes.length-1)},rn=function(e){return e.dom.childNodes.length},on=function(e){return Ht(e)&&v(e.dom.host)},an=y(Element.prototype.attachShadow)&&y(Node.prototype.getRootNode),sn=x(an),ln=an?function(e){return Pt(e.dom.getRootNode())}:Xt,cn=function(e){return on(e)?e:function(e){var t=e.dom.head;if(null==t)throw new Error("Head is not available yet");return Pt(t)}(Xt(e))},un=function(e){return Pt(e.dom.host)},dn=function(e,t){qt(e).each((function(n){n.dom.insertBefore(t.dom,e.dom)}))},fn=function(e,t){Yt(e).fold((function(){qt(e).each((function(e){pn(e,t)}))}),(function(e){dn(e,t)}))},hn=function(e,t){tn(e).fold((function(){pn(e,t)}),(function(n){e.dom.insertBefore(t.dom,n.dom)}))},pn=function(e,t){e.dom.appendChild(t.dom)},mn=function(e,t){H(t,(function(t){pn(e,t)}))},gn=function(e){e.dom.textContent="",H(Jt(e),(function(e){An(e)}))},An=function(e){var t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},vn=function(e){var t,n=Jt(e);n.length>0&&(t=e,H(n,(function(e){dn(t,e)}))),An(e)},yn=function(e){var t=Ut(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;var n=t.ownerDocument;return function(e){var t=ln(e);return on(t)?R.some(t):R.none()}(Pt(t)).fold((function(){return n.body.contains(t)}),_(yn,un))},On=function(e,t){return{left:e,top:t,translate:function(n,r){return On(e+n,t+r)}}},bn=On,wn=function(e,t){return void 0!==e?e:void 0!==t?t:0},_n=function(e){var t=e.dom,n=t.ownerDocument.body;return n===t?bn(n.offsetLeft,n.offsetTop):yn(e)?function(e){var t=e.getBoundingClientRect();return bn(t.left,t.top)}(t):bn(0,0)},xn=function(e){var t=void 0!==e?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return bn(n,r)},Sn=function(e,t,n){var r=(void 0!==n?n.dom:document).defaultView;r&&r.scrollTo(e,t)},kn=function(e,t){ht().browser.isSafari()&&y(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(t)},Cn=function(e,t,n,r){return{x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}},Bn=function(e){var t=void 0===e?window:e,n=t.document,r=xn(Pt(n));return function(e){var t=void 0===e?window:e;return ht().browser.isFirefox()?R.none():R.from(t.visualViewport)}(t).fold((function(){var e=t.document.documentElement,n=e.clientWidth,o=e.clientHeight;return Cn(r.left,r.top,n,o)}),(function(e){return Cn(Math.max(e.pageLeft,r.left),Math.max(e.pageTop,r.top),e.width,e.height)}))},Qn=function(e){return function(t){return!!t&&t.nodeType===e}},Tn=function(e){return!!e&&!Object.getPrototypeOf(e)},En=Qn(1),Pn=function(e){var t=e.map((function(e){return e.toLowerCase()}));return function(e){if(e&&e.nodeName){var n=e.nodeName.toLowerCase();return V(t,n)}return!1}},$n=function(e,t){var n=t.toLowerCase().split(" ");return function(t){if(En(t))for(var r=0;r<n.length;r++){var o=t.ownerDocument.defaultView.getComputedStyle(t,null);if((o?o.getPropertyValue(e):null)===n[r])return!0}return!1}},Mn=function(e){return function(t){return En(t)&&t.hasAttribute(e)}},zn=function(e){return En(e)&&e.hasAttribute("data-mce-bogus")},Rn=function(e){return En(e)&&"TABLE"===e.tagName},Dn=function(e){return function(t){if(En(t)){if(t.contentEditable===e)return!0;if(t.getAttribute("data-mce-contenteditable")===e)return!0}return!1}},In=Pn(["textarea","input"]),Nn=Qn(3),Ln=Qn(8),Vn=Qn(9),Un=Qn(11),Fn=Pn(["br"]),Hn=Pn(["img"]),Wn=Dn("true"),Xn=Dn("false"),jn=Pn(["td","th"]),qn=Pn(["video","audio","object","embed"]),Zn=function(e,t,n){return void 0===n&&(n=k),e.exists((function(e){return n(e,t)}))},Yn=function(e,t,n){return e.isSome()&&t.isSome()?R.some(n(e.getOrDie(),t.getOrDie())):R.none()},Gn=function(e){return void 0!==e.style&&y(e.style.getPropertyValue)},Kn=function(e,t,n){if(!(d(n)||m(n)||O(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")},Jn=function(e,t,n){Kn(e.dom,t,n)},er=function(e,t){var n=e.dom;de(t,(function(e,t){Kn(n,t,e)}))},tr=function(e,t){var n=e.dom.getAttribute(t);return null===n?void 0:n},nr=function(e,t){return R.from(tr(e,t))},rr=function(e,t){e.dom.removeAttribute(t)},or=function(e,t){var n=e.dom,r=window.getComputedStyle(n).getPropertyValue(t);return""!==r||yn(e)?r:ir(n,t)},ir=function(e,t){return Gn(e)?e.style.getPropertyValue(t):""},ar=function(e,t){var n=e.dom,r=ir(n,t);return R.from(r).filter((function(e){return e.length>0}))},sr=function(e){var t={},n=e.dom;if(Gn(n))for(var r=0;r<n.style.length;r++){var o=n.style.item(r);t[o]=n.style[o]}return t},lr=ht().browser,cr=function(e){return G(e,Vt)},ur=function(e,t){return e.children&&V(e.children,t)},dr={},fr={exports:dr};!function(e,t,r){!function(e,n){"object"==typeof t&&void 0!==r?r.exports=n():(e="undefined"!=typeof globalThis?globalThis:e||self).EphoxContactWrapper=n()}(this,(function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},t={exports:{}};!function(t){!function(e){var n=setTimeout;function r(){}function o(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],u(e,this)}function i(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,o._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void s(t.promise,e)}a(t.promise,r)}else(1===e._state?a:s)(t.promise,e._value)}))):e._deferreds.push(t)}function a(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof o)return e._state=3,e._value=t,void l(e);if("function"==typeof n)return void u((r=n,i=t,function(){r.apply(i,arguments)}),e)}e._state=1,e._value=t,l(e)}catch(t){s(e,t)}var r,i}function s(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&o._immediateFn((function(){e._handled||o._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)i(e,e._deferreds[t]);e._deferreds=null}function c(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function u(e,t){var n=!1;try{e((function(e){n||(n=!0,a(t,e))}),(function(e){n||(n=!0,s(t,e))}))}catch(e){if(n)return;n=!0,s(t,e)}}o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(e,t){var n=new this.constructor(r);return i(this,new c(e,t,n)),n},o.all=function(e){var t=Array.prototype.slice.call(e);return new o((function(e,n){if(0===t.length)return e([]);var r=t.length;function o(i,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(e){o(i,e)}),n)}t[i]=a,0==--r&&e(t)}catch(e){n(e)}}for(var i=0;i<t.length;i++)o(i,t[i])}))},o.resolve=function(e){return e&&"object"==typeof e&&e.constructor===o?e:new o((function(t){t(e)}))},o.reject=function(e){return new o((function(t,n){n(e)}))},o.race=function(e){return new o((function(t,n){for(var r=0,o=e.length;r<o;r++)e[r].then(t,n)}))},o._immediateFn="function"==typeof setImmediate?function(e){setImmediate(e)}:function(e){n(e,0)},o._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},o._setImmediateFn=function(e){o._immediateFn=e},o._setUnhandledRejectionFn=function(e){o._unhandledRejectionFn=e},t.exports?t.exports=o:e.Promise||(e.Promise=o)}(e)}(t);var r=t.exports;return{boltExport:("undefined"!=typeof window?window:Function("return this;")()).Promise||r}}))}(0,dr,fr);var hr=fr.exports.boltExport,pr=function(e){var t=R.none(),n=[],r=function(e){o()?i(e):n.push(e)},o=function(){return t.isSome()},i=function(e){t.each((function(t){setTimeout((function(){e(t)}),0)}))};return e((function(e){o()||(t=R.some(e),H(n,i),n=[])})),{get:r,map:function(e){return pr((function(t){r((function(n){t(e(n))}))}))},isReady:o}},mr={nu:pr,pure:function(e){return pr((function(t){t(e)}))}},gr=function(e){setTimeout((function(){throw e}),0)},Ar=function(e){var t=function(t){e().then(t,gr)};return{map:function(t){return Ar((function(){return e().then(t)}))},bind:function(t){return Ar((function(){return e().then((function(e){return t(e).toPromise()}))}))},anonBind:function(t){return Ar((function(){return e().then((function(){return t.toPromise()}))}))},toLazy:function(){return mr.nu(t)},toCached:function(){var t=null;return Ar((function(){return null===t&&(t=e()),t}))},toPromise:e,get:t}},vr=function(e){return Ar((function(){return new hr(e)}))},yr=function(e){return{isValue:P,isError:E,getOr:x(e),getOrThunk:x(e),getOrDie:x(e),or:function(t){return yr(e)},orThunk:function(t){return yr(e)},fold:function(t,n){return n(e)},map:function(t){return yr(t(e))},mapError:function(t){return yr(e)},each:function(t){t(e)},bind:function(t){return t(e)},exists:function(t){return t(e)},forall:function(t){return t(e)},toOptional:function(){return R.some(e)}}},Or=function(e){return{isValue:E,isError:P,getOr:S,getOrThunk:function(e){return e()},getOrDie:function(){return(t=String(e),function(){throw new Error(t)})();var t},or:S,orThunk:function(e){return e()},fold:function(t,n){return t(e)},map:function(t){return Or(e)},mapError:function(t){return Or(t(e))},each:b,bind:function(t){return Or(e)},exists:E,forall:P,toOptional:R.none}},br={value:yr,error:Or,fromOption:function(e,t){return e.fold((function(){return Or(t)}),yr)}},wr=function(e){if(!h(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");var t=[],n={};return H(e,(function(r,o){var i=ce(r);if(1!==i.length)throw new Error("one and only one name per case");var a=i[0],s=r[a];if(void 0!==n[a])throw new Error("duplicate key detected:"+a);if("cata"===a)throw new Error("cannot have a case named cata (sorry)");if(!h(s))throw new Error("case arguments must be an array");t.push(a),n[a]=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=n.length;if(i!==s.length)throw new Error("Wrong number of arguments to case "+a+". Expected "+s.length+" ("+s+"), got "+i);return{fold:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[o].apply(null,n)},match:function(e){var r=ce(e);if(t.length!==r.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+r.join(","));if(!ee(t,(function(e){return V(r,e)})))throw new Error("Not all branches were specified when using match. Specified: "+r.join(", ")+"\nRequired: "+t.join(", "));return e[a].apply(null,n)},log:function(e){console.log(e,{constructors:t,constructor:a,params:n})}}}})),n};wr([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]);var _r=function(e){return e.fold(S,S)};function xr(e,t,n,r,o){return e(n,r)?R.some(n):y(o)&&o(n)?R.none():t(n,r,o)}var Sr,kr,Cr,Br,Qr,Tr,Er,Pr,$r,Mr,zr,Rr,Dr,Ir,Nr,Lr,Vr,Ur,Fr=function(e,t,n){for(var r=e.dom,o=y(n)?n:E;r.parentNode;){r=r.parentNode;var i=Pt(r);if(t(i))return R.some(i);if(o(i))break}return R.none()},Hr=function(e,t,n){return xr((function(e,t){return t(e)}),Fr,e,t,n)},Wr=function(e,t,n){return Fr(e,(function(e){return Mt(e,t)}),n)},Xr=function(e,t){return function(e,t){var n=void 0===t?document:t.dom;return zt(n)?R.none():R.from(n.querySelector(e)).map(Pt)}(t,e)},jr=function(e,t,n){return xr((function(e,t){return Mt(e,t)}),Wr,e,t,n)},qr=window.Promise?window.Promise:hr,Zr=function(e,t){return"number"!=typeof t&&(t=0),setTimeout(e,t)},Yr=function(e,t){return"number"!=typeof t&&(t=1),setInterval(e,t)},Gr=function(e,t){var n,r=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];clearTimeout(n),n=Zr((function(){e.apply(this,r)}),t)};return r.stop=function(){clearTimeout(n)},r},Kr={requestAnimationFrame:function(e,t){Sr?Sr.then(e):Sr=new qr((function(e){t||(t=document.body),function(e,t){for(var n=window.requestAnimationFrame,r=["ms","moz","webkit"],o=0;o<r.length&&!n;o++)n=window[r[o]+"RequestAnimationFrame"];n||(n=function(e){window.setTimeout(e,0)}),n(e,t)}(e,t)})).then(e)},setTimeout:Zr,setInterval:Yr,setEditorTimeout:function(e,t,n){return Zr((function(){e.removed||t()}),n)},setEditorInterval:function(e,t,n){var r=Yr((function(){e.removed?clearInterval(r):t()}),n);return r},debounce:Gr,throttle:Gr,clearInterval:function(e){return clearInterval(e)},clearTimeout:function(e){return clearTimeout(e)}},Jr=function(e,t){void 0===t&&(t={});var n=0,r={},o=Pt(e),i=Xt(o),a=t.maxLoadTime||5e3,s=function(s,l,c){var u,d=Ct._addCacheSuffix(s),f=function(e){return Ae(r,e).getOrThunk((function(){return{id:"mce-u"+n++,passed:[],failed:[],count:0}}))}(d);r[d]=f,f.count++;var h=function(e,t){for(var n=e.length;n--;)e[n]();f.status=t,f.passed=[],f.failed=[],u&&(u.onload=null,u.onerror=null,u=null)},p=function(){return h(f.passed,2)},m=function(){return h(f.failed,3)},g=function(){var t;t=g,function(){for(var t=e.styleSheets,n=t.length;n--;){var r=t[n].ownerNode;if(r&&r.id===u.id)return p(),!0}return!1}()||(Date.now()-y<a?Kr.setTimeout(t):m())};if(l&&f.passed.push(l),c&&f.failed.push(c),1!==f.status)if(2!==f.status)if(3!==f.status){f.status=1;var A=Tt("link",i.dom);er(A,{rel:"stylesheet",type:"text/css",id:f.id});var v,y=Date.now();t.contentCssCors&&Jn(A,"crossOrigin","anonymous"),t.referrerPolicy&&Jn(A,"referrerpolicy",t.referrerPolicy),(u=A.dom).onload=g,u.onerror=m,v=A,pn(cn(o),v),Jn(A,"href",d)}else m();else p()},l=function(e){return vr((function(t){s(e,w(t,x(br.value(e))),w(t,x(br.error(e))))}))},c=function(e){var t=Ct._addCacheSuffix(e);Ae(r,t).each((function(e){var n,i;0==--e.count&&(delete r[t],n=e.id,i=cn(o),Xr(i,"#"+n).each(An))}))};return{load:s,loadAll:function(e,t,n){var r,o,i;(r=F(e,l),o=r,i=vr,i((function(e){var t=[],n=0;0===o.length?e([]):H(o,(function(r,i){r.get(function(r){return function(i){t[r]=i,++n>=o.length&&e(t)}}(i))}))}))).get((function(e){var r=X(e,(function(e){return e.isValue()}));r.fail.length>0?n(r.fail.map(_r)):t(r.pass.map(_r))}))},unload:c,unloadAll:function(e){H(e,(function(e){c(e)}))},_setReferrerPolicy:function(e){t.referrerPolicy=e}}},eo=function(){var e=new WeakMap;return{forElement:function(t,n){var r=ln(t).dom;return R.from(e.get(r)).getOrThunk((function(){var t=Jr(r,n);return e.set(r,t),t}))}}}(),to=function(){function e(e,t){this.node=e,this.rootNode=t,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}return e.prototype.current=function(){return this.node},e.prototype.next=function(e){return this.node=this.findSibling(this.node,"firstChild","nextSibling",e),this.node},e.prototype.prev=function(e){return this.node=this.findSibling(this.node,"lastChild","previousSibling",e),this.node},e.prototype.prev2=function(e){return this.node=this.findPreviousNode(this.node,"lastChild","previousSibling",e),this.node},e.prototype.findSibling=function(e,t,n,r){var o,i;if(e){if(!r&&e[t])return e[t];if(e!==this.rootNode){if(o=e[n])return o;for(i=e.parentNode;i&&i!==this.rootNode;i=i.parentNode)if(o=i[n])return o}}},e.prototype.findPreviousNode=function(e,t,n,r){var o,i,a;if(e){if(o=e[n],this.rootNode&&o===this.rootNode)return;if(o){if(!r)for(a=o[t];a;a=a[t])if(!a[t])return a;return o}if((i=e.parentNode)&&i!==this.rootNode)return i}},e}(),no=function(e){var t;return function(n){return t=t||function(e,t){for(var n={},r=0,o=e.length;r<o;r++){var i=e[r];n[String(i)]=t(i,r)}return n}(e,P),ve(t,It(n))}},ro=no(["h1","h2","h3","h4","h5","h6"]),oo=no(["article","aside","details","div","dt","figcaption","footer","form","fieldset","header","hgroup","html","main","nav","section","summary","body","p","dl","multicol","dd","figure","address","center","blockquote","h1","h2","h3","h4","h5","h6","listing","xmp","pre","plaintext","menu","dir","ul","ol","li","hr","table","tbody","thead","tfoot","th","tr","td","caption"]),io=function(e){return Vt(e)&&!oo(e)},ao=function(e){return Vt(e)&&"br"===It(e)},so=no(["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"]),lo=no(["ul","ol","dl"]),co=no(["li","dd","dt"]),uo=no(["thead","tbody","tfoot"]),fo=no(["td","th"]),ho=no(["pre","script","textarea","style"]),po=" ",mo="\ufeff",go=function(e){return"\ufeff"===e},Ao=function(e){return e.replace(/\uFEFF/g,"")},vo=En,yo=Nn,Oo=function(e){return yo(e)&&(e=e.parentNode),vo(e)&&e.hasAttribute("data-mce-caret")},bo=function(e){return yo(e)&&go(e.data)},wo=function(e){return Oo(e)||bo(e)},_o=function(e){return e.firstChild!==e.lastChild||!Fn(e.firstChild)},xo=function(e){var t=e.container();return!!Nn(t)&&(t.data.charAt(e.offset())===mo||e.isAtStart()&&bo(t.previousSibling))},So=function(e){var t=e.container();return!!Nn(t)&&(t.data.charAt(e.offset()-1)===mo||e.isAtEnd()&&bo(t.nextSibling))},ko=function(e){return yo(e)&&e.data[0]===mo},Co=function(e){return yo(e)&&e.data[e.data.length-1]===mo},Bo=function(e){return e&&e.hasAttribute("data-mce-caret")?(n=(t=e.getElementsByTagName("br"))[t.length-1],zn(n)&&n.parentNode.removeChild(n),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("_moz_abspos"),e):null;var t,n},Qo=function(e){return Oo(e.startContainer)},To=Wn,Eo=Xn,Po=Fn,$o=Nn,Mo=Pn(["script","style","textarea"]),zo=Pn(["img","input","textarea","hr","iframe","video","audio","object","embed"]),Ro=Pn(["table"]),Do=wo,Io=function(e){return!Do(e)&&($o(e)?!Mo(e.parentNode):zo(e)||Po(e)||Ro(e)||No(e))},No=function(e){return!1===function(e){return En(e)&&"true"===e.getAttribute("unselectable")}(e)&&Eo(e)},Lo=function(e,t){return Io(e)&&function(e,t){for(e=e.parentNode;e&&e!==t;e=e.parentNode){if(No(e))return!1;if(To(e))return!0}return!0}(e,t)},Vo=/^[ \t\r\n]*$/,Uo=function(e){return Vo.test(e)},Fo=function(e,t){return Io(e)&&!1===function(e,t){return Nn(e)&&Uo(e.data)&&!1===function(e,t){var n,r,o=Pt(t);return n=Pt(e),r=C(Rt,o),Wr(n,"pre,code",r).isSome()}(e,t)}(e,t)||function(e){return En(e)&&"A"===e.nodeName&&!e.hasAttribute("href")&&(e.hasAttribute("name")||e.hasAttribute("id"))}(e)||Ho(e)},Ho=Mn("data-mce-bookmark"),Wo=Mn("data-mce-bogus"),Xo=function(e){return En(e)&&"all"===e.getAttribute("data-mce-bogus")},jo=function(e,t){return void 0===t&&(t=!0),function(e,t){var n=0;if(Fo(e,e))return!1;var r=e.firstChild;if(!r)return!0;var o=new to(r,e);do{if(t){if(Xo(r)){r=o.next(!0);continue}if(Wo(r)){r=o.next();continue}}if(Fn(r))n++,r=o.next();else{if(Fo(r,e))return!1;r=o.next()}}while(r);return n<=1}(e.dom,t)},qo=function(e,t){return v(e)&&(Fo(e,t)||io(Pt(e)))},Zo=function(e){return function(e){return"span"===e.nodeName.toLowerCase()}(e)&&"bookmark"===e.getAttribute("data-mce-type")},Yo=function(e,t,n){var r=n||t;if(En(t)&&Zo(t))return t;for(var o=t.childNodes,i=o.length-1;i>=0;i--)Yo(e,o[i],r);if(En(t)){var a=t.childNodes;1===a.length&&Zo(a[0])&&t.parentNode.insertBefore(a[0],t)}return function(e){return Un(e)||Vn(e)}(t)||Fo(t,r)||function(e){return!!En(e)&&e.childNodes.length>0}(t)||function(e,t){return Nn(e)&&e.data.length>0&&function(e,t){var n=new to(e,t).prev(!1),r=new to(e,t).next(!1),o=g(n)||qo(n,t),i=g(r)||qo(r,t);return o&&i}(e,t)}(t,r)||e.remove(t),t},Go=Ct.makeMap,Ko=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Jo=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ei=/[<>&\"\']/g,ti=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,ni={128:"€",130:"",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"",140:"Œ",142:"Ž",145:"",146:"",147:"“",148:"”",149:"•",150:"",151:"—",152:"˜",153:"™",154:"š",155:"",156:"œ",158:"ž",159:"Ÿ"},ri={'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;","&":"&amp;","`":"&#96;"},oi={"&lt;":"<","&gt;":">","&amp;":"&","&quot;":'"',"&apos;":"'"},ii=function(e,t){var n,r,o,i={};if(e){for(e=e.split(","),t=t||10,n=0;n<e.length;n+=2)r=String.fromCharCode(parseInt(e[n],t)),ri[r]||(o="&"+e[n+1]+";",i[r]=o,i[o]=r);return i}},ai=ii("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32),si=function(e,t){return e.replace(t?Ko:Jo,(function(e){return ri[e]||e}))},li=function(e,t){return e.replace(t?Ko:Jo,(function(e){return e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":ri[e]||"&#"+e.charCodeAt(0)+";"}))},ci=function(e,t,n){return n=n||ai,e.replace(t?Ko:Jo,(function(e){return ri[e]||n[e]||e}))},ui={encodeRaw:si,encodeAllRaw:function(e){return(""+e).replace(ei,(function(e){return ri[e]||e}))},encodeNumeric:li,encodeNamed:ci,getEncodeFunc:function(e,t){var n=ii(t)||ai,r=Go(e.replace(/\+/g,","));return r.named&&r.numeric?function(e,t){return e.replace(t?Ko:Jo,(function(e){return void 0!==ri[e]?ri[e]:void 0!==n[e]?n[e]:e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":"&#"+e.charCodeAt(0)+";"}))}:r.named?t?function(e,t){return ci(e,t,n)}:ci:r.numeric?li:si},decode:function(e){return e.replace(ti,(function(e,t){return t?(t="x"===t.charAt(0).toLowerCase()?parseInt(t.substr(1),16):parseInt(t,10))>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):ni[t]||String.fromCharCode(t):oi[e]||ai[e]||function(e){var t=Tt("div").dom;return t.innerHTML=e,t.textContent||t.innerText||e}(e)}))}},di={},fi={},hi=Ct.makeMap,pi=Ct.each,mi=Ct.extend,gi=Ct.explode,Ai=Ct.inArray,vi=function(e,t){return(e=Ct.trim(e))?e.split(t||" "):[]},yi=function(e,t){var n;return e&&(n={},"string"==typeof e&&(e={"*":e}),pi(e,(function(e,r){n[r]=n[r.toUpperCase()]="map"===t?hi(e,/[, ]/):gi(e,/[, ]/)}))),n},Oi=function(e){var t={},n={},r=[],o={},i={},a=function(t,n,r){var o=e[t];return o?o=hi(o,/[, ]/,hi(o.toUpperCase(),/[, ]/)):(o=di[t])||(o=hi(n," ",hi(n.toUpperCase()," ")),o=mi(o,r),di[t]=o),o},s=function(e){var t,n,r,o,i,a,s={},l=function(e,n,r){var o,i,a,l=function(e,t){var n,r,o={};for(n=0,r=e.length;n<r;n++)o[e[n]]=t||{};return o};n=n||"","string"==typeof(r=r||[])&&(r=vi(r));var c=vi(e);for(o=c.length;o--;)a={attributes:l(i=vi([t,n].join(" "))),attributesOrder:i,children:l(r,fi)},s[c[o]]=a},c=function(e,t){var n,r,o,i,a=vi(e);n=a.length;for(var l=vi(t);n--;)for(r=s[a[n]],o=0,i=l.length;o<i;o++)r.attributes[l[o]]={},r.attributesOrder.push(l[o])};return di[e]?di[e]:(t="id accesskey class dir lang style tabindex title role",n="address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul",r="a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment","html4"!==e&&(t+=" contenteditable contextmenu draggable dropzone hidden spellcheck translate",n+=" article aside details dialog figure main header footer hgroup section nav",r+=" audio canvas command datalist mark meter output picture progress time wbr video ruby bdi keygen"),"html5-strict"!==e&&(t+=" xml:lang",r=[r,a="acronym applet basefont big font strike tt"].join(" "),pi(vi(a),(function(e){l(e,"",r)})),n=[n,i="center dir isindex noframes"].join(" "),o=[n,r].join(" "),pi(vi(i),(function(e){l(e,"",o)}))),o=o||[n,r].join(" "),l("html","manifest","head body"),l("head","","base command link meta noscript script style title"),l("title hr noscript br"),l("base","href target"),l("link","href rel media hreflang type sizes hreflang"),l("meta","name http-equiv content charset"),l("style","media type scoped"),l("script","src async defer type charset"),l("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",o),l("address dt dd div caption","",o),l("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",r),l("blockquote","cite",o),l("ol","reversed start type","li"),l("ul","","li"),l("li","value",o),l("dl","","dt dd"),l("a","href target rel media hreflang type",r),l("q","cite",r),l("ins del","cite datetime",o),l("img","src sizes srcset alt usemap ismap width height"),l("iframe","src name width height",o),l("embed","src type width height"),l("object","data type typemustmatch name usemap form width height",[o,"param"].join(" ")),l("param","name value"),l("map","name",[o,"area"].join(" ")),l("area","alt coords shape href target rel media hreflang type"),l("table","border","caption colgroup thead tfoot tbody tr"+("html4"===e?" col":"")),l("colgroup","span","col"),l("col","span"),l("tbody thead tfoot","","tr"),l("tr","","td th"),l("td","colspan rowspan headers",o),l("th","colspan rowspan headers scope abbr",o),l("form","accept-charset action autocomplete enctype method name novalidate target",o),l("fieldset","disabled form name",[o,"legend"].join(" ")),l("label","form for",r),l("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),l("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value","html4"===e?o:r),l("select","disabled form multiple name required size","option optgroup"),l("optgroup","disabled label","option"),l("option","disabled label selected value"),l("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),l("menu","type label",[o,"li"].join(" ")),l("noscript","",o),"html4"!==e&&(l("wbr"),l("ruby","",[r,"rt rp"].join(" ")),l("figcaption","",o),l("mark rt rp summary bdi","",r),l("canvas","width height",o),l("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",[o,"track source"].join(" ")),l("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",[o,"track source"].join(" ")),l("picture","","img source"),l("source","src srcset type media sizes"),l("track","kind src srclang label default"),l("datalist","",[r,"option"].join(" ")),l("article section nav aside main header footer","",o),l("hgroup","","h1 h2 h3 h4 h5 h6"),l("figure","",[o,"figcaption"].join(" ")),l("time","datetime",r),l("dialog","open",o),l("command","type label icon disabled checked radiogroup command"),l("output","for form name",r),l("progress","value max",r),l("meter","value min max low high optimum",r),l("details","open",[o,"summary"].join(" ")),l("keygen","autofocus challenge disabled form keytype name")),"html5-strict"!==e&&(c("script","language xml:space"),c("style","xml:space"),c("object","declare classid code codebase codetype archive standby align border hspace vspace"),c("embed","align name hspace vspace"),c("param","valuetype type"),c("a","charset name rev shape coords"),c("br","clear"),c("applet","codebase archive code object alt name width height align hspace vspace"),c("img","name longdesc align border hspace vspace"),c("iframe","longdesc frameborder marginwidth marginheight scrolling align"),c("font basefont","size color face"),c("input","usemap align"),c("select"),c("textarea"),c("h1 h2 h3 h4 h5 h6 div p legend caption","align"),c("ul","type compact"),c("li","type"),c("ol dl menu dir","compact"),c("pre","width xml:space"),c("hr","align noshade size width"),c("isindex","prompt"),c("table","summary width frame rules cellspacing cellpadding align bgcolor"),c("col","width align char charoff valign"),c("colgroup","width align char charoff valign"),c("thead","align char charoff valign"),c("tr","align char charoff valign bgcolor"),c("th","axis align char charoff valign nowrap bgcolor width height"),c("form","accept"),c("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),c("tfoot","align char charoff valign"),c("tbody","align char charoff valign"),c("area","nohref"),c("body","background bgcolor text link vlink alink")),"html4"!==e&&(c("input button select textarea","autofocus"),c("input textarea","placeholder"),c("a","download"),c("link script img","crossorigin"),c("img","loading"),c("iframe","sandbox seamless allowfullscreen loading")),pi(vi("a form meter progress dfn"),(function(e){s[e]&&delete s[e].children[e]})),delete s.caption.children.table,delete s.script,di[e]=s,s)}((e=e||{}).schema);!1===e.verify_html&&(e.valid_elements="*[*]");var l=yi(e.valid_styles),c=yi(e.invalid_styles,"map"),u=yi(e.valid_classes,"map"),d=a("whitespace_elements","pre script noscript style textarea video audio iframe object code"),f=a("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),h=a("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),p=a("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls"),m="td th iframe video audio object script code",g=a("non_empty_elements",m+" pre",h),A=a("move_caret_before_on_enter_elements",m+" table",h),v=a("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"),y=a("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary",v),O=a("text_inline_elements","span strong b em i font strike u var cite dfn code mark q sup sub samp");pi((e.special||"script noscript iframe noframes noembed title style textarea xmp").split(" "),(function(e){i[e]=new RegExp("</"+e+"[^>]*>","gi")}));var b=function(e){return new RegExp("^"+e.replace(/([?+*])/g,".$1")+"$")},w=function(e){var n,o,i,a,s,l,c,u,d,f,h,p,m,g,A,v,y,O,w=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/,_=/^([!\-])?(\w+[\\:]:\w+|[^=:<]+)?(?:([=:<])(.*))?$/,x=/[*?+]/;if(e){var S=vi(e,",");for(t["@"]&&(v=t["@"].attributes,y=t["@"].attributesOrder),n=0,o=S.length;n<o;n++)if(s=w.exec(S[n])){if(g=s[1],d=s[2],A=s[3],u=s[5],l={attributes:p={},attributesOrder:m=[]},"#"===g&&(l.paddEmpty=!0),"-"===g&&(l.removeEmpty=!0),"!"===s[4]&&(l.removeEmptyAttrs=!0),v&&(de(v,(function(e,t){p[t]=e})),m.push.apply(m,y)),u)for(i=0,a=(u=vi(u,"|")).length;i<a;i++)if(s=_.exec(u[i])){if(c={},h=s[1],f=s[2].replace(/[\\:]:/g,":"),g=s[3],O=s[4],"!"===h&&(l.attributesRequired=l.attributesRequired||[],l.attributesRequired.push(f),c.required=!0),"-"===h){delete p[f],m.splice(Ai(m,f),1);continue}g&&("="===g&&(l.attributesDefault=l.attributesDefault||[],l.attributesDefault.push({name:f,value:O}),c.defaultValue=O),":"===g&&(l.attributesForced=l.attributesForced||[],l.attributesForced.push({name:f,value:O}),c.forcedValue=O),"<"===g&&(c.validValues=hi(O,"?"))),x.test(f)?(l.attributePatterns=l.attributePatterns||[],c.pattern=b(f),l.attributePatterns.push(c)):(p[f]||m.push(f),p[f]=c)}v||"@"!==d||(v=p,y=m),A&&(l.outputName=d,t[A]=l),x.test(d)?(l.pattern=b(d),r.push(l)):t[d]=l}}},_=function(e){t={},r=[],w(e),pi(s,(function(e,t){n[t]=e.children}))},S=function(e){var r=/^(~)?(.+)$/;e&&(di.text_block_elements=di.block_elements=null,pi(vi(e,","),(function(e){var i=r.exec(e),a="~"===i[1],s=a?"span":"div",l=i[2];if(n[l]=n[s],o[l]=s,a||(y[l.toUpperCase()]={},y[l]={}),!t[l]){var c=t[s];delete(c=mi({},c)).removeEmptyAttrs,delete c.removeEmpty,t[l]=c}pi(n,(function(e,t){e[s]&&(n[t]=e=mi({},n[t]),e[l]=e[s])}))})))},k=function(t){var r=/^([+\-]?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)\[([^\]]+)]$/;di[e.schema]=null,t&&pi(vi(t,","),(function(e){var t,o,i=r.exec(e);i&&(o=i[1],t=o?n[i[2]]:n[i[2]]={"#comment":{}},t=n[i[2]],pi(vi(i[3],"|"),(function(e){"-"===o?delete t[e]:t[e]={}})))}))},C=function(e){var n,o=t[e];if(o)return o;for(n=r.length;n--;)if((o=r[n]).pattern.test(e))return o};e.valid_elements?_(e.valid_elements):(pi(s,(function(e,r){t[r]={attributes:e.attributes,attributesOrder:e.attributesOrder},n[r]=e.children})),"html5"!==e.schema&&pi(vi("strong/b em/i"),(function(e){var n=vi(e,"/");t[n[1]].outputName=n[0]})),pi(vi("ol ul sub sup blockquote span font a table tbody strong em b i"),(function(e){t[e]&&(t[e].removeEmpty=!0)})),pi(vi("p h1 h2 h3 h4 h5 h6 th td pre div address caption li"),(function(e){t[e].paddEmpty=!0})),pi(vi("span"),(function(e){t[e].removeEmptyAttrs=!0}))),S(e.custom_elements),k(e.valid_children),w(e.extended_valid_elements),k("+ol[ul|ol],+ul[ul|ol]"),pi({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},(function(e,n){t[n]&&(t[n].parentsRequired=vi(e))})),e.invalid_elements&&pi(gi(e.invalid_elements),(function(e){t[e]&&delete t[e]})),C("span")||w("span[!data-mce-type|*]");var B=x(l),Q=x(c),T=x(u),E=x(p),P=x(y),$=x(v),M=x(O),z=x(h),R=x(f),D=x(g),I=x(A),N=x(d),L=x(i),V=x(o);return{children:n,elements:t,getValidStyles:B,getValidClasses:T,getBlockElements:P,getInvalidStyles:Q,getShortEndedElements:z,getTextBlockElements:$,getTextInlineElements:M,getBoolAttrs:E,getElementRule:C,getSelfClosingElements:R,getNonEmptyElements:D,getMoveCaretBeforeOnEnterElements:I,getWhiteSpaceElements:N,getSpecialElements:L,isValidChild:function(e,t){var r=n[e.toLowerCase()];return!(!r||!r[t.toLowerCase()])},isValid:function(e,t){var n,r,o=C(e);if(o){if(!t)return!0;if(o.attributes[t])return!0;if(n=o.attributePatterns)for(r=n.length;r--;)if(n[r].pattern.test(e))return!0}return!1},getCustomElements:V,addValidElements:w,setValidElements:_,addCustomElements:S,addValidChildren:k}},bi=function(e,t,n,r){var o=function(e){return(e=parseInt(e,10).toString(16)).length>1?e:"0"+e};return"#"+o(t)+o(n)+o(r)},wi=function(e,t){var n,r,o,i=this,a=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,s=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,l=/\s*([^:]+):\s*([^;]+);?/g,c=/\s+$/,u={};e=e||{},t&&(r=t.getValidStyles(),o=t.getInvalidStyles());var d="\\\" \\' \\; \\: ; : \ufeff".split(" ");for(n=0;n<d.length;n++)u[d[n]]="\ufeff"+n,u["\ufeff"+n]=d[n];return{toHex:function(e){return e.replace(a,bi)},parse:function(t){var r,o,d,f,h,p,m,g={},A=e.url_converter,v=e.url_converter_scope||i,y=function(e,t,r){var o=g[e+"-top"+t];if(o){var i=g[e+"-right"+t];if(i){var a=g[e+"-bottom"+t];if(a){var s=g[e+"-left"+t];if(s){var l=[o,i,a,s];for(n=l.length-1;n--&&l[n]===l[n+1];);n>-1&&r||(g[e+t]=-1===n?l[0]:l.join(" "),delete g[e+"-top"+t],delete g[e+"-right"+t],delete g[e+"-bottom"+t],delete g[e+"-left"+t])}}}}},O=function(e){var t,n=g[e];if(n){for(t=(n=n.split(" ")).length;t--;)if(n[t]!==n[0])return!1;return g[e]=n[0],!0}},b=function(e){return f=!0,u[e]},w=function(e,t){return f&&(e=e.replace(/\uFEFF[0-9]/g,(function(e){return u[e]}))),t||(e=e.replace(/\\([\'\";:])/g,"$1")),e},_=function(e){return String.fromCharCode(parseInt(e.slice(1),16))},x=function(e){return e.replace(/\\[0-9a-f]+/gi,_)},S=function(t,n,r,o,i,a){if(i=i||a)return"'"+(i=w(i)).replace(/\'/g,"\\'")+"'";if(n=w(n||r||o),!e.allow_script_urls){var s=n.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(s))return"";if(!e.allow_svg_data_urls&&/^data:image\/svg/i.test(s))return""}return A&&(n=A.call(v,n,"style")),"url('"+n.replace(/\'/g,"\\'")+"')"};if(t){for(t=(t=t.replace(/[\u0000-\u001F]/g,"")).replace(/\\[\"\';:\uFEFF]/g,b).replace(/\"[^\"]+\"|\'[^\']+\'/g,(function(e){return e.replace(/[;:]/g,b)}));r=l.exec(t);)if(l.lastIndex=r.index+r[0].length,o=r[1].replace(c,"").toLowerCase(),d=r[2].replace(c,""),o&&d){if(o=x(o),d=x(d),-1!==o.indexOf("\ufeff")||-1!==o.indexOf('"'))continue;if(!e.allow_script_urls&&("behavior"===o||/expression\s*\(|\/\*|\*\//.test(d)))continue;"font-weight"===o&&"700"===d?d="bold":"color"!==o&&"background-color"!==o||(d=d.toLowerCase()),d=(d=d.replace(a,bi)).replace(s,S),g[o]=f?w(d,!0):d}y("border","",!0),y("border","-width"),y("border","-color"),y("border","-style"),y("padding",""),y("margin",""),p="border-style",m="border-color",O(h="border-width")&&O(p)&&O(m)&&(g.border=g[h]+" "+g[p]+" "+g[m],delete g[h],delete g[p],delete g[m]),"medium none"===g.border&&delete g.border,"none"===g["border-image"]&&delete g["border-image"]}return g},serialize:function(e,t){var n="",i=function(t){var o,i=r[t];if(i)for(var a=0,s=i.length;a<s;a++)t=i[a],(o=e[t])&&(n+=(n.length>0?" ":"")+t+": "+o+";")};return t&&r?(i("*"),i(t)):de(e,(function(e,r){!e||o&&!function(e,t){var n=o["*"];return!(n&&n[e]||(n=o[t])&&n[e])}(r,t)||(n+=(n.length>0?" ":"")+r+": "+e+";")})),n}}},_i={keyLocation:!0,layerX:!0,layerY:!0,returnValue:!0,webkitMovementX:!0,webkitMovementY:!0,keyIdentifier:!0,mozPressure:!0},xi=function(e){return e instanceof Event||y(e.initEvent)},Si=function(e,t,n,r){var o,i=function(e,t){var n=null!=t?t:{};for(var r in e)ve(_i,r)||(n[r]=e[r]);return v(n.composedPath)&&(n.composedPath=function(){return e.composedPath()}),n}(t,r);return i.type=e,A(i.target)&&(i.target=null!==(o=i.srcElement)&&void 0!==o?o:n),function(e){return A(e.preventDefault)||xi(e)}(t)&&(i.preventDefault=function(){i.defaultPrevented=!0,i.isDefaultPrevented=P,y(t.preventDefault)?t.preventDefault():xi(t)&&(t.returnValue=!1)},i.stopPropagation=function(){i.cancelBubble=!0,i.isPropagationStopped=P,y(t.stopPropagation)?t.stopPropagation():xi(t)&&(t.cancelBubble=!0)},i.stopImmediatePropagation=function(){i.isImmediatePropagationStopped=P,i.stopPropagation()},function(e){return e.isDefaultPrevented===P||e.isDefaultPrevented===E}(i)||(i.isDefaultPrevented=!0===i.defaultPrevented?P:E,i.isPropagationStopped=!0===i.cancelBubble?P:E,i.isImmediatePropagationStopped=E)),i},ki=/^(?:mouse|contextmenu)|click/,Ci=function(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r||!1):e.attachEvent&&e.attachEvent("on"+t,n)},Bi=function(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r||!1):e.detachEvent&&e.detachEvent("on"+t,n)},Qi=function(e,t){var n=Si(e.type,e,document,t);if(function(e){return v(e)&&ki.test(e.type)}(e)&&g(e.pageX)&&!g(e.clientX)){var r=n.target.ownerDocument||document,o=r.documentElement,i=r.body,a=n;a.pageX=e.clientX+(o&&o.scrollLeft||i&&i.scrollLeft||0)-(o&&o.clientLeft||i&&i.clientLeft||0),a.pageY=e.clientY+(o&&o.scrollTop||i&&i.scrollTop||0)-(o&&o.clientTop||i&&i.clientTop||0)}return g(n.metaKey)&&(n.metaKey=!1),n},Ti=function(e,t,n){var r=e.document,o={type:"ready"};if(n.domLoaded)t(o);else{var i=function(){Bi(e,"DOMContentLoaded",i),Bi(e,"load",i),n.domLoaded||(n.domLoaded=!0,t(o)),e=null};"complete"===r.readyState||"interactive"===r.readyState&&r.body?i():Ci(e,"DOMContentLoaded",i),n.domLoaded||Ci(e,"load",i)}},Ei=function(){function e(){this.domLoaded=!1,this.events={},this.count=1,this.expando="mce-data-"+(+new Date).toString(32),this.hasMouseEnterLeave="onmouseenter"in document.documentElement,this.hasFocusIn="onfocusin"in document.documentElement,this.count=1}return e.prototype.bind=function(e,t,n,r){var o,i,a,s,l,c,u,d=this,f=window,h=function(e){d.executeHandlers(Qi(e||f.event),o)};if(e&&3!==e.nodeType&&8!==e.nodeType){e[d.expando]?o=e[d.expando]:(o=d.count++,e[d.expando]=o,d.events[o]={}),r=r||e;var p=t.split(" ");for(a=p.length;a--;)c=h,l=u=!1,"DOMContentLoaded"===(s=p[a])&&(s="ready"),d.domLoaded&&"ready"===s&&"complete"===e.readyState?n.call(r,Qi({type:s})):(d.hasMouseEnterLeave||(l=d.mouseEnterLeave[s])&&(c=function(e){var t=e.currentTarget,n=e.relatedTarget;if(n&&t.contains)n=t.contains(n);else for(;n&&n!==t;)n=n.parentNode;n||((e=Qi(e||f.event)).type="mouseout"===e.type?"mouseleave":"mouseenter",e.target=t,d.executeHandlers(e,o))}),d.hasFocusIn||"focusin"!==s&&"focusout"!==s||(u=!0,l="focusin"===s?"focus":"blur",c=function(e){(e=Qi(e||f.event)).type="focus"===e.type?"focusin":"focusout",d.executeHandlers(e,o)}),(i=d.events[o][s])?"ready"===s&&d.domLoaded?n(Qi({type:s})):i.push({func:n,scope:r}):(d.events[o][s]=i=[{func:n,scope:r}],i.fakeName=l,i.capture=u,i.nativeHandler=c,"ready"===s?Ti(e,c,d):Ci(e,l||s,c,u)));return e=i=null,n}},e.prototype.unbind=function(e,t,n){var r,o,i,a,s;if(!e||3===e.nodeType||8===e.nodeType)return this;var l=e[this.expando];if(l){if(s=this.events[l],t){var c=t.split(" ");for(o=c.length;o--;)if(r=s[a=c[o]]){if(n)for(i=r.length;i--;)if(r[i].func===n){var u=r.nativeHandler,d=r.fakeName,f=r.capture;(r=r.slice(0,i).concat(r.slice(i+1))).nativeHandler=u,r.fakeName=d,r.capture=f,s[a]=r}n&&0!==r.length||(delete s[a],Bi(e,r.fakeName||a,r.nativeHandler,r.capture))}}else de(s,(function(t,n){Bi(e,t.fakeName||n,t.nativeHandler,t.capture)})),s={};for(a in s)if(ve(s,a))return this;delete this.events[l];try{delete e[this.expando]}catch(t){e[this.expando]=null}}return this},e.prototype.fire=function(e,t,n){var r;if(!e||3===e.nodeType||8===e.nodeType)return this;var o=Qi({type:t,target:e},n);do{(r=e[this.expando])&&this.executeHandlers(o,r),e=e.parentNode||e.ownerDocument||e.defaultView||e.parentWindow}while(e&&!o.isPropagationStopped());return this},e.prototype.clean=function(e){var t,n;if(!e||3===e.nodeType||8===e.nodeType)return this;if(e[this.expando]&&this.unbind(e),e.getElementsByTagName||(e=e.document),e&&e.getElementsByTagName)for(this.unbind(e),t=(n=e.getElementsByTagName("*")).length;t--;)(e=n[t])[this.expando]&&this.unbind(e);return this},e.prototype.destroy=function(){this.events={}},e.prototype.cancel=function(e){return e&&(e.preventDefault(),e.stopImmediatePropagation()),!1},e.prototype.executeHandlers=function(e,t){var n=this.events[t],r=n&&n[e.type];if(r)for(var o=0,i=r.length;o<i;o++){var a=r[o];if(a&&!1===a.func.call(a.scope,e)&&e.preventDefault(),e.isImmediatePropagationStopped())return}},e.Event=new e,e}(),Pi="sizzle"+-new Date,$i=window.document,Mi=0,zi=0,Ri=ma(),Di=ma(),Ii=ma(),Ni=function(e,t){return e===t&&(zr=!0),0},Li="undefined",Vi=1<<31,Ui={}.hasOwnProperty,Fi=[],Hi=Fi.pop,Wi=Fi.push,Xi=Fi.push,ji=Fi.slice,qi=Fi.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},Zi="[\\x20\\t\\r\\n\\f]",Yi="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",Gi="\\["+Zi+"*("+Yi+")(?:"+Zi+"*([*^$|!~]?=)"+Zi+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Yi+"))|)"+Zi+"*\\]",Ki=":("+Yi+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Gi+")*)|.*)\\)|)",Ji=new RegExp("^"+Zi+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Zi+"+$","g"),ea=new RegExp("^"+Zi+"*,"+Zi+"*"),ta=new RegExp("^"+Zi+"*([>+~]|"+Zi+")"+Zi+"*"),na=new RegExp("="+Zi+"*([^\\]'\"]*?)"+Zi+"*\\]","g"),ra=new RegExp(Ki),oa=new RegExp("^"+Yi+"$"),ia={ID:new RegExp("^#("+Yi+")"),CLASS:new RegExp("^\\.("+Yi+")"),TAG:new RegExp("^("+Yi+"|[*])"),ATTR:new RegExp("^"+Gi),PSEUDO:new RegExp("^"+Ki),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Zi+"*(even|odd|(([+-]|)(\\d*)n|)"+Zi+"*(?:([+-]|)"+Zi+"*(\\d+)|))"+Zi+"*\\)|)","i"),bool:new RegExp("^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$","i"),needsContext:new RegExp("^"+Zi+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Zi+"*((?:-\\d)?\\d*)"+Zi+"*\\)|)(?=[^-]|$)","i")},aa=/^(?:input|select|textarea|button)$/i,sa=/^h\d$/i,la=/^[^{]+\{\s*\[native \w/,ca=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ua=/[+~]/,da=/'|\\/g,fa=new RegExp("\\\\([\\da-f]{1,6}"+Zi+"?|("+Zi+")|.)","ig"),ha=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{Xi.apply(Fi=ji.call($i.childNodes),$i.childNodes),Fi[$i.childNodes.length].nodeType}catch(e){Xi={apply:Fi.length?function(e,t){Wi.apply(e,ji.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}var pa=function(e,t,n,r){var o,i,a,s,l,c,u,d,f,h;if((t?t.ownerDocument||t:$i)!==Dr&&Rr(t),n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=(t=t||Dr).nodeType)&&9!==s)return[];if(Nr&&!r){if(o=ca.exec(e))if(a=o[1]){if(9===s){if(!(i=t.getElementById(a))||!i.parentNode)return n;if(i.id===a)return n.push(i),n}else if(t.ownerDocument&&(i=t.ownerDocument.getElementById(a))&&Ur(t,i)&&i.id===a)return n.push(i),n}else{if(o[2])return Xi.apply(n,t.getElementsByTagName(e)),n;if((a=o[3])&&kr.getElementsByClassName)return Xi.apply(n,t.getElementsByClassName(a)),n}if(kr.qsa&&(!Lr||!Lr.test(e))){if(d=u=Pi,f=t,h=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(c=Tr(e),(u=t.getAttribute("id"))?d=u.replace(da,"\\$&"):t.setAttribute("id",d),d="[id='"+d+"'] ",l=c.length;l--;)c[l]=d+ba(c[l]);f=ua.test(e)&&ya(t.parentNode)||t,h=c.join(",")}if(h)try{return Xi.apply(n,f.querySelectorAll(h)),n}catch(e){}finally{u||t.removeAttribute("id")}}}return Pr(e.replace(Ji,"$1"),t,n,r)};function ma(){var e=[];return function t(n,r){return e.push(n+" ")>Cr.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function ga(e){return e[Pi]=!0,e}function Aa(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Vi)-(~e.sourceIndex||Vi);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function va(e){return ga((function(t){return t=+t,ga((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function ya(e){return e&&typeof e.getElementsByTagName!==Li&&e}function Oa(){}function ba(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function wa(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=zi++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,a){var s,l,c=[Mi,i];if(a){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||o){if((s=(l=t[Pi]||(t[Pi]={}))[r])&&s[0]===Mi&&s[1]===i)return c[2]=s[2];if(l[r]=c,c[2]=e(t,n,a))return!0}}}function _a(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function xa(e,t,n,r,o){for(var i,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),c&&t.push(s)));return a}function Sa(e,t,n,r,o,i){return r&&!r[Pi]&&(r=Sa(r)),o&&!o[Pi]&&(o=Sa(o,i)),ga((function(i,a,s,l){var c,u,d,f=[],h=[],p=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)pa(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!i&&t?m:xa(m,f,e,s,l),A=n?o||(i?e:p||r)?[]:a:g;if(n&&n(g,A,s,l),r)for(c=xa(A,h),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(A[h[u]]=!(g[h[u]]=d));if(i){if(o||e){if(o){for(c=[],u=A.length;u--;)(d=A[u])&&c.push(g[u]=d);o(null,A=[],c,l)}for(u=A.length;u--;)(d=A[u])&&(c=o?qi.call(i,d):f[u])>-1&&(i[c]=!(a[c]=d))}}else A=xa(A===a?A.splice(p,A.length):A),o?o(null,a,A,l):Xi.apply(a,A)}))}function ka(e){for(var t,n,r,o=e.length,i=Cr.relative[e[0].type],a=i||Cr.relative[" "],s=i?1:0,l=wa((function(e){return e===t}),a,!0),c=wa((function(e){return qi.call(t,e)>-1}),a,!0),u=[function(e,n,r){var o=!i&&(r||n!==$r)||((t=n).nodeType?l(e,n,r):c(e,n,r));return t=null,o}];s<o;s++)if(n=Cr.relative[e[s].type])u=[wa(_a(u),n)];else{if((n=Cr.filter[e[s].type].apply(null,e[s].matches))[Pi]){for(r=++s;r<o&&!Cr.relative[e[r].type];r++);return Sa(s>1&&_a(u),s>1&&ba(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(Ji,"$1"),n,s<r&&ka(e.slice(s,r)),r<o&&ka(e=e.slice(r)),r<o&&ba(e))}u.push(n)}return _a(u)}kr=pa.support={},Qr=pa.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},Rr=pa.setDocument=function(e){var t,n=e?e.ownerDocument||e:$i,r=n.defaultView;return n!==Dr&&9===n.nodeType&&n.documentElement?(Dr=n,Ir=n.documentElement,Nr=!Qr(n),r&&r!==function(e){try{return e.top}catch(e){}return null}(r)&&(r.addEventListener?r.addEventListener("unload",(function(){Rr()}),!1):r.attachEvent&&r.attachEvent("onunload",(function(){Rr()}))),kr.attributes=!0,kr.getElementsByTagName=!0,kr.getElementsByClassName=la.test(n.getElementsByClassName),kr.getById=!0,Cr.find.ID=function(e,t){if(typeof t.getElementById!==Li&&Nr){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},Cr.filter.ID=function(e){var t=e.replace(fa,ha);return function(e){return e.getAttribute("id")===t}},Cr.find.TAG=kr.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==Li)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},Cr.find.CLASS=kr.getElementsByClassName&&function(e,t){if(Nr)return t.getElementsByClassName(e)},Vr=[],Lr=[],kr.disconnectedMatch=!0,Lr=Lr.length&&new RegExp(Lr.join("|")),Vr=Vr.length&&new RegExp(Vr.join("|")),t=la.test(Ir.compareDocumentPosition),Ur=t||la.test(Ir.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},Ni=t?function(e,t){if(e===t)return zr=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!kr.sortDetached&&t.compareDocumentPosition(e)===r?e===n||e.ownerDocument===$i&&Ur($i,e)?-1:t===n||t.ownerDocument===$i&&Ur($i,t)?1:Mr?qi.call(Mr,e)-qi.call(Mr,t):0:4&r?-1:1)}:function(e,t){if(e===t)return zr=!0,0;var r,o=0,i=e.parentNode,a=t.parentNode,s=[e],l=[t];if(!i||!a)return e===n?-1:t===n?1:i?-1:a?1:Mr?qi.call(Mr,e)-qi.call(Mr,t):0;if(i===a)return Aa(e,t);for(r=e;r=r.parentNode;)s.unshift(r);for(r=t;r=r.parentNode;)l.unshift(r);for(;s[o]===l[o];)o++;return o?Aa(s[o],l[o]):s[o]===$i?-1:l[o]===$i?1:0},n):Dr},pa.matches=function(e,t){return pa(e,null,null,t)},pa.matchesSelector=function(e,t){if((e.ownerDocument||e)!==Dr&&Rr(e),t=t.replace(na,"='$1']"),kr.matchesSelector&&Nr&&(!Vr||!Vr.test(t))&&(!Lr||!Lr.test(t)))try{var n=(void 0).call(e,t);if(n||kr.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return pa(t,Dr,null,[e]).length>0},pa.contains=function(e,t){return(e.ownerDocument||e)!==Dr&&Rr(e),Ur(e,t)},pa.attr=function(e,t){(e.ownerDocument||e)!==Dr&&Rr(e);var n=Cr.attrHandle[t.toLowerCase()],r=n&&Ui.call(Cr.attrHandle,t.toLowerCase())?n(e,t,!Nr):void 0;return void 0!==r?r:kr.attributes||!Nr?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},pa.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},pa.uniqueSort=function(e){var t,n=[],r=0,o=0;if(zr=!kr.detectDuplicates,Mr=!kr.sortStable&&e.slice(0),e.sort(Ni),zr){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return Mr=null,e},Br=pa.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=Br(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=Br(t);return n},Cr=pa.selectors={cacheLength:50,createPseudo:ga,match:ia,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(fa,ha),e[3]=(e[3]||e[4]||e[5]||"").replace(fa,ha),"~="===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]||pa.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]&&pa.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return ia.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ra.test(n)&&(t=Tr(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(fa,ha).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=Ri[e+" "];return t||(t=new RegExp("(^|"+Zi+")"+e+"("+Zi+"|$)"))&&Ri(e,(function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==Li&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=pa.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,h,p,m=i!==a?"nextSibling":"previousSibling",g=t.parentNode,A=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(g){if(i){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===A:1===d.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&v){for(h=(c=(u=g[Pi]||(g[Pi]={}))[e]||[])[0]===Mi&&c[1],f=c[0]===Mi&&c[2],d=h&&g.childNodes[h];d=++h&&d&&d[m]||(f=h=0)||p.pop();)if(1===d.nodeType&&++f&&d===t){u[e]=[Mi,h,f];break}}else if(v&&(c=(t[Pi]||(t[Pi]={}))[e])&&c[0]===Mi)f=c[1];else for(;(d=++h&&d&&d[m]||(f=h=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==A:1!==d.nodeType)||!++f||(v&&((d[Pi]||(d[Pi]={}))[e]=[Mi,f]),d!==t)););return(f-=o)===r||f%r==0&&f/r>=0}}},PSEUDO:function(e,t){var n,r=Cr.pseudos[e]||Cr.setFilters[e.toLowerCase()]||pa.error("unsupported pseudo: "+e);return r[Pi]?r(t):r.length>1?(n=[e,e,"",t],Cr.setFilters.hasOwnProperty(e.toLowerCase())?ga((function(e,n){for(var o,i=r(e,t),a=i.length;a--;)e[o=qi.call(e,i[a])]=!(n[o]=i[a])})):function(e){return r(e,0,n)}):r}},pseudos:{not:ga((function(e){var t=[],n=[],r=Er(e.replace(Ji,"$1"));return r[Pi]?ga((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ga((function(e){return function(t){return pa(e,t).length>0}})),contains:ga((function(e){return e=e.replace(fa,ha),function(t){return(t.textContent||t.innerText||Br(t)).indexOf(e)>-1}})),lang:ga((function(e){return oa.test(e||"")||pa.error("unsupported lang: "+e),e=e.replace(fa,ha).toLowerCase(),function(t){var n;do{if(n=Nr?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=window.location&&window.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===Ir},focus:function(e){return e===Dr.activeElement&&(!Dr.hasFocus||Dr.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},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!Cr.pseudos.empty(e)},header:function(e){return sa.test(e.nodeName)},input:function(e){return aa.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:va((function(){return[0]})),last:va((function(e,t){return[t-1]})),eq:va((function(e,t,n){return[n<0?n+t:n]})),even:va((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:va((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:va((function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e})),gt:va((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},Cr.pseudos.nth=Cr.pseudos.eq,H(["radio","checkbox","file","password","image"],(function(e){Cr.pseudos[e]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(e)})),H(["submit","reset"],(function(e){Cr.pseudos[e]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(e)})),Oa.prototype=Cr.filters=Cr.pseudos,Cr.setFilters=new Oa,Tr=pa.tokenize=function(e,t){var n,r,o,i,a,s,l,c=Di[e+" "];if(c)return t?0:c.slice(0);for(a=e,s=[],l=Cr.preFilter;a;){for(i in n&&!(r=ea.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(o=[])),n=!1,(r=ta.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(Ji," ")}),a=a.slice(n.length)),Cr.filter)Cr.filter.hasOwnProperty(i)&&(!(r=ia[i].exec(a))||l[i]&&!(r=l[i](r))||(n=r.shift(),o.push({value:n,type:i,matches:r}),a=a.slice(n.length)));if(!n)break}return t?a.length:a?pa.error(e):Di(e,s).slice(0)},Er=pa.compile=function(e,t){var n,r=[],o=[],i=Ii[e+" "];if(!i){for(t||(t=Tr(e)),n=t.length;n--;)(i=ka(t[n]))[Pi]?r.push(i):o.push(i);i=Ii(e,function(e,t){var n=t.length>0,r=e.length>0,o=function(o,i,a,s,l){var c,u,d,f=0,h="0",p=o&&[],m=[],g=$r,A=o||r&&Cr.find.TAG("*",l),v=Mi+=null==g?1:Math.random()||.1,y=A.length;for(l&&($r=i!==Dr&&i);h!==y&&null!=(c=A[h]);h++){if(r&&c){for(u=0;d=e[u++];)if(d(c,i,a)){s.push(c);break}l&&(Mi=v)}n&&((c=!d&&c)&&f--,o&&p.push(c))}if(f+=h,n&&h!==f){for(u=0;d=t[u++];)d(p,m,i,a);if(o){if(f>0)for(;h--;)p[h]||m[h]||(m[h]=Hi.call(s));m=xa(m)}Xi.apply(s,m),l&&!o&&m.length>0&&f+t.length>1&&pa.uniqueSort(s)}return l&&(Mi=v,$r=g),p};return n?ga(o):o}(o,r)),i.selector=e}return i},Pr=pa.select=function(e,t,n,r){var o,i,a,s,l,c="function"==typeof e&&e,u=!r&&Tr(e=c.selector||e);if(n=n||[],1===u.length){if((i=u[0]=u[0].slice(0)).length>2&&"ID"===(a=i[0]).type&&kr.getById&&9===t.nodeType&&Nr&&Cr.relative[i[1].type]){if(!(t=(Cr.find.ID(a.matches[0].replace(fa,ha),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=ia.needsContext.test(e)?0:i.length;o--&&(a=i[o],!Cr.relative[s=a.type]);)if((l=Cr.find[s])&&(r=l(a.matches[0].replace(fa,ha),ua.test(i[0].type)&&ya(t.parentNode)||t))){if(i.splice(o,1),!(e=r.length&&ba(i)))return Xi.apply(n,r),n;break}}return(c||Er(e,u))(r,t,!Nr,n,ua.test(e)&&ya(t.parentNode)||t),n},kr.sortStable=Pi.split("").sort(Ni).join("")===Pi,kr.detectDuplicates=!!zr,Rr(),kr.sortDetached=!0;var Ca=document,Ba=Array.prototype.push,Qa=Array.prototype.slice,Ta=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,Ea=Ei.Event,Pa=Ct.makeMap("children,contents,next,prev"),$a=function(e){return void 0!==e},Ma=function(e){return"string"==typeof e},za=function(e,t){var n,r=(t=t||Ca).createElement("div"),o=t.createDocumentFragment();for(r.innerHTML=e;n=r.firstChild;)o.appendChild(n);return o},Ra=function(e,t,n,r){var o;if(Ma(t))t=za(t,Ya(e[0]));else if(t.length&&!t.nodeType){if(t=es.makeArray(t),r)for(o=t.length-1;o>=0;o--)Ra(e,t[o],n,r);else for(o=0;o<t.length;o++)Ra(e,t[o],n,r);return e}if(t.nodeType)for(o=e.length;o--;)n.call(e[o],t);return e},Da=function(e,t){return e&&t&&-1!==(" "+e.className+" ").indexOf(" "+t+" ")},Ia=function(e,t,n){var r,o;return t=es(t)[0],e.each((function(){var e=this;n&&r===e.parentNode||(r=e.parentNode,o=t.cloneNode(!1),e.parentNode.insertBefore(o,e)),o.appendChild(e)})),e},Na=Ct.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," "),La=Ct.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," "),Va={for:"htmlFor",class:"className",readonly:"readOnly"},Ua={float:"cssFloat"},Fa={},Ha={},Wa=function(e,t){return new es.fn.init(e,t)},Xa=/^\s*|\s*$/g,ja=function(e){return null==e?"":(""+e).replace(Xa,"")},qa=function(e,t){var n,r,o,i;if(e)if(void 0===(n=e.length)){for(r in e)if(e.hasOwnProperty(r)&&(i=e[r],!1===t.call(i,r,i)))break}else for(o=0;o<n&&(i=e[o],!1!==t.call(i,o,i));o++);return e},Za=function(e,t){var n=[];return qa(e,(function(e,r){t(r,e)&&n.push(r)})),n},Ya=function(e){return e?9===e.nodeType?e:e.ownerDocument:Ca};Wa.fn=Wa.prototype={constructor:Wa,selector:"",context:null,length:0,init:function(e,t){var n,r,o=this;if(!e)return o;if(e.nodeType)return o.context=o[0]=e,o.length=1,o;if(t&&t.nodeType)o.context=t;else{if(t)return es(e).attr(t);o.context=t=document}if(Ma(e)){if(o.selector=e,!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Ta.exec(e)))return es(t).find(e);if(n[1])for(r=za(e,Ya(t)).firstChild;r;)Ba.call(o,r),r=r.nextSibling;else{if(!(r=Ya(t).getElementById(n[2])))return o;if(r.id!==n[2])return o.find(e);o.length=1,o[0]=r}}else this.add(e,!1);return o},toArray:function(){return Ct.toArray(this)},add:function(e,t){var n,r,o=this;if(Ma(e))return o.add(es(e));if(!1!==t)for(n=es.unique(o.toArray().concat(es.makeArray(e))),o.length=n.length,r=0;r<n.length;r++)o[r]=n[r];else Ba.apply(o,es.makeArray(e));return o},attr:function(e,t){var n,r=this;if("object"==typeof e)qa(e,(function(e,t){r.attr(e,t)}));else{if(!$a(t)){if(r[0]&&1===r[0].nodeType){if((n=Fa[e])&&n.get)return n.get(r[0],e);if(La[e])return r.prop(e)?e:void 0;null===(t=r[0].getAttribute(e,2))&&(t=void 0)}return t}this.each((function(){var n;if(1===this.nodeType){if((n=Fa[e])&&n.set)return void n.set(this,t);null===t?this.removeAttribute(e,2):this.setAttribute(e,t,2)}}))}return r},removeAttr:function(e){return this.attr(e,null)},prop:function(e,t){var n=this;if("object"==typeof(e=Va[e]||e))qa(e,(function(e,t){n.prop(e,t)}));else{if(!$a(t))return n[0]&&n[0].nodeType&&e in n[0]?n[0][e]:t;this.each((function(){1===this.nodeType&&(this[e]=t)}))}return n},css:function(e,t){var n,r,o=this,i=function(e){return e.replace(/-(\D)/g,(function(e,t){return t.toUpperCase()}))},a=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e}))};if("object"==typeof e)qa(e,(function(e,t){o.css(e,t)}));else if($a(t))e=i(e),"number"!=typeof t||Na[e]||(t=t.toString()+"px"),o.each((function(){var n=this.style;if((r=Ha[e])&&r.set)r.set(this,t);else{try{this.style[Ua[e]||e]=t}catch(e){}null!==t&&""!==t||(n.removeProperty?n.removeProperty(a(e)):n.removeAttribute(e))}}));else{if(n=o[0],(r=Ha[e])&&r.get)return r.get(n);if(!n.ownerDocument.defaultView)return n.currentStyle?n.currentStyle[i(e)]:"";try{return n.ownerDocument.defaultView.getComputedStyle(n,null).getPropertyValue(a(e))}catch(e){return}}return o},remove:function(){for(var e,t=this.length;t--;)e=this[t],Ea.clean(e),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var e,t=this.length;t--;)for(e=this[t];e.firstChild;)e.removeChild(e.firstChild);return this},html:function(e){var t,n=this;if($a(e)){t=n.length;try{for(;t--;)n[t].innerHTML=e}catch(r){es(n[t]).empty().append(e)}return n}return n[0]?n[0].innerHTML:""},text:function(e){var t,n=this;if($a(e)){for(t=n.length;t--;)"innerText"in n[t]?n[t].innerText=e:n[0].textContent=e;return n}return n[0]?n[0].innerText||n[0].textContent:""},append:function(){return Ra(this,arguments,(function(e){(1===this.nodeType||this.host&&1===this.host.nodeType)&&this.appendChild(e)}))},prepend:function(){return Ra(this,arguments,(function(e){(1===this.nodeType||this.host&&1===this.host.nodeType)&&this.insertBefore(e,this.firstChild)}),!0)},before:function(){var e=this;return e[0]&&e[0].parentNode?Ra(e,arguments,(function(e){this.parentNode.insertBefore(e,this)})):e},after:function(){var e=this;return e[0]&&e[0].parentNode?Ra(e,arguments,(function(e){this.parentNode.insertBefore(e,this.nextSibling)}),!0):e},appendTo:function(e){return es(e).append(this),this},prependTo:function(e){return es(e).prepend(this),this},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){return Ia(this,e)},wrapAll:function(e){return Ia(this,e,!0)},wrapInner:function(e){return this.each((function(){es(this).contents().wrapAll(e)})),this},unwrap:function(){return this.parent().each((function(){es(this).replaceWith(this.childNodes)}))},clone:function(){var e=[];return this.each((function(){e.push(this.cloneNode(!0))})),es(e)},addClass:function(e){return this.toggleClass(e,!0)},removeClass:function(e){return this.toggleClass(e,!1)},toggleClass:function(e,t){var n=this;return"string"!=typeof e||(-1!==e.indexOf(" ")?qa(e.split(" "),(function(){n.toggleClass(this,t)})):n.each((function(n,r){var o=Da(r,e);if(o!==t){var i=r.className;o?r.className=ja((" "+i+" ").replace(" "+e+" "," ")):r.className+=i?" "+e:e}}))),n},hasClass:function(e){return Da(this[0],e)},each:function(e){return qa(this,e)},on:function(e,t){return this.each((function(){Ea.bind(this,e,t)}))},off:function(e,t){return this.each((function(){Ea.unbind(this,e,t)}))},trigger:function(e){return this.each((function(){"object"==typeof e?Ea.fire(this,e.type,e):Ea.fire(this,e)}))},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},slice:function(){return es(Qa.apply(this,arguments))},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},find:function(e){var t,n,r=[];for(t=0,n=this.length;t<n;t++)es.find(e,this[t],r);return es(r)},filter:function(e){return es("function"==typeof e?Za(this.toArray(),(function(t,n){return e(n,t)})):es.filter(e,this.toArray()))},closest:function(e){var t=[];return e instanceof es&&(e=e[0]),this.each((function(n,r){for(;r;){if("string"==typeof e&&es(r).is(e)){t.push(r);break}if(r===e){t.push(r);break}r=r.parentNode}})),es(t)},offset:function(e){var t,n,r,o,i=0,a=0;return e?this.css(e):((t=this[0])&&(r=(n=t.ownerDocument).documentElement,t.getBoundingClientRect&&(i=(o=t.getBoundingClientRect()).left+(r.scrollLeft||n.body.scrollLeft)-r.clientLeft,a=o.top+(r.scrollTop||n.body.scrollTop)-r.clientTop)),{left:i,top:a})},push:Ba,sort:Array.prototype.sort,splice:Array.prototype.splice},Ct.extend(Wa,{extend:Ct.extend,makeArray:function(e){return(t=e)&&t===t.window||e.nodeType?[e]:Ct.toArray(e);var t},inArray:function(e,t){var n;if(t.indexOf)return t.indexOf(e);for(n=t.length;n--;)if(t[n]===e)return n;return-1},isArray:Ct.isArray,each:qa,trim:ja,grep:Za,find:pa,expr:pa.selectors,unique:pa.uniqueSort,text:pa.getText,contains:pa.contains,filter:function(e,t,n){var r=t.length;for(n&&(e=":not("+e+")");r--;)1!==t[r].nodeType&&t.splice(r,1);return 1===t.length?es.find.matchesSelector(t[0],e)?[t[0]]:[]:es.find.matches(e,t)}});var Ga=function(e,t,n){var r=[],o=e[t];for("string"!=typeof n&&n instanceof es&&(n=n[0]);o&&9!==o.nodeType;){if(void 0!==n){if(o===n)break;if("string"==typeof n&&es(o).is(n))break}1===o.nodeType&&r.push(o),o=o[t]}return r},Ka=function(e,t,n,r){var o=[];for(r instanceof es&&(r=r[0]);e;e=e[t])if(!n||e.nodeType===n){if(void 0!==r){if(e===r)break;if("string"==typeof r&&es(e).is(r))break}o.push(e)}return o},Ja=function(e,t,n){for(e=e[t];e;e=e[t])if(e.nodeType===n)return e;return null};qa({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ga(e,"parentNode")},next:function(e){return Ja(e,"nextSibling",1)},prev:function(e){return Ja(e,"previousSibling",1)},children:function(e){return Ka(e.firstChild,"nextSibling",1)},contents:function(e){return Ct.toArray(("iframe"===e.nodeName?e.contentDocument||e.contentWindow.document:e).childNodes)}},(function(e,t){Wa.fn[e]=function(n){var r=[];this.each((function(){var e=t.call(r,this,n,r);e&&(es.isArray(e)?r.push.apply(r,e):r.push(e))})),this.length>1&&(Pa[e]||(r=es.unique(r)),0===e.indexOf("parents")&&(r=r.reverse()));var o=es(r);return n?o.filter(n):o}})),qa({parentsUntil:function(e,t){return Ga(e,"parentNode",t)},nextUntil:function(e,t){return Ka(e,"nextSibling",1,t).slice(1)},prevUntil:function(e,t){return Ka(e,"previousSibling",1,t).slice(1)}},(function(e,t){Wa.fn[e]=function(n,r){var o=[];this.each((function(){var e=t.call(o,this,n,o);e&&(es.isArray(e)?o.push.apply(o,e):o.push(e))})),this.length>1&&(o=es.unique(o),0!==e.indexOf("parents")&&"prevUntil"!==e||(o=o.reverse()));var i=es(o);return r?i.filter(r):i}})),Wa.fn.is=function(e){return!!e&&this.filter(e).length>0},Wa.fn.init.prototype=Wa.fn,Wa.overrideDefaults=function(e){var t,n=function(r,o){return t=t||e(),0===arguments.length&&(r=t.element),o||(o=t.context),new n.fn.init(r,o)};return es.extend(n,this),n},Wa.attrHooks=Fa,Wa.cssHooks=Ha;var es=Wa,ts=Ct.each,ns=Ct.grep,rs=wt.ie,os=/^([a-z0-9],?)+$/i,is=function(e,t){var n=t.attr("style"),r=e.serialize(e.parse(n),t[0].nodeName);r||(r=null),t.attr("data-mce-style",r)},as=function(e,t){var n,r,o=0;if(e)for(n=e.nodeType,e=e.previousSibling;e;e=e.previousSibling)r=e.nodeType,(!t||3!==r||r!==n&&e.nodeValue.length)&&(o++,n=r);return o},ss=function(e,t){void 0===t&&(t={});var n={},r=window,o={},i=0,a=eo.forElement(Pt(e),{contentCssCors:t.contentCssCors,referrerPolicy:t.referrerPolicy}),s=[],l=t.schema?t.schema:Oi({}),c=wi({url_converter:t.url_converter,url_converter_scope:t.url_converter_scope},t.schema),u=t.ownEvents?new Ei:Ei.Event,f=l.getBlockElements(),h=es.overrideDefaults((function(){return{context:e,element:F.getRoot()}})),p=function(t){return t&&e&&d(t)?e.getElementById(t):t},m=function(e){return h("string"==typeof e?p(e):e)},g=function(e,t,n){var r,o,i=m(e);return i.length&&(o=(r=W[t])&&r.get?r.get(i,t):i.attr(t)),void 0===o&&(o=n||""),o},v=function(e){var t=p(e);return t?t.attributes:[]},y=function(e,n,r){""===r&&(r=null);var o=m(e),i=o.attr(n);if(o.length){var a=W[n];a&&a.set?a.set(o,r,n):o.attr(n,r),i!==r&&t.onSetAttrib&&t.onSetAttrib({attrElm:o,attrName:n,attrValue:r})}},O=function(){return t.root_element||e.body},w=function(t,n){return function(e,t,n){var r=0,o=0,i=e.ownerDocument;if(n=n||e,t){if(n===e&&t.getBoundingClientRect&&"static"===or(Pt(e),"position")){var a=t.getBoundingClientRect();return{x:r=a.left+(i.documentElement.scrollLeft||e.scrollLeft)-i.documentElement.clientLeft,y:o=a.top+(i.documentElement.scrollTop||e.scrollTop)-i.documentElement.clientTop}}for(var s=t;s&&s!==n&&s.nodeType&&!ur(s,n);){var l=s;r+=l.offsetLeft||0,o+=l.offsetTop||0,s=l.offsetParent}for(s=t.parentNode;s&&s!==n&&s.nodeType&&!ur(s,n);)r-=s.scrollLeft||0,o-=s.scrollTop||0,s=s.parentNode;o+=function(e){return lr.isFirefox()&&"table"===It(e)?cr(Jt(e)).filter((function(e){return"caption"===It(e)})).bind((function(e){return cr(Kt(e)).map((function(t){var n=t.dom.offsetTop,r=e.dom.offsetTop,o=e.dom.offsetHeight;return n<=r?-o:0}))})).getOr(0):0}(Pt(t))}return{x:r,y:o}}(e.body,p(t),n)},_=function(e,t,n){var r=m(e);return n?r.css(t):("float"===(t=t.replace(/-(\D)/g,(function(e,t){return t.toUpperCase()})))&&(t=wt.browser.isIE()?"styleFloat":"cssFloat"),r[0]&&r[0].style?r[0].style[t]:void 0)},S=function(e){var t,n;return e=p(e),t=_(e,"width"),n=_(e,"height"),-1===t.indexOf("px")&&(t=0),-1===n.indexOf("px")&&(n=0),{w:parseInt(t,10)||e.offsetWidth||e.clientWidth,h:parseInt(n,10)||e.offsetHeight||e.clientHeight}},k=function(e,t){var n;if(!e)return!1;if(!Array.isArray(e)){if("*"===t)return 1===e.nodeType;if(os.test(t)){var r=t.toLowerCase().split(/,/),o=e.nodeName.toLowerCase();for(n=r.length-1;n>=0;n--)if(r[n]===o)return!0;return!1}if(e.nodeType&&1!==e.nodeType)return!1}var i=Array.isArray(e)?e:[e];return pa(t,i[0].ownerDocument||i[0],null,i).length>0},C=function(e,t,n,r){var o,i=[],a=p(e);for(r=void 0===r,n=n||("BODY"!==O().nodeName?O().parentNode:null),Ct.is(t,"string")&&(o=t,t="*"===t?function(e){return 1===e.nodeType}:function(e){return k(e,o)});a&&!(a===n||A(a.nodeType)||Vn(a)||Un(a));){if(!t||"function"==typeof t&&t(a)){if(!r)return[a];i.push(a)}a=a.parentNode}return r?i:null},B=function(e,t,n){var r=t;if(e)for("string"==typeof t&&(r=function(e){return k(e,t)}),e=e[n];e;e=e[n])if("function"==typeof r&&r(e))return e;return null},Q=function(e,t,n){var r,o="string"==typeof e?p(e):e;if(!o)return!1;if(Ct.isArray(o)&&(o.length||0===o.length))return r=[],ts(o,(function(e,o){e&&r.push(t.call(n,"string"==typeof e?p(e):e,o))})),r;var i=n||this;return t.call(i,o)},T=function(e,t){m(e).each((function(e,n){ts(t,(function(e,t){y(n,t,e)}))}))},E=function(e,t){var n=m(e);rs?n.each((function(e,n){if(!1!==n.canHaveHTML){for(;n.firstChild;)n.removeChild(n.firstChild);try{n.innerHTML="<br>"+t,n.removeChild(n.firstChild)}catch(e){es("<div></div>").html("<br>"+t).contents().slice(1).appendTo(n)}return t}})):n.html(t)},P=function(t,n,r,o,i){return Q(t,(function(t){var a="string"==typeof n?e.createElement(n):n;return T(a,r),o&&("string"!=typeof o&&o.nodeType?a.appendChild(o):"string"==typeof o&&E(a,o)),i?a:t.appendChild(a)}))},$=function(t,n,r){return P(e.createElement(t),t,n,r,!0)},M=ui.encodeAllRaw,z=function(e,t){var n=m(e);return t?n.each((function(){for(var e;e=this.firstChild;)3===e.nodeType&&0===e.data.length?this.removeChild(e):this.parentNode.insertBefore(e,this)})).remove():n.remove(),n.length>1?n.toArray():n[0]},R=function(e,t,n){m(e).toggleClass(t,n).each((function(){""===this.className&&es(this).attr("class",null)}))},D=function(e,t,n){return Q(t,(function(t){return Ct.is(t,"array")&&(e=e.cloneNode(!0)),n&&ts(ns(t.childNodes),(function(t){e.appendChild(t)})),t.parentNode.replaceChild(e,t)}))},I=function(e){if(En(e)){var t="a"===e.nodeName.toLowerCase()&&!g(e,"href")&&g(e,"id");if(g(e,"name")||g(e,"data-mce-bookmark")||t)return!0}return!1},N=function(){return e.createRange()},L=function(n,o,i,a){if(Ct.isArray(n)){for(var l=n.length,c=[];l--;)c[l]=L(n[l],o,i,a);return c}return!t.collect||n!==e&&n!==r||s.push([n,o,i,a]),u.bind(n,o,i,a||F)},V=function(t,n,o){if(Ct.isArray(t)){for(var i=t.length,a=[];i--;)a[i]=V(t[i],n,o);return a}if(s.length>0&&(t===e||t===r))for(i=s.length;i--;){var l=s[i];t!==l[0]||n&&n!==l[1]||o&&o!==l[2]||u.unbind(l[0],l[1],l[2])}return u.unbind(t,n,o)},U=function(e){if(e&&En(e)){var t=e.getAttribute("data-mce-contenteditable");return t&&"inherit"!==t?t:"inherit"!==e.contentEditable?e.contentEditable:null}return null},F={doc:e,settings:t,win:r,files:o,stdMode:!0,boxModel:!0,styleSheetLoader:a,boundEvents:s,styles:c,schema:l,events:u,isBlock:function(e){if("string"==typeof e)return!!f[e];if(e){var t=e.nodeType;if(t)return!(1!==t||!f[e.nodeName])}return!1},$:h,$$:m,root:null,clone:function(t,n){if(!rs||1!==t.nodeType||n)return t.cloneNode(n);var r=e.createElement(t.nodeName);return ts(v(t),(function(e){y(r,e.nodeName,g(t,e.nodeName))})),r},getRoot:O,getViewPort:function(e){var t=Bn(e);return{x:t.x,y:t.y,w:t.width,h:t.height}},getRect:function(e){e=p(e);var t=w(e),n=S(e);return{x:t.x,y:t.y,w:n.w,h:n.h}},getSize:S,getParent:function(e,t,n){var r=C(e,t,n,!1);return r&&r.length>0?r[0]:null},getParents:C,get:p,getNext:function(e,t){return B(e,t,"nextSibling")},getPrev:function(e,t){return B(e,t,"previousSibling")},select:function(n,r){return pa(n,p(r)||t.root_element||e,[])},is:k,add:P,create:$,createHTML:function(e,t,n){var r,o="";for(r in o+="<"+e,t)ye(t,r)&&(o+=" "+r+'="'+M(t[r])+'"');return void 0!==n?o+">"+n+"</"+e+">":o+" />"},createFragment:function(t){var n,r=e.createElement("div"),o=e.createDocumentFragment();for(o.appendChild(r),t&&(r.innerHTML=t);n=r.firstChild;)o.appendChild(n);return o.removeChild(r),o},remove:z,setStyle:function(e,n,r){var o=d(n)?m(e).css(n,r):m(e).css(n);t.update_styles&&is(c,o)},getStyle:_,setStyles:function(e,n){var r=m(e).css(n);t.update_styles&&is(c,r)},removeAllAttribs:function(e){return Q(e,(function(e){var t,n=e.attributes;for(t=n.length-1;t>=0;t--)e.removeAttributeNode(n.item(t))}))},setAttrib:y,setAttribs:T,getAttrib:g,getPos:w,parseStyle:function(e){return c.parse(e)},serializeStyle:function(e,t){return c.serialize(e,t)},addStyle:function(t){var r,o;if(F!==ss.DOM&&e===document){if(n[t])return;n[t]=!0}(o=e.getElementById("mceDefaultStyles"))||((o=e.createElement("style")).id="mceDefaultStyles",o.type="text/css",(r=e.getElementsByTagName("head")[0]).firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o)),o.styleSheet?o.styleSheet.cssText+=t:o.appendChild(e.createTextNode(t))},loadCSS:function(e){e||(e=""),H(e.split(","),(function(e){o[e]=!0,a.load(e,b)}))},addClass:function(e,t){m(e).addClass(t)},removeClass:function(e,t){R(e,t,!1)},hasClass:function(e,t){return m(e).hasClass(t)},toggleClass:R,show:function(e){m(e).show()},hide:function(e){m(e).hide()},isHidden:function(e){return"none"===m(e).css("display")},uniqueId:function(e){return(e||"mce_")+i++},setHTML:E,getOuterHTML:function(e){var t="string"==typeof e?p(e):e;return En(t)?t.outerHTML:es("<div></div>").append(es(t).clone()).html()},setOuterHTML:function(e,t){m(e).each((function(){try{if("outerHTML"in this)return void(this.outerHTML=t)}catch(e){}z(es(this).html(t),!0)}))},decode:ui.decode,encode:M,insertAfter:function(e,t){var n=p(t);return Q(e,(function(e){var t=n.parentNode,r=n.nextSibling;return r?t.insertBefore(e,r):t.appendChild(e),e}))},replace:D,rename:function(e,t){var n;return e.nodeName!==t.toUpperCase()&&(n=$(t),ts(v(e),(function(t){y(n,t.nodeName,g(e,t.nodeName))})),D(n,e,!0)),n||e},findCommonAncestor:function(e,t){for(var n,r=e;r;){for(n=t;n&&r!==n;)n=n.parentNode;if(r===n)break;r=r.parentNode}return!r&&e.ownerDocument?e.ownerDocument.documentElement:r},toHex:function(e){return c.toHex(Ct.trim(e))},run:Q,getAttribs:v,isEmpty:function(e,t){var n,r,o=0;if(I(e))return!1;if(e=e.firstChild){var i=new to(e,e.parentNode),a=l?l.getWhiteSpaceElements():{};t=t||(l?l.getNonEmptyElements():null);do{if(n=e.nodeType,En(e)){var s=e.getAttribute("data-mce-bogus");if(s){e=i.next("all"===s);continue}if(r=e.nodeName.toLowerCase(),t&&t[r]){if("br"===r){o++,e=i.next();continue}return!1}if(I(e))return!1}if(8===n)return!1;if(3===n&&!Uo(e.nodeValue))return!1;if(3===n&&e.parentNode&&a[e.parentNode.nodeName]&&Uo(e.nodeValue))return!1;e=i.next()}while(e)}return o<=1},createRng:N,nodeIndex:as,split:function(e,t,n){var r,o,i,a=N();if(e&&t)return a.setStart(e.parentNode,as(e)),a.setEnd(t.parentNode,as(t)),r=a.extractContents(),(a=N()).setStart(t.parentNode,as(t)+1),a.setEnd(e.parentNode,as(e)+1),o=a.extractContents(),(i=e.parentNode).insertBefore(Yo(F,r),e),n?i.insertBefore(n,e):i.insertBefore(t,e),i.insertBefore(Yo(F,o),e),z(e),n||t},bind:L,unbind:V,fire:function(e,t,n){return u.fire(e,t,n)},getContentEditable:U,getContentEditableParent:function(e){for(var t=O(),n=null;e&&e!==t&&null===(n=U(e));e=e.parentNode);return n},destroy:function(){if(s.length>0)for(var e=s.length;e--;){var t=s[e];u.unbind(t[0],t[1],t[2])}de(o,(function(e,t){a.unload(t),delete o[t]})),pa.setDocument&&pa.setDocument()},isChildOf:function(e,t){if(rs){for(;e;){if(t===e)return!0;e=e.parentNode}return!1}return e===t||t.contains(e)},dumpRng:function(e){return"startContainer: "+e.startContainer.nodeName+", startOffset: "+e.startOffset+", endContainer: "+e.endContainer.nodeName+", endOffset: "+e.endOffset}},W=function(e,t,n){var r=t.keep_values,o={set:function(e,r,o){t.url_converter&&null!==r&&(r=t.url_converter.call(t.url_converter_scope||n(),r,o,e[0])),e.attr("data-mce-"+o,r).attr(o,r)},get:function(e,t){return e.attr("data-mce-"+t)||e.attr(t)}},i={style:{set:function(t,n){null===n||"object"!=typeof n?(r&&t.attr("data-mce-style",n),null!==n&&"string"==typeof n?(t.removeAttr("style"),t.css(e.parse(n))):t.attr("style",n)):t.css(n)},get:function(t){var n=t.attr("data-mce-style")||t.attr("style");return e.serialize(e.parse(n),t[0].nodeName)}}};return r&&(i.href=i.src=o),i}(c,t,x(F));return F};ss.DOM=ss(document),ss.nodeIndex=as;var ls=ss.DOM,cs=Ct.each,us=Ct.grep,ds=function(){function e(e){void 0===e&&(e={}),this.states={},this.queue=[],this.scriptLoadedCallbacks={},this.queueLoadedCallbacks=[],this.loading=0,this.settings=e}return e.prototype._setReferrerPolicy=function(e){this.settings.referrerPolicy=e},e.prototype.loadScript=function(e,t,n){var r,o=ls,i=function(){o.remove(a),r&&(r.onerror=r.onload=r=null)},a=o.uniqueId();(r=document.createElement("script")).id=a,r.type="text/javascript",r.src=Ct._addCacheSuffix(e),this.settings.referrerPolicy&&o.setAttrib(r,"referrerpolicy",this.settings.referrerPolicy),r.onload=function(){i(),t()},r.onerror=function(){i(),y(n)?n():"undefined"!=typeof console&&console.log&&console.log("Failed to load script: "+e)},(document.getElementsByTagName("head")[0]||document.body).appendChild(r)},e.prototype.isDone=function(e){return 2===this.states[e]},e.prototype.markDone=function(e){this.states[e]=2},e.prototype.add=function(e,t,n,r){var o=this.states[e];this.queue.push(e),void 0===o&&(this.states[e]=0),t&&(this.scriptLoadedCallbacks[e]||(this.scriptLoadedCallbacks[e]=[]),this.scriptLoadedCallbacks[e].push({success:t,failure:r,scope:n||this}))},e.prototype.load=function(e,t,n,r){return this.add(e,t,n,r)},e.prototype.remove=function(e){delete this.states[e],delete this.scriptLoadedCallbacks[e]},e.prototype.loadQueue=function(e,t,n){this.loadScripts(this.queue,e,t,n)},e.prototype.loadScripts=function(e,t,n,r){var o=this,i=[],a=function(e,t){cs(o.scriptLoadedCallbacks[t],(function(t){y(t[e])&&t[e].call(t.scope)})),o.scriptLoadedCallbacks[t]=void 0};o.queueLoadedCallbacks.push({success:t,failure:r,scope:n||this});var s=function(){var t=us(e);if(e.length=0,cs(t,(function(e){2!==o.states[e]?3!==o.states[e]?1!==o.states[e]&&(o.states[e]=1,o.loading++,o.loadScript(e,(function(){o.states[e]=2,o.loading--,a("success",e),s()}),(function(){o.states[e]=3,o.loading--,i.push(e),a("failure",e),s()}))):a("failure",e):a("success",e)})),!o.loading){var n=o.queueLoadedCallbacks.slice(0);o.queueLoadedCallbacks.length=0,cs(n,(function(e){0===i.length?y(e.success)&&e.success.call(e.scope):y(e.failure)&&e.failure.call(e.scope,i)}))}};s()},e.ScriptLoader=new e,e}(),fs=function(e){var t=e;return{get:function(){return t},set:function(e){t=e}}},hs={},ps=fs("en"),ms=function(){return Ae(hs,ps.get())},gs={getData:function(){return fe(hs,(function(e){return Be({},e)}))},setCode:function(e){e&&ps.set(e)},getCode:function(){return ps.get()},add:function(e,t){var n=hs[e];n||(hs[e]=n={}),de(t,(function(e,t){n[t.toLowerCase()]=e}))},translate:function(e){var t,n=ms().getOr({}),r=function(e){return y(e)?Object.prototype.toString.call(e):o(e)?"":""+e},o=function(e){return""===e||null==e},i=function(e){var t=r(e);return Ae(n,t.toLowerCase()).map(r).getOr(t)},a=function(e){return e.replace(/{context:\w+}$/,"")};if(o(e))return"";if(f(t=e)&&ve(t,"raw"))return r(e.raw);if(function(e){return h(e)&&e.length>1}(e)){var s=e.slice(1);return a(i(e[0]).replace(/\{([0-9]+)\}/g,(function(e,t){return ve(s,t)?r(s[t]):e})))}return a(i(e))},isRtl:function(){return ms().bind((function(e){return Ae(e,"_dir")})).exists((function(e){return"rtl"===e}))},hasCode:function(e){return ve(hs,e)}},As=function(){var e=[],t={},n={},r=[],o=function(e,t){var n=j(r,(function(n){return n.name===e&&n.state===t}));H(n,(function(e){return e.callback()}))},i=function(e){var t;return n[e]&&(t=n[e].dependencies),t||[]},a=function(e,t){return"object"==typeof t?t:"string"==typeof e?{prefix:"",resource:t,suffix:""}:{prefix:e.prefix,resource:t,suffix:e.suffix}},s=function(e,r,l,c,u){if(!t[e]){var d="string"==typeof r?r:r.prefix+r.resource+r.suffix;0!==d.indexOf("/")&&-1===d.indexOf("://")&&(d=As.baseURL+"/"+d),t[e]=d.substring(0,d.lastIndexOf("/"));var f=function(){o(e,"loaded"),function(e,t,n,r){var o=i(e);H(o,(function(e){var n=a(t,e);s(n.resource,n,void 0,void 0)})),n&&(r?n.call(r):n.call(ds))}(e,r,l,c)};n[e]?f():ds.ScriptLoader.add(d,f,c,u)}},l=function(e,o,i){void 0===i&&(i="added"),ve(n,e)&&"added"===i||ve(t,e)&&"loaded"===i?o():r.push({name:e,state:i,callback:o})};return{items:e,urls:t,lookup:n,_listeners:r,get:function(e){if(n[e])return n[e].instance},dependencies:i,requireLangPack:function(e,n){!1!==As.languageLoad&&l(e,(function(){var r=gs.getCode();!r||n&&-1===(","+(n||"")+",").indexOf(","+r+",")||ds.ScriptLoader.add(t[e]+"/langs/"+r+".js")}),"loaded")},add:function(t,r,i){var a=r;return e.push(a),n[t]={instance:a,dependencies:i},o(t,"added"),a},remove:function(e){delete t[e],delete n[e]},createUrl:a,addComponents:function(e,n){var r=t[e];H(n,(function(e){ds.ScriptLoader.add(r+"/"+e)}))},load:s,waitFor:l}};As.languageLoad=!0,As.baseURL="",As.PluginManager=As(),As.ThemeManager=As();var vs=function(){var e=function(e){var t=fs(R.none()),n=function(){return t.get().each(e)};return{clear:function(){n(),t.set(R.none())},isSet:function(){return t.get().isSome()},get:function(){return t.get()},set:function(e){n(),t.set(R.some(e))}}}(b);return Be(Be({},e),{on:function(t){return e.get().each(t)}})},ys=function(e,t){var n=null;return{cancel:function(){p(n)||(clearTimeout(n),n=null)},throttle:function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];p(n)&&(n=setTimeout((function(){n=null,e.apply(null,r)}),t))}}},Os=function(e,t){var n=null,r=function(){p(n)||(clearTimeout(n),n=null)};return{cancel:r,throttle:function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];r(),n=setTimeout((function(){n=null,e.apply(null,o)}),t)}}},bs=function(e,t){var n=tr(e,t);return void 0===n||""===n?[]:n.split(" ")},ws=function(e){return void 0!==e.dom.classList},_s=function(e,t){ws(e)?e.dom.classList.add(t):function(e,t){(function(e,t,n){var r=bs(e,t).concat([n]);Jn(e,t,r.join(" "))})(e,"class",t)}(e,t)},xs=function(e,t){return ws(e)&&e.dom.classList.contains(t)},Ss=function(e,t){var n=[];return H(Jt(e),(function(e){t(e)&&(n=n.concat([e])),n=n.concat(Ss(e,t))})),n},ks=function(e,t){return function(e,t){var n=void 0===t?document:t.dom;return zt(n)?[]:F(n.querySelectorAll(e),Pt)}(t,e)},Cs=x("mce-annotation"),Bs=x("data-mce-annotation"),Qs=x("data-mce-annotation-uid"),Ts=function(e,t){var n=e.selection.getRng(),r=Pt(n.startContainer),o=Pt(e.getBody()),i=t.fold((function(){return"."+Cs()}),(function(e){return"["+Bs()+'="'+e+'"]'})),a=en(r,n.startOffset).getOr(r),s=jr(a,i,(function(e){return Rt(e,o)})),l=function(e,t){return function(e,t){var n=e.dom;return!(!n||!n.hasAttribute)&&n.hasAttribute(t)}(e,t)?R.some(tr(e,t)):R.none()};return s.bind((function(t){return l(t,""+Qs()).bind((function(n){return l(t,""+Bs()).map((function(t){var r=Es(e,n);return{uid:n,name:t,elements:r}}))}))}))},Es=function(e,t){var n=Pt(e.getBody());return ks(n,"["+Qs()+'="'+t+'"]')},Ps=0,$s=function(e){var t=(new Date).getTime();return e+"_"+Math.floor(1e9*Math.random())+ ++Ps+String(t)},Ms=function(e,t){var n,r,o=Wt(e).dom,i=Pt(o.createDocumentFragment()),a=(n=t,(r=(o||document).createElement("div")).innerHTML=n,Jt(Pt(r)));mn(i,a),gn(e),pn(e,i)},zs=function(e,t){return Pt(e.dom.cloneNode(t))},Rs=function(e){return zs(e,!1)},Ds=function(e){return zs(e,!0)},Is=function(e,t,n){void 0===n&&(n=E);var r=new to(e,t),o=function(e){var t;do{t=r[e]()}while(t&&!Nn(t)&&!n(t));return R.from(t).filter(Nn)};return{current:function(){return R.from(r.current()).filter(Nn)},next:function(){return o("next")},prev:function(){return o("prev")},prev2:function(){return o("prev2")}}},Ns=function(e,t){var n=t||function(t){return e.isBlock(t)||Fn(t)||Xn(t)},r=function(e,t,n,o){if(Nn(e)){var i=o(e,t,e.data);if(-1!==i)return R.some({container:e,offset:i})}return n().bind((function(e){return r(e.container,e.offset,n,o)}))};return{backwards:function(e,t,o,i){var a=Is(e,i,n);return r(e,t,(function(){return a.prev().map((function(e){return{container:e,offset:e.length}}))}),o).getOrNull()},forwards:function(e,t,o,i){var a=Is(e,i,n);return r(e,t,(function(){return a.next().map((function(e){return{container:e,offset:0}}))}),o).getOrNull()}}},Ls=Math.round,Vs=function(e){return e?{left:Ls(e.left),top:Ls(e.top),bottom:Ls(e.bottom),right:Ls(e.right),width:Ls(e.width),height:Ls(e.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0}},Us=function(e,t){return e=Vs(e),t||(e.left=e.left+e.width),e.right=e.left,e.width=0,e},Fs=function(e,t,n){return e>=0&&e<=Math.min(t.height,n.height)/2},Hs=function(e,t){var n=Math.min(t.height/2,e.height/2);return e.bottom-n<t.top||!(e.top>t.bottom)&&Fs(t.top-e.bottom,e,t)},Ws=function(e,t){return e.top>t.bottom||!(e.bottom<t.top)&&Fs(t.bottom-e.top,e,t)},Xs=function(e,t,n){return t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom},js=function(e){var t=e.startContainer,n=e.startOffset;return t.hasChildNodes()&&e.endOffset===n+1?t.childNodes[n]:null},qs=function(e,t){if(En(e)&&e.hasChildNodes()){var n=e.childNodes,r=function(e,t,n){return Math.min(Math.max(e,0),n)}(t,0,n.length-1);return n[r]}return e},Zs=new RegExp("[̀-ͯ҃-҇҈-҉֑-ֽֿׁ-ׂׄ-ׇׅؐ-ًؚ-ٰٟۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣣ-ंऺ़ु-ै्॑-ॗॢ-ॣঁ়াু-ৄ্ৗৢ-ৣਁ-ਂ਼ੁ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ં઼ુ-ૅે-ૈ્ૢ-ૣଁ଼ାିୁ-ୄ୍ୖୗୢ-ୣஂாீ்ௗఀా-ీె-ైొ-్ౕ-ౖౢ-ౣಁ಼ಿೂೆೌ-್ೕ-ೖೢ-ೣഁാു-ൄ്ൗൢ-ൣ්ාි-ුූෟัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-ཱ༹༙༵༷-ཾྀ-྄྆-྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္-်ွ-ှၘ-ၙၞ-ၠၱ-ၴႂႅ-ႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳ឴-឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧ-ᤨᤲ᤹-᤻ᨗ-ᨘᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽᪾ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀ-ᮁᮢ-ᮥᮨ-ᮩ᮫-ᮭ᯦ᯨ-ᯩᯭᯯ-ᯱᰬ-ᰳᰶ-᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸-᳹᷀-᷵᷼-᷿‌-‍⃐-⃜⃝-⃠⃡⃢-⃤⃥-⃰⳯-⵿⳱ⷠ-〪ⷿ-〭〮-゙〯-゚꙯꙰-꙲ꙴ-꙽ꚞ-ꚟ꛰-꛱ꠂ꠆ꠋꠥ-ꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꧥꨩ-ꨮꨱ-ꨲꨵ-ꨶꩃꩌꩼꪰꪲ-ꪴꪷ-ꪸꪾ-꪿꫁ꫬ-ꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-゙︯-゚]"),Ys=function(e){return"string"==typeof e&&e.charCodeAt(0)>=768&&Zs.test(e)},Gs=En,Ks=Io,Js=$n("display","block table"),el=$n("float","left right"),tl=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){for(var n=0;n<e.length;n++)if(!e[n](t))return!1;return!0}}(Gs,Ks,B(el)),nl=B($n("white-space","pre pre-line pre-wrap")),rl=Nn,ol=Fn,il=ss.nodeIndex,al=function(e,t){return t<0&&En(e)&&e.hasChildNodes()?void 0:qs(e,t)},sl=function(e){return"createRange"in e?e.createRange():ss.DOM.createRng()},ll=function(e){return e&&/[\r\n\t ]/.test(e)},cl=function(e){return!!e.setStart&&!!e.setEnd},ul=function(e){var t=e.startContainer,n=e.startOffset;if(ll(e.toString())&&nl(t.parentNode)&&Nn(t)){var r=t.data;if(ll(r[n-1])||ll(r[n+1]))return!0}return!1},dl=function(e){return 0===e.left&&0===e.right&&0===e.top&&0===e.bottom},fl=function(e){var t,n=e.getClientRects();return t=n.length>0?Vs(n[0]):Vs(e.getBoundingClientRect()),!cl(e)&&ol(e)&&dl(t)?function(e){var t=e.ownerDocument,n=sl(t),r=t.createTextNode(po),o=e.parentNode;o.insertBefore(r,e),n.setStart(r,0),n.setEnd(r,1);var i=Vs(n.getBoundingClientRect());return o.removeChild(r),i}(e):dl(t)&&cl(e)?function(e){var t=e.startContainer,n=e.endContainer,r=e.startOffset,o=e.endOffset;if(t===n&&Nn(n)&&0===r&&1===o){var i=e.cloneRange();return i.setEndAfter(n),fl(i)}return null}(e):t},hl=function(e,t){var n=Us(e,t);return n.width=1,n.right=n.left+1,n},pl=function(e,t,n){var r=function(){return n||(n=function(e){var t=[],n=function(e){var n,r;0!==e.height&&(t.length>0&&(n=e,r=t[t.length-1],n.left===r.left&&n.top===r.top&&n.bottom===r.bottom&&n.right===r.right)||t.push(e))},r=function(e,r){var o=sl(e.ownerDocument);if(r<e.data.length){if(Ys(e.data[r]))return t;if(Ys(e.data[r-1])&&(o.setStart(e,r),o.setEnd(e,r+1),!ul(o)))return n(hl(fl(o),!1)),t}r>0&&(o.setStart(e,r-1),o.setEnd(e,r),ul(o)||n(hl(fl(o),!1))),r<e.data.length&&(o.setStart(e,r),o.setEnd(e,r+1),ul(o)||n(hl(fl(o),!0)))},o=e.container(),i=e.offset();if(rl(o))return r(o,i),t;if(Gs(o))if(e.isAtEnd()){var a=al(o,i);rl(a)&&r(a,a.data.length),tl(a)&&!ol(a)&&n(hl(fl(a),!1))}else{if(a=al(o,i),rl(a)&&r(a,0),tl(a)&&e.isAtEnd())return n(hl(fl(a),!1)),t;var s=al(e.container(),e.offset()-1);tl(s)&&!ol(s)&&(Js(s)||Js(a)||!tl(a))&&n(hl(fl(s),!1)),tl(a)&&n(hl(fl(a),!0))}return t}(pl(e,t))),n};return{container:x(e),offset:x(t),toRange:function(){var n=sl(e.ownerDocument);return n.setStart(e,t),n.setEnd(e,t),n},getClientRects:r,isVisible:function(){return r().length>0},isAtStart:function(){return rl(e),0===t},isAtEnd:function(){return rl(e)?t>=e.data.length:t>=e.childNodes.length},isEqual:function(n){return n&&e===n.container()&&t===n.offset()},getNode:function(n){return al(e,n?t-1:t)}}};pl.fromRangeStart=function(e){return pl(e.startContainer,e.startOffset)},pl.fromRangeEnd=function(e){return pl(e.endContainer,e.endOffset)},pl.after=function(e){return pl(e.parentNode,il(e)+1)},pl.before=function(e){return pl(e.parentNode,il(e))},pl.isAbove=function(e,t){return Yn(ie(t.getClientRects()),ae(e.getClientRects()),Hs).getOr(!1)},pl.isBelow=function(e,t){return Yn(ae(t.getClientRects()),ie(e.getClientRects()),Ws).getOr(!1)},pl.isAtStart=function(e){return!!e&&e.isAtStart()},pl.isAtEnd=function(e){return!!e&&e.isAtEnd()},pl.isTextPosition=function(e){return!!e&&Nn(e.container())},pl.isElementPosition=function(e){return!1===pl.isTextPosition(e)};var ml,gl=function(e,t){Nn(t)&&0===t.data.length&&e.remove(t)},Al=function(e,t,n){Un(n)?function(e,t,n){var r=R.from(n.firstChild),o=R.from(n.lastChild);t.insertNode(n),r.each((function(t){return gl(e,t.previousSibling)})),o.each((function(t){return gl(e,t.nextSibling)}))}(e,t,n):function(e,t,n){t.insertNode(n),gl(e,n.previousSibling),gl(e,n.nextSibling)}(e,t,n)},vl=Nn,yl=zn,Ol=ss.nodeIndex,bl=function(e){var t=e.parentNode;return yl(t)?bl(t):t},wl=function(e){return e?Se(e.childNodes,(function(e,t){return yl(t)&&"BR"!==t.nodeName?e=e.concat(wl(t)):e.push(t),e}),[]):[]},_l=function(e){return function(t){return e===t}},xl=function(e){return(vl(e)?"text()":e.nodeName.toLowerCase())+"["+function(e){var t,n;t=wl(bl(e)),n=ke(t,_l(e),e),t=t.slice(0,n+1);var r=Se(t,(function(e,n,r){return vl(n)&&vl(t[r-1])&&e++,e}),0);return t=_e(t,Pn([e.nodeName])),(n=ke(t,_l(e),e))-r}(e)+"]"},Sl=function(e,t){var n,r,o,i,a,s=[];return n=t.container(),r=t.offset(),vl(n)?o=function(e,t){for(;(e=e.previousSibling)&&vl(e);)t+=e.data.length;return t}(n,r):(r>=(i=n.childNodes).length?(o="after",r=i.length-1):o="before",n=i[r]),s.push(xl(n)),a=function(e,t){var n=[];for(t=t.parentNode;t!==e;t=t.parentNode)n.push(t);return n}(e,n),a=_e(a,B(zn)),(s=s.concat(we(a,(function(e){return xl(e)})))).reverse().join("/")+","+o},kl=function(e,t){var n;if(!t)return null;var r=t.split(","),o=r[0].split("/");n=r.length>1?r[1]:"before";var i=Se(o,(function(e,t){var n=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(t);return n?("text()"===n[1]&&(n[1]="#text"),function(e,t,n){var r=wl(e);return r=_e(r,(function(e,t){return!vl(e)||!vl(r[t-1])})),(r=_e(r,Pn([t])))[n]}(e,n[1],parseInt(n[2],10))):null}),e);return i?vl(i)?function(e,t){for(var n,r=e,o=0;vl(r);){if(n=r.data.length,t>=o&&t<=o+n){e=r,t-=o;break}if(!vl(r.nextSibling)){e=r,t=n;break}o+=n,r=r.nextSibling}return vl(e)&&t>e.data.length&&(t=e.data.length),pl(e,t)}(i,parseInt(n,10)):(n="after"===n?Ol(i)+1:Ol(i),pl(i.parentNode,n)):null},Cl=Xn,Bl=function(e,t,n,r,o){var i,a=r[o?"startContainer":"endContainer"],s=r[o?"startOffset":"endOffset"],l=[],c=0,u=e.getRoot();for(Nn(a)?l.push(n?function(e,t,n){var r,o;for(o=e(t.data.slice(0,n)).length,r=t.previousSibling;r&&Nn(r);r=r.previousSibling)o+=e(r.data).length;return o}(t,a,s):s):(s>=(i=a.childNodes).length&&i.length&&(c=1,s=Math.max(0,i.length-1)),l.push(e.nodeIndex(i[s],n)+c));a&&a!==u;a=a.parentNode)l.push(e.nodeIndex(a,n));return l},Ql=function(e,t,n){var r=0;return Ct.each(e.select(t),(function(e){if("all"!==e.getAttribute("data-mce-bogus"))return e!==n&&void r++})),r},Tl=function(e,t){var n,r,o,i=t?"start":"end";n=e[i+"Container"],r=e[i+"Offset"],En(n)&&"TR"===n.nodeName&&(n=(o=n.childNodes)[Math.min(t?r:r-1,o.length-1)])&&(r=t?0:n.childNodes.length,e["set"+(t?"Start":"End")](n,r))},El=function(e){return Tl(e,!0),Tl(e,!1),e},Pl=function(e,t){var n;if(En(e)&&(e=qs(e,t),Cl(e)))return e;if(wo(e)){if(Nn(e)&&Oo(e)&&(e=e.parentNode),n=e.previousSibling,Cl(n))return n;if(n=e.nextSibling,Cl(n))return n}},$l=function(e,t,n){var r=n.getNode(),o=r?r.nodeName:null,i=n.getRng();if(Cl(r)||"IMG"===o)return{name:o,index:Ql(n.dom,o,r)};var a=function(e){return Pl(e.startContainer,e.startOffset)||Pl(e.endContainer,e.endOffset)}(i);return a?{name:o=a.tagName,index:Ql(n.dom,o,a)}:function(e,t,n,r){var o=t.dom,i={};return i.start=Bl(o,e,n,r,!0),t.isCollapsed()||(i.end=Bl(o,e,n,r,!1)),Qo(r)&&(i.isFakeCaret=!0),i}(e,n,t,i)},Ml=function(e,t,n){var r={"data-mce-type":"bookmark",id:t,style:"overflow:hidden;line-height:0px"};return n?e.create("span",r,"&#xFEFF;"):e.create("span",r)},zl=function(e,t){var n=e.dom,r=e.getRng(),o=n.uniqueId(),i=e.isCollapsed(),a=e.getNode(),s=a.nodeName;if("IMG"===s)return{name:s,index:Ql(n,s,a)};var l=El(r.cloneRange());if(!i){l.collapse(!1);var c=Ml(n,o+"_end",t);Al(n,l,c)}(r=El(r)).collapse(!0);var u=Ml(n,o+"_start",t);return Al(n,r,u),e.moveToBookmark({id:o,keep:!0}),{id:o}},Rl=C($l,S,!0),Dl=ss.DOM,Il=function(e,t,n){var r=e.getParam(t,n);if(-1!==r.indexOf("=")){var o=e.getParam(t,"","hash");return Ae(o,e.id).getOr(n)}return r},Nl=function(e){return e.getParam("content_security_policy","")},Ll=function(e){if(e.getParam("force_p_newlines",!1))return"p";var t=e.getParam("forced_root_block","p");return!1===t?"":!0===t?"p":t},Vl=function(e){return e.getParam("forced_root_block_attrs",{})},Ul=function(e){return e.getParam("automatic_uploads",!0,"boolean")},Fl=function(e){return e.getParam("images_reuse_filename",!1,"boolean")},Hl=function(e){return e.getParam("icons","","string")},Wl=function(e){return e.getParam("images_upload_url","","string")},Xl=function(e){return e.getParam("images_upload_base_path","","string")},jl=function(e){return e.getParam("images_upload_credentials",!1,"boolean")},ql=function(e){return e.getParam("images_upload_handler",null,"function")},Zl=function(e){return e.getParam("content_css_cors",!1,"boolean")},Yl=function(e){return e.getParam("referrer_policy","","string")},Gl=function(e){return e.getParam("language","en","string")},Kl=function(e){return e.getParam("indent_use_margin",!1)},Jl=function(e){var t=e.getParam("font_css",[]);return h(t)?t:F(t.split(","),Ie)},ec=function(e){var t=e.getParam("object_resizing");return!1!==t&&!wt.iOS&&(d(t)?t:"table,img,figure.image,div,video,iframe")},tc=function(e){return e.getParam("event_root")},nc=function(e){return e.getParam("theme")},rc=function(e){return e.getParam("validate")},oc=function(e){return!1!==e.getParam("inline_boundaries")},ic=function(e){return e.getParam("content_css_cors")},ac=function(e){return e.getParam("plugins","","string")},sc=En,lc=Nn,cc=function(e){var t=e.parentNode;t&&t.removeChild(e)},uc=function(e){var t=Ao(e);return{count:e.length-t.length,text:t}},dc=function(e){for(var t;-1!==(t=e.data.lastIndexOf(mo));)e.deleteData(t,1)},fc=function(e,t){return pc(e),t},hc=function(e,t){return pl.isTextPosition(t)?function(e,t){return lc(e)&&t.container()===e?function(e,t){var n=uc(e.data.substr(0,t.offset())),r=uc(e.data.substr(t.offset()));return(n.text+r.text).length>0?(dc(e),pl(e,t.offset()-n.count)):t}(e,t):fc(e,t)}(e,t):function(e,t){return t.container()===e.parentNode?function(e,t){var n=t.container(),r=function(e,t){var n=L(e,t);return-1===n?R.none():R.some(n)}(se(n.childNodes),e).map((function(e){return e<t.offset()?pl(n,t.offset()-1):t})).getOr(t);return pc(e),r}(e,t):fc(e,t)}(e,t)},pc=function(e){sc(e)&&wo(e)&&(_o(e)?e.removeAttribute("data-mce-caret"):cc(e)),lc(e)&&(dc(e),0===e.data.length&&cc(e))},mc=ht().browser,gc=Xn,Ac=qn,vc=jn,yc=function(e,t,n){var r,o,i=Us(t.getBoundingClientRect(),n);if("BODY"===e.tagName){var a=e.ownerDocument.documentElement;r=e.scrollLeft||a.scrollLeft,o=e.scrollTop||a.scrollTop}else{var s=e.getBoundingClientRect();r=e.scrollLeft-s.left,o=e.scrollTop-s.top}i.left+=r,i.right+=r,i.top+=o,i.bottom+=o,i.width=1;var l=t.offsetWidth-t.clientWidth;return l>0&&(n&&(l*=-1),i.left+=l,i.right+=l),i},Oc=function(e,t,n,r){var o,i,a=vs(),s=Ll(e),l=s.length>0?s:"p",c=function(){!function(e){for(var t=ks(Pt(e),"*[contentEditable=false],video,audio,embed,object"),n=0;n<t.length;n++){var r,o=t[n].dom,i=o.previousSibling;Co(i)&&(1===(r=i.data).length?i.parentNode.removeChild(i):i.deleteData(r.length-1,1)),i=o.nextSibling,ko(i)&&(1===(r=i.data).length?i.parentNode.removeChild(i):i.deleteData(0,1))}}(t),i&&(pc(i),i=null),a.on((function(e){es(e.caret).remove(),a.clear()})),o&&(Kr.clearInterval(o),o=void 0)};return{show:function(e,s){var u;if(c(),vc(s))return null;if(!n(s))return i=function(e,t){var n=e.ownerDocument.createTextNode(mo),r=e.parentNode;if(t){if(o=e.previousSibling,yo(o)){if(wo(o))return o;if(Co(o))return o.splitText(o.data.length-1)}r.insertBefore(n,e)}else{var o=e.nextSibling;if(yo(o)){if(wo(o))return o;if(ko(o))return o.splitText(1),o}e.nextSibling?r.insertBefore(n,e.nextSibling):r.appendChild(n)}return n}(s,e),u=s.ownerDocument.createRange(),wc(i.nextSibling)?(u.setStart(i,0),u.setEnd(i,0)):(u.setStart(i,1),u.setEnd(i,1)),u;i=function(e,t,n){var r,o=t.ownerDocument.createElement(e);o.setAttribute("data-mce-caret",n?"before":"after"),o.setAttribute("data-mce-bogus","all"),o.appendChild(((r=document.createElement("br")).setAttribute("data-mce-bogus","1"),r));var i=t.parentNode;return n?i.insertBefore(o,t):t.nextSibling?i.insertBefore(o,t.nextSibling):i.appendChild(o),o}(l,s,e);var d=yc(t,s,e);es(i).css("top",d.top);var f=es('<div class="mce-visual-caret" data-mce-bogus="all"></div>').css(Be({},d)).appendTo(t)[0];return a.set({caret:f,element:s,before:e}),e&&es(f).addClass("mce-visual-caret-before"),o=Kr.setInterval((function(){r()?es("div.mce-visual-caret",t).toggleClass("mce-visual-caret-hidden"):es("div.mce-visual-caret",t).addClass("mce-visual-caret-hidden")}),500),(u=s.ownerDocument.createRange()).setStart(i,0),u.setEnd(i,0),u},hide:c,getCss:function(){return".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}"},reposition:function(){a.on((function(e){var n=yc(t,e.element,e.before);es(e.caret).css(Be({},n))}))},destroy:function(){return Kr.clearInterval(o)}}},bc=function(){return mc.isIE()||mc.isEdge()||mc.isFirefox()},wc=function(e){return gc(e)||Ac(e)},_c=function(e){return wc(e)||Rn(e)&&bc()},xc=Xn,Sc=qn,kc=$n("display","block table table-cell table-caption list-item"),Cc=wo,Bc=Oo,Qc=En,Tc=Io,Ec=function(e){return e>0},Pc=function(e){return e<0},$c=function(e,t){for(var n;n=e(t);)if(!Bc(n))return n;return null},Mc=function(e,t,n,r,o){var i=new to(e,r),a=xc(e)||Bc(e);if(Pc(t)){if(a&&n(e=$c(i.prev.bind(i),!0)))return e;for(;e=$c(i.prev.bind(i),o);)if(n(e))return e}if(Ec(t)){if(a&&n(e=$c(i.next.bind(i),!0)))return e;for(;e=$c(i.next.bind(i),o);)if(n(e))return e}return null},zc=function(e,t){for(;e&&e!==t;){if(kc(e))return e;e=e.parentNode}return null},Rc=function(e,t,n){return zc(e.container(),n)===zc(t.container(),n)},Dc=function(e,t){if(!t)return null;var n=t.container(),r=t.offset();return Qc(n)?n.childNodes[r+e]:null},Ic=function(e,t){var n=t.ownerDocument.createRange();return e?(n.setStartBefore(t),n.setEndBefore(t)):(n.setStartAfter(t),n.setEndAfter(t)),n},Nc=function(e,t,n){return zc(t,e)===zc(n,e)},Lc=function(e,t,n){for(var r=e?"previousSibling":"nextSibling";n&&n!==t;){var o=n[r];if(Cc(o)&&(o=o[r]),xc(o)||Sc(o)){if(Nc(t,o,n))return o;break}if(Tc(o))break;n=n.parentNode}return null},Vc=C(Ic,!0),Uc=C(Ic,!1),Fc=function(e,t,n){var r,o=C(Lc,!0,t),i=C(Lc,!1,t),a=n.startContainer,s=n.startOffset;if(Oo(a)){Qc(a)||(a=a.parentNode);var l=a.getAttribute("data-mce-caret");if("before"===l&&(r=a.nextSibling,_c(r)))return Vc(r);if("after"===l&&(r=a.previousSibling,_c(r)))return Uc(r)}if(!n.collapsed)return n;if(Nn(a)){if(Cc(a)){if(1===e){if(r=i(a))return Vc(r);if(r=o(a))return Uc(r)}if(-1===e){if(r=o(a))return Uc(r);if(r=i(a))return Vc(r)}return n}if(Co(a)&&s>=a.data.length-1)return 1===e&&(r=i(a))?Vc(r):n;if(ko(a)&&s<=1)return-1===e&&(r=o(a))?Uc(r):n;if(s===a.data.length)return(r=i(a))?Vc(r):n;if(0===s)return(r=o(a))?Uc(r):n}return n},Hc=function(e,t){return R.from(Dc(e?0:-1,t)).filter(xc)},Wc=function(e,t,n){var r=Fc(e,t,n);return-1===e?pl.fromRangeStart(r):pl.fromRangeEnd(r)},Xc=function(e){return R.from(e.getNode()).map(Pt)},jc=function(e,t){for(;t=e(t);)if(t.isVisible())return t;return t},qc=function(e,t){var n=Rc(e,t);return!(n||!Fn(e.getNode()))||n};!function(e){e[e.Backwards=-1]="Backwards",e[e.Forwards=1]="Forwards"}(ml||(ml={}));var Zc,Yc,Gc,Kc=Xn,Jc=Nn,eu=En,tu=Fn,nu=Io,ru=function(e){return zo(e)||function(e){return!!No(e)&&!0!==Z(se(e.getElementsByTagName("*")),(function(e,t){return e||To(t)}),!1)}(e)},ou=Lo,iu=function(e,t){return e.hasChildNodes()&&t<e.childNodes.length?e.childNodes[t]:null},au=function(e,t){if(Ec(e)){if(nu(t.previousSibling)&&!Jc(t.previousSibling))return pl.before(t);if(Jc(t))return pl(t,0)}if(Pc(e)){if(nu(t.nextSibling)&&!Jc(t.nextSibling))return pl.after(t);if(Jc(t))return pl(t,t.data.length)}return Pc(e)?tu(t)?pl.before(t):pl.after(t):pl.before(t)},su=function(e,t,n){var r,o,i,a;if(!eu(n)||!t)return null;if(t.isEqual(pl.after(n))&&n.lastChild){if(a=pl.after(n.lastChild),Pc(e)&&nu(n.lastChild)&&eu(n.lastChild))return tu(n.lastChild)?pl.before(n.lastChild):a}else a=t;var s=a.container(),l=a.offset();if(Jc(s)){if(Pc(e)&&l>0)return pl(s,--l);if(Ec(e)&&l<s.length)return pl(s,++l);r=s}else{if(Pc(e)&&l>0&&(o=iu(s,l-1),nu(o)))return!ru(o)&&(i=Mc(o,e,ou,o))?Jc(i)?pl(i,i.data.length):pl.after(i):Jc(o)?pl(o,o.data.length):pl.before(o);if(Ec(e)&&l<s.childNodes.length&&(o=iu(s,l),nu(o)))return tu(o)?function(e,t){var n=t.nextSibling;return n&&nu(n)?Jc(n)?pl(n,0):pl.before(n):su(ml.Forwards,pl.after(t),e)}(n,o):!ru(o)&&(i=Mc(o,e,ou,o))?Jc(i)?pl(i,0):pl.before(i):Jc(o)?pl(o,0):pl.after(o);r=o||a.getNode()}if((Ec(e)&&a.isAtEnd()||Pc(e)&&a.isAtStart())&&(r=Mc(r,e,P,n,!0),ou(r,n)))return au(e,r);o=Mc(r,e,ou,n);var c=Ce(j(function(e,t){for(var n=[];e&&e!==t;)n.push(e),e=e.parentNode;return n}(s,n),Kc));return!c||o&&c.contains(o)?o?au(e,o):null:a=Ec(e)?pl.after(c):pl.before(c)},lu=function(e){return{next:function(t){return su(ml.Forwards,t,e)},prev:function(t){return su(ml.Backwards,t,e)}}},cu=function(e){return pl.isTextPosition(e)?0===e.offset():Io(e.getNode())},uu=function(e){if(pl.isTextPosition(e)){var t=e.container();return e.offset()===t.data.length}return Io(e.getNode(!0))},du=function(e,t){return!pl.isTextPosition(e)&&!pl.isTextPosition(t)&&e.getNode()===t.getNode(!0)},fu=function(e,t,n){var r=lu(t);return R.from(e?r.next(n):r.prev(n))},hu=function(e,t,n){return fu(e,t,n).bind((function(r){return Rc(n,r,t)&&function(e,t,n){return e?!du(t,n)&&(r=t,!(!pl.isTextPosition(r)&&Fn(r.getNode())))&&uu(t)&&cu(n):!du(n,t)&&cu(t)&&uu(n);var r}(e,n,r)?fu(e,t,r):R.some(r)}))},pu=function(e,t,n,r){return hu(e,t,n).bind((function(n){return r(n)?pu(e,t,n,r):R.some(n)}))},mu=function(e,t){var n,r=e?t.firstChild:t.lastChild;return Nn(r)?R.some(pl(r,e?0:r.data.length)):r?Io(r)?R.some(e?pl.before(r):Fn(n=r)?pl.before(n):pl.after(n)):function(e,t,n){var r=e?pl.before(n):pl.after(n);return fu(e,t,r)}(e,t,r):R.none()},gu=C(fu,!0),Au=C(fu,!1),vu=C(mu,!0),yu=C(mu,!1),Ou="_mce_caret",bu=function(e){return En(e)&&e.id===Ou},wu=function(e,t){for(;t&&t!==e;){if(t.id===Ou)return t;t=t.parentNode}return null},_u=function(e){return Ct.isArray(e.start)},xu=function(e,t){return En(t)&&e.isBlock(t)&&!t.innerHTML&&!wt.ie&&(t.innerHTML='<br data-mce-bogus="1" />'),t},Su=function(e,t){return yu(e).fold(E,(function(e){return t.setStart(e.container(),e.offset()),t.setEnd(e.container(),e.offset()),!0}))},ku=function(e,t,n){return!(!function(e){return!1===e.hasChildNodes()}(t)||!wu(e,t)||(function(e,t){var n=e.ownerDocument.createTextNode(mo);e.appendChild(n),t.setStart(n,0),t.setEnd(n,0)}(t,n),0))},Cu=function(e,t,n,r){var o,i,a,s,l=n[t?"start":"end"],c=e.getRoot();if(l){for(a=l[0],i=c,o=l.length-1;o>=1;o--){if(s=i.childNodes,ku(c,i,r))return!0;if(l[o]>s.length-1)return!!ku(c,i,r)||Su(i,r);i=s[l[o]]}3===i.nodeType&&(a=Math.min(l[0],i.nodeValue.length)),1===i.nodeType&&(a=Math.min(l[0],i.childNodes.length)),t?r.setStart(i,a):r.setEnd(i,a)}return!0},Bu=function(e){return Nn(e)&&e.data.length>0},Qu=function(e,t,n){var r,o,i,a,s,l,c=e.get(n.id+"_"+t),u=n.keep;if(c){if(r=c.parentNode,"start"===t?(u?c.hasChildNodes()?(r=c.firstChild,o=1):Bu(c.nextSibling)?(r=c.nextSibling,o=0):Bu(c.previousSibling)?(r=c.previousSibling,o=c.previousSibling.data.length):(r=c.parentNode,o=e.nodeIndex(c)+1):o=e.nodeIndex(c),s=r,l=o):(u?c.hasChildNodes()?(r=c.firstChild,o=1):Bu(c.previousSibling)?(r=c.previousSibling,o=c.previousSibling.data.length):(r=c.parentNode,o=e.nodeIndex(c)):o=e.nodeIndex(c),s=r,l=o),!u){for(a=c.previousSibling,i=c.nextSibling,Ct.each(Ct.grep(c.childNodes),(function(e){Nn(e)&&(e.nodeValue=e.nodeValue.replace(/\uFEFF/g,""))}));c=e.get(n.id+"_"+t);)e.remove(c,!0);a&&i&&a.nodeType===i.nodeType&&Nn(a)&&!wt.opera&&(o=a.nodeValue.length,a.appendData(i.nodeValue),e.remove(i),s=a,l=o)}return R.some(pl(s,l))}return R.none()},Tu=function(e,t,n){return function(e,t,n){return 2===t?$l(Ao,n,e):3===t?function(e){var t=e.getRng();return{start:Sl(e.dom.getRoot(),pl.fromRangeStart(t)),end:Sl(e.dom.getRoot(),pl.fromRangeEnd(t))}}(e):t?function(e){return{rng:e.getRng()}}(e):zl(e,!1)}(e,t,n)},Eu=function(e,t){(function(e,t){var n=e.dom;if(t){if(_u(t))return function(e,t){var n=e.createRng();return Cu(e,!0,t,n)&&Cu(e,!1,t,n)?R.some(n):R.none()}(n,t);if(function(e){return d(e.start)}(t))return R.some(function(e,t){var n,r=e.createRng();return n=kl(e.getRoot(),t.start),r.setStart(n.container(),n.offset()),n=kl(e.getRoot(),t.end),r.setEnd(n.container(),n.offset()),r}(n,t));if(function(e){return ve(e,"id")}(t))return function(e,t){var n=Qu(e,"start",t),r=Qu(e,"end",t);return Yn(n,r.or(n),(function(t,n){var r=e.createRng();return r.setStart(xu(e,t.container()),t.offset()),r.setEnd(xu(e,n.container()),n.offset()),r}))}(n,t);if(function(e){return ve(e,"name")}(t))return function(e,t){return R.from(e.select(t.name)[t.index]).map((function(t){var n=e.createRng();return n.selectNode(t),n}))}(n,t);if(function(e){return ve(e,"rng")}(t))return R.some(t.rng)}return R.none()})(e,t).each((function(t){e.setRng(t)}))},Pu=function(e){return En(e)&&"SPAN"===e.tagName&&"bookmark"===e.getAttribute("data-mce-type")},$u=(Zc=po,function(e){return Zc===e}),Mu=function(e){return""!==e&&-1!==" \f\n\r\t\v".indexOf(e)},zu=function(e){return!Mu(e)&&!$u(e)},Ru=function(e){return!!e.nodeType},Du=function(e,t,n){var r=n.startOffset,o=n.startContainer;if((o!==n.endContainer||!function(e){return e&&/^(IMG)$/.test(e.nodeName)}(o.childNodes[r]))&&En(o)){var i=o.childNodes,a=void 0;r<i.length?(o=i[r],a=new to(o,e.getParent(o,e.isBlock))):(o=i[i.length-1],(a=new to(o,e.getParent(o,e.isBlock))).next(!0));for(var s=a.current();s;s=a.next())if(Nn(s)&&!Vu(s))return n.setStart(s,0),void t.setRng(n)}},Iu=function(e,t,n){if(e){var r=t?"nextSibling":"previousSibling";for(e=n?e:e[r];e;e=e[r])if(En(e)||!Vu(e))return e}},Nu=function(e,t){return Ru(t)&&(t=t.nodeName),!!e.schema.getTextBlockElements()[t.toLowerCase()]},Lu=function(e,t,n){return e.schema.isValidChild(t,n)},Vu=function(e,t){if(void 0===t&&(t=!1),v(e)&&Nn(e)){var n=t?e.data.replace(/ /g," "):e.data;return Uo(n)}return!1},Uu=function(e,t){return y(e)?e=e(t):v(t)&&(e=e.replace(/%(\w+)/g,(function(e,n){return t[n]||e}))),e},Fu=function(e,t){return t=t||"",e=""+((e=e||"").nodeName||e),t=""+(t.nodeName||t),e.toLowerCase()===t.toLowerCase()},Hu=function(e,t,n){return"color"!==n&&"backgroundColor"!==n||(t=e.toHex(t)),"fontWeight"===n&&700===t&&(t="bold"),"fontFamily"===n&&(t=t.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),""+t},Wu=function(e,t,n){return Hu(e,e.getStyle(t,n),n)},Xu=function(e,t){var n;return e.getParent(t,(function(t){return(n=e.getStyle(t,"text-decoration"))&&"none"!==n})),n},ju=function(e,t,n){return e.getParents(t,n,e.getRoot())},qu=function(e){return ye(e,"block")},Zu=function(e){return ye(e,"selector")},Yu=function(e){return ye(e,"inline")},Gu=function(e){return Zu(e)&&!1!==e.expand&&!Yu(e)},Ku=Pu,Ju=ju,ed=Vu,td=Nu,nd=function(e,t){for(var n=t;n;){if(En(n)&&e.getContentEditable(n))return"false"===e.getContentEditable(n)?n:t;n=n.parentNode}return t},rd=function(e,t,n,r){for(var o=t.data,i=n;e?i>=0:i<o.length;e?i--:i++)if(r(o.charAt(i)))return e?i+1:i;return-1},od=function(e,t,n){return rd(e,t,n,(function(e){return $u(e)||Mu(e)}))},id=function(e,t,n){return rd(e,t,n,zu)},ad=function(e,t,n,r,o,i){var a,s=e.getParent(n,e.isBlock)||t,l=function(t,n,r){var i=Ns(e),l=o?i.backwards:i.forwards;return R.from(l(t,n,(function(e,t){return Ku(e.parentNode)?-1:(a=e,r(o,e,t))}),s))};return l(n,r,od).bind((function(e){return i?l(e.container,e.offset+(o?-1:0),id):R.some(e)})).orThunk((function(){return a?R.some({container:a,offset:o?0:a.length}):R.none()}))},sd=function(e,t,n,r,o){Nn(r)&&Ue(r.data)&&r[o]&&(r=r[o]);for(var i=Ju(e,r),a=0;a<i.length;a++)for(var s=0;s<t.length;s++){var l=t[s];if((!v(l.collapsed)||l.collapsed===n.collapsed)&&Zu(l)&&e.is(i[a],l.selector))return i[a]}return r},ld=function(e,t,n,r){var o=n,i=e.dom,a=i.getRoot(),s=t[0];if(qu(s)&&(o=s.wrapper?null:i.getParent(n,s.block,a)),!o){var l=i.getParent(n,"LI,TD,TH");o=i.getParent(Nn(n)?n.parentNode:n,(function(t){return t!==a&&td(e,t)}),l)}if(o&&qu(s)&&s.wrapper&&(o=Ju(i,o,"ul,ol").reverse()[0]||o),!o)for(o=n;o[r]&&!i.isBlock(o[r])&&(o=o[r],!Fu(o,"br")););return o||n},cd=function(e,t,n,r){var o=n.parentNode;return!v(n[r])&&(!(o!==t&&!A(o)&&!e.isBlock(o))||cd(e,t,o,r))},ud=function(e,t,n,r,o){var i,a=n,s=o?"previousSibling":"nextSibling",l=e.getRoot();if(Nn(n)&&!ed(n)&&(o?r>0:r<n.data.length))return n;for(;;){if(!t[0].block_expand&&e.isBlock(a))return a;for(var c=a[s];c;c=c[s]){var u=Nn(c)&&!cd(e,l,c,s);if(!Ku(c)&&(!Fn(i=c)||!i.getAttribute("data-mce-bogus")||i.nextSibling)&&!ed(c,u))return a}if(a===l||a.parentNode===l){n=a;break}a=a.parentNode}return n},dd=function(e){return Ku(e.parentNode)||Ku(e)},fd=function(e,t,n,r){void 0===r&&(r=!1);var o=t.startContainer,i=t.startOffset,a=t.endContainer,s=t.endOffset,l=e.dom,c=n[0];return En(o)&&o.hasChildNodes()&&(o=qs(o,i),Nn(o)&&(i=0)),En(a)&&a.hasChildNodes()&&(a=qs(a,t.collapsed?s:s-1),Nn(a)&&(s=a.nodeValue.length)),o=nd(l,o),a=nd(l,a),dd(o)&&(o=Ku(o)?o:o.parentNode,o=t.collapsed?o.previousSibling||o:o.nextSibling||o,Nn(o)&&(i=t.collapsed?o.length:0)),dd(a)&&(a=Ku(a)?a:a.parentNode,a=t.collapsed?a.nextSibling||a:a.previousSibling||a,Nn(a)&&(s=t.collapsed?0:a.length)),t.collapsed&&(ad(l,e.getBody(),o,i,!0,r).each((function(e){var t=e.container,n=e.offset;o=t,i=n})),ad(l,e.getBody(),a,s,!1,r).each((function(e){var t=e.container,n=e.offset;a=t,s=n}))),(Yu(c)||c.block_expand)&&(Yu(c)&&Nn(o)&&0!==i||(o=ud(l,n,o,i,!0)),Yu(c)&&Nn(a)&&s!==a.nodeValue.length||(a=ud(l,n,a,s,!1))),Gu(c)&&(o=sd(l,n,t,o,"previousSibling"),a=sd(l,n,t,a,"nextSibling")),(qu(c)||Zu(c))&&(o=ld(e,n,o,"previousSibling"),a=ld(e,n,a,"nextSibling"),qu(c)&&(l.isBlock(o)||(o=ud(l,n,o,i,!0)),l.isBlock(a)||(a=ud(l,n,a,s,!1)))),En(o)&&(i=l.nodeIndex(o),o=o.parentNode),En(a)&&(s=l.nodeIndex(a)+1,a=a.parentNode),{startContainer:o,startOffset:i,endContainer:a,endOffset:s}},hd=function(e,t,n){var r=t.startOffset,o=qs(t.startContainer,r),i=t.endOffset,a=qs(t.endContainer,i-1),s=function(e){var t=e[0];Nn(t)&&t===o&&r>=t.data.length&&e.splice(0,1);var n=e[e.length-1];return 0===i&&e.length>0&&n===a&&Nn(n)&&e.splice(e.length-1,1),e},l=function(e,t,n){for(var r=[];e&&e!==n;e=e[t])r.push(e);return r},c=function(t,n){return e.getParent(t,(function(e){return e.parentNode===n}),n)},u=function(e,t,r){for(var o=r?"nextSibling":"previousSibling",i=e,a=i.parentNode;i&&i!==t;i=a){a=i.parentNode;var c=l(i===e?i:i[o],o);c.length&&(r||c.reverse(),n(s(c)))}};if(o===a)return n(s([o]));var d=e.findCommonAncestor(o,a);if(e.isChildOf(o,a))return u(o,d,!0);if(e.isChildOf(a,o))return u(a,d);var f=c(o,d)||o,h=c(a,d)||a;u(o,f,!0);var p=l(f===o?f:f.nextSibling,"nextSibling",h===a?h.nextSibling:h);p.length&&n(s(p)),u(a,h)},pd=function(e){var t=[];if(e)for(var n=0;n<e.rangeCount;n++)t.push(e.getRangeAt(n));return t},md=function(e,t){var n=ks(t,"td[data-mce-selected],th[data-mce-selected]");return n.length>0?n:function(e){return j(function(e){return J(e,(function(e){var t=js(e);return t?[Pt(t)]:[]}))}(e),fo)}(e)},gd=function(e){return md(pd(e.selection.getSel()),Pt(e.getBody()))},Ad=function(e,t){return Wr(e,"table",t)},vd=function(e){return tn(e).fold(x([e]),(function(t){return[e].concat(vd(t))}))},yd=function(e){return nn(e).fold(x([e]),(function(t){return"br"===It(t)?Zt(t).map((function(t){return[e].concat(yd(t))})).getOr([]):[e].concat(yd(t))}))},Od=function(e,t){return Yn(function(e){var t=e.startContainer,n=e.startOffset;return Nn(t)?0===n?R.some(Pt(t)):R.none():R.from(t.childNodes[n]).map(Pt)}(t),function(e){var t=e.endContainer,n=e.endOffset;return Nn(t)?n===t.data.length?R.some(Pt(t)):R.none():R.from(t.childNodes[n-1]).map(Pt)}(t),(function(t,n){var r=G(vd(e),C(Rt,t)),o=G(yd(e),C(Rt,n));return r.isSome()&&o.isSome()})).getOr(!1)},bd=function(e,t,n,r){var o=n,i=new to(n,o),a=ge(e.schema.getMoveCaretBeforeOnEnterElements(),(function(e,t){return!V(["td","th","table"],t.toLowerCase())}));do{if(Nn(n)&&0!==Ct.trim(n.nodeValue).length)return void(r?t.setStart(n,0):t.setEnd(n,n.nodeValue.length));if(a[n.nodeName])return void(r?t.setStartBefore(n):"BR"===n.nodeName?t.setEndBefore(n):t.setEndAfter(n))}while(n=r?i.next():i.prev());"BODY"===o.nodeName&&(r?t.setStart(o,0):t.setEnd(o,o.childNodes.length))},wd=function(e){var t=e.selection.getSel();return t&&t.rangeCount>0},_d=function(e,t){var n=gd(e);n.length>0?H(n,(function(n){var r=n.dom,o=e.dom.createRng();o.setStartBefore(r),o.setEndAfter(r),t(o,!0)})):t(e.selection.getRng(),!1)},xd=function(e,t,n){var r=zl(e,t);n(r),e.moveToBookmark(r)},Sd=(Yc=Ut,{get:function(e){if(!Yc(e))throw new Error("Can only get text value of a text node");return Gc(e).getOr("")},getOption:Gc=function(e){return Yc(e)?R.from(e.dom.nodeValue):R.none()},set:function(e,t){if(!Yc(e))throw new Error("Can only set raw text value of a text node");e.dom.nodeValue=t}}),kd=function(e){return Sd.get(e)},Cd=function(e,t,n,r){var o=t.uid,i=void 0===o?$s("mce-annotation"):o,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["uid"]),s=Tt("span",e);_s(s,Cs()),Jn(s,""+Qs(),i),Jn(s,""+Bs(),n);var l=r(i,a),c=l.attributes,u=void 0===c?{}:c,d=l.classes,f=void 0===d?[]:d;return er(s,u),function(e,t){H(t,(function(t){_s(e,t)}))}(s,f),s},Bd=function(e,t,n,r,o){var i=[],a=Cd(e.getDoc(),o,n,r),s=vs(),l=function(){s.clear()},c=function(e){H(e,u)},u=function(t){switch(function(e,t,n,r){return qt(t).fold((function(){return"skipping"}),(function(o){return"br"===r||function(e){return Ut(e)&&kd(e)===mo}(t)?"valid":function(e){return Vt(e)&&xs(e,Cs())}(t)?"existing":bu(t.dom)?"caret":Lu(e,n,r)&&Lu(e,It(o),n)?"valid":"invalid-child"}))}(e,t,"span",It(t))){case"invalid-child":l();var n=Jt(t);c(n),l();break;case"valid":!function(e,t){dn(e,t),pn(t,e)}(t,s.get().getOrThunk((function(){var e=Rs(a);return i.push(e),s.set(e),e})))}};return hd(e.dom,t,(function(e){l(),function(e){var t=F(e,Pt);c(t)}(e)})),i},Qd=function(e){var t,n=(t={},{register:function(e,n){t[e]={name:e,settings:n}},lookup:function(e){return Ae(t,e).map((function(e){return e.settings}))}});!function(e,t){e.on("init",(function(){e.serializer.addNodeFilter("span",(function(e){H(e,(function(e){(function(e){return R.from(e.attr(Bs())).bind(t.lookup)})(e).each((function(t){!1===t.persistent&&e.unwrap()}))}))}))}))}(e,n);var r=function(e){var t=fs({}),n=function(){return{listeners:[],previous:vs()}},r=function(e,t){o(e,(function(e){return t(e),e}))},o=function(e,r){var o=t.get(),i=r(Ae(o,e).getOrThunk(n));o[e]=i,t.set(o)},i=Os((function(){var n=t.get(),i=re(ce(n));H(i,(function(t){o(t,(function(n){var o=n.previous.get();return Ts(e,R.some(t)).fold((function(){o.isSome()&&(function(e){r(e,(function(t){H(t.listeners,(function(t){return t(!1,e)}))}))}(t),n.previous.clear())}),(function(e){var t=e.uid,i=e.name,a=e.elements;Zn(o,t)||(function(e,t,n){r(e,(function(r){H(r.listeners,(function(r){return r(!0,e,{uid:t,nodes:F(n,(function(e){return e.dom}))})}))}))}(i,t,a),n.previous.set(t))})),{previous:n.previous,listeners:n.listeners}}))}))}),30);return e.on("remove",(function(){i.cancel()})),e.on("NodeChange",(function(){i.throttle()})),{addListener:function(e,t){o(e,(function(e){return{previous:e.previous,listeners:e.listeners.concat([t])}}))}}}(e);return{register:function(e,t){n.register(e,t)},annotate:function(t,r){n.lookup(t).each((function(n){!function(e,t,n,r){e.undoManager.transact((function(){var o=e.selection,i=o.getRng(),a=gd(e).length>0;if(i.collapsed&&!a&&function(e,t){var n=fd(e,t,[{inline:"span"}]);t.setStart(n.startContainer,n.startOffset),t.setEnd(n.endContainer,n.endOffset),e.selection.setRng(t)}(e,i),o.getRng().collapsed&&!a){var s=Cd(e.getDoc(),r,t,n.decorate);Ms(s,po),o.getRng().insertNode(s.dom),o.select(s.dom)}else xd(o,!1,(function(){_d(e,(function(o){Bd(e,o,t,n.decorate,r)}))}))}))}(e,t,n,r)}))},annotationChanged:function(e,t){r.addListener(e,t)},remove:function(t){Ts(e,R.some(t)).each((function(e){var t=e.elements;H(t,vn)}))},getAll:function(t){var n=function(e,t){var n=Pt(e.getBody()),r=ks(n,"["+Bs()+'="'+t+'"]'),o={};return H(r,(function(e){var t=tr(e,Qs()),n=Ae(o,t).getOr([]);o[t]=n.concat([e])})),o}(e,t);return fe(n,(function(e){return F(e,(function(e){return e.dom}))}))}}},Td=function(e){return{getBookmark:C(Tu,e),moveToBookmark:C(Eu,e)}};Td.isBookmarkNode=Pu;var Ed=function(e,t){for(;t&&t!==e;){if(Wn(t)||Xn(t))return t;t=t.parentNode}return null},Pd=function(e,t,n){if(n.collapsed)return!1;if(wt.browser.isIE()&&n.startOffset===n.endOffset-1&&n.startContainer===n.endContainer){var r=n.startContainer.childNodes[n.startOffset];if(En(r))return U(r.getClientRects(),(function(n){return Xs(n,e,t)}))}return U(n.getClientRects(),(function(n){return Xs(n,e,t)}))},$d=function(e,t,n){return e.fire(t,n)},Md=function(e,t,n,r){return e.fire("FormatApply",{format:t,node:n,vars:r})},zd=function(e,t,n,r){return e.fire("FormatRemove",{format:t,node:n,vars:r})},Rd={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,ESC:27,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,modifierPressed:function(e){return e.shiftKey||e.ctrlKey||e.altKey||Rd.metaKeyPressed(e)},metaKeyPressed:function(e){return wt.mac?e.metaKey:e.ctrlKey&&!e.altKey}},Dd=Xn,Id=function(e,t){var n,r,o,i,a,s,l,c,u,d,f,h,p,m,g,A="data-mce-selected",y=t.dom,O=Ct.each,b=t.getDoc(),w=document,_=Math.abs,x=Math.round,S=t.getBody(),k={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]},C=function(e){return e&&("IMG"===e.nodeName||t.dom.is(e,"figure.image"))},B=function(e){return qn(e)||y.hasClass(e,"mce-preview-object")},Q=function(e){var n=e.target;(function(e,t){if("longpress"===e.type||0===e.type.indexOf("touch")){var n=e.touches[0];return C(e.target)&&!Pd(n.clientX,n.clientY,t)}return C(e.target)&&!Pd(e.clientX,e.clientY,t)})(e,t.selection.getRng())&&!e.isDefaultPrevented()&&t.selection.select(n)},T=function(e){return y.is(e,"figure.image")?[e.querySelector("img")]:y.hasClass(e,"mce-preview-object")&&v(e.firstElementChild)?[e,e.firstElementChild]:[e]},E=function(e){var n=ec(t);return!!n&&"false"!==e.getAttribute("data-mce-resize")&&e!==t.getBody()&&(y.hasClass(e,"mce-preview-object")?Mt(Pt(e.firstElementChild),n):Mt(Pt(e),n))},P=function(e,n,r){if(v(r)){var o=T(e);H(o,(function(e){e.style[n]||!t.schema.isValid(e.nodeName.toLowerCase(),n)?y.setStyle(e,n,r):y.setAttrib(e,n,""+r)}))}},$=function(e,t,n){P(e,"width",t),P(e,"height",n)},M=function(e){var a,A,v,O,b;a=e.screenX-s,A=e.screenY-l,h=a*i[2]+c,p=A*i[3]+u,h=h<5?5:h,p=p<5?5:p,v=(C(n)||B(n))&&!1!==function(e){return e.getParam("resize_img_proportional",!0,"boolean")}(t)?!Rd.modifierPressed(e):Rd.modifierPressed(e),v&&(_(a)>_(A)?(p=x(h*d),h=x(p/d)):(h=x(p/d),p=x(h*d))),$(r,h,p),O=(O=i.startPos.x+a)>0?O:0,b=(b=i.startPos.y+A)>0?b:0,y.setStyles(o,{left:O,top:b,display:"block"}),o.innerHTML=h+" &times; "+p,i[2]<0&&r.clientWidth<=h&&y.setStyle(r,"left",void 0+(c-h)),i[3]<0&&r.clientHeight<=p&&y.setStyle(r,"top",void 0+(u-p)),(a=S.scrollWidth-m)+(A=S.scrollHeight-g)!=0&&y.setStyles(o,{left:O-a,top:b-A}),f||(function(e,t,n,r,o){e.fire("ObjectResizeStart",{target:t,width:n,height:r,origin:o})}(t,n,c,u,"corner-"+i.name),f=!0)},z=function(){var e=f;f=!1,e&&(P(n,"width",h),P(n,"height",p)),y.unbind(b,"mousemove",M),y.unbind(b,"mouseup",z),w!==b&&(y.unbind(w,"mousemove",M),y.unbind(w,"mouseup",z)),y.remove(r),y.remove(o),y.remove(a),R(n),e&&(function(e,t,n,r,o){e.fire("ObjectResized",{target:t,width:n,height:r,origin:o})}(t,n,h,p,"corner-"+i.name),y.setAttrib(n,"style",y.getAttrib(n,"style"))),t.nodeChanged()},R=function(e){L();var f=y.getPos(e,S),v=f.x,_=f.y,x=e.getBoundingClientRect(),C=x.width||x.right-x.left,Q=x.height||x.bottom-x.top;n!==e&&(D(),n=e,h=p=0);var P=t.fire("ObjectSelected",{target:e}),R=y.getAttrib(n,A,"1");E(e)&&!P.isDefaultPrevented()?O(k,(function(e,t){var f;(f=y.get("mceResizeHandle"+t))&&y.remove(f),f=y.add(S,"div",{id:"mceResizeHandle"+t,"data-mce-bogus":"all",class:"mce-resizehandle",unselectable:!0,style:"cursor:"+t+"-resize; margin:0; padding:0"}),11===wt.ie&&(f.contentEditable=!1),y.bind(f,"mousedown",(function(f){f.stopImmediatePropagation(),f.preventDefault(),function(f){var h,p=T(n)[0];s=f.screenX,l=f.screenY,c=p.clientWidth,u=p.clientHeight,d=u/c,(i=e).name=t,i.startPos={x:C*e[0]+v,y:Q*e[1]+_},m=S.scrollWidth,g=S.scrollHeight,a=y.add(S,"div",{class:"mce-resize-backdrop","data-mce-bogus":"all"}),y.setStyles(a,{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"}),r=B(h=n)?y.create("img",{src:wt.transparentSrc}):h.cloneNode(!0),y.addClass(r,"mce-clonedresizable"),y.setAttrib(r,"data-mce-bogus","all"),r.contentEditable="false",y.setStyles(r,{left:v,top:_,margin:0}),$(r,C,Q),r.removeAttribute(A),S.appendChild(r),y.bind(b,"mousemove",M),y.bind(b,"mouseup",z),w!==b&&(y.bind(w,"mousemove",M),y.bind(w,"mouseup",z)),o=y.add(S,"div",{class:"mce-resize-helper","data-mce-bogus":"all"},c+" &times; "+u)}(f)})),e.elm=f,y.setStyles(f,{left:C*e[0]+v-f.offsetWidth/2,top:Q*e[1]+_-f.offsetHeight/2})})):D(),y.getAttrib(n,A)||n.setAttribute(A,R)},D=function(){L(),n&&n.removeAttribute(A),de(k,(function(e,t){var n=y.get("mceResizeHandle"+t);n&&(y.unbind(n),y.remove(n))}))},I=function(n){var r,o=function(e,t){if(e)do{if(e===t)return!0}while(e=e.parentNode)};f||t.removed||(O(y.select("img[data-mce-selected],hr[data-mce-selected]"),(function(e){e.removeAttribute(A)})),r="mousedown"===n.type?n.target:e.getNode(),o(r=y.$(r).closest("table,img,figure.image,hr,video,span.mce-preview-object")[0],S)&&(V(),o(e.getStart(!0),r)&&o(e.getEnd(!0),r))?R(r):D())},N=function(e){return Dd(Ed(t.getBody(),e))},L=function(){de(k,(function(e){e.elm&&(y.unbind(e.elm),delete e.elm)}))},V=function(){try{t.getDoc().execCommand("enableObjectResizing",!1,"false")}catch(e){}};return t.on("init",(function(){if(V(),wt.browser.isIE()||wt.browser.isEdge()){t.on("mousedown click",(function(e){var n=e.target,r=n.nodeName;f||!/^(TABLE|IMG|HR)$/.test(r)||N(n)||(2!==e.button&&t.selection.select(n,"TABLE"===r),"mousedown"===e.type&&t.nodeChanged())}));var e=function(e){var n=function(e){Kr.setEditorTimeout(t,(function(){return t.selection.select(e)}))};if(N(e.target)||qn(e.target))return e.preventDefault(),void n(e.target);/^(TABLE|IMG|HR)$/.test(e.target.nodeName)&&(e.preventDefault(),"IMG"===e.target.tagName&&n(e.target))};y.bind(S,"mscontrolselect",e),t.on("remove",(function(){return y.unbind(S,"mscontrolselect",e)}))}var r=Kr.throttle((function(e){t.composing||I(e)}));t.on("nodechange ResizeEditor ResizeWindow ResizeContent drop FullscreenStateChanged",r),t.on("keyup compositionend",(function(e){n&&"TABLE"===n.nodeName&&r(e)})),t.on("hide blur",D),t.on("contextmenu longpress",Q,!0)})),t.on("remove",L),{isResizable:E,showResizeRect:R,hideResizeRect:D,updateResizeRect:I,destroy:function(){n=r=a=null}}},Nd=function(e){return Wn(e)||Xn(e)},Ld=function(e,t,n){var r,o,i=n;if(i.caretPositionFromPoint)(o=i.caretPositionFromPoint(e,t))&&((r=n.createRange()).setStart(o.offsetNode,o.offset),r.collapse(!0));else if(i.caretRangeFromPoint)r=i.caretRangeFromPoint(e,t);else if(i.body.createTextRange){r=i.body.createTextRange();try{r.moveToPoint(e,t),r.collapse(!0)}catch(o){r=function(e,t,n){var r,o=n.elementFromPoint(e,t),i=n.body.createTextRange();if(o&&"HTML"!==o.tagName||(o=n.body),i.moveToElementText(o),(r=(r=Ct.toArray(i.getClientRects())).sort((function(e,n){return(e=Math.abs(Math.max(e.top-t,e.bottom-t)))-Math.abs(Math.max(n.top-t,n.bottom-t))}))).length>0){t=(r[0].bottom+r[0].top)/2;try{return i.moveToPoint(e,t),i.collapse(!0),i}catch(e){}}return null}(e,t,n)}return function(e,t){var n=e&&e.parentElement?e.parentElement():null;return Xn(function(e,t,n){for(;e&&e!==t;){if(n(e))return e;e=e.parentNode}return null}(n,t,Nd))?null:e}(r,n.body)}return r},Vd=function(e,t){return e&&t&&e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.endContainer&&e.endOffset===t.endOffset},Ud=function(e,t,n){return null!==function(e,t,n){for(;e&&e!==t;){if(n(e))return e;e=e.parentNode}return null}(e,t,n)},Fd=function(e,t,n){return Ud(e,t,(function(e){return e.nodeName===n}))},Hd=function(e){return e&&"TABLE"===e.nodeName},Wd=function(e){return e&&/^(TD|TH|CAPTION)$/.test(e.nodeName)},Xd=function(e,t){return wo(e)&&!1===Ud(e,t,bu)},jd=function(e,t,n){for(var r=new to(t,e.getParent(t.parentNode,e.isBlock)||e.getRoot());t=r[n?"prev":"next"]();)if(Fn(t))return!0},qd=function(e,t,n,r,o){var i,a,s=e.getRoot(),l=e.schema.getNonEmptyElements(),c=e.getParent(o.parentNode,e.isBlock)||s;if(r&&Fn(o)&&t&&e.isEmpty(c))return R.some(pl(o.parentNode,e.nodeIndex(o)));for(var u=new to(o,c);a=u[r?"prev":"next"]();){if("false"===e.getContentEditableParent(a)||Xd(a,s))return R.none();if(Nn(a)&&a.nodeValue.length>0)return!1===Fd(a,s,"A")?R.some(pl(a,r?a.nodeValue.length:0)):R.none();if(e.isBlock(a)||l[a.nodeName.toLowerCase()])return R.none();i=a}return n&&i?R.some(pl(i,0)):R.none()},Zd=function(e,t,n,r){var o,i,a,s,l=e.getRoot(),c=!1;o=r[(n?"start":"end")+"Container"],i=r[(n?"start":"end")+"Offset"];var u=En(o)&&i===o.childNodes.length,d=e.schema.getNonEmptyElements();if(s=n,wo(o))return R.none();if(En(o)&&i>o.childNodes.length-1&&(s=!1),Vn(o)&&(o=l,i=0),o===l){if(s&&(a=o.childNodes[i>0?i-1:0])){if(wo(a))return R.none();if(d[a.nodeName]||Hd(a))return R.none()}if(o.hasChildNodes()){if(i=Math.min(!s&&i>0?i-1:i,o.childNodes.length-1),o=o.childNodes[i],i=Nn(o)&&u?o.data.length:0,!t&&o===l.lastChild&&Hd(o))return R.none();if(function(e,t){for(;t&&t!==e;){if(Xn(t))return!0;t=t.parentNode}return!1}(l,o)||wo(o))return R.none();if(o.hasChildNodes()&&!1===Hd(o)){a=o;var f=new to(o,l);do{if(Xn(a)||wo(a)){c=!1;break}if(Nn(a)&&a.nodeValue.length>0){i=s?0:a.nodeValue.length,o=a,c=!0;break}if(d[a.nodeName.toLowerCase()]&&!Wd(a)){i=e.nodeIndex(a),o=a.parentNode,s||i++,c=!0;break}}while(a=s?f.next():f.prev())}}}return t&&(Nn(o)&&0===i&&qd(e,u,t,!0,o).each((function(e){o=e.container(),i=e.offset(),c=!0})),En(o)&&((a=o.childNodes[i])||(a=o.childNodes[i-1]),!a||!Fn(a)||function(e){return e.previousSibling&&"A"===e.previousSibling.nodeName}(a)||jd(e,a,!1)||jd(e,a,!0)||qd(e,u,t,!0,a).each((function(e){o=e.container(),i=e.offset(),c=!0})))),s&&!t&&Nn(o)&&i===o.nodeValue.length&&qd(e,u,t,!1,o).each((function(e){o=e.container(),i=e.offset(),c=!0})),c?R.some(pl(o,i)):R.none()},Yd=function(e,t){var n=t.collapsed,r=t.cloneRange(),o=pl.fromRangeStart(t);return Zd(e,n,!0,r).each((function(e){n&&pl.isAbove(o,e)||r.setStart(e.container(),e.offset())})),n||Zd(e,n,!1,r).each((function(e){r.setEnd(e.container(),e.offset())})),n&&r.collapse(!0),Vd(t,r)?R.none():R.some(r)},Gd=function(e,t){return e.splitText(t)},Kd=function(e){var t=e.startContainer,n=e.startOffset,r=e.endContainer,o=e.endOffset;return t===r&&Nn(t)?n>0&&n<t.nodeValue.length&&(t=(r=Gd(t,n)).previousSibling,o>n?(t=r=Gd(r,o-=n).previousSibling,o=r.nodeValue.length,n=0):o=0):(Nn(t)&&n>0&&n<t.nodeValue.length&&(t=Gd(t,n),n=0),Nn(r)&&o>0&&o<r.nodeValue.length&&(o=(r=Gd(r,o).previousSibling).nodeValue.length)),{startContainer:t,startOffset:n,endContainer:r,endOffset:o}},Jd=function(e){return{walk:function(t,n){return hd(e,t,n)},split:Kd,normalize:function(t){return Yd(e,t).fold(E,(function(e){return t.setStart(e.startContainer,e.startOffset),t.setEnd(e.endContainer,e.endOffset),!0}))}}};Jd.compareRanges=Vd,Jd.getCaretRangeFromPoint=Ld,Jd.getSelectedNode=js,Jd.getNode=qs;var ef,tf=function(e){var t=function(t){var n=function(e){var t=e.dom;return yn(e)?t.getBoundingClientRect().height:t.offsetHeight}(t);if(n<=0||null===n){var r=or(t,e);return parseFloat(r)||0}return n},n=function(e,t){return Z(t,(function(t,n){var r=or(e,n),o=void 0===r?0:parseInt(r,10);return isNaN(o)?t:t+o}),0)};return{set:function(t,n){if(!O(n)&&!n.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+n);var r=t.dom;Gn(r)&&(r.style[e]=n+"px")},get:t,getOuter:t,aggregate:n,max:function(e,t,r){var o=n(e,r);return t>o?t-o:0}}}("height"),nf=function(e,t){return e.view(t).fold(x([]),(function(t){var n=e.owner(t),r=nf(e,n);return[t].concat(r)}))},rf=Object.freeze({__proto__:null,view:function(e){var t;return(e.dom===document?R.none():R.from(null===(t=e.dom.defaultView)||void 0===t?void 0:t.frameElement)).map(Pt)},owner:function(e){return Xt(e)}}),of=function(e){return"textarea"===It(e)},af=function(e,t){var n=function(e){var t=e.dom.ownerDocument,n=t.body,r=t.defaultView,o=t.documentElement;if(n===e.dom)return bn(n.offsetLeft,n.offsetTop);var i=wn(null==r?void 0:r.pageYOffset,o.scrollTop),a=wn(null==r?void 0:r.pageXOffset,o.scrollLeft),s=wn(o.clientTop,n.clientTop),l=wn(o.clientLeft,n.clientLeft);return _n(e).translate(a-l,i-s)}(e),r=function(e){return tf.get(e)}(e);return{element:e,bottom:n.top+r,height:r,pos:n,cleanup:t}},sf=function(e,t,n,r){df(e,(function(o,i){return cf(e,t,n,r)}),n)},lf=function(e,t,n,r,o){var i={elm:r.element.dom,alignToTop:o};(function(e,t){return e.fire("ScrollIntoView",t).isDefaultPrevented()})(e,i)||(n(t,xn(t).top,r,o),function(e,t){e.fire("AfterScrollIntoView",t)}(e,i))},cf=function(e,t,n,r){var o=Pt(e.getBody()),i=Pt(e.getDoc());o.dom.offsetWidth;var a,s,l,c,u=(a=Pt(n.startContainer),s=n.startOffset,l=function(e,t){var n=Jt(e);if(0===n.length||of(e))return{element:e,offset:t};if(t<n.length&&!of(n[t]))return{element:n[t],offset:0};var r=n[n.length-1];return of(r)?{element:e,offset:t}:"img"===It(r)?{element:r,offset:1}:Ut(r)?{element:r,offset:kd(r).length}:{element:r,offset:Jt(r).length}}(a,s),c=Qt('<span data-mce-bogus="all" style="display: inline-block;">\ufeff</span>'),dn(l.element,c),af(c,(function(){return An(c)})));lf(e,i,t,u,r),u.cleanup()},uf=function(e,t,n,r){var o=Pt(e.getDoc());lf(e,o,n,function(e){return af(Pt(e),b)}(t),r)},df=function(e,t,n){var r=n.startContainer,o=n.startOffset,i=n.endContainer,a=n.endOffset;t(Pt(r),Pt(i));var s=e.dom.createRng();s.setStart(r,o),s.setEnd(i,a),e.selection.setRng(n)},ff=function(e,t,n,r){var o=e.pos;if(n)Sn(o.left,o.top,r);else{var i=o.top-t+e.height;Sn(o.left,i,r)}},hf=function(e,t,n,r,o){var i=n+t,a=r.pos.top,s=r.bottom,l=s-a>=n;a<t?ff(r,n,!1!==o,e):a>i?ff(r,n,l?!1!==o:!0===o,e):s>i&&!l&&ff(r,n,!0===o,e)},pf=function(e,t,n,r){var o=e.dom.defaultView.innerHeight;hf(e,t,o,n,r)},mf=function(e,t,n,r){var o=e.dom.defaultView.innerHeight;hf(e,t,o,n,r);var i=function(e){var t=Pt(document),n=xn(t),r=function(e,t){var n=t.owner(e);return nf(t,n)}(e,rf),o=_n(e),i=q(r,(function(e,t){var n=_n(t);return{left:e.left+n.left,top:e.top+n.top}}),{left:0,top:0});return bn(i.left+o.left+n.left,i.top+o.top+n.top)}(n.element),a=Bn(window);i.top<a.y?kn(n.element,!1!==r):i.top>a.bottom&&kn(n.element,!0===r)},gf=function(e,t,n){return sf(e,pf,t,n)},Af=function(e,t,n){return uf(e,t,pf,n)},vf=function(e,t,n){return sf(e,mf,t,n)},yf=function(e,t,n){return uf(e,t,mf,n)},Of=function(e,t,n){(e.inline?gf:vf)(e,t,n)},bf=function(e){var t=ln(e).dom;return e.dom===t.activeElement},wf=function(e){return void 0===e&&(e=Pt(document)),R.from(e.dom.activeElement).map(Pt)},_f=wr([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),xf=(_f.before,_f.on,_f.after,wr([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}])),Sf=(xf.domRange,xf.relative,xf.exact,function(e,t,n,r){return{start:e,soffset:t,finish:n,foffset:r}}),kf=ht().browser,Cf=function(e,t){var n=Ut(t)?kd(t).length:Jt(t).length+1;return e>n?n:e<0?0:e},Bf=function(e){return Sf(e.start,Cf(e.soffset,e.start),e.finish,Cf(e.foffset,e.finish))},Qf=function(e,t){return!Tn(t.dom)&&(Dt(e,t)||Rt(e,t))},Tf=function(e){return function(t){return Qf(e,t.start)&&Qf(e,t.finish)}},Ef=function(e){return!0===e.inline||kf.isIE()},Pf=function(e){return Sf(Pt(e.startContainer),e.startOffset,Pt(e.endContainer),e.endOffset)},$f=function(e){var t=document.createRange();try{return t.setStart(e.start.dom,e.soffset),t.setEnd(e.finish.dom,e.foffset),R.some(t)}catch(e){return R.none()}},Mf=function(e){var t,n,r,o=Ef(e)?(t=Pt(e.getBody()),(n=jt(t).dom,r=n.getSelection(),(r&&0!==r.rangeCount?R.from(r.getRangeAt(0)):R.none()).map(Pf)).filter(Tf(t))):R.none();e.bookmark=o.isSome()?o:e.bookmark},zf=function(e){return(e.bookmark?e.bookmark:R.none()).bind((function(t){return n=Pt(e.getBody()),r=t,R.from(r).filter(Tf(n)).map(Bf);var n,r})).bind($f)},Rf={isEditorUIElement:function(e){var t=e.className.toString();return-1!==t.indexOf("tox-")||-1!==t.indexOf("mce-")}},Df=function(e){var t=ys((function(){Mf(e)}),0);e.on("init",(function(){e.inline&&function(e,t){var n=function(){t.throttle()};ss.DOM.bind(document,"mouseup",n),e.on("remove",(function(){ss.DOM.unbind(document,"mouseup",n)}))}(e,t),function(e,t){ht().browser.isIE()?function(e){e.on("focusout",(function(){Mf(e)}))}(e):function(e,t){e.on("mouseup touchend",(function(e){t.throttle()}))}(e,t),e.on("keyup NodeChange",(function(t){(function(e){return"nodechange"===e.type&&e.selectionChange})(t)||Mf(e)}))}(e,t)})),e.on("remove",(function(){t.cancel()}))},If=ss.DOM,Nf=function(e,t){var n=function(e){return e.getParam("custom_ui_selector","","string")}(e),r=If.getParent(t,(function(t){return function(e){return Rf.isEditorUIElement(e)}(t)||!!n&&e.dom.is(t,n)}));return null!==r},Lf=function(e,t){var n=t.editor;Df(n),n.on("focusin",(function(){var t=e.focusedEditor;t!==n&&(t&&t.fire("blur",{focusedEditor:n}),e.setActive(n),e.focusedEditor=n,n.fire("focus",{blurredEditor:t}),n.focus(!0))})),n.on("focusout",(function(){Kr.setEditorTimeout(n,(function(){var t=e.focusedEditor;Nf(n,function(e){try{var t=ln(Pt(e.getElement()));return wf(t).fold((function(){return document.body}),(function(e){return e.dom}))}catch(e){return document.body}}(n))||t!==n||(n.fire("blur",{focusedEditor:null}),e.focusedEditor=null)}))})),ef||(ef=function(t){var n=e.activeEditor;n&&function(e){if(sn()&&v(e.target)){var t=Pt(e.target);if(Vt(t)&&v(t.dom.shadowRoot)&&e.composed&&e.composedPath){var n=e.composedPath();if(n)return ie(n)}}return R.from(e.target)}(t).each((function(t){t.ownerDocument===document&&(t===document.body||Nf(n,t)||e.focusedEditor!==n||(n.fire("blur",{focusedEditor:null}),e.focusedEditor=null))}))},If.bind(document,"focusin",ef))},Vf=function(e,t){e.focusedEditor===t.editor&&(e.focusedEditor=null),e.activeEditor||(If.unbind(document,"focusin",ef),ef=null)},Uf=function(e,t){(function(e,t){return function(e){return e.collapsed?R.from(qs(e.startContainer,e.startOffset)).map(Pt):R.none()}(t).bind((function(t){return uo(t)?R.some(t):!1===Dt(e,t)?R.some(e):R.none()}))})(Pt(e.getBody()),t).bind((function(e){return vu(e.dom)})).fold((function(){e.selection.normalize()}),(function(t){return e.selection.setRng(t.toRange())}))},Ff=function(e){if(e.setActive)try{e.setActive()}catch(t){e.focus()}else e.focus()},Hf=function(e){return e.inline?function(e){var t,n,r=e.getBody();return r&&(t=Pt(r),bf(t)||(n=t,wf(ln(n)).filter((function(e){return n.dom.contains(e.dom)}))).isSome())}(e):function(e){return e.iframeElement&&bf(Pt(e.iframeElement))}(e)},Wf=function(e){return e.editorManager.setActive(e)},Xf=function(e,t,n,r,o){var i=n?t.startContainer:t.endContainer,a=n?t.startOffset:t.endOffset;return R.from(i).map(Pt).map((function(e){return r&&t.collapsed?e:en(e,o(e,a)).getOr(e)})).bind((function(e){return Vt(e)?R.some(e):qt(e).filter(Vt)})).map((function(e){return e.dom})).getOr(e)},jf=function(e,t,n){return Xf(e,t,!0,n,(function(e,t){return Math.min(rn(e),t)}))},qf=function(e,t,n){return Xf(e,t,!1,n,(function(e,t){return t>0?t-1:t}))},Zf=function(e,t){for(var n=e;e&&Nn(e)&&0===e.length;)e=t?e.nextSibling:e.previousSibling;return e||n},Yf=function(e,t){return F(t,(function(t){var n=e.fire("GetSelectionRange",{range:t});return n.range!==t?n.range:t}))},Gf={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11},Kf=function(e,t,n){var r=n?"lastChild":"firstChild",o=n?"prev":"next";if(e[r])return e[r];if(e!==t){var i=e[o];if(i)return i;for(var a=e.parent;a&&a!==t;a=a.parent)if(i=a[o])return i}},Jf=function(e){if(!Uo(e.value))return!1;var t=e.parent;return!t||"span"===t.name&&!t.attr("style")||!/^[ ]+$/.test(e.value)},eh=function(e){var t="a"===e.name&&!e.attr("href")&&e.attr("id");return e.attr("name")||e.attr("id")&&!e.firstChild||e.attr("data-mce-bookmark")||t},th=function(){function e(e,t){this.name=e,this.type=t,1===t&&(this.attributes=[],this.attributes.map={})}return e.create=function(t,n){var r=new e(t,Gf[t]||1);return n&&de(n,(function(e,t){r.attr(t,e)})),r},e.prototype.replace=function(e){var t=this;return e.parent&&e.remove(),t.insert(e,t),t.remove(),t},e.prototype.attr=function(e,t){var n,r=this;if("string"!=typeof e)return null!=e&&de(e,(function(e,t){r.attr(t,e)})),r;if(n=r.attributes){if(void 0!==t){if(null===t){if(e in n.map){delete n.map[e];for(var o=n.length;o--;)if(n[o].name===e)return n.splice(o,1),r}return r}if(e in n.map){for(o=n.length;o--;)if(n[o].name===e){n[o].value=t;break}}else n.push({name:e,value:t});return n.map[e]=t,r}return n.map[e]}},e.prototype.clone=function(){var t,n=this,r=new e(n.name,n.type);if(t=n.attributes){var o=[];o.map={};for(var i=0,a=t.length;i<a;i++){var s=t[i];"id"!==s.name&&(o[o.length]={name:s.name,value:s.value},o.map[s.name]=s.value)}r.attributes=o}return r.value=n.value,r.shortEnded=n.shortEnded,r},e.prototype.wrap=function(e){var t=this;return t.parent.insert(e,t),e.append(t),t},e.prototype.unwrap=function(){for(var e=this,t=e.firstChild;t;){var n=t.next;e.insert(t,e,!0),t=n}e.remove()},e.prototype.remove=function(){var e=this,t=e.parent,n=e.next,r=e.prev;return t&&(t.firstChild===e?(t.firstChild=n,n&&(n.prev=null)):r.next=n,t.lastChild===e?(t.lastChild=r,r&&(r.next=null)):n.prev=r,e.parent=e.next=e.prev=null),e},e.prototype.append=function(e){var t=this;e.parent&&e.remove();var n=t.lastChild;return n?(n.next=e,e.prev=n,t.lastChild=e):t.lastChild=t.firstChild=e,e.parent=t,e},e.prototype.insert=function(e,t,n){e.parent&&e.remove();var r=t.parent||this;return n?(t===r.firstChild?r.firstChild=e:t.prev.next=e,e.prev=t.prev,e.next=t,t.prev=e):(t===r.lastChild?r.lastChild=e:t.next.prev=e,e.next=t.next,e.prev=t,t.next=e),e.parent=r,e},e.prototype.getAll=function(e){for(var t=[],n=this.firstChild;n;n=Kf(n,this))n.name===e&&t.push(n);return t},e.prototype.children=function(){for(var e=[],t=this.firstChild;t;t=t.next)e.push(t);return e},e.prototype.empty=function(){var e=this;if(e.firstChild){for(var t=[],n=e.firstChild;n;n=Kf(n,e))t.push(n);for(var r=t.length;r--;)(n=t[r]).parent=n.firstChild=n.lastChild=n.next=n.prev=null}return e.firstChild=e.lastChild=null,e},e.prototype.isEmpty=function(e,t,n){void 0===t&&(t={});var r=this,o=r.firstChild;if(eh(r))return!1;if(o)do{if(1===o.type){if(o.attr("data-mce-bogus"))continue;if(e[o.name])return!1;if(eh(o))return!1}if(8===o.type)return!1;if(3===o.type&&!Jf(o))return!1;if(3===o.type&&o.parent&&t[o.parent.name]&&Uo(o.value))return!1;if(n&&n(o))return!1}while(o=Kf(o,r));return!0},e.prototype.walk=function(e){return Kf(this,null,e)},e}(),nh=function(e,t){return e.replace(t.re,(function(e){return Ae(t.uris,e).getOr(e)}))},rh=Ct.each,oh=Ct.trim,ih="source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),ah={ftp:21,http:80,https:443,mailto:25},sh=["img","video"],lh=function(){function e(t,n){t=oh(t),this.settings=n||{};var r=this.settings.base_uri,o=this;if(/^([\w\-]+):([^\/]{2})/i.test(t)||/^\s*#/.test(t))o.source=t;else{var i=0===t.indexOf("//");if(0!==t.indexOf("/")||i||(t=(r&&r.protocol||"http")+"://mce_host"+t),!/^[\w\-]*:?\/\//.test(t)){var a=this.settings.base_uri?this.settings.base_uri.path:new e(document.location.href).directory;if(this.settings.base_uri&&""==this.settings.base_uri.protocol)t="//mce_host"+o.toAbsPath(a,t);else{var s=/([^#?]*)([#?]?.*)/.exec(t);t=(r&&r.protocol||"http")+"://mce_host"+o.toAbsPath(a,s[1])+s[2]}}t=t.replace(/@@/g,"(mce_at)");var l=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?(\[[a-zA-Z0-9:.%]+\]|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(t);rh(ih,(function(e,t){var n=l[t];n&&(n=n.replace(/\(mce_at\)/g,"@@")),o[e]=n})),r&&(o.protocol||(o.protocol=r.protocol),o.userInfo||(o.userInfo=r.userInfo),o.port||"mce_host"!==o.host||(o.port=r.port),o.host&&"mce_host"!==o.host||(o.host=r.host),o.source=""),i&&(o.protocol="")}}return e.parseDataUri=function(e){var t,n=decodeURIComponent(e).split(","),r=/data:([^;]+)/.exec(n[0]);return r&&(t=r[1]),{type:t,data:n[1]}},e.isDomSafe=function(e,t,n){if(void 0===n&&(n={}),n.allow_script_urls)return!0;var r=ui.decode(e).replace(/[\s\u0000-\u001F]+/g,"");try{r=decodeURIComponent(r)}catch(e){r=unescape(r)}return!/((java|vb)script|mhtml):/i.test(r)&&!function(e,t,n){return!e.allow_html_data_urls&&(/^data:image\//i.test(t)?function(e,t){return v(e)?!e:!v(t)||!V(sh,t)}(e.allow_svg_data_urls,n)&&/^data:image\/svg\+xml/i.test(t):/^data:/i.test(t))}(n,r,t)},e.getDocumentBaseUrl=function(e){var t;return t=0!==e.protocol.indexOf("http")&&"file:"!==e.protocol?e.href:e.protocol+"//"+e.host+e.pathname,/^[^:]+:\/\/\/?[^\/]+\//.test(t)&&(t=t.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(t)||(t+="/")),t},e.prototype.setPath=function(e){var t=/^(.*?)\/?(\w+)?$/.exec(e);this.path=t[0],this.directory=t[1],this.file=t[2],this.source="",this.getURI()},e.prototype.toRelative=function(t){var n;if("./"===t)return t;var r=new e(t,{base_uri:this});if("mce_host"!==r.host&&this.host!==r.host&&r.host||this.port!==r.port||this.protocol!==r.protocol&&""!==r.protocol)return r.getURI();var o=this.getURI(),i=r.getURI();return o===i||"/"===o.charAt(o.length-1)&&o.substr(0,o.length-1)===i?o:(n=this.toRelPath(this.path,r.path),r.query&&(n+="?"+r.query),r.anchor&&(n+="#"+r.anchor),n)},e.prototype.toAbsolute=function(t,n){var r=new e(t,{base_uri:this});return r.getURI(n&&this.isSameOrigin(r))},e.prototype.isSameOrigin=function(e){if(this.host==e.host&&this.protocol==e.protocol){if(this.port==e.port)return!0;var t=ah[this.protocol];if(t&&(this.port||t)==(e.port||t))return!0}return!1},e.prototype.toRelPath=function(e,t){var n,r,o=0,i="",a=e.substring(0,e.lastIndexOf("/")).split("/"),s=t.split("/");if(a.length>=s.length)for(n=0,r=a.length;n<r;n++)if(n>=s.length||a[n]!==s[n]){o=n+1;break}if(a.length<s.length)for(n=0,r=s.length;n<r;n++)if(n>=a.length||a[n]!==s[n]){o=n+1;break}if(1===o)return t;for(n=0,r=a.length-(o-1);n<r;n++)i+="../";for(n=o-1,r=s.length;n<r;n++)i+=n!==o-1?"/"+s[n]:s[n];return i},e.prototype.toAbsPath=function(e,t){var n,r,o=0,i=[],a=/\/$/.test(t)?"/":"",s=e.split("/"),l=t.split("/");for(rh(s,(function(e){e&&i.push(e)})),s=i,n=l.length-1,i=[];n>=0;n--)0!==l[n].length&&"."!==l[n]&&(".."!==l[n]?o>0?o--:i.push(l[n]):o++);return 0!==(r=(n=s.length-o)<=0?te(i).join("/"):s.slice(0,n).join("/")+"/"+te(i).join("/")).indexOf("/")&&(r="/"+r),a&&r.lastIndexOf("/")!==r.length-1&&(r+=a),r},e.prototype.getURI=function(e){var t;return void 0===e&&(e=!1),this.source&&!e||(t="",e||(this.protocol?t+=this.protocol+"://":t+="//",this.userInfo&&(t+=this.userInfo+"@"),this.host&&(t+=this.host),this.port&&(t+=":"+this.port)),this.path&&(t+=this.path),this.query&&(t+="?"+this.query),this.anchor&&(t+="#"+this.anchor),this.source=t),this.source},e}(),ch=Ct.makeMap("button,fieldset,form,iframe,img,image,input,object,output,select,textarea"),uh=function(e,t,n){for(var r=/<([!?\/])?([A-Za-z0-9\-_:.]+)/g,o=/(?:\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g,i=e.getShortEndedElements(),a=1,s=n;0!==a;)for(r.lastIndex=s;;){var l=r.exec(t);if(null===l)return s;if("!"===l[1]){s=Re(l[2],"--")?dh(t,!1,l.index+3):dh(t,!0,l.index+1);break}o.lastIndex=r.lastIndex;var c=o.exec(t);if(!p(c)&&c.index===r.lastIndex){"/"===l[1]?a-=1:ve(i,l[2])||(a+=1),s=r.lastIndex+c[0].length;break}}return s},dh=function(e,t,n){void 0===n&&(n=0);var r=e.toLowerCase();if(-1!==r.indexOf("[if ",n)&&function(e,t){return/^\s*\[if [\w\W]+\]>.*<!\[endif\](--!?)?>/.test(e.substr(t))}(r,n)){var o=r.indexOf("[endif]",n);return r.indexOf(">",o)}if(t){var i=r.indexOf(">",n);return-1!==i?i:r.length}var a=/--!?>/g;a.lastIndex=n;var s=a.exec(e);return s?s.index+s[0].length:r.length},fh=function(e,t){var n=e.exec(t);if(n){var r=n[1],o=n[2];return"string"==typeof r&&"data-mce-bogus"===r.toLowerCase()?o:null}return null},hh=function(e,t){var n;void 0===t&&(t=Oi());var r=null!==(n=(e=e||{}).document)&&void 0!==n?n:document,o=r.createElement("form");!1!==e.fix_self_closing&&(e.fix_self_closing=!0);var i=e.comment?e.comment:b,a=e.cdata?e.cdata:b,s=e.text?e.text:b,l=e.start?e.start:b,c=e.end?e.end:b,u=e.pi?e.pi:b,d=e.doctype?e.doctype:b;return{parse:function(n,f){void 0===f&&(f="html"),function(n,f){void 0===f&&(f="html");for(var h,p,m,g,A,v,y,O,b,w,_,x,S,k,C,B,Q,T,E,P=n.html,$=0,M=[],z=0,R=ui.decode,D=Ct.makeMap("src,href,data,background,action,formaction,poster,xlink:href"),I="html"===f?0:1,N=function(e){var t,n;for(t=M.length;t--&&M[t].name!==e;);if(t>=0){for(n=M.length-1;n>=t;n--)(e=M[n]).valid&&c(e.name);M.length=t}},L=function(e,t){return s(nh(e,n),t)},V=function(t){""!==t&&(">"===t.charAt(0)&&(t=" "+t),e.allow_conditional_comments||"[if"!==t.substr(0,3).toLowerCase()||(t=" "+t),i(nh(t,n)))},U=function(e,t){var n=e||"",r=!Re(n,"--"),o=dh(P,r,t);return e=P.substr(t,o-t),V(r?n+e:e),o+1},F=function(t,i,a,s,l){if(a=function(e){return nh(e,n)}((i=i.toLowerCase())in q?i:R(a||s||l||"")),Z&&!O&&!1===function(e){return 0===e.indexOf("data-")||0===e.indexOf("aria-")}(i)){var c=k[i];if(!c&&C){for(var u=C.length;u--&&!(c=C[u]).pattern.test(i););-1===u&&(c=null)}if(!c)return;if(c.validValues&&!(a in c.validValues))return}("name"===i||"id"===i)&&t in ch&&(a in r||a in o)||D[i]&&!lh.isDomSafe(a,t,e)||O&&(i in D||0===i.indexOf("on"))||(g.map[i]=a,g.push({name:i,value:a}))},H=new RegExp("<(?:(?:!--([\\w\\W]*?)--!?>)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:![Dd][Oo][Cc][Tt][Yy][Pp][Ee]([\\w\\W]*?)>)|(?:!(--)?)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)>)|(?:([A-Za-z][A-Za-z0-9\\-_:.]*)(\\s(?:[^'\">]+(?:\"[^\"]*\"|'[^']*'))*[^\"'>]*(?:\"[^\">]*|'[^'>]*)?|\\s*|\\/)>))","g"),W=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,X=t.getShortEndedElements(),j=e.self_closing_elements||t.getSelfClosingElements(),q=t.getBoolAttrs(),Z=e.validate,Y=e.remove_internals,G=e.fix_self_closing,K=t.getSpecialElements(),J=P+">";h=H.exec(J);){var ee=h[0];if($<h.index&&L(R(P.substr($,h.index-$))),p=h[7])":"===(p=p.toLowerCase()).charAt(0)&&(p=p.substr(1)),N(p);else if(p=h[8]){if(h.index+ee.length>P.length){L(R(P.substr(h.index))),$=h.index+ee.length;continue}":"===(p=p.toLowerCase()).charAt(0)&&(p=p.substr(1)),b=p in X,G&&j[p]&&M.length>0&&M[M.length-1].name===p&&N(p);var te=fh(W,h[9]);if(null!==te){if("all"===te){$=uh(t,P,H.lastIndex),H.lastIndex=$;continue}_=!1}if(!Z||(w=t.getElementRule(p))){if(_=!0,Z&&(k=w.attributes,C=w.attributePatterns),(S=h[9])?((O=-1!==S.indexOf("data-mce-type"))&&Y&&(_=!1),(g=[]).map={},S.replace(W,(function(e,t,n,r,o){return F(p,t,n,r,o),""}))):(g=[]).map={},Z&&!O){if(B=w.attributesRequired,Q=w.attributesDefault,T=w.attributesForced,w.removeEmptyAttrs&&!g.length&&(_=!1),T)for(A=T.length;A--;)y=(x=T[A]).name,"{$uid}"===(E=x.value)&&(E="mce_"+z++),g.map[y]=E,g.push({name:y,value:E});if(Q)for(A=Q.length;A--;)(y=(x=Q[A]).name)in g.map||("{$uid}"===(E=x.value)&&(E="mce_"+z++),g.map[y]=E,g.push({name:y,value:E}));if(B){for(A=B.length;A--&&!(B[A]in g.map););-1===A&&(_=!1)}if(x=g.map["data-mce-bogus"]){if("all"===x){$=uh(t,P,H.lastIndex),H.lastIndex=$;continue}_=!1}}_&&l(p,g,b)}else _=!1;if(m=K[p]){m.lastIndex=$=h.index+ee.length,(h=m.exec(P))?(_&&(v=P.substr($,h.index-$)),$=h.index+h[0].length):(v=P.substr($),$=P.length),_&&(v.length>0&&L(v,!0),c(p)),H.lastIndex=$;continue}b||(S&&S.indexOf("/")===S.length-1?_&&c(p):M.push({name:p,valid:_}))}else if(p=h[1])V(p);else if(p=h[2]){if(!(1===I||e.preserve_cdata||M.length>0&&t.isValidChild(M[M.length-1].name,"#cdata"))){$=U("",h.index+2),H.lastIndex=$;continue}a(p)}else if(p=h[3])d(p);else{if((p=h[4])||"<!"===ee){$=U(p,h.index+ee.length),H.lastIndex=$;continue}if(p=h[5]){if(1!==I){$=U("?",h.index+2),H.lastIndex=$;continue}u(p,h[6])}}$=h.index+ee.length}for($<P.length&&L(R(P.substr($))),A=M.length-1;A>=0;A--)(p=M[A]).valid&&c(p.name)}(function(e){for(var t,n=/data:[^;]+;base64,([a-z0-9\+\/=\s]+)/gi,r=[],o={},i=$s("img"),a=0,s=0;t=n.exec(e);){var l=t[0],c=i+"_"+s++;o[c]=l,a<t.index&&r.push(e.substr(a,t.index-a)),r.push(c),a=t.index+l.length}var u=new RegExp(i+"_[0-9]+","g");return 0===a?{prefix:i,uris:o,html:e,re:u}:(a<e.length&&r.push(e.substr(a)),{prefix:i,uris:o,html:r.join(""),re:u})}(n),f)}}};hh.findEndTag=uh;var ph=function(e,t){for(var n,r=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,o=e.schema,i=function(e,t){var n=new RegExp(["\\s?("+e.join("|")+')="[^"]+"'].join("|"),"gi");return t.replace(n,"")}(e.getTempAttrs(),t),a=o.getShortEndedElements();n=r.exec(i);){var s,l=r.lastIndex,c=n[0].length;s=a[n[1]]?l:hh.findEndTag(o,i,l),i=i.substring(0,l-c)+i.substring(s),r.lastIndex=l-c}return Ao(i)},mh=ph,gh=Ct.each,Ah=function(e){return{compare:function(t,n){if(t.nodeName!==n.nodeName)return!1;var r=function(t){var n={};return gh(e.getAttribs(t),(function(r){var o=r.nodeName.toLowerCase();0!==o.indexOf("_")&&"style"!==o&&0!==o.indexOf("data-")&&(n[o]=e.getAttrib(t,o))})),n},o=function(e,t){var n,r;for(r in e)if(ve(e,r)){if(void 0===(n=t[r]))return!1;if(e[r]!==n)return!1;delete t[r]}for(r in t)if(ve(t,r))return!1;return!0};return!(!o(r(t),r(n))||!o(e.parseStyle(e.getAttrib(t,"style")),e.parseStyle(e.getAttrib(n,"style")))||Pu(t)||Pu(n))}}},vh=Ct.makeMap,yh=function(e){var t=[],n=(e=e||{}).indent,r=vh(e.indent_before||""),o=vh(e.indent_after||""),i=ui.getEncodeFunc(e.entity_encoding||"raw",e.entities),a="html"===e.element_format;return{start:function(e,s,l){var c,u,d,f;if(n&&r[e]&&t.length>0&&(f=t[t.length-1]).length>0&&"\n"!==f&&t.push("\n"),t.push("<",e),s)for(c=0,u=s.length;c<u;c++)d=s[c],t.push(" ",d.name,'="',i(d.value,!0),'"');t[t.length]=!l||a?">":" />",l&&n&&o[e]&&t.length>0&&(f=t[t.length-1]).length>0&&"\n"!==f&&t.push("\n")},end:function(e){var r;t.push("</",e,">"),n&&o[e]&&t.length>0&&(r=t[t.length-1]).length>0&&"\n"!==r&&t.push("\n")},text:function(e,n){e.length>0&&(t[t.length]=n?e:i(e))},cdata:function(e){t.push("<![CDATA[",e,"]]>")},comment:function(e){t.push("\x3c!--",e,"--\x3e")},pi:function(e,r){r?t.push("<?",e," ",i(r),"?>"):t.push("<?",e,"?>"),n&&t.push("\n")},doctype:function(e){t.push("<!DOCTYPE",e,">",n?"\n":"")},reset:function(){t.length=0},getContent:function(){return t.join("").replace(/\n$/,"")}}},Oh=function(e,t){void 0===t&&(t=Oi());var n=yh(e);return(e=e||{}).validate=!("validate"in e)||e.validate,{serialize:function(r){var o=e.validate,i={3:function(e){n.text(e.value,e.raw)},8:function(e){n.comment(e.value)},7:function(e){n.pi(e.name,e.value)},10:function(e){n.doctype(e.value)},4:function(e){n.cdata(e.value)},11:function(e){if(e=e.firstChild)do{a(e)}while(e=e.next)}};n.reset();var a=function(e){var r=i[e.type];if(r)r(e);else{var s=e.name,l=e.shortEnded,c=e.attributes;if(o&&c&&c.length>1){var u=[];u.map={};var d=t.getElementRule(e.name);if(d){for(var f=0,h=d.attributesOrder.length;f<h;f++)if((m=d.attributesOrder[f])in c.map){var p=c.map[m];u.map[m]=p,u.push({name:m,value:p})}for(f=0,h=c.length;f<h;f++){var m;(m=c[f].name)in u.map||(p=c.map[m],u.map[m]=p,u.push({name:m,value:p}))}c=u}}if(n.start(e.name,c,l),!l){if(e=e.firstChild)do{a(e)}while(e=e.next);n.end(s)}}};return 1!==r.type||e.inner?i[11](r):a(r),n.getContent()}}},bh=new Set;H(["margin","margin-left","margin-right","margin-top","margin-bottom","padding","padding-left","padding-right","padding-top","padding-bottom","border","border-width","border-style","border-color","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","float","position","left","right","top","bottom","z-index","display","transform","width","max-width","min-width","height","max-height","min-height","overflow","overflow-x","overflow-y","text-overflow","vertical-align","transition","transition-delay","transition-duration","transition-property","transition-timing-function"],(function(e){bh.add(e)}));var wh=["font","text-decoration","text-emphasis"],_h=function(e,t){return ce(e.parseStyle(e.getAttrib(t,"style")))},xh=function(e,t,n){var r=_h(e,t),o=_h(e,n),i=function(r){var o=e.getStyle(t,r),i=e.getStyle(n,r);return Ve(o)&&Ve(i)&&o!==i};return U(r,(function(e){var t=function(t){return U(t,(function(t){return t===e}))};if(!t(o)&&t(wh)){var n=j(o,(function(e){return U(wh,(function(t){return Re(e,t)}))}));return U(n,i)}return i(e)}))},Sh=function(e,t,n){return R.from(n.container()).filter(Nn).exists((function(r){var o=e?0:-1;return t(r.data.charAt(n.offset()+o))}))},kh=C(Sh,!0,Mu),Ch=C(Sh,!1,Mu),Bh=function(e){var t=e.container();return Nn(t)&&(0===t.data.length||go(t.data)&&Td.isBookmarkNode(t.parentNode))},Qh=function(e,t){return function(n){return R.from(Dc(e?0:-1,n)).filter(t).isSome()}},Th=function(e){return Hn(e)&&"block"===or(Pt(e),"display")},Eh=function(e){return Xn(e)&&!function(e){return En(e)&&"all"===e.getAttribute("data-mce-bogus")}(e)},Ph=Qh(!0,Th),$h=Qh(!1,Th),Mh=Qh(!0,qn),zh=Qh(!1,qn),Rh=Qh(!0,Rn),Dh=Qh(!1,Rn),Ih=Qh(!0,Eh),Nh=Qh(!1,Eh),Lh=function(e){gn(e),pn(e,Qt('<br data-mce-bogus="1">'))},Vh=function(e){nn(e).each((function(t){Zt(t).each((function(n){oo(e)&&ao(t)&&oo(n)&&An(t)}))}))},Uh=function(e,t){return function(e,t,n){return Dt(t,e)?(r=function(e,t){for(var n=y(t)?t:E,r=e.dom,o=[];null!==r.parentNode&&void 0!==r.parentNode;){var i=r.parentNode,a=Pt(i);if(o.push(a),!0===n(a))break;r=i}return o}(e,(function(e){return n(e)||Rt(e,t)})),r.slice(0,-1)):[];var r}(e,t,E)},Fh=function(e,t){return[e].concat(Uh(e,t))},Hh=function(e,t,n){return pu(e,t,n,Bh)},Wh=function(e,t){return G(Fh(Pt(t.container()),e),oo)},Xh=function(e,t,n){return Hh(e,t.dom,n).forall((function(e){return Wh(t,n).fold((function(){return!1===Rc(e,n,t.dom)}),(function(r){return!1===Rc(e,n,t.dom)&&Dt(r,Pt(e.container()))}))}))},jh=function(e,t,n){return Wh(t,n).fold((function(){return Hh(e,t.dom,n).forall((function(e){return!1===Rc(e,n,t.dom)}))}),(function(t){return Hh(e,t.dom,n).isNone()}))},qh=C(jh,!1),Zh=C(jh,!0),Yh=C(Xh,!1),Gh=C(Xh,!0),Kh=function(e){return Xc(e).exists(ao)},Jh=function(e,t,n){var r=j(Fh(Pt(n.container()),t),oo),o=ie(r).getOr(t);return fu(e,o.dom,n).filter(Kh)},ep=function(e,t){return Xc(t).exists(ao)||Jh(!0,e,t).isSome()},tp=function(e,t){return function(e){return R.from(e.getNode(!0)).map(Pt)}(t).exists(ao)||Jh(!1,e,t).isSome()},np=C(Jh,!1),rp=C(Jh,!0),op=function(e){return pl.isTextPosition(e)&&!e.isAtStart()&&!e.isAtEnd()},ip=function(e,t){var n=j(Fh(Pt(t.container()),e),oo);return ie(n).getOr(e)},ap=function(e,t){return op(t)?Ch(t):Ch(t)||Au(ip(e,t).dom,t).exists(Ch)},sp=function(e,t){return op(t)?kh(t):kh(t)||gu(ip(e,t).dom,t).exists(kh)},lp=function(e){return Xc(e).bind((function(e){return Hr(e,Vt)})).exists((function(e){return function(e){return V(["pre","pre-wrap"],e)}(or(e,"white-space"))}))},cp=function(e,t){return!lp(t)&&(qh(e,t)||Yh(e,t)||tp(e,t)||ap(e,t))},up=function(e,t){return!lp(t)&&(Zh(e,t)||Gh(e,t)||ep(e,t)||sp(e,t))},dp=function(e,t){return cp(e,t)||up(e,function(e){var t=e.container(),n=e.offset();return Nn(t)&&n<t.data.length?pl(t,n+1):e}(t))},fp=function(e,t){return $u(e.charAt(t))},hp=function(e){var t=e.container();return Nn(t)&&ze(t.data,po)},pp=function(e,t){return R.some(t).filter(hp).bind((function(t){var n,r,o,i=t.container(),a=function(e,t){var n=t.data,r=pl(t,0);return!(!fp(n,0)||dp(e,r)||(t.data=" "+n.slice(1),0))}(e,i)||(r=(n=i).data,o=function(e){var t=e.split("");return F(t,(function(e,n){return $u(e)&&n>0&&n<t.length-1&&zu(t[n-1])&&zu(t[n+1])?" ":e})).join("")}(r),o!==r&&(n.data=o,!0))||function(e,t){var n=t.data,r=pl(t,n.length-1);return!(!fp(n,n.length-1)||dp(e,r)||(t.data=n.slice(0,-1)+" ",0))}(e,i);return a?R.some(t):R.none()}))},mp=function(e){var t=Pt(e.getBody());e.selection.isCollapsed()&&pp(t,pl.fromRangeStart(e.selection.getRng())).each((function(t){e.selection.setRng(t.toRange())}))},gp=function(e,t,n){if(0!==n){var r=Pt(e),o=Fr(r,oo).getOr(r),i=e.data.slice(t,t+n),a=t+n>=e.data.length&&up(o,pl(e,e.data.length)),s=0===t&&cp(o,pl(e,0));e.replaceData(t,n,function(e,t,n){return Z(e,(function(r,o){return Mu(o)||$u(o)?r.previousCharIsSpace||""===r.str&&t||r.str.length===e.length-1&&n?{previousCharIsSpace:!1,str:r.str+po}:{previousCharIsSpace:!0,str:r.str+" "}:{previousCharIsSpace:!1,str:r.str+o}}),{previousCharIsSpace:!1,str:""}).str}(i,s,a))}},Ap=function(e,t){var n=e.data.slice(t),r=n.length-Ne(n).length;gp(e,t,r)},vp=function(e,t){var n=e.data.slice(0,t),r=n.length-Le(n).length;gp(e,t-r,r)},yp=function(e,t,n,r){void 0===r&&(r=!0);var o=Le(e.data).length,i=r?e:t,a=r?t:e;return r?i.appendData(a.data):i.insertData(0,a.data),An(Pt(a)),n&&Ap(i,o),i},Op=function(e,t){return function(e,t){var n=e.container(),r=e.offset();return!1===pl.isTextPosition(e)&&n===t.parentNode&&r>pl.before(t).offset()}(t,e)?pl(t.container(),t.offset()-1):t},bp=function(e){return Io(e.previousSibling)?R.some((t=e.previousSibling,Nn(t)?pl(t,t.data.length):pl.after(t))):e.previousSibling?yu(e.previousSibling):R.none();var t},wp=function(e){return Io(e.nextSibling)?R.some((t=e.nextSibling,Nn(t)?pl(t,0):pl.before(t))):e.nextSibling?vu(e.nextSibling):R.none();var t},_p=function(e,t,n){return function(e,t,n){return e?function(e,t){return wp(t).orThunk((function(){return bp(t)})).orThunk((function(){return function(e,t){return gu(e,pl.after(t)).fold((function(){return Au(e,pl.before(t))}),R.some)}(e,t)}))}(t,n):function(e,t){return bp(t).orThunk((function(){return wp(t)})).orThunk((function(){return function(e,t){var n=pl.before(t.previousSibling?t.previousSibling:t.parentNode);return Au(e,n).fold((function(){return gu(e,pl.after(t))}),R.some)}(e,t)}))}(t,n)}(e,t,n).map(C(Op,n))},xp=function(e,t,n){n.fold((function(){e.focus()}),(function(n){e.selection.setRng(n.toRange(),t)}))},Sp=function(e,t){return t&&ve(e.schema.getBlockElements(),It(t))},kp=function(e){if(jo(e)){var t=Qt('<br data-mce-bogus="1">');return gn(e),pn(e,t),R.some(pl.before(t.dom))}return R.none()},Cp=function(e,t,n,r){void 0===r&&(r=!0);var o,i=_p(t,e.getBody(),n.dom),a=Fr(n,C(Sp,e),(o=e.getBody(),function(e){return e.dom===o})),s=function(e,t,n){var r,o,i,a,s=Zt(e).filter(Ut),l=Yt(e).filter(Ut);return An(e),(r=s,o=l,i=t,a=function(e,t,r){var o=e.dom,i=t.dom,a=o.data.length;return yp(o,i,n),r.container()===i?pl(o,a):r},r.isSome()&&o.isSome()&&i.isSome()?R.some(a(r.getOrDie(),o.getOrDie(),i.getOrDie())):R.none()).orThunk((function(){return n&&(s.each((function(e){return vp(e.dom,e.dom.length)})),l.each((function(e){return Ap(e.dom,0)}))),t}))}(n,i,function(e,t){return ve(e.schema.getTextInlineElements(),It(t))}(e,n));e.dom.isEmpty(e.getBody())?(e.setContent(""),e.selection.setCursorLocation()):a.bind(kp).fold((function(){r&&xp(e,t,s)}),(function(n){r&&xp(e,t,R.some(n))}))},Bp=function(e){return ks(e,"td,th")},Qp=function(e,t){return{start:e,end:t}},Tp=wr([{singleCellTable:["rng","cell"]},{fullTable:["table"]},{partialTable:["cells","outsideDetails"]},{multiTable:["startTableCells","endTableCells","betweenRng"]}]),Ep=function(e,t){return jr(Pt(e),"td,th",t)},Pp=function(e){return!Rt(e.start,e.end)},$p=function(e,t){return Ad(e.start,t).bind((function(n){return Ad(e.end,t).bind((function(e){return t=Rt(n,e),r=n,t?R.some(r):R.none();var t,r}))}))},Mp=function(e){return function(t){return $p(t,e).map((function(e){return function(e,t,n){return{rng:e,table:t,cells:n}}(t,e,Bp(e))}))}},zp=function(e,t,n,r){if(n.collapsed||!e.forall(Pp))return R.none();if(t.isSameTable){var o=e.bind(Mp(r));return R.some({start:o,end:o})}var i=Ep(n.startContainer,r),a=Ep(n.endContainer,r),s=i.bind(function(e){return function(t){return Ad(t,e).bind((function(e){return ae(Bp(e)).map((function(e){return Qp(t,e)}))}))}}(r)).bind(Mp(r)),l=a.bind(function(e){return function(t){return Ad(t,e).bind((function(e){return ie(Bp(e)).map((function(e){return Qp(e,t)}))}))}}(r)).bind(Mp(r));return R.some({start:s,end:l})},Rp=function(e,t){return K(e,(function(e){return Rt(e,t)}))},Dp=function(e){return Yn(Rp(e.cells,e.rng.start),Rp(e.cells,e.rng.end),(function(t,n){return e.cells.slice(t,n+1)}))},Ip=function(e,t){var n=t.startTable,r=t.endTable,o=e.cloneRange();return n.each((function(e){return o.setStartAfter(e.dom)})),r.each((function(e){return o.setEndBefore(e.dom)})),o},Np=function(e,t){var n=function(e){return function(t){return Rt(e,t)}}(e),r=function(e,t){var n=Ep(e.startContainer,t),r=Ep(e.endContainer,t);return Yn(n,r,Qp)}(t,n),o=function(e,t){var n=function(e){return Ad(Pt(e),t)},r=n(e.startContainer),o=n(e.endContainer),i=r.isSome(),a=o.isSome(),s=Yn(r,o,Rt).getOr(!1);return{startTable:r,endTable:o,isStartInTable:i,isEndInTable:a,isSameTable:s,isMultiTable:!s&&i&&a}}(t,n);return function(e,t,n){return e.exists((function(e){return function(e,t){return!Pp(e)&&$p(e,t).exists((function(e){var t=e.dom.rows;return 1===t.length&&1===t[0].cells.length}))}(e,n)&&Od(e.start,t)}))}(r,t,n)?r.map((function(e){return Tp.singleCellTable(t,e.start)})):o.isMultiTable?function(e,t,n,r){return zp(e,t,n,r).bind((function(e){var r=e.start,o=e.end,i=r.bind(Dp).getOr([]),a=o.bind(Dp).getOr([]);if(i.length>0&&a.length>0){var s=Ip(n,t);return R.some(Tp.multiTable(i,a,s))}return R.none()}))}(r,o,t,n):function(e,t,n,r){return zp(e,t,n,r).bind((function(e){var t=e.start,n=e.end;return t.or(n)})).bind((function(e){var r=t.isSameTable,o=Dp(e).getOr([]);if(r&&e.cells.length===o.length)return R.some(Tp.fullTable(e.table));if(o.length>0){if(r)return R.some(Tp.partialTable(o,R.none()));var i=Ip(n,t);return R.some(Tp.partialTable(o,R.some(Be(Be({},t),{rng:i}))))}return R.none()}))}(r,o,t,n)},Lp=function(e){var t;return(8===Nt(t=e)||"#comment"===It(t)?Zt(e):nn(e)).bind(Lp).orThunk((function(){return R.some(e)}))},Vp=function(e){return H(e,(function(e){rr(e,"contenteditable"),Lh(e)}))},Up=function(e,t,n,r){var o=n.cloneRange();r?(o.setStart(n.startContainer,n.startOffset),o.setEndAfter(t.dom.lastChild)):(o.setStartBefore(t.dom.firstChild),o.setEnd(n.endContainer,n.endOffset)),Xp(e,o,t,!1)},Fp=function(e){var t=gd(e),n=Pt(e.selection.getNode());jn(n.dom)&&jo(n)?e.selection.setCursorLocation(n.dom,0):e.selection.collapse(!0),t.length>1&&U(t,(function(e){return Rt(e,n)}))&&Jn(n,"data-mce-selected","1")},Hp=function(e,t,n){var r=e.selection.getRng(),o=n.bind((function(n){var o=n.rng,i=n.isStartInTable,a=function(e,t){return R.from(e.dom.getParent(t,e.dom.isBlock)).map(Pt)}(e,i?o.endContainer:o.startContainer);o.deleteContents(),function(e,t,n){n.each((function(n){t?An(n):(Lh(n),e.selection.setCursorLocation(n.dom,0))}))}(e,i,a.filter(jo));var s=i?t[0]:t[t.length-1];return Up(e,s,r,i),jo(s)?R.none():R.some(i?t.slice(1):t.slice(0,-1))})).getOr(t);return Vp(o),Fp(e),!0},Wp=function(e,t,n,r){var o=e.selection.getRng(),i=t[0],a=n[n.length-1];Up(e,i,o,!0),Up(e,a,o,!1);var s=jo(i)?t:t.slice(1),l=jo(a)?n:n.slice(0,-1);return Vp(s.concat(l)),r.deleteContents(),Fp(e),!0},Xp=function(e,t,n,r){void 0===r&&(r=!0),t.deleteContents();var o,i=Lp(n).getOr(n),a=Pt(e.dom.getParent(i.dom,e.dom.isBlock));if(jo(a)&&(Lh(a),r&&e.selection.setCursorLocation(a.dom,0)),!Rt(n,a)){var s=Zn(qt(a),n)?[]:qt(o=a).map(Jt).map((function(e){return j(e,(function(e){return!Rt(o,e)}))})).getOr([]);H(s.concat(Jt(n)),(function(e){Rt(e,a)||Dt(e,a)||!jo(e)||An(e)}))}return!0},jp=function(e,t){return Cp(e,!1,t),!0},qp=function(e,t){return G(Fh(t,e),fo)},Zp=function(e,t){return G(Fh(t,e),(function(e){return Vt(e)&&"caption"===It(e)}))},Yp=function(e,t){return Lh(t),e.selection.setCursorLocation(t.dom,0),R.some(!0)},Gp=function(e,t){return e?Rh(t):Dh(t)},Kp=function(e,t,n){var r=Pt(e.getBody());return Zp(r,n).fold((function(){return function(e,t,n,r){var o=pl.fromRangeStart(e.selection.getRng());return qp(n,r).bind((function(r){return jo(r)?Yp(e,r):function(e,t,n,r,o){return hu(n,e.getBody(),o).bind((function(e){return qp(t,Pt(e.getNode())).map((function(e){return!1===Rt(e,r)}))}))}(e,n,t,r,o)})).getOr(!1)}(e,t,r,n)||function(e,t){var n=pl.fromRangeStart(e.selection.getRng());return Gp(t,n)||fu(t,e.getBody(),n).exists((function(e){return Gp(t,e)}))}(e,t)}),(function(n){return function(e,t,n,r){var o=pl.fromRangeStart(e.selection.getRng());return jo(r)?Yp(e,r):function(e,t,n,r,o){return hu(n,e.getBody(),o).bind((function(i){return function(e,t,n,r){return vu(e.dom).bind((function(o){return yu(e.dom).map((function(e){return t?n.isEqual(o)&&r.isEqual(e):n.isEqual(e)&&r.isEqual(o)}))})).getOr(!0)}(r,n,o,i)?function(e,t){return Yp(e,t)}(e,r):function(e,t,n){return Zp(e,Pt(n.getNode())).map((function(e){return!1===Rt(e,t)}))}(t,r,i)})).or(R.some(!0))}(e,n,t,r,o)}(e,t,r,n).getOr(!1)}))},Jp=function(e,t){var n=Pt(e.selection.getStart(!0)),r=gd(e);return e.selection.isCollapsed()&&0===r.length?Kp(e,t,n):function(e,t,n){var r=Pt(e.getBody()),o=e.selection.getRng();return 0!==n.length?Hp(e,n,R.none()):function(e,t,n,r){return Zp(t,r).fold((function(){return function(e,t,n){return Np(t,n).map((function(t){return t.fold(C(Xp,e),C(jp,e),C(Hp,e),C(Wp,e))}))}(e,t,n)}),(function(t){return function(e,t){return Yp(e,t)}(e,t)})).getOr(!1)}(e,r,o,t)}(e,n,r)},em=function(e){return e.collapsed?e:function(e){var t=pl.fromRangeStart(e),n=pl.fromRangeEnd(e),r=e.commonAncestorContainer;return fu(!1,r,n).map((function(o){return!Rc(t,n,r)&&Rc(t,o,r)?function(e,t,n,r){var o=document.createRange();return o.setStart(e,t),o.setEnd(n,r),o}(t.container(),t.offset(),o.container(),o.offset()):e})).getOr(e)}(e)},tm=function(e,t){var n=t.firstChild,r=t.lastChild;return n&&"meta"===n.name&&(n=n.next),r&&"mce_marker"===r.attr("id")&&(r=r.prev),function(e,t){var n=e.getNonEmptyElements();return t&&(t.isEmpty(n)||function(e,t){return e.getBlockElements()[t.name]&&function(e){return e.firstChild&&e.firstChild===e.lastChild}(t)&&function(e){return"br"===e.name||e.value===po}(t.firstChild)}(e,t))}(e,r)&&(r=r.prev),!(!n||n!==r||"ul"!==n.name&&"ol"!==n.name)},nm=function(e){return e.length>0&&(!(n=e[e.length-1]).firstChild||(t=n)&&t.firstChild&&t.firstChild===t.lastChild&&function(e){return e.data===po||Fn(e)}(t.firstChild))?e.slice(0,-1):e;var t,n},rm=function(e,t){var n=e.getParent(t,e.isBlock);return n&&"LI"===n.nodeName?n:null},om=function(e,t){var n=pl.after(e),r=lu(t).prev(n);return r?r.toRange():null},im=function(e,t,n,r){var o,i=function(e,t,n){var r=t.serialize(n);return function(e){var t=e.firstChild,n=e.lastChild;return t&&"META"===t.nodeName&&t.parentNode.removeChild(t),n&&"mce_marker"===n.id&&n.parentNode.removeChild(n),e}(e.createFragment(r))}(t,e,r),a=rm(t,n.startContainer),s=nm((o=i.firstChild,j(o.childNodes,(function(e){return"LI"===e.nodeName})))),l=t.getRoot(),c=function(e){var r=pl.fromRangeStart(n),o=lu(t.getRoot()),i=1===e?o.prev(r):o.next(r);return!i||rm(t,i.getNode())!==a};return c(1)?function(e,t,n){var r=e.parentNode;return Ct.each(t,(function(t){r.insertBefore(t,e)})),function(e,t){var n=pl.before(e),r=lu(t).next(n);return r?r.toRange():null}(e,n)}(a,s,l):c(2)?function(e,t,n,r){return r.insertAfter(t.reverse(),e),om(t[0],n)}(a,s,l,t):function(e,t,n,r){var o=function(e,t){var n=t.cloneRange(),r=t.cloneRange();return n.setStartBefore(e),r.setEndAfter(e),[n.cloneContents(),r.cloneContents()]}(e,r),i=e.parentNode;return i.insertBefore(o[0],e),Ct.each(t,(function(t){i.insertBefore(t,e)})),i.insertBefore(o[1],e),i.removeChild(e),om(t[t.length-1],n)}(a,s,l,n)},am=jn,sm=function(e,t,n){var r,o,i,a=e.selection,s=e.dom;/^ | $/.test(t)&&(t=function(e,t,n){var r=Pt(e.getRoot());return n=cp(r,pl.fromRangeStart(t))?n.replace(/^ /,"&nbsp;"):n.replace(/^&nbsp;/," "),up(r,pl.fromRangeEnd(t))?n.replace(/(&nbsp;| )(<br( \/)>)?$/,"&nbsp;"):n.replace(/&nbsp;(<br( \/)?>)?$/," ")}(s,a.getRng(),t));var l=e.parser,c=n.merge,u=Oh({validate:rc(e)},e.schema),d='<span id="mce_marker" data-mce-type="bookmark">&#xFEFF;</span>',f=e.fire("BeforeSetContent",{content:t,format:"html",selection:!0,paste:n.paste});if(f.isDefaultPrevented())e.fire("SetContent",{content:f.content,format:"html",selection:!0,paste:n.paste});else{-1===(t=f.content).indexOf("{$caret}")&&(t+="{$caret}"),t=t.replace(/\{\$caret\}/,d);var h=(o=a.getRng()).startContainer||(o.parentElement?o.parentElement():null),p=e.getBody();h===p&&a.isCollapsed()&&s.isBlock(p.firstChild)&&function(e,t){return t&&!e.schema.getShortEndedElements()[t.nodeName]}(e,p.firstChild)&&s.isEmpty(p.firstChild)&&((o=s.createRng()).setStart(p.firstChild,0),o.setEnd(p.firstChild,0),a.setRng(o)),a.isCollapsed()||function(e){var t=e.dom,n=em(e.selection.getRng());e.selection.setRng(n);var r=t.getParent(n.startContainer,am);!function(e,t,n){return null!==n&&n===e.getParent(t.endContainer,am)&&Od(Pt(n),t)}(t,n,r)?e.getDoc().execCommand("Delete",!1,null):Xp(e,n,Pt(r))}(e);var m,g={context:(r=a.getNode()).nodeName.toLowerCase(),data:n.data,insert:!0},A=l.parse(t,g);if(!0===n.paste&&tm(e.schema,A)&&function(e,t){return!!rm(e,t)}(s,r))return o=im(u,s,a.getRng(),A),a.setRng(o),void e.fire("SetContent",f);if(function(e){for(var t=e;t=t.walk();)1===t.type&&t.attr("data-mce-fragment","1")}(A),"mce_marker"===(i=A.lastChild).attr("id")){var y=i;for(i=i.prev;i;i=i.walk(!0))if(3===i.type||!s.isBlock(i.name)){e.schema.isValidChild(i.parent.name,"span")&&i.parent.insert(y,i,"br"===i.name);break}}if(e._selectionOverrides.showBlockCaretContainer(r),g.invalid){e.selection.setContent(d),r=a.getNode();var O=e.getBody();for(9===r.nodeType?r=i=O:i=r;i!==O;)r=i,i=i.parentNode;t=r===O?O.innerHTML:s.getOuterHTML(r),t=u.serialize(l.parse(t.replace(/<span (id="mce_marker"|id=mce_marker).+?<\/span>/i,(function(){return u.serialize(A)})))),r===O?s.setHTML(O,t):s.setOuterHTML(r,t)}else!function(e,t,n){if("all"===n.getAttribute("data-mce-bogus"))n.parentNode.insertBefore(e.dom.createFragment(t),n);else{var r=n.firstChild,o=n.lastChild;!r||r===o&&"BR"===r.nodeName?e.dom.setHTML(n,t):e.selection.setContent(t)}}(e,t=u.serialize(A),r);!function(e,t){var n=e.schema.getTextInlineElements(),r=e.dom;if(t){var o=e.getBody(),i=Ah(r);Ct.each(r.select("*[data-mce-fragment]"),(function(e){if(v(n[e.nodeName.toLowerCase()])&&function(e,t){return ee(_h(e,t),(function(e){return!function(e){return bh.has(e)}(e)}))}(r,e))for(var t=e.parentNode;v(t)&&t!==o&&!xh(r,e,t);t=t.parentNode)if(i.compare(t,e)){r.remove(e,!0);break}}))}}(e,c),function(e,t){var n,r=e.dom,o=e.selection;if(t){o.scrollIntoView(t);var i=Ed(e.getBody(),t);if("false"===r.getContentEditable(i))return r.remove(t),void o.select(i);var a=r.createRng(),s=t.previousSibling;if(Nn(s)){if(a.setStart(s,s.nodeValue.length),!wt.ie){var l=t.nextSibling;Nn(l)&&(s.appendData(l.data),l.parentNode.removeChild(l))}}else a.setStartBefore(t),a.setEndBefore(t);var c=r.getParent(t,r.isBlock);r.remove(t),c&&r.isEmpty(c)&&(e.$(c).empty(),a.setStart(c,0),a.setEnd(c,0),am(c)||function(e){return!!e.getAttribute("data-mce-fragment")}(c)||!(n=function(t){var n=pl.fromRangeStart(t);if(n=lu(e.getBody()).next(n))return n.toRange()}(a))?r.add(c,r.create("br",{"data-mce-bogus":"1"})):(a=n,r.remove(c))),o.setRng(a)}}(e,s.get("mce_marker")),m=e.getBody(),Ct.each(m.getElementsByTagName("*"),(function(e){e.removeAttribute("data-mce-fragment")})),function(e,t){R.from(e.getParent(t,"td,th")).map(Pt).each(Vh)}(s,a.getStart()),e.fire("SetContent",f),e.addVisual()}},lm=function(e,t){t(e),e.firstChild&&lm(e.firstChild,t),e.next&&lm(e.next,t)},cm=function(e){return e instanceof th},um=function(e,t,n){e.dom.setHTML(e.getBody(),t),!0!==n&&function(e){Hf(e)&&vu(e.getBody()).each((function(t){var n=t.getNode(),r=Rn(n)?vu(n).getOr(t):t;e.selection.setRng(r.toRange())}))}(e)},dm=function(e,t,n){var r=function(e,t){return Be(Be({format:"html"},e),{set:!0,content:cm(t)?"":t})}(n,t),o=n.no_events?r:e.fire("BeforeSetContent",r);return cm(t)||(t=o.content),R.from(e.getBody()).fold(x(t),(function(n){return cm(t)?function(e,t,n,r){var o,i,a;o=e.parser.getNodeFilters(),i=e.parser.getAttributeFilters(),a=function(e,t,n){var r={},o={},i=[];for(var a in n.firstChild&&lm(n.firstChild,(function(n){H(e,(function(e){e.name===n.name&&(r[e.name]?r[e.name].nodes.push(n):r[e.name]={filter:e,nodes:[n]})})),H(t,(function(e){"string"==typeof n.attr(e.name)&&(o[e.name]?o[e.name].nodes.push(n):o[e.name]={filter:e,nodes:[n]})}))})),r)ve(r,a)&&i.push(r[a]);for(var s in o)ve(o,s)&&i.push(o[s]);return i}(o,i,n),H(a,(function(e){H(e.filter.callbacks,(function(t){t(e.nodes,e.filter.name,{})}))}));var s=Oh({validate:e.validate},e.schema).serialize(n);return r.content=ho(Pt(t))?s:Ct.trim(s),um(e,r.content,r.no_selection),r.no_events||e.fire("SetContent",r),n}(e,n,t,o):function(e,t,n,r){if(0===n.length||/^\s+$/.test(n)){var o='<br data-mce-bogus="1">';"TABLE"===t.nodeName?n="<tr><td>"+o+"</td></tr>":/^(UL|OL)$/.test(t.nodeName)&&(n="<li>"+o+"</li>");var i=Ll(e);i&&e.schema.isValidChild(t.nodeName.toLowerCase(),i.toLowerCase())?(n=o,n=e.dom.createHTML(i,Vl(e),n)):n||(n='<br data-mce-bogus="1">'),um(e,n,r.no_selection),e.fire("SetContent",r)}else"raw"!==r.format&&(n=Oh({validate:e.validate},e.schema).serialize(e.parser.parse(n,{isRootContent:!0,insert:!0}))),r.content=ho(Pt(t))?n:Ct.trim(n),um(e,r.content,r.no_selection),r.no_events||e.fire("SetContent",r);return r.content}(e,n,t,o)}))},fm=function(e,t){return function(e,t){var n=e.dom;return n.parentNode?function(e,t){return G(e.dom.childNodes,(function(e){return t(Pt(e))})).map(Pt)}(Pt(n.parentNode),(function(n){return!Rt(e,n)&&t(n)})):R.none()}(e,t).isSome()},hm=function(e){return y(e)?e:E},pm=function(e,t,n){var r=t(e),o=hm(n);return r.orThunk((function(){return o(e)?R.none():function(e,t,n){for(var r=e.dom,o=hm(n);r.parentNode;){r=r.parentNode;var i=Pt(r),a=t(i);if(a.isSome())return a;if(o(i))break}return R.none()}(e,t,o)}))},mm=Fu,gm=function(e,t,n){var r=e.formatter.get(n);if(r)for(var o=0;o<r.length;o++){var i=r[o];if(Zu(i)&&!1===i.inherit&&e.dom.is(t,i.selector))return!0}return!1},Am=function(e,t,n,r,o){var i=e.dom.getRoot();return t!==i&&(t=e.dom.getParent(t,(function(t){return!!gm(e,t,n)||t.parentNode===i||!!Om(e,t,n,r,!0)})),!!Om(e,t,n,r,o))},vm=function(e,t,n){return!!mm(t,n.inline)||!!mm(t,n.block)||(n.selector?1===t.nodeType&&e.is(t,n.selector):void 0)},ym=function(e,t,n,r,o,i){var a=n[r];if(y(n.onmatch))return n.onmatch(t,n,r);if(a)if(g(a.length)){for(var s in a)if(ve(a,s)){var l="attributes"===r?e.getAttrib(t,s):Wu(e,t,s),c=Uu(a[s],i),u=A(l)||Ue(l);if(u&&A(c))continue;if(o&&u&&!n.exact)return!1;if((!o||n.exact)&&!mm(l,Hu(e,c,s)))return!1}}else for(var d=0;d<a.length;d++)if("attributes"===r?e.getAttrib(t,a[d]):Wu(e,t,a[d]))return!0;return!0},Om=function(e,t,n,r,o){var i=e.formatter.get(n),a=e.dom;if(i&&t)for(var s=0;s<i.length;s++){var l=i[s];if(vm(e.dom,t,l)&&ym(a,t,l,"attributes",o,r)&&ym(a,t,l,"styles",o,r)){var c=l.classes;if(c)for(var u=0;u<c.length;u++)if(!e.dom.hasClass(t,Uu(c[u],r)))return;return l}}},bm=function(e,t,n,r,o){if(r)return Am(e,r,t,n,o);if(r=e.selection.getNode(),Am(e,r,t,n,o))return!0;var i=e.selection.getStart();return!(i===r||!Am(e,i,t,n,o))},wm=function(e,t,n){return Z(n,(function(n,r){var o=function(e,t){return U(e.formatter.get(t),(function(e){var t=function(e){return e.length>1&&"%"===e.charAt(0)};return U(["styles","attributes"],(function(n){return Ae(e,n).exists((function(e){var n=h(e)?e:function(e,t){var n=[];return de(e,(function(e,r){n.push(t(e,r))})),n}(e,S);return U(n,t)}))}))}))}(e,r);return e.formatter.matchNode(t,r,{},o)?n.concat([r]):n}),[])},_m=mo,xm="_mce_caret",Sm=function(e){return function(e){for(var t=[];e;){if(3===e.nodeType&&e.nodeValue!==_m||e.childNodes.length>1)return[];1===e.nodeType&&t.push(e),e=e.firstChild}return t}(e).length>0},km=function(e){if(e){var t=new to(e,e);for(e=t.current();e;e=t.next())if(Nn(e))return e}return null},Cm=function(e){var t=Tt("span");return er(t,{id:xm,"data-mce-bogus":"1","data-mce-type":"format-caret"}),e&&pn(t,Et(_m)),t},Bm=function(e,t,n){void 0===n&&(n=!0);var r=e.dom,o=e.selection;if(Sm(t))Cp(e,!1,Pt(t),n);else{var i=o.getRng(),a=r.getParent(t,r.isBlock),s=i.startContainer,l=i.startOffset,c=i.endContainer,u=i.endOffset,d=function(e){var t=km(e);return t&&t.nodeValue.charAt(0)===_m&&t.deleteData(0,1),t}(t);r.remove(t,!0),s===d&&l>0&&i.setStart(d,l-1),c===d&&u>0&&i.setEnd(d,u-1),a&&r.isEmpty(a)&&Lh(Pt(a)),o.setRng(i)}},Qm=function(e,t,n){void 0===n&&(n=!0);var r=e.dom,o=e.selection;if(t)Bm(e,t,n);else if(!(t=wu(e.getBody(),o.getStart())))for(;t=r.get(xm);)Bm(e,t,!1)},Tm=function(e,t){return e.appendChild(t),t},Em=function(e,t){var n=q(e,(function(e,t){return Tm(e,t.cloneNode(!1))}),t);return Tm(n,n.ownerDocument.createTextNode(_m))},Pm=function(e,t,n,r){var o,i,l,c=e.dom,u=e.selection,d=[],f=u.getRng(),h=f.startContainer,p=f.startOffset;for(i=h,3===h.nodeType&&(p!==h.nodeValue.length&&(o=!0),i=i.parentNode);i;){if(Om(e,i,t,n,r)){l=i;break}i.nextSibling&&(o=!0),d.push(i),i=i.parentNode}if(l)if(o){var m=u.getBookmark();f.collapse(!0);var g=fd(e,f,e.formatter.get(t),!0);g=Kd(g),e.formatter.remove(t,n,g,r),u.moveToBookmark(m)}else{var A=wu(e.getBody(),l),v=Cm(!1).dom;!function(e,t,n){var r,o,i,a=e.dom,s=a.getParent(n,C(Nu,e));s&&a.isEmpty(s)?n.parentNode.replaceChild(t,n):(r=Pt(n),o=ks(r,"br"),i=j(function(e){for(var t=[],n=e.dom;n;)t.push(Pt(n)),n=n.lastChild;return t}(r).slice(-1),ao),o.length===i.length&&H(i,An),a.isEmpty(n)?n.parentNode.replaceChild(t,n):a.insertAfter(t,n))}(e,v,null!==A?A:l);var y=function(e,t,n,r,o,i){var l=e.formatter,c=e.dom,u=j(ce(l.get()),(function(e){return e!==r&&!ze(e,"removeformat")})),d=wm(e,n,u);if(j(d,(function(t){return!function(e,t,n){var r=["inline","block","selector","attributes","styles","classes"],o=function(e){return ge(e,(function(e,t){return U(r,(function(e){return e===t}))}))};return U(e.formatter.get(t),(function(t){var r=o(t);return U(e.formatter.get(n),(function(e){var t=o(e);return function(e,t,n){return void 0===n&&(n=s),a(n).eq(e,t)}(r,t)}))}))}(e,t,r)})).length>0){var f=n.cloneNode(!1);return c.add(t,f),l.remove(r,o,f,i),c.remove(f),R.some(f)}return R.none()}(e,v,l,t,n,r),O=Em(d.concat(y.toArray()),v);Bm(e,A,!1),u.setCursorLocation(O,1),c.isEmpty(l)&&c.remove(l)}},$m=function(e,t){var n=e.schema.getTextInlineElements();return ve(n,It(t))&&!bu(t.dom)&&!zn(t.dom)},Mm={},zm=_e,Rm=be;!function(e){Mm[e]||(Mm[e]=[]),Mm[e].push((function(e){var t,n=e.selection.getRng(),r=Pn(["pre"]);n.collapsed||(t=e.selection.getSelectedBlocks(),Rm(zm(zm(t,r),(function(e){return r(e.previousSibling)&&-1!==xe(t,e.previousSibling)})),(function(e){var t,n;t=e.previousSibling,es(n=e).remove(),es(t).append("<br><br>").append(n.childNodes)})))}))}("pre");var Dm,Im,Nm=Ct.each,Lm=function(e){return En(e)&&!Pu(e)&&!bu(e)&&!zn(e)},Vm=function(e,t){for(var n=e;n;n=n[t]){if(Nn(n)&&Ve(n.data))return e;if(En(n)&&!Pu(n))return n}return e},Um=function(e,t,n){var r=Ah(e);if(t&&n&&(t=Vm(t,"previousSibling"),n=Vm(n,"nextSibling"),r.compare(t,n))){for(var o=t.nextSibling;o&&o!==n;){var i=o;o=o.nextSibling,t.appendChild(i)}return e.remove(n),Ct.each(Ct.grep(n.childNodes),(function(e){t.appendChild(e)})),t}return n},Fm=function(e,t,n,r){if(r&&!1!==t.merge_siblings){var o=Um(e,Iu(r),r);Um(e,o,Iu(o,!0))}},Hm=function(e,t,n){Nm(e.childNodes,(function(e){Lm(e)&&(t(e)&&n(e),e.hasChildNodes()&&Hm(e,t,n))}))},Wm=function(e,t){return function(n){return!(!n||!Wu(e,n,t))}},Xm=function(e,t,n){return function(r){e.setStyle(r,t,n),""===r.getAttribute("style")&&r.removeAttribute("style"),function(e,t){"SPAN"===t.nodeName&&0===e.getAttribs(t).length&&e.remove(t,!0)}(e,r)}},jm=wr([{keep:[]},{rename:["name"]},{removed:[]}]),qm=/^(src|href|style)$/,Zm=Ct.each,Ym=Fu,Gm=function(e,t,n){return e.isChildOf(t,n)&&t!==n&&!e.isBlock(n)},Km=function(e,t,n){var r=t[n?"startContainer":"endContainer"],o=t[n?"startOffset":"endOffset"];if(En(r)){var i=r.childNodes.length-1;!n&&o&&o--,r=r.childNodes[o>i?i:o]}return Nn(r)&&n&&o>=r.nodeValue.length&&(r=new to(r,e.getBody()).next()||r),Nn(r)&&!n&&0===o&&(r=new to(r,e.getBody()).prev()||r),r},Jm=function(e,t){var n=t?"firstChild":"lastChild";if(function(e){return/^(TR|TH|TD)$/.test(e.nodeName)}(e)&&e[n]){var r=e[n];return"TR"===e.nodeName&&r[n]||r}return e},eg=function(e,t,n,r){var o=e.create(n,r);return t.parentNode.insertBefore(o,t),o.appendChild(t),o},tg=function(e,t,n,r,o){var i=Pt(t),a=Pt(e.create(r,o)),s=n?Kt(i):Gt(i);return mn(a,s),n?(dn(i,a),hn(a,i)):(fn(i,a),pn(a,i)),a.dom},ng=function(e,t,n,r){var o=Iu(t,n,r);return A(o)||"BR"===o.nodeName||e.isBlock(o)},rg=function(e,t,n,r,o){var i,a=e.dom;if(!function(e,t,n){return!(!Yu(n)||!Ym(t,n.inline))||!(!qu(n)||!Ym(t,n.block))||(Zu(n)?En(t)&&e.is(t,n.selector):void 0)}(a,r,t)&&!function(e,t){return t.links&&"A"===e.nodeName}(r,t))return jm.keep();var s=r;if(Yu(t)&&"all"===t.remove&&h(t.preserve_attributes)){var l=j(a.getAttribs(s),(function(e){return V(t.preserve_attributes,e.name.toLowerCase())}));if(a.removeAllAttribs(s),H(l,(function(e){return a.setAttrib(s,e.name,e.value)})),l.length>0)return jm.rename("span")}if("all"!==t.remove){Zm(t.styles,(function(e,r){e=Hu(a,Uu(e,n),r+""),O(r)&&(r=e,o=null),(t.remove_similar||!o||Ym(Wu(a,o,r),e))&&a.setStyle(s,r,""),i=!0})),i&&""===a.getAttrib(s,"style")&&(s.removeAttribute("style"),s.removeAttribute("data-mce-style")),Zm(t.attributes,(function(e,r){var i;if(e=Uu(e,n),O(r)&&(r=e,o=null),t.remove_similar||!o||Ym(a.getAttrib(o,r),e)){if("class"===r&&(e=a.getAttrib(s,r))&&(i="",H(e.split(/\s+/),(function(e){/mce\-\w+/.test(e)&&(i+=(i?" ":"")+e)})),i))return void a.setAttrib(s,r,i);if(qm.test(r)&&s.removeAttribute("data-mce-"+r),"style"===r&&Pn(["li"])(s)&&"none"===a.getStyle(s,"list-style-type"))return s.removeAttribute(r),void a.setStyle(s,"list-style-type","none");"class"===r&&s.removeAttribute("className"),s.removeAttribute(r)}})),Zm(t.classes,(function(e){e=Uu(e,n),o&&!a.hasClass(o,e)||a.removeClass(s,e)}));for(var c=a.getAttribs(s),u=0;u<c.length;u++){var d=c[u].nodeName;if(0!==d.indexOf("_")&&0!==d.indexOf("data-"))return jm.keep()}}return"none"!==t.remove?(function(e,t,n){var r,o=t.parentNode,i=e.dom,a=Ll(e);qu(n)&&(a?o===i.getRoot()&&(n.list_block&&Ym(t,n.list_block)||H(se(t.childNodes),(function(t){Lu(e,a,t.nodeName.toLowerCase())?r?r.appendChild(t):(r=eg(i,t,a),i.setAttribs(r,e.settings.forced_root_block_attrs)):r=null}))):i.isBlock(t)&&!i.isBlock(o)&&(ng(i,t,!1)||ng(i,t.firstChild,!0,!0)||t.insertBefore(i.create("br"),t.firstChild),ng(i,t,!0)||ng(i,t.lastChild,!1,!0)||t.appendChild(i.create("br")))),function(e){return Zu(e)&&Yu(e)&&Zn(Ae(e,"mixed"),!0)}(n)&&!Ym(n.inline,t)||i.remove(t,!0)}(e,s,t),jm.removed()):jm.keep()},og=function(e,t,n,r,o){return rg(e,t,n,r,o).fold(E,(function(t){return e.dom.rename(r,t),!0}),P)},ig=function(e,t,n,r){return rg(e,t,n,r,r).fold(x(r),(function(t){return e.dom.createFragment().appendChild(r),e.dom.rename(r,t)}),x(null))},ag=function(e,t,n,r,o){var i=e.formatter.get(t),a=i[0],s=!0,l=e.dom,c=e.selection,u=function(r){var s=function(e,t,n,r,o){var i;return H(ju(e.dom,t.parentNode).reverse(),(function(t){if(!i&&"_start"!==t.id&&"_end"!==t.id){var a=Om(e,t,n,r,o);a&&!1!==a.split&&(i=t)}})),i}(e,r,t,n,o);return function(e,t,n,r,o,i,a,s){var l,c,u,d=e.dom;if(n){for(var f=n.parentNode,h=r.parentNode;h&&h!==f;h=h.parentNode){l=d.clone(h,!1);for(var p=0;p<t.length&&null!==(l=ig(e,t[p],s,l));p++);l&&(c&&l.appendChild(c),u||(u=l),c=l)}a.mixed&&d.isBlock(n)||(r=d.split(n,r)),c&&(o.parentNode.insertBefore(c,o),u.appendChild(o),Yu(a)&&Fm(d,a,0,c))}return r}(e,i,s,r,r,0,a,n)},d=function(t){return U(i,(function(r){return og(e,r,n,t,t)}))},f=function(t){var n=!0,r=!1;En(t)&&l.getContentEditable(t)&&(n=s,s="true"===l.getContentEditable(t),r=!0);var o=se(t.childNodes);if(s&&!r){var i=d(t),c=t.parentNode;!i&&v(c)&&Gu(a)&&d(c)}if(a.deep&&o.length){for(var u=0;u<o.length;u++)f(o[u]);r&&(s=n)}H(["underline","line-through","overline"],(function(n){En(t)&&e.dom.getStyle(t,"text-decoration")===n&&t.parentNode&&Xu(l,t.parentNode)===n&&og(e,{deep:!1,exact:!0,inline:"span",styles:{textDecoration:n}},null,t)}))},h=function(e){var t=l.get(e?"_start":"_end"),n=t[e?"firstChild":"lastChild"];return function(e){return Pu(e)&&En(e)&&("_start"===e.id||"_end"===e.id)}(n)&&(n=n[e?"firstChild":"lastChild"]),Nn(n)&&0===n.data.length&&(n=e?t.previousSibling||t.nextSibling:t.nextSibling||t.previousSibling),l.remove(t,!0),n},p=function(t){var n,r,o=fd(e,t,i,t.collapsed);if(a.split){if(o=Kd(o),(n=Km(e,o,!0))!==(r=Km(e,o))){if(n=Jm(n,!0),r=Jm(r,!1),Gm(l,n,r)){var s=R.from(n.firstChild).getOr(n);return u(tg(l,s,!0,"span",{id:"_start","data-mce-type":"bookmark"})),void h(!0)}if(Gm(l,r,n))return s=R.from(r.lastChild).getOr(r),u(tg(l,s,!1,"span",{id:"_end","data-mce-type":"bookmark"})),void h(!1);n=eg(l,n,"span",{id:"_start","data-mce-type":"bookmark"}),r=eg(l,r,"span",{id:"_end","data-mce-type":"bookmark"});var c=l.createRng();c.setStartAfter(n),c.setEndBefore(r),hd(l,c,(function(e){H(e,(function(e){Pu(e)||Pu(e.parentNode)||u(e)}))})),u(n),u(r),n=h(!0),r=h()}else n=r=u(n);o.startContainer=n.parentNode?n.parentNode:n,o.startOffset=l.nodeIndex(n),o.endContainer=r.parentNode?r.parentNode:r,o.endOffset=l.nodeIndex(r)+1}hd(l,o,(function(e){H(e,f)}))};if(r){if(Ru(r)){var m=l.createRng();m.setStartBefore(r),m.setEndAfter(r),p(m)}else p(r);zd(e,t,r,n)}else if("false"!==l.getContentEditable(c.getNode()))c.isCollapsed()&&Yu(a)&&!gd(e).length?Pm(e,t,n,o):(xd(c,!0,(function(){_d(e,p)})),Yu(a)&&bm(e,t,n,c.getStart())&&Du(l,c,c.getRng()),e.nodeChanged()),zd(e,t,r,n);else{r=c.getNode();for(var g=0;g<i.length&&(!i[g].ceFalseOverride||!og(e,i[g],n,r,r));g++);zd(e,t,r,n)}},sg=Ct.each,lg=Ct.each,cg=function(e){return En(e)&&!Pu(e)&&!bu(e)&&!zn(e)},ug=function(e,t,n,r){var o=e.formatter.get(t),i=o[0],a=!r&&e.selection.isCollapsed(),s=e.dom,l=e.selection,c=function(e,t){if(void 0===t&&(t=i),y(t.onformat)&&t.onformat(e,t,n,r),lg(t.styles,(function(t,r){s.setStyle(e,r,Uu(t,n))})),t.styles){var o=s.getAttrib(e,"style");o&&s.setAttrib(e,"data-mce-style",o)}lg(t.attributes,(function(t,r){s.setAttrib(e,r,Uu(t,n))})),lg(t.classes,(function(t){t=Uu(t,n),s.hasClass(e,t)||s.addClass(e,t)}))},u=function(e,t){var n=!1;return lg(e,(function(e){return!!Zu(e)&&(v(e.collapsed)&&e.collapsed!==a?void 0:s.is(t,e.selector)&&!bu(t)?(c(t,e),n=!0,!1):void 0)})),n},f=function(e){if(d(e)){var t=s.create(e);return c(t),t}return null},h=function(r,a,s){var l=[],d=!0,h=i.inline||i.block,p=f(h);hd(r,a,(function(a){var f,m=function(a){var g=!1,A=d,y=a.nodeName.toLowerCase(),O=a.parentNode,b=O.nodeName.toLowerCase();if(En(a)&&r.getContentEditable(a)&&(A=d,d="true"===r.getContentEditable(a),g=!0),Fn(a)&&!function(e,t,n,r){if(function(e){return e.getParam("format_empty_lines",!1,"boolean")}(e)&&Yu(t)){var o=Be(Be({},e.schema.getTextBlockElements()),{td:{},th:{},li:{},dt:{},dd:{},figcaption:{},caption:{},details:{},summary:{}}),i=fm(Pt(n),(function(e){return bu(e.dom)}));return ye(o,r)&&jo(Pt(n.parentNode),!1)&&!i}return!1}(e,i,a,b))return f=null,void(qu(i)&&r.remove(a));if(qu(i)&&i.wrapper&&Om(e,a,t,n))f=null;else{if(d&&!g&&qu(i)&&!i.wrapper&&Nu(e,y)&&Lu(e,b,h)){var w=r.rename(a,h);return c(w),l.push(w),void(f=null)}if(Zu(i)){var _=u(o,a);if(!_&&v(O)&&Gu(i)&&(_=u(o,O)),!Yu(i)||_)return void(f=null)}!d||g||!Lu(e,h,y)||!Lu(e,b,h)||!s&&Nn(a)&&go(a.data)||bu(a)||Yu(i)&&r.isBlock(a)?(f=null,H(se(a.childNodes),m),g&&(d=A),f=null):(f||(f=r.clone(p,!1),a.parentNode.insertBefore(f,a),l.push(f)),f.appendChild(a))}};H(a,m)})),!0===i.links&&H(l,(function(e){var t=function(e){"A"===e.nodeName&&c(e,i),H(se(e.childNodes),t)};t(e)})),H(l,(function(a){var s=function(e){var t=0;return H(e.childNodes,(function(e){(function(e){return v(e)&&Nn(e)&&0===e.length})(e)||Pu(e)||t++})),t}(a);!(l.length>1)&&r.isBlock(a)||0!==s?(Yu(i)||qu(i)&&i.wrapper)&&(i.exact||1!==s||(a=function(e){var t=G(e.childNodes,cg).filter((function(e){return vm(r,e,i)}));return t.map((function(t){var n=r.clone(t,!1);return c(n),r.replace(n,e,!0),r.remove(t,!0),n})).getOr(e)}(a)),function(e,t,n,r){sg(t,(function(t){Yu(t)&&sg(e.dom.select(t.inline,r),(function(r){Lm(r)&&og(e,t,n,r,t.exact?r:null)})),function(e,t,n){if(t.clear_child_styles){var r=t.links?"*:not(a)":"*";Nm(e.select(r,n),(function(n){Lm(n)&&Nm(t.styles,(function(t,r){e.setStyle(n,r,"")}))}))}}(e.dom,t,r)}))}(e,o,n,a),function(e,t,n,r,o){Om(e,o.parentNode,n,r)&&og(e,t,r,o)||t.merge_with_parents&&e.dom.getParent(o.parentNode,(function(i){if(Om(e,i,n,r))return og(e,t,r,o),!0}))}(e,i,t,n,a),function(e,t,n,r){t.styles&&t.styles.backgroundColor&&Hm(r,Wm(e,"fontSize"),Xm(e,"backgroundColor",Uu(t.styles.backgroundColor,n)))}(r,i,n,a),function(e,t,n,r){var o=function(t){if(1===t.nodeType&&t.parentNode&&1===t.parentNode.nodeType){var n=Xu(e,t.parentNode);e.getStyle(t,"color")&&n?e.setStyle(t,"text-decoration",n):e.getStyle(t,"text-decoration")===n&&e.setStyle(t,"text-decoration",null)}};t.styles&&(t.styles.color||t.styles.textDecoration)&&(Ct.walk(r,o,"childNodes"),o(r))}(r,i,0,a),function(e,t,n,r){!Yu(t)||"sub"!==t.inline&&"sup"!==t.inline||(Hm(r,Wm(e,"fontSize"),Xm(e,"fontSize","")),e.remove(e.select("sup"===t.inline?"sub":"sup",r),!0))}(r,i,0,a),Fm(r,i,0,a)):r.remove(a,!0)}))};if("false"!==s.getContentEditable(l.getNode())){if(i){if(r)if(Ru(r)){if(!u(o,r)){var p=s.createRng();p.setStartBefore(r),p.setEndAfter(r),h(s,fd(e,p,o),!0)}}else h(s,r,!0);else if(a&&Yu(i)&&!gd(e).length)!function(e,t,n){var r,o,i=e.selection,a=i.getRng(),s=a.startOffset,l=a.startContainer.nodeValue;(r=wu(e.getBody(),i.getStart()))&&(o=km(r));var c,u,d=/[^\s\u00a0\u00ad\u200b\ufeff]/;if(l&&s>0&&s<l.length&&d.test(l.charAt(s))&&d.test(l.charAt(s-1))){var f=i.getBookmark();a.collapse(!0);var h=fd(e,a,e.formatter.get(t));h=Kd(h),e.formatter.apply(t,n,h),i.moveToBookmark(f)}else r&&o.nodeValue===_m||(c=e.getDoc(),u=Cm(!0).dom,o=(r=c.importNode(u,!0)).firstChild,a.insertNode(r),s=1),e.formatter.apply(t,n,r),i.setCursorLocation(o,s)}(e,t,n);else{var m=l.getNode(),g=o[0];e.settings.forced_root_block||!g.defaultBlock||s.getParent(m,s.isBlock)||ug(e,g.defaultBlock),l.setRng(em(l.getRng())),xd(l,!0,(function(){_d(e,(function(t,n){var r=n?t:fd(e,t,o);h(s,r,!1)}))})),Du(s,l,l.getRng()),e.nodeChanged()}!function(e,t){Rm(Mm[e],(function(e){e(t)}))}(t,e)}Md(e,t,r,n)}else{r=l.getNode();for(var A=0,O=o.length;A<O;A++){var b=o[A];if(b.ceFalseOverride&&Zu(b)&&s.is(r,b.selector)){c(r,b);break}}Md(e,t,r,n)}},dg=function(e){return ve(e,"vars")},fg=function(e){return e.selection.getStart()},hg=function(e,t,n,r,o){return Y(t,(function(t){var i=e.formatter.matchNode(t,n,null!=o?o:{},r);return!g(i)}),(function(t){return!!gm(e,t,n)||!r&&v(e.formatter.matchNode(t,n,o,!0))}))},pg=function(e,t){var n=null!=t?t:fg(e);return j(ju(e.dom,n),(function(e){return En(e)&&!zn(e)}))},mg=function(e,t,n){var r=pg(e,t);de(n,(function(n,o){var i=function(n){var i=hg(e,r,o,n.similar,dg(n)?n.vars:void 0),a=i.isSome();if(n.state.get()!==a){n.state.set(a);var s=i.getOr(t);dg(n)?n.callback(a,{node:s,format:o,parents:r}):H(n.callbacks,(function(e){return e(a,{node:s,format:o,parents:r})}))}};H([n.withSimilar,n.withoutSimilar],i),H(n.withVars,i)}))},gg=function(e,t){var n=(t||document).createDocumentFragment();return H(e,(function(e){n.appendChild(e.dom)})),Pt(n)},Ag=function(e,t,n){return{element:e,width:t,rows:n}},vg=function(e,t){return{element:e,cells:t}},yg=function(e,t){return{x:e,y:t}},Og=function(e,t){var n=parseInt(tr(e,t),10);return isNaN(n)?1:n},bg=function(e,t,n){var r=e.rows;return!!(r[n]?r[n].cells:[])[t]},wg=function(e){return Z(e,(function(e,t){return t.cells.length>e?t.cells.length:e}),0)},_g=function(e,t){for(var n=e.rows,r=0;r<n.length;r++)for(var o=n[r].cells,i=0;i<o.length;i++)if(Rt(o[i],t))return R.some(yg(i,r));return R.none()},xg=function(e,t,n,r,o){for(var i=[],a=e.rows,s=n;s<=o;s++){var l=a[s].cells,c=t<r?l.slice(t,r+1):l.slice(r,t+1);i.push(vg(a[s].element,c))}return i},Sg=function(e){return function(e,t){var n=Rs(e.element),r=Tt("tbody");return mn(r,t),pn(n,r),n}(e,function(e){return F(e.rows,(function(e){var t=F(e.cells,(function(e){var t=Ds(e);return rr(t,"colspan"),rr(t,"rowspan"),t})),n=Rs(e.element);return mn(n,t),n}))}(e))},kg=function(e,t){return G(e,(function(e){return"li"===It(e)&&Od(e,t)})).fold(x([]),(function(t){return function(e){return G(e,(function(e){return"ul"===It(e)||"ol"===It(e)}))}(e).map((function(e){var t=Tt(It(e)),n=ge(sr(e),(function(e,t){return Re(t,"list-style")}));return function(e,t){var n=e.dom;de(t,(function(e,t){!function(e,t,n){if(!d(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);Gn(e)&&e.style.setProperty(t,n)}(n,t,e)}))}(t,n),[Tt("li"),t]})).getOr([])}))},Cg=function(){return gg([])},Bg=function(e,t){return n=Pt(t.cloneContents()),r=function(e,t){var n=Pt(t.commonAncestorContainer),r=Fh(n,e),o=j(r,(function(e){return io(e)||ro(e)})),i=kg(r,t),a=o.concat(i.length?i:function(e){return co(e)?qt(e).filter(lo).fold(x([]),(function(t){return[e,t]})):lo(e)?[e]:[]}(n));return F(a,Rs)}(e,t),o=Z(r,(function(e,t){return pn(t,e),t}),n),r.length>0?gg([o]):o;var n,r,o},Qg=function(e,t){return(n=e,r=t[0],Wr(r,"table",C(Rt,n))).bind((function(e){var n,r,o,i=t[0],a=t[t.length-1],s=function(e){var t=Ag(Rs(e),0,[]);return H(ks(e,"tr"),(function(e,n){H(ks(e,"td,th"),(function(r,o){!function(e,t,n,r,o){for(var i=Og(o,"rowspan"),a=Og(o,"colspan"),s=e.rows,l=n;l<n+i;l++){s[l]||(s[l]=vg(Ds(r),[]));for(var c=t;c<t+a;c++)s[l].cells[c]=l===n&&c===t?o:Rs(o)}}(t,function(e,t,n){for(;bg(e,t,n);)t++;return t}(t,o,n),n,e,r)}))})),Ag(t.element,wg(t.rows),t.rows)}(e);return(n=s,r=i,o=a,_g(n,r).bind((function(e){return _g(n,o).map((function(t){return function(e,t,n){var r=t.x,o=t.y,i=n.x,a=n.y,s=o<a?xg(e,r,o,i,a):xg(e,r,a,i,o);return Ag(e.element,wg(s),s)}(n,e,t)}))}))).map((function(e){return gg([Sg(e)])}))})).getOrThunk(Cg);var n,r},Tg=function(e,t){return t>=0&&t<e.length&&Mu(e.charAt(t))},Eg=function(e,t){var n=Ao(e.innerText);return t?function(e){return e.replace(/^[ \f\n\r\t\v]+/,"")}(n):n},Pg=function(e,t,n){void 0===n&&(n={});var r=function(e,t){return Be(Be({},e),{format:t,get:!0,selection:!0})}(n,t),o=e.fire("BeforeGetContent",r);if(o.isDefaultPrevented())return e.fire("GetContent",o),o.content;if("text"===o.format)return function(e){return R.from(e.selection.getRng()).map((function(t){var n=R.from(e.dom.getParent(t.commonAncestorContainer,e.dom.isBlock)),r=e.getBody(),o=function(e){return e.map((function(e){return e.nodeName})).getOr("div").toLowerCase()}(n),i=wt.browser.isIE()&&"pre"!==o,a=e.dom.add(r,o,{"data-mce-bogus":"all",style:"overflow: hidden; opacity: 0;"},t.cloneContents()),s=Eg(a,i),l=Ao(a.textContent);if(e.dom.remove(a),Tg(l,0)||Tg(l,l.length-1)){var c=n.getOr(r),u=Eg(c,i),d=u.indexOf(s);return-1===d?s:(Tg(u,d-1)?" ":"")+s+(Tg(u,d+s.length)?" ":"")}return s})).getOr("")}(e);o.getInner=!0;var i=function(e,t){var n=e.selection.getRng(),r=e.dom.create("body"),o=e.selection.getSel(),i=Yf(e,pd(o)),a=t.contextual?function(e,t){var n=md(t,e);return n.length>0?Qg(e,n):function(e,t){return t.length>0&&t[0].collapsed?Cg():Bg(e,t[0])}(e,t)}(Pt(e.getBody()),i).dom:n.cloneContents();return a&&r.appendChild(a),e.selection.serializer.serialize(r,t)}(e,o);return"tree"===o.format?i:(o.content=e.selection.isCollapsed()?"":i,e.fire("GetContent",o),o.content)},$g=function(e){return En(e)?e.outerHTML:Nn(e)?ui.encodeRaw(e.data,!1):Ln(e)?"\x3c!--"+e.data+"--\x3e":""},Mg=function(e,t){var n,r,o,i,a,s,l,c,u,d=F(se(t.childNodes),$g);return function(e,t){var n=0;H(e,(function(e){0===e[0]?n++:1===e[0]?(function(e,t,n){var r=function(e){var t,n=document.createElement("div"),r=document.createDocumentFragment();for(e&&(n.innerHTML=e);t=n.firstChild;)r.appendChild(t);return r}(t);if(e.hasChildNodes()&&n<e.childNodes.length){var o=e.childNodes[n];o.parentNode.insertBefore(r,o)}else e.appendChild(r)}(t,e[1],n),n++):2===e[0]&&function(e,t){if(e.hasChildNodes()&&t<e.childNodes.length){var n=e.childNodes[t];n.parentNode.removeChild(n)}}(t,n)}))}((r=e,o=(n=d).length+r.length+2,i=new Array(o),a=new Array(o),s=function(e,t,o,i,a){var l=c(e,t,o,i);if(null===l||l.start===t&&l.diag===t-i||l.end===e&&l.diag===e-o)for(var u=e,d=o;u<t||d<i;)u<t&&d<i&&n[u]===r[d]?(a.push([0,n[u]]),++u,++d):t-e>i-o?(a.push([2,n[u]]),++u):(a.push([1,r[d]]),++d);else{s(e,l.start,o,l.start-l.diag,a);for(var f=l.start;f<l.end;++f)a.push([0,n[f]]);s(l.end,t,l.end-l.diag,i,a)}},l=function(e,t,o,i){for(var a=e;a-t<i&&a<o&&n[a]===r[a-t];)++a;return function(e,t,n){return{start:e,end:t,diag:n}}(e,a,t)},c=function(e,t,o,s){var c=t-e,u=s-o;if(0===c||0===u)return null;var d,f,h,p,m,g=c-u,A=u+c,v=(A%2==0?A:A+1)/2;for(i[1+v]=e,a[1+v]=t+1,d=0;d<=v;++d){for(f=-d;f<=d;f+=2){for(h=f+v,f===-d||f!==d&&i[h-1]<i[h+1]?i[h]=i[h+1]:i[h]=i[h-1]+1,m=(p=i[h])-e+o-f;p<t&&m<s&&n[p]===r[m];)i[h]=++p,++m;if(g%2!=0&&g-d<=f&&f<=g+d&&a[h-g]<=i[h])return l(a[h-g],f+e-o,t,s)}for(f=g-d;f<=g+d;f+=2){for(h=f+v-g,f===g-d||f!==g+d&&a[h+1]<=a[h-1]?a[h]=a[h+1]-1:a[h]=a[h-1],m=(p=a[h]-1)-e+o-f;p>=e&&m>=o&&n[p]===r[m];)a[h]=p--,m--;if(g%2==0&&-d<=f&&f<=d&&a[h]<=i[h+g])return l(a[h],f+e-o,t,s)}}},u=[],s(0,n.length,0,r.length,u),u),t),t},zg=Te((function(){return document.implementation.createHTMLDocument("undo")})),Rg=function(e){var t,n=(t=e.getBody(),j(F(se(t.childNodes),$g),(function(e){return e.length>0}))),r=J(n,(function(t){var n=ph(e.serializer,t);return n.length>0?[n]:[]})),o=r.join("");return-1!==o.indexOf("</iframe>")?function(e){return{type:"fragmented",fragments:e,content:"",bookmark:null,beforeBookmark:null}}(r):function(e){return{type:"complete",fragments:null,content:e,bookmark:null,beforeBookmark:null}}(o)},Dg=function(e,t,n){var r=n?t.beforeBookmark:t.bookmark;"fragmented"===t.type?Mg(t.fragments,e.getBody()):e.setContent(t.content,{format:"raw",no_selection:!v(r)||!_u(r)||!r.isFakeCaret}),e.selection.moveToBookmark(r)},Ig=function(e){return"fragmented"===e.type?e.fragments.join(""):e.content},Ng=function(e){var t=Tt("body",zg());return Ms(t,Ig(e)),H(ks(t,"*[data-mce-bogus]"),vn),t.dom.innerHTML},Lg=function(e,t){return!(!e||!t)&&(!!function(e,t){return Ig(e)===Ig(t)}(e,t)||function(e,t){return Ng(e)===Ng(t)}(e,t))},Vg=function(e){return 0===e.get()},Ug=function(e,t,n){Vg(n)&&(e.typing=t)},Fg=function(e,t){e.typing&&(Ug(e,!1,t),e.add())},Hg=function(e){return{undoManager:{beforeChange:function(t,n){return function(e,t,n){Vg(t)&&n.set(Rl(e.selection))}(e,t,n)},add:function(t,n,r,o,i,a){return function(e,t,n,r,o,i,a){var s=Rg(e);if(i=i||{},i=Ct.extend(i,s),!1===Vg(r)||e.removed)return null;var l=t.data[n.get()];if(e.fire("BeforeAddUndo",{level:i,lastLevel:l,originalEvent:a}).isDefaultPrevented())return null;if(l&&Lg(l,i))return null;t.data[n.get()]&&o.get().each((function(e){t.data[n.get()].beforeBookmark=e}));var c=function(e){return e.getParam("custom_undo_redo_levels",0,"number")}(e);if(c&&t.data.length>c){for(var u=0;u<t.data.length-1;u++)t.data[u]=t.data[u+1];t.data.length--,n.set(t.data.length)}i.bookmark=Rl(e.selection),n.get()<t.data.length-1&&(t.data.length=n.get()+1),t.data.push(i),n.set(t.data.length-1);var d={level:i,lastLevel:l,originalEvent:a};return n.get()>0?(e.setDirty(!0),e.fire("AddUndo",d),e.fire("change",d)):e.fire("AddUndo",d),i}(e,t,n,r,o,i,a)},undo:function(t,n,r){return function(e,t,n,r){var o;return t.typing&&(t.add(),t.typing=!1,Ug(t,!1,n)),r.get()>0&&(r.set(r.get()-1),o=t.data[r.get()],Dg(e,o,!0),e.setDirty(!0),e.fire("Undo",{level:o})),o}(e,t,n,r)},redo:function(t,n){return function(e,t,n){var r;return t.get()<n.length-1&&(t.set(t.get()+1),r=n[t.get()],Dg(e,r,!1),e.setDirty(!0),e.fire("Redo",{level:r})),r}(e,t,n)},clear:function(t,n){return function(e,t,n){t.data=[],n.set(0),t.typing=!1,e.fire("ClearUndos")}(e,t,n)},reset:function(e){return function(e){e.clear(),e.add()}(e)},hasUndo:function(t,n){return function(e,t,n){return n.get()>0||t.typing&&t.data[0]&&!Lg(Rg(e),t.data[0])}(e,t,n)},hasRedo:function(e,t){return function(e,t){return t.get()<e.data.length-1&&!e.typing}(e,t)},transact:function(e,t,n){return function(e,t,n){return Fg(e,t),e.beforeChange(),e.ignore(n),e.add()}(e,t,n)},ignore:function(e,t){return function(e,t){try{e.set(e.get()+1),t()}finally{e.set(e.get()-1)}}(e,t)},extra:function(t,n,r,o){return function(e,t,n,r,o){if(t.transact(r)){var i=t.data[n.get()].bookmark,a=t.data[n.get()-1];Dg(e,a,!0),t.transact(o)&&(t.data[n.get()-1].beforeBookmark=i)}}(e,t,n,r,o)}},formatter:{match:function(t,n,r,o){return bm(e,t,n,r,o)},matchAll:function(t,n){return function(e,t,n){var r=[],o={},i=e.selection.getStart();return e.dom.getParent(i,(function(i){for(var a=0;a<t.length;a++){var s=t[a];!o[s]&&Om(e,i,s,n)&&(o[s]=!0,r.push(s))}}),e.dom.getRoot()),r}(e,t,n)},matchNode:function(t,n,r,o){return Om(e,t,n,r,o)},canApply:function(t){return function(e,t){var n=e.formatter.get(t),r=e.dom;if(n)for(var o=e.selection.getStart(),i=ju(r,o),a=n.length-1;a>=0;a--){var s=n[a];if(!Zu(s)||v(s.defaultBlock))return!0;for(var l=i.length-1;l>=0;l--)if(r.is(i[l],s.selector))return!0}return!1}(e,t)},closest:function(t){return function(e,t){var n=function(t){return Rt(t,Pt(e.getBody()))};return R.from(e.selection.getStart(!0)).bind((function(r){return pm(Pt(r),(function(n){return le(t,(function(t){return function(t,n){return Om(e,t.dom,n)?R.some(n):R.none()}(n,t)}))}),n)})).getOrNull()}(e,t)},apply:function(t,n,r){return ug(e,t,n,r)},remove:function(t,n,r,o){return ag(e,t,n,r,o)},toggle:function(t,n,r){return function(e,t,n,r){var o=e.formatter.get(t);!bm(e,t,n,r)||"toggle"in o[0]&&!o[0].toggle?ug(e,t,n,r):ag(e,t,n,r)}(e,t,n,r)},formatChanged:function(t,n,r,o,i){return function(e,t,n,r,o,i){return null===t.get()&&function(e,t){e.set({}),t.on("NodeChange",(function(n){mg(t,n.element,e.get())})),t.on("FormatApply FormatRemove",(function(n){var r=R.from(n.node).map((function(e){return Ru(e)?e:e.startContainer})).bind((function(e){return En(e)?R.some(e):R.from(e.parentElement)})).getOrThunk((function(){return fg(t)}));mg(t,r,e.get())}))}(t,e),function(e,t,n,r,o,i){var a=t.get();H(n.split(","),(function(t){var n=Ae(a,t).getOrThunk((function(){var e={withSimilar:{state:fs(!1),similar:!0,callbacks:[]},withoutSimilar:{state:fs(!1),similar:!1,callbacks:[]},withVars:[]};return a[t]=e,e})),s=function(){var n=pg(e);return hg(e,n,t,o,i).isSome()};if(g(i)){var l=o?n.withSimilar:n.withoutSimilar;l.callbacks.push(r),1===l.callbacks.length&&l.state.set(s())}else n.withVars.push({state:fs(s()),similar:o,vars:i,callback:r})})),t.set(a)}(e,t,n,r,o,i),{unbind:function(){return function(e,t,n){var r=e.get();H(t.split(","),(function(e){return Ae(r,e).each((function(t){r[e]={withSimilar:Be(Be({},t.withSimilar),{callbacks:j(t.withSimilar.callbacks,(function(e){return e!==n}))}),withoutSimilar:Be(Be({},t.withoutSimilar),{callbacks:j(t.withoutSimilar.callbacks,(function(e){return e!==n}))}),withVars:j(t.withVars,(function(e){return e.callback!==n}))}}))})),e.set(r)}(t,n,r)}}}(e,t,n,r,o,i)}},editor:{getContent:function(t,n){return function(e,t,n){return R.from(e.getBody()).fold(x("tree"===t.format?new th("body",11):""),(function(r){return function(e,t,n,r){var o,i=function(e,t){return Be(Be({},e),{format:t,get:!0,getInner:!0})}(t,n),a=t.no_events?i:e.fire("BeforeGetContent",i);return o="raw"===a.format?Ct.trim(mh(e.serializer,r.innerHTML)):"text"===a.format?e.dom.isEmpty(r)?"":Ao(r.innerText||r.textContent):"tree"===a.format?e.serializer.serialize(r,a):function(e,t){var n=Ll(e),r=new RegExp("^(<"+n+"[^>]*>(&nbsp;|&#160;|\\s| |<br \\/>|)<\\/"+n+">[\r\n]*|<br \\/>[\r\n]*)$");return t.replace(r,"")}(e,e.serializer.serialize(r,a)),V(["text","tree"],a.format)||ho(Pt(r))?a.content=o:a.content=Ct.trim(o),a.no_events?a.content:e.fire("GetContent",a).content}(e,t,n,r)}))}(e,t,n)},setContent:function(t,n){return dm(e,t,n)},insertContent:function(t,n){return sm(e,t,n)},addVisual:function(t){return function(e,t){var n=e.dom,r=v(t)?t:e.getBody();g(e.hasVisual)&&(e.hasVisual=function(e){return e.getParam("visual",!0,"boolean")}(e)),H(n.select("table,a",r),(function(t){switch(t.nodeName){case"TABLE":var r=function(e){return e.getParam("visual_table_class","mce-item-table","string")}(e),o=n.getAttrib(t,"border");o&&"0"!==o||!e.hasVisual?n.removeClass(t,r):n.addClass(t,r);break;case"A":if(!n.getAttrib(t,"href")){var i=n.getAttrib(t,"name")||t.id,a=function(e){return e.getParam("visual_anchor_class","mce-item-anchor","string")}(e);i&&e.hasVisual?n.addClass(t,a):n.removeClass(t,a)}}})),e.fire("VisualAid",{element:t,hasVisual:e.hasVisual})}(e,t)}},selection:{getContent:function(t,n){return Pg(e,t,n)}},raw:{getModel:function(){return R.none()}}}},Wg=function(e){return ve(e.plugins,"rtc")},Xg=function(e){return e.rtcInstance?e.rtcInstance:Hg(e)},jg=function(e){var t=e.rtcInstance;if(t)return t;throw new Error("Failed to get RTC instance not yet initialized.")},qg=function(e){return 0===e.dom.length?(An(e),R.none()):R.some(e)},Zg=function(e,t,n,r){e.bind((function(e){return(r?vp:Ap)(e.dom,r?e.dom.length:0),t.filter(Ut).map((function(t){return function(e,t,n,r){var o=e.dom,i=t.dom,a=r?o.length:i.length;r?(yp(o,i,!1,!r),n.setStart(i,a)):(yp(i,o,!1,!r),n.setEnd(i,a))}(e,t,n,r)}))})).orThunk((function(){var e=function(e,t){return e.filter((function(e){return Td.isBookmarkNode(e.dom)})).bind(t?Yt:Zt)}(t,r).or(t).filter(Ut);return e.map((function(e){return function(e,t){qt(e).each((function(n){var r=e.dom;t&&cp(n,pl(r,0))?Ap(r,0):!t&&up(n,pl(r,r.length))&&vp(r,r.length)}))}(e,r)}))}))},Yg=function(e,t,n){if(e&&ve(e,t)){var r=j(e[t],(function(e){return e!==n}));0===r.length?delete e[t]:e[t]=r}},Gg=function(e){return!!e.select},Kg=function(e){return!(!e||!e.ownerDocument)&&Dt(Pt(e.ownerDocument),Pt(e))},Jg=function(e,t,n,r){var o,i,a=function(e,t){var n,r,o=function(t,n){return G(n,(function(n){return e.is(n,t)}))},i=function(t){return e.getParents(t,null,e.getRoot())};return{selectorChangedWithUnbind:function(e,a){return n||(n={},r={},t.on("NodeChange",(function(e){var t=e.element,a=i(t),s={};Ct.each(n,(function(e,t){o(t,a).each((function(n){r[t]||(H(e,(function(e){e(!0,{node:n,selector:t,parents:a})})),r[t]=e),s[t]=e}))})),Ct.each(r,(function(e,n){s[n]||(delete r[n],Ct.each(e,(function(e){e(!1,{node:t,selector:n,parents:a})})))}))}))),n[e]||(n[e]=[]),n[e].push(a),o(e,i(t.selection.getStart())).each((function(){r[e]=n[e]})),{unbind:function(){Yg(n,e,a),Yg(r,e,a)}}}}}(e,r).selectorChangedWithUnbind,s=function(e,t){return function(e,t,n){void 0===n&&(n={});var r=function(e,t){return Be(Be({format:"html"},e),{set:!0,selection:!0,content:t})}(n,t),o=r;if(!r.no_events){var i=e.fire("BeforeSetContent",r);if(i.isDefaultPrevented())return void e.fire("SetContent",i);o=i}o.content=function(e,t){if("raw"!==t.format){var n=e.selection.getRng(),r=e.dom.getParent(n.commonAncestorContainer,e.dom.isBlock),o=r?{context:r.nodeName.toLowerCase()}:{},i=e.parser.parse(t.content,Be(Be({isRootContent:!0,forced_root_block:!1},o),t));return Oh({validate:e.validate},e.schema).serialize(i)}return t.content}(e,o);var a=e.selection.getRng();!function(e,t){var n=R.from(t.firstChild).map(Pt),r=R.from(t.lastChild).map(Pt);e.deleteContents(),e.insertNode(t);var o=n.bind(Zt).filter(Ut).bind(qg),i=r.bind(Yt).filter(Ut).bind(qg);Zg(o,n,e,!0),Zg(i,r,e,!1),e.collapse(!1)}(a,a.createContextualFragment(o.content)),e.selection.setRng(a),Of(e,a),o.no_events||e.fire("SetContent",o)}(r,e,t)},l=function(e){var t=u();t.collapse(!!e),d(t)},c=function(){return t.getSelection?t.getSelection():t.document.selection},u=function(){var n,a,s,l=function(e,t,n){try{return t.compareBoundaryPoints(e,n)}catch(e){return-1}},u=t.document;if(void 0!==r.bookmark&&!1===Hf(r)){var d=zf(r);if(d.isSome())return d.map((function(e){return Yf(r,[e])[0]})).getOr(u.createRange())}try{(n=c())&&!Tn(n.anchorNode)&&(a=n.rangeCount>0?n.getRangeAt(0):n.createRange?n.createRange():u.createRange(),a=Yf(r,[a])[0])}catch(e){}return a||(a=u.createRange?u.createRange():u.body.createTextRange()),a.setStart&&9===a.startContainer.nodeType&&a.collapsed&&(s=e.getRoot(),a.setStart(s,0),a.setEnd(s,0)),o&&i&&(0===l(a.START_TO_START,a,o)&&0===l(a.END_TO_END,a,o)?a=i:(o=null,i=null)),a},d=function(e,t){var n;if(function(e){return!!e&&(!!Gg(e)||Kg(e.startContainer)&&Kg(e.endContainer))}(e)){var a=Gg(e)?e:null;if(a){i=null;try{a.select()}catch(e){}}else{var s=c();if(e=r.fire("SetSelectionRange",{range:e,forward:t}).range,s){i=e;try{s.removeAllRanges(),s.addRange(e)}catch(e){}!1===t&&s.extend&&(s.collapse(e.endContainer,e.endOffset),s.extend(e.startContainer,e.startOffset)),o=s.rangeCount>0?s.getRangeAt(0):null}e.collapsed||e.startContainer!==e.endContainer||!s.setBaseAndExtent||wt.ie||e.endOffset-e.startOffset<2&&e.startContainer.hasChildNodes()&&(n=e.startContainer.childNodes[e.startOffset])&&"IMG"===n.tagName&&(s.setBaseAndExtent(e.startContainer,e.startOffset,e.endContainer,e.endOffset),s.anchorNode===e.startContainer&&s.focusNode===e.endContainer||s.setBaseAndExtent(n,0,n,1)),r.fire("AfterSetSelectionRange",{range:e,forward:t})}}},f=function(){var t=c(),n=null==t?void 0:t.anchorNode,r=null==t?void 0:t.focusNode;if(!t||!n||!r||Tn(n)||Tn(r))return!0;var o=e.createRng();o.setStart(n,t.anchorOffset),o.collapse(!0);var i=e.createRng();return i.setStart(r,t.focusOffset),i.collapse(!0),o.compareBoundaryPoints(o.START_TO_START,i)<=0},h={bookmarkManager:null,controlSelection:null,dom:e,win:t,serializer:n,editor:r,collapse:l,setCursorLocation:function(t,n){var o=e.createRng();v(t)&&v(n)?(o.setStart(t,n),o.setEnd(t,n),d(o),l(!1)):(bd(e,o,r.getBody(),!0),d(o))},getContent:function(e){return function(e,t){return void 0===t&&(t={}),function(e,t,n){return jg(e).selection.getContent(t,n)}(e,t.format?t.format:"html",t)}(r,e)},setContent:s,getBookmark:function(e,t){return p.getBookmark(e,t)},moveToBookmark:function(e){return p.moveToBookmark(e)},select:function(t,n){return function(e,t,n){return R.from(t).map((function(t){var r=e.nodeIndex(t),o=e.createRng();return o.setStart(t.parentNode,r),o.setEnd(t.parentNode,r+1),n&&(bd(e,o,t,!0),bd(e,o,t,!1)),o}))}(e,t,n).each(d),t},isCollapsed:function(){var e=u(),t=c();return!(!e||e.item)&&(e.compareEndPoints?0===e.compareEndPoints("StartToEnd",e):!t||e.collapsed)},isForward:f,setNode:function(t){return s(e.getOuterHTML(t)),t},getNode:function(){return function(e,t){var n,r,o;if(!t)return e;r=t.startContainer,o=t.endContainer;var i=t.startOffset,a=t.endOffset;return n=t.commonAncestorContainer,!t.collapsed&&(r===o&&a-i<2&&r.hasChildNodes()&&(n=r.childNodes[i]),3===r.nodeType&&3===o.nodeType&&(r=r.length===i?Zf(r.nextSibling,!0):r.parentNode,o=0===a?Zf(o.previousSibling,!1):o.parentNode,r&&r===o))?r:n&&3===n.nodeType?n.parentNode:n}(r.getBody(),u())},getSel:c,setRng:d,getRng:u,getStart:function(e){return jf(r.getBody(),u(),e)},getEnd:function(e){return qf(r.getBody(),u(),e)},getSelectedBlocks:function(t,n){return function(e,t,n,r){var o,i=[],a=e.getRoot();if(n=e.getParent(n||jf(a,t,t.collapsed),e.isBlock),r=e.getParent(r||qf(a,t,t.collapsed),e.isBlock),n&&n!==a&&i.push(n),n&&r&&n!==r){o=n;for(var s=new to(n,a);(o=s.next())&&o!==r;)e.isBlock(o)&&i.push(o)}return r&&n!==r&&r!==a&&i.push(r),i}(e,u(),t,n)},normalize:function(){var t=u(),n=c();if(!(pd(n).length>1)&&wd(r)){var o=Yd(e,t);return o.each((function(e){d(e,f())})),o.getOr(t)}return t},selectorChanged:function(e,t){return a(e,t),h},selectorChangedWithUnbind:a,getScrollContainer:function(){for(var t,n=e.getRoot();n&&"BODY"!==n.nodeName;){if(n.scrollHeight>n.clientHeight){t=n;break}n=n.parentNode}return t},scrollIntoView:function(e,t){v(e)?function(e,t,n){(e.inline?Af:yf)(e,t,n)}(r,e,t):Of(r,u(),t)},placeCaretAt:function(e,t){return d(Ld(e,t,r.getDoc()))},getBoundingClientRect:function(){var e=u();return e.collapsed?pl.fromRangeStart(e).getClientRects()[0]:e.getBoundingClientRect()},destroy:function(){t=o=i=null,m.destroy()}},p=Td(h),m=Id(h,r);return h.bookmarkManager=p,h.controlSelection=m,h},eA=function(e,t){var n=wi();t.convert_fonts_to_spans&&function(e,t,n){e.addNodeFilter("font",(function(e){H(e,(function(e){var r=t.parse(e.attr("style")),o=e.attr("color"),i=e.attr("face"),a=e.attr("size");o&&(r.color=o),i&&(r["font-family"]=i),a&&(r["font-size"]=n[parseInt(e.attr("size"),10)-1]),e.name="span",e.attr("style",t.serialize(r)),function(e){H(["color","face","size"],(function(t){e.attr(t,null)}))}(e)}))}))}(e,n,Ct.explode(t.font_size_legacy_values)),function(e,t){e.addNodeFilter("strike",(function(e){H(e,(function(e){var n=t.parse(e.attr("style"));n["text-decoration"]="line-through",e.name="span",e.attr("style",t.serialize(n))}))}))}(e,n)},tA=function(e){var t,n=decodeURIComponent(e).split(","),r=/data:([^;]+)/.exec(n[0]);return r&&(t=r[1]),{type:t,data:n[1]}},nA=function(e,t){var n;try{n=atob(t)}catch(e){return R.none()}for(var r=new Uint8Array(n.length),o=0;o<r.length;o++)r[o]=n.charCodeAt(o);return R.some(new Blob([r],{type:e}))},rA=function(e){return 0===e.indexOf("blob:")?function(e){return new qr((function(t,n){var r=function(){n("Cannot convert "+e+" to Blob. Resource might not exist or is inaccessible.")};try{var o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){200===o.status?t(o.response):r()},o.onerror=r,o.send()}catch(e){r()}}))}(e):0===e.indexOf("data:")?(t=e,new qr((function(e){var n=tA(t),r=n.type,o=n.data;nA(r,o).fold((function(){return e(new Blob([]))}),e)}))):null;var t},oA=0,iA=function(e){return(e||"blobid")+oA++},aA=function(e,t){var n={};return{findAll:function(r,o){o||(o=P);var i=j(function(e){return e?se(e.getElementsByTagName("img")):[]}(r),(function(t){var n=t.src;return!!wt.fileApi&&!t.hasAttribute("data-mce-bogus")&&!t.hasAttribute("data-mce-placeholder")&&!(!n||n===wt.transparentSrc)&&(0===n.indexOf("blob:")?!e.isUploaded(n)&&o(t):0===n.indexOf("data:")&&o(t))})),a=F(i,(function(e){if(void 0!==n[e.src])return new qr((function(t){n[e.src].then((function(n){if("string"==typeof n)return n;t({image:e,blobInfo:n.blobInfo})}))}));var r=new qr((function(n,r){!function(e,t,n,r){var o,i;if(0!==t.src.indexOf("blob:")){var a=tA(t.src),s=a.data,l=a.type;o=s,(i=e.getByData(o,l))?n({image:t,blobInfo:i}):rA(t.src).then((function(r){i=e.create(iA(),r,o),e.add(i),n({image:t,blobInfo:i})}),(function(e){r(e)}))}else(i=e.getByUri(t.src))?n({image:t,blobInfo:i}):rA(t.src).then((function(r){(function(e){return new qr((function(t){var n=new FileReader;n.onloadend=function(){t(n.result)},n.readAsDataURL(e)}))})(r).then((function(a){o=tA(a).data,i=e.create(iA(),r,o),e.add(i),n({image:t,blobInfo:i})}))}),(function(e){r(e)}))}(t,e,n,r)})).then((function(e){return delete n[e.image.src],e})).catch((function(t){return delete n[e.src],t}));return n[e.src]=r,r}));return qr.all(a)}}},sA=function(e,t,n,r){(e.padd_empty_with_br||t.insert)&&n[r.name]?r.empty().append(new th("br",1)).shortEnded=!0:r.empty().append(new th("#text",3)).value=po},lA=function(e,t){return e&&e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.name===t},cA=function(e,t,n,r){return r.isEmpty(t,n,(function(t){return function(e,t){var n=e.getElementRule(t.name);return n&&n.paddEmpty}(e,t)}))},uA=Ct.makeMap,dA=Ct.each,fA=Ct.explode,hA=Ct.extend,pA=function(e,t){void 0===t&&(t=Oi());var n={},r=[],o={},i={};(e=e||{}).validate=!("validate"in e)||e.validate,e.root_name=e.root_name||"body";var a=function(e){var t=e.name;t in n&&((s=o[t])?s.push(e):o[t]=[e]);for(var a=r.length;a--;){var s,l=r[a].name;l in e.attributes.map&&((s=i[l])?s.push(e):i[l]=[e])}return e},s={schema:t,addAttributeFilter:function(e,t){dA(fA(e),(function(e){var n;for(n=0;n<r.length;n++)if(r[n].name===e)return void r[n].callbacks.push(t);r.push({name:e,callbacks:[t]})}))},getAttributeFilters:function(){return[].concat(r)},addNodeFilter:function(e,t){dA(fA(e),(function(e){var r=n[e];r||(n[e]=r=[]),r.push(t)}))},getNodeFilters:function(){var e=[];for(var t in n)ve(n,t)&&e.push({name:t,callbacks:n[t]});return e},filterNode:a,parse:function(s,l){var c,u,d,f,h,p,m,g,A=[];l=l||{},o={},i={};var v=hA(uA("script,style,head,html,body,title,meta,param"),t.getBlockElements()),y=t.getNonEmptyElements(),O=t.children,b=e.validate,w=function(e){return!1===e?"":!0===e?"p":e}("forced_root_block"in l?l.forced_root_block:e.forced_root_block),_=t.getWhiteSpaceElements(),x=/^[ \t\r\n]+/,S=/[ \t\r\n]+$/,k=/[ \t\r\n]+/g,C=/^[ \t\r\n]+$/,B=ve(_,l.context)||ve(_,e.root_name),Q=function(e,t){var r,i=new th(e,t);return e in n&&((r=o[e])?r.push(i):o[e]=[i]),i},T=function(e){for(var n=t.getBlockElements(),r=e.prev;r&&3===r.type;){var o=r.value.replace(S,"");if(o.length>0)return void(r.value=o);var i=r.next;if(i){if(3===i.type&&i.value.length){r=r.prev;continue}if(!n[i.name]&&"script"!==i.name&&"style"!==i.name){r=r.prev;continue}}var a=r.prev;r.remove(),r=a}},E=hh({validate:b,document:e.document,allow_html_data_urls:e.allow_html_data_urls,allow_svg_data_urls:e.allow_svg_data_urls,allow_script_urls:e.allow_script_urls,allow_conditional_comments:e.allow_conditional_comments,preserve_cdata:e.preserve_cdata,self_closing_elements:function(e){var t={};for(var n in e)"li"!==n&&"p"!==n&&(t[n]=e[n]);return t}(t.getSelfClosingElements()),cdata:function(e){g.append(Q("#cdata",4)).value=e},text:function(e,t){var n;B||(e=e.replace(k," "),function(e,t){return e&&(ve(t,e.name)||"br"===e.name)}(g.lastChild,v)&&(e=e.replace(x,""))),0!==e.length&&((n=Q("#text",3)).raw=!!t,g.append(n).value=e)},comment:function(e){g.append(Q("#comment",8)).value=e},pi:function(e,t){g.append(Q(e,7)).value=t,T(g)},doctype:function(e){g.append(Q("#doctype",10)).value=e,T(g)},start:function(e,n,o){var a=b?t.getElementRule(e):{};if(a){var s=Q(a.outputName||e,1);s.attributes=n,s.shortEnded=o,g.append(s);var l=O[g.name];l&&O[s.name]&&!l[s.name]&&A.push(s);for(var c=r.length;c--;){var u=r[c].name;u in n.map&&((p=i[u])?p.push(s):i[u]=[s])}v[e]&&T(s),o||(g=s),!B&&_[e]&&(B=!0)}},end:function(n){var r,o,i,a,s=b?t.getElementRule(n):{};if(s){if(v[n]&&!B){if((r=g.firstChild)&&3===r.type)if((o=r.value.replace(x,"")).length>0)r.value=o,r=r.next;else for(i=r.next,r.remove(),r=i;r&&3===r.type;)o=r.value,i=r.next,(0===o.length||C.test(o))&&(r.remove(),r=i),r=i;if((r=g.lastChild)&&3===r.type)if((o=r.value.replace(S,"")).length>0)r.value=o,r=r.prev;else for(i=r.prev,r.remove(),r=i;r&&3===r.type;)o=r.value,i=r.prev,(0===o.length||C.test(o))&&(r.remove(),r=i),r=i}if(B&&_[n]&&(B=!1),s.removeEmpty&&cA(t,y,_,g))return a=g.parent,v[g.name]?g.empty().remove():g.unwrap(),void(g=a);s.paddEmpty&&(function(e){return lA(e,"#text")&&e.firstChild.value===po}(g)||cA(t,y,_,g))&&sA(e,l,v,g),g=g.parent}}},t),P=g=new th(l.context||e.root_name,11);if(E.parse(s,l.format),b&&A.length&&(l.context?l.invalid=!0:function(e){for(var n=uA("tr,td,th,tbody,thead,tfoot,table"),r=t.getNonEmptyElements(),o=t.getWhiteSpaceElements(),i=t.getTextBlockElements(),s=t.getSpecialElements(),l=function(e,n){if(void 0===n&&(n=e.parent),s[e.name])e.empty().remove();else{for(var r=0,o=e.children();r<o.length;r++){var i=o[r];t.isValidChild(n.name,i.name)||l(i,n)}e.unwrap()}},c=0;c<e.length;c++){var u=e[c],d=void 0,f=void 0,h=void 0;if(u.parent&&!u.fixed)if(i[u.name]&&"li"===u.parent.name){for(var p=u.next;p&&i[p.name];)p.name="li",p.fixed=!0,u.parent.insert(p,u.parent),p=p.next;u.unwrap()}else{var m=[u];for(d=u.parent;d&&!t.isValidChild(d.name,u.name)&&!n[d.name];d=d.parent)m.push(d);if(d&&m.length>1)if(t.isValidChild(d.name,u.name)){m.reverse();for(var g=f=a(m[0].clone()),A=0;A<m.length-1;A++){t.isValidChild(g.name,m[A].name)?(h=a(m[A].clone()),g.append(h)):h=g;for(var v=m[A].firstChild;v&&v!==m[A+1];){var y=v.next;h.append(v),v=y}g=h}cA(t,r,o,f)?d.insert(u,m[0],!0):(d.insert(f,m[0],!0),d.insert(u,f)),d=m[0],(cA(t,r,o,d)||lA(d,"br"))&&d.empty().remove()}else l(u);else if(u.parent){if("li"===u.name){if((p=u.prev)&&("ul"===p.name||"ol"===p.name)){p.append(u);continue}if((p=u.next)&&("ul"===p.name||"ol"===p.name)){p.insert(u,p.firstChild,!0);continue}u.wrap(a(new th("ul",1)));continue}t.isValidChild(u.parent.name,"div")&&t.isValidChild("div",u.name)?u.wrap(a(new th("div",1))):l(u)}}}}(A)),w&&("body"===P.name||l.isRootContent)&&function(){var n=P.firstChild,r=null,o=function(e){e&&((n=e.firstChild)&&3===n.type&&(n.value=n.value.replace(x,"")),(n=e.lastChild)&&3===n.type&&(n.value=n.value.replace(S,"")))};if(t.isValidChild(P.name,w.toLowerCase())){for(;n;){var i=n.next;3===n.type||1===n.type&&"p"!==n.name&&!v[n.name]&&!n.attr("data-mce-type")?(r||((r=Q(w,1)).attr(e.forced_root_block_attrs),P.insert(r,n)),r.append(n)):(o(r),r=null),n=i}o(r)}}(),!l.invalid){for(m in o)if(ve(o,m)){for(p=n[m],f=(c=o[m]).length;f--;)c[f].parent||c.splice(f,1);for(u=0,d=p.length;u<d;u++)p[u](c,m,l)}for(u=0,d=r.length;u<d;u++)if((p=r[u]).name in i){for(f=(c=i[p.name]).length;f--;)c[f].parent||c.splice(f,1);for(f=0,h=p.callbacks.length;f<h;f++)p.callbacks[f](c,p.name,l)}}return P}};return function(e,t){var n=e.schema;t.remove_trailing_brs&&e.addNodeFilter("br",(function(e,r,o){var i,a,s,l,c,u,d,f,h=e.length,p=Ct.extend({},n.getBlockElements()),m=n.getNonEmptyElements(),g=n.getWhiteSpaceElements();for(p.body=1,i=0;i<h;i++)if(s=(a=e[i]).parent,p[a.parent.name]&&a===s.lastChild){for(c=a.prev;c;){if("span"!==(u=c.name)||"bookmark"!==c.attr("data-mce-type")){"br"===u&&(a=null);break}c=c.prev}a&&(a.remove(),cA(n,m,g,s)&&(d=n.getElementRule(s.name))&&(d.removeEmpty?s.remove():d.paddEmpty&&sA(t,o,p,s)))}else{for(l=a;s&&s.firstChild===l&&s.lastChild===l&&(l=s,!p[s.name]);)s=s.parent;l===s&&!0!==t.padd_empty_with_br&&((f=new th("#text",3)).value=po,a.replace(f))}})),e.addAttributeFilter("href",(function(e){var n,r,o=e.length;if(!t.allow_unsafe_link_target)for(;o--;){var i=e[o];"a"===i.name&&"_blank"===i.attr("target")&&i.attr("rel",(void 0,r=(n=i.attr("rel"))?Ct.trim(n):"",/\b(noopener)\b/g.test(r)?r:function(e){return e.split(" ").filter((function(e){return e.length>0})).concat(["noopener"]).sort().join(" ")}(r)))}})),t.allow_html_in_named_anchor||e.addAttributeFilter("id,name",(function(e){for(var t,n,r,o,i=e.length;i--;)if("a"===(o=e[i]).name&&o.firstChild&&!o.attr("href")){r=o.parent,t=o.lastChild;do{n=t.prev,r.insert(t,o),t=n}while(t)}})),t.fix_list_elements&&e.addNodeFilter("ul,ol",(function(e){for(var t,n,r=e.length;r--;)if("ul"===(n=(t=e[r]).parent).name||"ol"===n.name)if(t.prev&&"li"===t.prev.name)t.prev.append(t);else{var o=new th("li",1);o.attr("style","list-style-type: none"),t.wrap(o)}})),t.validate&&n.getValidClasses()&&e.addAttributeFilter("class",(function(e){for(var t=n.getValidClasses(),r=e.length;r--;){for(var o=e[r],i=o.attr("class").split(" "),a="",s=0;s<i.length;s++){var l=i[s],c=!1,u=t["*"];u&&u[l]&&(c=!0),u=t[o.name],!c&&u&&u[l]&&(c=!0),c&&(a&&(a+=" "),a+=l)}a.length||(a=null),o.attr("class",a)}})),function(e,t){var n=t.blob_cache,r=function(e){var r,o,i=e.attr("src");(function(e){return e.attr("src")===wt.transparentSrc||v(e.attr("data-mce-placeholder"))})(e)||function(e){return v(e.attr("data-mce-bogus"))}(e)||(r=i,o=/data:([^;]+);base64,([a-z0-9\+\/=\s]+)/i.exec(r),o?R.some({type:o[1],data:decodeURIComponent(o[2])}):R.none()).filter((function(){return function(e,t){if(t.images_dataimg_filter){var n=new Image;return n.src=e.attr("src"),de(e.attributes.map,(function(e,t){n.setAttribute(t,e)})),t.images_dataimg_filter(n)}return!0}(e,t)})).bind((function(e){var t=e.type,r=e.data;return R.from(n.getByData(r,t)).orThunk((function(){return nA(t,r).map((function(e){var t=n.create(iA(),e,r);return n.add(t),t}))}))})).each((function(t){e.attr("src",t.blobUri())}))};n&&e.addAttributeFilter("src",(function(e){return H(e,r)}))}(e,t)}(s,e),function(e,t){t.inline_styles&&eA(e,t)}(s,e),s},mA=function(e,t,n){-1===Ct.inArray(t,n)&&(e.addAttributeFilter(n,(function(e,t){for(var n=e.length;n--;)e[n].attr(t,null)})),t.push(n))},gA=function(e,t){var n=["data-mce-selected"],r=t&&t.dom?t.dom:ss.DOM,o=t&&t.schema?t.schema:Oi(e);e.entity_encoding=e.entity_encoding||"named",e.remove_trailing_brs=!("remove_trailing_brs"in e)||e.remove_trailing_brs;var i=pA(e,o);return function(e,t,n){e.addAttributeFilter("data-mce-tabindex",(function(e,t){for(var n=e.length;n--;){var r=e[n];r.attr("tabindex",r.attr("data-mce-tabindex")),r.attr(t,null)}})),e.addAttributeFilter("src,href,style",(function(e,r){for(var o="data-mce-"+r,i=t.url_converter,a=t.url_converter_scope,s=e.length;s--;){var l=e[s],c=l.attr(o);void 0!==c?(l.attr(r,c.length>0?c:null),l.attr(o,null)):(c=l.attr(r),"style"===r?c=n.serializeStyle(n.parseStyle(c),l.name):i&&(c=i.call(a,c,r,l.name)),l.attr(r,c.length>0?c:null))}})),e.addAttributeFilter("class",(function(e){for(var t=e.length;t--;){var n=e[t],r=n.attr("class");r&&(r=n.attr("class").replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),n.attr("class",r.length>0?r:null))}})),e.addAttributeFilter("data-mce-type",(function(e,t,n){for(var r=e.length;r--;){var o=e[r];if("bookmark"===o.attr("data-mce-type")&&!n.cleanup){var i=R.from(o.firstChild).exists((function(e){return!go(e.value)}));i?o.unwrap():o.remove()}}})),e.addNodeFilter("noscript",(function(e){for(var t=e.length;t--;){var n=e[t].firstChild;n&&(n.value=ui.decode(n.value))}})),e.addNodeFilter("script,style",(function(e,n){for(var r=function(e){return e.replace(/(<!--\[CDATA\[|\]\]-->)/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*((<!--)?(\s*\/\/)?\s*<!\[CDATA\[|(<!--\s*)?\/\*\s*<!\[CDATA\[\s*\*\/|(\/\/)?\s*<!--|\/\*\s*<!--\s*\*\/)\s*[\r\n]*/gi,"").replace(/\s*(\/\*\s*\]\]>\s*\*\/(-->)?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")},o=e.length;o--;){var i=e[o],a=i.firstChild?i.firstChild.value:"";if("script"===n){var s=i.attr("type");s&&i.attr("type","mce-no/type"===s?null:s.replace(/^mce\-/,"")),"xhtml"===t.element_format&&a.length>0&&(i.firstChild.value="// <![CDATA[\n"+r(a)+"\n// ]]>")}else"xhtml"===t.element_format&&a.length>0&&(i.firstChild.value="\x3c!--\n"+r(a)+"\n--\x3e")}})),e.addNodeFilter("#comment",(function(e){for(var r=e.length;r--;){var o=e[r];t.preserve_cdata&&0===o.value.indexOf("[CDATA[")?(o.name="#cdata",o.type=4,o.value=n.decode(o.value.replace(/^\[CDATA\[|\]\]$/g,""))):0===o.value.indexOf("mce:protected ")&&(o.name="#text",o.type=3,o.raw=!0,o.value=unescape(o.value).substr(14))}})),e.addNodeFilter("xml:namespace,input",(function(e,t){for(var n=e.length;n--;){var r=e[n];7===r.type?r.remove():1===r.type&&("input"!==t||r.attr("type")||r.attr("type","text"))}})),e.addAttributeFilter("data-mce-type",(function(t){H(t,(function(t){"format-caret"===t.attr("data-mce-type")&&(t.isEmpty(e.schema.getNonEmptyElements())?t.remove():t.unwrap())}))})),e.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-type,data-mce-resize,data-mce-placeholder",(function(e,t){for(var n=e.length;n--;)e[n].attr(t,null)}))}(i,e,r),{schema:o,addNodeFilter:i.addNodeFilter,addAttributeFilter:i.addAttributeFilter,serialize:function(n,a){void 0===a&&(a={});var s=Be({format:"html"},a),l=function(e,t,n){return function(e,t){return e&&e.hasEventListeners("PreProcess")&&!t.no_events}(e,n)?function(e,t,n){var r,o=e.dom,i=t.cloneNode(!0),a=document.implementation;if(a.createHTMLDocument){var s=a.createHTMLDocument("");Ct.each("BODY"===i.nodeName?i.childNodes:[i],(function(e){s.body.appendChild(s.importNode(e,!0))})),i="BODY"!==i.nodeName?s.body.firstChild:s.body,r=o.doc,o.doc=s}return function(e,t){e.fire("PreProcess",t)}(e,Be(Be({},n),{node:i})),r&&(o.doc=r),i}(e,t,n):t}(t,n,s),c=function(e,t,n){var r=Ao(n.getInner?t.innerHTML:e.getOuterHTML(t));return n.selection||ho(Pt(t))?r:Ct.trim(r)}(r,l,s),u=function(e,t,n){var r=n.selection?Be({forced_root_block:!1},n):n,o=e.parse(t,r);return function(e){var t=function(e){return e&&"br"===e.name},n=e.lastChild;if(t(n)){var r=n.prev;t(r)&&(n.remove(),r.remove())}}(o),o}(i,c,s);return"tree"===s.format?u:function(e,t,n,r,o){var i=function(e,t,n){return Oh(e,t).serialize(n)}(t,n,r);return function(e,t,n){if(!t.no_events&&e){var r=function(e,t){return e.fire("PostProcess",t)}(e,Be(Be({},t),{content:n}));return r.content}return n}(e,o,i)}(t,e,o,u,s)},addRules:o.addValidElements,setRules:o.setValidElements,addTempAttr:C(mA,i,n),getTempAttrs:x(n),getNodeFilters:i.getNodeFilters,getAttributeFilters:i.getAttributeFilters}},AA=function(e,t){var n=gA(e,t);return{schema:n.schema,addNodeFilter:n.addNodeFilter,addAttributeFilter:n.addAttributeFilter,serialize:n.serialize,addRules:n.addRules,setRules:n.setRules,addTempAttr:n.addTempAttr,getTempAttrs:n.getTempAttrs,getNodeFilters:n.getNodeFilters,getAttributeFilters:n.getAttributeFilters}},vA=function(e,t,n){return void 0===n&&(n={}),function(e,t,n){return Xg(e).editor.setContent(t,n)}(e,t,n)},yA=ss.DOM,OA=function(e){return R.from(e).each((function(e){return e.destroy()}))},bA=(Dm=function(e,t){return f(e)&&f(t)?bA(e,t):t},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)throw new Error("Can't merge zero objects");for(var n={},r=0;r<e.length;r++){var o=e[r];for(var i in o)ve(o,i)&&(n[i]=Dm(n[i],o[i]))}return n}),wA="autoresize_on_init,content_editable_state,convert_fonts_to_spans,inline_styles,padd_empty_with_br,block_elements,boolean_attributes,editor_deselector,editor_selector,elements,file_browser_callback_types,filepicker_validator_handler,force_hex_style_colors,force_p_newlines,gecko_spellcheck,images_dataimg_filter,media_scripts,mode,move_caret_before_on_enter_elements,non_empty_elements,self_closing_elements,short_ended_elements,special,spellchecker_select_languages,spellchecker_whitelist,tab_focus,table_responsive_width,text_block_elements,text_inline_elements,toolbar_drawer,types,validate,whitespace_elements,paste_word_valid_elements,paste_retain_style_properties,paste_convert_word_fake_lists".split(","),_A="bbcode,colorpicker,contextmenu,fullpage,legacyoutput,spellchecker,textcolor".split(","),xA="imagetools,toc".split(","),SA=function(e){var t=j(wA,(function(t){return ve(e,t)})),n=e.forced_root_block;return!1!==n&&""!==n||t.push("forced_root_block (false only)"),re(t)},kA=function(e){var t=Ct.makeMap(e.plugins," "),n=function(e){return ve(t,e)},r=Qe(Qe([],j(_A,n),!0),J(xA,(function(e){return n(e)?[e+" (moving to premium)"]:[]})),!0);return re(r)},CA=ht().deviceType,BA=CA.isTouch(),QA=CA.isPhone(),TA=CA.isTablet(),EA=["lists","autolink","autosave"],PA={table_grid:!1,object_resizing:!1,resize:!1},$A=function(e){var t=h(e)?e.join(" "):e,n=F(d(t)?t.split(" "):[],Ie);return j(n,(function(e){return e.length>0}))},MA=function(e,t){return ve(e.sections(),t)},zA=function(e,t){return Ae(e,"toolbar_mode").orThunk((function(){return Ae(e,"toolbar_drawer").map((function(e){return!1===e?"wrap":e}))})).getOr(t)},RA=function(e,t){var n={resize:!1,toolbar_mode:zA(e,"scrolling"),toolbar_sticky:!1};return Be(Be(Be({},PA),n),t?{menubar:!1}:{})},DA=function(e,t){var n=t.external_plugins?t.external_plugins:{};return e&&e.external_plugins?Ct.extend({},e.external_plugins,n):n},IA=function(e,t,n,r){var o=$A(n.forced_plugins),i=$A(r.plugins),a=function(e,t){return MA(e,t)?e.sections()[t]:{}}(t,"mobile"),s=function(e,t){return[].concat($A(e)).concat($A(t))}(o,function(e,t,n,r){return e&&function(e,t){var n=e.sections();return MA(e,t)&&"mobile"===n[t].theme}(t,"mobile")?j(r,C(V,EA)):e&&MA(t,"mobile")?r:n}(e,t,i,a.plugins?$A(a.plugins):i));if(wt.browser.isIE()&&V(s,"rtc"))throw new Error("RTC plugin is not supported on IE 11.");return Ct.extend(r,{plugins:s.join(" ")})},NA=function(e,t,n,r,o){var i=e?{mobile:RA(o.mobile||{},t)}:{},a=function(e,t){var n,r,o=(r={},me(t,(function(t,n){return V(e,n)}),pe(n={}),pe(r)),{t:n,f:r});return function(e,t){return{sections:x(e),settings:x(t)}}(o.t,o.f)}(["mobile"],bA(i,o)),s=Ct.extend(n,r,a.settings(),function(e,t){return e&&MA(t,"mobile")}(e,a)?function(e,t,n){void 0===n&&(n={});var r=e.sections(),o=Ae(r,"mobile").getOr({});return Ct.extend({},n,o)}(a):{},{validate:!0,external_plugins:DA(r,a.settings())});return IA(e,a,r,s)},LA=function(e,t,n){return R.from(t.settings[n]).filter(e)},VA=(Im={},{add:function(e,t){Im[e]=t},get:function(e){return Im[e]?Im[e]:{icons:{}}},has:function(e){return ve(Im,e)}}),UA=function(e,t){return t.dom[e]},FA=function(e,t){return parseInt(or(t,e),10)},HA=C(UA,"clientWidth"),WA=C(UA,"clientHeight"),XA=C(FA,"margin-top"),jA=C(FA,"margin-left"),qA=function(e,t,n){var r=Pt(e.getBody()),o=e.inline?r:Pt(Xt(r).dom.documentElement),i=function(e,t,n,r){var o=function(e){return e.dom.getBoundingClientRect()}(t);return{x:n-(e?o.left+t.dom.clientLeft+jA(t):0),y:r-(e?o.top+t.dom.clientTop+XA(t):0)}}(e.inline,o,t,n);return function(e,t,n){var r=HA(e),o=WA(e);return t>=0&&n>=0&&t<=r&&n<=o}(o,i.x,i.y)},ZA=function(e){var t=[],n=function(){var t,n=e.theme;return n&&n.getNotificationManagerImpl?n.getNotificationManagerImpl():{open:t=function(){throw new Error("Theme did not provide a NotificationManager implementation.")},close:t,reposition:t,getArgs:t}},r=function(){return R.from(t[0])},o=function(){t.length>0&&n().reposition(t)},i=function(e){K(t,(function(t){return t===e})).each((function(e){t.splice(e,1)}))},a=function(a,s){if(void 0===s&&(s=!0),!e.removed&&function(e){var t;return(t=e.inline?e.getBody():e.getContentAreaContainer(),R.from(t).map(Pt)).map(yn).getOr(!1)}(e))return s&&e.fire("BeforeOpenNotification",{notification:a}),G(t,(function(e){return t=n().getArgs(e),r=a,!(t.type!==r.type||t.text!==r.text||t.progressBar||t.timeout||r.progressBar||r.timeout);var t,r})).getOrThunk((function(){e.editorManager.setActive(e);var s=n().open(a,(function(){i(s),o(),r().fold((function(){return e.focus()}),(function(e){return Pt(e.getEl()).dom.focus()}))}));return function(e){t.push(e)}(s),o(),e.fire("OpenNotification",{notification:Be({},s)}),s}))},s=x(t);return function(e){e.on("SkinLoaded",(function(){var t=function(e){return e.getParam("service_message")}(e);t&&a({text:t,type:"warning",timeout:0},!1),o()})),e.on("show ResizeEditor ResizeWindow NodeChange",(function(){Kr.requestAnimationFrame(o)})),e.on("remove",(function(){H(t.slice(),(function(e){n().close(e)}))}))}(e),{open:a,close:function(){r().each((function(e){n().close(e),i(e),o()}))},getNotifications:s}},YA=As.PluginManager,GA=As.ThemeManager,KA=function(e){var t=[],n=function(){var t,n=e.theme;return n&&n.getWindowManagerImpl?n.getWindowManagerImpl():{open:t=function(){throw new Error("Theme did not provide a WindowManager implementation.")},openUrl:t,alert:t,confirm:t,close:t,getParams:t,setParams:t}},r=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return t?t.apply(e,n):void 0}},o=function(n){!function(t){e.fire("CloseWindow",{dialog:t})}(n),0===(t=j(t,(function(e){return e!==n}))).length&&e.focus()},i=function(n){e.editorManager.setActive(e),Mf(e);var r=n();return function(n){t.push(n),function(t){e.fire("OpenWindow",{dialog:t})}(n)}(r),r};return e.on("remove",(function(){H(t,(function(e){n().close(e)}))})),{open:function(e,t){return i((function(){return n().open(e,t,o)}))},openUrl:function(e){return i((function(){return n().openUrl(e,o)}))},alert:function(e,t,o){var i=n();i.alert(e,r(o||i,t))},confirm:function(e,t,o){var i=n();i.confirm(e,r(o||i,t))},close:function(){R.from(t[t.length-1]).each((function(e){n().close(e),o(e)}))}}},JA=function(e,t){e.notificationManager.open({type:"error",text:t})},ev=function(e,t){e._skinLoaded?JA(e,t):e.on("SkinLoaded",(function(){JA(e,t)}))},tv=function(e,t,n){$d(e,t,{message:n}),console.error(n)},nv=function(e,t,n){return n?"Failed to load "+e+": "+n+" from url "+t:"Failed to load "+e+" url: "+t},rv=function(e,t,n){tv(e,"PluginLoadError",nv("plugin",t,n))},ov=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=window.console;r&&(r.error?r.error.apply(r,Qe([e],t,!1)):r.log.apply(r,Qe([e],t,!1)))},iv=function(e,t){var n=e.editorManager.baseURL+"/skins/content",r="content"+e.editorManager.suffix+".css",o=!0===e.inline;return F(t,(function(t){return function(e){return/^[a-z0-9\-]+$/i.test(e)}(t)&&!o?n+"/"+t+"/"+r:e.documentBaseURI.toAbsolute(t)}))},av=function(e){e.contentCSS=e.contentCSS.concat(function(e){return iv(e,function(e){var t=e.getParam("content_css");return d(t)?F(t.split(","),Ie):h(t)?t:!1===t||e.inline?[]:["default"]}(e))}(e),function(e){return iv(e,Jl(e))}(e))},sv=function(){var e={},t=function(e,t){return{status:e,resultUri:t}},n=function(t){return t in e};return{hasBlobUri:n,getResultUri:function(t){var n=e[t];return n?n.resultUri:null},isPending:function(t){return!!n(t)&&1===e[t].status},isUploaded:function(t){return!!n(t)&&2===e[t].status},markPending:function(n){e[n]=t(1,null)},markUploaded:function(n,r){e[n]=t(2,r)},removeFailed:function(t){delete e[t]},destroy:function(){e={}}}},lv=0,cv=function(e){return e+lv+++(t=function(){return Math.round(4294967295*Math.random()).toString(36)},"s"+(new Date).getTime().toString(36)+t()+t()+t());var t},uv=function(e,t){var n={},r=function(e,n,r,o){var i=new XMLHttpRequest;i.open("POST",t.url),i.withCredentials=t.credentials,i.upload.onprogress=function(e){o(e.loaded/e.total*100)},i.onerror=function(){r("Image upload failed due to a XHR Transport error. Code: "+i.status)},i.onload=function(){if(i.status<200||i.status>=300)r("HTTP Error: "+i.status);else{var e,o,a=JSON.parse(i.responseText);a&&"string"==typeof a.location?n((e=t.basePath,o=a.location,e?e.replace(/\/$/,"")+"/"+o.replace(/^\//,""):o)):r("Invalid JSON: "+i.responseText)}};var a=new FormData;a.append("file",e.blob(),e.filename()),i.send(a)},o=function(e,t){return{url:t,blobInfo:e,status:!0}},i=function(e,t,n){return{url:"",blobInfo:e,status:!1,error:{message:t,options:n}}},a=function(e,t){Ct.each(n[e],(function(e){e(t)})),delete n[e]};return!1===y(t.handler)&&(t.handler=r),{upload:function(s,l){return t.url||t.handler!==r?function(r,s){return r=Ct.grep(r,(function(t){return!e.isUploaded(t.blobUri())})),qr.all(Ct.map(r,(function(r){return e.isPending(r.blobUri())?function(e){var t=e.blobUri();return new qr((function(e){n[t]=n[t]||[],n[t].push(e)}))}(r):function(t,n,r){return e.markPending(t.blobUri()),new qr((function(s){var l;try{var c=function(){l&&l.close()};n(t,(function(n){c(),e.markUploaded(t.blobUri(),n),a(t.blobUri(),o(t,n)),s(o(t,n))}),(function(n,r){var o=r||{};c(),e.removeFailed(t.blobUri()),a(t.blobUri(),i(t,n,o)),s(i(t,n,o))}),(function(e){e<0||e>100||R.from(l).orThunk((function(){return R.from(r).map(Q)})).each((function(t){l=t,t.progressBar.value(e)}))}))}catch(e){s(i(t,e.message,{}))}}))}(r,t.handler,s)})))}(s,l):new qr((function(e){e([])}))}}},dv=function(e){return function(){return e.notificationManager.open({text:e.translate("Image uploading..."),type:"info",timeout:-1,progressBar:!0})}},fv=function(e,t){return uv(t,{url:Wl(e),basePath:Xl(e),credentials:jl(e),handler:ql(e)})},hv=Ct.each,pv=ss.DOM,mv=function(e,t){var n,r,o,i=t&&t.schema||Oi({}),a=function(e){r="string"==typeof e?{name:e,classes:[],attrs:{}}:e;var t=pv.create(r.name);return function(e,t){t.classes.length&&pv.addClass(e,t.classes.join(" ")),pv.setAttribs(e,t.attrs)}(t,r),t},s=function(e,t,n){var r,o,l=t.length>0&&t[0],c=l&&l.name,u=function(e,t){var n="string"!=typeof e?e.nodeName.toLowerCase():e,r=i.getElementRule(n),o=r&&r.parentsRequired;return!(!o||!o.length)&&(t&&-1!==Ct.inArray(o,t)?t:o[0])}(e,c);if(u)c===u?(o=t[0],t=t.slice(1)):o=u;else if(l)o=t[0],t=t.slice(1);else if(!n)return e;return o&&(r=a(o)).appendChild(e),n&&(r||(r=pv.create("div")).appendChild(e),Ct.each(n,(function(t){var n=a(t);r.insertBefore(n,e)}))),s(r,t,o&&o.siblings)};return e&&e.length?(r=e[0],n=a(r),(o=pv.create("div")).appendChild(s(n,e.slice(1),r.siblings)),o):""},gv=function(e){var t,n={classes:[],attrs:{}};return"*"!==(e=n.selector=Ct.trim(e))&&(t=e.replace(/(?:([#\.]|::?)([\w\-]+)|(\[)([^\]]+)\]?)/g,(function(e,t,r,o,i){switch(t){case"#":n.attrs.id=r;break;case".":n.classes.push(r);break;case":":-1!==Ct.inArray("checked disabled enabled read-only required".split(" "),r)&&(n.attrs[r]=r)}if("["===o){var a=i.match(/([\w\-]+)(?:\=\"([^\"]+))?/);a&&(n.attrs[a[1]]=a[2])}return""}))),n.name=t||"div",n},Av=function(e,t){var n,r,o,i="",a=function(e){var t=e.getParam("preview_styles","font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow");return d(t)?t:""}(e);if(""===a)return"";var s=function(e){return e.replace(/%(\w+)/g,"")};if("string"==typeof t){if(!(t=e.formatter.get(t)))return;t=t[0]}if("preview"in t){var l=Ae(t,"preview");if(Zn(l,!1))return"";a=l.getOr(a)}n=t.block||t.inline||"span";var c,u=(c=t.selector)&&"string"==typeof c?(c=(c=c.split(/\s*,\s*/)[0]).replace(/\s*(~\+|~|\+|>)\s*/g,"$1"),Ct.map(c.split(/(?:>|\s+(?![^\[\]]+\]))/),(function(e){var t=Ct.map(e.split(/(?:~\+|~|\+)/),gv),n=t.pop();return t.length&&(n.siblings=t),n})).reverse()):[];u.length?(u[0].name||(u[0].name=n),n=t.selector,r=mv(u,e)):r=mv([n],e);var f=pv.select(n,r)[0]||r.firstChild;return hv(t.styles,(function(e,t){var n=s(e);n&&pv.setStyle(f,t,n)})),hv(t.attributes,(function(e,t){var n=s(e);n&&pv.setAttrib(f,t,n)})),hv(t.classes,(function(e){var t=s(e);pv.hasClass(f,t)||pv.addClass(f,t)})),e.fire("PreviewFormats"),pv.setStyles(r,{position:"absolute",left:-65535}),e.getBody().appendChild(r),o=pv.getStyle(e.getBody(),"fontSize",!0),o=/px$/.test(o)?parseInt(o,10):0,hv(a.split(" "),(function(t){var n=pv.getStyle(f,t,!0);if(!("background-color"===t&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(n)&&(n=pv.getStyle(e.getBody(),t,!0),"#ffffff"===pv.toHex(n).toLowerCase())||"color"===t&&"#000000"===pv.toHex(n).toLowerCase())){if("font-size"===t&&/em|%$/.test(n)){if(0===o)return;n=parseFloat(n)/(/%$/.test(n)?100:1)*o+"px"}"border"===t&&n&&(i+="padding:0 2px;"),i+=t+":"+n+";"}})),e.fire("AfterPreviewFormats"),pv.remove(r),i},vv=function(e){var t=function(e){var t={},n=function(e,r){e&&(d(e)?(h(r)||(r=[r]),H(r,(function(e){g(e.deep)&&(e.deep=!Zu(e)),g(e.split)&&(e.split=!Zu(e)||Yu(e)),g(e.remove)&&Zu(e)&&!Yu(e)&&(e.remove="none"),Zu(e)&&Yu(e)&&(e.mixed=!0,e.block_expand=!0),d(e.classes)&&(e.classes=e.classes.split(/\s+/))})),t[e]=r):de(e,(function(e,t){n(t,e)})))};return n(function(e){var t={valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"left"},inherit:!1,preview:!1,defaultBlock:"div"},{selector:"img,table,audio,video",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"center"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"img,table,audio,video",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"justify"},inherit:!1,defaultBlock:"div",preview:"font-family font-size"}],bold:[{inline:"strong",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all",preserve_attributes:["class","style"]}],italic:[{inline:"em",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all",preserve_attributes:["class","style"]}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all",preserve_attributes:["class","style"]}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:!0},{inline:"strike",remove:"all",preserve_attributes:["class","style"]},{inline:"s",remove:"all",preserve_attributes:["class","style"]}],forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},fontname:{inline:"span",toggle:!1,styles:{fontFamily:"%value"},clear_child_styles:!0},fontsize:{inline:"span",toggle:!1,styles:{fontSize:"%value"},clear_child_styles:!0},lineheight:{selector:"h1,h2,h3,h4,h5,h6,p,li,td,th,div",defaultBlock:"p",styles:{lineHeight:"%value"}},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:!0,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:function(e,t,n){return En(e)&&e.hasAttribute("href")},onformat:function(t,n,r){Ct.each(r,(function(n,r){e.setAttrib(t,r,n)}))}},lang:{inline:"span",clear_child_styles:!0,remove_similar:!0,attributes:{lang:"%value","data-mce-lang":function(e){var t;return null!==(t=null==e?void 0:e.customValue)&&void 0!==t?t:null}}},removeformat:[{selector:"b,strong,em,i,font,u,strike,s,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins,small",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]};return Ct.each("p h1 h2 h3 h4 h5 h6 div address pre dt dd samp".split(/\s/),(function(e){t[e]={block:e,remove:"all"}})),t}(e.dom)),n(function(e){return e.getParam("formats")}(e)),{get:function(e){return v(e)?t[e]:t},has:function(e){return ve(t,e)},register:n,unregister:function(e){return e&&t[e]&&delete t[e],t}}}(e),n=fs(null);return function(e){e.addShortcut("meta+b","","Bold"),e.addShortcut("meta+i","","Italic"),e.addShortcut("meta+u","","Underline");for(var t=1;t<=6;t++)e.addShortcut("access+"+t,"",["FormatBlock",!1,"h"+t]);e.addShortcut("access+7","",["FormatBlock",!1,"p"]),e.addShortcut("access+8","",["FormatBlock",!1,"div"]),e.addShortcut("access+9","",["FormatBlock",!1,"address"])}(e),function(e){e.on("mouseup keydown",(function(t){!function(e,t){var n=e.selection,r=e.getBody();Qm(e,null,!1),8!==t&&46!==t||!n.isCollapsed()||n.getStart().innerHTML!==_m||Qm(e,wu(r,n.getStart())),37!==t&&39!==t||Qm(e,wu(r,n.getStart()))}(e,t.keyCode)}))}(e),{get:t.get,has:t.has,register:t.register,unregister:t.unregister,apply:function(t,n,r){!function(e,t,n,r){jg(e).formatter.apply(t,n,r)}(e,t,n,r)},remove:function(t,n,r,o){!function(e,t,n,r,o){jg(e).formatter.remove(t,n,r,o)}(e,t,n,r,o)},toggle:function(t,n,r){!function(e,t,n,r){jg(e).formatter.toggle(t,n,r)}(e,t,n,r)},match:function(t,n,r,o){return function(e,t,n,r,o){return jg(e).formatter.match(t,n,r,o)}(e,t,n,r,o)},closest:function(t){return function(e,t){return jg(e).formatter.closest(t)}(e,t)},matchAll:function(t,n){return function(e,t,n){return jg(e).formatter.matchAll(t,n)}(e,t,n)},matchNode:function(t,n,r,o){return function(e,t,n,r,o){return jg(e).formatter.matchNode(t,n,r,o)}(e,t,n,r,o)},canApply:function(t){return function(e,t){return jg(e).formatter.canApply(t)}(e,t)},formatChanged:function(t,r,o,i){return function(e,t,n,r,o,i){return jg(e).formatter.formatChanged(t,n,r,o,i)}(e,n,t,r,o,i)},getCssText:C(Av,e)}},yv=function(e){switch(e.toLowerCase()){case"undo":case"redo":case"mcerepaint":case"mcefocus":return!0;default:return!1}},Ov=function(e){var t=vs(),n=fs(0),r=fs(0),o={data:[],typing:!1,beforeChange:function(){!function(e,t,n){jg(e).undoManager.beforeChange(t,n)}(e,n,t)},add:function(i,a){return function(e,t,n,r,o,i,a){return jg(e).undoManager.add(t,n,r,o,i,a)}(e,o,r,n,t,i,a)},undo:function(){return function(e,t,n,r){return jg(e).undoManager.undo(t,n,r)}(e,o,n,r)},redo:function(){return function(e,t,n){return jg(e).undoManager.redo(t,n)}(e,r,o.data)},clear:function(){!function(e,t,n){jg(e).undoManager.clear(t,n)}(e,o,r)},reset:function(){!function(e,t){jg(e).undoManager.reset(t)}(e,o)},hasUndo:function(){return function(e,t,n){return jg(e).undoManager.hasUndo(t,n)}(e,o,r)},hasRedo:function(){return function(e,t,n){return jg(e).undoManager.hasRedo(t,n)}(e,o,r)},transact:function(t){return function(e,t,n,r){return jg(e).undoManager.transact(t,n,r)}(e,o,n,t)},ignore:function(t){!function(e,t,n){jg(e).undoManager.ignore(t,n)}(e,n,t)},extra:function(t,n){!function(e,t,n,r,o){jg(e).undoManager.extra(t,n,r,o)}(e,o,r,t,n)}};return Wg(e)||function(e,t,n){var r=fs(!1),o=function(e){Ug(t,!1,n),t.add({},e)};e.on("init",(function(){t.add()})),e.on("BeforeExecCommand",(function(e){var r=e.command;yv(r)||(Fg(t,n),t.beforeChange())})),e.on("ExecCommand",(function(e){var t=e.command;yv(t)||o(e)})),e.on("ObjectResizeStart cut",(function(){t.beforeChange()})),e.on("SaveContent ObjectResized blur",o),e.on("dragend",o),e.on("keyup",(function(n){var i=n.keyCode;n.isDefaultPrevented()||((i>=33&&i<=36||i>=37&&i<=40||45===i||n.ctrlKey)&&(o(),e.nodeChanged()),46!==i&&8!==i||e.nodeChanged(),r.get()&&t.typing&&!1===Lg(Rg(e),t.data[0])&&(!1===e.isDirty()&&(e.setDirty(!0),e.fire("change",{level:t.data[0],lastLevel:null})),e.fire("TypingUndo"),r.set(!1),e.nodeChanged()))})),e.on("keydown",(function(e){var i=e.keyCode;if(!e.isDefaultPrevented())if(i>=33&&i<=36||i>=37&&i<=40||45===i)t.typing&&o(e);else{var a=e.ctrlKey&&!e.altKey||e.metaKey;!(i<16||i>20)||224===i||91===i||t.typing||a||(t.beforeChange(),Ug(t,!0,n),t.add({},e),r.set(!0))}})),e.on("mousedown",(function(e){t.typing&&o(e)})),e.on("input",(function(e){var t;e.inputType&&("insertReplacementText"===e.inputType||"insertText"===(t=e).inputType&&null===t.data||function(e){return"insertFromPaste"===e.inputType||"insertFromDrop"===e.inputType}(e))&&o(e)})),e.on("AddUndo Undo Redo ClearUndos",(function(t){t.isDefaultPrevented()||e.nodeChanged()}))}(e,o,n),function(e){e.addShortcut("meta+z","","Undo"),e.addShortcut("meta+y,meta+shift+z","","Redo")}(e),o},bv=[9,27,Rd.HOME,Rd.END,19,20,44,144,145,33,34,45,16,17,18,91,92,93,Rd.DOWN,Rd.UP,Rd.LEFT,Rd.RIGHT].concat(wt.browser.isFirefox()?[224]:[]),wv="data-mce-placeholder",_v=function(e){return"keydown"===e.type||"keyup"===e.type},xv=function(e){var t=e.keyCode;return t===Rd.BACKSPACE||t===Rd.DELETE},Sv=/[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/,kv=function(e,t){return Mt(Pt(t),function(e){return e.getParam("inline_boundaries_selector","a[href],code,.mce-annotation","string")}(e))},Cv=function(e,t,n){var r=function(e,t,n){return j(ss.DOM.getParents(n.container(),"*",t),e)}(e,t,n);return R.from(r[r.length-1])},Bv=function(e,t){if(!t)return t;var n=t.container(),r=t.offset();return e?bo(n)?Nn(n.nextSibling)?pl(n.nextSibling,0):pl.after(n):xo(t)?pl(n,r+1):t:bo(n)?Nn(n.previousSibling)?pl(n.previousSibling,n.previousSibling.data.length):pl.before(n):So(t)?pl(n,r-1):t},Qv=C(Bv,!0),Tv=C(Bv,!1),Ev=function(e){return so(e)||co(e)},Pv=function(e,t){return Dt(e,t)?Hr(t,Ev,function(e){return function(t){return Rt(e,Pt(t.dom.parentNode))}}(e)):R.none()},$v=function(e){e.dom.isEmpty(e.getBody())&&(e.setContent(""),function(e){var t=e.getBody(),n=t.firstChild&&e.dom.isBlock(t.firstChild)?t.firstChild:t;e.selection.setCursorLocation(n,0)}(e))},Mv=function(e,t){return{from:e,to:t}},zv=function(e,t){var n=Pt(e),r=Pt(t.container());return Pv(n,r).map((function(e){return function(e,t){return{block:e,position:t}}(e,t)}))},Rv=function(e){var t=Jt(e);return K(t,oo).fold(x(t),(function(e){return t.slice(0,e)}))},Dv=function(e){var t=Rv(e);return H(t,An),t},Iv=function(e,t){var n=Fh(t,e);return G(n.reverse(),(function(e){return jo(e)})).each(An)},Nv=function(e,t,n,r){if(jo(n))return Lh(n),vu(n.dom);0===j(Gt(r),(function(e){return!jo(e)})).length&&jo(t)&&dn(r,Tt("br"));var o=Au(n.dom,pl.before(r.dom));return H(Dv(t),(function(e){dn(r,e)})),Iv(e,t),o},Lv=function(e,t,n){if(jo(n))return An(n),jo(t)&&Lh(t),vu(t.dom);var r=yu(n.dom);return H(Dv(t),(function(e){pn(n,e)})),Iv(e,t),r},Vv=function(e,t){mu(e,t.dom).map((function(e){return e.getNode()})).map(Pt).filter(ao).each(An)},Uv=function(e,t,n){return Vv(!0,t),Vv(!1,n),function(e,t){return Dt(t,e)?function(e,t){var n=Fh(t,e);return R.from(n[n.length-1])}(t,e):R.none()}(t,n).fold(C(Lv,e,t,n),C(Nv,e,t,n))},Fv=function(e,t,n,r){return t?Uv(e,r,n):Uv(e,n,r)},Hv=function(e,t){var n=Pt(e.getBody()),r=function(e,t,n){return n.collapsed?function(e,t,n){var r=zv(e,pl.fromRangeStart(n)),o=r.bind((function(n){return fu(t,e,n.position).bind((function(n){return zv(e,n).map((function(n){return function(e,t,n){return Fn(n.position.getNode())&&!1===jo(n.block)?mu(!1,n.block.dom).bind((function(r){return r.isEqual(n.position)?fu(t,e,r).bind((function(t){return zv(e,t)})):R.some(n)})).getOr(n):n}(e,t,n)}))}))}));return Yn(r,o,Mv).filter((function(e){return function(e){return!1===Rt(e.from.block,e.to.block)}(e)&&function(e){return qt(e.from.block).bind((function(t){return qt(e.to.block).filter((function(e){return Rt(t,e)}))})).isSome()}(e)&&function(e){return!1===Xn(e.from.block.dom)&&!1===Xn(e.to.block.dom)}(e)}))}(e,t,n):R.none()}(n.dom,t,e.selection.getRng()).bind((function(e){return Fv(n,t,e.from.block,e.to.block)}));return r.each((function(t){e.selection.setRng(t.toRange())})),r.isSome()},Wv=function(e,t){var n=Pt(t),r=C(Rt,e);return Fr(n,fo,r).isSome()},Xv=function(e){var t=Pt(e.getBody());return function(e,t){var n=Au(e.dom,pl.fromRangeStart(t)).isNone(),r=gu(e.dom,pl.fromRangeEnd(t)).isNone();return!function(e,t){return Wv(e,t.startContainer)||Wv(e,t.endContainer)}(e,t)&&n&&r}(t,e.selection.getRng())?function(e){return e.setContent(""),e.selection.setCursorLocation(),!0}(e):function(e,t){var n=t.getRng();return Yn(Pv(e,Pt(n.startContainer)),Pv(e,Pt(n.endContainer)),(function(r,o){return!1===Rt(r,o)&&(n.deleteContents(),Fv(e,!0,r,o).each((function(e){t.setRng(e.toRange())})),!0)})).getOr(!1)}(t,e.selection)},jv=function(e,t){return!e.selection.isCollapsed()&&Xv(e)},qv=Wn,Zv=Xn,Yv=function(e,t,n,r,o){return R.from(t._selectionOverrides.showCaret(e,n,r,o))},Gv=function(e,t){return e.fire("BeforeObjectSelected",{target:t}).isDefaultPrevented()?R.none():R.some(function(e){var t=e.ownerDocument.createRange();return t.selectNode(e),t}(t))},Kv=function(e,t,n){var r=Fc(1,e.getBody(),t),o=pl.fromRangeStart(r),i=o.getNode();if(wc(i))return Yv(1,e,i,!o.isAtEnd(),!1);var a=o.getNode(!0);if(wc(a))return Yv(1,e,a,!1,!1);var s=e.dom.getParent(o.getNode(),(function(e){return Zv(e)||qv(e)}));return wc(s)?Yv(1,e,s,!1,n):R.none()},Jv=function(e,t,n){return t.collapsed?Kv(e,t,n).getOr(t):t},ey=function(e){return Ih(e)||Mh(e)},ty=function(e){return Nh(e)||zh(e)},ny=function(e,t,n,r,o,i){return Yv(r,e,i.getNode(!o),o,!0).each((function(n){if(t.collapsed){var r=t.cloneRange();o?r.setEnd(n.startContainer,n.startOffset):r.setStart(n.endContainer,n.endOffset),r.deleteContents()}else t.deleteContents();e.selection.setRng(n)})),function(e,t){Nn(t)&&0===t.data.length&&e.remove(t)}(e.dom,n),!0},ry=function(e,t){return function(e,t){var n=e.selection.getRng();if(!Nn(n.commonAncestorContainer))return!1;var r=t?ml.Forwards:ml.Backwards,o=lu(e.getBody()),i=C(jc,t?o.next:o.prev),a=t?ey:ty,s=Wc(r,e.getBody(),n),l=Bv(t,i(s));if(!l||!qc(s,l))return!1;if(a(l))return ny(e,n,s.getNode(),r,t,l);var c=i(l);return!!(c&&a(c)&&qc(l,c))&&ny(e,n,s.getNode(),r,t,c)}(e,t)},oy=wr([{remove:["element"]},{moveToElement:["element"]},{moveToPosition:["position"]}]),iy=function(e,t,n){return fu(t,e,n).bind((function(r){return o=r.getNode(),fo(Pt(o))||co(Pt(o))||function(e,t,n,r){var o=function(t){return io(Pt(t))&&!Rc(n,r,e)};return Hc(!t,n).fold((function(){return Hc(t,r).fold(E,o)}),o)}(e,t,n,r)?R.none():t&&Xn(r.getNode())||!1===t&&Xn(r.getNode(!0))?function(e,t,n,r){var o=r.getNode(!1===t);return Pv(Pt(e),Pt(n.getNode())).map((function(e){return jo(e)?oy.remove(e.dom):oy.moveToElement(o)})).orThunk((function(){return R.some(oy.moveToElement(o))}))}(e,t,n,r):t&&Nh(n)||!1===t&&Ih(n)?R.some(oy.moveToPosition(r)):R.none();var o}))},ay=function(e,t){return R.from(Ed(e.getBody(),t))},sy=function(e,t){var n=e.selection.getNode();return ay(e,n).filter(Xn).fold((function(){return function(e,t,n){var r=Fc(t?1:-1,e,n),o=pl.fromRangeStart(r),i=Pt(e);return!1===t&&Nh(o)?R.some(oy.remove(o.getNode(!0))):t&&Ih(o)?R.some(oy.remove(o.getNode())):!1===t&&Ih(o)&&tp(i,o)?np(i,o).map((function(e){return oy.remove(e.getNode())})):t&&Nh(o)&&ep(i,o)?rp(i,o).map((function(e){return oy.remove(e.getNode())})):function(e,t,n){return function(e,t){var n=t.getNode(!1===e),r=e?"after":"before";return En(n)&&n.getAttribute("data-mce-caret")===r}(t,n)?function(e,t){return e&&Xn(t.nextSibling)?R.some(oy.moveToElement(t.nextSibling)):!1===e&&Xn(t.previousSibling)?R.some(oy.moveToElement(t.previousSibling)):R.none()}(t,n.getNode(!1===t)).fold((function(){return iy(e,t,n)}),R.some):iy(e,t,n).bind((function(t){return function(e,t,n){return n.fold((function(e){return R.some(oy.remove(e))}),(function(e){return R.some(oy.moveToElement(e))}),(function(n){return Rc(t,n,e)?R.none():R.some(oy.moveToPosition(n))}))}(e,n,t)}))}(e,t,o)}(e.getBody(),t,e.selection.getRng()).exists((function(n){return n.fold(function(e,t){return function(n){return e._selectionOverrides.hideFakeCaret(),Cp(e,t,Pt(n)),!0}}(e,t),function(e,t){return function(n){var r=t?pl.before(n):pl.after(n);return e.selection.setRng(r.toRange()),!0}}(e,t),function(e){return function(t){return e.selection.setRng(t.toRange()),!0}}(e))}))}),P)},ly=function(e){var t=e.dom,n=e.selection,r=Ed(e.getBody(),n.getNode());if(Wn(r)&&t.isBlock(r)&&t.isEmpty(r)){var o=t.create("br",{"data-mce-bogus":"1"});t.setHTML(r,""),r.appendChild(o),n.setRng(pl.before(o).toRange())}return!0},cy=function(e,t){return e.selection.isCollapsed()?sy(e,t):function(e,t){var n=e.selection.getNode();return!(!Xn(n)||jn(n))&&ay(e,n.parentNode).filter(Xn).fold((function(){var n;return n=Pt(e.getBody()),H(ks(n,".mce-offscreen-selection"),An),Cp(e,t,Pt(e.selection.getNode())),$v(e),!0}),P)}(e,t)},uy=function(e,t){return!!e.selection.isCollapsed()&&function(e,t){var n=pl.fromRangeStart(e.selection.getRng());return fu(t,e.getBody(),n).filter((function(e){return t?Ph(e):$h(e)})).bind((function(e){return R.from(Dc(t?0:-1,e))})).exists((function(t){return e.selection.select(t),!0}))}(e,t)},dy=Nn,fy=function(e){return dy(e)&&e.data[0]===mo},hy=function(e){return dy(e)&&e.data[e.data.length-1]===mo},py=function(e){return e.ownerDocument.createTextNode(mo)},my=function(e,t){return e?function(e){if(dy(e.previousSibling))return hy(e.previousSibling)||e.previousSibling.appendData(mo),e.previousSibling;if(dy(e))return fy(e)||e.insertData(0,mo),e;var t=py(e);return e.parentNode.insertBefore(t,e),t}(t):function(e){if(dy(e.nextSibling))return fy(e.nextSibling)||e.nextSibling.insertData(0,mo),e.nextSibling;if(dy(e))return hy(e)||e.appendData(mo),e;var t=py(e);return e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t),t}(t)},gy=C(my,!0),Ay=C(my,!1),vy=function(e,t){return Nn(e.container())?my(t,e.container()):my(t,e.getNode())},yy=function(e,t){var n=t.get();return n&&e.container()===n&&bo(n)},Oy=function(e,t){return t.fold((function(t){pc(e.get());var n=gy(t);return e.set(n),R.some(pl(n,n.length-1))}),(function(t){return vu(t).map((function(t){if(yy(t,e))return pl(e.get(),1);pc(e.get());var n=vy(t,!0);return e.set(n),pl(n,1)}))}),(function(t){return yu(t).map((function(t){if(yy(t,e))return pl(e.get(),e.get().length-1);pc(e.get());var n=vy(t,!1);return e.set(n),pl(n,n.length-1)}))}),(function(t){pc(e.get());var n=Ay(t);return e.set(n),R.some(pl(n,1))}))},by=function(e,t){for(var n=0;n<e.length;n++){var r=e[n].apply(null,t);if(r.isSome())return r}return R.none()},wy=wr([{before:["element"]},{start:["element"]},{end:["element"]},{after:["element"]}]),_y=function(e,t){return zc(t,e)||e},xy=function(e,t,n){var r=Qv(n),o=_y(t,r.container());return Cv(e,o,r).fold((function(){return gu(o,r).bind(C(Cv,e,o)).map((function(e){return wy.before(e)}))}),R.none)},Sy=function(e,t){return null===wu(e,t)},ky=function(e,t,n){return Cv(e,t,n).filter(C(Sy,t))},Cy=function(e,t,n){var r=Tv(n);return ky(e,t,r).bind((function(e){return Au(e,r).isNone()?R.some(wy.start(e)):R.none()}))},By=function(e,t,n){var r=Qv(n);return ky(e,t,r).bind((function(e){return gu(e,r).isNone()?R.some(wy.end(e)):R.none()}))},Qy=function(e,t,n){var r=Tv(n),o=_y(t,r.container());return Cv(e,o,r).fold((function(){return Au(o,r).bind(C(Cv,e,o)).map((function(e){return wy.after(e)}))}),R.none)},Ty=function(e){return!1===(t=Py(e),"rtl"===ss.DOM.getStyle(t,"direction",!0)||(n=t.textContent,Sv.test(n)));var t,n},Ey=function(e,t,n){return by([xy,Cy,By,Qy],[e,t,n]).filter(Ty)},Py=function(e){return e.fold(S,S,S,S)},$y=function(e){return e.fold(x("before"),x("start"),x("end"),x("after"))},My=function(e){return e.fold(wy.before,wy.before,wy.after,wy.after)},zy=function(e){return e.fold(wy.start,wy.start,wy.end,wy.end)},Ry=function(e,t,n,r,o,i){return Yn(Cv(t,n,r),Cv(t,n,o),(function(t,r){return t!==r&&function(e,t,n){var r=zc(t,e),o=zc(n,e);return r&&r===o}(n,t,r)?wy.after(e?t:r):i})).getOr(i)},Dy=function(e,t){return e.fold(P,(function(e){return r=t,!($y(n=e)===$y(r)&&Py(n)===Py(r));var n,r}))},Iy=function(e,t){return e?t.fold(w(R.some,wy.start),R.none,w(R.some,wy.after),R.none):t.fold(R.none,w(R.some,wy.before),R.none,w(R.some,wy.end))},Ny=function(e,t,n,r){var o=Bv(e,r),i=Ey(t,n,o);return Ey(t,n,o).bind(C(Iy,e)).orThunk((function(){return function(e,t,n,r,o){var i=Bv(e,o);return fu(e,n,i).map(C(Bv,e)).fold((function(){return r.map(My)}),(function(o){return Ey(t,n,o).map(C(Ry,e,t,n,i,o)).filter(C(Dy,r))})).filter(Ty)}(e,t,n,i,r)}))};C(Ny,!1),C(Ny,!0);var Ly,Vy=function(e,t,n){var r=e?1:-1;return t.setRng(pl(n.container(),n.offset()+r).toRange()),t.getSel().modify("move",e?"forward":"backward","word"),!0};!function(e){e[e.Br=0]="Br",e[e.Block=1]="Block",e[e.Wrap=2]="Wrap",e[e.Eol=3]="Eol"}(Ly||(Ly={}));var Uy,Fy=function(e,t){return e===ml.Backwards?te(t):t},Hy=function(e,t,n){return e===ml.Forwards?t.next(n):t.prev(n)},Wy=function(e,t,n,r){return Fn(r.getNode(t===ml.Forwards))?Ly.Br:!1===Rc(n,r)?Ly.Block:Ly.Wrap},Xy=function(e,t,n,r){for(var o=lu(n),i=r,a=[];i;){var s=Hy(t,o,i);if(!s)break;if(Fn(s.getNode(!1)))return t===ml.Forwards?{positions:Fy(t,a).concat([s]),breakType:Ly.Br,breakAt:R.some(s)}:{positions:Fy(t,a),breakType:Ly.Br,breakAt:R.some(s)};if(s.isVisible()){if(e(i,s)){var l=Wy(0,t,i,s);return{positions:Fy(t,a),breakType:l,breakAt:R.some(s)}}a.push(s),i=s}else i=s}return{positions:Fy(t,a),breakType:Ly.Eol,breakAt:R.none()}},jy=function(e,t,n,r){return t(n,r).breakAt.map((function(r){var o=t(n,r).positions;return e===ml.Backwards?o.concat(r):[r].concat(o)})).getOr([])},qy=function(e,t){return Z(e,(function(e,n){return e.fold((function(){return R.some(n)}),(function(r){return Yn(ie(r.getClientRects()),ie(n.getClientRects()),(function(e,o){var i=Math.abs(t-e.left);return Math.abs(t-o.left)<=i?n:r})).or(e)}))}),R.none())},Zy=function(e,t){return ie(t.getClientRects()).bind((function(t){return qy(e,t.left)}))},Yy=C(Xy,pl.isAbove,-1),Gy=C(Xy,pl.isBelow,1),Ky=C(jy,-1,Yy),Jy=C(jy,1,Gy),eO=function(e){var t=function(t){return F(t,(function(t){var n=Vs(t);return n.node=e,n}))};if(En(e))return t(e.getClientRects());if(Nn(e)){var n=e.ownerDocument.createRange();return n.setStart(e,0),n.setEnd(e,e.data.length),t(n.getClientRects())}},tO=function(e){return J(e,eO)};!function(e){e[e.Up=-1]="Up",e[e.Down=1]="Down"}(Uy||(Uy={}));var nO,rO,oO=function(e,t,n,r,o,i){var a=0,s=[],l=function(r){var i=tO([r]);-1===e&&(i=i.reverse());for(var l=0;l<i.length;l++){var u=i[l];if(!n(u,c)){if(s.length>0&&t(u,Ce(s))&&a++,u.line=a,o(u))return!0;s.push(u)}}},c=Ce(i.getClientRects());if(!c)return s;var u=i.getNode();return l(u),function(e,t,n,r){for(;r=Mc(r,e,Lo,t);)if(n(r))return}(e,r,l,u),s},iO=C(oO,Uy.Up,Hs,Ws),aO=C(oO,Uy.Down,Ws,Hs),sO=function(e){return function(t){return function(e,t){return t.line>e}(e,t)}},lO=function(e){return function(t){return function(e,t){return t.line===e}(e,t)}},cO=Xn,uO=Mc,dO=function(e,t){return Math.abs(e.left-t)},fO=function(e,t){return Math.abs(e.right-t)},hO=function(e,t){return e>=t.left&&e<=t.right},pO=function(e,t){return e>=t.top&&e<=t.bottom},mO=function(e,t,n){return void 0===n&&(n=P),Se(e,(function(e,r){if(hO(t,r))return n(r)?r:e;if(hO(t,e))return n(e)?e:r;var o=Math.min(dO(e,t),fO(e,t)),i=Math.min(dO(r,t),fO(r,t));return i===o&&ye(r,"node")&&cO(r.node)||i<o?r:e}))},gO=function(e,t,n,r,o){var i=uO(r,e,Lo,t,!o);do{if(!i||n(i))return}while(i=uO(i,e,Lo,t))},AO=function(e,t){e.selection.setRng(t),Of(e,e.selection.getRng())},vO=function(e,t,n){return R.some(Jv(e,t,n))},yO=function(e,t,n,r,o,i){var a=t===ml.Forwards,s=lu(e.getBody()),l=C(jc,a?s.next:s.prev),c=a?r:o;if(!n.collapsed){var u=js(n);if(i(u))return Yv(t,e,u,t===ml.Backwards,!1)}var d=Wc(t,e.getBody(),n);if(c(d))return Gv(e,d.getNode(!a));var f=Bv(a,l(d)),h=Qo(n);if(!f)return h?R.some(n):R.none();if(c(f))return Yv(t,e,f.getNode(!a),a,!1);var p=l(f);return p&&c(p)&&qc(f,p)?Yv(t,e,p.getNode(!a),a,!1):h?vO(e,f.toRange(),!1):R.none()},OO=function(e,t,n,r,o,i){var a=Wc(t,e.getBody(),n),s=Ce(a.getClientRects()),l=t===Uy.Down;if(!s)return R.none();var c,u=(l?aO:iO)(e.getBody(),sO(1),a),d=j(u,lO(1)),f=s.left,h=mO(d,f);if(h&&i(h.node)){var p=Math.abs(f-h.left),m=Math.abs(f-h.right);return Yv(t,e,h.node,p<m,!1)}if(c=r(a)?a.getNode():o(a)?a.getNode(!0):js(n)){var g=function(e,t,n,r){var o,i,a,s,l=lu(t),c=[],u=0,d=function(e){return Ce(e.getClientRects())};1===e?(o=l.next,i=Ws,a=Hs,s=pl.after(r)):(o=l.prev,i=Hs,a=Ws,s=pl.before(r));var f=d(s);do{if(s.isVisible()){var h=d(s);if(!a(h,f)){c.length>0&&i(h,Ce(c))&&u++;var p=Vs(h);if(p.position=s,p.line=u,n(p))return c;c.push(p)}}}while(s=o(s));return c}(t,e.getBody(),sO(1),c),A=mO(j(g,lO(1)),f);if(A)return vO(e,A.position.toRange(),!1);if(A=Ce(j(g,lO(0))))return vO(e,A.position.toRange(),!1)}return 0===d.length?bO(e,l).filter(l?o:r).map((function(t){return Jv(e,t.toRange(),!1)})):R.none()},bO=function(e,t){var n=e.selection.getRng(),r=e.getBody();if(t){var o=pl.fromRangeEnd(n),i=Gy(r,o);return ae(i.positions)}return o=pl.fromRangeStart(n),i=Yy(r,o),ie(i.positions)},wO=function(e,t,n){return bO(e,t).filter(n).exists((function(t){return e.selection.setRng(t.toRange()),!0}))},_O=function(e,t){var n=e.dom.createRng();n.setStart(t.container(),t.offset()),n.setEnd(t.container(),t.offset()),e.selection.setRng(n)},xO=function(e,t){e?t.setAttribute("data-mce-selected","inline-boundary"):t.removeAttribute("data-mce-selected")},SO=function(e,t,n){return Oy(t,n).map((function(t){return _O(e,t),n}))},kO=function(e,t,n){return!!oc(e)&&function(e,t,n){var r=e.getBody(),o=pl.fromRangeStart(e.selection.getRng()),i=C(kv,e);return Ny(n,i,r,o).bind((function(n){return SO(e,t,n)}))}(e,t,n).isSome()},CO=function(e,t,n){return!!oc(t)&&function(e,t){var n=t.selection.getRng(),r=e?pl.fromRangeEnd(n):pl.fromRangeStart(n);return!!function(e){return y(e.selection.getSel().modify)}(t)&&(e&&xo(r)?Vy(!0,t.selection,r):!(e||!So(r))&&Vy(!1,t.selection,r))}(e,t)},BO=function(e){var t=fs(null),n=C(kv,e);return e.on("NodeChange",(function(r){!oc(e)||wt.browser.isIE()&&r.initial||(function(e,t,n){var r=F(ks(Pt(t.getRoot()),'*[data-mce-selected="inline-boundary"]'),(function(e){return e.dom})),o=j(r,e),i=j(n,e);H(ne(o,i),C(xO,!1)),H(ne(i,o),C(xO,!0))}(n,e.dom,r.parents),function(e,t){if(e.selection.isCollapsed()&&!0!==e.composing&&t.get()){var n=pl.fromRangeStart(e.selection.getRng());pl.isTextPosition(n)&&!1===function(e){return xo(e)||So(e)}(n)&&(_O(e,hc(t.get(),n)),t.set(null))}}(e,t),function(e,t,n,r){if(t.selection.isCollapsed()){var o=j(r,e);H(o,(function(r){var o=pl.fromRangeStart(t.selection.getRng());Ey(e,t.getBody(),o).bind((function(e){return SO(t,n,e)}))}))}}(n,e,t,r.parents))})),t},QO=C(CO,!0),TO=C(CO,!1),EO=function(e,t,n){if(oc(e)){var r=bO(e,t).getOrThunk((function(){var n=e.selection.getRng();return t?pl.fromRangeEnd(n):pl.fromRangeStart(n)}));return Ey(C(kv,e),e.getBody(),r).exists((function(t){var r=My(t);return Oy(n,r).exists((function(t){return _O(e,t),!0}))}))}return!1},PO=function(e,t){return function(n){return Oy(t,n).exists((function(t){return _O(e,t),!0}))}},$O=function(e,t,n,r){var o=e.getBody(),i=C(kv,e);e.undoManager.ignore((function(){e.selection.setRng(function(e,t){var n=document.createRange();return n.setStart(e.container(),e.offset()),n.setEnd(t.container(),t.offset()),n}(n,r)),e.execCommand("Delete"),Ey(i,o,pl.fromRangeStart(e.selection.getRng())).map(zy).map(PO(e,t))})),e.nodeChanged()},MO=function(e,t,n){if(e.selection.isCollapsed()&&oc(e)){var r=pl.fromRangeStart(e.selection.getRng());return function(e,t,n,r){var o=function(e,t){return zc(t,e)||e}(e.getBody(),r.container()),i=C(kv,e),a=Ey(i,o,r);return a.bind((function(e){return n?e.fold(x(R.some(zy(e))),R.none,x(R.some(My(e))),R.none):e.fold(R.none,x(R.some(My(e))),R.none,x(R.some(zy(e))))})).map(PO(e,t)).getOrThunk((function(){var s=hu(n,o,r),l=s.bind((function(e){return Ey(i,o,e)}));return Yn(a,l,(function(){return Cv(i,o,r).exists((function(t){return!!function(e){return Yn(vu(e),yu(e),(function(t,n){var r=Bv(!0,t),o=Bv(!1,n);return gu(e,r).forall((function(e){return e.isEqual(o)}))})).getOr(!0)}(t)&&(Cp(e,n,Pt(t)),!0)}))})).orThunk((function(){return l.bind((function(o){return s.map((function(o){return n?$O(e,t,r,o):$O(e,t,o,r),!0}))}))})).getOr(!1)}))}(e,t,n,r)}return!1},zO=function(e){return 1===rn(e)},RO=function(e,t){var n=Pt(e.getBody()),r=Pt(e.selection.getStart()),o=j(function(e,t){var n=Fh(t,e);return K(n,oo).fold(x(n),(function(e){return n.slice(0,e)}))}(n,r),zO);return ae(o).exists((function(n){var r,i=pl.fromRangeStart(e.selection.getRng());return!(!function(e,t,n){return Yn(vu(n),yu(n),(function(r,o){var i=Bv(!0,r),a=Bv(!1,o),s=Bv(!1,t);return e?gu(n,s).exists((function(e){return e.isEqual(a)&&t.isEqual(i)})):Au(n,s).exists((function(e){return e.isEqual(i)&&t.isEqual(a)}))})).getOr(!0)}(t,i,n.dom)||(r=n,bu(r.dom)&&Sm(r.dom))||(function(e,t,n,r){var o=C($m,t),i=F(j(r,o),(function(e){return e.dom}));if(0===i.length)Cp(t,e,n);else{var a=function(e,t){var n=Cm(!1),r=Em(t,n.dom);return dn(Pt(e),n),An(Pt(e)),pl(r,0)}(n.dom,i);t.selection.setRng(a.toRange())}}(t,e,n,o),0))}))},DO=function(e,t){return!!e.selection.isCollapsed()&&RO(e,t)},IO=function(e,t,n){return e._selectionOverrides.hideFakeCaret(),Cp(e,t,Pt(n)),!0},NO=function(e,t){return e.selection.isCollapsed()?function(e,t){var n=t?Mh:zh,r=t?ml.Forwards:ml.Backwards,o=Wc(r,e.getBody(),e.selection.getRng());return n(o)?IO(e,t,o.getNode(!t)):R.from(Bv(t,o)).filter((function(e){return n(e)&&qc(o,e)})).exists((function(n){return IO(e,t,n.getNode(!t))}))}(e,t):function(e,t){var n=e.selection.getNode();return!!qn(n)&&IO(e,t,n)}(e,t)},LO=function(e){var t=parseInt(e,10);return isNaN(t)?0:t},VO=function(e,t){return(e||"table"===It(t)?"margin":"padding")+("rtl"===or(t,"direction")?"-right":"-left")},UO=function(e){var t=HO(e);return!e.mode.isReadOnly()&&(t.length>1||function(e,t){return ee(t,(function(t){var n=VO(Kl(e),t),r=ar(t,n).map(LO).getOr(0);return"false"!==e.dom.getContentEditable(t.dom)&&r>0}))}(e,t))},FO=function(e){return lo(e)||co(e)},HO=function(e){return j((t=e.selection.getSelectedBlocks(),F(t,Pt)),(function(e){return!FO(e)&&!function(e){return qt(e).exists(FO)}(e)&&Hr(e,(function(e){return Wn(e.dom)||Xn(e.dom)})).exists((function(e){return Wn(e.dom)}))}));var t},WO=function(e,t){var n=e.dom,r=e.selection,o=e.formatter,i=function(e){return e.getParam("indentation","40px","string")}(e),a=/[a-z%]+$/i.exec(i)[0],s=parseInt(i,10),l=Kl(e),c=Ll(e);e.queryCommandState("InsertUnorderedList")||e.queryCommandState("InsertOrderedList")||""!==c||n.getParent(r.getNode(),n.isBlock)||o.apply("div"),H(HO(e),(function(e){!function(e,t,n,r,o,i){var a=VO(n,Pt(i));if("outdent"===t){var s=Math.max(0,LO(i.style[a])-r);e.setStyle(i,a,s?s+o:"")}else s=LO(i.style[a])+r+o,e.setStyle(i,a,s)}(n,t,l,s,a,e.dom)}))},XO=function(e,t){if(e.selection.isCollapsed()&&UO(e)){var n=e.dom,r=e.selection.getRng(),o=pl.fromRangeStart(r),i=n.getParent(r.startContainer,n.isBlock);if(null!==i&&qh(Pt(i),o))return WO(e,"outdent"),!0}return!1},jO=function(e,t){e.getDoc().execCommand(t,!1,null)},qO=function(e){return void 0===e.touches||1!==e.touches.length?R.none():R.some(e.touches[0])},ZO=function(e,t){return ve(e,t.nodeName)},YO=function(e,t){return!!Nn(t)||!!En(t)&&!ZO(e,t)&&!Pu(t)},GO=function(e,t){if(Nn(t)){if(0===t.nodeValue.length)return!0;if(/^\s+$/.test(t.nodeValue)&&(!t.nextSibling||ZO(e,t.nextSibling)))return!0}return!1},KO=function(e){var t,n,r,o=e.dom,i=e.selection,a=e.schema,s=a.getBlockElements(),l=i.getStart(),c=e.getBody(),u=Ll(e);if(l&&En(l)&&u){var d=c.nodeName.toLowerCase();if(a.isValidChild(d,u.toLowerCase())&&!function(e,t,n){return U(Uh(Pt(n),Pt(t)),(function(t){return ZO(e,t.dom)}))}(s,c,l)){var f=i.getRng(),h=f.startContainer,p=f.startOffset,m=f.endContainer,g=f.endOffset,A=Hf(e);for(l=c.firstChild;l;)if(YO(s,l)){if(GO(s,l)){n=l,l=l.nextSibling,o.remove(n);continue}t||(t=o.create(u,Vl(e)),l.parentNode.insertBefore(t,l),r=!0),n=l,l=l.nextSibling,t.appendChild(n)}else t=null,l=l.nextSibling;r&&A&&(f.setStart(h,p),f.setEnd(m,g),i.setRng(f),e.nodeChanged())}}},JO=function(e,t){t.hasAttribute("data-mce-caret")&&(Bo(t),function(e){e.selection.setRng(e.selection.getRng())}(e),e.selection.scrollIntoView(t))},eb=function(e,t){var n=function(e){return Xr(Pt(e.getBody()),"*[data-mce-caret]").map((function(e){return e.dom})).getOrNull()}(e);if(n)return"compositionstart"===t.type?(t.preventDefault(),t.stopPropagation(),void JO(e,n)):void(_o(n)&&(JO(e,n),e.undoManager.add()))},tb=Xn,nb=function(e,t,n){var r=lu(e.getBody()),o=C(jc,1===t?r.next:r.prev);if(n.collapsed&&function(e){return""!==Ll(e)}(e)){var i=e.dom.getParent(n.startContainer,"PRE");if(!i)return;if(!o(pl.fromRangeStart(n))){var a=function(e){var t=e.dom.create(Ll(e));return(!wt.ie||wt.ie>=11)&&(t.innerHTML='<br data-mce-bogus="1">'),t}(e);1===t?e.$(i).after(a):e.$(i).before(a),e.selection.select(a,!0),e.selection.collapse()}}},rb=function(e,t){return function(e,t){var n=t?ml.Forwards:ml.Backwards,r=e.selection.getRng();return function(e,t,n){return yO(t,e,n,Ih,Nh,tb)}(n,e,r).orThunk((function(){return nb(e,n,r),R.none()}))}(e,t).exists((function(t){return AO(e,t),!0}))},ob=function(e,t){return function(e,t){var n=t?1:-1,r=e.selection.getRng();return function(e,t,n){return OO(t,e,n,(function(e){return Ih(e)||Rh(e)}),(function(e){return Nh(e)||Dh(e)}),tb)}(n,e,r).orThunk((function(){return nb(e,n,r),R.none()}))}(e,t).exists((function(t){return AO(e,t),!0}))},ib=function(e,t){return wO(e,t,t?Nh:Ih)},ab=function(e){return V(["figcaption"],It(e))},sb=function(e){var t=document.createRange();return t.setStartBefore(e.dom),t.setEndBefore(e.dom),t},lb=function(e,t,n){n?pn(e,t):hn(e,t)},cb=function(e,t){var n=Pt(e.getBody()),r=pl.fromRangeStart(e.selection.getRng()),o=Ll(e),i=Vl(e);return function(e,t){var n=C(Rt,t);return Hr(Pt(e.container()),oo,n).filter(ab)}(r,n).exists((function(){if(function(e,t,n){return t?function(e,t){return Gy(e,t).breakAt.isNone()}(e.dom,n):function(e,t){return Yy(e,t).breakAt.isNone()}(e.dom,n)}(n,t,r)){var a=function(e,t,n,r){return""===t?function(e,t){var n=Tt("br");return lb(e,n,t),sb(n)}(e,r):function(e,t,n,r){var o=Tt(n),i=Tt("br");return er(o,r),pn(o,i),lb(e,o,t),sb(i)}(e,r,t,n)}(n,o,i,t);return e.selection.setRng(a),!0}return!1}))},ub=function(e,t){return!!e.selection.isCollapsed()&&cb(e,t)},db=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(null,t)}},fb=function(e,t){return G(function(e,t){return J(function(e){return F(e,(function(e){return Be({shiftKey:!1,altKey:!1,ctrlKey:!1,metaKey:!1,keyCode:0,action:b},e)}))}(e),(function(e){return function(e,t){return t.keyCode===e.keyCode&&t.shiftKey===e.shiftKey&&t.altKey===e.altKey&&t.ctrlKey===e.ctrlKey&&t.metaKey===e.metaKey}(e,t)?[e]:[]}))}(e,t),(function(e){return e.action()}))},hb=function(e,t){var n=t?ml.Forwards:ml.Backwards,r=e.selection.getRng();return yO(e,n,r,Mh,zh,qn).exists((function(t){return AO(e,t),!0}))},pb=function(e,t){var n=t?1:-1,r=e.selection.getRng();return OO(e,n,r,Mh,zh,qn).exists((function(t){return AO(e,t),!0}))},mb=function(e,t){return wO(e,t,t?zh:Mh)},gb=function(e,t,n,r,o){var i=ks(Pt(n),"td,th,caption").map((function(e){return e.dom})),a=j(function(e,t){return J(t,(function(t){var n=function(e,t){return{left:e.left-t,top:e.top-t,right:e.right+-2,bottom:e.bottom+-2,width:e.width+t,height:e.height+t}}(Vs(t.getBoundingClientRect()),-1);return[{x:n.left,y:e(n),cell:t},{x:n.right,y:e(n),cell:t}]}))}(e,i),(function(e){return t(e,o)}));return function(e,t,n){return Z(e,(function(e,r){return e.fold((function(){return R.some(r)}),(function(e){var o=Math.sqrt(Math.abs(e.x-t)+Math.abs(e.y-n)),i=Math.sqrt(Math.abs(r.x-t)+Math.abs(r.y-n));return R.some(i<o?r:e)}))}),R.none())}(a,r,o).map((function(e){return e.cell}))},Ab=C(gb,(function(e){return e.bottom}),(function(e,t){return e.y<t})),vb=C(gb,(function(e){return e.top}),(function(e,t){return e.y>t})),yb=function(e,t,n){var r=e(t,n);return function(e){return e.breakType===Ly.Wrap&&0===e.positions.length}(r)||!Fn(n.getNode())&&function(e){return e.breakType===Ly.Br&&1===e.positions.length}(r)?!function(e,t,n){return n.breakAt.exists((function(n){return e(t,n).breakAt.isSome()}))}(e,t,r):r.breakAt.isNone()},Ob=C(yb,Yy),bb=C(yb,Gy),wb=function(e,t,n,r){var o=e.selection.getRng(),i=t?1:-1;return!(!bc()||!function(e,t,n){var r=pl.fromRangeStart(t);return mu(!e,n).exists((function(e){return e.isEqual(r)}))}(t,o,n)||(Yv(i,e,n,!t,!1).each((function(t){AO(e,t)})),0))},_b=function(e,t,n){var r=function(e,t){var n=t.getNode(e);return En(n)&&"TABLE"===n.nodeName?R.some(n):R.none()}(!!t,n),o=!1===t;r.fold((function(){return AO(e,n.toRange())}),(function(r){return mu(o,e.getBody()).filter((function(e){return e.isEqual(n)})).fold((function(){return AO(e,n.toRange())}),(function(o){return function(e,t,n,r){var o=Ll(t);o?t.undoManager.transact((function(){var r=Tt(o);er(r,Vl(t)),pn(r,Tt("br")),e?fn(Pt(n),r):dn(Pt(n),r);var i=t.dom.createRng();i.setStart(r.dom,0),i.setEnd(r.dom,0),AO(t,i)})):AO(t,r.toRange())}(t,e,r,n)}))}))},xb=function(e,t,n,r){var o=e.selection.getRng(),i=pl.fromRangeStart(o),a=e.getBody();if(!t&&Ob(r,i)){var s=function(e,t,n){return function(e,t){return ie(t.getClientRects()).bind((function(t){return Ab(e,t.left,t.top)})).bind((function(e){return Zy(yu(n=e).map((function(e){return Yy(n,e).positions.concat(e)})).getOr([]),t);var n}))}(t,n).orThunk((function(){return ie(n.getClientRects()).bind((function(n){return qy(Ky(e,pl.before(t)),n.left)}))})).getOr(pl.before(t))}(a,n,i);return _b(e,t,s),!0}return!(!t||!bb(r,i))&&(s=function(e,t,n){return function(e,t){return ae(t.getClientRects()).bind((function(t){return vb(e,t.left,t.top)})).bind((function(e){return Zy(vu(n=e).map((function(e){return[e].concat(Gy(n,e).positions)})).getOr([]),t);var n}))}(t,n).orThunk((function(){return ie(n.getClientRects()).bind((function(n){return qy(Jy(e,pl.after(t)),n.left)}))})).getOr(pl.after(t))}(a,n,i),_b(e,t,s),!0)},Sb=function(e,t,n){return R.from(e.dom.getParent(e.selection.getNode(),"td,th")).bind((function(r){return R.from(e.dom.getParent(r,"table")).map((function(o){return n(e,t,o,r)}))})).getOr(!1)},kb=function(e,t){return Sb(e,t,wb)},Cb=function(e,t){return Sb(e,t,xb)},Bb=function(e,t){var n,r=t,o=e.dom,i=e.schema.getMoveCaretBeforeOnEnterElements();if(t){if(/^(LI|DT|DD)$/.test(t.nodeName)){var a=function(e){for(;e;){if(1===e.nodeType||3===e.nodeType&&e.data&&/[\r\n\s]/.test(e.data))return e;e=e.nextSibling}}(t.firstChild);a&&/^(UL|OL|DL)$/.test(a.nodeName)&&t.insertBefore(o.doc.createTextNode(po),t.firstChild)}var s=o.createRng();if(t.normalize(),t.hasChildNodes()){for(var l=new to(t,t);n=l.current();){if(Nn(n)){s.setStart(n,0),s.setEnd(n,0);break}if(i[n.nodeName.toLowerCase()]){s.setStartBefore(n),s.setEndBefore(n);break}r=n,n=l.next()}n||(s.setStart(r,0),s.setEnd(r,0))}else Fn(t)?t.nextSibling&&o.isBlock(t.nextSibling)?(s.setStartBefore(t),s.setEndBefore(t)):(s.setStartAfter(t),s.setEndAfter(t)):(s.setStart(t,0),s.setEnd(t,0));e.selection.setRng(s),Of(e,s)}},Qb=function(e){return R.from(e.dom.getParent(e.selection.getStart(!0),e.dom.isBlock))},Tb=function(e,t){return e&&e.parentNode&&e.parentNode.nodeName===t},Eb=function(e){return e&&/^(OL|UL|LI)$/.test(e.nodeName)},Pb=function(e){var t=e.parentNode;return/^(LI|DT|DD)$/.test(t.nodeName)?t:e},$b=function(e,t,n){for(var r=e[n?"firstChild":"lastChild"];r&&!En(r);)r=r[n?"nextSibling":"previousSibling"];return r===t},Mb=function(e,t){return t&&"A"===t.nodeName&&e.isEmpty(t)},zb=function(e){e.innerHTML='<br data-mce-bogus="1">'},Rb=function(e,t){return e.nodeName===t||e.previousSibling&&e.previousSibling.nodeName===t},Db=function(e,t){return t&&e.isBlock(t)&&!/^(TD|TH|CAPTION|FORM)$/.test(t.nodeName)&&!/^(fixed|absolute)/i.test(t.style.position)&&"true"!==e.getContentEditable(t)},Ib=function(e,t,n){return!1===Nn(t)?n:e?1===n&&t.data.charAt(n-1)===mo?0:n:n===t.data.length-1&&t.data.charAt(n)===mo?t.data.length:n},Nb=function(e,t){var n,r,o=e.getRoot();for(n=t;n!==o&&"false"!==e.getContentEditable(n);)"true"===e.getContentEditable(n)&&(r=n),n=n.parentNode;return n!==o?r:o},Lb=function(e,t){var n=Ll(e);n&&n.toLowerCase()===t.tagName.toLowerCase()&&function(e,t,n){var r=e.dom;R.from(n.style).map(r.parseStyle).each((function(e){var n=sr(Pt(t)),o=Be(Be({},n),e);r.setStyles(t,o)}));var o=R.from(n.class).map((function(e){return e.split(/\s+/)})),i=R.from(t.className).map((function(e){return j(e.split(/\s+/),(function(e){return""!==e}))}));Yn(o,i,(function(e,n){var o=j(n,(function(t){return!V(e,t)})),i=Qe(Qe([],e,!0),o,!0);r.setAttrib(t,"class",i.join(" "))}));var a=["style","class"],s=ge(n,(function(e,t){return!V(a,t)}));r.setAttribs(t,s)}(e,t,Vl(e))},Vb=function(e,t){var n,r,o,i,a,s,l,c,u,d,f=e.dom,h=e.schema,p=h.getNonEmptyElements(),m=e.selection.getRng(),g=function(t){var n,o,a,s=r,l=h.getTextInlineElements();if(a=n=t||"TABLE"===c||"HR"===c?f.create(t||u):i.cloneNode(!1),!1===function(e){return e.getParam("keep_styles",!0)}(e))f.setAttrib(n,"style",null),f.setAttrib(n,"class",null);else do{if(l[s.nodeName]){if(bu(s)||Pu(s))continue;o=s.cloneNode(!1),f.setAttrib(o,"id",""),n.hasChildNodes()?(o.appendChild(n.firstChild),n.appendChild(o)):(a=o,n.appendChild(o))}}while((s=s.parentNode)&&s!==b);return Lb(e,n),zb(a),n},A=function(e){var t,n,a=Ib(e,r,o);if(Nn(r)&&(e?a>0:a<r.nodeValue.length))return!1;if(r.parentNode===i&&d&&!e)return!0;if(e&&En(r)&&r===i.firstChild)return!0;if(Rb(r,"TABLE")||Rb(r,"HR"))return d&&!e||!d&&e;var s=new to(r,i);for(Nn(r)&&(e&&0===a?s.prev():e||a!==r.nodeValue.length||s.next());t=s.current();){if(En(t)){if(!t.getAttribute("data-mce-bogus")&&(n=t.nodeName.toLowerCase(),p[n]&&"br"!==n))return!1}else if(Nn(t)&&!Uo(t.nodeValue))return!1;e?s.prev():s.next()}return!0},v=function(){a=/^(H[1-6]|PRE|FIGURE)$/.test(c)&&"HGROUP"!==w?g(u):g(),function(e){return e.getParam("end_container_on_empty_block",!1)}(e)&&Db(f,l)&&f.isEmpty(i)?a=f.split(l,i):f.insertAfter(a,i),Bb(e,a)};Yd(f,m).each((function(e){m.setStart(e.startContainer,e.startOffset),m.setEnd(e.endContainer,e.endOffset)})),r=m.startContainer,o=m.startOffset,u=Ll(e);var y=!(!t||!t.shiftKey),O=!(!t||!t.ctrlKey);En(r)&&r.hasChildNodes()&&(d=o>r.childNodes.length-1,r=r.childNodes[Math.min(o,r.childNodes.length-1)]||r,o=d&&Nn(r)?r.nodeValue.length:0);var b=Nb(f,r);if(b){(u&&!y||!u&&y)&&(r=function(e,t,n,r,o){var i,a,s,l,c,u,d=t||"P",f=e.dom,h=Nb(f,r);if(!(a=f.getParent(r,f.isBlock))||!Db(f,a)){if(u=(a=a||h)===e.getBody()||function(e){return e&&/^(TD|TH|CAPTION)$/.test(e.nodeName)}(a)?a.nodeName.toLowerCase():a.parentNode.nodeName.toLowerCase(),!a.hasChildNodes())return i=f.create(d),Lb(e,i),a.appendChild(i),n.setStart(i,0),n.setEnd(i,0),i;for(l=r;l.parentNode!==a;)l=l.parentNode;for(;l&&!f.isBlock(l);)s=l,l=l.previousSibling;if(s&&e.schema.isValidChild(u,d.toLowerCase())){for(i=f.create(d),Lb(e,i),s.parentNode.insertBefore(i,s),l=s;l&&!f.isBlock(l);)c=l.nextSibling,i.appendChild(l),l=c;n.setStart(r,o),n.setEnd(r,o)}}return r}(e,u,m,r,o)),i=f.getParent(r,f.isBlock),l=i?f.getParent(i.parentNode,f.isBlock):null,c=i?i.nodeName.toUpperCase():"";var w=l?l.nodeName.toUpperCase():"";"LI"!==w||O||(i=l,l=l.parentNode,c=w),/^(LI|DT|DD)$/.test(c)&&f.isEmpty(i)?function(e,t,n,r,o){var i=e.dom,a=e.selection.getRng();if(n!==e.getBody()){var s;Eb(s=n)&&Eb(s.parentNode)&&(o="LI");var l=o?t(o):i.create("BR");if($b(n,r,!0)&&$b(n,r,!1))if(Tb(n,"LI")){var c=Pb(n);i.insertAfter(l,c),function(e){var t;return(null===(t=e.parentNode)||void 0===t?void 0:t.firstChild)===e}(n)?i.remove(c):i.remove(n)}else i.replace(l,n);else if($b(n,r,!0))Tb(n,"LI")?(i.insertAfter(l,Pb(n)),l.appendChild(i.doc.createTextNode(" ")),l.appendChild(n)):n.parentNode.insertBefore(l,n),i.remove(r);else if($b(n,r,!1))i.insertAfter(l,Pb(n)),i.remove(r);else{n=Pb(n);var u=a.cloneRange();u.setStartAfter(r),u.setEndAfter(n);var d=u.extractContents();"LI"===o&&function(e){return e.firstChild&&"LI"===e.firstChild.nodeName}(d)?(l=d.firstChild,i.insertAfter(d,n)):(i.insertAfter(d,n),i.insertAfter(l,n)),i.remove(r)}Bb(e,l)}}(e,g,l,i,u):u&&i===e.getBody()||(u=u||"P",Oo(i)?(a=Bo(i),f.isEmpty(i)&&zb(i),Lb(e,a),Bb(e,a)):A()?v():A(!0)?(a=i.parentNode.insertBefore(g(),i),Bb(e,Rb(i,"HR")?a:i)):(n=function(e){var t=e.cloneRange();return t.setStart(e.startContainer,Ib(!0,e.startContainer,e.startOffset)),t.setEnd(e.endContainer,Ib(!1,e.endContainer,e.endOffset)),t}(m).cloneRange(),n.setEndAfter(i),function(e){H(Ss(Pt(e),Ut),(function(e){var t=e.dom;t.nodeValue=Ao(t.nodeValue)}))}(s=n.extractContents()),function(e){do{Nn(e)&&(e.nodeValue=e.nodeValue.replace(/^[\r\n]+/,"")),e=e.firstChild}while(e)}(s),a=s.firstChild,f.insertAfter(s,i),function(e,t,n){var r,o=n,i=[];if(o){for(;o=o.firstChild;){if(e.isBlock(o))return;En(o)&&!t[o.nodeName.toLowerCase()]&&i.push(o)}for(r=i.length;r--;)(!(o=i[r]).hasChildNodes()||o.firstChild===o.lastChild&&""===o.firstChild.nodeValue||Mb(e,o))&&e.remove(o)}}(f,p,a),function(e,t){t.normalize();var n=t.lastChild;n&&!/^(left|right)$/gi.test(e.getStyle(n,"float",!0))||e.add(t,"br")}(f,i),f.isEmpty(i)&&zb(i),a.normalize(),f.isEmpty(a)?(f.remove(a),v()):(Lb(e,a),Bb(e,a))),f.setAttrib(a,"id",""),e.fire("NewBlock",{newBlock:a}))}},Ub=function(e,t,n){var r=e.dom.createRng();n?(r.setStartBefore(t),r.setEndBefore(t)):(r.setStartAfter(t),r.setEndAfter(t)),e.selection.setRng(r),Of(e,r)},Fb=function(e,t){var n=Tt("br");dn(Pt(t),n),e.undoManager.add()},Hb=function(e,t){Wb(e.getBody(),t)||fn(Pt(t),Tt("br"));var n=Tt("br");fn(Pt(t),n),Ub(e,n.dom,!1),e.undoManager.add()},Wb=function(e,t){return n=pl.after(t),!!Fn(n.getNode())||gu(e,pl.after(t)).map((function(e){return Fn(e.getNode())})).getOr(!1);var n},Xb=function(e){return e&&"A"===e.nodeName&&"href"in e},jb=function(e){return e.fold(E,Xb,Xb,E)},qb=function(e,t){t.fold(b,C(Fb,e),C(Hb,e),b)},Zb=function(e,t){var n=function(e){var t=C(kv,e),n=pl.fromRangeStart(e.selection.getRng());return Ey(t,e.getBody(),n).filter(jb)}(e);n.isSome()?n.each(C(qb,e)):function(e,t){var n,r,o=e.selection,i=e.dom,a=o.getRng();Yd(i,a).each((function(e){a.setStart(e.startContainer,e.startOffset),a.setEnd(e.endContainer,e.endOffset)}));var s=a.startOffset,l=a.startContainer;if(1===l.nodeType&&l.hasChildNodes()){var c=s>l.childNodes.length-1;l=l.childNodes[Math.min(s,l.childNodes.length-1)]||l,s=c&&3===l.nodeType?l.nodeValue.length:0}var u=i.getParent(l,i.isBlock),d=u?i.getParent(u.parentNode,i.isBlock):null,f=d?d.nodeName.toUpperCase():"",h=!(!t||!t.ctrlKey);"LI"!==f||h||(u=d),l&&3===l.nodeType&&s>=l.nodeValue.length&&(function(e,t,n){for(var r,o=new to(t,n),i=e.getNonEmptyElements();r=o.next();)if(i[r.nodeName.toLowerCase()]||r.length>0)return!0}(e.schema,l,u)||(n=i.create("br"),a.insertNode(n),a.setStartAfter(n),a.setEndAfter(n),r=!0)),n=i.create("br"),Al(i,a,n),Ub(e,n,r),e.undoManager.add()}(e,t)},Yb=function(e,t){return Qb(e).filter((function(e){return t.length>0&&Mt(Pt(e),t)})).isSome()},Gb=wr([{br:[]},{block:[]},{none:[]}]),Kb=function(e,t){return function(e){return Yb(e,function(e){return e.getParam("no_newline_selector","")}(e))}(e)},Jb=function(e){return function(t,n){return""===Ll(t)===e}},ew=function(e){return function(t,n){return function(e){return Qb(e).filter((function(e){return co(Pt(e))})).isSome()}(t)===e}},tw=function(e,t){return function(n,r){var o=function(e){return Qb(e).fold(x(""),(function(e){return e.nodeName.toUpperCase()}))}(n)===e.toUpperCase();return o===t}},nw=function(e){return tw("pre",e)},rw=function(e){return function(t,n){return function(e){return e.getParam("br_in_pre",!0)}(t)===e}},ow=function(e,t){return function(e){return Yb(e,function(e){return e.getParam("br_newline_selector",".mce-toc h2,figcaption,caption")}(e))}(e)},iw=function(e,t){return t},aw=function(e){var t=Ll(e),n=function(e,t){var n,r,o=e.getRoot();for(n=t;n!==o&&"false"!==e.getContentEditable(n);)"true"===e.getContentEditable(n)&&(r=n),n=n.parentNode;return n!==o?r:o}(e.dom,e.selection.getStart());return n&&e.schema.isValidChild(n.nodeName,t||"P")},sw=function(e,t){return function(n,r){return Z(e,(function(e,t){return e&&t(n,r)}),!0)?R.some(t):R.none()}},lw=function(e,t){(function(e,t){return by([sw([Kb],Gb.none()),sw([tw("summary",!0)],Gb.br()),sw([nw(!0),rw(!1),iw],Gb.br()),sw([nw(!0),rw(!1)],Gb.block()),sw([nw(!0),rw(!0),iw],Gb.block()),sw([nw(!0),rw(!0)],Gb.br()),sw([ew(!0),iw],Gb.br()),sw([ew(!0)],Gb.block()),sw([Jb(!0),iw,aw],Gb.block()),sw([Jb(!0)],Gb.br()),sw([ow],Gb.br()),sw([Jb(!1),iw],Gb.br()),sw([aw],Gb.block())],[e,!(!t||!t.shiftKey)]).getOr(Gb.none())})(e,t).fold((function(){Zb(e,t)}),(function(){Vb(e,t)}),b)},cw=ht().browser,uw=ht(),dw=function(e){return e.stopImmediatePropagation()},fw=function(e){return e.keyCode===Rd.PAGE_UP||e.keyCode===Rd.PAGE_DOWN},hw=function(e,t,n){n&&!e.get()?t.on("NodeChange",dw,!0):!n&&e.get()&&t.off("NodeChange",dw),e.set(n)},pw=function(e,t){var n=t.container(),r=t.offset();return Nn(n)?(n.insertData(r,e),R.some(pl(n,r+e.length))):Xc(t).map((function(n){var r=Et(e);return t.isAtEnd()?fn(n,r):dn(n,r),pl(r.dom,e.length)}))},mw=C(pw,po),gw=C(pw," "),Aw=function(e,t){return function(n){return function(e,t){return!lp(t)&&(function(e,t){return function(e,t){return Au(e.dom,t).isNone()}(e,t)||function(e,t){return gu(e.dom,t).isNone()}(e,t)||qh(e,t)||Zh(e,t)||tp(e,t)||ep(e,t)}(e,t)||ap(e,t)||sp(e,t))}(e,n)?mw(t):gw(t)}},vw=function(e){var t=pl.fromRangeStart(e.selection.getRng()),n=Pt(e.getBody());if(e.selection.isCollapsed()){var r=C(kv,e),o=pl.fromRangeStart(e.selection.getRng());return Ey(r,e.getBody(),o).bind(function(e){return function(t){return t.fold((function(t){return Au(e.dom,pl.before(t))}),(function(e){return vu(e)}),(function(e){return yu(e)}),(function(t){return gu(e.dom,pl.after(t))}))}}(n)).bind(Aw(n,t)).exists(function(e){return function(t){return e.selection.setRng(t.toRange()),e.nodeChanged(),!0}}(e))}return!1},yw=function(e){var t=BO(e);return function(e){e.on("keyup compositionstart",C(eb,e))}(e),function(e,t){e.on("keydown",(function(n){!1===n.isDefaultPrevented()&&function(e,t,n){var r=ht().os;fb([{keyCode:Rd.RIGHT,action:db(rb,e,!0)},{keyCode:Rd.LEFT,action:db(rb,e,!1)},{keyCode:Rd.UP,action:db(ob,e,!1)},{keyCode:Rd.DOWN,action:db(ob,e,!0)},{keyCode:Rd.RIGHT,action:db(kb,e,!0)},{keyCode:Rd.LEFT,action:db(kb,e,!1)},{keyCode:Rd.UP,action:db(Cb,e,!1)},{keyCode:Rd.DOWN,action:db(Cb,e,!0)},{keyCode:Rd.RIGHT,action:db(hb,e,!0)},{keyCode:Rd.LEFT,action:db(hb,e,!1)},{keyCode:Rd.UP,action:db(pb,e,!1)},{keyCode:Rd.DOWN,action:db(pb,e,!0)},{keyCode:Rd.RIGHT,action:db(kO,e,t,!0)},{keyCode:Rd.LEFT,action:db(kO,e,t,!1)},{keyCode:Rd.RIGHT,ctrlKey:!r.isOSX(),altKey:r.isOSX(),action:db(QO,e,t)},{keyCode:Rd.LEFT,ctrlKey:!r.isOSX(),altKey:r.isOSX(),action:db(TO,e,t)},{keyCode:Rd.UP,action:db(ub,e,!1)},{keyCode:Rd.DOWN,action:db(ub,e,!0)}],n).each((function(e){n.preventDefault()}))}(e,t,n)}))}(e,t),function(e,t){e.on("keydown",(function(n){!1===n.isDefaultPrevented()&&function(e,t,n){fb([{keyCode:Rd.BACKSPACE,action:db(XO,e,!1)},{keyCode:Rd.BACKSPACE,action:db(cy,e,!1)},{keyCode:Rd.DELETE,action:db(cy,e,!0)},{keyCode:Rd.BACKSPACE,action:db(ry,e,!1)},{keyCode:Rd.DELETE,action:db(ry,e,!0)},{keyCode:Rd.BACKSPACE,action:db(MO,e,t,!1)},{keyCode:Rd.DELETE,action:db(MO,e,t,!0)},{keyCode:Rd.BACKSPACE,action:db(Jp,e,!1)},{keyCode:Rd.DELETE,action:db(Jp,e,!0)},{keyCode:Rd.BACKSPACE,action:db(uy,e,!1)},{keyCode:Rd.DELETE,action:db(uy,e,!0)},{keyCode:Rd.BACKSPACE,action:db(NO,e,!1)},{keyCode:Rd.DELETE,action:db(NO,e,!0)},{keyCode:Rd.BACKSPACE,action:db(jv,e,!1)},{keyCode:Rd.DELETE,action:db(jv,e,!0)},{keyCode:Rd.BACKSPACE,action:db(Hv,e,!1)},{keyCode:Rd.DELETE,action:db(Hv,e,!0)},{keyCode:Rd.BACKSPACE,action:db(DO,e,!1)},{keyCode:Rd.DELETE,action:db(DO,e,!0)}],n).each((function(e){n.preventDefault()}))}(e,t,n)})),e.on("keyup",(function(t){!1===t.isDefaultPrevented()&&function(e,t){fb([{keyCode:Rd.BACKSPACE,action:db(ly,e)},{keyCode:Rd.DELETE,action:db(ly,e)}],t)}(e,t)}))}(e,t),function(e){e.on("keydown",(function(t){t.keyCode===Rd.ENTER&&function(e,t){var n;t.isDefaultPrevented()||(t.preventDefault(),(n=e.undoManager).typing&&(n.typing=!1,n.add()),e.undoManager.transact((function(){!1===e.selection.isCollapsed()&&e.execCommand("Delete"),lw(e,t)})))}(e,t)}))}(e),function(e){e.on("keydown",(function(t){!1===t.isDefaultPrevented()&&function(e,t){fb([{keyCode:Rd.SPACEBAR,action:db(vw,e)}],t).each((function(e){t.preventDefault()}))}(e,t)}))}(e),function(e){!function(e){var t=ys((function(){e.composing||mp(e)}),0);cw.isIE()&&(e.on("keypress",(function(e){t.throttle()})),e.on("remove",(function(e){t.cancel()})))}(e),e.on("input",(function(t){!1===t.isComposing&&mp(e)}))}(e),function(e,t){e.on("keydown",(function(n){!1===n.isDefaultPrevented()&&function(e,t,n){fb([{keyCode:Rd.END,action:db(ib,e,!0)},{keyCode:Rd.HOME,action:db(ib,e,!1)},{keyCode:Rd.END,action:db(mb,e,!0)},{keyCode:Rd.HOME,action:db(mb,e,!1)},{keyCode:Rd.END,action:db(EO,e,!0,t)},{keyCode:Rd.HOME,action:db(EO,e,!1,t)}],n).each((function(e){n.preventDefault()}))}(e,t,n)}))}(e,t),function(e,t){if(!uw.os.isOSX()){var n=fs(!1);e.on("keydown",(function(t){fw(t)&&hw(n,e,!0)})),e.on("keyup",(function(r){!1===r.isDefaultPrevented()&&function(e,t,n){fb([{keyCode:Rd.PAGE_UP,action:db(EO,e,!1,t)},{keyCode:Rd.PAGE_DOWN,action:db(EO,e,!0,t)}],n)}(e,t,r),fw(r)&&n.get()&&(hw(n,e,!1),e.nodeChanged())}))}}(e,t),t},Ow=function(){function e(e){var t;this.lastPath=[],this.editor=e;var n=this;"onselectionchange"in e.getDoc()||e.on("NodeChange click mouseup keyup focus",(function(n){var r=e.selection.getRng(),o={startContainer:r.startContainer,startOffset:r.startOffset,endContainer:r.endContainer,endOffset:r.endOffset};"nodechange"!==n.type&&Vd(o,t)||e.fire("SelectionChange"),t=o})),e.on("contextmenu",(function(){e.fire("SelectionChange")})),e.on("SelectionChange",(function(){var t=e.selection.getStart(!0);!t||!wt.range&&e.selection.isCollapsed()||wd(e)&&!n.isSameElementPath(t)&&e.dom.isChildOf(t,e.getBody())&&e.nodeChanged({selectionChange:!0})})),e.on("mouseup",(function(t){!t.isDefaultPrevented()&&wd(e)&&("IMG"===e.selection.getNode().nodeName?Kr.setEditorTimeout(e,(function(){e.nodeChanged()})):e.nodeChanged())}))}return e.prototype.nodeChanged=function(e){var t,n,r,o=this.editor.selection;this.editor.initialized&&o&&!this.editor.getParam("disable_nodechange")&&!this.editor.mode.isReadOnly()&&(r=this.editor.getBody(),(t=o.getStart(!0)||r).ownerDocument===this.editor.getDoc()&&this.editor.dom.isChildOf(t,r)||(t=r),n=[],this.editor.dom.getParent(t,(function(e){if(e===r)return!0;n.push(e)})),(e=e||{}).element=t,e.parents=n,this.editor.fire("NodeChange",e))},e.prototype.isSameElementPath=function(e){var t,n=this.editor.$(e).parentsUntil(this.editor.getBody()).add(e);if(n.length===this.lastPath.length){for(t=n.length;t>=0&&n[t]===this.lastPath[t];t--);if(-1===t)return this.lastPath=n,!0}return this.lastPath=n,!1},e}(),bw=function(e){return En(e)&&so(Pt(e))},ww=function(e){var t=e.getBoundingClientRect(),n=e.ownerDocument,r=n.documentElement,o=n.defaultView;return{top:t.top+o.pageYOffset-r.clientTop,left:t.left+o.pageXOffset-r.clientLeft}},_w=Xn,xw=Wn,Sw=function(e,t,n,r){var o=e.dom,i=t.cloneNode(!0);o.setStyles(i,{width:n,height:r}),o.setAttrib(i,"data-mce-selected",null);var a=o.create("div",{class:"mce-drag-container","data-mce-bogus":"all",unselectable:"on",contenteditable:"false"});return o.setStyles(a,{position:"absolute",opacity:.5,overflow:"hidden",border:0,padding:0,margin:0,width:n,height:r}),o.setStyles(i,{margin:0,boxSizing:"border-box"}),a.appendChild(i),a},kw=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},Cw=function(e){e.on((function(e){kw(e.ghost)})),e.clear()},Bw=function(e){var t=vs(),n=ss.DOM,r=document,o=function(e,t){return function(n){if(function(e){return 0===e.button}(n)){var r=G(t.dom.getParents(n.target),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){for(var n=0;n<e.length;n++)if(e[n](t))return!0;return!1}}(_w,xw)).getOr(null);if(s=t.getBody(),_w(l=r)&&l!==s){var o=t.dom.getPos(r),i=t.getBody(),a=t.getDoc().documentElement;e.set({element:r,dragging:!1,screenX:n.screenX,screenY:n.screenY,maxX:(t.inline?i.scrollWidth:a.offsetWidth)-2,maxY:(t.inline?i.scrollHeight:a.offsetHeight)-2,relX:n.pageX-o.x,relY:n.pageY-o.y,width:r.offsetWidth,height:r.offsetHeight,ghost:Sw(t,r,r.offsetWidth,r.offsetHeight)})}}var s,l}}(t,e),i=function(e,t){var n=Kr.throttle((function(e,n){t._selectionOverrides.hideFakeCaret(),t.selection.placeCaretAt(e,n)}),0);return t.on("remove",n.stop),function(r){return e.on((function(e){var o,i,a=Math.max(Math.abs(r.screenX-e.screenX),Math.abs(r.screenY-e.screenY));if(!e.dragging&&a>10){if(t.fire("dragstart",{target:e.element}).isDefaultPrevented())return;e.dragging=!0,t.focus()}if(e.dragging){var s=function(e,t){return{pageX:t.pageX-e.relX,pageY:t.pageY+5}}(e,function(e,t){return n=function(e){return e.inline?ww(e.getBody()):{left:0,top:0}}(e),r=function(e){var t=e.getBody();return e.inline?{left:t.scrollLeft,top:t.scrollTop}:{left:0,top:0}}(e),o=function(e,t){if(t.target.ownerDocument!==e.getDoc()){var n=ww(e.getContentAreaContainer()),r=function(e){var t=e.getBody(),n=e.getDoc().documentElement,r={left:t.scrollLeft,top:t.scrollTop},o={left:t.scrollLeft||n.scrollLeft,top:t.scrollTop||n.scrollTop};return e.inline?r:o}(e);return{left:t.pageX-n.left+r.left,top:t.pageY-n.top+r.top}}return{left:t.pageX,top:t.pageY}}(e,t),{pageX:o.left-n.left+r.left,pageY:o.top-n.top+r.top};var n,r,o}(t,r));o=e.ghost,i=t.getBody(),o.parentNode!==i&&i.appendChild(o),function(e,t,n,r,o,i){var a=0,s=0;e.style.left=t.pageX+"px",e.style.top=t.pageY+"px",t.pageX+n>o&&(a=t.pageX+n-o),t.pageY+r>i&&(s=t.pageY+r-i),e.style.width=n-a+"px",e.style.height=r-s+"px"}(e.ghost,s,e.width,e.height,e.maxX,e.maxY),n(r.clientX,r.clientY)}}))}}(t,e),a=function(e,t){return function(n){e.on((function(e){if(e.dragging){if(function(e,t,n){return t!==n&&!e.dom.isChildOf(t,n)&&!_w(t)}(t,3===(i=t.selection.getSel().getRangeAt(0).startContainer).nodeType?i.parentNode:i,e.element)){var r=((o=e.element.cloneNode(!0)).removeAttribute("data-mce-selected"),o);t.fire("drop",{clientX:n.clientX,clientY:n.clientY}).isDefaultPrevented()||t.undoManager.transact((function(){kw(e.element),t.insertContent(t.dom.getOuterHTML(r)),t._selectionOverrides.hideFakeCaret()}))}t.fire("dragend")}var o,i})),Cw(e)}}(t,e),s=function(e,t){return function(){e.on((function(e){e.dragging&&t.fire("dragend")})),Cw(e)}}(t,e);e.on("mousedown",o),e.on("mousemove",i),e.on("mouseup",a),n.bind(r,"mousemove",i),n.bind(r,"mouseup",s),e.on("remove",(function(){n.unbind(r,"mousemove",i),n.unbind(r,"mouseup",s)})),e.on("keydown",(function(e){e.keyCode===Rd.ESC&&s()}))},Qw=Wn,Tw=Xn,Ew=function(e,t){return Ed(e.getBody(),t)},Pw=function(e){var t,n=e.selection,r=e.dom,o=r.isBlock,i=e.getBody(),a=Oc(e,i,o,(function(){return Hf(e)})),s="sel-"+r.uniqueId(),l="data-mce-selected",c=function(e){return e!==i&&(Tw(e)||qn(e))&&r.isChildOf(e,i)},u=function(e){return Ih(e)||Nh(e)||Mh(e)||zh(e)},d=function(e){e&&n.setRng(e)},f=n.getRng,h=function(t,r,o,i){return void 0===i&&(i=!0),e.fire("ShowCaret",{target:r,direction:t,before:o}).isDefaultPrevented()?null:(i&&n.scrollIntoView(r,-1===t),a.show(o,r))},p=function(e){return wo(e)||ko(e)||Co(e)},m=function(e){return p(e.startContainer)||p(e.endContainer)},g=function(o,a){if(!o)return null;if(o.collapsed){if(!m(o)){var u=a?1:-1,d=Wc(u,i,o),f=d.getNode(!a);if(_c(f))return h(u,f,!!a&&!d.isAtEnd(),!1);var p=d.getNode(a);if(_c(p))return h(u,p,!a&&!d.isAtEnd(),!1)}return null}var g=o.startContainer,A=o.startOffset,v=o.endOffset;if(3===g.nodeType&&0===A&&Tw(g.parentNode)&&(g=g.parentNode,A=r.nodeIndex(g),g=g.parentNode),1!==g.nodeType)return null;if(v===A+1&&g===o.endContainer){var O=g.childNodes[A];if(c(O))return function(o){var i=o.cloneNode(!0),a=e.fire("ObjectSelected",{target:o,targetClone:i});if(a.isDefaultPrevented())return null;var c=function(t,o,i){var a=e.$,l=Xr(Pt(e.getBody()),"#"+s).fold((function(){return a([])}),(function(e){return a([e.dom])}));0===l.length&&(l=a('<div data-mce-bogus="all" class="mce-offscreen-selection"></div>').attr("id",s)).appendTo(e.getBody());var c=r.createRng();o===i&&wt.ie?(l.empty().append('<p style="font-size: 0" data-mce-bogus="all"> </p>').append(o),c.setStartAfter(l[0].firstChild.firstChild),c.setEndAfter(o)):(l.empty().append(po).append(o).append(po),c.setStart(l[0].firstChild,1),c.setEnd(l[0].lastChild,0)),l.css({top:r.getPos(t,e.getBody()).y}),l[0].focus();var u=n.getSel();return u.removeAllRanges(),u.addRange(c),c}(o,a.targetClone,i),u=Pt(o);return H(ks(Pt(e.getBody()),"*[data-mce-selected]"),(function(e){Rt(u,e)||rr(e,l)})),r.getAttrib(o,l)||o.setAttribute(l,"1"),t=o,y(),c}(O)}return null},v=function(){t&&t.removeAttribute(l),Xr(Pt(e.getBody()),"#"+s).each(An),t=null},y=function(){a.hide()};return wt.ceFalse&&!Wg(e)&&function(){e.on("mouseup",(function(t){var n=f();n.collapsed&&qA(e,t.clientX,t.clientY)&&Kv(e,n,!1).each(d)})),e.on("click",(function(t){var o=Ew(e,t.target);o&&(Tw(o)&&(t.preventDefault(),e.focus()),Qw(o)&&r.isChildOf(o,n.getNode())&&v())})),e.on("blur NewBlock",v),e.on("ResizeWindow FullscreenStateChanged",a.reposition);e.on("tap",(function(t){var n=t.target,r=Ew(e,n);Tw(r)?(t.preventDefault(),Gv(e,r).each(g)):c(n)&&Gv(e,n).each(g)}),!0),e.on("mousedown",(function(t){var a,s,l,f,p,m,O=t.target;if((O===i||"HTML"===O.nodeName||r.isChildOf(O,i))&&!1!==qA(e,t.clientX,t.clientY)){var b=Ew(e,O);if(b)Tw(b)?(t.preventDefault(),Gv(e,b).each(g)):(v(),Qw(b)&&t.shiftKey||Pd(t.clientX,t.clientY,n.getRng())||(y(),n.placeCaretAt(t.clientX,t.clientY)));else if(c(O))Gv(e,O).each(g);else if(!1===_c(O)){v(),y();var w=function(e,t,n){var r=tO(function(e){return j(se(e.getElementsByTagName("*")),_c)}(e)),o=j(r,C(pO,n)),i=function(e){return!Rn(e.node)&&!qn(e.node)},a=mO(o,t,i);if(a){var s=i(a);if(a=mO(function(e,t,n){void 0===n&&(n=!0);var r=[],o=function(e,n){var o=j(tO([n]),(function(n){return!e(n,t)}));return r=r.concat(o),0===o.length};return r.push(t),gO(Uy.Up,e,C(o,Hs),t.node,n),gO(Uy.Down,e,C(o,Ws),t.node,n),r}(e,a,s),t,i),a&&_c(a.node))return function(e,t){return{node:e.node,before:dO(e,t)<fO(e,t)}}(a,t)}return null}(i,t.clientX,t.clientY);if(w&&(a=O,s=w.node,p=r.getParent(a,o),m=r.getParent(s,o),A(p)||!(a!==m&&r.isChildOf(p,m)&&!1===Tw(Ew(e,p))||!r.isChildOf(m,p)&&(l=p,f=m,r.getParent(l,o)!==r.getParent(f,o))&&function(e){var t=e.firstChild;if(A(t))return!1;var n=pl.before(t);if(Fn(n.getNode())&&1===e.childNodes.length)return!u(n);var r=lu(e).next(n);return r&&!u(r)}(p)))){t.preventDefault();var _=h(1,w.node,w.before,!1);d(_),e.getBody().focus()}}}})),e.on("keypress",(function(e){Rd.modifierPressed(e)||Tw(n.getNode())&&e.preventDefault()})),e.on("GetSelectionRange",(function(e){var n=e.range;if(t){if(!t.parentNode)return void(t=null);(n=n.cloneRange()).selectNode(t),e.range=n}})),e.on("SetSelectionRange",(function(t){t.range=function(t){var n=e.schema.getShortEndedElements(),o=r.createRng(),i=t.startContainer,a=t.startOffset,s=t.endContainer,l=t.endOffset;return ve(n,i.nodeName.toLowerCase())?0===a?o.setStartBefore(i):o.setStartAfter(i):o.setStart(i,a),ve(n,s.nodeName.toLowerCase())?0===l?o.setEndBefore(s):o.setEndAfter(s):o.setEnd(s,l),o}(t.range);var n=g(t.range,t.forward);n&&(t.range=n)})),e.on("AfterSetSelectionRange",(function(e){var t,n=e.range,o=n.startContainer.parentNode;m(n)||"mcepastebin"===o.id||y(),t=o,r.hasClass(t,"mce-offscreen-selection")||v()})),e.on("copy",(function(e){var t,n=e.clipboardData;if(!e.isDefaultPrevented()&&e.clipboardData&&!wt.ie){var o=(t=r.get(s))?t.getElementsByTagName("*")[0]:t;o&&(e.preventDefault(),n.clearData(),n.setData("text/html",o.outerHTML),n.setData("text/plain",o.outerText||o.innerText))}})),function(e){Bw(e),function(e){e.on("drop",(function(t){var n=void 0!==t.clientX?e.getDoc().elementFromPoint(t.clientX,t.clientY):null;(_w(n)||"false"===e.dom.getContentEditableParent(n))&&t.preventDefault()}))}(e),function(e){return e.getParam("block_unsupported_drop",!0,"boolean")}(e)&&function(e){var t=function(t){if(!t.isDefaultPrevented()){var n=t.dataTransfer;n&&(V(n.types,"Files")||n.files.length>0)&&(t.preventDefault(),"drop"===t.type&&ev(e,"Dropped file type is not supported"))}},n=function(n){Nf(e,n.target)&&t(n)},r=function(){var r=ss.DOM,o=e.dom,i=document,a=e.inline?e.getBody():e.getDoc(),s=["drop","dragover"];H(s,(function(e){r.bind(i,e,n),o.bind(a,e,t)})),e.on("remove",(function(){H(s,(function(e){r.unbind(i,e,n),o.unbind(a,e,t)}))}))};e.on("init",(function(){Kr.setEditorTimeout(e,r,0)}))}(e)}(e),function(e){var t=ys((function(){if(!e.removed&&e.getBody().contains(document.activeElement)){var t=e.selection.getRng();if(t.collapsed){var n=Jv(e,t,!1);e.selection.setRng(n)}}}),0);e.on("focus",(function(){t.throttle()})),e.on("blur",(function(){t.cancel()}))}(e),function(e){e.on("init",(function(){e.on("focusin",(function(t){var n=t.target;if(qn(n)){var r=Ed(e.getBody(),n),o=Xn(r)?r:n;e.selection.getNode()!==o&&Gv(e,o).each((function(t){return e.selection.setRng(t)}))}}))}))}(e)}(),{showCaret:h,showBlockCaretContainer:function(e){e.hasAttribute("data-mce-caret")&&(Bo(e),d(f()),n.scrollIntoView(e))},hideFakeCaret:y,destroy:function(){a.destroy(),t=null}}},$w=ss.DOM,Mw=function(e){return e.inline?e.getElement().nodeName.toLowerCase():void 0},zw=function(e){return ge(e,(function(e){return!1===g(e)}))},Rw=function(e){var t=e.settings,n=e.editorUpload.blobCache;return zw({allow_conditional_comments:t.allow_conditional_comments,allow_html_data_urls:t.allow_html_data_urls,allow_svg_data_urls:t.allow_svg_data_urls,allow_html_in_named_anchor:t.allow_html_in_named_anchor,allow_script_urls:t.allow_script_urls,allow_unsafe_link_target:t.allow_unsafe_link_target,convert_fonts_to_spans:t.convert_fonts_to_spans,fix_list_elements:t.fix_list_elements,font_size_legacy_values:t.font_size_legacy_values,forced_root_block:t.forced_root_block,forced_root_block_attrs:t.forced_root_block_attrs,padd_empty_with_br:t.padd_empty_with_br,preserve_cdata:t.preserve_cdata,remove_trailing_brs:t.remove_trailing_brs,inline_styles:t.inline_styles,root_name:Mw(e),validate:!0,blob_cache:n,document:e.getDoc(),images_dataimg_filter:t.images_dataimg_filter})},Dw=function(e){e.bindPendingEventDelegates(),e.initialized=!0,function(e){e.fire("Init")}(e),e.focus(!0),function(e){var t=e.dom.getRoot();e.inline||wd(e)&&e.selection.getStart(!0)!==t||vu(t).each((function(t){var n=t.getNode(),r=Rn(n)?vu(n).getOr(t):t;wt.browser.isIE()?function(e,t){var n=Pt(e.getBody()),r=(Ef(e)?R.from(t):R.none()).map(Pf).filter(Tf(n));e.bookmark=r.isSome()?r:e.bookmark}(e,r.toRange()):e.selection.setRng(r.toRange())}))}(e),e.nodeChanged({initial:!0}),e.execCallback("init_instance_callback",e),function(e){e.settings.auto_focus&&Kr.setEditorTimeout(e,(function(){var t;(t=!0===e.settings.auto_focus?e:e.editorManager.get(e.settings.auto_focus)).destroyed||t.focus()}),100)}(e)},Iw=function(e){return e.inline?e.ui.styleSheetLoader:e.dom.styleSheetLoader},Nw=function(e){var t=Iw(e),n=Jl(e),r=e.contentCSS,o=function(){t.unloadAll(r),e.inline||e.ui.styleSheetLoader.unloadAll(n)},i=function(){e.removed?o():e.on("remove",o)};if(e.contentStyles.length>0){var a="";Ct.each(e.contentStyles,(function(e){a+=e+"\r\n"})),e.dom.addStyle(a)}var s=qr.all(function(e,t,n){var r=[new qr((function(n,r){return Iw(e).loadAll(t,n,r)}))];return e.inline?r:r.concat([new qr((function(t,r){return e.ui.styleSheetLoader.loadAll(n,t,r)}))])}(e,r,n)).then(i).catch(i);return e.settings.content_style&&function(e,t){var n=Pt(e.getBody()),r=cn(ln(n)),o=Tt("style");Jn(o,"type","text/css"),pn(o,Et(t)),pn(r,o),e.on("remove",(function(){An(o)}))}(e,e.settings.content_style),s},Lw=function(e){var t=e.settings,n=e.getDoc(),r=e.getBody();!function(e){e.fire("PreInit")}(e),t.browser_spellcheck||t.gecko_spellcheck||(n.body.spellcheck=!1,$w.setAttrib(r,"spellcheck","false")),e.quirks=function(e){var t,n,r,o=Ct.each,i=Rd.BACKSPACE,a=Rd.DELETE,s=e.dom,l=e.selection,c=e.parser,u=wt.gecko,d=wt.ie,f=wt.webkit,h="data:text/mce-internal,",p=d?"Text":"URL",m=function(t,n){try{e.getDoc().execCommand(t,!1,n)}catch(e){}},g=function(e){return e.isDefaultPrevented()},A=function(){e.shortcuts.add("meta+a",null,"SelectAll")},v=function(){e.inline||s.bind(e.getDoc(),"mousedown mouseup",(function(t){var n;if(t.target===e.getDoc().documentElement)if(n=l.getRng(),e.getBody().focus(),"mousedown"===t.type){if(wo(n.startContainer))return;l.placeCaretAt(t.clientX,t.clientY)}else l.setRng(n)}))},y=function(){Range.prototype.getClientRects||e.on("mousedown",(function(t){if(!g(t)&&"HTML"===t.target.nodeName){var n=e.getBody();n.blur(),Kr.setEditorTimeout(e,(function(){n.focus()}))}}))},O=function(){e.on("click",(function(t){var n=t.target;/^(IMG|HR)$/.test(n.nodeName)&&"false"!==s.getContentEditableParent(n)&&(t.preventDefault(),e.selection.select(n),e.nodeChanged()),"A"===n.nodeName&&s.hasClass(n,"mce-item-anchor")&&(t.preventDefault(),l.select(n))}))},w=function(){e.on("keydown",(function(e){if(!g(e)&&e.keyCode===i&&l.isCollapsed()&&0===l.getRng().startOffset){var t=l.getNode().previousSibling;if(t&&t.nodeName&&"table"===t.nodeName.toLowerCase())return e.preventDefault(),!1}}))},_=function(){(function(e){return e.getParam("readonly")})(e)||e.on("BeforeExecCommand mousedown",(function(){m("StyleWithCSS",!1),m("enableInlineTableEditing",!1),ec(e)||m("enableObjectResizing",!1)}))},x=function(){e.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}")},S=function(){e.inline||e.on("keydown",(function(){document.activeElement===document.body&&e.getWin().focus()}))},k=function(){e.inline||(e.contentStyles.push("body {min-height: 150px}"),e.on("click",(function(t){var n;if("HTML"===t.target.nodeName){if(wt.ie>11)return void e.getBody().focus();n=e.selection.getRng(),e.getBody().focus(),e.selection.setRng(n),e.selection.normalize(),e.nodeChanged()}})))},C=function(){wt.mac&&e.on("keydown",(function(t){!Rd.metaKeyPressed(t)||t.shiftKey||37!==t.keyCode&&39!==t.keyCode||(t.preventDefault(),e.selection.getSel().modify("move",37===t.keyCode?"backward":"forward","lineboundary"))}))},B=function(){e.on("click",(function(e){var t=e.target;do{if("A"===t.tagName)return void e.preventDefault()}while(t=t.parentNode)})),e.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")},Q=function(){e.on("init",(function(){e.dom.bind(e.getBody(),"submit",(function(e){e.preventDefault()}))}))},T=b;return Wg(e)?(f&&(v(),O(),Q(),A(),wt.iOS&&(S(),k(),B())),u&&(y(),_(),x(),C())):(e.on("keydown",(function(t){var n,r;if(!g(t)&&t.keyCode===Rd.BACKSPACE){var o=(n=l.getRng()).startContainer,i=n.startOffset,a=s.getRoot();if(r=o,n.collapsed&&0===i){for(;r&&r.parentNode&&r.parentNode.firstChild===r&&r.parentNode!==a;)r=r.parentNode;"BLOCKQUOTE"===r.tagName&&(e.formatter.toggle("blockquote",null,r),(n=s.createRng()).setStart(o,0),n.setEnd(o,0),l.setRng(n))}}})),r=function(e){var t=s.create("body"),n=e.cloneContents();return t.appendChild(n),l.serializer.serialize(t,{format:"html"})},e.on("keydown",(function(t){var n,o,l=t.keyCode;if(!g(t)&&(l===a||l===i)){if(n=e.selection.isCollapsed(),o=e.getBody(),n&&!s.isEmpty(o))return;if(!n&&!function(t){var n=r(t),o=s.createRng();return o.selectNode(e.getBody()),n===r(o)}(e.selection.getRng()))return;t.preventDefault(),e.setContent(""),o.firstChild&&s.isBlock(o.firstChild)?e.selection.setCursorLocation(o.firstChild,0):e.selection.setCursorLocation(o,0),e.nodeChanged()}})),wt.windowsPhone||e.on("keyup focusin mouseup",(function(e){Rd.modifierPressed(e)||l.normalize()}),!0),f&&(v(),O(),Ll(e)&&e.on("init",(function(){m("DefaultParagraphSeparator",Ll(e))})),Q(),w(),c.addNodeFilter("br",(function(e){for(var t=e.length;t--;)"Apple-interchange-newline"===e[t].attr("class")&&e[t].remove()})),wt.iOS?(S(),k(),B()):A()),wt.ie>=11&&(k(),w()),wt.ie&&(A(),m("AutoUrlDetect",!1),e.on("dragstart",(function(t){!function(t){var n,r;t.dataTransfer&&(e.selection.isCollapsed()&&"IMG"===t.target.tagName&&l.select(t.target),(n=e.selection.getContent()).length>0&&(r=h+escape(e.id)+","+escape(n),t.dataTransfer.setData(p,r)))}(t)})),e.on("drop",(function(t){if(!g(t)){var n=function(e){var t;return e.dataTransfer&&(t=e.dataTransfer.getData(p))&&t.indexOf(h)>=0?(t=t.substr(23).split(","),{id:unescape(t[0]),html:unescape(t[1])}):null}(t);if(n&&n.id!==e.id){t.preventDefault();var r=Ld(t.x,t.y,e.getDoc());l.setRng(r),o=n.html,e.queryCommandSupported("mceInsertClipboardContent")?e.execCommand("mceInsertClipboardContent",!1,{content:o,internal:!0}):e.execCommand("mceInsertContent",!1,o)}}var o}))),u&&(e.on("keydown",(function(t){if(!g(t)&&t.keyCode===i){if(!e.getBody().getElementsByTagName("hr").length)return;if(l.isCollapsed()&&0===l.getRng().startOffset){var n=l.getNode(),r=n.previousSibling;if("HR"===n.nodeName)return s.remove(n),void t.preventDefault();r&&r.nodeName&&"hr"===r.nodeName.toLowerCase()&&(s.remove(r),t.preventDefault())}}})),y(),t=function(){var t=s.getAttribs(l.getStart().cloneNode(!1));return function(){var n=l.getStart();n!==e.getBody()&&(s.setAttrib(n,"style",null),o(t,(function(e){n.setAttributeNode(e.cloneNode(!0))})))}},n=function(){return!l.isCollapsed()&&s.getParent(l.getStart(),s.isBlock)!==s.getParent(l.getEnd(),s.isBlock)},e.on("keypress",(function(r){var o;if(!g(r)&&(8===r.keyCode||46===r.keyCode)&&n())return o=t(),e.getDoc().execCommand("delete",!1,null),o(),r.preventDefault(),!1})),s.bind(e.getDoc(),"cut",(function(r){var o;!g(r)&&n()&&(o=t(),Kr.setEditorTimeout(e,(function(){o()})))})),_(),e.on("SetContent ExecCommand",(function(e){"setcontent"!==e.type&&"mceInsertLink"!==e.command||o(s.select("a"),(function(e){var t=e.parentNode,n=s.getRoot();if(t.lastChild===e){for(;t&&!s.isBlock(t);){if(t.parentNode.lastChild!==t||t===n)return;t=t.parentNode}s.add(t,"br",{"data-mce-bogus":1})}}))})),x(),C(),w())),{refreshContentEditable:T,isHidden:function(){if(!u||e.removed)return!1;var t=e.selection.getSel();return!t||!t.rangeCount||0===t.rangeCount}}}(e),function(e){e.fire("PostRender")}(e);var o=function(e){return e.getParam("directionality",gs.isRtl()?"rtl":void 0)}(e);void 0!==o&&(r.dir=o),t.protect&&e.on("BeforeSetContent",(function(e){Ct.each(t.protect,(function(t){e.content=e.content.replace(t,(function(e){return"\x3c!--mce:protected "+escape(e)+"--\x3e"}))}))})),e.on("SetContent",(function(){e.addVisual(e.getBody())})),e.on("compositionstart compositionend",(function(t){e.composing="compositionstart"===t.type}))},Vw=function(e){!0!==e.removed&&(function(e){Wg(e)||e.load({initial:!0,format:"html"}),e.startContent=e.getContent({format:"raw"})}(e),Dw(e))},Uw=function(e,t){var n=e.settings,r=e.getElement(),o=e.getDoc();n.inline||(e.getElement().style.visibility=e.orgVisibility),t||e.inline||(o.open(),o.write(e.iframeHTML),o.close()),e.inline&&($w.addClass(r,"mce-content-body"),e.contentDocument=o=document,e.contentWindow=window,e.bodyElement=r,e.contentAreaContainer=r);var i=e.getBody();i.disabled=!0,e.readonly=!!n.readonly,e.readonly||(e.inline&&"static"===$w.getStyle(i,"position",!0)&&(i.style.position="relative"),i.contentEditable=e.getParam("content_editable_state",!0)),i.disabled=!1,e.editorUpload=function(e){var t,n,r,o,i,a,s=(r=[],o=function(e){if(!e.blob||!e.base64)throw new Error("blob and base64 representations of the image are required for BlobInfo to be created");var t,n=e.id||cv("blobid"),r=e.name||n,o=e.blob;return{id:x(n),name:x(r),filename:x(e.filename||r+"."+(t=o.type,{"image/jpeg":"jpg","image/jpg":"jpg","image/gif":"gif","image/png":"png","image/apng":"apng","image/avif":"avif","image/svg+xml":"svg","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"}[t.toLowerCase()]||"dat")),blob:x(o),base64:x(e.base64),blobUri:x(e.blobUri||URL.createObjectURL(o)),uri:x(e.uri)}},{create:function(e,t,n,r,i){if(d(e))return o({id:e,name:r,filename:i,blob:t,base64:n});if(f(e))return o(e);throw new Error("Unknown input type")},add:function(e){a(e.id())||r.push(e)},get:a=function(e){return i((function(t){return t.id()===e}))},getByUri:function(e){return i((function(t){return t.blobUri()===e}))},getByData:function(e,t){return i((function(n){return n.base64()===e&&n.blob().type===t}))},findFirst:i=function(e){return G(r,e).getOrUndefined()},removeByUri:function(e){r=j(r,(function(t){return t.blobUri()!==e||(URL.revokeObjectURL(t.blobUri()),!1)}))},destroy:function(){H(r,(function(e){URL.revokeObjectURL(e.blobUri())})),r=[]}}),l=sv(),c=[],u=function(e){var t=fs(null);return e.on("change AddUndo",(function(e){t.set(Be({},e.level))})),{fireIfChanged:function(){var n=e.undoManager.data;ae(n).filter((function(e){return!Lg(t.get(),e)})).each((function(t){e.setDirty(!0),e.fire("change",{level:t,lastLevel:oe(n,n.length-2).getOrNull()})}))}}}(e),h=function(t){return function(n){return e.selection?t(n):[]}},p=function(e,t,n){var r=0;do{-1!==(r=e.indexOf(t,r))&&(e=e.substring(0,r)+n+e.substr(r+t.length),r+=n.length-t.length+1)}while(-1!==r);return e},m=function(e,t,n){var r='src="'+n+'"'+(n===wt.transparentSrc?' data-mce-placeholder="1"':"");return e=p(e,'src="'+t+'"',r),p(e,'data-mce-src="'+t+'"','data-mce-src="'+n+'"')},g=function(t,n){H(e.undoManager.data,(function(e){"fragmented"===e.type?e.fragments=F(e.fragments,(function(e){return m(e,t,n)})):e.content=m(e.content,t,n)}))},A=function(n){return t||(t=fv(e,l)),O().then(h((function(r){var o=F(r,(function(e){return e.blobInfo}));return t.upload(o,dv(e)).then(h((function(t){var o=[],i=F(t,(function(t,n){var i=r[n].blobInfo,a=r[n].image;return t.status&&function(e){return e.getParam("images_replace_blob_uris",!0,"boolean")}(e)?(s.removeByUri(a.src),Wg(e)||function(t,n){var r,o=e.convertURL(n,"src");g(t.src,n),e.$(t).attr({src:Fl(e)?(r=n,r+(-1===r.indexOf("?")?"?":"&")+(new Date).getTime()):n,"data-mce-src":o})}(a,t.url)):t.error&&(t.error.options.remove&&(g(a.getAttribute("src"),wt.transparentSrc),o.push(a)),function(e,t){ev(e,gs.translate(["Failed to upload image: {0}",t]))}(e,t.error.message)),{element:a,status:t.status,uploadUri:t.url,blobInfo:i}}));return i.length>0&&u.fireIfChanged(),o.length>0&&(Wg(e)?console.error("Removing images on failed uploads is currently unsupported for RTC"):e.undoManager.transact((function(){H(o,(function(t){e.dom.remove(t),s.removeByUri(t.src)}))}))),n&&n(i),i})))})))},v=function(t){if(Ul(e))return A(t)},y=function(t){if(!1===ee(c,(function(e){return e(t)})))return!1;if(0===t.getAttribute("src").indexOf("data:")){var n=function(e){return e.getParam("images_dataimg_filter",P,"function")}(e);return n(t)}return!0},O=function(){return n||(n=aA(l,s)),n.findAll(e.getBody(),y).then(h((function(t){return t=j(t,(function(t){return"string"!=typeof t||(ev(e,t),!1)})),Wg(e)||H(t,(function(e){g(e.image.src,e.blobInfo.blobUri()),e.image.src=e.blobInfo.blobUri(),e.image.removeAttribute("data-mce-src")})),t})))},b=function(t){return t.replace(/src="(blob:[^"]+)"/g,(function(t,n){var r=l.getResultUri(n);if(r)return'src="'+r+'"';var o=s.getByUri(n);return o||(o=Z(e.editorManager.get(),(function(e,t){return e||t.editorUpload&&t.editorUpload.blobCache.getByUri(n)}),null)),o?'src="data:'+o.blob().type+";base64,"+o.base64()+'"':t}))};return e.on("SetContent",(function(){Ul(e)?v():O()})),e.on("RawSaveContent",(function(e){e.content=b(e.content)})),e.on("GetContent",(function(e){e.source_view||"raw"===e.format||"tree"===e.format||(e.content=b(e.content))})),e.on("PostRender",(function(){e.parser.addNodeFilter("img",(function(e){H(e,(function(e){var t=e.attr("src");if(!s.getByUri(t)){var n=l.getResultUri(t);n&&e.attr("src",n)}}))}))})),{blobCache:s,addFilter:function(e){c.push(e)},uploadImages:A,uploadImagesAuto:v,scanForImages:O,destroy:function(){s.destroy(),l.destroy(),n=t=null}}}(e),e.schema=Oi(n),e.dom=ss(o,{keep_values:!0,url_converter:e.convertURL,url_converter_scope:e,hex_colors:n.force_hex_style_colors,update_styles:!0,root_element:e.inline?e.getBody():null,collect:function(){return e.inline},schema:e.schema,contentCssCors:Zl(e),referrerPolicy:Yl(e),onSetAttrib:function(t){e.fire("SetAttrib",t)}}),e.parser=function(e){var t=pA(Rw(e),e.schema);return t.addAttributeFilter("src,href,style,tabindex",(function(t,n){for(var r,o,i=t.length,a=e.dom,s="data-mce-"+n;i--;)if((o=(r=t[i]).attr(n))&&!r.attr(s)){if(0===o.indexOf("data:")||0===o.indexOf("blob:"))continue;"style"===n?((o=a.serializeStyle(a.parseStyle(o),r.name)).length||(o=null),r.attr(s,o),r.attr(n,o)):"tabindex"===n?(r.attr(s,o),r.attr(n,null)):r.attr(s,e.convertURL(o,n,r.name))}})),t.addNodeFilter("script",(function(e){for(var t=e.length;t--;){var n=e[t],r=n.attr("type")||"no/type";0!==r.indexOf("mce-")&&n.attr("type","mce-"+r)}})),e.settings.preserve_cdata&&t.addNodeFilter("#cdata",(function(t){for(var n=t.length;n--;){var r=t[n];r.type=8,r.name="#comment",r.value="[CDATA["+e.dom.encode(r.value)+"]]"}})),t.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",(function(t){for(var n=t.length,r=e.schema.getNonEmptyElements();n--;){var o=t[n];o.isEmpty(r)&&0===o.getAll("br").length&&(o.append(new th("br",1)).shortEnded=!0)}})),t}(e),e.serializer=AA(function(e){var t=e.settings;return Be(Be({},Rw(e)),zw({url_converter:t.url_converter,url_converter_scope:t.url_converter_scope,element_format:t.element_format,entities:t.entities,entity_encoding:t.entity_encoding,indent:t.indent,indent_after:t.indent_after,indent_before:t.indent_before,block_elements:t.block_elements,boolean_attributes:t.boolean_attributes,custom_elements:t.custom_elements,extended_valid_elements:t.extended_valid_elements,invalid_elements:t.invalid_elements,invalid_styles:t.invalid_styles,move_caret_before_on_enter_elements:t.move_caret_before_on_enter_elements,non_empty_elements:t.non_empty_elements,schema:t.schema,self_closing_elements:t.self_closing_elements,short_ended_elements:t.short_ended_elements,special:t.special,text_block_elements:t.text_block_elements,text_inline_elements:t.text_inline_elements,valid_children:t.valid_children,valid_classes:t.valid_classes,valid_elements:t.valid_elements,valid_styles:t.valid_styles,verify_html:t.verify_html,whitespace_elements:t.whitespace_elements}))}(e),e),e.selection=Jg(e.dom,e.getWin(),e.serializer,e),e.annotator=Qd(e),e.formatter=vv(e),e.undoManager=Ov(e),e._nodeChangeDispatcher=new Ow(e),e._selectionOverrides=Pw(e),function(e){var t=vs(),n=fs(!1),r=Os((function(t){e.fire("longpress",Be(Be({},t),{type:"longpress"})),n.set(!0)}),400);e.on("touchstart",(function(e){qO(e).each((function(o){r.cancel();var i={x:o.clientX,y:o.clientY,target:e.target};r.throttle(e),n.set(!1),t.set(i)}))}),!0),e.on("touchmove",(function(o){r.cancel(),qO(o).each((function(r){t.on((function(o){(function(e,t){var n=Math.abs(e.clientX-t.x),r=Math.abs(e.clientY-t.y);return n>5||r>5})(r,o)&&(t.clear(),n.set(!1),e.fire("longpresscancel"))}))}))}),!0),e.on("touchend touchcancel",(function(o){r.cancel(),"touchcancel"!==o.type&&t.get().filter((function(e){return e.target.isEqualNode(o.target)})).each((function(){n.get()?o.preventDefault():e.fire("tap",Be(Be({},o),{type:"tap"}))}))}),!0)}(e),function(e){!function(e){e.on("click",(function(t){e.dom.getParent(t.target,"details")&&t.preventDefault()}))}(e),function(e){e.parser.addNodeFilter("details",(function(e){H(e,(function(e){e.attr("data-mce-open",e.attr("open")),e.attr("open","open")}))})),e.serializer.addNodeFilter("details",(function(e){H(e,(function(e){var t=e.attr("data-mce-open");e.attr("open",d(t)?t:null),e.attr("data-mce-open",null)}))}))}(e)}(e),Wg(e)||function(e){e.on("click",(function(t){t.detail>=3&&function(e){var t=e.selection.getRng(),n=pl.fromRangeStart(t),r=pl.fromRangeEnd(t);if(pl.isElementPosition(n)){var o=n.container();bw(o)&&vu(o).each((function(e){return t.setStart(e.container(),e.offset())}))}pl.isElementPosition(r)&&(o=n.container(),bw(o)&&yu(o).each((function(e){return t.setEnd(e.container(),e.offset())}))),e.selection.setRng(em(t))}(e)}))}(e);var a=function(e){return Wg(e)?fs(null):yw(e)}(e);(function(e,t){e.addCommand("delete",(function(){!function(e,t){XO(e)||cy(e,!1)||ry(e,!1)||MO(e,t,!1)||Hv(e,!1)||Jp(e)||uy(e,!1)||NO(e,!1)||jv(e)||DO(e,!1)||(jO(e,"Delete"),$v(e))}(e,t)})),e.addCommand("forwardDelete",(function(){!function(e,t){cy(e,!0)||ry(e,!0)||MO(e,t,!0)||Hv(e,!0)||Jp(e)||uy(e,!0)||NO(e,!0)||jv(e)||DO(e,!0)||jO(e,"ForwardDelete")}(e,t)}))})(e,a),function(e){Ll(e)&&e.on("NodeChange",C(KO,e))}(e),function(e){var t=e.dom,n=Ll(e),r=function(e){return e.getParam("placeholder",Dl.getAttrib(e.getElement(),"placeholder"),"string")}(e),o=function(i,a){if(!function(e){if(_v(e)){var t=e.keyCode;return!xv(e)&&(Rd.metaKeyPressed(e)||e.altKey||t>=112&&t<=123||V(bv,t))}return!1}(i)){var s=e.getBody(),l=!function(e){return _v(e)&&!(xv(e)||"keyup"===e.type&&229===e.keyCode)}(i)&&function(e,t,n){if(jo(Pt(t),!1)){var r=""===n,o=t.firstElementChild;return!o||!e.getStyle(t.firstElementChild,"padding-left")&&!e.getStyle(t.firstElementChild,"padding-right")&&(r?!e.isBlock(o):n===o.nodeName.toLowerCase())}return!1}(t,s,n);(""!==t.getAttrib(s,wv)!==l||a)&&(t.setAttrib(s,wv,l?r:null),t.setAttrib(s,"aria-placeholder",l?r:null),function(e,t){e.fire("PlaceholderToggle",{state:t})}(e,l),e.on(l?"keydown":"keyup",o),e.off(l?"keyup":"keydown",o))}};r&&e.on("init",(function(t){o(t,!0),e.on("change SetContent ExecCommand",o),e.on("paste",(function(t){return Kr.setEditorTimeout(e,(function(){return o(t)}))}))}))}(e);var s=function(e){var t=e;return function(e){return Ae(e.plugins,"rtc").bind((function(e){return R.from(e.setup)}))}(e).fold((function(){return t.rtcInstance=Hg(e),R.none()}),(function(e){return t.rtcInstance=function(){var e=x(null),t=x("");return{undoManager:{beforeChange:b,add:e,undo:e,redo:e,clear:b,reset:b,hasUndo:E,hasRedo:E,transact:e,ignore:b,extra:b},formatter:{match:E,matchAll:x([]),matchNode:x(void 0),canApply:E,closest:t,apply:b,remove:b,toggle:b,formatChanged:x({unbind:b})},editor:{getContent:t,setContent:t,insertContent:b,addVisual:b},selection:{getContent:t},raw:{getModel:x(R.none())}}}(),R.some((function(){return e().then((function(e){return t.rtcInstance=function(e){var t=function(e){return f(e)?e:{}},n=e.undoManager,r=e.formatter,o=e.editor,i=e.selection,a=e.raw;return{undoManager:{beforeChange:n.beforeChange,add:n.add,undo:n.undo,redo:n.redo,clear:n.clear,reset:n.reset,hasUndo:n.hasUndo,hasRedo:n.hasRedo,transact:function(e,t,r){return n.transact(r)},ignore:function(e,t){return n.ignore(t)},extra:function(e,t,r,o){return n.extra(r,o)}},formatter:{match:function(e,n,o,i){return r.match(e,t(n),i)},matchAll:r.matchAll,matchNode:r.matchNode,canApply:function(e){return r.canApply(e)},closest:function(e){return r.closest(e)},apply:function(e,n,o){return r.apply(e,t(n))},remove:function(e,n,o,i){return r.remove(e,t(n))},toggle:function(e,n,o){return r.toggle(e,t(n))},formatChanged:function(e,t,n,o,i){return r.formatChanged(t,n,o,i)}},editor:{getContent:function(e,t){return o.getContent(e)},setContent:function(e,t){return o.setContent(e,t)},insertContent:function(e,t){return o.insertContent(e)},addVisual:o.addVisual},selection:{getContent:function(e,t){return i.getContent(t)}},raw:{getModel:function(){return R.some(a.getRawModel())}}}}(e),e.rtc.isRemote}))}))}))}(e);Lw(e),s.fold((function(){Nw(e).then((function(){return Vw(e)}))}),(function(t){e.setProgressState(!0),Nw(e).then((function(){t().then((function(t){e.setProgressState(!1),Vw(e)}),(function(t){e.notificationManager.open({type:"error",text:String(t)}),Vw(e)}))}))}))},Fw=ss.DOM,Hw=function(e,t){var n,r,o,i,a=e.translate("Rich Text Area"),s=(n=e.id,r=a,t.height,o=function(e){return e.getParam("iframe_attrs",{})}(e),i=Tt("iframe"),er(i,o),er(i,{id:n+"_ifr",frameBorder:"0",allowTransparency:"true",title:r}),_s(i,"tox-edit-area__iframe"),i).dom;s.onload=function(){s.onload=null,e.fire("load")};var l=function(e,t){if(document.domain!==window.location.hostname&&wt.browser.isIE()){var n=cv("mce");e[n]=function(){Uw(e)};var r='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinymce.get("'+e.id+'");document.write(ed.iframeHTML);document.close();ed.'+n+"(true);})()";return Fw.setAttrib(t,"src",r),!0}return!1}(e,s);return e.contentAreaContainer=t.iframeContainer,e.iframeElement=s,e.iframeHTML=function(e){var t=function(e){return e.getParam("doctype","<!DOCTYPE html>")}(e)+"<html><head>";(function(e){return e.getParam("document_base_url","")})(e)!==e.documentBaseUrl&&(t+='<base href="'+e.documentBaseURI.getURI()+'" />'),t+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';var n=function(e){return Il(e,"body_id","tinymce")}(e),r=function(e){return Il(e,"body_class","")}(e),o=e.translate(function(e){return e.getParam("iframe_aria_text","Rich Text Area. Press ALT-0 for help.","string")}(e));return Nl(e)&&(t+='<meta http-equiv="Content-Security-Policy" content="'+Nl(e)+'" />'),t+'</head><body id="'+n+'" class="mce-content-body '+r+'" data-id="'+e.id+'" aria-label="'+o+'"><br></body></html>'}(e),Fw.add(t.iframeContainer,s),l},Ww=ss.DOM,Xw=function(e,t,n){var r=YA.get(n),o=YA.urls[n]||e.documentBaseUrl.replace(/\/$/,"");if(n=Ct.trim(n),r&&-1===Ct.inArray(t,n)){if(Ct.each(YA.dependencies(n),(function(n){Xw(e,t,n)})),e.plugins[n])return;try{var i=new r(e,o,e.$);e.plugins[n]=i,i.init&&(i.init(e,o),t.push(n))}catch(t){!function(e,t,n){var r=gs.translate(["Failed to initialize plugin: {0}",t]);$d(e,"PluginLoadError",{message:r}),ov(r,n),ev(e,r)}(e,n,t)}}},jw=function(e){return e.replace(/^\-/,"")},qw=function(e){return{editorContainer:e,iframeContainer:e,api:{}}},Zw=function(e){var t=e.getElement();return e.orgDisplay=t.style.display,d(nc(e))?function(e){return e.theme.renderUI()}(e):y(nc(e))?function(e){var t=e.getElement(),n=nc(e)(e,t);return n.editorContainer.nodeType&&(n.editorContainer.id=n.editorContainer.id||e.id+"_parent"),n.iframeContainer&&n.iframeContainer.nodeType&&(n.iframeContainer.id=n.iframeContainer.id||e.id+"_iframecontainer"),n.height=n.iframeHeight?n.iframeHeight:t.offsetHeight,n}(e):function(e){var t=e.getElement();return e.inline?qw(null):function(e){var t=Ww.create("div");return Ww.insertAfter(t,e),qw(t)}(t)}(e)},Yw=function(e){e.fire("ScriptsLoaded"),function(e){var t=Ct.trim(Hl(e)),n=e.ui.registry.getAll().icons,r=Be(Be({},VA.get("default").icons),VA.get(t).icons);de(r,(function(t,r){ve(n,r)||e.ui.registry.addIcon(r,t)}))}(e),function(e){var t=nc(e);if(d(t)){e.settings.theme=jw(t);var n=GA.get(t);e.theme=new n(e,GA.urls[t]),e.theme.init&&e.theme.init(e,GA.urls[t]||e.documentBaseUrl.replace(/\/$/,""),e.$)}else e.theme={}}(e),function(e){var t=[];Ct.each(ac(e).split(/[ ,]/),(function(n){Xw(e,t,jw(n))}))}(e);var t=Zw(e);!function(e,t){var n={show:R.from(t.show).getOr(b),hide:R.from(t.hide).getOr(b),disable:R.from(t.disable).getOr(b),isDisabled:R.from(t.isDisabled).getOr(E),enable:function(){e.mode.isReadOnly()||R.from(t.enable).map(T)}};e.ui=Be(Be({},e.ui),n)}(e,R.from(t.api).getOr({}));var n={editorContainer:t.editorContainer,iframeContainer:t.iframeContainer};return e.editorContainer=n.editorContainer?n.editorContainer:null,av(e),e.inline?Uw(e):function(e,t){var n=Hw(e,t);t.editorContainer&&(Fw.get(t.editorContainer).style.display=e.orgDisplay,e.hidden=Fw.isHidden(t.editorContainer)),e.getElement().style.display="none",Fw.setAttrib(e.id,"aria-hidden","true"),n||Uw(e)}(e,n)},Gw=ss.DOM,Kw=function(e){return"-"===e.charAt(0)},Jw=function(e,t,n){return R.from(t).filter((function(e){return e.length>0&&!VA.has(e)})).map((function(t){return{url:e.editorManager.baseURL+"/icons/"+t+"/icons"+n+".js",name:R.some(t)}}))},e_=function(e,t){var n=ds.ScriptLoader;!function(e,t,n,r){var o=nc(t);if(d(o)){if(!Kw(o)&&!ve(GA.urls,o)){var i=function(e){return e.getParam("theme_url")}(t);i?GA.load(o,t.documentBaseURI.toAbsolute(i)):GA.load(o,"themes/"+o+"/theme"+n+".js")}e.loadQueue((function(){GA.waitFor(o,r)}))}else r()}(n,e,t,(function(){(function(e,t){var n=Gl(t),r=function(e){return e.getParam("language_url","","string")}(t);if(!1===gs.hasCode(n)&&"en"!==n){var o=""!==r?r:t.editorManager.baseURL+"/langs/"+n+".js";e.add(o,b,void 0,(function(){!function(e,t,n){tv(e,"LanguageLoadError",nv("language",t,n))}(t,o,n)}))}})(n,e),function(e,t,n){var r=Jw(t,"default",n),o=function(e){return R.from(function(e){return e.getParam("icons_url","","string")}(e)).filter((function(e){return e.length>0})).map((function(e){return{url:e,name:R.none()}}))}(t).orThunk((function(){return Jw(t,Hl(t),"")}));H(function(e){for(var t=[],n=function(e){t.push(e)},r=0;r<e.length;r++)e[r].each(n);return t}([r,o]),(function(n){e.add(n.url,b,void 0,(function(){!function(e,t,n){tv(e,"IconsLoadError",nv("icons",t,n))}(t,n.url,n.name.getOrUndefined())}))}))}(n,e,t),function(e,t){Ct.each(function(e){return e.getParam("external_plugins")}(e),(function(t,n){YA.load(n,t,b,void 0,(function(){rv(e,t,n)})),e.settings.plugins+=" "+n})),Ct.each(ac(e).split(/[ ,]/),(function(n){if((n=Ct.trim(n))&&!YA.urls[n])if(Kw(n)){n=n.substr(1,n.length);var r=YA.dependencies(n);Ct.each(r,(function(n){var r={prefix:"plugins/",resource:n,suffix:"/plugin"+t+".js"},o=YA.createUrl(r,n);YA.load(o.resource,o,b,void 0,(function(){rv(e,o.prefix+o.resource+o.suffix,o.resource)}))}))}else{var o={prefix:"plugins/",resource:n,suffix:"/plugin"+t+".js"};YA.load(n,o,b,void 0,(function(){rv(e,o.prefix+o.resource+o.suffix,n)}))}}))}(e,t),n.loadQueue((function(){e.removed||Yw(e)}),e,(function(){e.removed||Yw(e)}))}))},t_={"font-size":"size","font-family":"face"},n_=function(e){return function(t,n){return R.from(n).map(Pt).filter(Vt).bind((function(n){return function(e,t,n){return pm(Pt(n),(function(t){return function(t){return ar(t,e).orThunk((function(){return"font"===It(t)?Ae(t_,e).bind((function(e){return nr(t,e)})):R.none()}))}(t)}),(function(e){return Rt(Pt(t),e)}))}(e,t,n.dom).or(function(e,t){return R.from(ss.DOM.getStyle(t,e,!0))}(e,n.dom))})).getOr("")}},r_=n_("font-size"),o_=w((function(e){return e.replace(/[\'\"\\]/g,"").replace(/,\s+/g,",")}),n_("font-family")),i_=function(e){return vu(e.getBody()).map((function(e){var t=e.container();return Nn(t)?t.parentNode:t}))},a_=function(e,t){return function(e,t){return function(e){return R.from(e.selection.getRng()).bind((function(t){var n=e.getBody();return t.startContainer===n&&0===t.startOffset?R.none():R.from(e.selection.getStart(!0))}))}(e).orThunk(C(i_,e)).map(Pt).filter(Vt).bind(t)}(e,_(R.some,t))},s_=function(e,t){if(/^[0-9.]+$/.test(t)){var n=parseInt(t,10);if(n>=1&&n<=7){var r=function(e){return Ct.explode(e.getParam("font_size_style_values","xx-small,x-small,small,medium,large,x-large,xx-large"))}(e),o=function(e){return Ct.explode(e.getParam("font_size_classes",""))}(e);return o?o[n-1]||t:r[n-1]||t}return t}return t},l_=function(e){var t=e.split(/\s*,\s*/);return F(t,(function(e){return-1===e.indexOf(" ")||Re(e,'"')||Re(e,"'")?e:"'"+e+"'"})).join(",")},c_=Ct.each,u_=Ct.map,d_=Ct.inArray,f_=function(){function e(e){this.commands={state:{},exec:{},value:{}},this.editor=e,this.setupCommands(e)}return e.prototype.execCommand=function(e,t,n,r){var o,i=!1,a=this;if(!a.editor.removed){var s;if("mcefocus"!==e.toLowerCase()&&(/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint)$/.test(e)||r&&r.skip_focus?(s=a.editor,zf(s).each((function(e){return s.selection.setRng(e)}))):a.editor.focus()),(r=a.editor.fire("BeforeExecCommand",{command:e,ui:t,value:n})).isDefaultPrevented())return!1;var l=e.toLowerCase();if(o=a.commands.exec[l])return o(l,t,n),a.editor.fire("ExecCommand",{command:e,ui:t,value:n}),!0;if(c_(this.editor.plugins,(function(r){if(r.execCommand&&r.execCommand(e,t,n))return a.editor.fire("ExecCommand",{command:e,ui:t,value:n}),i=!0,!1})),i)return i;if(a.editor.theme&&a.editor.theme.execCommand&&a.editor.theme.execCommand(e,t,n))return a.editor.fire("ExecCommand",{command:e,ui:t,value:n}),!0;try{i=a.editor.getDoc().execCommand(e,t,n)}catch(e){}return!!i&&(a.editor.fire("ExecCommand",{command:e,ui:t,value:n}),!0)}},e.prototype.queryCommandState=function(e){var t;if(!this.editor.quirks.isHidden()&&!this.editor.removed){if(e=e.toLowerCase(),t=this.commands.state[e])return t(e);try{return this.editor.getDoc().queryCommandState(e)}catch(e){}return!1}},e.prototype.queryCommandValue=function(e){var t;if(!this.editor.quirks.isHidden()&&!this.editor.removed){if(e=e.toLowerCase(),t=this.commands.value[e])return t(e);try{return this.editor.getDoc().queryCommandValue(e)}catch(e){}}},e.prototype.addCommands=function(e,t){void 0===t&&(t="exec");var n=this;c_(e,(function(e,r){c_(r.toLowerCase().split(","),(function(r){n.commands[t][r]=e}))}))},e.prototype.addCommand=function(e,t,n){var r=this;e=e.toLowerCase(),this.commands.exec[e]=function(e,o,i,a){return t.call(n||r.editor,o,i,a)}},e.prototype.queryCommandSupported=function(e){if(e=e.toLowerCase(),this.commands.exec[e])return!0;try{return this.editor.getDoc().queryCommandSupported(e)}catch(e){}return!1},e.prototype.addQueryStateHandler=function(e,t,n){var r=this;e=e.toLowerCase(),this.commands.state[e]=function(){return t.call(n||r.editor)}},e.prototype.addQueryValueHandler=function(e,t,n){var r=this;e=e.toLowerCase(),this.commands.value[e]=function(){return t.call(n||r.editor)}},e.prototype.hasCustomCommand=function(e){return e=e.toLowerCase(),!!this.commands.exec[e]},e.prototype.execNativeCommand=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=null),this.editor.getDoc().execCommand(e,t,n)},e.prototype.isFormatMatch=function(e){return this.editor.formatter.match(e)},e.prototype.toggleFormat=function(e,t){this.editor.formatter.toggle(e,t),this.editor.nodeChanged()},e.prototype.storeSelection=function(e){this.selectionBookmark=this.editor.selection.getBookmark(e)},e.prototype.restoreSelection=function(){this.editor.selection.moveToBookmark(this.selectionBookmark)},e.prototype.setupCommands=function(e){var t=this;this.addCommands({"mceResetDesignMode,mceBeginUndoLevel":b,"mceEndUndoLevel,mceAddUndoLevel":function(){e.undoManager.add()},mceFocus:function(t,n,r){!function(e,t){e.removed||(t?Wf(e):function(e){var t=e.selection,n=e.getBody(),r=t.getRng();e.quirks.refreshContentEditable(),void 0!==e.bookmark&&!1===Hf(e)&&zf(e).each((function(t){e.selection.setRng(t),r=t}));var o=function(e,t){return e.dom.getParent(t,(function(t){return"true"===e.dom.getContentEditable(t)}))}(e,t.getNode());if(e.$.contains(n,o))return Ff(o),Uf(e,r),void Wf(e);e.inline||(wt.opera||Ff(n),e.getWin().focus()),(wt.gecko||e.inline)&&(Ff(n),Uf(e,r)),Wf(e)}(e))}(e,r)},"Cut,Copy,Paste":function(n){var r,o=e.getDoc();try{t.execNativeCommand(n)}catch(e){r=!0}if("paste"!==n||o.queryCommandEnabled(n)||(r=!0),r||!o.queryCommandSupported(n)){var i=e.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");wt.mac&&(i=i.replace(/Ctrl\+/g,"⌘+")),e.notificationManager.open({text:i,type:"error"})}},unlink:function(){if(e.selection.isCollapsed()){var t=e.dom.getParent(e.selection.getStart(),"a");t&&e.dom.remove(t,!0)}else e.formatter.remove("link")},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone":function(n){var r=n.substring(7);"full"===r&&(r="justify"),c_("left,center,right,justify".split(","),(function(t){r!==t&&e.formatter.remove("align"+t)})),"none"!==r&&t.toggleFormat("align"+r)},"InsertUnorderedList,InsertOrderedList":function(n){var r;t.execNativeCommand(n);var o=e.dom.getParent(e.selection.getNode(),"ol,ul");o&&(r=o.parentNode,/^(H[1-6]|P|ADDRESS|PRE)$/.test(r.nodeName)&&(t.storeSelection(),e.dom.split(r,o),t.restoreSelection()))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){t.toggleFormat(e)},"ForeColor,HiliteColor":function(e,n,r){t.toggleFormat(e,{value:r})},FontName:function(t,n,r){!function(e,t){var n=s_(e,t);e.formatter.toggle("fontname",{value:l_(n)}),e.nodeChanged()}(e,r)},FontSize:function(t,n,r){!function(e,t){e.formatter.toggle("fontsize",{value:s_(e,t)}),e.nodeChanged()}(e,r)},LineHeight:function(t,n,r){!function(e,t){e.formatter.toggle("lineheight",{value:String(t)}),e.nodeChanged()}(e,r)},Lang:function(e,n,r){t.toggleFormat(e,{value:r.code,customValue:r.customCode})},RemoveFormat:function(t){e.formatter.remove(t)},mceBlockQuote:function(){t.toggleFormat("blockquote")},FormatBlock:function(e,n,r){return t.toggleFormat(r||"p")},mceCleanup:function(){var t=e.selection.getBookmark();e.setContent(e.getContent()),e.selection.moveToBookmark(t)},mceRemoveNode:function(n,r,o){var i=o||e.selection.getNode();i!==e.getBody()&&(t.storeSelection(),e.dom.remove(i,!0),t.restoreSelection())},mceSelectNodeDepth:function(t,n,r){var o=0;e.dom.getParent(e.selection.getNode(),(function(t){if(1===t.nodeType&&o++===r)return e.selection.select(t),!1}),e.getBody())},mceSelectNode:function(t,n,r){e.selection.select(r)},mceInsertContent:function(t,n,r){!function(e,t){var n=function(e){if("string"!=typeof e){var t=Ct.extend({paste:e.paste,data:{paste:e.paste}},e);return{content:e.content,details:t}}return{content:e,details:{}}}(t);!function(e,t,n){Xg(e).editor.insertContent(t,n)}(e,n.content,n.details)}(e,r)},mceInsertRawHTML:function(t,n,r){e.selection.setContent("tiny_mce_marker");var o=e.getContent();e.setContent(o.replace(/tiny_mce_marker/g,(function(){return r})))},mceInsertNewLine:function(t,n,r){lw(e,r)},mceToggleFormat:function(e,n,r){t.toggleFormat(r)},mceSetContent:function(t,n,r){e.setContent(r)},"Indent,Outdent":function(t){WO(e,t)},mceRepaint:b,InsertHorizontalRule:function(){e.execCommand("mceInsertContent",!1,"<hr />")},mceToggleVisualAid:function(){e.hasVisual=!e.hasVisual,e.addVisual()},mceReplaceContent:function(t,n,r){e.execCommand("mceInsertContent",!1,r.replace(/\{\$selection\}/g,e.selection.getContent({format:"text"})))},mceInsertLink:function(t,n,r){"string"==typeof r&&(r={href:r});var o=e.dom.getParent(e.selection.getNode(),"a");r.href=r.href.replace(/ /g,"%20"),o&&r.href||e.formatter.remove("link"),r.href&&e.formatter.apply("link",r,o)},selectAll:function(){var t=e.dom.getParent(e.selection.getStart(),Wn);if(t){var n=e.dom.createRng();n.selectNodeContents(t),e.selection.setRng(n)}},mceNewDocument:function(){e.setContent("")},InsertLineBreak:function(t,n,r){return Zb(e,r),!0}});var n=function(t){return function(){var n=e.selection,r=n.isCollapsed()?[e.dom.getParent(n.getNode(),e.dom.isBlock)]:n.getSelectedBlocks(),o=u_(r,(function(n){return!!e.formatter.matchNode(n,t)}));return-1!==d_(o,!0)}};t.addCommands({JustifyLeft:n("alignleft"),JustifyCenter:n("aligncenter"),JustifyRight:n("alignright"),JustifyFull:n("alignjustify"),"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){return t.isFormatMatch(e)},mceBlockQuote:function(){return t.isFormatMatch("blockquote")},Outdent:function(){return UO(e)},"InsertUnorderedList,InsertOrderedList":function(t){var n=e.dom.getParent(e.selection.getNode(),"ul,ol");return n&&("insertunorderedlist"===t&&"UL"===n.tagName||"insertorderedlist"===t&&"OL"===n.tagName)}},"state"),t.addCommands({Undo:function(){e.undoManager.undo()},Redo:function(){e.undoManager.redo()}}),t.addQueryValueHandler("FontName",(function(){return function(e){return a_(e,(function(t){return o_(e.getBody(),t.dom)})).getOr("")}(e)}),this),t.addQueryValueHandler("FontSize",(function(){return function(e){return a_(e,(function(t){return r_(e.getBody(),t.dom)})).getOr("")}(e)}),this),t.addQueryValueHandler("LineHeight",(function(){return function(e){return a_(e,(function(t){var n=Pt(e.getBody()),r=pm(t,(function(e){return ar(e,"line-height")}),C(Rt,n));return r.getOrThunk((function(){var e=parseFloat(or(t,"line-height")),n=parseFloat(or(t,"font-size"));return String(e/n)}))})).getOr("")}(e)}),this)},e}(),h_="data-mce-contenteditable",p_=function(e,t,n){var r,o;xs(e,t)&&!1===n?(o=t,ws(r=e)?r.dom.classList.remove(o):function(e,t){(function(e,t,n){var r=j(bs(e,t),(function(e){return e!==n}));r.length>0?Jn(e,t,r.join(" ")):rr(e,t)})(e,"class",t)}(r,o),function(e){var t=ws(e)?e.dom.classList:function(e){return bs(e,"class")}(e);0===t.length&&rr(e,"class")}(r)):n&&_s(e,t)},m_=function(e,t,n){try{e.getDoc().execCommand(t,!1,String(n))}catch(e){}},g_=function(e,t){e.dom.contentEditable=t?"true":"false"},A_=function(e,t){var n=Pt(e.getBody());p_(n,"mce-content-readonly",t),t?(e.selection.controlSelection.hideResizeRect(),e._selectionOverrides.hideFakeCaret(),function(e){R.from(e.selection.getNode()).each((function(e){e.removeAttribute("data-mce-selected")}))}(e),e.readonly=!0,g_(n,!1),H(ks(n,'*[contenteditable="true"]'),(function(e){Jn(e,h_,"true"),g_(e,!1)}))):(e.readonly=!1,g_(n,!0),H(ks(n,"*["+h_+'="true"]'),(function(e){rr(e,h_),g_(e,!0)})),m_(e,"StyleWithCSS",!1),m_(e,"enableInlineTableEditing",!1),m_(e,"enableObjectResizing",!1),function(e){return Hf(e)||function(e){var t=ln(Pt(e.getElement()));return wf(t).filter((function(t){return!(void 0!==(n=t.dom.classList)&&(n.contains("tox-edit-area")||n.contains("tox-edit-area__iframe")||n.contains("mce-content-body")))&&Nf(e,t.dom);var n})).isSome()}(e)}(e)&&e.focus(),function(e){e.selection.setRng(e.selection.getRng())}(e),e.nodeChanged())},v_=function(e){return e.readonly},y_=function(e){e.parser.addAttributeFilter("contenteditable",(function(t){v_(e)&&H(t,(function(e){e.attr(h_,e.attr("contenteditable")),e.attr("contenteditable","false")}))})),e.serializer.addAttributeFilter(h_,(function(t){v_(e)&&H(t,(function(e){e.attr("contenteditable",e.attr(h_))}))})),e.serializer.addTempAttr(h_)},O_=Ct.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input beforeinput contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend touchcancel"," "),b_=function(){function e(e){this.bindings={},this.settings=e||{},this.scope=this.settings.scope||this,this.toggleEvent=this.settings.toggleEvent||E}return e.isNative=function(e){return!!O_[e.toLowerCase()]},e.prototype.fire=function(e,t){var n=e.toLowerCase(),r=Si(n,t||{},this.scope);this.settings.beforeFire&&this.settings.beforeFire(r);var o=this.bindings[n];if(o)for(var i=0,a=o.length;i<a;i++){var s=o[i];if(!s.removed){if(s.once&&this.off(n,s.func),r.isImmediatePropagationStopped())return r;if(!1===s.func.call(this.scope,r))return r.preventDefault(),r}}return r},e.prototype.on=function(e,t,n,r){if(!1===t&&(t=E),t){var o={func:t,removed:!1};r&&Ct.extend(o,r);for(var i=e.toLowerCase().split(" "),a=i.length;a--;){var s=i[a],l=this.bindings[s];l||(l=[],this.toggleEvent(s,!0)),l=n?Qe([o],l,!0):Qe(Qe([],l,!0),[o],!1),this.bindings[s]=l}}return this},e.prototype.off=function(e,t){var n=this;if(e)for(var r=e.toLowerCase().split(" "),o=r.length;o--;){var i=r[o],a=this.bindings[i];if(!i)return de(this.bindings,(function(e,t){n.toggleEvent(t,!1),delete n.bindings[t]})),this;if(a){if(t){var s=X(a,(function(e){return e.func===t}));a=s.fail,this.bindings[i]=a,H(s.pass,(function(e){e.removed=!0}))}else a.length=0;a.length||(this.toggleEvent(e,!1),delete this.bindings[i])}}else de(this.bindings,(function(e,t){n.toggleEvent(t,!1)})),this.bindings={};return this},e.prototype.once=function(e,t,n){return this.on(e,t,n,{once:!0})},e.prototype.has=function(e){return e=e.toLowerCase(),!(!this.bindings[e]||0===this.bindings[e].length)},e}(),w_=function(e){return e._eventDispatcher||(e._eventDispatcher=new b_({scope:e,toggleEvent:function(t,n){b_.isNative(t)&&e.toggleNativeEvent&&e.toggleNativeEvent(t,n)}})),e._eventDispatcher},__={fire:function(e,t,n){var r=this;if(r.removed&&"remove"!==e&&"detach"!==e)return t;var o=w_(r).fire(e,t);if(!1!==n&&r.parent)for(var i=r.parent();i&&!o.isPropagationStopped();)i.fire(e,o,!1),i=i.parent();return o},on:function(e,t,n){return w_(this).on(e,t,n)},off:function(e,t){return w_(this).off(e,t)},once:function(e,t){return w_(this).once(e,t)},hasEventListeners:function(e){return w_(this).has(e)}},x_=ss.DOM,S_=function(e,t){if("selectionchange"===t)return e.getDoc();if(!e.inline&&/^mouse|touch|click|contextmenu|drop|dragover|dragend/.test(t))return e.getDoc().documentElement;var n=tc(e);return n?(e.eventRoot||(e.eventRoot=x_.select(n)[0]),e.eventRoot):e.getBody()},k_=function(e,t,n){!function(e){return!e.hidden&&!v_(e)}(e)?v_(e)&&function(e,t){if(function(e){return"click"===e.type}(t)&&!Rd.metaKeyPressed(t)){var n=Pt(t.target);(function(e,t){return jr(t,"a",(function(t){return Rt(t,Pt(e.getBody()))})).bind((function(e){return nr(e,"href")}))})(e,n).each((function(n){if(t.preventDefault(),/^#/.test(n)){var r=e.dom.select(n+',[name="'+(Re(o=n,"#")?function(e){return e.substring(1)}(o):o)+'"]');r.length&&e.selection.scrollIntoView(r[0],!0)}else window.open(n,"_blank","rel=noopener noreferrer,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,scrollbars=yes");var o}))}}(e,n):e.fire(t,n)},C_=function(e,t){var n;if(e.delegates||(e.delegates={}),!e.delegates[t]&&!e.removed){var r=S_(e,t);if(tc(e)){if(nO||(nO={},e.editorManager.on("removeEditor",(function(){e.editorManager.activeEditor||nO&&(de(nO,(function(t,n){e.dom.unbind(S_(e,n))})),nO=null)}))),nO[t])return;n=function(n){for(var r=n.target,o=e.editorManager.get(),i=o.length;i--;){var a=o[i].getBody();(a===r||x_.isChildOf(r,a))&&k_(o[i],t,n)}},nO[t]=n,x_.bind(r,t,n)}else n=function(n){k_(e,t,n)},x_.bind(r,t,n),e.delegates[t]=n}},B_=Be(Be({},__),{bindPendingEventDelegates:function(){var e=this;Ct.each(e._pendingNativeEvents,(function(t){C_(e,t)}))},toggleNativeEvent:function(e,t){var n=this;"focus"!==e&&"blur"!==e&&(n.removed||(t?n.initialized?C_(n,e):n._pendingNativeEvents?n._pendingNativeEvents.push(e):n._pendingNativeEvents=[e]:n.initialized&&(n.dom.unbind(S_(n,e),e,n.delegates[e]),delete n.delegates[e])))},unbindAllNativeEvents:function(){var e=this,t=e.getBody(),n=e.dom;e.delegates&&(de(e.delegates,(function(t,n){e.dom.unbind(S_(e,n),n,t)})),delete e.delegates),!e.inline&&t&&n&&(t.onload=null,n.unbind(e.getWin()),n.unbind(e.getDoc())),n&&(n.unbind(t),n.unbind(e.getContainer()))}}),Q_=["design","readonly"],T_=function(e,t,n,r){var o=n[t.get()],i=n[r];try{i.activate()}catch(e){return void console.error("problem while activating editor mode "+r+":",e)}o.deactivate(),o.editorReadOnly!==i.editorReadOnly&&A_(e,i.editorReadOnly),t.set(r),function(e,t){e.fire("SwitchMode",{mode:t})}(e,r)},E_=Ct.each,P_=Ct.explode,$_={f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},M_=Ct.makeMap("alt,ctrl,shift,meta,access"),z_=function(e){var t,n={};E_(P_(e.toLowerCase(),"+"),(function(e){e in M_?n[e]=!0:/^[0-9]{2,}$/.test(e)?n.keyCode=parseInt(e,10):(n.charCode=e.charCodeAt(0),n.keyCode=$_[e]||e.toUpperCase().charCodeAt(0))}));var r=[n.keyCode];for(t in M_)n[t]?r.push(t):n[t]=!1;return n.id=r.join(","),n.access&&(n.alt=!0,wt.mac?n.ctrl=!0:n.shift=!0),n.meta&&(wt.mac?n.meta=!0:(n.ctrl=!0,n.meta=!1)),n},R_=function(){function e(e){this.shortcuts={},this.pendingPatterns=[],this.editor=e;var t=this;e.on("keyup keypress keydown",(function(e){!t.hasModifier(e)&&!t.isFunctionKey(e)||e.isDefaultPrevented()||(E_(t.shortcuts,(function(n){if(t.matchShortcut(e,n))return t.pendingPatterns=n.subpatterns.slice(0),"keydown"===e.type&&t.executeShortcutAction(n),!0})),t.matchShortcut(e,t.pendingPatterns[0])&&(1===t.pendingPatterns.length&&"keydown"===e.type&&t.executeShortcutAction(t.pendingPatterns[0]),t.pendingPatterns.shift()))}))}return e.prototype.add=function(e,t,n,r){var o=this,i=o.normalizeCommandFunc(n);return E_(P_(Ct.trim(e)),(function(e){var n=o.createShortcut(e,t,i,r);o.shortcuts[n.id]=n})),!0},e.prototype.remove=function(e){var t=this.createShortcut(e);return!!this.shortcuts[t.id]&&(delete this.shortcuts[t.id],!0)},e.prototype.normalizeCommandFunc=function(e){var t=this,n=e;return"string"==typeof n?function(){t.editor.execCommand(n,!1,null)}:Ct.isArray(n)?function(){t.editor.execCommand(n[0],n[1],n[2])}:n},e.prototype.createShortcut=function(e,t,n,r){var o=Ct.map(P_(e,">"),z_);return o[o.length-1]=Ct.extend(o[o.length-1],{func:n,scope:r||this.editor}),Ct.extend(o[0],{desc:this.editor.translate(t),subpatterns:o.slice(1)})},e.prototype.hasModifier=function(e){return e.altKey||e.ctrlKey||e.metaKey},e.prototype.isFunctionKey=function(e){return"keydown"===e.type&&e.keyCode>=112&&e.keyCode<=123},e.prototype.matchShortcut=function(e,t){return!!t&&t.ctrl===e.ctrlKey&&t.meta===e.metaKey&&t.alt===e.altKey&&t.shift===e.shiftKey&&!!(e.keyCode===t.keyCode||e.charCode&&e.charCode===t.charCode)&&(e.preventDefault(),!0)},e.prototype.executeShortcutAction=function(e){return e.func?e.func.call(e.scope):null},e}(),D_=ss.DOM,I_=Ct.extend,N_=Ct.each,L_=Ct.resolve,V_=wt.ie,U_=function(){function e(e,t,n){var r,o,i,a,s,l,c,u,d,f=this;this.plugins={},this.contentCSS=[],this.contentStyles=[],this.loadedCSS={},this.isNotDirty=!1,this.editorManager=n,this.documentBaseUrl=n.documentBaseURL,I_(this,B_),this.settings=function(e,t,n,r,o){var i=function(e,t,n,r,o){var i={id:t,theme:"silver",toolbar_mode:zA(e,"floating"),plugins:"",document_base_url:n,add_form_submit_trigger:!0,submit_patch:!0,add_unload_trigger:!0,convert_urls:!0,relative_urls:!0,remove_script_host:!0,object_resizing:!0,doctype:"<!DOCTYPE html>",visual:!0,font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",forced_root_block:"p",hidden_input:!0,inline_styles:!0,convert_fonts_to_spans:!0,indent:!0,indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",entity_encoding:"named",url_converter:o.convertURL,url_converter_scope:o};return Be(Be({},i),r?PA:{})}(o,t,n,BA,e),a=NA(QA||TA,QA,i,r,o);return!1!==a.deprecation_warnings&&function(e,t){var n=SA(e),r=kA(t),o=r.length>0,i=n.length>0,a="mobile"===t.theme;if(o||i||a){var s="\n- ",l=a?"\n\nThemes:\n- mobile":"",c=o?"\n\nPlugins:"+s+r.join(s):"",u=i?"\n\nSettings:"+s+n.join(s):"";console.warn("The following deprecated features are currently enabled, these will be removed in TinyMCE 6.0. See https://www.tiny.cloud/docs/release-notes/6.0-upcoming-changes/ for more information."+l+c+u)}}(o,a),a}(this,e,this.documentBaseUrl,n.defaultSettings,t),this.settings.suffix&&(n.suffix=this.settings.suffix),this.suffix=n.suffix,this.settings.base_url&&n._setBaseUrl(this.settings.base_url),this.baseUri=n.baseURI,this.settings.referrer_policy&&(ds.ScriptLoader._setReferrerPolicy(this.settings.referrer_policy),ss.DOM.styleSheetLoader._setReferrerPolicy(this.settings.referrer_policy)),As.languageLoad=this.settings.language_load,As.baseURL=n.baseURL,this.id=e,this.setDirty(!1),this.documentBaseURI=new lh(this.settings.document_base_url,{base_uri:this.baseUri}),this.baseURI=this.baseUri,this.inline=!!this.settings.inline,this.shortcuts=new R_(this),this.editorCommands=new f_(this),this.settings.cache_suffix&&(wt.cacheSuffix=this.settings.cache_suffix.replace(/^[\?\&]+/,"")),this.ui={registry:(o={},i={},a={},s={},l={},c={},u=function(e,t){return function(n,r){return e[n.toLowerCase()]=Be(Be({},r),{type:t})}},d={addButton:u(r={},"button"),addGroupToolbarButton:u(r,"grouptoolbarbutton"),addToggleButton:u(r,"togglebutton"),addMenuButton:u(r,"menubutton"),addSplitButton:u(r,"splitbutton"),addMenuItem:u(o,"menuitem"),addNestedMenuItem:u(o,"nestedmenuitem"),addToggleMenuItem:u(o,"togglemenuitem"),addAutocompleter:u(i,"autocompleter"),addContextMenu:u(s,"contextmenu"),addContextToolbar:u(l,"contexttoolbar"),addContextForm:u(l,"contextform"),addSidebar:u(c,"sidebar"),addIcon:function(e,t){return a[e.toLowerCase()]=t},getAll:function(){return{buttons:r,menuItems:o,icons:a,popups:i,contextMenus:s,contextToolbars:l,sidebars:c}}},{addAutocompleter:d.addAutocompleter,addButton:d.addButton,addContextForm:d.addContextForm,addContextMenu:d.addContextMenu,addContextToolbar:d.addContextToolbar,addIcon:d.addIcon,addMenuButton:d.addMenuButton,addMenuItem:d.addMenuItem,addNestedMenuItem:d.addNestedMenuItem,addSidebar:d.addSidebar,addSplitButton:d.addSplitButton,addToggleButton:d.addToggleButton,addGroupToolbarButton:d.addGroupToolbarButton,addToggleMenuItem:d.addToggleMenuItem,getAll:d.getAll}),styleSheetLoader:void 0,show:b,hide:b,enable:b,disable:b,isDisabled:E};var h,p,m,g=(h=this,p=fs("design"),m=fs({design:{activate:b,deactivate:b,editorReadOnly:!1},readonly:{activate:b,deactivate:b,editorReadOnly:!0}}),function(e){e.serializer?y_(e):e.on("PreInit",(function(){y_(e)}))}(h),function(e){e.on("ShowCaret",(function(t){v_(e)&&t.preventDefault()})),e.on("ObjectSelected",(function(t){v_(e)&&t.preventDefault()}))}(h),{isReadOnly:function(){return v_(h)},set:function(e){return function(e,t,n,r){if(r!==n.get()){if(!ve(t,r))throw new Error("Editor mode '"+r+"' is invalid");e.initialized?T_(e,n,t,r):e.on("init",(function(){return T_(e,n,t,r)}))}}(h,m.get(),p,e)},get:function(){return p.get()},register:function(e,t){m.set(function(e,t,n){var r;if(V(Q_,t))throw new Error("Cannot override default mode "+t);return Be(Be({},e),((r={})[t]=Be(Be({},n),{deactivate:function(){try{n.deactivate()}catch(e){console.error("problem while deactivating editor mode "+t+":",e)}}}),r))}(m.get(),e,t))}});this.mode=g,this.setMode=g.set,n.fire("SetupEditor",{editor:this}),this.execCallback("setup",this),this.$=es.overrideDefaults((function(){return{context:f.inline?f.getBody():f.getDoc(),element:f.getBody()}}))}return e.prototype.render=function(){!function(e){var t=e.id;gs.setCode(Gl(e));var n=function(){Gw.unbind(window,"ready",n),e.render()};if(Ei.Event.domLoaded){if(e.getElement()&&wt.contentEditable){var r=Pt(e.getElement()),o=function(e){return Z(e.dom.attributes,(function(e,t){return e[t.name]=t.value,e}),{})}(r);e.on("remove",(function(){W(r.dom.attributes,(function(e){return rr(r,e.name)})),er(r,o)})),e.ui.styleSheetLoader=function(e,t){return eo.forElement(e,{contentCssCors:ic(t),referrerPolicy:Yl(t)})}(r,e),function(e){return e.getParam("inline")}(e)?e.inline=!0:(e.orgVisibility=e.getElement().style.visibility,e.getElement().style.visibility="hidden");var i=e.getElement().form||Gw.getParent(t,"form");i&&(e.formElement=i,function(e){return e.getParam("hidden_input")}(e)&&!In(e.getElement())&&(Gw.insertAfter(Gw.create("input",{type:"hidden",name:t}),t),e.hasHiddenInput=!0),e.formEventDelegate=function(t){e.fire(t.type,t)},Gw.bind(i,"submit reset",e.formEventDelegate),e.on("reset",(function(){e.resetContent()})),!function(e){return e.getParam("submit_patch")}(e)||i.submit.nodeType||i.submit.length||i._mceOldSubmit||(i._mceOldSubmit=i.submit,i.submit=function(){return e.editorManager.triggerSave(),e.setDirty(!1),i._mceOldSubmit(i)})),e.windowManager=KA(e),e.notificationManager=ZA(e),function(e){return"xml"===e.getParam("encoding")}(e)&&e.on("GetContent",(function(e){e.save&&(e.content=Gw.encode(e.content))})),function(e){return e.getParam("add_form_submit_trigger")}(e)&&e.on("submit",(function(){e.initialized&&e.save()})),function(e){return e.getParam("add_unload_trigger")}(e)&&(e._beforeUnload=function(){!e.initialized||e.destroyed||e.isHidden()||e.save({format:"raw",no_events:!0,set_dirty:!1})},e.editorManager.on("BeforeUnload",e._beforeUnload)),e.editorManager.add(e),e_(e,e.suffix)}}else Gw.bind(window,"ready",n)}(this)},e.prototype.focus=function(e){this.execCommand("mceFocus",!1,e)},e.prototype.hasFocus=function(){return Hf(this)},e.prototype.execCallback=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r,o=this,i=o.settings[e];if(i)return o.callbackLookup&&(r=o.callbackLookup[e])&&(i=r.func,r=r.scope),"string"==typeof i&&(r=(r=i.replace(/\.\w+$/,""))?L_(r):0,i=L_(i),o.callbackLookup=o.callbackLookup||{},o.callbackLookup[e]={func:i,scope:r}),i.apply(r||o,t)},e.prototype.translate=function(e){return gs.translate(e)},e.prototype.getParam=function(e,t,n){return function(e,t,n,r){var o,i=t in e.settings?e.settings[t]:n;return"hash"===r?function(e){var t={};return"string"==typeof e?H(e.indexOf("=")>0?e.split(/[;,](?![^=;,]*(?:[;,]|$))/):e.split(","),(function(e){var n=e.split("=");n.length>1?t[Ct.trim(n[0])]=Ct.trim(n[1]):t[Ct.trim(n[0])]=Ct.trim(n[0])})):t=e,t}(i):"string"===r?LA(d,e,t).getOr(n):"number"===r?LA(O,e,t).getOr(n):"boolean"===r?LA(m,e,t).getOr(n):"object"===r?LA(f,e,t).getOr(n):"array"===r?LA(h,e,t).getOr(n):"string[]"===r?LA((o=d,function(e){return h(e)&&ee(e,o)}),e,t).getOr(n):"function"===r?LA(y,e,t).getOr(n):i}(this,e,t,n)},e.prototype.hasPlugin=function(e,t){return!(!V(ac(this).split(/[ ,]/),e)||t&&void 0===YA.get(e))},e.prototype.nodeChanged=function(e){this._nodeChangeDispatcher.nodeChanged(e)},e.prototype.addCommand=function(e,t,n){this.editorCommands.addCommand(e,t,n)},e.prototype.addQueryStateHandler=function(e,t,n){this.editorCommands.addQueryStateHandler(e,t,n)},e.prototype.addQueryValueHandler=function(e,t,n){this.editorCommands.addQueryValueHandler(e,t,n)},e.prototype.addShortcut=function(e,t,n,r){this.shortcuts.add(e,t,n,r)},e.prototype.execCommand=function(e,t,n,r){return this.editorCommands.execCommand(e,t,n,r)},e.prototype.queryCommandState=function(e){return this.editorCommands.queryCommandState(e)},e.prototype.queryCommandValue=function(e){return this.editorCommands.queryCommandValue(e)},e.prototype.queryCommandSupported=function(e){return this.editorCommands.queryCommandSupported(e)},e.prototype.show=function(){var e=this;e.hidden&&(e.hidden=!1,e.inline?e.getBody().contentEditable="true":(D_.show(e.getContainer()),D_.hide(e.id)),e.load(),e.fire("show"))},e.prototype.hide=function(){var e=this,t=e.getDoc();e.hidden||(V_&&t&&!e.inline&&t.execCommand("SelectAll"),e.save(),e.inline?(e.getBody().contentEditable="false",e===e.editorManager.focusedEditor&&(e.editorManager.focusedEditor=null)):(D_.hide(e.getContainer()),D_.setStyle(e.id,"display",e.orgDisplay)),e.hidden=!0,e.fire("hide"))},e.prototype.isHidden=function(){return!!this.hidden},e.prototype.setProgressState=function(e,t){this.fire("ProgressState",{state:e,time:t})},e.prototype.load=function(e){var t,n=this,r=n.getElement();if(n.removed)return"";if(r){(e=e||{}).load=!0;var o=In(r)?r.value:r.innerHTML;return t=n.setContent(o,e),e.element=r,e.no_events||n.fire("LoadContent",e),e.element=r=null,t}},e.prototype.save=function(e){var t,n,r=this,o=r.getElement();if(o&&r.initialized&&!r.removed)return(e=e||{}).save=!0,e.element=o,e.content=r.getContent(e),e.no_events||r.fire("SaveContent",e),"raw"===e.format&&r.fire("RawSaveContent",e),t=e.content,In(o)?o.value=t:(!e.is_removing&&r.inline||(o.innerHTML=t),(n=D_.getParent(r.id,"form"))&&N_(n.elements,(function(e){if(e.name===r.id)return e.value=t,!1}))),e.element=o=null,!1!==e.set_dirty&&r.setDirty(!1),t},e.prototype.setContent=function(e,t){return vA(this,e,t)},e.prototype.getContent=function(e){return function(e,t){return void 0===t&&(t={}),function(e,t,n){return Xg(e).editor.getContent(t,n)}(e,t,t.format?t.format:"html")}(this,e)},e.prototype.insertContent=function(e,t){t&&(e=I_({content:e},t)),this.execCommand("mceInsertContent",!1,e)},e.prototype.resetContent=function(e){void 0===e?vA(this,this.startContent,{format:"raw"}):vA(this,e),this.undoManager.reset(),this.setDirty(!1),this.nodeChanged()},e.prototype.isDirty=function(){return!this.isNotDirty},e.prototype.setDirty=function(e){var t=!this.isNotDirty;this.isNotDirty=!e,e&&e!==t&&this.fire("dirty")},e.prototype.getContainer=function(){var e=this;return e.container||(e.container=D_.get(e.editorContainer||e.id+"_parent")),e.container},e.prototype.getContentAreaContainer=function(){return this.contentAreaContainer},e.prototype.getElement=function(){return this.targetElm||(this.targetElm=D_.get(this.id)),this.targetElm},e.prototype.getWin=function(){var e,t=this;return t.contentWindow||(e=t.iframeElement)&&(t.contentWindow=e.contentWindow),t.contentWindow},e.prototype.getDoc=function(){var e,t=this;return t.contentDocument||(e=t.getWin())&&(t.contentDocument=e.document),t.contentDocument},e.prototype.getBody=function(){var e=this.getDoc();return this.bodyElement||(e?e.body:null)},e.prototype.convertURL=function(e,t,n){var r=this,o=r.settings;return o.urlconverter_callback?r.execCallback("urlconverter_callback",e,n,!0,t):!o.convert_urls||n&&"LINK"===n.nodeName||0===e.indexOf("file:")||0===e.length?e:o.relative_urls?r.documentBaseURI.toRelative(e):e=r.documentBaseURI.toAbsolute(e,o.remove_script_host)},e.prototype.addVisual=function(e){!function(e,t){(function(e,t){jg(e).editor.addVisual(t)})(e,t)}(this,e)},e.prototype.remove=function(){!function(e){if(!e.removed){var t=e._selectionOverrides,n=e.editorUpload,r=e.getBody(),o=e.getElement();r&&e.save({is_removing:!0}),e.removed=!0,e.unbindAllNativeEvents(),e.hasHiddenInput&&o&&yA.remove(o.nextSibling),function(e){e.fire("remove")}(e),e.editorManager.remove(e),!e.inline&&r&&function(e){yA.setStyle(e.id,"display",e.orgDisplay)}(e),function(e){e.fire("detach")}(e),yA.remove(e.getContainer()),OA(t),OA(n),e.destroy()}}(this)},e.prototype.destroy=function(e){!function(e,t){var n=e.selection,r=e.dom;e.destroyed||(t||e.removed?(t||(e.editorManager.off("beforeunload",e._beforeUnload),e.theme&&e.theme.destroy&&e.theme.destroy(),OA(n),OA(r)),function(e){var t=e.formElement;t&&(t._mceOldSubmit&&(t.submit=t._mceOldSubmit,t._mceOldSubmit=null),yA.unbind(t,"submit reset",e.formEventDelegate))}(e),function(e){e.contentAreaContainer=e.formElement=e.container=e.editorContainer=null,e.bodyElement=e.contentDocument=e.contentWindow=null,e.iframeElement=e.targetElm=null,e.selection&&(e.selection=e.selection.win=e.selection.dom=e.selection.dom.doc=null)}(e),e.destroyed=!0):e.remove())}(this,e)},e.prototype.uploadImages=function(e){return this.editorUpload.uploadImages(e)},e.prototype._scanForImages=function(){return this.editorUpload.scanForImages()},e.prototype.addButton=function(){throw new Error("editor.addButton has been removed in tinymce 5x, use editor.ui.registry.addButton or editor.ui.registry.addToggleButton or editor.ui.registry.addSplitButton instead")},e.prototype.addSidebar=function(){throw new Error("editor.addSidebar has been removed in tinymce 5x, use editor.ui.registry.addSidebar instead")},e.prototype.addMenuItem=function(){throw new Error("editor.addMenuItem has been removed in tinymce 5x, use editor.ui.registry.addMenuItem instead")},e.prototype.addContextToolbar=function(){throw new Error("editor.addContextToolbar has been removed in tinymce 5x, use editor.ui.registry.addContextToolbar instead")},e}(),F_=ss.DOM,H_=Ct.explode,W_=Ct.each,X_=Ct.extend,j_=0,q_=!1,Z_=[],Y_=[],G_=function(e){var t=e.type;W_(tx.get(),(function(n){switch(t){case"scroll":n.fire("ScrollWindow",e);break;case"resize":n.fire("ResizeWindow",e)}}))},K_=function(e){e!==q_&&(e?es(window).on("resize scroll",G_):es(window).off("resize scroll",G_),q_=e)},J_=function(e){var t=Y_;delete Z_[e.id];for(var n=0;n<Z_.length;n++)if(Z_[n]===e){Z_.splice(n,1);break}return Y_=j(Y_,(function(t){return e!==t})),tx.activeEditor===e&&(tx.activeEditor=Y_.length>0?Y_[0]:null),tx.focusedEditor===e&&(tx.focusedEditor=null),t.length!==Y_.length},ex="CSS1Compat"!==document.compatMode,tx=Be(Be({},__),{baseURI:null,baseURL:null,defaultSettings:{},documentBaseURL:null,suffix:null,$:es,majorVersion:"5",minorVersion:"10.2",releaseDate:"2021-11-17",editors:Z_,i18n:gs,activeEditor:null,focusedEditor:null,settings:{},setup:function(){var e,t,n=this,r="";t=lh.getDocumentBaseUrl(document.location),/^[^:]+:\/\/\/?[^\/]+\//.test(t)&&(t=t.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(t)||(t+="/"));var o,i=window.tinymce||window.tinyMCEPreInit;if(i)e=i.base||i.baseURL,r=i.suffix;else{for(var a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var l;if(""!==(l=a[s].src||"")){var c=l.substring(l.lastIndexOf("/"));if(/tinymce(\.full|\.jquery|)(\.min|\.dev|)\.js/.test(l)){-1!==c.indexOf(".min")&&(r=".min"),e=l.substring(0,l.lastIndexOf("/"));break}}}!e&&document.currentScript&&(-1!==(l=document.currentScript.src).indexOf(".min")&&(r=".min"),e=l.substring(0,l.lastIndexOf("/")))}n.baseURL=new lh(t).toAbsolute(e),n.documentBaseURL=t,n.baseURI=new lh(n.baseURL),n.suffix=r,(o=n).on("AddEditor",C(Lf,o)),o.on("RemoveEditor",C(Vf,o))},overrideDefaults:function(e){var t=e.base_url;t&&this._setBaseUrl(t);var n=e.suffix;e.suffix&&(this.suffix=n),this.defaultSettings=e;var r=e.plugin_base_urls;void 0!==r&&de(r,(function(e,t){As.PluginManager.urls[t]=e}))},init:function(e){var t,n=this,r=Ct.makeMap("area base basefont br col frame hr img input isindex link meta param embed source wbr track colgroup option table tbody tfoot thead tr th td script noscript style textarea video audio iframe object menu"," "),o=function(e){var t=e.id;return t||(t=Ae(e,"name").filter((function(e){return!F_.get(e)})).getOrThunk(F_.uniqueId),e.setAttribute("id",t)),t},i=function(e,t){return t.constructor===RegExp?t.test(e.className):F_.hasClass(e,t)},a=function(e){t=e},s=function(){var t,l,c=0,u=[],d=function(e,r,o){var i=new U_(e,r,n);u.push(i),i.on("init",(function(){++c===t.length&&a(u)})),i.targetElm=i.targetElm||o,i.render()};F_.unbind(window,"ready",s),(l=e.onpageload)&&l.apply(n,[]),t=es.unique(function(e){var t=[];if(wt.browser.isIE()&&wt.browser.version.major<11)return ov("TinyMCE does not support the browser you are using. For a list of supported browsers please see: https://www.tinymce.com/docs/get-started/system-requirements/"),[];if(ex)return ov("Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."),[];if(e.types)return W_(e.types,(function(e){t=t.concat(F_.select(e.selector))})),t;if(e.selector)return F_.select(e.selector);if(e.target)return[e.target];switch(e.mode){case"exact":var n=e.elements||"";n.length>0&&W_(H_(n),(function(e){var n=F_.get(e);n?t.push(n):W_(document.forms,(function(n){W_(n.elements,(function(n){n.name===e&&(e="mce_editor_"+j_++,F_.setAttrib(n,"id",e),t.push(n))}))}))}));break;case"textareas":case"specific_textareas":W_(F_.select("textarea"),(function(n){e.editor_deselector&&i(n,e.editor_deselector)||e.editor_selector&&!i(n,e.editor_selector)||t.push(n)}))}return t}(e)),e.types?W_(e.types,(function(n){Ct.each(t,(function(t){return!F_.is(t,n.selector)||(d(o(t),X_({},e,n),t),!1)}))})):(Ct.each(t,(function(e){var t;(t=n.get(e.id))&&t.initialized&&!(t.getContainer()||t.getBody()).parentNode&&(J_(t),t.unbindAllNativeEvents(),t.destroy(!0),t.removed=!0,t=null)})),0===(t=Ct.grep(t,(function(e){return!n.get(e.id)}))).length?a([]):W_(t,(function(t){!function(e,t){return e.inline&&t.tagName.toLowerCase()in r}(e,t)?d(o(t),e,t):ov("Could not initialize inline editor on invalid inline target element",t)})))};return n.settings=e,F_.bind(window,"ready",s),new qr((function(e){t?e(t):a=function(t){e(t)}}))},get:function(e){return 0===arguments.length?Y_.slice(0):d(e)?G(Y_,(function(t){return t.id===e})).getOr(null):O(e)&&Y_[e]?Y_[e]:null},add:function(e){var t=this;return Z_[e.id]===e||(null===t.get(e.id)&&("length"!==e.id&&(Z_[e.id]=e),Z_.push(e),Y_.push(e)),K_(!0),t.activeEditor=e,t.fire("AddEditor",{editor:e}),rO||(rO=function(e){var n=t.fire("BeforeUnload");if(n.returnValue)return e.preventDefault(),e.returnValue=n.returnValue,n.returnValue},window.addEventListener("beforeunload",rO))),e},createEditor:function(e,t){return this.add(new U_(e,t,this))},remove:function(e){var t,n,r=this;if(e){if(!d(e))return n=e,p(r.get(n.id))?null:(J_(n)&&r.fire("RemoveEditor",{editor:n}),0===Y_.length&&window.removeEventListener("beforeunload",rO),n.remove(),K_(Y_.length>0),n);W_(F_.select(e),(function(e){(n=r.get(e.id))&&r.remove(n)}))}else for(t=Y_.length-1;t>=0;t--)r.remove(Y_[t])},execCommand:function(e,t,n){var r=this,o=r.get(n);switch(e){case"mceAddEditor":return r.get(n)||new U_(n,r.settings,r).render(),!0;case"mceRemoveEditor":return o&&o.remove(),!0;case"mceToggleEditor":return o?(o.isHidden()?o.show():o.hide(),!0):(r.execCommand("mceAddEditor",!1,n),!0)}return!!r.activeEditor&&r.activeEditor.execCommand(e,t,n)},triggerSave:function(){W_(Y_,(function(e){e.save()}))},addI18n:function(e,t){gs.add(e,t)},translate:function(e){return gs.translate(e)},setActive:function(e){var t=this.activeEditor;this.activeEditor!==e&&(t&&t.fire("deactivate",{relatedTarget:e}),e.fire("activate",{relatedTarget:t})),this.activeEditor=e},_setBaseUrl:function(e){this.baseURL=new lh(this.documentBaseURL).toAbsolute(e.replace(/\/+$/,"")),this.baseURI=new lh(this.baseURL)}});tx.setup();var nx,rx,ox,ix,ax=Math.min,sx=Math.max,lx=Math.round,cx=function(e,t,n){var r=t.x,o=t.y,i=e.w,a=e.h,s=t.w,l=t.h,c=(n||"").split("");return"b"===c[0]&&(o+=l),"r"===c[1]&&(r+=s),"c"===c[0]&&(o+=lx(l/2)),"c"===c[1]&&(r+=lx(s/2)),"b"===c[3]&&(o-=a),"r"===c[4]&&(r-=i),"c"===c[3]&&(o-=lx(a/2)),"c"===c[4]&&(r-=lx(i/2)),ux(r,o,i,a)},ux=function(e,t,n,r){return{x:e,y:t,w:n,h:r}},dx={inflate:function(e,t,n){return ux(e.x-t,e.y-n,e.w+2*t,e.h+2*n)},relativePosition:cx,findBestRelativePosition:function(e,t,n,r){var o,i;for(i=0;i<r.length;i++)if((o=cx(e,t,r[i])).x>=n.x&&o.x+o.w<=n.w+n.x&&o.y>=n.y&&o.y+o.h<=n.h+n.y)return r[i];return null},intersect:function(e,t){var n=sx(e.x,t.x),r=sx(e.y,t.y),o=ax(e.x+e.w,t.x+t.w),i=ax(e.y+e.h,t.y+t.h);return o-n<0||i-r<0?null:ux(n,r,o-n,i-r)},clamp:function(e,t,n){var r=e.x,o=e.y,i=e.x+e.w,a=e.y+e.h,s=t.x+t.w,l=t.y+t.h,c=sx(0,t.x-r),u=sx(0,t.y-o),d=sx(0,i-s),f=sx(0,a-l);return r+=c,o+=u,n&&(i+=c,a+=u,r-=d,o-=f),ux(r,o,(i-=d)-r,(a-=f)-o)},create:ux,fromClientRect:function(e){return ux(e.left,e.top,e.width,e.height)}},fx=(nx={},rx={},{load:function(e,t){var n='Script at URL "'+t+'" failed to load',r='Script at URL "'+t+"\" did not call `tinymce.Resource.add('"+e+"', data)` within 1 second";if(void 0!==nx[e])return nx[e];var o=new qr((function(o,i){var a=function(e,t,n){void 0===n&&(n=1e3);var r=!1,o=null,i=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];r||(r=!0,null!==o&&(clearTimeout(o),o=null),e.apply(null,t))}},a=i(e),s=i(t);return{start:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r||null!==o||(o=setTimeout((function(){return s.apply(null,e)}),n))},resolve:a,reject:s}}(o,i);rx[e]=a.resolve,ds.ScriptLoader.loadScript(t,(function(){return a.start(r)}),(function(){return a.reject(n)}))}));return nx[e]=o,o},add:function(e,t){void 0!==rx[e]&&(rx[e](t),delete rx[e]),nx[e]=qr.resolve(t)}}),hx=Ct.each,px=Ct.extend,mx=function(){};mx.extend=ox=function(e){var t=this.prototype,n=function(){var e,t,n,r=this;if(!ix&&(r.init&&r.init.apply(r,arguments),t=r.Mixins))for(e=t.length;e--;)(n=t[e]).init&&n.init.apply(r,arguments)},r=function(){return this};ix=!0;var o=new this;return ix=!1,e.Mixins&&(hx(e.Mixins,(function(t){for(var n in t)"init"!==n&&(e[n]=t[n])})),t.Mixins&&(e.Mixins=t.Mixins.concat(e.Mixins))),e.Methods&&hx(e.Methods.split(","),(function(t){e[t]=r})),e.Properties&&hx(e.Properties.split(","),(function(t){var n="_"+t;e[t]=function(e){var t=this;return void 0!==e?(t[n]=e,t):t[n]}})),e.Statics&&hx(e.Statics,(function(e,t){n[t]=e})),e.Defaults&&t.Defaults&&(e.Defaults=px({},t.Defaults,e.Defaults)),de(e,(function(e,n){"function"==typeof e&&t[n]?o[n]=function(e,n){return function(){var r=this,o=r._super;r._super=t[e];var i=n.apply(r,arguments);return r._super=o,i}}(n,e):o[n]=e})),n.prototype=o,n.constructor=n,n.extend=ox,n};var gx,Ax=Math.min,vx=Math.max,yx=Math.round,Ox={serialize:function(e){var t=JSON.stringify(e);return d(t)?t.replace(/[\u0080-\uFFFF]/g,(function(e){var t=e.charCodeAt(0).toString(16);return"\\u"+"0000".substring(t.length)+t})):t},parse:function(e){try{return JSON.parse(e)}catch(e){}}},bx={callbacks:{},count:0,send:function(e){var t=this,n=ss.DOM,r=void 0!==e.count?e.count:t.count,o="tinymce_jsonp_"+r;t.callbacks[r]=function(i){n.remove(o),delete t.callbacks[r],e.callback(i)},n.add(n.doc.body,"script",{id:o,src:e.url,type:"text/javascript"}),t.count++}},wx=Be(Be({},__),{send:function(e){var t,n=0,r=function(){!e.async||4===t.readyState||n++>1e4?(e.success&&n<1e4&&200===t.status?e.success.call(e.success_scope,""+t.responseText,t,e):e.error&&e.error.call(e.error_scope,n>1e4?"TIMED_OUT":"GENERAL",t,e),t=null):Kr.setTimeout(r,10)};if(e.scope=e.scope||this,e.success_scope=e.success_scope||e.scope,e.error_scope=e.error_scope||e.scope,e.async=!1!==e.async,e.data=e.data||"",wx.fire("beforeInitialize",{settings:e}),(t=new XMLHttpRequest).overrideMimeType&&t.overrideMimeType(e.content_type),t.open(e.type||(e.data?"POST":"GET"),e.url,e.async),e.crossDomain&&(t.withCredentials=!0),e.content_type&&t.setRequestHeader("Content-Type",e.content_type),e.requestheaders&&Ct.each(e.requestheaders,(function(e){t.setRequestHeader(e.key,e.value)})),t.setRequestHeader("X-Requested-With","XMLHttpRequest"),(t=wx.fire("beforeSend",{xhr:t,settings:e}).xhr).send(e.data),!e.async)return r();Kr.setTimeout(r,10)}}),_x=Ct.extend,xx=function(){function e(e){this.settings=_x({},e),this.count=0}return e.sendRPC=function(t){return(new e).send(t)},e.prototype.send=function(e){var t=e.error,n=e.success,r=_x(this.settings,e);r.success=function(e,o){void 0===(e=Ox.parse(e))&&(e={error:"JSON Parse error."}),e.error?t.call(r.error_scope||r.scope,e.error,o):n.call(r.success_scope||r.scope,e.result)},r.error=function(e,n){t&&t.call(r.error_scope||r.scope,e,n)},r.data=Ox.serialize({id:e.id||"c"+this.count++,method:e.method,params:e.params}),r.content_type="application/json",wx.send(r)},e}();try{var Sx="__storage_test__";(gx=window.localStorage).setItem(Sx,Sx),gx.removeItem(Sx)}catch(e){gx=function(){var e={},t=[],n={getItem:function(t){return e[t]||null},setItem:function(n,r){t.push(n),e[n]=String(r)},key:function(e){return t[e]},removeItem:function(n){t=t.filter((function(e){return e===n})),delete e[n]},clear:function(){t=[],e={}},length:0};return Object.defineProperty(n,"length",{get:function(){return t.length},configurable:!1,enumerable:!1}),n}()}var kx={geom:{Rect:dx},util:{Promise:qr,Delay:Kr,Tools:Ct,VK:Rd,URI:lh,Class:mx,EventDispatcher:b_,Observable:__,I18n:gs,XHR:wx,JSON:Ox,JSONRequest:xx,JSONP:bx,LocalStorage:gx,Color:function(e){var t={},n=0,r=0,o=0,i=function(e){var i;return"object"==typeof e?"r"in e?(n=e.r,r=e.g,o=e.b):"v"in e&&function(e,t,i){if(e=(parseInt(e,10)||0)%360,t=parseInt(t,10)/100,i=parseInt(i,10)/100,t=vx(0,Ax(t,1)),i=vx(0,Ax(i,1)),0!==t){var a=e/60,s=i*t,l=s*(1-Math.abs(a%2-1)),c=i-s;switch(Math.floor(a)){case 0:n=s,r=l,o=0;break;case 1:n=l,r=s,o=0;break;case 2:n=0,r=s,o=l;break;case 3:n=0,r=l,o=s;break;case 4:n=l,r=0,o=s;break;case 5:n=s,r=0,o=l;break;default:n=r=o=0}n=yx(255*(n+c)),r=yx(255*(r+c)),o=yx(255*(o+c))}else n=r=o=yx(255*i)}(e.h,e.s,e.v):(i=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)[^\)]*\)/gi.exec(e))?(n=parseInt(i[1],10),r=parseInt(i[2],10),o=parseInt(i[3],10)):(i=/#([0-F]{2})([0-F]{2})([0-F]{2})/gi.exec(e))?(n=parseInt(i[1],16),r=parseInt(i[2],16),o=parseInt(i[3],16)):(i=/#([0-F])([0-F])([0-F])/gi.exec(e))&&(n=parseInt(i[1]+i[1],16),r=parseInt(i[2]+i[2],16),o=parseInt(i[3]+i[3],16)),n=n<0?0:n>255?255:n,r=r<0?0:r>255?255:r,o=o<0?0:o>255?255:o,t};return e&&i(e),t.toRgb=function(){return{r:n,g:r,b:o}},t.toHsv=function(){return function(e,t,n){var r,o;o=0;var i=Ax(e/=255,Ax(t/=255,n/=255)),a=vx(e,vx(t,n));return i===a?{h:0,s:0,v:100*(o=i)}:(r=(a-i)/a,o=a,{h:yx(60*((e===i?3:n===i?1:5)-(e===i?t-n:n===i?e-t:n-e)/(a-i))),s:yx(100*r),v:yx(100*o)})}(n,r,o)},t.toHex=function(){var e=function(e){return(e=parseInt(e,10).toString(16)).length>1?e:"0"+e};return"#"+e(n)+e(r)+e(o)},t.parse=i,t},ImageUploader:function(e){var t=sv(),n=fv(e,t);return{upload:function(t,r){return void 0===r&&(r=!0),n.upload(t,r?dv(e):void 0)}}}},dom:{EventUtils:Ei,Sizzle:pa,DomQuery:es,TreeWalker:to,TextSeeker:Ns,DOMUtils:ss,ScriptLoader:ds,RangeUtils:Jd,Serializer:AA,StyleSheetLoader:Jr,ControlSelection:Id,BookmarkManager:Td,Selection:Jg,Event:Ei.Event},html:{Styles:wi,Entities:ui,Node:th,Schema:Oi,SaxParser:hh,DomParser:pA,Writer:yh,Serializer:Oh},Env:wt,AddOnManager:As,Annotator:Qd,Formatter:vv,UndoManager:Ov,EditorCommands:f_,WindowManager:KA,NotificationManager:ZA,EditorObservable:B_,Shortcuts:R_,Editor:U_,FocusManager:Rf,EditorManager:tx,DOM:ss.DOM,ScriptLoader:ds.ScriptLoader,PluginManager:YA,ThemeManager:GA,IconManager:VA,Resource:fx,trim:Ct.trim,isArray:Ct.isArray,is:Ct.is,toArray:Ct.toArray,makeMap:Ct.makeMap,each:Ct.each,map:Ct.map,grep:Ct.grep,inArray:Ct.inArray,extend:Ct.extend,create:Ct.create,walk:Ct.walk,createNS:Ct.createNS,resolve:Ct.resolve,explode:Ct.explode,_addCacheSuffix:Ct._addCacheSuffix,isOpera:wt.opera,isWebKit:wt.webkit,isIE:wt.ie,isGecko:wt.gecko,isMac:wt.mac},Cx=Ct.extend(tx,kx);!function(e){window.tinymce=e,window.tinyMCE=e}(Cx),function(t){try{e.exports=t}catch(e){}}(Cx)}()},75220:function(e,t,n){"use strict";n.d(t,{Bt:function(){return q},JZ:function(){return ke},V6:function(){return Ce},aE:function(){return Re},lq:function(){return Ie},rd:function(){return De}});var r=n(61431);const o="undefined"!=typeof document;function i(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const a=Object.assign;function s(e,t){const n={};for(const r in t){const o=t[r];n[r]=c(o)?o.map(e):e(o)}return n}const l=()=>{},c=Array.isArray,u=/#/g,d=/&/g,f=/\//g,h=/=/g,p=/\?/g,m=/\+/g,g=/%5B/g,A=/%5D/g,v=/%5E/g,y=/%60/g,O=/%7B/g,b=/%7C/g,w=/%7D/g,_=/%20/g;function x(e){return encodeURI(""+e).replace(b,"|").replace(g,"[").replace(A,"]")}function S(e){return x(e).replace(m,"%2B").replace(_,"+").replace(u,"%23").replace(d,"%26").replace(y,"`").replace(O,"{").replace(w,"}").replace(v,"^")}function k(e){return null==e?"":function(e){return x(e).replace(u,"%23").replace(p,"%3F")}(e).replace(f,"%2F")}function C(e){try{return decodeURIComponent(""+e)}catch(e){}return""+e}const B=/\/$/,Q=e=>e.replace(B,"");function T(e,t,n="/"){let r,o={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),o=e(i)),s>-1&&(r=r||t.slice(0,s),a=t.slice(s,t.length)),r=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];".."!==o&&"."!==o||r.push("");let i,a,s=n.length-1;for(i=0;i<r.length;i++)if(a=r[i],"."!==a){if(".."!==a)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}(null!=r?r:t,n),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:C(a)}}function E(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function P(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function $(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!M(e[n],t[n]))return!1;return!0}function M(e,t){return c(e)?z(e,t):c(t)?z(t,e):e===t}function z(e,t){return c(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}const R={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var D,I;!function(e){e.pop="pop",e.push="push"}(D||(D={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(I||(I={}));const N=/^[^#]+#/;function L(e,t){return e.replace(N,"#")+t}const V=()=>({left:window.scrollX,top:window.scrollY});function U(e,t){return(history.state?history.state.position-t:-1)+e}const F=new Map;let H=()=>location.protocol+"//"+location.host;function W(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let t=o.includes(e.slice(i))?e.slice(i).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),E(n,"")}return E(n,e)+r+o}function X(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?V():null}}function j(e){const t=function(e){const{history:t,location:n}=window,r={value:W(e,n)},o={value:t.state};function i(r,i,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+r:H()+e+r;try{t[a?"replaceState":"pushState"](i,"",l),o.value=i}catch(e){console.error(e),n[a?"replace":"assign"](l)}}return o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:o,push:function(e,n){const s=a({},o.value,t.state,{forward:e,scroll:V()});i(s.current,s,!0),i(e,a({},X(r.value,e,null),{position:s.position+1},n),!1),r.value=e},replace:function(e,n){i(e,a({},t.state,X(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),r.value=e}}}(e=function(e){if(!e)if(o){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),Q(e)}(e)),n=function(e,t,n,r){let o=[],i=[],s=null;const l=({state:i})=>{const a=W(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else r(a);o.forEach((e=>{e(n.value,l,{delta:u,type:D.pop,direction:u?u>0?I.forward:I.back:I.unknown})}))};function c(){const{history:e}=window;e.state&&e.replaceState(a({},e.state,{scroll:V()}),"")}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",c)}}}(e,t.state,t.location,t.replace),r=a({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:L.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function q(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),j(e)}function Z(e){return"string"==typeof e||"symbol"==typeof e}const Y=Symbol("");var G;function K(e,t){return a(new Error,{type:e,[Y]:!0},t)}function J(e,t){return e instanceof Error&&Y in e&&(null==t||!!(e.type&t))}!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}(G||(G={}));const ee="[^/]+?",te={sensitive:!1,strict:!1,start:!0,end:!0},ne=/[.+*?^${}()[\]/\\]/g;function re(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function oe(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const e=re(r[n],o[n]);if(e)return e;n++}if(1===Math.abs(o.length-r.length)){if(ie(r))return 1;if(ie(o))return-1}return o.length-r.length}function ie(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ae={type:0,value:""},se=/[a-zA-Z0-9_]/;function le(e,t,n){const r=function(e,t){const n=a({},te,t),r=[];let o=n.start?"^":"";const i=[];for(const t of e){const e=t.length?[]:[90];n.strict&&!t.length&&(o+="/");for(let r=0;r<t.length;r++){const a=t[r];let s=40+(n.sensitive?.25:0);if(0===a.type)r||(o+="/"),o+=a.value.replace(ne,"\\$&"),s+=40;else if(1===a.type){const{value:e,repeatable:n,optional:l,regexp:c}=a;i.push({name:e,repeatable:n,optional:l});const u=c||ee;if(u!==ee){s+=10;try{new RegExp(`(${u})`)}catch(t){throw new Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=l&&t.length<2?`(?:/${d})`:"/"+d),l&&(d+="?"),o+=d,s+=20,l&&(s+=-8),n&&(s+=-20),".*"===u&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){const e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");return{re:s,score:r,keys:i,parse:function(e){const t=e.match(s),n={};if(!t)return null;for(let e=1;e<t.length;e++){const r=t[e]||"",o=i[e-1];n[o.name]=r&&o.repeatable?r.split("/"):r}return n},stringify:function(t){let n="",r=!1;for(const o of e){r&&n.endsWith("/")||(n+="/"),r=!1;for(const e of o)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:a,optional:s}=e,l=i in t?t[i]:"";if(c(l)&&!a)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const u=c(l)?l.join("/"):l;if(!u){if(!s)throw new Error(`Missing required param "${i}"`);o.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=u}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[ae]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let s,l=0,c="",u="";function d(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function f(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(c&&d(),a()):":"===s?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:"("===s?n=2:se.test(s)?f():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")}else r=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),o}(e.path),n),o=a(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function ce(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function ue(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:de(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function de(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"==typeof n?n[r]:n;return t}function fe(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function he(e){return e.reduce(((e,t)=>a(e,t.meta)),{})}function pe(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function me({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ge(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let e=0;e<n.length;++e){const r=n[e].replace(m," "),o=r.indexOf("="),i=C(o<0?r:r.slice(0,o)),a=o<0?null:C(r.slice(o+1));if(i in t){let e=t[i];c(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function Ae(e){let t="";for(let n in e){const r=e[n];(n=S(n).replace(h,"%3D"),null!=r)?(c(r)?r.map((e=>e&&S(e))):[r&&S(r)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})):void 0!==r&&(t+=(t.length?"&":"")+n)}return t}function ve(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=c(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}const ye=Symbol(""),Oe=Symbol(""),be=Symbol(""),we=Symbol(""),_e=Symbol("");function xe(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Se(e,t,n){const o=()=>{e[t].delete(n)};(0,r.onUnmounted)(o),(0,r.onDeactivated)(o),(0,r.onActivated)((()=>{e[t].add(n)})),e[t].add(n)}function ke(e){const t=(0,r.inject)(ye,{}).value;t&&Se(t,"leaveGuards",e)}function Ce(e){const t=(0,r.inject)(ye,{}).value;t&&Se(t,"updateGuards",e)}function Be(e,t,n,r,o,i=e=>e()){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise(((s,l)=>{const c=e=>{var i;!1===e?l(K(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(K(2,{from:t,to:e})):(a&&r.enterCallbacks[o]===a&&"function"==typeof e&&a.push(e),s())},u=i((()=>e.call(r&&r.instances[o],t,n,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function Qe(e,t,n,r,o=e=>e()){const a=[];for(const s of e)for(const e in s.components){let l=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(i(l)){const i=(l.__vccOpts||l)[t];i&&a.push(Be(i,n,r,s,e,o))}else{let c=l();a.push((()=>c.then((a=>{if(!a)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const l=(c=a).__esModule||"Module"===c[Symbol.toStringTag]||c.default&&i(c.default)?a.default:a;var c;s.mods[e]=a,s.components[e]=l;const u=(l.__vccOpts||l)[t];return u&&Be(u,n,r,s,e,o)()}))))}}return a}function Te(e){const t=(0,r.inject)(be),n=(0,r.inject)(we),o=(0,r.computed)((()=>{const n=(0,r.unref)(e.to);return t.resolve(n)})),i=(0,r.computed)((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const a=i.findIndex(P.bind(null,r));if(a>-1)return a;const s=Pe(e[t-2]);return t>1&&Pe(r)===s&&i[i.length-1].path!==s?i.findIndex(P.bind(null,e[t-2])):a})),a=(0,r.computed)((()=>i.value>-1&&function(e,t){for(const n in t){const r=t[n],o=e[n];if("string"==typeof r){if(r!==o)return!1}else if(!c(o)||o.length!==r.length||r.some(((e,t)=>e!==o[t])))return!1}return!0}(n.params,o.value.params))),s=(0,r.computed)((()=>i.value>-1&&i.value===n.matched.length-1&&$(n.params,o.value.params)));return{route:o,href:(0,r.computed)((()=>o.value.href)),isActive:a,isExactActive:s,navigate:function(n={}){if(function(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}(n)){const n=t[(0,r.unref)(e.replace)?"replace":"push"]((0,r.unref)(e.to)).catch(l);return e.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition((()=>n)),n}return Promise.resolve()}}}const Ee=(0,r.defineComponent)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Te,setup(e,{slots:t}){const n=(0,r.reactive)(Te(e)),{options:o}=(0,r.inject)(be),i=(0,r.computed)((()=>({[$e(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[$e(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&(1===(a=t.default(n)).length?a[0]:a);var a;return e.custom?o:(0,r.h)("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}});function Pe(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const $e=(e,t,n)=>null!=e?e:null!=t?t:n;function Me(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const ze=(0,r.defineComponent)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=(0,r.inject)(_e),i=(0,r.computed)((()=>e.route||o.value)),s=(0,r.inject)(Oe,0),l=(0,r.computed)((()=>{let e=(0,r.unref)(s);const{matched:t}=i.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),c=(0,r.computed)((()=>i.value.matched[l.value]));(0,r.provide)(Oe,(0,r.computed)((()=>l.value+1))),(0,r.provide)(ye,c),(0,r.provide)(_e,i);const u=(0,r.ref)();return(0,r.watch)((()=>[u.value,c.value,e.name]),(([e,t,n],[r,o,i])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&P(t,o)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=i.value,s=e.name,l=c.value,d=l&&l.components[s];if(!d)return Me(n.default,{Component:d,route:o});const f=l.props[s],h=f?!0===f?o.params:"function"==typeof f?f(o):f:null,p=(0,r.h)(d,a({},h,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(l.instances[s]=null)},ref:u}));return Me(n.default,{Component:p,route:o})||p}}});function Re(e){const t=function(e,t){const n=[],r=new Map;function o(e,n,r){const c=!r,u=ue(e);u.aliasOf=r&&r.record;const d=pe(t,e),f=[u];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)f.push(ue(a({},u,{components:r?r.record.components:u.components,path:e,aliasOf:r?r.record:u})))}let h,p;for(const t of f){const{path:a}=t;if(n&&"/"!==a[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/";t.path=n.record.path+(a&&r+a)}if(h=le(t,n,d),r?r.alias.push(h):(p=p||h,p!==h&&p.alias.push(h),c&&e.name&&!fe(h)&&i(e.name)),me(h)&&s(h),u.children){const e=u.children;for(let t=0;t<e.length;t++)o(e[t],h,r&&r.children[t])}r=r||h}return p?()=>{i(p)}:l}function i(e){if(Z(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){const t=function(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;oe(e,t[o])<0?r=o:n=o+1}const o=function(e){let t=e;for(;t=t.parent;)if(me(t)&&0===oe(e,t))return t}(e);return o&&(r=t.lastIndexOf(o,r-1)),r}(e,n);n.splice(t,0,e),e.record.name&&!fe(e)&&r.set(e.record.name,e)}return t=pe({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>o(e))),{addRoute:o,resolve:function(e,t){let o,i,s,l={};if("name"in e&&e.name){if(o=r.get(e.name),!o)throw K(1,{location:e});s=o.record.name,l=a(ce(t.params,o.keys.filter((e=>!e.optional)).concat(o.parent?o.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&ce(e.params,o.keys.map((e=>e.name)))),i=o.stringify(l)}else if(null!=e.path)i=e.path,o=n.find((e=>e.re.test(i))),o&&(l=o.parse(i),s=o.record.name);else{if(o=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw K(1,{location:e,currentLocation:t});s=o.record.name,l=a({},t.params,e.params),i=o.stringify(l)}const c=[];let u=o;for(;u;)c.unshift(u.record),u=u.parent;return{name:s,path:i,params:l,matched:c,meta:he(c)}},removeRoute:i,clearRoutes:function(){n.length=0,r.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}(e.routes,e),n=e.parseQuery||ge,i=e.stringifyQuery||Ae,u=e.history,d=xe(),f=xe(),h=xe(),p=(0,r.shallowRef)(R);let m=R;o&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const g=s.bind(null,(e=>""+e)),A=s.bind(null,k),y=s.bind(null,C);function b(e,r){if(r=a({},r||p.value),"string"==typeof e){const o=T(n,e,r.path),i=t.resolve({path:o.path},r),s=u.createHref(o.fullPath);return a(o,i,{params:y(i.params),hash:C(o.hash),redirectedFrom:void 0,href:s})}let o;if(null!=e.path)o=a({},e,{path:T(n,e.path,r.path).path});else{const t=a({},e.params);for(const e in t)null==t[e]&&delete t[e];o=a({},e,{params:A(t)}),r.params=A(r.params)}const s=t.resolve(o,r),l=e.hash||"";s.params=g(y(s.params));const c=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(i,a({},e,{hash:(d=l,x(d).replace(O,"{").replace(w,"}").replace(v,"^")),path:s.path}));var d;const f=u.createHref(c);return a({fullPath:c,hash:l,query:i===Ae?ve(e.query):e.query||{}},s,{redirectedFrom:void 0,href:f})}function _(e){return"string"==typeof e?T(n,e,p.value.path):a({},e)}function S(e,t){if(m!==e)return K(8,{from:t,to:e})}function B(e){return E(e)}function Q(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"==typeof n?n(e):n;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=_(r):{path:r},r.params={}),a({query:e.query,hash:e.hash,params:null!=r.path?{}:e.params},r)}}function E(e,t){const n=m=b(e),r=p.value,o=e.state,s=e.force,l=!0===e.replace,c=Q(n);if(c)return E(a(_(c),{state:"object"==typeof c?a({},o,c.state):o,force:s,replace:l}),t||n);const u=n;let d;return u.redirectedFrom=t,!s&&function(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&P(t.matched[r],n.matched[o])&&$(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(i,r,n)&&(d=K(16,{to:u,from:r}),G(r,r,!0,!1)),(d?Promise.resolve(d):I(u,r)).catch((e=>J(e)?J(e,2)?e:Y(e):q(e,u,r))).then((e=>{if(e){if(J(e,2))return E(a({replace:l},_(e.to),{state:"object"==typeof e.to?a({},o,e.to.state):o,force:s}),t||u)}else e=L(u,r,!0,l,o);return N(u,r,e),e}))}function M(e,t){const n=S(e,t);return n?Promise.reject(n):Promise.resolve()}function z(e){const t=ne.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function I(e,t){let n;const[r,o,i]=function(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const i=t.matched[a];i&&(e.matched.find((e=>P(e,i)))?r.push(i):n.push(i));const s=e.matched[a];s&&(t.matched.find((e=>P(e,s)))||o.push(s))}return[n,r,o]}(e,t);n=Qe(r.reverse(),"beforeRouteLeave",e,t);for(const o of r)o.leaveGuards.forEach((r=>{n.push(Be(r,e,t))}));const a=M.bind(null,e,t);return n.push(a),ie(n).then((()=>{n=[];for(const r of d.list())n.push(Be(r,e,t));return n.push(a),ie(n)})).then((()=>{n=Qe(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach((r=>{n.push(Be(r,e,t))}));return n.push(a),ie(n)})).then((()=>{n=[];for(const r of i)if(r.beforeEnter)if(c(r.beforeEnter))for(const o of r.beforeEnter)n.push(Be(o,e,t));else n.push(Be(r.beforeEnter,e,t));return n.push(a),ie(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Qe(i,"beforeRouteEnter",e,t,z),n.push(a),ie(n)))).then((()=>{n=[];for(const r of f.list())n.push(Be(r,e,t));return n.push(a),ie(n)})).catch((e=>J(e,8)?e:Promise.reject(e)))}function N(e,t,n){h.list().forEach((r=>z((()=>r(e,t,n)))))}function L(e,t,n,r,i){const s=S(e,t);if(s)return s;const l=t===R,c=o?history.state:{};n&&(r||l?u.replace(e.fullPath,a({scroll:l&&c&&c.scroll},i)):u.push(e.fullPath,i)),p.value=e,G(e,t,n,l),Y()}let H;let W,X=xe(),j=xe();function q(e,t,n){Y(e);const r=j.list();return r.length?r.forEach((r=>r(e,t,n))):console.error(e),Promise.reject(e)}function Y(e){return W||(W=!e,H||(H=u.listen(((e,t,n)=>{if(!re.listening)return;const r=b(e),i=Q(r);if(i)return void E(a(i,{replace:!0,force:!0}),r).catch(l);m=r;const s=p.value;var c,d;o&&(c=U(s.fullPath,n.delta),d=V(),F.set(c,d)),I(r,s).catch((e=>J(e,12)?e:J(e,2)?(E(a(_(e.to),{force:!0}),r).then((e=>{J(e,20)&&!n.delta&&n.type===D.pop&&u.go(-1,!1)})).catch(l),Promise.reject()):(n.delta&&u.go(-n.delta,!1),q(e,r,s)))).then((e=>{(e=e||L(r,s,!1))&&(n.delta&&!J(e,8)?u.go(-n.delta,!1):n.type===D.pop&&J(e,20)&&u.go(-1,!1)),N(r,s,e)})).catch(l)}))),X.list().forEach((([t,n])=>e?n(e):t())),X.reset()),e}function G(t,n,i,a){const{scrollBehavior:s}=e;if(!o||!s)return Promise.resolve();const l=!i&&function(e){const t=F.get(e);return F.delete(e),t}(U(t.fullPath,0))||(a||!i)&&history.state&&history.state.scroll||null;return(0,r.nextTick)().then((()=>s(t,n,l))).then((e=>e&&function(e){let t;if("el"in e){const n=e.el,r="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}(e))).catch((e=>q(e,t,n)))}const ee=e=>u.go(e);let te;const ne=new Set,re={currentRoute:p,listening:!0,addRoute:function(e,n){let r,o;return Z(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:b,options:e,push:B,replace:function(e){return B(a(_(e),{replace:!0}))},go:ee,back:()=>ee(-1),forward:()=>ee(1),beforeEach:d.add,beforeResolve:f.add,afterEach:h.add,onError:j.add,isReady:function(){return W&&p.value!==R?Promise.resolve():new Promise(((e,t)=>{X.add([e,t])}))},install(e){e.component("RouterLink",Ee),e.component("RouterView",ze),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,r.unref)(p)}),o&&!te&&p.value===R&&(te=!0,B(u.location).catch((e=>{})));const t={};for(const e in R)Object.defineProperty(t,e,{get:()=>p.value[e],enumerable:!0});e.provide(be,this),e.provide(we,(0,r.shallowReactive)(t)),e.provide(_e,p);const n=e.unmount;ne.add(e),e.unmount=function(){ne.delete(e),ne.size<1&&(m=R,H&&H(),H=null,p.value=R,te=!1,W=!1),n()}}};function ie(e){return e.reduce(((e,t)=>e.then((()=>z(t)))),Promise.resolve())}return re}function De(){return(0,r.inject)(be)}function Ie(e){return(0,r.inject)(we)}},75526:function(e,t,n){var r=n(3293);e.exports=function(e){return function(t){return"[object "+e+"]"===r.call(t)}}},75854:function(e,t,n){"use strict";var r=n(72777),o=TypeError;e.exports=function(e){var t=r(e,"number");if("number"==typeof t)throw new o("Can't convert number to bigint");return BigInt(t)}},76002:function(e,t,n){var r=n(34860);e.exports=function(e,t,n){return!(!e||!t)&&"Invalid Date"!==(e=r(e,n))&&e===r(t,n)}},76031:function(e,t,n){"use strict";n.d(t,{_V:function(){return m},eC:function(){return p},gd:function(){return h},iQ:function(){return d},nB:function(){return u},vy:function(){return f}});var r=n(2154),o=n(22720),i=n(55158),a=n(41651),s=n(90033);const l="utils/dom/style",c=(e="")=>e.split(" ").filter((e=>!!e.trim())),u=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},d=(e,t)=>{e&&t.trim()&&e.classList.add(...c(t))},f=(e,t)=>{e&&t.trim()&&e.classList.remove(...c(t))},h=(e,t)=>{var n;if(!o.oc||!e||!t)return"";let r=(0,s.PT)(t);"float"===r&&(r="cssFloat");try{const t=e.style[r];if(t)return t;const o=null==(n=document.defaultView)?void 0:n.getComputedStyle(e,"");return o?o[r]:""}catch(t){return e.style[r]}},p=(e,t,n)=>{if(e&&t)if((0,s.Gv)(t))(0,i.Mc)(t).forEach((([t,n])=>p(e,t,n)));else{const r=(0,s.PT)(t);e.style[r]=n}};function m(e,t="px"){return e?(0,r.Et)(e)||(0,r.Hp)(e)?`${e}${t}`:(0,s.Kg)(e)?e:void(0,a.U)(l,"binding value must be a string or number"):""}},76050:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var r=n(98026);function o(e){var t,n,o=e.style,i=o.lineDash&&o.lineWidth>0&&(t=o.lineDash,n=o.lineWidth,t&&"solid"!==t&&n>0?"dashed"===t?[4*n,2*n]:"dotted"===t?[n]:(0,r.isNumber)(t)?[t]:(0,r.isArray)(t)?t:null:null),a=o.lineDashOffset;if(i){var s=o.strokeNoScale&&e.getLineScale?e.getLineScale():1;s&&1!==s&&(i=(0,r.map)(i,(function(e){return e/s})),a/=s)}return[i,a]}},76057:function(e,t,n){var r=n(41769),o=n(89528);e.exports=function(){for(var e=arguments,t=[],n=0,i=e.length;n<i;n++)t=t.concat(o(e[n]));return r(t)}},76080:function(e,t,n){"use strict";var r=n(27476),o=n(79306),i=n(40616),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},76302:function(e,t,n){"use strict";n.d(t,{a:function(){return u}});var r=n(15215),o=n(15915),i=n(59109),a=n(13430),s=n(40972),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return(0,r.C6)(t,e),t.prototype.init=function(t,n,r){e.prototype.init.call(this,t,n,r),this._sourceManager=new s.R(this),(0,s.A)(this)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),(0,s.A)(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:a.i_},t}(o.A),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return(0,r.C6)(t,e),t.type="dataset",t}(i.A);function u(e){e.registerComponentModel(l),e.registerComponentView(c)}},76411:function(e,t,n){"use strict";n.d(t,{a:function(){return b}});var r=n(73098),o=n(98026),i=n(15215),a=n(57861),s=n(53479),l=n(29571),c=n(29308),u=n(56448),d=n(59741);function f(e,t,n){var r=d.yh.createCanvas(),o=t.getWidth(),i=t.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=o+"px",a.height=i+"px",r.setAttribute("data-zr-dom-id",e)),r.width=o*n,r.height=i*n,r}var h=function(e){function t(t,n,i){var a,s=e.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,i=i||r.Y5,"string"==typeof t?a=f(t,n,i):o.isObject(t)&&(t=(a=t).id),s.id=t,s.dom=a;var l=a.style;return l&&(o.disableUserSelect(a),a.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),s.painter=n,s.dpr=i,s}return(0,i.C6)(t,e),t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=f("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,t,n,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var o,i=[],a=this.maxRepaintRectCount,s=!1,l=new c.A(0,0,0,0);function d(e){if(e.isFinite()&&!e.isZero())if(0===i.length)(t=new c.A(0,0,0,0)).copy(e),i.push(t);else{for(var t,n=!1,r=1/0,o=0,u=0;u<i.length;++u){var d=i[u];if(d.intersect(e)){var f=new c.A(0,0,0,0);f.copy(d),f.union(e),i[u]=f,n=!0;break}if(s){l.copy(e),l.union(d);var h=e.width*e.height,p=d.width*d.height,m=l.width*l.height-h-p;m<r&&(r=m,o=u)}}s&&(i[o].union(e),n=!0),n||((t=new c.A(0,0,0,0)).copy(e),i.push(t)),s||(s=i.length>=a)}}for(var f=this.__startIndex;f<this.__endIndex;++f)if(m=e[f]){var h=m.shouldBePainted(n,r,!0,!0);(g=m.__isRendered&&(m.__dirty&u.M||!h)?m.getPrevPaintRect():null)&&d(g);var p=h&&(m.__dirty&u.M||!m.__isRendered)?m.getPaintRect():null;p&&d(p)}for(f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var m,g;h=(m=t[f])&&m.shouldBePainted(n,r,!0,!0),!m||h&&m.__zr||!m.__isRendered||(g=m.getPrevPaintRect())&&d(g)}do{for(o=!1,f=0;f<i.length;)if(i[f].isZero())i.splice(f,1);else{for(var A=f+1;A<i.length;)i[f].intersect(i[A])?(o=!0,i[f].union(i[A]),i.splice(A,1)):A++;f++}}while(o);return this._paintRects=i,i},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(e,t){var n=this.dpr,r=this.dom,o=r.style,i=this.domBack;o&&(o.width=e+"px",o.height=t+"px"),r.width=e*n,r.height=t*n,i&&(i.width=e*n,i.height=t*n,1!==n&&this.ctxBack.scale(n,n))},t.prototype.clear=function(e,t,n){var r=this.dom,i=this.ctx,a=r.width,c=r.height;t=t||this.clearColor;var u=this.motionBlur&&!e,d=this.lastFrameAlpha,f=this.dpr,h=this;u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,a/f,c/f));var p=this.domBack;function m(e,n,r,a){if(i.clearRect(e,n,r,a),t&&"transparent"!==t){var c=void 0;o.isGradientObject(t)?(c=(t.global||t.__width===r&&t.__height===a)&&t.__canvasGradient||(0,s.Ff)(i,t,{x:0,y:0,width:r,height:a}),t.__canvasGradient=c,t.__width=r,t.__height=a):o.isImagePatternObject(t)&&(t.scaleX=t.scaleX||f,t.scaleY=t.scaleY||f,c=(0,l.ZQ)(i,t,{dirty:function(){h.setUnpainted(),h.painter.refresh()}})),i.save(),i.fillStyle=c||t,i.fillRect(e,n,r,a),i.restore()}u&&(i.save(),i.globalAlpha=d,i.drawImage(p,e,n,r,a),i.restore())}!n||u?m(0,0,a,c):n.length&&o.each(n,(function(e){m(e.x*f,e.y*f,e.width*f,e.height*f)}))},t}(a.A),p=n(45825),m=n(38123),g=1e5,A=314159,v=.01,y=function(){function e(e,t,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=o.extend({},n||{}),this.dpr=n.devicePixelRatio||r.Y5,this._singleCanvas=a,this.root=e,e.style&&(o.disableUserSelect(e),e.innerHTML=""),this.storage=t;var l=this._zlevelList;this._prevDisplayList=[];var c=this._layers;if(a){var u=e,d=u.width,f=u.height;null!=n.width&&(d=n.width),null!=n.height&&(f=n.height),this.dpr=n.devicePixelRatio||1,u.width=d*this.dpr,u.height=f*this.dpr,this._width=d,this._height=f;var p=new h(u,this,this.dpr);p.__builtin__=!0,p.initContext(),c[314159]=p,p.zlevel=A,l.push(A),this._domRoot=e}else{this._width=(0,s.YC)(e,0,n),this._height=(0,s.YC)(e,1,n);var m=this._domRoot=function(e,t){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);e.appendChild(m)}}return e.prototype.getType=function(){return"canvas"},e.prototype.isSingleCanvas=function(){return this._singleCanvas},e.prototype.getViewportRoot=function(){return this._domRoot},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.refresh=function(e){var t=this.storage.getDisplayList(!0),n=this._prevDisplayList,r=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,n,e,this._redrawId);for(var o=0;o<r.length;o++){var i=r[o],a=this._layers[i];if(!a.__builtin__&&a.refresh){var s=0===o?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=t.slice()),this},e.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},e.prototype._paintHoverList=function(e){var t=e.length,n=this._hoverlayer;if(n&&n.clear(),t){for(var r,o={inHover:!0,viewWidth:this._width,viewHeight:this._height},i=0;i<t;i++){var a=e[i];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(g)),r||(r=n.ctx).save(),(0,l.V$)(r,a,o,i===t-1))}r&&r.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(g)},e.prototype.paintOne=function(e,t){(0,l.Xi)(e,t)},e.prototype._paintList=function(e,t,n,r){if(this._redrawId===r){n=n||!1,this._updateLayerStatus(e);var o=this._doPaintList(e,t,n),i=o.finished,a=o.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(e),i)this.eachLayer((function(e){e.afterBrush&&e.afterBrush()}));else{var s=this;(0,p.A)((function(){s._paintList(e,t,n,r)}))}}},e.prototype._compositeManually=function(){var e=this.getLayer(A).ctx,t=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,t,n),this.eachBuiltinLayer((function(r){r.virtual&&e.drawImage(r.dom,0,0,t,n)}))},e.prototype._doPaintList=function(e,t,n){for(var r=this,i=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],c=this._layers[l];c.__builtin__&&c!==this._hoverlayer&&(c.__dirty||n)&&i.push(c)}for(var u=!0,d=!1,f=function(o){var s,l=i[o],c=l.ctx,f=a&&l.createRepaintRects(e,t,h._width,h._height),p=n?l.__startIndex:l.__drawIndex,m=!n&&l.incremental&&Date.now,g=m&&Date.now(),A=l.zlevel===h._zlevelList[0]?h._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,A,f);else if(p===l.__startIndex){var v=e[p];v.incremental&&v.notClear&&!n||l.clear(!1,A,f)}-1===p&&(console.error("For some unknown reason. drawIndex is -1"),p=l.__startIndex);var y=function(t){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:r._width,viewHeight:r._height};for(s=p;s<l.__endIndex;s++){var o=e[s];if(o.__inHover&&(d=!0),r._doPaintEl(o,l,a,t,n,s===l.__endIndex-1),m&&Date.now()-g>15)break}n.prevElClipPaths&&c.restore()};if(f)if(0===f.length)s=l.__endIndex;else for(var O=h.dpr,b=0;b<f.length;++b){var w=f[b];c.save(),c.beginPath(),c.rect(w.x*O,w.y*O,w.width*O,w.height*O),c.clip(),y(w),c.restore()}else c.save(),y(),c.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(u=!1)},h=this,p=0;p<i.length;p++)f(p);return m.A.wxa&&o.each(this._layers,(function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()})),{finished:u,needsRefreshHover:d}},e.prototype._doPaintEl=function(e,t,n,r,o,i){var a=t.ctx;if(n){var s=e.getPaintRect();(!r||s&&s.intersect(r))&&((0,l.V$)(a,e,o,i),e.setPrevPaintRect(s))}else(0,l.V$)(a,e,o,i)},e.prototype.getLayer=function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=A);var n=this._layers[e];return n||((n=new h("zr_"+e,this,this.dpr)).zlevel=e,n.__builtin__=!0,this._layerConfig[e]?o.merge(n,this._layerConfig[e],!0):this._layerConfig[e-v]&&o.merge(n,this._layerConfig[e-v],!0),t&&(n.virtual=t),this.insertLayer(e,n),n.initContext()),n},e.prototype.insertLayer=function(e,t){var n=this._layers,r=this._zlevelList,o=r.length,i=this._domRoot,a=null,s=-1;if(!n[e]&&function(e){return!!e&&(!!e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh)}(t)){if(o>0&&e>r[0]){for(s=0;s<o-1&&!(r[s]<e&&r[s+1]>e);s++);a=n[r[s]]}if(r.splice(s+1,0,e),n[e]=t,!t.virtual)if(a){var l=a.dom;l.nextSibling?i.insertBefore(t.dom,l.nextSibling):i.appendChild(t.dom)}else i.firstChild?i.insertBefore(t.dom,i.firstChild):i.appendChild(t.dom);t.painter||(t.painter=this)}},e.prototype.eachLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var o=n[r];e.call(t,this._layers[o],o)}},e.prototype.eachBuiltinLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var o=n[r],i=this._layers[o];i.__builtin__&&e.call(t,i,o)}},e.prototype.eachOtherLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var o=n[r],i=this._layers[o];i.__builtin__||e.call(t,i,o)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(e){function t(e){a&&(a.__endIndex!==e&&(a.__dirty=!0),a.__endIndex=e)}if(this.eachBuiltinLayer((function(e,t){e.__dirty=e.__used=!1})),this._singleCanvas)for(var n=1;n<e.length;n++)if((l=e[n]).zlevel!==e[n-1].zlevel||l.incremental){this._needsManuallyCompositing=!0;break}var r,i,a=null,s=0;for(i=0;i<e.length;i++){var l,c=(l=e[i]).zlevel,d=void 0;r!==c&&(r=c,s=0),l.incremental?((d=this.getLayer(c+.001,this._needsManuallyCompositing)).incremental=!0,s=1):d=this.getLayer(c+(s>0?v:0),this._needsManuallyCompositing),d.__builtin__||o.logError("ZLevel "+c+" has been used by unkown layer "+d.id),d!==a&&(d.__used=!0,d.__startIndex!==i&&(d.__dirty=!0),d.__startIndex=i,d.incremental?d.__drawIndex=-1:d.__drawIndex=i,t(i),a=d),l.__dirty&u.M&&!l.__inHover&&(d.__dirty=!0,d.incremental&&d.__drawIndex<0&&(d.__drawIndex=i))}t(i),this.eachBuiltinLayer((function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)}))},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(e){e.clear()},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e,o.each(this._layers,(function(e){e.setUnpainted()}))},e.prototype.configLayer=function(e,t){if(t){var n=this._layerConfig;n[e]?o.merge(n[e],t,!0):n[e]=t;for(var r=0;r<this._zlevelList.length;r++){var i=this._zlevelList[r];if(i===e||i===e+v){var a=this._layers[i];o.merge(a,n[e],!0)}}}},e.prototype.delLayer=function(e){var t=this._layers,n=this._zlevelList,r=t[e];r&&(r.dom.parentNode.removeChild(r.dom),delete t[e],n.splice(o.indexOf(n,e),1))},e.prototype.resize=function(e,t){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var r=this._opts,o=this.root;if(null!=e&&(r.width=e),null!=t&&(r.height=t),e=(0,s.YC)(o,0,r),t=(0,s.YC)(o,1,r),n.style.display="",this._width!==e||t!==this._height){for(var i in n.style.width=e+"px",n.style.height=t+"px",this._layers)this._layers.hasOwnProperty(i)&&this._layers[i].resize(e,t);this.refresh(!0)}this._width=e,this._height=t}else{if(null==e||null==t)return;this._width=e,this._height=t,this.getLayer(A).resize(e,t)}return this},e.prototype.clearLayer=function(e){var t=this._layers[e];t&&t.clear()},e.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},e.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var t=new h("image",this,e.pixelRatio||this.dpr);t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor);var n=t.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var r=t.dom.width,o=t.dom.height;this.eachLayer((function(e){e.__builtin__?n.drawImage(e.dom,0,0,r,o):e.renderToCanvas&&(n.save(),e.renderToCanvas(n),n.restore())}))}else for(var i={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,c=a.length;s<c;s++){var u=a[s];(0,l.V$)(n,u,i,s===c-1)}return t.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}(),O=y;function b(e){e.registerPainter("canvas",O)}},76868:function(e,t,n){"use strict";n.d(t,{w:function(){return m}});var r=Math.round(9*Math.random()),o="function"==typeof Object.defineProperty,i=function(){function e(){this._id="__ec_inner_"+r++}return e.prototype.get=function(e){return this._guard(e)[this._id]},e.prototype.set=function(e,t){var n=this._guard(e);return o?Object.defineProperty(n,this._id,{value:t,enumerable:!1,configurable:!0}):n[this._id]=t,this},e.prototype.delete=function(e){return!!this.has(e)&&(delete this._guard(e)[this._id],!0)},e.prototype.has=function(e){return!!this._guard(e)[this._id]},e.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},e}(),a=n(60501),s=n(98026),l=n(24326),c=n(62103),u=n(29571),d=n(59741),f=new i,h=new a.Ay(100),p=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function m(e,t){if("none"===e)return null;var n=t.getDevicePixelRatio(),r=t.getZr(),o="svg"===r.painter.type;e.dirty&&f.delete(e);var i=f.get(e);if(i)return i;var a=(0,s.defaults)(e,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var m={repeat:"repeat"};return function(e){for(var t,i=[n],f=!0,m=0;m<p.length;++m){var y=a[p[m]];if(null!=y&&!(0,s.isArray)(y)&&!(0,s.isString)(y)&&!(0,s.isNumber)(y)&&"boolean"!=typeof y){f=!1;break}i.push(y)}if(f){t=i.join(",")+(o?"-svg":"");var O=h.get(t);O&&(o?e.svgElement=O:e.image=O)}var b,w,_=A(a.dashArrayX),x=function(e){if(!e||"object"==typeof e&&0===e.length)return[0,0];if((0,s.isNumber)(e)){var t=Math.ceil(e);return[t,t]}var n=(0,s.map)(e,(function(e){return Math.ceil(e)}));return e.length%2?n.concat(n):n}(a.dashArrayY),S=g(a.symbol),k=(w=_,(0,s.map)(w,(function(e){return v(e)}))),C=v(x),B=!o&&d.yh.createCanvas(),Q=o&&{tag:"g",attrs:{},key:"dcl",children:[]},T=function(){for(var e=1,t=0,n=k.length;t<n;++t)e=(0,l.lQ)(e,k[t]);var r=1;for(t=0,n=S.length;t<n;++t)r=(0,l.lQ)(r,S[t].length);e*=r;var o=C*k.length*S.length;return{width:Math.max(1,Math.min(e,a.maxTileWidth)),height:Math.max(1,Math.min(o,a.maxTileHeight))}}();B&&(B.width=T.width*n,B.height=T.height*n,b=B.getContext("2d")),function(){b&&(b.clearRect(0,0,B.width,B.height),a.backgroundColor&&(b.fillStyle=a.backgroundColor,b.fillRect(0,0,B.width,B.height)));for(var e=0,t=0;t<x.length;++t)e+=x[t];if(!(e<=0))for(var i=-C,s=0,l=0,d=0;i<T.height;){if(s%2==0){for(var f=l/2%S.length,h=0,p=0,m=0;h<2*T.width;){var g=0;for(t=0;t<_[d].length;++t)g+=_[d][t];if(g<=0)break;if(p%2==0){var A=.5*(1-a.symbolSize),v=h+_[d][p]*A,y=i+x[s]*A,O=_[d][p]*a.symbolSize,w=x[s]*a.symbolSize,k=m/2%S[f].length;E(v,y,O,w,S[f][k])}h+=_[d][p],++m,++p===_[d].length&&(p=0)}++d===_.length&&(d=0)}i+=x[s],++l,++s===x.length&&(s=0)}function E(e,t,i,s,l){var d=o?1:n,f=(0,c.v5)(l,e*d,t*d,i*d,s*d,a.color,a.symbolKeepAspect);if(o){var h=r.painter.renderOneToVNode(f);h&&Q.children.push(h)}else(0,u.Xi)(b,f)}}(),f&&h.put(t,B||Q),e.image=B,e.svgElement=Q,e.svgWidth=T.width,e.svgHeight=T.height}(m),m.rotation=a.rotation,m.scaleX=m.scaleY=o?1:1/n,f.set(e,m),e.dirty=!1,m}function g(e){if(!e||0===e.length)return[["rect"]];if((0,s.isString)(e))return[[e]];for(var t=!0,n=0;n<e.length;++n)if(!(0,s.isString)(e[n])){t=!1;break}if(t)return g([e]);var r=[];for(n=0;n<e.length;++n)(0,s.isString)(e[n])?r.push([e[n]]):r.push(e[n]);return r}function A(e){if(!e||0===e.length)return[[0,0]];if((0,s.isNumber)(e))return[[o=Math.ceil(e),o]];for(var t=!0,n=0;n<e.length;++n)if(!(0,s.isNumber)(e[n])){t=!1;break}if(t)return A([e]);var r=[];for(n=0;n<e.length;++n)if((0,s.isNumber)(e[n])){var o=Math.ceil(e[n]);r.push([o,o])}else(o=(0,s.map)(e[n],(function(e){return Math.ceil(e)}))).length%2==1?r.push(o.concat(o)):r.push(o);return r}function v(e){for(var t=0,n=0;n<e.length;++n)t+=e[n];return e.length%2==1?2*t:t}},76873:function(e,t,n){"use strict";function r(e,t,n,r,o,i){if(i>t&&i>r||i<t&&i<r)return 0;if(r===t)return 0;var a=(i-t)/(r-t),s=r<t?1:-1;1!==a&&0!==a||(s=r<t?.5:-.5);var l=a*(n-e)+e;return l===o?1/0:l>o?s:0}n.d(t,{A:function(){return r}})},76875:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=Math.max,o=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=r(o.length-t,0),s=Array(a);++i<a;)s[i]=o[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=o[i];return l[t]=n(s),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,l)}}},76912:function(e,t){"use strict";t.A=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},77010:function(e,t,n){"use strict";n.d(t,{Bi:function(){return u},Sj:function(){return c}});var r=n(61431),o=n(22720),i=n(65980),a=n(41651);const s={prefix:Math.floor(1e4*Math.random()),current:0},l=Symbol("elIdInjection"),c=()=>(0,r.getCurrentInstance)()?(0,r.inject)(l,s):s,u=e=>{const t=c();o.oc||t!==s||(0,a.U)("IdInjection","Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed\nusage: app.provide(ID_INJECTION_KEY, {\n prefix: number,\n current: number,\n})");const n=(0,i.E9)();return(0,o.AI)((()=>(0,r.unref)(e)||`${n.value}-id-${t.prefix}-${t.current++}`))}},77037:function(e,t,n){"use strict";n.d(t,{_:function(){return x}});var r=n(48170),o=n(29308),i=n(5638),a=n(69622),s=n(24326),l=n(92836),c=n(92621),u=n(98026),d=n(77175),f=n(89632),h=n(41589);function p(e){if(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].slice());return t}}function m(e,t){var n=e.label,r=t&&t.getTextGuideLine();return{dataIndex:e.dataIndex,dataType:e.dataType,seriesIndex:e.seriesModel.seriesIndex,text:e.label.style.text,rect:e.hostRect,labelRect:e.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:p(r&&r.shape.points)}}var g=["align","verticalAlign","width","height","fontSize"],A=new l.Ay,v=(0,r.$r)(),y=(0,r.$r)();function O(e,t,n){for(var r=0;r<n.length;r++){var o=n[r];null!=t[o]&&(e[o]=t[o])}}var b=["x","y","rotation"],w=function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(e,t,n,r,i){var a=r.style,s=r.__hostTarget.textConfig||{},l=r.getComputedTransform(),c=r.getBoundingRect().plain();o.A.applyTransform(c,c,l),l?A.setLocalTransform(l):(A.x=A.y=A.rotation=A.originX=A.originY=0,A.scaleX=A.scaleY=1),A.rotation=(0,h.n)(A.rotation);var u,d=r.__hostTarget;if(d){u=d.getBoundingRect().plain();var f=d.getComputedTransform();o.A.applyTransform(u,u,f)}var p=u&&d.getTextGuideLine();this._labelList.push({label:r,labelLine:p,seriesModel:n,dataIndex:e,dataType:t,layoutOption:i,computedLayoutOption:null,rect:c,hostRect:u,priority:u?u.width*u.height:0,defaultAttr:{ignore:r.ignore,labelGuideIgnore:p&&p.ignore,x:A.x,y:A.y,scaleX:A.scaleX,scaleY:A.scaleY,rotation:A.rotation,style:{x:a.x,y:a.y,align:a.align,verticalAlign:a.verticalAlign,width:a.width,height:a.height,fontSize:a.fontSize},cursor:r.cursor,attachedPos:s.position,attachedRot:s.rotation}})},e.prototype.addLabelsOfSeries=function(e){var t=this;this._chartViewList.push(e);var n=e.__model,r=n.get("labelLayout");((0,u.isFunction)(r)||(0,u.keys)(r).length)&&e.group.traverse((function(e){if(e.ignore)return!0;var o=e.getTextContent(),i=(0,a.z)(e);o&&!o.disableLabelLayout&&t._addLabel(i.dataIndex,i.dataType,n,o,r)}))},e.prototype.updateLayoutConfig=function(e){var t=e.getWidth(),n=e.getHeight();function r(e,t){return function(){(0,c.lB)(e,t)}}for(var o=0;o<this._labelList.length;o++){var i=this._labelList[o],a=i.label,l=a.__hostTarget,d=i.defaultAttr,f=void 0;f=(f=(0,u.isFunction)(i.layoutOption)?i.layoutOption(m(i,l)):i.layoutOption)||{},i.computedLayoutOption=f;var h=Math.PI/180;l&&l.setTextConfig({local:!1,position:null!=f.x||null!=f.y?null:d.attachedPos,rotation:null!=f.rotate?f.rotate*h:d.attachedRot,offset:[f.dx||0,f.dy||0]});var p=!1;if(null!=f.x?(a.x=(0,s.lo)(f.x,t),a.setStyle("x",0),p=!0):(a.x=d.x,a.setStyle("x",d.style.x)),null!=f.y?(a.y=(0,s.lo)(f.y,n),a.setStyle("y",0),p=!0):(a.y=d.y,a.setStyle("y",d.style.y)),f.labelLinePoints){var A=l.getTextGuideLine();A&&(A.setShape({points:f.labelLinePoints}),p=!1)}v(a).needsUpdateLabelLine=p,a.rotation=null!=f.rotate?f.rotate*h:d.rotation,a.scaleX=d.scaleX,a.scaleY=d.scaleY;for(var y=0;y<g.length;y++){var O=g[y];a.setStyle(O,null!=f[O]?f[O]:d.style[O])}if(f.draggable){if(a.draggable=!0,a.cursor="move",l){var b=i.seriesModel;null!=i.dataIndex&&(b=i.seriesModel.getData(i.dataType).getItemModel(i.dataIndex)),a.on("drag",r(l,b.getModel("labelLine")))}}else a.off("drag"),a.cursor=d.cursor}},e.prototype.layout=function(e){var t=e.getWidth(),n=e.getHeight(),r=(0,d.os)(this._labelList),o=(0,u.filter)(r,(function(e){return"shiftX"===e.layoutOption.moveOverlap})),i=(0,u.filter)(r,(function(e){return"shiftY"===e.layoutOption.moveOverlap}));(0,d.QX)(o,0,t),(0,d.Xe)(i,0,n);var a=(0,u.filter)(r,(function(e){return e.layoutOption.hideOverlap}));(0,d.If)(a)},e.prototype.processLabelsOverall=function(){var e=this;(0,u.each)(this._chartViewList,(function(t){var n=t.__model,r=t.ignoreLabelLineUpdate,o=n.isAnimationEnabled();t.group.traverse((function(t){if(t.ignore&&!t.forceLabelAnimation)return!0;var i=!r,a=t.getTextContent();!i&&a&&(i=v(a).needsUpdateLabelLine),i&&e._updateLabelLine(t,n),o&&e._animateLabels(t,n)}))}))},e.prototype._updateLabelLine=function(e,t){var n=e.getTextContent(),r=(0,a.z)(e),o=r.dataIndex;if(n&&null!=o){var i=t.getData(r.dataType),s=i.getItemModel(o),l={},u=i.getItemVisual(o,"style");if(u){var d=i.getVisual("drawType");l.stroke=u[d]}var f=s.getModel("labelLine");(0,c.eR)(e,(0,c.rv)(s),l),(0,c.lB)(e,f)}},e.prototype._animateLabels=function(e,t){var n=e.getTextContent(),r=e.getTextGuideLine();if(n&&(e.forceLabelAnimation||!n.ignore&&!n.invisible&&!e.disableLabelAnimation&&!(0,i.LR)(e))){var o=(A=v(n)).oldLayout,s=(0,a.z)(e),l=s.dataIndex,c={x:n.x,y:n.y,rotation:n.rotation},d=t.getData(s.dataType);if(o){n.attr(o);var h=e.prevStates;h&&((0,u.indexOf)(h,"select")>=0&&n.attr(A.oldLayoutSelect),(0,u.indexOf)(h,"emphasis")>=0&&n.attr(A.oldLayoutEmphasis)),(0,i.oi)(n,c,t,l)}else if(n.attr(c),!(0,f.Lu)(n).valueAnimation){var p=(0,u.retrieve2)(n.style.opacity,1);n.style.opacity=0,(0,i.LW)(n,{style:{opacity:p}},t,l)}if(A.oldLayout=c,n.states.select){var m=A.oldLayoutSelect={};O(m,c,b),O(m,n.states.select,b)}if(n.states.emphasis){var g=A.oldLayoutEmphasis={};O(g,c,b),O(g,n.states.emphasis,b)}(0,f.xb)(n,l,d,t,t)}if(r&&!r.ignore&&!r.invisible){o=(A=y(r)).oldLayout;var A,w={points:r.shape.points};o?(r.attr({shape:o}),(0,i.oi)(r,{shape:w},t)):(r.setShape(w),r.style.strokePercent=0,(0,i.LW)(r,{style:{strokePercent:1}},t)),A.oldLayout=w}},e}(),_=(0,r.$r)();function x(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){var r=_(t).labelManager;r||(r=_(t).labelManager=new w),r.clearLabels()})),e.registerUpdateLifecycle("series:layoutlabels",(function(e,t,n){var r=_(t).labelManager;n.updatedSeries.forEach((function(e){r.addLabelsOfSeries(t.getViewOfSeriesModel(e))})),r.updateLayoutConfig(t),r.layout(t),r.processLabelsOverall()}))}},77175:function(e,t,n){"use strict";n.d(t,{If:function(){return c},QX:function(){return s},Xe:function(){return l},os:function(){return i}});var r=n(84716),o=n(29308);function i(e){for(var t=[],n=0;n<e.length;n++){var o=e[n];if(!o.defaultAttr.ignore){var i=o.label,a=i.getComputedTransform(),s=i.getBoundingRect(),l=!a||a[1]<1e-5&&a[2]<1e-5,c=i.style.margin||0,u=s.clone();u.applyTransform(a),u.x-=c/2,u.y-=c/2,u.width+=c,u.height+=c;var d=l?new r.A(s,a):null;t.push({label:i,labelLine:o.labelLine,rect:u,localRect:s,obb:d,priority:o.priority,defaultAttr:o.defaultAttr,layoutOption:o.computedLayoutOption,axisAligned:l,transform:a})}}return t}function a(e,t,n,r,o,i){var a=e.length;if(!(a<2)){e.sort((function(e,n){return e.rect[t]-n.rect[t]}));for(var s,l=0,c=!1,u=[],d=0,f=0;f<a;f++){var h=e[f],p=h.rect;(s=p[t]-l)<0&&(p[t]-=s,h.label[t]-=s,c=!0);var m=Math.max(-s,0);u.push(m),d+=m,l=p[t]+p[n]}d>0&&i&&w(-d/a,0,a);var g,A,v=e[0],y=e[a-1];return O(),g<0&&_(-g,.8),A<0&&_(A,.8),O(),b(g,A,1),b(A,g,-1),O(),g<0&&x(-g),A<0&&x(A),c}function O(){g=v.rect[t]-r,A=o-y.rect[t]-y.rect[n]}function b(e,t,n){if(e<0){var r=Math.min(t,-e);if(r>0){w(r*n,0,a);var o=r+e;o<0&&_(-o*n,1)}else _(-e*n,1)}}function w(n,r,o){0!==n&&(c=!0);for(var i=r;i<o;i++){var a=e[i];a.rect[t]+=n,a.label[t]+=n}}function _(r,o){for(var i=[],s=0,l=1;l<a;l++){var c=e[l-1].rect,u=Math.max(e[l].rect[t]-c[t]-c[n],0);i.push(u),s+=u}if(s){var d=Math.min(Math.abs(r)/s,o);if(r>0)for(l=0;l<a-1;l++)w(i[l]*d,0,l+1);else for(l=a-1;l>0;l--)w(-i[l-1]*d,l,a)}}function x(e){var t=e<0?-1:1;e=Math.abs(e);for(var n=Math.ceil(e/(a-1)),r=0;r<a-1;r++)if(t>0?w(n,0,r+1):w(-n,a-r-1,a),(e-=n)<=0)return}}function s(e,t,n,r){return a(e,"x","width",t,n,r)}function l(e,t,n,r){return a(e,"y","height",t,n,r)}function c(e){var t=[];e.sort((function(e,t){return t.priority-e.priority}));var n=new o.A(0,0,0,0);function i(e){if(!e.ignore){var t=e.ensureState("emphasis");null==t.ignore&&(t.ignore=!1)}e.ignore=!0}for(var a=0;a<e.length;a++){var s=e[a],l=s.axisAligned,c=s.localRect,u=s.transform,d=s.label,f=s.labelLine;n.copy(s.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var h=s.obb,p=!1,m=0;m<t.length;m++){var g=t[m];if(n.intersect(g.rect)){if(l&&g.axisAligned){p=!0;break}if(g.obb||(g.obb=new r.A(g.localRect,g.transform)),h||(h=new r.A(c,u)),h.intersect(g.obb)){p=!0;break}}}p?(i(d),f&&i(f)):(d.attr("ignore",s.defaultAttr.ignore),f&&f.attr("ignore",s.defaultAttr.labelGuideIgnore),t.push(s))}}},77193:function(e,t,n){"use strict";n.d(t,{F:function(){return A},A:function(){return _}});var r={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4))},elasticOut:function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/.4)+1)},elasticInOut:function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-r.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*r.bounceIn(2*e):.5*r.bounceOut(2*e-1)+.5}},o=r,i=n(98026),a=n(96320),s=function(){function e(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||i.noop,this.ondestroy=e.ondestroy||i.noop,this.onrestart=e.onrestart||i.noop,e.easing&&this.setEasing(e.easing)}return e.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),!this._paused){var n=this._life,r=e-this._startTime-this._pausedTime,o=r/n;o<0&&(o=0),o=Math.min(o,1);var i=this.easingFunc,a=i?i(o):o;if(this.onframe(a),1===o){if(!this.loop)return!0;var s=r%n;this._startTime=e-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=t},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(e){this.easing=e,this.easingFunc=(0,i.isFunction)(e)?e:o[e]||(0,a.w)(e)},e}(),l=n(47698),c=n(3455),u=Array.prototype.slice;function d(e,t,n){return(t-e)*n+e}function f(e,t,n,r){for(var o=t.length,i=0;i<o;i++)e[i]=d(t[i],n[i],r);return e}function h(e,t,n,r){for(var o=t.length,i=0;i<o;i++)e[i]=t[i]+n[i]*r;return e}function p(e,t,n,r){for(var o=t.length,i=o&&t[0].length,a=0;a<o;a++){e[a]||(e[a]=[]);for(var s=0;s<i;s++)e[a][s]=t[a][s]+n[a][s]*r}return e}function m(e,t){for(var n=e.length,r=t.length,o=n>r?t:e,i=Math.min(n,r),a=o[i-1]||{color:[0,0,0,0],offset:0},s=i;s<Math.max(n,r);s++)o.push({offset:a.offset,color:a.color.slice()})}function g(e,t,n){var r=e,o=t;if(r.push&&o.push){var i=r.length,a=o.length;if(i!==a)if(i>a)r.length=a;else for(var s=i;s<a;s++)r.push(1===n?o[s]:u.call(o[s]));var l=r[0]&&r[0].length;for(s=0;s<r.length;s++)if(1===n)isNaN(r[s])&&(r[s]=o[s]);else for(var c=0;c<l;c++)isNaN(r[s][c])&&(r[s][c]=o[s][c])}}function A(e){if((0,i.isArrayLike)(e)){var t=e.length;if((0,i.isArrayLike)(e[0])){for(var n=[],r=0;r<t;r++)n.push(u.call(e[r]));return n}return u.call(e)}return e}function v(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=null==e[3]?1:e[3],"rgba("+e.join(",")+")"}function y(e){return 4===e||5===e}function O(e){return 1===e||2===e}var b=[0,0,0,0],w=function(){function e(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(e,t,n){this._needsSort=!0;var r=this.keyframes,s=r.length,u=!1,d=6,f=t;if((0,i.isArrayLike)(t)){var h=function(e){return(0,i.isArrayLike)(e&&e[0])?2:1}(t);d=h,(1===h&&!(0,i.isNumber)(t[0])||2===h&&!(0,i.isNumber)(t[0][0]))&&(u=!0)}else if((0,i.isNumber)(t)&&!(0,i.eqNaN)(t))d=0;else if((0,i.isString)(t))if(isNaN(+t)){var p=l.parse(t);p&&(f=p,d=3)}else d=0;else if((0,i.isGradientObject)(t)){var m=(0,i.extend)({},f);m.colorStops=(0,i.map)(t.colorStops,(function(e){return{offset:e.offset,color:l.parse(e.color)}})),(0,c.OS)(t)?d=4:(0,c.OH)(t)&&(d=5),f=m}0===s?this.valType=d:d===this.valType&&6!==d||(u=!0),this.discrete=this.discrete||u;var g={time:e,value:f,rawValue:t,percent:0};return n&&(g.easing=n,g.easingFunc=(0,i.isFunction)(n)?n:o[n]||(0,a.w)(n)),r.push(g),g},e.prototype.prepare=function(e,t){var n=this.keyframes;this._needsSort&&n.sort((function(e,t){return e.time-t.time}));for(var r=this.valType,o=n.length,i=n[o-1],a=this.discrete,s=O(r),l=y(r),c=0;c<o;c++){var u=n[c],d=u.value,f=i.value;u.percent=u.time/e,a||(s&&c!==o-1?g(d,f,r):l&&m(d.colorStops,f.colorStops))}if(!a&&5!==r&&t&&this.needsAnimate()&&t.needsAnimate()&&r===t.valType&&!t._finished){this._additiveTrack=t;var A=n[0].value;for(c=0;c<o;c++)0===r?n[c].additiveValue=n[c].value-A:3===r?n[c].additiveValue=h([],n[c].value,A,-1):O(r)&&(n[c].additiveValue=1===r?h([],n[c].value,A,-1):p([],n[c].value,A,-1))}},e.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,r,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,c=this.keyframes,u=c.length,h=this.propName,p=3===l,m=this._lastFr,g=Math.min;if(1===u)r=o=c[0];else{if(t<0)n=0;else if(t<this._lastFrP){for(n=g(m+1,u-1);n>=0&&!(c[n].percent<=t);n--);n=g(n,u-2)}else{for(n=m;n<u&&!(c[n].percent>t);n++);n=g(n-1,u-2)}o=c[n+1],r=c[n]}if(r&&o){this._lastFr=n,this._lastFrP=t;var A=o.percent-r.percent,w=0===A?1:g((t-r.percent)/A,1);o.easingFunc&&(w=o.easingFunc(w));var _=a?this._additiveValue:p?b:e[h];if(!O(l)&&!p||_||(_=this._additiveValue=[]),this.discrete)e[h]=w<1?r.rawValue:o.rawValue;else if(O(l))1===l?f(_,r[s],o[s],w):function(e,t,n,r){for(var o=t.length,i=o&&t[0].length,a=0;a<o;a++){e[a]||(e[a]=[]);for(var s=0;s<i;s++)e[a][s]=d(t[a][s],n[a][s],r)}}(_,r[s],o[s],w);else if(y(l)){var x=r[s],S=o[s],k=4===l;e[h]={type:k?"linear":"radial",x:d(x.x,S.x,w),y:d(x.y,S.y,w),colorStops:(0,i.map)(x.colorStops,(function(e,t){var n=S.colorStops[t];return{offset:d(e.offset,n.offset,w),color:v(f([],e.color,n.color,w))}})),global:S.global},k?(e[h].x2=d(x.x2,S.x2,w),e[h].y2=d(x.y2,S.y2,w)):e[h].r=d(x.r,S.r,w)}else if(p)f(_,r[s],o[s],w),a||(e[h]=v(_));else{var C=d(r[s],o[s],w);a?this._additiveValue=C:e[h]=C}a&&this._addToTarget(e)}}},e.prototype._addToTarget=function(e){var t=this.valType,n=this.propName,r=this._additiveValue;0===t?e[n]=e[n]+r:3===t?(l.parse(e[n],b),h(b,b,r,1),e[n]=v(b)):1===t?h(e[n],e[n],r,1):2===t&&p(e[n],e[n],r,1)},e}(),_=function(){function e(e,t,n,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&r?(0,i.logError)("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=n)}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(e){this._target=e},e.prototype.when=function(e,t,n){return this.whenWithKeys(e,t,(0,i.keys)(t),n)},e.prototype.whenWithKeys=function(e,t,n,r){for(var o=this._tracks,i=0;i<n.length;i++){var a=n[i],s=o[a];if(!s){s=o[a]=new w(a);var l=void 0,c=this._getAdditiveTrack(a);if(c){var u=c.keyframes,d=u[u.length-1];l=d&&d.value,3===c.valType&&l&&(l=v(l))}else l=this._target[a];if(null==l)continue;e>0&&s.addKeyframe(0,A(l),r),this._trackKeys.push(a)}s.addKeyframe(e,A(t[a]),r)}return this._maxTime=Math.max(this._maxTime,e),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,n=0;n<t;n++)e[n].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,t=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,t)for(var n=0;n<t.length;n++)t[n].call(this)},e.prototype._setTracksFinished=function(){for(var e=this._tracks,t=this._trackKeys,n=0;n<t.length;n++)e[t[n]].setFinished()},e.prototype._getAdditiveTrack=function(e){var t,n=this._additiveAnimators;if(n)for(var r=0;r<n.length;r++){var o=n[r].getTrack(e);o&&(t=o)}return t},e.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var t=this,n=[],r=this._maxTime||0,o=0;o<this._trackKeys.length;o++){var i=this._trackKeys[o],a=this._tracks[i],l=this._getAdditiveTrack(i),c=a.keyframes,u=c.length;if(a.prepare(r,l),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var d=c[u-1];d&&(t._target[a.propName]=d.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var f=new s({life:r,loop:this._loop,delay:this._delay||0,onframe:function(e){t._started=2;var r=t._additiveAnimators;if(r){for(var o=!1,i=0;i<r.length;i++)if(r[i]._clip){o=!0;break}o||(t._additiveAnimators=null)}for(i=0;i<n.length;i++)n[i].step(t._target,e);var a=t._onframeCbs;if(a)for(i=0;i<a.length;i++)a[i](t._target,e)},ondestroy:function(){t._doneCallback()}});this._clip=f,this.animation&&this.animation.addClip(f),e&&f.setEasing(e)}else this._doneCallback();return this}},e.prototype.stop=function(e){if(this._clip){var t=this._clip;e&&t.onframe(1),this._abortedCallback()}},e.prototype.delay=function(e){return this._delay=e,this},e.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},e.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},e.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(e){return this._tracks[e]},e.prototype.getTracks=function(){var e=this;return(0,i.map)(this._trackKeys,(function(t){return e._tracks[t]}))},e.prototype.stopTracks=function(e,t){if(!e.length||!this._clip)return!0;for(var n=this._tracks,r=this._trackKeys,o=0;o<e.length;o++){var i=n[e[o]];i&&!i.isFinished()&&(t?i.step(this._target,1):1===this._started&&i.step(this._target,0),i.setFinished())}var a=!0;for(o=0;o<r.length;o++)if(!n[r[o]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},e.prototype.saveTo=function(e,t,n){if(e){t=t||this._trackKeys;for(var r=0;r<t.length;r++){var o=t[r],i=this._tracks[o];if(i&&!i.isFinished()){var a=i.keyframes,s=a[n?0:a.length-1];s&&(e[o]=A(s.rawValue))}}}},e.prototype.__changeFinalValue=function(e,t){t=t||(0,i.keys)(e);for(var n=0;n<t.length;n++){var r=t[n],o=this._tracks[r];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,e[r]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},e}()},77347:function(e,t,n){"use strict";var r=n(43724),o=n(69565),i=n(48773),a=n(6980),s=n(25397),l=n(56969),c=n(39297),u=n(35917),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},77500:function(e,t,n){"use strict";var r=n(66318);t.A=function(e,t,n){var o=null==e?void 0:(0,r.A)(e,t);return void 0===o?n:o}},77629:function(e,t,n){"use strict";var r=n(96395),o=n(44576),i=n(39433),a="__core-js_shared__",s=e.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.41.0",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"})},77740:function(e,t,n){"use strict";var r=n(39297),o=n(35031),i=n(77347),a=n(24913);e.exports=function(e,t,n){for(var s=o(t),l=a.f,c=i.f,u=0;u<s.length;u++){var d=s[u];r(e,d)||n&&r(n,d)||l(e,d,c(t,d))}}},77811:function(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},77864:function(e,t,n){var r=n(79135),o=n(2801);e.exports=function(e){return!o(e)&&!isNaN(e)&&!r(e)&&e%1==0}},77918:function(e,t,n){"use strict";n.d(t,{s:function(){return z}});var r=n(61431),o=n(21857),i=n(28224),a=n(12273),s=n(91361),l=n(48548),c=n(15378),u=n(78396),d=n(81531),f=n(53344);const h="_trap-focus-children",p=[],m=e=>{if(0===p.length)return;const t=p[p.length-1][h];if(t.length>0&&e.code===f.R.tab){if(1===t.length)return e.preventDefault(),void(document.activeElement!==t[0]&&t[0].focus());const n=e.shiftKey,r=e.target===t[0],o=e.target===t[t.length-1];r&&n&&(e.preventDefault(),t[t.length-1].focus()),o&&!n&&(e.preventDefault(),t[0].focus())}},g={beforeMount(e){e[h]=(0,d.uG)(e),p.push(e),p.length<=1&&document.addEventListener("keydown",m)},updated(e){(0,r.nextTick)((()=>{e[h]=(0,d.uG)(e)}))},unmounted(){p.shift(),0===p.length&&document.removeEventListener("keydown",m)}};var A=n(25343),v=n(62298),y=n(22974),O=n(77010),b=n(50180),w=n(90033),_=n(16908),x=n(42757);const S=(0,r.defineComponent)({name:"ElMessageBox",directives:{TrapFocus:g},components:{ElButton:o.S2,ElFocusTrap:c.A,ElInput:i.WK,ElOverlay:a._q,ElIcon:s.tk,...A.Nk},inheritAttrs:!1,props:{buttonSize:{type:String,validator:v.x},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:o,ns:i,size:a}=(0,y.ht)("message-box",(0,r.computed)((()=>e.buttonSize))),{t:s}=n,{nextZIndex:c}=o,u=(0,r.ref)(!1),d=(0,r.reactive)({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:(0,r.markRaw)(l.Loading),cancelButtonLoadingIcon:(0,r.markRaw)(l.Loading),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:c()}),f=(0,r.computed)((()=>{const e=d.type;return{[i.bm("icon",e)]:e&&A.rz[e]}})),h=(0,O.Bi)(),p=(0,O.Bi)(),m=(0,r.computed)((()=>{const e=d.type;return d.icon||e&&A.rz[e]||""})),g=(0,r.computed)((()=>!!d.message)),v=(0,r.ref)(),S=(0,r.ref)(),k=(0,r.ref)(),C=(0,r.ref)(),B=(0,r.ref)(),Q=(0,r.computed)((()=>d.confirmButtonClass));(0,r.watch)((()=>d.inputValue),(async t=>{await(0,r.nextTick)(),"prompt"===e.boxType&&t&&R()}),{immediate:!0}),(0,r.watch)((()=>u.value),(t=>{var n,o;t&&("prompt"!==e.boxType&&(d.autofocus?k.value=null!=(o=null==(n=B.value)?void 0:n.$el)?o:v.value:k.value=v.value),d.zIndex=c()),"prompt"===e.boxType&&(t?(0,r.nextTick)().then((()=>{var e;C.value&&C.value.$el&&(d.autofocus?k.value=null!=(e=D())?e:v.value:k.value=v.value)})):(d.editorErrorMessage="",d.validateError=!1))}));const T=(0,r.computed)((()=>e.draggable)),E=(0,r.computed)((()=>e.overflow));function P(){u.value&&(u.value=!1,(0,r.nextTick)((()=>{d.action&&t("action",d.action)})))}(0,b.P)(v,S,T,E),(0,r.onMounted)((async()=>{await(0,r.nextTick)(),e.closeOnHashChange&&window.addEventListener("hashchange",P)})),(0,r.onBeforeUnmount)((()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",P)}));const $=()=>{e.closeOnClickModal&&z(d.distinguishCancelAndClose?"close":"cancel")},M=(0,x.r)($),z=t=>{var n;("prompt"!==e.boxType||"confirm"!==t||R())&&(d.action=t,d.beforeClose?null==(n=d.beforeClose)||n.call(d,t,d,P):P())},R=()=>{if("prompt"===e.boxType){const e=d.inputPattern;if(e&&!e.test(d.inputValue||""))return d.editorErrorMessage=d.inputErrorMessage||s("el.messagebox.error"),d.validateError=!0,!1;const t=d.inputValidator;if((0,w.Tn)(t)){const e=t(d.inputValue);if(!1===e)return d.editorErrorMessage=d.inputErrorMessage||s("el.messagebox.error"),d.validateError=!0,!1;if((0,w.Kg)(e))return d.editorErrorMessage=e,d.validateError=!0,!1}}return d.editorErrorMessage="",d.validateError=!1,!0},D=()=>{var e,t;const n=null==(e=C.value)?void 0:e.$refs;return null!=(t=null==n?void 0:n.input)?t:null==n?void 0:n.textarea},I=()=>{z("close")};return e.lockScroll&&(0,_.t)(u),{...(0,r.toRefs)(d),ns:i,overlayEvent:M,visible:u,hasMessage:g,typeClass:f,contentId:h,inputId:p,btnSize:a,iconComponent:m,confirmButtonClasses:Q,rootRef:v,focusStartRef:k,headerRef:S,inputRef:C,confirmRef:B,doClose:P,handleClose:I,onCloseRequested:()=>{e.closeOnPressEscape&&I()},handleWrapperClick:$,handleInputEnter:e=>{if("textarea"!==d.inputType)return e.preventDefault(),z("confirm")},handleAction:z,t:s}}});var k=(0,u.A)(S,[["render",function(e,t,n,o,i,a){const s=(0,r.resolveComponent)("el-icon"),l=(0,r.resolveComponent)("el-input"),c=(0,r.resolveComponent)("el-button"),u=(0,r.resolveComponent)("el-focus-trap"),d=(0,r.resolveComponent)("el-overlay");return(0,r.openBlock)(),(0,r.createBlock)(r.Transition,{name:"fade-in-linear",onAfterLeave:t=>e.$emit("vanish"),persisted:""},{default:(0,r.withCtx)((()=>[(0,r.withDirectives)((0,r.createVNode)(d,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:(0,r.withCtx)((()=>[(0,r.createElementVNode)("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:(0,r.normalizeClass)(`${e.ns.namespace.value}-overlay-message-box`),onClick:e.overlayEvent.onClick,onMousedown:e.overlayEvent.onMousedown,onMouseup:e.overlayEvent.onMouseup},[(0,r.createVNode)(u,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:(0,r.withCtx)((()=>[(0,r.createElementVNode)("div",{ref:"rootRef",class:(0,r.normalizeClass)([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),{[e.ns.m("center")]:e.center}]),style:(0,r.normalizeStyle)(e.customStyle),tabindex:"-1",onClick:(0,r.withModifiers)((()=>{}),["stop"])},[null!==e.title&&void 0!==e.title?((0,r.openBlock)(),(0,r.createElementBlock)("div",{key:0,ref:"headerRef",class:(0,r.normalizeClass)([e.ns.e("header"),{"show-close":e.showClose}])},[(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(e.ns.e("title"))},[e.iconComponent&&e.center?((0,r.openBlock)(),(0,r.createBlock)(s,{key:0,class:(0,r.normalizeClass)([e.ns.e("status"),e.typeClass])},{default:(0,r.withCtx)((()=>[((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(e.iconComponent)))])),_:1},8,["class"])):(0,r.createCommentVNode)("v-if",!0),(0,r.createElementVNode)("span",null,(0,r.toDisplayString)(e.title),1)],2),e.showClose?((0,r.openBlock)(),(0,r.createElementBlock)("button",{key:0,type:"button",class:(0,r.normalizeClass)(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:t=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),onKeydown:(0,r.withKeys)((0,r.withModifiers)((t=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),["prevent"]),["enter"])},[(0,r.createVNode)(s,{class:(0,r.normalizeClass)(e.ns.e("close"))},{default:(0,r.withCtx)((()=>[((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(e.closeIcon||"close")))])),_:1},8,["class"])],42,["aria-label","onClick","onKeydown"])):(0,r.createCommentVNode)("v-if",!0)],2)):(0,r.createCommentVNode)("v-if",!0),(0,r.createElementVNode)("div",{id:e.contentId,class:(0,r.normalizeClass)(e.ns.e("content"))},[(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?((0,r.openBlock)(),(0,r.createBlock)(s,{key:0,class:(0,r.normalizeClass)([e.ns.e("status"),e.typeClass])},{default:(0,r.withCtx)((()=>[((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(e.iconComponent)))])),_:1},8,["class"])):(0,r.createCommentVNode)("v-if",!0),e.hasMessage?((0,r.openBlock)(),(0,r.createElementBlock)("div",{key:1,class:(0,r.normalizeClass)(e.ns.e("message"))},[(0,r.renderSlot)(e.$slots,"default",{},(()=>[e.dangerouslyUseHTMLString?((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0},{default:(0,r.withCtx)((()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.dangerouslyUseHTMLString?"":e.message),1)])),_:1},8,["for"]))]))],2)):(0,r.createCommentVNode)("v-if",!0)],2),(0,r.withDirectives)((0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(e.ns.e("input"))},[(0,r.createVNode)(l,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t=>e.inputValue=t,type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:(0,r.normalizeClass)({invalid:e.validateError}),onKeydown:(0,r.withKeys)(e.handleInputEnter,["enter"])},null,8,["id","modelValue","onUpdate:modelValue","type","placeholder","aria-invalid","class","onKeydown"]),(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(e.ns.e("errormsg")),style:(0,r.normalizeStyle)({visibility:e.editorErrorMessage?"visible":"hidden"})},(0,r.toDisplayString)(e.editorErrorMessage),7)],2),[[r.vShow,e.showInput]])],10,["id"]),(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(e.ns.e("btns"))},[e.showCancelButton?((0,r.openBlock)(),(0,r.createBlock)(c,{key:0,loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:(0,r.normalizeClass)([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t=>e.handleAction("cancel"),onKeydown:(0,r.withKeys)((0,r.withModifiers)((t=>e.handleAction("cancel")),["prevent"]),["enter"])},{default:(0,r.withCtx)((()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.cancelButtonText||e.t("el.messagebox.cancel")),1)])),_:1},8,["loading","loading-icon","class","round","size","onClick","onKeydown"])):(0,r.createCommentVNode)("v-if",!0),(0,r.withDirectives)((0,r.createVNode)(c,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:(0,r.normalizeClass)([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t=>e.handleAction("confirm"),onKeydown:(0,r.withKeys)((0,r.withModifiers)((t=>e.handleAction("confirm")),["prevent"]),["enter"])},{default:(0,r.withCtx)((()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.confirmButtonText||e.t("el.messagebox.confirm")),1)])),_:1},8,["loading","loading-icon","class","round","disabled","size","onClick","onKeydown"]),[[r.vShow,e.showConfirmButton]])],2)],14,["onClick"])])),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,["aria-label","aria-describedby","onClick","onMousedown","onMouseup"])])),_:3},8,["z-index","overlay-class","mask"]),[[r.vShow,e.visible]])])),_:3},8,["onAfterLeave"])}],["__file","index.vue"]]),C=n(22720),B=n(2154),Q=n(41651);const T=new Map,E=(e,t)=>{const n=document.createElement("div");e.onVanish=()=>{(0,r.render)(null,n),T.delete(i)},e.onAction=t=>{const n=T.get(i);let r;r=e.showInput?{value:i.inputValue,action:t}:t,e.callback?e.callback(r,o.proxy):"cancel"===t||"close"===t?e.distinguishCancelAndClose&&"cancel"!==t?n.reject("close"):n.reject("cancel"):n.resolve(r)};const o=((e,t,n=null)=>{const o=(0,r.createVNode)(k,e,(0,w.Tn)(e.message)||(0,r.isVNode)(e.message)?{default:(0,w.Tn)(e.message)?e.message:()=>e.message}:null);return o.appContext=n,(0,r.render)(o,t),(e=>{let t=document.body;return e.appendTo&&((0,w.Kg)(e.appendTo)&&(t=document.querySelector(e.appendTo)),(0,B.vq)(e.appendTo)&&(t=e.appendTo),(0,B.vq)(t)||((0,Q.U)("ElMessageBox","the appendTo option is not an HTMLElement. Falling back to document.body."),t=document.body)),t})(e).appendChild(t.firstElementChild),o.component})(e,n,t),i=o.proxy;for(const t in e)(0,w.$3)(e,t)&&!(0,w.$3)(i.$props,t)&&("closeIcon"===t&&(0,w.Gv)(e[t])?i[t]=(0,r.markRaw)(e[t]):i[t]=e[t]);return i.visible=!0,i};function P(e,t=null){if(!C.oc)return Promise.reject();let n;return(0,w.Kg)(e)||(0,r.isVNode)(e)?e={message:e}:n=e.callback,new Promise(((r,o)=>{const i=E(e,null!=t?t:P._context);T.set(i,{options:e,callback:n,resolve:r,reject:o})}))}const $={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};["alert","confirm","prompt"].forEach((e=>{P[e]=function(e){return(t,n,r,o)=>{let i="";return(0,w.Gv)(n)?(r=n,i=""):i=(0,B.b0)(n)?"":n,P(Object.assign({title:i,message:t,type:"",...$[e]},r,{boxType:e}),o)}}(e)})),P.close=()=>{T.forEach(((e,t)=>{t.doClose()})),T.clear()},P._context=null;const M=P;M.install=e=>{M._context=e._context,e.config.globalProperties.$msgbox=M,e.config.globalProperties.$messageBox=M,e.config.globalProperties.$alert=M.alert,e.config.globalProperties.$confirm=M.confirm,e.config.globalProperties.$prompt=M.prompt};const z=M},77936:function(e,t,n){"use strict";var r=n(46518),o=n(95636);o&&r({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return o(this,arguments.length?arguments[0]:void 0,!1)}})},78055:function(e,t,n){"use strict";n.d(t,{J:function(){return y}});var r=n(15874),o=n(80441),i=n(89862),a=n(43720),s=n(90365),l=n(48820);const c=l.U1.deserialize({version:14,states:"%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",stateData:"$g~OjOS~OQROUROkQO~OWTOXUOZUO`VO~OSXOTWO~OXUO[]OlZO~OY^O~O[_O~OT`O~OYaO~OmcOodO~OmfOogO~O^iOnhO~O_jOphO~ObkOqkOrmO~OcnOsnOtmO~OnpO~OppO~ObkOqkOrrO~OcnOsnOtrO~OWX`~",goto:"!^hPPPiPPPPPPPPPmPPPpPPsy!Q!WTROSRe]Re_QSORYSS[T^Rb[QlfRqlQogRso",nodeNames:"⚠ Content Text Interpolation InterpolationContent }} Entity Attribute VueAttributeName : Identifier @ Is ScriptAttributeValue AttributeScript AttributeScript AttributeName AttributeValue Entity Entity",maxTerm:36,nodeProps:[["isolate",-3,3,13,17,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"'y~RdXY!aYZ!a]^!apq!ars!rwx!w}!O!|!O!P#t!Q![#y![!]$s!_!`%g!b!c%l!c!}#y#R#S#y#T#j#y#j#k%q#k#o#y%W;'S#y;'S;:j$m<%lO#y~!fSj~XY!aYZ!a]^!apq!a~!wOm~~!|Oo~!b#RX`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|!b#qP;=`<%l!|~#yOl~%W$QXY#t`!b}!O!|!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y%W$pP;=`<%l#y~$zXX~`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|~%lO[~~%qOZ~%W%xXY#t`!b}!O&e!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y!b&jX`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|!b'^XW!b`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|",tokenizers:[6,7,new l.uC("b~RP#q#rU~XP#q#r[~aOT~~",17,4),new l.uC("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~",72,2),new l.uC("[~RPwxU~ZOp~~",11,15),new l.uC("[~RPrsU~ZOn~~",11,14),new l.uC("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~",66,35),new l.uC("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~",66,33)],topRules:{Content:[0,1],Attribute:[1,7]},tokenPrec:157}),u=i.o$.parser.configure({top:"SingleExpression"}),d=c.configure({props:[(0,a.pn)({Text:a._A.content,Is:a._A.definitionOperator,AttributeName:a._A.attributeName,VueAttributeName:a._A.keyword,Identifier:a._A.variableName,"AttributeValue ScriptAttributeValue":a._A.attributeValue,Entity:a._A.character,"{{ }}":a._A.brace,"@ :":a._A.punctuation})]}),f={parser:u},h={parser:d.configure({wrap:(0,s.$g)(((e,t)=>"InterpolationContent"==e.name?f:null))})},p={parser:d.configure({wrap:(0,s.$g)(((e,t)=>"AttributeScript"==e.name?f:null)),top:"Attribute"})},m=(0,o.qy)();function g(e){return e.configure({dialect:"selfClosing",wrap:(0,s.$g)(v)},"vue")}const A=g(m.language);function v(e,t){switch(e.name){case"Attribute":return/^(@|:|v-)/.test(t.read(e.from,e.from+2))?p:null;case"Text":return h}return null}function y(e={}){let t=m;if(e.base){if("html"!=e.base.language.name||!(e.base.language instanceof r.bj))throw new RangeError("The base option must be the result of calling html(...)");t=e.base}return new r.Yy(t.language==m.language?A:g(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["{",'"']}})])}},78100:function(e,t,n){"use strict";var r=n(46518),o=n(95636);o&&r({target:"ArrayBuffer",proto:!0},{transfer:function(){return o(this,arguments.length?arguments[0]:void 0,!0)}})},78227:function(e,t,n){"use strict";var r=n(44576),o=n(25745),i=n(39297),a=n(33392),s=n(4495),l=n(7040),c=r.Symbol,u=o("wks"),d=l?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return i(u,e)||(u[e]=s&&i(c,e)?c[e]:d("Symbol."+e)),u[e]}},78259:function(e,t,n){var r=n(73971),o=typeof document===r?0:document;e.exports=o},78396:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var r=(e,t)=>{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n}},78982:function(e,t,n){"use strict";var r=n(798),o=n(24993),i=n(68142),a=n(4094),s=n(53389),l=n(35390),c=n(95932),u=n(50480),d=n(63205),f=n(68772),h=n(96430),p=n(41982),m=n(41769),g=n(76057),A=n(89528),v=n(67973),y=n(98527),O=n(95423),b=n(57478),w=n(51780),_=n(83234),x=n(55392),S=n(97205),k=n(59171),C=n(15651),B=n(3354),Q=n(13702),T=n(16851),E=n(23193),P=n(85860),$=n(32902),M=n(82476),z=n(20495),R=n(67740),D=n(98580),I=n(26988),N=n(59947),L=n(29869),V=n(38912),U=n(59154),F=n(1400),H=n(18346),W=n(66074),X=n(69821),j=n(79135),q=n(2801),Z=n(46883),Y=n(10906),G=n(53848),K=n(70111),J=n(74409),ee=n(54477),te=n(55623),ne=n(6060),re=n(60843),oe=n(35657),ie=n(13816),ae=n(71048),se=n(12407),le=n(51815),ce=n(13908),ue=n(40870),de=n(83515),fe=n(35055),he=n(31737),pe=n(44832),me=n(33255),ge=n(46059),Ae=n(41820),ve=n(77864),ye=n(41626),Oe=n(89093),be=n(2121),we=n(91944),_e=n(33040),xe=n(63103),Se=n(50288),ke=n(42106),Ce=n(89942),Be=n(42217),Qe=n(17304),Te=n(29314),Ee=n(3992),Pe=n(29468),$e=n(22946),Me=n(9310),ze=n(40499),Re=n(7586),De=n(23806),Ie=n(65114),Ne=n(53954),Le=n(17186),Ve=n(93250),Ue=n(87314),Fe=n(5678),He=n(92238),We=n(96661),Xe=n(93701),je=n(21640),qe=n(55644),Ze=n(2950),Ye=n(29650),Ge=n(92126),Ke=n(15580),Je=n(49476),et=n(9915),tt=n(23565),nt=n(98927),rt=n(89028),ot=n(51850),it=n(56992),at=n(28966),st=n(2721),lt=n(49248),ct=n(539),ut=n(58251),dt=n(59988),ft=n(99917),ht=n(22997),pt=n(63336),mt=n(69156),gt=n(73217),At=n(74933),vt=n(24237),yt=n(50281),Ot=n(25682),bt=n(38588),wt=n(39852),_t=n(53876),xt=n(34860),St=n(26642),kt=n(80046),Ct=n(35224),Bt=n(76002),Qt=n(56816),Tt=n(8557),Et=n(74251),Pt=n(17674),$t=n(38910),Mt=n(79861),zt=n(84253),Rt=n(45222),Dt=n(40699),It=n(84815),Nt=n(35508),Lt=n(72832),Vt=n(13369),Ut=n(69119),Ft=n(31800),Ht=n(79824),Wt=n(80399),Xt=n(79449),jt=n(50322),qt=n(71582),Zt=n(27715),Yt=n(40481),Gt=n(25872),Kt=n(54529),Jt=n(73223),en=n(20037),tn=n(15588),nn=n(96711),rn=n(12116),on=n(44155),an=n(57625),sn=n(64449),ln=n(10224),cn=n(69288),un=n(61422),dn=n(73537),fn=n(65746);o(r,{assign:o,objectEach:i,lastObjectEach:a,objectMap:s,merge:l,uniq:m,union:g,sortBy:v,orderBy:y,shuffle:O,sample:b,some:u,every:d,slice:w,filter:_,find:k,findLast:C,findKey:x,includes:S,arrayIndexOf:H,arrayLastIndexOf:W,map:c,reduce:B,copyWithin:Q,chunk:T,zip:E,unzip:P,zipObject:$,flatten:M,toArray:A,includeArrays:f,pluck:z,invoke:R,arrayEach:h,lastArrayEach:p,toArrayTree:D,toTreeArray:I,findTree:N,eachTree:L,mapTree:V,filterTree:U,searchTree:F,hasOwnProp:X,eqNull:re,isNaN:Z,isFinite:ge,isUndefined:Y,isArray:j,isFloat:Ae,isInteger:ve,isFunction:G,isBoolean:ye,isString:J,isNumber:Oe,isRegExp:be,isObject:K,isPlainObject:ee,isDate:ne,isError:we,isTypeError:_e,isEmpty:xe,isNull:q,isSymbol:Se,isArguments:ke,isElement:Ce,isDocument:Be,isWindow:Qe,isFormData:Te,isMap:Ee,isWeakMap:Pe,isSet:$e,isWeakSet:Me,isLeapYear:te,isMatch:ze,isEqual:Re,isEqualWith:De,getType:Ie,uniqueId:Ne,getSize:fe,indexOf:se,lastIndexOf:le,findIndexOf:Le,findLastIndexOf:Ve,toStringJSON:Ue,toJSONString:Fe,keys:ce,values:ue,entries:He,pick:We,omit:Xe,first:je,last:qe,each:oe,forOf:ie,lastForOf:ae,lastEach:he,has:Ze,get:Ye,set:Ge,groupBy:Ke,countBy:Je,clone:de,clear:me,remove:pe,range:et,destructuring:tt,random:nt,min:ot,max:rt,commafy:it,round:at,ceil:st,floor:lt,toFixed:ct,toNumber:dt,toNumberString:ft,toInteger:ut,add:ht,subtract:pt,multiply:mt,divide:gt,sum:At,mean:vt,now:St,timestamp:kt,isValidDate:Ct,isDateSame:Bt,toStringDate:_t,toDateString:xt,getWhatYear:yt,getWhatQuarter:Ot,getWhatMonth:bt,getWhatWeek:Qt,getWhatDay:wt,getYearDay:Tt,getYearWeek:Et,getMonthWeek:Pt,getDayOfYear:$t,getDayOfMonth:Mt,getDateDiff:zt,trim:Nt,trimLeft:Vt,trimRight:Lt,escape:Ut,unescape:Ft,camelCase:Ht,kebabCase:Wt,repeat:It,padStart:Dt,padEnd:Rt,startsWith:Xt,endsWith:jt,template:qt,toFormatString:Zt,toString:Yt,toValueString:Yt,noop:Gt,property:Kt,bind:Jt,once:en,after:tn,before:nn,throttle:rn,debounce:on,delay:an,unserialize:sn,serialize:ln,parseUrl:cn,getBaseURL:un,locat:dn,browse:n(47998),cookie:fn}),e.exports=r},79039:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},79118:function(e){var t;e.exports=function(){function e(e){this.mode=r.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,n=this.data.length;t<n;t++){var o=[],i=this.data.charCodeAt(t);i>65536?(o[0]=240|(1835008&i)>>>18,o[1]=128|(258048&i)>>>12,o[2]=128|(4032&i)>>>6,o[3]=128|63&i):i>2048?(o[0]=224|(61440&i)>>>12,o[1]=128|(4032&i)>>>6,o[2]=128|63&i):i>128?(o[0]=192|(1984&i)>>>6,o[1]=128|63&i):o[0]=i,this.parsedData.push(o)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function n(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}e.prototype={getLength:function(e){return this.parsedData.length},write:function(e){for(var t=0,n=this.parsedData.length;t<n;t++)e.put(this.parsedData[t],8)}},n.prototype={addData:function(t){var n=new e(t);this.dataList.push(n),this.dataCache=null},isDark:function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var o=0;o<this.moduleCount;o++)this.modules[r][o]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=n.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},getBestMaskPattern:function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=a.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},createMovieClip:function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var o=0;o<this.modules.length;o++)for(var i=1*o,a=0;a<this.modules[o].length;a++){var s=1*a;this.modules[o][a]&&(r.beginFill(0,100),r.moveTo(s,i),r.lineTo(s+1,i),r.lineTo(s+1,i+1),r.lineTo(s,i+1),r.endFill())}return r},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},setupPositionAdjustPattern:function(){for(var e=a.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],o=e[n];if(null==this.modules[r][o])for(var i=-2;i<=2;i++)for(var s=-2;s<=2;s++)this.modules[r+i][o+s]=-2==i||2==i||-2==s||2==s||0==i&&0==s}},setupTypeNumber:function(e){for(var t=a.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++)r=!e&&1==(t>>n&1),this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r},setupTypeInfo:function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=a.getBCHTypeInfo(n),o=0;o<15;o++){var i=!e&&1==(r>>o&1);o<6?this.modules[o][8]=i:o<8?this.modules[o+1][8]=i:this.modules[this.moduleCount-15+o][8]=i}for(o=0;o<15;o++)i=!e&&1==(r>>o&1),o<8?this.modules[8][this.moduleCount-o-1]=i:o<9?this.modules[8][15-o-1+1]=i:this.modules[8][15-o-1]=i;this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var n=-1,r=this.moduleCount-1,o=7,i=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var l=0;l<2;l++)if(null==this.modules[r][s-l]){var c=!1;i<e.length&&(c=1==(e[i]>>>o&1)),a.getMask(t,r,s-l)&&(c=!c),this.modules[r][s-l]=c,-1==--o&&(i++,o=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}}},n.PAD0=236,n.PAD1=17,n.createData=function(e,t,r){for(var o=u.getRSBlocks(e,t),i=new d,s=0;s<r.length;s++){var l=r[s];i.put(l.mode,4),i.put(l.getLength(),a.getLengthInBits(l.mode,e)),l.write(i)}var c=0;for(s=0;s<o.length;s++)c+=o[s].dataCount;if(i.getLengthInBits()>8*c)throw new Error("code length overflow. ("+i.getLengthInBits()+">"+8*c+")");for(i.getLengthInBits()+4<=8*c&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*c||(i.put(n.PAD0,8),i.getLengthInBits()>=8*c));)i.put(n.PAD1,8);return n.createBytes(i,o)},n.createBytes=function(e,t){for(var n=0,r=0,o=0,i=new Array(t.length),s=new Array(t.length),l=0;l<t.length;l++){var u=t[l].dataCount,d=t[l].totalCount-u;r=Math.max(r,u),o=Math.max(o,d),i[l]=new Array(u);for(var f=0;f<i[l].length;f++)i[l][f]=255&e.buffer[f+n];n+=u;var h=a.getErrorCorrectPolynomial(d),p=new c(i[l],h.getLength()-1).mod(h);for(s[l]=new Array(h.getLength()-1),f=0;f<s[l].length;f++){var m=f+p.getLength()-s[l].length;s[l][f]=m>=0?p.get(m):0}}var g=0;for(f=0;f<t.length;f++)g+=t[f].totalCount;var A=new Array(g),v=0;for(f=0;f<r;f++)for(l=0;l<t.length;l++)f<i[l].length&&(A[v++]=i[l][f]);for(f=0;f<o;f++)for(l=0;l<t.length;l++)f<s[l].length&&(A[v++]=s[l][f]);return A};for(var r={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},o={L:1,M:0,Q:3,H:2},i={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},a={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;a.getBCHDigit(t)-a.getBCHDigit(a.G15)>=0;)t^=a.G15<<a.getBCHDigit(t)-a.getBCHDigit(a.G15);return(e<<10|t)^a.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;a.getBCHDigit(t)-a.getBCHDigit(a.G18)>=0;)t^=a.G18<<a.getBCHDigit(t)-a.getBCHDigit(a.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return a.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case i.PATTERN000:return(t+n)%2==0;case i.PATTERN001:return t%2==0;case i.PATTERN010:return n%3==0;case i.PATTERN011:return(t+n)%3==0;case i.PATTERN100:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case i.PATTERN101:return t*n%2+t*n%3==0;case i.PATTERN110:return(t*n%2+t*n%3)%2==0;case i.PATTERN111:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new c([1],0),n=0;n<e;n++)t=t.multiply(new c([1,s.gexp(n)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r++)for(var o=0;o<t;o++){for(var i=0,a=e.isDark(r,o),s=-1;s<=1;s++)if(!(r+s<0||t<=r+s))for(var l=-1;l<=1;l++)o+l<0||t<=o+l||0==s&&0==l||a==e.isDark(r+s,o+l)&&i++;i>5&&(n+=3+i-5)}for(r=0;r<t-1;r++)for(o=0;o<t-1;o++){var c=0;e.isDark(r,o)&&c++,e.isDark(r+1,o)&&c++,e.isDark(r,o+1)&&c++,e.isDark(r+1,o+1)&&c++,0!=c&&4!=c||(n+=3)}for(r=0;r<t;r++)for(o=0;o<t-6;o++)e.isDark(r,o)&&!e.isDark(r,o+1)&&e.isDark(r,o+2)&&e.isDark(r,o+3)&&e.isDark(r,o+4)&&!e.isDark(r,o+5)&&e.isDark(r,o+6)&&(n+=40);for(o=0;o<t;o++)for(r=0;r<t-6;r++)e.isDark(r,o)&&!e.isDark(r+1,o)&&e.isDark(r+2,o)&&e.isDark(r+3,o)&&e.isDark(r+4,o)&&!e.isDark(r+5,o)&&e.isDark(r+6,o)&&(n+=40);var u=0;for(o=0;o<t;o++)for(r=0;r<t;r++)e.isDark(r,o)&&u++;return n+Math.abs(100*u/t/t-50)/5*10}},s={glog:function(e){if(e<1)throw new Error("glog("+e+")");return s.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return s.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},l=0;l<8;l++)s.EXP_TABLE[l]=1<<l;for(l=8;l<256;l++)s.EXP_TABLE[l]=s.EXP_TABLE[l-4]^s.EXP_TABLE[l-5]^s.EXP_TABLE[l-6]^s.EXP_TABLE[l-8];for(l=0;l<255;l++)s.LOG_TABLE[s.EXP_TABLE[l]]=l;function c(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}function u(e,t){this.totalCount=e,this.dataCount=t}function d(){this.buffer=[],this.length=0}c.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var r=0;r<e.getLength();r++)t[n+r]^=s.gexp(s.glog(this.get(n))+s.glog(e.get(r)));return new c(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=s.glog(this.get(0))-s.glog(e.get(0)),n=new Array(this.getLength()),r=0;r<this.getLength();r++)n[r]=this.get(r);for(r=0;r<e.getLength();r++)n[r]^=s.gexp(s.glog(e.get(r))+t);return new c(n,0).mod(e)}},u.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],u.getRSBlocks=function(e,t){var n=u.getRsBlockTable(e,t);if(null==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,o=[],i=0;i<r;i++)for(var a=n[3*i+0],s=n[3*i+1],l=n[3*i+2],c=0;c<a;c++)o.push(new u(s,l));return o},u.getRsBlockTable=function(e,t){switch(t){case o.L:return u.RS_BLOCK_TABLE[4*(e-1)+0];case o.M:return u.RS_BLOCK_TABLE[4*(e-1)+1];case o.Q:return u.RS_BLOCK_TABLE[4*(e-1)+2];case o.H:return u.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},d.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var f=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function h(){var e=!1,t=navigator.userAgent;if(/android/i.test(t)){e=!0;var n=t.toString().match(/android ([0-9]\.[0-9])/i);n&&n[1]&&(e=parseFloat(n[1]))}return e}var p=function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){var t=this._htOption,n=this._el,r=e.getModuleCount();function o(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg",e);for(var r in t)t.hasOwnProperty(r)&&n.setAttribute(r,t[r]);return n}Math.floor(t.width/r),Math.floor(t.height/r),this.clear();var i=o("svg",{viewBox:"0 0 "+String(r)+" "+String(r),width:"100%",height:"100%",fill:t.colorLight});i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),n.appendChild(i),i.appendChild(o("rect",{fill:t.colorLight,width:"100%",height:"100%"})),i.appendChild(o("rect",{fill:t.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;a<r;a++)for(var s=0;s<r;s++)if(e.isDark(a,s)){var l=o("use",{x:String(s),y:String(a)});l.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),i.appendChild(l)}},e.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},e}(),m="svg"===document.documentElement.tagName.toLowerCase()?p:"undefined"!=typeof CanvasRenderingContext2D?function(){function e(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this._android&&this._android<=2.1){var t=1/window.devicePixelRatio,n=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(e,r,o,i,a,s,l,c,u){if("nodeName"in e&&/img/i.test(e.nodeName))for(var d=arguments.length-1;d>=1;d--)arguments[d]=arguments[d]*t;else void 0===c&&(arguments[1]*=t,arguments[2]*=t,arguments[3]*=t,arguments[4]*=t);n.apply(this,arguments)}}function r(e,t){var n=this;if(n._fFail=t,n._fSuccess=e,null===n._bSupportDataURI){var r=document.createElement("img"),o=function(){n._bSupportDataURI=!1,n._fFail&&n._fFail.call(n)};return r.onabort=o,r.onerror=o,r.onload=function(){n._bSupportDataURI=!0,n._fSuccess&&n._fSuccess.call(n)},void(r.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===n._bSupportDataURI&&n._fSuccess?n._fSuccess.call(n):!1===n._bSupportDataURI&&n._fFail&&n._fFail.call(n)}var o=function(e,t){this._bIsPainted=!1,this._android=h(),this._htOption=t,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=t.width,this._elCanvas.height=t.height,e.appendChild(this._elCanvas),this._el=e,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return o.prototype.draw=function(e){var t=this._elImage,n=this._oContext,r=this._htOption,o=e.getModuleCount(),i=r.width/o,a=r.height/o,s=Math.round(i),l=Math.round(a);t.style.display="none",this.clear();for(var c=0;c<o;c++)for(var u=0;u<o;u++){var d=e.isDark(c,u),f=u*i,h=c*a;n.strokeStyle=d?r.colorDark:r.colorLight,n.lineWidth=1,n.fillStyle=d?r.colorDark:r.colorLight,n.fillRect(f,h,i,a),n.strokeRect(Math.floor(f)+.5,Math.floor(h)+.5,s,l),n.strokeRect(Math.ceil(f)-.5,Math.ceil(h)-.5,s,l)}this._bIsPainted=!0},o.prototype.makeImage=function(){this._bIsPainted&&r.call(this,e)},o.prototype.isPainted=function(){return this._bIsPainted},o.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},o.prototype.round=function(e){return e?Math.floor(1e3*e)/1e3:e},o}():function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){for(var t=this._htOption,n=this._el,r=e.getModuleCount(),o=Math.floor(t.width/r),i=Math.floor(t.height/r),a=['<table style="border:0;border-collapse:collapse;">'],s=0;s<r;s++){a.push("<tr>");for(var l=0;l<r;l++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+o+"px;height:"+i+"px;background-color:"+(e.isDark(s,l)?t.colorDark:t.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),n.innerHTML=a.join("");var c=n.childNodes[0],u=(t.width-c.offsetWidth)/2,d=(t.height-c.offsetHeight)/2;u>0&&d>0&&(c.style.margin=d+"px "+u+"px")},e.prototype.clear=function(){this._el.innerHTML=""},e}();function g(e,t){for(var n=1,r=function(e){var t=encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=e?3:0)}(e),i=0,a=f.length;i<=a;i++){var s=0;switch(t){case o.L:s=f[i][0];break;case o.M:s=f[i][1];break;case o.Q:s=f[i][2];break;case o.H:s=f[i][3]}if(r<=s)break;n++}if(n>f.length)throw new Error("Too long data");return n}return(t=function(e,t){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:o.H},"string"==typeof t&&(t={text:t}),t)for(var n in t)this._htOption[n]=t[n];"string"==typeof e&&(e=document.getElementById(e)),this._htOption.useSVG&&(m=p),this._android=h(),this._el=e,this._oQRCode=null,this._oDrawing=new m(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)}).prototype.makeCode=function(e){this._oQRCode=new n(g(e,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(e),this._oQRCode.make(),this._el.title=e,this._oDrawing.draw(this._oQRCode),this.makeImage()},t.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},t.prototype.clear=function(){this._oDrawing.clear()},t.CorrectLevel=o,t}()},79135:function(e,t,n){var r=n(75526),o=Array.isArray||r("Array");e.exports=o},79306:function(e,t,n){"use strict";var r=n(94901),o=n(16823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},79446:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(98026),o=n(45558);function i(e,t,n){var i=e.get("borderRadius");if(null==i)return n?{cornerRadius:0}:null;(0,r.isArray)(i)||(i=[i,i,i,i]);var a=Math.abs(t.r||0-t.r0||0);return{cornerRadius:(0,r.map)(i,(function(e){return(0,o.lo)(e,a)}))}}},79449:function(e,t,n){var r=n(40481);e.exports=function(e,t,n){var o=r(e);return 0===(1===arguments.length?o:o.substring(n)).indexOf(t)}},79504:function(e,t,n){"use strict";var r=n(40616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},79577:function(e,t,n){"use strict";var r=n(39928),o=n(94644),i=n(18727),a=n(91291),s=n(75854),l=o.aTypedArray,c=o.getTypedArrayConstructor,u=o.exportTypedArrayMethod,d=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();u("with",{with:function(e,t){var n=l(this),o=a(e),u=i(n)?s(t):+t;return r(n,c(n),o,u)}}.with,!d)},79824:function(e,t,n){var r=n(40481),o=n(16134),i=n(27097),a=n(66188),s={};e.exports=function(e){if(e=r(e),s[e])return s[e];var t=e.length,n=e.replace(/([-]+)/g,(function(e,n,r){return r&&r+n.length<t?"-":""}));return t=n.length,n=n.replace(/([A-Z]+)/g,(function(e,n,r){var s=n.length;return n=a(n),r?s>2&&r+s<t?i(o(n,0,1))+o(n,1,s-1)+i(o(n,s-1,s)):i(o(n,0,1))+o(n,1,s):s>1&&r+s<t?o(n,0,s-1)+i(o(n,s-1,s)):n})).replace(/(-[a-zA-Z])/g,(function(e,t){return i(o(t,1,t.length))})),s[e]=n,n}},79861:function(e,t,n){var r=n(21323),o=n(99361),i=n(29599),a=n(48007),s=n(38588),l=n(53876),c=n(35224);e.exports=function(e,t){return e=l(e),c(e)?Math.floor((a(s(e,t,i))-a(s(e,t,o)))/r)+1:NaN}},79869:function(e,t,n){"use strict";n.d(t,{z_:function(){return h}});var r=n(61431),o=n(50819);const i=(0,o.b_)({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:(0,o.jq)([String,Object,Array])},offset:{type:(0,o.jq)(Array),default:[0,0]},badgeClass:{type:String}});var a=n(78396),s=n(65980),l=n(2154),c=n(76031);const u=(0,r.defineComponent)({name:"ElBadge"}),d=(0,r.defineComponent)({...u,props:i,setup(e,{expose:t}){const n=e,o=(0,s.DU)("badge"),i=(0,r.computed)((()=>n.isDot?"":(0,l.Et)(n.value)&&(0,l.Et)(n.max)&&n.max<n.value?`${n.max}+`:`${n.value}`)),a=(0,r.computed)((()=>{var e,t,r,o,i;return[{backgroundColor:n.color,marginRight:(0,c._V)(-(null!=(t=null==(e=n.offset)?void 0:e[0])?t:0)),marginTop:(0,c._V)(null!=(o=null==(r=n.offset)?void 0:r[1])?o:0)},null!=(i=n.badgeStyle)?i:{}]}));return t({content:i}),(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("div",{class:(0,r.normalizeClass)((0,r.unref)(o).b())},[(0,r.renderSlot)(e.$slots,"default"),(0,r.createVNode)(r.Transition,{name:`${(0,r.unref)(o).namespace.value}-zoom-in-center`,persisted:""},{default:(0,r.withCtx)((()=>[(0,r.withDirectives)((0,r.createElementVNode)("sup",{class:(0,r.normalizeClass)([(0,r.unref)(o).e("content"),(0,r.unref)(o).em("content",e.type),(0,r.unref)(o).is("fixed",!!e.$slots.default),(0,r.unref)(o).is("dot",e.isDot),(0,r.unref)(o).is("hide-zero",!e.showZero&&0===n.value),e.badgeClass]),style:(0,r.normalizeStyle)((0,r.unref)(a))},[(0,r.renderSlot)(e.$slots,"content",{value:(0,r.unref)(i)},(()=>[(0,r.createTextVNode)((0,r.toDisplayString)((0,r.unref)(i)),1)]))],6),[[r.vShow,!e.hidden&&((0,r.unref)(i)||e.isDot||e.$slots.content)]])])),_:3},8,["name"])],2))}});var f=(0,a.A)(d,[["__file","badge.vue"]]);const h=(0,n(64769).GU)(f)},79914:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.Env"),n=new RegExp("^"+/(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-+~=.,%()\/\w]*[-+~=%()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g.source+"$","i"),r=function(e){return/^[(\[{ \u00a0]$/.test(e)},o=function(e){return 3===e.nodeType},i=function(e){return 1===e.nodeType},a=function(e,t){if(t<0&&(t=0),o(e)){var n=e.data.length;t>n&&(t=n)}return t},s=function(e,t,n){!i(t)||t.hasChildNodes()?e.setStart(t,a(t,n)):e.setStartBefore(t)},l=function(e,t,n){!i(t)||t.hasChildNodes()?e.setEnd(t,a(t,n)):e.setEndAfter(t)},c=function(e,t){var i,a,c,u,d,f,h,p,m,g=function(e){return e.getParam("autolink_pattern",n)}(e),A=function(e){return e.getParam("default_link_target",!1)}(e);if(null===e.dom.getParent(e.selection.getNode(),"a[href]")){var v=e.selection.getRng().cloneRange();if(v.startOffset<5){if(!(d=v.endContainer.previousSibling)){if(!v.endContainer.firstChild||!v.endContainer.firstChild.nextSibling)return;d=v.endContainer.firstChild.nextSibling}if(f=d.length,s(v,d,f),l(v,d,f),v.endOffset<5)return;i=v.endOffset,a=d}else{if(a=v.endContainer,!o(a)&&a.firstChild){for(;!o(a)&&a.firstChild;)a=a.firstChild;o(a)&&(s(v,a,0),l(v,a,a.nodeValue.length))}i=1===v.endOffset?2:v.endOffset-1-t}var y,O=i;do{s(v,a,i>=2?i-2:0),l(v,a,i>=1?i-1:0),i-=1,h=v.toString()}while(!r(h)&&i-2>=0);r(v.toString())?(s(v,a,i),l(v,a,O),i+=1):0===v.startOffset?(s(v,a,0),l(v,a,O)):(s(v,a,i),l(v,a,O)),y=(u=v.toString()).charAt(u.length-1),/[?!,.;:]/.test(y)&&l(v,a,O-1);var b=(u=v.toString().trim()).match(g),w=function(e){return e.getParam("link_default_protocol","http","string")}(e);if(b){var _=b[0];m="www.",(p=_).length>=4&&p.substr(0,4)===m?_=w+"://"+_:function(e){return-1!==e.indexOf("@")}(_)&&!function(e){return/^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(e)}(_)&&(_="mailto:"+_),c=e.selection.getBookmark(),e.selection.setRng(v),e.execCommand("createlink",!1,_),!1!==A&&e.dom.setAttrib(e.selection.getNode(),"target",A),e.selection.moveToBookmark(c),e.nodeChanged()}}};e.add("autolink",(function(e){!function(e){var n;e.on("keydown",(function(t){if(13===t.keyCode)return function(e){return c(e,-1)}(e)})),t.browser.isIE()?e.on("focus",(function(){if(!n){n=!0;try{e.execCommand("AutoUrlDetect",!1,!0)}catch(e){}}})):(e.on("keypress",(function(t){if(41===t.keyCode||93===t.keyCode||125===t.keyCode)return function(e){return c(e,-1)}(e)})),e.on("keyup",(function(t){if(32===t.keyCode)return function(e){return c(e,0)}(e)})))}(e)}))}()},80046:function(e,t,n){var r=n(48007),o=n(26642),i=n(53876),a=n(6060);e.exports=function(e,t){if(e){var n=i(e,t);return a(n)?r(n):n}return o()}},80127:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(66984),o=function(e,t){for(var n=e.length;n--;)if((0,r.A)(e[n][0],t))return n;return-1},i=Array.prototype.splice;function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=[],this.size=0},a.prototype.delete=function(e){var t=this.__data__,n=o(t,e);return!(n<0||(n==t.length-1?t.pop():i.call(t,n,1),--this.size,0))},a.prototype.get=function(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]},a.prototype.has=function(e){return o(this.__data__,e)>-1},a.prototype.set=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var s=a},80399:function(e,t,n){var r=n(40481),o=n(16134),i=n(66188),a={};e.exports=function(e){if(e=r(e),a[e])return a[e];if(/^[A-Z]+$/.test(e))return i(e);var t=e.replace(/^([a-z])([A-Z]+)([a-z]+)$/,(function(e,t,n,r){var a=n.length;return a>1?t+"-"+i(o(n,0,a-1))+"-"+i(o(n,a-1,a))+r:i(t+"-"+n+r)})).replace(/^([A-Z]+)([a-z]+)?$/,(function(e,t,n){var r=t.length;return i(o(t,0,r-1)+"-"+o(t,r-1,r)+(n||""))})).replace(/([a-z]?)([A-Z]+)([a-z]?)/g,(function(e,t,n,r,a){var s=n.length;return s>1&&(t&&(t+="-"),r)?(t||"")+i(o(n,0,s-1))+"-"+i(o(n,s-1,s))+r:(t||"")+(a?"-":"")+i(n)+(r||"")}));return t=t.replace(/([-]+)/g,(function(e,n,r){return r&&r+n.length<t.length?"-":""})),a[e]=t,t}},80441:function(e,t,n){"use strict";n.d(t,{qy:function(){return ve},$g:function(){return de}});var r=n(48820),o=n(43720),i=n(90365);const a=20,s=22,l=23,c=24,u=26,d=27,f=28,h=31,p=34,m=37,g={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},A={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},v={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function y(e){return 9==e||10==e||13==e||32==e}let O=null,b=null,w=0;function _(e,t){let n=e.pos+t;if(w==n&&b==e)return O;let r=e.peek(t);for(;y(r);)r=e.peek(++t);let o="";for(;45==(i=r)||46==i||58==i||i>=65&&i<=90||95==i||i>=97&&i<=122||i>=161;)o+=String.fromCharCode(r),r=e.peek(++t);var i;return b=e,w=n,O=o?o.toLowerCase():r==x||r==S?void 0:null}const x=63,S=33;function k(e,t){this.name=e,this.parent=t}const C=[6,10,7,8,9],B=new r.Aj({start:null,shift(e,t,n,r){return C.indexOf(t)>-1?new k(_(r,1)||"",e):e},reduce(e,t){return t==a&&e?e.parent:e},reuse(e,t,n,r){let o=t.type.id;return 6==o||36==o?new k(_(r,1)||"",e):e},strict:!1}),Q=new r.Lu(((e,t)=>{if(60!=e.next)return void(e.next<0&&t.context&&e.acceptToken(57));e.advance();let n=47==e.next;n&&e.advance();let r=_(e,0);if(void 0===r)return;if(!r)return e.acceptToken(n?14:6);let o=t.context?t.context.name:null;if(n){if(r==o)return e.acceptToken(11);if(o&&A[o])return e.acceptToken(57,-2);if(t.dialectEnabled(0))return e.acceptToken(12);for(let e=t.context;e;e=e.parent)if(e.name==r)return;e.acceptToken(13)}else{if("script"==r)return e.acceptToken(7);if("style"==r)return e.acceptToken(8);if("textarea"==r)return e.acceptToken(9);if(g.hasOwnProperty(r))return e.acceptToken(10);o&&v[o]&&v[o][r]?e.acceptToken(57,-1):e.acceptToken(6)}}),{contextual:!0}),T=new r.Lu((e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(58);break}if(45==e.next)t++;else{if(62==e.next&&t>=2){n>=3&&e.acceptToken(58,-2);break}t=0}e.advance()}})),E=new r.Lu(((e,t)=>{if(47==e.next&&62==e.peek(1)){let n=t.dialectEnabled(1)||function(e){for(;e;e=e.parent)if("svg"==e.name||"math"==e.name)return!0;return!1}(t.context);e.acceptToken(n?5:4,2)}else 62==e.next&&e.acceptToken(4,1)}));function P(e,t,n){let o=2+e.length;return new r.Lu((r=>{for(let i=0,a=0,s=0;;s++){if(r.next<0){s&&r.acceptToken(t);break}if(0==i&&60==r.next||1==i&&47==r.next||i>=2&&i<o&&r.next==e.charCodeAt(i-2))i++,a++;else if(2!=i&&i!=o||!y(r.next)){if(i==o&&62==r.next){s>a?r.acceptToken(t,-a):r.acceptToken(n,-(a-2));break}if((10==r.next||13==r.next)&&s){r.acceptToken(t,1);break}i=a=0}else a++;r.advance()}}))}const $=P("script",54,1),M=P("style",55,2),z=P("textarea",56,3),R=(0,o.pn)({"Text RawText":o._A.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":o._A.angleBracket,TagName:o._A.tagName,"MismatchedCloseTag/TagName":[o._A.tagName,o._A.invalid],AttributeName:o._A.attributeName,"AttributeValue UnquotedAttributeValue":o._A.attributeValue,Is:o._A.definitionOperator,"EntityReference CharacterReference":o._A.character,Comment:o._A.blockComment,ProcessingInst:o._A.processingInstruction,DoctypeDecl:o._A.documentMeta}),D=r.U1.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O'#CvO*|OMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O+_O7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:",]~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:B,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[R],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|c`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT`POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYkWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]``P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebhSkWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXhSqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vchS`P!a`!cpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;'S1k;'S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!`h`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_4WihSkWc!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QchSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;'S;{;'S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[$,M,z,E,Q,T,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:509},tokenPrec:511});function I(e,t){let n=Object.create(null);for(let r of e.getChildren(l)){let e=r.getChild(c),o=r.getChild(u)||r.getChild(d);e&&(n[t.read(e.from,e.to)]=o?o.type.id==u?t.read(o.from+1,o.to-1):t.read(o.from,o.to):"")}return n}function N(e,t){let n=e.getChild(s);return n?t.read(n.from,n.to):" "}function L(e,t,n){let r;for(let o of n)if(!o.attrs||o.attrs(r||(r=I(e.node.parent.firstChild,t))))return{parser:o.parser};return null}function V(e=[],t=[]){let n=[],r=[],o=[],s=[];for(let t of e)("script"==t.tag?n:"style"==t.tag?r:"textarea"==t.tag?o:s).push(t);let c=t.length?Object.create(null):null;for(let e of t)(c[e.name]||(c[e.name]=[])).push(e);return(0,i.$g)(((e,t)=>{let i=e.type.id;if(i==f)return L(e,t,n);if(i==h)return L(e,t,r);if(i==p)return L(e,t,o);if(i==a&&s.length){let n,r=e.node,o=r.firstChild,i=o&&N(o,t);if(i)for(let e of s)if(e.tag==i&&(!e.attrs||e.attrs(n||(n=I(o,t))))){let t=r.lastChild,n=t.type.id==m?t.from:r.to;if(n>o.to)return{parser:e.parser,overlay:[{from:o.to,to:n}]}}}if(c&&i==l){let n,r=e.node;if(n=r.firstChild){let e=c[t.read(n.from,n.to)];if(e)for(let n of e){if(n.tagName&&n.tagName!=N(r.parent,t))continue;let e=r.lastChild;if(e.type.id==u){let t=e.from+1,r=e.lastChild,o=e.to-(r&&r.isError?0:1);if(o>t)return{parser:n.parser,overlay:[{from:t,to:o}]}}else if(e.type.id==d)return{parser:n.parser,overlay:[{from:e.from,to:e.to}]}}}}return null}))}var U=n(6393),F=n(89862),H=n(62144),W=n(20614),X=n(15874);const j=["_blank","_self","_top","_parent"],q=["ascii","utf-8","utf-16","latin1","latin1"],Z=["get","post","put","delete"],Y=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],G=["true","false"],K={},J={a:{attrs:{href:null,ping:null,type:null,media:null,target:j,hreflang:null}},abbr:K,address:K,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:K,aside:K,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:K,base:{attrs:{href:null,target:j}},bdi:K,bdo:K,blockquote:{attrs:{cite:null}},body:K,br:K,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Y,formmethod:Z,formnovalidate:["novalidate"],formtarget:j,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:K,center:K,cite:K,code:K,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:K,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:K,div:K,dl:K,dt:K,em:K,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:K,figure:K,footer:K,form:{attrs:{action:null,name:null,"accept-charset":q,autocomplete:["on","off"],enctype:Y,method:Z,novalidate:["novalidate"],target:j}},h1:K,h2:K,h3:K,h4:K,h5:K,h6:K,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:K,hgroup:K,hr:K,html:{attrs:{manifest:null}},i:K,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Y,formmethod:Z,formnovalidate:["novalidate"],formtarget:j,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:K,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:K,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:K,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:q,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:K,noscript:K,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:K,param:{attrs:{name:null,value:null}},pre:K,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:K,rt:K,ruby:K,samp:K,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:q}},section:K,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:K,source:{attrs:{src:null,type:null,media:null}},span:K,strong:K,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:K,summary:K,sup:K,table:K,tbody:K,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:K,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:K,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:K,time:{attrs:{datetime:null}},title:K,tr:K,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:K,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:K},ee={accesskey:null,class:null,contenteditable:G,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:G,autocorrect:G,autocapitalize:G,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":G,"aria-autocomplete":["inline","list","both","none"],"aria-busy":G,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":G,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":G,"aria-hidden":G,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":G,"aria-multiselectable":G,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":G,"aria-relevant":null,"aria-required":G,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},te="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map((e=>"on"+e));for(let e of te)ee[e]=null;class ne{constructor(e,t){this.tags=Object.assign(Object.assign({},J),e),this.globalAttrs=Object.assign(Object.assign({},ee),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function re(e,t,n=e.length){if(!t)return"";let r=t.firstChild,o=r&&r.getChild("TagName");return o?e.sliceString(o.from,Math.min(o.to,n)):""}function oe(e,t=!1){for(;e;e=e.parent)if("Element"==e.name){if(!t)return e;t=!1}return null}function ie(e,t,n){let r=n.tags[re(e,oe(t))];return(null==r?void 0:r.children)||n.allTags}function ae(e,t){let n=[];for(let r=oe(t);r&&!r.type.isTop;r=oe(r.parent)){let o=re(e,r);if(o&&"CloseTag"==r.lastChild.name)break;o&&n.indexOf(o)<0&&("EndTag"==t.name||t.from>=r.firstChild.to)&&n.push(o)}return n}ne.default=new ne;const se=/^[:\-\.\w\u00b7-\uffff]*$/;function le(e,t,n,r,o){let i=/\s*>/.test(e.sliceDoc(o,o+5))?"":">",a=oe(n,!0);return{from:r,to:o,options:ie(e.doc,a,t).map((e=>({label:e,type:"type"}))).concat(ae(e.doc,n).map(((e,t)=>({label:"/"+e,apply:"/"+e+i,type:"type",boost:99-t})))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function ce(e,t,n,r){let o=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:ae(e.doc,t).map(((e,t)=>({label:e,apply:e+o,type:"type",boost:99-t}))),validFor:se}}function ue(e,t){let{state:n,pos:r}=t,o=(0,X.mv)(n).resolveInner(r,-1),i=o.resolve(r);for(let e,t=r;i==o&&(e=o.childBefore(t));){let n=e.lastChild;if(!n||!n.type.isError||n.from<n.to)break;i=o=e,t=n.from}return"TagName"==o.name?o.parent&&/CloseTag$/.test(o.parent.name)?ce(n,o,o.from,r):le(n,e,o,o.from,r):"StartTag"==o.name?le(n,e,o,r,r):"StartCloseTag"==o.name||"IncompleteCloseTag"==o.name?ce(n,o,r,r):"OpenTag"==o.name||"SelfClosingTag"==o.name||"AttributeName"==o.name?function(e,t,n,r,o){let i=oe(n),a=i?t.tags[re(e.doc,i)]:null,s=a&&a.attrs?Object.keys(a.attrs):[];return{from:r,to:o,options:(a&&!1===a.globalAttrs?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames).map((e=>({label:e,type:"property"}))),validFor:se}}(n,e,o,"AttributeName"==o.name?o.from:r,r):"Is"==o.name||"AttributeValue"==o.name||"UnquotedAttributeValue"==o.name?function(e,t,n,r,o){var i;let a,s=null===(i=n.parent)||void 0===i?void 0:i.getChild("AttributeName"),l=[];if(s){let i=e.sliceDoc(s.from,s.to),c=t.globalAttrs[i];if(!c){let r=oe(n),o=r?t.tags[re(e.doc,r)]:null;c=(null==o?void 0:o.attrs)&&o.attrs[i]}if(c){let t=e.sliceDoc(r,o).toLowerCase(),n='"',i='"';/^['"]/.test(t)?(a='"'==t[0]?/^[^"]*$/:/^[^']*$/,n="",i=e.sliceDoc(o,o+1)==t[0]?"":t[0],t=t.slice(1),r++):a=/^[^\s<>='"]*$/;for(let e of c)l.push({label:e,apply:n+e+i,type:"constant"})}}return{from:r,to:o,options:l,validFor:a}}(n,e,o,"Is"==o.name?r:o.from,r):!t.explicit||"Element"!=i.name&&"Text"!=i.name&&"Document"!=i.name?null:function(e,t,n,r){let o=[],i=0;for(let r of ie(e.doc,n,t))o.push({label:"<"+r,type:"type"});for(let t of ae(e.doc,n))o.push({label:"</"+t+">",type:"type",boost:99-i++});return{from:r,to:r,options:o,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(n,e,o,r)}function de(e){return ue(ne.default,e)}function fe(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new ne(t,n):ne.default;return e=>ue(r,e)}const he=F.o$.parser.configure({top:"SingleExpression"}),pe=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:F.sL.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:F.W6.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:F.g4.parser},{tag:"script",attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:he},{tag:"script",attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:F.o$.parser},{tag:"style",attrs(e){return(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:U.Yk.parser}],me=[{name:"style",parser:U.Yk.parser.configure({top:"Styles"})}].concat(te.map((e=>({name:e,parser:F.o$.parser})))),ge=X.bj.define({name:"html",parser:D.configure({props:[X.Oh.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit},Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t,n=null;for(let t=e.node;;){let e=t.lastChild;if(!e||"Element"!=e.name||e.to!=t.to)break;n=t=e}return n&&(!(t=n.lastChild)||"CloseTag"!=t.name&&"SelfClosingTag"!=t.name)?e.lineIndent(n.from)+e.unit:null}}),X.b_.add({Element(e){let t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}}),X.Q_.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),Ae=ge.configure({wrap:V(pe,me)});function ve(e={}){let t,n="";!1===e.matchClosingTags&&(n="noMatch"),!0===e.selfClosingTags&&(n=(n?n+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(t=V((e.nestedLanguages||[]).concat(pe),(e.nestedAttributes||[]).concat(me)));let r=t?ge.configure({wrap:t,dialect:n}):n?Ae.configure({dialect:n}):Ae;return new X.Yy(r,[Ae.data.of({autocomplete:fe(e)}),!1!==e.autoCloseTags?Oe:[],(0,F.Q2)().support,(0,U.AH)().support])}const ye=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),Oe=H.Lz.inputHandler.of(((e,t,n,r,o)=>{if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!Ae.isActiveAt(e.state,t,-1))return!1;let i=o(),{state:a}=i,s=a.changeByRange((e=>{var t,n,o;let i,s=a.doc.sliceString(e.from-1,e.to)==r,{head:l}=e,c=(0,X.mv)(a).resolveInner(l,-1);if(s&&">"==r&&"EndTag"==c.name){let r=c.parent;if("CloseTag"!=(null===(n=null===(t=r.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)&&(i=re(a.doc,r.parent,l))&&!ye.has(i))return{range:e,changes:{from:l,to:l+(">"===a.doc.sliceString(l,l+1)?1:0),insert:`</${i}>`}}}else if(s&&"/"==r&&"IncompleteCloseTag"==c.name){let e=c.parent;if(c.from==l-2&&"CloseTag"!=(null===(o=e.lastChild)||void 0===o?void 0:o.name)&&(i=re(a.doc,e,l))&&!ye.has(i)){let e=l+(">"===a.doc.sliceString(l,l+1)?1:0),t=`${i}>`;return{range:W.OF.cursor(l+t.length,-1),changes:{from:l,to:e,insert:t}}}}return{range:e}}));return!s.changes.empty&&(e.dispatch([i,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}))},80578:function(e,t,n){n(7847)},80741:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},80916:function(e,t,n){"use strict";n.d(t,{q:function(){return r}});const r={name:"properties",token:function(e,t){var n=e.sol()||t.afterSection,r=e.eol();if(t.afterSection=!1,n&&(t.nextMultiline?(t.inMultiline=!0,t.nextMultiline=!1):t.position="def"),r&&!t.nextMultiline&&(t.inMultiline=!1,t.position="def"),n)for(;e.eatSpace(););var o=e.next();return!n||"#"!==o&&"!"!==o&&";"!==o?n&&"["===o?(t.afterSection=!0,e.skipTo("]"),e.eat("]"),"header"):"="===o||":"===o?(t.position="quote",null):("\\"===o&&"quote"===t.position&&e.eol()&&(t.nextMultiline=!0),t.position):(t.position="comment",e.skipToEnd(),"comment")},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}},81094:function(e,t,n){"use strict";n.d(t,{A:function(){return v}});var r,o,i=n(92049),a=n(86586),s=n(46632),l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g,u=(r=(0,s.A)((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(l,(function(e,n,r,o){t.push(r?o.replace(c,"$1"):n||e)})),t}),(function(e){return 500===o.size&&o.clear(),e})),o=r.cache,r),d=n(241),f=n(45572),h=n(61882),p=d.A?d.A.prototype:void 0,m=p?p.toString:void 0,g=function e(t){if("string"==typeof t)return t;if((0,i.A)(t))return(0,f.A)(t,e)+"";if((0,h.A)(t))return m?m.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},A=function(e){return null==e?"":g(e)},v=function(e,t){return(0,i.A)(e)?e:(0,a.A)(e,t)?[e]:u(A(e))}},81121:function(e,t){"use strict";var n=Function.prototype.toString;t.A=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},81148:function(e,t,n){"use strict";var r=n(46518),o=n(72652),i=n(79306),a=n(28551),s=n(1767);r({target:"Iterator",proto:!0,real:!0},{every:function(e){a(this),i(e);var t=s(this),n=0;return!o(t,(function(t,r){if(!e(t,n++))return r()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},81531:function(e,t,n){"use strict";n.d(t,{Hl:function(){return i},Lw:function(){return l},rQ:function(){return s},tp:function(){return o},uG:function(){return r},xe:function(){return a}});const r=e=>Array.from(e.querySelectorAll('a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])')).filter((e=>o(e)&&(e=>"fixed"!==getComputedStyle(e).position&&null!==e.offsetParent)(e))),o=e=>{if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||"true"===e.getAttribute("aria-disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return!("hidden"===e.type||"file"===e.type);case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},i=function(e,t,...n){let r;r=t.includes("mouse")||t.includes("click")?"MouseEvents":t.includes("key")?"KeyboardEvent":"HTMLEvents";const o=document.createEvent(r);return o.initEvent(t,...n),e.dispatchEvent(o),e},a=e=>!e.getAttribute("aria-owns"),s=(e,t,n)=>{const{parentNode:r}=e;if(!r)return null;const o=r.querySelectorAll(n);return o[Array.prototype.indexOf.call(o,e)+t]||null},l=e=>{e&&(e.focus(),!a(e)&&e.click())}},82250:function(e,t,n){"use strict";var r=n(15215),o=function(e){function t(t,n,r,o,i){var a=e.call(this,o)||this;return a.x=null==t?.5:t,a.y=null==n?.5:n,a.r=null==r?.5:r,a.type="radial",a.global=i||!1,a}return(0,r.C6)(t,e),t}(n(11793).A);t.A=o},82409:function(e,t,n){"use strict";function r(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}n.d(t,{r:function(){return f}});var o,i=r("break return rewrite set accept_mutex accept_mutex_delay access_log add_after_body add_before_body add_header addition_types aio alias allow ancient_browser ancient_browser_value auth_basic auth_basic_user_file auth_http auth_http_header auth_http_timeout autoindex autoindex_exact_size autoindex_localtime charset charset_types client_body_buffer_size client_body_in_file_only client_body_in_single_buffer client_body_temp_path client_body_timeout client_header_buffer_size client_header_timeout client_max_body_size connection_pool_size create_full_put_path daemon dav_access dav_methods debug_connection debug_points default_type degradation degrade deny devpoll_changes devpoll_events directio directio_alignment empty_gif env epoll_events error_log eventport_events expires fastcgi_bind fastcgi_buffer_size fastcgi_buffers fastcgi_busy_buffers_size fastcgi_cache fastcgi_cache_key fastcgi_cache_methods fastcgi_cache_min_uses fastcgi_cache_path fastcgi_cache_use_stale fastcgi_cache_valid fastcgi_catch_stderr fastcgi_connect_timeout fastcgi_hide_header fastcgi_ignore_client_abort fastcgi_ignore_headers fastcgi_index fastcgi_intercept_errors fastcgi_max_temp_file_size fastcgi_next_upstream fastcgi_param fastcgi_pass_header fastcgi_pass_request_body fastcgi_pass_request_headers fastcgi_read_timeout fastcgi_send_lowat fastcgi_send_timeout fastcgi_split_path_info fastcgi_store fastcgi_store_access fastcgi_temp_file_write_size fastcgi_temp_path fastcgi_upstream_fail_timeout fastcgi_upstream_max_fails flv geoip_city geoip_country google_perftools_profiles gzip gzip_buffers gzip_comp_level gzip_disable gzip_hash gzip_http_version gzip_min_length gzip_no_buffer gzip_proxied gzip_static gzip_types gzip_vary gzip_window if_modified_since ignore_invalid_headers image_filter image_filter_buffer image_filter_jpeg_quality image_filter_transparency imap_auth imap_capabilities imap_client_buffer index ip_hash keepalive_requests keepalive_timeout kqueue_changes kqueue_events large_client_header_buffers limit_conn limit_conn_log_level limit_rate limit_rate_after limit_req limit_req_log_level limit_req_zone limit_zone lingering_time lingering_timeout lock_file log_format log_not_found log_subrequest map_hash_bucket_size map_hash_max_size master_process memcached_bind memcached_buffer_size memcached_connect_timeout memcached_next_upstream memcached_read_timeout memcached_send_timeout memcached_upstream_fail_timeout memcached_upstream_max_fails merge_slashes min_delete_depth modern_browser modern_browser_value msie_padding msie_refresh multi_accept open_file_cache open_file_cache_errors open_file_cache_events open_file_cache_min_uses open_file_cache_valid open_log_file_cache output_buffers override_charset perl perl_modules perl_require perl_set pid pop3_auth pop3_capabilities port_in_redirect postpone_gzipping postpone_output protocol proxy proxy_bind proxy_buffer proxy_buffer_size proxy_buffering proxy_buffers proxy_busy_buffers_size proxy_cache proxy_cache_key proxy_cache_methods proxy_cache_min_uses proxy_cache_path proxy_cache_use_stale proxy_cache_valid proxy_connect_timeout proxy_headers_hash_bucket_size proxy_headers_hash_max_size proxy_hide_header proxy_ignore_client_abort proxy_ignore_headers proxy_intercept_errors proxy_max_temp_file_size proxy_method proxy_next_upstream proxy_pass_error_message proxy_pass_header proxy_pass_request_body proxy_pass_request_headers proxy_read_timeout proxy_redirect proxy_send_lowat proxy_send_timeout proxy_set_body proxy_set_header proxy_ssl_session_reuse proxy_store proxy_store_access proxy_temp_file_write_size proxy_temp_path proxy_timeout proxy_upstream_fail_timeout proxy_upstream_max_fails random_index read_ahead real_ip_header recursive_error_pages request_pool_size reset_timedout_connection resolver resolver_timeout rewrite_log rtsig_overflow_events rtsig_overflow_test rtsig_overflow_threshold rtsig_signo satisfy secure_link_secret send_lowat send_timeout sendfile sendfile_max_chunk server_name_in_redirect server_names_hash_bucket_size server_names_hash_max_size server_tokens set_real_ip_from smtp_auth smtp_capabilities smtp_client_buffer smtp_greeting_delay so_keepalive source_charset ssi ssi_ignore_recycled_buffers ssi_min_file_chunk ssi_silent_errors ssi_types ssi_value_length ssl ssl_certificate ssl_certificate_key ssl_ciphers ssl_client_certificate ssl_crl ssl_dhparam ssl_engine ssl_prefer_server_ciphers ssl_protocols ssl_session_cache ssl_session_timeout ssl_verify_client ssl_verify_depth starttls stub_status sub_filter sub_filter_once sub_filter_types tcp_nodelay tcp_nopush thread_stack_size timeout timer_resolution types_hash_bucket_size types_hash_max_size underscores_in_headers uninitialized_variable_warn use user userid userid_domain userid_expires userid_mark userid_name userid_p3p userid_path userid_service valid_referers variables_hash_bucket_size variables_hash_max_size worker_connections worker_cpu_affinity worker_priority worker_processes worker_rlimit_core worker_rlimit_nofile worker_rlimit_sigpending worker_threads working_directory xclient xml_entities xslt_stylesheet xslt_typesdrew@li229-23"),a=r("http mail events server types location upstream charset_map limit_except if geo map"),s=r("include root server server_name listen internal proxy_pass memcached_pass fastcgi_pass try_files");function l(e,t){return o=t,e}function c(e,t){e.eatWhile(/[\w\$_]/);var n=e.current();if(i.propertyIsEnumerable(n))return"keyword";if(a.propertyIsEnumerable(n))return"controlKeyword";if(s.propertyIsEnumerable(n))return"controlKeyword";var r,o=e.next();return"@"==o?(e.eatWhile(/[\w\\\-]/),l("meta",e.current())):"/"==o&&e.eat("*")?(t.tokenize=u,u(e,t)):"<"==o&&e.eat("!")?(t.tokenize=d,d(e,t)):"="!=o?"~"!=o&&"|"!=o||!e.eat("=")?'"'==o||"'"==o?(t.tokenize=(r=o,function(e,t){for(var n,o=!1;null!=(n=e.next())&&(n!=r||o);)o=!o&&"\\"==n;return o||(t.tokenize=c),l("string","string")}),t.tokenize(e,t)):"#"==o?(e.skipToEnd(),l("comment","comment")):"!"==o?(e.match(/^\s*\w*/),l("keyword","important")):/\d/.test(o)?(e.eatWhile(/[\w.%]/),l("number","unit")):/[,.+>*\/]/.test(o)?l(null,"select-op"):/[;{}:\[\]]/.test(o)?l(null,o):(e.eatWhile(/[\w\\\-]/),l("variable","variable")):l(null,"compare"):void l(null,"compare")}function u(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=c;break}r="*"==n}return l("comment","comment")}function d(e,t){for(var n,r=0;null!=(n=e.next());){if(r>=2&&">"==n){t.tokenize=c;break}r="-"==n?r+1:0}return l("comment","comment")}const f={name:"nginx",startState:function(){return{tokenize:c,baseIndent:0,stack:[]}},token:function(e,t){if(e.eatSpace())return null;o=null;var n=t.tokenize(e,t),r=t.stack[t.stack.length-1];return"hash"==o&&"rule"==r?n="atom":"variable"==n&&("rule"==r?n="number":r&&"@media{"!=r||(n="tag")),"rule"==r&&/^[\{\};]$/.test(o)&&t.stack.pop(),"{"==o?"@media"==r?t.stack[t.stack.length-1]="@media{":t.stack.push("{"):"}"==o?t.stack.pop():"@media"==o?t.stack.push("@media"):"{"==r&&"comment"!=o&&t.stack.push("rule"),n},indent:function(e,t,n){var r=e.stack.length;return/^\}/.test(t)&&(r-="rule"==e.stack[e.stack.length-1]?2:1),e.baseIndent+r*n.unit},languageData:{indentOnInput:/^\s*\}$/}}},82476:function(e,t,n){var r=n(79135),o=n(96430);function i(e,t){var n=[];return o(e,(function(e){n=n.concat(r(e)?t?i(e,t):e:[e])})),n}e.exports=function(e,t){return r(e)?i(e,t):[]}},82591:function(e,t,n){"use strict";var r=n(15215),o=n(5070),i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="compound",t}return(0,r.C6)(t,e),t.prototype._updatePathDirty=function(){for(var e=this.shape.paths,t=this.shapeChanged(),n=0;n<e.length;n++)t=t||e[n].shapeChanged();t&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var e=this.shape.paths||[],t=this.getGlobalScale(),n=0;n<e.length;n++)e[n].path||e[n].createPathProxy(),e[n].path.setScale(t[0],t[1],e[n].segmentIgnoreThreshold)},t.prototype.buildPath=function(e,t){for(var n=t.paths||[],r=0;r<n.length;r++)n[r].buildPath(e,n[r].shape,!0)},t.prototype.afterBrush=function(){for(var e=this.shape.paths||[],t=0;t<e.length;t++)e[t].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),o.Ay.prototype.getBoundingRect.call(this)},t}(o.Ay);t.A=i},82839:function(e,t,n){"use strict";var r=n(44576).navigator,o=r&&r.userAgent;e.exports=o?String(o):""},82861:function(e,t,n){"use strict";var r=n(15215),o=n(5070),i=n(14865),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},l=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new s},t.prototype.buildPath=function(e,t){var n,r,o,s;if(this.subPixelOptimize){var l=(0,i.eB)(a,t,this.style);n=l.x1,r=l.y1,o=l.x2,s=l.y2}else n=t.x1,r=t.y1,o=t.x2,s=t.y2;var c=t.percent;0!==c&&(e.moveTo(n,r),c<1&&(o=n*(1-c)+o*c,s=r*(1-c)+s*c),e.lineTo(o,s))},t.prototype.pointAt=function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]},t}(o.Ay);l.prototype.type="line",t.A=l},82867:function(e,t,n){var r=n(53848),o=n(74409),i=n(79135),a=n(69821);e.exports=function(e){return function(t,n,s){if(t&&r(n)){if(i(t)||o(t))return e(t,n,s);for(var l in t)if(a(t,l)&&n.call(s,t[l],l,t))return l}return-1}}},83234:function(e,t,n){var r=n(35657);e.exports=function(e,t,n){var o=[];if(e&&t){if(e.filter)return e.filter(t,n);r(e,(function(r,i){t.call(n,r,i,e)&&o.push(r)}))}return o}},83393:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(e,t){for(var n="",r=0;r<t;r++)n+=e;return n},n=function(e,n){var r=function(e){return e.getParam("nonbreaking_wrap",!0,"boolean")}(e),o=r||e.plugins.visualchars?'<span class="'+(function(e){return!!e.plugins.visualchars&&e.plugins.visualchars.isEnabled()}(e)?"mce-nbsp-wrap mce-nbsp":"mce-nbsp-wrap")+'" contenteditable="false">'+t("&nbsp;",n)+"</span>":t("&nbsp;",n);e.undoManager.transact((function(){return e.insertContent(o)}))},r=tinymce.util.Tools.resolve("tinymce.util.VK");e.add("nonbreaking",(function(e){!function(e){e.addCommand("mceNonBreaking",(function(){n(e,1)}))}(e),function(e){var t=function(){return e.execCommand("mceNonBreaking")};e.ui.registry.addButton("nonbreaking",{icon:"non-breaking",tooltip:"Nonbreaking space",onAction:t}),e.ui.registry.addMenuItem("nonbreaking",{icon:"non-breaking",text:"Nonbreaking space",onAction:t})}(e),function(e){var t=function(e){var t=e.getParam("nonbreaking_force_tab",0);return"boolean"==typeof t?!0===t?3:0:t}(e);t>0&&e.on("keydown",(function(o){if(o.keyCode===r.TAB&&!o.isDefaultPrevented()){if(o.shiftKey)return;o.preventDefault(),o.stopImmediatePropagation(),n(e,t)}}))}(e)}))}()},83412:function(e,t,n){"use strict";n.d(t,{Cb:function(){return l},JW:function(){return y},QX:function(){return c},YK:function(){return h},fU:function(){return g},he:function(){return v},io:function(){return p},ob:function(){return s},qg:function(){return m},x5:function(){return A},yC:function(){return u}});var r=n(98026),o=n(44265),i=n(24326),a=n(55854);function s(e){if(!(0,i.kf)(e))return r.isString(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function l(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var c=r.normalizeCssArray;function u(e,t,n){function o(e){return e&&r.trim(e)?e:"-"}function l(e){return!(null==e||isNaN(e)||!isFinite(e))}var c="time"===t,u=e instanceof Date;if(c||u){var d=c?(0,i._U)(e):e;if(!isNaN(+d))return(0,a.GP)(d,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(u)return"-"}if("ordinal"===t)return r.isStringSafe(e)?o(e):r.isNumber(e)&&l(e)?e+"":"-";var f=(0,i.Sm)(e);return l(f)?s(f):r.isStringSafe(e)?o(e):"boolean"==typeof e?e+"":"-"}var d=["a","b","c","d","e","f","g"],f=function(e,t){return"{"+e+(null==t?"":t)+"}"};function h(e,t,n){r.isArray(t)||(t=[t]);var i=t.length;if(!i)return"";for(var a=t[0].$vars||[],s=0;s<a.length;s++){var l=d[s];e=e.replace(f(l),f(l,0))}for(var c=0;c<i;c++)for(var u=0;u<a.length;u++){var h=t[c][a[u]];e=e.replace(f(d[u],c),n?(0,o.Me)(h):h)}return e}function p(e,t,n){return r.each(t,(function(t,r){e=e.replace("{"+r+"}",n?(0,o.Me)(t):t)})),e}function m(e,t){var n=r.isString(e)?{color:e,extraCssText:t}:e||{},i=n.color,a=n.type;t=n.extraCssText;var s=n.renderMode||"html";return i?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,o.Me)(i)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,o.Me)(i)+";"+(t||"")+'"></span>':{renderMode:s,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}function g(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var r=(0,i._U)(t),o=n?"getUTC":"get",s=r[o+"FullYear"](),l=r[o+"Month"]()+1,c=r[o+"Date"](),u=r[o+"Hours"](),d=r[o+"Minutes"](),f=r[o+"Seconds"](),h=r[o+"Milliseconds"]();return e.replace("MM",(0,a.eV)(l,2)).replace("M",l).replace("yyyy",s).replace("yy",(0,a.eV)(s%100+"",2)).replace("dd",(0,a.eV)(c,2)).replace("d",c).replace("hh",(0,a.eV)(u,2)).replace("h",u).replace("mm",(0,a.eV)(d,2)).replace("m",d).replace("ss",(0,a.eV)(f,2)).replace("s",f).replace("SSS",(0,a.eV)(h,3))}function A(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e}function v(e,t){return t=t||"transparent",r.isString(e)?e:r.isObject(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function y(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}},83440:function(e,t,n){"use strict";var r=n(97080),o=n(94402),i=n(89286),a=n(25170),s=n(83789),l=n(38469),c=n(40507),u=o.has,d=o.remove;e.exports=function(e){var t=r(this),n=s(e),o=i(t);return a(t)<=n.size?l(t,(function(e){n.includes(e)&&d(o,e)})):c(n.getIterator(),(function(e){u(t,e)&&d(o,e)})),o}},83470:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=32,o=7;function i(e,t,n,r){var o=t+1;if(o===n)return 1;if(r(e[o++],e[t])<0){for(;o<n&&r(e[o],e[o-1])<0;)o++;!function(e,t,n){for(n--;t<n;){var r=e[t];e[t++]=e[n],e[n--]=r}}(e,t,o)}else for(;o<n&&r(e[o],e[o-1])>=0;)o++;return o-t}function a(e,t,n,r,o){for(r===t&&r++;r<n;r++){for(var i,a=e[r],s=t,l=r;s<l;)o(a,e[i=s+l>>>1])<0?l=i:s=i+1;var c=r-s;switch(c){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:for(;c>0;)e[s+c]=e[s+c-1],c--}e[s]=a}}function s(e,t,n,r,o,i){var a=0,s=0,l=1;if(i(e,t[n+o])>0){for(s=r-o;l<s&&i(e,t[n+o+l])>0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=o,l+=o}else{for(s=o+1;l<s&&i(e,t[n+o-l])<=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var c=a;a=o-l,l=o-c}for(a++;a<l;){var u=a+(l-a>>>1);i(e,t[n+u])>0?a=u+1:l=u}return l}function l(e,t,n,r,o,i){var a=0,s=0,l=1;if(i(e,t[n+o])<0){for(s=o+1;l<s&&i(e,t[n+o-l])<0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var c=a;a=o-l,l=o-c}else{for(s=r-o;l<s&&i(e,t[n+o+l])>=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=o,l+=o}for(a++;a<l;){var u=a+(l-a>>>1);i(e,t[n+u])<0?l=u:a=u+1}return l}function c(e,t,n,c){n||(n=0),c||(c=e.length);var u=c-n;if(!(u<2)){var d=0;if(u<r)a(e,n,c,n+(d=i(e,n,c,t)),t);else{var f=function(e,t){var n,r,i=o,a=0,c=[];function u(u){var d=n[u],f=r[u],h=n[u+1],p=r[u+1];r[u]=f+p,u===a-3&&(n[u+1]=n[u+2],r[u+1]=r[u+2]),a--;var m=l(e[h],e,d,f,0,t);d+=m,0!=(f-=m)&&0!==(p=s(e[d+f-1],e,h,p,p-1,t))&&(f<=p?function(n,r,a,u){var d=0;for(d=0;d<r;d++)c[d]=e[n+d];var f=0,h=a,p=n;if(e[p++]=e[h++],0!=--u)if(1!==r){for(var m,g,A,v=i;;){m=0,g=0,A=!1;do{if(t(e[h],c[f])<0){if(e[p++]=e[h++],g++,m=0,0==--u){A=!0;break}}else if(e[p++]=c[f++],m++,g=0,1==--r){A=!0;break}}while((m|g)<v);if(A)break;do{if(0!==(m=l(e[h],c,f,r,0,t))){for(d=0;d<m;d++)e[p+d]=c[f+d];if(p+=m,f+=m,(r-=m)<=1){A=!0;break}}if(e[p++]=e[h++],0==--u){A=!0;break}if(0!==(g=s(c[f],e,h,u,0,t))){for(d=0;d<g;d++)e[p+d]=e[h+d];if(p+=g,h+=g,0==(u-=g)){A=!0;break}}if(e[p++]=c[f++],1==--r){A=!0;break}v--}while(m>=o||g>=o);if(A)break;v<0&&(v=0),v+=2}if((i=v)<1&&(i=1),1===r){for(d=0;d<u;d++)e[p+d]=e[h+d];e[p+u]=c[f]}else{if(0===r)throw new Error;for(d=0;d<r;d++)e[p+d]=c[f+d]}}else{for(d=0;d<u;d++)e[p+d]=e[h+d];e[p+u]=c[f]}else for(d=0;d<r;d++)e[p+d]=c[f+d]}(d,f,h,p):function(n,r,a,u){var d=0;for(d=0;d<u;d++)c[d]=e[a+d];var f=n+r-1,h=u-1,p=a+u-1,m=0,g=0;if(e[p--]=e[f--],0!=--r)if(1!==u){for(var A=i;;){var v=0,y=0,O=!1;do{if(t(c[h],e[f])<0){if(e[p--]=e[f--],v++,y=0,0==--r){O=!0;break}}else if(e[p--]=c[h--],y++,v=0,1==--u){O=!0;break}}while((v|y)<A);if(O)break;do{if(0!=(v=r-l(c[h],e,n,r,r-1,t))){for(r-=v,g=1+(p-=v),m=1+(f-=v),d=v-1;d>=0;d--)e[g+d]=e[m+d];if(0===r){O=!0;break}}if(e[p--]=c[h--],1==--u){O=!0;break}if(0!=(y=u-s(e[f],c,0,u,u-1,t))){for(u-=y,g=1+(p-=y),m=1+(h-=y),d=0;d<y;d++)e[g+d]=c[m+d];if(u<=1){O=!0;break}}if(e[p--]=e[f--],0==--r){O=!0;break}A--}while(v>=o||y>=o);if(O)break;A<0&&(A=0),A+=2}if((i=A)<1&&(i=1),1===u){for(g=1+(p-=r),m=1+(f-=r),d=r-1;d>=0;d--)e[g+d]=e[m+d];e[p]=c[h]}else{if(0===u)throw new Error;for(m=p-(u-1),d=0;d<u;d++)e[m+d]=c[d]}}else{for(g=1+(p-=r),m=1+(f-=r),d=r-1;d>=0;d--)e[g+d]=e[m+d];e[p]=c[h]}else for(m=p-(u-1),d=0;d<u;d++)e[m+d]=c[d]}(d,f,h,p))}return n=[],r=[],{mergeRuns:function(){for(;a>1;){var e=a-2;if(e>=1&&r[e-1]<=r[e]+r[e+1]||e>=2&&r[e-2]<=r[e]+r[e-1])r[e-1]<r[e+1]&&e--;else if(r[e]>r[e+1])break;u(e)}},forceMergeRuns:function(){for(;a>1;){var e=a-2;e>0&&r[e-1]<r[e+1]&&e--,u(e)}},pushRun:function(e,t){n[a]=e,r[a]=t,a+=1}}}(e,t),h=function(e){for(var t=0;e>=r;)t|=1&e,e>>=1;return e+t}(u);do{if((d=i(e,n,c,t))<h){var p=u;p>h&&(p=h),a(e,n,n+p,n+d,t),d=p}f.pushRun(n,d),f.mergeRuns(),u-=d,n+=d}while(0!==u);f.forceMergeRuns()}}}},83509:function(e,t,n){"use strict";function r(e,t){return null==e&&(e=0),null==t&&(t=0),[e,t]}function o(e,t){return e[0]=t[0],e[1]=t[1],e}function i(e){return[e[0],e[1]]}function a(e,t,n){return e[0]=t,e[1]=n,e}function s(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function l(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function c(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function u(e){return Math.sqrt(f(e))}n.r(t),n.d(t,{add:function(){return s},applyTransform:function(){return S},clone:function(){return i},copy:function(){return o},create:function(){return r},dist:function(){return O},distSquare:function(){return w},distance:function(){return y},distanceSquare:function(){return b},div:function(){return m},dot:function(){return g},len:function(){return u},lenSquare:function(){return f},length:function(){return d},lengthSquare:function(){return h},lerp:function(){return x},max:function(){return C},min:function(){return k},mul:function(){return p},negate:function(){return _},normalize:function(){return v},scale:function(){return A},scaleAndAdd:function(){return l},set:function(){return a},sub:function(){return c}});var d=u;function f(e){return e[0]*e[0]+e[1]*e[1]}var h=f;function p(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function m(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function g(e,t){return e[0]*t[0]+e[1]*t[1]}function A(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function v(e,t){var n=u(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function y(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var O=y;function b(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var w=b;function _(e,t){return e[0]=-t[0],e[1]=-t[1],e}function x(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function S(e,t,n){var r=t[0],o=t[1];return e[0]=n[0]*r+n[2]*o+n[4],e[1]=n[1]*r+n[3]*o+n[5],e}function k(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function C(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}},83515:function(e,t,n){var r=n(3293),o=n(68142),i=n(96430);function a(e,t){var n=e.__proto__.constructor;return t?new n(t):new n}function s(e,t){return t?l(e,t):e}function l(e,t){if(e)switch(r.call(e)){case"[object Object]":var n=Object.create(Object.getPrototypeOf(e));return o(e,(function(e,r){n[r]=s(e,t)})),n;case"[object Date]":case"[object RegExp]":return a(e,e.valueOf());case"[object Array]":case"[object Arguments]":var l=[];return i(e,(function(e){l.push(s(e,t))})),l;case"[object Set]":var c=a(e);return c.forEach((function(e){c.add(s(e,t))})),c;case"[object Map]":var u=a(e);return u.forEach((function(e,n){u.set(n,s(e,t))})),u}return e}e.exports=function(e,t){return e?l(e,t):e}},83650:function(e,t,n){"use strict";var r=n(97080),o=n(94402),i=n(89286),a=n(83789),s=n(40507),l=o.add,c=o.has,u=o.remove;e.exports=function(e){var t=r(this),n=a(e).getIterator(),o=i(t);return s(n,(function(e){c(t,e)?u(o,e):l(o,e)})),o}},83683:function(e,t,n){n(42120)},83789:function(e,t,n){"use strict";var r=n(79306),o=n(28551),i=n(69565),a=n(91291),s=n(1767),l="Invalid size",c=RangeError,u=TypeError,d=Math.max,f=function(e,t){this.set=e,this.size=d(t,0),this.has=r(e.has),this.keys=r(e.keys)};f.prototype={getIterator:function(){return s(o(i(this.keys,this.set)))},includes:function(e){return i(this.has,this.set,e)}},e.exports=function(e){o(e);var t=+e.size;if(t!=t)throw new u(l);var n=a(t);if(n<0)throw new c(l);return new f(e,n)}},84171:function(e,t,n){"use strict";var r=n(18744),o=function(){try{var e=(0,r.A)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.A=o},84215:function(e,t,n){"use strict";var r=n(44576),o=n(82839),i=n(22195),a=function(e){return o.slice(0,e.length)===e};e.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":r.Bun&&"string"==typeof Bun.version?"BUN":r.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(r.process)?"NODE":r.window&&r.document?"BROWSER":"REST"},84253:function(e,t,n){var r=n(48007),o=n(54364),i=n(53876),a=n(35224),s=[["yyyy",31536e6],["MM",2592e6],["dd",864e5],["HH",36e5],["mm",6e4],["ss",1e3],["S",0]];e.exports=function(e,t){var n,l,c,u,d,f,h={done:!1,time:0};if(e=i(e),t=t?i(t):o(),a(e)&&a(t)&&(n=r(e))<(l=r(t)))for(u=h.time=l-n,h.done=!0,f=0,d=s.length;f<d;f++)u>=(c=s[f])[1]?f===d-1?h[c[0]]=u||0:(h[c[0]]=Math.floor(u/c[1]),u-=h[c[0]]*c[1]):h[c[0]]=0;return h}},84270:function(e,t,n){"use strict";var r=n(69565),o=n(94901),i=n(20034),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!i(s=r(n,e)))return s;if(o(n=e.valueOf)&&!i(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!i(s=r(n,e)))return s;throw new a("Can't convert object to primitive value")}},84618:function(e,t,n){"use strict";var r=n(15215),o=n(5070),i=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(e){function t(t){var n=e.call(this,t)||this;return n.type="sausage",n}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new i},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,o=Math.max(t.r0||0,0),i=Math.max(t.r,0),a=.5*(i-o),s=o+a,l=t.startAngle,c=t.endAngle,u=t.clockwise,d=2*Math.PI,f=u?c-l<d:l-c<d;f||(l=c-(u?d:-d));var h=Math.cos(l),p=Math.sin(l),m=Math.cos(c),g=Math.sin(c);f?(e.moveTo(h*o+n,p*o+r),e.arc(h*s+n,p*s+r,a,-Math.PI+l,l,!u)):e.moveTo(h*i+n,p*i+r),e.arc(n,r,i,l,c,!u),e.arc(m*s+n,g*s+r,a,c-2*Math.PI,c-Math.PI,!u),0!==o&&e.arc(n,r,o,c,l,u)},t}(o.Ay);t.A=a},84716:function(e,t,n){"use strict";var r=n(26346),o=[0,0],i=[0,0],a=new r.A,s=new r.A,l=function(){function e(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new r.A;for(n=0;n<2;n++)this._axes[n]=new r.A;e&&this.fromBoundingRect(e,t)}return e.prototype.fromBoundingRect=function(e,t){var n=this._corners,o=this._axes,i=e.x,a=e.y,s=i+e.width,l=a+e.height;if(n[0].set(i,a),n[1].set(s,a),n[2].set(s,l),n[3].set(i,l),t)for(var c=0;c<4;c++)n[c].transform(t);for(r.A.sub(o[0],n[1],n[0]),r.A.sub(o[1],n[3],n[0]),o[0].normalize(),o[1].normalize(),c=0;c<2;c++)this._origin[c]=o[c].dot(n[0])},e.prototype.intersect=function(e,t){var n=!0,o=!t;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,e,a,s,o,1)&&(n=!1,o)||!this._intersectCheckOneSide(e,this,a,s,o,-1)&&(n=!1,o)||o||r.A.copy(t,n?a:s),n},e.prototype._intersectCheckOneSide=function(e,t,n,a,s,l){for(var c=!0,u=0;u<2;u++){var d=this._axes[u];if(this._getProjMinMaxOnAxis(u,e._corners,o),this._getProjMinMaxOnAxis(u,t._corners,i),o[1]<i[0]||o[0]>i[1]){if(c=!1,s)return c;var f=Math.abs(i[0]-o[1]),h=Math.abs(o[0]-i[1]);Math.min(f,h)>a.len()&&(f<h?r.A.scale(a,d,-f*l):r.A.scale(a,d,h*l))}else n&&(f=Math.abs(i[0]-o[1]),h=Math.abs(o[0]-i[1]),Math.min(f,h)<n.len()&&(f<h?r.A.scale(n,d,f*l):r.A.scale(n,d,-h*l)))}return c},e.prototype._getProjMinMaxOnAxis=function(e,t,n){for(var r=this._axes[e],o=this._origin,i=t[0].dot(r)+o[e],a=i,s=i,l=1;l<t.length;l++){var c=t[l].dot(r)+o[e];a=Math.min(c,a),s=Math.max(c,s)}n[0]=a,n[1]=s},e}();t.A=l},84815:function(e,t,n){var r=n(40481),o=n(658);e.exports=function(e,t){return o(r(e),t)}},84916:function(e,t,n){"use strict";var r=n(97751),o=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},i=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};e.exports=function(e,t){var n=r("Set");try{(new n)[e](o(0));try{return(new n)[e](o(-1)),!1}catch(r){if(!t)return!0;try{return(new n)[e](i(-1/0)),!1}catch(r){var a=new n;return a.add(1),a.add(2),t(a[e](i(1/0)))}}}catch(e){return!1}}},85109:function(e,t,n){"use strict";n.d(t,{bM:function(){return g}});var r=n(62144),o=n(15874),i=n(43720);const a="#e06c75",s="#abb2bf",l="#7d8799",c="#d19a66",u="#2c313a",d="#282c34",f="#353a42",h="#528bff",p=r.Lz.theme({"&":{color:s,backgroundColor:d},".cm-content":{caretColor:h},".cm-cursor, .cm-dropCursor":{borderLeftColor:h},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:s},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:d,color:l,border:"none"},".cm-activeLineGutter":{backgroundColor:u},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:f},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:f,borderBottomColor:f},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:u,color:s}}},{dark:!0}),m=o.cr.define([{tag:i._A.keyword,color:"#c678dd"},{tag:[i._A.name,i._A.deleted,i._A.character,i._A.propertyName,i._A.macroName],color:a},{tag:[i._A.function(i._A.variableName),i._A.labelName],color:"#61afef"},{tag:[i._A.color,i._A.constant(i._A.name),i._A.standard(i._A.name)],color:c},{tag:[i._A.definition(i._A.name),i._A.separator],color:s},{tag:[i._A.typeName,i._A.className,i._A.number,i._A.changed,i._A.annotation,i._A.modifier,i._A.self,i._A.namespace],color:"#e5c07b"},{tag:[i._A.operator,i._A.operatorKeyword,i._A.url,i._A.escape,i._A.regexp,i._A.link,i._A.special(i._A.string)],color:"#56b6c2"},{tag:[i._A.meta,i._A.comment],color:l},{tag:i._A.strong,fontWeight:"bold"},{tag:i._A.emphasis,fontStyle:"italic"},{tag:i._A.strikethrough,textDecoration:"line-through"},{tag:i._A.link,color:l,textDecoration:"underline"},{tag:i._A.heading,fontWeight:"bold",color:a},{tag:[i._A.atom,i._A.bool,i._A.special(i._A.variableName)],color:c},{tag:[i._A.processingInstruction,i._A.string,i._A.inserted],color:"#98c379"},{tag:i._A.invalid,color:"#ffffff"}]),g=[p,(0,o.y9)(m)]},85645:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.Env"),n=function(e){return e.getParam("pagebreak_split_block",!1)},r="mce-pagebreak",o=function(e){var n='<img src="'+t.transparentSrc+'" class="'+r+'" data-mce-resize="false" data-mce-placeholder />';return e?"<p>"+n+"</p>":n};e.add("pagebreak",(function(e){!function(e){e.addCommand("mcePageBreak",(function(){e.insertContent(o(n(e)))}))}(e),function(e){var t=function(){return e.execCommand("mcePageBreak")};e.ui.registry.addButton("pagebreak",{icon:"page-break",tooltip:"Page break",onAction:t}),e.ui.registry.addMenuItem("pagebreak",{text:"Page break",icon:"page-break",onAction:t})}(e),function(e){var t=function(e){return e.getParam("pagebreak_separator","\x3c!-- pagebreak --\x3e")}(e),i=function(){return n(e)},a=new RegExp(t.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,(function(e){return"\\"+e})),"gi");e.on("BeforeSetContent",(function(e){e.content=e.content.replace(a,o(i()))})),e.on("PreInit",(function(){e.serializer.addNodeFilter("img",(function(n){for(var o,a,s=n.length;s--;)if((a=(o=n[s]).attr("class"))&&-1!==a.indexOf(r)){var l=o.parent;if(e.schema.getBlockElements()[l.name]&&i()){l.type=3,l.value=t,l.raw=!0,o.remove();continue}o.type=3,o.value=t,o.raw=!0}}))}))}(e),function(e){e.on("ResolveName",(function(t){"IMG"===t.target.nodeName&&e.dom.hasClass(t.target,r)&&(t.name="pagebreak")}))}(e)}))}()},85860:function(e,t,n){var r=n(20495),o=n(89028);e.exports=function(e){var t,n,i,a=[];if(e&&e.length)for(t=0,i=(n=o(e,(function(e){return e?e.length:0})))?n.length:0;t<i;t++)a.push(r(e,t));return a}},86075:function(e,t,n){var r=n(79135),o=n(74409),i=n(69821);e.exports=function(e,t){return function(n,a){if(n){if(n[e])return n[e](a);if(o(n)||r(n))return t(n,a);for(var s in n)if(i(n,s)&&a===n[s])return s}return-1}}},86586:function(e,t,n){"use strict";var r=n(92049),o=n(61882),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.A=function(e,t){if((0,r.A)(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!(0,o.A)(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},86830:function(e,t,n){"use strict";var r=n(97080),o=n(94402).has,i=n(25170),a=n(83789),s=n(38469),l=n(40507),c=n(9539);e.exports=function(e){var t=r(this),n=a(e);if(i(t)<=n.size)return!1!==s(t,(function(e){if(n.includes(e))return!1}),!0);var u=n.getIterator();return!1!==l(u,(function(e){if(o(t,e))return c(u,"normal",!1)}))}},87187:function(){!function(){"use strict";var e,t,n=function(e){var t=e;return{get:function(){return t},set:function(e){t=e}}},r=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)},i=function(e){return function(t){return r=typeof(n=t),(null===n?"null":"object"===r&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"===r&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":r)===e;var n,r}},a=function(e){return function(t){return typeof t===e}},s=i("string"),l=i("array"),c=a("boolean"),u=a("number"),d=function(){},f=function(e){return function(){return e}},h=f(!1),p=f(!0),m=f("[!-#%-*,-\\/:;?@\\[-\\]_{}¡«·»¿;·՚-՟։֊־׀׃׆׳״؉؊،؍؛؞؟٪-٭۔܀-܍߷-߹࠰-࠾࡞।॥॰෴๏๚๛༄-༒༺-༽྅࿐-࿔࿙࿚၊-၏჻፡-፨᐀᙭᙮᚛᚜᛫-᛭᜵᜶។-៖៘-៚᠀-᠊᥄᥅᨞᨟᪠-᪦᪨-᪭᭚-᭠᯼-᯿᰻-᰿᱾᱿᳓‐-‧‰-⁃⁅-⁑⁓-⁞⁽⁾₍₎〈〉❨-❵⟅⟆⟦-⟯⦃-⦘⧘-⧛⧼⧽⳹-⳼⳾⳿⵰⸀-⸮⸰⸱、-〃〈-】〔-〟〰〽゠・꓾꓿꘍-꘏꙳꙾꛲-꛷꡴-꡷꣎꣏꣸-꣺꤮꤯꥟꧁-꧍꧞꧟꩜-꩟꫞꫟꯫﴾﴿︐-︙︰-﹒﹔-﹡﹣﹨﹪﹫!----]_{}⦅-・]"),g=function(){return A},A={fold:function(e,t){return e()},isSome:h,isNone:p,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:f(null),getOrUndefined:f(void 0),or:t,orThunk:e,map:g,each:d,bind:g,exists:h,forall:p,filter:function(){return g()},toArray:function(){return[]},toString:f("none()")},v=function(e){var t=f(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:p,isNone:h,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return v(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:A},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},y={some:v,none:g,from:function(e){return null==e?A:v(e)}},O=m,b=tinymce.util.Tools.resolve("tinymce.Env"),w=tinymce.util.Tools.resolve("tinymce.util.Tools"),_=Array.prototype.slice,x=Array.prototype.push,S=function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r},k=function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)},C=function(e,t){for(var n=e.length-1;n>=0;n--)t(e[n],n)},B=function(e,t){return function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!l(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);x.apply(t,e[n])}return t}(S(e,t))},Q=Object.hasOwnProperty,T=function(e,t){return Q.call(e,t)};"undefined"!=typeof window?window:Function("return this;")();var E,P,$=function(e){return 3===function(e){return e.dom.nodeType}(e)},M=function(e){if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},z=M,R=function(e,t){return{element:e,offset:t}},D=function(e,t){(function(e,t){var n=function(e){return y.from(e.dom.parentNode).map(z)}(e);n.each((function(n){n.dom.insertBefore(t.dom,e.dom)}))})(e,t),function(e,t){e.dom.appendChild(t.dom)}(t,e)},I=(E=$,{get:function(e){if(!E(e))throw new Error("Can only get text value of a text node");return P(e).getOr("")},getOption:P=function(e){return E(e)?y.from(e.dom.nodeValue):y.none()},set:function(e,t){if(!E(e))throw new Error("Can only set raw text value of a text node");e.dom.nodeValue=t}}),N=function(e){return I.get(e)},L=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),V=function(e,t){return e.isBlock(t)||T(e.schema.getShortEndedElements(),t.nodeName)},U=function(e,t){return"false"===e.getContentEditable(t)},F=function(e,t){return!e.isBlock(t)&&T(e.schema.getWhiteSpaceElements(),t.nodeName)},H=function(e,t){return function(e,t){var n=function(e){return S(e.dom.childNodes,z)}(e);return n.length>0&&t<n.length?R(n[t],0):R(e,t)}(z(e),t)},W=function(e,t,n,r,o,i){void 0===i&&(i=!0);for(var a=i?t(!1):n;a;){var s=U(e,a);if(s||F(e,a)){if(s?r.cef(a):r.boundary(a))break;a=t(!0)}else{if(V(e,a)){if(r.boundary(a))break}else 3===a.nodeType&&r.text(a);if(a===o)break;a=t(!1)}}},X=function(e,t,n,r,o){if(!function(e,t){return V(e,t)||U(e,t)||F(e,t)||function(e,t){return"true"===e.getContentEditable(t)&&"false"===e.getContentEditableParent(t.parentNode)}(e,t)}(e,n)){var i=e.getParent(r,e.isBlock),a=new L(n,i),s=o?a.next.bind(a):a.prev.bind(a);W(e,s,n,{boundary:p,cef:p,text:function(e){o?t.fOffset+=e.length:t.sOffset+=e.length,t.elements.push(z(e))}})}},j=function(e,t,n,r,o,i){void 0===i&&(i=!0);var a=new L(n,t),s=[],l={sOffset:0,fOffset:0,elements:[]};X(e,l,n,t,!1);var c=function(){return l.elements.length>0&&(s.push(l),l={sOffset:0,fOffset:0,elements:[]}),!1};return W(e,a.next.bind(a),n,{boundary:c,cef:function(e){return c(),o&&s.push.apply(s,o.cef(e)),!1},text:function(e){l.elements.push(z(e)),o&&o.text(e,l)}},r,i),r&&X(e,l,r,t,!0),c(),s},q=function(e,t){var n=H(t.startContainer,t.startOffset),r=n.element.dom,o=H(t.endContainer,t.endOffset),i=o.element.dom;return j(e,t.commonAncestorContainer,r,i,{text:function(e,t){e===i?t.fOffset+=e.length-o.offset:e===r&&(t.sOffset+=n.offset)},cef:function(t){var n,r,o,i,a=B((i=z(t),function(e,t){var n,r=void 0===t?document:t.dom;return 1!==(n=r).nodeType&&9!==n.nodeType&&11!==n.nodeType||0===n.childElementCount?[]:S(r.querySelectorAll(e),z)}("*[contenteditable=true]",i)),(function(t){var n=t.dom;return j(e,n,n)}));return n=a,r=function(e,t){return function(e,t){return function(e,t,n){return!!(e.compareDocumentPosition(t)&n)}(e,t,Node.DOCUMENT_POSITION_PRECEDING)}(e.elements[0].dom,t.elements[0].dom)?1:-1},(o=_.call(n,0)).sort(r),o}},!1)},Z=function(e,t){return t.collapsed?[]:q(e,t)},Y=function(e,t){var n=e.createRng();return n.selectNode(t),Z(e,n)},G=function(e,t){return B(t,(function(t){var n=t.elements,r=S(n,N).join(""),o=function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=e.length);var o=t.regex;o.lastIndex=n;for(var i,a=[];i=o.exec(e);){var s=i[t.matchIndex],l=i.index+i[0].indexOf(s),c=l+s.length;if(c>r)break;a.push({start:l,finish:c}),o.lastIndex=c}return a}(r,e,t.sOffset,r.length-t.fOffset);return function(e,t){var n,r,o,i=(n=e,r=function(e,n){var r=N(n),o=e.last,i=o+r.length,a=B(t,(function(e,t){return e.start<i&&e.finish>o?[{element:n,start:Math.max(o,e.start)-o,finish:Math.min(i,e.finish)-o,matchId:t}]:[]}));return{results:e.results.concat(a),last:i}},o={results:[],last:0},k(n,(function(e,t){o=r(o,e)})),o).results;return function(e,t){if(0===e.length)return[];for(var n=t(e[0]),r=[],o=[],i=0,a=e.length;i<a;i++){var s=e[i],l=t(s);l!==n&&(r.push(o),o=[]),n=l,o.push(s)}return 0!==o.length&&r.push(o),r}(i,(function(e){return e.matchId}))}(n,o)}))},K=function(e,t){C(e,(function(e,n){C(e,(function(e){var r=z(t.cloneNode(!1));!function(e,t,n){!function(e,t,n){if(!(s(n)||c(n)||u(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")}(e.dom,t,n)}(r,"data-mce-index",n);var o=e.element.dom;if(o.length===e.finish&&0===e.start)D(e.element,r);else{o.length!==e.finish&&o.splitText(e.finish);var i=o.splitText(e.start);D(z(i),r)}}))}))},J=function(e){var t=e.getAttribute("data-mce-index");return"number"==typeof t?""+t:t},ee=function(e,t,n,r){var o=e.dom.create("span",{"data-mce-bogus":1});o.className="mce-match-marker";var i=e.getBody();return ue(e,t,!1),r?function(e,t,n,r){var o=n.getBookmark(),i=e.select("td[data-mce-selected],th[data-mce-selected]"),a=i.length>0?function(e,t){return B(t,(function(t){return Y(e,t)}))}(e,i):Z(e,n.getRng()),s=G(t,a);return K(s,r),n.moveToBookmark(o),s.length}(e.dom,n,e.selection,o):function(e,t,n,r){var o=Y(e,n),i=G(t,o);return K(i,r),i.length}(e.dom,n,i,o)},te=function(e){var t=e.parentNode;e.firstChild&&t.insertBefore(e.firstChild,e),e.parentNode.removeChild(e)},ne=function(e,t){var n=[],r=w.toArray(e.getBody().getElementsByTagName("span"));if(r.length)for(var o=0;o<r.length;o++){var i=J(r[o]);null!==i&&i.length&&i===t.toString()&&n.push(r[o])}return n},re=function(e,t,n){var r=t.get(),o=r.index,i=e.dom;(n=!1!==n)?o+1===r.count?o=0:o++:o-1==-1?o=r.count-1:o--,i.removeClass(ne(e,r.index),"mce-match-marker-selected");var a=ne(e,o);return a.length?(i.addClass(ne(e,o),"mce-match-marker-selected"),e.selection.scrollIntoView(a[0]),o):-1},oe=function(e,t){var n=t.parentNode;e.remove(t),e.isEmpty(n)&&e.remove(n)},ie=function(e,t,n,r,o,i){var a=e.selection,s=function(e,t){var n="("+e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&").replace(/\s/g,"[^\\S\\r\\n\\uFEFF]")+")";return t?"(?:^|\\s|"+O()+")"+n+"(?=$|\\s|"+O()+")":n}(n,o),l=a.isForward(),c={regex:new RegExp(s,r?"g":"gi"),matchIndex:1},u=ee(e,t,c,i);if(b.browser.isSafari()&&a.setRng(a.getRng(),l),u){var d=re(e,t,!0);t.set({index:d,count:u,text:n,matchCase:r,wholeWord:o,inSelection:i})}return u},ae=function(e,t){var n=re(e,t,!0);t.set(o(o({},t.get()),{index:n}))},se=function(e,t){var n=re(e,t,!1);t.set(o(o({},t.get()),{index:n}))},le=function(e){var t=J(e);return null!==t&&t.length>0},ce=function(e,t,n,r,i){var a,s=t.get(),l=s.index,c=l;r=!1!==r;for(var u=e.getBody(),d=w.grep(w.toArray(u.getElementsByTagName("span")),le),f=0;f<d.length;f++){var h=J(d[f]),p=a=parseInt(h,10);if(i||p===s.index){for(n.length?(d[f].firstChild.nodeValue=n,te(d[f])):oe(e.dom,d[f]);d[++f];){if((p=parseInt(J(d[f]),10))!==a){f--;break}oe(e.dom,d[f])}r&&c--}else a>l&&d[f].setAttribute("data-mce-index",String(a-1))}return t.set(o(o({},s),{count:i?0:s.count-1,index:c})),r?ae(e,t):se(e,t),!i&&t.get().count>0},ue=function(e,t,n){for(var r,i,a=t.get(),s=w.toArray(e.getBody().getElementsByTagName("span")),l=0;l<s.length;l++){var c=J(s[l]);null!==c&&c.length&&(c===a.index.toString()&&(r||(r=s[l].firstChild),i=s[l].firstChild),te(s[l]))}if(t.set(o(o({},a),{index:-1,count:0,text:""})),r&&i){var u=e.dom.createRng();return u.setStart(r,0),u.setEnd(i,i.data.length),!1!==n&&e.selection.setRng(u),u}},de=function(e,t){var r,i=(r=function(e){var t=n(y.none()),r=function(){return t.get().each(e)};return{clear:function(){r(),t.set(y.none())},isSet:function(){return t.get().isSome()},get:function(){return t.get()},set:function(e){r(),t.set(y.some(e))}}}(d),o(o({},r),{on:function(e){return r.get().each(e)}}));e.undoManager.add();var a=w.trim(e.selection.getContent({format:"text"})),s=function(e){var n=function(e,t){return t.get().count>1}(0,t)?e.enable:e.disable;n("next");var r=function(e,t){return t.get().count>1}(0,t)?e.enable:e.disable;r("prev")},l=function(e,t){var n=t?e.disable:e.enable;k(["replace","replaceall","prev","next"],n)},c=function(e,t){b.browser.isSafari()&&b.deviceType.isTouch()&&("find"===t||"replace"===t||"replaceall"===t)&&e.focus(t)},u=function(n){ue(e,t,!1),l(n,!0),s(n)},f=function(n){var r=n.getData(),o=t.get();if(r.findtext.length){if(o.text===r.findtext&&o.matchCase===r.matchcase&&o.wholeWord===r.wholewords)ae(e,t);else{var i=ie(e,t,r.findtext,r.matchcase,r.wholewords,r.inselection);i<=0&&function(t){e.windowManager.alert("Could not find the specified string.",(function(){t.focus("findtext")}))}(n),l(n,0===i)}s(n)}else u(n)},h=t.get(),p={title:"Find and Replace",size:"normal",body:{type:"panel",items:[{type:"bar",items:[{type:"input",name:"findtext",placeholder:"Find",maximized:!0,inputMode:"search"},{type:"button",name:"prev",text:"Previous",icon:"action-prev",disabled:!0,borderless:!0},{type:"button",name:"next",text:"Next",icon:"action-next",disabled:!0,borderless:!0}]},{type:"input",name:"replacetext",placeholder:"Replace with",inputMode:"search"}]},buttons:[{type:"menu",name:"options",icon:"preferences",tooltip:"Preferences",align:"start",items:[{type:"togglemenuitem",name:"matchcase",text:"Match case"},{type:"togglemenuitem",name:"wholewords",text:"Find whole words only"},{type:"togglemenuitem",name:"inselection",text:"Find in selection"}]},{type:"custom",name:"find",text:"Find",primary:!0},{type:"custom",name:"replace",text:"Replace",disabled:!0},{type:"custom",name:"replaceall",text:"Replace all",disabled:!0}],initialData:{findtext:a,replacetext:"",wholewords:h.wholeWord,matchcase:h.matchCase,inselection:h.inSelection},onChange:function(e,n){"findtext"===n.name&&t.get().count>0&&u(e)},onAction:function(n,r){var i=n.getData();switch(r.name){case"find":f(n);break;case"replace":ce(e,t,i.replacetext)?s(n):u(n);break;case"replaceall":ce(e,t,i.replacetext,!0,!0),u(n);break;case"prev":se(e,t),s(n);break;case"next":ae(e,t),s(n);break;case"matchcase":case"wholewords":case"inselection":!function(e){var n=e.getData(),r=t.get();t.set(o(o({},r),{matchCase:n.matchcase,wholeWord:n.wholewords,inSelection:n.inselection}))}(n),u(n)}c(n,r.name)},onSubmit:function(e){f(e),c(e,"find")},onClose:function(){e.focus(),ue(e,t),e.undoManager.add()}};i.set(e.windowManager.open(p,{inline:"toolbar"}))},fe=function(e,t){return function(){de(e,t)}};r.add("searchreplace",(function(e){var t=n({index:-1,count:0,text:"",matchCase:!1,wholeWord:!1,inSelection:!1});return function(e,t){e.addCommand("SearchReplace",(function(){de(e,t)}))}(e,t),function(e,t){e.ui.registry.addMenuItem("searchreplace",{text:"Find and replace...",shortcut:"Meta+F",onAction:fe(e,t),icon:"search"}),e.ui.registry.addButton("searchreplace",{tooltip:"Find and replace",onAction:fe(e,t),icon:"search"}),e.shortcuts.add("Meta+F","",fe(e,t))}(e,t),function(e,t){return{done:function(n){return ue(e,t,n)},find:function(n,r,o,i){return void 0===i&&(i=!1),ie(e,t,n,r,o,i)},next:function(){return ae(e,t)},prev:function(){return se(e,t)},replace:function(n,r,o){return ce(e,t,n,r,o)}}}(e,t)}))}()},87314:function(e,t,n){var r=n(54477),o=n(74409);e.exports=function(e){if(r(e))return e;if(o(e))try{return JSON.parse(e)}catch(e){}return{}}},87400:function(e,t,n){var r=n(95962),o=n(99917);e.exports=function(e,t){var n=o(e),i=o(t);return parseInt(n.replace(".",""))*parseInt(i.replace(".",""))/Math.pow(10,r(n)+r(i))}},87404:function(e,t,n){"use strict";n.d(t,{vx:function(){return l},Ym:function(){return c}});var r=n(61431),o=n(77500),i={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const a=e=>(t,n)=>s(t,n,(0,r.unref)(e)),s=(e,t,n)=>(0,o.A)(n,e,e).replace(/\{(\w+)\}/g,((e,n)=>{var r;return`${null!=(r=null==t?void 0:t[n])?r:`{${n}}`}`})),l=Symbol("localeContextKey"),c=e=>{const t=e||(0,r.inject)(l,(0,r.ref)());return(e=>({lang:(0,r.computed)((()=>(0,r.unref)(e).name)),locale:(0,r.isRef)(e)?e:(0,r.ref)(e),t:a(e)}))((0,r.computed)((()=>t.value||i)))}},87516:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),n=tinymce.util.Tools.resolve("tinymce.EditorManager"),r=tinymce.util.Tools.resolve("tinymce.Env"),o=tinymce.util.Tools.resolve("tinymce.util.Delay"),i=tinymce.util.Tools.resolve("tinymce.util.Tools"),a=tinymce.util.Tools.resolve("tinymce.util.VK"),s=t.DOM,l=function(e){e.keyCode!==a.TAB||e.ctrlKey||e.altKey||e.metaKey||e.preventDefault()};e.add("tabfocus",(function(e){!function(e){var t=function(t){var l;if(!(t.keyCode!==a.TAB||t.ctrlKey||t.altKey||t.metaKey||t.isDefaultPrevented())){var c,u=function(r){var o=s.select(":input:enabled,*[tabindex]:not(iframe)"),a=function(e){var t=e;return"BODY"===e.nodeName||"hidden"!==t.type&&"none"!==t.style.display&&"hidden"!==t.style.visibility&&a(e.parentNode)},c=function(e){return/INPUT|TEXTAREA|BUTTON/.test(e.tagName)&&n.get(t.id)&&-1!==e.tabIndex&&a(e)};if(i.each(o,(function(t,n){if(t.id===e.id)return l=n,!1})),r>0){for(var u=l+1;u<o.length;u++)if(c(o[u]))return o[u]}else for(u=l-1;u>=0;u--)if(c(o[u]))return o[u];return null},d=i.explode(function(e){return e.getParam("tab_focus",function(e){return e.getParam("tabfocus_elements",":prev,:next")}(e))}(e));if(1===d.length&&(d[1]=d[0],d[0]=":prev"),c=t.shiftKey?":prev"===d[0]?u(-1):s.get(d[0]):":next"===d[1]?u(1):s.get(d[1])){var f=n.get(c.id||c.name);c.id&&f?f.focus():o.setTimeout((function(){r.webkit||window.focus(),c.focus()}),10),t.preventDefault()}}};e.on("init",(function(){e.inline&&s.setAttrib(e.getBody(),"tabIndex",null),e.on("keyup",l),r.gecko?e.on("keypress keydown",t):e.on("keydown",t)}))}(e)}))}()},87561:function(e,t,n){var r=n(61431);Object.keys(r).forEach((function(e){t[e]=r[e]})),t.set=function(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)},t.del=function(e,t){Array.isArray(e)?e.splice(t,1):delete e[t]},t.Vue=r,t.Vue2=void 0,t.isVue2=!1,t.isVue3=!0,t.install=function(){}},87582:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(48170);function o(){var e=(0,r.$r)();return function(t){var n=e(t),r=t.pipelineContext,o=!!n.large,i=!!n.progressiveRender,a=n.large=!(!r||!r.large),s=n.progressiveRender=!(!r||!r.progressiveRender);return!(o===a&&i===s)&&"reset"}}},87648:function(e,t,n){n(10813)},88496:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(241),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r.A?r.A.toStringTag:void 0,l=Object.prototype.toString,c=r.A?r.A.toStringTag:void 0,u=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}(e):function(e){return l.call(e)}(e)}},88727:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},88827:function(e,t,n){var r=n(48007),o=n(50670);e.exports=function(e){return r(o(e))}},89028:function(e,t,n){var r=n(28498)((function(e,t){return e<t}));e.exports=r},89093:function(e,t,n){var r=n(98594)("number");e.exports=r},89259:function(e,t,n){"use strict";n.d(t,{Et:function(){return O},YT:function(){return y},Yb:function(){return m},_E:function(){return A},d8:function(){return B},gC:function(){return S},h0:function(){return b},k3:function(){return w},kh:function(){return C},kx:function(){return k},lX:function(){return v},qY:function(){return x},rD:function(){return g},z7:function(){return _}});var r=n(83509),o=Math.pow,i=Math.sqrt,a=1e-8,s=1e-4,l=i(3),c=1/3,u=(0,r.create)(),d=(0,r.create)(),f=(0,r.create)();function h(e){return e>-a&&e<a}function p(e){return e>a||e<-a}function m(e,t,n,r,o){var i=1-o;return i*i*(i*e+3*o*t)+o*o*(o*r+3*i*n)}function g(e,t,n,r,o){var i=1-o;return 3*(((t-e)*i+2*(n-t)*o)*i+(r-n)*o*o)}function A(e,t,n,r,a,s){var u=r+3*(t-n)-e,d=3*(n-2*t+e),f=3*(t-e),p=e-a,m=d*d-3*u*f,g=d*f-9*u*p,A=f*f-3*d*p,v=0;if(h(m)&&h(g))h(d)?s[0]=0:(Q=-f/d)>=0&&Q<=1&&(s[v++]=Q);else{var y=g*g-4*m*A;if(h(y)){var O=g/m,b=-O/2;(Q=-d/u+O)>=0&&Q<=1&&(s[v++]=Q),b>=0&&b<=1&&(s[v++]=b)}else if(y>0){var w=i(y),_=m*d+1.5*u*(-g+w),x=m*d+1.5*u*(-g-w);(Q=(-d-((_=_<0?-o(-_,c):o(_,c))+(x=x<0?-o(-x,c):o(x,c))))/(3*u))>=0&&Q<=1&&(s[v++]=Q)}else{var S=(2*m*d-3*u*g)/(2*i(m*m*m)),k=Math.acos(S)/3,C=i(m),B=Math.cos(k),Q=(-d-2*C*B)/(3*u),T=(b=(-d+C*(B+l*Math.sin(k)))/(3*u),(-d+C*(B-l*Math.sin(k)))/(3*u));Q>=0&&Q<=1&&(s[v++]=Q),b>=0&&b<=1&&(s[v++]=b),T>=0&&T<=1&&(s[v++]=T)}}return v}function v(e,t,n,r,o){var a=6*n-12*t+6*e,s=9*t+3*r-3*e-9*n,l=3*t-3*e,c=0;if(h(s))p(a)&&(d=-l/a)>=0&&d<=1&&(o[c++]=d);else{var u=a*a-4*s*l;if(h(u))o[0]=-a/(2*s);else if(u>0){var d,f=i(u),m=(-a-f)/(2*s);(d=(-a+f)/(2*s))>=0&&d<=1&&(o[c++]=d),m>=0&&m<=1&&(o[c++]=m)}}return c}function y(e,t,n,r,o,i){var a=(t-e)*o+e,s=(n-t)*o+t,l=(r-n)*o+n,c=(s-a)*o+a,u=(l-s)*o+s,d=(u-c)*o+c;i[0]=e,i[1]=a,i[2]=c,i[3]=d,i[4]=d,i[5]=u,i[6]=l,i[7]=r}function O(e,t,n,o,a,l,c,h,p,g,A){var v,y,O,b,w,_=.005,x=1/0;u[0]=p,u[1]=g;for(var S=0;S<1;S+=.05)d[0]=m(e,n,a,c,S),d[1]=m(t,o,l,h,S),(b=(0,r.distSquare)(u,d))<x&&(v=S,x=b);x=1/0;for(var k=0;k<32&&!(_<s);k++)y=v-_,O=v+_,d[0]=m(e,n,a,c,y),d[1]=m(t,o,l,h,y),b=(0,r.distSquare)(d,u),y>=0&&b<x?(v=y,x=b):(f[0]=m(e,n,a,c,O),f[1]=m(t,o,l,h,O),w=(0,r.distSquare)(f,u),O<=1&&w<x?(v=O,x=w):_*=.5);return A&&(A[0]=m(e,n,a,c,v),A[1]=m(t,o,l,h,v)),i(x)}function b(e,t,n,r,o,i,a,s,l){for(var c=e,u=t,d=0,f=1/l,h=1;h<=l;h++){var p=h*f,g=m(e,n,o,a,p),A=m(t,r,i,s,p),v=g-c,y=A-u;d+=Math.sqrt(v*v+y*y),c=g,u=A}return d}function w(e,t,n,r){var o=1-r;return o*(o*e+2*r*t)+r*r*n}function _(e,t,n,r){return 2*((1-r)*(t-e)+r*(n-t))}function x(e,t,n,r,o){var a=e-2*t+n,s=2*(t-e),l=e-r,c=0;if(h(a))p(s)&&(d=-l/s)>=0&&d<=1&&(o[c++]=d);else{var u=s*s-4*a*l;if(h(u))(d=-s/(2*a))>=0&&d<=1&&(o[c++]=d);else if(u>0){var d,f=i(u),m=(-s-f)/(2*a);(d=(-s+f)/(2*a))>=0&&d<=1&&(o[c++]=d),m>=0&&m<=1&&(o[c++]=m)}}return c}function S(e,t,n){var r=e+n-2*t;return 0===r?.5:(e-t)/r}function k(e,t,n,r,o){var i=(t-e)*r+e,a=(n-t)*r+t,s=(a-i)*r+i;o[0]=e,o[1]=i,o[2]=s,o[3]=s,o[4]=a,o[5]=n}function C(e,t,n,o,a,l,c,h,p){var m,g=.005,A=1/0;u[0]=c,u[1]=h;for(var v=0;v<1;v+=.05)d[0]=w(e,n,a,v),d[1]=w(t,o,l,v),(_=(0,r.distSquare)(u,d))<A&&(m=v,A=_);A=1/0;for(var y=0;y<32&&!(g<s);y++){var O=m-g,b=m+g;d[0]=w(e,n,a,O),d[1]=w(t,o,l,O);var _=(0,r.distSquare)(d,u);if(O>=0&&_<A)m=O,A=_;else{f[0]=w(e,n,a,b),f[1]=w(t,o,l,b);var x=(0,r.distSquare)(f,u);b<=1&&x<A?(m=b,A=x):g*=.5}}return p&&(p[0]=w(e,n,a,m),p[1]=w(t,o,l,m)),i(A)}function B(e,t,n,r,o,i,a){for(var s=e,l=t,c=0,u=1/a,d=1;d<=a;d++){var f=d*u,h=w(e,n,o,f),p=w(t,r,i,f),m=h-s,g=p-l;c+=Math.sqrt(m*m+g*g),s=h,l=p}return c}},89286:function(e,t,n){"use strict";var r=n(94402),o=n(38469),i=r.Set,a=r.add;e.exports=function(e){var t=new i;return o(e,(function(e){a(t,e)})),t}},89313:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(e,t,n){e.dom.toggleClass(e.getBody(),"mce-visualblocks"),n.set(!n.get()),function(e,t){e.fire("VisualBlocks",{state:t})}(e,n.get())},n=function(e,t){return function(n){n.setActive(t.get());var r=function(e){return n.setActive(e.state)};return e.on("VisualBlocks",r),function(){return e.off("VisualBlocks",r)}}};e.add("visualblocks",(function(e,r){var o,i=(o=!1,{get:function(){return o},set:function(e){o=e}});!function(e,n,r){e.addCommand("mceVisualBlocks",(function(){t(e,0,r)}))}(e,0,i),function(e,t){var r=function(){return e.execCommand("mceVisualBlocks")};e.ui.registry.addToggleButton("visualblocks",{icon:"visualblocks",tooltip:"Show blocks",onAction:r,onSetup:n(e,t)}),e.ui.registry.addToggleMenuItem("visualblocks",{text:"Show blocks",icon:"visualblocks",onAction:r,onSetup:n(e,t)})}(e,i),function(e,n,r){e.on("PreviewFormats AfterPreviewFormats",(function(t){r.get()&&e.dom.toggleClass(e.getBody(),"mce-visualblocks","afterpreviewformats"===t.type)})),e.on("init",(function(){(function(e){return e.getParam("visualblocks_default_state",!1,"boolean")})(e)&&t(e,0,r)}))}(e,0,i)}))}()},89429:function(e,t,n){"use strict";var r=n(44576),o=n(16193);e.exports=function(e){if(o){try{return r.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},89528:function(e,t,n){var r=n(95932);e.exports=function(e){return r(e,(function(e){return e}))}},89598:function(e,t,n){"use strict";var r=n(98026),o=n(43870),i=n(82861),a=n(43199),s=n(32322),l=n(69622),c=n(89632),u=n(5202),d=n(24326),f=n(62103),h=n(45587),p=n(83509),m=n(50626),g=n(77175),A=Math.PI,v=function(){function e(e,t){this.group=new o.A,this.opt=t,this.axisModel=e,(0,r.defaults)(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new o.A({x:t.position[0],y:t.position[1],rotation:t.rotation});n.updateTransform(),this._transformGroup=n}return e.prototype.hasBuilder=function(e){return!!y[e]},e.prototype.add=function(e){y[e](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(e,t,n){var r,o,i=(0,d._7)(t-e);return(0,d.dh)(i)?(o=n>0?"top":"bottom",r="center"):(0,d.dh)(i-A)?(o=n>0?"bottom":"top",r="center"):(o="middle",r=i>0&&i<A?n>0?"right":"left":n>0?"left":"right"),{rotation:i,textAlign:r,textVerticalAlign:o}},e.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},e.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},e}(),y={axisLine:function(e,t,n,o){var s=t.get(["axisLine","show"]);if("auto"===s&&e.handleAutoShown&&(s=e.handleAutoShown("axisLine")),s){var l=t.axis.getExtent(),c=o.transform,u=[l[0],0],d=[l[1],0],h=u[0]>d[0];c&&((0,p.applyTransform)(u,u,c),(0,p.applyTransform)(d,d,c));var m=(0,r.extend)({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),g=new i.A({shape:{x1:u[0],y1:u[1],x2:d[0],y2:d[1]},style:m,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});a.subPixelOptimizeLine(g.shape,g.style.lineWidth),g.anid="line",n.add(g);var A=t.get(["axisLine","symbol"]);if(null!=A){var v=t.get(["axisLine","symbolSize"]);(0,r.isString)(A)&&(A=[A,A]),((0,r.isString)(v)||(0,r.isNumber)(v))&&(v=[v,v]);var y=(0,f.hV)(t.get(["axisLine","symbolOffset"])||0,v),O=v[0],b=v[1];(0,r.each)([{rotate:e.rotation+Math.PI/2,offset:y[0],r:0},{rotate:e.rotation-Math.PI/2,offset:y[1],r:Math.sqrt((u[0]-d[0])*(u[0]-d[0])+(u[1]-d[1])*(u[1]-d[1]))}],(function(t,r){if("none"!==A[r]&&null!=A[r]){var o=(0,f.v5)(A[r],-O/2,-b/2,O,b,m.stroke,!0),i=t.r+t.offset,a=h?d:u;o.attr({rotation:t.rotate,x:a[0]+i*Math.cos(e.rotation),y:a[1]-i*Math.sin(e.rotation),silent:!0,z2:11}),n.add(o)}}))}}},axisTickLabel:function(e,t,n,o){var i=function(e,t,n,o){var i=n.axis,a=n.getModel("axisTick"),s=a.get("show");if("auto"===s&&o.handleAutoShown&&(s=o.handleAutoShown("axisTick")),s&&!i.scale.isBlank()){for(var l=a.getModel("lineStyle"),c=o.tickDirection*a.get("length"),u=_(i.getTicksCoords(),t.transform,c,(0,r.defaults)(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),d=0;d<u.length;d++)e.add(u[d]);return u}}(n,o,t,e),d=function(e,t,n,o){var i=n.axis;if((0,r.retrieve)(o.axisLabelShow,n.get(["axisLabel","show"]))&&!i.scale.isBlank()){var d=n.getModel("axisLabel"),f=d.get("margin"),h=i.getViewLabels(),p=((0,r.retrieve)(o.labelRotate,d.get("rotate"))||0)*A/180,m=v.innerTextLayout(o.rotation,p,o.labelDirection),g=n.getCategories&&n.getCategories(!0),y=[],O=v.isLabelSilent(n),b=n.get("triggerEvent");return(0,r.each)(h,(function(p,A){var w="ordinal"===i.scale.type?i.scale.getRawOrdinalNumber(p.tickValue):p.tickValue,_=p.formattedLabel,x=p.rawLabel,S=d;if(g&&g[w]){var k=g[w];(0,r.isObject)(k)&&k.textStyle&&(S=new u.A(k.textStyle,d,n.ecModel))}var C=S.getTextColor()||n.get(["axisLine","lineStyle","color"]),B=i.dataToCoord(w),Q=S.getShallow("align",!0)||m.textAlign,T=(0,r.retrieve2)(S.getShallow("alignMinLabel",!0),Q),E=(0,r.retrieve2)(S.getShallow("alignMaxLabel",!0),Q),P=S.getShallow("verticalAlign",!0)||S.getShallow("baseline",!0)||m.textVerticalAlign,$=(0,r.retrieve2)(S.getShallow("verticalAlignMinLabel",!0),P),M=(0,r.retrieve2)(S.getShallow("verticalAlignMaxLabel",!0),P),z=new s.Ay({x:B,y:o.labelOffset+o.labelDirection*f,rotation:m.rotation,silent:O,z2:10+(p.level||0),style:(0,c.VB)(S,{text:_,align:0===A?T:A===h.length-1?E:Q,verticalAlign:0===A?$:A===h.length-1?M:P,fill:(0,r.isFunction)(C)?C("category"===i.type?x:"value"===i.type?w+"":w,A):C})});if(z.anid="label_"+w,a.setTooltipConfig({el:z,componentModel:n,itemName:_,formatterParamsExtra:{isTruncated:function(){return z.isTruncated},value:x,tickIndex:A}}),b){var R=v.makeAxisEventDataBase(n);R.targetType="axisLabel",R.value=x,R.tickIndex=A,"category"===i.type&&(R.dataIndex=w),(0,l.z)(z).eventData=R}t.add(z),z.updateTransform(),y.push(z),e.add(z),z.decomposeTransform()})),y}}(n,o,t,e);if(function(e,t,n){if(!(0,m.PJ)(e.axis)){var r=e.get(["axisLabel","showMinLabel"]),o=e.get(["axisLabel","showMaxLabel"]);n=n||[];var i=(t=t||[])[0],a=t[1],s=t[t.length-1],l=t[t.length-2],c=n[0],u=n[1],d=n[n.length-1],f=n[n.length-2];!1===r?(O(i),O(c)):b(i,a)&&(r?(O(a),O(u)):(O(i),O(c))),!1===o?(O(s),O(d)):b(l,s)&&(o?(O(l),O(f)):(O(s),O(d)))}}(t,d,i),function(e,t,n,o){var i=n.axis,a=n.getModel("minorTick");if(a.get("show")&&!i.scale.isBlank()){var s=i.getMinorTicksCoords();if(s.length)for(var l=a.getModel("lineStyle"),c=o*a.get("length"),u=(0,r.defaults)(l.getLineStyle(),(0,r.defaults)(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),d=0;d<s.length;d++)for(var f=_(s[d],t.transform,c,u,"minorticks_"+d),h=0;h<f.length;h++)e.add(f[h])}}(n,o,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var f=(0,g.os)((0,r.map)(d,(function(e){return{label:e,priority:e.z2,defaultAttr:{ignore:e.ignore}}})));(0,g.If)(f)}},axisName:function(e,t,n,o){var i=(0,r.retrieve)(e.axisName,t.get("name"));if(i){var u,f,h=t.get("nameLocation"),p=e.nameDirection,m=t.getModel("nameTextStyle"),g=t.get("nameGap")||0,y=t.axis.getExtent(),O=y[0]>y[1]?-1:1,b=["start"===h?y[0]-O*g:"end"===h?y[1]+O*g:(y[0]+y[1])/2,w(h)?e.labelOffset+p*g:0],_=t.get("nameRotate");null!=_&&(_=_*A/180),w(h)?u=v.innerTextLayout(e.rotation,null!=_?_:e.rotation,p):(u=function(e,t,n,r){var o,i,a=(0,d._7)(n-e),s=r[0]>r[1],l="start"===t&&!s||"start"!==t&&s;return(0,d.dh)(a-A/2)?(i=l?"bottom":"top",o="center"):(0,d.dh)(a-1.5*A)?(i=l?"top":"bottom",o="center"):(i="middle",o=a<1.5*A&&a>A/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:o,textVerticalAlign:i}}(e.rotation,h,_||0,y),null!=(f=e.axisNameAvailableWidth)&&(f=Math.abs(f/Math.sin(u.rotation)),!isFinite(f)&&(f=null)));var x=m.getFont(),S=t.get("nameTruncate",!0)||{},k=S.ellipsis,C=(0,r.retrieve)(e.nameTruncateMaxWidth,S.maxWidth,f),B=new s.Ay({x:b[0],y:b[1],rotation:u.rotation,silent:v.isLabelSilent(t),style:(0,c.VB)(m,{text:i,font:x,overflow:"truncate",width:C,ellipsis:k,fill:m.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:m.get("align")||u.textAlign,verticalAlign:m.get("verticalAlign")||u.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:B,componentModel:t,itemName:i}),B.__fullText=i,B.anid="name",t.get("triggerEvent")){var Q=v.makeAxisEventDataBase(t);Q.targetType="axisName",Q.name=i,(0,l.z)(B).eventData=Q}o.add(B),B.updateTransform(),n.add(B),B.decomposeTransform()}}};function O(e){e&&(e.ignore=!0)}function b(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(n&&r){var o=h.identity([]);return h.rotate(o,o,-e.rotation),n.applyTransform(h.mul([],o,e.getLocalTransform())),r.applyTransform(h.mul([],o,t.getLocalTransform())),n.intersect(r)}}function w(e){return"middle"===e||"center"===e}function _(e,t,n,r,o){for(var s=[],l=[],c=[],u=0;u<e.length;u++){var d=e[u].coord;l[0]=d,l[1]=0,c[0]=d,c[1]=n,t&&((0,p.applyTransform)(l,l,t),(0,p.applyTransform)(c,c,t));var f=new i.A({shape:{x1:l[0],y1:l[1],x2:c[0],y2:c[1]},style:r,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(f.shape,f.style.lineWidth),f.anid=o+"_"+e[u].tickValue,s.push(f)}return s}t.A=v},89610:function(e,t,n){"use strict";var r=n(88496),o=n(23149);t.A=function(e){if(!(0,o.A)(e))return!1;var t=(0,r.A)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},89632:function(e,t,n){"use strict";n.d(t,{Lu:function(){return O},Oh:function(){return b},VB:function(){return h},c8:function(){return y},lx:function(){return f},qM:function(){return d},sD:function(){return p},xb:function(){return w}});var r=n(32322),o=n(98026),i=n(34833),a=n(48170),s=n(5638),l={};function c(e,t){for(var n=0;n<i.BV.length;n++){var r=i.BV[n],o=t[r],a=e.ensureState(r);a.style=a.style||{},a.style.text=o}var s=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(s,!0)}function u(e,t,n){var r,a=e.labelFetcher,s=e.labelDataIndex,l=e.labelDimIndex,c=t.normal;a&&(r=a.getFormattedLabel(s,"normal",null,l,c&&c.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==r&&(r=(0,o.isFunction)(e.defaultText)?e.defaultText(s,e,n):e.defaultText);for(var u={normal:r},d=0;d<i.BV.length;d++){var f=i.BV[d],h=t[f];u[f]=(0,o.retrieve2)(a?a.getFormattedLabel(s,f,null,l,h&&h.get("formatter")):null,r)}return u}function d(e,t,n,a){n=n||l;for(var s=e instanceof r.Ay,d=!1,f=0;f<i.wV.length;f++)if((b=t[i.wV[f]])&&b.getShallow("show")){d=!0;break}var m=s?e:e.getTextContent();if(d){s||(m||(m=new r.Ay,e.setTextContent(m)),e.stateProxy&&(m.stateProxy=e.stateProxy));var g=u(n,t),A=t.normal,v=!!A.getShallow("show"),y=h(A,a&&a.normal,n,!1,!s);for(y.text=g.normal,s||e.setTextConfig(p(A,n,!1)),f=0;f<i.BV.length;f++){var b,w=i.BV[f];if(b=t[w]){var _=m.ensureState(w),x=!!(0,o.retrieve2)(b.getShallow("show"),v);x!==v&&(_.ignore=!x),_.style=h(b,a&&a[w],n,!0,!s),_.style.text=g[w],s||(e.ensureState(w).textConfig=p(b,n,!0))}}m.silent=!!A.getShallow("silent"),null!=m.style.x&&(y.x=m.style.x),null!=m.style.y&&(y.y=m.style.y),m.ignore=!v,m.useStyle(y),m.dirty(),n.enableTextSetter&&(O(m).setLabelText=function(e){var r=u(n,t,e);c(m,r)})}else m&&(m.ignore=!0);e.dirty()}function f(e,t){t=t||"label";for(var n={normal:e.getModel(t)},r=0;r<i.BV.length;r++){var o=i.BV[r];n[o]=e.getModel([o,t])}return n}function h(e,t,n,r,i){var a={};return function(e,t,n,r,i){n=n||l;var a,s=t.ecModel,c=s&&s.option.textStyle,u=function(e){for(var t;e&&e!==e.ecModel;){var n=(e.option||l).rich;if(n){t=t||{};for(var r=(0,o.keys)(n),i=0;i<r.length;i++)t[r[i]]=1}e=e.parentModel}return t}(t);if(u)for(var d in a={},u)if(u.hasOwnProperty(d)){var f=t.getModel(["rich",d]);v(a[d]={},f,c,n,r,i,!1,!0)}a&&(e.rich=a);var h=t.get("overflow");h&&(e.overflow=h);var p=t.get("minMargin");null!=p&&(e.margin=p),v(e,t,c,n,r,i,!0,!1)}(a,e,n,r,i),t&&(0,o.extend)(a,t),a}function p(e,t,n){t=t||{};var r,i={},a=e.getShallow("rotate"),s=(0,o.retrieve2)(e.getShallow("distance"),n?null:5),l=e.getShallow("offset");return"outside"===(r=e.getShallow("position")||(n?null:"inside"))&&(r=t.defaultOutsidePosition||"top"),null!=r&&(i.position=r),null!=l&&(i.offset=l),null!=a&&(a*=Math.PI/180,i.rotation=a),null!=s&&(i.distance=s),i.outsideFill="inherit"===e.get("color")?t.inheritColor||null:"auto",i}var m=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],g=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],A=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function v(e,t,n,r,i,a,s,c){n=!i&&n||l;var u=r&&r.inheritColor,d=t.getShallow("color"),f=t.getShallow("textBorderColor"),h=(0,o.retrieve2)(t.getShallow("opacity"),n.opacity);"inherit"!==d&&"auto"!==d||(d=u||null),"inherit"!==f&&"auto"!==f||(f=u||null),a||(d=d||n.color,f=f||n.textBorderColor),null!=d&&(e.fill=d),null!=f&&(e.stroke=f);var p=(0,o.retrieve2)(t.getShallow("textBorderWidth"),n.textBorderWidth);null!=p&&(e.lineWidth=p);var v=(0,o.retrieve2)(t.getShallow("textBorderType"),n.textBorderType);null!=v&&(e.lineDash=v);var y=(0,o.retrieve2)(t.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=y&&(e.lineDashOffset=y),i||null!=h||c||(h=r&&r.defaultOpacity),null!=h&&(e.opacity=h),i||a||null==e.fill&&r.inheritColor&&(e.fill=r.inheritColor);for(var O=0;O<m.length;O++){var b=m[O];null!=(_=(0,o.retrieve2)(t.getShallow(b),n[b]))&&(e[b]=_)}for(O=0;O<g.length;O++)b=g[O],null!=(_=t.getShallow(b))&&(e[b]=_);if(null==e.verticalAlign){var w=t.getShallow("baseline");null!=w&&(e.verticalAlign=w)}if(!s||!r.disableBox){for(O=0;O<A.length;O++){var _;b=A[O],null!=(_=t.getShallow(b))&&(e[b]=_)}var x=t.getShallow("borderType");null!=x&&(e.borderDash=x),"auto"!==e.backgroundColor&&"inherit"!==e.backgroundColor||!u||(e.backgroundColor=u),"auto"!==e.borderColor&&"inherit"!==e.borderColor||!u||(e.borderColor=u)}}function y(e,t){var n=t&&t.getModel("textStyle");return(0,o.trim)([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var O=(0,a.$r)();function b(e,t,n,r){if(e){var o=O(e);o.prevValue=o.value,o.value=n;var i=t.normal;o.valueAnimation=i.get("valueAnimation"),o.valueAnimation&&(o.precision=i.get("precision"),o.defaultInterpolatedText=r,o.statesModels=t)}}function w(e,t,n,r,i){var l=O(e);if(l.valueAnimation&&l.prevValue!==l.value){var d=l.defaultInterpolatedText,f=(0,o.retrieve2)(l.interpolatedValue,l.prevValue),h=l.value;e.percent=0,(null==l.prevValue?s.LW:s.oi)(e,{percent:1},r,t,null,(function(r){var o=(0,a.Il)(n,l.precision,f,h,r);l.interpolatedValue=1===r?null:o;var s=u({labelDataIndex:t,labelFetcher:i,defaultText:d?d(o):o+""},l.statesModels,o);c(e,s)}))}}},89737:function(e,t,n){"use strict";var r=n(98026),o={},i=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(e,t){var n=[];r.each(o,(function(r,o){var i=r.create(e,t);n=n.concat(i||[])})),this._coordinateSystems=n},e.prototype.update=function(e,t){r.each(this._coordinateSystems,(function(n){n.update&&n.update(e,t)}))},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(e,t){o[e]=t},e.get=function(e){return o[e]},e}();t.A=i},89862:function(e,t,n){"use strict";n.d(t,{Q2:function(){return U},o$:function(){return M},W6:function(){return D},g4:function(){return I},sL:function(){return R}});var r=n(48820),o=n(43720);const i=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],a=new r.Aj({start:!1,shift(e,t){return 5==t||6==t||318==t?e:319==t},strict:!1}),s=new r.Lu(((e,t)=>{let{next:n}=e;(125==n||-1==n||t.context)&&e.acceptToken(316)}),{contextual:!0,fallback:!0}),l=new r.Lu(((e,t)=>{let n,{next:r}=e;i.indexOf(r)>-1||(47!=r||47!=(n=e.peek(1))&&42!=n)&&(125==r||59==r||-1==r||t.context||e.acceptToken(314))}),{contextual:!0}),c=new r.Lu(((e,t)=>{91!=e.next||t.context||e.acceptToken(315)}),{contextual:!0}),u=new r.Lu(((e,t)=>{let{next:n}=e;if(43==n||45==n){if(e.advance(),n==e.next){e.advance();let n=!t.context&&t.canShift(1);e.acceptToken(n?1:2)}}else 63==n&&46==e.peek(1)&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(3))}),{contextual:!0});function d(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}const f=new r.Lu(((e,t)=>{if(60!=e.next||!t.dialectEnabled(0))return;if(e.advance(),47==e.next)return;let n=0;for(;i.indexOf(e.next)>-1;)e.advance(),n++;if(d(e.next,!0)){for(e.advance(),n++;d(e.next,!1);)e.advance(),n++;for(;i.indexOf(e.next)>-1;)e.advance(),n++;if(44==e.next)return;for(let t=0;;t++){if(7==t){if(!d(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),n++}}e.acceptToken(4,-n)})),h=(0,o.pn)({"get set async static":o._A.modifier,"for while do if else switch try catch finally return throw break continue default case":o._A.controlKeyword,"in of await yield void typeof delete instanceof":o._A.operatorKeyword,"let var const using function class extends":o._A.definitionKeyword,"import export from":o._A.moduleKeyword,"with debugger as new":o._A.keyword,TemplateString:o._A.special(o._A.string),super:o._A.atom,BooleanLiteral:o._A.bool,this:o._A.self,null:o._A.null,Star:o._A.modifier,VariableName:o._A.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":o._A.function(o._A.variableName),VariableDefinition:o._A.definition(o._A.variableName),Label:o._A.labelName,PropertyName:o._A.propertyName,PrivatePropertyName:o._A.special(o._A.propertyName),"CallExpression/MemberExpression/PropertyName":o._A.function(o._A.propertyName),"FunctionDeclaration/VariableDefinition":o._A.function(o._A.definition(o._A.variableName)),"ClassDeclaration/VariableDefinition":o._A.definition(o._A.className),"NewExpression/VariableName":o._A.className,PropertyDefinition:o._A.definition(o._A.propertyName),PrivatePropertyDefinition:o._A.definition(o._A.special(o._A.propertyName)),UpdateOp:o._A.updateOperator,"LineComment Hashbang":o._A.lineComment,BlockComment:o._A.blockComment,Number:o._A.number,String:o._A.string,Escape:o._A.escape,ArithOp:o._A.arithmeticOperator,LogicOp:o._A.logicOperator,BitOp:o._A.bitwiseOperator,CompareOp:o._A.compareOperator,RegExp:o._A.regexp,Equals:o._A.definitionOperator,Arrow:o._A.function(o._A.punctuation),": Spread":o._A.punctuation,"( )":o._A.paren,"[ ]":o._A.squareBracket,"{ }":o._A.brace,"InterpolationStart InterpolationEnd":o._A.special(o._A.brace),".":o._A.derefOperator,", ;":o._A.separator,"@":o._A.meta,TypeName:o._A.typeName,TypeDefinition:o._A.definition(o._A.typeName),"type enum interface implements namespace module declare":o._A.definitionKeyword,"abstract global Privacy readonly override":o._A.modifier,"is keyof unique infer asserts":o._A.operatorKeyword,JSXAttributeValue:o._A.attributeValue,JSXText:o._A.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":o._A.angleBracket,"JSXIdentifier JSXNameSpacedName":o._A.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":o._A.attributeName,"JSXBuiltin/JSXIdentifier":o._A.standard(o._A.tagName)}),p={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,const:52,extends:56,this:60,true:68,false:68,null:80,void:84,typeof:88,super:104,new:138,delete:150,yield:159,await:163,class:168,public:231,private:231,protected:231,readonly:233,instanceof:252,satisfies:255,in:256,import:290,keyof:347,unique:351,infer:357,asserts:393,is:395,abstract:415,implements:417,type:419,let:422,var:424,using:427,interface:433,enum:437,namespace:443,module:445,declare:449,global:453,for:472,of:481,while:484,with:488,do:492,if:496,else:498,switch:502,case:508,try:514,catch:518,finally:522,return:526,throw:530,break:534,continue:538,debugger:542},m={__proto__:null,async:125,get:127,set:129,declare:191,public:193,private:193,protected:193,static:195,abstract:197,override:199,readonly:205,accessor:207,new:399},g={__proto__:null,"<":189},A=r.U1.deserialize({version:14,states:"$EOQ%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#D_O.QQlO'#DeO.bQlO'#DpO%[QlO'#DxO0fQlO'#EQOOQ!0Lf'#EY'#EYO1PQ`O'#EVOOQO'#En'#EnOOQO'#Ij'#IjO1XQ`O'#GrO1dQ`O'#EmO1iQ`O'#EmO3hQ!0MxO'#JpO6[Q!0MxO'#JqO6uQ`O'#F[O6zQ,UO'#FsOOQ!0Lf'#Fe'#FeO7VO7dO'#FeO7eQMhO'#F{O9UQ`O'#FzOOQ!0Lf'#Jq'#JqOOQ!0Lb'#Jp'#JpO9ZQ`O'#GvOOQ['#K]'#K]O9fQ`O'#IWO9kQ!0LrO'#IXOOQ['#J^'#J^OOQ['#I]'#I]Q`QlOOQ`QlOOO9sQ!L^O'#DtO9zQlO'#D|O:RQlO'#EOO9aQ`O'#GrO:YQMhO'#CoO:hQ`O'#ElO:sQ`O'#EwO:xQMhO'#FdO;gQ`O'#GrOOQO'#K^'#K^O;lQ`O'#K^O;zQ`O'#GzO;zQ`O'#G{O;zQ`O'#G}O9aQ`O'#HQO<qQ`O'#HTO>YQ`O'#CeO>jQ`O'#HaO>rQ`O'#HgO>rQ`O'#HiO`QlO'#HkO>rQ`O'#HmO>rQ`O'#HpO>wQ`O'#HvO>|Q!0LsO'#H|O%[QlO'#IOO?XQ!0LsO'#IQO?dQ!0LsO'#ISO9kQ!0LrO'#IUO?oQ!0MxO'#CiO@qQpO'#DjQOQ`OOO%[QlO'#EOOAXQ`O'#ERO:YQMhO'#ElOAdQ`O'#ElOAoQ!bO'#FdOOQ['#Cg'#CgOOQ!0Lb'#Do'#DoOOQ!0Lb'#Jt'#JtO%[QlO'#JtOOQO'#Jw'#JwOOQO'#If'#IfOBoQpO'#EeOOQ!0Lb'#Ed'#EdOOQ!0Lb'#J{'#J{OCkQ!0MSO'#EeOCuQpO'#EUOOQO'#Jv'#JvODZQpO'#JwOEhQpO'#EUOCuQpO'#EePEuO&2DjO'#CbPOOO)CD{)CD{OOOO'#I^'#I^OFQO#tO,59UOOQ!0Lh,59U,59UOOOO'#I_'#I_OF`O&jO,59UOFnQ!L^O'#DaOOOO'#Ia'#IaOFuO#@ItO,59yOOQ!0Lf,59y,59yOGTQlO'#IbOGhQ`O'#JrOIgQ!fO'#JrO+}QlO'#JrOInQ`O,5:POJUQ`O'#EnOJcQ`O'#KROJnQ`O'#KQOJnQ`O'#KQOJvQ`O,5;[OJ{Q`O'#KPOOQ!0Ln,5:[,5:[OKSQlO,5:[OMQQ!0MxO,5:dOMqQ`O,5:lON[Q!0LrO'#KOONcQ`O'#J}O9ZQ`O'#J}ONwQ`O'#J}O! PQ`O,5;ZO! UQ`O'#J}O!#ZQ!fO'#JqOOQ!0Lh'#Ci'#CiO%[QlO'#EQO!#yQ!fO,5:qOOQS'#Jx'#JxOOQO-E<h-E<hO9aQ`O,5=^O!$aQ`O,5=^O!$fQlO,5;XO!&iQMhO'#EiO!(SQ`O,5;XO!(XQlO'#DwO!(cQpO,5;bO!(kQpO,5;bO%[QlO,5;bOOQ['#FS'#FSOOQ['#FU'#FUO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cOOQ['#FY'#FYO!(yQlO,5;sOOQ!0Lf,5;x,5;xOOQ!0Lf,5;y,5;yOOQ!0Lf,5;{,5;{O%[QlO'#InO!*|Q!0LrO,5<hO%[QlO,5;cO!&iQMhO,5;cO!+kQMhO,5;cO!-]QMhO'#E[O%[QlO,5;vOOQ!0Lf,5;z,5;zO!-dQ,UO'#FiO!.aQ,UO'#KVO!-{Q,UO'#KVO!.hQ,UO'#KVOOQO'#KV'#KVO!.|Q,UO,5<ROOOW,5<_,5<_O!/_QlO'#FuOOOW'#Im'#ImO7VO7dO,5<PO!/fQ,UO'#FwOOQ!0Lf,5<P,5<PO!0VQ$IUO'#CwOOQ!0Lh'#C{'#C{O!0jO#@ItO'#DPO!1WQMjO,5<dO!1_Q`O,5<gO!2zQ(CWO'#GWO!3XQ`O'#GXO!3^Q`O'#GXO!4|Q(CWO'#G]O!6RQpO'#GaOOQO'#Gm'#GmO!+rQMhO'#GlOOQO'#Go'#GoO!+rQMhO'#GnO!6tQ$IUO'#JjOOQ!0Lh'#Jj'#JjO!7OQ`O'#JiO!7^Q`O'#JhO!7fQ`O'#CuOOQ!0Lh'#Cy'#CyO!7qQ`O'#C{OOQ!0Lh'#DT'#DTOOQ!0Lh'#DV'#DVO1SQ`O'#DXO!+rQMhO'#GOO!+rQMhO'#GQO!7vQ`O'#GSO!7{Q`O'#GTO!3^Q`O'#GZO!+rQMhO'#G`O;zQ`O'#JiO!8QQ`O'#EoO!8oQ`O,5<fOOQ!0Lb'#Cr'#CrO!8wQ`O'#EpO!9qQpO'#EqOOQ!0Lb'#KP'#KPO!9xQ!0LrO'#K_O9kQ!0LrO,5=bO`QlO,5>rOOQ['#Jf'#JfOOQ[,5>s,5>sOOQ[-E<Z-E<ZO!;wQ!0MxO,5:`O!9lQpO,5:^O!>bQ!0MxO,5:hO%[QlO,5:hO!@xQ!0MxO,5:jOOQO,5@x,5@xO!AiQMhO,5=^O!AwQ!0LrO'#JgO9UQ`O'#JgO!BYQ!0LrO,59ZO!BeQpO,59ZO!BmQMhO,59ZO:YQMhO,59ZO!BxQ`O,5;XO!CQQ`O'#H`O!CfQ`O'#KbO%[QlO,5;|O!9lQpO,5<OO!CnQ`O,5=yO!CsQ`O,5=yO!CxQ`O,5=yO9kQ!0LrO,5=yO;zQ`O,5=iOOQO'#Cw'#CwO!DWQpO,5=fO!D`QMhO,5=gO!DkQ`O,5=iO!DpQ!bO,5=lO!DxQ`O'#K^O>wQ`O'#HVO9aQ`O'#HXO!D}Q`O'#HXO:YQMhO'#HZO!ESQ`O'#HZOOQ[,5=o,5=oO!EXQ`O'#H[O!EjQ`O'#CoO!EoQ`O,59PO!EyQ`O,59PO!HOQlO,59POOQ[,59P,59PO!H`Q!0LrO,59PO%[QlO,59PO!JkQlO'#HcOOQ['#Hd'#HdOOQ['#He'#HeO`QlO,5={O!KRQ`O,5={O`QlO,5>RO`QlO,5>TO!KWQ`O,5>VO`QlO,5>XO!K]Q`O,5>[O!KbQlO,5>bOOQ[,5>h,5>hO%[QlO,5>hO9kQ!0LrO,5>jOOQ[,5>l,5>lO# lQ`O,5>lOOQ[,5>n,5>nO# lQ`O,5>nOOQ[,5>p,5>pO#!YQpO'#D]O%[QlO'#JtO#!{QpO'#JtO##VQpO'#DkO##hQpO'#DkO#%yQlO'#DkO#&QQ`O'#JsO#&YQ`O,5:UO#&_Q`O'#ErO#&mQ`O'#KSO#&uQ`O,5;]O#&zQpO'#DkO#'XQpO'#ETOOQ!0Lf,5:m,5:mO%[QlO,5:mO#'`Q`O,5:mO>wQ`O,5;WO!BeQpO,5;WO!BmQMhO,5;WO:YQMhO,5;WO#'hQ`O,5@`O#'mQ07dO,5:qOOQO-E<d-E<dO#(sQ!0MSO,5;POCuQpO,5:pO#(}QpO,5:pOCuQpO,5;PO!BYQ!0LrO,5:pOOQ!0Lb'#Eh'#EhOOQO,5;P,5;PO%[QlO,5;PO#)[Q!0LrO,5;PO#)gQ!0LrO,5;PO!BeQpO,5:pOOQO,5;V,5;VO#)uQ!0LrO,5;PPOOO'#I['#I[P#*ZO&2DjO,58|POOO,58|,58|OOOO-E<[-E<[OOQ!0Lh1G.p1G.pOOOO-E<]-E<]OOOO,59{,59{O#*fQ!bO,59{OOOO-E<_-E<_OOQ!0Lf1G/e1G/eO#*kQ!fO,5>|O+}QlO,5>|OOQO,5?S,5?SO#*uQlO'#IbOOQO-E<`-E<`O#+SQ`O,5@^O#+[Q!fO,5@^O#+cQ`O,5@lOOQ!0Lf1G/k1G/kO%[QlO,5@mO#+kQ`O'#IhOOQO-E<f-E<fO#+cQ`O,5@lOOQ!0Lb1G0v1G0vOOQ!0Ln1G/v1G/vOOQ!0Ln1G0W1G0WO%[QlO,5@jO#,PQ!0LrO,5@jO#,bQ!0LrO,5@jO#,iQ`O,5@iO9ZQ`O,5@iO#,qQ`O,5@iO#-PQ`O'#IkO#,iQ`O,5@iOOQ!0Lb1G0u1G0uO!(cQpO,5:sO!(nQpO,5:sOOQS,5:u,5:uO#-qQdO,5:uO#-yQMhO1G2xO9aQ`O1G2xOOQ!0Lf1G0s1G0sO#.XQ!0MxO1G0sO#/^Q!0MvO,5;TOOQ!0Lh'#GV'#GVO#/zQ!0MzO'#JjO!$fQlO1G0sO#2VQ!fO'#JuO%[QlO'#JuO#2aQ`O,5:cOOQ!0Lh'#D]'#D]OOQ!0Lf1G0|1G0|O%[QlO1G0|OOQ!0Lf1G1e1G1eO#2fQ`O1G0|O#4zQ!0MxO1G0}O#5RQ!0MxO1G0}O#7iQ!0MxO1G0}O#7pQ!0MxO1G0}O#:WQ!0MxO1G0}O#<nQ!0MxO1G0}O#<uQ!0MxO1G0}O#<|Q!0MxO1G0}O#?dQ!0MxO1G0}O#?kQ!0MxO1G0}O#AxQ?MtO'#CiO#CsQ?MtO1G1_O#CzQ?MtO'#JqO#D_Q!0MxO,5?YOOQ!0Lb-E<l-E<lO#FlQ!0MxO1G0}O#GiQ!0MzO1G0}OOQ!0Lf1G0}1G0}O#HlQMjO'#JzO#HvQ`O,5:vO#H{Q!0MxO1G1bO#IoQ,UO,5<VO#IwQ,UO,5<WO#JPQ,UO'#FnO#JhQ`O'#FmOOQO'#KW'#KWOOQO'#Il'#IlO#JmQ,UO1G1mOOQ!0Lf1G1m1G1mOOOW1G1x1G1xO#KOQ?MtO'#JpO#KYQ`O,5<aO!(yQlO,5<aOOOW-E<k-E<kOOQ!0Lf1G1k1G1kO#K_QpO'#KVOOQ!0Lf,5<c,5<cO#KgQpO,5<cO#KlQMhO'#DROOOO'#I`'#I`O#KsO#@ItO,59kOOQ!0Lh,59k,59kO%[QlO1G2OO!7{Q`O'#IpO#LOQ`O,5<yOOQ!0Lh,5<v,5<vO!+rQMhO'#IsO#LlQMjO,5=WO!+rQMhO'#IuO#M_QMjO,5=YO!&iQMhO,5=[OOQO1G2R1G2RO#MiQ!dO'#CrO#M|Q(CWO'#EpO$ RQpO'#GaO$ iQ!dO,5<rO$ pQ`O'#KYO9ZQ`O'#KYO$!OQ`O,5<tO!+rQMhO,5<sO$!TQ`O'#GYO$!fQ`O,5<sO$!kQ!dO'#GVO$!xQ!dO'#KZO$#SQ`O'#KZO!&iQMhO'#KZO$#XQ`O,5<wO$#^QlO'#JtO$#hQpO'#GbO##hQpO'#GbO$#yQ`O'#GfO!3^Q`O'#GjO$$OQ!0LrO'#IrO$$ZQpO,5<{OOQ!0Lp,5<{,5<{O$$bQpO'#GbO$$oQpO'#GcO$%QQpO'#GcO$%VQMjO,5=WO$%gQMjO,5=YOOQ!0Lh,5=],5=]O!+rQMhO,5@TO!+rQMhO,5@TO$%wQ`O'#IwO$&VQ`O,5@SO$&_Q`O,59aOOQ!0Lh,59g,59gO$'UQ$IYO,59sOOQ!0Lh'#Jn'#JnO$'wQMjO,5<jO$(jQMjO,5<lO@iQ`O,5<nOOQ!0Lh,5<o,5<oO$(tQ`O,5<uO$(yQMjO,5<zO$)ZQ`O,5@TO$)iQ`O'#J}O!$fQlO1G2QO$)nQ`O1G2QO9ZQ`O'#KQO9ZQ`O'#ErO%[QlO'#ErO9ZQ`O'#IyO$)sQ!0LrO,5@yOOQ[1G2|1G2|OOQ[1G4^1G4^OOQ!0Lf1G/z1G/zOOQ!0Lf1G/x1G/xO$+uQ!0MxO1G0SOOQ[1G2x1G2xO!&iQMhO1G2xO%[QlO1G2xO#-|Q`O1G2xO$-yQMhO'#EiOOQ!0Lb,5@R,5@RO$.WQ!0LrO,5@ROOQ[1G.u1G.uO!BYQ!0LrO1G.uO!BeQpO1G.uO!BmQMhO1G.uO$.iQ`O1G0sO$.nQ`O'#CiO$.yQ`O'#KcO$/RQ`O,5=zO$/WQ`O'#KcO$/]Q`O'#KcO$/kQ`O'#JPO$/yQ`O,5@|O$0RQ!fO1G1hOOQ!0Lf1G1j1G1jO9aQ`O1G3eO@iQ`O1G3eO$0YQ`O1G3eO$0_Q`O1G3eOOQ[1G3e1G3eO!DkQ`O1G3TO!&iQMhO1G3QO$0dQ`O1G3QOOQ[1G3R1G3RO!&iQMhO1G3RO$0iQ`O1G3RO$0qQpO'#HPOOQ[1G3T1G3TO!5|QpO'#I{O!DpQ!bO1G3WOOQ[1G3W1G3WOOQ[,5=q,5=qO$0yQMhO,5=sO9aQ`O,5=sO$#yQ`O,5=uO9UQ`O,5=uO!BeQpO,5=uO!BmQMhO,5=uO:YQMhO,5=uO$1XQ`O'#KaO$1dQ`O,5=vOOQ[1G.k1G.kO$1iQ!0LrO1G.kO@iQ`O1G.kO$1tQ`O1G.kO9kQ!0LrO1G.kO$3|Q!fO,5AOO$4ZQ`O,5AOO9ZQ`O,5AOO$4fQlO,5=}O$4mQ`O,5=}OOQ[1G3g1G3gO`QlO1G3gOOQ[1G3m1G3mOOQ[1G3o1G3oO>rQ`O1G3qO$4rQlO1G3sO$8vQlO'#HrOOQ[1G3v1G3vO$9TQ`O'#HxO>wQ`O'#HzOOQ[1G3|1G3|O$9]QlO1G3|O9kQ!0LrO1G4SOOQ[1G4U1G4UOOQ!0Lb'#G^'#G^O9kQ!0LrO1G4WO9kQ!0LrO1G4YO$=dQ`O,5@`O!(yQlO,5;^O9ZQ`O,5;^O>wQ`O,5:VO!(yQlO,5:VO!BeQpO,5:VO$=iQ?MtO,5:VOOQO,5;^,5;^O$=sQpO'#IcO$>ZQ`O,5@_OOQ!0Lf1G/p1G/pO$>cQpO'#IiO$>mQ`O,5@nOOQ!0Lb1G0w1G0wO##hQpO,5:VOOQO'#Ie'#IeO$>uQpO,5:oOOQ!0Ln,5:o,5:oO#'cQ`O1G0XOOQ!0Lf1G0X1G0XO%[QlO1G0XOOQ!0Lf1G0r1G0rO>wQ`O1G0rO!BeQpO1G0rO!BmQMhO1G0rOOQ!0Lb1G5z1G5zO!BYQ!0LrO1G0[OOQO1G0k1G0kO%[QlO1G0kO$>|Q!0LrO1G0kO$?XQ!0LrO1G0kO!BeQpO1G0[OCuQpO1G0[O$?gQ!0LrO1G0kOOQO1G0[1G0[O$?{Q!0MxO1G0kPOOO-E<Y-E<YPOOO1G.h1G.hOOOO1G/g1G/gO$@VQ!bO,5<hO$@_Q!fO1G4hOOQO1G4n1G4nO%[QlO,5>|O$@iQ`O1G5xO$@qQ`O1G6WO$@yQ!fO1G6XO9ZQ`O,5?SO$ATQ!0MxO1G6UO%[QlO1G6UO$AeQ!0LrO1G6UO$AvQ`O1G6TO$AvQ`O1G6TO9ZQ`O1G6TO$BOQ`O,5?VO9ZQ`O,5?VOOQO,5?V,5?VO$BdQ`O,5?VO$)iQ`O,5?VOOQO-E<i-E<iOOQS1G0_1G0_OOQS1G0a1G0aO#-tQ`O1G0aOOQ[7+(d7+(dO!&iQMhO7+(dO%[QlO7+(dO$BrQ`O7+(dO$B}QMhO7+(dO$C]Q!0MzO,5=WO$EhQ!0MzO,5=YO$GsQ!0MzO,5=WO$JUQ!0MzO,5=YO$LgQ!0MzO,59sO$NlQ!0MzO,5<jO%!wQ!0MzO,5<lO%%SQ!0MzO,5<zOOQ!0Lf7+&_7+&_O%'eQ!0MxO7+&_O%(XQlO'#IdO%(fQ`O,5@aO%(nQ!fO,5@aOOQ!0Lf1G/}1G/}O%(xQ`O7+&hOOQ!0Lf7+&h7+&hO%(}Q?MtO,5:dO%[QlO7+&yO%)XQ?MtO,5:`O%)fQ?MtO,5:hO%)pQ?MtO,5:jO%)zQMhO'#IgO%*UQ`O,5@fOOQ!0Lh1G0b1G0bOOQO1G1q1G1qOOQO1G1r1G1rO%*^Q!jO,5<YO!(yQlO,5<XOOQO-E<j-E<jOOQ!0Lf7+'X7+'XOOOW7+'d7+'dOOOW1G1{1G1{O%*iQ`O1G1{OOQ!0Lf1G1}1G1}OOOO,59m,59mO%*nQ!dO,59mOOOO-E<^-E<^OOQ!0Lh1G/V1G/VO%*uQ!0MxO7+'jOOQ!0Lh,5?[,5?[O%+iQMhO1G2eP%+pQ`O'#IpPOQ!0Lh-E<n-E<nO%,^QMjO,5?_OOQ!0Lh-E<q-E<qO%-PQMjO,5?aOOQ!0Lh-E<s-E<sO%-ZQ!dO1G2vO%-bQ!dO'#CrO%-xQMhO'#KQO$#^QlO'#JtOOQ!0Lh1G2^1G2^O%.PQ`O'#IoO%.eQ`O,5@tO%.eQ`O,5@tO%.mQ`O,5@tO%.xQ`O,5@tOOQO1G2`1G2`O%/WQMjO1G2_O!+rQMhO1G2_O%/hQ(CWO'#IqO%/uQ`O,5@uO!&iQMhO,5@uO%/}Q!dO,5@uOOQ!0Lh1G2c1G2cO%2_Q!fO'#CiO%2iQ`O,5=OOOQ!0Lb,5<|,5<|O%2qQpO,5<|OOQ!0Lb,5<},5<}OCfQ`O,5<|O%2|QpO,5<|OOQ!0Lb,5=Q,5=QO$)iQ`O,5=UOOQO,5?^,5?^OOQO-E<p-E<pOOQ!0Lp1G2g1G2gO##hQpO,5<|O$#^QlO,5=OO%3[Q`O,5<}O%3gQpO,5<}O!+rQMhO'#IsO%4aQMjO1G2rO!+rQMhO'#IuO%5SQMjO1G2tO%5^QMjO1G5oO%5hQMjO1G5oOOQO,5?c,5?cOOQO-E<u-E<uOOQO1G.{1G.{O!9lQpO,59uO%[QlO,59uOOQ!0Lh,5<i,5<iO%5uQ`O1G2YO!+rQMhO1G2aO!+rQMhO1G5oO!+rQMhO1G5oO%5zQ!0MxO7+'lOOQ!0Lf7+'l7+'lO!$fQlO7+'lO%6nQ`O,5;^OOQ!0Lb,5?e,5?eOOQ!0Lb-E<w-E<wO%6sQ!dO'#K[O#'cQ`O7+(dO4UQ!fO7+(dO$BuQ`O7+(dO%6}Q!0MvO'#CiO%7nQ!0LrO,5=RO%8PQ!0MvO,5=RO%8dQ`O,5=ROOQ!0Lb1G5m1G5mOOQ[7+$a7+$aO!BYQ!0LrO7+$aO!BeQpO7+$aO!$fQlO7+&_O%8lQ`O'#JOO%9TQ`O,5@}OOQO1G3f1G3fO9aQ`O,5@}O%9TQ`O,5@}O%9]Q`O,5@}OOQO,5?k,5?kOOQO-E<}-E<}OOQ!0Lf7+'S7+'SO%9bQ`O7+)PO9kQ!0LrO7+)PO9aQ`O7+)PO@iQ`O7+)POOQ[7+(o7+(oO%9gQ!0MvO7+(lO!&iQMhO7+(lO!DfQ`O7+(mOOQ[7+(m7+(mO!&iQMhO7+(mO%9qQ`O'#K`O%9|Q`O,5=kOOQO,5?g,5?gOOQO-E<y-E<yOOQ[7+(r7+(rO%;`QpO'#HYOOQ[1G3_1G3_O!&iQMhO1G3_O%[QlO1G3_O%;gQ`O1G3_O%;rQMhO1G3_O9kQ!0LrO1G3aO$#yQ`O1G3aO9UQ`O1G3aO!BeQpO1G3aO!BmQMhO1G3aO%<QQ`O'#I}O%<fQ`O,5@{O%<nQpO,5@{OOQ!0Lb1G3b1G3bOOQ[7+$V7+$VO@iQ`O7+$VO9kQ!0LrO7+$VO%<yQ`O7+$VO%[QlO1G6jO%[QlO1G6kO%=OQ!0LrO1G6jO%=YQlO1G3iO%=aQ`O1G3iO%=fQlO1G3iOOQ[7+)R7+)RO9kQ!0LrO7+)]O`QlO7+)_OOQ['#Kf'#KfOOQ['#JQ'#JQO%=mQlO,5>^OOQ[,5>^,5>^O%[QlO'#HsO%=zQ`O'#HuOOQ[,5>d,5>dO9ZQ`O,5>dOOQ[,5>f,5>fOOQ[7+)h7+)hOOQ[7+)n7+)nOOQ[7+)r7+)rOOQ[7+)t7+)tO%>PQpO1G5zO%>kQ?MtO1G0xO%>uQ`O1G0xOOQO1G/q1G/qO%?QQ?MtO1G/qO>wQ`O1G/qO!(yQlO'#DkOOQO,5>},5>}OOQO-E<a-E<aOOQO,5?T,5?TOOQO-E<g-E<gO!BeQpO1G/qOOQO-E<c-E<cOOQ!0Ln1G0Z1G0ZOOQ!0Lf7+%s7+%sO#'cQ`O7+%sOOQ!0Lf7+&^7+&^O>wQ`O7+&^O!BeQpO7+&^OOQO7+%v7+%vO$?{Q!0MxO7+&VOOQO7+&V7+&VO%[QlO7+&VO%?[Q!0LrO7+&VO!BYQ!0LrO7+%vO!BeQpO7+%vO%?gQ!0LrO7+&VO%?uQ!0MxO7++pO%[QlO7++pO%@VQ`O7++oO%@VQ`O7++oOOQO1G4q1G4qO9ZQ`O1G4qO%@_Q`O1G4qOOQS7+%{7+%{O#'cQ`O<<LOO4UQ!fO<<LOO%@mQ`O<<LOOOQ[<<LO<<LOO!&iQMhO<<LOO%[QlO<<LOO%@uQ`O<<LOO%AQQ!0MzO,5?_O%C]Q!0MzO,5?aO%EhQ!0MzO1G2_O%GyQ!0MzO1G2rO%JUQ!0MzO1G2tO%LaQ!fO,5?OO%[QlO,5?OOOQO-E<b-E<bO%LkQ`O1G5{OOQ!0Lf<<JS<<JSO%LsQ?MtO1G0sO%NzQ?MtO1G0}O& RQ?MtO1G0}O&#SQ?MtO1G0}O&#ZQ?MtO1G0}O&%[Q?MtO1G0}O&']Q?MtO1G0}O&'dQ?MtO1G0}O&'kQ?MtO1G0}O&)lQ?MtO1G0}O&)sQ?MtO1G0}O&)zQ!0MxO<<JeO&+rQ?MtO1G0}O&,oQ?MvO1G0}O&-rQ?MvO'#JjO&/xQ?MtO1G1bO&0VQ?MtO1G0SO&0aQMjO,5?ROOQO-E<e-E<eO!(yQlO'#FpOOQO'#KX'#KXOOQO1G1t1G1tO&0kQ`O1G1sO&0pQ?MtO,5?YOOOW7+'g7+'gOOOO1G/X1G/XO&0zQ!dO1G4vOOQ!0Lh7+(P7+(PP!&iQMhO,5?[O!+rQMhO7+(bO&1RQ`O,5?ZO9ZQ`O,5?ZOOQO-E<m-E<mO&1aQ`O1G6`O&1aQ`O1G6`O&1iQ`O1G6`O&1tQMjO7+'yO&2UQ!dO,5?]O&2`Q`O,5?]O!&iQMhO,5?]OOQO-E<o-E<oO&2eQ!dO1G6aO&2oQ`O1G6aO&2wQ`O1G2jO!&iQMhO1G2jOOQ!0Lb1G2h1G2hOOQ!0Lb1G2i1G2iO%2qQpO1G2hO!BeQpO1G2hOCfQ`O1G2hOOQ!0Lb1G2p1G2pO&2|QpO1G2hO&3[Q`O1G2jO$)iQ`O1G2iOCfQ`O1G2iO$#^QlO1G2jO&3dQ`O1G2iO&4WQMjO,5?_OOQ!0Lh-E<r-E<rO&4yQMjO,5?aOOQ!0Lh-E<t-E<tO!+rQMhO7++ZOOQ!0Lh1G/a1G/aO&5TQ`O1G/aOOQ!0Lh7+'t7+'tO&5YQMjO7+'{O&5jQMjO7++ZO&5tQMjO7++ZO&6RQ!0MxO<<KWOOQ!0Lf<<KW<<KWO&6uQ`O1G0xO!&iQMhO'#IxO&6zQ`O,5@vO&8|Q!fO<<LOO!&iQMhO1G2mO&9TQ!0LrO1G2mOOQ[<<G{<<G{O!BYQ!0LrO<<G{O&9fQ!0MxO<<IyOOQ!0Lf<<Iy<<IyOOQO,5?j,5?jO&:YQ`O,5?jO&:_Q`O,5?jOOQO-E<|-E<|O&:mQ`O1G6iO&:mQ`O1G6iO9aQ`O1G6iO@iQ`O<<LkOOQ[<<Lk<<LkO&:uQ`O<<LkO9kQ!0LrO<<LkOOQ[<<LW<<LWO%9gQ!0MvO<<LWOOQ[<<LX<<LXO!DfQ`O<<LXO&:zQpO'#IzO&;VQ`O,5@zO!(yQlO,5@zOOQ[1G3V1G3VOOQO'#I|'#I|O9kQ!0LrO'#I|O&;_QpO,5=tOOQ[,5=t,5=tO&;fQpO'#EeO&;mQpO'#GdO&;rQ`O7+(yO&;wQ`O7+(yOOQ[7+(y7+(yO!&iQMhO7+(yO%[QlO7+(yO&<PQ`O7+(yOOQ[7+({7+({O9kQ!0LrO7+({O$#yQ`O7+({O9UQ`O7+({O!BeQpO7+({O&<[Q`O,5?iOOQO-E<{-E<{OOQO'#H]'#H]O&<gQ`O1G6gO9kQ!0LrO<<GqOOQ[<<Gq<<GqO@iQ`O<<GqO&<oQ`O7+,UO&<tQ`O7+,VO%[QlO7+,UO%[QlO7+,VOOQ[7+)T7+)TO&<yQ`O7+)TO&=OQlO7+)TO&=VQ`O7+)TOOQ[<<Lw<<LwOOQ[<<Ly<<LyOOQ[-E=O-E=OOOQ[1G3x1G3xO&=[Q`O,5>_OOQ[,5>a,5>aO&=aQ`O1G4OO9ZQ`O7+&dO!(yQlO7+&dOOQO7+%]7+%]O&=fQ?MtO1G6XO>wQ`O7+%]OOQ!0Lf<<I_<<I_OOQ!0Lf<<Ix<<IxO>wQ`O<<IxOOQO<<Iq<<IqO$?{Q!0MxO<<IqO%[QlO<<IqOOQO<<Ib<<IbO!BYQ!0LrO<<IbO&=pQ!0LrO<<IqO&={Q!0MxO<= [O&>]Q`O<= ZOOQO7+*]7+*]O9ZQ`O7+*]OOQ[ANAjANAjO&>eQ!fOANAjO!&iQMhOANAjO#'cQ`OANAjO4UQ!fOANAjO&>lQ`OANAjO%[QlOANAjO&>tQ!0MzO7+'yO&AVQ!0MzO,5?_O&CbQ!0MzO,5?aO&EmQ!0MzO7+'{O&HOQ!fO1G4jO&HYQ?MtO7+&_O&J^Q?MvO,5=WO&LeQ?MvO,5=YO&LuQ?MvO,5=WO&MVQ?MvO,5=YO&MgQ?MvO,59sO' mQ?MvO,5<jO'#pQ?MvO,5<lO'&UQ?MvO,5<zO''zQ?MtO7+'jO'(XQ?MtO7+'lO'(fQ`O,5<[OOQO7+'_7+'_OOQ!0Lh7+*b7+*bO'(kQMjO<<K|OOQO1G4u1G4uO'(rQ`O1G4uO'(}Q`O1G4uO')]Q`O7++zO')]Q`O7++zO!&iQMhO1G4wO')eQ!dO1G4wO')oQ`O7++{O')wQ`O7+(UO'*SQ!dO7+(UOOQ!0Lb7+(S7+(SOOQ!0Lb7+(T7+(TO!BeQpO7+(SOCfQ`O7+(SO'*^Q`O7+(UO!&iQMhO7+(UO$)iQ`O7+(TO'*cQ`O7+(UOCfQ`O7+(TO'*kQMjO<<NuOOQ!0Lh7+${7+${O!+rQMhO<<NuO'*uQ!dO,5?dOOQO-E<v-E<vO'+PQ!0MvO7+(XO!&iQMhO7+(XOOQ[AN=gAN=gO9aQ`O1G5UOOQO1G5U1G5UO'+aQ`O1G5UO'+fQ`O7+,TO'+fQ`O7+,TO9kQ!0LrOANBVO@iQ`OANBVOOQ[ANBVANBVOOQ[ANArANArOOQ[ANAsANAsO'+nQ`O,5?fOOQO-E<x-E<xO'+yQ?MtO1G6fOOQO,5?h,5?hOOQO-E<z-E<zOOQ[1G3`1G3`O',TQ`O,5=OOOQ[<<Le<<LeO!&iQMhO<<LeO&;rQ`O<<LeO',YQ`O<<LeO%[QlO<<LeOOQ[<<Lg<<LgO9kQ!0LrO<<LgO$#yQ`O<<LgO9UQ`O<<LgO',bQpO1G5TO',mQ`O7+,ROOQ[AN=]AN=]O9kQ!0LrOAN=]OOQ[<= p<= pOOQ[<= q<= qO',uQ`O<= pO',zQ`O<= qOOQ[<<Lo<<LoO'-PQ`O<<LoO'-UQlO<<LoOOQ[1G3y1G3yO>wQ`O7+)jO'-]Q`O<<JOO'-hQ?MtO<<JOOOQO<<Hw<<HwOOQ!0LfAN?dAN?dOOQOAN?]AN?]O$?{Q!0MxOAN?]OOQOAN>|AN>|O%[QlOAN?]OOQO<<Mw<<MwOOQ[G27UG27UO!&iQMhOG27UO#'cQ`OG27UO'-rQ!fOG27UO4UQ!fOG27UO'-yQ`OG27UO'.RQ?MtO<<JeO'.`Q?MvO1G2_O'0UQ?MvO,5?_O'2XQ?MvO,5?aO'4[Q?MvO1G2rO'6_Q?MvO1G2tO'8bQ?MtO<<KWO'8oQ?MtO<<IyOOQO1G1v1G1vO!+rQMhOANAhOOQO7+*a7+*aO'8|Q`O7+*aO'9XQ`O<= fO'9aQ!dO7+*cOOQ!0Lb<<Kp<<KpO$)iQ`O<<KpOCfQ`O<<KpO'9kQ`O<<KpO!&iQMhO<<KpOOQ!0Lb<<Kn<<KnO!BeQpO<<KnO'9vQ!dO<<KpOOQ!0Lb<<Ko<<KoO':QQ`O<<KpO!&iQMhO<<KpO$)iQ`O<<KoO':VQMjOANDaO':aQ!0MvO<<KsOOQO7+*p7+*pO9aQ`O7+*pO':qQ`O<= oOOQ[G27qG27qO9kQ!0LrOG27qO!(yQlO1G5QO':yQ`O7+,QO';RQ`O1G2jO&;rQ`OANBPOOQ[ANBPANBPO!&iQMhOANBPO';WQ`OANBPOOQ[ANBRANBRO9kQ!0LrOANBRO$#yQ`OANBROOQO'#H^'#H^OOQO7+*o7+*oOOQ[G22wG22wOOQ[ANE[ANE[OOQ[ANE]ANE]OOQ[ANBZANBZO';`Q`OANBZOOQ[<<MU<<MUO!(yQlOAN?jOOQOG24wG24wO$?{Q!0MxOG24wO#'cQ`OLD,pOOQ[LD,pLD,pO!&iQMhOLD,pO';eQ!fOLD,pO';lQ?MvO7+'yO'=bQ?MvO,5?_O'?eQ?MvO,5?aO'AhQ?MvO7+'{O'C^QMjOG27SOOQO<<M{<<M{OOQ!0LbANA[ANA[O$)iQ`OANA[OCfQ`OANA[O'CnQ!dOANA[OOQ!0LbANAYANAYO'CuQ`OANA[O!&iQMhOANA[O'DQQ!dOANA[OOQ!0LbANAZANAZOOQO<<N[<<N[OOQ[LD-]LD-]O'D[Q?MtO7+*lOOQO'#Ge'#GeOOQ[G27kG27kO&;rQ`OG27kO!&iQMhOG27kOOQ[G27mG27mO9kQ!0LrOG27mOOQ[G27uG27uO'DfQ?MtOG25UOOQOLD*cLD*cOOQ[!$(![!$(![O#'cQ`O!$(![O!&iQMhO!$(![O'DpQ!0MzOG27SOOQ!0LbG26vG26vO$)iQ`OG26vO'GRQ`OG26vOCfQ`OG26vO'G^Q!dOG26vO!&iQMhOG26vOOQ[LD-VLD-VO&;rQ`OLD-VOOQ[LD-XLD-XOOQ[!)9Ev!)9EvO#'cQ`O!)9EvOOQ!0LbLD,bLD,bO$)iQ`OLD,bOCfQ`OLD,bO'GeQ`OLD,bO'GpQ!dOLD,bOOQ[!$(!q!$(!qOOQ[!.K;b!.K;bO'GwQ?MvOG27SOOQ!0Lb!$( |!$( |O$)iQ`O!$( |OCfQ`O!$( |O'ImQ`O!$( |OOQ!0Lb!)9Eh!)9EhO$)iQ`O!)9EhOCfQ`O!)9EhOOQ!0Lb!.K;S!.K;SO$)iQ`O!.K;SOOQ!0Lb!4/0n!4/0nO!(yQlO'#DxO1PQ`O'#EVO'IxQ!fO'#JpO'JPQ!L^O'#DtO'JWQlO'#D|O'J_Q!fO'#CiO'LuQ!fO'#CiO!(yQlO'#EOO'MVQlO,5;XO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO'#InO( YQ`O,5<hO!(yQlO,5;cO( bQMhO,5;cO(!{QMhO,5;cO!(yQlO,5;vO!&iQMhO'#GlO( bQMhO'#GlO!&iQMhO'#GnO( bQMhO'#GnO1SQ`O'#DXO1SQ`O'#DXO!&iQMhO'#GOO( bQMhO'#GOO!&iQMhO'#GQO( bQMhO'#GQO!&iQMhO'#G`O( bQMhO'#G`O!(yQlO,5:hO(#SQpO'#D]O(#^QpO'#JtO!(yQlO,5@mO'MVQlO1G0sO(#hQ?MtO'#CiO!(yQlO1G2OO!&iQMhO'#IsO( bQMhO'#IsO!&iQMhO'#IuO( bQMhO'#IuO(#rQ!dO'#CrO!&iQMhO,5<sO( bQMhO,5<sO'MVQlO1G2QO!(yQlO7+&yO!&iQMhO1G2_O( bQMhO1G2_O!&iQMhO'#IsO( bQMhO'#IsO!&iQMhO'#IuO( bQMhO'#IuO!&iQMhO1G2aO( bQMhO1G2aO'MVQlO7+'lO'MVQlO7+&_O!&iQMhOANAhO( bQMhOANAhO($VQ`O'#EmO($[Q`O'#EmO($dQ`O'#F[O($iQ`O'#EwO($nQ`O'#KRO($yQ`O'#KPO(%UQ`O,5;XO(%ZQMjO,5<dO(%bQ`O'#GXO(%gQ`O'#GXO(%lQ`O,5<fO(%tQ`O,5;XO(%|Q?MtO1G1_O(&TQ`O,5<sO(&YQ`O,5<sO(&_Q`O,5<uO(&dQ`O,5<uO(&iQ`O1G2QO(&nQ`O1G0sO(&sQMjO<<K|O(&zQMjO<<K|O7eQMhO'#F{O9UQ`O'#FzOAdQ`O'#ElO!(yQlO,5;sO!3^Q`O'#GXO!3^Q`O'#GXO!3^Q`O'#GZO!3^Q`O'#GZO!+rQMhO7+(bO!+rQMhO7+(bO%-ZQ!dO1G2vO%-ZQ!dO1G2vO!&iQMhO,5=[O!&iQMhO,5=[",stateData:"((P~O'zOS'{OSTOS'|RQ~OPYOQYOSfOY!VOaqOdzOeyOj!POnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]XO!guO!jZO!mYO!nYO!oYO!qvO!swO!vxO!z]O$V|O$miO%g}O%i!QO%k!OO%l!OO%m!OO%p!RO%r!SO%u!TO%v!TO%x!UO&U!WO&[!XO&^!YO&`!ZO&b![O&e!]O&k!^O&q!_O&s!`O&u!aO&w!bO&y!cO(RSO(TTO(WUO(_VO(m[O~OWtO~P`OPYOQYOSfOd!jOe!iOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]!eO!guO!jZO!mYO!nYO!oYO!qvO!s!gO!v!hO$V!kO$miO(R!dO(TTO(WUO(_VO(m[O~Oa!wOq!nO!Q!oO!`!yO!a!vO!b!vO!z;wO#R!pO#S!pO#T!xO#U!pO#V!pO#Y!zO#Z!zO(S!lO(TTO(WUO(c!mO(m!sO~O'|!{O~OP]XR]X[]Xa]Xp]X!O]X!Q]X!Z]X!j]X!n]X#P]X#Q]X#^]X#ifX#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#w]X#y]X#z]X$P]X'x]X(_]X(p]X(w]X(x]X~O!e%QX~P(qO_!}O(T#PO(U!}O(V#PO~O_#QO(V#PO(W#PO(X#QO~Ov#SO!S#TO(`#TO(a#VO~OPYOQYOSfOd!jOe!iOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]!eO!guO!jZO!mYO!nYO!oYO!qvO!s!gO!v!hO$V!kO$miO(R;{O(TTO(WUO(_VO(m[O~O!Y#ZO!Z#WO!W(fP!W(tP~P+}O![#cO~P`OPYOQYOSfOd!jOe!iOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]!eO!guO!jZO!mYO!nYO!oYO!qvO!s!gO!v!hO$V!kO$miO(TTO(WUO(_VO(m[O~On#mO!Y#iO!z]O#g#lO#h#iO(R;|O!i(qP~P.iO!j#oO(R#nO~O!v#sO!z]O%g#tO~O#i#uO~O!e#vO#i#uO~OP$[OR#zO[$cOp$aO!O#yO!Q#{O!Z$_O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO#w$UO#y$WO#z$XO(_VO(p$YO(w#|O(x#}O~Oa(dX'x(dX'u(dX!i(dX!W(dX!](dX%h(dX!e(dX~P1qO#Q$dO#^$eO$P$eOP(eXR(eX[(eXp(eX!O(eX!Q(eX!Z(eX!j(eX!n(eX#P(eX#l(eX#m(eX#n(eX#o(eX#p(eX#q(eX#r(eX#s(eX#t(eX#u(eX#w(eX#y(eX#z(eX(_(eX(p(eX(w(eX(x(eX!](eX%h(eX~Oa(eX'x(eX'u(eX!W(eX!i(eXt(eX!e(eX~P4UO#^$eO~O$[$hO$^$gO$e$mO~OSfO!]$nO$h$oO$j$qO~Oh%VOj%cOn%WOp%XOq$tOr$tOx%YOz%ZO|%[O!Q${O!]$|O!g%aO!j$xO#h%bO$V%_O$s%]O$u%^O$x%`O(R$sO(TTO(WUO(_$uO(w$}O(x%POg([P~O!j%dO~O!Q%gO!]%hO(R%fO~O!e%lO~Oa%mO'x%mO~O!O%qO~P%[O(S!lO~P%[O%m%uO~P%[Oh%VO!j%dO(R%fO(S!lO~Oe%|O!j%dO(R%fO~O#t$RO~O!O&RO!]&OO!j&QO%i&UO(R%fO(S!lO(TTO(WUO`)UP~O!v#sO~O%r&WO!Q)QX!])QX(R)QX~O(R&XO~Oj!PO!s&^O%i!QO%k!OO%l!OO%m!OO%p!RO%r!SO%u!TO%v!TO~Od&cOe&bO!v&`O%g&aO%z&_O~P<POd&fOeyOj!PO!]&eO!s&^O!vxO!z]O%g}O%k!OO%l!OO%m!OO%p!RO%r!SO%u!TO%v!TO%x!UO~Ob&iO#^&lO%i&gO(S!lO~P=UO!j&mO!s&qO~O!j#oO~O!]XO~Oa%mO'v&yO'x%mO~Oa%mO'v&|O'x%mO~Oa%mO'v'OO'x%mO~O'u]X!W]Xt]X!i]X&Y]X!]]X%h]X!e]X~P(qO!`']O!a'UO!b'UO(S!lO(TTO(WUO~Oq'SO!Q'RO!Y'VO(c'QO![(gP![(vP~P@]Ol'`O!]'^O(R%fO~Oe'eO!j%dO(R%fO~O!O&RO!j&QO~Oq!nO!Q!oO!z;wO#R!pO#S!pO#U!pO#V!pO(S!lO(TTO(WUO(c!mO(m!sO~O!`'kO!a'jO!b'jO#T!pO#Y'lO#Z'lO~PAwOa%mOh%VO!e#vO!j%dO'x%mO(p'nO~O!n'rO#^'pO~PCVOq!nO!Q!oO(TTO(WUO(c!mO(m!sO~O!]XOq(kX!Q(kX!`(kX!a(kX!b(kX!z(kX#R(kX#S(kX#T(kX#U(kX#V(kX#Y(kX#Z(kX(S(kX(T(kX(W(kX(c(kX(m(kX~O!a'jO!b'jO(S!lO~PCuO'}'vO(O'vO(P'xO~O_!}O(T'zO(U!}O(V'zO~O_#QO(V'zO(W'zO(X#QO~Ot'|O~P%[Ov#SO!S#TO(`#TO(a(PO~O!Y(RO!W'UX!W'[X!Z'UX!Z'[X~P+}O!Z(TO!W(fX~OP$[OR#zO[$cOp$aO!O#yO!Q#{O!Z(TO!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO#w$UO#y$WO#z$XO(_VO(p$YO(w#|O(x#}O~O!W(fX~PGpO!W(YO~O!W(sX!Z(sX!e(sX!i(sX(p(sX~O#^(sX#i#bX![(sX~PIsO#^(ZO!W(uX!Z(uX~O!Z([O!W(tX~O!W(_O~O#^$eO~PIsO![(`O~P`OR#zO!O#yO!Q#{O!j#xO(_VOP!la[!lap!la!Z!la!n!la#P!la#l!la#m!la#n!la#o!la#p!la#q!la#r!la#s!la#t!la#u!la#w!la#y!la#z!la(p!la(w!la(x!la~Oa!la'x!la'u!la!W!la!i!lat!la!]!la%h!la!e!la~PKZO!i(aO~O!e#vO#^(bO(p'nO!Z(rXa(rX'x(rX~O!i(rX~PMvO!Q%gO!]%hO!z]O#g(gO#h(fO(R%fO~O!Z(hO!i(qX~O!i(jO~O!Q%gO!]%hO#h(fO(R%fO~OP(eXR(eX[(eXp(eX!O(eX!Q(eX!Z(eX!j(eX!n(eX#P(eX#l(eX#m(eX#n(eX#o(eX#p(eX#q(eX#r(eX#s(eX#t(eX#u(eX#w(eX#y(eX#z(eX(_(eX(p(eX(w(eX(x(eX~O!e#vO!i(eX~P! dOR(lO!O(kO!j#xO#Q$dO!z!ya!Q!ya~O!v!ya%g!ya!]!ya#g!ya#h!ya(R!ya~P!#eO!v(pO~OPYOQYOSfOd!jOe!iOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]XO!guO!jZO!mYO!nYO!oYO!qvO!s!gO!v!hO$V!kO$miO(R!dO(TTO(WUO(_VO(m[O~Oh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|<eO!Q${O!]$|O!g=vO!j$xO#h<kO$V%_O$s<gO$u<iO$x%`O(R(tO(TTO(WUO(_$uO(w$}O(x%PO~O#i(vO~O!Y(xO!i(iP~P%[O(c(zO(m[O~O!Q(|O!j#xO(c(zO(m[O~OP;vOQ;vOSfOd=rOe!iOnkOp;vOqkOrkOxkOz;vO|;vO!QWO!UkO!VkO!]!eO!g;yO!jZO!m;vO!n;vO!o;vO!q;zO!s;}O!v!hO$V!kO$m=pO(R)ZO(TTO(WUO(_VO(m[O~O!Z$_Oa$pa'x$pa'u$pa!i$pa!W$pa!]$pa%h$pa!e$pa~Oj)bO~P!&iOh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|%[O!Q${O!]$|O!g%aO!j$xO#h%bO$V%_O$s%]O$u%^O$x%`O(R(tO(TTO(WUO(_$uO(w$}O(x%PO~Og(nP~P!+rO!O)gO!e)fO!]$]X$Y$]X$[$]X$^$]X$e$]X~O!e)fO!](yX$Y(yX$[(yX$^(yX$e(yX~O!O)gO~P!-{O!O)gO!](yX$Y(yX$[(yX$^(yX$e(yX~O!])iO$Y)mO$[)hO$^)hO$e)nO~O!Y)qO~P!(yO$[$hO$^$gO$e)uO~Ol$yX!O$yX#Q$yX'w$yX(w$yX(x$yX~OgkXg$yXlkX!ZkX#^kX~P!/qOv)wO(`)xO(a)zO~Ol*TO!O)|O'w)}O(w$}O(x%PO~Og){O~P!0uOg*UO~Oh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|<eO!Q*WO!]*XO!g=vO!j$xO#h<kO$V%_O$s<gO$u<iO$x%`O(TTO(WUO(_$uO(w$}O(x%PO~O!Y*[O(R*VO!i(|P~P!1dO#i*^O~O!j*_O~Oh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|<eO!Q${O!]$|O!g=vO!j$xO#h<kO$V%_O$s<gO$u<iO$x%`O(R*aO(TTO(WUO(_$uO(w$}O(x%PO~O!Y*dO!W(}P~P!3cOp*pOq!nO!Q*fO!`*nO!a*hO!b*hO!j*_O#Y*oO%_*jO(S!lO(TTO(WUO(c!mO~O![*mO~P!5WO#Q$dOl(^X!O(^X'w(^X(w(^X(x(^X!Z(^X#^(^X~Og(^X#}(^X~P!6YOl*uO#^*tOg(]X!Z(]X~O!Z*vOg([X~Oj%cO(R&XOg([P~Oq*yO~O!j+OO~O(R(tO~On+TO!Q%gO!Y#iO!]%hO!z]O#g#lO#h#iO(R%fO!i(qP~O!e#vO#i+UO~O!Q%gO!Y+WO!Z([O!]%hO(R%fO!W(tP~Oq'YO!Q+YO!Y+XO(TTO(WUO(c(zO~O![(vP~P!9]O!Z+ZOa)RX'x)RX~OP$[OR#zO[$cOp$aO!O#yO!Q#{O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO#w$UO#y$WO#z$XO(_VO(p$YO(w#|O(x#}O~Oa!ha!Z!ha'x!ha'u!ha!W!ha!i!hat!ha!]!ha%h!ha!e!ha~P!:TOR#zO!O#yO!Q#{O!j#xO(_VOP!pa[!pap!pa!Z!pa!n!pa#P!pa#l!pa#m!pa#n!pa#o!pa#p!pa#q!pa#r!pa#s!pa#t!pa#u!pa#w!pa#y!pa#z!pa(p!pa(w!pa(x!pa~Oa!pa'x!pa'u!pa!W!pa!i!pat!pa!]!pa%h!pa!e!pa~P!<kOR#zO!O#yO!Q#{O!j#xO(_VOP!ra[!rap!ra!Z!ra!n!ra#P!ra#l!ra#m!ra#n!ra#o!ra#p!ra#q!ra#r!ra#s!ra#t!ra#u!ra#w!ra#y!ra#z!ra(p!ra(w!ra(x!ra~Oa!ra'x!ra'u!ra!W!ra!i!rat!ra!]!ra%h!ra!e!ra~P!?ROh%VOl+dO!]'^O%h+cO~O!e+fOa(ZX!](ZX'x(ZX!Z(ZX~Oa%mO!]XO'x%mO~Oh%VO!j%dO~Oh%VO!j%dO(R%fO~O!e#vO#i(vO~Ob+qO%i+rO(R+nO(TTO(WUO![)VP~O!Z+sO`)UX~O[+wO~O`+xO~O!]&OO(R%fO(S!lO`)UP~Oh%VO#^+}O~Oh%VOl,QO!]$|O~O!],SO~O!O,UO!]XO~O%m%uO~O!v,ZO~Oe,`O~Ob,aO(R#nO(TTO(WUO![)TP~Oe%|O~O%i!QO(R&XO~P=UO[,fO`,eO~OPYOQYOSfOdzOeyOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!guO!jZO!mYO!nYO!oYO!qvO!vxO!z]O$miO%g}O(TTO(WUO(_VO(m[O~O!]!eO!s!gO$V!kO(R!dO~P!FRO`,eOa%mO'x%mO~OPYOQYOSfOd!jOe!iOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]!eO!guO!jZO!mYO!nYO!oYO!qvO!v!hO$V!kO$miO(R!dO(TTO(WUO(_VO(m[O~Oa,kOj!OO!swO%k!OO%l!OO%m!OO~P!HkO!j&mO~O&[,qO~O!],sO~O&m,uO&o,vOP&jaQ&jaS&jaY&jaa&jad&jae&jaj&jan&jap&jaq&jar&jax&jaz&ja|&ja!Q&ja!U&ja!V&ja!]&ja!g&ja!j&ja!m&ja!n&ja!o&ja!q&ja!s&ja!v&ja!z&ja$V&ja$m&ja%g&ja%i&ja%k&ja%l&ja%m&ja%p&ja%r&ja%u&ja%v&ja%x&ja&U&ja&[&ja&^&ja&`&ja&b&ja&e&ja&k&ja&q&ja&s&ja&u&ja&w&ja&y&ja'u&ja(R&ja(T&ja(W&ja(_&ja(m&ja![&ja&c&jab&ja&h&ja~O(R,{O~Oh!cX!Z!PX![!PX!e!PX!e!cX!j!cX#^!PX~O!Z!cX![!cX~P# qO!e-QO#^-POh(hX!Z#fX![#fX!e(hX!j(hX~O!Z(hX![(hX~P#!dOh%VO!e-SO!j%dO!Z!_X![!_X~Oq!nO!Q!oO(TTO(WUO(c!mO~OP;vOQ;vOSfOd=rOe!iOnkOp;vOqkOrkOxkOz;vO|;vO!QWO!UkO!VkO!]!eO!g;yO!jZO!m;vO!n;vO!o;vO!q;zO!s;}O!v!hO$V!kO$m=pO(TTO(WUO(_VO(m[O~O(R<rO~P##yO!Z-WO![(gX~O![-YO~O!e-QO#^-PO!Z#fX![#fX~O!Z-ZO![(vX~O![-]O~O!a-^O!b-^O(S!lO~P##hO![-aO~P'_Ol-dO!]'^O~O!W-iO~Oq!ya!`!ya!a!ya!b!ya#R!ya#S!ya#T!ya#U!ya#V!ya#Y!ya#Z!ya(S!ya(T!ya(W!ya(c!ya(m!ya~P!#eO!n-nO#^-lO~PCVO!a-pO!b-pO(S!lO~PCuOa%mO#^-lO'x%mO~Oa%mO!e#vO#^-lO'x%mO~Oa%mO!e#vO!n-nO#^-lO'x%mO(p'nO~O'}'vO(O'vO(P-uO~Ot-vO~O!W'Ua!Z'Ua~P!:TO!Y-zO!W'UX!Z'UX~P%[O!Z(TO!W(fa~O!W(fa~PGpO!Z([O!W(ta~O!Q%gO!Y.OO!]%hO(R%fO!W'[X!Z'[X~O#^.QO!Z(ra!i(raa(ra'x(ra~O!e#vO~P#,PO!Z(hO!i(qa~O!Q%gO!]%hO#h.UO(R%fO~On.ZO!Q%gO!Y.WO!]%hO!z]O#g.YO#h.WO(R%fO!Z'_X!i'_X~OR._O!j#xO~Oh%VOl.bO!]'^O%h.aO~Oa#ai!Z#ai'x#ai'u#ai!W#ai!i#ait#ai!]#ai%h#ai!e#ai~P!:TOl=|O!O)|O'w)}O(w$}O(x%PO~O#i#]aa#]a#^#]a'x#]a!Z#]a!i#]a!]#]a!W#]a~P#.{O#i(^XP(^XR(^X[(^Xa(^Xp(^X!Q(^X!j(^X!n(^X#P(^X#l(^X#m(^X#n(^X#o(^X#p(^X#q(^X#r(^X#s(^X#t(^X#u(^X#w(^X#y(^X#z(^X'x(^X(_(^X(p(^X!i(^X!W(^X'u(^Xt(^X!](^X%h(^X!e(^X~P!6YO!Z.oO!i(iX~P!:TO!i.rO~O!W.tO~OP$[OR#zO!O#yO!Q#{O!j#xO!n$[O(_VO[#kia#kip#ki!Z#ki#P#ki#m#ki#n#ki#o#ki#p#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki'x#ki(p#ki(w#ki(x#ki'u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#l#ki~P#2kO#l$OO~P#2kOP$[OR#zOp$aO!O#yO!Q#{O!j#xO!n$[O#l$OO#m$PO#n$PO#o$PO(_VO[#kia#ki!Z#ki#P#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki'x#ki(p#ki(w#ki(x#ki'u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#p#ki~P#5YO#p$QO~P#5YOP$[OR#zO[$cOp$aO!O#yO!Q#{O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO(_VOa#ki!Z#ki#w#ki#y#ki#z#ki'x#ki(p#ki(w#ki(x#ki'u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#u#ki~P#7wOP$[OR#zO[$cOp$aO!O#yO!Q#{O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO(_VO(x#}Oa#ki!Z#ki#y#ki#z#ki'x#ki(p#ki(w#ki'u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#w$UO~P#:_O#w#ki~P#:_O#u$SO~P#7wOP$[OR#zO[$cOp$aO!O#yO!Q#{O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO#w$UO(_VO(w#|O(x#}Oa#ki!Z#ki#z#ki'x#ki(p#ki'u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#y#ki~P#=TO#y$WO~P#=TOP]XR]X[]Xp]X!O]X!Q]X!j]X!n]X#P]X#Q]X#^]X#ifX#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#w]X#y]X#z]X$P]X(_]X(p]X(w]X(x]X!Z]X![]X~O#}]X~P#?rOP$[OR#zO[<_Op<]O!O#yO!Q#{O!j#xO!n$[O#P<SO#l<PO#m<QO#n<QO#o<QO#p<RO#q<SO#r<SO#s<^O#t<SO#u<TO#w<VO#y<XO#z<YO(_VO(p$YO(w#|O(x#}O~O#}.vO~P#BPO#Q$dO#^<`O$P<`O#}(eX![(eX~P! dOa'ba!Z'ba'x'ba'u'ba!i'ba!W'bat'ba!]'ba%h'ba!e'ba~P!:TO[#kia#kip#ki!Z#ki#P#ki#p#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki'x#ki(p#ki'u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~OP$[OR#zO!O#yO!Q#{O!j#xO!n$[O#l$OO#m$PO#n$PO#o$PO(_VO(w#ki(x#ki~P#EROl=|O!O)|O'w)}O(w$}O(x%POP#kiR#ki!Q#ki!j#ki!n#ki#l#ki#m#ki#n#ki#o#ki(_#ki~P#ERO!Z.zOg(nX~P!0uOg.|O~Oa$Oi!Z$Oi'x$Oi'u$Oi!W$Oi!i$Oit$Oi!]$Oi%h$Oi!e$Oi~P!:TO$[.}O$^.}O~O$[/OO$^/OO~O!e)fO#^/PO!]$bX$Y$bX$[$bX$^$bX$e$bX~O!Y/QO~O!])iO$Y/SO$[)hO$^)hO$e/TO~O!Z<ZO![(dX~P#BPO![/UO~O!e)fO$e(yX~O$e/WO~Ot/XO~P!&iOv)wO(`)xO(a/[O~O!Q/_O~O(w$}Ol%`a!O%`a'w%`a(x%`a!Z%`a#^%`a~Og%`a#}%`a~P#LTO(x%POl%ba!O%ba'w%ba(w%ba!Z%ba#^%ba~Og%ba#}%ba~P#LvO!ZfX!efX!ifX!i$yX(pfX~P!/qO!Y/hO!Z([O(R/gO!W(tP!W(}P~P!1dOp*pO!`*nO!a*hO!b*hO!j*_O#Y*oO%_*jO(S!lO(TTO(WUO~Oq<oO!Q/iO!Y+XO![*mO(c<nO![(vP~P#NaO!i/jO~P#.{O!Z/kO!e#vO(p'nO!i(|X~O!i/pO~O!Q%gO!Y*[O!]%hO(R%fO!i(|P~O#i/rO~O!W$yX!Z$yX!e%QX~P!/qO!Z/sO!W(}X~P#.{O!e/uO~O!W/wO~OnkO(R/xO~P.iOh%VOp/}O!e#vO!j%dO(p'nO~O!e+fO~Oa%mO!Z0RO'x%mO~O![0TO~P!5WO!a0UO!b0UO(S!lO~P##hOq!nO!Q0VO(TTO(WUO(c!mO~O#Y0XO~Og%`a!Z%`a#^%`a#}%`a~P!0uOg%ba!Z%ba#^%ba#}%ba~P!0uOj%cO(R&XOg'kX!Z'kX~O!Z*vOg([a~Og0bO~OR0cO!O0cO!Q0dO#Q$dOl{a'w{a(w{a(x{a!Z{a#^{a~Og{a#}{a~P$&dO!O)|O'w)}Ol$ra(w$ra(x$ra!Z$ra#^$ra~Og$ra#}$ra~P$'`O!O)|O'w)}Ol$ta(w$ta(x$ta!Z$ta#^$ta~Og$ta#}$ta~P$(RO#i0gO~Og%Sa!Z%Sa#^%Sa#}%Sa~P!0uOl0iO#^0hOg(]a!Z(]a~O!e#vO~O#i0lO~O!Z+ZOa)Ra'x)Ra~OR#zO!O#yO!Q#{O!j#xO(_VOP!pi[!pip!pi!Z!pi!n!pi#P!pi#l!pi#m!pi#n!pi#o!pi#p!pi#q!pi#r!pi#s!pi#t!pi#u!pi#w!pi#y!pi#z!pi(p!pi(w!pi(x!pi~Oa!pi'x!pi'u!pi!W!pi!i!pit!pi!]!pi%h!pi!e!pi~P$*OOh%VOp%XOq$tOr$tOx%YOz%ZO|<eO!Q${O!]$|O!g=vO!j$xO#h<kO$V%_O$s<gO$u<iO$x%`O(TTO(WUO(_$uO(w$}O(x%PO~On0vO%[0wO(R0tO~P$,fO!e+fOa(Za!](Za'x(Za!Z(Za~O#i0|O~O[]X!ZfX![fX~O!Z0}O![)VX~O![1PO~O[1QO~Ob1SO(R+nO(TTO(WUO~O!]&OO(R%fO`'sX!Z'sX~O!Z+sO`)Ua~O!i1VO~P!:TO[1YO~O`1ZO~O#^1^O~Ol1aO!]$|O~O(c(zO![)SP~Oh%VOl1jO!]1gO%h1iO~O[1tO!Z1rO![)TX~O![1uO~O`1wOa%mO'x%mO~O(R#nO(TTO(WUO~O#Q$dO#^$eO$P$eOP(eXR(eX[(eXp(eX!O(eX!Q(eX!Z(eX!j(eX!n(eX#P(eX#l(eX#m(eX#n(eX#o(eX#p(eX#q(eX#r(eX#s(eX#u(eX#w(eX#y(eX#z(eX(_(eX(p(eX(w(eX(x(eX~O#t1zO&Y1{Oa(eX~P$2PO#^$eO#t1zO&Y1{O~Oa1}O~P%[Oa2PO~O&c2SOP&aiQ&aiS&aiY&aia&aid&aie&aij&ain&aip&aiq&air&aix&aiz&ai|&ai!Q&ai!U&ai!V&ai!]&ai!g&ai!j&ai!m&ai!n&ai!o&ai!q&ai!s&ai!v&ai!z&ai$V&ai$m&ai%g&ai%i&ai%k&ai%l&ai%m&ai%p&ai%r&ai%u&ai%v&ai%x&ai&U&ai&[&ai&^&ai&`&ai&b&ai&e&ai&k&ai&q&ai&s&ai&u&ai&w&ai&y&ai'u&ai(R&ai(T&ai(W&ai(_&ai(m&ai![&aib&ai&h&ai~Ob2YO![2WO&h2XO~P`O!]XO!j2[O~O&o,vOP&jiQ&jiS&jiY&jia&jid&jie&jij&jin&jip&jiq&jir&jix&jiz&ji|&ji!Q&ji!U&ji!V&ji!]&ji!g&ji!j&ji!m&ji!n&ji!o&ji!q&ji!s&ji!v&ji!z&ji$V&ji$m&ji%g&ji%i&ji%k&ji%l&ji%m&ji%p&ji%r&ji%u&ji%v&ji%x&ji&U&ji&[&ji&^&ji&`&ji&b&ji&e&ji&k&ji&q&ji&s&ji&u&ji&w&ji&y&ji'u&ji(R&ji(T&ji(W&ji(_&ji(m&ji![&ji&c&jib&ji&h&ji~O!W2bO~O!Z!_a![!_a~P#BPOq!nO!Q!oO!Y2hO(c!mO!Z'VX!['VX~P@]O!Z-WO![(ga~O!Z']X![']X~P!9]O!Z-ZO![(va~O![2oO~P'_Oa%mO#^2xO'x%mO~Oa%mO!e#vO#^2xO'x%mO~Oa%mO!e#vO!n2|O#^2xO'x%mO(p'nO~Oa%mO'x%mO~P!:TO!Z$_Ot$pa~O!W'Ui!Z'Ui~P!:TO!Z(TO!W(fi~O!Z([O!W(ti~O!W(ui!Z(ui~P!:TO!Z(ri!i(ria(ri'x(ri~P!:TO#^3OO!Z(ri!i(ria(ri'x(ri~O!Z(hO!i(qi~O!Q%gO!]%hO!z]O#g3TO#h3SO(R%fO~O!Q%gO!]%hO#h3SO(R%fO~Ol3[O!]'^O%h3ZO~Oh%VOl3[O!]'^O%h3ZO~O#i%`aP%`aR%`a[%`aa%`ap%`a!Q%`a!j%`a!n%`a#P%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#t%`a#u%`a#w%`a#y%`a#z%`a'x%`a(_%`a(p%`a!i%`a!W%`a'u%`at%`a!]%`a%h%`a!e%`a~P#LTO#i%baP%baR%ba[%baa%bap%ba!Q%ba!j%ba!n%ba#P%ba#l%ba#m%ba#n%ba#o%ba#p%ba#q%ba#r%ba#s%ba#t%ba#u%ba#w%ba#y%ba#z%ba'x%ba(_%ba(p%ba!i%ba!W%ba'u%bat%ba!]%ba%h%ba!e%ba~P#LvO#i%`aP%`aR%`a[%`aa%`ap%`a!Q%`a!Z%`a!j%`a!n%`a#P%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#t%`a#u%`a#w%`a#y%`a#z%`a'x%`a(_%`a(p%`a!i%`a!W%`a'u%`a#^%`at%`a!]%`a%h%`a!e%`a~P#.{O#i%baP%baR%ba[%baa%bap%ba!Q%ba!Z%ba!j%ba!n%ba#P%ba#l%ba#m%ba#n%ba#o%ba#p%ba#q%ba#r%ba#s%ba#t%ba#u%ba#w%ba#y%ba#z%ba'x%ba(_%ba(p%ba!i%ba!W%ba'u%ba#^%bat%ba!]%ba%h%ba!e%ba~P#.{O#i{aP{a[{aa{ap{a!j{a!n{a#P{a#l{a#m{a#n{a#o{a#p{a#q{a#r{a#s{a#t{a#u{a#w{a#y{a#z{a'x{a(_{a(p{a!i{a!W{a'u{at{a!]{a%h{a!e{a~P$&dO#i$raP$raR$ra[$raa$rap$ra!Q$ra!j$ra!n$ra#P$ra#l$ra#m$ra#n$ra#o$ra#p$ra#q$ra#r$ra#s$ra#t$ra#u$ra#w$ra#y$ra#z$ra'x$ra(_$ra(p$ra!i$ra!W$ra'u$rat$ra!]$ra%h$ra!e$ra~P$'`O#i$taP$taR$ta[$taa$tap$ta!Q$ta!j$ta!n$ta#P$ta#l$ta#m$ta#n$ta#o$ta#p$ta#q$ta#r$ta#s$ta#t$ta#u$ta#w$ta#y$ta#z$ta'x$ta(_$ta(p$ta!i$ta!W$ta'u$tat$ta!]$ta%h$ta!e$ta~P$(RO#i%SaP%SaR%Sa[%Saa%Sap%Sa!Q%Sa!Z%Sa!j%Sa!n%Sa#P%Sa#l%Sa#m%Sa#n%Sa#o%Sa#p%Sa#q%Sa#r%Sa#s%Sa#t%Sa#u%Sa#w%Sa#y%Sa#z%Sa'x%Sa(_%Sa(p%Sa!i%Sa!W%Sa'u%Sa#^%Sat%Sa!]%Sa%h%Sa!e%Sa~P#.{Oa#aq!Z#aq'x#aq'u#aq!W#aq!i#aqt#aq!]#aq%h#aq!e#aq~P!:TO!Y3dO!Z'WX!i'WX~P%[O!Z.oO!i(ia~O!Z.oO!i(ia~P!:TO!W3gO~O#}!la![!la~PKZO#}!ha!Z!ha![!ha~P#BPO#}!pa![!pa~P!<kO#}!ra![!ra~P!?ROg'ZX!Z'ZX~P!+rO!Z.zOg(na~OSfO!]3{O$c3|O~O![4QO~Ot4RO~P#.{Oa$lq!Z$lq'x$lq'u$lq!W$lq!i$lqt$lq!]$lq%h$lq!e$lq~P!:TO!W4TO~P!&iO!Q4UO~O!O)|O'w)}O(x%POl'ga(w'ga!Z'ga#^'ga~Og'ga#}'ga~P%+uO!O)|O'w)}Ol'ia(w'ia(x'ia!Z'ia#^'ia~Og'ia#}'ia~P%,hO(p$YO~P#.{O!WfX!W$yX!ZfX!Z$yX!e%QX#^fX~P!/qO(R<xO~P!1dO!Q%gO!Y4XO!]%hO(R%fO!Z'cX!i'cX~O!Z/kO!i(|a~O!Z/kO!e#vO!i(|a~O!Z/kO!e#vO(p'nO!i(|a~Og${i!Z${i#^${i#}${i~P!0uO!Y4aO!W'eX!Z'eX~P!3cO!Z/sO!W(}a~O!Z/sO!W(}a~P#.{OP]XR]X[]Xp]X!O]X!Q]X!W]X!Z]X!j]X!n]X#P]X#Q]X#^]X#ifX#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#w]X#y]X#z]X$P]X(_]X(p]X(w]X(x]X~O!e%XX#t%XX~P%0XO!e#vO#t4fO~Oh%VO!e#vO!j%dO~Oh%VOp4kO!j%dO(p'nO~Op4pO!e#vO(p'nO~Oq!nO!Q4qO(TTO(WUO(c!mO~O(w$}Ol%`i!O%`i'w%`i(x%`i!Z%`i#^%`i~Og%`i#}%`i~P%3xO(x%POl%bi!O%bi'w%bi(w%bi!Z%bi#^%bi~Og%bi#}%bi~P%4kOg(]i!Z(]i~P!0uO#^4wOg(]i!Z(]i~P!0uO!i4zO~Oa$nq!Z$nq'x$nq'u$nq!W$nq!i$nqt$nq!]$nq%h$nq!e$nq~P!:TO!W5QO~O!Z5RO!])OX~P#.{Oa]Xa$yX!]]X!]$yX%]]X'x]X'x$yX!Z]X!Z$yX~P!/qO%]5UOa%Za!]%Za'x%Za!Z%Za~OlmX!OmX'wmX(wmX(xmX~P%7nOn5VO(R#nO~Ob5]O%i5^O(R+nO(TTO(WUO!Z'rX!['rX~O!Z0}O![)Va~O[5bO~O`5cO~Oa%mO'x%mO~P#.{O!Z5kO#^5mO![)SX~O![5nO~Op5tOq!nO!Q*fO!`!yO!a!vO!b!vO!z;wO#R!pO#S!pO#T!pO#U!pO#V!pO#Y5sO#Z!zO(S!lO(TTO(WUO(c!mO(m!sO~O![5rO~P%:ROl5yO!]1gO%h5xO~Oh%VOl5yO!]1gO%h5xO~Ob6QO(R#nO(TTO(WUO!Z'qX!['qX~O!Z1rO![)Ta~O(TTO(WUO(c6SO~O`6WO~O#t6ZO&Y6[O~PMvO!i6]O~P%[Oa6_O~Oa6_O~P%[Ob2YO![6dO&h2XO~P`O!e6fO~O!e6hOh(hi!Z(hi![(hi!e(hi!j(hip(hi(p(hi~O!Z#fi![#fi~P#BPO#^6iO!Z#fi![#fi~O!Z!_i![!_i~P#BPOa%mO#^6rO'x%mO~Oa%mO!e#vO#^6rO'x%mO~O!Z(rq!i(rqa(rq'x(rq~P!:TO!Z(hO!i(qq~O!Q%gO!]%hO#h6yO(R%fO~O!]'^O%h6|O~Ol7QO!]'^O%h6|O~O#i'gaP'gaR'ga['gaa'gap'ga!Q'ga!j'ga!n'ga#P'ga#l'ga#m'ga#n'ga#o'ga#p'ga#q'ga#r'ga#s'ga#t'ga#u'ga#w'ga#y'ga#z'ga'x'ga(_'ga(p'ga!i'ga!W'ga'u'gat'ga!]'ga%h'ga!e'ga~P%+uO#i'iaP'iaR'ia['iaa'iap'ia!Q'ia!j'ia!n'ia#P'ia#l'ia#m'ia#n'ia#o'ia#p'ia#q'ia#r'ia#s'ia#t'ia#u'ia#w'ia#y'ia#z'ia'x'ia(_'ia(p'ia!i'ia!W'ia'u'iat'ia!]'ia%h'ia!e'ia~P%,hO#i${iP${iR${i[${ia${ip${i!Q${i!Z${i!j${i!n${i#P${i#l${i#m${i#n${i#o${i#p${i#q${i#r${i#s${i#t${i#u${i#w${i#y${i#z${i'x${i(_${i(p${i!i${i!W${i'u${i#^${it${i!]${i%h${i!e${i~P#.{O#i%`iP%`iR%`i[%`ia%`ip%`i!Q%`i!j%`i!n%`i#P%`i#l%`i#m%`i#n%`i#o%`i#p%`i#q%`i#r%`i#s%`i#t%`i#u%`i#w%`i#y%`i#z%`i'x%`i(_%`i(p%`i!i%`i!W%`i'u%`it%`i!]%`i%h%`i!e%`i~P%3xO#i%biP%biR%bi[%bia%bip%bi!Q%bi!j%bi!n%bi#P%bi#l%bi#m%bi#n%bi#o%bi#p%bi#q%bi#r%bi#s%bi#t%bi#u%bi#w%bi#y%bi#z%bi'x%bi(_%bi(p%bi!i%bi!W%bi'u%bit%bi!]%bi%h%bi!e%bi~P%4kO!Z'Wa!i'Wa~P!:TO!Z.oO!i(ii~O#}#ai!Z#ai![#ai~P#BPOP$[OR#zO!O#yO!Q#{O!j#xO!n$[O(_VO[#kip#ki#P#ki#m#ki#n#ki#o#ki#p#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki#}#ki(p#ki(w#ki(x#ki!Z#ki![#ki~O#l#ki~P%MQO#l<PO~P%MQOP$[OR#zOp<]O!O#yO!Q#{O!j#xO!n$[O#l<PO#m<QO#n<QO#o<QO(_VO[#ki#P#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki#}#ki(p#ki(w#ki(x#ki!Z#ki![#ki~O#p#ki~P& YO#p<RO~P& YOP$[OR#zO[<_Op<]O!O#yO!Q#{O!j#xO!n$[O#P<SO#l<PO#m<QO#n<QO#o<QO#p<RO#q<SO#r<SO#s<^O#t<SO(_VO#w#ki#y#ki#z#ki#}#ki(p#ki(w#ki(x#ki!Z#ki![#ki~O#u#ki~P&#bOP$[OR#zO[<_Op<]O!O#yO!Q#{O!j#xO!n$[O#P<SO#l<PO#m<QO#n<QO#o<QO#p<RO#q<SO#r<SO#s<^O#t<SO#u<TO(_VO(x#}O#y#ki#z#ki#}#ki(p#ki(w#ki!Z#ki![#ki~O#w<VO~P&%cO#w#ki~P&%cO#u<TO~P&#bOP$[OR#zO[<_Op<]O!O#yO!Q#{O!j#xO!n$[O#P<SO#l<PO#m<QO#n<QO#o<QO#p<RO#q<SO#r<SO#s<^O#t<SO#u<TO#w<VO(_VO(w#|O(x#}O#z#ki#}#ki(p#ki!Z#ki![#ki~O#y#ki~P&'rO#y<XO~P&'rOa#{y!Z#{y'x#{y'u#{y!W#{y!i#{yt#{y!]#{y%h#{y!e#{y~P!:TO[#kip#ki#P#ki#p#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki#}#ki(p#ki!Z#ki![#ki~OP$[OR#zO!O#yO!Q#{O!j#xO!n$[O#l<PO#m<QO#n<QO#o<QO(_VO(w#ki(x#ki~P&*nOl=}O!O)|O'w)}O(w$}O(x%POP#kiR#ki!Q#ki!j#ki!n#ki#l#ki#m#ki#n#ki#o#ki(_#ki~P&*nO#Q$dOP(^XR(^X[(^Xl(^Xp(^X!O(^X!Q(^X!j(^X!n(^X#P(^X#l(^X#m(^X#n(^X#o(^X#p(^X#q(^X#r(^X#s(^X#t(^X#u(^X#w(^X#y(^X#z(^X#}(^X'w(^X(_(^X(p(^X(w(^X(x(^X!Z(^X![(^X~O#}$Oi!Z$Oi![$Oi~P#BPO#}!pi![!pi~P$*OOg'Za!Z'Za~P!0uO![7dO~O!Z'ba!['ba~P#BPO!W7eO~P#.{O!e#vO(p'nO!Z'ca!i'ca~O!Z/kO!i(|i~O!Z/kO!e#vO!i(|i~Og${q!Z${q#^${q#}${q~P!0uO!W'ea!Z'ea~P#.{O!e7lO~O!Z/sO!W(}i~P#.{O!Z/sO!W(}i~O!W7oO~Oh%VOp7tO!j%dO(p'nO~O!e#vO#t7vO~Op7yO!e#vO(p'nO~O!O)|O'w)}O(x%POl'ha(w'ha!Z'ha#^'ha~Og'ha#}'ha~P&3oO!O)|O'w)}Ol'ja(w'ja(x'ja!Z'ja#^'ja~Og'ja#}'ja~P&4bO!W7{O~Og$}q!Z$}q#^$}q#}$}q~P!0uOg(]q!Z(]q~P!0uO#^7|Og(]q!Z(]q~P!0uOa$ny!Z$ny'x$ny'u$ny!W$ny!i$nyt$ny!]$ny%h$ny!e$ny~P!:TO!e6hO~O!Z5RO!])Oa~O!]'^OP$SaR$Sa[$Sap$Sa!O$Sa!Q$Sa!Z$Sa!j$Sa!n$Sa#P$Sa#l$Sa#m$Sa#n$Sa#o$Sa#p$Sa#q$Sa#r$Sa#s$Sa#t$Sa#u$Sa#w$Sa#y$Sa#z$Sa(_$Sa(p$Sa(w$Sa(x$Sa~O%h6|O~P&7SO%]8QOa%Zi!]%Zi'x%Zi!Z%Zi~Oa#ay!Z#ay'x#ay'u#ay!W#ay!i#ayt#ay!]#ay%h#ay!e#ay~P!:TO[8SO~Ob8UO(R+nO(TTO(WUO~O!Z0}O![)Vi~O`8YO~O(c(zO!Z'nX!['nX~O!Z5kO![)Sa~O![8cO~P%:RO(m!sO~P$$oO#Y8dO~O!]1gO~O!]1gO%h8fO~Ol8iO!]1gO%h8fO~O[8nO!Z'qa!['qa~O!Z1rO![)Ti~O!i8rO~O!i8sO~O!i8vO~O!i8vO~P%[Oa8xO~O!e8yO~O!i8zO~O!Z(ui![(ui~P#BPOa%mO#^9SO'x%mO~O!Z(ry!i(rya(ry'x(ry~P!:TO!Z(hO!i(qy~O%h9VO~P&7SO!]'^O%h9VO~O#i${qP${qR${q[${qa${qp${q!Q${q!Z${q!j${q!n${q#P${q#l${q#m${q#n${q#o${q#p${q#q${q#r${q#s${q#t${q#u${q#w${q#y${q#z${q'x${q(_${q(p${q!i${q!W${q'u${q#^${qt${q!]${q%h${q!e${q~P#.{O#i'haP'haR'ha['haa'hap'ha!Q'ha!j'ha!n'ha#P'ha#l'ha#m'ha#n'ha#o'ha#p'ha#q'ha#r'ha#s'ha#t'ha#u'ha#w'ha#y'ha#z'ha'x'ha(_'ha(p'ha!i'ha!W'ha'u'hat'ha!]'ha%h'ha!e'ha~P&3oO#i'jaP'jaR'ja['jaa'jap'ja!Q'ja!j'ja!n'ja#P'ja#l'ja#m'ja#n'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#w'ja#y'ja#z'ja'x'ja(_'ja(p'ja!i'ja!W'ja'u'jat'ja!]'ja%h'ja!e'ja~P&4bO#i$}qP$}qR$}q[$}qa$}qp$}q!Q$}q!Z$}q!j$}q!n$}q#P$}q#l$}q#m$}q#n$}q#o$}q#p$}q#q$}q#r$}q#s$}q#t$}q#u$}q#w$}q#y$}q#z$}q'x$}q(_$}q(p$}q!i$}q!W$}q'u$}q#^$}qt$}q!]$}q%h$}q!e$}q~P#.{O!Z'Wi!i'Wi~P!:TO#}#aq!Z#aq![#aq~P#BPO(w$}OP%`aR%`a[%`ap%`a!Q%`a!j%`a!n%`a#P%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#t%`a#u%`a#w%`a#y%`a#z%`a#}%`a(_%`a(p%`a!Z%`a![%`a~Ol%`a!O%`a'w%`a(x%`a~P&HgO(x%POP%baR%ba[%bap%ba!Q%ba!j%ba!n%ba#P%ba#l%ba#m%ba#n%ba#o%ba#p%ba#q%ba#r%ba#s%ba#t%ba#u%ba#w%ba#y%ba#z%ba#}%ba(_%ba(p%ba!Z%ba![%ba~Ol%ba!O%ba'w%ba(w%ba~P&JnOl=}O!O)|O'w)}O(x%PO~P&HgOl=}O!O)|O'w)}O(w$}O~P&JnOR0cO!O0cO!Q0dO#Q$dOP{a[{al{ap{a!j{a!n{a#P{a#l{a#m{a#n{a#o{a#p{a#q{a#r{a#s{a#t{a#u{a#w{a#y{a#z{a#}{a'w{a(_{a(p{a(w{a(x{a!Z{a![{a~O!O)|O'w)}OP$raR$ra[$ral$rap$ra!Q$ra!j$ra!n$ra#P$ra#l$ra#m$ra#n$ra#o$ra#p$ra#q$ra#r$ra#s$ra#t$ra#u$ra#w$ra#y$ra#z$ra#}$ra(_$ra(p$ra(w$ra(x$ra!Z$ra![$ra~O!O)|O'w)}OP$taR$ta[$tal$tap$ta!Q$ta!j$ta!n$ta#P$ta#l$ta#m$ta#n$ta#o$ta#p$ta#q$ta#r$ta#s$ta#t$ta#u$ta#w$ta#y$ta#z$ta#}$ta(_$ta(p$ta(w$ta(x$ta!Z$ta![$ta~Ol=}O!O)|O'w)}O(w$}O(x%PO~OP%SaR%Sa[%Sap%Sa!Q%Sa!j%Sa!n%Sa#P%Sa#l%Sa#m%Sa#n%Sa#o%Sa#p%Sa#q%Sa#r%Sa#s%Sa#t%Sa#u%Sa#w%Sa#y%Sa#z%Sa#}%Sa(_%Sa(p%Sa!Z%Sa![%Sa~P'%sO#}$lq!Z$lq![$lq~P#BPO#}$nq!Z$nq![$nq~P#BPO![9dO~O#}9eO~P!0uO!e#vO!Z'ci!i'ci~O!e#vO(p'nO!Z'ci!i'ci~O!Z/kO!i(|q~O!W'ei!Z'ei~P#.{O!Z/sO!W(}q~Op9lO!e#vO(p'nO~O[9nO!W9mO~P#.{O!W9mO~O!e#vO#t9tO~Og(]y!Z(]y~P!0uO!Z'la!]'la~P#.{Oa%Zq!]%Zq'x%Zq!Z%Zq~P#.{O[9yO~O!Z0}O![)Vq~O#^9}O!Z'na!['na~O!Z5kO![)Si~P#BPO!Q:PO~O!]1gO%h:SO~O(TTO(WUO(c:XO~O!Z1rO![)Tq~O!i:[O~O!i:]O~O!i:^O~O!i:^O~P%[O#^:aO!Z#fy![#fy~O!Z#fy![#fy~P#BPO%h:fO~P&7SO!]'^O%h:fO~O#}#{y!Z#{y![#{y~P#BPOP${iR${i[${ip${i!Q${i!j${i!n${i#P${i#l${i#m${i#n${i#o${i#p${i#q${i#r${i#s${i#t${i#u${i#w${i#y${i#z${i#}${i(_${i(p${i!Z${i![${i~P'%sO!O)|O'w)}O(x%POP'gaR'ga['gal'gap'ga!Q'ga!j'ga!n'ga#P'ga#l'ga#m'ga#n'ga#o'ga#p'ga#q'ga#r'ga#s'ga#t'ga#u'ga#w'ga#y'ga#z'ga#}'ga(_'ga(p'ga(w'ga!Z'ga!['ga~O!O)|O'w)}OP'iaR'ia['ial'iap'ia!Q'ia!j'ia!n'ia#P'ia#l'ia#m'ia#n'ia#o'ia#p'ia#q'ia#r'ia#s'ia#t'ia#u'ia#w'ia#y'ia#z'ia#}'ia(_'ia(p'ia(w'ia(x'ia!Z'ia!['ia~O(w$}OP%`iR%`i[%`il%`ip%`i!O%`i!Q%`i!j%`i!n%`i#P%`i#l%`i#m%`i#n%`i#o%`i#p%`i#q%`i#r%`i#s%`i#t%`i#u%`i#w%`i#y%`i#z%`i#}%`i'w%`i(_%`i(p%`i(x%`i!Z%`i![%`i~O(x%POP%biR%bi[%bil%bip%bi!O%bi!Q%bi!j%bi!n%bi#P%bi#l%bi#m%bi#n%bi#o%bi#p%bi#q%bi#r%bi#s%bi#t%bi#u%bi#w%bi#y%bi#z%bi#}%bi'w%bi(_%bi(p%bi(w%bi!Z%bi![%bi~O#}$ny!Z$ny![$ny~P#BPO#}#ay!Z#ay![#ay~P#BPO!e#vO!Z'cq!i'cq~O!Z/kO!i(|y~O!W'eq!Z'eq~P#.{Op:pO!e#vO(p'nO~O[:tO!W:sO~P#.{O!W:sO~Og(]!R!Z(]!R~P!0uOa%Zy!]%Zy'x%Zy!Z%Zy~P#.{O!Z0}O![)Vy~O!Z5kO![)Sq~O(R:zO~O!]1gO%h:}O~O!i;QO~O%h;VO~P&7SOP${qR${q[${qp${q!Q${q!j${q!n${q#P${q#l${q#m${q#n${q#o${q#p${q#q${q#r${q#s${q#t${q#u${q#w${q#y${q#z${q#}${q(_${q(p${q!Z${q![${q~P'%sO!O)|O'w)}O(x%POP'haR'ha['hal'hap'ha!Q'ha!j'ha!n'ha#P'ha#l'ha#m'ha#n'ha#o'ha#p'ha#q'ha#r'ha#s'ha#t'ha#u'ha#w'ha#y'ha#z'ha#}'ha(_'ha(p'ha(w'ha!Z'ha!['ha~O!O)|O'w)}OP'jaR'ja['jal'jap'ja!Q'ja!j'ja!n'ja#P'ja#l'ja#m'ja#n'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#w'ja#y'ja#z'ja#}'ja(_'ja(p'ja(w'ja(x'ja!Z'ja!['ja~OP$}qR$}q[$}qp$}q!Q$}q!j$}q!n$}q#P$}q#l$}q#m$}q#n$}q#o$}q#p$}q#q$}q#r$}q#s$}q#t$}q#u$}q#w$}q#y$}q#z$}q#}$}q(_$}q(p$}q!Z$}q![$}q~P'%sOg%d!Z!Z%d!Z#^%d!Z#}%d!Z~P!0uO!W;ZO~P#.{Op;[O!e#vO(p'nO~O[;^O!W;ZO~P#.{O!Z'nq!['nq~P#BPO!Z#f!Z![#f!Z~P#BPO#i%d!ZP%d!ZR%d!Z[%d!Za%d!Zp%d!Z!Q%d!Z!Z%d!Z!j%d!Z!n%d!Z#P%d!Z#l%d!Z#m%d!Z#n%d!Z#o%d!Z#p%d!Z#q%d!Z#r%d!Z#s%d!Z#t%d!Z#u%d!Z#w%d!Z#y%d!Z#z%d!Z'x%d!Z(_%d!Z(p%d!Z!i%d!Z!W%d!Z'u%d!Z#^%d!Zt%d!Z!]%d!Z%h%d!Z!e%d!Z~P#.{Op;fO!e#vO(p'nO~O!W;gO~P#.{Op;nO!e#vO(p'nO~O!W;oO~P#.{OP%d!ZR%d!Z[%d!Zp%d!Z!Q%d!Z!j%d!Z!n%d!Z#P%d!Z#l%d!Z#m%d!Z#n%d!Z#o%d!Z#p%d!Z#q%d!Z#r%d!Z#s%d!Z#t%d!Z#u%d!Z#w%d!Z#y%d!Z#z%d!Z#}%d!Z(_%d!Z(p%d!Z!Z%d!Z![%d!Z~P'%sOp;rO!e#vO(p'nO~Ot(dX~P1qO!O%qO~P!(yO(S!lO~P!(yO!WfX!ZfX#^fX~P%0XOP]XR]X[]Xp]X!O]X!Q]X!Z]X!ZfX!j]X!n]X#P]X#Q]X#^]X#^fX#ifX#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#w]X#y]X#z]X$P]X(_]X(p]X(w]X(x]X~O!efX!i]X!ifX(pfX~P'JlOP;vOQ;vOSfOd=rOe!iOnkOp;vOqkOrkOxkOz;vO|;vO!QWO!UkO!VkO!]XO!g;yO!jZO!m;vO!n;vO!o;vO!q;zO!s;}O!v!hO$V!kO$m=pO(R)ZO(TTO(WUO(_VO(m[O~O!Z<ZO![$pa~Oh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|<fO!Q${O!]$|O!g=wO!j$xO#h<lO$V%_O$s<hO$u<jO$x%`O(R(tO(TTO(WUO(_$uO(w$}O(x%PO~Oj)bO~P( bOp!cX(p!cX~P# qOp(hX(p(hX~P#!dO![]X![fX~P'JlO!WfX!W$yX!ZfX!Z$yX#^fX~P!/qO#i<OO~O!e#vO#i<OO~O#^<`O~O#t<SO~O#^<pO!Z(uX![(uX~O#^<`O!Z(sX![(sX~O#i<qO~Og<sO~P!0uO#i<yO~O#i<zO~O!e#vO#i<{O~O!e#vO#i<qO~O#}<|O~P#BPO#i<}O~O#i=OO~O#i=TO~O#i=UO~O#i=VO~O#i=WO~O#}=XO~P!0uO#}=YO~P!0uO#Q#R#S#U#V#Y#g#h#s$m$s$u$x%[%]%g%h%i%p%r%u%v%x%z~'|T#m!V'z(S#nq#l#op!O'{$['{(R$^(c~",goto:"$8f)ZPPPPPP)[PP)_P)pP+Q/VPPPP6aPP6wPP<oP@cP@yP@yPPP@yPCRP@yP@yP@yPCVPC[PCyPHsPPPHwPPPPHwKzPPPLQLrPHwPHwPP! QHwPPPHwPHwP!#XHwP!&o!'t!'}P!(q!(u!(q!,SPPPPPPP!,s!'tPP!-T!.uP!2RHwHw!2W!5d!:Q!:Q!>PPPP!>XHwPPPPPPPPPP!AhP!BuPPHw!DWPHwPHwHwHwHwHwPHw!EjP!HtP!KzP!LO!LY!L^!L^P!HqP!Lb!LbP# hP# lHwPHw# r#$wCV@yP@yP@y@yP#&U@y@y#(h@y#+`@y#-l@y@y#.[#0p#0p#0u#1O#0p#1ZPP#0pP@y#1s@y#5r@y@y6aPPP#9wPPP#:b#:bP#:bP#:x#:bPP#;OP#:uP#:u#;c#:u#;}#<T#<W)_#<Z)_P#<b#<b#<bP)_P)_P)_P)_PP)_P#<h#<kP#<k)_P#<oP#<rP)_P)_P)_P)_P)_P)_)_PP#<x#=O#=Z#=a#=g#=m#=s#>R#>X#>c#>i#>s#>y#?Z#?a#@R#@e#@k#@q#AP#Af#CZ#Ci#Cp#E[#Ej#G[#Gj#Gp#Gv#G|#HW#H^#Hd#Hn#IQ#IWPPPPPPPPPPP#I^PPPPPPP#JR#MY#Nr#Ny$ RPPP$&mP$&v$)o$0Y$0]$0`$1_$1b$1i$1qP$1w$1zP$2h$2l$3d$4r$4w$5_PP$5d$5j$5n$5q$5u$5y$6u$7^$7u$7y$7|$8P$8V$8Y$8^$8bR!|RoqOXst!Z#d%l&p&r&s&u,n,s2S2VY!vQ'^-`1g5qQ%svQ%{yQ&S|Q&h!VS'U!e-WQ'd!iS'j!r!yU*h$|*X*lQ+l%|Q+y&UQ,_&bQ-^']Q-h'eQ-p'kQ0U*nQ1q,`R<m;z%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y,k,n,s-d-l-z.Q.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3d4q5y6Z6[6_6r8i8x9SS#q];w!r)]$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sU*{%[<e<fQ+q&OQ,a&eQ,h&mQ0r+dQ0u+fQ1S+rQ1y,fQ3W.bQ5V0wQ5]0}Q6Q1rQ7O3[Q8U5^R9Y7Q'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=s!S!nQ!r!v!y!z$|'U']'^'j'k'l*h*l*n*o-W-^-`-p0U0X1g5q5s%[$ti#v$b$c$d$x${%O%Q%]%^%b)w*P*R*T*W*^*d*t*u+c+f+},Q.a.z/_/h/r/s/u0Y0[0g0h0i1^1a1i3Z4U4V4a4f4w5R5U5x6|7l7v7|8Q8f9V9e9n9t:S:f:t:};V;^<^<_<a<b<c<d<g<h<i<j<k<l<t<u<v<w<y<z<}=O=P=Q=R=S=T=U=X=Y=p=x=y=|=}Q&V|Q'S!eS'Y%h-ZQ+q&OQ,a&eQ0f+OQ1S+rQ1X+xQ1x,eQ1y,fQ5]0}Q5f1ZQ6Q1rQ6T1tQ6U1wQ8U5^Q8X5cQ8q6WQ9|8YQ:Y8nR<o*XrnOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VR,c&i&z^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=r=s[#]WZ#W#Z'V(R!b%im#h#i#l$x%d%g([(f(g(h*W*[*_+W+X+Z,j-Q.O.U.V.W.Y/h/k2[3S3T4X6h6yQ%vxQ%zyS&P|&UQ&]!TQ'a!hQ'c!iQ(o#sS+k%{%|Q+o&OQ,Y&`Q,^&bS-g'd'eQ.d(pQ0{+lQ1R+rQ1T+sQ1W+wQ1l,ZS1p,_,`Q2t-hQ5[0}Q5`1QQ5e1YQ6P1qQ8T5^Q8W5bQ9x8SR:w9y!U$zi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y!^%xy!i!u%z%{%|'T'c'd'e'i's*g+k+l-T-g-h-o/{0O0{2m2t2{4i4j4m7s9pQ+e%vQ,O&YQ,R&ZQ,]&bQ.c(oQ1k,YU1o,^,_,`Q3].dQ5z1lS6O1p1qQ8m6P#f=t#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}o=u<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=YW%Ti%V*v=pS&Y!Q&gQ&Z!RQ&[!SQ+S%cR+|&W%]%Si#v$b$c$d$x${%O%Q%]%^%b)w*P*R*T*W*^*d*t*u+c+f+},Q.a.z/_/h/r/s/u0Y0[0g0h0i1^1a1i3Z4U4V4a4f4w5R5U5x6|7l7v7|8Q8f9V9e9n9t:S:f:t:};V;^<^<_<a<b<c<d<g<h<i<j<k<l<t<u<v<w<y<z<}=O=P=Q=R=S=T=U=X=Y=p=x=y=|=}T)x$u)yV*{%[<e<fW'Y!e%h*X-ZS({#y#zQ+`%qQ+v&RS.](k(lQ1b,SQ4x0cR8^5k'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=s$i$^c#Y#e%p%r%t(Q(W(r(w)P)Q)R)S)T)U)V)W)X)Y)[)^)`)e)o+a+u-U-s-x-}.P.n.q.u.w.x.y/]0j2c2f2v2}3c3h3i3j3k3l3m3n3o3p3q3r3s3t3w3x4P5O5Y6k6q6v7V7W7a7b8`8|9Q9[9b9c:c:y;R;x=gT#TV#U'RkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sQ'W!eR2i-W!W!nQ!e!r!v!y!z$|'U']'^'j'k'l*X*h*l*n*o-W-^-`-p0U0X1g5q5sR1d,UnqOXst!Z#d%l&p&r&s&u,n,s2S2VQ&w!^Q't!xS(q#u<OQ+i%yQ,W&]Q,X&_Q-e'bQ-r'mS.m(v<qS0k+U<{Q0y+jQ1f,VQ2Z,uQ2],vQ2e-RQ2r-fQ2u-jS5P0l=VQ5W0zS5Z0|=WQ6j2gQ6n2sQ6s2zQ8R5XQ8}6lQ9O6oQ9R6tR:`8z$d$]c#Y#e%r%t(Q(W(r(w)P)Q)R)S)T)U)V)W)X)Y)[)^)`)e)o+a+u-U-s-x-}.P.n.q.u.x.y/]0j2c2f2v2}3c3h3i3j3k3l3m3n3o3p3q3r3s3t3w3x4P5O5Y6k6q6v7V7W7a7b8`8|9Q9[9b9c:c:y;R;x=gS(m#p'gQ(}#zS+_%p.wS.^(l(nR3U._'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sS#q];wQ&r!XQ&s!YQ&u![Q&v!]R2R,qQ'_!hQ+b%vQ-c'aS.`(o+eQ2p-bW3Y.c.d0q0sQ6m2qW6z3V3X3]5TU9U6{6}7PU:e9W9X9ZS;T:d:gQ;b;UR;j;cU!wQ'^-`T5o1g5q!Q_OXZ`st!V!Z#d#h%d%l&g&i&p&r&s&u(h,n,s.V2S2V]!pQ!r'^-`1g5qT#q];w%^{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SS({#y#zS.](k(l!s=^$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sU$fd)],hS(n#p'gU*s%R(u3vU0e*z.i7]Q5T0rQ6{3WQ9X7OR:g9Ym!tQ!r!v!y!z'^'j'k'l-`-p1g5q5sQ'r!uS(d#g1|S-n'i'uQ/n*ZQ/{*gQ2|-qQ4]/oQ4i/}Q4j0OQ4o0WQ7h4WS7s4k4mS7w4p4rQ9g7iQ9k7oQ9p7tQ9u7yS:o9l9mS;Y:p:sS;e;Z;[S;m;f;gS;q;n;oR;t;rQ#wbQ'q!uS(c#g1|S(e#m+TQ+V%eQ+g%wQ+m%}U-m'i'r'uQ.R(dQ/m*ZQ/|*gQ0P*iQ0x+hQ1m,[S2y-n-qQ3R.ZS4[/n/oQ4e/yS4h/{0WQ4l0QQ5|1nQ6u2|Q7g4WQ7k4]U7r4i4o4rQ7u4nQ8k5}S9f7h7iQ9j7oQ9r7wQ9s7xQ:V8lQ:m9gS:n9k9mQ:v9uQ;P:WS;X:o:sS;d;Y;ZS;l;e;gS;p;m;oQ;s;qQ;u;tQ=a=[Q=l=eR=m=fV!wQ'^-`%^aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SS#wz!j!r=Z$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sR=a=r%^bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SQ%ej!^%wy!i!u%z%{%|'T'c'd'e'i's*g+k+l-T-g-h-o/{0O0{2m2t2{4i4j4m7s9pS%}z!jQ+h%xQ,[&bW1n,],^,_,`U5}1o1p1qS8l6O6PQ:W8m!r=[$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sQ=e=qR=f=r%QeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&p&r&s&u&y'R'`'p(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SY#bWZ#W#Z(R!b%im#h#i#l$x%d%g([(f(g(h*W*[*_+W+X+Z,j-Q.O.U.V.W.Y/h/k2[3S3T4X6h6yQ,i&m!p=]$Z$n)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sR=`'VU'Z!e%h*XR2k-Z%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y,k,n,s-d-l-z.Q.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3d4q5y6Z6[6_6r8i8x9S!r)]$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sQ,h&mQ0r+dQ3W.bQ7O3[R9Y7Q!b$Tc#Y%p(Q(W(r(w)X)Y)^)e+u-s-x-}.P.n.q/]0j2v2}3c3s5O5Y6q6v7V9Q:c;x!P<U)[)o-U.w2c2f3h3q3r3w4P6k7W7a7b8`8|9[9b9c:y;R=g!f$Vc#Y%p(Q(W(r(w)U)V)X)Y)^)e+u-s-x-}.P.n.q/]0j2v2}3c3s5O5Y6q6v7V9Q:c;x!T<W)[)o-U.w2c2f3h3n3o3q3r3w4P6k7W7a7b8`8|9[9b9c:y;R=g!^$Zc#Y%p(Q(W(r(w)^)e+u-s-x-}.P.n.q/]0j2v2}3c3s5O5Y6q6v7V9Q:c;xQ4V/fz=s)[)o-U.w2c2f3h3w4P6k7W7a7b8`8|9[9b9c:y;R=gQ=x=zR=y={'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sS$oh$pR3|/P'XgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/P/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sT$kf$qQ$ifS)h$l)lR)t$qT$jf$qT)j$l)l'XhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/P/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sT$oh$pQ$rhR)s$p%^jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9S!s=q$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=s#glOPXZst!Z!`!o#S#d#o#{$n%l&i&l&m&p&r&s&u&y'R'`(|)q*f+Y+d,k,n,s-d.b/Q/i0V0d1j1z1{1}2P2S2V2X3[3{4q5y6Z6[6_7Q8i8x!U%Ri$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y#f(u#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}Q+P%`Q/^)|o3v<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=Y!U$yi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=yQ*`$zU*i$|*X*lQ+Q%aQ0Q*j#f=c#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}n=d<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=YQ=h=tQ=i=uQ=j=vR=k=w!U%Ri$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y#f(u#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}o3v<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=YnoOXst!Z#d%l&p&r&s&u,n,s2S2VS*c${*WQ,|&|Q,}'OR4`/s%[%Si#v$b$c$d$x${%O%Q%]%^%b)w*P*R*T*W*^*d*t*u+c+f+},Q.a.z/_/h/r/s/u0Y0[0g0h0i1^1a1i3Z4U4V4a4f4w5R5U5x6|7l7v7|8Q8f9V9e9n9t:S:f:t:};V;^<^<_<a<b<c<d<g<h<i<j<k<l<t<u<v<w<y<z<}=O=P=Q=R=S=T=U=X=Y=p=x=y=|=}Q,P&ZQ1`,RQ5i1_R8]5jV*k$|*X*lU*k$|*X*lT5p1g5qS/y*f/iQ4n0VT7x4q:PQ+g%wQ0P*iQ0x+hQ1m,[Q5|1nQ8k5}Q:V8lR;P:W!U%Oi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=yx*P$v)c*Q*r+R/q0^0_3y4^4{4|4}7f7z9v:l=b=n=oS0Y*q0Z#f<a#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}n<b<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=Y!d<t(s)a*Y*b.e.h.l/Y/f/v0p1]3`4S4_4c5h7R7U7m7p7}8P9i9q9w:q:u;W;];h=z={`<u3u7X7[7`9]:h:k;kS=P.g3aT=Q7Z9`!U%Qi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y|*R$v)c*S*q+R/b/q0^0_3y4^4s4{4|4}7f7z9v:l=b=n=oS0[*r0]#f<c#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}n<d<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=Y!h<v(s)a*Y*b.f.g.l/Y/f/v0p1]3^3`4S4_4c5h7R7S7U7m7p7}8P9i9q9w:q:u;W;];h=z={d<w3u7Y7Z7`9]9^:h:i:k;kS=R.h3bT=S7[9arnOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VQ&d!UR,k&mrnOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VR&d!UQ,T&[R1[+|snOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VQ1h,YS5w1k1lU8e5u5v5zS:R8g8hS:{:Q:TQ;_:|R;i;`Q&k!VR,d&gR6T1tR:Y8nS&P|&UR1T+sQ&p!WR,n&qR,t&vT2T,s2VR,x&wQ,w&wR2^,xQ'w!{R-t'wSsOtQ#dXT%os#dQ#OTR'y#OQ#RUR'{#RQ)y$uR/Z)yQ#UVR(O#UQ#XWU(U#X(V-{Q(V#YR-{(WQ-X'WR2j-XQ.p(wS3e.p3fR3f.qQ-`'^R2n-`Y!rQ'^-`1g5qR'h!rQ.{)cR3z.{U#_W%g*WU(]#_(^-|Q(^#`R-|(XQ-['ZR2l-[t`OXst!V!Z#d%l&g&i&p&r&s&u,n,s2S2VS#hZ%dU#r`#h.VR.V(hQ(i#jQ.S(eW.[(i.S3P6wQ3P.TR6w3QQ)l$lR/R)lQ$phR)r$pQ$`cU)_$`-w<[Q-w;xR<[)oQ/l*ZW4Y/l4Z7j9hU4Z/m/n/oS7j4[4]R9h7k$e*O$v(s)a)c*Y*b*q*r*|*}+R.g.h.j.k.l/Y/b/d/f/q/v0^0_0p1]3^3_3`3u3y4S4^4_4c4s4u4{4|4}5h7R7S7T7U7Z7[7^7_7`7f7m7p7z7}8P9]9^9_9i9q9v9w:h:i:j:k:l:q:u;W;];h;k=b=n=o=z={Q/t*bU4b/t4d7nQ4d/vR7n4cS*l$|*XR0S*lx*Q$v)c*q*r+R/q0^0_3y4^4{4|4}7f7z9v:l=b=n=o!d.e(s)a*Y*b.g.h.l/Y/f/v0p1]3`4S4_4c5h7R7U7m7p7}8P9i9q9w:q:u;W;];h=z={U/c*Q.e7Xa7X3u7Z7[7`9]:h:k;kQ0Z*qQ3a.gU4t0Z3a9`R9`7Z|*S$v)c*q*r+R/b/q0^0_3y4^4s4{4|4}7f7z9v:l=b=n=o!h.f(s)a*Y*b.g.h.l/Y/f/v0p1]3^3`4S4_4c5h7R7S7U7m7p7}8P9i9q9w:q:u;W;];h=z={U/e*S.f7Ye7Y3u7Z7[7`9]9^:h:i:k;kQ0]*rQ3b.hU4v0]3b9aR9a7[Q*w%UR0a*wQ5S0pR8O5SQ+[%jR0o+[Q5l1bS8_5l:OR:O8`Q,V&]R1e,VQ5q1gR8b5qQ1s,aS6R1s8oR8o6TQ1O+oW5_1O5a8V9zQ5a1RQ8V5`R9z8WQ+t&PR1U+tQ2V,sR6c2VYrOXst#dQ&t!ZQ+^%lQ,m&pQ,o&rQ,p&sQ,r&uQ2Q,nS2T,s2VR6b2SQ%npQ&x!_Q&{!aQ&}!bQ'P!cQ'o!uQ+]%kQ+i%yQ+{&VQ,c&kQ,z&zW-k'i'q'r'uQ-r'mQ0R*kQ0y+jS1v,d,gQ2_,yQ2`,|Q2a,}Q2u-jW2w-m-n-q-sQ5W0zQ5d1XQ5g1]Q5{1mQ6V1xQ6a2RU6p2v2y2|Q6s2zQ8R5XQ8Z5fQ8[5hQ8a5pQ8j5|Q8p6US9P6q6uQ9R6tQ9{8XQ:U8kQ:Z8qQ:b9QQ:x9|Q;O:VQ;S:cR;a;PQ%yyQ'b!iQ'm!uU+j%z%{%|Q-R'TU-f'c'd'eS-j'i'sQ/z*gS0z+k+lQ2g-TS2s-g-hQ2z-oS4g/{0OQ5X0{Q6l2mQ6o2tQ6t2{U7q4i4j4mQ9o7sR:r9pS$wi=pR*x%VU%Ui%V=pR0`*vQ$viS(s#v+fS)a$b$cQ)c$dQ*Y$xS*b${*WQ*q%OQ*r%QQ*|%]Q*}%^Q+R%bQ.g<aQ.h<cQ.j<gQ.k<iQ.l<kQ/Y)wQ/b*PQ/d*RQ/f*TQ/q*^S/v*d/hQ0^*tQ0_*ul0p+c,Q.a1a1i3Z5x6|8f9V:S:f:};VQ1]+}Q3^<tQ3_<vQ3`<yS3u<^<_Q3y.zS4S/_4UQ4^/rQ4_/sQ4c/uQ4s0YQ4u0[Q4{0gQ4|0hQ4}0iQ5h1^Q7R<}Q7S=PQ7T=RQ7U=TQ7Z<bQ7[<dQ7^<hQ7_<jQ7`<lQ7f4VQ7m4aQ7p4fQ7z4wQ7}5RQ8P5UQ9]<zQ9^<uQ9_<wQ9i7lQ9q7vQ9v7|Q9w8QQ:h=OQ:i=QQ:j=SQ:k=UQ:l9eQ:q9nQ:u9tQ;W=XQ;]:tQ;h;^Q;k=YQ=b=pQ=n=xQ=o=yQ=z=|R={=}Q*z%[Q.i<eR7]<fnpOXst!Z#d%l&p&r&s&u,n,s2S2VQ!fPS#fZ#oQ&z!`W'f!o*f0V4qQ'}#SQ)O#{Q)p$nS,g&i&lQ,l&mQ,y&yS-O'R/iQ-b'`Q.s(|Q/V)qQ0m+YQ0s+dQ2O,kQ2q-dQ3X.bQ4O/QQ4y0dQ5v1jQ6X1zQ6Y1{Q6^1}Q6`2PQ6e2XQ7P3[Q7c3{Q8h5yQ8t6ZQ8u6[Q8w6_Q9Z7QQ:T8iR:_8x#[cOPXZst!Z!`!o#d#o#{%l&i&l&m&p&r&s&u&y'R'`(|*f+Y+d,k,n,s-d.b/i0V0d1j1z1{1}2P2S2V2X3[4q5y6Z6[6_7Q8i8xQ#YWQ#eYQ%puQ%rvS%tw!gS(Q#W(TQ(W#ZQ(r#uQ(w#xQ)P$OQ)Q$PQ)R$QQ)S$RQ)T$SQ)U$TQ)V$UQ)W$VQ)X$WQ)Y$XQ)[$ZQ)^$_Q)`$aQ)e$eW)o$n)q/Q3{Q+a%sQ+u&QS-U'V2hQ-s'pS-x(R-zQ-}(ZQ.P(bQ.n(vQ.q(xQ.u;vQ.w;yQ.x;zQ.y;}Q/]){Q0j+UQ2c-PQ2f-SQ2v-lQ2}.QQ3c.oQ3h<OQ3i<PQ3j<QQ3k<RQ3l<SQ3m<TQ3n<UQ3o<VQ3p<WQ3q<XQ3r<YQ3s.vQ3t<]Q3w<`Q3x<mQ4P<ZQ5O0lQ5Y0|Q6k<pQ6q2xQ6v3OQ7V3dQ7W<qQ7a<sQ7b<{Q8`5mQ8|6iQ9Q6rQ9[<|Q9b=VQ9c=WQ:c9SQ:y9}Q;R:aQ;x#SR=g=sR#[WR'X!el!tQ!r!v!y!z'^'j'k'l-`-p1g5q5sS'T!e-WU*g$|*X*lS-T'U']S0O*h*nQ0W*oQ2m-^Q4m0UR4r0XR(y#xQ!fQT-_'^-`]!qQ!r'^-`1g5qQ#p]R'g;wR)d$dY!uQ'^-`1g5qQ'i!rS's!v!yS'u!z5sS-o'j'kQ-q'lR2{-pT#kZ%dS#jZ%dS%jm,jU(e#h#i#lS.T(f(gQ.X(hQ0n+ZQ3Q.UU3R.V.W.YS6x3S3TR9T6yd#^W#W#Z%g(R([*W+W.O/hr#gZm#h#i#l%d(f(g(h+Z.U.V.W.Y3S3T6yS*Z$x*_Q/o*[Q1|,jQ2d-QQ4W/kQ6g2[Q7i4XQ8{6hT=_'V+XV#aW%g*WU#`W%g*WS(S#W([U(X#Z+W/hS-V'V+XT-y(R.OV'[!e%h*XQ$lfR)v$qT)k$l)lR3}/PT*]$x*_T*e${*WQ0q+cQ1_,QQ3V.aQ5j1aQ5u1iQ6}3ZQ8g5xQ9W6|Q:Q8fQ:d9VQ:|:SQ;U:fQ;`:}R;c;VnqOXst!Z#d%l&p&r&s&u,n,s2S2VQ&j!VR,c&gtmOXst!U!V!Z#d%l&g&p&r&s&u,n,s2S2VR,j&mT%km,jR1c,SR,b&eQ&T|R+z&UR+p&OT&n!W&qT&o!W&qT2U,s2V",nodeNames:"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:378,context:a,nodeProps:[["isolate",-8,5,6,14,35,37,49,51,53,""],["group",-26,9,17,19,66,206,210,214,215,217,220,223,233,235,241,243,245,247,250,256,262,264,266,268,270,272,273,"Statement",-34,13,14,30,33,34,40,49,52,53,55,60,68,70,74,78,80,82,83,108,109,118,119,135,138,140,141,142,143,144,146,147,166,168,170,"Expression",-23,29,31,35,39,41,43,172,174,176,177,179,180,181,183,184,185,187,188,189,200,202,204,205,"Type",-3,86,101,107,"ClassItem"],["openedBy",23,"<",36,"InterpolationStart",54,"[",58,"{",71,"(",159,"JSXStartCloseTag"],["closedBy",-2,24,167,">",38,"InterpolationEnd",48,"]",59,"}",72,")",164,"JSXEndTag"]],propSources:[h],skippedNodes:[0,5,6,276],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$h&j(X!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(X!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$h&j(UpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(UpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Up(X!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$h&j(Up(X!b'z0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(V#S$h&j'{0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$h&j(Up(X!b'{0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)3p/x`$h&j!n),Q(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW1V`#u(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW2d_#u(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At3l_(T':f$h&j(X!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$h&j(X!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$h&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$c`$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$c``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$c`$h&j(X!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(X!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$c`(X!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$h&j(Up(X!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr(r<__WS$h&j(Up(X!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;'S<S;'S;=`Cl<%lO<S(Q=g]WS$h&j(X!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$h&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSWSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(X!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]WS$h&j(UpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(UpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Up(X!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$h&j(m%1l(Up(X!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr%9[EoP;=`<%lCr07[FRk$h&j(Up(X!b$[#t(R,2j(c$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr+dHRk$h&j(Up(X!b$[#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;'SGv;'S;=`Iv<%lOGv+dIyP;=`<%lGv07[JPP;=`<%lEr(KWJ_`$h&j(Up(X!b#n(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWKl_$h&j$P(Ch(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,#xLva(x+JY$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWNW`$h&j#y(Ch(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At! c_(W';W$h&j(UpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b'l!!i_$h&j(UpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b&z!#mX$h&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;'S!#h;'S;=`!$r<%lO!#h`!$]TOw!$Ywx7]x;'S!$Y;'S;=`!$l<%lO!$Y`!$oP;=`<%l!$Y&z!$uP;=`<%l!#h'l!%R]$c`$h&j(UpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r!Q!&PZ(UpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;'S!%z;'S;=`!']<%lO!%z!Q!&yU$c`(UpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r!Q!'`P;=`<%l!%z'l!'fP;=`<%l!!b/5|!'t_!j/.^$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&U!)O_!i!Lf$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z-!n!*[b$h&j(Up(X!b(S%&f#o(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW!+o`$h&j(Up(X!b#l(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;x!,|`$h&j(Up(X!bp+4YOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,$U!.Z_!Z+Jf$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!/ec$h&j(Up(X!b!O.2^OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!0ya$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!2Z_!Y!L^$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!3eg$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!5Vg$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!6wc$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!8_c$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!9uf$h&j(Up(X!b#m(ChOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcxz!;Zz{#-}{!P!;Z!P!Q#/d!Q!^!;Z!^!_#(i!_!`#7S!`!a#8i!a!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z?O!;fb$h&j(Up(X!b!V7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z>^!<w`$h&j(X!b!V7`OY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eq!Q!^!<n!^!_!Gr!_!}!<n!}#O!KS#O#P!Dy#P#o!<n#o#p!Gr#p;'S!<n;'S;=`!L]<%lO!<n<z!>Q^$h&j!V7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!?Td$h&j!V7`O!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&c7`!@hX!V7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!V7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c<z!C][$h&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DWX$h&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$h&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$h&j(X!b!V7`OY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}8r!GyZ(X!b!V7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse(X!b!V7`OY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}8r!JZX(X!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$h&j(X!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!<n#Q#o!KS#o#p!JU#p;'S!KS;'S;=`!LV<%lO!KS>^!LYP;=`<%l!KS>^!L`P;=`<%l!<n=l!Ll`$h&j(Up!V7`OY!LcYZ&cZr!Lcrs!=ys!P!Lc!P!Q!Mn!Q!^!Lc!^!_# o!_!}!Lc!}#O#%P#O#P!Dy#P#o!Lc#o#p# o#p;'S!Lc;'S;=`#&Y<%lO!Lc=l!Mwl$h&j(Up!V7`OY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#W(r#W#X!Mn#X#Z(r#Z#[!Mn#[#](r#]#^!Mn#^#a(r#a#b!Mn#b#g(r#g#h!Mn#h#i(r#i#j!Mn#j#k!Mn#k#m(r#m#n!Mn#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r8Q# vZ(Up!V7`OY# oZr# ors!@cs!P# o!P!Q#!i!Q!}# o!}#O#$R#O#P!Bq#P;'S# o;'S;=`#$y<%lO# o8Q#!pe(Up!V7`OY)rZr)rs#O)r#P#W)r#W#X#!i#X#Z)r#Z#[#!i#[#])r#]#^#!i#^#a)r#a#b#!i#b#g)r#g#h#!i#h#i)r#i#j#!i#j#k#!i#k#m)r#m#n#!i#n;'S)r;'S;=`*Z<%lO)r8Q#$WX(UpOY#$RZr#$Rrs!Ars#O#$R#O#P!B[#P#Q# o#Q;'S#$R;'S;=`#$s<%lO#$R8Q#$vP;=`<%l#$R8Q#$|P;=`<%l# o=l#%W^$h&j(UpOY#%PYZ&cZr#%Prs!CWs!^#%P!^!_#$R!_#O#%P#O#P!DR#P#Q!Lc#Q#o#%P#o#p#$R#p;'S#%P;'S;=`#&S<%lO#%P=l#&VP;=`<%l#%P=l#&]P;=`<%l!Lc?O#&kn$h&j(Up(X!b!V7`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#W%Z#W#X#&`#X#Z%Z#Z#[#&`#[#]%Z#]#^#&`#^#a%Z#a#b#&`#b#g%Z#g#h#&`#h#i%Z#i#j#&`#j#k#&`#k#m%Z#m#n#&`#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z9d#(r](Up(X!b!V7`OY#(iZr#(irs!Grsw#(iwx# ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;'S#(i;'S;=`#,`<%lO#(i9d#)th(Up(X!b!V7`OY*gZr*grs'}sw*gwx)rx#O*g#P#W*g#W#X#)k#X#Z*g#Z#[#)k#[#]*g#]#^#)k#^#a*g#a#b#)k#b#g*g#g#h#)k#h#i*g#i#j#)k#j#k#)k#k#m*g#m#n#)k#n;'S*g;'S;=`+Z<%lO*g9d#+gZ(Up(X!bOY#+`Zr#+`rs!JUsw#+`wx#$Rx#O#+`#O#P!B[#P#Q#(i#Q;'S#+`;'S;=`#,Y<%lO#+`9d#,]P;=`<%l#+`9d#,cP;=`<%l#(i?O#,o`$h&j(Up(X!bOY#,fYZ&cZr#,frs!KSsw#,fwx#%Px!^#,f!^!_#+`!_#O#,f#O#P!DR#P#Q!;Z#Q#o#,f#o#p#+`#p;'S#,f;'S;=`#-q<%lO#,f?O#-tP;=`<%l#,f?O#-zP;=`<%l!;Z07[#.[b$h&j(Up(X!b'|0/l!V7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z07[#/o_$h&j(Up(X!bT0/lOY#/dYZ&cZr#/drs#0nsw#/dwx#4Ox!^#/d!^!_#5}!_#O#/d#O#P#1p#P#o#/d#o#p#5}#p;'S#/d;'S;=`#6|<%lO#/d06j#0w]$h&j(X!bT0/lOY#0nYZ&cZw#0nwx#1px!^#0n!^!_#3R!_#O#0n#O#P#1p#P#o#0n#o#p#3R#p;'S#0n;'S;=`#3x<%lO#0n05W#1wX$h&jT0/lOY#1pYZ&cZ!^#1p!^!_#2d!_#o#1p#o#p#2d#p;'S#1p;'S;=`#2{<%lO#1p0/l#2iST0/lOY#2dZ;'S#2d;'S;=`#2u<%lO#2d0/l#2xP;=`<%l#2d05W#3OP;=`<%l#1p01O#3YW(X!bT0/lOY#3RZw#3Rwx#2dx#O#3R#O#P#2d#P;'S#3R;'S;=`#3r<%lO#3R01O#3uP;=`<%l#3R06j#3{P;=`<%l#0n05x#4X]$h&j(UpT0/lOY#4OYZ&cZr#4Ors#1ps!^#4O!^!_#5Q!_#O#4O#O#P#1p#P#o#4O#o#p#5Q#p;'S#4O;'S;=`#5w<%lO#4O00^#5XW(UpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;'S#5Q;'S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Up(X!bT0/lOY#5}Zr#5}rs#3Rsw#5}wx#5Qx#O#5}#O#P#2d#P;'S#5};'S;=`#6v<%lO#5}01p#6yP;=`<%l#5}07[#7PP;=`<%l#/d)3h#7ab$h&j$P(Ch(Up(X!b!V7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;ZAt#8vb$Y#t$h&j(Up(X!b!V7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z'Ad#:Zp$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#U%Z#U#V#?i#V#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#<jk$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#>j_$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#?rd$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#A]f$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Bzc$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Dbe$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#E|g$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Gpi$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x#Il_!e$b$h&j#})Lv(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Jv_al$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f#LS^h#)`#P-<U(Up(X!b$m7`OY*gZr*grs'}sw*gwx)rx!P*g!P!Q#MO!Q!^*g!^!_#Mt!_!`$ f!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#MXX$j&j(Up(X!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El#M}Z#p(Ch(Up(X!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;'S*g;'S;=`+Z<%lO*g(El#NyX$P(Ch(Up(X!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El$ oX#q(Ch(Up(X!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g*)x$!ga#^*!Y$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$#l!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(K[$#w_#i(Cl$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x$%Vag!*r#q(Ch$e#|$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$&[!`!a$'f!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$&g_#q(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$'qa#p(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$(v!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$)R`#p(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(Kd$*`a(p(Ct$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!a%Z!a!b$+e!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$+p`$h&j#z(Ch(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`$,}_!z$Ip$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f$.X_!Q0,v$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(n$/]Z$h&jO!^$0O!^!_$0f!_#i$0O#i#j$0k#j#l$0O#l#m$2^#m#o$0O#o#p$0f#p;'S$0O;'S;=`$4i<%lO$0O(n$0VT_#S$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$0kO_#S(n$0p[$h&jO!Q&c!Q![$1f![!^&c!_!c&c!c!i$1f!i#T&c#T#Z$1f#Z#o&c#o#p$3|#p;'S&c;'S;=`&w<%lO&c(n$1kZ$h&jO!Q&c!Q![$2^![!^&c!_!c&c!c!i$2^!i#T&c#T#Z$2^#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$2cZ$h&jO!Q&c!Q![$3U![!^&c!_!c&c!c!i$3U!i#T&c#T#Z$3U#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$3ZZ$h&jO!Q&c!Q![$0O![!^&c!_!c&c!c!i$0O!i#T&c#T#Z$0O#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$4PR!Q![$4Y!c!i$4Y#T#Z$4Y#S$4]S!Q![$4Y!c!i$4Y#T#Z$4Y#q#r$0f(n$4lP;=`<%l$0O#1[$4z_!W#)l$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$6U`#w(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;p$7c_$h&j(Up(X!b(_+4QOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$8qk$h&j(Up(X!b(R,2j$^#t(c$I[OY%ZYZ&cZr%Zrs&}st%Ztu$8buw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$8b![!^%Z!^!_*g!_!c%Z!c!}$8b!}#O%Z#O#P&c#P#R%Z#R#S$8b#S#T%Z#T#o$8b#o#p*g#p$g%Z$g;'S$8b;'S;=`$<l<%lO$8b+d$:qk$h&j(Up(X!b$^#tOY%ZYZ&cZr%Zrs&}st%Ztu$:fuw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$:f![!^%Z!^!_*g!_!c%Z!c!}$:f!}#O%Z#O#P&c#P#R%Z#R#S$:f#S#T%Z#T#o$:f#o#p*g#p$g%Z$g;'S$:f;'S;=`$<f<%lO$:f+d$<iP;=`<%l$:f07[$<oP;=`<%l$8b#Jf$<{X!]#Hb(Up(X!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g,#x$=sa(w+JY$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+e#q;'S%Z;'S;=`+a<%lO%Z)>v$?V_![(CdtBr$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z?O$@a_!o7`$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$Aq|$h&j(Up(X!b'z0/l$[#t(R,2j(c$I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$h&j(Up(X!b'{0/l$[#t(R,2j(c$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[l,c,u,f,2,3,4,5,6,7,8,9,10,11,12,13,14,s,new r.uC("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOv~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!S~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(a~~",141,338),new r.uC("j~RQYZXz{^~^O(O~~aP!P!Qd~iO(P~~",25,321)],topRules:{Script:[0,7],SingleExpression:[1,274],SingleClassItem:[2,275]},dialects:{jsx:0,ts:15091},dynamicPrecedences:{78:1,80:1,92:1,168:1,198:1},specialized:[{term:325,get:e=>p[e]||-1},{term:341,get:e=>m[e]||-1},{term:93,get:e=>g[e]||-1}],tokenPrec:15116});var v=n(15874),y=n(20614),O=n(62144),b=n(47404),w=n(90365);const _=[(0,b.Gw)("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,b.Gw)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,b.Gw)("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,b.Gw)("do {\n\t${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,b.Gw)("while (${}) {\n\t${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,b.Gw)("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,b.Gw)("if (${}) {\n\t${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,b.Gw)("if (${}) {\n\t${}\n} else {\n\t${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,b.Gw)("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),(0,b.Gw)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,b.Gw)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],x=_.concat([(0,b.Gw)("interface ${name} {\n\t${}\n}",{label:"interface",detail:"definition",type:"keyword"}),(0,b.Gw)("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),(0,b.Gw)("enum ${name} {\n\t${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),S=new w.RY,k=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function C(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}const B=["FunctionDeclaration"],Q={FunctionDeclaration:C("function"),ClassDeclaration:C("class"),ClassExpression:()=>!0,EnumDeclaration:C("constant"),TypeAliasDeclaration:C("type"),NamespaceDeclaration:C("namespace"),VariableDefinition(e,t){e.matchContext(B)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null};function T(e,t){let n=S.get(t);if(n)return n;let r=[],o=!0;function i(t,n){let o=e.sliceString(t.from,t.to);r.push({label:o,type:n})}return t.cursor(w.Qj.IncludeAnonymous).iterate((t=>{if(o)o=!1;else if(t.name){let e=Q[t.name];if(e&&e(t,i)||k.has(t.name))return!1}else if(t.to-t.from>8192){for(let n of T(e,t.node))r.push(n);return!1}})),S.set(t,r),r}const E=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,P=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function $(e){let t=(0,v.mv)(e.state).resolveInner(e.pos,-1);if(P.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&E.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let n=t;n;n=n.parent)k.has(n.name)&&(r=r.concat(T(e.state.doc,n)));return{options:r,from:n?t.from:e.pos,validFor:E}}const M=v.bj.define({name:"javascript",parser:A.configure({props:[v.Oh.add({IfStatement:(0,v.mz)({except:/^\s*({|else\b)/}),TryStatement:(0,v.mz)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:v._Y,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:(0,v.Ay)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,v.mz)({except:/^{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),v.b_.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":v.yd,BlockComment(e){return{from:e.from+2,to:e.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),z={test:e=>/^JSX/.test(e.name),facet:(0,v.p9)({commentTokens:{block:{open:"{/*",close:"*/}"}}})},R=M.configure({dialect:"ts"},"typescript"),D=M.configure({dialect:"jsx",props:[v.Q0.add((e=>e.isTop?[z]:void 0))]}),I=M.configure({dialect:"jsx ts",props:[v.Q0.add((e=>e.isTop?[z]:void 0))]},"typescript");let N=e=>({label:e,type:"keyword"});const L="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(N),V=L.concat(["declare","implements","private","protected","public"].map(N));function U(e={}){let t=e.jsx?e.typescript?I:D:e.typescript?R:M,n=e.typescript?x.concat(V):_.concat(L);return new v.Yy(t,[M.data.of({autocomplete:(0,b.Ar)(P,(0,b.et)(n))}),M.data.of({autocomplete:$}),e.jsx?W:[]])}function F(e,t,n=e.length){for(let r=null==t?void 0:t.firstChild;r;r=r.nextSibling)if("JSXIdentifier"==r.name||"JSXBuiltin"==r.name||"JSXNamespacedName"==r.name||"JSXMemberExpression"==r.name)return e.sliceString(r.from,Math.min(r.to,n));return""}const H="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),W=O.Lz.inputHandler.of(((e,t,n,r,o)=>{if((H?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!M.isActiveAt(e.state,t,-1))return!1;let i=o(),{state:a}=i,s=a.changeByRange((e=>{var t;let n,{head:o}=e,i=(0,v.mv)(a).resolveInner(o-1,-1);if("JSXStartTag"==i.name&&(i=i.parent),a.doc.sliceString(o-1,o)!=r||"JSXAttributeValue"==i.name&&i.to>o);else{if(">"==r&&"JSXFragmentTag"==i.name)return{range:e,changes:{from:o,insert:"</>"}};if("/"==r&&"JSXStartCloseTag"==i.name){let e=i.parent,r=e.parent;if(r&&e.from==o-2&&((n=F(a.doc,r.firstChild,o))||"JSXFragmentTag"==(null===(t=r.firstChild)||void 0===t?void 0:t.name))){let e=`${n}>`;return{range:y.OF.cursor(o+e.length,-1),changes:{from:o,insert:e}}}}else if(">"==r){let t=function(e){for(;;){if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e;if("JSXEscape"==e.name||!e.parent)return null;e=e.parent}}(i);if(t&&"JSXOpenTag"==t.name&&!/^\/?>|^<\//.test(a.doc.sliceString(o,o+2))&&(n=F(a.doc,t,o)))return{range:e,changes:{from:o,insert:`</${n}>`}}}}return{range:e}}));return!s.changes.empty&&(e.dispatch([i,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}))},89942:function(e,t,n){var r=n(74409),o=n(89093);e.exports=function(e){return!!(e&&r(e.nodeName)&&o(e.nodeType))}},90033:function(e,t,n){"use strict";function r(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}n.d(t,{$3:function(){return h},$H:function(){return I},$P:function(){return A},BH:function(){return X},BU:function(){return ae},BX:function(){return ge},Bm:function(){return b},C4:function(){return te},CE:function(){return m},CP:function(){return c},DY:function(){return N},Gv:function(){return w},Gx:function(){return J},J$:function(){return le},Kg:function(){return O},MZ:function(){return o},Mp:function(){return l},NO:function(){return s},OC:function(){return re},Oj:function(){return i},PT:function(){return $},Qd:function(){return C},Ro:function(){return U},SU:function(){return Q},Sf:function(){return ie},TF:function(){return d},Tg:function(){return z},Tn:function(){return y},Tr:function(){return Z},Vp:function(){return he},W0:function(){return ce},We:function(){return H},X$:function(){return u},XW:function(){return me},Y2:function(){return ue},ZH:function(){return R},Zf:function(){return k},_B:function(){return ne},bB:function(){return V},cy:function(){return p},eW:function(){return W},gX:function(){return q},gd:function(){return v},lk:function(){return T},nC:function(){return oe},pD:function(){return r},rU:function(){return D},tE:function(){return a},tl:function(){return ee},u3:function(){return Ae},vM:function(){return g},v_:function(){return ye},wQ:function(){return de},yI:function(){return B},yL:function(){return _},yQ:function(){return L},z3:function(){return fe}});const o={},i=[],a=()=>{},s=()=>!1,l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith("onUpdate:"),u=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},f=Object.prototype.hasOwnProperty,h=(e,t)=>f.call(e,t),p=Array.isArray,m=e=>"[object Map]"===S(e),g=e=>"[object Set]"===S(e),A=e=>"[object Date]"===S(e),v=e=>"[object RegExp]"===S(e),y=e=>"function"==typeof e,O=e=>"string"==typeof e,b=e=>"symbol"==typeof e,w=e=>null!==e&&"object"==typeof e,_=e=>(w(e)||y(e))&&y(e.then)&&y(e.catch),x=Object.prototype.toString,S=e=>x.call(e),k=e=>S(e).slice(8,-1),C=e=>"[object Object]"===S(e),B=e=>O(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Q=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),T=r("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),E=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},P=/-(\w)/g,$=E((e=>e.replace(P,((e,t)=>t?t.toUpperCase():"")))),M=/\B([A-Z])/g,z=E((e=>e.replace(M,"-$1").toLowerCase())),R=E((e=>e.charAt(0).toUpperCase()+e.slice(1))),D=E((e=>e?`on${R(e)}`:"")),I=(e,t)=>!Object.is(e,t),N=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},L=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},V=e=>{const t=parseFloat(e);return isNaN(t)?e:t},U=e=>{const t=O(e)?Number(e):NaN;return isNaN(t)?e:t};let F;const H=()=>F||(F="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});function W(e,t){return e+JSON.stringify(t,((e,t)=>"function"==typeof t?t.toString():t))}const X=r("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol"),j=2;function q(e,t=0,n=e.length){if((t=Math.max(0,Math.min(t,e.length)))>(n=Math.max(0,Math.min(n,e.length))))return"";let r=e.split(/(\r?\n)/);const o=r.filter(((e,t)=>t%2==1));r=r.filter(((e,t)=>t%2==0));let i=0;const a=[];for(let e=0;e<r.length;e++)if(i+=r[e].length+(o[e]&&o[e].length||0),i>=t){for(let s=e-j;s<=e+j||n>i;s++){if(s<0||s>=r.length)continue;const l=s+1;a.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${r[s]}`);const c=r[s].length,u=o[s]&&o[s].length||0;if(s===e){const e=t-(i-(c+u)),r=Math.max(1,n>i?c-e:n-t);a.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(s>e){if(n>i){const e=Math.max(Math.min(n-i,c),1);a.push(" | "+"^".repeat(e))}i+=c+u}}break}return a.join("\n")}function Z(e){if(p(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=O(r)?J(r):Z(r);if(o)for(const e in o)t[e]=o[e]}return t}if(O(e)||w(e))return e}const Y=/;(?![^(]*\))/g,G=/:([^]+)/,K=/\/\*[^]*?\*\//g;function J(e){const t={};return e.replace(K,"").split(Y).forEach((e=>{if(e){const n=e.split(G);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function ee(e){if(!e)return"";if(O(e))return e;let t="";for(const n in e){const r=e[n];(O(r)||"number"==typeof r)&&(t+=`${n.startsWith("--")?n:z(n)}:${r};`)}return t}function te(e){let t="";if(O(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){const r=te(e[n]);r&&(t+=r+" ")}else if(w(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ne(e){if(!e)return null;let{class:t,style:n}=e;return t&&!O(t)&&(e.class=te(t)),n&&(e.style=Z(n)),e}const re=r("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),oe=r("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),ie=r("annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics"),ae=r("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),se="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",le=r(se),ce=r(se+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function ue(e){return!!e||""===e}const de=r("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),fe=r("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function he(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}const pe=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function me(e,t){return e.replace(pe,(e=>t?'"'===e?'\\\\\\"':`\\\\${e}`:`\\${e}`))}function ge(e,t){if(e===t)return!0;let n=A(e),r=A(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=b(e),r=b(t),n||r)return e===t;if(n=p(e),r=p(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ge(e[r],t[r]);return n}(e,t);if(n=w(e),r=w(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(r&&!o||!r&&o||!ge(e[n],t[n]))return!1}}return String(e)===String(t)}function Ae(e,t){return e.findIndex((e=>ge(e,t)))}const ve=e=>!(!e||!0!==e.__v_isRef),ye=e=>O(e)?e:null==e?"":p(e)||w(e)&&(e.toString===x||!y(e.toString))?ve(e)?ye(e.value):JSON.stringify(e,Oe,2):String(e),Oe=(e,t)=>ve(t)?Oe(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[be(t,r)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>be(e)))}:b(t)?be(t):!w(t)||p(t)||C(t)?t:String(t),be=(e,t="")=>{var n;return b(e)?`Symbol(${null!=(n=e.description)?n:t})`:e}},90095:function(){!function(){"use strict";var e,t,n=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=tinymce.util.Tools.resolve("tinymce.util.VK"),o=function(e){return function(t){return r=typeof(n=t),(null===n?"null":"object"===r&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"===r&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":r)===e;var n,r}},i=function(e){return function(t){return typeof t===e}},a=o("string"),s=o("array"),l=function(e){return null===e},c=i("boolean"),u=i("function"),d=function(){},f=function(e){return function(){return e}},h=function(e,t){return e===t},p=f(!1),m=f(!0),g=function(){return A},A={fold:function(e,t){return e()},isSome:p,isNone:m,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:f(null),getOrUndefined:f(void 0),or:t,orThunk:e,map:g,each:d,bind:g,exists:p,forall:m,filter:function(){return g()},toArray:function(){return[]},toString:f("none()")},v=function(e){var t=f(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:m,isNone:p,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return v(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:A},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},y={some:v,none:g,from:function(e){return null==e?A:v(e)}},O=Array.prototype.indexOf,b=Array.prototype.push,w=function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!s(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);b.apply(t,e[n])}return t},_=function(e,t){for(var n=0;n<e.length;n++){var r=t(e[n],n);if(r.isSome())return r}return y.none()},x=function(e,t,n){return void 0===n&&(n=h),e.exists((function(e){return n(e,t)}))},S=function(e){for(var t=[],n=function(e){t.push(e)},r=0;r<e.length;r++)e[r].each(n);return t},k=function(e,t){return e?y.some(t):y.none()},C=function(e){var t=e.getParam("link_assume_external_targets",!1);return c(t)&&t?1:!a(t)||"http"!==t&&"https"!==t?0:t},B=function(e){return e.getParam("default_link_target")},Q=function(e){return e.getParam("target_list",!0)},T=function(e){return e.getParam("rel_list",[],"array")},E=function(e){return e.getParam("link_title",!0,"boolean")},P=function(e){return e.getParam("allow_unsafe_link_target",!1,"boolean")},$=function(e){return e.getParam("link_default_protocol","http","string")},M=tinymce.util.Tools.resolve("tinymce.util.Tools"),z=function(e){return a(e.value)?e.value:""},R=function(e,t){var n=[];return M.each(e,(function(e){var r=function(e){return a(e.text)?e.text:a(e.title)?e.title:""}(e);if(void 0!==e.menu){var o=R(e.menu,t);n.push({text:r,items:o})}else{var i=t(e);n.push({text:r,value:i})}})),n},D=function(e){return void 0===e&&(e=z),function(t){return y.from(t).map((function(t){return R(t,e)}))}},I=function(e){return D(z)(e)},N=D,L=function(e,t){return function(n){return{name:e,type:"listbox",label:t,items:n}}},V=z,U=function(){return U=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},U.apply(this,arguments)},F=Object.keys,H=Object.hasOwnProperty,W=function(e,t){return H.call(e,t)},X=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),j=tinymce.util.Tools.resolve("tinymce.util.URI"),q=function(e){return e&&"a"===e.nodeName.toLowerCase()},Z=function(e){return q(e)&&!!K(e)},Y=function(e,t){if(e.collapsed)return[];var n=e.cloneContents(),r=new X(n.firstChild,n),o=[],i=n.firstChild;do{t(i)&&o.push(i)}while(i=r.next());return o},G=function(e){return/^\w+:/i.test(e)},K=function(e){return e.getAttribute("data-mce-href")||e.getAttribute("href")},J=function(e,t){var n=["noopener"],r=e?e.split(/\s+/):[],o=function(e){return e.filter((function(e){return-1===M.inArray(n,e)}))},i=t?function(e){return(e=o(e)).length>0?e.concat(n):n}(r):o(r);return i.length>0?function(e){return M.trim(e.sort().join(" "))}(i):""},ee=function(e,t){return t=t||e.selection.getNode(),oe(t)?e.dom.select("a[href]",t)[0]:e.dom.getParent(t,"a[href]")},te=function(e,t){return(t?t.innerText||t.textContent:e.getContent({format:"text"})).replace(/\uFEFF/g,"")},ne=function(e){return M.grep(e,Z).length>0},re=function(e){var t=e.schema.getTextInlineElements();return 0===Y(e.selection.getRng(),(function(e){return 1===e.nodeType&&!q(e)&&!W(t,e.nodeName.toLowerCase())})).length},oe=function(e){return e&&"FIGURE"===e.nodeName&&/\bimage\b/i.test(e.className)},ie=function(e,t,n){var r=e.selection.getNode(),o=ee(e,r),i=function(e,t){var n=U({},t);if(!(T(e).length>0)&&!1===P(e)){var r=J(n.rel,"_blank"===n.target);n.rel=r||null}return y.from(n.target).isNone()&&!1===Q(e)&&(n.target=B(e)),n.href=function(e,t){return"http"!==t&&"https"!==t||G(e)?e:t+"://"+e}(n.href,C(e)),n}(e,function(e){var t,n,r;return t=["title","rel","class","target"],n=function(t,n){return e[n].each((function(e){t[n]=e.length>0?e:null})),t},r={href:e.href},function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)}(t,(function(e,t){r=n(r,e)})),r}(n));e.undoManager.transact((function(){n.href===t.href&&t.attach(),o?(e.focus(),function(e,t,n,r){n.each((function(e){W(t,"innerText")?t.innerText=e:t.textContent=e})),e.dom.setAttribs(t,r),e.selection.select(t)}(e,o,n.text,i)):function(e,t,n,r){oe(t)?ue(e,t,r):n.fold((function(){e.execCommand("mceInsertLink",!1,r)}),(function(t){e.insertContent(e.dom.createHTML("a",r,e.dom.encode(t)))}))}(e,r,n.text,i)}))},ae=function(e){var t=e.class,n=e.href,r=e.rel,o=e.target,i=e.text,a=e.title;return function(e){var t,n={};return function(e,t,n,r){(function(e,t){for(var n=F(e),r=0,o=n.length;r<o;r++){var i=n[r];t(e[i],i)}})(e,(function(e,o){(t(e,o)?n:r)(e,o)}))}(e,(function(e,t){return!1===l(e)}),(t=n,function(e,n){t[n]=e}),d),n}({class:t.getOrNull(),href:n,rel:r.getOrNull(),target:o.getOrNull(),text:i.getOrNull(),title:a.getOrNull()})},se=function(e,t,n){var r=function(e,t){var n=t.href;return U(U({},t),{href:j.isDomSafe(n,"a",e.settings)?n:""})}(e,n);e.hasPlugin("rtc",!0)?e.execCommand("createlink",!1,ae(r)):ie(e,t,r)},le=function(e){e.hasPlugin("rtc",!0)?e.execCommand("unlink"):function(e){e.undoManager.transact((function(){var t=e.selection.getNode();oe(t)?ce(e,t):function(e){var t=e.dom,n=e.selection,r=n.getBookmark(),o=n.getRng().cloneRange(),i=t.getParent(o.startContainer,"a[href]",e.getBody()),a=t.getParent(o.endContainer,"a[href]",e.getBody());i&&o.setStartBefore(i),a&&o.setEndAfter(a),n.setRng(o),e.execCommand("unlink"),n.moveToBookmark(r)}(e),e.focus()}))}(e)},ce=function(e,t){var n=e.dom.select("img",t)[0];if(n){var r=e.dom.getParents(n,"a[href]",t)[0];r&&(r.parentNode.insertBefore(n,r),e.dom.remove(r))}},ue=function(e,t,n){var r=e.dom.select("img",t)[0];if(r){var o=e.dom.create("a",n);r.parentNode.insertBefore(o,r),o.appendChild(r)}},de=function(e,t){return _(t,(function(t){return function(e){return W(t=e,n="items")&&void 0!==t[n]&&null!==t[n];var t,n}(t)?de(e,t.items):k(t.value===e,t)}))},fe=function(e,t){var n={text:e.text,title:e.title},r=function(e,r){var o,i,a=(o=t,i=r.name,"link"===i?o.link:"anchor"===i?o.anchor:y.none()).getOr([]);return function(e,t,n,r){var o=r[t],i=e.length>0;return void 0!==o?de(o,n).map((function(t){return{url:{value:t.value,meta:{text:i?e:t.text,attach:d}},text:i?e:t.text}})):y.none()}(n.text,r.name,a,e)};return{onChange:function(e,t){var o,i,a,s,l=t.name;return"url"===l?(o=e(),i=o.url,a=k(n.text.length<=0,y.from(i.meta.text).getOr(i.value)),s=function(e){return k(n.title.length<=0,y.from(e.meta.title).getOr(""))}(o.url),a.isSome()||s.isSome()?y.some(U(U({},a.map((function(e){return{text:e}})).getOr({})),s.map((function(e){return{title:e}})).getOr({}))):y.none()):function(e,t){return O.call(e,t)}(["anchor","link"],l)>-1?r(e(),t):"text"===l||"title"===l?(n[l]=e()[l],y.none()):y.none()}}},he=tinymce.util.Tools.resolve("tinymce.util.Delay"),pe=tinymce.util.Tools.resolve("tinymce.util.Promise"),me=function(e){var t=e.href;return t.indexOf("@")>0&&-1===t.indexOf("/")&&-1===t.indexOf("mailto:")?y.some({message:"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",preprocess:function(e){return U(U({},e),{href:"mailto:"+t})}}):y.none()},ge=function(e,t){return function(n){var r=n.href;return 1===e&&!G(r)||0===e&&/^\s*www(\.|\d\.)/i.test(r)?y.some({message:"The URL you entered seems to be an external link. Do you want to add the required "+t+":// prefix?",preprocess:function(e){return U(U({},e),{href:t+"://"+r})}}):y.none()}},Ae=function(e){var t,n=e.dom.select("a:not([href])"),r=(t=function(e){var t=e.name||e.id;return t?[{text:t,value:"#"+t}]:[]},w(function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r}(n,t)));return r.length>0?y.some([{text:"None",value:""}].concat(r)):y.none()},ve=function(e){var t=function(e){return e.getParam("link_class_list",[],"array")}(e);return t.length>0?I(t):y.none()},ye=tinymce.util.Tools.resolve("tinymce.util.XHR"),Oe=function(e,t){var n=T(e);if(n.length>0){var r=x(t,"_blank");return(!1===P(e)?N((function(e){return J(V(e),r)})):I)(n)}return y.none()},be=[{text:"Current window",value:""},{text:"New window",value:"_blank"}],we=function(e){var t=Q(e);return s(t)?I(t).orThunk((function(){return y.some(be)})):!1===t?y.none():y.some(be)},_e=function(e,t,n){var r=e.getAttrib(t,n);return null!==r&&r.length>0?y.some(r):y.none()},xe=function(e,t){return function(e){var t=function(t){return e.convertURL(t.value||t.url,"href")},n=function(e){return e.getParam("link_list")}(e);return new pe((function(e){a(n)?ye.send({url:n,success:function(t){return e(function(e){try{return y.some(JSON.parse(e))}catch(e){return y.none()}}(t))},error:function(t){return e(y.none())}}):u(n)?n((function(t){return e(y.some(t))})):e(y.from(n))})).then((function(e){return e.bind(N(t)).map((function(e){return e.length>0?[{text:"None",value:""}].concat(e):e}))}))}(e).then((function(n){var r=function(e,t){var n=e.dom,r=re(e)?y.some(te(e.selection,t)):y.none(),o=t?y.some(n.getAttrib(t,"href")):y.none(),i=t?y.from(n.getAttrib(t,"target")):y.none(),a=_e(n,t,"rel"),s=_e(n,t,"class");return{url:o,text:r,title:_e(n,t,"title"),target:i,rel:a,linkClass:s}}(e,t);return{anchor:r,catalogs:{targets:we(e),rels:Oe(e,r.target),classes:ve(e),anchor:Ae(e),link:n},optNode:y.from(t),flags:{titleEnabled:E(e)}}}))},Se=function(e){var t=function(e){var t=ee(e);return xe(e,t)}(e);t.then((function(t){var n=function(e,t){return function(n){var r=n.getData();if(!r.url.value)return le(e),void n.close();var o=function(e){return y.from(r[e]).filter((function(n){return!x(t.anchor[e],n)}))},i={href:r.url.value,text:o("text"),target:o("target"),rel:o("rel"),class:o("linkClass"),title:o("title")},a={href:r.url.value,attach:void 0!==r.url.meta&&r.url.meta.attach?r.url.meta.attach:d};(function(e,t){return _([me,ge(C(e),$(e))],(function(e){return e(t)})).fold((function(){return pe.resolve(t)}),(function(n){return new pe((function(r){!function(e,t,n){var r=e.selection.getRng();he.setEditorTimeout(e,(function(){e.windowManager.confirm(t,(function(t){e.selection.setRng(r),n(t)}))}))}(e,n.message,(function(e){r(e?n.preprocess(t):t)}))}))}))})(e,i).then((function(t){se(e,a,t)})),n.close()}}(e,t);return function(e,t,n){var r=e.anchor.text.map((function(){return{name:"text",type:"input",label:"Text to display"}})).toArray(),o=e.flags.titleEnabled?[{name:"title",type:"input",label:"Title"}]:[],i=function(e,t){var n=e.anchor,r=n.url.getOr("");return{url:{value:r,meta:{original:{value:r}}},text:n.text.getOr(""),title:n.title.getOr(""),anchor:r,link:r,rel:n.rel.getOr(""),target:n.target.or(t).getOr(""),linkClass:n.linkClass.getOr("")}}(e,y.from(B(n))),a=e.catalogs,s=fe(i,a);return{title:"Insert/Edit Link",size:"normal",body:{type:"panel",items:w([[{name:"url",type:"urlinput",filetype:"file",label:"URL"}],r,o,S([a.anchor.map(L("anchor","Anchors")),a.rels.map(L("rel","Rel")),a.targets.map(L("target","Open link in...")),a.link.map(L("link","Link list")),a.classes.map(L("linkClass","Class"))])])},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:i,onChange:function(e,t){var n=t.name;s.onChange(e.getData,{name:n}).each((function(t){e.setData(t)}))},onSubmit:t}}(t,n,e)})).then((function(t){e.windowManager.open(t)}))},ke=function(e,t){return e.dom.getParent(t,"a[href]")},Ce=function(e){return ke(e,e.selection.getStart())},Be=function(e,t){if(t){var n=K(t);if(/^#/.test(n)){var r=e.$(n);r.length&&e.selection.scrollIntoView(r[0],!0)}else!function(e){var t=document.createElement("a");t.target="_blank",t.href=e,t.rel="noreferrer noopener";var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),function(e,t){document.body.appendChild(e),e.dispatchEvent(t),document.body.removeChild(e)}(t,n)}(t.href)}},Qe=function(e){return function(){Se(e)}},Te=function(e){return function(){Be(e,Ce(e))}},Ee=function(e,t){return e.on("NodeChange",t),function(){return e.off("NodeChange",t)}},Pe=function(e){return function(t){var n=function(){return t.setActive(!e.mode.isReadOnly()&&null!==ee(e,e.selection.getNode()))};return n(),Ee(e,n)}},$e=function(e){return function(t){var n=function(){return t.setDisabled(null===ee(e,e.selection.getNode()))};return n(),Ee(e,n)}},Me=function(e){return function(t){var n=function(t){return ne(t)||(n=e.selection.getRng(),Y(n,Z).length>0);var n},r=e.dom.getParents(e.selection.getStart());return t.setDisabled(!n(r)),Ee(e,(function(e){return t.setDisabled(!n(e.parents))}))}};n.add("link",(function(e){!function(e){e.ui.registry.addToggleButton("link",{icon:"link",tooltip:"Insert/edit link",onAction:Qe(e),onSetup:Pe(e)}),e.ui.registry.addButton("openlink",{icon:"new-tab",tooltip:"Open link",onAction:Te(e),onSetup:$e(e)}),e.ui.registry.addButton("unlink",{icon:"unlink",tooltip:"Remove link",onAction:function(){return le(e)},onSetup:Me(e)})}(e),function(e){e.ui.registry.addMenuItem("openlink",{text:"Open link",icon:"new-tab",onAction:Te(e),onSetup:$e(e)}),e.ui.registry.addMenuItem("link",{icon:"link",text:"Link...",shortcut:"Meta+K",onAction:Qe(e)}),e.ui.registry.addMenuItem("unlink",{icon:"unlink",text:"Remove link",onAction:function(){return le(e)},onSetup:Me(e)})}(e),function(e){e.ui.registry.addContextMenu("link",{update:function(t){return ne(e.dom.getParents(t,"a"))?"link unlink openlink":"link"}})}(e),function(e){var t=function(t){var n=e.selection.getNode();return t.setDisabled(!ee(e,n)),d};e.ui.registry.addContextForm("quicklink",{launch:{type:"contextformtogglebutton",icon:"link",tooltip:"Link",onSetup:Pe(e)},label:"Link",predicate:function(t){return!!ee(e,t)&&function(e){return e.getParam("link_context_toolbar",!1,"boolean")}(e)},initValue:function(){var t=ee(e);return t?K(t):""},commands:[{type:"contextformtogglebutton",icon:"link",tooltip:"Link",primary:!0,onSetup:function(t){var n=e.selection.getNode();return t.setActive(!!ee(e,n)),Pe(e)(t)},onAction:function(t){var n=t.getValue(),r=function(t){var n=ee(e),r=re(e);if(!n&&r){var o=te(e.selection,n);return y.some(o.length>0?o:t)}return y.none()}(n);se(e,{href:n,attach:d},{href:n,text:r,title:y.none(),rel:y.none(),target:y.none(),class:y.none()}),function(e){e.selection.collapse(!1)}(e),t.hide()}},{type:"contextformbutton",icon:"unlink",tooltip:"Remove link",onSetup:t,onAction:function(t){le(e),t.hide()}},{type:"contextformbutton",icon:"new-tab",tooltip:"Open link",onSetup:t,onAction:function(t){Te(e)(),t.hide()}}]})}(e),function(e){e.on("click",(function(t){var n=ke(e,t.target);n&&r.metaKeyPressed(t)&&(t.preventDefault(),Be(e,n))})),e.on("keydown",(function(t){var n=Ce(e);n&&13===t.keyCode&&function(e){return!0===e.altKey&&!1===e.shiftKey&&!1===e.ctrlKey&&!1===e.metaKey}(t)&&(t.preventDefault(),Be(e,n))}))}(e),function(e){e.addCommand("mceLink",(function(){!function(e){return e.getParam("link_quicklink",!1,"boolean")}(e)?Qe(e)():e.fire("contexttoolbar-show",{toolbarKey:"quicklink"})}))}(e),function(e){e.addShortcut("Meta+K","",(function(){e.execCommand("mceLink")}))}(e)}))}()},90134:function(){!function(){"use strict";var e,t,n=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=function(e){return function(){return e}},i=o(!1),a=o(!0),s=function(){return l},l={fold:function(e,t){return e()},isSome:i,isNone:a,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:o(null),getOrUndefined:o(void 0),or:t,orThunk:e,map:s,each:function(){},bind:s,exists:i,forall:a,filter:function(){return s()},toArray:function(){return[]},toString:o("none()")},c=function(e){var t=o(e),n=function(){return s},r=function(t){return t(e)},s={fold:function(t,n){return n(e)},isSome:a,isNone:i,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return c(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?s:l},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return s},u={some:c,none:s,from:function(e){return null==e?l:c(e)}},d=Array.prototype.indexOf,f=function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r},h=function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];t(i,r)&&n.push(i)}return n},p=Object.keys,m=Object.hasOwnProperty,g=function(e,t){return m.call(e,t)},A=tinymce.util.Tools.resolve("tinymce.Env"),v=function(e){var t=A.mac?{alt:"&#x2325;",ctrl:"&#x2303;",shift:"&#x21E7;",meta:"&#x2318;",access:"&#x2303;&#x2325;"}:{meta:"Ctrl ",access:"Shift + Alt "},n=e.split("+"),r=f(n,(function(e){var n=e.toLowerCase().trim();return g(t,n)?t[n]:e}));return A.mac?r.join("").replace(/\s/,""):r.join("+")},y=[{shortcuts:["Meta + B"],action:"Bold"},{shortcuts:["Meta + I"],action:"Italic"},{shortcuts:["Meta + U"],action:"Underline"},{shortcuts:["Meta + A"],action:"Select all"},{shortcuts:["Meta + Y","Meta + Shift + Z"],action:"Redo"},{shortcuts:["Meta + Z"],action:"Undo"},{shortcuts:["Access + 1"],action:"Heading 1"},{shortcuts:["Access + 2"],action:"Heading 2"},{shortcuts:["Access + 3"],action:"Heading 3"},{shortcuts:["Access + 4"],action:"Heading 4"},{shortcuts:["Access + 5"],action:"Heading 5"},{shortcuts:["Access + 6"],action:"Heading 6"},{shortcuts:["Access + 7"],action:"Paragraph"},{shortcuts:["Access + 8"],action:"Div"},{shortcuts:["Access + 9"],action:"Address"},{shortcuts:["Alt + 0"],action:"Open help dialog"},{shortcuts:["Alt + F9"],action:"Focus to menubar"},{shortcuts:["Alt + F10"],action:"Focus to toolbar"},{shortcuts:["Alt + F11"],action:"Focus to element path"},{shortcuts:["Ctrl + F9"],action:"Focus to contextual toolbar"},{shortcuts:["Shift + Enter"],action:"Open popup menu for split buttons"},{shortcuts:["Meta + K"],action:"Insert link (if link plugin activated)"},{shortcuts:["Meta + S"],action:"Save (if save plugin activated)"},{shortcuts:["Meta + F"],action:"Find (if searchreplace plugin activated)"},{shortcuts:["Meta + Shift + F"],action:"Switch to or from fullscreen mode"}],O=function(){return{name:"shortcuts",title:"Handy Shortcuts",items:[{type:"table",header:["Action","Shortcut"],cells:f(y,(function(e){var t=f(e.shortcuts,v).join(" or ");return[e.action,t]}))}]}},b=tinymce.util.Tools.resolve("tinymce.util.I18n"),w=f([{key:"advlist",name:"Advanced List"},{key:"anchor",name:"Anchor"},{key:"autolink",name:"Autolink"},{key:"autoresize",name:"Autoresize"},{key:"autosave",name:"Autosave"},{key:"bbcode",name:"BBCode"},{key:"charmap",name:"Character Map"},{key:"code",name:"Code"},{key:"codesample",name:"Code Sample"},{key:"colorpicker",name:"Color Picker"},{key:"directionality",name:"Directionality"},{key:"emoticons",name:"Emoticons"},{key:"fullpage",name:"Full Page"},{key:"fullscreen",name:"Full Screen"},{key:"help",name:"Help"},{key:"hr",name:"Horizontal Rule"},{key:"image",name:"Image"},{key:"imagetools",name:"Image Tools"},{key:"importcss",name:"Import CSS"},{key:"insertdatetime",name:"Insert Date/Time"},{key:"legacyoutput",name:"Legacy Output"},{key:"link",name:"Link"},{key:"lists",name:"Lists"},{key:"media",name:"Media"},{key:"nonbreaking",name:"Nonbreaking"},{key:"noneditable",name:"Noneditable"},{key:"pagebreak",name:"Page Break"},{key:"paste",name:"Paste"},{key:"preview",name:"Preview"},{key:"print",name:"Print"},{key:"quickbars",name:"Quick Toolbars"},{key:"save",name:"Save"},{key:"searchreplace",name:"Search and Replace"},{key:"spellchecker",name:"Spell Checker"},{key:"tabfocus",name:"Tab Focus"},{key:"table",name:"Table"},{key:"template",name:"Template"},{key:"textcolor",name:"Text Color"},{key:"textpattern",name:"Text Pattern"},{key:"toc",name:"Table of Contents"},{key:"visualblocks",name:"Visual Blocks"},{key:"visualchars",name:"Visual Characters"},{key:"wordcount",name:"Word Count"},{key:"a11ychecker",name:"Accessibility Checker",type:"premium"},{key:"advcode",name:"Advanced Code Editor",type:"premium"},{key:"advtable",name:"Advanced Tables",type:"premium"},{key:"autocorrect",name:"Autocorrect",type:"premium"},{key:"casechange",name:"Case Change",type:"premium"},{key:"checklist",name:"Checklist",type:"premium"},{key:"export",name:"Export",type:"premium"},{key:"mediaembed",name:"Enhanced Media Embed",type:"premium"},{key:"formatpainter",name:"Format Painter",type:"premium"},{key:"linkchecker",name:"Link Checker",type:"premium"},{key:"mentions",name:"Mentions",type:"premium"},{key:"pageembed",name:"Page Embed",type:"premium"},{key:"permanentpen",name:"Permanent Pen",type:"premium"},{key:"powerpaste",name:"PowerPaste",type:"premium"},{key:"rtc",name:"Real-Time Collaboration",type:"premium"},{key:"tinymcespellchecker",name:"Spell Checker Pro",type:"premium"},{key:"tinycomments",name:"Tiny Comments",type:"premium",slug:"comments"},{key:"tinydrive",name:"Tiny Drive",type:"premium"}],(function(e){return r(r({},e),{type:e.type||"opensource",slug:e.slug||e.key})})),_=function(e){var t,n,r=function(e){return'<a href="'+e.url+'" target="_blank" rel="noopener">'+e.name+"</a>"},o=function(e){var t=function(e){var t=p(e.plugins),n=function(e){return e.getParam("forced_plugins")}(e);return void 0===n?t:h(t,(function(e){return t=n,r=e,!(d.call(t,r)>-1);var t,r}))}(e),n=f(t,(function(t){return"<li>"+function(e,t){return(n=w,o=function(e){return e.key===t},function(e,t,n){for(var r=0,o=e.length;r<o;r++){var i=e[r];if(t(i,r))return u.some(i);if(n(i,r))break}return u.none()}(n,o,i)).fold((function(){var n=e.plugins[t].getMetadata;return"function"==typeof n?r(n()):t}),(function(e){var t="premium"===e.type?e.name+"*":e.name;return r({name:t,url:"https://www.tiny.cloud/docs/plugins/"+e.type+"/"+e.slug})}));var n,o}(e,t)+"</li>"})),o=n.length,a=n.join("");return"<p><b>"+b.translate(["Plugins installed ({0}):",o])+"</b></p><ul>"+a+"</ul>"},a={type:"htmlpanel",presets:"document",html:[function(e){return null==e?"":'<div data-mce-tabstop="1" tabindex="-1">'+o(e)+"</div>"}(e),(t=h(w,(function(e){var t=e.key,n=e.type;return"autocorrect"!==t&&"premium"===n})),n=f(t,(function(e){return"<li>"+b.translate(e.name)+"</li>"})).join(""),'<div data-mce-tabstop="1" tabindex="-1"><p><b>'+b.translate("Premium plugins:")+"</b></p><ul>"+n+'<li class="tox-help__more-link" "><a href="https://www.tiny.cloud/pricing/?utm_campaign=editor_referral&utm_medium=help_dialog&utm_source=tinymce" target="_blank">'+b.translate("Learn more...")+"</a></li></ul></div>")].join("")};return{name:"plugins",title:"Plugins",items:[a]}},x=tinymce.util.Tools.resolve("tinymce.EditorManager"),S=function(e,t){return function(){var n=function(e,t){var n,o,i,a,s=O(),l={name:"keyboardnav",title:"Keyboard Navigation",items:[{type:"htmlpanel",presets:"document",html:"<h1>Editor UI keyboard navigation</h1>\n\n<h2>Activating keyboard navigation</h2>\n\n<p>The sections of the outer UI of the editor - the menubar, toolbar, sidebar and footer - are all keyboard navigable. As such, there are multiple ways to activate keyboard navigation:</p>\n<ul>\n <li>Focus the menubar: Alt + F9 (Windows) or &#x2325;F9 (MacOS)</li>\n <li>Focus the toolbar: Alt + F10 (Windows) or &#x2325;F10 (MacOS)</li>\n <li>Focus the footer: Alt + F11 (Windows) or &#x2325;F11 (MacOS)</li>\n</ul>\n\n<p>Focusing the menubar or toolbar will start keyboard navigation at the first item in the menubar or toolbar, which will be highlighted with a gray background. Focusing the footer will start keyboard navigation at the first item in the element path, which will be highlighted with an underline. </p>\n\n<h2>Moving between UI sections</h2>\n\n<p>When keyboard navigation is active, pressing tab will move the focus to the next major section of the UI, where applicable. These sections are:</p>\n<ul>\n <li>the menubar</li>\n <li>each group of the toolbar </li>\n <li>the sidebar</li>\n <li>the element path in the footer </li>\n <li>the wordcount toggle button in the footer </li>\n <li>the branding link in the footer </li>\n <li>the editor resize handle in the footer</li>\n</ul>\n\n<p>Pressing shift + tab will move backwards through the same sections, except when moving from the footer to the toolbar. Focusing the element path then pressing shift + tab will move focus to the first toolbar group, not the last.</p>\n\n<h2>Moving within UI sections</h2>\n\n<p>Keyboard navigation within UI sections can usually be achieved using the left and right arrow keys. This includes:</p>\n<ul>\n <li>moving between menus in the menubar</li>\n <li>moving between buttons in a toolbar group</li>\n <li>moving between items in the element path</li>\n</ul>\n\n<p>In all these UI sections, keyboard navigation will cycle within the section. For example, focusing the last button in a toolbar group then pressing right arrow will move focus to the first item in the same toolbar group. </p>\n\n<h1>Executing buttons</h1>\n\n<p>To execute a button, navigate the selection to the desired button and hit space or enter.</p>\n\n<h1>Opening, navigating and closing menus</h1>\n\n<p>When focusing a menubar button or a toolbar button with a menu, pressing space, enter or down arrow will open the menu. When the menu opens the first item will be selected. To move up or down the menu, press the up or down arrow key respectively. This is the same for submenus, which can also be opened and closed using the left and right arrow keys.</p>\n\n<p>To close any active menu, hit the escape key. When a menu is closed the selection will be restored to its previous selection. This also works for closing submenus.</p>\n\n<h1>Context toolbars and menus</h1>\n\n<p>To focus an open context toolbar such as the table context toolbar, press Ctrl + F9 (Windows) or &#x2303;F9 (MacOS).</p>\n\n<p>Context toolbar navigation is the same as toolbar navigation, and context menu navigation is the same as standard menu navigation.</p>\n\n<h1>Dialog navigation</h1>\n\n<p>There are two types of dialog UIs in TinyMCE: tabbed dialogs and non-tabbed dialogs.</p>\n\n<p>When a non-tabbed dialog is opened, the first interactive component in the dialog will be focused. Users can navigate between interactive components by pressing tab. This includes any footer buttons. Navigation will cycle back to the first dialog component if tab is pressed while focusing the last component in the dialog. Pressing shift + tab will navigate backwards.</p>\n\n<p>When a tabbed dialog is opened, the first button in the tab menu is focused. Pressing tab will navigate to the first interactive component in that tab, and will cycle through the tabs components, the footer buttons, then back to the tab button. To switch to another tab, focus the tab button for the current tab, then use the arrow keys to cycle through the tab buttons.</p>"}]},c=_(e),d=(a='<a href="https://www.tiny.cloud/docs/changelog/?utm_campaign=editor_referral&utm_medium=help_dialog&utm_source=tinymce" target="_blank">TinyMCE '+(o=x.majorVersion,i=x.minorVersion,(0===o.indexOf("@")?"X.X.X":o+"."+i)+"</a>"),{name:"versions",title:"Version",items:[{type:"htmlpanel",html:"<p>"+b.translate(["You are using {0}",a])+"</p>",presets:"document"}]}),h=r(((n={})[s.name]=s,n[l.name]=l,n[c.name]=c,n[d.name]=d,n),t.get());return function(e){return u.from(e.getParam("help_tabs"))}(e).fold((function(){return function(e){var t=p(e),n=t.indexOf("versions");return-1!==n&&(t.splice(n,1),t.push("versions")),{tabs:e,names:t}}(h)}),(function(e){return function(e,t){var n={},r=f(e,(function(e){return"string"==typeof e?(g(t,e)&&(n[e]=t[e]),e):(n[e.name]=e,e.name)}));return{tabs:n,names:r}}(e,h)}))}(e,t),o=n.tabs,i=n.names,a={type:"tabpanel",tabs:function(e){for(var t=[],n=function(e){t.push(e)},r=0;r<e.length;r++)e[r].each(n);return t}(f(i,(function(e){return g(t=o,n=e)?u.from(t[n]):u.none();var t,n})))};e.windowManager.open({title:"Help",size:"medium",body:a,buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{}})}};n.add("help",(function(e){var t,n=(t={},{get:function(){return t},set:function(e){t=e}}),r=function(e){return{addTab:function(t){var n=e.get();n[t.name]=t,e.set(n)}}}(n),o=S(e,n);return function(e,t){e.ui.registry.addButton("help",{icon:"help",tooltip:"Help",onAction:t}),e.ui.registry.addMenuItem("help",{text:"Help",icon:"help",shortcut:"Alt+0",onAction:t})}(e,o),function(e,t){e.addCommand("mceHelp",t)}(e,o),e.shortcuts.add("Alt+0","Open help dialog","mceHelp"),r}))}()},90365:function(e,t,n){"use strict";n.d(t,{$g:function(){return R},PH:function(){return p},Qj:function(){return h},RY:function(){return P},Z6:function(){return c},cF:function(){return r},fI:function(){return u},iX:function(){return M},rr:function(){return $},uY:function(){return a}});const r=1024;let o=0;class i{constructor(e,t){this.from=e,this.to=t}}class a{constructor(e={}){this.id=o++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=c.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}a.closedBy=new a({deserialize:e=>e.split(" ")}),a.openedBy=new a({deserialize:e=>e.split(" ")}),a.group=new a({deserialize:e=>e.split(" ")}),a.isolate=new a({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}}),a.contextHash=new a({perNode:!0}),a.lookAhead=new a({perNode:!0}),a.mounted=new a({perNode:!0});class s{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}static get(e){return e&&e.props&&e.props[a.mounted.id]}}const l=Object.create(null);class c{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):l,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),r=new c(e.name||"",t,e.id,n);if(e.props)for(let n of e.props)if(Array.isArray(n)||(n=n(r)),n){if(n[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[n[0].id]=n[1]}return r}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(a.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(a.group),r=-1;r<(n?n.length:0);r++){let o=t[r<0?e.name:n[r]];if(o)return o}}}}c.none=new c("",Object.create(null),0,8);class u{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let r=null;for(let t of e){let e=t(n);e&&(r||(r=Object.assign({},n.props)),r[e[0].id]=e[1])}t.push(r?new c(n.name,r,n.id,n.flags):n)}return new u(t)}}const d=new WeakMap,f=new WeakMap;var h;!function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays"}(h||(h={}));class p{constructor(e,t,n,r,o){if(this.type=e,this.children=t,this.positions=n,this.length=r,this.props=null,o&&o.length){this.props=Object.create(null);for(let[e,t]of o)this.props["number"==typeof e?e:e.id]=t}}toString(){let e=s.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let e of this.children){let n=e.toString();n&&(t&&(t+=","),t+=n)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new C(this.topNode,e)}cursorAt(e,t=0,n=0){let r=d.get(this)||this.topNode,o=new C(r);return o.moveTo(e,t),d.set(this,o._tree),o}get topNode(){return new O(this,0,0,null)}resolve(e,t=0){let n=v(d.get(this)||this.topNode,e,t,!1);return d.set(this,n),n}resolveInner(e,t=0){let n=v(f.get(this)||this.topNode,e,t,!0);return f.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){let r=e.resolveInner(t,n),o=null;for(let e=r instanceof O?r:r.context.parent;e;e=e.parent)if(e.index<0){let i=e.parent;(o||(o=[r])).push(i.resolve(t,n)),e=i}else{let i=s.get(e.tree);if(i&&i.overlay&&i.overlay[0].from<=t&&i.overlay[i.overlay.length-1].to>=t){let a=new O(i.tree,i.overlay[0].from+e.from,-1,e);(o||(o=[r])).push(v(a,t,n,!1))}}return o?S(o):r}(this,e,t)}iterate(e){let{enter:t,leave:n,from:r=0,to:o=this.length}=e,i=e.mode||0,a=(i&h.IncludeAnonymous)>0;for(let e=this.cursor(i|h.IncludeAnonymous);;){let i=!1;if(e.from<=o&&e.to>=r&&(!a&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;i=!0}for(;i&&n&&(a||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;i=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:E(c.none,this.children,this.positions,0,this.children.length,0,this.length,((e,t,n)=>new p(this.type,e,t,n,this.propValues)),e.makeTree||((e,t,n)=>new p(c.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:o,maxBufferLength:i=r,reused:s=[],minRepeatType:l=o.types.length}=e,c=Array.isArray(n)?new m(n,n.length):n,u=o.types,d=0,f=0;function h(e,t,n,r,m,b){let{id:w,start:_,end:x,size:S}=c,k=f,C=d;for(;S<0;){if(c.next(),-1==S){let t=s[w];return n.push(t),void r.push(_-e)}if(-3==S)return void(d=w);if(-4==S)return void(f=w);throw new RangeError(`Unrecognized record size: ${S}`)}let B,Q,T=u[w],P=_-e;if(x-_<=i&&(Q=function(e,t){let n=c.fork(),r=0,o=0,a=0,s=n.end-i,u={size:0,start:0,skip:0};e:for(let i=n.pos-e;n.pos>i;){let e=n.size;if(n.id==t&&e>=0){u.size=r,u.start=o,u.skip=a,a+=4,r+=4,n.next();continue}let c=n.pos-e;if(e<0||c<i||n.start<s)break;let d=n.id>=l?4:0,f=n.start;for(n.next();n.pos>c;){if(n.size<0){if(-3!=n.size)break e;d+=4}else n.id>=l&&(d+=4);n.next()}o=f,r+=e,a+=d}return(t<0||r==e)&&(u.size=r,u.start=o,u.skip=a),u.size>4?u:void 0}(c.pos-t,m))){let t=new Uint16Array(Q.size-Q.skip),n=c.pos-Q.size,r=t.length;for(;c.pos>n;)r=O(Q.start,t,r);B=new g(t,x-Q.start,o),P=Q.start-e}else{let e=c.pos-S;c.next();let t=[],n=[],r=w>=l?w:-1,o=0,s=x;for(;c.pos>e;)r>=0&&c.id==r&&c.size>=0?(c.end<=s-i&&(v(t,n,_,o,c.end,s,r,k,C),o=t.length,s=c.end),c.next()):b>2500?A(_,e,t,n):h(_,e,t,n,r,b+1);if(r>=0&&o>0&&o<t.length&&v(t,n,_,o,_,s,r,k,C),t.reverse(),n.reverse(),r>-1&&o>0){let e=function(e,t){return(n,r,o)=>{let i,s,l=0,c=n.length-1;if(c>=0&&(i=n[c])instanceof p){if(!c&&i.type==e&&i.length==o)return i;(s=i.prop(a.lookAhead))&&(l=r[c]+i.length+s)}return y(e,n,r,o,l,t)}}(T,C);B=E(T,t,n,0,t.length,0,x-_,e,e)}else B=y(T,t,n,x-_,k-x,C)}n.push(B),r.push(P)}function A(e,t,n,r){let a=[],s=0,l=-1;for(;c.pos>t;){let{id:e,start:t,end:n,size:r}=c;if(r>4)c.next();else{if(l>-1&&t<l)break;l<0&&(l=n-i),a.push(e,t,n),s++,c.next()}}if(s){let t=new Uint16Array(4*s),i=a[a.length-2];for(let e=a.length-3,n=0;e>=0;e-=3)t[n++]=a[e],t[n++]=a[e+1]-i,t[n++]=a[e+2]-i,t[n++]=n;n.push(new g(t,a[2]-i,o)),r.push(i-e)}}function v(e,t,n,r,i,a,s,l,c){let u=[],d=[];for(;e.length>r;)u.push(e.pop()),d.push(t.pop()+n-i);e.push(y(o.types[s],u,d,a-i,l-a,c)),t.push(i-n)}function y(e,t,n,r,o,i,s){if(i){let e=[a.contextHash,i];s=s?[e].concat(s):[e]}if(o>25){let e=[a.lookAhead,o];s=s?[e].concat(s):[e]}return new p(e,t,n,r,s)}function O(e,t,n){let{id:r,start:o,end:i,size:a}=c;if(c.next(),a>=0&&r<l){let s=n;if(a>4){let r=c.pos-(a-4);for(;c.pos>r;)n=O(e,t,n)}t[--n]=s,t[--n]=i-e,t[--n]=o-e,t[--n]=r}else-3==a?d=r:-4==a&&(f=r);return n}let b=[],w=[];for(;c.pos>0;)h(e.start||0,e.bufferStart||0,b,w,-1,0);let _=null!==(t=e.length)&&void 0!==t?t:b.length?w[0]+b[0].length:0;return new p(u[e.topID],b.reverse(),w.reverse(),_)}(e)}}p.empty=new p(c.none,[],[],0);class m{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new m(this.buffer,this.index)}}class g{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return c.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],o=r.name;if(/\W/.test(o)&&!r.isError&&(o=JSON.stringify(o)),n==(e+=4))return o;let i=[];for(;e<n;)i.push(this.childString(e)),e=this.buffer[e+3];return o+"("+i.join(",")+")"}findChild(e,t,n,r,o){let{buffer:i}=this,a=-1;for(let s=e;s!=t&&!(A(o,r,i[s+1],i[s+2])&&(a=s,n>0));s=i[s+3]);return a}slice(e,t,n){let r=this.buffer,o=new Uint16Array(t-e),i=0;for(let a=e,s=0;a<t;){o[s++]=r[a++],o[s++]=r[a++]-n;let t=o[s++]=r[a++]-n;o[s++]=r[a++]-e,i=Math.max(i,t)}return new g(o,i,this.set)}}function A(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function v(e,t,n,r){for(var o;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let t=!r&&e instanceof O&&e.index<0?null:e.parent;if(!t)return e;e=t}let i=r?0:h.IgnoreOverlays;if(r)for(let r=e,a=r.parent;a;r=a,a=r.parent)r instanceof O&&r.index<0&&(null===(o=a.enter(t,n,i))||void 0===o?void 0:o.from)!=r.from&&(e=a);for(;;){let r=e.enter(t,n,i);if(!r)return e;e=r}}class y{cursor(e=0){return new C(this,e)}getChild(e,t=null,n=null){let r=b(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return b(this,e,t,n)}resolve(e,t=0){return v(this,e,t,!1)}resolveInner(e,t=0){return v(this,e,t,!0)}matchContext(e){return w(this.parent,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}}class O extends y{constructor(e,t,n,r){super(),this._tree=e,this.from=t,this.index=n,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,n,r,o=0){for(let i=this;;){for(let{children:a,positions:l}=i._tree,c=t>0?a.length:-1;e!=c;e+=t){let c=a[e],u=l[e]+i.from;if(A(r,n,u,u+c.length))if(c instanceof g){if(o&h.ExcludeBuffers)continue;let a=c.findChild(0,c.buffer.length,t,n-u,r);if(a>-1)return new x(new _(i,c,e,u),null,a)}else if(o&h.IncludeAnonymous||!c.type.isAnonymous||B(c)){let a;if(!(o&h.IgnoreMounts)&&(a=s.get(c))&&!a.overlay)return new O(a.tree,u,e,i);let l=new O(c,u,e,i);return o&h.IncludeAnonymous||!l.type.isAnonymous?l:l.nextChild(t<0?c.children.length-1:0,t,n,r)}}if(o&h.IncludeAnonymous||!i.type.isAnonymous)return null;if(e=i.index>=0?i.index+t:t<0?-1:i._parent._tree.children.length,i=i._parent,!i)return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let r;if(!(n&h.IgnoreOverlays)&&(r=s.get(this._tree))&&r.overlay){let n=e-this.from;for(let{from:e,to:o}of r.overlay)if((t>0?e<=n:e<n)&&(t<0?o>=n:o>n))return new O(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function b(e,t,n,r){let o=e.cursor(),i=[];if(!o.firstChild())return i;if(null!=n)for(let e=!1;!e;)if(e=o.type.is(n),!o.nextSibling())return i;for(;;){if(null!=r&&o.type.is(r))return i;if(o.type.is(t)&&i.push(o.node),!o.nextSibling())return null==r?i:[]}}function w(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class _{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class x extends y{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return o<0?null:new x(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&h.ExcludeBuffers)return null;let{buffer:r}=this.context,o=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return o<0?null:new x(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new x(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new x(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,o=n.buffer[this.index+3];if(o>r){let i=n.buffer[this.index+1];e.push(n.slice(r,o,i)),t.push(0)}return new p(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function S(e){if(!e.length)return null;let t=0,n=e[0];for(let r=1;r<e.length;r++){let o=e[r];(o.from>n.from||o.to<n.to)&&(n=o,t=r)}let r=n instanceof O&&n.index<0?null:n.parent,o=e.slice();return r?o[t]=r:o.splice(t,1),new k(o,n)}class k{constructor(e,t){this.heads=e,this.node=t}get next(){return S(this.heads)}}class C{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof O)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return!!e&&(e instanceof O?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return!(o<0)&&(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&h.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&h.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&h.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:r}=this;if(r){if(e>0){if(this.index<r.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(r.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:n}=r)}else({index:t,_parent:n}=this._tree);for(;n;({index:t,_parent:n}=n))if(t>-1)for(let r=t+e,o=e<0?-1:n._tree.children.length;r!=o;r+=e){let e=n._tree.children[r];if(this.mode&h.IncludeAnonymous||e instanceof g||!e.type.isAnonymous||B(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)e:for(let r=this.index,o=this.stack.length;o>=0;){for(let i=e;i;i=i._parent)if(i.index==r){if(r==this.index)return i;t=i,n=o+1;break e}r=this.stack[--o]}for(let e=n;e<this.stack.length;e++)t=new x(this.buffer,t,this.stack[e]);return this.bufferNode=new x(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;;){if(r&&t&&t(this),r=this.type.isAnonymous,!n)return;if(this.nextSibling())break;this.parent(),n--,r=!0}}}matchContext(e){if(!this.buffer)return w(this.node.parent,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let r=e.length-1,o=this.stack.length-1;r>=0;o--){if(o<0)return w(this._tree,e,r);let i=n[t.buffer[this.stack[o]]];if(!i.isAnonymous){if(e[r]&&e[r]!=i.name)return!1;r--}}return!0}}function B(e){return e.children.some((e=>e instanceof g||!e.type.isAnonymous||B(e)))}const Q=new WeakMap;function T(e,t){if(!e.isAnonymous||t instanceof g||t.type!=e)return 1;let n=Q.get(t);if(null==n){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof p)){n=1;break}n+=T(e,r)}Q.set(t,n)}return n}function E(e,t,n,r,o,i,a,s,l){let c=0;for(let n=r;n<o;n++)c+=T(e,t[n]);let u=Math.ceil(1.5*c/8),d=[],f=[];return function t(n,r,o,a,s){for(let c=o;c<a;){let o=c,h=r[c],p=T(e,n[c]);for(c++;c<a;c++){let t=T(e,n[c]);if(p+t>=u)break;p+=t}if(c==o+1){if(p>u){let e=n[o];t(e.children,e.positions,0,e.children.length,r[o]+s);continue}d.push(n[o])}else{let t=r[c-1]+n[c-1].length-h;d.push(E(e,n,r,o,c,h,t,null,l))}f.push(h+s-i)}}(t,n,r,o,0),(s||l)(d,f,a)}class P{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof x?this.setBuffer(e.context.buffer,e.index,t):e instanceof O&&this.map.set(e.tree,t)}get(e){return e instanceof x?this.getBuffer(e.context.buffer,e.index):e instanceof O?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class ${constructor(e,t,n,r,o=!1,i=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=(o?1:0)|(i?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let r=[new $(0,e.length,e,0,!1,n)];for(let n of t)n.to>e.length&&r.push(n);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],o=1,i=e.length?e[0]:null;for(let a=0,s=0,l=0;;a++){let c=a<t.length?t[a]:null,u=c?c.fromA:1e9;if(u-s>=n)for(;i&&i.from<u;){let t=i;if(s>=t.from||u<=t.to||l){let e=Math.max(t.from,s)-l,n=Math.min(t.to,u)-l;t=e>=n?null:new $(e,n,t.tree,t.offset+l,a>0,!!c)}if(t&&r.push(t),i.to>u)break;i=o<e.length?e[o++]:null}if(!c)break;s=c.toA,l=c.toA-c.toB}return r}}class M{startParse(e,t,n){return"string"==typeof e&&(e=new z(e)),n=n?n.length?n.map((e=>new i(e.from,e.to))):[new i(0,0)]:[new i(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}}class z{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function R(e){return(t,n,r,o)=>new V(t,e,n,r,o)}class D{constructor(e,t,n,r,o){this.parser=e,this.parse=t,this.overlay=n,this.target=r,this.from=o}}function I(e){if(!e.length||e.some((e=>e.from>=e.to)))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class N{constructor(e,t,n,r,o,i,a){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=o,this.target=i,this.prev=a,this.depth=0,this.ranges=[]}}const L=new a({perNode:!0});class V{constructor(e,t,n,r,o){this.nest=t,this.input=n,this.fragments=r,this.ranges=o,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new p(e.type,e.children,e.positions,e.length,e.propValues.concat([[L,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[a.mounted.id]=new s(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new X(this.fragments),t=null,n=null,r=new C(new O(this.baseTree,this.ranges[0].from,0,null),h.IncludeAnonymous|h.IgnoreMounts);e:for(let o,a;;){let s,l=!0;if(null!=this.stoppedAt&&r.from>=this.stoppedAt)l=!1;else if(e.hasNode(r)){if(t){let e=t.mounts.find((e=>e.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay));if(e)for(let n of e.mount.overlay){let o=n.from+e.pos,i=n.to+e.pos;o>=r.from&&i<=r.to&&!t.ranges.some((e=>e.from<i&&e.to>o))&&t.ranges.push({from:o,to:i})}}l=!1}else if(n&&(a=U(n.ranges,r.from,r.to)))l=2!=a;else if(!r.type.isAnonymous&&(o=this.nest(r,this.input))&&(r.from<r.to||!o.overlay)){r.tree||H(r);let a=e.findMounts(r.from,o.parser);if("function"==typeof o.overlay)t=new N(o.parser,o.overlay,a,this.inner.length,r.from,r.tree,t);else{let e=j(this.ranges,o.overlay||(r.from<r.to?[new i(r.from,r.to)]:[]));e.length&&I(e),!e.length&&o.overlay||this.inner.push(new D(o.parser,e.length?o.parser.startParse(this.input,Z(a,e),e):o.parser.startParse(""),o.overlay?o.overlay.map((e=>new i(e.from-r.from,e.to-r.from))):null,r.tree,e.length?e[0].from:r.from)),o.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):l=!1}}else if(t&&(s=t.predicate(r))&&(!0===s&&(s=new i(r.from,r.to)),s.from<s.to)){let e=t.ranges.length-1;e>=0&&t.ranges[e].to==s.from?t.ranges[e]={from:t.ranges[e].from,to:s.to}:t.ranges.push(s)}if(l&&r.firstChild())t&&t.depth++,n&&n.depth++;else for(;!r.nextSibling();){if(!r.parent())break e;if(t&&! --t.depth){let e=j(this.ranges,t.ranges);e.length&&(I(e),this.inner.splice(t.index,0,new D(t.parser,t.parser.startParse(this.input,Z(t.mounts,e),e),t.ranges.map((e=>new i(e.from-t.start,e.to-t.start))),t.target,e[0].from))),t=t.prev}n&&! --n.depth&&(n=n.prev)}}}}function U(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}function F(e,t,n,r,o,i){if(t<n){let a=e.buffer[t+1];r.push(e.slice(t,n,a)),o.push(a-i)}}function H(e){let{node:t}=e,n=[],r=t.context.buffer;do{n.push(e.index),e.parent()}while(!e.tree);let o=e.tree,i=o.children.indexOf(r),a=o.children[i],s=a.buffer,l=[i];o.children[i]=function e(r,o,i,c,u,d){let f=n[d],h=[],m=[];F(a,r,f,h,m,c);let g=s[f+1],A=s[f+2];l.push(h.length);let v=d?e(f+4,s[f+3],a.set.types[s[f]],g,A-g,d-1):t.toTree();return h.push(v),m.push(g-c),F(a,s[f+3],o,h,m,c),new p(i,h,m,u)}(0,s.length,c.none,0,a.length,n.length-1);for(let t of l){let n=e.tree.children[t],r=e.tree.positions[t];e.yield(new O(n,r+e.from,t,e._tree))}}class W{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(h.IncludeAnonymous|h.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from<n;)t.to>=e&&t.enter(n,1,h.IgnoreOverlays|h.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof p))break;t=t.children[0]}return!1}}class X{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(L))&&void 0!==t?t:n.to,this.inner=new W(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(L))&&void 0!==e?e:t.to,this.inner=new W(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let o=null===(n=e.tree)||void 0===n?void 0:n.prop(a.mounted);if(o&&o.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let n=this.fragments[t];if(n.from>=e.to)break;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:o})}}}return r}}function j(e,t){let n=null,r=t;for(let o=1,a=0;o<e.length;o++){let s=e[o-1].to,l=e[o].from;for(;a<r.length;a++){let e=r[a];if(e.from>=l)break;e.to<=s||(n||(r=n=t.slice()),e.from<s?(n[a]=new i(e.from,s),e.to>l&&n.splice(a+1,0,new i(l,e.to))):e.to>l?n[a--]=new i(l,e.to):n.splice(a--,1))}}return r}function q(e,t,n,r){let o=0,a=0,s=!1,l=!1,c=-1e9,u=[];for(;;){let d=o==e.length?1e9:s?e[o].to:e[o].from,f=a==t.length?1e9:l?t[a].to:t[a].from;if(s!=l){let e=Math.max(c,n),t=Math.min(d,f,r);e<t&&u.push(new i(e,t))}if(c=Math.min(d,f),1e9==c)break;d==c&&(s?(s=!1,o++):s=!0),f==c&&(l?(l=!1,a++):l=!0)}return u}function Z(e,t){let n=[];for(let{pos:r,mount:o,frag:a}of e){let e=r+(o.overlay?o.overlay[0].from:0),s=e+o.tree.length,l=Math.max(a.from,e),c=Math.min(a.to,s);if(o.overlay){let s=q(t,o.overlay.map((e=>new i(e.from+r,e.to+r))),l,c);for(let t=0,r=l;;t++){let i=t==s.length,l=i?c:s[t].from;if(l>r&&n.push(new $(r,l,o.tree,-e,a.from>=r||a.openStart,a.to<=l||a.openEnd)),i)break;r=s[t].to}}else n.push(new $(l,c,o.tree,-e,a.from>=e||a.openStart,a.to<=s||a.openEnd))}return n}},90445:function(e){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,o=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,a={},s=function(e){return(e=+e)+(e>68?1900:2e3)},l=function(e){return function(t){this[e]=+t}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],u=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=a.meridiem;if(r){for(var o=1;o<=24;o+=1)if(e.indexOf(r(o,0,t))>-1){n=o>12;break}}else n=e===(t?"pm":"PM");return n},f={A:[i,function(e){this.afternoon=d(e,!1)}],a:[i,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[o,l("seconds")],ss:[o,l("seconds")],m:[o,l("minutes")],mm:[o,l("minutes")],H:[o,l("hours")],h:[o,l("hours")],HH:[o,l("hours")],hh:[o,l("hours")],D:[o,l("day")],DD:[r,l("day")],Do:[i,function(e){var t=a.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],w:[o,l("week")],ww:[r,l("week")],M:[o,l("month")],MM:[r,l("month")],MMM:[i,function(e){var t=u("months"),n=(u("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,l("year")],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,l("year")],Z:c,ZZ:c};function h(n){var r,o;r=n,o=a&&a.formats;for(var i=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var i=r&&r.toUpperCase();return n||o[r]||e[r]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=i.length,l=0;l<s;l+=1){var c=i[l],u=f[c],d=u&&u[0],h=u&&u[1];i[l]=h?{regex:d,parser:h}:c.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var o=i[n];if("string"==typeof o)r+=o.length;else{var a=o.regex,l=o.parser,c=e.slice(r),u=a.exec(c)[0];l.call(t,u),e=e.replace(u,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,o=r.parse;r.parse=function(e){var t=e.date,r=e.utc,i=e.args;this.$u=r;var s=i[1];if("string"==typeof s){var l=!0===i[2],c=!0===i[3],u=l||c,d=i[2];c&&(d=i[2]),a=this.$locale(),!l&&d&&(a=n.Ls[d]),this.$d=function(e,t,n,r){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var o=h(t)(e),i=o.year,a=o.month,s=o.day,l=o.hours,c=o.minutes,u=o.seconds,d=o.milliseconds,f=o.zone,p=o.week,m=new Date,g=s||(i||a?1:m.getDate()),A=i||m.getFullYear(),v=0;i&&!a||(v=a>0?a-1:m.getMonth());var y,O=l||0,b=c||0,w=u||0,_=d||0;return f?new Date(Date.UTC(A,v,g,O,b,w,_+60*f.offset*1e3)):n?new Date(Date.UTC(A,v,g,O,b,w,_)):(y=new Date(A,v,g,O,b,w,_),p&&(y=r(y).week(p).toDate()),y)}catch(e){return new Date("")}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var f=s.length,p=1;p<=f;p+=1){i[1]=s[p-1];var m=n.apply(this,i);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}p===f&&(this.$d=new Date(""))}else o.call(this,e)}}}()},90540:function(e,t,n){"use strict";var r=n(15215),o=n(71519),i=n(29308),a=n(98026),s=(0,a.defaults)({x:0,y:0},o.oN),l={style:(0,a.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},o.sW.style)},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.createStyle=function(e){return(0,a.createObject)(s,e)},t.prototype._getSize=function(e){var t=this.style,n=t[e];if(null!=n)return n;var r,o=(r=t.image)&&"string"!=typeof r&&r.width&&r.height?t.image:this.__image;if(!o)return 0;var i="width"===e?"height":"width",a=t[i];return null==a?o[e]:o[e]/o[i]*a},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return l},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new i.A(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(o.Ay);c.prototype.type="image",t.Ay=c},90662:function(e,t,n){var r=n(73971),o=typeof window===r?0:window;e.exports=o},90679:function(e,t,n){"use strict";var r=n(1625),o=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new o("Incorrect invocation")}},91072:function(e,t,n){"use strict";n.r(t),n.d(t,{CORE_ERROR_CODES_EXTEND_POINT:function(){return Re},CORE_WARN_CODES_EXTEND_POINT:function(){return tt},CompileErrorCodes:function(){return M},CoreErrorCodes:function(){return ze},CoreWarnCodes:function(){return et},DATETIME_FORMAT_OPTIONS_KEYS:function(){return $t},DEFAULT_LOCALE:function(){return at},DEFAULT_MESSAGE_DATA_TYPE:function(){return Ut},MISSING_RESOLVE_VALUE:function(){return st},NOT_REOSLVED:function(){return it},NUMBER_FORMAT_OPTIONS_KEYS:function(){return Dt},VERSION:function(){return ot},clearCompileCache:function(){return ke},clearDateTimeFormat:function(){return zt},clearNumberFormat:function(){return Nt},compile:function(){return Be},createCompileError:function(){return R},createCoreContext:function(){return wt},createCoreError:function(){return De},createMessageContext:function(){return Xt},datetime:function(){return Pt},fallbackWithLocaleChain:function(){return Fe},fallbackWithSimple:function(){return Ue},getAdditionalMeta:function(){return At},getDevToolsHook:function(){return Ee},getFallbackContext:function(){return Ot},getLocale:function(){return Ne},getWarnMessage:function(){return rt},handleMissing:function(){return kt},initI18nDevTools:function(){return Pe},isAlmostSameLocale:function(){return Bt},isImplicitFallback:function(){return Qt},isMessageAST:function(){return Ce},isMessageFunction:function(){return qt},isTranslateFallbackWarn:function(){return xt},isTranslateMissingWarn:function(){return St},number:function(){return Rt},parse:function(){return Ye},parseDateTimeArgs:function(){return Mt},parseNumberArgs:function(){return It},parseTranslateArgs:function(){return Kt},registerLocaleFallbacker:function(){return pt},registerMessageCompiler:function(){return ft},registerMessageResolver:function(){return ht},resolveLocale:function(){return Ve},resolveValue:function(){return Je},resolveWithKeyValue:function(){return Ke},setAdditionalMeta:function(){return gt},setDevToolsHook:function(){return Te},setFallbackContext:function(){return yt},translate:function(){return Zt},translateDevTools:function(){return $e},updateFallbackLocale:function(){return Ct}});const r="undefined"!=typeof window;let o,i;{const e=r&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(o=t=>{e.mark(t)},i=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const a=/\{([0-9a-zA-Z]+)\}/g;function s(e,...t){return 1===t.length&&x(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(a,((e,n)=>t.hasOwnProperty(n)?t[n]:""))}const l=(e,t,n)=>c({l:e,k:t,s:n}),c=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),u=e=>"number"==typeof e&&isFinite(e),d=e=>"[object Date]"===C(e),f=e=>"[object RegExp]"===C(e),h=e=>B(e)&&0===Object.keys(e).length,p=Object.assign,m=Object.create,g=(e=null)=>m(e);function A(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const v=Object.prototype.hasOwnProperty;function y(e,t){return v.call(e,t)}const O=Array.isArray,b=e=>"function"==typeof e,w=e=>"string"==typeof e,_=e=>"boolean"==typeof e,x=e=>null!==e&&"object"==typeof e,S=e=>x(e)&&b(e.then)&&b(e.catch),k=Object.prototype.toString,C=e=>k.call(e),B=e=>"[object Object]"===C(e);function Q(e,t=""){return e.reduce(((e,n,r)=>0===r?e+n:e+t+n),"")}const T=2;function E(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const P={};function $(e,t,n){return{start:e,end:t}}const M={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},z={[M.EXPECTED_TOKEN]:"Expected token: '{0}'",[M.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[M.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[M.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[M.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[M.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[M.EMPTY_PLACEHOLDER]:"Empty placeholder",[M.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[M.INVALID_LINKED_FORMAT]:"Invalid linked format",[M.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[M.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[M.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[M.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[M.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[M.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function R(e,t,n={}){const{domain:r,messages:o,args:i}=n,a=s((o||z)[e]||"",...i||[]),l=new SyntaxError(String(a));return l.code=e,t&&(l.location=t),l.domain=r,l}function D(e){throw e}const I=/<\/?[\w\s="/.':;#-\/]+>/,N=e=>I.test(e),L=" ",V="\r",U="\n",F=String.fromCharCode(8232),H=String.fromCharCode(8233);function W(e){const t=e;let n=0,r=1,o=1,i=0;const a=e=>t[e]===V&&t[e+1]===U,s=e=>t[e]===H,l=e=>t[e]===F,c=e=>a(e)||s(e)||l(e)?U:t[e];function u(){return i=0,(a(e=n)||(e=>t[e]===U)(e)||s(e)||l(e))&&(r++,o=0),a(n)&&n++,n++,o++,t[n];var e}return{index:()=>n,line:()=>r,column:()=>o,peekOffset:()=>i,charAt:c,currentChar:()=>c(n),currentPeek:()=>c(n+i),next:u,peek:function(){return a(n+i)&&i++,i++,t[n+i]},reset:function(){n=0,r=1,o=1,i=0},resetPeek:function(e=0){i=e},skipToPeek:function(){const e=n+i;for(;e!==n;)u();i=0}}}const X=void 0,j="'",q="tokenizer";function Z(e,t={}){const n=!1!==t.location,r=W(e),o=()=>r.index(),i=()=>({line:r.line(),column:r.column(),offset:r.index()}),a=i(),s=o(),l={currentType:13,offset:s,startLoc:a,endLoc:a,lastType:13,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(e,t,r,...o){const i=c();if(t.column+=r,t.offset+=r,u){const r=R(e,n?$(i.startLoc,t):null,{domain:q,args:o});u(r)}}function f(e,t,r){e.endLoc=i(),e.currentType=t;const o={type:t};return n&&(o.loc=$(e.startLoc,e.endLoc)),null!=r&&(o.value=r),o}const h=e=>f(e,13);function p(e,t){return e.currentChar()===t?(e.next(),t):(d(M.EXPECTED_TOKEN,i(),0,t),"")}function m(e){let t="";for(;e.currentPeek()===L||e.currentPeek()===U;)t+=e.currentPeek(),e.peek();return t}function g(e){const t=m(e);return e.skipToPeek(),t}function A(e){if(e===X)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function v(e){m(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function y(e,t=!0){const n=(t=!1,r="")=>{const o=e.currentPeek();return"{"===o?t:"@"!==o&&o?"|"===o?!(r===L||r===U):o===L?(e.peek(),n(!0,L)):o!==U||(e.peek(),n(!0,U)):t},r=n();return t&&e.resetPeek(),r}function O(e,t){const n=e.currentChar();return n===X?X:t(n)?(e.next(),n):null}function b(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}function w(e){return O(e,b)}function _(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t||45===t}function x(e){return O(e,_)}function S(e){const t=e.charCodeAt(0);return t>=48&&t<=57}function k(e){return O(e,S)}function C(e){const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function B(e){return O(e,C)}function Q(e){let t="",n="";for(;t=k(e);)n+=t;return n}function T(e){return e!==j&&e!==U}function E(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return P(e,t,4);case"U":return P(e,t,6);default:return d(M.UNKNOWN_ESCAPE_SEQUENCE,i(),0,t),""}}function P(e,t,n){p(e,t);let r="";for(let o=0;o<n;o++){const n=B(e);if(!n){d(M.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${t}${r}${e.currentChar()}`);break}r+=n}return`\\${t}${r}`}function z(e){return"{"!==e&&"}"!==e&&e!==L&&e!==U}function D(e){g(e);const t=p(e,"|");return g(e),t}function I(e,t){let n=null;switch(e.currentChar()){case"{":return t.braceNest>=1&&d(M.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),e.next(),n=f(t,2,"{"),g(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&d(M.EMPTY_PLACEHOLDER,i(),0),e.next(),n=f(t,3,"}"),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&d(M.UNTERMINATED_CLOSING_BRACE,i(),0),n=N(e,t)||h(t),t.braceNest=0,n;default:{let r=!0,o=!0,a=!0;if(v(e))return t.braceNest>0&&d(M.UNTERMINATED_CLOSING_BRACE,i(),0),n=f(t,1,D(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(4===t.currentType||5===t.currentType||6===t.currentType))return d(M.UNTERMINATED_CLOSING_BRACE,i(),0),t.braceNest=0,V(e,t);if(r=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const r=A(e.currentPeek());return e.resetPeek(),r}(e,t))return n=f(t,4,function(e){g(e);let t="",n="";for(;t=x(e);)n+=t;return e.currentChar()===X&&d(M.UNTERMINATED_CLOSING_BRACE,i(),0),n}(e)),g(e),n;if(o=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const r=function(e){if(e===X)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}(e,t))return n=f(t,5,function(e){g(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${Q(e)}`):t+=Q(e),e.currentChar()===X&&d(M.UNTERMINATED_CLOSING_BRACE,i(),0),t}(e)),g(e),n;if(a=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const r=e.currentPeek()===j;return e.resetPeek(),r}(e,t))return n=f(t,6,function(e){g(e),p(e,"'");let t="",n="";for(;t=O(e,T);)n+="\\"===t?E(e):t;const r=e.currentChar();return r===U||r===X?(d(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),r===U&&(e.next(),p(e,"'")),n):(p(e,"'"),n)}(e)),g(e),n;if(!r&&!o&&!a)return n=f(t,12,function(e){g(e);let t="",n="";for(;t=O(e,z);)n+=t;return n}(e)),d(M.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,n.value),g(e),n;break}}return n}function N(e,t){const{currentType:n}=t;let r=null;const o=e.currentChar();switch(7!==n&&8!==n&&11!==n&&9!==n||o!==U&&o!==L||d(M.INVALID_LINKED_FORMAT,i(),0),o){case"@":return e.next(),r=f(t,7,"@"),t.inLinked=!0,r;case".":return g(e),e.next(),f(t,8,".");case":":return g(e),e.next(),f(t,9,":");default:return v(e)?(r=f(t,1,D(e)),t.braceNest=0,t.inLinked=!1,r):function(e,t){const{currentType:n}=t;if(7!==n)return!1;m(e);const r="."===e.currentPeek();return e.resetPeek(),r}(e,t)||function(e,t){const{currentType:n}=t;if(7!==n&&11!==n)return!1;m(e);const r=":"===e.currentPeek();return e.resetPeek(),r}(e,t)?(g(e),N(e,t)):function(e,t){const{currentType:n}=t;if(8!==n)return!1;m(e);const r=A(e.currentPeek());return e.resetPeek(),r}(e,t)?(g(e),f(t,11,function(e){let t="",n="";for(;t=w(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(9!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?A(e.peek()):!("@"===t||"|"===t||":"===t||"."===t||t===L||!t)&&(t===U?(e.peek(),r()):y(e,!1))},o=r();return e.resetPeek(),o}(e,t)?(g(e),"{"===o?I(e,t)||r:f(t,10,function(e){const t=n=>{const r=e.currentChar();return"{"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r?r===L?n:(n+=r,e.next(),t(n)):n};return t("")}(e))):(7===n&&d(M.INVALID_LINKED_FORMAT,i(),0),t.braceNest=0,t.inLinked=!1,V(e,t))}}function V(e,t){let n={type:13};if(t.braceNest>0)return I(e,t)||h(t);if(t.inLinked)return N(e,t)||h(t);switch(e.currentChar()){case"{":return I(e,t)||h(t);case"}":return d(M.UNBALANCED_CLOSING_BRACE,i(),0),e.next(),f(t,3,"}");case"@":return N(e,t)||h(t);default:if(v(e))return n=f(t,1,D(e)),t.braceNest=0,t.inLinked=!1,n;if(y(e))return f(t,0,function(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if(n===L||n===U)if(y(e))t+=n,e.next();else{if(v(e))break;t+=n,e.next()}else t+=n,e.next()}return t}(e))}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:a}=l;return l.lastType=e,l.lastOffset=t,l.lastStartLoc=n,l.lastEndLoc=a,l.offset=o(),l.startLoc=i(),r.currentChar()===X?f(l,13):V(r,l)},currentOffset:o,currentPosition:i,context:c}}const Y="parser",G=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function K(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"<22>"}}}function J(e={}){const t=!1!==e.location,{onError:n}=e;function r(e,r,o,i,...a){const s=e.currentPosition();if(s.offset+=i,s.column+=i,n){const e=R(r,t?$(o,s):null,{domain:Y,args:a});n(e)}}function o(e,n,r){const o={type:e};return t&&(o.start=n,o.end=n,o.loc={start:r,end:r}),o}function i(e,n,r,o){t&&(e.end=n,e.loc&&(e.loc.end=r))}function a(e,t){const n=e.context(),r=o(3,n.offset,n.startLoc);return r.value=t,i(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,s=o(5,r,a);return s.index=parseInt(t,10),e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function l(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,s=o(4,r,a);return s.key=t,e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function c(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,s=o(9,r,a);return s.value=t.replace(G,K),e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function u(e){const t=e.context(),n=o(6,t.offset,t.startLoc);let a=e.nextToken();if(8===a.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:a,lastStartLoc:s}=n,l=o(8,a,s);return 11!==t.type?(r(e,M.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),l.value="",i(l,a,s),{nextConsumeToken:t,node:l}):(null==t.value&&r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,ee(t)),l.value=t.value||"",i(l,e.currentOffset(),e.currentPosition()),{node:l})}(e);n.modifier=t.node,a=t.nextConsumeToken||e.nextToken()}switch(9!==a.type&&r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ee(a)),a=e.nextToken(),2===a.type&&(a=e.nextToken()),a.type){case 10:null==a.value&&r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ee(a)),n.key=function(e,t){const n=e.context(),r=o(7,n.offset,n.startLoc);return r.value=t,i(r,e.currentOffset(),e.currentPosition()),r}(e,a.value||"");break;case 4:null==a.value&&r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ee(a)),n.key=l(e,a.value||"");break;case 5:null==a.value&&r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ee(a)),n.key=s(e,a.value||"");break;case 6:null==a.value&&r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ee(a)),n.key=c(e,a.value||"");break;default:{r(e,M.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);const s=e.context(),l=o(7,s.offset,s.startLoc);return l.value="",i(l,s.offset,s.startLoc),n.key=l,i(n,s.offset,s.startLoc),{nextConsumeToken:a,node:n}}}return i(n,e.currentOffset(),e.currentPosition()),{node:n}}function d(e){const t=e.context(),n=o(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let d=null;do{const o=d||e.nextToken();switch(d=null,o.type){case 0:null==o.value&&r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ee(o)),n.items.push(a(e,o.value||""));break;case 5:null==o.value&&r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ee(o)),n.items.push(s(e,o.value||""));break;case 4:null==o.value&&r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ee(o)),n.items.push(l(e,o.value||""));break;case 6:null==o.value&&r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ee(o)),n.items.push(c(e,o.value||""));break;case 7:{const t=u(e);n.items.push(t.node),d=t.nextConsumeToken||null;break}}}while(13!==t.currentType&&1!==t.currentType);return i(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}return{parse:function(n){const a=Z(n,p({},e)),s=a.context(),l=o(0,s.offset,s.startLoc);return t&&l.loc&&(l.loc.source=n),l.body=function(e){const t=e.context(),{offset:n,startLoc:a}=t,s=d(e);return 13===t.currentType?s:function(e,t,n,a){const s=e.context();let l=0===a.items.length;const c=o(1,t,n);c.cases=[],c.cases.push(a);do{const t=d(e);l||(l=0===t.items.length),c.cases.push(t)}while(13!==s.currentType);return l&&r(e,M.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),i(c,e.currentOffset(),e.currentPosition()),c}(e,n,a,s)}(a),e.onCacheKey&&(l.cacheKey=e.onCacheKey(n)),13!==s.currentType&&r(a,M.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,0,n[s.offset]||""),i(l,a.currentOffset(),a.currentPosition()),l}}}function ee(e){if(13===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function te(e,t){for(let n=0;n<e.length;n++)ne(e[n],t)}function ne(e,t){switch(e.type){case 1:te(e.cases,t),t.helper("plural");break;case 2:te(e.items,t);break;case 6:ne(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named")}}function re(e){if(1===e.items.length){const t=e.items[0];3!==t.type&&9!==t.type||(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(3!==r.type&&9!==r.type)break;if(null==r.value)break;t.push(r.value)}if(t.length===e.items.length){e.static=Q(t);for(let t=0;t<e.items.length;t++){const n=e.items[t];3!==n.type&&9!==n.type||delete n.value}}}}const oe="minifier";function ie(e){switch(e.t=e.type,e.type){case 0:{const t=e;ie(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let e=0;e<n.length;e++)ie(n[e]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let e=0;e<n.length;e++)ie(n[e]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;ie(t.key),t.k=t.key,delete t.key,t.modifier&&(ie(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw R(M.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:oe,args:[e.type]})}delete e.type}function ae(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?ae(e,t.body):e.push("null")}(e,t);break;case 1:!function(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let n=0;n<o&&(ae(e,t.cases[n]),n!==o-1);n++)e.push(", ");e.deindent(r()),e.push("])")}}(e,t);break;case 2:!function(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let n=0;n<o&&(ae(e,t.items[n]),n!==o-1);n++)e.push(", ");e.deindent(r()),e.push("])")}(e,t);break;case 6:!function(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ae(e,t.key),t.modifier?(e.push(", "),ae(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}(e,t);break;case 8:case 7:case 9:case 3:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;default:throw R(M.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:"parser",args:[t.type]})}}const se=(e,t={})=>{const n=w(t.mode)?t.mode:"normal",r=w(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,i=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",a=t.needIndent?t.needIndent:"arrow"!==n,s=e.helpers||[],l=function(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:i}=t,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:i,indentLevel:0};function s(e,t){a.code+=e}function l(e,t=!0){const n=t?o:"";s(i?n+" ".repeat(e):n)}return!1!==t.location&&e.loc&&(a.source=e.loc.source),{context:()=>a,push:s,indent:function(e=!0){const t=++a.indentLevel;e&&l(t)},deindent:function(e=!0){const t=--a.indentLevel;e&&l(t)},newline:function(){l(a.indentLevel)},helper:e=>`_${e}`,needIndent:()=>a.needIndent}}(e,{mode:n,filename:r,sourceMap:o,breakLineCode:i,needIndent:a});l.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${Q(s.map((e=>`${e}: _${e}`)),", ")} } = ctx`),l.newline()),l.push("return "),ae(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function le(e,t={}){const n=p({},t),r=!!n.jit,o=!!n.minify,i=null==n.optimize||n.optimize,a=J(n).parse(e);return r?(i&&function(e){const t=e.body;2===t.type?re(t):t.cases.forEach((e=>re(e)))}(a),o&&ie(a),{ast:a,code:""}):(function(e){const t=function(e){const t={ast:e,helpers:new Set};return{context:()=>t,helper:e=>(t.helpers.add(e),e)}}(e);t.helper("normalize"),e.body&&ne(e.body,t);const n=t.context();e.helpers=Array.from(n.helpers)}(a,n),se(a,n))}function ce(e){return t=>function(e,t){const n=be(t,ue);if(null==n)throw we(0);if(1===Ae(n)){const t=function(e){return be(e,de,[])}(n);return e.plural(t.reduce(((t,n)=>[...t,fe(e,n)]),[]))}return fe(e,n)}(t,e)}const ue=["b","body"],de=["c","cases"];function fe(e,t){const n=function(e){return be(e,he)}(t);if(null!=n)return"text"===e.type?n:e.normalize([n]);{const n=function(e){return be(e,pe,[])}(t).reduce(((t,n)=>[...t,me(e,n)]),[]);return e.normalize(n)}}const he=["s","static"],pe=["i","items"];function me(e,t){const n=Ae(t);switch(n){case 3:case 9:case 7:case 8:return function(e,t){const n=be(e,ve);if(n)return n;throw we(t)}(t,n);case 4:{const r=t;if(y(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(y(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw we(n)}case 5:{const r=t;if(y(r,"i")&&u(r.i))return e.interpolate(e.list(r.i));if(y(r,"index")&&u(r.index))return e.interpolate(e.list(r.index));throw we(n)}case 6:{const n=t,r=function(e){return be(e,ye)}(n),o=function(e){const t=be(e,Oe);if(t)return t;throw we(6)}(n);return e.linked(me(e,o),r?me(e,r):void 0,e.type)}default:throw new Error(`unhandled node on format message part: ${n}`)}}const ge=["t","type"];function Ae(e){return be(e,ge)}const ve=["v","value"];const ye=["m","modifier"],Oe=["k","key"];function be(e,t,n){for(let n=0;n<t.length;n++){const r=t[n];if(y(e,r)&&null!=e[r])return e[r]}return n}function we(e){return new Error(`unhandled node type: ${e}`)}const _e="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.",xe=e=>e;let Se=g();function ke(){Se=g()}function Ce(e){return x(e)&&0===Ae(e)&&(y(e,"b")||y(e,"body"))}function Be(e,t){if(w(e)){const n=!_(t.warnHtmlMessage)||t.warnHtmlMessage;!function(e,t){t&&N(e)&&E(s(_e,{source:e}))}(e,n);const r=(t.onCacheKey||xe)(e),o=Se[r];if(o)return o;const{ast:i,detectError:a}=function(e,t={}){let n=!1;const r=t.onError||D;return t.onError=e=>{n=!0,r(e)},{...le(e,t),detectError:n}}(e,{...t,location:!0,jit:!0}),l=ce(i);return a?l:Se[r]=l}{if(!Ce(e))return E(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){return Se[n]||(Se[n]=ce(e))}return ce(e)}}let Qe=null;function Te(e){Qe=e}function Ee(){return Qe}function Pe(e,t,n){Qe&&Qe.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const $e=Me("function:translate");function Me(e){return t=>Qe&&Qe.emit(e,t)}const ze={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Re=24;function De(e){return R(e,null,{messages:Ie})}const Ie={[ze.INVALID_ARGUMENT]:"Invalid arguments",[ze.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ze.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ze.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[ze.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[ze.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[ze.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Ne(e,t){return null!=t.locale?Ve(t.locale):Ve(e.locale)}let Le;function Ve(e){if(w(e))return e;if(b(e)){if(e.resolvedOnce&&null!=Le)return Le;if("Function"===e.constructor.name){const t=e();if(S(t))throw De(ze.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Le=t}throw De(ze.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw De(ze.NOT_SUPPORT_LOCALE_TYPE)}function Ue(e,t,n){return[...new Set([n,...O(t)?t:x(t)?Object.keys(t):w(t)?[t]:[n]])]}function Fe(e,t,n){const r=w(n)?n:at,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let e=[n];for(;O(e);)e=He(i,e,t);const a=O(t)||!B(t)?t:t.default?t.default:null;e=w(a)?[a]:a,O(e)&&He(i,e,!1),o.__localeChainCache.set(r,i)}return i}function He(e,t,n){let r=!0;for(let o=0;o<t.length&&_(r);o++){const i=t[o];w(i)&&(r=We(e,t[o],n))}return r}function We(e,t,n){let r;const o=t.split("-");do{r=Xe(e,o.join("-"),n),o.splice(-1,1)}while(o.length&&!0===r);return r}function Xe(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r="!"!==t[t.length-1];const o=t.replace(/!/g,"");e.push(o),(O(n)||B(n))&&n[o]&&(r=n[o])}return r}const je=[];je[0]={w:[0],i:[3,0],"[":[4],o:[7]},je[1]={w:[1],".":[2],"[":[4],o:[7]},je[2]={w:[2],i:[3,0],0:[3,0]},je[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},je[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},je[5]={"'":[4,0],o:8,l:[5,0]},je[6]={'"':[4,0],o:8,l:[6,0]};const qe=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ze(e){if(null==e)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Ye(e){const t=[];let n,r,o,i,a,s,l,c=-1,u=0,d=0;const f=[];function h(){const t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,o="\\"+t,f[0](),!0}for(f[0]=()=>{void 0===r?r=o:r+=o},f[1]=()=>{void 0!==r&&(t.push(r),r=void 0)},f[2]=()=>{f[0](),d++},f[3]=()=>{if(d>0)d--,u=4,f[0]();else{if(d=0,void 0===r)return!1;if(r=function(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,qe.test(n)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var n}(r),!1===r)return!1;f[1]()}};null!==u;)if(c++,n=e[c],"\\"!==n||!h()){if(i=Ze(n),l=je[u],a=l[i]||l.l||8,8===a)return;if(u=a[0],void 0!==a[1]&&(s=f[a[1]],s&&(o=n,!1===s())))return;if(7===u)return t}}const Ge=new Map;function Ke(e,t){return x(e)?e[t]:null}function Je(e,t){if(!x(e))return null;let n=Ge.get(t);if(n||(n=Ye(t),n&&Ge.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i<r;){const e=o[n[i]];if(void 0===e)return null;if(b(o))return null;o=e,i++}return o}const et={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},tt=8,nt={[et.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[et.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[et.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[et.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[et.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[et.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[et.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function rt(e,...t){return s(nt[e],...t)}const ot="10.0.6",it=-1,at="en-US",st="",lt=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let ct,ut,dt;function ft(e){ct=e}function ht(e){ut=e}function pt(e){dt=e}let mt=null;const gt=e=>{mt=e},At=()=>mt;let vt=null;const yt=e=>{vt=e},Ot=()=>vt;let bt=0;function wt(e={}){const t=b(e.onWarn)?e.onWarn:E,n=w(e.version)?e.version:ot,r=w(e.locale)||b(e.locale)?e.locale:at,o=b(r)?at:r,i=O(e.fallbackLocale)||B(e.fallbackLocale)||w(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:o,a=B(e.messages)?e.messages:_t(o),s=B(e.datetimeFormats)?e.datetimeFormats:_t(o),l=B(e.numberFormats)?e.numberFormats:_t(o),c=p(g(),e.modifiers,{upper:(e,t)=>"text"===t&&w(e)?e.toUpperCase():"vnode"===t&&x(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&w(e)?e.toLowerCase():"vnode"===t&&x(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&w(e)?lt(e):"vnode"===t&&x(e)&&"__v_isVNode"in e?lt(e.children):e}),u=e.pluralRules||g(),d=b(e.missing)?e.missing:null,h=!_(e.missingWarn)&&!f(e.missingWarn)||e.missingWarn,m=!_(e.fallbackWarn)&&!f(e.fallbackWarn)||e.fallbackWarn,A=!!e.fallbackFormat,v=!!e.unresolving,y=b(e.postTranslation)?e.postTranslation:null,S=B(e.processor)?e.processor:null,k=!_(e.warnHtmlMessage)||e.warnHtmlMessage,C=!!e.escapeParameter,Q=b(e.messageCompiler)?e.messageCompiler:ct;var T;b(e.messageCompiler)&&(T=rt(et.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER),P[T]||(P[T]=!0,E(T)));const $=b(e.messageResolver)?e.messageResolver:ut||Ke,M=b(e.localeFallbacker)?e.localeFallbacker:dt||Ue,z=x(e.fallbackContext)?e.fallbackContext:void 0,R=e,D=x(R.__datetimeFormatters)?R.__datetimeFormatters:new Map,I=x(R.__numberFormatters)?R.__numberFormatters:new Map,N=x(R.__meta)?R.__meta:{};bt++;const L={version:n,cid:bt,locale:r,fallbackLocale:i,messages:a,modifiers:c,pluralRules:u,missing:d,missingWarn:h,fallbackWarn:m,fallbackFormat:A,unresolving:v,postTranslation:y,processor:S,warnHtmlMessage:k,escapeParameter:C,messageCompiler:Q,messageResolver:$,localeFallbacker:M,fallbackContext:z,onWarn:t,__meta:N};return L.datetimeFormats=s,L.numberFormats=l,L.__datetimeFormatters=D,L.__numberFormatters=I,L.__v_emitter=null!=R.__v_emitter?R.__v_emitter:void 0,Pe(L,n,N),L}const _t=e=>({[e]:g()});function xt(e,t){return e instanceof RegExp?e.test(t):e}function St(e,t){return e instanceof RegExp?e.test(t):e}function kt(e,t,n,r,o){const{missing:i,onWarn:a}=e;{const r=e.__v_emitter;r&&r.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(null!==i){const r=i(e,n,t,o);return w(r)?r:t}return St(r,t)&&a(rt(et.NOT_FOUND_KEY,{key:t,locale:n})),t}function Ct(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Bt(e,t){return e!==t&&e.split("-")[0]===t.split("-")[0]}function Qt(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let r=n+1;r<t.length;r++)if(Bt(e,t[r]))return!0;return!1}const Tt="undefined"!=typeof Intl,Et={dateTimeFormat:Tt&&void 0!==Intl.DateTimeFormat,numberFormat:Tt&&void 0!==Intl.NumberFormat};function Pt(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e;if(!Et.dateTimeFormat)return i(rt(et.CANNOT_FORMAT_DATE)),st;const[l,c,u,d]=Mt(...t),f=_(u.missingWarn)?u.missingWarn:e.missingWarn,m=_(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,g=!!u.part,A=Ne(e,u),v=a(e,o,A);if(!w(l)||""===l)return new Intl.DateTimeFormat(A,d).format(c);let y,O={},b=null,x=A,S=null;const k="datetime format";for(let t=0;t<v.length;t++){if(y=S=v[t],A!==y&&xt(m,l)&&i(rt(et.FALLBACK_TO_DATE_FORMAT,{key:l,target:y})),A!==y){const t=e.__v_emitter;t&&t.emit("fallback",{type:k,key:l,from:x,to:S,groupId:`${k}:${l}`})}if(O=n[y]||{},b=O[l],B(b))break;kt(e,l,y,f,k),x=S}if(!B(b)||!w(y))return r?it:l;let C=`${y}__${l}`;h(d)||(C=`${C}__${JSON.stringify(d)}`);let Q=s.get(C);return Q||(Q=new Intl.DateTimeFormat(y,p({},b,d)),s.set(C,Q)),g?Q.formatToParts(c):Q.format(c)}const $t=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Mt(...e){const[t,n,r,o]=e,i=g();let a,s=g();if(w(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw De(ze.INVALID_ISO_DATE_ARGUMENT);const n=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();a=new Date(n);try{a.toISOString()}catch{throw De(ze.INVALID_ISO_DATE_ARGUMENT)}}else if(d(t)){if(isNaN(t.getTime()))throw De(ze.INVALID_DATE_ARGUMENT);a=t}else{if(!u(t))throw De(ze.INVALID_ARGUMENT);a=t}return w(n)?i.key=n:B(n)&&Object.keys(n).forEach((e=>{$t.includes(e)?s[e]=n[e]:i[e]=n[e]})),w(r)?i.locale=r:B(r)&&(s=r),B(o)&&(s=o),[i.key||"",a,i,s]}function zt(e,t,n){const r=e;for(const e in n){const n=`${t}__${e}`;r.__datetimeFormatters.has(n)&&r.__datetimeFormatters.delete(n)}}function Rt(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e;if(!Et.numberFormat)return i(rt(et.CANNOT_FORMAT_NUMBER)),st;const[l,c,u,d]=It(...t),f=_(u.missingWarn)?u.missingWarn:e.missingWarn,m=_(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,g=!!u.part,A=Ne(e,u),v=a(e,o,A);if(!w(l)||""===l)return new Intl.NumberFormat(A,d).format(c);let y,O={},b=null,x=A,S=null;const k="number format";for(let t=0;t<v.length;t++){if(y=S=v[t],A!==y&&xt(m,l)&&i(rt(et.FALLBACK_TO_NUMBER_FORMAT,{key:l,target:y})),A!==y){const t=e.__v_emitter;t&&t.emit("fallback",{type:k,key:l,from:x,to:S,groupId:`${k}:${l}`})}if(O=n[y]||{},b=O[l],B(b))break;kt(e,l,y,f,k),x=S}if(!B(b)||!w(y))return r?it:l;let C=`${y}__${l}`;h(d)||(C=`${C}__${JSON.stringify(d)}`);let Q=s.get(C);return Q||(Q=new Intl.NumberFormat(y,p({},b,d)),s.set(C,Q)),g?Q.formatToParts(c):Q.format(c)}const Dt=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function It(...e){const[t,n,r,o]=e,i=g();let a=g();if(!u(t))throw De(ze.INVALID_ARGUMENT);const s=t;return w(n)?i.key=n:B(n)&&Object.keys(n).forEach((e=>{Dt.includes(e)?a[e]=n[e]:i[e]=n[e]})),w(r)?i.locale=r:B(r)&&(a=r),B(o)&&(a=o),[i.key||"",s,i,a]}function Nt(e,t,n){const r=e;for(const e in n){const n=`${t}__${e}`;r.__numberFormatters.has(n)&&r.__numberFormatters.delete(n)}}const Lt=e=>e,Vt=e=>"",Ut="text",Ft=e=>0===e.length?"":Q(e),Ht=e=>null==e?"":O(e)||B(e)&&e.toString===k?JSON.stringify(e,null,2):String(e);function Wt(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function Xt(e={}){const t=e.locale,n=function(e){const t=u(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(u(e.named.count)||u(e.named.n))?u(e.named.count)?e.named.count:u(e.named.n)?e.named.n:t:t}(e),r=x(e.pluralRules)&&w(t)&&b(e.pluralRules[t])?e.pluralRules[t]:Wt,o=x(e.pluralRules)&&w(t)&&b(e.pluralRules[t])?Wt:void 0,i=e.list||[],a=e.named||g();function s(t,n){return(b(e.messages)?e.messages(t,!!n):!!x(e.messages)&&e.messages[t])||(e.parent?e.parent.message(t):Vt)}u(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,a);const l=B(e.processor)&&b(e.processor.normalize)?e.processor.normalize:Ft,c=B(e.processor)&&b(e.processor.interpolate)?e.processor.interpolate:Ht,d={list:e=>i[e],named:e=>a[e],plural:e=>e[r(n,e.length,o)],linked:(t,...n)=>{const[r,o]=n;let i="text",a="";1===n.length?x(r)?(a=r.modifier||a,i=r.type||i):w(r)&&(a=r||a):2===n.length&&(w(r)&&(a=r||a),w(o)&&(i=o||i));const l=s(t,!0)(d),c="vnode"===i&&O(l)&&a?l[0]:l;return a?(u=a,e.modifiers?e.modifiers[u]:Lt)(c,i):c;var u},message:s,type:B(e.processor)&&w(e.processor.type)?e.processor.type:Ut,interpolate:c,normalize:l,values:p(g(),i,a)};return d}const jt=()=>"",qt=e=>b(e);function Zt(e,...t){const{fallbackFormat:n,postTranslation:a,unresolving:s,messageCompiler:l,fallbackLocale:c,messages:d}=e,[f,h]=Kt(...t),m=_(h.missingWarn)?h.missingWarn:e.missingWarn,v=_(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,y=_(h.escapeParameter)?h.escapeParameter:e.escapeParameter,S=!!h.resolvedMessage,k=w(h.default)||_(h.default)?_(h.default)?l?f:()=>f:h.default:n?l?f:()=>f:null,C=n||null!=k&&(w(k)||b(k)),B=Ne(e,h);y&&function(e){O(e.list)?e.list=e.list.map((e=>w(e)?A(e):e)):x(e.named)&&Object.keys(e.named).forEach((t=>{w(e.named[t])&&(e.named[t]=A(e.named[t]))}))}(h);let[Q,T,P]=S?[f,B,d[B]||g()]:Yt(e,f,B,c,v,m),$=Q,M=f;if(S||w($)||Ce($)||qt($)||C&&($=k,M=$),!(S||(w($)||Ce($)||qt($))&&w(T)))return s?it:f;if(w($)&&null==e.messageCompiler)return E(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${f}'.`),f;let z=!1;const R=qt($)?$:Gt(e,f,T,$,M,(()=>{z=!0}));if(z)return $;const D=function(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:a,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,f={locale:t,modifiers:o,pluralRules:i,messages:(r,o)=>{let i=a(n,r);if(null==i&&(d||o)){const[,,n]=Yt(d||e,r,t,s,l,c);i=a(n,r)}if(w(i)||Ce(i)){let n=!1;const o=Gt(e,r,t,i,r,(()=>{n=!0}));return n?jt:o}return qt(i)?i:jt}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),u(r.plural)&&(f.pluralIndex=r.plural),f}(e,T,P,h),I=function(e,t,n){let a,s,l=null;r&&(l=window.performance.now(),a="intlify-message-evaluation-start",s="intlify-message-evaluation-end",o&&o(a));const c=t(n);if(r){const n=window.performance.now(),r=e.__v_emitter;r&&l&&r.emit("message-evaluation",{type:"message-evaluation",value:c,time:n-l,groupId:`translate:${t.key}`}),a&&s&&o&&i&&(o(s),i("intlify message evaluation",a,s))}return c}(e,R,Xt(D)),N=a?a(I,f):I;{const t={timestamp:Date.now(),key:w(f)?f:qt($)?$.key:"",locale:T||(qt($)?$.locale:""),format:w($)?$:qt($)?$.source:"",message:N};t.meta=p({},e.__meta,At()||{}),$e(t)}return N}function Yt(e,t,n,a,s,l){const{messages:c,onWarn:u,messageResolver:d,localeFallbacker:f}=e,h=f(e,a,n);let p,m=g(),A=null,v=n,y=null;const O="translate";for(let a=0;a<h.length;a++){if(p=y=h[a],n!==p&&!Bt(n,p)&&xt(s,t)&&u(rt(et.FALLBACK_TO_TRANSLATE,{key:t,target:p})),n!==p){const n=e.__v_emitter;n&&n.emit("fallback",{type:O,key:t,from:v,to:y,groupId:`${O}:${t}`})}m=c[p]||g();let f,b,_=null;if(r&&(_=window.performance.now(),f="intlify-message-resolve-start",b="intlify-message-resolve-end",o&&o(f)),null===(A=d(m,t))&&(A=m[t]),r){const n=window.performance.now(),r=e.__v_emitter;r&&_&&A&&r.emit("message-resolve",{type:"message-resolve",key:t,message:A,time:n-_,groupId:`${O}:${t}`}),f&&b&&o&&i&&(o(b),i("intlify message resolve",f,b))}if(w(A)||Ce(A)||qt(A))break;if(!Qt(p,h)){const n=kt(e,t,p,l,O);n!==t&&(A=n)}v=y}return[A,p,m]}function Gt(e,t,n,a,s,c){const{messageCompiler:u,warnHtmlMessage:d}=e;if(qt(a)){const e=a;return e.locale=e.locale||n,e.key=e.key||t,e}if(null==u){const e=()=>a;return e.locale=n,e.key=t,e}let f,h,p=null;r&&(p=window.performance.now(),f="intlify-message-compilation-start",h="intlify-message-compilation-end",o&&o(f));const m=u(a,function(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:t=>{i&&i(t);{const o=function(e){return w(e)?e:e.loc&&e.loc.source?e.loc.source:void 0}(r),i=`Message compilation error: ${t.message}`,a=t.location&&o&&function(e,t=0,n=e.length){const r=e.split(/\r?\n/);let o=0;const i=[];for(let e=0;e<r.length;e++)if(o+=r[e].length+1,o>=t){for(let a=e-T;a<=e+T||n>o;a++){if(a<0||a>=r.length)continue;const s=a+1;i.push(`${s}${" ".repeat(3-String(s).length)}| ${r[a]}`);const l=r[a].length;if(a===e){const e=t-(o-l)+1,r=Math.max(1,n>o?l-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(a>e){if(n>o){const e=Math.max(Math.min(n-o,l),1);i.push(" | "+"^".repeat(e))}o+=l+1}}break}return i.join("\n")}(o,t.location.start.offset,t.location.end.offset),s=e.__v_emitter;s&&o&&s.emit("compile-error",{message:o,error:t.message,start:t.location&&t.location.start.offset,end:t.location&&t.location.end.offset,groupId:`translate:${n}`}),console.error(a?`${i}\n${a}`:i)}},onCacheKey:e=>l(t,n,e)}}(e,n,s,a,d,c));if(r){const n=window.performance.now(),r=e.__v_emitter;r&&p&&r.emit("message-compilation",{type:"message-compilation",message:a,time:n-p,groupId:`translate:${t}`}),f&&h&&o&&i&&(o(h),i("intlify message compilation",f,h))}return m.locale=n,m.key=t,m.source=a,m}function Kt(...e){const[t,n,r]=e,o=g();if(!(w(t)||u(t)||qt(t)||Ce(t)))throw De(ze.INVALID_ARGUMENT);const i=u(t)?String(t):(qt(t),t);return u(n)?o.plural=n:w(n)?o.default=n:B(n)&&!h(n)?o.named=n:O(n)&&(o.list=n),u(r)?o.plural=r:w(r)?o.default=r:B(r)&&p(o,r),[i,o]}},91181:function(e,t,n){"use strict";var r,o,i,a=n(58622),s=n(44576),l=n(20034),c=n(66699),u=n(39297),d=n(77629),f=n(66119),h=n(30421),p="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||d.state){var A=d.state||(d.state=new g);A.get=A.get,A.has=A.has,A.set=A.set,r=function(e,t){if(A.has(e))throw new m(p);return t.facade=e,A.set(e,t),t},o=function(e){return A.get(e)||{}},i=function(e){return A.has(e)}}else{var v=f("state");h[v]=!0,r=function(e,t){if(u(e,v))throw new m(p);return t.facade=e,c(e,v,t),t},o=function(e){return u(e,v)?e[v]:{}},i=function(e){return u(e,v)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}}}},91291:function(e,t,n){"use strict";var r=n(80741);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},91361:function(e,t,n){"use strict";n.d(t,{tk:function(){return h}});var r=n(61431),o=n(50819);const i=(0,o.b_)({size:{type:(0,o.jq)([Number,String])},color:{type:String}});var a=n(78396),s=n(65980),l=n(2154),c=n(76031);const u=(0,r.defineComponent)({name:"ElIcon",inheritAttrs:!1}),d=(0,r.defineComponent)({...u,props:i,setup(e){const t=e,n=(0,s.DU)("icon"),o=(0,r.computed)((()=>{const{size:e,color:n}=t;return e||n?{fontSize:(0,l.b0)(e)?void 0:(0,c._V)(e),"--color":n}:{}}));return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("i",(0,r.mergeProps)({class:(0,r.unref)(n).b(),style:(0,r.unref)(o)},e.$attrs),[(0,r.renderSlot)(e.$slots,"default")],16))}});var f=(0,a.A)(d,[["__file","icon.vue"]]);const h=(0,n(64769).GU)(f)},91694:function(e,t,n){n(57235)},91852:function(e,t,n){var r=n(53848),o=n(79135),i=n(35657),a=n(17186);e.exports=function(e,t){return function(n,s){var l,c,u={},d=[],f=this,h=arguments,p=h.length;if(!r(s)){for(c=1;c<p;c++)l=h[c],d.push.apply(d,o(l)?l:[l]);s=0}return i(n,(function(r,o){((s?s.call(f,r,o,n):a(d,(function(e){return e===o}))>-1)?e:t)&&(u[o]=r)})),u}}},91944:function(e,t,n){var r=n(75526)("Error");e.exports=r},92049:function(e,t){"use strict";var n=Array.isArray;t.A=n},92126:function(e,t,n){var r=n(63982),o=n(19042),i=n(61968),a=n(69821),s=/(.+)?\[(\d+)\]$/;function l(e,t,n,o,i){if(!e[t]){var a,l,c=t?t.match(s):null;if(n)l=i;else{var u=o?o.match(s):null;l=u&&!u[1]?new Array(r(u[2])+1):{}}return c?c[1]?(a=r(c[2]),e[c[1]]?n?e[c[1]][a]=l:e[c[1]][a]?l=e[c[1]][a]:e[c[1]][a]=l:(e[c[1]]=new Array(a+1),e[c[1]][a]=l)):e[c[2]]=l:e[t]=l,l}return n&&(e[t]=i),e[t]}function c(e){return"__proto__"===e||"constructor"===e||"prototype"===e}e.exports=function(e,t,n){if(e&&i(t))if(!e[t]&&!a(e,t)||c(t)){for(var r=e,s=o(t),u=s.length,d=0;d<u;d++)if(!c(s[d])){var f=d===u-1;r=l(r,s[d],f,f?null:s[d+1],n)}}else e[t]=n;return e}},92140:function(e,t,n){"use strict";var r={};r[n(78227)("toStringTag")]="z",e.exports="[object z]"===String(r)},92238:function(e,t,n){var r=n(49840)("entries",2);e.exports=r},92360:function(e){e.exports=function(e){return function(t){if(t){var n=e(t&&t.replace?t.replace(/,/g,""):t);if(!isNaN(n))return n}return 0}}},92621:function(e,t,n){"use strict";n.d(t,{QK:function(){return P},YI:function(){return E},eR:function(){return z},lB:function(){return B},rv:function(){return R}});var r=n(26346),o=n(5070),i=n(39195),a=n(68717),s=n(41589),l=n(89259),c=n(98026),u=n(45587),d=n(83509),f=n(34833),h=2*Math.PI,p=a.A.CMD,m=["top","right","bottom","left"];function g(e,t,n,r,o){var i=n.width,a=n.height;switch(e){case"top":r.set(n.x+i/2,n.y-t),o.set(0,-1);break;case"bottom":r.set(n.x+i/2,n.y+a+t),o.set(0,1);break;case"left":r.set(n.x-t,n.y+a/2),o.set(-1,0);break;case"right":r.set(n.x+i+t,n.y+a/2),o.set(1,0)}}function A(e,t,n,r,o,i,a,l,c){a-=e,l-=t;var u=Math.sqrt(a*a+l*l),d=(a/=u)*n+e,f=(l/=u)*n+t;if(Math.abs(r-o)%h<1e-4)return c[0]=d,c[1]=f,u-n;if(i){var p=r;r=(0,s.n)(o),o=(0,s.n)(p)}else r=(0,s.n)(r),o=(0,s.n)(o);r>o&&(o+=h);var m=Math.atan2(l,a);if(m<0&&(m+=h),m>=r&&m<=o||m+h>=r&&m+h<=o)return c[0]=d,c[1]=f,u-n;var g=n*Math.cos(r)+e,A=n*Math.sin(r)+t,v=n*Math.cos(o)+e,y=n*Math.sin(o)+t,O=(g-a)*(g-a)+(A-l)*(A-l),b=(v-a)*(v-a)+(y-l)*(y-l);return O<b?(c[0]=g,c[1]=A,Math.sqrt(O)):(c[0]=v,c[1]=y,Math.sqrt(b))}function v(e,t,n,r,o,i,a,s){var l=o-e,c=i-t,u=n-e,d=r-t,f=Math.sqrt(u*u+d*d),h=(l*(u/=f)+c*(d/=f))/f;s&&(h=Math.min(Math.max(h,0),1)),h*=f;var p=a[0]=e+h*u,m=a[1]=t+h*d;return Math.sqrt((p-o)*(p-o)+(m-i)*(m-i))}function y(e,t,n,r,o,i,a){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r);var s=e+n,l=t+r,c=a[0]=Math.min(Math.max(o,e),s),u=a[1]=Math.min(Math.max(i,t),l);return Math.sqrt((c-o)*(c-o)+(u-i)*(u-i))}var O=[];function b(e,t,n){var r=y(t.x,t.y,t.width,t.height,e.x,e.y,O);return n.set(O[0],O[1]),r}function w(e,t,n){for(var r,o,i=0,a=0,s=0,c=0,u=1/0,d=t.data,f=e.x,h=e.y,m=0;m<d.length;){var g=d[m++];1===m&&(s=i=d[m],c=a=d[m+1]);var b=u;switch(g){case p.M:i=s=d[m++],a=c=d[m++];break;case p.L:b=v(i,a,d[m],d[m+1],f,h,O,!0),i=d[m++],a=d[m++];break;case p.C:b=(0,l.Et)(i,a,d[m++],d[m++],d[m++],d[m++],d[m],d[m+1],f,h,O),i=d[m++],a=d[m++];break;case p.Q:b=(0,l.kh)(i,a,d[m++],d[m++],d[m],d[m+1],f,h,O),i=d[m++],a=d[m++];break;case p.A:var w=d[m++],_=d[m++],x=d[m++],S=d[m++],k=d[m++],C=d[m++];m+=1;var B=!!(1-d[m++]);r=Math.cos(k)*x+w,o=Math.sin(k)*S+_,m<=1&&(s=r,c=o),b=A(w,_,S,k,k+C,B,(f-w)*S/x+w,h,O),i=Math.cos(k+C)*x+w,a=Math.sin(k+C)*S+_;break;case p.R:b=y(s=i=d[m++],c=a=d[m++],d[m++],d[m++],f,h,O);break;case p.Z:b=v(i,a,s,c,f,h,O,!0),i=s,a=c}b<u&&(u=b,n.set(O[0],O[1]))}return u}var _=new r.A,x=new r.A,S=new r.A,k=new r.A,C=new r.A;function B(e,t){if(e){var n=e.getTextGuideLine(),i=e.getTextContent();if(i&&n){var a=e.textGuideLineConfig||{},s=[[0,0],[0,0],[0,0]],l=a.candidates||m,c=i.getBoundingRect().clone();c.applyTransform(i.getComputedTransform());var d=1/0,f=a.anchor,h=e.getComputedTransform(),p=h&&(0,u.invert)([],h),A=t.get("length2")||0;f&&S.copy(f);for(var v=0;v<l.length;v++){g(l[v],0,c,_,k),r.A.scaleAndAdd(x,_,k,A),x.transform(p);var y=e.getBoundingRect(),O=f?f.distance(x):e instanceof o.Ay?w(x,e.path,S):b(x,y,S);O<d&&(d=O,x.transform(h),S.transform(h),S.toArray(s[0]),x.toArray(s[1]),_.toArray(s[2]))}E(s,t.get("minTurnAngle")),n.setShape({points:s})}}}var Q=[],T=new r.A;function E(e,t){if(t<=180&&t>0){t=t/180*Math.PI,_.fromArray(e[0]),x.fromArray(e[1]),S.fromArray(e[2]),r.A.sub(k,_,x),r.A.sub(C,S,x);var n=k.len(),o=C.len();if(!(n<.001||o<.001)){k.scale(1/n),C.scale(1/o);var i=k.dot(C);if(Math.cos(t)<i){var a=v(x.x,x.y,S.x,S.y,_.x,_.y,Q,!1);T.fromArray(Q),T.scaleAndAdd(C,a/Math.tan(Math.PI-t));var s=S.x!==x.x?(T.x-x.x)/(S.x-x.x):(T.y-x.y)/(S.y-x.y);if(isNaN(s))return;s<0?r.A.copy(T,x):s>1&&r.A.copy(T,S),T.toArray(e[1])}}}}function P(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,_.fromArray(e[0]),x.fromArray(e[1]),S.fromArray(e[2]),r.A.sub(k,x,_),r.A.sub(C,S,x);var o=k.len(),i=C.len();if(!(o<.001||i<.001)&&(k.scale(1/o),C.scale(1/i),k.dot(t)<Math.cos(n))){var a=v(x.x,x.y,S.x,S.y,_.x,_.y,Q,!1);T.fromArray(Q);var s=Math.PI/2,l=s+Math.acos(C.dot(t))-n;if(l>=s)r.A.copy(T,S);else{T.scaleAndAdd(C,a/Math.tan(Math.PI/2-l));var c=S.x!==x.x?(T.x-x.x)/(S.x-x.x):(T.y-x.y)/(S.y-x.y);if(isNaN(c))return;c<0?r.A.copy(T,x):c>1&&r.A.copy(T,S)}T.toArray(e[1])}}}function $(e,t,n,r){var o="normal"===n,i=o?e:e.ensureState(n);i.ignore=t;var a=r.get("smooth");a&&!0===a&&(a=.3),i.shape=i.shape||{},a>0&&(i.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();o?e.useStyle(s):i.style=s}function M(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var o=d.dist(r[0],r[1]),i=d.dist(r[1],r[2]);if(!o||!i)return e.lineTo(r[1][0],r[1][1]),void e.lineTo(r[2][0],r[2][1]);var a=Math.min(o,i)*n,s=d.lerp([],r[1],r[0],a/o),l=d.lerp([],r[1],r[2],a/i),c=d.lerp([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],c[0],c[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var u=1;u<r.length;u++)e.lineTo(r[u][0],r[u][1])}function z(e,t,n){var r=e.getTextGuideLine(),o=e.getTextContent();if(o){for(var a=t.normal,s=a.get("show"),l=o.ignore,u=0;u<f.wV.length;u++){var d=f.wV[u],h=t[d],p="normal"===d;if(h){var m=h.get("show");if((p?l:(0,c.retrieve2)(o.states[d]&&o.states[d].ignore,l))||!(0,c.retrieve2)(m,s)){var g=p?r:r&&r.states[d];g&&(g.ignore=!0),r&&$(r,!0,d,h);continue}r||(r=new i.A,e.setTextGuideLine(r),p||!l&&s||$(r,!0,"normal",t.normal),e.stateProxy&&(r.stateProxy=e.stateProxy)),$(r,!1,d,h)}}if(r){(0,c.defaults)(r.style,n),r.style.fill=null;var A=a.get("showAbove");(e.textGuideLineConfig=e.textGuideLineConfig||{}).showAbove=A||!1,r.buildPath=M}}else r&&e.removeTextGuideLine()}function R(e,t){t=t||"labelLine";for(var n={normal:e.getModel(t)},r=0;r<f.BV.length;r++){var o=f.BV[r];n[o]=e.getModel([o,t])}return n}},92796:function(e,t,n){"use strict";var r=n(79039),o=n(94901),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n===u||n!==c&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},92836:function(e,t,n){"use strict";n.d(t,{IT:function(){return h},Wx:function(){return f}});var r=n(45587),o=n(83509),i=r.identity;function a(e){return e>5e-5||e<-5e-5}var s=[],l=[],c=r.create(),u=Math.abs,d=function(){function e(){}var t;return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},e.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},e.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},e.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},e.prototype.needLocalTransform=function(){return a(this.rotation)||a(this.x)||a(this.y)||a(this.scaleX-1)||a(this.scaleY-1)||a(this.skewX)||a(this.skewY)},e.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),n=this.transform;t||e?(n=n||r.create(),t?this.getLocalTransform(n):i(n),e&&(t?r.mul(n,e,n):r.copy(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(i(n),this.invTransform=null)},e.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(null!=t&&1!==t){this.getGlobalScale(s);var n=s[0]<0?-1:1,o=s[1]<0?-1:1,i=((s[0]-n)*t+n)/s[0]||0,a=((s[1]-o)*t+o)/s[1]||0;e[0]*=i,e[1]*=i,e[2]*=a,e[3]*=a}this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,e)},e.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},e.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],r=Math.atan2(e[1],e[0]),o=Math.PI/2+r-Math.atan2(e[3],e[2]);n=Math.sqrt(n)*Math.cos(o),t=Math.sqrt(t),this.skewX=o,this.skewY=0,this.rotation=-r,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||r.create(),r.mul(l,e.invTransform,t),t=l);var n=this.originX,o=this.originY;(n||o)&&(c[4]=n,c[5]=o,r.mul(l,t,c),l[4]-=n,l[5]-=o,t=l),this.setLocalTransform(t)}},e.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},e.prototype.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&o.applyTransform(n,n,r),n},e.prototype.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&o.applyTransform(n,n,r),n},e.prototype.getLineScale=function(){var e=this.transform;return e&&u(e[0]-1)>1e-10&&u(e[3]-1)>1e-10?Math.sqrt(u(e[0]*e[3]-e[2]*e[1])):1},e.prototype.copyTransform=function(e){h(this,e)},e.getLocalTransform=function(e,t){t=t||[];var n=e.originX||0,o=e.originY||0,i=e.scaleX,a=e.scaleY,s=e.anchorX,l=e.anchorY,c=e.rotation||0,u=e.x,d=e.y,f=e.skewX?Math.tan(e.skewX):0,h=e.skewY?Math.tan(-e.skewY):0;if(n||o||s||l){var p=n+s,m=o+l;t[4]=-p*i-f*m*a,t[5]=-m*a-h*p*i}else t[4]=t[5]=0;return t[0]=i,t[3]=a,t[1]=h*i,t[2]=f*a,c&&r.rotate(t,t,c),t[4]+=n+u,t[5]+=o+d,t},e.initDefaultProps=((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,void(t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0)),e}(),f=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function h(e,t){for(var n=0;n<f.length;n++){var r=f[n];e[r]=t[r]}}t.Ay=d},93250:function(e,t,n){var r=n(82867)((function(e,t,n){for(var r=e.length-1;r>=0;r--)if(t.call(n,e[r],r,e))return r;return-1}));e.exports=r},93701:function(e,t,n){var r=n(91852)(0,1);e.exports=r},93715:function(e,t,n){n(34328)},93850:function(e){e.exports=function(e,t){try{delete e[t]}catch(n){e[t]=void 0}}},94177:function(e,t,n){"use strict";var r=n(57576);t.A=e=>{const t=void 0===(null==e?void 0:e.appendToBody)||e.appendToBody;return{toClipboard(e,n){return new Promise(((o,i)=>{const a=document.createElement("button"),s=new r(a,{text:()=>e,action:()=>"copy",container:void 0!==n?n:document.body});s.on("success",(e=>{s.destroy(),o(e)})),s.on("error",(e=>{s.destroy(),i(e)})),t&&document.body.appendChild(a),a.click(),t&&document.body.removeChild(a)}))}}}},94335:function(e,t,n){"use strict";n.d(t,{A:function(){return gt}});var r={};function o(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:function(){return ue},hasStandardBrowserEnv:function(){return fe},hasStandardBrowserWebWorkerEnv:function(){return he},navigator:function(){return de},origin:function(){return pe}});const{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,s=(l=Object.create(null),e=>{const t=i.call(e);return l[t]||(l[t]=t.slice(8,-1).toLowerCase())});var l;const c=e=>(e=e.toLowerCase(),t=>s(t)===e),u=e=>t=>typeof t===e,{isArray:d}=Array,f=u("undefined"),h=c("ArrayBuffer"),p=u("string"),m=u("function"),g=u("number"),A=e=>null!==e&&"object"==typeof e,v=e=>{if("object"!==s(e))return!1;const t=a(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},y=c("Date"),O=c("File"),b=c("Blob"),w=c("FileList"),_=c("URLSearchParams"),[x,S,k,C]=["ReadableStream","Request","Response","Headers"].map(c);function B(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),d(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Q(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const T="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,E=e=>!f(e)&&e!==T,P=($="undefined"!=typeof Uint8Array&&a(Uint8Array),e=>$&&e instanceof $);var $;const M=c("HTMLFormElement"),z=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),R=c("RegExp"),D=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};B(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},I=c("AsyncFunction"),N=(L="function"==typeof setImmediate,V=m(T.postMessage),L?setImmediate:V?(U=`axios@${Math.random()}`,F=[],T.addEventListener("message",(({source:e,data:t})=>{e===T&&t===U&&F.length&&F.shift()()}),!1),e=>{F.push(e),T.postMessage(U,"*")}):e=>setTimeout(e));var L,V,U,F;const H="undefined"!=typeof queueMicrotask?queueMicrotask.bind(T):"undefined"!=typeof process&&process.nextTick||N;var W={isArray:d,isArrayBuffer:h,isBuffer:function(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&m(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||m(e.append)&&("formdata"===(t=s(e))||"object"===t&&m(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer),t},isString:p,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:A,isPlainObject:v,isReadableStream:x,isRequest:S,isResponse:k,isHeaders:C,isUndefined:f,isDate:y,isFile:O,isBlob:b,isRegExp:R,isFunction:m,isStream:e=>A(e)&&m(e.pipe),isURLSearchParams:_,isTypedArray:P,isFileList:w,forEach:B,merge:function e(){const{caseless:t}=E(this)&&this||{},n={},r=(r,o)=>{const i=t&&Q(n,o)||o;v(n[i])&&v(r)?n[i]=e(n[i],r):v(r)?n[i]=e({},r):d(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&B(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(B(t,((t,r)=>{n&&m(t)?e[r]=o(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,s;const l={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],r&&!r(s,e,t)||l[s]||(t[s]=e[s],l[s]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:c,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!g(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:M,hasOwnProperty:z,hasOwnProp:z,reduceDescriptors:D,freezeMethods:e=>{D(e,((t,n)=>{if(m(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];m(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return d(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Q,global:T,isContextDefined:E,isSpecCompliantForm:function(e){return!!(e&&m(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(A(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=d(e)?[]:{};return B(e,((e,t)=>{const i=n(e,r+1);!f(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:I,isThenable:e=>e&&(A(e)||m(e))&&m(e.then)&&m(e.catch),setImmediate:N,asap:H};function X(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}W.inherits(X,Error,{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:W.toJSONObject(this.config),code:this.code,status:this.status}}});const j=X.prototype,q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{q[e]={value:e}})),Object.defineProperties(X,q),Object.defineProperty(j,"isAxiosError",{value:!0}),X.from=(e,t,n,r,o,i)=>{const a=Object.create(j);return W.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),X.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var Z=X;function Y(e){return W.isPlainObject(e)||W.isArray(e)}function G(e){return W.endsWith(e,"[]")?e.slice(0,-2):e}function K(e,t,n){return e?e.concat(t).map((function(e,t){return e=G(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const J=W.toFlatObject(W,{},null,(function(e){return/^is[A-Z]/.test(e)}));var ee=function(e,t,n){if(!W.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=W.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!W.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&W.isSpecCompliantForm(t);if(!W.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(W.isDate(e))return e.toISOString();if(!s&&W.isBlob(e))throw new Z("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(e)||W.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(W.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(W.isArray(e)&&function(e){return W.isArray(e)&&!e.some(Y)}(e)||(W.isFileList(e)||W.endsWith(n,"[]"))&&(s=W.toArray(e)))return n=G(n),s.forEach((function(e,r){!W.isUndefined(e)&&null!==e&&t.append(!0===a?K([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!Y(e)||(t.append(K(o,n,i),l(e)),!1)}const u=[],d=Object.assign(J,{defaultVisitor:c,convertValue:l,isVisitable:Y});if(!W.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!W.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),W.forEach(n,(function(n,i){!0===(!(W.isUndefined(n)||null===n)&&o.call(t,n,W.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t};function te(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ne(e,t){this._pairs=[],e&&ee(e,this,t)}const re=ne.prototype;re.append=function(e,t){this._pairs.push([e,t])},re.toString=function(e){const t=e?function(t){return e.call(this,t,te)}:te;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var oe=ne;function ie(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ae(e,t,n){if(!t)return e;const r=n&&n.encode||ie;W.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):W.isURLSearchParams(t)?t.toString():new oe(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}var se=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){W.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},le={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ce={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:oe,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const ue="undefined"!=typeof window&&"undefined"!=typeof document,de="object"==typeof navigator&&navigator||void 0,fe=ue&&(!de||["ReactNative","NativeScript","NS"].indexOf(de.product)<0),he="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,pe=ue&&window.location.href||"http://localhost";var me={...r,...ce},ge=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;return i=!i&&W.isArray(r)?r.length:i,s?(W.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&W.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&W.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a)}if(W.isFormData(e)&&W.isFunction(e.entries)){const n={};return W.forEachEntry(e,((e,r)=>{t(function(e){return W.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const Ae={transitional:le,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=W.isObject(e);if(o&&W.isHTMLForm(e)&&(e=new FormData(e)),W.isFormData(e))return r?JSON.stringify(ge(e)):e;if(W.isArrayBuffer(e)||W.isBuffer(e)||W.isStream(e)||W.isFile(e)||W.isBlob(e)||W.isReadableStream(e))return e;if(W.isArrayBufferView(e))return e.buffer;if(W.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ee(e,new me.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return me.isNode&&W.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=W.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ee(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e){if(W.isString(e))try{return(0,JSON.parse)(e),W.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ae.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(W.isResponse(e)||W.isReadableStream(e))return e;if(e&&W.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw Z.from(e,Z.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:me.classes.FormData,Blob:me.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],(e=>{Ae.headers[e]={}}));var ve=Ae;const ye=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Oe=Symbol("internals");function be(e){return e&&String(e).trim().toLowerCase()}function we(e){return!1===e||null==e?e:W.isArray(e)?e.map(we):String(e)}function _e(e,t,n,r,o){return W.isFunction(r)?r.call(this,t,n):(o&&(t=n),W.isString(t)?W.isString(r)?-1!==t.indexOf(r):W.isRegExp(r)?r.test(t):void 0:void 0)}class xe{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=be(t);if(!o)throw new Error("header name must be a non-empty string");const i=W.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=we(e))}const i=(e,t)=>W.forEach(e,((e,n)=>o(e,n,t)));if(W.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(W.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&ye[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(W.isHeaders(e))for(const[t,r]of e.entries())o(r,t,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=be(e)){const n=W.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(W.isFunction(t))return t.call(this,e,n);if(W.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=be(e)){const n=W.findKey(this,e);return!(!n||void 0===this[n]||t&&!_e(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=be(e)){const o=W.findKey(n,e);!o||t&&!_e(0,n[o],o,t)||(delete n[o],r=!0)}}return W.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!_e(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return W.forEach(this,((r,o)=>{const i=W.findKey(n,o);if(i)return t[i]=we(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=we(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return W.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&W.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Oe]=this[Oe]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=be(e);t[r]||(function(e,t){const n=W.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return W.isArray(e)?e.forEach(r):r(e),this}}xe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),W.reduceDescriptors(xe.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),W.freezeMethods(xe);var Se=xe;function ke(e,t){const n=this||ve,r=t||n,o=Se.from(r.headers);let i=r.data;return W.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Ce(e){return!(!e||!e.__CANCEL__)}function Be(e,t,n){Z.call(this,null==e?"canceled":e,Z.ERR_CANCELED,t,n),this.name="CanceledError"}W.inherits(Be,Z,{__CANCEL__:!0});var Qe=Be;function Te(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Z("Request failed with status code "+n.status,[Z.ERR_BAD_REQUEST,Z.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Ee=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=i?a(e,t):(n=e,r||(r=setTimeout((()=>{r=null,a(n)}),i-s)))},()=>n&&a(n)]}((n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,l=o(s);r=i,e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},Pe=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},$e=e=>(...t)=>W.asap((()=>e(...t)));var Me=me.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,me.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(me.origin),me.navigator&&/(msie|trident)/i.test(me.navigator.userAgent)):()=>!0,ze=me.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];W.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),W.isString(r)&&a.push("path="+r),W.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Re(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&r||0==n?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const De=e=>e instanceof Se?{...e}:e;function Ie(e,t){t=t||{};const n={};function r(e,t,n,r){return W.isPlainObject(e)&&W.isPlainObject(t)?W.merge.call({caseless:r},e,t):W.isPlainObject(t)?W.merge({},t):W.isArray(t)?t.slice():t}function o(e,t,n,o){return W.isUndefined(t)?W.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!W.isUndefined(t))return r(void 0,t)}function a(e,t){return W.isUndefined(t)?W.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>o(De(e),De(t),0,!0)};return W.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,a=i(e[r],t[r],r);W.isUndefined(a)&&i!==s||(n[r]=a)})),n}var Ne=e=>{const t=Ie({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=t;if(t.headers=s=Se.from(s),t.url=ae(Re(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),W.isFormData(r))if(me.hasStandardBrowserEnv||me.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(me.hasStandardBrowserEnv&&(o&&W.isFunction(o)&&(o=o(t)),o||!1!==o&&Me(t.url))){const e=i&&a&&ze.read(a);e&&s.set(i,e)}return t},Le="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Ne(e);let o=r.data;const i=Se.from(r.headers).normalize();let a,s,l,c,u,{responseType:d,onUploadProgress:f,onDownloadProgress:h}=r;function p(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=Se.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Te((function(e){t(e),p()}),(function(e){n(e),p()}),{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new Z("Request aborted",Z.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new Z("Network Error",Z.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||le;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Z(t,o.clarifyTimeoutError?Z.ETIMEDOUT:Z.ECONNABORTED,e,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&W.forEach(i.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),W.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),h&&([l,u]=Ee(h,!0),m.addEventListener("progress",l)),f&&m.upload&&([s,c]=Ee(f),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{m&&(n(!t||t.type?new Qe(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const A=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);A&&-1===me.protocols.indexOf(A)?n(new Z("Unsupported protocol "+A+":",Z.ERR_BAD_REQUEST,e)):m.send(o||null)}))},Ve=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Z?t:new Qe(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new Z(`timeout ${t} of ms exceeded`,Z.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:s}=r;return s.unsubscribe=()=>W.asap(a),s}};const Ue=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Fe=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*Ue(n,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return s(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),o.return()}},{highWaterMark:2})},He="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,We=He&&"function"==typeof ReadableStream,Xe=He&&("function"==typeof TextEncoder?(je=new TextEncoder,e=>je.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var je;const qe=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Ze=We&&qe((()=>{let e=!1;const t=new Request(me.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Ye=We&&qe((()=>W.isReadableStream(new Response("").body))),Ge={stream:Ye&&(e=>e.body)};var Ke;He&&(Ke=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Ge[e]&&(Ge[e]=W.isFunction(Ke[e])?t=>t[e]():(t,n)=>{throw new Z(`Response type '${e}' is not supported`,Z.ERR_NOT_SUPPORT,n)})})));const Je={http:null,xhr:Le,fetch:He&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=Ne(e);c=c?(c+"").toLowerCase():"text";let h,p=Ve([o,i&&i.toAbortSignal()],a);const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let g;try{if(l&&Ze&&"get"!==n&&"head"!==n&&0!==(g=await(async(e,t)=>{const n=W.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(W.isBlob(e))return e.size;if(W.isSpecCompliantForm(e)){const t=new Request(me.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return W.isArrayBufferView(e)||W.isArrayBuffer(e)?e.byteLength:(W.isURLSearchParams(e)&&(e+=""),W.isString(e)?(await Xe(e)).byteLength:void 0)})(t):n})(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(W.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=Pe(g,Ee($e(l)));r=Fe(n.body,65536,e,t)}}W.isString(d)||(d=d?"include":"omit");const o="credentials"in Request.prototype;h=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:o?d:void 0});let i=await fetch(h);const a=Ye&&("stream"===c||"response"===c);if(Ye&&(s||a&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=W.toFiniteNumber(i.headers.get("content-length")),[n,r]=s&&Pe(t,Ee($e(s),!0))||[];i=new Response(Fe(i.body,65536,n,(()=>{r&&r(),m&&m()})),e)}c=c||"text";let A=await Ge[W.findKey(Ge,c)||"text"](i,e);return!a&&m&&m(),await new Promise(((t,n)=>{Te(t,n,{data:A,headers:Se.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:h})}))}catch(t){if(m&&m(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new Z("Network Error",Z.ERR_NETWORK,e,h),{cause:t.cause||t});throw Z.from(t,t&&t.code,e,h)}})};W.forEach(Je,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const et=e=>`- ${e}`,tt=e=>W.isFunction(e)||null===e||!1===e;var nt=e=>{e=W.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!tt(n)&&(r=Je[(t=String(n)).toLowerCase()],void 0===r))throw new Z(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(et).join("\n"):" "+et(e[0]):"as no adapter specified";throw new Z("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function rt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Qe(null,e)}function ot(e){return rt(e),e.headers=Se.from(e.headers),e.data=ke.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),nt(e.adapter||ve.adapter)(e).then((function(t){return rt(e),t.data=ke.call(e,e.transformResponse,t),t.headers=Se.from(t.headers),t}),(function(t){return Ce(t)||(rt(e),t&&t.response&&(t.response.data=ke.call(e,e.transformResponse,t.response),t.response.headers=Se.from(t.response.headers))),Promise.reject(t)}))}const it={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{it[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const at={};it.transitional=function(e,t,n){function r(e,t){return"[Axios v1.8.3] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Z(r(o," has been removed"+(t?" in "+t:"")),Z.ERR_DEPRECATED);return t&&!at[o]&&(at[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},it.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var st={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Z("options must be an object",Z.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new Z("option "+i+" must be "+n,Z.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Z("Unknown option "+i,Z.ERR_BAD_OPTION)}},validators:it};const lt=st.validators;class ct{constructor(e){this.defaults=e,this.interceptors={request:new se,response:new se}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ie(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&st.assertOptions(n,{silentJSONParsing:lt.transitional(lt.boolean),forcedJSONParsing:lt.transitional(lt.boolean),clarifyTimeoutError:lt.transitional(lt.boolean)},!1),null!=r&&(W.isFunction(r)?t.paramsSerializer={serialize:r}:st.assertOptions(r,{encode:lt.function,serialize:lt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),st.assertOptions(t,{baseUrl:lt.spelling("baseURL"),withXsrfToken:lt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&W.merge(o.common,o[t.method]);o&&W.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Se.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[ot.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let f=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{c=ot.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return ae(Re((e=Ie(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}W.forEach(["delete","get","head","options"],(function(e){ct.prototype[e]=function(t,n){return this.request(Ie(n||{},{method:e,url:t,data:(n||{}).data}))}})),W.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Ie(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}ct.prototype[e]=t(),ct.prototype[e+"Form"]=t(!0)}));var ut=ct;class dt{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Qe(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new dt((function(t){e=t})),cancel:e}}}var ft=dt;const ht={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ht).forEach((([e,t])=>{ht[t]=e}));var pt=ht;const mt=function e(t){const n=new ut(t),r=o(ut.prototype.request,n);return W.extend(r,ut.prototype,n,{allOwnKeys:!0}),W.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ie(t,n))},r}(ve);mt.Axios=ut,mt.CanceledError=Qe,mt.CancelToken=ft,mt.isCancel=Ce,mt.VERSION="1.8.3",mt.toFormData=ee,mt.AxiosError=Z,mt.Cancel=mt.CanceledError,mt.all=function(e){return Promise.all(e)},mt.spread=function(e){return function(t){return e.apply(null,t)}},mt.isAxiosError=function(e){return W.isObject(e)&&!0===e.isAxiosError},mt.mergeConfig=Ie,mt.AxiosHeaders=Se,mt.formToJSON=e=>ge(W.isHTMLForm(e)?new FormData(e):e),mt.getAdapter=nt,mt.HttpStatusCode=pt,mt.default=mt;var gt=mt},94402:function(e,t,n){"use strict";var r=n(79504),o=Set.prototype;e.exports={Set:Set,add:r(o.add),has:r(o.has),remove:r(o.delete),proto:o}},94483:function(e,t,n){"use strict";var r,o,i,a,s=n(44576),l=n(89429),c=n(1548),u=s.structuredClone,d=s.ArrayBuffer,f=s.MessageChannel,h=!1;if(c)h=function(e){u(e,{transfer:[e]})};else if(d)try{f||(r=l("worker_threads"))&&(f=r.MessageChannel),f&&(o=new f,i=new d(2),a=function(e){o.port1.postMessage(null,[e])},2===i.byteLength&&(a(i),0===i.byteLength&&(h=a)))}catch(e){}e.exports=h},94644:function(e,t,n){"use strict";var r,o,i,a=n(77811),s=n(43724),l=n(44576),c=n(94901),u=n(20034),d=n(39297),f=n(36955),h=n(16823),p=n(66699),m=n(36840),g=n(62106),A=n(1625),v=n(42787),y=n(52967),O=n(78227),b=n(33392),w=n(91181),_=w.enforce,x=w.get,S=l.Int8Array,k=S&&S.prototype,C=l.Uint8ClampedArray,B=C&&C.prototype,Q=S&&v(S),T=k&&v(k),E=Object.prototype,P=l.TypeError,$=O("toStringTag"),M=b("TYPED_ARRAY_TAG"),z="TypedArrayConstructor",R=a&&!!y&&"Opera"!==f(l.opera),D=!1,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},L=function(e){var t=v(e);if(u(t)){var n=x(t);return n&&d(n,z)?n[z]:L(t)}},V=function(e){if(!u(e))return!1;var t=f(e);return d(I,t)||d(N,t)};for(r in I)(i=(o=l[r])&&o.prototype)?_(i)[z]=o:R=!1;for(r in N)(i=(o=l[r])&&o.prototype)&&(_(i)[z]=o);if((!R||!c(Q)||Q===Function.prototype)&&(Q=function(){throw new P("Incorrect invocation")},R))for(r in I)l[r]&&y(l[r],Q);if((!R||!T||T===E)&&(T=Q.prototype,R))for(r in I)l[r]&&y(l[r].prototype,T);if(R&&v(B)!==T&&y(B,T),s&&!d(T,$))for(r in D=!0,g(T,$,{configurable:!0,get:function(){return u(this)?this[M]:void 0}}),I)l[r]&&p(l[r],M,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:D&&M,aTypedArray:function(e){if(V(e))return e;throw new P("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!y||A(Q,e)))return e;throw new P(h(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(s){if(n)for(var o in I){var i=l[o];if(i&&d(i.prototype,e))try{delete i.prototype[e]}catch(n){try{i.prototype[e]=t}catch(e){}}}T[e]&&!n||m(T,e,n?t:R&&k[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(s){if(y){if(n)for(r in I)if((o=l[r])&&d(o,e))try{delete o[e]}catch(e){}if(Q[e]&&!n)return;try{return m(Q,e,n?t:R&&Q[e]||t)}catch(e){}}for(r in I)!(o=l[r])||o[e]&&!n||m(o,e,t)}},getTypedArrayConstructor:L,isView:function(e){if(!u(e))return!1;var t=f(e);return"DataView"===t||d(I,t)||d(N,t)},isTypedArray:V,TypedArray:Q,TypedArrayPrototype:T}},94901:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},95235:function(e,t,n){"use strict";n.d(t,{Ip:function(){return u},Mi:function(){return c},SM:function(){return l}});var r=n(10992),o=n(5638),i=n(59975),a=n(24326),s=n(98026);function l(e,t,n,i,a){var l=e.getArea(),c=l.x,u=l.y,d=l.width,f=l.height,h=n.get(["lineStyle","width"])||0;c-=h/2,u-=h/2,d+=h,f+=h,d=Math.ceil(d),c!==Math.floor(c)&&(c=Math.floor(c),d++);var p=new r.A({shape:{x:c,y:u,width:d,height:f}});if(t){var m=e.getBaseAxis(),g=m.isHorizontal(),A=m.inverse;g?(A&&(p.shape.x+=d),p.shape.width=0):(A||(p.shape.y+=f),p.shape.height=0);var v=(0,s.isFunction)(a)?function(e){a(e,p)}:null;o.LW(p,{shape:{width:d,height:f,x:c,y:u}},n,null,i,v)}return p}function c(e,t,n){var r=e.getArea(),s=(0,a.LI)(r.r0,1),l=(0,a.LI)(r.r,1),c=new i.A({shape:{cx:(0,a.LI)(e.cx,1),cy:(0,a.LI)(e.cy,1),r0:s,r:l,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return t&&("angle"===e.getBaseAxis().dim?c.shape.endAngle=r.startAngle:c.shape.r=s,o.LW(c,{shape:{endAngle:r.endAngle,r:l}},n)),c}function u(e,t,n,r,o){return e?"polar"===e.type?c(e,t,n):"cartesian2d"===e.type?l(e,t,n,r,o):null:null}},95423:function(e,t,n){var r=n(98927),o=n(40870);e.exports=function(e){for(var t,n=[],i=o(e),a=i.length-1;a>=0;a--)t=a>0?r(0,a):0,n.push(i[t]),i.splice(t,1);return n}},95636:function(e,t,n){"use strict";var r=n(44576),o=n(79504),i=n(46706),a=n(57696),s=n(55169),l=n(67394),c=n(94483),u=n(1548),d=r.structuredClone,f=r.ArrayBuffer,h=r.DataView,p=Math.min,m=f.prototype,g=h.prototype,A=o(m.slice),v=i(m,"resizable","get"),y=i(m,"maxByteLength","get"),O=o(g.getInt8),b=o(g.setInt8);e.exports=(u||c)&&function(e,t,n){var r,o=l(e),i=void 0===t?o:a(t),m=!v||!v(e);if(s(e),u&&(e=d(e,{transfer:[e]}),o===i&&(n||m)))return e;if(o>=i&&(!n||m))r=A(e,0,i);else{var g=n&&!m&&y?{maxByteLength:y(e)}:void 0;r=new f(i,g);for(var w=new h(e),_=new h(r),x=p(i,o),S=0;S<x;S++)b(_,S,O(w,S))}return u||c(e),r}},95654:function(e){e.exports=function(e){return function(t,n,r,o){var i=r||{},a=i.children||"children";return e(null,t,n,o,[],[],a,i)}}},95860:function(e,t,n){"use strict";n.d(t,{z:function(){return x}});var r=n(48820),o=n(43720);const i={abstract:4,and:5,array:6,as:7,true:8,false:8,break:9,case:10,catch:11,clone:12,const:13,continue:14,declare:16,default:15,do:17,echo:18,else:19,elseif:20,enddeclare:21,endfor:22,endforeach:23,endif:24,endswitch:25,endwhile:26,enum:27,extends:28,final:29,finally:30,fn:31,for:32,foreach:33,from:34,function:35,global:36,goto:37,if:38,implements:39,include:40,include_once:41,instanceof:42,insteadof:43,interface:44,list:45,match:46,namespace:47,new:48,null:49,or:50,print:51,require:52,require_once:53,return:54,switch:55,throw:56,trait:57,try:58,unset:59,use:60,var:61,public:62,private:62,protected:62,while:63,xor:64,yield:65,__proto__:null};function a(e){let t=i[e.toLowerCase()];return null==t?-1:t}function s(e){return 9==e||10==e||13==e||32==e}function l(e){return e>=97&&e<=122||e>=65&&e<=90}function c(e){return 95==e||e>=128||l(e)}function u(e){return e>=48&&e<=55||e>=97&&e<=102||e>=65&&e<=70}const d={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},f=new r.Lu((e=>{if(40==e.next){e.advance();let t=0;for(;s(e.peek(t));)t++;let n,r="";for(;l(n=e.peek(t));)r+=String.fromCharCode(n),t++;for(;s(e.peek(t));)t++;41==e.peek(t)&&d[r.toLowerCase()]&&e.acceptToken(1)}else if(60==e.next&&60==e.peek(1)&&60==e.peek(2)){for(let t=0;t<3;t++)e.advance();for(;32==e.next||9==e.next;)e.advance();let t=39==e.next;if(t&&e.advance(),!c(e.next))return;let n=String.fromCharCode(e.next);for(;e.advance(),c(e.next)||e.next>=48&&e.next<=55;)n+=String.fromCharCode(e.next);if(t){if(39!=e.next)return;e.advance()}if(10!=e.next&&13!=e.next)return;for(;;){let t=10==e.next||13==e.next;if(e.advance(),e.next<0)return;if(t){for(;32==e.next||9==e.next;)e.advance();let t=!0;for(let r=0;r<n.length;r++){if(e.next!=n.charCodeAt(r)){t=!1;break}e.advance()}if(t)return e.acceptToken(2)}}}})),h=new r.Lu((e=>{e.next<0&&e.acceptToken(266)})),p=new r.Lu(((e,t)=>{63==e.next&&t.canShift(265)&&62==e.peek(1)&&e.acceptToken(265)}));function m(e){let t=e.peek(1);if(110==t||114==t||116==t||118==t||101==t||102==t||92==t||36==t||34==t||123==t)return 2;if(t>=48&&t<=55){let t,n=2;for(;n<5&&(t=e.peek(n))>=48&&t<=55;)n++;return n}if(120==t&&u(e.peek(2)))return u(e.peek(3))?4:3;if(117==t&&123==e.peek(2))for(let t=3;;t++){let n=e.peek(t);if(125==n)return 2==t?0:t+1;if(!u(n))break}return 0}const g=new r.Lu(((e,t)=>{let n=!1;for(;!(34==e.next||e.next<0||36==e.next&&(c(e.peek(1))||123==e.peek(1))||123==e.next&&36==e.peek(1));n=!0){if(92==e.next){let t=m(e);if(t){if(n)break;return e.acceptToken(3,t)}}else if(!n&&(91==e.next||45==e.next&&62==e.peek(1)&&c(e.peek(2))||63==e.next&&45==e.peek(1)&&62==e.peek(2)&&c(e.peek(3)))&&t.canShift(264))break;e.advance()}n&&e.acceptToken(263)})),A=(0,o.pn)({"Visibility abstract final static":o._A.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":o._A.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":o._A.controlKeyword,"and or xor yield unset clone instanceof insteadof":o._A.operatorKeyword,"function fn class trait implements extends const enum global interface use var":o._A.definitionKeyword,"include include_once require require_once namespace":o._A.moduleKeyword,"new from echo print array list as":o._A.keyword,null:o._A.null,Boolean:o._A.bool,VariableName:o._A.variableName,"NamespaceName/...":o._A.namespace,"NamedType/...":o._A.typeName,Name:o._A.name,"CallExpression/Name":o._A.function(o._A.variableName),"LabelStatement/Name":o._A.labelName,"MemberExpression/Name":o._A.propertyName,"MemberExpression/VariableName":o._A.special(o._A.propertyName),"ScopedExpression/ClassMemberName/Name":o._A.propertyName,"ScopedExpression/ClassMemberName/VariableName":o._A.special(o._A.propertyName),"CallExpression/MemberExpression/Name":o._A.function(o._A.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":o._A.function(o._A.propertyName),"MethodDeclaration/Name":o._A.function(o._A.definition(o._A.variableName)),"FunctionDefinition/Name":o._A.function(o._A.definition(o._A.variableName)),"ClassDeclaration/Name":o._A.definition(o._A.className),UpdateOp:o._A.updateOperator,ArithOp:o._A.arithmeticOperator,LogicOp:o._A.logicOperator,BitOp:o._A.bitwiseOperator,CompareOp:o._A.compareOperator,ControlOp:o._A.controlOperator,AssignOp:o._A.definitionOperator,"$ ConcatOp":o._A.operator,LineComment:o._A.lineComment,BlockComment:o._A.blockComment,Integer:o._A.integer,Float:o._A.float,String:o._A.string,ShellExpression:o._A.special(o._A.string),"=> ->":o._A.punctuation,"( )":o._A.paren,"#[ [ ]":o._A.squareBracket,"${ { }":o._A.brace,"-> ?->":o._A.derefOperator,", ; :: : \\":o._A.separator,"PhpOpen PhpClose":o._A.processingInstruction}),v={__proto__:null,static:311,STATIC:311,class:333,CLASS:333},y=r.U1.deserialize({version:14,states:"$GSQ`OWOOQhQaOOP%oO`OOOOO#t'#H_'#H_O%tO#|O'#DtOOO#u'#Dw'#DwQ&SOWO'#DwO&XO$VOOOOQ#u'#Dx'#DxO&lQaO'#D|O(mQdO'#E}O(tQdO'#EQO*kQaO'#EWO,zQ`O'#ETO-PQ`O'#E^O/nQaO'#E^O/uQ`O'#EfO/zQ`O'#EoO*kQaO'#EoO0VQ`O'#HhO0[Q`O'#E{O0[Q`O'#E{OOQS'#Ic'#IcO0aQ`O'#EvOOQS'#IZ'#IZO2oQdO'#IWO6tQeO'#FUO*kQaO'#FeO*kQaO'#FfO*kQaO'#FgO*kQaO'#FhO*kQaO'#FhO*kQaO'#FkOOQO'#Id'#IdO7RQ`O'#FqOOQO'#Hi'#HiO7ZQ`O'#HOO7uQ`O'#FlO8QQ`O'#H]O8]Q`O'#FvO8eQaO'#FwO*kQaO'#GVO*kQaO'#GYO8}OrO'#G]OOQS'#Iq'#IqOOQS'#Ip'#IpOOQS'#IW'#IWO,zQ`O'#GdO,zQ`O'#GfO,zQ`O'#GkOhQaO'#GmO9UQ`O'#GnO9ZQ`O'#GqO9`Q`O'#GtO9eQeO'#GuO9eQeO'#GvO9eQeO'#GwO9oQ`O'#GxO9tQ`O'#GzO9yQaO'#G{O<YQ`O'#G|O<_Q`O'#G}O<dQ`O'#G}O9oQ`O'#HOO<iQ`O'#HQO<nQ`O'#HRO<sQ`O'#HSO<xQ`O'#HVO=TQ`O'#HWO9yQaO'#H[OOQ#u'#IV'#IVOOQ#u'#Ha'#HaQhQaOOO=fQ`O'#HPO7pQ`O'#HPO=kO#|O'#DrPOOO)CCw)CCwOOO#t-E;]-E;]OOO#u,5:c,5:cOOO#u'#H`'#H`O&XO$VOOO=vQ$VO'#IUOOOO'#IU'#IUQOOOOOOOQ#y,5:h,5:hO=}QaO,5:hOOQ#u,5:j,5:jO@eQaO,5:mO@lQaO,5;UO*kQaO,5;UO@sQ`O,5;VOCbQaO'#EsOOQS,5;^,5;^OCiQ`O,5;jOOQP'#F]'#F]O*kQaO,5;qO*kQaO,5;qO*kQaO,5;qO*kQaO,5;qO*kQaO,5;qO*kQaO,5;qO*kQaO,5;qO*kQaO,5;qO*kQaO,5;qO*kQaO,5;qO*kQaO,5;qO*kQaO,5;qO*kQaO,5;qO*kQaO,5;qO*kQaO,5;qO*kQaO,5;qOOQ#u'#Im'#ImOOQS,5<q,5<qOOQ#u,5:l,5:lOEbQ`O,5:rOEiQdO'#E}OF]Q`O'#FlOFeQ`O'#FlOFmQ`O,5:oOFrQaO'#E_OOQS,5:x,5:xOHyQ`O'#I]O9yQaO'#EaO9yQaO'#I]OOQS'#I]'#I]OIQQ`O'#I[OIYQ`O,5:xO-UQaO,5:xOI_QaO'#EgOOQS,5;Q,5;QOOQS,5;Z,5;ZOIiQ`O,5;ZOOQO,5>S,5>SOJ[QdO,5;gOOQO-E;f-E;fOL^Q`O,5;gOLcQpO,5;bO0aQ`O'#EyOLkQtO'#E}OOQS'#Ez'#EzOOQS'#Ib'#IbOM`QaO,5:wO*kQaO,5;nOOQS,5;p,5;pO*kQaO,5;pOMgQdO,5<POMwQdO,5<QONXQdO,5<RONiQdO,5<SO!!sQdO,5<SO!!zQdO,5<VO!#[Q`O'#FrO!#gQ`O'#IgO!#oQ`O,5<]OOQO-E;g-E;gO!#tQ`O'#IoO<_Q`O,5=iO!#|Q`O,5=iO9oQ`O,5=jO!$RQ`O,5=nO!$WQ`O,5=kO!$]Q`O,5=kO!$bQ`O'#FnO!$xQ`O,5<WO!%TQ`O,5<WO!%WQ`O,5?ZO!%]Q`O,5<WO!%eQ`O,5<bO!%mQdO'#GPO!%{QdO'#InO!&WQdO,5=wO!&`Q`O,5<bO!%WQ`O,5<bO!&hQdO,5<cO!&xQ`O,5<cO!'lQdO,5<qO!)nQdO,5<tO!*OOrO'#HsOOOQ'#It'#ItO*kQaO'#GbOOOQ'#Hs'#HsO!*pOrO,5<wOOQS,5<w,5<wO!*wQaO,5=OO!+OQ`O,5=QO!+WQeO,5=VO!+bQ`O,5=XO!+gQaO'#GoO!+WQeO,5=YO9yQaO'#GrO!+WQeO,5=]O!&WQdO,5=`O(tQdO,5=aOOQ#u,5=a,5=aO(tQdO,5=bOOQ#u,5=b,5=bO(tQdO,5=cOOQ#u,5=c,5=cO!+nQ`O,5=dO!+vQ`O,5=fO!+{QdO'#IvOOQS'#Iv'#IvO!&WQdO,5=gO>UQaO,5=hO!-eQ`O'#F}O!-jQdO'#IlO!&WQdO,5=iOOQ#u,5=j,5=jO!-uQ`O,5=lO!-xQ`O,5=mO!-}Q`O,5=nO!.YQdO,5=qOOQ#u,5=q,5=qO!.eQ`O,5=rO!.eQ`O,5=rO!.mQdO'#IwO!.{Q`O'#HXO!&WQdO,5=rO!/ZQ`O,5=rO!/fQdO'#IYO!&WQdO,5=vOOQ#u-E;_-E;_O!1RQ`O,5=kOOO#u,5:^,5:^O!1^O#|O,5:^OOO#u-E;^-E;^OOOO,5>p,5>pOOQ#y1G0S1G0SO!1fQ`O1G0XO*kQaO1G0XO!2xQ`O1G0pOOQS1G0p1G0pO!4[Q`O1G0pOOQS'#I_'#I_O*kQaO'#I_OOQS1G0q1G0qO!4cQ`O'#IaO!7lQ`O'#E}O!7yQaO'#EuOOQO'#Ia'#IaO!8TQ`O'#I`O!8]Q`O,5;_OOQS'#FQ'#FQOOQS1G1U1G1UO!8bQdO1G1]O!:dQdO1G1]O!<PQdO1G1]O!=lQdO1G1]O!?XQdO1G1]O!@tQdO1G1]O!BaQdO1G1]O!C|QdO1G1]O!EiQdO1G1]O!GUQdO1G1]O!HqQdO1G1]O!J^QdO1G1]O!KyQdO1G1]O!MfQdO1G1]O# RQdO1G1]O#!nQdO1G1]OOQT1G0^1G0^O!%WQ`O,5<WO#$ZQaO'#EXOOQS1G0Z1G0ZO#$bQ`O,5:yOFuQaO,5:yO#$gQaO,5:}O#$nQdO,5:{O#&jQdO,5>wO#(fQaO'#HdO#(vQ`O,5>vOOQS1G0d1G0dO#)OQ`O1G0dO#)TQ`O'#I^O#*mQ`O'#I^O#*uQ`O,5;ROIbQaO,5;ROOQS1G0u1G0uPOQO'#E}'#E}O#+fQdO1G1RO0aQ`O'#HgO#-hQtO,5;cO#.YQaO1G0|OOQS,5;e,5;eO#0iQtO,5;gO#0vQdO1G0cO*kQaO1G0cO#2cQdO1G1YO#4OQdO1G1[OOQO,5<^,5<^O#4`Q`O'#HjO#4nQ`O,5?ROOQO1G1w1G1wO#4vQ`O,5?ZO!&WQdO1G3TO<_Q`O1G3TOOQ#u1G3U1G3UO#4{Q`O1G3YO!1RQ`O1G3VO#5WQ`O1G3VO#5]QpO'#FoO#5kQ`O'#FoO#5{Q`O'#FoO#6WQ`O'#FoO#6`Q`O'#FsO#6eQ`O'#FtOOQO'#If'#IfO#6lQ`O'#IeO#6tQ`O,5<YOOQS1G1r1G1rO0aQ`O1G1rO#6yQ`O1G1rO#7OQ`O1G1rO!%WQ`O1G4uO#7ZQdO1G4uO!%WQ`O1G1rO#7iQ`O1G1|O!%WQ`O1G1|O9yQaO,5<kO#7qQdO'#HqO#8PQdO,5?YOOQ#u1G3c1G3cO*kQaO1G1|O0aQ`O1G1|O#8[QdO1G1}O7RQ`O'#FyO7RQ`O'#FzO#:nQ`O'#F{OOQS1G1}1G1}O!-xQ`O1G1}O!1UQ`O1G1}O!1RQ`O1G1}O#;eO`O,5<xO#;jO`O,5<xO#;uO!bO,5<yO#<TQ`O,5<|OOOQ-E;q-E;qOOQS1G2c1G2cO#<[QaO'#GeO#<uQ$VO1G2jO#AuQ`O1G2jO#BQQ`O'#GgO#B]Q`O'#GjOOQ#u1G2l1G2lO#BhQ`O1G2lOOQ#u'#Gl'#GlOOQ#u'#Iu'#IuOOQ#u1G2q1G2qO#BmQ`O1G2qO,zQ`O1G2sO#BrQaO,5=ZO#ByQ`O,5=ZOOQ#u1G2t1G2tO#COQ`O1G2tO#CTQ`O,5=^OOQ#u1G2w1G2wO#DgQ`O1G2wOOQ#u1G2z1G2zOOQ#u1G2{1G2{OOQ#u1G2|1G2|OOQ#u1G2}1G2}O#DlQ`O'#HxO9oQ`O'#HxO#DqQ$VO1G3OO#IwQ`O1G3QO9yQaO'#HwO#I|QdO,5=[OOQ#u1G3R1G3RO#JXQ`O1G3SO9yQaO,5<iO#J^QdO'#HpO#JlQdO,5?WOOQ#u1G3T1G3TOOQ#u1G3W1G3WO!-xQ`O1G3WOOQ#u1G3X1G3XO#KfQ`O'#HTOOQ#u1G3Y1G3YO#KmQ`O1G3YO0aQ`O1G3YOOQ#u1G3]1G3]O!&WQdO1G3^O#KrQ`O1G3^O#KzQdO'#HzO#L]QdO,5?cO#LhQ`O,5?cO#LmQ`O'#HYO7RQ`O'#HYO#LxQ`O'#IxO#MQQ`O,5=sOOQ#u1G3^1G3^O!.eQ`O1G3^O!.eQ`O1G3^O#MVQeO'#HbO#MgQdO,5>tOOQ#u1G3b1G3bOOQ#u1G3V1G3VO!-xQ`O1G3VO!1UQ`O1G3VOOO#u1G/x1G/xO*kQaO7+%sO#MuQdO7+%sOOQS7+&[7+&[O$ bQ`O,5>yO>UQaO,5;`O$ iQ`O,5;aO$#OQaO'#HfO$#YQ`O,5>zOOQS1G0y1G0yO$#bQ`O'#EYO$#gQ`O'#IXO$#oQ`O,5:sOOQS1G0e1G0eO$#tQ`O1G0eO$#yQ`O1G0iO9yQaO1G0iOOQO,5>O,5>OOOQO-E;b-E;bOOQS7+&O7+&OO>UQaO,5;SO$%`QaO'#HeO$%jQ`O,5>xOOQS1G0m1G0mO$%rQ`O1G0mOOQS,5>R,5>ROOQS-E;e-E;eO$%wQdO7+&hO$'yQtO1G1RO$(WQdO7+%}OOQS1G0i1G0iOOQO,5>U,5>UOOQO-E;h-E;hOOQ#u7+(o7+(oO!&WQdO7+(oOOQ#u7+(t7+(tO#KmQ`O7+(tO0aQ`O7+(tOOQ#u7+(q7+(qO!-xQ`O7+(qO!1UQ`O7+(qO!1RQ`O7+(qO$)sQ`O,5<ZO$*OQ`O,5<ZO$*WQ`O,5<_O$*]QpO,5<ZO>UQaO,5<ZOOQO,5<_,5<_O$*kQpO,5<`O$*sQ`O,5<`O$+OQ`O'#HkO$+iQ`O,5?POOQS1G1t1G1tO$+qQpO7+'^O$+yQ`O'#FuO$,UQ`O7+'^OOQS7+'^7+'^O0aQ`O7+'^O#6yQ`O7+'^O$,^QdO7+*aO0aQ`O7+*aO$,lQ`O7+'^O*kQaO7+'hO0aQ`O7+'hO$,wQ`O7+'hO$-PQdO1G2VOOQS,5>],5>]OOQS-E;o-E;oO$.iQdO7+'hO$.yQpO7+'hO$/RQdO'#IiOOQO,5<e,5<eOOQO,5<f,5<fO$/dQpO'#GOO$/lQ`O'#GOOOQO'#Ik'#IkOOQO'#Ho'#HoO$0]Q`O'#GOO<_Q`O'#F|O!&WQdO'#GOO!.YQdO'#GQO7RQ`O'#GROOQO'#Ij'#IjOOQO'#Hn'#HnO$0yQ`O,5<gOOQ#y,5<g,5<gOOQS7+'i7+'iO!-xQ`O7+'iO!1UQ`O7+'iOOOQ1G2d1G2dO$1pO`O1G2dO$1uO!bO1G2eO$2TO`O'#G`O$2YO`O1G2eOOOQ1G2h1G2hO$2_QaO,5=PO,zQ`O'#HtO$2xQ$VO7+(UOhQaO7+(UO,zQ`O'#HuO$7xQ`O7+(UO!&WQdO7+(UO$8TQ`O7+(UO$8YQaO'#GhO$:iQ`O'#GiOOQO'#Hv'#HvO$:qQ`O,5=ROOQ#u,5=R,5=RO$:|Q`O,5=UO!&WQdO7+(WO!&WQdO7+(]O!&WQdO7+(_O$;XQaO1G2uO$;`Q`O1G2uO$;eQaO1G2uO!&WQdO7+(`O9yQaO1G2xO!&WQdO7+(cO0aQ`O'#GyO9oQ`O,5>dOOQ#u,5>d,5>dOOQ#u-E;v-E;vO$;lQaO7+(lO$<TQdO,5>cOOQS-E;u-E;uO!&WQdO7+(nO$=mQdO1G2TOOQS,5>[,5>[OOQS-E;n-E;nOOQ#u7+(r7+(rO$?nQ`O'#GQO$?uQ`O'#GQO$@ZQ`O'#HUOOQO'#Hy'#HyO$@`Q`O,5=oOOQ#u,5=o,5=oO$@gQpO7+(tOOQ#u7+(x7+(xO!&WQdO7+(xO$@rQdO,5>fOOQS-E;x-E;xO$AQQdO1G4}O$A]Q`O,5=tO$AbQ`O,5=tO$AmQ`O'#H{O$BRQ`O,5?dOOQS1G3_1G3_O#KrQ`O7+(xO$BZQdO,5=|OOQS-E;`-E;`O$CvQdO<<I_OOQS1G4e1G4eO$EcQ`O1G0zOOQO,5>Q,5>QOOQO-E;d-E;dO$8YQaO,5:tO$FxQaO'#HcO$GVQ`O,5>sOOQS1G0_1G0_OOQS7+&P7+&PO$G_Q`O7+&TO$HtQ`O1G0nO$JZQ`O,5>POOQO,5>P,5>POOQO-E;c-E;cOOQS7+&X7+&XOOQS7+&T7+&TOOQ#u<<LZ<<LZOOQ#u<<L`<<L`O$@gQpO<<L`OOQ#u<<L]<<L]O!-xQ`O<<L]O!1UQ`O<<L]O>UQaO1G1uO$KsQ`O1G1uO$LOQ`O1G1yOOQO1G1y1G1yO$LTQ`O1G1uO$L]Q`O1G1uO$MrQ`O1G1zO>UQaO1G1zOOQO,5>V,5>VOOQO-E;i-E;iOOQS<<Jx<<JxO$M}Q`O'#IhO$NVQ`O'#IhO$N[Q`O,5<aO0aQ`O<<JxO$+qQpO<<JxO$NaQ`O<<JxO0aQ`O<<M{O$NiQtO<<M{O#6yQ`O<<JxO$NwQdO<<KSO% XQpO<<KSO*kQaO<<KSO0aQ`O<<KSO% aQdO'#HmO% xQdO,5?TO!&WQdO,5<jO$/dQpO,5<jO%!ZQ`O,5<jO<_Q`O,5<hO!.YQdO,5<lOOQO-E;m-E;mO!&WQdO,5<hOOQO,5<j,5<jOOQO,5<l,5<lO%!tQdO,5<mOOQO-E;l-E;lOOQ#y1G2R1G2ROOQS<<KT<<KTO!-xQ`O<<KTOOOQ7+(O7+(OO%#PO`O7+(POOOO,5<z,5<zOOOQ7+(P7+(POhQaO,5>`OOQ#u-E;r-E;rOhQaO<<KpOOQ#u<<Kp<<KpO$8TQ`O,5>aOOQO-E;s-E;sO!&WQdO<<KpO$8TQ`O<<KpO%#UQ`O<<KpO%#ZQ`O,5=SO%$pQaO,5=TOOQO-E;t-E;tOOQ#u1G2m1G2mOOQ#u<<Kr<<KrOOQ#u<<Kw<<KwOOQ#u<<Ky<<KyOOQT7+(a7+(aO%%QQ`O7+(aO%%VQaO7+(aO%%^Q`O7+(aOOQ#u<<Kz<<KzO%%cQ`O7+(dO%&xQ`O7+(dOOQ#u<<K}<<K}O%&}QpO,5=eOOQ#u1G4O1G4OO%'YQ`O<<LWOOQ#u<<LY<<LYO$?uQ`O,5<lO%'_Q`O,5=pO%'dQdO,5=pOOQO-E;w-E;wOOQ#u1G3Z1G3ZO#KmQ`O<<L`OOQ#u<<Ld<<LdO%'oQ`O1G4QO%'tQdO7+*iOOQO1G3`1G3`O%(PQ`O1G3`O%(UQ`O'#HZO7RQ`O'#HZOOQO,5>g,5>gOOQO-E;y-E;yO!&WQdO<<LdO%(aQ`O1G0`OOQO,5=},5=}OOQO-E;a-E;aO>UQaO,5;TOOQ#uANAzANAzO#KmQ`OANAzOOQ#uANAwANAwO!-xQ`OANAwO%)vQ`O7+'aO>UQaO7+'aOOQO7+'e7+'eO%+]Q`O7+'aO%+hQ`O7+'eO>UQaO7+'fO%+mQ`O7+'fO%-SQ`O'#HlO%-bQ`O,5?SO%-bQ`O,5?SOOQO1G1{1G1{O$+qQpOAN@dOOQSAN@dAN@dO0aQ`OAN@dO%-jQtOANCgO%-xQ`OAN@dO*kQaOAN@nO%.QQdOAN@nO%.bQpOAN@nOOQS,5>X,5>XOOQS-E;k-E;kOOQO1G2U1G2UO!&WQdO1G2UO$/dQpO1G2UO<_Q`O1G2SO!.YQdO1G2WO!&WQdO1G2SOOQO1G2W1G2WOOQO1G2S1G2SO%.jQaO'#GSOOQO1G2X1G2XOOQSAN@oAN@oOOOQ<<Kk<<KkOOQ#u1G3z1G3zOOQ#uANA[ANA[OOQO1G3{1G3{O%0iQ`OANA[O!&WQdOANA[O%0nQaO1G2nO%1OQaO1G2oOOQT<<K{<<K{O%1`Q`O<<K{O%1eQaO<<K{O*kQaO,5=_OOQT<<LO<<LOOOQO1G3P1G3PO%1lQ`O1G3PO!+WQeOANArO%1qQdO1G3[OOQO1G3[1G3[O%1|Q`O1G3[OOQS7+)l7+)lOOQO7+(z7+(zO%2UQ`O,5=uO%2ZQ`O,5=uOOQ#uANBOANBOO%2fQ`O1G0oOOQ#uG27fG27fOOQ#uG27cG27cO%3{Q`O<<J{O>UQaO<<J{OOQO<<KP<<KPO%5bQ`O<<KQOOQO,5>W,5>WO%6wQ`O,5>WOOQO-E;j-E;jO%6|Q`O1G4nOOQSG26OG26OO$+qQpOG26OO0aQ`OG26OO%7UQdOG26YO*kQaOG26YOOQO7+'p7+'pO!&WQdO7+'pO!&WQdO7+'nOOQO7+'r7+'rOOQO7+'n7+'nO%7fQ`OLD+tO%8uQ`O'#E}O%9PQ`O'#IZO!&WQdO'#HrO%:|QaO,5<nOOQO,5<n,5<nO!&WQdOG26vOOQ#uG26vG26vO%<{QaO7+(YOOQTANAgANAgO%=]Q`OANAgO%=bQ`O1G2yOOQO7+(k7+(kOOQ#uG27^G27^O%=iQ`OG27^OOQO7+(v7+(vO%=nQ`O7+(vO!&WQdO7+(vOOQO1G3a1G3aO%=vQ`O1G3aO%={Q`OAN@gOOQO1G3r1G3rOOQSLD+jLD+jO$+qQpOLD+jO%?bQdOLD+tOOQO<<K[<<K[OOQO<<KY<<KYO%?rQ`O,5<oO%?wQ`O,5<pOOQP,5>^,5>^OOQP-E;p-E;pOOQO1G2Y1G2YOOQ#uLD,bLD,bOOQTG27RG27RO!&WQdOLD,xO!&WQdO<<LbOOQO<<Lb<<LbOOQO7+({7+({OOQS!$( U!$( UOOQS1G2Z1G2ZOOQS1G2[1G2[O%@PQdO1G2[OOQ#u!$(!d!$(!dOOQOANA|ANA|OOQS7+'v7+'vO%@[Q`O'#E{O%@[Q`O'#E{O%@aQ`O,5;gO%@fQdO,5<cO%BbQaO,5:}O*kQaO1G0iO%BiQaO'#FwO#.YQaO'#GVO#.YQaO'#GYO#.YQaO,5;qO#.YQaO,5;qO#.YQaO,5;qO#.YQaO,5;qO#.YQaO,5;qO#.YQaO,5;qO#.YQaO,5;qO#.YQaO,5;qO#.YQaO,5;qO#.YQaO,5;qO#.YQaO,5;qO#.YQaO,5;qO#.YQaO,5;qO#.YQaO,5;qO#.YQaO,5;qO#.YQaO,5;qO%BpQdO'#I]O%D`QdO'#I]O#.YQaO'#EaO#.YQaO'#I]O%FbQaO,5:wO#.YQaO,5;nO#.YQaO,5;pO%FiQdO,5<PO%HeQdO,5<QO%JaQdO,5<RO%L]QdO,5<SO%NXQdO,5<SO%NoQdO,5<VO&!kQdO,5<tO#.YQaO1G0XO&$gQdO1G1]O&&cQdO1G1]O&(_QdO1G1]O&*ZQdO1G1]O&,VQdO1G1]O&.RQdO1G1]O&/}QdO1G1]O&1yQdO1G1]O&3uQdO1G1]O&5qQdO1G1]O&7mQdO1G1]O&9iQdO1G1]O&;eQdO1G1]O&=aQdO1G1]O&?]QdO1G1]O&AXQdO,5:{O&CTQdO,5>wO&EPQdO1G0cO#.YQaO1G0cO&F{QdO1G1YO&HwQdO1G1[O#.YQaO1G1|O#.YQaO7+%sO&JsQdO7+%sO&LoQdO7+%}O#.YQaO7+'hO&NkQdO7+'hO'!gQdO<<I_O'$cQdO<<KSO#.YQaO<<KSO#.YQaOAN@nO'&_QdOAN@nO'(ZQdOG26YO#.YQaOG26YO'*VQdOLD+tO',RQaO,5:}O'.QQaO1G0iO'/|QdO'#IWO'0aQeO'#FUO'4aQeO'#FUO#.YQaO'#FeO'.QQaO'#FeO#.YQaO'#FfO'.QQaO'#FfO#.YQaO'#FgO'.QQaO'#FgO#.YQaO'#FhO'.QQaO'#FhO#.YQaO'#FhO'.QQaO'#FhO#.YQaO'#FkO'.QQaO'#FkO'8gQaO,5:mO'8nQ`O,5<bO'8vQ`O1G0XO'.QQaO1G0|O':YQ`O1G1|O':bQ`O7+'hO':jQpO7+'hO':rQpO<<KSO':zQpOAN@nO';SQaO'#FwO'.QQaO'#GVO'.QQaO'#GYO'.QQaO,5;qO'.QQaO,5;qO'.QQaO,5;qO'.QQaO,5;qO'.QQaO,5;qO'.QQaO,5;qO'.QQaO,5;qO'.QQaO,5;qO'.QQaO,5;qO'.QQaO,5;qO'.QQaO,5;qO'.QQaO,5;qO'.QQaO,5;qO'.QQaO,5;qO'.QQaO,5;qO'.QQaO,5;qO'.QQaO'#EaO'.QQaO'#I]O'=RQaO,5:wO'.QQaO,5;nO'.QQaO,5;pO'?QQdO,5<PO'ASQdO,5<QO'CUQdO,5<RO'EWQdO,5<SO'GYQdO,5<SO'GvQdO,5<VO'IxQdO,5<tO'.QQaO1G0XO'KzQdO1G1]O'M|QdO1G1]O(!OQdO1G1]O($QQdO1G1]O(&SQdO1G1]O((UQdO1G1]O(*WQdO1G1]O(,YQdO1G1]O(.[QdO1G1]O(0^QdO1G1]O(2`QdO1G1]O(4bQdO1G1]O(6dQdO1G1]O(8fQdO1G1]O(:hQdO1G1]O(<jQdO,5:{O(>lQdO,5>wO(@nQdO1G0cO'.QQaO1G0cO(BpQdO1G1YO(DrQdO1G1[O'.QQaO1G1|O'.QQaO7+%sO(FtQdO7+%sO(HvQdO7+%}O'.QQaO7+'hO(JxQdO7+'hO(LzQdO<<I_O(N|QdO<<KSO'.QQaO<<KSO'.QQaOAN@nO)#OQdOAN@nO)%QQdOG26YO'.QQaOG26YO)'SQdOLD+tO))UQaO,5:}O#.YQaO1G0iO))]Q`O'#FvO))eQpO,5;bO))mQ`O,5<bO!%WQ`O,5<bO!%WQ`O1G1|O0aQ`O1G1|O0aQ`O7+'hO0aQ`O<<KSO))uQdO,5<cO)+wQdO'#I]O)-vQdO'#IWO).aQaO,5:mO).hQ`O,5<bO).pQ`O1G0XO)0SQ`O1G1|O)0[Q`O7+'hO)0dQpO7+'hO)0lQpO<<KSO)0tQpOAN@nO0aQ`O'#EvO9yQaO'#FeO9yQaO'#FfO9yQaO'#FgO9yQaO'#FhO9yQaO'#FhO9yQaO'#FkO)0|QaO'#FwO9yQaO'#GVO9yQaO'#GYO9yQaO,5;qO9yQaO,5;qO9yQaO,5;qO9yQaO,5;qO9yQaO,5;qO9yQaO,5;qO9yQaO,5;qO9yQaO,5;qO9yQaO,5;qO9yQaO,5;qO9yQaO,5;qO9yQaO,5;qO9yQaO,5;qO9yQaO,5;qO9yQaO,5;qO9yQaO,5;qO)1TQ`O'#FlO*kQaO'#EaO*kQaO'#I]O)1]QaO,5:wO9yQaO,5;nO9yQaO,5;pO)1dQdO,5<PO)3`QdO,5<QO)5[QdO,5<RO)7WQdO,5<SO)9SQdO,5<SO)9jQdO,5<VO);fQdO,5<cO)=bQdO,5<tO)?^Q`O'#IvO)@sQ`O'#IYO9yQaO1G0XO)BYQdO1G1]O)DUQdO1G1]O)FQQdO1G1]O)G|QdO1G1]O)IxQdO1G1]O)KtQdO1G1]O)MpQdO1G1]O* lQdO1G1]O*#hQdO1G1]O*%dQdO1G1]O*'`QdO1G1]O*)[QdO1G1]O*+WQdO1G1]O*-SQdO1G1]O*/OQdO1G1]O*0zQaO,5:}O*1RQdO,5:{O*1cQdO,5>wO*1sQaO'#HdO*2TQ`O,5>vO*2]QdO1G0cO9yQaO1G0cO*4XQdO1G1YO*6TQdO1G1[O9yQaO1G1|O>UQaO'#HwO*8PQ`O,5=[O*8XQaO'#HbO*8cQ`O,5>tO9yQaO7+%sO*8kQdO7+%sO*:gQ`O1G0iO>UQaO1G0iO*;|QdO7+%}O9yQaO7+'hO*=xQdO7+'hO*?tQ`O,5>cO*AZQ`O,5=|O*BpQdO<<I_O*DlQ`O7+&TO*FRQdO<<KSO9yQaO<<KSO9yQaOAN@nO*G}QdOAN@nO*IyQdOG26YO9yQaOG26YO*KuQdOLD+tO*MqQaO,5:}O9yQaO1G0iO*MxQdO'#I]O*NcQ`O'#FvO*NkQ`O,5<bO!%WQ`O,5<bO!%WQ`O1G1|O0aQ`O1G1|O0aQ`O7+'hO0aQ`O<<KSO*NsQdO'#IWO+ ^QeO'#FUO+ zQaO'#FUO+#sQaO'#FUO+%`QaO'#FUO>UQaO'#FeO>UQaO'#FfO>UQaO'#FgO>UQaO'#FhO>UQaO'#FhO>UQaO'#FkO+'XQaO'#FwO>UQaO'#GVO>UQaO'#GYO+'`QaO,5:mO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO+'gQ`O'#I]O$8YQaO'#EaO+)PQaOG26YO$8YQaO'#I]O+*{Q`O'#I[O++TQaO,5:wO>UQaO,5;nO>UQaO,5;pO++[Q`O,5<PO+,wQ`O,5<QO+.dQ`O,5<RO+0PQ`O,5<SO+1lQ`O,5<SO+3XQ`O,5<VO+4tQ`O,5<bO+4|Q`O,5<cO+6iQ`O,5<tO+8UQ`O1G0XO>UQaO1G0XO+9hQ`O1G1]O+;TQ`O1G1]O+<pQ`O1G1]O+>]Q`O1G1]O+?xQ`O1G1]O+AeQ`O1G1]O+CQQ`O1G1]O+DmQ`O1G1]O+FYQ`O1G1]O+GuQ`O1G1]O+IbQ`O1G1]O+J}Q`O1G1]O+LjQ`O1G1]O+NVQ`O1G1]O, rQ`O1G1]O,#_Q`O1G0cO>UQaO1G0cO,$zQ`O1G1YO,&gQ`O1G1[O,(SQ`O1G1|O>UQaO1G1|O>UQaO7+%sO,([Q`O7+%sO,)wQ`O7+%}O>UQaO7+'hO,+dQ`O7+'hO,+lQ`O7+'hO,-XQpO7+'hO,-aQ`O<<I_O,.|Q`O<<KSO,0iQpO<<KSO>UQaO<<KSO>UQaOAN@nO,0qQ`OAN@nO,2^QpOAN@nO,2fQ`OG26YO>UQaOG26YO,4RQ`OLD+tO,5nQaO,5:}O>UQaO1G0iO,5uQ`O'#I]O$8YQaO'#FeO$8YQaO'#FfO$8YQaO'#FgO$8YQaO'#FhO$8YQaO'#FhO+)PQaO'#FhO$8YQaO'#FkO,6SQaO'#FwO,6ZQaO'#FwO$8YQaO'#GVO+)PQaO'#GVO$8YQaO'#GYO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO,8YQ`O'#FlO>UQaO'#EaO>UQaO'#I]O,8bQaO,5:wO,8iQaO,5:wO$8YQaO,5;nO+)PQaO,5;nO$8YQaO,5;pO,:hQ`O,5<PO,<TQ`O,5<QO,=pQ`O,5<RO,?]Q`O,5<SO,@xQ`O,5<SO,BeQ`O,5<SO,CtQ`O,5<VO,EaQ`O,5<cO%7fQ`O,5<cO,F|Q`O,5<tO$8YQaO1G0XO+)PQaO1G0XO,HiQ`O1G1]O,JUQ`O1G1]O,KeQ`O1G1]O,MQQ`O1G1]O,NaQ`O1G1]O- |Q`O1G1]O-#]Q`O1G1]O-$xQ`O1G1]O-&XQ`O1G1]O-'tQ`O1G1]O-)TQ`O1G1]O-*pQ`O1G1]O-,PQ`O1G1]O--lQ`O1G1]O-.{Q`O1G1]O-0hQ`O1G1]O-1wQ`O1G1]O-3dQ`O1G1]O-4sQ`O1G1]O-6`Q`O1G1]O-7oQ`O1G1]O-9[Q`O1G1]O-:kQ`O1G1]O-<WQ`O1G1]O-=gQ`O1G1]O-?SQ`O1G1]O-@cQ`O1G1]O-BOQ`O1G1]O-C_Q`O1G1]O-DzQ`O1G1]O-FZQ`O,5:{O-GvQ`O,5>wO-IcQ`O1G0cO-KOQ`O1G0cO$8YQaO1G0cO+)PQaO1G0cO-L_Q`O1G1YO-MzQ`O1G1YO. ZQ`O1G1[O$8YQaO1G1|O$8YQaO7+%sO+)PQaO7+%sO.!vQ`O7+%sO.$cQ`O7+%sO.%rQ`O7+%}O.'_Q`O7+%}O$8YQaO7+'hO.(nQ`O7+'hO.*ZQ`O<<I_O.+vQ`O<<I_O.-VQ`O<<KSO$8YQaO<<KSO$8YQaOAN@nO..rQ`OAN@nO.0_Q`OG26YO$8YQaOG26YO.1zQ`OLD+tO.3gQaO,5:}O.3nQaO,5:}O$8YQaO1G0iO+)PQaO1G0iO.5mQ`O'#I]O.7PQ`O'#I]O.:fQ`O'#IWO.:vQ`O'#FvO.;OQaO,5:mO.;VQ`O,5<bO.;_Q`O,5<bO!%WQ`O,5<bO.;gQ`O1G0XO.<yQ`O,5:{O.>fQ`O,5>wO.@RQ`O1G1|O!%WQ`O1G1|O0aQ`O1G1|O0aQ`O7+'hO.@ZQ`O7+'hO.@cQpO7+'hO.@kQpO<<KSO0aQ`O<<KSO.@sQpOAN@nO.@{Q`O'#IWO.A]Q`O'#IWO.CSQaO,5:mO.CZQaO,5:mO.CbQ`O,5<bO.CjQ`O7+'hO.CrQ`O1G0XO.EUQ`O1G0XO.FhQ`O1G1|O.FpQ`O7+'hO.FxQpO7+'hO.GQQpOAN@nO.GYQpO<<KSO.GbQpOAN@nO.GjQ`O'#FvO.GrQ`O'#FlO.GzQ`O,5<bO!%WQ`O,5<bO!%WQ`O1G1|O0aQ`O1G1|O0aQ`O7+'hO0aQ`O<<KSO.HSQ`O'#FvO.H[Q`O,5<bO.HdQ`O,5<bO!%WQ`O,5<bO!%WQ`O1G1|O!%WQ`O1G1|O0aQ`O1G1|O0aQ`O<<KSO0aQ`O7+'hO0aQ`O<<KSO.HlQ`O'#FlO.HtQ`O'#FlO.H|Q`O'#Fl",stateData:".Ic~O!dOS!eOS&vOS!gQQ~O!iTO&wRO~OPgOQ|OS!lOU^OW}OX!XO[mO]!_O^!WO`![Oa!SOb!]Ok!dOm!lOowOp!TOq!UOsuOt!gOu!VOv!POxkOykO|!bO}`O!O]O!P!eO!QxO!R}O!TpO!UlO!VlO!W!YO!X!QO!YzO!Z!cO![!ZO!]!^O!^!fO!`!`O!a!RO!cjO!mWO!oXO!sYO!y[O#W_O#bhO#daO#ebO#peO$ToO$]nO$^oO$aqO$drO$l!kO$zyO${!OO$}}O%O}O%V|O'g{O~O!g!mO~O&wRO!i!hX&p!hX&t!hX~O!i!pO~O!d!qO!e!qO!g!mO&t!tO&v!qO~PhO!n!vO~PhOT'VXz'VX!S'VX!b'VX!m'VX!o'VX!v'VX!y'VX#S'VX#W'VX#`'VX#a'VX#p#qX#s'VX#z'VX#{'VX#|'VX#}'VX$O'VX$Q'VX$R'VX$S'VX$T'VX$U'VX$V'VX$W'VX$z'VX&s'VX~O!q!xO~P&sOT#TOz#RO!S#UO!b#VO!m#cO!o!{O!v!yO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO&s#cO~OPgOQ|OU^OW}O[mOowOs#hOxkOykO}`O!O]O!QxO!R}O!TpO!UlO!VlO!YzO!cjO!s#gO!y[O#W_O#bhO#daO#ebO#peO$ToO$]nO$^oO$aqO$zyO${!OO$}}O%O}O%V|O'g{O~O!y[O~O!y#kO~OP6]OQ|OU^OW}O[6`Oo=YOs#hOx6^Oy6^O}`O!O]O!Q6dO!R}O!T6cO!U6_O!V6_O!Y6fO!c8fO!s#gO!y[O#S#oO#U#nO#W_O#bhO#daO#ebO#peO$T6bO$]6aO$^6bO$aqO$z6eO${!OO$}}O%O}O%V|O'g{O#X'OP~O!}#sO~P-UO!y#tO~O#b#vO#daO#ebO~O#p#xO~O!s#yO~OU$PO!R$PO!s$OO!v#}O#p2XO~OT&zXz&zX!S&zX!b&zX!m&zX!o&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX&s&zX!x&zX!n&zX~O#u$RO#w$SO~P0rOP6]OQ|OU^OW}O[6`Oo=YOs#hOx6^Oy6^O}`O!O]O!Q6dO!R}O!T6cO!U6_O!V6_O!Y6fO!c8fO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T6bO$]6aO$^6bO$aqO$z6eO${!OO$}}O%O}O%V|O'g{OT#xXz#xX!S#xX!b#xX!m#xX!o#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX&s#xX!x#xX!n#xX~Or$UO#S6yO#U6xO~P2yO!s#gO#peO~OS$gO]$bOk$eOm$gOs$aO!`$cO$drO$l$fO~O!s$kO!y$hO#S$jO~Oo$mOs$lO#b$nO~O!y$hO#S$rO~O$l$tO~P*kOR$zO!o$yO#b$xO#e$yO&q$zO~O'f$|O~P8lO!y%RO~O!y%TO~O!s%VO~O!m#cO&s#cO~P*kO!oXO~O!y%_O~OP6]OQ|OU^OW}O[6`Oo=YOs#hOx6^Oy6^O}`O!O]O!Q6dO!R}O!T6cO!U6_O!V6_O!Y6fO!c8fO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T6bO$]6aO$^6bO$aqO$z6eO${!OO$}}O%O}O%V|O'g{O~O!y%cO~O!s%dO~O]$bO~O!s%hO~O!s%iO~O!s%jO~O!oXO!s#gO#peO~O]%rOs%rO!o%pO!s#gO#p%nO~O!s%vO~O!i%wO&t%wO&wRO~O&t%zO~PhO!n%{O~PhOPgOQ|OU^OW}O[8lOo=yOs#hOx8jOy8jO}`O!O]O!Q8pO!R}O!T8oO!U8kO!V8kO!Y8rO!c8iO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T8nO$]8mO$^8nO$aqO$z8qO${!OO$}}O%O}O%V|O'g{O~O!q%}O~P>UO#X&PO~P>UO!o&SO!s&RO#b&RO~OPgOQ|OU^OW}O[8lOo=yOs#hOx8jOy8jO}`O!O]O!Q8pO!R}O!T8oO!U8kO!V8kO!Y8rO!c8iO!s&VO!y[O#U&WO#W_O#bhO#daO#ebO#peO$T8nO$]8mO$^8nO$aqO$z8qO${!OO$}}O%O}O%V|O'g{O~O!x'SP~PAOO!s&[O#b&[O~OT#TOz#RO!S#UO!b#VO!o!{O!v!yO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO~O!x&nO~PCqO!x'VX!}'VX#O'VX#X'VX!n'VXV'VX!q'VX#u'VX#w'VXw'VX~P&sO!y$hO#S&oO~Oo$mOs$lO~O!o&pO~O!}&sO#S;dO#U;cO!x'OP~P9yOT6iOz6gO!S6jO!b6kO!o!{O!v8sO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}'PX#X'PX~O#O&tO~PGSO!}&wO#X'OX~O#X&yO~O!}'OO!x'QP~P9yO!n'PO~PCqO!m#oa!o#oa#S#oa#p#qX&s#oa!x#oa#O#oaw#oa~OT#oaz#oa!S#oa!b#oa!v#oa!y#oa#W#oa#`#oa#a#oa#s#oa#z#oa#{#oa#|#oa#}#oa$O#oa$Q#oa$R#oa$S#oa$T#oa$U#oa$V#oa$W#oa$z#oa!}#oa#X#oa!n#oaV#oa!q#oa#u#oa#w#oa~PIpO!s'RO~O!x'UO#l'SO~O!x'VX#l'VX#p#qX#S'VX#U'VX#b'VX!o'VX#O'VXw'VX!m'VX&s'VX~O#S'YO~P*kO!m$Xa&s$Xa!x$Xa!n$Xa~PCqO!m$Ya&s$Ya!x$Ya!n$Ya~PCqO!m$Za&s$Za!x$Za!n$Za~PCqO!m$[a&s$[a!x$[a!n$[a~PCqO!o!{O!y!}O#W!zO#`!|O#a!|O#s#PO$z#dOT$[a!S$[a!b$[a!m$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a&s$[a!x$[a!n$[a~Oz#RO~PNyO!m$_a&s$_a!x$_a!n$_a~PCqO!y!}O!}$fX#X$fX~O!}'^O#X'ZX~O#X'`O~O!s$kO#S'aO~O]'cO~O!s'eO~O!s'fO~O$l'gO~O!`'mO#S'kO#U'lO#b'jO$drO!x'XP~P0aO!^'sO!oXO!q'rO~O!s'uO!y$hO~O!y$hO#S'wO~O!y$hO#S'yO~O#u'zO!m$sX!}$sX&s$sX~O!}'{O!m'bX&s'bX~O!m#cO&s#cO~O!q(PO#O(OO~O!m$ka&s$ka!x$ka!n$ka~PCqOl(ROw(SO!o(TO!y!}O~O!o!{O!y!}O#W!zO#`!|O#a!|O#s#PO~OT$yaz$ya!S$ya!b$ya!m$ya!v$ya#S$ya#z$ya#{$ya#|$ya#}$ya$O$ya$Q$ya$R$ya$S$ya$T$ya$U$ya$V$ya$W$ya$z$ya&s$ya!x$ya!}$ya#O$ya#X$ya!n$ya!q$yaV$ya#u$ya#w$ya~P!'WO!m$|a&s$|a!x$|a!n$|a~PCqO#W([O#`(YO#a(YO&r(ZOR&gX!o&gX#b&gX#e&gX&q&gX'f&gX~O'f(_O~P8lO!q(`O~PhO!o(cO!q(dO~O!q(`O&s(gO~PhO!a(kO~O!m(lO~P9yOZ(wOn(xO~O!s(zO~OT6iOz6gO!S6jO!b6kO!v8sO!}({O#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'jX&s'jX~P!'WO#u)PO~O!})QO!m'`X&s'`X~Ol(RO!o(TO~Ow(SO!o)WO!q)ZO~O!m#cO!oXO&s#cO~O!o%pO!s#yO~OV)aO!})_O!m'kX&s'kX~O])cOs)cO!s#gO#peO~O!o%pO!s#gO#p)hO~OT6iOz6gO!S6jO!b6kO!v8sO!})iO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&|X&s&|X#O&|X~P!'WOl(ROw(SO!o(TO~O!i)oO&t)oO~OT8vOz8tO!S8wO!b8xO!q)pO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#X)rO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!n)rO~PCqOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'TX!}'TX~P!'WOT'VXz'VX!S'VX!b'VX!o'VX!v'VX!y'VX#S'VX#W'VX#`'VX#a'VX#p#qX#s'VX#z'VX#{'VX#|'VX#}'VX$O'VX$Q'VX$R'VX$S'VX$T'VX$U'VX$V'VX$W'VX$z'VX~O!q)tO!x'VX!}'VX~P!5xO!x#iX!}#iX~P>UO!})vO!x'SX~O!x)xO~O$z#dOT#yiz#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi$W#yi&s#yi!x#yi!}#yi#O#yi#X#yi!n#yi!q#yiV#yi#u#yi#w#yi~P!'WOz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi&s#yi!x#yi!n#yi~P!'WOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi&s#yi!x#yi!n#yi~P!'WOT#TOz#RO!b#VO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO!S#yi!m#yi&s#yi!x#yi!n#yi~P!'WOT#TOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO!S#yi!b#yi!m#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi#}#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi~P!'WOz#RO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi~P!'WOz#RO$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi&s#yi!x#yi!n#yi~P!'WOz#RO$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi&s#yi!x#yi!n#yi~P!'WOz#RO$T#`O$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$S#_O$T#`O$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi&s#yi!x#yi!n#yi~P!'WO_)yO~P9yO!x)|O~O#S*PO~P9yOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Ta#X#Ta#O#Ta!m#Ta&s#Ta!x#Ta!n#TaV#Ta!q#Ta~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}'Pa#X'Pa#O'Pa!m'Pa&s'Pa!x'Pa!n'PaV'Pa!q'Pa~P!'WO#S#oO#U#nO!}&WX#X&WX~P9yO!}&wO#X'Oa~O#X*SO~OT6iOz6gO!S6jO!b6kO!v8sO!}*UO#O*TO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x'QX~P!'WO!}*UO!x'QX~O!x*WO~O!m#oi!o#oi#S#oi#p#qX&s#oi!x#oi#O#oiw#oi~OT#oiz#oi!S#oi!b#oi!v#oi!y#oi#W#oi#`#oi#a#oi#s#oi#z#oi#{#oi#|#oi#}#oi$O#oi$Q#oi$R#oi$S#oi$T#oi$U#oi$V#oi$W#oi$z#oi!}#oi#X#oi!n#oiV#oi!q#oi#u#oi#w#oi~P#*zO#l'SO!x#ka#S#ka#U#ka#b#ka!o#ka#O#kaw#ka!m#ka&s#ka~OPgOQ|OU^OW}O[4OOo5xOs#hOx3zOy3zO}`O!O]O!Q2^O!R}O!T4UO!U3|O!V3|O!Y2`O!c3xO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4SO$]4QO$^4SO$aqO$z2_O${!OO$}}O%O}O%V|O'g{O~O#l#oa#U#oa#b#oa~PIpOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#Pi!S#Pi!b#Pi!m#Pi&s#Pi!x#Pi!n#Pi~P!'WOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#vi!S#vi!b#vi!m#vi&s#vi!x#vi!n#vi~P!'WO!m#xi&s#xi!x#xi!n#xi~PCqO!s#gO#peO!}&^X#X&^X~O!}'^O#X'Za~O!s'uO~Ow(SO!o)WO!q*fO~O!s*jO~O#S*lO#U*mO#b*kO#l'SO~O#S*lO#U*mO#b*kO$drO~P0aO#u*oO!x$cX!}$cX~O#U*mO#b*kO~O#b*pO~O#b*rO~P0aO!}*sO!x'XX~O!x*uO~O!y*wO~O!^*{O!oXO!q*zO~O!q*}O!o'ci!m'ci&s'ci~O!q+QO#O+PO~O#b$nO!m&eX!}&eX&s&eX~O!}'{O!m'ba&s'ba~OT$kiz$ki!S$ki!b$ki!m$ki!o$ki!v$ki!y$ki#S$ki#W$ki#`$ki#a$ki#s$ki#u#fa#w#fa#z$ki#{$ki#|$ki#}$ki$O$ki$Q$ki$R$ki$S$ki$T$ki$U$ki$V$ki$W$ki$z$ki&s$ki!x$ki!}$ki#O$ki#X$ki!n$ki!q$kiV$ki~OS+^O]+aOm+^Os$aO!^+dO!_+^O!`+^O!n+hO#b$nO$aqO$drO~P0aO!s+lO~O#W+nO#`+mO#a+mO~O!s+pO#b+pO$}+pO%T+oO~O!n+qO~PCqOc%XXd%XXh%XXj%XXf%XXg%XXe%XX~PhOc+uOd+sOP%WiQ%WiS%WiU%WiW%WiX%Wi[%Wi]%Wi^%Wi`%Wia%Wib%Wik%Wim%Wio%Wip%Wiq%Wis%Wit%Wiu%Wiv%Wix%Wiy%Wi|%Wi}%Wi!O%Wi!P%Wi!Q%Wi!R%Wi!T%Wi!U%Wi!V%Wi!W%Wi!X%Wi!Y%Wi!Z%Wi![%Wi!]%Wi!^%Wi!`%Wi!a%Wi!c%Wi!m%Wi!o%Wi!s%Wi!y%Wi#W%Wi#b%Wi#d%Wi#e%Wi#p%Wi$T%Wi$]%Wi$^%Wi$a%Wi$d%Wi$l%Wi$z%Wi${%Wi$}%Wi%O%Wi%V%Wi&p%Wi'g%Wi&t%Wi!n%Wih%Wij%Wif%Wig%WiY%Wi_%Wii%Wie%Wi~Oc+yOd+vOh+xO~OY+zO_+{O!n,OO~OY+zO_+{Oi%^X~Oi,QO~Oj,RO~O!m,TO~P9yO!m,VO~Of,WO~OT6iOV,XOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WOg,YO~O!y,ZO~OZ(wOn(xOP%liQ%liS%liU%liW%liX%li[%li]%li^%li`%lia%lib%lik%lim%lio%lip%liq%lis%lit%liu%liv%lix%liy%li|%li}%li!O%li!P%li!Q%li!R%li!T%li!U%li!V%li!W%li!X%li!Y%li!Z%li![%li!]%li!^%li!`%li!a%li!c%li!m%li!o%li!s%li!y%li#W%li#b%li#d%li#e%li#p%li$T%li$]%li$^%li$a%li$d%li$l%li$z%li${%li$}%li%O%li%V%li&p%li'g%li&t%li!n%lic%lid%lih%lij%lif%lig%liY%li_%lii%lie%li~O#u,_O~O!}({O!m%da&s%da~O!x,bO~O!s%dO!m&dX!}&dX&s&dX~O!})QO!m'`a&s'`a~OS+^OY,iOm+^Os$aO!^+dO!_+^O!`+^O$aqO$drO~O!n,lO~P#JwO!o)WO~O!o%pO!s'RO~O!s#gO#peO!m&nX!}&nX&s&nX~O!})_O!m'ka&s'ka~O!s,rO~OV,sO!n%|X!}%|X~O!},uO!n'lX~O!n,wO~O!m&UX!}&UX&s&UX#O&UX~P9yO!})iO!m&|a&s&|a#O&|a~Oz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT!uq!S!uq!b!uq!m!uq!v!uq&s!uq!x!uq!n!uq~P!'WO!n,|O~PCqOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#ia!}#ia~P!'WO!x&YX!}&YX~PAOO!})vO!x'Sa~O#O-QO~O!}-RO!n&{X~O!n-TO~O!x-UO~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Vi#X#Vi~P!'WO!x&XX!}&XX~P9yO!}*UO!x'Qa~O!x-[O~OT#jqz#jq!S#jq!b#jq!m#jq!v#jq#S#jq#u#jq#w#jq#z#jq#{#jq#|#jq#}#jq$O#jq$Q#jq$R#jq$S#jq$T#jq$U#jq$V#jq$W#jq$z#jq&s#jq!x#jq!}#jq#O#jq#X#jq!n#jq!q#jqV#jq~P!'WO#l#oi#U#oi#b#oi~P#*zOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#Pq!S#Pq!b#Pq!m#Pq&s#Pq!x#Pq!n#Pq~P!'WO#u-dO!x$ca!}$ca~O#U-fO#b-eO~O#b-gO~O#S-hO#U-fO#b-eO#l'SO~O#b-jO#l'SO~O#u-kO!x$ha!}$ha~O!`'mO#S'kO#U'lO#b'jO$drO!x&_X!}&_X~P0aO!}*sO!x'Xa~O!oXO#l'SO~O#S-pO#b-oO!x'[P~O!oXO!q-rO~O!q-uO!o'cq!m'cq&s'cq~O!^-wO!oXO!q-rO~O!q-{O#O-zO~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m$si!}$si&s$si~P!'WO!m$jq&s$jq!x$jq!n$jq~PCqO#O-zO#l'SO~O!}-|Ow']X!o']X!m']X&s']X~O#b$nO#l'SO~OS+^O].ROm+^Os$aO!_+^O!`+^O#b$nO$aqO$drO~P0aOS+^O].ROm+^Os$aO!_+^O!`+^O#b$nO$aqO~P0aOS+^O]+aOm+^Os$aO!^+dO!_+^O!`+^O!n.ZO#b$nO$aqO$drO~P0aO!s.^O~O!s._O#b._O$}._O%T+oO~O$}.`O~O#X.aO~Oc%Xad%Xah%Xaj%Xaf%Xag%Xae%Xa~PhOc.dOd+sOP%WqQ%WqS%WqU%WqW%WqX%Wq[%Wq]%Wq^%Wq`%Wqa%Wqb%Wqk%Wqm%Wqo%Wqp%Wqq%Wqs%Wqt%Wqu%Wqv%Wqx%Wqy%Wq|%Wq}%Wq!O%Wq!P%Wq!Q%Wq!R%Wq!T%Wq!U%Wq!V%Wq!W%Wq!X%Wq!Y%Wq!Z%Wq![%Wq!]%Wq!^%Wq!`%Wq!a%Wq!c%Wq!m%Wq!o%Wq!s%Wq!y%Wq#W%Wq#b%Wq#d%Wq#e%Wq#p%Wq$T%Wq$]%Wq$^%Wq$a%Wq$d%Wq$l%Wq$z%Wq${%Wq$}%Wq%O%Wq%V%Wq&p%Wq'g%Wq&t%Wq!n%Wqh%Wqj%Wqf%Wqg%WqY%Wq_%Wqi%Wqe%Wq~Oc.iOd+vOh.hO~O!q(`O~OP6]OQ|OU^OW}O[:fOo>ROs#hOx:dOy:dO}`O!O]O!Q:kO!R}O!T:jO!U:eO!V:eO!Y:oO!c8gO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:hO$]:gO$^:hO$aqO$z:mO${!OO$}}O%O}O%V|O'g{O~O!m.lO!q.lO~OY+zO_+{O!n.nO~OY+zO_+{Oi%^a~O!x.rO~P>UO!m.tO~O!m.tO~P9yOQ|OW}O!R}O$}}O%O}O%V|O'g{O~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&ka!}&ka&s&ka~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m$qi!}$qi&s$qi~P!'WOS+^Om+^Os$aO!_+^O!`+^O$aqO$drO~OY/PO~P$?VOS+^Om+^Os$aO!_+^O!`+^O$aqO~O!s/QO~O!n/SO~P#JwOw(SO!o)WO#l'SO~OV/VO!m&na!}&na&s&na~O!})_O!m'ki&s'ki~O!s/XO~OV/YO!n%|a!}%|a~O]/[Os/[O!s#gO#peO!n&oX!}&oX~O!},uO!n'la~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&Ua!}&Ua&s&Ua#O&Ua~P!'WOz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT!uy!S!uy!b!uy!m!uy!v!uy&s!uy!x!uy!n!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#hi!}#hi~P!'WO_)yO!n&VX!}&VX~P9yO!}-RO!n&{a~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Vq#X#Vq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#[i!}#[i~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#O/cO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x&Xa!}&Xa~P!'WO#u/iO!x$ci!}$ci~O#b/jO~O#U/lO#b/kO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$ci!}$ci~P!'WO#u/mO!x$hi!}$hi~O!}/oO!x'[X~O#b/qO~O!x/rO~O!oXO!q/uO~O#l'SO!o'cy!m'cy&s'cy~O!m$jy&s$jy!x$jy!n$jy~PCqO#O/xO#l'SO~O!s#gO#peOw&aX!o&aX!}&aX!m&aX&s&aX~O!}-|Ow']a!o']a!m']a&s']a~OU$PO]0QO!R$PO!s$OO!v#}O#b$nO#p2XO~P$?uO!m#cO!o0VO&s#cO~O#X0YO~Oh0_O~OT:tOz:pO!S:vO!b:xO!m0`O!q0`O!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO~P!'WOY%]a_%]a!n%]ai%]a~PhO!x0bO~O!x0bO~P>UO!m0dO~OT6iOz6gO!S6jO!b6kO!v8sO!x0fO#O0eO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WO!x0fO~O!x0gO#b0hO#l'SO~O!x0iO~O!s0jO~O!m#cO#u0lO&s#cO~O!s0mO~O!})_O!m'kq&s'kq~O!s0nO~OV0oO!n%}X!}%}X~OT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!n!|i!}!|i~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$cq!}$cq~P!'WO#u0vO!x$cq!}$cq~O#b0wO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$hq!}$hq~P!'WO#S0zO#b0yO!x&`X!}&`X~O!}/oO!x'[a~O#l'SO!o'c!R!m'c!R&s'c!R~O!oXO!q1PO~O!m$j!R&s$j!R!x$j!R!n$j!R~PCqO#O1RO#l'SO~OP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!n1^O!s1YO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOh1_O~OY%[i_%[i!n%[ii%[i~PhOY%]i_%]i!n%]ii%]i~PhO!x1bO~O!x1bO~P>UO!x1eO~O!m#cO#u1iO&s#cO~O$}1jO%V1jO~O!s1kO~OV1lO!n%}a!}%}a~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#]i!}#]i~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$cy!}$cy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$hy!}$hy~P!'WO#b1nO~O!}/oO!x'[i~O!m$j!Z&s$j!Z!x$j!Z!n$j!Z~PCqOT:uOz:qO!S:wO!b:yO!v=nO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dO~P!'WOV1uO{1tO~P!5xOV1uO{1tOT&}Xz&}X!S&}X!b&}X!o&}X!v&}X!y&}X#S&}X#W&}X#`&}X#a&}X#s&}X#u&}X#w&}X#z&}X#{&}X#|&}X#}&}X$O&}X$Q&}X$R&}X$S&}X$T&}X$U&}X$V&}X$W&}X$z&}X~OP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!n1xO!s1YO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOY%[q_%[q!n%[qi%[q~PhO!x1zO~O!x%gi~PCqOe1{O~O$}1|O%V1|O~O!s2OO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$c!R!}$c!R~P!'WO!m$j!c&s$j!c!x$j!c!n$j!c~PCqO!s2QO~O!`2SO!s2RO~O!s2VO!m$xi&s$xi~O!s'WO~O!s*]O~OT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$ka#u$ka#w$ka&s$ka!x$ka!n$ka!q$ka#X$ka!}$ka~P!'WO#S2]O~P*kO$l$tO~P#.YOT6iOz6gO!S6jO!b6kO!v8sO#O2[O#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'PX&s'PX!x'PX!n'PX~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#O3uO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}'PX#X'PX#u'PX#w'PX!m'PX&s'PX!x'PX!n'PXV'PX!q'PX~P!'WO#S3dO~P#.YOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Xa#u$Xa#w$Xa&s$Xa!x$Xa!n$Xa!q$Xa#X$Xa!}$Xa~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Ya#u$Ya#w$Ya&s$Ya!x$Ya!n$Ya!q$Ya#X$Ya!}$Ya~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Za#u$Za#w$Za&s$Za!x$Za!n$Za!q$Za#X$Za!}$Za~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$[a#u$[a#w$[a&s$[a!x$[a!n$[a!q$[a#X$[a!}$[a~P!'WOz2aO#u$[a#w$[a!q$[a#X$[a!}$[a~PNyOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$_a#u$_a#w$_a&s$_a!x$_a!n$_a!q$_a#X$_a!}$_a~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$|a#u$|a#w$|a&s$|a!x$|a!n$|a!q$|a#X$|a!}$|a~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!S#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!S#yi!b#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$T2nO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$S2mO$T2nO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m#Ta#u#Ta#w#Ta&s#Ta!x#Ta!n#Ta!q#Ta#X#Ta!}#Ta~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m'Pa#u'Pa#w'Pa&s'Pa!x'Pa!n'Pa!q'Pa#X'Pa!}'Pa~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#Pi!S#Pi!b#Pi!m#Pi#u#Pi#w#Pi&s#Pi!x#Pi!n#Pi!q#Pi#X#Pi!}#Pi~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#vi!S#vi!b#vi!m#vi#u#vi#w#vi&s#vi!x#vi!n#vi!q#vi#X#vi!}#vi~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m#xi#u#xi#w#xi&s#xi!x#xi!n#xi!q#xi#X#xi!}#xi~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT!uq!S!uq!b!uq!m!uq!v!uq#u!uq#w!uq&s!uq!x!uq!n!uq!q!uq#X!uq!}!uq~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#Pq!S#Pq!b#Pq!m#Pq#u#Pq#w#Pq&s#Pq!x#Pq!n#Pq!q#Pq#X#Pq!}#Pq~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$jq#u$jq#w$jq&s$jq!x$jq!n$jq!q$jq#X$jq!}$jq~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT!uy!S!uy!b!uy!m!uy!v!uy#u!uy#w!uy&s!uy!x!uy!n!uy!q!uy#X!uy!}!uy~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$jy#u$jy#w$jy&s$jy!x$jy!n$jy!q$jy#X$jy!}$jy~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!R#u$j!R#w$j!R&s$j!R!x$j!R!n$j!R!q$j!R#X$j!R!}$j!R~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!Z#u$j!Z#w$j!Z&s$j!Z!x$j!Z!n$j!Z!q$j!Z#X$j!Z!}$j!Z~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!c#u$j!c#w$j!c&s$j!c!x$j!c!n$j!c!q$j!c#X$j!c!}$j!c~P!'WOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S3vO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lO#u2uO#w2vO!q&zX#X&zX!}&zX~P0rOP6]OU^O[4POo8^Or2wOs#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S2tO#U2sO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OOT#xXz#xX!S#xX!b#xX!m#xX!o#xX!v#xX#`#xX#a#xX#s#xX#u#xX#w#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX&s#xX!x#xX!n#xX!q#xX#X#xX!}#xX~P$;lOP6]OU^O[4POo8^Or4xOs#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S4uO#U4tO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OOT#xXz#xX!S#xX!b#xX!o#xX!v#xX!}#xX#O#xX#X#xX#`#xX#a#xX#s#xX#u#xX#w#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX!m#xX&s#xX!x#xX!n#xXV#xX!q#xX~P$;lO!q3PO~P>UO!q5}O#O3gO~OT8vOz8tO!S8wO!b8xO!q3hO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q6OO#O3kO~O!q6PO#O3oO~O#O3oO#l'SO~O#O3pO#l'SO~O#O3sO#l'SO~OP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$l$tO$z4bO${!OO~P$;lOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S5eO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Xa#O$Xa#X$Xa#u$Xa#w$Xa!m$Xa&s$Xa!x$Xa!n$XaV$Xa!q$Xa~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Ya#O$Ya#X$Ya#u$Ya#w$Ya!m$Ya&s$Ya!x$Ya!n$YaV$Ya!q$Ya~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Za#O$Za#X$Za#u$Za#w$Za!m$Za&s$Za!x$Za!n$ZaV$Za!q$Za~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$[a#O$[a#X$[a#u$[a#w$[a!m$[a&s$[a!x$[a!n$[aV$[a!q$[a~P!'WOz4dO!}$[a#O$[a#X$[a#u$[a#w$[aV$[a!q$[a~PNyOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$_a#O$_a#X$_a#u$_a#w$_a!m$_a&s$_a!x$_a!n$_aV$_a!q$_a~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$|a#O$|a#X$|a#u$|a#w$|a!m$|a&s$|a!x$|a!n$|aV$|a!q$|a~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!S#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!S#yi!b#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$T4qO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$S4pO$T4qO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}#Ta#O#Ta#X#Ta#u#Ta#w#Ta!m#Ta&s#Ta!x#Ta!n#TaV#Ta!q#Ta~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}'Pa#O'Pa#X'Pa#u'Pa#w'Pa!m'Pa&s'Pa!x'Pa!n'PaV'Pa!q'Pa~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#Pi!S#Pi!b#Pi!}#Pi#O#Pi#X#Pi#u#Pi#w#Pi!m#Pi&s#Pi!x#Pi!n#PiV#Pi!q#Pi~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#vi!S#vi!b#vi!}#vi#O#vi#X#vi#u#vi#w#vi!m#vi&s#vi!x#vi!n#viV#vi!q#vi~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}#xi#O#xi#X#xi#u#xi#w#xi!m#xi&s#xi!x#xi!n#xiV#xi!q#xi~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT!uq!S!uq!b!uq!v!uq!}!uq#O!uq#X!uq#u!uq#w!uq!m!uq&s!uq!x!uq!n!uqV!uq!q!uq~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#Pq!S#Pq!b#Pq!}#Pq#O#Pq#X#Pq#u#Pq#w#Pq!m#Pq&s#Pq!x#Pq!n#PqV#Pq!q#Pq~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$jq#O$jq#X$jq#u$jq#w$jq!m$jq&s$jq!x$jq!n$jqV$jq!q$jq~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT!uy!S!uy!b!uy!v!uy!}!uy#O!uy#X!uy#u!uy#w!uy!m!uy&s!uy!x!uy!n!uyV!uy!q!uy~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$jy#O$jy#X$jy#u$jy#w$jy!m$jy&s$jy!x$jy!n$jyV$jy!q$jy~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!R#O$j!R#X$j!R#u$j!R#w$j!R!m$j!R&s$j!R!x$j!R!n$j!RV$j!R!q$j!R~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!Z#O$j!Z#X$j!Z#u$j!Z#w$j!Z!m$j!Z&s$j!Z!x$j!Z!n$j!ZV$j!Z!q$j!Z~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!c#O$j!c#X$j!c#u$j!c#w$j!c!m$j!c&s$j!c!x$j!c!n$j!cV$j!c!q$j!c~P!'WO#S5wO~P#.YO!y$hO#S5{O~O!x4ZO#l'SO~O!y$hO#S5|O~OT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$ka#O$ka#X$ka#u$ka#w$ka!m$ka&s$ka!x$ka!n$kaV$ka!q$ka~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#O5vO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!m'PX#u'PX#w'PX&s'PX!x'PX!n'PX!q'PX#X'PX!}'PX~P!'WO#u4vO#w4wO!}&zX#O&zX#X&zXV&zX!q&zX~P0rO!q5QO~P>UO!q8bO#O5hO~OT8vOz8tO!S8wO!b8xO!q5iO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q8cO#O5lO~O!q8dO#O5pO~O#O5pO#l'SO~O#O5qO#l'SO~O#O5tO#l'SO~O$l$tO~P9yOo5zOs$lO~O#S7oO~P9yOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Xa#O$Xa#X$Xa!m$Xa&s$Xa!x$Xa!n$XaV$Xa!q$Xa~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Ya#O$Ya#X$Ya!m$Ya&s$Ya!x$Ya!n$YaV$Ya!q$Ya~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Za#O$Za#X$Za!m$Za&s$Za!x$Za!n$ZaV$Za!q$Za~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$[a#O$[a#X$[a!m$[a&s$[a!x$[a!n$[aV$[a!q$[a~P!'WOz6gO!}$[a#O$[a#X$[aV$[a!q$[a~PNyOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$_a#O$_a#X$_a!m$_a&s$_a!x$_a!n$_aV$_a!q$_a~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$ka#O$ka#X$ka!m$ka&s$ka!x$ka!n$kaV$ka!q$ka~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$|a#O$|a#X$|a!m$|a&s$|a!x$|a!n$|aV$|a!q$|a~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO!}7sO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'jX~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO!}7uO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&|X~P!'WOz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT6iOz6gO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!S#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT6iOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!S#yi!b#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi#}#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$T6tO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$S6sO$T6tO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WO#S7zO~P>UO!m#Ta&s#Ta!x#Ta!n#Ta~PCqO!m'Pa&s'Pa!x'Pa!n'Pa~PCqO#S;dO#U;cO!x&WX!}&WX~P9yO!}7lO!x'Oa~Oz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#Pi!S#Pi!b#Pi!}#Pi#O#Pi#X#Pi!m#Pi&s#Pi!x#Pi!n#PiV#Pi!q#Pi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#vi!S#vi!b#vi!}#vi#O#vi#X#vi!m#vi&s#vi!x#vi!n#viV#vi!q#vi~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#xi#O#xi#X#xi!m#xi&s#xi!x#xi!n#xiV#xi!q#xi~P!'WO!}7sO!x%da~O!x&UX!}&UX~P>UO!}7uO!x&|a~Oz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT!uq!S!uq!b!uq!v!uq!}!uq#O!uq#X!uq!m!uq&s!uq!x!uq!n!uqV!uq!q!uq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Vi!}#Vi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#Pq!S#Pq!b#Pq!}#Pq#O#Pq#X#Pq!m#Pq&s#Pq!x#Pq!n#PqV#Pq!q#Pq~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$jq#O$jq#X$jq!m$jq&s$jq!x$jq!n$jqV$jq!q$jq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&ka!}&ka~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&Ua!}&Ua~P!'WOz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT!uy!S!uy!b!uy!v!uy!}!uy#O!uy#X!uy!m!uy&s!uy!x!uy!n!uyV!uy!q!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Vq!}#Vq~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$jy#O$jy#X$jy!m$jy&s$jy!x$jy!n$jyV$jy!q$jy~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!R#O$j!R#X$j!R!m$j!R&s$j!R!x$j!R!n$j!RV$j!R!q$j!R~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!Z#O$j!Z#X$j!Z!m$j!Z&s$j!Z!x$j!Z!n$j!ZV$j!Z!q$j!Z~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!c#O$j!c#X$j!c!m$j!c&s$j!c!x$j!c!n$j!cV$j!c!q$j!c~P!'WO#S8[O~P9yO#O8ZO!m'PX&s'PX!x'PX!n'PXV'PX!q'PX~PGSO!y$hO#S8`O~O!y$hO#S8aO~O#u6zO#w6{O!}&zX#O&zX#X&zXV&zX!q&zX~P0rOr6|O#S#oO#U#nO!}#xX#O#xX#X#xXV#xX!q#xX~P2yOr;iO#S9XO#U9VOT#xXz#xX!S#xX!b#xX!m#xX!o#xX!q#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX!n#xX!}#xX~P9yOr9WO#S9WO#U9WOT#xXz#xX!S#xX!b#xX!o#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX~P9yOr9]O#S;dO#U;cOT#xXz#xX!S#xX!b#xX!o#xX!q#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX#X#xX!x#xX!}#xX~P9yO$l$tO~P>UO!q7XO~P>UOT6iOz6gO!S6jO!b6kO!v8sO#O7iO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x'PX!}'PX~P!'WOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lO!}7lO!x'OX~O#S9yO~P>UOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Xa#X$Xa!x$Xa!}$Xa~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Ya#X$Ya!x$Ya!}$Ya~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Za#X$Za!x$Za!}$Za~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$[a#X$[a!x$[a!}$[a~P!'WOz8tO$z#dOT$[a!S$[a!b$[a!q$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a#X$[a!x$[a!}$[a~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$_a#X$_a!x$_a!}$_a~P!'WO!q=dO#O7rO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$ka#X$ka!x$ka!}$ka~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$|a#X$|a!x$|a!}$|a~P!'WOT8vOz8tO!S8wO!b8xO!q7wO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#X#yi!x#yi!}#yi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi#X#yi!x#yi!}#yi~P!'WOT8vOz8tO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!S#yi!q#yi#X#yi!x#yi!}#yi~P!'WOT8vOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!S#yi!b#yi!q#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi#X#yi!x#yi!}#yi~P!'WOz8tO$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi#X#yi!x#yi!}#yi~P!'WOz8tO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi#X#yi!x#yi!}#yi~P!'WOz8tO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi#X#yi!x#yi!}#yi~P!'WOz8tO$T9RO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$S9QO$T9RO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi#X#yi!x#yi!}#yi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#Pi!S#Pi!b#Pi!q#Pi#X#Pi!x#Pi!}#Pi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#vi!S#vi!b#vi!q#vi#X#vi!x#vi!}#vi~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q#xi#X#xi!x#xi!}#xi~P!'WO!q=eO#O7|O~Oz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT!uq!S!uq!b!uq!q!uq!v!uq#X!uq!x!uq!}!uq~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#Pq!S#Pq!b#Pq!q#Pq#X#Pq!x#Pq!}#Pq~P!'WO!q=iO#O8TO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$jq#X$jq!x$jq!}$jq~P!'WO#O8TO#l'SO~Oz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT!uy!S!uy!b!uy!q!uy!v!uy#X!uy!x!uy!}!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$jy#X$jy!x$jy!}$jy~P!'WO#O8UO#l'SO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!R#X$j!R!x$j!R!}$j!R~P!'WO#O8XO#l'SO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!Z#X$j!Z!x$j!Z!}$j!Z~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!c#X$j!c!x$j!c!}$j!c~P!'WO#S:bO~P>UO#O:aO!q'PX!x'PX~PGSO$l$tO~P$8YOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$l$tO$z:nO${!OO~P$;lOo8_Os$lO~O#S<jO~P$8YOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#S<kO#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m$Xa!q$Xa!n$Xa!}$Xa~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m$Ya!q$Ya!n$Ya!}$Ya~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m$Za!q$Za!n$Za!}$Za~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m$[a!q$[a!n$[a!}$[a~P!'WOz:pO$z#dOT$[a!S$[a!b$[a!m$[a!q$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a!n$[a!}$[a~P!'WOz:qO$z#dOT$[a!S$[a!b$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m$_a!q$_a!n$_a!}$_a~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m$ka!q$ka!n$ka!}$ka~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m$|a!q$|a!n$|a!}$|a~P!'WOz:pO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dOT#yi!S#yi!b#yi!m#yi!q#yi!v#yi!n#yi!}#yi~P!'WOz:qO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dOT#yi!S#yi!b#yi!v#yi~P!'WOz:pO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dOT#yi!S#yi!b#yi!m#yi!q#yi!n#yi!}#yi~P!'WOz:qO!v=nO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dOT#yi!S#yi!b#yi~P!'WOT:tOz:pO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!S#yi!m#yi!q#yi!n#yi!}#yi~P!'WOT:uOz:qO!b:yO!v=nO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dO!S#yi~P!'WOT:tOz:pO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!S#yi!b#yi!m#yi!q#yi!n#yi!}#yi~P!'WOT:uOz:qO!v=nO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dO!S#yi!b#yi~P!'WOz:pO#S#QO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dOT#yi!S#yi!b#yi!m#yi!q#yi!v#yi#z#yi#{#yi!n#yi!}#yi~P!'WOz:qO#S#QO#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dOT#yi!S#yi!b#yi!v#yi#z#yi#{#yi~P!'WOz:pO#S#QO#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dOT#yi!S#yi!b#yi!m#yi!q#yi!v#yi#z#yi#{#yi#|#yi!n#yi!}#yi~P!'WOz:qO#S#QO#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dOT#yi!S#yi!b#yi!v#yi#z#yi#{#yi#|#yi~P!'WOz:pO#S#QO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dOT#yi!S#yi!b#yi!m#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi!n#yi!}#yi~P!'WOz:qO#S#QO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dOT#yi!S#yi!b#yi!v#yi#z#yi#{#yi#|#yi#}#yi~P!'WOz:pO#S#QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dOT#yi!S#yi!b#yi!m#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi!n#yi!}#yi~P!'WOz:qO#S#QO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dOT#yi!S#yi!b#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi~P!'WOz:pO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dOT#yi!S#yi!b#yi!m#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi!n#yi!}#yi~P!'WOz:qO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dOT#yi!S#yi!b#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi~P!'WOz:pO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dOT#yi!S#yi!b#yi!m#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!n#yi!}#yi~P!'WOz:qO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dOT#yi!S#yi!b#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi~P!'WOz:pO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dOT#yi!S#yi!b#yi!m#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!n#yi!}#yi~P!'WOz:qO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dOT#yi!S#yi!b#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi~P!'WOz:pO$T;[O$V;`O$W;`O$z#dOT#yi!S#yi!b#yi!m#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!n#yi!}#yi~P!'WOz:qO$T;]O$V;aO$W;aO$z#dOT#yi!S#yi!b#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi~P!'WOz:pO$V;`O$W;`O$z#dOT#yi!S#yi!b#yi!m#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!n#yi!}#yi~P!'WOz:qO$V;aO$W;aO$z#dOT#yi!S#yi!b#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi~P!'WOz:pO$S;YO$T;[O$V;`O$W;`O$z#dOT#yi!S#yi!b#yi!m#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!n#yi!}#yi~P!'WOz:qO$S;ZO$T;]O$V;aO$W;aO$z#dOT#yi!S#yi!b#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi~P!'WOz:pO$W;`O$z#dOT#yi!S#yi!b#yi!m#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!n#yi!}#yi~P!'WOz:qO$W;aO$z#dOT#yi!S#yi!b#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Ta!}#Ta!q#Ta#X#Ta~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'Pa!}'Pa!q'Pa#X'Pa~P!'WOz:pO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dOT#Pi!S#Pi!b#Pi!m#Pi!q#Pi!n#Pi!}#Pi~P!'WOz:qO!v=nO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dOT#Pi!S#Pi!b#Pi~P!'WOz:pO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dOT#vi!S#vi!b#vi!m#vi!q#vi!n#vi!}#vi~P!'WOz:qO!v=nO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dOT#vi!S#vi!b#vi~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m#xi!q#xi!n#xi!}#xi~P!'WOz:pO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dOT!uq!S!uq!b!uq!m!uq!q!uq!v!uq!n!uq!}!uq~P!'WOz:qO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dOT!uq!S!uq!b!uq!v!uq~P!'WOz:pO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dOT#Pq!S#Pq!b#Pq!m#Pq!q#Pq!n#Pq!}#Pq~P!'WOz:qO!v=nO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dOT#Pq!S#Pq!b#Pq~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m$jq!q$jq!n$jq!}$jq~P!'WOz:pO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dOT!uy!S!uy!b!uy!m!uy!q!uy!v!uy!n!uy!}!uy~P!'WOz:qO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dOT!uy!S!uy!b!uy!v!uy~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m$jy!q$jy!n$jy!}$jy~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m$j!R!q$j!R!n$j!R!}$j!R~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m$j!Z!q$j!Z!n$j!Z!}$j!Z~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m$j!c!q$j!c!n$j!c!}$j!c~P!'WO#S=TO~P$8YOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#S=UO#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOT6iOz6gO!S6jO!b6kO!v8sO#O=SO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#O=RO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'PX!q'PX!n'PX!}'PX~P!'WOT&zXz&zX!S&zX!b&zX!o&zX!q&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX!}&zX~O#u9ZO#w9[O#X&zX!x&zX~P.8oO!y$hO#S=^O~O!q9hO~P>UO!y$hO#S=cO~O!q>OO#O9}O~OT8vOz8tO!S8wO!b8xO!q:OO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m#Ta!q#Ta!n#Ta!}#Ta~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m'Pa!q'Pa!n'Pa!}'Pa~P!'WO!q>PO#O:RO~O!q>QO#O:YO~O#O:YO#l'SO~O#O:ZO#l'SO~O#O:_O#l'SO~O#u;eO#w;gO!m&zX!n&zX~P.8oO#u;fO#w;hOT&zXz&zX!S&zX!b&zX!o&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX~O!q;tO~P>UO!q;uO~P>UO!q>XO#O<oO~O!q>YO#O9WO~OT8vOz8tO!S8wO!b8xO!q<pO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT8vOz8tO!S8wO!b8xO!q<qO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q>ZO#O<vO~O!q>[O#O<{O~O#O<{O#l'SO~O#O9WO#l'SO~O#O<|O#l'SO~O#O=PO#l'SO~O!y$hO#S=|O~Oo=[Os$lO~O!y$hO#S=}O~O!y$hO#S>UO~O!y$hO#S>VO~O!y$hO#S>WO~Oo={Os$lO~Oo>TOs$lO~Oo>SOs$lO~O%O$U$}$d!d$V#b%V#e'g!s#d~",goto:"%&y'mPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP'nP'uPP'{(OPPP(hP(OP(O*ZP*ZPP2W:j:mPP*Z:sBpPBsPBsPP:sCSCVCZ:s:sPPPC^PP:sK^!$S!$S:s!$WP!$W!$W!%UP!.]!7pP!?oP*ZP*Z*ZPPPPP!?rPPPPPPP*Z*Z*Z*ZPP*Z*ZP!E]!GRP!GV!Gy!GR!GR!HP*Z*ZP!HY!Hl!Ib!J`!Jd!J`!Jo!J}!J}!KV!KY!KY*ZPP*ZPP!K^#%[#%[#%`P#%fP(O#%j(O#&S#&V#&V#&](O#&`(O(O#&f#&i(O#&r#&u(O(O(O(O(O#&x(O(O(O(O(O(O(O(O(O#&{!KR(O(O#'_#'o#'r(O(OP#'u#'|#(S#(o#(y#)P#)Z#)b#)h#*d#4X#5T#5Z#5a#5k#5q#5w#6]#6c#6i#6o#6u#6{#7R#7]#7g#7m#7s#7}PPPPPPPP#8T#8X#8}#NO#NR#N]$(f$(r$)X$)_$)b$)e$)k$,X$5v$>_$>b$>h$>k$>n$>w$>{$?X$?k$Bk$CO$C{$K{PP%%y%%}%&Z%&p%&vQ!nQT!qV!rQUOR%x!mRVO}!hPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1a|!hPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ%^!ZQ%g!aQ%l!eQ'd$dQ'q$iQ)[%kQ*y'tQ,](xU-n*v*x+OQ.W+cQ.{,[S/t-s-tQ0T.SS0}/s/wQ1V0RQ1o1OR2P1p0u!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;u<j<k<o<p<q<v<{<|=P=R=S=T=U=Z=m=n0t!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;u<j<k<o<p<q<v<{<|=P=R=S=T=U=Z=m=nQ#j]Q$}!PQ%O!QQ%P!RQ,S(kQ.b+sR.f+vR&q#jQ)z&pR/a-R0uhPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;u<j<k<o<p<q<v<{<|=P=R=S=T=U=Z=m=nR#l^k#p_j#k#s&s&w3x3y7l8f8g8h8iR#u`T&|#t'OR-Y*U0thPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;u<j<k<o<p<q<v<{<|=P=R=S=T=U=Z=m=nR#va-r#OZ#f#m#w$V$W$X$Y$Z$[$u$v%W%Y%[%`%s%|&O&Q&U&^&_&`&a&b&c&d&e&f&g&h&i&j&k&l&m&u&v&{'X'Z'[(](p)q)s)u*O*[*^+S+V,`,c,y,{,}-V-W-X-i-x.k.w/`/h/n/y0r0u0x1Q1X1d1m1q2q2r2x2y2z2{2|2}3O3Q3R3S3T3U3V3W3X3Y3Z3[3]3^3_3`3a3b3c3e3f3i3j3l3m3n3q3r3t4Y4y4z4{4|4}5O5P5R5S5T5U5V5W5X5Y5Z5[5]5^5_5`5a5b5c5d5f5g5j5k5m5n5o5r5s5u6R6V6}7O7P7Q7R7S7U7V7W7Y7Z7[7]7^7_7`7a7b7c7d7e7f7g7h7j7k7n7p7q7x7y7{7}8O8P8Q8R8S8V8W8Y8]9U9^9_9`9a9b9c9f9g9i9j9k9l9m9n9o9p9q9r9s9t9u9v9w9x9z9{:P:Q:T:V:W:[:^:`:c;j;k;l;m;n;o;p;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<[<]<^<_<`<a<b<c<d<e<f<g<h<i<l<m<n<r<s<t<u<w<x<y<z<}=O=Q=V=W=_=`=a=q=rQ']$]Y(Q$s7T9e;q;rS(U2Z6QR(X$tT&X!})v!w$Qg#}$h'S'i'm'r(P(T)Z*f*s*z*}+Q+]+`+g,Z-r-u-{.Q/u1P5}6O6P6]8b8c8d=d=e=i>O>P>Q>X>Y>Z>[3ZfPVX[_bgjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t#}$R$S$U$h$y$}%P%R%S%T%U%c%p%r%}&S&W&p&s&t&w'O'S'U'Y'^'i'm'r'z(O(P(R(S(T(`(l({)P)Z)_)c)i)p)t)v*P*T*U*f*o*s*z*}+P+Q+]+`+d+g+r+u+z,T,V,X,Z,u-Q-R-d-k-r-u-z-{-|.Q.b.d.l.t/[/c/i/m/u/x0V0`0a0d0e0i0v1P1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w5}6O6P6T6]6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8b8c8d8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;u<j<k<o<p<q<v<{<|=P=R=S=T=U=Z=d=e=i=m=n>O>P>Q>X>Y>Z>[3scPVX[_bdegjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t#{#}$R$S$U$h$y$}%P%R%S%T%U%c%m%n%p%r%}&S&W&p&s&t&w'O'S'U'Y'^'i'm'r'z(O(P(R(S(T(`(l({)P)Z)^)_)c)g)h)i)p)t)v*P*T*U*f*o*s*z*}+P+Q+]+`+d+g+r+u+z,T,V,X,Z,u,x-Q-R-d-k-r-u-z-{-|.Q.b.d.l.t/[/c/i/m/u/x0V0`0a0d0e0i0v1P1R1]1a2W2X2Y2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w5}6O6P6T6]6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8b8c8d8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;u<j<k<o<p<q<v<{<|=P=R=S=T=U=Z=d=e=i=m=n>O>P>Q>X>Y>Z>[0phPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0`0a0d0e0i0v1R1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;u<j<k<o<p<q<v<{<|=P=R=S=T=U=Z=m=nT1Z0V1]R&]#P!n#[Z#f#w$V$W$X$Y$[$s$v%W%Y%[&Q&_&`&a&b&c&d&e&f'X'Z'[(])q)s*^+V,{-x/y1Q1d1q7j7k!Y2j2Z2x2y2z2{2}3O3Q3R3S3T3U3V3W3X3a3b3c3e3f3i3j3l3m3n3q3r3t!^4m2r4y4z4{4|5O5P5R5S5T5U5V5W5X5Y5b5c5d5f5g5j5k5m5n5o5r5s5u6Q6R#Q6p#m%`%s&u&v&{(p*O+S,`,c,y-V-X.w2q6}7O7P7Q7S7T7U7Y7Z7[7]7^7_7`7a7n7p7q7x7{7}8Q8S8V8W8Y8]9U:c=V=W#^8}%|&O&U)u,}-W-i/h/n0r0u0x1m4Y6V7V7W7y8O8P8R9^9_9`9a9c9e9f9g9i9j9k9l9m9n9o9p9x9z9{:P:Q:T:V:W:[:^:`<f<g=_=q=r!^;S.k/`;j;k;l;m;p;q;s;v;x;z;|<O<Q<S<U<h<l<n<r<t<w<x<z<}=O=Q=`=ao;T1X;r;w;y;{;}<P<R<T<V<i<m<s<u<yS$iu#hQ$qwU't$j$l&oQ'v$kS'x$m$rQ*|'uQ+O'wQ+R'yQ4X5xS4[5z5{Q4]5|Q6U8^S6W8_8`Q6X8aQ9d=YS9|=[=^Q:S=cQ=]=yS=b={=|Q=f=}Q=o>RS=p>S>VS=s>T>UR=t>WT'n$h*s!csPVXt!S!j!r!s!w$h$}%P%S%U'i(T(`)W*s+]+g+r+u,g,k.b.d.l0`0a0i1aQ$^rR*`'^Q*x'sQ-t*{R/w-wQ(W$tQ)U%hQ)n%vQ*i'fQ+k(XR-c*jQ(V$tQ)Y%jQ)m%vQ*e'eS*h'f)nS+j(W(XS-b*i*jQ.]+kQ/T,mQ/e-`R/g-cQ(U$tQ)T%hQ)V%iQ)l%vU*g'f)m)nU+i(V(W(XQ,f)UU-a*h*i*jS.[+j+kS/f-b-cQ0X.]R0t/gT+e(T+g[%e!_$b'c+a.R0QR,d)Qb$ov(T+[+]+`+g.P.Q0PR+T'{S+e(T+gT,j)W,kR0W.XT1[0V1]0w|PVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X,_-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;u<j<k<o<p<q<v<{<|=P=R=S=T=U=Z=m=nT$x{${Q+p([R._+nT$z{${Q(b$}Q(j%PQ(o%SQ(r%UQ.j+yQ0].fQ0^.iR1g0iR(e%OX+|(c(d+},PR(f%OX(h%P%S%U0iR%S!T_%a!]%R(l,T,V.t0dR%U!UR.x,XR,[(wQ)X%jS*d'e)YS-_*e,mS/d-`/TR0s/eQ%q!fU)]%m%n%rU,o)^)g)hR/_,xR)d%pR/],uSSO!mR!oSQ!rVR%y!rQ!jPS!sV!rQ!wX[%u!j!s!w+r0a1aQ+r(`Q0a.lR1a0`Q)j%sS,z)j7vR7v7WQ-S)zR/b-SQ&x#qS*R&x7mR7m9YS*V&{&|R-Z*VQ)w&YR-P)w!l'T#|'h*n*q*v+W+[,m-`-s-v-y.P.z/s/v/z0P1O1p4^4_4`5y6Y6Z6[:U:X:]=g=h=j=u=v=w=xR*Z'T1^dPVX[_bjklmnoprxyz!S!W!X!Y!]!e!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%p%}&S&W&p&s&t&w'O'U'Y'^'z(O(R(S(`(l({)P)_)c)i)p)t)v*P*T*U*o+P+d+r+u+z,T,V,X,u-Q-R-d-k-z-|.b.d.l.t/[/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;u<j<k<o<p<q<v<{<|=P=R=S=T=U=Z=m=n`#zd#{%m)^)g,x2W2YQ#{eQ%m!fQ)^%nQ)g%rQ,x)h!v2Wg#}$h'S'i'm'r(P(T)Z*f*s*z*}+Q+]+`+g,Z-r-u-{.Q/u1P5}6O6P6]8b8c8d=d=e=i>O>P>Q>X>Y>Z>[R2Y2X|tPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aW$`t'i+],gS'i$h*sS+](T+gT,g)W,kQ'_$^R*a'_Q*t'oR-m*tQ/p-oS0{/p0|R0|/qQ-}+XR/|-}Q+g(TR.Y+gS+`(T+gS,h)W,kQ.Q+]W.T+`,h.Q/OR/O,gQ)R%eR,e)RQ'|$oR+U'|Q1]0VR1w1]Q${{R(^${Q+t(aR.c+tQ+w(bR.g+wQ+}(cQ,P(dT.m+},PQ(|%`S,a(|7tR7t7VQ(y%^R,^(yQ,k)WR/R,kQ)`%oS,q)`/WR/W,rQ,v)dR/^,vT!uV!rj!iPVX!j!r!s!w(`+r.l0`0a1aQ%Q!SQ(a$}W(h%P%S%U0iQ.e+uQ0Z.bR0[.d|ZPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ#f[U#m_#s&wQ#wbQ$VkQ$WlQ$XmQ$YnQ$ZoQ$[pQ$sx^$uy2_4b6e8q:m:nQ$vzQ%W!WQ%Y!XQ%[!YW%`!]%R(l,VU%s!g&p-RQ%|!yQ&O!zQ&Q!{S&U!})v^&^#R2a4d6g8t:p:qQ&_#SQ&`#TQ&a#UQ&b#VQ&c#WQ&d#XQ&e#YQ&f#ZQ&g#[Q&h#]Q&i#^Q&j#_Q&k#`Q&l#aQ&m#bQ&u#nQ&v#oS&{#t'OQ'X$RQ'Z$SQ'[$UQ(]$yQ(p%TQ)q%}Q)s&SQ)u&WQ*O&tS*['U4ZQ*^'Y^*_2[3u5v8Z:a=R=SQ+S'zQ+V(OQ,`({Q,c)PQ,y)iQ,{)pQ,})tQ-V*PQ-W*TQ-X*U^-]2]3v5w8[:b=T=UQ-i*oQ-x+PQ.k+zQ.w,XQ/`-QQ/h-dQ/n-kQ/y-zQ0r/cQ0u/iQ0x/mQ1Q/xU1X0V1]9WQ1d0eQ1m0vQ1q1RQ2Z2^Q2qjQ2r3yQ2x3zQ2y3|Q2z4OQ2{4QQ2|4SQ2}4UQ3O2`Q3Q2bQ3R2cQ3S2dQ3T2eQ3U2fQ3V2gQ3W2hQ3X2iQ3Y2jQ3Z2kQ3[2lQ3]2mQ3^2nQ3_2oQ3`2pQ3a2sQ3b2tQ3c2uQ3e2vQ3f2wQ3i3PQ3j3dQ3l3gQ3m3hQ3n3kQ3q3oQ3r3pQ3t3sQ4Y4WQ4y3{Q4z3}Q4{4PQ4|4RQ4}4TQ5O4VQ5P4cQ5R4eQ5S4fQ5T4gQ5U4hQ5V4iQ5W4jQ5X4kQ5Y4lQ5Z4mQ5[4nQ5]4oQ5^4pQ5_4qQ5`4rQ5a4sQ5b4tQ5c4uQ5d4vQ5f4wQ5g4xQ5j5QQ5k5eQ5m5hQ5n5iQ5o5lQ5r5pQ5s5qQ5u5tQ6Q4aQ6R3xQ6V6TQ6}6^Q7O6_Q7P6`Q7Q6aQ7R6bQ7S6cQ7T6dQ7U6fU7V,T.t0dQ7W%cQ7Y6hQ7Z6iQ7[6jQ7]6kQ7^6lQ7_6mQ7`6nQ7a6oQ7b6pQ7c6qQ7d6rQ7e6sQ7f6tQ7g6uQ7h6vQ7j6xQ7k6yQ7n6zQ7p6{Q7q6|Q7x7XQ7y7iQ7{7oQ7}7rQ8O7sQ8P7uQ8Q7wQ8R7zQ8S7|Q8V8TQ8W8UQ8Y8XQ8]8fU9U#k&s7lQ9^8jQ9_8kQ9`8lQ9a8mQ9b8nQ9c8oQ9e8pQ9f8rQ9g8sQ9i8uQ9j8vQ9k8wQ9l8xQ9m8yQ9n8zQ9o8{Q9p8|Q9q8}Q9r9OQ9s9PQ9t9QQ9u9RQ9v9SQ9w9TQ9x9ZQ9z9[Q9{9]Q:P9hQ:Q9yQ:T9}Q:V:OQ:W:RQ:[:YQ:^:ZQ:`:_Q:c8iQ;j:dQ;k:eQ;l:fQ;m:gQ;n:hQ;o:iQ;p:jQ;q:kQ;r:lQ;s:oQ;v:rQ;w:sQ;x:tQ;y:uQ;z:vQ;{:wQ;|:xQ;}:yQ<O:zQ<P:{Q<Q:|Q<R:}Q<S;OQ<T;PQ<U;QQ<V;RQ<W;SQ<X;TQ<Y;UQ<Z;VQ<[;WQ<];XQ<^;YQ<_;ZQ<`;[Q<a;]Q<b;^Q<c;_Q<d;`Q<e;aQ<f;cQ<g;dQ<h;eQ<i;fQ<l;gQ<m;hQ<n;iQ<r;tQ<s;uQ<t<jQ<u<kQ<w<oQ<x<pQ<y<qQ<z<vQ<}<{Q=O<|Q=Q=PQ=V8hQ=W8gQ=_=ZQ=`9VQ=a9XQ=q=mR=r=nR){&pQ%t!gQ)O%cT)y&p-R$SiPVX[bklmnopxyz!S!W!X!Y!j!r!s!w!{#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b$R$S$U$y$}%P%S%U%}&S'Y(O(`)p+P+r+u-z.b.d.l/x0`0a0e0i1R1a2[2]6x6y!t3w'U2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3z3|4O4Q4S4U5v5w!x6S3u3v3x3y3{3}4P4R4T4V4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t$O8e_j!]!g#k#n#o#s#t%R%T&p&s&t&w'O'z(l({)P)i*P*U,V,X-R6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6z6{6|7X7l7o7r7w7|8T8U8X8Z8[8f8g8h8i#|=X!y!z!}%c&W)t)v*T*o,T-d-k.t/c/i/m0d0v4W6T7i7s7u7z8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9Z9[9]9h9y9}:O:R:Y:Z:_:a:b;c;d=Z=m=n!v=k+z-Q9V9X:d:e:f:g:h:j:k:m:o:p:r:t:v:x:z:|;O;Q;S;U;W;Y;[;^;`;e;g;i;t<j<o<p<v<{<|=P=R=T!]=l0V1]9W:i:l:n:q:s:u:w:y:{:};P;R;T;V;X;Z;];_;a;f;h;u<k<q=S=UQ#r_Q&r#kQ&z#sR)}&sS#q_#s^$Tj3x3y8f8g8h8iS*Q&w7lT9Y#k&sQ&}#tR*X'OR&T!|R&Z!}Q&Y!}R-O)vQ#|gQ'V#}S'h$h*sQ*Y'SQ*n'iQ*q'mQ*v'rQ+W(PS+[(T+gQ,m)ZQ-`*fQ-s*zQ-v*}Q-y+QS.P+]+`Q.z,ZQ/s-rQ/v-uQ/z-{Q0P.QQ1O/uQ1p1PQ4^5}Q4_6OQ4`6PQ5y6]Q6Y8bQ6Z8cQ6[8dQ:U=dQ:X=eQ:]=iQ=g>OQ=h>PQ=j>QQ=u>XQ=v>YQ=w>ZR=x>[0t!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;u<j<k<o<p<q<v<{<|=P=R=S=T=U=Z=m=n!v$Pg#}$h'S'i'm'r(P(T)Z*f*s*z*}+Q+]+`+g,Z-r-u-{.Q/u1P5}6O6P6]8b8c8d=d=e=i>O>P>Q>X>Y>Z>[S$]r'^Q%k!eS%o!f%rQ)b%pU+X(R(S+dQ,p)_Q,t)cQ/Z,uQ/{-|R0p/[|vPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1a#U#i[bklmnopxyz!W!X!Y!{#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b$R$S$U$y%}&S'Y(O)p+P-z/x0e1R2[2]6x6yd+^(T)W+]+`+g,g,h,k.Q/O!t6w'U2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3z3|4O4Q4S4U5v5w!x;b3u3v3x3y3{3}4P4R4T4V4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t$O=z_j!]!g#k#n#o#s#t%R%T&p&s&t&w'O'z(l({)P)i*P*U,V,X-R6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6z6{6|7X7l7o7r7w7|8T8U8X8Z8[8f8g8h8i#|>]!y!z!}%c&W)t)v*T*o,T-d-k.t/c/i/m0d0v4W6T7i7s7u7z8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9Z9[9]9h9y9}:O:R:Y:Z:_:a:b;c;d=Z=m=n!v>^+z-Q9V9X:d:e:f:g:h:j:k:m:o:p:r:t:v:x:z:|;O;Q;S;U;W;Y;[;^;`;e;g;i;t<j<o<p<v<{<|=P=R=T!]>_0V1]9W:i:l:n:q:s:u:w:y:{:};P;R;T;V;X;Z;];_;a;f;h;u<k<q=S=UR'p$hQ'o$hR-l*sR$_rR-q*wQ+Y(RQ+Z(SR.X+dT+f(T+ge+_(T)W+]+`+g,g,h,k.Q/OQ%f!_Q'b$bQ*c'cQ.U+aQ0S.RR1U0QQ#eZQ%X!WQ%Z!XQ%]!YQ'}$pQ(s%VQ(t%WQ(u%YQ(v%[Q(}%bQ)S%fQ)[%kQ)f%qQ)k%tQ*b'bQ,n)]Q-^*cQ.V+bQ.W+cQ.e+xQ.o,QQ.p,RQ.q,SQ.v,WQ.y,YQ.},bQ/U,oQ/}.OQ0T.SQ0U.UQ0W.XQ0[.hQ0k/QQ0q/_Q1S0OQ1V0RQ1W0SQ1`0_Q1h0jQ1r1TQ1s1UQ1v1[Q1y1_Q1}1jQ2T1{R2U1|Q$pvS+b(T+gU.O+[+]+`S0O.P.QR1T0P|!aPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ$dtW+c(T)W+g,kW.S+]+`,g,hT0R.Q/O0t!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;u<j<k<o<p<q<v<{<|=P=R=S=T=U=Z=m=nR.|,_0w}PVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X,_-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;u<j<k<o<p<q<v<{<|=P=R=S=T=U=Z=m=nT$w{${Q(i%PQ(n%SQ(q%UR1f0iQ%b!]Q(m%RQ,U(lQ.s,TQ.u,VQ0c.tR1c0dQ%q!fR)]%rR)e%p",nodeNames:"⚠ ( HeredocString EscapeSequence abstract LogicOp array as Boolean break case catch clone const continue default declare do echo else elseif enddeclare endfor endforeach endif endswitch endwhile enum extends final finally fn for foreach from function global goto if implements include include_once LogicOp insteadof interface list match namespace new null LogicOp print require require_once return switch throw trait try unset use var Visibility while LogicOp yield LineComment BlockComment TextInterpolation PhpClose Text PhpOpen Template TextInterpolation EmptyStatement ; } { Block : LabelStatement Name ExpressionStatement ConditionalExpression LogicOp MatchExpression ) ( ParenthesizedExpression MatchBlock MatchArm , => AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp OptionalType NamedType QualifiedName \\ NamespaceName ScopedExpression :: ClassMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:304,nodeProps:[["group",-36,2,8,49,81,83,85,88,93,94,102,106,107,110,111,114,118,123,126,130,132,133,147,148,149,150,153,154,164,165,179,181,182,183,184,185,191,"Expression",-28,74,78,80,82,192,194,199,201,202,205,208,209,210,211,212,214,215,216,217,218,219,220,221,222,225,226,230,231,"Statement",-3,119,121,122,"Type"],["isolate",-4,66,67,70,191,""],["openedBy",69,"phpOpen",76,"{",86,"(",101,"#["],["closedBy",71,"phpClose",77,"}",87,")",158,"]"]],propSources:[A],skippedNodes:[0],repeatNodeCount:29,tokenData:"!F|_R!]OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^qr)Rrs+Pst+otu2buv5evw6rwx8Vxy>]yz>yz{?g{|@}|}Bb}!OCO!O!PDh!P!QKT!Q!R!!o!R![!$q![!]!,P!]!^!-a!^!_!-}!_!`!1S!`!a!2d!a!b!3t!b!c!7^!c!d!7z!d!e!9W!e!}!7z!}#O!;^#O#P!;z#P#Q!<h#Q#R!=U#R#S!7z#S#T!=u#T#U!7z#U#V!9W#V#o!7z#o#p!Co#p#q!D]#q#r!Er#r#s!F`#s$f$z$f$g&^$g&j!7z&j$I_$z$I_$I`&^$I`$KW$z$KW$KX&^$KX;'S$z;'S;=`&W<%l?HT$z?HT?HU&^?HUO$zP%PV&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zP%kO&wPP%nWOY$zYZ%fZ!a$z!b;'S$z;'S;=`&W<%l~$z~O$z~~%fP&ZP;=`<%l$zV&ed&wP&vUOX$zXY&^YZ'sZ]$z]^&^^p$zpq&^q!^$z!^!_%k!_$f$z$f$g&^$g$I_$z$I_$I`&^$I`$KW$z$KW$KX&^$KX;'S$z;'S;=`&W<%l?HT$z?HT?HU&^?HUO$zV'zW&wP&vUXY(dYZ(d]^(dpq(d$f$g(d$I_$I`(d$KW$KX(d?HT?HU(dU(iW&vUXY(dYZ(d]^(dpq(d$f$g(d$I_$I`(d$KW$KX(d?HT?HU(dR)YW$^Q&wPOY$zYZ%fZ!^$z!^!_%k!_!`)r!`;'S$z;'S;=`&W<%lO$zR)yW$QQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`*c!`;'S$z;'S;=`&W<%lO$zR*jV$QQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV+YV'fS&wP'gQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV+v]&wP!dUOY,oYZ%fZ],o]^$z^!^,o!^!_-i!_!a,o!a!b/y!b!},o!}#O1f#O;'S,o;'S;=`/s<%lO,oV,vZ&wP!dUOY,oYZ%fZ],o]^$z^!^,o!^!_-i!_!a,o!a!b/y!b;'S,o;'S;=`/s<%lO,oV-nZ!dUOY,oYZ%fZ],o]^$z^!a,o!a!b.a!b;'S,o;'S;=`/s<%l~,o~O,o~~%fU.dWOY.|YZ/nZ].|]^/n^!`.|!a;'S.|;'S;=`/h<%lO.|U/RV!dUOY.|Z].|^!a.|!a!b.a!b;'S.|;'S;=`/h<%lO.|U/kP;=`<%l.|U/sO!dUV/vP;=`<%l,oV0OZ&wPOY,oYZ0qZ],o]^0x^!^,o!^!_-i!_!`,o!`!a$z!a;'S,o;'S;=`/s<%lO,oV0xO&wP!dUV1PV&wP!dUOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV1oZ&wP$dQ!dUOY,oYZ%fZ],o]^$z^!^,o!^!_-i!_!a,o!a!b/y!b;'S,o;'S;=`/s<%lO,o_2i`&wP#dQOY$zYZ%fZ!^$z!^!_%k!_!c$z!c!}3k!}#R$z#R#S3k#S#T$z#T#o3k#o#p4w#p$g$z$g&j3k&j;'S$z;'S;=`&W<%lO$z_3ra&wP#b^OY$zYZ%fZ!Q$z!Q![3k![!^$z!^!_%k!_!c$z!c!}3k!}#R$z#R#S3k#S#T$z#T#o3k#o$g$z$g&j3k&j;'S$z;'S;=`&W<%lO$zV5OV&wP#eUOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR5lW&wP$VQOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR6]V#wQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV6yY#SU&wPOY$zYZ%fZv$zvw7iw!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR7pV#|Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR8^Z&wP%VQOY8VYZ9PZw8Vwx;_x!^8V!^!_;{!_#O8V#O#P<y#P;'S8V;'S;=`>V<%lO8VR9WV&wP%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ9rV%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ:^O%VQQ:aRO;'S9m;'S;=`:j;=`O9mQ:oW%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l9m<%lO9mQ;[P;=`<%l9mR;fV&wP%VQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR<Q]%VQOY8VYZ9PZw8Vwx;_x!a8V!a!b9m!b#O8V#O#P<y#P;'S8V;'S;=`>V<%l~8V~O8V~~%fR=OW&wPOY8VYZ9PZ!^8V!^!_;{!_;'S8V;'S;=`=h;=`<%l9m<%lO8VR=mW%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l8V<%lO9mR>YP;=`<%l8VR>dV!yQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV?QV!xU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR?nY&wP$VQOY$zYZ%fZz$zz{@^{!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR@eW$WQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRAUY$TQ&wPOY$zYZ%fZ{$z{|At|!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRA{V$zQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRBiV!}Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_CXZ$TQ%TW&wPOY$zYZ%fZ}$z}!OAt!O!^$z!^!_%k!_!`6U!`!aCz!a;'S$z;'S;=`&W<%lO$zVDRV#`U&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVDo[&wP$UQOY$zYZ%fZ!O$z!O!PEe!P!Q$z!Q![Fs![!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVEjX&wPOY$zYZ%fZ!O$z!O!PFV!P!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVF^V#UU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRFz_&wP%OQOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#SJc#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zRHO]&wPOY$zYZ%fZ{$z{|Hw|}$z}!OHw!O!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRH|X&wPOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRIpZ&wP%OQOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_#R$z#R#SHw#S;'S$z;'S;=`&W<%lO$zRJhX&wPOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVK[[&wP$VQOY$zYZ%fZz$zz{LQ{!P$z!P!Q,o!Q!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVLVX&wPOYLQYZLrZzLQz{N_{!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQVLwT&wPOzMWz{Mj{;'SMW;'S;=`NX<%lOMWUMZTOzMWz{Mj{;'SMW;'S;=`NX<%lOMWUMmVOzMWz{Mj{!PMW!P!QNS!Q;'SMW;'S;=`NX<%lOMWUNXO!eUUN[P;=`<%lMWVNdZ&wPOYLQYZLrZzLQz{N_{!PLQ!P!Q! V!Q!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQV! ^V!eU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV! vZOYLQYZLrZzLQz{N_{!aLQ!a!bMW!b;'SLQ;'S;=`!!i<%l~LQ~OLQ~~%fV!!lP;=`<%lLQZ!!vm&wP$}YOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!d$z!d!e!&o!e!g$z!g!hGy!h!q$z!q!r!(a!r!z$z!z!{!){!{#R$z#R#S!%}#S#U$z#U#V!&o#V#X$z#X#YGy#Y#c$z#c#d!(a#d#l$z#l#m!){#m;'S$z;'S;=`&W<%lO$zZ!$xa&wP$}YOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#S!%}#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zZ!&SX&wPOY$zYZ%fZ!Q$z!Q![!$q![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!&tY&wPOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!'k[&wP$}YOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_#R$z#R#S!&o#S;'S$z;'S;=`&W<%lO$zZ!(fX&wPOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!)YZ&wP$}YOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_#R$z#R#S!(a#S;'S$z;'S;=`&W<%lO$zZ!*Q]&wPOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zZ!+Q_&wP$}YOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#R$z#R#S!){#S#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zR!,WX!qQ&wPOY$zYZ%fZ![$z![!]!,s!]!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!,zV#sQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!-hV!mU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!.S[$RQOY$zYZ%fZ!^$z!^!_!.x!_!`!/i!`!a*c!a!b!0]!b;'S$z;'S;=`&W<%l~$z~O$z~~%fR!/PW$SQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!/pX$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a*c!a;'S$z;'S;=`&W<%lO$zP!0bR!iP!_!`!0k!r!s!0p#d#e!0pP!0pO!iPP!0sQ!j!k!0y#[#]!0yP!0|Q!r!s!0k#d#e!0kV!1ZX#uQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`)r!`!a!1v!a;'S$z;'S;=`&W<%lO$zV!1}V#OU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!2kX$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`!3W!`!a!.x!a;'S$z;'S;=`&W<%lO$zR!3_V$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!3{[!vQ&wPOY$zYZ%fZ}$z}!O!4q!O!^$z!^!_%k!_!`$z!`!a!6P!a!b!6m!b;'S$z;'S;=`&W<%lO$zV!4vX&wPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a!5c!a;'S$z;'S;=`&W<%lO$zV!5jV#aU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!6WV!gU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!6tW#zQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!7eV$]Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_!8Ra&wP!s^OY$zYZ%fZ!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$z_!9_e&wP!s^OY$zYZ%fZr$zrs!:psw$zwx8Vx!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$zR!:wV&wP'gQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!;eV#WU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!<RV#pU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!<oV#XQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!=]W$OQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!=zZ&wPOY!=uYZ!>mZ!^!=u!^!_!@u!_#O!=u#O#P!Aq#P#S!=u#S#T!B{#T;'S!=u;'S;=`!Ci<%lO!=uR!>rV&wPO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o<%lO!?XQ!?[VO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o<%lO!?XQ!?tRO;'S!?X;'S;=`!?};=`O!?XQ!@QWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!?X<%lO!?XQ!@oO${QQ!@rP;=`<%l!?XR!@x]OY!=uYZ!>mZ!a!=u!a!b!?X!b#O!=u#O#P!Aq#P#S!=u#S#T!B{#T;'S!=u;'S;=`!Ci<%l~!=u~O!=u~~%fR!AvW&wPOY!=uYZ!>mZ!^!=u!^!_!@u!_;'S!=u;'S;=`!B`;=`<%l!?X<%lO!=uR!BcWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!=u<%lO!?XR!CSV${Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!ClP;=`<%l!=uV!CvV!oU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!DfY#}Q#lS&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`#p$z#p#q!EU#q;'S$z;'S;=`&W<%lO$zR!E]V#{Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!EyV!nQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!FgV$^Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z",tokenizers:[f,g,p,0,1,2,3,h],topRules:{Template:[0,72],Program:[1,232]},dynamicPrecedences:{284:1},specialized:[{term:81,get:(e,t)=>a(e)<<1,external:a},{term:81,get:e=>v[e]||-1}],tokenPrec:29354});var O=n(90365),b=n(80441),w=n(15874);const _=w.bj.define({name:"php",parser:y.configure({props:[w.Oh.add({IfStatement:(0,w.mz)({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:(0,w.mz)({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},ColonBlock:e=>e.baseIndent+e.unit,"Block EnumBody DeclarationList":(0,w.Ay)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"String BlockComment":()=>null,Statement:(0,w.mz)({except:/^({|end(for|foreach|switch|while)\b)/})}),w.b_.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":w.yd,ColonBlock(e){return{from:e.from+1,to:e.to}},BlockComment(e){return{from:e.from+2,to:e.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function x(e={}){let t,n=[];if(null===e.baseLanguage);else if(e.baseLanguage)t=e.baseLanguage;else{let e=(0,b.qy)({matchClosingTags:!1});n.push(e.support),t=e.language}return new w.Yy(_.configure({wrap:t&&(0,O.$g)((e=>e.type.isTop?{parser:t.parser,overlay:e=>"Text"==e.name}:null)),top:e.plain?"Program":"Template"}),n)}},95932:function(e,t,n){var r=n(35657);e.exports=function(e,t,n){var o=[];if(e&&arguments.length>1){if(e.map)return e.map(t,n);r(e,(function(){o.push(t.apply(n,arguments))}))}return o}},95962:function(e){e.exports=function(e){return(e.split(".")[1]||"").length}},96082:function(){!function(){"use strict";var e=Object.hasOwnProperty,t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=tinymce.util.Tools.resolve("tinymce.Env"),r=tinymce.util.Tools.resolve("tinymce.util.Delay"),o=function(e){return e.getParam("min_height",e.getElement().offsetHeight,"number")},i=function(e,t,n,o,a){r.setEditorTimeout(e,(function(){l(e,t),n--?i(e,t,n,o,a):a&&a()}),o)},a=function(e,t){var n=e.getBody();n&&(n.style.overflowY=t?"":"hidden",t||(n.scrollTop=0))},s=function(e,t,n,r){var o=parseInt(e.getStyle(t,n,r),10);return isNaN(o)?0:o},l=function(e,t,r){var i=e.dom,c=e.getDoc();if(c)if(function(e){return e.plugins.fullscreen&&e.plugins.fullscreen.isFullscreen()}(e))a(e,!0);else{var u=c.documentElement,d=function(e){return e.getParam("autoresize_bottom_margin",50,"number")}(e),f=o(e),h=s(i,u,"margin-top",!0),p=s(i,u,"margin-bottom",!0),m=u.offsetHeight+h+p+d;m<0&&(m=0);var g=e.getContainer().offsetHeight-e.getContentAreaContainer().offsetHeight;m+g>o(e)&&(f=m+g);var A=function(e){return e.getParam("max_height",0,"number")}(e);if(A&&f>A?(f=A,a(e,!0)):a(e,!1),f!==t.get()){var v=f-t.get();if(i.setStyle(e.getContainer(),"height",f+"px"),t.set(f),function(e){e.fire("ResizeEditor")}(e),n.browser.isSafari()&&n.mac){var y=e.getWin();y.scrollTo(y.pageXOffset,y.pageYOffset)}e.hasFocus()&&function(e){if("setcontent"===(null==e?void 0:e.type.toLowerCase())){var t=e;return!0===t.selection||!0===t.paste}return!1}(r)&&e.selection.scrollIntoView(),n.webkit&&v<0&&l(e,t,r)}}};t.add("autoresize",(function(t){var n,r;if(n=t.settings,e.call(n,"resize")||(t.settings.resize=!1),!t.inline){var o=(r=0,{get:function(){return r},set:function(e){r=e}});!function(e,t){e.addCommand("mceAutoResize",(function(){l(e,t)}))}(t,o),function(e,t){e.on("init",(function(){var t=function(e){return e.getParam("autoresize_overflow_padding",1,"number")}(e),n=e.dom;n.setStyles(e.getDoc().documentElement,{height:"auto"}),n.setStyles(e.getBody(),{paddingLeft:t,paddingRight:t,"min-height":0})})),e.on("NodeChange SetContent keyup FullscreenStateChanged ResizeContent",(function(n){l(e,t,n)})),function(e){return e.getParam("autoresize_on_init",!0,"boolean")}(e)&&e.on("init",(function(){i(e,t,20,100,(function(){i(e,t,5,1e3)}))}))}(t,o)}}))}()},96168:function(){!function(){"use strict";var e,t,n,r=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=function(e){return null===e},i=function(){},a=function(e){return function(){return e}},s=a(!1),l=a(!0),c=function(){return u},u={fold:function(e,t){return e()},isSome:s,isNone:l,getOr:t=function(e){return e},getOrThunk:e=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:a(null),getOrUndefined:a(void 0),or:t,orThunk:e,map:c,each:i,bind:c,exists:s,forall:l,filter:function(){return c()},toArray:function(){return[]},toString:a("none()")},d=function(e){var t=a(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},isSome:l,isNone:s,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return d(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:u},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return o},f={some:d,none:c,from:function(e){return null==e?u:d(e)}},h=function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r},p=function(e){var t=e;return{get:function(){return t},set:function(e){t=e}}},m=function(){return m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},m.apply(this,arguments)},g=Object.keys,A=Object.hasOwnProperty,v=function(e,t){for(var n=g(e),r=0,o=n.length;r<o;r++){var i=n[r];t(e[i],i)}},y=function(e,t){return A.call(e,t)},O=(n=function(e,t){return t},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)throw new Error("Can't merge zero objects");for(var r={},o=0;o<e.length;o++){var i=e[o];for(var a in i)y(i,a)&&(r[a]=n(r[a],i[a]))}return r}),b=function(){var e=function(e){var t=p(f.none()),n=function(){return t.get().each(e)};return{clear:function(){n(),t.set(f.none())},isSet:function(){return t.get().isSome()},get:function(){return t.get()},set:function(e){n(),t.set(f.some(e))}}}(i);return m(m({},e),{on:function(t){return e.get().each(t)}})},w=function(e,t){return-1!==e.indexOf(t)},_=tinymce.util.Tools.resolve("tinymce.Resource"),x=tinymce.util.Tools.resolve("tinymce.util.Delay"),S=tinymce.util.Tools.resolve("tinymce.util.Promise"),k="All",C={symbols:"Symbols",people:"People",animals_and_nature:"Animals and Nature",food_and_drink:"Food and Drink",activity:"Activity",travel_and_places:"Travel and Places",objects:"Objects",flags:"Flags",user:"User Defined"},B=function(e,t){return y(e,t)?e[t]:t},Q=function(e){var t,n=function(e){return e.getParam("emoticons_append",{},"object")}(e);return t=function(e){return m({keywords:[],category:"user"},e)},function(e,t){var n={};return v(e,(function(e,r){var o=t(e,r);n[o.k]=o.v})),n}(n,(function(e,n){return{k:n,v:t(e)}}))},T=function(e,t){return w(e.title.toLowerCase(),t)||function(e){for(var n=0,r=e.length;n<r;n++)if(o=e[n],w(o.toLowerCase(),t))return!0;var o;return!1}(e.keywords)},E=function(e,t,n){for(var r=[],o=t.toLowerCase(),i=n.fold((function(){return s}),(function(e){return function(t){return t>=e}})),a=0;a<e.length&&(0!==t.length&&!T(e[a],o)||(r.push({value:e[a].char,text:e[a].title,icon:e[a].char}),!i(r.length)));a++);return r},P="pattern";r.add("emoticons",(function(e,t){var n=function(e,t){var n=function(e){return e.getParam("emoticons_database","emojis","string")}(e);return e.getParam("emoticons_database_url",t+"/js/"+n+e.suffix+".js","string")}(e,t),r=function(e){return e.getParam("emoticons_database_id","tinymce.plugins.emoticons","string")}(e),i=function(e,t,n){var r=b(),o=b(),i=function(e){return e.getParam("emoticons_images_url","https://twemoji.maxcdn.com/v/13.0.1/72x72/","string")}(e),a=function(e){return n="<img",(t=e.char).length>=4&&t.substr(0,4)===n?e.char.replace(/src="([^"]+)"/,(function(e,t){return'src="'+i+t+'"'})):e.char;var t,n};e.on("init",(function(){_.load(n,t).then((function(t){var n=Q(e);!function(e){var t={},n=[];v(e,(function(e,r){var o={title:r,keywords:e.keywords,char:a(e),category:B(C,e.category)},i=void 0!==t[o.category]?t[o.category]:[];t[o.category]=i.concat([o]),n.push(o)})),r.set(t),o.set(n)}(O(t,n))}),(function(e){console.log("Failed to load emoticons: "+e),r.set({}),o.set([])}))}));var s=function(){return o.get().getOr([])},l=function(){return r.isSet()&&o.isSet()};return{listCategories:function(){return[k].concat(g(r.get().getOr({})))},hasLoaded:l,waitForLoad:function(){return l()?S.resolve(!0):new S((function(e,n){var r=15,o=x.setInterval((function(){l()?(x.clearInterval(o),e(!0)):--r<0&&(console.log("Could not load emojis from url: "+t),x.clearInterval(o),n(!1))}),100)}))},listAll:s,listCategory:function(e){return e===k?s():r.get().bind((function(t){return f.from(t[e])})).getOr([])}}}(e,n,r);!function(e,t){e.addCommand("mceEmoticons",(function(){return function(e,t){var n,r,i,a={pattern:"",results:E(t.listAll(),"",f.some(300))},s=p(k),l=(n=function(e){!function(e){var n=e.getData(),r=s.get(),o=t.listCategory(r),i=E(o,n[P],r===k?f.some(300):f.none());e.setData({results:i})}(e)},r=null,{cancel:i=function(){o(r)||(clearTimeout(r),r=null)},throttle:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i(),r=setTimeout((function(){r=null,n.apply(null,e)}),200)}}),c={label:"Search",type:"input",name:P},u={type:"collection",name:"results"},d=function(){return{title:"Emoticons",size:"normal",body:{type:"tabpanel",tabs:h(t.listCategories(),(function(e){return{title:e,name:e,items:[c,u]}}))},initialData:a,onTabChange:function(e,t){s.set(t.newTabName),l.throttle(e)},onChange:l.throttle,onAction:function(t,n){"results"===n.name&&(function(e,t){e.insertContent(t)}(e,n.value),t.close())},buttons:[{type:"cancel",text:"Close",primary:!0}]}},m=e.windowManager.open(d());m.focus(P),t.hasLoaded()||(m.block("Loading emoticons..."),t.waitForLoad().then((function(){m.redial(d()),l.throttle(m),m.focus(P),m.unblock()})).catch((function(e){m.redial({title:"Emoticons",body:{type:"panel",items:[{type:"alertbanner",level:"error",icon:"warning",text:"<p>Could not load emoticons</p>"}]},buttons:[{type:"cancel",text:"Close",primary:!0}],initialData:{pattern:"",results:[]}}),m.focus(P),m.unblock()})))}(e,t)}))}(e,i),function(e){var t=function(){return e.execCommand("mceEmoticons")};e.ui.registry.addButton("emoticons",{tooltip:"Emoticons",icon:"emoji",onAction:t}),e.ui.registry.addMenuItem("emoticons",{text:"Emoticons...",icon:"emoji",onAction:t})}(e),function(e,t){e.ui.registry.addAutocompleter("emoticons",{ch:":",columns:"auto",minChars:2,fetch:function(e,n){return t.waitForLoad().then((function(){var r=t.listAll();return E(r,e,f.some(n))}))},onAction:function(t,n,r){e.selection.setRng(n),e.insertContent(r),t.hide()}})}(e,i),function(e){e.on("PreInit",(function(){e.parser.addAttributeFilter("data-emoticon",(function(e){!function(e){for(var t=0,n=e.length;t<n;t++)(r=e[t]).attr("data-mce-resize","false"),r.attr("data-mce-placeholder","1");var r}(e)}))}))}(e)}))}()},96319:function(e,t,n){"use strict";var r=n(28551),o=n(9539);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},96320:function(e,t,n){"use strict";n.d(t,{w:function(){return a}});var r=n(89259),o=n(98026),i=/cubic-bezier\(([0-9,\.e ]+)\)/;function a(e){var t=e&&i.exec(e);if(t){var n=t[1].split(","),a=+(0,o.trim)(n[0]),s=+(0,o.trim)(n[1]),l=+(0,o.trim)(n[2]),c=+(0,o.trim)(n[3]);if(isNaN(a+s+l+c))return;var u=[];return function(e){return e<=0?0:e>=1?1:(0,r._E)(0,a,l,1,e,u)&&(0,r.Yb)(0,s,c,1,u[0])}}}},96395:function(e){"use strict";e.exports=!1},96430:function(e){e.exports=function(e,t,n){if(e)if(e.forEach)e.forEach(t,n);else for(var r=0,o=e.length;r<o;r++)t.call(n,e[r],r,e)}},96501:function(e,t,n){"use strict";n.d(t,{X:function(){return a},x:function(){return s}});var r=n(48170),o=(0,r.$r)(),i=(0,r.$r)(),a=function(){function e(){}return e.prototype.getColorFromPalette=function(e,t,n){var i=(0,r.qB)(this.get("color",!0)),a=this.get("colorLayer",!0);return l(this,o,i,a,e,t,n)},e.prototype.clearColorPalette=function(){var e;(e=o)(this).paletteIdx=0,e(this).paletteNameMap={}},e}();function s(e,t,n,o){var a=(0,r.qB)(e.get(["aria","decal","decals"]));return l(e,i,a,null,t,n,o)}function l(e,t,n,r,o,i,a){var s=t(i=i||e),l=s.paletteIdx||0,c=s.paletteNameMap=s.paletteNameMap||{};if(c.hasOwnProperty(o))return c[o];var u=null!=a&&r?function(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r].length>t)return e[r];return e[n-1]}(r,a):n;if((u=u||n)&&u.length){var d=u[l];return o&&(c[o]=d),s.paletteIdx=(l+1)%u.length,d}}},96661:function(e,t,n){var r=n(91852)(1,0);e.exports=r},96711:function(e,t,n){var r=n(51780);e.exports=function(e,t,n){var o=0,i=[];return n=n||this,function(){var a=arguments;++o<e&&(i.push(a[0]),t.apply(n,[i].concat(r(a))))}}},96801:function(e,t,n){"use strict";var r=n(43724),o=n(48686),i=n(24913),a=n(28551),s=n(25397),l=n(71072);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),o=l(t),c=o.length,u=0;c>u;)i.f(e,n=o[u++],r[n]);return e}},96837:function(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},96878:function(e,t,n){"use strict";n.d(t,{LR:function(){return s},Zp:function(){return i},gO:function(){return a}});var r=n(98026),o=n(48170);function i(e,t,n){n=n||{};var o=e.coordinateSystem,i=t.axis,a={},s=i.getAxesOnZeroOf()[0],l=i.position,c=s?"onZero":l,u=i.dim,d=o.getRect(),f=[d.x,d.x+d.width,d.y,d.y+d.height],h={left:0,right:1,top:0,bottom:1,onZero:2},p=t.get("offset")||0,m="x"===u?[f[2]-p,f[3]+p]:[f[0]-p,f[1]+p];if(s){var g=s.toGlobalCoord(s.dataToCoord(0));m[h.onZero]=Math.max(Math.min(g,m[1]),m[0])}a.position=["y"===u?m[h[c]]:f[0],"x"===u?m[h[c]]:f[3]],a.rotation=Math.PI/2*("x"===u?0:1),a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,left:-1,right:1}[l],a.labelOffset=s?m[h[l]]-m[h.onZero]:0,t.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),r.retrieve(n.labelInside,t.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var A=t.get(["axisLabel","rotate"]);return a.labelRotate="top"===c?-A:A,a.z2=1,a}function a(e){return"cartesian2d"===e.get("coordinateSystem")}function s(e){var t={xAxisModel:null,yAxisModel:null};return r.each(t,(function(n,r){var i=r.replace(/Model$/,""),a=e.getReferringComponents(i,o.US).models[0];t[r]=a})),t}},97040:function(e,t,n){"use strict";var r=n(43724),o=n(24913),i=n(6980);e.exports=function(e,t,n){r?o.f(e,t,i(0,n)):e[t]=n}},97063:function(e,t,n){"use strict";n.d(t,{a:function(){return Q}});var r=n(22480),o=n(15215),i=n(53226),a=n(3686),s=n(96878),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.C6)(t,e),t.prototype.makeElOption=function(e,t,n,r,o){var i=n.axis,l=i.grid,d=r.get("type"),f=c(l,i).getOtherAxis(i).getGlobalExtent(),h=i.toGlobalCoord(i.dataToCoord(t,!0));if(d&&"none"!==d){var p=a.bY(r),m=u[d](i,h,f);m.style=p,e.graphicKey=m.type,e.pointer=m}var g=s.Zp(l.model,n);a.DA(t,e,g,n,r,o)},t.prototype.getHandleTransform=function(e,t,n){var r=s.Zp(t.axis.grid.model,t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var o=a.Tc(t.axis,e,r);return{x:o[0],y:o[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var o=n.axis,i=o.grid,a=o.getGlobalExtent(!0),s=c(i,o).getOtherAxis(o).getGlobalExtent(),l="x"===o.dim?0:1,u=[e.x,e.y];u[l]+=t[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var d=(s[1]+s[0])/2,f=[d,d];return f[l]=u[l],{x:u[0],y:u[1],rotation:e.rotation,cursorPoint:f,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},t}(i.A);function c(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var u={line:function(e,t,n){return{type:"Line",subPixelOptimize:!0,shape:a.MU([t,n[0]],[t,n[1]],d(e))}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),o=n[1]-n[0];return{type:"Rect",shape:a.cU([t-r/2,n[0]],[r,o],d(e))}}};function d(e){return"x"===e.dim?0:1}var f=l,h=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.C6)(t,e),t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(n(15915).A),p=h,m=n(44784),g=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.C6)(t,e),t.prototype.render=function(e,t,n){var r=t.getComponent("tooltip"),o=e.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";m.k("axisPointer",n,(function(e,t,n){"none"!==o&&("leave"===e||o.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},t.prototype.remove=function(e,t){m.h("axisPointer",t)},t.prototype.dispose=function(e,t){m.h("axisPointer",t)},t.type="axisPointer",t}(n(59109).A),A=g,v=n(98026),y=n(49890),O=n(48170),b=n(26333),w=(0,O.$r)();function _(e,t,n){var r=e.currTrigger,o=[e.x,e.y],i=e,a=e.dispatchAction||(0,v.bind)(n.dispatchAction,n),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){B(o)&&(o=(0,b.A)({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},t).point);var l=B(o),c=i.axesInfo,u=s.axesInfo,d="leave"===r||B(o),f={},h={},p={list:[],map:{}},m={showPointer:(0,v.curry)(S,h),showTooltip:(0,v.curry)(k,p)};(0,v.each)(s.coordSysMap,(function(e,t){var n=l||e.containPoint(o);(0,v.each)(s.coordSysAxesInfo[t],(function(e,t){var r=e.axis,i=function(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}(c,e);if(!d&&n&&(!c||i)){var a=i&&i.value;null!=a||l||(a=r.pointToData(o)),null!=a&&x(e,a,m,!1,f)}}))}));var g={};return(0,v.each)(u,(function(e,t){var n=e.linkGroup;n&&!h[t]&&(0,v.each)(n.axesInfo,(function(t,r){var o=h[r];if(t!==e&&o){var i=o.value;n.mapper&&(i=e.axis.scale.parse(n.mapper(i,C(t),C(e)))),g[e.key]=i}}))})),(0,v.each)(g,(function(e,t){x(u[t],e,m,!0,f)})),function(e,t,n){var r=n.axesInfo=[];(0,v.each)(t,(function(t,n){var o=t.axisPointerModel.option,i=e[n];i?(!t.useHandle&&(o.status="show"),o.value=i.value,o.seriesDataIndices=(i.payloadBatch||[]).slice()):!t.useHandle&&(o.status="hide"),"show"===o.status&&r.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:o.value})}))}(h,u,f),function(e,t,n,r){if(!B(t)&&e.list.length){var o=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:o.dataIndexInside,dataIndex:o.dataIndex,seriesIndex:o.seriesIndex,dataByCoordSys:e.list})}else r({type:"hideTip"})}(p,o,e,a),function(e,t,n){var r=n.getZr(),o="axisPointerLastHighlights",i=w(r)[o]||{},a=w(r)[o]={};(0,v.each)(e,(function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&e.triggerEmphasis&&(0,v.each)(n.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;a[t]=e}))}));var s=[],l=[];(0,v.each)(i,(function(e,t){!a[t]&&l.push(e)})),(0,v.each)(a,(function(e,t){!i[t]&&s.push(e)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(u,0,n),f}}function x(e,t,n,r,o){var i=e.axis;if(!i.scale.isBlank()&&i.containData(t))if(e.involveSeries){var a=function(e,t){var n=t.axis,r=n.dim,o=e,i=[],a=Number.MAX_VALUE,s=-1;return(0,v.each)(t.seriesModels,(function(t,l){var c,u,d=t.getData().mapDimensionsAll(r);if(t.getAxisTooltipData){var f=t.getAxisTooltipData(d,e,n);u=f.dataIndices,c=f.nestestValue}else{if(!(u=t.getData().indicesOfNearest(d[0],e,"category"===n.type?.5:null)).length)return;c=t.getData().get(d[0],u[0])}if(null!=c&&isFinite(c)){var h=e-c,p=Math.abs(h);p<=a&&((p<a||h>=0&&s<0)&&(a=p,s=h,o=c,i.length=0),(0,v.each)(u,(function(e){i.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:i,snapToValue:o}}(t,e),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==o.seriesIndex&&(0,v.extend)(o,s[0]),!r&&e.snap&&i.containData(l)&&null!=l&&(t=l),n.showPointer(e,t,s),n.showTooltip(e,a,l)}else n.showPointer(e,t)}function S(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function k(e,t,n,r){var o=n.payloadBatch,i=t.axis,a=i.model,s=t.axisPointerModel;if(t.triggerTooltip&&o.length){var l=t.coordSys.model,c=y.og(l),u=e.map[c];u||(u=e.map[c]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(u)),u.dataByAxis.push({axisDim:i.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:o.slice()})}}function C(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function B(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}function Q(e){r.A.registerAxisPointerClass("CartesianAxisPointer",f),e.registerComponentModel(p),e.registerComponentView(A),e.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!(0,v.isArray)(t)&&(e.axisPointer.link=[t])}})),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=(0,y.Fo)(e,t)})),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},_)}},97080:function(e,t,n){"use strict";var r=n(94402).has;e.exports=function(e){return r(e),e}},97205:function(e,t,n){var r=n(69821);e.exports=function(e,t){if(e){if(e.includes)return e.includes(t);for(var n in e)if(r(e,n)&&t===e[n])return!0}return!1}},97351:function(e,t,n){"use strict";n.d(t,{A:function(){return f},M:function(){return d}});var r=n(13430),o=n(22759),i=n(98026),a=n(34310),s=n(70250),l=n(48170),c=n(23071),u=n(73632);function d(e,t){return f(e,t).dimensions}function f(e,t){(0,a.tP)(e)||(e=(0,a.AF)(e));var n=(t=t||{}).coordDimensions||[],d=t.dimensionsDefine||e.dimensionsDefine||[],f=(0,i.createHashMap)(),p=[],m=function(e,t,n,r){var o=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return(0,i.each)(t,(function(e){var t;(0,i.isObject)(e)&&(t=e.dimsDef)&&(o=Math.max(o,t.length))})),o}(e,n,d,t.dimensionsCount),g=t.canOmitUnusedDimensions&&(0,u.eS)(m),A=d===e.dimensionsDefine,v=A?(0,u.j_)(e):(0,u.io)(d),y=t.encodeDefine;!y&&t.encodeDefaulter&&(y=t.encodeDefaulter(e,m));for(var O=(0,i.createHashMap)(y),b=new s.A_(m),w=0;w<b.length;w++)b[w]=-1;function _(e){var t=b[e];if(t<0){var n=d[e],r=(0,i.isObject)(n)?n:{name:n},a=new o.A,s=r.name;null!=s&&null!=v.get(s)&&(a.name=a.displayName=s),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var l=p.length;return b[e]=l,a.storeDimIndex=e,p.push(a),a}return p[t]}if(!g)for(w=0;w<m;w++)_(w);O.each((function(e,t){var n=(0,l.qB)(e).slice();if(1===n.length&&!(0,i.isString)(n[0])&&n[0]<0)O.set(t,!1);else{var r=O.set(t,[]);(0,i.each)(n,(function(e,n){var o=(0,i.isString)(e)?v.get(e):e;null!=o&&o<m&&(r[n]=o,S(_(o),t,n))}))}}));var x=0;function S(e,t,n){null!=r.Pe.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,f.set(t,!0))}(0,i.each)(n,(function(e){var t,n,r,o;if((0,i.isString)(e))t=e,o={};else{t=(o=e).name;var a=o.ordinalMeta;o.ordinalMeta=null,(o=(0,i.extend)({},o)).ordinalMeta=a,n=o.dimsDef,r=o.otherDims,o.name=o.coordDim=o.coordDimIndex=o.dimsDef=o.otherDims=null}var s=O.get(t);if(!1!==s){if(!(s=(0,l.qB)(s)).length)for(var c=0;c<(n&&n.length||1);c++){for(;x<m&&null!=_(x).coordDim;)x++;x<m&&s.push(x++)}(0,i.each)(s,(function(e,a){var s=_(e);if(A&&null!=o.type&&(s.type=o.type),S((0,i.defaults)(s,o),t,a),null==s.name&&n){var l=n[a];!(0,i.isObject)(l)&&(l={name:l}),s.name=s.displayName=l.name,s.defaultTooltip=l.defaultTooltip}r&&(0,i.defaults)(s.otherDims,r)}))}}));var k=t.generateCoord,C=t.generateCoordCount,B=null!=C;C=k?C||1:0;var Q=k||"value";function T(e){null==e.name&&(e.name=e.coordDim)}if(g)(0,i.each)(p,(function(e){T(e)})),p.sort((function(e,t){return e.storeDimIndex-t.storeDimIndex}));else for(var E=0;E<m;E++){var P=_(E);null==P.coordDim&&(P.coordDim=h(Q,f,B),P.coordDimIndex=0,(!k||C<=0)&&(P.isExtraCoord=!0),C--),T(P),null!=P.type||(0,c.PU)(e,E)!==c.sc.Must&&(!P.isExtraCoord||null==P.otherDims.itemName&&null==P.otherDims.seriesName)||(P.type="ordinal")}return function(e){for(var t=(0,i.createHashMap)(),n=0;n<e.length;n++){var r=e[n],o=r.name,a=t.get(o)||0;a>0&&(r.name=o+(a-1)),a++,t.set(o,a)}}(p),new u.Tc({source:e,dimensions:p,fullDimensionCount:m,dimensionOmitted:g})}function h(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}},97375:function(e){e.exports=function(){"use strict";return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var o=this.$utils(),i=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return n.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return n.ordinal(t.week(),"W");case"w":case"ww":return o.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return o.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return o.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return r.bind(this)(i)}}}()},97417:function(e,t,n){"use strict";n.d(t,{G:function(){return a}});const r="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),o="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class a{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function o(e,t,i,a){let s=[],l=/^@(\w+)\b/.exec(e[0]),c=l&&"keyframes"==l[1];if(l&&null==t)return i.push(e[0]+";");for(let n in t){let a=t[n];if(/&/.test(n))o(n.split(/,\s*/).map((t=>e.map((e=>t.replace(/&/,e))))).reduce(((e,t)=>e.concat(t))),a,i);else if(a&&"object"==typeof a){if(!l)throw new RangeError("The value of a property ("+n+") should be a primitive value.");o(r(n),a,s,c)}else null!=a&&s.push(n.replace(/_.*/,"").replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+": "+a+";")}(s.length||c)&&i.push((!n||l||a?e:e.map(n)).join(", ")+" {"+s.join(" ")+"}")}for(let t in e)o(r(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=i[r]||1;return i[r]=e+1,"ͼ"+e.toString(36)}static mount(e,t,n){let r=e[o],i=n&&n.nonce;r?i&&r.setNonce(i):r=new l(e,i),r.mount(Array.isArray(t)?t:[t],e)}}let s=new Map;class l{constructor(e,t){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=s.get(n);if(t)return e[o]=t;this.sheet=new r.CSSStyleSheet,s.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[o]=this}mount(e,t){let n=this.sheet,r=0,o=0;for(let t=0;t<e.length;t++){let i=e[t],a=this.modules.indexOf(i);if(a<o&&a>-1&&(this.modules.splice(a,1),o--,a=-1),-1==a){if(this.modules.splice(o++,0,i),n)for(let e=0;e<i.rules.length;e++)n.insertRule(i.rules[e],r++)}else{for(;o<a;)r+=this.modules[o++].rules.length;r+=i.rules.length,o++}}if(n)t.adoptedStyleSheets.indexOf(this.sheet)<0&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let n=t.head||t;this.styleTag.parentNode!=n&&n.insertBefore(this.styleTag,n.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}},97751:function(e,t,n){"use strict";var r=n(44576),o=n(94901);e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},97786:function(e,t,n){"use strict";n.d(t,{F4c:function(){return i},MLh:function(){return l},P1n:function(){return Q},SSU:function(){return w},X2F:function(){return u},YC1:function(){return d},eU5:function(){return m},esz:function(){return R},fho:function(){return g},hRP:function(){return z},lWr:function(){return D},wYm:function(){return b}});var r=n(22720),o=n(12189);function i(e){var t;const n=(0,r.x_)(e);return null!=(t=null==n?void 0:n.$el)?t:n}const a=r.oc?window:void 0,s=r.oc?window.document:void 0;function l(...e){let t,n,s,l;if((0,r.Kg)(e[0])||Array.isArray(e[0])?([n,s,l]=e,t=a):[t,n,s,l]=e,!t)return r.lQ;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const c=[],u=()=>{c.forEach((e=>e())),c.length=0},d=(0,o.wBe)((()=>[i(t),(0,r.x_)(l)]),(([e,t])=>{u(),e&&c.push(...n.flatMap((n=>s.map((r=>((e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)))(e,n,r,t))))))}),{immediate:!0,flush:"post"}),f=()=>{d(),u()};return(0,r.Uo)(f),f}r.oc&&window.navigator,r.oc&&window.location;let c=!1;function u(e,t,n={}){const{window:o=a,ignore:s=[],capture:u=!0,detectIframe:d=!1}=n;if(!o)return;r.un&&!c&&(c=!0,Array.from(o.document.body.children).forEach((e=>e.addEventListener("click",r.lQ))));let f=!0;const h=e=>s.some((t=>{if("string"==typeof t)return Array.from(o.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)));{const n=i(t);return n&&(e.target===n||e.composedPath().includes(n))}})),p=[l(o,"click",(n=>{const r=i(e);r&&r!==n.target&&!n.composedPath().includes(r)&&(0===n.detail&&(f=!h(n)),f?t(n):f=!0)}),{passive:!0,capture:u}),l(o,"pointerdown",(t=>{const n=i(e);n&&(f=!t.composedPath().includes(n)&&!h(t))}),{passive:!0}),d&&l(o,"blur",(n=>{var r;const a=i(e);"IFRAME"!==(null==(r=o.document.activeElement)?void 0:r.tagName)||(null==a?void 0:a.contains(o.document.activeElement))||t(n)}))].filter(Boolean);return()=>p.forEach((e=>e()))}function d(e={}){var t;const{window:n=a}=e,o=null!=(t=e.document)?t:null==n?void 0:n.document,i=(0,r.bW)((()=>null),(()=>null==o?void 0:o.activeElement));return n&&(l(n,"blur",(e=>{null===e.relatedTarget&&i.trigger()}),!0),l(n,"focus",i.trigger,!0)),i}function f(e,t=!1){const n=(0,o.KRz)(),i=()=>n.value=Boolean(e());return i(),(0,r.rd)(i,t),n}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},p="__vueuse_ssr_handlers__";function m(e,t,{window:n=a,initialValue:s=""}={}){const l=(0,o.KRz)(s),c=(0,o.EWP)((()=>{var e;return i(t)||(null==(e=null==n?void 0:n.document)?void 0:e.documentElement)}));return(0,o.wBe)([c,()=>(0,r.x_)(e)],(([e,t])=>{var r;if(e&&n){const o=null==(r=n.getComputedStyle(e).getPropertyValue(t))?void 0:r.trim();l.value=o||s}}),{immediate:!0}),(0,o.wBe)(l,(t=>{var n;(null==(n=c.value)?void 0:n.style)&&c.value.style.setProperty((0,r.x_)(e),t)})),l}function g({document:e=s}={}){if(!e)return(0,o.KRz)("visible");const t=(0,o.KRz)(e.visibilityState);return l(e,"visibilitychange",(()=>{t.value=e.visibilityState})),t}h[p]=h[p]||{},h[p],Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var A=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,O=(e,t)=>{var n={};for(var r in e)v.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&A)for(var r of A(e))t.indexOf(r)<0&&y.call(e,r)&&(n[r]=e[r]);return n};function b(e,t,n={}){const s=n,{window:l=a}=s,c=O(s,["window"]);let u;const d=f((()=>l&&"ResizeObserver"in l)),h=()=>{u&&(u.disconnect(),u=void 0)},p=(0,o.wBe)((()=>i(e)),(e=>{h(),d.value&&l&&e&&(u=new ResizeObserver(t),u.observe(e,c))}),{immediate:!0,flush:"post"}),m=()=>{h(),p()};return(0,r.Uo)(m),{isSupported:d,stop:m}}function w(e,t={}){const{reset:n=!0,windowResize:a=!0,windowScroll:s=!0,immediate:c=!0}=t,u=(0,o.KRz)(0),d=(0,o.KRz)(0),f=(0,o.KRz)(0),h=(0,o.KRz)(0),p=(0,o.KRz)(0),m=(0,o.KRz)(0),g=(0,o.KRz)(0),A=(0,o.KRz)(0);function v(){const t=i(e);if(!t)return void(n&&(u.value=0,d.value=0,f.value=0,h.value=0,p.value=0,m.value=0,g.value=0,A.value=0));const r=t.getBoundingClientRect();u.value=r.height,d.value=r.bottom,f.value=r.left,h.value=r.right,p.value=r.top,m.value=r.width,g.value=r.x,A.value=r.y}return b(e,v),(0,o.wBe)((()=>i(e)),(e=>!e&&v())),s&&l("scroll",v,{capture:!0,passive:!0}),a&&l("resize",v,{passive:!0}),(0,r.rd)((()=>{c&&v()})),{height:u,bottom:d,left:f,right:h,top:p,width:m,x:g,y:A,update:v}}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,new Map,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var _,x,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,B=(e,t)=>{var n={};for(var r in e)k.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&S)for(var r of S(e))t.indexOf(r)<0&&C.call(e,r)&&(n[r]=e[r]);return n};function Q(e,t,n={}){const s=n,{window:l=a}=s,c=B(s,["window"]);let u;const d=f((()=>l&&"MutationObserver"in l)),h=()=>{u&&(u.disconnect(),u=void 0)},p=(0,o.wBe)((()=>i(e)),(e=>{h(),d.value&&l&&e&&(u=new MutationObserver(t),u.observe(e,c))}),{immediate:!0}),m=()=>{h(),p()};return(0,r.Uo)(m),{isSupported:d,stop:m}}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,(x=_||(_={})).UP="UP",x.RIGHT="RIGHT",x.DOWN="DOWN",x.LEFT="LEFT",x.NONE="NONE",Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var T=Object.defineProperty,E=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,M=(e,t,n)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function z(e,t,n,i={}){var a,s,l,c,u;const{clone:d=!1,passive:f=!1,eventName:h,deep:p=!1,defaultValue:m}=i,g=(0,o.nIK)(),A=n||(null==g?void 0:g.emit)||(null==(a=null==g?void 0:g.$emit)?void 0:a.bind(g))||(null==(l=null==(s=null==g?void 0:g.proxy)?void 0:s.$emit)?void 0:l.bind(null==g?void 0:g.proxy));let v=h;if(!t)if(o.LER){const e=null==(u=null==(c=null==g?void 0:g.proxy)?void 0:c.$options)?void 0:u.model;t=(null==e?void 0:e.value)||"value",h||(v=(null==e?void 0:e.event)||"input")}else t="modelValue";v=h||v||`update:${t.toString()}`;const y=e=>{return d?(0,r.Tn)(d)?d(e):(t=e,JSON.parse(JSON.stringify(t))):e;var t},O=()=>(0,r.C8)(e[t])?y(e[t]):m;if(f){const n=O(),r=(0,o.KRz)(n);return(0,o.wBe)((()=>e[t]),(e=>r.value=y(e))),(0,o.wBe)(r,(n=>{(n!==e[t]||p)&&A(v,n)}),{deep:p}),r}return(0,o.EWP)({get(){return O()},set(e){A(v,e)}})}function R({window:e=a}={}){if(!e)return(0,o.KRz)(!1);const t=(0,o.KRz)(e.document.hasFocus());return l(e,"blur",(()=>{t.value=!1})),l(e,"focus",(()=>{t.value=!0})),t}function D(e={}){const{window:t=a,initialWidth:n=1/0,initialHeight:i=1/0,listenOrientation:s=!0,includeScrollbar:c=!0}=e,u=(0,o.KRz)(n),d=(0,o.KRz)(i),f=()=>{t&&(c?(u.value=t.innerWidth,d.value=t.innerHeight):(u.value=t.document.documentElement.clientWidth,d.value=t.document.documentElement.clientHeight))};return f(),(0,r.rd)(f),l("resize",f,{passive:!0}),s&&l("orientationchange",f,{passive:!0}),{width:u,height:d}}((e,t)=>{for(var n in t||(t={}))P.call(t,n)&&M(e,n,t[n]);if(E)for(var n of E(t))$.call(t,n)&&M(e,n,t[n])})({linear:r.D_},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]})},97856:function(e){var t;globalThis,t=()=>(()=>{"use strict";var e={4567:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.AccessibilityManager=void 0;const i=n(9042),a=n(9924),s=n(844),l=n(4725),c=n(2585),u=n(3656);let d=t.AccessibilityManager=class extends s.Disposable{constructor(e,t,n,r){super(),this._terminal=e,this._coreBrowserService=n,this._renderService=r,this._rowColumns=new WeakMap,this._liveRegionLineCount=0,this._charsToConsume=[],this._charsToAnnounce="",this._accessibilityContainer=this._coreBrowserService.mainDocument.createElement("div"),this._accessibilityContainer.classList.add("xterm-accessibility"),this._rowContainer=this._coreBrowserService.mainDocument.createElement("div"),this._rowContainer.setAttribute("role","list"),this._rowContainer.classList.add("xterm-accessibility-tree"),this._rowElements=[];for(let e=0;e<this._terminal.rows;e++)this._rowElements[e]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[e]);if(this._topBoundaryFocusListener=e=>this._handleBoundaryFocus(e,0),this._bottomBoundaryFocusListener=e=>this._handleBoundaryFocus(e,1),this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions(),this._accessibilityContainer.appendChild(this._rowContainer),this._liveRegion=this._coreBrowserService.mainDocument.createElement("div"),this._liveRegion.classList.add("live-region"),this._liveRegion.setAttribute("aria-live","assertive"),this._accessibilityContainer.appendChild(this._liveRegion),this._liveRegionDebouncer=this.register(new a.TimeBasedDebouncer(this._renderRows.bind(this))),!this._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");this._terminal.element.insertAdjacentElement("afterbegin",this._accessibilityContainer),this.register(this._terminal.onResize((e=>this._handleResize(e.rows)))),this.register(this._terminal.onRender((e=>this._refreshRows(e.start,e.end)))),this.register(this._terminal.onScroll((()=>this._refreshRows()))),this.register(this._terminal.onA11yChar((e=>this._handleChar(e)))),this.register(this._terminal.onLineFeed((()=>this._handleChar("\n")))),this.register(this._terminal.onA11yTab((e=>this._handleTab(e)))),this.register(this._terminal.onKey((e=>this._handleKey(e.key)))),this.register(this._terminal.onBlur((()=>this._clearLiveRegion()))),this.register(this._renderService.onDimensionsChange((()=>this._refreshRowsDimensions()))),this.register((0,u.addDisposableDomListener)(document,"selectionchange",(()=>this._handleSelectionChange()))),this.register(this._coreBrowserService.onDprChange((()=>this._refreshRowsDimensions()))),this._refreshRows(),this.register((0,s.toDisposable)((()=>{this._accessibilityContainer.remove(),this._rowElements.length=0})))}_handleTab(e){for(let t=0;t<e;t++)this._handleChar(" ")}_handleChar(e){this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==e&&(this._charsToAnnounce+=e):this._charsToAnnounce+=e,"\n"===e&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=i.tooMuchOutput)))}_clearLiveRegion(){this._liveRegion.textContent="",this._liveRegionLineCount=0}_handleKey(e){this._clearLiveRegion(),/\p{Control}/u.test(e)||this._charsToConsume.push(e)}_refreshRows(e,t){this._liveRegionDebouncer.refresh(e,t,this._terminal.rows)}_renderRows(e,t){const n=this._terminal.buffer,r=n.lines.length.toString();for(let o=e;o<=t;o++){const e=n.lines.get(n.ydisp+o),t=[],i=e?.translateToString(!0,void 0,void 0,t)||"",a=(n.ydisp+o+1).toString(),s=this._rowElements[o];s&&(0===i.length?(s.innerText=" ",this._rowColumns.set(s,[0,1])):(s.textContent=i,this._rowColumns.set(s,t)),s.setAttribute("aria-posinset",a),s.setAttribute("aria-setsize",r))}this._announceCharacters()}_announceCharacters(){0!==this._charsToAnnounce.length&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")}_handleBoundaryFocus(e,t){const n=e.target,r=this._rowElements[0===t?1:this._rowElements.length-2];if(n.getAttribute("aria-posinset")===(0===t?"1":`${this._terminal.buffer.lines.length}`))return;if(e.relatedTarget!==r)return;let o,i;if(0===t?(o=n,i=this._rowElements.pop(),this._rowContainer.removeChild(i)):(o=this._rowElements.shift(),i=n,this._rowContainer.removeChild(o)),o.removeEventListener("focus",this._topBoundaryFocusListener),i.removeEventListener("focus",this._bottomBoundaryFocusListener),0===t){const e=this._createAccessibilityTreeNode();this._rowElements.unshift(e),this._rowContainer.insertAdjacentElement("afterbegin",e)}else{const e=this._createAccessibilityTreeNode();this._rowElements.push(e),this._rowContainer.appendChild(e)}this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(0===t?-1:1),this._rowElements[0===t?1:this._rowElements.length-2].focus(),e.preventDefault(),e.stopImmediatePropagation()}_handleSelectionChange(){if(0===this._rowElements.length)return;const e=document.getSelection();if(!e)return;if(e.isCollapsed)return void(this._rowContainer.contains(e.anchorNode)&&this._terminal.clearSelection());if(!e.anchorNode||!e.focusNode)return void console.error("anchorNode and/or focusNode are null");let t={node:e.anchorNode,offset:e.anchorOffset},n={node:e.focusNode,offset:e.focusOffset};if((t.node.compareDocumentPosition(n.node)&Node.DOCUMENT_POSITION_PRECEDING||t.node===n.node&&t.offset>n.offset)&&([t,n]=[n,t]),t.node.compareDocumentPosition(this._rowElements[0])&(Node.DOCUMENT_POSITION_CONTAINED_BY|Node.DOCUMENT_POSITION_FOLLOWING)&&(t={node:this._rowElements[0].childNodes[0],offset:0}),!this._rowContainer.contains(t.node))return;const r=this._rowElements.slice(-1)[0];if(n.node.compareDocumentPosition(r)&(Node.DOCUMENT_POSITION_CONTAINED_BY|Node.DOCUMENT_POSITION_PRECEDING)&&(n={node:r,offset:r.textContent?.length??0}),!this._rowContainer.contains(n.node))return;const o=({node:e,offset:t})=>{const n=e instanceof Text?e.parentNode:e;let r=parseInt(n?.getAttribute("aria-posinset"),10)-1;if(isNaN(r))return console.warn("row is invalid. Race condition?"),null;const o=this._rowColumns.get(n);if(!o)return console.warn("columns is null. Race condition?"),null;let i=t<o.length?o[t]:o.slice(-1)[0]+1;return i>=this._terminal.cols&&(++r,i=0),{row:r,column:i}},i=o(t),a=o(n);if(i&&a){if(i.row>a.row||i.row===a.row&&i.column>=a.column)throw new Error("invalid range");this._terminal.select(i.column,i.row,(a.row-i.row)*this._terminal.cols-i.column+a.column)}}_handleResize(e){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(let e=this._rowContainer.children.length;e<this._terminal.rows;e++)this._rowElements[e]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[e]);for(;this._rowElements.length>e;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()}_createAccessibilityTreeNode(){const e=this._coreBrowserService.mainDocument.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e}_refreshRowsDimensions(){if(this._renderService.dimensions.css.cell.height){this._accessibilityContainer.style.width=`${this._renderService.dimensions.css.canvas.width}px`,this._rowElements.length!==this._terminal.rows&&this._handleResize(this._terminal.rows);for(let e=0;e<this._terminal.rows;e++)this._refreshRowDimensions(this._rowElements[e])}}_refreshRowDimensions(e){e.style.height=`${this._renderService.dimensions.css.cell.height}px`}};t.AccessibilityManager=d=r([o(1,c.IInstantiationService),o(2,l.ICoreBrowserService),o(3,l.IRenderService)],d)},3614:(e,t)=>{function n(e){return e.replace(/\r?\n/g,"\r")}function r(e,t){return t?"[200~"+e+"[201~":e}function o(e,t,o,i){e=r(e=n(e),o.decPrivateModes.bracketedPasteMode&&!0!==i.rawOptions.ignoreBracketedPasteMode),o.triggerDataEvent(e,!0),t.value=""}function i(e,t,n){const r=n.getBoundingClientRect(),o=e.clientX-r.left-10,i=e.clientY-r.top-10;t.style.width="20px",t.style.height="20px",t.style.left=`${o}px`,t.style.top=`${i}px`,t.style.zIndex="1000",t.focus()}Object.defineProperty(t,"__esModule",{value:!0}),t.rightClickHandler=t.moveTextAreaUnderMouseCursor=t.paste=t.handlePasteEvent=t.copyHandler=t.bracketTextForPaste=t.prepareTextForTerminal=void 0,t.prepareTextForTerminal=n,t.bracketTextForPaste=r,t.copyHandler=function(e,t){e.clipboardData&&e.clipboardData.setData("text/plain",t.selectionText),e.preventDefault()},t.handlePasteEvent=function(e,t,n,r){e.stopPropagation(),e.clipboardData&&o(e.clipboardData.getData("text/plain"),t,n,r)},t.paste=o,t.moveTextAreaUnderMouseCursor=i,t.rightClickHandler=function(e,t,n,r,o){i(e,t,n),o&&r.rightClickSelect(e),t.value=r.selectionText,t.select()}},7239:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorContrastCache=void 0;const r=n(1505);t.ColorContrastCache=class{constructor(){this._color=new r.TwoKeyMap,this._css=new r.TwoKeyMap}setCss(e,t,n){this._css.set(e,t,n)}getCss(e,t){return this._css.get(e,t)}setColor(e,t,n){this._color.set(e,t,n)}getColor(e,t){return this._color.get(e,t)}clear(){this._color.clear(),this._css.clear()}}},3656:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=void 0,t.addDisposableDomListener=function(e,t,n,r){e.addEventListener(t,n,r);let o=!1;return{dispose:()=>{o||(o=!0,e.removeEventListener(t,n,r))}}}},3551:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Linkifier=void 0;const i=n(3656),a=n(8460),s=n(844),l=n(2585),c=n(4725);let u=t.Linkifier=class extends s.Disposable{get currentLink(){return this._currentLink}constructor(e,t,n,r,o){super(),this._element=e,this._mouseService=t,this._renderService=n,this._bufferService=r,this._linkProviderService=o,this._linkCacheDisposables=[],this._isMouseOut=!0,this._wasResized=!1,this._activeLine=-1,this._onShowLinkUnderline=this.register(new a.EventEmitter),this.onShowLinkUnderline=this._onShowLinkUnderline.event,this._onHideLinkUnderline=this.register(new a.EventEmitter),this.onHideLinkUnderline=this._onHideLinkUnderline.event,this.register((0,s.getDisposeArrayDisposable)(this._linkCacheDisposables)),this.register((0,s.toDisposable)((()=>{this._lastMouseEvent=void 0,this._activeProviderReplies?.clear()}))),this.register(this._bufferService.onResize((()=>{this._clearCurrentLink(),this._wasResized=!0}))),this.register((0,i.addDisposableDomListener)(this._element,"mouseleave",(()=>{this._isMouseOut=!0,this._clearCurrentLink()}))),this.register((0,i.addDisposableDomListener)(this._element,"mousemove",this._handleMouseMove.bind(this))),this.register((0,i.addDisposableDomListener)(this._element,"mousedown",this._handleMouseDown.bind(this))),this.register((0,i.addDisposableDomListener)(this._element,"mouseup",this._handleMouseUp.bind(this)))}_handleMouseMove(e){this._lastMouseEvent=e;const t=this._positionFromMouseEvent(e,this._element,this._mouseService);if(!t)return;this._isMouseOut=!1;const n=e.composedPath();for(let e=0;e<n.length;e++){const t=n[e];if(t.classList.contains("xterm"))break;if(t.classList.contains("xterm-hover"))return}this._lastBufferCell&&t.x===this._lastBufferCell.x&&t.y===this._lastBufferCell.y||(this._handleHover(t),this._lastBufferCell=t)}_handleHover(e){if(this._activeLine!==e.y||this._wasResized)return this._clearCurrentLink(),this._askForLink(e,!1),void(this._wasResized=!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,e)||(this._clearCurrentLink(),this._askForLink(e,!0))}_askForLink(e,t){this._activeProviderReplies&&t||(this._activeProviderReplies?.forEach((e=>{e?.forEach((e=>{e.link.dispose&&e.link.dispose()}))})),this._activeProviderReplies=new Map,this._activeLine=e.y);let n=!1;for(const[r,o]of this._linkProviderService.linkProviders.entries())if(t){const t=this._activeProviderReplies?.get(r);t&&(n=this._checkLinkProviderResult(r,e,n))}else o.provideLinks(e.y,(t=>{if(this._isMouseOut)return;const o=t?.map((e=>({link:e})));this._activeProviderReplies?.set(r,o),n=this._checkLinkProviderResult(r,e,n),this._activeProviderReplies?.size===this._linkProviderService.linkProviders.length&&this._removeIntersectingLinks(e.y,this._activeProviderReplies)}))}_removeIntersectingLinks(e,t){const n=new Set;for(let r=0;r<t.size;r++){const o=t.get(r);if(o)for(let t=0;t<o.length;t++){const r=o[t],i=r.link.range.start.y<e?0:r.link.range.start.x,a=r.link.range.end.y>e?this._bufferService.cols:r.link.range.end.x;for(let e=i;e<=a;e++){if(n.has(e)){o.splice(t--,1);break}n.add(e)}}}}_checkLinkProviderResult(e,t,n){if(!this._activeProviderReplies)return n;const r=this._activeProviderReplies.get(e);let o=!1;for(let t=0;t<e;t++)this._activeProviderReplies.has(t)&&!this._activeProviderReplies.get(t)||(o=!0);if(!o&&r){const e=r.find((e=>this._linkAtPosition(e.link,t)));e&&(n=!0,this._handleNewLink(e))}if(this._activeProviderReplies.size===this._linkProviderService.linkProviders.length&&!n)for(let e=0;e<this._activeProviderReplies.size;e++){const r=this._activeProviderReplies.get(e)?.find((e=>this._linkAtPosition(e.link,t)));if(r){n=!0,this._handleNewLink(r);break}}return n}_handleMouseDown(){this._mouseDownLink=this._currentLink}_handleMouseUp(e){if(!this._currentLink)return;const t=this._positionFromMouseEvent(e,this._element,this._mouseService);t&&this._mouseDownLink===this._currentLink&&this._linkAtPosition(this._currentLink.link,t)&&this._currentLink.link.activate(e,this._currentLink.link.text)}_clearCurrentLink(e,t){this._currentLink&&this._lastMouseEvent&&(!e||!t||this._currentLink.link.range.start.y>=e&&this._currentLink.link.range.end.y<=t)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,(0,s.disposeArray)(this._linkCacheDisposables))}_handleNewLink(e){if(!this._lastMouseEvent)return;const t=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);t&&this._linkAtPosition(e.link,t)&&(this._currentLink=e,this._currentLink.state={decorations:{underline:void 0===e.link.decorations||e.link.decorations.underline,pointerCursor:void 0===e.link.decorations||e.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,e.link,this._lastMouseEvent),e.link.decorations={},Object.defineProperties(e.link.decorations,{pointerCursor:{get:()=>this._currentLink?.state?.decorations.pointerCursor,set:e=>{this._currentLink?.state&&this._currentLink.state.decorations.pointerCursor!==e&&(this._currentLink.state.decorations.pointerCursor=e,this._currentLink.state.isHovered&&this._element.classList.toggle("xterm-cursor-pointer",e))}},underline:{get:()=>this._currentLink?.state?.decorations.underline,set:t=>{this._currentLink?.state&&this._currentLink?.state?.decorations.underline!==t&&(this._currentLink.state.decorations.underline=t,this._currentLink.state.isHovered&&this._fireUnderlineEvent(e.link,t))}}}),this._linkCacheDisposables.push(this._renderService.onRenderedViewportChange((e=>{if(!this._currentLink)return;const t=0===e.start?0:e.start+1+this._bufferService.buffer.ydisp,n=this._bufferService.buffer.ydisp+1+e.end;if(this._currentLink.link.range.start.y>=t&&this._currentLink.link.range.end.y<=n&&(this._clearCurrentLink(t,n),this._lastMouseEvent)){const e=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);e&&this._askForLink(e,!1)}}))))}_linkHover(e,t,n){this._currentLink?.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!0),this._currentLink.state.decorations.pointerCursor&&e.classList.add("xterm-cursor-pointer")),t.hover&&t.hover(n,t.text)}_fireUnderlineEvent(e,t){const n=e.range,r=this._bufferService.buffer.ydisp,o=this._createLinkUnderlineEvent(n.start.x-1,n.start.y-r-1,n.end.x,n.end.y-r-1,void 0);(t?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(o)}_linkLeave(e,t,n){this._currentLink?.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!1),this._currentLink.state.decorations.pointerCursor&&e.classList.remove("xterm-cursor-pointer")),t.leave&&t.leave(n,t.text)}_linkAtPosition(e,t){const n=e.range.start.y*this._bufferService.cols+e.range.start.x,r=e.range.end.y*this._bufferService.cols+e.range.end.x,o=t.y*this._bufferService.cols+t.x;return n<=o&&o<=r}_positionFromMouseEvent(e,t,n){const r=n.getCoords(e,t,this._bufferService.cols,this._bufferService.rows);if(r)return{x:r[0],y:r[1]+this._bufferService.buffer.ydisp}}_createLinkUnderlineEvent(e,t,n,r,o){return{x1:e,y1:t,x2:n,y2:r,cols:this._bufferService.cols,fg:o}}};t.Linkifier=u=r([o(1,c.IMouseService),o(2,c.IRenderService),o(3,l.IBufferService),o(4,c.ILinkProviderService)],u)},9042:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.tooMuchOutput=t.promptLabel=void 0,t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},3730:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.OscLinkProvider=void 0;const i=n(511),a=n(2585);let s=t.OscLinkProvider=class{constructor(e,t,n){this._bufferService=e,this._optionsService=t,this._oscLinkService=n}provideLinks(e,t){const n=this._bufferService.buffer.lines.get(e-1);if(!n)return void t(void 0);const r=[],o=this._optionsService.rawOptions.linkHandler,a=new i.CellData,s=n.getTrimmedLength();let c=-1,u=-1,d=!1;for(let t=0;t<s;t++)if(-1!==u||n.hasContent(t)){if(n.loadCell(t,a),a.hasExtendedAttrs()&&a.extended.urlId){if(-1===u){u=t,c=a.extended.urlId;continue}d=a.extended.urlId!==c}else-1!==u&&(d=!0);if(d||-1!==u&&t===s-1){const n=this._oscLinkService.getLinkData(c)?.uri;if(n){const i={start:{x:u+1,y:e},end:{x:t+(d||t!==s-1?0:1),y:e}};let a=!1;if(!o?.allowNonHttpProtocols)try{const e=new URL(n);["http:","https:"].includes(e.protocol)||(a=!0)}catch(e){a=!0}a||r.push({text:n,range:i,activate:(e,t)=>o?o.activate(e,t,i):l(0,t),hover:(e,t)=>o?.hover?.(e,t,i),leave:(e,t)=>o?.leave?.(e,t,i)})}d=!1,a.hasExtendedAttrs()&&a.extended.urlId?(u=t,c=a.extended.urlId):(u=-1,c=-1)}}t(r)}};function l(e,t){if(confirm(`Do you want to navigate to ${t}?\n\nWARNING: This link could potentially be dangerous`)){const e=window.open();if(e){try{e.opener=null}catch{}e.location.href=t}else console.warn("Opening link blocked as opener could not be cleared")}}t.OscLinkProvider=s=r([o(0,a.IBufferService),o(1,a.IOptionsService),o(2,a.IOscLinkService)],s)},6193:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RenderDebouncer=void 0,t.RenderDebouncer=class{constructor(e,t){this._renderCallback=e,this._coreBrowserService=t,this._refreshCallbacks=[]}dispose(){this._animationFrame&&(this._coreBrowserService.window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)}addRefreshCallback(e){return this._refreshCallbacks.push(e),this._animationFrame||(this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>this._innerRefresh()))),this._animationFrame}refresh(e,t,n){this._rowCount=n,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t,this._animationFrame||(this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>this._innerRefresh())))}_innerRefresh(){if(this._animationFrame=void 0,void 0===this._rowStart||void 0===this._rowEnd||void 0===this._rowCount)return void this._runRefreshCallbacks();const e=Math.max(this._rowStart,0),t=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(e,t),this._runRefreshCallbacks()}_runRefreshCallbacks(){for(const e of this._refreshCallbacks)e(0);this._refreshCallbacks=[]}}},3236:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Terminal=void 0;const r=n(3614),o=n(3656),i=n(3551),a=n(9042),s=n(3730),l=n(1680),c=n(3107),u=n(5744),d=n(2950),f=n(1296),h=n(428),p=n(4269),m=n(5114),g=n(8934),A=n(3230),v=n(9312),y=n(4725),O=n(6731),b=n(8055),w=n(8969),_=n(8460),x=n(844),S=n(6114),k=n(8437),C=n(2584),B=n(7399),Q=n(5941),T=n(9074),E=n(2585),P=n(5435),$=n(4567),M=n(779);class z extends w.CoreTerminal{get onFocus(){return this._onFocus.event}get onBlur(){return this._onBlur.event}get onA11yChar(){return this._onA11yCharEmitter.event}get onA11yTab(){return this._onA11yTabEmitter.event}get onWillOpen(){return this._onWillOpen.event}constructor(e={}){super(e),this.browser=S,this._keyDownHandled=!1,this._keyDownSeen=!1,this._keyPressHandled=!1,this._unprocessedDeadKey=!1,this._accessibilityManager=this.register(new x.MutableDisposable),this._onCursorMove=this.register(new _.EventEmitter),this.onCursorMove=this._onCursorMove.event,this._onKey=this.register(new _.EventEmitter),this.onKey=this._onKey.event,this._onRender=this.register(new _.EventEmitter),this.onRender=this._onRender.event,this._onSelectionChange=this.register(new _.EventEmitter),this.onSelectionChange=this._onSelectionChange.event,this._onTitleChange=this.register(new _.EventEmitter),this.onTitleChange=this._onTitleChange.event,this._onBell=this.register(new _.EventEmitter),this.onBell=this._onBell.event,this._onFocus=this.register(new _.EventEmitter),this._onBlur=this.register(new _.EventEmitter),this._onA11yCharEmitter=this.register(new _.EventEmitter),this._onA11yTabEmitter=this.register(new _.EventEmitter),this._onWillOpen=this.register(new _.EventEmitter),this._setup(),this._decorationService=this._instantiationService.createInstance(T.DecorationService),this._instantiationService.setService(E.IDecorationService,this._decorationService),this._linkProviderService=this._instantiationService.createInstance(M.LinkProviderService),this._instantiationService.setService(y.ILinkProviderService,this._linkProviderService),this._linkProviderService.registerLinkProvider(this._instantiationService.createInstance(s.OscLinkProvider)),this.register(this._inputHandler.onRequestBell((()=>this._onBell.fire()))),this.register(this._inputHandler.onRequestRefreshRows(((e,t)=>this.refresh(e,t)))),this.register(this._inputHandler.onRequestSendFocus((()=>this._reportFocus()))),this.register(this._inputHandler.onRequestReset((()=>this.reset()))),this.register(this._inputHandler.onRequestWindowsOptionsReport((e=>this._reportWindowsOptions(e)))),this.register(this._inputHandler.onColor((e=>this._handleColorEvent(e)))),this.register((0,_.forwardEvent)(this._inputHandler.onCursorMove,this._onCursorMove)),this.register((0,_.forwardEvent)(this._inputHandler.onTitleChange,this._onTitleChange)),this.register((0,_.forwardEvent)(this._inputHandler.onA11yChar,this._onA11yCharEmitter)),this.register((0,_.forwardEvent)(this._inputHandler.onA11yTab,this._onA11yTabEmitter)),this.register(this._bufferService.onResize((e=>this._afterResize(e.cols,e.rows)))),this.register((0,x.toDisposable)((()=>{this._customKeyEventHandler=void 0,this.element?.parentNode?.removeChild(this.element)})))}_handleColorEvent(e){if(this._themeService)for(const t of e){let e,n="";switch(t.index){case 256:e="foreground",n="10";break;case 257:e="background",n="11";break;case 258:e="cursor",n="12";break;default:e="ansi",n="4;"+t.index}switch(t.type){case 0:const r=b.color.toColorRGB("ansi"===e?this._themeService.colors.ansi[t.index]:this._themeService.colors[e]);this.coreService.triggerDataEvent(`${C.C0.ESC}]${n};${(0,Q.toRgbString)(r)}${C.C1_ESCAPED.ST}`);break;case 1:if("ansi"===e)this._themeService.modifyColors((e=>e.ansi[t.index]=b.channels.toColor(...t.color)));else{const n=e;this._themeService.modifyColors((e=>e[n]=b.channels.toColor(...t.color)))}break;case 2:this._themeService.restoreColor(t.index)}}}_setup(){super._setup(),this._customKeyEventHandler=void 0}get buffer(){return this.buffers.active}focus(){this.textarea&&this.textarea.focus({preventScroll:!0})}_handleScreenReaderModeOptionChange(e){e?!this._accessibilityManager.value&&this._renderService&&(this._accessibilityManager.value=this._instantiationService.createInstance($.AccessibilityManager,this)):this._accessibilityManager.clear()}_handleTextAreaFocus(e){this.coreService.decPrivateModes.sendFocus&&this.coreService.triggerDataEvent(C.C0.ESC+"[I"),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()}blur(){return this.textarea?.blur()}_handleTextAreaBlur(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this.coreService.decPrivateModes.sendFocus&&this.coreService.triggerDataEvent(C.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()}_syncTextArea(){if(!this.textarea||!this.buffer.isCursorInViewport||this._compositionHelper.isComposing||!this._renderService)return;const e=this.buffer.ybase+this.buffer.y,t=this.buffer.lines.get(e);if(!t)return;const n=Math.min(this.buffer.x,this.cols-1),r=this._renderService.dimensions.css.cell.height,o=t.getWidth(n),i=this._renderService.dimensions.css.cell.width*o,a=this.buffer.y*this._renderService.dimensions.css.cell.height,s=n*this._renderService.dimensions.css.cell.width;this.textarea.style.left=s+"px",this.textarea.style.top=a+"px",this.textarea.style.width=i+"px",this.textarea.style.height=r+"px",this.textarea.style.lineHeight=r+"px",this.textarea.style.zIndex="-5"}_initGlobal(){this._bindKeys(),this.register((0,o.addDisposableDomListener)(this.element,"copy",(e=>{this.hasSelection()&&(0,r.copyHandler)(e,this._selectionService)})));const e=e=>(0,r.handlePasteEvent)(e,this.textarea,this.coreService,this.optionsService);this.register((0,o.addDisposableDomListener)(this.textarea,"paste",e)),this.register((0,o.addDisposableDomListener)(this.element,"paste",e)),S.isFirefox?this.register((0,o.addDisposableDomListener)(this.element,"mousedown",(e=>{2===e.button&&(0,r.rightClickHandler)(e,this.textarea,this.screenElement,this._selectionService,this.options.rightClickSelectsWord)}))):this.register((0,o.addDisposableDomListener)(this.element,"contextmenu",(e=>{(0,r.rightClickHandler)(e,this.textarea,this.screenElement,this._selectionService,this.options.rightClickSelectsWord)}))),S.isLinux&&this.register((0,o.addDisposableDomListener)(this.element,"auxclick",(e=>{1===e.button&&(0,r.moveTextAreaUnderMouseCursor)(e,this.textarea,this.screenElement)})))}_bindKeys(){this.register((0,o.addDisposableDomListener)(this.textarea,"keyup",(e=>this._keyUp(e)),!0)),this.register((0,o.addDisposableDomListener)(this.textarea,"keydown",(e=>this._keyDown(e)),!0)),this.register((0,o.addDisposableDomListener)(this.textarea,"keypress",(e=>this._keyPress(e)),!0)),this.register((0,o.addDisposableDomListener)(this.textarea,"compositionstart",(()=>this._compositionHelper.compositionstart()))),this.register((0,o.addDisposableDomListener)(this.textarea,"compositionupdate",(e=>this._compositionHelper.compositionupdate(e)))),this.register((0,o.addDisposableDomListener)(this.textarea,"compositionend",(()=>this._compositionHelper.compositionend()))),this.register((0,o.addDisposableDomListener)(this.textarea,"input",(e=>this._inputEvent(e)),!0)),this.register(this.onRender((()=>this._compositionHelper.updateCompositionElements())))}open(e){if(!e)throw new Error("Terminal requires a parent element.");if(e.isConnected||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this.element?.ownerDocument.defaultView&&this._coreBrowserService)return void(this.element.ownerDocument.defaultView!==this._coreBrowserService.window&&(this._coreBrowserService.window=this.element.ownerDocument.defaultView));this._document=e.ownerDocument,this.options.documentOverride&&this.options.documentOverride instanceof Document&&(this._document=this.optionsService.rawOptions.documentOverride),this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),e.appendChild(this.element);const t=this._document.createDocumentFragment();this._viewportElement=this._document.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),t.appendChild(this._viewportElement),this._viewportScrollArea=this._document.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=this._document.createElement("div"),this.screenElement.classList.add("xterm-screen"),this.register((0,o.addDisposableDomListener)(this.screenElement,"mousemove",(e=>this.updateCursorStyle(e)))),this._helperContainer=this._document.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),t.appendChild(this.screenElement),this.textarea=this._document.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",a.promptLabel),S.isChromeOS||this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this._coreBrowserService=this.register(this._instantiationService.createInstance(m.CoreBrowserService,this.textarea,e.ownerDocument.defaultView??window,this._document??"undefined"!=typeof window?window.document:null)),this._instantiationService.setService(y.ICoreBrowserService,this._coreBrowserService),this.register((0,o.addDisposableDomListener)(this.textarea,"focus",(e=>this._handleTextAreaFocus(e)))),this.register((0,o.addDisposableDomListener)(this.textarea,"blur",(()=>this._handleTextAreaBlur()))),this._helperContainer.appendChild(this.textarea),this._charSizeService=this._instantiationService.createInstance(h.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(y.ICharSizeService,this._charSizeService),this._themeService=this._instantiationService.createInstance(O.ThemeService),this._instantiationService.setService(y.IThemeService,this._themeService),this._characterJoinerService=this._instantiationService.createInstance(p.CharacterJoinerService),this._instantiationService.setService(y.ICharacterJoinerService,this._characterJoinerService),this._renderService=this.register(this._instantiationService.createInstance(A.RenderService,this.rows,this.screenElement)),this._instantiationService.setService(y.IRenderService,this._renderService),this.register(this._renderService.onRenderedViewportChange((e=>this._onRender.fire(e)))),this.onResize((e=>this._renderService.resize(e.cols,e.rows))),this._compositionView=this._document.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(d.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this._mouseService=this._instantiationService.createInstance(g.MouseService),this._instantiationService.setService(y.IMouseService,this._mouseService),this.linkifier=this.register(this._instantiationService.createInstance(i.Linkifier,this.screenElement)),this.element.appendChild(t);try{this._onWillOpen.fire(this.element)}catch{}this._renderService.hasRenderer()||this._renderService.setRenderer(this._createRenderer()),this.viewport=this._instantiationService.createInstance(l.Viewport,this._viewportElement,this._viewportScrollArea),this.viewport.onRequestScrollLines((e=>this.scrollLines(e.amount,e.suppressScrollEvent,1))),this.register(this._inputHandler.onRequestSyncScrollBar((()=>this.viewport.syncScrollArea()))),this.register(this.viewport),this.register(this.onCursorMove((()=>{this._renderService.handleCursorMove(),this._syncTextArea()}))),this.register(this.onResize((()=>this._renderService.handleResize(this.cols,this.rows)))),this.register(this.onBlur((()=>this._renderService.handleBlur()))),this.register(this.onFocus((()=>this._renderService.handleFocus()))),this.register(this._renderService.onDimensionsChange((()=>this.viewport.syncScrollArea()))),this._selectionService=this.register(this._instantiationService.createInstance(v.SelectionService,this.element,this.screenElement,this.linkifier)),this._instantiationService.setService(y.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines((e=>this.scrollLines(e.amount,e.suppressScrollEvent)))),this.register(this._selectionService.onSelectionChange((()=>this._onSelectionChange.fire()))),this.register(this._selectionService.onRequestRedraw((e=>this._renderService.handleSelectionChanged(e.start,e.end,e.columnSelectMode)))),this.register(this._selectionService.onLinuxMouseSelection((e=>{this.textarea.value=e,this.textarea.focus(),this.textarea.select()}))),this.register(this._onScroll.event((e=>{this.viewport.syncScrollArea(),this._selectionService.refresh()}))),this.register((0,o.addDisposableDomListener)(this._viewportElement,"scroll",(()=>this._selectionService.refresh()))),this.register(this._instantiationService.createInstance(c.BufferDecorationRenderer,this.screenElement)),this.register((0,o.addDisposableDomListener)(this.element,"mousedown",(e=>this._selectionService.handleMouseDown(e)))),this.coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager.value=this._instantiationService.createInstance($.AccessibilityManager,this)),this.register(this.optionsService.onSpecificOptionChange("screenReaderMode",(e=>this._handleScreenReaderModeOptionChange(e)))),this.options.overviewRulerWidth&&(this._overviewRulerRenderer=this.register(this._instantiationService.createInstance(u.OverviewRulerRenderer,this._viewportElement,this.screenElement))),this.optionsService.onSpecificOptionChange("overviewRulerWidth",(e=>{!this._overviewRulerRenderer&&e&&this._viewportElement&&this.screenElement&&(this._overviewRulerRenderer=this.register(this._instantiationService.createInstance(u.OverviewRulerRenderer,this._viewportElement,this.screenElement)))})),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()}_createRenderer(){return this._instantiationService.createInstance(f.DomRenderer,this,this._document,this.element,this.screenElement,this._viewportElement,this._helperContainer,this.linkifier)}bindMouse(){const e=this,t=this.element;function n(t){const n=e._mouseService.getMouseReportCoords(t,e.screenElement);if(!n)return!1;let r,o;switch(t.overrideType||t.type){case"mousemove":o=32,void 0===t.buttons?(r=3,void 0!==t.button&&(r=t.button<3?t.button:3)):r=1&t.buttons?0:4&t.buttons?1:2&t.buttons?2:3;break;case"mouseup":o=0,r=t.button<3?t.button:3;break;case"mousedown":o=1,r=t.button<3?t.button:3;break;case"wheel":if(e._customWheelEventHandler&&!1===e._customWheelEventHandler(t))return!1;if(0===e.viewport.getLinesScrolled(t))return!1;o=t.deltaY<0?0:1,r=4;break;default:return!1}return!(void 0===o||void 0===r||r>4)&&e.coreMouseService.triggerMouseEvent({col:n.col,row:n.row,x:n.x,y:n.y,button:r,action:o,ctrl:t.ctrlKey,alt:t.altKey,shift:t.shiftKey})}const r={mouseup:null,wheel:null,mousedrag:null,mousemove:null},i={mouseup:e=>(n(e),e.buttons||(this._document.removeEventListener("mouseup",r.mouseup),r.mousedrag&&this._document.removeEventListener("mousemove",r.mousedrag)),this.cancel(e)),wheel:e=>(n(e),this.cancel(e,!0)),mousedrag:e=>{e.buttons&&n(e)},mousemove:e=>{e.buttons||n(e)}};this.register(this.coreMouseService.onProtocolChange((e=>{e?("debug"===this.optionsService.rawOptions.logLevel&&this._logService.debug("Binding to mouse events:",this.coreMouseService.explainEvents(e)),this.element.classList.add("enable-mouse-events"),this._selectionService.disable()):(this._logService.debug("Unbinding from mouse events."),this.element.classList.remove("enable-mouse-events"),this._selectionService.enable()),8&e?r.mousemove||(t.addEventListener("mousemove",i.mousemove),r.mousemove=i.mousemove):(t.removeEventListener("mousemove",r.mousemove),r.mousemove=null),16&e?r.wheel||(t.addEventListener("wheel",i.wheel,{passive:!1}),r.wheel=i.wheel):(t.removeEventListener("wheel",r.wheel),r.wheel=null),2&e?r.mouseup||(r.mouseup=i.mouseup):(this._document.removeEventListener("mouseup",r.mouseup),r.mouseup=null),4&e?r.mousedrag||(r.mousedrag=i.mousedrag):(this._document.removeEventListener("mousemove",r.mousedrag),r.mousedrag=null)}))),this.coreMouseService.activeProtocol=this.coreMouseService.activeProtocol,this.register((0,o.addDisposableDomListener)(t,"mousedown",(e=>{if(e.preventDefault(),this.focus(),this.coreMouseService.areMouseEventsActive&&!this._selectionService.shouldForceSelection(e))return n(e),r.mouseup&&this._document.addEventListener("mouseup",r.mouseup),r.mousedrag&&this._document.addEventListener("mousemove",r.mousedrag),this.cancel(e)}))),this.register((0,o.addDisposableDomListener)(t,"wheel",(e=>{if(!r.wheel){if(this._customWheelEventHandler&&!1===this._customWheelEventHandler(e))return!1;if(!this.buffer.hasScrollback){const t=this.viewport.getLinesScrolled(e);if(0===t)return;const n=C.C0.ESC+(this.coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(e.deltaY<0?"A":"B");let r="";for(let e=0;e<Math.abs(t);e++)r+=n;return this.coreService.triggerDataEvent(r,!0),this.cancel(e,!0)}return this.viewport.handleWheel(e)?this.cancel(e):void 0}}),{passive:!1})),this.register((0,o.addDisposableDomListener)(t,"touchstart",(e=>{if(!this.coreMouseService.areMouseEventsActive)return this.viewport.handleTouchStart(e),this.cancel(e)}),{passive:!0})),this.register((0,o.addDisposableDomListener)(t,"touchmove",(e=>{if(!this.coreMouseService.areMouseEventsActive)return this.viewport.handleTouchMove(e)?void 0:this.cancel(e)}),{passive:!1}))}refresh(e,t){this._renderService?.refreshRows(e,t)}updateCursorStyle(e){this._selectionService?.shouldColumnSelect(e)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")}_showCursor(){this.coreService.isCursorInitialized||(this.coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))}scrollLines(e,t,n=0){1===n?(super.scrollLines(e,t,n),this.refresh(0,this.rows-1)):this.viewport?.scrollLines(e)}paste(e){(0,r.paste)(e,this.textarea,this.coreService,this.optionsService)}attachCustomKeyEventHandler(e){this._customKeyEventHandler=e}attachCustomWheelEventHandler(e){this._customWheelEventHandler=e}registerLinkProvider(e){return this._linkProviderService.registerLinkProvider(e)}registerCharacterJoiner(e){if(!this._characterJoinerService)throw new Error("Terminal must be opened first");const t=this._characterJoinerService.register(e);return this.refresh(0,this.rows-1),t}deregisterCharacterJoiner(e){if(!this._characterJoinerService)throw new Error("Terminal must be opened first");this._characterJoinerService.deregister(e)&&this.refresh(0,this.rows-1)}get markers(){return this.buffer.markers}registerMarker(e){return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+e)}registerDecoration(e){return this._decorationService.registerDecoration(e)}hasSelection(){return!!this._selectionService&&this._selectionService.hasSelection}select(e,t,n){this._selectionService.setSelection(e,t,n)}getSelection(){return this._selectionService?this._selectionService.selectionText:""}getSelectionPosition(){if(this._selectionService&&this._selectionService.hasSelection)return{start:{x:this._selectionService.selectionStart[0],y:this._selectionService.selectionStart[1]},end:{x:this._selectionService.selectionEnd[0],y:this._selectionService.selectionEnd[1]}}}clearSelection(){this._selectionService?.clearSelection()}selectAll(){this._selectionService?.selectAll()}selectLines(e,t){this._selectionService?.selectLines(e,t)}_keyDown(e){if(this._keyDownHandled=!1,this._keyDownSeen=!0,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;const t=this.browser.isMac&&this.options.macOptionIsMeta&&e.altKey;if(!t&&!this._compositionHelper.keydown(e))return this.options.scrollOnUserInput&&this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;t||"Dead"!==e.key&&"AltGraph"!==e.key||(this._unprocessedDeadKey=!0);const n=(0,B.evaluateKeyboardEvent)(e,this.coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(e),3===n.type||2===n.type){const t=this.rows-1;return this.scrollLines(2===n.type?-t:t),this.cancel(e,!0)}return 1===n.type&&this.selectAll(),!!this._isThirdLevelShift(this.browser,e)||(n.cancel&&this.cancel(e,!0),!n.key||!!(e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&1===e.key.length&&e.key.charCodeAt(0)>=65&&e.key.charCodeAt(0)<=90)||(this._unprocessedDeadKey?(this._unprocessedDeadKey=!1,!0):(n.key!==C.C0.ETX&&n.key!==C.C0.CR||(this.textarea.value=""),this._onKey.fire({key:n.key,domEvent:e}),this._showCursor(),this.coreService.triggerDataEvent(n.key,!0),!this.optionsService.rawOptions.screenReaderMode||e.altKey||e.ctrlKey?this.cancel(e,!0):void(this._keyDownHandled=!0))))}_isThirdLevelShift(e,t){const n=e.isMac&&!this.options.macOptionIsMeta&&t.altKey&&!t.ctrlKey&&!t.metaKey||e.isWindows&&t.altKey&&t.ctrlKey&&!t.metaKey||e.isWindows&&t.getModifierState("AltGraph");return"keypress"===t.type?n:n&&(!t.keyCode||t.keyCode>47)}_keyUp(e){this._keyDownSeen=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e)||(function(e){return 16===e.keyCode||17===e.keyCode||18===e.keyCode}(e)||this.focus(),this.updateCursorStyle(e),this._keyPressHandled=!1)}_keyPress(e){let t;if(this._keyPressHandled=!1,this._keyDownHandled)return!1;if(this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(this.cancel(e),e.charCode)t=e.charCode;else if(null===e.which||void 0===e.which)t=e.keyCode;else{if(0===e.which||0===e.charCode)return!1;t=e.which}return!(!t||(e.altKey||e.ctrlKey||e.metaKey)&&!this._isThirdLevelShift(this.browser,e)||(t=String.fromCharCode(t),this._onKey.fire({key:t,domEvent:e}),this._showCursor(),this.coreService.triggerDataEvent(t,!0),this._keyPressHandled=!0,this._unprocessedDeadKey=!1,0))}_inputEvent(e){if(e.data&&"insertText"===e.inputType&&(!e.composed||!this._keyDownSeen)&&!this.optionsService.rawOptions.screenReaderMode){if(this._keyPressHandled)return!1;this._unprocessedDeadKey=!1;const t=e.data;return this.coreService.triggerDataEvent(t,!0),this.cancel(e),!0}return!1}resize(e,t){e!==this.cols||t!==this.rows?super.resize(e,t):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()}_afterResize(e,t){this._charSizeService?.measure(),this.viewport?.syncScrollArea(!0)}clear(){if(0!==this.buffer.ybase||0!==this.buffer.y){this.buffer.clearAllMarkers(),this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(let e=1;e<this.rows;e++)this.buffer.lines.push(this.buffer.getBlankLine(k.DEFAULT_ATTR_DATA));this._onScroll.fire({position:this.buffer.ydisp,source:0}),this.viewport?.reset(),this.refresh(0,this.rows-1)}}reset(){this.options.rows=this.rows,this.options.cols=this.cols;const e=this._customKeyEventHandler;this._setup(),super.reset(),this._selectionService?.reset(),this._decorationService.reset(),this.viewport?.reset(),this._customKeyEventHandler=e,this.refresh(0,this.rows-1)}clearTextureAtlas(){this._renderService?.clearTextureAtlas()}_reportFocus(){this.element?.classList.contains("focus")?this.coreService.triggerDataEvent(C.C0.ESC+"[I"):this.coreService.triggerDataEvent(C.C0.ESC+"[O")}_reportWindowsOptions(e){if(this._renderService)switch(e){case P.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:const e=this._renderService.dimensions.css.canvas.width.toFixed(0),t=this._renderService.dimensions.css.canvas.height.toFixed(0);this.coreService.triggerDataEvent(`${C.C0.ESC}[4;${t};${e}t`);break;case P.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:const n=this._renderService.dimensions.css.cell.width.toFixed(0),r=this._renderService.dimensions.css.cell.height.toFixed(0);this.coreService.triggerDataEvent(`${C.C0.ESC}[6;${r};${n}t`)}}cancel(e,t){if(this.options.cancelEvents||t)return e.preventDefault(),e.stopPropagation(),!1}}t.Terminal=z},9924:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TimeBasedDebouncer=void 0,t.TimeBasedDebouncer=class{constructor(e,t=1e3){this._renderCallback=e,this._debounceThresholdMS=t,this._lastRefreshMs=0,this._additionalRefreshRequested=!1}dispose(){this._refreshTimeoutID&&clearTimeout(this._refreshTimeoutID)}refresh(e,t,n){this._rowCount=n,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t;const r=Date.now();if(r-this._lastRefreshMs>=this._debounceThresholdMS)this._lastRefreshMs=r,this._innerRefresh();else if(!this._additionalRefreshRequested){const e=r-this._lastRefreshMs,t=this._debounceThresholdMS-e;this._additionalRefreshRequested=!0,this._refreshTimeoutID=window.setTimeout((()=>{this._lastRefreshMs=Date.now(),this._innerRefresh(),this._additionalRefreshRequested=!1,this._refreshTimeoutID=void 0}),t)}}_innerRefresh(){if(void 0===this._rowStart||void 0===this._rowEnd||void 0===this._rowCount)return;const e=Math.max(this._rowStart,0),t=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(e,t)}}},1680:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Viewport=void 0;const i=n(3656),a=n(4725),s=n(8460),l=n(844),c=n(2585);let u=t.Viewport=class extends l.Disposable{constructor(e,t,n,r,o,a,l,c){super(),this._viewportElement=e,this._scrollArea=t,this._bufferService=n,this._optionsService=r,this._charSizeService=o,this._renderService=a,this._coreBrowserService=l,this.scrollBarWidth=0,this._currentRowHeight=0,this._currentDeviceCellHeight=0,this._lastRecordedBufferLength=0,this._lastRecordedViewportHeight=0,this._lastRecordedBufferHeight=0,this._lastTouchY=0,this._lastScrollTop=0,this._wheelPartialScroll=0,this._refreshAnimationFrame=null,this._ignoreNextScrollEvent=!1,this._smoothScrollState={startTime:0,origin:-1,target:-1},this._onRequestScrollLines=this.register(new s.EventEmitter),this.onRequestScrollLines=this._onRequestScrollLines.event,this.scrollBarWidth=this._viewportElement.offsetWidth-this._scrollArea.offsetWidth||15,this.register((0,i.addDisposableDomListener)(this._viewportElement,"scroll",this._handleScroll.bind(this))),this._activeBuffer=this._bufferService.buffer,this.register(this._bufferService.buffers.onBufferActivate((e=>this._activeBuffer=e.activeBuffer))),this._renderDimensions=this._renderService.dimensions,this.register(this._renderService.onDimensionsChange((e=>this._renderDimensions=e))),this._handleThemeChange(c.colors),this.register(c.onChangeColors((e=>this._handleThemeChange(e)))),this.register(this._optionsService.onSpecificOptionChange("scrollback",(()=>this.syncScrollArea()))),setTimeout((()=>this.syncScrollArea()))}_handleThemeChange(e){this._viewportElement.style.backgroundColor=e.background.css}reset(){this._currentRowHeight=0,this._currentDeviceCellHeight=0,this._lastRecordedBufferLength=0,this._lastRecordedViewportHeight=0,this._lastRecordedBufferHeight=0,this._lastTouchY=0,this._lastScrollTop=0,this._coreBrowserService.window.requestAnimationFrame((()=>this.syncScrollArea()))}_refresh(e){if(e)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&this._coreBrowserService.window.cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>this._innerRefresh())))}_innerRefresh(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderDimensions.device.cell.height/this._coreBrowserService.dpr,this._currentDeviceCellHeight=this._renderDimensions.device.cell.height,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;const e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderDimensions.css.canvas.height);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}const e=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==e&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=e),this._refreshAnimationFrame=null}syncScrollArea(e=!1){if(this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);this._lastRecordedViewportHeight===this._renderService.dimensions.css.canvas.height&&this._lastScrollTop===this._activeBuffer.ydisp*this._currentRowHeight&&this._renderDimensions.device.cell.height===this._currentDeviceCellHeight||this._refresh(e)}_handleScroll(e){if(this._lastScrollTop=this._viewportElement.scrollTop,!this._viewportElement.offsetParent)return;if(this._ignoreNextScrollEvent)return this._ignoreNextScrollEvent=!1,void this._onRequestScrollLines.fire({amount:0,suppressScrollEvent:!0});const t=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._onRequestScrollLines.fire({amount:t,suppressScrollEvent:!0})}_smoothScroll(){if(this._isDisposed||-1===this._smoothScrollState.origin||-1===this._smoothScrollState.target)return;const e=this._smoothScrollPercent();this._viewportElement.scrollTop=this._smoothScrollState.origin+Math.round(e*(this._smoothScrollState.target-this._smoothScrollState.origin)),e<1?this._coreBrowserService.window.requestAnimationFrame((()=>this._smoothScroll())):this._clearSmoothScrollState()}_smoothScrollPercent(){return this._optionsService.rawOptions.smoothScrollDuration&&this._smoothScrollState.startTime?Math.max(Math.min((Date.now()-this._smoothScrollState.startTime)/this._optionsService.rawOptions.smoothScrollDuration,1),0):1}_clearSmoothScrollState(){this._smoothScrollState.startTime=0,this._smoothScrollState.origin=-1,this._smoothScrollState.target=-1}_bubbleScroll(e,t){const n=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(t<0&&0!==this._viewportElement.scrollTop||t>0&&n<this._lastRecordedBufferHeight)||(e.cancelable&&e.preventDefault(),!1)}handleWheel(e){const t=this._getPixelsScrolled(e);return 0!==t&&(this._optionsService.rawOptions.smoothScrollDuration?(this._smoothScrollState.startTime=Date.now(),this._smoothScrollPercent()<1?(this._smoothScrollState.origin=this._viewportElement.scrollTop,-1===this._smoothScrollState.target?this._smoothScrollState.target=this._viewportElement.scrollTop+t:this._smoothScrollState.target+=t,this._smoothScrollState.target=Math.max(Math.min(this._smoothScrollState.target,this._viewportElement.scrollHeight),0),this._smoothScroll()):this._clearSmoothScrollState()):this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))}scrollLines(e){if(0!==e)if(this._optionsService.rawOptions.smoothScrollDuration){const t=e*this._currentRowHeight;this._smoothScrollState.startTime=Date.now(),this._smoothScrollPercent()<1?(this._smoothScrollState.origin=this._viewportElement.scrollTop,this._smoothScrollState.target=this._smoothScrollState.origin+t,this._smoothScrollState.target=Math.max(Math.min(this._smoothScrollState.target,this._viewportElement.scrollHeight),0),this._smoothScroll()):this._clearSmoothScrollState()}else this._onRequestScrollLines.fire({amount:e,suppressScrollEvent:!1})}_getPixelsScrolled(e){if(0===e.deltaY||e.shiftKey)return 0;let t=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_LINE?t*=this._currentRowHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._currentRowHeight*this._bufferService.rows),t}getBufferElements(e,t){let n,r="";const o=[],i=t??this._bufferService.buffer.lines.length,a=this._bufferService.buffer.lines;for(let t=e;t<i;t++){const e=a.get(t);if(!e)continue;const i=a.get(t+1)?.isWrapped;if(r+=e.translateToString(!i),!i||t===a.length-1){const e=document.createElement("div");e.textContent=r,o.push(e),r.length>0&&(n=e),r=""}}return{bufferElements:o,cursorElement:n}}getLinesScrolled(e){if(0===e.deltaY||e.shiftKey)return 0;let t=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(t/=this._currentRowHeight+0,this._wheelPartialScroll+=t,t=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._bufferService.rows),t}_applyScrollModifier(e,t){const n=this._optionsService.rawOptions.fastScrollModifier;return"alt"===n&&t.altKey||"ctrl"===n&&t.ctrlKey||"shift"===n&&t.shiftKey?e*this._optionsService.rawOptions.fastScrollSensitivity*this._optionsService.rawOptions.scrollSensitivity:e*this._optionsService.rawOptions.scrollSensitivity}handleTouchStart(e){this._lastTouchY=e.touches[0].pageY}handleTouchMove(e){const t=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))}};t.Viewport=u=r([o(2,c.IBufferService),o(3,c.IOptionsService),o(4,a.ICharSizeService),o(5,a.IRenderService),o(6,a.ICoreBrowserService),o(7,a.IThemeService)],u)},3107:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferDecorationRenderer=void 0;const i=n(4725),a=n(844),s=n(2585);let l=t.BufferDecorationRenderer=class extends a.Disposable{constructor(e,t,n,r,o){super(),this._screenElement=e,this._bufferService=t,this._coreBrowserService=n,this._decorationService=r,this._renderService=o,this._decorationElements=new Map,this._altBufferIsActive=!1,this._dimensionsChanged=!1,this._container=document.createElement("div"),this._container.classList.add("xterm-decoration-container"),this._screenElement.appendChild(this._container),this.register(this._renderService.onRenderedViewportChange((()=>this._doRefreshDecorations()))),this.register(this._renderService.onDimensionsChange((()=>{this._dimensionsChanged=!0,this._queueRefresh()}))),this.register(this._coreBrowserService.onDprChange((()=>this._queueRefresh()))),this.register(this._bufferService.buffers.onBufferActivate((()=>{this._altBufferIsActive=this._bufferService.buffer===this._bufferService.buffers.alt}))),this.register(this._decorationService.onDecorationRegistered((()=>this._queueRefresh()))),this.register(this._decorationService.onDecorationRemoved((e=>this._removeDecoration(e)))),this.register((0,a.toDisposable)((()=>{this._container.remove(),this._decorationElements.clear()})))}_queueRefresh(){void 0===this._animationFrame&&(this._animationFrame=this._renderService.addRefreshCallback((()=>{this._doRefreshDecorations(),this._animationFrame=void 0})))}_doRefreshDecorations(){for(const e of this._decorationService.decorations)this._renderDecoration(e);this._dimensionsChanged=!1}_renderDecoration(e){this._refreshStyle(e),this._dimensionsChanged&&this._refreshXPosition(e)}_createElement(e){const t=this._coreBrowserService.mainDocument.createElement("div");t.classList.add("xterm-decoration"),t.classList.toggle("xterm-decoration-top-layer","top"===e?.options?.layer),t.style.width=`${Math.round((e.options.width||1)*this._renderService.dimensions.css.cell.width)}px`,t.style.height=(e.options.height||1)*this._renderService.dimensions.css.cell.height+"px",t.style.top=(e.marker.line-this._bufferService.buffers.active.ydisp)*this._renderService.dimensions.css.cell.height+"px",t.style.lineHeight=`${this._renderService.dimensions.css.cell.height}px`;const n=e.options.x??0;return n&&n>this._bufferService.cols&&(t.style.display="none"),this._refreshXPosition(e,t),t}_refreshStyle(e){const t=e.marker.line-this._bufferService.buffers.active.ydisp;if(t<0||t>=this._bufferService.rows)e.element&&(e.element.style.display="none",e.onRenderEmitter.fire(e.element));else{let n=this._decorationElements.get(e);n||(n=this._createElement(e),e.element=n,this._decorationElements.set(e,n),this._container.appendChild(n),e.onDispose((()=>{this._decorationElements.delete(e),n.remove()}))),n.style.top=t*this._renderService.dimensions.css.cell.height+"px",n.style.display=this._altBufferIsActive?"none":"block",e.onRenderEmitter.fire(n)}}_refreshXPosition(e,t=e.element){if(!t)return;const n=e.options.x??0;"right"===(e.options.anchor||"left")?t.style.right=n?n*this._renderService.dimensions.css.cell.width+"px":"":t.style.left=n?n*this._renderService.dimensions.css.cell.width+"px":""}_removeDecoration(e){this._decorationElements.get(e)?.remove(),this._decorationElements.delete(e),e.dispose()}};t.BufferDecorationRenderer=l=r([o(1,s.IBufferService),o(2,i.ICoreBrowserService),o(3,s.IDecorationService),o(4,i.IRenderService)],l)},5871:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorZoneStore=void 0,t.ColorZoneStore=class{constructor(){this._zones=[],this._zonePool=[],this._zonePoolIndex=0,this._linePadding={full:0,left:0,center:0,right:0}}get zones(){return this._zonePool.length=Math.min(this._zonePool.length,this._zones.length),this._zones}clear(){this._zones.length=0,this._zonePoolIndex=0}addDecoration(e){if(e.options.overviewRulerOptions){for(const t of this._zones)if(t.color===e.options.overviewRulerOptions.color&&t.position===e.options.overviewRulerOptions.position){if(this._lineIntersectsZone(t,e.marker.line))return;if(this._lineAdjacentToZone(t,e.marker.line,e.options.overviewRulerOptions.position))return void this._addLineToZone(t,e.marker.line)}if(this._zonePoolIndex<this._zonePool.length)return this._zonePool[this._zonePoolIndex].color=e.options.overviewRulerOptions.color,this._zonePool[this._zonePoolIndex].position=e.options.overviewRulerOptions.position,this._zonePool[this._zonePoolIndex].startBufferLine=e.marker.line,this._zonePool[this._zonePoolIndex].endBufferLine=e.marker.line,void this._zones.push(this._zonePool[this._zonePoolIndex++]);this._zones.push({color:e.options.overviewRulerOptions.color,position:e.options.overviewRulerOptions.position,startBufferLine:e.marker.line,endBufferLine:e.marker.line}),this._zonePool.push(this._zones[this._zones.length-1]),this._zonePoolIndex++}}setPadding(e){this._linePadding=e}_lineIntersectsZone(e,t){return t>=e.startBufferLine&&t<=e.endBufferLine}_lineAdjacentToZone(e,t,n){return t>=e.startBufferLine-this._linePadding[n||"full"]&&t<=e.endBufferLine+this._linePadding[n||"full"]}_addLineToZone(e,t){e.startBufferLine=Math.min(e.startBufferLine,t),e.endBufferLine=Math.max(e.endBufferLine,t)}}},5744:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.OverviewRulerRenderer=void 0;const i=n(5871),a=n(4725),s=n(844),l=n(2585),c={full:0,left:0,center:0,right:0},u={full:0,left:0,center:0,right:0},d={full:0,left:0,center:0,right:0};let f=t.OverviewRulerRenderer=class extends s.Disposable{get _width(){return this._optionsService.options.overviewRulerWidth||0}constructor(e,t,n,r,o,a,l){super(),this._viewportElement=e,this._screenElement=t,this._bufferService=n,this._decorationService=r,this._renderService=o,this._optionsService=a,this._coreBrowserService=l,this._colorZoneStore=new i.ColorZoneStore,this._shouldUpdateDimensions=!0,this._shouldUpdateAnchor=!0,this._lastKnownBufferLength=0,this._canvas=this._coreBrowserService.mainDocument.createElement("canvas"),this._canvas.classList.add("xterm-decoration-overview-ruler"),this._refreshCanvasDimensions(),this._viewportElement.parentElement?.insertBefore(this._canvas,this._viewportElement);const c=this._canvas.getContext("2d");if(!c)throw new Error("Ctx cannot be null");this._ctx=c,this._registerDecorationListeners(),this._registerBufferChangeListeners(),this._registerDimensionChangeListeners(),this.register((0,s.toDisposable)((()=>{this._canvas?.remove()})))}_registerDecorationListeners(){this.register(this._decorationService.onDecorationRegistered((()=>this._queueRefresh(void 0,!0)))),this.register(this._decorationService.onDecorationRemoved((()=>this._queueRefresh(void 0,!0))))}_registerBufferChangeListeners(){this.register(this._renderService.onRenderedViewportChange((()=>this._queueRefresh()))),this.register(this._bufferService.buffers.onBufferActivate((()=>{this._canvas.style.display=this._bufferService.buffer===this._bufferService.buffers.alt?"none":"block"}))),this.register(this._bufferService.onScroll((()=>{this._lastKnownBufferLength!==this._bufferService.buffers.normal.lines.length&&(this._refreshDrawHeightConstants(),this._refreshColorZonePadding())})))}_registerDimensionChangeListeners(){this.register(this._renderService.onRender((()=>{this._containerHeight&&this._containerHeight===this._screenElement.clientHeight||(this._queueRefresh(!0),this._containerHeight=this._screenElement.clientHeight)}))),this.register(this._optionsService.onSpecificOptionChange("overviewRulerWidth",(()=>this._queueRefresh(!0)))),this.register(this._coreBrowserService.onDprChange((()=>this._queueRefresh(!0)))),this._queueRefresh(!0)}_refreshDrawConstants(){const e=Math.floor(this._canvas.width/3),t=Math.ceil(this._canvas.width/3);u.full=this._canvas.width,u.left=e,u.center=t,u.right=e,this._refreshDrawHeightConstants(),d.full=0,d.left=0,d.center=u.left,d.right=u.left+u.center}_refreshDrawHeightConstants(){c.full=Math.round(2*this._coreBrowserService.dpr);const e=this._canvas.height/this._bufferService.buffer.lines.length,t=Math.round(Math.max(Math.min(e,12),6)*this._coreBrowserService.dpr);c.left=t,c.center=t,c.right=t}_refreshColorZonePadding(){this._colorZoneStore.setPadding({full:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*c.full),left:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*c.left),center:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*c.center),right:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*c.right)}),this._lastKnownBufferLength=this._bufferService.buffers.normal.lines.length}_refreshCanvasDimensions(){this._canvas.style.width=`${this._width}px`,this._canvas.width=Math.round(this._width*this._coreBrowserService.dpr),this._canvas.style.height=`${this._screenElement.clientHeight}px`,this._canvas.height=Math.round(this._screenElement.clientHeight*this._coreBrowserService.dpr),this._refreshDrawConstants(),this._refreshColorZonePadding()}_refreshDecorations(){this._shouldUpdateDimensions&&this._refreshCanvasDimensions(),this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height),this._colorZoneStore.clear();for(const e of this._decorationService.decorations)this._colorZoneStore.addDecoration(e);this._ctx.lineWidth=1;const e=this._colorZoneStore.zones;for(const t of e)"full"!==t.position&&this._renderColorZone(t);for(const t of e)"full"===t.position&&this._renderColorZone(t);this._shouldUpdateDimensions=!1,this._shouldUpdateAnchor=!1}_renderColorZone(e){this._ctx.fillStyle=e.color,this._ctx.fillRect(d[e.position||"full"],Math.round((this._canvas.height-1)*(e.startBufferLine/this._bufferService.buffers.active.lines.length)-c[e.position||"full"]/2),u[e.position||"full"],Math.round((this._canvas.height-1)*((e.endBufferLine-e.startBufferLine)/this._bufferService.buffers.active.lines.length)+c[e.position||"full"]))}_queueRefresh(e,t){this._shouldUpdateDimensions=e||this._shouldUpdateDimensions,this._shouldUpdateAnchor=t||this._shouldUpdateAnchor,void 0===this._animationFrame&&(this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>{this._refreshDecorations(),this._animationFrame=void 0})))}};t.OverviewRulerRenderer=f=r([o(2,l.IBufferService),o(3,l.IDecorationService),o(4,a.IRenderService),o(5,l.IOptionsService),o(6,a.ICoreBrowserService)],f)},2950:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionHelper=void 0;const i=n(4725),a=n(2585),s=n(2584);let l=t.CompositionHelper=class{get isComposing(){return this._isComposing}constructor(e,t,n,r,o,i){this._textarea=e,this._compositionView=t,this._bufferService=n,this._optionsService=r,this._coreService=o,this._renderService=i,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0},this._dataAlreadySent=""}compositionstart(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._dataAlreadySent="",this._compositionView.classList.add("active")}compositionupdate(e){this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout((()=>{this._compositionPosition.end=this._textarea.value.length}),0)}compositionend(){this._finalizeComposition(!0)}keydown(e){if(this._isComposing||this._isSendingComposition){if(229===e.keyCode)return!1;if(16===e.keyCode||17===e.keyCode||18===e.keyCode)return!1;this._finalizeComposition(!1)}return 229!==e.keyCode||(this._handleAnyTextareaChanges(),!1)}_finalizeComposition(e){if(this._compositionView.classList.remove("active"),this._isComposing=!1,e){const e={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout((()=>{if(this._isSendingComposition){let t;this._isSendingComposition=!1,e.start+=this._dataAlreadySent.length,t=this._isComposing?this._textarea.value.substring(e.start,e.end):this._textarea.value.substring(e.start),t.length>0&&this._coreService.triggerDataEvent(t,!0)}}),0)}else{this._isSendingComposition=!1;const e=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(e,!0)}}_handleAnyTextareaChanges(){const e=this._textarea.value;setTimeout((()=>{if(!this._isComposing){const t=this._textarea.value,n=t.replace(e,"");this._dataAlreadySent=n,t.length>e.length?this._coreService.triggerDataEvent(n,!0):t.length<e.length?this._coreService.triggerDataEvent(`${s.C0.DEL}`,!0):t.length===e.length&&t!==e&&this._coreService.triggerDataEvent(t,!0)}}),0)}updateCompositionElements(e){if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){const e=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),t=this._renderService.dimensions.css.cell.height,n=this._bufferService.buffer.y*this._renderService.dimensions.css.cell.height,r=e*this._renderService.dimensions.css.cell.width;this._compositionView.style.left=r+"px",this._compositionView.style.top=n+"px",this._compositionView.style.height=t+"px",this._compositionView.style.lineHeight=t+"px",this._compositionView.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._compositionView.style.fontSize=this._optionsService.rawOptions.fontSize+"px";const o=this._compositionView.getBoundingClientRect();this._textarea.style.left=r+"px",this._textarea.style.top=n+"px",this._textarea.style.width=Math.max(o.width,1)+"px",this._textarea.style.height=Math.max(o.height,1)+"px",this._textarea.style.lineHeight=o.height+"px"}e||setTimeout((()=>this.updateCompositionElements(!0)),0)}}};t.CompositionHelper=l=r([o(2,a.IBufferService),o(3,a.IOptionsService),o(4,a.ICoreService),o(5,i.IRenderService)],l)},9806:(e,t)=>{function n(e,t,n){const r=n.getBoundingClientRect(),o=e.getComputedStyle(n),i=parseInt(o.getPropertyValue("padding-left")),a=parseInt(o.getPropertyValue("padding-top"));return[t.clientX-r.left-i,t.clientY-r.top-a]}Object.defineProperty(t,"__esModule",{value:!0}),t.getCoords=t.getCoordsRelativeToElement=void 0,t.getCoordsRelativeToElement=n,t.getCoords=function(e,t,r,o,i,a,s,l,c){if(!a)return;const u=n(e,t,r);return u?(u[0]=Math.ceil((u[0]+(c?s/2:0))/s),u[1]=Math.ceil(u[1]/l),u[0]=Math.min(Math.max(u[0],1),o+(c?1:0)),u[1]=Math.min(Math.max(u[1],1),i),u):void 0}},9504:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.moveToCellSequence=void 0;const r=n(2584);function o(e,t,n,r){const o=e-i(e,n),s=t-i(t,n),u=Math.abs(o-s)-function(e,t,n){let r=0;const o=e-i(e,n),s=t-i(t,n);for(let i=0;i<Math.abs(o-s);i++){const s="A"===a(e,t)?-1:1,l=n.buffer.lines.get(o+s*i);l?.isWrapped&&r++}return r}(e,t,n);return c(u,l(a(e,t),r))}function i(e,t){let n=0,r=t.buffer.lines.get(e),o=r?.isWrapped;for(;o&&e>=0&&e<t.rows;)n++,r=t.buffer.lines.get(--e),o=r?.isWrapped;return n}function a(e,t){return e>t?"A":"B"}function s(e,t,n,r,o,i){let a=e,s=t,l="";for(;a!==n||s!==r;)a+=o?1:-1,o&&a>i.cols-1?(l+=i.buffer.translateBufferLineToString(s,!1,e,a),a=0,e=0,s++):!o&&a<0&&(l+=i.buffer.translateBufferLineToString(s,!1,0,e+1),a=i.cols-1,e=a,s--);return l+i.buffer.translateBufferLineToString(s,!1,e,a)}function l(e,t){const n=t?"O":"[";return r.C0.ESC+n+e}function c(e,t){e=Math.floor(e);let n="";for(let r=0;r<e;r++)n+=t;return n}t.moveToCellSequence=function(e,t,n,r){const a=n.buffer.x,u=n.buffer.y;if(!n.buffer.hasScrollback)return function(e,t,n,r,a,u){return 0===o(t,r,a,u).length?"":c(s(e,t,e,t-i(t,a),!1,a).length,l("D",u))}(a,u,0,t,n,r)+o(u,t,n,r)+function(e,t,n,r,a,u){let d;d=o(t,r,a,u).length>0?r-i(r,a):t;const f=r,h=function(e,t,n,r,a,s){let l;return l=o(n,r,a,s).length>0?r-i(r,a):t,e<n&&l<=r||e>=n&&l<r?"C":"D"}(e,t,n,r,a,u);return c(s(e,d,n,f,"C"===h,a).length,l(h,u))}(a,u,e,t,n,r);let d;if(u===t)return d=a>e?"D":"C",c(Math.abs(a-e),l(d,r));d=u>t?"D":"C";const f=Math.abs(u-t);return c(function(e,t){return t.cols-e}(u>t?e:a,n)+(f-1)*n.cols+1+((u>t?a:e)-1),l(d,r))}},1296:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomRenderer=void 0;const i=n(3787),a=n(2550),s=n(2223),l=n(6171),c=n(6052),u=n(4725),d=n(8055),f=n(8460),h=n(844),p=n(2585),m="xterm-dom-renderer-owner-",g="xterm-rows",A="xterm-fg-",v="xterm-bg-",y="xterm-focus",O="xterm-selection";let b=1,w=t.DomRenderer=class extends h.Disposable{constructor(e,t,n,r,o,s,u,d,p,A,v,y,w){super(),this._terminal=e,this._document=t,this._element=n,this._screenElement=r,this._viewportElement=o,this._helperContainer=s,this._linkifier2=u,this._charSizeService=p,this._optionsService=A,this._bufferService=v,this._coreBrowserService=y,this._themeService=w,this._terminalClass=b++,this._rowElements=[],this._selectionRenderModel=(0,c.createSelectionRenderModel)(),this.onRequestRedraw=this.register(new f.EventEmitter).event,this._rowContainer=this._document.createElement("div"),this._rowContainer.classList.add(g),this._rowContainer.style.lineHeight="normal",this._rowContainer.setAttribute("aria-hidden","true"),this._refreshRowElements(this._bufferService.cols,this._bufferService.rows),this._selectionContainer=this._document.createElement("div"),this._selectionContainer.classList.add(O),this._selectionContainer.setAttribute("aria-hidden","true"),this.dimensions=(0,l.createRenderDimensions)(),this._updateDimensions(),this.register(this._optionsService.onOptionChange((()=>this._handleOptionsChanged()))),this.register(this._themeService.onChangeColors((e=>this._injectCss(e)))),this._injectCss(this._themeService.colors),this._rowFactory=d.createInstance(i.DomRendererRowFactory,document),this._element.classList.add(m+this._terminalClass),this._screenElement.appendChild(this._rowContainer),this._screenElement.appendChild(this._selectionContainer),this.register(this._linkifier2.onShowLinkUnderline((e=>this._handleLinkHover(e)))),this.register(this._linkifier2.onHideLinkUnderline((e=>this._handleLinkLeave(e)))),this.register((0,h.toDisposable)((()=>{this._element.classList.remove(m+this._terminalClass),this._rowContainer.remove(),this._selectionContainer.remove(),this._widthCache.dispose(),this._themeStyleElement.remove(),this._dimensionsStyleElement.remove()}))),this._widthCache=new a.WidthCache(this._document,this._helperContainer),this._widthCache.setFont(this._optionsService.rawOptions.fontFamily,this._optionsService.rawOptions.fontSize,this._optionsService.rawOptions.fontWeight,this._optionsService.rawOptions.fontWeightBold),this._setDefaultSpacing()}_updateDimensions(){const e=this._coreBrowserService.dpr;this.dimensions.device.char.width=this._charSizeService.width*e,this.dimensions.device.char.height=Math.ceil(this._charSizeService.height*e),this.dimensions.device.cell.width=this.dimensions.device.char.width+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.device.cell.height=Math.floor(this.dimensions.device.char.height*this._optionsService.rawOptions.lineHeight),this.dimensions.device.char.left=0,this.dimensions.device.char.top=0,this.dimensions.device.canvas.width=this.dimensions.device.cell.width*this._bufferService.cols,this.dimensions.device.canvas.height=this.dimensions.device.cell.height*this._bufferService.rows,this.dimensions.css.canvas.width=Math.round(this.dimensions.device.canvas.width/e),this.dimensions.css.canvas.height=Math.round(this.dimensions.device.canvas.height/e),this.dimensions.css.cell.width=this.dimensions.css.canvas.width/this._bufferService.cols,this.dimensions.css.cell.height=this.dimensions.css.canvas.height/this._bufferService.rows;for(const e of this._rowElements)e.style.width=`${this.dimensions.css.canvas.width}px`,e.style.height=`${this.dimensions.css.cell.height}px`,e.style.lineHeight=`${this.dimensions.css.cell.height}px`,e.style.overflow="hidden";this._dimensionsStyleElement||(this._dimensionsStyleElement=this._document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));const t=`${this._terminalSelector} .${g} span { display: inline-block; height: 100%; vertical-align: top;}`;this._dimensionsStyleElement.textContent=t,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=`${this.dimensions.css.canvas.width}px`,this._screenElement.style.height=`${this.dimensions.css.canvas.height}px`}_injectCss(e){this._themeStyleElement||(this._themeStyleElement=this._document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));let t=`${this._terminalSelector} .${g} { color: ${e.foreground.css}; font-family: ${this._optionsService.rawOptions.fontFamily}; font-size: ${this._optionsService.rawOptions.fontSize}px; font-kerning: none; white-space: pre}`;t+=`${this._terminalSelector} .${g} .xterm-dim { color: ${d.color.multiplyOpacity(e.foreground,.5).css};}`,t+=`${this._terminalSelector} span:not(.xterm-bold) { font-weight: ${this._optionsService.rawOptions.fontWeight};}${this._terminalSelector} span.xterm-bold { font-weight: ${this._optionsService.rawOptions.fontWeightBold};}${this._terminalSelector} span.xterm-italic { font-style: italic;}`;const n=`blink_underline_${this._terminalClass}`,r=`blink_bar_${this._terminalClass}`,o=`blink_block_${this._terminalClass}`;t+=`@keyframes ${n} { 50% { border-bottom-style: hidden; }}`,t+=`@keyframes ${r} { 50% { box-shadow: none; }}`,t+=`@keyframes ${o} { 0% { background-color: ${e.cursor.css}; color: ${e.cursorAccent.css}; } 50% { background-color: inherit; color: ${e.cursor.css}; }}`,t+=`${this._terminalSelector} .${g}.${y} .xterm-cursor.xterm-cursor-blink.xterm-cursor-underline { animation: ${n} 1s step-end infinite;}${this._terminalSelector} .${g}.${y} .xterm-cursor.xterm-cursor-blink.xterm-cursor-bar { animation: ${r} 1s step-end infinite;}${this._terminalSelector} .${g}.${y} .xterm-cursor.xterm-cursor-blink.xterm-cursor-block { animation: ${o} 1s step-end infinite;}${this._terminalSelector} .${g} .xterm-cursor.xterm-cursor-block { background-color: ${e.cursor.css}; color: ${e.cursorAccent.css};}${this._terminalSelector} .${g} .xterm-cursor.xterm-cursor-block:not(.xterm-cursor-blink) { background-color: ${e.cursor.css} !important; color: ${e.cursorAccent.css} !important;}${this._terminalSelector} .${g} .xterm-cursor.xterm-cursor-outline { outline: 1px solid ${e.cursor.css}; outline-offset: -1px;}${this._terminalSelector} .${g} .xterm-cursor.xterm-cursor-bar { box-shadow: ${this._optionsService.rawOptions.cursorWidth}px 0 0 ${e.cursor.css} inset;}${this._terminalSelector} .${g} .xterm-cursor.xterm-cursor-underline { border-bottom: 1px ${e.cursor.css}; border-bottom-style: solid; height: calc(100% - 1px);}`,t+=`${this._terminalSelector} .${O} { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}${this._terminalSelector}.focus .${O} div { position: absolute; background-color: ${e.selectionBackgroundOpaque.css};}${this._terminalSelector} .${O} div { position: absolute; background-color: ${e.selectionInactiveBackgroundOpaque.css};}`;for(const[n,r]of e.ansi.entries())t+=`${this._terminalSelector} .${A}${n} { color: ${r.css}; }${this._terminalSelector} .${A}${n}.xterm-dim { color: ${d.color.multiplyOpacity(r,.5).css}; }${this._terminalSelector} .${v}${n} { background-color: ${r.css}; }`;t+=`${this._terminalSelector} .${A}${s.INVERTED_DEFAULT_COLOR} { color: ${d.color.opaque(e.background).css}; }${this._terminalSelector} .${A}${s.INVERTED_DEFAULT_COLOR}.xterm-dim { color: ${d.color.multiplyOpacity(d.color.opaque(e.background),.5).css}; }${this._terminalSelector} .${v}${s.INVERTED_DEFAULT_COLOR} { background-color: ${e.foreground.css}; }`,this._themeStyleElement.textContent=t}_setDefaultSpacing(){const e=this.dimensions.css.cell.width-this._widthCache.get("W",!1,!1);this._rowContainer.style.letterSpacing=`${e}px`,this._rowFactory.defaultSpacing=e}handleDevicePixelRatioChange(){this._updateDimensions(),this._widthCache.clear(),this._setDefaultSpacing()}_refreshRowElements(e,t){for(let e=this._rowElements.length;e<=t;e++){const e=this._document.createElement("div");this._rowContainer.appendChild(e),this._rowElements.push(e)}for(;this._rowElements.length>t;)this._rowContainer.removeChild(this._rowElements.pop())}handleResize(e,t){this._refreshRowElements(e,t),this._updateDimensions(),this.handleSelectionChanged(this._selectionRenderModel.selectionStart,this._selectionRenderModel.selectionEnd,this._selectionRenderModel.columnSelectMode)}handleCharSizeChanged(){this._updateDimensions(),this._widthCache.clear(),this._setDefaultSpacing()}handleBlur(){this._rowContainer.classList.remove(y),this.renderRows(0,this._bufferService.rows-1)}handleFocus(){this._rowContainer.classList.add(y),this.renderRows(this._bufferService.buffer.y,this._bufferService.buffer.y)}handleSelectionChanged(e,t,n){if(this._selectionContainer.replaceChildren(),this._rowFactory.handleSelectionChanged(e,t,n),this.renderRows(0,this._bufferService.rows-1),!e||!t)return;this._selectionRenderModel.update(this._terminal,e,t,n);const r=this._selectionRenderModel.viewportStartRow,o=this._selectionRenderModel.viewportEndRow,i=this._selectionRenderModel.viewportCappedStartRow,a=this._selectionRenderModel.viewportCappedEndRow;if(i>=this._bufferService.rows||a<0)return;const s=this._document.createDocumentFragment();if(n){const n=e[0]>t[0];s.appendChild(this._createSelectionElement(i,n?t[0]:e[0],n?e[0]:t[0],a-i+1))}else{const n=r===i?e[0]:0,l=i===o?t[0]:this._bufferService.cols;s.appendChild(this._createSelectionElement(i,n,l));const c=a-i-1;if(s.appendChild(this._createSelectionElement(i+1,0,this._bufferService.cols,c)),i!==a){const e=o===a?t[0]:this._bufferService.cols;s.appendChild(this._createSelectionElement(a,0,e))}}this._selectionContainer.appendChild(s)}_createSelectionElement(e,t,n,r=1){const o=this._document.createElement("div"),i=t*this.dimensions.css.cell.width;let a=this.dimensions.css.cell.width*(n-t);return i+a>this.dimensions.css.canvas.width&&(a=this.dimensions.css.canvas.width-i),o.style.height=r*this.dimensions.css.cell.height+"px",o.style.top=e*this.dimensions.css.cell.height+"px",o.style.left=`${i}px`,o.style.width=`${a}px`,o}handleCursorMove(){}_handleOptionsChanged(){this._updateDimensions(),this._injectCss(this._themeService.colors),this._widthCache.setFont(this._optionsService.rawOptions.fontFamily,this._optionsService.rawOptions.fontSize,this._optionsService.rawOptions.fontWeight,this._optionsService.rawOptions.fontWeightBold),this._setDefaultSpacing()}clear(){for(const e of this._rowElements)e.replaceChildren()}renderRows(e,t){const n=this._bufferService.buffer,r=n.ybase+n.y,o=Math.min(n.x,this._bufferService.cols-1),i=this._optionsService.rawOptions.cursorBlink,a=this._optionsService.rawOptions.cursorStyle,s=this._optionsService.rawOptions.cursorInactiveStyle;for(let l=e;l<=t;l++){const e=l+n.ydisp,t=this._rowElements[l],c=n.lines.get(e);if(!t||!c)break;t.replaceChildren(...this._rowFactory.createRow(c,e,e===r,a,s,o,i,this.dimensions.css.cell.width,this._widthCache,-1,-1))}}get _terminalSelector(){return`.${m}${this._terminalClass}`}_handleLinkHover(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!0)}_handleLinkLeave(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!1)}_setCellUnderline(e,t,n,r,o,i){n<0&&(e=0),r<0&&(t=0);const a=this._bufferService.rows-1;n=Math.max(Math.min(n,a),0),r=Math.max(Math.min(r,a),0),o=Math.min(o,this._bufferService.cols);const s=this._bufferService.buffer,l=s.ybase+s.y,c=Math.min(s.x,o-1),u=this._optionsService.rawOptions.cursorBlink,d=this._optionsService.rawOptions.cursorStyle,f=this._optionsService.rawOptions.cursorInactiveStyle;for(let a=n;a<=r;++a){const h=a+s.ydisp,p=this._rowElements[a],m=s.lines.get(h);if(!p||!m)break;p.replaceChildren(...this._rowFactory.createRow(m,h,h===l,d,f,c,u,this.dimensions.css.cell.width,this._widthCache,i?a===n?e:0:-1,i?(a===r?t:o)-1:-1))}}};t.DomRenderer=w=r([o(7,p.IInstantiationService),o(8,u.ICharSizeService),o(9,p.IOptionsService),o(10,p.IBufferService),o(11,u.ICoreBrowserService),o(12,u.IThemeService)],w)},3787:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomRendererRowFactory=void 0;const i=n(2223),a=n(643),s=n(511),l=n(2585),c=n(8055),u=n(4725),d=n(4269),f=n(6171),h=n(3734);let p=t.DomRendererRowFactory=class{constructor(e,t,n,r,o,i,a){this._document=e,this._characterJoinerService=t,this._optionsService=n,this._coreBrowserService=r,this._coreService=o,this._decorationService=i,this._themeService=a,this._workCell=new s.CellData,this._columnSelectMode=!1,this.defaultSpacing=0}handleSelectionChanged(e,t,n){this._selectionStart=e,this._selectionEnd=t,this._columnSelectMode=n}createRow(e,t,n,r,o,s,l,u,f,p,g){const A=[],v=this._characterJoinerService.getJoinedCharacters(t),y=this._themeService.colors;let O,b=e.getNoBgTrimmedLength();n&&b<s+1&&(b=s+1);let w=0,_="",x=0,S=0,k=0,C=!1,B=0,Q=!1,T=0;const E=[],P=-1!==p&&-1!==g;for(let $=0;$<b;$++){e.loadCell($,this._workCell);let b=this._workCell.getWidth();if(0===b)continue;let M=!1,z=$,R=this._workCell;if(v.length>0&&$===v[0][0]){M=!0;const t=v.shift();R=new d.JoinedCellData(this._workCell,e.translateToString(!0,t[0],t[1]),t[1]-t[0]),z=t[1]-1,b=R.getWidth()}const D=this._isCellInSelection($,t),I=n&&$===s,N=P&&$>=p&&$<=g;let L=!1;this._decorationService.forEachDecorationAtCell($,t,void 0,(e=>{L=!0}));let V=R.getChars()||a.WHITESPACE_CELL_CHAR;if(" "===V&&(R.isUnderline()||R.isOverline())&&(V=" "),T=b*u-f.get(V,R.isBold(),R.isItalic()),O){if(w&&(D&&Q||!D&&!Q&&R.bg===x)&&(D&&Q&&y.selectionForeground||R.fg===S)&&R.extended.ext===k&&N===C&&T===B&&!I&&!M&&!L){R.isInvisible()?_+=a.WHITESPACE_CELL_CHAR:_+=V,w++;continue}w&&(O.textContent=_),O=this._document.createElement("span"),w=0,_=""}else O=this._document.createElement("span");if(x=R.bg,S=R.fg,k=R.extended.ext,C=N,B=T,Q=D,M&&s>=$&&s<=z&&(s=$),!this._coreService.isCursorHidden&&I&&this._coreService.isCursorInitialized)if(E.push("xterm-cursor"),this._coreBrowserService.isFocused)l&&E.push("xterm-cursor-blink"),E.push("bar"===r?"xterm-cursor-bar":"underline"===r?"xterm-cursor-underline":"xterm-cursor-block");else if(o)switch(o){case"outline":E.push("xterm-cursor-outline");break;case"block":E.push("xterm-cursor-block");break;case"bar":E.push("xterm-cursor-bar");break;case"underline":E.push("xterm-cursor-underline")}if(R.isBold()&&E.push("xterm-bold"),R.isItalic()&&E.push("xterm-italic"),R.isDim()&&E.push("xterm-dim"),_=R.isInvisible()?a.WHITESPACE_CELL_CHAR:R.getChars()||a.WHITESPACE_CELL_CHAR,R.isUnderline()&&(E.push(`xterm-underline-${R.extended.underlineStyle}`)," "===_&&(_=" "),!R.isUnderlineColorDefault()))if(R.isUnderlineColorRGB())O.style.textDecorationColor=`rgb(${h.AttributeData.toColorRGB(R.getUnderlineColor()).join(",")})`;else{let e=R.getUnderlineColor();this._optionsService.rawOptions.drawBoldTextInBrightColors&&R.isBold()&&e<8&&(e+=8),O.style.textDecorationColor=y.ansi[e].css}R.isOverline()&&(E.push("xterm-overline")," "===_&&(_=" ")),R.isStrikethrough()&&E.push("xterm-strikethrough"),N&&(O.style.textDecoration="underline");let U=R.getFgColor(),F=R.getFgColorMode(),H=R.getBgColor(),W=R.getBgColorMode();const X=!!R.isInverse();if(X){const e=U;U=H,H=e;const t=F;F=W,W=t}let j,q,Z,Y=!1;switch(this._decorationService.forEachDecorationAtCell($,t,void 0,(e=>{"top"!==e.options.layer&&Y||(e.backgroundColorRGB&&(W=50331648,H=e.backgroundColorRGB.rgba>>8&16777215,j=e.backgroundColorRGB),e.foregroundColorRGB&&(F=50331648,U=e.foregroundColorRGB.rgba>>8&16777215,q=e.foregroundColorRGB),Y="top"===e.options.layer)})),!Y&&D&&(j=this._coreBrowserService.isFocused?y.selectionBackgroundOpaque:y.selectionInactiveBackgroundOpaque,H=j.rgba>>8&16777215,W=50331648,Y=!0,y.selectionForeground&&(F=50331648,U=y.selectionForeground.rgba>>8&16777215,q=y.selectionForeground)),Y&&E.push("xterm-decoration-top"),W){case 16777216:case 33554432:Z=y.ansi[H],E.push(`xterm-bg-${H}`);break;case 50331648:Z=c.channels.toColor(H>>16,H>>8&255,255&H),this._addStyle(O,`background-color:#${m((H>>>0).toString(16),"0",6)}`);break;default:X?(Z=y.foreground,E.push(`xterm-bg-${i.INVERTED_DEFAULT_COLOR}`)):Z=y.background}switch(j||R.isDim()&&(j=c.color.multiplyOpacity(Z,.5)),F){case 16777216:case 33554432:R.isBold()&&U<8&&this._optionsService.rawOptions.drawBoldTextInBrightColors&&(U+=8),this._applyMinimumContrast(O,Z,y.ansi[U],R,j,void 0)||E.push(`xterm-fg-${U}`);break;case 50331648:const e=c.channels.toColor(U>>16&255,U>>8&255,255&U);this._applyMinimumContrast(O,Z,e,R,j,q)||this._addStyle(O,`color:#${m(U.toString(16),"0",6)}`);break;default:this._applyMinimumContrast(O,Z,y.foreground,R,j,q)||X&&E.push(`xterm-fg-${i.INVERTED_DEFAULT_COLOR}`)}E.length&&(O.className=E.join(" "),E.length=0),I||M||L?O.textContent=_:w++,T!==this.defaultSpacing&&(O.style.letterSpacing=`${T}px`),A.push(O),$=z}return O&&w&&(O.textContent=_),A}_applyMinimumContrast(e,t,n,r,o,i){if(1===this._optionsService.rawOptions.minimumContrastRatio||(0,f.treatGlyphAsBackgroundColor)(r.getCode()))return!1;const a=this._getContrastCache(r);let s;if(o||i||(s=a.getColor(t.rgba,n.rgba)),void 0===s){const e=this._optionsService.rawOptions.minimumContrastRatio/(r.isDim()?2:1);s=c.color.ensureContrastRatio(o||t,i||n,e),a.setColor((o||t).rgba,(i||n).rgba,s??null)}return!!s&&(this._addStyle(e,`color:${s.css}`),!0)}_getContrastCache(e){return e.isDim()?this._themeService.colors.halfContrastCache:this._themeService.colors.contrastCache}_addStyle(e,t){e.setAttribute("style",`${e.getAttribute("style")||""}${t};`)}_isCellInSelection(e,t){const n=this._selectionStart,r=this._selectionEnd;return!(!n||!r)&&(this._columnSelectMode?n[0]<=r[0]?e>=n[0]&&t>=n[1]&&e<r[0]&&t<=r[1]:e<n[0]&&t>=n[1]&&e>=r[0]&&t<=r[1]:t>n[1]&&t<r[1]||n[1]===r[1]&&t===n[1]&&e>=n[0]&&e<r[0]||n[1]<r[1]&&t===r[1]&&e<r[0]||n[1]<r[1]&&t===n[1]&&e>=n[0])}};function m(e,t,n){for(;e.length<n;)e=t+e;return e}t.DomRendererRowFactory=p=r([o(1,u.ICharacterJoinerService),o(2,l.IOptionsService),o(3,u.ICoreBrowserService),o(4,l.ICoreService),o(5,l.IDecorationService),o(6,u.IThemeService)],p)},2550:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WidthCache=void 0,t.WidthCache=class{constructor(e,t){this._flat=new Float32Array(256),this._font="",this._fontSize=0,this._weight="normal",this._weightBold="bold",this._measureElements=[],this._container=e.createElement("div"),this._container.classList.add("xterm-width-cache-measure-container"),this._container.setAttribute("aria-hidden","true"),this._container.style.whiteSpace="pre",this._container.style.fontKerning="none";const n=e.createElement("span");n.classList.add("xterm-char-measure-element");const r=e.createElement("span");r.classList.add("xterm-char-measure-element"),r.style.fontWeight="bold";const o=e.createElement("span");o.classList.add("xterm-char-measure-element"),o.style.fontStyle="italic";const i=e.createElement("span");i.classList.add("xterm-char-measure-element"),i.style.fontWeight="bold",i.style.fontStyle="italic",this._measureElements=[n,r,o,i],this._container.appendChild(n),this._container.appendChild(r),this._container.appendChild(o),this._container.appendChild(i),t.appendChild(this._container),this.clear()}dispose(){this._container.remove(),this._measureElements.length=0,this._holey=void 0}clear(){this._flat.fill(-9999),this._holey=new Map}setFont(e,t,n,r){e===this._font&&t===this._fontSize&&n===this._weight&&r===this._weightBold||(this._font=e,this._fontSize=t,this._weight=n,this._weightBold=r,this._container.style.fontFamily=this._font,this._container.style.fontSize=`${this._fontSize}px`,this._measureElements[0].style.fontWeight=`${n}`,this._measureElements[1].style.fontWeight=`${r}`,this._measureElements[2].style.fontWeight=`${n}`,this._measureElements[3].style.fontWeight=`${r}`,this.clear())}get(e,t,n){let r=0;if(!t&&!n&&1===e.length&&(r=e.charCodeAt(0))<256){if(-9999!==this._flat[r])return this._flat[r];const t=this._measure(e,0);return t>0&&(this._flat[r]=t),t}let o=e;t&&(o+="B"),n&&(o+="I");let i=this._holey.get(o);if(void 0===i){let r=0;t&&(r|=1),n&&(r|=2),i=this._measure(e,r),i>0&&this._holey.set(o,i)}return i}_measure(e,t){const n=this._measureElements[t];return n.textContent=e.repeat(32),n.offsetWidth/32}}},2223:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TEXT_BASELINE=t.DIM_OPACITY=t.INVERTED_DEFAULT_COLOR=void 0;const r=n(6114);t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.TEXT_BASELINE=r.isFirefox||r.isLegacyEdge?"bottom":"ideographic"},6171:(e,t)=>{function n(e){return 57508<=e&&e<=57558}function r(e){return e>=128512&&e<=128591||e>=127744&&e<=128511||e>=128640&&e<=128767||e>=9728&&e<=9983||e>=9984&&e<=10175||e>=65024&&e<=65039||e>=129280&&e<=129535||e>=127462&&e<=127487}Object.defineProperty(t,"__esModule",{value:!0}),t.computeNextVariantOffset=t.createRenderDimensions=t.treatGlyphAsBackgroundColor=t.allowRescaling=t.isEmoji=t.isRestrictedPowerlineGlyph=t.isPowerlineGlyph=t.throwIfFalsy=void 0,t.throwIfFalsy=function(e){if(!e)throw new Error("value must not be falsy");return e},t.isPowerlineGlyph=n,t.isRestrictedPowerlineGlyph=function(e){return 57520<=e&&e<=57527},t.isEmoji=r,t.allowRescaling=function(e,t,o,i){return 1===t&&o>Math.ceil(1.5*i)&&void 0!==e&&e>255&&!r(e)&&!n(e)&&!function(e){return 57344<=e&&e<=63743}(e)},t.treatGlyphAsBackgroundColor=function(e){return n(e)||function(e){return 9472<=e&&e<=9631}(e)},t.createRenderDimensions=function(){return{css:{canvas:{width:0,height:0},cell:{width:0,height:0}},device:{canvas:{width:0,height:0},cell:{width:0,height:0},char:{width:0,height:0,left:0,top:0}}}},t.computeNextVariantOffset=function(e,t,n=0){return(e-(2*Math.round(t)-n))%(2*Math.round(t))}},6052:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createSelectionRenderModel=void 0;class n{constructor(){this.clear()}clear(){this.hasSelection=!1,this.columnSelectMode=!1,this.viewportStartRow=0,this.viewportEndRow=0,this.viewportCappedStartRow=0,this.viewportCappedEndRow=0,this.startCol=0,this.endCol=0,this.selectionStart=void 0,this.selectionEnd=void 0}update(e,t,n,r=!1){if(this.selectionStart=t,this.selectionEnd=n,!t||!n||t[0]===n[0]&&t[1]===n[1])return void this.clear();const o=e.buffers.active.ydisp,i=t[1]-o,a=n[1]-o,s=Math.max(i,0),l=Math.min(a,e.rows-1);s>=e.rows||l<0?this.clear():(this.hasSelection=!0,this.columnSelectMode=r,this.viewportStartRow=i,this.viewportEndRow=a,this.viewportCappedStartRow=s,this.viewportCappedEndRow=l,this.startCol=t[0],this.endCol=n[0])}isCellSelected(e,t,n){return!!this.hasSelection&&(n-=e.buffer.active.viewportY,this.columnSelectMode?this.startCol<=this.endCol?t>=this.startCol&&n>=this.viewportCappedStartRow&&t<this.endCol&&n<=this.viewportCappedEndRow:t<this.startCol&&n>=this.viewportCappedStartRow&&t>=this.endCol&&n<=this.viewportCappedEndRow:n>this.viewportStartRow&&n<this.viewportEndRow||this.viewportStartRow===this.viewportEndRow&&n===this.viewportStartRow&&t>=this.startCol&&t<this.endCol||this.viewportStartRow<this.viewportEndRow&&n===this.viewportEndRow&&t<this.endCol||this.viewportStartRow<this.viewportEndRow&&n===this.viewportStartRow&&t>=this.startCol)}}t.createSelectionRenderModel=function(){return new n}},456:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionModel=void 0,t.SelectionModel=class{constructor(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}clearSelection(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0}get finalSelectionStart(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart}get finalSelectionEnd(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){const e=this.selectionStart[0]+this.selectionStartLength;return e>this._bufferService.cols?e%this._bufferService.cols==0?[this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)-1]:[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[e,this.selectionStart[1]]}if(this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]){const e=this.selectionStart[0]+this.selectionStartLength;return e>this._bufferService.cols?[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[Math.max(e,this.selectionEnd[0]),this.selectionEnd[1]]}return this.selectionEnd}}areSelectionValuesReversed(){const e=this.selectionStart,t=this.selectionEnd;return!(!e||!t)&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0])}handleTrim(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)}}},428:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CharSizeService=void 0;const i=n(2585),a=n(8460),s=n(844);let l=t.CharSizeService=class extends s.Disposable{get hasValidSize(){return this.width>0&&this.height>0}constructor(e,t,n){super(),this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=this.register(new a.EventEmitter),this.onCharSizeChange=this._onCharSizeChange.event;try{this._measureStrategy=this.register(new d(this._optionsService))}catch{this._measureStrategy=this.register(new u(e,t,this._optionsService))}this.register(this._optionsService.onMultipleOptionChange(["fontFamily","fontSize"],(()=>this.measure())))}measure(){const e=this._measureStrategy.measure();e.width===this.width&&e.height===this.height||(this.width=e.width,this.height=e.height,this._onCharSizeChange.fire())}};t.CharSizeService=l=r([o(2,i.IOptionsService)],l);class c extends s.Disposable{constructor(){super(...arguments),this._result={width:0,height:0}}_validateAndSet(e,t){void 0!==e&&e>0&&void 0!==t&&t>0&&(this._result.width=e,this._result.height=t)}}class u extends c{constructor(e,t,n){super(),this._document=e,this._parentElement=t,this._optionsService=n,this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W".repeat(32),this._measureElement.setAttribute("aria-hidden","true"),this._measureElement.style.whiteSpace="pre",this._measureElement.style.fontKerning="none",this._parentElement.appendChild(this._measureElement)}measure(){return this._measureElement.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._measureElement.style.fontSize=`${this._optionsService.rawOptions.fontSize}px`,this._validateAndSet(Number(this._measureElement.offsetWidth)/32,Number(this._measureElement.offsetHeight)),this._result}}class d extends c{constructor(e){super(),this._optionsService=e,this._canvas=new OffscreenCanvas(100,100),this._ctx=this._canvas.getContext("2d");const t=this._ctx.measureText("W");if(!("width"in t&&"fontBoundingBoxAscent"in t&&"fontBoundingBoxDescent"in t))throw new Error("Required font metrics not supported")}measure(){this._ctx.font=`${this._optionsService.rawOptions.fontSize}px ${this._optionsService.rawOptions.fontFamily}`;const e=this._ctx.measureText("W");return this._validateAndSet(e.width,e.fontBoundingBoxAscent+e.fontBoundingBoxDescent),this._result}}},4269:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacterJoinerService=t.JoinedCellData=void 0;const i=n(3734),a=n(643),s=n(511),l=n(2585);class c extends i.AttributeData{constructor(e,t,n){super(),this.content=0,this.combinedData="",this.fg=e.fg,this.bg=e.bg,this.combinedData=t,this._width=n}isCombined(){return 2097152}getWidth(){return this._width}getChars(){return this.combinedData}getCode(){return 2097151}setFromCharData(e){throw new Error("not implemented")}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}}t.JoinedCellData=c;let u=t.CharacterJoinerService=class e{constructor(e){this._bufferService=e,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new s.CellData}register(e){const t={id:this._nextCharacterJoinerId++,handler:e};return this._characterJoiners.push(t),t.id}deregister(e){for(let t=0;t<this._characterJoiners.length;t++)if(this._characterJoiners[t].id===e)return this._characterJoiners.splice(t,1),!0;return!1}getJoinedCharacters(e){if(0===this._characterJoiners.length)return[];const t=this._bufferService.buffer.lines.get(e);if(!t||0===t.length)return[];const n=[],r=t.translateToString(!0);let o=0,i=0,s=0,l=t.getFg(0),c=t.getBg(0);for(let e=0;e<t.getTrimmedLength();e++)if(t.loadCell(e,this._workCell),0!==this._workCell.getWidth()){if(this._workCell.fg!==l||this._workCell.bg!==c){if(e-o>1){const e=this._getJoinedRanges(r,s,i,t,o);for(let t=0;t<e.length;t++)n.push(e[t])}o=e,s=i,l=this._workCell.fg,c=this._workCell.bg}i+=this._workCell.getChars().length||a.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-o>1){const e=this._getJoinedRanges(r,s,i,t,o);for(let t=0;t<e.length;t++)n.push(e[t])}return n}_getJoinedRanges(t,n,r,o,i){const a=t.substring(n,r);let s=[];try{s=this._characterJoiners[0].handler(a)}catch(e){console.error(e)}for(let t=1;t<this._characterJoiners.length;t++)try{const n=this._characterJoiners[t].handler(a);for(let t=0;t<n.length;t++)e._mergeRanges(s,n[t])}catch(e){console.error(e)}return this._stringRangesToCellRanges(s,o,i),s}_stringRangesToCellRanges(e,t,n){let r=0,o=!1,i=0,s=e[r];if(s){for(let l=n;l<this._bufferService.cols;l++){const n=t.getWidth(l),c=t.getString(l).length||a.WHITESPACE_CELL_CHAR.length;if(0!==n){if(!o&&s[0]<=i&&(s[0]=l,o=!0),s[1]<=i){if(s[1]=l,s=e[++r],!s)break;s[0]<=i?(s[0]=l,o=!0):o=!1}i+=c}}s&&(s[1]=this._bufferService.cols)}}static _mergeRanges(e,t){let n=!1;for(let r=0;r<e.length;r++){const o=e[r];if(n){if(t[1]<=o[0])return e[r-1][1]=t[1],e;if(t[1]<=o[1])return e[r-1][1]=Math.max(t[1],o[1]),e.splice(r,1),e;e.splice(r,1),r--}else{if(t[1]<=o[0])return e.splice(r,0,t),e;if(t[1]<=o[1])return o[0]=Math.min(t[0],o[0]),e;t[0]<o[1]&&(o[0]=Math.min(t[0],o[0]),n=!0)}}return n?e[e.length-1][1]=t[1]:e.push(t),e}};t.CharacterJoinerService=u=r([o(0,l.IBufferService)],u)},5114:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CoreBrowserService=void 0;const r=n(844),o=n(8460),i=n(3656);class a extends r.Disposable{constructor(e,t,n){super(),this._textarea=e,this._window=t,this.mainDocument=n,this._isFocused=!1,this._cachedIsFocused=void 0,this._screenDprMonitor=new s(this._window),this._onDprChange=this.register(new o.EventEmitter),this.onDprChange=this._onDprChange.event,this._onWindowChange=this.register(new o.EventEmitter),this.onWindowChange=this._onWindowChange.event,this.register(this.onWindowChange((e=>this._screenDprMonitor.setWindow(e)))),this.register((0,o.forwardEvent)(this._screenDprMonitor.onDprChange,this._onDprChange)),this._textarea.addEventListener("focus",(()=>this._isFocused=!0)),this._textarea.addEventListener("blur",(()=>this._isFocused=!1))}get window(){return this._window}set window(e){this._window!==e&&(this._window=e,this._onWindowChange.fire(this._window))}get dpr(){return this.window.devicePixelRatio}get isFocused(){return void 0===this._cachedIsFocused&&(this._cachedIsFocused=this._isFocused&&this._textarea.ownerDocument.hasFocus(),queueMicrotask((()=>this._cachedIsFocused=void 0))),this._cachedIsFocused}}t.CoreBrowserService=a;class s extends r.Disposable{constructor(e){super(),this._parentWindow=e,this._windowResizeListener=this.register(new r.MutableDisposable),this._onDprChange=this.register(new o.EventEmitter),this.onDprChange=this._onDprChange.event,this._outerListener=()=>this._setDprAndFireIfDiffers(),this._currentDevicePixelRatio=this._parentWindow.devicePixelRatio,this._updateDpr(),this._setWindowResizeListener(),this.register((0,r.toDisposable)((()=>this.clearListener())))}setWindow(e){this._parentWindow=e,this._setWindowResizeListener(),this._setDprAndFireIfDiffers()}_setWindowResizeListener(){this._windowResizeListener.value=(0,i.addDisposableDomListener)(this._parentWindow,"resize",(()=>this._setDprAndFireIfDiffers()))}_setDprAndFireIfDiffers(){this._parentWindow.devicePixelRatio!==this._currentDevicePixelRatio&&this._onDprChange.fire(this._parentWindow.devicePixelRatio),this._updateDpr()}_updateDpr(){this._outerListener&&(this._resolutionMediaMatchList?.removeListener(this._outerListener),this._currentDevicePixelRatio=this._parentWindow.devicePixelRatio,this._resolutionMediaMatchList=this._parentWindow.matchMedia(`screen and (resolution: ${this._parentWindow.devicePixelRatio}dppx)`),this._resolutionMediaMatchList.addListener(this._outerListener))}clearListener(){this._resolutionMediaMatchList&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._outerListener=void 0)}}},779:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LinkProviderService=void 0;const r=n(844);class o extends r.Disposable{constructor(){super(),this.linkProviders=[],this.register((0,r.toDisposable)((()=>this.linkProviders.length=0)))}registerLinkProvider(e){return this.linkProviders.push(e),{dispose:()=>{const t=this.linkProviders.indexOf(e);-1!==t&&this.linkProviders.splice(t,1)}}}}t.LinkProviderService=o},8934:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseService=void 0;const i=n(4725),a=n(9806);let s=t.MouseService=class{constructor(e,t){this._renderService=e,this._charSizeService=t}getCoords(e,t,n,r,o){return(0,a.getCoords)(window,e,t,n,r,this._charSizeService.hasValidSize,this._renderService.dimensions.css.cell.width,this._renderService.dimensions.css.cell.height,o)}getMouseReportCoords(e,t){const n=(0,a.getCoordsRelativeToElement)(window,e,t);if(this._charSizeService.hasValidSize)return n[0]=Math.min(Math.max(n[0],0),this._renderService.dimensions.css.canvas.width-1),n[1]=Math.min(Math.max(n[1],0),this._renderService.dimensions.css.canvas.height-1),{col:Math.floor(n[0]/this._renderService.dimensions.css.cell.width),row:Math.floor(n[1]/this._renderService.dimensions.css.cell.height),x:Math.floor(n[0]),y:Math.floor(n[1])}}};t.MouseService=s=r([o(0,i.IRenderService),o(1,i.ICharSizeService)],s)},3230:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenderService=void 0;const i=n(6193),a=n(4725),s=n(8460),l=n(844),c=n(7226),u=n(2585);let d=t.RenderService=class extends l.Disposable{get dimensions(){return this._renderer.value.dimensions}constructor(e,t,n,r,o,a,u,d){super(),this._rowCount=e,this._charSizeService=r,this._renderer=this.register(new l.MutableDisposable),this._pausedResizeTask=new c.DebouncedIdleTask,this._observerDisposable=this.register(new l.MutableDisposable),this._isPaused=!1,this._needsFullRefresh=!1,this._isNextRenderRedrawOnly=!0,this._needsSelectionRefresh=!1,this._canvasWidth=0,this._canvasHeight=0,this._selectionState={start:void 0,end:void 0,columnSelectMode:!1},this._onDimensionsChange=this.register(new s.EventEmitter),this.onDimensionsChange=this._onDimensionsChange.event,this._onRenderedViewportChange=this.register(new s.EventEmitter),this.onRenderedViewportChange=this._onRenderedViewportChange.event,this._onRender=this.register(new s.EventEmitter),this.onRender=this._onRender.event,this._onRefreshRequest=this.register(new s.EventEmitter),this.onRefreshRequest=this._onRefreshRequest.event,this._renderDebouncer=new i.RenderDebouncer(((e,t)=>this._renderRows(e,t)),u),this.register(this._renderDebouncer),this.register(u.onDprChange((()=>this.handleDevicePixelRatioChange()))),this.register(a.onResize((()=>this._fullRefresh()))),this.register(a.buffers.onBufferActivate((()=>this._renderer.value?.clear()))),this.register(n.onOptionChange((()=>this._handleOptionsChanged()))),this.register(this._charSizeService.onCharSizeChange((()=>this.handleCharSizeChanged()))),this.register(o.onDecorationRegistered((()=>this._fullRefresh()))),this.register(o.onDecorationRemoved((()=>this._fullRefresh()))),this.register(n.onMultipleOptionChange(["customGlyphs","drawBoldTextInBrightColors","letterSpacing","lineHeight","fontFamily","fontSize","fontWeight","fontWeightBold","minimumContrastRatio","rescaleOverlappingGlyphs"],(()=>{this.clear(),this.handleResize(a.cols,a.rows),this._fullRefresh()}))),this.register(n.onMultipleOptionChange(["cursorBlink","cursorStyle"],(()=>this.refreshRows(a.buffer.y,a.buffer.y,!0)))),this.register(d.onChangeColors((()=>this._fullRefresh()))),this._registerIntersectionObserver(u.window,t),this.register(u.onWindowChange((e=>this._registerIntersectionObserver(e,t))))}_registerIntersectionObserver(e,t){if("IntersectionObserver"in e){const n=new e.IntersectionObserver((e=>this._handleIntersectionChange(e[e.length-1])),{threshold:0});n.observe(t),this._observerDisposable.value=(0,l.toDisposable)((()=>n.disconnect()))}}_handleIntersectionChange(e){this._isPaused=void 0===e.isIntersecting?0===e.intersectionRatio:!e.isIntersecting,this._isPaused||this._charSizeService.hasValidSize||this._charSizeService.measure(),!this._isPaused&&this._needsFullRefresh&&(this._pausedResizeTask.flush(),this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)}refreshRows(e,t,n=!1){this._isPaused?this._needsFullRefresh=!0:(n||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(e,t,this._rowCount))}_renderRows(e,t){this._renderer.value&&(e=Math.min(e,this._rowCount-1),t=Math.min(t,this._rowCount-1),this._renderer.value.renderRows(e,t),this._needsSelectionRefresh&&(this._renderer.value.handleSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRenderedViewportChange.fire({start:e,end:t}),this._onRender.fire({start:e,end:t}),this._isNextRenderRedrawOnly=!0)}resize(e,t){this._rowCount=t,this._fireOnCanvasResize()}_handleOptionsChanged(){this._renderer.value&&(this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize())}_fireOnCanvasResize(){this._renderer.value&&(this._renderer.value.dimensions.css.canvas.width===this._canvasWidth&&this._renderer.value.dimensions.css.canvas.height===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.value.dimensions))}hasRenderer(){return!!this._renderer.value}setRenderer(e){this._renderer.value=e,this._renderer.value&&(this._renderer.value.onRequestRedraw((e=>this.refreshRows(e.start,e.end,!0))),this._needsSelectionRefresh=!0,this._fullRefresh())}addRefreshCallback(e){return this._renderDebouncer.addRefreshCallback(e)}_fullRefresh(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)}clearTextureAtlas(){this._renderer.value&&(this._renderer.value.clearTextureAtlas?.(),this._fullRefresh())}handleDevicePixelRatioChange(){this._charSizeService.measure(),this._renderer.value&&(this._renderer.value.handleDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1))}handleResize(e,t){this._renderer.value&&(this._isPaused?this._pausedResizeTask.set((()=>this._renderer.value?.handleResize(e,t))):this._renderer.value.handleResize(e,t),this._fullRefresh())}handleCharSizeChanged(){this._renderer.value?.handleCharSizeChanged()}handleBlur(){this._renderer.value?.handleBlur()}handleFocus(){this._renderer.value?.handleFocus()}handleSelectionChanged(e,t,n){this._selectionState.start=e,this._selectionState.end=t,this._selectionState.columnSelectMode=n,this._renderer.value?.handleSelectionChanged(e,t,n)}handleCursorMove(){this._renderer.value?.handleCursorMove()}clear(){this._renderer.value?.clear()}};t.RenderService=d=r([o(2,u.IOptionsService),o(3,a.ICharSizeService),o(4,u.IDecorationService),o(5,u.IBufferService),o(6,a.ICoreBrowserService),o(7,a.IThemeService)],d)},9312:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionService=void 0;const i=n(9806),a=n(9504),s=n(456),l=n(4725),c=n(8460),u=n(844),d=n(6114),f=n(4841),h=n(511),p=n(2585),m=String.fromCharCode(160),g=new RegExp(m,"g");let A=t.SelectionService=class extends u.Disposable{constructor(e,t,n,r,o,i,a,l,d){super(),this._element=e,this._screenElement=t,this._linkifier=n,this._bufferService=r,this._coreService=o,this._mouseService=i,this._optionsService=a,this._renderService=l,this._coreBrowserService=d,this._dragScrollAmount=0,this._enabled=!0,this._workCell=new h.CellData,this._mouseDownTimeStamp=0,this._oldHasSelection=!1,this._oldSelectionStart=void 0,this._oldSelectionEnd=void 0,this._onLinuxMouseSelection=this.register(new c.EventEmitter),this.onLinuxMouseSelection=this._onLinuxMouseSelection.event,this._onRedrawRequest=this.register(new c.EventEmitter),this.onRequestRedraw=this._onRedrawRequest.event,this._onSelectionChange=this.register(new c.EventEmitter),this.onSelectionChange=this._onSelectionChange.event,this._onRequestScrollLines=this.register(new c.EventEmitter),this.onRequestScrollLines=this._onRequestScrollLines.event,this._mouseMoveListener=e=>this._handleMouseMove(e),this._mouseUpListener=e=>this._handleMouseUp(e),this._coreService.onUserInput((()=>{this.hasSelection&&this.clearSelection()})),this._trimListener=this._bufferService.buffer.lines.onTrim((e=>this._handleTrim(e))),this.register(this._bufferService.buffers.onBufferActivate((e=>this._handleBufferActivate(e)))),this.enable(),this._model=new s.SelectionModel(this._bufferService),this._activeSelectionMode=0,this.register((0,u.toDisposable)((()=>{this._removeMouseDownListeners()})))}reset(){this.clearSelection()}disable(){this.clearSelection(),this._enabled=!1}enable(){this._enabled=!0}get selectionStart(){return this._model.finalSelectionStart}get selectionEnd(){return this._model.finalSelectionEnd}get hasSelection(){const e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;return!(!e||!t||e[0]===t[0]&&e[1]===t[1])}get selectionText(){const e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;if(!e||!t)return"";const n=this._bufferService.buffer,r=[];if(3===this._activeSelectionMode){if(e[0]===t[0])return"";const o=e[0]<t[0]?e[0]:t[0],i=e[0]<t[0]?t[0]:e[0];for(let a=e[1];a<=t[1];a++){const e=n.translateBufferLineToString(a,!0,o,i);r.push(e)}}else{const o=e[1]===t[1]?t[0]:void 0;r.push(n.translateBufferLineToString(e[1],!0,e[0],o));for(let o=e[1]+1;o<=t[1]-1;o++){const e=n.lines.get(o),t=n.translateBufferLineToString(o,!0);e?.isWrapped?r[r.length-1]+=t:r.push(t)}if(e[1]!==t[1]){const e=n.lines.get(t[1]),o=n.translateBufferLineToString(t[1],!0,0,t[0]);e&&e.isWrapped?r[r.length-1]+=o:r.push(o)}}return r.map((e=>e.replace(g," "))).join(d.isWindows?"\r\n":"\n")}clearSelection(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()}refresh(e){this._refreshAnimationFrame||(this._refreshAnimationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>this._refresh()))),d.isLinux&&e&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)}_refresh(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})}_isClickInSelection(e){const t=this._getMouseBufferCoords(e),n=this._model.finalSelectionStart,r=this._model.finalSelectionEnd;return!!(n&&r&&t)&&this._areCoordsInSelection(t,n,r)}isCellInSelection(e,t){const n=this._model.finalSelectionStart,r=this._model.finalSelectionEnd;return!(!n||!r)&&this._areCoordsInSelection([e,t],n,r)}_areCoordsInSelection(e,t,n){return e[1]>t[1]&&e[1]<n[1]||t[1]===n[1]&&e[1]===t[1]&&e[0]>=t[0]&&e[0]<n[0]||t[1]<n[1]&&e[1]===n[1]&&e[0]<n[0]||t[1]<n[1]&&e[1]===t[1]&&e[0]>=t[0]}_selectWordAtCursor(e,t){const n=this._linkifier.currentLink?.link?.range;if(n)return this._model.selectionStart=[n.start.x-1,n.start.y-1],this._model.selectionStartLength=(0,f.getRangeLength)(n,this._bufferService.cols),this._model.selectionEnd=void 0,!0;const r=this._getMouseBufferCoords(e);return!!r&&(this._selectWordAt(r,t),this._model.selectionEnd=void 0,!0)}selectAll(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()}selectLines(e,t){this._model.clearSelection(),e=Math.max(e,0),t=Math.min(t,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,e],this._model.selectionEnd=[this._bufferService.cols,t],this.refresh(),this._onSelectionChange.fire()}_handleTrim(e){this._model.handleTrim(e)&&this.refresh()}_getMouseBufferCoords(e){const t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(t)return t[0]--,t[1]--,t[1]+=this._bufferService.buffer.ydisp,t}_getMouseEventScrollAmount(e){let t=(0,i.getCoordsRelativeToElement)(this._coreBrowserService.window,e,this._screenElement)[1];const n=this._renderService.dimensions.css.canvas.height;return t>=0&&t<=n?0:(t>n&&(t-=n),t=Math.min(Math.max(t,-50),50),t/=50,t/Math.abs(t)+Math.round(14*t))}shouldForceSelection(e){return d.isMac?e.altKey&&this._optionsService.rawOptions.macOptionClickForcesSelection:e.shiftKey}handleMouseDown(e){if(this._mouseDownTimeStamp=e.timeStamp,(2!==e.button||!this.hasSelection)&&0===e.button){if(!this._enabled){if(!this.shouldForceSelection(e))return;e.stopPropagation()}e.preventDefault(),this._dragScrollAmount=0,this._enabled&&e.shiftKey?this._handleIncrementalClick(e):1===e.detail?this._handleSingleClick(e):2===e.detail?this._handleDoubleClick(e):3===e.detail&&this._handleTripleClick(e),this._addMouseDownListeners(),this.refresh(!0)}}_addMouseDownListeners(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=this._coreBrowserService.window.setInterval((()=>this._dragScroll()),50)}_removeMouseDownListeners(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),this._coreBrowserService.window.clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0}_handleIncrementalClick(e){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(e))}_handleSingleClick(e){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(e)?3:0,this._model.selectionStart=this._getMouseBufferCoords(e),!this._model.selectionStart)return;this._model.selectionEnd=void 0;const t=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);t&&t.length!==this._model.selectionStart[0]&&0===t.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}_handleDoubleClick(e){this._selectWordAtCursor(e,!0)&&(this._activeSelectionMode=1)}_handleTripleClick(e){const t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=2,this._selectLineAt(t[1]))}shouldColumnSelect(e){return e.altKey&&!(d.isMac&&this._optionsService.rawOptions.macOptionClickForcesSelection)}_handleMouseMove(e){if(e.stopImmediatePropagation(),!this._model.selectionStart)return;const t=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(e),!this._model.selectionEnd)return void this.refresh(!0);2===this._activeSelectionMode?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:1===this._activeSelectionMode&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(e),3!==this._activeSelectionMode&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));const n=this._bufferService.buffer;if(this._model.selectionEnd[1]<n.lines.length){const e=n.lines.get(this._model.selectionEnd[1]);e&&0===e.hasWidth(this._model.selectionEnd[0])&&this._model.selectionEnd[0]<this._bufferService.cols&&this._model.selectionEnd[0]++}t&&t[0]===this._model.selectionEnd[0]&&t[1]===this._model.selectionEnd[1]||this.refresh(!0)}_dragScroll(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});const e=this._bufferService.buffer;this._dragScrollAmount>0?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(e.ydisp+this._bufferService.rows,e.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=e.ydisp),this.refresh()}}_handleMouseUp(e){const t=e.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&t<500&&e.altKey&&this._optionsService.rawOptions.altClickMovesCursor){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){const t=this._mouseService.getCoords(e,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(t&&void 0!==t[0]&&void 0!==t[1]){const e=(0,a.moveToCellSequence)(t[0]-1,t[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(e,!0)}}}else this._fireEventIfSelectionChanged()}_fireEventIfSelectionChanged(){const e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd,n=!(!e||!t||e[0]===t[0]&&e[1]===t[1]);n?e&&t&&(this._oldSelectionStart&&this._oldSelectionEnd&&e[0]===this._oldSelectionStart[0]&&e[1]===this._oldSelectionStart[1]&&t[0]===this._oldSelectionEnd[0]&&t[1]===this._oldSelectionEnd[1]||this._fireOnSelectionChange(e,t,n)):this._oldHasSelection&&this._fireOnSelectionChange(e,t,n)}_fireOnSelectionChange(e,t,n){this._oldSelectionStart=e,this._oldSelectionEnd=t,this._oldHasSelection=n,this._onSelectionChange.fire()}_handleBufferActivate(e){this.clearSelection(),this._trimListener.dispose(),this._trimListener=e.activeBuffer.lines.onTrim((e=>this._handleTrim(e)))}_convertViewportColToCharacterIndex(e,t){let n=t;for(let r=0;t>=r;r++){const o=e.loadCell(r,this._workCell).getChars().length;0===this._workCell.getWidth()?n--:o>1&&t!==r&&(n+=o-1)}return n}setSelection(e,t,n){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[e,t],this._model.selectionStartLength=n,this.refresh(),this._fireEventIfSelectionChanged()}rightClickSelect(e){this._isClickInSelection(e)||(this._selectWordAtCursor(e,!1)&&this.refresh(!0),this._fireEventIfSelectionChanged())}_getWordAt(e,t,n=!0,r=!0){if(e[0]>=this._bufferService.cols)return;const o=this._bufferService.buffer,i=o.lines.get(e[1]);if(!i)return;const a=o.translateBufferLineToString(e[1],!1);let s=this._convertViewportColToCharacterIndex(i,e[0]),l=s;const c=e[0]-s;let u=0,d=0,f=0,h=0;if(" "===a.charAt(s)){for(;s>0&&" "===a.charAt(s-1);)s--;for(;l<a.length&&" "===a.charAt(l+1);)l++}else{let t=e[0],n=e[0];0===i.getWidth(t)&&(u++,t--),2===i.getWidth(n)&&(d++,n++);const r=i.getString(n).length;for(r>1&&(h+=r-1,l+=r-1);t>0&&s>0&&!this._isCharWordSeparator(i.loadCell(t-1,this._workCell));){i.loadCell(t-1,this._workCell);const e=this._workCell.getChars().length;0===this._workCell.getWidth()?(u++,t--):e>1&&(f+=e-1,s-=e-1),s--,t--}for(;n<i.length&&l+1<a.length&&!this._isCharWordSeparator(i.loadCell(n+1,this._workCell));){i.loadCell(n+1,this._workCell);const e=this._workCell.getChars().length;2===this._workCell.getWidth()?(d++,n++):e>1&&(h+=e-1,l+=e-1),l++,n++}}l++;let p=s+c-u+f,m=Math.min(this._bufferService.cols,l-s+u+d-f-h);if(t||""!==a.slice(s,l).trim()){if(n&&0===p&&32!==i.getCodePoint(0)){const t=o.lines.get(e[1]-1);if(t&&i.isWrapped&&32!==t.getCodePoint(this._bufferService.cols-1)){const t=this._getWordAt([this._bufferService.cols-1,e[1]-1],!1,!0,!1);if(t){const e=this._bufferService.cols-t.start;p-=e,m+=e}}}if(r&&p+m===this._bufferService.cols&&32!==i.getCodePoint(this._bufferService.cols-1)){const t=o.lines.get(e[1]+1);if(t?.isWrapped&&32!==t.getCodePoint(0)){const t=this._getWordAt([0,e[1]+1],!1,!1,!0);t&&(m+=t.length)}}return{start:p,length:m}}}_selectWordAt(e,t){const n=this._getWordAt(e,t);if(n){for(;n.start<0;)n.start+=this._bufferService.cols,e[1]--;this._model.selectionStart=[n.start,e[1]],this._model.selectionStartLength=n.length}}_selectToWordAt(e){const t=this._getWordAt(e,!0);if(t){let n=e[1];for(;t.start<0;)t.start+=this._bufferService.cols,n--;if(!this._model.areSelectionValuesReversed())for(;t.start+t.length>this._bufferService.cols;)t.length-=this._bufferService.cols,n++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?t.start:t.start+t.length,n]}}_isCharWordSeparator(e){return 0!==e.getWidth()&&this._optionsService.rawOptions.wordSeparator.indexOf(e.getChars())>=0}_selectLineAt(e){const t=this._bufferService.buffer.getWrappedRangeForLine(e),n={start:{x:0,y:t.first},end:{x:this._bufferService.cols-1,y:t.last}};this._model.selectionStart=[0,t.first],this._model.selectionEnd=void 0,this._model.selectionStartLength=(0,f.getRangeLength)(n,this._bufferService.cols)}};t.SelectionService=A=r([o(3,p.IBufferService),o(4,p.ICoreService),o(5,l.IMouseService),o(6,p.IOptionsService),o(7,l.IRenderService),o(8,l.ICoreBrowserService)],A)},4725:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ILinkProviderService=t.IThemeService=t.ICharacterJoinerService=t.ISelectionService=t.IRenderService=t.IMouseService=t.ICoreBrowserService=t.ICharSizeService=void 0;const r=n(8343);t.ICharSizeService=(0,r.createDecorator)("CharSizeService"),t.ICoreBrowserService=(0,r.createDecorator)("CoreBrowserService"),t.IMouseService=(0,r.createDecorator)("MouseService"),t.IRenderService=(0,r.createDecorator)("RenderService"),t.ISelectionService=(0,r.createDecorator)("SelectionService"),t.ICharacterJoinerService=(0,r.createDecorator)("CharacterJoinerService"),t.IThemeService=(0,r.createDecorator)("ThemeService"),t.ILinkProviderService=(0,r.createDecorator)("LinkProviderService")},6731:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeService=t.DEFAULT_ANSI_COLORS=void 0;const i=n(7239),a=n(8055),s=n(8460),l=n(844),c=n(2585),u=a.css.toColor("#ffffff"),d=a.css.toColor("#000000"),f=a.css.toColor("#ffffff"),h=a.css.toColor("#000000"),p={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};t.DEFAULT_ANSI_COLORS=Object.freeze((()=>{const e=[a.css.toColor("#2e3436"),a.css.toColor("#cc0000"),a.css.toColor("#4e9a06"),a.css.toColor("#c4a000"),a.css.toColor("#3465a4"),a.css.toColor("#75507b"),a.css.toColor("#06989a"),a.css.toColor("#d3d7cf"),a.css.toColor("#555753"),a.css.toColor("#ef2929"),a.css.toColor("#8ae234"),a.css.toColor("#fce94f"),a.css.toColor("#729fcf"),a.css.toColor("#ad7fa8"),a.css.toColor("#34e2e2"),a.css.toColor("#eeeeec")],t=[0,95,135,175,215,255];for(let n=0;n<216;n++){const r=t[n/36%6|0],o=t[n/6%6|0],i=t[n%6];e.push({css:a.channels.toCss(r,o,i),rgba:a.channels.toRgba(r,o,i)})}for(let t=0;t<24;t++){const n=8+10*t;e.push({css:a.channels.toCss(n,n,n),rgba:a.channels.toRgba(n,n,n)})}return e})());let m=t.ThemeService=class extends l.Disposable{get colors(){return this._colors}constructor(e){super(),this._optionsService=e,this._contrastCache=new i.ColorContrastCache,this._halfContrastCache=new i.ColorContrastCache,this._onChangeColors=this.register(new s.EventEmitter),this.onChangeColors=this._onChangeColors.event,this._colors={foreground:u,background:d,cursor:f,cursorAccent:h,selectionForeground:void 0,selectionBackgroundTransparent:p,selectionBackgroundOpaque:a.color.blend(d,p),selectionInactiveBackgroundTransparent:p,selectionInactiveBackgroundOpaque:a.color.blend(d,p),ansi:t.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache,halfContrastCache:this._halfContrastCache},this._updateRestoreColors(),this._setTheme(this._optionsService.rawOptions.theme),this.register(this._optionsService.onSpecificOptionChange("minimumContrastRatio",(()=>this._contrastCache.clear()))),this.register(this._optionsService.onSpecificOptionChange("theme",(()=>this._setTheme(this._optionsService.rawOptions.theme))))}_setTheme(e={}){const n=this._colors;if(n.foreground=g(e.foreground,u),n.background=g(e.background,d),n.cursor=g(e.cursor,f),n.cursorAccent=g(e.cursorAccent,h),n.selectionBackgroundTransparent=g(e.selectionBackground,p),n.selectionBackgroundOpaque=a.color.blend(n.background,n.selectionBackgroundTransparent),n.selectionInactiveBackgroundTransparent=g(e.selectionInactiveBackground,n.selectionBackgroundTransparent),n.selectionInactiveBackgroundOpaque=a.color.blend(n.background,n.selectionInactiveBackgroundTransparent),n.selectionForeground=e.selectionForeground?g(e.selectionForeground,a.NULL_COLOR):void 0,n.selectionForeground===a.NULL_COLOR&&(n.selectionForeground=void 0),a.color.isOpaque(n.selectionBackgroundTransparent)){const e=.3;n.selectionBackgroundTransparent=a.color.opacity(n.selectionBackgroundTransparent,e)}if(a.color.isOpaque(n.selectionInactiveBackgroundTransparent)){const e=.3;n.selectionInactiveBackgroundTransparent=a.color.opacity(n.selectionInactiveBackgroundTransparent,e)}if(n.ansi=t.DEFAULT_ANSI_COLORS.slice(),n.ansi[0]=g(e.black,t.DEFAULT_ANSI_COLORS[0]),n.ansi[1]=g(e.red,t.DEFAULT_ANSI_COLORS[1]),n.ansi[2]=g(e.green,t.DEFAULT_ANSI_COLORS[2]),n.ansi[3]=g(e.yellow,t.DEFAULT_ANSI_COLORS[3]),n.ansi[4]=g(e.blue,t.DEFAULT_ANSI_COLORS[4]),n.ansi[5]=g(e.magenta,t.DEFAULT_ANSI_COLORS[5]),n.ansi[6]=g(e.cyan,t.DEFAULT_ANSI_COLORS[6]),n.ansi[7]=g(e.white,t.DEFAULT_ANSI_COLORS[7]),n.ansi[8]=g(e.brightBlack,t.DEFAULT_ANSI_COLORS[8]),n.ansi[9]=g(e.brightRed,t.DEFAULT_ANSI_COLORS[9]),n.ansi[10]=g(e.brightGreen,t.DEFAULT_ANSI_COLORS[10]),n.ansi[11]=g(e.brightYellow,t.DEFAULT_ANSI_COLORS[11]),n.ansi[12]=g(e.brightBlue,t.DEFAULT_ANSI_COLORS[12]),n.ansi[13]=g(e.brightMagenta,t.DEFAULT_ANSI_COLORS[13]),n.ansi[14]=g(e.brightCyan,t.DEFAULT_ANSI_COLORS[14]),n.ansi[15]=g(e.brightWhite,t.DEFAULT_ANSI_COLORS[15]),e.extendedAnsi){const r=Math.min(n.ansi.length-16,e.extendedAnsi.length);for(let o=0;o<r;o++)n.ansi[o+16]=g(e.extendedAnsi[o],t.DEFAULT_ANSI_COLORS[o+16])}this._contrastCache.clear(),this._halfContrastCache.clear(),this._updateRestoreColors(),this._onChangeColors.fire(this.colors)}restoreColor(e){this._restoreColor(e),this._onChangeColors.fire(this.colors)}_restoreColor(e){if(void 0!==e)switch(e){case 256:this._colors.foreground=this._restoreColors.foreground;break;case 257:this._colors.background=this._restoreColors.background;break;case 258:this._colors.cursor=this._restoreColors.cursor;break;default:this._colors.ansi[e]=this._restoreColors.ansi[e]}else for(let e=0;e<this._restoreColors.ansi.length;++e)this._colors.ansi[e]=this._restoreColors.ansi[e]}modifyColors(e){e(this._colors),this._onChangeColors.fire(this.colors)}_updateRestoreColors(){this._restoreColors={foreground:this._colors.foreground,background:this._colors.background,cursor:this._colors.cursor,ansi:this._colors.ansi.slice()}}};function g(e,t){if(void 0!==e)try{return a.css.toColor(e)}catch{}return t}t.ThemeService=m=r([o(0,c.IOptionsService)],m)},6349:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CircularList=void 0;const r=n(8460),o=n(844);class i extends o.Disposable{constructor(e){super(),this._maxLength=e,this.onDeleteEmitter=this.register(new r.EventEmitter),this.onDelete=this.onDeleteEmitter.event,this.onInsertEmitter=this.register(new r.EventEmitter),this.onInsert=this.onInsertEmitter.event,this.onTrimEmitter=this.register(new r.EventEmitter),this.onTrim=this.onTrimEmitter.event,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}get maxLength(){return this._maxLength}set maxLength(e){if(this._maxLength===e)return;const t=new Array(e);for(let n=0;n<Math.min(e,this.length);n++)t[n]=this._array[this._getCyclicIndex(n)];this._array=t,this._maxLength=e,this._startIndex=0}get length(){return this._length}set length(e){if(e>this._length)for(let t=this._length;t<e;t++)this._array[t]=void 0;this._length=e}get(e){return this._array[this._getCyclicIndex(e)]}set(e,t){this._array[this._getCyclicIndex(e)]=t}push(e){this._array[this._getCyclicIndex(this._length)]=e,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++}recycle(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]}get isFull(){return this._length===this._maxLength}pop(){return this._array[this._getCyclicIndex(this._length---1)]}splice(e,t,...n){if(t){for(let n=e;n<this._length-t;n++)this._array[this._getCyclicIndex(n)]=this._array[this._getCyclicIndex(n+t)];this._length-=t,this.onDeleteEmitter.fire({index:e,amount:t})}for(let t=this._length-1;t>=e;t--)this._array[this._getCyclicIndex(t+n.length)]=this._array[this._getCyclicIndex(t)];for(let t=0;t<n.length;t++)this._array[this._getCyclicIndex(e+t)]=n[t];if(n.length&&this.onInsertEmitter.fire({index:e,amount:n.length}),this._length+n.length>this._maxLength){const e=this._length+n.length-this._maxLength;this._startIndex+=e,this._length=this._maxLength,this.onTrimEmitter.fire(e)}else this._length+=n.length}trimStart(e){e>this._length&&(e=this._length),this._startIndex+=e,this._length-=e,this.onTrimEmitter.fire(e)}shiftElements(e,t,n){if(!(t<=0)){if(e<0||e>=this._length)throw new Error("start argument out of range");if(e+n<0)throw new Error("Cannot shift elements in list beyond index 0");if(n>0){for(let r=t-1;r>=0;r--)this.set(e+r+n,this.get(e+r));const r=e+t+n-this._length;if(r>0)for(this._length+=r;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(let r=0;r<t;r++)this.set(e+r+n,this.get(e+r))}}_getCyclicIndex(e){return(this._startIndex+e)%this._maxLength}}t.CircularList=i},1439:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clone=void 0,t.clone=function e(t,n=5){if("object"!=typeof t)return t;const r=Array.isArray(t)?[]:{};for(const o in t)r[o]=n<=1?t[o]:t[o]&&e(t[o],n-1);return r}},8055:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.contrastRatio=t.toPaddedHex=t.rgba=t.rgb=t.css=t.color=t.channels=t.NULL_COLOR=void 0;let n=0,r=0,o=0,i=0;var a,s,l,c,u;function d(e){const t=e.toString(16);return t.length<2?"0"+t:t}function f(e,t){return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)}t.NULL_COLOR={css:"#00000000",rgba:0},function(e){e.toCss=function(e,t,n,r){return void 0!==r?`#${d(e)}${d(t)}${d(n)}${d(r)}`:`#${d(e)}${d(t)}${d(n)}`},e.toRgba=function(e,t,n,r=255){return(e<<24|t<<16|n<<8|r)>>>0},e.toColor=function(t,n,r,o){return{css:e.toCss(t,n,r,o),rgba:e.toRgba(t,n,r,o)}}}(a||(t.channels=a={})),function(e){function t(e,t){return i=Math.round(255*t),[n,r,o]=u.toChannels(e.rgba),{css:a.toCss(n,r,o,i),rgba:a.toRgba(n,r,o,i)}}e.blend=function(e,t){if(i=(255&t.rgba)/255,1===i)return{css:t.css,rgba:t.rgba};const s=t.rgba>>24&255,l=t.rgba>>16&255,c=t.rgba>>8&255,u=e.rgba>>24&255,d=e.rgba>>16&255,f=e.rgba>>8&255;return n=u+Math.round((s-u)*i),r=d+Math.round((l-d)*i),o=f+Math.round((c-f)*i),{css:a.toCss(n,r,o),rgba:a.toRgba(n,r,o)}},e.isOpaque=function(e){return!(255&~e.rgba)},e.ensureContrastRatio=function(e,t,n){const r=u.ensureContrastRatio(e.rgba,t.rgba,n);if(r)return a.toColor(r>>24&255,r>>16&255,r>>8&255)},e.opaque=function(e){const t=(255|e.rgba)>>>0;return[n,r,o]=u.toChannels(t),{css:a.toCss(n,r,o),rgba:t}},e.opacity=t,e.multiplyOpacity=function(e,n){return i=255&e.rgba,t(e,i*n/255)},e.toColorRGB=function(e){return[e.rgba>>24&255,e.rgba>>16&255,e.rgba>>8&255]}}(s||(t.color=s={})),function(e){let t,s;try{const e=document.createElement("canvas");e.width=1,e.height=1;const n=e.getContext("2d",{willReadFrequently:!0});n&&(t=n,t.globalCompositeOperation="copy",s=t.createLinearGradient(0,0,1,1))}catch{}e.toColor=function(e){if(e.match(/#[\da-f]{3,8}/i))switch(e.length){case 4:return n=parseInt(e.slice(1,2).repeat(2),16),r=parseInt(e.slice(2,3).repeat(2),16),o=parseInt(e.slice(3,4).repeat(2),16),a.toColor(n,r,o);case 5:return n=parseInt(e.slice(1,2).repeat(2),16),r=parseInt(e.slice(2,3).repeat(2),16),o=parseInt(e.slice(3,4).repeat(2),16),i=parseInt(e.slice(4,5).repeat(2),16),a.toColor(n,r,o,i);case 7:return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0};case 9:return{css:e,rgba:parseInt(e.slice(1),16)>>>0}}const l=e.match(/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(0|1|\d?\.(\d+))\s*)?\)/);if(l)return n=parseInt(l[1]),r=parseInt(l[2]),o=parseInt(l[3]),i=Math.round(255*(void 0===l[5]?1:parseFloat(l[5]))),a.toColor(n,r,o,i);if(!t||!s)throw new Error("css.toColor: Unsupported css format");if(t.fillStyle=s,t.fillStyle=e,"string"!=typeof t.fillStyle)throw new Error("css.toColor: Unsupported css format");if(t.fillRect(0,0,1,1),[n,r,o,i]=t.getImageData(0,0,1,1).data,255!==i)throw new Error("css.toColor: Unsupported css format");return{rgba:a.toRgba(n,r,o,i),css:e}}}(l||(t.css=l={})),function(e){function t(e,t,n){const r=e/255,o=t/255,i=n/255;return.2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.0722*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))}e.relativeLuminance=function(e){return t(e>>16&255,e>>8&255,255&e)},e.relativeLuminance2=t}(c||(t.rgb=c={})),function(e){function t(e,t,n){const r=e>>24&255,o=e>>16&255,i=e>>8&255;let a=t>>24&255,s=t>>16&255,l=t>>8&255,u=f(c.relativeLuminance2(a,s,l),c.relativeLuminance2(r,o,i));for(;u<n&&(a>0||s>0||l>0);)a-=Math.max(0,Math.ceil(.1*a)),s-=Math.max(0,Math.ceil(.1*s)),l-=Math.max(0,Math.ceil(.1*l)),u=f(c.relativeLuminance2(a,s,l),c.relativeLuminance2(r,o,i));return(a<<24|s<<16|l<<8|255)>>>0}function s(e,t,n){const r=e>>24&255,o=e>>16&255,i=e>>8&255;let a=t>>24&255,s=t>>16&255,l=t>>8&255,u=f(c.relativeLuminance2(a,s,l),c.relativeLuminance2(r,o,i));for(;u<n&&(a<255||s<255||l<255);)a=Math.min(255,a+Math.ceil(.1*(255-a))),s=Math.min(255,s+Math.ceil(.1*(255-s))),l=Math.min(255,l+Math.ceil(.1*(255-l))),u=f(c.relativeLuminance2(a,s,l),c.relativeLuminance2(r,o,i));return(a<<24|s<<16|l<<8|255)>>>0}e.blend=function(e,t){if(i=(255&t)/255,1===i)return t;const s=t>>24&255,l=t>>16&255,c=t>>8&255,u=e>>24&255,d=e>>16&255,f=e>>8&255;return n=u+Math.round((s-u)*i),r=d+Math.round((l-d)*i),o=f+Math.round((c-f)*i),a.toRgba(n,r,o)},e.ensureContrastRatio=function(e,n,r){const o=c.relativeLuminance(e>>8),i=c.relativeLuminance(n>>8);if(f(o,i)<r){if(i<o){const i=t(e,n,r),a=f(o,c.relativeLuminance(i>>8));if(a<r){const t=s(e,n,r);return a>f(o,c.relativeLuminance(t>>8))?i:t}return i}const a=s(e,n,r),l=f(o,c.relativeLuminance(a>>8));if(l<r){const i=t(e,n,r);return l>f(o,c.relativeLuminance(i>>8))?a:i}return a}},e.reduceLuminance=t,e.increaseLuminance=s,e.toChannels=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}}(u||(t.rgba=u={})),t.toPaddedHex=d,t.contrastRatio=f},8969:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CoreTerminal=void 0;const r=n(844),o=n(2585),i=n(4348),a=n(7866),s=n(744),l=n(7302),c=n(6975),u=n(8460),d=n(1753),f=n(1480),h=n(7994),p=n(9282),m=n(5435),g=n(5981),A=n(2660);let v=!1;class y extends r.Disposable{get onScroll(){return this._onScrollApi||(this._onScrollApi=this.register(new u.EventEmitter),this._onScroll.event((e=>{this._onScrollApi?.fire(e.position)}))),this._onScrollApi.event}get cols(){return this._bufferService.cols}get rows(){return this._bufferService.rows}get buffers(){return this._bufferService.buffers}get options(){return this.optionsService.options}set options(e){for(const t in e)this.optionsService.options[t]=e[t]}constructor(e){super(),this._windowsWrappingHeuristics=this.register(new r.MutableDisposable),this._onBinary=this.register(new u.EventEmitter),this.onBinary=this._onBinary.event,this._onData=this.register(new u.EventEmitter),this.onData=this._onData.event,this._onLineFeed=this.register(new u.EventEmitter),this.onLineFeed=this._onLineFeed.event,this._onResize=this.register(new u.EventEmitter),this.onResize=this._onResize.event,this._onWriteParsed=this.register(new u.EventEmitter),this.onWriteParsed=this._onWriteParsed.event,this._onScroll=this.register(new u.EventEmitter),this._instantiationService=new i.InstantiationService,this.optionsService=this.register(new l.OptionsService(e)),this._instantiationService.setService(o.IOptionsService,this.optionsService),this._bufferService=this.register(this._instantiationService.createInstance(s.BufferService)),this._instantiationService.setService(o.IBufferService,this._bufferService),this._logService=this.register(this._instantiationService.createInstance(a.LogService)),this._instantiationService.setService(o.ILogService,this._logService),this.coreService=this.register(this._instantiationService.createInstance(c.CoreService)),this._instantiationService.setService(o.ICoreService,this.coreService),this.coreMouseService=this.register(this._instantiationService.createInstance(d.CoreMouseService)),this._instantiationService.setService(o.ICoreMouseService,this.coreMouseService),this.unicodeService=this.register(this._instantiationService.createInstance(f.UnicodeService)),this._instantiationService.setService(o.IUnicodeService,this.unicodeService),this._charsetService=this._instantiationService.createInstance(h.CharsetService),this._instantiationService.setService(o.ICharsetService,this._charsetService),this._oscLinkService=this._instantiationService.createInstance(A.OscLinkService),this._instantiationService.setService(o.IOscLinkService,this._oscLinkService),this._inputHandler=this.register(new m.InputHandler(this._bufferService,this._charsetService,this.coreService,this._logService,this.optionsService,this._oscLinkService,this.coreMouseService,this.unicodeService)),this.register((0,u.forwardEvent)(this._inputHandler.onLineFeed,this._onLineFeed)),this.register(this._inputHandler),this.register((0,u.forwardEvent)(this._bufferService.onResize,this._onResize)),this.register((0,u.forwardEvent)(this.coreService.onData,this._onData)),this.register((0,u.forwardEvent)(this.coreService.onBinary,this._onBinary)),this.register(this.coreService.onRequestScrollToBottom((()=>this.scrollToBottom()))),this.register(this.coreService.onUserInput((()=>this._writeBuffer.handleUserInput()))),this.register(this.optionsService.onMultipleOptionChange(["windowsMode","windowsPty"],(()=>this._handleWindowsPtyOptionChange()))),this.register(this._bufferService.onScroll((e=>{this._onScroll.fire({position:this._bufferService.buffer.ydisp,source:0}),this._inputHandler.markRangeDirty(this._bufferService.buffer.scrollTop,this._bufferService.buffer.scrollBottom)}))),this.register(this._inputHandler.onScroll((e=>{this._onScroll.fire({position:this._bufferService.buffer.ydisp,source:0}),this._inputHandler.markRangeDirty(this._bufferService.buffer.scrollTop,this._bufferService.buffer.scrollBottom)}))),this._writeBuffer=this.register(new g.WriteBuffer(((e,t)=>this._inputHandler.parse(e,t)))),this.register((0,u.forwardEvent)(this._writeBuffer.onWriteParsed,this._onWriteParsed))}write(e,t){this._writeBuffer.write(e,t)}writeSync(e,t){this._logService.logLevel<=o.LogLevelEnum.WARN&&!v&&(this._logService.warn("writeSync is unreliable and will be removed soon."),v=!0),this._writeBuffer.writeSync(e,t)}input(e,t=!0){this.coreService.triggerDataEvent(e,t)}resize(e,t){isNaN(e)||isNaN(t)||(e=Math.max(e,s.MINIMUM_COLS),t=Math.max(t,s.MINIMUM_ROWS),this._bufferService.resize(e,t))}scroll(e,t=!1){this._bufferService.scroll(e,t)}scrollLines(e,t,n){this._bufferService.scrollLines(e,t,n)}scrollPages(e){this.scrollLines(e*(this.rows-1))}scrollToTop(){this.scrollLines(-this._bufferService.buffer.ydisp)}scrollToBottom(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)}scrollToLine(e){const t=e-this._bufferService.buffer.ydisp;0!==t&&this.scrollLines(t)}registerEscHandler(e,t){return this._inputHandler.registerEscHandler(e,t)}registerDcsHandler(e,t){return this._inputHandler.registerDcsHandler(e,t)}registerCsiHandler(e,t){return this._inputHandler.registerCsiHandler(e,t)}registerOscHandler(e,t){return this._inputHandler.registerOscHandler(e,t)}_setup(){this._handleWindowsPtyOptionChange()}reset(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this.coreService.reset(),this.coreMouseService.reset()}_handleWindowsPtyOptionChange(){let e=!1;const t=this.optionsService.rawOptions.windowsPty;t&&void 0!==t.buildNumber&&void 0!==t.buildNumber?e=!!("conpty"===t.backend&&t.buildNumber<21376):this.optionsService.rawOptions.windowsMode&&(e=!0),e?this._enableWindowsWrappingHeuristics():this._windowsWrappingHeuristics.clear()}_enableWindowsWrappingHeuristics(){if(!this._windowsWrappingHeuristics.value){const e=[];e.push(this.onLineFeed(p.updateWindowsModeWrappedState.bind(null,this._bufferService))),e.push(this.registerCsiHandler({final:"H"},(()=>((0,p.updateWindowsModeWrappedState)(this._bufferService),!1)))),this._windowsWrappingHeuristics.value=(0,r.toDisposable)((()=>{for(const t of e)t.dispose()}))}}}t.CoreTerminal=y},8460:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.runAndSubscribe=t.forwardEvent=t.EventEmitter=void 0,t.EventEmitter=class{constructor(){this._listeners=[],this._disposed=!1}get event(){return this._event||(this._event=e=>(this._listeners.push(e),{dispose:()=>{if(!this._disposed)for(let t=0;t<this._listeners.length;t++)if(this._listeners[t]===e)return void this._listeners.splice(t,1)}})),this._event}fire(e,t){const n=[];for(let e=0;e<this._listeners.length;e++)n.push(this._listeners[e]);for(let r=0;r<n.length;r++)n[r].call(void 0,e,t)}dispose(){this.clearListeners(),this._disposed=!0}clearListeners(){this._listeners&&(this._listeners.length=0)}},t.forwardEvent=function(e,t){return e((e=>t.fire(e)))},t.runAndSubscribe=function(e,t){return t(void 0),e((e=>t(e)))}},5435:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.InputHandler=t.WindowsOptionsReportType=void 0;const i=n(2584),a=n(7116),s=n(2015),l=n(844),c=n(482),u=n(8437),d=n(8460),f=n(643),h=n(511),p=n(3734),m=n(2585),g=n(1480),A=n(6242),v=n(6351),y=n(5941),O={"(":0,")":1,"*":2,"+":3,"-":1,".":2},b=131072;function w(e,t){if(e>24)return t.setWinLines||!1;switch(e){case 1:return!!t.restoreWin;case 2:return!!t.minimizeWin;case 3:return!!t.setWinPosition;case 4:return!!t.setWinSizePixels;case 5:return!!t.raiseWin;case 6:return!!t.lowerWin;case 7:return!!t.refreshWin;case 8:return!!t.setWinSizeChars;case 9:return!!t.maximizeWin;case 10:return!!t.fullscreenWin;case 11:return!!t.getWinState;case 13:return!!t.getWinPosition;case 14:return!!t.getWinSizePixels;case 15:return!!t.getScreenSizePixels;case 16:return!!t.getCellSizePixels;case 18:return!!t.getWinSizeChars;case 19:return!!t.getScreenSizeChars;case 20:return!!t.getIconTitle;case 21:return!!t.getWinTitle;case 22:return!!t.pushTitle;case 23:return!!t.popTitle;case 24:return!!t.setWinLines}return!1}var _;!function(e){e[e.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",e[e.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(_||(t.WindowsOptionsReportType=_={}));let x=0;class S extends l.Disposable{getAttrData(){return this._curAttrData}constructor(e,t,n,r,o,l,f,p,m=new s.EscapeSequenceParser){super(),this._bufferService=e,this._charsetService=t,this._coreService=n,this._logService=r,this._optionsService=o,this._oscLinkService=l,this._coreMouseService=f,this._unicodeService=p,this._parser=m,this._parseBuffer=new Uint32Array(4096),this._stringDecoder=new c.StringToUtf32,this._utf8Decoder=new c.Utf8ToUtf32,this._workCell=new h.CellData,this._windowTitle="",this._iconName="",this._windowTitleStack=[],this._iconNameStack=[],this._curAttrData=u.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=u.DEFAULT_ATTR_DATA.clone(),this._onRequestBell=this.register(new d.EventEmitter),this.onRequestBell=this._onRequestBell.event,this._onRequestRefreshRows=this.register(new d.EventEmitter),this.onRequestRefreshRows=this._onRequestRefreshRows.event,this._onRequestReset=this.register(new d.EventEmitter),this.onRequestReset=this._onRequestReset.event,this._onRequestSendFocus=this.register(new d.EventEmitter),this.onRequestSendFocus=this._onRequestSendFocus.event,this._onRequestSyncScrollBar=this.register(new d.EventEmitter),this.onRequestSyncScrollBar=this._onRequestSyncScrollBar.event,this._onRequestWindowsOptionsReport=this.register(new d.EventEmitter),this.onRequestWindowsOptionsReport=this._onRequestWindowsOptionsReport.event,this._onA11yChar=this.register(new d.EventEmitter),this.onA11yChar=this._onA11yChar.event,this._onA11yTab=this.register(new d.EventEmitter),this.onA11yTab=this._onA11yTab.event,this._onCursorMove=this.register(new d.EventEmitter),this.onCursorMove=this._onCursorMove.event,this._onLineFeed=this.register(new d.EventEmitter),this.onLineFeed=this._onLineFeed.event,this._onScroll=this.register(new d.EventEmitter),this.onScroll=this._onScroll.event,this._onTitleChange=this.register(new d.EventEmitter),this.onTitleChange=this._onTitleChange.event,this._onColor=this.register(new d.EventEmitter),this.onColor=this._onColor.event,this._parseStack={paused:!1,cursorStartX:0,cursorStartY:0,decodedLength:0,position:0},this._specialColors=[256,257,258],this.register(this._parser),this._dirtyRowTracker=new k(this._bufferService),this._activeBuffer=this._bufferService.buffer,this.register(this._bufferService.buffers.onBufferActivate((e=>this._activeBuffer=e.activeBuffer))),this._parser.setCsiHandlerFallback(((e,t)=>{this._logService.debug("Unknown CSI code: ",{identifier:this._parser.identToString(e),params:t.toArray()})})),this._parser.setEscHandlerFallback((e=>{this._logService.debug("Unknown ESC code: ",{identifier:this._parser.identToString(e)})})),this._parser.setExecuteHandlerFallback((e=>{this._logService.debug("Unknown EXECUTE code: ",{code:e})})),this._parser.setOscHandlerFallback(((e,t,n)=>{this._logService.debug("Unknown OSC code: ",{identifier:e,action:t,data:n})})),this._parser.setDcsHandlerFallback(((e,t,n)=>{"HOOK"===t&&(n=n.toArray()),this._logService.debug("Unknown DCS code: ",{identifier:this._parser.identToString(e),action:t,payload:n})})),this._parser.setPrintHandler(((e,t,n)=>this.print(e,t,n))),this._parser.registerCsiHandler({final:"@"},(e=>this.insertChars(e))),this._parser.registerCsiHandler({intermediates:" ",final:"@"},(e=>this.scrollLeft(e))),this._parser.registerCsiHandler({final:"A"},(e=>this.cursorUp(e))),this._parser.registerCsiHandler({intermediates:" ",final:"A"},(e=>this.scrollRight(e))),this._parser.registerCsiHandler({final:"B"},(e=>this.cursorDown(e))),this._parser.registerCsiHandler({final:"C"},(e=>this.cursorForward(e))),this._parser.registerCsiHandler({final:"D"},(e=>this.cursorBackward(e))),this._parser.registerCsiHandler({final:"E"},(e=>this.cursorNextLine(e))),this._parser.registerCsiHandler({final:"F"},(e=>this.cursorPrecedingLine(e))),this._parser.registerCsiHandler({final:"G"},(e=>this.cursorCharAbsolute(e))),this._parser.registerCsiHandler({final:"H"},(e=>this.cursorPosition(e))),this._parser.registerCsiHandler({final:"I"},(e=>this.cursorForwardTab(e))),this._parser.registerCsiHandler({final:"J"},(e=>this.eraseInDisplay(e,!1))),this._parser.registerCsiHandler({prefix:"?",final:"J"},(e=>this.eraseInDisplay(e,!0))),this._parser.registerCsiHandler({final:"K"},(e=>this.eraseInLine(e,!1))),this._parser.registerCsiHandler({prefix:"?",final:"K"},(e=>this.eraseInLine(e,!0))),this._parser.registerCsiHandler({final:"L"},(e=>this.insertLines(e))),this._parser.registerCsiHandler({final:"M"},(e=>this.deleteLines(e))),this._parser.registerCsiHandler({final:"P"},(e=>this.deleteChars(e))),this._parser.registerCsiHandler({final:"S"},(e=>this.scrollUp(e))),this._parser.registerCsiHandler({final:"T"},(e=>this.scrollDown(e))),this._parser.registerCsiHandler({final:"X"},(e=>this.eraseChars(e))),this._parser.registerCsiHandler({final:"Z"},(e=>this.cursorBackwardTab(e))),this._parser.registerCsiHandler({final:"`"},(e=>this.charPosAbsolute(e))),this._parser.registerCsiHandler({final:"a"},(e=>this.hPositionRelative(e))),this._parser.registerCsiHandler({final:"b"},(e=>this.repeatPrecedingCharacter(e))),this._parser.registerCsiHandler({final:"c"},(e=>this.sendDeviceAttributesPrimary(e))),this._parser.registerCsiHandler({prefix:">",final:"c"},(e=>this.sendDeviceAttributesSecondary(e))),this._parser.registerCsiHandler({final:"d"},(e=>this.linePosAbsolute(e))),this._parser.registerCsiHandler({final:"e"},(e=>this.vPositionRelative(e))),this._parser.registerCsiHandler({final:"f"},(e=>this.hVPosition(e))),this._parser.registerCsiHandler({final:"g"},(e=>this.tabClear(e))),this._parser.registerCsiHandler({final:"h"},(e=>this.setMode(e))),this._parser.registerCsiHandler({prefix:"?",final:"h"},(e=>this.setModePrivate(e))),this._parser.registerCsiHandler({final:"l"},(e=>this.resetMode(e))),this._parser.registerCsiHandler({prefix:"?",final:"l"},(e=>this.resetModePrivate(e))),this._parser.registerCsiHandler({final:"m"},(e=>this.charAttributes(e))),this._parser.registerCsiHandler({final:"n"},(e=>this.deviceStatus(e))),this._parser.registerCsiHandler({prefix:"?",final:"n"},(e=>this.deviceStatusPrivate(e))),this._parser.registerCsiHandler({intermediates:"!",final:"p"},(e=>this.softReset(e))),this._parser.registerCsiHandler({intermediates:" ",final:"q"},(e=>this.setCursorStyle(e))),this._parser.registerCsiHandler({final:"r"},(e=>this.setScrollRegion(e))),this._parser.registerCsiHandler({final:"s"},(e=>this.saveCursor(e))),this._parser.registerCsiHandler({final:"t"},(e=>this.windowOptions(e))),this._parser.registerCsiHandler({final:"u"},(e=>this.restoreCursor(e))),this._parser.registerCsiHandler({intermediates:"'",final:"}"},(e=>this.insertColumns(e))),this._parser.registerCsiHandler({intermediates:"'",final:"~"},(e=>this.deleteColumns(e))),this._parser.registerCsiHandler({intermediates:'"',final:"q"},(e=>this.selectProtected(e))),this._parser.registerCsiHandler({intermediates:"$",final:"p"},(e=>this.requestMode(e,!0))),this._parser.registerCsiHandler({prefix:"?",intermediates:"$",final:"p"},(e=>this.requestMode(e,!1))),this._parser.setExecuteHandler(i.C0.BEL,(()=>this.bell())),this._parser.setExecuteHandler(i.C0.LF,(()=>this.lineFeed())),this._parser.setExecuteHandler(i.C0.VT,(()=>this.lineFeed())),this._parser.setExecuteHandler(i.C0.FF,(()=>this.lineFeed())),this._parser.setExecuteHandler(i.C0.CR,(()=>this.carriageReturn())),this._parser.setExecuteHandler(i.C0.BS,(()=>this.backspace())),this._parser.setExecuteHandler(i.C0.HT,(()=>this.tab())),this._parser.setExecuteHandler(i.C0.SO,(()=>this.shiftOut())),this._parser.setExecuteHandler(i.C0.SI,(()=>this.shiftIn())),this._parser.setExecuteHandler(i.C1.IND,(()=>this.index())),this._parser.setExecuteHandler(i.C1.NEL,(()=>this.nextLine())),this._parser.setExecuteHandler(i.C1.HTS,(()=>this.tabSet())),this._parser.registerOscHandler(0,new A.OscHandler((e=>(this.setTitle(e),this.setIconName(e),!0)))),this._parser.registerOscHandler(1,new A.OscHandler((e=>this.setIconName(e)))),this._parser.registerOscHandler(2,new A.OscHandler((e=>this.setTitle(e)))),this._parser.registerOscHandler(4,new A.OscHandler((e=>this.setOrReportIndexedColor(e)))),this._parser.registerOscHandler(8,new A.OscHandler((e=>this.setHyperlink(e)))),this._parser.registerOscHandler(10,new A.OscHandler((e=>this.setOrReportFgColor(e)))),this._parser.registerOscHandler(11,new A.OscHandler((e=>this.setOrReportBgColor(e)))),this._parser.registerOscHandler(12,new A.OscHandler((e=>this.setOrReportCursorColor(e)))),this._parser.registerOscHandler(104,new A.OscHandler((e=>this.restoreIndexedColor(e)))),this._parser.registerOscHandler(110,new A.OscHandler((e=>this.restoreFgColor(e)))),this._parser.registerOscHandler(111,new A.OscHandler((e=>this.restoreBgColor(e)))),this._parser.registerOscHandler(112,new A.OscHandler((e=>this.restoreCursorColor(e)))),this._parser.registerEscHandler({final:"7"},(()=>this.saveCursor())),this._parser.registerEscHandler({final:"8"},(()=>this.restoreCursor())),this._parser.registerEscHandler({final:"D"},(()=>this.index())),this._parser.registerEscHandler({final:"E"},(()=>this.nextLine())),this._parser.registerEscHandler({final:"H"},(()=>this.tabSet())),this._parser.registerEscHandler({final:"M"},(()=>this.reverseIndex())),this._parser.registerEscHandler({final:"="},(()=>this.keypadApplicationMode())),this._parser.registerEscHandler({final:">"},(()=>this.keypadNumericMode())),this._parser.registerEscHandler({final:"c"},(()=>this.fullReset())),this._parser.registerEscHandler({final:"n"},(()=>this.setgLevel(2))),this._parser.registerEscHandler({final:"o"},(()=>this.setgLevel(3))),this._parser.registerEscHandler({final:"|"},(()=>this.setgLevel(3))),this._parser.registerEscHandler({final:"}"},(()=>this.setgLevel(2))),this._parser.registerEscHandler({final:"~"},(()=>this.setgLevel(1))),this._parser.registerEscHandler({intermediates:"%",final:"@"},(()=>this.selectDefaultCharset())),this._parser.registerEscHandler({intermediates:"%",final:"G"},(()=>this.selectDefaultCharset()));for(const e in a.CHARSETS)this._parser.registerEscHandler({intermediates:"(",final:e},(()=>this.selectCharset("("+e))),this._parser.registerEscHandler({intermediates:")",final:e},(()=>this.selectCharset(")"+e))),this._parser.registerEscHandler({intermediates:"*",final:e},(()=>this.selectCharset("*"+e))),this._parser.registerEscHandler({intermediates:"+",final:e},(()=>this.selectCharset("+"+e))),this._parser.registerEscHandler({intermediates:"-",final:e},(()=>this.selectCharset("-"+e))),this._parser.registerEscHandler({intermediates:".",final:e},(()=>this.selectCharset("."+e))),this._parser.registerEscHandler({intermediates:"/",final:e},(()=>this.selectCharset("/"+e)));this._parser.registerEscHandler({intermediates:"#",final:"8"},(()=>this.screenAlignmentPattern())),this._parser.setErrorHandler((e=>(this._logService.error("Parsing error: ",e),e))),this._parser.registerDcsHandler({intermediates:"$",final:"q"},new v.DcsHandler(((e,t)=>this.requestStatusString(e,t))))}_preserveStack(e,t,n,r){this._parseStack.paused=!0,this._parseStack.cursorStartX=e,this._parseStack.cursorStartY=t,this._parseStack.decodedLength=n,this._parseStack.position=r}_logSlowResolvingAsync(e){this._logService.logLevel<=m.LogLevelEnum.WARN&&Promise.race([e,new Promise(((e,t)=>setTimeout((()=>t("#SLOW_TIMEOUT")),5e3)))]).catch((e=>{if("#SLOW_TIMEOUT"!==e)throw e;console.warn("async parser handler taking longer than 5000 ms")}))}_getCurrentLinkId(){return this._curAttrData.extended.urlId}parse(e,t){let n,r=this._activeBuffer.x,o=this._activeBuffer.y,i=0;const a=this._parseStack.paused;if(a){if(n=this._parser.parse(this._parseBuffer,this._parseStack.decodedLength,t))return this._logSlowResolvingAsync(n),n;r=this._parseStack.cursorStartX,o=this._parseStack.cursorStartY,this._parseStack.paused=!1,e.length>b&&(i=this._parseStack.position+b)}if(this._logService.logLevel<=m.LogLevelEnum.DEBUG&&this._logService.debug("parsing data"+("string"==typeof e?` "${e}"`:` "${Array.prototype.map.call(e,(e=>String.fromCharCode(e))).join("")}"`),"string"==typeof e?e.split("").map((e=>e.charCodeAt(0))):e),this._parseBuffer.length<e.length&&this._parseBuffer.length<b&&(this._parseBuffer=new Uint32Array(Math.min(e.length,b))),a||this._dirtyRowTracker.clearRange(),e.length>b)for(let t=i;t<e.length;t+=b){const i=t+b<e.length?t+b:e.length,a="string"==typeof e?this._stringDecoder.decode(e.substring(t,i),this._parseBuffer):this._utf8Decoder.decode(e.subarray(t,i),this._parseBuffer);if(n=this._parser.parse(this._parseBuffer,a))return this._preserveStack(r,o,a,t),this._logSlowResolvingAsync(n),n}else if(!a){const t="string"==typeof e?this._stringDecoder.decode(e,this._parseBuffer):this._utf8Decoder.decode(e,this._parseBuffer);if(n=this._parser.parse(this._parseBuffer,t))return this._preserveStack(r,o,t,0),this._logSlowResolvingAsync(n),n}this._activeBuffer.x===r&&this._activeBuffer.y===o||this._onCursorMove.fire();const s=this._dirtyRowTracker.end+(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp),l=this._dirtyRowTracker.start+(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp);l<this._bufferService.rows&&this._onRequestRefreshRows.fire(Math.min(l,this._bufferService.rows-1),Math.min(s,this._bufferService.rows-1))}print(e,t,n){let r,o;const i=this._charsetService.charset,a=this._optionsService.rawOptions.screenReaderMode,s=this._bufferService.cols,l=this._coreService.decPrivateModes.wraparound,d=this._coreService.modes.insertMode,h=this._curAttrData;let p=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);this._dirtyRowTracker.markDirty(this._activeBuffer.y),this._activeBuffer.x&&n-t>0&&2===p.getWidth(this._activeBuffer.x-1)&&p.setCellFromCodepoint(this._activeBuffer.x-1,0,1,h);let m=this._parser.precedingJoinState;for(let A=t;A<n;++A){if(r=e[A],r<127&&i){const e=i[String.fromCharCode(r)];e&&(r=e.charCodeAt(0))}const t=this._unicodeService.charProperties(r,m);o=g.UnicodeService.extractWidth(t);const n=g.UnicodeService.extractShouldJoin(t),v=n?g.UnicodeService.extractWidth(m):0;if(m=t,a&&this._onA11yChar.fire((0,c.stringFromCodePoint)(r)),this._getCurrentLinkId()&&this._oscLinkService.addLineToLink(this._getCurrentLinkId(),this._activeBuffer.ybase+this._activeBuffer.y),this._activeBuffer.x+o-v>s)if(l){const e=p;let t=this._activeBuffer.x-v;for(this._activeBuffer.x=v,this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData(),!0)):(this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!0),p=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y),v>0&&p instanceof u.BufferLine&&p.copyCellsFrom(e,t,0,v,!1);t<s;)e.setCellFromCodepoint(t++,0,1,h)}else if(this._activeBuffer.x=s-1,2===o)continue;if(n&&this._activeBuffer.x){const e=p.getWidth(this._activeBuffer.x-1)?1:2;p.addCodepointToCell(this._activeBuffer.x-e,r,o);for(let e=o-v;--e>=0;)p.setCellFromCodepoint(this._activeBuffer.x++,0,0,h)}else if(d&&(p.insertCells(this._activeBuffer.x,o-v,this._activeBuffer.getNullCell(h)),2===p.getWidth(s-1)&&p.setCellFromCodepoint(s-1,f.NULL_CELL_CODE,f.NULL_CELL_WIDTH,h)),p.setCellFromCodepoint(this._activeBuffer.x++,r,o,h),o>0)for(;--o;)p.setCellFromCodepoint(this._activeBuffer.x++,0,0,h)}this._parser.precedingJoinState=m,this._activeBuffer.x<s&&n-t>0&&0===p.getWidth(this._activeBuffer.x)&&!p.hasContent(this._activeBuffer.x)&&p.setCellFromCodepoint(this._activeBuffer.x,0,1,h),this._dirtyRowTracker.markDirty(this._activeBuffer.y)}registerCsiHandler(e,t){return"t"!==e.final||e.prefix||e.intermediates?this._parser.registerCsiHandler(e,t):this._parser.registerCsiHandler(e,(e=>!w(e.params[0],this._optionsService.rawOptions.windowOptions)||t(e)))}registerDcsHandler(e,t){return this._parser.registerDcsHandler(e,new v.DcsHandler(t))}registerEscHandler(e,t){return this._parser.registerEscHandler(e,t)}registerOscHandler(e,t){return this._parser.registerOscHandler(e,new A.OscHandler(t))}bell(){return this._onRequestBell.fire(),!0}lineFeed(){return this._dirtyRowTracker.markDirty(this._activeBuffer.y),this._optionsService.rawOptions.convertEol&&(this._activeBuffer.x=0),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows?this._activeBuffer.y=this._bufferService.rows-1:this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!1,this._activeBuffer.x>=this._bufferService.cols&&this._activeBuffer.x--,this._dirtyRowTracker.markDirty(this._activeBuffer.y),this._onLineFeed.fire(),!0}carriageReturn(){return this._activeBuffer.x=0,!0}backspace(){if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),this._activeBuffer.x>0&&this._activeBuffer.x--,!0;if(this._restrictCursor(this._bufferService.cols),this._activeBuffer.x>0)this._activeBuffer.x--;else if(0===this._activeBuffer.x&&this._activeBuffer.y>this._activeBuffer.scrollTop&&this._activeBuffer.y<=this._activeBuffer.scrollBottom&&this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y)?.isWrapped){this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!1,this._activeBuffer.y--,this._activeBuffer.x=this._bufferService.cols-1;const e=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);e.hasWidth(this._activeBuffer.x)&&!e.hasContent(this._activeBuffer.x)&&this._activeBuffer.x--}return this._restrictCursor(),!0}tab(){if(this._activeBuffer.x>=this._bufferService.cols)return!0;const e=this._activeBuffer.x;return this._activeBuffer.x=this._activeBuffer.nextStop(),this._optionsService.rawOptions.screenReaderMode&&this._onA11yTab.fire(this._activeBuffer.x-e),!0}shiftOut(){return this._charsetService.setgLevel(1),!0}shiftIn(){return this._charsetService.setgLevel(0),!0}_restrictCursor(e=this._bufferService.cols-1){this._activeBuffer.x=Math.min(e,Math.max(0,this._activeBuffer.x)),this._activeBuffer.y=this._coreService.decPrivateModes.origin?Math.min(this._activeBuffer.scrollBottom,Math.max(this._activeBuffer.scrollTop,this._activeBuffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._activeBuffer.y)),this._dirtyRowTracker.markDirty(this._activeBuffer.y)}_setCursor(e,t){this._dirtyRowTracker.markDirty(this._activeBuffer.y),this._coreService.decPrivateModes.origin?(this._activeBuffer.x=e,this._activeBuffer.y=this._activeBuffer.scrollTop+t):(this._activeBuffer.x=e,this._activeBuffer.y=t),this._restrictCursor(),this._dirtyRowTracker.markDirty(this._activeBuffer.y)}_moveCursor(e,t){this._restrictCursor(),this._setCursor(this._activeBuffer.x+e,this._activeBuffer.y+t)}cursorUp(e){const t=this._activeBuffer.y-this._activeBuffer.scrollTop;return t>=0?this._moveCursor(0,-Math.min(t,e.params[0]||1)):this._moveCursor(0,-(e.params[0]||1)),!0}cursorDown(e){const t=this._activeBuffer.scrollBottom-this._activeBuffer.y;return t>=0?this._moveCursor(0,Math.min(t,e.params[0]||1)):this._moveCursor(0,e.params[0]||1),!0}cursorForward(e){return this._moveCursor(e.params[0]||1,0),!0}cursorBackward(e){return this._moveCursor(-(e.params[0]||1),0),!0}cursorNextLine(e){return this.cursorDown(e),this._activeBuffer.x=0,!0}cursorPrecedingLine(e){return this.cursorUp(e),this._activeBuffer.x=0,!0}cursorCharAbsolute(e){return this._setCursor((e.params[0]||1)-1,this._activeBuffer.y),!0}cursorPosition(e){return this._setCursor(e.length>=2?(e.params[1]||1)-1:0,(e.params[0]||1)-1),!0}charPosAbsolute(e){return this._setCursor((e.params[0]||1)-1,this._activeBuffer.y),!0}hPositionRelative(e){return this._moveCursor(e.params[0]||1,0),!0}linePosAbsolute(e){return this._setCursor(this._activeBuffer.x,(e.params[0]||1)-1),!0}vPositionRelative(e){return this._moveCursor(0,e.params[0]||1),!0}hVPosition(e){return this.cursorPosition(e),!0}tabClear(e){const t=e.params[0];return 0===t?delete this._activeBuffer.tabs[this._activeBuffer.x]:3===t&&(this._activeBuffer.tabs={}),!0}cursorForwardTab(e){if(this._activeBuffer.x>=this._bufferService.cols)return!0;let t=e.params[0]||1;for(;t--;)this._activeBuffer.x=this._activeBuffer.nextStop();return!0}cursorBackwardTab(e){if(this._activeBuffer.x>=this._bufferService.cols)return!0;let t=e.params[0]||1;for(;t--;)this._activeBuffer.x=this._activeBuffer.prevStop();return!0}selectProtected(e){const t=e.params[0];return 1===t&&(this._curAttrData.bg|=536870912),2!==t&&0!==t||(this._curAttrData.bg&=-536870913),!0}_eraseInBufferLine(e,t,n,r=!1,o=!1){const i=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);i.replaceCells(t,n,this._activeBuffer.getNullCell(this._eraseAttrData()),o),r&&(i.isWrapped=!1)}_resetBufferLine(e,t=!1){const n=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);n&&(n.fill(this._activeBuffer.getNullCell(this._eraseAttrData()),t),this._bufferService.buffer.clearMarkers(this._activeBuffer.ybase+e),n.isWrapped=!1)}eraseInDisplay(e,t=!1){let n;switch(this._restrictCursor(this._bufferService.cols),e.params[0]){case 0:for(n=this._activeBuffer.y,this._dirtyRowTracker.markDirty(n),this._eraseInBufferLine(n++,this._activeBuffer.x,this._bufferService.cols,0===this._activeBuffer.x,t);n<this._bufferService.rows;n++)this._resetBufferLine(n,t);this._dirtyRowTracker.markDirty(n);break;case 1:for(n=this._activeBuffer.y,this._dirtyRowTracker.markDirty(n),this._eraseInBufferLine(n,0,this._activeBuffer.x+1,!0,t),this._activeBuffer.x+1>=this._bufferService.cols&&(this._activeBuffer.lines.get(n+1).isWrapped=!1);n--;)this._resetBufferLine(n,t);this._dirtyRowTracker.markDirty(0);break;case 2:for(n=this._bufferService.rows,this._dirtyRowTracker.markDirty(n-1);n--;)this._resetBufferLine(n,t);this._dirtyRowTracker.markDirty(0);break;case 3:const e=this._activeBuffer.lines.length-this._bufferService.rows;e>0&&(this._activeBuffer.lines.trimStart(e),this._activeBuffer.ybase=Math.max(this._activeBuffer.ybase-e,0),this._activeBuffer.ydisp=Math.max(this._activeBuffer.ydisp-e,0),this._onScroll.fire(0))}return!0}eraseInLine(e,t=!1){switch(this._restrictCursor(this._bufferService.cols),e.params[0]){case 0:this._eraseInBufferLine(this._activeBuffer.y,this._activeBuffer.x,this._bufferService.cols,0===this._activeBuffer.x,t);break;case 1:this._eraseInBufferLine(this._activeBuffer.y,0,this._activeBuffer.x+1,!1,t);break;case 2:this._eraseInBufferLine(this._activeBuffer.y,0,this._bufferService.cols,!0,t)}return this._dirtyRowTracker.markDirty(this._activeBuffer.y),!0}insertLines(e){this._restrictCursor();let t=e.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;const n=this._activeBuffer.ybase+this._activeBuffer.y,r=this._bufferService.rows-1-this._activeBuffer.scrollBottom,o=this._bufferService.rows-1+this._activeBuffer.ybase-r+1;for(;t--;)this._activeBuffer.lines.splice(o-1,1),this._activeBuffer.lines.splice(n,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.y,this._activeBuffer.scrollBottom),this._activeBuffer.x=0,!0}deleteLines(e){this._restrictCursor();let t=e.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;const n=this._activeBuffer.ybase+this._activeBuffer.y;let r;for(r=this._bufferService.rows-1-this._activeBuffer.scrollBottom,r=this._bufferService.rows-1+this._activeBuffer.ybase-r;t--;)this._activeBuffer.lines.splice(n,1),this._activeBuffer.lines.splice(r,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.y,this._activeBuffer.scrollBottom),this._activeBuffer.x=0,!0}insertChars(e){this._restrictCursor();const t=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return t&&(t.insertCells(this._activeBuffer.x,e.params[0]||1,this._activeBuffer.getNullCell(this._eraseAttrData())),this._dirtyRowTracker.markDirty(this._activeBuffer.y)),!0}deleteChars(e){this._restrictCursor();const t=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return t&&(t.deleteCells(this._activeBuffer.x,e.params[0]||1,this._activeBuffer.getNullCell(this._eraseAttrData())),this._dirtyRowTracker.markDirty(this._activeBuffer.y)),!0}scrollUp(e){let t=e.params[0]||1;for(;t--;)this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollTop,1),this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollBottom,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}scrollDown(e){let t=e.params[0]||1;for(;t--;)this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollBottom,1),this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollTop,0,this._activeBuffer.getBlankLine(u.DEFAULT_ATTR_DATA));return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}scrollLeft(e){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;const t=e.params[0]||1;for(let e=this._activeBuffer.scrollTop;e<=this._activeBuffer.scrollBottom;++e){const n=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);n.deleteCells(0,t,this._activeBuffer.getNullCell(this._eraseAttrData())),n.isWrapped=!1}return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}scrollRight(e){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;const t=e.params[0]||1;for(let e=this._activeBuffer.scrollTop;e<=this._activeBuffer.scrollBottom;++e){const n=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);n.insertCells(0,t,this._activeBuffer.getNullCell(this._eraseAttrData())),n.isWrapped=!1}return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}insertColumns(e){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;const t=e.params[0]||1;for(let e=this._activeBuffer.scrollTop;e<=this._activeBuffer.scrollBottom;++e){const n=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);n.insertCells(this._activeBuffer.x,t,this._activeBuffer.getNullCell(this._eraseAttrData())),n.isWrapped=!1}return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}deleteColumns(e){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;const t=e.params[0]||1;for(let e=this._activeBuffer.scrollTop;e<=this._activeBuffer.scrollBottom;++e){const n=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);n.deleteCells(this._activeBuffer.x,t,this._activeBuffer.getNullCell(this._eraseAttrData())),n.isWrapped=!1}return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0}eraseChars(e){this._restrictCursor();const t=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return t&&(t.replaceCells(this._activeBuffer.x,this._activeBuffer.x+(e.params[0]||1),this._activeBuffer.getNullCell(this._eraseAttrData())),this._dirtyRowTracker.markDirty(this._activeBuffer.y)),!0}repeatPrecedingCharacter(e){const t=this._parser.precedingJoinState;if(!t)return!0;const n=e.params[0]||1,r=g.UnicodeService.extractWidth(t),o=this._activeBuffer.x-r,i=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).getString(o),a=new Uint32Array(i.length*n);let s=0;for(let e=0;e<i.length;){const t=i.codePointAt(e)||0;a[s++]=t,e+=t>65535?2:1}let l=s;for(let e=1;e<n;++e)a.copyWithin(l,0,s),l+=s;return this.print(a,0,l),!0}sendDeviceAttributesPrimary(e){return e.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(i.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(i.C0.ESC+"[?6c")),!0}sendDeviceAttributesSecondary(e){return e.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(i.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(i.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(e.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(i.C0.ESC+"[>83;40003;0c")),!0}_is(e){return 0===(this._optionsService.rawOptions.termName+"").indexOf(e)}setMode(e){for(let t=0;t<e.length;t++)switch(e.params[t]){case 4:this._coreService.modes.insertMode=!0;break;case 20:this._optionsService.options.convertEol=!0}return!0}setModePrivate(e){for(let t=0;t<e.length;t++)switch(e.params[t]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,a.DEFAULT_CHARSET),this._charsetService.setgCharset(1,a.DEFAULT_CHARSET),this._charsetService.setgCharset(2,a.DEFAULT_CHARSET),this._charsetService.setgCharset(3,a.DEFAULT_CHARSET);break;case 3:this._optionsService.rawOptions.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:this._optionsService.options.cursorBlink=!0;break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0,this._onRequestSendFocus.fire();break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 1016:this._coreMouseService.activeEncoding="SGR_PIXELS";break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}return!0}resetMode(e){for(let t=0;t<e.length;t++)switch(e.params[t]){case 4:this._coreService.modes.insertMode=!1;break;case 20:this._optionsService.options.convertEol=!1}return!0}resetModePrivate(e){for(let t=0;t<e.length;t++)switch(e.params[t]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.rawOptions.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:this._optionsService.options.cursorBlink=!1;break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:case 1016:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),1049===e.params[t]&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}return!0}requestMode(e,t){const n=this._coreService.decPrivateModes,{activeProtocol:r,activeEncoding:o}=this._coreMouseService,a=this._coreService,{buffers:s,cols:l}=this._bufferService,{active:c,alt:u}=s,d=this._optionsService.rawOptions,f=e=>e?1:2,h=e.params[0];return p=h,m=t?2===h?4:4===h?f(a.modes.insertMode):12===h?3:20===h?f(d.convertEol):0:1===h?f(n.applicationCursorKeys):3===h?d.windowOptions.setWinLines?80===l?2:132===l?1:0:0:6===h?f(n.origin):7===h?f(n.wraparound):8===h?3:9===h?f("X10"===r):12===h?f(d.cursorBlink):25===h?f(!a.isCursorHidden):45===h?f(n.reverseWraparound):66===h?f(n.applicationKeypad):67===h?4:1e3===h?f("VT200"===r):1002===h?f("DRAG"===r):1003===h?f("ANY"===r):1004===h?f(n.sendFocus):1005===h?4:1006===h?f("SGR"===o):1015===h?4:1016===h?f("SGR_PIXELS"===o):1048===h?1:47===h||1047===h||1049===h?f(c===u):2004===h?f(n.bracketedPasteMode):0,a.triggerDataEvent(`${i.C0.ESC}[${t?"":"?"}${p};${m}$y`),!0;var p,m}_updateAttrColor(e,t,n,r,o){return 2===t?(e|=50331648,e&=-16777216,e|=p.AttributeData.fromColorRGB([n,r,o])):5===t&&(e&=-50331904,e|=33554432|255&n),e}_extractColor(e,t,n){const r=[0,0,-1,0,0,0];let o=0,i=0;do{if(r[i+o]=e.params[t+i],e.hasSubParams(t+i)){const n=e.getSubParams(t+i);let a=0;do{5===r[1]&&(o=1),r[i+a+1+o]=n[a]}while(++a<n.length&&a+i+1+o<r.length);break}if(5===r[1]&&i+o>=2||2===r[1]&&i+o>=5)break;r[1]&&(o=1)}while(++i+t<e.length&&i+o<r.length);for(let e=2;e<r.length;++e)-1===r[e]&&(r[e]=0);switch(r[0]){case 38:n.fg=this._updateAttrColor(n.fg,r[1],r[3],r[4],r[5]);break;case 48:n.bg=this._updateAttrColor(n.bg,r[1],r[3],r[4],r[5]);break;case 58:n.extended=n.extended.clone(),n.extended.underlineColor=this._updateAttrColor(n.extended.underlineColor,r[1],r[3],r[4],r[5])}return i}_processUnderline(e,t){t.extended=t.extended.clone(),(!~e||e>5)&&(e=1),t.extended.underlineStyle=e,t.fg|=268435456,0===e&&(t.fg&=-268435457),t.updateExtended()}_processSGR0(e){e.fg=u.DEFAULT_ATTR_DATA.fg,e.bg=u.DEFAULT_ATTR_DATA.bg,e.extended=e.extended.clone(),e.extended.underlineStyle=0,e.extended.underlineColor&=-67108864,e.updateExtended()}charAttributes(e){if(1===e.length&&0===e.params[0])return this._processSGR0(this._curAttrData),!0;const t=e.length;let n;const r=this._curAttrData;for(let o=0;o<t;o++)n=e.params[o],n>=30&&n<=37?(r.fg&=-50331904,r.fg|=16777216|n-30):n>=40&&n<=47?(r.bg&=-50331904,r.bg|=16777216|n-40):n>=90&&n<=97?(r.fg&=-50331904,r.fg|=16777224|n-90):n>=100&&n<=107?(r.bg&=-50331904,r.bg|=16777224|n-100):0===n?this._processSGR0(r):1===n?r.fg|=134217728:3===n?r.bg|=67108864:4===n?(r.fg|=268435456,this._processUnderline(e.hasSubParams(o)?e.getSubParams(o)[0]:1,r)):5===n?r.fg|=536870912:7===n?r.fg|=67108864:8===n?r.fg|=1073741824:9===n?r.fg|=2147483648:2===n?r.bg|=134217728:21===n?this._processUnderline(2,r):22===n?(r.fg&=-134217729,r.bg&=-134217729):23===n?r.bg&=-67108865:24===n?(r.fg&=-268435457,this._processUnderline(0,r)):25===n?r.fg&=-536870913:27===n?r.fg&=-67108865:28===n?r.fg&=-1073741825:29===n?r.fg&=2147483647:39===n?(r.fg&=-67108864,r.fg|=16777215&u.DEFAULT_ATTR_DATA.fg):49===n?(r.bg&=-67108864,r.bg|=16777215&u.DEFAULT_ATTR_DATA.bg):38===n||48===n||58===n?o+=this._extractColor(e,o,r):53===n?r.bg|=1073741824:55===n?r.bg&=-1073741825:59===n?(r.extended=r.extended.clone(),r.extended.underlineColor=-1,r.updateExtended()):100===n?(r.fg&=-67108864,r.fg|=16777215&u.DEFAULT_ATTR_DATA.fg,r.bg&=-67108864,r.bg|=16777215&u.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",n);return!0}deviceStatus(e){switch(e.params[0]){case 5:this._coreService.triggerDataEvent(`${i.C0.ESC}[0n`);break;case 6:const e=this._activeBuffer.y+1,t=this._activeBuffer.x+1;this._coreService.triggerDataEvent(`${i.C0.ESC}[${e};${t}R`)}return!0}deviceStatusPrivate(e){if(6===e.params[0]){const e=this._activeBuffer.y+1,t=this._activeBuffer.x+1;this._coreService.triggerDataEvent(`${i.C0.ESC}[?${e};${t}R`)}return!0}softReset(e){return this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._activeBuffer.scrollTop=0,this._activeBuffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=u.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._activeBuffer.savedX=0,this._activeBuffer.savedY=this._activeBuffer.ybase,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1,!0}setCursorStyle(e){const t=e.params[0]||1;switch(t){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}const n=t%2==1;return this._optionsService.options.cursorBlink=n,!0}setScrollRegion(e){const t=e.params[0]||1;let n;return(e.length<2||(n=e.params[1])>this._bufferService.rows||0===n)&&(n=this._bufferService.rows),n>t&&(this._activeBuffer.scrollTop=t-1,this._activeBuffer.scrollBottom=n-1,this._setCursor(0,0)),!0}windowOptions(e){if(!w(e.params[0],this._optionsService.rawOptions.windowOptions))return!0;const t=e.length>1?e.params[1]:0;switch(e.params[0]){case 14:2!==t&&this._onRequestWindowsOptionsReport.fire(_.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(_.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(`${i.C0.ESC}[8;${this._bufferService.rows};${this._bufferService.cols}t`);break;case 22:0!==t&&2!==t||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),0!==t&&1!==t||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:0!==t&&2!==t||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==t&&1!==t||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}return!0}saveCursor(e){return this._activeBuffer.savedX=this._activeBuffer.x,this._activeBuffer.savedY=this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,!0}restoreCursor(e){return this._activeBuffer.x=this._activeBuffer.savedX||0,this._activeBuffer.y=Math.max(this._activeBuffer.savedY-this._activeBuffer.ybase,0),this._curAttrData.fg=this._activeBuffer.savedCurAttrData.fg,this._curAttrData.bg=this._activeBuffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._activeBuffer.savedCharset&&(this._charsetService.charset=this._activeBuffer.savedCharset),this._restrictCursor(),!0}setTitle(e){return this._windowTitle=e,this._onTitleChange.fire(e),!0}setIconName(e){return this._iconName=e,!0}setOrReportIndexedColor(e){const t=[],n=e.split(";");for(;n.length>1;){const e=n.shift(),r=n.shift();if(/^\d+$/.exec(e)){const n=parseInt(e);if(C(n))if("?"===r)t.push({type:0,index:n});else{const e=(0,y.parseColor)(r);e&&t.push({type:1,index:n,color:e})}}}return t.length&&this._onColor.fire(t),!0}setHyperlink(e){const t=e.split(";");return!(t.length<2)&&(t[1]?this._createHyperlink(t[0],t[1]):!t[0]&&this._finishHyperlink())}_createHyperlink(e,t){this._getCurrentLinkId()&&this._finishHyperlink();const n=e.split(":");let r;const o=n.findIndex((e=>e.startsWith("id=")));return-1!==o&&(r=n[o].slice(3)||void 0),this._curAttrData.extended=this._curAttrData.extended.clone(),this._curAttrData.extended.urlId=this._oscLinkService.registerLink({id:r,uri:t}),this._curAttrData.updateExtended(),!0}_finishHyperlink(){return this._curAttrData.extended=this._curAttrData.extended.clone(),this._curAttrData.extended.urlId=0,this._curAttrData.updateExtended(),!0}_setOrReportSpecialColor(e,t){const n=e.split(";");for(let e=0;e<n.length&&!(t>=this._specialColors.length);++e,++t)if("?"===n[e])this._onColor.fire([{type:0,index:this._specialColors[t]}]);else{const r=(0,y.parseColor)(n[e]);r&&this._onColor.fire([{type:1,index:this._specialColors[t],color:r}])}return!0}setOrReportFgColor(e){return this._setOrReportSpecialColor(e,0)}setOrReportBgColor(e){return this._setOrReportSpecialColor(e,1)}setOrReportCursorColor(e){return this._setOrReportSpecialColor(e,2)}restoreIndexedColor(e){if(!e)return this._onColor.fire([{type:2}]),!0;const t=[],n=e.split(";");for(let e=0;e<n.length;++e)if(/^\d+$/.exec(n[e])){const r=parseInt(n[e]);C(r)&&t.push({type:2,index:r})}return t.length&&this._onColor.fire(t),!0}restoreFgColor(e){return this._onColor.fire([{type:2,index:256}]),!0}restoreBgColor(e){return this._onColor.fire([{type:2,index:257}]),!0}restoreCursorColor(e){return this._onColor.fire([{type:2,index:258}]),!0}nextLine(){return this._activeBuffer.x=0,this.index(),!0}keypadApplicationMode(){return this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire(),!0}keypadNumericMode(){return this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire(),!0}selectDefaultCharset(){return this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,a.DEFAULT_CHARSET),!0}selectCharset(e){return 2!==e.length?(this.selectDefaultCharset(),!0):("/"===e[0]||this._charsetService.setgCharset(O[e[0]],a.CHARSETS[e[1]]||a.DEFAULT_CHARSET),!0)}index(){return this._restrictCursor(),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._restrictCursor(),!0}tabSet(){return this._activeBuffer.tabs[this._activeBuffer.x]=!0,!0}reverseIndex(){if(this._restrictCursor(),this._activeBuffer.y===this._activeBuffer.scrollTop){const e=this._activeBuffer.scrollBottom-this._activeBuffer.scrollTop;this._activeBuffer.lines.shiftElements(this._activeBuffer.ybase+this._activeBuffer.y,e,1),this._activeBuffer.lines.set(this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.getBlankLine(this._eraseAttrData())),this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom)}else this._activeBuffer.y--,this._restrictCursor();return!0}fullReset(){return this._parser.reset(),this._onRequestReset.fire(),!0}reset(){this._curAttrData=u.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=u.DEFAULT_ATTR_DATA.clone()}_eraseAttrData(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal}setgLevel(e){return this._charsetService.setgLevel(e),!0}screenAlignmentPattern(){const e=new h.CellData;e.content=1<<22|"E".charCodeAt(0),e.fg=this._curAttrData.fg,e.bg=this._curAttrData.bg,this._setCursor(0,0);for(let t=0;t<this._bufferService.rows;++t){const n=this._activeBuffer.ybase+this._activeBuffer.y+t,r=this._activeBuffer.lines.get(n);r&&(r.fill(e),r.isWrapped=!1)}return this._dirtyRowTracker.markAllDirty(),this._setCursor(0,0),!0}requestStatusString(e,t){const n=this._bufferService.buffer,r=this._optionsService.rawOptions;return(e=>(this._coreService.triggerDataEvent(`${i.C0.ESC}${e}${i.C0.ESC}\\`),!0))('"q'===e?`P1$r${this._curAttrData.isProtected()?1:0}"q`:'"p'===e?'P1$r61;1"p':"r"===e?`P1$r${n.scrollTop+1};${n.scrollBottom+1}r`:"m"===e?"P1$r0m":" q"===e?`P1$r${{block:2,underline:4,bar:6}[r.cursorStyle]-(r.cursorBlink?1:0)} q`:"P0$r")}markRangeDirty(e,t){this._dirtyRowTracker.markRangeDirty(e,t)}}t.InputHandler=S;let k=class{constructor(e){this._bufferService=e,this.clearRange()}clearRange(){this.start=this._bufferService.buffer.y,this.end=this._bufferService.buffer.y}markDirty(e){e<this.start?this.start=e:e>this.end&&(this.end=e)}markRangeDirty(e,t){e>t&&(x=e,e=t,t=x),e<this.start&&(this.start=e),t>this.end&&(this.end=t)}markAllDirty(){this.markRangeDirty(0,this._bufferService.rows-1)}};function C(e){return 0<=e&&e<256}k=r([o(0,m.IBufferService)],k)},844:(e,t)=>{function n(e){for(const t of e)t.dispose();e.length=0}Object.defineProperty(t,"__esModule",{value:!0}),t.getDisposeArrayDisposable=t.disposeArray=t.toDisposable=t.MutableDisposable=t.Disposable=void 0,t.Disposable=class{constructor(){this._disposables=[],this._isDisposed=!1}dispose(){this._isDisposed=!0;for(const e of this._disposables)e.dispose();this._disposables.length=0}register(e){return this._disposables.push(e),e}unregister(e){const t=this._disposables.indexOf(e);-1!==t&&this._disposables.splice(t,1)}},t.MutableDisposable=class{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value?.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value?.dispose(),this._value=void 0}},t.toDisposable=function(e){return{dispose:e}},t.disposeArray=n,t.getDisposeArrayDisposable=function(e){return{dispose:()=>n(e)}}},1505:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FourKeyMap=t.TwoKeyMap=void 0;class n{constructor(){this._data={}}set(e,t,n){this._data[e]||(this._data[e]={}),this._data[e][t]=n}get(e,t){return this._data[e]?this._data[e][t]:void 0}clear(){this._data={}}}t.TwoKeyMap=n,t.FourKeyMap=class{constructor(){this._data=new n}set(e,t,r,o,i){this._data.get(e,t)||this._data.set(e,t,new n),this._data.get(e,t).set(r,o,i)}get(e,t,n,r){return this._data.get(e,t)?.get(n,r)}clear(){this._data.clear()}}},6114:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isChromeOS=t.isLinux=t.isWindows=t.isIphone=t.isIpad=t.isMac=t.getSafariVersion=t.isSafari=t.isLegacyEdge=t.isFirefox=t.isNode=void 0,t.isNode="undefined"!=typeof process&&"title"in process;const n=t.isNode?"node":navigator.userAgent,r=t.isNode?"node":navigator.platform;t.isFirefox=n.includes("Firefox"),t.isLegacyEdge=n.includes("Edge"),t.isSafari=/^((?!chrome|android).)*safari/i.test(n),t.getSafariVersion=function(){if(!t.isSafari)return 0;const e=n.match(/Version\/(\d+)/);return null===e||e.length<2?0:parseInt(e[1])},t.isMac=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(r),t.isIpad="iPad"===r,t.isIphone="iPhone"===r,t.isWindows=["Windows","Win16","Win32","WinCE"].includes(r),t.isLinux=r.indexOf("Linux")>=0,t.isChromeOS=/\bCrOS\b/.test(n)},6106:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SortedList=void 0;let n=0;t.SortedList=class{constructor(e){this._getKey=e,this._array=[]}clear(){this._array.length=0}insert(e){0!==this._array.length?(n=this._search(this._getKey(e)),this._array.splice(n,0,e)):this._array.push(e)}delete(e){if(0===this._array.length)return!1;const t=this._getKey(e);if(void 0===t)return!1;if(n=this._search(t),-1===n)return!1;if(this._getKey(this._array[n])!==t)return!1;do{if(this._array[n]===e)return this._array.splice(n,1),!0}while(++n<this._array.length&&this._getKey(this._array[n])===t);return!1}*getKeyIterator(e){if(0!==this._array.length&&(n=this._search(e),!(n<0||n>=this._array.length)&&this._getKey(this._array[n])===e))do{yield this._array[n]}while(++n<this._array.length&&this._getKey(this._array[n])===e)}forEachByKey(e,t){if(0!==this._array.length&&(n=this._search(e),!(n<0||n>=this._array.length)&&this._getKey(this._array[n])===e))do{t(this._array[n])}while(++n<this._array.length&&this._getKey(this._array[n])===e)}values(){return[...this._array].values()}_search(e){let t=0,n=this._array.length-1;for(;n>=t;){let r=t+n>>1;const o=this._getKey(this._array[r]);if(o>e)n=r-1;else{if(!(o<e)){for(;r>0&&this._getKey(this._array[r-1])===e;)r--;return r}t=r+1}}return t}}},7226:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DebouncedIdleTask=t.IdleTaskQueue=t.PriorityTaskQueue=void 0;const r=n(6114);class o{constructor(){this._tasks=[],this._i=0}enqueue(e){this._tasks.push(e),this._start()}flush(){for(;this._i<this._tasks.length;)this._tasks[this._i]()||this._i++;this.clear()}clear(){this._idleCallback&&(this._cancelCallback(this._idleCallback),this._idleCallback=void 0),this._i=0,this._tasks.length=0}_start(){this._idleCallback||(this._idleCallback=this._requestCallback(this._process.bind(this)))}_process(e){this._idleCallback=void 0;let t=0,n=0,r=e.timeRemaining(),o=0;for(;this._i<this._tasks.length;){if(t=Date.now(),this._tasks[this._i]()||this._i++,t=Math.max(1,Date.now()-t),n=Math.max(t,n),o=e.timeRemaining(),1.5*n>o)return r-t<-20&&console.warn(`task queue exceeded allotted deadline by ${Math.abs(Math.round(r-t))}ms`),void this._start();r=o}this.clear()}}class i extends o{_requestCallback(e){return setTimeout((()=>e(this._createDeadline(16))))}_cancelCallback(e){clearTimeout(e)}_createDeadline(e){const t=Date.now()+e;return{timeRemaining:()=>Math.max(0,t-Date.now())}}}t.PriorityTaskQueue=i,t.IdleTaskQueue=!r.isNode&&"requestIdleCallback"in window?class extends o{_requestCallback(e){return requestIdleCallback(e)}_cancelCallback(e){cancelIdleCallback(e)}}:i,t.DebouncedIdleTask=class{constructor(){this._queue=new t.IdleTaskQueue}set(e){this._queue.clear(),this._queue.enqueue(e)}flush(){this._queue.flush()}}},9282:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.updateWindowsModeWrappedState=void 0;const r=n(643);t.updateWindowsModeWrappedState=function(e){const t=e.buffer.lines.get(e.buffer.ybase+e.buffer.y-1),n=t?.get(e.cols-1),o=e.buffer.lines.get(e.buffer.ybase+e.buffer.y);o&&n&&(o.isWrapped=n[r.CHAR_DATA_CODE_INDEX]!==r.NULL_CELL_CODE&&n[r.CHAR_DATA_CODE_INDEX]!==r.WHITESPACE_CELL_CODE)}},3734:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedAttrs=t.AttributeData=void 0;class n{constructor(){this.fg=0,this.bg=0,this.extended=new r}static toColorRGB(e){return[e>>>16&255,e>>>8&255,255&e]}static fromColorRGB(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]}clone(){const e=new n;return e.fg=this.fg,e.bg=this.bg,e.extended=this.extended.clone(),e}isInverse(){return 67108864&this.fg}isBold(){return 134217728&this.fg}isUnderline(){return this.hasExtendedAttrs()&&0!==this.extended.underlineStyle?1:268435456&this.fg}isBlink(){return 536870912&this.fg}isInvisible(){return 1073741824&this.fg}isItalic(){return 67108864&this.bg}isDim(){return 134217728&this.bg}isStrikethrough(){return 2147483648&this.fg}isProtected(){return 536870912&this.bg}isOverline(){return 1073741824&this.bg}getFgColorMode(){return 50331648&this.fg}getBgColorMode(){return 50331648&this.bg}isFgRGB(){return!(50331648&~this.fg)}isBgRGB(){return!(50331648&~this.bg)}isFgPalette(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)}isBgPalette(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)}isFgDefault(){return!(50331648&this.fg)}isBgDefault(){return!(50331648&this.bg)}isAttributeDefault(){return 0===this.fg&&0===this.bg}getFgColor(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}}getBgColor(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}}hasExtendedAttrs(){return 268435456&this.bg}updateExtended(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456}getUnderlineColor(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()}getUnderlineColorMode(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()}isUnderlineColorRGB(){return 268435456&this.bg&&~this.extended.underlineColor?!(50331648&~this.extended.underlineColor):this.isFgRGB()}isUnderlineColorPalette(){return 268435456&this.bg&&~this.extended.underlineColor?16777216==(50331648&this.extended.underlineColor)||33554432==(50331648&this.extended.underlineColor):this.isFgPalette()}isUnderlineColorDefault(){return 268435456&this.bg&&~this.extended.underlineColor?!(50331648&this.extended.underlineColor):this.isFgDefault()}getUnderlineStyle(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0}getUnderlineVariantOffset(){return this.extended.underlineVariantOffset}}t.AttributeData=n;class r{get ext(){return this._urlId?-469762049&this._ext|this.underlineStyle<<26:this._ext}set ext(e){this._ext=e}get underlineStyle(){return this._urlId?5:(469762048&this._ext)>>26}set underlineStyle(e){this._ext&=-469762049,this._ext|=e<<26&469762048}get underlineColor(){return 67108863&this._ext}set underlineColor(e){this._ext&=-67108864,this._ext|=67108863&e}get urlId(){return this._urlId}set urlId(e){this._urlId=e}get underlineVariantOffset(){const e=(3758096384&this._ext)>>29;return e<0?4294967288^e:e}set underlineVariantOffset(e){this._ext&=536870911,this._ext|=e<<29&3758096384}constructor(e=0,t=0){this._ext=0,this._urlId=0,this._ext=e,this._urlId=t}clone(){return new r(this._ext,this._urlId)}isEmpty(){return 0===this.underlineStyle&&0===this._urlId}}t.ExtendedAttrs=r},9092:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Buffer=t.MAX_BUFFER_SIZE=void 0;const r=n(6349),o=n(7226),i=n(3734),a=n(8437),s=n(4634),l=n(511),c=n(643),u=n(4863),d=n(7116);t.MAX_BUFFER_SIZE=4294967295,t.Buffer=class{constructor(e,t,n){this._hasScrollback=e,this._optionsService=t,this._bufferService=n,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.tabs={},this.savedY=0,this.savedX=0,this.savedCurAttrData=a.DEFAULT_ATTR_DATA.clone(),this.savedCharset=d.DEFAULT_CHARSET,this.markers=[],this._nullCell=l.CellData.fromCharData([0,c.NULL_CELL_CHAR,c.NULL_CELL_WIDTH,c.NULL_CELL_CODE]),this._whitespaceCell=l.CellData.fromCharData([0,c.WHITESPACE_CELL_CHAR,c.WHITESPACE_CELL_WIDTH,c.WHITESPACE_CELL_CODE]),this._isClearing=!1,this._memoryCleanupQueue=new o.IdleTaskQueue,this._memoryCleanupPosition=0,this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new r.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}getNullCell(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg,this._nullCell.extended=e.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new i.ExtendedAttrs),this._nullCell}getWhitespaceCell(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg,this._whitespaceCell.extended=e.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new i.ExtendedAttrs),this._whitespaceCell}getBlankLine(e,t){return new a.BufferLine(this._bufferService.cols,this.getNullCell(e),t)}get hasScrollback(){return this._hasScrollback&&this.lines.maxLength>this._rows}get isCursorInViewport(){const e=this.ybase+this.y-this.ydisp;return e>=0&&e<this._rows}_getCorrectBufferLength(e){if(!this._hasScrollback)return e;const n=e+this._optionsService.rawOptions.scrollback;return n>t.MAX_BUFFER_SIZE?t.MAX_BUFFER_SIZE:n}fillViewportRows(e){if(0===this.lines.length){void 0===e&&(e=a.DEFAULT_ATTR_DATA);let t=this._rows;for(;t--;)this.lines.push(this.getBlankLine(e))}}clear(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new r.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}resize(e,t){const n=this.getNullCell(a.DEFAULT_ATTR_DATA);let r=0;const o=this._getCorrectBufferLength(t);if(o>this.lines.maxLength&&(this.lines.maxLength=o),this.lines.length>0){if(this._cols<e)for(let t=0;t<this.lines.length;t++)r+=+this.lines.get(t).resize(e,n);let i=0;if(this._rows<t)for(let r=this._rows;r<t;r++)this.lines.length<t+this.ybase&&(this._optionsService.rawOptions.windowsMode||void 0!==this._optionsService.rawOptions.windowsPty.backend||void 0!==this._optionsService.rawOptions.windowsPty.buildNumber?this.lines.push(new a.BufferLine(e,n)):this.ybase>0&&this.lines.length<=this.ybase+this.y+i+1?(this.ybase--,i++,this.ydisp>0&&this.ydisp--):this.lines.push(new a.BufferLine(e,n)));else for(let e=this._rows;e>t;e--)this.lines.length>t+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(o<this.lines.maxLength){const e=this.lines.length-o;e>0&&(this.lines.trimStart(e),this.ybase=Math.max(this.ybase-e,0),this.ydisp=Math.max(this.ydisp-e,0),this.savedY=Math.max(this.savedY-e,0)),this.lines.maxLength=o}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,t-1),i&&(this.y+=i),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=t-1,this._isReflowEnabled&&(this._reflow(e,t),this._cols>e))for(let t=0;t<this.lines.length;t++)r+=+this.lines.get(t).resize(e,n);this._cols=e,this._rows=t,this._memoryCleanupQueue.clear(),r>.1*this.lines.length&&(this._memoryCleanupPosition=0,this._memoryCleanupQueue.enqueue((()=>this._batchedMemoryCleanup())))}_batchedMemoryCleanup(){let e=!0;this._memoryCleanupPosition>=this.lines.length&&(this._memoryCleanupPosition=0,e=!1);let t=0;for(;this._memoryCleanupPosition<this.lines.length;)if(t+=this.lines.get(this._memoryCleanupPosition++).cleanupMemory(),t>100)return!0;return e}get _isReflowEnabled(){const e=this._optionsService.rawOptions.windowsPty;return e&&e.buildNumber?this._hasScrollback&&"conpty"===e.backend&&e.buildNumber>=21376:this._hasScrollback&&!this._optionsService.rawOptions.windowsMode}_reflow(e,t){this._cols!==e&&(e>this._cols?this._reflowLarger(e,t):this._reflowSmaller(e,t))}_reflowLarger(e,t){const n=(0,s.reflowLargerGetLinesToRemove)(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(a.DEFAULT_ATTR_DATA));if(n.length>0){const r=(0,s.reflowLargerCreateNewLayout)(this.lines,n);(0,s.reflowLargerApplyNewLayout)(this.lines,r.layout),this._reflowLargerAdjustViewport(e,t,r.countRemoved)}}_reflowLargerAdjustViewport(e,t,n){const r=this.getNullCell(a.DEFAULT_ATTR_DATA);let o=n;for(;o-- >0;)0===this.ybase?(this.y>0&&this.y--,this.lines.length<t&&this.lines.push(new a.BufferLine(e,r))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-n,0)}_reflowSmaller(e,t){const n=this.getNullCell(a.DEFAULT_ATTR_DATA),r=[];let o=0;for(let i=this.lines.length-1;i>=0;i--){let l=this.lines.get(i);if(!l||!l.isWrapped&&l.getTrimmedLength()<=e)continue;const c=[l];for(;l.isWrapped&&i>0;)l=this.lines.get(--i),c.unshift(l);const u=this.ybase+this.y;if(u>=i&&u<i+c.length)continue;const d=c[c.length-1].getTrimmedLength(),f=(0,s.reflowSmallerGetNewLineLengths)(c,this._cols,e),h=f.length-c.length;let p;p=0===this.ybase&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+h):Math.max(0,this.lines.length-this.lines.maxLength+h);const m=[];for(let e=0;e<h;e++){const e=this.getBlankLine(a.DEFAULT_ATTR_DATA,!0);m.push(e)}m.length>0&&(r.push({start:i+c.length+o,newLines:m}),o+=m.length),c.push(...m);let g=f.length-1,A=f[g];0===A&&(g--,A=f[g]);let v=c.length-h-1,y=d;for(;v>=0;){const e=Math.min(y,A);if(void 0===c[g])break;if(c[g].copyCellsFrom(c[v],y-e,A-e,e,!0),A-=e,0===A&&(g--,A=f[g]),y-=e,0===y){v--;const e=Math.max(v,0);y=(0,s.getWrappedLineTrimmedLength)(c,e,this._cols)}}for(let t=0;t<c.length;t++)f[t]<e&&c[t].setCell(f[t],n);let O=h-p;for(;O-- >0;)0===this.ybase?this.y<t-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+o)-t&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+h,this.ybase+t-1)}if(r.length>0){const e=[],t=[];for(let e=0;e<this.lines.length;e++)t.push(this.lines.get(e));const n=this.lines.length;let i=n-1,a=0,s=r[a];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+o);let l=0;for(let c=Math.min(this.lines.maxLength-1,n+o-1);c>=0;c--)if(s&&s.start>i+l){for(let e=s.newLines.length-1;e>=0;e--)this.lines.set(c--,s.newLines[e]);c++,e.push({index:i+1,amount:s.newLines.length}),l+=s.newLines.length,s=r[++a]}else this.lines.set(c,t[i--]);let c=0;for(let t=e.length-1;t>=0;t--)e[t].index+=c,this.lines.onInsertEmitter.fire(e[t]),c+=e[t].amount;const u=Math.max(0,n+o-this.lines.maxLength);u>0&&this.lines.onTrimEmitter.fire(u)}}translateBufferLineToString(e,t,n=0,r){const o=this.lines.get(e);return o?o.translateToString(t,n,r):""}getWrappedRangeForLine(e){let t=e,n=e;for(;t>0&&this.lines.get(t).isWrapped;)t--;for(;n+1<this.lines.length&&this.lines.get(n+1).isWrapped;)n++;return{first:t,last:n}}setupTabStops(e){for(null!=e?this.tabs[e]||(e=this.prevStop(e)):(this.tabs={},e=0);e<this._cols;e+=this._optionsService.rawOptions.tabStopWidth)this.tabs[e]=!0}prevStop(e){for(null==e&&(e=this.x);!this.tabs[--e]&&e>0;);return e>=this._cols?this._cols-1:e<0?0:e}nextStop(e){for(null==e&&(e=this.x);!this.tabs[++e]&&e<this._cols;);return e>=this._cols?this._cols-1:e<0?0:e}clearMarkers(e){this._isClearing=!0;for(let t=0;t<this.markers.length;t++)this.markers[t].line===e&&(this.markers[t].dispose(),this.markers.splice(t--,1));this._isClearing=!1}clearAllMarkers(){this._isClearing=!0;for(let e=0;e<this.markers.length;e++)this.markers[e].dispose(),this.markers.splice(e--,1);this._isClearing=!1}addMarker(e){const t=new u.Marker(e);return this.markers.push(t),t.register(this.lines.onTrim((e=>{t.line-=e,t.line<0&&t.dispose()}))),t.register(this.lines.onInsert((e=>{t.line>=e.index&&(t.line+=e.amount)}))),t.register(this.lines.onDelete((e=>{t.line>=e.index&&t.line<e.index+e.amount&&t.dispose(),t.line>e.index&&(t.line-=e.amount)}))),t.register(t.onDispose((()=>this._removeMarker(t)))),t}_removeMarker(e){this._isClearing||this.markers.splice(this.markers.indexOf(e),1)}}},8437:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferLine=t.DEFAULT_ATTR_DATA=void 0;const r=n(3734),o=n(511),i=n(643),a=n(482);t.DEFAULT_ATTR_DATA=Object.freeze(new r.AttributeData);let s=0;class l{constructor(e,t,n=!1){this.isWrapped=n,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*e);const r=t||o.CellData.fromCharData([0,i.NULL_CELL_CHAR,i.NULL_CELL_WIDTH,i.NULL_CELL_CODE]);for(let t=0;t<e;++t)this.setCell(t,r);this.length=e}get(e){const t=this._data[3*e+0],n=2097151&t;return[this._data[3*e+1],2097152&t?this._combined[e]:n?(0,a.stringFromCodePoint)(n):"",t>>22,2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):n]}set(e,t){this._data[3*e+1]=t[i.CHAR_DATA_ATTR_INDEX],t[i.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[e]=t[1],this._data[3*e+0]=2097152|e|t[i.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=t[i.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|t[i.CHAR_DATA_WIDTH_INDEX]<<22}getWidth(e){return this._data[3*e+0]>>22}hasWidth(e){return 12582912&this._data[3*e+0]}getFg(e){return this._data[3*e+1]}getBg(e){return this._data[3*e+2]}hasContent(e){return 4194303&this._data[3*e+0]}getCodePoint(e){const t=this._data[3*e+0];return 2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&t}isCombined(e){return 2097152&this._data[3*e+0]}getString(e){const t=this._data[3*e+0];return 2097152&t?this._combined[e]:2097151&t?(0,a.stringFromCodePoint)(2097151&t):""}isProtected(e){return 536870912&this._data[3*e+2]}loadCell(e,t){return s=3*e,t.content=this._data[s+0],t.fg=this._data[s+1],t.bg=this._data[s+2],2097152&t.content&&(t.combinedData=this._combined[e]),268435456&t.bg&&(t.extended=this._extendedAttrs[e]),t}setCell(e,t){2097152&t.content&&(this._combined[e]=t.combinedData),268435456&t.bg&&(this._extendedAttrs[e]=t.extended),this._data[3*e+0]=t.content,this._data[3*e+1]=t.fg,this._data[3*e+2]=t.bg}setCellFromCodepoint(e,t,n,r){268435456&r.bg&&(this._extendedAttrs[e]=r.extended),this._data[3*e+0]=t|n<<22,this._data[3*e+1]=r.fg,this._data[3*e+2]=r.bg}addCodepointToCell(e,t,n){let r=this._data[3*e+0];2097152&r?this._combined[e]+=(0,a.stringFromCodePoint)(t):2097151&r?(this._combined[e]=(0,a.stringFromCodePoint)(2097151&r)+(0,a.stringFromCodePoint)(t),r&=-2097152,r|=2097152):r=t|1<<22,n&&(r&=-12582913,r|=n<<22),this._data[3*e+0]=r}insertCells(e,t,n){if((e%=this.length)&&2===this.getWidth(e-1)&&this.setCellFromCodepoint(e-1,0,1,n),t<this.length-e){const r=new o.CellData;for(let n=this.length-e-t-1;n>=0;--n)this.setCell(e+t+n,this.loadCell(e+n,r));for(let r=0;r<t;++r)this.setCell(e+r,n)}else for(let t=e;t<this.length;++t)this.setCell(t,n);2===this.getWidth(this.length-1)&&this.setCellFromCodepoint(this.length-1,0,1,n)}deleteCells(e,t,n){if(e%=this.length,t<this.length-e){const r=new o.CellData;for(let n=0;n<this.length-e-t;++n)this.setCell(e+n,this.loadCell(e+t+n,r));for(let e=this.length-t;e<this.length;++e)this.setCell(e,n)}else for(let t=e;t<this.length;++t)this.setCell(t,n);e&&2===this.getWidth(e-1)&&this.setCellFromCodepoint(e-1,0,1,n),0!==this.getWidth(e)||this.hasContent(e)||this.setCellFromCodepoint(e,0,1,n)}replaceCells(e,t,n,r=!1){if(r)for(e&&2===this.getWidth(e-1)&&!this.isProtected(e-1)&&this.setCellFromCodepoint(e-1,0,1,n),t<this.length&&2===this.getWidth(t-1)&&!this.isProtected(t)&&this.setCellFromCodepoint(t,0,1,n);e<t&&e<this.length;)this.isProtected(e)||this.setCell(e,n),e++;else for(e&&2===this.getWidth(e-1)&&this.setCellFromCodepoint(e-1,0,1,n),t<this.length&&2===this.getWidth(t-1)&&this.setCellFromCodepoint(t,0,1,n);e<t&&e<this.length;)this.setCell(e++,n)}resize(e,t){if(e===this.length)return 4*this._data.length*2<this._data.buffer.byteLength;const n=3*e;if(e>this.length){if(this._data.buffer.byteLength>=4*n)this._data=new Uint32Array(this._data.buffer,0,n);else{const e=new Uint32Array(n);e.set(this._data),this._data=e}for(let n=this.length;n<e;++n)this.setCell(n,t)}else{this._data=this._data.subarray(0,n);const t=Object.keys(this._combined);for(let n=0;n<t.length;n++){const r=parseInt(t[n],10);r>=e&&delete this._combined[r]}const r=Object.keys(this._extendedAttrs);for(let t=0;t<r.length;t++){const n=parseInt(r[t],10);n>=e&&delete this._extendedAttrs[n]}}return this.length=e,4*n*2<this._data.buffer.byteLength}cleanupMemory(){if(4*this._data.length*2<this._data.buffer.byteLength){const e=new Uint32Array(this._data.length);return e.set(this._data),this._data=e,1}return 0}fill(e,t=!1){if(t)for(let t=0;t<this.length;++t)this.isProtected(t)||this.setCell(t,e);else{this._combined={},this._extendedAttrs={};for(let t=0;t<this.length;++t)this.setCell(t,e)}}copyFrom(e){this.length!==e.length?this._data=new Uint32Array(e._data):this._data.set(e._data),this.length=e.length,this._combined={};for(const t in e._combined)this._combined[t]=e._combined[t];this._extendedAttrs={};for(const t in e._extendedAttrs)this._extendedAttrs[t]=e._extendedAttrs[t];this.isWrapped=e.isWrapped}clone(){const e=new l(0);e._data=new Uint32Array(this._data),e.length=this.length;for(const t in this._combined)e._combined[t]=this._combined[t];for(const t in this._extendedAttrs)e._extendedAttrs[t]=this._extendedAttrs[t];return e.isWrapped=this.isWrapped,e}getTrimmedLength(){for(let e=this.length-1;e>=0;--e)if(4194303&this._data[3*e+0])return e+(this._data[3*e+0]>>22);return 0}getNoBgTrimmedLength(){for(let e=this.length-1;e>=0;--e)if(4194303&this._data[3*e+0]||50331648&this._data[3*e+2])return e+(this._data[3*e+0]>>22);return 0}copyCellsFrom(e,t,n,r,o){const i=e._data;if(o)for(let o=r-1;o>=0;o--){for(let e=0;e<3;e++)this._data[3*(n+o)+e]=i[3*(t+o)+e];268435456&i[3*(t+o)+2]&&(this._extendedAttrs[n+o]=e._extendedAttrs[t+o])}else for(let o=0;o<r;o++){for(let e=0;e<3;e++)this._data[3*(n+o)+e]=i[3*(t+o)+e];268435456&i[3*(t+o)+2]&&(this._extendedAttrs[n+o]=e._extendedAttrs[t+o])}const a=Object.keys(e._combined);for(let r=0;r<a.length;r++){const o=parseInt(a[r],10);o>=t&&(this._combined[o-t+n]=e._combined[o])}}translateToString(e,t,n,r){t=t??0,n=n??this.length,e&&(n=Math.min(n,this.getTrimmedLength())),r&&(r.length=0);let o="";for(;t<n;){const e=this._data[3*t+0],n=2097151&e,s=2097152&e?this._combined[t]:n?(0,a.stringFromCodePoint)(n):i.WHITESPACE_CELL_CHAR;if(o+=s,r)for(let e=0;e<s.length;++e)r.push(t);t+=e>>22||1}return r&&r.push(t),o}}t.BufferLine=l},4841:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getRangeLength=void 0,t.getRangeLength=function(e,t){if(e.start.y>e.end.y)throw new Error(`Buffer range end (${e.end.x}, ${e.end.y}) cannot be before start (${e.start.x}, ${e.start.y})`);return t*(e.end.y-e.start.y)+(e.end.x-e.start.x+1)}},4634:(e,t)=>{function n(e,t,n){if(t===e.length-1)return e[t].getTrimmedLength();const r=!e[t].hasContent(n-1)&&1===e[t].getWidth(n-1),o=2===e[t+1].getWidth(0);return r&&o?n-1:n}Object.defineProperty(t,"__esModule",{value:!0}),t.getWrappedLineTrimmedLength=t.reflowSmallerGetNewLineLengths=t.reflowLargerApplyNewLayout=t.reflowLargerCreateNewLayout=t.reflowLargerGetLinesToRemove=void 0,t.reflowLargerGetLinesToRemove=function(e,t,r,o,i){const a=[];for(let s=0;s<e.length-1;s++){let l=s,c=e.get(++l);if(!c.isWrapped)continue;const u=[e.get(s)];for(;l<e.length&&c.isWrapped;)u.push(c),c=e.get(++l);if(o>=s&&o<l){s+=u.length-1;continue}let d=0,f=n(u,d,t),h=1,p=0;for(;h<u.length;){const e=n(u,h,t),o=e-p,a=r-f,s=Math.min(o,a);u[d].copyCellsFrom(u[h],p,f,s,!1),f+=s,f===r&&(d++,f=0),p+=s,p===e&&(h++,p=0),0===f&&0!==d&&2===u[d-1].getWidth(r-1)&&(u[d].copyCellsFrom(u[d-1],r-1,f++,1,!1),u[d-1].setCell(r-1,i))}u[d].replaceCells(f,r,i);let m=0;for(let e=u.length-1;e>0&&(e>d||0===u[e].getTrimmedLength());e--)m++;m>0&&(a.push(s+u.length-m),a.push(m)),s+=u.length-1}return a},t.reflowLargerCreateNewLayout=function(e,t){const n=[];let r=0,o=t[r],i=0;for(let a=0;a<e.length;a++)if(o===a){const n=t[++r];e.onDeleteEmitter.fire({index:a-i,amount:n}),a+=n-1,i+=n,o=t[++r]}else n.push(a);return{layout:n,countRemoved:i}},t.reflowLargerApplyNewLayout=function(e,t){const n=[];for(let r=0;r<t.length;r++)n.push(e.get(t[r]));for(let t=0;t<n.length;t++)e.set(t,n[t]);e.length=t.length},t.reflowSmallerGetNewLineLengths=function(e,t,r){const o=[],i=e.map(((r,o)=>n(e,o,t))).reduce(((e,t)=>e+t));let a=0,s=0,l=0;for(;l<i;){if(i-l<r){o.push(i-l);break}a+=r;const c=n(e,s,t);a>c&&(a-=c,s++);const u=2===e[s].getWidth(a-1);u&&a--;const d=u?r-1:r;o.push(d),l+=d}return o},t.getWrappedLineTrimmedLength=n},5295:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferSet=void 0;const r=n(8460),o=n(844),i=n(9092);class a extends o.Disposable{constructor(e,t){super(),this._optionsService=e,this._bufferService=t,this._onBufferActivate=this.register(new r.EventEmitter),this.onBufferActivate=this._onBufferActivate.event,this.reset(),this.register(this._optionsService.onSpecificOptionChange("scrollback",(()=>this.resize(this._bufferService.cols,this._bufferService.rows)))),this.register(this._optionsService.onSpecificOptionChange("tabStopWidth",(()=>this.setupTabStops())))}reset(){this._normal=new i.Buffer(!0,this._optionsService,this._bufferService),this._normal.fillViewportRows(),this._alt=new i.Buffer(!1,this._optionsService,this._bufferService),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}),this.setupTabStops()}get alt(){return this._alt}get active(){return this._activeBuffer}get normal(){return this._normal}activateNormalBuffer(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clearAllMarkers(),this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))}activateAltBuffer(e){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(e),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))}resize(e,t){this._normal.resize(e,t),this._alt.resize(e,t),this.setupTabStops(e)}setupTabStops(e){this._normal.setupTabStops(e),this._alt.setupTabStops(e)}}t.BufferSet=a},511:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CellData=void 0;const r=n(482),o=n(643),i=n(3734);class a extends i.AttributeData{constructor(){super(...arguments),this.content=0,this.fg=0,this.bg=0,this.extended=new i.ExtendedAttrs,this.combinedData=""}static fromCharData(e){const t=new a;return t.setFromCharData(e),t}isCombined(){return 2097152&this.content}getWidth(){return this.content>>22}getChars(){return 2097152&this.content?this.combinedData:2097151&this.content?(0,r.stringFromCodePoint)(2097151&this.content):""}getCode(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content}setFromCharData(e){this.fg=e[o.CHAR_DATA_ATTR_INDEX],this.bg=0;let t=!1;if(e[o.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(2===e[o.CHAR_DATA_CHAR_INDEX].length){const n=e[o.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=n&&n<=56319){const r=e[o.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=r&&r<=57343?this.content=1024*(n-55296)+r-56320+65536|e[o.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[o.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[o.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[o.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[o.CHAR_DATA_WIDTH_INDEX]<<22)}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}}t.CellData=a},643:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WHITESPACE_CELL_CODE=t.WHITESPACE_CELL_WIDTH=t.WHITESPACE_CELL_CHAR=t.NULL_CELL_CODE=t.NULL_CELL_WIDTH=t.NULL_CELL_CHAR=t.CHAR_DATA_CODE_INDEX=t.CHAR_DATA_WIDTH_INDEX=t.CHAR_DATA_CHAR_INDEX=t.CHAR_DATA_ATTR_INDEX=t.DEFAULT_EXT=t.DEFAULT_ATTR=t.DEFAULT_COLOR=void 0,t.DEFAULT_COLOR=0,t.DEFAULT_ATTR=256|t.DEFAULT_COLOR<<9,t.DEFAULT_EXT=0,t.CHAR_DATA_ATTR_INDEX=0,t.CHAR_DATA_CHAR_INDEX=1,t.CHAR_DATA_WIDTH_INDEX=2,t.CHAR_DATA_CODE_INDEX=3,t.NULL_CELL_CHAR="",t.NULL_CELL_WIDTH=1,t.NULL_CELL_CODE=0,t.WHITESPACE_CELL_CHAR=" ",t.WHITESPACE_CELL_WIDTH=1,t.WHITESPACE_CELL_CODE=32},4863:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Marker=void 0;const r=n(8460),o=n(844);class i{get id(){return this._id}constructor(e){this.line=e,this.isDisposed=!1,this._disposables=[],this._id=i._nextId++,this._onDispose=this.register(new r.EventEmitter),this.onDispose=this._onDispose.event}dispose(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire(),(0,o.disposeArray)(this._disposables),this._disposables.length=0)}register(e){return this._disposables.push(e),e}}t.Marker=i,i._nextId=1},7116:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_CHARSET=t.CHARSETS=void 0,t.CHARSETS={},t.DEFAULT_CHARSET=t.CHARSETS.B,t.CHARSETS[0]={"`":"◆",a:"▒",b:"␉",c:"␌",d:"␍",e:"␊",f:"°",g:"±",h:"␤",i:"␋",j:"┘",k:"┐",l:"┌",m:"└",n:"┼",o:"⎺",p:"⎻",q:"─",r:"⎼",s:"⎽",t:"├",u:"┤",v:"┴",w:"┬",x:"│",y:"≤",z:"≥","{":"π","|":"≠","}":"£","~":"·"},t.CHARSETS.A={"#":"£"},t.CHARSETS.B=void 0,t.CHARSETS[4]={"#":"£","@":"¾","[":"ij","\\":"½","]":"|","{":"¨","|":"f","}":"¼","~":"´"},t.CHARSETS.C=t.CHARSETS[5]={"[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},t.CHARSETS.R={"#":"£","@":"à","[":"°","\\":"ç","]":"§","{":"é","|":"ù","}":"è","~":"¨"},t.CHARSETS.Q={"@":"à","[":"â","\\":"ç","]":"ê","^":"î","`":"ô","{":"é","|":"ù","}":"è","~":"û"},t.CHARSETS.K={"@":"§","[":"Ä","\\":"Ö","]":"Ü","{":"ä","|":"ö","}":"ü","~":"ß"},t.CHARSETS.Y={"#":"£","@":"§","[":"°","\\":"ç","]":"é","`":"ù","{":"à","|":"ò","}":"è","~":"ì"},t.CHARSETS.E=t.CHARSETS[6]={"@":"Ä","[":"Æ","\\":"Ø","]":"Å","^":"Ü","`":"ä","{":"æ","|":"ø","}":"å","~":"ü"},t.CHARSETS.Z={"#":"£","@":"§","[":"¡","\\":"Ñ","]":"¿","{":"°","|":"ñ","}":"ç"},t.CHARSETS.H=t.CHARSETS[7]={"@":"É","[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},t.CHARSETS["="]={"#":"ù","@":"à","[":"é","\\":"ç","]":"ê","^":"î",_:"è","`":"ô","{":"ä","|":"ö","}":"ü","~":"û"}},2584:(e,t)=>{var n,r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.C1_ESCAPED=t.C1=t.C0=void 0,function(e){e.NUL="\0",e.SOH="",e.STX="",e.ETX="",e.EOT="",e.ENQ="",e.ACK="",e.BEL="",e.BS="\b",e.HT="\t",e.LF="\n",e.VT="\v",e.FF="\f",e.CR="\r",e.SO="",e.SI="",e.DLE="",e.DC1="",e.DC2="",e.DC3="",e.DC4="",e.NAK="",e.SYN="",e.ETB="",e.CAN="",e.EM="",e.SUB="",e.ESC="",e.FS="",e.GS="",e.RS="",e.US="",e.SP=" ",e.DEL=""}(n||(t.C0=n={})),function(e){e.PAD="€",e.HOP="",e.BPH="‚",e.NBH="ƒ",e.IND="„",e.NEL="…",e.SSA="†",e.ESA="‡",e.HTS="ˆ",e.HTJ="‰",e.VTS="Š",e.PLD="‹",e.PLU="Œ",e.RI="",e.SS2="Ž",e.SS3="",e.DCS="",e.PU1="‘",e.PU2="’",e.STS="“",e.CCH="”",e.MW="•",e.SPA="–",e.EPA="—",e.SOS="˜",e.SGCI="™",e.SCI="š",e.CSI="›",e.ST="œ",e.OSC="",e.PM="ž",e.APC="Ÿ"}(r||(t.C1=r={})),function(e){e.ST=`${n.ESC}\\`}(o||(t.C1_ESCAPED=o={}))},7399:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.evaluateKeyboardEvent=void 0;const r=n(2584),o={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};t.evaluateKeyboardEvent=function(e,t,n,i){const a={type:0,cancel:!1,key:void 0},s=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?a.key=t?r.C0.ESC+"OA":r.C0.ESC+"[A":"UIKeyInputLeftArrow"===e.key?a.key=t?r.C0.ESC+"OD":r.C0.ESC+"[D":"UIKeyInputRightArrow"===e.key?a.key=t?r.C0.ESC+"OC":r.C0.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(a.key=t?r.C0.ESC+"OB":r.C0.ESC+"[B");break;case 8:a.key=e.ctrlKey?"\b":r.C0.DEL,e.altKey&&(a.key=r.C0.ESC+a.key);break;case 9:if(e.shiftKey){a.key=r.C0.ESC+"[Z";break}a.key=r.C0.HT,a.cancel=!0;break;case 13:a.key=e.altKey?r.C0.ESC+r.C0.CR:r.C0.CR,a.cancel=!0;break;case 27:a.key=r.C0.ESC,e.altKey&&(a.key=r.C0.ESC+r.C0.ESC),a.cancel=!0;break;case 37:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"D",a.key===r.C0.ESC+"[1;3D"&&(a.key=r.C0.ESC+(n?"b":"[1;5D"))):a.key=t?r.C0.ESC+"OD":r.C0.ESC+"[D";break;case 39:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"C",a.key===r.C0.ESC+"[1;3C"&&(a.key=r.C0.ESC+(n?"f":"[1;5C"))):a.key=t?r.C0.ESC+"OC":r.C0.ESC+"[C";break;case 38:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"A",n||a.key!==r.C0.ESC+"[1;3A"||(a.key=r.C0.ESC+"[1;5A")):a.key=t?r.C0.ESC+"OA":r.C0.ESC+"[A";break;case 40:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"B",n||a.key!==r.C0.ESC+"[1;3B"||(a.key=r.C0.ESC+"[1;5B")):a.key=t?r.C0.ESC+"OB":r.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(a.key=r.C0.ESC+"[2~");break;case 46:a.key=s?r.C0.ESC+"[3;"+(s+1)+"~":r.C0.ESC+"[3~";break;case 36:a.key=s?r.C0.ESC+"[1;"+(s+1)+"H":t?r.C0.ESC+"OH":r.C0.ESC+"[H";break;case 35:a.key=s?r.C0.ESC+"[1;"+(s+1)+"F":t?r.C0.ESC+"OF":r.C0.ESC+"[F";break;case 33:e.shiftKey?a.type=2:e.ctrlKey?a.key=r.C0.ESC+"[5;"+(s+1)+"~":a.key=r.C0.ESC+"[5~";break;case 34:e.shiftKey?a.type=3:e.ctrlKey?a.key=r.C0.ESC+"[6;"+(s+1)+"~":a.key=r.C0.ESC+"[6~";break;case 112:a.key=s?r.C0.ESC+"[1;"+(s+1)+"P":r.C0.ESC+"OP";break;case 113:a.key=s?r.C0.ESC+"[1;"+(s+1)+"Q":r.C0.ESC+"OQ";break;case 114:a.key=s?r.C0.ESC+"[1;"+(s+1)+"R":r.C0.ESC+"OR";break;case 115:a.key=s?r.C0.ESC+"[1;"+(s+1)+"S":r.C0.ESC+"OS";break;case 116:a.key=s?r.C0.ESC+"[15;"+(s+1)+"~":r.C0.ESC+"[15~";break;case 117:a.key=s?r.C0.ESC+"[17;"+(s+1)+"~":r.C0.ESC+"[17~";break;case 118:a.key=s?r.C0.ESC+"[18;"+(s+1)+"~":r.C0.ESC+"[18~";break;case 119:a.key=s?r.C0.ESC+"[19;"+(s+1)+"~":r.C0.ESC+"[19~";break;case 120:a.key=s?r.C0.ESC+"[20;"+(s+1)+"~":r.C0.ESC+"[20~";break;case 121:a.key=s?r.C0.ESC+"[21;"+(s+1)+"~":r.C0.ESC+"[21~";break;case 122:a.key=s?r.C0.ESC+"[23;"+(s+1)+"~":r.C0.ESC+"[23~";break;case 123:a.key=s?r.C0.ESC+"[24;"+(s+1)+"~":r.C0.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if(n&&!i||!e.altKey||e.metaKey)!n||e.altKey||e.ctrlKey||e.shiftKey||!e.metaKey?e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&e.keyCode>=48&&1===e.key.length?a.key=e.key:e.key&&e.ctrlKey&&("_"===e.key&&(a.key=r.C0.US),"@"===e.key&&(a.key=r.C0.NUL)):65===e.keyCode&&(a.type=1);else{const t=o[e.keyCode],n=t?.[e.shiftKey?1:0];if(n)a.key=r.C0.ESC+n;else if(e.keyCode>=65&&e.keyCode<=90){const t=e.ctrlKey?e.keyCode-64:e.keyCode+32;let n=String.fromCharCode(t);e.shiftKey&&(n=n.toUpperCase()),a.key=r.C0.ESC+n}else if(32===e.keyCode)a.key=r.C0.ESC+(e.ctrlKey?r.C0.NUL:" ");else if("Dead"===e.key&&e.code.startsWith("Key")){let t=e.code.slice(3,4);e.shiftKey||(t=t.toLowerCase()),a.key=r.C0.ESC+t,a.cancel=!0}}else e.keyCode>=65&&e.keyCode<=90?a.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?a.key=r.C0.NUL:e.keyCode>=51&&e.keyCode<=55?a.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?a.key=r.C0.DEL:219===e.keyCode?a.key=r.C0.ESC:220===e.keyCode?a.key=r.C0.FS:221===e.keyCode&&(a.key=r.C0.GS)}return a}},482:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Utf8ToUtf32=t.StringToUtf32=t.utf32ToString=t.stringFromCodePoint=void 0,t.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t=0,n=e.length){let r="";for(let o=t;o<n;++o){let t=e[o];t>65535?(t-=65536,r+=String.fromCharCode(55296+(t>>10))+String.fromCharCode(t%1024+56320)):r+=String.fromCharCode(t)}return r},t.StringToUtf32=class{constructor(){this._interim=0}clear(){this._interim=0}decode(e,t){const n=e.length;if(!n)return 0;let r=0,o=0;if(this._interim){const n=e.charCodeAt(o++);56320<=n&&n<=57343?t[r++]=1024*(this._interim-55296)+n-56320+65536:(t[r++]=this._interim,t[r++]=n),this._interim=0}for(let i=o;i<n;++i){const o=e.charCodeAt(i);if(55296<=o&&o<=56319){if(++i>=n)return this._interim=o,r;const a=e.charCodeAt(i);56320<=a&&a<=57343?t[r++]=1024*(o-55296)+a-56320+65536:(t[r++]=o,t[r++]=a)}else 65279!==o&&(t[r++]=o)}return r}},t.Utf8ToUtf32=class{constructor(){this.interim=new Uint8Array(3)}clear(){this.interim.fill(0)}decode(e,t){const n=e.length;if(!n)return 0;let r,o,i,a,s=0,l=0,c=0;if(this.interim[0]){let r=!1,o=this.interim[0];o&=192==(224&o)?31:224==(240&o)?15:7;let i,a=0;for(;(i=63&this.interim[++a])&&a<4;)o<<=6,o|=i;const l=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,u=l-a;for(;c<u;){if(c>=n)return 0;if(i=e[c++],128!=(192&i)){c--,r=!0;break}this.interim[a++]=i,o<<=6,o|=63&i}r||(2===l?o<128?c--:t[s++]=o:3===l?o<2048||o>=55296&&o<=57343||65279===o||(t[s++]=o):o<65536||o>1114111||(t[s++]=o)),this.interim.fill(0)}const u=n-4;let d=c;for(;d<n;){for(;!(!(d<u)||128&(r=e[d])||128&(o=e[d+1])||128&(i=e[d+2])||128&(a=e[d+3]));)t[s++]=r,t[s++]=o,t[s++]=i,t[s++]=a,d+=4;if(r=e[d++],r<128)t[s++]=r;else if(192==(224&r)){if(d>=n)return this.interim[0]=r,s;if(o=e[d++],128!=(192&o)){d--;continue}if(l=(31&r)<<6|63&o,l<128){d--;continue}t[s++]=l}else if(224==(240&r)){if(d>=n)return this.interim[0]=r,s;if(o=e[d++],128!=(192&o)){d--;continue}if(d>=n)return this.interim[0]=r,this.interim[1]=o,s;if(i=e[d++],128!=(192&i)){d--;continue}if(l=(15&r)<<12|(63&o)<<6|63&i,l<2048||l>=55296&&l<=57343||65279===l)continue;t[s++]=l}else if(240==(248&r)){if(d>=n)return this.interim[0]=r,s;if(o=e[d++],128!=(192&o)){d--;continue}if(d>=n)return this.interim[0]=r,this.interim[1]=o,s;if(i=e[d++],128!=(192&i)){d--;continue}if(d>=n)return this.interim[0]=r,this.interim[1]=o,this.interim[2]=i,s;if(a=e[d++],128!=(192&a)){d--;continue}if(l=(7&r)<<18|(63&o)<<12|(63&i)<<6|63&a,l<65536||l>1114111)continue;t[s++]=l}}return s}}},225:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeV6=void 0;const r=n(1480),o=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],i=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]];let a;t.UnicodeV6=class{constructor(){if(this.version="6",!a){a=new Uint8Array(65536),a.fill(1),a[0]=0,a.fill(0,1,32),a.fill(0,127,160),a.fill(2,4352,4448),a[9001]=2,a[9002]=2,a.fill(2,11904,42192),a[12351]=1,a.fill(2,44032,55204),a.fill(2,63744,64256),a.fill(2,65040,65050),a.fill(2,65072,65136),a.fill(2,65280,65377),a.fill(2,65504,65511);for(let e=0;e<o.length;++e)a.fill(0,o[e][0],o[e][1]+1)}}wcwidth(e){return e<32?0:e<127?1:e<65536?a[e]:function(e,t){let n,r=0,o=t.length-1;if(e<t[0][0]||e>t[o][1])return!1;for(;o>=r;)if(n=r+o>>1,e>t[n][1])r=n+1;else{if(!(e<t[n][0]))return!0;o=n-1}return!1}(e,i)?0:e>=131072&&e<=196605||e>=196608&&e<=262141?2:1}charProperties(e,t){let n=this.wcwidth(e),o=0===n&&0!==t;if(o){const e=r.UnicodeService.extractWidth(t);0===e?o=!1:e>n&&(n=e)}return r.UnicodeService.createPropertyValue(0,n,o)}}},5981:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WriteBuffer=void 0;const r=n(8460),o=n(844);class i extends o.Disposable{constructor(e){super(),this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0,this._isSyncWriting=!1,this._syncCalls=0,this._didUserInput=!1,this._onWriteParsed=this.register(new r.EventEmitter),this.onWriteParsed=this._onWriteParsed.event}handleUserInput(){this._didUserInput=!0}writeSync(e,t){if(void 0!==t&&this._syncCalls>t)return void(this._syncCalls=0);if(this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(void 0),this._syncCalls++,this._isSyncWriting)return;let n;for(this._isSyncWriting=!0;n=this._writeBuffer.shift();){this._action(n);const e=this._callbacks.shift();e&&e()}this._pendingData=0,this._bufferOffset=2147483647,this._isSyncWriting=!1,this._syncCalls=0}write(e,t){if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");if(!this._writeBuffer.length){if(this._bufferOffset=0,this._didUserInput)return this._didUserInput=!1,this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t),void this._innerWrite();setTimeout((()=>this._innerWrite()))}this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t)}_innerWrite(e=0,t=!0){const n=e||Date.now();for(;this._writeBuffer.length>this._bufferOffset;){const e=this._writeBuffer[this._bufferOffset],r=this._action(e,t);if(r){const e=e=>Date.now()-n>=12?setTimeout((()=>this._innerWrite(0,e))):this._innerWrite(n,e);return void r.catch((e=>(queueMicrotask((()=>{throw e})),Promise.resolve(!1)))).then(e)}const o=this._callbacks[this._bufferOffset];if(o&&o(),this._bufferOffset++,this._pendingData-=e.length,Date.now()-n>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout((()=>this._innerWrite()))):(this._writeBuffer.length=0,this._callbacks.length=0,this._pendingData=0,this._bufferOffset=0),this._onWriteParsed.fire()}}t.WriteBuffer=i},5941:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRgbString=t.parseColor=void 0;const n=/^([\da-f])\/([\da-f])\/([\da-f])$|^([\da-f]{2})\/([\da-f]{2})\/([\da-f]{2})$|^([\da-f]{3})\/([\da-f]{3})\/([\da-f]{3})$|^([\da-f]{4})\/([\da-f]{4})\/([\da-f]{4})$/,r=/^[\da-f]+$/;function o(e,t){const n=e.toString(16),r=n.length<2?"0"+n:n;switch(t){case 4:return n[0];case 8:return r;case 12:return(r+r).slice(0,3);default:return r+r}}t.parseColor=function(e){if(!e)return;let t=e.toLowerCase();if(0===t.indexOf("rgb:")){t=t.slice(4);const e=n.exec(t);if(e){const t=e[1]?15:e[4]?255:e[7]?4095:65535;return[Math.round(parseInt(e[1]||e[4]||e[7]||e[10],16)/t*255),Math.round(parseInt(e[2]||e[5]||e[8]||e[11],16)/t*255),Math.round(parseInt(e[3]||e[6]||e[9]||e[12],16)/t*255)]}}else if(0===t.indexOf("#")&&(t=t.slice(1),r.exec(t)&&[3,6,9,12].includes(t.length))){const e=t.length/3,n=[0,0,0];for(let r=0;r<3;++r){const o=parseInt(t.slice(e*r,e*r+e),16);n[r]=1===e?o<<4:2===e?o:3===e?o>>4:o>>8}return n}},t.toRgbString=function(e,t=16){const[n,r,i]=e;return`rgb:${o(n,t)}/${o(r,t)}/${o(i,t)}`}},5770:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=void 0,t.PAYLOAD_LIMIT=1e7},6351:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DcsHandler=t.DcsParser=void 0;const r=n(482),o=n(8742),i=n(5770),a=[];t.DcsParser=class{constructor(){this._handlers=Object.create(null),this._active=a,this._ident=0,this._handlerFb=()=>{},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}dispose(){this._handlers=Object.create(null),this._handlerFb=()=>{},this._active=a}registerHandler(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);const n=this._handlers[e];return n.push(t),{dispose:()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}clearHandler(e){this._handlers[e]&&delete this._handlers[e]}setHandlerFallback(e){this._handlerFb=e}reset(){if(this._active.length)for(let e=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;e>=0;--e)this._active[e].unhook(!1);this._stack.paused=!1,this._active=a,this._ident=0}hook(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||a,this._active.length)for(let e=this._active.length-1;e>=0;e--)this._active[e].hook(t);else this._handlerFb(this._ident,"HOOK",t)}put(e,t,n){if(this._active.length)for(let r=this._active.length-1;r>=0;r--)this._active[r].put(e,t,n);else this._handlerFb(this._ident,"PUT",(0,r.utf32ToString)(e,t,n))}unhook(e,t=!0){if(this._active.length){let n=!1,r=this._active.length-1,o=!1;if(this._stack.paused&&(r=this._stack.loopPosition-1,n=t,o=this._stack.fallThrough,this._stack.paused=!1),!o&&!1===n){for(;r>=0&&(n=this._active[r].unhook(e),!0!==n);r--)if(n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!1,n;r--}for(;r>=0;r--)if(n=this._active[r].unhook(!1),n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!0,n}else this._handlerFb(this._ident,"UNHOOK",e);this._active=a,this._ident=0}};const s=new o.Params;s.addParam(0),t.DcsHandler=class{constructor(e){this._handler=e,this._data="",this._params=s,this._hitLimit=!1}hook(e){this._params=e.length>1||e.params[0]?e.clone():s,this._data="",this._hitLimit=!1}put(e,t,n){this._hitLimit||(this._data+=(0,r.utf32ToString)(e,t,n),this._data.length>i.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))}unhook(e){let t=!1;if(this._hitLimit)t=!1;else if(e&&(t=this._handler(this._data,this._params),t instanceof Promise))return t.then((e=>(this._params=s,this._data="",this._hitLimit=!1,e)));return this._params=s,this._data="",this._hitLimit=!1,t}}},2015:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EscapeSequenceParser=t.VT500_TRANSITION_TABLE=t.TransitionTable=void 0;const r=n(844),o=n(8742),i=n(6242),a=n(6351);class s{constructor(e){this.table=new Uint8Array(e)}setDefault(e,t){this.table.fill(e<<4|t)}add(e,t,n,r){this.table[t<<8|e]=n<<4|r}addMany(e,t,n,r){for(let o=0;o<e.length;o++)this.table[t<<8|e[o]]=n<<4|r}}t.TransitionTable=s;const l=160;t.VT500_TRANSITION_TABLE=function(){const e=new s(4095),t=Array.apply(null,Array(256)).map(((e,t)=>t)),n=(e,n)=>t.slice(e,n),r=n(32,127),o=n(0,24);o.push(25),o.push.apply(o,n(28,32));const i=n(0,14);let a;for(a in e.setDefault(1,0),e.addMany(r,0,2,0),i)e.addMany([24,26,153,154],a,3,0),e.addMany(n(128,144),a,3,0),e.addMany(n(144,152),a,3,0),e.add(156,a,0,0),e.add(27,a,11,1),e.add(157,a,4,8),e.addMany([152,158,159],a,0,7),e.add(155,a,11,3),e.add(144,a,11,9);return e.addMany(o,0,3,0),e.addMany(o,1,3,1),e.add(127,1,0,1),e.addMany(o,8,0,8),e.addMany(o,3,3,3),e.add(127,3,0,3),e.addMany(o,4,3,4),e.add(127,4,0,4),e.addMany(o,6,3,6),e.addMany(o,5,3,5),e.add(127,5,0,5),e.addMany(o,2,3,2),e.add(127,2,0,2),e.add(93,1,4,8),e.addMany(r,8,5,8),e.add(127,8,5,8),e.addMany([156,27,24,26,7],8,6,0),e.addMany(n(28,32),8,0,8),e.addMany([88,94,95],1,0,7),e.addMany(r,7,0,7),e.addMany(o,7,0,7),e.add(156,7,0,0),e.add(127,7,0,7),e.add(91,1,11,3),e.addMany(n(64,127),3,7,0),e.addMany(n(48,60),3,8,4),e.addMany([60,61,62,63],3,9,4),e.addMany(n(48,60),4,8,4),e.addMany(n(64,127),4,7,0),e.addMany([60,61,62,63],4,0,6),e.addMany(n(32,64),6,0,6),e.add(127,6,0,6),e.addMany(n(64,127),6,0,0),e.addMany(n(32,48),3,9,5),e.addMany(n(32,48),5,9,5),e.addMany(n(48,64),5,0,6),e.addMany(n(64,127),5,7,0),e.addMany(n(32,48),4,9,5),e.addMany(n(32,48),1,9,2),e.addMany(n(32,48),2,9,2),e.addMany(n(48,127),2,10,0),e.addMany(n(48,80),1,10,0),e.addMany(n(81,88),1,10,0),e.addMany([89,90,92],1,10,0),e.addMany(n(96,127),1,10,0),e.add(80,1,11,9),e.addMany(o,9,0,9),e.add(127,9,0,9),e.addMany(n(28,32),9,0,9),e.addMany(n(32,48),9,9,12),e.addMany(n(48,60),9,8,10),e.addMany([60,61,62,63],9,9,10),e.addMany(o,11,0,11),e.addMany(n(32,128),11,0,11),e.addMany(n(28,32),11,0,11),e.addMany(o,10,0,10),e.add(127,10,0,10),e.addMany(n(28,32),10,0,10),e.addMany(n(48,60),10,8,10),e.addMany([60,61,62,63],10,0,11),e.addMany(n(32,48),10,9,12),e.addMany(o,12,0,12),e.add(127,12,0,12),e.addMany(n(28,32),12,0,12),e.addMany(n(32,48),12,9,12),e.addMany(n(48,64),12,0,11),e.addMany(n(64,127),12,12,13),e.addMany(n(64,127),10,12,13),e.addMany(n(64,127),9,12,13),e.addMany(o,13,13,13),e.addMany(r,13,13,13),e.add(127,13,0,13),e.addMany([27,156,24,26],13,14,0),e.add(l,0,2,0),e.add(l,8,5,8),e.add(l,6,0,6),e.add(l,11,0,11),e.add(l,13,13,13),e}();class c extends r.Disposable{constructor(e=t.VT500_TRANSITION_TABLE){super(),this._transitions=e,this._parseStack={state:0,handlers:[],handlerPos:0,transition:0,chunkPos:0},this.initialState=0,this.currentState=this.initialState,this._params=new o.Params,this._params.addParam(0),this._collect=0,this.precedingJoinState=0,this._printHandlerFb=(e,t,n)=>{},this._executeHandlerFb=e=>{},this._csiHandlerFb=(e,t)=>{},this._escHandlerFb=e=>{},this._errorHandlerFb=e=>e,this._printHandler=this._printHandlerFb,this._executeHandlers=Object.create(null),this._csiHandlers=Object.create(null),this._escHandlers=Object.create(null),this.register((0,r.toDisposable)((()=>{this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null)}))),this._oscParser=this.register(new i.OscParser),this._dcsParser=this.register(new a.DcsParser),this._errorHandler=this._errorHandlerFb,this.registerEscHandler({final:"\\"},(()=>!0))}_identifier(e,t=[64,126]){let n=0;if(e.prefix){if(e.prefix.length>1)throw new Error("only one byte as prefix supported");if(n=e.prefix.charCodeAt(0),n&&60>n||n>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(let t=0;t<e.intermediates.length;++t){const r=e.intermediates.charCodeAt(t);if(32>r||r>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");n<<=8,n|=r}}if(1!==e.final.length)throw new Error("final must be a single byte");const r=e.final.charCodeAt(0);if(t[0]>r||r>t[1])throw new Error(`final must be in range ${t[0]} .. ${t[1]}`);return n<<=8,n|=r,n}identToString(e){const t=[];for(;e;)t.push(String.fromCharCode(255&e)),e>>=8;return t.reverse().join("")}setPrintHandler(e){this._printHandler=e}clearPrintHandler(){this._printHandler=this._printHandlerFb}registerEscHandler(e,t){const n=this._identifier(e,[48,126]);void 0===this._escHandlers[n]&&(this._escHandlers[n]=[]);const r=this._escHandlers[n];return r.push(t),{dispose:()=>{const e=r.indexOf(t);-1!==e&&r.splice(e,1)}}}clearEscHandler(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]}setEscHandlerFallback(e){this._escHandlerFb=e}setExecuteHandler(e,t){this._executeHandlers[e.charCodeAt(0)]=t}clearExecuteHandler(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]}setExecuteHandlerFallback(e){this._executeHandlerFb=e}registerCsiHandler(e,t){const n=this._identifier(e);void 0===this._csiHandlers[n]&&(this._csiHandlers[n]=[]);const r=this._csiHandlers[n];return r.push(t),{dispose:()=>{const e=r.indexOf(t);-1!==e&&r.splice(e,1)}}}clearCsiHandler(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]}setCsiHandlerFallback(e){this._csiHandlerFb=e}registerDcsHandler(e,t){return this._dcsParser.registerHandler(this._identifier(e),t)}clearDcsHandler(e){this._dcsParser.clearHandler(this._identifier(e))}setDcsHandlerFallback(e){this._dcsParser.setHandlerFallback(e)}registerOscHandler(e,t){return this._oscParser.registerHandler(e,t)}clearOscHandler(e){this._oscParser.clearHandler(e)}setOscHandlerFallback(e){this._oscParser.setHandlerFallback(e)}setErrorHandler(e){this._errorHandler=e}clearErrorHandler(){this._errorHandler=this._errorHandlerFb}reset(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingJoinState=0,0!==this._parseStack.state&&(this._parseStack.state=2,this._parseStack.handlers=[])}_preserveStack(e,t,n,r,o){this._parseStack.state=e,this._parseStack.handlers=t,this._parseStack.handlerPos=n,this._parseStack.transition=r,this._parseStack.chunkPos=o}parse(e,t,n){let r,o=0,i=0,a=0;if(this._parseStack.state)if(2===this._parseStack.state)this._parseStack.state=0,a=this._parseStack.chunkPos+1;else{if(void 0===n||1===this._parseStack.state)throw this._parseStack.state=1,new Error("improper continuation due to previous async handler, giving up parsing");const t=this._parseStack.handlers;let i=this._parseStack.handlerPos-1;switch(this._parseStack.state){case 3:if(!1===n&&i>-1)for(;i>=0&&(r=t[i](this._params),!0!==r);i--)if(r instanceof Promise)return this._parseStack.handlerPos=i,r;this._parseStack.handlers=[];break;case 4:if(!1===n&&i>-1)for(;i>=0&&(r=t[i](),!0!==r);i--)if(r instanceof Promise)return this._parseStack.handlerPos=i,r;this._parseStack.handlers=[];break;case 6:if(o=e[this._parseStack.chunkPos],r=this._dcsParser.unhook(24!==o&&26!==o,n),r)return r;27===o&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0;break;case 5:if(o=e[this._parseStack.chunkPos],r=this._oscParser.end(24!==o&&26!==o,n),r)return r;27===o&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0}this._parseStack.state=0,a=this._parseStack.chunkPos+1,this.precedingJoinState=0,this.currentState=15&this._parseStack.transition}for(let n=a;n<t;++n){switch(o=e[n],i=this._transitions.table[this.currentState<<8|(o<160?o:l)],i>>4){case 2:for(let r=n+1;;++r){if(r>=t||(o=e[r])<32||o>126&&o<l){this._printHandler(e,n,r),n=r-1;break}if(++r>=t||(o=e[r])<32||o>126&&o<l){this._printHandler(e,n,r),n=r-1;break}if(++r>=t||(o=e[r])<32||o>126&&o<l){this._printHandler(e,n,r),n=r-1;break}if(++r>=t||(o=e[r])<32||o>126&&o<l){this._printHandler(e,n,r),n=r-1;break}}break;case 3:this._executeHandlers[o]?this._executeHandlers[o]():this._executeHandlerFb(o),this.precedingJoinState=0;break;case 0:break;case 1:if(this._errorHandler({position:n,code:o,currentState:this.currentState,collect:this._collect,params:this._params,abort:!1}).abort)return;break;case 7:const a=this._csiHandlers[this._collect<<8|o];let s=a?a.length-1:-1;for(;s>=0&&(r=a[s](this._params),!0!==r);s--)if(r instanceof Promise)return this._preserveStack(3,a,s,i,n),r;s<0&&this._csiHandlerFb(this._collect<<8|o,this._params),this.precedingJoinState=0;break;case 8:do{switch(o){case 59:this._params.addParam(0);break;case 58:this._params.addSubParam(-1);break;default:this._params.addDigit(o-48)}}while(++n<t&&(o=e[n])>47&&o<60);n--;break;case 9:this._collect<<=8,this._collect|=o;break;case 10:const c=this._escHandlers[this._collect<<8|o];let u=c?c.length-1:-1;for(;u>=0&&(r=c[u](),!0!==r);u--)if(r instanceof Promise)return this._preserveStack(4,c,u,i,n),r;u<0&&this._escHandlerFb(this._collect<<8|o),this.precedingJoinState=0;break;case 11:this._params.reset(),this._params.addParam(0),this._collect=0;break;case 12:this._dcsParser.hook(this._collect<<8|o,this._params);break;case 13:for(let r=n+1;;++r)if(r>=t||24===(o=e[r])||26===o||27===o||o>127&&o<l){this._dcsParser.put(e,n,r),n=r-1;break}break;case 14:if(r=this._dcsParser.unhook(24!==o&&26!==o),r)return this._preserveStack(6,[],0,i,n),r;27===o&&(i|=1),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingJoinState=0;break;case 4:this._oscParser.start();break;case 5:for(let r=n+1;;r++)if(r>=t||(o=e[r])<32||o>127&&o<l){this._oscParser.put(e,n,r),n=r-1;break}break;case 6:if(r=this._oscParser.end(24!==o&&26!==o),r)return this._preserveStack(5,[],0,i,n),r;27===o&&(i|=1),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingJoinState=0}this.currentState=15&i}}}t.EscapeSequenceParser=c},6242:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OscHandler=t.OscParser=void 0;const r=n(5770),o=n(482),i=[];t.OscParser=class{constructor(){this._state=0,this._active=i,this._id=-1,this._handlers=Object.create(null),this._handlerFb=()=>{},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}registerHandler(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);const n=this._handlers[e];return n.push(t),{dispose:()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}clearHandler(e){this._handlers[e]&&delete this._handlers[e]}setHandlerFallback(e){this._handlerFb=e}dispose(){this._handlers=Object.create(null),this._handlerFb=()=>{},this._active=i}reset(){if(2===this._state)for(let e=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;e>=0;--e)this._active[e].end(!1);this._stack.paused=!1,this._active=i,this._id=-1,this._state=0}_start(){if(this._active=this._handlers[this._id]||i,this._active.length)for(let e=this._active.length-1;e>=0;e--)this._active[e].start();else this._handlerFb(this._id,"START")}_put(e,t,n){if(this._active.length)for(let r=this._active.length-1;r>=0;r--)this._active[r].put(e,t,n);else this._handlerFb(this._id,"PUT",(0,o.utf32ToString)(e,t,n))}start(){this.reset(),this._state=1}put(e,t,n){if(3!==this._state){if(1===this._state)for(;t<n;){const n=e[t++];if(59===n){this._state=2,this._start();break}if(n<48||57<n)return void(this._state=3);-1===this._id&&(this._id=0),this._id=10*this._id+n-48}2===this._state&&n-t>0&&this._put(e,t,n)}}end(e,t=!0){if(0!==this._state){if(3!==this._state)if(1===this._state&&this._start(),this._active.length){let n=!1,r=this._active.length-1,o=!1;if(this._stack.paused&&(r=this._stack.loopPosition-1,n=t,o=this._stack.fallThrough,this._stack.paused=!1),!o&&!1===n){for(;r>=0&&(n=this._active[r].end(e),!0!==n);r--)if(n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!1,n;r--}for(;r>=0;r--)if(n=this._active[r].end(!1),n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!0,n}else this._handlerFb(this._id,"END",e);this._active=i,this._id=-1,this._state=0}}},t.OscHandler=class{constructor(e){this._handler=e,this._data="",this._hitLimit=!1}start(){this._data="",this._hitLimit=!1}put(e,t,n){this._hitLimit||(this._data+=(0,o.utf32ToString)(e,t,n),this._data.length>r.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))}end(e){let t=!1;if(this._hitLimit)t=!1;else if(e&&(t=this._handler(this._data),t instanceof Promise))return t.then((e=>(this._data="",this._hitLimit=!1,e)));return this._data="",this._hitLimit=!1,t}}},8742:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Params=void 0;const n=2147483647;class r{static fromArray(e){const t=new r;if(!e.length)return t;for(let n=Array.isArray(e[0])?1:0;n<e.length;++n){const r=e[n];if(Array.isArray(r))for(let e=0;e<r.length;++e)t.addSubParam(r[e]);else t.addParam(r)}return t}constructor(e=32,t=32){if(this.maxLength=e,this.maxSubParamsLength=t,t>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(t),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}clone(){const e=new r(this.maxLength,this.maxSubParamsLength);return e.params.set(this.params),e.length=this.length,e._subParams.set(this._subParams),e._subParamsLength=this._subParamsLength,e._subParamsIdx.set(this._subParamsIdx),e._rejectDigits=this._rejectDigits,e._rejectSubDigits=this._rejectSubDigits,e._digitIsSub=this._digitIsSub,e}toArray(){const e=[];for(let t=0;t<this.length;++t){e.push(this.params[t]);const n=this._subParamsIdx[t]>>8,r=255&this._subParamsIdx[t];r-n>0&&e.push(Array.prototype.slice.call(this._subParams,n,r))}return e}reset(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}addParam(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>n?n:e}}addSubParam(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>n?n:e,this._subParamsIdx[this.length-1]++}}hasSubParams(e){return(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)>0}getSubParams(e){const t=this._subParamsIdx[e]>>8,n=255&this._subParamsIdx[e];return n-t>0?this._subParams.subarray(t,n):null}getSubParamsAll(){const e={};for(let t=0;t<this.length;++t){const n=this._subParamsIdx[t]>>8,r=255&this._subParamsIdx[t];r-n>0&&(e[t]=this._subParams.slice(n,r))}return e}addDigit(e){let t;if(this._rejectDigits||!(t=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)return;const r=this._digitIsSub?this._subParams:this.params,o=r[t-1];r[t-1]=~o?Math.min(10*o+e,n):e}}t.Params=r},5741:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AddonManager=void 0,t.AddonManager=class{constructor(){this._addons=[]}dispose(){for(let e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()}loadAddon(e,t){const n={instance:t,dispose:t.dispose,isDisposed:!1};this._addons.push(n),t.dispose=()=>this._wrappedAddonDispose(n),t.activate(e)}_wrappedAddonDispose(e){if(e.isDisposed)return;let t=-1;for(let n=0;n<this._addons.length;n++)if(this._addons[n]===e){t=n;break}if(-1===t)throw new Error("Could not dispose an addon that has not been loaded");e.isDisposed=!0,e.dispose.apply(e.instance),this._addons.splice(t,1)}}},8771:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferApiView=void 0;const r=n(3785),o=n(511);t.BufferApiView=class{constructor(e,t){this._buffer=e,this.type=t}init(e){return this._buffer=e,this}get cursorY(){return this._buffer.y}get cursorX(){return this._buffer.x}get viewportY(){return this._buffer.ydisp}get baseY(){return this._buffer.ybase}get length(){return this._buffer.lines.length}getLine(e){const t=this._buffer.lines.get(e);if(t)return new r.BufferLineApiView(t)}getNullCell(){return new o.CellData}}},3785:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferLineApiView=void 0;const r=n(511);t.BufferLineApiView=class{constructor(e){this._line=e}get isWrapped(){return this._line.isWrapped}get length(){return this._line.length}getCell(e,t){if(!(e<0||e>=this._line.length))return t?(this._line.loadCell(e,t),t):this._line.loadCell(e,new r.CellData)}translateToString(e,t,n){return this._line.translateToString(e,t,n)}}},8285:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferNamespaceApi=void 0;const r=n(8771),o=n(8460),i=n(844);class a extends i.Disposable{constructor(e){super(),this._core=e,this._onBufferChange=this.register(new o.EventEmitter),this.onBufferChange=this._onBufferChange.event,this._normal=new r.BufferApiView(this._core.buffers.normal,"normal"),this._alternate=new r.BufferApiView(this._core.buffers.alt,"alternate"),this._core.buffers.onBufferActivate((()=>this._onBufferChange.fire(this.active)))}get active(){if(this._core.buffers.active===this._core.buffers.normal)return this.normal;if(this._core.buffers.active===this._core.buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")}get normal(){return this._normal.init(this._core.buffers.normal)}get alternate(){return this._alternate.init(this._core.buffers.alt)}}t.BufferNamespaceApi=a},7975:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ParserApi=void 0,t.ParserApi=class{constructor(e){this._core=e}registerCsiHandler(e,t){return this._core.registerCsiHandler(e,(e=>t(e.toArray())))}addCsiHandler(e,t){return this.registerCsiHandler(e,t)}registerDcsHandler(e,t){return this._core.registerDcsHandler(e,((e,n)=>t(e,n.toArray())))}addDcsHandler(e,t){return this.registerDcsHandler(e,t)}registerEscHandler(e,t){return this._core.registerEscHandler(e,t)}addEscHandler(e,t){return this.registerEscHandler(e,t)}registerOscHandler(e,t){return this._core.registerOscHandler(e,t)}addOscHandler(e,t){return this.registerOscHandler(e,t)}}},7090:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeApi=void 0,t.UnicodeApi=class{constructor(e){this._core=e}register(e){this._core.unicodeService.register(e)}get versions(){return this._core.unicodeService.versions}get activeVersion(){return this._core.unicodeService.activeVersion}set activeVersion(e){this._core.unicodeService.activeVersion=e}}},744:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferService=t.MINIMUM_ROWS=t.MINIMUM_COLS=void 0;const i=n(8460),a=n(844),s=n(5295),l=n(2585);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;let c=t.BufferService=class extends a.Disposable{get buffer(){return this.buffers.active}constructor(e){super(),this.isUserScrolling=!1,this._onResize=this.register(new i.EventEmitter),this.onResize=this._onResize.event,this._onScroll=this.register(new i.EventEmitter),this.onScroll=this._onScroll.event,this.cols=Math.max(e.rawOptions.cols||0,t.MINIMUM_COLS),this.rows=Math.max(e.rawOptions.rows||0,t.MINIMUM_ROWS),this.buffers=this.register(new s.BufferSet(e,this))}resize(e,t){this.cols=e,this.rows=t,this.buffers.resize(e,t),this._onResize.fire({cols:e,rows:t})}reset(){this.buffers.reset(),this.isUserScrolling=!1}scroll(e,t=!1){const n=this.buffer;let r;r=this._cachedBlankLine,r&&r.length===this.cols&&r.getFg(0)===e.fg&&r.getBg(0)===e.bg||(r=n.getBlankLine(e,t),this._cachedBlankLine=r),r.isWrapped=t;const o=n.ybase+n.scrollTop,i=n.ybase+n.scrollBottom;if(0===n.scrollTop){const e=n.lines.isFull;i===n.lines.length-1?e?n.lines.recycle().copyFrom(r):n.lines.push(r.clone()):n.lines.splice(i+1,0,r.clone()),e?this.isUserScrolling&&(n.ydisp=Math.max(n.ydisp-1,0)):(n.ybase++,this.isUserScrolling||n.ydisp++)}else{const e=i-o+1;n.lines.shiftElements(o+1,e-1,-1),n.lines.set(i,r.clone())}this.isUserScrolling||(n.ydisp=n.ybase),this._onScroll.fire(n.ydisp)}scrollLines(e,t,n){const r=this.buffer;if(e<0){if(0===r.ydisp)return;this.isUserScrolling=!0}else e+r.ydisp>=r.ybase&&(this.isUserScrolling=!1);const o=r.ydisp;r.ydisp=Math.max(Math.min(r.ydisp+e,r.ybase),0),o!==r.ydisp&&(t||this._onScroll.fire(r.ydisp))}};t.BufferService=c=r([o(0,l.IOptionsService)],c)},7994:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CharsetService=void 0,t.CharsetService=class{constructor(){this.glevel=0,this._charsets=[]}reset(){this.charset=void 0,this._charsets=[],this.glevel=0}setgLevel(e){this.glevel=e,this.charset=this._charsets[e]}setgCharset(e,t){this._charsets[e]=t,this.glevel===e&&(this.charset=t)}}},1753:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreMouseService=void 0;const i=n(2585),a=n(8460),s=n(844),l={NONE:{events:0,restrict:()=>!1},X10:{events:1,restrict:e=>4!==e.button&&1===e.action&&(e.ctrl=!1,e.alt=!1,e.shift=!1,!0)},VT200:{events:19,restrict:e=>32!==e.action},DRAG:{events:23,restrict:e=>32!==e.action||3!==e.button},ANY:{events:31,restrict:e=>!0}};function c(e,t){let n=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return 4===e.button?(n|=64,n|=e.action):(n|=3&e.button,4&e.button&&(n|=64),8&e.button&&(n|=128),32===e.action?n|=32:0!==e.action||t||(n|=3)),n}const u=String.fromCharCode,d={DEFAULT:e=>{const t=[c(e,!1)+32,e.col+32,e.row+32];return t[0]>255||t[1]>255||t[2]>255?"":`${u(t[0])}${u(t[1])}${u(t[2])}`},SGR:e=>{const t=0===e.action&&4!==e.button?"m":"M";return`[<${c(e,!0)};${e.col};${e.row}${t}`},SGR_PIXELS:e=>{const t=0===e.action&&4!==e.button?"m":"M";return`[<${c(e,!0)};${e.x};${e.y}${t}`}};let f=t.CoreMouseService=class extends s.Disposable{constructor(e,t){super(),this._bufferService=e,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._lastEvent=null,this._onProtocolChange=this.register(new a.EventEmitter),this.onProtocolChange=this._onProtocolChange.event;for(const e of Object.keys(l))this.addProtocol(e,l[e]);for(const e of Object.keys(d))this.addEncoding(e,d[e]);this.reset()}addProtocol(e,t){this._protocols[e]=t}addEncoding(e,t){this._encodings[e]=t}get activeProtocol(){return this._activeProtocol}get areMouseEventsActive(){return 0!==this._protocols[this._activeProtocol].events}set activeProtocol(e){if(!this._protocols[e])throw new Error(`unknown protocol "${e}"`);this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)}get activeEncoding(){return this._activeEncoding}set activeEncoding(e){if(!this._encodings[e])throw new Error(`unknown encoding "${e}"`);this._activeEncoding=e}reset(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null}triggerMouseEvent(e){if(e.col<0||e.col>=this._bufferService.cols||e.row<0||e.row>=this._bufferService.rows)return!1;if(4===e.button&&32===e.action)return!1;if(3===e.button&&32!==e.action)return!1;if(4!==e.button&&(2===e.action||3===e.action))return!1;if(e.col++,e.row++,32===e.action&&this._lastEvent&&this._equalEvents(this._lastEvent,e,"SGR_PIXELS"===this._activeEncoding))return!1;if(!this._protocols[this._activeProtocol].restrict(e))return!1;const t=this._encodings[this._activeEncoding](e);return t&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=e,!0}explainEvents(e){return{down:!!(1&e),up:!!(2&e),drag:!!(4&e),move:!!(8&e),wheel:!!(16&e)}}_equalEvents(e,t,n){if(n){if(e.x!==t.x)return!1;if(e.y!==t.y)return!1}else{if(e.col!==t.col)return!1;if(e.row!==t.row)return!1}return e.button===t.button&&e.action===t.action&&e.ctrl===t.ctrl&&e.alt===t.alt&&e.shift===t.shift}};t.CoreMouseService=f=r([o(0,i.IBufferService),o(1,i.ICoreService)],f)},6975:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreService=void 0;const i=n(1439),a=n(8460),s=n(844),l=n(2585),c=Object.freeze({insertMode:!1}),u=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0});let d=t.CoreService=class extends s.Disposable{constructor(e,t,n){super(),this._bufferService=e,this._logService=t,this._optionsService=n,this.isCursorInitialized=!1,this.isCursorHidden=!1,this._onData=this.register(new a.EventEmitter),this.onData=this._onData.event,this._onUserInput=this.register(new a.EventEmitter),this.onUserInput=this._onUserInput.event,this._onBinary=this.register(new a.EventEmitter),this.onBinary=this._onBinary.event,this._onRequestScrollToBottom=this.register(new a.EventEmitter),this.onRequestScrollToBottom=this._onRequestScrollToBottom.event,this.modes=(0,i.clone)(c),this.decPrivateModes=(0,i.clone)(u)}reset(){this.modes=(0,i.clone)(c),this.decPrivateModes=(0,i.clone)(u)}triggerDataEvent(e,t=!1){if(this._optionsService.rawOptions.disableStdin)return;const n=this._bufferService.buffer;t&&this._optionsService.rawOptions.scrollOnUserInput&&n.ybase!==n.ydisp&&this._onRequestScrollToBottom.fire(),t&&this._onUserInput.fire(),this._logService.debug(`sending data "${e}"`,(()=>e.split("").map((e=>e.charCodeAt(0))))),this._onData.fire(e)}triggerBinaryEvent(e){this._optionsService.rawOptions.disableStdin||(this._logService.debug(`sending binary "${e}"`,(()=>e.split("").map((e=>e.charCodeAt(0))))),this._onBinary.fire(e))}};t.CoreService=d=r([o(0,l.IBufferService),o(1,l.ILogService),o(2,l.IOptionsService)],d)},9074:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DecorationService=void 0;const r=n(8055),o=n(8460),i=n(844),a=n(6106);let s=0,l=0;class c extends i.Disposable{get decorations(){return this._decorations.values()}constructor(){super(),this._decorations=new a.SortedList((e=>e?.marker.line)),this._onDecorationRegistered=this.register(new o.EventEmitter),this.onDecorationRegistered=this._onDecorationRegistered.event,this._onDecorationRemoved=this.register(new o.EventEmitter),this.onDecorationRemoved=this._onDecorationRemoved.event,this.register((0,i.toDisposable)((()=>this.reset())))}registerDecoration(e){if(e.marker.isDisposed)return;const t=new u(e);if(t){const e=t.marker.onDispose((()=>t.dispose()));t.onDispose((()=>{t&&(this._decorations.delete(t)&&this._onDecorationRemoved.fire(t),e.dispose())})),this._decorations.insert(t),this._onDecorationRegistered.fire(t)}return t}reset(){for(const e of this._decorations.values())e.dispose();this._decorations.clear()}*getDecorationsAtCell(e,t,n){let r=0,o=0;for(const i of this._decorations.getKeyIterator(t))r=i.options.x??0,o=r+(i.options.width??1),e>=r&&e<o&&(!n||(i.options.layer??"bottom")===n)&&(yield i)}forEachDecorationAtCell(e,t,n,r){this._decorations.forEachByKey(t,(t=>{s=t.options.x??0,l=s+(t.options.width??1),e>=s&&e<l&&(!n||(t.options.layer??"bottom")===n)&&r(t)}))}}t.DecorationService=c;class u extends i.Disposable{get isDisposed(){return this._isDisposed}get backgroundColorRGB(){return null===this._cachedBg&&(this.options.backgroundColor?this._cachedBg=r.css.toColor(this.options.backgroundColor):this._cachedBg=void 0),this._cachedBg}get foregroundColorRGB(){return null===this._cachedFg&&(this.options.foregroundColor?this._cachedFg=r.css.toColor(this.options.foregroundColor):this._cachedFg=void 0),this._cachedFg}constructor(e){super(),this.options=e,this.onRenderEmitter=this.register(new o.EventEmitter),this.onRender=this.onRenderEmitter.event,this._onDispose=this.register(new o.EventEmitter),this.onDispose=this._onDispose.event,this._cachedBg=null,this._cachedFg=null,this.marker=e.marker,this.options.overviewRulerOptions&&!this.options.overviewRulerOptions.position&&(this.options.overviewRulerOptions.position="full")}dispose(){this._onDispose.fire(),super.dispose()}}},4348:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InstantiationService=t.ServiceCollection=void 0;const r=n(2585),o=n(8343);class i{constructor(...e){this._entries=new Map;for(const[t,n]of e)this.set(t,n)}set(e,t){const n=this._entries.get(e);return this._entries.set(e,t),n}forEach(e){for(const[t,n]of this._entries.entries())e(t,n)}has(e){return this._entries.has(e)}get(e){return this._entries.get(e)}}t.ServiceCollection=i,t.InstantiationService=class{constructor(){this._services=new i,this._services.set(r.IInstantiationService,this)}setService(e,t){this._services.set(e,t)}getService(e){return this._services.get(e)}createInstance(e,...t){const n=(0,o.getServiceDependencies)(e).sort(((e,t)=>e.index-t.index)),r=[];for(const t of n){const n=this._services.get(t.id);if(!n)throw new Error(`[createInstance] ${e.name} depends on UNKNOWN service ${t.id}.`);r.push(n)}const i=n.length>0?n[0].index:t.length;if(t.length!==i)throw new Error(`[createInstance] First service dependency of ${e.name} at position ${i+1} conflicts with ${t.length} static arguments`);return new e(...[...t,...r])}}},7866:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.traceCall=t.setTraceLogger=t.LogService=void 0;const i=n(844),a=n(2585),s={trace:a.LogLevelEnum.TRACE,debug:a.LogLevelEnum.DEBUG,info:a.LogLevelEnum.INFO,warn:a.LogLevelEnum.WARN,error:a.LogLevelEnum.ERROR,off:a.LogLevelEnum.OFF};let l,c=t.LogService=class extends i.Disposable{get logLevel(){return this._logLevel}constructor(e){super(),this._optionsService=e,this._logLevel=a.LogLevelEnum.OFF,this._updateLogLevel(),this.register(this._optionsService.onSpecificOptionChange("logLevel",(()=>this._updateLogLevel()))),l=this}_updateLogLevel(){this._logLevel=s[this._optionsService.rawOptions.logLevel]}_evalLazyOptionalParams(e){for(let t=0;t<e.length;t++)"function"==typeof e[t]&&(e[t]=e[t]())}_log(e,t,n){this._evalLazyOptionalParams(n),e.call(console,(this._optionsService.options.logger?"":"xterm.js: ")+t,...n)}trace(e,...t){this._logLevel<=a.LogLevelEnum.TRACE&&this._log(this._optionsService.options.logger?.trace.bind(this._optionsService.options.logger)??console.log,e,t)}debug(e,...t){this._logLevel<=a.LogLevelEnum.DEBUG&&this._log(this._optionsService.options.logger?.debug.bind(this._optionsService.options.logger)??console.log,e,t)}info(e,...t){this._logLevel<=a.LogLevelEnum.INFO&&this._log(this._optionsService.options.logger?.info.bind(this._optionsService.options.logger)??console.info,e,t)}warn(e,...t){this._logLevel<=a.LogLevelEnum.WARN&&this._log(this._optionsService.options.logger?.warn.bind(this._optionsService.options.logger)??console.warn,e,t)}error(e,...t){this._logLevel<=a.LogLevelEnum.ERROR&&this._log(this._optionsService.options.logger?.error.bind(this._optionsService.options.logger)??console.error,e,t)}};t.LogService=c=r([o(0,a.IOptionsService)],c),t.setTraceLogger=function(e){l=e},t.traceCall=function(e,t,n){if("function"!=typeof n.value)throw new Error("not supported");const r=n.value;n.value=function(...e){if(l.logLevel!==a.LogLevelEnum.TRACE)return r.apply(this,e);l.trace(`GlyphRenderer#${r.name}(${e.map((e=>JSON.stringify(e))).join(", ")})`);const t=r.apply(this,e);return l.trace(`GlyphRenderer#${r.name} return`,t),t}}},7302:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OptionsService=t.DEFAULT_OPTIONS=void 0;const r=n(8460),o=n(844),i=n(6114);t.DEFAULT_OPTIONS={cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,cursorInactiveStyle:"outline",customGlyphs:!0,drawBoldTextInBrightColors:!0,documentOverride:null,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",ignoreBracketedPasteMode:!1,lineHeight:1,letterSpacing:0,linkHandler:null,logLevel:"info",logger:null,scrollback:1e3,scrollOnUserInput:!0,scrollSensitivity:1,screenReaderMode:!1,smoothScrollDuration:0,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!1,allowTransparency:!1,tabStopWidth:8,theme:{},rescaleOverlappingGlyphs:!1,rightClickSelectsWord:i.isMac,windowOptions:{},windowsMode:!1,windowsPty:{},wordSeparator:" ()[]{}',\"`",altClickMovesCursor:!0,convertEol:!1,termName:"xterm",cancelEvents:!1,overviewRulerWidth:0};const a=["normal","bold","100","200","300","400","500","600","700","800","900"];class s extends o.Disposable{constructor(e){super(),this._onOptionChange=this.register(new r.EventEmitter),this.onOptionChange=this._onOptionChange.event;const n={...t.DEFAULT_OPTIONS};for(const t in e)if(t in n)try{const r=e[t];n[t]=this._sanitizeAndValidateOption(t,r)}catch(e){console.error(e)}this.rawOptions=n,this.options={...n},this._setupOptions(),this.register((0,o.toDisposable)((()=>{this.rawOptions.linkHandler=null,this.rawOptions.documentOverride=null})))}onSpecificOptionChange(e,t){return this.onOptionChange((n=>{n===e&&t(this.rawOptions[e])}))}onMultipleOptionChange(e,t){return this.onOptionChange((n=>{-1!==e.indexOf(n)&&t()}))}_setupOptions(){const e=e=>{if(!(e in t.DEFAULT_OPTIONS))throw new Error(`No option with key "${e}"`);return this.rawOptions[e]},n=(e,n)=>{if(!(e in t.DEFAULT_OPTIONS))throw new Error(`No option with key "${e}"`);n=this._sanitizeAndValidateOption(e,n),this.rawOptions[e]!==n&&(this.rawOptions[e]=n,this._onOptionChange.fire(e))};for(const t in this.rawOptions){const r={get:e.bind(this,t),set:n.bind(this,t)};Object.defineProperty(this.options,t,r)}}_sanitizeAndValidateOption(e,n){switch(e){case"cursorStyle":if(n||(n=t.DEFAULT_OPTIONS[e]),!function(e){return"block"===e||"underline"===e||"bar"===e}(n))throw new Error(`"${n}" is not a valid value for ${e}`);break;case"wordSeparator":n||(n=t.DEFAULT_OPTIONS[e]);break;case"fontWeight":case"fontWeightBold":if("number"==typeof n&&1<=n&&n<=1e3)break;n=a.includes(n)?n:t.DEFAULT_OPTIONS[e];break;case"cursorWidth":n=Math.floor(n);case"lineHeight":case"tabStopWidth":if(n<1)throw new Error(`${e} cannot be less than 1, value: ${n}`);break;case"minimumContrastRatio":n=Math.max(1,Math.min(21,Math.round(10*n)/10));break;case"scrollback":if((n=Math.min(n,4294967295))<0)throw new Error(`${e} cannot be less than 0, value: ${n}`);break;case"fastScrollSensitivity":case"scrollSensitivity":if(n<=0)throw new Error(`${e} cannot be less than or equal to 0, value: ${n}`);break;case"rows":case"cols":if(!n&&0!==n)throw new Error(`${e} must be numeric, value: ${n}`);break;case"windowsPty":n=n??{}}return n}}t.OptionsService=s},2660:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.OscLinkService=void 0;const i=n(2585);let a=t.OscLinkService=class{constructor(e){this._bufferService=e,this._nextId=1,this._entriesWithId=new Map,this._dataByLinkId=new Map}registerLink(e){const t=this._bufferService.buffer;if(void 0===e.id){const n=t.addMarker(t.ybase+t.y),r={data:e,id:this._nextId++,lines:[n]};return n.onDispose((()=>this._removeMarkerFromLink(r,n))),this._dataByLinkId.set(r.id,r),r.id}const n=e,r=this._getEntryIdKey(n),o=this._entriesWithId.get(r);if(o)return this.addLineToLink(o.id,t.ybase+t.y),o.id;const i=t.addMarker(t.ybase+t.y),a={id:this._nextId++,key:this._getEntryIdKey(n),data:n,lines:[i]};return i.onDispose((()=>this._removeMarkerFromLink(a,i))),this._entriesWithId.set(a.key,a),this._dataByLinkId.set(a.id,a),a.id}addLineToLink(e,t){const n=this._dataByLinkId.get(e);if(n&&n.lines.every((e=>e.line!==t))){const e=this._bufferService.buffer.addMarker(t);n.lines.push(e),e.onDispose((()=>this._removeMarkerFromLink(n,e)))}}getLinkData(e){return this._dataByLinkId.get(e)?.data}_getEntryIdKey(e){return`${e.id};;${e.uri}`}_removeMarkerFromLink(e,t){const n=e.lines.indexOf(t);-1!==n&&(e.lines.splice(n,1),0===e.lines.length&&(void 0!==e.data.id&&this._entriesWithId.delete(e.key),this._dataByLinkId.delete(e.id)))}};t.OscLinkService=a=r([o(0,i.IBufferService)],a)},8343:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createDecorator=t.getServiceDependencies=t.serviceRegistry=void 0;const n="di$target",r="di$dependencies";t.serviceRegistry=new Map,t.getServiceDependencies=function(e){return e[r]||[]},t.createDecorator=function(e){if(t.serviceRegistry.has(e))return t.serviceRegistry.get(e);const o=function(e,t,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");!function(e,t,o){t[n]===t?t[r].push({id:e,index:o}):(t[r]=[{id:e,index:o}],t[n]=t)}(o,e,i)};return o.toString=()=>e,t.serviceRegistry.set(e,o),o}},2585:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IDecorationService=t.IUnicodeService=t.IOscLinkService=t.IOptionsService=t.ILogService=t.LogLevelEnum=t.IInstantiationService=t.ICharsetService=t.ICoreService=t.ICoreMouseService=t.IBufferService=void 0;const r=n(8343);var o;t.IBufferService=(0,r.createDecorator)("BufferService"),t.ICoreMouseService=(0,r.createDecorator)("CoreMouseService"),t.ICoreService=(0,r.createDecorator)("CoreService"),t.ICharsetService=(0,r.createDecorator)("CharsetService"),t.IInstantiationService=(0,r.createDecorator)("InstantiationService"),function(e){e[e.TRACE=0]="TRACE",e[e.DEBUG=1]="DEBUG",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.OFF=5]="OFF"}(o||(t.LogLevelEnum=o={})),t.ILogService=(0,r.createDecorator)("LogService"),t.IOptionsService=(0,r.createDecorator)("OptionsService"),t.IOscLinkService=(0,r.createDecorator)("OscLinkService"),t.IUnicodeService=(0,r.createDecorator)("UnicodeService"),t.IDecorationService=(0,r.createDecorator)("DecorationService")},1480:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeService=void 0;const r=n(8460),o=n(225);class i{static extractShouldJoin(e){return!!(1&e)}static extractWidth(e){return e>>1&3}static extractCharKind(e){return e>>3}static createPropertyValue(e,t,n=!1){return(16777215&e)<<3|(3&t)<<1|(n?1:0)}constructor(){this._providers=Object.create(null),this._active="",this._onChange=new r.EventEmitter,this.onChange=this._onChange.event;const e=new o.UnicodeV6;this.register(e),this._active=e.version,this._activeProvider=e}dispose(){this._onChange.dispose()}get versions(){return Object.keys(this._providers)}get activeVersion(){return this._active}set activeVersion(e){if(!this._providers[e])throw new Error(`unknown Unicode version "${e}"`);this._active=e,this._activeProvider=this._providers[e],this._onChange.fire(e)}register(e){this._providers[e.version]=e}wcwidth(e){return this._activeProvider.wcwidth(e)}getStringCellWidth(e){let t=0,n=0;const r=e.length;for(let o=0;o<r;++o){let a=e.charCodeAt(o);if(55296<=a&&a<=56319){if(++o>=r)return t+this.wcwidth(a);const n=e.charCodeAt(o);56320<=n&&n<=57343?a=1024*(a-55296)+n-56320+65536:t+=this.wcwidth(n)}const s=this.charProperties(a,n);let l=i.extractWidth(s);i.extractShouldJoin(s)&&(l-=i.extractWidth(n)),t+=l,n=s}return t}charProperties(e,t){return this._activeProvider.charProperties(e,t)}}t.UnicodeService=i}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}var r={};return(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.Terminal=void 0;const t=n(9042),o=n(3236),i=n(844),a=n(5741),s=n(8285),l=n(7975),c=n(7090),u=["cols","rows"];class d extends i.Disposable{constructor(e){super(),this._core=this.register(new o.Terminal(e)),this._addonManager=this.register(new a.AddonManager),this._publicOptions={...this._core.options};const t=e=>this._core.options[e],n=(e,t)=>{this._checkReadonlyOptions(e),this._core.options[e]=t};for(const e in this._core.options){const r={get:t.bind(this,e),set:n.bind(this,e)};Object.defineProperty(this._publicOptions,e,r)}}_checkReadonlyOptions(e){if(u.includes(e))throw new Error(`Option "${e}" can only be set in the constructor`)}_checkProposedApi(){if(!this._core.optionsService.rawOptions.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")}get onBell(){return this._core.onBell}get onBinary(){return this._core.onBinary}get onCursorMove(){return this._core.onCursorMove}get onData(){return this._core.onData}get onKey(){return this._core.onKey}get onLineFeed(){return this._core.onLineFeed}get onRender(){return this._core.onRender}get onResize(){return this._core.onResize}get onScroll(){return this._core.onScroll}get onSelectionChange(){return this._core.onSelectionChange}get onTitleChange(){return this._core.onTitleChange}get onWriteParsed(){return this._core.onWriteParsed}get element(){return this._core.element}get parser(){return this._parser||(this._parser=new l.ParserApi(this._core)),this._parser}get unicode(){return this._checkProposedApi(),new c.UnicodeApi(this._core)}get textarea(){return this._core.textarea}get rows(){return this._core.rows}get cols(){return this._core.cols}get buffer(){return this._buffer||(this._buffer=this.register(new s.BufferNamespaceApi(this._core))),this._buffer}get markers(){return this._checkProposedApi(),this._core.markers}get modes(){const e=this._core.coreService.decPrivateModes;let t="none";switch(this._core.coreMouseService.activeProtocol){case"X10":t="x10";break;case"VT200":t="vt200";break;case"DRAG":t="drag";break;case"ANY":t="any"}return{applicationCursorKeysMode:e.applicationCursorKeys,applicationKeypadMode:e.applicationKeypad,bracketedPasteMode:e.bracketedPasteMode,insertMode:this._core.coreService.modes.insertMode,mouseTrackingMode:t,originMode:e.origin,reverseWraparoundMode:e.reverseWraparound,sendFocusMode:e.sendFocus,wraparoundMode:e.wraparound}}get options(){return this._publicOptions}set options(e){for(const t in e)this._publicOptions[t]=e[t]}blur(){this._core.blur()}focus(){this._core.focus()}input(e,t=!0){this._core.input(e,t)}resize(e,t){this._verifyIntegers(e,t),this._core.resize(e,t)}open(e){this._core.open(e)}attachCustomKeyEventHandler(e){this._core.attachCustomKeyEventHandler(e)}attachCustomWheelEventHandler(e){this._core.attachCustomWheelEventHandler(e)}registerLinkProvider(e){return this._core.registerLinkProvider(e)}registerCharacterJoiner(e){return this._checkProposedApi(),this._core.registerCharacterJoiner(e)}deregisterCharacterJoiner(e){this._checkProposedApi(),this._core.deregisterCharacterJoiner(e)}registerMarker(e=0){return this._verifyIntegers(e),this._core.registerMarker(e)}registerDecoration(e){return this._checkProposedApi(),this._verifyPositiveIntegers(e.x??0,e.width??0,e.height??0),this._core.registerDecoration(e)}hasSelection(){return this._core.hasSelection()}select(e,t,n){this._verifyIntegers(e,t,n),this._core.select(e,t,n)}getSelection(){return this._core.getSelection()}getSelectionPosition(){return this._core.getSelectionPosition()}clearSelection(){this._core.clearSelection()}selectAll(){this._core.selectAll()}selectLines(e,t){this._verifyIntegers(e,t),this._core.selectLines(e,t)}dispose(){super.dispose()}scrollLines(e){this._verifyIntegers(e),this._core.scrollLines(e)}scrollPages(e){this._verifyIntegers(e),this._core.scrollPages(e)}scrollToTop(){this._core.scrollToTop()}scrollToBottom(){this._core.scrollToBottom()}scrollToLine(e){this._verifyIntegers(e),this._core.scrollToLine(e)}clear(){this._core.clear()}write(e,t){this._core.write(e,t)}writeln(e,t){this._core.write(e),this._core.write("\r\n",t)}paste(e){this._core.paste(e)}refresh(e,t){this._verifyIntegers(e,t),this._core.refresh(e,t)}reset(){this._core.reset()}clearTextureAtlas(){this._core.clearTextureAtlas()}loadAddon(e){this._addonManager.loadAddon(this,e)}static get strings(){return t}_verifyIntegers(...e){for(const t of e)if(t===1/0||isNaN(t)||t%1!=0)throw new Error("This API only accepts integers")}_verifyPositiveIntegers(...e){for(const t of e)if(t&&(t===1/0||isNaN(t)||t%1!=0||t<0))throw new Error("This API only accepts positive integers")}}e.Terminal=d})(),r})(),e.exports=t()},97859:function(e,t){"use strict";t.A=function(e){return null==e}},98026:function(e,t,n){"use strict";n.r(t),n.d(t,{HashMap:function(){return se},RADIAN_TO_DEGREE:function(){return pe},assert:function(){return ee},bind:function(){return M},clone:function(){return v},concatArray:function(){return ce},createCanvas:function(){return _},createHashMap:function(){return le},createObject:function(){return ue},curry:function(){return z},defaults:function(){return w},disableUserSelect:function(){return de},each:function(){return B},eqNaN:function(){return q},extend:function(){return b},filter:function(){return E},find:function(){return P},guid:function(){return g},hasOwn:function(){return fe},indexOf:function(){return x},inherits:function(){return S},isArray:function(){return R},isArrayLike:function(){return C},isBuiltInObject:function(){return U},isDom:function(){return H},isFunction:function(){return D},isGradientObject:function(){return W},isImagePatternObject:function(){return X},isNumber:function(){return L},isObject:function(){return V},isPrimitive:function(){return oe},isRegExp:function(){return j},isString:function(){return I},isStringSafe:function(){return N},isTypedArray:function(){return F},keys:function(){return $},logError:function(){return A},map:function(){return Q},merge:function(){return y},mergeAll:function(){return O},mixin:function(){return k},noop:function(){return he},normalizeCssArray:function(){return J},reduce:function(){return T},retrieve:function(){return Z},retrieve2:function(){return Y},retrieve3:function(){return G},setAsPrimitive:function(){return re},slice:function(){return K},trim:function(){return te}});var r=n(59741),o=T(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(e,t){return e["[object "+t+"]"]=!0,e}),{}),i=T(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(e,t){return e["[object "+t+"Array]"]=!0,e}),{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,c=s.filter,u=s.slice,d=s.map,f=function(){}.constructor,h=f?f.prototype:null,p="__proto__",m=2311;function g(){return m++}function A(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];"undefined"!=typeof console&&console.error.apply(console,e)}function v(e){if(null==e||"object"!=typeof e)return e;var t=e,n=a.call(e);if("[object Array]"===n){if(!oe(e)){t=[];for(var r=0,s=e.length;r<s;r++)t[r]=v(e[r])}}else if(i[n]){if(!oe(e)){var l=e.constructor;if(l.from)t=l.from(e);else for(t=new l(e.length),r=0,s=e.length;r<s;r++)t[r]=e[r]}}else if(!o[n]&&!oe(e)&&!H(e))for(var c in t={},e)e.hasOwnProperty(c)&&c!==p&&(t[c]=v(e[c]));return t}function y(e,t,n){if(!V(t)||!V(e))return n?v(t):e;for(var r in t)if(t.hasOwnProperty(r)&&r!==p){var o=e[r],i=t[r];!V(i)||!V(o)||R(i)||R(o)||H(i)||H(o)||U(i)||U(o)||oe(i)||oe(o)?!n&&r in e||(e[r]=v(t[r])):y(o,i,n)}return e}function O(e,t){for(var n=e[0],r=1,o=e.length;r<o;r++)n=y(n,e[r],t);return n}function b(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!==p&&(e[n]=t[n]);return e}function w(e,t,n){for(var r=$(t),o=0,i=r.length;o<i;o++){var a=r[o];(n?null!=t[a]:null==e[a])&&(e[a]=t[a])}return e}var _=r.yh.createCanvas;function x(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1}function S(e,t){var n=e.prototype;function r(){}for(var o in r.prototype=t.prototype,e.prototype=new r,n)n.hasOwnProperty(o)&&(e.prototype[o]=n[o]);e.prototype.constructor=e,e.superClass=t}function k(e,t,n){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++){var i=r[o];"constructor"!==i&&(n?null!=t[i]:null==e[i])&&(e[i]=t[i])}else w(e,t,n)}function C(e){return!!e&&"string"!=typeof e&&"number"==typeof e.length}function B(e,t,n){if(e&&t)if(e.forEach&&e.forEach===l)e.forEach(t,n);else if(e.length===+e.length)for(var r=0,o=e.length;r<o;r++)t.call(n,e[r],r,e);else for(var i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function Q(e,t,n){if(!e)return[];if(!t)return K(e);if(e.map&&e.map===d)return e.map(t,n);for(var r=[],o=0,i=e.length;o<i;o++)r.push(t.call(n,e[o],o,e));return r}function T(e,t,n,r){if(e&&t){for(var o=0,i=e.length;o<i;o++)n=t.call(r,n,e[o],o,e);return n}}function E(e,t,n){if(!e)return[];if(!t)return K(e);if(e.filter&&e.filter===c)return e.filter(t,n);for(var r=[],o=0,i=e.length;o<i;o++)t.call(n,e[o],o,e)&&r.push(e[o]);return r}function P(e,t,n){if(e&&t)for(var r=0,o=e.length;r<o;r++)if(t.call(n,e[r],r,e))return e[r]}function $(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}var M=h&&D(h.bind)?h.call.bind(h.bind):function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return e.apply(t,n.concat(u.call(arguments)))}};function z(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(this,t.concat(u.call(arguments)))}}function R(e){return Array.isArray?Array.isArray(e):"[object Array]"===a.call(e)}function D(e){return"function"==typeof e}function I(e){return"string"==typeof e}function N(e){return"[object String]"===a.call(e)}function L(e){return"number"==typeof e}function V(e){var t=typeof e;return"function"===t||!!e&&"object"===t}function U(e){return!!o[a.call(e)]}function F(e){return!!i[a.call(e)]}function H(e){return"object"==typeof e&&"number"==typeof e.nodeType&&"object"==typeof e.ownerDocument}function W(e){return null!=e.colorStops}function X(e){return null!=e.image}function j(e){return"[object RegExp]"===a.call(e)}function q(e){return e!=e}function Z(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e.length;n<r;n++)if(null!=e[n])return e[n]}function Y(e,t){return null!=e?e:t}function G(e,t,n){return null!=e?e:null!=t?t:n}function K(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return u.apply(e,t)}function J(e){if("number"==typeof e)return[e,e,e,e];var t=e.length;return 2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e}function ee(e,t){if(!e)throw new Error(t)}function te(e){return null==e?null:"function"==typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var ne="__ec_primitive__";function re(e){e[ne]=!0}function oe(e){return e[ne]}var ie=function(){function e(){this.data={}}return e.prototype.delete=function(e){var t=this.has(e);return t&&delete this.data[e],t},e.prototype.has=function(e){return this.data.hasOwnProperty(e)},e.prototype.get=function(e){return this.data[e]},e.prototype.set=function(e,t){return this.data[e]=t,this},e.prototype.keys=function(){return $(this.data)},e.prototype.forEach=function(e){var t=this.data;for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},e}(),ae="function"==typeof Map,se=function(){function e(t){var n=R(t);this.data=ae?new Map:new ie;var r=this;function o(e,t){n?r.set(e,t):r.set(t,e)}t instanceof e?t.each(o):t&&B(t,o)}return e.prototype.hasKey=function(e){return this.data.has(e)},e.prototype.get=function(e){return this.data.get(e)},e.prototype.set=function(e,t){return this.data.set(e,t),t},e.prototype.each=function(e,t){this.data.forEach((function(n,r){e.call(t,n,r)}))},e.prototype.keys=function(){var e=this.data.keys();return ae?Array.from(e):e},e.prototype.removeKey=function(e){this.data.delete(e)},e}();function le(e){return new se(e)}function ce(e,t){for(var n=new e.constructor(e.length+t.length),r=0;r<e.length;r++)n[r]=e[r];var o=e.length;for(r=0;r<t.length;r++)n[r+o]=t[r];return n}function ue(e,t){var n;if(Object.create)n=Object.create(e);else{var r=function(){};r.prototype=e,n=new r}return t&&b(n,t),n}function de(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function fe(e,t){return e.hasOwnProperty(t)}function he(){}var pe=180/Math.PI},98036:function(){window.tinymce.Resource.add("tinymce.plugins.emoticons",{grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:"😀",fitzpatrick_scale:!1,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:"😬",fitzpatrick_scale:!1,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:"😁",fitzpatrick_scale:!1,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:"😂",fitzpatrick_scale:!1,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:"🤣",fitzpatrick_scale:!1,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:"🥳",fitzpatrick_scale:!1,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:"😃",fitzpatrick_scale:!1,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:"😄",fitzpatrick_scale:!1,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:"😅",fitzpatrick_scale:!1,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:"😆",fitzpatrick_scale:!1,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:"😇",fitzpatrick_scale:!1,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:"😉",fitzpatrick_scale:!1,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:"😊",fitzpatrick_scale:!1,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:"🙂",fitzpatrick_scale:!1,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:"🙃",fitzpatrick_scale:!1,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:"☺️",fitzpatrick_scale:!1,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:"😋",fitzpatrick_scale:!1,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:"😌",fitzpatrick_scale:!1,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:"😍",fitzpatrick_scale:!1,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:"🥰",fitzpatrick_scale:!1,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😘",fitzpatrick_scale:!1,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:"😗",fitzpatrick_scale:!1,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:"😙",fitzpatrick_scale:!1,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😚",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:"😜",fitzpatrick_scale:!1,category:"people"},zany:{keywords:["face","goofy","crazy"],char:"🤪",fitzpatrick_scale:!1,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:"🤨",fitzpatrick_scale:!1,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:"🧐",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:"😝",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:"😛",fitzpatrick_scale:!1,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:"🤑",fitzpatrick_scale:!1,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:"🤓",fitzpatrick_scale:!1,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:"😎",fitzpatrick_scale:!1,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:"🤩",fitzpatrick_scale:!1,category:"people"},clown_face:{keywords:["face"],char:"🤡",fitzpatrick_scale:!1,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:"🤠",fitzpatrick_scale:!1,category:"people"},hugs:{keywords:["face","smile","hug"],char:"🤗",fitzpatrick_scale:!1,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:"😏",fitzpatrick_scale:!1,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:"😶",fitzpatrick_scale:!1,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:"😐",fitzpatrick_scale:!1,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:"😑",fitzpatrick_scale:!1,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:"😒",fitzpatrick_scale:!1,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:"🙄",fitzpatrick_scale:!1,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:"🤔",fitzpatrick_scale:!1,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:"🤥",fitzpatrick_scale:!1,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:"🤭",fitzpatrick_scale:!1,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:"🤫",fitzpatrick_scale:!1,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:"🤬",fitzpatrick_scale:!1,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:"🤯",fitzpatrick_scale:!1,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:"😳",fitzpatrick_scale:!1,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:"😞",fitzpatrick_scale:!1,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:"😟",fitzpatrick_scale:!1,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:"😠",fitzpatrick_scale:!1,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:"😡",fitzpatrick_scale:!1,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:"😔",fitzpatrick_scale:!1,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:"😕",fitzpatrick_scale:!1,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:"🙁",fitzpatrick_scale:!1,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:"☹",fitzpatrick_scale:!1,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:"😣",fitzpatrick_scale:!1,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:"😖",fitzpatrick_scale:!1,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:"😫",fitzpatrick_scale:!1,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:"😩",fitzpatrick_scale:!1,category:"people"},pleading:{keywords:["face","begging","mercy"],char:"🥺",fitzpatrick_scale:!1,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:"😤",fitzpatrick_scale:!1,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:"😮",fitzpatrick_scale:!1,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:"😱",fitzpatrick_scale:!1,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:"😨",fitzpatrick_scale:!1,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:"😰",fitzpatrick_scale:!1,category:"people"},hushed:{keywords:["face","woo","shh"],char:"😯",fitzpatrick_scale:!1,category:"people"},frowning:{keywords:["face","aw","what"],char:"😦",fitzpatrick_scale:!1,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:"😧",fitzpatrick_scale:!1,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:"😢",fitzpatrick_scale:!1,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:"😥",fitzpatrick_scale:!1,category:"people"},drooling_face:{keywords:["face"],char:"🤤",fitzpatrick_scale:!1,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:"😪",fitzpatrick_scale:!1,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:"😓",fitzpatrick_scale:!1,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:"🥵",fitzpatrick_scale:!1,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:"🥶",fitzpatrick_scale:!1,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:"😭",fitzpatrick_scale:!1,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:"😵",fitzpatrick_scale:!1,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:"😲",fitzpatrick_scale:!1,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:"🤐",fitzpatrick_scale:!1,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:"🤢",fitzpatrick_scale:!1,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:"🤧",fitzpatrick_scale:!1,category:"people"},vomiting:{keywords:["face","sick"],char:"🤮",fitzpatrick_scale:!1,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:"😷",fitzpatrick_scale:!1,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:"🤒",fitzpatrick_scale:!1,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:"🤕",fitzpatrick_scale:!1,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:"🥴",fitzpatrick_scale:!1,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:"😴",fitzpatrick_scale:!1,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:"💤",fitzpatrick_scale:!1,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:"💩",fitzpatrick_scale:!1,category:"people"},smiling_imp:{keywords:["devil","horns"],char:"😈",fitzpatrick_scale:!1,category:"people"},imp:{keywords:["devil","angry","horns"],char:"👿",fitzpatrick_scale:!1,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:"👹",fitzpatrick_scale:!1,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:"👺",fitzpatrick_scale:!1,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:"💀",fitzpatrick_scale:!1,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:"👻",fitzpatrick_scale:!1,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:"👽",fitzpatrick_scale:!1,category:"people"},robot:{keywords:["computer","machine","bot"],char:"🤖",fitzpatrick_scale:!1,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:"😺",fitzpatrick_scale:!1,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:"😸",fitzpatrick_scale:!1,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:"😹",fitzpatrick_scale:!1,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:"😻",fitzpatrick_scale:!1,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:"😼",fitzpatrick_scale:!1,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:"😽",fitzpatrick_scale:!1,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:"🙀",fitzpatrick_scale:!1,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:"😿",fitzpatrick_scale:!1,category:"people"},pouting_cat:{keywords:["animal","cats"],char:"😾",fitzpatrick_scale:!1,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:"🤲",fitzpatrick_scale:!0,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:"🙌",fitzpatrick_scale:!0,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:"👏",fitzpatrick_scale:!0,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:"👋",fitzpatrick_scale:!0,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:"🤙",fitzpatrick_scale:!0,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:"👍",fitzpatrick_scale:!0,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:"👎",fitzpatrick_scale:!0,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:"👊",fitzpatrick_scale:!0,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:"✊",fitzpatrick_scale:!0,category:"people"},fist_left:{keywords:["hand","fistbump"],char:"🤛",fitzpatrick_scale:!0,category:"people"},fist_right:{keywords:["hand","fistbump"],char:"🤜",fitzpatrick_scale:!0,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:"✌",fitzpatrick_scale:!0,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:"👌",fitzpatrick_scale:!0,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:"✋",fitzpatrick_scale:!0,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:"🤚",fitzpatrick_scale:!0,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:"👐",fitzpatrick_scale:!0,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:"💪",fitzpatrick_scale:!0,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:"🙏",fitzpatrick_scale:!0,category:"people"},foot:{keywords:["kick","stomp"],char:"🦶",fitzpatrick_scale:!0,category:"people"},leg:{keywords:["kick","limb"],char:"🦵",fitzpatrick_scale:!0,category:"people"},handshake:{keywords:["agreement","shake"],char:"🤝",fitzpatrick_scale:!1,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:"☝",fitzpatrick_scale:!0,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:"👆",fitzpatrick_scale:!0,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:"👇",fitzpatrick_scale:!0,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:"👈",fitzpatrick_scale:!0,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:"👉",fitzpatrick_scale:!0,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:"🖕",fitzpatrick_scale:!0,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:"🖐",fitzpatrick_scale:!0,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:"🤟",fitzpatrick_scale:!0,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:"🤘",fitzpatrick_scale:!0,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:"🤞",fitzpatrick_scale:!0,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:"🖖",fitzpatrick_scale:!0,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:"✍",fitzpatrick_scale:!0,category:"people"},selfie:{keywords:["camera","phone"],char:"🤳",fitzpatrick_scale:!0,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:"💅",fitzpatrick_scale:!0,category:"people"},lips:{keywords:["mouth","kiss"],char:"👄",fitzpatrick_scale:!1,category:"people"},tooth:{keywords:["teeth","dentist"],char:"🦷",fitzpatrick_scale:!1,category:"people"},tongue:{keywords:["mouth","playful"],char:"👅",fitzpatrick_scale:!1,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:"👂",fitzpatrick_scale:!0,category:"people"},nose:{keywords:["smell","sniff"],char:"👃",fitzpatrick_scale:!0,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:"👁",fitzpatrick_scale:!1,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:"👀",fitzpatrick_scale:!1,category:"people"},brain:{keywords:["smart","intelligent"],char:"🧠",fitzpatrick_scale:!1,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:"👤",fitzpatrick_scale:!1,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:"👥",fitzpatrick_scale:!1,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:"🗣",fitzpatrick_scale:!1,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:"👶",fitzpatrick_scale:!0,category:"people"},child:{keywords:["gender-neutral","young"],char:"🧒",fitzpatrick_scale:!0,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:"👦",fitzpatrick_scale:!0,category:"people"},girl:{keywords:["female","woman","teenager"],char:"👧",fitzpatrick_scale:!0,category:"people"},adult:{keywords:["gender-neutral","person"],char:"🧑",fitzpatrick_scale:!0,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:"👨",fitzpatrick_scale:!0,category:"people"},woman:{keywords:["female","girls","lady"],char:"👩",fitzpatrick_scale:!0,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:"👱‍♀️",fitzpatrick_scale:!0,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:"👱",fitzpatrick_scale:!0,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:"🧔",fitzpatrick_scale:!0,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:"🧓",fitzpatrick_scale:!0,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:"👴",fitzpatrick_scale:!0,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:"👵",fitzpatrick_scale:!0,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:"👲",fitzpatrick_scale:!0,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:"🧕",fitzpatrick_scale:!0,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:"👳‍♀️",fitzpatrick_scale:!0,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:"👳",fitzpatrick_scale:!0,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:"👮‍♀️",fitzpatrick_scale:!0,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:"👮",fitzpatrick_scale:!0,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:"👷‍♀️",fitzpatrick_scale:!0,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:"👷",fitzpatrick_scale:!0,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:"💂‍♀️",fitzpatrick_scale:!0,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:"💂",fitzpatrick_scale:!0,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:"🕵️‍♀️",fitzpatrick_scale:!0,category:"people"},male_detective:{keywords:["human","spy","detective"],char:"🕵",fitzpatrick_scale:!0,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:"👩‍⚕️",fitzpatrick_scale:!0,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:"👨‍⚕️",fitzpatrick_scale:!0,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:"👩‍🌾",fitzpatrick_scale:!0,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:"👨‍🌾",fitzpatrick_scale:!0,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:"👩‍🍳",fitzpatrick_scale:!0,category:"people"},man_cook:{keywords:["chef","man","human"],char:"👨‍🍳",fitzpatrick_scale:!0,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:"👩‍🎓",fitzpatrick_scale:!0,category:"people"},man_student:{keywords:["graduate","man","human"],char:"👨‍🎓",fitzpatrick_scale:!0,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:"👩‍🎤",fitzpatrick_scale:!0,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:"👨‍🎤",fitzpatrick_scale:!0,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:"👩‍🏫",fitzpatrick_scale:!0,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:"👨‍🏫",fitzpatrick_scale:!0,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:"👩‍🏭",fitzpatrick_scale:!0,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:"👨‍🏭",fitzpatrick_scale:!0,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:"👩‍💻",fitzpatrick_scale:!0,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:"👨‍💻",fitzpatrick_scale:!0,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:"👩‍💼",fitzpatrick_scale:!0,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:"👨‍💼",fitzpatrick_scale:!0,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:"👩‍🔧",fitzpatrick_scale:!0,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:"👨‍🔧",fitzpatrick_scale:!0,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:"👩‍🔬",fitzpatrick_scale:!0,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:"👨‍🔬",fitzpatrick_scale:!0,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:"👩‍🎨",fitzpatrick_scale:!0,category:"people"},man_artist:{keywords:["painter","man","human"],char:"👨‍🎨",fitzpatrick_scale:!0,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:"👩‍🚒",fitzpatrick_scale:!0,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:"👨‍🚒",fitzpatrick_scale:!0,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:"👩‍✈️",fitzpatrick_scale:!0,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:"👨‍✈️",fitzpatrick_scale:!0,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:"👩‍🚀",fitzpatrick_scale:!0,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:"👨‍🚀",fitzpatrick_scale:!0,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:"👩‍⚖️",fitzpatrick_scale:!0,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:"👨‍⚖️",fitzpatrick_scale:!0,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:"🦸‍♀️",fitzpatrick_scale:!0,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:"🦸‍♂️",fitzpatrick_scale:!0,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:"🦹‍♀️",fitzpatrick_scale:!0,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:"🦹‍♂️",fitzpatrick_scale:!0,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:"🤶",fitzpatrick_scale:!0,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:"🎅",fitzpatrick_scale:!0,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:"🧙‍♀️",fitzpatrick_scale:!0,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:"🧙‍♂️",fitzpatrick_scale:!0,category:"people"},woman_elf:{keywords:["woman","female"],char:"🧝‍♀️",fitzpatrick_scale:!0,category:"people"},man_elf:{keywords:["man","male"],char:"🧝‍♂️",fitzpatrick_scale:!0,category:"people"},woman_vampire:{keywords:["woman","female"],char:"🧛‍♀️",fitzpatrick_scale:!0,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:"🧛‍♂️",fitzpatrick_scale:!0,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:"🧟‍♀️",fitzpatrick_scale:!1,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:"🧟‍♂️",fitzpatrick_scale:!1,category:"people"},woman_genie:{keywords:["woman","female"],char:"🧞‍♀️",fitzpatrick_scale:!1,category:"people"},man_genie:{keywords:["man","male"],char:"🧞‍♂️",fitzpatrick_scale:!1,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:"🧜‍♀️",fitzpatrick_scale:!0,category:"people"},merman:{keywords:["man","male","triton"],char:"🧜‍♂️",fitzpatrick_scale:!0,category:"people"},woman_fairy:{keywords:["woman","female"],char:"🧚‍♀️",fitzpatrick_scale:!0,category:"people"},man_fairy:{keywords:["man","male"],char:"🧚‍♂️",fitzpatrick_scale:!0,category:"people"},angel:{keywords:["heaven","wings","halo"],char:"👼",fitzpatrick_scale:!0,category:"people"},pregnant_woman:{keywords:["baby"],char:"🤰",fitzpatrick_scale:!0,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:"🤱",fitzpatrick_scale:!0,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:"👸",fitzpatrick_scale:!0,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:"🤴",fitzpatrick_scale:!0,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:"👰",fitzpatrick_scale:!0,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:"🤵",fitzpatrick_scale:!0,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:"🏃‍♀️",fitzpatrick_scale:!0,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:"🏃",fitzpatrick_scale:!0,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:"🚶‍♀️",fitzpatrick_scale:!0,category:"people"},walking_man:{keywords:["human","feet","steps"],char:"🚶",fitzpatrick_scale:!0,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:"💃",fitzpatrick_scale:!0,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:"🕺",fitzpatrick_scale:!0,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:"👯",fitzpatrick_scale:!1,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:"👯‍♂️",fitzpatrick_scale:!1,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:"👫",fitzpatrick_scale:!1,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:"👬",fitzpatrick_scale:!1,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:"👭",fitzpatrick_scale:!1,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:"🙇‍♀️",fitzpatrick_scale:!0,category:"people"},bowing_man:{keywords:["man","male","boy"],char:"🙇",fitzpatrick_scale:!0,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:"🤦‍♂️",fitzpatrick_scale:!0,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:"🤦‍♀️",fitzpatrick_scale:!0,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:"🤷",fitzpatrick_scale:!0,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:"🤷‍♂️",fitzpatrick_scale:!0,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:"💁",fitzpatrick_scale:!0,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:"💁‍♂️",fitzpatrick_scale:!0,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:"🙅",fitzpatrick_scale:!0,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:"🙅‍♂️",fitzpatrick_scale:!0,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:"🙆",fitzpatrick_scale:!0,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:"🙆‍♂️",fitzpatrick_scale:!0,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:"🙋",fitzpatrick_scale:!0,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:"🙋‍♂️",fitzpatrick_scale:!0,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:"🙎",fitzpatrick_scale:!0,category:"people"},pouting_man:{keywords:["male","boy","man"],char:"🙎‍♂️",fitzpatrick_scale:!0,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:"🙍",fitzpatrick_scale:!0,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:"🙍‍♂️",fitzpatrick_scale:!0,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:"💇",fitzpatrick_scale:!0,category:"people"},haircut_man:{keywords:["male","boy","man"],char:"💇‍♂️",fitzpatrick_scale:!0,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:"💆",fitzpatrick_scale:!0,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:"💆‍♂️",fitzpatrick_scale:!0,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:"🧖‍♀️",fitzpatrick_scale:!0,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:"🧖‍♂️",fitzpatrick_scale:!0,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"💑",fitzpatrick_scale:!1,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👩‍❤️‍👩",fitzpatrick_scale:!1,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👨‍❤️‍👨",fitzpatrick_scale:!1,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"💏",fitzpatrick_scale:!1,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"👩‍❤️‍💋‍👩",fitzpatrick_scale:!1,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:"👨‍❤️‍💋‍👨",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:"👪",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:"👨‍👩‍👧",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦",fitzpatrick_scale:!1,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👧",fitzpatrick_scale:!1,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:"👩‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:"👩‍👧",fitzpatrick_scale:!1,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:"👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:"👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:"👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:"👨‍👦",fitzpatrick_scale:!1,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:"👨‍👧",fitzpatrick_scale:!1,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:"👨‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:"👨‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:"👨‍👧‍👧",fitzpatrick_scale:!1,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:"🧶",fitzpatrick_scale:!1,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:"🧵",fitzpatrick_scale:!1,category:"people"},coat:{keywords:["jacket"],char:"🧥",fitzpatrick_scale:!1,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:"🥼",fitzpatrick_scale:!1,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:"👚",fitzpatrick_scale:!1,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:"👕",fitzpatrick_scale:!1,category:"people"},jeans:{keywords:["fashion","shopping"],char:"👖",fitzpatrick_scale:!1,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:"👔",fitzpatrick_scale:!1,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:"👗",fitzpatrick_scale:!1,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:"👙",fitzpatrick_scale:!1,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:"👘",fitzpatrick_scale:!1,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:"💄",fitzpatrick_scale:!1,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:"💋",fitzpatrick_scale:!1,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:"👣",fitzpatrick_scale:!1,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:"🥿",fitzpatrick_scale:!1,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:"👠",fitzpatrick_scale:!1,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:"👡",fitzpatrick_scale:!1,category:"people"},boot:{keywords:["shoes","fashion"],char:"👢",fitzpatrick_scale:!1,category:"people"},mans_shoe:{keywords:["fashion","male"],char:"👞",fitzpatrick_scale:!1,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:"👟",fitzpatrick_scale:!1,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:"🥾",fitzpatrick_scale:!1,category:"people"},socks:{keywords:["stockings","clothes"],char:"🧦",fitzpatrick_scale:!1,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:"🧤",fitzpatrick_scale:!1,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:"🧣",fitzpatrick_scale:!1,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:"👒",fitzpatrick_scale:!1,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:"🎩",fitzpatrick_scale:!1,category:"people"},billed_hat:{keywords:["cap","baseball"],char:"🧢",fitzpatrick_scale:!1,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:"⛑",fitzpatrick_scale:!1,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:"🎓",fitzpatrick_scale:!1,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:"👑",fitzpatrick_scale:!1,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:"🎒",fitzpatrick_scale:!1,category:"people"},luggage:{keywords:["packing","travel"],char:"🧳",fitzpatrick_scale:!1,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:"👝",fitzpatrick_scale:!1,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:"👛",fitzpatrick_scale:!1,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:"👜",fitzpatrick_scale:!1,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:"💼",fitzpatrick_scale:!1,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:"👓",fitzpatrick_scale:!1,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:"🕶",fitzpatrick_scale:!1,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:"🥽",fitzpatrick_scale:!1,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:"💍",fitzpatrick_scale:!1,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:"🌂",fitzpatrick_scale:!1,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:"🐶",fitzpatrick_scale:!1,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:"🐱",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:"🐭",fitzpatrick_scale:!1,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:"🐹",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:"🐰",fitzpatrick_scale:!1,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:"🦊",fitzpatrick_scale:!1,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:"🐻",fitzpatrick_scale:!1,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:"🐼",fitzpatrick_scale:!1,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:"🐨",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:"🐯",fitzpatrick_scale:!1,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:"🦁",fitzpatrick_scale:!1,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:"🐮",fitzpatrick_scale:!1,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:"🐷",fitzpatrick_scale:!1,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:"🐽",fitzpatrick_scale:!1,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:"🐸",fitzpatrick_scale:!1,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:"🦑",fitzpatrick_scale:!1,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:"🐙",fitzpatrick_scale:!1,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:"🦐",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:"🐵",fitzpatrick_scale:!1,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:"🦍",fitzpatrick_scale:!1,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:"🙈",fitzpatrick_scale:!1,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:"🙉",fitzpatrick_scale:!1,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:"🙊",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:"🐒",fitzpatrick_scale:!1,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:"🐔",fitzpatrick_scale:!1,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:"🐧",fitzpatrick_scale:!1,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:"🐦",fitzpatrick_scale:!1,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:"🐤",fitzpatrick_scale:!1,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:"🐣",fitzpatrick_scale:!1,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:"🐥",fitzpatrick_scale:!1,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:"🦆",fitzpatrick_scale:!1,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:"🦅",fitzpatrick_scale:!1,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:"🦉",fitzpatrick_scale:!1,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:"🦇",fitzpatrick_scale:!1,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:"🐺",fitzpatrick_scale:!1,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:"🐗",fitzpatrick_scale:!1,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:"🐴",fitzpatrick_scale:!1,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:"🦄",fitzpatrick_scale:!1,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:"🐝",fitzpatrick_scale:!1,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:"🐛",fitzpatrick_scale:!1,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:"🦋",fitzpatrick_scale:!1,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:"🐌",fitzpatrick_scale:!1,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:"🐞",fitzpatrick_scale:!1,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:"🐜",fitzpatrick_scale:!1,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:"🦗",fitzpatrick_scale:!1,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:"🕷",fitzpatrick_scale:!1,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:"🦂",fitzpatrick_scale:!1,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:"🦀",fitzpatrick_scale:!1,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:"🐍",fitzpatrick_scale:!1,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:"🦎",fitzpatrick_scale:!1,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:"🦖",fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:"🦕",fitzpatrick_scale:!1,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:"🐢",fitzpatrick_scale:!1,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:"🐠",fitzpatrick_scale:!1,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:"🐟",fitzpatrick_scale:!1,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:"🐡",fitzpatrick_scale:!1,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:"🐬",fitzpatrick_scale:!1,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:"🦈",fitzpatrick_scale:!1,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:"🐳",fitzpatrick_scale:!1,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:"🐋",fitzpatrick_scale:!1,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:"🐊",fitzpatrick_scale:!1,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:"🐆",fitzpatrick_scale:!1,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:"🦓",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:"🐅",fitzpatrick_scale:!1,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:"🐃",fitzpatrick_scale:!1,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:"🐂",fitzpatrick_scale:!1,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:"🐄",fitzpatrick_scale:!1,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:"🦌",fitzpatrick_scale:!1,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:"🐪",fitzpatrick_scale:!1,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:"🐫",fitzpatrick_scale:!1,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:"🦒",fitzpatrick_scale:!1,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:"🐘",fitzpatrick_scale:!1,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:"🦏",fitzpatrick_scale:!1,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:"🐐",fitzpatrick_scale:!1,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:"🐏",fitzpatrick_scale:!1,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:"🐑",fitzpatrick_scale:!1,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:"🐎",fitzpatrick_scale:!1,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:"🐖",fitzpatrick_scale:!1,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:"🐀",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:"🐁",fitzpatrick_scale:!1,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:"🐓",fitzpatrick_scale:!1,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:"🦃",fitzpatrick_scale:!1,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:"🕊",fitzpatrick_scale:!1,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:"🐕",fitzpatrick_scale:!1,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:"🐩",fitzpatrick_scale:!1,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:"🐈",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:"🐇",fitzpatrick_scale:!1,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:"🐿",fitzpatrick_scale:!1,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:"🦔",fitzpatrick_scale:!1,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:"🦝",fitzpatrick_scale:!1,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:"🦙",fitzpatrick_scale:!1,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:"🦛",fitzpatrick_scale:!1,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:"🦘",fitzpatrick_scale:!1,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:"🦡",fitzpatrick_scale:!1,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:"🦢",fitzpatrick_scale:!1,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:"🦚",fitzpatrick_scale:!1,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:"🦜",fitzpatrick_scale:!1,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:"🦞",fitzpatrick_scale:!1,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:"🦟",fitzpatrick_scale:!1,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:"🐾",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:"🐉",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:"🐲",fitzpatrick_scale:!1,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:"🌵",fitzpatrick_scale:!1,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:"🎄",fitzpatrick_scale:!1,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:"🌲",fitzpatrick_scale:!1,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:"🌳",fitzpatrick_scale:!1,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:"🌴",fitzpatrick_scale:!1,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:"🌱",fitzpatrick_scale:!1,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:"🌿",fitzpatrick_scale:!1,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:"☘",fitzpatrick_scale:!1,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:"🍀",fitzpatrick_scale:!1,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:"🎍",fitzpatrick_scale:!1,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:"🎋",fitzpatrick_scale:!1,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:"🍃",fitzpatrick_scale:!1,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:"🍂",fitzpatrick_scale:!1,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:"🍁",fitzpatrick_scale:!1,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:"🌾",fitzpatrick_scale:!1,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:"🌺",fitzpatrick_scale:!1,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:"🌻",fitzpatrick_scale:!1,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:"🌹",fitzpatrick_scale:!1,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:"🥀",fitzpatrick_scale:!1,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:"🌷",fitzpatrick_scale:!1,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:"🌼",fitzpatrick_scale:!1,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:"🌸",fitzpatrick_scale:!1,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:"💐",fitzpatrick_scale:!1,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:"🍄",fitzpatrick_scale:!1,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:"🌰",fitzpatrick_scale:!1,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:"🎃",fitzpatrick_scale:!1,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:"🐚",fitzpatrick_scale:!1,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:"🕸",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:"🌎",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:"🌍",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:"🌏",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:"🌕",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:"🌖",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌗",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌘",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌑",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌒",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌓",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:"🌔",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌚",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌝",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌛",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌜",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:"🌞",fitzpatrick_scale:!1,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:"🌙",fitzpatrick_scale:!1,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:"⭐",fitzpatrick_scale:!1,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:"🌟",fitzpatrick_scale:!1,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:"💫",fitzpatrick_scale:!1,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:"✨",fitzpatrick_scale:!1,category:"animals_and_nature"},comet:{keywords:["space"],char:"☄",fitzpatrick_scale:!1,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:"☀️",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:"🌤",fitzpatrick_scale:!1,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:"⛅",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:"🌥",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:"🌦",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:"☁️",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:"🌧",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:"⛈",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:"🌩",fitzpatrick_scale:!1,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:"⚡",fitzpatrick_scale:!1,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:"🔥",fitzpatrick_scale:!1,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:"💥",fitzpatrick_scale:!1,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:"❄️",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:"🌨",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:"⛄",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:"☃",fitzpatrick_scale:!1,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:"🌬",fitzpatrick_scale:!1,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:"💨",fitzpatrick_scale:!1,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:"🌪",fitzpatrick_scale:!1,category:"animals_and_nature"},fog:{keywords:["weather"],char:"🌫",fitzpatrick_scale:!1,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:"☂",fitzpatrick_scale:!1,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:"☔",fitzpatrick_scale:!1,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:"💧",fitzpatrick_scale:!1,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:"💦",fitzpatrick_scale:!1,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:"🌊",fitzpatrick_scale:!1,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:"🍏",fitzpatrick_scale:!1,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:"🍎",fitzpatrick_scale:!1,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:"🍐",fitzpatrick_scale:!1,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:"🍊",fitzpatrick_scale:!1,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:"🍋",fitzpatrick_scale:!1,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:"🍌",fitzpatrick_scale:!1,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:"🍉",fitzpatrick_scale:!1,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:"🍇",fitzpatrick_scale:!1,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:"🍓",fitzpatrick_scale:!1,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:"🍈",fitzpatrick_scale:!1,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:"🍒",fitzpatrick_scale:!1,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:"🍑",fitzpatrick_scale:!1,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:"🍍",fitzpatrick_scale:!1,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:"🥥",fitzpatrick_scale:!1,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:"🥝",fitzpatrick_scale:!1,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:"🥭",fitzpatrick_scale:!1,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:"🥑",fitzpatrick_scale:!1,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:"🥦",fitzpatrick_scale:!1,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:"🍅",fitzpatrick_scale:!1,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:"🍆",fitzpatrick_scale:!1,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:"🥒",fitzpatrick_scale:!1,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:"🥕",fitzpatrick_scale:!1,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:"🌶",fitzpatrick_scale:!1,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:"🥔",fitzpatrick_scale:!1,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:"🌽",fitzpatrick_scale:!1,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:"🥬",fitzpatrick_scale:!1,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:"🍠",fitzpatrick_scale:!1,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:"🥜",fitzpatrick_scale:!1,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:"🍯",fitzpatrick_scale:!1,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:"🥐",fitzpatrick_scale:!1,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:"🍞",fitzpatrick_scale:!1,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:"🥖",fitzpatrick_scale:!1,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:"🥯",fitzpatrick_scale:!1,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:"🥨",fitzpatrick_scale:!1,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:"🧀",fitzpatrick_scale:!1,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:"🥚",fitzpatrick_scale:!1,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:"🥓",fitzpatrick_scale:!1,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:"🥩",fitzpatrick_scale:!1,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:"🥞",fitzpatrick_scale:!1,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:"🍗",fitzpatrick_scale:!1,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:"🍖",fitzpatrick_scale:!1,category:"food_and_drink"},bone:{keywords:["skeleton"],char:"🦴",fitzpatrick_scale:!1,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:"🍤",fitzpatrick_scale:!1,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:"🍳",fitzpatrick_scale:!1,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:"🍔",fitzpatrick_scale:!1,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:"🍟",fitzpatrick_scale:!1,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:"🥙",fitzpatrick_scale:!1,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:"🌭",fitzpatrick_scale:!1,category:"food_and_drink"},pizza:{keywords:["food","party"],char:"🍕",fitzpatrick_scale:!1,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:"🥪",fitzpatrick_scale:!1,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:"🥫",fitzpatrick_scale:!1,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:"🍝",fitzpatrick_scale:!1,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:"🌮",fitzpatrick_scale:!1,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:"🌯",fitzpatrick_scale:!1,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:"🥗",fitzpatrick_scale:!1,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:"🥘",fitzpatrick_scale:!1,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:"🍜",fitzpatrick_scale:!1,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:"🍲",fitzpatrick_scale:!1,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:"🍥",fitzpatrick_scale:!1,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:"🥠",fitzpatrick_scale:!1,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:"🍣",fitzpatrick_scale:!1,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:"🍱",fitzpatrick_scale:!1,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:"🍛",fitzpatrick_scale:!1,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:"🍙",fitzpatrick_scale:!1,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:"🍚",fitzpatrick_scale:!1,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:"🍘",fitzpatrick_scale:!1,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:"🍢",fitzpatrick_scale:!1,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:"🍡",fitzpatrick_scale:!1,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:"🍧",fitzpatrick_scale:!1,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:"🍨",fitzpatrick_scale:!1,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:"🍦",fitzpatrick_scale:!1,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:"🥧",fitzpatrick_scale:!1,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:"🍰",fitzpatrick_scale:!1,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:"🧁",fitzpatrick_scale:!1,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:"🥮",fitzpatrick_scale:!1,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:"🎂",fitzpatrick_scale:!1,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:"🍮",fitzpatrick_scale:!1,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:"🍬",fitzpatrick_scale:!1,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:"🍭",fitzpatrick_scale:!1,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:"🍫",fitzpatrick_scale:!1,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:"🍿",fitzpatrick_scale:!1,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:"🥟",fitzpatrick_scale:!1,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:"🍩",fitzpatrick_scale:!1,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:"🍪",fitzpatrick_scale:!1,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:"🥛",fitzpatrick_scale:!1,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍺",fitzpatrick_scale:!1,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍻",fitzpatrick_scale:!1,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:"🥂",fitzpatrick_scale:!1,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:"🍷",fitzpatrick_scale:!1,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:"🥃",fitzpatrick_scale:!1,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:"🍸",fitzpatrick_scale:!1,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:"🍹",fitzpatrick_scale:!1,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:"🍾",fitzpatrick_scale:!1,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:"🍶",fitzpatrick_scale:!1,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:"🍵",fitzpatrick_scale:!1,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:"🥤",fitzpatrick_scale:!1,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:"☕",fitzpatrick_scale:!1,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:"🍼",fitzpatrick_scale:!1,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:"🧂",fitzpatrick_scale:!1,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:"🥄",fitzpatrick_scale:!1,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:"🍴",fitzpatrick_scale:!1,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:"🍽",fitzpatrick_scale:!1,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:"🥣",fitzpatrick_scale:!1,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:"🥡",fitzpatrick_scale:!1,category:"food_and_drink"},chopsticks:{keywords:["food"],char:"🥢",fitzpatrick_scale:!1,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:"⚽",fitzpatrick_scale:!1,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:"🏀",fitzpatrick_scale:!1,category:"activity"},football:{keywords:["sports","balls","NFL"],char:"🏈",fitzpatrick_scale:!1,category:"activity"},baseball:{keywords:["sports","balls"],char:"⚾",fitzpatrick_scale:!1,category:"activity"},softball:{keywords:["sports","balls"],char:"🥎",fitzpatrick_scale:!1,category:"activity"},tennis:{keywords:["sports","balls","green"],char:"🎾",fitzpatrick_scale:!1,category:"activity"},volleyball:{keywords:["sports","balls"],char:"🏐",fitzpatrick_scale:!1,category:"activity"},rugby_football:{keywords:["sports","team"],char:"🏉",fitzpatrick_scale:!1,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:"🥏",fitzpatrick_scale:!1,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:"🎱",fitzpatrick_scale:!1,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:"⛳",fitzpatrick_scale:!1,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:"🏌️‍♀️",fitzpatrick_scale:!1,category:"activity"},golfing_man:{keywords:["sports","business"],char:"🏌",fitzpatrick_scale:!0,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:"🏓",fitzpatrick_scale:!1,category:"activity"},badminton:{keywords:["sports"],char:"🏸",fitzpatrick_scale:!1,category:"activity"},goal_net:{keywords:["sports"],char:"🥅",fitzpatrick_scale:!1,category:"activity"},ice_hockey:{keywords:["sports"],char:"🏒",fitzpatrick_scale:!1,category:"activity"},field_hockey:{keywords:["sports"],char:"🏑",fitzpatrick_scale:!1,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:"🥍",fitzpatrick_scale:!1,category:"activity"},cricket:{keywords:["sports"],char:"🏏",fitzpatrick_scale:!1,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:"🎿",fitzpatrick_scale:!1,category:"activity"},skier:{keywords:["sports","winter","snow"],char:"⛷",fitzpatrick_scale:!1,category:"activity"},snowboarder:{keywords:["sports","winter"],char:"🏂",fitzpatrick_scale:!0,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:"🤺",fitzpatrick_scale:!1,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:"🤼‍♀️",fitzpatrick_scale:!1,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:"🤼‍♂️",fitzpatrick_scale:!1,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:"🤸‍♀️",fitzpatrick_scale:!0,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:"🤸‍♂️",fitzpatrick_scale:!0,category:"activity"},woman_playing_handball:{keywords:["sports"],char:"🤾‍♀️",fitzpatrick_scale:!0,category:"activity"},man_playing_handball:{keywords:["sports"],char:"🤾‍♂️",fitzpatrick_scale:!0,category:"activity"},ice_skate:{keywords:["sports"],char:"⛸",fitzpatrick_scale:!1,category:"activity"},curling_stone:{keywords:["sports"],char:"🥌",fitzpatrick_scale:!1,category:"activity"},skateboard:{keywords:["board"],char:"🛹",fitzpatrick_scale:!1,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:"🛷",fitzpatrick_scale:!1,category:"activity"},bow_and_arrow:{keywords:["sports"],char:"🏹",fitzpatrick_scale:!1,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:"🎣",fitzpatrick_scale:!1,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:"🥊",fitzpatrick_scale:!1,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:"🥋",fitzpatrick_scale:!1,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:"🚣‍♀️",fitzpatrick_scale:!0,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:"🚣",fitzpatrick_scale:!0,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:"🧗‍♀️",fitzpatrick_scale:!0,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:"🧗‍♂️",fitzpatrick_scale:!0,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:"🏊‍♀️",fitzpatrick_scale:!0,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:"🏊",fitzpatrick_scale:!0,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:"🤽‍♀️",fitzpatrick_scale:!0,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:"🤽‍♂️",fitzpatrick_scale:!0,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♀️",fitzpatrick_scale:!0,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♂️",fitzpatrick_scale:!0,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:"🏄‍♀️",fitzpatrick_scale:!0,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:"🏄",fitzpatrick_scale:!0,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:"🛀",fitzpatrick_scale:!0,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:"⛹️‍♀️",fitzpatrick_scale:!0,category:"activity"},basketball_man:{keywords:["sports","human"],char:"⛹",fitzpatrick_scale:!0,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:"🏋️‍♀️",fitzpatrick_scale:!0,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:"🏋",fitzpatrick_scale:!0,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:"🚴‍♀️",fitzpatrick_scale:!0,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:"🚴",fitzpatrick_scale:!0,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:"🚵‍♀️",fitzpatrick_scale:!0,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:"🚵",fitzpatrick_scale:!0,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:"🏇",fitzpatrick_scale:!0,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:"🕴",fitzpatrick_scale:!0,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:"🏆",fitzpatrick_scale:!1,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:"🎽",fitzpatrick_scale:!1,category:"activity"},medal_sports:{keywords:["award","winning"],char:"🏅",fitzpatrick_scale:!1,category:"activity"},medal_military:{keywords:["award","winning","army"],char:"🎖",fitzpatrick_scale:!1,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:"🥇",fitzpatrick_scale:!1,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:"🥈",fitzpatrick_scale:!1,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:"🥉",fitzpatrick_scale:!1,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:"🎗",fitzpatrick_scale:!1,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:"🏵",fitzpatrick_scale:!1,category:"activity"},ticket:{keywords:["event","concert","pass"],char:"🎫",fitzpatrick_scale:!1,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:"🎟",fitzpatrick_scale:!1,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:"🎭",fitzpatrick_scale:!1,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:"🎨",fitzpatrick_scale:!1,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:"🎪",fitzpatrick_scale:!1,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:"🤹‍♀️",fitzpatrick_scale:!0,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:"🤹‍♂️",fitzpatrick_scale:!0,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:"🎤",fitzpatrick_scale:!1,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:"🎧",fitzpatrick_scale:!1,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:"🎼",fitzpatrick_scale:!1,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:"🎹",fitzpatrick_scale:!1,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:"🥁",fitzpatrick_scale:!1,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:"🎷",fitzpatrick_scale:!1,category:"activity"},trumpet:{keywords:["music","brass"],char:"🎺",fitzpatrick_scale:!1,category:"activity"},guitar:{keywords:["music","instrument"],char:"🎸",fitzpatrick_scale:!1,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:"🎻",fitzpatrick_scale:!1,category:"activity"},clapper:{keywords:["movie","film","record"],char:"🎬",fitzpatrick_scale:!1,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:"🎮",fitzpatrick_scale:!1,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:"👾",fitzpatrick_scale:!1,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:"🎯",fitzpatrick_scale:!1,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:"🎲",fitzpatrick_scale:!1,category:"activity"},chess_pawn:{keywords:["expendable"],char:"♟",fitzpatrick_scale:!1,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:"🎰",fitzpatrick_scale:!1,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:"🧩",fitzpatrick_scale:!1,category:"activity"},bowling:{keywords:["sports","fun","play"],char:"🎳",fitzpatrick_scale:!1,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:"🚗",fitzpatrick_scale:!1,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:"🚕",fitzpatrick_scale:!1,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:"🚙",fitzpatrick_scale:!1,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:"🚌",fitzpatrick_scale:!1,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:"🚎",fitzpatrick_scale:!1,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:"🏎",fitzpatrick_scale:!1,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:"🚓",fitzpatrick_scale:!1,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:"🚑",fitzpatrick_scale:!1,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:"🚒",fitzpatrick_scale:!1,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:"🚐",fitzpatrick_scale:!1,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:"🚚",fitzpatrick_scale:!1,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:"🚛",fitzpatrick_scale:!1,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:"🚜",fitzpatrick_scale:!1,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:"🛴",fitzpatrick_scale:!1,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:"🏍",fitzpatrick_scale:!1,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:"🚲",fitzpatrick_scale:!1,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:"🛵",fitzpatrick_scale:!1,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:"🚨",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:"🚔",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:"🚍",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:"🚘",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:"🚖",fitzpatrick_scale:!1,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:"🚡",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:"🚠",fitzpatrick_scale:!1,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:"🚟",fitzpatrick_scale:!1,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:"🚃",fitzpatrick_scale:!1,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:"🚋",fitzpatrick_scale:!1,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:"🚝",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:"🚄",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:"🚅",fitzpatrick_scale:!1,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:"🚈",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:"🚞",fitzpatrick_scale:!1,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:"🚂",fitzpatrick_scale:!1,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:"🚆",fitzpatrick_scale:!1,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:"🚇",fitzpatrick_scale:!1,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:"🚊",fitzpatrick_scale:!1,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:"🚉",fitzpatrick_scale:!1,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:"🛸",fitzpatrick_scale:!1,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:"🚁",fitzpatrick_scale:!1,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:"🛩",fitzpatrick_scale:!1,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:"✈️",fitzpatrick_scale:!1,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:"🛫",fitzpatrick_scale:!1,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:"🛬",fitzpatrick_scale:!1,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:"⛵",fitzpatrick_scale:!1,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:"🛥",fitzpatrick_scale:!1,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:"🚤",fitzpatrick_scale:!1,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:"⛴",fitzpatrick_scale:!1,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:"🛳",fitzpatrick_scale:!1,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:"🚀",fitzpatrick_scale:!1,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:"🛰",fitzpatrick_scale:!1,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:"💺",fitzpatrick_scale:!1,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:"🛶",fitzpatrick_scale:!1,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:"⚓",fitzpatrick_scale:!1,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:"🚧",fitzpatrick_scale:!1,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:"⛽",fitzpatrick_scale:!1,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:"🚏",fitzpatrick_scale:!1,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:"🚦",fitzpatrick_scale:!1,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:"🚥",fitzpatrick_scale:!1,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:"🏁",fitzpatrick_scale:!1,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:"🚢",fitzpatrick_scale:!1,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:"🎡",fitzpatrick_scale:!1,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:"🎢",fitzpatrick_scale:!1,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:"🎠",fitzpatrick_scale:!1,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:"🏗",fitzpatrick_scale:!1,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:"🌁",fitzpatrick_scale:!1,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:"🗼",fitzpatrick_scale:!1,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:"🏭",fitzpatrick_scale:!1,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:"⛲",fitzpatrick_scale:!1,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:"🎑",fitzpatrick_scale:!1,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:"⛰",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:"🏔",fitzpatrick_scale:!1,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:"🗻",fitzpatrick_scale:!1,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:"🌋",fitzpatrick_scale:!1,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:"🗾",fitzpatrick_scale:!1,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:"🏕",fitzpatrick_scale:!1,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:"⛺",fitzpatrick_scale:!1,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:"🏞",fitzpatrick_scale:!1,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:"🛣",fitzpatrick_scale:!1,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:"🛤",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:"🌅",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:"🌄",fitzpatrick_scale:!1,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:"🏜",fitzpatrick_scale:!1,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:"🏖",fitzpatrick_scale:!1,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:"🏝",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:"🌇",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:"🌆",fitzpatrick_scale:!1,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:"🏙",fitzpatrick_scale:!1,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:"🌃",fitzpatrick_scale:!1,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:"🌉",fitzpatrick_scale:!1,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:"🌌",fitzpatrick_scale:!1,category:"travel_and_places"},stars:{keywords:["night","photo"],char:"🌠",fitzpatrick_scale:!1,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:"🎇",fitzpatrick_scale:!1,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:"🎆",fitzpatrick_scale:!1,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:"🌈",fitzpatrick_scale:!1,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:"🏘",fitzpatrick_scale:!1,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:"🏰",fitzpatrick_scale:!1,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:"🏯",fitzpatrick_scale:!1,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:"🏟",fitzpatrick_scale:!1,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:"🗽",fitzpatrick_scale:!1,category:"travel_and_places"},house:{keywords:["building","home"],char:"🏠",fitzpatrick_scale:!1,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:"🏡",fitzpatrick_scale:!1,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:"🏚",fitzpatrick_scale:!1,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:"🏢",fitzpatrick_scale:!1,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:"🏬",fitzpatrick_scale:!1,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:"🏣",fitzpatrick_scale:!1,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:"🏤",fitzpatrick_scale:!1,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:"🏥",fitzpatrick_scale:!1,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:"🏦",fitzpatrick_scale:!1,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:"🏨",fitzpatrick_scale:!1,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:"🏪",fitzpatrick_scale:!1,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:"🏫",fitzpatrick_scale:!1,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:"🏩",fitzpatrick_scale:!1,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:"💒",fitzpatrick_scale:!1,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:"🏛",fitzpatrick_scale:!1,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:"⛪",fitzpatrick_scale:!1,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:"🕌",fitzpatrick_scale:!1,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:"🕍",fitzpatrick_scale:!1,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:"🕋",fitzpatrick_scale:!1,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:"⛩",fitzpatrick_scale:!1,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:"⌚",fitzpatrick_scale:!1,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:"📱",fitzpatrick_scale:!1,category:"objects"},calling:{keywords:["iphone","incoming"],char:"📲",fitzpatrick_scale:!1,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:"💻",fitzpatrick_scale:!1,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:"⌨",fitzpatrick_scale:!1,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:"🖥",fitzpatrick_scale:!1,category:"objects"},printer:{keywords:["paper","ink"],char:"🖨",fitzpatrick_scale:!1,category:"objects"},computer_mouse:{keywords:["click"],char:"🖱",fitzpatrick_scale:!1,category:"objects"},trackball:{keywords:["technology","trackpad"],char:"🖲",fitzpatrick_scale:!1,category:"objects"},joystick:{keywords:["game","play"],char:"🕹",fitzpatrick_scale:!1,category:"objects"},clamp:{keywords:["tool"],char:"🗜",fitzpatrick_scale:!1,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:"💽",fitzpatrick_scale:!1,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:"💾",fitzpatrick_scale:!1,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:"💿",fitzpatrick_scale:!1,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:"📀",fitzpatrick_scale:!1,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:"📼",fitzpatrick_scale:!1,category:"objects"},camera:{keywords:["gadgets","photography"],char:"📷",fitzpatrick_scale:!1,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:"📸",fitzpatrick_scale:!1,category:"objects"},video_camera:{keywords:["film","record"],char:"📹",fitzpatrick_scale:!1,category:"objects"},movie_camera:{keywords:["film","record"],char:"🎥",fitzpatrick_scale:!1,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:"📽",fitzpatrick_scale:!1,category:"objects"},film_strip:{keywords:["movie"],char:"🎞",fitzpatrick_scale:!1,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:"📞",fitzpatrick_scale:!1,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:"☎️",fitzpatrick_scale:!1,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:"📟",fitzpatrick_scale:!1,category:"objects"},fax:{keywords:["communication","technology"],char:"📠",fitzpatrick_scale:!1,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:"📺",fitzpatrick_scale:!1,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:"📻",fitzpatrick_scale:!1,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:"🎙",fitzpatrick_scale:!1,category:"objects"},level_slider:{keywords:["scale"],char:"🎚",fitzpatrick_scale:!1,category:"objects"},control_knobs:{keywords:["dial"],char:"🎛",fitzpatrick_scale:!1,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:"🧭",fitzpatrick_scale:!1,category:"objects"},stopwatch:{keywords:["time","deadline"],char:"⏱",fitzpatrick_scale:!1,category:"objects"},timer_clock:{keywords:["alarm"],char:"⏲",fitzpatrick_scale:!1,category:"objects"},alarm_clock:{keywords:["time","wake"],char:"⏰",fitzpatrick_scale:!1,category:"objects"},mantelpiece_clock:{keywords:["time"],char:"🕰",fitzpatrick_scale:!1,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:"⏳",fitzpatrick_scale:!1,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:"⌛",fitzpatrick_scale:!1,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:"📡",fitzpatrick_scale:!1,category:"objects"},battery:{keywords:["power","energy","sustain"],char:"🔋",fitzpatrick_scale:!1,category:"objects"},electric_plug:{keywords:["charger","power"],char:"🔌",fitzpatrick_scale:!1,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:"💡",fitzpatrick_scale:!1,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:"🔦",fitzpatrick_scale:!1,category:"objects"},candle:{keywords:["fire","wax"],char:"🕯",fitzpatrick_scale:!1,category:"objects"},fire_extinguisher:{keywords:["quench"],char:"🧯",fitzpatrick_scale:!1,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:"🗑",fitzpatrick_scale:!1,category:"objects"},oil_drum:{keywords:["barrell"],char:"🛢",fitzpatrick_scale:!1,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:"💸",fitzpatrick_scale:!1,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:"💵",fitzpatrick_scale:!1,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:"💴",fitzpatrick_scale:!1,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:"💶",fitzpatrick_scale:!1,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:"💷",fitzpatrick_scale:!1,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:"💰",fitzpatrick_scale:!1,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:"💳",fitzpatrick_scale:!1,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:"💎",fitzpatrick_scale:!1,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:"⚖",fitzpatrick_scale:!1,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:"🧰",fitzpatrick_scale:!1,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:"🔧",fitzpatrick_scale:!1,category:"objects"},hammer:{keywords:["tools","build","create"],char:"🔨",fitzpatrick_scale:!1,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:"⚒",fitzpatrick_scale:!1,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:"🛠",fitzpatrick_scale:!1,category:"objects"},pick:{keywords:["tools","dig"],char:"⛏",fitzpatrick_scale:!1,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:"🔩",fitzpatrick_scale:!1,category:"objects"},gear:{keywords:["cog"],char:"⚙",fitzpatrick_scale:!1,category:"objects"},brick:{keywords:["bricks"],char:"🧱",fitzpatrick_scale:!1,category:"objects"},chains:{keywords:["lock","arrest"],char:"⛓",fitzpatrick_scale:!1,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:"🧲",fitzpatrick_scale:!1,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:"🔫",fitzpatrick_scale:!1,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:"💣",fitzpatrick_scale:!1,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:"🧨",fitzpatrick_scale:!1,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:"🔪",fitzpatrick_scale:!1,category:"objects"},dagger:{keywords:["weapon"],char:"🗡",fitzpatrick_scale:!1,category:"objects"},crossed_swords:{keywords:["weapon"],char:"⚔",fitzpatrick_scale:!1,category:"objects"},shield:{keywords:["protection","security"],char:"🛡",fitzpatrick_scale:!1,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:"🚬",fitzpatrick_scale:!1,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:"☠",fitzpatrick_scale:!1,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:"⚰",fitzpatrick_scale:!1,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:"⚱",fitzpatrick_scale:!1,category:"objects"},amphora:{keywords:["vase","jar"],char:"🏺",fitzpatrick_scale:!1,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:"🔮",fitzpatrick_scale:!1,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:"📿",fitzpatrick_scale:!1,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:"🧿",fitzpatrick_scale:!1,category:"objects"},barber:{keywords:["hair","salon","style"],char:"💈",fitzpatrick_scale:!1,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:"⚗",fitzpatrick_scale:!1,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:"🔭",fitzpatrick_scale:!1,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:"🔬",fitzpatrick_scale:!1,category:"objects"},hole:{keywords:["embarrassing"],char:"🕳",fitzpatrick_scale:!1,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:"💊",fitzpatrick_scale:!1,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:"💉",fitzpatrick_scale:!1,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:"🧬",fitzpatrick_scale:!1,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:"🦠",fitzpatrick_scale:!1,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:"🧫",fitzpatrick_scale:!1,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:"🧪",fitzpatrick_scale:!1,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:"🌡",fitzpatrick_scale:!1,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:"🧹",fitzpatrick_scale:!1,category:"objects"},basket:{keywords:["laundry"],char:"🧺",fitzpatrick_scale:!1,category:"objects"},toilet_paper:{keywords:["roll"],char:"🧻",fitzpatrick_scale:!1,category:"objects"},label:{keywords:["sale","tag"],char:"🏷",fitzpatrick_scale:!1,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:"🔖",fitzpatrick_scale:!1,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:"🚽",fitzpatrick_scale:!1,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:"🚿",fitzpatrick_scale:!1,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:"🛁",fitzpatrick_scale:!1,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:"🧼",fitzpatrick_scale:!1,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:"🧽",fitzpatrick_scale:!1,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:"🧴",fitzpatrick_scale:!1,category:"objects"},key:{keywords:["lock","door","password"],char:"🔑",fitzpatrick_scale:!1,category:"objects"},old_key:{keywords:["lock","door","password"],char:"🗝",fitzpatrick_scale:!1,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:"🛋",fitzpatrick_scale:!1,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:"🛌",fitzpatrick_scale:!0,category:"objects"},bed:{keywords:["sleep","rest"],char:"🛏",fitzpatrick_scale:!1,category:"objects"},door:{keywords:["house","entry","exit"],char:"🚪",fitzpatrick_scale:!1,category:"objects"},bellhop_bell:{keywords:["service"],char:"🛎",fitzpatrick_scale:!1,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:"🧸",fitzpatrick_scale:!1,category:"objects"},framed_picture:{keywords:["photography"],char:"🖼",fitzpatrick_scale:!1,category:"objects"},world_map:{keywords:["location","direction"],char:"🗺",fitzpatrick_scale:!1,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:"⛱",fitzpatrick_scale:!1,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:"🗿",fitzpatrick_scale:!1,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:"🛍",fitzpatrick_scale:!1,category:"objects"},shopping_cart:{keywords:["trolley"],char:"🛒",fitzpatrick_scale:!1,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:"🎈",fitzpatrick_scale:!1,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:"🎏",fitzpatrick_scale:!1,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:"🎀",fitzpatrick_scale:!1,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:"🎁",fitzpatrick_scale:!1,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:"🎊",fitzpatrick_scale:!1,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:"🎉",fitzpatrick_scale:!1,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:"🎎",fitzpatrick_scale:!1,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:"🎐",fitzpatrick_scale:!1,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:"🎌",fitzpatrick_scale:!1,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:"🏮",fitzpatrick_scale:!1,category:"objects"},red_envelope:{keywords:["gift"],char:"🧧",fitzpatrick_scale:!1,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:"✉️",fitzpatrick_scale:!1,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:"📩",fitzpatrick_scale:!1,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:"📨",fitzpatrick_scale:!1,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:"📧",fitzpatrick_scale:!1,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:"💌",fitzpatrick_scale:!1,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:"📮",fitzpatrick_scale:!1,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:"📪",fitzpatrick_scale:!1,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:"📫",fitzpatrick_scale:!1,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:"📬",fitzpatrick_scale:!1,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:"📭",fitzpatrick_scale:!1,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:"📦",fitzpatrick_scale:!1,category:"objects"},postal_horn:{keywords:["instrument","music"],char:"📯",fitzpatrick_scale:!1,category:"objects"},inbox_tray:{keywords:["email","documents"],char:"📥",fitzpatrick_scale:!1,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:"📤",fitzpatrick_scale:!1,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:"📜",fitzpatrick_scale:!1,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:"📃",fitzpatrick_scale:!1,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:"📑",fitzpatrick_scale:!1,category:"objects"},receipt:{keywords:["accounting","expenses"],char:"🧾",fitzpatrick_scale:!1,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:"📊",fitzpatrick_scale:!1,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:"📈",fitzpatrick_scale:!1,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:"📉",fitzpatrick_scale:!1,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:"📄",fitzpatrick_scale:!1,category:"objects"},date:{keywords:["calendar","schedule"],char:"📅",fitzpatrick_scale:!1,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:"📆",fitzpatrick_scale:!1,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:"🗓",fitzpatrick_scale:!1,category:"objects"},card_index:{keywords:["business","stationery"],char:"📇",fitzpatrick_scale:!1,category:"objects"},card_file_box:{keywords:["business","stationery"],char:"🗃",fitzpatrick_scale:!1,category:"objects"},ballot_box:{keywords:["election","vote"],char:"🗳",fitzpatrick_scale:!1,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:"🗄",fitzpatrick_scale:!1,category:"objects"},clipboard:{keywords:["stationery","documents"],char:"📋",fitzpatrick_scale:!1,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:"🗒",fitzpatrick_scale:!1,category:"objects"},file_folder:{keywords:["documents","business","office"],char:"📁",fitzpatrick_scale:!1,category:"objects"},open_file_folder:{keywords:["documents","load"],char:"📂",fitzpatrick_scale:!1,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:"🗂",fitzpatrick_scale:!1,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:"🗞",fitzpatrick_scale:!1,category:"objects"},newspaper:{keywords:["press","headline"],char:"📰",fitzpatrick_scale:!1,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:"📓",fitzpatrick_scale:!1,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:"📕",fitzpatrick_scale:!1,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:"📗",fitzpatrick_scale:!1,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:"📘",fitzpatrick_scale:!1,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:"📙",fitzpatrick_scale:!1,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:"📔",fitzpatrick_scale:!1,category:"objects"},ledger:{keywords:["notes","paper"],char:"📒",fitzpatrick_scale:!1,category:"objects"},books:{keywords:["literature","library","study"],char:"📚",fitzpatrick_scale:!1,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:"📖",fitzpatrick_scale:!1,category:"objects"},safety_pin:{keywords:["diaper"],char:"🧷",fitzpatrick_scale:!1,category:"objects"},link:{keywords:["rings","url"],char:"🔗",fitzpatrick_scale:!1,category:"objects"},paperclip:{keywords:["documents","stationery"],char:"📎",fitzpatrick_scale:!1,category:"objects"},paperclips:{keywords:["documents","stationery"],char:"🖇",fitzpatrick_scale:!1,category:"objects"},scissors:{keywords:["stationery","cut"],char:"✂️",fitzpatrick_scale:!1,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:"📐",fitzpatrick_scale:!1,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:"📏",fitzpatrick_scale:!1,category:"objects"},abacus:{keywords:["calculation"],char:"🧮",fitzpatrick_scale:!1,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:"📌",fitzpatrick_scale:!1,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:"📍",fitzpatrick_scale:!1,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:"🚩",fitzpatrick_scale:!1,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:"🏳",fitzpatrick_scale:!1,category:"objects"},black_flag:{keywords:["pirate"],char:"🏴",fitzpatrick_scale:!1,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:"🏳️‍🌈",fitzpatrick_scale:!1,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:"🔐",fitzpatrick_scale:!1,category:"objects"},lock:{keywords:["security","password","padlock"],char:"🔒",fitzpatrick_scale:!1,category:"objects"},unlock:{keywords:["privacy","security"],char:"🔓",fitzpatrick_scale:!1,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:"🔏",fitzpatrick_scale:!1,category:"objects"},pen:{keywords:["stationery","writing","write"],char:"🖊",fitzpatrick_scale:!1,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:"🖋",fitzpatrick_scale:!1,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:"✒️",fitzpatrick_scale:!1,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:"📝",fitzpatrick_scale:!1,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:"✏️",fitzpatrick_scale:!1,category:"objects"},crayon:{keywords:["drawing","creativity"],char:"🖍",fitzpatrick_scale:!1,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:"🖌",fitzpatrick_scale:!1,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:"🔍",fitzpatrick_scale:!1,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:"🔎",fitzpatrick_scale:!1,category:"objects"},heart:{keywords:["love","like","valentines"],char:"❤️",fitzpatrick_scale:!1,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:"🧡",fitzpatrick_scale:!1,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:"💛",fitzpatrick_scale:!1,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:"💚",fitzpatrick_scale:!1,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:"💙",fitzpatrick_scale:!1,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:"💜",fitzpatrick_scale:!1,category:"symbols"},black_heart:{keywords:["evil"],char:"🖤",fitzpatrick_scale:!1,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:"💔",fitzpatrick_scale:!1,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:"❣",fitzpatrick_scale:!1,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:"💕",fitzpatrick_scale:!1,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:"💞",fitzpatrick_scale:!1,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:"💓",fitzpatrick_scale:!1,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:"💗",fitzpatrick_scale:!1,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:"💖",fitzpatrick_scale:!1,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:"💘",fitzpatrick_scale:!1,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:"💝",fitzpatrick_scale:!1,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:"💟",fitzpatrick_scale:!1,category:"symbols"},peace_symbol:{keywords:["hippie"],char:"☮",fitzpatrick_scale:!1,category:"symbols"},latin_cross:{keywords:["christianity"],char:"✝",fitzpatrick_scale:!1,category:"symbols"},star_and_crescent:{keywords:["islam"],char:"☪",fitzpatrick_scale:!1,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"🕉",fitzpatrick_scale:!1,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"☸",fitzpatrick_scale:!1,category:"symbols"},star_of_david:{keywords:["judaism"],char:"✡",fitzpatrick_scale:!1,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:"🔯",fitzpatrick_scale:!1,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:"🕎",fitzpatrick_scale:!1,category:"symbols"},yin_yang:{keywords:["balance"],char:"☯",fitzpatrick_scale:!1,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:"☦",fitzpatrick_scale:!1,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:"🛐",fitzpatrick_scale:!1,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:"⛎",fitzpatrick_scale:!1,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:"♈",fitzpatrick_scale:!1,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:"♉",fitzpatrick_scale:!1,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:"♊",fitzpatrick_scale:!1,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:"♋",fitzpatrick_scale:!1,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:"♌",fitzpatrick_scale:!1,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:"♍",fitzpatrick_scale:!1,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:"♎",fitzpatrick_scale:!1,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:"♏",fitzpatrick_scale:!1,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:"♐",fitzpatrick_scale:!1,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:"♑",fitzpatrick_scale:!1,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:"♒",fitzpatrick_scale:!1,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:"♓",fitzpatrick_scale:!1,category:"symbols"},id:{keywords:["purple-square","words"],char:"🆔",fitzpatrick_scale:!1,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:"⚛",fitzpatrick_scale:!1,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:"🈳",fitzpatrick_scale:!1,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:"🈹",fitzpatrick_scale:!1,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:"☢",fitzpatrick_scale:!1,category:"symbols"},biohazard:{keywords:["danger"],char:"☣",fitzpatrick_scale:!1,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:"📴",fitzpatrick_scale:!1,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:"📳",fitzpatrick_scale:!1,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:"🈶",fitzpatrick_scale:!1,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:"🈚",fitzpatrick_scale:!1,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:"🈸",fitzpatrick_scale:!1,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:"🈺",fitzpatrick_scale:!1,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:"🈷️",fitzpatrick_scale:!1,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:"✴️",fitzpatrick_scale:!1,category:"symbols"},vs:{keywords:["words","orange-square"],char:"🆚",fitzpatrick_scale:!1,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:"🉑",fitzpatrick_scale:!1,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:"💮",fitzpatrick_scale:!1,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:"🉐",fitzpatrick_scale:!1,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:"㊙️",fitzpatrick_scale:!1,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:"㊗️",fitzpatrick_scale:!1,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:"🈴",fitzpatrick_scale:!1,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:"🈵",fitzpatrick_scale:!1,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:"🈲",fitzpatrick_scale:!1,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:"🅰️",fitzpatrick_scale:!1,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:"🅱️",fitzpatrick_scale:!1,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:"🆎",fitzpatrick_scale:!1,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:"🆑",fitzpatrick_scale:!1,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:"🅾️",fitzpatrick_scale:!1,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:"🆘",fitzpatrick_scale:!1,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:"⛔",fitzpatrick_scale:!1,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:"📛",fitzpatrick_scale:!1,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:"🚫",fitzpatrick_scale:!1,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:"❌",fitzpatrick_scale:!1,category:"symbols"},o:{keywords:["circle","round"],char:"⭕",fitzpatrick_scale:!1,category:"symbols"},stop_sign:{keywords:["stop"],char:"🛑",fitzpatrick_scale:!1,category:"symbols"},anger:{keywords:["angry","mad"],char:"💢",fitzpatrick_scale:!1,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:"♨️",fitzpatrick_scale:!1,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:"🚷",fitzpatrick_scale:!1,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:"🚯",fitzpatrick_scale:!1,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:"🚳",fitzpatrick_scale:!1,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:"🚱",fitzpatrick_scale:!1,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:"🔞",fitzpatrick_scale:!1,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:"📵",fitzpatrick_scale:!1,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:"❗",fitzpatrick_scale:!1,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:"❕",fitzpatrick_scale:!1,category:"symbols"},question:{keywords:["doubt","confused"],char:"❓",fitzpatrick_scale:!1,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:"❔",fitzpatrick_scale:!1,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:"‼️",fitzpatrick_scale:!1,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:"⁉️",fitzpatrick_scale:!1,category:"symbols"},100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:"💯",fitzpatrick_scale:!1,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:"🔅",fitzpatrick_scale:!1,category:"symbols"},high_brightness:{keywords:["sun","light"],char:"🔆",fitzpatrick_scale:!1,category:"symbols"},trident:{keywords:["weapon","spear"],char:"🔱",fitzpatrick_scale:!1,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:"⚜",fitzpatrick_scale:!1,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:"〽️",fitzpatrick_scale:!1,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:"⚠️",fitzpatrick_scale:!1,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:"🚸",fitzpatrick_scale:!1,category:"symbols"},beginner:{keywords:["badge","shield"],char:"🔰",fitzpatrick_scale:!1,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:"♻️",fitzpatrick_scale:!1,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:"🈯",fitzpatrick_scale:!1,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:"💹",fitzpatrick_scale:!1,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:"❇️",fitzpatrick_scale:!1,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:"✳️",fitzpatrick_scale:!1,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:"❎",fitzpatrick_scale:!1,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:"✅",fitzpatrick_scale:!1,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:"💠",fitzpatrick_scale:!1,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:"🌀",fitzpatrick_scale:!1,category:"symbols"},loop:{keywords:["tape","cassette"],char:"➿",fitzpatrick_scale:!1,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:"🌐",fitzpatrick_scale:!1,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:"Ⓜ️",fitzpatrick_scale:!1,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:"🏧",fitzpatrick_scale:!1,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:"🈂️",fitzpatrick_scale:!1,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:"🛂",fitzpatrick_scale:!1,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:"🛃",fitzpatrick_scale:!1,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:"🛄",fitzpatrick_scale:!1,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:"🛅",fitzpatrick_scale:!1,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:"♿",fitzpatrick_scale:!1,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:"🚭",fitzpatrick_scale:!1,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:"🚾",fitzpatrick_scale:!1,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:"🅿️",fitzpatrick_scale:!1,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:"🚰",fitzpatrick_scale:!1,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:"🚹",fitzpatrick_scale:!1,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:"🚺",fitzpatrick_scale:!1,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:"🚼",fitzpatrick_scale:!1,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:"🚻",fitzpatrick_scale:!1,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:"🚮",fitzpatrick_scale:!1,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:"🎦",fitzpatrick_scale:!1,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:"📶",fitzpatrick_scale:!1,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:"🈁",fitzpatrick_scale:!1,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:"🆖",fitzpatrick_scale:!1,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:"🆗",fitzpatrick_scale:!1,category:"symbols"},up:{keywords:["blue-square","above","high"],char:"🆙",fitzpatrick_scale:!1,category:"symbols"},cool:{keywords:["words","blue-square"],char:"🆒",fitzpatrick_scale:!1,category:"symbols"},new:{keywords:["blue-square","words","start"],char:"🆕",fitzpatrick_scale:!1,category:"symbols"},free:{keywords:["blue-square","words"],char:"🆓",fitzpatrick_scale:!1,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:"0⃣",fitzpatrick_scale:!1,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:"1⃣",fitzpatrick_scale:!1,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:"2⃣",fitzpatrick_scale:!1,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:"3⃣",fitzpatrick_scale:!1,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:"4⃣",fitzpatrick_scale:!1,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:"5⃣",fitzpatrick_scale:!1,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:"6⃣",fitzpatrick_scale:!1,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:"7⃣",fitzpatrick_scale:!1,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:"8⃣",fitzpatrick_scale:!1,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:"9⃣",fitzpatrick_scale:!1,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:"🔟",fitzpatrick_scale:!1,category:"symbols"},asterisk:{keywords:["star","keycap"],char:"*⃣",fitzpatrick_scale:!1,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:"🔢",fitzpatrick_scale:!1,category:"symbols"},eject_button:{keywords:["blue-square"],char:"⏏️",fitzpatrick_scale:!1,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:"▶️",fitzpatrick_scale:!1,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:"⏸",fitzpatrick_scale:!1,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:"⏭",fitzpatrick_scale:!1,category:"symbols"},stop_button:{keywords:["blue-square"],char:"⏹",fitzpatrick_scale:!1,category:"symbols"},record_button:{keywords:["blue-square"],char:"⏺",fitzpatrick_scale:!1,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:"⏯",fitzpatrick_scale:!1,category:"symbols"},previous_track_button:{keywords:["backward"],char:"⏮",fitzpatrick_scale:!1,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:"⏩",fitzpatrick_scale:!1,category:"symbols"},rewind:{keywords:["play","blue-square"],char:"⏪",fitzpatrick_scale:!1,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:"🔀",fitzpatrick_scale:!1,category:"symbols"},repeat:{keywords:["loop","record"],char:"🔁",fitzpatrick_scale:!1,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:"🔂",fitzpatrick_scale:!1,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:"◀️",fitzpatrick_scale:!1,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:"🔼",fitzpatrick_scale:!1,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:"🔽",fitzpatrick_scale:!1,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:"⏫",fitzpatrick_scale:!1,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:"⏬",fitzpatrick_scale:!1,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:"➡️",fitzpatrick_scale:!1,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:"⬅️",fitzpatrick_scale:!1,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:"⬆️",fitzpatrick_scale:!1,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:"⬇️",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:"↗️",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:"↘️",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:"↙️",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:"↖️",fitzpatrick_scale:!1,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:"↕️",fitzpatrick_scale:!1,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:"↔️",fitzpatrick_scale:!1,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:"🔄",fitzpatrick_scale:!1,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:"↪️",fitzpatrick_scale:!1,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:"↩️",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:"⤴️",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:"⤵️",fitzpatrick_scale:!1,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:"#️⃣",fitzpatrick_scale:!1,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:"",fitzpatrick_scale:!1,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:"🔤",fitzpatrick_scale:!1,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:"🔡",fitzpatrick_scale:!1,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:"🔠",fitzpatrick_scale:!1,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:"🔣",fitzpatrick_scale:!1,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:"🎵",fitzpatrick_scale:!1,category:"symbols"},notes:{keywords:["music","score"],char:"🎶",fitzpatrick_scale:!1,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:"〰️",fitzpatrick_scale:!1,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:"➰",fitzpatrick_scale:!1,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:"✔️",fitzpatrick_scale:!1,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:"🔃",fitzpatrick_scale:!1,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:"",fitzpatrick_scale:!1,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:"",fitzpatrick_scale:!1,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:"➗",fitzpatrick_scale:!1,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:"✖️",fitzpatrick_scale:!1,category:"symbols"},infinity:{keywords:["forever"],char:"♾",fitzpatrick_scale:!1,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:"💲",fitzpatrick_scale:!1,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:"💱",fitzpatrick_scale:!1,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:"©️",fitzpatrick_scale:!1,category:"symbols"},registered:{keywords:["alphabet","circle"],char:"®️",fitzpatrick_scale:!1,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:"™️",fitzpatrick_scale:!1,category:"symbols"},end:{keywords:["words","arrow"],char:"🔚",fitzpatrick_scale:!1,category:"symbols"},back:{keywords:["arrow","words","return"],char:"🔙",fitzpatrick_scale:!1,category:"symbols"},on:{keywords:["arrow","words"],char:"🔛",fitzpatrick_scale:!1,category:"symbols"},top:{keywords:["words","blue-square"],char:"🔝",fitzpatrick_scale:!1,category:"symbols"},soon:{keywords:["arrow","words"],char:"🔜",fitzpatrick_scale:!1,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:"☑️",fitzpatrick_scale:!1,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:"🔘",fitzpatrick_scale:!1,category:"symbols"},white_circle:{keywords:["shape","round"],char:"⚪",fitzpatrick_scale:!1,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:"⚫",fitzpatrick_scale:!1,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:"🔴",fitzpatrick_scale:!1,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:"🔵",fitzpatrick_scale:!1,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:"🔸",fitzpatrick_scale:!1,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:"🔹",fitzpatrick_scale:!1,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:"🔶",fitzpatrick_scale:!1,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:"🔷",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:"🔺",fitzpatrick_scale:!1,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:"▪️",fitzpatrick_scale:!1,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:"▫️",fitzpatrick_scale:!1,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:"⬛",fitzpatrick_scale:!1,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:"⬜",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:"🔻",fitzpatrick_scale:!1,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:"◼️",fitzpatrick_scale:!1,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:"◻️",fitzpatrick_scale:!1,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:"◾",fitzpatrick_scale:!1,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:"◽",fitzpatrick_scale:!1,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:"🔲",fitzpatrick_scale:!1,category:"symbols"},white_square_button:{keywords:["shape","input"],char:"🔳",fitzpatrick_scale:!1,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:"🔈",fitzpatrick_scale:!1,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:"🔉",fitzpatrick_scale:!1,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:"🔊",fitzpatrick_scale:!1,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:"🔇",fitzpatrick_scale:!1,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:"📣",fitzpatrick_scale:!1,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:"📢",fitzpatrick_scale:!1,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:"🔔",fitzpatrick_scale:!1,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:"🔕",fitzpatrick_scale:!1,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:"🃏",fitzpatrick_scale:!1,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:"🀄",fitzpatrick_scale:!1,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:"♠️",fitzpatrick_scale:!1,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:"♣️",fitzpatrick_scale:!1,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:"♥️",fitzpatrick_scale:!1,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:"♦️",fitzpatrick_scale:!1,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:"🎴",fitzpatrick_scale:!1,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:"💭",fitzpatrick_scale:!1,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:"🗯",fitzpatrick_scale:!1,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:"💬",fitzpatrick_scale:!1,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:"🗨",fitzpatrick_scale:!1,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:"🕐",fitzpatrick_scale:!1,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:"🕑",fitzpatrick_scale:!1,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:"🕒",fitzpatrick_scale:!1,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:"🕓",fitzpatrick_scale:!1,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:"🕔",fitzpatrick_scale:!1,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:"🕕",fitzpatrick_scale:!1,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:"🕖",fitzpatrick_scale:!1,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:"🕗",fitzpatrick_scale:!1,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:"🕘",fitzpatrick_scale:!1,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:"🕙",fitzpatrick_scale:!1,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:"🕚",fitzpatrick_scale:!1,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:"🕛",fitzpatrick_scale:!1,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:"🕜",fitzpatrick_scale:!1,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:"🕝",fitzpatrick_scale:!1,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:"🕞",fitzpatrick_scale:!1,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:"🕟",fitzpatrick_scale:!1,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:"🕠",fitzpatrick_scale:!1,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:"🕡",fitzpatrick_scale:!1,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:"🕢",fitzpatrick_scale:!1,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:"🕣",fitzpatrick_scale:!1,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:"🕤",fitzpatrick_scale:!1,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:"🕥",fitzpatrick_scale:!1,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:"🕦",fitzpatrick_scale:!1,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:"🕧",fitzpatrick_scale:!1,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:"🇦🇫",fitzpatrick_scale:!1,category:"flags"},aland_islands:{keywords:["Åland","islands","flag","nation","country","banner"],char:"🇦🇽",fitzpatrick_scale:!1,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:"🇦🇱",fitzpatrick_scale:!1,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:"🇩🇿",fitzpatrick_scale:!1,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:"🇦🇸",fitzpatrick_scale:!1,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:"🇦🇩",fitzpatrick_scale:!1,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:"🇦🇴",fitzpatrick_scale:!1,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:"🇦🇮",fitzpatrick_scale:!1,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:"🇦🇶",fitzpatrick_scale:!1,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:"🇦🇬",fitzpatrick_scale:!1,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:"🇦🇷",fitzpatrick_scale:!1,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:"🇦🇲",fitzpatrick_scale:!1,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:"🇦🇼",fitzpatrick_scale:!1,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:"🇦🇺",fitzpatrick_scale:!1,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:"🇦🇹",fitzpatrick_scale:!1,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:"🇦🇿",fitzpatrick_scale:!1,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:"🇧🇸",fitzpatrick_scale:!1,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:"🇧🇭",fitzpatrick_scale:!1,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:"🇧🇩",fitzpatrick_scale:!1,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:"🇧🇧",fitzpatrick_scale:!1,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:"🇧🇾",fitzpatrick_scale:!1,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:"🇧🇪",fitzpatrick_scale:!1,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:"🇧🇿",fitzpatrick_scale:!1,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:"🇧🇯",fitzpatrick_scale:!1,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:"🇧🇲",fitzpatrick_scale:!1,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:"🇧🇹",fitzpatrick_scale:!1,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:"🇧🇴",fitzpatrick_scale:!1,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:"🇧🇶",fitzpatrick_scale:!1,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:"🇧🇦",fitzpatrick_scale:!1,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:"🇧🇼",fitzpatrick_scale:!1,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:"🇧🇷",fitzpatrick_scale:!1,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:"🇮🇴",fitzpatrick_scale:!1,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:"🇻🇬",fitzpatrick_scale:!1,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:"🇧🇳",fitzpatrick_scale:!1,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:"🇧🇬",fitzpatrick_scale:!1,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:"🇧🇫",fitzpatrick_scale:!1,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:"🇧🇮",fitzpatrick_scale:!1,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:"🇨🇻",fitzpatrick_scale:!1,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:"🇰🇭",fitzpatrick_scale:!1,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:"🇨🇲",fitzpatrick_scale:!1,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:"🇨🇦",fitzpatrick_scale:!1,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:"🇮🇨",fitzpatrick_scale:!1,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:"🇰🇾",fitzpatrick_scale:!1,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:"🇨🇫",fitzpatrick_scale:!1,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:"🇹🇩",fitzpatrick_scale:!1,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:"🇨🇱",fitzpatrick_scale:!1,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:"🇨🇳",fitzpatrick_scale:!1,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:"🇨🇽",fitzpatrick_scale:!1,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:"🇨🇨",fitzpatrick_scale:!1,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:"🇨🇴",fitzpatrick_scale:!1,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:"🇰🇲",fitzpatrick_scale:!1,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:"🇨🇬",fitzpatrick_scale:!1,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:"🇨🇩",fitzpatrick_scale:!1,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:"🇨🇰",fitzpatrick_scale:!1,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:"🇨🇷",fitzpatrick_scale:!1,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:"🇭🇷",fitzpatrick_scale:!1,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:"🇨🇺",fitzpatrick_scale:!1,category:"flags"},curacao:{keywords:["curaçao","flag","nation","country","banner"],char:"🇨🇼",fitzpatrick_scale:!1,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:"🇨🇾",fitzpatrick_scale:!1,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:"🇨🇿",fitzpatrick_scale:!1,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:"🇩🇰",fitzpatrick_scale:!1,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:"🇩🇯",fitzpatrick_scale:!1,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:"🇩🇲",fitzpatrick_scale:!1,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:"🇩🇴",fitzpatrick_scale:!1,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:"🇪🇨",fitzpatrick_scale:!1,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:"🇪🇬",fitzpatrick_scale:!1,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:"🇸🇻",fitzpatrick_scale:!1,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:"🇬🇶",fitzpatrick_scale:!1,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:"🇪🇷",fitzpatrick_scale:!1,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:"🇪🇪",fitzpatrick_scale:!1,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:"🇪🇹",fitzpatrick_scale:!1,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:"🇪🇺",fitzpatrick_scale:!1,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:"🇫🇰",fitzpatrick_scale:!1,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:"🇫🇴",fitzpatrick_scale:!1,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:"🇫🇯",fitzpatrick_scale:!1,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:"🇫🇮",fitzpatrick_scale:!1,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:"🇫🇷",fitzpatrick_scale:!1,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:"🇬🇫",fitzpatrick_scale:!1,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:"🇵🇫",fitzpatrick_scale:!1,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:"🇹🇫",fitzpatrick_scale:!1,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:"🇬🇦",fitzpatrick_scale:!1,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:"🇬🇲",fitzpatrick_scale:!1,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:"🇬🇪",fitzpatrick_scale:!1,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:"🇩🇪",fitzpatrick_scale:!1,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:"🇬🇭",fitzpatrick_scale:!1,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:"🇬🇮",fitzpatrick_scale:!1,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:"🇬🇷",fitzpatrick_scale:!1,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:"🇬🇱",fitzpatrick_scale:!1,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:"🇬🇩",fitzpatrick_scale:!1,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:"🇬🇵",fitzpatrick_scale:!1,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:"🇬🇺",fitzpatrick_scale:!1,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:"🇬🇹",fitzpatrick_scale:!1,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:"🇬🇬",fitzpatrick_scale:!1,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:"🇬🇳",fitzpatrick_scale:!1,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:"🇬🇼",fitzpatrick_scale:!1,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:"🇬🇾",fitzpatrick_scale:!1,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:"🇭🇹",fitzpatrick_scale:!1,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:"🇭🇳",fitzpatrick_scale:!1,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:"🇭🇰",fitzpatrick_scale:!1,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:"🇭🇺",fitzpatrick_scale:!1,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:"🇮🇸",fitzpatrick_scale:!1,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:"🇮🇳",fitzpatrick_scale:!1,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:"🇮🇩",fitzpatrick_scale:!1,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:"🇮🇷",fitzpatrick_scale:!1,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:"🇮🇶",fitzpatrick_scale:!1,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:"🇮🇪",fitzpatrick_scale:!1,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:"🇮🇲",fitzpatrick_scale:!1,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:"🇮🇱",fitzpatrick_scale:!1,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:"🇮🇹",fitzpatrick_scale:!1,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:"🇨🇮",fitzpatrick_scale:!1,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:"🇯🇲",fitzpatrick_scale:!1,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:"🇯🇵",fitzpatrick_scale:!1,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:"🇯🇪",fitzpatrick_scale:!1,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:"🇯🇴",fitzpatrick_scale:!1,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:"🇰🇿",fitzpatrick_scale:!1,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:"🇰🇪",fitzpatrick_scale:!1,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:"🇰🇮",fitzpatrick_scale:!1,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:"🇽🇰",fitzpatrick_scale:!1,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:"🇰🇼",fitzpatrick_scale:!1,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:"🇰🇬",fitzpatrick_scale:!1,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:"🇱🇦",fitzpatrick_scale:!1,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:"🇱🇻",fitzpatrick_scale:!1,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:"🇱🇧",fitzpatrick_scale:!1,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:"🇱🇸",fitzpatrick_scale:!1,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:"🇱🇷",fitzpatrick_scale:!1,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:"🇱🇾",fitzpatrick_scale:!1,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:"🇱🇮",fitzpatrick_scale:!1,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:"🇱🇹",fitzpatrick_scale:!1,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:"🇱🇺",fitzpatrick_scale:!1,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:"🇲🇴",fitzpatrick_scale:!1,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:"🇲🇰",fitzpatrick_scale:!1,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:"🇲🇬",fitzpatrick_scale:!1,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:"🇲🇼",fitzpatrick_scale:!1,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:"🇲🇾",fitzpatrick_scale:!1,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:"🇲🇻",fitzpatrick_scale:!1,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:"🇲🇱",fitzpatrick_scale:!1,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:"🇲🇹",fitzpatrick_scale:!1,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:"🇲🇭",fitzpatrick_scale:!1,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:"🇲🇶",fitzpatrick_scale:!1,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:"🇲🇷",fitzpatrick_scale:!1,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:"🇲🇺",fitzpatrick_scale:!1,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:"🇾🇹",fitzpatrick_scale:!1,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:"🇲🇽",fitzpatrick_scale:!1,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:"🇫🇲",fitzpatrick_scale:!1,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:"🇲🇩",fitzpatrick_scale:!1,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:"🇲🇨",fitzpatrick_scale:!1,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:"🇲🇳",fitzpatrick_scale:!1,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:"🇲🇪",fitzpatrick_scale:!1,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:"🇲🇸",fitzpatrick_scale:!1,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:"🇲🇦",fitzpatrick_scale:!1,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:"🇲🇿",fitzpatrick_scale:!1,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:"🇲🇲",fitzpatrick_scale:!1,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:"🇳🇦",fitzpatrick_scale:!1,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:"🇳🇷",fitzpatrick_scale:!1,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:"🇳🇵",fitzpatrick_scale:!1,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:"🇳🇱",fitzpatrick_scale:!1,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:"🇳🇨",fitzpatrick_scale:!1,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:"🇳🇿",fitzpatrick_scale:!1,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:"🇳🇮",fitzpatrick_scale:!1,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:"🇳🇪",fitzpatrick_scale:!1,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:"🇳🇬",fitzpatrick_scale:!1,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:"🇳🇺",fitzpatrick_scale:!1,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:"🇳🇫",fitzpatrick_scale:!1,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:"🇲🇵",fitzpatrick_scale:!1,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:"🇰🇵",fitzpatrick_scale:!1,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:"🇳🇴",fitzpatrick_scale:!1,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:"🇴🇲",fitzpatrick_scale:!1,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:"🇵🇰",fitzpatrick_scale:!1,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:"🇵🇼",fitzpatrick_scale:!1,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:"🇵🇸",fitzpatrick_scale:!1,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:"🇵🇦",fitzpatrick_scale:!1,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:"🇵🇬",fitzpatrick_scale:!1,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:"🇵🇾",fitzpatrick_scale:!1,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:"🇵🇪",fitzpatrick_scale:!1,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:"🇵🇭",fitzpatrick_scale:!1,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:"🇵🇳",fitzpatrick_scale:!1,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:"🇵🇱",fitzpatrick_scale:!1,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:"🇵🇹",fitzpatrick_scale:!1,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:"🇵🇷",fitzpatrick_scale:!1,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:"🇶🇦",fitzpatrick_scale:!1,category:"flags"},reunion:{keywords:["réunion","flag","nation","country","banner"],char:"🇷🇪",fitzpatrick_scale:!1,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:"🇷🇴",fitzpatrick_scale:!1,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:"🇷🇺",fitzpatrick_scale:!1,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:"🇷🇼",fitzpatrick_scale:!1,category:"flags"},st_barthelemy:{keywords:["saint","barthélemy","flag","nation","country","banner"],char:"🇧🇱",fitzpatrick_scale:!1,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:"🇸🇭",fitzpatrick_scale:!1,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:"🇰🇳",fitzpatrick_scale:!1,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:"🇱🇨",fitzpatrick_scale:!1,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:"🇵🇲",fitzpatrick_scale:!1,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:"🇻🇨",fitzpatrick_scale:!1,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:"🇼🇸",fitzpatrick_scale:!1,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:"🇸🇲",fitzpatrick_scale:!1,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:"🇸🇹",fitzpatrick_scale:!1,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:"🇸🇦",fitzpatrick_scale:!1,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:"🇸🇳",fitzpatrick_scale:!1,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:"🇷🇸",fitzpatrick_scale:!1,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:"🇸🇨",fitzpatrick_scale:!1,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:"🇸🇱",fitzpatrick_scale:!1,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:"🇸🇬",fitzpatrick_scale:!1,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:"🇸🇽",fitzpatrick_scale:!1,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:"🇸🇰",fitzpatrick_scale:!1,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:"🇸🇮",fitzpatrick_scale:!1,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:"🇸🇧",fitzpatrick_scale:!1,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:"🇸🇴",fitzpatrick_scale:!1,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:"🇿🇦",fitzpatrick_scale:!1,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:"🇬🇸",fitzpatrick_scale:!1,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:"🇰🇷",fitzpatrick_scale:!1,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:"🇸🇸",fitzpatrick_scale:!1,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:"🇪🇸",fitzpatrick_scale:!1,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:"🇱🇰",fitzpatrick_scale:!1,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:"🇸🇩",fitzpatrick_scale:!1,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:"🇸🇷",fitzpatrick_scale:!1,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:"🇸🇿",fitzpatrick_scale:!1,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:"🇸🇪",fitzpatrick_scale:!1,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:"🇨🇭",fitzpatrick_scale:!1,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:"🇸🇾",fitzpatrick_scale:!1,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:"🇹🇼",fitzpatrick_scale:!1,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:"🇹🇯",fitzpatrick_scale:!1,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:"🇹🇿",fitzpatrick_scale:!1,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:"🇹🇭",fitzpatrick_scale:!1,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:"🇹🇱",fitzpatrick_scale:!1,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:"🇹🇬",fitzpatrick_scale:!1,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:"🇹🇰",fitzpatrick_scale:!1,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:"🇹🇴",fitzpatrick_scale:!1,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:"🇹🇹",fitzpatrick_scale:!1,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:"🇹🇳",fitzpatrick_scale:!1,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:"🇹🇷",fitzpatrick_scale:!1,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:"🇹🇲",fitzpatrick_scale:!1,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:"🇹🇨",fitzpatrick_scale:!1,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:"🇹🇻",fitzpatrick_scale:!1,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:"🇺🇬",fitzpatrick_scale:!1,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:"🇺🇦",fitzpatrick_scale:!1,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:"🇦🇪",fitzpatrick_scale:!1,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:"🇬🇧",fitzpatrick_scale:!1,category:"flags"},england:{keywords:["flag","english"],char:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",fitzpatrick_scale:!1,category:"flags"},scotland:{keywords:["flag","scottish"],char:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",fitzpatrick_scale:!1,category:"flags"},wales:{keywords:["flag","welsh"],char:"🏴󠁧󠁢󠁷󠁬󠁳󠁿",fitzpatrick_scale:!1,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:"🇺🇸",fitzpatrick_scale:!1,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:"🇻🇮",fitzpatrick_scale:!1,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:"🇺🇾",fitzpatrick_scale:!1,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:"🇺🇿",fitzpatrick_scale:!1,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:"🇻🇺",fitzpatrick_scale:!1,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:"🇻🇦",fitzpatrick_scale:!1,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:"🇻🇪",fitzpatrick_scale:!1,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:"🇻🇳",fitzpatrick_scale:!1,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:"🇼🇫",fitzpatrick_scale:!1,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:"🇪🇭",fitzpatrick_scale:!1,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:"🇾🇪",fitzpatrick_scale:!1,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:"🇿🇲",fitzpatrick_scale:!1,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:"🇿🇼",fitzpatrick_scale:!1,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:"🇺🇳",fitzpatrick_scale:!1,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:"🏴‍☠️",fitzpatrick_scale:!1,category:"flags"}})},98248:function(e,t,n){"use strict";var r=n(15215),o=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.C6)(t,e),t.prototype.render=function(e,t,n,r){this.dataZoomModel=e,this.ecModel=t,this.api=n},t.type="dataZoom",t}(n(59109).A);t.A=o},98261:function(e,t,n){"use strict";n.d(t,{mg:function(){return h},F_:function(){return d},Bo:function(){return c},aF:function(){return p},hY:function(){return m},Rt:function(){return f}});var r=n(22720),o=n(2154),i=n(41418),a=n(76031),s=n(90033);const l=(e,t)=>{if(!r.oc)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],o=(0,a.gd)(e,n);return["scroll","auto","overlay"].some((e=>o.includes(e)))},c=(e,t)=>{if(!r.oc)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(l(n,t))return n;n=n.parentNode}return n};let u;const d=e=>{var t;if(!r.oc)return 0;if(void 0!==u)return u;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const o=n.offsetWidth;n.style.overflow="scroll";const i=document.createElement("div");i.style.width="100%",n.appendChild(i);const a=i.offsetWidth;return null==(t=n.parentNode)||t.removeChild(n),u=o-a,u};function f(e,t){if(!r.oc)return;if(!t)return void(e.scrollTop=0);const n=[];let o=t.offsetParent;for(;null!==o&&e!==o&&e.contains(o);)n.push(o),o=o.offsetParent;const i=t.offsetTop+n.reduce(((e,t)=>e+t.offsetTop),0),a=i+t.offsetHeight,s=e.scrollTop,l=s+e.clientHeight;i<s?e.scrollTop=i:a>l&&(e.scrollTop=a-e.clientHeight)}function h(e,t,n,r,a){const l=Date.now();let c;const u=()=>{const d=Date.now()-l,f=function(e,t,n,r){const o=n-t;return(e/=r/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}(d>r?r:d,t,n,r);(0,o.l6)(e)?e.scrollTo(window.pageXOffset,f):e.scrollTop=f,d<r?c=(0,i.m)(u):(0,s.Tn)(a)&&a()};return u(),()=>{c&&(0,i.V)(c)}}const p=(e,t)=>(0,o.l6)(t)?e.ownerDocument.documentElement:t,m=e=>(0,o.l6)(e)?window.scrollY:e.scrollTop},98527:function(e,t,n){var r=n(96430),o=n(89528),i=n(95932),a=n(79135),s=n(53848),l=n(54477),c=n(10906),u=n(2801),d=n(60843),f=n(29650),h=n(54529);function p(e,t){return c(e)?1:u(e)?c(t)?-1:1:e&&e.localeCompare?e.localeCompare(t):e>t?1:-1}function m(e,t,n){return function(r,o){var i=r[e],a=o[e];return i===a?n?n(r,o):0:"desc"===t.order?p(a,i):p(i,a)}}e.exports=function(e,t,n){if(e){if(d(t))return o(e).sort(p);for(var c,u=i(e,(function(e){return{data:e}})),g=function(e,t,n,o){var i=[];return n=a(n)?n:[n],r(n,(function(n,c){if(n){var u,d=n;a(n)?(d=n[0],u=n[1]):l(n)&&(d=n.field,u=n.order),i.push({field:d,order:u||"asc"}),r(t,s(d)?function(t,n){t[c]=d.call(o,t.data,n,e)}:function(e){e[c]=d?f(e.data,d):e.data})}})),i}(e,u,t,n),A=g.length-1;A>=0;)c=m(A,g[A],c),A--;return c&&(u=u.sort(c)),i(u,h("data"))}return[]}},98580:function(e,t,n){var r=n(2237),o=(n(95932),n(98527)),i=n(83515),a=n(60843),s=n(35657),l=n(44832),c=n(24993);e.exports=function(e,t){var n,u,d,f=c({},r.treeOptions,t),h=f.strict,p=f.key,m=f.parentKey,g=f.children,A=f.mapChildren,v=f.sortKey,y=f.reverse,O=f.data,b=[],w={},_={};return v&&(e=o(i(e),v),y&&(e=e.reverse())),s(e,(function(e){n=e[p],_[n]=!0})),s(e,(function(e){n=e[p],O?(u={})[O]=e:u=e,d=e[m],w[n]=w[n]||[],u[p]=n,u[m]=d,n===d&&(d=null,console.log("Fix infinite Loop.",e)),w[d]=w[d]||[],w[d].push(u),u[g]=w[n],A&&(u[A]=w[n]),(!h||h&&a(d))&&(_[d]||b.push(u))})),h&&function(e,t){s(e,(function(e){e[t]&&!e[t].length&&l(e,t)}))}(e,g),b}},98594:function(e){e.exports=function(e){return function(t){return typeof t===e}}},98595:function(e,t,n){"use strict";var r=n(98026),o=n(43199),i=n(25451),a=n(48170),s=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],l=function(){function e(e,t,n){var o=this;this._targetInfoList=[];var i=u(t,e);(0,r.each)(d,(function(e,t){(!n||!n.include||(0,r.indexOf)(n.include,t)>=0)&&e(i,o._targetInfoList)}))}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=p[e.brushType](0,n,t);e.__rangeOffset={offset:g[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}})),e},e.prototype.matchOutputRanges=function(e,t,n){(0,r.each)(e,(function(e){var o=this.findTargetInfo(e,t);o&&!0!==o&&(0,r.each)(o.coordSyses,(function(r){var o=p[e.brushType](1,r,e.range,!0);n(e,o.values,r,t)}))}),this)},e.prototype.setInputRanges=function(e,t){(0,r.each)(e,(function(e){var n,r,o,i,a,s=this.findTargetInfo(e,t);if(e.range=e.range||[],s&&!0!==s){e.panelId=s.panelId;var l=p[e.brushType](0,s.coordSys,e.coordRange),c=e.__rangeOffset;e.range=c?g[e.brushType](l.values,c.offset,(n=l.xyMinMax,r=c.xyMinMax,o=v(n),i=v(r),a=[o[0]/i[0],o[1]/i[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},e.prototype.makePanelOpts=function(e,t){return(0,r.map)(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:i.wd(r),isTargetByCursor:i.x$(r,e,n.coordSysModel),getLinearBrushOtherExtent:i.wx(r)}}))},e.prototype.controlSeries=function(e,t,n){var o=this.findTargetInfo(e,n);return!0===o||o&&(0,r.indexOf)(o.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=u(t,e),o=0;o<n.length;o++){var i=n[o],a=e.panelId;if(a){if(i.panelId===a)return i}else for(var s=0;s<f.length;s++)if(f[s](r,i))return i}return!0},e}();function c(e){return e[0]>e[1]&&e.reverse(),e}function u(e,t){return(0,a._e)(e,t,{includeMainTypes:s})}var d={grid:function(e,t){var n=e.xAxisModels,o=e.yAxisModels,i=e.gridModels,a=(0,r.createHashMap)(),s={},l={};(n||o||i)&&((0,r.each)(n,(function(e){var t=e.axis.grid.model;a.set(t.id,t),s[t.id]=!0})),(0,r.each)(o,(function(e){var t=e.axis.grid.model;a.set(t.id,t),l[t.id]=!0})),(0,r.each)(i,(function(e){a.set(e.id,e),s[e.id]=!0,l[e.id]=!0})),a.each((function(e){var i=e.coordinateSystem,a=[];(0,r.each)(i.getCartesians(),(function(e,t){((0,r.indexOf)(n,e.getAxis("x").model)>=0||(0,r.indexOf)(o,e.getAxis("y").model)>=0)&&a.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:a[0],coordSyses:a,getPanelRect:h.grid,xAxisDeclared:s[e.id],yAxisDeclared:l[e.id]})})))},geo:function(e,t){(0,r.each)(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:h.geo})}))}},f=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,o=e.gridModel;return!o&&n&&(o=n.axis.grid.model),!o&&r&&(o=r.axis.grid.model),o&&o===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],h={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(o.getTransform(e)),t}},p={lineX:(0,r.curry)(m,0),lineY:(0,r.curry)(m,1),rect:function(e,t,n,r){var o=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),i=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),a=[c([o[0],i[0]]),c([o[1],i[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n,o){var i=[[1/0,-1/0],[1/0,-1/0]];return{values:(0,r.map)(n,(function(n){var r=e?t.pointToData(n,o):t.dataToPoint(n,o);return i[0][0]=Math.min(i[0][0],r[0]),i[1][0]=Math.min(i[1][0],r[1]),i[0][1]=Math.max(i[0][1],r[0]),i[1][1]=Math.max(i[1][1],r[1]),r})),xyMinMax:i}}};function m(e,t,n,o){var i=n.getAxis(["x","y"][e]),a=c((0,r.map)([0,1],(function(e){return t?i.coordToData(i.toLocalCoord(o[e]),!0):i.toGlobalCoord(i.dataToCoord(o[e]))}))),s=[];return s[e]=a,s[1-e]=[NaN,NaN],{values:a,xyMinMax:s}}var g={lineX:(0,r.curry)(A,0),lineY:(0,r.curry)(A,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return(0,r.map)(e,(function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]}))}};function A(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function v(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}t.A=l},98721:function(e,t,n){"use strict";var r=n(43724),o=n(79504),i=n(62106),a=URLSearchParams.prototype,s=o(a.forEach);r&&!("size"in a)&&i(a,"size",{get:function(){var e=0;return s(this,(function(){e++})),e},configurable:!0,enumerable:!0})},98867:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}()},98905:function(e,t,n){"use strict";n.d(t,{A:function(){return iQ}});const r=Symbol("INSTALLED_KEY");var o=n(22974),i=n(61431),a=n(97786),s=n(31069),l=n(50819),c=n(2154);const u=(0,l.b_)({zIndex:{type:(0,l.jq)([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),d={scroll:({scrollTop:e,fixed:t})=>(0,c.Et)(e)&&(0,c.Lm)(t),[s.YU]:e=>(0,c.Lm)(e)};var f=n(78396),h=n(65980),p=n(98261),m=n(76031),g=n(41651);const A="ElAffix",v=(0,i.defineComponent)({name:A}),y=(0,i.defineComponent)({...v,props:u,emits:d,setup(e,{expose:t,emit:n}){const r=e,o=(0,h.DU)("affix"),s=(0,i.shallowRef)(),l=(0,i.shallowRef)(),c=(0,i.shallowRef)(),{height:u}=(0,a.lWr)(),{height:d,width:f,top:v,bottom:y,update:O}=(0,a.SSU)(l,{windowScroll:!1}),b=(0,a.SSU)(s),w=(0,i.ref)(!1),_=(0,i.ref)(0),x=(0,i.ref)(0),S=(0,i.computed)((()=>({height:w.value?`${d.value}px`:"",width:w.value?`${f.value}px`:""}))),k=(0,i.computed)((()=>{if(!w.value)return{};const e=r.offset?(0,m._V)(r.offset):0;return{height:`${d.value}px`,width:`${f.value}px`,top:"top"===r.position?e:"",bottom:"bottom"===r.position?e:"",transform:x.value?`translateY(${x.value}px)`:"",zIndex:r.zIndex}})),C=()=>{if(!c.value)return;_.value=c.value instanceof Window?document.documentElement.scrollTop:c.value.scrollTop||0;const{position:e,target:t,offset:n}=r,o=n+d.value;if("top"===e)if(t){const e=b.bottom.value-o;w.value=n>v.value&&b.bottom.value>0,x.value=e<0?e:0}else w.value=n>v.value;else if(t){const e=u.value-b.top.value-o;w.value=u.value-n<y.value&&u.value>b.top.value,x.value=e<0?-e:0}else w.value=u.value-n<y.value};return(0,i.watch)(w,(e=>n("change",e))),(0,i.onMounted)((()=>{var e;r.target?(s.value=null!=(e=document.querySelector(r.target))?e:void 0,s.value||(0,g.$)(A,`Target does not exist: ${r.target}`)):s.value=document.documentElement,c.value=(0,p.Bo)(l.value,!0),O()})),(0,a.MLh)(c,"scroll",(()=>{O(),n("scroll",{scrollTop:_.value,fixed:w.value})})),(0,i.watchEffect)(C),t({update:C,updateRoot:O}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"root",ref:l,class:(0,i.normalizeClass)((0,i.unref)(o).b()),style:(0,i.normalizeStyle)((0,i.unref)(S))},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)({[(0,i.unref)(o).m("fixed")]:w.value}),style:(0,i.normalizeStyle)((0,i.unref)(k))},[(0,i.renderSlot)(e.$slots,"default")],6)],6))}});var O=(0,f.A)(y,[["__file","affix.vue"]]),b=n(64769);const w=(0,b.GU)(O);var _=n(91361),x=n(25343),S=n(55158);const k=(0,l.b_)({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:(0,S.YD)(x.rz),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:["light","dark"],default:"light"}}),C={close:e=>e instanceof MouseEvent},B=(0,i.defineComponent)({name:"ElAlert"}),Q=(0,i.defineComponent)({...B,props:k,emits:C,setup(e,{emit:t}){const n=e,{Close:r}=x.Nk,o=(0,i.useSlots)(),a=(0,h.DU)("alert"),s=(0,i.ref)(!0),l=(0,i.computed)((()=>x.rz[n.type])),c=(0,i.computed)((()=>!(!n.description&&!o.default))),u=e=>{s.value=!1,t("close",e)};return(e,t)=>((0,i.openBlock)(),(0,i.createBlock)(i.Transition,{name:(0,i.unref)(a).b("fade"),persisted:""},{default:(0,i.withCtx)((()=>[(0,i.withDirectives)((0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([(0,i.unref)(a).b(),(0,i.unref)(a).m(e.type),(0,i.unref)(a).is("center",e.center),(0,i.unref)(a).is(e.effect)]),role:"alert"},[e.showIcon&&(0,i.unref)(l)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)([(0,i.unref)(a).e("icon"),{[(0,i.unref)(a).is("big")]:(0,i.unref)(c)}])},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(l))))])),_:1},8,["class"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(a).e("content"))},[e.title||e.$slots.title?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0,class:(0,i.normalizeClass)([(0,i.unref)(a).e("title"),{"with-description":(0,i.unref)(c)}])},[(0,i.renderSlot)(e.$slots,"title",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.title),1)]))],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.unref)(c)?((0,i.openBlock)(),(0,i.createElementBlock)("p",{key:1,class:(0,i.normalizeClass)((0,i.unref)(a).e("description"))},[(0,i.renderSlot)(e.$slots,"default",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.description),1)]))],2)):(0,i.createCommentVNode)("v-if",!0),e.closable?((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:2},[e.closeText?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)([(0,i.unref)(a).e("close-btn"),(0,i.unref)(a).is("customed")]),onClick:u},(0,i.toDisplayString)(e.closeText),3)):((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:1,class:(0,i.normalizeClass)((0,i.unref)(a).e("close-btn")),onClick:u},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(r))])),_:1},8,["class"]))],64)):(0,i.createCommentVNode)("v-if",!0)],2)],2),[[i.vShow,s.value]])])),_:3},8,["name"]))}});var T=(0,f.A)(Q,[["__file","alert.vue"]]);const E=(0,b.GU)(T);var P=n(23149),$=n(41917),M=function(){return $.A.Date.now()},z=/\s/,R=/^\s+/,D=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&z.test(e.charAt(t)););return t}(e)+1).replace(R,""):e},I=n(61882),N=/^[-+]0x[0-9a-f]+$/i,L=/^0b[01]+$/i,V=/^0o[0-7]+$/i,U=parseInt,F=function(e){if("number"==typeof e)return e;if((0,I.A)(e))return NaN;if((0,P.A)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,P.A)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=D(e);var n=L.test(e);return n||V.test(e)?U(e.slice(2),n?2:8):N.test(e)?NaN:+e},H=Math.max,W=Math.min,X=function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,d=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function p(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function m(){var e=M();if(p(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return d?W(n,i-(e-c)):n}(e))}function g(e){return s=void 0,f&&r?h(e):(r=o=void 0,a)}function A(){var e=M(),n=p(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(m,t),u?h(e):a}(l);if(d)return clearTimeout(s),s=setTimeout(m,t),h(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=F(t)||0,(0,P.A)(n)&&(u=!!n.leading,i=(d="maxWait"in n)?H(F(n.maxWait)||0,t):i,f="trailing"in n?!!n.trailing:f),A.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},A.flush=function(){return void 0===s?a:g(M())},A},j=n(48548),q=n(28224);const Z={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};var Y=n(22720);const G=Symbol("scrollbarContextKey"),K=(0,l.b_)({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),J=(0,i.defineComponent)({__name:"thumb",props:K,setup(e){const t=e,n=(0,i.inject)(G),r=(0,h.DU)("scrollbar");n||(0,g.$)("Thumb","can not inject scrollbar context");const o=(0,i.ref)(),s=(0,i.ref)(),l=(0,i.ref)({}),c=(0,i.ref)(!1);let u=!1,d=!1,f=Y.oc?document.onselectstart:null;const p=(0,i.computed)((()=>Z[t.vertical?"vertical":"horizontal"])),m=(0,i.computed)((()=>(({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}))({size:t.size,move:t.move,bar:p.value}))),A=(0,i.computed)((()=>o.value[p.value.offset]**2/n.wrapElement[p.value.scrollSize]/t.ratio/s.value[p.value.offset])),v=e=>{var t;if(e.stopPropagation(),e.ctrlKey||[1,2].includes(e.button))return;null==(t=window.getSelection())||t.removeAllRanges(),O(e);const n=e.currentTarget;n&&(l.value[p.value.axis]=n[p.value.offset]-(e[p.value.client]-n.getBoundingClientRect()[p.value.direction]))},y=e=>{if(!s.value||!o.value||!n.wrapElement)return;const t=100*(Math.abs(e.target.getBoundingClientRect()[p.value.direction]-e[p.value.client])-s.value[p.value.offset]/2)*A.value/o.value[p.value.offset];n.wrapElement[p.value.scroll]=t*n.wrapElement[p.value.scrollSize]/100},O=e=>{e.stopImmediatePropagation(),u=!0,document.addEventListener("mousemove",b),document.addEventListener("mouseup",w),f=document.onselectstart,document.onselectstart=()=>!1},b=e=>{if(!o.value||!s.value)return;if(!1===u)return;const t=l.value[p.value.axis];if(!t)return;const r=100*(-1*(o.value.getBoundingClientRect()[p.value.direction]-e[p.value.client])-(s.value[p.value.offset]-t))*A.value/o.value[p.value.offset];n.wrapElement[p.value.scroll]=r*n.wrapElement[p.value.scrollSize]/100},w=()=>{u=!1,l.value[p.value.axis]=0,document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",w),_(),d&&(c.value=!1)};(0,i.onBeforeUnmount)((()=>{_(),document.removeEventListener("mouseup",w)}));const _=()=>{document.onselectstart!==f&&(document.onselectstart=f)};return(0,a.MLh)((0,i.toRef)(n,"scrollbarElement"),"mousemove",(()=>{d=!1,c.value=!!t.size})),(0,a.MLh)((0,i.toRef)(n,"scrollbarElement"),"mouseleave",(()=>{d=!0,c.value=u})),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)(i.Transition,{name:(0,i.unref)(r).b("fade"),persisted:""},{default:(0,i.withCtx)((()=>[(0,i.withDirectives)((0,i.createElementVNode)("div",{ref_key:"instance",ref:o,class:(0,i.normalizeClass)([(0,i.unref)(r).e("bar"),(0,i.unref)(r).is((0,i.unref)(p).key)]),onMousedown:y},[(0,i.createElementVNode)("div",{ref_key:"thumb",ref:s,class:(0,i.normalizeClass)((0,i.unref)(r).e("thumb")),style:(0,i.normalizeStyle)((0,i.unref)(m)),onMousedown:v},null,38)],34),[[i.vShow,e.always||c.value]])])),_:1},8,["name"]))}});var ee=(0,f.A)(J,[["__file","thumb.vue"]]);const te=(0,l.b_)({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),ne=(0,i.defineComponent)({__name:"bar",props:te,setup(e,{expose:t}){const n=e,r=(0,i.inject)(G),o=(0,i.ref)(0),a=(0,i.ref)(0),s=(0,i.ref)(""),l=(0,i.ref)(""),c=(0,i.ref)(1),u=(0,i.ref)(1);return t({handleScroll:e=>{if(e){const t=e.offsetHeight-4,n=e.offsetWidth-4;a.value=100*e.scrollTop/t*c.value,o.value=100*e.scrollLeft/n*u.value}},update:()=>{const e=null==r?void 0:r.wrapElement;if(!e)return;const t=e.offsetHeight-4,o=e.offsetWidth-4,i=t**2/e.scrollHeight,a=o**2/e.scrollWidth,d=Math.max(i,n.minSize),f=Math.max(a,n.minSize);c.value=i/(t-i)/(d/(t-d)),u.value=a/(o-a)/(f/(o-f)),l.value=d+4<t?`${d}px`:"",s.value=f+4<o?`${f}px`:""}}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,null,[(0,i.createVNode)(ee,{move:o.value,ratio:u.value,size:s.value,always:e.always},null,8,["move","ratio","size","always"]),(0,i.createVNode)(ee,{move:a.value,ratio:c.value,size:l.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}});var re=(0,f.A)(ne,[["__file","bar.vue"]]),oe=n(10022);const ie=(0,l.b_)({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:(0,l.jq)([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...(0,oe.l)(["ariaLabel","ariaOrientation"])}),ae={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(c.Et)};var se=n(90033);const le="ElScrollbar",ce=(0,i.defineComponent)({name:le}),ue=(0,i.defineComponent)({...ce,props:ie,emits:ae,setup(e,{expose:t,emit:n}){const r=e,o=(0,h.DU)("scrollbar");let s,l,u=0,d=0;const f=(0,i.ref)(),p=(0,i.ref)(),A=(0,i.ref)(),v=(0,i.ref)(),y=(0,i.computed)((()=>{const e={};return r.height&&(e.height=(0,m._V)(r.height)),r.maxHeight&&(e.maxHeight=(0,m._V)(r.maxHeight)),[r.wrapStyle,e]})),O=(0,i.computed)((()=>[r.wrapClass,o.e("wrap"),{[o.em("wrap","hidden-default")]:!r.native}])),b=(0,i.computed)((()=>[o.e("view"),r.viewClass])),w=()=>{var e;p.value&&(null==(e=v.value)||e.handleScroll(p.value),u=p.value.scrollTop,d=p.value.scrollLeft,n("scroll",{scrollTop:p.value.scrollTop,scrollLeft:p.value.scrollLeft}))},_=()=>{var e;null==(e=v.value)||e.update()};return(0,i.watch)((()=>r.noresize),(e=>{e?(null==s||s(),null==l||l()):(({stop:s}=(0,a.wYm)(A,_)),l=(0,a.MLh)("resize",_))}),{immediate:!0}),(0,i.watch)((()=>[r.maxHeight,r.height]),(()=>{r.native||(0,i.nextTick)((()=>{var e;_(),p.value&&(null==(e=v.value)||e.handleScroll(p.value))}))})),(0,i.provide)(G,(0,i.reactive)({scrollbarElement:f,wrapElement:p})),(0,i.onActivated)((()=>{p.value&&(p.value.scrollTop=u,p.value.scrollLeft=d)})),(0,i.onMounted)((()=>{r.native||(0,i.nextTick)((()=>{_()}))})),(0,i.onUpdated)((()=>_())),t({wrapRef:p,update:_,scrollTo:function(e,t){(0,se.Gv)(e)?p.value.scrollTo(e):(0,c.Et)(e)&&(0,c.Et)(t)&&p.value.scrollTo(e,t)},setScrollTop:e=>{(0,c.Et)(e)?p.value.scrollTop=e:(0,g.U)(le,"value must be a number")},setScrollLeft:e=>{(0,c.Et)(e)?p.value.scrollLeft=e:(0,g.U)(le,"value must be a number")},handleScroll:w}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"scrollbarRef",ref:f,class:(0,i.normalizeClass)((0,i.unref)(o).b())},[(0,i.createElementVNode)("div",{ref_key:"wrapRef",ref:p,class:(0,i.normalizeClass)((0,i.unref)(O)),style:(0,i.normalizeStyle)((0,i.unref)(y)),tabindex:e.tabindex,onScroll:w},[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.tag),{id:e.id,ref_key:"resizeRef",ref:A,class:(0,i.normalizeClass)((0,i.unref)(b)),style:(0,i.normalizeStyle)(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,["tabindex"]),e.native?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createBlock)(re,{key:0,ref_key:"barRef",ref:v,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}});var de=(0,f.A)(ue,[["__file","scrollbar.vue"]]);const fe=(0,b.GU)(de),he=Symbol("popper"),pe=Symbol("popperContent"),me=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],ge=(0,l.b_)({role:{type:String,values:me,default:"tooltip"}}),Ae=(0,i.defineComponent)({name:"ElPopper",inheritAttrs:!1}),ve=(0,i.defineComponent)({...Ae,props:ge,setup(e,{expose:t}){const n=e,r={triggerRef:(0,i.ref)(),popperInstanceRef:(0,i.ref)(),contentRef:(0,i.ref)(),referenceRef:(0,i.ref)(),role:(0,i.computed)((()=>n.role))};return t(r),(0,i.provide)(he,r),(e,t)=>(0,i.renderSlot)(e.$slots,"default")}});var ye=(0,f.A)(ve,[["__file","popper.vue"]]);const Oe=(0,b.GU)(ye),be=Symbol("elTooltip");function we(){let e;const t=()=>window.clearTimeout(e);return(0,Y.Uo)((()=>t())),{registerTimeout:(n,r)=>{t(),e=window.setTimeout(n,r)},cancelTimeout:t}}const _e=(0,l.b_)({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}});var xe="top",Se="bottom",ke="right",Ce="left",Be="auto",Qe=[xe,Se,ke,Ce],Te="start",Ee="end",Pe="viewport",$e="popper",Me=Qe.reduce((function(e,t){return e.concat([t+"-"+Te,t+"-"+Ee])}),[]),ze=[].concat(Qe,[Be]).reduce((function(e,t){return e.concat([t,t+"-"+Te,t+"-"+Ee])}),[]),Re=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function De(e){return e?(e.nodeName||"").toLowerCase():null}function Ie(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ne(e){return e instanceof Ie(e).Element||e instanceof Element}function Le(e){return e instanceof Ie(e).HTMLElement||e instanceof HTMLElement}function Ve(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ie(e).ShadowRoot||e instanceof ShadowRoot)}var Ue={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];!Le(o)||!De(o)||(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});!Le(r)||!De(r)||(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Fe(e){return e.split("-")[0]}var He=Math.max,We=Math.min,Xe=Math.round;function je(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(Le(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=Xe(n.width)/a||1),i>0&&(o=Xe(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function qe(e){var t=je(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Ze(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ve(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ye(e){return Ie(e).getComputedStyle(e)}function Ge(e){return["table","td","th"].indexOf(De(e))>=0}function Ke(e){return((Ne(e)?e.ownerDocument:e.document)||window.document).documentElement}function Je(e){return"html"===De(e)?e:e.assignedSlot||e.parentNode||(Ve(e)?e.host:null)||Ke(e)}function et(e){return Le(e)&&"fixed"!==Ye(e).position?e.offsetParent:null}function tt(e){for(var t=Ie(e),n=et(e);n&&Ge(n)&&"static"===Ye(n).position;)n=et(n);return n&&("html"===De(n)||"body"===De(n)&&"static"===Ye(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Le(e)&&"fixed"===Ye(e).position)return null;var n=Je(e);for(Ve(n)&&(n=n.host);Le(n)&&["html","body"].indexOf(De(n))<0;){var r=Ye(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function nt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function rt(e,t,n){return He(e,We(t,n))}function ot(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function it(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var at={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Fe(n.placement),l=nt(s),c=[Ce,ke].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return ot("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:it(e,Qe))}(o.padding,n),d=qe(i),f="y"===l?xe:Ce,h="y"===l?Se:ke,p=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=tt(i),A=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=p/2-m/2,y=u[f],O=A-d[c]-u[h],b=A/2-d[c]/2+v,w=rt(y,b,O),_=l;n.modifiersData[r]=((t={})[_]=w,t.centerOffset=w-b,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"==typeof r&&!(r=t.elements.popper.querySelector(r))||!Ze(t.elements.popper,r)||(t.elements.arrow=r))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function st(e){return e.split("-")[1]}var lt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ct(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,h=void 0===f?0:f,p=a.y,m=void 0===p?0:p,g="function"==typeof u?u({x:h,y:m}):{x:h,y:m};h=g.x,m=g.y;var A=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),y=Ce,O=xe,b=window;if(c){var w=tt(n),_="clientHeight",x="clientWidth";w===Ie(n)&&"static"!==Ye(w=Ke(n)).position&&"absolute"===s&&(_="scrollHeight",x="scrollWidth"),(o===xe||(o===Ce||o===ke)&&i===Ee)&&(O=Se,m-=(d&&w===b&&b.visualViewport?b.visualViewport.height:w[_])-r.height,m*=l?1:-1),o!==Ce&&(o!==xe&&o!==Se||i!==Ee)||(y=ke,h-=(d&&w===b&&b.visualViewport?b.visualViewport.width:w[x])-r.width,h*=l?1:-1)}var S,k=Object.assign({position:s},c&&lt),C=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Xe(t*r)/r||0,y:Xe(n*r)/r||0}}({x:h,y:m}):{x:h,y:m};return h=C.x,m=C.y,l?Object.assign({},k,((S={})[O]=v?"0":"",S[y]=A?"0":"",S.transform=(b.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",S)):Object.assign({},k,((t={})[O]=v?m+"px":"",t[y]=A?h+"px":"",t.transform="",t))}var ut={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:Fe(t.placement),variation:st(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ct(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ct(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},dt={passive:!0},ft={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=Ie(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,dt)})),s&&l.addEventListener("resize",n.update,dt),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,dt)})),s&&l.removeEventListener("resize",n.update,dt)}},data:{}},ht={left:"right",right:"left",bottom:"top",top:"bottom"};function pt(e){return e.replace(/left|right|bottom|top/g,(function(e){return ht[e]}))}var mt={start:"end",end:"start"};function gt(e){return e.replace(/start|end/g,(function(e){return mt[e]}))}function At(e){var t=Ie(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function vt(e){return je(Ke(e)).left+At(e).scrollLeft}function yt(e){var t=Ye(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Ot(e){return["html","body","#document"].indexOf(De(e))>=0?e.ownerDocument.body:Le(e)&&yt(e)?e:Ot(Je(e))}function bt(e,t){var n;void 0===t&&(t=[]);var r=Ot(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Ie(r),a=o?[i].concat(i.visualViewport||[],yt(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(bt(Je(a)))}function wt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _t(e,t){return t===Pe?wt(function(e){var t=Ie(e),n=Ke(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+vt(e),y:s}}(e)):Ne(t)?function(e){var t=je(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):wt(function(e){var t,n=Ke(e),r=At(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=He(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=He(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+vt(e),l=-r.scrollTop;return"rtl"===Ye(o||n).direction&&(s+=He(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(Ke(e)))}function xt(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Fe(o):null,a=o?st(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case xe:t={x:s,y:n.y-r.height};break;case Se:t={x:s,y:n.y+n.height};break;case ke:t={x:n.x+n.width,y:l};break;case Ce:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?nt(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case Te:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Ee:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function St(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,l=void 0===s?Pe:s,c=n.elementContext,u=void 0===c?$e:c,d=n.altBoundary,f=void 0!==d&&d,h=n.padding,p=void 0===h?0:h,m=ot("number"!=typeof p?p:it(p,Qe)),g=u===$e?"reference":$e,A=e.rects.popper,v=e.elements[f?g:u],y=function(e,t,n){var r="clippingParents"===t?function(e){var t=bt(Je(e)),n=["absolute","fixed"].indexOf(Ye(e).position)>=0&&Le(e)?tt(e):e;return Ne(n)?t.filter((function(e){return Ne(e)&&Ze(e,n)&&"body"!==De(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=_t(e,n);return t.top=He(r.top,t.top),t.right=We(r.right,t.right),t.bottom=We(r.bottom,t.bottom),t.left=He(r.left,t.left),t}),_t(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Ne(v)?v:v.contextElement||Ke(e.elements.popper),a,l),O=je(e.elements.reference),b=xt({reference:O,element:A,strategy:"absolute",placement:o}),w=wt(Object.assign({},A,b)),_=u===$e?w:O,x={top:y.top-_.top+m.top,bottom:_.bottom-y.bottom+m.bottom,left:y.left-_.left+m.left,right:_.right-y.right+m.right},S=e.modifiersData.offset;if(u===$e&&S){var k=S[o];Object.keys(x).forEach((function(e){var t=[ke,Se].indexOf(e)>=0?1:-1,n=[xe,Se].indexOf(e)>=0?"y":"x";x[e]+=k[n]*t}))}return x}var kt={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,h=n.flipVariations,p=void 0===h||h,m=n.allowedAutoPlacements,g=t.options.placement,A=Fe(g),v=l||(A!==g&&p?function(e){if(Fe(e)===Be)return[];var t=pt(e);return[gt(e),t,gt(t)]}(g):[pt(g)]),y=[g].concat(v).reduce((function(e,n){return e.concat(Fe(n)===Be?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?ze:l,u=st(r),d=u?s?Me:Me.filter((function(e){return st(e)===u})):Qe,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var h=f.reduce((function(t,n){return t[n]=St(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Fe(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):n)}),[]),O=t.rects.reference,b=t.rects.popper,w=new Map,_=!0,x=y[0],S=0;S<y.length;S++){var k=y[S],C=Fe(k),B=st(k)===Te,Q=[xe,Se].indexOf(C)>=0,T=Q?"width":"height",E=St(t,{placement:k,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),P=Q?B?ke:Ce:B?Se:xe;O[T]>b[T]&&(P=pt(P));var $=pt(P),M=[];if(i&&M.push(E[C]<=0),s&&M.push(E[P]<=0,E[$]<=0),M.every((function(e){return e}))){x=k,_=!1;break}w.set(k,M)}if(_)for(var z=function(e){var t=y.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return x=t,"break"},R=p?3:1;R>0&&"break"!==z(R);R--);t.placement!==x&&(t.modifiersData[r]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ct(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Bt(e){return[xe,ke,Se,Ce].some((function(t){return e[t]>=0}))}var Qt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=St(t,{elementContext:"reference"}),s=St(t,{altBoundary:!0}),l=Ct(a,r),c=Ct(s,o,i),u=Bt(l),d=Bt(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},Tt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=ze.reduce((function(e,n){return e[n]=function(e,t,n){var r=Fe(e),o=[Ce,xe].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Ce,ke].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},Et={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=xt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Pt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,h=void 0===f||f,p=n.tetherOffset,m=void 0===p?0:p,g=St(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),A=Fe(t.placement),v=st(t.placement),y=!v,O=nt(A),b=function(e){return"x"===e?"y":"x"}(O),w=t.modifiersData.popperOffsets,_=t.rects.reference,x=t.rects.popper,S="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,k="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(w){if(i){var Q,T="y"===O?xe:Ce,E="y"===O?Se:ke,P="y"===O?"height":"width",$=w[O],M=$+g[T],z=$-g[E],R=h?-x[P]/2:0,D=v===Te?_[P]:x[P],I=v===Te?-x[P]:-_[P],N=t.elements.arrow,L=h&&N?qe(N):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=V[T],F=V[E],H=rt(0,_[P],L[P]),W=y?_[P]/2-R-H-U-k.mainAxis:D-H-U-k.mainAxis,X=y?-_[P]/2+R+H+F+k.mainAxis:I+H+F+k.mainAxis,j=t.elements.arrow&&tt(t.elements.arrow),q=j?"y"===O?j.clientTop||0:j.clientLeft||0:0,Z=null!=(Q=null==C?void 0:C[O])?Q:0,Y=$+X-Z,G=rt(h?We(M,$+W-Z-q):M,$,h?He(z,Y):z);w[O]=G,B[O]=G-$}if(s){var K,J="x"===O?xe:Ce,ee="x"===O?Se:ke,te=w[b],ne="y"===b?"height":"width",re=te+g[J],oe=te-g[ee],ie=-1!==[xe,Ce].indexOf(A),ae=null!=(K=null==C?void 0:C[b])?K:0,se=ie?re:te-_[ne]-x[ne]-ae+k.altAxis,le=ie?te+_[ne]+x[ne]-ae-k.altAxis:oe,ce=h&&ie?function(e,t,n){var r=rt(e,t,n);return r>n?n:r}(se,te,le):rt(h?se:re,te,h?le:oe);w[b]=ce,B[b]=ce-te}t.modifiersData[r]=B}},requiresIfExists:["offset"]};function $t(e,t,n){void 0===n&&(n=!1);var r=Le(t),o=Le(t)&&function(e){var t=e.getBoundingClientRect(),n=Xe(t.width)/e.offsetWidth||1,r=Xe(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=Ke(t),a=je(e,o),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==De(t)||yt(i))&&(s=function(e){return e!==Ie(e)&&Le(e)?function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):At(e)}(t)),Le(t)?((l=je(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=vt(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Mt(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function zt(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Rt={placement:"bottom",modifiers:[],strategy:"absolute"};function Dt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function It(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Rt:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Rt,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],s=!1,l={state:o,setOptions:function(n){var s="function"==typeof n?n(o.options):n;c(),o.options=Object.assign({},i,o.options,s),o.scrollParents={reference:Ne(e)?bt(e):e.contextElement?bt(e.contextElement):[],popper:bt(t)};var u=function(e){var t=Mt(e);return Re.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=u.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var s=i({state:o,name:t,instance:l,options:r});a.push(s||function(){})}})),l.update()},forceUpdate:function(){if(!s){var e=o.elements,t=e.reference,n=e.popper;if(Dt(t,n)){o.rects={reference:$t(t,tt(n),"fixed"===o.options.strategy),popper:qe(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,c=i.options,u=void 0===c?{}:c,d=i.name;"function"==typeof a&&(o=a({state:o,options:u,name:d,instance:l})||o)}else o.reset=!1,r=-1}}},update:zt((function(){return new Promise((function(e){l.forceUpdate(),e(o)}))})),destroy:function(){c(),s=!0}};if(!Dt(e,t))return l;function c(){a.forEach((function(e){return e()})),a=[]}return l.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}It(),It({defaultModifiers:[ft,Et,ut,Ue]});var Nt=It({defaultModifiers:[ft,Et,ut,Ue,Tt,kt,Pt,at,Qt]});const Lt=(0,l.b_)({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:(0,l.jq)(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:ze,default:"bottom"},popperOptions:{type:(0,l.jq)(Object),default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),Vt=(0,l.b_)({...Lt,id:String,style:{type:(0,l.jq)([String,Array,Object])},className:{type:(0,l.jq)([String,Array,Object])},effect:{type:(0,l.jq)(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:(0,l.jq)([String,Array,Object])},popperStyle:{type:(0,l.jq)([String,Array,Object])},referenceEl:{type:(0,l.jq)(Object)},triggerTargetEl:{type:(0,l.jq)(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...(0,oe.l)(["ariaLabel"])}),Ut={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},Ft=(0,l.b_)({..._e,...Vt,appendTo:{type:(0,l.jq)([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:(0,l.jq)(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...(0,oe.l)(["ariaLabel"])}),Ht=(0,l.b_)({virtualRef:{type:(0,l.jq)(Object)},virtualTriggering:Boolean,onMouseenter:{type:(0,l.jq)(Function)},onMouseleave:{type:(0,l.jq)(Function)},onClick:{type:(0,l.jq)(Function)},onKeydown:{type:(0,l.jq)(Function)},onFocus:{type:(0,l.jq)(Function)},onBlur:{type:(0,l.jq)(Function)},onContextmenu:{type:(0,l.jq)(Function)},id:String,open:Boolean});var Wt=n(53344);const Xt=(0,l.b_)({...Ht,disabled:Boolean,trigger:{type:(0,l.jq)([String,Array]),default:"hover"},triggerKeys:{type:(0,l.jq)(Array),default:()=>[Wt.R.enter,Wt.R.numpadEnter,Wt.R.space]}}),jt=(0,l.b_)({arrowOffset:{type:Number,default:5}}),qt=(0,l.Y8)({type:(0,l.jq)(Boolean),default:null}),Zt=(0,l.Y8)({type:(0,l.jq)(Function)}),Yt=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t];return{useModelToggle:({indicator:r,toggleReason:o,shouldHideWhenRouteChanges:a,shouldProceed:s,onShow:l,onHide:u})=>{const d=(0,i.getCurrentInstance)(),{emit:f}=d,h=d.props,p=(0,i.computed)((()=>(0,se.Tn)(h[n]))),m=(0,i.computed)((()=>null===h[e])),g=e=>{!0!==r.value&&(r.value=!0,o&&(o.value=e),(0,se.Tn)(l)&&l(e))},A=e=>{!1!==r.value&&(r.value=!1,o&&(o.value=e),(0,se.Tn)(u)&&u(e))},v=e=>{if(!0===h.disabled||(0,se.Tn)(s)&&!s())return;const n=p.value&&Y.oc;n&&f(t,!0),!m.value&&n||g(e)},y=e=>{if(!0===h.disabled||!Y.oc)return;const n=p.value&&Y.oc;n&&f(t,!1),!m.value&&n||A(e)},O=e=>{(0,c.Lm)(e)&&(h.disabled&&e?p.value&&f(t,!1):r.value!==e&&(e?g():A()))};return(0,i.watch)((()=>h[e]),O),a&&void 0!==d.appContext.config.globalProperties.$route&&(0,i.watch)((()=>({...d.proxy.$route})),(()=>{a.value&&r.value&&y()})),(0,i.onMounted)((()=>{O(h[e])})),{hide:y,show:v,toggle:()=>{r.value?y():v()},hasUpdateHandler:p}},useModelToggleProps:{[e]:qt,[n]:Zt},useModelToggleEmits:r}},{useModelToggle:Gt,useModelToggleProps:Kt,useModelToggleEmits:Jt}=Yt("modelValue"),{useModelToggleProps:en,useModelToggleEmits:tn,useModelToggle:nn}=Yt("visible"),rn=(0,l.b_)({...ge,...en,...Ft,...Xt,...jt,showArrow:{type:Boolean,default:!0}}),on=[...tn,"before-show","before-hide","show","hide","open","close"],an=(e,t,n)=>r=>{((e,t)=>(0,se.cy)(e)?e.includes(t):e===t)((0,i.unref)(e),t)&&n(r)};var sn=n(97859);const ln=Symbol("elForwardRef");var cn=n(81531);const un="ElOnlyChild",dn=(0,i.defineComponent)({name:un,setup(e,{slots:t,attrs:n}){var r;const o=(0,i.inject)(ln),a=(s=null!=(r=null==o?void 0:o.setForwardRef)?r:se.tE,{mounted(e){s(e)},updated(e){s(e)},unmounted(){s(null)}});var s;return()=>{var e;const r=null==(e=t.default)?void 0:e.call(t,n);if(!r)return null;if(r.length>1)return(0,g.U)(un,"requires exact only one valid child."),null;const o=fn(r);return o?(0,i.withDirectives)((0,i.cloneVNode)(o,n),[[a]]):((0,g.U)(un,"no valid child node found"),null)}}});function fn(e){if(!e)return null;const t=e;for(const e of t){if((0,se.Gv)(e))switch(e.type){case i.Comment:continue;case i.Text:case"svg":return hn(e);case i.Fragment:return fn(e.children);default:return e}return hn(e)}return null}function hn(e){const t=(0,h.DU)("only-child");return(0,i.createVNode)("span",{class:t.e("content")},[e])}const pn=(0,i.defineComponent)({name:"ElPopperTrigger",inheritAttrs:!1}),mn=(0,i.defineComponent)({...pn,props:Ht,setup(e,{expose:t}){const n=e,{role:r,triggerRef:o}=(0,i.inject)(he,void 0);var s;s=o,(0,i.provide)(ln,{setForwardRef:e=>{s.value=e}});const l=(0,i.computed)((()=>d.value?n.id:void 0)),u=(0,i.computed)((()=>{if(r&&"tooltip"===r.value)return n.open&&n.id?n.id:void 0})),d=(0,i.computed)((()=>{if(r&&"tooltip"!==r.value)return r.value})),f=(0,i.computed)((()=>d.value?`${n.open}`:void 0));let h;const p=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return(0,i.onMounted)((()=>{(0,i.watch)((()=>n.virtualRef),(e=>{e&&(o.value=(0,a.F4c)(e))}),{immediate:!0}),(0,i.watch)(o,((e,t)=>{null==h||h(),h=void 0,(0,c.vq)(e)&&(p.forEach((r=>{var o;const i=n[r];i&&(e.addEventListener(r.slice(2).toLowerCase(),i),null==(o=null==t?void 0:t.removeEventListener)||o.call(t,r.slice(2).toLowerCase(),i))})),(0,cn.tp)(e)&&(h=(0,i.watch)([l,u,d,f],(t=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(((n,r)=>{(0,sn.A)(t[r])?e.removeAttribute(n):e.setAttribute(n,t[r])}))}),{immediate:!0}))),(0,c.vq)(t)&&(0,cn.tp)(t)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((e=>t.removeAttribute(e)))}),{immediate:!0})})),(0,i.onBeforeUnmount)((()=>{if(null==h||h(),h=void 0,o.value&&(0,c.vq)(o.value)){const e=o.value;p.forEach((t=>{const r=n[t];r&&e.removeEventListener(t.slice(2).toLowerCase(),r)})),o.value=void 0}})),t({triggerRef:o}),(e,t)=>e.virtualTriggering?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(dn),(0,i.mergeProps)({key:0},e.$attrs,{"aria-controls":(0,i.unref)(l),"aria-describedby":(0,i.unref)(u),"aria-expanded":(0,i.unref)(f),"aria-haspopup":(0,i.unref)(d)}),{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var gn=(0,f.A)(mn,[["__file","trigger.vue"]]);const An=(e,t,{checkForDefaultPrevented:n=!0}={})=>r=>{const o=null==e?void 0:e(r);if(!1===n||!o)return null==t?void 0:t(r)},vn=e=>t=>"mouse"===t.pointerType?e(t):void 0,yn=(0,i.defineComponent)({name:"ElTooltipTrigger"}),On=(0,i.defineComponent)({...yn,props:Xt,setup(e,{expose:t}){const n=e,r=(0,h.DU)("tooltip"),{controlled:o,id:a,open:s,onOpen:l,onClose:c,onToggle:u}=(0,i.inject)(be,void 0),d=(0,i.ref)(null),f=()=>{if((0,i.unref)(o)||n.disabled)return!0},p=(0,i.toRef)(n,"trigger"),m=An(f,an(p,"hover",l)),g=An(f,an(p,"hover",c)),A=An(f,an(p,"click",(e=>{0===e.button&&u(e)}))),v=An(f,an(p,"focus",l)),y=An(f,an(p,"focus",c)),O=An(f,an(p,"contextmenu",(e=>{e.preventDefault(),u(e)}))),b=An(f,(e=>{const{code:t}=e;n.triggerKeys.includes(t)&&(e.preventDefault(),u(e))}));return t({triggerRef:d}),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(gn),{id:(0,i.unref)(a),"virtual-ref":e.virtualRef,open:(0,i.unref)(s),"virtual-triggering":e.virtualTriggering,class:(0,i.normalizeClass)((0,i.unref)(r).e("trigger")),onBlur:(0,i.unref)(y),onClick:(0,i.unref)(A),onContextmenu:(0,i.unref)(O),onFocus:(0,i.unref)(v),onMouseenter:(0,i.unref)(m),onMouseleave:(0,i.unref)(g),onKeydown:(0,i.unref)(b)},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var bn=(0,f.A)(On,[["__file","trigger.vue"]]);const wn=(0,l.b_)({to:{type:(0,l.jq)([String,Object]),required:!0},disabled:Boolean}),_n=(0,i.defineComponent)({__name:"teleport",props:wn,setup(e){return(e,t)=>e.disabled?(0,i.renderSlot)(e.$slots,"default",{key:0}):((0,i.openBlock)(),(0,i.createBlock)(i.Teleport,{key:1,to:e.to},[(0,i.renderSlot)(e.$slots,"default")],8,["to"]))}});var xn=(0,f.A)(_n,[["__file","teleport.vue"]]);const Sn=(0,b.GU)(xn);var kn=n(77010);const Cn=()=>{const e=(0,h.E9)(),t=(0,kn.Sj)(),n=(0,i.computed)((()=>`${e.value}-popper-container-${t.prefix}`)),r=(0,i.computed)((()=>`#${n.value}`));return{id:n,selector:r}};var Bn=n(15378),Qn=function(e){return void 0===e};const Tn=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:o}=e,i={placement:n,strategy:r,...o,modifiers:[...En(e),...t]};return function(e,t){t&&(e.modifiers=[...e.modifiers,...null!=t?t:[]])}(i,null==o?void 0:o.modifiers),i};function En(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,null!=t?t:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}var Pn=n(63753);const $n=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:o}=(0,i.inject)(he,void 0),s=(0,i.ref)(),l=(0,i.ref)(),c=(0,i.computed)((()=>({name:"eventListeners",enabled:!!e.visible}))),u=(0,i.computed)((()=>{var e;const t=(0,i.unref)(s),n=null!=(e=(0,i.unref)(l))?e:0;return{name:"arrow",enabled:!Qn(t),options:{element:t,padding:n}}})),d=(0,i.computed)((()=>({onFirstUpdate:()=>{g()},...Tn(e,[(0,i.unref)(u),(0,i.unref)(c)])}))),f=(0,i.computed)((()=>(e=>{if(Y.oc)return(0,a.F4c)(e)})(e.referenceEl)||(0,i.unref)(r))),{attributes:h,state:p,styles:m,update:g,forceUpdate:A,instanceRef:v}=((e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=function(e){const t=Object.keys(e.elements);return{styles:(0,Pn.A)(t.map((t=>[t,e.styles[t]||{}]))),attributes:(0,Pn.A)(t.map((t=>[t,e.attributes[t]])))}}(e);Object.assign(s.value,t)},requires:["computeStyles"]},o=(0,i.computed)((()=>{const{onFirstUpdate:e,placement:t,strategy:o,modifiers:a}=(0,i.unref)(n);return{onFirstUpdate:e,placement:t||"bottom",strategy:o||"absolute",modifiers:[...a||[],r,{name:"applyStyles",enabled:!1}]}})),a=(0,i.shallowRef)(),s=(0,i.ref)({styles:{popper:{position:(0,i.unref)(o).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=()=>{a.value&&(a.value.destroy(),a.value=void 0)};return(0,i.watch)(o,(e=>{const t=(0,i.unref)(a);t&&t.setOptions(e)}),{deep:!0}),(0,i.watch)([e,t],(([e,t])=>{l(),e&&t&&(a.value=Nt(e,t,(0,i.unref)(o)))})),(0,i.onBeforeUnmount)((()=>{l()})),{state:(0,i.computed)((()=>{var e;return{...(null==(e=(0,i.unref)(a))?void 0:e.state)||{}}})),styles:(0,i.computed)((()=>(0,i.unref)(s).styles)),attributes:(0,i.computed)((()=>(0,i.unref)(s).attributes)),update:()=>{var e;return null==(e=(0,i.unref)(a))?void 0:e.update()},forceUpdate:()=>{var e;return null==(e=(0,i.unref)(a))?void 0:e.forceUpdate()},instanceRef:(0,i.computed)((()=>(0,i.unref)(a)))}})(f,n,d);return(0,i.watch)(v,(e=>t.value=e)),(0,i.onMounted)((()=>{(0,i.watch)((()=>{var e;return null==(e=(0,i.unref)(f))?void 0:e.getBoundingClientRect()}),(()=>{g()}))})),{attributes:h,arrowRef:s,contentRef:n,instanceRef:v,state:p,styles:m,role:o,forceUpdate:A,update:g}};var Mn=n(14656),zn=n(67959);const Rn=(0,i.defineComponent)({name:"ElPopperContent"}),Dn=(0,i.defineComponent)({...Rn,props:Vt,emits:Ut,setup(e,{expose:t,emit:n}){const r=e,{focusStartRef:o,trapped:a,onFocusAfterReleased:s,onFocusAfterTrapped:l,onFocusInTrap:u,onFocusoutPrevented:d,onReleaseRequested:f}=((e,t)=>{const n=(0,i.ref)(!1),r=(0,i.ref)();return{focusStartRef:r,trapped:n,onFocusAfterReleased:e=>{var n;"pointer"!==(null==(n=e.detail)?void 0:n.focusReason)&&(r.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:t=>{e.visible&&!n.value&&(t.target&&(r.value=t.target),n.value=!0)},onFocusoutPrevented:t=>{e.trapping||("pointer"===t.detail.focusReason&&t.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,t("close")}}})(r,n),{attributes:p,arrowRef:m,contentRef:g,styles:A,instanceRef:v,role:y,update:O}=$n(r),{ariaModal:b,arrowStyle:w,contentAttrs:_,contentClass:x,contentStyle:S,updateZIndex:k}=((e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:o}=(0,Mn.YK)(),a=(0,h.DU)("popper"),s=(0,i.computed)((()=>(0,i.unref)(t).popper)),l=(0,i.ref)((0,c.Et)(e.zIndex)?e.zIndex:o()),u=(0,i.computed)((()=>[a.b(),a.is("pure",e.pure),a.is(e.effect),e.popperClass])),d=(0,i.computed)((()=>[{zIndex:(0,i.unref)(l)},(0,i.unref)(n).popper,e.popperStyle||{}]));return{ariaModal:(0,i.computed)((()=>"dialog"===r.value?"false":void 0)),arrowStyle:(0,i.computed)((()=>(0,i.unref)(n).arrow||{})),contentAttrs:s,contentClass:u,contentStyle:d,contentZIndex:l,updateZIndex:()=>{l.value=(0,c.Et)(e.zIndex)?e.zIndex:o()}}})(r,{styles:A,attributes:p,role:y}),C=(0,i.inject)(zn.w,void 0),B=(0,i.ref)();let Q;(0,i.provide)(pe,{arrowStyle:w,arrowRef:m,arrowOffset:B}),C&&(0,i.provide)(zn.w,{...C,addInputId:se.tE,removeInputId:se.tE});const T=(e=!0)=>{O(),e&&k()},E=()=>{T(!1),r.visible&&r.focusOnShow?a.value=!0:!1===r.visible&&(a.value=!1)};return(0,i.onMounted)((()=>{(0,i.watch)((()=>r.triggerTargetEl),((e,t)=>{null==Q||Q(),Q=void 0;const n=(0,i.unref)(e||g.value),o=(0,i.unref)(t||g.value);(0,c.vq)(n)&&(Q=(0,i.watch)([y,()=>r.ariaLabel,b,()=>r.id],(e=>{["role","aria-label","aria-modal","id"].forEach(((t,r)=>{(0,sn.A)(e[r])?n.removeAttribute(t):n.setAttribute(t,e[r])}))}),{immediate:!0})),o!==n&&(0,c.vq)(o)&&["role","aria-label","aria-modal","id"].forEach((e=>{o.removeAttribute(e)}))}),{immediate:!0}),(0,i.watch)((()=>r.visible),E,{immediate:!0})})),(0,i.onBeforeUnmount)((()=>{null==Q||Q(),Q=void 0})),t({popperContentRef:g,popperInstanceRef:v,updatePopper:T,contentStyle:S}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",(0,i.mergeProps)({ref_key:"contentRef",ref:g},(0,i.unref)(_),{style:(0,i.unref)(S),class:(0,i.unref)(x),tabindex:"-1",onMouseenter:t=>e.$emit("mouseenter",t),onMouseleave:t=>e.$emit("mouseleave",t)}),[(0,i.createVNode)((0,i.unref)(Bn.A),{trapped:(0,i.unref)(a),"trap-on-focus-in":!0,"focus-trap-el":(0,i.unref)(g),"focus-start-el":(0,i.unref)(o),onFocusAfterTrapped:(0,i.unref)(l),onFocusAfterReleased:(0,i.unref)(s),onFocusin:(0,i.unref)(u),onFocusoutPrevented:(0,i.unref)(d),onReleaseRequested:(0,i.unref)(f)},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16,["onMouseenter","onMouseleave"]))}});var In=(0,f.A)(Dn,[["__file","content.vue"]]),Nn=n(33333);const Ln=(0,i.defineComponent)({name:"ElTooltipContent",inheritAttrs:!1}),Vn=(0,i.defineComponent)({...Ln,props:Ft,setup(e,{expose:t}){const n=e,{selector:r}=Cn(),o=(0,h.DU)("tooltip"),s=(0,i.ref)();let l;const{controlled:c,id:u,open:d,trigger:f,onClose:p,onOpen:m,onShow:g,onHide:A,onBeforeShow:v,onBeforeHide:y}=(0,i.inject)(be,void 0),O=(0,i.computed)((()=>n.transition||`${o.namespace.value}-fade-in-linear`)),b=(0,i.computed)((()=>n.persistent));(0,i.onBeforeUnmount)((()=>{null==l||l()}));const w=(0,i.computed)((()=>!!(0,i.unref)(b)||(0,i.unref)(d))),_=(0,i.computed)((()=>!n.disabled&&(0,i.unref)(d))),x=(0,i.computed)((()=>n.appendTo||r.value)),S=(0,i.computed)((()=>{var e;return null!=(e=n.style)?e:{}})),k=(0,i.ref)(!0),C=()=>{A(),z()&&(0,Nn.EC)(document.body),k.value=!0},B=()=>{if((0,i.unref)(c))return!0},Q=An(B,(()=>{n.enterable&&"hover"===(0,i.unref)(f)&&m()})),T=An(B,(()=>{"hover"===(0,i.unref)(f)&&p()})),E=()=>{var e,t;null==(t=null==(e=s.value)?void 0:e.updatePopper)||t.call(e),null==v||v()},P=()=>{null==y||y()},$=()=>{g(),l=(0,a.X2F)((0,i.computed)((()=>{var e;return null==(e=s.value)?void 0:e.popperContentRef})),(()=>{(0,i.unref)(c)||"hover"!==(0,i.unref)(f)&&p()}))},M=()=>{n.virtualTriggering||p()},z=e=>{var t;const n=null==(t=s.value)?void 0:t.popperContentRef,r=(null==e?void 0:e.relatedTarget)||document.activeElement;return null==n?void 0:n.contains(r)};return(0,i.watch)((()=>(0,i.unref)(d)),(e=>{e?k.value=!1:null==l||l()}),{flush:"post"}),(0,i.watch)((()=>n.content),(()=>{var e,t;null==(t=null==(e=s.value)?void 0:e.updatePopper)||t.call(e)})),t({contentRef:s,isFocusInsideContent:z}),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Sn),{disabled:!e.teleported,to:(0,i.unref)(x)},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(i.Transition,{name:(0,i.unref)(O),onAfterLeave:C,onBeforeEnter:E,onAfterEnter:$,onBeforeLeave:P},{default:(0,i.withCtx)((()=>[(0,i.unref)(w)?(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(In),(0,i.mergeProps)({key:0,id:(0,i.unref)(u),ref_key:"contentRef",ref:s},e.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":k.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,(0,i.unref)(S)],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:(0,i.unref)(_),"z-index":e.zIndex,onMouseenter:(0,i.unref)(Q),onMouseleave:(0,i.unref)(T),onBlur:M,onClose:(0,i.unref)(p)}),{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[i.vShow,(0,i.unref)(_)]]):(0,i.createCommentVNode)("v-if",!0)])),_:3},8,["name"])])),_:3},8,["disabled","to"]))}});var Un=(0,f.A)(Vn,[["__file","content.vue"]]);const Fn=(0,i.defineComponent)({name:"ElPopperArrow",inheritAttrs:!1}),Hn=(0,i.defineComponent)({...Fn,props:jt,setup(e,{expose:t}){const n=e,r=(0,h.DU)("popper"),{arrowOffset:o,arrowRef:a,arrowStyle:s}=(0,i.inject)(pe,void 0);return(0,i.watch)((()=>n.arrowOffset),(e=>{o.value=e})),(0,i.onBeforeUnmount)((()=>{a.value=void 0})),t({arrowRef:a}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("span",{ref_key:"arrowRef",ref:a,class:(0,i.normalizeClass)((0,i.unref)(r).e("arrow")),style:(0,i.normalizeStyle)((0,i.unref)(s)),"data-popper-arrow":""},null,6))}});var Wn=(0,f.A)(Hn,[["__file","arrow.vue"]]);const Xn=(0,i.defineComponent)({name:"ElTooltip"}),jn=(0,i.defineComponent)({...Xn,props:rn,emits:on,setup(e,{expose:t,emit:n}){const r=e;(()=>{const{id:e,selector:t}=Cn();(0,i.onBeforeMount)((()=>{Y.oc&&(document.body.querySelector(t.value)||(e=>{const t=document.createElement("div");t.id=e,document.body.appendChild(t)})(e.value))}))})();const o=(0,kn.Bi)(),a=(0,i.ref)(),s=(0,i.ref)(),l=()=>{var e;const t=(0,i.unref)(a);t&&(null==(e=t.popperInstanceRef)||e.update())},u=(0,i.ref)(!1),d=(0,i.ref)(),{show:f,hide:h,hasUpdateHandler:p}=nn({indicator:u,toggleReason:d}),{onOpen:m,onClose:g}=(({showAfter:e,hideAfter:t,autoClose:n,open:r,close:o})=>{const{registerTimeout:a}=we(),{registerTimeout:s,cancelTimeout:l}=we();return{onOpen:t=>{a((()=>{r(t);const e=(0,i.unref)(n);(0,c.Et)(e)&&e>0&&s((()=>{o(t)}),e)}),(0,i.unref)(e))},onClose:e=>{l(),a((()=>{o(e)}),(0,i.unref)(t))}}})({showAfter:(0,i.toRef)(r,"showAfter"),hideAfter:(0,i.toRef)(r,"hideAfter"),autoClose:(0,i.toRef)(r,"autoClose"),open:f,close:h}),A=(0,i.computed)((()=>(0,c.Lm)(r.visible)&&!p.value));return(0,i.provide)(be,{controlled:A,id:o,open:(0,i.readonly)(u),trigger:(0,i.toRef)(r,"trigger"),onOpen:e=>{m(e)},onClose:e=>{g(e)},onToggle:e=>{(0,i.unref)(u)?g(e):m(e)},onShow:()=>{n("show",d.value)},onHide:()=>{n("hide",d.value)},onBeforeShow:()=>{n("before-show",d.value)},onBeforeHide:()=>{n("before-hide",d.value)},updatePopper:l}),(0,i.watch)((()=>r.disabled),(e=>{e&&u.value&&(u.value=!1)})),(0,i.onDeactivated)((()=>u.value&&h())),t({popperRef:a,contentRef:s,isFocusInsideContent:e=>{var t;return null==(t=s.value)?void 0:t.isFocusInsideContent(e)},updatePopper:l,onOpen:m,onClose:g,hide:h}),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Oe),{ref_key:"popperRef",ref:a,role:e.role},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(bn,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering},{default:(0,i.withCtx)((()=>[e.$slots.default?(0,i.renderSlot)(e.$slots,"default",{key:0}):(0,i.createCommentVNode)("v-if",!0)])),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),(0,i.createVNode)(Un,{ref_key:"contentRef",ref:s,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":e.popperClass,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"content",{},(()=>[e.rawContent?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0,innerHTML:e.content},null,8,["innerHTML"])):((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:1},(0,i.toDisplayString)(e.content),1))])),e.showArrow?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Wn),{key:0,"arrow-offset":e.arrowOffset},null,8,["arrow-offset"])):(0,i.createCommentVNode)("v-if",!0)])),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])])),_:3},8,["role"]))}});var qn=(0,f.A)(jn,[["__file","tooltip.vue"]]);const Zn=(0,b.GU)(qn),Yn=(0,l.b_)({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:(0,l.jq)(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:(0,l.jq)([Function,Array]),default:se.tE},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},teleported:Ft.teleported,highlightFirstItem:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:String,...(0,oe.l)(["ariaLabel"])}),Gn={[s.l4]:e=>(0,se.Kg)(e),[s.qs]:e=>(0,se.Kg)(e),[s.YU]:e=>(0,se.Kg)(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>(0,se.Gv)(e)};var Kn=n(23205),Jn=n(72207);const er="ElAutocomplete",tr=(0,i.defineComponent)({name:er,inheritAttrs:!1}),nr=(0,i.defineComponent)({...tr,props:Yn,emits:Gn,setup(e,{expose:t,emit:n}){const r=e,o=(0,Kn.O)(),l=(0,i.useAttrs)(),c=(0,Jn.CB)(),u=(0,h.DU)("autocomplete"),d=(0,i.ref)(),f=(0,i.ref)(),p=(0,i.ref)(),m=(0,i.ref)();let A=!1,v=!1;const y=(0,i.ref)([]),O=(0,i.ref)(-1),b=(0,i.ref)(""),w=(0,i.ref)(!1),x=(0,i.ref)(!1),S=(0,i.ref)(!1),k=(0,kn.Bi)(),C=(0,i.computed)((()=>l.style)),B=(0,i.computed)((()=>(y.value.length>0||S.value)&&w.value)),Q=(0,i.computed)((()=>!r.hideLoading&&S.value)),T=(0,i.computed)((()=>d.value?Array.from(d.value.$el.querySelectorAll("input")):[])),E=()=>{B.value&&(b.value=`${d.value.$el.offsetWidth}px`)},P=()=>{O.value=-1},$=async e=>{if(x.value)return;const t=e=>{S.value=!1,x.value||((0,se.cy)(e)?(y.value=e,O.value=r.highlightFirstItem?0:-1):(0,g.$)(er,"autocomplete suggestions must be an array"))};if(S.value=!0,(0,se.cy)(r.fetchSuggestions))t(r.fetchSuggestions);else{const n=await r.fetchSuggestions(e,t);(0,se.cy)(n)&&t(n)}},M=X($,r.debounce),z=e=>{const t=!!e;if(n(s.qs,e),n(s.l4,e),x.value=!1,w.value||(w.value=t),!r.triggerOnFocus&&!e)return x.value=!0,void(y.value=[]);M(e)},R=e=>{var t;c.value||("INPUT"!==(null==(t=e.target)?void 0:t.tagName)||T.value.includes(document.activeElement))&&(w.value=!0)},D=e=>{n(s.YU,e)},I=e=>{v?v=!1:(w.value=!0,n("focus",e),r.triggerOnFocus&&!A&&M(String(r.modelValue)))},N=e=>{setTimeout((()=>{var t;(null==(t=p.value)?void 0:t.isFocusInsideContent())?v=!0:(w.value&&F(),n("blur",e))}))},L=()=>{w.value=!1,n(s.l4,""),n("clear")},V=async()=>{B.value&&O.value>=0&&O.value<y.value.length?H(y.value[O.value]):r.selectWhenUnmatched&&(n("select",{value:r.modelValue}),y.value=[],O.value=-1)},U=e=>{B.value&&(e.preventDefault(),e.stopPropagation(),F())},F=()=>{w.value=!1},H=async e=>{n(s.qs,e[r.valueKey]),n(s.l4,e[r.valueKey]),n("select",e),y.value=[],O.value=-1},W=e=>{if(!B.value||S.value)return;if(e<0)return void(O.value=-1);e>=y.value.length&&(e=y.value.length-1);const t=f.value.querySelector(`.${u.be("suggestion","wrap")}`),n=t.querySelectorAll(`.${u.be("suggestion","list")} li`)[e],r=t.scrollTop,{offsetTop:o,scrollHeight:i}=n;o+i>r+t.clientHeight&&(t.scrollTop+=i),o<r&&(t.scrollTop-=i),O.value=e,d.value.ref.setAttribute("aria-activedescendant",`${k.value}-item-${O.value}`)},Z=(0,a.X2F)(m,(()=>{var e;(null==(e=p.value)?void 0:e.isFocusInsideContent())||B.value&&F()}));return(0,i.onBeforeUnmount)((()=>{null==Z||Z()})),(0,i.onMounted)((()=>{d.value.ref.setAttribute("role","textbox"),d.value.ref.setAttribute("aria-autocomplete","list"),d.value.ref.setAttribute("aria-controls","id"),d.value.ref.setAttribute("aria-activedescendant",`${k.value}-item-${O.value}`),A=d.value.ref.hasAttribute("readonly")})),t({highlightedIndex:O,activated:w,loading:S,inputRef:d,popperRef:p,suggestions:y,handleSelect:H,handleKeyEnter:V,focus:()=>{var e;null==(e=d.value)||e.focus()},blur:()=>{var e;null==(e=d.value)||e.blur()},close:F,highlight:W,getData:$}),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Zn),{ref_key:"popperRef",ref:p,visible:(0,i.unref)(B),placement:e.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[(0,i.unref)(u).e("popper"),e.popperClass],teleported:e.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${(0,i.unref)(u).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:E,onHide:P},{content:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{ref_key:"regionRef",ref:f,class:(0,i.normalizeClass)([(0,i.unref)(u).b("suggestion"),(0,i.unref)(u).is("loading",(0,i.unref)(Q))]),style:(0,i.normalizeStyle)({[e.fitInputWidth?"width":"minWidth"]:b.value,outline:"none"}),role:"region"},[(0,i.createVNode)((0,i.unref)(fe),{id:(0,i.unref)(k),tag:"ul","wrap-class":(0,i.unref)(u).be("suggestion","wrap"),"view-class":(0,i.unref)(u).be("suggestion","list"),role:"listbox"},{default:(0,i.withCtx)((()=>[(0,i.unref)(Q)?((0,i.openBlock)(),(0,i.createElementBlock)("li",{key:0},[(0,i.renderSlot)(e.$slots,"loading",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),{class:(0,i.normalizeClass)((0,i.unref)(u).is("loading"))},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.Loading))])),_:1},8,["class"])]))])):((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,{key:1},(0,i.renderList)(y.value,((t,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("li",{id:`${(0,i.unref)(k)}-item-${n}`,key:n,class:(0,i.normalizeClass)({highlighted:O.value===n}),role:"option","aria-selected":O.value===n,onClick:e=>H(t)},[(0,i.renderSlot)(e.$slots,"default",{item:t},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(t[e.valueKey]),1)]))],10,["id","aria-selected","onClick"])))),128))])),_:3},8,["id","wrap-class","view-class"])],6)])),default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{ref_key:"listboxRef",ref:m,class:(0,i.normalizeClass)([(0,i.unref)(u).b(),e.$attrs.class]),style:(0,i.normalizeStyle)((0,i.unref)(C)),role:"combobox","aria-haspopup":"listbox","aria-expanded":(0,i.unref)(B),"aria-owns":(0,i.unref)(k)},[(0,i.createVNode)((0,i.unref)(q.WK),(0,i.mergeProps)({ref_key:"inputRef",ref:d},(0,i.unref)(o),{clearable:e.clearable,disabled:(0,i.unref)(c),name:e.name,"model-value":e.modelValue,"aria-label":e.ariaLabel,onInput:z,onChange:D,onFocus:I,onBlur:N,onClear:L,onKeydown:[(0,i.withKeys)((0,i.withModifiers)((e=>W(O.value-1)),["prevent"]),["up"]),(0,i.withKeys)((0,i.withModifiers)((e=>W(O.value+1)),["prevent"]),["down"]),(0,i.withKeys)(V,["enter"]),(0,i.withKeys)(F,["tab"]),(0,i.withKeys)(U,["esc"])],onMousedown:R}),(0,i.createSlots)({_:2},[e.$slots.prepend?{name:"prepend",fn:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"prepend")]))}:void 0,e.$slots.append?{name:"append",fn:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"append")]))}:void 0,e.$slots.prefix?{name:"prefix",fn:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"prefix")]))}:void 0,e.$slots.suffix?{name:"suffix",fn:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"suffix")]))}:void 0]),1040,["clearable","disabled","name","model-value","aria-label","onKeydown"])],14,["aria-expanded","aria-owns"])])),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var rr=(0,f.A)(nr,[["__file","autocomplete.vue"]]);const or=(0,b.GU)(rr);var ir=n(18472);const ar=(0,l.b_)({size:{type:[Number,String],values:ir.I,default:"",validator:e=>(0,c.Et)(e)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:x.Ze},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:(0,l.jq)(String),default:"cover"}}),sr={error:e=>e instanceof Event},lr=(0,i.defineComponent)({name:"ElAvatar"}),cr=(0,i.defineComponent)({...lr,props:ar,emits:sr,setup(e,{emit:t}){const n=e,r=(0,h.DU)("avatar"),o=(0,i.ref)(!1),a=(0,i.computed)((()=>{const{size:e,icon:t,shape:o}=n,i=[r.b()];return(0,se.Kg)(e)&&i.push(r.m(e)),t&&i.push(r.m("icon")),o&&i.push(r.m(o)),i})),s=(0,i.computed)((()=>{const{size:e}=n;return(0,c.Et)(e)?r.cssVarBlock({size:(0,m._V)(e)||""}):void 0})),l=(0,i.computed)((()=>({objectFit:n.fit})));function u(e){o.value=!0,t("error",e)}return(0,i.watch)((()=>n.src),(()=>o.value=!1)),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("span",{class:(0,i.normalizeClass)((0,i.unref)(a)),style:(0,i.normalizeStyle)((0,i.unref)(s))},[!e.src&&!e.srcSet||o.value?e.icon?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:1},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.icon)))])),_:1})):(0,i.renderSlot)(e.$slots,"default",{key:2}):((0,i.openBlock)(),(0,i.createElementBlock)("img",{key:0,src:e.src,alt:e.alt,srcset:e.srcSet,style:(0,i.normalizeStyle)((0,i.unref)(l)),onError:u},null,44,["src","alt","srcset"]))],6))}});var ur=(0,f.A)(cr,[["__file","avatar.vue"]]);const dr=(0,b.GU)(ur),fr={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},hr={click:e=>e instanceof MouseEvent},pr="ElBacktop",mr=(0,i.defineComponent)({name:pr}),gr=(0,i.defineComponent)({...mr,props:fr,emits:hr,setup(e,{emit:t}){const n=e,r=(0,h.DU)("backtop"),{handleClick:o,visible:s}=((e,t,n)=>{const r=(0,i.shallowRef)(),o=(0,i.shallowRef)(),s=(0,i.ref)(!1),l=()=>{r.value&&(s.value=r.value.scrollTop>=e.visibilityHeight)},c=(0,Y.k3)(l,300,!0);return(0,a.MLh)(o,"scroll",c),(0,i.onMounted)((()=>{var t;o.value=document,r.value=document.documentElement,e.target&&(r.value=null!=(t=document.querySelector(e.target))?t:void 0,r.value||(0,g.$)(n,`target does not exist: ${e.target}`),o.value=r.value),l()})),{visible:s,handleClick:e=>{var n;null==(n=r.value)||n.scrollTo({top:0,behavior:"smooth"}),t("click",e)}}})(n,t,pr),l=(0,i.computed)((()=>({right:`${n.right}px`,bottom:`${n.bottom}px`})));return(e,t)=>((0,i.openBlock)(),(0,i.createBlock)(i.Transition,{name:`${(0,i.unref)(r).namespace.value}-fade-in`},{default:(0,i.withCtx)((()=>[(0,i.unref)(s)?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,style:(0,i.normalizeStyle)((0,i.unref)(l)),class:(0,i.normalizeClass)((0,i.unref)(r).b()),onClick:(0,i.withModifiers)((0,i.unref)(o),["stop"])},[(0,i.renderSlot)(e.$slots,"default",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),{class:(0,i.normalizeClass)((0,i.unref)(r).e("icon"))},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.CaretTop))])),_:1},8,["class"])]))],14,["onClick"])):(0,i.createCommentVNode)("v-if",!0)])),_:3},8,["name"]))}});var Ar=(0,f.A)(gr,[["__file","backtop.vue"]]);const vr=(0,b.GU)(Ar);var yr=n(79869);const Or=Symbol("breadcrumbKey"),br=(0,l.b_)({separator:{type:String,default:"/"},separatorIcon:{type:x.Ze}});var wr=n(87404);const _r=(0,i.defineComponent)({name:"ElBreadcrumb"}),xr=(0,i.defineComponent)({..._r,props:br,setup(e){const t=e,{t:n}=(0,wr.Ym)(),r=(0,h.DU)("breadcrumb"),o=(0,i.ref)();return(0,i.provide)(Or,t),(0,i.onMounted)((()=>{const e=o.value.querySelectorAll(`.${r.e("item")}`);e.length&&e[e.length-1].setAttribute("aria-current","page")})),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"breadcrumb",ref:o,class:(0,i.normalizeClass)((0,i.unref)(r).b()),"aria-label":(0,i.unref)(n)("el.breadcrumb.label"),role:"navigation"},[(0,i.renderSlot)(e.$slots,"default")],10,["aria-label"]))}});var Sr=(0,f.A)(xr,[["__file","breadcrumb.vue"]]);const kr=(0,l.b_)({to:{type:(0,l.jq)([String,Object]),default:""},replace:Boolean}),Cr=(0,i.defineComponent)({name:"ElBreadcrumbItem"}),Br=(0,i.defineComponent)({...Cr,props:kr,setup(e){const t=e,n=(0,i.getCurrentInstance)(),r=(0,i.inject)(Or,void 0),o=(0,h.DU)("breadcrumb"),a=n.appContext.config.globalProperties.$router,s=(0,i.ref)(),l=()=>{t.to&&a&&(t.replace?a.replace(t.to):a.push(t.to))};return(e,t)=>{var n,a;return(0,i.openBlock)(),(0,i.createElementBlock)("span",{class:(0,i.normalizeClass)((0,i.unref)(o).e("item"))},[(0,i.createElementVNode)("span",{ref_key:"link",ref:s,class:(0,i.normalizeClass)([(0,i.unref)(o).e("inner"),(0,i.unref)(o).is("link",!!e.to)]),role:"link",onClick:l},[(0,i.renderSlot)(e.$slots,"default")],2),(null==(n=(0,i.unref)(r))?void 0:n.separatorIcon)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)((0,i.unref)(o).e("separator"))},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(r).separatorIcon)))])),_:1},8,["class"])):((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:1,class:(0,i.normalizeClass)((0,i.unref)(o).e("separator")),role:"presentation"},(0,i.toDisplayString)(null==(a=(0,i.unref)(r))?void 0:a.separator),3))],2)}}});var Qr=(0,f.A)(Br,[["__file","breadcrumb-item.vue"]]);const Tr=(0,b.GU)(Sr,{BreadcrumbItem:Qr}),Er=(0,b.WM)(Qr);var Pr=n(21857),$r=n(74353);const Mr=(e,t)=>[e>0?e-1:void 0,e,e<t?e+1:void 0],zr=e=>Array.from(Array.from({length:e}).keys()),Rr=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),Dr=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),Ir=function(e,t){const n=(0,se.$P)(e),r=(0,se.$P)(t);return n&&r?e.getTime()===t.getTime():!n&&!r&&e===t},Nr=function(e,t){const n=(0,se.cy)(e),r=(0,se.cy)(t);return n&&r?e.length===t.length&&e.every(((e,n)=>Ir(e,t[n]))):!n&&!r&&Ir(e,t)},Lr=function(e,t,n){const r=(0,c.Im)(t)||"x"===t?$r(e).locale(n):$r(e,t).locale(n);return r.isValid()?r:void 0},Vr=function(e,t,n){return(0,c.Im)(t)?e:"x"===t?+e:$r(e).locale(n).format(t)},Ur=(e,t)=>{var n;const r=[],o=null==t?void 0:t();for(let t=0;t<e;t++)r.push(null!=(n=null==o?void 0:o.includes(t))&&n);return r},Fr=e=>(0,se.cy)(e)?e.map((e=>e.toDate())):e.toDate(),Hr=(0,l.b_)({selectedDay:{type:(0,l.jq)(Object)},range:{type:(0,l.jq)(Array)},date:{type:(0,l.jq)(Object),required:!0},hideHeader:{type:Boolean}}),Wr={pick:e=>(0,se.Gv)(e)};var Xr=n(21840);const jr=["sun","mon","tue","wed","thu","fri","sat"],qr=(0,i.defineComponent)({name:"DateTable"}),Zr=(0,i.defineComponent)({...qr,props:Hr,emits:Wr,setup(e,{expose:t,emit:n}){const r=e,{isInRange:o,now:a,rows:s,weekDays:l,getFormattedDate:c,handlePickDay:u,getSlotData:d}=((e,t)=>{$r.extend(Xr);const n=$r.localeData().firstDayOfWeek(),{t:r,lang:o}=(0,wr.Ym)(),a=$r().locale(o.value),s=(0,i.computed)((()=>!!e.range&&!!e.range.length)),l=(0,i.computed)((()=>{let t=[];if(s.value){const[n,r]=e.range,o=zr(r.date()-n.date()+1).map((e=>({text:n.date()+e,type:"current"})));let i=o.length%7;i=0===i?0:7-i;const a=zr(i).map(((e,t)=>({text:t+1,type:"next"})));t=o.concat(a)}else{const r=e.date.startOf("month").day(),o=((e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return zr(t).map(((e,r)=>n-(t-r-1)))})(e.date,(r-n+7)%7).map((e=>({text:e,type:"prev"}))),i=(e=>{const t=e.daysInMonth();return zr(t).map(((e,t)=>t+1))})(e.date).map((e=>({text:e,type:"current"})));t=[...o,...i];const a=7-(t.length%7||7),s=zr(a).map(((e,t)=>({text:t+1,type:"next"})));t=t.concat(s)}return(e=>zr(e.length/7).map((t=>{const n=7*t;return e.slice(n,n+7)})))(t)})),c=(0,i.computed)((()=>{const e=n;return 0===e?jr.map((e=>r(`el.datepicker.weeks.${e}`))):jr.slice(e).concat(jr.slice(0,e)).map((e=>r(`el.datepicker.weeks.${e}`)))})),u=(t,n)=>{switch(n){case"prev":return e.date.startOf("month").subtract(1,"month").date(t);case"next":return e.date.startOf("month").add(1,"month").date(t);case"current":return e.date.date(t)}};return{now:a,isInRange:s,rows:l,weekDays:c,getFormattedDate:u,handlePickDay:({text:e,type:n})=>{const r=u(e,n);t("pick",r)},getSlotData:({text:t,type:n})=>{const r=u(t,n);return{isSelected:r.isSame(e.selectedDay),type:`${n}-month`,day:r.format("YYYY-MM-DD"),date:r.toDate()}}}})(r,n),f=(0,h.DU)("calendar-table"),p=(0,h.DU)("calendar-day"),m=({text:e,type:t})=>{const n=[t];if("current"===t){const o=c(e,t);o.isSame(r.selectedDay,"day")&&n.push(p.is("selected")),o.isSame(a,"day")&&n.push(p.is("today"))}return n};return t({getFormattedDate:c}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("table",{class:(0,i.normalizeClass)([(0,i.unref)(f).b(),(0,i.unref)(f).is("range",(0,i.unref)(o))]),cellspacing:"0",cellpadding:"0"},[e.hideHeader?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("thead",{key:0},[(0,i.createElementVNode)("tr",null,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(l),(e=>((0,i.openBlock)(),(0,i.createElementBlock)("th",{key:e,scope:"col"},(0,i.toDisplayString)(e),1)))),128))])])),(0,i.createElementVNode)("tbody",null,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(s),((t,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("tr",{key:n,class:(0,i.normalizeClass)({[(0,i.unref)(f).e("row")]:!0,[(0,i.unref)(f).em("row","hide-border")]:0===n&&e.hideHeader})},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(t,((t,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("td",{key:n,class:(0,i.normalizeClass)(m(t)),onClick:e=>(0,i.unref)(u)(t)},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(p).b())},[(0,i.renderSlot)(e.$slots,"date-cell",{data:(0,i.unref)(d)(t)},(()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(t.text),1)]))],2)],10,["onClick"])))),128))],2)))),128))])],2))}});var Yr=(0,f.A)(Zr,[["__file","date-table.vue"]]);const Gr=(0,l.b_)({modelValue:{type:Date},range:{type:(0,l.jq)(Array),validator:e=>(0,se.cy)(e)&&2===e.length&&e.every((e=>(0,se.$P)(e)))}}),Kr={[s.l4]:e=>(0,se.$P)(e),[s.qs]:e=>(0,se.$P)(e)},Jr="ElCalendar",eo=(0,i.defineComponent)({name:Jr}),to=(0,i.defineComponent)({...eo,props:Gr,emits:Kr,setup(e,{expose:t,emit:n}){const r=e,o=(0,h.DU)("calendar"),{calculateValidatedDateRange:a,date:l,pickDay:c,realSelectedDay:u,selectDate:d,validatedRange:f}=((e,t,n)=>{const{lang:r}=(0,wr.Ym)(),o=(0,i.ref)(),a=$r().locale(r.value),l=(0,i.computed)({get(){return e.modelValue?u.value:o.value},set(e){if(!e)return;o.value=e;const n=e.toDate();t(s.qs,n),t(s.l4,n)}}),c=(0,i.computed)((()=>{if(!e.range||!(0,se.cy)(e.range)||2!==e.range.length||e.range.some((e=>!(0,se.$P)(e))))return[];const t=e.range.map((e=>$r(e).locale(r.value))),[o,i]=t;return o.isAfter(i)?((0,g.U)(n,"end time should be greater than start time"),[]):o.isSame(i,"month")?m(o,i):o.add(1,"month").month()!==i.month()?((0,g.U)(n,"start time and end time interval must not exceed two months"),[]):m(o,i)})),u=(0,i.computed)((()=>e.modelValue?$r(e.modelValue).locale(r.value):l.value||(c.value.length?c.value[0][0]:a))),d=(0,i.computed)((()=>u.value.subtract(1,"month").date(1))),f=(0,i.computed)((()=>u.value.add(1,"month").date(1))),h=(0,i.computed)((()=>u.value.subtract(1,"year").date(1))),p=(0,i.computed)((()=>u.value.add(1,"year").date(1))),m=(e,t)=>{const r=e.startOf("week"),o=t.endOf("week"),i=r.get("month"),a=o.get("month");return i===a?[[r,o]]:(i+1)%12===a?((e,t)=>{const n=e.endOf("month"),r=t.startOf("month"),o=n.isSame(r,"week");return[[e,n],[(o?r.add(1,"week"):r).startOf("week"),t]]})(r,o):i+2===a||(i+1)%11===a?((e,t)=>{const n=e.endOf("month"),r=e.add(1,"month").startOf("month"),o=n.isSame(r,"week")?r.add(1,"week"):r,i=o.endOf("month"),a=t.startOf("month"),s=i.isSame(a,"week")?a.add(1,"week"):a;return[[e,n],[o.startOf("week"),i],[s.startOf("week"),t]]})(r,o):((0,g.U)(n,"start time and end time interval must not exceed two months"),[])},A=e=>{l.value=e};return{calculateValidatedDateRange:m,date:u,realSelectedDay:l,pickDay:A,selectDate:e=>{const t={"prev-month":d.value,"next-month":f.value,"prev-year":h.value,"next-year":p.value,today:a}[e];t.isSame(u.value,"day")||A(t)},validatedRange:c}})(r,n,Jr),{t:p}=(0,wr.Ym)(),m=(0,i.computed)((()=>{const e=`el.datepicker.month${l.value.format("M")}`;return`${l.value.year()} ${p("el.datepicker.year")} ${p(e)}`}));return t({selectedDay:u,pickDay:c,selectDate:d,calculateValidatedDateRange:a}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)((0,i.unref)(o).b())},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(o).e("header"))},[(0,i.renderSlot)(e.$slots,"header",{date:(0,i.unref)(m)},(()=>[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(o).e("title"))},(0,i.toDisplayString)((0,i.unref)(m)),3),0===(0,i.unref)(f).length?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(o).e("button-group"))},[(0,i.createVNode)((0,i.unref)(Pr.fg),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(Pr.S2),{size:"small",onClick:e=>(0,i.unref)(d)("prev-month")},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(p)("el.datepicker.prevMonth")),1)])),_:1},8,["onClick"]),(0,i.createVNode)((0,i.unref)(Pr.S2),{size:"small",onClick:e=>(0,i.unref)(d)("today")},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(p)("el.datepicker.today")),1)])),_:1},8,["onClick"]),(0,i.createVNode)((0,i.unref)(Pr.S2),{size:"small",onClick:e=>(0,i.unref)(d)("next-month")},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(p)("el.datepicker.nextMonth")),1)])),_:1},8,["onClick"])])),_:1})],2)):(0,i.createCommentVNode)("v-if",!0)]))],2),0===(0,i.unref)(f).length?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(o).e("body"))},[(0,i.createVNode)(Yr,{date:(0,i.unref)(l),"selected-day":(0,i.unref)(u),onPick:(0,i.unref)(c)},(0,i.createSlots)({_:2},[e.$slots["date-cell"]?{name:"date-cell",fn:(0,i.withCtx)((t=>[(0,i.renderSlot)(e.$slots,"date-cell",(0,i.normalizeProps)((0,i.guardReactiveProps)(t)))]))}:void 0]),1032,["date","selected-day","onPick"])],2)):((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)((0,i.unref)(o).e("body"))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(f),((t,n)=>((0,i.openBlock)(),(0,i.createBlock)(Yr,{key:n,date:t[0],"selected-day":(0,i.unref)(u),range:t,"hide-header":0!==n,onPick:(0,i.unref)(c)},(0,i.createSlots)({_:2},[e.$slots["date-cell"]?{name:"date-cell",fn:(0,i.withCtx)((t=>[(0,i.renderSlot)(e.$slots,"date-cell",(0,i.normalizeProps)((0,i.guardReactiveProps)(t)))]))}:void 0]),1032,["date","selected-day","range","hide-header","onPick"])))),128))],2))],2))}});var no=(0,f.A)(to,[["__file","calendar.vue"]]);const ro=(0,b.GU)(no),oo=(0,l.b_)({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:(0,l.jq)([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),io=(0,i.defineComponent)({name:"ElCard"}),ao=(0,i.defineComponent)({...io,props:oo,setup(e){const t=(0,h.DU)("card");return(e,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(t).b(),(0,i.unref)(t).is(`${e.shadow}-shadow`)])},[e.$slots.header||e.header?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(t).e("header"))},[(0,i.renderSlot)(e.$slots,"header",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.header),1)]))],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([(0,i.unref)(t).e("body"),e.bodyClass]),style:(0,i.normalizeStyle)(e.bodyStyle)},[(0,i.renderSlot)(e.$slots,"default")],6),e.$slots.footer||e.footer?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)((0,i.unref)(t).e("footer"))},[(0,i.renderSlot)(e.$slots,"footer",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.footer),1)]))],2)):(0,i.createCommentVNode)("v-if",!0)],2))}});var so=(0,f.A)(ao,[["__file","card.vue"]]);const lo=(0,b.GU)(so),co=(0,l.b_)({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),uo={change:(e,t)=>[e,t].every(c.Et)};var fo=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return(0,P.A)(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),X(e,t,{leading:r,maxWait:t,trailing:o})};const ho=Symbol("carouselContextKey"),po="ElCarouselItem";var mo=n(51338);const go=(e,t)=>{const n={},r=(0,i.shallowRef)([]);return{children:r,addChild:o=>{n[o.uid]=o,r.value=((e,t,n)=>(0,mo.CW)(e.subTree).filter((e=>{var n;return(0,i.isVNode)(e)&&(null==(n=e.type)?void 0:n.name)===t&&!!e.component})).map((e=>e.component.uid)).map((e=>n[e])).filter((e=>!!e)))(e,t,n)},removeChild:e=>{delete n[e],r.value=r.value.filter((t=>t.uid!==e))}}},Ao="ElCarousel",vo=(0,i.defineComponent)({name:Ao}),yo=(0,i.defineComponent)({...vo,props:co,emits:uo,setup(e,{expose:t,emit:n}){const r=e,{root:o,activeIndex:s,arrowDisplay:l,hasLabel:c,hover:u,isCardType:d,items:f,isVertical:p,containerStyle:m,handleButtonEnter:A,handleButtonLeave:v,isTransitioning:y,handleIndicatorClick:O,handleMouseEnter:b,handleMouseLeave:w,handleTransitionEnd:x,setActiveItem:S,prev:k,next:C,PlaceholderItem:B,isTwoLengthShow:Q,throttledArrowClick:T,throttledIndicatorHover:E}=((e,t,n)=>{const{children:r,addChild:o,removeChild:s}=go((0,i.getCurrentInstance)(),po),l=(0,i.useSlots)(),c=(0,i.ref)(-1),u=(0,i.ref)(null),d=(0,i.ref)(!1),f=(0,i.ref)(),h=(0,i.ref)(0),p=(0,i.ref)(!0),m=(0,i.ref)(!0),A=(0,i.ref)(!1),v=(0,i.computed)((()=>"never"!==e.arrow&&!(0,i.unref)(b))),y=(0,i.computed)((()=>r.value.some((e=>e.props.label.toString().length>0)))),O=(0,i.computed)((()=>"card"===e.type)),b=(0,i.computed)((()=>"vertical"===e.direction)),w=(0,i.computed)((()=>"auto"!==e.height?{height:e.height}:{height:`${h.value}px`,overflow:"hidden"})),_=fo((e=>{B(e)}),300,{trailing:!0}),x=fo((t=>{!function(t){"hover"===e.trigger&&t!==c.value&&(c.value=t,m.value||(A.value=!0))}(t)}),300);function S(){u.value&&(clearInterval(u.value),u.value=null)}function k(){e.interval<=0||!e.autoplay||u.value||(u.value=setInterval((()=>C()),e.interval))}const C=()=>{m.value||(A.value=!0),m.value=!1,c.value<r.value.length-1?c.value=c.value+1:e.loop?c.value=0:A.value=!1};function B(t){if(m.value||(A.value=!0),m.value=!1,(0,se.Kg)(t)){const e=r.value.filter((e=>e.props.name===t));e.length>0&&(t=r.value.indexOf(e[0]))}if(t=Number(t),Number.isNaN(t)||t!==Math.floor(t))return void(0,g.U)(n,"index must be integer.");const o=r.value.length,i=c.value;c.value=t<0?e.loop?o-1:0:t>=o?e.loop?0:o-1:t,i===c.value&&Q(i),T()}function Q(e){r.value.forEach(((t,n)=>{t.translateItem(n,c.value,e)}))}function T(){S(),e.pauseOnHover||k()}(0,i.watch)((()=>c.value),((e,n)=>{Q(n),p.value&&(e%=2,n%=2),n>-1&&t("change",e,n)})),(0,i.watch)((()=>e.autoplay),(e=>{e?k():S()})),(0,i.watch)((()=>e.loop),(()=>{B(c.value)})),(0,i.watch)((()=>e.interval),(()=>{T()}));const E=(0,i.shallowRef)();return(0,i.onMounted)((()=>{(0,i.watch)((()=>r.value),(()=>{r.value.length>0&&B(e.initialIndex)}),{immediate:!0}),E.value=(0,a.wYm)(f.value,(()=>{Q()})),k()})),(0,i.onBeforeUnmount)((()=>{S(),f.value&&E.value&&E.value.stop()})),(0,i.provide)(ho,{root:f,isCardType:O,isVertical:b,items:r,loop:e.loop,cardScale:e.cardScale,addItem:o,removeItem:s,setActiveItem:B,setContainerHeight:function(t){"auto"===e.height&&(h.value=t)}}),{root:f,activeIndex:c,arrowDisplay:v,hasLabel:y,hover:d,isCardType:O,isTransitioning:A,items:r,isVertical:b,containerStyle:w,isItemsTwoLength:p,handleButtonEnter:function(e){(0,i.unref)(b)||r.value.forEach(((t,n)=>{e===function(e,t){var n,o,a,s;const l=(0,i.unref)(r),c=l.length;if(0===c||!e.states.inStage)return!1;const u=t+1,d=t-1,f=c-1,h=l[f].states.active,p=l[0].states.active,m=null==(o=null==(n=l[u])?void 0:n.states)?void 0:o.active,g=null==(s=null==(a=l[d])?void 0:a.states)?void 0:s.active;return t===f&&p||m?"left":!!(0===t&&h||g)&&"right"}(t,n)&&(t.states.hover=!0)}))},handleTransitionEnd:function(){A.value=!1},handleButtonLeave:function(){(0,i.unref)(b)||r.value.forEach((e=>{e.states.hover=!1}))},handleIndicatorClick:function(e){e!==c.value&&(m.value||(A.value=!0)),c.value=e},handleMouseEnter:function(){d.value=!0,e.pauseOnHover&&S()},handleMouseLeave:function(){d.value=!1,k()},setActiveItem:B,prev:function(){B(c.value-1)},next:function(){B(c.value+1)},PlaceholderItem:function(){var t;const n=null==(t=l.default)?void 0:t.call(l);if(!n)return null;const r=(0,mo.CW)(n).filter((e=>(0,i.isVNode)(e)&&e.type.name===po));return 2===(null==r?void 0:r.length)&&e.loop&&!O.value?(p.value=!0,r):(p.value=!1,null)},isTwoLengthShow:e=>!p.value||(c.value<=1?e<=1:e>1),throttledArrowClick:_,throttledIndicatorHover:x}})(r,n,Ao),P=(0,h.DU)("carousel"),{t:$}=(0,wr.Ym)(),M=(0,i.computed)((()=>{const e=[P.b(),P.m(r.direction)];return(0,i.unref)(d)&&e.push(P.m("card")),e})),z=(0,i.computed)((()=>{const e=[P.e("container")];return r.motionBlur&&(0,i.unref)(y)&&f.value.length>1&&e.push((0,i.unref)(p)?`${P.namespace.value}-transitioning-vertical`:`${P.namespace.value}-transitioning`),e})),R=(0,i.computed)((()=>{const e=[P.e("indicators"),P.em("indicators",r.direction)];return(0,i.unref)(c)&&e.push(P.em("indicators","labels")),"outside"===r.indicatorPosition&&e.push(P.em("indicators","outside")),(0,i.unref)(p)&&e.push(P.em("indicators","right")),e}));return t({activeIndex:s,setActiveItem:S,prev:k,next:C}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"root",ref:o,class:(0,i.normalizeClass)((0,i.unref)(M)),onMouseenter:(0,i.withModifiers)((0,i.unref)(b),["stop"]),onMouseleave:(0,i.withModifiers)((0,i.unref)(w),["stop"])},[(0,i.unref)(l)?((0,i.openBlock)(),(0,i.createBlock)(i.Transition,{key:0,name:"carousel-arrow-left",persisted:""},{default:(0,i.withCtx)((()=>[(0,i.withDirectives)((0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)([(0,i.unref)(P).e("arrow"),(0,i.unref)(P).em("arrow","left")]),"aria-label":(0,i.unref)($)("el.carousel.leftArrow"),onMouseenter:e=>(0,i.unref)(A)("left"),onMouseleave:(0,i.unref)(v),onClick:(0,i.withModifiers)((e=>(0,i.unref)(T)((0,i.unref)(s)-1)),["stop"])},[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowLeft))])),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[i.vShow,("always"===e.arrow||(0,i.unref)(u))&&(r.loop||(0,i.unref)(s)>0)]])])),_:1})):(0,i.createCommentVNode)("v-if",!0),(0,i.unref)(l)?((0,i.openBlock)(),(0,i.createBlock)(i.Transition,{key:1,name:"carousel-arrow-right",persisted:""},{default:(0,i.withCtx)((()=>[(0,i.withDirectives)((0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)([(0,i.unref)(P).e("arrow"),(0,i.unref)(P).em("arrow","right")]),"aria-label":(0,i.unref)($)("el.carousel.rightArrow"),onMouseenter:e=>(0,i.unref)(A)("right"),onMouseleave:(0,i.unref)(v),onClick:(0,i.withModifiers)((e=>(0,i.unref)(T)((0,i.unref)(s)+1)),["stop"])},[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowRight))])),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[i.vShow,("always"===e.arrow||(0,i.unref)(u))&&(r.loop||(0,i.unref)(s)<(0,i.unref)(f).length-1)]])])),_:1})):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(z)),style:(0,i.normalizeStyle)((0,i.unref)(m)),onTransitionend:(0,i.unref)(x)},[(0,i.createVNode)((0,i.unref)(B)),(0,i.renderSlot)(e.$slots,"default")],46,["onTransitionend"]),"none"!==e.indicatorPosition?((0,i.openBlock)(),(0,i.createElementBlock)("ul",{key:2,class:(0,i.normalizeClass)((0,i.unref)(R))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(f),((t,n)=>(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("li",{key:n,class:(0,i.normalizeClass)([(0,i.unref)(P).e("indicator"),(0,i.unref)(P).em("indicator",e.direction),(0,i.unref)(P).is("active",n===(0,i.unref)(s))]),onMouseenter:e=>(0,i.unref)(E)(n),onClick:(0,i.withModifiers)((e=>(0,i.unref)(O)(n)),["stop"])},[(0,i.createElementVNode)("button",{class:(0,i.normalizeClass)((0,i.unref)(P).e("button")),"aria-label":(0,i.unref)($)("el.carousel.indicator",{index:n+1})},[(0,i.unref)(c)?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0},(0,i.toDisplayString)(t.props.label),1)):(0,i.createCommentVNode)("v-if",!0)],10,["aria-label"])],42,["onMouseenter","onClick"])),[[i.vShow,(0,i.unref)(Q)(n)]]))),128))],2)):(0,i.createCommentVNode)("v-if",!0),r.motionBlur?((0,i.openBlock)(),(0,i.createElementBlock)("svg",{key:3,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},[(0,i.createElementVNode)("defs",null,[(0,i.createElementVNode)("filter",{id:"elCarouselHorizontal"},[(0,i.createElementVNode)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),(0,i.createElementVNode)("filter",{id:"elCarouselVertical"},[(0,i.createElementVNode)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])])])):(0,i.createCommentVNode)("v-if",!0)],42,["onMouseenter","onMouseleave"]))}});var Oo=(0,f.A)(yo,[["__file","carousel.vue"]]);const bo=(0,l.b_)({name:{type:String,default:""},label:{type:[String,Number],default:""}}),wo=(0,i.defineComponent)({name:po}),_o=(0,i.defineComponent)({...wo,props:bo,setup(e){const t=e,n=(0,h.DU)("carousel"),{carouselItemRef:r,active:o,animating:a,hover:s,inStage:l,isVertical:u,translate:d,isCardType:f,scale:p,ready:m,handleItemClick:A}=(e=>{const t=(0,i.inject)(ho),n=(0,i.getCurrentInstance)();t||(0,g.U)(po,"usage: <el-carousel></el-carousel-item></el-carousel>"),n||(0,g.U)(po,"compositional hook can only be invoked inside setups");const r=(0,i.ref)(),o=(0,i.ref)(!1),a=(0,i.ref)(0),s=(0,i.ref)(1),l=(0,i.ref)(!1),u=(0,i.ref)(!1),d=(0,i.ref)(!1),f=(0,i.ref)(!1),{isCardType:h,isVertical:p,cardScale:m}=t,A=(e,n,o)=>{var g;const A=(0,i.unref)(h),v=null!=(g=t.items.value.length)?g:Number.NaN,y=e===n;A||(0,c.b0)(o)||(f.value=y||e===o),!y&&v>2&&t.loop&&(e=function(e,t,n){const r=n-1,o=n/2;return 0===t&&e===r?-1:t===r&&0===e?n:e<t-1&&t-e>=o?n+1:e>t+1&&e-t>=o?-2:e}(e,n,v));const O=(0,i.unref)(p);l.value=y,A?(d.value=Math.round(Math.abs(e-n))<=1,a.value=function(e,n){var r,o;const a=(0,i.unref)(p)?(null==(r=t.root.value)?void 0:r.offsetHeight)||0:(null==(o=t.root.value)?void 0:o.offsetWidth)||0;return d.value?a*((2-m)*(e-n)+1)/4:e<n?-(1+m)*a/4:(3+m)*a/4}(e,n),s.value=(0,i.unref)(l)?1:m):a.value=function(e,n,r){const o=t.root.value;return o?((r?o.offsetHeight:o.offsetWidth)||0)*(e-n):0}(e,n,O),u.value=!0,y&&r.value&&t.setContainerHeight(r.value.offsetHeight)};return(0,i.onMounted)((()=>{t.addItem({props:e,states:(0,i.reactive)({hover:o,translate:a,scale:s,active:l,ready:u,inStage:d,animating:f}),uid:n.uid,translateItem:A})})),(0,i.onUnmounted)((()=>{t.removeItem(n.uid)})),{carouselItemRef:r,active:l,animating:f,hover:o,inStage:d,isVertical:p,translate:a,isCardType:h,scale:s,ready:u,handleItemClick:function(){if(t&&(0,i.unref)(h)){const e=t.items.value.findIndex((({uid:e})=>e===n.uid));t.setActiveItem(e)}}}})(t),v=(0,i.computed)((()=>[n.e("item"),n.is("active",o.value),n.is("in-stage",l.value),n.is("hover",s.value),n.is("animating",a.value),{[n.em("item","card")]:f.value,[n.em("item","card-vertical")]:f.value&&u.value}])),y=(0,i.computed)((()=>({transform:[`${"translate"+((0,i.unref)(u)?"Y":"X")}(${(0,i.unref)(d)}px)`,`scale(${(0,i.unref)(p)})`].join(" ")})));return(e,t)=>(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"carouselItemRef",ref:r,class:(0,i.normalizeClass)((0,i.unref)(v)),style:(0,i.normalizeStyle)((0,i.unref)(y)),onClick:(0,i.unref)(A)},[(0,i.unref)(f)?(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(n).e("mask"))},null,2)),[[i.vShow,!(0,i.unref)(o)]]):(0,i.createCommentVNode)("v-if",!0),(0,i.renderSlot)(e.$slots,"default")],14,["onClick"])),[[i.vShow,(0,i.unref)(m)]])}});var xo=(0,f.A)(_o,[["__file","carousel-item.vue"]]);const So=(0,b.GU)(Oo,{CarouselItem:xo}),ko=(0,b.WM)(xo);var Co=n(80127),Bo=n(68335),Qo=n(29471);function To(e){var t=this.__data__=new Co.A(e);this.size=t.size}To.prototype.clear=function(){this.__data__=new Co.A,this.size=0},To.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},To.prototype.get=function(e){return this.__data__.get(e)},To.prototype.has=function(e){return this.__data__.has(e)},To.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Co.A){var r=n.__data__;if(!Bo.A||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Qo.A(r)}return n.set(e,t),this.size=n.size,this};var Eo=To,Po=n(52851),$o=n(52528),Mo=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?(0,$o.A)(n,s,l):(0,Po.A)(n,s,l)}return n},zo=n(52274),Ro=n(92049),Do="object"==typeof exports&&exports&&!exports.nodeType&&exports,Io=Do&&"object"==typeof module&&module&&!module.nodeType&&module,No=Io&&Io.exports===Do?$.A.Buffer:void 0,Lo=(No?No.isBuffer:void 0)||function(){return!1},Vo=n(25353),Uo=n(88496),Fo=n(5254),Ho=n(53098),Wo={};Wo["[object Float32Array]"]=Wo["[object Float64Array]"]=Wo["[object Int8Array]"]=Wo["[object Int16Array]"]=Wo["[object Int32Array]"]=Wo["[object Uint8Array]"]=Wo["[object Uint8ClampedArray]"]=Wo["[object Uint16Array]"]=Wo["[object Uint32Array]"]=!0,Wo["[object Arguments]"]=Wo["[object Array]"]=Wo["[object ArrayBuffer]"]=Wo["[object Boolean]"]=Wo["[object DataView]"]=Wo["[object Date]"]=Wo["[object Error]"]=Wo["[object Function]"]=Wo["[object Map]"]=Wo["[object Number]"]=Wo["[object Object]"]=Wo["[object RegExp]"]=Wo["[object Set]"]=Wo["[object String]"]=Wo["[object WeakMap]"]=!1;var Xo=function(e){return function(t){return e(t)}},jo=n(72136),qo="object"==typeof exports&&exports&&!exports.nodeType&&exports,Zo=qo&&"object"==typeof module&&module&&!module.nodeType&&module,Yo=Zo&&Zo.exports===qo&&jo.A.process,Go=function(){try{return Zo&&Zo.require&&Zo.require("util").types||Yo&&Yo.binding&&Yo.binding("util")}catch(e){}}(),Ko=Go&&Go.isTypedArray,Jo=Ko?Xo(Ko):function(e){return(0,Ho.A)(e)&&(0,Fo.A)(e.length)&&!!Wo[(0,Uo.A)(e)]},ei=Object.prototype.hasOwnProperty,ti=function(e,t){var n=(0,Ro.A)(e),r=!n&&(0,zo.A)(e),o=!n&&!r&&Lo(e),i=!n&&!r&&!o&&Jo(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!ei.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||(0,Vo.A)(c,l))||s.push(c);return s},ni=Object.prototype,ri=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ni)},oi=function(e,t){return function(n){return e(t(n))}},ii=oi(Object.keys,Object),ai=Object.prototype.hasOwnProperty,si=n(89610),li=function(e){return null!=e&&(0,Fo.A)(e.length)&&!(0,si.A)(e)},ci=function(e){return li(e)?ti(e):function(e){if(!ri(e))return ii(e);var t=[];for(var n in Object(e))ai.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)},ui=Object.prototype.hasOwnProperty,di=function(e){if(!(0,P.A)(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ri(e),n=[];for(var r in e)("constructor"!=r||!t&&ui.call(e,r))&&n.push(r);return n},fi=function(e){return li(e)?ti(e,!0):di(e)},hi="object"==typeof exports&&exports&&!exports.nodeType&&exports,pi=hi&&"object"==typeof module&&module&&!module.nodeType&&module,mi=pi&&pi.exports===hi?$.A.Buffer:void 0,gi=mi?mi.allocUnsafe:void 0,Ai=function(e,t){if(t)return e.slice();var n=e.length,r=gi?gi(n):new e.constructor(n);return e.copy(r),r},vi=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},yi=function(){return[]},Oi=Object.prototype.propertyIsEnumerable,bi=Object.getOwnPropertySymbols,wi=bi?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(bi(e),(function(t){return Oi.call(e,t)})))}:yi,_i=n(76912),xi=oi(Object.getPrototypeOf,Object),Si=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,_i.A)(t,wi(e)),e=xi(e);return t}:yi,ki=function(e,t,n){var r=t(e);return(0,Ro.A)(e)?r:(0,_i.A)(r,n(e))},Ci=function(e){return ki(e,ci,wi)},Bi=function(e){return ki(e,fi,Si)},Qi=n(18744),Ti=(0,Qi.A)($.A,"DataView"),Ei=(0,Qi.A)($.A,"Promise"),Pi=(0,Qi.A)($.A,"Set"),$i=(0,Qi.A)($.A,"WeakMap"),Mi=n(81121),zi="[object Map]",Ri="[object Promise]",Di="[object Set]",Ii="[object WeakMap]",Ni="[object DataView]",Li=(0,Mi.A)(Ti),Vi=(0,Mi.A)(Bo.A),Ui=(0,Mi.A)(Ei),Fi=(0,Mi.A)(Pi),Hi=(0,Mi.A)($i),Wi=Uo.A;(Ti&&Wi(new Ti(new ArrayBuffer(1)))!=Ni||Bo.A&&Wi(new Bo.A)!=zi||Ei&&Wi(Ei.resolve())!=Ri||Pi&&Wi(new Pi)!=Di||$i&&Wi(new $i)!=Ii)&&(Wi=function(e){var t=(0,Uo.A)(e),n="[object Object]"==t?e.constructor:void 0,r=n?(0,Mi.A)(n):"";if(r)switch(r){case Li:return Ni;case Vi:return zi;case Ui:return Ri;case Fi:return Di;case Hi:return Ii}return t});var Xi=Wi,ji=Object.prototype.hasOwnProperty,qi=$.A.Uint8Array,Zi=function(e){var t=new e.constructor(e.byteLength);return new qi(t).set(new qi(e)),t},Yi=/\w*$/,Gi=n(241),Ki=Gi.A?Gi.A.prototype:void 0,Ji=Ki?Ki.valueOf:void 0,ea=function(e,t){var n=t?Zi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)},ta=function(e,t,n){var r,o,i,a=e.constructor;switch(t){case"[object ArrayBuffer]":return Zi(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return function(e,t){var n=t?Zi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ea(e,n);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return(i=new(o=e).constructor(o.source,Yi.exec(o))).lastIndex=o.lastIndex,i;case"[object Symbol]":return r=e,Ji?Object(Ji.call(r)):{}}},na=Object.create,ra=function(){function e(){}return function(t){if(!(0,P.A)(t))return{};if(na)return na(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),oa=function(e){return"function"!=typeof e.constructor||ri(e)?{}:ra(xi(e))},ia=Go&&Go.isMap,aa=ia?Xo(ia):function(e){return(0,Ho.A)(e)&&"[object Map]"==Xi(e)},sa=Go&&Go.isSet,la=sa?Xo(sa):function(e){return(0,Ho.A)(e)&&"[object Set]"==Xi(e)},ca="[object Arguments]",ua="[object Function]",da="[object Object]",fa={};fa[ca]=fa["[object Array]"]=fa["[object ArrayBuffer]"]=fa["[object DataView]"]=fa["[object Boolean]"]=fa["[object Date]"]=fa["[object Float32Array]"]=fa["[object Float64Array]"]=fa["[object Int8Array]"]=fa["[object Int16Array]"]=fa["[object Int32Array]"]=fa["[object Map]"]=fa["[object Number]"]=fa[da]=fa["[object RegExp]"]=fa["[object Set]"]=fa["[object String]"]=fa["[object Symbol]"]=fa["[object Uint8Array]"]=fa["[object Uint8ClampedArray]"]=fa["[object Uint16Array]"]=fa["[object Uint32Array]"]=!0,fa["[object Error]"]=fa[ua]=fa["[object WeakMap]"]=!1;var ha=function e(t,n,r,o,i,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=i?r(t,o,i,a):r(t)),void 0!==s)return s;if(!(0,P.A)(t))return t;var d=(0,Ro.A)(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ji.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return vi(t,s)}else{var f=Xi(t),h=f==ua||"[object GeneratorFunction]"==f;if(Lo(t))return Ai(t,l);if(f==da||f==ca||h&&!i){if(s=c||h?{}:oa(t),!l)return c?function(e,t){return Mo(e,Si(e),t)}(t,function(e,t){return e&&Mo(t,fi(t),e)}(s,t)):function(e,t){return Mo(e,wi(e),t)}(t,function(e,t){return e&&Mo(t,ci(t),e)}(s,t))}else{if(!fa[f])return i?t:{};s=ta(t,f,l)}}a||(a=new Eo);var p=a.get(t);if(p)return p;a.set(t,s),la(t)?t.forEach((function(o){s.add(e(o,n,r,o,t,a))})):aa(t)&&t.forEach((function(o,i){s.set(i,e(o,n,r,i,t,a))}));var m=d?void 0:(u?c?Bi:Ci:c?fi:ci)(t);return function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););}(m||t,(function(o,i){m&&(o=t[i=o]),(0,Po.A)(s,i,e(o,n,r,i,t,a))})),s},pa=function(e){return ha(e,5)};function ma(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Qo.A;++t<n;)this.add(e[t])}ma.prototype.add=ma.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ma.prototype.has=function(e){return this.__data__.has(e)};var ga=ma,Aa=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},va=function(e,t){return e.has(t)},ya=function(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,h=2&n?new ga:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var p=e[d],m=t[d];if(r)var g=a?r(m,p,d,t,e,i):r(p,m,d,e,t,i);if(void 0!==g){if(g)continue;f=!1;break}if(h){if(!Aa(t,(function(e,t){if(!va(h,t)&&(p===e||o(p,e,n,r,i)))return h.push(t)}))){f=!1;break}}else if(p!==m&&!o(p,m,n,r,i)){f=!1;break}}return i.delete(e),i.delete(t),f},Oa=n(66984),ba=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},wa=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},_a=Gi.A?Gi.A.prototype:void 0,xa=_a?_a.valueOf:void 0,Sa=Object.prototype.hasOwnProperty,ka="[object Arguments]",Ca="[object Array]",Ba="[object Object]",Qa=Object.prototype.hasOwnProperty,Ta=function(e,t,n,r,o,i){var a=(0,Ro.A)(e),s=(0,Ro.A)(t),l=a?Ca:Xi(e),c=s?Ca:Xi(t),u=(l=l==ka?Ba:l)==Ba,d=(c=c==ka?Ba:c)==Ba,f=l==c;if(f&&Lo(e)){if(!Lo(t))return!1;a=!0,u=!1}if(f&&!u)return i||(i=new Eo),a||Jo(e)?ya(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new qi(e),new qi(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,Oa.A)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=ba;case"[object Set]":var l=1&r;if(s||(s=wa),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=ya(s(e),s(t),r,o,i,a);return a.delete(e),u;case"[object Symbol]":if(xa)return xa.call(e)==xa.call(t)}return!1}(e,t,l,n,r,o,i);if(!(1&n)){var h=u&&Qa.call(e,"__wrapped__"),p=d&&Qa.call(t,"__wrapped__");if(h||p){var m=h?e.value():e,g=p?t.value():t;return i||(i=new Eo),o(m,g,n,r,i)}}return!!f&&(i||(i=new Eo),function(e,t,n,r,o,i){var a=1&n,s=Ci(e),l=s.length;if(l!=Ci(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:Sa.call(t,u)))return!1}var d=i.get(e),f=i.get(t);if(d&&f)return d==t&&f==e;var h=!0;i.set(e,t),i.set(t,e);for(var p=a;++c<l;){var m=e[u=s[c]],g=t[u];if(r)var A=a?r(g,m,u,t,e,i):r(m,g,u,e,t,i);if(!(void 0===A?m===g||o(m,g,n,r,i):A)){h=!1;break}p||(p="constructor"==u)}if(h&&!p){var v=e.constructor,y=t.constructor;v==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y||(h=!1)}return i.delete(e),i.delete(t),h}(e,t,n,r,o,i))},Ea=function e(t,n,r,o,i){return t===n||(null==t||null==n||!(0,Ho.A)(t)&&!(0,Ho.A)(n)?t!=t&&n!=n:Ta(t,n,r,o,e,i))},Pa=function(e,t){return Ea(e,t)},$a=n(13588),Ma=1/0,za=n(838);const Ra={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:za.mU,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...(0,oe.l)(["ariaControls"])},Da={[s.l4]:e=>(0,se.Kg)(e)||(0,c.Et)(e)||(0,c.Lm)(e),change:e=>(0,se.Kg)(e)||(0,c.Et)(e)||(0,c.Lm)(e)},Ia=Symbol("checkboxGroupContextKey");var Na=n(29357);var La=n(49766);const Va=(e,t)=>{const{formItem:n}=(0,Na.j)(),{model:r,isGroup:o,isLimitExceeded:a}=(e=>{const t=(0,i.ref)(!1),{emit:n}=(0,i.getCurrentInstance)(),r=(0,i.inject)(Ia,void 0),o=(0,i.computed)((()=>!1===(0,c.b0)(r))),a=(0,i.ref)(!1),l=(0,i.computed)({get(){var n,i;return o.value?null==(n=null==r?void 0:r.modelValue)?void 0:n.value:null!=(i=e.modelValue)?i:t.value},set(e){var i,c;o.value&&(0,se.cy)(e)?(a.value=void 0!==(null==(i=null==r?void 0:r.max)?void 0:i.value)&&e.length>(null==r?void 0:r.max.value)&&e.length>l.value.length,!1===a.value&&(null==(c=null==r?void 0:r.changeEvent)||c.call(r,e))):(n(s.l4,e),t.value=e)}});return{model:l,isGroup:o,isLimitExceeded:a}})(e),{isFocused:l,isChecked:u,checkboxButtonSize:d,checkboxSize:f,hasOwnLabel:h,actualValue:p}=((e,t,{model:n})=>{const r=(0,i.inject)(Ia,void 0),o=(0,i.ref)(!1),a=(0,i.computed)((()=>(0,c.Xj)(e.value)?e.label:e.value)),s=(0,i.computed)((()=>{const t=n.value;return(0,c.Lm)(t)?t:(0,se.cy)(t)?(0,se.Gv)(a.value)?t.map(i.toRaw).some((e=>Pa(e,a.value))):t.map(i.toRaw).includes(a.value):null!=t?t===e.trueValue||t===e.trueLabel:!!t}));return{checkboxButtonSize:(0,Jn.NV)((0,i.computed)((()=>{var e;return null==(e=null==r?void 0:r.size)?void 0:e.value})),{prop:!0}),isChecked:s,isFocused:o,checkboxSize:(0,Jn.NV)((0,i.computed)((()=>{var e;return null==(e=null==r?void 0:r.size)?void 0:e.value}))),hasOwnLabel:(0,i.computed)((()=>!!t.default||!(0,c.Xj)(a.value))),actualValue:a}})(e,t,{model:r}),{isDisabled:m}=(({model:e,isChecked:t})=>{const n=(0,i.inject)(Ia,void 0),r=(0,i.computed)((()=>{var r,o;const i=null==(r=null==n?void 0:n.max)?void 0:r.value,a=null==(o=null==n?void 0:n.min)?void 0:o.value;return!(0,c.b0)(i)&&e.value.length>=i&&!t.value||!(0,c.b0)(a)&&e.value.length<=a&&t.value}));return{isDisabled:(0,Jn.CB)((0,i.computed)((()=>(null==n?void 0:n.disabled.value)||r.value))),isLimitDisabled:r}})({model:r,isChecked:u}),{inputId:A,isLabeledByFormItem:v}=(0,Na.W)(e,{formItemContext:n,disableIdGeneration:h,disableIdManagement:o}),{handleChange:y,onClickRoot:O}=((e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:o,isLabeledByFormItem:a})=>{const s=(0,i.inject)(Ia,void 0),{formItem:l}=(0,Na.j)(),{emit:c}=(0,i.getCurrentInstance)();function u(t){var n,r,o,i;return[!0,e.trueValue,e.trueLabel].includes(t)?null==(r=null!=(n=e.trueValue)?n:e.trueLabel)||r:null!=(i=null!=(o=e.falseValue)?o:e.falseLabel)&&i}const d=(0,i.computed)((()=>(null==s?void 0:s.validateEvent)||e.validateEvent));return(0,i.watch)((()=>e.modelValue),(()=>{d.value&&(null==l||l.validate("change").catch((e=>(0,g.U)(e))))})),{handleChange:function(e){if(n.value)return;const t=e.target;c("change",u(t.checked),e)},onClickRoot:async function(s){n.value||r.value||o.value||!a.value||s.composedPath().some((e=>"LABEL"===e.tagName))||(t.value=u([!1,e.falseValue,e.falseLabel].includes(t.value)),await(0,i.nextTick)(),function(e,t){c("change",u(e),t)}(t.value,s))}}})(e,{model:r,isLimitExceeded:a,hasOwnLabel:h,isDisabled:m,isLabeledByFormItem:v});var b,w;return e.checked&&((0,se.cy)(r.value)&&!r.value.includes(p.value)?r.value.push(p.value):r.value=null==(w=null!=(b=e.trueValue)?b:e.trueLabel)||w),(0,La.b)({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},(0,i.computed)((()=>o.value&&(0,c.Xj)(e.value)))),(0,La.b)({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},(0,i.computed)((()=>!!e.trueLabel))),(0,La.b)({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},(0,i.computed)((()=>!!e.falseLabel))),{inputId:A,isLabeledByFormItem:v,isChecked:u,isDisabled:m,isFocused:l,checkboxButtonSize:d,checkboxSize:f,hasOwnLabel:h,model:r,actualValue:p,handleChange:y,onClickRoot:O}},Ua=(0,i.defineComponent)({name:"ElCheckbox"}),Fa=(0,i.defineComponent)({...Ua,props:Ra,emits:Da,setup(e){const t=e,n=(0,i.useSlots)(),{inputId:r,isLabeledByFormItem:o,isChecked:a,isDisabled:s,isFocused:l,checkboxSize:c,hasOwnLabel:u,model:d,actualValue:f,handleChange:p,onClickRoot:m}=Va(t,n),g=(0,h.DU)("checkbox"),A=(0,i.computed)((()=>[g.b(),g.m(c.value),g.is("disabled",s.value),g.is("bordered",t.border),g.is("checked",a.value)])),v=(0,i.computed)((()=>[g.e("input"),g.is("disabled",s.value),g.is("checked",a.value),g.is("indeterminate",t.indeterminate),g.is("focus",l.value)]));return(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(!(0,i.unref)(u)&&(0,i.unref)(o)?"span":"label"),{class:(0,i.normalizeClass)((0,i.unref)(A)),"aria-controls":e.indeterminate?e.ariaControls:null,onClick:(0,i.unref)(m)},{default:(0,i.withCtx)((()=>{var t,n,o,a;return[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(v))},[e.trueValue||e.falseValue||e.trueLabel||e.falseLabel?(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("input",{key:0,id:(0,i.unref)(r),"onUpdate:modelValue":e=>(0,i.isRef)(d)?d.value=e:null,class:(0,i.normalizeClass)((0,i.unref)(g).e("original")),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:(0,i.unref)(s),"true-value":null==(n=null!=(t=e.trueValue)?t:e.trueLabel)||n,"false-value":null!=(a=null!=(o=e.falseValue)?o:e.falseLabel)&&a,onChange:(0,i.unref)(p),onFocus:e=>l.value=!0,onBlur:e=>l.value=!1,onClick:(0,i.withModifiers)((()=>{}),["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[i.vModelCheckbox,(0,i.unref)(d)]]):(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("input",{key:1,id:(0,i.unref)(r),"onUpdate:modelValue":e=>(0,i.isRef)(d)?d.value=e:null,class:(0,i.normalizeClass)((0,i.unref)(g).e("original")),type:"checkbox",indeterminate:e.indeterminate,disabled:(0,i.unref)(s),value:(0,i.unref)(f),name:e.name,tabindex:e.tabindex,onChange:(0,i.unref)(p),onFocus:e=>l.value=!0,onBlur:e=>l.value=!1,onClick:(0,i.withModifiers)((()=>{}),["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","disabled","value","name","tabindex","onChange","onFocus","onBlur","onClick"])),[[i.vModelCheckbox,(0,i.unref)(d)]]),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(g).e("inner"))},null,2)],2),(0,i.unref)(u)?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0,class:(0,i.normalizeClass)((0,i.unref)(g).e("label"))},[(0,i.renderSlot)(e.$slots,"default"),e.$slots.default?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:0},[(0,i.createTextVNode)((0,i.toDisplayString)(e.label),1)],64))],2)):(0,i.createCommentVNode)("v-if",!0)]})),_:3},8,["class","aria-controls","onClick"]))}});var Ha=(0,f.A)(Fa,[["__file","checkbox.vue"]]);const Wa=(0,i.defineComponent)({name:"ElCheckboxButton"}),Xa=(0,i.defineComponent)({...Wa,props:Ra,emits:Da,setup(e){const t=e,n=(0,i.useSlots)(),{isFocused:r,isChecked:o,isDisabled:a,checkboxButtonSize:s,model:l,actualValue:c,handleChange:u}=Va(t,n),d=(0,i.inject)(Ia,void 0),f=(0,h.DU)("checkbox"),p=(0,i.computed)((()=>{var e,t,n,r;const o=null!=(t=null==(e=null==d?void 0:d.fill)?void 0:e.value)?t:"";return{backgroundColor:o,borderColor:o,color:null!=(r=null==(n=null==d?void 0:d.textColor)?void 0:n.value)?r:"",boxShadow:o?`-1px 0 0 0 ${o}`:void 0}})),m=(0,i.computed)((()=>[f.b("button"),f.bm("button",s.value),f.is("disabled",a.value),f.is("checked",o.value),f.is("focus",r.value)]));return(e,t)=>{var n,s,d,h;return(0,i.openBlock)(),(0,i.createElementBlock)("label",{class:(0,i.normalizeClass)((0,i.unref)(m))},[e.trueValue||e.falseValue||e.trueLabel||e.falseLabel?(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("input",{key:0,"onUpdate:modelValue":e=>(0,i.isRef)(l)?l.value=e:null,class:(0,i.normalizeClass)((0,i.unref)(f).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:(0,i.unref)(a),"true-value":null==(s=null!=(n=e.trueValue)?n:e.trueLabel)||s,"false-value":null!=(h=null!=(d=e.falseValue)?d:e.falseLabel)&&h,onChange:(0,i.unref)(u),onFocus:e=>r.value=!0,onBlur:e=>r.value=!1,onClick:(0,i.withModifiers)((()=>{}),["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[i.vModelCheckbox,(0,i.unref)(l)]]):(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("input",{key:1,"onUpdate:modelValue":e=>(0,i.isRef)(l)?l.value=e:null,class:(0,i.normalizeClass)((0,i.unref)(f).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:(0,i.unref)(a),value:(0,i.unref)(c),onChange:(0,i.unref)(u),onFocus:e=>r.value=!0,onBlur:e=>r.value=!1,onClick:(0,i.withModifiers)((()=>{}),["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","value","onChange","onFocus","onBlur","onClick"])),[[i.vModelCheckbox,(0,i.unref)(l)]]),e.$slots.default||e.label?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:2,class:(0,i.normalizeClass)((0,i.unref)(f).be("button","inner")),style:(0,i.normalizeStyle)((0,i.unref)(o)?(0,i.unref)(p):void 0)},[(0,i.renderSlot)(e.$slots,"default",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.label),1)]))],6)):(0,i.createCommentVNode)("v-if",!0)],2)}}});var ja=(0,f.A)(Xa,[["__file","checkbox-button.vue"]]),qa=n(64670);const Za=(0,l.b_)({modelValue:{type:(0,l.jq)(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:za.mU,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},...(0,oe.l)(["ariaLabel"])}),Ya={[s.l4]:e=>(0,se.cy)(e),change:e=>(0,se.cy)(e)},Ga=(0,i.defineComponent)({name:"ElCheckboxGroup"}),Ka=(0,i.defineComponent)({...Ga,props:Za,emits:Ya,setup(e,{emit:t}){const n=e,r=(0,h.DU)("checkbox"),{formItem:o}=(0,Na.j)(),{inputId:a,isLabeledByFormItem:l}=(0,Na.W)(n,{formItemContext:o}),c=async e=>{t(s.l4,e),await(0,i.nextTick)(),t("change",e)},u=(0,i.computed)({get(){return n.modelValue},set(e){c(e)}});return(0,i.provide)(Ia,{...(0,qa.A)((0,i.toRefs)(n),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:u,changeEvent:c}),(0,i.watch)((()=>n.modelValue),(()=>{n.validateEvent&&(null==o||o.validate("change").catch((e=>(0,g.U)(e))))})),(e,t)=>{var n;return(0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.tag),{id:(0,i.unref)(a),class:(0,i.normalizeClass)((0,i.unref)(r).b("group")),role:"group","aria-label":(0,i.unref)(l)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":(0,i.unref)(l)?null==(n=(0,i.unref)(o))?void 0:n.labelId:void 0},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var Ja=(0,f.A)(Ka,[["__file","checkbox-group.vue"]]);const es=(0,b.GU)(Ha,{CheckboxButton:ja,CheckboxGroup:Ja}),ts=(0,b.WM)(ja),ns=(0,b.WM)(Ja),rs=(0,l.b_)({modelValue:{type:[String,Number,Boolean],default:void 0},size:za.mU,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),os=(0,l.b_)({...rs,border:Boolean}),is={[s.l4]:e=>(0,se.Kg)(e)||(0,c.Et)(e)||(0,c.Lm)(e),[s.YU]:e=>(0,se.Kg)(e)||(0,c.Et)(e)||(0,c.Lm)(e)},as=Symbol("radioGroupKey"),ss=(e,t)=>{const n=(0,i.ref)(),r=(0,i.inject)(as,void 0),o=(0,i.computed)((()=>!!r)),a=(0,i.computed)((()=>(0,c.Xj)(e.value)?e.label:e.value)),l=(0,i.computed)({get(){return o.value?r.modelValue:e.modelValue},set(i){o.value?r.changeEvent(i):t&&t(s.l4,i),n.value.checked=e.modelValue===a.value}}),u=(0,Jn.NV)((0,i.computed)((()=>null==r?void 0:r.size))),d=(0,Jn.CB)((0,i.computed)((()=>null==r?void 0:r.disabled))),f=(0,i.ref)(!1),h=(0,i.computed)((()=>d.value||o.value&&l.value!==a.value?-1:0));return(0,La.b)({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},(0,i.computed)((()=>o.value&&(0,c.Xj)(e.value)))),{radioRef:n,isGroup:o,radioGroup:r,focus:f,size:u,disabled:d,tabIndex:h,modelValue:l,actualValue:a}},ls=(0,i.defineComponent)({name:"ElRadio"}),cs=(0,i.defineComponent)({...ls,props:os,emits:is,setup(e,{emit:t}){const n=e,r=(0,h.DU)("radio"),{radioRef:o,radioGroup:a,focus:s,size:l,disabled:c,modelValue:u,actualValue:d}=ss(n,t);function f(){(0,i.nextTick)((()=>t("change",u.value)))}return(e,t)=>{var n;return(0,i.openBlock)(),(0,i.createElementBlock)("label",{class:(0,i.normalizeClass)([(0,i.unref)(r).b(),(0,i.unref)(r).is("disabled",(0,i.unref)(c)),(0,i.unref)(r).is("focus",(0,i.unref)(s)),(0,i.unref)(r).is("bordered",e.border),(0,i.unref)(r).is("checked",(0,i.unref)(u)===(0,i.unref)(d)),(0,i.unref)(r).m((0,i.unref)(l))])},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)([(0,i.unref)(r).e("input"),(0,i.unref)(r).is("disabled",(0,i.unref)(c)),(0,i.unref)(r).is("checked",(0,i.unref)(u)===(0,i.unref)(d))])},[(0,i.withDirectives)((0,i.createElementVNode)("input",{ref_key:"radioRef",ref:o,"onUpdate:modelValue":e=>(0,i.isRef)(u)?u.value=e:null,class:(0,i.normalizeClass)((0,i.unref)(r).e("original")),value:(0,i.unref)(d),name:e.name||(null==(n=(0,i.unref)(a))?void 0:n.name),disabled:(0,i.unref)(c),checked:(0,i.unref)(u)===(0,i.unref)(d),type:"radio",onFocus:e=>s.value=!0,onBlur:e=>s.value=!1,onChange:f,onClick:(0,i.withModifiers)((()=>{}),["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","checked","onFocus","onBlur","onClick"]),[[i.vModelRadio,(0,i.unref)(u)]]),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(r).e("inner"))},null,2)],2),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(r).e("label")),onKeydown:(0,i.withModifiers)((()=>{}),["stop"])},[(0,i.renderSlot)(e.$slots,"default",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.label),1)]))],42,["onKeydown"])],2)}}});var us=(0,f.A)(cs,[["__file","radio.vue"]]);const ds=(0,l.b_)({...rs}),fs=(0,i.defineComponent)({name:"ElRadioButton"}),hs=(0,i.defineComponent)({...fs,props:ds,setup(e){const t=e,n=(0,h.DU)("radio"),{radioRef:r,focus:o,size:a,disabled:s,modelValue:l,radioGroup:c,actualValue:u}=ss(t),d=(0,i.computed)((()=>({backgroundColor:(null==c?void 0:c.fill)||"",borderColor:(null==c?void 0:c.fill)||"",boxShadow:(null==c?void 0:c.fill)?`-1px 0 0 0 ${c.fill}`:"",color:(null==c?void 0:c.textColor)||""})));return(e,t)=>{var f;return(0,i.openBlock)(),(0,i.createElementBlock)("label",{class:(0,i.normalizeClass)([(0,i.unref)(n).b("button"),(0,i.unref)(n).is("active",(0,i.unref)(l)===(0,i.unref)(u)),(0,i.unref)(n).is("disabled",(0,i.unref)(s)),(0,i.unref)(n).is("focus",(0,i.unref)(o)),(0,i.unref)(n).bm("button",(0,i.unref)(a))])},[(0,i.withDirectives)((0,i.createElementVNode)("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":e=>(0,i.isRef)(l)?l.value=e:null,class:(0,i.normalizeClass)((0,i.unref)(n).be("button","original-radio")),value:(0,i.unref)(u),type:"radio",name:e.name||(null==(f=(0,i.unref)(c))?void 0:f.name),disabled:(0,i.unref)(s),onFocus:e=>o.value=!0,onBlur:e=>o.value=!1,onClick:(0,i.withModifiers)((()=>{}),["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","onFocus","onBlur","onClick"]),[[i.vModelRadio,(0,i.unref)(l)]]),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(n).be("button","inner")),style:(0,i.normalizeStyle)((0,i.unref)(l)===(0,i.unref)(u)?(0,i.unref)(d):{}),onKeydown:(0,i.withModifiers)((()=>{}),["stop"])},[(0,i.renderSlot)(e.$slots,"default",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.label),1)]))],46,["onKeydown"])],2)}}});var ps=(0,f.A)(hs,[["__file","radio-button.vue"]]);const ms=(0,l.b_)({id:{type:String,default:void 0},size:za.mU,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},...(0,oe.l)(["ariaLabel"])}),gs=is,As=(0,i.defineComponent)({name:"ElRadioGroup"}),vs=(0,i.defineComponent)({...As,props:ms,emits:gs,setup(e,{emit:t}){const n=e,r=(0,h.DU)("radio"),o=(0,kn.Bi)(),a=(0,i.ref)(),{formItem:l}=(0,Na.j)(),{inputId:c,isLabeledByFormItem:u}=(0,Na.W)(n,{formItemContext:l});(0,i.onMounted)((()=>{const e=a.value.querySelectorAll("[type=radio]"),t=e[0];!Array.from(e).some((e=>e.checked))&&t&&(t.tabIndex=0)}));const d=(0,i.computed)((()=>n.name||o.value));return(0,i.provide)(as,(0,i.reactive)({...(0,i.toRefs)(n),changeEvent:e=>{t(s.l4,e),(0,i.nextTick)((()=>t("change",e)))},name:d})),(0,i.watch)((()=>n.modelValue),(()=>{n.validateEvent&&(null==l||l.validate("change").catch((e=>(0,g.U)(e))))})),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{id:(0,i.unref)(c),ref_key:"radioGroupRef",ref:a,class:(0,i.normalizeClass)((0,i.unref)(r).b("group")),role:"radiogroup","aria-label":(0,i.unref)(u)?void 0:e.ariaLabel||"radio-group","aria-labelledby":(0,i.unref)(u)?(0,i.unref)(l).labelId:void 0},[(0,i.renderSlot)(e.$slots,"default")],10,["id","aria-label","aria-labelledby"]))}});var ys=(0,f.A)(vs,[["__file","radio-group.vue"]]);const Os=(0,b.GU)(us,{RadioButton:ps,RadioGroup:ys}),bs=(0,b.WM)(ys),ws=(0,b.WM)(ps);var _s=(0,i.defineComponent)({name:"NodeContent",setup(){return{ns:(0,h.DU)("cascader-node")}},render(){const{ns:e}=this,{node:t,panel:n}=this.$parent,{data:r,label:o}=t,{renderLabelFn:a}=n;return(0,i.h)("span",{class:e.e("label")},a?a({node:t,data:r}):o)}});const xs=Symbol(),Ss=(0,i.defineComponent)({name:"ElCascaderNode",components:{ElCheckbox:es,ElRadio:Os,NodeContent:_s,ElIcon:_.tk,Check:j.Check,Loading:j.Loading,ArrowRight:j.ArrowRight},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=(0,i.inject)(xs),r=(0,h.DU)("cascader-node"),o=(0,i.computed)((()=>n.isHoverMenu)),a=(0,i.computed)((()=>n.config.multiple)),s=(0,i.computed)((()=>n.config.checkStrictly)),l=(0,i.computed)((()=>{var e;return null==(e=n.checkedNodes[0])?void 0:e.uid})),c=(0,i.computed)((()=>e.node.isDisabled)),u=(0,i.computed)((()=>e.node.isLeaf)),d=(0,i.computed)((()=>s.value&&!u.value||!c.value)),f=(0,i.computed)((()=>m(n.expandingNode))),p=(0,i.computed)((()=>s.value&&n.checkedNodes.some(m))),m=t=>{var n;const{level:r,uid:o}=e.node;return(null==(n=null==t?void 0:t.pathNodes[r-1])?void 0:n.uid)===o},g=()=>{f.value||n.expandNode(e.node)},A=t=>{const{node:r}=e;t!==r.checked&&n.handleCheckChange(r,t)},v=()=>{n.lazyLoad(e.node,(()=>{u.value||g()}))},y=()=>{const{node:t}=e;d.value&&!t.loading&&(t.loaded?g():v())},O=t=>{e.node.loaded?(A(t),!s.value&&g()):v()};return{panel:n,isHoverMenu:o,multiple:a,checkStrictly:s,checkedNodeId:l,isDisabled:c,isLeaf:u,expandable:d,inExpandingPath:f,inCheckedPath:p,ns:r,handleHoverExpand:e=>{o.value&&(y(),!u.value&&t("expand",e))},handleExpand:y,handleClick:()=>{o.value&&!u.value||(!u.value||c.value||s.value||a.value?y():O(!0))},handleCheck:O,handleSelectCheck:t=>{s.value?(A(t),e.node.loaded&&g()):O(t)}}}});var ks=(0,f.A)(Ss,[["render",function(e,t,n,r,o,a){const s=(0,i.resolveComponent)("el-checkbox"),l=(0,i.resolveComponent)("el-radio"),c=(0,i.resolveComponent)("check"),u=(0,i.resolveComponent)("el-icon"),d=(0,i.resolveComponent)("node-content"),f=(0,i.resolveComponent)("loading"),h=(0,i.resolveComponent)("arrow-right");return(0,i.openBlock)(),(0,i.createElementBlock)("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!e.isLeaf,"aria-owns":e.isLeaf?void 0:e.menuId,"aria-expanded":e.inExpandingPath,tabindex:e.expandable?-1:void 0,class:(0,i.normalizeClass)([e.ns.b(),e.ns.is("selectable",e.checkStrictly),e.ns.is("active",e.node.checked),e.ns.is("disabled",!e.expandable),e.inExpandingPath&&"in-active-path",e.inCheckedPath&&"in-checked-path"]),onMouseenter:e.handleHoverExpand,onFocus:e.handleHoverExpand,onClick:e.handleClick},[(0,i.createCommentVNode)(" prefix "),e.multiple?((0,i.openBlock)(),(0,i.createBlock)(s,{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:e.isDisabled,onClick:(0,i.withModifiers)((()=>{}),["stop"]),"onUpdate:modelValue":e.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onClick","onUpdate:modelValue"])):e.checkStrictly?((0,i.openBlock)(),(0,i.createBlock)(l,{key:1,"model-value":e.checkedNodeId,label:e.node.uid,disabled:e.isDisabled,"onUpdate:modelValue":e.handleSelectCheck,onClick:(0,i.withModifiers)((()=>{}),["stop"])},{default:(0,i.withCtx)((()=>[(0,i.createCommentVNode)("\n Add an empty element to avoid render label,\n do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\n "),(0,i.createElementVNode)("span")])),_:1},8,["model-value","label","disabled","onUpdate:modelValue","onClick"])):e.isLeaf&&e.node.checked?((0,i.openBlock)(),(0,i.createBlock)(u,{key:2,class:(0,i.normalizeClass)(e.ns.e("prefix"))},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(c)])),_:1},8,["class"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createCommentVNode)(" content "),(0,i.createVNode)(d),(0,i.createCommentVNode)(" postfix "),e.isLeaf?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:3},[e.node.loading?((0,i.openBlock)(),(0,i.createBlock)(u,{key:0,class:(0,i.normalizeClass)([e.ns.is("loading"),e.ns.e("postfix")])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(f)])),_:1},8,["class"])):((0,i.openBlock)(),(0,i.createBlock)(u,{key:1,class:(0,i.normalizeClass)(["arrow-right",e.ns.e("postfix")])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(h)])),_:1},8,["class"]))],64))],42,["id","aria-haspopup","aria-owns","aria-expanded","tabindex","onMouseenter","onFocus","onClick"])}],["__file","node.vue"]]);const Cs=(0,i.defineComponent)({name:"ElCascaderMenu",components:{Loading:j.Loading,ElIcon:_.tk,ElScrollbar:fe,ElCascaderNode:ks},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=(0,i.getCurrentInstance)(),n=(0,h.DU)("cascader-menu"),{t:r}=(0,wr.Ym)(),o=(0,kn.Bi)();let a=null,s=null;const l=(0,i.inject)(xs),c=(0,i.ref)(null),u=(0,i.computed)((()=>!e.nodes.length)),d=(0,i.computed)((()=>!l.initialLoaded)),f=(0,i.computed)((()=>`${o.value}-${e.index}`)),p=()=>{s&&(clearTimeout(s),s=null)},m=()=>{c.value&&(c.value.innerHTML="",p())};return{ns:n,panel:l,hoverZone:c,isEmpty:u,isLoading:d,menuId:f,t:r,handleExpand:e=>{a=e.target},handleMouseMove:e=>{if(l.isHoverMenu&&a&&c.value)if(a.contains(e.target)){p();const n=t.vnode.el,{left:r}=n.getBoundingClientRect(),{offsetWidth:o,offsetHeight:i}=n,s=e.clientX-r,l=a.offsetTop,u=l+a.offsetHeight;c.value.innerHTML=`\n <path style="pointer-events: auto;" fill="transparent" d="M${s} ${l} L${o} 0 V${l} Z" />\n <path style="pointer-events: auto;" fill="transparent" d="M${s} ${u} L${o} ${i} V${u} Z" />\n `}else s||(s=window.setTimeout(m,l.config.hoverThreshold))},clearHoverZone:m}}});var Bs=(0,f.A)(Cs,[["render",function(e,t,n,r,o,a){const s=(0,i.resolveComponent)("el-cascader-node"),l=(0,i.resolveComponent)("loading"),c=(0,i.resolveComponent)("el-icon"),u=(0,i.resolveComponent)("el-scrollbar");return(0,i.openBlock)(),(0,i.createBlock)(u,{key:e.menuId,tag:"ul",role:"menu",class:(0,i.normalizeClass)(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:(0,i.withCtx)((()=>{var t;return[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.nodes,(t=>((0,i.openBlock)(),(0,i.createBlock)(s,{key:t.uid,node:t,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"])))),128)),e.isLoading?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)(e.ns.e("empty-text"))},[(0,i.createVNode)(c,{size:"14",class:(0,i.normalizeClass)(e.ns.is("loading"))},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(l)])),_:1},8,["class"]),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.t("el.cascader.loading")),1)],2)):e.isEmpty?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)(e.ns.e("empty-text"))},[(0,i.renderSlot)(e.$slots,"empty",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.t("el.cascader.noData")),1)]))],2)):(null==(t=e.panel)?void 0:t.isHoverMenu)?((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:2},[(0,i.createCommentVNode)(" eslint-disable-next-line vue/html-self-closing "),((0,i.openBlock)(),(0,i.createElementBlock)("svg",{ref:"hoverZone",class:(0,i.normalizeClass)(e.ns.e("hover-zone"))},null,2))],2112)):(0,i.createCommentVNode)("v-if",!0)]})),_:3},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}],["__file","menu.vue"]]);const Qs=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),Ts=e=>(0,se.ZH)(e);let Es=0;class Ps{constructor(e,t,n,r=!1){this.data=e,this.config=t,this.parent=n,this.root=r,this.uid=Es++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:o,label:i,children:a}=t,s=e[a],l=(e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t})(this);this.level=r?0:n?n.level+1:1,this.value=e[o],this.label=e[i],this.pathNodes=l,this.pathValues=l.map((e=>e.value)),this.pathLabels=l.map((e=>e.label)),this.childrenData=s,this.children=(s||[]).map((e=>new Ps(e,t,this))),this.loaded=!t.lazy||this.isLeaf||!(0,c.Im)(s)}get isDisabled(){const{data:e,parent:t,config:n}=this,{disabled:r,checkStrictly:o}=n;return((0,se.Tn)(r)?r(e,this):!!e[r])||!o&&(null==t?void 0:t.isDisabled)}get isLeaf(){const{data:e,config:t,childrenData:n,loaded:r}=this,{lazy:o,leaf:i}=t,a=(0,se.Tn)(i)?i(e,this):e[i];return(0,c.b0)(a)?!(o&&!r||(0,se.cy)(n)&&n.length):!!a}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(e){const{childrenData:t,children:n}=this,r=new Ps(e,this.config,this);return(0,se.cy)(t)?t.push(e):this.childrenData=[e],n.push(r),r}calcText(e,t){const n=e?this.pathLabels.join(t):this.label;return this.text=n,n}broadcast(e,...t){const n=`onParent${Ts(e)}`;this.children.forEach((r=>{r&&(r.broadcast(e,...t),r[n]&&r[n](...t))}))}emit(e,...t){const{parent:n}=this,r=`onChild${Ts(e)}`;n&&(n[r]&&n[r](...t),n.emit(e,...t))}onParentCheck(e){this.isDisabled||this.setCheckState(e)}onChildCheck(){const{children:e}=this,t=e.filter((e=>!e.isDisabled)),n=!!t.length&&t.every((e=>e.checked));this.setCheckState(n)}setCheckState(e){const t=this.children.length,n=this.children.reduce(((e,t)=>e+(t.checked?1:t.indeterminate?.5:0)),0);this.checked=this.loaded&&this.children.filter((e=>!e.isDisabled)).every((e=>e.loaded&&e.checked))&&e,this.indeterminate=this.loaded&&n!==t&&n>0}doCheck(e){if(this.checked===e)return;const{checkStrictly:t,multiple:n}=this.config;t||!n?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check"))}}const $s=(e,t)=>e.reduce(((e,n)=>(n.isLeaf?e.push(n):(!t&&e.push(n),e=e.concat($s(n.children,t))),e)),[]);class Ms{constructor(e,t){this.config=t;const n=(e||[]).map((e=>new Ps(e,this.config)));this.nodes=n,this.allNodes=$s(n,!1),this.leafNodes=$s(n,!0)}getNodes(){return this.nodes}getFlattedNodes(e){return e?this.leafNodes:this.allNodes}appendNode(e,t){const n=t?t.appendChild(e):new Ps(e,this.config);t||this.nodes.push(n),this.appendAllNodesAndLeafNodes(n)}appendNodes(e,t){e.forEach((e=>this.appendNode(e,t)))}appendAllNodesAndLeafNodes(e){this.allNodes.push(e),e.isLeaf&&this.leafNodes.push(e),e.children&&e.children.forEach((e=>{this.appendAllNodesAndLeafNodes(e)}))}getNodeByValue(e,t=!1){return(e||0===e)&&this.getFlattedNodes(t).find((t=>Pa(t.value,e)||Pa(t.pathValues,e)))||null}getSameNode(e){return e&&this.getFlattedNodes(!1).find((({value:t,level:n})=>Pa(e.value,t)&&e.level===n))||null}}const zs=(0,l.b_)({modelValue:{type:(0,l.jq)([Number,String,Array])},options:{type:(0,l.jq)(Array),default:()=>[]},props:{type:(0,l.jq)(Object),default:()=>({})}}),Rs={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:se.tE,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},Ds=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},Is=e=>[...new Set(e)],Ns=e=>e||0===e?(0,se.cy)(e)?e:[e]:[],Ls=(0,i.defineComponent)({name:"ElCascaderPanel",components:{ElCascaderMenu:Bs},props:{...zs,border:{type:Boolean,default:!0},renderLabel:Function},emits:[s.l4,s.YU,"close","expand-change"],setup(e,{emit:t,slots:n}){let r=!1;const o=(0,h.DU)("cascader"),a=(e=>(0,i.computed)((()=>({...Rs,...e.props}))))(e);let l=null;const u=(0,i.ref)(!0),d=(0,i.ref)([]),f=(0,i.ref)(null),m=(0,i.ref)([]),g=(0,i.ref)(null),A=(0,i.ref)([]),v=(0,i.computed)((()=>"hover"===a.value.expandTrigger)),y=(0,i.computed)((()=>e.renderLabel||n.default)),O=(e,t)=>{const n=a.value;(e=e||new Ps({},n,void 0,!0)).loading=!0,n.lazyLoad(e,(n=>{const r=e,o=r.root?null:r;n&&(null==l||l.appendNodes(n,o)),r.loading=!1,r.loaded=!0,r.childrenData=r.childrenData||[],t&&t(n)}))},b=(e,n)=>{var r;const{level:o}=e,i=m.value.slice(0,o);let a;e.isLeaf?a=e.pathNodes[o-2]:(a=e,i.push(e.children)),(null==(r=g.value)?void 0:r.uid)!==(null==a?void 0:a.uid)&&(g.value=e,m.value=i,!n&&t("expand-change",(null==e?void 0:e.pathValues)||[]))},w=(e,n,o=!0)=>{const{checkStrictly:i,multiple:s}=a.value,l=A.value[0];r=!0,!s&&(null==l||l.doCheck(!1)),e.doCheck(n),k(),o&&!s&&!i&&t("close"),!o&&!s&&!i&&_(e)},_=e=>{e&&(e=e.parent,_(e),e&&b(e))},x=e=>null==l?void 0:l.getFlattedNodes(e),S=e=>{var t;return null==(t=x(e))?void 0:t.filter((e=>!1!==e.checked))},k=()=>{var e;const{checkStrictly:t,multiple:n}=a.value,r=((e,t)=>{const n=t.slice(0),r=n.map((e=>e.uid)),o=e.reduce(((e,t)=>{const o=r.indexOf(t.uid);return o>-1&&(e.push(t),n.splice(o,1),r.splice(o,1)),e}),[]);return o.push(...n),o})(A.value,S(!t)),o=r.map((e=>e.valueByOption));A.value=r,f.value=n?o:null!=(e=o[0])?e:null},C=(t=!1,n=!1)=>{const{modelValue:o}=e,{lazy:i,multiple:s,checkStrictly:c}=a.value,d=!c;if(u.value&&!r&&(n||!Pa(o,f.value)))if(i&&!t){const e=Is((h=Ns(o),null!=h&&h.length?(0,$a.A)(h,Ma):[])).map((e=>null==l?void 0:l.getNodeByValue(e))).filter((e=>!!e&&!e.loaded&&!e.loading));e.length?e.forEach((e=>{O(e,(()=>C(!1,n)))})):C(!0,n)}else{const e=s?Ns(o):[o],t=Is(e.map((e=>null==l?void 0:l.getNodeByValue(e,d))));B(t,n),f.value=pa(o)}var h},B=(e,t=!0)=>{const{checkStrictly:n}=a.value,r=A.value,o=e.filter((e=>!!e&&(n||e.isLeaf))),s=null==l?void 0:l.getSameNode(g.value),c=t&&s||o[0];c?c.pathNodes.forEach((e=>b(e,!0))):g.value=null,r.forEach((e=>e.doCheck(!1))),(0,i.reactive)(o).forEach((e=>e.doCheck(!0))),A.value=o,(0,i.nextTick)(Q)},Q=()=>{Y.oc&&d.value.forEach((e=>{const t=null==e?void 0:e.$el;if(t){const e=t.querySelector(`.${o.namespace.value}-scrollbar__wrap`),n=t.querySelector(`.${o.b("node")}.${o.is("active")}`)||t.querySelector(`.${o.b("node")}.in-active-path`);(0,p.Rt)(e,n)}}))};return(0,i.provide)(xs,(0,i.reactive)({config:a,expandingNode:g,checkedNodes:A,isHoverMenu:v,initialLoaded:u,renderLabelFn:y,lazyLoad:O,expandNode:b,handleCheckChange:w})),(0,i.watch)([a,()=>e.options],(()=>{const{options:t}=e,n=a.value;r=!1,l=new Ms(t,n),m.value=[l.getNodes()],n.lazy&&(0,c.Im)(e.options)?(u.value=!1,O(void 0,(e=>{e&&(l=new Ms(e,n),m.value=[l.getNodes()]),u.value=!0,C(!1,!0)}))):C(!1,!0)}),{deep:!0,immediate:!0}),(0,i.watch)((()=>e.modelValue),(()=>{r=!1,C()}),{deep:!0}),(0,i.watch)((()=>f.value),(n=>{Pa(n,e.modelValue)||(t(s.l4,n),t(s.YU,n))})),(0,i.onBeforeUpdate)((()=>d.value=[])),(0,i.onMounted)((()=>!(0,c.Im)(e.modelValue)&&C())),{ns:o,menuList:d,menus:m,checkedNodes:A,handleKeyDown:e=>{const t=e.target,{code:n}=e;switch(n){case Wt.R.up:case Wt.R.down:{e.preventDefault();const r=n===Wt.R.up?-1:1;(0,cn.Lw)((0,cn.rQ)(t,r,`.${o.b("node")}[tabindex="-1"]`));break}case Wt.R.left:{e.preventDefault();const n=d.value[Ds(t)-1],r=null==n?void 0:n.$el.querySelector(`.${o.b("node")}[aria-expanded="true"]`);(0,cn.Lw)(r);break}case Wt.R.right:{e.preventDefault();const n=d.value[Ds(t)+1],r=null==n?void 0:n.$el.querySelector(`.${o.b("node")}[tabindex="-1"]`);(0,cn.Lw)(r);break}case Wt.R.enter:case Wt.R.numpadEnter:(e=>{if(!e)return;const t=e.querySelector("input");t?t.click():(0,cn.xe)(e)&&e.click()})(t)}},handleCheckChange:w,getFlattedNodes:x,getCheckedNodes:S,clearCheckedNodes:()=>{A.value.forEach((e=>e.doCheck(!1))),k(),m.value=m.value.slice(0,1),g.value=null,t("expand-change",[])},calculateCheckedValue:k,scrollToExpandingNode:Q}}});var Vs=(0,f.A)(Ls,[["render",function(e,t,n,r,o,a){const s=(0,i.resolveComponent)("el-cascader-menu");return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([e.ns.b("panel"),e.ns.is("bordered",e.border)]),onKeydown:e.handleKeyDown},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.menus,((t,n)=>((0,i.openBlock)(),(0,i.createBlock)(s,{key:n,ref_for:!0,ref:t=>e.menuList[n]=t,index:n,nodes:[...t]},{empty:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"empty")])),_:2},1032,["index","nodes"])))),128))],42,["onKeydown"])}],["__file","index.vue"]]);const Us=(0,b.GU)(Vs),Fs=(0,l.b_)({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:ir.I},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),Hs={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},Ws=(0,i.defineComponent)({name:"ElTag"}),Xs=(0,i.defineComponent)({...Ws,props:Fs,emits:Hs,setup(e,{emit:t}){const n=e,r=(0,Jn.NV)(),o=(0,h.DU)("tag"),a=(0,i.computed)((()=>{const{type:e,hit:t,effect:i,closable:a,round:s}=n;return[o.b(),o.is("closable",a),o.m(e||"primary"),o.m(r.value),o.m(i),o.is("hit",t),o.is("round",s)]})),s=e=>{t("close",e)},l=e=>{t("click",e)},c=e=>{var t,n,r;(null==(r=null==(n=null==(t=null==e?void 0:e.component)?void 0:t.subTree)?void 0:n.component)?void 0:r.bum)&&(e.component.subTree.component.bum=null)};return(e,t)=>e.disableTransitions?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0,class:(0,i.normalizeClass)((0,i.unref)(a)),style:(0,i.normalizeStyle)({backgroundColor:e.color}),onClick:l},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(o).e("content"))},[(0,i.renderSlot)(e.$slots,"default")],2),e.closable?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)((0,i.unref)(o).e("close")),onClick:(0,i.withModifiers)(s,["stop"])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.Close))])),_:1},8,["class","onClick"])):(0,i.createCommentVNode)("v-if",!0)],6)):((0,i.openBlock)(),(0,i.createBlock)(i.Transition,{key:1,name:`${(0,i.unref)(o).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:c},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(a)),style:(0,i.normalizeStyle)({backgroundColor:e.color}),onClick:l},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(o).e("content"))},[(0,i.renderSlot)(e.$slots,"default")],2),e.closable?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)((0,i.unref)(o).e("close")),onClick:(0,i.withModifiers)(s,["stop"])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.Close))])),_:1},8,["class","onClick"])):(0,i.createCommentVNode)("v-if",!0)],6)])),_:3},8,["name"]))}});var js=(0,f.A)(Xs,[["__file","tag.vue"]]);const qs=(0,b.GU)(js);var Zs=n(22355);const Ys=(0,l.b_)({...zs,size:za.mU,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:(0,l.jq)(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:(0,l.jq)(Function),default:()=>!0},placement:{type:(0,l.jq)(String),values:ze,default:"bottom-start"},fallbackPlacements:{type:(0,l.jq)(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:{type:String,default:""},teleported:Ft.teleported,tagType:{...Fs.type,default:"info"},tagEffect:{...Fs.effect,default:"light"},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...Zs.bs}),Gs={[s.l4]:e=>!0,[s.YU]:e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,visibleChange:e=>(0,c.Lm)(e),expandChange:e=>!!e,removeTag:e=>!!e},Ks=new Map;if(Y.oc){let e;document.addEventListener("mousedown",(t=>e=t)),document.addEventListener("mouseup",(t=>{if(e){for(const n of Ks.values())for(const{documentHandler:r}of n)r(t,e);e=void 0}}))}function Js(e,t){let n=[];return(0,se.cy)(t.arg)?n=t.arg:(0,c.vq)(t.arg)&&n.push(t.arg),function(r,o){const i=t.instance.popperRef,a=r.target,s=null==o?void 0:o.target,l=!t||!t.instance,c=!a||!s,u=e.contains(a)||e.contains(s),d=e===a,f=n.length&&n.some((e=>null==e?void 0:e.contains(a)))||n.length&&n.includes(s),h=i&&(i.contains(a)||i.contains(s));l||c||u||d||f||h||t.value(r,o)}}const el={beforeMount(e,t){Ks.has(e)||Ks.set(e,[]),Ks.get(e).push({documentHandler:Js(e,t),bindingFn:t.value})},updated(e,t){Ks.has(e)||Ks.set(e,[]);const n=Ks.get(e),r=n.findIndex((e=>e.bindingFn===t.oldValue)),o={documentHandler:Js(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted(e){Ks.delete(e)}};var tl=n(70200);const nl=(0,i.defineComponent)({name:"ElCascader"}),rl=(0,i.defineComponent)({...nl,props:Ys,emits:Gs,setup(e,{expose:t,emit:n}){const r=e,o={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:e})=>{const{modifiersData:t,placement:n}=e;["right","left","bottom","top"].includes(n)||(t.arrow.x=35)},requires:["arrow"]}]},l=(0,i.useAttrs)();let c=0,u=0;const d=(0,h.DU)("cascader"),f=(0,h.DU)("input"),{t:p}=(0,wr.Ym)(),{form:m,formItem:A}=(0,Na.j)(),{valueOnClear:v}=(0,Zs.fQ)(r),{isComposing:y,handleComposition:O}=(0,tl.o)({afterComposition(e){var t;const n=null==(t=e.target)?void 0:t.value;_e(n)}}),b=(0,i.ref)(null),w=(0,i.ref)(null),x=(0,i.ref)(null),S=(0,i.ref)(null),k=(0,i.ref)(null),C=(0,i.ref)(!1),B=(0,i.ref)(!1),Q=(0,i.ref)(!1),T=(0,i.ref)(!1),E=(0,i.ref)(""),P=(0,i.ref)(""),$=(0,i.ref)([]),M=(0,i.ref)([]),z=(0,i.ref)([]),R=(0,i.computed)((()=>l.style)),D=(0,i.computed)((()=>r.disabled||(null==m?void 0:m.disabled))),I=(0,i.computed)((()=>r.placeholder||p("el.cascader.placeholder"))),N=(0,i.computed)((()=>P.value||$.value.length>0||y.value?"":I.value)),L=(0,Jn.NV)(),V=(0,i.computed)((()=>"small"===L.value?"small":"default")),U=(0,i.computed)((()=>!!r.props.multiple)),F=(0,i.computed)((()=>!r.filterable||U.value)),H=(0,i.computed)((()=>U.value?P.value:E.value)),W=(0,i.computed)((()=>{var e;return(null==(e=S.value)?void 0:e.checkedNodes)||[]})),Z=(0,i.computed)((()=>!(!r.clearable||D.value||Q.value||!B.value||!W.value.length))),G=(0,i.computed)((()=>{const{showAllLevels:e,separator:t}=r,n=W.value;return n.length?U.value?"":n[0].calcText(e,t):""})),K=(0,i.computed)((()=>(null==A?void 0:A.validateState)||"")),J=(0,i.computed)({get(){return pa(r.modelValue)},set(e){const t=null!=e?e:v.value;n(s.l4,t),n(s.YU,t),r.validateEvent&&(null==A||A.validate("change").catch((e=>(0,g.U)(e))))}}),ee=(0,i.computed)((()=>[d.b(),d.m(L.value),d.is("disabled",D.value),l.class])),te=(0,i.computed)((()=>[f.e("icon"),"icon-arrow-down",d.is("reverse",C.value)])),ne=(0,i.computed)((()=>d.is("focus",C.value||T.value))),re=(0,i.computed)((()=>{var e,t;return null==(t=null==(e=b.value)?void 0:e.popperRef)?void 0:t.contentRef})),oe=e=>{var t,o,a;D.value||(e=null!=e?e:!C.value)!==C.value&&(C.value=e,null==(o=null==(t=w.value)?void 0:t.input)||o.setAttribute("aria-expanded",`${e}`),e?(ie(),(0,i.nextTick)(null==(a=S.value)?void 0:a.scrollToExpandingNode)):r.filterable&&Ae(),n("visibleChange",e))},ie=()=>{(0,i.nextTick)((()=>{var e;null==(e=b.value)||e.updatePopper()}))},ae=()=>{Q.value=!1},le=e=>{const{showAllLevels:t,separator:n}=r;return{node:e,key:e.uid,text:e.calcText(t,n),hitState:!1,closable:!D.value&&!e.isDisabled,isCollapseTag:!1}},ce=e=>{var t;const r=e.node;r.doCheck(!1),null==(t=S.value)||t.calculateCheckedValue(),n("removeTag",r.valueByOption)},ue=()=>{var e,t;const{filterMethod:n,showAllLevels:o,separator:i}=r,a=null==(t=null==(e=S.value)?void 0:e.getFlattedNodes(!r.props.checkStrictly))?void 0:t.filter((e=>!e.isDisabled&&(e.calcText(o,i),n(e,H.value))));U.value&&($.value.forEach((e=>{e.hitState=!1})),M.value.forEach((e=>{e.hitState=!1}))),Q.value=!0,z.value=a,ie()},de=()=>{var e;let t;t=Q.value&&k.value?k.value.$el.querySelector(`.${d.e("suggestion-item")}`):null==(e=S.value)?void 0:e.$el.querySelector(`.${d.b("node")}[tabindex="-1"]`),t&&(t.focus(),!Q.value&&t.click())},he=()=>{var e,t;const n=null==(e=w.value)?void 0:e.input,r=x.value,o=null==(t=k.value)?void 0:t.$el;if(Y.oc&&n&&(o&&(o.querySelector(`.${d.e("suggestion-list")}`).style.minWidth=`${n.offsetWidth}px`),r)){const{offsetHeight:e}=r,t=$.value.length>0?Math.max(e,c)-2+"px":`${c}px`;n.style.height=t,ie()}},pe=e=>{ie(),n("expandChange",e)},me=e=>{if(!y.value)switch(e.code){case Wt.R.enter:case Wt.R.numpadEnter:oe();break;case Wt.R.down:oe(!0),(0,i.nextTick)(de),e.preventDefault();break;case Wt.R.esc:!0===C.value&&(e.preventDefault(),e.stopPropagation(),oe(!1));break;case Wt.R.tab:oe(!1)}},ge=()=>{var e;null==(e=S.value)||e.clearCheckedNodes(),!C.value&&r.filterable&&Ae(),oe(!1),n("clear")},Ae=()=>{const{value:e}=G;E.value=e,P.value=e},ve=e=>{const t=e.target,{code:n}=e;switch(n){case Wt.R.up:case Wt.R.down:{e.preventDefault();const r=n===Wt.R.up?-1:1;(0,cn.Lw)((0,cn.rQ)(t,r,`.${d.e("suggestion-item")}[tabindex="-1"]`));break}case Wt.R.enter:case Wt.R.numpadEnter:t.click()}},ye=()=>{const e=$.value,t=e[e.length-1];u=P.value?0:u+1,!t||!u||r.collapseTags&&e.length>1||(t.hitState?ce(t):t.hitState=!0)},Oe=e=>{const t=e.target,r=d.e("search-input");t.className===r&&(T.value=!0),n("focus",e)},be=e=>{T.value=!1,n("blur",e)},we=X((()=>{const{value:e}=H;if(!e)return;const t=r.beforeFilter(e);(0,se.yL)(t)?t.then(ue).catch((()=>{})):!1!==t?ue():ae()}),r.debounce),_e=(e,t)=>{!C.value&&oe(!0),(null==t?void 0:t.isComposing)||(e?we():ae())},xe=e=>Number.parseFloat((0,a.eU5)(f.cssVarName("input-height"),e).value)-2;return(0,i.watch)(Q,ie),(0,i.watch)([W,D,()=>r.collapseTags],(()=>{if(!U.value)return;const e=W.value,t=[],n=[];if(e.forEach((e=>n.push(le(e)))),M.value=n,e.length){e.slice(0,r.maxCollapseTags).forEach((e=>t.push(le(e))));const n=e.slice(r.maxCollapseTags),o=n.length;o&&(r.collapseTags?t.push({key:-1,text:`+ ${o}`,closable:!1,isCollapseTag:!0}):n.forEach((e=>t.push(le(e)))))}$.value=t})),(0,i.watch)($,(()=>{(0,i.nextTick)((()=>he()))})),(0,i.watch)(L,(async()=>{await(0,i.nextTick)();const e=w.value.input;c=xe(e)||c,he()})),(0,i.watch)(G,Ae,{immediate:!0}),(0,i.onMounted)((()=>{const e=w.value.input,t=xe(e);c=e.offsetHeight||t,(0,a.wYm)(e,he)})),t({getCheckedNodes:e=>{var t;return null==(t=S.value)?void 0:t.getCheckedNodes(e)},cascaderPanelRef:S,togglePopperVisible:oe,contentRef:re,presentText:G}),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Zn),{ref_key:"tooltipRef",ref:b,visible:C.value,teleported:e.teleported,"popper-class":[(0,i.unref)(d).e("dropdown"),e.popperClass],"popper-options":o,"fallback-placements":e.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:e.placement,transition:`${(0,i.unref)(d).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:e.persistent,onHide:ae},{default:(0,i.withCtx)((()=>[(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)((0,i.unref)(ee)),style:(0,i.normalizeStyle)((0,i.unref)(R)),onClick:()=>oe(!(0,i.unref)(F)||void 0),onKeydown:me,onMouseenter:e=>B.value=!0,onMouseleave:e=>B.value=!1},[(0,i.createVNode)((0,i.unref)(q.WK),{ref_key:"input",ref:w,modelValue:E.value,"onUpdate:modelValue":e=>E.value=e,placeholder:(0,i.unref)(N),readonly:(0,i.unref)(F),disabled:(0,i.unref)(D),"validate-event":!1,size:(0,i.unref)(L),class:(0,i.normalizeClass)((0,i.unref)(ne)),tabindex:(0,i.unref)(U)&&e.filterable&&!(0,i.unref)(D)?-1:void 0,onCompositionstart:(0,i.unref)(O),onCompositionupdate:(0,i.unref)(O),onCompositionend:(0,i.unref)(O),onFocus:Oe,onBlur:be,onInput:_e},(0,i.createSlots)({suffix:(0,i.withCtx)((()=>[(0,i.unref)(Z)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:"clear",class:(0,i.normalizeClass)([(0,i.unref)(f).e("icon"),"icon-circle-close"]),onClick:(0,i.withModifiers)(ge,["stop"])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.CircleClose))])),_:1},8,["class","onClick"])):((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:"arrow-down",class:(0,i.normalizeClass)((0,i.unref)(te)),onClick:(0,i.withModifiers)((e=>oe()),["stop"])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowDown))])),_:1},8,["class","onClick"]))])),_:2},[e.$slots.prefix?{name:"prefix",fn:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"prefix")]))}:void 0]),1032,["modelValue","onUpdate:modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),(0,i.unref)(U)?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,ref_key:"tagWrapper",ref:x,class:(0,i.normalizeClass)([(0,i.unref)(d).e("tags"),(0,i.unref)(d).is("validate",Boolean((0,i.unref)(K)))])},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)($.value,(t=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(qs),{key:t.key,type:e.tagType,size:(0,i.unref)(V),effect:e.tagEffect,hit:t.hitState,closable:t.closable,"disable-transitions":"",onClose:e=>ce(t)},{default:(0,i.withCtx)((()=>[!1===t.isCollapseTag?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0},(0,i.toDisplayString)(t.text),1)):((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Zn),{key:1,disabled:C.value||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(t.text),1)])),content:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(d).e("collapse-tags"))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(M.value.slice(e.maxCollapseTags),((t,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:n,class:(0,i.normalizeClass)((0,i.unref)(d).e("collapse-tag"))},[((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(qs),{key:t.key,class:"in-tooltip",type:e.tagType,size:(0,i.unref)(V),effect:e.tagEffect,hit:t.hitState,closable:t.closable,"disable-transitions":"",onClose:e=>ce(t)},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(t.text),1)])),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2)))),128))],2)])),_:2},1032,["disabled"]))])),_:2},1032,["type","size","effect","hit","closable","onClose"])))),128)),e.filterable&&!(0,i.unref)(D)?(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("input",{key:0,"onUpdate:modelValue":e=>P.value=e,type:"text",class:(0,i.normalizeClass)((0,i.unref)(d).e("search-input")),placeholder:(0,i.unref)(G)?"":(0,i.unref)(I),onInput:e=>_e(P.value,e),onClick:(0,i.withModifiers)((e=>oe(!0)),["stop"]),onKeydown:(0,i.withKeys)(ye,["delete"]),onCompositionstart:(0,i.unref)(O),onCompositionupdate:(0,i.unref)(O),onCompositionend:(0,i.unref)(O),onFocus:Oe,onBlur:be},null,42,["onUpdate:modelValue","placeholder","onInput","onClick","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend"])),[[i.vModelText,P.value]]):(0,i.createCommentVNode)("v-if",!0)],2)):(0,i.createCommentVNode)("v-if",!0)],46,["onClick","onMouseenter","onMouseleave"])),[[(0,i.unref)(el),()=>oe(!1),(0,i.unref)(re)]])])),content:(0,i.withCtx)((()=>[(0,i.withDirectives)((0,i.createVNode)((0,i.unref)(Us),{ref_key:"cascaderPanelRef",ref:S,modelValue:(0,i.unref)(J),"onUpdate:modelValue":e=>(0,i.isRef)(J)?J.value=e:null,options:e.options,props:r.props,border:!1,"render-label":e.$slots.default,onExpandChange:pe,onClose:t=>e.$nextTick((()=>oe(!1)))},{empty:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"empty")])),_:3},8,["modelValue","onUpdate:modelValue","options","props","render-label","onClose"]),[[i.vShow,!Q.value]]),e.filterable?(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(fe),{key:0,ref_key:"suggestionPanel",ref:k,tag:"ul",class:(0,i.normalizeClass)((0,i.unref)(d).e("suggestion-panel")),"view-class":(0,i.unref)(d).e("suggestion-list"),onKeydown:ve},{default:(0,i.withCtx)((()=>[z.value.length?((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,{key:0},(0,i.renderList)(z.value,(t=>((0,i.openBlock)(),(0,i.createElementBlock)("li",{key:t.uid,class:(0,i.normalizeClass)([(0,i.unref)(d).e("suggestion-item"),(0,i.unref)(d).is("checked",t.checked)]),tabindex:-1,onClick:e=>(e=>{var t,n;const{checked:r}=e;U.value?null==(t=S.value)||t.handleCheckChange(e,!r,!1):(!r&&(null==(n=S.value)||n.handleCheckChange(e,!0,!1)),oe(!1))})(t)},[(0,i.renderSlot)(e.$slots,"suggestion-item",{item:t},(()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(t.text),1),t.checked?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.Check))])),_:1})):(0,i.createCommentVNode)("v-if",!0)]))],10,["onClick"])))),128)):(0,i.renderSlot)(e.$slots,"empty",{key:1},(()=>[(0,i.createElementVNode)("li",{class:(0,i.normalizeClass)((0,i.unref)(d).e("empty-text"))},(0,i.toDisplayString)((0,i.unref)(p)("el.cascader.noMatch")),3)]))])),_:3},8,["class","view-class"])),[[i.vShow,Q.value]]):(0,i.createCommentVNode)("v-if",!0)])),_:3},8,["visible","teleported","popper-class","fallback-placements","placement","transition","persistent"]))}});var ol=(0,f.A)(rl,[["__file","cascader.vue"]]);const il=(0,b.GU)(ol),al=(0,l.b_)({checked:Boolean,disabled:Boolean,type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),sl={"update:checked":e=>(0,c.Lm)(e),[s.YU]:e=>(0,c.Lm)(e)},ll=(0,i.defineComponent)({name:"ElCheckTag"}),cl=(0,i.defineComponent)({...ll,props:al,emits:sl,setup(e,{emit:t}){const n=e,r=(0,h.DU)("check-tag"),o=(0,i.computed)((()=>n.disabled)),a=(0,i.computed)((()=>[r.b(),r.is("checked",n.checked),r.is("disabled",o.value),r.m(n.type||"primary")])),l=()=>{if(o.value)return;const e=!n.checked;t(s.YU,e),t("update:checked",e)};return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("span",{class:(0,i.normalizeClass)((0,i.unref)(a)),onClick:l},[(0,i.renderSlot)(e.$slots,"default")],2))}});var ul=(0,f.A)(cl,[["__file","check-tag.vue"]]);const dl=(0,b.GU)(ul);var fl=n(51254);const hl=(0,l.b_)({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:(0,l.jq)([Number,Object]),default:()=>(0,fl.f)({})},sm:{type:(0,l.jq)([Number,Object]),default:()=>(0,fl.f)({})},md:{type:(0,l.jq)([Number,Object]),default:()=>(0,fl.f)({})},lg:{type:(0,l.jq)([Number,Object]),default:()=>(0,fl.f)({})},xl:{type:(0,l.jq)([Number,Object]),default:()=>(0,fl.f)({})}}),pl=Symbol("rowContextKey"),ml=(0,i.defineComponent)({name:"ElCol"}),gl=(0,i.defineComponent)({...ml,props:hl,setup(e){const t=e,{gutter:n}=(0,i.inject)(pl,{gutter:(0,i.computed)((()=>0))}),r=(0,h.DU)("col"),o=(0,i.computed)((()=>{const e={};return n.value&&(e.paddingLeft=e.paddingRight=n.value/2+"px"),e})),a=(0,i.computed)((()=>{const e=[];return["span","offset","pull","push"].forEach((n=>{const o=t[n];(0,c.Et)(o)&&("span"===n?e.push(r.b(`${t[n]}`)):o>0&&e.push(r.b(`${n}-${t[n]}`)))})),["xs","sm","md","lg","xl"].forEach((n=>{(0,c.Et)(t[n])?e.push(r.b(`${n}-${t[n]}`)):(0,se.Gv)(t[n])&&Object.entries(t[n]).forEach((([t,o])=>{e.push("span"!==t?r.b(`${n}-${t}-${o}`):r.b(`${n}-${o}`))}))})),n.value&&e.push(r.is("guttered")),[r.b(),e]}));return(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.tag),{class:(0,i.normalizeClass)((0,i.unref)(a)),style:(0,i.normalizeStyle)((0,i.unref)(o))},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},8,["class","style"]))}});var Al=(0,f.A)(gl,[["__file","col.vue"]]);const vl=(0,b.GU)(Al),yl=e=>(0,c.Et)(e)||(0,se.Kg)(e)||(0,se.cy)(e),Ol=(0,l.b_)({accordion:Boolean,modelValue:{type:(0,l.jq)([Array,String,Number]),default:()=>(0,fl.f)([])}}),bl={[s.l4]:yl,[s.YU]:yl},wl=Symbol("collapseContextKey");var _l=function(){if(!arguments.length)return[];var e=arguments[0];return(0,Ro.A)(e)?e:[e]};const xl=(0,i.defineComponent)({name:"ElCollapse"}),Sl=(0,i.defineComponent)({...xl,props:Ol,emits:bl,setup(e,{expose:t,emit:n}){const r=e,{activeNames:o,setActiveNames:a}=((e,t)=>{const n=(0,i.ref)(_l(e.modelValue)),r=r=>{n.value=r;const o=e.accordion?n.value[0]:n.value;t(s.l4,o),t(s.YU,o)};return(0,i.watch)((()=>e.modelValue),(()=>n.value=_l(e.modelValue)),{deep:!0}),(0,i.provide)(wl,{activeNames:n,handleItemClick:t=>{if(e.accordion)r([n.value[0]===t?"":t]);else{const e=[...n.value],o=e.indexOf(t);o>-1?e.splice(o,1):e.push(t),r(e)}}}),{activeNames:n,setActiveNames:r}})(r,n),{rootKls:l}=(()=>{const e=(0,h.DU)("collapse");return{rootKls:(0,i.computed)((()=>e.b()))}})();return t({activeNames:o,setActiveNames:a}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)((0,i.unref)(l))},[(0,i.renderSlot)(e.$slots,"default")],2))}});var kl=(0,f.A)(Sl,[["__file","collapse.vue"]]);const Cl=(0,i.defineComponent)({name:"ElCollapseTransition"}),Bl=(0,i.defineComponent)({...Cl,setup(e){const t=(0,h.DU)("collapse-transition"),n=e=>{e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom},r={beforeEnter(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height&&(e.dataset.elExistsHeight=e.style.height),e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0},enter(e){requestAnimationFrame((()=>{e.dataset.oldOverflow=e.style.overflow,e.dataset.elExistsHeight?e.style.maxHeight=e.dataset.elExistsHeight:0!==e.scrollHeight?e.style.maxHeight=`${e.scrollHeight}px`:e.style.maxHeight=0,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom,e.style.overflow="hidden"}))},afterEnter(e){e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow},enterCancelled(e){n(e)},beforeLeave(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.maxHeight=`${e.scrollHeight}px`,e.style.overflow="hidden"},leave(e){0!==e.scrollHeight&&(e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0)},afterLeave(e){n(e)},leaveCancelled(e){n(e)}};return(e,n)=>((0,i.openBlock)(),(0,i.createBlock)(i.Transition,(0,i.mergeProps)({name:(0,i.unref)(t).b()},(0,i.toHandlers)(r)),{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},16,["name"]))}});var Ql=(0,f.A)(Bl,[["__file","collapse-transition.vue"]]);const Tl=(0,b.GU)(Ql),El=(0,l.b_)({title:{type:String,default:""},name:{type:(0,l.jq)([String,Number]),default:void 0},icon:{type:x.Ze,default:j.ArrowRight},disabled:Boolean}),Pl=(0,i.defineComponent)({name:"ElCollapseItem"}),$l=(0,i.defineComponent)({...Pl,props:El,setup(e,{expose:t}){const n=e,{focusing:r,id:o,isActive:a,handleFocus:s,handleHeaderClick:l,handleEnterClick:c}=(e=>{const t=(0,i.inject)(wl),{namespace:n}=(0,h.DU)("collapse"),r=(0,i.ref)(!1),o=(0,i.ref)(!1),a=(0,kn.Sj)(),s=(0,i.computed)((()=>a.current++)),l=(0,i.computed)((()=>{var t;return null!=(t=e.name)?t:`${n.value}-id-${a.prefix}-${(0,i.unref)(s)}`})),c=(0,i.computed)((()=>null==t?void 0:t.activeNames.value.includes((0,i.unref)(l))));return{focusing:r,id:s,isActive:c,handleFocus:()=>{setTimeout((()=>{o.value?o.value=!1:r.value=!0}),50)},handleHeaderClick:()=>{e.disabled||(null==t||t.handleItemClick((0,i.unref)(l)),r.value=!1,o.value=!0)},handleEnterClick:()=>{null==t||t.handleItemClick((0,i.unref)(l))}}})(n),{arrowKls:u,headKls:d,rootKls:f,itemWrapperKls:p,itemContentKls:m,scopedContentId:g,scopedHeadId:A}=((e,{focusing:t,isActive:n,id:r})=>{const o=(0,h.DU)("collapse"),a=(0,i.computed)((()=>[o.b("item"),o.is("active",(0,i.unref)(n)),o.is("disabled",e.disabled)])),s=(0,i.computed)((()=>[o.be("item","header"),o.is("active",(0,i.unref)(n)),{focusing:(0,i.unref)(t)&&!e.disabled}]));return{arrowKls:(0,i.computed)((()=>[o.be("item","arrow"),o.is("active",(0,i.unref)(n))])),headKls:s,rootKls:a,itemWrapperKls:(0,i.computed)((()=>o.be("item","wrap"))),itemContentKls:(0,i.computed)((()=>o.be("item","content"))),scopedContentId:(0,i.computed)((()=>o.b(`content-${(0,i.unref)(r)}`))),scopedHeadId:(0,i.computed)((()=>o.b(`head-${(0,i.unref)(r)}`)))}})(n,{focusing:r,isActive:a,id:o});return t({isActive:a}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)((0,i.unref)(f))},[(0,i.createElementVNode)("button",{id:(0,i.unref)(A),class:(0,i.normalizeClass)((0,i.unref)(d)),"aria-expanded":(0,i.unref)(a),"aria-controls":(0,i.unref)(g),"aria-describedby":(0,i.unref)(g),tabindex:e.disabled?-1:0,type:"button",onClick:(0,i.unref)(l),onKeydown:(0,i.withKeys)((0,i.withModifiers)((0,i.unref)(c),["stop","prevent"]),["space","enter"]),onFocus:(0,i.unref)(s),onBlur:e=>r.value=!1},[(0,i.renderSlot)(e.$slots,"title",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.title),1)])),(0,i.renderSlot)(e.$slots,"icon",{isActive:(0,i.unref)(a)},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),{class:(0,i.normalizeClass)((0,i.unref)(u))},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.icon)))])),_:1},8,["class"])]))],42,["id","aria-expanded","aria-controls","aria-describedby","tabindex","onClick","onKeydown","onFocus","onBlur"]),(0,i.createVNode)((0,i.unref)(Tl),null,{default:(0,i.withCtx)((()=>[(0,i.withDirectives)((0,i.createElementVNode)("div",{id:(0,i.unref)(g),role:"region",class:(0,i.normalizeClass)((0,i.unref)(p)),"aria-hidden":!(0,i.unref)(a),"aria-labelledby":(0,i.unref)(A)},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(m))},[(0,i.renderSlot)(e.$slots,"default")],2)],10,["id","aria-hidden","aria-labelledby"]),[[i.vShow,(0,i.unref)(a)]])])),_:3})],2))}});var Ml=(0,f.A)($l,[["__file","collapse-item.vue"]]);const zl=(0,b.GU)(kl,{CollapseItem:Ml}),Rl=(0,b.WM)(Ml),Dl=(0,l.b_)({color:{type:(0,l.jq)(Object),required:!0},vertical:{type:Boolean,default:!1}});let Il=!1;function Nl(e,t){if(!Y.oc)return;const n=function(e){var n;null==(n=t.drag)||n.call(t,e)},r=function(e){var o;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r),document.onselectstart=null,document.ondragstart=null,Il=!1,null==(o=t.end)||o.call(t,e)},o=function(e){var o;Il||(e.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",r),document.addEventListener("touchmove",n),document.addEventListener("touchend",r),Il=!0,null==(o=t.start)||o.call(t,e))};e.addEventListener("mousedown",o),e.addEventListener("touchstart",o,{passive:!1})}const Ll=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},Vl=(e,t)=>Math.abs(Ll(e)-Ll(t)),Ul=e=>{let t,n;return"touchend"===e.type?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},Fl=(0,i.defineComponent)({name:"ElColorAlphaSlider"}),Hl=(0,i.defineComponent)({...Fl,props:Dl,setup(e,{expose:t}){const n=e,{alpha:r,alphaLabel:o,bar:a,thumb:s,handleDrag:l,handleClick:c,handleKeydown:u}=(e=>{const t=(0,i.getCurrentInstance)(),{t:n}=(0,wr.Ym)(),r=(0,i.shallowRef)(),o=(0,i.shallowRef)(),a=(0,i.computed)((()=>e.color.get("alpha"))),s=(0,i.computed)((()=>n("el.colorpicker.alphaLabel")));function l(n){if(!o.value||!r.value)return;const i=t.vnode.el.getBoundingClientRect(),{clientX:a,clientY:s}=Ul(n);if(e.vertical){let t=s-i.top;t=Math.max(r.value.offsetHeight/2,t),t=Math.min(t,i.height-r.value.offsetHeight/2),e.color.set("alpha",Math.round((t-r.value.offsetHeight/2)/(i.height-r.value.offsetHeight)*100))}else{let t=a-i.left;t=Math.max(r.value.offsetWidth/2,t),t=Math.min(t,i.width-r.value.offsetWidth/2),e.color.set("alpha",Math.round((t-r.value.offsetWidth/2)/(i.width-r.value.offsetWidth)*100))}}function c(t){let n=a.value+t;n=n<0?0:n>100?100:n,e.color.set("alpha",n)}return{thumb:r,bar:o,alpha:a,alphaLabel:s,handleDrag:l,handleClick:function(e){var t;e.target!==r.value&&l(e),null==(t=r.value)||t.focus()},handleKeydown:function(e){const{code:t,shiftKey:n}=e,r=n?10:1;switch(t){case Wt.R.left:case Wt.R.down:e.preventDefault(),e.stopPropagation(),c(-r);break;case Wt.R.right:case Wt.R.up:e.preventDefault(),e.stopPropagation(),c(r)}}}})(n),{rootKls:d,barKls:f,barStyle:p,thumbKls:g,thumbStyle:A,update:v}=((e,{bar:t,thumb:n,handleDrag:r})=>{const o=(0,i.getCurrentInstance)(),a=(0,h.DU)("color-alpha-slider"),s=(0,i.ref)(0),l=(0,i.ref)(0),c=(0,i.ref)();function u(){s.value=function(){if(!n.value)return 0;if(e.vertical)return 0;const t=o.vnode.el,r=e.color.get("alpha");return t?Math.round(r*(t.offsetWidth-n.value.offsetWidth/2)/100):0}(),l.value=function(){if(!n.value)return 0;const t=o.vnode.el;if(!e.vertical)return 0;const r=e.color.get("alpha");return t?Math.round(r*(t.offsetHeight-n.value.offsetHeight/2)/100):0}(),c.value=function(){if(e.color&&e.color.value){const{r:t,g:n,b:r}=e.color.toRgb();return`linear-gradient(to right, rgba(${t}, ${n}, ${r}, 0) 0%, rgba(${t}, ${n}, ${r}, 1) 100%)`}return""}()}(0,i.onMounted)((()=>{if(!t.value||!n.value)return;const e={drag:e=>{r(e)},end:e=>{r(e)}};Nl(t.value,e),Nl(n.value,e),u()})),(0,i.watch)((()=>e.color.get("alpha")),(()=>u())),(0,i.watch)((()=>e.color.value),(()=>u()));const d=(0,i.computed)((()=>[a.b(),a.is("vertical",e.vertical)])),f=(0,i.computed)((()=>a.e("bar"))),p=(0,i.computed)((()=>a.e("thumb")));return{rootKls:d,barKls:f,barStyle:(0,i.computed)((()=>({background:c.value}))),thumbKls:p,thumbStyle:(0,i.computed)((()=>({left:(0,m._V)(s.value),top:(0,m._V)(l.value)}))),update:u}})(n,{bar:a,thumb:s,handleDrag:l});return t({update:v,bar:a,thumb:s}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)((0,i.unref)(d))},[(0,i.createElementVNode)("div",{ref_key:"bar",ref:a,class:(0,i.normalizeClass)((0,i.unref)(f)),style:(0,i.normalizeStyle)((0,i.unref)(p)),onClick:(0,i.unref)(c)},null,14,["onClick"]),(0,i.createElementVNode)("div",{ref_key:"thumb",ref:s,class:(0,i.normalizeClass)((0,i.unref)(g)),style:(0,i.normalizeStyle)((0,i.unref)(A)),"aria-label":(0,i.unref)(o),"aria-valuenow":(0,i.unref)(r),"aria-orientation":e.vertical?"vertical":"horizontal","aria-valuemin":"0","aria-valuemax":"100",role:"slider",tabindex:"0",onKeydown:(0,i.unref)(u)},null,46,["aria-label","aria-valuenow","aria-orientation","onKeydown"])],2))}});var Wl=(0,f.A)(Hl,[["__file","alpha-slider.vue"]]);const Xl=(0,i.defineComponent)({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(e){const t=(0,h.DU)("color-hue-slider"),n=(0,i.getCurrentInstance)(),r=(0,i.ref)(),o=(0,i.ref)(),a=(0,i.ref)(0),s=(0,i.ref)(0),l=(0,i.computed)((()=>e.color.get("hue")));function c(t){if(!o.value||!r.value)return;const i=n.vnode.el.getBoundingClientRect(),{clientX:a,clientY:s}=Ul(t);let l;if(e.vertical){let e=s-i.top;e=Math.min(e,i.height-r.value.offsetHeight/2),e=Math.max(r.value.offsetHeight/2,e),l=Math.round((e-r.value.offsetHeight/2)/(i.height-r.value.offsetHeight)*360)}else{let e=a-i.left;e=Math.min(e,i.width-r.value.offsetWidth/2),e=Math.max(r.value.offsetWidth/2,e),l=Math.round((e-r.value.offsetWidth/2)/(i.width-r.value.offsetWidth)*360)}e.color.set("hue",l)}function u(){a.value=function(){if(!r.value)return 0;const t=n.vnode.el;if(e.vertical)return 0;const o=e.color.get("hue");return t?Math.round(o*(t.offsetWidth-r.value.offsetWidth/2)/360):0}(),s.value=function(){if(!r.value)return 0;const t=n.vnode.el;if(!e.vertical)return 0;const o=e.color.get("hue");return t?Math.round(o*(t.offsetHeight-r.value.offsetHeight/2)/360):0}()}return(0,i.watch)((()=>l.value),(()=>{u()})),(0,i.onMounted)((()=>{if(!o.value||!r.value)return;const e={drag:e=>{c(e)},end:e=>{c(e)}};Nl(o.value,e),Nl(r.value,e),u()})),{bar:o,thumb:r,thumbLeft:a,thumbTop:s,hueValue:l,handleClick:function(e){e.target!==r.value&&c(e)},update:u,ns:t}}});var jl=(0,f.A)(Xl,[["render",function(e,t,n,r,o,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([e.ns.b(),e.ns.is("vertical",e.vertical)])},[(0,i.createElementVNode)("div",{ref:"bar",class:(0,i.normalizeClass)(e.ns.e("bar")),onClick:e.handleClick},null,10,["onClick"]),(0,i.createElementVNode)("div",{ref:"thumb",class:(0,i.normalizeClass)(e.ns.e("thumb")),style:(0,i.normalizeStyle)({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,6)],2)}],["__file","hue-slider.vue"]]);const ql=(0,l.b_)({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:za.mU,popperClass:{type:String,default:""},tabindex:{type:[String,Number],default:0},teleported:Ft.teleported,predefine:{type:(0,l.jq)(Array)},validateEvent:{type:Boolean,default:!0},...(0,oe.l)(["ariaLabel"])}),Zl={[s.l4]:e=>(0,se.Kg)(e)||(0,sn.A)(e),[s.YU]:e=>(0,se.Kg)(e)||(0,sn.A)(e),activeChange:e=>(0,se.Kg)(e)||(0,sn.A)(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},Yl=Symbol("colorPickerContextKey"),Gl=function(e,t,n){return[e,t*n/((e=(2-t)*n)<1?e:2-e)||0,e/2]},Kl=function(e,t){var n;n=e,(0,se.Kg)(n)&&n.includes(".")&&1===Number.parseFloat(n)&&(e="100%");const r=function(e){return(0,se.Kg)(e)&&e.includes("%")}(e);return e=Math.min(t,Math.max(0,Number.parseFloat(`${e}`))),r&&(e=Number.parseInt(""+e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/Number.parseFloat(t)},Jl={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},ec=e=>{e=Math.min(Math.round(e),255);const t=Math.floor(e/16),n=e%16;return`${Jl[t]||t}${Jl[n]||n}`},tc=function({r:e,g:t,b:n}){return Number.isNaN(+e)||Number.isNaN(+t)||Number.isNaN(+n)?"":`#${ec(e)}${ec(t)}${ec(n)}`},nc={A:10,B:11,C:12,D:13,E:14,F:15},rc=function(e){return 2===e.length?16*(nc[e[0].toUpperCase()]||+e[0])+(nc[e[1].toUpperCase()]||+e[1]):nc[e[1].toUpperCase()]||+e[1]},oc=(e,t,n)=>{e=Kl(e,255),t=Kl(t,255),n=Kl(n,255);const r=Math.max(e,t,n),o=Math.min(e,t,n);let i;const a=r,s=r-o,l=0===r?0:s/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4}i/=6}return{h:360*i,s:100*l,v:100*a}},ic=function(e,t,n){e=6*Kl(e,360),t=Kl(t,100),n=Kl(n,100);const r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6,c=[n,a,i,i,s,n][l],u=[s,n,n,a,i,i][l],d=[i,i,s,n,n,a][l];return{r:Math.round(255*c),g:Math.round(255*u),b:Math.round(255*d)}};class ac{constructor(e={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="";for(const t in e)(0,se.$3)(e,t)&&(this[t]=e[t]);e.value?this.fromString(e.value):this.doOnChange()}set(e,t){if(1!==arguments.length||"object"!=typeof e)this[`_${e}`]=t,this.doOnChange();else for(const t in e)(0,se.$3)(e,t)&&this.set(t,e[t])}get(e){return"alpha"===e?Math.floor(this[`_${e}`]):this[`_${e}`]}toRgb(){return ic(this._hue,this._saturation,this._value)}fromString(e){if(!e)return this._hue=0,this._saturation=100,this._value=100,void this.doOnChange();const t=(e,t,n)=>{this._hue=Math.max(0,Math.min(360,e)),this._saturation=Math.max(0,Math.min(100,t)),this._value=Math.max(0,Math.min(100,n)),this.doOnChange()};if(e.includes("hsl")){const n=e.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter((e=>""!==e)).map(((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10)));if(4===n.length?this._alpha=100*Number.parseFloat(n[3]):3===n.length&&(this._alpha=100),n.length>=3){const{h:e,s:r,v:o}=function(e,t,n){n/=100;let r=t/=100;const o=Math.max(n,.01);return t*=(n*=2)<=1?n:2-n,r*=o<=1?o:2-o,{h:e,s:100*(0===n?2*r/(o+r):2*t/(n+t)),v:(n+t)/2*100}}(n[0],n[1],n[2]);t(e,r,o)}}else if(e.includes("hsv")){const n=e.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter((e=>""!==e)).map(((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10)));4===n.length?this._alpha=100*Number.parseFloat(n[3]):3===n.length&&(this._alpha=100),n.length>=3&&t(n[0],n[1],n[2])}else if(e.includes("rgb")){const n=e.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter((e=>""!==e)).map(((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10)));if(4===n.length?this._alpha=100*Number.parseFloat(n[3]):3===n.length&&(this._alpha=100),n.length>=3){const{h:e,s:r,v:o}=oc(n[0],n[1],n[2]);t(e,r,o)}}else if(e.includes("#")){const n=e.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(n))return;let r,o,i;3===n.length?(r=rc(n[0]+n[0]),o=rc(n[1]+n[1]),i=rc(n[2]+n[2])):6!==n.length&&8!==n.length||(r=rc(n.slice(0,2)),o=rc(n.slice(2,4)),i=rc(n.slice(4,6))),8===n.length?this._alpha=rc(n.slice(6))/255*100:3!==n.length&&6!==n.length||(this._alpha=100);const{h:a,s:s,v:l}=oc(r,o,i);t(a,s,l)}}compare(e){return Math.abs(e._hue-this._hue)<2&&Math.abs(e._saturation-this._saturation)<1&&Math.abs(e._value-this._value)<1&&Math.abs(e._alpha-this._alpha)<1}doOnChange(){const{_hue:e,_saturation:t,_value:n,_alpha:r,format:o}=this;if(this.enableAlpha)switch(o){case"hsl":{const r=Gl(e,t/100,n/100);this.value=`hsla(${e}, ${Math.round(100*r[1])}%, ${Math.round(100*r[2])}%, ${this.get("alpha")/100})`;break}case"hsv":this.value=`hsva(${e}, ${Math.round(t)}%, ${Math.round(n)}%, ${this.get("alpha")/100})`;break;case"hex":this.value=`${tc(ic(e,t,n))}${ec(255*r/100)}`;break;default:{const{r:r,g:o,b:i}=ic(e,t,n);this.value=`rgba(${r}, ${o}, ${i}, ${this.get("alpha")/100})`}}else switch(o){case"hsl":{const r=Gl(e,t/100,n/100);this.value=`hsl(${e}, ${Math.round(100*r[1])}%, ${Math.round(100*r[2])}%)`;break}case"hsv":this.value=`hsv(${e}, ${Math.round(t)}%, ${Math.round(n)}%)`;break;case"rgb":{const{r:r,g:o,b:i}=ic(e,t,n);this.value=`rgb(${r}, ${o}, ${i})`;break}default:this.value=tc(ic(e,t,n))}}}const sc=(0,i.defineComponent)({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0},enableAlpha:{type:Boolean,required:!0}},setup(e){const t=(0,h.DU)("color-predefine"),{currentColor:n}=(0,i.inject)(Yl),r=(0,i.ref)(o(e.colors,e.color));function o(t,n){return t.map((t=>{const r=new ac;return r.enableAlpha=e.enableAlpha,r.format="rgba",r.fromString(t),r.selected=r.value===n.value,r}))}return(0,i.watch)((()=>n.value),(e=>{const t=new ac;t.fromString(e),r.value.forEach((e=>{e.selected=t.compare(e)}))})),(0,i.watchEffect)((()=>{r.value=o(e.colors,e.color)})),{rgbaColors:r,handleSelect:function(t){e.color.fromString(e.colors[t])},ns:t}}});var lc=(0,f.A)(sc,[["render",function(e,t,n,r,o,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)(e.ns.b())},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(e.ns.e("colors"))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.rgbaColors,((t,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:e.colors[n],class:(0,i.normalizeClass)([e.ns.e("color-selector"),e.ns.is("alpha",t._alpha<100),{selected:t.selected}]),onClick:t=>e.handleSelect(n)},[(0,i.createElementVNode)("div",{style:(0,i.normalizeStyle)({backgroundColor:t.value})},null,4)],10,["onClick"])))),128))],2)],2)}],["__file","predefine.vue"]]);const cc=(0,i.defineComponent)({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(e){const t=(0,h.DU)("color-svpanel"),n=(0,i.getCurrentInstance)(),r=(0,i.ref)(0),o=(0,i.ref)(0),a=(0,i.ref)("hsl(0, 100%, 50%)"),s=(0,i.computed)((()=>({hue:e.color.get("hue"),value:e.color.get("value")})));function l(){const t=e.color.get("saturation"),i=e.color.get("value"),s=n.vnode.el,{clientWidth:l,clientHeight:c}=s;o.value=t*l/100,r.value=(100-i)*c/100,a.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}function c(t){const i=n.vnode.el.getBoundingClientRect(),{clientX:a,clientY:s}=Ul(t);let l=a-i.left,c=s-i.top;l=Math.max(0,l),l=Math.min(l,i.width),c=Math.max(0,c),c=Math.min(c,i.height),o.value=l,r.value=c,e.color.set({saturation:l/i.width*100,value:100-c/i.height*100})}return(0,i.watch)((()=>s.value),(()=>{l()})),(0,i.onMounted)((()=>{Nl(n.vnode.el,{drag:e=>{c(e)},end:e=>{c(e)}}),l()})),{cursorTop:r,cursorLeft:o,background:a,colorValue:s,handleDrag:c,update:l,ns:t}}});var uc=(0,f.A)(cc,[["render",function(e,t,n,r,o,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)(e.ns.b()),style:(0,i.normalizeStyle)({backgroundColor:e.background})},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(e.ns.e("white"))},null,2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(e.ns.e("black"))},null,2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(e.ns.e("cursor")),style:(0,i.normalizeStyle)({top:e.cursorTop+"px",left:e.cursorLeft+"px"})},[(0,i.createElementVNode)("div")],6)],6)}],["__file","sv-panel.vue"]]),dc=n(53600);const fc=(0,i.defineComponent)({name:"ElColorPicker"}),hc=(0,i.defineComponent)({...fc,props:ql,emits:Zl,setup(e,{expose:t,emit:n}){const r=e,{t:o}=(0,wr.Ym)(),a=(0,h.DU)("color"),{formItem:l}=(0,Na.j)(),c=(0,Jn.NV)(),u=(0,Jn.CB)(),{inputId:d,isLabeledByFormItem:f}=(0,Na.W)(r,{formItemContext:l}),p=(0,i.ref)(),m=(0,i.ref)(),A=(0,i.ref)(),v=(0,i.ref)(),y=(0,i.ref)(),O=(0,i.ref)(),{isFocused:b,handleFocus:w,handleBlur:x}=(0,dc.K)(y,{beforeFocus(){return u.value},beforeBlur(e){var t;return null==(t=v.value)?void 0:t.isFocusInsideContent(e)},afterBlur(){z(!1),N()}});let S=!0;const k=(0,i.reactive)(new ac({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue})),C=(0,i.ref)(!1),B=(0,i.ref)(!1),Q=(0,i.ref)(""),T=(0,i.computed)((()=>r.modelValue||B.value?function(e,t){if(!(e instanceof ac))throw new TypeError("color should be instance of _color Class");const{r:n,g:r,b:o}=e.toRgb();return t?`rgba(${n}, ${r}, ${o}, ${e.get("alpha")/100})`:`rgb(${n}, ${r}, ${o})`}(k,r.showAlpha):"transparent")),E=(0,i.computed)((()=>r.modelValue||B.value?k.value:"")),P=(0,i.computed)((()=>f.value?void 0:r.ariaLabel||o("el.colorpicker.defaultLabel"))),$=(0,i.computed)((()=>f.value?null==l?void 0:l.labelId:void 0)),M=(0,i.computed)((()=>[a.b("picker"),a.is("disabled",u.value),a.bm("picker",c.value),a.is("focused",b.value)]));function z(e){C.value=e}const R=X(z,100,{leading:!0});function D(){u.value||z(!0)}function I(){R(!1),N()}function N(){(0,i.nextTick)((()=>{r.modelValue?k.fromString(r.modelValue):(k.value="",(0,i.nextTick)((()=>{B.value=!1})))}))}function L(){u.value||(C.value&&N(),R(!C.value))}function V(){k.fromString(Q.value)}function U(){const e=k.value;n(s.l4,e),n("change",e),r.validateEvent&&(null==l||l.validate("change").catch((e=>(0,g.U)(e)))),R(!1),(0,i.nextTick)((()=>{const e=new ac({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue});k.compare(e)||N()}))}function F(){R(!1),n(s.l4,null),n("change",null),null!==r.modelValue&&r.validateEvent&&(null==l||l.validate("change").catch((e=>(0,g.U)(e)))),N()}function H(){C.value&&(I(),b.value&&Y())}function W(e){e.preventDefault(),e.stopPropagation(),z(!1),N()}function Z(e){switch(e.code){case Wt.R.enter:case Wt.R.numpadEnter:case Wt.R.space:e.preventDefault(),e.stopPropagation(),D(),O.value.focus();break;case Wt.R.esc:W(e)}}function Y(){y.value.focus()}return(0,i.onMounted)((()=>{r.modelValue&&(Q.value=E.value)})),(0,i.watch)((()=>r.modelValue),(e=>{e?e&&e!==k.value&&(S=!1,k.fromString(e)):B.value=!1})),(0,i.watch)((()=>[r.colorFormat,r.showAlpha]),(()=>{k.enableAlpha=r.showAlpha,k.format=r.colorFormat||k.format,k.doOnChange(),n(s.l4,k.value)})),(0,i.watch)((()=>E.value),(e=>{Q.value=e,S&&n("activeChange",e),S=!0})),(0,i.watch)((()=>k.value),(()=>{r.modelValue||B.value||(B.value=!0)})),(0,i.watch)((()=>C.value),(()=>{(0,i.nextTick)((()=>{var e,t,n;null==(e=p.value)||e.update(),null==(t=m.value)||t.update(),null==(n=A.value)||n.update()}))})),(0,i.provide)(Yl,{currentColor:E}),t({color:k,show:D,hide:I,focus:Y,blur:function(){y.value.blur()}}),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Zn),{ref_key:"popper",ref:v,visible:C.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[(0,i.unref)(a).be("picker","panel"),(0,i.unref)(a).b("dropdown"),e.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",teleported:e.teleported,transition:`${(0,i.unref)(a).namespace.value}-zoom-in-top`,persistent:"",onHide:e=>z(!1)},{content:(0,i.withCtx)((()=>[(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("div",{onKeydown:(0,i.withKeys)(W,["esc"])},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(a).be("dropdown","main-wrapper"))},[(0,i.createVNode)(jl,{ref_key:"hue",ref:p,class:"hue-slider",color:(0,i.unref)(k),vertical:""},null,8,["color"]),(0,i.createVNode)(uc,{ref_key:"sv",ref:m,color:(0,i.unref)(k)},null,8,["color"])],2),e.showAlpha?((0,i.openBlock)(),(0,i.createBlock)(Wl,{key:0,ref_key:"alpha",ref:A,color:(0,i.unref)(k)},null,8,["color"])):(0,i.createCommentVNode)("v-if",!0),e.predefine?((0,i.openBlock)(),(0,i.createBlock)(lc,{key:1,ref:"predefine","enable-alpha":e.showAlpha,color:(0,i.unref)(k),colors:e.predefine},null,8,["enable-alpha","color","colors"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(a).be("dropdown","btns"))},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(a).be("dropdown","value"))},[(0,i.createVNode)((0,i.unref)(q.WK),{ref_key:"inputRef",ref:O,modelValue:Q.value,"onUpdate:modelValue":e=>Q.value=e,"validate-event":!1,size:"small",onKeyup:(0,i.withKeys)(V,["enter"]),onBlur:V},null,8,["modelValue","onUpdate:modelValue","onKeyup"])],2),(0,i.createVNode)((0,i.unref)(Pr.S2),{class:(0,i.normalizeClass)((0,i.unref)(a).be("dropdown","link-btn")),text:"",size:"small",onClick:F},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(o)("el.colorpicker.clear")),1)])),_:1},8,["class"]),(0,i.createVNode)((0,i.unref)(Pr.S2),{plain:"",size:"small",class:(0,i.normalizeClass)((0,i.unref)(a).be("dropdown","btn")),onClick:U},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(o)("el.colorpicker.confirm")),1)])),_:1},8,["class"])],2)],40,["onKeydown"])),[[(0,i.unref)(el),H,y.value]])])),default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",(0,i.mergeProps)({id:(0,i.unref)(d),ref_key:"triggerRef",ref:y},e.$attrs,{class:(0,i.unref)(M),role:"button","aria-label":(0,i.unref)(P),"aria-labelledby":(0,i.unref)($),"aria-description":(0,i.unref)(o)("el.colorpicker.description",{color:e.modelValue||""}),"aria-disabled":(0,i.unref)(u),tabindex:(0,i.unref)(u)?-1:e.tabindex,onKeydown:Z,onFocus:(0,i.unref)(w),onBlur:(0,i.unref)(x)}),[(0,i.unref)(u)?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(a).be("picker","mask"))},null,2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(a).be("picker","trigger")),onClick:L},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)([(0,i.unref)(a).be("picker","color"),(0,i.unref)(a).is("alpha",e.showAlpha)])},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(a).be("picker","color-inner")),style:(0,i.normalizeStyle)({backgroundColor:(0,i.unref)(T)})},[(0,i.withDirectives)((0,i.createVNode)((0,i.unref)(_.tk),{class:(0,i.normalizeClass)([(0,i.unref)(a).be("picker","icon"),(0,i.unref)(a).is("icon-arrow-down")])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowDown))])),_:1},8,["class"]),[[i.vShow,e.modelValue||B.value]]),(0,i.withDirectives)((0,i.createVNode)((0,i.unref)(_.tk),{class:(0,i.normalizeClass)([(0,i.unref)(a).be("picker","empty"),(0,i.unref)(a).is("icon-close")])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.Close))])),_:1},8,["class"]),[[i.vShow,!e.modelValue&&!B.value]])],6)],2)],2)],16,["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex","onFocus","onBlur"])])),_:1},8,["visible","popper-class","teleported","transition","onHide"]))}});var pc=(0,f.A)(hc,[["__file","color-picker.vue"]]);const mc=(0,b.GU)(pc);var gc=n(31415);const Ac=(0,b.GU)(gc.A),vc=(0,i.defineComponent)({name:"ElContainer"}),yc=(0,i.defineComponent)({...vc,props:{direction:{type:String}},setup(e){const t=e,n=(0,i.useSlots)(),r=(0,h.DU)("container"),o=(0,i.computed)((()=>"vertical"===t.direction||"horizontal"!==t.direction&&(!(!n||!n.default)&&n.default().some((e=>{const t=e.type.name;return"ElHeader"===t||"ElFooter"===t})))));return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("section",{class:(0,i.normalizeClass)([(0,i.unref)(r).b(),(0,i.unref)(r).is("vertical",(0,i.unref)(o))])},[(0,i.renderSlot)(e.$slots,"default")],2))}});var Oc=(0,f.A)(yc,[["__file","container.vue"]]);const bc=(0,i.defineComponent)({name:"ElAside"}),wc=(0,i.defineComponent)({...bc,props:{width:{type:String,default:null}},setup(e){const t=e,n=(0,h.DU)("aside"),r=(0,i.computed)((()=>t.width?n.cssVarBlock({width:t.width}):{}));return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("aside",{class:(0,i.normalizeClass)((0,i.unref)(n).b()),style:(0,i.normalizeStyle)((0,i.unref)(r))},[(0,i.renderSlot)(e.$slots,"default")],6))}});var _c=(0,f.A)(wc,[["__file","aside.vue"]]);const xc=(0,i.defineComponent)({name:"ElFooter"}),Sc=(0,i.defineComponent)({...xc,props:{height:{type:String,default:null}},setup(e){const t=e,n=(0,h.DU)("footer"),r=(0,i.computed)((()=>t.height?n.cssVarBlock({height:t.height}):{}));return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("footer",{class:(0,i.normalizeClass)((0,i.unref)(n).b()),style:(0,i.normalizeStyle)((0,i.unref)(r))},[(0,i.renderSlot)(e.$slots,"default")],6))}});var kc=(0,f.A)(Sc,[["__file","footer.vue"]]);const Cc=(0,i.defineComponent)({name:"ElHeader"}),Bc=(0,i.defineComponent)({...Cc,props:{height:{type:String,default:null}},setup(e){const t=e,n=(0,h.DU)("header"),r=(0,i.computed)((()=>t.height?n.cssVarBlock({height:t.height}):{}));return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("header",{class:(0,i.normalizeClass)((0,i.unref)(n).b()),style:(0,i.normalizeStyle)((0,i.unref)(r))},[(0,i.renderSlot)(e.$slots,"default")],6))}});var Qc=(0,f.A)(Bc,[["__file","header.vue"]]);const Tc=(0,i.defineComponent)({name:"ElMain"}),Ec=(0,i.defineComponent)({...Tc,setup(e){const t=(0,h.DU)("main");return(e,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("main",{class:(0,i.normalizeClass)((0,i.unref)(t).b())},[(0,i.renderSlot)(e.$slots,"default")],2))}});var Pc=(0,f.A)(Ec,[["__file","main.vue"]]);const $c=(0,b.GU)(Oc,{Aside:_c,Footer:kc,Header:Qc,Main:Pc}),Mc=(0,b.WM)(_c),zc=(0,b.WM)(kc),Rc=(0,b.WM)(Qc),Dc=(0,b.WM)(Pc);var Ic=n(90445),Nc=n(97375),Lc=n(8134),Vc=n(28623),Uc=n(63094),Fc=n(98867),Hc=n(8906);const Wc=Symbol(),Xc=(0,l.b_)({disabledHours:{type:(0,l.jq)(Function)},disabledMinutes:{type:(0,l.jq)(Function)},disabledSeconds:{type:(0,l.jq)(Function)}}),jc=(0,l.b_)({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),qc=(0,l.b_)({id:{type:(0,l.jq)([Array,String])},name:{type:(0,l.jq)([Array,String])},popperClass:{type:String,default:""},format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:(0,l.jq)([String,Object]),default:j.CircleClose},editable:{type:Boolean,default:!0},prefixIcon:{type:(0,l.jq)([String,Object]),default:""},size:za.mU,readonly:Boolean,disabled:Boolean,placeholder:{type:String,default:""},popperOptions:{type:(0,l.jq)(Object),default:()=>({})},modelValue:{type:(0,l.jq)([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:(0,l.jq)([Date,Array])},defaultTime:{type:(0,l.jq)([Date,Array])},isRange:Boolean,...Xc,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:(0,l.jq)([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:(0,l.jq)(String),values:ze,default:"bottom"},fallbackPlacements:{type:(0,l.jq)(Array),default:["bottom","top","right","left"]},...Zs.bs,...(0,oe.l)(["ariaLabel"]),showNow:{type:Boolean,default:!0}}),Zc=(0,l.b_)({id:{type:(0,l.jq)(Array)},name:{type:(0,l.jq)(Array)},modelValue:{type:(0,l.jq)([Array,String])},startPlaceholder:String,endPlaceholder:String}),Yc=(0,l.b_)({...qc,type:{type:(0,l.jq)(String),default:"date"}}),Gc=["date","dates","year","years","month","months","week","range"],Kc=(0,l.b_)({disabledDate:{type:(0,l.jq)(Function)},date:{type:(0,l.jq)(Object),required:!0},minDate:{type:(0,l.jq)(Object)},maxDate:{type:(0,l.jq)(Object)},parsedValue:{type:(0,l.jq)([Object,Array])},rangeState:{type:(0,l.jq)(Object),default:()=>({endDate:null,selecting:!1})}}),Jc=(0,l.b_)({type:{type:(0,l.jq)(String),required:!0,values:["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"]},dateFormat:String,timeFormat:String,showNow:{type:Boolean,default:!0}}),eu=(0,l.b_)({unlinkPanels:Boolean,parsedValue:{type:(0,l.jq)(Array)}}),tu=e=>({type:String,values:Gc,default:e}),nu=(0,l.b_)({...Jc,parsedValue:{type:(0,l.jq)([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),ru=e=>{if(!(0,se.cy)(e))return!1;const[t,n]=e;return $r.isDayjs(t)&&$r.isDayjs(n)&&$r(t).isValid()&&$r(n).isValid()&&t.isSameOrBefore(n)},ou=(e,{lang:t,unit:n,unlinkPanels:r})=>{let o;if((0,se.cy)(e)){let[o,i]=e.map((e=>$r(e).locale(t)));return r||(i=o.add(1,n)),[o,i]}return o=e?$r(e):$r(),o=o.locale(t),[o,o.add(1,n)]},iu=(e,t,n)=>{const r=$r().locale(n).startOf("month").month(t).year(e),o=r.daysInMonth();return zr(o).map((e=>r.add(e,"day").toDate()))},au=(e,t,n,r)=>{const o=$r().year(e).month(t).startOf("month"),i=iu(e,t,n).find((e=>!(null==r?void 0:r(e))));return i?$r(i).locale(n):o.locale(n)},su=(e,t,n)=>{const r=e.year();if(!(null==n?void 0:n(e.toDate())))return e.locale(t);const o=e.month();if(!iu(r,o,t).every(n))return au(r,o,t,n);for(let e=0;e<12;e++)if(!iu(r,e,t).every(n))return au(r,e,t,n);return e},lu=(e,t,n)=>{if((0,se.cy)(e))return e.map((e=>lu(e,t,n)));if("string"==typeof e){const t=$r(e);if(!t.isValid())return t}return $r(e,t).locale(n)},cu=(0,l.b_)({...Kc,cellClassName:{type:(0,l.jq)(Function)},showWeekNumber:Boolean,selectionMode:tu("date")});var uu=n(34098);const du=(e="")=>["normal","today"].includes(e),fu=(e,t)=>{const{lang:n}=(0,wr.Ym)(),r=(0,i.ref)(),o=(0,i.ref)(),a=(0,i.ref)(),s=(0,i.ref)(),l=(0,i.ref)([[],[],[],[],[],[]]);let c=!1;const u=e.date.$locale().weekStart||7,d=e.date.locale("en").localeData().weekdaysShort().map((e=>e.toLowerCase())),f=(0,i.computed)((()=>u>3?7-u:-u)),h=(0,i.computed)((()=>{const t=e.date.startOf("month");return t.subtract(t.day()||7,"day")})),p=(0,i.computed)((()=>d.concat(d).slice(u,u+7))),m=(0,i.computed)((()=>(0,uu.A)((0,i.unref)(y)).some((e=>e.isCurrent)))),g=(0,i.computed)((()=>{const t=e.date.startOf("month");return{startOfMonthDay:t.day()||7,dateCountOfMonth:t.daysInMonth(),dateCountOfLastMonth:t.subtract(1,"month").daysInMonth()}})),A=(0,i.computed)((()=>"dates"===e.selectionMode?Ns(e.parsedValue):[])),v=t=>{if("week"===e.selectionMode){const[n,r]=e.showWeekNumber?[1,7]:[0,6],o=S(t[n+1]);t[n].inRange=o,t[n].start=o,t[r].inRange=o,t[r].end=o}},y=(0,i.computed)((()=>{const{minDate:t,maxDate:r,rangeState:o,showWeekNumber:a}=e,s=(0,i.unref)(f),c=(0,i.unref)(l),u="day";let d=1;if(a)for(let e=0;e<6;e++)c[e][0]||(c[e][0]={type:"week",text:(0,i.unref)(h).add(7*e+1,u).week()});return((e,t,{columnIndexOffset:n,startDate:r,nextEndDate:o,now:i,unit:a,relativeDateGetter:s,setCellMetadata:l,setRowMetadata:c})=>{for(let u=0;u<e.row;u++){const d=t[u];for(let t=0;t<e.column;t++){let c=d[t+n];c||(c={row:u,column:t,type:"normal",inRange:!1,start:!1,end:!1});const f=s(u*e.column+t);c.dayjs=f,c.date=f.toDate(),c.timestamp=f.valueOf(),c.type="normal",c.inRange=!!(r&&f.isSameOrAfter(r,a)&&o&&f.isSameOrBefore(o,a))||!!(r&&f.isSameOrBefore(r,a)&&o&&f.isSameOrAfter(o,a)),(null==r?void 0:r.isSameOrAfter(o))?(c.start=!!o&&f.isSame(o,a),c.end=r&&f.isSame(r,a)):(c.start=!!r&&f.isSame(r,a),c.end=!!o&&f.isSame(o,a)),f.isSame(i,a)&&(c.type="today"),null==l||l(c,{rowIndex:u,columnIndex:t}),d[t+n]=c}null==c||c(d)}})({row:6,column:7},c,{startDate:t,columnIndexOffset:a?1:0,nextEndDate:o.endDate||r||o.selecting&&t||null,now:$r().locale((0,i.unref)(n)).startOf(u),unit:u,relativeDateGetter:e=>(0,i.unref)(h).add(e-s,u),setCellMetadata:(...t)=>{((t,{columnIndex:n,rowIndex:r},o)=>{const{disabledDate:a,cellClassName:s}=e,l=(0,i.unref)(A),c=((e,{count:t,rowIndex:n,columnIndex:r})=>{const{startOfMonthDay:o,dateCountOfMonth:a,dateCountOfLastMonth:s}=(0,i.unref)(g),l=(0,i.unref)(f);if(!(n>=0&&n<=1))return t<=a?e.text=t:(e.text=t-a,e.type="next-month"),!0;{const i=o+l<0?7+o+l:o+l;if(r+7*n>=i)return e.text=t,!0;e.text=s-(i-r%7)+1+7*n,e.type="prev-month"}return!1})(t,{count:o,rowIndex:r,columnIndex:n}),u=t.dayjs.toDate();return t.selected=l.find((e=>e.isSame(t.dayjs,"day"))),t.isSelected=!!t.selected,t.isCurrent=b(t),t.disabled=null==a?void 0:a(u),t.customClass=null==s?void 0:s(u),c})(...t,d)&&(d+=1)},setRowMetadata:v}),c}));(0,i.watch)((()=>e.date),(async()=>{var e;(null==(e=(0,i.unref)(r))?void 0:e.contains(document.activeElement))&&(await(0,i.nextTick)(),await O())}));const O=async()=>{var e;return null==(e=(0,i.unref)(o))?void 0:e.focus()},b=t=>"date"===e.selectionMode&&du(t.type)&&w(t,e.parsedValue),w=(t,r)=>!!r&&$r(r).locale((0,i.unref)(n)).isSame(e.date.date(Number(t.text)),"day"),_=(t,n)=>{const r=7*t+(n-(e.showWeekNumber?1:0))-(0,i.unref)(f);return(0,i.unref)(h).add(r,"day")},x=(n,r=!1)=>{const o=n.target.closest("td");if(!o)return;const a=o.parentNode.rowIndex-1,s=o.cellIndex,l=(0,i.unref)(y)[a][s];if(l.disabled||"week"===l.type)return;const c=_(a,s);switch(e.selectionMode){case"range":(n=>{e.rangeState.selecting&&e.minDate?(n>=e.minDate?t("pick",{minDate:e.minDate,maxDate:n}):t("pick",{minDate:n,maxDate:e.minDate}),t("select",!1)):(t("pick",{minDate:n,maxDate:null}),t("select",!0))})(c);break;case"date":t("pick",c,r);break;case"week":(e=>{const n=e.week(),r=`${e.year()}w${n}`;t("pick",{year:e.year(),week:n,value:r,date:e.startOf("week")})})(c);break;case"dates":((n,r)=>{const o=r?Ns(e.parsedValue).filter((e=>(null==e?void 0:e.valueOf())!==n.valueOf())):Ns(e.parsedValue).concat([n]);t("pick",o)})(c,!!l.selected)}},S=t=>{if("week"!==e.selectionMode)return!1;let n=e.date.startOf("day");if("prev-month"===t.type&&(n=n.subtract(1,"month")),"next-month"===t.type&&(n=n.add(1,"month")),n=n.date(Number.parseInt(t.text,10)),e.parsedValue&&!(0,se.cy)(e.parsedValue)){const t=(e.parsedValue.day()-u+7)%7-1;return e.parsedValue.subtract(t,"day").isSame(n,"day")}return!1};return{WEEKS:p,rows:y,tbodyRef:r,currentCellRef:o,focus:O,isCurrent:b,isWeekActive:S,isSelectedCell:e=>!(0,i.unref)(m)&&1===(null==e?void 0:e.text)&&"normal"===e.type||e.isCurrent,handlePickDate:x,handleMouseUp:e=>{e.target.closest("td")&&(c=!1)},handleMouseDown:e=>{e.target.closest("td")&&(c=!0)},handleMouseMove:n=>{var r;if(!e.rangeState.selecting)return;let o=n.target;if("SPAN"===o.tagName&&(o=null==(r=o.parentNode)?void 0:r.parentNode),"DIV"===o.tagName&&(o=o.parentNode),"TD"!==o.tagName)return;const l=o.parentNode.rowIndex-1,c=o.cellIndex;(0,i.unref)(y)[l][c].disabled||l===(0,i.unref)(a)&&c===(0,i.unref)(s)||(a.value=l,s.value=c,t("changerange",{selecting:!0,endDate:_(l,c)}))},handleFocus:t=>{c||(0,i.unref)(m)||"date"!==e.selectionMode||x(t,!0)}}},hu=(0,l.b_)({cell:{type:(0,l.jq)(Object)}});var pu=(0,i.defineComponent)({name:"ElDatePickerCell",props:hu,setup(e){const t=(0,h.DU)("date-table-cell"),{slots:n}=(0,i.inject)(Wc);return()=>{const{cell:r}=e;return(0,i.renderSlot)(n,"default",{...r},(()=>{var e;return[(0,i.createVNode)("div",{class:t.b()},[(0,i.createVNode)("span",{class:t.e("text")},[null!=(e=null==r?void 0:r.renderText)?e:null==r?void 0:r.text])])]}))}}});const mu=(0,i.defineComponent)({__name:"basic-date-table",props:cu,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const r=e,{WEEKS:o,rows:a,tbodyRef:s,currentCellRef:l,focus:c,isCurrent:u,isWeekActive:d,isSelectedCell:f,handlePickDate:p,handleMouseUp:m,handleMouseDown:g,handleMouseMove:A,handleFocus:v}=fu(r,n),{tableLabel:y,tableKls:O,weekLabel:b,getCellClasses:w,getRowKls:_,t:x}=((e,{isCurrent:t,isWeekActive:n})=>{const r=(0,h.DU)("date-table"),{t:o}=(0,wr.Ym)();return{tableKls:(0,i.computed)((()=>[r.b(),{"is-week-mode":"week"===e.selectionMode}])),tableLabel:(0,i.computed)((()=>o("el.datepicker.dateTablePrompt"))),weekLabel:(0,i.computed)((()=>o("el.datepicker.week"))),getCellClasses:n=>{const r=[];return du(n.type)&&!n.disabled?(r.push("available"),"today"===n.type&&r.push("today")):r.push(n.type),t(n)&&r.push("current"),n.inRange&&(du(n.type)||"week"===e.selectionMode)&&(r.push("in-range"),n.start&&r.push("start-date"),n.end&&r.push("end-date")),n.disabled&&r.push("disabled"),n.selected&&r.push("selected"),n.customClass&&r.push(n.customClass),r.join(" ")},getRowKls:e=>[r.e("row"),{current:n(e)}],t:o}})(r,{isCurrent:u,isWeekActive:d});return t({focus:c}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("table",{"aria-label":(0,i.unref)(y),class:(0,i.normalizeClass)((0,i.unref)(O)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:(0,i.unref)(p),onMousemove:(0,i.unref)(A),onMousedown:(0,i.withModifiers)((0,i.unref)(g),["prevent"]),onMouseup:(0,i.unref)(m)},[(0,i.createElementVNode)("tbody",{ref_key:"tbodyRef",ref:s},[(0,i.createElementVNode)("tr",null,[e.showWeekNumber?((0,i.openBlock)(),(0,i.createElementBlock)("th",{key:0,scope:"col"},(0,i.toDisplayString)((0,i.unref)(b)),1)):(0,i.createCommentVNode)("v-if",!0),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(o),((e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("th",{key:t,"aria-label":(0,i.unref)(x)("el.datepicker.weeksFull."+e),scope:"col"},(0,i.toDisplayString)((0,i.unref)(x)("el.datepicker.weeks."+e)),9,["aria-label"])))),128))]),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(a),((e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("tr",{key:t,class:(0,i.normalizeClass)((0,i.unref)(_)(e[1]))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e,((e,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("td",{key:`${t}.${n}`,ref_for:!0,ref:t=>(0,i.unref)(f)(e)&&(l.value=t),class:(0,i.normalizeClass)((0,i.unref)(w)(e)),"aria-current":e.isCurrent?"date":void 0,"aria-selected":e.isCurrent,tabindex:(0,i.unref)(f)(e)?0:-1,onFocus:(0,i.unref)(v)},[(0,i.createVNode)((0,i.unref)(pu),{cell:e},null,8,["cell"])],42,["aria-current","aria-selected","tabindex","onFocus"])))),128))],2)))),128))],512)],42,["aria-label","onClick","onMousemove","onMousedown","onMouseup"]))}});var gu=(0,f.A)(mu,[["__file","basic-date-table.vue"]]);const Au=(0,l.b_)({...Kc,selectionMode:tu("month")}),vu=(0,i.defineComponent)({__name:"basic-month-table",props:Au,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const r=e,o=(0,h.DU)("month-table"),{t:a,lang:s}=(0,wr.Ym)(),l=(0,i.ref)(),c=(0,i.ref)(),u=(0,i.ref)(r.date.locale("en").localeData().monthsShort().map((e=>e.toLowerCase()))),d=(0,i.ref)([[],[],[]]),f=(0,i.ref)(),p=(0,i.ref)(),g=(0,i.computed)((()=>{var e,t;const n=d.value,o=$r().locale(s.value).startOf("month");for(let i=0;i<3;i++){const a=n[i];for(let n=0;n<4;n++){const s=a[n]||(a[n]={row:i,column:n,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});s.type="normal";const l=4*i+n,c=r.date.startOf("year").month(l),u=r.rangeState.endDate||r.maxDate||r.rangeState.selecting&&r.minDate||null;s.inRange=!!(r.minDate&&c.isSameOrAfter(r.minDate,"month")&&u&&c.isSameOrBefore(u,"month"))||!!(r.minDate&&c.isSameOrBefore(r.minDate,"month")&&u&&c.isSameOrAfter(u,"month")),(null==(e=r.minDate)?void 0:e.isSameOrAfter(u))?(s.start=!(!u||!c.isSame(u,"month")),s.end=r.minDate&&c.isSame(r.minDate,"month")):(s.start=!(!r.minDate||!c.isSame(r.minDate,"month")),s.end=!(!u||!c.isSame(u,"month"))),o.isSame(c)&&(s.type="today"),s.text=l,s.disabled=(null==(t=r.disabledDate)?void 0:t.call(r,c.toDate()))||!1}}return n})),A=e=>{const t={},n=r.date.year(),o=new Date,i=e.text;return t.disabled=!!r.disabledDate&&iu(n,i,s.value).every(r.disabledDate),t.current=Ns(r.parsedValue).findIndex((e=>$r.isDayjs(e)&&e.year()===n&&e.month()===i))>=0,t.today=o.getFullYear()===n&&o.getMonth()===i,e.inRange&&(t["in-range"]=!0,e.start&&(t["start-date"]=!0),e.end&&(t["end-date"]=!0)),t},v=e=>{const t=r.date.year(),n=e.text;return Ns(r.date).findIndex((e=>e.year()===t&&e.month()===n))>=0},y=e=>{var t;if(!r.rangeState.selecting)return;let o=e.target;if("SPAN"===o.tagName&&(o=null==(t=o.parentNode)?void 0:t.parentNode),"DIV"===o.tagName&&(o=o.parentNode),"TD"!==o.tagName)return;const i=o.parentNode.rowIndex,a=o.cellIndex;g.value[i][a].disabled||i===f.value&&a===p.value||(f.value=i,p.value=a,n("changerange",{selecting:!0,endDate:r.date.startOf("year").month(4*i+a)}))},O=e=>{var t;const o=null==(t=e.target)?void 0:t.closest("td");if("TD"!==(null==o?void 0:o.tagName))return;if((0,m.nB)(o,"disabled"))return;const i=o.cellIndex,a=4*o.parentNode.rowIndex+i,l=r.date.startOf("year").month(a);if("months"===r.selectionMode){if("keydown"===e.type)return void n("pick",Ns(r.parsedValue),!1);const t=au(r.date.year(),a,s.value,r.disabledDate),i=(0,m.nB)(o,"current")?Ns(r.parsedValue).filter((e=>(null==e?void 0:e.year())!==t.year()||(null==e?void 0:e.month())!==t.month())):Ns(r.parsedValue).concat([$r(t)]);n("pick",i)}else"range"===r.selectionMode?r.rangeState.selecting?(r.minDate&&l>=r.minDate?n("pick",{minDate:r.minDate,maxDate:l}):n("pick",{minDate:l,maxDate:r.minDate}),n("select",!1)):(n("pick",{minDate:l,maxDate:null}),n("select",!0)):n("pick",a)};return(0,i.watch)((()=>r.date),(async()=>{var e,t;(null==(e=l.value)?void 0:e.contains(document.activeElement))&&(await(0,i.nextTick)(),null==(t=c.value)||t.focus())})),t({focus:()=>{var e;null==(e=c.value)||e.focus()}}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("table",{role:"grid","aria-label":(0,i.unref)(a)("el.datepicker.monthTablePrompt"),class:(0,i.normalizeClass)((0,i.unref)(o).b()),onClick:O,onMousemove:y},[(0,i.createElementVNode)("tbody",{ref_key:"tbodyRef",ref:l},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(g),((e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("tr",{key:t},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e,((e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("td",{key:t,ref_for:!0,ref:t=>v(e)&&(c.value=t),class:(0,i.normalizeClass)(A(e)),"aria-selected":`${v(e)}`,"aria-label":(0,i.unref)(a)("el.datepicker.month"+(+e.text+1)),tabindex:v(e)?0:-1,onKeydown:[(0,i.withKeys)((0,i.withModifiers)(O,["prevent","stop"]),["space"]),(0,i.withKeys)((0,i.withModifiers)(O,["prevent","stop"]),["enter"])]},[(0,i.createVNode)((0,i.unref)(pu),{cell:{...e,renderText:(0,i.unref)(a)("el.datepicker.months."+u.value[e.text])}},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"])))),128))])))),128))],512)],42,["aria-label"]))}});var yu=(0,f.A)(vu,[["__file","basic-month-table.vue"]]);const Ou=(0,l.b_)({...Kc,selectionMode:tu("year")}),bu=(0,i.defineComponent)({__name:"basic-year-table",props:Ou,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const r=e,o=(0,h.DU)("year-table"),{t:a,lang:s}=(0,wr.Ym)(),l=(0,i.ref)(),c=(0,i.ref)(),u=(0,i.computed)((()=>10*Math.floor(r.date.year()/10))),d=(0,i.ref)([[],[],[]]),f=(0,i.ref)(),p=(0,i.ref)(),g=(0,i.computed)((()=>{var e;const t=d.value,n=$r().locale(s.value).startOf("year");for(let o=0;o<3;o++){const i=t[o];for(let t=0;t<4&&!(4*o+t>=10);t++){let a=i[t];a||(a={row:o,column:t,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1}),a.type="normal";const s=4*o+t+u.value,l=$r().year(s),c=r.rangeState.endDate||r.maxDate||r.rangeState.selecting&&r.minDate||null;a.inRange=!!(r.minDate&&l.isSameOrAfter(r.minDate,"year")&&c&&l.isSameOrBefore(c,"year"))||!!(r.minDate&&l.isSameOrBefore(r.minDate,"year")&&c&&l.isSameOrAfter(c,"year")),(null==(e=r.minDate)?void 0:e.isSameOrAfter(c))?(a.start=!(!c||!l.isSame(c,"year")),a.end=!(!r.minDate||!l.isSame(r.minDate,"year"))):(a.start=!(!r.minDate||!l.isSame(r.minDate,"year")),a.end=!(!c||!l.isSame(c,"year"))),n.isSame(l)&&(a.type="today"),a.text=s;const d=l.toDate();a.disabled=r.disabledDate&&r.disabledDate(d)||!1,i[t]=a}}return t})),A=e=>{const t={},n=$r().locale(s.value),o=e.text;return t.disabled=!!r.disabledDate&&((e,t)=>{const n=$r(String(e)).locale(t).startOf("year"),r=n.endOf("year").dayOfYear();return zr(r).map((e=>n.add(e,"day").toDate()))})(o,s.value).every(r.disabledDate),t.today=n.year()===o,t.current=Ns(r.parsedValue).findIndex((e=>e.year()===o))>=0,e.inRange&&(t["in-range"]=!0,e.start&&(t["start-date"]=!0),e.end&&(t["end-date"]=!0)),t},v=e=>{const t=e.text;return Ns(r.date).findIndex((e=>e.year()===t))>=0},y=e=>{var t;const o=null==(t=e.target)?void 0:t.closest("td");if(!o||!o.textContent||(0,m.nB)(o,"disabled"))return;const i=o.cellIndex,a=4*o.parentNode.rowIndex+i+u.value,l=$r().year(a);if("range"===r.selectionMode)r.rangeState.selecting?(r.minDate&&l>=r.minDate?n("pick",{minDate:r.minDate,maxDate:l}):n("pick",{minDate:l,maxDate:r.minDate}),n("select",!1)):(n("pick",{minDate:l,maxDate:null}),n("select",!0));else if("years"===r.selectionMode){if("keydown"===e.type)return void n("pick",Ns(r.parsedValue),!1);const t=su(l.startOf("year"),s.value,r.disabledDate),i=(0,m.nB)(o,"current")?Ns(r.parsedValue).filter((e=>(null==e?void 0:e.year())!==a)):Ns(r.parsedValue).concat([t]);n("pick",i)}else n("pick",a)},O=e=>{var t;if(!r.rangeState.selecting)return;const o=null==(t=e.target)?void 0:t.closest("td");if(!o)return;const i=o.parentNode.rowIndex,a=o.cellIndex;g.value[i][a].disabled||i===f.value&&a===p.value||(f.value=i,p.value=a,n("changerange",{selecting:!0,endDate:$r().year(u.value).add(4*i+a,"year")}))};return(0,i.watch)((()=>r.date),(async()=>{var e,t;(null==(e=l.value)?void 0:e.contains(document.activeElement))&&(await(0,i.nextTick)(),null==(t=c.value)||t.focus())})),t({focus:()=>{var e;null==(e=c.value)||e.focus()}}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("table",{role:"grid","aria-label":(0,i.unref)(a)("el.datepicker.yearTablePrompt"),class:(0,i.normalizeClass)((0,i.unref)(o).b()),onClick:y,onMousemove:O},[(0,i.createElementVNode)("tbody",{ref_key:"tbodyRef",ref:l},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(g),((e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("tr",{key:t},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e,((e,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("td",{key:`${t}_${n}`,ref_for:!0,ref:t=>v(e)&&(c.value=t),class:(0,i.normalizeClass)(["available",A(e)]),"aria-selected":v(e),"aria-label":String(e.text),tabindex:v(e)?0:-1,onKeydown:[(0,i.withKeys)((0,i.withModifiers)(y,["prevent","stop"]),["space"]),(0,i.withKeys)((0,i.withModifiers)(y,["prevent","stop"]),["enter"])]},[(0,i.createVNode)((0,i.unref)(pu),{cell:e},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"])))),128))])))),128))],512)],42,["aria-label"]))}});var wu=(0,f.A)(bu,[["__file","basic-year-table.vue"]]);const _u=(0,l.b_)({...jc,datetimeRole:String,parsedValue:{type:(0,l.jq)(Object)}}),xu=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const r={};return{timePickerOptions:r,getAvailableTime:(r,o,i,a)=>{const s={hour:e,minute:t,second:n};let l=r;return["hour","minute","second"].forEach((e=>{if(s[e]){let t;const n=s[e];switch(e){case"minute":t=n(l.hour(),o,a);break;case"second":t=n(l.hour(),l.minute(),o,a);break;default:t=n(o,a)}if((null==t?void 0:t.length)&&!t.includes(l[e]())){const n=i?0:t.length-1;l=l[e](t[n])}}})),l},onSetOption:([e,t])=>{r[e]=t}}},Su=e=>e.map(((e,t)=>e||t)).filter((e=>!0!==e)),ku=(e,t,n)=>({getHoursList:(t,n)=>Ur(24,e&&(()=>null==e?void 0:e(t,n))),getMinutesList:(e,n,r)=>Ur(60,t&&(()=>null==t?void 0:t(e,n,r))),getSecondsList:(e,t,r,o)=>Ur(60,n&&(()=>null==n?void 0:n(e,t,r,o)))}),Cu=(e,t,n)=>{const{getHoursList:r,getMinutesList:o,getSecondsList:i}=ku(e,t,n);return{getAvailableHours:(e,t)=>Su(r(e,t)),getAvailableMinutes:(e,t,n)=>Su(o(e,t,n)),getAvailableSeconds:(e,t,n,r)=>Su(i(e,t,n,r))}},Bu=e=>{const t=(0,i.ref)(e.parsedValue);return(0,i.watch)((()=>e.visible),(n=>{n||(t.value=e.parsedValue)})),t},Qu=["hours","minutes","seconds"],Tu="HH:mm:ss",Eu="YYYY-MM-DD",Pu={date:Eu,dates:Eu,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${Eu} ${Tu}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:Eu,datetimerange:`${Eu} ${Tu}`},$u=(0,l.b_)({role:{type:String,required:!0},spinnerDate:{type:(0,l.jq)(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:(0,l.jq)(String),default:""},...Xc}),Mu=100,zu=600,Ru={beforeMount(e,t){const n=t.value,{interval:r=Mu,delay:o=zu}=(0,se.Tn)(n)?{}:n;let i,a;const s=()=>(0,se.Tn)(n)?n():n.handler(),l=()=>{a&&(clearTimeout(a),a=void 0),i&&(clearInterval(i),i=void 0)};e.addEventListener("mousedown",(e=>{0===e.button&&(l(),s(),document.addEventListener("mouseup",(()=>l()),{once:!0}),a=setTimeout((()=>{i=setInterval((()=>{s()}),r)}),o))}))}},Du=(0,i.defineComponent)({__name:"basic-time-spinner",props:$u,emits:["change","select-range","set-option"],setup(e,{emit:t}){const n=e,r=(0,i.inject)("EP_PICKER_BASE"),{isRange:o}=r.props,a=(0,h.DU)("time"),{getHoursList:s,getMinutesList:l,getSecondsList:u}=ku(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let d=!1;const f=(0,i.ref)(),p={hours:(0,i.ref)(),minutes:(0,i.ref)(),seconds:(0,i.ref)()},g=(0,i.computed)((()=>n.showSeconds?Qu:Qu.slice(0,2))),A=(0,i.computed)((()=>{const{spinnerDate:e}=n;return{hours:e.hour(),minutes:e.minute(),seconds:e.second()}})),v=(0,i.computed)((()=>{const{hours:e,minutes:t}=(0,i.unref)(A),{role:r,spinnerDate:a}=n,c=o?void 0:a;return{hours:s(r,c),minutes:l(e,r,c),seconds:u(e,t,r,c)}})),y=(0,i.computed)((()=>{const{hours:e,minutes:t,seconds:n}=(0,i.unref)(A);return{hours:Mr(e,23),minutes:Mr(t,59),seconds:Mr(n,59)}})),O=X((e=>{d=!1,x(e)}),200),b=e=>{if(!n.amPmMode)return"";let t=e<12?" am":" pm";return"A"===n.amPmMode&&(t=t.toUpperCase()),t},w=e=>{let n;switch(e){case"hours":n=[0,2];break;case"minutes":n=[3,5];break;case"seconds":n=[6,8]}const[r,o]=n;t("select-range",r,o),f.value=e},x=e=>{C(e,(0,i.unref)(A)[e])},S=()=>{x("hours"),x("minutes"),x("seconds")},k=e=>e.querySelector(`.${a.namespace.value}-scrollbar__wrap`),C=(e,t)=>{if(n.arrowControl)return;const r=(0,i.unref)(p[e]);r&&r.$el&&(k(r.$el).scrollTop=Math.max(0,t*B(e)))},B=e=>{const t=(0,i.unref)(p[e]),n=null==t?void 0:t.$el.querySelector("li");return n&&Number.parseFloat((0,m.gd)(n,"height"))||0},Q=()=>{E(1)},T=()=>{E(-1)},E=e=>{f.value||w("hours");const t=f.value,n=(0,i.unref)(A)[t],r="hours"===f.value?24:60,o=P(t,n,e,r);$(t,o),C(t,o),(0,i.nextTick)((()=>w(t)))},P=(e,t,n,r)=>{let o=(t+n+r)%r;const a=(0,i.unref)(v)[e];for(;a[o]&&o!==t;)o=(o+n+r)%r;return o},$=(e,r)=>{if((0,i.unref)(v)[e][r])return;const{hours:o,minutes:a,seconds:s}=(0,i.unref)(A);let l;switch(e){case"hours":l=n.spinnerDate.hour(r).minute(a).second(s);break;case"minutes":l=n.spinnerDate.hour(o).minute(r).second(s);break;case"seconds":l=n.spinnerDate.hour(o).minute(a).second(r)}t("change",l)},M=()=>{const e=e=>{const t=(0,i.unref)(p[e]);t&&t.$el&&(k(t.$el).onscroll=()=>{(e=>{const t=(0,i.unref)(p[e]);if(!t)return;d=!0,O(e);const n=Math.min(Math.round((k(t.$el).scrollTop-(.5*(e=>(0,i.unref)(p[e]).$el.offsetHeight)(e)-10)/B(e)+3)/B(e)),"hours"===e?23:59);$(e,n)})(e)})};e("hours"),e("minutes"),e("seconds")};return(0,i.onMounted)((()=>{(0,i.nextTick)((()=>{!n.arrowControl&&M(),S(),"start"===n.role&&w("hours")}))})),t("set-option",[`${n.role}_scrollDown`,E]),t("set-option",[`${n.role}_emitSelectRange`,w]),(0,i.watch)((()=>n.spinnerDate),(()=>{d||S()})),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(a).b("spinner"),{"has-seconds":e.showSeconds}])},[e.arrowControl?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,{key:0},(0,i.renderList)((0,i.unref)(g),(t=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(fe),{key:t,ref_for:!0,ref:e=>((e,t)=>{p[t].value=null!=e?e:void 0})(e,t),class:(0,i.normalizeClass)((0,i.unref)(a).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":(0,i.unref)(a).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:e=>w(t),onMousemove:e=>x(t)},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(v)[t],((n,r)=>((0,i.openBlock)(),(0,i.createElementBlock)("li",{key:r,class:(0,i.normalizeClass)([(0,i.unref)(a).be("spinner","item"),(0,i.unref)(a).is("active",r===(0,i.unref)(A)[t]),(0,i.unref)(a).is("disabled",n)]),onClick:e=>((e,{value:t,disabled:n})=>{n||($(e,t),w(e),C(e,t))})(t,{value:r,disabled:n})},["hours"===t?((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:0},[(0,i.createTextVNode)((0,i.toDisplayString)(("0"+(e.amPmMode?r%12||12:r)).slice(-2))+(0,i.toDisplayString)(b(r)),1)],64)):((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:1},[(0,i.createTextVNode)((0,i.toDisplayString)(("0"+r).slice(-2)),1)],64))],10,["onClick"])))),128))])),_:2},1032,["class","view-class","onMouseenter","onMousemove"])))),128)),e.arrowControl?((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,{key:1},(0,i.renderList)((0,i.unref)(g),(t=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:t,class:(0,i.normalizeClass)([(0,i.unref)(a).be("spinner","wrapper"),(0,i.unref)(a).is("arrow")]),onMouseenter:e=>w(t)},[(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{class:(0,i.normalizeClass)(["arrow-up",(0,i.unref)(a).be("spinner","arrow")])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowUp))])),_:1},8,["class"])),[[(0,i.unref)(Ru),T]]),(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{class:(0,i.normalizeClass)(["arrow-down",(0,i.unref)(a).be("spinner","arrow")])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowDown))])),_:1},8,["class"])),[[(0,i.unref)(Ru),Q]]),(0,i.createElementVNode)("ul",{class:(0,i.normalizeClass)((0,i.unref)(a).be("spinner","list"))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(y)[t],((n,r)=>((0,i.openBlock)(),(0,i.createElementBlock)("li",{key:r,class:(0,i.normalizeClass)([(0,i.unref)(a).be("spinner","item"),(0,i.unref)(a).is("active",n===(0,i.unref)(A)[t]),(0,i.unref)(a).is("disabled",(0,i.unref)(v)[t][n])])},[(0,i.unref)(c.Et)(n)?((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:0},["hours"===t?((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:0},[(0,i.createTextVNode)((0,i.toDisplayString)(("0"+(e.amPmMode?n%12||12:n)).slice(-2))+(0,i.toDisplayString)(b(n)),1)],64)):((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:1},[(0,i.createTextVNode)((0,i.toDisplayString)(("0"+n).slice(-2)),1)],64))],64)):(0,i.createCommentVNode)("v-if",!0)],2)))),128))],2)],42,["onMouseenter"])))),128)):(0,i.createCommentVNode)("v-if",!0)],2))}});var Iu=(0,f.A)(Du,[["__file","basic-time-spinner.vue"]]);const Nu=(0,i.defineComponent)({__name:"panel-time-pick",props:_u,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=(0,i.inject)("EP_PICKER_BASE"),{arrowControl:o,disabledHours:a,disabledMinutes:s,disabledSeconds:l,defaultValue:u}=r.props,{getAvailableHours:d,getAvailableMinutes:f,getAvailableSeconds:p}=Cu(a,s,l),m=(0,h.DU)("time"),{t:g,lang:A}=(0,wr.Ym)(),v=(0,i.ref)([0,2]),y=Bu(n),O=(0,i.computed)((()=>(0,c.b0)(n.actualVisible)?`${m.namespace.value}-zoom-in-top`:"")),b=(0,i.computed)((()=>n.format.includes("ss"))),w=(0,i.computed)((()=>n.format.includes("A")?"A":n.format.includes("a")?"a":"")),_=()=>{t("pick",y.value,!1)},x=e=>{if(!n.visible)return;const r=Q(e).millisecond(0);t("pick",r,!0)},S=(e,n)=>{t("select-range",e,n),v.value=[e,n]},{timePickerOptions:k,onSetOption:C,getAvailableTime:B}=xu({getAvailableHours:d,getAvailableMinutes:f,getAvailableSeconds:p}),Q=e=>B(e,n.datetimeRole||"",!0);return t("set-picker-option",["isValidValue",e=>{const t=$r(e).locale(A.value),n=Q(t);return t.isSame(n)}]),t("set-picker-option",["formatToString",e=>e?e.format(n.format):null]),t("set-picker-option",["parseUserInput",e=>e?$r(e,n.format).locale(A.value):null]),t("set-picker-option",["handleKeydownInput",e=>{const t=e.code,{left:n,right:r,up:o,down:i}=Wt.R;if([n,r].includes(t))return(e=>{const t=[0,3].concat(b.value?[6]:[]),n=["hours","minutes"].concat(b.value?["seconds"]:[]),r=(t.indexOf(v.value[0])+e+t.length)%t.length;k.start_emitSelectRange(n[r])})(t===n?-1:1),void e.preventDefault();if([o,i].includes(t)){const n=t===o?-1:1;return k.start_scrollDown(n),void e.preventDefault()}}]),t("set-picker-option",["getRangeAvailableTime",Q]),t("set-picker-option",["getDefaultValue",()=>$r(u).locale(A.value)]),(e,r)=>((0,i.openBlock)(),(0,i.createBlock)(i.Transition,{name:(0,i.unref)(O)},{default:(0,i.withCtx)((()=>[e.actualVisible||e.visible?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(m).b("panel"))},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([(0,i.unref)(m).be("panel","content"),{"has-seconds":(0,i.unref)(b)}])},[(0,i.createVNode)(Iu,{ref:"spinner",role:e.datetimeRole||"start","arrow-control":(0,i.unref)(o),"show-seconds":(0,i.unref)(b),"am-pm-mode":(0,i.unref)(w),"spinner-date":e.parsedValue,"disabled-hours":(0,i.unref)(a),"disabled-minutes":(0,i.unref)(s),"disabled-seconds":(0,i.unref)(l),onChange:x,onSetOption:(0,i.unref)(C),onSelectRange:S},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(m).be("panel","footer"))},[(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)([(0,i.unref)(m).be("panel","btn"),"cancel"]),onClick:_},(0,i.toDisplayString)((0,i.unref)(g)("el.datepicker.cancel")),3),(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)([(0,i.unref)(m).be("panel","btn"),"confirm"]),onClick:e=>((e=!1,r=!1)=>{r||t("pick",n.parsedValue,e)})()},(0,i.toDisplayString)((0,i.unref)(g)("el.datepicker.confirm")),11,["onClick"])],2)],2)):(0,i.createCommentVNode)("v-if",!0)])),_:1},8,["name"]))}});var Lu=(0,f.A)(Nu,[["__file","panel-time-pick.vue"]]);const Vu=(0,i.defineComponent)({__name:"panel-date-pick",props:nu,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=e,r=(0,h.DU)("picker-panel"),o=(0,h.DU)("date-picker"),a=(0,i.useAttrs)(),s=(0,i.useSlots)(),{t:l,lang:c}=(0,wr.Ym)(),u=(0,i.inject)("EP_PICKER_BASE"),d=(0,i.inject)(be),{shortcuts:f,disabledDate:p,cellClassName:m,defaultTime:g}=u.props,A=(0,i.toRef)(u.props,"defaultValue"),v=(0,i.ref)(),y=(0,i.ref)($r().locale(c.value)),O=(0,i.ref)(!1);let b=!1;const w=(0,i.computed)((()=>$r(g).locale(c.value))),x=(0,i.computed)((()=>y.value.month())),S=(0,i.computed)((()=>y.value.year())),k=(0,i.ref)([]),C=(0,i.ref)(null),B=(0,i.ref)(null),Q=e=>!(k.value.length>0&&(k.value,n.format,0)),T=e=>!g||ee.value||O.value||b?H.value?e.millisecond(0):e.startOf("day"):w.value.year(e.year()).month(e.month()).date(e.date()),E=(e,...n)=>{if(e)if((0,se.cy)(e)){const r=e.map(T);t("pick",r,...n)}else t("pick",T(e),...n);else t("pick",e,...n);C.value=null,B.value=null,O.value=!1,b=!1},P=async(e,t)=>{if("date"===D.value){let r=n.parsedValue?n.parsedValue.year(e.year()).month(e.month()).date(e.date()):e;Q()||(r=k.value[0][0].year(e.year()).month(e.month()).date(e.date())),y.value=r,E(r,H.value||t),"datetime"===n.type&&(await(0,i.nextTick)(),de())}else"week"===D.value?E(e.date):"dates"===D.value&&E(e,!0)},$=e=>{const t=e?"add":"subtract";y.value=y.value[t](1,"month"),pe("month")},M=e=>{const t=y.value,n=e?"add":"subtract";y.value="year"===z.value?t[n](10,"year"):t[n](1,"year"),pe("year")},z=(0,i.ref)("date"),R=(0,i.computed)((()=>{const e=l("el.datepicker.year");if("year"===z.value){const t=10*Math.floor(S.value/10);return e?`${t} ${e} - ${t+9} ${e}`:`${t} - ${t+9}`}return`${S.value} ${e}`})),D=(0,i.computed)((()=>{const{type:e}=n;return["week","month","months","year","years","dates"].includes(e)?e:"date"})),I=(0,i.computed)((()=>"dates"===D.value||"months"===D.value||"years"===D.value)),N=(0,i.computed)((()=>"date"===D.value?z.value:D.value)),L=(0,i.computed)((()=>!!f.length)),V=async(e,t)=>{"month"===D.value?(y.value=au(y.value.year(),e,c.value,p),E(y.value,!1)):"months"===D.value?E(e,null==t||t):(y.value=au(y.value.year(),e,c.value,p),z.value="date",["month","year","date","week"].includes(D.value)&&(E(y.value,!0),await(0,i.nextTick)(),de())),pe("month")},U=async(e,t)=>{if("year"===D.value){const t=y.value.startOf("year").year(e);y.value=su(t,c.value,p),E(y.value,!1)}else if("years"===D.value)E(e,null==t||t);else{const t=y.value.year(e);y.value=su(t,c.value,p),z.value="month",["month","year","date","week"].includes(D.value)&&(E(y.value,!0),await(0,i.nextTick)(),de())}pe("year")},F=async e=>{z.value=e,await(0,i.nextTick)(),de()},H=(0,i.computed)((()=>"datetime"===n.type||"datetimerange"===n.type)),W=(0,i.computed)((()=>{const e=H.value||"dates"===D.value,t="years"===D.value,n="months"===D.value,r="date"===z.value,o="year"===z.value,i="month"===z.value;return e&&r||t&&o||n&&i})),X=(0,i.computed)((()=>!!p&&(!n.parsedValue||((0,se.cy)(n.parsedValue)?p(n.parsedValue[0].toDate()):p(n.parsedValue.toDate()))))),Z=()=>{if(I.value)E(n.parsedValue);else{let e=n.parsedValue;if(!e){const t=$r(g).locale(c.value),n=ue();e=t.year(n.year()).month(n.month()).date(n.date())}y.value=e,E(e)}},Y=(0,i.computed)((()=>!!p&&p($r().locale(c.value).toDate()))),G=()=>{const e=$r().locale(c.value).toDate();O.value=!0,p&&p(e)||!Q()||(y.value=$r().locale(c.value),E(y.value))},K=(0,i.computed)((()=>n.timeFormat||Dr(n.format))),J=(0,i.computed)((()=>n.dateFormat||Rr(n.format))),ee=(0,i.computed)((()=>B.value?B.value:n.parsedValue||A.value?(n.parsedValue||y.value).format(K.value):void 0)),te=(0,i.computed)((()=>C.value?C.value:n.parsedValue||A.value?(n.parsedValue||y.value).format(J.value):void 0)),ne=(0,i.ref)(!1),re=()=>{ne.value=!0},oe=()=>{ne.value=!1},ie=e=>({hour:e.hour(),minute:e.minute(),second:e.second(),year:e.year(),month:e.month(),date:e.date()}),ae=(e,t,r)=>{const{hour:o,minute:i,second:a}=ie(e),s=n.parsedValue?n.parsedValue.hour(o).minute(i).second(a):e;y.value=s,E(y.value,!0),r||(ne.value=t)},le=e=>{const t=$r(e,K.value).locale(c.value);if(t.isValid()&&Q()){const{year:e,month:n,date:r}=ie(y.value);y.value=t.year(e).month(n).date(r),B.value=null,ne.value=!1,E(y.value,!0)}},ce=e=>{const t=lu(e,J.value,c.value);if(t.isValid()){if(p&&p(t.toDate()))return;const{hour:e,minute:n,second:r}=ie(y.value);y.value=t.hour(e).minute(n).second(r),C.value=null,E(y.value,!0)}},ue=()=>{const e=$r(A.value).locale(c.value);if(!A.value){const e=w.value;return $r().hour(e.hour()).minute(e.minute()).second(e.second()).locale(c.value)}return e},de=()=>{var e;["week","month","year","date"].includes(D.value)&&(null==(e=v.value)||e.focus())},fe=e=>{const{code:t}=e;[Wt.R.up,Wt.R.down,Wt.R.left,Wt.R.right,Wt.R.home,Wt.R.end,Wt.R.pageUp,Wt.R.pageDown].includes(t)&&(he(t),e.stopPropagation(),e.preventDefault()),[Wt.R.enter,Wt.R.space,Wt.R.numpadEnter].includes(t)&&null===C.value&&null===B.value&&(e.preventDefault(),E(y.value,!1))},he=e=>{var n;const{up:r,down:o,left:i,right:a,home:s,end:l,pageUp:u,pageDown:d}=Wt.R,f={year:{[r]:-4,[o]:4,[i]:-1,[a]:1,offset:(e,t)=>e.setFullYear(e.getFullYear()+t)},month:{[r]:-4,[o]:4,[i]:-1,[a]:1,offset:(e,t)=>e.setMonth(e.getMonth()+t)},week:{[r]:-1,[o]:1,[i]:-1,[a]:1,offset:(e,t)=>e.setDate(e.getDate()+7*t)},date:{[r]:-7,[o]:7,[i]:-1,[a]:1,[s]:e=>-e.getDay(),[l]:e=>6-e.getDay(),[u]:e=>-new Date(e.getFullYear(),e.getMonth(),0).getDate(),[d]:e=>new Date(e.getFullYear(),e.getMonth()+1,0).getDate(),offset:(e,t)=>e.setDate(e.getDate()+t)}},h=y.value.toDate();for(;Math.abs(y.value.diff(h,"year",!0))<1;){const r=f[N.value];if(!r)return;if(r.offset(h,(0,se.Tn)(r[e])?r[e](h):null!=(n=r[e])?n:0),p&&p(h))break;const o=$r(h).locale(c.value);y.value=o,t("pick",o,!0);break}},pe=e=>{t("panel-change",y.value.toDate(),e,z.value)};return(0,i.watch)((()=>D.value),(e=>{["month","year"].includes(e)?z.value=e:z.value="years"!==e?"months"!==e?"date":"month":"year"}),{immediate:!0}),(0,i.watch)((()=>z.value),(()=>{null==d||d.updatePopper()})),(0,i.watch)((()=>A.value),(e=>{e&&(y.value=ue())}),{immediate:!0}),(0,i.watch)((()=>n.parsedValue),(e=>{if(e){if(I.value)return;if((0,se.cy)(e))return;y.value=e}else y.value=ue()}),{immediate:!0}),t("set-picker-option",["isValidValue",e=>$r.isDayjs(e)&&e.isValid()&&(!p||!p(e.toDate()))]),t("set-picker-option",["formatToString",e=>(0,se.cy)(e)?e.map((e=>e.format(n.format))):e.format(n.format)]),t("set-picker-option",["parseUserInput",e=>lu(e,n.format,c.value)]),t("set-picker-option",["handleFocusPicker",()=>{de(),"week"===D.value&&he(Wt.R.down)}]),(e,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(r).b(),(0,i.unref)(o).b(),{"has-sidebar":e.$slots.sidebar||(0,i.unref)(L),"has-time":(0,i.unref)(H)}])},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).e("body-wrapper"))},[(0,i.renderSlot)(e.$slots,"sidebar",{class:(0,i.normalizeClass)((0,i.unref)(r).e("sidebar"))}),(0,i.unref)(L)?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(r).e("sidebar"))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(f),((e,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:n,type:"button",class:(0,i.normalizeClass)((0,i.unref)(r).e("shortcut")),onClick:n=>(e=>{const n=(0,se.Tn)(e.value)?e.value():e.value;if(n)return b=!0,void E($r(n).locale(c.value));e.onClick&&e.onClick({attrs:a,slots:s,emit:t})})(e)},(0,i.toDisplayString)(e.text),11,["onClick"])))),128))],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).e("body"))},[(0,i.unref)(H)?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(o).e("time-header"))},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(o).e("editor-wrap"))},[(0,i.createVNode)((0,i.unref)(q.WK),{placeholder:(0,i.unref)(l)("el.datepicker.selectDate"),"model-value":(0,i.unref)(te),size:"small","validate-event":!1,onInput:e=>C.value=e,onChange:ce},null,8,["placeholder","model-value","onInput"])],2),(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("span",{class:(0,i.normalizeClass)((0,i.unref)(o).e("editor-wrap"))},[(0,i.createVNode)((0,i.unref)(q.WK),{placeholder:(0,i.unref)(l)("el.datepicker.selectTime"),"model-value":(0,i.unref)(ee),size:"small","validate-event":!1,onFocus:re,onInput:e=>B.value=e,onChange:le},null,8,["placeholder","model-value","onInput"]),(0,i.createVNode)((0,i.unref)(Lu),{visible:ne.value,format:(0,i.unref)(K),"parsed-value":y.value,onPick:ae},null,8,["visible","format","parsed-value"])],2)),[[(0,i.unref)(el),oe]])],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.withDirectives)((0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([(0,i.unref)(o).e("header"),("year"===z.value||"month"===z.value)&&(0,i.unref)(o).e("header--bordered")])},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(o).e("prev-btn"))},[(0,i.createElementVNode)("button",{type:"button","aria-label":(0,i.unref)(l)("el.datepicker.prevYear"),class:(0,i.normalizeClass)(["d-arrow-left",(0,i.unref)(r).e("icon-btn")]),onClick:e=>M(!1)},[(0,i.renderSlot)(e.$slots,"prev-year",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.DArrowLeft))])),_:1})]))],10,["aria-label","onClick"]),(0,i.withDirectives)((0,i.createElementVNode)("button",{type:"button","aria-label":(0,i.unref)(l)("el.datepicker.prevMonth"),class:(0,i.normalizeClass)([(0,i.unref)(r).e("icon-btn"),"arrow-left"]),onClick:e=>$(!1)},[(0,i.renderSlot)(e.$slots,"prev-month",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowLeft))])),_:1})]))],10,["aria-label","onClick"]),[[i.vShow,"date"===z.value]])],2),(0,i.createElementVNode)("span",{role:"button",class:(0,i.normalizeClass)((0,i.unref)(o).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:(0,i.withKeys)((e=>F("year")),["enter"]),onClick:e=>F("year")},(0,i.toDisplayString)((0,i.unref)(R)),43,["onKeydown","onClick"]),(0,i.withDirectives)((0,i.createElementVNode)("span",{role:"button","aria-live":"polite",tabindex:"0",class:(0,i.normalizeClass)([(0,i.unref)(o).e("header-label"),{active:"month"===z.value}]),onKeydown:(0,i.withKeys)((e=>F("month")),["enter"]),onClick:e=>F("month")},(0,i.toDisplayString)((0,i.unref)(l)(`el.datepicker.month${(0,i.unref)(x)+1}`)),43,["onKeydown","onClick"]),[[i.vShow,"date"===z.value]]),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(o).e("next-btn"))},[(0,i.withDirectives)((0,i.createElementVNode)("button",{type:"button","aria-label":(0,i.unref)(l)("el.datepicker.nextMonth"),class:(0,i.normalizeClass)([(0,i.unref)(r).e("icon-btn"),"arrow-right"]),onClick:e=>$(!0)},[(0,i.renderSlot)(e.$slots,"next-month",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowRight))])),_:1})]))],10,["aria-label","onClick"]),[[i.vShow,"date"===z.value]]),(0,i.createElementVNode)("button",{type:"button","aria-label":(0,i.unref)(l)("el.datepicker.nextYear"),class:(0,i.normalizeClass)([(0,i.unref)(r).e("icon-btn"),"d-arrow-right"]),onClick:e=>M(!0)},[(0,i.renderSlot)(e.$slots,"next-year",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.DArrowRight))])),_:1})]))],10,["aria-label","onClick"])],2)],2),[[i.vShow,"time"!==z.value]]),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).e("content")),onKeydown:fe},["date"===z.value?((0,i.openBlock)(),(0,i.createBlock)(gu,{key:0,ref_key:"currentViewRef",ref:v,"selection-mode":(0,i.unref)(D),date:y.value,"parsed-value":e.parsedValue,"disabled-date":(0,i.unref)(p),"cell-class-name":(0,i.unref)(m),onPick:P},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):(0,i.createCommentVNode)("v-if",!0),"year"===z.value?((0,i.openBlock)(),(0,i.createBlock)(wu,{key:1,ref_key:"currentViewRef",ref:v,"selection-mode":(0,i.unref)(D),date:y.value,"disabled-date":(0,i.unref)(p),"parsed-value":e.parsedValue,onPick:U},null,8,["selection-mode","date","disabled-date","parsed-value"])):(0,i.createCommentVNode)("v-if",!0),"month"===z.value?((0,i.openBlock)(),(0,i.createBlock)(yu,{key:2,ref_key:"currentViewRef",ref:v,"selection-mode":(0,i.unref)(D),date:y.value,"parsed-value":e.parsedValue,"disabled-date":(0,i.unref)(p),onPick:V},null,8,["selection-mode","date","parsed-value","disabled-date"])):(0,i.createCommentVNode)("v-if",!0)],34)],2)],2),(0,i.withDirectives)((0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).e("footer"))},[(0,i.withDirectives)((0,i.createVNode)((0,i.unref)(Pr.S2),{text:"",size:"small",class:(0,i.normalizeClass)((0,i.unref)(r).e("link-btn")),disabled:(0,i.unref)(Y),onClick:G},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(l)("el.datepicker.now")),1)])),_:1},8,["class","disabled"]),[[i.vShow,!(0,i.unref)(I)&&e.showNow]]),(0,i.createVNode)((0,i.unref)(Pr.S2),{plain:"",size:"small",class:(0,i.normalizeClass)((0,i.unref)(r).e("link-btn")),disabled:(0,i.unref)(X),onClick:Z},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(l)("el.datepicker.confirm")),1)])),_:1},8,["class","disabled"])],2),[[i.vShow,(0,i.unref)(W)]])],2))}});var Uu=(0,f.A)(Vu,[["__file","panel-date-pick.vue"]]);const Fu=(0,l.b_)({...Jc,...eu,visible:Boolean}),Hu=e=>{const{emit:t}=(0,i.getCurrentInstance)(),n=(0,i.useAttrs)(),r=(0,i.useSlots)();return o=>{const i=(0,se.Tn)(o.value)?o.value():o.value;i?t("pick",[$r(i[0]).locale(e.value),$r(i[1]).locale(e.value)]):o.onClick&&o.onClick({attrs:n,slots:r,emit:t})}},Wu=(e,{defaultValue:t,leftDate:n,rightDate:r,unit:o,onParsedValueChanged:a})=>{const{emit:s}=(0,i.getCurrentInstance)(),{pickerNs:l}=(0,i.inject)(Wc),c=(0,h.DU)("date-range-picker"),{t:u,lang:d}=(0,wr.Ym)(),f=Hu(d),p=(0,i.ref)(),m=(0,i.ref)(),g=(0,i.ref)({endDate:null,selecting:!1}),A=e=>{if((0,se.cy)(e)&&2===e.length){const[t,r]=e;p.value=t,n.value=t,m.value=r,a((0,i.unref)(p),(0,i.unref)(m))}else v()},v=()=>{const[a,s]=ou((0,i.unref)(t),{lang:(0,i.unref)(d),unit:o,unlinkPanels:e.unlinkPanels});p.value=void 0,m.value=void 0,n.value=a,r.value=s};return(0,i.watch)(t,(e=>{e&&v()}),{immediate:!0}),(0,i.watch)((()=>e.parsedValue),A,{immediate:!0}),{minDate:p,maxDate:m,rangeState:g,lang:d,ppNs:l,drpNs:c,handleChangeRange:e=>{g.value=e},handleRangeConfirm:(e=!1)=>{const t=(0,i.unref)(p),n=(0,i.unref)(m);ru([t,n])&&s("pick",[t,n],e)},handleShortcutClick:f,onSelect:e=>{g.value.selecting=e,e||(g.value.endDate=null)},onReset:A,t:u}},Xu="month",ju=(0,i.defineComponent)({__name:"panel-date-range",props:Fu,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(e,{emit:t}){const n=e,r=(0,i.inject)("EP_PICKER_BASE"),{disabledDate:o,cellClassName:a,defaultTime:s,clearable:l}=r.props,c=(0,i.toRef)(r.props,"format"),u=(0,i.toRef)(r.props,"shortcuts"),d=(0,i.toRef)(r.props,"defaultValue"),{lang:f}=(0,wr.Ym)(),h=(0,i.ref)($r().locale(f.value)),p=(0,i.ref)($r().locale(f.value).add(1,Xu)),{minDate:m,maxDate:g,rangeState:A,ppNs:v,drpNs:y,handleChangeRange:O,handleRangeConfirm:b,handleShortcutClick:w,onSelect:x,onReset:S,t:k}=Wu(n,{defaultValue:d,leftDate:h,rightDate:p,unit:Xu,onParsedValueChanged:function(e,t){if(n.unlinkPanels&&t){const n=(null==e?void 0:e.year())||0,r=(null==e?void 0:e.month())||0,o=t.year(),i=t.month();p.value=n===o&&r===i?t.add(1,Xu):t}else p.value=h.value.add(1,Xu),t&&(p.value=p.value.hour(t.hour()).minute(t.minute()).second(t.second()))}});(0,i.watch)((()=>n.visible),(e=>{!e&&A.value.selecting&&(S(n.parsedValue),x(!1))}));const C=(0,i.ref)({min:null,max:null}),B=(0,i.ref)({min:null,max:null}),Q=(0,i.computed)((()=>`${h.value.year()} ${k("el.datepicker.year")} ${k(`el.datepicker.month${h.value.month()+1}`)}`)),T=(0,i.computed)((()=>`${p.value.year()} ${k("el.datepicker.year")} ${k(`el.datepicker.month${p.value.month()+1}`)}`)),E=(0,i.computed)((()=>h.value.year())),P=(0,i.computed)((()=>h.value.month())),$=(0,i.computed)((()=>p.value.year())),M=(0,i.computed)((()=>p.value.month())),z=(0,i.computed)((()=>!!u.value.length)),R=(0,i.computed)((()=>null!==C.value.min?C.value.min:m.value?m.value.format(V.value):"")),D=(0,i.computed)((()=>null!==C.value.max?C.value.max:g.value||m.value?(g.value||m.value).format(V.value):"")),I=(0,i.computed)((()=>null!==B.value.min?B.value.min:m.value?m.value.format(L.value):"")),N=(0,i.computed)((()=>null!==B.value.max?B.value.max:g.value||m.value?(g.value||m.value).format(L.value):"")),L=(0,i.computed)((()=>n.timeFormat||Dr(c.value))),V=(0,i.computed)((()=>n.dateFormat||Rr(c.value))),U=()=>{h.value=h.value.subtract(1,"year"),n.unlinkPanels||(p.value=h.value.add(1,"month")),K("year")},F=()=>{h.value=h.value.subtract(1,"month"),n.unlinkPanels||(p.value=h.value.add(1,"month")),K("month")},H=()=>{n.unlinkPanels?p.value=p.value.add(1,"year"):(h.value=h.value.add(1,"year"),p.value=h.value.add(1,"month")),K("year")},W=()=>{n.unlinkPanels?p.value=p.value.add(1,"month"):(h.value=h.value.add(1,"month"),p.value=h.value.add(1,"month")),K("month")},X=()=>{h.value=h.value.add(1,"year"),K("year")},Z=()=>{h.value=h.value.add(1,"month"),K("month")},Y=()=>{p.value=p.value.subtract(1,"year"),K("year")},G=()=>{p.value=p.value.subtract(1,"month"),K("month")},K=e=>{t("panel-change",[h.value.toDate(),p.value.toDate()],e)},J=(0,i.computed)((()=>{const e=(P.value+1)%12,t=P.value+1>=12?1:0;return n.unlinkPanels&&new Date(E.value+t,e)<new Date($.value,M.value)})),ee=(0,i.computed)((()=>n.unlinkPanels&&12*$.value+M.value-(12*E.value+P.value+1)>=12)),te=(0,i.computed)((()=>!(m.value&&g.value&&!A.value.selecting&&ru([m.value,g.value])))),ne=(0,i.computed)((()=>"datetime"===n.type||"datetimerange"===n.type)),re=(e,t)=>{if(e)return s?$r(s[t]||s).locale(f.value).year(e.year()).month(e.month()).date(e.date()):e},oe=(e,n=!0)=>{const r=e.minDate,o=e.maxDate,i=re(r,0),a=re(o,1);g.value===a&&m.value===i||(t("calendar-change",[r.toDate(),o&&o.toDate()]),g.value=a,m.value=i,n&&!ne.value&&b())},ie=(0,i.ref)(!1),ae=(0,i.ref)(!1),le=()=>{ie.value=!1},ce=()=>{ae.value=!1},ue=(e,t)=>{C.value[t]=e;const r=$r(e,V.value).locale(f.value);if(r.isValid()){if(o&&o(r.toDate()))return;"min"===t?(h.value=r,m.value=(m.value||h.value).year(r.year()).month(r.month()).date(r.date()),n.unlinkPanels||g.value&&!g.value.isBefore(m.value)||(p.value=r.add(1,"month"),g.value=m.value.add(1,"month"))):(p.value=r,g.value=(g.value||p.value).year(r.year()).month(r.month()).date(r.date()),n.unlinkPanels||m.value&&!m.value.isAfter(g.value)||(h.value=r.subtract(1,"month"),m.value=g.value.subtract(1,"month")))}},de=(e,t)=>{C.value[t]=null},fe=(e,t)=>{B.value[t]=e;const n=$r(e,L.value).locale(f.value);n.isValid()&&("min"===t?(ie.value=!0,m.value=(m.value||h.value).hour(n.hour()).minute(n.minute()).second(n.second())):(ae.value=!0,g.value=(g.value||p.value).hour(n.hour()).minute(n.minute()).second(n.second()),p.value=g.value))},he=(e,t)=>{B.value[t]=null,"min"===t?(h.value=m.value,ie.value=!1,g.value&&!g.value.isBefore(m.value)||(g.value=m.value)):(p.value=g.value,ae.value=!1,g.value&&g.value.isBefore(m.value)&&(m.value=g.value))},pe=(e,t,n)=>{B.value.min||(e&&(h.value=e,m.value=(m.value||h.value).hour(e.hour()).minute(e.minute()).second(e.second())),n||(ie.value=t),g.value&&!g.value.isBefore(m.value)||(g.value=m.value,p.value=e))},me=(e,t,n)=>{B.value.max||(e&&(p.value=e,g.value=(g.value||p.value).hour(e.hour()).minute(e.minute()).second(e.second())),n||(ae.value=t),g.value&&g.value.isBefore(m.value)&&(m.value=g.value))},ge=()=>{h.value=ou((0,i.unref)(d),{lang:(0,i.unref)(f),unit:"month",unlinkPanels:n.unlinkPanels})[0],p.value=h.value.add(1,"month"),g.value=void 0,m.value=void 0,t("pick",null)};return t("set-picker-option",["isValidValue",e=>ru(e)&&(!o||!o(e[0].toDate())&&!o(e[1].toDate()))]),t("set-picker-option",["parseUserInput",e=>lu(e,c.value,f.value)]),t("set-picker-option",["formatToString",e=>(0,se.cy)(e)?e.map((e=>e.format(c.value))):e.format(c.value)]),t("set-picker-option",["handleClear",ge]),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(v).b(),(0,i.unref)(y).b(),{"has-sidebar":e.$slots.sidebar||(0,i.unref)(z),"has-time":(0,i.unref)(ne)}])},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(v).e("body-wrapper"))},[(0,i.renderSlot)(e.$slots,"sidebar",{class:(0,i.normalizeClass)((0,i.unref)(v).e("sidebar"))}),(0,i.unref)(z)?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(v).e("sidebar"))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(u),((e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:t,type:"button",class:(0,i.normalizeClass)((0,i.unref)(v).e("shortcut")),onClick:t=>(0,i.unref)(w)(e)},(0,i.toDisplayString)(e.text),11,["onClick"])))),128))],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(v).e("body"))},[(0,i.unref)(ne)?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(y).e("time-header"))},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(y).e("editors-wrap"))},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(y).e("time-picker-wrap"))},[(0,i.createVNode)((0,i.unref)(q.WK),{size:"small",disabled:(0,i.unref)(A).selecting,placeholder:(0,i.unref)(k)("el.datepicker.startDate"),class:(0,i.normalizeClass)((0,i.unref)(y).e("editor")),"model-value":(0,i.unref)(R),"validate-event":!1,onInput:e=>ue(e,"min"),onChange:e=>de(0,"min")},null,8,["disabled","placeholder","class","model-value","onInput","onChange"])],2),(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("span",{class:(0,i.normalizeClass)((0,i.unref)(y).e("time-picker-wrap"))},[(0,i.createVNode)((0,i.unref)(q.WK),{size:"small",class:(0,i.normalizeClass)((0,i.unref)(y).e("editor")),disabled:(0,i.unref)(A).selecting,placeholder:(0,i.unref)(k)("el.datepicker.startTime"),"model-value":(0,i.unref)(I),"validate-event":!1,onFocus:e=>ie.value=!0,onInput:e=>fe(e,"min"),onChange:e=>he(0,"min")},null,8,["class","disabled","placeholder","model-value","onFocus","onInput","onChange"]),(0,i.createVNode)((0,i.unref)(Lu),{visible:ie.value,format:(0,i.unref)(L),"datetime-role":"start","parsed-value":h.value,onPick:pe},null,8,["visible","format","parsed-value"])],2)),[[(0,i.unref)(el),le]])],2),(0,i.createElementVNode)("span",null,[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowRight))])),_:1})]),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)([(0,i.unref)(y).e("editors-wrap"),"is-right"])},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(y).e("time-picker-wrap"))},[(0,i.createVNode)((0,i.unref)(q.WK),{size:"small",class:(0,i.normalizeClass)((0,i.unref)(y).e("editor")),disabled:(0,i.unref)(A).selecting,placeholder:(0,i.unref)(k)("el.datepicker.endDate"),"model-value":(0,i.unref)(D),readonly:!(0,i.unref)(m),"validate-event":!1,onInput:e=>ue(e,"max"),onChange:e=>de(0,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onInput","onChange"])],2),(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("span",{class:(0,i.normalizeClass)((0,i.unref)(y).e("time-picker-wrap"))},[(0,i.createVNode)((0,i.unref)(q.WK),{size:"small",class:(0,i.normalizeClass)((0,i.unref)(y).e("editor")),disabled:(0,i.unref)(A).selecting,placeholder:(0,i.unref)(k)("el.datepicker.endTime"),"model-value":(0,i.unref)(N),readonly:!(0,i.unref)(m),"validate-event":!1,onFocus:e=>(0,i.unref)(m)&&(ae.value=!0),onInput:e=>fe(e,"max"),onChange:e=>he(0,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onFocus","onInput","onChange"]),(0,i.createVNode)((0,i.unref)(Lu),{"datetime-role":"end",visible:ae.value,format:(0,i.unref)(L),"parsed-value":p.value,onPick:me},null,8,["visible","format","parsed-value"])],2)),[[(0,i.unref)(el),ce]])],2)],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([[(0,i.unref)(v).e("content"),(0,i.unref)(y).e("content")],"is-left"])},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(y).e("header"))},[(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)([(0,i.unref)(v).e("icon-btn"),"d-arrow-left"]),"aria-label":(0,i.unref)(k)("el.datepicker.prevYear"),onClick:U},[(0,i.renderSlot)(e.$slots,"prev-year",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.DArrowLeft))])),_:1})]))],10,["aria-label"]),(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)([(0,i.unref)(v).e("icon-btn"),"arrow-left"]),"aria-label":(0,i.unref)(k)("el.datepicker.prevMonth"),onClick:F},[(0,i.renderSlot)(e.$slots,"prev-month",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowLeft))])),_:1})]))],10,["aria-label"]),e.unlinkPanels?((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:0,type:"button",disabled:!(0,i.unref)(ee),class:(0,i.normalizeClass)([[(0,i.unref)(v).e("icon-btn"),{"is-disabled":!(0,i.unref)(ee)}],"d-arrow-right"]),"aria-label":(0,i.unref)(k)("el.datepicker.nextYear"),onClick:X},[(0,i.renderSlot)(e.$slots,"next-year",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.DArrowRight))])),_:1})]))],10,["disabled","aria-label"])):(0,i.createCommentVNode)("v-if",!0),e.unlinkPanels?((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:1,type:"button",disabled:!(0,i.unref)(J),class:(0,i.normalizeClass)([[(0,i.unref)(v).e("icon-btn"),{"is-disabled":!(0,i.unref)(J)}],"arrow-right"]),"aria-label":(0,i.unref)(k)("el.datepicker.nextMonth"),onClick:Z},[(0,i.renderSlot)(e.$slots,"next-month",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowRight))])),_:1})]))],10,["disabled","aria-label"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",null,(0,i.toDisplayString)((0,i.unref)(Q)),1)],2),(0,i.createVNode)(gu,{"selection-mode":"range",date:h.value,"min-date":(0,i.unref)(m),"max-date":(0,i.unref)(g),"range-state":(0,i.unref)(A),"disabled-date":(0,i.unref)(o),"cell-class-name":(0,i.unref)(a),onChangerange:(0,i.unref)(O),onPick:oe,onSelect:(0,i.unref)(x)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([[(0,i.unref)(v).e("content"),(0,i.unref)(y).e("content")],"is-right"])},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(y).e("header"))},[e.unlinkPanels?((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:0,type:"button",disabled:!(0,i.unref)(ee),class:(0,i.normalizeClass)([[(0,i.unref)(v).e("icon-btn"),{"is-disabled":!(0,i.unref)(ee)}],"d-arrow-left"]),"aria-label":(0,i.unref)(k)("el.datepicker.prevYear"),onClick:Y},[(0,i.renderSlot)(e.$slots,"prev-year",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.DArrowLeft))])),_:1})]))],10,["disabled","aria-label"])):(0,i.createCommentVNode)("v-if",!0),e.unlinkPanels?((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:1,type:"button",disabled:!(0,i.unref)(J),class:(0,i.normalizeClass)([[(0,i.unref)(v).e("icon-btn"),{"is-disabled":!(0,i.unref)(J)}],"arrow-left"]),"aria-label":(0,i.unref)(k)("el.datepicker.prevMonth"),onClick:G},[(0,i.renderSlot)(e.$slots,"prev-month",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowLeft))])),_:1})]))],10,["disabled","aria-label"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("button",{type:"button","aria-label":(0,i.unref)(k)("el.datepicker.nextYear"),class:(0,i.normalizeClass)([(0,i.unref)(v).e("icon-btn"),"d-arrow-right"]),onClick:H},[(0,i.renderSlot)(e.$slots,"next-year",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.DArrowRight))])),_:1})]))],10,["aria-label"]),(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)([(0,i.unref)(v).e("icon-btn"),"arrow-right"]),"aria-label":(0,i.unref)(k)("el.datepicker.nextMonth"),onClick:W},[(0,i.renderSlot)(e.$slots,"next-month",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowRight))])),_:1})]))],10,["aria-label"]),(0,i.createElementVNode)("div",null,(0,i.toDisplayString)((0,i.unref)(T)),1)],2),(0,i.createVNode)(gu,{"selection-mode":"range",date:p.value,"min-date":(0,i.unref)(m),"max-date":(0,i.unref)(g),"range-state":(0,i.unref)(A),"disabled-date":(0,i.unref)(o),"cell-class-name":(0,i.unref)(a),onChangerange:(0,i.unref)(O),onPick:oe,onSelect:(0,i.unref)(x)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),(0,i.unref)(ne)?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(v).e("footer"))},[(0,i.unref)(l)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Pr.S2),{key:0,text:"",size:"small",class:(0,i.normalizeClass)((0,i.unref)(v).e("link-btn")),onClick:ge},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(k)("el.datepicker.clear")),1)])),_:1},8,["class"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createVNode)((0,i.unref)(Pr.S2),{plain:"",size:"small",class:(0,i.normalizeClass)((0,i.unref)(v).e("link-btn")),disabled:(0,i.unref)(te),onClick:e=>(0,i.unref)(b)(!1)},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(k)("el.datepicker.confirm")),1)])),_:1},8,["class","disabled","onClick"])],2)):(0,i.createCommentVNode)("v-if",!0)],2))}});var qu=(0,f.A)(ju,[["__file","panel-date-range.vue"]]);const Zu=(0,l.b_)({...eu}),Yu="year",Gu=(0,i.defineComponent)({name:"DatePickerMonthRange"}),Ku=(0,i.defineComponent)({...Gu,props:Zu,emits:["pick","set-picker-option","calendar-change"],setup(e,{emit:t}){const n=e,{lang:r}=(0,wr.Ym)(),o=(0,i.inject)("EP_PICKER_BASE"),{shortcuts:a,disabledDate:s}=o.props,l=(0,i.toRef)(o.props,"format"),c=(0,i.toRef)(o.props,"defaultValue"),u=(0,i.ref)($r().locale(r.value)),d=(0,i.ref)($r().locale(r.value).add(1,Yu)),{minDate:f,maxDate:h,rangeState:p,ppNs:m,drpNs:g,handleChangeRange:A,handleRangeConfirm:v,handleShortcutClick:y,onSelect:O}=Wu(n,{defaultValue:c,leftDate:u,rightDate:d,unit:Yu,onParsedValueChanged:function(e,t){if(n.unlinkPanels&&t){const n=(null==e?void 0:e.year())||0,r=t.year();d.value=n===r?t.add(1,Yu):t}else d.value=u.value.add(1,Yu)}}),b=(0,i.computed)((()=>!!a.length)),{leftPrevYear:w,rightNextYear:x,leftNextYear:S,rightPrevYear:k,leftLabel:C,rightLabel:B,leftYear:Q,rightYear:T}=(({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:r}=(0,wr.Ym)();return{leftPrevYear:()=>{t.value=t.value.subtract(1,"year"),e.value||(n.value=n.value.subtract(1,"year"))},rightNextYear:()=>{e.value||(t.value=t.value.add(1,"year")),n.value=n.value.add(1,"year")},leftNextYear:()=>{t.value=t.value.add(1,"year")},rightPrevYear:()=>{n.value=n.value.subtract(1,"year")},leftLabel:(0,i.computed)((()=>`${t.value.year()} ${r("el.datepicker.year")}`)),rightLabel:(0,i.computed)((()=>`${n.value.year()} ${r("el.datepicker.year")}`)),leftYear:(0,i.computed)((()=>t.value.year())),rightYear:(0,i.computed)((()=>n.value.year()===t.value.year()?t.value.year()+1:n.value.year()))}})({unlinkPanels:(0,i.toRef)(n,"unlinkPanels"),leftDate:u,rightDate:d}),E=(0,i.computed)((()=>n.unlinkPanels&&T.value>Q.value+1)),P=(e,n=!0)=>{const r=e.minDate,o=e.maxDate;h.value===o&&f.value===r||(t("calendar-change",[r.toDate(),o&&o.toDate()]),h.value=o,f.value=r,n&&v())};return t("set-picker-option",["isValidValue",ru]),t("set-picker-option",["formatToString",e=>(0,se.cy)(e)?e.map((e=>e.format(l.value))):e.format(l.value)]),t("set-picker-option",["parseUserInput",e=>lu(e,l.value,r.value)]),t("set-picker-option",["handleClear",()=>{u.value=ou((0,i.unref)(c),{lang:(0,i.unref)(r),unit:"year",unlinkPanels:n.unlinkPanels})[0],d.value=u.value.add(1,"year"),t("pick",null)}]),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(m).b(),(0,i.unref)(g).b(),{"has-sidebar":Boolean(e.$slots.sidebar)||(0,i.unref)(b)}])},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(m).e("body-wrapper"))},[(0,i.renderSlot)(e.$slots,"sidebar",{class:(0,i.normalizeClass)((0,i.unref)(m).e("sidebar"))}),(0,i.unref)(b)?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(m).e("sidebar"))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(a),((e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:t,type:"button",class:(0,i.normalizeClass)((0,i.unref)(m).e("shortcut")),onClick:t=>(0,i.unref)(y)(e)},(0,i.toDisplayString)(e.text),11,["onClick"])))),128))],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(m).e("body"))},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([[(0,i.unref)(m).e("content"),(0,i.unref)(g).e("content")],"is-left"])},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(g).e("header"))},[(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)([(0,i.unref)(m).e("icon-btn"),"d-arrow-left"]),onClick:(0,i.unref)(w)},[(0,i.renderSlot)(e.$slots,"prev-year",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.DArrowLeft))])),_:1})]))],10,["onClick"]),e.unlinkPanels?((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:0,type:"button",disabled:!(0,i.unref)(E),class:(0,i.normalizeClass)([[(0,i.unref)(m).e("icon-btn"),{[(0,i.unref)(m).is("disabled")]:!(0,i.unref)(E)}],"d-arrow-right"]),onClick:(0,i.unref)(S)},[(0,i.renderSlot)(e.$slots,"next-year",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.DArrowRight))])),_:1})]))],10,["disabled","onClick"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",null,(0,i.toDisplayString)((0,i.unref)(C)),1)],2),(0,i.createVNode)(yu,{"selection-mode":"range",date:u.value,"min-date":(0,i.unref)(f),"max-date":(0,i.unref)(h),"range-state":(0,i.unref)(p),"disabled-date":(0,i.unref)(s),onChangerange:(0,i.unref)(A),onPick:P,onSelect:(0,i.unref)(O)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([[(0,i.unref)(m).e("content"),(0,i.unref)(g).e("content")],"is-right"])},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(g).e("header"))},[e.unlinkPanels?((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:0,type:"button",disabled:!(0,i.unref)(E),class:(0,i.normalizeClass)([[(0,i.unref)(m).e("icon-btn"),{"is-disabled":!(0,i.unref)(E)}],"d-arrow-left"]),onClick:(0,i.unref)(k)},[(0,i.renderSlot)(e.$slots,"prev-year",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.DArrowLeft))])),_:1})]))],10,["disabled","onClick"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)([(0,i.unref)(m).e("icon-btn"),"d-arrow-right"]),onClick:(0,i.unref)(x)},[(0,i.renderSlot)(e.$slots,"next-year",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.DArrowRight))])),_:1})]))],10,["onClick"]),(0,i.createElementVNode)("div",null,(0,i.toDisplayString)((0,i.unref)(B)),1)],2),(0,i.createVNode)(yu,{"selection-mode":"range",date:d.value,"min-date":(0,i.unref)(f),"max-date":(0,i.unref)(h),"range-state":(0,i.unref)(p),"disabled-date":(0,i.unref)(s),onChangerange:(0,i.unref)(A),onPick:P,onSelect:(0,i.unref)(O)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var Ju=(0,f.A)(Ku,[["__file","panel-month-range.vue"]]);const ed=(0,l.b_)({...eu}),td="year",nd=(0,i.defineComponent)({name:"DatePickerYearRange"}),rd=(0,i.defineComponent)({...nd,props:ed,emits:["pick","set-picker-option","calendar-change"],setup(e,{emit:t}){const n=e,{lang:r}=(0,wr.Ym)(),o=(0,i.ref)($r().locale(r.value)),a=(0,i.ref)(o.value.add(10,"year")),{pickerNs:s}=(0,i.inject)(Wc),l=(0,h.DU)("date-range-picker"),c=(0,i.computed)((()=>!!$.length)),u=(0,i.computed)((()=>[s.b(),l.b(),{"has-sidebar":Boolean((0,i.useSlots)().sidebar)||c.value}])),d=(0,i.computed)((()=>({content:[s.e("content"),l.e("content"),"is-left"],arrowLeftBtn:[s.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[s.e("icon-btn"),{[s.is("disabled")]:!x.value},"d-arrow-right"]}))),f=(0,i.computed)((()=>({content:[s.e("content"),l.e("content"),"is-right"],arrowLeftBtn:[s.e("icon-btn"),{"is-disabled":!x.value},"d-arrow-left"],arrowRightBtn:[s.e("icon-btn"),"d-arrow-right"]}))),p=Hu(r),{leftPrevYear:m,rightNextYear:g,leftNextYear:A,rightPrevYear:v,leftLabel:y,rightLabel:O,leftYear:b,rightYear:w}=(({unlinkPanels:e,leftDate:t,rightDate:n})=>({leftPrevYear:()=>{t.value=t.value.subtract(10,"year"),e.value||(n.value=n.value.subtract(10,"year"))},rightNextYear:()=>{e.value||(t.value=t.value.add(10,"year")),n.value=n.value.add(10,"year")},leftNextYear:()=>{t.value=t.value.add(10,"year")},rightPrevYear:()=>{n.value=n.value.subtract(10,"year")},leftLabel:(0,i.computed)((()=>{const e=10*Math.floor(t.value.year()/10);return`${e}-${e+9}`})),rightLabel:(0,i.computed)((()=>{const e=10*Math.floor(n.value.year()/10);return`${e}-${e+9}`})),leftYear:(0,i.computed)((()=>10*Math.floor(t.value.year()/10)+9)),rightYear:(0,i.computed)((()=>10*Math.floor(n.value.year()/10)))}))({unlinkPanels:(0,i.toRef)(n,"unlinkPanels"),leftDate:o,rightDate:a}),x=(0,i.computed)((()=>n.unlinkPanels&&w.value>b.value+1)),S=(0,i.ref)(),k=(0,i.ref)(),C=(0,i.ref)({endDate:null,selecting:!1}),B=e=>{C.value=e},Q=(e,n=!0)=>{const r=e.minDate,o=e.maxDate;k.value===o&&S.value===r||(t("calendar-change",[r.toDate(),o&&o.toDate()]),k.value=o,S.value=r,n&&T())},T=(e=!1)=>{ru([S.value,k.value])&&t("pick",[S.value,k.value],e)},E=e=>{C.value.selecting=e,e||(C.value.endDate=null)},P=(0,i.inject)("EP_PICKER_BASE"),{shortcuts:$,disabledDate:M}=P.props,z=(0,i.toRef)(P.props,"format"),R=(0,i.toRef)(P.props,"defaultValue"),D=()=>{let e;if((0,se.cy)(R.value)){const e=$r(R.value[0]);let t=$r(R.value[1]);return n.unlinkPanels||(t=e.add(10,td)),[e,t]}return e=R.value?$r(R.value):$r(),e=e.locale(r.value),[e,e.add(10,td)]};return(0,i.watch)((()=>R.value),(e=>{if(e){const e=D();o.value=e[0],a.value=e[1]}}),{immediate:!0}),(0,i.watch)((()=>n.parsedValue),(e=>{if(e&&2===e.length)if(S.value=e[0],k.value=e[1],o.value=S.value,n.unlinkPanels&&k.value){const e=S.value.year(),t=k.value.year();a.value=e===t?k.value.add(10,"year"):k.value}else a.value=o.value.add(10,"year");else{const e=D();S.value=void 0,k.value=void 0,o.value=e[0],a.value=e[1]}}),{immediate:!0}),t("set-picker-option",["isValidValue",e=>ru(e)&&(!M||!M(e[0].toDate())&&!M(e[1].toDate()))]),t("set-picker-option",["parseUserInput",e=>lu(e,z.value,r.value)]),t("set-picker-option",["formatToString",e=>(0,se.cy)(e)?e.map((e=>e.format(z.value))):e.format(z.value)]),t("set-picker-option",["handleClear",()=>{const e=D();o.value=e[0],a.value=e[1],k.value=void 0,S.value=void 0,t("pick",null)}]),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)((0,i.unref)(u))},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(s).e("body-wrapper"))},[(0,i.renderSlot)(e.$slots,"sidebar",{class:(0,i.normalizeClass)((0,i.unref)(s).e("sidebar"))}),(0,i.unref)(c)?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(s).e("sidebar"))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)($),((e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:t,type:"button",class:(0,i.normalizeClass)((0,i.unref)(s).e("shortcut")),onClick:t=>(0,i.unref)(p)(e)},(0,i.toDisplayString)(e.text),11,["onClick"])))),128))],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(s).e("body"))},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(d).content)},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(l).e("header"))},[(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)((0,i.unref)(d).arrowLeftBtn),onClick:(0,i.unref)(m)},[(0,i.renderSlot)(e.$slots,"prev-year",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.DArrowLeft))])),_:1})]))],10,["onClick"]),e.unlinkPanels?((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:0,type:"button",disabled:!(0,i.unref)(x),class:(0,i.normalizeClass)((0,i.unref)(d).arrowRightBtn),onClick:(0,i.unref)(A)},[(0,i.renderSlot)(e.$slots,"next-year",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.DArrowRight))])),_:1})]))],10,["disabled","onClick"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",null,(0,i.toDisplayString)((0,i.unref)(y)),1)],2),(0,i.createVNode)(wu,{"selection-mode":"range",date:o.value,"min-date":S.value,"max-date":k.value,"range-state":C.value,"disabled-date":(0,i.unref)(M),onChangerange:B,onPick:Q,onSelect:E},null,8,["date","min-date","max-date","range-state","disabled-date"])],2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(f).content)},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(l).e("header"))},[e.unlinkPanels?((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:0,type:"button",disabled:!(0,i.unref)(x),class:(0,i.normalizeClass)((0,i.unref)(f).arrowLeftBtn),onClick:(0,i.unref)(v)},[(0,i.renderSlot)(e.$slots,"prev-year",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.DArrowLeft))])),_:1})]))],10,["disabled","onClick"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)((0,i.unref)(f).arrowRightBtn),onClick:(0,i.unref)(g)},[(0,i.renderSlot)(e.$slots,"next-year",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.DArrowRight))])),_:1})]))],10,["onClick"]),(0,i.createElementVNode)("div",null,(0,i.toDisplayString)((0,i.unref)(O)),1)],2),(0,i.createVNode)(wu,{"selection-mode":"range",date:a.value,"min-date":S.value,"max-date":k.value,"range-state":C.value,"disabled-date":(0,i.unref)(M),onChangerange:B,onPick:Q,onSelect:E},null,8,["date","min-date","max-date","range-state","disabled-date"])],2)],2)],2)],2))}});var od=(0,f.A)(rd,[["__file","panel-year-range.vue"]]);const id=(0,i.defineComponent)({name:"PickerRangeTrigger",inheritAttrs:!1}),ad=(0,i.defineComponent)({...id,props:Zc,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(e,{expose:t,emit:n}){const r=(0,Kn.O)(),o=(0,h.DU)("date"),a=(0,h.DU)("range"),s=(0,i.ref)(),l=(0,i.ref)(),{wrapperRef:c,isFocused:u}=(0,dc.K)(s),d=e=>{n("click",e)},f=e=>{n("mouseenter",e)},p=e=>{n("mouseleave",e)},m=e=>{n("mouseenter",e)},g=e=>{n("startInput",e)},A=e=>{n("endInput",e)},v=e=>{n("startChange",e)},y=e=>{n("endChange",e)};return t({focus:()=>{var e;null==(e=s.value)||e.focus()},blur:()=>{var e,t;null==(e=s.value)||e.blur(),null==(t=l.value)||t.blur()}}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"wrapperRef",ref:c,class:(0,i.normalizeClass)([(0,i.unref)(o).is("active",(0,i.unref)(u)),e.$attrs.class]),style:(0,i.normalizeStyle)(e.$attrs.style),onClick:d,onMouseenter:f,onMouseleave:p,onTouchstartPassive:m},[(0,i.renderSlot)(e.$slots,"prefix"),(0,i.createElementVNode)("input",(0,i.mergeProps)((0,i.unref)(r),{id:e.id&&e.id[0],ref_key:"inputRef",ref:s,name:e.name&&e.name[0],placeholder:e.startPlaceholder,value:e.modelValue&&e.modelValue[0],class:(0,i.unref)(a).b("input"),onInput:g,onChange:v}),null,16,["id","name","placeholder","value"]),(0,i.renderSlot)(e.$slots,"range-separator"),(0,i.createElementVNode)("input",(0,i.mergeProps)((0,i.unref)(r),{id:e.id&&e.id[1],ref_key:"endInputRef",ref:l,name:e.name&&e.name[1],placeholder:e.endPlaceholder,value:e.modelValue&&e.modelValue[1],class:(0,i.unref)(a).b("input"),onInput:A,onChange:y}),null,16,["id","name","placeholder","value"]),(0,i.renderSlot)(e.$slots,"suffix")],38))}});var sd=(0,f.A)(ad,[["__file","picker-range-trigger.vue"]]);const ld=(0,i.defineComponent)({name:"Picker"}),cd=(0,i.defineComponent)({...ld,props:qc,emits:["update:modelValue","change","focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const r=e,o=(0,i.useAttrs)(),{lang:s}=(0,wr.Ym)(),l=(0,h.DU)("date"),c=(0,h.DU)("input"),u=(0,h.DU)("range"),{form:d,formItem:f}=(0,Na.j)(),p=(0,i.inject)("ElPopperOptions",{}),{valueOnClear:m}=(0,Zs.fQ)(r,null),A=(0,i.ref)(),v=(0,i.ref)(),y=(0,i.ref)(!1),O=(0,i.ref)(!1),b=(0,i.ref)(null);let w=!1;const{isFocused:x,handleFocus:S,handleBlur:k}=(0,dc.K)(v,{beforeFocus(){return r.readonly||D.value},afterFocus(){y.value=!0},beforeBlur(e){var t;return!w&&(null==(t=A.value)?void 0:t.isFocusInsideContent(e))},afterBlur(){ae(),y.value=!1,w=!1,r.validateEvent&&(null==f||f.validate("blur").catch((e=>(0,g.U)(e))))}}),C=(0,i.computed)((()=>[l.b("editor"),l.bm("editor",r.type),c.e("wrapper"),l.is("disabled",D.value),l.is("active",y.value),u.b("editor"),ne?u.bm("editor",ne.value):"",o.class])),B=(0,i.computed)((()=>[c.e("icon"),u.e("close-icon"),X.value?"":u.e("close-icon--hidden")]));(0,i.watch)(y,(e=>{e?(0,i.nextTick)((()=>{e&&(b.value=r.modelValue)})):(ie.value=null,(0,i.nextTick)((()=>{Q(r.modelValue)})))}));const Q=(e,t)=>{!t&&Nr(e,b.value)||(n("change",e),t&&(b.value=e),r.validateEvent&&(null==f||f.validate("change").catch((e=>(0,g.U)(e)))))},T=e=>{if(!Nr(r.modelValue,e)){let t;(0,se.cy)(e)?t=e.map((e=>Vr(e,r.valueFormat,s.value))):e&&(t=Vr(e,r.valueFormat,s.value)),n("update:modelValue",e?t:e,s.value)}},E=(0,i.computed)((()=>v.value?Array.from(v.value.$el.querySelectorAll("input")):[])),P=(e,t,n)=>{const r=E.value;r.length&&(n&&"min"!==n?"max"===n&&(r[1].setSelectionRange(e,t),r[1].focus()):(r[0].setSelectionRange(e,t),r[0].focus()))},$=(e="",t=!1)=>{let n;y.value=t,n=(0,se.cy)(e)?e.map((e=>e.toDate())):e?e.toDate():e,ie.value=null,T(n)},M=()=>{O.value=!0},z=()=>{n("visible-change",!0)},R=()=>{O.value=!1,y.value=!1,n("visible-change",!1)},D=(0,i.computed)((()=>r.disabled||(null==d?void 0:d.disabled))),I=(0,i.computed)((()=>{let e;if(Y.value?Ae.value.getDefaultValue&&(e=Ae.value.getDefaultValue()):e=(0,se.cy)(r.modelValue)?r.modelValue.map((e=>Lr(e,r.valueFormat,s.value))):Lr(r.modelValue,r.valueFormat,s.value),Ae.value.getRangeAvailableTime){const t=Ae.value.getRangeAvailableTime(e);Pa(t,e)||(e=t,Y.value||T(Fr(e)))}return(0,se.cy)(e)&&e.some((e=>!e))&&(e=[]),e})),N=(0,i.computed)((()=>{if(!Ae.value.panelReady)return"";const e=ce(I.value);return(0,se.cy)(ie.value)?[ie.value[0]||e&&e[0]||"",ie.value[1]||e&&e[1]||""]:null!==ie.value?ie.value:!V.value&&Y.value||!y.value&&Y.value?"":e?U.value||F.value||H.value?e.join(", "):e:""})),L=(0,i.computed)((()=>r.type.includes("time"))),V=(0,i.computed)((()=>r.type.startsWith("time"))),U=(0,i.computed)((()=>"dates"===r.type)),F=(0,i.computed)((()=>"months"===r.type)),H=(0,i.computed)((()=>"years"===r.type)),W=(0,i.computed)((()=>r.prefixIcon||(L.value?j.Clock:j.Calendar))),X=(0,i.ref)(!1),Z=e=>{r.readonly||D.value||(X.value&&(e.stopPropagation(),Ae.value.handleClear?Ae.value.handleClear():T(m.value),Q(m.value,!0),X.value=!1,R()),n("clear"))},Y=(0,i.computed)((()=>{const{modelValue:e}=r;return!e||(0,se.cy)(e)&&!e.filter(Boolean).length})),G=async e=>{var t;r.readonly||D.value||("INPUT"!==(null==(t=e.target)?void 0:t.tagName)||x.value)&&(y.value=!0)},K=()=>{r.readonly||D.value||!Y.value&&r.clearable&&(X.value=!0)},J=()=>{X.value=!1},ee=e=>{var t;r.readonly||D.value||("INPUT"!==(null==(t=e.touches[0].target)?void 0:t.tagName)||x.value)&&(y.value=!0)},te=(0,i.computed)((()=>r.type.includes("range"))),ne=(0,Jn.NV)(),re=(0,i.computed)((()=>{var e,t;return null==(t=null==(e=(0,i.unref)(A))?void 0:e.popperRef)?void 0:t.contentRef})),oe=(0,a.X2F)(v,(e=>{const t=(0,i.unref)(re),n=(0,a.F4c)(v);t&&(e.target===t||e.composedPath().includes(t))||e.target===n||n&&e.composedPath().includes(n)||(y.value=!1)}));(0,i.onBeforeUnmount)((()=>{null==oe||oe()}));const ie=(0,i.ref)(null),ae=()=>{if(ie.value){const e=le(N.value);e&&ue(e)&&(T(Fr(e)),ie.value=null)}""===ie.value&&(T(m.value),Q(m.value,!0),ie.value=null)},le=e=>e?Ae.value.parseUserInput(e):null,ce=e=>e?Ae.value.formatToString(e):null,ue=e=>Ae.value.isValidValue(e),de=async e=>{if(r.readonly||D.value)return;const{code:t}=e;if(n("keydown",e),t!==Wt.R.esc)if(t===Wt.R.down&&(Ae.value.handleFocusPicker&&(e.preventDefault(),e.stopPropagation()),!1===y.value&&(y.value=!0,await(0,i.nextTick)()),Ae.value.handleFocusPicker))Ae.value.handleFocusPicker();else{if(t!==Wt.R.tab)return t===Wt.R.enter||t===Wt.R.numpadEnter?((null===ie.value||""===ie.value||ue(le(N.value)))&&(ae(),y.value=!1),void e.stopPropagation()):void(ie.value?e.stopPropagation():Ae.value.handleKeydownInput&&Ae.value.handleKeydownInput(e));w=!0}else!0===y.value&&(y.value=!1,e.preventDefault(),e.stopPropagation())},fe=e=>{ie.value=e,y.value||(y.value=!0)},he=e=>{const t=e.target;ie.value?ie.value=[t.value,ie.value[1]]:ie.value=[t.value,null]},pe=e=>{const t=e.target;ie.value?ie.value=[ie.value[0],t.value]:ie.value=[null,t.value]},me=()=>{var e;const t=ie.value,n=le(t&&t[0]),r=(0,i.unref)(I);if(n&&n.isValid()){ie.value=[ce(n),(null==(e=N.value)?void 0:e[1])||null];const t=[n,r&&(r[1]||null)];ue(t)&&(T(Fr(t)),ie.value=null)}},ge=()=>{var e;const t=(0,i.unref)(ie),n=le(t&&t[1]),r=(0,i.unref)(I);if(n&&n.isValid()){ie.value=[(null==(e=(0,i.unref)(N))?void 0:e[0])||null,ce(n)];const t=[r&&r[0],n];ue(t)&&(T(Fr(t)),ie.value=null)}},Ae=(0,i.ref)({}),ve=e=>{Ae.value[e[0]]=e[1],Ae.value.panelReady=!0},ye=e=>{n("calendar-change",e)},Oe=(e,t,r)=>{n("panel-change",e,t,r)};return(0,i.provide)("EP_PICKER_BASE",{props:r}),t({focus:()=>{var e;null==(e=v.value)||e.focus()},blur:()=>{var e;null==(e=v.value)||e.blur()},handleOpen:()=>{y.value=!0},handleClose:()=>{y.value=!1},onPick:$}),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Zn),(0,i.mergeProps)({ref_key:"refPopper",ref:A,visible:y.value,effect:"light",pure:"",trigger:"click"},e.$attrs,{role:"dialog",teleported:"",transition:`${(0,i.unref)(l).namespace.value}-zoom-in-top`,"popper-class":[`${(0,i.unref)(l).namespace.value}-picker__popper`,e.popperClass],"popper-options":(0,i.unref)(p),"fallback-placements":e.fallbackPlacements,"gpu-acceleration":!1,placement:e.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:M,onShow:z,onHide:R}),{default:(0,i.withCtx)((()=>[(0,i.unref)(te)?((0,i.openBlock)(),(0,i.createBlock)(sd,{key:1,id:e.id,ref_key:"inputRef",ref:v,"model-value":(0,i.unref)(N),name:e.name,disabled:(0,i.unref)(D),readonly:!e.editable||e.readonly,"start-placeholder":e.startPlaceholder,"end-placeholder":e.endPlaceholder,class:(0,i.normalizeClass)((0,i.unref)(C)),style:(0,i.normalizeStyle)(e.$attrs.style),"aria-label":e.ariaLabel,tabindex:e.tabindex,autocomplete:"off",role:"combobox",onClick:G,onFocus:(0,i.unref)(S),onBlur:(0,i.unref)(k),onStartInput:he,onStartChange:me,onEndInput:pe,onEndChange:ge,onMousedown:G,onMouseenter:K,onMouseleave:J,onTouchstartPassive:ee,onKeydown:de},{prefix:(0,i.withCtx)((()=>[(0,i.unref)(W)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)([(0,i.unref)(c).e("icon"),(0,i.unref)(u).e("icon")])},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(W))))])),_:1},8,["class"])):(0,i.createCommentVNode)("v-if",!0)])),"range-separator":(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"range-separator",{},(()=>[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(u).b("separator"))},(0,i.toDisplayString)(e.rangeSeparator),3)]))])),suffix:(0,i.withCtx)((()=>[e.clearIcon?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)((0,i.unref)(B)),onMousedown:(0,i.withModifiers)((0,i.unref)(se.tE),["prevent"]),onClick:Z},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.clearIcon)))])),_:1},8,["class","onMousedown"])):(0,i.createCommentVNode)("v-if",!0)])),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(q.WK),{key:0,id:e.id,ref_key:"inputRef",ref:v,"container-role":"combobox","model-value":(0,i.unref)(N),name:e.name,size:(0,i.unref)(ne),disabled:(0,i.unref)(D),placeholder:e.placeholder,class:(0,i.normalizeClass)([(0,i.unref)(l).b("editor"),(0,i.unref)(l).bm("editor",e.type),e.$attrs.class]),style:(0,i.normalizeStyle)(e.$attrs.style),readonly:!e.editable||e.readonly||(0,i.unref)(U)||(0,i.unref)(F)||(0,i.unref)(H)||"week"===e.type,"aria-label":e.ariaLabel,tabindex:e.tabindex,"validate-event":!1,onInput:fe,onFocus:(0,i.unref)(S),onBlur:(0,i.unref)(k),onKeydown:de,onChange:ae,onMousedown:G,onMouseenter:K,onMouseleave:J,onTouchstartPassive:ee,onClick:(0,i.withModifiers)((()=>{}),["stop"])},{prefix:(0,i.withCtx)((()=>[(0,i.unref)(W)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)((0,i.unref)(c).e("icon")),onMousedown:(0,i.withModifiers)(G,["prevent"]),onTouchstartPassive:ee},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(W))))])),_:1},8,["class","onMousedown"])):(0,i.createCommentVNode)("v-if",!0)])),suffix:(0,i.withCtx)((()=>[X.value&&e.clearIcon?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)(`${(0,i.unref)(c).e("icon")} clear-icon`),onMousedown:(0,i.withModifiers)((0,i.unref)(se.tE),["prevent"]),onClick:Z},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.clearIcon)))])),_:1},8,["class","onMousedown"])):(0,i.createCommentVNode)("v-if",!0)])),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur","onClick"]))])),content:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default",{visible:y.value,actualVisible:O.value,parsedValue:(0,i.unref)(I),format:e.format,dateFormat:e.dateFormat,timeFormat:e.timeFormat,unlinkPanels:e.unlinkPanels,type:e.type,defaultValue:e.defaultValue,showNow:e.showNow,onPick:$,onSelectRange:P,onSetPickerOption:ve,onCalendarChange:ye,onPanelChange:Oe,onMousedown:(0,i.withModifiers)((()=>{}),["stop"])})])),_:3},16,["visible","transition","popper-class","popper-options","fallback-placements","placement"]))}});var ud=(0,f.A)(cd,[["__file","picker.vue"]]);$r.extend(Xr),$r.extend(Nc),$r.extend(Ic),$r.extend(Lc),$r.extend(Vc),$r.extend(Uc),$r.extend(Fc),$r.extend(Hc);var dd=(0,i.defineComponent)({name:"ElDatePicker",install:null,props:Yc,emits:["update:modelValue"],setup(e,{expose:t,emit:n,slots:r}){const o=(0,h.DU)("picker-panel");(0,i.provide)("ElPopperOptions",(0,i.reactive)((0,i.toRef)(e,"popperOptions"))),(0,i.provide)(Wc,{slots:r,pickerNs:o});const a=(0,i.ref)();t({focus:()=>{var e;null==(e=a.value)||e.focus()},blur:()=>{var e;null==(e=a.value)||e.blur()},handleOpen:()=>{var e;null==(e=a.value)||e.handleOpen()},handleClose:()=>{var e;null==(e=a.value)||e.handleClose()}});const s=e=>{n("update:modelValue",e)};return()=>{var t;const n=null!=(t=e.format)?t:Pu[e.type]||Eu,o=function(e){switch(e){case"daterange":case"datetimerange":return qu;case"monthrange":return Ju;case"yearrange":return od;default:return Uu}}(e.type);return(0,i.createVNode)(ud,(0,i.mergeProps)(e,{format:n,type:e.type,ref:a,"onUpdate:modelValue":s}),{default:e=>(0,i.createVNode)(o,e,{"prev-month":r["prev-month"],"next-month":r["next-month"],"prev-year":r["prev-year"],"next-year":r["next-year"]}),"range-separator":r["range-separator"]})}}});const fd=(0,b.GU)(dd),hd=Symbol("elDescriptions");var pd=(0,i.defineComponent)({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:(0,i.inject)(hd,{})}},render(){var e;const t=(0,mo.oh)(this.cell),n=((null==(e=this.cell)?void 0:e.dirs)||[]).map((e=>{const{dir:t,arg:n,modifiers:r,value:o}=e;return[t,o,n,r]})),{border:r,direction:o}=this.descriptions,a="vertical"===o,s=()=>{var e,n,r;return(null==(r=null==(n=null==(e=this.cell)?void 0:e.children)?void 0:n.label)?void 0:r.call(n))||t.label},l=()=>{var e,t,n;return null==(n=null==(t=null==(e=this.cell)?void 0:e.children)?void 0:t.default)?void 0:n.call(t)},c=t.span,u=t.rowspan,d=t.align?`is-${t.align}`:"",f=t.labelAlign?`is-${t.labelAlign}`:d,p=t.className,g=t.labelClassName,A="label"===this.type&&(t.labelWidth||this.descriptions.labelWidth)||t.width,v={width:(0,m._V)(A),minWidth:(0,m._V)(t.minWidth)},y=(0,h.DU)("descriptions");switch(this.type){case"label":return(0,i.withDirectives)((0,i.h)(this.tag,{style:v,class:[y.e("cell"),y.e("label"),y.is("bordered-label",r),y.is("vertical-label",a),f,g],colSpan:a?c:1,rowspan:a?1:u},s()),n);case"content":return(0,i.withDirectives)((0,i.h)(this.tag,{style:v,class:[y.e("cell"),y.e("content"),y.is("bordered-content",r),y.is("vertical-content",a),d,p],colSpan:a?c:2*c-1,rowspan:a?2*u-1:u},l()),n);default:{const e=s(),r={},o=(0,m._V)(t.labelWidth||this.descriptions.labelWidth);return o&&(r.width=o,r.display="inline-block"),(0,i.withDirectives)((0,i.h)("td",{style:v,class:[y.e("cell"),d],colSpan:c,rowspan:u},[(0,sn.A)(e)?void 0:(0,i.h)("span",{style:r,class:[y.e("label"),g]},e),(0,i.h)("span",{class:[y.e("content"),p]},l())]),n)}}}});const md=(0,l.b_)({row:{type:(0,l.jq)(Array),default:()=>[]}}),gd=(0,i.defineComponent)({name:"ElDescriptionsRow"}),Ad=(0,i.defineComponent)({...gd,props:md,setup(e){const t=(0,i.inject)(hd,{});return(e,n)=>"vertical"===(0,i.unref)(t).direction?((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:0},[(0,i.createElementVNode)("tr",null,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.row,((e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(pd),{key:`tr1-${t}`,cell:e,tag:"th",type:"label"},null,8,["cell"])))),128))]),(0,i.createElementVNode)("tr",null,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.row,((e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(pd),{key:`tr2-${t}`,cell:e,tag:"td",type:"content"},null,8,["cell"])))),128))])],64)):((0,i.openBlock)(),(0,i.createElementBlock)("tr",{key:1},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.row,((e,n)=>((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:`tr3-${n}`},[(0,i.unref)(t).border?((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:0},[(0,i.createVNode)((0,i.unref)(pd),{cell:e,tag:"td",type:"label"},null,8,["cell"]),(0,i.createVNode)((0,i.unref)(pd),{cell:e,tag:"td",type:"content"},null,8,["cell"])],64)):((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(pd),{key:1,cell:e,tag:"td",type:"both"},null,8,["cell"]))],64)))),128))]))}});var vd=(0,f.A)(Ad,[["__file","descriptions-row.vue"]]);const yd=(0,l.b_)({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:za.mU,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number],default:""}}),Od=(0,i.defineComponent)({name:"ElDescriptions"}),bd=(0,i.defineComponent)({...Od,props:yd,setup(e){const t=e,n=(0,h.DU)("descriptions"),r=(0,Jn.NV)(),o=(0,i.useSlots)();(0,i.provide)(hd,t);const a=(0,i.computed)((()=>[n.b(),n.m(r.value)])),s=(e,t,n,r=!1)=>(e.props||(e.props={}),t>n&&(e.props.span=n),r&&(e.props.span=t),e),l=()=>{if(!o.default)return[];const e=(0,mo.CW)(o.default()).filter((e=>{var t;return"ElDescriptionsItem"===(null==(t=null==e?void 0:e.type)?void 0:t.name)})),n=[];let r=[],i=t.column,a=0;const l=[];return e.forEach(((o,c)=>{var u,d,f;const h=(null==(u=o.props)?void 0:u.span)||1,p=(null==(d=o.props)?void 0:d.rowspan)||1,m=n.length;if(l[m]||(l[m]=0),p>1)for(let e=1;e<p;e++)l[f=m+e]||(l[f]=0),l[m+e]++,a++;if(l[m]>0&&(i-=l[m],l[m]=0),c<e.length-1&&(a+=h>i?i:h),c===e.length-1){const e=t.column-a%t.column;return r.push(s(o,e,i,!0)),void n.push(r)}h<i?(i-=h,r.push(o)):(r.push(s(o,h,i)),n.push(r),i=t.column,r=[])})),n};return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)((0,i.unref)(a))},[e.title||e.extra||e.$slots.title||e.$slots.extra?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(n).e("header"))},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(n).e("title"))},[(0,i.renderSlot)(e.$slots,"title",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.title),1)]))],2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(n).e("extra"))},[(0,i.renderSlot)(e.$slots,"extra",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.extra),1)]))],2)],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(n).e("body"))},[(0,i.createElementVNode)("table",{class:(0,i.normalizeClass)([(0,i.unref)(n).e("table"),(0,i.unref)(n).is("bordered",e.border)])},[(0,i.createElementVNode)("tbody",null,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(l(),((e,t)=>((0,i.openBlock)(),(0,i.createBlock)(vd,{key:t,row:e},null,8,["row"])))),128))])],2)],2)],2))}});var wd=(0,f.A)(bd,[["__file","description.vue"]]);const _d=(0,l.b_)({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}),xd=(0,i.defineComponent)({name:"ElDescriptionsItem",props:_d}),Sd=(0,b.GU)(wd,{DescriptionsItem:xd}),kd=(0,b.WM)(xd);var Cd=n(12273);const Bd=Symbol("dialogInjectionKey"),Qd=(0,l.b_)({center:Boolean,alignCenter:Boolean,closeIcon:{type:x.Ze},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}});var Td=n(36940),Ed=n(50180);const Pd=(...e)=>t=>{e.forEach((e=>{(0,se.Tn)(e)?e(t):e.value=t}))},$d=(0,i.defineComponent)({name:"ElDialogContent"}),Md=(0,i.defineComponent)({...$d,props:Qd,emits:{close:()=>!0},setup(e,{expose:t}){const n=e,{t:r}=(0,wr.Ym)(),{Close:o}=x.H2,{dialogRef:a,headerRef:s,bodyId:l,ns:c,style:u}=(0,i.inject)(Bd),{focusTrapRef:d}=(0,i.inject)(Td.r3),f=(0,i.computed)((()=>[c.b(),c.is("fullscreen",n.fullscreen),c.is("draggable",n.draggable),c.is("align-center",n.alignCenter),{[c.m("center")]:n.center}])),h=Pd(d,a),p=(0,i.computed)((()=>n.draggable)),m=(0,i.computed)((()=>n.overflow)),{resetPosition:g}=(0,Ed.P)(a,s,p,m);return t({resetPosition:g}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref:(0,i.unref)(h),class:(0,i.normalizeClass)((0,i.unref)(f)),style:(0,i.normalizeStyle)((0,i.unref)(u)),tabindex:"-1"},[(0,i.createElementVNode)("header",{ref_key:"headerRef",ref:s,class:(0,i.normalizeClass)([(0,i.unref)(c).e("header"),e.headerClass,{"show-close":e.showClose}])},[(0,i.renderSlot)(e.$slots,"header",{},(()=>[(0,i.createElementVNode)("span",{role:"heading","aria-level":e.ariaLevel,class:(0,i.normalizeClass)((0,i.unref)(c).e("title"))},(0,i.toDisplayString)(e.title),11,["aria-level"])])),e.showClose?((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:0,"aria-label":(0,i.unref)(r)("el.dialog.close"),class:(0,i.normalizeClass)((0,i.unref)(c).e("headerbtn")),type:"button",onClick:t=>e.$emit("close")},[(0,i.createVNode)((0,i.unref)(_.tk),{class:(0,i.normalizeClass)((0,i.unref)(c).e("close"))},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.closeIcon||(0,i.unref)(o))))])),_:1},8,["class"])],10,["aria-label","onClick"])):(0,i.createCommentVNode)("v-if",!0)],2),(0,i.createElementVNode)("div",{id:(0,i.unref)(l),class:(0,i.normalizeClass)([(0,i.unref)(c).e("body"),e.bodyClass])},[(0,i.renderSlot)(e.$slots,"default")],10,["id"]),e.$slots.footer?((0,i.openBlock)(),(0,i.createElementBlock)("footer",{key:0,class:(0,i.normalizeClass)([(0,i.unref)(c).e("footer"),e.footerClass])},[(0,i.renderSlot)(e.$slots,"footer")],2)):(0,i.createCommentVNode)("v-if",!0)],6))}});var zd=(0,f.A)(Md,[["__file","dialog-content.vue"]]);const Rd=(0,l.b_)({...Qd,appendToBody:Boolean,appendTo:{type:(0,l.jq)([String,Object]),default:"body"},beforeClose:{type:(0,l.jq)(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"}}),Dd={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[s.l4]:e=>(0,c.Lm)(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0};var Id=n(16908);const Nd=(e,t)=>{var n;const r=(0,i.getCurrentInstance)().emit,{nextZIndex:a}=(0,Mn.YK)();let l="";const c=(0,kn.Bi)(),u=(0,kn.Bi)(),d=(0,i.ref)(!1),f=(0,i.ref)(!1),p=(0,i.ref)(!1),g=(0,i.ref)(null!=(n=e.zIndex)?n:a());let A,v;const y=(0,o.H3)("namespace",h.Lt),O=(0,i.computed)((()=>{const t={},n=`--${y.value}-dialog`;return e.fullscreen||(e.top&&(t[`${n}-margin-top`]=e.top),e.width&&(t[`${n}-width`]=(0,m._V)(e.width))),t})),b=(0,i.computed)((()=>e.alignCenter?{display:"flex"}:{}));function w(){null==v||v(),null==A||A(),e.openDelay&&e.openDelay>0?({stop:A}=(0,Y.TO)((()=>S()),e.openDelay)):S()}function _(){null==A||A(),null==v||v(),e.closeDelay&&e.closeDelay>0?({stop:v}=(0,Y.TO)((()=>k()),e.closeDelay)):k()}function x(){e.beforeClose?e.beforeClose((function(e){e||(f.value=!0,d.value=!1)})):_()}function S(){Y.oc&&(d.value=!0)}function k(){d.value=!1}return e.lockScroll&&(0,Id.t)(d),(0,i.watch)((()=>e.modelValue),(n=>{n?(f.value=!1,w(),p.value=!0,g.value=Qn(e.zIndex)?a():g.value++,(0,i.nextTick)((()=>{r("open"),t.value&&(t.value.parentElement.scrollTop=0,t.value.parentElement.scrollLeft=0,t.value.scrollTop=0)}))):d.value&&_()})),(0,i.watch)((()=>e.fullscreen),(e=>{t.value&&(e?(l=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=l)})),(0,i.onMounted)((()=>{e.modelValue&&(d.value=!0,p.value=!0,w())})),{afterEnter:function(){r("opened")},afterLeave:function(){r("closed"),r(s.l4,!1),e.destroyOnClose&&(p.value=!1)},beforeLeave:function(){r("close")},handleClose:x,onModalClick:function(){e.closeOnClickModal&&x()},close:_,doClose:k,onOpenAutoFocus:function(){r("openAutoFocus")},onCloseAutoFocus:function(){r("closeAutoFocus")},onCloseRequested:function(){e.closeOnPressEscape&&x()},onFocusoutPrevented:function(e){var t;"pointer"===(null==(t=e.detail)?void 0:t.focusReason)&&e.preventDefault()},titleId:c,bodyId:u,closed:f,style:O,overlayDialogStyle:b,rendered:p,visible:d,zIndex:g}};var Ld=n(42757);const Vd=(0,i.defineComponent)({name:"ElDialog",inheritAttrs:!1}),Ud=(0,i.defineComponent)({...Vd,props:Rd,emits:Dd,setup(e,{expose:t}){const n=e,r=(0,i.useSlots)();(0,La.b)({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},(0,i.computed)((()=>!!r.title)));const o=(0,h.DU)("dialog"),a=(0,i.ref)(),s=(0,i.ref)(),l=(0,i.ref)(),{visible:c,titleId:u,bodyId:d,style:f,overlayDialogStyle:p,rendered:m,zIndex:g,afterEnter:A,afterLeave:v,beforeLeave:y,handleClose:O,onModalClick:b,onOpenAutoFocus:w,onCloseAutoFocus:_,onCloseRequested:x,onFocusoutPrevented:S}=Nd(n,a);(0,i.provide)(Bd,{dialogRef:a,headerRef:s,bodyId:d,ns:o,rendered:m,style:f});const k=(0,Ld.r)(b),C=(0,i.computed)((()=>n.draggable&&!n.fullscreen));return t({visible:c,dialogContentRef:l,resetPosition:()=>{var e;null==(e=l.value)||e.resetPosition()}}),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Sn),{to:e.appendTo,disabled:"body"===e.appendTo&&!e.appendToBody},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(i.Transition,{name:"dialog-fade",onAfterEnter:(0,i.unref)(A),onAfterLeave:(0,i.unref)(v),onBeforeLeave:(0,i.unref)(y),persisted:""},{default:(0,i.withCtx)((()=>[(0,i.withDirectives)((0,i.createVNode)((0,i.unref)(Cd._q),{"custom-mask-event":"",mask:e.modal,"overlay-class":e.modalClass,"z-index":(0,i.unref)(g)},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{role:"dialog","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:(0,i.unref)(u),"aria-describedby":(0,i.unref)(d),class:(0,i.normalizeClass)(`${(0,i.unref)(o).namespace.value}-overlay-dialog`),style:(0,i.normalizeStyle)((0,i.unref)(p)),onClick:(0,i.unref)(k).onClick,onMousedown:(0,i.unref)(k).onMousedown,onMouseup:(0,i.unref)(k).onMouseup},[(0,i.createVNode)((0,i.unref)(Bn.A),{loop:"",trapped:(0,i.unref)(c),"focus-start-el":"container",onFocusAfterTrapped:(0,i.unref)(w),onFocusAfterReleased:(0,i.unref)(_),onFocusoutPrevented:(0,i.unref)(S),onReleaseRequested:(0,i.unref)(x)},{default:(0,i.withCtx)((()=>[(0,i.unref)(m)?((0,i.openBlock)(),(0,i.createBlock)(zd,(0,i.mergeProps)({key:0,ref_key:"dialogContentRef",ref:l},e.$attrs,{center:e.center,"align-center":e.alignCenter,"close-icon":e.closeIcon,draggable:(0,i.unref)(C),overflow:e.overflow,fullscreen:e.fullscreen,"header-class":e.headerClass,"body-class":e.bodyClass,"footer-class":e.footerClass,"show-close":e.showClose,title:e.title,"aria-level":e.headerAriaLevel,onClose:(0,i.unref)(O)}),(0,i.createSlots)({header:(0,i.withCtx)((()=>[e.$slots.title?(0,i.renderSlot)(e.$slots,"title",{key:1}):(0,i.renderSlot)(e.$slots,"header",{key:0,close:(0,i.unref)(O),titleId:(0,i.unref)(u),titleClass:(0,i.unref)(o).e("title")})])),default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:2},[e.$slots.footer?{name:"footer",fn:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"footer")]))}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose"])):(0,i.createCommentVNode)("v-if",!0)])),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,["aria-label","aria-labelledby","aria-describedby","onClick","onMousedown","onMouseup"])])),_:3},8,["mask","overlay-class","z-index"]),[[i.vShow,(0,i.unref)(c)]])])),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])])),_:3},8,["to","disabled"]))}});var Fd=(0,f.A)(Ud,[["__file","dialog.vue"]]);const Hd=(0,b.GU)(Fd),Wd=(0,l.b_)({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:(0,l.jq)(String),default:"solid"}}),Xd=(0,i.defineComponent)({name:"ElDivider"}),jd=(0,i.defineComponent)({...Xd,props:Wd,setup(e){const t=e,n=(0,h.DU)("divider"),r=(0,i.computed)((()=>n.cssVar({"border-style":t.borderStyle})));return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(n).b(),(0,i.unref)(n).m(e.direction)]),style:(0,i.normalizeStyle)((0,i.unref)(r)),role:"separator"},[e.$slots.default&&"vertical"!==e.direction?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)([(0,i.unref)(n).e("text"),(0,i.unref)(n).is(e.contentPosition)])},[(0,i.renderSlot)(e.$slots,"default")],2)):(0,i.createCommentVNode)("v-if",!0)],6))}});var qd=(0,f.A)(jd,[["__file","divider.vue"]]);const Zd=(0,b.GU)(qd),Yd=(0,l.b_)({...Rd,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),Gd=Dd,Kd=(0,i.defineComponent)({name:"ElDrawer",inheritAttrs:!1}),Jd=(0,i.defineComponent)({...Kd,props:Yd,emits:Gd,setup(e,{expose:t}){const n=e,r=(0,i.useSlots)();(0,La.b)({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},(0,i.computed)((()=>!!r.title)));const o=(0,i.ref)(),a=(0,i.ref)(),s=(0,h.DU)("drawer"),{t:l}=(0,wr.Ym)(),{afterEnter:c,afterLeave:u,beforeLeave:d,visible:f,rendered:p,titleId:g,bodyId:A,zIndex:v,onModalClick:y,onOpenAutoFocus:O,onCloseAutoFocus:b,onFocusoutPrevented:w,onCloseRequested:x,handleClose:S}=Nd(n,o),k=(0,i.computed)((()=>"rtl"===n.direction||"ltr"===n.direction)),C=(0,i.computed)((()=>(0,m._V)(n.size)));return t({handleClose:S,afterEnter:c,afterLeave:u}),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Sn),{to:e.appendTo,disabled:"body"===e.appendTo&&!e.appendToBody},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(i.Transition,{name:(0,i.unref)(s).b("fade"),onAfterEnter:(0,i.unref)(c),onAfterLeave:(0,i.unref)(u),onBeforeLeave:(0,i.unref)(d),persisted:""},{default:(0,i.withCtx)((()=>[(0,i.withDirectives)((0,i.createVNode)((0,i.unref)(Cd._q),{mask:e.modal,"overlay-class":e.modalClass,"z-index":(0,i.unref)(v),onClick:(0,i.unref)(y)},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(Bn.A),{loop:"",trapped:(0,i.unref)(f),"focus-trap-el":o.value,"focus-start-el":a.value,onFocusAfterTrapped:(0,i.unref)(O),onFocusAfterReleased:(0,i.unref)(b),onFocusoutPrevented:(0,i.unref)(w),onReleaseRequested:(0,i.unref)(x)},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",(0,i.mergeProps)({ref_key:"drawerRef",ref:o,"aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:(0,i.unref)(g),"aria-describedby":(0,i.unref)(A)},e.$attrs,{class:[(0,i.unref)(s).b(),e.direction,(0,i.unref)(f)&&"open"],style:(0,i.unref)(k)?"width: "+(0,i.unref)(C):"height: "+(0,i.unref)(C),role:"dialog",onClick:(0,i.withModifiers)((()=>{}),["stop"])}),[(0,i.createElementVNode)("span",{ref_key:"focusStartRef",ref:a,class:(0,i.normalizeClass)((0,i.unref)(s).e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?((0,i.openBlock)(),(0,i.createElementBlock)("header",{key:0,class:(0,i.normalizeClass)([(0,i.unref)(s).e("header"),e.headerClass])},[e.$slots.title?(0,i.renderSlot)(e.$slots,"title",{key:1},(()=>[(0,i.createCommentVNode)(" DEPRECATED SLOT ")])):(0,i.renderSlot)(e.$slots,"header",{key:0,close:(0,i.unref)(S),titleId:(0,i.unref)(g),titleClass:(0,i.unref)(s).e("title")},(()=>[e.$slots.title?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0,id:(0,i.unref)(g),role:"heading","aria-level":e.headerAriaLevel,class:(0,i.normalizeClass)((0,i.unref)(s).e("title"))},(0,i.toDisplayString)(e.title),11,["id","aria-level"]))])),e.showClose?((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:2,"aria-label":(0,i.unref)(l)("el.drawer.close"),class:(0,i.normalizeClass)((0,i.unref)(s).e("close-btn")),type:"button",onClick:(0,i.unref)(S)},[(0,i.createVNode)((0,i.unref)(_.tk),{class:(0,i.normalizeClass)((0,i.unref)(s).e("close"))},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.Close))])),_:1},8,["class"])],10,["aria-label","onClick"])):(0,i.createCommentVNode)("v-if",!0)],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.unref)(p)?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,id:(0,i.unref)(A),class:(0,i.normalizeClass)([(0,i.unref)(s).e("body"),e.bodyClass])},[(0,i.renderSlot)(e.$slots,"default")],10,["id"])):(0,i.createCommentVNode)("v-if",!0),e.$slots.footer?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:2,class:(0,i.normalizeClass)([(0,i.unref)(s).e("footer"),e.footerClass])},[(0,i.renderSlot)(e.$slots,"footer")],2)):(0,i.createCommentVNode)("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])])),_:3},8,["mask","overlay-class","z-index","onClick"]),[[i.vShow,(0,i.unref)(f)]])])),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])])),_:3},8,["to","disabled"]))}});var ef=(0,f.A)(Jd,[["__file","drawer.vue"]]);const tf=(0,b.GU)(ef),nf=(0,i.defineComponent)({inheritAttrs:!1});var rf=(0,f.A)(nf,[["render",function(e,t,n,r,o,a){return(0,i.renderSlot)(e.$slots,"default")}],["__file","collection.vue"]]);const of=(0,i.defineComponent)({name:"ElCollectionItem",inheritAttrs:!1});var af=(0,f.A)(of,[["render",function(e,t,n,r,o,a){return(0,i.renderSlot)(e.$slots,"default")}],["__file","collection-item.vue"]]);const sf="data-el-collection-item",lf=e=>{const t=`El${e}Collection`,n=`${t}Item`,r=Symbol(t),o=Symbol(n),a={...rf,name:t,setup(){const e=(0,i.ref)(),t=new Map;(0,i.provide)(r,{itemMap:t,getItems:()=>{const n=(0,i.unref)(e);if(!n)return[];const r=Array.from(n.querySelectorAll(`[${sf}]`));return[...t.values()].sort(((e,t)=>r.indexOf(e.ref)-r.indexOf(t.ref)))},collectionRef:e})}},s={...af,name:n,setup(e,{attrs:t}){const n=(0,i.ref)(),a=(0,i.inject)(r,void 0);(0,i.provide)(o,{collectionItemRef:n}),(0,i.onMounted)((()=>{const e=(0,i.unref)(n);e&&a.itemMap.set(e,{ref:e,...t})})),(0,i.onBeforeUnmount)((()=>{const e=(0,i.unref)(n);a.itemMap.delete(e)}))}};return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:o,ElCollection:a,ElCollectionItem:s}},cf=(0,l.b_)({style:{type:(0,l.jq)([String,Array,Object])},currentTabId:{type:(0,l.jq)(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:(0,l.jq)(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:uf,ElCollectionItem:df,COLLECTION_INJECTION_KEY:ff,COLLECTION_ITEM_INJECTION_KEY:hf}=lf("RovingFocusGroup"),pf=Symbol("elRovingFocusGroup"),mf=Symbol("elRovingFocusGroupItem"),gf={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},Af=e=>{const{activeElement:t}=document;for(const n of e){if(n===t)return;if(n.focus(),t!==document.activeElement)return}},vf="currentTabIdChange",yf="rovingFocusGroup.entryFocus",Of={bubbles:!1,cancelable:!0},bf=(0,i.defineComponent)({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:cf,emits:[vf,"entryFocus"],setup(e,{emit:t}){var n;const r=(0,i.ref)(null!=(n=e.currentTabId||e.defaultCurrentTabId)?n:null),o=(0,i.ref)(!1),s=(0,i.ref)(!1),l=(0,i.ref)(),{getItems:c}=(0,i.inject)(ff,void 0),u=(0,i.computed)((()=>[{outline:"none"},e.style])),d=An((t=>{var n;null==(n=e.onMousedown)||n.call(e,t)}),(()=>{s.value=!0})),f=An((t=>{var n;null==(n=e.onFocus)||n.call(e,t)}),(e=>{const t=!(0,i.unref)(s),{target:n,currentTarget:a}=e;if(n===a&&t&&!(0,i.unref)(o)){const e=new Event(yf,Of);if(null==a||a.dispatchEvent(e),!e.defaultPrevented){const e=c().filter((e=>e.focusable)),t=[e.find((e=>e.active)),e.find((e=>e.id===(0,i.unref)(r))),...e].filter(Boolean).map((e=>e.ref));Af(t)}}s.value=!1})),h=An((t=>{var n;null==(n=e.onBlur)||n.call(e,t)}),(()=>{o.value=!1}));(0,i.provide)(pf,{currentTabbedId:(0,i.readonly)(r),loop:(0,i.toRef)(e,"loop"),tabIndex:(0,i.computed)((()=>(0,i.unref)(o)?-1:0)),rovingFocusGroupRef:l,rovingFocusGroupRootStyle:u,orientation:(0,i.toRef)(e,"orientation"),dir:(0,i.toRef)(e,"dir"),onItemFocus:e=>{t(vf,e)},onItemShiftTab:()=>{o.value=!0},onBlur:h,onFocus:f,onMousedown:d}),(0,i.watch)((()=>e.currentTabId),(e=>{r.value=null!=e?e:null})),(0,a.MLh)(l,yf,((...e)=>{t("entryFocus",...e)}))}});var wf=(0,f.A)(bf,[["render",function(e,t,n,r,o,a){return(0,i.renderSlot)(e.$slots,"default")}],["__file","roving-focus-group-impl.vue"]]);const _f=(0,i.defineComponent)({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:uf,ElRovingFocusGroupImpl:wf}});var xf=(0,f.A)(_f,[["render",function(e,t,n,r,o,a){const s=(0,i.resolveComponent)("el-roving-focus-group-impl"),l=(0,i.resolveComponent)("el-focus-group-collection");return(0,i.openBlock)(),(0,i.createBlock)(l,null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)(s,(0,i.normalizeProps)((0,i.guardReactiveProps)(e.$attrs)),{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},16)])),_:3})}],["__file","roving-focus-group.vue"]]);const Sf=(0,l.b_)({trigger:Xt.trigger,triggerKeys:{type:(0,l.jq)(Array),default:()=>[Wt.R.enter,Wt.R.numpadEnter,Wt.R.space,Wt.R.down]},effect:{...Ft.effect,default:"light"},type:{type:(0,l.jq)(String)},placement:{type:(0,l.jq)(String),default:"bottom"},popperOptions:{type:(0,l.jq)(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:(0,l.jq)([Number,String]),default:0},maxHeight:{type:(0,l.jq)([Number,String]),default:""},popperClass:{type:String,default:""},disabled:Boolean,role:{type:String,values:me,default:"menu"},buttonProps:{type:(0,l.jq)(Object)},teleported:Ft.teleported,persistent:{type:Boolean,default:!0}}),kf=(0,l.b_)({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:x.Ze}}),Cf=(0,l.b_)({onKeydown:{type:(0,l.jq)(Function)}}),Bf=[Wt.R.down,Wt.R.pageDown,Wt.R.home],Qf=[Wt.R.up,Wt.R.pageUp,Wt.R.end],Tf=[...Bf,...Qf],{ElCollection:Ef,ElCollectionItem:Pf,COLLECTION_INJECTION_KEY:$f,COLLECTION_ITEM_INJECTION_KEY:Mf}=lf("Dropdown"),zf=Symbol("elDropdown"),{ButtonGroup:Rf}=Pr.S2,Df=(0,i.defineComponent)({name:"ElDropdown",components:{ElButton:Pr.S2,ElButtonGroup:Rf,ElScrollbar:fe,ElDropdownCollection:Ef,ElTooltip:Zn,ElRovingFocusGroup:xf,ElOnlyChild:dn,ElIcon:_.tk,ArrowDown:j.ArrowDown},props:Sf,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=(0,i.getCurrentInstance)(),r=(0,h.DU)("dropdown"),{t:o}=(0,wr.Ym)(),a=(0,i.ref)(),s=(0,i.ref)(),l=(0,i.ref)(),c=(0,i.ref)(),u=(0,i.ref)(null),d=(0,i.ref)(null),f=(0,i.ref)(!1),p=(0,i.computed)((()=>({maxHeight:(0,m._V)(e.maxHeight)}))),g=(0,i.computed)((()=>[r.m(b.value)])),A=(0,i.computed)((()=>_l(e.trigger))),v=(0,kn.Bi)().value,y=(0,i.computed)((()=>e.id||v));function O(){var e;null==(e=l.value)||e.onClose()}(0,i.watch)([a,A],(([e,t],[n])=>{var r,o,i;(null==(r=null==n?void 0:n.$el)?void 0:r.removeEventListener)&&n.$el.removeEventListener("pointerenter",w),(null==(o=null==e?void 0:e.$el)?void 0:o.removeEventListener)&&e.$el.removeEventListener("pointerenter",w),(null==(i=null==e?void 0:e.$el)?void 0:i.addEventListener)&&t.includes("hover")&&e.$el.addEventListener("pointerenter",w)}),{immediate:!0}),(0,i.onBeforeUnmount)((()=>{var e,t;(null==(t=null==(e=a.value)?void 0:e.$el)?void 0:t.removeEventListener)&&a.value.$el.removeEventListener("pointerenter",w)}));const b=(0,Jn.NV)();function w(){var e,t;null==(t=null==(e=a.value)?void 0:e.$el)||t.focus()}return(0,i.provide)(zf,{contentRef:c,role:(0,i.computed)((()=>e.role)),triggerId:y,isUsingKeyboard:f,onItemEnter:function(){},onItemLeave:function(){const e=(0,i.unref)(c);A.value.includes("hover")&&(null==e||e.focus()),d.value=null}}),(0,i.provide)("elDropdown",{instance:n,dropdownSize:b,handleClick:function(){O()},commandHandler:function(...e){t("command",...e)},trigger:(0,i.toRef)(e,"trigger"),hideOnClick:(0,i.toRef)(e,"hideOnClick")}),{t:o,ns:r,scrollbar:u,wrapStyle:p,dropdownTriggerKls:g,dropdownSize:b,triggerId:y,currentTabId:d,handleCurrentTabIdChange:function(e){d.value=e},handlerMainButtonClick:e=>{t("click",e)},handleEntryFocus:function(e){f.value||(e.preventDefault(),e.stopImmediatePropagation())},handleClose:O,handleOpen:function(){var e;null==(e=l.value)||e.onOpen()},handleBeforeShowTooltip:function(){t("visible-change",!0)},handleShowTooltip:function(e){var t;"keydown"===(null==e?void 0:e.type)&&(null==(t=c.value)||t.focus())},handleBeforeHideTooltip:function(){t("visible-change",!1)},onFocusAfterTrapped:e=>{var t,n;e.preventDefault(),null==(n=null==(t=c.value)?void 0:t.focus)||n.call(t,{preventScroll:!0})},popperRef:l,contentRef:c,triggeringElementRef:a,referenceElementRef:s}}});var If=(0,f.A)(Df,[["render",function(e,t,n,r,o,a){var s;const l=(0,i.resolveComponent)("el-dropdown-collection"),c=(0,i.resolveComponent)("el-roving-focus-group"),u=(0,i.resolveComponent)("el-scrollbar"),d=(0,i.resolveComponent)("el-only-child"),f=(0,i.resolveComponent)("el-tooltip"),h=(0,i.resolveComponent)("el-button"),p=(0,i.resolveComponent)("arrow-down"),m=(0,i.resolveComponent)("el-icon"),g=(0,i.resolveComponent)("el-button-group");return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([e.ns.b(),e.ns.is("disabled",e.disabled)])},[(0,i.createVNode)(f,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":"hover"===e.trigger?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":null==(s=e.referenceElementRef)?void 0:s.$el,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-after":"hover"===e.trigger?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,pure:"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},(0,i.createSlots)({content:(0,i.withCtx)((()=>[(0,i.createVNode)(u,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(c,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(l,null,{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"dropdown")])),_:3})])),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])])),_:3},8,["wrap-style","view-class"])])),_:2},[e.splitButton?void 0:{name:"default",fn:(0,i.withCtx)((()=>[(0,i.createVNode)(d,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},8,["id","tabindex"])]))}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?((0,i.openBlock)(),(0,i.createBlock)(g,{key:0},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(h,(0,i.mergeProps)({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},16,["size","type","disabled","tabindex","onClick"]),(0,i.createVNode)(h,(0,i.mergeProps)({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:(0,i.withCtx)((()=>[(0,i.createVNode)(m,{class:(0,i.normalizeClass)(e.ns.e("icon"))},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(p)])),_:1},8,["class"])])),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])])),_:3})):(0,i.createCommentVNode)("v-if",!0)],2)}],["__file","dropdown.vue"]]);const Nf=(0,i.defineComponent)({components:{ElRovingFocusCollectionItem:df},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,loop:r,onItemFocus:o,onItemShiftTab:a}=(0,i.inject)(pf,void 0),{getItems:s}=(0,i.inject)(ff,void 0),l=(0,kn.Bi)(),c=(0,i.ref)(),u=An((e=>{t("mousedown",e)}),(t=>{e.focusable?o((0,i.unref)(l)):t.preventDefault()})),d=An((e=>{t("focus",e)}),(()=>{o((0,i.unref)(l))})),f=An((e=>{t("keydown",e)}),(e=>{const{code:t,shiftKey:n,target:o,currentTarget:l}=e;if(t===Wt.R.tab&&n)return void a();if(o!==l)return;const c=((e,t,n)=>{const r=((e,t)=>{if("rtl"!==t)return e;switch(e){case Wt.R.right:return Wt.R.left;case Wt.R.left:return Wt.R.right;default:return e}})(e.code,n);if(!("vertical"===t&&[Wt.R.left,Wt.R.right].includes(r)||"horizontal"===t&&[Wt.R.up,Wt.R.down].includes(r)))return gf[r]})(e);if(c){e.preventDefault();let t=s().filter((e=>e.focusable)).map((e=>e.ref));switch(c){case"last":t.reverse();break;case"prev":case"next":{"prev"===c&&t.reverse();const e=t.indexOf(l);t=r.value?(d=e+1,(u=t).map(((e,t)=>u[(t+d)%u.length]))):t.slice(e+1);break}}(0,i.nextTick)((()=>{Af(t)}))}var u,d})),h=(0,i.computed)((()=>n.value===(0,i.unref)(l)));return(0,i.provide)(mf,{rovingFocusGroupItemRef:c,tabIndex:(0,i.computed)((()=>(0,i.unref)(h)?0:-1)),handleMousedown:u,handleFocus:d,handleKeydown:f}),{id:l,handleKeydown:f,handleFocus:d,handleMousedown:u}}});var Lf=(0,f.A)(Nf,[["render",function(e,t,n,r,o,a){const s=(0,i.resolveComponent)("el-roving-focus-collection-item");return(0,i.openBlock)(),(0,i.createBlock)(s,{id:e.id,focusable:e.focusable,active:e.active},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},8,["id","focusable","active"])}],["__file","roving-focus-item.vue"]]);const Vf=(0,i.defineComponent)({name:"DropdownItemImpl",components:{ElIcon:_.tk},props:kf,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=(0,h.DU)("dropdown"),{role:r}=(0,i.inject)(zf,void 0),{collectionItemRef:o}=(0,i.inject)(Mf,void 0),{collectionItemRef:a}=(0,i.inject)(hf,void 0),{rovingFocusGroupItemRef:s,tabIndex:l,handleFocus:c,handleKeydown:u,handleMousedown:d}=(0,i.inject)(mf,void 0),f=Pd(o,a,s),p=(0,i.computed)((()=>"menu"===r.value?"menuitem":"navigation"===r.value?"link":"button")),m=An((e=>{if([Wt.R.enter,Wt.R.numpadEnter,Wt.R.space].includes(e.code))return e.preventDefault(),e.stopImmediatePropagation(),t("clickimpl",e),!0}),u);return{ns:n,itemRef:f,dataset:{[sf]:""},role:p,tabIndex:l,handleFocus:c,handleKeydown:m,handleMousedown:d}}});var Uf=(0,f.A)(Vf,[["render",function(e,t,n,r,o,a){const s=(0,i.resolveComponent)("el-icon");return(0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,null,[e.divided?((0,i.openBlock)(),(0,i.createElementBlock)("li",{key:0,role:"separator",class:(0,i.normalizeClass)(e.ns.bem("menu","item","divided"))},null,2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("li",(0,i.mergeProps)({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t=>e.$emit("clickimpl",t),onFocus:e.handleFocus,onKeydown:(0,i.withModifiers)(e.handleKeydown,["self"]),onMousedown:e.handleMousedown,onPointermove:t=>e.$emit("pointermove",t),onPointerleave:t=>e.$emit("pointerleave",t)}),[e.icon?((0,i.openBlock)(),(0,i.createBlock)(s,{key:0},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.icon)))])),_:1})):(0,i.createCommentVNode)("v-if",!0),(0,i.renderSlot)(e.$slots,"default")],16,["aria-disabled","tabindex","role","onClick","onFocus","onKeydown","onMousedown","onPointermove","onPointerleave"])],64)}],["__file","dropdown-item-impl.vue"]]);const Ff=()=>{const e=(0,i.inject)("elDropdown",{}),t=(0,i.computed)((()=>null==e?void 0:e.dropdownSize));return{elDropdown:e,_elDropdownSize:t}},Hf=(0,i.defineComponent)({name:"ElDropdownItem",components:{ElDropdownCollectionItem:Pf,ElRovingFocusItem:Lf,ElDropdownItemImpl:Uf},inheritAttrs:!1,props:kf,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:r}=Ff(),o=(0,i.getCurrentInstance)(),a=(0,i.ref)(null),s=(0,i.computed)((()=>{var e,t;return null!=(t=null==(e=(0,i.unref)(a))?void 0:e.textContent)?t:""})),{onItemEnter:l,onItemLeave:c}=(0,i.inject)(zf,void 0),u=An((e=>(t("pointermove",e),e.defaultPrevented)),vn((t=>{if(e.disabled)return void c(t);const n=t.currentTarget;n===document.activeElement||n.contains(document.activeElement)||(l(t),t.defaultPrevented||null==n||n.focus())}))),d=An((e=>(t("pointerleave",e),e.defaultPrevented)),vn(c));return{handleClick:An((n=>{if(!e.disabled)return t("click",n),"keydown"!==n.type&&n.defaultPrevented}),(t=>{var n,i,a;e.disabled?t.stopImmediatePropagation():((null==(n=null==r?void 0:r.hideOnClick)?void 0:n.value)&&(null==(i=r.handleClick)||i.call(r)),null==(a=r.commandHandler)||a.call(r,e.command,o,t))})),handlePointerMove:u,handlePointerLeave:d,textContent:s,propsAndAttrs:(0,i.computed)((()=>({...e,...n})))}}});var Wf=(0,f.A)(Hf,[["render",function(e,t,n,r,o,a){var s;const l=(0,i.resolveComponent)("el-dropdown-item-impl"),c=(0,i.resolveComponent)("el-roving-focus-item"),u=(0,i.resolveComponent)("el-dropdown-collection-item");return(0,i.openBlock)(),(0,i.createBlock)(u,{disabled:e.disabled,"text-value":null!=(s=e.textValue)?s:e.textContent},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(c,{focusable:!e.disabled},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(l,(0,i.mergeProps)(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},16,["onPointerleave","onPointermove","onClickimpl"])])),_:3},8,["focusable"])])),_:3},8,["disabled","text-value"])}],["__file","dropdown-item.vue"]]);const Xf=(0,i.defineComponent)({name:"ElDropdownMenu",props:Cf,setup(e){const t=(0,h.DU)("dropdown"),{_elDropdownSize:n}=Ff(),r=n.value,{focusTrapRef:o,onKeydown:a}=(0,i.inject)(Td.r3,void 0),{contentRef:s,role:l,triggerId:c}=(0,i.inject)(zf,void 0),{collectionRef:u,getItems:d}=(0,i.inject)($f,void 0),{rovingFocusGroupRef:f,rovingFocusGroupRootStyle:p,tabIndex:m,onBlur:g,onFocus:A,onMousedown:v}=(0,i.inject)(pf,void 0),{collectionRef:y}=(0,i.inject)(ff,void 0),O=(0,i.computed)((()=>[t.b("menu"),t.bm("menu",null==r?void 0:r.value)])),b=Pd(s,u,o,f,y),w=An((t=>{var n;null==(n=e.onKeydown)||n.call(e,t)}),(e=>{const{currentTarget:t,code:n,target:r}=e;if(t.contains(r),Wt.R.tab===n&&e.stopImmediatePropagation(),e.preventDefault(),r!==(0,i.unref)(s)||!Tf.includes(n))return;const o=d().filter((e=>!e.disabled)).map((e=>e.ref));Qf.includes(n)&&o.reverse(),Af(o)}));return{size:r,rovingFocusGroupRootStyle:p,tabIndex:m,dropdownKls:O,role:l,triggerId:c,dropdownListWrapperRef:b,handleKeydown:e=>{w(e),a(e)},onBlur:g,onFocus:A,onMousedown:v}}});var jf=(0,f.A)(Xf,[["render",function(e,t,n,r,o,a){return(0,i.openBlock)(),(0,i.createElementBlock)("ul",{ref:e.dropdownListWrapperRef,class:(0,i.normalizeClass)(e.dropdownKls),style:(0,i.normalizeStyle)(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onBlur:e.onBlur,onFocus:e.onFocus,onKeydown:(0,i.withModifiers)(e.handleKeydown,["self"]),onMousedown:(0,i.withModifiers)(e.onMousedown,["self"])},[(0,i.renderSlot)(e.$slots,"default")],46,["role","aria-labelledby","onBlur","onFocus","onKeydown","onMousedown"])}],["__file","dropdown-menu.vue"]]);const qf=(0,b.GU)(If,{DropdownItem:Wf,DropdownMenu:jf}),Zf=(0,b.WM)(Wf),Yf=(0,b.WM)(jf),Gf=(0,i.defineComponent)({name:"ImgEmpty"}),Kf=(0,i.defineComponent)({...Gf,setup(e){const t=(0,h.DU)("empty"),n=(0,kn.Bi)();return(e,r)=>((0,i.openBlock)(),(0,i.createElementBlock)("svg",{viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[(0,i.createElementVNode)("defs",null,[(0,i.createElementVNode)("linearGradient",{id:`linearGradient-1-${(0,i.unref)(n)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[(0,i.createElementVNode)("stop",{"stop-color":`var(${(0,i.unref)(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,["stop-color"]),(0,i.createElementVNode)("stop",{"stop-color":`var(${(0,i.unref)(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,["stop-color"])],8,["id"]),(0,i.createElementVNode)("linearGradient",{id:`linearGradient-2-${(0,i.unref)(n)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[(0,i.createElementVNode)("stop",{"stop-color":`var(${(0,i.unref)(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,["stop-color"]),(0,i.createElementVNode)("stop",{"stop-color":`var(${(0,i.unref)(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,["stop-color"])],8,["id"]),(0,i.createElementVNode)("rect",{id:`path-3-${(0,i.unref)(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,["id"])]),(0,i.createElementVNode)("g",{id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[(0,i.createElementVNode)("g",{id:"B-type",transform:"translate(-1268.000000, -535.000000)"},[(0,i.createElementVNode)("g",{id:"Group-2",transform:"translate(1268.000000, 535.000000)"},[(0,i.createElementVNode)("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${(0,i.unref)(t).cssVarBlockName("fill-color-3")})`},null,8,["fill"]),(0,i.createElementVNode)("polygon",{id:"Rectangle-Copy-14",fill:`var(${(0,i.unref)(t).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,["fill"]),(0,i.createElementVNode)("g",{id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},[(0,i.createElementVNode)("polygon",{id:"Rectangle-Copy-10",fill:`var(${(0,i.unref)(t).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,["fill"]),(0,i.createElementVNode)("polygon",{id:"Rectangle-Copy-11",fill:`var(${(0,i.unref)(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,["fill"]),(0,i.createElementVNode)("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${(0,i.unref)(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,["fill"]),(0,i.createElementVNode)("polygon",{id:"Rectangle-Copy-13",fill:`var(${(0,i.unref)(t).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,["fill"])]),(0,i.createElementVNode)("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${(0,i.unref)(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,["fill"]),(0,i.createElementVNode)("g",{id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},[(0,i.createElementVNode)("use",{id:"Mask",fill:`var(${(0,i.unref)(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${(0,i.unref)(n)}`},null,8,["fill","xlink:href"]),(0,i.createElementVNode)("polygon",{id:"Rectangle-Copy",fill:`var(${(0,i.unref)(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${(0,i.unref)(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,["fill","mask"])]),(0,i.createElementVNode)("polygon",{id:"Rectangle-Copy-18",fill:`var(${(0,i.unref)(t).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,["fill"])])])])]))}});var Jf=(0,f.A)(Kf,[["__file","img-empty.vue"]]);const eh=(0,l.b_)({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),th=(0,i.defineComponent)({name:"ElEmpty"}),nh=(0,i.defineComponent)({...th,props:eh,setup(e){const t=e,{t:n}=(0,wr.Ym)(),r=(0,h.DU)("empty"),o=(0,i.computed)((()=>t.description||n("el.table.emptyText"))),a=(0,i.computed)((()=>({width:(0,m._V)(t.imageSize)})));return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).b())},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).e("image")),style:(0,i.normalizeStyle)((0,i.unref)(a))},[e.image?((0,i.openBlock)(),(0,i.createElementBlock)("img",{key:0,src:e.image,ondragstart:"return false"},null,8,["src"])):(0,i.renderSlot)(e.$slots,"image",{key:1},(()=>[(0,i.createVNode)(Jf)]))],6),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).e("description"))},[e.$slots.description?(0,i.renderSlot)(e.$slots,"description",{key:0}):((0,i.openBlock)(),(0,i.createElementBlock)("p",{key:1},(0,i.toDisplayString)((0,i.unref)(o)),1))],2),e.$slots.default?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(r).e("bottom"))},[(0,i.renderSlot)(e.$slots,"default")],2)):(0,i.createCommentVNode)("v-if",!0)],2))}});var rh=(0,f.A)(nh,[["__file","empty.vue"]]);const oh=(0,b.GU)(rh),ih=(0,l.b_)({size:{type:String,values:ir.I},disabled:Boolean}),ah=(0,l.b_)({...ih,model:Object,rules:{type:(0,l.jq)(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),sh={validate:(e,t,n)=>((0,se.cy)(e)||(0,se.Kg)(e))&&(0,c.Lm)(t)&&(0,se.Kg)(n)};function lh(){const e=(0,i.ref)([]),t=(0,i.computed)((()=>{if(!e.value.length)return"0";const t=Math.max(...e.value);return t?`${t}px`:""}));function n(n){const r=e.value.indexOf(n);return-1===r&&"0"===t.value&&(0,g.U)("ElForm",`unexpected width ${n}`),r}return{autoLabelWidth:t,registerLabelWidth:function(t,r){if(t&&r){const o=n(r);e.value.splice(o,1,t)}else t&&e.value.push(t)},deregisterLabelWidth:function(t){const r=n(t);r>-1&&e.value.splice(r,1)}}}const ch=(e,t)=>{const n=_l(t);return n.length>0?e.filter((e=>e.prop&&n.includes(e.prop))):e},uh="ElForm",dh=(0,i.defineComponent)({name:uh}),fh=(0,i.defineComponent)({...dh,props:ah,emits:sh,setup(e,{expose:t,emit:n}){const r=e,o=[],a=(0,Jn.NV)(),s=(0,h.DU)("form"),l=(0,i.computed)((()=>{const{labelPosition:e,inline:t}=r;return[s.b(),s.m(a.value||"default"),{[s.m(`label-${e}`)]:e,[s.m("inline")]:t}]})),c=(e=[])=>{r.model?ch(o,e).forEach((e=>e.resetField())):(0,g.U)(uh,"model is required for resetFields to work.")},u=(e=[])=>{ch(o,e).forEach((e=>e.clearValidate()))},d=(0,i.computed)((()=>{const e=!!r.model;return e||(0,g.U)(uh,"model is required for validate to work."),e})),f=async e=>p(void 0,e),p=async(e=[],t)=>{const n=!(0,se.Tn)(t);try{const n=await(async(e=[])=>{if(!d.value)return!1;const t=(e=>{if(0===o.length)return[];const t=ch(o,e);return t.length?t:((0,g.U)(uh,"please pass correct props!"),[])})(e);if(0===t.length)return!0;let n={};for(const e of t)try{await e.validate(""),"error"===e.validateState&&e.resetField()}catch(e){n={...n,...e}}return 0===Object.keys(n).length||Promise.reject(n)})(e);return!0===n&&await(null==t?void 0:t(n)),n}catch(e){if(e instanceof Error)throw e;const o=e;return r.scrollToError&&m(Object.keys(o)[0]),await(null==t?void 0:t(!1,o)),n&&Promise.reject(o)}},m=e=>{var t;const n=ch(o,e)[0];n&&(null==(t=n.$el)||t.scrollIntoView(r.scrollIntoViewOptions))};return(0,i.watch)((()=>r.rules),(()=>{r.validateOnRuleChange&&f().catch((e=>(0,g.U)(e)))}),{deep:!0,flush:"post"}),(0,i.provide)(zn.F,(0,i.reactive)({...(0,i.toRefs)(r),emit:n,resetFields:c,clearValidate:u,validateField:p,getField:e=>o.find((t=>t.prop===e)),addField:e=>{o.push(e)},removeField:e=>{e.prop&&o.splice(o.indexOf(e),1)},...lh()})),t({validate:f,validateField:p,resetFields:c,clearValidate:u,scrollToField:m,fields:o}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("form",{class:(0,i.normalizeClass)((0,i.unref)(l))},[(0,i.renderSlot)(e.$slots,"default")],2))}});var hh=(0,f.A)(fh,[["__file","form.vue"]]);function ph(){return ph=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ph.apply(this,arguments)}function mh(e){return mh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},mh(e)}function gh(e,t){return gh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gh(e,t)}function Ah(e,t,n){return Ah=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&gh(o,n.prototype),o},Ah.apply(null,arguments)}function vh(e){var t="function"==typeof Map?new Map:void 0;return vh=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Ah(e,arguments,mh(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),gh(r,e)},vh(e)}var yh=/%[sdj%]/g;function Oh(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function bh(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i=n.length;if("function"==typeof e)return e.apply(null,n);if("string"==typeof e){var a=e.replace(yh,(function(e){if("%%"===e)return"%";if(o>=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(e){return"[Circular]"}break;default:return e}}));return a}return e}function wh(e,t){return null==e||!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e)}function _h(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var s=r;r+=1,s<o?t(e[s],i):n([])}}([])}var xh=function(e){var t,n;function r(t,n){var r;return(r=e.call(this,"Async Validation Error")||this).errors=t,r.fields=n,r}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,gh(t,n),r}(vh(Error));function Sh(e,t){return function(n){var r,o;return r=e.fullFields?function(e,t){for(var n=e,r=0;r<t.length;r++){if(null==n)return n;n=n[t[r]]}return n}(t,e.fullFields):t[n.field||e.fullField],(o=n)&&void 0!==o.message?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:"function"==typeof n?n():n,fieldValue:r,field:n.field||e.fullField}}}function kh(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"==typeof r&&"object"==typeof e[n]?e[n]=ph({},e[n],r):e[n]=r}return e}var Ch,Bh=function(e,t,n,r,o,i){!e.required||n.hasOwnProperty(e.field)&&!wh(t,i||e.type)||r.push(bh(o.messages.required,e.fullField))},Qh=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,Th=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,Eh={integer:function(e){return Eh.number(e)&&parseInt(e,10)===e},float:function(e){return Eh.number(e)&&!Eh.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!Eh.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(Qh)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if(Ch)return Ch;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",o=("\n(?:\n(?:"+r+":){7}(?:"+r+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+r+":){6}(?:"+n+"|:"+r+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+r+":){5}(?::"+n+"|(?::"+r+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+r+"){0,5}:"+n+"|(?::"+r+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),a=new RegExp("^"+n+"$"),s=new RegExp("^"+o+"$"),l=function(e){return e&&e.exact?i:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+o+t(e)+")","g")};l.v4=function(e){return e&&e.exact?a:new RegExp(""+t(e)+n+t(e),"g")},l.v6=function(e){return e&&e.exact?s:new RegExp(""+t(e)+o+t(e),"g")};var c=l.v4().source,u=l.v6().source;return Ch=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+c+"|"+u+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(Th)}},Ph="enum",$h=Bh,Mh=function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(bh(o.messages.whitespace,e.fullField))},zh=function(e,t,n,r,o){if(e.required&&void 0===t)Bh(e,t,n,r,o);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?Eh[i](t)||r.push(bh(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(bh(o.messages.types[i],e.fullField,e.type))}},Rh=function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,s="number"==typeof e.max,l=t,c=null,u="number"==typeof t,d="string"==typeof t,f=Array.isArray(t);if(u?c="number":d?c="string":f&&(c="array"),!c)return!1;f&&(l=t.length),d&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?l!==e.len&&r.push(bh(o.messages[c].len,e.fullField,e.len)):a&&!s&&l<e.min?r.push(bh(o.messages[c].min,e.fullField,e.min)):s&&!a&&l>e.max?r.push(bh(o.messages[c].max,e.fullField,e.max)):a&&s&&(l<e.min||l>e.max)&&r.push(bh(o.messages[c].range,e.fullField,e.min,e.max))},Dh=function(e,t,n,r,o){e[Ph]=Array.isArray(e[Ph])?e[Ph]:[],-1===e[Ph].indexOf(t)&&r.push(bh(o.messages[Ph],e.fullField,e[Ph].join(", ")))},Ih=function(e,t,n,r,o){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(bh(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||r.push(bh(o.messages.pattern.mismatch,e.fullField,t,e.pattern))))},Nh=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(wh(t,i)&&!e.required)return n();$h(e,t,r,a,o,i),wh(t,i)||zh(e,t,r,a,o)}n(a)},Lh={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(wh(t,"string")&&!e.required)return n();$h(e,t,r,i,o,"string"),wh(t,"string")||(zh(e,t,r,i,o),Rh(e,t,r,i,o),Ih(e,t,r,i,o),!0===e.whitespace&&Mh(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(wh(t)&&!e.required)return n();$h(e,t,r,i,o),void 0!==t&&zh(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),wh(t)&&!e.required)return n();$h(e,t,r,i,o),void 0!==t&&(zh(e,t,r,i,o),Rh(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(wh(t)&&!e.required)return n();$h(e,t,r,i,o),void 0!==t&&zh(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(wh(t)&&!e.required)return n();$h(e,t,r,i,o),wh(t)||zh(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(wh(t)&&!e.required)return n();$h(e,t,r,i,o),void 0!==t&&(zh(e,t,r,i,o),Rh(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(wh(t)&&!e.required)return n();$h(e,t,r,i,o),void 0!==t&&(zh(e,t,r,i,o),Rh(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();$h(e,t,r,i,o,"array"),null!=t&&(zh(e,t,r,i,o),Rh(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(wh(t)&&!e.required)return n();$h(e,t,r,i,o),void 0!==t&&zh(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(wh(t)&&!e.required)return n();$h(e,t,r,i,o),void 0!==t&&Dh(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(wh(t,"string")&&!e.required)return n();$h(e,t,r,i,o),wh(t,"string")||Ih(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(wh(t,"date")&&!e.required)return n();var a;$h(e,t,r,i,o),wh(t,"date")||(a=t instanceof Date?t:new Date(t),zh(e,a,r,i,o),a&&Rh(e,a.getTime(),r,i,o))}n(i)},url:Nh,hex:Nh,email:Nh,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;$h(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(wh(t)&&!e.required)return n();$h(e,t,r,i,o)}n(i)}};function Vh(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Uh=Vh(),Fh=function(){function e(e){this.rules=null,this._messages=Uh,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))},t.messages=function(e){return e&&(this._messages=kh(Vh(),e)),this._messages},t.validate=function(t,n,r){var o=this;void 0===n&&(n={}),void 0===r&&(r=function(){});var i=t,a=n,s=r;if("function"==typeof a&&(s=a,a={}),!this.rules||0===Object.keys(this.rules).length)return s&&s(null,i),Promise.resolve(i);if(a.messages){var l=this.messages();l===Uh&&(l=Vh()),kh(l,a.messages),a.messages=l}else a.messages=this.messages();var c={};(a.keys||Object.keys(this.rules)).forEach((function(e){var n=o.rules[e],r=i[e];n.forEach((function(n){var a=n;"function"==typeof a.transform&&(i===t&&(i=ph({},i)),r=i[e]=a.transform(r)),(a="function"==typeof a?{validator:a}:ph({},a)).validator=o.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=o.getType(a),c[e]=c[e]||[],c[e].push({rule:a,value:r,source:i,field:e}))}))}));var u={};return function(e,t,n,r,o){if(t.first){var i=new Promise((function(t,i){var a=function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n]||[])})),t}(e);_h(a,n,(function(e){return r(e),e.length?i(new xh(e,Oh(e))):t(o)}))}));return i.catch((function(e){return e})),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,u=[],d=new Promise((function(t,i){var d=function(e){if(u.push.apply(u,e),++c===l)return r(u),u.length?i(new xh(u,Oh(u))):t(o)};s.length||(r(u),t(o)),s.forEach((function(t){var r=e[t];-1!==a.indexOf(t)?_h(r,n,d):function(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,e||[]),++o===i&&n(r)}e.forEach((function(e){t(e,a)}))}(r,n,d)}))}));return d.catch((function(e){return e})),d}(c,a,(function(t,n){var r,o=t.rule,s=!("object"!==o.type&&"array"!==o.type||"object"!=typeof o.fields&&"object"!=typeof o.defaultField);function l(e,t){return ph({},t,{fullField:o.fullField+"."+e,fullFields:o.fullFields?[].concat(o.fullFields,[e]):[e]})}function c(r){void 0===r&&(r=[]);var c=Array.isArray(r)?r:[r];!a.suppressWarning&&c.length&&e.warning("async-validator:",c),c.length&&void 0!==o.message&&(c=[].concat(o.message));var d=c.map(Sh(o,i));if(a.first&&d.length)return u[o.field]=1,n(d);if(s){if(o.required&&!t.value)return void 0!==o.message?d=[].concat(o.message).map(Sh(o,i)):a.error&&(d=[a.error(o,bh(a.messages.required,o.field))]),n(d);var f={};o.defaultField&&Object.keys(t.value).map((function(e){f[e]=o.defaultField})),f=ph({},f,t.rule.fields);var h={};Object.keys(f).forEach((function(e){var t=f[e],n=Array.isArray(t)?t:[t];h[e]=n.map(l.bind(null,e))}));var p=new e(h);p.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),p.validate(t.value,t.rule.options||a,(function(e){var t=[];d&&d.length&&t.push.apply(t,d),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(d)}if(s=s&&(o.required||!o.required&&t.value),o.field=t.field,o.asyncValidator)r=o.asyncValidator(o,t.value,c,t.source,a);else if(o.validator){try{r=o.validator(o,t.value,c,t.source,a)}catch(e){null==console.error||console.error(e),a.suppressValidatorError||setTimeout((function(){throw e}),0),c(e.message)}!0===r?c():!1===r?c("function"==typeof o.message?o.message(o.fullField||o.field):o.message||(o.fullField||o.field)+" fails"):r instanceof Array?c(r):r instanceof Error&&c(r.message)}r&&r.then&&r.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){!function(e){for(var t,n,r=[],o={},a=0;a<e.length;a++)t=e[a],n=void 0,Array.isArray(t)?r=(n=r).concat.apply(n,t):r.push(t);r.length?(o=Oh(r),s(r,o)):s(null,i)}(e)}),i)},t.getType=function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!Lh.hasOwnProperty(e.type))throw new Error(bh("Unknown rule type %s",e.type));return e.type||"string"},t.getValidationMethod=function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?Lh.required:Lh[this.getType(e)]||void 0},e}();Fh.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");Lh[e]=t},Fh.warning=function(){},Fh.messages=Uh,Fh.validators=Lh;var Hh=function(e){return ha(e,4)};const Wh=(0,l.b_)({label:String,labelWidth:{type:[String,Number],default:""},labelPosition:{type:String,values:["left","right","top",""],default:""},prop:{type:(0,l.jq)([String,Array])},required:{type:Boolean,default:void 0},rules:{type:(0,l.jq)([Object,Array])},error:String,validateStatus:{type:String,values:["","error","validating","success"]},for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:{type:String,values:ir.I}}),Xh="ElLabelWrap";var jh=(0,i.defineComponent)({name:Xh,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(e,{slots:t}){const n=(0,i.inject)(zn.F,void 0),r=(0,i.inject)(zn.w);r||(0,g.$)(Xh,"usage: <el-form-item><label-wrap /></el-form-item>");const o=(0,h.DU)("form"),s=(0,i.ref)(),l=(0,i.ref)(0),c=(r="update")=>{(0,i.nextTick)((()=>{t.default&&e.isAutoWidth&&("update"===r?l.value=(()=>{var e;if(null==(e=s.value)?void 0:e.firstElementChild){const e=window.getComputedStyle(s.value.firstElementChild).width;return Math.ceil(Number.parseFloat(e))}return 0})():"remove"===r&&(null==n||n.deregisterLabelWidth(l.value)))}))},u=()=>c("update");return(0,i.onMounted)((()=>{u()})),(0,i.onBeforeUnmount)((()=>{c("remove")})),(0,i.onUpdated)((()=>u())),(0,i.watch)(l,((t,r)=>{e.updateAll&&(null==n||n.registerLabelWidth(t,r))})),(0,a.wYm)((0,i.computed)((()=>{var e,t;return null!=(t=null==(e=s.value)?void 0:e.firstElementChild)?t:null})),u),()=>{var a,c;if(!t)return null;const{isAutoWidth:u}=e;if(u){const e=null==n?void 0:n.autoLabelWidth,c={};if((null==r?void 0:r.hasLabel)&&e&&"auto"!==e){const t=Math.max(0,Number.parseInt(e,10)-l.value),o=r.labelPosition||n.labelPosition;t&&(c["left"===o?"marginRight":"marginLeft"]=`${t}px`)}return(0,i.createVNode)("div",{ref:s,class:[o.be("item","label-wrap")],style:c},[null==(a=t.default)?void 0:a.call(t)])}return(0,i.createVNode)(i.Fragment,{ref:s},[null==(c=t.default)?void 0:c.call(t)])}}});const qh=(0,i.defineComponent)({name:"ElFormItem"}),Zh=(0,i.defineComponent)({...qh,props:Wh,setup(e,{expose:t}){const n=e,r=(0,i.useSlots)(),o=(0,i.inject)(zn.F,void 0),a=(0,i.inject)(zn.w,void 0),s=(0,Jn.NV)(void 0,{formItem:!1}),l=(0,h.DU)("form-item"),u=(0,kn.Bi)().value,d=(0,i.ref)([]),f=(0,i.ref)(""),p=(0,Y.V7)(f,100),g=(0,i.ref)(""),A=(0,i.ref)();let v,y=!1;const O=(0,i.computed)((()=>n.labelPosition||(null==o?void 0:o.labelPosition))),b=(0,i.computed)((()=>{if("top"===O.value)return{};const e=(0,m._V)(n.labelWidth||(null==o?void 0:o.labelWidth)||"");return e?{width:e}:{}})),w=(0,i.computed)((()=>{if("top"===O.value||(null==o?void 0:o.inline))return{};if(!n.label&&!n.labelWidth&&E)return{};const e=(0,m._V)(n.labelWidth||(null==o?void 0:o.labelWidth)||"");return n.label||r.label?{}:{marginLeft:e}})),_=(0,i.computed)((()=>[l.b(),l.m(s.value),l.is("error","error"===f.value),l.is("validating","validating"===f.value),l.is("success","success"===f.value),l.is("required",z.value||n.required),l.is("no-asterisk",null==o?void 0:o.hideRequiredAsterisk),"right"===(null==o?void 0:o.requireAsteriskPosition)?"asterisk-right":"asterisk-left",{[l.m("feedback")]:null==o?void 0:o.statusIcon,[l.m(`label-${O.value}`)]:O.value}])),x=(0,i.computed)((()=>(0,c.Lm)(n.inlineMessage)?n.inlineMessage:(null==o?void 0:o.inlineMessage)||!1)),k=(0,i.computed)((()=>[l.e("error"),{[l.em("error","inline")]:x.value}])),C=(0,i.computed)((()=>n.prop?(0,se.Kg)(n.prop)?n.prop:n.prop.join("."):"")),B=(0,i.computed)((()=>!(!n.label&&!r.label))),Q=(0,i.computed)((()=>n.for||(1===d.value.length?d.value[0]:void 0))),T=(0,i.computed)((()=>!Q.value&&B.value)),E=!!a,P=(0,i.computed)((()=>{const e=null==o?void 0:o.model;if(e&&n.prop)return(0,S.GT)(e,n.prop).value})),$=(0,i.computed)((()=>{const{required:e}=n,t=[];n.rules&&t.push(..._l(n.rules));const r=null==o?void 0:o.rules;if(r&&n.prop){const e=(0,S.GT)(r,n.prop).value;e&&t.push(..._l(e))}if(void 0!==e){const n=t.map(((e,t)=>[e,t])).filter((([e])=>Object.keys(e).includes("required")));if(n.length>0)for(const[r,o]of n)r.required!==e&&(t[o]={...r,required:e});else t.push({required:e})}return t})),M=(0,i.computed)((()=>$.value.length>0)),z=(0,i.computed)((()=>$.value.some((e=>e.required)))),R=(0,i.computed)((()=>{var e;return"error"===p.value&&n.showMessage&&(null==(e=null==o?void 0:o.showMessage)||e)})),D=(0,i.computed)((()=>`${n.label||""}${(null==o?void 0:o.labelSuffix)||""}`)),I=e=>{f.value=e},N=async(e,t)=>{if(y||!n.prop)return!1;const r=(0,se.Tn)(t);if(!M.value)return null==t||t(!1),!1;const i=(e=>$.value.filter((t=>!t.trigger||!e||((0,se.cy)(t.trigger)?t.trigger.includes(e):t.trigger===e))).map((({trigger:e,...t})=>t)))(e);return 0===i.length?(null==t||t(!0),!0):(I("validating"),(async e=>{const t=C.value;return new Fh({[t]:e}).validate({[t]:P.value},{firstFields:!0}).then((()=>(I("success"),null==o||o.emit("validate",n.prop,!0,""),!0))).catch((e=>((e=>{var t,r;const{errors:i,fields:a}=e;i&&a||console.error(e),I("error"),g.value=i?null!=(r=null==(t=null==i?void 0:i[0])?void 0:t.message)?r:`${n.prop} is required`:"",null==o||o.emit("validate",n.prop,!1,g.value)})(e),Promise.reject(e))))})(i).then((()=>(null==t||t(!0),!0))).catch((e=>{const{fields:n}=e;return null==t||t(!1,n),!r&&Promise.reject(n)})))},L=()=>{I(""),g.value="",y=!1},V=async()=>{const e=null==o?void 0:o.model;if(!e||!n.prop)return;const t=(0,S.GT)(e,n.prop);y=!0,t.value=Hh(v),await(0,i.nextTick)(),L(),y=!1};(0,i.watch)((()=>n.error),(e=>{g.value=e||"",I(e?"error":"")}),{immediate:!0}),(0,i.watch)((()=>n.validateStatus),(e=>I(e||"")));const U=(0,i.reactive)({...(0,i.toRefs)(n),$el:A,size:s,validateState:f,labelId:u,inputIds:d,isGroup:T,hasLabel:B,fieldValue:P,addInputId:e=>{d.value.includes(e)||d.value.push(e)},removeInputId:e=>{d.value=d.value.filter((t=>t!==e))},resetField:V,clearValidate:L,validate:N});return(0,i.provide)(zn.w,U),(0,i.onMounted)((()=>{n.prop&&(null==o||o.addField(U),v=Hh(P.value))})),(0,i.onBeforeUnmount)((()=>{null==o||o.removeField(U)})),t({size:s,validateMessage:g,validateState:f,validate:N,clearValidate:L,resetField:V}),(e,t)=>{var n;return(0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"formItemRef",ref:A,class:(0,i.normalizeClass)((0,i.unref)(_)),role:(0,i.unref)(T)?"group":void 0,"aria-labelledby":(0,i.unref)(T)?(0,i.unref)(u):void 0},[(0,i.createVNode)((0,i.unref)(jh),{"is-auto-width":"auto"===(0,i.unref)(b).width,"update-all":"auto"===(null==(n=(0,i.unref)(o))?void 0:n.labelWidth)},{default:(0,i.withCtx)((()=>[(0,i.unref)(B)?((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(Q)?"label":"div"),{key:0,id:(0,i.unref)(u),for:(0,i.unref)(Q),class:(0,i.normalizeClass)((0,i.unref)(l).e("label")),style:(0,i.normalizeStyle)((0,i.unref)(b))},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"label",{label:(0,i.unref)(D)},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(D)),1)]))])),_:3},8,["id","for","class","style"])):(0,i.createCommentVNode)("v-if",!0)])),_:3},8,["is-auto-width","update-all"]),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(l).e("content")),style:(0,i.normalizeStyle)((0,i.unref)(w))},[(0,i.renderSlot)(e.$slots,"default"),(0,i.createVNode)(i.TransitionGroup,{name:`${(0,i.unref)(l).namespace.value}-zoom-in-top`},{default:(0,i.withCtx)((()=>[(0,i.unref)(R)?(0,i.renderSlot)(e.$slots,"error",{key:0,error:g.value},(()=>[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(k))},(0,i.toDisplayString)(g.value),3)])):(0,i.createCommentVNode)("v-if",!0)])),_:3},8,["name"])],6)],10,["role","aria-labelledby"])}}});var Yh=(0,f.A)(Zh,[["__file","form-item.vue"]]);const Gh=(0,b.GU)(hh,{FormItem:Yh}),Kh=(0,b.WM)(Yh),Jh=(0,l.b_)({urlList:{type:(0,l.jq)(Array),default:()=>(0,fl.f)([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:{type:Boolean,default:!1},crossorigin:{type:(0,l.jq)(String)}}),ep={close:()=>!0,switch:e=>(0,c.Et)(e),rotate:e=>(0,c.Et)(e)},tp=(0,i.defineComponent)({name:"ElImageViewer"}),np=(0,i.defineComponent)({...tp,props:Jh,emits:ep,setup(e,{expose:t,emit:n}){var r;const o=e,s={CONTAIN:{name:"contain",icon:(0,i.markRaw)(j.FullScreen)},ORIGINAL:{name:"original",icon:(0,i.markRaw)(j.ScaleToOriginal)}};let l,c="";const{t:u}=(0,wr.Ym)(),d=(0,h.DU)("image-viewer"),{nextZIndex:f}=(0,Mn.YK)(),p=(0,i.ref)(),m=(0,i.ref)([]),g=(0,i.effectScope)(),A=(0,i.ref)(!0),v=(0,i.ref)(o.initialIndex),y=(0,i.shallowRef)(s.CONTAIN),O=(0,i.ref)({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),b=(0,i.ref)(null!=(r=o.zIndex)?r:f()),w=(0,i.computed)((()=>{const{urlList:e}=o;return e.length<=1})),x=(0,i.computed)((()=>0===v.value)),k=(0,i.computed)((()=>v.value===o.urlList.length-1)),C=(0,i.computed)((()=>o.urlList[v.value])),B=(0,i.computed)((()=>[d.e("btn"),d.e("prev"),d.is("disabled",!o.infinite&&x.value)])),Q=(0,i.computed)((()=>[d.e("btn"),d.e("next"),d.is("disabled",!o.infinite&&k.value)])),T=(0,i.computed)((()=>{const{scale:e,deg:t,offsetX:n,offsetY:r,enableTransition:o}=O.value;let i=n/e,a=r/e;const l=t*Math.PI/180,c=Math.cos(l),u=Math.sin(l);i=i*c+a*u,a=a*c-n/e*u;const d={transform:`scale(${e}) rotate(${t}deg) translate(${i}px, ${a}px)`,transition:o?"transform .3s":""};return y.value.name===s.CONTAIN.name&&(d.maxWidth=d.maxHeight="100%"),d})),E=(0,i.computed)((()=>`${v.value+1} / ${o.urlList.length}`));function P(){g.stop(),null==l||l(),document.body.style.overflow=c,n("close")}function $(){A.value=!1}function M(e){A.value=!1,e.target.alt=u("el.image.error")}function z(e){if(A.value||0!==e.button||!p.value)return;O.value.enableTransition=!1;const{offsetX:t,offsetY:n}=O.value,r=e.pageX,o=e.pageY,i=fo((e=>{O.value={...O.value,offsetX:t+e.pageX-r,offsetY:n+e.pageY-o}})),s=(0,a.MLh)(document,"mousemove",i);(0,a.MLh)(document,"mouseup",(()=>{s()})),e.preventDefault()}function R(){O.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function D(){if(A.value)return;const e=(0,S.YD)(s),t=Object.values(s),n=y.value.name,r=(t.findIndex((e=>e.name===n))+1)%e.length;y.value=s[e[r]],R()}function I(e){const t=o.urlList.length;v.value=(e+t)%t}function N(){x.value&&!o.infinite||I(v.value-1)}function L(){k.value&&!o.infinite||I(v.value+1)}function V(e,t={}){if(A.value)return;const{minScale:r,maxScale:i}=o,{zoomRate:a,rotateDeg:s,enableTransition:l}={zoomRate:o.zoomRate,rotateDeg:90,enableTransition:!0,...t};switch(e){case"zoomOut":O.value.scale>r&&(O.value.scale=Number.parseFloat((O.value.scale/a).toFixed(3)));break;case"zoomIn":O.value.scale<i&&(O.value.scale=Number.parseFloat((O.value.scale*a).toFixed(3)));break;case"clockwise":O.value.deg+=s,n("rotate",O.value.deg);break;case"anticlockwise":O.value.deg-=s,n("rotate",O.value.deg)}O.value.enableTransition=l}function U(e){var t;"pointer"===(null==(t=e.detail)?void 0:t.focusReason)&&e.preventDefault()}function F(){o.closeOnPressEscape&&P()}function H(e){if(e.ctrlKey)return e.deltaY<0||e.deltaY>0?(e.preventDefault(),!1):void 0}return(0,i.watch)(C,(()=>{(0,i.nextTick)((()=>{const e=m.value[0];(null==e?void 0:e.complete)||(A.value=!0)}))})),(0,i.watch)(v,(e=>{R(),n("switch",e)})),(0,i.onMounted)((()=>{!function(){const e=fo((e=>{switch(e.code){case Wt.R.esc:o.closeOnPressEscape&&P();break;case Wt.R.space:D();break;case Wt.R.left:N();break;case Wt.R.up:V("zoomIn");break;case Wt.R.right:L();break;case Wt.R.down:V("zoomOut")}})),t=fo((e=>{V((e.deltaY||e.deltaX)<0?"zoomIn":"zoomOut",{zoomRate:o.zoomRate,enableTransition:!1})}));g.run((()=>{(0,a.MLh)(document,"keydown",e),(0,a.MLh)(document,"wheel",t)}))}(),l=(0,a.MLh)("wheel",H,{passive:!1}),c=document.body.style.overflow,document.body.style.overflow="hidden"})),t({setActiveItem:I}),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Sn),{to:"body",disabled:!e.teleported},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(i.Transition,{name:"viewer-fade",appear:""},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{ref_key:"wrapper",ref:p,tabindex:-1,class:(0,i.normalizeClass)((0,i.unref)(d).e("wrapper")),style:(0,i.normalizeStyle)({zIndex:b.value})},[(0,i.createVNode)((0,i.unref)(Bn.A),{loop:"",trapped:"","focus-trap-el":p.value,"focus-start-el":"container",onFocusoutPrevented:U,onReleaseRequested:F},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(d).e("mask")),onClick:(0,i.withModifiers)((t=>e.hideOnClickModal&&P()),["self"])},null,10,["onClick"]),(0,i.createCommentVNode)(" CLOSE "),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)([(0,i.unref)(d).e("btn"),(0,i.unref)(d).e("close")]),onClick:P},[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.Close))])),_:1})],2),(0,i.createCommentVNode)(" ARROW "),(0,i.unref)(w)?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:0},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(B)),onClick:N},[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowLeft))])),_:1})],2),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(Q)),onClick:L},[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowRight))])),_:1})],2)],64)),e.showProgress?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)([(0,i.unref)(d).e("btn"),(0,i.unref)(d).e("progress")])},[(0,i.renderSlot)(e.$slots,"progress",{activeIndex:v.value,total:e.urlList.length},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(E)),1)]))],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createCommentVNode)(" ACTIONS "),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([(0,i.unref)(d).e("btn"),(0,i.unref)(d).e("actions")])},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(d).e("actions__inner"))},[(0,i.renderSlot)(e.$slots,"toolbar",{actions:V,prev:N,next:L,reset:D,activeIndex:v.value},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),{onClick:e=>V("zoomOut")},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ZoomOut))])),_:1},8,["onClick"]),(0,i.createVNode)((0,i.unref)(_.tk),{onClick:e=>V("zoomIn")},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ZoomIn))])),_:1},8,["onClick"]),(0,i.createElementVNode)("i",{class:(0,i.normalizeClass)((0,i.unref)(d).e("actions__divider"))},null,2),(0,i.createVNode)((0,i.unref)(_.tk),{onClick:D},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(y).icon)))])),_:1}),(0,i.createElementVNode)("i",{class:(0,i.normalizeClass)((0,i.unref)(d).e("actions__divider"))},null,2),(0,i.createVNode)((0,i.unref)(_.tk),{onClick:e=>V("anticlockwise")},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.RefreshLeft))])),_:1},8,["onClick"]),(0,i.createVNode)((0,i.unref)(_.tk),{onClick:e=>V("clockwise")},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.RefreshRight))])),_:1},8,["onClick"])]))],2)],2),(0,i.createCommentVNode)(" CANVAS "),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(d).e("canvas"))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.urlList,((t,n)=>(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("img",{ref_for:!0,ref:e=>m.value[n]=e,key:t,src:t,style:(0,i.normalizeStyle)((0,i.unref)(T)),class:(0,i.normalizeClass)((0,i.unref)(d).e("img")),crossorigin:e.crossorigin,onLoad:$,onError:M,onMousedown:z},null,46,["src","crossorigin"])),[[i.vShow,n===v.value]]))),128))],2),(0,i.renderSlot)(e.$slots,"default")])),_:3},8,["focus-trap-el"])],6)])),_:3})])),_:3},8,["disabled"]))}});var rp=(0,f.A)(np,[["__file","image-viewer.vue"]]);const op=(0,b.GU)(rp),ip=(0,l.b_)({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:(0,l.jq)([String,Object])},previewSrcList:{type:(0,l.jq)(Array),default:()=>(0,fl.f)([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:{type:Boolean,default:!1},crossorigin:{type:(0,l.jq)(String)}}),ap={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>(0,c.Et)(e),close:()=>!0,show:()=>!0},sp=(0,i.defineComponent)({name:"ElImage",inheritAttrs:!1}),lp=(0,i.defineComponent)({...sp,props:ip,emits:ap,setup(e,{expose:t,emit:n}){const r=e,{t:o}=(0,wr.Ym)(),s=(0,h.DU)("image"),l=(0,i.useAttrs)(),u=(0,i.computed)((()=>(0,Pn.A)(Object.entries(l).filter((([e])=>/^(data-|on[A-Z])/i.test(e)||["id","style"].includes(e)))))),d=(0,Kn.O)({excludeListeners:!0,excludeKeys:(0,i.computed)((()=>Object.keys(u.value)))}),f=(0,i.ref)(),m=(0,i.ref)(!1),g=(0,i.ref)(!0),A=(0,i.ref)(!1),v=(0,i.ref)(),y=(0,i.ref)(),O=Y.oc&&"loading"in HTMLImageElement.prototype;let b;const w=(0,i.computed)((()=>[s.e("inner"),x.value&&s.e("preview"),g.value&&s.is("loading")])),_=(0,i.computed)((()=>{const{fit:e}=r;return Y.oc&&e?{objectFit:e}:{}})),x=(0,i.computed)((()=>{const{previewSrcList:e}=r;return(0,se.cy)(e)&&e.length>0})),S=(0,i.computed)((()=>{const{previewSrcList:e,initialIndex:t}=r;let n=t;return t>e.length-1&&(n=0),n})),k=(0,i.computed)((()=>"eager"!==r.loading&&(!O&&"lazy"===r.loading||r.lazy))),C=()=>{Y.oc&&(g.value=!0,m.value=!1,f.value=r.src)};function B(e){g.value=!1,m.value=!1,n("load",e)}function Q(e){g.value=!1,m.value=!0,n("error",e)}function T(){((e,t)=>{if(!Y.oc||!e||!t)return!1;const n=e.getBoundingClientRect();let r;return r=t instanceof Element?t.getBoundingClientRect():{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.top<r.bottom&&n.bottom>r.top&&n.right>r.left&&n.left<r.right})(v.value,y.value)&&(C(),$())}const E=(0,Y.k3)(T,200,!0);async function P(){var e;if(!Y.oc)return;await(0,i.nextTick)();const{scrollContainer:t}=r;(0,c.vq)(t)?y.value=t:(0,se.Kg)(t)&&""!==t?y.value=null!=(e=document.querySelector(t))?e:void 0:v.value&&(y.value=(0,p.Bo)(v.value)),y.value&&(b=(0,a.MLh)(y,"scroll",E),setTimeout((()=>T()),100))}function $(){Y.oc&&y.value&&E&&(null==b||b(),y.value=void 0)}function M(){x.value&&(A.value=!0,n("show"))}function z(){A.value=!1,n("close")}function R(e){n("switch",e)}return(0,i.watch)((()=>r.src),(()=>{k.value?(g.value=!0,m.value=!1,$(),P()):C()})),(0,i.onMounted)((()=>{k.value?P():C()})),t({showPreview:M}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",(0,i.mergeProps)({ref_key:"container",ref:v},(0,i.unref)(u),{class:[(0,i.unref)(s).b(),e.$attrs.class]}),[m.value?(0,i.renderSlot)(e.$slots,"error",{key:0},(()=>[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(s).e("error"))},(0,i.toDisplayString)((0,i.unref)(o)("el.image.error")),3)])):((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:1},[void 0!==f.value?((0,i.openBlock)(),(0,i.createElementBlock)("img",(0,i.mergeProps)({key:0},(0,i.unref)(d),{src:f.value,loading:e.loading,style:(0,i.unref)(_),class:(0,i.unref)(w),crossorigin:e.crossorigin,onClick:M,onLoad:B,onError:Q}),null,16,["src","loading","crossorigin"])):(0,i.createCommentVNode)("v-if",!0),g.value?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)((0,i.unref)(s).e("wrapper"))},[(0,i.renderSlot)(e.$slots,"placeholder",{},(()=>[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(s).e("placeholder"))},null,2)]))],2)):(0,i.createCommentVNode)("v-if",!0)],64)),(0,i.unref)(x)?((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:2},[A.value?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(op),{key:0,"z-index":e.zIndex,"initial-index":(0,i.unref)(S),infinite:e.infinite,"zoom-rate":e.zoomRate,"min-scale":e.minScale,"max-scale":e.maxScale,"show-progress":e.showProgress,"url-list":e.previewSrcList,crossorigin:e.crossorigin,"hide-on-click-modal":e.hideOnClickModal,teleported:e.previewTeleported,"close-on-press-escape":e.closeOnPressEscape,onClose:z,onSwitch:R},{progress:(0,i.withCtx)((t=>[(0,i.renderSlot)(e.$slots,"progress",(0,i.normalizeProps)((0,i.guardReactiveProps)(t)))])),toolbar:(0,i.withCtx)((t=>[(0,i.renderSlot)(e.$slots,"toolbar",(0,i.normalizeProps)((0,i.guardReactiveProps)(t)))])),default:(0,i.withCtx)((()=>[e.$slots.viewer?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0},[(0,i.renderSlot)(e.$slots,"viewer")])):(0,i.createCommentVNode)("v-if",!0)])),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","show-progress","url-list","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):(0,i.createCommentVNode)("v-if",!0)],64)):(0,i.createCommentVNode)("v-if",!0)],16))}});var cp=(0,f.A)(lp,[["__file","image.vue"]]);const up=(0,b.GU)(cp),dp=(0,l.b_)({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:za.mU,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>null===e||(0,c.Et)(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0},...(0,oe.l)(["ariaLabel"])}),fp={[s.YU]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[s.qs]:e=>(0,c.Et)(e)||(0,sn.A)(e),[s.l4]:e=>(0,c.Et)(e)||(0,sn.A)(e)};var hp=n(33385);const pp=(0,i.defineComponent)({name:"ElInputNumber"}),mp=(0,i.defineComponent)({...pp,props:dp,emits:fp,setup(e,{expose:t,emit:n}){const r=e,{t:o}=(0,wr.Ym)(),a=(0,h.DU)("input-number"),l=(0,i.ref)(),u=(0,i.reactive)({currentValue:r.modelValue,userInput:null}),{formItem:d}=(0,Na.j)(),f=(0,i.computed)((()=>(0,c.Et)(r.modelValue)&&r.modelValue<=r.min)),p=(0,i.computed)((()=>(0,c.Et)(r.modelValue)&&r.modelValue>=r.max)),m=(0,i.computed)((()=>{const e=w(r.step);return(0,c.b0)(r.precision)?Math.max(w(r.modelValue),e):(e>r.precision&&(0,g.U)("InputNumber","precision should not be less than the decimal places of step"),r.precision)})),A=(0,i.computed)((()=>r.controls&&"right"===r.controlsPosition)),v=(0,Jn.NV)(),y=(0,Jn.CB)(),O=(0,i.computed)((()=>{if(null!==u.userInput)return u.userInput;let e=u.currentValue;if((0,sn.A)(e))return"";if((0,c.Et)(e)){if(Number.isNaN(e))return"";(0,c.b0)(r.precision)||(e=e.toFixed(r.precision))}return e})),b=(e,t)=>{if((0,c.b0)(t)&&(t=m.value),0===t)return Math.round(e);let n=String(e);const r=n.indexOf(".");if(-1===r)return e;if(!n.replace(".","").split("")[r+t])return e;const o=n.length;return"5"===n.charAt(o-1)&&(n=`${n.slice(0,Math.max(0,o-1))}6`),Number.parseFloat(Number(n).toFixed(t))},w=e=>{if((0,sn.A)(e))return 0;const t=e.toString(),n=t.indexOf(".");let r=0;return-1!==n&&(r=t.length-n-1),r},x=(e,t=1)=>(0,c.Et)(e)?b(e+r.step*t):u.currentValue,S=()=>{if(r.readonly||y.value||p.value)return;const e=Number(O.value)||0,t=x(e);B(t),n(s.qs,u.currentValue),$()},k=()=>{if(r.readonly||y.value||f.value)return;const e=Number(O.value)||0,t=x(e,-1);B(t),n(s.qs,u.currentValue),$()},C=(e,t)=>{const{max:o,min:i,step:a,precision:l,stepStrictly:u,valueOnClear:d}=r;o<i&&(0,g.$)("InputNumber","min should not be greater than max.");let f=Number(e);if((0,sn.A)(e)||Number.isNaN(f))return null;if(""===e){if(null===d)return null;f=(0,se.Kg)(d)?{min:i,max:o}[d]:d}return u&&(f=b(Math.round(f/a)*a,l),f!==e&&t&&n(s.l4,f)),(0,c.b0)(l)||(f=b(f,l)),(f>o||f<i)&&(f=f>o?o:i,t&&n(s.l4,f)),f},B=(e,t=!0)=>{var o;const i=u.currentValue,a=C(e);t?i===a&&e||(u.userInput=null,n(s.l4,a),i!==a&&n(s.YU,a,i),r.validateEvent&&(null==(o=null==d?void 0:d.validate)||o.call(d,"change").catch((e=>(0,g.U)(e)))),u.currentValue=a):n(s.l4,a)},Q=e=>{u.userInput=e;const t=""===e?null:Number(e);n(s.qs,t),B(t,!1)},T=e=>{const t=""!==e?Number(e):"";((0,c.Et)(t)&&!Number.isNaN(t)||""===e)&&B(t),$(),u.userInput=null},E=e=>{n("focus",e)},P=e=>{var t,o;u.userInput=null,(0,hp.gm)()&&null===u.currentValue&&(null==(t=l.value)?void 0:t.input)&&(l.value.input.value=""),n("blur",e),r.validateEvent&&(null==(o=null==d?void 0:d.validate)||o.call(d,"blur").catch((e=>(0,g.U)(e))))},$=()=>{u.currentValue!==r.modelValue&&(u.currentValue=r.modelValue)},M=e=>{document.activeElement===e.target&&e.preventDefault()};return(0,i.watch)((()=>r.modelValue),((e,t)=>{const n=C(e,!0);null===u.userInput&&n!==t&&(u.currentValue=n)}),{immediate:!0}),(0,i.onMounted)((()=>{var e;const{min:t,max:o,modelValue:i}=r,a=null==(e=l.value)?void 0:e.input;if(a.setAttribute("role","spinbutton"),Number.isFinite(o)?a.setAttribute("aria-valuemax",String(o)):a.removeAttribute("aria-valuemax"),Number.isFinite(t)?a.setAttribute("aria-valuemin",String(t)):a.removeAttribute("aria-valuemin"),a.setAttribute("aria-valuenow",u.currentValue||0===u.currentValue?String(u.currentValue):""),a.setAttribute("aria-disabled",String(y.value)),!(0,c.Et)(i)&&null!=i){let e=Number(i);Number.isNaN(e)&&(e=null),n(s.l4,e)}a.addEventListener("wheel",M,{passive:!1})})),(0,i.onUpdated)((()=>{var e,t;const n=null==(e=l.value)?void 0:e.input;null==n||n.setAttribute("aria-valuenow",`${null!=(t=u.currentValue)?t:""}`)})),t({focus:()=>{var e,t;null==(t=null==(e=l.value)?void 0:e.focus)||t.call(e)},blur:()=>{var e,t;null==(t=null==(e=l.value)?void 0:e.blur)||t.call(e)}}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(a).b(),(0,i.unref)(a).m((0,i.unref)(v)),(0,i.unref)(a).is("disabled",(0,i.unref)(y)),(0,i.unref)(a).is("without-controls",!e.controls),(0,i.unref)(a).is("controls-right",(0,i.unref)(A))]),onDragstart:(0,i.withModifiers)((()=>{}),["prevent"])},[e.controls?(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0,role:"button","aria-label":(0,i.unref)(o)("el.inputNumber.decrease"),class:(0,i.normalizeClass)([(0,i.unref)(a).e("decrease"),(0,i.unref)(a).is("disabled",(0,i.unref)(f))]),onKeydown:(0,i.withKeys)(k,["enter"])},[(0,i.renderSlot)(e.$slots,"decrease-icon",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.unref)(A)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(j.ArrowDown),{key:0})):((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(j.Minus),{key:1}))])),_:1})]))],42,["aria-label","onKeydown"])),[[(0,i.unref)(Ru),k]]):(0,i.createCommentVNode)("v-if",!0),e.controls?(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:1,role:"button","aria-label":(0,i.unref)(o)("el.inputNumber.increase"),class:(0,i.normalizeClass)([(0,i.unref)(a).e("increase"),(0,i.unref)(a).is("disabled",(0,i.unref)(p))]),onKeydown:(0,i.withKeys)(S,["enter"])},[(0,i.renderSlot)(e.$slots,"increase-icon",{},(()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.unref)(A)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(j.ArrowUp),{key:0})):((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(j.Plus),{key:1}))])),_:1})]))],42,["aria-label","onKeydown"])),[[(0,i.unref)(Ru),S]]):(0,i.createCommentVNode)("v-if",!0),(0,i.createVNode)((0,i.unref)(q.WK),{id:e.id,ref_key:"input",ref:l,type:"number",step:e.step,"model-value":(0,i.unref)(O),placeholder:e.placeholder,readonly:e.readonly,disabled:(0,i.unref)(y),size:(0,i.unref)(v),max:e.max,min:e.min,name:e.name,"aria-label":e.ariaLabel,"validate-event":!1,onKeydown:[(0,i.withKeys)((0,i.withModifiers)(S,["prevent"]),["up"]),(0,i.withKeys)((0,i.withModifiers)(k,["prevent"]),["down"])],onBlur:P,onFocus:E,onInput:Q,onChange:T},(0,i.createSlots)({_:2},[e.$slots.prefix?{name:"prefix",fn:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"prefix")]))}:void 0,e.$slots.suffix?{name:"suffix",fn:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"suffix")]))}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],42,["onDragstart"]))}});var gp=(0,f.A)(mp,[["__file","input-number.vue"]]);const Ap=(0,b.GU)(gp),vp=(0,l.b_)({modelValue:{type:(0,l.jq)(Array)},max:Number,tagType:{...Fs.type,default:"info"},tagEffect:Fs.effect,trigger:{type:(0,l.jq)(String),default:Wt.R.enter},draggable:{type:Boolean,default:!1},size:za.mU,clearable:Boolean,disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},readonly:Boolean,autofocus:Boolean,id:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},placeholder:String,autocomplete:{type:String,default:"off"},ariaLabel:String}),yp={[s.l4]:e=>(0,se.cy)(e)||(0,c.b0)(e),[s.YU]:e=>(0,se.cy)(e)||(0,c.b0)(e),[s.qs]:e=>(0,se.Kg)(e),"add-tag":e=>(0,se.Kg)(e),"remove-tag":e=>(0,se.Kg)(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0};function Op(){const e=(0,i.shallowRef)(),t=(0,i.ref)(0),n=(0,i.computed)((()=>({minWidth:`${Math.max(t.value,11)}px`})));return(0,a.wYm)(e,(()=>{var n,r;t.value=null!=(r=null==(n=e.value)?void 0:n.getBoundingClientRect().width)?r:0})),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}const bp=(0,i.defineComponent)({name:"ElInputTag",inheritAttrs:!1}),wp=(0,i.defineComponent)({...bp,props:vp,emits:yp,setup(e,{expose:t,emit:n}){const r=e,o=(0,Kn.O)(),a=(0,i.useSlots)(),{form:l,formItem:u}=(0,Na.j)(),{inputId:d}=(0,Na.W)(r,{formItemContext:u}),f=(0,i.computed)((()=>{var e;return null!=(e=null==l?void 0:l.statusIcon)&&e})),p=(0,i.computed)((()=>(null==u?void 0:u.validateState)||"")),A=(0,i.computed)((()=>p.value&&x.vK[p.value])),{inputRef:v,wrapperRef:y,isFocused:O,inputValue:b,size:w,tagSize:S,placeholder:k,closable:C,disabled:B,handleDragged:Q,handleInput:T,handleKeydown:E,handleRemoveTag:P,handleClear:$,handleCompositionStart:M,handleCompositionUpdate:z,handleCompositionEnd:R,focus:D,blur:I}=function({props:e,emit:t,formItem:n}){const r=(0,Jn.CB)(),o=(0,Jn.NV)(),a=(0,i.shallowRef)(),l=(0,i.ref)(),u=(0,i.computed)((()=>["small"].includes(o.value)?"small":"default")),d=(0,i.computed)((()=>{var t;return(null==(t=e.modelValue)?void 0:t.length)?void 0:e.placeholder})),f=(0,i.computed)((()=>!(e.readonly||r.value))),h=(0,i.computed)((()=>{var t,n;return!(0,c.b0)(e.max)&&(null!=(n=null==(t=e.modelValue)?void 0:t.length)?n:0)>=e.max})),p=e=>{h.value?l.value=void 0:O.value||t(s.qs,e.target.value)},m=()=>{var n,r;const o=null==(n=l.value)?void 0:n.trim();if(!o||h.value)return;const i=[...null!=(r=e.modelValue)?r:[],o];t(s.l4,i),t(s.YU,i),t("add-tag",o),l.value=void 0},A=n=>{var r;const o=(null!=(r=e.modelValue)?r:[]).slice(),[i]=o.splice(n,1);t(s.l4,o),t(s.YU,o),t("remove-tag",i)},{wrapperRef:v,isFocused:y}=(0,dc.K)(a,{beforeFocus(){return r.value},afterBlur(){var t;m(),e.validateEvent&&(null==(t=null==n?void 0:n.validate)||t.call(n,"blur").catch((e=>(0,g.U)(e))))}}),{isComposing:O,handleCompositionStart:b,handleCompositionUpdate:w,handleCompositionEnd:_}=(0,tl.o)({afterComposition:p});return(0,i.watch)((()=>e.modelValue),(()=>{var t;e.validateEvent&&(null==(t=null==n?void 0:n.validate)||t.call(n,s.YU).catch((e=>(0,g.U)(e))))})),{inputRef:a,wrapperRef:v,isFocused:y,isComposing:O,inputValue:l,size:o,tagSize:u,placeholder:d,closable:f,disabled:r,inputLimit:h,handleDragged:(n,r,o)=>{var i;const a=(null!=(i=e.modelValue)?i:[]).slice(),[l]=a.splice(n,1),c=r>n&&"before"===o?-1:r<n&&"after"===o?1:0;a.splice(r+c,0,l),t(s.l4,a),t(s.YU,a)},handleInput:p,handleKeydown:t=>{var n;if(!O.value)switch(t.code){case e.trigger:t.preventDefault(),t.stopPropagation(),m();break;case Wt.R.numpadEnter:e.trigger===Wt.R.enter&&(t.preventDefault(),t.stopPropagation(),m());break;case Wt.R.backspace:!l.value&&(null==(n=e.modelValue)?void 0:n.length)&&(t.preventDefault(),t.stopPropagation(),A(e.modelValue.length-1))}},handleAddTag:m,handleRemoveTag:A,handleClear:()=>{l.value=void 0,t(s.l4,void 0),t(s.YU,void 0),t("clear")},handleCompositionStart:b,handleCompositionUpdate:w,handleCompositionEnd:_,focus:()=>{var e;null==(e=a.value)||e.focus()},blur:()=>{var e;null==(e=a.value)||e.blur()}}}({props:r,emit:n,formItem:u}),{hovering:N,handleMouseEnter:L,handleMouseLeave:V}=function(){const e=(0,i.ref)(!1);return{hovering:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}(),{calculatorRef:U,inputStyle:F}=Op(),{dropIndicatorRef:H,showDropIndicator:W,handleDragStart:X,handleDragOver:q,handleDragEnd:Z}=function({wrapperRef:e,handleDragged:t,afterDragged:n}){const r=(0,h.DU)("input-tag"),o=(0,i.shallowRef)(),a=(0,i.ref)(!1);let s,l,u,d;function f(e){return`.${r.e("inner")} .${r.namespace.value}-tag:nth-child(${e+1})`}return{dropIndicatorRef:o,showDropIndicator:a,handleDragStart:function(t,n){s=n,l=e.value.querySelector(f(n)),l&&(l.style.opacity="0.5"),t.dataTransfer.effectAllowed="move"},handleDragOver:function(t,n){if(u=n,t.preventDefault(),t.dataTransfer.dropEffect="move",(0,c.b0)(s)||s===n)return void(a.value=!1);const i=e.value.querySelector(f(n)).getBoundingClientRect(),l=!(s+1===n),h=!(s-1===n),p=t.clientX-i.left,g=l?h?.5:1:-1,A=h?l?.5:0:1;d=p<=i.width*g?"before":p>i.width*A?"after":void 0;const v=e.value.querySelector(`.${r.e("inner")}`),y=v.getBoundingClientRect(),O=Number.parseFloat((0,m.gd)(v,"gap"))/2,b=i.top-y.top;let w=-9999;if("before"===d)w=Math.max(i.left-y.left-O,Math.floor(-O/2));else if("after"===d){const e=i.right-y.left;w=e+(y.width===e?Math.floor(O/2):O)}(0,m.eC)(o.value,{top:`${b}px`,left:`${w}px`}),a.value=!!d},handleDragEnd:function(e){e.preventDefault(),l&&(l.style.opacity=""),!d||(0,c.b0)(s)||(0,c.b0)(u)||s===u||t(s,u,d),a.value=!1,s=void 0,l=null,u=void 0,d=void 0,null==n||n()}}}({wrapperRef:y,handleDragged:Q,afterDragged:D}),{ns:Y,nsInput:G,containerKls:K,containerStyle:J,innerKls:ee,showClear:te,showSuffix:ne}=function({props:e,isFocused:t,hovering:n,disabled:r,inputValue:o,size:a,validateState:s,validateIcon:l,needStatusIcon:c}){const u=(0,i.useAttrs)(),d=(0,i.useSlots)(),f=(0,h.DU)("input-tag"),p=(0,h.DU)("input"),m=(0,i.computed)((()=>[f.b(),f.is("focused",t.value),f.is("hovering",n.value),f.is("disabled",r.value),f.m(a.value),f.e("wrapper"),u.class])),g=(0,i.computed)((()=>[u.style])),A=(0,i.computed)((()=>{var t,n;return[f.e("inner"),f.is("draggable",e.draggable),f.is("left-space",!(null==(t=e.modelValue)?void 0:t.length)&&!d.prefix),f.is("right-space",!(null==(n=e.modelValue)?void 0:n.length)&&!y.value)]})),v=(0,i.computed)((()=>{var i;return e.clearable&&!r.value&&!e.readonly&&((null==(i=e.modelValue)?void 0:i.length)||o.value)&&(t.value||n.value)})),y=(0,i.computed)((()=>d.suffix||v.value||s.value&&l.value&&c.value));return{ns:f,nsInput:p,containerKls:m,containerStyle:g,innerKls:A,showClear:v,showSuffix:y}}({props:r,hovering:N,isFocused:O,inputValue:b,disabled:B,size:w,validateState:p,validateIcon:A,needStatusIcon:f});return t({focus:D,blur:I}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"wrapperRef",ref:y,class:(0,i.normalizeClass)((0,i.unref)(K)),style:(0,i.normalizeStyle)((0,i.unref)(J)),onMouseenter:(0,i.unref)(L),onMouseleave:(0,i.unref)(V)},[(0,i.unref)(a).prefix?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(Y).e("prefix"))},[(0,i.renderSlot)(e.$slots,"prefix")],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(ee))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.modelValue,((t,n)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(qs),{key:n,size:(0,i.unref)(S),closable:(0,i.unref)(C),type:e.tagType,effect:e.tagEffect,draggable:(0,i.unref)(C)&&e.draggable,"disable-transitions":"",onClose:e=>(0,i.unref)(P)(n),onDragstart:e=>(0,i.unref)(X)(e,n),onDragover:e=>(0,i.unref)(q)(e,n),onDragend:(0,i.unref)(Z),onDrop:(0,i.withModifiers)((()=>{}),["stop"])},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"tag",{value:t,index:n},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(t),1)]))])),_:2},1032,["size","closable","type","effect","draggable","onClose","onDragstart","onDragover","onDragend","onDrop"])))),128)),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(Y).e("input-wrapper"))},[(0,i.withDirectives)((0,i.createElementVNode)("input",(0,i.mergeProps)({id:(0,i.unref)(d),ref_key:"inputRef",ref:v,"onUpdate:modelValue":e=>(0,i.isRef)(b)?b.value=e:null},(0,i.unref)(o),{type:"text",minlength:e.minlength,maxlength:e.maxlength,disabled:(0,i.unref)(B),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,placeholder:(0,i.unref)(k),autofocus:e.autofocus,ariaLabel:e.ariaLabel,class:(0,i.unref)(Y).e("input"),style:(0,i.unref)(F),onCompositionstart:(0,i.unref)(M),onCompositionupdate:(0,i.unref)(z),onCompositionend:(0,i.unref)(R),onInput:(0,i.unref)(T),onKeydown:(0,i.unref)(E)}),null,16,["id","onUpdate:modelValue","minlength","maxlength","disabled","readonly","autocomplete","tabindex","placeholder","autofocus","ariaLabel","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onKeydown"]),[[i.vModelText,(0,i.unref)(b)]]),(0,i.createElementVNode)("span",{ref_key:"calculatorRef",ref:U,"aria-hidden":"true",class:(0,i.normalizeClass)((0,i.unref)(Y).e("input-calculator")),textContent:(0,i.toDisplayString)((0,i.unref)(b))},null,10,["textContent"])],2),(0,i.withDirectives)((0,i.createElementVNode)("div",{ref_key:"dropIndicatorRef",ref:H,class:(0,i.normalizeClass)((0,i.unref)(Y).e("drop-indicator"))},null,2),[[i.vShow,(0,i.unref)(W)]])],2),(0,i.unref)(ne)?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)((0,i.unref)(Y).e("suffix"))},[(0,i.renderSlot)(e.$slots,"suffix"),(0,i.unref)(te)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)([(0,i.unref)(Y).e("icon"),(0,i.unref)(Y).e("clear")]),onMousedown:(0,i.withModifiers)((0,i.unref)(se.tE),["prevent"]),onClick:(0,i.unref)($)},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.CircleClose))])),_:1},8,["class","onMousedown","onClick"])):(0,i.createCommentVNode)("v-if",!0),(0,i.unref)(p)&&(0,i.unref)(A)&&(0,i.unref)(f)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:1,class:(0,i.normalizeClass)([(0,i.unref)(G).e("icon"),(0,i.unref)(G).e("validateIcon"),(0,i.unref)(G).is("loading","validating"===(0,i.unref)(p))])},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(A))))])),_:1},8,["class"])):(0,i.createCommentVNode)("v-if",!0)],2)):(0,i.createCommentVNode)("v-if",!0)],46,["onMouseenter","onMouseleave"]))}});var _p=(0,f.A)(wp,[["__file","input-tag.vue"]]);const xp=(0,b.GU)(_p),Sp=(0,l.b_)({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:x.Ze}}),kp={click:e=>e instanceof MouseEvent},Cp=(0,i.defineComponent)({name:"ElLink"}),Bp=(0,i.defineComponent)({...Cp,props:Sp,emits:kp,setup(e,{emit:t}){const n=e,r=(0,h.DU)("link"),o=(0,i.computed)((()=>[r.b(),r.m(n.type),r.is("disabled",n.disabled),r.is("underline",n.underline&&!n.disabled)]));function a(e){n.disabled||t("click",e)}return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("a",{class:(0,i.normalizeClass)((0,i.unref)(o)),href:e.disabled||!e.href?void 0:e.href,target:e.disabled||!e.href?void 0:e.target,onClick:a},[e.icon?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.icon)))])),_:1})):(0,i.createCommentVNode)("v-if",!0),e.$slots.default?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:1,class:(0,i.normalizeClass)((0,i.unref)(r).e("inner"))},[(0,i.renderSlot)(e.$slots,"default")],2)):(0,i.createCommentVNode)("v-if",!0),e.$slots.icon?(0,i.renderSlot)(e.$slots,"icon",{key:2}):(0,i.createCommentVNode)("v-if",!0)],10,["href","target"]))}});var Qp=(0,f.A)(Bp,[["__file","link.vue"]]);const Tp=(0,b.GU)(Qp);class Ep{constructor(e,t){this.parent=e,this.domNode=t,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e}addListeners(){const e=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,(t=>{t.addEventListener("keydown",(t=>{let n=!1;switch(t.code){case Wt.R.down:this.gotoSubIndex(this.subIndex+1),n=!0;break;case Wt.R.up:this.gotoSubIndex(this.subIndex-1),n=!0;break;case Wt.R.tab:(0,cn.Hl)(e,"mouseleave");break;case Wt.R.enter:case Wt.R.numpadEnter:case Wt.R.space:n=!0,t.currentTarget.click()}return n&&(t.preventDefault(),t.stopPropagation()),!1}))}))}}class Pp{constructor(e,t){this.domNode=e,this.submenu=null,this.submenu=null,this.init(t)}init(e){this.domNode.setAttribute("tabindex","0");const t=this.domNode.querySelector(`.${e}-menu`);t&&(this.submenu=new Ep(this,t)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",(e=>{let t=!1;switch(e.code){case Wt.R.down:(0,cn.Hl)(e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),t=!0;break;case Wt.R.up:(0,cn.Hl)(e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),t=!0;break;case Wt.R.tab:(0,cn.Hl)(e.currentTarget,"mouseleave");break;case Wt.R.enter:case Wt.R.numpadEnter:case Wt.R.space:t=!0,e.currentTarget.click()}t&&e.preventDefault()}))}}class $p{constructor(e,t){this.domNode=e,this.init(t)}init(e){const t=this.domNode.childNodes;Array.from(t).forEach((t=>{1===t.nodeType&&new Pp(t,e)}))}}const Mp=(0,i.defineComponent)({name:"ElMenuCollapseTransition"}),zp=(0,i.defineComponent)({...Mp,setup(e){const t=(0,h.DU)("menu"),n={onBeforeEnter:e=>e.style.opacity="0.2",onEnter(e,n){(0,m.iQ)(e,`${t.namespace.value}-opacity-transition`),e.style.opacity="1",n()},onAfterEnter(e){(0,m.vy)(e,`${t.namespace.value}-opacity-transition`),e.style.opacity=""},onBeforeLeave(e){e.dataset||(e.dataset={}),(0,m.nB)(e,t.m("collapse"))?((0,m.vy)(e,t.m("collapse")),e.dataset.oldOverflow=e.style.overflow,e.dataset.scrollWidth=e.clientWidth.toString(),(0,m.iQ)(e,t.m("collapse"))):((0,m.iQ)(e,t.m("collapse")),e.dataset.oldOverflow=e.style.overflow,e.dataset.scrollWidth=e.clientWidth.toString(),(0,m.vy)(e,t.m("collapse"))),e.style.width=`${e.scrollWidth}px`,e.style.overflow="hidden"},onLeave(e){(0,m.iQ)(e,"horizontal-collapse-transition"),e.style.width=`${e.dataset.scrollWidth}px`}};return(e,t)=>((0,i.openBlock)(),(0,i.createBlock)(i.Transition,(0,i.mergeProps)({mode:"out-in"},(0,i.unref)(n)),{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},16))}});var Rp=(0,f.A)(zp,[["__file","menu-collapse-transition.vue"]]);function Dp(e,t){const n=(0,i.computed)((()=>{let n=e.parent;const r=[t.value];for(;"ElMenu"!==n.type.name;)n.props.index&&r.unshift(n.props.index),n=n.parent;return r}));return{parentMenu:(0,i.computed)((()=>{let t=e.parent;for(;t&&!["ElMenu","ElSubMenu"].includes(t.type.name);)t=t.parent;return t})),indexPath:n}}var Ip=n(61951);function Np(e){return(0,i.computed)((()=>{const t=e.backgroundColor;return t?new Ip.q(t).shade(20).toString():""}))}const Lp=(e,t)=>{const n=(0,h.DU)("menu");return(0,i.computed)((()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":Np(e).value||"","active-color":e.activeTextColor||"",level:`${t}`})))},Vp=(0,l.b_)({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:x.Ze},expandOpenIcon:{type:x.Ze},collapseCloseIcon:{type:x.Ze},collapseOpenIcon:{type:x.Ze}}),Up="ElSubMenu";var Fp=(0,i.defineComponent)({name:Up,props:Vp,setup(e,{slots:t,expose:n}){const r=(0,i.getCurrentInstance)(),{indexPath:o,parentMenu:a}=Dp(r,(0,i.computed)((()=>e.index))),s=(0,h.DU)("menu"),l=(0,h.DU)("sub-menu"),c=(0,i.inject)("rootMenu");c||(0,g.$)(Up,"can not inject root menu");const u=(0,i.inject)(`subMenu:${a.value.uid}`);u||(0,g.$)(Up,"can not inject sub menu");const d=(0,i.ref)({}),f=(0,i.ref)({});let p;const m=(0,i.ref)(!1),A=(0,i.ref)(),v=(0,i.ref)(),y=(0,i.computed)((()=>"horizontal"===B.value&&b.value?"bottom-start":"right-start")),O=(0,i.computed)((()=>"horizontal"===B.value&&b.value||"vertical"===B.value&&!c.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?k.value?e.expandOpenIcon:e.expandCloseIcon:j.ArrowDown:e.collapseCloseIcon&&e.collapseOpenIcon?k.value?e.collapseOpenIcon:e.collapseCloseIcon:j.ArrowRight)),b=(0,i.computed)((()=>0===u.level)),w=(0,i.computed)((()=>{const t=e.teleported;return void 0===t?b.value:t})),x=(0,i.computed)((()=>c.props.collapse?`${s.namespace.value}-zoom-in-left`:`${s.namespace.value}-zoom-in-top`)),S=(0,i.computed)((()=>"horizontal"===B.value&&b.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"])),k=(0,i.computed)((()=>c.openedMenus.includes(e.index))),C=(0,i.computed)((()=>[...Object.values(d.value),...Object.values(f.value)].some((({active:e})=>e)))),B=(0,i.computed)((()=>c.props.mode)),Q=(0,i.computed)((()=>c.props.persistent)),T=(0,i.reactive)({index:e.index,indexPath:o,active:C}),E=Lp(c.props,u.level+1),P=(0,i.computed)((()=>{var t;return null!=(t=e.popperOffset)?t:c.props.popperOffset})),$=(0,i.computed)((()=>{var t;return null!=(t=e.popperClass)?t:c.props.popperClass})),M=(0,i.computed)((()=>{var t;return null!=(t=e.showTimeout)?t:c.props.showTimeout})),z=(0,i.computed)((()=>{var t;return null!=(t=e.hideTimeout)?t:c.props.hideTimeout})),R=()=>{"hover"===c.props.menuTrigger&&"horizontal"===c.props.mode||c.props.collapse&&"vertical"===c.props.mode||e.disabled||c.handleSubMenuClick({index:e.index,indexPath:o.value,active:C.value})},D=(t,n=M.value)=>{var r;"focus"!==t.type&&("click"===c.props.menuTrigger&&"horizontal"===c.props.mode||!c.props.collapse&&"vertical"===c.props.mode||e.disabled?u.mouseInChild.value=!0:(u.mouseInChild.value=!0,null==p||p(),({stop:p}=(0,Y.TO)((()=>{c.openMenu(e.index,o.value)}),n)),w.value&&(null==(r=a.value.vnode.el)||r.dispatchEvent(new MouseEvent("mouseenter")))))},I=(t=!1)=>{var n;"click"===c.props.menuTrigger&&"horizontal"===c.props.mode||!c.props.collapse&&"vertical"===c.props.mode?u.mouseInChild.value=!1:(null==p||p(),u.mouseInChild.value=!1,({stop:p}=(0,Y.TO)((()=>!m.value&&c.closeMenu(e.index,o.value)),z.value)),w.value&&t&&(null==(n=u.handleMouseleave)||n.call(u,!0)))};(0,i.watch)((()=>c.props.collapse),(e=>(e=>{var t,n,r;e||null==(r=null==(n=null==(t=v.value)?void 0:t.popperRef)?void 0:n.popperInstanceRef)||r.destroy()})(Boolean(e))));{const e=e=>{f.value[e.index]=e},t=e=>{delete f.value[e.index]};(0,i.provide)(`subMenu:${r.uid}`,{addSubMenu:e,removeSubMenu:t,handleMouseleave:I,mouseInChild:m,level:u.level+1})}return n({opened:k}),(0,i.onMounted)((()=>{c.addSubMenu(T),u.addSubMenu(T)})),(0,i.onBeforeUnmount)((()=>{u.removeSubMenu(T),c.removeSubMenu(T)})),()=>{var n;const o=[null==(n=t.title)?void 0:n.call(t),(0,i.h)(_.tk,{class:l.e("icon-arrow"),style:{transform:k.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&c.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>(0,se.Kg)(O.value)?(0,i.h)(r.appContext.components[O.value]):(0,i.h)(O.value)})],a=c.isMenuPopup?(0,i.h)(Zn,{ref:v,visible:k.value,effect:"light",pure:!0,offset:P.value,showArrow:!1,persistent:Q.value,popperClass:$.value,placement:y.value,teleported:w.value,fallbackPlacements:S.value,transition:x.value,gpuAcceleration:!1},{content:()=>{var e;return(0,i.h)("div",{class:[s.m(B.value),s.m("popup-container"),$.value],onMouseenter:e=>D(e,100),onMouseleave:()=>I(!0),onFocus:e=>D(e,100)},[(0,i.h)("ul",{class:[s.b(),s.m("popup"),s.m(`popup-${y.value}`)],style:E.value},[null==(e=t.default)?void 0:e.call(t)])])},default:()=>(0,i.h)("div",{class:l.e("title"),onClick:R},o)}):(0,i.h)(i.Fragment,{},[(0,i.h)("div",{class:l.e("title"),ref:A,onClick:R},o),(0,i.h)(Tl,{},{default:()=>{var e;return(0,i.withDirectives)((0,i.h)("ul",{role:"menu",class:[s.b(),s.m("inline")],style:E.value},[null==(e=t.default)?void 0:e.call(t)]),[[i.vShow,k.value]])}})]);return(0,i.h)("li",{class:[l.b(),l.is("active",C.value),l.is("opened",k.value),l.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:k.value,onMouseenter:D,onMouseleave:()=>I(),onFocus:D},[a])}}});const Hp=(0,l.b_)({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:(0,l.jq)(Array),default:()=>(0,fl.f)([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:x.Ze,default:()=>j.More},popperEffect:{type:(0,l.jq)(String),default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),Wp=e=>(0,se.cy)(e)&&e.every((e=>(0,se.Kg)(e))),Xp={close:(e,t)=>(0,se.Kg)(e)&&Wp(t),open:(e,t)=>(0,se.Kg)(e)&&Wp(t),select:(e,t,n,r)=>(0,se.Kg)(e)&&Wp(t)&&(0,se.Gv)(n)&&(void 0===r||r instanceof Promise)};var jp=(0,i.defineComponent)({name:"ElMenu",props:Hp,emits:Xp,setup(e,{emit:t,slots:n,expose:r}){const o=(0,i.getCurrentInstance)(),s=o.appContext.config.globalProperties.$router,l=(0,i.ref)(),c=(0,h.DU)("menu"),u=(0,h.DU)("sub-menu"),d=(0,i.ref)(-1),f=(0,i.ref)(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),p=(0,i.ref)(e.defaultActive),m=(0,i.ref)({}),g=(0,i.ref)({}),A=(0,i.computed)((()=>"horizontal"===e.mode||"vertical"===e.mode&&e.collapse)),v=(n,r)=>{f.value.includes(n)||(e.uniqueOpened&&(f.value=f.value.filter((e=>r.includes(e)))),f.value.push(n),t("open",n,r))},y=e=>{const t=f.value.indexOf(e);-1!==t&&f.value.splice(t,1)},O=(e,n)=>{y(e),t("close",e,n)},b=({index:e,indexPath:t})=>{f.value.includes(e)?O(e,t):v(e,t)},w=n=>{("horizontal"===e.mode||e.collapse)&&(f.value=[]);const{index:r,indexPath:o}=n;if(!(0,sn.A)(r)&&!(0,sn.A)(o))if(e.router&&s){const e=n.route||r,i=s.push(e).then((e=>(e||(p.value=r),e)));t("select",r,o,{index:r,indexPath:o,route:e},i)}else p.value=r,t("select",r,o,{index:r,indexPath:o})},x=()=>{var e,t;if(!l.value)return-1;const n=Array.from(null!=(t=null==(e=l.value)?void 0:e.childNodes)?t:[]).filter((e=>"#text"!==e.nodeName||e.nodeValue)),r=getComputedStyle(l.value),o=Number.parseInt(r.paddingLeft,10),i=Number.parseInt(r.paddingRight,10),a=l.value.clientWidth-o-i;let s=0,c=0;return n.forEach(((e,t)=>{"#comment"!==e.nodeName&&(s+=(e=>{const t=getComputedStyle(e),n=Number.parseInt(t.marginLeft,10),r=Number.parseInt(t.marginRight,10);return e.offsetWidth+n+r||0})(e),s<=a-64&&(c=t+1))})),c===n.length?-1:c};let S=!0;const k=()=>{if(d.value===x())return;const e=()=>{d.value=-1,(0,i.nextTick)((()=>{d.value=x()}))};S?e():((e,t=33.34)=>{let n;return()=>{n&&clearTimeout(n),n=setTimeout((()=>{e()}),t)}})(e)(),S=!1};let C;(0,i.watch)((()=>e.defaultActive),(t=>{m.value[t]||(p.value=""),(t=>{var n;const r=m.value,o=r[t]||p.value&&r[p.value]||r[e.defaultActive];p.value=null!=(n=null==o?void 0:o.index)?n:t})(t)})),(0,i.watch)((()=>e.collapse),(e=>{e&&(f.value=[])})),(0,i.watch)(m.value,(()=>{const t=p.value&&m.value[p.value];t&&"horizontal"!==e.mode&&!e.collapse&&t.indexPath.forEach((e=>{const t=g.value[e];t&&v(e,t.indexPath)}))})),(0,i.watchEffect)((()=>{"horizontal"===e.mode&&e.ellipsis?C=(0,a.wYm)(l,k).stop:null==C||C()}));const B=(0,i.ref)(!1);{const t=e=>{g.value[e.index]=e},n=e=>{delete g.value[e.index]},r=e=>{m.value[e.index]=e},a=e=>{delete m.value[e.index]};(0,i.provide)("rootMenu",(0,i.reactive)({props:e,openedMenus:f,items:m,subMenus:g,activeIndex:p,isMenuPopup:A,addMenuItem:r,removeMenuItem:a,addSubMenu:t,removeSubMenu:n,openMenu:v,closeMenu:O,handleMenuItemClick:w,handleSubMenuClick:b})),(0,i.provide)(`subMenu:${o.uid}`,{addSubMenu:t,removeSubMenu:n,mouseInChild:B,level:0})}(0,i.onMounted)((()=>{"horizontal"===e.mode&&new $p(o.vnode.el,c.namespace.value)})),r({open:e=>{const{indexPath:t}=g.value[e];t.forEach((e=>v(e,t)))},close:y,handleResize:k});const Q=Lp(e,0);return()=>{var r,o;let a=null!=(o=null==(r=n.default)?void 0:r.call(n))?o:[];const s=[];if("horizontal"===e.mode&&l.value){const t=(0,mo.CW)(a),n=-1===d.value?t:t.slice(0,d.value),r=-1===d.value?[]:t.slice(d.value);(null==r?void 0:r.length)&&e.ellipsis&&(a=n,s.push((0,i.h)(Fp,{index:"sub-menu-more",class:u.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>(0,i.h)(_.tk,{class:u.e("icon-more")},{default:()=>(0,i.h)(e.ellipsisIcon)}),default:()=>r})))}const h=e.closeOnClickOutside?[[el,()=>{f.value.length&&(B.value||(f.value.forEach((e=>{return t("close",e,(n=e,g.value[n].indexPath));var n})),f.value=[]))}]]:[],p=(0,i.withDirectives)((0,i.h)("ul",{key:String(e.collapse),role:"menubar",ref:l,style:Q.value,class:{[c.b()]:!0,[c.m(e.mode)]:!0,[c.m("collapse")]:e.collapse}},[...a,...s]),h);return e.collapseTransition&&"vertical"===e.mode?(0,i.h)(Rp,(()=>p)):p}}});const qp=(0,l.b_)({index:{type:(0,l.jq)([String,null]),default:null},route:{type:(0,l.jq)([String,Object])},disabled:Boolean}),Zp={click:e=>(0,se.Kg)(e.index)&&(0,se.cy)(e.indexPath)},Yp="ElMenuItem",Gp=(0,i.defineComponent)({name:Yp}),Kp=(0,i.defineComponent)({...Gp,props:qp,emits:Zp,setup(e,{expose:t,emit:n}){const r=e,o=(0,i.getCurrentInstance)(),a=(0,i.inject)("rootMenu"),s=(0,h.DU)("menu"),l=(0,h.DU)("menu-item");a||(0,g.$)(Yp,"can not inject root menu");const{parentMenu:c,indexPath:u}=Dp(o,(0,i.toRef)(r,"index")),d=(0,i.inject)(`subMenu:${c.value.uid}`);d||(0,g.$)(Yp,"can not inject sub menu");const f=(0,i.computed)((()=>r.index===a.activeIndex)),p=(0,i.reactive)({index:r.index,indexPath:u,active:f}),m=()=>{r.disabled||(a.handleMenuItemClick({index:r.index,indexPath:u.value,route:r.route}),n("click",p))};return(0,i.onMounted)((()=>{d.addSubMenu(p),a.addMenuItem(p)})),(0,i.onBeforeUnmount)((()=>{d.removeSubMenu(p),a.removeMenuItem(p)})),t({parentMenu:c,rootMenu:a,active:f,nsMenu:s,nsMenuItem:l,handleClick:m}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("li",{class:(0,i.normalizeClass)([(0,i.unref)(l).b(),(0,i.unref)(l).is("active",(0,i.unref)(f)),(0,i.unref)(l).is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:m},["ElMenu"===(0,i.unref)(c).type.name&&(0,i.unref)(a).props.collapse&&e.$slots.title?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Zn),{key:0,effect:(0,i.unref)(a).props.popperEffect,placement:"right","fallback-placements":["left"],persistent:(0,i.unref)(a).props.persistent},{content:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"title")])),default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(s).be("tooltip","trigger"))},[(0,i.renderSlot)(e.$slots,"default")],2)])),_:3},8,["effect","persistent"])):((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:1},[(0,i.renderSlot)(e.$slots,"default"),(0,i.renderSlot)(e.$slots,"title")],64))],2))}});var Jp=(0,f.A)(Kp,[["__file","menu-item.vue"]]);const em={title:String},tm=(0,i.defineComponent)({name:"ElMenuItemGroup"}),nm=(0,i.defineComponent)({...tm,props:em,setup(e){const t=(0,h.DU)("menu-item-group");return(e,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("li",{class:(0,i.normalizeClass)((0,i.unref)(t).b())},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(t).e("title"))},[e.$slots.title?(0,i.renderSlot)(e.$slots,"title",{key:1}):((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:0},[(0,i.createTextVNode)((0,i.toDisplayString)(e.title),1)],64))],2),(0,i.createElementVNode)("ul",null,[(0,i.renderSlot)(e.$slots,"default")])],2))}});var rm=(0,f.A)(nm,[["__file","menu-item-group.vue"]]);const om=(0,b.GU)(jp,{MenuItem:Jp,MenuItemGroup:rm,SubMenu:Fp}),im=(0,b.WM)(Jp),am=(0,b.WM)(rm),sm=(0,b.WM)(Fp),lm=(0,l.b_)({icon:{type:x.Ze,default:()=>j.Back},title:String,content:{type:String,default:""}}),cm=(0,i.defineComponent)({name:"ElPageHeader"}),um=(0,i.defineComponent)({...cm,props:lm,emits:{back:()=>!0},setup(e,{emit:t}){const{t:n}=(0,wr.Ym)(),r=(0,h.DU)("page-header");function o(){t("back")}return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(r).b(),{[(0,i.unref)(r).m("has-breadcrumb")]:!!e.$slots.breadcrumb,[(0,i.unref)(r).m("has-extra")]:!!e.$slots.extra,[(0,i.unref)(r).is("contentful")]:!!e.$slots.default}])},[e.$slots.breadcrumb?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(r).e("breadcrumb"))},[(0,i.renderSlot)(e.$slots,"breadcrumb")],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).e("header"))},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).e("left"))},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).e("back")),role:"button",tabindex:"0",onClick:o},[e.icon||e.$slots.icon?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,"aria-label":e.title||(0,i.unref)(n)("el.pageHeader.title"),class:(0,i.normalizeClass)((0,i.unref)(r).e("icon"))},[(0,i.renderSlot)(e.$slots,"icon",{},(()=>[e.icon?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.icon)))])),_:1})):(0,i.createCommentVNode)("v-if",!0)]))],10,["aria-label"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).e("title"))},[(0,i.renderSlot)(e.$slots,"title",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.title||(0,i.unref)(n)("el.pageHeader.title")),1)]))],2)],2),(0,i.createVNode)((0,i.unref)(Zd),{direction:"vertical"}),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).e("content"))},[(0,i.renderSlot)(e.$slots,"content",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.content),1)]))],2)],2),e.$slots.extra?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(r).e("extra"))},[(0,i.renderSlot)(e.$slots,"extra")],2)):(0,i.createCommentVNode)("v-if",!0)],2),e.$slots.default?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)((0,i.unref)(r).e("main"))},[(0,i.renderSlot)(e.$slots,"default")],2)):(0,i.createCommentVNode)("v-if",!0)],2))}});var dm=(0,f.A)(um,[["__file","page-header.vue"]]);const fm=(0,b.GU)(dm),hm=Symbol("elPaginationKey"),pm=(0,l.b_)({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:x.Ze}}),mm={click:e=>e instanceof MouseEvent},gm=(0,i.defineComponent)({name:"ElPaginationPrev"}),Am=(0,i.defineComponent)({...gm,props:pm,emits:mm,setup(e){const t=e,{t:n}=(0,wr.Ym)(),r=(0,i.computed)((()=>t.disabled||t.currentPage<=1));return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("button",{type:"button",class:"btn-prev",disabled:(0,i.unref)(r),"aria-label":e.prevText||(0,i.unref)(n)("el.pagination.prev"),"aria-disabled":(0,i.unref)(r),onClick:t=>e.$emit("click",t)},[e.prevText?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0},(0,i.toDisplayString)(e.prevText),1)):((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:1},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.prevIcon)))])),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}});var vm=(0,f.A)(Am,[["__file","prev.vue"]]);const ym=(0,l.b_)({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:x.Ze}}),Om=(0,i.defineComponent)({name:"ElPaginationNext"}),bm=(0,i.defineComponent)({...Om,props:ym,emits:["click"],setup(e){const t=e,{t:n}=(0,wr.Ym)(),r=(0,i.computed)((()=>t.disabled||t.currentPage===t.pageCount||0===t.pageCount));return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("button",{type:"button",class:"btn-next",disabled:(0,i.unref)(r),"aria-label":e.nextText||(0,i.unref)(n)("el.pagination.next"),"aria-disabled":(0,i.unref)(r),onClick:t=>e.$emit("click",t)},[e.nextText?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0},(0,i.toDisplayString)(e.nextText),1)):((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:1},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.nextIcon)))])),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}});var wm=(0,f.A)(bm,[["__file","next.vue"]]),_m=n(77500);const xm=Symbol("ElSelectGroup"),Sm=Symbol("ElSelect"),km=(0,i.defineComponent)({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(e){const t=(0,h.DU)("select"),n=(0,kn.Bi)(),r=(0,i.computed)((()=>[t.be("dropdown","item"),t.is("disabled",(0,i.unref)(l)),t.is("selected",(0,i.unref)(s)),t.is("hovering",(0,i.unref)(p))])),o=(0,i.reactive)({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:a,itemSelected:s,isDisabled:l,select:c,hoverItem:u,updateOption:d}=function(e,t){const n=(0,i.inject)(Sm),r=(0,i.inject)(xm,{disabled:!1}),o=(0,i.computed)((()=>d(_l(n.props.modelValue),e.value))),a=(0,i.computed)((()=>{var e;if(n.props.multiple){const t=_l(null!=(e=n.props.modelValue)?e:[]);return!o.value&&t.length>=n.props.multipleLimit&&n.props.multipleLimit>0}return!1})),s=(0,i.computed)((()=>e.label||((0,se.Gv)(e.value)?"":e.value))),l=(0,i.computed)((()=>e.value||e.label||"")),c=(0,i.computed)((()=>e.disabled||t.groupDisabled||a.value)),u=(0,i.getCurrentInstance)(),d=(t=[],r)=>{if((0,se.Gv)(e.value)){const e=n.props.valueKey;return t&&t.some((t=>(0,i.toRaw)((0,_m.A)(t,e))===(0,_m.A)(r,e)))}return t&&t.includes(r)};return(0,i.watch)((()=>s.value),(()=>{e.created||n.props.remote||n.setSelected()})),(0,i.watch)((()=>e.value),((t,r)=>{const{remote:o,valueKey:i}=n.props;if((o?t!==r:!Pa(t,r))&&(n.onOptionDestroy(r,u.proxy),n.onOptionCreate(u.proxy)),!e.created&&!o){if(i&&(0,se.Gv)(t)&&(0,se.Gv)(r)&&t[i]===r[i])return;n.setSelected()}})),(0,i.watch)((()=>r.disabled),(()=>{t.groupDisabled=r.disabled}),{immediate:!0}),{select:n,currentLabel:s,currentValue:l,itemSelected:o,isDisabled:c,hoverItem:()=>{e.disabled||r.disabled||(n.states.hoveringIndex=n.optionsArray.indexOf(u.proxy))},updateOption:n=>{const r=new RegExp(Qs(n),"i");t.visible=r.test(s.value)||e.created}}}(e,o),{visible:f,hover:p}=(0,i.toRefs)(o),m=(0,i.getCurrentInstance)().proxy;return c.onOptionCreate(m),(0,i.onBeforeUnmount)((()=>{const e=m.value,{selected:t}=c.states,n=t.some((e=>e.value===m.value));(0,i.nextTick)((()=>{c.states.cachedOptions.get(e)!==m||n||c.states.cachedOptions.delete(e)})),c.onOptionDestroy(e,m)})),{ns:t,id:n,containerKls:r,currentLabel:a,itemSelected:s,isDisabled:l,select:c,hoverItem:u,updateOption:d,visible:f,hover:p,selectOptionClick:function(){l.value||c.handleOptionSelect(m)},states:o}}});var Cm=(0,f.A)(km,[["render",function(e,t,n,r,o,a){return(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("li",{id:e.id,class:(0,i.normalizeClass)(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMousemove:e.hoverItem,onClick:(0,i.withModifiers)(e.selectOptionClick,["stop"])},[(0,i.renderSlot)(e.$slots,"default",{},(()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(e.currentLabel),1)]))],42,["id","aria-disabled","aria-selected","onMousemove","onClick"])),[[i.vShow,e.visible]])}],["__file","option.vue"]]);const Bm=(0,i.defineComponent)({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=(0,i.inject)(Sm),t=(0,h.DU)("select"),n=(0,i.computed)((()=>e.props.popperClass)),r=(0,i.computed)((()=>e.props.multiple)),o=(0,i.computed)((()=>e.props.fitInputWidth)),s=(0,i.ref)("");function l(){var t;s.value=`${null==(t=e.selectRef)?void 0:t.offsetWidth}px`}return(0,i.onMounted)((()=>{l(),(0,a.wYm)(e.selectRef,l)})),{ns:t,minWidth:s,popperClass:n,isMultiple:r,isFitInputWidth:o}}});var Qm=(0,f.A)(Bm,[["render",function(e,t,n,r,o,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:(0,i.normalizeStyle)({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)(e.ns.be("dropdown","header"))},[(0,i.renderSlot)(e.$slots,"header")],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.renderSlot)(e.$slots,"default"),e.$slots.footer?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)(e.ns.be("dropdown","footer"))},[(0,i.renderSlot)(e.$slots,"footer")],2)):(0,i.createCommentVNode)("v-if",!0)],6)}],["__file","select-dropdown.vue"]]),Tm=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1},Em=function(e){return e==e&&!(0,P.A)(e)},Pm=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},$m=function(e){var t=function(e){for(var t=ci(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Em(o)]}return t}(e);return 1==t.length&&t[0][2]?Pm(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var l=(s=n[o])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new Eo;if(r)var f=r(c,u,l,e,t,d);if(!(void 0===f?Ea(u,c,3,r,d):f))return!1}}return!0}(n,e,t)}},Mm=n(1668),zm=n(86586),Rm=n(30901),Dm=n(29008),Im=n(66318),Nm=function(e){return(0,zm.A)(e)?(t=(0,Rm.A)(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return(0,Im.A)(t,e)}}(e);var t},Lm=function(e){return"function"==typeof e?e:null==e?Dm.A:"object"==typeof e?(0,Ro.A)(e)?(t=e[0],n=e[1],(0,zm.A)(t)&&Em(n)?Pm((0,Rm.A)(t),n):function(e){var r=(0,_m.A)(e,t);return void 0===r&&r===n?(0,Mm.A)(e,t):Ea(n,r,3)}):$m(e):Nm(e);var t,n},Vm=1/0,Um=function(e){var t=function(e){return e?(e=F(e))===Vm||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),n=t%1;return t==t?n?t-n:t:0},Fm=Math.max,Hm=Math.min,Wm=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=Um(n),o=n<0?Fm(r+o,0):Hm(o,r-1)),Tm(e,Lm(t),o,!0)};var Xm=(0,i.defineComponent)({name:"ElOptions",setup(e,{slots:t}){const n=(0,i.inject)(Sm);let r=[];return()=>{var e,o;const i=null==(e=t.default)?void 0:e.call(t),a=[];return i.length&&function e(t){(0,se.cy)(t)&&t.forEach((t=>{var n,r,o,i;const s=null==(n=(null==t?void 0:t.type)||{})?void 0:n.name;"ElOptionGroup"===s?e((0,se.Kg)(t.children)||(0,se.cy)(t.children)||!(0,se.Tn)(null==(r=t.children)?void 0:r.default)?t.children:null==(o=t.children)?void 0:o.default()):"ElOption"===s?a.push(null==(i=t.props)?void 0:i.value):(0,se.cy)(t.children)&&e(t.children)}))}(null==(o=i[0])?void 0:o.children),Pa(a,r)||(r=a,n&&(n.states.optionValues=a)),i}}});const jm=(0,l.b_)({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:za.mU,effect:{type:(0,l.jq)(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:(0,l.jq)(Object),default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:Ft.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:x.Ze,default:j.CircleClose},fitInputWidth:Boolean,suffixIcon:{type:x.Ze,default:j.ArrowDown},tagType:{...Fs.type,default:"info"},tagEffect:{...Fs.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:(0,l.jq)(String),values:ze,default:"bottom-start"},fallbackPlacements:{type:(0,l.jq)(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:String,...Zs.bs,...(0,oe.l)(["ariaLabel"])}),qm="ElSelect",Zm=(0,i.defineComponent)({name:qm,componentName:qm,components:{ElSelectMenu:Qm,ElOption:Cm,ElOptions:Xm,ElTag:qs,ElScrollbar:fe,ElTooltip:Zn,ElIcon:_.tk},directives:{ClickOutside:el},props:jm,emits:[s.l4,s.YU,"remove-tag","clear","visible-change","focus","blur","popup-scroll"],setup(e,{emit:t}){const n=(0,i.computed)((()=>{const{modelValue:t,multiple:n}=e,r=n?[]:void 0;return(0,se.cy)(t)?n?t:r:n?r:t})),r=(0,i.reactive)({...(0,i.toRefs)(e),modelValue:n}),o=((e,t)=>{const{t:n}=(0,wr.Ym)(),r=(0,kn.Bi)(),o=(0,h.DU)("select"),l=(0,h.DU)("input"),u=(0,i.reactive)({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),d=(0,i.ref)(null),f=(0,i.ref)(null),m=(0,i.ref)(null),A=(0,i.ref)(null),v=(0,i.ref)(null),y=(0,i.ref)(null),O=(0,i.ref)(null),b=(0,i.ref)(null),w=(0,i.ref)(null),_=(0,i.ref)(null),S=(0,i.ref)(null),{isComposing:k,handleCompositionStart:C,handleCompositionUpdate:B,handleCompositionEnd:Q}=(0,tl.o)({afterComposition:e=>ye(e)}),{wrapperRef:T,isFocused:E,handleBlur:P}=(0,dc.K)(v,{beforeFocus(){return L.value},afterFocus(){e.automaticDropdown&&!$.value&&($.value=!0,u.menuVisibleOnFocus=!0)},beforeBlur(e){var t,n;return(null==(t=m.value)?void 0:t.isFocusInsideContent(e))||(null==(n=A.value)?void 0:n.isFocusInsideContent(e))},afterBlur(){$.value=!1,u.menuVisibleOnFocus=!1}}),$=(0,i.ref)(!1),M=(0,i.ref)(),{form:z,formItem:R}=(0,Na.j)(),{inputId:D}=(0,Na.W)(e,{formItemContext:R}),{valueOnClear:I,isEmptyValue:N}=(0,Zs.fQ)(e),L=(0,i.computed)((()=>e.disabled||(null==z?void 0:z.disabled))),V=(0,i.computed)((()=>(0,se.cy)(e.modelValue)?e.modelValue.length>0:!N(e.modelValue))),U=(0,i.computed)((()=>{var e;return null!=(e=null==z?void 0:z.statusIcon)&&e})),F=(0,i.computed)((()=>e.clearable&&!L.value&&u.inputHovering&&V.value)),H=(0,i.computed)((()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon)),W=(0,i.computed)((()=>o.is("reverse",H.value&&$.value))),j=(0,i.computed)((()=>(null==R?void 0:R.validateState)||"")),q=(0,i.computed)((()=>x.vK[j.value])),Z=(0,i.computed)((()=>e.remote?300:0)),G=(0,i.computed)((()=>e.remote&&!u.inputValue&&0===u.options.size)),K=(0,i.computed)((()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&u.inputValue&&u.options.size>0&&0===J.value?e.noMatchText||n("el.select.noMatch"):0===u.options.size?e.noDataText||n("el.select.noData"):null)),J=(0,i.computed)((()=>ee.value.filter((e=>e.visible)).length)),ee=(0,i.computed)((()=>{const e=Array.from(u.options.values()),t=[];return u.optionValues.forEach((n=>{const r=e.findIndex((e=>e.value===n));r>-1&&t.push(e[r])})),t.length>=e.length?t:e})),te=(0,i.computed)((()=>Array.from(u.cachedOptions.values()))),ne=(0,i.computed)((()=>{const t=ee.value.filter((e=>!e.created)).some((e=>e.currentLabel===u.inputValue));return e.filterable&&e.allowCreate&&""!==u.inputValue&&!t})),re=()=>{e.filterable&&(0,se.Tn)(e.filterMethod)||e.filterable&&e.remote&&(0,se.Tn)(e.remoteMethod)||ee.value.forEach((e=>{var t;null==(t=e.updateOption)||t.call(e,u.inputValue)}))},oe=(0,Jn.NV)(),ie=(0,i.computed)((()=>["small"].includes(oe.value)?"small":"default")),ae=(0,i.computed)({get(){return $.value&&!G.value},set(e){$.value=e}}),le=(0,i.computed)((()=>{if(e.multiple&&!(0,c.b0)(e.modelValue))return 0===_l(e.modelValue).length&&!u.inputValue;const t=(0,se.cy)(e.modelValue)?e.modelValue[0]:e.modelValue;return!e.filterable&&!(0,c.b0)(t)||!u.inputValue})),ce=(0,i.computed)((()=>{var t;const r=null!=(t=e.placeholder)?t:n("el.select.placeholder");return e.multiple||!V.value?r:u.selectedLabel})),ue=(0,i.computed)((()=>Y.un?null:"mouseenter"));(0,i.watch)((()=>e.modelValue),((t,n)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(u.inputValue="",de("")),he(),!Pa(t,n)&&e.validateEvent&&(null==R||R.validate("change").catch((e=>(0,g.U)(e))))}),{flush:"post",deep:!0}),(0,i.watch)((()=>$.value),(e=>{e?de(u.inputValue):(u.inputValue="",u.previousQuery=null,u.isBeforeHide=!0),t("visible-change",e)})),(0,i.watch)((()=>u.options.entries()),(()=>{Y.oc&&(he(),e.defaultFirstOption&&(e.filterable||e.remote)&&J.value&&fe())}),{flush:"post"}),(0,i.watch)((()=>u.hoveringIndex),(e=>{(0,c.Et)(e)&&e>-1?M.value=ee.value[e]||{}:M.value={},ee.value.forEach((e=>{e.hover=M.value===e}))})),(0,i.watchEffect)((()=>{u.isBeforeHide||re()}));const de=t=>{u.previousQuery===t||k.value||(u.previousQuery=t,e.filterable&&(0,se.Tn)(e.filterMethod)?e.filterMethod(t):e.filterable&&e.remote&&(0,se.Tn)(e.remoteMethod)&&e.remoteMethod(t),e.defaultFirstOption&&(e.filterable||e.remote)&&J.value?(0,i.nextTick)(fe):(0,i.nextTick)(me))},fe=()=>{const e=ee.value.filter((e=>e.visible&&!e.disabled&&!e.states.groupDisabled)),t=e.find((e=>e.created)),n=e[0],r=ee.value.map((e=>e.value));u.hoveringIndex=xe(r,t||n)},he=()=>{if(!e.multiple){const t=(0,se.cy)(e.modelValue)?e.modelValue[0]:e.modelValue,n=pe(t);return u.selectedLabel=n.currentLabel,void(u.selected=[n])}u.selectedLabel="";const t=[];(0,c.b0)(e.modelValue)||_l(e.modelValue).forEach((e=>{t.push(pe(e))})),u.selected=t},pe=t=>{let n;const r=(0,se.Qd)(t);for(let o=u.cachedOptions.size-1;o>=0;o--){const i=te.value[o];if(r?(0,_m.A)(i.value,e.valueKey)===(0,_m.A)(t,e.valueKey):i.value===t){n={value:t,currentLabel:i.currentLabel,get isDisabled(){return i.isDisabled}};break}}return n||{value:t,currentLabel:r?t.label:null!=t?t:""}},me=()=>{u.hoveringIndex=ee.value.findIndex((e=>u.selected.some((t=>Qe(t)===Qe(e)))))},ge=()=>{var e,t;null==(t=null==(e=m.value)?void 0:e.updatePopper)||t.call(e)},Ae=()=>{var e,t;null==(t=null==(e=A.value)?void 0:e.updatePopper)||t.call(e)},ve=()=>{u.inputValue.length>0&&!$.value&&($.value=!0),de(u.inputValue)},ye=t=>{if(u.inputValue=t.target.value,!e.remote)return ve();Oe()},Oe=X((()=>{ve()}),Z.value),be=n=>{Pa(e.modelValue,n)||t(s.YU,n)},we=n=>{n.stopPropagation();const r=e.multiple?[]:I.value;if(e.multiple)for(const e of u.selected)e.isDisabled&&r.push(e.value);t(s.l4,r),be(r),u.hoveringIndex=-1,$.value=!1,t("clear"),Ce()},_e=n=>{var r;if(e.multiple){const o=_l(null!=(r=e.modelValue)?r:[]).slice(),i=xe(o,n);i>-1?o.splice(i,1):(e.multipleLimit<=0||o.length<e.multipleLimit)&&o.push(n.value),t(s.l4,o),be(o),n.created&&de(""),e.filterable&&!e.reserveKeyword&&(u.inputValue="")}else t(s.l4,n.value),be(n.value),$.value=!1;Ce(),$.value||(0,i.nextTick)((()=>{Se(n)}))},xe=(t=[],n)=>(0,c.b0)(n)?-1:(0,se.Gv)(n.value)?t.findIndex((t=>Pa((0,_m.A)(t,e.valueKey),Qe(n)))):t.indexOf(n.value),Se=e=>{var t,n,r,i,a;const s=(0,se.cy)(e)?e[0]:e;let l=null;if(null==s?void 0:s.value){const e=ee.value.filter((e=>e.value===s.value));e.length>0&&(l=e[0].$el)}if(m.value&&l){const e=null==(i=null==(r=null==(n=null==(t=m.value)?void 0:t.popperRef)?void 0:n.contentRef)?void 0:r.querySelector)?void 0:i.call(r,`.${o.be("dropdown","wrap")}`);e&&(0,p.Rt)(e,l)}null==(a=S.value)||a.handleScroll()},ke=(0,i.computed)((()=>{var e,t;return null==(t=null==(e=m.value)?void 0:e.popperRef)?void 0:t.contentRef})),Ce=()=>{var e;null==(e=v.value)||e.focus()},Be=()=>{L.value||(Y.un&&(u.inputHovering=!0),u.menuVisibleOnFocus?u.menuVisibleOnFocus=!1:$.value=!$.value)},Qe=t=>(0,se.Gv)(t.value)?(0,_m.A)(t.value,e.valueKey):t.value,Te=(0,i.computed)((()=>ee.value.filter((e=>e.visible)).every((e=>e.isDisabled)))),Ee=(0,i.computed)((()=>e.multiple?e.collapseTags?u.selected.slice(0,e.maxCollapseTags):u.selected:[])),Pe=(0,i.computed)((()=>e.multiple&&e.collapseTags?u.selected.slice(e.maxCollapseTags):[])),$e=e=>{if($.value){if(0!==u.options.size&&0!==J.value&&!k.value&&!Te.value){"next"===e?(u.hoveringIndex++,u.hoveringIndex===u.options.size&&(u.hoveringIndex=0)):"prev"===e&&(u.hoveringIndex--,u.hoveringIndex<0&&(u.hoveringIndex=u.options.size-1));const t=ee.value[u.hoveringIndex];!t.isDisabled&&t.visible||$e(e),(0,i.nextTick)((()=>Se(M.value)))}}else $.value=!0},Me=(0,i.computed)((()=>{const t=(()=>{if(!f.value)return 0;const e=window.getComputedStyle(f.value);return Number.parseFloat(e.gap||"6px")})();return{maxWidth:`${_.value&&1===e.maxCollapseTags?u.selectionWidth-u.collapseItemWidth-t:u.selectionWidth}px`}})),ze=(0,i.computed)((()=>({maxWidth:`${u.selectionWidth}px`})));return(0,a.wYm)(f,(()=>{u.selectionWidth=f.value.getBoundingClientRect().width})),(0,a.wYm)(b,ge),(0,a.wYm)(T,ge),(0,a.wYm)(w,Ae),(0,a.wYm)(_,(()=>{u.collapseItemWidth=_.value.getBoundingClientRect().width})),(0,i.onMounted)((()=>{he()})),{inputId:D,contentId:r,nsSelect:o,nsInput:l,states:u,isFocused:E,expanded:$,optionsArray:ee,hoverOption:M,selectSize:oe,filteredOptionsCount:J,updateTooltip:ge,updateTagTooltip:Ae,debouncedOnInputChange:Oe,onInput:ye,deletePrevTag:n=>{if(e.multiple&&n.code!==Wt.R.delete&&n.target.value.length<=0){const n=_l(e.modelValue).slice(),r=(e=>Wm(e,(e=>{const t=u.cachedOptions.get(e);return t&&!t.disabled&&!t.states.groupDisabled})))(n);if(r<0)return;const o=n[r];n.splice(r,1),t(s.l4,n),be(n),t("remove-tag",o)}},deleteTag:(n,r)=>{const o=u.selected.indexOf(r);if(o>-1&&!L.value){const n=_l(e.modelValue).slice();n.splice(o,1),t(s.l4,n),be(n),t("remove-tag",r.value)}n.stopPropagation(),Ce()},deleteSelected:we,handleOptionSelect:_e,scrollToOption:Se,hasModelValue:V,shouldShowPlaceholder:le,currentPlaceholder:ce,mouseEnterEventName:ue,needStatusIcon:U,showClose:F,iconComponent:H,iconReverse:W,validateState:j,validateIcon:q,showNewOption:ne,updateOptions:re,collapseTagSize:ie,setSelected:he,selectDisabled:L,emptyText:K,handleCompositionStart:C,handleCompositionUpdate:B,handleCompositionEnd:Q,onOptionCreate:e=>{u.options.set(e.value,e),u.cachedOptions.set(e.value,e)},onOptionDestroy:(e,t)=>{u.options.get(e)===t&&u.options.delete(e)},handleMenuEnter:()=>{u.isBeforeHide=!1,(0,i.nextTick)((()=>{var e;null==(e=S.value)||e.update(),Se(u.selected)}))},focus:Ce,blur:()=>{var e;if($.value)return $.value=!1,void(0,i.nextTick)((()=>{var e;return null==(e=v.value)?void 0:e.blur()}));null==(e=v.value)||e.blur()},handleClearClick:e=>{we(e)},handleClickOutside:e=>{if($.value=!1,E.value){const t=new FocusEvent("focus",e);(0,i.nextTick)((()=>P(t)))}},handleEsc:()=>{u.inputValue.length>0?u.inputValue="":$.value=!1},toggleMenu:Be,selectOption:()=>{if($.value){const e=ee.value[u.hoveringIndex];e&&!e.isDisabled&&_e(e)}else Be()},getValueKey:Qe,navigateOptions:$e,dropdownMenuVisible:ae,showTagList:Ee,collapseTagList:Pe,popupScroll:e=>{t("popup-scroll",e)},tagStyle:Me,collapseTagStyle:ze,popperRef:ke,inputRef:v,tooltipRef:m,tagTooltipRef:A,prefixRef:y,suffixRef:O,selectRef:d,wrapperRef:T,selectionRef:f,scrollbarRef:S,menuRef:b,tagMenuRef:w,collapseItemRef:_}})(r,t),{calculatorRef:l,inputStyle:u}=Op();(0,i.provide)(Sm,(0,i.reactive)({props:r,states:o.states,optionsArray:o.optionsArray,handleOptionSelect:o.handleOptionSelect,onOptionCreate:o.onOptionCreate,onOptionDestroy:o.onOptionDestroy,selectRef:o.selectRef,setSelected:o.setSelected}));const d=(0,i.computed)((()=>e.multiple?o.states.selected.map((e=>e.currentLabel)):o.states.selectedLabel));return{...o,modelValue:n,selectedLabel:d,calculatorRef:l,inputStyle:u}}});var Ym=(0,f.A)(Zm,[["render",function(e,t,n,r,o,a){const s=(0,i.resolveComponent)("el-tag"),l=(0,i.resolveComponent)("el-tooltip"),c=(0,i.resolveComponent)("el-icon"),u=(0,i.resolveComponent)("el-option"),d=(0,i.resolveComponent)("el-options"),f=(0,i.resolveComponent)("el-scrollbar"),h=(0,i.resolveComponent)("el-select-menu"),p=(0,i.resolveDirective)("click-outside");return(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref:"selectRef",class:(0,i.normalizeClass)([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),[(0,i.toHandlerKey)(e.mouseEnterEventName)]:t=>e.states.inputHovering=!0,onMouseleave:t=>e.states.inputHovering=!1},[(0,i.createVNode)(l,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t=>e.states.isBeforeHide=!1},{default:(0,i.withCtx)((()=>{var t;return[(0,i.createElementVNode)("div",{ref:"wrapperRef",class:(0,i.normalizeClass)([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:(0,i.withModifiers)(e.toggleMenu,["prevent"])},[e.$slots.prefix?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,ref:"prefixRef",class:(0,i.normalizeClass)(e.nsSelect.e("prefix"))},[(0,i.renderSlot)(e.$slots,"prefix")],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{ref:"selectionRef",class:(0,i.normalizeClass)([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?(0,i.renderSlot)(e.$slots,"tag",{key:0},(()=>[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.showTagList,(t=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:e.getValueKey(t),class:(0,i.normalizeClass)(e.nsSelect.e("selected-item"))},[(0,i.createVNode)(s,{closable:!e.selectDisabled&&!t.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:(0,i.normalizeStyle)(e.tagStyle),onClose:n=>e.deleteTag(n,t)},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(e.nsSelect.e("tags-text"))},[(0,i.renderSlot)(e.$slots,"label",{label:t.currentLabel,value:t.value},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(t.currentLabel),1)]))],2)])),_:2},1032,["closable","size","type","effect","style","onClose"])],2)))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?((0,i.openBlock)(),(0,i.createBlock)(l,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{ref:"collapseItemRef",class:(0,i.normalizeClass)(e.nsSelect.e("selected-item"))},[(0,i.createVNode)(s,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:(0,i.normalizeStyle)(e.collapseTagStyle)},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(e.nsSelect.e("tags-text"))}," + "+(0,i.toDisplayString)(e.states.selected.length-e.maxCollapseTags),3)])),_:1},8,["size","type","effect","style"])],2)])),content:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{ref:"tagMenuRef",class:(0,i.normalizeClass)(e.nsSelect.e("selection"))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.collapseTagList,(t=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:e.getValueKey(t),class:(0,i.normalizeClass)(e.nsSelect.e("selected-item"))},[(0,i.createVNode)(s,{class:"in-tooltip",closable:!e.selectDisabled&&!t.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:n=>e.deleteTag(n,t)},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(e.nsSelect.e("tags-text"))},[(0,i.renderSlot)(e.$slots,"label",{label:t.currentLabel,value:t.value},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(t.currentLabel),1)]))],2)])),_:2},1032,["closable","size","type","effect","onClose"])],2)))),128))],2)])),_:3},8,["disabled","effect","teleported"])):(0,i.createCommentVNode)("v-if",!0)])):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[(0,i.withDirectives)((0,i.createElementVNode)("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":t=>e.states.inputValue=t,type:"text",name:e.name,class:(0,i.normalizeClass)([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:(0,i.normalizeStyle)(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":(null==(t=e.hoverOption)?void 0:t.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:[(0,i.withKeys)((0,i.withModifiers)((t=>e.navigateOptions("next")),["stop","prevent"]),["down"]),(0,i.withKeys)((0,i.withModifiers)((t=>e.navigateOptions("prev")),["stop","prevent"]),["up"]),(0,i.withKeys)((0,i.withModifiers)(e.handleEsc,["stop","prevent"]),["esc"]),(0,i.withKeys)((0,i.withModifiers)(e.selectOption,["stop","prevent"]),["enter"]),(0,i.withKeys)((0,i.withModifiers)(e.deletePrevTag,["stop"]),["delete"])],onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onInput:e.onInput,onClick:(0,i.withModifiers)(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onClick"]),[[i.vModelText,e.states.inputValue]]),e.filterable?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:(0,i.normalizeClass)(e.nsSelect.e("input-calculator")),textContent:(0,i.toDisplayString)(e.states.inputValue)},null,10,["textContent"])):(0,i.createCommentVNode)("v-if",!0)],2),e.shouldShowPlaceholder?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?(0,i.renderSlot)(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},(()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(e.currentPlaceholder),1)])):((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:1},(0,i.toDisplayString)(e.currentPlaceholder),1))],2)):(0,i.createCommentVNode)("v-if",!0)],2),(0,i.createElementVNode)("div",{ref:"suffixRef",class:(0,i.normalizeClass)(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClose?((0,i.openBlock)(),(0,i.createBlock)(c,{key:0,class:(0,i.normalizeClass)([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.iconComponent)))])),_:1},8,["class"])):(0,i.createCommentVNode)("v-if",!0),e.showClose&&e.clearIcon?((0,i.openBlock)(),(0,i.createBlock)(c,{key:1,class:(0,i.normalizeClass)([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.clearIcon)))])),_:1},8,["class","onClick"])):(0,i.createCommentVNode)("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?((0,i.openBlock)(),(0,i.createBlock)(c,{key:2,class:(0,i.normalizeClass)([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading","validating"===e.validateState)])},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.validateIcon)))])),_:1},8,["class"])):(0,i.createCommentVNode)("v-if",!0)],2)],10,["onClick"])]})),content:(0,i.withCtx)((()=>[(0,i.createVNode)(h,{ref:"menuRef"},{default:(0,i.withCtx)((()=>[e.$slots.header?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)(e.nsSelect.be("dropdown","header")),onClick:(0,i.withModifiers)((()=>{}),["stop"])},[(0,i.renderSlot)(e.$slots,"header")],10,["onClick"])):(0,i.createCommentVNode)("v-if",!0),(0,i.withDirectives)((0,i.createVNode)(f,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:(0,i.normalizeClass)([e.nsSelect.is("empty",0===e.filteredOptionsCount)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll},{default:(0,i.withCtx)((()=>[e.showNewOption?((0,i.openBlock)(),(0,i.createBlock)(u,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createVNode)(d,null,{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3})])),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll"]),[[i.vShow,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)(e.nsSelect.be("dropdown","loading"))},[(0,i.renderSlot)(e.$slots,"loading")],2)):e.loading||0===e.filteredOptionsCount?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:2,class:(0,i.normalizeClass)(e.nsSelect.be("dropdown","empty"))},[(0,i.renderSlot)(e.$slots,"empty",{},(()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(e.emptyText),1)]))],2)):(0,i.createCommentVNode)("v-if",!0),e.$slots.footer?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:3,class:(0,i.normalizeClass)(e.nsSelect.be("dropdown","footer")),onClick:(0,i.withModifiers)((()=>{}),["stop"])},[(0,i.renderSlot)(e.$slots,"footer")],10,["onClick"])):(0,i.createCommentVNode)("v-if",!0)])),_:3},512)])),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow","onHide"])],16,["onMouseleave"])),[[p,e.handleClickOutside,e.popperRef]])}],["__file","select.vue"]]);const Gm=(0,i.defineComponent)({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=(0,h.DU)("select"),n=(0,i.ref)(null),r=(0,i.getCurrentInstance)(),o=(0,i.ref)([]);(0,i.provide)(xm,(0,i.reactive)({...(0,i.toRefs)(e)}));const s=(0,i.computed)((()=>o.value.some((e=>!0===e.visible)))),l=e=>{const t=_l(e),n=[];return t.forEach((e=>{var t,r;(e=>{var t,n;return"ElOption"===(null==(t=e.type)?void 0:t.name)&&!!(null==(n=e.component)?void 0:n.proxy)})(e)?n.push(e.component.proxy):(null==(t=e.children)?void 0:t.length)?n.push(...l(e.children)):(null==(r=e.component)?void 0:r.subTree)&&n.push(...l(e.component.subTree))})),n},c=()=>{o.value=l(r.subTree)};return(0,i.onMounted)((()=>{c()})),(0,a.P1n)(n,c,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:s,ns:t}}});var Km=(0,f.A)(Gm,[["render",function(e,t,n,r,o,a){return(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("ul",{ref:"groupRef",class:(0,i.normalizeClass)(e.ns.be("group","wrap"))},[(0,i.createElementVNode)("li",{class:(0,i.normalizeClass)(e.ns.be("group","title"))},(0,i.toDisplayString)(e.label),3),(0,i.createElementVNode)("li",null,[(0,i.createElementVNode)("ul",{class:(0,i.normalizeClass)(e.ns.b("group"))},[(0,i.renderSlot)(e.$slots,"default")],2)])],2)),[[i.vShow,e.visible]])}],["__file","option-group.vue"]]);const Jm=(0,b.GU)(Ym,{Option:Cm,OptionGroup:Km}),eg=(0,b.WM)(Cm),tg=(0,b.WM)(Km),ng=()=>(0,i.inject)(hm,{}),rg=(0,l.b_)({pageSize:{type:Number,required:!0},pageSizes:{type:(0,l.jq)(Array),default:()=>(0,fl.f)([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:ir.I},appendSizeTo:String}),og=(0,i.defineComponent)({name:"ElPaginationSizes"}),ig=(0,i.defineComponent)({...og,props:rg,emits:["page-size-change"],setup(e,{emit:t}){const n=e,{t:r}=(0,wr.Ym)(),o=(0,h.DU)("pagination"),a=ng(),s=(0,i.ref)(n.pageSize);(0,i.watch)((()=>n.pageSizes),((e,r)=>{if(!Pa(e,r)&&(0,se.cy)(e)){const r=e.includes(n.pageSize)?n.pageSize:n.pageSizes[0];t("page-size-change",r)}})),(0,i.watch)((()=>n.pageSize),(e=>{s.value=e}));const l=(0,i.computed)((()=>n.pageSizes));function c(e){var t;e!==s.value&&(s.value=e,null==(t=a.handleSizeChange)||t.call(a,Number(e)))}return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("span",{class:(0,i.normalizeClass)((0,i.unref)(o).e("sizes"))},[(0,i.createVNode)((0,i.unref)(Jm),{"model-value":s.value,disabled:e.disabled,"popper-class":e.popperClass,size:e.size,teleported:e.teleported,"validate-event":!1,"append-to":e.appendSizeTo,onChange:c},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(l),(e=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(eg),{key:e,value:e,label:e+(0,i.unref)(r)("el.pagination.pagesize")},null,8,["value","label"])))),128))])),_:1},8,["model-value","disabled","popper-class","size","teleported","append-to"])],2))}});var ag=(0,f.A)(ig,[["__file","sizes.vue"]]);const sg=(0,l.b_)({size:{type:String,values:ir.I}}),lg=(0,i.defineComponent)({name:"ElPaginationJumper"}),cg=(0,i.defineComponent)({...lg,props:sg,setup(e){const{t:t}=(0,wr.Ym)(),n=(0,h.DU)("pagination"),{pageCount:r,disabled:o,currentPage:a,changeEvent:s}=ng(),l=(0,i.ref)(),c=(0,i.computed)((()=>{var e;return null!=(e=l.value)?e:null==a?void 0:a.value}));function u(e){l.value=e?+e:""}function d(e){e=Math.trunc(+e),null==s||s(e),l.value=void 0}return(e,a)=>((0,i.openBlock)(),(0,i.createElementBlock)("span",{class:(0,i.normalizeClass)((0,i.unref)(n).e("jump")),disabled:(0,i.unref)(o)},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)([(0,i.unref)(n).e("goto")])},(0,i.toDisplayString)((0,i.unref)(t)("el.pagination.goto")),3),(0,i.createVNode)((0,i.unref)(q.WK),{size:e.size,class:(0,i.normalizeClass)([(0,i.unref)(n).e("editor"),(0,i.unref)(n).is("in-pagination")]),min:1,max:(0,i.unref)(r),disabled:(0,i.unref)(o),"model-value":(0,i.unref)(c),"validate-event":!1,"aria-label":(0,i.unref)(t)("el.pagination.page"),type:"number","onUpdate:modelValue":u,onChange:d},null,8,["size","class","max","disabled","model-value","aria-label"]),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)([(0,i.unref)(n).e("classifier")])},(0,i.toDisplayString)((0,i.unref)(t)("el.pagination.pageClassifier")),3)],10,["disabled"]))}});var ug=(0,f.A)(cg,[["__file","jumper.vue"]]);const dg=(0,l.b_)({total:{type:Number,default:1e3}}),fg=(0,i.defineComponent)({name:"ElPaginationTotal"}),hg=(0,i.defineComponent)({...fg,props:dg,setup(e){const{t:t}=(0,wr.Ym)(),n=(0,h.DU)("pagination"),{disabled:r}=ng();return(e,o)=>((0,i.openBlock)(),(0,i.createElementBlock)("span",{class:(0,i.normalizeClass)((0,i.unref)(n).e("total")),disabled:(0,i.unref)(r)},(0,i.toDisplayString)((0,i.unref)(t)("el.pagination.total",{total:e.total})),11,["disabled"]))}});var pg=(0,f.A)(hg,[["__file","total.vue"]]);const mg=(0,l.b_)({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),gg=(0,i.defineComponent)({name:"ElPaginationPager"}),Ag=(0,i.defineComponent)({...gg,props:mg,emits:["change"],setup(e,{emit:t}){const n=e,r=(0,h.DU)("pager"),o=(0,h.DU)("icon"),{t:a}=(0,wr.Ym)(),s=(0,i.ref)(!1),l=(0,i.ref)(!1),c=(0,i.ref)(!1),u=(0,i.ref)(!1),d=(0,i.ref)(!1),f=(0,i.ref)(!1),p=(0,i.computed)((()=>{const e=n.pagerCount,t=(e-1)/2,r=Number(n.currentPage),o=Number(n.pageCount);let i=!1,a=!1;o>e&&(r>e-t&&(i=!0),r<o-t&&(a=!0));const s=[];if(i&&!a)for(let t=o-(e-2);t<o;t++)s.push(t);else if(!i&&a)for(let t=2;t<e;t++)s.push(t);else if(i&&a){const t=Math.floor(e/2)-1;for(let e=r-t;e<=r+t;e++)s.push(e)}else for(let e=2;e<o;e++)s.push(e);return s})),m=(0,i.computed)((()=>["more","btn-quickprev",o.b(),r.is("disabled",n.disabled)])),g=(0,i.computed)((()=>["more","btn-quicknext",o.b(),r.is("disabled",n.disabled)])),A=(0,i.computed)((()=>n.disabled?-1:0));function v(e=!1){n.disabled||(e?c.value=!0:u.value=!0)}function y(e=!1){e?d.value=!0:f.value=!0}function O(e){const r=e.target;if("li"===r.tagName.toLowerCase()&&Array.from(r.classList).includes("number")){const e=Number(r.textContent);e!==n.currentPage&&t("change",e)}else"li"===r.tagName.toLowerCase()&&Array.from(r.classList).includes("more")&&b(e)}function b(e){const r=e.target;if("ul"===r.tagName.toLowerCase()||n.disabled)return;let o=Number(r.textContent);const i=n.pageCount,a=n.currentPage,s=n.pagerCount-2;r.className.includes("more")&&(r.className.includes("quickprev")?o=a-s:r.className.includes("quicknext")&&(o=a+s)),Number.isNaN(+o)||(o<1&&(o=1),o>i&&(o=i)),o!==a&&t("change",o)}return(0,i.watchEffect)((()=>{const e=(n.pagerCount-1)/2;s.value=!1,l.value=!1,n.pageCount>n.pagerCount&&(n.currentPage>n.pagerCount-e&&(s.value=!0),n.currentPage<n.pageCount-e&&(l.value=!0))})),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("ul",{class:(0,i.normalizeClass)((0,i.unref)(r).b()),onClick:b,onKeyup:(0,i.withKeys)(O,["enter"])},[e.pageCount>0?((0,i.openBlock)(),(0,i.createElementBlock)("li",{key:0,class:(0,i.normalizeClass)([[(0,i.unref)(r).is("active",1===e.currentPage),(0,i.unref)(r).is("disabled",e.disabled)],"number"]),"aria-current":1===e.currentPage,"aria-label":(0,i.unref)(a)("el.pagination.currentPage",{pager:1}),tabindex:(0,i.unref)(A)}," 1 ",10,["aria-current","aria-label","tabindex"])):(0,i.createCommentVNode)("v-if",!0),s.value?((0,i.openBlock)(),(0,i.createElementBlock)("li",{key:1,class:(0,i.normalizeClass)((0,i.unref)(m)),tabindex:(0,i.unref)(A),"aria-label":(0,i.unref)(a)("el.pagination.prevPages",{pager:e.pagerCount-2}),onMouseenter:e=>v(!0),onMouseleave:e=>c.value=!1,onFocus:e=>y(!0),onBlur:e=>d.value=!1},[!c.value&&!d.value||e.disabled?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(j.MoreFilled),{key:1})):((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(j.DArrowLeft),{key:0}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):(0,i.createCommentVNode)("v-if",!0),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(p),(t=>((0,i.openBlock)(),(0,i.createElementBlock)("li",{key:t,class:(0,i.normalizeClass)([[(0,i.unref)(r).is("active",e.currentPage===t),(0,i.unref)(r).is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===t,"aria-label":(0,i.unref)(a)("el.pagination.currentPage",{pager:t}),tabindex:(0,i.unref)(A)},(0,i.toDisplayString)(t),11,["aria-current","aria-label","tabindex"])))),128)),l.value?((0,i.openBlock)(),(0,i.createElementBlock)("li",{key:2,class:(0,i.normalizeClass)((0,i.unref)(g)),tabindex:(0,i.unref)(A),"aria-label":(0,i.unref)(a)("el.pagination.nextPages",{pager:e.pagerCount-2}),onMouseenter:e=>v(),onMouseleave:e=>u.value=!1,onFocus:e=>y(),onBlur:e=>f.value=!1},[!u.value&&!f.value||e.disabled?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(j.MoreFilled),{key:1})):((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(j.DArrowRight),{key:0}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):(0,i.createCommentVNode)("v-if",!0),e.pageCount>1?((0,i.openBlock)(),(0,i.createElementBlock)("li",{key:3,class:(0,i.normalizeClass)([[(0,i.unref)(r).is("active",e.currentPage===e.pageCount),(0,i.unref)(r).is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===e.pageCount,"aria-label":(0,i.unref)(a)("el.pagination.currentPage",{pager:e.pageCount}),tabindex:(0,i.unref)(A)},(0,i.toDisplayString)(e.pageCount),11,["aria-current","aria-label","tabindex"])):(0,i.createCommentVNode)("v-if",!0)],42,["onKeyup"]))}});var vg=(0,f.A)(Ag,[["__file","pager.vue"]]);const yg=e=>"number"!=typeof e,Og=(0,l.b_)({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>(0,c.Et)(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2==1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:(0,l.jq)(Array),default:()=>(0,fl.f)([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:x.Ze,default:()=>j.ArrowLeft},nextText:{type:String,default:""},nextIcon:{type:x.Ze,default:()=>j.ArrowRight},teleported:{type:Boolean,default:!0},small:Boolean,size:za.mU,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),bg={"update:current-page":e=>(0,c.Et)(e),"update:page-size":e=>(0,c.Et)(e),"size-change":e=>(0,c.Et)(e),change:(e,t)=>(0,c.Et)(e)&&(0,c.Et)(t),"current-change":e=>(0,c.Et)(e),"prev-click":e=>(0,c.Et)(e),"next-click":e=>(0,c.Et)(e)},wg="ElPagination";var _g=(0,i.defineComponent)({name:wg,props:Og,emits:bg,setup(e,{emit:t,slots:n}){const{t:r}=(0,wr.Ym)(),o=(0,h.DU)("pagination"),a=(0,i.getCurrentInstance)().vnode.props||{},s=(0,za.wC)(),l=(0,i.computed)((()=>{var t;return e.small?"small":null!=(t=e.size)?t:s.value}));(0,La.b)({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},(0,i.computed)((()=>!!e.small)));const c="onUpdate:currentPage"in a||"onUpdate:current-page"in a||"onCurrentChange"in a,u="onUpdate:pageSize"in a||"onUpdate:page-size"in a||"onSizeChange"in a,d=(0,i.computed)((()=>{if(yg(e.total)&&yg(e.pageCount))return!1;if(!yg(e.currentPage)&&!c)return!1;if(e.layout.includes("sizes"))if(yg(e.pageCount)){if(!yg(e.total)&&!yg(e.pageSize)&&!u)return!1}else if(!u)return!1;return!0})),f=(0,i.ref)(yg(e.defaultPageSize)?10:e.defaultPageSize),p=(0,i.ref)(yg(e.defaultCurrentPage)?1:e.defaultCurrentPage),m=(0,i.computed)({get(){return yg(e.pageSize)?f.value:e.pageSize},set(n){yg(e.pageSize)&&(f.value=n),u&&(t("update:page-size",n),t("size-change",n))}}),A=(0,i.computed)((()=>{let t=0;return yg(e.pageCount)?yg(e.total)||(t=Math.max(1,Math.ceil(e.total/m.value))):t=e.pageCount,t})),v=(0,i.computed)({get(){return yg(e.currentPage)?p.value:e.currentPage},set(n){let r=n;n<1?r=1:n>A.value&&(r=A.value),yg(e.currentPage)&&(p.value=r),c&&(t("update:current-page",r),t("current-change",r))}});function y(e){v.value=e}function O(){e.disabled||(v.value-=1,t("prev-click",v.value))}function b(){e.disabled||(v.value+=1,t("next-click",v.value))}function w(e,t){e&&(e.props||(e.props={}),e.props.class=[e.props.class,t].join(" "))}return(0,i.watch)(A,(e=>{v.value>e&&(v.value=e)})),(0,i.watch)([v,m],(e=>{t("change",...e)}),{flush:"post"}),(0,i.provide)(hm,{pageCount:A,disabled:(0,i.computed)((()=>e.disabled)),currentPage:v,changeEvent:y,handleSizeChange:function(e){m.value=e;const t=A.value;v.value>t&&(v.value=t)}}),()=>{var t,a;if(!d.value)return(0,g.U)(wg,r("el.pagination.deprecationWarning")),null;if(!e.layout)return null;if(e.hideOnSinglePage&&A.value<=1)return null;const s=[],c=[],u=(0,i.h)("div",{class:o.e("rightwrapper")},c),f={prev:(0,i.h)(vm,{disabled:e.disabled,currentPage:v.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:O}),jumper:(0,i.h)(ug,{size:l.value}),pager:(0,i.h)(vg,{currentPage:v.value,pageCount:A.value,pagerCount:e.pagerCount,onChange:y,disabled:e.disabled}),next:(0,i.h)(wm,{disabled:e.disabled,currentPage:v.value,pageCount:A.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:b}),sizes:(0,i.h)(ag,{pageSize:m.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,teleported:e.teleported,size:l.value,appendSizeTo:e.appendSizeTo}),slot:null!=(a=null==(t=null==n?void 0:n.default)?void 0:t.call(n))?a:null,total:(0,i.h)(pg,{total:yg(e.total)?0:e.total})},h=e.layout.split(",").map((e=>e.trim()));let p=!1;return h.forEach((e=>{"->"!==e?p?c.push(f[e]):s.push(f[e]):p=!0})),w(s[0],o.is("first")),w(s[s.length-1],o.is("last")),p&&c.length>0&&(w(c[0],o.is("first")),w(c[c.length-1],o.is("last")),s.push(u)),(0,i.h)("div",{class:[o.b(),o.is("background",e.background),o.m(l.value)]},s)}}});const xg=(0,b.GU)(_g);var Sg=n(2250);const kg=(0,l.b_)({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:Sg.Od,default:"primary"},cancelButtonType:{type:String,values:Sg.Od,default:"text"},icon:{type:x.Ze,default:()=>j.QuestionFilled},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},teleported:Ft.teleported,persistent:Ft.persistent,width:{type:[String,Number],default:150}}),Cg={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent},Bg=(0,i.defineComponent)({name:"ElPopconfirm"}),Qg=(0,i.defineComponent)({...Bg,props:kg,emits:Cg,setup(e,{emit:t}){const n=e,{t:r}=(0,wr.Ym)(),o=(0,h.DU)("popconfirm"),a=(0,i.ref)(),s=()=>{var e,t;null==(t=null==(e=a.value)?void 0:e.onClose)||t.call(e)},l=(0,i.computed)((()=>({width:(0,m._V)(n.width)}))),c=e=>{t("confirm",e),s()},u=e=>{t("cancel",e),s()},d=(0,i.computed)((()=>n.confirmButtonText||r("el.popconfirm.confirmButtonText"))),f=(0,i.computed)((()=>n.cancelButtonText||r("el.popconfirm.cancelButtonText")));return(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Zn),(0,i.mergeProps)({ref_key:"tooltipRef",ref:a,trigger:"click",effect:"light"},e.$attrs,{"popper-class":`${(0,i.unref)(o).namespace.value}-popover`,"popper-style":(0,i.unref)(l),teleported:e.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":e.hideAfter,persistent:e.persistent}),{content:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(o).b())},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(o).e("main"))},[!e.hideIcon&&e.icon?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)((0,i.unref)(o).e("icon")),style:(0,i.normalizeStyle)({color:e.iconColor})},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.icon)))])),_:1},8,["class","style"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.title),1)],2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(o).e("action"))},[(0,i.renderSlot)(e.$slots,"actions",{confirm:c,cancel:u},(()=>[(0,i.createVNode)((0,i.unref)(Pr.S2),{size:"small",type:"text"===e.cancelButtonType?"":e.cancelButtonType,text:"text"===e.cancelButtonType,onClick:u},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(f)),1)])),_:1},8,["type","text"]),(0,i.createVNode)((0,i.unref)(Pr.S2),{size:"small",type:"text"===e.confirmButtonType?"":e.confirmButtonType,text:"text"===e.confirmButtonType,onClick:c},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(d)),1)])),_:1},8,["type","text"])]))],2)],2)])),default:(0,i.withCtx)((()=>[e.$slots.reference?(0,i.renderSlot)(e.$slots,"reference",{key:0}):(0,i.createCommentVNode)("v-if",!0)])),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var Tg=(0,f.A)(Qg,[["__file","popconfirm.vue"]]);const Eg=(0,b.GU)(Tg),Pg=(0,l.b_)({trigger:Xt.trigger,placement:Sf.placement,disabled:Xt.disabled,visible:Ft.visible,transition:Ft.transition,popperOptions:Sf.popperOptions,tabindex:Sf.tabindex,content:Ft.content,popperStyle:Ft.popperStyle,popperClass:Ft.popperClass,enterable:{...Ft.enterable,default:!0},effect:{...Ft.effect,default:"light"},teleported:Ft.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),$g={"update:visible":e=>(0,c.Lm)(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},Mg=(0,i.defineComponent)({name:"ElPopover"}),zg=(0,i.defineComponent)({...Mg,props:Pg,emits:$g,setup(e,{expose:t,emit:n}){const r=e,o=(0,i.computed)((()=>r["onUpdate:visible"])),a=(0,h.DU)("popover"),s=(0,i.ref)(),l=(0,i.computed)((()=>{var e;return null==(e=(0,i.unref)(s))?void 0:e.popperRef})),c=(0,i.computed)((()=>[{width:(0,m._V)(r.width)},r.popperStyle])),u=(0,i.computed)((()=>[a.b(),r.popperClass,{[a.m("plain")]:!!r.content}])),d=(0,i.computed)((()=>r.transition===`${a.namespace.value}-fade-in-linear`)),f=()=>{n("before-enter")},p=()=>{n("before-leave")},g=()=>{n("after-enter")},A=()=>{n("update:visible",!1),n("after-leave")};return t({popperRef:l,hide:()=>{var e;null==(e=s.value)||e.hide()}}),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Zn),(0,i.mergeProps)({ref_key:"tooltipRef",ref:s},e.$attrs,{trigger:e.trigger,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":(0,i.unref)(u),"popper-style":(0,i.unref)(c),teleported:e.teleported,persistent:e.persistent,"gpu-acceleration":(0,i.unref)(d),"onUpdate:visible":(0,i.unref)(o),onBeforeShow:f,onBeforeHide:p,onShow:g,onHide:A}),{content:(0,i.withCtx)((()=>[e.title?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(a).e("title")),role:"title"},(0,i.toDisplayString)(e.title),3)):(0,i.createCommentVNode)("v-if",!0),(0,i.renderSlot)(e.$slots,"default",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.content),1)]))])),default:(0,i.withCtx)((()=>[e.$slots.reference?(0,i.renderSlot)(e.$slots,"reference",{key:0}):(0,i.createCommentVNode)("v-if",!0)])),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});var Rg=(0,f.A)(zg,[["__file","popover.vue"]]);const Dg=(e,t)=>{const n=t.arg||t.value,r=null==n?void 0:n.popperRef;r&&(r.triggerRef=e)};var Ig={mounted(e,t){Dg(e,t)},updated(e,t){Dg(e,t)}};const Ng=(0,b.PZ)(Ig,"popover"),Lg=(0,b.GU)(Rg,{directive:Ng}),Vg=(0,l.b_)({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:(0,l.jq)(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:(0,l.jq)([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:(0,l.jq)(Function),default:e=>`${e}%`}}),Ug=(0,i.defineComponent)({name:"ElProgress"}),Fg=(0,i.defineComponent)({...Ug,props:Vg,setup(e){const t=e,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},r=(0,h.DU)("progress"),o=(0,i.computed)((()=>{const e={width:`${t.percentage}%`,animationDuration:`${t.duration}s`},n=y(t.percentage);return n.includes("gradient")?e.background=n:e.backgroundColor=n,e})),a=(0,i.computed)((()=>(t.strokeWidth/t.width*100).toFixed(1))),s=(0,i.computed)((()=>["circle","dashboard"].includes(t.type)?Number.parseInt(""+(50-Number.parseFloat(a.value)/2),10):0)),l=(0,i.computed)((()=>{const e=s.value,n="dashboard"===t.type;return`\n M 50 50\n m 0 ${n?"":"-"}${e}\n a ${e} ${e} 0 1 1 0 ${n?"-":""}${2*e}\n a ${e} ${e} 0 1 1 0 ${n?"":"-"}${2*e}\n `})),c=(0,i.computed)((()=>2*Math.PI*s.value)),u=(0,i.computed)((()=>"dashboard"===t.type?.75:1)),d=(0,i.computed)((()=>-1*c.value*(1-u.value)/2+"px")),f=(0,i.computed)((()=>({strokeDasharray:`${c.value*u.value}px, ${c.value}px`,strokeDashoffset:d.value}))),p=(0,i.computed)((()=>({strokeDasharray:`${c.value*u.value*(t.percentage/100)}px, ${c.value}px`,strokeDashoffset:d.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"}))),m=(0,i.computed)((()=>{let e;return e=t.color?y(t.percentage):n[t.status]||n.default,e})),g=(0,i.computed)((()=>"warning"===t.status?j.WarningFilled:"line"===t.type?"success"===t.status?j.CircleCheck:j.CircleClose:"success"===t.status?j.Check:j.Close)),A=(0,i.computed)((()=>"line"===t.type?12+.4*t.strokeWidth:.111111*t.width+2)),v=(0,i.computed)((()=>t.format(t.percentage))),y=e=>{var n;const{color:r}=t;if((0,se.Tn)(r))return r(e);if((0,se.Kg)(r))return r;{const t=function(e){const t=100/e.length;return e.map(((e,n)=>(0,se.Kg)(e)?{color:e,percentage:(n+1)*t}:e)).sort(((e,t)=>e.percentage-t.percentage))}(r);for(const n of t)if(n.percentage>e)return n.color;return null==(n=t[t.length-1])?void 0:n.color}};return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(r).b(),(0,i.unref)(r).m(e.type),(0,i.unref)(r).is(e.status),{[(0,i.unref)(r).m("without-text")]:!e.showText,[(0,i.unref)(r).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},["line"===e.type?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(r).b("bar"))},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).be("bar","outer")),style:(0,i.normalizeStyle)({height:`${e.strokeWidth}px`})},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([(0,i.unref)(r).be("bar","inner"),{[(0,i.unref)(r).bem("bar","inner","indeterminate")]:e.indeterminate},{[(0,i.unref)(r).bem("bar","inner","striped")]:e.striped},{[(0,i.unref)(r).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:(0,i.normalizeStyle)((0,i.unref)(o))},[(e.showText||e.$slots.default)&&e.textInside?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(r).be("bar","innerText"))},[(0,i.renderSlot)(e.$slots,"default",{percentage:e.percentage},(()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)((0,i.unref)(v)),1)]))],2)):(0,i.createCommentVNode)("v-if",!0)],6)],6)],2)):((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)((0,i.unref)(r).b("circle")),style:(0,i.normalizeStyle)({height:`${e.width}px`,width:`${e.width}px`})},[((0,i.openBlock)(),(0,i.createElementBlock)("svg",{viewBox:"0 0 100 100"},[(0,i.createElementVNode)("path",{class:(0,i.normalizeClass)((0,i.unref)(r).be("circle","track")),d:(0,i.unref)(l),stroke:`var(${(0,i.unref)(r).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":(0,i.unref)(a),fill:"none",style:(0,i.normalizeStyle)((0,i.unref)(f))},null,14,["d","stroke","stroke-linecap","stroke-width"]),(0,i.createElementVNode)("path",{class:(0,i.normalizeClass)((0,i.unref)(r).be("circle","path")),d:(0,i.unref)(l),stroke:(0,i.unref)(m),fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":(0,i.unref)(a),style:(0,i.normalizeStyle)((0,i.unref)(p))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),!e.showText&&!e.$slots.default||e.textInside?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:2,class:(0,i.normalizeClass)((0,i.unref)(r).e("text")),style:(0,i.normalizeStyle)({fontSize:`${(0,i.unref)(A)}px`})},[(0,i.renderSlot)(e.$slots,"default",{percentage:e.percentage},(()=>[e.status?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:1},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(g))))])),_:1})):((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0},(0,i.toDisplayString)((0,i.unref)(v)),1))]))],6))],10,["aria-valuenow"]))}});var Hg=(0,f.A)(Fg,[["__file","progress.vue"]]);const Wg=(0,b.GU)(Hg),Xg=(0,l.b_)({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:(0,l.jq)([Array,Object]),default:()=>(0,fl.f)(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:(0,l.jq)([Array,Object]),default:()=>[j.StarFilled,j.StarFilled,j.StarFilled]},voidIcon:{type:x.Ze,default:()=>j.Star},disabledVoidIcon:{type:x.Ze,default:()=>j.StarFilled},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:(0,l.jq)(Array),default:()=>(0,fl.f)(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:za.mU,clearable:Boolean,...(0,oe.l)(["ariaLabel"])}),jg={[s.YU]:e=>(0,c.Et)(e),[s.l4]:e=>(0,c.Et)(e)},qg=(0,i.defineComponent)({name:"ElRate"}),Zg=(0,i.defineComponent)({...qg,props:Xg,emits:jg,setup(e,{expose:t,emit:n}){const r=e;function o(e,t){const n=e=>(0,se.Gv)(e),r=Object.keys(t).map((e=>+e)).filter((r=>{const o=t[r];return n(o)&&o.excluded?e<r:e<=r})).sort(((e,t)=>e-t)),o=t[r[0]];return n(o)&&o.value||o}const a=(0,i.inject)(zn.F,void 0),l=(0,i.inject)(zn.w,void 0),c=(0,Jn.NV)(),u=(0,h.DU)("rate"),{inputId:d,isLabeledByFormItem:f}=(0,Na.W)(r,{formItemContext:l}),p=(0,i.ref)(r.modelValue),g=(0,i.ref)(-1),A=(0,i.ref)(!0),v=(0,i.computed)((()=>[u.b(),u.m(c.value)])),y=(0,i.computed)((()=>r.disabled||(null==a?void 0:a.disabled))),O=(0,i.computed)((()=>u.cssVarBlock({"void-color":r.voidColor,"disabled-void-color":r.disabledVoidColor,"fill-color":S.value}))),b=(0,i.computed)((()=>{let e="";return r.showScore?e=r.scoreTemplate.replace(/\{\s*value\s*\}/,y.value?`${r.modelValue}`:`${p.value}`):r.showText&&(e=r.texts[Math.ceil(p.value)-1]),e})),w=(0,i.computed)((()=>100*r.modelValue-100*Math.floor(r.modelValue))),x=(0,i.computed)((()=>(0,se.cy)(r.colors)?{[r.lowThreshold]:r.colors[0],[r.highThreshold]:{value:r.colors[1],excluded:!0},[r.max]:r.colors[2]}:r.colors)),S=(0,i.computed)((()=>{const e=o(p.value,x.value);return(0,se.Gv)(e)?"":e})),k=(0,i.computed)((()=>{let e="";return y.value?e=`${w.value}%`:r.allowHalf&&(e="50%"),{color:S.value,width:e}})),C=(0,i.computed)((()=>{let e=(0,se.cy)(r.icons)?[...r.icons]:{...r.icons};return e=(0,i.markRaw)(e),(0,se.cy)(e)?{[r.lowThreshold]:e[0],[r.highThreshold]:{value:e[1],excluded:!0},[r.max]:e[2]}:e})),B=(0,i.computed)((()=>o(r.modelValue,C.value))),Q=(0,i.computed)((()=>y.value?(0,se.Kg)(r.disabledVoidIcon)?r.disabledVoidIcon:(0,i.markRaw)(r.disabledVoidIcon):(0,se.Kg)(r.voidIcon)?r.voidIcon:(0,i.markRaw)(r.voidIcon))),T=(0,i.computed)((()=>o(p.value,C.value)));function E(e){const t=y.value&&w.value>0&&e-1<r.modelValue&&e>r.modelValue,n=r.allowHalf&&A.value&&e-.5<=p.value&&e>p.value;return t||n}function P(e){r.clearable&&e===r.modelValue&&(e=0),n(s.l4,e),r.modelValue!==e&&n("change",e)}function $(e){if(y.value)return;let t=p.value;const o=e.code;return o===Wt.R.up||o===Wt.R.right?(r.allowHalf?t+=.5:t+=1,e.stopPropagation(),e.preventDefault()):o!==Wt.R.left&&o!==Wt.R.down||(r.allowHalf?t-=.5:t-=1,e.stopPropagation(),e.preventDefault()),t=t<0?0:t,t=t>r.max?r.max:t,n(s.l4,t),n("change",t),t}function M(e,t){if(!y.value){if(r.allowHalf&&t){let n=t.target;(0,m.nB)(n,u.e("item"))&&(n=n.querySelector(`.${u.e("icon")}`)),(0===n.clientWidth||(0,m.nB)(n,u.e("decimal")))&&(n=n.parentNode),A.value=2*t.offsetX<=n.clientWidth,p.value=A.value?e-.5:e}else p.value=e;g.value=e}}function z(){y.value||(r.allowHalf&&(A.value=r.modelValue!==Math.floor(r.modelValue)),p.value=r.modelValue,g.value=-1)}return(0,i.watch)((()=>r.modelValue),(e=>{p.value=e,A.value=r.modelValue!==Math.floor(r.modelValue)})),r.modelValue||n(s.l4,0),t({setCurrentValue:M,resetCurrentValue:z}),(e,t)=>{var n;return(0,i.openBlock)(),(0,i.createElementBlock)("div",{id:(0,i.unref)(d),class:(0,i.normalizeClass)([(0,i.unref)(v),(0,i.unref)(u).is("disabled",(0,i.unref)(y))]),role:"slider","aria-label":(0,i.unref)(f)?void 0:e.ariaLabel||"rating","aria-labelledby":(0,i.unref)(f)?null==(n=(0,i.unref)(l))?void 0:n.labelId:void 0,"aria-valuenow":p.value,"aria-valuetext":(0,i.unref)(b)||void 0,"aria-valuemin":"0","aria-valuemax":e.max,tabindex:"0",style:(0,i.normalizeStyle)((0,i.unref)(O)),onKeydown:$},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.max,((e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:t,class:(0,i.normalizeClass)((0,i.unref)(u).e("item")),onMousemove:t=>M(e,t),onMouseleave:z,onClick:t=>{return n=e,void(y.value||(r.allowHalf&&A.value?P(p.value):P(n)));var n}},[(0,i.createVNode)((0,i.unref)(_.tk),{class:(0,i.normalizeClass)([(0,i.unref)(u).e("icon"),{hover:g.value===e},(0,i.unref)(u).is("active",e<=p.value)])},{default:(0,i.withCtx)((()=>[E(e)?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:0},[(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(T)),null,null,512)),[[i.vShow,e<=p.value]]),(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(Q)),null,null,512)),[[i.vShow,!(e<=p.value)]])],64)),E(e)?((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:1},[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(Q)),{class:(0,i.normalizeClass)([(0,i.unref)(u).em("decimal","box")])},null,8,["class"])),(0,i.createVNode)((0,i.unref)(_.tk),{style:(0,i.normalizeStyle)((0,i.unref)(k)),class:(0,i.normalizeClass)([(0,i.unref)(u).e("icon"),(0,i.unref)(u).e("decimal")])},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(B))))])),_:1},8,["style","class"])],64)):(0,i.createCommentVNode)("v-if",!0)])),_:2},1032,["class"])],42,["onMousemove","onClick"])))),128)),e.showText||e.showScore?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0,class:(0,i.normalizeClass)((0,i.unref)(u).e("text")),style:(0,i.normalizeStyle)({color:e.textColor})},(0,i.toDisplayString)((0,i.unref)(b)),7)):(0,i.createCommentVNode)("v-if",!0)],46,["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"])}}});var Yg=(0,f.A)(Zg,[["__file","rate.vue"]]);const Gg=(0,b.GU)(Yg),Kg={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},Jg={[Kg.success]:j.CircleCheckFilled,[Kg.warning]:j.WarningFilled,[Kg.error]:j.CircleCloseFilled,[Kg.info]:j.InfoFilled},eA=(0,l.b_)({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["success","warning","info","error"],default:"info"}}),tA=(0,i.defineComponent)({name:"ElResult"}),nA=(0,i.defineComponent)({...tA,props:eA,setup(e){const t=e,n=(0,h.DU)("result"),r=(0,i.computed)((()=>{const e=t.icon,n=e&&Kg[e]?Kg[e]:"icon-info";return{class:n,component:Jg[n]||Jg["icon-info"]}}));return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)((0,i.unref)(n).b())},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(n).e("icon"))},[(0,i.renderSlot)(e.$slots,"icon",{},(()=>[(0,i.unref)(r).component?((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(r).component),{key:0,class:(0,i.normalizeClass)((0,i.unref)(r).class)},null,8,["class"])):(0,i.createCommentVNode)("v-if",!0)]))],2),e.title||e.$slots.title?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(n).e("title"))},[(0,i.renderSlot)(e.$slots,"title",{},(()=>[(0,i.createElementVNode)("p",null,(0,i.toDisplayString)(e.title),1)]))],2)):(0,i.createCommentVNode)("v-if",!0),e.subTitle||e.$slots["sub-title"]?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)((0,i.unref)(n).e("subtitle"))},[(0,i.renderSlot)(e.$slots,"sub-title",{},(()=>[(0,i.createElementVNode)("p",null,(0,i.toDisplayString)(e.subTitle),1)]))],2)):(0,i.createCommentVNode)("v-if",!0),e.$slots.extra?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:2,class:(0,i.normalizeClass)((0,i.unref)(n).e("extra"))},[(0,i.renderSlot)(e.$slots,"extra")],2)):(0,i.createCommentVNode)("v-if",!0)],2))}});var rA=(0,f.A)(nA,[["__file","result.vue"]]);const oA=(0,b.GU)(rA),iA=(0,l.b_)({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:["start","center","end","space-around","space-between","space-evenly"],default:"start"},align:{type:String,values:["top","middle","bottom"]}}),aA=(0,i.defineComponent)({name:"ElRow"}),sA=(0,i.defineComponent)({...aA,props:iA,setup(e){const t=e,n=(0,h.DU)("row"),r=(0,i.computed)((()=>t.gutter));(0,i.provide)(pl,{gutter:r});const o=(0,i.computed)((()=>{const e={};return t.gutter?(e.marginRight=e.marginLeft=`-${t.gutter/2}px`,e):e})),a=(0,i.computed)((()=>[n.b(),n.is(`justify-${t.justify}`,"start"!==t.justify),n.is(`align-${t.align}`,!!t.align)]));return(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.tag),{class:(0,i.normalizeClass)((0,i.unref)(a)),style:(0,i.normalizeStyle)((0,i.unref)(o))},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},8,["class","style"]))}});var lA=(0,f.A)(sA,[["__file","row.vue"]]);const cA=(0,b.GU)(lA),uA=(0,i.defineComponent)({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup(){return{ns:(0,h.DU)("select")}}});var dA=(0,f.A)(uA,[["render",function(e,t,n,r,o,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)(e.ns.be("group","title")),style:(0,i.normalizeStyle)({...e.style,lineHeight:`${e.height}px`})},(0,i.toDisplayString)(e.item.label),7)}],["__file","group-item.vue"]]);const fA={label:"label",value:"value",disabled:"disabled",options:"options"};function hA(e){const t=(0,i.computed)((()=>({...fA,...e.props})));return{aliasProps:t,getLabel:e=>(0,_m.A)(e,t.value.label),getValue:e=>(0,_m.A)(e,t.value.value),getDisabled:e=>(0,_m.A)(e,t.value.disabled),getOptions:e=>(0,_m.A)(e,t.value.options)}}const pA=(0,l.b_)({allowCreate:Boolean,autocomplete:{type:(0,l.jq)(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:x.Ze,default:j.CircleClose},effect:{type:(0,l.jq)(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:(0,l.jq)([Array,String,Number,Boolean,Object])},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:(0,l.jq)(Array),required:!0},placeholder:{type:String},teleported:Ft.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:(0,l.jq)(Object),default:()=>({})},remote:Boolean,size:za.mU,props:{type:(0,l.jq)(Object),default:()=>fA},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},offset:{type:Number,default:12},showArrow:{type:Boolean,default:!0},placement:{type:(0,l.jq)(String),values:ze,default:"bottom-start"},fallbackPlacements:{type:(0,l.jq)(Array),default:["bottom-start","top-start","right","left"]},tagType:{...Fs.type,default:"info"},tagEffect:{...Fs.effect,default:"light"},tabindex:{type:[String,Number],default:0},appendTo:String,fitInputWidth:{type:[Boolean,Number],default:!0,validator(e){return(0,c.Lm)(e)||(0,c.Et)(e)}},...Zs.bs,...(0,oe.l)(["ariaLabel"])}),mA=(0,l.b_)({data:Array,disabled:Boolean,hovering:Boolean,item:{type:(0,l.jq)(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),gA={[s.l4]:e=>!0,[s.YU]:e=>!0,"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},AA={hover:e=>(0,c.Et)(e),select:(e,t)=>!0},vA=Symbol("ElSelectV2Injection"),yA=(0,i.defineComponent)({props:mA,emits:AA,setup(e,{emit:t}){const n=(0,i.inject)(vA),r=(0,h.DU)("select"),{hoverItem:o,selectOptionClick:a}=function(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}(e,{emit:t}),{getLabel:s}=hA(n.props);return{ns:r,hoverItem:o,selectOptionClick:a,getLabel:s}}});var OA=(0,f.A)(yA,[["render",function(e,t,n,r,o,a){return(0,i.openBlock)(),(0,i.createElementBlock)("li",{"aria-selected":e.selected,style:(0,i.normalizeStyle)(e.style),class:(0,i.normalizeClass)([e.ns.be("dropdown","item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),e.ns.is("hovering",e.hovering)]),onMousemove:e.hoverItem,onClick:(0,i.withModifiers)(e.selectOptionClick,["stop"])},[(0,i.renderSlot)(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},(()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(e.getLabel(e.item)),1)]))],46,["aria-selected","onMousemove","onClick"])}],["__file","option-item.vue"]]),bA=n(46632),wA=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function _A(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||wA(r)&&wA(o)))return!1;var r,o;return!0}const xA=()=>{const e=(0,i.getCurrentInstance)().proxy.$props;return(0,i.computed)((()=>{const t=(e,t,n)=>({});return e.perfMode?(0,bA.A)(t):function(e,t){void 0===t&&(t=_A);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(t)}))},SA="itemRendered",kA="scroll",CA="forward",BA="backward",QA="auto",TA="smart",EA="start",PA="center",$A="end",MA="horizontal",zA="vertical",RA="rtl",DA="negative",IA="positive-ascending",NA="positive-descending",LA={[MA]:"left",[zA]:"top"};var VA=n(41418);const UA={[MA]:"deltaX",[zA]:"deltaY"},FA=(0,l.Y8)({type:(0,l.jq)([Number,Function]),required:!0}),HA=(0,l.Y8)({type:Number}),WA=(0,l.Y8)({type:Number,default:2}),XA=(0,l.Y8)({type:String,values:["ltr","rtl"],default:"ltr"}),jA=(0,l.Y8)({type:Number,default:0}),qA=(0,l.Y8)({type:Number,required:!0}),ZA=(0,l.Y8)({type:String,values:["horizontal","vertical"],default:zA}),YA=(0,l.b_)({className:{type:String,default:""},containerElement:{type:(0,l.jq)([String,Object]),default:"div"},data:{type:(0,l.jq)(Array),default:()=>(0,fl.f)([])},direction:XA,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:(0,l.jq)([Object,String,Array])},useIsScrolling:{type:Boolean,default:!1},width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:{type:Boolean,default:!1}}),GA=(0,l.b_)({cache:WA,estimatedItemSize:HA,layout:ZA,initScrollOffset:jA,total:qA,itemSize:FA,...YA}),KA={type:Number,default:6},JA={type:Number,default:0},ev={type:Number,default:2},tv=(0,l.b_)({columnCache:WA,columnWidth:FA,estimatedColumnWidth:HA,estimatedRowHeight:HA,initScrollLeft:jA,initScrollTop:jA,itemKey:{type:(0,l.jq)(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:WA,rowHeight:FA,totalColumn:qA,totalRow:qA,hScrollbarSize:KA,vScrollbarSize:KA,scrollbarStartGap:JA,scrollbarEndGap:ev,role:String,...YA}),nv=(0,l.b_)({alwaysOn:Boolean,class:String,layout:ZA,total:qA,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:KA,startGap:JA,endGap:ev,visible:Boolean}),rv=(e,t)=>e<t?CA:BA,ov=e=>"ltr"===e||e===RA||e===MA,iv=e=>e===RA;let av=null;function sv(e=!1){if(null===av||e){const e=document.createElement("div"),t=e.style;t.width="50px",t.height="50px",t.overflow="scroll",t.direction="rtl";const n=document.createElement("div"),r=n.style;return r.width="100px",r.height="100px",e.appendChild(n),document.body.appendChild(e),e.scrollLeft>0?av=NA:(e.scrollLeft=1,av=0===e.scrollLeft?DA:IA),document.body.removeChild(e),av}return av}const lv=(0,i.defineComponent)({name:"ElVirtualScrollBar",props:nv,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=(0,i.computed)((()=>e.startGap+e.endGap)),r=(0,h.DU)("virtual-scrollbar"),o=(0,h.DU)("scrollbar"),a=(0,i.ref)(),s=(0,i.ref)();let l=null,c=null;const u=(0,i.reactive)({isDragging:!1,traveled:0}),d=(0,i.computed)((()=>Z[e.layout])),f=(0,i.computed)((()=>e.clientSize-(0,i.unref)(n))),p=(0,i.computed)((()=>({position:"absolute",width:`${MA===e.layout?f.value:e.scrollbarSize}px`,height:`${MA===e.layout?e.scrollbarSize:f.value}px`,[LA[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"}))),m=(0,i.computed)((()=>{const t=e.ratio,n=e.clientSize;if(t>=100)return Number.POSITIVE_INFINITY;if(t>=50)return t*n/100;const r=n/3;return Math.floor(Math.min(Math.max(t*n,20),r))})),g=(0,i.computed)((()=>{if(!Number.isFinite(m.value))return{display:"none"};const t=`${m.value}px`,n=function({move:e,size:t,bar:n},r){const o={},i=`translate${n.axis}(${e}px)`;return o[n.size]=t,o.transform=i,o.msTransform=i,o.webkitTransform=i,"horizontal"===r?o.height="100%":o.width="100%",o}({bar:d.value,size:t,move:u.traveled},e.layout);return n})),A=(0,i.computed)((()=>Math.floor(e.clientSize-m.value-(0,i.unref)(n)))),v=()=>{window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",O),document.onselectstart=c,c=null;const e=(0,i.unref)(s);e&&(e.removeEventListener("touchmove",b),e.removeEventListener("touchend",O))},y=e=>{e.stopImmediatePropagation(),e.ctrlKey||[1,2].includes(e.button)||(u.isDragging=!0,u[d.value.axis]=e.currentTarget[d.value.offset]-(e[d.value.client]-e.currentTarget.getBoundingClientRect()[d.value.direction]),t("start-move"),(()=>{window.addEventListener("mousemove",b),window.addEventListener("mouseup",O);const e=(0,i.unref)(s);e&&(c=document.onselectstart,document.onselectstart=()=>!1,e.addEventListener("touchmove",b,{passive:!0}),e.addEventListener("touchend",O))})())},O=()=>{u.isDragging=!1,u[d.value.axis]=0,t("stop-move"),v()},b=n=>{const{isDragging:r}=u;if(!r)return;if(!s.value||!a.value)return;const o=u[d.value.axis];if(!o)return;(0,VA.V)(l);const i=-1*(a.value.getBoundingClientRect()[d.value.direction]-n[d.value.client])-(s.value[d.value.offset]-o);l=(0,VA.m)((()=>{u.traveled=Math.max(e.startGap,Math.min(i,A.value)),t("scroll",i,A.value)}))},w=e=>{const n=Math.abs(e.target.getBoundingClientRect()[d.value.direction]-e[d.value.client])-s.value[d.value.offset]/2;u.traveled=Math.max(0,Math.min(n,A.value)),t("scroll",n,A.value)};return(0,i.watch)((()=>e.scrollFrom),(e=>{u.isDragging||(u.traveled=Math.ceil(e*A.value))})),(0,i.onBeforeUnmount)((()=>{v()})),()=>(0,i.h)("div",{role:"presentation",ref:a,class:[r.b(),e.class,(e.alwaysOn||u.isDragging)&&"always-on"],style:p.value,onMousedown:(0,i.withModifiers)(w,["stop","prevent"]),onTouchstartPrevent:y},(0,i.h)("div",{ref:s,class:o.e("thumb"),style:g.value,onMousedown:y},[]))}}),cv=({name:e,getOffset:t,getItemSize:n,getItemOffset:r,getEstimatedTotalSize:o,getStartIndexForOffset:s,getStopIndexForStartIndex:l,initCache:u,clearCache:d,validateProps:f})=>(0,i.defineComponent)({name:null!=e?e:"ElVirtualList",props:GA,emits:[SA,kA],setup(e,{emit:p,expose:m}){f(e);const g=(0,i.getCurrentInstance)(),A=(0,h.DU)("vl"),v=(0,i.ref)(u(e,g)),y=xA(),O=(0,i.ref)(),b=(0,i.ref)(),w=(0,i.ref)(),_=(0,i.ref)({isScrolling:!1,scrollDir:"forward",scrollOffset:(0,c.Et)(e.initScrollOffset)?e.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:e.scrollbarAlwaysOn}),x=(0,i.computed)((()=>{const{total:t,cache:n}=e,{isScrolling:r,scrollDir:o,scrollOffset:a}=(0,i.unref)(_);if(0===t)return[0,0,0,0];const c=s(e,a,(0,i.unref)(v)),u=l(e,c,a,(0,i.unref)(v)),d=r&&o!==BA?1:Math.max(1,n),f=r&&o!==CA?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+f)),c,u]})),S=(0,i.computed)((()=>o(e,(0,i.unref)(v)))),k=(0,i.computed)((()=>ov(e.layout))),C=(0,i.computed)((()=>[{position:"relative",["overflow-"+(k.value?"x":"y")]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:e.direction,height:(0,c.Et)(e.height)?`${e.height}px`:e.height,width:(0,c.Et)(e.width)?`${e.width}px`:e.width},e.style])),B=(0,i.computed)((()=>{const e=(0,i.unref)(S),t=(0,i.unref)(k);return{height:t?"100%":`${e}px`,pointerEvents:(0,i.unref)(_).isScrolling?"none":void 0,width:t?`${e}px`:"100%"}})),Q=(0,i.computed)((()=>k.value?e.width:e.height)),{onWheel:T}=(({atEndEdge:e,atStartEdge:t,layout:n},r)=>{let o,i=0;const a=n=>n<0&&t.value||n>0&&e.value;return{hasReachedEdge:a,onWheel:e=>{(0,VA.V)(o);const t=e[UA[n.value]];a(i)&&a(i+t)||(i+=t,(0,hp.gm)()||e.preventDefault(),o=(0,VA.m)((()=>{r(i),i=0})))}}})({atStartEdge:(0,i.computed)((()=>_.value.scrollOffset<=0)),atEndEdge:(0,i.computed)((()=>_.value.scrollOffset>=S.value)),layout:(0,i.computed)((()=>e.layout))},(e=>{var t,n;null==(n=(t=w.value).onMouseUp)||n.call(t),P(Math.min(_.value.scrollOffset+e,S.value-Q.value))}));(0,a.MLh)(O,"wheel",T,{passive:!1});const E=()=>{const{total:t}=e;if(t>0){const[e,t,n,r]=(0,i.unref)(x);p(SA,e,t,n,r)}const{scrollDir:n,scrollOffset:r,updateRequested:o}=(0,i.unref)(_);p(kA,n,r,o)},P=e=>{(e=Math.max(e,0))!==(0,i.unref)(_).scrollOffset&&(_.value={...(0,i.unref)(_),scrollOffset:e,scrollDir:rv((0,i.unref)(_).scrollOffset,e),updateRequested:!0},(0,i.nextTick)(M))},$=(n,r=QA)=>{const{scrollOffset:o}=(0,i.unref)(_);n=Math.max(0,Math.min(n,e.total-1)),P(t(e,n,r,o,(0,i.unref)(v)))},M=()=>{_.value.isScrolling=!1,(0,i.nextTick)((()=>{y.value(-1,null,null)}))},z=()=>{const e=O.value;e&&(e.scrollTop=0)};(0,i.onMounted)((()=>{if(!Y.oc)return;const{initScrollOffset:t}=e,n=(0,i.unref)(O);(0,c.Et)(t)&&n&&((0,i.unref)(k)?n.scrollLeft=t:n.scrollTop=t),E()})),(0,i.onUpdated)((()=>{const{direction:t,layout:n}=e,{scrollOffset:r,updateRequested:o}=(0,i.unref)(_),a=(0,i.unref)(O);if(o&&a)if(n===MA)if(t===RA)switch(sv()){case DA:a.scrollLeft=-r;break;case IA:a.scrollLeft=r;break;default:{const{clientWidth:e,scrollWidth:t}=a;a.scrollLeft=t-e-r;break}}else a.scrollLeft=r;else a.scrollTop=r})),(0,i.onActivated)((()=>{(0,i.unref)(O).scrollTop=(0,i.unref)(_).scrollOffset}));const R={ns:A,clientSize:Q,estimatedTotalSize:S,windowStyle:C,windowRef:O,innerRef:b,innerStyle:B,itemsToRender:x,scrollbarRef:w,states:_,getItemStyle:t=>{const{direction:o,itemSize:a,layout:s}=e,l=y.value(d&&a,d&&s,d&&o);let c;if((0,se.$3)(l,String(t)))c=l[t];else{const a=r(e,t,(0,i.unref)(v)),s=n(e,t,(0,i.unref)(v)),u=(0,i.unref)(k),d=o===RA,f=u?a:0;l[t]=c={position:"absolute",left:d?void 0:`${f}px`,right:d?`${f}px`:void 0,top:u?0:`${a}px`,height:u?"100%":`${s}px`,width:u?`${s}px`:"100%"}}return c},onScroll:t=>{(0,i.unref)(k)?(t=>{const{clientWidth:n,scrollLeft:r,scrollWidth:o}=t.currentTarget,a=(0,i.unref)(_);if(a.scrollOffset===r)return;const{direction:s}=e;let l=r;if(s===RA)switch(sv()){case DA:l=-r;break;case NA:l=o-n-r}l=Math.max(0,Math.min(l,o-n)),_.value={...a,isScrolling:!0,scrollDir:rv(a.scrollOffset,l),scrollOffset:l,updateRequested:!1},(0,i.nextTick)(M)})(t):(e=>{const{clientHeight:t,scrollHeight:n,scrollTop:r}=e.currentTarget,o=(0,i.unref)(_);if(o.scrollOffset===r)return;const a=Math.max(0,Math.min(r,n-t));_.value={...o,isScrolling:!0,scrollDir:rv(o.scrollOffset,a),scrollOffset:a,updateRequested:!1},(0,i.nextTick)(M)})(t),E()},onScrollbarScroll:(e,t)=>{const n=(S.value-Q.value)/t*e;P(Math.min(S.value-Q.value,n))},onWheel:T,scrollTo:P,scrollToItem:$,resetScrollTop:z};return m({windowRef:O,innerRef:b,getItemStyleCache:y,scrollTo:P,scrollToItem:$,resetScrollTop:z,states:_}),R},render(e){var t;const{$slots:n,className:r,clientSize:o,containerElement:a,data:s,getItemStyle:l,innerElement:c,itemsToRender:u,innerStyle:d,layout:f,total:h,onScroll:p,onScrollbarScroll:m,states:g,useIsScrolling:A,windowStyle:v,ns:y}=e,[O,b]=u,w=(0,i.resolveDynamicComponent)(a),_=(0,i.resolveDynamicComponent)(c),x=[];if(h>0)for(let e=O;e<=b;e++)x.push((0,i.h)(i.Fragment,{key:e},null==(t=n.default)?void 0:t.call(n,{data:s,index:e,isScrolling:A?g.isScrolling:void 0,style:l(e)})));const S=[(0,i.h)(_,{style:d,ref:"innerRef"},(0,se.Kg)(_)?x:{default:()=>x})],k=(0,i.h)(lv,{ref:"scrollbarRef",clientSize:o,layout:f,onScroll:m,ratio:100*o/this.estimatedTotalSize,scrollFrom:g.scrollOffset/(this.estimatedTotalSize-o),total:h}),C=(0,i.h)(w,{class:[y.e("window"),r],style:v,onScroll:p,ref:"windowRef",key:0},(0,se.Kg)(w)?[S]:{default:()=>[S]});return(0,i.h)("div",{key:0,class:[y.e("wrapper"),g.scrollbarAlwaysOn?"always-on":""]},[C,k])}}),uv=cv({name:"ElFixedSizeList",getItemOffset:({itemSize:e},t)=>t*e,getItemSize:({itemSize:e})=>e,getEstimatedTotalSize:({total:e,itemSize:t})=>t*e,getOffset:({height:e,total:t,itemSize:n,layout:r,width:o},i,a,s)=>{const l=ov(r)?o:e,c=Math.max(0,t*n-l),u=Math.min(c,i*n),d=Math.max(0,(i+1)*n-l);switch(a===TA&&(a=s>=d-l&&s<=u+l?QA:PA),a){case EA:return u;case $A:return d;case PA:{const e=Math.round(d+(u-d)/2);return e<Math.ceil(l/2)?0:e>c+Math.floor(l/2)?c:e}default:return s>=d&&s<=u?s:s<d?d:u}},getStartIndexForOffset:({total:e,itemSize:t},n)=>Math.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:r,width:o},i,a)=>{const s=i*n,l=ov(r)?o:e,c=Math.ceil((l+a-s)/n);return Math.max(0,Math.min(t-1,i+c-1))},initCache(){},clearCache:!0,validateProps(){}}),dv=(e,t,n)=>{const{itemSize:r}=e,{items:o,lastVisitedIndex:i}=n;if(t>i){let e=0;if(i>=0){const t=o[i];e=t.offset+t.size}for(let n=i+1;n<=t;n++){const t=r(n);o[n]={offset:e,size:t},e+=t}n.lastVisitedIndex=t}return o[t]},fv=(e,t,n,r,o)=>{for(;n<=r;){const i=n+Math.floor((r-n)/2),a=dv(e,i,t).offset;if(a===o)return i;a<o?n=i+1:a>o&&(r=i-1)}return Math.max(0,n-1)},hv=({total:e},{items:t,estimatedItemSize:n,lastVisitedIndex:r})=>{let o=0;if(r>=e&&(r=e-1),r>=0){const e=t[r];o=e.offset+e.size}return o+(e-r-1)*n},pv=cv({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>dv(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:hv,getOffset:(e,t,n,r,o)=>{const{height:i,layout:a,width:s}=e,l=ov(a)?s:i,c=dv(e,t,o),u=hv(e,o),d=Math.max(0,Math.min(u-l,c.offset)),f=Math.max(0,c.offset-l+c.size);switch(n===TA&&(n=r>=f-l&&r<=d+l?QA:PA),n){case EA:return d;case $A:return f;case PA:return Math.round(f+(d-f)/2);default:return r>=f&&r<=d?r:r<f?f:d}},getStartIndexForOffset:(e,t,n)=>((e,t,n)=>{const{items:r,lastVisitedIndex:o}=t;return(o>0?r[o].offset:0)>=n?fv(e,t,0,o,n):((e,t,n,r)=>{const{total:o}=e;let i=1;for(;n<o&&dv(e,n,t).offset<r;)n+=i,i*=2;return fv(e,t,Math.floor(n/2),Math.min(n,o-1),r)})(e,t,Math.max(0,o),n)})(e,n,t),getStopIndexForStartIndex:(e,t,n,r)=>{const{height:o,total:i,layout:a,width:s}=e,l=ov(a)?s:o,c=dv(e,t,r),u=n+l;let d=c.offset+c.size,f=t;for(;f<i-1&&d<u;)f++,d+=dv(e,f,r).size;return f},initCache({estimatedItemSize:e=50},t){const n={items:{},estimatedItemSize:e,lastVisitedIndex:-1,clearCacheAfterIndex:(e,r=!0)=>{var o,i;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,e-1),null==(o=t.exposed)||o.getItemStyleCache(-1),r&&(null==(i=t.proxy)||i.$forceUpdate())}};return n},clearCache:!1,validateProps:({itemSize:e})=>{}}),mv={loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number};var gv=(0,i.defineComponent)({name:"ElSelectDropdown",props:mv,setup(e,{slots:t,expose:n}){const r=(0,i.inject)(vA),o=(0,h.DU)("select"),{getLabel:a,getValue:s,getDisabled:l}=hA(r.props),u=(0,i.ref)([]),d=(0,i.ref)(),f=(0,i.computed)((()=>e.data.length));(0,i.watch)((()=>f.value),(()=>{var e,t;null==(t=(e=r.tooltipRef.value).updatePopper)||t.call(e)}));const p=(0,i.computed)((()=>(0,c.b0)(r.props.estimatedOptionHeight))),m=(0,i.computed)((()=>p.value?{itemSize:r.props.itemHeight}:{estimatedSize:r.props.estimatedOptionHeight,itemSize:e=>u.value[e]})),g=(e,t)=>r.props.multiple?((e=[],t)=>{const{props:{valueKey:n}}=r;return(0,se.Gv)(t)?e&&e.some((e=>(0,i.toRaw)((0,_m.A)(e,n))===(0,_m.A)(t,n))):e.includes(t)})(e,s(t)):((e,t)=>{if((0,se.Gv)(t)){const{valueKey:n}=r.props;return(0,_m.A)(e,n)===(0,_m.A)(t,n)}return e===t})(e,s(t)),A=(e,t)=>{const{disabled:n,multiple:o,multipleLimit:i}=r.props;return n||!t&&!!o&&i>0&&e.length>=i},v=t=>e.hoveringIndex===t;n({listRef:d,isSized:p,isItemDisabled:A,isItemHovering:v,isItemSelected:g,scrollToItem:e=>{const t=d.value;t&&t.scrollToItem(e)},resetScrollTop:()=>{const e=d.value;e&&e.resetScrollTop()}});const y=e=>{const{index:n,data:o,style:s}=e,c=(0,i.unref)(p),{itemSize:u,estimatedSize:d}=(0,i.unref)(m),{modelValue:f}=r.props,{onSelect:h,onHover:y}=r,O=o[n];if("Group"===O.type)return(0,i.createVNode)(dA,{item:O,style:s,height:c?u:d},null);const b=g(f,O),w=A(f,b),_=v(n);return(0,i.createVNode)(OA,(0,i.mergeProps)(e,{selected:b,disabled:l(O)||w,created:!!O.created,hovering:_,item:O,onSelect:h,onHover:y}),{default:e=>{var n;return(null==(n=t.default)?void 0:n.call(t,e))||(0,i.createVNode)("span",null,[a(O)])}})},{onKeyboardNavigate:O,onKeyboardSelect:b}=r,w=e=>{const{code:t}=e,{tab:n,esc:r,down:o,up:i,enter:a,numpadEnter:s}=Wt.R;switch([r,o,i,a,s].includes(t)&&(e.preventDefault(),e.stopPropagation()),t){case n:case r:break;case o:O("forward");break;case i:O("backward");break;case a:case s:b()}};return()=>{var n,a,s,l;const{data:c,width:u}=e,{height:f,multiple:h,scrollbarAlwaysOn:g}=r.props,A=(0,i.computed)((()=>!!Y.un||g)),v=(0,i.unref)(p)?uv:pv;return(0,i.createVNode)("div",{class:[o.b("dropdown"),o.is("multiple",h)],style:{width:`${u}px`}},[null==(n=t.header)?void 0:n.call(t),(null==(a=t.loading)?void 0:a.call(t))||(null==(s=t.empty)?void 0:s.call(t))||(0,i.createVNode)(v,(0,i.mergeProps)({ref:d},(0,i.unref)(m),{className:o.be("dropdown","list"),scrollbarAlwaysOn:A.value,data:c,height:f,width:u,total:c.length,onKeydown:w}),{default:e=>(0,i.createVNode)(y,e,null)}),null==(l=t.footer)?void 0:l.call(t)])}}});const Av=(e,t)=>{const{t:n}=(0,wr.Ym)(),r=(0,h.DU)("select"),o=(0,h.DU)("input"),{form:l,formItem:u}=(0,Na.j)(),{inputId:d}=(0,Na.W)(e,{formItemContext:u}),{aliasProps:f,getLabel:p,getValue:m,getDisabled:A,getOptions:v}=hA(e),{valueOnClear:y,isEmptyValue:O}=(0,Zs.fQ)(e),b=(0,i.reactive)({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),w=(0,i.ref)(-1),_=(0,i.ref)(),S=(0,i.ref)(),k=(0,i.ref)(),C=(0,i.ref)(),B=(0,i.ref)(),Q=(0,i.ref)(),T=(0,i.ref)(),E=(0,i.ref)(),P=(0,i.ref)(),$=(0,i.ref)(),{isComposing:M,handleCompositionStart:z,handleCompositionEnd:R,handleCompositionUpdate:D}=(0,tl.o)({afterComposition:e=>Fe(e)}),{wrapperRef:I,isFocused:N,handleBlur:L}=(0,dc.K)(B,{beforeFocus(){return W.value},afterFocus(){e.automaticDropdown&&!H.value&&(H.value=!0,b.menuVisibleOnFocus=!0)},beforeBlur(e){var t,n;return(null==(t=k.value)?void 0:t.isFocusInsideContent(e))||(null==(n=C.value)?void 0:n.isFocusInsideContent(e))},afterBlur(){H.value=!1,b.menuVisibleOnFocus=!1}}),V=(0,i.computed)((()=>oe(""))),U=(0,i.computed)((()=>!e.loading&&(e.options.length>0||b.createdOptions.length>0))),F=(0,i.ref)([]),H=(0,i.ref)(!1),W=(0,i.computed)((()=>e.disabled||(null==l?void 0:l.disabled))),q=(0,i.computed)((()=>{var e;return null!=(e=null==l?void 0:l.statusIcon)&&e})),Z=(0,i.computed)((()=>{const t=F.value.length*e.itemHeight;return t>e.height?e.height:t})),Y=(0,i.computed)((()=>e.multiple?(0,se.cy)(e.modelValue)&&e.modelValue.length>0:!O(e.modelValue))),G=(0,i.computed)((()=>e.clearable&&!W.value&&b.inputHovering&&Y.value)),K=(0,i.computed)((()=>e.remote&&e.filterable?"":j.ArrowDown)),J=(0,i.computed)((()=>K.value&&r.is("reverse",H.value))),ee=(0,i.computed)((()=>(null==u?void 0:u.validateState)||"")),te=(0,i.computed)((()=>{if(ee.value)return x.vK[ee.value]})),ne=(0,i.computed)((()=>e.remote?300:0)),re=(0,i.computed)((()=>e.loading?e.loadingText||n("el.select.loading"):!(e.remote&&!b.inputValue&&!U.value)&&(e.filterable&&b.inputValue&&U.value&&0===F.value.length?e.noMatchText||n("el.select.noMatch"):U.value?null:e.noDataText||n("el.select.noData")))),oe=t=>{const n=new RegExp(Qs(t),"i"),r=e.filterable&&(0,se.Tn)(e.filterMethod),o=e.filterable&&e.remote&&(0,se.Tn)(e.remoteMethod),i=e=>!(!r&&!o)||!t||n.test(p(e)||"");return e.loading?[]:[...b.createdOptions,...e.options].reduce(((t,n)=>{const r=v(n);if((0,se.cy)(r)){const e=r.filter(i);e.length>0&&t.push({label:p(n),type:"Group"},...e)}else(e.remote||i(n))&&t.push(n);return t}),[])},ie=()=>{F.value=oe(b.inputValue)},ae=(0,i.computed)((()=>{const e=new Map;return V.value.forEach(((t,n)=>{e.set(Me(m(t)),{option:t,index:n})})),e})),le=(0,i.computed)((()=>{const e=new Map;return F.value.forEach(((t,n)=>{e.set(Me(m(t)),{option:t,index:n})})),e})),ce=(0,i.computed)((()=>F.value.every((e=>A(e))))),ue=(0,Jn.NV)(),de=(0,i.computed)((()=>"small"===ue.value?"small":"default")),fe=()=>{var t;if((0,c.Et)(e.fitInputWidth))return void(w.value=e.fitInputWidth);const n=(null==(t=_.value)?void 0:t.offsetWidth)||200;!e.fitInputWidth&&U.value?(0,i.nextTick)((()=>{w.value=Math.max(n,he())})):w.value=n},he=()=>{var e,t;const n=document.createElement("canvas").getContext("2d"),o=r.be("dropdown","item"),i=((null==(t=null==(e=E.value)?void 0:e.listRef)?void 0:t.innerRef)||document).querySelector(`.${o}`);if(null===i||null===n)return 0;const a=getComputedStyle(i),s=Number.parseFloat(a.paddingLeft)+Number.parseFloat(a.paddingRight);return n.font=a.font,F.value.reduce(((e,t)=>{const r=n.measureText(p(t));return Math.max(r.width,e)}),0)+s},pe=(0,i.computed)((()=>{const t=(()=>{if(!S.value)return 0;const e=window.getComputedStyle(S.value);return Number.parseFloat(e.gap||"6px")})();return{maxWidth:`${$.value&&1===e.maxCollapseTags?b.selectionWidth-b.collapseItemWidth-t:b.selectionWidth}px`}})),me=(0,i.computed)((()=>({maxWidth:`${b.selectionWidth}px`}))),ge=(0,i.computed)((()=>(0,se.cy)(e.modelValue)?0===e.modelValue.length&&!b.inputValue:!e.filterable||!b.inputValue)),Ae=(0,i.computed)((()=>{var t;const r=null!=(t=e.placeholder)?t:n("el.select.placeholder");return e.multiple||!Y.value?r:b.selectedLabel})),ve=(0,i.computed)((()=>{var e,t;return null==(t=null==(e=k.value)?void 0:e.popperRef)?void 0:t.contentRef})),ye=(0,i.computed)((()=>{if(e.multiple){const t=e.modelValue.length;if(e.modelValue.length>0&&le.value.has(e.modelValue[t-1])){const{index:n}=le.value.get(e.modelValue[t-1]);return n}}else if(!O(e.modelValue)&&le.value.has(e.modelValue)){const{index:t}=le.value.get(e.modelValue);return t}return-1})),Oe=(0,i.computed)({get(){return H.value&&!1!==re.value},set(e){H.value=e}}),be=(0,i.computed)((()=>e.multiple?e.collapseTags?b.cachedOptions.slice(0,e.maxCollapseTags):b.cachedOptions:[])),we=(0,i.computed)((()=>e.multiple&&e.collapseTags?b.cachedOptions.slice(e.maxCollapseTags):[])),{createNewOption:_e,removeNewOption:xe,selectNewOption:Se,clearAllNewOption:ke}=function(e,t){const{aliasProps:n,getLabel:r,getValue:o}=hA(e),a=(0,i.ref)(0),s=(0,i.ref)(),l=(0,i.computed)((()=>e.allowCreate&&e.filterable));return{createNewOption:function(o){if(l.value)if(o&&o.length>0){if(function(n){const o=e=>r(e)===n;return e.options&&e.options.some(o)||t.createdOptions.some(o)}(o))return;const i={[n.value.value]:o,[n.value.label]:o,created:!0,[n.value.disabled]:!1};t.createdOptions.length>=a.value?t.createdOptions[a.value]=i:t.createdOptions.push(i)}else if(e.multiple)t.createdOptions.length=a.value;else{const e=s.value;t.createdOptions.length=0,e&&e.created&&t.createdOptions.push(e)}},removeNewOption:function(n){if(!l.value||!n||!n.created||n.created&&e.reserveKeyword&&t.inputValue===r(n))return;const i=t.createdOptions.findIndex((e=>o(e)===o(n)));~i&&(t.createdOptions.splice(i,1),a.value--)},selectNewOption:function(t){l.value&&(e.multiple&&t.created?a.value++:s.value=t)},clearAllNewOption:function(){l.value&&(t.createdOptions.length=0,a.value=0)}}}(e,b),Ce=()=>{W.value||(b.menuVisibleOnFocus?b.menuVisibleOnFocus=!1:H.value=!H.value)},Be=()=>{b.inputValue.length>0&&!H.value&&(H.value=!0),_e(b.inputValue),Te(b.inputValue)},Qe=X(Be,ne.value),Te=t=>{b.previousQuery===t||M.value||(b.previousQuery=t,e.filterable&&(0,se.Tn)(e.filterMethod)?e.filterMethod(t):e.filterable&&e.remote&&(0,se.Tn)(e.remoteMethod)&&e.remoteMethod(t),e.defaultFirstOption&&(e.filterable||e.remote)&&F.value.length?(0,i.nextTick)(Ee):(0,i.nextTick)(Ue))},Ee=()=>{const e=F.value.filter((e=>!e.disabled&&"Group"!==e.type)),t=e.find((e=>e.created)),n=e[0];b.hoveringIndex=$e(F.value,t||n)},Pe=n=>{t(s.l4,n),(n=>{Pa(e.modelValue,n)||t(s.YU,n)})(n),b.previousValue=e.multiple?String(n):n},$e=(t=[],n)=>{if(!(0,se.Gv)(n))return t.indexOf(n);const r=e.valueKey;let o=-1;return t.some(((e,t)=>(0,_m.A)(e,r)===(0,_m.A)(n,r)&&(o=t,!0))),o},Me=t=>(0,se.Gv)(t)?(0,_m.A)(t,e.valueKey):t,ze=()=>{fe()},Re=()=>{b.selectionWidth=S.value.getBoundingClientRect().width},De=()=>{var e,t;null==(t=null==(e=k.value)?void 0:e.updatePopper)||t.call(e)},Ie=()=>{var e,t;null==(t=null==(e=C.value)?void 0:e.updatePopper)||t.call(e)},Ne=t=>{if(e.multiple){let n=e.modelValue.slice();const r=$e(n,m(t));r>-1?(n=[...n.slice(0,r),...n.slice(r+1)],b.cachedOptions.splice(r,1),xe(t)):(e.multipleLimit<=0||n.length<e.multipleLimit)&&(n=[...n,m(t)],b.cachedOptions.push(t),Se(t)),Pe(n),t.created&&Te(""),e.filterable&&!e.reserveKeyword&&(b.inputValue="")}else b.selectedLabel=p(t),Pe(m(t)),H.value=!1,Se(t),t.created||ke();Le()},Le=()=>{var e;null==(e=B.value)||e.focus()},Ve=(e,t=void 0)=>{const n=F.value;if(!["forward","backward"].includes(e)||W.value||n.length<=0||ce.value||M.value)return;if(!H.value)return Ce();void 0===t&&(t=b.hoveringIndex);let r=-1;"forward"===e?(r=t+1,r>=n.length&&(r=0)):"backward"===e&&(r=t-1,(r<0||r>=n.length)&&(r=n.length-1));const o=n[r];if(A(o)||"Group"===o.type)return Ve(e,r);b.hoveringIndex=r,He(r)},Ue=()=>{e.multiple?b.hoveringIndex=F.value.findIndex((t=>e.modelValue.some((e=>Me(e)===Me(t))))):b.hoveringIndex=F.value.findIndex((t=>Me(t)===Me(e.modelValue)))},Fe=t=>{if(b.inputValue=t.target.value,!e.remote)return Be();Qe()},He=e=>{E.value.scrollToItem(e)},We=(e,t)=>{const n=Me(e);if(ae.value.has(n)){const{option:e}=ae.value.get(n);return e}if(t&&t.length){const e=t.find((e=>Me(m(e))===n));if(e)return e}return{[f.value.value]:e,[f.value.label]:e}},Xe=(t=!1)=>{if(e.multiple)if(e.modelValue.length>0){const t=b.cachedOptions.slice();b.cachedOptions.length=0,b.previousValue=e.modelValue.toString();for(const n of e.modelValue){const e=We(n,t);b.cachedOptions.push(e)}}else b.cachedOptions=[],b.previousValue=void 0;else if(Y.value){b.previousValue=e.modelValue;const n=F.value,r=n.findIndex((t=>Me(m(t))===Me(e.modelValue)));~r?b.selectedLabel=p(n[r]):b.selectedLabel&&!t||(b.selectedLabel=Me(e.modelValue))}else b.selectedLabel="",b.previousValue=void 0;ke(),fe()};return(0,i.watch)((()=>e.fitInputWidth),(()=>{fe()})),(0,i.watch)(H,(n=>{n?(e.persistent||fe(),Te("")):(b.inputValue="",b.previousQuery=null,b.isBeforeHide=!0,_e("")),t("visible-change",n)})),(0,i.watch)((()=>e.modelValue),((t,n)=>{var r;(!t||(0,se.cy)(t)&&0===t.length||e.multiple&&!Pa(t.toString(),b.previousValue)||!e.multiple&&Me(t)!==Me(b.previousValue))&&Xe(!0),!Pa(t,n)&&e.validateEvent&&(null==(r=null==u?void 0:u.validate)||r.call(u,"change").catch((e=>(0,g.U)(e))))}),{deep:!0}),(0,i.watch)((()=>e.options),(()=>{const e=B.value;(!e||e&&document.activeElement!==e)&&Xe()}),{deep:!0,flush:"post"}),(0,i.watch)((()=>F.value),(()=>(fe(),E.value&&(0,i.nextTick)(E.value.resetScrollTop)))),(0,i.watchEffect)((()=>{b.isBeforeHide||ie()})),(0,i.watchEffect)((()=>{const{valueKey:t,options:n}=e,r=new Map;for(const e of n){const n=m(e);let o=n;if((0,se.Gv)(o)&&(o=(0,_m.A)(n,t)),r.get(o)){(0,g.U)("ElSelectV2","The option values you provided seem to be duplicated, which may cause some problems, please check.");break}r.set(o,!0)}})),(0,i.onMounted)((()=>{Xe()})),(0,a.wYm)(_,ze),(0,a.wYm)(S,Re),(0,a.wYm)(E,De),(0,a.wYm)(I,De),(0,a.wYm)(P,Ie),(0,a.wYm)($,(()=>{b.collapseItemWidth=$.value.getBoundingClientRect().width})),{inputId:d,collapseTagSize:de,currentPlaceholder:Ae,expanded:H,emptyText:re,popupHeight:Z,debounce:ne,allOptions:V,filteredOptions:F,iconComponent:K,iconReverse:J,tagStyle:pe,collapseTagStyle:me,popperSize:w,dropdownMenuVisible:Oe,hasModelValue:Y,shouldShowPlaceholder:ge,selectDisabled:W,selectSize:ue,needStatusIcon:q,showClearBtn:G,states:b,isFocused:N,nsSelect:r,nsInput:o,inputRef:B,menuRef:E,tagMenuRef:P,tooltipRef:k,tagTooltipRef:C,selectRef:_,wrapperRef:I,selectionRef:S,prefixRef:Q,suffixRef:T,collapseItemRef:$,popperRef:ve,validateState:ee,validateIcon:te,showTagList:be,collapseTagList:we,debouncedOnInputChange:Qe,deleteTag:(n,r)=>{let o=e.modelValue.slice();const i=$e(o,m(r));i>-1&&!W.value&&(o=[...e.modelValue.slice(0,i),...e.modelValue.slice(i+1)],b.cachedOptions.splice(i,1),Pe(o),t("remove-tag",m(r)),xe(r)),n.stopPropagation(),Le()},getLabel:p,getValue:m,getDisabled:A,getValueKey:Me,handleClear:()=>{let n;n=(0,se.cy)(e.modelValue)?[]:y.value,e.multiple?b.cachedOptions=[]:b.selectedLabel="",H.value=!1,Pe(n),t("clear"),ke(),Le()},handleClickOutside:e=>{if(H.value=!1,N.value){const t=new FocusEvent("focus",e);L(t)}},handleDel:n=>{if(e.multiple&&n.code!==Wt.R.delete&&0===b.inputValue.length){n.preventDefault();const r=e.modelValue.slice(),o=Wm(r,(e=>!b.cachedOptions.some((t=>m(t)===e&&A(t)))));if(o<0)return;const i=r[o];r.splice(o,1);const a=b.cachedOptions[o];b.cachedOptions.splice(o,1),xe(a),Pe(r),t("remove-tag",i)}},handleEsc:()=>{b.inputValue.length>0?b.inputValue="":H.value=!1},focus:Le,blur:()=>{var e;if(H.value)return H.value=!1,void(0,i.nextTick)((()=>{var e;return null==(e=B.value)?void 0:e.blur()}));null==(e=B.value)||e.blur()},handleMenuEnter:()=>(b.isBeforeHide=!1,(0,i.nextTick)((()=>{~ye.value&&He(b.hoveringIndex)}))),handleResize:ze,resetSelectionWidth:Re,updateTooltip:De,updateTagTooltip:Ie,updateOptions:ie,toggleMenu:Ce,scrollTo:He,onInput:Fe,onKeyboardNavigate:Ve,onKeyboardSelect:()=>{if(!H.value)return Ce();~b.hoveringIndex&&F.value[b.hoveringIndex]&&Ne(F.value[b.hoveringIndex])},onSelect:Ne,onHover:e=>{b.hoveringIndex=null!=e?e:-1},handleCompositionStart:z,handleCompositionEnd:R,handleCompositionUpdate:D}},vv=(0,i.defineComponent)({name:"ElSelectV2",components:{ElSelectMenu:gv,ElTag:qs,ElTooltip:Zn,ElIcon:_.tk},directives:{ClickOutside:el},props:pA,emits:gA,setup(e,{emit:t}){const n=(0,i.computed)((()=>{const{modelValue:t,multiple:n}=e,r=n?[]:void 0;return(0,se.cy)(t)?n?t:r:n?r:t})),r=Av((0,i.reactive)({...(0,i.toRefs)(e),modelValue:n}),t),{calculatorRef:o,inputStyle:a}=Op();(0,i.provide)(vA,{props:(0,i.reactive)({...(0,i.toRefs)(e),height:r.popupHeight,modelValue:n}),expanded:r.expanded,tooltipRef:r.tooltipRef,onSelect:r.onSelect,onHover:r.onHover,onKeyboardNavigate:r.onKeyboardNavigate,onKeyboardSelect:r.onKeyboardSelect});const s=(0,i.computed)((()=>e.multiple?r.states.cachedOptions.map((e=>e.label)):r.states.selectedLabel));return{...r,modelValue:n,selectedLabel:s,calculatorRef:o,inputStyle:a}}});var yv=(0,f.A)(vv,[["render",function(e,t,n,r,o,a){const s=(0,i.resolveComponent)("el-tag"),l=(0,i.resolveComponent)("el-tooltip"),c=(0,i.resolveComponent)("el-icon"),u=(0,i.resolveComponent)("el-select-menu"),d=(0,i.resolveDirective)("click-outside");return(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref:"selectRef",class:(0,i.normalizeClass)([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:t=>e.states.inputHovering=!0,onMouseleave:t=>e.states.inputHovering=!1},[(0,i.createVNode)(l,{ref:"tooltipRef",visible:e.dropdownMenuVisible,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,placement:e.placement,pure:"",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t=>e.states.isBeforeHide=!1},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{ref:"wrapperRef",class:(0,i.normalizeClass)([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:(0,i.withModifiers)(e.toggleMenu,["prevent"])},[e.$slots.prefix?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,ref:"prefixRef",class:(0,i.normalizeClass)(e.nsSelect.e("prefix"))},[(0,i.renderSlot)(e.$slots,"prefix")],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{ref:"selectionRef",class:(0,i.normalizeClass)([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.modelValue.length)])},[e.multiple?(0,i.renderSlot)(e.$slots,"tag",{key:0},(()=>[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.showTagList,(t=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:e.getValueKey(e.getValue(t)),class:(0,i.normalizeClass)(e.nsSelect.e("selected-item"))},[(0,i.createVNode)(s,{closable:!e.selectDisabled&&!e.getDisabled(t),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:(0,i.normalizeStyle)(e.tagStyle),onClose:n=>e.deleteTag(n,t)},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(e.nsSelect.e("tags-text"))},[(0,i.renderSlot)(e.$slots,"label",{label:e.getLabel(t),value:e.getValue(t)},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.getLabel(t)),1)]))],2)])),_:2},1032,["closable","size","type","effect","style","onClose"])],2)))),128)),e.collapseTags&&e.modelValue.length>e.maxCollapseTags?((0,i.openBlock)(),(0,i.createBlock)(l,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{ref:"collapseItemRef",class:(0,i.normalizeClass)(e.nsSelect.e("selected-item"))},[(0,i.createVNode)(s,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,style:(0,i.normalizeStyle)(e.collapseTagStyle),"disable-transitions":""},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(e.nsSelect.e("tags-text"))}," + "+(0,i.toDisplayString)(e.modelValue.length-e.maxCollapseTags),3)])),_:1},8,["size","type","effect","style"])],2)])),content:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{ref:"tagMenuRef",class:(0,i.normalizeClass)(e.nsSelect.e("selection"))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.collapseTagList,(t=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:e.getValueKey(e.getValue(t)),class:(0,i.normalizeClass)(e.nsSelect.e("selected-item"))},[(0,i.createVNode)(s,{class:"in-tooltip",closable:!e.selectDisabled&&!e.getDisabled(t),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:n=>e.deleteTag(n,t)},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(e.nsSelect.e("tags-text"))},[(0,i.renderSlot)(e.$slots,"label",{label:e.getLabel(t),value:e.getValue(t)},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.getLabel(t)),1)]))],2)])),_:2},1032,["closable","size","type","effect","onClose"])],2)))),128))],2)])),_:3},8,["disabled","effect","teleported"])):(0,i.createCommentVNode)("v-if",!0)])):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[(0,i.withDirectives)((0,i.createElementVNode)("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":t=>e.states.inputValue=t,style:(0,i.normalizeStyle)(e.inputStyle),autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-label":e.ariaLabel,class:(0,i.normalizeClass)([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,role:"combobox",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,onInput:e.onInput,onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onKeydown:[(0,i.withKeys)((0,i.withModifiers)((t=>e.onKeyboardNavigate("backward")),["stop","prevent"]),["up"]),(0,i.withKeys)((0,i.withModifiers)((t=>e.onKeyboardNavigate("forward")),["stop","prevent"]),["down"]),(0,i.withKeys)((0,i.withModifiers)(e.onKeyboardSelect,["stop","prevent"]),["enter"]),(0,i.withKeys)((0,i.withModifiers)(e.handleEsc,["stop","prevent"]),["esc"]),(0,i.withKeys)((0,i.withModifiers)(e.handleDel,["stop"]),["delete"])],onClick:(0,i.withModifiers)(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","autocomplete","tabindex","aria-expanded","aria-label","disabled","readonly","name","onInput","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown","onClick"]),[[i.vModelText,e.states.inputValue]]),e.filterable?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:(0,i.normalizeClass)(e.nsSelect.e("input-calculator")),textContent:(0,i.toDisplayString)(e.states.inputValue)},null,10,["textContent"])):(0,i.createCommentVNode)("v-if",!0)],2),e.shouldShowPlaceholder?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?(0,i.renderSlot)(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},(()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(e.currentPlaceholder),1)])):((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:1},(0,i.toDisplayString)(e.currentPlaceholder),1))],2)):(0,i.createCommentVNode)("v-if",!0)],2),(0,i.createElementVNode)("div",{ref:"suffixRef",class:(0,i.normalizeClass)(e.nsSelect.e("suffix"))},[e.iconComponent?(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createBlock)(c,{key:0,class:(0,i.normalizeClass)([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.iconComponent)))])),_:1},8,["class"])),[[i.vShow,!e.showClearBtn]]):(0,i.createCommentVNode)("v-if",!0),e.showClearBtn&&e.clearIcon?((0,i.openBlock)(),(0,i.createBlock)(c,{key:1,class:(0,i.normalizeClass)([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.nsSelect.e("clear")]),onClick:(0,i.withModifiers)(e.handleClear,["prevent","stop"])},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.clearIcon)))])),_:1},8,["class","onClick"])):(0,i.createCommentVNode)("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?((0,i.openBlock)(),(0,i.createBlock)(c,{key:2,class:(0,i.normalizeClass)([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading","validating"===e.validateState)])},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.validateIcon)))])),_:1},8,["class"])):(0,i.createCommentVNode)("v-if",!0)],2)],10,["onClick"])])),content:(0,i.withCtx)((()=>[(0,i.createVNode)(u,{ref:"menuRef",data:e.filteredOptions,width:e.popperSize,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn},(0,i.createSlots)({default:(0,i.withCtx)((t=>[(0,i.renderSlot)(e.$slots,"default",(0,i.normalizeProps)((0,i.guardReactiveProps)(t)))])),_:2},[e.$slots.header?{name:"header",fn:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(e.nsSelect.be("dropdown","header"))},[(0,i.renderSlot)(e.$slots,"header")],2)]))}:void 0,e.$slots.loading&&e.loading?{name:"loading",fn:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(e.nsSelect.be("dropdown","loading"))},[(0,i.renderSlot)(e.$slots,"loading")],2)]))}:e.loading||0===e.filteredOptions.length?{name:"empty",fn:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(e.nsSelect.be("dropdown","empty"))},[(0,i.renderSlot)(e.$slots,"empty",{},(()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(e.emptyText),1)]))],2)]))}:void 0,e.$slots.footer?{name:"footer",fn:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(e.nsSelect.be("dropdown","footer"))},[(0,i.renderSlot)(e.$slots,"footer")],2)]))}:void 0]),1032,["data","width","hovering-index","scrollbar-always-on"])])),_:3},8,["visible","teleported","popper-class","popper-options","fallback-placements","effect","placement","transition","persistent","append-to","show-arrow","offset","onBeforeShow","onHide"])],42,["onMouseenter","onMouseleave"])),[[d,e.handleClickOutside,e.popperRef]])}],["__file","select.vue"]]);const Ov=(0,b.GU)(yv),bv=(0,l.b_)({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:(0,l.jq)([Number,Object])}}),wv=(0,l.b_)({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),_v=(0,i.defineComponent)({name:"ElSkeletonItem"}),xv=(0,i.defineComponent)({..._v,props:wv,setup(e){const t=(0,h.DU)("skeleton");return(e,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(t).e("item"),(0,i.unref)(t).e(e.variant)])},["image"===e.variant?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(j.PictureFilled),{key:0})):(0,i.createCommentVNode)("v-if",!0)],2))}});var Sv=(0,f.A)(xv,[["__file","skeleton-item.vue"]]);const kv=(0,i.defineComponent)({name:"ElSkeleton"}),Cv=(0,i.defineComponent)({...kv,props:bv,setup(e,{expose:t}){const n=e,r=(0,h.DU)("skeleton"),o=((e,t=0)=>{if(0===t)return e;const n=(0,se.Gv)(t)&&Boolean(t.initVal),r=(0,i.ref)(n);let o=null;const a=t=>{(0,c.b0)(t)?r.value=e.value:(o&&clearTimeout(o),o=setTimeout((()=>{r.value=e.value}),t))},s=e=>{"leading"===e?(0,c.Et)(t)?a(t):a(t.leading):(0,se.Gv)(t)?a(t.trailing):r.value=!1};return(0,i.onMounted)((()=>s("leading"))),(0,i.watch)((()=>e.value),(e=>{s(e?"leading":"trailing")})),r})((0,i.toRef)(n,"loading"),n.throttle);return t({uiLoading:o}),(e,t)=>(0,i.unref)(o)?((0,i.openBlock)(),(0,i.createElementBlock)("div",(0,i.mergeProps)({key:0,class:[(0,i.unref)(r).b(),(0,i.unref)(r).is("animated",e.animated)]},e.$attrs),[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.count,(t=>((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:t},[(0,i.unref)(o)?(0,i.renderSlot)(e.$slots,"template",{key:t},(()=>[(0,i.createVNode)(Sv,{class:(0,i.normalizeClass)((0,i.unref)(r).is("first")),variant:"p"},null,8,["class"]),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.rows,(t=>((0,i.openBlock)(),(0,i.createBlock)(Sv,{key:t,class:(0,i.normalizeClass)([(0,i.unref)(r).e("paragraph"),(0,i.unref)(r).is("last",t===e.rows&&e.rows>1)]),variant:"p"},null,8,["class"])))),128))])):(0,i.createCommentVNode)("v-if",!0)],64)))),128))],16)):(0,i.renderSlot)(e.$slots,"default",(0,i.normalizeProps)((0,i.mergeProps)({key:1},e.$attrs)))}});var Bv=(0,f.A)(Cv,[["__file","skeleton.vue"]]);const Qv=(0,b.GU)(Bv,{SkeletonItem:Sv}),Tv=(0,b.WM)(Sv),Ev=Symbol("sliderContextKey"),Pv=(0,l.b_)({modelValue:{type:(0,l.jq)([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:za.mU,inputSize:za.mU,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:(0,l.jq)(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:(0,l.jq)(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:ze,default:"top"},marks:{type:(0,l.jq)(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...(0,oe.l)(["ariaLabel"])}),$v=e=>(0,c.Et)(e)||(0,se.cy)(e)&&e.every(c.Et),Mv={[s.l4]:$v,[s.qs]:$v,[s.YU]:$v},zv=(0,l.b_)({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:ze,default:"top"}}),Rv={[s.l4]:e=>(0,c.Et)(e)},Dv=(0,i.defineComponent)({name:"ElSliderButton"}),Iv=(0,i.defineComponent)({...Dv,props:zv,emits:Rv,setup(e,{expose:t,emit:n}){const r=e,o=(0,h.DU)("slider"),l=(0,i.reactive)({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:r.modelValue}),c=(0,i.computed)((()=>!!p.value&&m.value)),{disabled:u,button:d,tooltip:f,showTooltip:p,persistent:m,tooltipVisible:g,wrapperStyle:A,formatValue:v,handleMouseEnter:y,handleMouseLeave:O,onButtonDown:b,onKeyDown:w,setPosition:_}=((e,t,n)=>{const{disabled:r,min:o,max:l,step:c,showTooltip:u,persistent:d,precision:f,sliderSize:h,formatTooltip:p,emitChange:m,resetSize:g,updateDragging:A}=(0,i.inject)(Ev),{tooltip:v,tooltipVisible:y,formatValue:O,displayTooltip:b,hideTooltip:w}=((e,t,n)=>{const r=(0,i.ref)(),o=(0,i.ref)(!1),a=(0,i.computed)((()=>t.value instanceof Function)),s=(0,i.computed)((()=>a.value&&t.value(e.modelValue)||e.modelValue)),l=X((()=>{n.value&&(o.value=!0)}),50),c=X((()=>{n.value&&(o.value=!1)}),50);return{tooltip:r,tooltipVisible:o,formatValue:s,displayTooltip:l,hideTooltip:c}})(e,p,u),_=(0,i.ref)(),x=(0,i.computed)((()=>(e.modelValue-o.value)/(l.value-o.value)*100+"%")),S=(0,i.computed)((()=>e.vertical?{bottom:x.value}:{left:x.value})),k=e=>{r.value||(e.preventDefault(),Q(e),window.addEventListener("mousemove",T),window.addEventListener("touchmove",T),window.addEventListener("mouseup",E),window.addEventListener("touchend",E),window.addEventListener("contextmenu",E),_.value.focus())},C=e=>{r.value||(t.newPosition=Number.parseFloat(x.value)+e/(l.value-o.value)*100,P(t.newPosition),m())},B=e=>{let t,n;return e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},Q=n=>{t.dragging=!0,t.isClick=!0;const{clientX:r,clientY:o}=B(n);e.vertical?t.startY=o:t.startX=r,t.startPosition=Number.parseFloat(x.value),t.newPosition=t.startPosition},T=n=>{if(t.dragging){let r;t.isClick=!1,b(),g();const{clientX:o,clientY:i}=B(n);e.vertical?(t.currentY=i,r=(t.startY-t.currentY)/h.value*100):(t.currentX=o,r=(t.currentX-t.startX)/h.value*100),t.newPosition=t.startPosition+r,P(t.newPosition)}},E=()=>{t.dragging&&(setTimeout((()=>{t.dragging=!1,t.hovering||w(),t.isClick||P(t.newPosition),m()}),0),window.removeEventListener("mousemove",T),window.removeEventListener("touchmove",T),window.removeEventListener("mouseup",E),window.removeEventListener("touchend",E),window.removeEventListener("contextmenu",E))},P=async r=>{if(null===r||Number.isNaN(+r))return;r<0?r=0:r>100&&(r=100);const a=100/((l.value-o.value)/c.value);let u=Math.round(r/a)*a*(l.value-o.value)*.01+o.value;u=Number.parseFloat(u.toFixed(f.value)),u!==e.modelValue&&n(s.l4,u),t.dragging||e.modelValue===t.oldValue||(t.oldValue=e.modelValue),await(0,i.nextTick)(),t.dragging&&b(),v.value.updatePopper()};return(0,i.watch)((()=>t.dragging),(e=>{A(e)})),(0,a.MLh)(_,"touchstart",k,{passive:!1}),{disabled:r,button:_,tooltip:v,tooltipVisible:y,showTooltip:u,persistent:d,wrapperStyle:S,formatValue:O,handleMouseEnter:()=>{t.hovering=!0,b()},handleMouseLeave:()=>{t.hovering=!1,t.dragging||w()},onButtonDown:k,onKeyDown:e=>{let t=!0;switch(e.code){case Wt.R.left:case Wt.R.down:C(-c.value);break;case Wt.R.right:case Wt.R.up:C(c.value);break;case Wt.R.home:r.value||(P(0),m());break;case Wt.R.end:r.value||(P(100),m());break;case Wt.R.pageDown:C(4*-c.value);break;case Wt.R.pageUp:C(4*c.value);break;default:t=!1}t&&e.preventDefault()},setPosition:P}})(r,l,n),{hovering:x,dragging:S}=(0,i.toRefs)(l);return t({onButtonDown:b,onKeyDown:w,setPosition:_,hovering:x,dragging:S}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"button",ref:d,class:(0,i.normalizeClass)([(0,i.unref)(o).e("button-wrapper"),{hover:(0,i.unref)(x),dragging:(0,i.unref)(S)}]),style:(0,i.normalizeStyle)((0,i.unref)(A)),tabindex:(0,i.unref)(u)?-1:0,onMouseenter:(0,i.unref)(y),onMouseleave:(0,i.unref)(O),onMousedown:(0,i.unref)(b),onFocus:(0,i.unref)(y),onBlur:(0,i.unref)(O),onKeydown:(0,i.unref)(w)},[(0,i.createVNode)((0,i.unref)(Zn),{ref_key:"tooltip",ref:f,visible:(0,i.unref)(g),placement:e.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":e.tooltipClass,disabled:!(0,i.unref)(p),persistent:(0,i.unref)(c)},{content:(0,i.withCtx)((()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)((0,i.unref)(v)),1)])),default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([(0,i.unref)(o).e("button"),{hover:(0,i.unref)(x),dragging:(0,i.unref)(S)}])},null,2)])),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,["tabindex","onMouseenter","onMouseleave","onMousedown","onFocus","onBlur","onKeydown"]))}});var Nv=(0,f.A)(Iv,[["__file","button.vue"]]);const Lv=(0,l.b_)({mark:{type:(0,l.jq)([String,Object]),default:void 0}});var Vv=(0,i.defineComponent)({name:"ElSliderMarker",props:Lv,setup(e){const t=(0,h.DU)("slider"),n=(0,i.computed)((()=>(0,se.Kg)(e.mark)?e.mark:e.mark.label)),r=(0,i.computed)((()=>(0,se.Kg)(e.mark)?void 0:e.mark.style));return()=>(0,i.h)("div",{class:t.e("marks-text"),style:r.value},n.value)}});const Uv=(0,i.defineComponent)({name:"ElSlider"}),Fv=(0,i.defineComponent)({...Uv,props:Pv,emits:Mv,setup(e,{expose:t,emit:n}){const r=e,o=(0,h.DU)("slider"),{t:l}=(0,wr.Ym)(),u=(0,i.reactive)({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:d,slider:f,firstButton:p,secondButton:m,sliderDisabled:A,minValue:v,maxValue:y,runwayStyle:O,barStyle:b,resetSize:w,emitChange:_,onSliderWrapperPrevent:x,onSliderClick:S,onSliderDown:k,onSliderMarkerDown:C,setFirstValue:B,setSecondValue:Q}=((e,t,n)=>{const{form:r,formItem:o}=(0,Na.j)(),a=(0,i.shallowRef)(),l=(0,i.ref)(),c=(0,i.ref)(),u={firstButton:l,secondButton:c},d=(0,i.computed)((()=>e.disabled||(null==r?void 0:r.disabled)||!1)),f=(0,i.computed)((()=>Math.min(t.firstValue,t.secondValue))),h=(0,i.computed)((()=>Math.max(t.firstValue,t.secondValue))),p=(0,i.computed)((()=>e.range?100*(h.value-f.value)/(e.max-e.min)+"%":100*(t.firstValue-e.min)/(e.max-e.min)+"%")),m=(0,i.computed)((()=>e.range?100*(f.value-e.min)/(e.max-e.min)+"%":"0%")),g=(0,i.computed)((()=>e.vertical?{height:e.height}:{})),A=(0,i.computed)((()=>e.vertical?{height:p.value,bottom:m.value}:{width:p.value,left:m.value})),v=()=>{a.value&&(t.sliderSize=a.value["client"+(e.vertical?"Height":"Width")])},y=n=>{const r=(n=>{const r=e.min+n*(e.max-e.min)/100;if(!e.range)return l;let o;return o=Math.abs(f.value-r)<Math.abs(h.value-r)?t.firstValue<t.secondValue?"firstButton":"secondButton":t.firstValue>t.secondValue?"firstButton":"secondButton",u[o]})(n);return r.value.setPosition(n),r},O=e=>{n(s.l4,e),n(s.qs,e)},b=async()=>{await(0,i.nextTick)(),n(s.YU,e.range?[f.value,h.value]:e.modelValue)},w=n=>{var r,o,i,s,l,c;if(d.value||t.dragging)return;v();let u=0;if(e.vertical){const e=null!=(i=null==(o=null==(r=n.touches)?void 0:r.item(0))?void 0:o.clientY)?i:n.clientY;u=(a.value.getBoundingClientRect().bottom-e)/t.sliderSize*100}else u=((null!=(c=null==(l=null==(s=n.touches)?void 0:s.item(0))?void 0:l.clientX)?c:n.clientX)-a.value.getBoundingClientRect().left)/t.sliderSize*100;return u<0||u>100?void 0:y(u)};return{elFormItem:o,slider:a,firstButton:l,secondButton:c,sliderDisabled:d,minValue:f,maxValue:h,runwayStyle:g,barStyle:A,resetSize:v,setPosition:y,emitChange:b,onSliderWrapperPrevent:e=>{var t,n;((null==(t=u.firstButton.value)?void 0:t.dragging)||(null==(n=u.secondButton.value)?void 0:n.dragging))&&e.preventDefault()},onSliderClick:e=>{w(e)&&b()},onSliderDown:async e=>{const t=w(e);t&&(await(0,i.nextTick)(),t.value.onButtonDown(e))},onSliderMarkerDown:e=>{d.value||t.dragging||y(e)},setFirstValue:n=>{t.firstValue=null!=n?n:e.min,O(e.range?[f.value,h.value]:null!=n?n:e.min)},setSecondValue:n=>{t.secondValue=n,e.range&&O([f.value,h.value])}}})(r,u,n),{stops:T,getStopStyle:E}=((e,t,n,r)=>({stops:(0,i.computed)((()=>{if(!e.showStops||e.min>e.max)return[];if(0===e.step)return(0,g.U)("ElSlider","step should not be 0."),[];const o=(e.max-e.min)/e.step,i=100*e.step/(e.max-e.min),a=Array.from({length:o-1}).map(((e,t)=>(t+1)*i));return e.range?a.filter((t=>t<100*(n.value-e.min)/(e.max-e.min)||t>100*(r.value-e.min)/(e.max-e.min))):a.filter((n=>n>100*(t.firstValue-e.min)/(e.max-e.min)))})),getStopStyle:t=>e.vertical?{bottom:`${t}%`}:{left:`${t}%`}}))(r,u,v,y),{inputId:P,isLabeledByFormItem:$}=(0,Na.W)(r,{formItemContext:d}),M=(0,Jn.NV)(),z=(0,i.computed)((()=>r.inputSize||M.value)),R=(0,i.computed)((()=>r.ariaLabel||l("el.slider.defaultLabel",{min:r.min,max:r.max}))),D=(0,i.computed)((()=>r.range?r.rangeStartLabel||l("el.slider.defaultRangeStartLabel"):R.value)),I=(0,i.computed)((()=>r.formatValueText?r.formatValueText(W.value):`${W.value}`)),N=(0,i.computed)((()=>r.rangeEndLabel||l("el.slider.defaultRangeEndLabel"))),L=(0,i.computed)((()=>r.formatValueText?r.formatValueText(X.value):`${X.value}`)),V=(0,i.computed)((()=>[o.b(),o.m(M.value),o.is("vertical",r.vertical),{[o.m("with-input")]:r.showInput}])),U=(e=>(0,i.computed)((()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort(((e,t)=>e-t)).filter((t=>t<=e.max&&t>=e.min)).map((t=>({point:t,position:100*(t-e.min)/(e.max-e.min),mark:e.marks[t]}))):[])))(r);((e,t,n,r,o,a)=>{const l=e=>{o(s.l4,e),o(s.qs,e)},u=()=>e.range?![n.value,r.value].every(((e,n)=>e===t.oldValue[n])):e.modelValue!==t.oldValue,d=()=>{var n,r;e.min>e.max&&(0,g.$)("Slider","min should not be greater than max.");const o=e.modelValue;e.range&&(0,se.cy)(o)?o[1]<e.min?l([e.min,e.min]):o[0]>e.max?l([e.max,e.max]):o[0]<e.min?l([e.min,o[1]]):o[1]>e.max?l([o[0],e.max]):(t.firstValue=o[0],t.secondValue=o[1],u()&&(e.validateEvent&&(null==(n=null==a?void 0:a.validate)||n.call(a,"change").catch((e=>(0,g.U)(e)))),t.oldValue=o.slice())):e.range||!(0,c.Et)(o)||Number.isNaN(o)||(o<e.min?l(e.min):o>e.max?l(e.max):(t.firstValue=o,u()&&(e.validateEvent&&(null==(r=null==a?void 0:a.validate)||r.call(a,"change").catch((e=>(0,g.U)(e)))),t.oldValue=o)))};d(),(0,i.watch)((()=>t.dragging),(e=>{e||d()})),(0,i.watch)((()=>e.modelValue),((e,n)=>{t.dragging||(0,se.cy)(e)&&(0,se.cy)(n)&&e.every(((e,t)=>e===n[t]))&&t.firstValue===e[0]&&t.secondValue===e[1]||d()}),{deep:!0}),(0,i.watch)((()=>[e.min,e.max]),(()=>{d()}))})(r,u,v,y,n,d);const F=(0,i.computed)((()=>{const e=[r.min,r.max,r.step].map((e=>{const t=`${e}`.split(".")[1];return t?t.length:0}));return Math.max.apply(null,e)})),{sliderWrapper:H}=((e,t,n)=>{const r=(0,i.ref)();return(0,i.onMounted)((async()=>{e.range?((0,se.cy)(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!(0,c.Et)(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),(0,a.MLh)(window,"resize",n),await(0,i.nextTick)(),n()})),{sliderWrapper:r}})(r,u,w),{firstValue:W,secondValue:X,sliderSize:j}=(0,i.toRefs)(u);return(0,a.MLh)(H,"touchstart",x,{passive:!1}),(0,a.MLh)(H,"touchmove",x,{passive:!1}),(0,i.provide)(Ev,{...(0,i.toRefs)(r),sliderSize:j,disabled:A,precision:F,emitChange:_,resetSize:w,updateDragging:e=>{u.dragging=e}}),t({onSliderClick:S}),(e,t)=>{var n,r;return(0,i.openBlock)(),(0,i.createElementBlock)("div",{id:e.range?(0,i.unref)(P):void 0,ref_key:"sliderWrapper",ref:H,class:(0,i.normalizeClass)((0,i.unref)(V)),role:e.range?"group":void 0,"aria-label":e.range&&!(0,i.unref)($)?(0,i.unref)(R):void 0,"aria-labelledby":e.range&&(0,i.unref)($)?null==(n=(0,i.unref)(d))?void 0:n.labelId:void 0},[(0,i.createElementVNode)("div",{ref_key:"slider",ref:f,class:(0,i.normalizeClass)([(0,i.unref)(o).e("runway"),{"show-input":e.showInput&&!e.range},(0,i.unref)(o).is("disabled",(0,i.unref)(A))]),style:(0,i.normalizeStyle)((0,i.unref)(O)),onMousedown:(0,i.unref)(k),onTouchstartPassive:(0,i.unref)(k)},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(o).e("bar")),style:(0,i.normalizeStyle)((0,i.unref)(b))},null,6),(0,i.createVNode)(Nv,{id:e.range?void 0:(0,i.unref)(P),ref_key:"firstButton",ref:p,"model-value":(0,i.unref)(W),vertical:e.vertical,"tooltip-class":e.tooltipClass,placement:e.placement,role:"slider","aria-label":e.range||!(0,i.unref)($)?(0,i.unref)(D):void 0,"aria-labelledby":!e.range&&(0,i.unref)($)?null==(r=(0,i.unref)(d))?void 0:r.labelId:void 0,"aria-valuemin":e.min,"aria-valuemax":e.range?(0,i.unref)(X):e.max,"aria-valuenow":(0,i.unref)(W),"aria-valuetext":(0,i.unref)(I),"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":(0,i.unref)(A),"onUpdate:modelValue":(0,i.unref)(B)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),e.range?((0,i.openBlock)(),(0,i.createBlock)(Nv,{key:0,ref_key:"secondButton",ref:m,"model-value":(0,i.unref)(X),vertical:e.vertical,"tooltip-class":e.tooltipClass,placement:e.placement,role:"slider","aria-label":(0,i.unref)(N),"aria-valuemin":(0,i.unref)(W),"aria-valuemax":e.max,"aria-valuenow":(0,i.unref)(X),"aria-valuetext":(0,i.unref)(L),"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":(0,i.unref)(A),"onUpdate:modelValue":(0,i.unref)(Q)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):(0,i.createCommentVNode)("v-if",!0),e.showStops?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(T),((e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:t,class:(0,i.normalizeClass)((0,i.unref)(o).e("stop")),style:(0,i.normalizeStyle)((0,i.unref)(E)(e))},null,6)))),128))])):(0,i.createCommentVNode)("v-if",!0),(0,i.unref)(U).length>0?((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:2},[(0,i.createElementVNode)("div",null,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(U),((e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:t,style:(0,i.normalizeStyle)((0,i.unref)(E)(e.position)),class:(0,i.normalizeClass)([(0,i.unref)(o).e("stop"),(0,i.unref)(o).e("marks-stop")])},null,6)))),128))]),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(o).e("marks"))},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(U),((e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Vv),{key:t,mark:e.mark,style:(0,i.normalizeStyle)((0,i.unref)(E)(e.position)),onMousedown:(0,i.withModifiers)((t=>(0,i.unref)(C)(e.position)),["stop"])},null,8,["mark","style","onMousedown"])))),128))],2)],64)):(0,i.createCommentVNode)("v-if",!0)],46,["onMousedown","onTouchstartPassive"]),e.showInput&&!e.range?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Ap),{key:0,ref:"input","model-value":(0,i.unref)(W),class:(0,i.normalizeClass)((0,i.unref)(o).e("input")),step:e.step,disabled:(0,i.unref)(A),controls:e.showInputControls,min:e.min,max:e.max,precision:(0,i.unref)(F),debounce:e.debounce,size:(0,i.unref)(z),"onUpdate:modelValue":(0,i.unref)(B),onChange:(0,i.unref)(_)},null,8,["model-value","class","step","disabled","controls","min","max","precision","debounce","size","onUpdate:modelValue","onChange"])):(0,i.createCommentVNode)("v-if",!0)],10,["id","role","aria-label","aria-labelledby"])}}});var Hv=(0,f.A)(Fv,[["__file","slider.vue"]]);const Wv=(0,b.GU)(Hv),Xv=(0,l.b_)({prefixCls:{type:String}}),jv=(0,i.defineComponent)({name:"ElSpaceItem",props:Xv,setup(e,{slots:t}){const n=(0,h.DU)("space"),r=(0,i.computed)((()=>`${e.prefixCls||n.b()}__item`));return()=>(0,i.h)("div",{class:r.value},(0,i.renderSlot)(t,"default"))}}),qv={small:8,default:12,large:16},Zv=(0,l.b_)({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:(0,l.jq)([String,Object,Array]),default:""},style:{type:(0,l.jq)([String,Array,Object]),default:""},alignment:{type:(0,l.jq)(String),default:"center"},prefixCls:{type:String},spacer:{type:(0,l.jq)([Object,String,Number,Array]),default:null,validator:e=>(0,i.isVNode)(e)||(0,c.Et)(e)||(0,se.Kg)(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:ir.I,validator:e=>(0,c.Et)(e)||(0,se.cy)(e)&&2===e.length&&e.every(c.Et)}}),Yv=(0,i.defineComponent)({name:"ElSpace",props:Zv,setup(e,{slots:t}){const{classes:n,containerStyle:r,itemStyle:o}=function(e){const t=(0,h.DU)("space"),n=(0,i.computed)((()=>[t.b(),t.m(e.direction),e.class])),r=(0,i.ref)(0),o=(0,i.ref)(0),a=(0,i.computed)((()=>[e.wrap||e.fill?{flexWrap:"wrap"}:{},{alignItems:e.alignment},{rowGap:`${o.value}px`,columnGap:`${r.value}px`},e.style])),s=(0,i.computed)((()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{}));return(0,i.watchEffect)((()=>{const{size:t="small",wrap:n,direction:i,fill:a}=e;if((0,se.cy)(t)){const[e=0,n=0]=t;r.value=e,o.value=n}else{let e;e=(0,c.Et)(t)?t:qv[t||"small"]||qv.small,(n||a)&&"horizontal"===i?r.value=o.value=e:"horizontal"===i?(r.value=e,o.value=0):(o.value=e,r.value=0)}})),{classes:n,containerStyle:a,itemStyle:s}}(e);function a(t,n="",r=[]){const{prefixCls:s}=e;return t.forEach(((e,t)=>{(0,mo.zv)(e)?(0,se.cy)(e.children)&&e.children.forEach(((e,t)=>{(0,mo.zv)(e)&&(0,se.cy)(e.children)?a(e.children,`${n+t}-`,r):r.push((0,i.createVNode)(jv,{style:o.value,prefixCls:s,key:`nested-${n+t}`},{default:()=>[e]},mo.Yn.PROPS|mo.Yn.STYLE,["style","prefixCls"]))})):(0,mo.jO)(e)&&r.push((0,i.createVNode)(jv,{style:o.value,prefixCls:s,key:`LoopKey${n+t}`},{default:()=>[e]},mo.Yn.PROPS|mo.Yn.STYLE,["style","prefixCls"]))})),r}return()=>{var s;const{spacer:l,direction:c}=e,u=(0,i.renderSlot)(t,"default",{key:0},(()=>[]));if(0===(null!=(s=u.children)?s:[]).length)return null;if((0,se.cy)(u.children)){let e=a(u.children);if(l){const t=e.length-1;e=e.reduce(((e,n,r)=>{const a=[...e,n];return r!==t&&a.push((0,i.createVNode)("span",{style:[o.value,"vertical"===c?"width: 100%":null],key:r},[(0,i.isVNode)(l)?l:(0,i.createTextVNode)(l,mo.Yn.TEXT)],mo.Yn.STYLE)),a}),[])}return(0,i.createVNode)("div",{class:n.value,style:r.value},e,mo.Yn.STYLE|mo.Yn.CLASS)}return u.children}}}),Gv=(0,b.GU)(Yv),Kv=(0,l.b_)({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:(0,l.jq)([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:(0,l.jq)([String,Object,Array])}}),Jv=(0,i.defineComponent)({name:"ElStatistic"}),ey=(0,i.defineComponent)({...Jv,props:Kv,setup(e,{expose:t}){const n=e,r=(0,h.DU)("statistic"),o=(0,i.computed)((()=>{const{value:e,formatter:t,precision:r,decimalSeparator:o,groupSeparator:i}=n;if((0,se.Tn)(t))return t(e);if(!(0,c.Et)(e)||Number.isNaN(e))return e;let[a,s=""]=String(e).split(".");return s=s.padEnd(r,"0").slice(0,r>0?r:0),a=a.replace(/\B(?=(\d{3})+(?!\d))/g,i),[a,s].join(s?o:"")}));return t({displayValue:o}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).b())},[e.$slots.title||e.title?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(r).e("head"))},[(0,i.renderSlot)(e.$slots,"title",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.title),1)]))],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).e("content"))},[e.$slots.prefix||e.prefix?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(r).e("prefix"))},[(0,i.renderSlot)(e.$slots,"prefix",{},(()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(e.prefix),1)]))],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(r).e("number")),style:(0,i.normalizeStyle)(e.valueStyle)},(0,i.toDisplayString)((0,i.unref)(o)),7),e.$slots.suffix||e.suffix?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)((0,i.unref)(r).e("suffix"))},[(0,i.renderSlot)(e.$slots,"suffix",{},(()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(e.suffix),1)]))],2)):(0,i.createCommentVNode)("v-if",!0)],2)],2))}});var ty=(0,f.A)(ey,[["__file","statistic.vue"]]);const ny=(0,b.GU)(ty),ry=(0,l.b_)({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:(0,l.jq)([Number,Object]),default:0},valueStyle:{type:(0,l.jq)([String,Object,Array])}}),oy={finish:()=>!0,[s.YU]:e=>(0,c.Et)(e)},iy=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]],ay=e=>(0,c.Et)(e)?new Date(e).getTime():e.valueOf(),sy=(e,t)=>{let n=e;const r=iy.reduce(((e,[t,r])=>{const o=new RegExp(`${t}+(?![^\\[\\]]*\\])`,"g");if(o.test(e)){const t=Math.floor(n/r);return n-=t*r,e.replace(o,(e=>String(t).padStart(e.length,"0")))}return e}),t);return r.replace(/\[([^\]]*)]/g,"$1")},ly=(0,i.defineComponent)({name:"ElCountdown"}),cy=(0,i.defineComponent)({...ly,props:ry,emits:oy,setup(e,{expose:t,emit:n}){const r=e;let o;const a=(0,i.ref)(0),s=(0,i.computed)((()=>sy(a.value,r.format))),l=e=>sy(e,r.format),c=()=>{o&&((0,VA.V)(o),o=void 0)};return(0,i.onMounted)((()=>{a.value=ay(r.value)-Date.now(),(0,i.watch)((()=>[r.value,r.format]),(()=>{c(),(()=>{const e=ay(r.value),t=()=>{let r=e-Date.now();n("change",r),r<=0?(r=0,c(),n("finish")):o=(0,VA.m)(t),a.value=r};o=(0,VA.m)(t)})()}),{immediate:!0})})),(0,i.onBeforeUnmount)((()=>{c()})),t({displayValue:s}),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(ny),{value:a.value,title:e.title,prefix:e.prefix,suffix:e.suffix,"value-style":e.valueStyle,formatter:l},(0,i.createSlots)({_:2},[(0,i.renderList)(e.$slots,((t,n)=>({name:n,fn:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,n)]))})))]),1032,["value","title","prefix","suffix","value-style"]))}});var uy=(0,f.A)(cy,[["__file","countdown.vue"]]);const dy=(0,b.GU)(uy),fy=(0,l.b_)({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),hy={[s.YU]:(e,t)=>[e,t].every(c.Et)},py=(0,i.defineComponent)({name:"ElSteps"}),my=(0,i.defineComponent)({...py,props:fy,emits:hy,setup(e,{emit:t}){const n=e,r=(0,h.DU)("steps"),{children:o,addChild:a,removeChild:l}=go((0,i.getCurrentInstance)(),"ElStep");return(0,i.watch)(o,(()=>{o.value.forEach(((e,t)=>{e.setIndex(t)}))})),(0,i.provide)("ElSteps",{props:n,steps:o,addStep:a,removeStep:l}),(0,i.watch)((()=>n.active),((e,n)=>{t(s.YU,e,n)})),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(r).b(),(0,i.unref)(r).m(e.simple?"simple":e.direction)])},[(0,i.renderSlot)(e.$slots,"default")],2))}});var gy=(0,f.A)(my,[["__file","steps.vue"]]);const Ay=(0,l.b_)({title:{type:String,default:""},icon:{type:x.Ze},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),vy=(0,i.defineComponent)({name:"ElStep"}),yy=(0,i.defineComponent)({...vy,props:Ay,setup(e){const t=e,n=(0,h.DU)("step"),r=(0,i.ref)(-1),o=(0,i.ref)({}),a=(0,i.ref)(""),s=(0,i.inject)("ElSteps"),l=(0,i.getCurrentInstance)();(0,i.onMounted)((()=>{(0,i.watch)([()=>s.props.active,()=>s.props.processStatus,()=>s.props.finishStatus],(([e])=>{b(e)}),{immediate:!0})})),(0,i.onBeforeUnmount)((()=>{s.removeStep(w.uid)}));const u=(0,i.computed)((()=>t.status||a.value)),d=(0,i.computed)((()=>{const e=s.steps.value[r.value-1];return e?e.currentStatus:"wait"})),f=(0,i.computed)((()=>s.props.alignCenter)),p=(0,i.computed)((()=>"vertical"===s.props.direction)),m=(0,i.computed)((()=>s.props.simple)),g=(0,i.computed)((()=>s.steps.value.length)),A=(0,i.computed)((()=>{var e;return(null==(e=s.steps.value[g.value-1])?void 0:e.uid)===(null==l?void 0:l.uid)})),v=(0,i.computed)((()=>m.value?"":s.props.space)),y=(0,i.computed)((()=>[n.b(),n.is(m.value?"simple":s.props.direction),n.is("flex",A.value&&!v.value&&!f.value),n.is("center",f.value&&!p.value&&!m.value)])),O=(0,i.computed)((()=>{const e={flexBasis:(0,c.Et)(v.value)?`${v.value}px`:v.value?v.value:100/(g.value-(f.value?0:1))+"%"};return p.value||A.value&&(e.maxWidth=100/g.value+"%"),e})),b=e=>{e>r.value?a.value=s.props.finishStatus:e===r.value&&"error"!==d.value?a.value=s.props.processStatus:a.value="wait";const t=s.steps.value[r.value-1];t&&t.calcProgress(a.value)},w=(0,i.reactive)({uid:l.uid,currentStatus:u,setIndex:e=>{r.value=e},calcProgress:e=>{const t="wait"===e,n={transitionDelay:`${t?"-":""}${150*r.value}ms`},i=e===s.props.processStatus||t?0:100;n.borderWidth=i&&!m.value?"1px":0,n["vertical"===s.props.direction?"height":"width"]=`${i}%`,o.value=n}});return s.addStep(w),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{style:(0,i.normalizeStyle)((0,i.unref)(O)),class:(0,i.normalizeClass)((0,i.unref)(y))},[(0,i.createCommentVNode)(" icon & line "),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([(0,i.unref)(n).e("head"),(0,i.unref)(n).is((0,i.unref)(u))])},[(0,i.unref)(m)?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(n).e("line"))},[(0,i.createElementVNode)("i",{class:(0,i.normalizeClass)((0,i.unref)(n).e("line-inner")),style:(0,i.normalizeStyle)(o.value)},null,6)],2)),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([(0,i.unref)(n).e("icon"),(0,i.unref)(n).is(e.icon||e.$slots.icon?"icon":"text")])},[(0,i.renderSlot)(e.$slots,"icon",{},(()=>[e.icon?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)((0,i.unref)(n).e("icon-inner"))},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.icon)))])),_:1},8,["class"])):"success"===(0,i.unref)(u)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:1,class:(0,i.normalizeClass)([(0,i.unref)(n).e("icon-inner"),(0,i.unref)(n).is("status")])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.Check))])),_:1},8,["class"])):"error"===(0,i.unref)(u)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:2,class:(0,i.normalizeClass)([(0,i.unref)(n).e("icon-inner"),(0,i.unref)(n).is("status")])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.Close))])),_:1},8,["class"])):(0,i.unref)(m)?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:3,class:(0,i.normalizeClass)((0,i.unref)(n).e("icon-inner"))},(0,i.toDisplayString)(r.value+1),3))]))],2)],2),(0,i.createCommentVNode)(" title & description "),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(n).e("main"))},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([(0,i.unref)(n).e("title"),(0,i.unref)(n).is((0,i.unref)(u))])},[(0,i.renderSlot)(e.$slots,"title",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.title),1)]))],2),(0,i.unref)(m)?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(n).e("arrow"))},null,2)):((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)([(0,i.unref)(n).e("description"),(0,i.unref)(n).is((0,i.unref)(u))])},[(0,i.renderSlot)(e.$slots,"description",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.description),1)]))],2))],2)],6))}});var Oy=(0,f.A)(yy,[["__file","item.vue"]]);const by=(0,b.GU)(gy,{Step:Oy}),wy=(0,b.WM)(Oy);var _y=n(62298);const xy=(0,l.b_)({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:_y.x},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:x.Ze},activeActionIcon:{type:x.Ze},activeIcon:{type:x.Ze},inactiveIcon:{type:x.Ze},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:(0,l.jq)(Function)},id:String,tabindex:{type:[String,Number]},...(0,oe.l)(["ariaLabel"])}),Sy={[s.l4]:e=>(0,c.Lm)(e)||(0,se.Kg)(e)||(0,c.Et)(e),[s.YU]:e=>(0,c.Lm)(e)||(0,se.Kg)(e)||(0,c.Et)(e),[s.qs]:e=>(0,c.Lm)(e)||(0,se.Kg)(e)||(0,c.Et)(e)},ky="ElSwitch",Cy=(0,i.defineComponent)({name:ky}),By=(0,i.defineComponent)({...Cy,props:xy,emits:Sy,setup(e,{expose:t,emit:n}){const r=e,{formItem:o}=(0,Na.j)(),a=(0,Jn.NV)(),l=(0,h.DU)("switch"),{inputId:u}=(0,Na.W)(r,{formItemContext:o}),d=(0,Jn.CB)((0,i.computed)((()=>r.loading))),f=(0,i.ref)(!1!==r.modelValue),p=(0,i.ref)(),A=(0,i.ref)(),v=(0,i.computed)((()=>[l.b(),l.m(a.value),l.is("disabled",d.value),l.is("checked",x.value)])),y=(0,i.computed)((()=>[l.e("label"),l.em("label","left"),l.is("active",!x.value)])),O=(0,i.computed)((()=>[l.e("label"),l.em("label","right"),l.is("active",x.value)])),b=(0,i.computed)((()=>({width:(0,m._V)(r.width)})));(0,i.watch)((()=>r.modelValue),(()=>{f.value=!0}));const w=(0,i.computed)((()=>!!f.value&&r.modelValue)),x=(0,i.computed)((()=>w.value===r.activeValue));[r.activeValue,r.inactiveValue].includes(w.value)||(n(s.l4,r.inactiveValue),n(s.YU,r.inactiveValue),n(s.qs,r.inactiveValue)),(0,i.watch)(x,(e=>{var t;p.value.checked=e,r.validateEvent&&(null==(t=null==o?void 0:o.validate)||t.call(o,"change").catch((e=>(0,g.U)(e))))}));const S=()=>{const e=x.value?r.inactiveValue:r.activeValue;n(s.l4,e),n(s.YU,e),n(s.qs,e),(0,i.nextTick)((()=>{p.value.checked=x.value}))},k=()=>{if(d.value)return;const{beforeChange:e}=r;if(!e)return void S();const t=e();[(0,se.yL)(t),(0,c.Lm)(t)].includes(!0)||(0,g.$)(ky,"beforeChange must return type `Promise<boolean>` or `boolean`"),(0,se.yL)(t)?t.then((e=>{e&&S()})).catch((e=>{(0,g.U)(ky,`some error occurred: ${e}`)})):t&&S()};return(0,i.onMounted)((()=>{p.value.checked=x.value})),t({focus:()=>{var e,t;null==(t=null==(e=p.value)?void 0:e.focus)||t.call(e)},checked:x}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)((0,i.unref)(v)),onClick:(0,i.withModifiers)(k,["prevent"])},[(0,i.createElementVNode)("input",{id:(0,i.unref)(u),ref_key:"input",ref:p,class:(0,i.normalizeClass)((0,i.unref)(l).e("input")),type:"checkbox",role:"switch","aria-checked":(0,i.unref)(x),"aria-disabled":(0,i.unref)(d),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:(0,i.unref)(d),tabindex:e.tabindex,onChange:S,onKeydown:(0,i.withKeys)(k,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),e.inlinePrompt||!e.inactiveIcon&&!e.inactiveText?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0,class:(0,i.normalizeClass)((0,i.unref)(y))},[e.inactiveIcon?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.inactiveIcon)))])),_:1})):(0,i.createCommentVNode)("v-if",!0),!e.inactiveIcon&&e.inactiveText?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:1,"aria-hidden":(0,i.unref)(x)},(0,i.toDisplayString)(e.inactiveText),9,["aria-hidden"])):(0,i.createCommentVNode)("v-if",!0)],2)),(0,i.createElementVNode)("span",{ref_key:"core",ref:A,class:(0,i.normalizeClass)((0,i.unref)(l).e("core")),style:(0,i.normalizeStyle)((0,i.unref)(b))},[e.inlinePrompt?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(l).e("inner"))},[e.activeIcon||e.inactiveIcon?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)((0,i.unref)(l).is("icon"))},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(x)?e.activeIcon:e.inactiveIcon)))])),_:1},8,["class"])):e.activeText||e.inactiveText?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:1,class:(0,i.normalizeClass)((0,i.unref)(l).is("text")),"aria-hidden":!(0,i.unref)(x)},(0,i.toDisplayString)((0,i.unref)(x)?e.activeText:e.inactiveText),11,["aria-hidden"])):(0,i.createCommentVNode)("v-if",!0)],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(l).e("action"))},[e.loading?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)((0,i.unref)(l).is("loading"))},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.Loading))])),_:1},8,["class"])):(0,i.unref)(x)?(0,i.renderSlot)(e.$slots,"active-action",{key:1},(()=>[e.activeActionIcon?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.activeActionIcon)))])),_:1})):(0,i.createCommentVNode)("v-if",!0)])):(0,i.unref)(x)?(0,i.createCommentVNode)("v-if",!0):(0,i.renderSlot)(e.$slots,"inactive-action",{key:2},(()=>[e.inactiveActionIcon?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.inactiveActionIcon)))])),_:1})):(0,i.createCommentVNode)("v-if",!0)]))],2)],6),e.inlinePrompt||!e.activeIcon&&!e.activeText?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:1,class:(0,i.normalizeClass)((0,i.unref)(O))},[e.activeIcon?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.activeIcon)))])),_:1})):(0,i.createCommentVNode)("v-if",!0),!e.activeIcon&&e.activeText?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:1,"aria-hidden":!(0,i.unref)(x)},(0,i.toDisplayString)(e.activeText),9,["aria-hidden"])):(0,i.createCommentVNode)("v-if",!0)],2))],10,["onClick"]))}});var Qy=(0,f.A)(By,[["__file","switch.vue"]]);const Ty=(0,b.GU)(Qy);var Ey,Py,$y,My=function(e){return null===e},zy=function(e,t,n){(void 0!==n&&!(0,Oa.A)(e[t],n)||void 0===n&&!(t in e))&&(0,$o.A)(e,t,n)},Ry=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[Ey?a:++r];if(!1===t(o[s],s,o))break}return e},Dy=function(e){return(0,Ho.A)(e)&&li(e)},Iy=Function.prototype,Ny=Object.prototype,Ly=Iy.toString,Vy=Ny.hasOwnProperty,Uy=Ly.call(Object),Fy=function(e){if(!(0,Ho.A)(e)||"[object Object]"!=(0,Uo.A)(e))return!1;var t=xi(e);if(null===t)return!0;var n=Vy.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ly.call(n)==Uy},Hy=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},Wy=function(e,t,n,r,o,i,a){var s,l=Hy(e,n),c=Hy(t,n),u=a.get(c);if(u)zy(e,n,u);else{var d=i?i(l,c,n+"",e,t,a):void 0,f=void 0===d;if(f){var h=(0,Ro.A)(c),p=!h&&Lo(c),m=!h&&!p&&Jo(c);d=c,h||p||m?(0,Ro.A)(l)?d=l:Dy(l)?d=vi(l):p?(f=!1,d=Ai(c,!0)):m?(f=!1,d=ea(c,!0)):d=[]:Fy(c)||(0,zo.A)(c)?(d=l,(0,zo.A)(l)?d=Mo(s=l,fi(s)):(0,P.A)(l)&&!(0,si.A)(l)||(d=oa(c))):f=!1}f&&(a.set(c,d),o(d,c,r,i,a),a.delete(c)),zy(e,n,d)}},Xy=function e(t,n,r,o,i){t!==n&&Ry(n,(function(a,s){if(i||(i=new Eo),(0,P.A)(a))Wy(t,n,s,r,e,o,i);else{var l=o?o(Hy(t,s),a,s+"",t,n,i):void 0;void 0===l&&(l=a),zy(t,s,l)}}),fi)},jy=n(76875),qy=n(99727),Zy=function(e,t){return(0,qy.A)((0,jy.A)(e,t,Dm.A),e+"")},Yy=(Py=function(e,t,n){Xy(e,t,n)},Zy((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Py.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!(0,P.A)(n))return!1;var r=typeof t;return!!("number"==r?li(n)&&(0,Vo.A)(t,n.length):"string"==r&&t in n)&&(0,Oa.A)(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&Py(e,a,n,o)}return e}))),Gy=Yy,Ky=n(45572),Jy=($y=function(e,t){return e&&Ry(e,t,ci)},function(e,t){if(null==e)return e;if(!li(e))return $y(e,t);for(var n=e.length,r=-1,o=Object(e);++r<n&&!1!==t(o[r],r,o););return e}),eO=function(e,t){var n=-1,r=li(e)?Array(e.length):[];return Jy(e,(function(e,o,i){r[++n]=t(e,o,i)})),r},tO=function(e,t){return((0,Ro.A)(e)?Ky.A:eO)(e,Lm(t))};const nO=function(e){var t;return null==(t=e.target)?void 0:t.closest("td")},rO=function(e,t){let n=null;return e.columns.forEach((e=>{e.id===t&&(n=e)})),n},oO=function(e,t,n){const r=(t.className||"").match(new RegExp(`${n}-table_[^\\s]+`,"gm"));return r?rO(e,r[0]):null},iO=(e,t)=>{if(!e)throw new Error("Row is required when get row identity");if((0,se.Kg)(t)){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let r=e;for(const e of n)r=r[e];return`${r}`}if((0,se.Tn)(t))return t.call(null,e)},aO=function(e,t){const n={};return(e||[]).forEach(((e,r)=>{n[iO(e,t)]={row:e,index:r}})),n};function sO(e){return""===e||(0,c.b0)(e)||(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function lO(e){return""===e||(0,c.b0)(e)||(e=sO(e),Number.isNaN(e)&&(e=80)),e}function cO(e,t,n,r,o,i){let a=null!=i?i:0,s=!1;const l=e.indexOf(t),u=-1!==l,d=null==o?void 0:o.call(null,t,a),f=n=>{"add"===n?e.push(t):e.splice(l,1),s=!0},h=e=>{let t=0;const n=(null==r?void 0:r.children)&&e[r.children];return n&&(0,se.cy)(n)&&(t+=n.length,n.forEach((e=>{t+=h(e)}))),t};return o&&!d||((0,c.Lm)(n)?n&&!u?f("add"):!n&&u&&f("remove"):f(u?"remove":"add")),!(null==r?void 0:r.checkStrictly)&&(null==r?void 0:r.children)&&(0,se.cy)(t[r.children])&&t[r.children].forEach((t=>{const i=cO(e,t,null!=n?n:!u,r,o,a+1);a+=h(t)+1,i&&(s=i)})),s}function uO(e,t,n="children",r="hasChildren"){const o=e=>!((0,se.cy)(e)&&e.length);function i(e,a,s){t(e,a,s),a.forEach((e=>{if(e[r])return void t(e,null,s+1);const a=e[n];o(a)||i(e,a,s+1)}))}e.forEach((e=>{if(e[r])return void t(e,null,0);const a=e[n];o(a)||i(e,a,0)}))}let dO=null;function fO(e){return e.children?(t=e.children,n=fO,(0,$a.A)(tO(t,n),1)):[e];var t,n}function hO(e,t){return e+t.colSpan}const pO=(e,t,n,r)=>{let o=0,i=e;const a=n.states.columns.value;if(r){const t=fO(r[e]);o=a.slice(0,a.indexOf(t[0])).reduce(hO,0),i=o+t.reduce(hO,0)-1}else o=e;let s;switch(t){case"left":i<n.states.fixedLeafColumnsLength.value&&(s="left");break;case"right":o>=a.length-n.states.rightFixedLeafColumnsLength.value&&(s="right");break;default:i<n.states.fixedLeafColumnsLength.value?s="left":o>=a.length-n.states.rightFixedLeafColumnsLength.value&&(s="right")}return s?{direction:s,start:o,after:i}:{}},mO=(e,t,n,r,o,i=0)=>{const a=[],{direction:s,start:l,after:c}=pO(t,n,r,o);if(s){const t="left"===s;a.push(`${e}-fixed-column--${s}`),t&&c+i===r.states.fixedLeafColumnsLength.value-1?a.push("is-last-column"):t||l-i!=r.states.columns.value.length-r.states.rightFixedLeafColumnsLength.value||a.push("is-first-column")}return a};function gO(e,t){return e+(My(t.realWidth)||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const AO=(e,t,n,r)=>{const{direction:o,start:i=0,after:a=0}=pO(e,t,n,r);if(!o)return;const s={},l="left"===o,c=n.states.columns.value;return l?s.left=c.slice(0,i).reduce(gO,0):s.right=c.slice(a+1).reverse().reduce(gO,0),s},vO=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))},yO=e=>{const t=[];return e.forEach((e=>{e.children&&e.children.length>0?t.push.apply(t,yO(e.children)):t.push(e)})),t};function OO(){var e;const t=(0,i.getCurrentInstance)(),{size:n}=(0,i.toRefs)(null==(e=t.proxy)?void 0:e.$props),r=(0,i.ref)(null),o=(0,i.ref)([]),a=(0,i.ref)([]),s=(0,i.ref)(!1),l=(0,i.ref)([]),u=(0,i.ref)([]),d=(0,i.ref)([]),f=(0,i.ref)([]),h=(0,i.ref)([]),p=(0,i.ref)([]),m=(0,i.ref)([]),A=(0,i.ref)([]),v=(0,i.ref)(0),y=(0,i.ref)(0),O=(0,i.ref)(0),b=(0,i.ref)(!1),w=(0,i.ref)([]),_=(0,i.ref)(!1),x=(0,i.ref)(!1),S=(0,i.ref)(null),k=(0,i.ref)({}),C=(0,i.ref)(null),B=(0,i.ref)(null),Q=(0,i.ref)(null),T=(0,i.ref)(null),E=(0,i.ref)(null),P=(0,i.computed)((()=>r.value?aO(w.value,r.value):void 0));(0,i.watch)(o,(()=>{var e;t.state&&(z(!1),"auto"===t.props.tableLayout&&(null==(e=t.refs.tableHeaderRef)||e.updateFixedColumnStyle()))}),{deep:!0});const $=e=>{var t;null==(t=e.children)||t.forEach((t=>{t.fixed=e.fixed,$(t)}))},M=()=>{var e,t;let n;if(l.value.forEach((e=>{$(e)})),f.value=l.value.filter((e=>"selection"!==e.type&&[!0,"left"].includes(e.fixed))),"selection"===(null==(t=null==(e=l.value)?void 0:e[0])?void 0:t.type)){const e=l.value[0];n=[!0,"left"].includes(e.fixed)||f.value.length&&"right"!==e.fixed,n&&f.value.unshift(e)}h.value=l.value.filter((e=>"right"===e.fixed));const r=l.value.filter((e=>!(n&&"selection"===e.type||e.fixed)));u.value=[].concat(f.value).concat(r).concat(h.value);const o=yO(r),i=yO(f.value),a=yO(h.value);v.value=o.length,y.value=i.length,O.value=a.length,d.value=[].concat(i).concat(o).concat(a),s.value=f.value.length>0||h.value.length>0},z=(e,n=!1)=>{e&&M(),n?t.state.doLayout():t.state.debouncedUpdateLayout()},R=e=>P.value?!!P.value[iO(e,r.value)]:w.value.includes(e),D=e=>{var n;if(!t||!t.store)return 0;const{treeData:r}=t.store.states;let o=0;const i=null==(n=r.value[e])?void 0:n.children;return i&&(o+=i.length,i.forEach((e=>{o+=D(e)}))),o},I=(e,t,n)=>{B.value&&B.value!==e&&(B.value.order=null),B.value=e,Q.value=t,T.value=n},N=()=>{let e=(0,i.unref)(a);Object.keys(k.value).forEach((t=>{const n=k.value[t];if(!n||0===n.length)return;const r=rO({columns:d.value},t);r&&r.filterMethod&&(e=e.filter((e=>n.some((t=>r.filterMethod.call(null,t,e,r))))))})),C.value=e},L=()=>{o.value=((e,t)=>{const n=t.sortingColumn;return!n||(0,se.Kg)(n.sortable)?e:function(e,t,n,r,o){if(!t&&!r&&(!o||(0,se.cy)(o)&&!o.length))return e;n=(0,se.Kg)(n)?"descending"===n?-1:1:n&&n<0?-1:1;const i=r?null:function(n,r){return o?((0,se.cy)(o)||(o=[o]),o.map((t=>(0,se.Kg)(t)?(0,_m.A)(n,t):t(n,r,e)))):("$key"!==t&&(0,se.Gv)(n)&&"$value"in n&&(n=n.$value),[(0,se.Gv)(n)?(0,_m.A)(n,t):n])};return e.map(((e,t)=>({value:e,index:t,key:i?i(e,t):null}))).sort(((e,t)=>{let o=function(e,t){if(r)return r(e.value,t.value);for(let n=0,r=e.key.length;n<r;n++){if(e.key[n]<t.key[n])return-1;if(e.key[n]>t.key[n])return 1}return 0}(e,t);return o||(o=e.index-t.index),o*+n})).map((e=>e.value))}(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)})(C.value,{sortingColumn:B.value,sortProp:Q.value,sortOrder:T.value})},{setExpandRowKeys:V,toggleRowExpansion:U,updateExpandRows:F,states:H,isRowExpanded:W}=function(e){const t=(0,i.getCurrentInstance)(),n=(0,i.ref)(!1),r=(0,i.ref)([]);return{updateExpandRows:()=>{const t=e.data.value||[],o=e.rowKey.value;if(n.value)r.value=t.slice();else if(o){const e=aO(r.value,o);r.value=t.reduce(((t,n)=>{const r=iO(n,o);return e[r]&&t.push(n),t}),[])}else r.value=[]},toggleRowExpansion:(e,n)=>{cO(r.value,e,n)&&t.emit("expand-change",e,r.value.slice())},setExpandRowKeys:n=>{t.store.assertRowKey();const o=e.data.value||[],i=e.rowKey.value,a=aO(o,i);r.value=n.reduce(((e,t)=>{const n=a[t];return n&&e.push(n.row),e}),[])},isRowExpanded:t=>{const n=e.rowKey.value;return n?!!aO(r.value,n)[iO(t,n)]:r.value.includes(t)},states:{expandRows:r,defaultExpandAll:n}}}({data:o,rowKey:r}),{updateTreeExpandKeys:X,toggleTreeExpansion:j,updateTreeData:q,updateKeyChildren:Z,loadOrToggle:Y,states:G}=function(e){const t=(0,i.ref)([]),n=(0,i.ref)({}),r=(0,i.ref)(16),o=(0,i.ref)(!1),a=(0,i.ref)({}),s=(0,i.ref)("hasChildren"),l=(0,i.ref)("children"),u=(0,i.ref)(!1),d=(0,i.getCurrentInstance)(),f=(0,i.computed)((()=>{if(!e.rowKey.value)return{};const t=e.data.value||[];return p(t)})),h=(0,i.computed)((()=>{const t=e.rowKey.value,n=Object.keys(a.value),r={};return n.length?(n.forEach((e=>{if(a.value[e].length){const n={children:[]};a.value[e].forEach((e=>{const o=iO(e,t);n.children.push(o),e[s.value]&&!r[o]&&(r[o]={children:[]})})),r[e]=n}})),r):r})),p=t=>{const n=e.rowKey.value,r={};return uO(t,((e,t,i)=>{const a=iO(e,n);(0,se.cy)(t)?r[a]={children:t.map((e=>iO(e,n))),level:i}:o.value&&(r[a]={children:[],lazy:!0,level:i})}),l.value,s.value),r},m=(e=!1,r=(e=>null==(e=d.store)?void 0:e.states.defaultExpandAll.value)())=>{var a;const s=f.value,l=h.value,c=Object.keys(s),u={};if(c.length){const a=(0,i.unref)(n),d=[],f=(n,o)=>{if(e)return t.value?r||t.value.includes(o):!(!r&&!(null==n?void 0:n.expanded));{const e=r||t.value&&t.value.includes(o);return!(!(null==n?void 0:n.expanded)&&!e)}};c.forEach((e=>{const t=a[e],n={...s[e]};if(n.expanded=f(t,e),n.lazy){const{loaded:r=!1,loading:o=!1}=t||{};n.loaded=!!r,n.loading=!!o,d.push(e)}u[e]=n}));const h=Object.keys(l);o.value&&h.length&&d.length&&h.forEach((e=>{const t=a[e],n=l[e].children;if(d.includes(e)){if(0!==u[e].children.length)throw new Error("[ElTable]children must be an empty array.");u[e].children=n}else{const{loaded:r=!1,loading:o=!1}=t||{};u[e]={lazy:!0,loaded:!!r,loading:!!o,expanded:f(t,e),children:n,level:""}}}))}n.value=u,null==(a=d.store)||a.updateTableScrollY()};(0,i.watch)((()=>t.value),(()=>{m(!0)})),(0,i.watch)((()=>f.value),(()=>{m()})),(0,i.watch)((()=>h.value),(()=>{m()}));const g=e=>o.value&&e&&"loaded"in e&&!e.loaded,A=(t,r)=>{d.store.assertRowKey();const o=e.rowKey.value,i=iO(t,o),a=i&&n.value[i];if(i&&a&&"expanded"in a){const e=a.expanded;r=(0,c.b0)(r)?!a.expanded:r,n.value[i].expanded=r,e!==r&&d.emit("expand-change",t,r),g(a)&&v(t,i,a),d.store.updateTableScrollY()}},v=(e,t,r)=>{const{load:o}=d.props;o&&!n.value[t].loaded&&(n.value[t].loading=!0,o(e,r,(r=>{if(!(0,se.cy)(r))throw new TypeError("[ElTable] data must be an array");n.value[t].loading=!1,n.value[t].loaded=!0,n.value[t].expanded=!0,r.length&&(a.value[t]=r),d.emit("expand-change",e,!0)})))};return{loadData:v,loadOrToggle:t=>{d.store.assertRowKey();const r=e.rowKey.value,o=iO(t,r),i=n.value[o];g(i)?v(t,o,i):A(t,void 0)},toggleTreeExpansion:A,updateTreeExpandKeys:e=>{t.value=e,m()},updateTreeData:m,updateKeyChildren:(e,t)=>{const{lazy:n,rowKey:r}=d.props;if(n){if(!r)throw new Error("[Table] rowKey is required in updateKeyChild");a.value[e]&&(a.value[e]=t)}},normalize:p,states:{expandRowKeys:t,treeData:n,indent:r,lazy:o,lazyTreeNodeMap:a,lazyColumnIdentifier:s,childrenColumnName:l,checkStrictly:u}}}({data:o,rowKey:r}),{updateCurrentRowData:K,updateCurrentRow:J,setCurrentRowKey:ee,states:te}=function(e){const t=(0,i.getCurrentInstance)(),n=(0,i.ref)(null),r=(0,i.ref)(null),o=()=>{n.value=null},a=n=>{const{data:o,rowKey:a}=e;let s=null;a.value&&(s=((0,i.unref)(o)||[]).find((e=>iO(e,a.value)===n))),r.value=s,t.emit("current-change",r.value,null)};return{setCurrentRowKey:e=>{t.store.assertRowKey(),n.value=e,a(e)},restoreCurrentRowKey:o,setCurrentRowByKey:a,updateCurrentRow:e=>{const n=r.value;if(e&&e!==n)return r.value=e,void t.emit("current-change",r.value,n);!e&&n&&(r.value=null,t.emit("current-change",null,n))},updateCurrentRowData:()=>{const i=e.rowKey.value,s=e.data.value||[],l=r.value;if(!s.includes(l)&&l){if(i){const e=iO(l,i);a(e)}else r.value=null;My(r.value)&&t.emit("current-change",null,l)}else n.value&&(a(n.value),o())},states:{_currentRowKey:n,currentRow:r}}}({data:o,rowKey:r});return{assertRowKey:()=>{if(!r.value)throw new Error("[ElTable] prop row-key is required")},updateColumns:M,scheduleLayout:z,isSelected:R,clearSelection:()=>{b.value=!1;const e=w.value;w.value=[],e.length&&t.emit("selection-change",[])},cleanSelection:()=>{let e;if(r.value){e=[];const t=aO(o.value,r.value);for(const n in P.value)(0,se.$3)(P.value,n)&&!t[n]&&e.push(P.value[n].row)}else e=w.value.filter((e=>!o.value.includes(e)));if(e.length){const n=w.value.filter((t=>!e.includes(t)));w.value=n,t.emit("selection-change",n.slice())}},getSelectionRows:()=>(w.value||[]).slice(),toggleRowSelection:(e,n,r=!0,i=!1)=>{var a,s,l,c;const u={children:null==(s=null==(a=null==t?void 0:t.store)?void 0:a.states)?void 0:s.childrenColumnName.value,checkStrictly:null==(c=null==(l=null==t?void 0:t.store)?void 0:l.states)?void 0:c.checkStrictly.value};if(cO(w.value,e,n,u,i?void 0:S.value,o.value.indexOf(e))){const n=(w.value||[]).slice();r&&t.emit("select",n,e),t.emit("selection-change",n)}},_toggleAllSelection:()=>{var e,n;const r=x.value?!b.value:!(b.value||w.value.length);b.value=r;let i=!1,a=0;const s=null==(n=null==(e=null==t?void 0:t.store)?void 0:e.states)?void 0:n.rowKey.value,{childrenColumnName:l}=t.store.states,c={children:l.value,checkStrictly:!1};o.value.forEach(((e,t)=>{const n=t+a;cO(w.value,e,r,c,S.value,n)&&(i=!0),a+=D(iO(e,s))})),i&&t.emit("selection-change",w.value?w.value.slice():[]),t.emit("select-all",(w.value||[]).slice())},toggleAllSelection:null,updateSelectionByRowKey:()=>{o.value.forEach((e=>{const t=iO(e,r.value),n=P.value[t];n&&(w.value[n.index]=e)}))},updateAllSelected:()=>{var e;if(0===(null==(e=o.value)?void 0:e.length))return void(b.value=!1);const{childrenColumnName:n}=t.store.states;let r=0,i=0;const a=e=>{var t;for(const o of e){const e=S.value&&S.value.call(null,o,r);if(R(o))i++;else if(!S.value||e)return!1;if(r++,(null==(t=o[n.value])?void 0:t.length)&&!a(o[n.value]))return!1}return!0},s=a(o.value||[]);b.value=0!==i&&s},updateFilters:(e,t)=>{(0,se.cy)(e)||(e=[e]);const n={};return e.forEach((e=>{k.value[e.id]=t,n[e.columnKey||e.id]=t})),n},updateCurrentRow:J,updateSort:I,execFilter:N,execSort:L,execQuery:(e=void 0)=>{e&&e.filter||N(),L()},clearFilter:e=>{const{tableHeaderRef:n}=t.refs;if(!n)return;const r=Object.assign({},n.filterPanels),o=Object.keys(r);if(o.length)if((0,se.Kg)(e)&&(e=[e]),(0,se.cy)(e)){const n=e.map((e=>function(e,t){let n=null;for(let r=0;r<e.columns.length;r++){const o=e.columns[r];if(o.columnKey===t){n=o;break}}return n||(0,g.$)("ElTable",`No column matching with column-key: ${t}`),n}({columns:d.value},e)));o.forEach((e=>{const t=n.find((t=>t.id===e));t&&(t.filteredValue=[])})),t.store.commit("filterChange",{column:n,values:[],silent:!0,multi:!0})}else o.forEach((e=>{const t=d.value.find((t=>t.id===e));t&&(t.filteredValue=[])})),k.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},clearSort:()=>{B.value&&(I(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},toggleRowExpansion:U,setExpandRowKeysAdapter:e=>{V(e),X(e)},setCurrentRowKey:ee,toggleRowExpansionAdapter:(e,t)=>{const n=d.value.some((({type:e})=>"expand"===e));n?U(e,t):j(e,t)},isRowExpanded:W,updateExpandRows:F,updateCurrentRowData:K,loadOrToggle:Y,updateTreeData:q,updateKeyChildren:Z,states:{tableSize:n,rowKey:r,data:o,_data:a,isComplex:s,_columns:l,originColumns:u,columns:d,fixedColumns:f,rightFixedColumns:h,leafColumns:p,fixedLeafColumns:m,rightFixedLeafColumns:A,updateOrderFns:[],leafColumnsLength:v,fixedLeafColumnsLength:y,rightFixedLeafColumnsLength:O,isAllSelected:b,selection:w,reserveSelection:_,selectOnIndeterminate:x,selectable:S,filters:k,filteredData:C,sortingColumn:B,sortProp:Q,sortOrder:T,hoverRow:E,...H,...G,...te}}}function bO(e,t){return e.map((e=>{var n;return e.id===t.id?t:((null==(n=e.children)?void 0:n.length)&&(e.children=bO(e.children,t)),e)}))}function wO(e){e.forEach((e=>{var t,n;e.no=null==(t=e.getColumnIndex)?void 0:t.call(e),(null==(n=e.children)?void 0:n.length)&&wO(e.children)})),e.sort(((e,t)=>e.no-t.no))}const _O={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function xO(e,t,n){let r=e,o=_O[t];(0,se.Gv)(_O[t])&&(o=o.key,r=r||_O[t].default),n.states[o].value=r}function SO(e,t){if(t.includes(".")){const n=t.split(".");let r=e;return n.forEach((e=>{r=r[e]})),r}return e[t]}class kO{constructor(e){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=(0,i.ref)(null),this.scrollX=(0,i.ref)(!1),this.scrollY=(0,i.ref)(!1),this.bodyWidth=(0,i.ref)(null),this.fixedWidth=(0,i.ref)(null),this.rightFixedWidth=(0,i.ref)(null),this.gutterWidth=0;for(const t in e)(0,se.$3)(e,t)&&((0,i.isRef)(this[t])?this[t].value=e[t]:this[t]=e[t]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){const e=this.height.value;if(My(e))return!1;const t=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(null==t?void 0:t.wrapRef)){let e=!0;const n=this.scrollY.value;return e=t.wrapRef.scrollHeight>t.wrapRef.clientHeight,this.scrollY.value=e,n!==e}return!1}setHeight(e,t="height"){if(!Y.oc)return;const n=this.table.vnode.el;var r;if(r=e,e=(0,c.Et)(r)?r:(0,se.Kg)(r)?/^\d+(?:px)?$/.test(r)?Number.parseInt(r,10):r:null,this.height.value=Number(e),!n&&(e||0===e))return(0,i.nextTick)((()=>this.setHeight(e,t)));(0,c.Et)(e)?(n.style[t]=`${e}px`,this.updateElsHeight()):(0,se.Kg)(e)&&(n.style[t]=e,this.updateElsHeight())}setMaxHeight(e){this.setHeight(e,"max-height")}getFlattenColumns(){const e=[];return this.table.store.states.columns.value.forEach((t=>{t.isColumnGroup?e.push.apply(e,t.columns):e.push(t)})),e}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(e){if(!e)return!0;let t=e;for(;"DIV"!==t.tagName;){if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1}updateColumnsWidth(){if(!Y.oc)return;const e=this.fit,t=this.table.vnode.el.clientWidth;let n=0;const r=this.getFlattenColumns(),o=r.filter((e=>!(0,c.Et)(e.width)));if(r.forEach((e=>{(0,c.Et)(e.width)&&e.realWidth&&(e.realWidth=null)})),o.length>0&&e){if(r.forEach((e=>{n+=Number(e.width||e.minWidth||80)})),n<=t){this.scrollX.value=!1;const e=t-n;if(1===o.length)o[0].realWidth=Number(o[0].minWidth||80)+e;else{const t=e/o.reduce(((e,t)=>e+Number(t.minWidth||80)),0);let n=0;o.forEach(((e,r)=>{if(0===r)return;const o=Math.floor(Number(e.minWidth||80)*t);n+=o,e.realWidth=Number(e.minWidth||80)+o})),o[0].realWidth=Number(o[0].minWidth||80)+e-n}}else this.scrollX.value=!0,o.forEach((e=>{e.realWidth=Number(e.minWidth)}));this.bodyWidth.value=Math.max(n,t),this.table.state.resizeState.value.width=this.bodyWidth.value}else r.forEach((e=>{e.width||e.minWidth?e.realWidth=Number(e.width||e.minWidth):e.realWidth=80,n+=e.realWidth})),this.scrollX.value=n>t,this.bodyWidth.value=n;const i=this.store.states.fixedColumns.value;if(i.length>0){let e=0;i.forEach((t=>{e+=Number(t.realWidth||t.width)})),this.fixedWidth.value=e}const a=this.store.states.rightFixedColumns.value;if(a.length>0){let e=0;a.forEach((t=>{e+=Number(t.realWidth||t.width)})),this.rightFixedWidth.value=e}this.notifyObservers("columns")}addObserver(e){this.observers.push(e)}removeObserver(e){const t=this.observers.indexOf(e);-1!==t&&this.observers.splice(t,1)}notifyObservers(e){this.observers.forEach((t=>{var n,r;switch(e){case"columns":null==(n=t.state)||n.onColumnsChange(this);break;case"scrollable":null==(r=t.state)||r.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${e}.`)}}))}}const{CheckboxGroup:CO}=es,BO=(0,i.defineComponent)({name:"ElTableFilterPanel",components:{ElCheckbox:es,ElCheckboxGroup:CO,ElScrollbar:fe,ElTooltip:Zn,ElIcon:_.tk,ArrowDown:j.ArrowDown,ArrowUp:j.ArrowUp},directives:{ClickOutside:el},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:{type:String}},setup(e){const t=(0,i.getCurrentInstance)(),{t:n}=(0,wr.Ym)(),r=(0,h.DU)("table-filter"),o=null==t?void 0:t.parent;o.filterPanels.value[e.column.id]||(o.filterPanels.value[e.column.id]=t);const a=(0,i.ref)(!1),s=(0,i.ref)(null),l=(0,i.computed)((()=>e.column&&e.column.filters)),u=(0,i.computed)((()=>e.column.filterClassName?`${r.b()} ${e.column.filterClassName}`:r.b())),d=(0,i.computed)({get:()=>{var t;return((null==(t=e.column)?void 0:t.filteredValue)||[])[0]},set:e=>{f.value&&((0,c.Xj)(e)?f.value.splice(0,1):f.value.splice(0,1,e))}}),f=(0,i.computed)({get(){return e.column&&e.column.filteredValue||[]},set(t){e.column&&e.upDataColumn("filteredValue",t)}}),p=(0,i.computed)((()=>!e.column||e.column.filterMultiple)),m=()=>{a.value=!1},g=t=>{e.store.commit("filterChange",{column:e.column,values:t}),e.store.updateAllSelected()};(0,i.watch)(a,(t=>{e.column&&e.upDataColumn("filterOpened",t)}),{immediate:!0});const A=(0,i.computed)((()=>{var e,t;return null==(t=null==(e=s.value)?void 0:e.popperRef)?void 0:t.contentRef}));return{tooltipVisible:a,multiple:p,filterClassName:u,filteredValue:f,filterValue:d,filters:l,handleConfirm:()=>{g(f.value),m()},handleReset:()=>{f.value=[],g(f.value),m()},handleSelect:e=>{d.value=e,(0,c.Xj)(e)?g([]):g(f.value),m()},isPropAbsent:c.Xj,isActive:e=>e.value===d.value,t:n,ns:r,showFilterPanel:e=>{e.stopPropagation(),a.value=!a.value},hideFilterPanel:()=>{a.value=!1},popperPaneRef:A,tooltip:s}}});var QO=(0,f.A)(BO,[["render",function(e,t,n,r,o,a){const s=(0,i.resolveComponent)("el-checkbox"),l=(0,i.resolveComponent)("el-checkbox-group"),c=(0,i.resolveComponent)("el-scrollbar"),u=(0,i.resolveComponent)("arrow-up"),d=(0,i.resolveComponent)("arrow-down"),f=(0,i.resolveComponent)("el-icon"),h=(0,i.resolveComponent)("el-tooltip"),p=(0,i.resolveDirective)("click-outside");return(0,i.openBlock)(),(0,i.createBlock)(h,{ref:"tooltip",visible:e.tooltipVisible,offset:0,placement:e.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":e.filterClassName,persistent:"","append-to":e.appendTo},{content:(0,i.withCtx)((()=>[e.multiple?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(e.ns.e("content"))},[(0,i.createVNode)(c,{"wrap-class":e.ns.e("wrap")},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(l,{modelValue:e.filteredValue,"onUpdate:modelValue":t=>e.filteredValue=t,class:(0,i.normalizeClass)(e.ns.e("checkbox-group"))},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.filters,(e=>((0,i.openBlock)(),(0,i.createBlock)(s,{key:e.value,value:e.value},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.text),1)])),_:2},1032,["value"])))),128))])),_:1},8,["modelValue","onUpdate:modelValue","class"])])),_:1},8,["wrap-class"])],2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(e.ns.e("bottom"))},[(0,i.createElementVNode)("button",{class:(0,i.normalizeClass)({[e.ns.is("disabled")]:0===e.filteredValue.length}),disabled:0===e.filteredValue.length,type:"button",onClick:e.handleConfirm},(0,i.toDisplayString)(e.t("el.table.confirmFilter")),11,["disabled","onClick"]),(0,i.createElementVNode)("button",{type:"button",onClick:e.handleReset},(0,i.toDisplayString)(e.t("el.table.resetFilter")),9,["onClick"])],2)])):((0,i.openBlock)(),(0,i.createElementBlock)("ul",{key:1,class:(0,i.normalizeClass)(e.ns.e("list"))},[(0,i.createElementVNode)("li",{class:(0,i.normalizeClass)([e.ns.e("list-item"),{[e.ns.is("active")]:e.isPropAbsent(e.filterValue)}]),onClick:t=>e.handleSelect(null)},(0,i.toDisplayString)(e.t("el.table.clearFilter")),11,["onClick"]),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.filters,(t=>((0,i.openBlock)(),(0,i.createElementBlock)("li",{key:t.value,class:(0,i.normalizeClass)([e.ns.e("list-item"),e.ns.is("active",e.isActive(t))]),label:t.value,onClick:n=>e.handleSelect(t.value)},(0,i.toDisplayString)(t.text),11,["label","onClick"])))),128))],2))])),default:(0,i.withCtx)((()=>[(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("span",{class:(0,i.normalizeClass)([`${e.ns.namespace.value}-table__column-filter-trigger`,`${e.ns.namespace.value}-none-outline`]),onClick:e.showFilterPanel},[(0,i.createVNode)(f,null,{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"filter-icon",{},(()=>[e.column.filterOpened?((0,i.openBlock)(),(0,i.createBlock)(u,{key:0})):((0,i.openBlock)(),(0,i.createBlock)(d,{key:1}))]))])),_:3})],10,["onClick"])),[[p,e.hideFilterPanel,e.popperPaneRef]])])),_:3},8,["visible","placement","popper-class","append-to"])}],["__file","filter-panel.vue"]]);function TO(e){const t=(0,i.getCurrentInstance)();(0,i.onBeforeMount)((()=>{n.value.addObserver(t)})),(0,i.onMounted)((()=>{r(n.value),o(n.value)})),(0,i.onUpdated)((()=>{r(n.value),o(n.value)})),(0,i.onUnmounted)((()=>{n.value.removeObserver(t)}));const n=(0,i.computed)((()=>{const t=e.layout;if(!t)throw new Error("Can not find table layout.");return t})),r=t=>{var n;const r=(null==(n=e.vnode.el)?void 0:n.querySelectorAll("colgroup > col"))||[];if(!r.length)return;const o=t.getFlattenColumns(),i={};o.forEach((e=>{i[e.id]=e}));for(let e=0,t=r.length;e<t;e++){const t=r[e],n=t.getAttribute("name"),o=i[n];o&&t.setAttribute("width",o.realWidth||o.width)}},o=t=>{var n,r;const o=(null==(n=e.vnode.el)?void 0:n.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let e=0,n=o.length;e<n;e++)o[e].setAttribute("width",t.scrollY.value?t.gutterWidth:"0");const i=(null==(r=e.vnode.el)?void 0:r.querySelectorAll("th.gutter"))||[];for(let e=0,n=i.length;e<n;e++){const n=i[e];n.style.width=t.scrollY.value?`${t.gutterWidth}px`:"0",n.style.display=t.scrollY.value?"":"none"}};return{tableLayout:n.value,onColumnsChange:r,onScrollableChange:o}}const EO=Symbol("ElTable"),PO=e=>{const t=[];return e.forEach((e=>{e.children?(t.push(e),t.push.apply(t,PO(e.children))):t.push(e)})),t},$O=e=>{let t=1;const n=(e,r)=>{if(r&&(e.level=r.level+1,t<e.level&&(t=e.level)),e.children){let t=0;e.children.forEach((r=>{n(r,e),t+=r.colSpan})),e.colSpan=t}else e.colSpan=1};e.forEach((e=>{e.level=1,n(e,void 0)}));const r=[];for(let e=0;e<t;e++)r.push([]);return PO(e).forEach((e=>{e.children?(e.rowSpan=1,e.children.forEach((e=>e.isSubColumn=!0))):e.rowSpan=t-e.level+1,r[e.level-1].push(e)})),r};var MO=(0,i.defineComponent)({name:"ElTableHeader",components:{ElCheckbox:es},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String},allowDragLastColumn:{type:Boolean}},setup(e,{emit:t}){const n=(0,i.getCurrentInstance)(),r=(0,i.inject)(EO),o=(0,h.DU)("table"),a=(0,i.ref)({}),{onColumnsChange:s,onScrollableChange:l}=TO(r),u="auto"===(null==r?void 0:r.props.tableLayout),d=(0,i.reactive)(new Map),f=(0,i.ref)(),p=()=>{setTimeout((()=>{d.size>0&&(d.forEach(((e,t)=>{const n=f.value.querySelector(`.${t.replace(/\s/g,".")}`);if(n){const t=n.getBoundingClientRect().width;e.width=t}})),d.clear())}))};(0,i.watch)(d,p),(0,i.onMounted)((async()=>{await(0,i.nextTick)(),await(0,i.nextTick)();const{prop:t,order:n}=e.defaultSort;null==r||r.store.commit("sort",{prop:t,order:n,init:!0}),p()}));const{handleHeaderClick:g,handleHeaderContextMenu:A,handleMouseDown:v,handleMouseMove:y,handleMouseOut:O,handleSortClick:b,handleFilterClick:w}=function(e,t){const n=(0,i.getCurrentInstance)(),r=(0,i.inject)(EO),o=e=>{e.stopPropagation()},a=(0,i.ref)(null),s=(0,i.ref)(!1),l=(0,i.ref)({}),u=(t,n,o)=>{var i;t.stopPropagation();const a=n.order===o?null:o||(({order:e,sortOrders:t})=>{if(""===e)return t[0];const n=t.indexOf(e||null);return t[n>t.length-2?0:n+1]})(n),s=null==(i=t.target)?void 0:i.closest("th");if(s&&(0,m.nB)(s,"noclick"))return void(0,m.vy)(s,"noclick");if(!n.sortable)return;const l=t.currentTarget;if(["ascending","descending"].some((e=>(0,m.nB)(l,e)&&!n.sortOrders.includes(e))))return;const c=e.store.states;let u,d=c.sortProp.value;const f=c.sortingColumn.value;(f!==n||f===n&&My(f.order))&&(f&&(f.order=null),c.sortingColumn.value=n,d=n.property),u=n.order=a||null,c.sortProp.value=d,c.sortOrder.value=u,null==r||r.store.commit("changeSortCondition")};return{handleHeaderClick:(e,t)=>{!t.filters&&t.sortable?u(e,t,!1):t.filterable&&!t.sortable&&o(e),null==r||r.emit("header-click",t,e)},handleHeaderContextMenu:(e,t)=>{null==r||r.emit("header-contextmenu",t,e)},handleMouseDown:(o,i)=>{if(Y.oc&&!(i.children&&i.children.length>0)&&a.value&&e.border){s.value=!0;const c=r;t("set-drag-visible",!0);const u=(null==c?void 0:c.vnode.el).getBoundingClientRect().left,d=n.vnode.el.querySelector(`th.${i.id}`),f=d.getBoundingClientRect(),h=f.left-u+30;(0,m.iQ)(d,"noclick"),l.value={startMouseLeft:o.clientX,startLeft:f.right-u,startColumnLeft:f.left-u,tableLeft:u};const p=null==c?void 0:c.refs.resizeProxy;p.style.left=`${l.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const g=e=>{const t=e.clientX-l.value.startMouseLeft,n=l.value.startLeft+t;p.style.left=`${Math.max(h,n)}px`},A=()=>{if(s.value){const{startColumnLeft:n,startLeft:r}=l.value,u=Number.parseInt(p.style.left,10)-n;i.width=i.realWidth=u,null==c||c.emit("header-dragend",i.width,r-n,i,o),requestAnimationFrame((()=>{e.store.scheduleLayout(!1,!0)})),document.body.style.cursor="",s.value=!1,a.value=null,l.value={},t("set-drag-visible",!1)}document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",A),document.onselectstart=null,document.ondragstart=null,setTimeout((()=>{(0,m.vy)(d,"noclick")}),0)};document.addEventListener("mousemove",g),document.addEventListener("mouseup",A)}},handleMouseMove:(t,n)=>{var r;if(n.children&&n.children.length>0)return;const o=t.target;if(!(0,c.vq)(o))return;const i=null==o?void 0:o.closest("th");if(n&&n.resizable&&i&&!s.value&&e.border){const o=i.getBoundingClientRect(),l=document.body.style,c=(null==(r=i.parentNode)?void 0:r.lastElementChild)===i,u=e.allowDragLastColumn||!c;o.width>12&&o.right-t.clientX<8&&u?(l.cursor="col-resize",(0,m.nB)(i,"is-sortable")&&(i.style.cursor="col-resize"),a.value=n):s.value||(l.cursor="",(0,m.nB)(i,"is-sortable")&&(i.style.cursor="pointer"),a.value=null)}},handleMouseOut:()=>{Y.oc&&(document.body.style.cursor="")},handleSortClick:u,handleFilterClick:o}}(e,t),{getHeaderRowStyle:_,getHeaderRowClass:x,getHeaderCellStyle:S,getHeaderCellClass:k}=function(e){const t=(0,i.inject)(EO),n=(0,h.DU)("table");return{getHeaderRowStyle:e=>{const n=null==t?void 0:t.props.headerRowStyle;return(0,se.Tn)(n)?n.call(null,{rowIndex:e}):n},getHeaderRowClass:e=>{const n=[],r=null==t?void 0:t.props.headerRowClassName;return(0,se.Kg)(r)?n.push(r):(0,se.Tn)(r)&&n.push(r.call(null,{rowIndex:e})),n.join(" ")},getHeaderCellStyle:(n,r,o,i)=>{var a;let s=null!=(a=null==t?void 0:t.props.headerCellStyle)?a:{};(0,se.Tn)(s)&&(s=s.call(null,{rowIndex:n,columnIndex:r,row:o,column:i}));const l=AO(r,i.fixed,e.store,o);return vO(l,"left"),vO(l,"right"),Object.assign({},s,l)},getHeaderCellClass:(r,o,i,a)=>{const s=mO(n.b(),o,a.fixed,e.store,i),l=[a.id,a.order,a.headerAlign,a.className,a.labelClassName,...s];a.children||l.push("is-leaf"),a.sortable&&l.push("is-sortable");const c=null==t?void 0:t.props.headerCellClassName;return(0,se.Kg)(c)?l.push(c):(0,se.Tn)(c)&&l.push(c.call(null,{rowIndex:r,columnIndex:o,row:i,column:a})),l.push(n.e("cell")),l.filter((e=>Boolean(e))).join(" ")}}}(e),{isGroup:C,toggleAllSelection:B,columnRows:Q}=function(e){const t=(0,i.inject)(EO),n=(0,i.computed)((()=>$O(e.store.states.originColumns.value)));return{isGroup:(0,i.computed)((()=>{const e=n.value.length>1;return e&&t&&(t.state.isGroup.value=!0),e})),toggleAllSelection:e=>{e.stopPropagation(),null==t||t.store.commit("toggleAllSelection")},columnRows:n}}(e);return n.state={onColumnsChange:s,onScrollableChange:l},n.filterPanels=a,{ns:o,filterPanels:a,onColumnsChange:s,onScrollableChange:l,columnRows:Q,getHeaderRowClass:x,getHeaderRowStyle:_,getHeaderCellClass:k,getHeaderCellStyle:S,handleHeaderClick:g,handleHeaderContextMenu:A,handleMouseDown:v,handleMouseMove:y,handleMouseOut:O,handleSortClick:b,handleFilterClick:w,isGroup:C,toggleAllSelection:B,saveIndexSelection:d,isTableLayoutAuto:u,theadRef:f,updateFixedColumnStyle:p}},render(){const{ns:e,isGroup:t,columnRows:n,getHeaderCellStyle:r,getHeaderCellClass:o,getHeaderRowClass:a,getHeaderRowStyle:s,handleHeaderClick:l,handleHeaderContextMenu:c,handleMouseDown:u,handleMouseMove:d,handleSortClick:f,handleMouseOut:h,store:p,$parent:m,saveIndexSelection:g,isTableLayoutAuto:A}=this;let v=1;return(0,i.h)("thead",{ref:"theadRef",class:{[e.is("group")]:t}},n.map(((e,t)=>(0,i.h)("tr",{class:a(t),key:t,style:s(t)},e.map(((n,a)=>{n.rowSpan>v&&(v=n.rowSpan);const s=o(t,a,e,n);return A&&n.fixed&&g.set(s,n),(0,i.h)("th",{class:s,colspan:n.colSpan,key:`${n.id}-thead`,rowspan:n.rowSpan,style:r(t,a,e,n),onClick:e=>{e.currentTarget.classList.contains("noclick")||l(e,n)},onContextmenu:e=>c(e,n),onMousedown:e=>u(e,n),onMousemove:e=>d(e,n),onMouseout:h},[(0,i.h)("div",{class:["cell",n.filteredValue&&n.filteredValue.length>0?"highlight":""]},[n.renderHeader?n.renderHeader({column:n,$index:a,store:p,_self:m}):n.label,n.sortable&&(0,i.h)("span",{onClick:e=>f(e,n),class:"caret-wrapper"},[(0,i.h)("i",{onClick:e=>f(e,n,"ascending"),class:"sort-caret ascending"}),(0,i.h)("i",{onClick:e=>f(e,n,"descending"),class:"sort-caret descending"})]),n.filterable&&(0,i.h)(QO,{store:p,placement:n.filterPlacement||"bottom-start",appendTo:m.appendFilterPanelTo,column:n,upDataColumn:(e,t)=>{n[e]=t}},{"filter-icon":()=>n.renderFilterIcon?n.renderFilterIcon({filterOpened:n.filterOpened}):null})])])}))))))}});function zO(e,t,n=.03){return e-t>n}function RO(e){const t=(0,i.inject)(EO),n=(0,i.ref)(""),r=(0,i.ref)((0,i.h)("div")),o=(n,r,o)=>{var i;const a=t,s=nO(n);let l;const c=null==(i=null==a?void 0:a.vnode.el)?void 0:i.dataset.prefix;s&&(l=oO({columns:e.store.states.columns.value},s,c),l&&(null==a||a.emit(`cell-${o}`,r,l,s,n))),null==a||a.emit(`row-${o}`,r,l,n)},a=X((t=>{e.store.commit("setHoverRow",t)}),30),s=X((()=>{e.store.commit("setHoverRow",null)}),30),l=(e,t,n)=>{let r=t.target.parentNode;for(;e>1&&(r=null==r?void 0:r.nextSibling,r&&"TR"===r.nodeName);)n(r,"hover-row hover-fixed-row"),e--};return{handleDoubleClick:(e,t)=>{o(e,t,"dblclick")},handleClick:(t,n)=>{e.store.commit("setCurrentRow",n),o(t,n,"click")},handleContextMenu:(e,t)=>{o(e,t,"contextmenu")},handleMouseEnter:a,handleMouseLeave:s,handleCellMouseEnter:(n,r,o)=>{var a,s,c;const u=t,d=nO(n),f=null==(a=null==u?void 0:u.vnode.el)?void 0:a.dataset.prefix;let h;if(d){h=oO({columns:e.store.states.columns.value},d,f),d.rowSpan>1&&l(d.rowSpan,n,m.iQ);const t=u.hoverState={cell:d,column:h,row:r};null==u||u.emit("cell-mouse-enter",t.row,t.column,t.cell,n)}if(!o)return;const p=n.target.querySelector(".cell");if(!(0,m.nB)(p,`${f}-tooltip`)||!p.childNodes.length)return;const g=document.createRange();g.setStart(p,0),g.setEnd(p,p.childNodes.length);const{width:A,height:v}=g.getBoundingClientRect(),{width:y,height:O}=p.getBoundingClientRect(),{top:b,left:w,right:_,bottom:x}=(e=>{const t=window.getComputedStyle(e,null);return{left:Number.parseInt(t.paddingLeft,10)||0,right:Number.parseInt(t.paddingRight,10)||0,top:Number.parseInt(t.paddingTop,10)||0,bottom:Number.parseInt(t.paddingBottom,10)||0}})(p),k=b+x;zO(A+(w+_),y)||zO(v+k,O)||zO(p.scrollWidth,y)?function(e,t,n,r,o,a){const s=((e,t,n,r)=>{const o={strategy:"fixed",...e.popperOptions},a=(0,se.Tn)(r.tooltipFormatter)?r.tooltipFormatter({row:n,column:r,cellValue:(0,S.GT)(n,r.property).value}):void 0;return(0,i.isVNode)(a)?{slotContent:a,content:null,...e,popperOptions:o}:{slotContent:null,content:null!=a?a:t,...e,popperOptions:o}})(e,t,n,r),l={...s,slotContent:void 0};if((null==dO?void 0:dO.trigger)===o){const e=dO.vm.component;return Gy(e.props,l),void(s.slotContent&&(e.slots.content=()=>[s.slotContent]))}null==dO||dO();const c=null==a?void 0:a.refs.tableWrapper,u=null==c?void 0:c.dataset.prefix,d=(0,i.createVNode)(Zn,{virtualTriggering:!0,virtualRef:o,appendTo:c,placement:"top",transition:"none",offset:0,hideAfter:0,...l},s.slotContent?{content:()=>s.slotContent}:void 0);d.appContext={...a.appContext,...a};const f=document.createElement("div");(0,i.render)(d,f),d.component.exposed.onOpen();const h=null==c?void 0:c.querySelector(`.${u}-scrollbar__wrap`);dO=()=>{(0,i.render)(null,f),null==h||h.removeEventListener("scroll",dO),dO=null},dO.trigger=o,dO.vm=d,null==h||h.addEventListener("scroll",dO)}(o,d.innerText||d.textContent,r,h,d,u):(null==(s=dO)?void 0:s.trigger)===d&&(null==(c=dO)||c())},handleCellMouseLeave:e=>{const n=nO(e);if(!n)return;n.rowSpan>1&&l(n.rowSpan,e,m.vy);const r=null==t?void 0:t.hoverState;null==t||t.emit("cell-mouse-leave",null==r?void 0:r.row,null==r?void 0:r.column,null==r?void 0:r.cell,e)},tooltipContent:n,tooltipTrigger:r}}const DO=(0,i.defineComponent)({name:"TableTdWrapper"}),IO=(0,i.defineComponent)({...DO,props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup(e){return(t,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("td",{colspan:e.colspan,rowspan:e.rowspan},[(0,i.renderSlot)(t.$slots,"default")],8,["colspan","rowspan"]))}});var NO=(0,f.A)(IO,[["__file","td-wrapper.vue"]]);const LO={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var VO=(0,i.defineComponent)({name:"ElTableBody",props:LO,setup(e){const t=(0,i.getCurrentInstance)(),n=(0,i.inject)(EO),r=(0,h.DU)("table"),{wrappedRowRender:o,tooltipContent:a,tooltipTrigger:s}=function(e){const t=(0,i.inject)(EO),n=(0,h.DU)("table"),{handleDoubleClick:r,handleClick:o,handleContextMenu:a,handleMouseEnter:s,handleMouseLeave:l,handleCellMouseEnter:u,handleCellMouseLeave:d,tooltipContent:f,tooltipTrigger:p}=RO(e),{getRowStyle:m,getRowClass:g,getCellStyle:A,getCellClass:v,getSpan:y,getColspanRealWidth:O}=function(e){const t=(0,i.inject)(EO),n=(0,h.DU)("table");return{getRowStyle:(e,n)=>{const r=null==t?void 0:t.props.rowStyle;return(0,se.Tn)(r)?r.call(null,{row:e,rowIndex:n}):r||null},getRowClass:(r,o)=>{const i=[n.e("row")];(null==t?void 0:t.props.highlightCurrentRow)&&r===e.store.states.currentRow.value&&i.push("current-row"),e.stripe&&o%2==1&&i.push(n.em("row","striped"));const a=null==t?void 0:t.props.rowClassName;return(0,se.Kg)(a)?i.push(a):(0,se.Tn)(a)&&i.push(a.call(null,{row:r,rowIndex:o})),i},getCellStyle:(n,r,o,i)=>{const a=null==t?void 0:t.props.cellStyle;let s=null!=a?a:{};(0,se.Tn)(a)&&(s=a.call(null,{rowIndex:n,columnIndex:r,row:o,column:i}));const l=AO(r,null==e?void 0:e.fixed,e.store);return vO(l,"left"),vO(l,"right"),Object.assign({},s,l)},getCellClass:(r,o,i,a,s)=>{const l=mO(n.b(),o,null==e?void 0:e.fixed,e.store,void 0,s),c=[a.id,a.align,a.className,...l],u=null==t?void 0:t.props.cellClassName;return(0,se.Kg)(u)?c.push(u):(0,se.Tn)(u)&&c.push(u.call(null,{rowIndex:r,columnIndex:o,row:i,column:a})),c.push(n.e("cell")),c.filter((e=>Boolean(e))).join(" ")},getSpan:(e,n,r,o)=>{let i=1,a=1;const s=null==t?void 0:t.props.spanMethod;if((0,se.Tn)(s)){const t=s({row:e,column:n,rowIndex:r,columnIndex:o});(0,se.cy)(t)?(i=t[0],a=t[1]):(0,se.Gv)(t)&&(i=t.rowspan,a=t.colspan)}return{rowspan:i,colspan:a}},getColspanRealWidth:(e,t,n)=>{if(t<1)return e[n].realWidth;const r=e.map((({realWidth:e,width:t})=>e||t)).slice(n,n+t);return Number(r.reduce(((e,t)=>Number(e)+Number(t)),-1))}}}(e),b=(0,i.computed)((()=>e.store.states.columns.value.findIndex((({type:e})=>"default"===e)))),w=(e,n)=>{const r=t.props.rowKey;return r?iO(e,r):n},_=(f,h,p,_=!1)=>{const{tooltipEffect:S,tooltipOptions:k,store:C}=e,{indent:B,columns:Q}=C.states,T=g(f,h);let E=!0;p&&(T.push(n.em("row",`level-${p.level}`)),E=p.display);const P=E?null:{display:"none"};return(0,i.h)("tr",{style:[P,m(f,h)],class:T,key:w(f,h),onDblclick:e=>r(e,f),onClick:e=>o(e,f),onContextmenu:e=>a(e,f),onMouseenter:()=>s(h),onMouseleave:l},Q.value.map(((n,r)=>{const{rowspan:o,colspan:a}=y(f,n,h,r);if(!o||!a)return null;const s=Object.assign({},n);s.realWidth=O(Q.value,a,r);const l={store:e.store,_self:e.context||t,column:s,row:f,$index:h,cellIndex:r,expanded:_};r===b.value&&p&&(l.treeNode={indent:p.level*B.value,level:p.level},(0,c.Lm)(p.expanded)&&(l.treeNode.expanded=p.expanded,"loading"in p&&(l.treeNode.loading=p.loading),"noLazyChildren"in p&&(l.treeNode.noLazyChildren=p.noLazyChildren)));const m=`${w(f,h)},${r}`,g=s.columnKey||s.rawColumnKey||"",C=n.showOverflowTooltip&&Gy({effect:S},k,n.showOverflowTooltip);return(0,i.h)(NO,{style:A(h,r,f,n),class:v(h,r,f,n,a-1),key:`${g}${m}`,rowspan:o,colspan:a,onMouseenter:e=>u(e,f,C),onMouseleave:d},{default:()=>x(r,n,l)})})))},x=(e,t,n)=>t.renderCell(n);return{wrappedRowRender:(r,o)=>{const a=e.store,{isRowExpanded:s,assertRowKey:l}=a,{treeData:u,lazyTreeNodeMap:d,childrenColumnName:f,rowKey:h}=a.states,p=a.states.columns.value,m=p.some((({type:e})=>"expand"===e));if(m){const e=s(r),l=_(r,o,void 0,e),c=t.renderExpanded;return e?c?[[l,(0,i.h)("tr",{key:`expanded-row__${l.key}`},[(0,i.h)("td",{colspan:p.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[c({row:r,$index:o,store:a,expanded:e})])])]]:(console.error("[Element Error]renderExpanded is required."),l):[[l]]}if(Object.keys(u.value).length){l();const e=iO(r,h.value);let t=u.value[e],n=null;t&&(n={expanded:t.expanded,level:t.level,display:!0},(0,c.Lm)(t.lazy)&&((0,c.Lm)(t.loaded)&&t.loaded&&(n.noLazyChildren=!(t.children&&t.children.length)),n.loading=t.loading));const i=[_(r,o,n)];if(t){let n=0;const a=(e,r)=>{e&&e.length&&r&&e.forEach((e=>{const s={display:r.display&&r.expanded,level:r.level+1,expanded:!1,noLazyChildren:!1,loading:!1},l=iO(e,h.value);if((0,c.Xj)(l))throw new Error("For nested data item, row-key is required.");if(t={...u.value[l]},t&&(s.expanded=t.expanded,t.level=t.level||s.level,t.display=!(!t.expanded||!s.display),(0,c.Lm)(t.lazy)&&((0,c.Lm)(t.loaded)&&t.loaded&&(s.noLazyChildren=!(t.children&&t.children.length)),s.loading=t.loading)),n++,i.push(_(e,o+n,s)),t){const n=d.value[l]||e[f.value];a(n,t)}}))};t.display=!0;const s=d.value[e]||r[f.value];a(s,t)}return i}return _(r,o,void 0)},tooltipContent:f,tooltipTrigger:p}}(e),{onColumnsChange:l,onScrollableChange:u}=TO(n),d=[];return(0,i.watch)(e.store.states.hoverRow,((n,o)=>{var i;const a=null==t?void 0:t.vnode.el,s=Array.from((null==a?void 0:a.children)||[]).filter((e=>null==e?void 0:e.classList.contains(`${r.e("row")}`)));let l=n;const c=null==(i=s[l])?void 0:i.childNodes;if(null==c?void 0:c.length){let e=0;Array.from(c).reduce(((t,n,r)=>{var o,i;return(null==(o=c[r])?void 0:o.colSpan)>1&&(e=null==(i=c[r])?void 0:i.colSpan),"TD"!==n.nodeName&&0===e&&t.push(r),e>0&&e--,t}),[]).forEach((e=>{var t;for(l=n;l>0;){const n=null==(t=s[l-1])?void 0:t.childNodes;if(n[e]&&"TD"===n[e].nodeName&&n[e].rowSpan>1){(0,m.iQ)(n[e],"hover-cell"),d.push(n[e]);break}l--}}))}else d.forEach((e=>(0,m.vy)(e,"hover-cell"))),d.length=0;e.store.states.isComplex.value&&Y.oc&&(0,VA.m)((()=>{const e=s[o],t=s[n];e&&!e.classList.contains("hover-fixed-row")&&(0,m.vy)(e,"hover-row"),t&&(0,m.iQ)(t,"hover-row")}))})),(0,i.onUnmounted)((()=>{var e;null==(e=dO)||e()})),{ns:r,onColumnsChange:l,onScrollableChange:u,wrappedRowRender:o,tooltipContent:a,tooltipTrigger:s}},render(){const{wrappedRowRender:e,store:t}=this,n=t.states.data.value||[];return(0,i.h)("tbody",{tabIndex:-1},[n.reduce(((t,n)=>t.concat(e(n,t.length))),[])])}});var UO=(0,i.defineComponent)({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const t=(0,i.inject)(EO),n=(0,h.DU)("table"),{getCellClasses:r,getCellStyles:o,columns:a}=function(e){const{columns:t}=function(){const e=(0,i.inject)(EO),t=null==e?void 0:e.store;return{leftFixedLeafCount:(0,i.computed)((()=>t.states.fixedLeafColumnsLength.value)),rightFixedLeafCount:(0,i.computed)((()=>t.states.rightFixedColumns.value.length)),columnsCount:(0,i.computed)((()=>t.states.columns.value.length)),leftFixedCount:(0,i.computed)((()=>t.states.fixedColumns.value.length)),rightFixedCount:(0,i.computed)((()=>t.states.rightFixedColumns.value.length)),columns:t.states.columns}}(),n=(0,h.DU)("table");return{getCellClasses:(t,r)=>{const o=t[r],i=[n.e("cell"),o.id,o.align,o.labelClassName,...mO(n.b(),r,o.fixed,e.store)];return o.className&&i.push(o.className),o.children||i.push(n.is("leaf")),i},getCellStyles:(t,n)=>{const r=AO(n,t.fixed,e.store);return vO(r,"left"),vO(r,"right"),r},columns:t}}(e),{onScrollableChange:s,onColumnsChange:l}=TO(t);return{ns:n,onScrollableChange:s,onColumnsChange:l,getCellClasses:r,getCellStyles:o,columns:a}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:r,sumText:o}=this,a=this.store.states.data.value;let s=[];return r?s=r({columns:e,data:a}):e.forEach(((e,t)=>{if(0===t)return void(s[t]=o);const n=a.map((t=>Number(t[e.property]))),r=[];let i=!0;n.forEach((e=>{if(!Number.isNaN(+e)){i=!1;const t=`${e}`.split(".")[1];r.push(t?t.length:0)}}));const l=Math.max.apply(null,r);s[t]=i?"":n.reduce(((e,t)=>{const n=Number(t);return Number.isNaN(+n)?e:Number.parseFloat((e+t).toFixed(Math.min(l,20)))}),0)})),(0,i.h)((0,i.h)("tfoot",[(0,i.h)("tr",{},[...e.map(((r,o)=>(0,i.h)("td",{key:o,colspan:r.colSpan,rowspan:r.rowSpan,class:n(e,o),style:t(r,o)},[(0,i.h)("div",{class:["cell",r.labelClassName]},[s[o]])])))])]))}});var FO={data:{type:Array,default:()=>[]},size:za.mU,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object],tooltipFormatter:Function,appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0},allowDragLastColumn:{type:Boolean,default:!0}};function HO(e){const t="auto"===e.tableLayout;let n=e.columns||[];return t&&n.every((({width:e})=>(0,c.b0)(e)))&&(n=[]),(0,i.h)("colgroup",{},n.map((n=>(0,i.h)("col",(n=>{const r={key:`${e.tableLayout}_${n.id}`,style:{},name:void 0};return t?r.style={width:`${n.width}px`}:r.name=n.id,r})(n)))))}HO.props=["columns","tableLayout"];var WO,XO,jO,qO,ZO,YO,GO,KO,JO,eb,tb,nb,rb,ob,ib,ab=!1;function sb(){if(!ab){ab=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(nb=/\b(iPhone|iP[ao]d)/.exec(e),rb=/\b(iP[ao]d)/.exec(e),eb=/Android/i.exec(e),ob=/FBAN\/\w+;/i.exec(e),ib=/Mobile/i.exec(e),tb=!!/Win64/.exec(e),t){(WO=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(WO=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);YO=r?parseFloat(r[1])+4:WO,XO=t[2]?parseFloat(t[2]):NaN,jO=t[3]?parseFloat(t[3]):NaN,(qO=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),ZO=t&&t[1]?parseFloat(t[1]):NaN):ZO=NaN}else WO=XO=jO=ZO=qO=NaN;if(n){if(n[1]){var o=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);GO=!o||parseFloat(o[1].replace("_","."))}else GO=!1;KO=!!n[2],JO=!!n[3]}else GO=KO=JO=!1}}var lb,cb={ie:function(){return sb()||WO},ieCompatibilityMode:function(){return sb()||YO>WO},ie64:function(){return cb.ie()&&tb},firefox:function(){return sb()||XO},opera:function(){return sb()||jO},webkit:function(){return sb()||qO},safari:function(){return cb.webkit()},chrome:function(){return sb()||ZO},windows:function(){return sb()||KO},osx:function(){return sb()||GO},linux:function(){return sb()||JO},iphone:function(){return sb()||nb},mobile:function(){return sb()||nb||rb||eb||ib},nativeApp:function(){return sb()||ob},android:function(){return sb()||eb},ipad:function(){return sb()||rb}},ub=cb,db=!!(typeof window<"u"&&window.document&&window.document.createElement),fb=db;db&&!window.addEventListener&&window.attachEvent,db&&window.screen;fb&&(lb=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));function hb(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,o=10*n,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=40,o*=40):(r*=800,o*=800)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}hb.getEventType=function(){return ub.firefox()?"DOMMouseScroll":function(e,t){if(!fb||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var o=document.createElement("div");o.setAttribute(n,"return;"),r="function"==typeof o[n]}return!r&&lb&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}("wheel")?"wheel":"mousewheel"};var pb=hb;const mb={beforeMount(e,t){!function(e,t){if(e&&e.addEventListener){const n=function(e){const n=pb(e);t&&Reflect.apply(t,this,[e,n])};e.addEventListener("wheel",n,{passive:!0})}}(e,t.value)}};let gb=1;const Ab=(0,i.defineComponent)({name:"ElTable",directives:{Mousewheel:mb},components:{TableHeader:MO,TableBody:VO,TableFooter:UO,ElScrollbar:fe,hColgroup:HO},props:FO,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change","scroll"],setup(e){const{t:t}=(0,wr.Ym)(),n=(0,h.DU)("table"),r=(0,i.getCurrentInstance)();(0,i.provide)(EO,r);const o=function(e,t){if(!e)throw new Error("Table is required.");const n=function(){const e=(0,i.getCurrentInstance)(),t=OO();return{ns:(0,h.DU)("table"),...t,mutations:{setData(t,n){const r=(0,i.unref)(t._data)!==n;t.data.value=n,t._data.value=n,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),(0,i.unref)(t.reserveSelection)?(e.store.assertRowKey(),e.store.updateSelectionByRowKey()):r?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(t,n,r,o){const a=(0,i.unref)(t._columns);let s=[];r?(r&&!r.children&&(r.children=[]),r.children.push(n),s=bO(a,r)):(a.push(n),s=a),wO(s),t._columns.value=s,t.updateOrderFns.push(o),"selection"===n.type&&(t.selectable.value=n.selectable,t.reserveSelection.value=n.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(t,n){var r;(null==(r=n.getColumnIndex)?void 0:r.call(n))!==n.no&&(wO(t._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(t,n,r,o){const a=(0,i.unref)(t._columns)||[];if(r)r.children.splice(r.children.findIndex((e=>e.id===n.id)),1),(0,i.nextTick)((()=>{var e;0===(null==(e=r.children)?void 0:e.length)&&delete r.children})),t._columns.value=bO(a,r);else{const e=a.indexOf(n);e>-1&&(a.splice(e,1),t._columns.value=a)}const s=t.updateOrderFns.indexOf(o);s>-1&&t.updateOrderFns.splice(s,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(t,n){const{prop:r,order:o,init:a}=n;if(r){const n=(0,i.unref)(t.columns).find((e=>e.property===r));n&&(n.order=o,e.store.updateSort(n,r,o),e.store.commit("changeSortCondition",{init:a}))}},changeSortCondition(t,n){const{sortingColumn:r,sortProp:o,sortOrder:a}=t,s=(0,i.unref)(r),l=(0,i.unref)(o),c=(0,i.unref)(a);My(c)&&(t.sortingColumn.value=null,t.sortProp.value=null),e.store.execQuery({filter:!0}),n&&(n.silent||n.init)||e.emit("sort-change",{column:s,prop:l,order:c}),e.store.updateTableScrollY()},filterChange(t,n){const{column:r,values:o,silent:i}=n,a=e.store.updateFilters(r,o);e.store.execQuery(),i||e.emit("filter-change",a),e.store.updateTableScrollY()},toggleAllSelection(){e.store.toggleAllSelection()},rowSelectedChanged(t,n){e.store.toggleRowSelection(n),e.store.updateAllSelected()},setHoverRow(e,t){e.hoverRow.value=t},setCurrentRow(t,n){e.store.updateCurrentRow(n)}},commit:function(t,...n){const r=e.store.mutations;if(!r[t])throw new Error(`Action not found: ${t}`);r[t].apply(e,[e.store.states].concat(n))},updateTableScrollY:function(){(0,i.nextTick)((()=>e.layout.updateScrollY.apply(e.layout)))}}}();return n.toggleAllSelection=X(n._toggleAllSelection,10),Object.keys(_O).forEach((e=>{xO(SO(t,e),e,n)})),function(e,t){Object.keys(_O).forEach((n=>{(0,i.watch)((()=>SO(t,n)),(t=>{xO(t,n,e)}))}))}(n,t),n}(r,e);r.store=o;const s=new kO({store:r.store,table:r,fit:e.fit,showHeader:e.showHeader});r.layout=s;const l=(0,i.computed)((()=>0===(o.states.data.value||[]).length)),{setCurrentRow:u,getSelectionRows:d,toggleRowSelection:f,clearSelection:p,clearFilter:m,toggleAllSelection:g,toggleRowExpansion:A,clearSort:v,sort:y,updateKeyChildren:O}=function(e){return{setCurrentRow:t=>{e.commit("setCurrentRow",t)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(t,n,r=!0)=>{e.toggleRowSelection(t,n,!1,r),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:t=>{e.clearFilter(t)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(t,n)=>{e.toggleRowExpansionAdapter(t,n)},clearSort:()=>{e.clearSort()},sort:(t,n)=>{e.commit("sort",{prop:t,order:n})},updateKeyChildren:(t,n)=>{e.updateKeyChildren(t,n)}}}(o),{isHidden:b,renderExpanded:w,setDragVisible:_,isGroup:x,handleMouseLeave:S,handleHeaderFooterMousewheel:k,tableSize:C,emptyBlockStyle:B,handleFixedMousewheel:Q,resizeProxyVisible:T,bodyWidth:E,resizeState:P,doLayout:$,tableBodyStyles:M,tableLayout:z,scrollbarViewStyle:R,scrollbarStyle:D}=function(e,t,n,r){const o=(0,i.ref)(!1),s=(0,i.ref)(null),l=(0,i.ref)(!1),c=(0,i.ref)({width:null,height:null,headerHeight:null}),u=(0,i.ref)(!1),d=(0,i.ref)(),f=(0,i.ref)(0),h=(0,i.ref)(0),p=(0,i.ref)(0),m=(0,i.ref)(0),g=(0,i.ref)(0);(0,i.watchEffect)((()=>{t.setHeight(e.height)})),(0,i.watchEffect)((()=>{t.setMaxHeight(e.maxHeight)})),(0,i.watch)((()=>[e.currentRowKey,n.states.rowKey]),(([e,t])=>{(0,i.unref)(t)&&(0,i.unref)(e)&&n.setCurrentRowKey(`${e}`)}),{immediate:!0}),(0,i.watch)((()=>e.data),(e=>{r.store.commit("setData",e)}),{immediate:!0,deep:!0}),(0,i.watchEffect)((()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)}));const A=(0,i.computed)((()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0)),v=(0,i.computed)((()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""}))),y=()=>{A.value&&t.updateElsHeight(),t.updateColumnsWidth(),"undefined"!=typeof window&&requestAnimationFrame(b)};(0,i.onMounted)((async()=>{await(0,i.nextTick)(),n.updateColumns(),w(),requestAnimationFrame(y);const t=r.vnode.el,o=r.refs.headerWrapper;e.flexible&&t&&t.parentElement&&(t.parentElement.style.minWidth="0"),c.value={width:d.value=t.offsetWidth,height:t.offsetHeight,headerHeight:e.showHeader&&o?o.offsetHeight:null},n.states.columns.value.forEach((e=>{e.filteredValue&&e.filteredValue.length&&r.store.commit("filterChange",{column:e,values:e.filteredValue,silent:!0})})),r.$ready=!0}));const O=e=>{const{tableWrapper:n}=r.refs;((e,n)=>{if(!e)return;const r=Array.from(e.classList).filter((e=>!e.startsWith("is-scrolling-")));r.push(t.scrollX.value?n:"is-scrolling-none"),e.className=r.join(" ")})(n,e)},b=function(){if(!r.refs.scrollBarRef)return;if(!t.scrollX.value){const e="is-scrolling-none";return void((e=>{const{tableWrapper:t}=r.refs;return!(!t||!t.classList.contains(e))})(e)||O(e))}const e=r.refs.scrollBarRef.wrapRef;if(!e)return;const{scrollLeft:n,offsetWidth:o,scrollWidth:i}=e,{headerWrapper:a,footerWrapper:s}=r.refs;a&&(a.scrollLeft=n),s&&(s.scrollLeft=n),O(n>=i-o-1?"is-scrolling-right":0===n?"is-scrolling-left":"is-scrolling-middle")},w=()=>{r.refs.scrollBarRef&&(r.refs.scrollBarRef.wrapRef&&(0,a.MLh)(r.refs.scrollBarRef.wrapRef,"scroll",b,{passive:!0}),e.fit?(0,a.wYm)(r.vnode.el,_):(0,a.MLh)(window,"resize",_),(0,a.wYm)(r.refs.bodyWrapper,(()=>{var e,t;_(),null==(t=null==(e=r.refs)?void 0:e.scrollBarRef)||t.update()})))},_=()=>{var t,n,o,i;const a=r.vnode.el;if(!r.$ready||!a)return;let s=!1;const{width:l,height:u,headerHeight:v}=c.value,O=d.value=a.offsetWidth;l!==O&&(s=!0);const b=a.offsetHeight;(e.height||A.value)&&u!==b&&(s=!0);const w="fixed"===e.tableLayout?r.refs.headerWrapper:null==(t=r.refs.tableHeaderRef)?void 0:t.$el;e.showHeader&&(null==w?void 0:w.offsetHeight)!==v&&(s=!0),f.value=(null==(n=r.refs.tableWrapper)?void 0:n.scrollHeight)||0,p.value=(null==w?void 0:w.scrollHeight)||0,m.value=(null==(o=r.refs.footerWrapper)?void 0:o.offsetHeight)||0,g.value=(null==(i=r.refs.appendWrapper)?void 0:i.offsetHeight)||0,h.value=f.value-p.value-m.value-g.value,s&&(c.value={width:O,height:b,headerHeight:e.showHeader&&(null==w?void 0:w.offsetHeight)||0},y())},x=(0,Jn.NV)(),S=(0,i.computed)((()=>{const{bodyWidth:e,scrollY:n,gutterWidth:r}=t;return e.value?e.value-(n.value?r:0)+"px":""})),k=(0,i.computed)((()=>e.maxHeight?"fixed":e.tableLayout)),C=(0,i.computed)((()=>{if(e.data&&e.data.length)return null;let t="100%";e.height&&h.value&&(t=`${h.value}px`);const n=d.value;return{width:n?`${n}px`:"",height:t}})),B=(0,i.computed)((()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${p.value+m.value}px)`}:{maxHeight:e.maxHeight-p.value-m.value+"px"}:{}));return{isHidden:o,renderExpanded:s,setDragVisible:e=>{l.value=e},isGroup:u,handleMouseLeave:()=>{r.store.commit("setHoverRow",null),r.hoverState&&(r.hoverState=null)},handleHeaderFooterMousewheel:(e,t)=>{const{pixelX:n,pixelY:o}=t;Math.abs(n)>=Math.abs(o)&&(r.refs.bodyWrapper.scrollLeft+=t.pixelX/5)},tableSize:x,emptyBlockStyle:C,handleFixedMousewheel:(e,t)=>{const n=r.refs.bodyWrapper;if(Math.abs(t.spinY)>0){const r=n.scrollTop;t.pixelY<0&&0!==r&&e.preventDefault(),t.pixelY>0&&n.scrollHeight-n.clientHeight>r&&e.preventDefault(),n.scrollTop+=Math.ceil(t.pixelY/5)}else n.scrollLeft+=Math.ceil(t.pixelX/5)},resizeProxyVisible:l,bodyWidth:S,resizeState:c,doLayout:y,tableBodyStyles:v,tableLayout:k,scrollbarViewStyle:{display:"inline-block",verticalAlign:"middle"},scrollbarStyle:B}}(e,s,o,r),{scrollBarRef:I,scrollTo:N,setScrollLeft:L,setScrollTop:V}=(()=>{const e=(0,i.ref)(),t=(t,n)=>{const r=e.value;r&&(0,c.Et)(n)&&["Top","Left"].includes(t)&&r[`setScroll${t}`](n)};return{scrollBarRef:e,scrollTo:(t,n)=>{const r=e.value;r&&r.scrollTo(t,n)},setScrollTop:e=>t("Top",e),setScrollLeft:e=>t("Left",e)}})(),U=X($,50),F=`${n.namespace.value}-table_${gb++}`;r.tableId=F,r.state={isGroup:x,resizeState:P,doLayout:$,debouncedUpdateLayout:U};const H=(0,i.computed)((()=>{var n;return null!=(n=e.sumText)?n:t("el.table.sumText")})),W=(0,i.computed)((()=>{var n;return null!=(n=e.emptyText)?n:t("el.table.emptyText")})),j=(0,i.computed)((()=>$O(o.states.originColumns.value)[0]));return function(e){const t=(0,i.ref)();(0,i.onMounted)((()=>{(()=>{const n=e.vnode.el.querySelector(".hidden-columns"),r=e.store.states.updateOrderFns;t.value=new MutationObserver((()=>{r.forEach((e=>e()))})),t.value.observe(n,{childList:!0,subtree:!0})})()})),(0,i.onUnmounted)((()=>{var e;null==(e=t.value)||e.disconnect()}))}(r),(0,i.onBeforeUnmount)((()=>{U.cancel()})),{ns:n,layout:s,store:o,columns:j,handleHeaderFooterMousewheel:k,handleMouseLeave:S,tableId:F,tableSize:C,isHidden:b,isEmpty:l,renderExpanded:w,resizeProxyVisible:T,resizeState:P,isGroup:x,bodyWidth:E,tableBodyStyles:M,emptyBlockStyle:B,debouncedUpdateLayout:U,handleFixedMousewheel:Q,setCurrentRow:u,getSelectionRows:d,toggleRowSelection:f,clearSelection:p,clearFilter:m,toggleAllSelection:g,toggleRowExpansion:A,clearSort:v,doLayout:$,sort:y,updateKeyChildren:O,t:t,setDragVisible:_,context:r,computedSumText:H,computedEmptyText:W,tableLayout:z,scrollbarViewStyle:R,scrollbarStyle:D,scrollBarRef:I,scrollTo:N,setScrollLeft:L,setScrollTop:V,allowDragLastColumn:e.allowDragLastColumn}}});var vb=(0,f.A)(Ab,[["render",function(e,t,n,r,o,a){const s=(0,i.resolveComponent)("hColgroup"),l=(0,i.resolveComponent)("table-header"),c=(0,i.resolveComponent)("table-body"),u=(0,i.resolveComponent)("table-footer"),d=(0,i.resolveComponent)("el-scrollbar"),f=(0,i.resolveDirective)("mousewheel");return(0,i.openBlock)(),(0,i.createElementBlock)("div",{ref:"tableWrapper",class:(0,i.normalizeClass)([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:0!==(e.store.states.data.value||[]).length&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m(`layout-${e.tableLayout}`)]),style:(0,i.normalizeStyle)(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:e.handleMouseLeave},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(e.ns.e("inner-wrapper"))},[(0,i.createElementVNode)("div",{ref:"hiddenColumns",class:"hidden-columns"},[(0,i.renderSlot)(e.$slots,"default")],512),e.showHeader&&"fixed"===e.tableLayout?(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,ref:"headerWrapper",class:(0,i.normalizeClass)(e.ns.e("header-wrapper"))},[(0,i.createElementVNode)("table",{ref:"tableHeader",class:(0,i.normalizeClass)(e.ns.e("header")),style:(0,i.normalizeStyle)(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[(0,i.createVNode)(s,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),(0,i.createVNode)(l,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,"allow-drag-last-column":e.allowDragLastColumn,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","allow-drag-last-column","onSetDragVisible"])],6)],2)),[[f,e.handleHeaderFooterMousewheel]]):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{ref:"bodyWrapper",class:(0,i.normalizeClass)(e.ns.e("body-wrapper"))},[(0,i.createVNode)(d,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex,onScroll:t=>e.$emit("scroll",t)},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("table",{ref:"tableBody",class:(0,i.normalizeClass)(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:(0,i.normalizeStyle)({width:e.bodyWidth,tableLayout:e.tableLayout})},[(0,i.createVNode)(s,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&"auto"===e.tableLayout?((0,i.openBlock)(),(0,i.createBlock)(l,{key:0,ref:"tableHeaderRef",class:(0,i.normalizeClass)(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createVNode)(c,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&"auto"===e.tableLayout?((0,i.openBlock)(),(0,i.createBlock)(u,{key:1,class:(0,i.normalizeClass)(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):(0,i.createCommentVNode)("v-if",!0)],6),e.isEmpty?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,ref:"emptyBlock",style:(0,i.normalizeStyle)(e.emptyBlockStyle),class:(0,i.normalizeClass)(e.ns.e("empty-block"))},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(e.ns.e("empty-text"))},[(0,i.renderSlot)(e.$slots,"empty",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.computedEmptyText),1)]))],2)],6)):(0,i.createCommentVNode)("v-if",!0),e.$slots.append?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,ref:"appendWrapper",class:(0,i.normalizeClass)(e.ns.e("append-wrapper"))},[(0,i.renderSlot)(e.$slots,"append")],2)):(0,i.createCommentVNode)("v-if",!0)])),_:3},8,["view-style","wrap-style","always","tabindex","onScroll"])],2),e.showSummary&&"fixed"===e.tableLayout?(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,ref:"footerWrapper",class:(0,i.normalizeClass)(e.ns.e("footer-wrapper"))},[(0,i.createElementVNode)("table",{class:(0,i.normalizeClass)(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:(0,i.normalizeStyle)(e.tableBodyStyles)},[(0,i.createVNode)(s,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),(0,i.createVNode)(u,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[i.vShow,!e.isEmpty],[f,e.handleHeaderFooterMousewheel]]):(0,i.createCommentVNode)("v-if",!0),e.border||e.isGroup?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:2,class:(0,i.normalizeClass)(e.ns.e("border-left-patch"))},null,2)):(0,i.createCommentVNode)("v-if",!0)],2),(0,i.withDirectives)((0,i.createElementVNode)("div",{ref:"resizeProxy",class:(0,i.normalizeClass)(e.ns.e("column-resize-proxy"))},null,2),[[i.vShow,e.resizeProxyVisible]])],46,["data-prefix","onMouseleave"])}],["__file","table.vue"]]);const yb={selection:"table-column--selection",expand:"table__expand-column"},Ob={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},bb={selection:{renderHeader({store:e,column:t}){return(0,i.h)(es,{disabled:e.states.data.value&&0===e.states.data.value.length,size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":e.toggleAllSelection,modelValue:e.states.isAllSelected.value,ariaLabel:t.label})},renderCell({row:e,column:t,store:n,$index:r}){return(0,i.h)(es,{disabled:!!t.selectable&&!t.selectable.call(null,e,r),size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:e=>e.stopPropagation(),modelValue:n.isSelected(e),ariaLabel:t.label})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const r=e.index;return(0,c.Et)(r)?n=t+r:(0,se.Tn)(r)&&(n=r(t)),(0,i.h)("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({row:e,store:t,expanded:n}){const{ns:r}=t,o=[r.e("expand-icon")];return n&&o.push(r.em("expand-icon","expanded")),(0,i.h)("div",{class:o,onClick:function(n){n.stopPropagation(),t.toggleRowExpansion(e)}},{default:()=>[(0,i.h)(_.tk,null,{default:()=>[(0,i.h)(j.ArrowRight)]})]})},sortable:!1,resizable:!1}};function wb({row:e,column:t,$index:n}){var r;const o=t.property,i=o&&(0,S.GT)(e,o).value;return t&&t.formatter?t.formatter(e,t,i,n):(null==(r=null==i?void 0:i.toString)?void 0:r.call(i))||""}function _b(e,t){return e.reduce(((e,t)=>(e[t]=t,e)),t)}var xb={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every((e=>["ascending","descending",null].includes(e)))}};let Sb=1;var kb=(0,i.defineComponent)({name:"ElTableColumn",components:{ElCheckbox:es},props:xb,setup(e,{slots:t}){const n=(0,i.getCurrentInstance)(),r=(0,i.ref)({}),o=(0,i.computed)((()=>{let e=n.parent;for(;e&&!e.tableId;)e=e.parent;return e})),{registerNormalWatchers:a,registerComplexWatchers:s}=function(e,t){const n=(0,i.getCurrentInstance)();return{registerComplexWatchers:()=>{const r={realWidth:"width",realMinWidth:"minWidth"},o=_b(["fixed"],r);Object.keys(o).forEach((o=>{const a=r[o];(0,se.$3)(t,a)&&(0,i.watch)((()=>t[a]),(t=>{let r=t;"width"===a&&"realWidth"===o&&(r=sO(t)),"minWidth"===a&&"realMinWidth"===o&&(r=lO(t)),n.columnConfig.value[a]=r,n.columnConfig.value[o]=r;const i="fixed"===a;e.value.store.scheduleLayout(i)}))}))},registerNormalWatchers:()=>{const e={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},r=_b(["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip","tooltipFormatter"],e);Object.keys(r).forEach((r=>{const o=e[r];(0,se.$3)(t,o)&&(0,i.watch)((()=>t[o]),(e=>{n.columnConfig.value[r]=e}))}))}}}(o,e),{columnId:l,isSubColumn:u,realHeaderAlign:d,columnOrTableParent:f,setColumnWidth:p,setColumnForcedProps:m,setColumnRenders:A,getPropsData:v,getColumnElIndex:y,realAlign:O,updateColumnOrder:b}=function(e,t,n){const r=(0,i.getCurrentInstance)(),o=(0,i.ref)(""),a=(0,i.ref)(!1),s=(0,i.ref)(),l=(0,i.ref)(),u=(0,h.DU)("table");(0,i.watchEffect)((()=>{s.value=e.align?`is-${e.align}`:null,s.value})),(0,i.watchEffect)((()=>{l.value=e.headerAlign?`is-${e.headerAlign}`:s.value,l.value}));const d=(0,i.computed)((()=>{let e=r.vnode.vParent||r.parent;for(;e&&!e.tableId&&!e.columnId;)e=e.vnode.vParent||e.parent;return e})),f=(0,i.computed)((()=>{const{store:e}=r.parent;if(!e)return!1;const{treeData:t}=e.states,n=t.value;return n&&Object.keys(n).length>0})),p=(0,i.ref)(sO(e.width)),m=(0,i.ref)(lO(e.minWidth));return{columnId:o,realAlign:s,isSubColumn:a,realHeaderAlign:l,columnOrTableParent:d,setColumnWidth:e=>(p.value&&(e.width=p.value),m.value&&(e.minWidth=m.value),!p.value&&m.value&&(e.width=void 0),e.minWidth||(e.minWidth=80),e.realWidth=Number((0,c.b0)(e.width)?e.minWidth:e.width),e),setColumnForcedProps:e=>{const t=e.type,n=bb[t]||{};Object.keys(n).forEach((t=>{const r=n[t];"className"===t||(0,c.b0)(r)||(e[t]=r)}));const r=(e=>yb[e]||"")(t);if(r){const t=`${(0,i.unref)(u.namespace)}-${r}`;e.className=e.className?`${e.className} ${t}`:t}return e},setColumnRenders:o=>{e.renderHeader?(0,g.U)("TableColumn","Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header."):"selection"!==o.type&&(o.renderHeader=e=>(r.columnConfig.value.label,(0,i.renderSlot)(t,"header",e,(()=>[o.label])))),t["filter-icon"]&&(o.renderFilterIcon=e=>(0,i.renderSlot)(t,"filter-icon",e));let a=o.renderCell;return"expand"===o.type?(o.renderCell=e=>(0,i.h)("div",{class:"cell"},[a(e)]),n.value.renderExpanded=e=>t.default?t.default(e):t.default):(a=a||wb,o.renderCell=e=>{let s=null;if(t.default){const n=t.default(e);s=n.some((e=>e.type!==i.Comment))?n:a(e)}else s=a(e);const{columns:l}=n.value.store.states,d=l.value.findIndex((e=>"default"===e.type)),h=function({row:e,treeNode:t,store:n},r=!1){const{ns:o}=n;if(!t)return r?[(0,i.h)("span",{class:o.e("placeholder")})]:null;const a=[],s=function(r){r.stopPropagation(),t.loading||n.loadOrToggle(e)};if(t.indent&&a.push((0,i.h)("span",{class:o.e("indent"),style:{"padding-left":`${t.indent}px`}})),(0,c.Lm)(t.expanded)&&!t.noLazyChildren){const e=[o.e("expand-icon"),t.expanded?o.em("expand-icon","expanded"):""];let n=j.ArrowRight;t.loading&&(n=j.Loading),a.push((0,i.h)("div",{class:e,onClick:s},{default:()=>[(0,i.h)(_.tk,{class:{[o.is("loading")]:t.loading}},{default:()=>[(0,i.h)(n)]})]}))}else a.push((0,i.h)("span",{class:o.e("placeholder")}));return a}(e,f.value&&e.cellIndex===d),p={class:"cell",style:{}};return o.showOverflowTooltip&&(p.class=`${p.class} ${(0,i.unref)(u.namespace)}-tooltip`,p.style={width:(e.column.realWidth||Number(e.column.width))-1+"px"}),(e=>{function t(e){var t;"ElTableColumn"===(null==(t=null==e?void 0:e.type)?void 0:t.name)&&(e.vParent=r)}(0,se.cy)(e)?e.forEach((e=>t(e))):t(e)})(s),(0,i.h)("div",p,[h,s])}),o},getPropsData:(...t)=>t.reduce(((t,n)=>((0,se.cy)(n)&&n.forEach((n=>{t[n]=e[n]})),t)),{}),getColumnElIndex:(e,t)=>Array.prototype.indexOf.call(e,t),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",r.columnConfig.value)}}}(e,t,o),w=f.value;l.value=`${w.tableId||w.columnId}_column_${Sb++}`,(0,i.onBeforeMount)((()=>{u.value=o.value!==w;const t=e.type||"default",i=""===e.sortable||e.sortable,f=(0,c.b0)(e.showOverflowTooltip)?w.props.showOverflowTooltip:e.showOverflowTooltip,h=(0,c.b0)(e.tooltipFormatter)?w.props.tooltipFormatter:e.tooltipFormatter,g={...Ob[t],id:l.value,type:t,property:e.prop||e.property,align:O,headerAlign:d,showOverflowTooltip:f,tooltipFormatter:h,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:i,index:e.index,rawColumnKey:n.vnode.key};let y=v(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);y=function(e,t){const n={};let r;for(r in e)n[r]=e[r];for(r in t)if((0,se.$3)(t,r)){const e=t[r];(0,c.b0)(e)||(n[r]=e)}return n}(g,y);const b=function(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}(A,p,m);y=b(y),r.value=y,a(),s()})),(0,i.onMounted)((()=>{var e;const t=f.value,i=u.value?t.vnode.el.children:null==(e=t.refs.hiddenColumns)?void 0:e.children,a=()=>y(i||[],n.vnode.el);r.value.getColumnIndex=a,a()>-1&&o.value.store.commit("insertColumn",r.value,u.value?t.columnConfig.value:null,b)})),(0,i.onBeforeUnmount)((()=>{const e=r.value.getColumnIndex;(e?e():-1)>-1&&o.value.store.commit("removeColumn",r.value,u.value?w.columnConfig.value:null,b)})),n.columnId=l.value,n.columnConfig=r},render(){var e,t,n;try{const r=null==(t=(e=this.$slots).default)?void 0:t.call(e,{row:{},column:{},$index:-1}),o=[];if((0,se.cy)(r))for(const e of r)"ElTableColumn"===(null==(n=e.type)?void 0:n.name)||2&e.shapeFlag?o.push(e):e.type===i.Fragment&&(0,se.cy)(e.children)&&e.children.forEach((e=>{1024===(null==e?void 0:e.patchFlag)||(0,se.Kg)(null==e?void 0:e.children)||o.push(e)}));return(0,i.h)("div",o)}catch(e){return(0,i.h)("div",[])}}});const Cb=(0,b.GU)(vb,{TableColumn:kb}),Bb=(0,b.WM)(kb);var Qb=(e=>(e.ASC="asc",e.DESC="desc",e))(Qb||{}),Tb=(e=>(e.CENTER="center",e.RIGHT="right",e))(Tb||{}),Eb=(e=>(e.LEFT="left",e.RIGHT="right",e))(Eb||{});const Pb={asc:"desc",desc:"asc"},$b=Symbol("placeholder"),Mb=(e,t)=>e+t,zb=e=>(0,se.cy)(e)?e.reduce(Mb,0):e,Rb=(e,t,n={})=>(0,se.Tn)(e)?e(t):null!=e?e:n,Db=e=>(["width","maxWidth","minWidth","height"].forEach((t=>{e[t]=(0,m._V)(e[t])})),e),Ib=e=>(0,i.isVNode)(e)?t=>(0,i.h)(e,t):e;function Nb(e){const t=(0,i.ref)(),n=(0,i.ref)(),r=(0,i.ref)(),{columns:o,columnsStyles:a,columnsTotalWidth:s,fixedColumnsOnLeft:l,fixedColumnsOnRight:u,hasFixedColumns:d,mainColumns:f,onColumnSorted:p}=function(e,t,n){const r=(0,i.computed)((()=>(0,i.unref)(t).map(((e,t)=>{var n,r;return{...e,key:null!=(r=null!=(n=e.key)?n:e.dataKey)?r:t}})))),o=(0,i.computed)((()=>(0,i.unref)(r).filter((e=>!e.hidden)))),a=(0,i.computed)((()=>(0,i.unref)(o).filter((e=>"left"===e.fixed||!0===e.fixed)))),s=(0,i.computed)((()=>(0,i.unref)(o).filter((e=>"right"===e.fixed)))),l=(0,i.computed)((()=>(0,i.unref)(o).filter((e=>!e.fixed)))),c=(0,i.computed)((()=>{const e=[];return(0,i.unref)(a).forEach((t=>{e.push({...t,placeholderSign:$b})})),(0,i.unref)(l).forEach((t=>{e.push(t)})),(0,i.unref)(s).forEach((t=>{e.push({...t,placeholderSign:$b})})),e})),u=(0,i.computed)((()=>(0,i.unref)(a).length||(0,i.unref)(s).length)),d=(0,i.computed)((()=>(0,i.unref)(r).reduce(((t,r)=>(t[r.key]=((e,t,n)=>{var r;const o={flexGrow:0,flexShrink:0,...n?{}:{flexGrow:e.flexGrow||0,flexShrink:e.flexShrink||1}};n||(o.flexShrink=1);const i={...null!=(r=e.style)?r:{},...o,flexBasis:"auto",width:e.width};return t||(e.maxWidth&&(i.maxWidth=e.maxWidth),e.minWidth&&(i.minWidth=e.minWidth)),i})(r,(0,i.unref)(n),e.fixed),t)),{}))),f=(0,i.computed)((()=>(0,i.unref)(o).reduce(((e,t)=>e+t.width),0))),h=e=>(0,i.unref)(r).find((t=>t.key===e));return{columns:r,columnsStyles:d,columnsTotalWidth:f,fixedColumnsOnLeft:a,fixedColumnsOnRight:s,hasFixedColumns:u,mainColumns:c,normalColumns:l,visibleColumns:o,getColumn:h,getColumnStyle:e=>(0,i.unref)(d)[e],updateColumnWidth:(e,t)=>{e.width=t},onColumnSorted:function(t){var n;const{key:r}=t.currentTarget.dataset;if(!r)return;const{sortState:o,sortBy:i}=e;let a=Qb.ASC;a=(0,se.Gv)(o)?Pb[o[r]]:Pb[i.order],null==(n=e.onColumnSort)||n.call(e,{column:h(r),key:r,order:a})}}}(e,(0,i.toRef)(e,"columns"),(0,i.toRef)(e,"fixed")),{scrollTo:g,scrollToLeft:A,scrollToTop:v,scrollToRow:y,onScroll:O,onVerticalScroll:b,scrollPos:w}=((e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,onMaybeEndReached:o})=>{const a=(0,i.ref)({scrollLeft:0,scrollTop:0});function s(e){var o,i,a;const{scrollTop:s}=e;null==(o=t.value)||o.scrollTo(e),null==(i=n.value)||i.scrollToTop(s),null==(a=r.value)||a.scrollToTop(s)}function l(e){a.value=e,s(e)}function c(e){a.value.scrollTop=e,s((0,i.unref)(a))}return(0,i.watch)((()=>(0,i.unref)(a).scrollTop),((e,t)=>{e>t&&o()})),{scrollPos:a,scrollTo:l,scrollToLeft:function(e){var n,r;a.value.scrollLeft=e,null==(r=null==(n=t.value)?void 0:n.scrollTo)||r.call(n,(0,i.unref)(a))},scrollToTop:c,scrollToRow:function(e,n="auto"){var r;null==(r=t.value)||r.scrollToRow(e,n)},onScroll:function(t){var n;l(t),null==(n=e.onScroll)||n.call(e,t)},onVerticalScroll:function({scrollTop:e}){const{scrollTop:t}=(0,i.unref)(a);e!==t&&c(e)}}})(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,onMaybeEndReached:function(){const{onEndReached:t}=e;if(!t)return;const{scrollTop:n}=(0,i.unref)(w),r=(0,i.unref)(I),o=r-(n+(0,i.unref)(W))+e.hScrollbarSize;(0,i.unref)(C)>=0&&r===n+(0,i.unref)(V)-(0,i.unref)(Y)&&t(o)}}),_=(0,h.DU)("table-v2"),x=(0,i.getCurrentInstance)(),S=(0,i.shallowRef)(!1),{expandedRowKeys:k,lastRenderedRowIndex:C,isDynamic:B,isResetting:Q,rowHeights:T,resetAfterIndex:E,onRowExpanded:P,onRowHeightChange:$,onRowHovered:M,onRowsRendered:z}=((e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,tableInstance:o,ns:a,isScrolling:s})=>{const l=(0,i.getCurrentInstance)(),{emit:u}=l,d=(0,i.shallowRef)(!1),f=(0,i.ref)(e.defaultExpandedRowKeys||[]),h=(0,i.ref)(-1),p=(0,i.shallowRef)(null),m=(0,i.ref)({}),g=(0,i.ref)({}),A=(0,i.shallowRef)({}),v=(0,i.shallowRef)({}),y=(0,i.shallowRef)({}),O=(0,i.computed)((()=>(0,c.Et)(e.estimatedRowHeight))),b=X((()=>{var e,o,a,s;d.value=!0,m.value={...(0,i.unref)(m),...(0,i.unref)(g)},w((0,i.unref)(p),!1),g.value={},p.value=null,null==(e=t.value)||e.forceUpdate(),null==(o=n.value)||o.forceUpdate(),null==(a=r.value)||a.forceUpdate(),null==(s=l.proxy)||s.$forceUpdate(),d.value=!1}),0);function w(e,o=!1){(0,i.unref)(O)&&[t,n,r].forEach((t=>{const n=(0,i.unref)(t);n&&n.resetAfterRowIndex(e,o)}))}return{expandedRowKeys:f,lastRenderedRowIndex:h,isDynamic:O,isResetting:d,rowHeights:m,resetAfterIndex:w,onRowExpanded:function({expanded:t,rowData:n,rowIndex:r,rowKey:o}){var a,s;const l=[...(0,i.unref)(f)],c=l.indexOf(o);t?-1===c&&l.push(o):c>-1&&l.splice(c,1),f.value=l,u("update:expandedRowKeys",l),null==(a=e.onRowExpand)||a.call(e,{expanded:t,rowData:n,rowIndex:r,rowKey:o}),null==(s=e.onExpandedRowsChange)||s.call(e,l)},onRowHovered:function({hovered:e,rowKey:t}){s.value||o.vnode.el.querySelectorAll(`[rowkey="${String(t)}"]`).forEach((t=>{e?t.classList.add(a.is("hovered")):t.classList.remove(a.is("hovered"))}))},onRowsRendered:function(t){var n;null==(n=e.onRowsRendered)||n.call(e,t),t.rowCacheEnd>(0,i.unref)(h)&&(h.value=t.rowCacheEnd)},onRowHeightChange:function({rowKey:e,height:t,rowIndex:n},r){r?r===Eb.RIGHT?y.value[e]=t:A.value[e]=t:v.value[e]=t;const o=Math.max(...[A,y,v].map((t=>t.value[e]||0)));(0,i.unref)(m)[e]!==o&&(function(e,t,n){const r=(0,i.unref)(p);(null===r||r>n)&&(p.value=n),g.value[e]=t}(e,o,n),b())}}})(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,tableInstance:x,ns:_,isScrolling:S}),{data:R,depthMap:D}=((e,{expandedRowKeys:t,lastRenderedRowIndex:n,resetAfterIndex:r})=>{const o=(0,i.ref)({}),a=(0,i.computed)((()=>{const n={},{data:r,rowKey:a}=e,s=(0,i.unref)(t);if(!s||!s.length)return r;const l=[],c=new Set;s.forEach((e=>c.add(e)));let u=r.slice();for(u.forEach((e=>n[e[a]]=0));u.length>0;){const e=u.shift();l.push(e),c.has(e[a])&&(0,se.cy)(e.children)&&e.children.length>0&&(u=[...e.children,...u],e.children.forEach((t=>n[t[a]]=n[e[a]]+1)))}return o.value=n,l})),s=(0,i.computed)((()=>{const{data:t,expandColumnKey:n}=e;return n?(0,i.unref)(a):t}));return(0,i.watch)(s,((e,t)=>{e!==t&&(n.value=-1,r(0,!0))})),{data:s,depthMap:o}})(e,{expandedRowKeys:k,lastRenderedRowIndex:C,resetAfterIndex:E}),I=(0,i.computed)((()=>{const{estimatedRowHeight:t,rowHeight:n}=e,r=(0,i.unref)(R);return(0,c.Et)(t)?Object.values((0,i.unref)(T)).reduce(((e,t)=>e+t),0):r.length*n})),{bodyWidth:N,fixedTableHeight:L,mainTableHeight:V,leftTableWidth:U,rightTableWidth:F,headerWidth:H,windowHeight:W,footerHeight:j,emptyStyle:q,rootStyle:Z,headerHeight:Y}=((e,{columnsTotalWidth:t,rowsHeight:n,fixedColumnsOnLeft:r,fixedColumnsOnRight:o})=>{const a=(0,i.computed)((()=>{const{fixed:n,width:r,vScrollbarSize:o}=e,a=r-o;return n?Math.max(Math.round((0,i.unref)(t)),a):a})),s=(0,i.computed)((()=>(0,i.unref)(a)+e.vScrollbarSize)),l=(0,i.computed)((()=>{const{height:t=0,maxHeight:r=0,footerHeight:o,hScrollbarSize:a}=e;if(r>0){const e=(0,i.unref)(g),t=(0,i.unref)(n),s=(0,i.unref)(p)+e+t+a;return Math.min(s,r-o)}return t-o})),u=(0,i.computed)((()=>{const{maxHeight:t}=e,r=(0,i.unref)(l);if((0,c.Et)(t)&&t>0)return r;const o=(0,i.unref)(n)+(0,i.unref)(p)+(0,i.unref)(g);return Math.min(r,o)})),d=e=>e.width,f=(0,i.computed)((()=>zb((0,i.unref)(r).map(d)))),h=(0,i.computed)((()=>zb((0,i.unref)(o).map(d)))),p=(0,i.computed)((()=>zb(e.headerHeight))),g=(0,i.computed)((()=>{var t;return((null==(t=e.fixedData)?void 0:t.length)||0)*e.rowHeight})),A=(0,i.computed)((()=>(0,i.unref)(l)-(0,i.unref)(p)-(0,i.unref)(g))),v=(0,i.computed)((()=>{const{style:t={},height:n,width:r}=e;return Db({...t,height:n,width:r})})),y=(0,i.computed)((()=>Db({height:e.footerHeight}))),O=(0,i.computed)((()=>({top:(0,m._V)((0,i.unref)(p)),bottom:(0,m._V)(e.footerHeight),width:(0,m._V)(e.width)})));return{bodyWidth:a,fixedTableHeight:u,mainTableHeight:l,leftTableWidth:f,rightTableWidth:h,headerWidth:s,windowHeight:A,footerHeight:y,emptyStyle:O,rootStyle:v,headerHeight:p}})(e,{columnsTotalWidth:s,fixedColumnsOnLeft:l,fixedColumnsOnRight:u,rowsHeight:I}),G=(0,i.ref)(),K=(0,i.computed)((()=>{const t=0===(0,i.unref)(R).length;return(0,se.cy)(e.fixedData)?0===e.fixedData.length&&t:t}));return(0,i.watch)((()=>e.expandedRowKeys),(e=>k.value=e),{deep:!0}),{columns:o,containerRef:G,mainTableRef:t,leftTableRef:n,rightTableRef:r,isDynamic:B,isResetting:Q,isScrolling:S,hasFixedColumns:d,columnsStyles:a,columnsTotalWidth:s,data:R,expandedRowKeys:k,depthMap:D,fixedColumnsOnLeft:l,fixedColumnsOnRight:u,mainColumns:f,bodyWidth:N,emptyStyle:q,rootStyle:Z,headerWidth:H,footerHeight:j,mainTableHeight:V,fixedTableHeight:L,leftTableWidth:U,rightTableWidth:F,showEmpty:K,getRowHeight:function(t){const{estimatedRowHeight:n,rowHeight:r,rowKey:o}=e;return n?(0,i.unref)(T)[(0,i.unref)(R)[t][o]]||n:r},onColumnSorted:p,onRowHovered:M,onRowExpanded:P,onRowsRendered:z,onRowHeightChange:$,scrollTo:g,scrollToLeft:A,scrollToTop:v,scrollToRow:y,onScroll:O,onVerticalScroll:b}}const Lb=Symbol("tableV2"),Vb=String,Ub={type:(0,l.jq)(Array),required:!0},Fb=((0,l.jq)(Object),{type:(0,l.jq)(Array)}),Hb={...Fb,required:!0},Wb=String,Xb={type:(0,l.jq)(Array),default:()=>(0,fl.f)([])},jb={type:Number,required:!0},qb={type:(0,l.jq)([String,Number,Symbol]),default:"id"},Zb={type:(0,l.jq)(Object)},Yb=(0,l.b_)({class:String,columns:Ub,columnsStyles:{type:(0,l.jq)(Object),required:!0},depth:Number,expandColumnKey:Wb,estimatedRowHeight:{...tv.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:(0,l.jq)(Function)},onRowHover:{type:(0,l.jq)(Function)},onRowHeightChange:{type:(0,l.jq)(Function)},rowData:{type:(0,l.jq)(Object),required:!0},rowEventHandlers:{type:(0,l.jq)(Object)},rowIndex:{type:Number,required:!0},rowKey:qb,style:{type:(0,l.jq)(Object)}}),Gb={type:Number,required:!0},Kb=(0,l.b_)({class:String,columns:Ub,fixedHeaderData:{type:(0,l.jq)(Array)},headerData:{type:(0,l.jq)(Array),required:!0},headerHeight:{type:(0,l.jq)([Number,Array]),default:50},rowWidth:Gb,rowHeight:{type:Number,default:50},height:Gb,width:Gb}),Jb=(0,l.b_)({columns:Ub,data:Hb,fixedData:Fb,estimatedRowHeight:Yb.estimatedRowHeight,width:jb,height:jb,headerWidth:jb,headerHeight:Kb.headerHeight,bodyWidth:jb,rowHeight:jb,cache:GA.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:tv.scrollbarAlwaysOn,scrollbarStartGap:tv.scrollbarStartGap,scrollbarEndGap:tv.scrollbarEndGap,class:Vb,style:Zb,containerStyle:Zb,getRowHeight:{type:(0,l.jq)(Function),required:!0},rowKey:Yb.rowKey,onRowsRendered:{type:(0,l.jq)(Function)},onScroll:{type:(0,l.jq)(Function)}}),ew=(0,l.b_)({cache:Jb.cache,estimatedRowHeight:Yb.estimatedRowHeight,rowKey:qb,headerClass:{type:(0,l.jq)([String,Function])},headerProps:{type:(0,l.jq)([Object,Function])},headerCellProps:{type:(0,l.jq)([Object,Function])},headerHeight:Kb.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:(0,l.jq)([String,Function])},rowProps:{type:(0,l.jq)([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:(0,l.jq)([Object,Function])},columns:Ub,data:Hb,dataGetter:{type:(0,l.jq)(Function)},fixedData:Fb,expandColumnKey:Yb.expandColumnKey,expandedRowKeys:Xb,defaultExpandedRowKeys:Xb,class:Vb,fixed:Boolean,style:{type:(0,l.jq)(Object)},width:jb,height:jb,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:tv.hScrollbarSize,vScrollbarSize:tv.vScrollbarSize,scrollbarAlwaysOn:nv.alwaysOn,sortBy:{type:(0,l.jq)(Object),default:()=>({})},sortState:{type:(0,l.jq)(Object),default:void 0},onColumnSort:{type:(0,l.jq)(Function)},onExpandedRowsChange:{type:(0,l.jq)(Function)},onEndReached:{type:(0,l.jq)(Function)},onRowExpand:Yb.onRowExpand,onScroll:Jb.onScroll,onRowsRendered:Jb.onRowsRendered,rowEventHandlers:Yb.rowEventHandlers}),tw=(0,i.defineComponent)({name:"ElTableV2Header",props:Kb,setup(e,{slots:t,expose:n}){const r=(0,h.DU)("table-v2"),o=(0,i.inject)("tableV2GridScrollLeft"),a=(0,i.ref)(),s=(0,i.computed)((()=>Db({width:e.width,height:e.height}))),l=(0,i.computed)((()=>Db({width:e.rowWidth,height:e.height}))),c=(0,i.computed)((()=>_l((0,i.unref)(e.headerHeight)))),u=e=>{const t=(0,i.unref)(a);(0,i.nextTick)((()=>{(null==t?void 0:t.scroll)&&t.scroll({left:e})}))},d=()=>{const n=r.e("fixed-header-row"),{columns:o,fixedHeaderData:i,rowHeight:a}=e;return null==i?void 0:i.map(((e,r)=>{var i;const s=Db({height:a,width:"100%"});return null==(i=t.fixed)?void 0:i.call(t,{class:n,columns:o,rowData:e,rowIndex:-(r+1),style:s})}))},f=()=>{const n=r.e("dynamic-header-row"),{columns:o}=e;return(0,i.unref)(c).map(((e,r)=>{var i;const a=Db({width:"100%",height:e});return null==(i=t.dynamic)?void 0:i.call(t,{class:n,columns:o,headerIndex:r,style:a})}))};return(0,i.onUpdated)((()=>{(null==o?void 0:o.value)&&u(o.value)})),n({scrollToLeft:u}),()=>{if(!(e.height<=0))return(0,i.createVNode)("div",{ref:a,class:e.class,style:(0,i.unref)(s),role:"rowgroup"},[(0,i.createVNode)("div",{style:(0,i.unref)(l),class:r.e("header")},[f(),d()])])}}});var nw=tw;const rw=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:r,getColumnStopIndexForStartIndex:o,getEstimatedTotalHeight:s,getEstimatedTotalWidth:l,getColumnOffset:u,getRowOffset:d,getRowPosition:f,getRowStartIndexForOffset:m,getRowStopIndexForStartIndex:g,initCache:A,injectToInstance:v,validateProps:y})=>(0,i.defineComponent)({name:null!=e?e:"ElVirtualList",props:tv,emits:[SA,kA],setup(e,{emit:O,expose:b,slots:w}){const _=(0,h.DU)("vl");y(e);const x=(0,i.getCurrentInstance)(),S=(0,i.ref)(A(e,x));null==v||v(x,S);const k=(0,i.ref)(),C=(0,i.ref)(),B=(0,i.ref)(),Q=(0,i.ref)(null),T=(0,i.ref)({isScrolling:!1,scrollLeft:(0,c.Et)(e.initScrollLeft)?e.initScrollLeft:0,scrollTop:(0,c.Et)(e.initScrollTop)?e.initScrollTop:0,updateRequested:!1,xAxisScrollDir:CA,yAxisScrollDir:CA}),E=xA(),P=(0,i.computed)((()=>Number.parseInt(`${e.height}`,10))),$=(0,i.computed)((()=>Number.parseInt(`${e.width}`,10))),M=(0,i.computed)((()=>{const{totalColumn:t,totalRow:n,columnCache:a}=e,{isScrolling:s,xAxisScrollDir:l,scrollLeft:c}=(0,i.unref)(T);if(0===t||0===n)return[0,0,0,0];const u=r(e,c,(0,i.unref)(S)),d=o(e,u,c,(0,i.unref)(S)),f=s&&l!==BA?1:Math.max(1,a),h=s&&l!==CA?1:Math.max(1,a);return[Math.max(0,u-f),Math.max(0,Math.min(t-1,d+h)),u,d]})),z=(0,i.computed)((()=>{const{totalColumn:t,totalRow:n,rowCache:r}=e,{isScrolling:o,yAxisScrollDir:a,scrollTop:s}=(0,i.unref)(T);if(0===t||0===n)return[0,0,0,0];const l=m(e,s,(0,i.unref)(S)),c=g(e,l,s,(0,i.unref)(S)),u=o&&a!==BA?1:Math.max(1,r),d=o&&a!==CA?1:Math.max(1,r);return[Math.max(0,l-u),Math.max(0,Math.min(n-1,c+d)),l,c]})),R=(0,i.computed)((()=>s(e,(0,i.unref)(S)))),D=(0,i.computed)((()=>l(e,(0,i.unref)(S)))),I=(0,i.computed)((()=>{var t;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:e.direction,height:(0,c.Et)(e.height)?`${e.height}px`:e.height,width:(0,c.Et)(e.width)?`${e.width}px`:e.width},null!=(t=e.style)?t:{}]})),N=(0,i.computed)((()=>{const e=`${(0,i.unref)(D)}px`;return{height:`${(0,i.unref)(R)}px`,pointerEvents:(0,i.unref)(T).isScrolling?"none":void 0,width:e}})),L=()=>{const{totalColumn:t,totalRow:n}=e;if(t>0&&n>0){const[e,t,n,r]=(0,i.unref)(M),[o,a,s,l]=(0,i.unref)(z);O(SA,{columnCacheStart:e,columnCacheEnd:t,rowCacheStart:o,rowCacheEnd:a,columnVisibleStart:n,columnVisibleEnd:r,rowVisibleStart:s,rowVisibleEnd:l})}const{scrollLeft:r,scrollTop:o,updateRequested:a,xAxisScrollDir:s,yAxisScrollDir:l}=(0,i.unref)(T);O(kA,{xAxisScrollDir:s,scrollLeft:r,yAxisScrollDir:l,scrollTop:o,updateRequested:a})},V=t=>{const{clientHeight:n,clientWidth:r,scrollHeight:o,scrollLeft:a,scrollTop:s,scrollWidth:l}=t.currentTarget,c=(0,i.unref)(T);if(c.scrollTop===s&&c.scrollLeft===a)return;let u=a;if(iv(e.direction))switch(sv()){case DA:u=-a;break;case NA:u=l-r-a}T.value={...c,isScrolling:!0,scrollLeft:u,scrollTop:Math.max(0,Math.min(s,o-n)),updateRequested:!0,xAxisScrollDir:rv(c.scrollLeft,u),yAxisScrollDir:rv(c.scrollTop,s)},(0,i.nextTick)((()=>j())),q(),L()},U=(e,t)=>{const n=(0,i.unref)(P),r=(R.value-n)/t*e;W({scrollTop:Math.min(R.value-n,r)})},F=(e,t)=>{const n=(0,i.unref)($),r=(D.value-n)/t*e;W({scrollLeft:Math.min(D.value-n,r)})},{onWheel:H}=(({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:r},o)=>{let i=null,a=0,s=0;const l=(o,i)=>{const a=o<=0&&t.value||o>=0&&e.value,s=i<=0&&r.value||i>=0&&n.value;return a&&s};return{hasReachedEdge:l,onWheel:e=>{(0,VA.V)(i);let t=e.deltaX,n=e.deltaY;Math.abs(t)>Math.abs(n)?n=0:t=0,e.shiftKey&&0!==n&&(t=n,n=0),l(a,s)&&l(a+t,s+n)||(a+=t,s+=n,e.preventDefault(),i=(0,VA.m)((()=>{o(a,s),a=0,s=0})))}}})({atXStartEdge:(0,i.computed)((()=>T.value.scrollLeft<=0)),atXEndEdge:(0,i.computed)((()=>T.value.scrollLeft>=D.value-(0,i.unref)($))),atYStartEdge:(0,i.computed)((()=>T.value.scrollTop<=0)),atYEndEdge:(0,i.computed)((()=>T.value.scrollTop>=R.value-(0,i.unref)(P)))},((e,t)=>{var n,r,o,a;null==(r=null==(n=C.value)?void 0:n.onMouseUp)||r.call(n),null==(a=null==(o=B.value)?void 0:o.onMouseUp)||a.call(o);const s=(0,i.unref)($),l=(0,i.unref)(P);W({scrollLeft:Math.min(T.value.scrollLeft+e,D.value-s),scrollTop:Math.min(T.value.scrollTop+t,R.value-l)})}));(0,a.MLh)(k,"wheel",H,{passive:!1});const W=({scrollLeft:e=T.value.scrollLeft,scrollTop:t=T.value.scrollTop})=>{e=Math.max(e,0),t=Math.max(t,0);const n=(0,i.unref)(T);t===n.scrollTop&&e===n.scrollLeft||(T.value={...n,xAxisScrollDir:rv(n.scrollLeft,e),yAxisScrollDir:rv(n.scrollTop,t),scrollLeft:e,scrollTop:t,updateRequested:!0},(0,i.nextTick)((()=>j())),q(),L())},X=(r,o)=>{const{columnWidth:a,direction:s,rowHeight:l}=e,c=E.value(t&&a,t&&l,t&&s),u=`${r},${o}`;if((0,se.$3)(c,u))return c[u];{const[,t]=n(e,o,(0,i.unref)(S)),a=(0,i.unref)(S),l=iv(s),[d,h]=f(e,r,a),[p]=n(e,o,a);return c[u]={position:"absolute",left:l?void 0:`${t}px`,right:l?`${t}px`:void 0,top:`${h}px`,height:`${d}px`,width:`${p}px`},c[u]}},j=()=>{T.value.isScrolling=!1,(0,i.nextTick)((()=>{E.value(-1,null,null)}))};(0,i.onMounted)((()=>{if(!Y.oc)return;const{initScrollLeft:t,initScrollTop:n}=e,r=(0,i.unref)(k);r&&((0,c.Et)(t)&&(r.scrollLeft=t),(0,c.Et)(n)&&(r.scrollTop=n)),L()}));const q=()=>{const{direction:t}=e,{scrollLeft:n,scrollTop:r,updateRequested:o}=(0,i.unref)(T),a=(0,i.unref)(k);if(o&&a){if(t===RA)switch(sv()){case DA:a.scrollLeft=-n;break;case IA:a.scrollLeft=n;break;default:{const{clientWidth:e,scrollWidth:t}=a;a.scrollLeft=t-e-n;break}}else a.scrollLeft=Math.max(0,n);a.scrollTop=Math.max(0,r)}},{resetAfterColumnIndex:Z,resetAfterRowIndex:G,resetAfter:K}=x.proxy;b({windowRef:k,innerRef:Q,getItemStyleCache:E,scrollTo:W,scrollToItem:(t=0,n=0,r=QA)=>{const o=(0,i.unref)(T);n=Math.max(0,Math.min(n,e.totalColumn-1)),t=Math.max(0,Math.min(t,e.totalRow-1));const a=(0,p.F_)(_.namespace.value),c=(0,i.unref)(S),f=s(e,c),h=l(e,c);W({scrollLeft:u(e,n,r,o.scrollLeft,c,h>e.width?a:0),scrollTop:d(e,t,r,o.scrollTop,c,f>e.height?a:0)})},states:T,resetAfterColumnIndex:Z,resetAfterRowIndex:G,resetAfter:K});return()=>{const t=(0,i.resolveDynamicComponent)(e.containerElement),{horizontalScrollbar:n,verticalScrollbar:r}=(()=>{const{scrollbarAlwaysOn:t,scrollbarStartGap:n,scrollbarEndGap:r,totalColumn:o,totalRow:a}=e,s=(0,i.unref)($),l=(0,i.unref)(P),c=(0,i.unref)(D),u=(0,i.unref)(R),{scrollLeft:d,scrollTop:f}=(0,i.unref)(T);return{horizontalScrollbar:(0,i.h)(lv,{ref:C,alwaysOn:t,startGap:n,endGap:r,class:_.e("horizontal"),clientSize:s,layout:"horizontal",onScroll:F,ratio:100*s/c,scrollFrom:d/(c-s),total:a,visible:!0}),verticalScrollbar:(0,i.h)(lv,{ref:B,alwaysOn:t,startGap:n,endGap:r,class:_.e("vertical"),clientSize:l,layout:"vertical",onScroll:U,ratio:100*l/u,scrollFrom:f/(u-l),total:o,visible:!0})}})(),o=(()=>{const t=(0,i.resolveDynamicComponent)(e.innerElement),n=(()=>{var t;const[n,r]=(0,i.unref)(M),[o,a]=(0,i.unref)(z),{data:s,totalColumn:l,totalRow:c,useIsScrolling:u,itemKey:d}=e,f=[];if(c>0&&l>0)for(let e=o;e<=a;e++)for(let o=n;o<=r;o++){const n=d({columnIndex:o,data:s,rowIndex:e});f.push((0,i.h)(i.Fragment,{key:n},null==(t=w.default)?void 0:t.call(w,{columnIndex:o,data:s,isScrolling:u?(0,i.unref)(T).isScrolling:void 0,style:X(e,o),rowIndex:e})))}return f})();return[(0,i.h)(t,{style:(0,i.unref)(N),ref:Q},(0,se.Kg)(t)?n:{default:()=>n})]})();return(0,i.h)("div",{key:0,class:_.e("wrapper"),role:e.role},[(0,i.h)(t,{class:e.className,style:(0,i.unref)(I),onScroll:V,ref:k},(0,se.Kg)(t)?o:{default:()=>o}),n,r])}}}),{max:ow,min:iw,floor:aw}=Math,sw={column:"columnWidth",row:"rowHeight"},lw={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},cw=(e,t,n,r)=>{const[o,i,a]=[n[r],e[sw[r]],n[lw[r]]];if(t>a){let e=0;if(a>=0){const t=o[a];e=t.offset+t.size}for(let n=a+1;n<=t;n++){const t=i(n);o[n]={offset:e,size:t},e+=t}n[lw[r]]=t}return o[t]},uw=(e,t,n,r,o,i)=>{for(;n<=r;){const a=n+aw((r-n)/2),s=cw(e,a,t,i).offset;if(s===o)return a;s<o?n=a+1:r=a-1}return ow(0,n-1)},dw=(e,t,n,r)=>{const[o,i]=[t[r],t[lw[r]]];return(i>0?o[i].offset:0)>=n?uw(e,t,0,i,n,r):((e,t,n,r,o)=>{const i="column"===o?e.totalColumn:e.totalRow;let a=1;for(;n<i&&cw(e,n,t,o).offset<r;)n+=a,a*=2;return uw(e,t,aw(n/2),iw(n,i-1),r,o)})(e,t,ow(0,i),n,r)},fw=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:r})=>{let o=0;if(n>=e&&(n=e-1),n>=0){const e=r[n];o=e.offset+e.size}return o+(e-n-1)*t},hw=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:r})=>{let o=0;if(r>e&&(r=e-1),r>=0){const e=t[r];o=e.offset+e.size}return o+(e-r-1)*n},pw={column:hw,row:fw},mw=(e,t,n,r,o,i,a)=>{const[s,l]=["row"===i?e.height:e.width,pw[i]],c=cw(e,t,o,i),u=l(e,o),d=ow(0,iw(u-s,c.offset)),f=ow(0,c.offset-s+a+c.size);switch(n===TA&&(n=r>=f-s&&r<=d+s?QA:PA),n){case EA:return d;case $A:return f;case PA:return Math.round(f+(d-f)/2);default:return r>=f&&r<=d?r:f>d||r<f?f:d}},gw=rw({name:"ElDynamicSizeGrid",getColumnPosition:(e,t,n)=>{const r=cw(e,t,n,"column");return[r.size,r.offset]},getRowPosition:(e,t,n)=>{const r=cw(e,t,n,"row");return[r.size,r.offset]},getColumnOffset:(e,t,n,r,o,i)=>mw(e,t,n,r,o,"column",i),getRowOffset:(e,t,n,r,o,i)=>mw(e,t,n,r,o,"row",i),getColumnStartIndexForOffset:(e,t,n)=>dw(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,r)=>{const o=cw(e,t,r,"column"),i=n+e.width;let a=o.offset+o.size,s=t;for(;s<e.totalColumn-1&&a<i;)s++,a+=cw(e,t,r,"column").size;return s},getEstimatedTotalHeight:fw,getEstimatedTotalWidth:hw,getRowStartIndexForOffset:(e,t,n)=>dw(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,r)=>{const{totalRow:o,height:i}=e,a=cw(e,t,r,"row"),s=n+i;let l=a.size+a.offset,c=t;for(;c<o-1&&l<s;)c++,l+=cw(e,c,r,"row").size;return c},injectToInstance:(e,t)=>{const n=({columnIndex:n,rowIndex:r},o)=>{var i,a;o=!!(0,c.b0)(o)||o,(0,c.Et)(n)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,n-1)),(0,c.Et)(r)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,r-1)),null==(i=e.exposed)||i.getItemStyleCache.value(-1,null,null),o&&(null==(a=e.proxy)||a.$forceUpdate())};Object.assign(e.proxy,{resetAfterColumnIndex:(e,t)=>{n({columnIndex:e},t)},resetAfterRowIndex:(e,t)=>{n({rowIndex:e},t)},resetAfter:n})},initCache:({estimatedColumnWidth:e=50,estimatedRowHeight:t=50})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{}}),Aw=rw({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:e},t)=>[e,t*e],getRowPosition:({rowHeight:e},t)=>[e,t*e],getEstimatedTotalHeight:({totalRow:e,rowHeight:t})=>t*e,getEstimatedTotalWidth:({totalColumn:e,columnWidth:t})=>t*e,getColumnOffset:({totalColumn:e,columnWidth:t,width:n},r,o,i,a,s)=>{n=Number(n);const l=Math.max(0,e*t-n),c=Math.min(l,r*t),u=Math.max(0,r*t-n+s+t);switch("smart"===o&&(o=i>=u-n&&i<=c+n?QA:PA),o){case EA:return c;case $A:return u;case PA:{const e=Math.round(u+(c-u)/2);return e<Math.ceil(n/2)?0:e>l+Math.floor(n/2)?l:e}default:return i>=u&&i<=c?i:u>c||i<u?u:c}},getRowOffset:({rowHeight:e,height:t,totalRow:n},r,o,i,a,s)=>{t=Number(t);const l=Math.max(0,n*e-t),c=Math.min(l,r*e),u=Math.max(0,r*e-t+s+e);switch(o===TA&&(o=i>=u-t&&i<=c+t?QA:PA),o){case EA:return c;case $A:return u;case PA:{const e=Math.round(u+(c-u)/2);return e<Math.ceil(t/2)?0:e>l+Math.floor(t/2)?l:e}default:return i>=u&&i<=c?i:u>c||i<u?u:c}},getColumnStartIndexForOffset:({columnWidth:e,totalColumn:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getColumnStopIndexForStartIndex:({columnWidth:e,totalColumn:t,width:n},r,o)=>{const i=r*e,a=Math.ceil((n+o-i)/e);return Math.max(0,Math.min(t-1,r+a-1))},getRowStartIndexForOffset:({rowHeight:e,totalRow:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getRowStopIndexForStartIndex:({rowHeight:e,totalRow:t,height:n},r,o)=>{const i=r*e,a=Math.ceil((n+o-i)/e);return Math.max(0,Math.min(t-1,r+a-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:e,rowHeight:t})=>{}}),vw=(0,i.defineComponent)({name:"ElTableV2Grid",props:Jb,setup(e,{slots:t,expose:n}){const{ns:r}=(0,i.inject)(Lb),{bodyRef:o,fixedRowHeight:a,gridHeight:s,hasHeader:l,headerRef:u,headerHeight:d,totalHeight:f,forceUpdate:h,itemKey:p,onItemRendered:m,resetAfterRowIndex:g,scrollTo:A,scrollToTop:v,scrollToRow:y,scrollLeft:O}=(e=>{const t=(0,i.ref)(),n=(0,i.ref)(),r=(0,i.ref)(0),o=(0,i.computed)((()=>{const{data:t,rowHeight:n,estimatedRowHeight:r}=e;if(!r)return t.length*n})),a=(0,i.computed)((()=>{const{fixedData:t,rowHeight:n}=e;return((null==t?void 0:t.length)||0)*n})),s=(0,i.computed)((()=>zb(e.headerHeight))),l=(0,i.computed)((()=>{const{height:t}=e;return Math.max(0,t-(0,i.unref)(s)-(0,i.unref)(a))})),u=(0,i.computed)((()=>(0,i.unref)(s)+(0,i.unref)(a)>0));return(0,i.watch)((()=>e.bodyWidth),(()=>{var t;(0,c.Et)(e.estimatedRowHeight)&&(null==(t=n.value)||t.resetAfter({columnIndex:0},!1))})),{bodyRef:n,forceUpdate:function(){var e,r;null==(e=(0,i.unref)(n))||e.$forceUpdate(),null==(r=(0,i.unref)(t))||r.$forceUpdate()},fixedRowHeight:a,gridHeight:l,hasHeader:u,headerHeight:s,headerRef:t,totalHeight:o,itemKey:({data:t,rowIndex:n})=>t[n][e.rowKey],onItemRendered:function({rowCacheStart:t,rowCacheEnd:n,rowVisibleStart:r,rowVisibleEnd:o}){var i;null==(i=e.onRowsRendered)||i.call(e,{rowCacheStart:t,rowCacheEnd:n,rowVisibleStart:r,rowVisibleEnd:o})},resetAfterRowIndex:function(e,t){var r;null==(r=n.value)||r.resetAfterRowIndex(e,t)},scrollTo:function(e,o){const a=(0,i.unref)(t),s=(0,i.unref)(n);(0,se.Gv)(e)?(null==a||a.scrollToLeft(e.scrollLeft),r.value=e.scrollLeft,null==s||s.scrollTo(e)):(null==a||a.scrollToLeft(e),r.value=e,null==s||s.scrollTo({scrollLeft:e,scrollTop:o}))},scrollToTop:function(e){var t;null==(t=(0,i.unref)(n))||t.scrollTo({scrollTop:e})},scrollToRow:function(e,t){var r;null==(r=(0,i.unref)(n))||r.scrollToItem(e,1,t)},scrollLeft:r}})(e);(0,i.provide)("tableV2GridScrollLeft",O),n({forceUpdate:h,totalHeight:f,scrollTo:A,scrollToTop:v,scrollToRow:y,resetAfterRowIndex:g});const b=()=>e.bodyWidth;return()=>{const{cache:n,columns:f,data:h,fixedData:g,useIsScrolling:A,scrollbarAlwaysOn:v,scrollbarEndGap:y,scrollbarStartGap:O,style:w,rowHeight:_,bodyWidth:x,estimatedRowHeight:S,headerWidth:k,height:C,width:B,getRowHeight:Q,onScroll:T}=e,E=(0,c.Et)(S),P=E?gw:Aw,$=(0,i.unref)(d);return(0,i.createVNode)("div",{role:"table",class:[r.e("table"),e.class],style:w},[(0,i.createVNode)(P,{ref:o,data:h,useIsScrolling:A,itemKey:p,columnCache:0,columnWidth:E?b:x,totalColumn:1,totalRow:h.length,rowCache:n,rowHeight:E?Q:_,width:B,height:(0,i.unref)(s),class:r.e("body"),role:"rowgroup",scrollbarStartGap:O,scrollbarEndGap:y,scrollbarAlwaysOn:v,onScroll:T,onItemRendered:m,perfMode:!1},{default:e=>{var n;const r=h[e.rowIndex];return null==(n=t.row)?void 0:n.call(t,{...e,columns:f,rowData:r})}}),(0,i.unref)(l)&&(0,i.createVNode)(nw,{ref:u,class:r.e("header-wrapper"),columns:f,headerData:h,headerHeight:e.headerHeight,fixedHeaderData:g,rowWidth:k,rowHeight:_,width:B,height:Math.min($+(0,i.unref)(a),C)},{dynamic:t.header,fixed:t.row})])}}});var yw=vw,Ow=(e,{slots:t})=>{const{mainTableRef:n,...r}=e;return(0,i.createVNode)(yw,(0,i.mergeProps)({ref:n},r),function(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,i.isVNode)(e)}(t)?t:{default:()=>[t]})},bw=(e,{slots:t})=>{if(!e.columns.length)return;const{leftTableRef:n,...r}=e;return(0,i.createVNode)(yw,(0,i.mergeProps)({ref:n},r),function(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,i.isVNode)(e)}(t)?t:{default:()=>[t]})},ww=(e,{slots:t})=>{if(!e.columns.length)return;const{rightTableRef:n,...r}=e;return(0,i.createVNode)(yw,(0,i.mergeProps)({ref:n},r),function(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,i.isVNode)(e)}(t)?t:{default:()=>[t]})};const _w=(0,i.defineComponent)({name:"ElTableV2TableRow",props:Yb,setup(e,{expose:t,slots:n,attrs:r}){const{eventHandlers:o,isScrolling:a,measurable:s,measured:l,rowRef:u,onExpand:d}=(e=>{const{isScrolling:t}=(0,i.inject)(Lb),n=(0,i.ref)(!1),r=(0,i.ref)(),o=(0,i.computed)((()=>(0,c.Et)(e.estimatedRowHeight)&&e.rowIndex>=0)),a=(0,i.computed)((()=>{const{rowData:t,rowIndex:n,rowKey:r,onRowHover:o}=e,i=e.rowEventHandlers||{},a={};return Object.entries(i).forEach((([e,o])=>{(0,se.Tn)(o)&&(a[e]=e=>{o({event:e,rowData:t,rowIndex:n,rowKey:r})})})),o&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach((({name:e,hovered:i})=>{const s=a[e];a[e]=e=>{o({event:e,hovered:i,rowData:t,rowIndex:n,rowKey:r}),null==s||s(e)}})),a}));return(0,i.onMounted)((()=>{(0,i.unref)(o)&&((t=!1)=>{const o=(0,i.unref)(r);if(!o)return;const{columns:a,onRowHeightChange:s,rowKey:l,rowIndex:c,style:u}=e,{height:d}=o.getBoundingClientRect();n.value=!0,(0,i.nextTick)((()=>{if(t||d!==Number.parseInt(u.height)){const e=a[0],t=(null==e?void 0:e.placeholderSign)===$b;null==s||s({rowKey:l,height:d,rowIndex:c},e&&!t&&e.fixed)}}))})(!0)})),{isScrolling:t,measurable:o,measured:n,rowRef:r,eventHandlers:a,onExpand:t=>{const{onRowExpand:n,rowData:r,rowIndex:o,rowKey:i}=e;null==n||n({expanded:t,rowData:r,rowIndex:o,rowKey:i})}}})(e);return t({onExpand:d}),()=>{const{columns:t,columnsStyles:c,expandColumnKey:f,depth:h,rowData:p,rowIndex:m,style:g}=e;let A=t.map(((e,r)=>{const o=(0,se.cy)(p.children)&&p.children.length>0&&e.key===f;return n.cell({column:e,columns:t,columnIndex:r,depth:h,style:c[e.key],rowData:p,rowIndex:m,isScrolling:(0,i.unref)(a),expandIconProps:o?{rowData:p,rowIndex:m,onExpand:d}:void 0})}));if(n.row&&(A=n.row({cells:A.map((e=>(0,se.cy)(e)&&1===e.length?e[0]:e)),style:g,columns:t,depth:h,rowData:p,rowIndex:m,isScrolling:(0,i.unref)(a)})),(0,i.unref)(s)){const{height:t,...n}=g||{},a=(0,i.unref)(l);return(0,i.createVNode)("div",(0,i.mergeProps)({ref:u,class:e.class,style:a?g:n,role:"row"},r,(0,i.unref)(o)),[A])}return(0,i.createVNode)("div",(0,i.mergeProps)(r,{ref:u,class:e.class,style:g,role:"row"},(0,i.unref)(o)),[A])}}});var xw=_w,Sw=(e,{slots:t})=>{const{columns:n,columnsStyles:r,depthMap:o,expandColumnKey:a,expandedRowKeys:s,estimatedRowHeight:l,hasFixedColumns:c,rowData:u,rowIndex:d,style:f,isScrolling:h,rowProps:p,rowClass:m,rowKey:g,rowEventHandlers:A,ns:v,onRowHovered:y,onRowExpanded:O}=e,b=Rb(m,{columns:n,rowData:u,rowIndex:d},""),w=Rb(p,{columns:n,rowData:u,rowIndex:d}),_=u[g],x=o[_]||0,S=Boolean(a),k=d<0,C=[v.e("row"),b,{[v.e(`row-depth-${x}`)]:S&&d>=0,[v.is("expanded")]:S&&s.includes(_),[v.is("fixed")]:!x&&k,[v.is("customized")]:Boolean(t.row)}],B=c?y:void 0,Q={...w,columns:n,columnsStyles:r,class:C,depth:x,expandColumnKey:a,estimatedRowHeight:k?void 0:l,isScrolling:h,rowIndex:d,rowData:u,rowKey:_,rowEventHandlers:A,style:f};return(0,i.createVNode)(xw,(0,i.mergeProps)(Q,{onRowExpand:O,onMouseenter:e=>{null==B||B({hovered:!0,rowKey:_,event:e,rowData:u,rowIndex:d})},onMouseleave:e=>{null==B||B({hovered:!1,rowKey:_,event:e,rowData:u,rowIndex:d})},rowkey:_}),function(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,i.isVNode)(e)}(t)?t:{default:()=>[t]})};const kw=(e,{slots:t})=>{var n;const{cellData:r,style:o}=e,a=(null==(n=null==r?void 0:r.toString)?void 0:n.call(r))||"",s=(0,i.renderSlot)(t,"default",e,(()=>[a]));return(0,i.createVNode)("div",{class:e.class,title:a,style:o},[s])};kw.displayName="ElTableV2Cell",kw.inheritAttrs=!1;var Cw=kw,Bw=e=>{const{expanded:t,expandable:n,onExpand:r,style:o,size:a}=e,s={onClick:n?()=>r(!t):void 0,class:e.class};return(0,i.createVNode)(_.tk,(0,i.mergeProps)(s,{size:a,style:o}),{default:()=>[(0,i.createVNode)(j.ArrowRight,null,null)]})};const Qw=({columns:e,column:t,columnIndex:n,depth:r,expandIconProps:o,isScrolling:a,rowData:s,rowIndex:l,style:c,expandedRowKeys:u,ns:d,cellProps:f,expandColumnKey:h,indentSize:p,iconSize:m,rowKey:g},{slots:A})=>{const v=Db(c);if(t.placeholderSign===$b)return(0,i.createVNode)("div",{class:d.em("row-cell","placeholder"),style:v},null);const{cellRenderer:y,dataKey:O,dataGetter:b}=t,w=(0,se.Tn)(b)?b({columns:e,column:t,columnIndex:n,rowData:s,rowIndex:l}):(0,_m.A)(s,null!=O?O:""),_=Rb(f,{cellData:w,columns:e,column:t,columnIndex:n,rowIndex:l,rowData:s}),x={class:d.e("cell-text"),columns:e,column:t,columnIndex:n,cellData:w,isScrolling:a,rowData:s,rowIndex:l},S=Ib(y),k=S?S(x):(0,i.renderSlot)(A,"default",x,(()=>[(0,i.createVNode)(Cw,x,null)])),C=[d.e("row-cell"),t.class,t.align===Tb.CENTER&&d.is("align-center"),t.align===Tb.RIGHT&&d.is("align-right")],B=l>=0&&h&&t.key===h,Q=l>=0&&u.includes(s[g]);let T;const E=`margin-inline-start: ${r*p}px;`;return B&&(T=(0,se.Gv)(o)?(0,i.createVNode)(Bw,(0,i.mergeProps)(o,{class:[d.e("expand-icon"),d.is("expanded",Q)],size:m,expanded:Q,style:E,expandable:!0}),null):(0,i.createVNode)("div",{style:[E,`width: ${m}px; height: ${m}px;`].join(" ")},null)),(0,i.createVNode)("div",(0,i.mergeProps)({class:C,style:v},_,{role:"cell"}),[T,k])};Qw.inheritAttrs=!1;var Tw=Qw;const Ew=(0,l.b_)({class:String,columns:Ub,columnsStyles:{type:(0,l.jq)(Object),required:!0},headerIndex:Number,style:{type:(0,l.jq)(Object)}}),Pw=(0,i.defineComponent)({name:"ElTableV2HeaderRow",props:Ew,setup(e,{slots:t}){return()=>{const{columns:n,columnsStyles:r,headerIndex:o,style:a}=e;let s=n.map(((e,i)=>t.cell({columns:n,column:e,columnIndex:i,headerIndex:o,style:r[e.key]})));return t.header&&(s=t.header({cells:s.map((e=>(0,se.cy)(e)&&1===e.length?e[0]:e)),columns:n,headerIndex:o})),(0,i.createVNode)("div",{class:e.class,style:a,role:"row"},[s])}}});var $w=Pw,Mw=({columns:e,columnsStyles:t,headerIndex:n,style:r,headerClass:o,headerProps:a,ns:s},{slots:l})=>{const c={columns:e,headerIndex:n},u=[s.e("header-row"),Rb(o,c,""),{[s.is("customized")]:Boolean(l.header)}],d={...Rb(a,c),columnsStyles:t,class:u,columns:e,headerIndex:n,style:r};return(0,i.createVNode)($w,d,function(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,i.isVNode)(e)}(l)?l:{default:()=>[l]})};const zw=(e,{slots:t})=>(0,i.renderSlot)(t,"default",e,(()=>{var t,n;return[(0,i.createVNode)("div",{class:e.class,title:null==(t=e.column)?void 0:t.title},[null==(n=e.column)?void 0:n.title])]}));zw.displayName="ElTableV2HeaderCell",zw.inheritAttrs=!1;var Rw=zw,Dw=e=>{const{sortOrder:t}=e;return(0,i.createVNode)(_.tk,{size:14,class:e.class},{default:()=>[t===Qb.ASC?(0,i.createVNode)(j.SortUp,null,null):(0,i.createVNode)(j.SortDown,null,null)]})},Iw=(e,{slots:t})=>{const{column:n,ns:r,style:o,onColumnSorted:a}=e,s=Db(o);if(n.placeholderSign===$b)return(0,i.createVNode)("div",{class:r.em("header-row-cell","placeholder"),style:s},null);const{headerCellRenderer:l,headerClass:c,sortable:u}=n,d={...e,class:r.e("header-cell-text")},f=Ib(l),h=f?f(d):(0,i.renderSlot)(t,"default",d,(()=>[(0,i.createVNode)(Rw,d,null)])),{sortBy:p,sortState:m,headerCellProps:g}=e;let A,v;if(m){const e=m[n.key];A=Boolean(Pb[e]),v=A?e:Qb.ASC}else A=n.key===p.key,v=A?p.order:Qb.ASC;const y=[r.e("header-cell"),Rb(c,e,""),n.align===Tb.CENTER&&r.is("align-center"),n.align===Tb.RIGHT&&r.is("align-right"),u&&r.is("sortable")],O={...Rb(g,e),onClick:n.sortable?a:void 0,class:y,style:s,"data-key":n.key};return(0,i.createVNode)("div",(0,i.mergeProps)(O,{role:"columnheader"}),[h,u&&(0,i.createVNode)(Dw,{class:[r.e("sort-icon"),A&&r.is("sorting")],sortOrder:v},null)])};const Nw=(e,{slots:t})=>{var n;return(0,i.createVNode)("div",{class:e.class,style:e.style},[null==(n=t.default)?void 0:n.call(t)])};Nw.displayName="ElTableV2Footer";var Lw=Nw;const Vw=(e,{slots:t})=>{const n=(0,i.renderSlot)(t,"default",{},(()=>[(0,i.createVNode)(oh,null,null)]));return(0,i.createVNode)("div",{class:e.class,style:e.style},[n])};Vw.displayName="ElTableV2Empty";var Uw=Vw;const Fw=(e,{slots:t})=>{var n;return(0,i.createVNode)("div",{class:e.class,style:e.style},[null==(n=t.default)?void 0:n.call(t)])};Fw.displayName="ElTableV2Overlay";var Hw=Fw;function Ww(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,i.isVNode)(e)}const Xw=(0,i.defineComponent)({name:"ElTableV2",props:ew,setup(e,{slots:t,expose:n}){const r=(0,h.DU)("table-v2"),{columnsStyles:o,fixedColumnsOnLeft:a,fixedColumnsOnRight:s,mainColumns:l,mainTableHeight:c,fixedTableHeight:u,leftTableWidth:d,rightTableWidth:f,data:p,depthMap:m,expandedRowKeys:g,hasFixedColumns:A,mainTableRef:v,leftTableRef:y,rightTableRef:O,isDynamic:b,isResetting:w,isScrolling:_,bodyWidth:x,emptyStyle:S,rootStyle:k,headerWidth:C,footerHeight:B,showEmpty:Q,scrollTo:T,scrollToLeft:E,scrollToTop:P,scrollToRow:$,getRowHeight:M,onColumnSorted:z,onRowHeightChange:R,onRowHovered:D,onRowExpanded:I,onRowsRendered:N,onScroll:L,onVerticalScroll:V}=Nb(e);return n({scrollTo:T,scrollToLeft:E,scrollToTop:P,scrollToRow:$}),(0,i.provide)(Lb,{ns:r,isResetting:w,isScrolling:_}),()=>{const{cache:n,cellProps:h,estimatedRowHeight:w,expandColumnKey:_,fixedData:T,headerHeight:E,headerClass:P,headerProps:$,headerCellProps:U,sortBy:F,sortState:H,rowHeight:W,rowClass:X,rowEventHandlers:j,rowKey:q,rowProps:Z,scrollbarAlwaysOn:Y,indentSize:G,iconSize:K,useIsScrolling:J,vScrollbarSize:ee,width:te}=e,ne=(0,i.unref)(p),re={cache:n,class:r.e("main"),columns:(0,i.unref)(l),data:ne,fixedData:T,estimatedRowHeight:w,bodyWidth:(0,i.unref)(x)+ee,headerHeight:E,headerWidth:(0,i.unref)(C),height:(0,i.unref)(c),mainTableRef:v,rowKey:q,rowHeight:W,scrollbarAlwaysOn:Y,scrollbarStartGap:2,scrollbarEndGap:ee,useIsScrolling:J,width:te,getRowHeight:M,onRowsRendered:N,onScroll:L},oe=(0,i.unref)(d),ie=(0,i.unref)(u),ae={cache:n,class:r.e("left"),columns:(0,i.unref)(a),data:ne,fixedData:T,estimatedRowHeight:w,leftTableRef:y,rowHeight:W,bodyWidth:oe,headerWidth:oe,headerHeight:E,height:ie,rowKey:q,scrollbarAlwaysOn:Y,scrollbarStartGap:2,scrollbarEndGap:ee,useIsScrolling:J,width:oe,getRowHeight:M,onScroll:V},se=(0,i.unref)(f)+ee,le={cache:n,class:r.e("right"),columns:(0,i.unref)(s),data:ne,fixedData:T,estimatedRowHeight:w,rightTableRef:O,rowHeight:W,bodyWidth:se,headerWidth:se,headerHeight:E,height:ie,rowKey:q,scrollbarAlwaysOn:Y,scrollbarStartGap:2,scrollbarEndGap:ee,width:se,style:`--${(0,i.unref)(r.namespace)}-table-scrollbar-size: ${ee}px`,useIsScrolling:J,getRowHeight:M,onScroll:V},ce=(0,i.unref)(o),ue={ns:r,depthMap:(0,i.unref)(m),columnsStyles:ce,expandColumnKey:_,expandedRowKeys:(0,i.unref)(g),estimatedRowHeight:w,hasFixedColumns:(0,i.unref)(A),rowProps:Z,rowClass:X,rowKey:q,rowEventHandlers:j,onRowHovered:D,onRowExpanded:I,onRowHeightChange:R},de={cellProps:h,expandColumnKey:_,indentSize:G,iconSize:K,rowKey:q,expandedRowKeys:(0,i.unref)(g),ns:r},fe={ns:r,headerClass:P,headerProps:$,columnsStyles:ce},he={ns:r,sortBy:F,sortState:H,headerCellProps:U,onColumnSorted:z},pe={row:e=>(0,i.createVNode)(Sw,(0,i.mergeProps)(e,ue),{row:t.row,cell:e=>{let n;return t.cell?(0,i.createVNode)(Tw,(0,i.mergeProps)(e,de,{style:ce[e.column.key]}),Ww(n=t.cell(e))?n:{default:()=>[n]}):(0,i.createVNode)(Tw,(0,i.mergeProps)(e,de,{style:ce[e.column.key]}),null)}}),header:e=>(0,i.createVNode)(Mw,(0,i.mergeProps)(e,fe),{header:t.header,cell:e=>{let n;return t["header-cell"]?(0,i.createVNode)(Iw,(0,i.mergeProps)(e,he,{style:ce[e.column.key]}),Ww(n=t["header-cell"](e))?n:{default:()=>[n]}):(0,i.createVNode)(Iw,(0,i.mergeProps)(e,he,{style:ce[e.column.key]}),null)}})},me=[e.class,r.b(),r.e("root"),{[r.is("dynamic")]:(0,i.unref)(b)}],ge={class:r.e("footer"),style:(0,i.unref)(B)};return(0,i.createVNode)("div",{class:me,style:(0,i.unref)(k)},[(0,i.createVNode)(Ow,re,Ww(pe)?pe:{default:()=>[pe]}),(0,i.createVNode)(bw,ae,Ww(pe)?pe:{default:()=>[pe]}),(0,i.createVNode)(ww,le,Ww(pe)?pe:{default:()=>[pe]}),t.footer&&(0,i.createVNode)(Lw,ge,{default:t.footer}),(0,i.unref)(Q)&&(0,i.createVNode)(Uw,{class:r.e("empty"),style:(0,i.unref)(S)},{default:t.empty}),t.overlay&&(0,i.createVNode)(Hw,{class:r.e("overlay")},{default:t.overlay})])}}});var jw=Xw;const qw=(0,l.b_)({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:(0,l.jq)(Function)}}),Zw=(0,i.defineComponent)({name:"ElAutoResizer",props:qw,setup(e,{slots:t}){const n=(0,h.DU)("auto-resizer"),{height:r,width:o,sizer:s}=(e=>{const t=(0,i.ref)(),n=(0,i.ref)(0),r=(0,i.ref)(0);let o;return(0,i.onMounted)((()=>{o=(0,a.wYm)(t,(([e])=>{const{width:t,height:o}=e.contentRect,{paddingLeft:i,paddingRight:a,paddingTop:s,paddingBottom:l}=getComputedStyle(e.target),c=Number.parseInt(i)||0,u=Number.parseInt(a)||0,d=Number.parseInt(s)||0,f=Number.parseInt(l)||0;n.value=t-c-u,r.value=o-d-f})).stop})),(0,i.onBeforeUnmount)((()=>{null==o||o()})),(0,i.watch)([n,r],(([t,n])=>{var r;null==(r=e.onResize)||r.call(e,{width:t,height:n})})),{sizer:t,width:n,height:r}})(e),l={width:"100%",height:"100%"};return()=>{var e;return(0,i.createVNode)("div",{ref:s,class:n.b(),style:l},[null==(e=t.default)?void 0:e.call(t,{height:r.value,width:o.value})])}}});var Yw=Zw;const Gw=(0,b.GU)(jw),Kw=(0,b.GU)(Yw),Jw=Symbol("tabsRootContextKey"),e_=(0,l.b_)({tabs:{type:(0,l.jq)(Array),default:()=>(0,fl.f)([])}}),t_="ElTabBar",n_=(0,i.defineComponent)({name:t_}),r_=(0,i.defineComponent)({...n_,props:e_,setup(e,{expose:t}){const n=e,r=(0,i.getCurrentInstance)(),o=(0,i.inject)(Jw);o||(0,g.$)(t_,"<el-tabs><el-tab-bar /></el-tabs>");const s=(0,h.DU)("tabs"),l=(0,i.ref)(),c=(0,i.ref)(),u=()=>c.value=(()=>{let e=0,t=0;const i=["top","bottom"].includes(o.props.tabPosition)?"width":"height",a="width"===i?"x":"y",s="x"===a?"left":"top";return n.tabs.every((n=>{var o,a;const l=null==(a=null==(o=r.parent)?void 0:o.refs)?void 0:a[`tab-${n.uid}`];if(!l)return!1;if(!n.active)return!0;e=l[`offset${Ts(s)}`],t=l[`client${Ts(i)}`];const c=window.getComputedStyle(l);return"width"===i&&(t-=Number.parseFloat(c.paddingLeft)+Number.parseFloat(c.paddingRight),e+=Number.parseFloat(c.paddingLeft)),!1})),{[i]:`${t}px`,transform:`translate${Ts(a)}(${e}px)`}})(),d=[];(0,i.watch)((()=>n.tabs),(async()=>{await(0,i.nextTick)(),u(),(()=>{var e;d.forEach((e=>e.stop())),d.length=0;const t=null==(e=r.parent)?void 0:e.refs;if(t)for(const e in t)if(e.startsWith("tab-")){const n=t[e];n&&d.push((0,a.wYm)(n,u))}})()}),{immediate:!0});const f=(0,a.wYm)(l,(()=>u()));return(0,i.onBeforeUnmount)((()=>{d.forEach((e=>e.stop())),d.length=0,f.stop()})),t({ref:l,update:u}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"barRef",ref:l,class:(0,i.normalizeClass)([(0,i.unref)(s).e("active-bar"),(0,i.unref)(s).is((0,i.unref)(o).props.tabPosition)]),style:(0,i.normalizeStyle)(c.value)},null,6))}});var o_=(0,f.A)(r_,[["__file","tab-bar.vue"]]);const i_=(0,l.b_)({panes:{type:(0,l.jq)(Array),default:()=>(0,fl.f)([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),a_={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},s_="ElTabNav",l_=(0,i.defineComponent)({name:s_,props:i_,emits:a_,setup(e,{expose:t,emit:n}){const r=(0,i.inject)(Jw);r||(0,g.$)(s_,"<el-tabs><tab-nav /></el-tabs>");const o=(0,h.DU)("tabs"),s=(0,a.fho)(),l=(0,a.esz)(),c=(0,i.ref)(),u=(0,i.ref)(),d=(0,i.ref)(),f=(0,i.ref)(),p=(0,i.ref)(!1),m=(0,i.ref)(0),A=(0,i.ref)(!1),v=(0,i.ref)(!0),y=(0,i.computed)((()=>["top","bottom"].includes(r.props.tabPosition)?"width":"height")),O=(0,i.computed)((()=>({transform:`translate${"width"===y.value?"X":"Y"}(-${m.value}px)`}))),b=()=>{if(!c.value)return;const e=c.value[`offset${Ts(y.value)}`],t=m.value;if(!t)return;const n=t>e?t-e:0;m.value=n},w=()=>{if(!c.value||!u.value)return;const e=u.value[`offset${Ts(y.value)}`],t=c.value[`offset${Ts(y.value)}`],n=m.value;if(e-n<=t)return;const r=e-n>2*t?n+t:e-t;m.value=r},x=async()=>{const e=u.value;if(!(p.value&&d.value&&c.value&&e))return;await(0,i.nextTick)();const t=d.value.querySelector(".is-active");if(!t)return;const n=c.value,o=["top","bottom"].includes(r.props.tabPosition),a=t.getBoundingClientRect(),s=n.getBoundingClientRect(),l=o?e.offsetWidth-s.width:e.offsetHeight-s.height,f=m.value;let h=f;o?(a.left<s.left&&(h=f-(s.left-a.left)),a.right>s.right&&(h=f+a.right-s.right)):(a.top<s.top&&(h=f-(s.top-a.top)),a.bottom>s.bottom&&(h=f+(a.bottom-s.bottom))),h=Math.max(h,0),m.value=Math.min(h,l)},S=()=>{var t;if(!u.value||!c.value)return;e.stretch&&(null==(t=f.value)||t.update());const n=u.value[`offset${Ts(y.value)}`],r=c.value[`offset${Ts(y.value)}`],o=m.value;r<n?(p.value=p.value||{},p.value.prev=o,p.value.next=o+r<n,n-o<r&&(m.value=n-r)):(p.value=!1,o>0&&(m.value=0))},k=e=>{let t=0;switch(e.code){case Wt.R.left:case Wt.R.up:t=-1;break;case Wt.R.right:case Wt.R.down:t=1;break;default:return}const n=Array.from(e.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let r=n.indexOf(e.target)+t;r<0?r=n.length-1:r>=n.length&&(r=0),n[r].focus({preventScroll:!0}),n[r].click(),C()},C=()=>{v.value&&(A.value=!0)},B=()=>A.value=!1;return(0,i.watch)(s,(e=>{"hidden"===e?v.value=!1:"visible"===e&&setTimeout((()=>v.value=!0),50)})),(0,i.watch)(l,(e=>{e?setTimeout((()=>v.value=!0),50):v.value=!1})),(0,a.wYm)(d,S),(0,i.onMounted)((()=>setTimeout((()=>x()),0))),(0,i.onUpdated)((()=>S())),t({scrollToActiveTab:x,removeFocus:B}),()=>{const t=p.value?[(0,i.createVNode)("span",{class:[o.e("nav-prev"),o.is("disabled",!p.value.prev)],onClick:b},[(0,i.createVNode)(_.tk,null,{default:()=>[(0,i.createVNode)(j.ArrowLeft,null,null)]})]),(0,i.createVNode)("span",{class:[o.e("nav-next"),o.is("disabled",!p.value.next)],onClick:w},[(0,i.createVNode)(_.tk,null,{default:()=>[(0,i.createVNode)(j.ArrowRight,null,null)]})])]:null,a=e.panes.map(((t,a)=>{var s,l,c,u;const d=t.uid,f=t.props.disabled,h=null!=(l=null!=(s=t.props.name)?s:t.index)?l:`${a}`,p=!f&&(t.isClosable||e.editable);t.index=`${a}`;const m=p?(0,i.createVNode)(_.tk,{class:"is-icon-close",onClick:e=>n("tabRemove",t,e)},{default:()=>[(0,i.createVNode)(j.Close,null,null)]}):null,g=(null==(u=(c=t.slots).label)?void 0:u.call(c))||t.props.label,v=!f&&t.active?0:-1;return(0,i.createVNode)("div",{ref:`tab-${d}`,class:[o.e("item"),o.is(r.props.tabPosition),o.is("active",t.active),o.is("disabled",f),o.is("closable",p),o.is("focus",A.value)],id:`tab-${h}`,key:`tab-${d}`,"aria-controls":`pane-${h}`,role:"tab","aria-selected":t.active,tabindex:v,onFocus:()=>C(),onBlur:()=>B(),onClick:e=>{B(),n("tabClick",t,h,e)},onKeydown:e=>{!p||e.code!==Wt.R.delete&&e.code!==Wt.R.backspace||n("tabRemove",t,e)}},[g,m])}));return(0,i.createVNode)("div",{ref:d,class:[o.e("nav-wrap"),o.is("scrollable",!!p.value),o.is(r.props.tabPosition)]},[t,(0,i.createVNode)("div",{class:o.e("nav-scroll"),ref:c},[(0,i.createVNode)("div",{class:[o.e("nav"),o.is(r.props.tabPosition),o.is("stretch",e.stretch&&["top","bottom"].includes(r.props.tabPosition))],ref:u,style:O.value,role:"tablist",onKeydown:k},[e.type?null:(0,i.createVNode)(o_,{ref:f,tabs:[...e.panes]},null),a])])])}}}),c_=(0,l.b_)({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:(0,l.jq)(Function),default:()=>!0},stretch:Boolean}),u_=e=>(0,se.Kg)(e)||(0,c.Et)(e),d_={[s.l4]:e=>u_(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>u_(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>u_(e),tabAdd:()=>!0},f_=(0,i.defineComponent)({name:"ElTabs",props:c_,emits:d_,setup(e,{emit:t,slots:n,expose:r}){var o;const a=(0,h.DU)("tabs"),l=(0,i.computed)((()=>["left","right"].includes(e.tabPosition))),{children:u,addChild:d,removeChild:f}=go((0,i.getCurrentInstance)(),"ElTabPane"),p=(0,i.ref)(),m=(0,i.ref)(null!=(o=e.modelValue)?o:"0"),g=async(n,r=!1)=>{var o,i;if(m.value!==n&&!(0,c.b0)(n))try{let a;if(e.beforeLeave){const t=e.beforeLeave(n,m.value);a=t instanceof Promise?await t:t}else a=!0;!1!==a&&(m.value=n,r&&(t(s.l4,n),t("tabChange",n)),null==(i=null==(o=p.value)?void 0:o.removeFocus)||i.call(o))}catch(e){}},A=(e,n,r)=>{e.props.disabled||(g(n,!0),t("tabClick",e,r))},v=(e,n)=>{e.props.disabled||(0,c.b0)(e.props.name)||(n.stopPropagation(),t("edit",e.props.name,"remove"),t("tabRemove",e.props.name))},y=()=>{t("edit",void 0,"add"),t("tabAdd")};(0,i.watch)((()=>e.modelValue),(e=>g(e))),(0,i.watch)(m,(async()=>{var e;await(0,i.nextTick)(),null==(e=p.value)||e.scrollToActiveTab()})),(0,i.provide)(Jw,{props:e,currentName:m,registerPane:e=>{u.value.push(e)},sortPane:d,unregisterPane:f}),r({currentName:m});const O=({render:e})=>e();return()=>{const t=n["add-icon"],r=e.editable||e.addable?(0,i.createVNode)("div",{class:[a.e("new-tab"),l.value&&a.e("new-tab-vertical")],tabindex:"0",onClick:y,onKeydown:e=>{[Wt.R.enter,Wt.R.numpadEnter].includes(e.code)&&y()}},[t?(0,i.renderSlot)(n,"add-icon"):(0,i.createVNode)(_.tk,{class:a.is("icon-plus")},{default:()=>[(0,i.createVNode)(j.Plus,null,null)]})]):null,o=(0,i.createVNode)("div",{class:[a.e("header"),l.value&&a.e("header-vertical"),a.is(e.tabPosition)]},[(0,i.createVNode)(O,{render:()=>{const t=u.value.some((e=>e.slots.label));return(0,i.createVNode)(l_,{ref:p,currentName:m.value,editable:e.editable,type:e.type,panes:u.value,stretch:e.stretch,onTabClick:A,onTabRemove:v},{$stable:!t})}},null),r]),s=(0,i.createVNode)("div",{class:a.e("content")},[(0,i.renderSlot)(n,"default")]);return(0,i.createVNode)("div",{class:[a.b(),a.m(e.tabPosition),{[a.m("card")]:"card"===e.type,[a.m("border-card")]:"border-card"===e.type}]},[s,o])}}});var h_=f_;const p_=(0,l.b_)({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),m_="ElTabPane",g_=(0,i.defineComponent)({name:m_}),A_=(0,i.defineComponent)({...g_,props:p_,setup(e){const t=e,n=(0,i.getCurrentInstance)(),r=(0,i.useSlots)(),o=(0,i.inject)(Jw);o||(0,g.$)(m_,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const a=(0,h.DU)("tab-pane"),s=(0,i.ref)(),l=(0,i.computed)((()=>t.closable||o.props.closable)),c=(0,Y.uA)((()=>{var e;return o.currentName.value===(null!=(e=t.name)?e:s.value)})),u=(0,i.ref)(c.value),d=(0,i.computed)((()=>{var e;return null!=(e=t.name)?e:s.value})),f=(0,Y.uA)((()=>!t.lazy||u.value||c.value));(0,i.watch)(c,(e=>{e&&(u.value=!0)}));const p=(0,i.reactive)({uid:n.uid,slots:r,props:t,paneName:d,active:c,index:s,isClosable:l});return o.registerPane(p),(0,i.onMounted)((()=>{o.sortPane(p)})),(0,i.onUnmounted)((()=>{o.unregisterPane(p.uid)})),(e,t)=>(0,i.unref)(f)?(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,id:`pane-${(0,i.unref)(d)}`,class:(0,i.normalizeClass)((0,i.unref)(a).b()),role:"tabpanel","aria-hidden":!(0,i.unref)(c),"aria-labelledby":`tab-${(0,i.unref)(d)}`},[(0,i.renderSlot)(e.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[i.vShow,(0,i.unref)(c)]]):(0,i.createCommentVNode)("v-if",!0)}});var v_=(0,f.A)(A_,[["__file","tab-pane.vue"]]);const y_=(0,b.GU)(h_,{TabPane:v_}),O_=(0,b.WM)(v_),b_=(0,l.b_)({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:ir.I,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),w_=(0,i.defineComponent)({name:"ElText"}),__=(0,i.defineComponent)({...w_,props:b_,setup(e){const t=e,n=(0,i.ref)(),r=(0,Jn.NV)(),o=(0,h.DU)("text"),a=(0,i.computed)((()=>[o.b(),o.m(t.type),o.m(r.value),o.is("truncated",t.truncated),o.is("line-clamp",!(0,c.b0)(t.lineClamp))])),s=(0,i.useAttrs)().title,l=()=>{var e,r,o,i,a;if(s)return;let l=!1;const u=(null==(e=n.value)?void 0:e.textContent)||"";if(t.truncated){const e=null==(r=n.value)?void 0:r.offsetWidth,t=null==(o=n.value)?void 0:o.scrollWidth;e&&t&&t>e&&(l=!0)}else if(!(0,c.b0)(t.lineClamp)){const e=null==(i=n.value)?void 0:i.offsetHeight,t=null==(a=n.value)?void 0:a.scrollHeight;e&&t&&t>e&&(l=!0)}l?n.value.setAttribute("title",u):n.value.removeAttribute("title")};return(0,i.onMounted)(l),(0,i.onUpdated)(l),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.tag),{ref_key:"textRef",ref:n,class:(0,i.normalizeClass)((0,i.unref)(a)),style:(0,i.normalizeStyle)({"-webkit-line-clamp":e.lineClamp})},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},8,["class","style"]))}});var x_=(0,f.A)(__,[["__file","text.vue"]]);const S_=(0,b.GU)(x_);var k_=function(e){return e!=e},C_=function(e,t){return!(null==e||!e.length)&&function(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Tm(e,k_,n)}(e,t,0)>-1},B_=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1},Q_=Pi&&1/wa(new Pi([,-0]))[1]==1/0?function(e){return new Pi(e)}:function(){},T_=Zy((function(e){return function(e,t,n){var r=-1,o=C_,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=B_;else if(i>=200){var c=t?null:Q_(e);if(c)return wa(c);a=!1,o=va,l=new ga}else l=t?[]:s;e:for(;++r<i;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d==d){for(var f=l.length;f--;)if(l[f]===d)continue e;t&&l.push(d),s.push(u)}else o(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}((0,$a.A)(e,1,Dy,!0))}));const E_=(0,l.b_)({...jc,parsedValue:{type:(0,l.jq)(Array)}}),P_=(0,i.defineComponent)({__name:"panel-time-range",props:E_,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=(e,t)=>{const n=[];for(let r=e;r<=t;r++)n.push(r);return n},{t:o,lang:a}=(0,wr.Ym)(),s=(0,h.DU)("time"),l=(0,h.DU)("picker"),c=(0,i.inject)("EP_PICKER_BASE"),{arrowControl:u,disabledHours:d,disabledMinutes:f,disabledSeconds:p,defaultValue:m}=c.props,g=(0,i.computed)((()=>[s.be("range-picker","body"),s.be("panel","content"),s.is("arrow",u),b.value?"has-seconds":""])),A=(0,i.computed)((()=>[s.be("range-picker","body"),s.be("panel","content"),s.is("arrow",u),b.value?"has-seconds":""])),v=(0,i.computed)((()=>n.parsedValue[0])),y=(0,i.computed)((()=>n.parsedValue[1])),O=Bu(n),b=(0,i.computed)((()=>n.format.includes("ss"))),w=(0,i.computed)((()=>n.format.includes("A")?"A":n.format.includes("a")?"a":"")),_=e=>{S(e.millisecond(0),y.value)},x=e=>{S(v.value,e.millisecond(0))},S=(e,r)=>{n.visible&&t("pick",[e,r],!0)},k=(0,i.computed)((()=>v.value>y.value)),C=(0,i.ref)([0,2]),B=(e,n)=>{t("select-range",e,n,"min"),C.value=[e,n]},Q=(0,i.computed)((()=>b.value?11:8)),T=(e,n)=>{t("select-range",e,n,"max");const r=(0,i.unref)(Q);C.value=[e+r,n+r]},E=(e,t)=>{const n=d?d(e):[],o="start"===e,i=(t||(o?y.value:v.value)).hour(),a=o?r(i+1,23):r(0,i-1);return T_(n,a)},P=(e,t,n)=>{const o=f?f(e,t):[],i="start"===t,a=n||(i?y.value:v.value);if(e!==a.hour())return o;const s=a.minute(),l=i?r(s+1,59):r(0,s-1);return T_(o,l)},$=(e,t,n,o)=>{const i=p?p(e,t,n):[],a="start"===n,s=o||(a?y.value:v.value),l=s.hour(),c=s.minute();if(e!==l||t!==c)return i;const u=s.second(),d=a?r(u+1,59):r(0,u-1);return T_(i,d)},M=([e,t])=>[N(e,"start",!0,t),N(t,"end",!1,e)],{getAvailableHours:z,getAvailableMinutes:R,getAvailableSeconds:D}=Cu(E,P,$),{timePickerOptions:I,getAvailableTime:N,onSetOption:L}=xu({getAvailableHours:z,getAvailableMinutes:R,getAvailableSeconds:D});return t("set-picker-option",["formatToString",e=>e?(0,se.cy)(e)?e.map((e=>e.format(n.format))):e.format(n.format):null]),t("set-picker-option",["parseUserInput",e=>e?(0,se.cy)(e)?e.map((e=>$r(e,n.format).locale(a.value))):$r(e,n.format).locale(a.value):null]),t("set-picker-option",["isValidValue",e=>{const t=e.map((e=>$r(e).locale(a.value))),n=M(t);return t[0].isSame(n[0])&&t[1].isSame(n[1])}]),t("set-picker-option",["handleKeydownInput",e=>{const t=e.code,{left:n,right:r,up:o,down:i}=Wt.R;if([n,r].includes(t))return(e=>{const t=b.value?[0,3,6,11,14,17]:[0,3,8,11],n=["hours","minutes"].concat(b.value?["seconds"]:[]),r=(t.indexOf(C.value[0])+e+t.length)%t.length,o=t.length/2;r<o?I.start_emitSelectRange(n[r]):I.end_emitSelectRange(n[r-o])})(t===n?-1:1),void e.preventDefault();if([o,i].includes(t)){const n=t===o?-1:1,r=C.value[0]<Q.value?"start":"end";return I[`${r}_scrollDown`](n),void e.preventDefault()}}]),t("set-picker-option",["getDefaultValue",()=>{if((0,se.cy)(m))return m.map((e=>$r(e).locale(a.value)));const e=$r(m).locale(a.value);return[e,e.add(60,"m")]}]),t("set-picker-option",["getRangeAvailableTime",M]),(e,n)=>e.actualVisible?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)([(0,i.unref)(s).b("range-picker"),(0,i.unref)(l).b("panel")])},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(s).be("range-picker","content"))},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(s).be("range-picker","cell"))},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(s).be("range-picker","header"))},(0,i.toDisplayString)((0,i.unref)(o)("el.datepicker.startTime")),3),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(g))},[(0,i.createVNode)(Iu,{ref:"minSpinner",role:"start","show-seconds":(0,i.unref)(b),"am-pm-mode":(0,i.unref)(w),"arrow-control":(0,i.unref)(u),"spinner-date":(0,i.unref)(v),"disabled-hours":E,"disabled-minutes":P,"disabled-seconds":$,onChange:_,onSetOption:(0,i.unref)(L),onSelectRange:B},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(s).be("range-picker","cell"))},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(s).be("range-picker","header"))},(0,i.toDisplayString)((0,i.unref)(o)("el.datepicker.endTime")),3),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(A))},[(0,i.createVNode)(Iu,{ref:"maxSpinner",role:"end","show-seconds":(0,i.unref)(b),"am-pm-mode":(0,i.unref)(w),"arrow-control":(0,i.unref)(u),"spinner-date":(0,i.unref)(y),"disabled-hours":E,"disabled-minutes":P,"disabled-seconds":$,onChange:x,onSetOption:(0,i.unref)(L),onSelectRange:T},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(s).be("panel","footer"))},[(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)([(0,i.unref)(s).be("panel","btn"),"cancel"]),onClick:e=>{t("pick",O.value,!1)}},(0,i.toDisplayString)((0,i.unref)(o)("el.datepicker.cancel")),11,["onClick"]),(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)([(0,i.unref)(s).be("panel","btn"),"confirm"]),disabled:(0,i.unref)(k),onClick:e=>((e=!1)=>{t("pick",[v.value,y.value],e)})()},(0,i.toDisplayString)((0,i.unref)(o)("el.datepicker.confirm")),11,["disabled","onClick"])],2)],2)):(0,i.createCommentVNode)("v-if",!0)}});var $_=(0,f.A)(P_,[["__file","panel-time-range.vue"]]);$r.extend(Ic);var M_=(0,i.defineComponent)({name:"ElTimePicker",install:null,props:{...qc,isRange:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,t){const n=(0,i.ref)(),[r,o]=e.isRange?["timerange",$_]:["time",Lu],a=e=>t.emit("update:modelValue",e);return(0,i.provide)("ElPopperOptions",e.popperOptions),t.expose({focus:()=>{var e;null==(e=n.value)||e.focus()},blur:()=>{var e;null==(e=n.value)||e.blur()},handleOpen:()=>{var e;null==(e=n.value)||e.handleOpen()},handleClose:()=>{var e;null==(e=n.value)||e.handleClose()}}),()=>{var t;const s=null!=(t=e.format)?t:Tu;return(0,i.createVNode)(ud,(0,i.mergeProps)(e,{ref:n,type:r,format:s,"onUpdate:modelValue":a}),{default:e=>(0,i.createVNode)(o,e,null)})}}});const z_=(0,b.GU)(M_),R_=(0,l.b_)({format:{type:String,default:"HH:mm"},modelValue:String,disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:(0,l.jq)(String),default:"light"},clearable:{type:Boolean,default:!0},size:za.mU,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:String,maxTime:String,includeEndTime:{type:Boolean,default:!1},name:String,prefixIcon:{type:(0,l.jq)([String,Object]),default:()=>j.Clock},clearIcon:{type:(0,l.jq)([String,Object]),default:()=>j.CircleClose},...Zs.bs}),D_=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const r=Number.parseInt(t[1],10),o=e.toUpperCase();return o.includes("AM")&&12===n?n=0:o.includes("PM")&&12!==n&&(n+=12),{hours:n,minutes:r}}return null},I_=(e,t)=>{const n=D_(e);if(!n)return-1;const r=D_(t);if(!r)return-1;const o=n.minutes+60*n.hours,i=r.minutes+60*r.hours;return o===i?0:o>i?1:-1},N_=e=>`${e}`.padStart(2,"0"),L_=e=>`${N_(e.hours)}:${N_(e.minutes)}`,V_=(e,t)=>{const n=D_(e);if(!n)return"";const r=D_(t);if(!r)return"";const o={hours:n.hours,minutes:n.minutes};return o.minutes+=r.minutes,o.hours+=r.hours,o.hours+=Math.floor(o.minutes/60),o.minutes=o.minutes%60,L_(o)},U_=(0,i.defineComponent)({name:"ElTimeSelect"}),F_=(0,i.defineComponent)({...U_,props:R_,emits:["change","blur","focus","clear","update:modelValue"],setup(e,{expose:t}){const n=e;$r.extend(Ic);const{Option:r}=Jm,o=(0,h.DU)("input"),a=(0,i.ref)(),s=(0,Jn.CB)(),{lang:l}=(0,wr.Ym)(),c=(0,i.computed)((()=>n.modelValue)),u=(0,i.computed)((()=>{const e=D_(n.start);return e?L_(e):null})),d=(0,i.computed)((()=>{const e=D_(n.end);return e?L_(e):null})),f=(0,i.computed)((()=>{const e=D_(n.step);return e?L_(e):null})),p=(0,i.computed)((()=>{const e=D_(n.minTime||"");return e?L_(e):null})),m=(0,i.computed)((()=>{const e=D_(n.maxTime||"");return e?L_(e):null})),g=(0,i.computed)((()=>{var e;const t=[],r=(e,n)=>{t.push({value:e,disabled:I_(n,p.value||"-1:-1")<=0||I_(n,m.value||"100:100")>=0})};if(n.start&&n.end&&n.step){let o,i=u.value;for(;i&&d.value&&I_(i,d.value)<=0;)o=$r(i,"HH:mm").locale(l.value).format(n.format),r(o,i),i=V_(i,f.value);n.includeEndTime&&d.value&&(null==(e=t[t.length-1])?void 0:e.value)!==d.value&&r($r(d.value,"HH:mm").locale(l.value).format(n.format),d.value)}return t}));return t({blur:()=>{var e,t;null==(t=null==(e=a.value)?void 0:e.blur)||t.call(e)},focus:()=>{var e,t;null==(t=null==(e=a.value)?void 0:e.focus)||t.call(e)}}),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Jm),{ref_key:"select",ref:a,"model-value":(0,i.unref)(c),disabled:(0,i.unref)(s),clearable:e.clearable,"clear-icon":e.clearIcon,size:e.size,effect:e.effect,placeholder:e.placeholder,"default-first-option":"",filterable:e.editable,"empty-values":e.emptyValues,"value-on-clear":e.valueOnClear,"onUpdate:modelValue":t=>e.$emit("update:modelValue",t),onChange:t=>e.$emit("change",t),onBlur:t=>e.$emit("blur",t),onFocus:t=>e.$emit("focus",t),onClear:()=>e.$emit("clear")},{prefix:(0,i.withCtx)((()=>[e.prefixIcon?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)((0,i.unref)(o).e("prefix-icon"))},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.prefixIcon)))])),_:1},8,["class"])):(0,i.createCommentVNode)("v-if",!0)])),default:(0,i.withCtx)((()=>[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(g),(e=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(r),{key:e.value,label:e.value,value:e.value,disabled:e.disabled},null,8,["label","value","disabled"])))),128))])),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear","onUpdate:modelValue","onChange","onBlur","onFocus","onClear"]))}});var H_=(0,f.A)(F_,[["__file","time-select.vue"]]);const W_=(0,b.GU)(H_),X_=(0,i.defineComponent)({name:"ElTimeline",setup(e,{slots:t}){const n=(0,h.DU)("timeline");return(0,i.provide)("timeline",t),()=>(0,i.h)("ul",{class:[n.b()]},[(0,i.renderSlot)(t,"default")])}}),j_=(0,l.b_)({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:x.Ze},hollow:Boolean}),q_=(0,i.defineComponent)({name:"ElTimelineItem"}),Z_=(0,i.defineComponent)({...q_,props:j_,setup(e){const t=e,n=(0,h.DU)("timeline-item"),r=(0,i.computed)((()=>[n.e("node"),n.em("node",t.size||""),n.em("node",t.type||""),n.is("hollow",t.hollow)]));return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("li",{class:(0,i.normalizeClass)([(0,i.unref)(n).b(),{[(0,i.unref)(n).e("center")]:e.center}])},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(n).e("tail"))},null,2),e.$slots.dot?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(r)),style:(0,i.normalizeStyle)({backgroundColor:e.color})},[e.icon?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)((0,i.unref)(n).e("icon"))},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.icon)))])),_:1},8,["class"])):(0,i.createCommentVNode)("v-if",!0)],6)),e.$slots.dot?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)((0,i.unref)(n).e("dot"))},[(0,i.renderSlot)(e.$slots,"dot")],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(n).e("wrapper"))},[e.hideTimestamp||"top"!==e.placement?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)([(0,i.unref)(n).e("timestamp"),(0,i.unref)(n).is("top")])},(0,i.toDisplayString)(e.timestamp),3)),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(n).e("content"))},[(0,i.renderSlot)(e.$slots,"default")],2),e.hideTimestamp||"bottom"!==e.placement?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)([(0,i.unref)(n).e("timestamp"),(0,i.unref)(n).is("bottom")])},(0,i.toDisplayString)(e.timestamp),3))],2)],2))}});var Y_=(0,f.A)(Z_,[["__file","timeline-item.vue"]]);const G_=(0,b.GU)(X_,{TimelineItem:Y_}),K_=(0,b.WM)(Y_),J_=(0,l.b_)({nowrap:Boolean});var ex=(e=>(e.top="top",e.bottom="bottom",e.left="left",e.right="right",e))(ex||{});const tx=Object.values(ex),nx=(0,l.b_)({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:(0,l.jq)(Object),default:null}}),rx=(0,l.b_)({side:{type:(0,l.jq)(String),values:tx,required:!0}}),ox=(0,l.b_)({arrowPadding:{type:(0,l.jq)(Number),default:5},effect:{type:(0,l.jq)(String),default:"light"},contentClass:String,placement:{type:(0,l.jq)(String),values:["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],default:"bottom"},reference:{type:(0,l.jq)(Object),default:null},offset:{type:Number,default:8},strategy:{type:(0,l.jq)(String),values:["absolute","fixed"],default:"absolute"},showArrow:Boolean,...(0,oe.l)(["ariaLabel"])}),ix=(0,l.b_)({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:(0,l.jq)(Function)},"onUpdate:open":{type:(0,l.jq)(Function)}}),ax={type:(0,l.jq)(Function)},sx=(0,l.b_)({onBlur:ax,onClick:ax,onFocus:ax,onMouseDown:ax,onMouseEnter:ax,onMouseLeave:ax}),lx=(0,l.b_)({...ix,...nx,...sx,...ox,alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:(0,l.jq)(Object),default:null},teleported:Boolean,to:{type:(0,l.jq)(String),default:"body"}}),cx=Symbol("tooltipV2"),ux=Symbol("tooltipV2Content"),dx="tooltip_v2.open",fx=(0,i.defineComponent)({name:"ElTooltipV2Root"}),hx=(0,i.defineComponent)({...fx,props:ix,setup(e,{expose:t}){const n=e,r=(0,i.ref)(n.defaultOpen),o=(0,i.ref)(null),a=(0,i.computed)({get:()=>(0,c.Xj)(n.open)?r.value:n.open,set:e=>{var t;r.value=e,null==(t=n["onUpdate:open"])||t.call(n,e)}}),s=(0,i.computed)((()=>(0,c.Et)(n.delayDuration)&&n.delayDuration>0)),{start:l,stop:u}=(0,Y.TO)((()=>{a.value=!0}),(0,i.computed)((()=>n.delayDuration)),{immediate:!1}),d=(0,h.DU)("tooltip-v2"),f=(0,kn.Bi)(),p=()=>{u(),a.value=!0},m=p,g=()=>{u(),a.value=!1};return(0,i.watch)(a,(e=>{var t;e&&(document.dispatchEvent(new CustomEvent(dx)),m()),null==(t=n.onOpenChange)||t.call(n,e)})),(0,i.onMounted)((()=>{document.addEventListener(dx,g)})),(0,i.onBeforeUnmount)((()=>{u(),document.removeEventListener(dx,g)})),(0,i.provide)(cx,{contentId:f,triggerRef:o,ns:d,onClose:g,onDelayOpen:()=>{(0,i.unref)(s)?l():p()},onOpen:m}),t({onOpen:m,onClose:g}),(e,t)=>(0,i.renderSlot)(e.$slots,"default",{open:(0,i.unref)(a)})}});var px=(0,f.A)(hx,[["__file","root.vue"]]);const mx=(0,i.defineComponent)({name:"ElTooltipV2Arrow"}),gx=(0,i.defineComponent)({...mx,props:{...nx,...rx},setup(e){const t=e,{ns:n}=(0,i.inject)(cx),{arrowRef:r}=(0,i.inject)(ux),o=(0,i.computed)((()=>{const{style:e,width:r,height:o}=t,i=n.namespace.value;return{[`--${i}-tooltip-v2-arrow-width`]:`${r}px`,[`--${i}-tooltip-v2-arrow-height`]:`${o}px`,[`--${i}-tooltip-v2-arrow-border-width`]:r/2+"px",[`--${i}-tooltip-v2-arrow-cover-width`]:r/2-1,...e||{}}}));return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("span",{ref_key:"arrowRef",ref:r,style:(0,i.normalizeStyle)((0,i.unref)(o)),class:(0,i.normalizeClass)((0,i.unref)(n).e("arrow"))},null,6))}});var Ax=(0,f.A)(gx,[["__file","arrow.vue"]]);const vx=Math.min,yx=Math.max,Ox=Math.round,bx=Math.floor,wx=e=>({x:e,y:e}),_x={left:"right",right:"left",bottom:"top",top:"bottom"},xx={start:"end",end:"start"};function Sx(e,t,n){return yx(e,vx(t,n))}function kx(e,t){return"function"==typeof e?e(t):e}function Cx(e){return e.split("-")[0]}function Bx(e){return e.split("-")[1]}function Qx(e){return"x"===e?"y":"x"}function Tx(e){return"y"===e?"height":"width"}function Ex(e){return["top","bottom"].includes(Cx(e))?"y":"x"}function Px(e){return Qx(Ex(e))}function $x(e){return e.replace(/start|end/g,(e=>xx[e]))}function Mx(e){return e.replace(/left|right|bottom|top/g,(e=>_x[e]))}function zx(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Rx(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Dx(e,t,n){let{reference:r,floating:o}=e;const i=Ex(t),a=Px(t),s=Tx(a),l=Cx(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let h;switch(l){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(Bx(t)){case"start":h[a]-=f*(n&&c?-1:1);break;case"end":h[a]+=f*(n&&c?-1:1)}return h}async function Ix(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=kx(t,e),p=zx(h),m=s[f?"floating"===d?"reference":"floating":d],g=Rx(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),A="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),y=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},O=Rx(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:A,offsetParent:v,strategy:l}):A);return{top:(g.top-O.top+p.top)/y.y,bottom:(O.bottom-g.bottom+p.bottom)/y.y,left:(g.left-O.left+p.left)/y.x,right:(O.right-g.right+p.right)/y.x}}function Nx(){return"undefined"!=typeof window}function Lx(e){return Fx(e)?(e.nodeName||"").toLowerCase():"#document"}function Vx(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ux(e){var t;return null==(t=(Fx(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Fx(e){return!!Nx()&&(e instanceof Node||e instanceof Vx(e).Node)}function Hx(e){return!!Nx()&&(e instanceof Element||e instanceof Vx(e).Element)}function Wx(e){return!!Nx()&&(e instanceof HTMLElement||e instanceof Vx(e).HTMLElement)}function Xx(e){return!(!Nx()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Vx(e).ShadowRoot)}function jx(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Jx(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function qx(e){return["table","td","th"].includes(Lx(e))}function Zx(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function Yx(e){const t=Gx(),n=Hx(e)?Jx(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Gx(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Kx(e){return["html","body","#document"].includes(Lx(e))}function Jx(e){return Vx(e).getComputedStyle(e)}function eS(e){return Hx(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function tS(e){if("html"===Lx(e))return e;const t=e.assignedSlot||e.parentNode||Xx(e)&&e.host||Ux(e);return Xx(t)?t.host:t}function nS(e){const t=tS(e);return Kx(t)?e.ownerDocument?e.ownerDocument.body:e.body:Wx(t)&&jx(t)?t:nS(t)}function rS(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=nS(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Vx(o);if(i){const e=oS(a);return t.concat(a,a.visualViewport||[],jx(o)?o:[],e&&n?rS(e):[])}return t.concat(o,rS(o,[],n))}function oS(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function iS(e){const t=Jx(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Wx(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Ox(n)!==i||Ox(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function aS(e){return Hx(e)?e:e.contextElement}function sS(e){const t=aS(e);if(!Wx(t))return wx(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=iS(t);let a=(i?Ox(n.width):n.width)/r,s=(i?Ox(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const lS=wx(0);function cS(e){const t=Vx(e);return Gx()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:lS}function uS(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=aS(e);let a=wx(1);t&&(r?Hx(r)&&(a=sS(r)):a=sS(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Vx(e))&&t}(i,n,r)?cS(i):wx(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=Vx(i),t=r&&Hx(r)?Vx(r):r;let n=e,o=oS(n);for(;o&&r&&t!==n;){const e=sS(o),t=o.getBoundingClientRect(),r=Jx(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,n=Vx(o),o=oS(n)}}return Rx({width:u,height:d,x:l,y:c})}function dS(e,t){const n=eS(e).scrollLeft;return t?t.left+n:uS(Ux(e)).left+n}function fS(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:dS(e,r)),y:r.top+t.scrollTop}}function hS(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Vx(e),r=Ux(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=Gx();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=Ux(e),n=eS(e),r=e.ownerDocument.body,o=yx(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=yx(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+dS(e);const s=-n.scrollTop;return"rtl"===Jx(r).direction&&(a+=yx(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(Ux(e));else if(Hx(t))r=function(e,t){const n=uS(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Wx(e)?sS(e):wx(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=cS(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Rx(r)}function pS(e,t){const n=tS(e);return!(n===t||!Hx(n)||Kx(n))&&("fixed"===Jx(n).position||pS(n,t))}function mS(e,t,n){const r=Wx(t),o=Ux(t),i="fixed"===n,a=uS(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=wx(0);if(r||!r&&!i)if(("body"!==Lx(t)||jx(o))&&(s=eS(t)),r){const e=uS(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=dS(o));const c=!o||r||i?wx(0):fS(o,s);return{x:a.left+s.scrollLeft-l.x-c.x,y:a.top+s.scrollTop-l.y-c.y,width:a.width,height:a.height}}function gS(e){return"static"===Jx(e).position}function AS(e,t){if(!Wx(e)||"fixed"===Jx(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Ux(e)===n&&(n=n.ownerDocument.body),n}function vS(e,t){const n=Vx(e);if(Zx(e))return n;if(!Wx(e)){let t=tS(e);for(;t&&!Kx(t);){if(Hx(t)&&!gS(t))return t;t=tS(t)}return n}let r=AS(e,t);for(;r&&qx(r)&&gS(r);)r=AS(r,t);return r&&Kx(r)&&gS(r)&&!Yx(r)?n:r||function(e){let t=tS(e);for(;Wx(t)&&!Kx(t);){if(Yx(t))return t;if(Zx(t))return null;t=tS(t)}return null}(e)||n}const yS={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=Ux(r),s=!!t&&Zx(t.floating);if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},c=wx(1);const u=wx(0),d=Wx(r);if((d||!d&&!i)&&(("body"!==Lx(r)||jx(a))&&(l=eS(r)),Wx(r))){const e=uS(r);c=sS(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!a||d||i?wx(0):fS(a,l,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-l.scrollTop*c.y+u.y+f.y}},getDocumentElement:Ux,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i="clippingAncestors"===n?Zx(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=rS(e,[],!1).filter((e=>Hx(e)&&"body"!==Lx(e))),o=null;const i="fixed"===Jx(e).position;let a=i?tS(e):e;for(;Hx(a)&&!Kx(a);){const t=Jx(a),n=Yx(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||jx(a)&&!n&&pS(e,a))?r=r.filter((e=>e!==a)):o=t,a=tS(a)}return t.set(e,r),r}(t,this._c):[].concat(n),a=[...i,r],s=a[0],l=a.reduce(((e,n)=>{const r=hS(t,n,o);return e.top=yx(r.top,e.top),e.right=vx(r.right,e.right),e.bottom=vx(r.bottom,e.bottom),e.left=yx(r.left,e.left),e}),hS(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:vS,getElementRects:async function(e){const t=this.getOffsetParent||vS,n=this.getDimensions,r=await n(e.floating);return{reference:mS(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=iS(e);return{width:t,height:n}},getScale:sS,isElement:Hx,isRTL:function(e){return"rtl"===Jx(e).direction}};function OS(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}const bS=Ix,wS=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=Cx(n),s=Bx(n),l="y"===Ex(n),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=kx(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),l?{x:h*u,y:f*c}:{x:f*c,y:h*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},_S=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=kx(e,t),c={x:n,y:r},u=await Ix(t,l),d=Ex(Cx(o)),f=Qx(d);let h=c[f],p=c[d];if(i){const e="y"===f?"bottom":"right";h=Sx(h+u["y"===f?"top":"left"],h,h-u[e])}if(a){const e="y"===d?"bottom":"right";p=Sx(p+u["y"===d?"top":"left"],p,p-u[e])}const m=s.fn({...t,[f]:h,[d]:p});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[f]:i,[d]:a}}}}}},xS=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=kx(e,t)||{};if(null==c)return{};const d=zx(u),f={x:n,y:r},h=Px(o),p=Tx(h),m=await a.getDimensions(c),g="y"===h,A=g?"top":"left",v=g?"bottom":"right",y=g?"clientHeight":"clientWidth",O=i.reference[p]+i.reference[h]-f[h]-i.floating[p],b=f[h]-i.reference[h],w=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let _=w?w[y]:0;_&&await(null==a.isElement?void 0:a.isElement(w))||(_=s.floating[y]||i.floating[p]);const x=O/2-b/2,S=_/2-m[p]/2-1,k=vx(d[A],S),C=vx(d[v],S),B=k,Q=_-m[p]-C,T=_/2-m[p]/2+x,E=Sx(B,T,Q),P=!l.arrow&&null!=Bx(o)&&T!==E&&i.reference[p]/2-(T<B?k:C)-m[p]/2<0,$=P?T<B?T-B:T-Q:0;return{[h]:f[h]+$,data:{[h]:E,centerOffset:T-E-$,...P&&{alignmentOffset:$}},reset:P}}}),SS=(e,t,n)=>{const r=new Map,o={platform:yS,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Dx(c,r,l),f=r,h={},p=0;for(let n=0;n<s.length;n++){const{name:i,fn:m}=s[n],{x:g,y:A,data:v,reset:y}=await m({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=A?A:d,h={...h,[i]:{...h[i],...v}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(c=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):y.rects),({x:u,y:d}=Dx(c,f,l))),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:h}})(e,t,{...o,platform:i})},kS=(0,l.b_)({style:{type:(0,l.jq)([String,Object,Array]),default:()=>({})}}),CS=(0,i.defineComponent)({name:"ElVisuallyHidden"}),BS=(0,i.defineComponent)({...CS,props:kS,setup(e){const t=e,n=(0,i.computed)((()=>[t.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}]));return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("span",(0,i.mergeProps)(e.$attrs,{style:(0,i.unref)(n)}),[(0,i.renderSlot)(e.$slots,"default")],16))}});var QS=(0,f.A)(BS,[["__file","visual-hidden.vue"]]);(0,l.b_)({});const TS=(0,i.defineComponent)({name:"ElTooltipV2Content"}),ES=(0,i.defineComponent)({...TS,props:{...ox,...J_},setup(e){const t=e,{triggerRef:n,contentId:r}=(0,i.inject)(cx),o=(0,i.ref)(t.placement),s=(0,i.ref)(t.strategy),l=(0,i.ref)(null),{referenceRef:c,contentRef:u,middlewareData:d,x:f,y:p,update:m}=(({middleware:e,placement:t,strategy:n})=>{const r=(0,i.ref)(),o=(0,i.ref)(),s=(0,i.ref)(),l=(0,i.ref)(),c=(0,i.ref)({}),u={x:s,y:l,placement:t,strategy:n,middlewareData:c},d=async()=>{if(!Y.oc)return;const s=(e=>{if(!Y.oc)return;if(!e)return e;const t=(0,a.F4c)(e);return t||((0,i.isRef)(e)?t:e)})(r),l=(0,a.F4c)(o);if(!s||!l)return;const c=await SS(s,l,{placement:(0,i.unref)(t),strategy:(0,i.unref)(n),middleware:(0,i.unref)(e)});(0,S.YD)(u).forEach((e=>{u[e].value=c[e]}))};return(0,i.onMounted)((()=>{(0,i.watchEffect)((()=>{d()}))})),{...u,update:d,referenceRef:r,contentRef:o}})({placement:o,strategy:s,middleware:(0,i.computed)((()=>{const e=[wS(t.offset)];return t.showArrow&&e.push((({arrowRef:e,padding:t})=>({name:"arrow",options:{element:e,padding:t},fn(n){const r=(0,i.unref)(e);return r?xS({element:r,padding:t}).fn(n):{}}}))({arrowRef:l})),e}))}),g=(0,Mn.YK)().nextZIndex(),A=(0,h.DU)("tooltip-v2"),v=(0,i.computed)((()=>o.value.split("-")[0])),y=(0,i.computed)((()=>({position:(0,i.unref)(s),top:`${(0,i.unref)(p)||0}px`,left:`${(0,i.unref)(f)||0}px`,zIndex:g}))),O=(0,i.computed)((()=>{if(!t.showArrow)return{};const{arrow:e}=(0,i.unref)(d);return{[`--${A.namespace.value}-tooltip-v2-arrow-x`]:`${null==e?void 0:e.x}px`||"",[`--${A.namespace.value}-tooltip-v2-arrow-y`]:`${null==e?void 0:e.y}px`||""}})),b=(0,i.computed)((()=>[A.e("content"),A.is("dark","dark"===t.effect),A.is((0,i.unref)(s)),t.contentClass]));return(0,i.watch)(l,(()=>m())),(0,i.watch)((()=>t.placement),(e=>o.value=e)),(0,i.onMounted)((()=>{(0,i.watch)((()=>t.reference||n.value),(e=>{c.value=e||void 0}),{immediate:!0})})),(0,i.provide)(ux,{arrowRef:l}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"contentRef",ref:u,style:(0,i.normalizeStyle)((0,i.unref)(y)),"data-tooltip-v2-root":""},[e.nowrap?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,"data-side":(0,i.unref)(v),class:(0,i.normalizeClass)((0,i.unref)(b))},[(0,i.renderSlot)(e.$slots,"default",{contentStyle:(0,i.unref)(y),contentClass:(0,i.unref)(b)}),(0,i.createVNode)((0,i.unref)(QS),{id:(0,i.unref)(r),role:"tooltip"},{default:(0,i.withCtx)((()=>[e.ariaLabel?((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:0},[(0,i.createTextVNode)((0,i.toDisplayString)(e.ariaLabel),1)],64)):(0,i.renderSlot)(e.$slots,"default",{key:1})])),_:3},8,["id"]),(0,i.renderSlot)(e.$slots,"arrow",{style:(0,i.normalizeStyle)((0,i.unref)(O)),side:(0,i.unref)(v)})],10,["data-side"]))],4))}});var PS=(0,f.A)(ES,[["__file","content.vue"]]);const $S=(0,l.b_)({setRef:{type:(0,l.jq)(Function),required:!0},onlyChild:Boolean});var MS=(0,i.defineComponent)({props:$S,setup(e,{slots:t}){const n=(0,i.ref)(),r=Pd(n,(t=>{t?e.setRef(t.nextElementSibling):e.setRef(null)}));return()=>{var n;const[o]=(null==(n=t.default)?void 0:n.call(t))||[],a=e.onlyChild?(0,mo.$P)(o.children):o.children;return(0,i.createVNode)(i.Fragment,{ref:r},[a])}}});const zS=(0,i.defineComponent)({name:"ElTooltipV2Trigger"}),RS=(0,i.defineComponent)({...zS,props:{...J_,...sx},setup(e){const t=e,{onClose:n,onOpen:r,onDelayOpen:o,triggerRef:a,contentId:s}=(0,i.inject)(cx);let l=!1;const c=e=>{a.value=e},u=()=>{l=!1},d=An(t.onMouseEnter,o),f=An(t.onMouseLeave,n),h=An(t.onMouseDown,(()=>{n(),l=!0,document.addEventListener("mouseup",u,{once:!0})})),p=An(t.onFocus,(()=>{l||r()})),m={blur:An(t.onBlur,n),click:An(t.onClick,(e=>{0===e.detail&&n()})),focus:p,mousedown:h,mouseenter:d,mouseleave:f},g=(e,t,n)=>{e&&Object.entries(t).forEach((([t,r])=>{e[n](t,r)}))};return(0,i.watch)(a,((e,t)=>{g(e,m,"addEventListener"),g(t,m,"removeEventListener"),e&&e.setAttribute("aria-describedby",s.value)})),(0,i.onBeforeUnmount)((()=>{g(a.value,m,"removeEventListener"),document.removeEventListener("mouseup",u)})),(e,t)=>e.nowrap?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(MS),{key:0,"set-ref":c,"only-child":""},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3})):((0,i.openBlock)(),(0,i.createElementBlock)("button",(0,i.mergeProps)({key:1,ref_key:"triggerRef",ref:a},e.$attrs),[(0,i.renderSlot)(e.$slots,"default")],16))}});var DS=(0,f.A)(RS,[["__file","trigger.vue"]]);const IS=(0,i.defineComponent)({name:"ElTooltipV2"}),NS=(0,i.defineComponent)({...IS,props:lx,setup(e){const t=e,n=(0,i.toRefs)(t),r=(0,i.reactive)((0,qa.A)(n,Object.keys(nx))),o=(0,i.reactive)((0,qa.A)(n,Object.keys(ox))),a=(0,i.reactive)((0,qa.A)(n,Object.keys(ix))),s=(0,i.reactive)((0,qa.A)(n,Object.keys(sx)));return(e,t)=>((0,i.openBlock)(),(0,i.createBlock)(px,(0,i.normalizeProps)((0,i.guardReactiveProps)(a)),{default:(0,i.withCtx)((({open:t})=>[(0,i.createVNode)(DS,(0,i.mergeProps)(s,{nowrap:""}),{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"trigger")])),_:3},16),(0,i.createVNode)((0,i.unref)(Sn),{to:e.to,disabled:!e.teleported},{default:(0,i.withCtx)((()=>[e.fullTransition?((0,i.openBlock)(),(0,i.createBlock)(i.Transition,(0,i.normalizeProps)((0,i.mergeProps)({key:0},e.transitionProps)),{default:(0,i.withCtx)((()=>[e.alwaysOn||t?((0,i.openBlock)(),(0,i.createBlock)(PS,(0,i.normalizeProps)((0,i.mergeProps)({key:0},o)),{arrow:(0,i.withCtx)((({style:t,side:n})=>[e.showArrow?((0,i.openBlock)(),(0,i.createBlock)(Ax,(0,i.mergeProps)({key:0},r,{style:t,side:n}),null,16,["style","side"])):(0,i.createCommentVNode)("v-if",!0)])),default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},16)):(0,i.createCommentVNode)("v-if",!0)])),_:2},1040)):((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:1},[e.alwaysOn||t?((0,i.openBlock)(),(0,i.createBlock)(PS,(0,i.normalizeProps)((0,i.mergeProps)({key:0},o)),{arrow:(0,i.withCtx)((({style:t,side:n})=>[e.showArrow?((0,i.openBlock)(),(0,i.createBlock)(Ax,(0,i.mergeProps)({key:0},r,{style:t,side:n}),null,16,["style","side"])):(0,i.createCommentVNode)("v-if",!0)])),default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},16)):(0,i.createCommentVNode)("v-if",!0)],64))])),_:2},1032,["to","disabled"])])),_:3},16))}});var LS=(0,f.A)(NS,[["__file","tooltip.vue"]]);const VS=(0,b.GU)(LS),US="left-check-change",FS="right-check-change",HS=(0,l.b_)({data:{type:(0,l.jq)(Array),default:()=>[]},titles:{type:(0,l.jq)(Array),default:()=>[]},buttonTexts:{type:(0,l.jq)(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:(0,l.jq)(Function)},leftDefaultChecked:{type:(0,l.jq)(Array),default:()=>[]},rightDefaultChecked:{type:(0,l.jq)(Array),default:()=>[]},renderContent:{type:(0,l.jq)(Function)},modelValue:{type:(0,l.jq)(Array),default:()=>[]},format:{type:(0,l.jq)(Object),default:()=>({})},filterable:Boolean,props:{type:(0,l.jq)(Object),default:()=>(0,fl.f)({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),WS=(e,t)=>[e,t].every(se.cy)||(0,se.cy)(e)&&(0,sn.A)(t),XS={[s.YU]:(e,t,n)=>[e,n].every(se.cy)&&["left","right"].includes(t),[s.l4]:e=>(0,se.cy)(e),[US]:WS,[FS]:WS},jS="checked-change",qS=(0,l.b_)({data:HS.data,optionRender:{type:(0,l.jq)(Function)},placeholder:String,title:String,filterable:Boolean,format:HS.format,filterMethod:HS.filterMethod,defaultChecked:HS.leftDefaultChecked,props:HS.props}),ZS={[jS]:WS},YS=e=>{const t={label:"label",key:"key",disabled:"disabled"};return(0,i.computed)((()=>({...t,...e.props})))},GS=(0,i.defineComponent)({name:"ElTransferPanel"}),KS=(0,i.defineComponent)({...GS,props:qS,emits:ZS,setup(e,{expose:t,emit:n}){const r=e,o=(0,i.useSlots)(),a=({option:e})=>e,{t:s}=(0,wr.Ym)(),l=(0,h.DU)("transfer"),u=(0,i.reactive)({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),d=YS(r),{filteredData:f,checkedSummary:p,isIndeterminate:m,handleAllCheckedChange:g}=((e,t,n)=>{const r=YS(e),o=(0,i.computed)((()=>e.data.filter((n=>(0,se.Tn)(e.filterMethod)?e.filterMethod(t.query,n):String(n[r.value.label]||n[r.value.key]).toLowerCase().includes(t.query.toLowerCase()))))),a=(0,i.computed)((()=>o.value.filter((e=>!e[r.value.disabled])))),s=(0,i.computed)((()=>{const n=t.checked.length,r=e.data.length,{noChecked:o,hasChecked:i}=e.format;return o&&i?n>0?i.replace(/\${checked}/g,n.toString()).replace(/\${total}/g,r.toString()):o.replace(/\${total}/g,r.toString()):`${n}/${r}`})),l=(0,i.computed)((()=>{const e=t.checked.length;return e>0&&e<a.value.length})),c=()=>{const e=a.value.map((e=>e[r.value.key]));t.allChecked=e.length>0&&e.every((e=>t.checked.includes(e)))};return(0,i.watch)((()=>t.checked),((e,r)=>{if(c(),t.checkChangeByUser){const t=e.concat(r).filter((t=>!e.includes(t)||!r.includes(t)));n(jS,e,t)}else n(jS,e),t.checkChangeByUser=!0})),(0,i.watch)(a,(()=>{c()})),(0,i.watch)((()=>e.data),(()=>{const e=[],n=o.value.map((e=>e[r.value.key]));t.checked.forEach((t=>{n.includes(t)&&e.push(t)})),t.checkChangeByUser=!1,t.checked=e})),(0,i.watch)((()=>e.defaultChecked),((e,n)=>{if(n&&e.length===n.length&&e.every((e=>n.includes(e))))return;const o=[],i=a.value.map((e=>e[r.value.key]));e.forEach((e=>{i.includes(e)&&o.push(e)})),t.checkChangeByUser=!1,t.checked=o}),{immediate:!0}),{filteredData:o,checkableData:a,checkedSummary:s,isIndeterminate:l,updateAllChecked:c,handleAllCheckedChange:e=>{t.checked=e?a.value.map((e=>e[r.value.key])):[]}}})(r,u,n),A=(0,i.computed)((()=>!(0,c.Im)(u.query)&&(0,c.Im)(f.value))),v=(0,i.computed)((()=>!(0,c.Im)(o.default()[0].children))),{checked:y,allChecked:O,query:b}=(0,i.toRefs)(u);return t({query:b}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)((0,i.unref)(l).b("panel"))},[(0,i.createElementVNode)("p",{class:(0,i.normalizeClass)((0,i.unref)(l).be("panel","header"))},[(0,i.createVNode)((0,i.unref)(es),{modelValue:(0,i.unref)(O),"onUpdate:modelValue":e=>(0,i.isRef)(O)?O.value=e:null,indeterminate:(0,i.unref)(m),"validate-event":!1,onChange:(0,i.unref)(g)},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.title)+" ",1),(0,i.createElementVNode)("span",null,(0,i.toDisplayString)((0,i.unref)(p)),1)])),_:1},8,["modelValue","onUpdate:modelValue","indeterminate","onChange"])],2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([(0,i.unref)(l).be("panel","body"),(0,i.unref)(l).is("with-footer",(0,i.unref)(v))])},[e.filterable?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(q.WK),{key:0,modelValue:(0,i.unref)(b),"onUpdate:modelValue":e=>(0,i.isRef)(b)?b.value=e:null,class:(0,i.normalizeClass)((0,i.unref)(l).be("panel","filter")),size:"default",placeholder:e.placeholder,"prefix-icon":(0,i.unref)(j.Search),clearable:"","validate-event":!1},null,8,["modelValue","onUpdate:modelValue","class","placeholder","prefix-icon"])):(0,i.createCommentVNode)("v-if",!0),(0,i.withDirectives)((0,i.createVNode)((0,i.unref)(ns),{modelValue:(0,i.unref)(y),"onUpdate:modelValue":e=>(0,i.isRef)(y)?y.value=e:null,"validate-event":!1,class:(0,i.normalizeClass)([(0,i.unref)(l).is("filterable",e.filterable),(0,i.unref)(l).be("panel","list")])},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)((0,i.unref)(f),(t=>((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(es),{key:t[(0,i.unref)(d).key],class:(0,i.normalizeClass)((0,i.unref)(l).be("panel","item")),value:t[(0,i.unref)(d).key],disabled:t[(0,i.unref)(d).disabled],"validate-event":!1},{default:(0,i.withCtx)((()=>{var n;return[(0,i.createVNode)(a,{option:null==(n=e.optionRender)?void 0:n.call(e,t)},null,8,["option"])]})),_:2},1032,["class","value","disabled"])))),128))])),_:1},8,["modelValue","onUpdate:modelValue","class"]),[[i.vShow,!(0,i.unref)(A)&&!(0,i.unref)(c.Im)(e.data)]]),(0,i.withDirectives)((0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(l).be("panel","empty"))},[(0,i.renderSlot)(e.$slots,"empty",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(A)?(0,i.unref)(s)("el.transfer.noMatch"):(0,i.unref)(s)("el.transfer.noData")),1)]))],2),[[i.vShow,(0,i.unref)(A)||(0,i.unref)(c.Im)(e.data)]])],2),(0,i.unref)(v)?((0,i.openBlock)(),(0,i.createElementBlock)("p",{key:0,class:(0,i.normalizeClass)((0,i.unref)(l).be("panel","footer"))},[(0,i.renderSlot)(e.$slots,"default")],2)):(0,i.createCommentVNode)("v-if",!0)],2))}});var JS=(0,f.A)(KS,[["__file","transfer-panel.vue"]]);const ek=(0,i.defineComponent)({name:"ElTransfer"}),tk=(0,i.defineComponent)({...ek,props:HS,emits:XS,setup(e,{expose:t,emit:n}){const r=e,o=(0,i.useSlots)(),{t:a}=(0,wr.Ym)(),l=(0,h.DU)("transfer"),{formItem:u}=(0,Na.j)(),d=(0,i.reactive)({leftChecked:[],rightChecked:[]}),f=YS(r),{sourceData:p,targetData:m}=(e=>{const t=YS(e),n=(0,i.computed)((()=>e.data.reduce(((e,n)=>(e[n[t.value.key]]=n)&&e),{})));return{sourceData:(0,i.computed)((()=>e.data.filter((n=>!e.modelValue.includes(n[t.value.key]))))),targetData:(0,i.computed)((()=>"original"===e.targetOrder?e.data.filter((n=>e.modelValue.includes(n[t.value.key]))):e.modelValue.reduce(((e,t)=>{const r=n.value[t];return r&&e.push(r),e}),[])))}})(r),{onSourceCheckedChange:A,onTargetCheckedChange:v}=((e,t)=>({onSourceCheckedChange:(n,r)=>{e.leftChecked=n,r&&t(US,n,r)},onTargetCheckedChange:(n,r)=>{e.rightChecked=n,r&&t(FS,n,r)}}))(d,n),{addToLeft:y,addToRight:O}=((e,t,n)=>{const r=YS(e),o=(e,t,r)=>{n(s.l4,e),n(s.YU,e,t,r)};return{addToLeft:()=>{const n=e.modelValue.slice();t.rightChecked.forEach((e=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)})),o(n,"left",t.rightChecked)},addToRight:()=>{let n=e.modelValue.slice();const i=e.data.filter((n=>{const o=n[r.value.key];return t.leftChecked.includes(o)&&!e.modelValue.includes(o)})).map((e=>e[r.value.key]));n="unshift"===e.targetOrder?i.concat(n):n.concat(i),"original"===e.targetOrder&&(n=e.data.filter((e=>n.includes(e[r.value.key]))).map((e=>e[r.value.key]))),o(n,"right",t.leftChecked)}}})(r,d,n),b=(0,i.ref)(),w=(0,i.ref)(),x=(0,i.computed)((()=>2===r.buttonTexts.length)),S=(0,i.computed)((()=>r.titles[0]||a("el.transfer.titles.0"))),k=(0,i.computed)((()=>r.titles[1]||a("el.transfer.titles.1"))),C=(0,i.computed)((()=>r.filterPlaceholder||a("el.transfer.filterPlaceholder")));(0,i.watch)((()=>r.modelValue),(()=>{var e;r.validateEvent&&(null==(e=null==u?void 0:u.validate)||e.call(u,"change").catch((e=>(0,g.U)(e))))}));const B=(0,i.computed)((()=>e=>{var t;if(r.renderContent)return r.renderContent(i.h,e);const n=((null==(t=o.default)?void 0:t.call(o,{option:e}))||[]).filter((e=>e.type!==i.Comment));return n.length?n:(0,i.h)("span",e[f.value.label]||e[f.value.key])}));return t({clearQuery:e=>{switch(e){case"left":b.value.query="";break;case"right":w.value.query=""}},leftPanel:b,rightPanel:w}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)((0,i.unref)(l).b())},[(0,i.createVNode)(JS,{ref_key:"leftPanel",ref:b,data:(0,i.unref)(p),"option-render":(0,i.unref)(B),placeholder:(0,i.unref)(C),title:(0,i.unref)(S),filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,"default-checked":e.leftDefaultChecked,props:r.props,onCheckedChange:(0,i.unref)(A)},{empty:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"left-empty")])),default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"left-footer")])),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(l).e("buttons"))},[(0,i.createVNode)((0,i.unref)(Pr.S2),{type:"primary",class:(0,i.normalizeClass)([(0,i.unref)(l).e("button"),(0,i.unref)(l).is("with-texts",(0,i.unref)(x))]),disabled:(0,i.unref)(c.Im)(d.rightChecked),onClick:(0,i.unref)(y)},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowLeft))])),_:1}),(0,i.unref)(c.b0)(e.buttonTexts[0])?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0},(0,i.toDisplayString)(e.buttonTexts[0]),1))])),_:1},8,["class","disabled","onClick"]),(0,i.createVNode)((0,i.unref)(Pr.S2),{type:"primary",class:(0,i.normalizeClass)([(0,i.unref)(l).e("button"),(0,i.unref)(l).is("with-texts",(0,i.unref)(x))]),disabled:(0,i.unref)(c.Im)(d.leftChecked),onClick:(0,i.unref)(O)},{default:(0,i.withCtx)((()=>[(0,i.unref)(c.b0)(e.buttonTexts[1])?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0},(0,i.toDisplayString)(e.buttonTexts[1]),1)),(0,i.createVNode)((0,i.unref)(_.tk),null,{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ArrowRight))])),_:1})])),_:1},8,["class","disabled","onClick"])],2),(0,i.createVNode)(JS,{ref_key:"rightPanel",ref:w,data:(0,i.unref)(m),"option-render":(0,i.unref)(B),placeholder:(0,i.unref)(C),filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,title:(0,i.unref)(k),"default-checked":e.rightDefaultChecked,props:r.props,onCheckedChange:(0,i.unref)(v)},{empty:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"right-empty")])),default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"right-footer")])),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var nk=(0,f.A)(tk,[["__file","transfer.vue"]]);const rk=(0,b.GU)(nk),ok="$treeNodeId",ik=function(e,t){t&&!t[ok]&&Object.defineProperty(t,ok,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},ak=(e,t)=>null==t?void 0:t[e||ok],sk=(e,t,n)=>{const r=e.value.currentNode;n();const o=e.value.currentNode;r!==o&&t("current-change",o?o.data:null,o)},lk=e=>{let t=!0,n=!0,r=!0;for(let o=0,i=e.length;o<i;o++){const i=e[o];(!0!==i.checked||i.indeterminate)&&(t=!1,i.disabled||(r=!1)),(!1!==i.checked||i.indeterminate)&&(n=!1)}return{all:t,none:n,allWithoutDisable:r,half:!t&&!n}},ck=function(e){if(0===e.childNodes.length||e.loading)return;const{all:t,none:n,half:r}=lk(e.childNodes);t?(e.checked=!0,e.indeterminate=!1):r?(e.checked=!1,e.indeterminate=!0):n&&(e.checked=!1,e.indeterminate=!1);const o=e.parent;o&&0!==o.level&&(e.store.checkStrictly||ck(o))},uk=function(e,t){const n=e.store.props,r=e.data||{},o=n[t];if((0,se.Tn)(o))return o(r,e);if((0,se.Kg)(o))return r[o];if((0,c.b0)(o)){const e=r[t];return void 0===e?"":e}};let dk=0;class fk{constructor(e){this.id=dk++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const t in e)(0,se.$3)(e,t)&&(this[t]=e[t]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const e=this.store;if(!e)throw new Error("[Node]store is required!");e.registerNode(this);const t=e.props;if(t&&void 0!==t.isLeaf){const e=uk(this,"isLeaf");(0,c.Lm)(e)&&(this.isLeafByUser=e)}if(!0!==e.lazy&&this.data?(this.setData(this.data),e.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&e.lazy&&e.defaultExpandAll&&!this.isLeafByUser&&this.expand(),(0,se.cy)(this.data)||ik(this,this.data),!this.data)return;const n=e.defaultExpandedKeys,r=e.key;r&&n&&n.includes(this.key)&&this.expand(null,e.autoExpandParent),r&&void 0!==e.currentNodeKey&&this.key===e.currentNodeKey&&(e.currentNode=this,e.currentNode.isCurrent=!0),e.lazy&&e._initDefaultCheckedNode(this),this.updateLeafState(),!this.parent||1!==this.level&&!0!==this.parent.expanded||(this.canFocus=!0)}setData(e){let t;(0,se.cy)(e)||ik(this,e),this.data=e,this.childNodes=[],t=0===this.level&&(0,se.cy)(this.data)?this.data:uk(this,"children")||[];for(let e=0,n=t.length;e<n;e++)this.insertChild({data:t[e]})}get label(){return uk(this,"label")}get key(){const e=this.store.key;return this.data?this.data[e]:null}get disabled(){return uk(this,"disabled")}get nextSibling(){const e=this.parent;if(e){const t=e.childNodes.indexOf(this);if(t>-1)return e.childNodes[t+1]}return null}get previousSibling(){const e=this.parent;if(e){const t=e.childNodes.indexOf(this);if(t>-1)return t>0?e.childNodes[t-1]:null}return null}contains(e,t=!0){return(this.childNodes||[]).some((n=>n===e||t&&n.contains(e)))}remove(){const e=this.parent;e&&e.removeChild(this)}insertChild(e,t,n){if(!e)throw new Error("InsertChild error: child is required.");if(!(e instanceof fk)){if(!n){const n=this.getChildren(!0);n.includes(e.data)||((0,c.b0)(t)||t<0?n.push(e.data):n.splice(t,0,e.data))}Object.assign(e,{parent:this,store:this.store}),(e=(0,i.reactive)(new fk(e)))instanceof fk&&e.initialize()}e.level=this.level+1,(0,c.b0)(t)||t<0?this.childNodes.push(e):this.childNodes.splice(t,0,e),this.updateLeafState()}insertBefore(e,t){let n;t&&(n=this.childNodes.indexOf(t)),this.insertChild(e,n)}insertAfter(e,t){let n;t&&(n=this.childNodes.indexOf(t),-1!==n&&(n+=1)),this.insertChild(e,n)}removeChild(e){const t=this.getChildren()||[],n=t.indexOf(e.data);n>-1&&t.splice(n,1);const r=this.childNodes.indexOf(e);r>-1&&(this.store&&this.store.deregisterNode(e),e.parent=null,this.childNodes.splice(r,1)),this.updateLeafState()}removeChildByData(e){let t=null;for(let n=0;n<this.childNodes.length;n++)if(this.childNodes[n].data===e){t=this.childNodes[n];break}t&&this.removeChild(t)}expand(e,t){const n=()=>{if(t){let e=this.parent;for(;e.level>0;)e.expanded=!0,e=e.parent}this.expanded=!0,e&&e(),this.childNodes.forEach((e=>{e.canFocus=!0}))};this.shouldLoadData()?this.loadData((e=>{(0,se.cy)(e)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||ck(this),n())})):n()}doCreateChildren(e,t={}){e.forEach((e=>{this.insertChild(Object.assign({data:e},t),void 0,!0)}))}collapse(){this.expanded=!1,this.childNodes.forEach((e=>{e.canFocus=!1}))}shouldLoadData(){return!0===this.store.lazy&&this.store.load&&!this.loaded}updateLeafState(){if(!0===this.store.lazy&&!0!==this.loaded&&void 0!==this.isLeafByUser)return void(this.isLeaf=this.isLeafByUser);const e=this.childNodes;!this.store.lazy||!0===this.store.lazy&&!0===this.loaded?this.isLeaf=!e||0===e.length:this.isLeaf=!1}setChecked(e,t,n,r){if(this.indeterminate="half"===e,this.checked=!0===e,this.store.checkStrictly)return;if(!this.shouldLoadData()||this.store.checkDescendants){const{all:n,allWithoutDisable:o}=lk(this.childNodes);this.isLeaf||n||!o||(this.checked=!1,e=!1);const i=()=>{if(t){const n=this.childNodes;for(let o=0,i=n.length;o<i;o++){const i=n[o];r=r||!1!==e;const a=i.disabled?i.checked:r;i.setChecked(a,t,!0,r)}const{half:o,all:i}=lk(n);i||(this.checked=i,this.indeterminate=o)}};if(this.shouldLoadData())return void this.loadData((()=>{i(),ck(this)}),{checked:!1!==e});i()}const o=this.parent;o&&0!==o.level&&(n||ck(o))}getChildren(e=!1){if(0===this.level)return this.data;const t=this.data;if(!t)return null;const n=this.store.props;let r="children";return n&&(r=n.children||"children"),void 0===t[r]&&(t[r]=null),e&&!t[r]&&(t[r]=[]),t[r]}updateChildren(){const e=this.getChildren()||[],t=this.childNodes.map((e=>e.data)),n={},r=[];e.forEach(((e,o)=>{const i=e[ok];i&&t.findIndex((e=>e[ok]===i))>=0?n[i]={index:o,data:e}:r.push({index:o,data:e})})),this.store.lazy||t.forEach((e=>{n[e[ok]]||this.removeChildByData(e)})),r.forEach((({index:e,data:t})=>{this.insertChild({data:t},e)})),this.updateLeafState()}loadData(e,t={}){if(!0!==this.store.lazy||!this.store.load||this.loaded||this.loading&&!Object.keys(t).length)e&&e.call(this);else{this.loading=!0;const n=n=>{this.childNodes=[],this.doCreateChildren(n,t),this.loaded=!0,this.loading=!1,this.updateLeafState(),e&&e.call(this,n)},r=()=>{this.loading=!1};this.store.load(this,n,r)}}eachNode(e){const t=[this];for(;t.length;){const n=t.shift();t.unshift(...n.childNodes),e(n)}}reInitChecked(){this.store.checkStrictly||ck(this)}}class hk{constructor(e){this.currentNode=null,this.currentNodeKey=null;for(const t in e)(0,se.$3)(e,t)&&(this[t]=e[t]);this.nodesMap={}}initialize(){this.root=new fk({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load?(0,this.load)(this.root,(e=>{this.root.doCreateChildren(e),this._initDefaultCheckedNodes()})):this._initDefaultCheckedNodes()}filter(e){const t=this.filterNodeMethod,n=this.lazy,r=async function(o){const a=o.root?o.root.childNodes:o.childNodes;for(const[n,o]of a.entries())o.visible=t.call(o,e,o.data,o),n%80==0&&n>0&&await(0,i.nextTick)(),r(o);if(!o.visible&&a.length){let e=!0;e=!a.some((e=>e.visible)),o.root?o.root.visible=!1===e:o.visible=!1===e}e&&o.visible&&!o.isLeaf&&(n&&!o.loaded||o.expand())};r(this)}setData(e){e!==this.root.data?(this.nodesMap={},this.root.setData(e),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(e){if(e instanceof fk)return e;const t=(0,se.Gv)(e)?ak(this.key,e):e;return this.nodesMap[t]||null}insertBefore(e,t){const n=this.getNode(t);n.parent.insertBefore({data:e},n)}insertAfter(e,t){const n=this.getNode(t);n.parent.insertAfter({data:e},n)}remove(e){const t=this.getNode(e);t&&t.parent&&(t===this.currentNode&&(this.currentNode=null),t.parent.removeChild(t))}append(e,t){const n=(0,c.Xj)(t)?this.root:this.getNode(t);n&&n.insertChild({data:e})}_initDefaultCheckedNodes(){const e=this.defaultCheckedKeys||[],t=this.nodesMap;e.forEach((e=>{const n=t[e];n&&n.setChecked(!0,!this.checkStrictly)}))}_initDefaultCheckedNode(e){(this.defaultCheckedKeys||[]).includes(e.key)&&e.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())}registerNode(e){const t=this.key;e&&e.data&&(t?void 0!==e.key&&(this.nodesMap[e.key]=e):this.nodesMap[e.id]=e)}deregisterNode(e){this.key&&e&&e.data&&(e.childNodes.forEach((e=>{this.deregisterNode(e)})),delete this.nodesMap[e.key])}getCheckedNodes(e=!1,t=!1){const n=[],r=function(o){(o.root?o.root.childNodes:o.childNodes).forEach((o=>{(o.checked||t&&o.indeterminate)&&(!e||e&&o.isLeaf)&&n.push(o.data),r(o)}))};return r(this),n}getCheckedKeys(e=!1){return this.getCheckedNodes(e).map((e=>(e||{})[this.key]))}getHalfCheckedNodes(){const e=[],t=function(n){(n.root?n.root.childNodes:n.childNodes).forEach((n=>{n.indeterminate&&e.push(n.data),t(n)}))};return t(this),e}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map((e=>(e||{})[this.key]))}_getAllNodes(){const e=[],t=this.nodesMap;for(const n in t)(0,se.$3)(t,n)&&e.push(t[n]);return e}updateChildren(e,t){const n=this.nodesMap[e];if(!n)return;const r=n.childNodes;for(let e=r.length-1;e>=0;e--){const t=r[e];this.remove(t.data)}for(let e=0,r=t.length;e<r;e++){const r=t[e];this.append(r,n.data)}}_setCheckedKeys(e,t=!1,n){const r=this._getAllNodes().sort(((e,t)=>e.level-t.level)),o=Object.create(null),i=Object.keys(n);r.forEach((e=>e.setChecked(!1,!1)));const a=t=>{t.childNodes.forEach((t=>{var n;o[t.data[e]]=!0,(null==(n=t.childNodes)?void 0:n.length)&&a(t)}))};for(let n=0,s=r.length;n<s;n++){const s=r[n],l=s.data[e].toString();if(i.includes(l)){if(s.childNodes.length&&a(s),s.isLeaf||this.checkStrictly)s.setChecked(!0,!1);else if(s.setChecked(!0,!0),t){s.setChecked(!1,!1);const e=function(t){t.childNodes.forEach((t=>{t.isLeaf||t.setChecked(!1,!1),e(t)}))};e(s)}}else s.checked&&!o[l]&&s.setChecked(!1,!1)}}setCheckedNodes(e,t=!1){const n=this.key,r={};e.forEach((e=>{r[(e||{})[n]]=!0})),this._setCheckedKeys(n,t,r)}setCheckedKeys(e,t=!1){this.defaultCheckedKeys=e;const n=this.key,r={};e.forEach((e=>{r[e]=!0})),this._setCheckedKeys(n,t,r)}setDefaultExpandedKeys(e){e=e||[],this.defaultExpandedKeys=e,e.forEach((e=>{const t=this.getNode(e);t&&t.expand(null,this.autoExpandParent)}))}setChecked(e,t,n){const r=this.getNode(e);r&&r.setChecked(!!t,n)}getCurrentNode(){return this.currentNode}setCurrentNode(e){const t=this.currentNode;t&&(t.isCurrent=!1),this.currentNode=e,this.currentNode.isCurrent=!0}setUserCurrentNode(e,t=!0){const n=e[this.key],r=this.nodesMap[n];this.setCurrentNode(r),t&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(e,t=!0){if(this.currentNodeKey=e,null==e)return this.currentNode&&(this.currentNode.isCurrent=!1),void(this.currentNode=null);const n=this.getNode(e);n&&(this.setCurrentNode(n),t&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const pk=(0,i.defineComponent)({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=(0,h.DU)("tree"),n=(0,i.inject)("NodeInstance"),r=(0,i.inject)("RootTree");return()=>{const o=e.node,{data:a,store:s}=o;return e.renderContent?e.renderContent(i.h,{_self:n,node:o,data:a,store:s}):(0,i.renderSlot)(r.ctx.slots,"default",{node:o,data:a},(()=>[(0,i.h)("span",{class:t.be("node","label")},[o.label])]))}}});var mk=(0,f.A)(pk,[["__file","tree-node-content.vue"]]);function gk(e){const t=(0,i.inject)("TreeNodeMap",null),n={treeNodeExpand:t=>{e.node!==t&&e.node.collapse()},children:[]};return t&&t.children.push(n),(0,i.provide)("TreeNodeMap",n),{broadcastExpanded:t=>{if(e.accordion)for(const e of n.children)e.treeNodeExpand(t)}}}const Ak=Symbol("dragEvents"),vk=(0,i.defineComponent)({name:"ElTreeNode",components:{ElCollapseTransition:Tl,ElCheckbox:es,NodeContent:mk,ElIcon:_.tk,Loading:j.Loading},props:{node:{type:fk,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(e,t){const n=(0,h.DU)("tree"),{broadcastExpanded:r}=gk(e),o=(0,i.inject)("RootTree"),a=(0,i.ref)(!1),s=(0,i.ref)(!1),l=(0,i.ref)(),c=(0,i.ref)(),u=(0,i.ref)(),d=(0,i.inject)(Ak),f=(0,i.getCurrentInstance)();(0,i.provide)("NodeInstance",f),o||(0,g.U)("Tree","Can not find node's tree."),e.node.expanded&&(a.value=!0,s.value=!0);const p=o.props.props.children||"children";(0,i.watch)((()=>{var t;const n=null==(t=e.node.data)?void 0:t[p];return n&&[...n]}),(()=>{e.node.updateChildren()})),(0,i.watch)((()=>e.node.indeterminate),(t=>{A(e.node.checked,t)})),(0,i.watch)((()=>e.node.checked),(t=>{A(t,e.node.indeterminate)})),(0,i.watch)((()=>e.node.childNodes.length),(()=>e.node.reInitChecked())),(0,i.watch)((()=>e.node.expanded),(e=>{(0,i.nextTick)((()=>a.value=e)),e&&(s.value=!0)}));const m=e=>ak(o.props.nodeKey,e.data),A=(t,n)=>{l.value===t&&c.value===n||o.ctx.emit("check-change",e.node.data,t,n),l.value=t,c.value=n},v=()=>{e.node.isLeaf||(a.value?(o.ctx.emit("node-collapse",e.node.data,e.node,f),e.node.collapse()):e.node.expand((()=>{t.emit("node-expand",e.node.data,e.node,f)})))},y=t=>{e.node.setChecked(t,!(null==o?void 0:o.props.checkStrictly)),(0,i.nextTick)((()=>{const t=o.store.value;o.ctx.emit("check",e.node.data,{checkedNodes:t.getCheckedNodes(),checkedKeys:t.getCheckedKeys(),halfCheckedNodes:t.getHalfCheckedNodes(),halfCheckedKeys:t.getHalfCheckedKeys()})}))};return{ns:n,node$:u,tree:o,expanded:a,childNodeRendered:s,oldChecked:l,oldIndeterminate:c,getNodeKey:m,getNodeClass:t=>{const n=e.props.class;if(!n)return{};let r;if((0,se.Tn)(n)){const{data:e}=t;r=n(e,t)}else r=n;return(0,se.Kg)(r)?{[r]:!0}:r},handleSelectChange:A,handleClick:t=>{sk(o.store,o.ctx.emit,(()=>{var t;if(null==(t=null==o?void 0:o.props)?void 0:t.nodeKey){const t=m(e.node);o.store.value.setCurrentNodeKey(t)}else o.store.value.setCurrentNode(e.node)})),o.currentNode.value=e.node,o.props.expandOnClickNode&&v(),(o.props.checkOnClickNode||e.node.isLeaf&&o.props.checkOnClickLeaf)&&!e.node.disabled&&y(!e.node.checked),o.ctx.emit("node-click",e.node.data,e.node,f,t)},handleContextMenu:t=>{var n;(null==(n=o.instance.vnode.props)?void 0:n.onNodeContextmenu)&&(t.stopPropagation(),t.preventDefault()),o.ctx.emit("node-contextmenu",t,e.node.data,e.node,f)},handleExpandIconClick:v,handleCheckChange:y,handleChildNodeExpand:(e,t,n)=>{r(t),o.ctx.emit("node-expand",e,t,n)},handleDragStart:t=>{o.props.draggable&&d.treeNodeDragStart({event:t,treeNode:e})},handleDragOver:t=>{t.preventDefault(),o.props.draggable&&d.treeNodeDragOver({event:t,treeNode:{$el:u.value,node:e.node}})},handleDrop:e=>{e.preventDefault()},handleDragEnd:e=>{o.props.draggable&&d.treeNodeDragEnd(e)},CaretRight:j.CaretRight}}});var yk=(0,f.A)(vk,[["render",function(e,t,n,r,o,a){const s=(0,i.resolveComponent)("el-icon"),l=(0,i.resolveComponent)("el-checkbox"),c=(0,i.resolveComponent)("loading"),u=(0,i.resolveComponent)("node-content"),d=(0,i.resolveComponent)("el-tree-node"),f=(0,i.resolveComponent)("el-collapse-transition");return(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref:"node$",class:(0,i.normalizeClass)([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:(0,i.withModifiers)(e.handleClick,["stop"]),onContextmenu:e.handleContextMenu,onDragstart:(0,i.withModifiers)(e.handleDragStart,["stop"]),onDragover:(0,i.withModifiers)(e.handleDragOver,["stop"]),onDragend:(0,i.withModifiers)(e.handleDragEnd,["stop"]),onDrop:(0,i.withModifiers)(e.handleDrop,["stop"])},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(e.ns.be("node","content")),style:(0,i.normalizeStyle)({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?((0,i.openBlock)(),(0,i.createBlock)(s,{key:0,class:(0,i.normalizeClass)([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:(0,i.withModifiers)(e.handleExpandIconClick,["stop"])},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.tree.props.icon||e.CaretRight)))])),_:1},8,["class","onClick"])):(0,i.createCommentVNode)("v-if",!0),e.showCheckbox?((0,i.openBlock)(),(0,i.createBlock)(l,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:(0,i.withModifiers)((()=>{}),["stop"]),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onClick","onChange"])):(0,i.createCommentVNode)("v-if",!0),e.node.loading?((0,i.openBlock)(),(0,i.createBlock)(s,{key:2,class:(0,i.normalizeClass)([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)(c)])),_:1},8,["class"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createVNode)(u,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),(0,i.createVNode)(f,null,{default:(0,i.withCtx)((()=>[!e.renderAfterExpand||e.childNodeRendered?(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.node.childNodes,(t=>((0,i.openBlock)(),(0,i.createBlock)(d,{key:e.getNodeKey(t),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:t,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"])))),128))],10,["aria-expanded"])),[[i.vShow,e.expanded]]):(0,i.createCommentVNode)("v-if",!0)])),_:1})],42,["aria-expanded","aria-disabled","aria-checked","draggable","data-key","onClick","onContextmenu","onDragstart","onDragover","onDragend","onDrop"])),[[i.vShow,e.node.visible]])}],["__file","tree-node.vue"]]);const Ok=(0,i.defineComponent)({name:"ElTree",components:{ElTreeNode:yk},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:x.Ze}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(e,t){const{t:n}=(0,wr.Ym)(),r=(0,h.DU)("tree"),o=(0,i.inject)(Sm,null),s=(0,i.ref)(new hk({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));s.value.initialize();const l=(0,i.ref)(s.value.root),c=(0,i.ref)(null),u=(0,i.ref)(null),d=(0,i.ref)(null),{broadcastExpanded:f}=gk(e),{dragState:p}=function({props:e,ctx:t,el$:n,dropIndicator$:r,store:o}){const a=(0,h.DU)("tree"),s=(0,i.ref)({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return(0,i.provide)(Ak,{treeNodeDragStart:({event:n,treeNode:r})=>{if((0,se.Tn)(e.allowDrag)&&!e.allowDrag(r.node))return n.preventDefault(),!1;n.dataTransfer.effectAllowed="move";try{n.dataTransfer.setData("text/plain","")}catch(e){}s.value.draggingNode=r,t.emit("node-drag-start",r.node,n)},treeNodeDragOver:({event:o,treeNode:i})=>{const l=i,c=s.value.dropNode;c&&c.node.id!==l.node.id&&(0,m.vy)(c.$el,a.is("drop-inner"));const u=s.value.draggingNode;if(!u||!l)return;let d=!0,f=!0,h=!0,p=!0;(0,se.Tn)(e.allowDrop)&&(d=e.allowDrop(u.node,l.node,"prev"),p=f=e.allowDrop(u.node,l.node,"inner"),h=e.allowDrop(u.node,l.node,"next")),o.dataTransfer.dropEffect=f||d||h?"move":"none",(d||f||h)&&(null==c?void 0:c.node.id)!==l.node.id&&(c&&t.emit("node-drag-leave",u.node,c.node,o),t.emit("node-drag-enter",u.node,l.node,o)),s.value.dropNode=d||f||h?l:null,l.node.nextSibling===u.node&&(h=!1),l.node.previousSibling===u.node&&(d=!1),l.node.contains(u.node,!1)&&(f=!1),(u.node===l.node||u.node.contains(l.node))&&(d=!1,f=!1,h=!1);const g=l.$el.querySelector(`.${a.be("node","content")}`).getBoundingClientRect(),A=n.value.getBoundingClientRect();let v;const y=d?f?.25:h?.45:1:-1,O=h?f?.75:d?.55:0:1;let b=-9999;const w=o.clientY-g.top;v=w<g.height*y?"before":w>g.height*O?"after":f?"inner":"none";const _=l.$el.querySelector(`.${a.be("node","expand-icon")}`).getBoundingClientRect(),x=r.value;"before"===v?b=_.top-A.top:"after"===v&&(b=_.bottom-A.top),x.style.top=`${b}px`,x.style.left=_.right-A.left+"px","inner"===v?(0,m.iQ)(l.$el,a.is("drop-inner")):(0,m.vy)(l.$el,a.is("drop-inner")),s.value.showDropIndicator="before"===v||"after"===v,s.value.allowDrop=s.value.showDropIndicator||p,s.value.dropType=v,t.emit("node-drag-over",u.node,l.node,o)},treeNodeDragEnd:e=>{const{draggingNode:n,dropType:r,dropNode:i}=s.value;if(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="move"),n&&i){const s={data:n.node.data};"none"!==r&&n.node.remove(),"before"===r?i.node.parent.insertBefore(s,i.node):"after"===r?i.node.parent.insertAfter(s,i.node):"inner"===r&&i.node.insertChild(s),"none"!==r&&(o.value.registerNode(s),o.value.key&&n.node.eachNode((e=>{var t;null==(t=o.value.nodesMap[e.data[o.value.key]])||t.setChecked(e.checked,!o.value.checkStrictly)}))),(0,m.vy)(i.$el,a.is("drop-inner")),t.emit("node-drag-end",n.node,i.node,r,e),"none"!==r&&t.emit("node-drop",n.node,i.node,r,e)}n&&!i&&t.emit("node-drag-end",n.node,null,r,e),s.value.showDropIndicator=!1,s.value.draggingNode=null,s.value.dropNode=null,s.value.allowDrop=!0}}),{dragState:s}}({props:e,ctx:t,el$:u,dropIndicator$:d,store:s});!function({el$:e},t){const n=(0,h.DU)("tree"),r=(0,i.shallowRef)([]),o=(0,i.shallowRef)([]);(0,i.onMounted)((()=>{s()})),(0,i.onUpdated)((()=>{r.value=Array.from(e.value.querySelectorAll("[role=treeitem]")),o.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"))})),(0,i.watch)(o,(e=>{e.forEach((e=>{e.setAttribute("tabindex","-1")}))})),(0,a.MLh)(e,"keydown",(o=>{const i=o.target;if(!i.className.includes(n.b("node")))return;const a=o.code;r.value=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));const s=r.value.indexOf(i);let l;if([Wt.R.up,Wt.R.down].includes(a)){if(o.preventDefault(),a===Wt.R.up){l=-1===s?0:0!==s?s-1:r.value.length-1;const e=l;for(;!t.value.getNode(r.value[l].dataset.key).canFocus;){if(l--,l===e){l=-1;break}l<0&&(l=r.value.length-1)}}else{l=-1===s?0:s<r.value.length-1?s+1:0;const e=l;for(;!t.value.getNode(r.value[l].dataset.key).canFocus;){if(l++,l===e){l=-1;break}l>=r.value.length&&(l=0)}}-1!==l&&r.value[l].focus()}[Wt.R.left,Wt.R.right].includes(a)&&(o.preventDefault(),i.click());const c=i.querySelector('[type="checkbox"]');[Wt.R.enter,Wt.R.numpadEnter,Wt.R.space].includes(a)&&c&&(o.preventDefault(),c.click())}));const s=()=>{var t;r.value=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),o.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"));const i=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);i.length?i[0].setAttribute("tabindex","0"):null==(t=r.value[0])||t.setAttribute("tabindex","0")}}({el$:u},s);const g=(0,i.computed)((()=>{const{childNodes:e}=l.value,t=!!o&&0!==o.hasFilteredOptions;return(!e||0===e.length||e.every((({visible:e})=>!e)))&&!t}));(0,i.watch)((()=>e.currentNodeKey),(e=>{s.value.setCurrentNodeKey(e)})),(0,i.watch)((()=>e.defaultCheckedKeys),(e=>{s.value.setDefaultCheckedKey(e)})),(0,i.watch)((()=>e.defaultExpandedKeys),(e=>{s.value.setDefaultExpandedKeys(e)})),(0,i.watch)((()=>e.data),(e=>{s.value.setData(e)}),{deep:!0}),(0,i.watch)((()=>e.checkStrictly),(e=>{s.value.checkStrictly=e}));const A=()=>{const e=s.value.getCurrentNode();return e?e.data:null};return(0,i.provide)("RootTree",{ctx:t,props:e,store:s,root:l,currentNode:c,instance:(0,i.getCurrentInstance)()}),(0,i.provide)(zn.w,void 0),{ns:r,store:s,root:l,currentNode:c,dragState:p,el$:u,dropIndicator$:d,isEmpty:g,filter:t=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");s.value.filter(t)},getNodeKey:t=>ak(e.nodeKey,t.data),getNodePath:t=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const n=s.value.getNode(t);if(!n)return[];const r=[n.data];let o=n.parent;for(;o&&o!==l.value;)r.push(o.data),o=o.parent;return r.reverse()},getCheckedNodes:(e,t)=>s.value.getCheckedNodes(e,t),getCheckedKeys:e=>s.value.getCheckedKeys(e),getCurrentNode:A,getCurrentKey:()=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const t=A();return t?t[e.nodeKey]:null},setCheckedNodes:(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");s.value.setCheckedNodes(t,n)},setCheckedKeys:(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");s.value.setCheckedKeys(t,n)},setChecked:(e,t,n)=>{s.value.setChecked(e,t,n)},getHalfCheckedNodes:()=>s.value.getHalfCheckedNodes(),getHalfCheckedKeys:()=>s.value.getHalfCheckedKeys(),setCurrentNode:(n,r=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");sk(s,t.emit,(()=>{f(n),s.value.setUserCurrentNode(n,r)}))},setCurrentKey:(n,r=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");sk(s,t.emit,(()=>{f(),s.value.setCurrentNodeKey(n,r)}))},t:n,getNode:e=>s.value.getNode(e),remove:e=>{s.value.remove(e)},append:(e,t)=>{s.value.append(e,t)},insertBefore:(e,t)=>{s.value.insertBefore(e,t)},insertAfter:(e,t)=>{s.value.insertAfter(e,t)},handleNodeExpand:(e,n,r)=>{f(n),t.emit("node-expand",e,n,r)},updateKeyChildren:(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");s.value.updateChildren(t,n)}}}});var bk=(0,f.A)(Ok,[["render",function(e,t,n,r,o,a){const s=(0,i.resolveComponent)("el-tree-node");return(0,i.openBlock)(),(0,i.createElementBlock)("div",{ref:"el$",class:(0,i.normalizeClass)([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner","inner"===e.dragState.dropType),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.root.childNodes,(t=>((0,i.openBlock)(),(0,i.createBlock)(s,{key:e.getNodeKey(t),node:t,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"])))),128)),e.isEmpty?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)(e.ns.e("empty-block"))},[(0,i.renderSlot)(e.$slots,"empty",{},(()=>{var t;return[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(e.ns.e("empty-text"))},(0,i.toDisplayString)(null!=(t=e.emptyText)?t:e.t("el.tree.emptyText")),3)]}))],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.withDirectives)((0,i.createElementVNode)("div",{ref:"dropIndicator$",class:(0,i.normalizeClass)(e.ns.e("drop-indicator"))},null,2),[[i.vShow,e.dragState.showDropIndicator]])],2)}],["__file","tree.vue"]]);const wk=(0,b.GU)(bk),_k=(0,i.defineComponent)({extends:eg,setup(e,t){const n=eg.setup(e,t);delete n.selectOptionClick;const r=(0,i.getCurrentInstance)().proxy;return(0,i.nextTick)((()=>{n.select.states.cachedOptions.get(r.value)||n.select.onOptionCreate(r)})),(0,i.watch)((()=>t.attrs.visible),(e=>{(0,i.nextTick)((()=>{n.states.visible=e}))}),{immediate:!0}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function xk(e){return e||0===e}function Sk(e){return(0,se.cy)(e)&&e.length}function kk(e){return(0,se.cy)(e)?e:xk(e)?[e]:[]}function Ck(e,t,n,r,o){for(let i=0;i<e.length;i++){const a=e[i];if(t(a,i,e,o))return r?r(a,i,e,o):a;{const e=n(a);if(Sk(e)){const o=Ck(e,t,n,r,a);if(o)return o}}}}function Bk(e,t,n,r){for(let o=0;o<e.length;o++){const i=e[o];t(i,o,e,r);const a=n(i);Sk(a)&&Bk(a,t,n,i)}}var Qk=(0,i.defineComponent)({props:{data:{type:Array,default:()=>[]}},setup(e){const t=(0,i.inject)(Sm);return(0,i.watch)((()=>e.data),(()=>{var n;e.data.forEach((e=>{t.states.cachedOptions.has(e.value)||t.states.cachedOptions.set(e.value,e)}));const r=(null==(n=t.selectRef)?void 0:n.querySelectorAll("input"))||[];Y.oc&&!Array.from(r).includes(document.activeElement)&&t.setSelected()}),{flush:"post",immediate:!0}),()=>{}}});const Tk=(0,i.defineComponent)({name:"ElTreeSelect",inheritAttrs:!1,props:{...Jm.props,...wk.props,cacheData:{type:Array,default:()=>[]}},setup(e,t){const{slots:n,expose:r}=t,o=(0,i.ref)(),a=(0,i.ref)(),l=(0,i.computed)((()=>e.nodeKey||e.valueKey||"value")),u=((e,{attrs:t,emit:n},{select:r,tree:o,key:a})=>{const l=(0,h.DU)("tree-select");return(0,i.watch)((()=>e.data),(()=>{e.filterable&&(0,i.nextTick)((()=>{var e,t;null==(t=o.value)||t.filter(null==(e=r.value)?void 0:e.states.inputValue)}))}),{flush:"post"}),{...(0,qa.A)((0,i.toRefs)(e),Object.keys(Jm.props)),...t,class:(0,i.computed)((()=>t.class)),style:(0,i.computed)((()=>t.style)),"onUpdate:modelValue":e=>n(s.l4,e),valueKey:a,popperClass:(0,i.computed)((()=>{const t=[l.e("popper")];return e.popperClass&&t.push(e.popperClass),t.join(" ")})),filterMethod:(t="")=>{var n;e.filterMethod?e.filterMethod(t):e.remoteMethod?e.remoteMethod(t):null==(n=o.value)||n.filter(t)}}})(e,t,{select:o,tree:a,key:l}),{cacheOptions:d,...f}=((e,{attrs:t,slots:n,emit:r},{select:o,tree:a,key:l})=>{(0,i.watch)((()=>e.modelValue),(()=>{e.showCheckbox&&(0,i.nextTick)((()=>{const t=a.value;t&&!Pa(t.getCheckedKeys(),kk(e.modelValue))&&t.setCheckedKeys(kk(e.modelValue))}))}),{immediate:!0,deep:!0});const u=(0,i.computed)((()=>({value:l.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...e.props}))),d=(e,t)=>{var n;const r=u.value[e];return(0,se.Tn)(r)?r(t,null==(n=a.value)?void 0:n.getNode(d("value",t))):t[r]},f=kk(e.modelValue).map((t=>Ck(e.data||[],(e=>d("value",e)===t),(e=>d("children",e)),((e,t,n,r)=>r&&d("value",r))))).filter((e=>xk(e))),h=(0,i.computed)((()=>{if(!e.renderAfterExpand&&!e.lazy)return[];const t=[];return Bk(e.data.concat(e.cacheData),(e=>{const n=d("value",e);t.push({value:n,currentLabel:d("label",e),isDisabled:d("disabled",e)})}),(e=>d("children",e))),t})),p=()=>{var e;return null==(e=a.value)?void 0:e.getCheckedKeys().filter((e=>{var t;const n=null==(t=a.value)?void 0:t.getNode(e);return!(0,sn.A)(n)&&(0,c.Im)(n.childNodes)}))};return{...(0,qa.A)((0,i.toRefs)(e),Object.keys(wk.props)),...t,nodeKey:l,expandOnClickNode:(0,i.computed)((()=>!e.checkStrictly&&e.expandOnClickNode)),defaultExpandedKeys:(0,i.computed)((()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(f):f)),renderContent:(t,{node:r,data:o,store:i})=>t(_k,{value:d("value",o),label:d("label",o),disabled:d("disabled",o),visible:r.visible},e.renderContent?()=>e.renderContent(t,{node:r,data:o,store:i}):n.default?()=>n.default({node:r,data:o,store:i}):void 0),filterNodeMethod:(t,n,r)=>e.filterNodeMethod?e.filterNodeMethod(t,n,r):!t||new RegExp(Qs(t),"i").test(d("label",n)||""),onNodeClick:(n,r,i)=>{var a,s,l,c;if(null==(a=t.onNodeClick)||a.call(t,n,r,i),!e.showCheckbox||!e.checkOnClickNode){if(e.showCheckbox||!e.checkStrictly&&!r.isLeaf)e.expandOnClickNode&&i.proxy.handleExpandIconClick();else if(!d("disabled",n)){const e=null==(s=o.value)?void 0:s.states.options.get(d("value",n));null==(l=o.value)||l.handleOptionSelect(e)}null==(c=o.value)||c.focus()}},onCheck:(n,l)=>{var c;if(!e.showCheckbox)return;const u=d("value",n),f={};Bk([a.value.store.root],(e=>f[e.key]=e),(e=>e.childNodes));const h=l.checkedKeys,m=e.multiple?kk(e.modelValue).filter((e=>!(e in f)&&!h.includes(e))):[],g=m.concat(h);if(e.checkStrictly)r(s.l4,e.multiple?g:g.includes(u)?u:void 0);else if(e.multiple){const e=p();r(s.l4,m.concat(e))}else{const t=Ck([n],(e=>!Sk(d("children",e))&&!d("disabled",e)),(e=>d("children",e))),o=t?d("value",t):void 0,i=xk(e.modelValue)&&!!Ck([n],(t=>d("value",t)===e.modelValue),(e=>d("children",e)));r(s.l4,o===e.modelValue||i?void 0:o)}(0,i.nextTick)((()=>{var r;const o=kk(e.modelValue);a.value.setCheckedKeys(o),null==(r=t.onCheck)||r.call(t,n,{checkedKeys:a.value.getCheckedKeys(),checkedNodes:a.value.getCheckedNodes(),halfCheckedKeys:a.value.getHalfCheckedKeys(),halfCheckedNodes:a.value.getHalfCheckedNodes()})})),null==(c=o.value)||c.focus()},onNodeExpand:(n,o,l)=>{var c;null==(c=t.onNodeExpand)||c.call(t,n,o,l),(0,i.nextTick)((()=>{if(!e.checkStrictly&&e.lazy&&e.multiple&&o.checked){const t={},n=a.value.getCheckedKeys();Bk([a.value.store.root],(e=>t[e.key]=e),(e=>e.childNodes));const o=kk(e.modelValue).filter((e=>!(e in t)&&!n.includes(e))),i=p();r(s.l4,o.concat(i))}}))},cacheOptions:h}})(e,t,{select:o,tree:a,key:l}),p=(0,i.reactive)({});return r(p),(0,i.onMounted)((()=>{Object.assign(p,{...(0,qa.A)(a.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...(0,qa.A)(o.value,["focus","blur","selectedLabel"])})})),()=>(0,i.h)(Jm,(0,i.reactive)({...u,ref:e=>o.value=e}),{...n,default:()=>[(0,i.h)(Qk,{data:d.value}),(0,i.h)(wk,(0,i.reactive)({...f,ref:e=>a.value=e}))]})}});var Ek=(0,f.A)(Tk,[["__file","tree-select.vue"]]);const Pk=(0,b.GU)(Ek),$k=Symbol(),Mk={key:-1,level:-1,data:{}};var zk=(e=>(e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e.CLASS="",e))(zk||{}),Rk=(e=>(e.ADD="add",e.DELETE="delete",e))(Rk||{});const Dk={type:Number,default:26},Ik=(0,l.b_)({data:{type:(0,l.jq)(Array),default:()=>(0,fl.f)([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:(0,l.jq)(Object),default:()=>(0,fl.f)({children:"children",label:"label",disabled:"disabled",value:"id",class:""})},highlightCurrent:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultCheckedKeys:{type:(0,l.jq)(Array),default:()=>(0,fl.f)([])},checkStrictly:{type:Boolean,default:!1},defaultExpandedKeys:{type:(0,l.jq)(Array),default:()=>(0,fl.f)([])},indent:{type:Number,default:16},itemSize:Dk,icon:{type:x.Ze},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},checkOnClickLeaf:{type:Boolean,default:!0},currentNodeKey:{type:(0,l.jq)([String,Number])},accordion:{type:Boolean,default:!1},filterMethod:{type:(0,l.jq)(Function)},perfMode:{type:Boolean,default:!0}}),Nk=(0,l.b_)({node:{type:(0,l.jq)(Object),default:()=>(0,fl.f)(Mk)},expanded:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},current:{type:Boolean,default:!1},hiddenExpandIcon:{type:Boolean,default:!1},itemSize:Dk}),Lk=(0,l.b_)({node:{type:(0,l.jq)(Object),required:!0}}),Vk="node-click",Uk="node-drop",Fk="node-expand",Hk="node-collapse",Wk="current-change",Xk="check",jk="check-change",qk="node-contextmenu",Zk={[Vk]:(e,t,n)=>e&&t&&n,[Uk]:(e,t,n)=>e&&t&&n,[Fk]:(e,t)=>e&&t,[Hk]:(e,t)=>e&&t,[Wk]:(e,t)=>e&&t,[Xk]:(e,t)=>e&&t,[jk]:(e,t)=>e&&(0,c.Lm)(t),[qk]:(e,t,n)=>e&&t&&n},Yk={click:(e,t)=>!(!e||!t),drop:(e,t)=>!(!e||!t),toggle:e=>!!e,check:(e,t)=>e&&(0,c.Lm)(t)};var Gk=(0,i.defineComponent)({name:"ElTreeNodeContent",props:Lk,setup(e){const t=(0,i.inject)($k),n=(0,h.DU)("tree");return()=>{const r=e.node,{data:o}=r;return(null==t?void 0:t.ctx.slots.default)?t.ctx.slots.default({node:r,data:o}):(0,i.h)("span",{class:n.be("node","label")},[null==r?void 0:r.label])}}});const Kk=(0,i.defineComponent)({name:"ElTreeNode"}),Jk=(0,i.defineComponent)({...Kk,props:Nk,emits:Yk,setup(e,{emit:t}){const n=e,r=(0,i.inject)($k),o=(0,h.DU)("tree"),a=(0,i.computed)((()=>{var e;return null!=(e=null==r?void 0:r.props.indent)?e:16})),s=(0,i.computed)((()=>{var e;return null!=(e=null==r?void 0:r.props.icon)?e:j.CaretRight})),l=e=>{const t=null==r?void 0:r.props.props.class;if(!t)return{};let n;if((0,se.Tn)(t)){const{data:r}=e;n=t(r,e)}else n=t;return(0,se.Kg)(n)?{[n]:!0}:n},c=e=>{t("click",n.node,e)},u=e=>{t("drop",n.node,e)},d=()=>{t("toggle",n.node)},f=e=>{t("check",n.node,e)},p=e=>{var t,o,i,a;(null==(i=null==(o=null==(t=null==r?void 0:r.instance)?void 0:t.vnode)?void 0:o.props)?void 0:i.onNodeContextmenu)&&(e.stopPropagation(),e.preventDefault()),null==r||r.ctx.emit(qk,e,null==(a=n.node)?void 0:a.data,n.node)};return(e,t)=>{var n,r,h;return(0,i.openBlock)(),(0,i.createElementBlock)("div",{ref:"node$",class:(0,i.normalizeClass)([(0,i.unref)(o).b("node"),(0,i.unref)(o).is("expanded",e.expanded),(0,i.unref)(o).is("current",e.current),(0,i.unref)(o).is("focusable",!e.disabled),(0,i.unref)(o).is("checked",!e.disabled&&e.checked),l(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.disabled,"aria-checked":e.checked,"data-key":null==(n=e.node)?void 0:n.key,onClick:(0,i.withModifiers)(c,["stop"]),onContextmenu:p,onDragover:(0,i.withModifiers)((()=>{}),["prevent"]),onDragenter:(0,i.withModifiers)((()=>{}),["prevent"]),onDrop:(0,i.withModifiers)(u,["stop"])},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(o).be("node","content")),style:(0,i.normalizeStyle)({paddingLeft:(e.node.level-1)*(0,i.unref)(a)+"px",height:e.itemSize+"px"})},[(0,i.unref)(s)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)([(0,i.unref)(o).is("leaf",!!(null==(r=e.node)?void 0:r.isLeaf)),(0,i.unref)(o).is("hidden",e.hiddenExpandIcon),{expanded:!(null==(h=e.node)?void 0:h.isLeaf)&&e.expanded},(0,i.unref)(o).be("node","expand-icon")]),onClick:(0,i.withModifiers)(d,["stop"])},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(s))))])),_:1},8,["class","onClick"])):(0,i.createCommentVNode)("v-if",!0),e.showCheckbox?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(es),{key:1,"model-value":e.checked,indeterminate:e.indeterminate,disabled:e.disabled,onChange:f,onClick:(0,i.withModifiers)((()=>{}),["stop"])},null,8,["model-value","indeterminate","disabled","onClick"])):(0,i.createCommentVNode)("v-if",!0),(0,i.createVNode)((0,i.unref)(Gk),{node:e.node},null,8,["node"])],6)],42,["aria-expanded","aria-disabled","aria-checked","data-key","onClick","onDragover","onDragenter","onDrop"])}}});var eC=(0,f.A)(Jk,[["__file","tree-node.vue"]]);const tC=(0,i.defineComponent)({name:"ElTreeV2"}),nC=(0,i.defineComponent)({...tC,props:Ik,emits:Zk,setup(e,{expose:t,emit:n}){const r=e,o=(0,i.useSlots)(),a=(0,i.computed)((()=>r.itemSize));(0,i.provide)($k,{ctx:{emit:n,slots:o},props:r,instance:(0,i.getCurrentInstance)()}),(0,i.provide)(zn.w,void 0);const{t:s}=(0,wr.Ym)(),l=(0,h.DU)("tree"),{flattenTree:c,isNotEmpty:u,listRef:d,toggleExpand:f,isExpanded:p,isIndeterminate:m,isChecked:g,isDisabled:A,isCurrent:v,isForceHiddenExpandIcon:y,handleNodeClick:O,handleNodeDrop:b,handleNodeCheck:w,toggleCheckbox:_,getCurrentNode:x,getCurrentKey:S,setCurrentKey:k,getCheckedKeys:C,getCheckedNodes:B,getHalfCheckedKeys:Q,getHalfCheckedNodes:T,setChecked:E,setCheckedKeys:P,filter:$,setData:M,getNode:z,expandNode:R,collapseNode:D,setExpandedKeys:I,scrollToNode:N,scrollTo:L}=function(e,t){const n=(0,i.ref)(new Set(e.defaultExpandedKeys)),r=(0,i.ref)(),o=(0,i.shallowRef)(),a=(0,i.ref)();(0,i.watch)((()=>e.currentNodeKey),(e=>{r.value=e}),{immediate:!0}),(0,i.watch)((()=>e.data),(e=>{$(e)}),{immediate:!0});const{isIndeterminate:s,isChecked:l,toggleCheckbox:c,getCheckedKeys:u,getCheckedNodes:d,getHalfCheckedKeys:f,getHalfCheckedNodes:h,setChecked:p,setCheckedKeys:m}=function(e,t){const n=(0,i.ref)(new Set),r=(0,i.ref)(new Set),{emit:o}=(0,i.getCurrentInstance)();(0,i.watch)([()=>t.value,()=>e.defaultCheckedKeys],(()=>(0,i.nextTick)((()=>{f(e.defaultCheckedKeys)}))),{immediate:!0});const a=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:o,maxLevel:i}=t.value,a=n.value,s=new Set;for(let e=i-1;e>=1;--e){const t=o.get(e);t&&t.forEach((e=>{const t=e.children;if(t){let n=!0,r=!1;for(const e of t){const t=e.key;if(a.has(t))r=!0;else{if(s.has(t)){n=!1,r=!0;break}n=!1}}n?a.add(e.key):r?(s.add(e.key),a.delete(e.key)):(a.delete(e.key),s.delete(e.key))}}))}r.value=s},s=e=>n.value.has(e.key),l=(t,r,o=!0,i=!0)=>{const s=n.value,l=(t,n)=>{s[n?Rk.ADD:Rk.DELETE](t.key);const r=t.children;!e.checkStrictly&&r&&r.forEach((e=>{e.disabled||l(e,n)}))};l(t,r),i&&a(),o&&c(t,r)},c=(e,t)=>{const{checkedNodes:n,checkedKeys:r}=u(),{halfCheckedNodes:i,halfCheckedKeys:a}=d();o(Xk,e.data,{checkedKeys:r,checkedNodes:n,halfCheckedKeys:a,halfCheckedNodes:i}),o(jk,e.data,t)};function u(r=!1){const o=[],i=[];if((null==t?void 0:t.value)&&e.showCheckbox){const{treeNodeMap:e}=t.value;n.value.forEach((t=>{const n=e.get(t);n&&(!r||r&&n.isLeaf)&&(i.push(t),o.push(n.data))}))}return{checkedKeys:i,checkedNodes:o}}function d(){const n=[],o=[];if((null==t?void 0:t.value)&&e.showCheckbox){const{treeNodeMap:e}=t.value;r.value.forEach((t=>{const r=e.get(t);r&&(o.push(t),n.push(r.data))}))}return{halfCheckedNodes:n,halfCheckedKeys:o}}function f(n){if(null==t?void 0:t.value){const{treeNodeMap:r}=t.value;if(e.showCheckbox&&r&&(null==n?void 0:n.length)>0){for(const e of n){const t=r.get(e);t&&!s(t)&&l(t,!0,!1,!1)}a()}}}return{updateCheckedKeys:a,toggleCheckbox:l,isChecked:s,isIndeterminate:e=>r.value.has(e.key),getCheckedKeys:function(e=!1){return u(e).checkedKeys},getCheckedNodes:function(e=!1){return u(e).checkedNodes},getHalfCheckedKeys:function(){return d().halfCheckedKeys},getHalfCheckedNodes:function(){return d().halfCheckedNodes},setChecked:function(n,r){if((null==t?void 0:t.value)&&e.showCheckbox){const e=t.value.treeNodeMap.get(n);e&&l(e,r,!1)}},setCheckedKeys:function(e){n.value.clear(),r.value.clear(),(0,i.nextTick)((()=>{f(e)}))}}}(e,o),{doFilter:g,hiddenNodeKeySet:A,isForceHiddenExpandIcon:v}=function(e,t){const n=(0,i.ref)(new Set([])),r=(0,i.ref)(new Set([])),o=(0,i.computed)((()=>(0,se.Tn)(e.filterMethod)));return{hiddenExpandIconKeySet:r,hiddenNodeKeySet:n,doFilter:function(i){var a;if(!o.value)return;const s=new Set,l=r.value,c=n.value,u=[],d=(null==(a=t.value)?void 0:a.treeNodes)||[],f=e.filterMethod;return c.clear(),function e(t){t.forEach((t=>{u.push(t),(null==f?void 0:f(i,t.data,t))?u.forEach((e=>{s.add(e.key)})):t.isLeaf&&c.add(t.key);const n=t.children;if(n&&e(n),!t.isLeaf)if(s.has(t.key)){if(n){let e=!0;for(const t of n)if(!c.has(t.key)){e=!1;break}e?l.add(t.key):l.delete(t.key)}}else c.add(t.key);u.pop()}))}(d),s},isForceHiddenExpandIcon:function(e){return r.value.has(e.key)}}}(e,o),y=(0,i.computed)((()=>{var t;return(null==(t=e.props)?void 0:t.value)||zk.KEY})),O=(0,i.computed)((()=>{var t;return(null==(t=e.props)?void 0:t.children)||zk.CHILDREN})),b=(0,i.computed)((()=>{var t;return(null==(t=e.props)?void 0:t.disabled)||zk.DISABLED})),w=(0,i.computed)((()=>{var t;return(null==(t=e.props)?void 0:t.label)||zk.LABEL})),_=(0,i.computed)((()=>{var e;const t=n.value,r=A.value,i=[],a=(null==(e=o.value)?void 0:e.treeNodes)||[],s=[];for(let e=a.length-1;e>=0;--e)s.push(a[e]);for(;s.length;){const e=s.pop();if(!r.has(e.key)&&(i.push(e),e.children&&t.has(e.key)))for(let t=e.children.length-1;t>=0;--t)s.push(e.children[t])}return i})),x=(0,i.computed)((()=>_.value.length>0));function S(e){return e[O.value]}function k(e){return e?e[y.value]:""}function C(e){return e[b.value]}function B(e){return e[w.value]}function Q(e){n.value.has(e.key)?E(e):T(e)}function T(r){const i=n.value;if(o.value&&e.accordion){const{treeNodeMap:e}=o.value;i.forEach((t=>{const n=e.get(t);r&&r.level===(null==n?void 0:n.level)&&i.delete(t)}))}i.add(r.key),t(Fk,r.data,r)}function E(e){n.value.delete(e.key),t(Hk,e.data,e)}function P(e){const t=r.value;return void 0!==t&&t===e.key}function $(e){(0,i.nextTick)((()=>o.value=function(e){const t=new Map,n=new Map;let r=1;const o=function e(o,i=1,a){var s;const l=[];for(const r of o){const o=k(r),c={level:i,key:o,data:r};c.label=B(r),c.parent=a;const u=S(r);c.disabled=C(r),c.isLeaf=!u||0===u.length,u&&u.length&&(c.children=e(u,i+1,c)),l.push(c),t.set(o,c),n.has(i)||n.set(i,[]),null==(s=n.get(i))||s.push(c)}return i>r&&(r=i),l}(e);return{treeNodeMap:t,levelTreeNodeMap:n,maxLevel:r,treeNodes:o}}(e)))}function M(e){var t;const n=(0,se.Gv)(e)?k(e):e;return null==(t=o.value)?void 0:t.treeNodeMap.get(n)}return{tree:o,flattenTree:_,isNotEmpty:x,listRef:a,getKey:k,getChildren:S,toggleExpand:Q,toggleCheckbox:c,isExpanded:function(e){return n.value.has(e.key)},isChecked:l,isIndeterminate:s,isDisabled:function(e){return!!e.disabled},isCurrent:P,isForceHiddenExpandIcon:v,handleNodeClick:function(n,o){t(Vk,n.data,n,o),function(e){P(e)||(r.value=e.key,t(Wk,e.data,e))}(n),e.expandOnClickNode&&Q(n),e.showCheckbox&&(e.checkOnClickNode||n.isLeaf&&e.checkOnClickLeaf)&&!n.disabled&&c(n,!l(n),!0)},handleNodeDrop:function(e,n){t(Uk,e.data,e,n)},handleNodeCheck:function(e,t){c(e,t)},getCurrentNode:function(){var e,t;if(r.value)return null==(t=null==(e=o.value)?void 0:e.treeNodeMap.get(r.value))?void 0:t.data},getCurrentKey:function(){return r.value},setCurrentKey:function(e){r.value=e},getCheckedKeys:u,getCheckedNodes:d,getHalfCheckedKeys:f,getHalfCheckedNodes:h,setChecked:p,setCheckedKeys:m,filter:function(e){const t=g(e);t&&(n.value=t)},setData:$,getNode:M,expandNode:T,collapseNode:E,setExpandedKeys:function(e){const t=new Set,r=o.value.treeNodeMap;e.forEach((e=>{let n=r.get(e);for(;n&&!t.has(n.key);)t.add(n.key),n=n.parent})),n.value=t},scrollToNode:function(e,t="auto"){const n=M(e);n&&a.value&&a.value.scrollToItem(_.value.indexOf(n),t)},scrollTo:function(e){var t;null==(t=a.value)||t.scrollTo(e)}}}(r,n);return t({toggleCheckbox:_,getCurrentNode:x,getCurrentKey:S,setCurrentKey:k,getCheckedKeys:C,getCheckedNodes:B,getHalfCheckedKeys:Q,getHalfCheckedNodes:T,setChecked:E,setCheckedKeys:P,filter:$,setData:M,getNode:z,expandNode:R,collapseNode:D,setExpandedKeys:I,scrollToNode:N,scrollTo:L}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(l).b(),{[(0,i.unref)(l).m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(0,i.unref)(u)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(uv),{key:0,ref_key:"listRef",ref:d,"class-name":(0,i.unref)(l).b("virtual-list"),data:(0,i.unref)(c),total:(0,i.unref)(c).length,height:e.height,"item-size":(0,i.unref)(a),"perf-mode":e.perfMode},{default:(0,i.withCtx)((({data:t,index:n,style:r})=>[((0,i.openBlock)(),(0,i.createBlock)(eC,{key:t[n].key,style:(0,i.normalizeStyle)(r),node:t[n],expanded:(0,i.unref)(p)(t[n]),"show-checkbox":e.showCheckbox,checked:(0,i.unref)(g)(t[n]),indeterminate:(0,i.unref)(m)(t[n]),"item-size":(0,i.unref)(a),disabled:(0,i.unref)(A)(t[n]),current:(0,i.unref)(v)(t[n]),"hidden-expand-icon":(0,i.unref)(y)(t[n]),onClick:(0,i.unref)(O),onToggle:(0,i.unref)(f),onCheck:(0,i.unref)(w),onDrop:(0,i.unref)(b)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck","onDrop"]))])),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)((0,i.unref)(l).e("empty-block"))},[(0,i.renderSlot)(e.$slots,"empty",{},(()=>{var t;return[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(l).e("empty-text"))},(0,i.toDisplayString)(null!=(t=e.emptyText)?t:(0,i.unref)(s)("el.tree.emptyText")),3)]}))],2))],2))}});var rC=(0,f.A)(nC,[["__file","tree.vue"]]);const oC=(0,b.GU)(rC),iC=Symbol("uploadContextKey");var aC=n(42229);const sC=(0,l.b_)({files:{type:(0,l.jq)(Array),default:()=>(0,fl.f)([])},disabled:{type:Boolean,default:!1},handlePreview:{type:(0,l.jq)(Function),default:se.tE},listType:{type:String,values:aC.Hz,default:"text"},crossorigin:{type:(0,l.jq)(String)}}),lC=(0,i.defineComponent)({name:"ElUploadList"}),cC=(0,i.defineComponent)({...lC,props:sC,emits:{remove:e=>!!e},setup(e,{emit:t}){const n=e,{t:r}=(0,wr.Ym)(),o=(0,h.DU)("upload"),a=(0,h.DU)("icon"),s=(0,h.DU)("list"),l=(0,Jn.CB)(),c=(0,i.ref)(!1),u=(0,i.computed)((()=>[o.b("list"),o.bm("list",n.listType),o.is("disabled",n.disabled)])),d=e=>{t("remove",e)};return(e,t)=>((0,i.openBlock)(),(0,i.createBlock)(i.TransitionGroup,{tag:"ul",class:(0,i.normalizeClass)((0,i.unref)(u)),name:(0,i.unref)(s).b()},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.files,((t,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("li",{key:t.uid||t.name,class:(0,i.normalizeClass)([(0,i.unref)(o).be("list","item"),(0,i.unref)(o).is(t.status),{focusing:c.value}]),tabindex:"0",onKeydown:(0,i.withKeys)((e=>!(0,i.unref)(l)&&d(t)),["delete"]),onFocus:e=>c.value=!0,onBlur:e=>c.value=!1,onClick:e=>c.value=!1},[(0,i.renderSlot)(e.$slots,"default",{file:t,index:n},(()=>["picture"===e.listType||"uploading"!==t.status&&"picture-card"===e.listType?((0,i.openBlock)(),(0,i.createElementBlock)("img",{key:0,class:(0,i.normalizeClass)((0,i.unref)(o).be("list","item-thumbnail")),src:t.url,crossorigin:e.crossorigin,alt:""},null,10,["src","crossorigin"])):(0,i.createCommentVNode)("v-if",!0),"uploading"===t.status||"picture-card"!==e.listType?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)((0,i.unref)(o).be("list","item-info"))},[(0,i.createElementVNode)("a",{class:(0,i.normalizeClass)((0,i.unref)(o).be("list","item-name")),onClick:(0,i.withModifiers)((n=>e.handlePreview(t)),["prevent"])},[(0,i.createVNode)((0,i.unref)(_.tk),{class:(0,i.normalizeClass)((0,i.unref)(a).m("document"))},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.Document))])),_:1},8,["class"]),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(o).be("list","item-file-name")),title:t.name},(0,i.toDisplayString)(t.name),11,["title"])],10,["onClick"]),"uploading"===t.status?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Wg),{key:0,type:"picture-card"===e.listType?"circle":"line","stroke-width":"picture-card"===e.listType?6:2,percentage:Number(t.percentage),style:(0,i.normalizeStyle)("picture-card"===e.listType?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):(0,i.createCommentVNode)("v-if",!0)],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("label",{class:(0,i.normalizeClass)((0,i.unref)(o).be("list","item-status-label"))},["text"===e.listType?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:0,class:(0,i.normalizeClass)([(0,i.unref)(a).m("upload-success"),(0,i.unref)(a).m("circle-check")])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.CircleCheck))])),_:1},8,["class"])):["picture-card","picture"].includes(e.listType)?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:1,class:(0,i.normalizeClass)([(0,i.unref)(a).m("upload-success"),(0,i.unref)(a).m("check")])},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.Check))])),_:1},8,["class"])):(0,i.createCommentVNode)("v-if",!0)],2),(0,i.unref)(l)?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(_.tk),{key:2,class:(0,i.normalizeClass)((0,i.unref)(a).m("close")),onClick:e=>d(t)},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.Close))])),_:2},1032,["class","onClick"])),(0,i.createCommentVNode)(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),(0,i.createCommentVNode)(" This is a bug which needs to be fixed "),(0,i.createCommentVNode)(" TODO: Fix the incorrect navigation interaction "),(0,i.unref)(l)?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("i",{key:3,class:(0,i.normalizeClass)((0,i.unref)(a).m("close-tip"))},(0,i.toDisplayString)((0,i.unref)(r)("el.upload.deleteTip")),3)),"picture-card"===e.listType?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:4,class:(0,i.normalizeClass)((0,i.unref)(o).be("list","item-actions"))},[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)((0,i.unref)(o).be("list","item-preview")),onClick:n=>e.handlePreview(t)},[(0,i.createVNode)((0,i.unref)(_.tk),{class:(0,i.normalizeClass)((0,i.unref)(a).m("zoom-in"))},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.ZoomIn))])),_:1},8,["class"])],10,["onClick"]),(0,i.unref)(l)?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0,class:(0,i.normalizeClass)((0,i.unref)(o).be("list","item-delete")),onClick:e=>d(t)},[(0,i.createVNode)((0,i.unref)(_.tk),{class:(0,i.normalizeClass)((0,i.unref)(a).m("delete"))},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(j.Delete))])),_:1},8,["class"])],10,["onClick"]))],2)):(0,i.createCommentVNode)("v-if",!0)]))],42,["onKeydown","onFocus","onBlur","onClick"])))),128)),(0,i.renderSlot)(e.$slots,"append")])),_:3},8,["class","name"]))}});var uC=(0,f.A)(cC,[["__file","upload-list.vue"]]);const dC=(0,l.b_)({disabled:{type:Boolean,default:!1}}),fC={file:e=>(0,se.cy)(e)},hC="ElUploadDrag",pC=(0,i.defineComponent)({name:hC}),mC=(0,i.defineComponent)({...pC,props:dC,emits:fC,setup(e,{emit:t}){(0,i.inject)(iC)||(0,g.$)(hC,"usage: <el-upload><el-upload-dragger /></el-upload>");const n=(0,h.DU)("upload"),r=(0,i.ref)(!1),o=(0,Jn.CB)(),a=e=>{if(o.value)return;r.value=!1,e.stopPropagation();const n=Array.from(e.dataTransfer.files);t("file",n)},s=()=>{o.value||(r.value=!0)};return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(n).b("dragger"),(0,i.unref)(n).is("dragover",r.value)]),onDrop:(0,i.withModifiers)(a,["prevent"]),onDragover:(0,i.withModifiers)(s,["prevent"]),onDragleave:(0,i.withModifiers)((e=>r.value=!1),["prevent"])},[(0,i.renderSlot)(e.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}});var gC=(0,f.A)(mC,[["__file","upload-dragger.vue"]]);const AC=(0,l.b_)({...aC.LF,beforeUpload:{type:(0,l.jq)(Function),default:se.tE},onRemove:{type:(0,l.jq)(Function),default:se.tE},onStart:{type:(0,l.jq)(Function),default:se.tE},onSuccess:{type:(0,l.jq)(Function),default:se.tE},onProgress:{type:(0,l.jq)(Function),default:se.tE},onError:{type:(0,l.jq)(Function),default:se.tE},onExceed:{type:(0,l.jq)(Function),default:se.tE}}),vC=(0,i.defineComponent)({name:"ElUploadContent",inheritAttrs:!1}),yC=(0,i.defineComponent)({...vC,props:AC,setup(e,{expose:t}){const n=e,r=(0,h.DU)("upload"),o=(0,Jn.CB)(),a=(0,i.shallowRef)({}),s=(0,i.shallowRef)(),l=e=>{if(0===e.length)return;const{autoUpload:t,limit:r,fileList:o,multiple:i,onStart:a,onExceed:s}=n;if(r&&o.length+e.length>r)s(e,o);else{i||(e=e.slice(0,1));for(const n of e){const e=n;e.uid=(0,aC.G$)(),a(e),t&&c(e)}}},c=async e=>{if(s.value.value="",!n.beforeUpload)return u(e);let t,r={};try{const o=n.data,i=n.beforeUpload(e);r=(0,se.Qd)(n.data)?pa(n.data):n.data,t=await i,(0,se.Qd)(n.data)&&Pa(o,r)&&(r=pa(n.data))}catch(e){t=!1}if(!1===t)return void n.onRemove(e);let o=e;t instanceof Blob&&(o=t instanceof File?t:new File([t],e.name,{type:e.type})),u(Object.assign(o,{uid:e.uid}),r)},u=async(e,t)=>{const{headers:r,data:o,method:i,withCredentials:s,name:l,action:c,onProgress:u,onSuccess:d,onError:f,httpRequest:h}=n;try{t=await(async(e,t)=>(0,se.Tn)(e)?e(t):e)(null!=t?t:o,e)}catch(t){return void n.onRemove(e)}const{uid:p}=e,m={headers:r||{},withCredentials:s,file:e,data:t,method:i,filename:l,action:c,onProgress:t=>{u(t,e)},onSuccess:t=>{d(t,e),delete a.value[p]},onError:t=>{f(t,e),delete a.value[p]}},g=h(m);a.value[p]=g,g instanceof Promise&&g.then(m.onSuccess,m.onError)},d=e=>{const t=e.target.files;t&&l(Array.from(t))},f=()=>{o.value||(s.value.value="",s.value.click())},p=()=>{f()};return t({abort:e=>{const t=(0,S.Mc)(a.value).filter(e?([t])=>String(e.uid)===t:()=>!0);t.forEach((([e,t])=>{t instanceof XMLHttpRequest&&t.abort(),delete a.value[e]}))},upload:c}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(r).b(),(0,i.unref)(r).m(e.listType),(0,i.unref)(r).is("drag",e.drag),(0,i.unref)(r).is("disabled",(0,i.unref)(o))]),tabindex:(0,i.unref)(o)?"-1":"0",onClick:f,onKeydown:(0,i.withKeys)((0,i.withModifiers)(p,["self"]),["enter","space"])},[e.drag?((0,i.openBlock)(),(0,i.createBlock)(gC,{key:0,disabled:(0,i.unref)(o),onFile:l},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},8,["disabled"])):(0,i.renderSlot)(e.$slots,"default",{key:1}),(0,i.createElementVNode)("input",{ref_key:"inputRef",ref:s,class:(0,i.normalizeClass)((0,i.unref)(r).e("input")),name:e.name,disabled:(0,i.unref)(o),multiple:e.multiple,accept:e.accept,type:"file",onChange:d,onClick:(0,i.withModifiers)((()=>{}),["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"]))}});var OC=(0,f.A)(yC,[["__file","upload-content.vue"]]);const bC="ElUpload",wC=e=>{var t;(null==(t=e.url)?void 0:t.startsWith("blob:"))&&URL.revokeObjectURL(e.url)},_C=(e,t)=>{const n=(0,a.hRP)(e,"fileList",void 0,{passive:!0}),r=e=>n.value.find((t=>t.uid===e.uid));function o(e){var n;null==(n=t.value)||n.abort(e)}function s(e){n.value=n.value.filter((t=>t.uid!==e.uid))}return(0,i.watch)((()=>e.listType),(t=>{"picture-card"!==t&&"picture"!==t||(n.value=n.value.map((t=>{const{raw:r,url:o}=t;if(!o&&r)try{t.url=URL.createObjectURL(r)}catch(r){e.onError(r,t,n.value)}return t})))})),(0,i.watch)(n,(e=>{for(const t of e)t.uid||(t.uid=(0,aC.G$)()),t.status||(t.status="success")}),{immediate:!0,deep:!0}),{uploadFiles:n,abort:o,clearFiles:function(e=["ready","uploading","success","fail"]){n.value=n.value.filter((t=>!e.includes(t.status)))},handleError:(t,o)=>{const i=r(o);i&&(console.error(t),i.status="fail",s(i),e.onError(t,i,n.value),e.onChange(i,n.value))},handleProgress:(t,o)=>{const i=r(o);i&&(e.onProgress(t,i,n.value),i.status="uploading",i.percentage=Math.round(t.percent))},handleStart:t=>{(0,sn.A)(t.uid)&&(t.uid=(0,aC.G$)());const r={name:t.name,percentage:0,status:"ready",size:t.size,raw:t,uid:t.uid};if("picture-card"===e.listType||"picture"===e.listType)try{r.url=URL.createObjectURL(t)}catch(t){(0,g.U)(bC,t.message),e.onError(t,r,n.value)}n.value=[...n.value,r],e.onChange(r,n.value)},handleSuccess:(t,o)=>{const i=r(o);i&&(i.status="success",i.response=t,e.onSuccess(t,i,n.value),e.onChange(i,n.value))},handleRemove:async t=>{const i=t instanceof File?r(t):t;i||(0,g.$)(bC,"file to be removed not found");const a=t=>{o(t),s(t),e.onRemove(t,n.value),wC(t)};e.beforeRemove?!1!==await e.beforeRemove(i,n.value)&&a(i):a(i)},submit:function(){n.value.filter((({status:e})=>"ready"===e)).forEach((({raw:e})=>{var n;return e&&(null==(n=t.value)?void 0:n.upload(e))}))},revokeFileObjectURL:wC}},xC=(0,i.defineComponent)({name:"ElUpload"}),SC=(0,i.defineComponent)({...xC,props:aC.W5,setup(e,{expose:t}){const n=e,r=(0,Jn.CB)(),o=(0,i.shallowRef)(),{abort:a,submit:s,clearFiles:l,uploadFiles:c,handleStart:u,handleError:d,handleRemove:f,handleSuccess:h,handleProgress:p,revokeFileObjectURL:m}=_C(n,o),g=(0,i.computed)((()=>"picture-card"===n.listType)),A=(0,i.computed)((()=>({...n,fileList:c.value,onStart:u,onProgress:p,onSuccess:h,onError:d,onRemove:f})));return(0,i.onBeforeUnmount)((()=>{c.value.forEach(m)})),(0,i.provide)(iC,{accept:(0,i.toRef)(n,"accept")}),t({abort:a,submit:s,clearFiles:l,handleStart:u,handleRemove:f}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",null,[(0,i.unref)(g)&&e.showFileList?((0,i.openBlock)(),(0,i.createBlock)(uC,{key:0,disabled:(0,i.unref)(r),"list-type":e.listType,files:(0,i.unref)(c),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:(0,i.unref)(f)},(0,i.createSlots)({append:(0,i.withCtx)((()=>[(0,i.createVNode)(OC,(0,i.mergeProps)({ref_key:"uploadRef",ref:o},(0,i.unref)(A)),{default:(0,i.withCtx)((()=>[e.$slots.trigger?(0,i.renderSlot)(e.$slots,"trigger",{key:0}):(0,i.createCommentVNode)("v-if",!0),!e.$slots.trigger&&e.$slots.default?(0,i.renderSlot)(e.$slots,"default",{key:1}):(0,i.createCommentVNode)("v-if",!0)])),_:3},16)])),_:2},[e.$slots.file?{name:"default",fn:(0,i.withCtx)((({file:t,index:n})=>[(0,i.renderSlot)(e.$slots,"file",{file:t,index:n})]))}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):(0,i.createCommentVNode)("v-if",!0),!(0,i.unref)(g)||(0,i.unref)(g)&&!e.showFileList?((0,i.openBlock)(),(0,i.createBlock)(OC,(0,i.mergeProps)({key:1,ref_key:"uploadRef",ref:o},(0,i.unref)(A)),{default:(0,i.withCtx)((()=>[e.$slots.trigger?(0,i.renderSlot)(e.$slots,"trigger",{key:0}):(0,i.createCommentVNode)("v-if",!0),!e.$slots.trigger&&e.$slots.default?(0,i.renderSlot)(e.$slots,"default",{key:1}):(0,i.createCommentVNode)("v-if",!0)])),_:3},16)):(0,i.createCommentVNode)("v-if",!0),e.$slots.trigger?(0,i.renderSlot)(e.$slots,"default",{key:2}):(0,i.createCommentVNode)("v-if",!0),(0,i.renderSlot)(e.$slots,"tip"),!(0,i.unref)(g)&&e.showFileList?((0,i.openBlock)(),(0,i.createBlock)(uC,{key:3,disabled:(0,i.unref)(r),"list-type":e.listType,files:(0,i.unref)(c),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:(0,i.unref)(f)},(0,i.createSlots)({_:2},[e.$slots.file?{name:"default",fn:(0,i.withCtx)((({file:t,index:n})=>[(0,i.renderSlot)(e.$slots,"file",{file:t,index:n})]))}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):(0,i.createCommentVNode)("v-if",!0)]))}});var kC=(0,f.A)(SC,[["__file","upload.vue"]]);const CC=(0,b.GU)(kC),BC=(0,l.b_)({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:(0,l.jq)([String,Array]),default:"Element Plus"},font:{type:(0,l.jq)(Object)},gap:{type:(0,l.jq)(Array),default:()=>[100,100]},offset:{type:(0,l.jq)(Array)}});function QC(e,t,n=1){const r=document.createElement("canvas"),o=r.getContext("2d"),i=e*n,a=t*n;return r.setAttribute("width",`${i}px`),r.setAttribute("height",`${a}px`),o.save(),[o,r,i,a]}const TC=(0,i.defineComponent)({name:"ElWatermark"}),EC=(0,i.defineComponent)({...TC,props:BC,setup(e){const t=e,n={position:"relative"},r=(0,i.computed)((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.color)?n:"rgba(0,0,0,.15)"})),o=(0,i.computed)((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontSize)?n:16})),s=(0,i.computed)((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontWeight)?n:"normal"})),l=(0,i.computed)((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontStyle)?n:"normal"})),c=(0,i.computed)((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontFamily)?n:"sans-serif"})),u=(0,i.computed)((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.textAlign)?n:"center"})),d=(0,i.computed)((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.textBaseline)?n:"hanging"})),f=(0,i.computed)((()=>t.gap[0])),h=(0,i.computed)((()=>t.gap[1])),p=(0,i.computed)((()=>f.value/2)),m=(0,i.computed)((()=>h.value/2)),g=(0,i.computed)((()=>{var e,n;return null!=(n=null==(e=t.offset)?void 0:e[0])?n:p.value})),A=(0,i.computed)((()=>{var e,n;return null!=(n=null==(e=t.offset)?void 0:e[1])?n:m.value})),v=()=>{const e={zIndex:t.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let n=g.value-p.value,r=A.value-m.value;return n>0&&(e.left=`${n}px`,e.width=`calc(100% - ${n}px)`,n=0),r>0&&(e.top=`${r}px`,e.height=`calc(100% - ${r}px)`,r=0),e.backgroundPosition=`${n}px ${r}px`,e},y=(0,i.shallowRef)(null),O=(0,i.shallowRef)(),b=(0,i.ref)(!1),w=()=>{O.value&&(O.value.remove(),O.value=void 0)},_=function(e,t,n,r,o,i,a,s){const[l,c,u,d]=QC(r,o,n);if(e instanceof HTMLImageElement)l.drawImage(e,0,0,u,d);else{const{color:t,fontSize:r,fontStyle:a,fontWeight:s,fontFamily:c,textAlign:d,textBaseline:f}=i,h=Number(r)*n;l.font=`${a} normal ${s} ${h}px/${o}px ${c}`,l.fillStyle=t,l.textAlign=d,l.textBaseline=f;const p=(0,se.cy)(e)?e:[e];null==p||p.forEach(((e,t)=>{l.fillText(null!=e?e:"",u/2,t*(h+3*n))}))}const f=Math.PI/180*Number(t),h=Math.max(r,o),[p,m,g]=QC(h,h,n);p.translate(g/2,g/2),p.rotate(f),u>0&&d>0&&p.drawImage(c,-u/2,-d/2);let A=0,v=0,y=0,O=0;const b=u/2,w=d/2;[[0-b,0-w],[0+b,0-w],[0+b,0+w],[0-b,0+w]].forEach((([e,t])=>{const[n,r]=function(e,t){return[e*Math.cos(f)-t*Math.sin(f),e*Math.sin(f)+t*Math.cos(f)]}(e,t);A=Math.min(A,n),v=Math.max(v,n),y=Math.min(y,r),O=Math.max(O,r)}));const _=A+g/2,x=y+g/2,S=v-A,k=O-y,C=a*n,B=s*n,Q=2*(S+C),T=k+B,[E,P]=QC(Q,T);function $(e=0,t=0){E.drawImage(m,_,x,S,k,e,t,S,k)}return $(),$(S+C,-k/2-B/2),$(S+C,+k/2+B/2),[P.toDataURL(),Q/n,T/n]},x=()=>{const e=document.createElement("canvas").getContext("2d"),n=t.image,i=t.content,a=t.rotate;if(e){O.value||(O.value=document.createElement("div"));const p=window.devicePixelRatio||1,[m,g]=(e=>{let n=120,r=64;const i=t.image,a=t.content,s=t.width,l=t.height;if(!i&&e.measureText){e.font=`${Number(o.value)}px ${c.value}`;const t=(0,se.cy)(a)?a:[a],i=t.map((t=>{const n=e.measureText(t);return[n.width,void 0!==n.fontBoundingBoxAscent?n.fontBoundingBoxAscent+n.fontBoundingBoxDescent:n.actualBoundingBoxAscent+n.actualBoundingBoxDescent]}));n=Math.ceil(Math.max(...i.map((e=>e[0])))),r=Math.ceil(Math.max(...i.map((e=>e[1]))))*t.length+3*(t.length-1)}return[null!=s?s:n,null!=l?l:r]})(e),A=e=>{const[t,n]=_(e||"",a,p,m,g,{color:r.value,fontSize:o.value,fontStyle:l.value,fontWeight:s.value,fontFamily:c.value,textAlign:u.value,textBaseline:d.value},f.value,h.value);((e,t)=>{var n;y.value&&O.value&&(b.value=!0,O.value.setAttribute("style",function(e){return Object.keys(e).map((t=>`${function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}(t)}: ${e[t]};`)).join(" ")}({...v(),backgroundImage:`url('${e}')`,backgroundSize:`${Math.floor(t)}px`})),null==(n=y.value)||n.append(O.value),setTimeout((()=>{b.value=!1})))})(t,n)};if(n){const e=new Image;e.onload=()=>{A(e)},e.onerror=()=>{A(i)},e.crossOrigin="anonymous",e.referrerPolicy="no-referrer",e.src=n}else A(i)}};return(0,i.onMounted)((()=>{x()})),(0,i.watch)((()=>t),(()=>{x()}),{deep:!0,flush:"post"}),(0,i.onBeforeUnmount)((()=>{w()})),(0,a.P1n)(y,(e=>{b.value||e.forEach((e=>{((e,t)=>{let n=!1;return e.removedNodes.length&&t&&(n=Array.from(e.removedNodes).includes(t)),"attributes"===e.type&&e.target===t&&(n=!0),n})(e,O.value)&&(w(),x())}))}),{attributes:!0,subtree:!0,childList:!0}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"containerRef",ref:y,style:(0,i.normalizeStyle)([n])},[(0,i.renderSlot)(e.$slots,"default")],4))}});var PC=(0,f.A)(EC,[["__file","watermark.vue"]]);const $C=(0,b.GU)(PC),MC=(0,l.b_)({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:(0,l.jq)(Object)},targetAreaClickable:{type:Boolean,default:!0}}),zC=Symbol("ElTour"),RC=(0,i.defineComponent)({name:"ElTourMask",inheritAttrs:!1}),DC=(0,i.defineComponent)({...RC,props:MC,setup(e){const t=e,{ns:n}=(0,i.inject)(zC),r=(0,i.computed)((()=>{var e,n;return null!=(n=null==(e=t.pos)?void 0:e.radius)?n:2})),o=(0,i.computed)((()=>{const e=r.value,t=`a${e},${e} 0 0 1`;return{topRight:`${t} ${e},${e}`,bottomRight:`${t} ${-e},${e}`,bottomLeft:`${t} ${-e},${-e}`,topLeft:`${t} ${e},${-e}`}})),a=(0,i.computed)((()=>{const e=window.innerWidth,n=window.innerHeight,i=o.value,a=`M${e},0 L0,0 L0,${n} L${e},${n} L${e},0 Z`,s=r.value;return t.pos?`${a} M${t.pos.left+s},${t.pos.top} h${t.pos.width-2*s} ${i.topRight} v${t.pos.height-2*s} ${i.bottomRight} h${-t.pos.width+2*s} ${i.bottomLeft} v${-t.pos.height+2*s} ${i.topLeft} z`:a})),s=(0,i.computed)((()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"})));return(0,Id.t)((0,i.toRef)(t,"visible"),{ns:n}),(e,t)=>e.visible?((0,i.openBlock)(),(0,i.createElementBlock)("div",(0,i.mergeProps)({key:0,class:(0,i.unref)(n).e("mask"),style:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:e.zIndex,pointerEvents:e.pos&&e.targetAreaClickable?"none":"auto"}},e.$attrs),[((0,i.openBlock)(),(0,i.createElementBlock)("svg",{style:{width:"100%",height:"100%"}},[(0,i.createElementVNode)("path",{class:(0,i.normalizeClass)((0,i.unref)(n).e("hollow")),style:(0,i.normalizeStyle)((0,i.unref)(s)),d:(0,i.unref)(a)},null,14,["d"])]))],16)):(0,i.createCommentVNode)("v-if",!0)}});var IC=(0,f.A)(DC,[["__file","mask.vue"]]);const NC=(0,l.b_)({placement:{type:(0,l.jq)(String),values:["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],default:"bottom"},reference:{type:(0,l.jq)(Object),default:null},strategy:{type:(0,l.jq)(String),values:["absolute","fixed"],default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),LC=(0,i.defineComponent)({name:"ElTourContent"}),VC=(0,i.defineComponent)({...LC,props:NC,emits:{close:()=>!0},setup(e,{emit:t}){const n=e,r=(0,i.ref)(n.placement),o=(0,i.ref)(n.strategy),a=(0,i.ref)(null),s=(0,i.ref)(null);(0,i.watch)((()=>n.placement),(()=>{r.value=n.placement}));const{contentStyle:l,arrowStyle:c}=((e,t,n,r,o,a,s,l)=>{const c=(0,i.ref)(),u=(0,i.ref)(),d=(0,i.ref)({}),f={x:c,y:u,placement:r,strategy:o,middlewareData:d},h=(0,i.computed)((()=>{const e=[wS((0,i.unref)(a)),(void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...g}=kx(t,e);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const A=Cx(o),v=Ex(s),y=Cx(s)===s,O=await(null==l.isRTL?void 0:l.isRTL(c.floating)),b=f||(y||!m?[Mx(s)]:function(e){const t=Mx(e);return[$x(e),t,$x(t)]}(s)),w="none"!==p;!f&&w&&b.push(...function(e,t,n,r){const o=Bx(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(Cx(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map($x)))),i}(s,m,p,O));const _=[s,...b],x=await Ix(e,g),S=[];let k=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&S.push(x[A]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=Bx(e),o=Px(e),i=Tx(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Mx(a)),[a,Mx(a)]}(o,a,O);S.push(x[e[0]],x[e[1]])}if(k=[...k,{placement:o,overflows:S}],!S.every((e=>e<=0))){var C,B;const e=((null==(C=i.flip)?void 0:C.index)||0)+1,t=_[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(B=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:B.placement;if(!n)switch(h){case"bestFit":{var Q;const e=null==(Q=k.filter((e=>{if(w){const t=Ex(e.placement);return t===v||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:Q[0];e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}),_S(),{name:"overflow",async fn(e){const t=await bS(e);let n=0;return t.left>0&&(n=t.left),t.right>0&&(n=t.right),{data:{maxWidth:e.rects.floating.width-n}}}}];var t;return(0,i.unref)(l)&&(0,i.unref)(n)&&e.push(xS({element:(0,i.unref)(n)})),e})),p=async()=>{if(!Y.oc)return;const n=(0,i.unref)(e),a=(0,i.unref)(t);if(!n||!a)return;const s=await SS(n,a,{placement:(0,i.unref)(r),strategy:(0,i.unref)(o),middleware:(0,i.unref)(h)});(0,S.YD)(f).forEach((e=>{f[e].value=s[e]}))},m=(0,i.computed)((()=>{if(!(0,i.unref)(e))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:(0,i.unref)(s)};const{overflow:t}=(0,i.unref)(d);return{position:(0,i.unref)(o),zIndex:(0,i.unref)(s),top:null!=(0,i.unref)(u)?`${(0,i.unref)(u)}px`:"",left:null!=(0,i.unref)(c)?`${(0,i.unref)(c)}px`:"",maxWidth:(null==t?void 0:t.maxWidth)?`${null==t?void 0:t.maxWidth}px`:""}})),g=(0,i.computed)((()=>{if(!(0,i.unref)(l))return{};const{arrow:e}=(0,i.unref)(d);return{left:null!=(null==e?void 0:e.x)?`${null==e?void 0:e.x}px`:"",top:null!=(null==e?void 0:e.y)?`${null==e?void 0:e.y}px`:""}}));let A;return(0,i.onMounted)((()=>{const n=(0,i.unref)(e),r=(0,i.unref)(t);n&&r&&(A=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=aS(e),u=o||i?[...c?rS(c):[],...rS(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null;const o=Ux(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:h}=c;if(s||t(),!f||!h)return;const p={rootMargin:-bx(d)+"px "+-bx(o.clientWidth-(u+f))+"px "+-bx(o.clientHeight-(d+h))+"px "+-bx(u)+"px",threshold:yx(0,vx(1,l))||1};let m=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!m)return a();r?a(!1,r):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==r||OS(c,e.getBoundingClientRect())||a(),m=!1}try{r=new IntersectionObserver(g,{...p,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,p)}r.observe(e)}(!0),i}(c,n):null;let f,h=-1,p=null;a&&(p=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var e;null==(e=p)||e.observe(t)}))),n()})),c&&!l&&p.observe(c),p.observe(t));let m=l?uS(e):null;return l&&function t(){const r=uS(e);m&&!OS(m,r)&&n(),m=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=p)||e.disconnect(),p=null,l&&cancelAnimationFrame(f)}}(n,r,p)),(0,i.watchEffect)((()=>{p()}))})),(0,i.onBeforeUnmount)((()=>{A&&A()})),{update:p,contentStyle:m,arrowStyle:g}})((0,i.toRef)(n,"reference"),a,s,r,o,(0,i.toRef)(n,"offset"),(0,i.toRef)(n,"zIndex"),(0,i.toRef)(n,"showArrow")),u=(0,i.computed)((()=>r.value.split("-")[0])),{ns:d}=(0,i.inject)(zC),f=()=>{t("close")},h=e=>{"pointer"===e.detail.focusReason&&e.preventDefault()};return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"contentRef",ref:a,style:(0,i.normalizeStyle)((0,i.unref)(l)),class:(0,i.normalizeClass)((0,i.unref)(d).e("content")),"data-side":(0,i.unref)(u),tabindex:"-1"},[(0,i.createVNode)((0,i.unref)(Bn.A),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":a.value||void 0,onReleaseRequested:f,onFocusoutPrevented:h},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},8,["focus-trap-el"]),e.showArrow?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0,ref_key:"arrowRef",ref:s,style:(0,i.normalizeStyle)((0,i.unref)(c)),class:(0,i.normalizeClass)((0,i.unref)(d).e("arrow"))},null,6)):(0,i.createCommentVNode)("v-if",!0)],14,["data-side"]))}});var UC=(0,f.A)(VC,[["__file","content.vue"]]),FC=(0,i.defineComponent)({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(e,{slots:t,emit:n}){let r=0;return()=>{var o,i;const a=null==(o=t.default)?void 0:o.call(t),s=[];let l=0;var c;return a.length&&(c=(0,mo.CW)(null==(i=a[0])?void 0:i.children),(0,se.cy)(c)&&c.forEach((e=>{var t;"ElTourStep"===(null==(t=(null==e?void 0:e.type)||{})?void 0:t.name)&&(s.push(e),l+=1)}))),r!==l&&(r=l,n("update-total",l)),s.length?s[e.current]:null}}});const HC=(0,l.b_)({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:x.Ze},placement:NC.placement,contentStyle:{type:(0,l.jq)([Object])},mask:{type:(0,l.jq)([Boolean,Object]),default:!0},gap:{type:(0,l.jq)(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:(0,l.jq)([Boolean,Object]),default:()=>({block:"center"})},type:{type:(0,l.jq)(String)},appendTo:{type:(0,l.jq)([String,Object]),default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),WC={[s.l4]:e=>(0,c.Lm)(e),"update:current":e=>(0,c.Et)(e),close:e=>(0,c.Et)(e),finish:()=>!0,change:e=>(0,c.Et)(e)},XC=(0,i.defineComponent)({name:"ElTour"}),jC=(0,i.defineComponent)({...XC,props:HC,emits:WC,setup(e,{emit:t}){const n=e,r=(0,h.DU)("tour"),o=(0,i.ref)(0),s=(0,i.ref)(),l=(0,a.hRP)(n,"current",t,{passive:!0}),u=(0,i.computed)((()=>{var e;return null==(e=s.value)?void 0:e.target})),d=(0,i.computed)((()=>[r.b(),"primary"===O.value?r.m("primary"):""])),f=(0,i.computed)((()=>{var e;return(null==(e=s.value)?void 0:e.placement)||n.placement})),p=(0,i.computed)((()=>{var e,t;return null!=(t=null==(e=s.value)?void 0:e.contentStyle)?t:n.contentStyle})),m=(0,i.computed)((()=>{var e,t;return null!=(t=null==(e=s.value)?void 0:e.mask)?t:n.mask})),g=(0,i.computed)((()=>!!m.value&&n.modelValue)),A=(0,i.computed)((()=>(0,c.Lm)(m.value)?void 0:m.value)),v=(0,i.computed)((()=>{var e,t;return!!u.value&&(null!=(t=null==(e=s.value)?void 0:e.showArrow)?t:n.showArrow)})),y=(0,i.computed)((()=>{var e,t;return null!=(t=null==(e=s.value)?void 0:e.scrollIntoViewOptions)?t:n.scrollIntoViewOptions})),O=(0,i.computed)((()=>{var e,t;return null!=(t=null==(e=s.value)?void 0:e.type)?t:n.type})),{nextZIndex:b}=(0,Mn.YK)(),w=b(),_=(0,i.computed)((()=>{var e;return null!=(e=n.zIndex)?e:w})),{mergedPosInfo:x,triggerTarget:S}=((e,t,n,r,o)=>{const a=(0,i.ref)(null),s=()=>{let t;return t=(0,se.Kg)(e.value)?document.querySelector(e.value):(0,se.Tn)(e.value)?e.value():e.value,t},l=()=>{const e=s();if(!e||!t.value)return void(a.value=null);(function(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:r,right:o,bottom:i,left:a}=e.getBoundingClientRect();return r>=0&&a>=0&&o<=t&&i<=n})(e)||e.scrollIntoView(o.value);const{left:n,top:r,width:i,height:l}=e.getBoundingClientRect();a.value={left:n,top:r,width:i,height:l,radius:0}};(0,i.onMounted)((()=>{(0,i.watch)([t,e],(()=>{l()}),{immediate:!0}),window.addEventListener("resize",l)})),(0,i.onBeforeUnmount)((()=>{window.removeEventListener("resize",l)}));const c=e=>{var t;return null!=(t=(0,se.cy)(n.value.offset)?n.value.offset[e]:n.value.offset)?t:6},u=(0,i.computed)((()=>{var e;if(!a.value)return a.value;const t=c(0),r=c(1),o=(null==(e=n.value)?void 0:e.radius)||2;return{left:a.value.left-t,top:a.value.top-r,width:a.value.width+2*t,height:a.value.height+2*r,radius:o}})),d=(0,i.computed)((()=>{const e=s();return r.value&&e&&window.DOMRect?{getBoundingClientRect(){var e,t,n,r;return window.DOMRect.fromRect({width:(null==(e=u.value)?void 0:e.width)||0,height:(null==(t=u.value)?void 0:t.height)||0,x:(null==(n=u.value)?void 0:n.left)||0,y:(null==(r=u.value)?void 0:r.top)||0})}}:e||void 0}));return{mergedPosInfo:u,triggerTarget:d}})(u,(0,i.toRef)(n,"modelValue"),(0,i.toRef)(n,"gap"),m,y);(0,i.watch)((()=>n.modelValue),(e=>{e||(l.value=0)}));const k=()=>{n.closeOnPressEscape&&(t("update:modelValue",!1),t("close",l.value))},C=e=>{o.value=e},B=(0,i.useSlots)();return(0,i.provide)(zC,{currentStep:s,current:l,total:o,showClose:(0,i.toRef)(n,"showClose"),closeIcon:(0,i.toRef)(n,"closeIcon"),mergedType:O,ns:r,slots:B,updateModelValue(e){t("update:modelValue",e)},onClose(){t("close",l.value)},onFinish(){t("finish")},onChange(){t("change",l.value)}}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,null,[(0,i.createVNode)((0,i.unref)(Sn),{to:e.appendTo},{default:(0,i.withCtx)((()=>{var t,n;return[(0,i.createElementVNode)("div",(0,i.mergeProps)({class:(0,i.unref)(d)},e.$attrs),[(0,i.createVNode)(IC,{visible:(0,i.unref)(g),fill:null==(t=(0,i.unref)(A))?void 0:t.color,style:(0,i.normalizeStyle)(null==(n=(0,i.unref)(A))?void 0:n.style),pos:(0,i.unref)(x),"z-index":(0,i.unref)(_),"target-area-clickable":e.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),e.modelValue?((0,i.openBlock)(),(0,i.createBlock)(UC,{key:(0,i.unref)(l),reference:(0,i.unref)(S),placement:(0,i.unref)(f),"show-arrow":(0,i.unref)(v),"z-index":(0,i.unref)(_),style:(0,i.normalizeStyle)((0,i.unref)(p)),onClose:k},{default:(0,i.withCtx)((()=>[(0,i.createVNode)((0,i.unref)(FC),{current:(0,i.unref)(l),onUpdateTotal:C},{default:(0,i.withCtx)((()=>[(0,i.renderSlot)(e.$slots,"default")])),_:3},8,["current"])])),_:3},8,["reference","placement","show-arrow","z-index","style"])):(0,i.createCommentVNode)("v-if",!0)],16)]})),_:3},8,["to"]),(0,i.createCommentVNode)(" just for IDE "),(0,i.createCommentVNode)("v-if",!0)],64))}});var qC=(0,f.A)(jC,[["__file","tour.vue"]]),ZC=n(81094),YC=function(e,t){return t.length<2?e:(0,Im.A)(e,function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}(t,0,-1))},GC=function(e,t){return t=(0,ZC.A)(t,e),null==(e=YC(e,t))||delete e[(0,Rm.A)((n=t,r=null==n?0:n.length,r?n[r-1]:void 0))];var n,r},KC=function(e){return Fy(e)?void 0:e},JC=(0,n(50416).A)((function(e,t){var n={};if(null==e)return n;var r=!1;t=(0,Ky.A)(t,(function(t){return t=(0,ZC.A)(t,e),r||(r=t.length>1),t})),Mo(e,Bi(e),n),r&&(n=ha(n,7,KC));for(var o=t.length;o--;)GC(n,t[o]);return n}));const eB=(0,l.b_)({target:{type:(0,l.jq)([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:x.Ze},showArrow:{type:Boolean,default:void 0},placement:NC.placement,mask:{type:(0,l.jq)([Boolean,Object]),default:void 0},contentStyle:{type:(0,l.jq)([Object])},prevButtonProps:{type:(0,l.jq)(Object)},nextButtonProps:{type:(0,l.jq)(Object)},scrollIntoViewOptions:{type:(0,l.jq)([Boolean,Object]),default:void 0},type:{type:(0,l.jq)(String)}}),tB=(0,i.defineComponent)({name:"ElTourStep"}),nB=(0,i.defineComponent)({...tB,props:eB,emits:{close:()=>!0},setup(e,{emit:t}){const n=e,{Close:r}=x.H2,{t:o}=(0,wr.Ym)(),{currentStep:a,current:s,total:l,showClose:c,closeIcon:u,mergedType:d,ns:f,slots:h,updateModelValue:p,onClose:m,onFinish:g,onChange:A}=(0,i.inject)(zC);(0,i.watch)(n,(e=>{a.value=e}),{immediate:!0});const v=(0,i.computed)((()=>{var e;return null!=(e=n.showClose)?e:c.value})),y=(0,i.computed)((()=>{var e,t;return null!=(t=null!=(e=n.closeIcon)?e:u.value)?t:r})),O=e=>{if(e)return JC(e,["children","onClick"])},b=()=>{var e,t;s.value-=1,(null==(e=n.prevButtonProps)?void 0:e.onClick)&&(null==(t=n.prevButtonProps)||t.onClick()),A()},w=()=>{var e;s.value>=l.value-1?S():s.value+=1,(null==(e=n.nextButtonProps)?void 0:e.onClick)&&n.nextButtonProps.onClick(),A()},S=()=>{k(),g()},k=()=>{p(!1),m(),t("close")};return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,null,[(0,i.unref)(v)?((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:0,"aria-label":"Close",class:(0,i.normalizeClass)((0,i.unref)(f).e("closebtn")),type:"button",onClick:k},[(0,i.createVNode)((0,i.unref)(_.tk),{class:(0,i.normalizeClass)((0,i.unref)(f).e("close"))},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(y))))])),_:1},8,["class"])],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("header",{class:(0,i.normalizeClass)([(0,i.unref)(f).e("header"),{"show-close":(0,i.unref)(c)}])},[(0,i.renderSlot)(e.$slots,"header",{},(()=>[(0,i.createElementVNode)("span",{role:"heading",class:(0,i.normalizeClass)((0,i.unref)(f).e("title"))},(0,i.toDisplayString)(e.title),3)]))],2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(f).e("body"))},[(0,i.renderSlot)(e.$slots,"default",{},(()=>[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(e.description),1)]))],2),(0,i.createElementVNode)("footer",{class:(0,i.normalizeClass)((0,i.unref)(f).e("footer"))},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(f).b("indicators"))},[(0,i.unref)(h).indicators?((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)((0,i.unref)(h).indicators),{key:0,current:(0,i.unref)(s),total:(0,i.unref)(l)},null,8,["current","total"])):((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,{key:1},(0,i.renderList)((0,i.unref)(l),((e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:e,class:(0,i.normalizeClass)([(0,i.unref)(f).b("indicator"),t===(0,i.unref)(s)?"is-active":""])},null,2)))),128))],2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(f).b("buttons"))},[(0,i.unref)(s)>0?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Pr.S2),(0,i.mergeProps)({key:0,size:"small",type:(0,i.unref)(d)},O(e.prevButtonProps),{onClick:b}),{default:(0,i.withCtx)((()=>{var t,n;return[(0,i.createTextVNode)((0,i.toDisplayString)(null!=(n=null==(t=e.prevButtonProps)?void 0:t.children)?n:(0,i.unref)(o)("el.tour.previous")),1)]})),_:1},16,["type"])):(0,i.createCommentVNode)("v-if",!0),(0,i.unref)(s)<=(0,i.unref)(l)-1?((0,i.openBlock)(),(0,i.createBlock)((0,i.unref)(Pr.S2),(0,i.mergeProps)({key:1,size:"small",type:"primary"===(0,i.unref)(d)?"default":"primary"},O(e.nextButtonProps),{onClick:w}),{default:(0,i.withCtx)((()=>{var t,n;return[(0,i.createTextVNode)((0,i.toDisplayString)(null!=(n=null==(t=e.nextButtonProps)?void 0:t.children)?n:(0,i.unref)(s)===(0,i.unref)(l)-1?(0,i.unref)(o)("el.tour.finish"):(0,i.unref)(o)("el.tour.next")),1)]})),_:1},16,["type"])):(0,i.createCommentVNode)("v-if",!0)],2)],2)],64))}});var rB=(0,f.A)(nB,[["__file","step.vue"]]);const oB=(0,b.GU)(qC,{TourStep:rB}),iB=(0,b.WM)(rB),aB=(0,l.b_)({container:{type:(0,l.jq)([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:(0,l.jq)(String),default:"default"},direction:{type:(0,l.jq)(String),default:"vertical"},selectScrollTop:{type:Boolean,default:!1}}),sB={change:e=>(0,se.Kg)(e),click:(e,t)=>e instanceof MouseEvent&&((0,se.Kg)(t)||(0,c.b0)(t))},lB=Symbol("anchor"),cB=e=>{if(!Y.oc||""===e)return null;if((0,se.Kg)(e))try{return document.querySelector(e)}catch(e){return null}return e},uB=(0,i.defineComponent)({name:"ElAnchor"}),dB=(0,i.defineComponent)({...uB,props:aB,emits:sB,setup(e,{expose:t,emit:n}){const r=e,o=(0,i.ref)(""),s=(0,i.ref)(null),l=(0,i.ref)(null),u=(0,i.ref)(),d={};let f=!1,m=0;const g=(0,h.DU)("anchor"),A=(0,i.computed)((()=>[g.b(),"underline"===r.type?g.m("underline"):"",g.m(r.direction)])),v=e=>{o.value!==e&&(o.value=e,n("change",e))};let y=null;const O=e=>{e&&(v(e),(e=>{if(!u.value)return;const t=cB(e);if(!t)return;y&&y(),f=!0;const n=(0,p.aF)(t,u.value),o=Vl(t,n),i=n.scrollHeight-n.clientHeight,a=Math.min(o-r.offset,i);y=(0,p.mg)(u.value,m,a,r.duration,(()=>{setTimeout((()=>{f=!1}),20)}))})(e))},b=function(){let e=0;const t=(...t)=>{e&&(0,VA.V)(e),e=(0,VA.m)((()=>{(()=>{u.value&&(m=(0,p.hY)(u.value));const e=w();f||(0,c.b0)(e)||v(e)})(...t),e=0}))};return t.cancel=()=>{(0,VA.V)(e),e=0},t}(),w=()=>{if(!u.value)return;const e=(0,p.hY)(u.value),t=[];for(const e of Object.keys(d)){const n=cB(e);if(!n)continue;const o=(0,p.aF)(n,u.value),i=Vl(n,o);t.push({top:i-r.offset-r.bound,href:e})}t.sort(((e,t)=>e.top-t.top));for(let n=0;n<t.length;n++){const o=t[n],i=t[n+1];if(0===n&&0===e)return r.selectScrollTop?o.href:"";if(o.top<=e&&(!i||i.top>e))return o.href}},_=()=>{const e=cB(r.container);!e||(0,c.l6)(e)?u.value=window:u.value=e};(0,a.MLh)(u,"scroll",b);const x=(0,i.computed)((()=>{if(!s.value||!l.value||!o.value)return{};const e=d[o.value];if(!e)return{};const t=s.value.getBoundingClientRect(),n=l.value.getBoundingClientRect(),i=e.getBoundingClientRect();return"horizontal"===r.direction?{left:i.left-t.left+"px",width:`${i.width}px`,opacity:1}:{top:i.top-t.top+(i.height-n.height)/2+"px",opacity:1}}));return(0,i.onMounted)((()=>{_();const e=decodeURIComponent(window.location.hash);cB(e)?O(e):b()})),(0,i.watch)((()=>r.container),(()=>{_()})),(0,i.provide)(lB,{ns:g,direction:r.direction,currentAnchor:o,addLink:e=>{d[e.href]=e.el},removeLink:e=>{delete d[e]},handleClick:(e,t)=>{n("click",e,t),O(t)}}),t({scrollTo:O}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"anchorRef",ref:s,class:(0,i.normalizeClass)((0,i.unref)(A))},[e.marker?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,ref_key:"markerRef",ref:l,class:(0,i.normalizeClass)((0,i.unref)(g).e("marker")),style:(0,i.normalizeStyle)((0,i.unref)(x))},null,6)):(0,i.createCommentVNode)("v-if",!0),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(g).e("list"))},[(0,i.renderSlot)(e.$slots,"default")],2)],2))}});var fB=(0,f.A)(dB,[["__file","anchor.vue"]]);const hB=(0,l.b_)({title:String,href:String}),pB=(0,i.defineComponent)({name:"ElAnchorLink"}),mB=(0,i.defineComponent)({...pB,props:hB,setup(e){const t=e,n=(0,i.ref)(null),{ns:r,direction:o,currentAnchor:a,addLink:s,removeLink:l,handleClick:c}=(0,i.inject)(lB),u=(0,i.computed)((()=>[r.e("link"),r.is("active",a.value===t.href)])),d=e=>{c(e,t.href)};return(0,i.watch)((()=>t.href),((e,t)=>{(0,i.nextTick)((()=>{t&&l(t),e&&s({href:e,el:n.value})}))})),(0,i.onMounted)((()=>{const{href:e}=t;e&&s({href:e,el:n.value})})),(0,i.onBeforeUnmount)((()=>{const{href:e}=t;e&&l(e)})),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).e("item"))},[(0,i.createElementVNode)("a",{ref_key:"linkRef",ref:n,class:(0,i.normalizeClass)((0,i.unref)(u)),href:e.href,onClick:d},[(0,i.renderSlot)(e.$slots,"default",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.title),1)]))],10,["href"]),e.$slots["sub-link"]&&"vertical"===(0,i.unref)(o)?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(r).e("list"))},[(0,i.renderSlot)(e.$slots,"sub-link")],2)):(0,i.createCommentVNode)("v-if",!0)],2))}});var gB=(0,f.A)(mB,[["__file","anchor-link.vue"]]);const AB=(0,b.GU)(fB,{AnchorLink:gB}),vB=(0,b.WM)(gB),yB=(0,l.b_)({direction:{type:(0,l.jq)(String),default:"horizontal"},options:{type:(0,l.jq)(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},block:Boolean,size:za.mU,disabled:Boolean,validateEvent:{type:Boolean,default:!0},id:String,name:String,...(0,oe.l)(["ariaLabel"])}),OB={[s.l4]:e=>(0,se.Kg)(e)||(0,c.Et)(e)||(0,c.Lm)(e),[s.YU]:e=>(0,se.Kg)(e)||(0,c.Et)(e)||(0,c.Lm)(e)},bB=(0,i.defineComponent)({name:"ElSegmented"}),wB=(0,i.defineComponent)({...bB,props:yB,emits:OB,setup(e,{emit:t}){const n=e,r=(0,h.DU)("segmented"),o=(0,kn.Bi)(),l=(0,Jn.NV)(),c=(0,Jn.CB)(),{formItem:u}=(0,Na.j)(),{inputId:d,isLabeledByFormItem:f}=(0,Na.W)(n,{formItemContext:u}),p=(0,i.ref)(null),m=(0,a.YC1)(),A=(0,i.reactive)({isInit:!1,width:0,height:0,translateX:0,translateY:0,focusVisible:!1}),v=e=>(0,se.Gv)(e)?e.value:e,y=e=>(0,se.Gv)(e)?e.label:e,O=e=>!!(c.value||(0,se.Gv)(e)&&e.disabled),b=e=>n.modelValue===v(e),w=e=>[r.e("item"),r.is("selected",b(e)),r.is("disabled",O(e))],_=()=>{if(!p.value)return;const e=p.value.querySelector(".is-selected"),t=p.value.querySelector(".is-selected input");if(!e||!t)return A.width=0,A.height=0,A.translateX=0,A.translateY=0,void(A.focusVisible=!1);const r=e.getBoundingClientRect();A.isInit=!0,"vertical"===n.direction?(A.height=r.height,A.translateY=e.offsetTop):(A.width=r.width,A.translateX=e.offsetLeft);try{A.focusVisible=t.matches(":focus-visible")}catch(e){}},x=(0,i.computed)((()=>[r.b(),r.m(l.value),r.is("block",n.block)])),S=(0,i.computed)((()=>({width:"vertical"===n.direction?"100%":`${A.width}px`,height:"vertical"===n.direction?`${A.height}px`:"100%",transform:"vertical"===n.direction?`translateY(${A.translateY}px)`:`translateX(${A.translateX}px)`,display:A.isInit?"block":"none"}))),k=(0,i.computed)((()=>{return[r.e("item-selected"),r.is("disabled",O((e=n.modelValue,n.options.find((t=>v(t)===e))))),r.is("focus-visible",A.focusVisible)];var e})),C=(0,i.computed)((()=>n.name||o.value));return(0,a.wYm)(p,_),(0,i.watch)(m,_),(0,i.watch)((()=>n.modelValue),(()=>{var e;_(),n.validateEvent&&(null==(e=null==u?void 0:u.validate)||e.call(u,"change").catch((e=>(0,g.U)(e))))}),{flush:"post"}),(e,o)=>e.options.length?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,id:(0,i.unref)(d),ref_key:"segmentedRef",ref:p,class:(0,i.normalizeClass)((0,i.unref)(x)),role:"radiogroup","aria-label":(0,i.unref)(f)?void 0:e.ariaLabel||"segmented","aria-labelledby":(0,i.unref)(f)?(0,i.unref)(u).labelId:void 0},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)([(0,i.unref)(r).e("group"),(0,i.unref)(r).m(n.direction)])},[(0,i.createElementVNode)("div",{style:(0,i.normalizeStyle)((0,i.unref)(S)),class:(0,i.normalizeClass)((0,i.unref)(k))},null,6),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.options,((n,o)=>((0,i.openBlock)(),(0,i.createElementBlock)("label",{key:o,class:(0,i.normalizeClass)(w(n))},[(0,i.createElementVNode)("input",{class:(0,i.normalizeClass)((0,i.unref)(r).e("item-input")),type:"radio",name:(0,i.unref)(C),disabled:O(n),checked:b(n),onChange:e=>(e=>{const n=v(e);t(s.l4,n),t(s.YU,n)})(n)},null,42,["name","disabled","checked","onChange"]),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)((0,i.unref)(r).e("item-label"))},[(0,i.renderSlot)(e.$slots,"default",{item:n},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(y(n)),1)]))],2)],2)))),128))],2)],10,["id","aria-label","aria-labelledby"])):(0,i.createCommentVNode)("v-if",!0)}});var _B=(0,f.A)(wB,[["__file","segmented.vue"]]);const xB=(0,b.GU)(_B),SB=(e,t)=>{const n=e.toLowerCase();return(t.label||t.value).toLowerCase().includes(n)};var kB=n(28190);const CB=(0,l.b_)({...kB.$,options:{type:(0,l.jq)(Array),default:()=>[]},prefix:{type:(0,l.jq)([String,Array]),default:"@",validator:e=>(0,se.Kg)(e)?1===e.length:e.every((e=>(0,se.Kg)(e)&&1===e.length))},split:{type:String,default:" ",validator:e=>1===e.length},filterOption:{type:(0,l.jq)([Boolean,Function]),default:()=>SB,validator:e=>!1===e||(0,se.Tn)(e)},placement:{type:(0,l.jq)(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:(0,l.jq)(Function)},modelValue:String,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:(0,l.jq)(Object),default:()=>({})}}),BB={[s.l4]:e=>(0,se.Kg)(e),search:(e,t)=>(0,se.Kg)(e)&&(0,se.Kg)(t),select:(e,t)=>(0,se.Kg)(e.value)&&(0,se.Kg)(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},QB=(0,l.b_)({options:{type:(0,l.jq)(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),TB={select:e=>(0,se.Kg)(e.value)},EB=(0,i.defineComponent)({name:"ElMentionDropdown"}),PB=(0,i.defineComponent)({...EB,props:QB,emits:TB,setup(e,{expose:t,emit:n}){const r=e,o=(0,h.DU)("mention"),{t:a}=(0,wr.Ym)(),s=(0,i.ref)(-1),l=(0,i.ref)(),c=(0,i.ref)(),u=(0,i.ref)(),d=(e,t)=>[o.be("dropdown","item"),o.is("hovering",s.value===t),o.is("disabled",e.disabled||r.disabled)],f=(0,i.computed)((()=>r.disabled||r.options.every((e=>e.disabled)))),m=(0,i.computed)((()=>r.options[s.value])),g=e=>{const{options:t}=r;if(0===t.length||f.value)return;"next"===e?(s.value++,s.value===t.length&&(s.value=0)):"prev"===e&&(s.value--,s.value<0&&(s.value=t.length-1));const n=t[s.value];n.disabled?g(e):(0,i.nextTick)((()=>A(n)))},A=e=>{var t,n,i,a;const{options:s}=r,d=s.findIndex((t=>t.value===e.value)),f=null==(t=c.value)?void 0:t[d];if(f){const e=null==(i=null==(n=u.value)?void 0:n.querySelector)?void 0:i.call(n,`.${o.be("dropdown","wrap")}`);e&&(0,p.Rt)(e,f)}null==(a=l.value)||a.handleScroll()};return(0,i.watch)((()=>r.options),(()=>{f.value||0===r.options.length?s.value=-1:s.value=0}),{immediate:!0}),t({hoveringIndex:s,navigateOptions:g,selectHoverOption:()=>{m.value&&n("select",m.value)},hoverOption:m}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"dropdownRef",ref:u,class:(0,i.normalizeClass)((0,i.unref)(o).b("dropdown"))},[e.$slots.header?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)((0,i.unref)(o).be("dropdown","header"))},[(0,i.renderSlot)(e.$slots,"header")],2)):(0,i.createCommentVNode)("v-if",!0),(0,i.withDirectives)((0,i.createVNode)((0,i.unref)(fe),{id:e.contentId,ref_key:"scrollbarRef",ref:l,tag:"ul","wrap-class":(0,i.unref)(o).be("dropdown","wrap"),"view-class":(0,i.unref)(o).be("dropdown","list"),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:(0,i.withCtx)((()=>[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.options,((t,o)=>((0,i.openBlock)(),(0,i.createElementBlock)("li",{id:`${e.contentId}-${o}`,ref_for:!0,ref_key:"optionRefs",ref:c,key:o,class:(0,i.normalizeClass)(d(t,o)),role:"option","aria-disabled":t.disabled||e.disabled||void 0,"aria-selected":s.value===o,onMousemove:e=>(e=>{s.value=e})(o),onClick:(0,i.withModifiers)((e=>(e=>{e.disabled||r.disabled||n("select",e)})(t)),["stop"])},[(0,i.renderSlot)(e.$slots,"label",{item:t,index:o},(()=>{var e;return[(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(null!=(e=t.label)?e:t.value),1)]}))],42,["id","aria-disabled","aria-selected","onMousemove","onClick"])))),128))])),_:3},8,["id","wrap-class","view-class","aria-label"]),[[i.vShow,e.options.length>0&&!e.loading]]),e.loading?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)((0,i.unref)(o).be("dropdown","loading"))},[(0,i.renderSlot)(e.$slots,"loading",{},(()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(a)("el.mention.loading")),1)]))],2)):(0,i.createCommentVNode)("v-if",!0),e.$slots.footer?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:2,class:(0,i.normalizeClass)((0,i.unref)(o).be("dropdown","footer"))},[(0,i.renderSlot)(e.$slots,"footer")],2)):(0,i.createCommentVNode)("v-if",!0)],2))}});var $B=(0,f.A)(PB,[["__file","mention-dropdown.vue"]]);const MB=(0,i.defineComponent)({name:"ElMention",inheritAttrs:!1}),zB=(0,i.defineComponent)({...MB,props:CB,emits:BB,setup(e,{expose:t,emit:n}){const r=e,o=(0,i.computed)((()=>(0,qa.A)(r,Object.keys(kB.$)))),a=(0,h.DU)("mention"),l=(0,Jn.CB)(),c=(0,kn.Bi)(),u=(0,i.ref)(),d=(0,i.ref)(),f=(0,i.ref)(),p=(0,i.ref)(!1),m=(0,i.ref)(),g=(0,i.ref)(),A=(0,i.computed)((()=>r.showArrow?r.placement:`${r.placement}-start`)),v=(0,i.computed)((()=>r.showArrow?["bottom","top"]:["bottom-start","top-start"])),y=(0,i.computed)((()=>{const{filterOption:e,options:t}=r;return g.value&&e?t.filter((t=>e(g.value.pattern,t))):t})),O=(0,i.computed)((()=>p.value&&(!!y.value.length||r.loading))),b=(0,i.computed)((()=>{var e;return`${c.value}-${null==(e=f.value)?void 0:e.hoveringIndex}`})),w=e=>{n("update:modelValue",e),B()},_=e=>{var t,o,a,l;if("code"in e&&!(null==(t=u.value)?void 0:t.isComposing))switch(e.code){case Wt.R.left:case Wt.R.right:B();break;case Wt.R.up:case Wt.R.down:if(!p.value)return;e.preventDefault(),null==(o=f.value)||o.navigateOptions(e.code===Wt.R.up?"prev":"next");break;case Wt.R.enter:case Wt.R.numpadEnter:if(!p.value)return;e.preventDefault(),(null==(a=f.value)?void 0:a.hoverOption)?null==(l=f.value)||l.selectHoverOption():p.value=!1;break;case Wt.R.esc:if(!p.value)return;e.preventDefault(),p.value=!1;break;case Wt.R.backspace:if(r.whole&&g.value){const{splitIndex:t,selectionEnd:o,pattern:a,prefixIndex:l,prefix:c}=g.value,u=C();if(!u)return;const d=u.value,f=r.options.find((e=>e.value===a));if(((0,se.Tn)(r.checkIsWhole)?r.checkIsWhole(a,c):f)&&-1!==t&&t+1===o){e.preventDefault();const r=d.slice(0,l)+d.slice(t+1);n(s.l4,r);const o=l;(0,i.nextTick)((()=>{u.selectionStart=o,u.selectionEnd=o,T()}))}}}},{wrapperRef:x}=(0,dc.K)(u,{beforeFocus(){return l.value},afterFocus(){B()},beforeBlur(e){var t;return null==(t=d.value)?void 0:t.isFocusInsideContent(e)},afterBlur(){p.value=!1}}),S=()=>{B()},k=e=>{if(!g.value)return;const t=C();if(!t)return;const o=t.value,{split:a}=r,l=o.slice(g.value.end),c=l.startsWith(a),u=`${e.value}${c?"":a}`,d=o.slice(0,g.value.start)+u+l;n(s.l4,d),n("select",e,g.value.prefix);const f=g.value.start+u.length+(c?1:0);(0,i.nextTick)((()=>{t.selectionStart=f,t.selectionEnd=f,t.focus(),T()}))},C=()=>{var e,t;return"textarea"===r.type?null==(e=u.value)?void 0:e.textarea:null==(t=u.value)?void 0:t.input},B=()=>{setTimeout((()=>{Q(),T(),(0,i.nextTick)((()=>{var e;return null==(e=d.value)?void 0:e.updatePopper()}))}),0)},Q=()=>{const e=C();if(!e)return;const t=((e,t={debug:!1,useSelectionEnd:!1})=>{const n=null!==e.selectionStart?e.selectionStart:0,r=null!==e.selectionEnd?e.selectionEnd:0,o=t.useSelectionEnd?r:n;if(t.debug){const e=document.querySelector("#input-textarea-caret-position-mirror-div");(null==e?void 0:e.parentNode)&&e.parentNode.removeChild(e)}const i=document.createElement("div");i.id="input-textarea-caret-position-mirror-div",document.body.appendChild(i);const a=i.style,s=window.getComputedStyle(e),l="INPUT"===e.nodeName;a.whiteSpace=l?"nowrap":"pre-wrap",l||(a.wordWrap="break-word"),a.position="absolute",t.debug||(a.visibility="hidden"),["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"].forEach((e=>{if(l&&"lineHeight"===e)if("border-box"===s.boxSizing){const e=Number.parseInt(s.height),t=Number.parseInt(s.paddingTop)+Number.parseInt(s.paddingBottom)+Number.parseInt(s.borderTopWidth)+Number.parseInt(s.borderBottomWidth),n=t+Number.parseInt(s.lineHeight);a.lineHeight=e>n?e-t+"px":e===n?s.lineHeight:"0"}else a.lineHeight=s.height;else a[e]=s[e]})),(0,hp.gm)()?e.scrollHeight>Number.parseInt(s.height)&&(a.overflowY="scroll"):a.overflow="hidden",i.textContent=e.value.slice(0,Math.max(0,o)),l&&i.textContent&&(i.textContent=i.textContent.replace(/\s/g," "));const c=document.createElement("span");c.textContent=e.value.slice(Math.max(0,o))||".",c.style.position="relative",c.style.left=-e.scrollLeft+"px",c.style.top=-e.scrollTop+"px",i.appendChild(c);const u={top:c.offsetTop+Number.parseInt(s.borderTopWidth),left:c.offsetLeft+Number.parseInt(s.borderLeftWidth),height:1.5*Number.parseInt(s.fontSize)};return t.debug?c.style.backgroundColor="#aaa":document.body.removeChild(i),u.left>=e.clientWidth&&(u.left=e.clientWidth),u})(e),n=e.getBoundingClientRect(),r=u.value.$el.getBoundingClientRect();m.value={position:"absolute",width:0,height:`${t.height}px`,left:t.left+n.left-r.left+"px",top:t.top+n.top-r.top+"px"}},T=()=>{const e=C();if(document.activeElement!==e)return void(p.value=!1);const{prefix:t,split:o}=r;if(g.value=((e,t,n)=>{const{selectionEnd:r}=e;if(null===r)return;const o=e.value,i=_l(t);let a,s=-1;for(let e=r-1;e>=0;--e){const t=o[e];if(t!==n&&"\n"!==t&&"\r"!==t){if(i.includes(t)){const n=-1===s?r:s;a={pattern:o.slice(e+1,n),start:e+1,end:n,prefix:t,prefixIndex:e,splitIndex:s,selectionEnd:r};break}}else s=e}return a})(e,t,o),g.value&&-1===g.value.splitIndex)return p.value=!0,void n("search",g.value.pattern,g.value.prefix);p.value=!1};return t({input:u,tooltip:d,dropdownVisible:O}),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{ref_key:"wrapperRef",ref:x,class:(0,i.normalizeClass)([(0,i.unref)(a).b(),(0,i.unref)(a).is("disabled",(0,i.unref)(l))])},[(0,i.createVNode)((0,i.unref)(q.WK),(0,i.mergeProps)((0,i.mergeProps)((0,i.unref)(o),e.$attrs),{ref_key:"elInputRef",ref:u,"model-value":e.modelValue,disabled:(0,i.unref)(l),role:(0,i.unref)(O)?"combobox":void 0,"aria-activedescendant":(0,i.unref)(O)?(0,i.unref)(b)||"":void 0,"aria-controls":(0,i.unref)(O)?(0,i.unref)(c):void 0,"aria-expanded":(0,i.unref)(O)||void 0,"aria-label":e.ariaLabel,"aria-autocomplete":(0,i.unref)(O)?"none":void 0,"aria-haspopup":(0,i.unref)(O)?"listbox":void 0,onInput:w,onKeydown:_,onMousedown:S}),(0,i.createSlots)({_:2},[(0,i.renderList)(e.$slots,((t,n)=>({name:n,fn:(0,i.withCtx)((t=>[(0,i.renderSlot)(e.$slots,n,(0,i.normalizeProps)((0,i.guardReactiveProps)(t)))]))})))]),1040,["model-value","disabled","role","aria-activedescendant","aria-controls","aria-expanded","aria-label","aria-autocomplete","aria-haspopup"]),(0,i.createVNode)((0,i.unref)(Zn),{ref_key:"tooltipRef",ref:d,visible:(0,i.unref)(O),"popper-class":[(0,i.unref)(a).e("popper"),e.popperClass],"popper-options":e.popperOptions,placement:(0,i.unref)(A),"fallback-placements":(0,i.unref)(v),effect:"light",pure:"",offset:e.offset,"show-arrow":e.showArrow},{default:(0,i.withCtx)((()=>[(0,i.createElementVNode)("div",{style:(0,i.normalizeStyle)(m.value)},null,4)])),content:(0,i.withCtx)((()=>{var t;return[(0,i.createVNode)($B,{ref_key:"dropdownRef",ref:f,options:(0,i.unref)(y),disabled:(0,i.unref)(l),loading:e.loading,"content-id":(0,i.unref)(c),"aria-label":e.ariaLabel,onSelect:k,onClick:(0,i.withModifiers)(null==(t=u.value)?void 0:t.focus,["stop"])},(0,i.createSlots)({_:2},[(0,i.renderList)(e.$slots,((t,n)=>({name:n,fn:(0,i.withCtx)((t=>[(0,i.renderSlot)(e.$slots,n,(0,i.normalizeProps)((0,i.guardReactiveProps)(t)))]))})))]),1032,["options","disabled","loading","content-id","aria-label","onClick"])]})),_:3},8,["visible","popper-class","popper-options","placement","fallback-placements","offset","show-arrow"])],2))}});var RB=(0,f.A)(zB,[["__file","mention.vue"]]);const DB=(0,b.GU)(RB);var IB=[w,E,or,Kw,dr,vr,yr.z_,Tr,Er,Pr.S2,Pr.fg,ro,lo,So,ko,il,Us,dl,es,ts,ns,vl,zl,Rl,Tl,mc,Ac,$c,Mc,zc,Rc,Dc,fd,Sd,kd,Hd,Zd,tf,qf,Zf,Yf,oh,Gh,Kh,_.tk,up,op,q.WK,Ap,xp,Tp,om,im,am,sm,fm,xg,Eg,Lg,Oe,Wg,Os,ws,bs,Gg,oA,cA,fe,Jm,eg,tg,Ov,Qv,Tv,Wv,Gv,ny,dy,by,wy,Ty,Cb,Bb,Gw,y_,O_,qs,S_,z_,W_,G_,K_,Zn,VS,rk,wk,Pk,oC,CC,$C,oB,iB,AB,vB,xB,DB];const NB="ElInfiniteScroll",LB={delay:{type:Number,default:200},distance:{type:Number,default:0},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},VB=(e,t)=>Object.entries(LB).reduce(((n,[r,o])=>{var i,a;const{type:s,default:l}=o,c=e.getAttribute(`infinite-scroll-${r}`);let u=null!=(a=null!=(i=t[c])?i:c)?a:l;return u="false"!==u&&u,u=s(u),n[r]=Number.isNaN(u)?l:u,n}),{}),UB=e=>{const{observer:t}=e[NB];t&&(t.disconnect(),delete e[NB].observer)},FB=(e,t)=>{const{container:n,containerEl:r,instance:o,observer:i,lastScrollTop:a}=e[NB],{disabled:s,distance:l}=VB(e,o),{clientHeight:c,scrollHeight:u,scrollTop:d}=r,f=d-a;if(e[NB].lastScrollTop=d,i||s||f<0)return;let h=!1;if(n===e)h=u-(c+d)<=l;else{const{clientTop:t,scrollHeight:n}=e;h=d+c>=Vl(e,r)+t+n-l}h&&t.call(o)};function HB(e,t){const{containerEl:n,instance:r}=e[NB],{disabled:o}=VB(e,r);o||0===n.clientHeight||(n.scrollHeight<=n.clientHeight?t.call(r):UB(e))}const WB={async mounted(e,t){const{instance:n,value:r}=t;(0,se.Tn)(r)||(0,g.$)(NB,"'v-infinite-scroll' binding value must be a function"),await(0,i.nextTick)();const{delay:o,immediate:a}=VB(e,n),s=(0,p.Bo)(e,!0),l=s===window?document.documentElement:s,c=fo(FB.bind(null,e,r),o);if(s){if(e[NB]={instance:n,container:s,containerEl:l,delay:o,cb:r,onScroll:c,lastScrollTop:l.scrollTop},a){const t=new MutationObserver(fo(HB.bind(null,e,r),50));e[NB].observer=t,t.observe(e,{childList:!0,subtree:!0}),HB(e,r)}s.addEventListener("scroll",c)}},unmounted(e){if(!e[NB])return;const{container:t,onScroll:n}=e[NB];null==t||t.removeEventListener("scroll",n),UB(e)},async updated(e){if(e[NB]){const{containerEl:t,cb:n,observer:r}=e[NB];t.clientHeight&&r&&HB(e,n)}else await(0,i.nextTick)()},install:e=>{e.directive("InfiniteScroll",WB)}},XB=WB;let jB;const qB=function(e={}){if(!Y.oc)return;const t=ZB(e);if(t.fullscreen&&jB)return jB;const n=function(e){let t;const n=(0,i.ref)(!1),r=(0,i.reactive)({...e,originalPosition:"",originalOverflow:"",visible:!1});function a(){var e,t;null==(t=null==(e=u.$el)?void 0:e.parentNode)||t.removeChild(u.$el)}function s(){if(!n.value)return;const e=r.parent;n.value=!1,e.vLoadingAddClassList=void 0,function(){const e=r.parent,t=u.ns;if(!e.vLoadingAddClassList){let n=e.getAttribute("loading-number");n=Number.parseInt(n)-1,n?e.setAttribute("loading-number",n.toString()):((0,m.vy)(e,t.bm("parent","relative")),e.removeAttribute("loading-number")),(0,m.vy)(e,t.bm("parent","hidden"))}a(),c.unmount()}()}const l=(0,i.defineComponent)({name:"ElLoading",setup(e,{expose:t}){const{ns:n,zIndex:a}=(0,o.ht)("loading");return t({ns:n,zIndex:a}),()=>{const e=r.spinner||r.svg,t=(0,i.h)("svg",{class:"circular",viewBox:r.svgViewBox?r.svgViewBox:"0 0 50 50",...e?{innerHTML:e}:{}},[(0,i.h)("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),o=r.text?(0,i.h)("p",{class:n.b("text")},[r.text]):void 0;return(0,i.h)(i.Transition,{name:n.b("fade"),onAfterLeave:s},{default:(0,i.withCtx)((()=>[(0,i.withDirectives)((0,i.createVNode)("div",{style:{backgroundColor:r.background||""},class:[n.b("mask"),r.customClass,r.fullscreen?"is-fullscreen":""]},[(0,i.h)("div",{class:n.b("spinner")},[t,o])]),[[i.vShow,r.visible]])]))})}}}),c=(0,i.createApp)(l),u=c.mount(document.createElement("div"));return{...(0,i.toRefs)(r),setText:function(e){r.text=e},removeElLoadingChild:a,close:function(){var o;e.beforeClose&&!e.beforeClose()||(n.value=!0,clearTimeout(t),t=setTimeout(s,400),r.visible=!1,null==(o=e.closed)||o.call(e))},handleAfterLeave:s,vm:u,get $el(){return u.$el}}}({...t,closed:()=>{var e;null==(e=t.closed)||e.call(t),t.fullscreen&&(jB=void 0)}});YB(t,t.parent,n),GB(t,t.parent,n),t.parent.vLoadingAddClassList=()=>GB(t,t.parent,n);let r=t.parent.getAttribute("loading-number");return r=r?`${Number.parseInt(r)+1}`:"1",t.parent.setAttribute("loading-number",r),t.parent.appendChild(n.$el),(0,i.nextTick)((()=>n.visible.value=t.visible)),t.fullscreen&&(jB=n),n},ZB=e=>{var t,n,r,o;let i;return i=(0,se.Kg)(e.target)?null!=(t=document.querySelector(e.target))?t:document.body:e.target||document.body,{parent:i===document.body||e.body?document.body:i,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:i===document.body&&(null==(n=e.fullscreen)||n),lock:null!=(r=e.lock)&&r,customClass:e.customClass||"",visible:null==(o=e.visible)||o,beforeClose:e.beforeClose,closed:e.closed,target:i}},YB=async(e,t,n)=>{const{nextZIndex:r}=n.vm.zIndex||n.vm._.exposed.zIndex,o={};if(e.fullscreen)n.originalPosition.value=(0,m.gd)(document.body,"position"),n.originalOverflow.value=(0,m.gd)(document.body,"overflow"),o.zIndex=r();else if(e.parent===document.body){n.originalPosition.value=(0,m.gd)(document.body,"position"),await(0,i.nextTick)();for(const t of["top","left"]){const n="top"===t?"scrollTop":"scrollLeft";o[t]=e.target.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]-Number.parseInt((0,m.gd)(document.body,`margin-${t}`),10)+"px"}for(const t of["height","width"])o[t]=`${e.target.getBoundingClientRect()[t]}px`}else n.originalPosition.value=(0,m.gd)(t,"position");for(const[e,t]of Object.entries(o))n.$el.style[e]=t},GB=(e,t,n)=>{const r=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?(0,m.vy)(t,r.bm("parent","relative")):(0,m.iQ)(t,r.bm("parent","relative")),e.fullscreen&&e.lock?(0,m.iQ)(t,r.bm("parent","hidden")):(0,m.vy)(t,r.bm("parent","hidden"))},KB=Symbol("ElLoading"),JB=(e,t)=>{var n,r,o,a;const s=t.instance,l=e=>(0,se.Gv)(t.value)?t.value[e]:void 0,c=t=>(e=>{const t=(0,se.Kg)(e)&&(null==s?void 0:s[e])||e;return t?(0,i.ref)(t):t})(l(t)||e.getAttribute(`element-loading-${(0,se.Tg)(t)}`)),u=null!=(n=l("fullscreen"))?n:t.modifiers.fullscreen,d={text:c("text"),svg:c("svg"),svgViewBox:c("svgViewBox"),spinner:c("spinner"),background:c("background"),customClass:c("customClass"),fullscreen:u,target:null!=(r=l("target"))?r:u?void 0:e,body:null!=(o=l("body"))?o:t.modifiers.body,lock:null!=(a=l("lock"))?a:t.modifiers.lock};e[KB]={options:d,instance:qB(d)}},eQ={mounted(e,t){t.value&&JB(e,t)},updated(e,t){const n=e[KB];t.oldValue!==t.value&&(t.value&&!t.oldValue?JB(e,t):t.value&&t.oldValue?(0,se.Gv)(t.value)&&((e,t)=>{for(const n of Object.keys(t))(0,i.isRef)(t[n])&&(t[n].value=e[n])})(t.value,n.options):null==n||n.instance.close())},unmounted(e){var t;null==(t=e[KB])||t.instance.close(),e[KB]=null}},tQ={install(e){e.directive("loading",eQ),e.config.globalProperties.$loading=qB},directive:eQ,service:qB};var nQ=n(20163),rQ=n(77918),oQ=n(61644),iQ=((e=[])=>({version:"2.9.6",install:(t,n)=>{t[r]||(t[r]=!0,e.forEach((e=>t.use(e))),n&&(0,o.Vh)(n,t,!0))}}))([...IB,XB,tQ,nQ.nk,rQ.s,oQ.df,Ng])},98908:function(e,t,n){"use strict";var r=n(15215),o=n(47355),i=n(40446),a=n(98026),s=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.C6)(t,e),t.prototype.getInitialData=function(e,t){return(0,i.A)(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,t,n){var r=this.coordinateSystem;if(r&&r.clampData){var o=r.clampData(e),i=r.dataToPoint(o);if(n)(0,a.each)(r.getAxes(),(function(e,n){if("category"===e.type&&null!=t){var r=e.getTicksCoords(),a=e.getTickModel().get("alignWithLabel"),s=o[n],l="x1"===t[n]||"y1"===t[n];if(l&&!a&&(s+=1),r.length<2)return;if(2===r.length)return void(i[n]=e.toGlobalCoord(e.getExtent()[l?1:0]));for(var c=void 0,u=void 0,d=1,f=0;f<r.length;f++){var h=r[f].coord,p=f===r.length-1?r[f-1].tickValue+d:r[f].tickValue;if(p===s){u=h;break}if(p<s)c=h;else if(null!=c&&p>s){u=(h+c)/2;break}1===f&&(d=p-r[0].tickValue)}null==u&&(c?c&&(u=r[r.length-1].coord):u=r[0].coord),i[n]=e.toGlobalCoord(u)}}));else{var s=this.getData(),l=s.getLayout("offset"),c=s.getLayout("size"),u=r.getBaseAxis().isHorizontal()?0:1;i[u]+=l+c/2}return i}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(o.A);o.A.registerClass(s),t.A=s},98927:function(e){e.exports=function(e,t){return e>=t?e:(e|=0)+Math.round(Math.random()*((t||9)-e))}},98983:function(e,t,n){"use strict";function r(e,t,n,r,a,s){e=e||0;var l=n[1]-n[0];if(null!=a&&(a=i(a,[0,l])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===r){var c=Math.abs(t[1]-t[0]);c=i(c,[0,l]),a=s=i(c,[a,s]),r=0}t[0]=i(t[0],n),t[1]=i(t[1],n);var u=o(t,r);t[r]+=e;var d,f=a||0,h=n.slice();return u.sign<0?h[0]+=f:h[1]-=f,t[r]=i(t[r],h),d=o(t,r),null!=a&&(d.sign!==u.sign||d.span<a)&&(t[1-r]=t[r]+u.sign*a),d=o(t,r),null!=s&&d.span>s&&(t[1-r]=t[r]+d.sign*s),t}function o(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function i(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}n.d(t,{A:function(){return r}})},99013:function(){!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("hr",(function(e){!function(e){e.addCommand("InsertHorizontalRule",(function(){e.execCommand("mceInsertContent",!1,"<hr />")}))}(e),function(e){var t=function(){return e.execCommand("InsertHorizontalRule")};e.ui.registry.addButton("hr",{icon:"horizontal-rule",tooltip:"Horizontal line",onAction:t}),e.ui.registry.addMenuItem("hr",{icon:"horizontal-rule",text:"Horizontal line",onAction:t})}(e)}))}()},99311:function(e,t,n){n(22612)},99361:function(e){e.exports="first"},99429:function(e,t,n){"use strict";n.d(t,{rR:function(){return Q},UJ:function(){return k},Qh:function(){return C},uc:function(){return B}});var r=n(15215),o=n(5070),i=n(68717),a=n(83509),s=i.A.CMD,l=[[],[],[]],c=Math.sqrt,u=Math.atan2;function d(e,t){if(t){var n,r,o,i,d,f,h=e.data,p=e.len(),m=s.M,g=s.C,A=s.L,v=s.R,y=s.A,O=s.Q;for(o=0,i=0;o<p;){switch(n=h[o++],i=o,r=0,n){case m:case A:r=1;break;case g:r=3;break;case O:r=2;break;case y:var b=t[4],w=t[5],_=c(t[0]*t[0]+t[1]*t[1]),x=c(t[2]*t[2]+t[3]*t[3]),S=u(-t[1]/x,t[0]/_);h[o]*=_,h[o++]+=b,h[o]*=x,h[o++]+=w,h[o++]*=_,h[o++]*=x,h[o++]+=S,h[o++]+=S,i=o+=2;break;case v:f[0]=h[o++],f[1]=h[o++],(0,a.applyTransform)(f,f,t),h[i++]=f[0],h[i++]=f[1],f[0]+=h[o++],f[1]+=h[o++],(0,a.applyTransform)(f,f,t),h[i++]=f[0],h[i++]=f[1]}for(d=0;d<r;d++){var k=l[d];k[0]=h[o++],k[1]=h[o++],(0,a.applyTransform)(k,k,t),h[i++]=k[0],h[i++]=k[1]}}e.increaseVersion()}}var f=n(98026),h=Math.sqrt,p=Math.sin,m=Math.cos,g=Math.PI;function A(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function v(e,t){return(e[0]*t[0]+e[1]*t[1])/(A(e)*A(t))}function y(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(v(e,t))}function O(e,t,n,r,o,i,a,s,l,c,u){var d=l*(g/180),f=m(d)*(e-n)/2+p(d)*(t-r)/2,A=-1*p(d)*(e-n)/2+m(d)*(t-r)/2,O=f*f/(a*a)+A*A/(s*s);O>1&&(a*=h(O),s*=h(O));var b=(o===i?-1:1)*h((a*a*(s*s)-a*a*(A*A)-s*s*(f*f))/(a*a*(A*A)+s*s*(f*f)))||0,w=b*a*A/s,_=b*-s*f/a,x=(e+n)/2+m(d)*w-p(d)*_,S=(t+r)/2+p(d)*w+m(d)*_,k=y([1,0],[(f-w)/a,(A-_)/s]),C=[(f-w)/a,(A-_)/s],B=[(-1*f-w)/a,(-1*A-_)/s],Q=y(C,B);if(v(C,B)<=-1&&(Q=g),v(C,B)>=1&&(Q=0),Q<0){var T=Math.round(Q/g*1e6)/1e6;Q=2*g+T%2*g}u.addData(c,x,S,a,s,k,Q,d,i)}var b=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,w=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.applyTransform=function(e){},t}(o.Ay);function x(e){return null!=e.setData}function S(e,t){var n=function(e){var t=new i.A;if(!e)return t;var n,r=0,o=0,a=r,s=o,l=i.A.CMD,c=e.match(b);if(!c)return t;for(var u=0;u<c.length;u++){for(var d=c[u],f=d.charAt(0),h=void 0,p=d.match(w)||[],m=p.length,g=0;g<m;g++)p[g]=parseFloat(p[g]);for(var A=0;A<m;){var v=void 0,y=void 0,_=void 0,x=void 0,S=void 0,k=void 0,C=void 0,B=r,Q=o,T=void 0,E=void 0;switch(f){case"l":r+=p[A++],o+=p[A++],h=l.L,t.addData(h,r,o);break;case"L":r=p[A++],o=p[A++],h=l.L,t.addData(h,r,o);break;case"m":r+=p[A++],o+=p[A++],h=l.M,t.addData(h,r,o),a=r,s=o,f="l";break;case"M":r=p[A++],o=p[A++],h=l.M,t.addData(h,r,o),a=r,s=o,f="L";break;case"h":r+=p[A++],h=l.L,t.addData(h,r,o);break;case"H":r=p[A++],h=l.L,t.addData(h,r,o);break;case"v":o+=p[A++],h=l.L,t.addData(h,r,o);break;case"V":o=p[A++],h=l.L,t.addData(h,r,o);break;case"C":h=l.C,t.addData(h,p[A++],p[A++],p[A++],p[A++],p[A++],p[A++]),r=p[A-2],o=p[A-1];break;case"c":h=l.C,t.addData(h,p[A++]+r,p[A++]+o,p[A++]+r,p[A++]+o,p[A++]+r,p[A++]+o),r+=p[A-2],o+=p[A-1];break;case"S":v=r,y=o,T=t.len(),E=t.data,n===l.C&&(v+=r-E[T-4],y+=o-E[T-3]),h=l.C,B=p[A++],Q=p[A++],r=p[A++],o=p[A++],t.addData(h,v,y,B,Q,r,o);break;case"s":v=r,y=o,T=t.len(),E=t.data,n===l.C&&(v+=r-E[T-4],y+=o-E[T-3]),h=l.C,B=r+p[A++],Q=o+p[A++],r+=p[A++],o+=p[A++],t.addData(h,v,y,B,Q,r,o);break;case"Q":B=p[A++],Q=p[A++],r=p[A++],o=p[A++],h=l.Q,t.addData(h,B,Q,r,o);break;case"q":B=p[A++]+r,Q=p[A++]+o,r+=p[A++],o+=p[A++],h=l.Q,t.addData(h,B,Q,r,o);break;case"T":v=r,y=o,T=t.len(),E=t.data,n===l.Q&&(v+=r-E[T-4],y+=o-E[T-3]),r=p[A++],o=p[A++],h=l.Q,t.addData(h,v,y,r,o);break;case"t":v=r,y=o,T=t.len(),E=t.data,n===l.Q&&(v+=r-E[T-4],y+=o-E[T-3]),r+=p[A++],o+=p[A++],h=l.Q,t.addData(h,v,y,r,o);break;case"A":_=p[A++],x=p[A++],S=p[A++],k=p[A++],C=p[A++],O(B=r,Q=o,r=p[A++],o=p[A++],k,C,_,x,S,h=l.A,t);break;case"a":_=p[A++],x=p[A++],S=p[A++],k=p[A++],C=p[A++],O(B=r,Q=o,r+=p[A++],o+=p[A++],k,C,_,x,S,h=l.A,t)}}"z"!==f&&"Z"!==f||(h=l.Z,t.addData(h),r=a,o=s),n=h}return t.toStatic(),t}(e),r=(0,f.extend)({},t);return r.buildPath=function(e){if(x(e))e.setData(n.data),(t=e.getContext())&&e.rebuildPath(t,1);else{var t=e;n.rebuildPath(t,1)}},r.applyTransform=function(e){d(n,e),this.dirtyShape()},r}function k(e,t){return new _(S(e,t))}function C(e,t){var n=S(e,t);return function(e){function t(t){var r=e.call(this,t)||this;return r.applyTransform=n.applyTransform,r.buildPath=n.buildPath,r}return(0,r.C6)(t,e),t}(_)}function B(e,t){for(var n=[],r=e.length,i=0;i<r;i++){var a=e[i];n.push(a.getUpdatedPathProxy(!0))}var s=new o.Ay(t);return s.createPathProxy(),s.buildPath=function(e){if(x(e)){e.appendPath(n);var t=e.getContext();t&&e.rebuildPath(t,1)}},s}function Q(e,t){t=t||{};var n=new o.Ay;return e.shape&&n.setShape(e.shape),n.setStyle(e.style),t.bakeTransform?d(n.path,e.getComputedTransform()):t.toLocal?n.setLocalTransform(e.getComputedTransform()):n.copyTransform(e),n.buildPath=e.buildPath,n.applyTransform=n.applyTransform,n.z=e.z,n.z2=e.z2,n.zlevel=e.zlevel,n}},99727:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r,o,i,a=n(84171),s=n(29008),l=a.A?function(e,t){return(0,a.A)(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:s.A,c=Date.now,u=(r=l,o=0,i=0,function(){var e=c(),t=16-(e-i);if(i=e,t>0){if(++o>=800)return arguments[0]}else o=0;return r.apply(void 0,arguments)})},99917:function(e,t,n){var r=n(658),o=n(16626);e.exports=function(e){var t=""+e,n=t.match(/^([-+]?)((\d+)|((\d+)?[.](\d+)?))e([-+]{1})([0-9]+)$/);if(n){var i=e<0?"-":"",a=n[3]||"",s=n[5]||"",l=n[6]||"",c=n[7],u=n[8],d=u-l.length,f=u-a.length,h=u-s.length;return"+"===c?a?i+a+r("0",u):d>0?i+s+l+r("0",d):i+s+o(l,u):a?f>0?i+"0."+r("0",Math.abs(f))+a:i+o(a,f):h>0?i+"0."+r("0",Math.abs(h))+s+l:i+o(s,h)+l}return t}}}]);