(()=>{var e={2171:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(8081),o=n.n(r),i=n(3645),s=n.n(i)()(o());s.push([e.id,".flex{display:flex;align-items:center}.missing{color:#f54c3e}.translations-summary{font-weight:600;font-size:1rem}",""]);const a=s},1427:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(8081),o=n.n(r),i=n(3645),s=n.n(i)()(o());s.push([e.id,".fade-enter-active[data-v-4e9e8cd2],.fade-leave-active[data-v-4e9e8cd2]{transition:opacity .5s}.fade-enter[data-v-4e9e8cd2],.fade-leave-to[data-v-4e9e8cd2]{opacity:0}",""]);const a=s},9645:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(8081),o=n.n(r),i=n(3645),s=n.n(i)()(o());s.push([e.id,".form-group[data-v-694a29cc]{overflow:hidden}.missing[data-v-694a29cc]{border:1px solid #f54c3e}",""]);const a=s},8079:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(8081),o=n.n(r),i=n(3645),s=n.n(i)()(o());s.push([e.id,".translationTree .tree-name{margin-bottom:.9375rem}.translationTree .tree-name.active{font-weight:bold}.translationTree .tree-name.extra{color:#f54c3e}.translationTree .tree-extra-label{color:#f54c3e;text-transform:uppercase;font-size:.65rem;margin-left:auto}.translationTree .tree-extra-label-mini{background-color:#f54c3e;color:#fff;padding:0 .5rem;border-radius:.75rem;display:inline-block;font-size:.75rem;height:1.5rem;margin-left:auto}.translationTree .tree-label:hover{color:#25b9d7}.ps-loader .animated-background{height:144px !important;animation-duration:2s !important}.ps-loader .background-masker.header-left{left:0;top:16px;height:108px;width:20px}.ps-loader .background-masker.content-top{left:0;top:16px;height:20px}.ps-loader .background-masker.content-first-end{left:0;top:52px;height:20px}.ps-loader .background-masker.content-second-end{left:0;top:88px;height:20px}.ps-loader .background-masker.content-third-end{left:0;top:124px;height:20px}",""]);const a=s},4642:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(8081),o=n.n(r),i=n(3645),s=n.n(i)()(o());s.push([e.id,".modal-header .close[data-v-3a8ca000]{font-size:1.2rem;color:#6c868e;opacity:1}.modal-content[data-v-3a8ca000]{border-radius:0}",""]);const a=s},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(r)for(var a=0;a0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},8081:e=>{"use strict";e.exports=function(e){return e[1]}},7187:e=>{"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&g(e,"error",t,n)}(e,o,{once:!0})}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var s=10;function a(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){var o,i,s,l;if(a(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),s=i[t]),void 0===s)s=i[t]=n,++e._eventsCount;else if("function"==typeof s?s=i[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(o=c(e))>0&&s.length>o&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,l=u,console&&console.warn&&console.warn(l)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=u.bind(r);return o.listener=n,r.wrapFn=o,o}function p(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)r(c,this,t);else{var l=c.length,u=h(c,l);for(n=0;n=0;i--)if(n[i]===t||n[i].listener===t){s=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},i.prototype.listeners=function(e){return p(this,e,!0)},i.prototype.rawListeners=function(e){return p(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},i.prototype.listenerCount=d,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},6486:function(e,t,n){var r; /** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */e=n.nmd(e),function(){var o,i="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",c=16,l=32,u=64,f=128,p=256,d=1/0,h=9007199254740991,g=NaN,m=4294967295,v=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",c],["flip",512],["partial",l],["partialRight",u],["rearg",p]],y="[object Arguments]",_="[object Array]",b="[object Boolean]",w="[object Date]",x="[object Error]",S="[object Function]",C="[object GeneratorFunction]",k="[object Map]",T="[object Number]",E="[object Object]",O="[object Promise]",P="[object RegExp]",$="[object Set]",A="[object String]",I="[object Symbol]",R="[object WeakMap]",N="[object ArrayBuffer]",M="[object DataView]",L="[object Float32Array]",j="[object Float64Array]",D="[object Int8Array]",F="[object Int16Array]",B="[object Int32Array]",V="[object Uint8Array]",U="[object Uint8ClampedArray]",z="[object Uint16Array]",W="[object Uint32Array]",q=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,Z=/[&<>"']/g,J=RegExp(K.source),Y=RegExp(Z.source),Q=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),se=/^\s+/,ae=/\s/,ce=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ge=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,ve=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,_e=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,Ce="\\ud800-\\udfff",ke="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Te="\\u2700-\\u27bf",Ee="a-z\\xdf-\\xf6\\xf8-\\xff",Oe="A-Z\\xc0-\\xd6\\xd8-\\xde",Pe="\\ufe0e\\ufe0f",$e="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ae="['’]",Ie="["+Ce+"]",Re="["+$e+"]",Ne="["+ke+"]",Me="\\d+",Le="["+Te+"]",je="["+Ee+"]",De="[^"+Ce+$e+Me+Te+Ee+Oe+"]",Fe="\\ud83c[\\udffb-\\udfff]",Be="[^"+Ce+"]",Ve="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+Oe+"]",We="\\u200d",qe="(?:"+je+"|"+De+")",He="(?:"+ze+"|"+De+")",Ge="(?:['’](?:d|ll|m|re|s|t|ve))?",Ke="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ze="(?:"+Ne+"|"+Fe+")"+"?",Je="["+Pe+"]?",Ye=Je+Ze+("(?:"+We+"(?:"+[Be,Ve,Ue].join("|")+")"+Je+Ze+")*"),Qe="(?:"+[Le,Ve,Ue].join("|")+")"+Ye,Xe="(?:"+[Be+Ne+"?",Ne,Ve,Ue,Ie].join("|")+")",et=RegExp(Ae,"g"),tt=RegExp(Ne,"g"),nt=RegExp(Fe+"(?="+Fe+")|"+Xe+Ye,"g"),rt=RegExp([ze+"?"+je+"+"+Ge+"(?="+[Re,ze,"$"].join("|")+")",He+"+"+Ke+"(?="+[Re,ze+qe,"$"].join("|")+")",ze+"?"+qe+"+"+Ge,ze+"+"+Ke,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Me,Qe].join("|"),"g"),ot=RegExp("["+We+Ce+ke+Pe+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,st=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,ct={};ct[L]=ct[j]=ct[D]=ct[F]=ct[B]=ct[V]=ct[U]=ct[z]=ct[W]=!0,ct[y]=ct[_]=ct[N]=ct[b]=ct[M]=ct[w]=ct[x]=ct[S]=ct[k]=ct[T]=ct[E]=ct[P]=ct[$]=ct[A]=ct[R]=!1;var lt={};lt[y]=lt[_]=lt[N]=lt[M]=lt[b]=lt[w]=lt[L]=lt[j]=lt[D]=lt[F]=lt[B]=lt[k]=lt[T]=lt[E]=lt[P]=lt[$]=lt[A]=lt[I]=lt[V]=lt[U]=lt[z]=lt[W]=!0,lt[x]=lt[S]=lt[R]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,pt=parseInt,dt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ht="object"==typeof self&&self&&self.Object===Object&&self,gt=dt||ht||Function("return this")(),mt=t&&!t.nodeType&&t,vt=mt&&e&&!e.nodeType&&e,yt=vt&&vt.exports===mt,_t=yt&&dt.process,bt=function(){try{var e=vt&&vt.require&&vt.require("util").types;return e||_t&&_t.binding&&_t.binding("util")}catch(e){}}(),wt=bt&&bt.isArrayBuffer,xt=bt&&bt.isDate,St=bt&&bt.isMap,Ct=bt&&bt.isRegExp,kt=bt&&bt.isSet,Tt=bt&&bt.isTypedArray;function Et(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)}function Ot(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function Nt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function rn(e,t){for(var n=e.length;n--&&zt(t,e[n],0)>-1;);return n}function on(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var sn=Kt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),an=Kt({"&":"&","<":"<",">":">",'"':""","'":"'"});function cn(e){return"\\"+ut[e]}function ln(e){return ot.test(e)}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function fn(e,t){return function(n){return e(t(n))}}function pn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"});var _n=function e(t){var n,r=(t=null==t?gt:_n.defaults(gt.Object(),t,_n.pick(gt,st))).Array,ae=t.Date,Ce=t.Error,ke=t.Function,Te=t.Math,Ee=t.Object,Oe=t.RegExp,Pe=t.String,$e=t.TypeError,Ae=r.prototype,Ie=ke.prototype,Re=Ee.prototype,Ne=t["__core-js_shared__"],Me=Ie.toString,Le=Re.hasOwnProperty,je=0,De=(n=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Fe=Re.toString,Be=Me.call(Ee),Ve=gt._,Ue=Oe("^"+Me.call(Le).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ze=yt?t.Buffer:o,We=t.Symbol,qe=t.Uint8Array,He=ze?ze.allocUnsafe:o,Ge=fn(Ee.getPrototypeOf,Ee),Ke=Ee.create,Ze=Re.propertyIsEnumerable,Je=Ae.splice,Ye=We?We.isConcatSpreadable:o,Qe=We?We.iterator:o,Xe=We?We.toStringTag:o,nt=function(){try{var e=hi(Ee,"defineProperty");return e({},"",{}),e}catch(e){}}(),ot=t.clearTimeout!==gt.clearTimeout&&t.clearTimeout,ut=ae&&ae.now!==gt.Date.now&&ae.now,dt=t.setTimeout!==gt.setTimeout&&t.setTimeout,ht=Te.ceil,mt=Te.floor,vt=Ee.getOwnPropertySymbols,_t=ze?ze.isBuffer:o,bt=t.isFinite,Bt=Ae.join,Kt=fn(Ee.keys,Ee),bn=Te.max,wn=Te.min,xn=ae.now,Sn=t.parseInt,Cn=Te.random,kn=Ae.reverse,Tn=hi(t,"DataView"),En=hi(t,"Map"),On=hi(t,"Promise"),Pn=hi(t,"Set"),$n=hi(t,"WeakMap"),An=hi(Ee,"create"),In=$n&&new $n,Rn={},Nn=Vi(Tn),Mn=Vi(En),Ln=Vi(On),jn=Vi(Pn),Dn=Vi($n),Fn=We?We.prototype:o,Bn=Fn?Fn.valueOf:o,Vn=Fn?Fn.toString:o;function Un(e){if(oa(e)&&!Gs(e)&&!(e instanceof Hn)){if(e instanceof qn)return e;if(Le.call(e,"__wrapped__"))return Ui(e)}return new qn(e)}var zn=function(){function e(){}return function(t){if(!ra(t))return{};if(Ke)return Ke(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Wn(){}function qn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Hn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function ur(e,t,n,r,i,s){var a,c=1&t,l=2&t,u=4&t;if(n&&(a=i?n(e,r,i,s):n(e)),a!==o)return a;if(!ra(e))return e;var f=Gs(e);if(f){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return Io(e,a)}else{var p=vi(e),d=p==S||p==C;if(Ys(e))return To(e,c);if(p==E||p==y||d&&!i){if(a=l||d?{}:_i(e),!c)return l?function(e,t){return Ro(e,mi(e),t)}(e,function(e,t){return e&&Ro(t,Ma(t),e)}(a,e)):function(e,t){return Ro(e,gi(e),t)}(e,sr(a,e))}else{if(!lt[p])return i?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case N:return Eo(e);case b:case w:return new r(+e);case M:return function(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case j:case D:case F:case B:case V:case U:case z:case W:return Oo(e,n);case k:return new r;case T:case A:return new r(e);case P:return function(e){var t=new e.constructor(e.source,ge.exec(e));return t.lastIndex=e.lastIndex,t}(e);case $:return new r;case I:return o=e,Bn?Ee(Bn.call(o)):{}}var o}(e,p,c)}}s||(s=new Yn);var h=s.get(e);if(h)return h;s.set(e,a),la(e)?e.forEach((function(r){a.add(ur(r,t,n,r,e,s))})):ia(e)&&e.forEach((function(r,o){a.set(o,ur(r,t,n,o,e,s))}));var g=f?o:(u?l?ai:si:l?Ma:Na)(e);return Pt(g||e,(function(r,o){g&&(r=e[o=r]),rr(a,o,ur(r,t,n,o,e,s))})),a}function fr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ee(e);r--;){var i=n[r],s=t[i],a=e[i];if(a===o&&!(i in e)||!s(a))return!1}return!0}function pr(e,t,n){if("function"!=typeof e)throw new $e(i);return Ni((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Rt,s=!0,a=e.length,c=[],l=t.length;if(!a)return c;n&&(t=Mt(t,Xt(n))),r?(i=Nt,s=!1):t.length>=200&&(i=tn,s=!1,t=new Jn(t));e:for(;++o-1},Kn.prototype.set=function(e,t){var n=this.__data__,r=or(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Zn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(En||Kn),string:new Gn}},Zn.prototype.delete=function(e){var t=pi(this,e).delete(e);return this.size-=t?1:0,t},Zn.prototype.get=function(e){return pi(this,e).get(e)},Zn.prototype.has=function(e){return pi(this,e).has(e)},Zn.prototype.set=function(e,t){var n=pi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Jn.prototype.add=Jn.prototype.push=function(e){return this.__data__.set(e,s),this},Jn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.clear=function(){this.__data__=new Kn,this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Yn.prototype.get=function(e){return this.__data__.get(e)},Yn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Kn){var r=n.__data__;if(!En||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Zn(r)}return n.set(e,t),this.size=n.size,this};var hr=Lo(xr),gr=Lo(Sr,!0);function mr(e,t){var n=!0;return hr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function vr(e,t,n){for(var r=-1,i=e.length;++r0&&n(a)?t>1?_r(a,t-1,n,r,o):Lt(o,a):r||(o[o.length]=a)}return o}var br=jo(),wr=jo(!0);function xr(e,t){return e&&br(e,t,Na)}function Sr(e,t){return e&&wr(e,t,Na)}function Cr(e,t){return It(t,(function(t){return ea(e[t])}))}function kr(e,t){for(var n=0,r=(t=xo(t,e)).length;null!=e&&nt}function Pr(e,t){return null!=e&&Le.call(e,t)}function $r(e,t){return null!=e&&t in Ee(e)}function Ar(e,t,n){for(var i=n?Nt:Rt,s=e[0].length,a=e.length,c=a,l=r(a),u=1/0,f=[];c--;){var p=e[c];c&&t&&(p=Mt(p,Xt(t))),u=wn(p.length,u),l[c]=!n&&(t||s>=120&&p.length>=120)?new Jn(c&&p):o}p=e[0];var d=-1,h=l[0];e:for(;++d=a?c:c*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Gr(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)a!==e&&Je.call(a,c,1),Je.call(e,c,1);return e}function Zr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;wi(o)?Je.call(e,o,1):ho(e,o)}}return e}function Jr(e,t){return e+mt(Cn()*(t-e+1))}function Yr(e,t){var n="";if(!e||t<1||t>h)return n;do{t%2&&(n+=e),(t=mt(t/2))&&(e+=e)}while(t);return n}function Qr(e,t){return Mi(Pi(e,t,sc),e+"")}function Xr(e){return Xn(za(e))}function eo(e,t){var n=za(e);return Di(n,lr(t,0,n.length))}function to(e,t,n,r){if(!ra(e))return e;for(var i=-1,s=(t=xo(t,e)).length,a=s-1,c=e;null!=c&&++ii?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=r(i);++o>>1,s=e[i];null!==s&&!fa(s)&&(n?s<=t:s=200){var l=t?null:Qo(e);if(l)return dn(l);s=!1,o=tn,c=new Jn}else c=t?[]:a;e:for(;++r=r?e:io(e,t,n)}var ko=ot||function(e){return gt.clearTimeout(e)};function To(e,t){if(t)return e.slice();var n=e.length,r=He?He(n):new e.constructor(n);return e.copy(r),r}function Eo(e){var t=new e.constructor(e.byteLength);return new qe(t).set(new qe(e)),t}function Oo(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Po(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,s=fa(e),a=t!==o,c=null===t,l=t==t,u=fa(t);if(!c&&!u&&!s&&e>t||s&&a&&l&&!c&&!u||r&&a&&l||!n&&l||!i)return 1;if(!r&&!s&&!u&&e1?n[i-1]:o,a=i>2?n[2]:o;for(s=e.length>3&&"function"==typeof s?(i--,s):o,a&&xi(n[0],n[1],a)&&(s=i<3?o:s,i=1),t=Ee(t);++r-1?i[s?t[a]:a]:o}}function Uo(e){return ii((function(t){var n=t.length,r=n,s=qn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new $e(i);if(s&&!c&&"wrapper"==li(a))var c=new qn([],!0)}for(r=c?r:n;++r1&&_.reverse(),d&&uc))return!1;var u=s.get(e),f=s.get(t);if(u&&f)return u==t&&f==e;var p=-1,d=!0,h=2&n?new Jn:o;for(s.set(e,t),s.set(t,e);++p-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ce,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Pt(v,(function(n){var r="_."+n[0];t&n[1]&&!Rt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(ue):[]}(r),n)))}function ji(e){var t=0,n=0;return function(){var r=xn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Di(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,cs(e,n)}));function gs(e){var t=Un(e);return t.__chain__=!0,t}function ms(e,t){return t(e)}var vs=ii((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return cr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Hn&&wi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ms,args:[i],thisArg:o}),new qn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ys=No((function(e,t,n){Le.call(e,n)?++e[n]:ar(e,n,1)}));var _s=Vo(Hi),bs=Vo(Gi);function ws(e,t){return(Gs(e)?Pt:hr)(e,fi(t,3))}function xs(e,t){return(Gs(e)?$t:gr)(e,fi(t,3))}var Ss=No((function(e,t,n){Le.call(e,n)?e[n].push(t):ar(e,n,[t])}));var Cs=Qr((function(e,t,n){var o=-1,i="function"==typeof t,s=Zs(e)?r(e.length):[];return hr(e,(function(e){s[++o]=i?Et(t,e,n):Ir(e,t,n)})),s})),ks=No((function(e,t,n){ar(e,n,t)}));function Ts(e,t){return(Gs(e)?Mt:Vr)(e,fi(t,3))}var Es=No((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Os=Qr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&xi(e,t[0],t[1])?t=[]:n>2&&xi(t[0],t[1],t[2])&&(t=[t[0]]),Hr(e,_r(t,1),[])})),Ps=ut||function(){return gt.Date.now()};function $s(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,ei(e,f,o,o,o,o,t)}function As(e,t){var n;if("function"!=typeof t)throw new $e(i);return e=va(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Is=Qr((function(e,t,n){var r=1;if(n.length){var o=pn(n,ui(Is));r|=l}return ei(e,r,t,n,o)})),Rs=Qr((function(e,t,n){var r=3;if(n.length){var o=pn(n,ui(Rs));r|=l}return ei(t,r,e,n,o)}));function Ns(e,t,n){var r,s,a,c,l,u,f=0,p=!1,d=!1,h=!0;if("function"!=typeof e)throw new $e(i);function g(t){var n=r,i=s;return r=s=o,f=t,c=e.apply(i,n)}function m(e){return f=e,l=Ni(y,t),p?g(e):c}function v(e){var n=e-u;return u===o||n>=t||n<0||d&&e-f>=a}function y(){var e=Ps();if(v(e))return _(e);l=Ni(y,function(e){var n=t-(e-u);return d?wn(n,a-(e-f)):n}(e))}function _(e){return l=o,h&&r?g(e):(r=s=o,c)}function b(){var e=Ps(),n=v(e);if(r=arguments,s=this,u=e,n){if(l===o)return m(u);if(d)return ko(l),l=Ni(y,t),g(u)}return l===o&&(l=Ni(y,t)),c}return t=_a(t)||0,ra(n)&&(p=!!n.leading,a=(d="maxWait"in n)?bn(_a(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h),b.cancel=function(){l!==o&&ko(l),f=0,r=u=s=l=o},b.flush=function(){return l===o?c:_(Ps())},b}var Ms=Qr((function(e,t){return pr(e,1,t)})),Ls=Qr((function(e,t,n){return pr(e,_a(t)||0,n)}));function js(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new $e(i);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 s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(js.Cache||Zn),n}function Ds(e){if("function"!=typeof e)throw new $e(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}js.Cache=Zn;var Fs=So((function(e,t){var n=(t=1==t.length&&Gs(t[0])?Mt(t[0],Xt(fi())):Mt(_r(t,1),Xt(fi()))).length;return Qr((function(r){for(var o=-1,i=wn(r.length,n);++o=t})),Hs=Rr(function(){return arguments}())?Rr:function(e){return oa(e)&&Le.call(e,"callee")&&!Ze.call(e,"callee")},Gs=r.isArray,Ks=wt?Xt(wt):function(e){return oa(e)&&Er(e)==N};function Zs(e){return null!=e&&na(e.length)&&!ea(e)}function Js(e){return oa(e)&&Zs(e)}var Ys=_t||_c,Qs=xt?Xt(xt):function(e){return oa(e)&&Er(e)==w};function Xs(e){if(!oa(e))return!1;var t=Er(e);return t==x||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!aa(e)}function ea(e){if(!ra(e))return!1;var t=Er(e);return t==S||t==C||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ta(e){return"number"==typeof e&&e==va(e)}function na(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function ra(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function oa(e){return null!=e&&"object"==typeof e}var ia=St?Xt(St):function(e){return oa(e)&&vi(e)==k};function sa(e){return"number"==typeof e||oa(e)&&Er(e)==T}function aa(e){if(!oa(e)||Er(e)!=E)return!1;var t=Ge(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Me.call(n)==Be}var ca=Ct?Xt(Ct):function(e){return oa(e)&&Er(e)==P};var la=kt?Xt(kt):function(e){return oa(e)&&vi(e)==$};function ua(e){return"string"==typeof e||!Gs(e)&&oa(e)&&Er(e)==A}function fa(e){return"symbol"==typeof e||oa(e)&&Er(e)==I}var pa=Tt?Xt(Tt):function(e){return oa(e)&&na(e.length)&&!!ct[Er(e)]};var da=Zo(Br),ha=Zo((function(e,t){return e<=t}));function ga(e){if(!e)return[];if(Zs(e))return ua(e)?mn(e):Io(e);if(Qe&&e[Qe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Qe]());var t=vi(e);return(t==k?un:t==$?dn:za)(e)}function ma(e){return e?(e=_a(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function va(e){var t=ma(e),n=t%1;return t==t?n?t-n:t:0}function ya(e){return e?lr(va(e),0,m):0}function _a(e){if("number"==typeof e)return e;if(fa(e))return g;if(ra(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ra(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Qt(e);var n=ve.test(e);return n||_e.test(e)?pt(e.slice(2),n?2:8):me.test(e)?g:+e}function ba(e){return Ro(e,Ma(e))}function wa(e){return null==e?"":fo(e)}var xa=Mo((function(e,t){if(Ti(t)||Zs(t))Ro(t,Na(t),e);else for(var n in t)Le.call(t,n)&&rr(e,n,t[n])})),Sa=Mo((function(e,t){Ro(t,Ma(t),e)})),Ca=Mo((function(e,t,n,r){Ro(t,Ma(t),e,r)})),ka=Mo((function(e,t,n,r){Ro(t,Na(t),e,r)})),Ta=ii(cr);var Ea=Qr((function(e,t){e=Ee(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&xi(t[0],t[1],i)&&(r=1);++n1),t})),Ro(e,ai(e),n),r&&(n=ur(n,7,ri));for(var o=t.length;o--;)ho(n,t[o]);return n}));var Fa=ii((function(e,t){return null==e?{}:function(e,t){return Gr(e,t,(function(t,n){return $a(e,n)}))}(e,t)}));function Ba(e,t){if(null==e)return{};var n=Mt(ai(e),(function(e){return[e]}));return t=fi(t),Gr(e,n,(function(e,n){return t(e,n[0])}))}var Va=Xo(Na),Ua=Xo(Ma);function za(e){return null==e?[]:en(e,Na(e))}var Wa=Fo((function(e,t,n){return t=t.toLowerCase(),e+(n?qa(t):t)}));function qa(e){return Xa(wa(e).toLowerCase())}function Ha(e){return(e=wa(e))&&e.replace(we,sn).replace(tt,"")}var Ga=Fo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ka=Fo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Za=Do("toLowerCase");var Ja=Fo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ya=Fo((function(e,t,n){return e+(n?" ":"")+Xa(t)}));var Qa=Fo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Xa=Do("toUpperCase");function ec(e,t,n){return e=wa(e),(t=n?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var tc=Qr((function(e,t){try{return Et(e,o,t)}catch(e){return Xs(e)?e:new Ce(e)}})),nc=ii((function(e,t){return Pt(t,(function(t){t=Bi(t),ar(e,t,Is(e[t],e))})),e}));function rc(e){return function(){return e}}var oc=Uo(),ic=Uo(!0);function sc(e){return e}function ac(e){return jr("function"==typeof e?e:ur(e,1))}var cc=Qr((function(e,t){return function(n){return Ir(n,e,t)}})),lc=Qr((function(e,t){return function(n){return Ir(e,n,t)}}));function uc(e,t,n){var r=Na(t),o=Cr(t,r);null!=n||ra(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Cr(t,Na(t)));var i=!(ra(n)&&"chain"in n&&!n.chain),s=ea(e);return Pt(o,(function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=Io(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Lt([this.value()],arguments))})})),e}function fc(){}var pc=Ho(Mt),dc=Ho(At),hc=Ho(Ft);function gc(e){return Si(e)?Gt(Bi(e)):function(e){return function(t){return kr(t,e)}}(e)}var mc=Ko(),vc=Ko(!0);function yc(){return[]}function _c(){return!1}var bc=qo((function(e,t){return e+t}),0),wc=Yo("ceil"),xc=qo((function(e,t){return e/t}),1),Sc=Yo("floor");var Cc,kc=qo((function(e,t){return e*t}),1),Tc=Yo("round"),Ec=qo((function(e,t){return e-t}),0);return Un.after=function(e,t){if("function"!=typeof t)throw new $e(i);return e=va(e),function(){if(--e<1)return t.apply(this,arguments)}},Un.ary=$s,Un.assign=xa,Un.assignIn=Sa,Un.assignInWith=Ca,Un.assignWith=ka,Un.at=Ta,Un.before=As,Un.bind=Is,Un.bindAll=nc,Un.bindKey=Rs,Un.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Gs(e)?e:[e]},Un.chain=gs,Un.chunk=function(e,t,n){t=(n?xi(e,t,n):t===o)?1:bn(va(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var s=0,a=0,c=r(ht(i/t));si?0:i+n),(r=r===o||r>i?i:va(r))<0&&(r+=i),r=n>r?0:ya(r);n>>0)?(e=wa(e))&&("string"==typeof t||null!=t&&!ca(t))&&!(t=fo(t))&&ln(e)?Co(mn(e),0,n):e.split(t,n):[]},Un.spread=function(e,t){if("function"!=typeof e)throw new $e(i);return t=null==t?0:bn(va(t),0),Qr((function(n){var r=n[t],o=Co(n,0,t);return r&&Lt(o,r),Et(e,this,o)}))},Un.tail=function(e){var t=null==e?0:e.length;return t?io(e,1,t):[]},Un.take=function(e,t,n){return e&&e.length?io(e,0,(t=n||t===o?1:va(t))<0?0:t):[]},Un.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?io(e,(t=r-(t=n||t===o?1:va(t)))<0?0:t,r):[]},Un.takeRightWhile=function(e,t){return e&&e.length?mo(e,fi(t,3),!1,!0):[]},Un.takeWhile=function(e,t){return e&&e.length?mo(e,fi(t,3)):[]},Un.tap=function(e,t){return t(e),e},Un.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new $e(i);return ra(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ns(e,t,{leading:r,maxWait:t,trailing:o})},Un.thru=ms,Un.toArray=ga,Un.toPairs=Va,Un.toPairsIn=Ua,Un.toPath=function(e){return Gs(e)?Mt(e,Bi):fa(e)?[e]:Io(Fi(wa(e)))},Un.toPlainObject=ba,Un.transform=function(e,t,n){var r=Gs(e),o=r||Ys(e)||pa(e);if(t=fi(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:ra(e)&&ea(i)?zn(Ge(e)):{}}return(o?Pt:xr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Un.unary=function(e){return $s(e,1)},Un.union=os,Un.unionBy=is,Un.unionWith=ss,Un.uniq=function(e){return e&&e.length?po(e):[]},Un.uniqBy=function(e,t){return e&&e.length?po(e,fi(t,2)):[]},Un.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?po(e,o,t):[]},Un.unset=function(e,t){return null==e||ho(e,t)},Un.unzip=as,Un.unzipWith=cs,Un.update=function(e,t,n){return null==e?e:go(e,t,wo(n))},Un.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:go(e,t,wo(n),r)},Un.values=za,Un.valuesIn=function(e){return null==e?[]:en(e,Ma(e))},Un.without=ls,Un.words=ec,Un.wrap=function(e,t){return Bs(wo(t),e)},Un.xor=us,Un.xorBy=fs,Un.xorWith=ps,Un.zip=ds,Un.zipObject=function(e,t){return _o(e||[],t||[],rr)},Un.zipObjectDeep=function(e,t){return _o(e||[],t||[],to)},Un.zipWith=hs,Un.entries=Va,Un.entriesIn=Ua,Un.extend=Sa,Un.extendWith=Ca,uc(Un,Un),Un.add=bc,Un.attempt=tc,Un.camelCase=Wa,Un.capitalize=qa,Un.ceil=wc,Un.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=_a(n))==n?n:0),t!==o&&(t=(t=_a(t))==t?t:0),lr(_a(e),t,n)},Un.clone=function(e){return ur(e,4)},Un.cloneDeep=function(e){return ur(e,5)},Un.cloneDeepWith=function(e,t){return ur(e,5,t="function"==typeof t?t:o)},Un.cloneWith=function(e,t){return ur(e,4,t="function"==typeof t?t:o)},Un.conformsTo=function(e,t){return null==t||fr(e,t,Na(t))},Un.deburr=Ha,Un.defaultTo=function(e,t){return null==e||e!=e?t:e},Un.divide=xc,Un.endsWith=function(e,t,n){e=wa(e),t=fo(t);var r=e.length,i=n=n===o?r:lr(va(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Un.eq=zs,Un.escape=function(e){return(e=wa(e))&&Y.test(e)?e.replace(Z,an):e},Un.escapeRegExp=function(e){return(e=wa(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Un.every=function(e,t,n){var r=Gs(e)?At:mr;return n&&xi(e,t,n)&&(t=o),r(e,fi(t,3))},Un.find=_s,Un.findIndex=Hi,Un.findKey=function(e,t){return Vt(e,fi(t,3),xr)},Un.findLast=bs,Un.findLastIndex=Gi,Un.findLastKey=function(e,t){return Vt(e,fi(t,3),Sr)},Un.floor=Sc,Un.forEach=ws,Un.forEachRight=xs,Un.forIn=function(e,t){return null==e?e:br(e,fi(t,3),Ma)},Un.forInRight=function(e,t){return null==e?e:wr(e,fi(t,3),Ma)},Un.forOwn=function(e,t){return e&&xr(e,fi(t,3))},Un.forOwnRight=function(e,t){return e&&Sr(e,fi(t,3))},Un.get=Pa,Un.gt=Ws,Un.gte=qs,Un.has=function(e,t){return null!=e&&yi(e,t,Pr)},Un.hasIn=$a,Un.head=Zi,Un.identity=sc,Un.includes=function(e,t,n,r){e=Zs(e)?e:za(e),n=n&&!r?va(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),ua(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&zt(e,t,n)>-1},Un.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:va(n);return o<0&&(o=bn(r+o,0)),zt(e,t,o)},Un.inRange=function(e,t,n){return t=ma(t),n===o?(n=t,t=0):n=ma(n),function(e,t,n){return e>=wn(t,n)&&e=-9007199254740991&&e<=h},Un.isSet=la,Un.isString=ua,Un.isSymbol=fa,Un.isTypedArray=pa,Un.isUndefined=function(e){return e===o},Un.isWeakMap=function(e){return oa(e)&&vi(e)==R},Un.isWeakSet=function(e){return oa(e)&&"[object WeakSet]"==Er(e)},Un.join=function(e,t){return null==e?"":Bt.call(e,t)},Un.kebabCase=Ga,Un.last=Xi,Un.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=va(n))<0?bn(r+i,0):wn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ut(e,qt,i,!0)},Un.lowerCase=Ka,Un.lowerFirst=Za,Un.lt=da,Un.lte=ha,Un.max=function(e){return e&&e.length?vr(e,sc,Or):o},Un.maxBy=function(e,t){return e&&e.length?vr(e,fi(t,2),Or):o},Un.mean=function(e){return Ht(e,sc)},Un.meanBy=function(e,t){return Ht(e,fi(t,2))},Un.min=function(e){return e&&e.length?vr(e,sc,Br):o},Un.minBy=function(e,t){return e&&e.length?vr(e,fi(t,2),Br):o},Un.stubArray=yc,Un.stubFalse=_c,Un.stubObject=function(){return{}},Un.stubString=function(){return""},Un.stubTrue=function(){return!0},Un.multiply=kc,Un.nth=function(e,t){return e&&e.length?qr(e,va(t)):o},Un.noConflict=function(){return gt._===this&&(gt._=Ve),this},Un.noop=fc,Un.now=Ps,Un.pad=function(e,t,n){e=wa(e);var r=(t=va(t))?gn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Go(mt(o),n)+e+Go(ht(o),n)},Un.padEnd=function(e,t,n){e=wa(e);var r=(t=va(t))?gn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Cn();return wn(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Jr(e,t)},Un.reduce=function(e,t,n){var r=Gs(e)?jt:Zt,o=arguments.length<3;return r(e,fi(t,4),n,o,hr)},Un.reduceRight=function(e,t,n){var r=Gs(e)?Dt:Zt,o=arguments.length<3;return r(e,fi(t,4),n,o,gr)},Un.repeat=function(e,t,n){return t=(n?xi(e,t,n):t===o)?1:va(t),Yr(wa(e),t)},Un.replace=function(){var e=arguments,t=wa(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Un.result=function(e,t,n){var r=-1,i=(t=xo(t,e)).length;for(i||(i=1,e=o);++rh)return[];var n=m,r=wn(e,m);t=fi(t),e-=m;for(var o=Yt(r,t);++n=s)return e;var c=n-gn(r);if(c<1)return r;var l=a?Co(a,0,c).join(""):e.slice(0,c);if(i===o)return l+r;if(a&&(c+=l.length-c),ca(i)){if(e.slice(c).search(i)){var u,f=l;for(i.global||(i=Oe(i.source,wa(ge.exec(i))+"g")),i.lastIndex=0;u=i.exec(f);)var p=u.index;l=l.slice(0,p===o?c:p)}}else if(e.indexOf(fo(i),c)!=c){var d=l.lastIndexOf(i);d>-1&&(l=l.slice(0,d))}return l+r},Un.unescape=function(e){return(e=wa(e))&&J.test(e)?e.replace(K,yn):e},Un.uniqueId=function(e){var t=++je;return wa(e)+t},Un.upperCase=Qa,Un.upperFirst=Xa,Un.each=ws,Un.eachRight=xs,Un.first=Zi,uc(Un,(Cc={},xr(Un,(function(e,t){Le.call(Un.prototype,t)||(Cc[t]=e)})),Cc),{chain:!1}),Un.VERSION="4.17.21",Pt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Un[e].placeholder=Un})),Pt(["drop","take"],(function(e,t){Hn.prototype[e]=function(n){n=n===o?1:bn(va(n),0);var r=this.__filtered__&&!t?new Hn(this):this.clone();return r.__filtered__?r.__takeCount__=wn(n,r.__takeCount__):r.__views__.push({size:wn(n,m),type:e+(r.__dir__<0?"Right":"")}),r},Hn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Pt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Hn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:fi(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Pt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Hn.prototype[e]=function(){return this[n](1).value()[0]}})),Pt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Hn.prototype[e]=function(){return this.__filtered__?new Hn(this):this[n](1)}})),Hn.prototype.compact=function(){return this.filter(sc)},Hn.prototype.find=function(e){return this.filter(e).head()},Hn.prototype.findLast=function(e){return this.reverse().find(e)},Hn.prototype.invokeMap=Qr((function(e,t){return"function"==typeof e?new Hn(this):this.map((function(n){return Ir(n,e,t)}))})),Hn.prototype.reject=function(e){return this.filter(Ds(fi(e)))},Hn.prototype.slice=function(e,t){e=va(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Hn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=va(t))<0?n.dropRight(-t):n.take(t-e)),n)},Hn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Hn.prototype.toArray=function(){return this.take(m)},xr(Hn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Un[r?"take"+("last"==t?"Right":""):t],s=r||/^find/.test(t);i&&(Un.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,c=t instanceof Hn,l=a[0],u=c||Gs(t),f=function(e){var t=i.apply(Un,Lt([e],a));return r&&p?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var p=this.__chain__,d=!!this.__actions__.length,h=s&&!p,g=c&&!d;if(!s&&u){t=g?t:new Hn(this);var m=e.apply(t,a);return m.__actions__.push({func:ms,args:[f],thisArg:o}),new qn(m,p)}return h&&g?e.apply(this,a):(m=this.thru(f),h?r?m.value()[0]:m.value():m)})})),Pt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ae[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Un.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Gs(o)?o:[],e)}return this[n]((function(n){return t.apply(Gs(n)?n:[],e)}))}})),xr(Hn.prototype,(function(e,t){var n=Un[t];if(n){var r=n.name+"";Le.call(Rn,r)||(Rn[r]=[]),Rn[r].push({name:t,func:n})}})),Rn[zo(o,2).name]=[{name:"wrapper",func:o}],Hn.prototype.clone=function(){var e=new Hn(this.__wrapped__);return e.__actions__=Io(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Io(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Io(this.__views__),e},Hn.prototype.reverse=function(){if(this.__filtered__){var e=new Hn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Hn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Gs(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Un.prototype.plant=function(e){for(var t,n=this;n instanceof Wn;){var r=Ui(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Un.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Hn){var t=e;return this.__actions__.length&&(t=new Hn(this)),(t=t.reverse()).__actions__.push({func:ms,args:[rs],thisArg:o}),new qn(t,this.__chain__)}return this.thru(rs)},Un.prototype.toJSON=Un.prototype.valueOf=Un.prototype.value=function(){return vo(this.__wrapped__,this.__actions__)},Un.prototype.first=Un.prototype.head,Qe&&(Un.prototype[Qe]=function(){return this}),Un}();gt._=_n,(r=function(){return _n}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},3744:(e,t)=>{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n}},4790:(e,t,n)=>{var r=n(2171);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("0c883026",r,!1,{})},1704:(e,t,n)=>{var r=n(1427);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("07ba24d8",r,!1,{})},3655:(e,t,n)=>{var r=n(9645);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("435913cb",r,!1,{})},3605:(e,t,n)=>{var r=n(8079);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("2dc284d4",r,!1,{})},3824:(e,t,n)=>{var r=n(4642);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("30d39d0c",r,!1,{})},5346:(e,t,n)=>{"use strict";function r(e,t){for(var n=[],r={},o=0;oh});var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},s=o&&(document.head||document.getElementsByTagName("head")[0]),a=null,c=0,l=!1,u=function(){},f=null,p="data-vue-ssr-id",d="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,o){l=n,f=o||{};var s=r(e,t);return g(s),function(t){for(var n=[],o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(o=0;o{"use strict";e.exports=window.jQuery}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(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.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r={};(()=>{"use strict";n.r(r),n.d(r,{default:()=>um});var e={};n.r(e),n.d(e,{BaseTransition:()=>lr,Comment:()=>Qo,EffectScope:()=>ce,Fragment:()=>Jo,KeepAlive:()=>wr,ReactiveEffect:()=>xe,Static:()=>Xo,Suspense:()=>zn,Teleport:()=>Ko,Text:()=>Yo,Transition:()=>Bs,TransitionGroup:()=>ia,VueElement:()=>Rs,callWithAsyncErrorHandling:()=>tn,callWithErrorHandling:()=>en,camelize:()=>Y,capitalize:()=>ee,cloneVNode:()=>bi,compatUtils:()=>gs,computed:()=>Zi,createApp:()=>ja,createBlock:()=>li,createCommentVNode:()=>Si,createElementBlock:()=>ci,createElementVNode:()=>mi,createHydrationRenderer:()=>Bo,createPropsRestProxy:()=>os,createRenderer:()=>Fo,createSSRApp:()=>Da,createSlots:()=>Yr,createStaticVNode:()=>xi,createTextVNode:()=>wi,createVNode:()=>vi,customRef:()=>Gt,defineAsyncComponent:()=>yr,defineComponent:()=>mr,defineCustomElement:()=>$s,defineEmits:()=>Yi,defineExpose:()=>Qi,defineProps:()=>Ji,defineSSRCustomElement:()=>As,devtools:()=>xn,effect:()=>Ce,effectScope:()=>le,getCurrentInstance:()=>Ri,getCurrentScope:()=>fe,getTransitionRawChildren:()=>gr,guardReactiveProps:()=>_i,h:()=>ss,handleError:()=>nn,hydrate:()=>La,initCustomFormatter:()=>ls,initDirectivesForSSR:()=>Va,inject:()=>Jn,isMemoSame:()=>fs,isProxy:()=>$t,isReactive:()=>Et,isReadonly:()=>Ot,isRef:()=>jt,isRuntimeOnly:()=>zi,isShallow:()=>Pt,isVNode:()=>ui,markRaw:()=>It,mergeDefaults:()=>rs,mergeProps:()=>Ei,nextTick:()=>dn,normalizeClass:()=>f,normalizeProps:()=>p,normalizeStyle:()=>s,onActivated:()=>Sr,onBeforeMount:()=>Ar,onBeforeUnmount:()=>Mr,onBeforeUpdate:()=>Rr,onDeactivated:()=>Cr,onErrorCaptured:()=>Br,onMounted:()=>Ir,onRenderTracked:()=>Fr,onRenderTriggered:()=>Dr,onScopeDispose:()=>pe,onServerPrefetch:()=>jr,onUnmounted:()=>Lr,onUpdated:()=>Nr,openBlock:()=>ni,popScopeId:()=>Rn,provide:()=>Zn,proxyRefs:()=>qt,pushScopeId:()=>In,queuePostFlushCb:()=>mn,reactive:()=>xt,readonly:()=>Ct,ref:()=>Dt,registerRuntimeCompiler:()=>Ui,render:()=>Ma,renderList:()=>Jr,renderSlot:()=>Qr,resolveComponent:()=>Wr,resolveDirective:()=>Gr,resolveDynamicComponent:()=>Hr,resolveFilter:()=>hs,resolveTransitionHooks:()=>fr,setBlockTracking:()=>si,setDevtoolsHook:()=>kn,setTransitionHooks:()=>hr,shallowReactive:()=>St,shallowReadonly:()=>kt,shallowRef:()=>Ft,ssrContextKey:()=>as,ssrUtils:()=>ds,stop:()=>ke,toDisplayString:()=>w,toHandlerKey:()=>te,toHandlers:()=>eo,toRaw:()=>At,toRef:()=>Jt,toRefs:()=>Kt,transformVNodeArgs:()=>pi,triggerRef:()=>Ut,unref:()=>zt,useAttrs:()=>ts,useCssModule:()=>Ns,useCssVars:()=>Ms,useSSRContext:()=>cs,useSlots:()=>es,useTransitionState:()=>sr,vModelCheckbox:()=>da,vModelDynamic:()=>ba,vModelRadio:()=>ga,vModelSelect:()=>ma,vModelText:()=>pa,vShow:()=>Oa,version:()=>ps,warn:()=>Xt,watch:()=>tr,watchEffect:()=>Yn,watchPostEffect:()=>Qn,watchSyncEffect:()=>Xn,withAsyncContext:()=>is,withCtx:()=>Mn,withDefaults:()=>Xi,withDirectives:()=>Vr,withKeys:()=>Ea,withMemo:()=>us,withModifiers:()=>ka,withScopeId:()=>Nn});var t={};function o(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e!!n[e.toLowerCase()]:e=>!!n[e]}n.r(t),n.d(t,{getCatalog:()=>wh,getDomainsTree:()=>xh,getTranslations:()=>bh,refreshCounts:()=>Sh,resetTranslation:()=>kh,saveTranslations:()=>Ch,updateCurrentDomain:()=>Eh,updatePageIndex:()=>Th,updatePrincipalLoading:()=>Oh,updateSearch:()=>Ph});const i=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function s(e){if(N(e)){const t={};for(let n=0;n{if(e){const n=e.split(c);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function f(e){let t="";if(F(e))t=e;else if(N(e))for(let n=0;n_(e,t)))}const w=e=>F(e)?e:null==e?"":N(e)||V(e)&&(e.toString===z||!D(e.toString))?JSON.stringify(e,x,2):String(e),x=(e,t)=>t&&t.__v_isRef?x(e,t.value):M(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:L(t)?{[`Set(${t.size})`]:[...t.values()]}:!V(t)||N(t)||q(t)?t:String(t),S={},C=[],k=()=>{},T=()=>!1,E=/^on[^a-z]/,O=e=>E.test(e),P=e=>e.startsWith("onUpdate:"),$=Object.assign,A=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},I=Object.prototype.hasOwnProperty,R=(e,t)=>I.call(e,t),N=Array.isArray,M=e=>"[object Map]"===W(e),L=e=>"[object Set]"===W(e),j=e=>"[object Date]"===W(e),D=e=>"function"==typeof e,F=e=>"string"==typeof e,B=e=>"symbol"==typeof e,V=e=>null!==e&&"object"==typeof e,U=e=>V(e)&&D(e.then)&&D(e.catch),z=Object.prototype.toString,W=e=>z.call(e),q=e=>"[object Object]"===W(e),H=e=>F(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,G=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),K=o("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Z=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},J=/-(\w)/g,Y=Z((e=>e.replace(J,((e,t)=>t?t.toUpperCase():"")))),Q=/\B([A-Z])/g,X=Z((e=>e.replace(Q,"-$1").toLowerCase())),ee=Z((e=>e.charAt(0).toUpperCase()+e.slice(1))),te=Z((e=>e?`on${ee(e)}`:"")),ne=(e,t)=>!Object.is(e,t),re=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ie=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let se;let ae;class ce{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=ae,!e&&ae&&(this.index=(ae.scopes||(ae.scopes=[])).push(this)-1)}run(e){if(this.active){const t=ae;try{return ae=this,e()}finally{ae=t}}else 0}on(){ae=this}off(){ae=this.parent}stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t{const t=new Set(e);return t.w=0,t.n=0,t},he=e=>(e.w&ye)>0,ge=e=>(e.n&ye)>0,me=new WeakMap;let ve=0,ye=1;let _e;const be=Symbol(""),we=Symbol("");class xe{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,ue(this,n)}run(){if(!this.active)return this.fn();let e=_e,t=Te;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=_e,_e=this,Te=!0,ye=1<<++ve,ve<=30?(({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{("length"===n||n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":N(e)?H(n)&&a.push(s.get("length")):(a.push(s.get(be)),M(e)&&a.push(s.get(we)));break;case"delete":N(e)||(a.push(s.get(be)),M(e)&&a.push(s.get(we)));break;case"set":M(e)&&a.push(s.get(be))}if(1===a.length)a[0]&&Re(a[0]);else{const e=[];for(const t of a)t&&e.push(...t);Re(de(e))}}function Re(e,t){const n=N(e)?e:[...e];for(const e of n)e.computed&&Ne(e,t);for(const e of n)e.computed||Ne(e,t)}function Ne(e,t){(e!==_e||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Me=o("__proto__,__v_isRef,__isVue"),Le=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(B)),je=ze(),De=ze(!1,!0),Fe=ze(!0),Be=ze(!0,!0),Ve=Ue();function Ue(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=At(this);for(let e=0,t=this.length;e{e[t]=function(...e){Oe();const n=At(this)[t].apply(this,e);return Pe(),n}})),e}function ze(e=!1,t=!1){return function(n,r,o){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_isShallow"===r)return t;if("__v_raw"===r&&o===(e?t?bt:_t:t?yt:vt).get(n))return n;const i=N(n);if(!e&&i&&R(Ve,r))return Reflect.get(Ve,r,o);const s=Reflect.get(n,r,o);return(B(r)?Le.has(r):Me(r))?s:(e||$e(n,0,r),t?s:jt(s)?i&&H(r)?s:s.value:V(s)?e?Ct(s):xt(s):s)}}function We(e=!1){return function(t,n,r,o){let i=t[n];if(Ot(i)&&jt(i)&&!jt(r))return!1;if(!e&&(Pt(r)||Ot(r)||(i=At(i),r=At(r)),!N(t)&&jt(i)&&!jt(r)))return i.value=r,!0;const s=N(t)&&H(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ge=$({},qe,{get:De,set:We(!0)}),Ke=$({},He,{get:Be}),Ze=e=>e,Je=e=>Reflect.getPrototypeOf(e);function Ye(e,t,n=!1,r=!1){const o=At(e=e.__v_raw),i=At(t);n||(t!==i&&$e(o,0,t),$e(o,0,i));const{has:s}=Je(o),a=r?Ze:n?Nt:Rt;return s.call(o,t)?a(e.get(t)):s.call(o,i)?a(e.get(i)):void(e!==o&&e.get(t))}function Qe(e,t=!1){const n=this.__v_raw,r=At(n),o=At(e);return t||(e!==o&&$e(r,0,e),$e(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function Xe(e,t=!1){return e=e.__v_raw,!t&&$e(At(e),0,be),Reflect.get(e,"size",e)}function et(e){e=At(e);const t=At(this);return Je(t).has.call(t,e)||(t.add(e),Ie(t,"add",e,e)),this}function tt(e,t){t=At(t);const n=At(this),{has:r,get:o}=Je(n);let i=r.call(n,e);i||(e=At(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?ne(t,s)&&Ie(n,"set",e,t):Ie(n,"add",e,t),this}function nt(e){const t=At(this),{has:n,get:r}=Je(t);let o=n.call(t,e);o||(e=At(e),o=n.call(t,e));r&&r.call(t,e);const i=t.delete(e);return o&&Ie(t,"delete",e,void 0),i}function rt(){const e=At(this),t=0!==e.size,n=e.clear();return t&&Ie(e,"clear",void 0,void 0),n}function ot(e,t){return function(n,r){const o=this,i=o.__v_raw,s=At(i),a=t?Ze:e?Nt:Rt;return!e&&$e(s,0,be),i.forEach(((e,t)=>n.call(r,a(e),a(t),o)))}}function it(e,t,n){return function(...r){const o=this.__v_raw,i=At(o),s=M(i),a="entries"===e||e===Symbol.iterator&&s,c="keys"===e&&s,l=o[e](...r),u=n?Ze:t?Nt:Rt;return!t&&$e(i,0,c?we:be),{next(){const{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function st(e){return function(...t){return"delete"!==e&&this}}function at(){const e={get(e){return Ye(this,e)},get size(){return Xe(this)},has:Qe,add:et,set:tt,delete:nt,clear:rt,forEach:ot(!1,!1)},t={get(e){return Ye(this,e,!1,!0)},get size(){return Xe(this)},has:Qe,add:et,set:tt,delete:nt,clear:rt,forEach:ot(!1,!0)},n={get(e){return Ye(this,e,!0)},get size(){return Xe(this,!0)},has(e){return Qe.call(this,e,!0)},add:st("add"),set:st("set"),delete:st("delete"),clear:st("clear"),forEach:ot(!0,!1)},r={get(e){return Ye(this,e,!0,!0)},get size(){return Xe(this,!0)},has(e){return Qe.call(this,e,!0)},add:st("add"),set:st("set"),delete:st("delete"),clear:st("clear"),forEach:ot(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=it(o,!1,!1),n[o]=it(o,!0,!1),t[o]=it(o,!1,!0),r[o]=it(o,!0,!0)})),[e,n,t,r]}const[ct,lt,ut,ft]=at();function pt(e,t){const n=t?e?ft:ut:e?lt:ct;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(R(n,r)&&r in t?n:t,r,o)}const dt={get:pt(!1,!1)},ht={get:pt(!1,!0)},gt={get:pt(!0,!1)},mt={get:pt(!0,!0)};const vt=new WeakMap,yt=new WeakMap,_t=new WeakMap,bt=new WeakMap;function wt(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>W(e).slice(8,-1))(e))}function xt(e){return Ot(e)?e:Tt(e,!1,qe,dt,vt)}function St(e){return Tt(e,!1,Ge,ht,yt)}function Ct(e){return Tt(e,!0,He,gt,_t)}function kt(e){return Tt(e,!0,Ke,mt,bt)}function Tt(e,t,n,r,o){if(!V(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=wt(e);if(0===s)return e;const a=new Proxy(e,2===s?r:n);return o.set(e,a),a}function Et(e){return Ot(e)?Et(e.__v_raw):!(!e||!e.__v_isReactive)}function Ot(e){return!(!e||!e.__v_isReadonly)}function Pt(e){return!(!e||!e.__v_isShallow)}function $t(e){return Et(e)||Ot(e)}function At(e){const t=e&&e.__v_raw;return t?At(t):e}function It(e){return oe(e,"__v_skip",!0),e}const Rt=e=>V(e)?xt(e):e,Nt=e=>V(e)?Ct(e):e;function Mt(e){Te&&_e&&Ae((e=At(e)).dep||(e.dep=de()))}function Lt(e,t){(e=At(e)).dep&&Re(e.dep)}function jt(e){return!(!e||!0!==e.__v_isRef)}function Dt(e){return Bt(e,!1)}function Ft(e){return Bt(e,!0)}function Bt(e,t){return jt(e)?e:new Vt(e,t)}class Vt{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:At(e),this._value=t?e:Rt(e)}get value(){return Mt(this),this._value}set value(e){const t=this.__v_isShallow||Pt(e)||Ot(e);e=t?e:At(e),ne(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Rt(e),Lt(this))}}function Ut(e){Lt(e)}function zt(e){return jt(e)?e.value:e}const Wt={get:(e,t,n)=>zt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return jt(o)&&!jt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function qt(e){return Et(e)?e:new Proxy(e,Wt)}class Ht{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>Mt(this)),(()=>Lt(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Gt(e){return new Ht(e)}function Kt(e){const t=N(e)?new Array(e.length):{};for(const n in e)t[n]=Jt(e,n);return t}class Zt{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}}function Jt(e,t,n){const r=e[t];return jt(r)?r:new Zt(e,t,n)}var Yt;class Qt{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[Yt]=!1,this._dirty=!0,this.effect=new xe(e,(()=>{this._dirty||(this._dirty=!0,Lt(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=At(this);return Mt(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}Yt="__v_isReadonly";function Xt(e,...t){}function en(e,t,n,r){let o;try{o=r?e(...r):e()}catch(e){nn(e,t,n)}return o}function tn(e,t,n,r){if(D(e)){const o=en(e,t,n,r);return o&&U(o)&&o.catch((e=>{nn(e,t,n)})),o}const o=[];for(let i=0;i>>1;_n(sn[r])_n(e)-_n(t))),un=0;unnull==e.id?1/0:e.id,bn=(e,t)=>{const n=_n(e)-_n(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function wn(e){on=!1,rn=!0,sn.sort(bn);try{for(an=0;anxn.emit(e,...t))),Sn=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null===(r=null===(n=window.navigator)||void 0===n?void 0:n.userAgent)||void 0===r?void 0:r.includes("jsdom"))){(t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((e=>{kn(e,t)})),setTimeout((()=>{xn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Cn=!0,Sn=[])}),3e3)}else Cn=!0,Sn=[]}function Tn(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||S;let o=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in r){const e=`${"modelValue"===s?"model":s}Modifiers`,{number:t,trim:i}=r[e]||S;i&&(o=n.map((e=>F(e)?e.trim():e))),t&&(o=n.map(ie))}let a;let c=r[a=te(t)]||r[a=te(Y(t))];!c&&i&&(c=r[a=te(X(t))]),c&&tn(c,e,6,o);const l=r[a+"Once"];if(l){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,tn(l,e,6,o)}}function En(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const i=e.emits;let s={},a=!1;if(!D(e)){const r=e=>{const n=En(e,t,!0);n&&(a=!0,$(s,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||a?(N(i)?i.forEach((e=>s[e]=null)):$(s,i),V(e)&&r.set(e,s),s):(V(e)&&r.set(e,null),null)}function On(e,t){return!(!e||!O(t))&&(t=t.slice(2).replace(/Once$/,""),R(e,t[0].toLowerCase()+t.slice(1))||R(e,X(t))||R(e,t))}let Pn=null,$n=null;function An(e){const t=Pn;return Pn=e,$n=e&&e.type.__scopeId||null,t}function In(e){$n=e}function Rn(){$n=null}const Nn=e=>Mn;function Mn(e,t=Pn,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&si(-1);const o=An(t);let i;try{i=e(...n)}finally{An(o),r._d&&si(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Ln(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:a,attrs:c,emit:l,render:u,renderCache:f,data:p,setupState:d,ctx:h,inheritAttrs:g}=e;let m,v;const y=An(e);try{if(4&n.shapeFlag){const e=o||r;m=Ci(u.call(e,e,f,i,d,p,h)),v=c}else{const e=t;0,m=Ci(e.length>1?e(i,{attrs:c,slots:a,emit:l}):e(i,null)),v=t.props?c:Dn(c)}}catch(t){ei.length=0,nn(t,e,1),m=vi(Qo)}let _=m;if(v&&!1!==g){const e=Object.keys(v),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(P)&&(v=Fn(v,s)),_=bi(_,v))}return n.dirs&&(_=bi(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),m=_,An(y),m}function jn(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||O(n))&&((t||(t={}))[n]=e[n]);return t},Fn=(e,t)=>{const n={};for(const r in e)P(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Bn(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;oe.__isSuspense,zn={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,c,l){null==e?function(e,t,n,r,o,i,s,a,c){const{p:l,o:{createElement:u}}=c,f=u("div"),p=e.suspense=qn(e,o,r,t,f,n,i,s,a,c);l(null,p.pendingBranch=e.ssContent,f,null,r,p,i,s),p.deps>0?(Wn(e,"onPending"),Wn(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,i,s),Kn(p,e.ssFallback)):p.resolve()}(t,n,r,o,i,s,a,c,l):function(e,t,n,r,o,i,s,a,{p:c,um:l,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const p=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:g,isInFallback:m,isHydrating:v}=f;if(g)f.pendingBranch=p,fi(p,g)?(c(g,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():m&&(c(h,d,n,r,o,null,i,s,a),Kn(f,d))):(f.pendingId++,v?(f.isHydrating=!1,f.activeBranch=g):l(g,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),m?(c(null,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():(c(h,d,n,r,o,null,i,s,a),Kn(f,d))):h&&fi(p,h)?(c(h,p,n,r,o,f,i,s,a),f.resolve(!0)):(c(null,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0&&f.resolve()));else if(h&&fi(p,h))c(h,p,n,r,o,f,i,s,a),Kn(f,p);else if(Wn(t,"onPending"),f.pendingBranch=p,f.pendingId++,c(null,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0)f.resolve();else{const{timeout:e,pendingId:t}=f;e>0?setTimeout((()=>{f.pendingId===t&&f.fallback(d)}),e):0===e&&f.fallback(d)}}(e,t,n,r,o,s,a,c,l)},hydrate:function(e,t,n,r,o,i,s,a,c){const l=t.suspense=qn(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,i,s);0===l.deps&&l.resolve();return u},create:qn,normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=Hn(r?n.default:n),e.ssFallback=r?Hn(n.fallback):vi(Qo)}};function Wn(e,t){const n=e.props&&e.props[t];D(n)&&n()}function qn(e,t,n,r,o,i,s,a,c,l,u=!1){const{p:f,m:p,um:d,n:h,o:{parentNode:g,remove:m}}=l,v=ie(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:s,container:r,hiddenContainer:o,anchor:i,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:r,pendingId:o,effects:i,parentComponent:s,container:a}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&r.transition&&"out-in"===r.transition.mode;e&&(n.transition.afterLeave=()=>{o===y.pendingId&&p(r,a,t,0)});let{anchor:t}=y;n&&(t=h(n),d(n,s,y,!0)),e||p(r,a,t,0)}Kn(y,r),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,l=!1;for(;c;){if(c.pendingBranch){c.effects.push(...i),l=!0;break}c=c.parent}l||mn(i),y.effects=[],Wn(t,"onResolve")},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,isSVG:i}=y;Wn(t,"onFallback");const s=h(n),l=()=>{y.isInFallback&&(f(null,e,o,s,r,null,i,a,c),Kn(y,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=l),y.isInFallback=!0,d(n,r,null,!0),u||l()},move(e,t,n){y.activeBranch&&p(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&h(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const r=e.vnode.el;e.asyncDep.catch((t=>{nn(t,e,0)})).then((o=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:i}=e;Vi(e,o,!1),r&&(i.el=r);const a=!r&&e.subTree.el;t(e,i,g(r||e.subTree.el),r?null:h(e.subTree),y,s,c),a&&m(a),Vn(e,i.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function Hn(e){let t;if(D(e)){const n=ii&&e._c;n&&(e._d=!1,ni()),e=e(),n&&(e._d=!0,t=ti,ri())}if(N(e)){const t=jn(e);0,e=t}return e=Ci(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function Gn(e,t){t&&t.pendingBranch?N(e)?t.effects.push(...e):t.effects.push(e):mn(e)}function Kn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,Vn(r,o))}function Zn(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}else 0}function Jn(e,t,n=!1){const r=Ii||Pn;if(r){const o=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&D(t)?t.call(r.proxy):t}else 0}function Yn(e,t){return nr(e,null,t)}function Qn(e,t){return nr(e,null,{flush:"post"})}function Xn(e,t){return nr(e,null,{flush:"sync"})}const er={};function tr(e,t,n){return nr(e,t,n)}function nr(e,t,{immediate:n,deep:r,flush:o,onTrack:i,onTrigger:s}=S){const a=Ii;let c,l,u=!1,f=!1;if(jt(e)?(c=()=>e.value,u=Pt(e)):Et(e)?(c=()=>e,r=!0):N(e)?(f=!0,u=e.some((e=>Et(e)||Pt(e))),c=()=>e.map((e=>jt(e)?e.value:Et(e)?ir(e):D(e)?en(e,a,2):void 0))):c=D(e)?t?()=>en(e,a,2):()=>{if(!a||!a.isUnmounted)return l&&l(),tn(e,a,3,[d])}:k,t&&r){const e=c;c=()=>ir(e())}let p,d=e=>{l=v.onStop=()=>{en(e,a,4)}};if(Fi){if(d=k,t?n&&tn(t,a,3,[c(),f?[]:void 0,d]):c(),"sync"!==o)return k;{const e=cs();p=e.__watcherHandles||(e.__watcherHandles=[])}}let h=f?new Array(e.length).fill(er):er;const g=()=>{if(v.active)if(t){const e=v.run();(r||u||(f?e.some(((e,t)=>ne(e,h[t]))):ne(e,h)))&&(l&&l(),tn(t,a,3,[e,h===er?void 0:f&&h[0]===er?[]:h,d]),h=e)}else v.run()};let m;g.allowRecurse=!!t,"sync"===o?m=g:"post"===o?m=()=>Do(g,a&&a.suspense):(g.pre=!0,a&&(g.id=a.uid),m=()=>hn(g));const v=new xe(c,m);t?n?g():h=v.run():"post"===o?Do(v.run.bind(v),a&&a.suspense):v.run();const y=()=>{v.stop(),a&&a.scope&&A(a.scope.effects,v)};return p&&p.push(y),y}function rr(e,t,n){const r=this.proxy,o=F(e)?e.includes(".")?or(r,e):()=>r[e]:e.bind(r,r);let i;D(t)?i=t:(i=t.handler,n=t);const s=Ii;Ni(this);const a=nr(o,i.bind(r),n);return s?Ni(s):Mi(),a}function or(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{ir(e,t)}));else if(q(e))for(const n in e)ir(e[n],t);return e}function sr(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ir((()=>{e.isMounted=!0})),Mr((()=>{e.isUnmounting=!0})),e}const ar=[Function,Array],cr={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ar,onEnter:ar,onAfterEnter:ar,onEnterCancelled:ar,onBeforeLeave:ar,onLeave:ar,onAfterLeave:ar,onLeaveCancelled:ar,onBeforeAppear:ar,onAppear:ar,onAfterAppear:ar,onAppearCancelled:ar},setup(e,{slots:t}){const n=Ri(),r=sr();let o;return()=>{const i=t.default&&gr(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1){let e=!1;for(const t of i)if(t.type!==Qo){0,s=t,e=!0;break}}const a=At(e),{mode:c}=a;if(r.isLeaving)return pr(s);const l=dr(s);if(!l)return pr(s);const u=fr(l,a,r,n);hr(l,u);const f=n.subTree,p=f&&dr(f);let d=!1;const{getTransitionKey:h}=l.type;if(h){const e=h();void 0===o?o=e:e!==o&&(o=e,d=!0)}if(p&&p.type!==Qo&&(!fi(l,p)||d)){const e=fr(p,a,r,n);if(hr(p,e),"out-in"===c)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,!1!==n.update.active&&n.update()},pr(s);"in-out"===c&&l.type!==Qo&&(e.delayLeave=(e,t,n)=>{ur(r,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}},lr=cr;function ur(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 fr(e,t,n,r){const{appear:o,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:g,onAppear:m,onAfterAppear:v,onAppearCancelled:y}=t,_=String(e.key),b=ur(n,e),w=(e,t)=>{e&&tn(e,r,9,t)},x=(e,t)=>{const n=t[1];w(e,t),N(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:i,persisted:s,beforeEnter(t){let r=a;if(!n.isMounted){if(!o)return;r=g||a}t._leaveCb&&t._leaveCb(!0);const i=b[_];i&&fi(e,i)&&i.el._leaveCb&&i.el._leaveCb(),w(r,[t])},enter(e){let t=c,r=l,i=u;if(!n.isMounted){if(!o)return;t=m||c,r=v||l,i=y||u}let s=!1;const a=e._enterCb=t=>{s||(s=!0,w(t?i:r,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?x(t,[e,a]):a()},leave(t,r){const o=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();w(f,[t]);let i=!1;const s=t._leaveCb=n=>{i||(i=!0,r(),w(n?h:d,[t]),t._leaveCb=void 0,b[o]===e&&delete b[o])};b[o]=e,p?x(p,[t,s]):s()},clone:e=>fr(e,t,n,r)};return S}function pr(e){if(br(e))return(e=bi(e)).children=null,e}function dr(e){return br(e)?e.children?e.children[0]:void 0:e}function hr(e,t){6&e.shapeFlag&&e.component?hr(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 gr(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let e=0;e!!e.type.__asyncLoader;function yr(e){D(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:a}=e;let c,l=null,u=0;const f=()=>{let e;return l||(e=l=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise(((t,n)=>{a(e,(()=>t((u++,l=null,f()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==l&&l?l:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return mr({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const e=Ii;if(c)return()=>_r(c,e);const t=t=>{l=null,nn(t,e,13,!r)};if(s&&e.suspense||Fi)return f().then((t=>()=>_r(t,e))).catch((e=>(t(e),()=>r?vi(r,{error:e}):null)));const a=Dt(!1),u=Dt(),p=Dt(!!o);return o&&setTimeout((()=>{p.value=!1}),o),null!=i&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),f().then((()=>{a.value=!0,e.parent&&br(e.parent.vnode)&&hn(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>a.value&&c?_r(c,e):u.value&&r?vi(r,{error:u.value}):n&&!p.value?vi(n):void 0}})}function _r(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=vi(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const br=e=>e.type.__isKeepAlive,wr={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ri(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=new Map,i=new Set;let s=null;const a=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:f}}}=r,p=f("div");function d(e){Er(e),u(e,n,a,!0)}function h(e){o.forEach(((t,n)=>{const r=Gi(t.type);!r||e&&e(r)||g(n)}))}function g(e){const t=o.get(e);s&&t.type===s.type?s&&Er(s):d(t),o.delete(e),i.delete(e)}r.activate=(e,t,n,r,o)=>{const i=e.component;l(e,t,n,0,a),c(i.vnode,e,t,n,i,a,r,e.slotScopeIds,o),Do((()=>{i.isDeactivated=!1,i.a&&re(i.a);const t=e.props&&e.props.onVnodeMounted;t&&Oi(t,i.parent,e)}),a)},r.deactivate=e=>{const t=e.component;l(e,p,null,1,a),Do((()=>{t.da&&re(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Oi(n,t.parent,e),t.isDeactivated=!0}),a)},tr((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>xr(e,t))),t&&h((e=>!xr(t,e)))}),{flush:"post",deep:!0});let m=null;const v=()=>{null!=m&&o.set(m,Or(n.subTree))};return Ir(v),Nr(v),Mr((()=>{o.forEach((e=>{const{subTree:t,suspense:r}=n,o=Or(t);if(e.type!==o.type)d(e);else{Er(o);const e=o.component.da;e&&Do(e,r)}}))})),()=>{if(m=null,!t.default)return null;const n=t.default(),r=n[0];if(n.length>1)return s=null,n;if(!(ui(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return s=null,r;let a=Or(r);const c=a.type,l=Gi(vr(a)?a.type.__asyncResolved||{}:c),{include:u,exclude:f,max:p}=e;if(u&&(!l||!xr(u,l))||f&&l&&xr(f,l))return s=a,r;const d=null==a.key?c:a.key,h=o.get(d);return a.el&&(a=bi(a),128&r.shapeFlag&&(r.ssContent=a)),m=d,h?(a.el=h.el,a.component=h.component,a.transition&&hr(a,a.transition),a.shapeFlag|=512,i.delete(d),i.add(d)):(i.add(d),p&&i.size>parseInt(p,10)&&g(i.values().next().value)),a.shapeFlag|=256,s=a,Un(r.type)?r:a}}};function xr(e,t){return N(e)?e.some((e=>xr(e,t))):F(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function Sr(e,t){kr(e,"a",t)}function Cr(e,t){kr(e,"da",t)}function kr(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(Pr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)br(e.parent.vnode)&&Tr(r,t,n,e),e=e.parent}}function Tr(e,t,n,r){const o=Pr(t,e,r,!0);Lr((()=>{A(r[t],o)}),n)}function Er(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Or(e){return 128&e.shapeFlag?e.ssContent:e}function Pr(e,t,n=Ii,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;Oe(),Ni(n);const o=tn(t,n,e,r);return Mi(),Pe(),o});return r?o.unshift(i):o.push(i),i}}const $r=e=>(t,n=Ii)=>(!Fi||"sp"===e)&&Pr(e,((...e)=>t(...e)),n),Ar=$r("bm"),Ir=$r("m"),Rr=$r("bu"),Nr=$r("u"),Mr=$r("bum"),Lr=$r("um"),jr=$r("sp"),Dr=$r("rtg"),Fr=$r("rtc");function Br(e,t=Ii){Pr("ec",e,t)}function Vr(e,t){const n=Pn;if(null===n)return e;const r=Hi(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let e=0;et(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,s=n.length;r{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function Qr(e,t,n={},r,o){if(Pn.isCE||Pn.parent&&vr(Pn.parent)&&Pn.parent.isCE)return"default"!==t&&(n.name=t),vi("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),ni();const s=i&&Xr(i(n)),a=li(Jo,{key:n.key||s&&s.key||`_${t}`},s||(r?r():[]),s&&1===e._?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Xr(e){return e.some((e=>!ui(e)||e.type!==Qo&&!(e.type===Jo&&!Xr(e.children))))?e:null}function eo(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:te(r)]=e[r];return n}const to=e=>e?Li(e)?Hi(e)||e.proxy:to(e.parent):null,no=$(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=>to(e.parent),$root:e=>to(e.root),$emit:e=>e.emit,$options:e=>uo(e),$forceUpdate:e=>e.f||(e.f=()=>hn(e.update)),$nextTick:e=>e.n||(e.n=dn.bind(e.proxy)),$watch:e=>rr.bind(e)}),ro=(e,t)=>e!==S&&!e.__isScriptSetup&&R(e,t),oo={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:c}=e;let l;if("$"!==t[0]){const a=s[t];if(void 0!==a)switch(a){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(ro(r,t))return s[t]=1,r[t];if(o!==S&&R(o,t))return s[t]=2,o[t];if((l=e.propsOptions[0])&&R(l,t))return s[t]=3,i[t];if(n!==S&&R(n,t))return s[t]=4,n[t];so&&(s[t]=0)}}const u=no[t];let f,p;return u?("$attrs"===t&&$e(e,0,t),u(e)):(f=a.__cssModules)&&(f=f[t])?f:n!==S&&R(n,t)?(s[t]=4,n[t]):(p=c.config.globalProperties,R(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return ro(o,t)?(o[t]=n,!0):r!==S&&R(r,t)?(r[t]=n,!0):!R(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let a;return!!n[s]||e!==S&&R(e,s)||ro(t,s)||(a=i[0])&&R(a,s)||R(r,s)||R(no,s)||R(o.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:R(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const io=$({},oo,{get(e,t){if(t!==Symbol.unscopables)return oo.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!i(t)});let so=!0;function ao(e){const t=uo(e),n=e.proxy,r=e.ctx;so=!1,t.beforeCreate&&co(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:c,inject:l,created:u,beforeMount:f,mounted:p,beforeUpdate:d,updated:h,activated:g,deactivated:m,beforeDestroy:v,beforeUnmount:y,destroyed:_,unmounted:b,render:w,renderTracked:x,renderTriggered:S,errorCaptured:C,serverPrefetch:T,expose:E,inheritAttrs:O,components:P,directives:$,filters:A}=t;if(l&&function(e,t,n=k,r=!1){N(e)&&(e=go(e));for(const n in e){const o=e[n];let i;i=V(o)?"default"in o?Jn(o.from||n,o.default,!0):Jn(o.from||n):Jn(o),jt(i)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}(l,r,null,e.appContext.config.unwrapInjectedRef),s)for(const e in s){const t=s[e];D(t)&&(r[e]=t.bind(n))}if(o){0;const t=o.call(n,n);0,V(t)&&(e.data=xt(t))}if(so=!0,i)for(const e in i){const t=i[e],o=D(t)?t.bind(n,n):D(t.get)?t.get.bind(n,n):k;0;const s=!D(t)&&D(t.set)?t.set.bind(n):k,a=Zi({get:o,set:s});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(a)for(const e in a)lo(a[e],r,n,e);if(c){const e=D(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Zn(t,e[t])}))}function I(e,t){N(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&co(u,e,"c"),I(Ar,f),I(Ir,p),I(Rr,d),I(Nr,h),I(Sr,g),I(Cr,m),I(Br,C),I(Fr,x),I(Dr,S),I(Mr,y),I(Lr,b),I(jr,T),N(E))if(E.length){const t=e.exposed||(e.exposed={});E.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});w&&e.render===k&&(e.render=w),null!=O&&(e.inheritAttrs=O),P&&(e.components=P),$&&(e.directives=$)}function co(e,t,n){tn(N(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function lo(e,t,n,r){const o=r.includes(".")?or(n,r):()=>n[r];if(F(e)){const n=t[e];D(n)&&tr(o,n)}else if(D(e))tr(o,e.bind(n));else if(V(e))if(N(e))e.forEach((e=>lo(e,t,n,r)));else{const r=D(e.handler)?e.handler.bind(n):t[e.handler];D(r)&&tr(o,r,e)}else 0}function uo(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let c;return a?c=a:o.length||n||r?(c={},o.length&&o.forEach((e=>fo(c,e,s,!0))),fo(c,t,s)):c=t,V(t)&&i.set(t,c),c}function fo(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&fo(e,i,n,!0),o&&o.forEach((t=>fo(e,t,n,!0)));for(const o in t)if(r&&"expose"===o);else{const r=po[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const po={data:ho,props:vo,emits:vo,methods:vo,computed:vo,beforeCreate:mo,created:mo,beforeMount:mo,mounted:mo,beforeUpdate:mo,updated:mo,beforeDestroy:mo,beforeUnmount:mo,destroyed:mo,unmounted:mo,activated:mo,deactivated:mo,errorCaptured:mo,serverPrefetch:mo,components:vo,directives:vo,watch:function(e,t){if(!e)return t;if(!t)return e;const n=$(Object.create(null),e);for(const r in t)n[r]=mo(e[r],t[r]);return n},provide:ho,inject:function(e,t){return vo(go(e),go(t))}};function ho(e,t){return t?e?function(){return $(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function go(e){if(N(e)){const t={};for(let n=0;n{c=!0;const[n,r]=bo(e,t,!0);$(s,n),r&&a.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!i&&!c)return V(e)&&r.set(e,C),C;if(N(i))for(let e=0;e-1,r[1]=n<0||e-1||R(r,"default"))&&a.push(t)}}}}const l=[s,a];return V(e)&&r.set(e,l),l}function wo(e){return"$"!==e[0]}function xo(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function So(e,t){return xo(e)===xo(t)}function Co(e,t){return N(t)?t.findIndex((t=>So(t,e))):D(t)&&So(t,e)?0:-1}const ko=e=>"_"===e[0]||"$stable"===e,To=e=>N(e)?e.map(Ci):[Ci(e)],Eo=(e,t,n)=>{if(t._n)return t;const r=Mn(((...e)=>To(t(...e))),n);return r._c=!1,r},Oo=(e,t,n)=>{const r=e._ctx;for(const n in e){if(ko(n))continue;const o=e[n];if(D(o))t[n]=Eo(0,o,r);else if(null!=o){0;const e=To(o);t[n]=()=>e}}},Po=(e,t)=>{const n=To(t);e.slots.default=()=>n};function $o(){return{app:null,config:{isNativeTag:T,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 Ao=0;function Io(e,t){return function(n,r=null){D(n)||(n=Object.assign({},n)),null==r||V(r)||(r=null);const o=$o(),i=new Set;let s=!1;const a=o.app={_uid:Ao++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:ps,get config(){return o.config},set config(e){0},use:(e,...t)=>(i.has(e)||(e&&D(e.install)?(i.add(e),e.install(a,...t)):D(e)&&(i.add(e),e(a,...t))),a),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),a),component:(e,t)=>t?(o.components[e]=t,a):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,a):o.directives[e],mount(i,c,l){if(!s){0;const u=vi(n,r);return u.appContext=o,c&&t?t(u,i):e(u,i,l),s=!0,a._container=i,i.__vue_app__=a,Hi(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,a)};return a}}function Ro(e,t,n,r,o=!1){if(N(e))return void e.forEach(((e,i)=>Ro(e,t&&(N(t)?t[i]:t),n,r,o)));if(vr(r)&&!o)return;const i=4&r.shapeFlag?Hi(r.component)||r.component.proxy:r.el,s=o?null:i,{i:a,r:c}=e;const l=t&&t.r,u=a.refs===S?a.refs={}:a.refs,f=a.setupState;if(null!=l&&l!==c&&(F(l)?(u[l]=null,R(f,l)&&(f[l]=null)):jt(l)&&(l.value=null)),D(c))en(c,a,12,[s,u]);else{const t=F(c),r=jt(c);if(t||r){const a=()=>{if(e.f){const n=t?R(f,c)?f[c]:u[c]:c.value;o?N(n)&&A(n,i):N(n)?n.includes(i)||n.push(i):t?(u[c]=[i],R(f,c)&&(f[c]=u[c])):(c.value=[i],e.k&&(u[e.k]=c.value))}else t?(u[c]=s,R(f,c)&&(f[c]=s)):r&&(c.value=s,e.k&&(u[e.k]=s))};s?(a.id=-1,Do(a,n)):a()}else 0}}let No=!1;const Mo=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,Lo=e=>8===e.nodeType;function jo(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:c,createComment:l}}=e,u=(n,r,a,l,m,v=!1)=>{const y=Lo(n)&&"["===n.data,_=()=>h(n,r,a,l,m,y),{type:b,ref:w,shapeFlag:x,patchFlag:S}=r;let C=n.nodeType;r.el=n,-2===S&&(v=!1,r.dynamicChildren=null);let k=null;switch(b){case Yo:3!==C?""===r.children?(c(r.el=o(""),s(n),n),k=n):k=_():(n.data!==r.children&&(No=!0,n.data=r.children),k=i(n));break;case Qo:k=8!==C||y?_():i(n);break;case Xo:if(y&&(C=(n=i(n)).nodeType),1===C||3===C){k=n;const e=!r.children.length;for(let t=0;t{s=s||!!t.dynamicChildren;const{type:c,props:l,patchFlag:u,shapeFlag:f,dirs:d}=t,h="input"===c&&d||"option"===c;if(h||-1!==u){if(d&&Ur(t,null,n,"created"),l)if(h||!s||48&u)for(const t in l)(h&&t.endsWith("value")||O(t)&&!G(t))&&r(e,t,null,l[t],!1,void 0,n);else l.onClick&&r(e,"onClick",null,l.onClick,!1,void 0,n);let c;if((c=l&&l.onVnodeBeforeMount)&&Oi(c,n,t),d&&Ur(t,null,n,"beforeMount"),((c=l&&l.onVnodeMounted)||d)&&Gn((()=>{c&&Oi(c,n,t),d&&Ur(t,null,n,"mounted")}),o),16&f&&(!l||!l.innerHTML&&!l.textContent)){let r=p(e.firstChild,t,e,n,o,i,s);for(;r;){No=!0;const e=r;r=r.nextSibling,a(e)}}else 8&f&&e.textContent!==t.children&&(No=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,r,o,i,s,a)=>{a=a||!!t.dynamicChildren;const c=t.children,l=c.length;for(let t=0;t{const{slotScopeIds:u}=t;u&&(o=o?o.concat(u):u);const f=s(e),d=p(i(e),t,f,n,r,o,a);return d&&Lo(d)&&"]"===d.data?i(t.anchor=d):(No=!0,c(t.anchor=l("]"),f,d),d)},h=(e,t,r,o,c,l)=>{if(No=!0,t.el=null,l){const t=g(e);for(;;){const n=i(e);if(!n||n===t)break;a(n)}}const u=i(e),f=s(e);return a(e),n(null,t,f,u,r,o,Mo(f),c),u},g=e=>{let t=0;for(;e;)if((e=i(e))&&Lo(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return i(e);t--}return e};return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),yn(),void(t._vnode=e);No=!1,u(t.firstChild,e,null,null,null),yn(),t._vnode=e,No&&console.error("Hydration completed but contains mismatches.")},u]}const Do=Gn;function Fo(e){return Vo(e)}function Bo(e){return Vo(e,jo)}function Vo(e,t){(se||(se="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{})).__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:p,setScopeId:d=k,insertStaticContent:h}=e,g=(e,t,n,r=null,o=null,i=null,s=!1,a=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!fi(e,t)&&(r=K(e),U(e,o,i,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:l,ref:u,shapeFlag:f}=t;switch(l){case Yo:m(e,t,n,r);break;case Qo:v(e,t,n,r);break;case Xo:null==e&&y(t,n,r,s);break;case Jo:A(e,t,n,r,o,i,s,a,c);break;default:1&f?b(e,t,n,r,o,i,s,a,c):6&f?I(e,t,n,r,o,i,s,a,c):(64&f||128&f)&&l.process(e,t,n,r,o,i,s,a,c,J)}null!=u&&o&&Ro(u,e&&e.ref,i,t||e,!t)},m=(e,t,n,o)=>{if(null==e)r(t.el=a(t.children),n,o);else{const n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},v=(e,t,n,o)=>{null==e?r(t.el=c(t.children||""),n,o):t.el=e.el},y=(e,t,n,r)=>{[e.el,e.anchor]=h(e.children,t,n,r,e.el,e.anchor)},_=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=p(e),o(e),e=n;o(t)},b=(e,t,n,r,o,i,s,a,c)=>{s=s||"svg"===t.type,null==e?w(t,n,r,o,i,s,a,c):E(e,t,o,i,s,a,c)},w=(e,t,n,o,a,c,l,f)=>{let p,d;const{type:h,props:g,shapeFlag:m,transition:v,dirs:y}=e;if(p=e.el=s(e.type,c,g&&g.is,g),8&m?u(p,e.children):16&m&&T(e.children,p,null,o,a,c&&"foreignObject"!==h,l,f),y&&Ur(e,null,o,"created"),g){for(const t in g)"value"===t||G(t)||i(p,t,null,g[t],c,e.children,o,a,H);"value"in g&&i(p,"value",null,g.value),(d=g.onVnodeBeforeMount)&&Oi(d,o,e)}x(p,e,e.scopeId,l,o),y&&Ur(e,null,o,"beforeMount");const _=(!a||a&&!a.pendingBranch)&&v&&!v.persisted;_&&v.beforeEnter(p),r(p,t,n),((d=g&&g.onVnodeMounted)||_||y)&&Do((()=>{d&&Oi(d,o,e),_&&v.enter(p),y&&Ur(e,null,o,"mounted")}),a)},x=(e,t,n,r,o)=>{if(n&&d(e,n),r)for(let t=0;t{for(let l=c;l{const c=t.el=e.el;let{patchFlag:l,dynamicChildren:f,dirs:p}=t;l|=16&e.patchFlag;const d=e.props||S,h=t.props||S;let g;n&&Uo(n,!1),(g=h.onVnodeBeforeUpdate)&&Oi(g,n,t,e),p&&Ur(t,e,n,"beforeUpdate"),n&&Uo(n,!0);const m=o&&"foreignObject"!==t.type;if(f?O(e.dynamicChildren,f,c,n,r,m,s):a||D(e,t,c,null,n,r,m,s,!1),l>0){if(16&l)P(c,t,d,h,n,r,o);else if(2&l&&d.class!==h.class&&i(c,"class",null,h.class,o),4&l&&i(c,"style",d.style,h.style,o),8&l){const s=t.dynamicProps;for(let t=0;t{g&&Oi(g,n,t,e),p&&Ur(t,e,n,"updated")}),r)},O=(e,t,n,r,o,i,s)=>{for(let a=0;a{if(n!==r){if(n!==S)for(const c in n)G(c)||c in r||i(e,c,n[c],null,a,t.children,o,s,H);for(const c in r){if(G(c))continue;const l=r[c],u=n[c];l!==u&&"value"!==c&&i(e,c,u,l,a,t.children,o,s,H)}"value"in r&&i(e,"value",n.value,r.value)}},A=(e,t,n,o,i,s,c,l,u)=>{const f=t.el=e?e.el:a(""),p=t.anchor=e?e.anchor:a("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(r(f,n,o),r(p,n,o),T(t.children,n,p,i,s,c,l,u)):d>0&&64&d&&h&&e.dynamicChildren?(O(e.dynamicChildren,h,n,i,s,c,l),(null!=t.key||i&&t===i.subTree)&&zo(e,t,!0)):D(e,t,n,p,i,s,c,l,u)},I=(e,t,n,r,o,i,s,a,c)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,s,c):N(t,n,r,o,i,s,c):M(e,t,c)},N=(e,t,n,r,o,i,s)=>{const a=e.component=Ai(e,r,o);if(br(e)&&(a.ctx.renderer=J),Bi(a),a.asyncDep){if(o&&o.registerDep(a,L),!e.el){const e=a.subTree=vi(Qo);v(null,e,t,n)}}else L(a,e,t,n,o,i,s)},M=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:c}=t,l=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!o&&!a||a&&a.$stable)||r!==s&&(r?!s||Bn(r,s,l):!!s);if(1024&c)return!0;if(16&c)return r?Bn(r,s,l):!!s;if(8&c){const e=t.dynamicProps;for(let t=0;tan&&sn.splice(t,1)}(r.update),r.update()}else t.el=e.el,r.vnode=t},L=(e,t,n,r,o,i,s)=>{const a=e.effect=new xe((()=>{if(e.isMounted){let t,{next:n,bu:r,u:a,parent:c,vnode:l}=e,u=n;0,Uo(e,!1),n?(n.el=l.el,j(e,n,s)):n=l,r&&re(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Oi(t,c,n,l),Uo(e,!0);const p=Ln(e);0;const d=e.subTree;e.subTree=p,g(d,p,f(d.el),K(d),e,o,i),n.el=p.el,null===u&&Vn(e,p.el),a&&Do(a,o),(t=n.props&&n.props.onVnodeUpdated)&&Do((()=>Oi(t,c,n,l)),o)}else{let s;const{el:a,props:c}=t,{bm:l,m:u,parent:f}=e,p=vr(t);if(Uo(e,!1),l&&re(l),!p&&(s=c&&c.onVnodeBeforeMount)&&Oi(s,f,t),Uo(e,!0),a&&ee){const n=()=>{e.subTree=Ln(e),ee(a,e.subTree,e,o,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const s=e.subTree=Ln(e);0,g(null,s,n,r,e,o,i),t.el=s.el}if(u&&Do(u,o),!p&&(s=c&&c.onVnodeMounted)){const e=t;Do((()=>Oi(s,f,e)),o)}(256&t.shapeFlag||f&&vr(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&Do(e.a,o),e.isMounted=!0,t=n=r=null}}),(()=>hn(c)),e.scope),c=e.update=()=>a.run();c.id=e.uid,Uo(e,!0),c()},j=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=At(o),[c]=e.propsOptions;let l=!1;if(!(r||s>0)||16&s){let r;yo(e,t,o,i)&&(l=!0);for(const i in a)t&&(R(t,i)||(r=X(i))!==i&&R(t,r))||(c?!n||void 0===n[i]&&void 0===n[r]||(o[i]=_o(c,a,i,void 0,e,!0)):delete o[i]);if(i!==a)for(const e in i)t&&R(t,e)||(delete i[e],l=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let r=0;r{const{vnode:r,slots:o}=e;let i=!0,s=S;if(32&r.shapeFlag){const e=t._;e?n&&1===e?i=!1:($(o,t),n||1!==e||delete o._):(i=!t.$stable,Oo(t,o)),s=t}else t&&(Po(e,t),s={default:1});if(i)for(const e in o)ko(e)||e in s||delete o[e]})(e,t.children,n),Oe(),vn(),Pe()},D=(e,t,n,r,o,i,s,a,c=!1)=>{const l=e&&e.children,f=e?e.shapeFlag:0,p=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void B(l,p,n,r,o,i,s,a,c);if(256&d)return void F(l,p,n,r,o,i,s,a,c)}8&h?(16&f&&H(l,o,i),p!==l&&u(n,p)):16&f?16&h?B(l,p,n,r,o,i,s,a,c):H(l,o,i,!0):(8&f&&u(n,""),16&h&&T(p,n,r,o,i,s,a,c))},F=(e,t,n,r,o,i,s,a,c)=>{t=t||C;const l=(e=e||C).length,u=t.length,f=Math.min(l,u);let p;for(p=0;pu?H(e,o,i,!0,!1,f):T(t,n,r,o,i,s,a,c,f)},B=(e,t,n,r,o,i,s,a,c)=>{let l=0;const u=t.length;let f=e.length-1,p=u-1;for(;l<=f&&l<=p;){const r=e[l],u=t[l]=c?ki(t[l]):Ci(t[l]);if(!fi(r,u))break;g(r,u,n,null,o,i,s,a,c),l++}for(;l<=f&&l<=p;){const r=e[f],l=t[p]=c?ki(t[p]):Ci(t[p]);if(!fi(r,l))break;g(r,l,n,null,o,i,s,a,c),f--,p--}if(l>f){if(l<=p){const e=p+1,f=ep)for(;l<=f;)U(e[l],o,i,!0),l++;else{const d=l,h=l,m=new Map;for(l=h;l<=p;l++){const e=t[l]=c?ki(t[l]):Ci(t[l]);null!=e.key&&m.set(e.key,l)}let v,y=0;const _=p-h+1;let b=!1,w=0;const x=new Array(_);for(l=0;l<_;l++)x[l]=0;for(l=d;l<=f;l++){const r=e[l];if(y>=_){U(r,o,i,!0);continue}let u;if(null!=r.key)u=m.get(r.key);else for(v=h;v<=p;v++)if(0===x[v-h]&&fi(r,t[v])){u=v;break}void 0===u?U(r,o,i,!0):(x[u-h]=l+1,u>=w?w=u:b=!0,g(r,t[u],n,null,o,i,s,a,c),y++)}const S=b?function(e){const t=e.slice(),n=[0];let r,o,i,s,a;const c=e.length;for(r=0;r>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(x):C;for(v=S.length-1,l=_-1;l>=0;l--){const e=h+l,f=t[e],p=e+1{const{el:s,type:a,transition:c,children:l,shapeFlag:u}=e;if(6&u)return void V(e.component.subTree,t,n,o);if(128&u)return void e.suspense.move(t,n,o);if(64&u)return void a.move(e,t,n,J);if(a===Jo){r(s,t,n);for(let e=0;e{let i;for(;e&&e!==t;)i=p(e),r(e,n,o),e=i;r(t,n,o)})(e,t,n);if(2!==o&&1&u&&c)if(0===o)c.beforeEnter(s),r(s,t,n),Do((()=>c.enter(s)),i);else{const{leave:e,delayLeave:o,afterLeave:i}=c,a=()=>r(s,t,n),l=()=>{e(s,(()=>{a(),i&&i()}))};o?o(s,a,l):l()}else r(s,t,n)},U=(e,t,n,r=!1,o=!1)=>{const{type:i,props:s,ref:a,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:f,dirs:p}=e;if(null!=a&&Ro(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const d=1&u&&p,h=!vr(e);let g;if(h&&(g=s&&s.onVnodeBeforeUnmount)&&Oi(g,t,e),6&u)q(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);d&&Ur(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,J,r):l&&(i!==Jo||f>0&&64&f)?H(l,t,n,!1,!0):(i===Jo&&384&f||!o&&16&u)&&H(c,t,n),r&&z(e)}(h&&(g=s&&s.onVnodeUnmounted)||d)&&Do((()=>{g&&Oi(g,t,e),d&&Ur(e,null,t,"unmounted")}),n)},z=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===Jo)return void W(n,r);if(t===Xo)return void _(e);const s=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:r}=i,o=()=>t(n,s);r?r(e.el,s,o):o()}else s()},W=(e,t)=>{let n;for(;e!==t;)n=p(e),o(e),e=n;o(t)},q=(e,t,n)=>{const{bum:r,scope:o,update:i,subTree:s,um:a}=e;r&&re(r),o.stop(),i&&(i.active=!1,U(s,e,t,n)),a&&Do(a,t),Do((()=>{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 s=i;s6&e.shapeFlag?K(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),Z=(e,t,n)=>{null==e?t._vnode&&U(t._vnode,null,null,!0):g(t._vnode||null,e,t,null,null,null,n),vn(),yn(),t._vnode=e},J={p:g,um:U,m:V,r:z,mt:N,mc:T,pc:D,pbc:O,n:K,o:e};let Q,ee;return t&&([Q,ee]=t(J)),{render:Z,hydrate:Q,createApp:Io(Z,Q)}}function Uo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function zo(e,t,n=!1){const r=e.children,o=t.children;if(N(r)&&N(o))for(let e=0;ee&&(e.disabled||""===e.disabled),qo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Ho=(e,t)=>{const n=e&&e.to;if(F(n)){if(t){const e=t(n);return e}return null}return n};function Go(e,t,n,{o:{insert:r},m:o},i=2){0===i&&r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:c,children:l,props:u}=e,f=2===i;if(f&&r(s,t,n),(!f||Wo(u))&&16&c)for(let e=0;e{16&y&&u(_,e,t,o,i,s,a,c)};v?m(n,l):f&&m(f,p)}else{t.el=e.el;const r=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,g=Wo(e.props),m=g?n:u,y=g?r:d;if(s=s||qo(u),b?(p(e.dynamicChildren,b,m,o,i,s,a),zo(e,t,!0)):c||f(e,t,m,y,o,i,s,a,!1),v)g||Go(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Ho(t.props,h);e&&Go(t,e,null,l,0)}else g&&Go(t,u,d,l,1)}Zo(t)},remove(e,t,n,r,{um:o,o:{remove:i}},s){const{shapeFlag:a,children:c,anchor:l,targetAnchor:u,target:f,props:p}=e;if(f&&i(u),(s||!Wo(p))&&(i(l),16&a))for(let e=0;e0?ti||C:null,ri(),ii>0&&ti&&ti.push(e),e}function ci(e,t,n,r,o,i){return ai(mi(e,t,n,r,o,i,!0))}function li(e,t,n,r,o){return ai(vi(e,t,n,r,o,!0))}function ui(e){return!!e&&!0===e.__v_isVNode}function fi(e,t){return e.type===t.type&&e.key===t.key}function pi(e){oi=e}const di="__vInternal",hi=({key:e})=>null!=e?e:null,gi=({ref:e,ref_key:t,ref_for:n})=>null!=e?F(e)||jt(e)||D(e)?{i:Pn,r:e,k:t,f:!!n}:e:null;function mi(e,t=null,n=null,r=0,o=null,i=(e===Jo?0:1),s=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&hi(t),ref:t&&gi(t),scopeId:$n,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Pn};return a?(Ti(c,n),128&i&&e.normalize(c)):n&&(c.shapeFlag|=F(n)?8:16),ii>0&&!s&&ti&&(c.patchFlag>0||6&i)&&32!==c.patchFlag&&ti.push(c),c}const vi=yi;function yi(e,t=null,n=null,r=0,o=null,i=!1){if(e&&e!==qr||(e=Qo),ui(e)){const r=bi(e,t,!0);return n&&Ti(r,n),ii>0&&!i&&ti&&(6&r.shapeFlag?ti[ti.indexOf(e)]=r:ti.push(r)),r.patchFlag|=-2,r}if(Ki(e)&&(e=e.__vccOpts),t){t=_i(t);let{class:e,style:n}=t;e&&!F(e)&&(t.class=f(e)),V(n)&&($t(n)&&!N(n)&&(n=$({},n)),t.style=s(n))}return mi(e,t,n,r,o,F(e)?1:Un(e)?128:(e=>e.__isTeleport)(e)?64:V(e)?4:D(e)?2:0,i,!0)}function _i(e){return e?$t(e)||di in e?$({},e):e:null}function bi(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=e,a=t?Ei(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&hi(a),ref:t&&t.ref?n&&o?N(o)?o.concat(gi(t)):[o,gi(t)]:gi(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Jo?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bi(e.ssContent),ssFallback:e.ssFallback&&bi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function wi(e=" ",t=0){return vi(Yo,null,e,t)}function xi(e,t){const n=vi(Xo,null,e);return n.staticCount=t,n}function Si(e="",t=!1){return t?(ni(),li(Qo,null,e)):vi(Qo,null,e)}function Ci(e){return null==e||"boolean"==typeof e?vi(Qo):N(e)?vi(Jo,null,e.slice()):"object"==typeof e?ki(e):vi(Yo,null,String(e))}function ki(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:bi(e)}function Ti(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(N(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),Ti(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||di in t?3===r&&Pn&&(1===Pn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Pn}}else D(t)?(t={default:t,_ctx:Pn},n=32):(t=String(t),64&r?(n=16,t=[wi(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ei(...e){const t={};for(let n=0;nIi||Pn,Ni=e=>{Ii=e,e.scope.on()},Mi=()=>{Ii&&Ii.scope.off(),Ii=null};function Li(e){return 4&e.vnode.shapeFlag}let ji,Di,Fi=!1;function Bi(e,t=!1){Fi=t;const{props:n,children:r}=e.vnode,o=Li(e);!function(e,t,n,r=!1){const o={},i={};oe(i,di,1),e.propsDefaults=Object.create(null),yo(e,t,o,i);for(const t in e.propsOptions[0])t in o||(o[t]=void 0);n?e.props=r?o:St(o):e.type.props?e.props=o:e.props=i,e.attrs=i}(e,n,o,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=At(t),oe(t,"_",n)):Oo(t,e.slots={})}else e.slots={},t&&Po(e,t);oe(e.slots,di,1)})(e,r);const i=o?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=It(new Proxy(e.ctx,oo)),!1;const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?qi(e):null;Ni(e),Oe();const o=en(r,e,0,[e.props,n]);if(Pe(),Mi(),U(o)){if(o.then(Mi,Mi),t)return o.then((n=>{Vi(e,n,t)})).catch((t=>{nn(t,e,0)}));e.asyncDep=o}else Vi(e,o,t)}else Wi(e,t)}(e,t):void 0;return Fi=!1,i}function Vi(e,t,n){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:V(t)&&(e.setupState=qt(t)),Wi(e,n)}function Ui(e){ji=e,Di=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,io))}}const zi=()=>!ji;function Wi(e,t,n){const r=e.type;if(!e.render){if(!t&&ji&&!r.render){const t=r.template||uo(e).template;if(t){0;const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:i,compilerOptions:s}=r,a=$($({isCustomElement:n,delimiters:i},o),s);r.render=ji(t,a)}}e.render=r.render||k,Di&&Di(e)}Ni(e),Oe(),ao(e),Pe(),Mi()}function qi(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>($e(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}function Hi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(qt(It(e.exposed)),{get:(t,n)=>n in t?t[n]:n in no?no[n](e):void 0,has:(e,t)=>t in e||t in no}))}function Gi(e,t=!0){return D(e)?e.displayName||e.name:e.name||t&&e.__name}function Ki(e){return D(e)&&"__vccOpts"in e}const Zi=(e,t)=>function(e,t,n=!1){let r,o;const i=D(e);return i?(r=e,o=k):(r=e.get,o=e.set),new Qt(r,o,i||!o,n)}(e,0,Fi);function Ji(){return null}function Yi(){return null}function Qi(e){0}function Xi(e,t){return null}function es(){return ns().slots}function ts(){return ns().attrs}function ns(){const e=Ri();return e.setupContext||(e.setupContext=qi(e))}function rs(e,t){const n=N(e)?e.reduce(((e,t)=>(e[t]={},e)),{}):e;for(const e in t){const r=n[e];r?N(r)||D(r)?n[e]={type:r,default:t[e]}:r.default=t[e]:null===r&&(n[e]={default:t[e]})}return n}function os(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function is(e){const t=Ri();let n=e();return Mi(),U(n)&&(n=n.catch((e=>{throw Ni(t),e}))),[n,()=>Ni(t)]}function ss(e,t,n){const r=arguments.length;return 2===r?V(t)&&!N(t)?ui(t)?vi(e,null,[t]):vi(e,t):vi(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&ui(n)&&(n=[n]),vi(e,t,n))}const as=Symbol(""),cs=()=>{{const e=Jn(as);return e}};function ls(){return void 0}function us(e,t,n,r){const o=n[r];if(o&&fs(o,e))return o;const i=t();return i.memo=e.slice(),n[r]=i}function fs(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e0&&ti&&ti.push(e),!0}const ps="3.2.45",ds={createComponentInstance:Ai,setupComponent:Bi,renderComponentRoot:Ln,setCurrentRenderingInstance:An,isVNode:ui,normalizeVNode:Ci},hs=null,gs=null,ms="undefined"!=typeof document?document:null,vs=ms&&ms.createElement("template"),ys={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=t?ms.createElementNS("http://www.w3.org/2000/svg",e):ms.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>ms.createTextNode(e),createComment:e=>ms.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ms.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==i&&(o=o.nextSibling););else{vs.innerHTML=r?`${e}`:e;const o=vs.content;if(r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};const _s=/\s*!important$/;function bs(e,t,n){if(N(n))n.forEach((n=>bs(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=xs[t];if(n)return n;let r=Y(t);if("filter"!==r&&r in e)return xs[t]=r;r=ee(r);for(let n=0;n{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();tn(function(e,t){if(N(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=(()=>Es||(Os.then((()=>Es=0)),Es=Date.now()))(),n}(r,o);Cs(e,n,s,a)}else s&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,s,a),i[t]=void 0)}}const Ts=/(?:Once|Passive|Capture)$/;let Es=0;const Os=Promise.resolve();const Ps=/^on[a-z]/;function $s(e,t){const n=mr(e);class r extends Rs{constructor(e){super(n,e,t)}}return r.def=n,r}const As=e=>$s(e,La),Is="undefined"!=typeof HTMLElement?HTMLElement:class{};class Rs extends Is{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,dn((()=>{this._connected||(Ma(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){this._resolved=!0;for(let e=0;e{for(const t of e)this._setAttr(t.attributeName)})).observe(this,{attributes:!0});const e=(e,t=!1)=>{const{props:n,styles:r}=e;let o;if(n&&!N(n))for(const e in n){const t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=ie(this._props[e])),(o||(o=Object.create(null)))[Y(e)]=!0)}this._numberProps=o,t&&this._resolveProps(e),this._applyStyles(r),this._update()},t=this._def.__asyncLoader;t?t().then((t=>e(t,!0))):e(this._def)}_resolveProps(e){const{props:t}=e,n=N(t)?t:Object.keys(t||{});for(const e of Object.keys(this))"_"!==e[0]&&n.includes(e)&&this._setProp(e,this[e],!0,!1);for(const e of n.map(Y))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t)}})}_setAttr(e){let t=this.getAttribute(e);const n=Y(e);this._numberProps&&this._numberProps[n]&&(t=ie(t)),this._setProp(n,t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!0){t!==this._props[e]&&(this._props[e]=t,r&&this._instance&&this._update(),n&&(!0===t?this.setAttribute(X(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(X(e),t+""):t||this.removeAttribute(X(e))))}_update(){Ma(this._createVNode(),this.shadowRoot)}_createVNode(){const e=vi(this._def,$({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};e.emit=(e,...n)=>{t(e,n),X(e)!==e&&t(X(e),n)};let n=this;for(;n=n&&(n.parentNode||n.host);)if(n instanceof Rs){e.parent=n._instance,e.provides=n._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}))}}function Ns(e="$style"){{const t=Ri();if(!t)return S;const n=t.type.__cssModules;if(!n)return S;const r=n[e];return r||S}}function Ms(e){const t=Ri();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>js(e,n)))},r=()=>{const r=e(t.proxy);Ls(t.subTree,r),n(r)};Qn(r),Ir((()=>{const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),Lr((()=>e.disconnect()))}))}function Ls(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{Ls(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)js(e.el,t);else if(e.type===Jo)e.children.forEach((e=>Ls(e,t)));else if(e.type===Xo){let{el:n,anchor:r}=e;for(;n&&(js(n,t),n!==r);)n=n.nextSibling}}function js(e,t){if(1===e.nodeType){const n=e.style;for(const e in t)n.setProperty(`--${e}`,t[e])}}const Ds="transition",Fs="animation",Bs=(e,{slots:t})=>ss(lr,qs(e),t);Bs.displayName="Transition";const Vs={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},Us=Bs.props=$({},lr.props,Vs),zs=(e,t=[])=>{N(e)?e.forEach((e=>e(...t))):e&&e(...t)},Ws=e=>!!e&&(N(e)?e.some((e=>e.length>1)):e.length>1);function qs(e){const t={};for(const n in e)n in Vs||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:l=s,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,h=function(e){if(null==e)return null;if(V(e))return[Hs(e.enter),Hs(e.leave)];{const t=Hs(e);return[t,t]}}(o),g=h&&h[0],m=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:_,onLeave:b,onLeaveCancelled:w,onBeforeAppear:x=v,onAppear:S=y,onAppearCancelled:C=_}=t,k=(e,t,n)=>{Ks(e,t?u:a),Ks(e,t?l:s),n&&n()},T=(e,t)=>{e._isLeaving=!1,Ks(e,f),Ks(e,d),Ks(e,p),t&&t()},E=e=>(t,n)=>{const o=e?S:y,s=()=>k(t,e,n);zs(o,[t,s]),Zs((()=>{Ks(t,e?c:i),Gs(t,e?u:a),Ws(o)||Ys(t,r,g,s)}))};return $(t,{onBeforeEnter(e){zs(v,[e]),Gs(e,i),Gs(e,s)},onBeforeAppear(e){zs(x,[e]),Gs(e,c),Gs(e,l)},onEnter:E(!1),onAppear:E(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>T(e,t);Gs(e,f),ta(),Gs(e,p),Zs((()=>{e._isLeaving&&(Ks(e,f),Gs(e,d),Ws(b)||Ys(e,r,m,n))})),zs(b,[e,n])},onEnterCancelled(e){k(e,!1),zs(_,[e])},onAppearCancelled(e){k(e,!0),zs(C,[e])},onLeaveCancelled(e){T(e),zs(w,[e])}})}function Hs(e){return ie(e)}function Gs(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function Ks(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Zs(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Js=0;function Ys(e,t,n,r){const o=e._endId=++Js,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:c}=Qs(e,t);if(!s)return r();const l=s+"end";let u=0;const f=()=>{e.removeEventListener(l,p),i()},p=t=>{t.target===e&&++u>=c&&f()};setTimeout((()=>{u(n[e]||"").split(", "),o=r(`${Ds}Delay`),i=r(`${Ds}Duration`),s=Xs(o,i),a=r(`${Fs}Delay`),c=r(`${Fs}Duration`),l=Xs(a,c);let u=null,f=0,p=0;t===Ds?s>0&&(u=Ds,f=s,p=i.length):t===Fs?l>0&&(u=Fs,f=l,p=c.length):(f=Math.max(s,l),u=f>0?s>l?Ds:Fs:null,p=u?u===Ds?i.length:c.length:0);return{type:u,timeout:f,propCount:p,hasTransform:u===Ds&&/\b(transform|all)(,|$)/.test(r(`${Ds}Property`).toString())}}function Xs(e,t){for(;e.lengthea(t)+ea(e[n]))))}function ea(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ta(){return document.body.offsetHeight}const na=new WeakMap,ra=new WeakMap,oa={name:"TransitionGroup",props:$({},Us,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ri(),r=sr();let o,i;return Nr((()=>{if(!o.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.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 o=1===t.nodeType?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=Qs(r);return o.removeChild(r),i}(o[0].el,n.vnode.el,t))return;o.forEach(sa),o.forEach(aa);const r=o.filter(ca);ta(),r.forEach((e=>{const n=e.el,r=n.style;Gs(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n._moveCb=null,Ks(n,t))};n.addEventListener("transitionend",o)}))})),()=>{const s=At(e),a=qs(s);let c=s.tag||Jo;o=i,i=t.default?gr(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"]||!1;return N(t)?e=>re(t,e):t};function ua(e){e.target.composing=!0}function fa(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const pa={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=la(o);const i=r||o.props&&"number"===o.props.type;Cs(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),i&&(r=ie(r)),e._assign(r)})),n&&Cs(e,"change",(()=>{e.value=e.value.trim()})),t||(Cs(e,"compositionstart",ua),Cs(e,"compositionend",fa),Cs(e,"change",fa))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},i){if(e._assign=la(i),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(n)return;if(r&&e.value.trim()===t)return;if((o||"number"===e.type)&&ie(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},da={deep:!0,created(e,t,n){e._assign=la(n),Cs(e,"change",(()=>{const t=e._modelValue,n=ya(e),r=e.checked,o=e._assign;if(N(t)){const e=b(t,n),i=-1!==e;if(r&&!i)o(t.concat(n));else if(!r&&i){const n=[...t];n.splice(e,1),o(n)}}else if(L(t)){const e=new Set(t);r?e.add(n):e.delete(n),o(e)}else o(_a(e,r))}))},mounted:ha,beforeUpdate(e,t,n){e._assign=la(n),ha(e,t,n)}};function ha(e,{value:t,oldValue:n},r){e._modelValue=t,N(t)?e.checked=b(t,r.props.value)>-1:L(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=_(t,_a(e,!0)))}const ga={created(e,{value:t},n){e.checked=_(t,n.props.value),e._assign=la(n),Cs(e,"change",(()=>{e._assign(ya(e))}))},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=la(r),t!==n&&(e.checked=_(t,r.props.value))}},ma={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=L(t);Cs(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?ie(ya(e)):ya(e)));e._assign(e.multiple?o?new Set(t):t:t[0])})),e._assign=la(r)},mounted(e,{value:t}){va(e,t)},beforeUpdate(e,t,n){e._assign=la(n)},updated(e,{value:t}){va(e,t)}};function va(e,t){const n=e.multiple;if(!n||N(t)||L(t)){for(let r=0,o=e.options.length;r-1:o.selected=t.has(i);else if(_(ya(o),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ya(e){return"_value"in e?e._value:e.value}function _a(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ba={created(e,t,n){xa(e,t,n,null,"created")},mounted(e,t,n){xa(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){xa(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){xa(e,t,n,r,"updated")}};function wa(e,t){switch(e){case"SELECT":return ma;case"TEXTAREA":return pa;default:switch(t){case"checkbox":return da;case"radio":return ga;default:return pa}}}function xa(e,t,n,r,o){const i=wa(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}const Sa=["ctrl","shift","alt","meta"],Ca={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)=>Sa.some((n=>e[`${n}Key`]&&!t.includes(n)))},ka=(e,t)=>(n,...r)=>{for(let e=0;en=>{if(!("key"in n))return;const r=X(n.key);return t.some((e=>e===r||Ta[e]===r))?e(n):void 0},Oa={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Pa(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),Pa(e,!0),r.enter(e)):r.leave(e,(()=>{Pa(e,!1)})):Pa(e,t))},beforeUnmount(e,{value:t}){Pa(e,t)}};function Pa(e,t){e.style.display=t?e._vod:"none"}const $a=$({patchProp:(e,t,n,r,o=!1,i,s,a,c)=>{"class"===t?function(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,o):"style"===t?function(e,t,n){const r=e.style,o=F(n);if(n&&!o){for(const e in n)bs(r,e,n[e]);if(t&&!F(t))for(const e in t)null==n[e]&&bs(r,e,"")}else{const i=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}(e,n,r):O(t)?P(t)||ks(e,t,0,r,s):("."===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&&Ps.test(t)&&D(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(Ps.test(t)&&F(n))return!1;return t in e}(e,t,r,o))?function(e,t,n,r,o,i,s){if("innerHTML"===t||"textContent"===t)return r&&s(r,o,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const r=null==n?"":n;return e.value===r&&"OPTION"!==e.tagName||(e.value=r),void(null==n&&e.removeAttribute(t))}let a=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=y(n):null==n&&"string"===r?(n="",a=!0):"number"===r&&(n=0,a=!0)}try{e[t]=n}catch(e){}a&&e.removeAttribute(t)}(e,t,r,i,s,a,c):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r,o){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Ss,t.slice(6,t.length)):e.setAttributeNS(Ss,t,n);else{const r=v(t);null==n||r&&!y(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,o))}},ys);let Aa,Ia=!1;function Ra(){return Aa||(Aa=Fo($a))}function Na(){return Aa=Ia?Aa:Bo($a),Ia=!0,Aa}const Ma=(...e)=>{Ra().render(...e)},La=(...e)=>{Na().hydrate(...e)},ja=(...e)=>{const t=Ra().createApp(...e);const{mount:n}=t;return t.mount=e=>{const r=Fa(e);if(!r)return;const o=t._component;D(o)||o.render||o.template||(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},Da=(...e)=>{const t=Na().createApp(...e);const{mount:n}=t;return t.mount=e=>{const t=Fa(e);if(t)return n(t,!0,t instanceof SVGElement)},t};function Fa(e){if(F(e)){return document.querySelector(e)}return e}let Ba=!1;const Va=()=>{Ba||(Ba=!0,pa.getSSRProps=({value:e})=>({value:e}),ga.getSSRProps=({value:e},t)=>{if(t.props&&_(t.props.value,e))return{checked:!0}},da.getSSRProps=({value:e},t)=>{if(N(e)){if(t.props&&b(e,t.props.value)>-1)return{checked:!0}}else if(L(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},ba.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const n=wa(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0},Oa.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})};function Ua(e){throw e}function za(e){}function Wa(e,t,n,r){const o=new SyntaxError(String(e));return o.code=e,o.loc=t,o}const qa=Symbol(""),Ha=Symbol(""),Ga=Symbol(""),Ka=Symbol(""),Za=Symbol(""),Ja=Symbol(""),Ya=Symbol(""),Qa=Symbol(""),Xa=Symbol(""),ec=Symbol(""),tc=Symbol(""),nc=Symbol(""),rc=Symbol(""),oc=Symbol(""),ic=Symbol(""),sc=Symbol(""),ac=Symbol(""),cc=Symbol(""),lc=Symbol(""),uc=Symbol(""),fc=Symbol(""),pc=Symbol(""),dc=Symbol(""),hc=Symbol(""),gc=Symbol(""),mc=Symbol(""),vc=Symbol(""),yc=Symbol(""),_c=Symbol(""),bc=Symbol(""),wc=Symbol(""),xc=Symbol(""),Sc=Symbol(""),Cc=Symbol(""),kc=Symbol(""),Tc=Symbol(""),Ec=Symbol(""),Oc=Symbol(""),Pc=Symbol(""),$c={[qa]:"Fragment",[Ha]:"Teleport",[Ga]:"Suspense",[Ka]:"KeepAlive",[Za]:"BaseTransition",[Ja]:"openBlock",[Ya]:"createBlock",[Qa]:"createElementBlock",[Xa]:"createVNode",[ec]:"createElementVNode",[tc]:"createCommentVNode",[nc]:"createTextVNode",[rc]:"createStaticVNode",[oc]:"resolveComponent",[ic]:"resolveDynamicComponent",[sc]:"resolveDirective",[ac]:"resolveFilter",[cc]:"withDirectives",[lc]:"renderList",[uc]:"renderSlot",[fc]:"createSlots",[pc]:"toDisplayString",[dc]:"mergeProps",[hc]:"normalizeClass",[gc]:"normalizeStyle",[mc]:"normalizeProps",[vc]:"guardReactiveProps",[yc]:"toHandlers",[_c]:"camelize",[bc]:"capitalize",[wc]:"toHandlerKey",[xc]:"setBlockTracking",[Sc]:"pushScopeId",[Cc]:"popScopeId",[kc]:"withCtx",[Tc]:"unref",[Ec]:"isRef",[Oc]:"withMemo",[Pc]:"isMemoSame"};const Ac={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ic(e,t,n,r,o,i,s,a=!1,c=!1,l=!1,u=Ac){return e&&(a?(e.helper(Ja),e.helper(al(e.inSSR,l))):e.helper(sl(e.inSSR,l)),s&&e.helper(cc)),{type:13,tag:t,props:n,children:r,patchFlag:o,dynamicProps:i,directives:s,isBlock:a,disableTracking:c,isComponent:l,loc:u}}function Rc(e,t=Ac){return{type:17,loc:t,elements:e}}function Nc(e,t=Ac){return{type:15,loc:t,properties:e}}function Mc(e,t){return{type:16,loc:Ac,key:F(e)?Lc(e,!0):e,value:t}}function Lc(e,t=!1,n=Ac,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function jc(e,t=Ac){return{type:8,loc:t,children:e}}function Dc(e,t=[],n=Ac){return{type:14,loc:n,callee:e,arguments:t}}function Fc(e,t,n=!1,r=!1,o=Ac){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:o}}function Bc(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:Ac}}const Vc=e=>4===e.type&&e.isStatic,Uc=(e,t)=>e===t||e===X(t);function zc(e){return Uc(e,"Teleport")?Ha:Uc(e,"Suspense")?Ga:Uc(e,"KeepAlive")?Ka:Uc(e,"BaseTransition")?Za:void 0}const Wc=/^\d|[^\$\w]/,qc=e=>!Wc.test(e),Hc=/[A-Za-z_$\xA0-\uFFFF]/,Gc=/[\.\?\w$\xA0-\uFFFF]/,Kc=/\s+[.[]\s*|\s*[.[]\s+/g,Zc=e=>{e=e.trim().replace(Kc,(e=>e.trim()));let t=0,n=[],r=0,o=0,i=null;for(let s=0;s4===e.key.type&&e.key.content===r))}return n}function pl(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function dl(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(sl(r,e.isComponent)),t(Ja),t(al(r,e.isComponent)))}function hl(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,r=n&&n[e];return"MODE"===e?r||3:r}function gl(e,t){const n=hl("MODE",t),r=hl(e,t);return 3===n?!0===r:!1!==r}function ml(e,t,n,...r){return gl(e,t)}const vl=/&(gt|lt|amp|apos|quot);/g,yl={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},_l={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:T,isPreTag:T,isCustomElement:T,decodeEntities:e=>e.replace(vl,((e,t)=>yl[t])),onError:Ua,onWarn:za,comments:!1};function bl(e,t={}){const n=function(e,t){const n=$({},_l);let r;for(r in t)n[r]=void 0===t[r]?_l[r]:t[r];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),r=Nl(n);return function(e,t=Ac){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(wl(n,0,[]),Ml(n,r))}function wl(e,t,n){const r=Ll(n),o=r?r.ns:0,i=[];for(;!Ul(e,t,n);){const s=e.source;let a;if(0===t||1===t)if(!e.inVPre&&jl(s,e.options.delimiters[0]))a=Al(e,t);else if(0===t&&"<"===s[0])if(1===s.length)Vl(e,5,1);else if("!"===s[1])jl(s,"\x3c!--")?a=Cl(e):jl(s,""===s[2]){Vl(e,14,2),Dl(e,3);continue}if(/[a-z]/i.test(s[2])){Vl(e,23),Ol(e,1,r);continue}Vl(e,12,2),a=kl(e)}else/[a-z]/i.test(s[1])?(a=Tl(e,n),gl("COMPILER_NATIVE_TEMPLATE",e)&&a&&"template"===a.tag&&!a.props.some((e=>7===e.type&&El(e.name)))&&(a=a.children)):"?"===s[1]?(Vl(e,21,1),a=kl(e)):Vl(e,12,1);if(a||(a=Il(e,t)),N(a))for(let e=0;e/.exec(e.source);if(r){r.index<=3&&Vl(e,0),r[1]&&Vl(e,10),n=e.source.slice(4,r.index);const t=e.source.slice(0,r.index);let o=1,i=0;for(;-1!==(i=t.indexOf("\x3c!--",o));)Dl(e,i-o+1),i+4");return-1===o?(r=e.source.slice(n),Dl(e,e.source.length)):(r=e.source.slice(n,o),Dl(e,o+1)),{type:3,content:r,loc:Ml(e,t)}}function Tl(e,t){const n=e.inPre,r=e.inVPre,o=Ll(t),i=Ol(e,0,o),s=e.inPre&&!n,a=e.inVPre&&!r;if(i.isSelfClosing||e.options.isVoidTag(i.tag))return s&&(e.inPre=!1),a&&(e.inVPre=!1),i;t.push(i);const c=e.options.getTextMode(i,o),l=wl(e,c,t);t.pop();{const t=i.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&ml("COMPILER_INLINE_TEMPLATE",e,t.loc)){const n=Ml(e,i.loc.end);t.value={type:2,content:n.source,loc:n}}}if(i.children=l,zl(e.source,i.tag))Ol(e,1,o);else if(Vl(e,24,0,i.loc.start),0===e.source.length&&"script"===i.tag.toLowerCase()){const t=l[0];t&&jl(t.loc.source,"\x3c!--")&&Vl(e,8)}return i.loc=Ml(e,i.loc.start),s&&(e.inPre=!1),a&&(e.inVPre=!1),i}const El=o("if,else,else-if,for,slot");function Ol(e,t,n){const r=Nl(e),o=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),i=o[1],s=e.options.getNamespace(i,n);Dl(e,o[0].length),Fl(e);const a=Nl(e),c=e.source;e.options.isPreTag(i)&&(e.inPre=!0);let l=Pl(e,t);0===t&&!e.inVPre&&l.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,$(e,a),e.source=c,l=Pl(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;if(0===e.source.length?Vl(e,9):(u=jl(e.source,"/>"),1===t&&u&&Vl(e,4),Dl(e,u?2:1)),1===t)return;let f=0;return e.inVPre||("slot"===i?f=2:"template"===i?l.some((e=>7===e.type&&El(e.name)))&&(f=3):function(e,t,n){const r=n.options;if(r.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||zc(e)||r.isBuiltInComponent&&r.isBuiltInComponent(e)||r.isNativeTag&&!r.isNativeTag(e))return!0;for(let e=0;e0&&!jl(e.source,">")&&!jl(e.source,"/>");){if(jl(e.source,"/")){Vl(e,22),Dl(e,1),Fl(e);continue}1===t&&Vl(e,3);const o=$l(e,r);6===o.type&&o.value&&"class"===o.name&&(o.value.content=o.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(o),/^[^\t\r\n\f />]/.test(e.source)&&Vl(e,15),Fl(e)}return n}function $l(e,t){const n=Nl(e),r=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(r)&&Vl(e,2),t.add(r),"="===r[0]&&Vl(e,19);{const t=/["'<]/g;let n;for(;n=t.exec(r);)Vl(e,17,n.index)}let o;Dl(e,r.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Fl(e),Dl(e,1),Fl(e),o=function(e){const t=Nl(e);let n;const r=e.source[0],o='"'===r||"'"===r;if(o){Dl(e,1);const t=e.source.indexOf(r);-1===t?n=Rl(e,e.source.length,4):(n=Rl(e,t,4),Dl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const r=/["'<=`]/g;let o;for(;o=r.exec(t[0]);)Vl(e,18,o.index);n=Rl(e,t[0].length,4)}return{content:n,isQuoted:o,loc:Ml(e,t)}}(e),o||Vl(e,13));const i=Ml(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(r)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(r);let s,a=jl(r,"."),c=t[1]||(a||jl(r,":")?"bind":jl(r,"@")?"on":"slot");if(t[2]){const o="slot"===c,i=r.lastIndexOf(t[2]),a=Ml(e,Bl(e,n,i),Bl(e,n,i+t[2].length+(o&&t[3]||"").length));let l=t[2],u=!0;l.startsWith("[")?(u=!1,l.endsWith("]")?l=l.slice(1,l.length-1):(Vl(e,27),l=l.slice(1))):o&&(l+=t[3]||""),s={type:4,content:l,isStatic:u,constType:u?3:0,loc:a}}if(o&&o.isQuoted){const e=o.loc;e.start.offset++,e.start.column++,e.end=Yc(e.start,o.content),e.source=e.source.slice(1,-1)}const l=t[3]?t[3].slice(1).split("."):[];return a&&l.push("prop"),"bind"===c&&s&&l.includes("sync")&&ml("COMPILER_V_BIND_SYNC",e,0,s.loc.source)&&(c="model",l.splice(l.indexOf("sync"),1)),{type:7,name:c,exp:o&&{type:4,content:o.content,isStatic:!1,constType:0,loc:o.loc},arg:s,modifiers:l,loc:i}}return!e.inVPre&&jl(r,"v-")&&Vl(e,26),{type:6,name:r,value:o&&{type:2,content:o.content,loc:o.loc},loc:i}}function Al(e,t){const[n,r]=e.options.delimiters,o=e.source.indexOf(r,n.length);if(-1===o)return void Vl(e,25);const i=Nl(e);Dl(e,n.length);const s=Nl(e),a=Nl(e),c=o-n.length,l=e.source.slice(0,c),u=Rl(e,c,t),f=u.trim(),p=u.indexOf(f);p>0&&Qc(s,l,p);return Qc(a,l,c-(u.length-f.length-p)),Dl(e,r.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:f,loc:Ml(e,s,a)},loc:Ml(e,i)}}function Il(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let r=e.source.length;for(let t=0;to&&(r=o)}const o=Nl(e);return{type:2,content:Rl(e,r,t),loc:Ml(e,o)}}function Rl(e,t,n){const r=e.source.slice(0,t);return Dl(e,t),2!==n&&3!==n&&r.includes("&")?e.options.decodeEntities(r,4===n):r}function Nl(e){const{column:t,line:n,offset:r}=e;return{column:t,line:n,offset:r}}function Ml(e,t,n){return{start:t,end:n=n||Nl(e),source:e.originalSource.slice(t.offset,n.offset)}}function Ll(e){return e[e.length-1]}function jl(e,t){return e.startsWith(t)}function Dl(e,t){const{source:n}=e;Qc(e,n,t),e.source=n.slice(t)}function Fl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Dl(e,t[0].length)}function Bl(e,t,n){return Yc(t,e.originalSource.slice(t.offset,n),n)}function Vl(e,t,n,r=Nl(e)){n&&(r.offset+=n,r.column+=n),e.options.onError(Wa(t,{start:r,end:r,source:""}))}function Ul(e,t,n){const r=e.source;switch(t){case 0:if(jl(r,"=0;--e)if(zl(r,n[e].tag))return!0;break;case 1:case 2:{const e=Ll(n);if(e&&zl(r,e.tag))return!0;break}case 3:if(jl(r,"]]>"))return!0}return!r}function zl(e,t){return jl(e,"]/.test(e[2+t.length]||">")}function Wl(e,t){Hl(e,t,ql(e,e.children[0]))}function ql(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!il(t)}function Hl(e,t,n=!1){const{children:r}=e,o=r.length;let i=0;for(let e=0;e0){if(e>=2){o.codegenNode.patchFlag="-1",o.codegenNode=t.hoist(o.codegenNode),i++;continue}}else{const e=o.codegenNode;if(13===e.type){const n=Ql(e);if((!n||512===n||1===n)&&Jl(o,t)>=2){const n=Yl(o);n&&(e.props=t.hoist(n))}e.dynamicProps&&(e.dynamicProps=t.hoist(e.dynamicProps))}}}if(1===o.type){const e=1===o.tagType;e&&t.scopes.vSlot++,Hl(o,t),e&&t.scopes.vSlot--}else if(11===o.type)Hl(o,t,1===o.children.length);else if(9===o.type)for(let e=0;e1)for(let o=0;o`_${$c[C.helper(e)]}`,replaceNode(e){C.parent.children[C.childIndex]=C.currentNode=e},removeNode(e){const t=C.parent.children,n=e?t.indexOf(e):C.currentNode?C.childIndex:-1;e&&e!==C.currentNode?C.childIndex>n&&(C.childIndex--,C.onNodeRemoved()):(C.currentNode=null,C.onNodeRemoved()),C.parent.children.splice(n,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){F(e)&&(e=Lc(e)),C.hoists.push(e);const t=Lc(`_hoisted_${C.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Ac}}(C.cached++,e,t)};return C.filters=new Set,C}function eu(e,t){const n=Xl(e,t);tu(e,n),t.hoistStatic&&Wl(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:r}=e;if(1===r.length){const n=r[0];if(ql(e,n)&&n.codegenNode){const r=n.codegenNode;13===r.type&&dl(r,t),e.codegenNode=r}else e.codegenNode=n}else if(r.length>1){let r=64;0,e.codegenNode=Ic(t,n(qa),void 0,e.children,r+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...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.filters=[...n.filters]}function tu(e,t){t.currentNode=e;const{nodeTransforms:n}=t,r=[];for(let o=0;o{n--};for(;nt===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:o}=e;if(3===e.tagType&&o.some(rl))return;const i=[];for(let s=0;s`${$c[e]}: _${$c[e]}`;function iu(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:s=!1,runtimeGlobalName:a="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:l="vue/server-renderer",ssr:u=!1,isTS:f=!1,inSSR:p=!1}){const d={mode:t,prefixIdentifiers:n,sourceMap:r,filename:o,scopeId:i,optimizeImports:s,runtimeGlobalName:a,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:u,isTS:f,inSSR:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${$c[e]}`,push(e,t){d.code+=e},indent(){h(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:h(--d.indentLevel)},newline(){h(d.indentLevel)}};function h(e){d.push("\n"+" ".repeat(e))}return d}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:o,prefixIdentifiers:i,indent:s,deindent:a,newline:c,scopeId:l,ssr:u}=n,f=e.helpers.length>0,p=!i&&"module"!==r;!function(e,t){const{ssr:n,prefixIdentifiers:r,push:o,newline:i,runtimeModuleName:s,runtimeGlobalName:a,ssrRuntimeModuleName:c}=t,l=a;if(e.helpers.length>0&&(o(`const _Vue = ${l}\n`),e.hoists.length)){o(`const { ${[Xa,ec,tc,nc,rc].filter((t=>e.helpers.includes(t))).map(ou).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r,helper:o,scopeId:i,mode:s}=t;r();for(let o=0;o0)&&c()),e.directives.length&&(su(e.directives,"directive",n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),su(e.filters,"filter",n),c()),e.temps>0){o("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(o("\n"),c()),u||o("return "),e.codegenNode?lu(e.codegenNode,n):o("null"),p&&(a(),o("}")),a(),o("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function su(e,t,{helper:n,push:r,newline:o,isTS:i}){const s=n("filter"===t?ac:"component"===t?oc:sc);for(let n=0;n3||!1;t.push("["),n&&t.indent(),cu(e,t,n),n&&t.deindent(),t.push("]")}function cu(e,t,n=!1,r=!0){const{push:o,newline:i}=t;for(let s=0;se||"null"))}([i,s,a,c,l]),t),n(")"),f&&n(")");u&&(n(", "),lu(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:r,pure:o}=t,i=F(e.callee)?e.callee:r(e.callee);o&&n(ru);n(i+"(",e),cu(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:r,deindent:o,newline:i}=t,{properties:s}=e;if(!s.length)return void n("{}",e);const a=s.length>1||!1;n(a?"{":"{ "),a&&r();for(let e=0;e "),(c||a)&&(n("{"),r());s?(c&&n("return "),N(s)?au(s,t):lu(s,t)):a&&lu(a,t);(c||a)&&(o(),n("}"));l&&(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:s,indent:a,deindent:c,newline:l}=t;if(4===n.type){const e=!qc(n.content);e&&s("("),uu(n,t),e&&s(")")}else s("("),lu(n,t),s(")");i&&a(),t.indentLevel++,i||s(" "),s("? "),lu(r,t),t.indentLevel--,i&&l(),i||s(" "),s(": ");const u=19===o.type;u||t.indentLevel++;lu(o,t),u||t.indentLevel--;i&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:r,indent:o,deindent:i,newline:s}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(o(),n(`${r(xc)}(-1),`),s());n(`_cache[${e.index}] = `),lu(e.value,t),e.isVNode&&(n(","),s(),n(`${r(xc)}(1),`),s(),n(`_cache[${e.index}]`),i());n(")")}(e,t);break;case 21:cu(e.body,t,!0,!1)}}function uu(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,e)}function fu(e,t){for(let n=0;nfunction(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(Wa(28,t.loc)),t.exp=Lc("true",!1,r)}0;if("if"===t.name){const o=hu(e,t),i={type:9,loc:e.loc,branches:[o]};if(n.replaceNode(i),r)return r(i,o,!0)}else{const o=n.parent.children;let i=o.indexOf(e);for(;i-- >=-1;){const s=o[i];if(s&&3===s.type)n.removeNode(s);else{if(!s||2!==s.type||s.content.trim().length){if(s&&9===s.type){"else-if"===t.name&&void 0===s.branches[s.branches.length-1].condition&&n.onError(Wa(30,e.loc)),n.removeNode();const o=hu(e,t);0,s.branches.push(o);const i=r&&r(s,o,!1);tu(o,n),i&&i(),n.currentNode=null}else n.onError(Wa(30,e.loc));break}n.removeNode(s)}}}}(e,t,n,((e,t,r)=>{const o=n.parent.children;let i=o.indexOf(e),s=0;for(;i-- >=0;){const e=o[i];e&&9===e.type&&(s+=e.branches.length)}return()=>{if(r)e.codegenNode=gu(t,s,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=gu(t,s+e.branches.length-1,n)}}}))));function hu(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!Xc(e,"for")?e.children:[e],userKey:el(e,"key"),isTemplateIf:n}}function gu(e,t,n){return e.condition?Bc(e.condition,mu(e,t,n),Dc(n.helper(tc),['""',"true"])):mu(e,t,n)}function mu(e,t,n){const{helper:r}=n,o=Mc("key",Lc(`${t}`,!1,Ac,2)),{children:i}=e,s=i[0];if(1!==i.length||1!==s.type){if(1===i.length&&11===s.type){const e=s.codegenNode;return ul(e,o,n),e}{let t=64;return Ic(n,r(qa),Nc([o]),i,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=s.codegenNode,t=14===(a=e).type&&a.callee===Oc?a.arguments[1].returns:a;return 13===t.type&&dl(t,n),ul(t,o,n),e}var a}const vu=nu("for",((e,t,n)=>{const{helper:r,removeHelper:o}=n;return function(e,t,n,r){if(!t.exp)return void n.onError(Wa(31,t.loc));const o=wu(t.exp,n);if(!o)return void n.onError(Wa(32,t.loc));const{addIdentifiers:i,removeIdentifiers:s,scopes:a}=n,{source:c,value:l,key:u,index:f}=o,p={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:u,objectIndexAlias:f,parseResult:o,children:ol(e)?e.children:[e]};n.replaceNode(p),a.vFor++;const d=r&&r(p);return()=>{a.vFor--,d&&d()}}(e,t,n,(t=>{const i=Dc(r(lc),[t.source]),s=ol(e),a=Xc(e,"memo"),c=el(e,"key"),l=c&&(6===c.type?Lc(c.value.content,!0):c.exp),u=c?Mc("key",l):null,f=4===t.source.type&&t.source.constType>0,p=f?64:c?128:256;return t.codegenNode=Ic(n,r(qa),void 0,i,p+"",void 0,void 0,!0,!f,!1,e.loc),()=>{let c;const{children:p}=t;const d=1!==p.length||1!==p[0].type,h=il(e)?e:s&&1===e.children.length&&il(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,s&&u&&ul(c,u,n)):d?c=Ic(n,r(qa),u?Nc([u]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=p[0].codegenNode,s&&u&&ul(c,u,n),c.isBlock!==!f&&(c.isBlock?(o(Ja),o(al(n.inSSR,c.isComponent))):o(sl(n.inSSR,c.isComponent))),c.isBlock=!f,c.isBlock?(r(Ja),r(al(n.inSSR,c.isComponent))):r(sl(n.inSSR,c.isComponent))),a){const e=Fc(Su(t.parseResult,[Lc("_cached")]));e.body={type:21,body:[jc(["const _memo = (",a.exp,")"]),jc(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(Pc)}(_cached, _memo)) return _cached`]),jc(["const _item = ",c]),Lc("_item.memo = _memo"),Lc("return _item")],loc:Ac},i.arguments.push(e,Lc("_cache"),Lc(String(n.cached++)))}else i.arguments.push(Fc(Su(t.parseResult),c,!0))}}))}));const yu=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,_u=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,bu=/^\(|\)$/g;function wu(e,t){const n=e.loc,r=e.content,o=r.match(yu);if(!o)return;const[,i,s]=o,a={source:xu(n,s.trim(),r.indexOf(s,i.length)),value:void 0,key:void 0,index:void 0};let c=i.trim().replace(bu,"").trim();const l=i.indexOf(c),u=c.match(_u);if(u){c=c.replace(_u,"").trim();const e=u[1].trim();let t;if(e&&(t=r.indexOf(e,l+c.length),a.key=xu(n,e,t)),u[2]){const o=u[2].trim();o&&(a.index=xu(n,o,r.indexOf(o,a.key?t+e.length:l+c.length)))}}return c&&(a.value=xu(n,c,l)),a}function xu(e,t,n){return Lc(t,!1,Jc(e,n,t.length))}function Su({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||Lc("_".repeat(t+1),!1)))}([e,t,n,...r])}const Cu=Lc("undefined",!1),ku=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Xc(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Tu=(e,t,n)=>Fc(e,t,!1,!0,t.length?t[0].loc:n);function Eu(e,t,n=Tu){t.helper(kc);const{children:r,loc:o}=e,i=[],s=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const c=Xc(e,"slot",!0);if(c){const{arg:e,exp:t}=c;e&&!Vc(e)&&(a=!0),i.push(Mc(e||Lc("default",!0),n(t,r,o)))}let l=!1,u=!1;const f=[],p=new Set;let d=0;for(let e=0;e{const i=n(e,r,o);return t.compatConfig&&(i.isNonScopedSlot=!0),Mc("default",i)};l?f.length&&f.some((e=>$u(e)))&&(u?t.onError(Wa(39,f[0].loc)):i.push(e(void 0,f))):i.push(e(void 0,r))}const h=a?2:Pu(e.children)?3:1;let g=Nc(i.concat(Mc("_",Lc(h+"",!1))),o);return s.length&&(g=Dc(t.helper(fc),[g,Rc(s)])),{slots:g,hasDynamicSlots:a}}function Ou(e,t,n){const r=[Mc("name",e),Mc("fn",t)];return null!=n&&r.push(Mc("key",Lc(String(n),!0))),Nc(r)}function Pu(e){for(let t=0;tfunction(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:r}=e,o=1===e.tagType;let i=o?function(e,t,n=!1){let{tag:r}=e;const o=Lu(r),i=el(e,"is");if(i)if(o||gl("COMPILER_IS_ON_ELEMENT",t)){const e=6===i.type?i.value&&Lc(i.value.content,!0):i.exp;if(e)return Dc(t.helper(ic),[e])}else 6===i.type&&i.value.content.startsWith("vue:")&&(r=i.value.content.slice(4));const s=!o&&Xc(e,"is");if(s&&s.exp)return Dc(t.helper(ic),[s.exp]);const a=zc(r)||t.isBuiltInComponent(r);if(a)return n||t.helper(a),a;return t.helper(oc),t.components.add(r),pl(r,"component")}(e,t):`"${n}"`;const s=V(i)&&i.callee===ic;let a,c,l,u,f,p,d=0,h=s||i===Ha||i===Ga||!o&&("svg"===n||"foreignObject"===n);if(r.length>0){const n=Ru(e,t,void 0,o,s);a=n.props,d=n.patchFlag,f=n.dynamicPropNames;const r=n.directives;p=r&&r.length?Rc(r.map((e=>function(e,t){const n=[],r=Au.get(e);r?n.push(t.helperString(r)):(t.helper(sc),t.directives.add(e.name),n.push(pl(e.name,"directive")));const{loc:o}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Lc("true",!1,o);n.push(Nc(e.modifiers.map((e=>Mc(e,t))),o))}return Rc(n,e.loc)}(e,t)))):void 0,n.shouldUseBlock&&(h=!0)}if(e.children.length>0){i===Ka&&(h=!0,d|=1024);if(o&&i!==Ha&&i!==Ka){const{slots:n,hasDynamicSlots:r}=Eu(e,t);c=n,r&&(d|=1024)}else if(1===e.children.length&&i!==Ha){const n=e.children[0],r=n.type,o=5===r||8===r;o&&0===Gl(n,t)&&(d|=1),c=o||2===r?n:e.children}else c=e.children}0!==d&&(l=String(d),f&&f.length&&(u=function(e){let t="[";for(let n=0,r=e.length;n0;let d=!1,h=0,g=!1,m=!1,v=!1,y=!1,_=!1,b=!1;const w=[],x=e=>{l.length&&(u.push(Nc(Nu(l),a)),l=[]),e&&u.push(e)},S=({key:e,value:n})=>{if(Vc(e)){const i=e.content,s=O(i);if(!s||r&&!o||"onclick"===i.toLowerCase()||"onUpdate:modelValue"===i||G(i)||(y=!0),s&&G(i)&&(b=!0),20===n.type||(4===n.type||8===n.type)&&Gl(n,t)>0)return;"ref"===i?g=!0:"class"===i?m=!0:"style"===i?v=!0:"key"===i||w.includes(i)||w.push(i),!r||"class"!==i&&"style"!==i||w.includes(i)||w.push(i)}else _=!0};for(let o=0;o0&&l.push(Mc(Lc("ref_for",!0),Lc("true")))),"is"===n&&(Lu(s)||r&&r.content.startsWith("vue:")||gl("COMPILER_IS_ON_ELEMENT",t)))continue;l.push(Mc(Lc(n,!0,Jc(e,0,n.length)),Lc(r?r.content:"",o,r?r.loc:e)))}else{const{name:n,arg:o,exp:h,loc:g}=c,m="bind"===n,v="on"===n;if("slot"===n){r||t.onError(Wa(40,g));continue}if("once"===n||"memo"===n)continue;if("is"===n||m&&tl(o,"is")&&(Lu(s)||gl("COMPILER_IS_ON_ELEMENT",t)))continue;if(v&&i)continue;if((m&&tl(o,"key")||v&&p&&tl(o,"vue:before-update"))&&(d=!0),m&&tl(o,"ref")&&t.scopes.vFor>0&&l.push(Mc(Lc("ref_for",!0),Lc("true"))),!o&&(m||v)){if(_=!0,h)if(m){if(x(),gl("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(h);continue}u.push(h)}else x({type:14,loc:g,callee:t.helper(yc),arguments:r?[h]:[h,"true"]});else t.onError(Wa(m?34:35,g));continue}const y=t.directiveTransforms[n];if(y){const{props:n,needRuntime:r}=y(c,e,t);!i&&n.forEach(S),v&&o&&!Vc(o)?x(Nc(n,a)):l.push(...n),r&&(f.push(c),B(r)&&Au.set(c,r))}else K(n)||(f.push(c),p&&(d=!0))}}let C;if(u.length?(x(),C=u.length>1?Dc(t.helper(dc),u,a):u[0]):l.length&&(C=Nc(Nu(l),a)),_?h|=16:(m&&!r&&(h|=2),v&&!r&&(h|=4),w.length&&(h|=8),y&&(h|=32)),d||0!==h&&32!==h||!(g||b||f.length>0)||(h|=512),!t.inSSR&&C)switch(C.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.replace(ju,((e,t)=>t?t.toUpperCase():"")))),Fu=(e,t)=>{if(il(e)){const{children:n,loc:r}=e,{slotName:o,slotProps:i}=function(e,t){let n,r='"default"';const o=[];for(let t=0;t0){const{props:r,directives:i}=Ru(e,t,o,!1,!1);n=r,i.length&&t.onError(Wa(36,i[0].loc))}return{slotName:r,slotProps:n}}(e,t),s=[t.prefixIdentifiers?"_ctx.$slots":"$slots",o,"{}","undefined","true"];let a=2;i&&(s[2]=i,a=3),n.length&&(s[3]=Fc([],n,!1,!1,r),a=4),t.scopeId&&!t.slotted&&(a=5),s.splice(a),e.codegenNode=Dc(t.helper(uc),s,r)}};const Bu=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Vu=(e,t,n,r)=>{const{loc:o,modifiers:i,arg:s}=e;let a;if(e.exp||i.length||n.onError(Wa(35,o)),4===s.type)if(s.isStatic){let e=s.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);a=Lc(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?te(Y(e)):`on:${e}`,!0,s.loc)}else a=jc([`${n.helperString(wc)}(`,s,")"]);else a=s,a.children.unshift(`${n.helperString(wc)}(`),a.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const e=Zc(c.content),t=!(e||Bu.test(c.content)),n=c.content.includes(";");0,(t||l&&e)&&(c=jc([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[Mc(a,c||Lc("() => {}",!1,o))]};return r&&(u=r(u)),l&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach((e=>e.key.isHandlerKey=!0)),u},Uu=(e,t,n)=>{const{exp:r,modifiers:o,loc:i}=e,s=e.arg;return 4!==s.type?(s.children.unshift("("),s.children.push(') || ""')):s.isStatic||(s.content=`${s.content} || ""`),o.includes("camel")&&(4===s.type?s.isStatic?s.content=Y(s.content):s.content=`${n.helperString(_c)}(${s.content})`:(s.children.unshift(`${n.helperString(_c)}(`),s.children.push(")"))),n.inSSR||(o.includes("prop")&&zu(s,"."),o.includes("attr")&&zu(s,"^")),!r||4===r.type&&!r.content.trim()?(n.onError(Wa(34,i)),{props:[Mc(s,Lc("",!0,i))]}):{props:[Mc(s,r)]}},zu=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Wu=(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;e7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e{if(1===e.type&&Xc(e,"once",!0)){if(qu.has(e)||t.inVOnce)return;return qu.add(e),t.inVOnce=!0,t.helper(xc),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Gu=(e,t,n)=>{const{exp:r,arg:o}=e;if(!r)return n.onError(Wa(41,e.loc)),Ku();const i=r.loc.source,s=4===r.type?r.content:i,a=n.bindingMetadata[i];if("props"===a||"props-aliased"===a)return n.onError(Wa(44,r.loc)),Ku();if(!s.trim()||!Zc(s))return n.onError(Wa(42,r.loc)),Ku();const c=o||Lc("modelValue",!0),l=o?Vc(o)?`onUpdate:${o.content}`:jc(['"onUpdate:" + ',o]):"onUpdate:modelValue";let u;u=jc([`${n.isTS?"($event: any)":"$event"} => ((`,r,") = $event)"]);const f=[Mc(c,e.exp),Mc(l,u)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(qc(e)?e:JSON.stringify(e))+": true")).join(", "),n=o?Vc(o)?`${o.content}Modifiers`:jc([o,' + "Modifiers"']):"modelModifiers";f.push(Mc(n,Lc(`{ ${t} }`,!1,e.loc,2)))}return Ku(f)};function Ku(e=[]){return{props:e}}const Zu=/[\w).+\-_$\]]/,Ju=(e,t)=>{gl("COMPILER_FILTER",t)&&(5===e.type&&Yu(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Yu(e.exp,t)})))};function Yu(e,t){if(4===e.type)Qu(e,t);else for(let n=0;n=0&&(e=n.charAt(t)," "===e);t--);e&&Zu.test(e)||(u=!0)}}else void 0===s?(h=i+1,s=n.slice(0,i).trim()):m();function m(){g.push(n.slice(h,i).trim()),h=i+1}if(void 0===s?s=n.slice(0,i).trim():0!==h&&m(),g.length){for(i=0;i{if(1===e.type){const n=Xc(e,"memo");if(!n||ef.has(e))return;return ef.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&13===r.type&&(1!==e.tagType&&dl(r,t),e.codegenNode=Dc(t.helper(Oc),[n.exp,Fc(void 0,r),"_cache",String(t.cached++)]))}}};function nf(e,t={}){const n=t.onError||Ua,r="module"===t.mode;!0===t.prefixIdentifiers?n(Wa(47)):r&&n(Wa(48));t.cacheHandlers&&n(Wa(49)),t.scopeId&&!r&&n(Wa(50));const o=F(e)?bl(e,t):e,[i,s]=[[Hu,du,tf,vu,Ju,Fu,Iu,ku,Wu],{on:Vu,bind:Uu,model:Gu}];return eu(o,$({},t,{prefixIdentifiers:false,nodeTransforms:[...i,...t.nodeTransforms||[]],directiveTransforms:$({},s,t.directiveTransforms||{})})),iu(o,$({},t,{prefixIdentifiers:false}))}const rf=Symbol(""),of=Symbol(""),sf=Symbol(""),af=Symbol(""),cf=Symbol(""),lf=Symbol(""),uf=Symbol(""),ff=Symbol(""),pf=Symbol(""),df=Symbol("");var hf;let gf;hf={[rf]:"vModelRadio",[of]:"vModelCheckbox",[sf]:"vModelText",[af]:"vModelSelect",[cf]:"vModelDynamic",[lf]:"withModifiers",[uf]:"withKeys",[ff]:"vShow",[pf]:"Transition",[df]:"TransitionGroup"},Object.getOwnPropertySymbols(hf).forEach((e=>{$c[e]=hf[e]}));const mf=o("style,iframe,script,noscript",!0),vf={isVoidTag:g,isNativeTag:e=>d(e)||h(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return gf||(gf=document.createElement("div")),t?(gf.innerHTML=`
`,gf.children[0].getAttribute("foo")):(gf.innerHTML=e,gf.textContent)},isBuiltInComponent:e=>Uc(e,"Transition")?pf:Uc(e,"TransitionGroup")?df:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)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)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(mf(e))return 2}return 0}},yf=(e,t)=>{const n=u(e);return Lc(JSON.stringify(n),!1,t,3)};function _f(e,t){return Wa(e,t)}const bf=o("passive,once,capture"),wf=o("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),xf=o("left,right"),Sf=o("onkeyup,onkeydown,onkeypress",!0),Cf=(e,t)=>Vc(e)&&"onclick"===e.content.toLowerCase()?Lc(t,!0):4!==e.type?jc(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;const kf=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(_f(61,e.loc)),t.removeNode())},Tf=[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:Lc("style",!0,t.loc),exp:yf(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Ef={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(_f(51,o)),t.children.length&&(n.onError(_f(52,o)),t.children.length=0),{props:[Mc(Lc("innerHTML",!0,o),r||Lc("",!0))]}},text:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(_f(53,o)),t.children.length&&(n.onError(_f(54,o)),t.children.length=0),{props:[Mc(Lc("textContent",!0),r?Gl(r,n)>0?r:Dc(n.helperString(pc),[r],o):Lc("",!0))]}},model:(e,t,n)=>{const r=Gu(e,t,n);if(!r.props.length||1===t.tagType)return r;e.arg&&n.onError(_f(56,e.arg.loc));const{tag:o}=t,i=n.isCustomElement(o);if("input"===o||"textarea"===o||"select"===o||i){let s=sf,a=!1;if("input"===o||i){const r=el(t,"type");if(r){if(7===r.type)s=cf;else if(r.value)switch(r.value.content){case"radio":s=rf;break;case"checkbox":s=of;break;case"file":a=!0,n.onError(_f(57,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)&&(s=cf)}else"select"===o&&(s=af);a||(r.needRuntime=n.helper(s))}else n.onError(_f(55,e.loc));return r.props=r.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),r},on:(e,t,n)=>Vu(e,t,n,(t=>{const{modifiers:r}=e;if(!r.length)return t;let{key:o,value:i}=t.props[0];const{keyModifiers:s,nonKeyModifiers:a,eventOptionModifiers:c}=((e,t,n,r)=>{const o=[],i=[],s=[];for(let r=0;r{const{exp:r,loc:o}=e;return r||n.onError(_f(59,o)),{props:[],needRuntime:n.helper(ff)}}};const Of=Object.create(null);Ui((function(t,n){if(!F(t)){if(!t.nodeType)return k;t=t.innerHTML}const r=t,o=Of[r];if(o)return o;if("#"===t[0]){const e=document.querySelector(t);0,t=e?e.innerHTML:""}const i=$({hoistStatic:!0,onError:void 0,onWarn:k},n);i.isCustomElement||"undefined"==typeof customElements||(i.isCustomElement=e=>!!customElements.get(e));const{code:s}=function(e,t={}){return nf(e,$({},vf,t,{nodeTransforms:[kf,...Tf,...t.nodeTransforms||[]],directiveTransforms:$({},Ef,t.directiveTransforms||{}),transformHoist:null}))}(t,i),a=new Function("Vue",s)(e);return a._rc=!0,Of[r]=a}));const Pf={key:0,id:"app",class:"translations-app"},$f={class:"container-fluid"},Af={class:"row justify-content-between align-items-center"},If={class:"translations-summary"},Rf={class:"missing"},Nf={class:"row"};const Mf={id:"search",class:"col-md-8 mb-4"},Lf={class:"input-group"},jf={class:"input-group-append"},Df=mi("i",{class:"material-icons"},"search",-1);const Ff={class:"tags-wrapper"},Bf=["onClick"],Vf=["placeholder","size"];const Uf=mr({props:{tags:{type:Array,required:!1,default:()=>[]},placeholder:{type:String,required:!1,default:""},hasIcon:{type:Boolean,required:!1}},computed:{inputSize(){return!this.tags.length&&this.placeholder?this.placeholder.length:0},placeholderToDisplay(){return this.tags.length?"":this.placeholder}},methods:{onKeyUp(){this.$emit("typing",this.$refs.tags.value)},add(e){e&&(this.tags.push(e.trim()),this.tag="",this.focus(),this.$emit("tagChange",this.tag))},close(e){const t=this.tags[e];this.tags.splice(e,1),this.$emit("tagChange",t)},remove(){if(this.tags&&this.tags.length&&!this.tag.length){const e=this.tags[this.tags.length-1];this.tags.pop(),this.$emit("tagChange",e)}},focus(){this.$refs.tags.focus()}},data:()=>({tag:""})});var zf=n(3744);const Wf=(0,zf.Z)(Uf,[["render",function(e,t,n,r,o,i){return ni(),ci("div",{class:f(["tags-input search-input search d-flex flex-wrap",{"search-with-icon":e.hasIcon}]),onClick:t[4]||(t[4]=t=>e.focus())},[mi("div",Ff,[(ni(!0),ci(Jo,null,Jr(e.tags,((t,n)=>(ni(),ci("span",{key:n,class:"tag"},[wi(w(t),1),mi("i",{class:"material-icons",onClick:t=>e.close(n)},"close",8,Bf)])))),128))]),Vr(mi("input",{ref:"tags",placeholder:e.placeholderToDisplay,type:"text","onUpdate:modelValue":t[0]||(t[0]=t=>e.tag=t),class:"form-control input",onKeyup:t[1]||(t[1]=(...t)=>e.onKeyUp&&e.onKeyUp(...t)),onKeydown:[t[2]||(t[2]=Ea((t=>e.add(e.tag)),["enter"])),t[3]||(t[3]=Ea(ka((t=>e.remove()),["stop"]),["delete"]))],size:e.inputSize},null,40,Vf),[[pa,e.tag]])],2)}]]),qf=Wf;const Hf=mr({props:{primary:{type:Boolean},ghost:{type:Boolean}},computed:{classObject(){return this.ghost?{"btn-outline-primary":this.primary,"btn-outline-secondary":!this.primary}:{"btn-primary":this.primary,"btn-secondary":!this.primary}}}}),Gf=(0,zf.Z)(Hf,[["render",function(e,t,n,r,o,i){return ni(),ci("button",{type:"button",class:f(["btn",e.classObject])},[Qr(e.$slots,"default")],2)}]]),Kf=mr({methods:{trans(e){return this.$store.getters.translations[e]}}}),Zf=mr({components:{PSTags:qf,PSButton:Gf},mixins:[Kf],methods:{onClick(){const e=this.$refs.psTags,{tag:t}=e;e.add(t)},onSearch(){this.$store.dispatch("updateSearch",this.tags),this.$emit("search",this.tags)}},watch:{$route(){this.tags=[]}},data:()=>({tags:[]})}),Jf=(0,zf.Z)(Zf,[["render",function(e,t,n,r,o,i){const s=Wr("PSTags"),a=Wr("PSButton");return ni(),ci("div",Mf,[mi("form",{class:"search-form",onSubmit:t[0]||(t[0]=ka((()=>{}),["prevent"]))},[mi("label",null,w(e.trans("search_label")),1),mi("div",Lf,[vi(s,{ref:"psTags",tags:e.tags,onTagChange:e.onSearch,placeholder:e.trans("search_placeholder")},null,8,["tags","onTagChange","placeholder"]),mi("div",jf,[vi(a,{onClick:e.onClick,class:"search-button",primary:!0},{default:Mn((()=>[Df,wi(" "+w(e.trans("button_search")),1)])),_:1},8,["onClick"])])])],32)])}]]),Yf={class:"col-sm-3"},Qf={class:"card p-3"};const Xf={class:"ps-tree"},ep={class:"mb-3 tree-header"},tp=mi("i",{class:"material-icons"},"keyboard_arrow_down",-1),np={key:0},rp=mi("i",{class:"material-icons"},"keyboard_arrow_up",-1),op={key:0}; /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ const ip=new(n(7187).EventEmitter),sp={key:0,class:"sr-only"},ap={key:1,class:"tree-extra-label d-sm-none d-xl-inline-block"},cp={key:2,class:"tree-extra-label-mini d-xl-none"},lp={key:0,class:"tree"};const up={class:"md-checkbox"},fp=["id"],pp=mi("i",{class:"md-checkbox-control"},null,-1);const dp=mr({props:{id:{type:String,required:!1,default:""},model:{type:Object,required:!1,default:()=>({})},isIndeterminate:{type:Boolean,required:!1,default:!1}},watch:{checked(e){this.$emit("checked",{checked:e,item:this.model})}},data:()=>({checked:!1})}),hp=mr({name:"PSTreeItem",props:{model:{type:Object,required:!0},className:{type:String,required:!1,default:""},hasCheckbox:{type:Boolean,required:!1},translations:{type:Object,required:!1,default:()=>({})},currentItem:{type:String,required:!1,default:""}},computed:{id(){return this.model.id.toString()},isFolder(){return this.model.children&&this.model.children.length},displayExtraLabel(){return this.isFolder&&this.model.extraLabel},getExtraLabel(){let e="";return this.model.extraLabel&&1===this.model.extraLabel?e=this.translations.extra_singular:this.model.extraLabel&&(e=this.translations.extra.replace("%d",this.model.extraLabel)),e},isHidden(){return!this.isFolder},chevronStatus(){return this.open?"open":"closed"},isWarning(){return!this.isFolder&&this.model.warning},active(){return this.model.full_name===this.currentItem}},methods:{setCurrentElement(e){this.$refs[e]?(this.openTreeItemAction(),this.current=!0,this.parentElement(this.$parent)):this.current=!1},parentElement(e){e.clickElement&&(e.clickElement(),this.parentElement(e.$parent))},clickElement(){return!this.model.disable&&this.openTreeItemAction()},openTreeItemAction(){this.setCurrentElement(this.model.full_name),this.isFolder?this.open=!this.open:ip.emit("lastTreeItemClick",{item:this.model})},onCheck(e){this.$emit("checked",e)}},mounted(){ip.on("toggleCheckbox",(e=>{const t=this.$refs[e];t&&(t.$data.checked=!t.$data.checked)})),ip.on("expand",(()=>{this.open=!0})),ip.on("reduce",(()=>{this.open=!1})),ip.on("setCurrentElement",(e=>{this.setCurrentElement(e)})),this.setCurrentElement(this.currentItem)},components:{PSCheckbox:(0,zf.Z)(dp,[["render",function(e,t,n,r,o,i){return ni(),ci("div",up,[mi("label",null,[Vr(mi("input",{type:"checkbox",id:e.id,"onUpdate:modelValue":t[0]||(t[0]=t=>e.checked=t),class:f({indeterminate:e.isIndeterminate})},null,10,fp),[[da,e.checked]]),pp,Qr(e.$slots,"label")])])}]])},data:()=>({open:!1,current:!1})}),gp=(0,zf.Z)(hp,[["render",function(e,t,n,r,o,i){const s=Wr("PSCheckbox"),a=Wr("PSTreeItem");return ni(),ci("div",{class:f(["ps-tree-items",{className:e.className}])},[mi("div",{class:f(["d-flex tree-name",{active:e.active,disable:e.model.disable}]),onClick:t[0]||(t[0]=(...t)=>e.clickElement&&e.clickElement(...t))},[mi("button",{class:f(["btn btn-text",[{hidden:e.isHidden},e.chevronStatus]])},[e.translations?(ni(),ci("span",sp,w(e.model.open?e.translations.reduce:e.translations.expand),1)):Si("v-if",!0)],2),e.hasCheckbox?(ni(),li(s,{key:0,ref:e.model.name,id:e.id.toString(),model:e.model,onChecked:e.onCheck},null,8,["id","model","onChecked"])):Si("v-if",!0),mi("span",{class:f(["tree-label",{warning:e.isWarning}])},w(e.model.name),3),e.displayExtraLabel?(ni(),ci("span",ap,w(e.getExtraLabel),1)):Si("v-if",!0),e.displayExtraLabel?(ni(),ci("span",cp,w(e.model.extraLabel),1)):Si("v-if",!0)],2),e.isFolder?Vr((ni(),ci("ul",lp,[(ni(!0),ci(Jo,null,Jr(e.model.children,((t,n)=>(ni(),ci("li",{key:n,class:f(["tree-item",{disable:e.model.disable}])},[vi(a,{ref_for:!0,ref:t.id,class:f(e.className),"has-checkbox":e.hasCheckbox,model:t,label:t.name,translations:e.translations,"current-item":e.currentItem,onChecked:e.onCheck,onSetCurrentElement:e.setCurrentElement},null,8,["class","has-checkbox","model","label","translations","current-item","onChecked","onSetCurrentElement"])],2)))),128))],512)),[[Oa,e.open]]):Si("v-if",!0)],2)}]]),mp=mr({name:"PSTree",props:{model:{type:Array,default:()=>[]},className:{type:String,default:""},currentItem:{type:String,default:""},hasCheckbox:{type:Boolean,default:!1},translations:{type:Object,required:!1,default:()=>({})}},methods:{onCheck(e){this.$emit("checked",e)},expand(){ip.emit("expand")},reduce(){ip.emit("reduce")},setCurrentElement(e){ip.emit("setCurrentElement",e)}},components:{PSTreeItem:gp}}),vp=(0,zf.Z)(mp,[["render",function(e,t,n,r,o,i){const s=Wr("PSTreeItem");return ni(),ci("div",Xf,[mi("div",ep,[mi("button",{class:"btn btn-text text-uppercase pointer",onClick:t[0]||(t[0]=(...t)=>e.expand&&e.expand(...t))},[tp,e.translations?(ni(),ci("span",np,w(e.translations.expand),1)):Si("v-if",!0)]),mi("button",{class:"btn btn-text float-right text-uppercase pointer",onClick:t[1]||(t[1]=(...t)=>e.reduce&&e.reduce(...t))},[rp,e.translations?(ni(),ci("span",op,w(e.translations.reduce),1)):Si("v-if",!0)])]),mi("ul",{class:f(["tree",e.className])},[(ni(!0),ci(Jo,null,Jr(e.model,((t,n)=>(ni(),ci("li",{key:n},[vi(s,{ref_for:!0,ref:"item","has-checkbox":e.hasCheckbox,model:t,label:t.name,translations:e.translations,"current-item":e.currentItem,onChecked:e.onCheck,onSetCurrentElement:e.setCurrentElement},null,8,["has-checkbox","model","label","translations","current-item","onChecked","onSetCurrentElement"])])))),128))],2)])}]]),yp=vp,_p={class:"ps-spinner"};const bp=mr({}),wp=mr({props:{modal:{type:Object,required:!1,default:()=>({})},principal:{type:Object,required:!1,default:()=>({})}},mixins:[Kf],computed:{treeReady(){return!this.$store.state.sidebarLoading},currentItem(){if((""===this.$store.getters.currentDomain||void 0===this.$store.getters.currentDomain)&&this.$store.getters.domainsTree.length){const e=this.getFirstDomainToDisplay(this.$store.getters.domainsTree);return ip.emit("reduce"),this.$store.dispatch("updateCurrentDomain",e),""!==e?(this.$store.dispatch("getCatalog",{url:e.dataValue}),ip.emit("setCurrentElement",e.full_name),e.full_name):(this.$store.dispatch("updatePrincipalLoading",!1),"")}return this.$store.getters.currentDomain},translations(){return{expand:this.trans("sidebar_expand"),reduce:this.trans("sidebar_collapse"),extra:this.trans("label_missing"),extra_singular:this.trans("label_missing_singular")}}},mounted(){this.$store.dispatch("getDomainsTree",{store:this.$store}),ip.on("lastTreeItemClick",(e=>{this.edited()?(this.modal.showModal(),this.modal.$once("save",(()=>{this.principal.saveTranslations(),this.itemClick(e)})),this.modal.$once("leave",(()=>{this.itemClick(e)}))):this.itemClick(e)}))},methods:{itemClick(e){this.$store.dispatch("updateCurrentDomain",e.item),this.$store.dispatch("getCatalog",{url:e.item.dataValue}),this.$store.dispatch("updatePageIndex",1),this.$store.state.modifiedTranslations=[]},getFirstDomainToDisplay(e){const t=Object.keys(e);let n="";for(let r=0;r0)return this.getFirstDomainToDisplay(e[t[r]].children);n=e[t[r]];break}return n},edited:function(){return Object.keys(this.$store.state.modifiedTranslations).length>0}},components:{PSTree:yp,PSSpinner:(0,zf.Z)(bp,[["render",function(e,t,n,r,o,i){return ni(),ci("div",_p)}]])}});n(3605);const xp=(0,zf.Z)(wp,[["render",function(e,t,n,r,o,i){const s=Wr("PSTree"),a=Wr("PSSpinner");return ni(),ci("div",Yf,[mi("div",Qf,[e.treeReady?(ni(),li(s,{key:0,ref:"domainsTree",model:e.$store.getters.domainsTree,"class-name":"translationTree",translations:e.translations,"current-item":e.currentItem},null,8,["model","translations","current-item"])):(ni(),li(a,{key:1}))])])}]]),Sp={key:0,class:"col-sm-9 card"},Cp={class:"p-3 translations-wrapper"},kp={key:1,class:"translations-catalog row p-0"},Tp={class:"col-sm-8 pt-3"},Ep={class:"domain-info"},Op={class:"missing"},Pp={class:"col-sm-4"},$p=["action","isEdited"],Ap={class:"row"},Ip={class:"col-sm-12 mb-2"},Rp={class:"row"},Np={class:"col-sm-12"},Mp={class:"col-sm-12"};const Lp={key:0,class:"mt-1 mx-auto"},jp={key:0,class:"page-item previous"},Dp=[mi("span",{class:"sr-only"},"Previous",-1)],Fp=["onClick"],Bp={key:0},Vp={key:1},Up={key:1,class:"page-item next"},zp=[mi("span",{class:"sr-only"},"Next",-1)];const Wp=mr({props:{pagesCount:{type:Number,required:!0},currentIndex:{type:Number,required:!0}},computed:{isMultiPagination(){return this.pagesCount>this.multiPagesActivationLimit},activeLeftArrow(){return 1!==this.currentIndex},activeRightArrow(){return this.currentIndex!==this.pagesCount},pagesToDisplay(){return this.multiPagesToDisplay},displayPagination(){return this.pagesCount>1}},methods:{checkCurrentIndex(e){return this.currentIndex===e},showIndex(e){const t=ethis.currentIndex-this.multiPagesToDisplay,r=t&&n,o=e===this.pagesCount,i=1===e;return this.isMultiPagination?r||i||o:!this.isMultiPagination},changePage(e){this.$emit("pageChanged",e)},showFirstDots(e){const t=this.pagesCount-this.multiPagesToDisplay;return this.isMultiPagination?e===this.pagesCount&&this.currentIndex<=t:this.isMultiPagination},showLastDots(e){return this.isMultiPagination?1===e&&this.currentIndex>this.multiPagesToDisplay:this.isMultiPagination},prev(){this.currentIndex>1&&this.changePage(this.currentIndex-1)},next(){this.currentIndex({multiPagesToDisplay:2,multiPagesActivationLimit:5})}),qp=(0,zf.Z)(Wp,[["render",function(e,t,n,r,o,i){return e.displayPagination?(ni(),ci("nav",Lp,[mi("ul",{class:f(["pagination",{multi:e.isMultiPagination}])},[e.isMultiPagination?(ni(),ci("li",jp,[Vr(mi("a",{class:"float-left page-link",onClick:t[0]||(t[0]=t=>e.prev()),href:"#"},Dp,512),[[Oa,e.activeLeftArrow]])])):Si("v-if",!0),(ni(!0),ci(Jo,null,Jr(e.pagesCount,(t=>(ni(),ci("li",{class:f(["page-item",{active:e.checkCurrentIndex(t)}]),key:t},[e.showIndex(t)?(ni(),ci("a",{key:0,class:f(["page-link",{"pl-0":e.showFirstDots(t),"pr-0":e.showLastDots(t)}]),onClick:ka((n=>e.changePage(t)),["prevent"]),href:"#"},[e.isMultiPagination?Vr((ni(),ci("span",Bp,"...",512)),[[Oa,e.showFirstDots(t)]]):Si("v-if",!0),wi(" "+w(t)+" ",1),e.isMultiPagination?Vr((ni(),ci("span",Vp,"...",512)),[[Oa,e.showLastDots(t)]]):Si("v-if",!0)],10,Fp)):Si("v-if",!0)],2)))),128)),e.isMultiPagination?(ni(),ci("li",Up,[Vr(mi("a",{class:"float-left page-link",onClick:t[1]||(t[1]=t=>e.next()),href:"#"},zp,512),[[Oa,e.activeRightArrow]])])):Si("v-if",!0)],2)])):Si("v-if",!0)}]]),Hp=qp,Gp=[mi("span",{class:"material-icons"},"close",-1)],Kp={class:"alert-text"};const Zp="ALERT_TYPE_INFO",Jp=mr({props:{duration:{type:Boolean,required:!1,default:!1},alertType:{type:String,required:!0},hasClose:{type:Boolean,required:!0}},computed:{classObject(){return{"alert-info":this.alertType===Zp,"alert-warning":"ALERT_TYPE_WARNING"===this.alertType,"alert-danger":"ALERT_TYPE_DANGER"===this.alertType,"alert-success":"ALERT_TYPE_SUCCESS"===this.alertType}},isInfo(){return this.alertType===Zp}},methods:{onClick(){this.$emit("closeAlert")}}}),Yp=(0,zf.Z)(Jp,[["render",function(e,t,n,r,o,i){return ni(),ci("div",{class:f(["ps-alert alert",e.classObject]),role:"alert"},[e.hasClose?(ni(),ci("button",{key:0,type:"button",class:"close","data-dismiss":"alert","aria-label":"Close",onClick:t[0]||(t[0]=ka(((...t)=>e.onClick&&e.onClick(...t)),["stop"]))},Gp)):Si("v-if",!0),mi("p",Kp,[Qr(e.$slots,"default")])],2)}]]),Qp={class:"form-group"},Xp={class:"mt-3"};const ed=mr({name:"TranslationInput",mixins:[Kf],props:{id:{type:Number,required:!1,default:0},extraInfo:{type:String,required:!1,default:""},label:{type:String,required:!0},translated:{type:Object,required:!0}},computed:{getTranslated:{get(){return this.translated.user?this.translated.user:this.translated.project},set(e){const t=this.translated;t.user=e,t.edited=e,this.$emit("input",t),this.$emit("editedAction",{translation:t,id:this.id})}},isMissing(){return null===this.getTranslated}},methods:{resetTranslation(){this.getTranslated="",ip.emit("resetTranslation",this.translated)}},components:{PSButton:Gf}});n(3655);const td=mr({props:{modal:{type:Object,required:!1,default:()=>({})}},mixins:[Kf],data:()=>({originalTranslations:[],modifiedTranslations:[]}),computed:{principalReady(){return!this.$store.state.principalLoading},translationsCatalog(){return this.$store.getters.catalog.data.data},saveAction(){return this.$store.getters.catalog.data.info?this.$store.getters.catalog.data.info.edit_url:""},resetAction(){return this.$store.getters.catalog.data.info?this.$store.getters.catalog.data.info.reset_url:""},pagesCount(){return this.$store.getters.totalPages},currentPagination(){return this.$store.getters.pageIndex},currentDomain(){return this.$store.state.currentDomain},currentDomainTotalTranslations(){return this.$store.state.currentDomainTotalTranslations<=1?`- ${this.trans("label_total_domain_singular").replace("%nb_translation%",this.$store.state.currentDomainTotalTranslations.toString())}`:`- ${this.trans("label_total_domain").replace("%nb_translations%",this.$store.state.currentDomainTotalTranslations.toString())}`},currentDomainTotalMissingTranslations(){return this.$store.state.currentDomainTotalMissingTranslations},currentDomainTotalMissingTranslationsString(){let e="";return this.currentDomainTotalMissingTranslations&&(e=1===this.currentDomainTotalMissingTranslations?this.trans("label_missing_singular"):this.trans("label_missing").replace("%d",this.currentDomainTotalMissingTranslations)),e},noResult(){return""===this.$store.getters.currentDomain||void 0===this.$store.getters.currentDomain},noResultInfo(){return this.trans("no_result").replace("%s",this.$store.getters.searchTags.join(" - "))},searchActive(){return this.$store.getters.searchTags.length},searchInfo(){const e=this.$store.state.totalTranslations<=1?"search_info_singular":"search_info";return this.trans(e).replace("%s",this.$store.getters.searchTags.join(" - ")).replace("%d",this.$store.state.totalTranslations.toString())}},methods:{changePage:function(e){this.$store.dispatch("updatePageIndex",e),this.fetch(),this.$store.state.modifiedTranslations=[]},isEdited(e){e.translation.edited?this.$store.state.modifiedTranslations[e.id]=e.translation:this.$store.state.modifiedTranslations.splice(this.$store.state.modifiedTranslations.indexOf(e.id),1)},onPageChanged(e){this.edited()?(this.modal.showModal(),this.modal.$once("save",(()=>{this.saveTranslations(),this.changePage(e)})),this.modal.$once("leave",(()=>{this.changePage(e)}))):this.changePage(e)},fetch(){this.$store.dispatch("getCatalog",{url:this.$store.getters.catalog.info.current_url_without_pagination,page_size:this.$store.state.translationsPerPage,page_index:this.$store.getters.pageIndex})},getDomain(e){let t="";return e.forEach((e=>{t+=`${e} > `})),t.slice(0,-3)},saveTranslations(){this.getModifiedTranslations().length&&this.$store.dispatch("saveTranslations",{url:this.saveAction,translations:this.getModifiedTranslations(),store:this.$store})},getModifiedTranslations(){this.modifiedTranslations=[];const e="modules"===window.data.type?"":window.data.selected;return Object.values(this.$store.state.modifiedTranslations).forEach((t=>{this.modifiedTranslations.push({default:t.default,edited:t.edited,domain:t.tree_domain.join(""),locale:window.data.locale,theme:e})})),this.modifiedTranslations},edited(){return Object.keys(this.$store.state.modifiedTranslations).length>0}},mounted(){ip.on("resetTranslation",(e=>{const t=[];t.push({default:e.default,domain:e.tree_domain.join(""),locale:window.data.locale,theme:window.data.selected}),this.$store.dispatch("resetTranslation",{url:this.resetAction,translations:t})}))},components:{TranslationInput:(0,zf.Z)(ed,[["render",function(e,t,n,r,o,i){const s=Wr("PSButton");return ni(),ci("div",Qp,[mi("label",null,w(e.label),1),Vr(mi("textarea",{class:f(["form-control",{missing:e.isMissing}]),rows:"2","onUpdate:modelValue":t[0]||(t[0]=t=>e.getTranslated=t)},null,2),[[pa,e.getTranslated]]),vi(s,{class:"mt-3 float-sm-right",primary:!1,ghost:"",onClick:e.resetTranslation},{default:Mn((()=>[wi(w(e.trans("button_reset")),1)])),_:1},8,["onClick"]),mi("small",Xp,w(e.extraInfo),1)])}],["__scopeId","data-v-694a29cc"]]),PSButton:Gf,PSPagination:Hp,PSAlert:Yp}});n(1704);const nd=(0,zf.Z)(td,[["render",function(e,t,n,r,o,i){const s=Wr("PSAlert"),a=Wr("PSPagination"),c=Wr("PSButton"),l=Wr("TranslationInput");return ni(),li(Bs,{name:"fade"},{default:Mn((()=>[e.principalReady?(ni(),ci("div",Sp,[mi("div",Cp,[e.noResult?(ni(),li(s,{key:0,"alert-type":"ALERT_TYPE_WARNING","has-close":!1},{default:Mn((()=>[wi(w(e.noResultInfo),1)])),_:1})):(ni(),ci("div",kp,[e.searchActive?(ni(),li(s,{key:0,class:"col-sm-12","alert-type":"ALERT_TYPE_INFO","has-close":!1},{default:Mn((()=>[wi(w(e.searchInfo),1)])),_:1})):Si("v-if",!0),mi("div",Tp,[mi("h3",Ep,[mi("span",null,w(e.currentDomain),1),mi("span",null,w(e.currentDomainTotalTranslations),1),Vr(mi("span",null,[wi(" - "),mi("span",Op,w(e.currentDomainTotalMissingTranslationsString),1)],512),[[Oa,e.currentDomainTotalMissingTranslations]])])]),mi("div",Pp,[vi(a,{"current-index":e.currentPagination,"pages-count":e.pagesCount,class:"float-sm-right",onPageChanged:e.onPageChanged},null,8,["current-index","pages-count","onPageChanged"])]),mi("form",{class:"col-sm-12",method:"post",action:e.saveAction,isEdited:e.isEdited,onSubmit:t[0]||(t[0]=ka(((...t)=>e.saveTranslations&&e.saveTranslations(...t)),["prevent"]))},[mi("div",Ap,[mi("div",Ip,[vi(c,{primary:!0,type:"submit",class:"float-sm-right"},{default:Mn((()=>[wi(w(e.trans("button_save")),1)])),_:1})])]),(ni(!0),ci(Jo,null,Jr(e.translationsCatalog,((t,n,r)=>(ni(),li(l,{key:n,id:r,translated:t,label:t.default,"extra-info":e.getDomain(t.tree_domain),onEditedAction:e.isEdited},null,8,["id","translated","label","extra-info","onEditedAction"])))),128)),mi("div",Rp,[mi("div",Np,[vi(c,{primary:!0,type:"submit",class:"float-sm-right mt-3"},{default:Mn((()=>[wi(w(e.trans("button_save")),1)])),_:1})])])],40,$p),mi("div",Mp,[vi(a,{"current-index":e.currentPagination,"pages-count":e.pagesCount,onPageChanged:e.onPageChanged},null,8,["current-index","pages-count","onPageChanged"])])]))])])):Si("v-if",!0)])),_:1})}],["__scopeId","data-v-4e9e8cd2"]]),rd=nd,od={class:"modal fade",id:"ps-modal",tabindex:"-1",role:"dialog"},id={class:"modal-dialog",role:"document"},sd={class:"modal-content"},ad={class:"modal-header"},cd=(e=>(In("data-v-3a8ca000"),e=e(),Rn(),e))((()=>mi("button",{type:"button",class:"close","data-dismiss":"modal"},[mi("i",{class:"material-icons"},"close")],-1))),ld={class:"modal-title"},ud={class:"modal-body"},fd={class:"modal-footer"};var pd=n(9567);const dd=mr({props:{translations:{type:Object,required:!1,default:()=>({})}},mounted(){ip.on("showModal",(()=>{this.showModal()})),ip.on("hideModal",(()=>{this.hideModal()}))},methods:{showModal(){pd(this.$el).modal("show")},hideModal(){pd(this.$el).modal("hide")},onSave(){this.$emit("save")},onLeave(){this.$emit("leave")}},components:{PSButton:Gf}});n(3824);const hd=(0,zf.Z)(dd,[["render",function(e,t,n,r,o,i){const s=Wr("PSButton");return ni(),ci("div",od,[mi("div",id,[mi("div",sd,[mi("div",ad,[cd,mi("h4",ld,w(e.translations.modal_title),1)]),mi("div",ud,w(e.translations.modal_content),1),mi("div",fd,[vi(s,{onClick:e.onSave,class:"btn-lg",primary:"","data-dismiss":"modal"},{default:Mn((()=>[wi(w(e.translations.button_save),1)])),_:1},8,["onClick"]),vi(s,{onClick:e.onLeave,class:"btn-lg",ghost:"","data-dismiss":"modal"},{default:Mn((()=>[wi(w(e.translations.button_leave),1)])),_:1},8,["onClick"])])])])])}],["__scopeId","data-v-3a8ca000"]]);var gd=n(9567);const md=mr({name:"App",mixins:[Kf],computed:{isReady(){return this.$store.getters.isReady},totalTranslations(){return this.$store.state.totalTranslations<=1?this.trans("label_total_domain_singular").replace("%nb_translation%",this.$store.state.totalTranslations.toString()):this.trans("label_total_domain").replace("%nb_translations%",this.$store.state.totalTranslations.toString())},totalMissingTranslations(){return this.$store.state.totalMissingTranslations},totalMissingTranslationsString(){return 1===this.totalMissingTranslations?this.trans("label_missing_singular"):this.trans("label_missing").replace("%d",this.totalMissingTranslations)},translations(){return{button_save:this.trans("button_save"),button_leave:this.trans("button_leave"),modal_content:this.trans("modal_content"),modal_title:this.trans("modal_title")}}},beforeMount(){this.$store.dispatch("getTranslations")},mounted(){gd("a").on("click",(e=>{gd(e.currentTarget).attr("href")&&(this.destHref=gd(e.currentTarget).attr("href"))})),window.onbeforeunload=()=>{if(!this.destHref&&this.isEdited()&&!this.leave)return!0;if(!this.leave&&this.isEdited()){if(setTimeout((()=>{window.stop()}),500),this.$refs.transModal&&this.$refs.principal){const e=this.$refs.transModal;e.showModal(),e.$once("save",(()=>{this.$refs.principal.saveTranslations(),this.leavePage()})),e.$once("leave",(()=>{this.leavePage()}))}return null}}},methods:{onSearch(){this.$store.dispatch("getDomainsTree",{store:this.$store}),this.$store.state.currentDomain=""},leavePage(){this.leave=!0,window.location.href=this.destHref},isEdited(){return this.$refs.principal.edited()}},data:()=>({destHref:null,leave:!1}),components:{Search:Jf,Sidebar:xp,Principal:rd,PSModal:hd}});n(4790);const vd=(0,zf.Z)(md,[["render",function(e,t,n,r,o,i){const s=Wr("Search"),a=Wr("Sidebar"),c=Wr("Principal"),l=Wr("PSModal");return e.isReady?(ni(),ci("div",Pf,[mi("div",$f,[mi("div",Af,[vi(s,{onSearch:e.onSearch},null,8,["onSearch"]),mi("div",If,[mi("span",null,w(e.totalTranslations),1),Vr(mi("span",null,[wi(" - "),mi("span",Rf,w(e.totalMissingTranslationsString),1)],512),[[Oa,e.totalMissingTranslations]])])]),mi("div",Nf,[vi(a,{modal:e.$refs.transModal,principal:e.$refs.principal},null,8,["modal","principal"]),vi(c,{modal:e.$refs.transModal,ref:"principal"},null,8,["modal"])])]),vi(l,{ref:"transModal",translations:e.translations},null,8,["translations"])])):Si("v-if",!0)}]]);function yd(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:void 0!==n.g?n.g:{}}const _d="function"==typeof Proxy;let bd,wd;function xd(){return function(){var e;return void 0!==bd||("undefined"!=typeof window&&window.performance?(bd=!0,wd=window.performance):void 0!==n.g&&(null===(e=n.g.perf_hooks)||void 0===e?void 0:e.performance)?(bd=!0,wd=n.g.perf_hooks.performance):bd=!1),bd}()?wd.now():Date.now()}class Sd{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const n={};if(e.settings)for(const t in e.settings){const r=e.settings[t];n[t]=r.defaultValue}const r=`__vue-devtools-plugin-settings__${e.id}`;let o=Object.assign({},n);try{const e=localStorage.getItem(r),t=JSON.parse(e);Object.assign(o,t)}catch(e){}this.fallbacks={getSettings:()=>o,setSettings(e){try{localStorage.setItem(r,JSON.stringify(e))}catch(e){}o=e},now:()=>xd()},t&&t.on("plugin:settings:set",((e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)})),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise((n=>{this.targetQueue.push({method:t,args:e,resolve:n})}))})}async setRealTarget(e){this.target=e;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function Cd(e,t){const n=e,r=yd(),o=yd().__VUE_DEVTOOLS_GLOBAL_HOOK__,i=_d&&n.enableEarlyProxy;if(!o||!r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&i){const e=i?new Sd(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:e}),e&&t(e.proxiedTarget)}else o.emit("devtools-plugin:setup",e,t)} /*! * vuex v4.1.0 * (c) 2022 Evan You * @license MIT */ var kd="store";function Td(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function Ed(e){return null!==e&&"object"==typeof e}function Od(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Pd(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;Ad(e,n,[],e._modules.root,!0),$d(e,n,t)}function $d(e,t,n){var r=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,s={},a={},c=le(!0);c.run((function(){Td(i,(function(t,n){s[n]=function(e,t){return function(){return e(t)}}(t,e),a[n]=Zi((function(){return s[n]()})),Object.defineProperty(e.getters,n,{get:function(){return a[n].value},enumerable:!0})}))})),e._state=xt({data:t}),e._scope=c,e.strict&&function(e){tr((function(){return e._state.data}),(function(){0}),{deep:!0,flush:"sync"})}(e),r&&n&&e._withCommit((function(){r.data=null})),o&&o.stop()}function Ad(e,t,n,r,o){var i=!n.length,s=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=r),!i&&!o){var a=Rd(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit((function(){a[c]=r.state}))}var l=r.context=function(e,t,n){var r=""===t,o={dispatch:r?e.dispatch:function(n,r,o){var i=Nd(n,r,o),s=i.payload,a=i.options,c=i.type;return a&&a.root||(c=t+c),e.dispatch(c,s)},commit:r?e.commit:function(n,r,o){var i=Nd(n,r,o),s=i.payload,a=i.options,c=i.type;a&&a.root||(c=t+c),e.commit(c,s,a)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return Id(e,t)}},state:{get:function(){return Rd(e.state,n)}}}),o}(e,s,n);r.forEachMutation((function(t,n){!function(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push((function(t){n.call(e,r.state,t)}))}(e,s+n,t,l)})),r.forEachAction((function(t,n){var r=t.root?n:s+n,o=t.handler||t;!function(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push((function(t){var o,i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return(o=i)&&"function"==typeof o.then||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}(e,r,o,l)})),r.forEachGetter((function(t,n){!function(e,t,n,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}}(e,s+n,t,l)})),r.forEachChild((function(r,i){Ad(e,t,n.concat(i),r,o)}))}function Id(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(o){if(o.slice(0,r)===t){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return e.getters[o]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Rd(e,t){return t.reduce((function(e,t){return e[t]}),e)}function Nd(e,t,n){return Ed(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Md="vuex:mutations",Ld="vuex:actions",jd="vuex",Dd=0;function Fd(e,t){Cd({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:["vuex bindings"]},(function(n){n.addTimelineLayer({id:Md,label:"Vuex Mutations",color:Bd}),n.addTimelineLayer({id:Ld,label:"Vuex Actions",color:Bd}),n.addInspector({id:jd,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===e&&n.inspectorId===jd)if(n.filter){var r=[];Wd(r,t._modules.root,n.filter,""),n.rootNodes=r}else n.rootNodes=[zd(t._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===e&&n.inspectorId===jd){var r=n.nodeId;Id(t,r),n.state=function(e,t,n){t="root"===n?t:t[n];var r=Object.keys(t),o={state:Object.keys(e.state).map((function(t){return{key:t,editable:!0,value:e.state[t]}}))};if(r.length){var i=function(e){var t={};return Object.keys(e).forEach((function(n){var r=n.split("/");if(r.length>1){var o=t,i=r.pop();r.forEach((function(e){o[e]||(o[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),o=o[e]._custom.value})),o[i]=qd((function(){return e[n]}))}else t[n]=qd((function(){return e[n]}))})),t}(t);o.getters=Object.keys(i).map((function(e){return{key:e.endsWith("/")?Ud(e):e,editable:!1,value:qd((function(){return i[e]}))}}))}return o}((o=t._modules,(s=(i=r).split("/").filter((function(e){return e}))).reduce((function(e,t,n){var r=e[t];if(!r)throw new Error('Missing module "'+t+'" for path "'+i+'".');return n===s.length-1?r:r._children}),"root"===i?o:o.root._children)),"root"===r?t.getters:t._makeLocalGettersCache,r)}var o,i,s})),n.on.editInspectorState((function(n){if(n.app===e&&n.inspectorId===jd){var r=n.nodeId,o=n.path;"root"!==r&&(o=r.split("/").filter(Boolean).concat(o)),t._withCommit((function(){n.set(t._state.data,o,n.state.value)}))}})),t.subscribe((function(e,t){var r={};e.payload&&(r.payload=e.payload),r.state=t,n.notifyComponentUpdate(),n.sendInspectorTree(jd),n.sendInspectorState(jd),n.addTimelineEvent({layerId:Md,event:{time:Date.now(),title:e.type,data:r}})})),t.subscribeAction({before:function(e,t){var r={};e.payload&&(r.payload=e.payload),e._id=Dd++,e._time=Date.now(),r.state=t,n.addTimelineEvent({layerId:Ld,event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:r}})},after:function(e,t){var r={},o=Date.now()-e._time;r.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},e.payload&&(r.payload=e.payload),r.state=t,n.addTimelineEvent({layerId:Ld,event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:r}})}})}))}var Bd=8702998,Vd={label:"namespaced",textColor:16777215,backgroundColor:6710886};function Ud(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function zd(e,t){return{id:t||"root",label:Ud(t),tags:e.namespaced?[Vd]:[],children:Object.keys(e._children).map((function(n){return zd(e._children[n],t+n+"/")}))}}function Wd(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[Vd]:[]}),Object.keys(t._children).forEach((function(o){Wd(e,t._children[o],n,r+o+"/")}))}function qd(e){try{return e()}catch(e){return e}}var Hd=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},Gd={namespaced:{configurable:!0}};Gd.namespaced.get=function(){return!!this._rawModule.namespaced},Hd.prototype.addChild=function(e,t){this._children[e]=t},Hd.prototype.removeChild=function(e){delete this._children[e]},Hd.prototype.getChild=function(e){return this._children[e]},Hd.prototype.hasChild=function(e){return e in this._children},Hd.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},Hd.prototype.forEachChild=function(e){Td(this._children,e)},Hd.prototype.forEachGetter=function(e){this._rawModule.getters&&Td(this._rawModule.getters,e)},Hd.prototype.forEachAction=function(e){this._rawModule.actions&&Td(this._rawModule.actions,e)},Hd.prototype.forEachMutation=function(e){this._rawModule.mutations&&Td(this._rawModule.mutations,e)},Object.defineProperties(Hd.prototype,Gd);var Kd=function(e){this.register([],e,!1)};function Zd(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;Zd(e.concat(r),t.getChild(r),n.modules[r])}}Kd.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},Kd.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},Kd.prototype.update=function(e){Zd([],this.root,e)},Kd.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var o=new Hd(t,n);0===e.length?this.root=o:this.get(e.slice(0,-1)).addChild(e[e.length-1],o);t.modules&&Td(t.modules,(function(t,o){r.register(e.concat(o),t,n)}))},Kd.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},Kd.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};function Jd(e){return new Yd(e)}var Yd=function(e){var t=this;void 0===e&&(e={});var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1);var o=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Kd(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var i=this,s=this.dispatch,a=this.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return a.call(i,e,t,n)},this.strict=r;var c=this._modules.root.state;Ad(this,c,[],this._modules.root),$d(this,c),n.forEach((function(e){return e(t)}))},Qd={state:{configurable:!0}};Yd.prototype.install=function(e,t){e.provide(t||kd,this),e.config.globalProperties.$store=this,void 0!==this._devtools&&this._devtools&&Fd(e,this)},Qd.state.get=function(){return this._state.data},Qd.state.set=function(e){0},Yd.prototype.commit=function(e,t,n){var r=this,o=Nd(e,t,n),i=o.type,s=o.payload,a=(o.options,{type:i,payload:s}),c=this._mutations[i];c&&(this._withCommit((function(){c.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(a,r.state)})))},Yd.prototype.dispatch=function(e,t){var n=this,r=Nd(e,t),o=r.type,i=r.payload,s={type:o,payload:i},a=this._actions[o];if(a){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,n.state)}))}catch(e){0}var c=a.length>1?Promise.all(a.map((function(e){return e(i)}))):a[0](i);return new Promise((function(e,t){c.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,n.state)}))}catch(e){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,n.state,e)}))}catch(e){0}t(e)}))}))}},Yd.prototype.subscribe=function(e,t){return Od(e,this._subscribers,t)},Yd.prototype.subscribeAction=function(e,t){return Od("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},Yd.prototype.watch=function(e,t,n){var r=this;return tr((function(){return e(r.state,r.getters)}),t,Object.assign({},n))},Yd.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},Yd.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),Ad(this,this.state,e,this._modules.get(e),n.preserveState),$d(this,this.state)},Yd.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){delete Rd(t.state,e.slice(0,-1))[e[e.length-1]]})),Pd(this)},Yd.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},Yd.prototype.hotUpdate=function(e){this._modules.update(e),Pd(this,!0)},Yd.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(Yd.prototype,Qd);eh((function(e,t){var n={};return Xd(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=th(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,t,n):t[o]},n[r].vuex=!0})),n})),eh((function(e,t){var n={};return Xd(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.commit;if(e){var i=th(this.$store,"mapMutations",e);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n})),eh((function(e,t){var n={};return Xd(t).forEach((function(t){var r=t.key,o=t.val;o=e+o,n[r]=function(){if(!e||th(this.$store,"mapGetters",e))return this.$store.getters[o]},n[r].vuex=!0})),n})),eh((function(e,t){var n={};return Xd(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var i=th(this.$store,"mapActions",e);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n}));function Xd(e){return function(e){return Array.isArray(e)||Ed(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function eh(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function th(e,t,n){return e._modulesNamespaceMap[n]}var nh=n(6486),rh=n.n(nh); /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ const oh="SET_TRANSLATIONS",ih="SET_CATALOG",sh="SET_DOMAINS_TREE",ah="APP_IS_READY",ch="SET_TOTAL_PAGES",lh="SET_PAGE_INDEX",uh="SET_CURRENT_DOMAIN",fh="RESET_CURRENT_DOMAIN",ph="SIDEBAR_LOADING",dh="PRINCIPAL_LOADING",hh="SEARCH_TAGS",gh="DECREASE_CURRENT_DOMAIN_TOTAL_MISSING_TRANSLATIONS",mh="RESET_MODIFIED_TRANSLATIONS",vh=(e,t,n)=>{const r=void 0!==n?n:2e3;"success"===e?window.$.growl({title:"",size:"large",message:t,duration:r}):window.$.growl[e]({title:"",size:"large",message:t,duration:r})};var yh=(e,t,n)=>new Promise(((r,o)=>{var i=e=>{try{a(n.next(e))}catch(e){o(e)}},s=e=>{try{a(n.throw(e))}catch(e){o(e)}},a=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,s);a((n=n.apply(e,t)).next())})); /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */const _h=e=>(0,nh.isNil)(e)||e.length<=0,bh=e=>yh(void 0,[e],(function*({commit:e}){const t=window.data.translationUrl;try{const n=yield fetch(t),r=yield n.json();e(oh,r),e(ah)}catch(e){vh("error",e.bodyText?JSON.parse(e.bodyText).error:e.statusText)}})),wh=(e,t)=>yh(void 0,[e,t],(function*({commit:e},t){e(dh,!0);try{const n=yield fetch(`${t.url}&${new URLSearchParams((0,nh.omitBy)({page_size:t.page_size,page_index:t.page_index},_h))}`),r=yield n.json();e(ch,n.headers.get("Total-Pages")),e(ih,r),e(dh,!1)}catch(e){vh("error",e.bodyText?JSON.parse(e.bodyText).error:e.statusText)}})),xh=(e,t)=>yh(void 0,[e,t],(function*({commit:e},t){const n=window.data.domainsTreeUrl,r=new URLSearchParams;e(ph,!0),e(dh,!0),t.store.getters.searchTags.length&&t.store.getters.searchTags.forEach((e=>{r.append("search[]",e)}));const o=`${n}${n.includes("?")?"&":"?"}${r.toString()}`;try{const t=yield fetch(o),n=yield t.json();e(sh,n),e(ph,!1),e(fh)}catch(e){vh("error",e.bodyText?JSON.parse(e.bodyText).error:e.statusText)}})),Sh=(e,t)=>yh(void 0,[e,t],(function*({commit:e},t){const n=window.data.domainsTreeUrl,r=new URLSearchParams;t.store.getters.searchTags.length&&t.store.getters.searchTags.forEach((e=>{r.append("search[]",e)}));const o=`${n}${n.includes("?")?"&":"?"}${r.toString()}`;try{const n=yield fetch(o),r=yield n.json();e(gh,t.successfullySaved),e(sh,r)}catch(e){vh("error",e.bodyText?JSON.parse(e.bodyText).error:e.statusText)}})),Ch=(e,t)=>yh(void 0,[e,t],(function*({commit:e},t){const{url:n}=t,{translations:r}=t;try{yield fetch(n,{method:"POST",body:JSON.stringify({translations:r})}),t.store.dispatch("refreshCounts",{successfullySaved:r.length,store:t.store}),e(mh),vh("success","Translations successfully updated")}catch(e){vh("error",e.bodyText?JSON.parse(e.bodyText).error:e.statusText)}})),kh=(e,t)=>yh(void 0,null,(function*(){const{url:e}=t,{translations:n}=t;try{yield fetch(e,{method:"POST",body:JSON.stringify({translations:n})}),vh("success","Translations successfully reset")}catch(e){vh("error",e.bodyText?JSON.parse(e.bodyText).error:e.statusText)}})),Th=({commit:e},t)=>{e(lh,t)},Eh=({commit:e},t)=>{e(uh,t)},Oh=({commit:e},t)=>{e(dh,t)},Ph=({commit:e},t)=>{e(hh,t)},$h={[oh](e,t){t.data.forEach((t=>{e.translations[t.translation_id]=t.name}))},[ih](e,t){e.catalog=t},[sh](e,t){e.totalMissingTranslations=t.data.tree.total_missing_translations,e.totalTranslations=t.data.tree.total_translations,e.domainsTree=t.data.tree.children},[ah](e){e.isReady=!0},[ch](e,t){e.totalPages=Number(t)},[lh](e,t){e.pageIndex=t},[uh](e,t){e.currentDomain=t.full_name,e.currentDomainTotalTranslations=t.total_translations,e.currentDomainTotalMissingTranslations=t.total_missing_translations},[fh](e){e.currentDomain="",e.currentDomainTotalTranslations=0,e.currentDomainTotalMissingTranslations=0},[ph](e,t){e.sidebarLoading=t},[dh](e,t){e.principalLoading=t},[hh](e,t){e.searchTags=t},[gh](e,t){e.currentDomainTotalMissingTranslations-=t},[mh](e){e.modifiedTranslations=[]}},Ah={pageIndex:1,totalPages:0,translationsPerPage:20,currentDomain:"",translations:{data:{},info:{}},catalog:{data:{},info:{}},domainsTree:[],totalMissingTranslations:0,totalTranslations:0,currentDomainTotalTranslations:0,currentDomainTotalMissingTranslations:0,isReady:!1,sidebarLoading:!0,principalLoading:!0,searchTags:[],modifiedTranslations:[]},Ih=Jd({state:()=>Ah,getters:{totalPages:e=>e.totalPages,pageIndex:e=>e.pageIndex,currentDomain:e=>e.currentDomain,translations:e=>e.translations,catalog:e=>e.catalog,domainsTree:e=>function e(t){return t.forEach((t=>{t.children=rh().values(t.children),t.extraLabel=t.total_missing_translations,t.dataValue=t.domain_catalog_link,t.warning=Boolean(t.total_missing_translations),t.disable=!t.total_translations,t.id=t.full_name,e(t.children)})),t}(e.domainsTree),isReady:e=>e.isReady,searchTags:e=>e.searchTags},actions:t,mutations:$h}),Rh="undefined"!=typeof window;function Nh(e){return e.__esModule||"Module"===e[Symbol.toStringTag]}const Mh=Object.assign;function Lh(e,t){const n={};for(const r in t){const o=t[r];n[r]=Dh(o)?o.map(e):e(o)}return n}const jh=()=>{},Dh=Array.isArray;const Fh=/\/$/;function Bh(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let c=t.indexOf("?");return a=0&&(c=-1),c>-1&&(r=t.slice(0,c),i=t.slice(c+1,a>-1?a:t.length),o=e(i)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=function(e,t){if(e.startsWith("/"))return e;0;if(!e)return t;const n=t.split("/"),r=e.split("/");let o,i,s=n.length-1;for(o=0;o1&&s--}return n.slice(0,s).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}(null!=r?r:t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:s}}function Vh(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Uh(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function zh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Wh(e[n],t[n]))return!1;return!0}function Wh(e,t){return Dh(e)?qh(e,t):Dh(t)?qh(t,e):e===t}function qh(e,t){return Dh(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var Hh,Gh;!function(e){e.pop="pop",e.push="push"}(Hh||(Hh={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(Gh||(Gh={}));function Kh(e){if(!e)if(Rh){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Fh,"")}const Zh=/^[^#]+#/;function Jh(e,t){return e.replace(Zh,"#")+t}const Yh=()=>({left:window.pageXOffset,top:window.pageYOffset});function Qh(e){let t;if("el"in e){const n=e.el,r="string"==typeof n&&n.startsWith("#");0;const 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.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function Xh(e,t){return(history.state?history.state.position-t:-1)+e}const eg=new Map;let tg=()=>location.protocol+"//"+location.host;function ng(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),Vh(n,"")}return Vh(n,e)+r+o}function rg(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Yh():null}}function og(e){const t=function(e){const{history:t,location:n}=window,r={value:ng(e,n)},o={value:t.state};function i(r,i,s){const a=e.indexOf("#"),c=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+r:tg()+e+r;try{t[s?"replaceState":"pushState"](i,"",c),o.value=i}catch(e){console.error(e),n[s?"replace":"assign"](c)}}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=Mh({},o.value,t.state,{forward:e,scroll:Yh()});i(s.current,s,!0),i(e,Mh({},rg(r.value,e,null),{position:s.position+1},n),!1),r.value=e},replace:function(e,n){i(e,Mh({},t.state,rg(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),r.value=e}}}(e=Kh(e)),n=function(e,t,n,r){let o=[],i=[],s=null;const a=({state:i})=>{const a=ng(e,location),c=n.value,l=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===c)return void(s=null);u=l?i.position-l.position:0}else r(a);o.forEach((e=>{e(n.value,c,{delta:u,type:Hh.pop,direction:u?u>0?Gh.forward:Gh.back:Gh.unknown})}))};function c(){const{history:e}=window;e.state&&e.replaceState(Mh({},e.state,{scroll:Yh()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c),{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",a),window.removeEventListener("beforeunload",c)}}}(e,t.state,t.location,t.replace);const r=Mh({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Jh.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 ig(e){return"string"==typeof e||"symbol"==typeof e}const sg={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ag=Symbol("");var cg;!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}(cg||(cg={}));function lg(e,t){return Mh(new Error,{type:e,[ag]:!0},t)}function ug(e,t){return e instanceof Error&&ag in e&&(null==t||!!(e.type&t))}const fg="[^/]+?",pg={sensitive:!1,strict:!1,start:!0,end:!0},dg=/[.+*?^${}()[\]/\\]/g;function hg(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function gg(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const vg={type:0,value:""},yg=/[a-zA-Z0-9_]/;function _g(e,t,n){const r=function(e,t){const n=Mh({},pg,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;r1&&("*"===a||"+"===a)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:l,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),l="")}function p(){l+=a}for(;c{i(p)}:jh}function i(e){if(ig(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){let t=0;for(;t=0&&(e.record.path!==n[t].record.path||!Tg(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!Sg(e)&&r.set(e.record.name,e)}return t=kg({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>o(e))),{addRoute:o,resolve:function(e,t){let o,i,s,a={};if("name"in e&&e.name){if(o=r.get(e.name),!o)throw lg(1,{location:e});0,s=o.record.name,a=Mh(wg(t.params,o.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&&wg(e.params,o.keys.map((e=>e.name)))),i=o.stringify(a)}else if("path"in e)i=e.path,o=n.find((e=>e.re.test(i))),o&&(a=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 lg(1,{location:e,currentLocation:t});s=o.record.name,a=Mh({},t.params,e.params),i=o.stringify(a)}const c=[];let l=o;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:i,params:a,matched:c,meta:Cg(c)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function wg(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function xg(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="boolean"==typeof n?n:n[r];return t}function Sg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Cg(e){return e.reduce(((e,t)=>Mh(e,t.meta)),{})}function kg(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Tg(e,t){return t.children.some((t=>t===e||Tg(e,t)))}const Eg=/#/g,Og=/&/g,Pg=/\//g,$g=/=/g,Ag=/\?/g,Ig=/\+/g,Rg=/%5B/g,Ng=/%5D/g,Mg=/%5E/g,Lg=/%60/g,jg=/%7B/g,Dg=/%7C/g,Fg=/%7D/g,Bg=/%20/g;function Vg(e){return encodeURI(""+e).replace(Dg,"|").replace(Rg,"[").replace(Ng,"]")}function Ug(e){return Vg(e).replace(Ig,"%2B").replace(Bg,"+").replace(Eg,"%23").replace(Og,"%26").replace(Lg,"`").replace(jg,"{").replace(Fg,"}").replace(Mg,"^")}function zg(e){return null==e?"":function(e){return Vg(e).replace(Eg,"%23").replace(Ag,"%3F")}(e).replace(Pg,"%2F")}function Wg(e){try{return decodeURIComponent(""+e)}catch(e){}return""+e}function qg(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let e=0;ee&&Ug(e))):[r&&Ug(r)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Gg(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=Dh(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}const Kg=Symbol(""),Zg=Symbol(""),Jg=Symbol(""),Yg=Symbol(""),Qg=Symbol("");function Xg(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}function em(e,t,n,r,o){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise(((s,a)=>{const c=e=>{var c;!1===e?a(lg(4,{from:n,to:t})):e instanceof Error?a(e):"string"==typeof(c=e)||c&&"object"==typeof c?a(lg(2,{from:t,to:e})):(i&&r.enterCallbacks[o]===i&&"function"==typeof e&&i.push(e),s())},l=e.call(r&&r.instances[o],t,n,c);let u=Promise.resolve(l);e.length<3&&(u=u.then(c)),u.catch((e=>a(e)))}))}function tm(e,t,n,r){const o=[];for(const s of e){0;for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(i=a)||"displayName"in i||"props"in i||"__vccOpts"in i){const i=(a.__vccOpts||a)[t];i&&o.push(em(i,n,r,s,e))}else{let i=a();0,o.push((()=>i.then((o=>{if(!o)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`));const i=Nh(o)?o.default:o;s.components[e]=i;const a=(i.__vccOpts||i)[t];return a&&em(a,n,r,s,e)()}))))}}}var i;return o}function nm(e){const t=Jn(Jg),n=Jn(Yg),r=Zi((()=>t.resolve(zt(e.to)))),o=Zi((()=>{const{matched:e}=r.value,{length:t}=e,o=e[t-1],i=n.matched;if(!o||!i.length)return-1;const s=i.findIndex(Uh.bind(null,o));if(s>-1)return s;const a=om(e[t-2]);return t>1&&om(o)===a&&i[i.length-1].path!==a?i.findIndex(Uh.bind(null,e[t-2])):s})),i=Zi((()=>o.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(!Dh(o)||o.length!==r.length||r.some(((e,t)=>e!==o[t])))return!1}return!0}(n.params,r.value.params))),s=Zi((()=>o.value>-1&&o.value===n.matched.length-1&&zh(n.params,r.value.params)));return{route:r,href:Zi((()=>r.value.href)),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[zt(e.replace)?"replace":"push"](zt(e.to)).catch(jh):Promise.resolve()}}}const rm=mr({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:nm,setup(e,{slots:t}){const n=xt(nm(e)),{options:r}=Jn(Jg),o=Zi((()=>({[im(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[im(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const r=t.default&&t.default(n);return e.custom?r:ss("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}});function om(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const im=(e,t,n)=>null!=e?e:null!=t?t:n;function sm(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const am=mr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Jn(Qg),o=Zi((()=>e.route||r.value)),i=Jn(Zg,0),s=Zi((()=>{let e=zt(i);const{matched:t}=o.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=Zi((()=>o.value.matched[s.value]));Zn(Zg,Zi((()=>s.value+1))),Zn(Kg,a),Zn(Qg,o);const c=Dt();return tr((()=>[c.value,a.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&&Uh(t,o)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const r=o.value,i=e.name,s=a.value,l=s&&s.components[i];if(!l)return sm(n.default,{Component:l,route:r});const u=s.props[i],f=u?!0===u?r.params:"function"==typeof u?u(r):u:null,p=ss(l,Mh({},f,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:c}));return sm(n.default,{Component:p,route:r})||p}}});function cm(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())} /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */const lm=function(e){const t=bg(e.routes,e),n=e.parseQuery||qg,r=e.stringifyQuery||Hg,o=e.history,i=Xg(),s=Xg(),a=Xg(),c=Ft(sg);let l=sg;Rh&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Lh.bind(null,(e=>""+e)),f=Lh.bind(null,zg),p=Lh.bind(null,Wg);function d(e,i){if(i=Mh({},i||c.value),"string"==typeof e){const r=Bh(n,e,i.path),s=t.resolve({path:r.path},i),a=o.createHref(r.fullPath);return Mh(r,s,{params:p(s.params),hash:Wg(r.hash),redirectedFrom:void 0,href:a})}let s;if("path"in e)s=Mh({},e,{path:Bh(n,e.path,i.path).path});else{const t=Mh({},e.params);for(const e in t)null==t[e]&&delete t[e];s=Mh({},e,{params:f(e.params)}),i.params=f(i.params)}const a=t.resolve(s,i),l=e.hash||"";a.params=u(p(a.params));const d=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,Mh({},e,{hash:(h=l,Vg(h).replace(jg,"{").replace(Fg,"}").replace(Mg,"^")),path:a.path}));var h;const g=o.createHref(d);return Mh({fullPath:d,hash:l,query:r===Hg?Gg(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Bh(n,e,c.value.path):Mh({},e)}function g(e,t){if(l!==e)return lg(8,{from:t,to:e})}function m(e){return y(e)}function v(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=h(r):{path:r},r.params={}),Mh({query:e.query,hash:e.hash,params:"path"in r?{}:e.params},r)}}function y(e,t){const n=l=d(e),o=c.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(Mh(h(u),{state:"object"==typeof u?Mh({},i,u.state):i,force:s,replace:a}),t||n);const f=n;let p;return f.redirectedFrom=t,!s&&function(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Uh(t.matched[r],n.matched[o])&&zh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,o,n)&&(p=lg(16,{to:f,from:o}),$(o,o,!0,!1)),(p?Promise.resolve(p):b(f,o)).catch((e=>ug(e)?ug(e,2)?e:P(e):O(e,f,o))).then((e=>{if(e){if(ug(e,2))return y(Mh({replace:a},h(e.to),{state:"object"==typeof e.to?Mh({},i,e.to.state):i,force:s}),t||f)}else e=x(f,o,!0,a,i);return w(f,o,e),e}))}function _(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e,t){let n;const[r,o,a]=function(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sUh(e,i)))?r.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>Uh(e,a)))||o.push(a))}return[n,r,o]}(e,t);n=tm(r.reverse(),"beforeRouteLeave",e,t);for(const o of r)o.leaveGuards.forEach((r=>{n.push(em(r,e,t))}));const c=_.bind(null,e,t);return n.push(c),cm(n).then((()=>{n=[];for(const r of i.list())n.push(em(r,e,t));return n.push(c),cm(n)})).then((()=>{n=tm(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach((r=>{n.push(em(r,e,t))}));return n.push(c),cm(n)})).then((()=>{n=[];for(const r of e.matched)if(r.beforeEnter&&!t.matched.includes(r))if(Dh(r.beforeEnter))for(const o of r.beforeEnter)n.push(em(o,e,t));else n.push(em(r.beforeEnter,e,t));return n.push(c),cm(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=tm(a,"beforeRouteEnter",e,t),n.push(c),cm(n)))).then((()=>{n=[];for(const r of s.list())n.push(em(r,e,t));return n.push(c),cm(n)})).catch((e=>ug(e,8)?e:Promise.reject(e)))}function w(e,t,n){for(const r of a.list())r(e,t,n)}function x(e,t,n,r,i){const s=g(e,t);if(s)return s;const a=t===sg,l=Rh?history.state:{};n&&(r||a?o.replace(e.fullPath,Mh({scroll:a&&l&&l.scroll},i)):o.push(e.fullPath,i)),c.value=e,$(e,t,n,a),P()}let S;function C(){S||(S=o.listen(((e,t,n)=>{if(!N.listening)return;const r=d(e),i=v(r);if(i)return void y(Mh(i,{replace:!0}),r).catch(jh);l=r;const s=c.value;var a,u;Rh&&(a=Xh(s.fullPath,n.delta),u=Yh(),eg.set(a,u)),b(r,s).catch((e=>ug(e,12)?e:ug(e,2)?(y(e.to,r).then((e=>{ug(e,20)&&!n.delta&&n.type===Hh.pop&&o.go(-1,!1)})).catch(jh),Promise.reject()):(n.delta&&o.go(-n.delta,!1),O(e,r,s)))).then((e=>{(e=e||x(r,s,!1))&&(n.delta&&!ug(e,8)?o.go(-n.delta,!1):n.type===Hh.pop&&ug(e,20)&&o.go(-1,!1)),w(r,s,e)})).catch(jh)})))}let k,T=Xg(),E=Xg();function O(e,t,n){P(e);const r=E.list();return r.length?r.forEach((r=>r(e,t,n))):console.error(e),Promise.reject(e)}function P(e){return k||(k=!e,C(),T.list().forEach((([t,n])=>e?n(e):t())),T.reset()),e}function $(t,n,r,o){const{scrollBehavior:i}=e;if(!Rh||!i)return Promise.resolve();const s=!r&&function(e){const t=eg.get(e);return eg.delete(e),t}(Xh(t.fullPath,0))||(o||!r)&&history.state&&history.state.scroll||null;return dn().then((()=>i(t,n,s))).then((e=>e&&Qh(e))).catch((e=>O(e,t,n)))}const A=e=>o.go(e);let I;const R=new Set,N={currentRoute:c,listening:!0,addRoute:function(e,n){let r,o;return ig(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)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:d,options:e,push:m,replace:function(e){return m(Mh(h(e),{replace:!0}))},go:A,back:()=>A(-1),forward:()=>A(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:E.add,isReady:function(){return k&&c.value!==sg?Promise.resolve():new Promise(((e,t)=>{T.add([e,t])}))},install(e){e.component("RouterLink",rm),e.component("RouterView",am),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>zt(c)}),Rh&&!I&&c.value===sg&&(I=!0,m(o.location).catch((e=>{0})));const t={};for(const e in sg)t[e]=Zi((()=>c.value[e]));e.provide(Jg,this),e.provide(Yg,xt(t)),e.provide(Qg,c);const n=e.unmount;R.add(e),e.unmount=function(){R.delete(e),R.size<1&&(l=sg,S&&S(),S=null,c.value=sg,I=!1,k=!1),n()}}};return N}({history:og(),routes:[{path:"/",name:"overview",component:()=>{return e=void 0,t=null,n=function*(){return vd},new Promise(((r,o)=>{var i=e=>{try{a(n.next(e))}catch(e){o(e)}},s=e=>{try{a(n.throw(e))}catch(e){o(e)}},a=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,s);a((n=n.apply(e,t)).next())}));var e,t,n}}]}),um=ja(vd).use(Ih).use(lm).mount("#translations-app")})(),window.translations=r})();