@cling-se/widget 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/{DocFormSend.4167e485.js → DocFormSend.58fbdade.js} +2 -2
  2. package/dist/{DocSendReminder.ea59eb89.js → DocSendReminder.610e6f1b.js} +2 -2
  3. package/dist/{index.4b5231be.js → index.021aea9f.js} +1 -1
  4. package/dist/{index.c0ecaaa7.js → index.0372fc9a.js} +1 -1
  5. package/dist/{index.95a392ee.js → index.05656554.js} +2 -2
  6. package/dist/{index.daeef8fa.js → index.08d12aab.js} +1 -1
  7. package/dist/{index.69bbb9b5.js → index.0c6034f0.js} +1 -1
  8. package/dist/{index.e7c54cc7.js → index.0df3b27e.js} +1 -1
  9. package/dist/{index.efe268c2.js → index.0e4c0d69.js} +1 -1
  10. package/dist/{index.7bdb91f0.js → index.135b006c.js} +1 -1
  11. package/dist/{index.c076812f.js → index.1595ef27.js} +1 -1
  12. package/dist/{index.842cdca5.js → index.1936f911.js} +1 -1
  13. package/dist/{index.f8df4dfb.js → index.1c5c3e44.js} +1 -1
  14. package/dist/{index.5da9fafd.js → index.1c92d26c.js} +1 -1
  15. package/dist/{index.756eb2f9.js → index.1d4d1b78.js} +1 -1
  16. package/dist/{index.2484f858.js → index.1e40747d.js} +1 -1
  17. package/dist/{index.42f72a0a.js → index.1f0b252d.js} +1 -1
  18. package/dist/{index.2be363fd.js → index.218b46ae.js} +1 -1
  19. package/dist/{index.e4afc779.js → index.22b2af79.js} +1 -1
  20. package/dist/{index.7f5b95a1.js → index.25db5309.js} +1 -1
  21. package/dist/{index.23ef6d49.js → index.266a6ace.js} +1 -1
  22. package/dist/{index.a24c27e0.js → index.272e7245.js} +1 -1
  23. package/dist/{index.129d08c4.js → index.27304047.js} +1 -1
  24. package/dist/{index.0e7c6d61.js → index.291b2b54.js} +1 -1
  25. package/dist/{index.b971ee0c.js → index.31d7f14e.js} +1 -1
  26. package/dist/{index.af77bced.js → index.37c3cfdc.js} +1 -1
  27. package/dist/{index.06409a2f.js → index.39e24331.js} +1 -1
  28. package/dist/{index.91061a60.js → index.3ae42b88.js} +1 -1
  29. package/dist/{index.08111bb7.js → index.3ede3ed9.js} +1 -1
  30. package/dist/{index.3d942988.js → index.48e6f73c.js} +1 -1
  31. package/dist/{index.784a699d.js → index.4ac3b55d.js} +1 -1
  32. package/dist/{index.fc2cb4eb.js → index.4dbcd770.js} +1 -1
  33. package/dist/{index.4c7f301f.js → index.4eb9c363.js} +2 -2
  34. package/dist/{index.517a6724.js → index.4eba4a7d.js} +1 -1
  35. package/dist/{index.56714d78.js → index.4f04d830.js} +1 -1
  36. package/dist/{index.256635f9.js → index.4ff3dace.js} +1 -1
  37. package/dist/{index.1139f21e.js → index.510b34a1.js} +1 -1
  38. package/dist/{index.1d1a95d4.js → index.54aa5bdb.js} +1 -1
  39. package/dist/{index.155e790a.js → index.571dd412.js} +1 -1
  40. package/dist/{index.85759566.js → index.57976804.js} +1 -1
  41. package/dist/{index.3f213bda.js → index.59de1b2c.js} +1 -1
  42. package/dist/{index.faa46a40.js → index.5b3f29b6.js} +1 -1
  43. package/dist/{index.569dd909.js → index.5e93a4a4.js} +1 -1
  44. package/dist/{index.5282ac36.js → index.604f9a4f.js} +1 -1
  45. package/dist/{index.d7c13f64.js → index.63b5f71b.js} +1 -1
  46. package/dist/{index.30113922.js → index.64fdd79b.js} +1 -1
  47. package/dist/{index.0ed558c6.js → index.66e76ef5.js} +1 -1
  48. package/dist/{index.55c534ff.js → index.6d854739.js} +1 -1
  49. package/dist/{index.6c00772b.js → index.7062d55c.js} +1 -1
  50. package/dist/{index.cf4ccd13.js → index.7081acc5.js} +1 -1
  51. package/dist/{index.982477cd.js → index.7619605a.js} +1 -1
  52. package/dist/{index.6aebf764.js → index.764b658e.js} +1 -1
  53. package/dist/{index.628e9d30.js → index.7b93c6da.js} +1 -1
  54. package/dist/{index.3a576af9.js → index.7c5aed5b.js} +1 -1
  55. package/dist/{index.c6979fb6.js → index.83910d3f.js} +1 -1
  56. package/dist/{index.2797c7a7.js → index.8bd24899.js} +1 -1
  57. package/dist/{index.3342df5b.js → index.90a87d9e.js} +1 -1
  58. package/dist/{index.0b1b812f.js → index.95cbc7d1.js} +1 -1
  59. package/dist/{index.724d1312.js → index.98af6e12.js} +1 -1
  60. package/dist/{index.01c25e08.js → index.9d868f2c.js} +1 -1
  61. package/dist/{index.c1b1459e.js → index.a0f17a47.js} +1 -1
  62. package/dist/{index.d9d9cbb9.js → index.a3b03275.js} +1 -1
  63. package/dist/{index.2003fa47.js → index.a4cc2ffa.js} +1 -1
  64. package/dist/{index.efffdb7d.js → index.a9441e00.js} +1 -1
  65. package/dist/{index.4efc8cb4.js → index.a9a2afee.js} +1 -1
  66. package/dist/{index.a3eece60.js → index.b4904461.js} +1 -1
  67. package/dist/{index.647dbf81.js → index.b51268b0.js} +1 -1
  68. package/dist/{index.30a4c616.js → index.b6512901.js} +1 -1
  69. package/dist/{index.41fda479.js → index.b724afce.js} +1 -1
  70. package/dist/{index.0d00d7bd.js → index.ba3dcf3b.js} +1 -1
  71. package/dist/{index.35bb18c6.js → index.be109e22.js} +1 -1
  72. package/dist/{index.f3e48619.js → index.bf3d1093.js} +1 -1
  73. package/dist/{index.3b743171.js → index.c2181b71.js} +1 -1
  74. package/dist/{index.e779dc87.js → index.c498538e.js} +1 -1
  75. package/dist/{index.7547246a.js → index.c627b669.js} +1 -1
  76. package/dist/{index.4dffcb9c.js → index.c934c6af.js} +1 -1
  77. package/dist/{index.4dfa2b20.js → index.ce8801e2.js} +1 -1
  78. package/dist/{index.25b970da.js → index.d320459d.js} +1 -1
  79. package/dist/{index.cb95bd5c.js → index.d380d13d.js} +1 -1
  80. package/dist/{index.f37e9e48.js → index.d5ad6009.js} +1 -1
  81. package/dist/{index.cc8daeed.js → index.d6b1b629.js} +1 -1
  82. package/dist/{index.6dcf7370.js → index.dc39016c.js} +1 -1
  83. package/dist/{index.c42286ec.js → index.dd9fd6fa.js} +1 -1
  84. package/dist/{index.3d004e78.js → index.df9d0f0b.js} +1 -1
  85. package/dist/{index.e1be038b.js → index.dfe76608.js} +1 -1
  86. package/dist/{index.ea23c736.js → index.e19eaf33.js} +1 -1
  87. package/dist/{index.1dabfb0c.js → index.e3826d57.js} +1 -1
  88. package/dist/{index.a9d3e8ad.js → index.e70d1ec3.js} +1 -1
  89. package/dist/{index.7e878114.js → index.ea966a9a.js} +1 -1
  90. package/dist/{index.c36dad5b.js → index.ed2c5306.js} +1 -1
  91. package/dist/{index.96120e6d.js → index.ed474d79.js} +1 -1
  92. package/dist/index.es.js +1 -1
  93. package/dist/{index.e51d0dfe.js → index.f0d4aeb1.js} +1 -1
  94. package/dist/{index.809771d5.js → index.f678de56.js} +2 -2
  95. package/dist/{index.3a4adc1e.js → index.fae17bfe.js} +1 -1
  96. package/dist/{index.5169ae52.js → index.faf3d6eb.js} +1 -1
  97. package/dist/{index.e888c32b.js → index.fbc2bf20.js} +1 -1
  98. package/dist/index.umd.js +10 -10
  99. package/dist/{init.018b2925.js → init.b422c2c8.js} +1 -1
  100. package/dist/{main.c0ec9a75.js → main.65f1b3e9.js} +71 -73
  101. package/package.json +1 -1
  102. package/stats.html +1 -1
package/dist/index.umd.js CHANGED
@@ -1,8 +1,8 @@
1
- (function(te,Ae){typeof exports=="object"&&typeof module<"u"?module.exports=Ae():typeof define=="function"&&define.amd?define(Ae):(te=typeof globalThis<"u"?globalThis:te||self,te.widget=Ae())})(this,function(){"use strict";var uht=Object.defineProperty;var lht=(te,Ae,Z)=>Ae in te?uht(te,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Z}):te[Ae]=Z;var St=(te,Ae,Z)=>(lht(te,typeof Ae!="symbol"?Ae+"":Ae,Z),Z);function te(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in t)){const i=Object.getOwnPropertyDescriptor(n,a);i&&Object.defineProperty(t,a,i.get?i:{enumerable:!0,get:()=>n[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var Ae=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Z(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function uW(t){var e=t.default;if(typeof e=="function"){var r=function(){return e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var a=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return t[n]}})}),r}var JX=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,QX=JX,ZX=QX,eJ=typeof self=="object"&&self&&self.Object===Object&&self,tJ=ZX||eJ||Function("return this")(),Vb=tJ,rJ=Vb,nJ=rJ.Symbol,Ub=nJ,lW=Ub,dW=Object.prototype,aJ=dW.hasOwnProperty,iJ=dW.toString,Nu=lW?lW.toStringTag:void 0;function oJ(t){var e=aJ.call(t,Nu),r=t[Nu];try{t[Nu]=void 0;var n=!0}catch{}var a=iJ.call(t);return n&&(e?t[Nu]=r:delete t[Nu]),a}var sJ=oJ,uJ=Object.prototype,lJ=uJ.toString;function dJ(t){return lJ.call(t)}var cJ=dJ,cW=Ub,fJ=sJ,mJ=cJ,pJ="[object Null]",hJ="[object Undefined]",fW=cW?cW.toStringTag:void 0;function vJ(t){return t==null?t===void 0?hJ:pJ:fW&&fW in Object(t)?fJ(t):mJ(t)}var mW=vJ;function gJ(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var zb=gJ,yJ=mW,_J=zb,bJ="[object AsyncFunction]",wJ="[object Function]",xJ="[object GeneratorFunction]",PJ="[object Proxy]";function kJ(t){if(!_J(t))return!1;var e=yJ(t);return e==wJ||e==xJ||e==bJ||e==PJ}var TJ=kJ,EJ=Vb,MJ=EJ["__core-js_shared__"],SJ=MJ,Bb=SJ,pW=function(){var t=/[^.]+$/.exec(Bb&&Bb.keys&&Bb.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function OJ(t){return!!pW&&pW in t}var CJ=OJ,DJ=Function.prototype,$J=DJ.toString;function AJ(t){if(t!=null){try{return $J.call(t)}catch{}try{return t+""}catch{}}return""}var RJ=AJ,IJ=TJ,NJ=CJ,LJ=zb,WJ=RJ,FJ=/[\\^$.*+?()[\]{}|]/g,jJ=/^\[object .+?Constructor\]$/,VJ=Function.prototype,UJ=Object.prototype,zJ=VJ.toString,BJ=UJ.hasOwnProperty,HJ=RegExp("^"+zJ.call(BJ).replace(FJ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function qJ(t){if(!LJ(t)||NJ(t))return!1;var e=IJ(t)?HJ:jJ;return e.test(WJ(t))}var YJ=qJ;function GJ(t,e){return t==null?void 0:t[e]}var KJ=GJ,XJ=YJ,JJ=KJ;function QJ(t,e){var r=JJ(t,e);return XJ(r)?r:void 0}var Hb=QJ,ZJ=Hb,eQ=function(){try{var t=ZJ(Object,"defineProperty");return t({},"",{}),t}catch{}}(),tQ=eQ,hW=tQ;function rQ(t,e,r){e=="__proto__"&&hW?hW(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var nQ=rQ;function aQ(t,e){return t===e||t!==t&&e!==e}var vW=aQ,iQ=nQ,oQ=vW,sQ=Object.prototype,uQ=sQ.hasOwnProperty;function lQ(t,e,r){var n=t[e];(!(uQ.call(t,e)&&oQ(n,r))||r===void 0&&!(e in t))&&iQ(t,e,r)}var dQ=lQ,cQ=Array.isArray,qb=cQ;function fQ(t){return t!=null&&typeof t=="object"}var mQ=fQ,pQ=mW,hQ=mQ,vQ="[object Symbol]";function gQ(t){return typeof t=="symbol"||hQ(t)&&pQ(t)==vQ}var Yb=gQ,yQ=qb,_Q=Yb,bQ=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wQ=/^\w*$/;function xQ(t,e){if(yQ(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||_Q(t)?!0:wQ.test(t)||!bQ.test(t)||e!=null&&t in Object(e)}var PQ=xQ,kQ=Hb,TQ=kQ(Object,"create"),yc=TQ,gW=yc;function EQ(){this.__data__=gW?gW(null):{},this.size=0}var MQ=EQ;function SQ(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var OQ=SQ,CQ=yc,DQ="__lodash_hash_undefined__",$Q=Object.prototype,AQ=$Q.hasOwnProperty;function RQ(t){var e=this.__data__;if(CQ){var r=e[t];return r===DQ?void 0:r}return AQ.call(e,t)?e[t]:void 0}var IQ=RQ,NQ=yc,LQ=Object.prototype,WQ=LQ.hasOwnProperty;function FQ(t){var e=this.__data__;return NQ?e[t]!==void 0:WQ.call(e,t)}var jQ=FQ,VQ=yc,UQ="__lodash_hash_undefined__";function zQ(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=VQ&&e===void 0?UQ:e,this}var BQ=zQ,HQ=MQ,qQ=OQ,YQ=IQ,GQ=jQ,KQ=BQ;function Fo(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Fo.prototype.clear=HQ,Fo.prototype.delete=qQ,Fo.prototype.get=YQ,Fo.prototype.has=GQ,Fo.prototype.set=KQ;var XQ=Fo;function JQ(){this.__data__=[],this.size=0}var QQ=JQ,ZQ=vW;function eZ(t,e){for(var r=t.length;r--;)if(ZQ(t[r][0],e))return r;return-1}var _c=eZ,tZ=_c,rZ=Array.prototype,nZ=rZ.splice;function aZ(t){var e=this.__data__,r=tZ(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():nZ.call(e,r,1),--this.size,!0}var iZ=aZ,oZ=_c;function sZ(t){var e=this.__data__,r=oZ(e,t);return r<0?void 0:e[r][1]}var uZ=sZ,lZ=_c;function dZ(t){return lZ(this.__data__,t)>-1}var cZ=dZ,fZ=_c;function mZ(t,e){var r=this.__data__,n=fZ(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}var pZ=mZ,hZ=QQ,vZ=iZ,gZ=uZ,yZ=cZ,_Z=pZ;function jo(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}jo.prototype.clear=hZ,jo.prototype.delete=vZ,jo.prototype.get=gZ,jo.prototype.has=yZ,jo.prototype.set=_Z;var bZ=jo,wZ=Hb,xZ=Vb,PZ=wZ(xZ,"Map"),kZ=PZ,yW=XQ,TZ=bZ,EZ=kZ;function MZ(){this.size=0,this.__data__={hash:new yW,map:new(EZ||TZ),string:new yW}}var SZ=MZ;function OZ(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var CZ=OZ,DZ=CZ;function $Z(t,e){var r=t.__data__;return DZ(e)?r[typeof e=="string"?"string":"hash"]:r.map}var bc=$Z,AZ=bc;function RZ(t){var e=AZ(this,t).delete(t);return this.size-=e?1:0,e}var IZ=RZ,NZ=bc;function LZ(t){return NZ(this,t).get(t)}var WZ=LZ,FZ=bc;function jZ(t){return FZ(this,t).has(t)}var VZ=jZ,UZ=bc;function zZ(t,e){var r=UZ(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}var BZ=zZ,HZ=SZ,qZ=IZ,YZ=WZ,GZ=VZ,KZ=BZ;function Vo(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Vo.prototype.clear=HZ,Vo.prototype.delete=qZ,Vo.prototype.get=YZ,Vo.prototype.has=GZ,Vo.prototype.set=KZ;var XZ=Vo,_W=XZ,JZ="Expected a function";function Gb(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(JZ);var r=function(){var n=arguments,a=e?e.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=t.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(Gb.Cache||_W),r}Gb.Cache=_W;var QZ=Gb,ZZ=QZ,eee=500;function tee(t){var e=ZZ(t,function(n){return r.size===eee&&r.clear(),n}),r=e.cache;return e}var ree=tee,nee=ree,aee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,iee=/\\(\\)?/g,oee=nee(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(aee,function(r,n,a,i){e.push(a?i.replace(iee,"$1"):n||r)}),e}),see=oee;function uee(t,e){for(var r=-1,n=t==null?0:t.length,a=Array(n);++r<n;)a[r]=e(t[r],r,t);return a}var lee=uee,bW=Ub,dee=lee,cee=qb,fee=Yb,mee=1/0,wW=bW?bW.prototype:void 0,xW=wW?wW.toString:void 0;function PW(t){if(typeof t=="string")return t;if(cee(t))return dee(t,PW)+"";if(fee(t))return xW?xW.call(t):"";var e=t+"";return e=="0"&&1/t==-mee?"-0":e}var pee=PW,hee=pee;function vee(t){return t==null?"":hee(t)}var gee=vee,yee=qb,_ee=PQ,bee=see,wee=gee;function xee(t,e){return yee(t)?t:_ee(t,e)?[t]:bee(wee(t))}var kW=xee,Pee=9007199254740991,kee=/^(?:0|[1-9]\d*)$/;function Tee(t,e){var r=typeof t;return e=e==null?Pee:e,!!e&&(r=="number"||r!="symbol"&&kee.test(t))&&t>-1&&t%1==0&&t<e}var Eee=Tee,Mee=Yb,See=1/0;function Oee(t){if(typeof t=="string"||Mee(t))return t;var e=t+"";return e=="0"&&1/t==-See?"-0":e}var TW=Oee,Cee=dQ,Dee=kW,$ee=Eee,EW=zb,Aee=TW;function Ree(t,e,r,n){if(!EW(t))return t;e=Dee(e,t);for(var a=-1,i=e.length,o=i-1,s=t;s!=null&&++a<i;){var u=Aee(e[a]),l=r;if(a!=o){var d=s[u];l=n?n(d,u,s):void 0,l===void 0&&(l=EW(d)?d:$ee(e[a+1])?[]:{})}Cee(s,u,l),s=s[u]}return t}var Iee=Ree,Nee=Iee;function Lee(t,e,r){return t==null?t:Nee(t,e,r)}var MW=Lee;const wc=!1,Wee={environment:{format:"String",env:"production"},baseUrl:{format:"String",default:"http://localhost:8080",env:"https://app.cling.se"},showAdminSettings:{format:"Boolean",default:wc,env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_ADMIN_SETTINGS},debug:{format:"Boolean",default:wc,env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_DEBUG},checkAppUpdates:{format:"Boolean",default:!wc,env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_CHECK_APP_UPDATES},logLevel:{format:"Number",default:1,env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_LOG_LEVEL},showSendEmails:{format:"Boolean",default:wc,env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_SHOW_SEND_EMAILS},api:{baseUrl:{format:"String",default:"https://api.dev.cling.se",env:"https://api.cling.se"},socket:{rootUrl:{format:"String",default:"https://api.dev.cling.se",env:"https://api.cling.se"},path:{format:"String",default:"/socket.io",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_CLINGAPI_SOCKET_PATH}}},crisp:{id:{format:"String",default:"d3ff5782-881e-4354-a910-7c5216f37739",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_CRISP_APP_ID}},rollbar:{environment:{format:"String",env:"production"},clientToken:{format:"String",env:"cf75726b70174d4097505ae18d5f9600"}},google:{gaId:{format:"String",default:"",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_GOOGLE_ANALYTICS_ID},awId:{format:"String",default:"",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_GOOGLE_ADS_ID},fontsKey:{format:"String",default:"AIzaSyAmNFe07wm9Zc5XkyZC-R7a7RKbP21GRVc",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_GOOGLE_FONTS_KEY},signInId:{format:"String",default:"304554270591-7sp9q4omqih373020mj0mo2ks2bka1gb.apps.googleusercontent.com",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_GOOGLE_SIGN_IN_ID}},facebook:{pixelUserId:{format:"String",default:"",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_FACEBOOK_PIXEL_USER_ID}},segment:{writeKey:{format:"String",default:"",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_SEGMENT_WRITE_KEY}},unsplash:{id:{format:"String",default:"141f6cc7099b0dcf9bbc6b447135e5623f5793caabff3413b4c82f7751473e31",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_UNSPLASH_ID}},pexels:{id:{format:"String",default:"563492ad6f9170000100000150cc2598932942c583cec92c1f02e9d9",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_PEXELS_ID}},logrocket:{id:{format:"String",default:"",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_LOGROCKET_APP_ID}},stripe:{publishableKey:{format:"String",default:"",env:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8"}},brand:{format:"String",default:"cling",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_BRAND},otherBrandUrl:{format:"String",default:"",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_OTHER_BRAND_URL},clientId:{format:"String",default:"4888cbb193eda211f4b8fc77ce362becf8e8f3147743193c55ce3ea334807a84",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_CLIENT_ID}};let Lu=document.getElementById("config"),Kb={};if(Lu)try{Kb=JSON.parse(Lu.innerText),Lu.parentNode.removeChild(Lu),Lu=null}catch(t){console.error(t),console.error("Failed to load external config")}const SW=t=>typeof t<"u"&&typeof t=="object"&&!Array.isArray(t)&&t!==null,OW=(t,e)=>e.reduce((r,n)=>typeof r>"u"?r:r[n],t);function Fee(t){const e=["format","default","env"],r=["string","number","boolean"];function n(a,i){if(SW(a)&&Object.keys(a).some(s=>e.includes(s))){const s=a.format?a.format.toLowerCase():"string";let u;if(typeof a.default<"u"&&(u=a.default),typeof a.env<"u"&&(u=a.env),typeof OW(Kb,i)<"u"&&(u=OW(Kb,i)),typeof u>"u")return;if(!r.includes(s))throw new Error(`${s} is not a valid config format!`);if(typeof s>"u"){console.warn(`Configuration ${i.join(".")} is not defined`);return}return s==="string"?u.toString():s==="number"?parseFloat(u):s==="boolean"?u.toString().toLowerCase()!=="false":null}return Object.entries(a).reduce((s,[u,l])=>{if(Array.isArray(l))throw new Error("Arrays are not supported in configuration schema");const d=[...i,u];return SW(l)&&(s[u]=n(l,d)),s},{})}return n(t,[])}const ge=Fee(Wee);ge.debug&&console.log(ge);const Xb="Cling",CW={init(t={}){const e=(t==null?void 0:t.environment)||"development";if(e==="development"){const r={environment:e,baseUrl:"https://app.dev2.cling.se","api.baseUrl":"https://api.dev.cling.se","api.socket.rootUrl":"https://api.dev.cling.se","rollbar.clientToken":"cf75726b70174d4097505ae18d5f9600","rollbar.environment":"staging"};Object.keys(r).forEach(n=>{typeof r[n]<"u"&&MW(ge,n,r[n])})}return Promise.resolve().then(()=>h3e).then(r=>{const n=r.default;return window[Xb]=n,Object.assign(this,n),n.init({...t,LIB_NAME:Xb})})}};window[Xb]=CW;const jee=()=>{try{const t=window.localStorage;return t.setItem("test","test"),t.removeItem("test"),!0}catch{return!1}};class Vee{constructor(){St(this,"_memory",{});St(this,"_isLocalStorageSupport",!1);St(this,"_prefix","");this._isLocalStorageSupport=jee()}setPrefix(e){this._prefix=e}_getKey(e){return`${this._prefix}${e}`}getItem(e){return this._isLocalStorageSupport?localStorage.getItem(this._getKey(e)):this._memory[e]||null}setItem(e,r){this._isLocalStorageSupport?localStorage.setItem(this._getKey(e),r):this._memory[e]=r}removeItem(e){this._isLocalStorageSupport?localStorage.removeItem(this._getKey(e)):delete this._memory[e]}clear(){this._isLocalStorageSupport?localStorage.clear():this._memory={}}}const Le=new Vee;/*!
1
+ (function(te,Ae){typeof exports=="object"&&typeof module<"u"?module.exports=Ae():typeof define=="function"&&define.amd?define(Ae):(te=typeof globalThis<"u"?globalThis:te||self,te.widget=Ae())})(this,function(){"use strict";var uht=Object.defineProperty;var lht=(te,Ae,Z)=>Ae in te?uht(te,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Z}):te[Ae]=Z;var St=(te,Ae,Z)=>(lht(te,typeof Ae!="symbol"?Ae+"":Ae,Z),Z);function te(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in t)){const i=Object.getOwnPropertyDescriptor(n,a);i&&Object.defineProperty(t,a,i.get?i:{enumerable:!0,get:()=>n[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var Ae=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Z(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function uW(t){var e=t.default;if(typeof e=="function"){var r=function(){return e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var a=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return t[n]}})}),r}var JX=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,QX=JX,ZX=QX,eJ=typeof self=="object"&&self&&self.Object===Object&&self,tJ=ZX||eJ||Function("return this")(),Vb=tJ,rJ=Vb,nJ=rJ.Symbol,Ub=nJ,lW=Ub,dW=Object.prototype,aJ=dW.hasOwnProperty,iJ=dW.toString,Nu=lW?lW.toStringTag:void 0;function oJ(t){var e=aJ.call(t,Nu),r=t[Nu];try{t[Nu]=void 0;var n=!0}catch{}var a=iJ.call(t);return n&&(e?t[Nu]=r:delete t[Nu]),a}var sJ=oJ,uJ=Object.prototype,lJ=uJ.toString;function dJ(t){return lJ.call(t)}var cJ=dJ,cW=Ub,fJ=sJ,mJ=cJ,pJ="[object Null]",hJ="[object Undefined]",fW=cW?cW.toStringTag:void 0;function vJ(t){return t==null?t===void 0?hJ:pJ:fW&&fW in Object(t)?fJ(t):mJ(t)}var mW=vJ;function gJ(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var zb=gJ,yJ=mW,_J=zb,bJ="[object AsyncFunction]",wJ="[object Function]",xJ="[object GeneratorFunction]",PJ="[object Proxy]";function kJ(t){if(!_J(t))return!1;var e=yJ(t);return e==wJ||e==xJ||e==bJ||e==PJ}var TJ=kJ,EJ=Vb,MJ=EJ["__core-js_shared__"],SJ=MJ,Bb=SJ,pW=function(){var t=/[^.]+$/.exec(Bb&&Bb.keys&&Bb.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function OJ(t){return!!pW&&pW in t}var CJ=OJ,DJ=Function.prototype,$J=DJ.toString;function AJ(t){if(t!=null){try{return $J.call(t)}catch{}try{return t+""}catch{}}return""}var RJ=AJ,IJ=TJ,NJ=CJ,LJ=zb,WJ=RJ,FJ=/[\\^$.*+?()[\]{}|]/g,jJ=/^\[object .+?Constructor\]$/,VJ=Function.prototype,UJ=Object.prototype,zJ=VJ.toString,BJ=UJ.hasOwnProperty,HJ=RegExp("^"+zJ.call(BJ).replace(FJ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function qJ(t){if(!LJ(t)||NJ(t))return!1;var e=IJ(t)?HJ:jJ;return e.test(WJ(t))}var YJ=qJ;function GJ(t,e){return t==null?void 0:t[e]}var KJ=GJ,XJ=YJ,JJ=KJ;function QJ(t,e){var r=JJ(t,e);return XJ(r)?r:void 0}var Hb=QJ,ZJ=Hb,eQ=function(){try{var t=ZJ(Object,"defineProperty");return t({},"",{}),t}catch{}}(),tQ=eQ,hW=tQ;function rQ(t,e,r){e=="__proto__"&&hW?hW(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var nQ=rQ;function aQ(t,e){return t===e||t!==t&&e!==e}var vW=aQ,iQ=nQ,oQ=vW,sQ=Object.prototype,uQ=sQ.hasOwnProperty;function lQ(t,e,r){var n=t[e];(!(uQ.call(t,e)&&oQ(n,r))||r===void 0&&!(e in t))&&iQ(t,e,r)}var dQ=lQ,cQ=Array.isArray,qb=cQ;function fQ(t){return t!=null&&typeof t=="object"}var mQ=fQ,pQ=mW,hQ=mQ,vQ="[object Symbol]";function gQ(t){return typeof t=="symbol"||hQ(t)&&pQ(t)==vQ}var Yb=gQ,yQ=qb,_Q=Yb,bQ=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wQ=/^\w*$/;function xQ(t,e){if(yQ(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||_Q(t)?!0:wQ.test(t)||!bQ.test(t)||e!=null&&t in Object(e)}var PQ=xQ,kQ=Hb,TQ=kQ(Object,"create"),yc=TQ,gW=yc;function EQ(){this.__data__=gW?gW(null):{},this.size=0}var MQ=EQ;function SQ(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var OQ=SQ,CQ=yc,DQ="__lodash_hash_undefined__",$Q=Object.prototype,AQ=$Q.hasOwnProperty;function RQ(t){var e=this.__data__;if(CQ){var r=e[t];return r===DQ?void 0:r}return AQ.call(e,t)?e[t]:void 0}var IQ=RQ,NQ=yc,LQ=Object.prototype,WQ=LQ.hasOwnProperty;function FQ(t){var e=this.__data__;return NQ?e[t]!==void 0:WQ.call(e,t)}var jQ=FQ,VQ=yc,UQ="__lodash_hash_undefined__";function zQ(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=VQ&&e===void 0?UQ:e,this}var BQ=zQ,HQ=MQ,qQ=OQ,YQ=IQ,GQ=jQ,KQ=BQ;function Fo(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Fo.prototype.clear=HQ,Fo.prototype.delete=qQ,Fo.prototype.get=YQ,Fo.prototype.has=GQ,Fo.prototype.set=KQ;var XQ=Fo;function JQ(){this.__data__=[],this.size=0}var QQ=JQ,ZQ=vW;function eZ(t,e){for(var r=t.length;r--;)if(ZQ(t[r][0],e))return r;return-1}var _c=eZ,tZ=_c,rZ=Array.prototype,nZ=rZ.splice;function aZ(t){var e=this.__data__,r=tZ(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():nZ.call(e,r,1),--this.size,!0}var iZ=aZ,oZ=_c;function sZ(t){var e=this.__data__,r=oZ(e,t);return r<0?void 0:e[r][1]}var uZ=sZ,lZ=_c;function dZ(t){return lZ(this.__data__,t)>-1}var cZ=dZ,fZ=_c;function mZ(t,e){var r=this.__data__,n=fZ(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}var pZ=mZ,hZ=QQ,vZ=iZ,gZ=uZ,yZ=cZ,_Z=pZ;function jo(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}jo.prototype.clear=hZ,jo.prototype.delete=vZ,jo.prototype.get=gZ,jo.prototype.has=yZ,jo.prototype.set=_Z;var bZ=jo,wZ=Hb,xZ=Vb,PZ=wZ(xZ,"Map"),kZ=PZ,yW=XQ,TZ=bZ,EZ=kZ;function MZ(){this.size=0,this.__data__={hash:new yW,map:new(EZ||TZ),string:new yW}}var SZ=MZ;function OZ(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var CZ=OZ,DZ=CZ;function $Z(t,e){var r=t.__data__;return DZ(e)?r[typeof e=="string"?"string":"hash"]:r.map}var bc=$Z,AZ=bc;function RZ(t){var e=AZ(this,t).delete(t);return this.size-=e?1:0,e}var IZ=RZ,NZ=bc;function LZ(t){return NZ(this,t).get(t)}var WZ=LZ,FZ=bc;function jZ(t){return FZ(this,t).has(t)}var VZ=jZ,UZ=bc;function zZ(t,e){var r=UZ(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}var BZ=zZ,HZ=SZ,qZ=IZ,YZ=WZ,GZ=VZ,KZ=BZ;function Vo(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Vo.prototype.clear=HZ,Vo.prototype.delete=qZ,Vo.prototype.get=YZ,Vo.prototype.has=GZ,Vo.prototype.set=KZ;var XZ=Vo,_W=XZ,JZ="Expected a function";function Gb(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(JZ);var r=function(){var n=arguments,a=e?e.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=t.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(Gb.Cache||_W),r}Gb.Cache=_W;var QZ=Gb,ZZ=QZ,eee=500;function tee(t){var e=ZZ(t,function(n){return r.size===eee&&r.clear(),n}),r=e.cache;return e}var ree=tee,nee=ree,aee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,iee=/\\(\\)?/g,oee=nee(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(aee,function(r,n,a,i){e.push(a?i.replace(iee,"$1"):n||r)}),e}),see=oee;function uee(t,e){for(var r=-1,n=t==null?0:t.length,a=Array(n);++r<n;)a[r]=e(t[r],r,t);return a}var lee=uee,bW=Ub,dee=lee,cee=qb,fee=Yb,mee=1/0,wW=bW?bW.prototype:void 0,xW=wW?wW.toString:void 0;function PW(t){if(typeof t=="string")return t;if(cee(t))return dee(t,PW)+"";if(fee(t))return xW?xW.call(t):"";var e=t+"";return e=="0"&&1/t==-mee?"-0":e}var pee=PW,hee=pee;function vee(t){return t==null?"":hee(t)}var gee=vee,yee=qb,_ee=PQ,bee=see,wee=gee;function xee(t,e){return yee(t)?t:_ee(t,e)?[t]:bee(wee(t))}var kW=xee,Pee=9007199254740991,kee=/^(?:0|[1-9]\d*)$/;function Tee(t,e){var r=typeof t;return e=e==null?Pee:e,!!e&&(r=="number"||r!="symbol"&&kee.test(t))&&t>-1&&t%1==0&&t<e}var Eee=Tee,Mee=Yb,See=1/0;function Oee(t){if(typeof t=="string"||Mee(t))return t;var e=t+"";return e=="0"&&1/t==-See?"-0":e}var TW=Oee,Cee=dQ,Dee=kW,$ee=Eee,EW=zb,Aee=TW;function Ree(t,e,r,n){if(!EW(t))return t;e=Dee(e,t);for(var a=-1,i=e.length,o=i-1,s=t;s!=null&&++a<i;){var u=Aee(e[a]),l=r;if(a!=o){var d=s[u];l=n?n(d,u,s):void 0,l===void 0&&(l=EW(d)?d:$ee(e[a+1])?[]:{})}Cee(s,u,l),s=s[u]}return t}var Iee=Ree,Nee=Iee;function Lee(t,e,r){return t==null?t:Nee(t,e,r)}var MW=Lee;const wc=!1,Wee={environment:{format:"String",env:"production"},baseUrl:{format:"String",default:"http://localhost:8080",env:"https://app.cling.se"},showAdminSettings:{format:"Boolean",default:wc,env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_ADMIN_SETTINGS},debug:{format:"Boolean",default:wc,env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_DEBUG},checkAppUpdates:{format:"Boolean",default:!wc,env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_CHECK_APP_UPDATES},logLevel:{format:"Number",default:1,env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_LOG_LEVEL},showSendEmails:{format:"Boolean",default:wc,env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_SHOW_SEND_EMAILS},api:{baseUrl:{format:"String",default:"https://api.dev.cling.se",env:"https://api.cling.se"},socket:{rootUrl:{format:"String",default:"https://api.dev.cling.se",env:"https://api.cling.se"},path:{format:"String",default:"/socket.io",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_CLINGAPI_SOCKET_PATH}}},crisp:{id:{format:"String",default:"d3ff5782-881e-4354-a910-7c5216f37739",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_CRISP_APP_ID}},rollbar:{environment:{format:"String",env:"production"},clientToken:{format:"String",env:"cf75726b70174d4097505ae18d5f9600"}},google:{gaId:{format:"String",default:"",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_GOOGLE_ANALYTICS_ID},awId:{format:"String",default:"",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_GOOGLE_ADS_ID},fontsKey:{format:"String",default:"AIzaSyAmNFe07wm9Zc5XkyZC-R7a7RKbP21GRVc",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_GOOGLE_FONTS_KEY},signInId:{format:"String",default:"304554270591-7sp9q4omqih373020mj0mo2ks2bka1gb.apps.googleusercontent.com",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_GOOGLE_SIGN_IN_ID}},facebook:{pixelUserId:{format:"String",default:"",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_FACEBOOK_PIXEL_USER_ID}},segment:{writeKey:{format:"String",default:"",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_SEGMENT_WRITE_KEY}},unsplash:{id:{format:"String",default:"141f6cc7099b0dcf9bbc6b447135e5623f5793caabff3413b4c82f7751473e31",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_UNSPLASH_ID}},pexels:{id:{format:"String",default:"563492ad6f9170000100000150cc2598932942c583cec92c1f02e9d9",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_PEXELS_ID}},logrocket:{id:{format:"String",default:"",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_LOGROCKET_APP_ID}},stripe:{publishableKey:{format:"String",default:"",env:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8"}},brand:{format:"String",default:"cling",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_BRAND},otherBrandUrl:{format:"String",default:"",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_OTHER_BRAND_URL},clientId:{format:"String",default:"4888cbb193eda211f4b8fc77ce362becf8e8f3147743193c55ce3ea334807a84",env:{VITE_APP_ROOT_STYLE_ID:"CLING_WIDGET_STYLE",VITE_APP_WEB_BASEURL:"https://app.cling.se",VITE_APP_CLINGAPI_BASEURL:"https://api.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT:"https://api.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV:"production",VITE_APP_STRIPE_PUBLISHABLE_KEY:"pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8",VITE_APP_WEB_BASEURL_DEV:"https://app.dev2.cling.se",VITE_APP_CLINGAPI_BASEURL_DEV:"https://api.dev.cling.se",VITE_APP_CLINGAPI_SOCKET_ROOT_DEV:"https://api.dev.cling.se",VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV:"cf75726b70174d4097505ae18d5f9600",VITE_APP_ROLLBAR_ENV_DEV:"staging",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_APP_CLIENT_ID}};let Lu=document.getElementById("config"),Kb={};if(Lu)try{Kb=JSON.parse(Lu.innerText),Lu.parentNode.removeChild(Lu),Lu=null}catch(t){console.error(t),console.error("Failed to load external config")}const SW=t=>typeof t<"u"&&typeof t=="object"&&!Array.isArray(t)&&t!==null,OW=(t,e)=>e.reduce((r,n)=>typeof r>"u"?r:r[n],t);function Fee(t){const e=["format","default","env"],r=["string","number","boolean"];function n(a,i){if(SW(a)&&Object.keys(a).some(s=>e.includes(s))){const s=a.format?a.format.toLowerCase():"string";let u;if(typeof a.default<"u"&&(u=a.default),typeof a.env<"u"&&(u=a.env),typeof OW(Kb,i)<"u"&&(u=OW(Kb,i)),typeof u>"u")return;if(!r.includes(s))throw new Error(`${s} is not a valid config format!`);if(typeof s>"u"){console.warn(`Configuration ${i.join(".")} is not defined`);return}return s==="string"?u.toString():s==="number"?parseFloat(u):s==="boolean"?u.toString().toLowerCase()!=="false":null}return Object.entries(a).reduce((s,[u,l])=>{if(Array.isArray(l))throw new Error("Arrays are not supported in configuration schema");const d=[...i,u];return SW(l)&&(s[u]=n(l,d)),s},{})}return n(t,[])}const ge=Fee(Wee);ge.debug&&console.log(ge);const Xb="Cling",CW={init(t={}){const e=(t==null?void 0:t.environment)||"development";if(e==="development"){const r={environment:e,baseUrl:"https://app.dev2.cling.se","api.baseUrl":"https://api.dev.cling.se","api.socket.rootUrl":"https://api.dev.cling.se","rollbar.clientToken":"cf75726b70174d4097505ae18d5f9600","rollbar.environment":"staging"};Object.keys(r).forEach(n=>{typeof r[n]<"u"&&MW(ge,n,r[n])})}return Promise.resolve().then(()=>h3e).then(r=>{const n=r.default;return window[Xb]=n,Object.assign(this,n),n.init({...t,LIB_NAME:Xb})})}};window[Xb]=CW;const jee=()=>{try{const t=window.localStorage;return t.setItem("test","test"),t.removeItem("test"),!0}catch{return!1}};class Vee{constructor(){St(this,"_memory",{});St(this,"_isLocalStorageSupport",!1);St(this,"_prefix","");this._isLocalStorageSupport=jee()}setPrefix(e){this._prefix=e}_getKey(e){return`${this._prefix}${e}`}getItem(e){return this._isLocalStorageSupport?localStorage.getItem(this._getKey(e)):this._memory[e]||null}setItem(e,r){this._isLocalStorageSupport?localStorage.setItem(this._getKey(e),r):this._memory[e]=r}removeItem(e){this._isLocalStorageSupport?localStorage.removeItem(this._getKey(e)):delete this._memory[e]}clear(){this._isLocalStorageSupport?localStorage.clear():this._memory={}}}const Fe=new Vee;/*!
2
2
  * Vue.js v2.7.13
3
3
  * (c) 2014-2022 Evan You
4
4
  * Released under the MIT License.
5
- */var wr=Object.freeze({}),We=Array.isArray;function Te(t){return t==null}function q(t){return t!=null}function xt(t){return t===!0}function Uee(t){return t===!1}function Wu(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function Et(t){return typeof t=="function"}function Xt(t){return t!==null&&typeof t=="object"}var xc=Object.prototype.toString;function zee(t){return xc.call(t).slice(8,-1)}function cr(t){return xc.call(t)==="[object Object]"}function Bee(t){return xc.call(t)==="[object RegExp]"}function DW(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function Jb(t){return q(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function Hee(t){return t==null?"":Array.isArray(t)||cr(t)&&t.toString===xc?JSON.stringify(t,null,2):String(t)}function Fu(t){var e=parseFloat(t);return isNaN(e)?t:e}function Qr(t,e){for(var r=Object.create(null),n=t.split(","),a=0;a<n.length;a++)r[n[a]]=!0;return e?function(i){return r[i.toLowerCase()]}:function(i){return r[i]}}Qr("slot,component",!0);var qee=Qr("key,ref,slot,slot-scope,is");function Ca(t,e){var r=t.length;if(r){if(e===t[r-1]){t.length=r-1;return}var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var Yee=Object.prototype.hasOwnProperty;function ur(t,e){return Yee.call(t,e)}function xi(t){var e=Object.create(null);return function(n){var a=e[n];return a||(e[n]=t(n))}}var Gee=/-(\w)/g,Pi=xi(function(t){return t.replace(Gee,function(e,r){return r?r.toUpperCase():""})}),Kee=xi(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Xee=/\B([A-Z])/g,ju=xi(function(t){return t.replace(Xee,"-$1").toLowerCase()});function Jee(t,e){function r(n){var a=arguments.length;return a?a>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return r._length=t.length,r}function Qee(t,e){return t.bind(e)}var $W=Function.prototype.bind?Qee:Jee;function Qb(t,e){e=e||0;for(var r=t.length-e,n=new Array(r);r--;)n[r]=t[r+e];return n}function ot(t,e){for(var r in e)t[r]=e[r];return t}function AW(t){for(var e={},r=0;r<t.length;r++)t[r]&&ot(e,t[r]);return e}function Vt(t,e,r){}var Pc=function(t,e,r){return!1},RW=function(t){return t};function ki(t,e){if(t===e)return!0;var r=Xt(t),n=Xt(e);if(r&&n)try{var a=Array.isArray(t),i=Array.isArray(e);if(a&&i)return t.length===e.length&&t.every(function(u,l){return ki(u,e[l])});if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(!a&&!i){var o=Object.keys(t),s=Object.keys(e);return o.length===s.length&&o.every(function(u){return ki(t[u],e[u])})}else return!1}catch{return!1}else return!r&&!n?String(t)===String(e):!1}function IW(t,e){for(var r=0;r<t.length;r++)if(ki(t[r],e))return r;return-1}function kc(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function Zee(t,e){return t===e?t===0&&1/t!==1/e:t===t||e===e}var NW="data-server-rendered",Tc=["component","directive","filter"],LW=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],Vr={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Pc,isReservedAttr:Pc,isUnknownElement:Pc,getTagNamespace:Vt,parsePlatformTagName:RW,mustUseProp:Pc,async:!0,_lifecycleHooks:LW},ete=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function WW(t){var e=(t+"").charCodeAt(0);return e===36||e===95}function Da(t,e,r,n){Object.defineProperty(t,e,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var tte=new RegExp("[^".concat(ete.source,".$_\\d]"));function rte(t){if(!tte.test(t)){var e=t.split(".");return function(r){for(var n=0;n<e.length;n++){if(!r)return;r=r[e[n]]}return r}}}var nte="__proto__"in{},xr=typeof window<"u",Jt=xr&&window.navigator.userAgent.toLowerCase(),Uo=Jt&&/msie|trident/.test(Jt),zo=Jt&&Jt.indexOf("msie 9.0")>0,Zb=Jt&&Jt.indexOf("edge/")>0;Jt&&Jt.indexOf("android")>0;var ate=Jt&&/iphone|ipad|ipod|ios/.test(Jt);Jt&&/chrome\/\d+/.test(Jt),Jt&&/phantomjs/.test(Jt);var FW=Jt&&Jt.match(/firefox\/(\d+)/),e0={}.watch,jW=!1;if(xr)try{var VW={};Object.defineProperty(VW,"passive",{get:function(){jW=!0}}),window.addEventListener("test-passive",null,VW)}catch{}var Ec,Vu=function(){return Ec===void 0&&(!xr&&typeof global<"u"?Ec=global.process&&global.process.env.VUE_ENV==="server":Ec=!1),Ec},Mc=xr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Bo(t){return typeof t=="function"&&/native code/.test(t.toString())}var Uu=typeof Symbol<"u"&&Bo(Symbol)&&typeof Reflect<"u"&&Bo(Reflect.ownKeys),zu;typeof Set<"u"&&Bo(Set)?zu=Set:zu=function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(e){return this.set[e]===!0},t.prototype.add=function(e){this.set[e]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Bu=null;function $a(t){t===void 0&&(t=null),t||Bu&&Bu._scope.off(),Bu=t,t&&t._scope.on()}var Pr=function(){function t(e,r,n,a,i,o,s,u){this.tag=e,this.data=r,this.children=n,this.text=a,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=r&&r.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=u,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),Ti=function(t){t===void 0&&(t="");var e=new Pr;return e.text=t,e.isComment=!0,e};function Ho(t){return new Pr(void 0,void 0,void 0,String(t))}function t0(t){var e=new Pr(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var ite=0,Sc=[],ote=function(){for(var t=0;t<Sc.length;t++){var e=Sc[t];e.subs=e.subs.filter(function(r){return r}),e._pending=!1}Sc.length=0},Aa=function(){function t(){this._pending=!1,this.id=ite++,this.subs=[]}return t.prototype.addSub=function(e){this.subs.push(e)},t.prototype.removeSub=function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,Sc.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(e){for(var r=this.subs.filter(function(o){return o}),n=0,a=r.length;n<a;n++){var i=r[n];i.update()}},t}();Aa.target=null;var Oc=[];function qo(t){Oc.push(t),Aa.target=t}function Yo(){Oc.pop(),Aa.target=Oc[Oc.length-1]}var UW=Array.prototype,Cc=Object.create(UW),ste=["push","pop","shift","unshift","splice","sort","reverse"];ste.forEach(function(t){var e=UW[t];Da(Cc,t,function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=e.apply(this,n),o=this.__ob__,s;switch(t){case"push":case"unshift":s=n;break;case"splice":s=n.slice(2);break}return s&&o.observeArray(s),o.dep.notify(),i})});var ute=new WeakMap;function zW(t){return lte(t,!0),Da(t,"__v_isShallow",!0),t}function lte(t,e){r0(t)||ea(t,e,Vu())}function r0(t){return!!(t&&t.__v_isReadonly)}var BW=Object.getOwnPropertyNames(Cc),HW={},n0=!0;function Ra(t){n0=t}var dte={notify:Vt,depend:Vt,addSub:Vt,removeSub:Vt},qW=function(){function t(e,r,n){if(r===void 0&&(r=!1),n===void 0&&(n=!1),this.value=e,this.shallow=r,this.mock=n,this.dep=n?dte:new Aa,this.vmCount=0,Da(e,"__ob__",this),We(e)){if(!n)if(nte)e.__proto__=Cc;else for(var a=0,i=BW.length;a<i;a++){var o=BW[a];Da(e,o,Cc[o])}r||this.observeArray(e)}else for(var s=Object.keys(e),a=0;a<s.length;a++){var o=s[a];Ei(e,o,HW,void 0,r,n)}}return t.prototype.observeArray=function(e){for(var r=0,n=e.length;r<n;r++)ea(e[r],!1,this.mock)},t}();function ea(t,e,r){if(t&&ur(t,"__ob__")&&t.__ob__ instanceof qW)return t.__ob__;if(n0&&(r||!Vu())&&(We(t)||cr(t))&&Object.isExtensible(t)&&!t.__v_skip&&!ute.has(t)&&!Pn(t)&&!(t instanceof Pr))return new qW(t,e,r)}function Ei(t,e,r,n,a,i){var o=new Aa,s=Object.getOwnPropertyDescriptor(t,e);if(!(s&&s.configurable===!1)){var u=s&&s.get,l=s&&s.set;(!u||l)&&(r===HW||arguments.length===2)&&(r=t[e]);var d=!a&&ea(r,!1,i);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var m=u?u.call(t):r;return Aa.target&&(o.depend(),d&&(d.dep.depend(),We(m)&&GW(m))),Pn(m)&&!a?m.value:m},set:function(m){var f=u?u.call(t):r;if(!!Zee(f,m)){if(l)l.call(t,m);else{if(u)return;if(!a&&Pn(f)&&!Pn(m)){f.value=m;return}else r=m}d=!a&&ea(m,!1,i),o.notify()}}}),o}}function a0(t,e,r){if(!r0(t)){var n=t.__ob__;return We(t)&&DW(e)?(t.length=Math.max(t.length,e),t.splice(e,1,r),n&&!n.shallow&&n.mock&&ea(r,!1,!0),r):e in t&&!(e in Object.prototype)?(t[e]=r,r):t._isVue||n&&n.vmCount?r:n?(Ei(n.value,e,r,void 0,n.shallow,n.mock),n.dep.notify(),r):(t[e]=r,r)}}function YW(t,e){if(We(t)&&DW(e)){t.splice(e,1);return}var r=t.__ob__;t._isVue||r&&r.vmCount||r0(t)||!ur(t,e)||(delete t[e],r&&r.dep.notify())}function GW(t){for(var e=void 0,r=0,n=t.length;r<n;r++)e=t[r],e&&e.__ob__&&e.__ob__.dep.depend(),We(e)&&GW(e)}function Pn(t){return!!(t&&t.__v_isRef===!0)}function i0(t,e,r){Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:function(){var n=e[r];if(Pn(n))return n.value;var a=n&&n.__ob__;return a&&a.dep.depend(),n},set:function(n){var a=e[r];Pn(a)&&!Pn(n)?a.value=n:e[r]=n}})}var kr,cte=function(){function t(e){e===void 0&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=kr,!e&&kr&&(this.index=(kr.scopes||(kr.scopes=[])).push(this)-1)}return t.prototype.run=function(e){if(this.active){var r=kr;try{return kr=this,e()}finally{kr=r}}},t.prototype.on=function(){kr=this},t.prototype.off=function(){kr=this.parent},t.prototype.stop=function(e){if(this.active){var r=void 0,n=void 0;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].teardown();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!e){var a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0,this.active=!1}},t}();function fte(t,e){e===void 0&&(e=kr),e&&e.active&&e.effects.push(t)}function mte(t){var e=t._provided,r=t.$parent&&t.$parent._provided;return r===e?t._provided=Object.create(r):e}var KW=xi(function(t){var e=t.charAt(0)==="&";t=e?t.slice(1):t;var r=t.charAt(0)==="~";t=r?t.slice(1):t;var n=t.charAt(0)==="!";return t=n?t.slice(1):t,{name:t,once:r,capture:n,passive:e}});function o0(t,e){function r(){var n=r.fns;if(We(n))for(var a=n.slice(),i=0;i<a.length;i++)Na(a[i],null,arguments,e,"v-on handler");else return Na(n,null,arguments,e,"v-on handler")}return r.fns=t,r}function XW(t,e,r,n,a,i){var o,s,u,l;for(o in t)s=t[o],u=e[o],l=KW(o),Te(s)||(Te(u)?(Te(s.fns)&&(s=t[o]=o0(s,i)),xt(l.once)&&(s=t[o]=a(l.name,s,l.capture)),r(l.name,s,l.capture,l.passive,l.params)):s!==u&&(u.fns=s,t[o]=u));for(o in e)Te(t[o])&&(l=KW(o),n(l.name,e[o],l.capture))}function Ia(t,e,r){t instanceof Pr&&(t=t.data.hook||(t.data.hook={}));var n,a=t[e];function i(){r.apply(this,arguments),Ca(n.fns,i)}Te(a)?n=o0([i]):q(a.fns)&&xt(a.merged)?(n=a,n.fns.push(i)):n=o0([a,i]),n.merged=!0,t[e]=n}function pte(t,e,r){var n=e.options.props;if(!Te(n)){var a={},i=t.attrs,o=t.props;if(q(i)||q(o))for(var s in n){var u=ju(s);JW(a,o,s,u,!0)||JW(a,i,s,u,!1)}return a}}function JW(t,e,r,n,a){if(q(e)){if(ur(e,r))return t[r]=e[r],a||delete e[r],!0;if(ur(e,n))return t[r]=e[n],a||delete e[n],!0}return!1}function hte(t){for(var e=0;e<t.length;e++)if(We(t[e]))return Array.prototype.concat.apply([],t);return t}function s0(t){return Wu(t)?[Ho(t)]:We(t)?QW(t):void 0}function Hu(t){return q(t)&&q(t.text)&&Uee(t.isComment)}function QW(t,e){var r=[],n,a,i,o;for(n=0;n<t.length;n++)a=t[n],!(Te(a)||typeof a=="boolean")&&(i=r.length-1,o=r[i],We(a)?a.length>0&&(a=QW(a,"".concat(e||"","_").concat(n)),Hu(a[0])&&Hu(o)&&(r[i]=Ho(o.text+a[0].text),a.shift()),r.push.apply(r,a)):Wu(a)?Hu(o)?r[i]=Ho(o.text+a):a!==""&&r.push(Ho(a)):Hu(a)&&Hu(o)?r[i]=Ho(o.text+a.text):(xt(t._isVList)&&q(a.tag)&&Te(a.key)&&q(e)&&(a.key="__vlist".concat(e,"_").concat(n,"__")),r.push(a)));return r}function vte(t,e){var r=null,n,a,i,o;if(We(t)||typeof t=="string")for(r=new Array(t.length),n=0,a=t.length;n<a;n++)r[n]=e(t[n],n);else if(typeof t=="number")for(r=new Array(t),n=0;n<t;n++)r[n]=e(n+1,n);else if(Xt(t))if(Uu&&t[Symbol.iterator]){r=[];for(var s=t[Symbol.iterator](),u=s.next();!u.done;)r.push(e(u.value,r.length)),u=s.next()}else for(i=Object.keys(t),r=new Array(i.length),n=0,a=i.length;n<a;n++)o=i[n],r[n]=e(t[o],o,n);return q(r)||(r=[]),r._isVList=!0,r}function gte(t,e,r,n){var a=this.$scopedSlots[t],i;a?(r=r||{},n&&(r=ot(ot({},n),r)),i=a(r)||(Et(e)?e():e)):i=this.$slots[t]||(Et(e)?e():e);var o=r&&r.slot;return o?this.$createElement("template",{slot:o},i):i}function yte(t){return Fc(this.$options,"filters",t)||RW}function ZW(t,e){return We(t)?t.indexOf(e)===-1:t!==e}function _te(t,e,r,n,a){var i=Vr.keyCodes[e]||r;return a&&n&&!Vr.keyCodes[e]?ZW(a,n):i?ZW(i,t):n?ju(n)!==e:t===void 0}function bte(t,e,r,n,a){if(r&&Xt(r)){We(r)&&(r=AW(r));var i=void 0,o=function(u){if(u==="class"||u==="style"||qee(u))i=t;else{var l=t.attrs&&t.attrs.type;i=n||Vr.mustUseProp(e,l,u)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var d=Pi(u),c=ju(u);if(!(d in i)&&!(c in i)&&(i[u]=r[u],a)){var m=t.on||(t.on={});m["update:".concat(u)]=function(f){r[u]=f}}};for(var s in r)o(s)}return t}function wte(t,e){var r=this._staticTrees||(this._staticTrees=[]),n=r[t];return n&&!e||(n=r[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),eF(n,"__static__".concat(t),!1)),n}function xte(t,e,r){return eF(t,"__once__".concat(e).concat(r?"_".concat(r):""),!0),t}function eF(t,e,r){if(We(t))for(var n=0;n<t.length;n++)t[n]&&typeof t[n]!="string"&&tF(t[n],"".concat(e,"_").concat(n),r);else tF(t,e,r)}function tF(t,e,r){t.isStatic=!0,t.key=e,t.isOnce=r}function Pte(t,e){if(e&&cr(e)){var r=t.on=t.on?ot({},t.on):{};for(var n in e){var a=r[n],i=e[n];r[n]=a?[].concat(a,i):i}}return t}function rF(t,e,r,n){e=e||{$stable:!r};for(var a=0;a<t.length;a++){var i=t[a];We(i)?rF(i,e,r):i&&(i.proxy&&(i.fn.proxy=!0),e[i.key]=i.fn)}return n&&(e.$key=n),e}function kte(t,e){for(var r=0;r<e.length;r+=2){var n=e[r];typeof n=="string"&&n&&(t[e[r]]=e[r+1])}return t}function Tte(t,e){return typeof t=="string"?e+t:t}function nF(t){t._o=xte,t._n=Fu,t._s=Hee,t._l=vte,t._t=gte,t._q=ki,t._i=IW,t._m=wte,t._f=yte,t._k=_te,t._b=bte,t._v=Ho,t._e=Ti,t._u=rF,t._g=Pte,t._d=kte,t._p=Tte}function u0(t,e){if(!t||!t.length)return{};for(var r={},n=0,a=t.length;n<a;n++){var i=t[n],o=i.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,(i.context===e||i.fnContext===e)&&o&&o.slot!=null){var s=o.slot,u=r[s]||(r[s]=[]);i.tag==="template"?u.push.apply(u,i.children||[]):u.push(i)}else(r.default||(r.default=[])).push(i)}for(var l in r)r[l].every(Ete)&&delete r[l];return r}function Ete(t){return t.isComment&&!t.asyncFactory||t.text===" "}function qu(t){return t.isComment&&t.asyncFactory}function Yu(t,e,r,n){var a,i=Object.keys(r).length>0,o=e?!!e.$stable:!i,s=e&&e.$key;if(!e)a={};else{if(e._normalized)return e._normalized;if(o&&n&&n!==wr&&s===n.$key&&!i&&!n.$hasNormal)return n;a={};for(var u in e)e[u]&&u[0]!=="$"&&(a[u]=Mte(t,r,u,e[u]))}for(var l in r)l in a||(a[l]=Ste(r,l));return e&&Object.isExtensible(e)&&(e._normalized=a),Da(a,"$stable",o),Da(a,"$key",s),Da(a,"$hasNormal",i),a}function Mte(t,e,r,n){var a=function(){var i=Bu;$a(t);var o=arguments.length?n.apply(null,arguments):n({});o=o&&typeof o=="object"&&!We(o)?[o]:s0(o);var s=o&&o[0];return $a(i),o&&(!s||o.length===1&&s.isComment&&!qu(s))?void 0:o};return n.proxy&&Object.defineProperty(e,r,{get:a,enumerable:!0,configurable:!0}),a}function Ste(t,e){return function(){return t[e]}}function Ote(t){var e=t.$options,r=e.setup;if(r){var n=t._setupContext=Cte(t);$a(t),qo();var a=Na(r,null,[t._props||zW({}),n],t,"setup");if(Yo(),$a(),Et(a))e.render=a;else if(Xt(a))if(t._setupState=a,a.__sfc){var o=t._setupProxy={};for(var i in a)i!=="__sfc"&&i0(o,a,i)}else for(var i in a)WW(i)||i0(t,a,i)}}function Cte(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Da(e,"_v_attr_proxy",!0),Dc(e,t.$attrs,wr,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Dc(e,t.$listeners,wr,t,"$listeners")}return t._listenersProxy},get slots(){return $te(t)},emit:$W(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(r){return i0(t,e,r)})}}}function Dc(t,e,r,n,a){var i=!1;for(var o in e)o in t?e[o]!==r[o]&&(i=!0):(i=!0,Dte(t,o,n,a));for(var o in t)o in e||(i=!0,delete t[o]);return i}function Dte(t,e,r,n){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return r[n][e]}})}function $te(t){return t._slotsProxy||aF(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function aF(t,e){for(var r in e)t[r]=e[r];for(var r in t)r in e||delete t[r]}function Ate(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,n=r&&r.context;t.$slots=u0(e._renderChildren,n),t.$scopedSlots=r?Yu(t.$parent,r.data.scopedSlots,t.$slots):wr,t._c=function(i,o,s,u){return $c(t,i,o,s,u,!1)},t.$createElement=function(i,o,s,u){return $c(t,i,o,s,u,!0)};var a=r&&r.data;Ei(t,"$attrs",a&&a.attrs||wr,null,!0),Ei(t,"$listeners",e._parentListeners||wr,null,!0)}var l0=null;function Rte(t){nF(t.prototype),t.prototype.$nextTick=function(e){return p0(e,this)},t.prototype._render=function(){var e=this,r=e.$options,n=r.render,a=r._parentVnode;a&&e._isMounted&&(e.$scopedSlots=Yu(e.$parent,a.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&aF(e._slotsProxy,e.$scopedSlots)),e.$vnode=a;var i;try{$a(e),l0=e,i=n.call(e._renderProxy,e.$createElement)}catch(o){Mi(o,e,"render"),i=e._vnode}finally{l0=null,$a()}return We(i)&&i.length===1&&(i=i[0]),i instanceof Pr||(i=Ti()),i.parent=a,i}}function d0(t,e){return(t.__esModule||Uu&&t[Symbol.toStringTag]==="Module")&&(t=t.default),Xt(t)?e.extend(t):t}function Ite(t,e,r,n,a){var i=Ti();return i.asyncFactory=t,i.asyncMeta={data:e,context:r,children:n,tag:a},i}function Nte(t,e){if(xt(t.error)&&q(t.errorComp))return t.errorComp;if(q(t.resolved))return t.resolved;var r=l0;if(r&&q(t.owners)&&t.owners.indexOf(r)===-1&&t.owners.push(r),xt(t.loading)&&q(t.loadingComp))return t.loadingComp;if(r&&!q(t.owners)){var n=t.owners=[r],a=!0,i=null,o=null;r.$on("hook:destroyed",function(){return Ca(n,r)});var s=function(c){for(var m=0,f=n.length;m<f;m++)n[m].$forceUpdate();c&&(n.length=0,i!==null&&(clearTimeout(i),i=null),o!==null&&(clearTimeout(o),o=null))},u=kc(function(c){t.resolved=d0(c,e),a?n.length=0:s(!0)}),l=kc(function(c){q(t.errorComp)&&(t.error=!0,s(!0))}),d=t(u,l);return Xt(d)&&(Jb(d)?Te(t.resolved)&&d.then(u,l):Jb(d.component)&&(d.component.then(u,l),q(d.error)&&(t.errorComp=d0(d.error,e)),q(d.loading)&&(t.loadingComp=d0(d.loading,e),d.delay===0?t.loading=!0:i=setTimeout(function(){i=null,Te(t.resolved)&&Te(t.error)&&(t.loading=!0,s(!1))},d.delay||200)),q(d.timeout)&&(o=setTimeout(function(){o=null,Te(t.resolved)&&l(null)},d.timeout)))),a=!1,t.loading?t.loadingComp:t.resolved}}function iF(t){if(We(t))for(var e=0;e<t.length;e++){var r=t[e];if(q(r)&&(q(r.componentOptions)||qu(r)))return r}}var Lte=1,oF=2;function $c(t,e,r,n,a,i){return(We(r)||Wu(r))&&(a=n,n=r,r=void 0),xt(i)&&(a=oF),Wte(t,e,r,n,a)}function Wte(t,e,r,n,a){if(q(r)&&q(r.__ob__)||(q(r)&&q(r.is)&&(e=r.is),!e))return Ti();We(n)&&Et(n[0])&&(r=r||{},r.scopedSlots={default:n[0]},n.length=0),a===oF?n=s0(n):a===Lte&&(n=hte(n));var i,o;if(typeof e=="string"){var s=void 0;o=t.$vnode&&t.$vnode.ns||Vr.getTagNamespace(e),Vr.isReservedTag(e)?i=new Pr(Vr.parsePlatformTagName(e),r,n,void 0,void 0,t):(!r||!r.pre)&&q(s=Fc(t.$options,"components",e))?i=wF(s,r,t,n,e):i=new Pr(e,r,n,void 0,void 0,t)}else i=wF(e,r,t,n);return We(i)?i:q(i)?(q(o)&&sF(i,o),q(r)&&Fte(r),i):Ti()}function sF(t,e,r){if(t.ns=e,t.tag==="foreignObject"&&(e=void 0,r=!0),q(t.children))for(var n=0,a=t.children.length;n<a;n++){var i=t.children[n];q(i.tag)&&(Te(i.ns)||xt(r)&&i.tag!=="svg")&&sF(i,e,r)}}function Fte(t){Xt(t.style)&&Ic(t.style),Xt(t.class)&&Ic(t.class)}function Mi(t,e,r){qo();try{if(e)for(var n=e;n=n.$parent;){var a=n.$options.errorCaptured;if(a)for(var i=0;i<a.length;i++)try{var o=a[i].call(n,t,e,r)===!1;if(o)return}catch(s){uF(s,n,"errorCaptured hook")}}uF(t,e,r)}finally{Yo()}}function Na(t,e,r,n,a){var i;try{i=r?t.apply(e,r):t.call(e),i&&!i._isVue&&Jb(i)&&!i._handled&&(i.catch(function(o){return Mi(o,n,a+" (Promise/async)")}),i._handled=!0)}catch(o){Mi(o,n,a)}return i}function uF(t,e,r){if(Vr.errorHandler)try{return Vr.errorHandler.call(null,t,e,r)}catch(n){n!==t&&lF(n)}lF(t)}function lF(t,e,r){if(xr&&typeof console<"u")console.error(t);else throw t}var c0=!1,f0=[],m0=!1;function Ac(){m0=!1;var t=f0.slice(0);f0.length=0;for(var e=0;e<t.length;e++)t[e]()}var Gu;if(typeof Promise<"u"&&Bo(Promise)){var jte=Promise.resolve();Gu=function(){jte.then(Ac),ate&&setTimeout(Vt)},c0=!0}else if(!Uo&&typeof MutationObserver<"u"&&(Bo(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var Rc=1,Vte=new MutationObserver(Ac),dF=document.createTextNode(String(Rc));Vte.observe(dF,{characterData:!0}),Gu=function(){Rc=(Rc+1)%2,dF.data=String(Rc)},c0=!0}else typeof setImmediate<"u"&&Bo(setImmediate)?Gu=function(){setImmediate(Ac)}:Gu=function(){setTimeout(Ac,0)};function p0(t,e){var r;if(f0.push(function(){if(t)try{t.call(e)}catch(n){Mi(n,e,"nextTick")}else r&&r(e)}),m0||(m0=!0,Gu()),!t&&typeof Promise<"u")return new Promise(function(n){r=n})}var Ute="2.7.13",cF=new zu;function Ic(t){return Nc(t,cF),cF.clear(),t}function Nc(t,e){var r,n,a=We(t);if(!(!a&&!Xt(t)||t.__v_skip||Object.isFrozen(t)||t instanceof Pr)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(a)for(r=t.length;r--;)Nc(t[r],e);else if(Pn(t))Nc(t.value,e);else for(n=Object.keys(t),r=n.length;r--;)Nc(t[n[r]],e)}}var zte=0,h0=function(){function t(e,r,n,a,i){fte(this,kr&&!kr._vm?kr:e?e._scope:void 0),(this.vm=e)&&i&&(e._watcher=this),a?(this.deep=!!a.deep,this.user=!!a.user,this.lazy=!!a.lazy,this.sync=!!a.sync,this.before=a.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++zte,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new zu,this.newDepIds=new zu,this.expression="",Et(r)?this.getter=r:(this.getter=rte(r),this.getter||(this.getter=Vt)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){qo(this);var e,r=this.vm;try{e=this.getter.call(r,r)}catch(n){if(this.user)Mi(n,r,'getter for watcher "'.concat(this.expression,'"'));else throw n}finally{this.deep&&Ic(e),Yo(),this.cleanupDeps()}return e},t.prototype.addDep=function(e){var r=e.id;this.newDepIds.has(r)||(this.newDepIds.add(r),this.newDeps.push(e),this.depIds.has(r)||e.addSub(this))},t.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var r=this.deps[e];this.newDepIds.has(r.id)||r.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ire(this)},t.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||Xt(e)||this.deep){var r=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');Na(this.cb,this.vm,[e,r],this.vm,n)}else this.cb.call(this.vm,e,r)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&Ca(this.vm._scope.effects,this),this.active){for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function Bte(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&fF(t,e)}var Ku;function Hte(t,e){Ku.$on(t,e)}function qte(t,e){Ku.$off(t,e)}function Yte(t,e){var r=Ku;return function n(){var a=e.apply(null,arguments);a!==null&&r.$off(t,n)}}function fF(t,e,r){Ku=t,XW(e,r||{},Hte,qte,Yte,t),Ku=void 0}function Gte(t){var e=/^hook:/;t.prototype.$on=function(r,n){var a=this;if(We(r))for(var i=0,o=r.length;i<o;i++)a.$on(r[i],n);else(a._events[r]||(a._events[r]=[])).push(n),e.test(r)&&(a._hasHookEvent=!0);return a},t.prototype.$once=function(r,n){var a=this;function i(){a.$off(r,i),n.apply(a,arguments)}return i.fn=n,a.$on(r,i),a},t.prototype.$off=function(r,n){var a=this;if(!arguments.length)return a._events=Object.create(null),a;if(We(r)){for(var i=0,o=r.length;i<o;i++)a.$off(r[i],n);return a}var s=a._events[r];if(!s)return a;if(!n)return a._events[r]=null,a;for(var u,l=s.length;l--;)if(u=s[l],u===n||u.fn===n){s.splice(l,1);break}return a},t.prototype.$emit=function(r){var n=this,a=n._events[r];if(a){a=a.length>1?Qb(a):a;for(var i=Qb(arguments,1),o='event handler for "'.concat(r,'"'),s=0,u=a.length;s<u;s++)Na(a[s],n,i,n,o)}return n}}var Si=null;function mF(t){var e=Si;return Si=t,function(){Si=e}}function Kte(t){var e=t.$options,r=e.parent;if(r&&!e.abstract){for(;r.$options.abstract&&r.$parent;)r=r.$parent;r.$children.push(t)}t.$parent=r,t.$root=r?r.$root:t,t.$children=[],t.$refs={},t._provided=r?r._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Xte(t){t.prototype._update=function(e,r){var n=this,a=n.$el,i=n._vnode,o=mF(n);n._vnode=e,i?n.$el=n.__patch__(i,e):n.$el=n.__patch__(n.$el,e,r,!1),o(),a&&(a.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var s=n;s&&s.$vnode&&s.$parent&&s.$vnode===s.$parent._vnode;)s.$parent.$el=s.$el,s=s.$parent},t.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},t.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Zr(e,"beforeDestroy"),e._isBeingDestroyed=!0;var r=e.$parent;r&&!r._isBeingDestroyed&&!e.$options.abstract&&Ca(r.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Zr(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function Jte(t,e,r){t.$el=e,t.$options.render||(t.$options.render=Ti),Zr(t,"beforeMount");var n;n=function(){t._update(t._render(),r)};var a={before:function(){t._isMounted&&!t._isDestroyed&&Zr(t,"beforeUpdate")}};new h0(t,n,Vt,a,!0),r=!1;var i=t._preWatchers;if(i)for(var o=0;o<i.length;o++)i[o].run();return t.$vnode==null&&(t._isMounted=!0,Zr(t,"mounted")),t}function Qte(t,e,r,n,a){var i=n.data.scopedSlots,o=t.$scopedSlots,s=!!(i&&!i.$stable||o!==wr&&!o.$stable||i&&t.$scopedSlots.$key!==i.$key||!i&&t.$scopedSlots.$key),u=!!(a||t.$options._renderChildren||s),l=t.$vnode;t.$options._parentVnode=n,t.$vnode=n,t._vnode&&(t._vnode.parent=n),t.$options._renderChildren=a;var d=n.data.attrs||wr;t._attrsProxy&&Dc(t._attrsProxy,d,l.data&&l.data.attrs||wr,t,"$attrs")&&(u=!0),t.$attrs=d,r=r||wr;var c=t.$options._parentListeners;if(t._listenersProxy&&Dc(t._listenersProxy,r,c||wr,t,"$listeners"),t.$listeners=t.$options._parentListeners=r,fF(t,r,c),e&&t.$options.props){Ra(!1);for(var m=t._props,f=t.$options._propKeys||[],p=0;p<f.length;p++){var h=f[p],v=t.$options.props;m[h]=E0(h,v,e,t)}Ra(!0),t.$options.propsData=e}u&&(t.$slots=u0(a,n.context),t.$forceUpdate())}function pF(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function v0(t,e){if(e){if(t._directInactive=!1,pF(t))return}else if(t._directInactive)return;if(t._inactive||t._inactive===null){t._inactive=!1;for(var r=0;r<t.$children.length;r++)v0(t.$children[r]);Zr(t,"activated")}}function hF(t,e){if(!(e&&(t._directInactive=!0,pF(t)))&&!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)hF(t.$children[r]);Zr(t,"deactivated")}}function Zr(t,e,r,n){n===void 0&&(n=!0),qo();var a=Bu;n&&$a(t);var i=t.$options[e],o="".concat(e," hook");if(i)for(var s=0,u=i.length;s<u;s++)Na(i[s],t,r||null,t,o);t._hasHookEvent&&t.$emit("hook:"+e),n&&$a(a),Yo()}var ta=[],g0=[],Lc={},y0=!1,_0=!1,Go=0;function Zte(){Go=ta.length=g0.length=0,Lc={},y0=_0=!1}var vF=0,b0=Date.now;if(xr&&!Uo){var w0=window.performance;w0&&typeof w0.now=="function"&&b0()>document.createEvent("Event").timeStamp&&(b0=function(){return w0.now()})}var ere=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function tre(){vF=b0(),_0=!0;var t,e;for(ta.sort(ere),Go=0;Go<ta.length;Go++)t=ta[Go],t.before&&t.before(),e=t.id,Lc[e]=null,t.run();var r=g0.slice(),n=ta.slice();Zte(),are(r),rre(n),ote(),Mc&&Vr.devtools&&Mc.emit("flush")}function rre(t){for(var e=t.length;e--;){var r=t[e],n=r.vm;n&&n._watcher===r&&n._isMounted&&!n._isDestroyed&&Zr(n,"updated")}}function nre(t){t._inactive=!1,g0.push(t)}function are(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,v0(t[e],!0)}function ire(t){var e=t.id;if(Lc[e]==null&&!(t===Aa.target&&t.noRecurse)){if(Lc[e]=!0,!_0)ta.push(t);else{for(var r=ta.length-1;r>Go&&ta[r].id>t.id;)r--;ta.splice(r+1,0,t)}y0||(y0=!0,p0(tre))}}function ore(t){var e=t.$options.provide;if(e){var r=Et(e)?e.call(t):e;if(!Xt(r))return;for(var n=mte(t),a=Uu?Reflect.ownKeys(r):Object.keys(r),i=0;i<a.length;i++){var o=a[i];Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(r,o))}}}function sre(t){var e=gF(t.$options.inject,t);e&&(Ra(!1),Object.keys(e).forEach(function(r){Ei(t,r,e[r])}),Ra(!0))}function gF(t,e){if(t){for(var r=Object.create(null),n=Uu?Reflect.ownKeys(t):Object.keys(t),a=0;a<n.length;a++){var i=n[a];if(i!=="__ob__"){var o=t[i].from;if(o in e._provided)r[i]=e._provided[o];else if("default"in t[i]){var s=t[i].default;r[i]=Et(s)?s.call(e):s}}}return r}}function x0(t,e,r,n,a){var i=this,o=a.options,s;ur(n,"_uid")?(s=Object.create(n),s._original=n):(s=n,n=n._original);var u=xt(o._compiled),l=!u;this.data=t,this.props=e,this.children=r,this.parent=n,this.listeners=t.on||wr,this.injections=gF(o.inject,n),this.slots=function(){return i.$slots||Yu(n,t.scopedSlots,i.$slots=u0(r,n)),i.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Yu(n,t.scopedSlots,this.slots())}}),u&&(this.$options=o,this.$slots=this.slots(),this.$scopedSlots=Yu(n,t.scopedSlots,this.$slots)),o._scopeId?this._c=function(d,c,m,f){var p=$c(s,d,c,m,f,l);return p&&!We(p)&&(p.fnScopeId=o._scopeId,p.fnContext=n),p}:this._c=function(d,c,m,f){return $c(s,d,c,m,f,l)}}nF(x0.prototype);function ure(t,e,r,n,a){var i=t.options,o={},s=i.props;if(q(s))for(var u in s)o[u]=E0(u,s,e||wr);else q(r.attrs)&&_F(o,r.attrs),q(r.props)&&_F(o,r.props);var l=new x0(r,o,a,n,t),d=i.render.call(null,l._c,l);if(d instanceof Pr)return yF(d,r,l.parent,i);if(We(d)){for(var c=s0(d)||[],m=new Array(c.length),f=0;f<c.length;f++)m[f]=yF(c[f],r,l.parent,i);return m}}function yF(t,e,r,n,a){var i=t0(t);return i.fnContext=r,i.fnOptions=n,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function _F(t,e){for(var r in e)t[Pi(r)]=e[r]}function Wc(t){return t.name||t.__name||t._componentTag}var P0={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var r=t;P0.prepatch(r,r)}else{var n=t.componentInstance=lre(t,Si);n.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var r=e.componentOptions,n=e.componentInstance=t.componentInstance;Qte(n,r.propsData,r.listeners,e,r.children)},insert:function(t){var e=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,Zr(r,"mounted")),t.data.keepAlive&&(e._isMounted?nre(r):v0(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?hF(e,!0):e.$destroy())}},bF=Object.keys(P0);function wF(t,e,r,n,a){if(!Te(t)){var i=r.$options._base;if(Xt(t)&&(t=i.extend(t)),typeof t=="function"){var o;if(Te(t.cid)&&(o=t,t=Nte(o,i),t===void 0))return Ite(o,e,r,n,a);e=e||{},C0(t),q(e.model)&&fre(t.options,e);var s=pte(e,t);if(xt(t.options.functional))return ure(t,s,e,r,n);var u=e.on;if(e.on=e.nativeOn,xt(t.options.abstract)){var l=e.slot;e={},l&&(e.slot=l)}dre(e);var d=Wc(t.options)||a,c=new Pr("vue-component-".concat(t.cid).concat(d?"-".concat(d):""),e,void 0,void 0,void 0,r,{Ctor:t,propsData:s,listeners:u,tag:a,children:n},o);return c}}}function lre(t,e){var r={_isComponent:!0,_parentVnode:t,parent:e},n=t.data.inlineTemplate;return q(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns),new t.componentOptions.Ctor(r)}function dre(t){for(var e=t.hook||(t.hook={}),r=0;r<bF.length;r++){var n=bF[r],a=e[n],i=P0[n];a!==i&&!(a&&a._merged)&&(e[n]=a?cre(i,a):i)}}function cre(t,e){var r=function(n,a){t(n,a),e(n,a)};return r._merged=!0,r}function fre(t,e){var r=t.model&&t.model.prop||"value",n=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[r]=e.model.value;var a=e.on||(e.on={}),i=a[n],o=e.model.callback;q(i)?(We(i)?i.indexOf(o)===-1:i!==o)&&(a[n]=[o].concat(i)):a[n]=o}var xF=Vt,kn=Vr.optionMergeStrategies;function k0(t,e){if(!e)return t;for(var r,n,a,i=Uu?Reflect.ownKeys(e):Object.keys(e),o=0;o<i.length;o++)r=i[o],r!=="__ob__"&&(n=t[r],a=e[r],ur(t,r)?n!==a&&cr(n)&&cr(a)&&k0(n,a):a0(t,r,a));return t}function T0(t,e,r){return r?function(){var a=Et(e)?e.call(r,r):e,i=Et(t)?t.call(r,r):t;return a?k0(a,i):i}:e?t?function(){return k0(Et(e)?e.call(this,this):e,Et(t)?t.call(this,this):t)}:e:t}kn.data=function(t,e,r){return r?T0(t,e,r):e&&typeof e!="function"?t:T0(t,e)};function mre(t,e){var r=e?t?t.concat(e):We(e)?e:[e]:t;return r&&pre(r)}function pre(t){for(var e=[],r=0;r<t.length;r++)e.indexOf(t[r])===-1&&e.push(t[r]);return e}LW.forEach(function(t){kn[t]=mre});function hre(t,e,r,n){var a=Object.create(t||null);return e?ot(a,e):a}Tc.forEach(function(t){kn[t+"s"]=hre}),kn.watch=function(t,e,r,n){if(t===e0&&(t=void 0),e===e0&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var a={};ot(a,t);for(var i in e){var o=a[i],s=e[i];o&&!We(o)&&(o=[o]),a[i]=o?o.concat(s):We(s)?s:[s]}return a},kn.props=kn.methods=kn.inject=kn.computed=function(t,e,r,n){if(!t)return e;var a=Object.create(null);return ot(a,t),e&&ot(a,e),a},kn.provide=T0;var vre=function(t,e){return e===void 0?t:e};function gre(t,e){var r=t.props;if(!!r){var n={},a,i,o;if(We(r))for(a=r.length;a--;)i=r[a],typeof i=="string"&&(o=Pi(i),n[o]={type:null});else if(cr(r))for(var s in r)i=r[s],o=Pi(s),n[o]=cr(i)?i:{type:i};t.props=n}}function yre(t,e){var r=t.inject;if(!!r){var n=t.inject={};if(We(r))for(var a=0;a<r.length;a++)n[r[a]]={from:r[a]};else if(cr(r))for(var i in r){var o=r[i];n[i]=cr(o)?ot({from:i},o):{from:o}}}}function _re(t){var e=t.directives;if(e)for(var r in e){var n=e[r];Et(n)&&(e[r]={bind:n,update:n})}}function dht(t,e,r){cr(e)||xF('Invalid value for option "'.concat(t,'": expected an Object, ')+"but got ".concat(zee(e),"."))}function Oi(t,e,r){if(Et(e)&&(e=e.options),gre(e),yre(e),_re(e),!e._base&&(e.extends&&(t=Oi(t,e.extends,r)),e.mixins))for(var n=0,a=e.mixins.length;n<a;n++)t=Oi(t,e.mixins[n],r);var i={},o;for(o in t)s(o);for(o in e)ur(t,o)||s(o);function s(u){var l=kn[u]||vre;i[u]=l(t[u],e[u],r,u)}return i}function Fc(t,e,r,n){if(typeof r=="string"){var a=t[e];if(ur(a,r))return a[r];var i=Pi(r);if(ur(a,i))return a[i];var o=Kee(i);if(ur(a,o))return a[o];var s=a[r]||a[i]||a[o];return s}}function E0(t,e,r,n){var a=e[t],i=!ur(r,t),o=r[t],s=kF(Boolean,a.type);if(s>-1){if(i&&!ur(a,"default"))o=!1;else if(o===""||o===ju(t)){var u=kF(String,a.type);(u<0||s<u)&&(o=!0)}}if(o===void 0){o=bre(n,a,t);var l=n0;Ra(!0),ea(o),Ra(l)}return o}function bre(t,e,r){if(!!ur(e,"default")){var n=e.default;return t&&t.$options.propsData&&t.$options.propsData[r]===void 0&&t._props[r]!==void 0?t._props[r]:Et(n)&&M0(e.type)!=="Function"?n.call(t):n}}var wre=/^\s*function (\w+)/;function M0(t){var e=t&&t.toString().match(wre);return e?e[1]:""}function PF(t,e){return M0(t)===M0(e)}function kF(t,e){if(!We(e))return PF(e,t)?0:-1;for(var r=0,n=e.length;r<n;r++)if(PF(e[r],t))return r;return-1}var La={enumerable:!0,configurable:!0,get:Vt,set:Vt};function S0(t,e,r){La.get=function(){return this[e][r]},La.set=function(a){this[e][r]=a},Object.defineProperty(t,r,La)}function xre(t){var e=t.$options;if(e.props&&Pre(t,e.props),Ote(t),e.methods&&Sre(t,e.methods),e.data)kre(t);else{var r=ea(t._data={});r&&r.vmCount++}e.computed&&Mre(t,e.computed),e.watch&&e.watch!==e0&&Ore(t,e.watch)}function Pre(t,e){var r=t.$options.propsData||{},n=t._props=zW({}),a=t.$options._propKeys=[],i=!t.$parent;i||Ra(!1);var o=function(u){a.push(u);var l=E0(u,e,r,t);Ei(n,u,l),u in t||S0(t,"_props",u)};for(var s in e)o(s);Ra(!0)}function kre(t){var e=t.$options.data;e=t._data=Et(e)?Tre(e,t):e||{},cr(e)||(e={});var r=Object.keys(e),n=t.$options.props;t.$options.methods;for(var a=r.length;a--;){var i=r[a];n&&ur(n,i)||WW(i)||S0(t,"_data",i)}var o=ea(e);o&&o.vmCount++}function Tre(t,e){qo();try{return t.call(e,e)}catch(r){return Mi(r,e,"data()"),{}}finally{Yo()}}var Ere={lazy:!0};function Mre(t,e){var r=t._computedWatchers=Object.create(null),n=Vu();for(var a in e){var i=e[a],o=Et(i)?i:i.get;n||(r[a]=new h0(t,o||Vt,Vt,Ere)),a in t||TF(t,a,i)}}function TF(t,e,r){var n=!Vu();Et(r)?(La.get=n?EF(e):MF(r),La.set=Vt):(La.get=r.get?n&&r.cache!==!1?EF(e):MF(r.get):Vt,La.set=r.set||Vt),Object.defineProperty(t,e,La)}function EF(t){return function(){var r=this._computedWatchers&&this._computedWatchers[t];if(r)return r.dirty&&r.evaluate(),Aa.target&&r.depend(),r.value}}function MF(t){return function(){return t.call(this,this)}}function Sre(t,e){t.$options.props;for(var r in e)t[r]=typeof e[r]!="function"?Vt:$W(e[r],t)}function Ore(t,e){for(var r in e){var n=e[r];if(We(n))for(var a=0;a<n.length;a++)O0(t,r,n[a]);else O0(t,r,n)}}function O0(t,e,r,n){return cr(r)&&(n=r,r=r.handler),typeof r=="string"&&(r=t[r]),t.$watch(e,r,n)}function Cre(t){var e={};e.get=function(){return this._data};var r={};r.get=function(){return this._props},Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",r),t.prototype.$set=a0,t.prototype.$delete=YW,t.prototype.$watch=function(n,a,i){var o=this;if(cr(a))return O0(o,n,a,i);i=i||{},i.user=!0;var s=new h0(o,n,a,i);if(i.immediate){var u='callback for immediate watcher "'.concat(s.expression,'"');qo(),Na(a,o,[s.value],o,u),Yo()}return function(){s.teardown()}}}var Dre=0;function $re(t){t.prototype._init=function(e){var r=this;r._uid=Dre++,r._isVue=!0,r.__v_skip=!0,r._scope=new cte(!0),r._scope._vm=!0,e&&e._isComponent?Are(r,e):r.$options=Oi(C0(r.constructor),e||{},r),r._renderProxy=r,r._self=r,Kte(r),Bte(r),Ate(r),Zr(r,"beforeCreate",void 0,!1),sre(r),xre(r),ore(r),Zr(r,"created"),r.$options.el&&r.$mount(r.$options.el)}}function Are(t,e){var r=t.$options=Object.create(t.constructor.options),n=e._parentVnode;r.parent=e.parent,r._parentVnode=n;var a=n.componentOptions;r.propsData=a.propsData,r._parentListeners=a.listeners,r._renderChildren=a.children,r._componentTag=a.tag,e.render&&(r.render=e.render,r.staticRenderFns=e.staticRenderFns)}function C0(t){var e=t.options;if(t.super){var r=C0(t.super),n=t.superOptions;if(r!==n){t.superOptions=r;var a=Rre(t);a&&ot(t.extendOptions,a),e=t.options=Oi(r,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function Rre(t){var e,r=t.options,n=t.sealedOptions;for(var a in r)r[a]!==n[a]&&(e||(e={}),e[a]=r[a]);return e}function ie(t){this._init(t)}$re(ie),Cre(ie),Gte(ie),Xte(ie),Rte(ie);function Ire(t){t.use=function(e){var r=this._installedPlugins||(this._installedPlugins=[]);if(r.indexOf(e)>-1)return this;var n=Qb(arguments,1);return n.unshift(this),Et(e.install)?e.install.apply(e,n):Et(e)&&e.apply(null,n),r.push(e),this}}function Nre(t){t.mixin=function(e){return this.options=Oi(this.options,e),this}}function Lre(t){t.cid=0;var e=1;t.extend=function(r){r=r||{};var n=this,a=n.cid,i=r._Ctor||(r._Ctor={});if(i[a])return i[a];var o=Wc(r)||Wc(n.options),s=function(l){this._init(l)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=Oi(n.options,r),s.super=n,s.options.props&&Wre(s),s.options.computed&&Fre(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,Tc.forEach(function(u){s[u]=n[u]}),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=r,s.sealedOptions=ot({},s.options),i[a]=s,s}}function Wre(t){var e=t.options.props;for(var r in e)S0(t.prototype,"_props",r)}function Fre(t){var e=t.options.computed;for(var r in e)TF(t.prototype,r,e[r])}function jre(t){Tc.forEach(function(e){t[e]=function(r,n){return n?(e==="component"&&cr(n)&&(n.name=n.name||r,n=this.options._base.extend(n)),e==="directive"&&Et(n)&&(n={bind:n,update:n}),this.options[e+"s"][r]=n,n):this.options[e+"s"][r]}})}function SF(t){return t&&(Wc(t.Ctor.options)||t.tag)}function jc(t,e){return We(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:Bee(t)?t.test(e):!1}function OF(t,e){var r=t.cache,n=t.keys,a=t._vnode;for(var i in r){var o=r[i];if(o){var s=o.name;s&&!e(s)&&D0(r,i,n,a)}}}function D0(t,e,r,n){var a=t[e];a&&(!n||a.tag!==n.tag)&&a.componentInstance.$destroy(),t[e]=null,Ca(r,e)}var CF=[String,RegExp,Array],Vre={name:"keep-alive",abstract:!0,props:{include:CF,exclude:CF,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,r=t.keys,n=t.vnodeToCache,a=t.keyToCache;if(n){var i=n.tag,o=n.componentInstance,s=n.componentOptions;e[a]={name:SF(s),tag:i,componentInstance:o},r.push(a),this.max&&r.length>parseInt(this.max)&&D0(e,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)D0(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){OF(t,function(r){return jc(e,r)})}),this.$watch("exclude",function(e){OF(t,function(r){return!jc(e,r)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=iF(t),r=e&&e.componentOptions;if(r){var n=SF(r),a=this,i=a.include,o=a.exclude;if(i&&(!n||!jc(i,n))||o&&n&&jc(o,n))return e;var s=this,u=s.cache,l=s.keys,d=e.key==null?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):e.key;u[d]?(e.componentInstance=u[d].componentInstance,Ca(l,d),l.push(d)):(this.vnodeToCache=e,this.keyToCache=d),e.data.keepAlive=!0}return e||t&&t[0]}},Ure={KeepAlive:Vre};function zre(t){var e={};e.get=function(){return Vr},Object.defineProperty(t,"config",e),t.util={warn:xF,extend:ot,mergeOptions:Oi,defineReactive:Ei},t.set=a0,t.delete=YW,t.nextTick=p0,t.observable=function(r){return ea(r),r},t.options=Object.create(null),Tc.forEach(function(r){t.options[r+"s"]=Object.create(null)}),t.options._base=t,ot(t.options.components,Ure),Ire(t),Nre(t),Lre(t),jre(t)}zre(ie),Object.defineProperty(ie.prototype,"$isServer",{get:Vu}),Object.defineProperty(ie.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ie,"FunctionalRenderContext",{value:x0}),ie.version=Ute;var Bre=Qr("style,class"),Hre=Qr("input,textarea,option,select,progress"),qre=function(t,e,r){return r==="value"&&Hre(t)&&e!=="button"||r==="selected"&&t==="option"||r==="checked"&&t==="input"||r==="muted"&&t==="video"},DF=Qr("contenteditable,draggable,spellcheck"),Yre=Qr("events,caret,typing,plaintext-only"),Gre=function(t,e){return Vc(e)||e==="false"?"false":t==="contenteditable"&&Yre(e)?e:"true"},Kre=Qr("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),$0="http://www.w3.org/1999/xlink",A0=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},$F=function(t){return A0(t)?t.slice(6,t.length):""},Vc=function(t){return t==null||t===!1};function Xre(t){for(var e=t.data,r=t,n=t;q(n.componentInstance);)n=n.componentInstance._vnode,n&&n.data&&(e=AF(n.data,e));for(;q(r=r.parent);)r&&r.data&&(e=AF(e,r.data));return Jre(e.staticClass,e.class)}function AF(t,e){return{staticClass:R0(t.staticClass,e.staticClass),class:q(t.class)?[t.class,e.class]:e.class}}function Jre(t,e){return q(t)||q(e)?R0(t,I0(e)):""}function R0(t,e){return t?e?t+" "+e:t:e||""}function I0(t){return Array.isArray(t)?Qre(t):Xt(t)?Zre(t):typeof t=="string"?t:""}function Qre(t){for(var e="",r,n=0,a=t.length;n<a;n++)q(r=I0(t[n]))&&r!==""&&(e&&(e+=" "),e+=r);return e}function Zre(t){var e="";for(var r in t)t[r]&&(e&&(e+=" "),e+=r);return e}var ene={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},tne=Qr("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),N0=Qr("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),RF=function(t){return tne(t)||N0(t)};function rne(t){if(N0(t))return"svg";if(t==="math")return"math"}var Uc=Object.create(null);function nne(t){if(!xr)return!0;if(RF(t))return!1;if(t=t.toLowerCase(),Uc[t]!=null)return Uc[t];var e=document.createElement(t);return t.indexOf("-")>-1?Uc[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Uc[t]=/HTMLUnknownElement/.test(e.toString())}var L0=Qr("text,number,password,search,email,tel,url");function ane(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function ine(t,e){var r=document.createElement(t);return t!=="select"||e.data&&e.data.attrs&&e.data.attrs.multiple!==void 0&&r.setAttribute("multiple","multiple"),r}function one(t,e){return document.createElementNS(ene[t],e)}function sne(t){return document.createTextNode(t)}function une(t){return document.createComment(t)}function lne(t,e,r){t.insertBefore(e,r)}function dne(t,e){t.removeChild(e)}function cne(t,e){t.appendChild(e)}function fne(t){return t.parentNode}function mne(t){return t.nextSibling}function pne(t){return t.tagName}function hne(t,e){t.textContent=e}function vne(t,e){t.setAttribute(e,"")}var gne=Object.freeze({__proto__:null,createElement:ine,createElementNS:one,createTextNode:sne,createComment:une,insertBefore:lne,removeChild:dne,appendChild:cne,parentNode:fne,nextSibling:mne,tagName:pne,setTextContent:hne,setStyleScope:vne}),yne={create:function(t,e){Ko(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ko(t,!0),Ko(e))},destroy:function(t){Ko(t,!0)}};function Ko(t,e){var r=t.data.ref;if(!!q(r)){var n=t.context,a=t.componentInstance||t.elm,i=e?null:a,o=e?void 0:a;if(Et(r)){Na(r,n,[i],n,"template ref function");return}var s=t.data.refInFor,u=typeof r=="string"||typeof r=="number",l=Pn(r),d=n.$refs;if(u||l){if(s){var c=u?d[r]:r.value;e?We(c)&&Ca(c,a):We(c)?c.includes(a)||c.push(a):u?(d[r]=[a],IF(n,r,d[r])):r.value=[a]}else if(u){if(e&&d[r]!==a)return;d[r]=o,IF(n,r,i)}else if(l){if(e&&r.value!==a)return;r.value=i}}}}function IF(t,e,r){var n=t._setupState;n&&ur(n,e)&&(Pn(n[e])?n[e].value=r:n[e]=r)}var Wa=new Pr("",{},[]),Xu=["create","activate","update","remove","destroy"];function Ci(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&q(t.data)===q(e.data)&&_ne(t,e)||xt(t.isAsyncPlaceholder)&&Te(e.asyncFactory.error))}function _ne(t,e){if(t.tag!=="input")return!0;var r,n=q(r=t.data)&&q(r=r.attrs)&&r.type,a=q(r=e.data)&&q(r=r.attrs)&&r.type;return n===a||L0(n)&&L0(a)}function bne(t,e,r){var n,a,i={};for(n=e;n<=r;++n)a=t[n].key,q(a)&&(i[a]=n);return i}function wne(t){var e,r,n={},a=t.modules,i=t.nodeOps;for(e=0;e<Xu.length;++e)for(n[Xu[e]]=[],r=0;r<a.length;++r)q(a[r][Xu[e]])&&n[Xu[e]].push(a[r][Xu[e]]);function o(E){return new Pr(i.tagName(E).toLowerCase(),{},[],void 0,E)}function s(E,T){function $(){--$.listeners===0&&u(E)}return $.listeners=T,$}function u(E){var T=i.parentNode(E);q(T)&&i.removeChild(T,E)}function l(E,T,$,I,W,U,M){if(q(E.elm)&&q(U)&&(E=U[M]=t0(E)),E.isRootInsert=!W,!d(E,T,$,I)){var P=E.data,A=E.children,j=E.tag;q(j)?(E.elm=E.ns?i.createElementNS(E.ns,j):i.createElement(j,E),y(E),p(E,A,T),q(P)&&v(E,T),f($,E.elm,I)):xt(E.isComment)?(E.elm=i.createComment(E.text),f($,E.elm,I)):(E.elm=i.createTextNode(E.text),f($,E.elm,I))}}function d(E,T,$,I){var W=E.data;if(q(W)){var U=q(E.componentInstance)&&W.keepAlive;if(q(W=W.hook)&&q(W=W.init)&&W(E,!1),q(E.componentInstance))return c(E,T),f($,E.elm,I),xt(U)&&m(E,T,$,I),!0}}function c(E,T){q(E.data.pendingInsert)&&(T.push.apply(T,E.data.pendingInsert),E.data.pendingInsert=null),E.elm=E.componentInstance.$el,h(E)?(v(E,T),y(E)):(Ko(E),T.push(E))}function m(E,T,$,I){for(var W,U=E;U.componentInstance;)if(U=U.componentInstance._vnode,q(W=U.data)&&q(W=W.transition)){for(W=0;W<n.activate.length;++W)n.activate[W](Wa,U);T.push(U);break}f($,E.elm,I)}function f(E,T,$){q(E)&&(q($)?i.parentNode($)===E&&i.insertBefore(E,T,$):i.appendChild(E,T))}function p(E,T,$){if(We(T))for(var I=0;I<T.length;++I)l(T[I],$,E.elm,null,!0,T,I);else Wu(E.text)&&i.appendChild(E.elm,i.createTextNode(String(E.text)))}function h(E){for(;E.componentInstance;)E=E.componentInstance._vnode;return q(E.tag)}function v(E,T){for(var $=0;$<n.create.length;++$)n.create[$](Wa,E);e=E.data.hook,q(e)&&(q(e.create)&&e.create(Wa,E),q(e.insert)&&T.push(E))}function y(E){var T;if(q(T=E.fnScopeId))i.setStyleScope(E.elm,T);else for(var $=E;$;)q(T=$.context)&&q(T=T.$options._scopeId)&&i.setStyleScope(E.elm,T),$=$.parent;q(T=Si)&&T!==E.context&&T!==E.fnContext&&q(T=T.$options._scopeId)&&i.setStyleScope(E.elm,T)}function b(E,T,$,I,W,U){for(;I<=W;++I)l($[I],U,E,T,!1,$,I)}function g(E){var T,$,I=E.data;if(q(I))for(q(T=I.hook)&&q(T=T.destroy)&&T(E),T=0;T<n.destroy.length;++T)n.destroy[T](E);if(q(T=E.children))for($=0;$<E.children.length;++$)g(E.children[$])}function _(E,T,$){for(;T<=$;++T){var I=E[T];q(I)&&(q(I.tag)?(w(I),g(I)):u(I.elm))}}function w(E,T){if(q(T)||q(E.data)){var $,I=n.remove.length+1;for(q(T)?T.listeners+=I:T=s(E.elm,I),q($=E.componentInstance)&&q($=$._vnode)&&q($.data)&&w($,T),$=0;$<n.remove.length;++$)n.remove[$](E,T);q($=E.data.hook)&&q($=$.remove)?$(E,T):T()}else u(E.elm)}function x(E,T,$,I,W){for(var U=0,M=0,P=T.length-1,A=T[0],j=T[P],B=$.length-1,G=$[0],X=$[B],Q,H,J,fe,xe=!W;U<=P&&M<=B;)Te(A)?A=T[++U]:Te(j)?j=T[--P]:Ci(A,G)?(D(A,G,I,$,M),A=T[++U],G=$[++M]):Ci(j,X)?(D(j,X,I,$,B),j=T[--P],X=$[--B]):Ci(A,X)?(D(A,X,I,$,B),xe&&i.insertBefore(E,A.elm,i.nextSibling(j.elm)),A=T[++U],X=$[--B]):Ci(j,G)?(D(j,G,I,$,M),xe&&i.insertBefore(E,j.elm,A.elm),j=T[--P],G=$[++M]):(Te(Q)&&(Q=bne(T,U,P)),H=q(G.key)?Q[G.key]:k(G,T,U,P),Te(H)?l(G,I,E,A.elm,!1,$,M):(J=T[H],Ci(J,G)?(D(J,G,I,$,M),T[H]=void 0,xe&&i.insertBefore(E,J.elm,A.elm)):l(G,I,E,A.elm,!1,$,M)),G=$[++M]);U>P?(fe=Te($[B+1])?null:$[B+1].elm,b(E,fe,$,M,B,I)):M>B&&_(T,U,P)}function k(E,T,$,I){for(var W=$;W<I;W++){var U=T[W];if(q(U)&&Ci(E,U))return W}}function D(E,T,$,I,W,U){if(E!==T){q(T.elm)&&q(I)&&(T=I[W]=t0(T));var M=T.elm=E.elm;if(xt(E.isAsyncPlaceholder)){q(T.asyncFactory.resolved)?C(E.elm,T,$):T.isAsyncPlaceholder=!0;return}if(xt(T.isStatic)&&xt(E.isStatic)&&T.key===E.key&&(xt(T.isCloned)||xt(T.isOnce))){T.componentInstance=E.componentInstance;return}var P,A=T.data;q(A)&&q(P=A.hook)&&q(P=P.prepatch)&&P(E,T);var j=E.children,B=T.children;if(q(A)&&h(T)){for(P=0;P<n.update.length;++P)n.update[P](E,T);q(P=A.hook)&&q(P=P.update)&&P(E,T)}Te(T.text)?q(j)&&q(B)?j!==B&&x(M,j,B,$,U):q(B)?(q(E.text)&&i.setTextContent(M,""),b(M,null,B,0,B.length-1,$)):q(j)?_(j,0,j.length-1):q(E.text)&&i.setTextContent(M,""):E.text!==T.text&&i.setTextContent(M,T.text),q(A)&&q(P=A.hook)&&q(P=P.postpatch)&&P(E,T)}}function S(E,T,$){if(xt($)&&q(E.parent))E.parent.data.pendingInsert=T;else for(var I=0;I<T.length;++I)T[I].data.hook.insert(T[I])}var O=Qr("attrs,class,staticClass,staticStyle,key");function C(E,T,$,I){var W,U=T.tag,M=T.data,P=T.children;if(I=I||M&&M.pre,T.elm=E,xt(T.isComment)&&q(T.asyncFactory))return T.isAsyncPlaceholder=!0,!0;if(q(M)&&(q(W=M.hook)&&q(W=W.init)&&W(T,!0),q(W=T.componentInstance)))return c(T,$),!0;if(q(U)){if(q(P))if(!E.hasChildNodes())p(T,P,$);else if(q(W=M)&&q(W=W.domProps)&&q(W=W.innerHTML)){if(W!==E.innerHTML)return!1}else{for(var A=!0,j=E.firstChild,B=0;B<P.length;B++){if(!j||!C(j,P[B],$,I)){A=!1;break}j=j.nextSibling}if(!A||j)return!1}if(q(M)){var G=!1;for(var X in M)if(!O(X)){G=!0,v(T,$);break}!G&&M.class&&Ic(M.class)}}else E.data!==T.text&&(E.data=T.text);return!0}return function(T,$,I,W){if(Te($)){q(T)&&g(T);return}var U=!1,M=[];if(Te(T))U=!0,l($,M);else{var P=q(T.nodeType);if(!P&&Ci(T,$))D(T,$,M,null,null,W);else{if(P){if(T.nodeType===1&&T.hasAttribute(NW)&&(T.removeAttribute(NW),I=!0),xt(I)&&C(T,$,M))return S($,M,!0),T;T=o(T)}var A=T.elm,j=i.parentNode(A);if(l($,M,A._leaveCb?null:j,i.nextSibling(A)),q($.parent))for(var B=$.parent,G=h($);B;){for(var X=0;X<n.destroy.length;++X)n.destroy[X](B);if(B.elm=$.elm,G){for(var Q=0;Q<n.create.length;++Q)n.create[Q](Wa,B);var H=B.data.hook.insert;if(H.merged)for(var J=1;J<H.fns.length;J++)H.fns[J]()}else Ko(B);B=B.parent}q(j)?_([T],0,0):q(T.tag)&&g(T)}}return S($,M,U),$.elm}}var xne={create:W0,update:W0,destroy:function(e){W0(e,Wa)}};function W0(t,e){(t.data.directives||e.data.directives)&&Pne(t,e)}function Pne(t,e){var r=t===Wa,n=e===Wa,a=NF(t.data.directives,t.context),i=NF(e.data.directives,e.context),o=[],s=[],u,l,d;for(u in i)l=a[u],d=i[u],l?(d.oldValue=l.value,d.oldArg=l.arg,Ju(d,"update",e,t),d.def&&d.def.componentUpdated&&s.push(d)):(Ju(d,"bind",e,t),d.def&&d.def.inserted&&o.push(d));if(o.length){var c=function(){for(var m=0;m<o.length;m++)Ju(o[m],"inserted",e,t)};r?Ia(e,"insert",c):c()}if(s.length&&Ia(e,"postpatch",function(){for(var m=0;m<s.length;m++)Ju(s[m],"componentUpdated",e,t)}),!r)for(u in a)i[u]||Ju(a[u],"unbind",t,t,n)}var kne=Object.create(null);function NF(t,e){var r=Object.create(null);if(!t)return r;var n,a;for(n=0;n<t.length;n++){if(a=t[n],a.modifiers||(a.modifiers=kne),r[Tne(a)]=a,e._setupState&&e._setupState.__sfc){var i=a.def||Fc(e,"_setupState","v-"+a.name);typeof i=="function"?a.def={bind:i,update:i}:a.def=i}a.def=a.def||Fc(e.$options,"directives",a.name)}return r}function Tne(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function Ju(t,e,r,n,a){var i=t.def&&t.def[e];if(i)try{i(r.elm,t,r,n,a)}catch(o){Mi(o,r.context,"directive ".concat(t.name," ").concat(e," hook"))}}var Ene=[yne,xne];function LF(t,e){var r=e.componentOptions;if(!(q(r)&&r.Ctor.options.inheritAttrs===!1)&&!(Te(t.data.attrs)&&Te(e.data.attrs))){var n,a,i,o=e.elm,s=t.data.attrs||{},u=e.data.attrs||{};(q(u.__ob__)||xt(u._v_attr_proxy))&&(u=e.data.attrs=ot({},u));for(n in u)a=u[n],i=s[n],i!==a&&WF(o,n,a,e.data.pre);(Uo||Zb)&&u.value!==s.value&&WF(o,"value",u.value);for(n in s)Te(u[n])&&(A0(n)?o.removeAttributeNS($0,$F(n)):DF(n)||o.removeAttribute(n))}}function WF(t,e,r,n){n||t.tagName.indexOf("-")>-1?FF(t,e,r):Kre(e)?Vc(r)?t.removeAttribute(e):(r=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,r)):DF(e)?t.setAttribute(e,Gre(e,r)):A0(e)?Vc(r)?t.removeAttributeNS($0,$F(e)):t.setAttributeNS($0,e,r):FF(t,e,r)}function FF(t,e,r){if(Vc(r))t.removeAttribute(e);else{if(Uo&&!zo&&t.tagName==="TEXTAREA"&&e==="placeholder"&&r!==""&&!t.__ieph){var n=function(a){a.stopImmediatePropagation(),t.removeEventListener("input",n)};t.addEventListener("input",n),t.__ieph=!0}t.setAttribute(e,r)}}var Mne={create:LF,update:LF};function jF(t,e){var r=e.elm,n=e.data,a=t.data;if(!(Te(n.staticClass)&&Te(n.class)&&(Te(a)||Te(a.staticClass)&&Te(a.class)))){var i=Xre(e),o=r._transitionClasses;q(o)&&(i=R0(i,I0(o))),i!==r._prevClass&&(r.setAttribute("class",i),r._prevClass=i)}}var Sne={create:jF,update:jF},F0="__r",j0="__c";function One(t){if(q(t[F0])){var e=Uo?"change":"input";t[e]=[].concat(t[F0],t[e]||[]),delete t[F0]}q(t[j0])&&(t.change=[].concat(t[j0],t.change||[]),delete t[j0])}var Qu;function Cne(t,e,r){var n=Qu;return function a(){var i=e.apply(null,arguments);i!==null&&VF(t,a,r,n)}}var Dne=c0&&!(FW&&Number(FW[1])<=53);function $ne(t,e,r,n){if(Dne){var a=vF,i=e;e=i._wrapper=function(o){if(o.target===o.currentTarget||o.timeStamp>=a||o.timeStamp<=0||o.target.ownerDocument!==document)return i.apply(this,arguments)}}Qu.addEventListener(t,e,jW?{capture:r,passive:n}:r)}function VF(t,e,r,n){(n||Qu).removeEventListener(t,e._wrapper||e,r)}function V0(t,e){if(!(Te(t.data.on)&&Te(e.data.on))){var r=e.data.on||{},n=t.data.on||{};Qu=e.elm||t.elm,One(r),XW(r,n,$ne,VF,Cne,e.context),Qu=void 0}}var Ane={create:V0,update:V0,destroy:function(t){return V0(t,Wa)}},zc;function UF(t,e){if(!(Te(t.data.domProps)&&Te(e.data.domProps))){var r,n,a=e.elm,i=t.data.domProps||{},o=e.data.domProps||{};(q(o.__ob__)||xt(o._v_attr_proxy))&&(o=e.data.domProps=ot({},o));for(r in i)r in o||(a[r]="");for(r in o){if(n=o[r],r==="textContent"||r==="innerHTML"){if(e.children&&(e.children.length=0),n===i[r])continue;a.childNodes.length===1&&a.removeChild(a.childNodes[0])}if(r==="value"&&a.tagName!=="PROGRESS"){a._value=n;var s=Te(n)?"":String(n);Rne(a,s)&&(a.value=s)}else if(r==="innerHTML"&&N0(a.tagName)&&Te(a.innerHTML)){zc=zc||document.createElement("div"),zc.innerHTML="<svg>".concat(n,"</svg>");for(var u=zc.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(n!==i[r])try{a[r]=n}catch{}}}}function Rne(t,e){return!t.composing&&(t.tagName==="OPTION"||Ine(t,e)||Nne(t,e))}function Ine(t,e){var r=!0;try{r=document.activeElement!==t}catch{}return r&&t.value!==e}function Nne(t,e){var r=t.value,n=t._vModifiers;if(q(n)){if(n.number)return Fu(r)!==Fu(e);if(n.trim)return r.trim()!==e.trim()}return r!==e}var Lne={create:UF,update:UF},Wne=xi(function(t){var e={},r=/;(?![^(]*\))/g,n=/:(.+)/;return t.split(r).forEach(function(a){if(a){var i=a.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function U0(t){var e=zF(t.style);return t.staticStyle?ot(t.staticStyle,e):e}function zF(t){return Array.isArray(t)?AW(t):typeof t=="string"?Wne(t):t}function Fne(t,e){var r={},n;if(e)for(var a=t;a.componentInstance;)a=a.componentInstance._vnode,a&&a.data&&(n=U0(a.data))&&ot(r,n);(n=U0(t.data))&&ot(r,n);for(var i=t;i=i.parent;)i.data&&(n=U0(i.data))&&ot(r,n);return r}var jne=/^--/,BF=/\s*!important$/,HF=function(t,e,r){if(jne.test(e))t.style.setProperty(e,r);else if(BF.test(r))t.style.setProperty(ju(e),r.replace(BF,""),"important");else{var n=Vne(e);if(Array.isArray(r))for(var a=0,i=r.length;a<i;a++)t.style[n]=r[a];else t.style[n]=r}},qF=["Webkit","Moz","ms"],Bc,Vne=xi(function(t){if(Bc=Bc||document.createElement("div").style,t=Pi(t),t!=="filter"&&t in Bc)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<qF.length;r++){var n=qF[r]+e;if(n in Bc)return n}});function YF(t,e){var r=e.data,n=t.data;if(!(Te(r.staticStyle)&&Te(r.style)&&Te(n.staticStyle)&&Te(n.style))){var a,i,o=e.elm,s=n.staticStyle,u=n.normalizedStyle||n.style||{},l=s||u,d=zF(e.data.style)||{};e.data.normalizedStyle=q(d.__ob__)?ot({},d):d;var c=Fne(e,!0);for(i in l)Te(c[i])&&HF(o,i,"");for(i in c)a=c[i],a!==l[i]&&HF(o,i,a==null?"":a)}}var Une={create:YF,update:YF},GF=/\s+/;function KF(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(GF).forEach(function(n){return t.classList.add(n)}):t.classList.add(e);else{var r=" ".concat(t.getAttribute("class")||""," ");r.indexOf(" "+e+" ")<0&&t.setAttribute("class",(r+e).trim())}}function XF(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(GF).forEach(function(a){return t.classList.remove(a)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var r=" ".concat(t.getAttribute("class")||""," "),n=" "+e+" ";r.indexOf(n)>=0;)r=r.replace(n," ");r=r.trim(),r?t.setAttribute("class",r):t.removeAttribute("class")}}function JF(t){if(!!t){if(typeof t=="object"){var e={};return t.css!==!1&&ot(e,QF(t.name||"v")),ot(e,t),e}else if(typeof t=="string")return QF(t)}}var QF=xi(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),ZF=xr&&!zo,Xo="transition",z0="animation",Hc="transition",qc="transitionend",B0="animation",ej="animationend";ZF&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Hc="WebkitTransition",qc="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(B0="WebkitAnimation",ej="webkitAnimationEnd"));var tj=xr?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function rj(t){tj(function(){tj(t)})}function Di(t,e){var r=t._transitionClasses||(t._transitionClasses=[]);r.indexOf(e)<0&&(r.push(e),KF(t,e))}function ra(t,e){t._transitionClasses&&Ca(t._transitionClasses,e),XF(t,e)}function nj(t,e,r){var n=aj(t,e),a=n.type,i=n.timeout,o=n.propCount;if(!a)return r();var s=a===Xo?qc:ej,u=0,l=function(){t.removeEventListener(s,d),r()},d=function(c){c.target===t&&++u>=o&&l()};setTimeout(function(){u<o&&l()},i+1),t.addEventListener(s,d)}var zne=/\b(transform|all)(,|$)/;function aj(t,e){var r=window.getComputedStyle(t),n=(r[Hc+"Delay"]||"").split(", "),a=(r[Hc+"Duration"]||"").split(", "),i=ij(n,a),o=(r[B0+"Delay"]||"").split(", "),s=(r[B0+"Duration"]||"").split(", "),u=ij(o,s),l,d=0,c=0;e===Xo?i>0&&(l=Xo,d=i,c=a.length):e===z0?u>0&&(l=z0,d=u,c=s.length):(d=Math.max(i,u),l=d>0?i>u?Xo:z0:null,c=l?l===Xo?a.length:s.length:0);var m=l===Xo&&zne.test(r[Hc+"Property"]);return{type:l,timeout:d,propCount:c,hasTransform:m}}function ij(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(r,n){return oj(r)+oj(t[n])}))}function oj(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function H0(t,e){var r=t.elm;q(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var n=JF(t.data.transition);if(!Te(n)&&!(q(r._enterCb)||r.nodeType!==1)){for(var a=n.css,i=n.type,o=n.enterClass,s=n.enterToClass,u=n.enterActiveClass,l=n.appearClass,d=n.appearToClass,c=n.appearActiveClass,m=n.beforeEnter,f=n.enter,p=n.afterEnter,h=n.enterCancelled,v=n.beforeAppear,y=n.appear,b=n.afterAppear,g=n.appearCancelled,_=n.duration,w=Si,x=Si.$vnode;x&&x.parent;)w=x.context,x=x.parent;var k=!w._isMounted||!t.isRootInsert;if(!(k&&!y&&y!=="")){var D=k&&l?l:o,S=k&&c?c:u,O=k&&d?d:s,C=k&&v||m,E=k&&Et(y)?y:f,T=k&&b||p,$=k&&g||h,I=Fu(Xt(_)?_.enter:_),W=a!==!1&&!zo,U=q0(E),M=r._enterCb=kc(function(){W&&(ra(r,O),ra(r,S)),M.cancelled?(W&&ra(r,D),$&&$(r)):T&&T(r),r._enterCb=null});t.data.show||Ia(t,"insert",function(){var P=r.parentNode,A=P&&P._pending&&P._pending[t.key];A&&A.tag===t.tag&&A.elm._leaveCb&&A.elm._leaveCb(),E&&E(r,M)}),C&&C(r),W&&(Di(r,D),Di(r,S),rj(function(){ra(r,D),M.cancelled||(Di(r,O),U||(uj(I)?setTimeout(M,I):nj(r,i,M)))})),t.data.show&&(e&&e(),E&&E(r,M)),!W&&!U&&M()}}}function sj(t,e){var r=t.elm;q(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var n=JF(t.data.transition);if(Te(n)||r.nodeType!==1)return e();if(q(r._leaveCb))return;var a=n.css,i=n.type,o=n.leaveClass,s=n.leaveToClass,u=n.leaveActiveClass,l=n.beforeLeave,d=n.leave,c=n.afterLeave,m=n.leaveCancelled,f=n.delayLeave,p=n.duration,h=a!==!1&&!zo,v=q0(d),y=Fu(Xt(p)?p.leave:p),b=r._leaveCb=kc(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),h&&(ra(r,s),ra(r,u)),b.cancelled?(h&&ra(r,o),m&&m(r)):(e(),c&&c(r)),r._leaveCb=null});f?f(g):g();function g(){b.cancelled||(!t.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),l&&l(r),h&&(Di(r,o),Di(r,u),rj(function(){ra(r,o),b.cancelled||(Di(r,s),v||(uj(y)?setTimeout(b,y):nj(r,i,b)))})),d&&d(r,b),!h&&!v&&b())}}function uj(t){return typeof t=="number"&&!isNaN(t)}function q0(t){if(Te(t))return!1;var e=t.fns;return q(e)?q0(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function lj(t,e){e.data.show!==!0&&H0(e)}var Bne=xr?{create:lj,activate:lj,remove:function(t,e){t.data.show!==!0?sj(t,e):e()}}:{},Hne=[Mne,Sne,Ane,Lne,Une,Bne],qne=Hne.concat(Ene),Yne=wne({nodeOps:gne,modules:qne});zo&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Y0(t,"input")});var dj={inserted:function(t,e,r,n){r.tag==="select"?(n.elm&&!n.elm._vOptions?Ia(r,"postpatch",function(){dj.componentUpdated(t,e,r)}):cj(t,e,r.context),t._vOptions=[].map.call(t.options,Yc)):(r.tag==="textarea"||L0(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Gne),t.addEventListener("compositionend",pj),t.addEventListener("change",pj),zo&&(t.vmodel=!0)))},componentUpdated:function(t,e,r){if(r.tag==="select"){cj(t,e,r.context);var n=t._vOptions,a=t._vOptions=[].map.call(t.options,Yc);if(a.some(function(o,s){return!ki(o,n[s])})){var i=t.multiple?e.value.some(function(o){return mj(o,a)}):e.value!==e.oldValue&&mj(e.value,a);i&&Y0(t,"change")}}}};function cj(t,e,r){fj(t,e),(Uo||Zb)&&setTimeout(function(){fj(t,e)},0)}function fj(t,e,r){var n=e.value,a=t.multiple;if(!(a&&!Array.isArray(n))){for(var i,o,s=0,u=t.options.length;s<u;s++)if(o=t.options[s],a)i=IW(n,Yc(o))>-1,o.selected!==i&&(o.selected=i);else if(ki(Yc(o),n)){t.selectedIndex!==s&&(t.selectedIndex=s);return}a||(t.selectedIndex=-1)}}function mj(t,e){return e.every(function(r){return!ki(r,t)})}function Yc(t){return"_value"in t?t._value:t.value}function Gne(t){t.target.composing=!0}function pj(t){!t.target.composing||(t.target.composing=!1,Y0(t.target,"input"))}function Y0(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}function G0(t){return t.componentInstance&&(!t.data||!t.data.transition)?G0(t.componentInstance._vnode):t}var Kne={bind:function(t,e,r){var n=e.value;r=G0(r);var a=r.data&&r.data.transition,i=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;n&&a?(r.data.show=!0,H0(r,function(){t.style.display=i})):t.style.display=n?i:"none"},update:function(t,e,r){var n=e.value,a=e.oldValue;if(!n!=!a){r=G0(r);var i=r.data&&r.data.transition;i?(r.data.show=!0,n?H0(r,function(){t.style.display=t.__vOriginalDisplay}):sj(r,function(){t.style.display="none"})):t.style.display=n?t.__vOriginalDisplay:"none"}},unbind:function(t,e,r,n,a){a||(t.style.display=t.__vOriginalDisplay)}},Xne={model:dj,show:Kne},hj={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function K0(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?K0(iF(e.children)):t}function vj(t){var e={},r=t.$options;for(var n in r.propsData)e[n]=t[n];var a=r._parentListeners;for(var n in a)e[Pi(n)]=a[n];return e}function gj(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Jne(t){for(;t=t.parent;)if(t.data.transition)return!0}function Qne(t,e){return e.key===t.key&&e.tag===t.tag}var Zne=function(t){return t.tag||qu(t)},eae=function(t){return t.name==="show"},tae={name:"transition",props:hj,abstract:!0,render:function(t){var e=this,r=this.$slots.default;if(!!r&&(r=r.filter(Zne),!!r.length)){var n=this.mode,a=r[0];if(Jne(this.$vnode))return a;var i=K0(a);if(!i)return a;if(this._leaving)return gj(t,a);var o="__transition-".concat(this._uid,"-");i.key=i.key==null?i.isComment?o+"comment":o+i.tag:Wu(i.key)?String(i.key).indexOf(o)===0?i.key:o+i.key:i.key;var s=(i.data||(i.data={})).transition=vj(this),u=this._vnode,l=K0(u);if(i.data.directives&&i.data.directives.some(eae)&&(i.data.show=!0),l&&l.data&&!Qne(i,l)&&!qu(l)&&!(l.componentInstance&&l.componentInstance._vnode.isComment)){var d=l.data.transition=ot({},s);if(n==="out-in")return this._leaving=!0,Ia(d,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),gj(t,a);if(n==="in-out"){if(qu(i))return u;var c,m=function(){c()};Ia(s,"afterEnter",m),Ia(s,"enterCancelled",m),Ia(d,"delayLeave",function(f){c=f})}}return a}}},yj=ot({tag:String,moveClass:String},hj);delete yj.mode;var rae={props:yj,beforeMount:function(){var t=this,e=this._update;this._update=function(r,n){var a=mF(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,a(),e.call(t,r,n)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,a=this.$slots.default||[],i=this.children=[],o=vj(this),s=0;s<a.length;s++){var u=a[s];u.tag&&u.key!=null&&String(u.key).indexOf("__vlist")!==0&&(i.push(u),r[u.key]=u,(u.data||(u.data={})).transition=o)}if(n){for(var l=[],d=[],s=0;s<n.length;s++){var u=n[s];u.data.transition=o,u.data.pos=u.elm.getBoundingClientRect(),r[u.key]?l.push(u):d.push(u)}this.kept=t(e,null,l),this.removed=d}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";!t.length||!this.hasMove(t[0].elm,e)||(t.forEach(nae),t.forEach(aae),t.forEach(iae),this._reflow=document.body.offsetHeight,t.forEach(function(r){if(r.data.moved){var n=r.elm,a=n.style;Di(n,e),a.transform=a.WebkitTransform=a.transitionDuration="",n.addEventListener(qc,n._moveCb=function i(o){o&&o.target!==n||(!o||/transform$/.test(o.propertyName))&&(n.removeEventListener(qc,i),n._moveCb=null,ra(n,e))})}}))},methods:{hasMove:function(t,e){if(!ZF)return!1;if(this._hasMove)return this._hasMove;var r=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(a){XF(r,a)}),KF(r,e),r.style.display="none",this.$el.appendChild(r);var n=aj(r);return this.$el.removeChild(r),this._hasMove=n.hasTransform}}};function nae(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function aae(t){t.data.newPos=t.elm.getBoundingClientRect()}function iae(t){var e=t.data.pos,r=t.data.newPos,n=e.left-r.left,a=e.top-r.top;if(n||a){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate(".concat(n,"px,").concat(a,"px)"),i.transitionDuration="0s"}}var oae={Transition:tae,TransitionGroup:rae};ie.config.mustUseProp=qre,ie.config.isReservedTag=RF,ie.config.isReservedAttr=Bre,ie.config.getTagNamespace=rne,ie.config.isUnknownElement=nne,ot(ie.options.directives,Xne),ot(ie.options.components,oae),ie.prototype.__patch__=xr?Yne:Vt,ie.prototype.$mount=function(t,e){return t=t&&xr?ane(t):void 0,Jte(this,t,e)},xr&&setTimeout(function(){Vr.devtools&&Mc&&Mc.emit("init",ie)},0);var _j={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(window,function(){return a={},r.m=n=[function(i,o,s){var u=s(7);typeof u=="string"&&(u=[[i.i,u,""]]),u.locals&&(i.exports=u.locals),(0,s(4).default)("27d83796",u,!1,{})},function(i,o,s){var u=s(10);typeof u=="string"&&(u=[[i.i,u,""]]),u.locals&&(i.exports=u.locals),(0,s(4).default)("0e783494",u,!1,{})},function(i,o,s){var u=s(12);typeof u=="string"&&(u=[[i.i,u,""]]),u.locals&&(i.exports=u.locals),(0,s(4).default)("17757f60",u,!1,{})},function(i,o){i.exports=function(s){var u=[];return u.toString=function(){return this.map(function(l){var d=function(c,m){var f=c[1]||"",p=c[3];if(!p)return f;if(m&&typeof btoa=="function"){var h=function(y){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(y))))+" */"}(p),v=p.sources.map(function(y){return"/*# sourceURL="+p.sourceRoot+y+" */"});return[f].concat(v).concat([h]).join(`
5
+ */var wr=Object.freeze({}),Le=Array.isArray;function Te(t){return t==null}function q(t){return t!=null}function xt(t){return t===!0}function Uee(t){return t===!1}function Wu(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function Et(t){return typeof t=="function"}function Xt(t){return t!==null&&typeof t=="object"}var xc=Object.prototype.toString;function zee(t){return xc.call(t).slice(8,-1)}function cr(t){return xc.call(t)==="[object Object]"}function Bee(t){return xc.call(t)==="[object RegExp]"}function DW(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function Jb(t){return q(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function Hee(t){return t==null?"":Array.isArray(t)||cr(t)&&t.toString===xc?JSON.stringify(t,null,2):String(t)}function Fu(t){var e=parseFloat(t);return isNaN(e)?t:e}function Qr(t,e){for(var r=Object.create(null),n=t.split(","),a=0;a<n.length;a++)r[n[a]]=!0;return e?function(i){return r[i.toLowerCase()]}:function(i){return r[i]}}Qr("slot,component",!0);var qee=Qr("key,ref,slot,slot-scope,is");function Ca(t,e){var r=t.length;if(r){if(e===t[r-1]){t.length=r-1;return}var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var Yee=Object.prototype.hasOwnProperty;function ur(t,e){return Yee.call(t,e)}function xi(t){var e=Object.create(null);return function(n){var a=e[n];return a||(e[n]=t(n))}}var Gee=/-(\w)/g,Pi=xi(function(t){return t.replace(Gee,function(e,r){return r?r.toUpperCase():""})}),Kee=xi(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Xee=/\B([A-Z])/g,ju=xi(function(t){return t.replace(Xee,"-$1").toLowerCase()});function Jee(t,e){function r(n){var a=arguments.length;return a?a>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return r._length=t.length,r}function Qee(t,e){return t.bind(e)}var $W=Function.prototype.bind?Qee:Jee;function Qb(t,e){e=e||0;for(var r=t.length-e,n=new Array(r);r--;)n[r]=t[r+e];return n}function ot(t,e){for(var r in e)t[r]=e[r];return t}function AW(t){for(var e={},r=0;r<t.length;r++)t[r]&&ot(e,t[r]);return e}function Vt(t,e,r){}var Pc=function(t,e,r){return!1},RW=function(t){return t};function ki(t,e){if(t===e)return!0;var r=Xt(t),n=Xt(e);if(r&&n)try{var a=Array.isArray(t),i=Array.isArray(e);if(a&&i)return t.length===e.length&&t.every(function(u,l){return ki(u,e[l])});if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(!a&&!i){var o=Object.keys(t),s=Object.keys(e);return o.length===s.length&&o.every(function(u){return ki(t[u],e[u])})}else return!1}catch{return!1}else return!r&&!n?String(t)===String(e):!1}function IW(t,e){for(var r=0;r<t.length;r++)if(ki(t[r],e))return r;return-1}function kc(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function Zee(t,e){return t===e?t===0&&1/t!==1/e:t===t||e===e}var NW="data-server-rendered",Tc=["component","directive","filter"],LW=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],Vr={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Pc,isReservedAttr:Pc,isUnknownElement:Pc,getTagNamespace:Vt,parsePlatformTagName:RW,mustUseProp:Pc,async:!0,_lifecycleHooks:LW},ete=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function WW(t){var e=(t+"").charCodeAt(0);return e===36||e===95}function Da(t,e,r,n){Object.defineProperty(t,e,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var tte=new RegExp("[^".concat(ete.source,".$_\\d]"));function rte(t){if(!tte.test(t)){var e=t.split(".");return function(r){for(var n=0;n<e.length;n++){if(!r)return;r=r[e[n]]}return r}}}var nte="__proto__"in{},xr=typeof window<"u",Jt=xr&&window.navigator.userAgent.toLowerCase(),Uo=Jt&&/msie|trident/.test(Jt),zo=Jt&&Jt.indexOf("msie 9.0")>0,Zb=Jt&&Jt.indexOf("edge/")>0;Jt&&Jt.indexOf("android")>0;var ate=Jt&&/iphone|ipad|ipod|ios/.test(Jt);Jt&&/chrome\/\d+/.test(Jt),Jt&&/phantomjs/.test(Jt);var FW=Jt&&Jt.match(/firefox\/(\d+)/),e0={}.watch,jW=!1;if(xr)try{var VW={};Object.defineProperty(VW,"passive",{get:function(){jW=!0}}),window.addEventListener("test-passive",null,VW)}catch{}var Ec,Vu=function(){return Ec===void 0&&(!xr&&typeof global<"u"?Ec=global.process&&global.process.env.VUE_ENV==="server":Ec=!1),Ec},Mc=xr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Bo(t){return typeof t=="function"&&/native code/.test(t.toString())}var Uu=typeof Symbol<"u"&&Bo(Symbol)&&typeof Reflect<"u"&&Bo(Reflect.ownKeys),zu;typeof Set<"u"&&Bo(Set)?zu=Set:zu=function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(e){return this.set[e]===!0},t.prototype.add=function(e){this.set[e]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Bu=null;function $a(t){t===void 0&&(t=null),t||Bu&&Bu._scope.off(),Bu=t,t&&t._scope.on()}var Pr=function(){function t(e,r,n,a,i,o,s,u){this.tag=e,this.data=r,this.children=n,this.text=a,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=r&&r.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=u,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),Ti=function(t){t===void 0&&(t="");var e=new Pr;return e.text=t,e.isComment=!0,e};function Ho(t){return new Pr(void 0,void 0,void 0,String(t))}function t0(t){var e=new Pr(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var ite=0,Sc=[],ote=function(){for(var t=0;t<Sc.length;t++){var e=Sc[t];e.subs=e.subs.filter(function(r){return r}),e._pending=!1}Sc.length=0},Aa=function(){function t(){this._pending=!1,this.id=ite++,this.subs=[]}return t.prototype.addSub=function(e){this.subs.push(e)},t.prototype.removeSub=function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,Sc.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(e){for(var r=this.subs.filter(function(o){return o}),n=0,a=r.length;n<a;n++){var i=r[n];i.update()}},t}();Aa.target=null;var Oc=[];function qo(t){Oc.push(t),Aa.target=t}function Yo(){Oc.pop(),Aa.target=Oc[Oc.length-1]}var UW=Array.prototype,Cc=Object.create(UW),ste=["push","pop","shift","unshift","splice","sort","reverse"];ste.forEach(function(t){var e=UW[t];Da(Cc,t,function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=e.apply(this,n),o=this.__ob__,s;switch(t){case"push":case"unshift":s=n;break;case"splice":s=n.slice(2);break}return s&&o.observeArray(s),o.dep.notify(),i})});var ute=new WeakMap;function zW(t){return lte(t,!0),Da(t,"__v_isShallow",!0),t}function lte(t,e){r0(t)||ea(t,e,Vu())}function r0(t){return!!(t&&t.__v_isReadonly)}var BW=Object.getOwnPropertyNames(Cc),HW={},n0=!0;function Ra(t){n0=t}var dte={notify:Vt,depend:Vt,addSub:Vt,removeSub:Vt},qW=function(){function t(e,r,n){if(r===void 0&&(r=!1),n===void 0&&(n=!1),this.value=e,this.shallow=r,this.mock=n,this.dep=n?dte:new Aa,this.vmCount=0,Da(e,"__ob__",this),Le(e)){if(!n)if(nte)e.__proto__=Cc;else for(var a=0,i=BW.length;a<i;a++){var o=BW[a];Da(e,o,Cc[o])}r||this.observeArray(e)}else for(var s=Object.keys(e),a=0;a<s.length;a++){var o=s[a];Ei(e,o,HW,void 0,r,n)}}return t.prototype.observeArray=function(e){for(var r=0,n=e.length;r<n;r++)ea(e[r],!1,this.mock)},t}();function ea(t,e,r){if(t&&ur(t,"__ob__")&&t.__ob__ instanceof qW)return t.__ob__;if(n0&&(r||!Vu())&&(Le(t)||cr(t))&&Object.isExtensible(t)&&!t.__v_skip&&!ute.has(t)&&!Pn(t)&&!(t instanceof Pr))return new qW(t,e,r)}function Ei(t,e,r,n,a,i){var o=new Aa,s=Object.getOwnPropertyDescriptor(t,e);if(!(s&&s.configurable===!1)){var u=s&&s.get,l=s&&s.set;(!u||l)&&(r===HW||arguments.length===2)&&(r=t[e]);var d=!a&&ea(r,!1,i);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var m=u?u.call(t):r;return Aa.target&&(o.depend(),d&&(d.dep.depend(),Le(m)&&GW(m))),Pn(m)&&!a?m.value:m},set:function(m){var f=u?u.call(t):r;if(!!Zee(f,m)){if(l)l.call(t,m);else{if(u)return;if(!a&&Pn(f)&&!Pn(m)){f.value=m;return}else r=m}d=!a&&ea(m,!1,i),o.notify()}}}),o}}function a0(t,e,r){if(!r0(t)){var n=t.__ob__;return Le(t)&&DW(e)?(t.length=Math.max(t.length,e),t.splice(e,1,r),n&&!n.shallow&&n.mock&&ea(r,!1,!0),r):e in t&&!(e in Object.prototype)?(t[e]=r,r):t._isVue||n&&n.vmCount?r:n?(Ei(n.value,e,r,void 0,n.shallow,n.mock),n.dep.notify(),r):(t[e]=r,r)}}function YW(t,e){if(Le(t)&&DW(e)){t.splice(e,1);return}var r=t.__ob__;t._isVue||r&&r.vmCount||r0(t)||!ur(t,e)||(delete t[e],r&&r.dep.notify())}function GW(t){for(var e=void 0,r=0,n=t.length;r<n;r++)e=t[r],e&&e.__ob__&&e.__ob__.dep.depend(),Le(e)&&GW(e)}function Pn(t){return!!(t&&t.__v_isRef===!0)}function i0(t,e,r){Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:function(){var n=e[r];if(Pn(n))return n.value;var a=n&&n.__ob__;return a&&a.dep.depend(),n},set:function(n){var a=e[r];Pn(a)&&!Pn(n)?a.value=n:e[r]=n}})}var kr,cte=function(){function t(e){e===void 0&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=kr,!e&&kr&&(this.index=(kr.scopes||(kr.scopes=[])).push(this)-1)}return t.prototype.run=function(e){if(this.active){var r=kr;try{return kr=this,e()}finally{kr=r}}},t.prototype.on=function(){kr=this},t.prototype.off=function(){kr=this.parent},t.prototype.stop=function(e){if(this.active){var r=void 0,n=void 0;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].teardown();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!e){var a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0,this.active=!1}},t}();function fte(t,e){e===void 0&&(e=kr),e&&e.active&&e.effects.push(t)}function mte(t){var e=t._provided,r=t.$parent&&t.$parent._provided;return r===e?t._provided=Object.create(r):e}var KW=xi(function(t){var e=t.charAt(0)==="&";t=e?t.slice(1):t;var r=t.charAt(0)==="~";t=r?t.slice(1):t;var n=t.charAt(0)==="!";return t=n?t.slice(1):t,{name:t,once:r,capture:n,passive:e}});function o0(t,e){function r(){var n=r.fns;if(Le(n))for(var a=n.slice(),i=0;i<a.length;i++)Na(a[i],null,arguments,e,"v-on handler");else return Na(n,null,arguments,e,"v-on handler")}return r.fns=t,r}function XW(t,e,r,n,a,i){var o,s,u,l;for(o in t)s=t[o],u=e[o],l=KW(o),Te(s)||(Te(u)?(Te(s.fns)&&(s=t[o]=o0(s,i)),xt(l.once)&&(s=t[o]=a(l.name,s,l.capture)),r(l.name,s,l.capture,l.passive,l.params)):s!==u&&(u.fns=s,t[o]=u));for(o in e)Te(t[o])&&(l=KW(o),n(l.name,e[o],l.capture))}function Ia(t,e,r){t instanceof Pr&&(t=t.data.hook||(t.data.hook={}));var n,a=t[e];function i(){r.apply(this,arguments),Ca(n.fns,i)}Te(a)?n=o0([i]):q(a.fns)&&xt(a.merged)?(n=a,n.fns.push(i)):n=o0([a,i]),n.merged=!0,t[e]=n}function pte(t,e,r){var n=e.options.props;if(!Te(n)){var a={},i=t.attrs,o=t.props;if(q(i)||q(o))for(var s in n){var u=ju(s);JW(a,o,s,u,!0)||JW(a,i,s,u,!1)}return a}}function JW(t,e,r,n,a){if(q(e)){if(ur(e,r))return t[r]=e[r],a||delete e[r],!0;if(ur(e,n))return t[r]=e[n],a||delete e[n],!0}return!1}function hte(t){for(var e=0;e<t.length;e++)if(Le(t[e]))return Array.prototype.concat.apply([],t);return t}function s0(t){return Wu(t)?[Ho(t)]:Le(t)?QW(t):void 0}function Hu(t){return q(t)&&q(t.text)&&Uee(t.isComment)}function QW(t,e){var r=[],n,a,i,o;for(n=0;n<t.length;n++)a=t[n],!(Te(a)||typeof a=="boolean")&&(i=r.length-1,o=r[i],Le(a)?a.length>0&&(a=QW(a,"".concat(e||"","_").concat(n)),Hu(a[0])&&Hu(o)&&(r[i]=Ho(o.text+a[0].text),a.shift()),r.push.apply(r,a)):Wu(a)?Hu(o)?r[i]=Ho(o.text+a):a!==""&&r.push(Ho(a)):Hu(a)&&Hu(o)?r[i]=Ho(o.text+a.text):(xt(t._isVList)&&q(a.tag)&&Te(a.key)&&q(e)&&(a.key="__vlist".concat(e,"_").concat(n,"__")),r.push(a)));return r}function vte(t,e){var r=null,n,a,i,o;if(Le(t)||typeof t=="string")for(r=new Array(t.length),n=0,a=t.length;n<a;n++)r[n]=e(t[n],n);else if(typeof t=="number")for(r=new Array(t),n=0;n<t;n++)r[n]=e(n+1,n);else if(Xt(t))if(Uu&&t[Symbol.iterator]){r=[];for(var s=t[Symbol.iterator](),u=s.next();!u.done;)r.push(e(u.value,r.length)),u=s.next()}else for(i=Object.keys(t),r=new Array(i.length),n=0,a=i.length;n<a;n++)o=i[n],r[n]=e(t[o],o,n);return q(r)||(r=[]),r._isVList=!0,r}function gte(t,e,r,n){var a=this.$scopedSlots[t],i;a?(r=r||{},n&&(r=ot(ot({},n),r)),i=a(r)||(Et(e)?e():e)):i=this.$slots[t]||(Et(e)?e():e);var o=r&&r.slot;return o?this.$createElement("template",{slot:o},i):i}function yte(t){return Fc(this.$options,"filters",t)||RW}function ZW(t,e){return Le(t)?t.indexOf(e)===-1:t!==e}function _te(t,e,r,n,a){var i=Vr.keyCodes[e]||r;return a&&n&&!Vr.keyCodes[e]?ZW(a,n):i?ZW(i,t):n?ju(n)!==e:t===void 0}function bte(t,e,r,n,a){if(r&&Xt(r)){Le(r)&&(r=AW(r));var i=void 0,o=function(u){if(u==="class"||u==="style"||qee(u))i=t;else{var l=t.attrs&&t.attrs.type;i=n||Vr.mustUseProp(e,l,u)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var d=Pi(u),c=ju(u);if(!(d in i)&&!(c in i)&&(i[u]=r[u],a)){var m=t.on||(t.on={});m["update:".concat(u)]=function(f){r[u]=f}}};for(var s in r)o(s)}return t}function wte(t,e){var r=this._staticTrees||(this._staticTrees=[]),n=r[t];return n&&!e||(n=r[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),eF(n,"__static__".concat(t),!1)),n}function xte(t,e,r){return eF(t,"__once__".concat(e).concat(r?"_".concat(r):""),!0),t}function eF(t,e,r){if(Le(t))for(var n=0;n<t.length;n++)t[n]&&typeof t[n]!="string"&&tF(t[n],"".concat(e,"_").concat(n),r);else tF(t,e,r)}function tF(t,e,r){t.isStatic=!0,t.key=e,t.isOnce=r}function Pte(t,e){if(e&&cr(e)){var r=t.on=t.on?ot({},t.on):{};for(var n in e){var a=r[n],i=e[n];r[n]=a?[].concat(a,i):i}}return t}function rF(t,e,r,n){e=e||{$stable:!r};for(var a=0;a<t.length;a++){var i=t[a];Le(i)?rF(i,e,r):i&&(i.proxy&&(i.fn.proxy=!0),e[i.key]=i.fn)}return n&&(e.$key=n),e}function kte(t,e){for(var r=0;r<e.length;r+=2){var n=e[r];typeof n=="string"&&n&&(t[e[r]]=e[r+1])}return t}function Tte(t,e){return typeof t=="string"?e+t:t}function nF(t){t._o=xte,t._n=Fu,t._s=Hee,t._l=vte,t._t=gte,t._q=ki,t._i=IW,t._m=wte,t._f=yte,t._k=_te,t._b=bte,t._v=Ho,t._e=Ti,t._u=rF,t._g=Pte,t._d=kte,t._p=Tte}function u0(t,e){if(!t||!t.length)return{};for(var r={},n=0,a=t.length;n<a;n++){var i=t[n],o=i.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,(i.context===e||i.fnContext===e)&&o&&o.slot!=null){var s=o.slot,u=r[s]||(r[s]=[]);i.tag==="template"?u.push.apply(u,i.children||[]):u.push(i)}else(r.default||(r.default=[])).push(i)}for(var l in r)r[l].every(Ete)&&delete r[l];return r}function Ete(t){return t.isComment&&!t.asyncFactory||t.text===" "}function qu(t){return t.isComment&&t.asyncFactory}function Yu(t,e,r,n){var a,i=Object.keys(r).length>0,o=e?!!e.$stable:!i,s=e&&e.$key;if(!e)a={};else{if(e._normalized)return e._normalized;if(o&&n&&n!==wr&&s===n.$key&&!i&&!n.$hasNormal)return n;a={};for(var u in e)e[u]&&u[0]!=="$"&&(a[u]=Mte(t,r,u,e[u]))}for(var l in r)l in a||(a[l]=Ste(r,l));return e&&Object.isExtensible(e)&&(e._normalized=a),Da(a,"$stable",o),Da(a,"$key",s),Da(a,"$hasNormal",i),a}function Mte(t,e,r,n){var a=function(){var i=Bu;$a(t);var o=arguments.length?n.apply(null,arguments):n({});o=o&&typeof o=="object"&&!Le(o)?[o]:s0(o);var s=o&&o[0];return $a(i),o&&(!s||o.length===1&&s.isComment&&!qu(s))?void 0:o};return n.proxy&&Object.defineProperty(e,r,{get:a,enumerable:!0,configurable:!0}),a}function Ste(t,e){return function(){return t[e]}}function Ote(t){var e=t.$options,r=e.setup;if(r){var n=t._setupContext=Cte(t);$a(t),qo();var a=Na(r,null,[t._props||zW({}),n],t,"setup");if(Yo(),$a(),Et(a))e.render=a;else if(Xt(a))if(t._setupState=a,a.__sfc){var o=t._setupProxy={};for(var i in a)i!=="__sfc"&&i0(o,a,i)}else for(var i in a)WW(i)||i0(t,a,i)}}function Cte(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Da(e,"_v_attr_proxy",!0),Dc(e,t.$attrs,wr,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Dc(e,t.$listeners,wr,t,"$listeners")}return t._listenersProxy},get slots(){return $te(t)},emit:$W(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(r){return i0(t,e,r)})}}}function Dc(t,e,r,n,a){var i=!1;for(var o in e)o in t?e[o]!==r[o]&&(i=!0):(i=!0,Dte(t,o,n,a));for(var o in t)o in e||(i=!0,delete t[o]);return i}function Dte(t,e,r,n){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return r[n][e]}})}function $te(t){return t._slotsProxy||aF(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function aF(t,e){for(var r in e)t[r]=e[r];for(var r in t)r in e||delete t[r]}function Ate(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,n=r&&r.context;t.$slots=u0(e._renderChildren,n),t.$scopedSlots=r?Yu(t.$parent,r.data.scopedSlots,t.$slots):wr,t._c=function(i,o,s,u){return $c(t,i,o,s,u,!1)},t.$createElement=function(i,o,s,u){return $c(t,i,o,s,u,!0)};var a=r&&r.data;Ei(t,"$attrs",a&&a.attrs||wr,null,!0),Ei(t,"$listeners",e._parentListeners||wr,null,!0)}var l0=null;function Rte(t){nF(t.prototype),t.prototype.$nextTick=function(e){return p0(e,this)},t.prototype._render=function(){var e=this,r=e.$options,n=r.render,a=r._parentVnode;a&&e._isMounted&&(e.$scopedSlots=Yu(e.$parent,a.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&aF(e._slotsProxy,e.$scopedSlots)),e.$vnode=a;var i;try{$a(e),l0=e,i=n.call(e._renderProxy,e.$createElement)}catch(o){Mi(o,e,"render"),i=e._vnode}finally{l0=null,$a()}return Le(i)&&i.length===1&&(i=i[0]),i instanceof Pr||(i=Ti()),i.parent=a,i}}function d0(t,e){return(t.__esModule||Uu&&t[Symbol.toStringTag]==="Module")&&(t=t.default),Xt(t)?e.extend(t):t}function Ite(t,e,r,n,a){var i=Ti();return i.asyncFactory=t,i.asyncMeta={data:e,context:r,children:n,tag:a},i}function Nte(t,e){if(xt(t.error)&&q(t.errorComp))return t.errorComp;if(q(t.resolved))return t.resolved;var r=l0;if(r&&q(t.owners)&&t.owners.indexOf(r)===-1&&t.owners.push(r),xt(t.loading)&&q(t.loadingComp))return t.loadingComp;if(r&&!q(t.owners)){var n=t.owners=[r],a=!0,i=null,o=null;r.$on("hook:destroyed",function(){return Ca(n,r)});var s=function(c){for(var m=0,f=n.length;m<f;m++)n[m].$forceUpdate();c&&(n.length=0,i!==null&&(clearTimeout(i),i=null),o!==null&&(clearTimeout(o),o=null))},u=kc(function(c){t.resolved=d0(c,e),a?n.length=0:s(!0)}),l=kc(function(c){q(t.errorComp)&&(t.error=!0,s(!0))}),d=t(u,l);return Xt(d)&&(Jb(d)?Te(t.resolved)&&d.then(u,l):Jb(d.component)&&(d.component.then(u,l),q(d.error)&&(t.errorComp=d0(d.error,e)),q(d.loading)&&(t.loadingComp=d0(d.loading,e),d.delay===0?t.loading=!0:i=setTimeout(function(){i=null,Te(t.resolved)&&Te(t.error)&&(t.loading=!0,s(!1))},d.delay||200)),q(d.timeout)&&(o=setTimeout(function(){o=null,Te(t.resolved)&&l(null)},d.timeout)))),a=!1,t.loading?t.loadingComp:t.resolved}}function iF(t){if(Le(t))for(var e=0;e<t.length;e++){var r=t[e];if(q(r)&&(q(r.componentOptions)||qu(r)))return r}}var Lte=1,oF=2;function $c(t,e,r,n,a,i){return(Le(r)||Wu(r))&&(a=n,n=r,r=void 0),xt(i)&&(a=oF),Wte(t,e,r,n,a)}function Wte(t,e,r,n,a){if(q(r)&&q(r.__ob__)||(q(r)&&q(r.is)&&(e=r.is),!e))return Ti();Le(n)&&Et(n[0])&&(r=r||{},r.scopedSlots={default:n[0]},n.length=0),a===oF?n=s0(n):a===Lte&&(n=hte(n));var i,o;if(typeof e=="string"){var s=void 0;o=t.$vnode&&t.$vnode.ns||Vr.getTagNamespace(e),Vr.isReservedTag(e)?i=new Pr(Vr.parsePlatformTagName(e),r,n,void 0,void 0,t):(!r||!r.pre)&&q(s=Fc(t.$options,"components",e))?i=wF(s,r,t,n,e):i=new Pr(e,r,n,void 0,void 0,t)}else i=wF(e,r,t,n);return Le(i)?i:q(i)?(q(o)&&sF(i,o),q(r)&&Fte(r),i):Ti()}function sF(t,e,r){if(t.ns=e,t.tag==="foreignObject"&&(e=void 0,r=!0),q(t.children))for(var n=0,a=t.children.length;n<a;n++){var i=t.children[n];q(i.tag)&&(Te(i.ns)||xt(r)&&i.tag!=="svg")&&sF(i,e,r)}}function Fte(t){Xt(t.style)&&Ic(t.style),Xt(t.class)&&Ic(t.class)}function Mi(t,e,r){qo();try{if(e)for(var n=e;n=n.$parent;){var a=n.$options.errorCaptured;if(a)for(var i=0;i<a.length;i++)try{var o=a[i].call(n,t,e,r)===!1;if(o)return}catch(s){uF(s,n,"errorCaptured hook")}}uF(t,e,r)}finally{Yo()}}function Na(t,e,r,n,a){var i;try{i=r?t.apply(e,r):t.call(e),i&&!i._isVue&&Jb(i)&&!i._handled&&(i.catch(function(o){return Mi(o,n,a+" (Promise/async)")}),i._handled=!0)}catch(o){Mi(o,n,a)}return i}function uF(t,e,r){if(Vr.errorHandler)try{return Vr.errorHandler.call(null,t,e,r)}catch(n){n!==t&&lF(n)}lF(t)}function lF(t,e,r){if(xr&&typeof console<"u")console.error(t);else throw t}var c0=!1,f0=[],m0=!1;function Ac(){m0=!1;var t=f0.slice(0);f0.length=0;for(var e=0;e<t.length;e++)t[e]()}var Gu;if(typeof Promise<"u"&&Bo(Promise)){var jte=Promise.resolve();Gu=function(){jte.then(Ac),ate&&setTimeout(Vt)},c0=!0}else if(!Uo&&typeof MutationObserver<"u"&&(Bo(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var Rc=1,Vte=new MutationObserver(Ac),dF=document.createTextNode(String(Rc));Vte.observe(dF,{characterData:!0}),Gu=function(){Rc=(Rc+1)%2,dF.data=String(Rc)},c0=!0}else typeof setImmediate<"u"&&Bo(setImmediate)?Gu=function(){setImmediate(Ac)}:Gu=function(){setTimeout(Ac,0)};function p0(t,e){var r;if(f0.push(function(){if(t)try{t.call(e)}catch(n){Mi(n,e,"nextTick")}else r&&r(e)}),m0||(m0=!0,Gu()),!t&&typeof Promise<"u")return new Promise(function(n){r=n})}var Ute="2.7.13",cF=new zu;function Ic(t){return Nc(t,cF),cF.clear(),t}function Nc(t,e){var r,n,a=Le(t);if(!(!a&&!Xt(t)||t.__v_skip||Object.isFrozen(t)||t instanceof Pr)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(a)for(r=t.length;r--;)Nc(t[r],e);else if(Pn(t))Nc(t.value,e);else for(n=Object.keys(t),r=n.length;r--;)Nc(t[n[r]],e)}}var zte=0,h0=function(){function t(e,r,n,a,i){fte(this,kr&&!kr._vm?kr:e?e._scope:void 0),(this.vm=e)&&i&&(e._watcher=this),a?(this.deep=!!a.deep,this.user=!!a.user,this.lazy=!!a.lazy,this.sync=!!a.sync,this.before=a.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++zte,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new zu,this.newDepIds=new zu,this.expression="",Et(r)?this.getter=r:(this.getter=rte(r),this.getter||(this.getter=Vt)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){qo(this);var e,r=this.vm;try{e=this.getter.call(r,r)}catch(n){if(this.user)Mi(n,r,'getter for watcher "'.concat(this.expression,'"'));else throw n}finally{this.deep&&Ic(e),Yo(),this.cleanupDeps()}return e},t.prototype.addDep=function(e){var r=e.id;this.newDepIds.has(r)||(this.newDepIds.add(r),this.newDeps.push(e),this.depIds.has(r)||e.addSub(this))},t.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var r=this.deps[e];this.newDepIds.has(r.id)||r.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ire(this)},t.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||Xt(e)||this.deep){var r=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');Na(this.cb,this.vm,[e,r],this.vm,n)}else this.cb.call(this.vm,e,r)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&Ca(this.vm._scope.effects,this),this.active){for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function Bte(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&fF(t,e)}var Ku;function Hte(t,e){Ku.$on(t,e)}function qte(t,e){Ku.$off(t,e)}function Yte(t,e){var r=Ku;return function n(){var a=e.apply(null,arguments);a!==null&&r.$off(t,n)}}function fF(t,e,r){Ku=t,XW(e,r||{},Hte,qte,Yte,t),Ku=void 0}function Gte(t){var e=/^hook:/;t.prototype.$on=function(r,n){var a=this;if(Le(r))for(var i=0,o=r.length;i<o;i++)a.$on(r[i],n);else(a._events[r]||(a._events[r]=[])).push(n),e.test(r)&&(a._hasHookEvent=!0);return a},t.prototype.$once=function(r,n){var a=this;function i(){a.$off(r,i),n.apply(a,arguments)}return i.fn=n,a.$on(r,i),a},t.prototype.$off=function(r,n){var a=this;if(!arguments.length)return a._events=Object.create(null),a;if(Le(r)){for(var i=0,o=r.length;i<o;i++)a.$off(r[i],n);return a}var s=a._events[r];if(!s)return a;if(!n)return a._events[r]=null,a;for(var u,l=s.length;l--;)if(u=s[l],u===n||u.fn===n){s.splice(l,1);break}return a},t.prototype.$emit=function(r){var n=this,a=n._events[r];if(a){a=a.length>1?Qb(a):a;for(var i=Qb(arguments,1),o='event handler for "'.concat(r,'"'),s=0,u=a.length;s<u;s++)Na(a[s],n,i,n,o)}return n}}var Si=null;function mF(t){var e=Si;return Si=t,function(){Si=e}}function Kte(t){var e=t.$options,r=e.parent;if(r&&!e.abstract){for(;r.$options.abstract&&r.$parent;)r=r.$parent;r.$children.push(t)}t.$parent=r,t.$root=r?r.$root:t,t.$children=[],t.$refs={},t._provided=r?r._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Xte(t){t.prototype._update=function(e,r){var n=this,a=n.$el,i=n._vnode,o=mF(n);n._vnode=e,i?n.$el=n.__patch__(i,e):n.$el=n.__patch__(n.$el,e,r,!1),o(),a&&(a.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var s=n;s&&s.$vnode&&s.$parent&&s.$vnode===s.$parent._vnode;)s.$parent.$el=s.$el,s=s.$parent},t.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},t.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Zr(e,"beforeDestroy"),e._isBeingDestroyed=!0;var r=e.$parent;r&&!r._isBeingDestroyed&&!e.$options.abstract&&Ca(r.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Zr(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function Jte(t,e,r){t.$el=e,t.$options.render||(t.$options.render=Ti),Zr(t,"beforeMount");var n;n=function(){t._update(t._render(),r)};var a={before:function(){t._isMounted&&!t._isDestroyed&&Zr(t,"beforeUpdate")}};new h0(t,n,Vt,a,!0),r=!1;var i=t._preWatchers;if(i)for(var o=0;o<i.length;o++)i[o].run();return t.$vnode==null&&(t._isMounted=!0,Zr(t,"mounted")),t}function Qte(t,e,r,n,a){var i=n.data.scopedSlots,o=t.$scopedSlots,s=!!(i&&!i.$stable||o!==wr&&!o.$stable||i&&t.$scopedSlots.$key!==i.$key||!i&&t.$scopedSlots.$key),u=!!(a||t.$options._renderChildren||s),l=t.$vnode;t.$options._parentVnode=n,t.$vnode=n,t._vnode&&(t._vnode.parent=n),t.$options._renderChildren=a;var d=n.data.attrs||wr;t._attrsProxy&&Dc(t._attrsProxy,d,l.data&&l.data.attrs||wr,t,"$attrs")&&(u=!0),t.$attrs=d,r=r||wr;var c=t.$options._parentListeners;if(t._listenersProxy&&Dc(t._listenersProxy,r,c||wr,t,"$listeners"),t.$listeners=t.$options._parentListeners=r,fF(t,r,c),e&&t.$options.props){Ra(!1);for(var m=t._props,f=t.$options._propKeys||[],p=0;p<f.length;p++){var h=f[p],v=t.$options.props;m[h]=E0(h,v,e,t)}Ra(!0),t.$options.propsData=e}u&&(t.$slots=u0(a,n.context),t.$forceUpdate())}function pF(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function v0(t,e){if(e){if(t._directInactive=!1,pF(t))return}else if(t._directInactive)return;if(t._inactive||t._inactive===null){t._inactive=!1;for(var r=0;r<t.$children.length;r++)v0(t.$children[r]);Zr(t,"activated")}}function hF(t,e){if(!(e&&(t._directInactive=!0,pF(t)))&&!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)hF(t.$children[r]);Zr(t,"deactivated")}}function Zr(t,e,r,n){n===void 0&&(n=!0),qo();var a=Bu;n&&$a(t);var i=t.$options[e],o="".concat(e," hook");if(i)for(var s=0,u=i.length;s<u;s++)Na(i[s],t,r||null,t,o);t._hasHookEvent&&t.$emit("hook:"+e),n&&$a(a),Yo()}var ta=[],g0=[],Lc={},y0=!1,_0=!1,Go=0;function Zte(){Go=ta.length=g0.length=0,Lc={},y0=_0=!1}var vF=0,b0=Date.now;if(xr&&!Uo){var w0=window.performance;w0&&typeof w0.now=="function"&&b0()>document.createEvent("Event").timeStamp&&(b0=function(){return w0.now()})}var ere=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function tre(){vF=b0(),_0=!0;var t,e;for(ta.sort(ere),Go=0;Go<ta.length;Go++)t=ta[Go],t.before&&t.before(),e=t.id,Lc[e]=null,t.run();var r=g0.slice(),n=ta.slice();Zte(),are(r),rre(n),ote(),Mc&&Vr.devtools&&Mc.emit("flush")}function rre(t){for(var e=t.length;e--;){var r=t[e],n=r.vm;n&&n._watcher===r&&n._isMounted&&!n._isDestroyed&&Zr(n,"updated")}}function nre(t){t._inactive=!1,g0.push(t)}function are(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,v0(t[e],!0)}function ire(t){var e=t.id;if(Lc[e]==null&&!(t===Aa.target&&t.noRecurse)){if(Lc[e]=!0,!_0)ta.push(t);else{for(var r=ta.length-1;r>Go&&ta[r].id>t.id;)r--;ta.splice(r+1,0,t)}y0||(y0=!0,p0(tre))}}function ore(t){var e=t.$options.provide;if(e){var r=Et(e)?e.call(t):e;if(!Xt(r))return;for(var n=mte(t),a=Uu?Reflect.ownKeys(r):Object.keys(r),i=0;i<a.length;i++){var o=a[i];Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(r,o))}}}function sre(t){var e=gF(t.$options.inject,t);e&&(Ra(!1),Object.keys(e).forEach(function(r){Ei(t,r,e[r])}),Ra(!0))}function gF(t,e){if(t){for(var r=Object.create(null),n=Uu?Reflect.ownKeys(t):Object.keys(t),a=0;a<n.length;a++){var i=n[a];if(i!=="__ob__"){var o=t[i].from;if(o in e._provided)r[i]=e._provided[o];else if("default"in t[i]){var s=t[i].default;r[i]=Et(s)?s.call(e):s}}}return r}}function x0(t,e,r,n,a){var i=this,o=a.options,s;ur(n,"_uid")?(s=Object.create(n),s._original=n):(s=n,n=n._original);var u=xt(o._compiled),l=!u;this.data=t,this.props=e,this.children=r,this.parent=n,this.listeners=t.on||wr,this.injections=gF(o.inject,n),this.slots=function(){return i.$slots||Yu(n,t.scopedSlots,i.$slots=u0(r,n)),i.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Yu(n,t.scopedSlots,this.slots())}}),u&&(this.$options=o,this.$slots=this.slots(),this.$scopedSlots=Yu(n,t.scopedSlots,this.$slots)),o._scopeId?this._c=function(d,c,m,f){var p=$c(s,d,c,m,f,l);return p&&!Le(p)&&(p.fnScopeId=o._scopeId,p.fnContext=n),p}:this._c=function(d,c,m,f){return $c(s,d,c,m,f,l)}}nF(x0.prototype);function ure(t,e,r,n,a){var i=t.options,o={},s=i.props;if(q(s))for(var u in s)o[u]=E0(u,s,e||wr);else q(r.attrs)&&_F(o,r.attrs),q(r.props)&&_F(o,r.props);var l=new x0(r,o,a,n,t),d=i.render.call(null,l._c,l);if(d instanceof Pr)return yF(d,r,l.parent,i);if(Le(d)){for(var c=s0(d)||[],m=new Array(c.length),f=0;f<c.length;f++)m[f]=yF(c[f],r,l.parent,i);return m}}function yF(t,e,r,n,a){var i=t0(t);return i.fnContext=r,i.fnOptions=n,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function _F(t,e){for(var r in e)t[Pi(r)]=e[r]}function Wc(t){return t.name||t.__name||t._componentTag}var P0={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var r=t;P0.prepatch(r,r)}else{var n=t.componentInstance=lre(t,Si);n.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var r=e.componentOptions,n=e.componentInstance=t.componentInstance;Qte(n,r.propsData,r.listeners,e,r.children)},insert:function(t){var e=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,Zr(r,"mounted")),t.data.keepAlive&&(e._isMounted?nre(r):v0(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?hF(e,!0):e.$destroy())}},bF=Object.keys(P0);function wF(t,e,r,n,a){if(!Te(t)){var i=r.$options._base;if(Xt(t)&&(t=i.extend(t)),typeof t=="function"){var o;if(Te(t.cid)&&(o=t,t=Nte(o,i),t===void 0))return Ite(o,e,r,n,a);e=e||{},C0(t),q(e.model)&&fre(t.options,e);var s=pte(e,t);if(xt(t.options.functional))return ure(t,s,e,r,n);var u=e.on;if(e.on=e.nativeOn,xt(t.options.abstract)){var l=e.slot;e={},l&&(e.slot=l)}dre(e);var d=Wc(t.options)||a,c=new Pr("vue-component-".concat(t.cid).concat(d?"-".concat(d):""),e,void 0,void 0,void 0,r,{Ctor:t,propsData:s,listeners:u,tag:a,children:n},o);return c}}}function lre(t,e){var r={_isComponent:!0,_parentVnode:t,parent:e},n=t.data.inlineTemplate;return q(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns),new t.componentOptions.Ctor(r)}function dre(t){for(var e=t.hook||(t.hook={}),r=0;r<bF.length;r++){var n=bF[r],a=e[n],i=P0[n];a!==i&&!(a&&a._merged)&&(e[n]=a?cre(i,a):i)}}function cre(t,e){var r=function(n,a){t(n,a),e(n,a)};return r._merged=!0,r}function fre(t,e){var r=t.model&&t.model.prop||"value",n=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[r]=e.model.value;var a=e.on||(e.on={}),i=a[n],o=e.model.callback;q(i)?(Le(i)?i.indexOf(o)===-1:i!==o)&&(a[n]=[o].concat(i)):a[n]=o}var xF=Vt,kn=Vr.optionMergeStrategies;function k0(t,e){if(!e)return t;for(var r,n,a,i=Uu?Reflect.ownKeys(e):Object.keys(e),o=0;o<i.length;o++)r=i[o],r!=="__ob__"&&(n=t[r],a=e[r],ur(t,r)?n!==a&&cr(n)&&cr(a)&&k0(n,a):a0(t,r,a));return t}function T0(t,e,r){return r?function(){var a=Et(e)?e.call(r,r):e,i=Et(t)?t.call(r,r):t;return a?k0(a,i):i}:e?t?function(){return k0(Et(e)?e.call(this,this):e,Et(t)?t.call(this,this):t)}:e:t}kn.data=function(t,e,r){return r?T0(t,e,r):e&&typeof e!="function"?t:T0(t,e)};function mre(t,e){var r=e?t?t.concat(e):Le(e)?e:[e]:t;return r&&pre(r)}function pre(t){for(var e=[],r=0;r<t.length;r++)e.indexOf(t[r])===-1&&e.push(t[r]);return e}LW.forEach(function(t){kn[t]=mre});function hre(t,e,r,n){var a=Object.create(t||null);return e?ot(a,e):a}Tc.forEach(function(t){kn[t+"s"]=hre}),kn.watch=function(t,e,r,n){if(t===e0&&(t=void 0),e===e0&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var a={};ot(a,t);for(var i in e){var o=a[i],s=e[i];o&&!Le(o)&&(o=[o]),a[i]=o?o.concat(s):Le(s)?s:[s]}return a},kn.props=kn.methods=kn.inject=kn.computed=function(t,e,r,n){if(!t)return e;var a=Object.create(null);return ot(a,t),e&&ot(a,e),a},kn.provide=T0;var vre=function(t,e){return e===void 0?t:e};function gre(t,e){var r=t.props;if(!!r){var n={},a,i,o;if(Le(r))for(a=r.length;a--;)i=r[a],typeof i=="string"&&(o=Pi(i),n[o]={type:null});else if(cr(r))for(var s in r)i=r[s],o=Pi(s),n[o]=cr(i)?i:{type:i};t.props=n}}function yre(t,e){var r=t.inject;if(!!r){var n=t.inject={};if(Le(r))for(var a=0;a<r.length;a++)n[r[a]]={from:r[a]};else if(cr(r))for(var i in r){var o=r[i];n[i]=cr(o)?ot({from:i},o):{from:o}}}}function _re(t){var e=t.directives;if(e)for(var r in e){var n=e[r];Et(n)&&(e[r]={bind:n,update:n})}}function dht(t,e,r){cr(e)||xF('Invalid value for option "'.concat(t,'": expected an Object, ')+"but got ".concat(zee(e),"."))}function Oi(t,e,r){if(Et(e)&&(e=e.options),gre(e),yre(e),_re(e),!e._base&&(e.extends&&(t=Oi(t,e.extends,r)),e.mixins))for(var n=0,a=e.mixins.length;n<a;n++)t=Oi(t,e.mixins[n],r);var i={},o;for(o in t)s(o);for(o in e)ur(t,o)||s(o);function s(u){var l=kn[u]||vre;i[u]=l(t[u],e[u],r,u)}return i}function Fc(t,e,r,n){if(typeof r=="string"){var a=t[e];if(ur(a,r))return a[r];var i=Pi(r);if(ur(a,i))return a[i];var o=Kee(i);if(ur(a,o))return a[o];var s=a[r]||a[i]||a[o];return s}}function E0(t,e,r,n){var a=e[t],i=!ur(r,t),o=r[t],s=kF(Boolean,a.type);if(s>-1){if(i&&!ur(a,"default"))o=!1;else if(o===""||o===ju(t)){var u=kF(String,a.type);(u<0||s<u)&&(o=!0)}}if(o===void 0){o=bre(n,a,t);var l=n0;Ra(!0),ea(o),Ra(l)}return o}function bre(t,e,r){if(!!ur(e,"default")){var n=e.default;return t&&t.$options.propsData&&t.$options.propsData[r]===void 0&&t._props[r]!==void 0?t._props[r]:Et(n)&&M0(e.type)!=="Function"?n.call(t):n}}var wre=/^\s*function (\w+)/;function M0(t){var e=t&&t.toString().match(wre);return e?e[1]:""}function PF(t,e){return M0(t)===M0(e)}function kF(t,e){if(!Le(e))return PF(e,t)?0:-1;for(var r=0,n=e.length;r<n;r++)if(PF(e[r],t))return r;return-1}var La={enumerable:!0,configurable:!0,get:Vt,set:Vt};function S0(t,e,r){La.get=function(){return this[e][r]},La.set=function(a){this[e][r]=a},Object.defineProperty(t,r,La)}function xre(t){var e=t.$options;if(e.props&&Pre(t,e.props),Ote(t),e.methods&&Sre(t,e.methods),e.data)kre(t);else{var r=ea(t._data={});r&&r.vmCount++}e.computed&&Mre(t,e.computed),e.watch&&e.watch!==e0&&Ore(t,e.watch)}function Pre(t,e){var r=t.$options.propsData||{},n=t._props=zW({}),a=t.$options._propKeys=[],i=!t.$parent;i||Ra(!1);var o=function(u){a.push(u);var l=E0(u,e,r,t);Ei(n,u,l),u in t||S0(t,"_props",u)};for(var s in e)o(s);Ra(!0)}function kre(t){var e=t.$options.data;e=t._data=Et(e)?Tre(e,t):e||{},cr(e)||(e={});var r=Object.keys(e),n=t.$options.props;t.$options.methods;for(var a=r.length;a--;){var i=r[a];n&&ur(n,i)||WW(i)||S0(t,"_data",i)}var o=ea(e);o&&o.vmCount++}function Tre(t,e){qo();try{return t.call(e,e)}catch(r){return Mi(r,e,"data()"),{}}finally{Yo()}}var Ere={lazy:!0};function Mre(t,e){var r=t._computedWatchers=Object.create(null),n=Vu();for(var a in e){var i=e[a],o=Et(i)?i:i.get;n||(r[a]=new h0(t,o||Vt,Vt,Ere)),a in t||TF(t,a,i)}}function TF(t,e,r){var n=!Vu();Et(r)?(La.get=n?EF(e):MF(r),La.set=Vt):(La.get=r.get?n&&r.cache!==!1?EF(e):MF(r.get):Vt,La.set=r.set||Vt),Object.defineProperty(t,e,La)}function EF(t){return function(){var r=this._computedWatchers&&this._computedWatchers[t];if(r)return r.dirty&&r.evaluate(),Aa.target&&r.depend(),r.value}}function MF(t){return function(){return t.call(this,this)}}function Sre(t,e){t.$options.props;for(var r in e)t[r]=typeof e[r]!="function"?Vt:$W(e[r],t)}function Ore(t,e){for(var r in e){var n=e[r];if(Le(n))for(var a=0;a<n.length;a++)O0(t,r,n[a]);else O0(t,r,n)}}function O0(t,e,r,n){return cr(r)&&(n=r,r=r.handler),typeof r=="string"&&(r=t[r]),t.$watch(e,r,n)}function Cre(t){var e={};e.get=function(){return this._data};var r={};r.get=function(){return this._props},Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",r),t.prototype.$set=a0,t.prototype.$delete=YW,t.prototype.$watch=function(n,a,i){var o=this;if(cr(a))return O0(o,n,a,i);i=i||{},i.user=!0;var s=new h0(o,n,a,i);if(i.immediate){var u='callback for immediate watcher "'.concat(s.expression,'"');qo(),Na(a,o,[s.value],o,u),Yo()}return function(){s.teardown()}}}var Dre=0;function $re(t){t.prototype._init=function(e){var r=this;r._uid=Dre++,r._isVue=!0,r.__v_skip=!0,r._scope=new cte(!0),r._scope._vm=!0,e&&e._isComponent?Are(r,e):r.$options=Oi(C0(r.constructor),e||{},r),r._renderProxy=r,r._self=r,Kte(r),Bte(r),Ate(r),Zr(r,"beforeCreate",void 0,!1),sre(r),xre(r),ore(r),Zr(r,"created"),r.$options.el&&r.$mount(r.$options.el)}}function Are(t,e){var r=t.$options=Object.create(t.constructor.options),n=e._parentVnode;r.parent=e.parent,r._parentVnode=n;var a=n.componentOptions;r.propsData=a.propsData,r._parentListeners=a.listeners,r._renderChildren=a.children,r._componentTag=a.tag,e.render&&(r.render=e.render,r.staticRenderFns=e.staticRenderFns)}function C0(t){var e=t.options;if(t.super){var r=C0(t.super),n=t.superOptions;if(r!==n){t.superOptions=r;var a=Rre(t);a&&ot(t.extendOptions,a),e=t.options=Oi(r,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function Rre(t){var e,r=t.options,n=t.sealedOptions;for(var a in r)r[a]!==n[a]&&(e||(e={}),e[a]=r[a]);return e}function ie(t){this._init(t)}$re(ie),Cre(ie),Gte(ie),Xte(ie),Rte(ie);function Ire(t){t.use=function(e){var r=this._installedPlugins||(this._installedPlugins=[]);if(r.indexOf(e)>-1)return this;var n=Qb(arguments,1);return n.unshift(this),Et(e.install)?e.install.apply(e,n):Et(e)&&e.apply(null,n),r.push(e),this}}function Nre(t){t.mixin=function(e){return this.options=Oi(this.options,e),this}}function Lre(t){t.cid=0;var e=1;t.extend=function(r){r=r||{};var n=this,a=n.cid,i=r._Ctor||(r._Ctor={});if(i[a])return i[a];var o=Wc(r)||Wc(n.options),s=function(l){this._init(l)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=Oi(n.options,r),s.super=n,s.options.props&&Wre(s),s.options.computed&&Fre(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,Tc.forEach(function(u){s[u]=n[u]}),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=r,s.sealedOptions=ot({},s.options),i[a]=s,s}}function Wre(t){var e=t.options.props;for(var r in e)S0(t.prototype,"_props",r)}function Fre(t){var e=t.options.computed;for(var r in e)TF(t.prototype,r,e[r])}function jre(t){Tc.forEach(function(e){t[e]=function(r,n){return n?(e==="component"&&cr(n)&&(n.name=n.name||r,n=this.options._base.extend(n)),e==="directive"&&Et(n)&&(n={bind:n,update:n}),this.options[e+"s"][r]=n,n):this.options[e+"s"][r]}})}function SF(t){return t&&(Wc(t.Ctor.options)||t.tag)}function jc(t,e){return Le(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:Bee(t)?t.test(e):!1}function OF(t,e){var r=t.cache,n=t.keys,a=t._vnode;for(var i in r){var o=r[i];if(o){var s=o.name;s&&!e(s)&&D0(r,i,n,a)}}}function D0(t,e,r,n){var a=t[e];a&&(!n||a.tag!==n.tag)&&a.componentInstance.$destroy(),t[e]=null,Ca(r,e)}var CF=[String,RegExp,Array],Vre={name:"keep-alive",abstract:!0,props:{include:CF,exclude:CF,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,r=t.keys,n=t.vnodeToCache,a=t.keyToCache;if(n){var i=n.tag,o=n.componentInstance,s=n.componentOptions;e[a]={name:SF(s),tag:i,componentInstance:o},r.push(a),this.max&&r.length>parseInt(this.max)&&D0(e,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)D0(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){OF(t,function(r){return jc(e,r)})}),this.$watch("exclude",function(e){OF(t,function(r){return!jc(e,r)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=iF(t),r=e&&e.componentOptions;if(r){var n=SF(r),a=this,i=a.include,o=a.exclude;if(i&&(!n||!jc(i,n))||o&&n&&jc(o,n))return e;var s=this,u=s.cache,l=s.keys,d=e.key==null?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):e.key;u[d]?(e.componentInstance=u[d].componentInstance,Ca(l,d),l.push(d)):(this.vnodeToCache=e,this.keyToCache=d),e.data.keepAlive=!0}return e||t&&t[0]}},Ure={KeepAlive:Vre};function zre(t){var e={};e.get=function(){return Vr},Object.defineProperty(t,"config",e),t.util={warn:xF,extend:ot,mergeOptions:Oi,defineReactive:Ei},t.set=a0,t.delete=YW,t.nextTick=p0,t.observable=function(r){return ea(r),r},t.options=Object.create(null),Tc.forEach(function(r){t.options[r+"s"]=Object.create(null)}),t.options._base=t,ot(t.options.components,Ure),Ire(t),Nre(t),Lre(t),jre(t)}zre(ie),Object.defineProperty(ie.prototype,"$isServer",{get:Vu}),Object.defineProperty(ie.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ie,"FunctionalRenderContext",{value:x0}),ie.version=Ute;var Bre=Qr("style,class"),Hre=Qr("input,textarea,option,select,progress"),qre=function(t,e,r){return r==="value"&&Hre(t)&&e!=="button"||r==="selected"&&t==="option"||r==="checked"&&t==="input"||r==="muted"&&t==="video"},DF=Qr("contenteditable,draggable,spellcheck"),Yre=Qr("events,caret,typing,plaintext-only"),Gre=function(t,e){return Vc(e)||e==="false"?"false":t==="contenteditable"&&Yre(e)?e:"true"},Kre=Qr("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),$0="http://www.w3.org/1999/xlink",A0=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},$F=function(t){return A0(t)?t.slice(6,t.length):""},Vc=function(t){return t==null||t===!1};function Xre(t){for(var e=t.data,r=t,n=t;q(n.componentInstance);)n=n.componentInstance._vnode,n&&n.data&&(e=AF(n.data,e));for(;q(r=r.parent);)r&&r.data&&(e=AF(e,r.data));return Jre(e.staticClass,e.class)}function AF(t,e){return{staticClass:R0(t.staticClass,e.staticClass),class:q(t.class)?[t.class,e.class]:e.class}}function Jre(t,e){return q(t)||q(e)?R0(t,I0(e)):""}function R0(t,e){return t?e?t+" "+e:t:e||""}function I0(t){return Array.isArray(t)?Qre(t):Xt(t)?Zre(t):typeof t=="string"?t:""}function Qre(t){for(var e="",r,n=0,a=t.length;n<a;n++)q(r=I0(t[n]))&&r!==""&&(e&&(e+=" "),e+=r);return e}function Zre(t){var e="";for(var r in t)t[r]&&(e&&(e+=" "),e+=r);return e}var ene={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},tne=Qr("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),N0=Qr("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),RF=function(t){return tne(t)||N0(t)};function rne(t){if(N0(t))return"svg";if(t==="math")return"math"}var Uc=Object.create(null);function nne(t){if(!xr)return!0;if(RF(t))return!1;if(t=t.toLowerCase(),Uc[t]!=null)return Uc[t];var e=document.createElement(t);return t.indexOf("-")>-1?Uc[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Uc[t]=/HTMLUnknownElement/.test(e.toString())}var L0=Qr("text,number,password,search,email,tel,url");function ane(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function ine(t,e){var r=document.createElement(t);return t!=="select"||e.data&&e.data.attrs&&e.data.attrs.multiple!==void 0&&r.setAttribute("multiple","multiple"),r}function one(t,e){return document.createElementNS(ene[t],e)}function sne(t){return document.createTextNode(t)}function une(t){return document.createComment(t)}function lne(t,e,r){t.insertBefore(e,r)}function dne(t,e){t.removeChild(e)}function cne(t,e){t.appendChild(e)}function fne(t){return t.parentNode}function mne(t){return t.nextSibling}function pne(t){return t.tagName}function hne(t,e){t.textContent=e}function vne(t,e){t.setAttribute(e,"")}var gne=Object.freeze({__proto__:null,createElement:ine,createElementNS:one,createTextNode:sne,createComment:une,insertBefore:lne,removeChild:dne,appendChild:cne,parentNode:fne,nextSibling:mne,tagName:pne,setTextContent:hne,setStyleScope:vne}),yne={create:function(t,e){Ko(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ko(t,!0),Ko(e))},destroy:function(t){Ko(t,!0)}};function Ko(t,e){var r=t.data.ref;if(!!q(r)){var n=t.context,a=t.componentInstance||t.elm,i=e?null:a,o=e?void 0:a;if(Et(r)){Na(r,n,[i],n,"template ref function");return}var s=t.data.refInFor,u=typeof r=="string"||typeof r=="number",l=Pn(r),d=n.$refs;if(u||l){if(s){var c=u?d[r]:r.value;e?Le(c)&&Ca(c,a):Le(c)?c.includes(a)||c.push(a):u?(d[r]=[a],IF(n,r,d[r])):r.value=[a]}else if(u){if(e&&d[r]!==a)return;d[r]=o,IF(n,r,i)}else if(l){if(e&&r.value!==a)return;r.value=i}}}}function IF(t,e,r){var n=t._setupState;n&&ur(n,e)&&(Pn(n[e])?n[e].value=r:n[e]=r)}var Wa=new Pr("",{},[]),Xu=["create","activate","update","remove","destroy"];function Ci(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&q(t.data)===q(e.data)&&_ne(t,e)||xt(t.isAsyncPlaceholder)&&Te(e.asyncFactory.error))}function _ne(t,e){if(t.tag!=="input")return!0;var r,n=q(r=t.data)&&q(r=r.attrs)&&r.type,a=q(r=e.data)&&q(r=r.attrs)&&r.type;return n===a||L0(n)&&L0(a)}function bne(t,e,r){var n,a,i={};for(n=e;n<=r;++n)a=t[n].key,q(a)&&(i[a]=n);return i}function wne(t){var e,r,n={},a=t.modules,i=t.nodeOps;for(e=0;e<Xu.length;++e)for(n[Xu[e]]=[],r=0;r<a.length;++r)q(a[r][Xu[e]])&&n[Xu[e]].push(a[r][Xu[e]]);function o(E){return new Pr(i.tagName(E).toLowerCase(),{},[],void 0,E)}function s(E,T){function $(){--$.listeners===0&&u(E)}return $.listeners=T,$}function u(E){var T=i.parentNode(E);q(T)&&i.removeChild(T,E)}function l(E,T,$,I,W,U,M){if(q(E.elm)&&q(U)&&(E=U[M]=t0(E)),E.isRootInsert=!W,!d(E,T,$,I)){var P=E.data,A=E.children,j=E.tag;q(j)?(E.elm=E.ns?i.createElementNS(E.ns,j):i.createElement(j,E),y(E),p(E,A,T),q(P)&&v(E,T),f($,E.elm,I)):xt(E.isComment)?(E.elm=i.createComment(E.text),f($,E.elm,I)):(E.elm=i.createTextNode(E.text),f($,E.elm,I))}}function d(E,T,$,I){var W=E.data;if(q(W)){var U=q(E.componentInstance)&&W.keepAlive;if(q(W=W.hook)&&q(W=W.init)&&W(E,!1),q(E.componentInstance))return c(E,T),f($,E.elm,I),xt(U)&&m(E,T,$,I),!0}}function c(E,T){q(E.data.pendingInsert)&&(T.push.apply(T,E.data.pendingInsert),E.data.pendingInsert=null),E.elm=E.componentInstance.$el,h(E)?(v(E,T),y(E)):(Ko(E),T.push(E))}function m(E,T,$,I){for(var W,U=E;U.componentInstance;)if(U=U.componentInstance._vnode,q(W=U.data)&&q(W=W.transition)){for(W=0;W<n.activate.length;++W)n.activate[W](Wa,U);T.push(U);break}f($,E.elm,I)}function f(E,T,$){q(E)&&(q($)?i.parentNode($)===E&&i.insertBefore(E,T,$):i.appendChild(E,T))}function p(E,T,$){if(Le(T))for(var I=0;I<T.length;++I)l(T[I],$,E.elm,null,!0,T,I);else Wu(E.text)&&i.appendChild(E.elm,i.createTextNode(String(E.text)))}function h(E){for(;E.componentInstance;)E=E.componentInstance._vnode;return q(E.tag)}function v(E,T){for(var $=0;$<n.create.length;++$)n.create[$](Wa,E);e=E.data.hook,q(e)&&(q(e.create)&&e.create(Wa,E),q(e.insert)&&T.push(E))}function y(E){var T;if(q(T=E.fnScopeId))i.setStyleScope(E.elm,T);else for(var $=E;$;)q(T=$.context)&&q(T=T.$options._scopeId)&&i.setStyleScope(E.elm,T),$=$.parent;q(T=Si)&&T!==E.context&&T!==E.fnContext&&q(T=T.$options._scopeId)&&i.setStyleScope(E.elm,T)}function b(E,T,$,I,W,U){for(;I<=W;++I)l($[I],U,E,T,!1,$,I)}function g(E){var T,$,I=E.data;if(q(I))for(q(T=I.hook)&&q(T=T.destroy)&&T(E),T=0;T<n.destroy.length;++T)n.destroy[T](E);if(q(T=E.children))for($=0;$<E.children.length;++$)g(E.children[$])}function _(E,T,$){for(;T<=$;++T){var I=E[T];q(I)&&(q(I.tag)?(w(I),g(I)):u(I.elm))}}function w(E,T){if(q(T)||q(E.data)){var $,I=n.remove.length+1;for(q(T)?T.listeners+=I:T=s(E.elm,I),q($=E.componentInstance)&&q($=$._vnode)&&q($.data)&&w($,T),$=0;$<n.remove.length;++$)n.remove[$](E,T);q($=E.data.hook)&&q($=$.remove)?$(E,T):T()}else u(E.elm)}function x(E,T,$,I,W){for(var U=0,M=0,P=T.length-1,A=T[0],j=T[P],B=$.length-1,G=$[0],X=$[B],Q,H,J,fe,xe=!W;U<=P&&M<=B;)Te(A)?A=T[++U]:Te(j)?j=T[--P]:Ci(A,G)?(D(A,G,I,$,M),A=T[++U],G=$[++M]):Ci(j,X)?(D(j,X,I,$,B),j=T[--P],X=$[--B]):Ci(A,X)?(D(A,X,I,$,B),xe&&i.insertBefore(E,A.elm,i.nextSibling(j.elm)),A=T[++U],X=$[--B]):Ci(j,G)?(D(j,G,I,$,M),xe&&i.insertBefore(E,j.elm,A.elm),j=T[--P],G=$[++M]):(Te(Q)&&(Q=bne(T,U,P)),H=q(G.key)?Q[G.key]:k(G,T,U,P),Te(H)?l(G,I,E,A.elm,!1,$,M):(J=T[H],Ci(J,G)?(D(J,G,I,$,M),T[H]=void 0,xe&&i.insertBefore(E,J.elm,A.elm)):l(G,I,E,A.elm,!1,$,M)),G=$[++M]);U>P?(fe=Te($[B+1])?null:$[B+1].elm,b(E,fe,$,M,B,I)):M>B&&_(T,U,P)}function k(E,T,$,I){for(var W=$;W<I;W++){var U=T[W];if(q(U)&&Ci(E,U))return W}}function D(E,T,$,I,W,U){if(E!==T){q(T.elm)&&q(I)&&(T=I[W]=t0(T));var M=T.elm=E.elm;if(xt(E.isAsyncPlaceholder)){q(T.asyncFactory.resolved)?C(E.elm,T,$):T.isAsyncPlaceholder=!0;return}if(xt(T.isStatic)&&xt(E.isStatic)&&T.key===E.key&&(xt(T.isCloned)||xt(T.isOnce))){T.componentInstance=E.componentInstance;return}var P,A=T.data;q(A)&&q(P=A.hook)&&q(P=P.prepatch)&&P(E,T);var j=E.children,B=T.children;if(q(A)&&h(T)){for(P=0;P<n.update.length;++P)n.update[P](E,T);q(P=A.hook)&&q(P=P.update)&&P(E,T)}Te(T.text)?q(j)&&q(B)?j!==B&&x(M,j,B,$,U):q(B)?(q(E.text)&&i.setTextContent(M,""),b(M,null,B,0,B.length-1,$)):q(j)?_(j,0,j.length-1):q(E.text)&&i.setTextContent(M,""):E.text!==T.text&&i.setTextContent(M,T.text),q(A)&&q(P=A.hook)&&q(P=P.postpatch)&&P(E,T)}}function S(E,T,$){if(xt($)&&q(E.parent))E.parent.data.pendingInsert=T;else for(var I=0;I<T.length;++I)T[I].data.hook.insert(T[I])}var O=Qr("attrs,class,staticClass,staticStyle,key");function C(E,T,$,I){var W,U=T.tag,M=T.data,P=T.children;if(I=I||M&&M.pre,T.elm=E,xt(T.isComment)&&q(T.asyncFactory))return T.isAsyncPlaceholder=!0,!0;if(q(M)&&(q(W=M.hook)&&q(W=W.init)&&W(T,!0),q(W=T.componentInstance)))return c(T,$),!0;if(q(U)){if(q(P))if(!E.hasChildNodes())p(T,P,$);else if(q(W=M)&&q(W=W.domProps)&&q(W=W.innerHTML)){if(W!==E.innerHTML)return!1}else{for(var A=!0,j=E.firstChild,B=0;B<P.length;B++){if(!j||!C(j,P[B],$,I)){A=!1;break}j=j.nextSibling}if(!A||j)return!1}if(q(M)){var G=!1;for(var X in M)if(!O(X)){G=!0,v(T,$);break}!G&&M.class&&Ic(M.class)}}else E.data!==T.text&&(E.data=T.text);return!0}return function(T,$,I,W){if(Te($)){q(T)&&g(T);return}var U=!1,M=[];if(Te(T))U=!0,l($,M);else{var P=q(T.nodeType);if(!P&&Ci(T,$))D(T,$,M,null,null,W);else{if(P){if(T.nodeType===1&&T.hasAttribute(NW)&&(T.removeAttribute(NW),I=!0),xt(I)&&C(T,$,M))return S($,M,!0),T;T=o(T)}var A=T.elm,j=i.parentNode(A);if(l($,M,A._leaveCb?null:j,i.nextSibling(A)),q($.parent))for(var B=$.parent,G=h($);B;){for(var X=0;X<n.destroy.length;++X)n.destroy[X](B);if(B.elm=$.elm,G){for(var Q=0;Q<n.create.length;++Q)n.create[Q](Wa,B);var H=B.data.hook.insert;if(H.merged)for(var J=1;J<H.fns.length;J++)H.fns[J]()}else Ko(B);B=B.parent}q(j)?_([T],0,0):q(T.tag)&&g(T)}}return S($,M,U),$.elm}}var xne={create:W0,update:W0,destroy:function(e){W0(e,Wa)}};function W0(t,e){(t.data.directives||e.data.directives)&&Pne(t,e)}function Pne(t,e){var r=t===Wa,n=e===Wa,a=NF(t.data.directives,t.context),i=NF(e.data.directives,e.context),o=[],s=[],u,l,d;for(u in i)l=a[u],d=i[u],l?(d.oldValue=l.value,d.oldArg=l.arg,Ju(d,"update",e,t),d.def&&d.def.componentUpdated&&s.push(d)):(Ju(d,"bind",e,t),d.def&&d.def.inserted&&o.push(d));if(o.length){var c=function(){for(var m=0;m<o.length;m++)Ju(o[m],"inserted",e,t)};r?Ia(e,"insert",c):c()}if(s.length&&Ia(e,"postpatch",function(){for(var m=0;m<s.length;m++)Ju(s[m],"componentUpdated",e,t)}),!r)for(u in a)i[u]||Ju(a[u],"unbind",t,t,n)}var kne=Object.create(null);function NF(t,e){var r=Object.create(null);if(!t)return r;var n,a;for(n=0;n<t.length;n++){if(a=t[n],a.modifiers||(a.modifiers=kne),r[Tne(a)]=a,e._setupState&&e._setupState.__sfc){var i=a.def||Fc(e,"_setupState","v-"+a.name);typeof i=="function"?a.def={bind:i,update:i}:a.def=i}a.def=a.def||Fc(e.$options,"directives",a.name)}return r}function Tne(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function Ju(t,e,r,n,a){var i=t.def&&t.def[e];if(i)try{i(r.elm,t,r,n,a)}catch(o){Mi(o,r.context,"directive ".concat(t.name," ").concat(e," hook"))}}var Ene=[yne,xne];function LF(t,e){var r=e.componentOptions;if(!(q(r)&&r.Ctor.options.inheritAttrs===!1)&&!(Te(t.data.attrs)&&Te(e.data.attrs))){var n,a,i,o=e.elm,s=t.data.attrs||{},u=e.data.attrs||{};(q(u.__ob__)||xt(u._v_attr_proxy))&&(u=e.data.attrs=ot({},u));for(n in u)a=u[n],i=s[n],i!==a&&WF(o,n,a,e.data.pre);(Uo||Zb)&&u.value!==s.value&&WF(o,"value",u.value);for(n in s)Te(u[n])&&(A0(n)?o.removeAttributeNS($0,$F(n)):DF(n)||o.removeAttribute(n))}}function WF(t,e,r,n){n||t.tagName.indexOf("-")>-1?FF(t,e,r):Kre(e)?Vc(r)?t.removeAttribute(e):(r=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,r)):DF(e)?t.setAttribute(e,Gre(e,r)):A0(e)?Vc(r)?t.removeAttributeNS($0,$F(e)):t.setAttributeNS($0,e,r):FF(t,e,r)}function FF(t,e,r){if(Vc(r))t.removeAttribute(e);else{if(Uo&&!zo&&t.tagName==="TEXTAREA"&&e==="placeholder"&&r!==""&&!t.__ieph){var n=function(a){a.stopImmediatePropagation(),t.removeEventListener("input",n)};t.addEventListener("input",n),t.__ieph=!0}t.setAttribute(e,r)}}var Mne={create:LF,update:LF};function jF(t,e){var r=e.elm,n=e.data,a=t.data;if(!(Te(n.staticClass)&&Te(n.class)&&(Te(a)||Te(a.staticClass)&&Te(a.class)))){var i=Xre(e),o=r._transitionClasses;q(o)&&(i=R0(i,I0(o))),i!==r._prevClass&&(r.setAttribute("class",i),r._prevClass=i)}}var Sne={create:jF,update:jF},F0="__r",j0="__c";function One(t){if(q(t[F0])){var e=Uo?"change":"input";t[e]=[].concat(t[F0],t[e]||[]),delete t[F0]}q(t[j0])&&(t.change=[].concat(t[j0],t.change||[]),delete t[j0])}var Qu;function Cne(t,e,r){var n=Qu;return function a(){var i=e.apply(null,arguments);i!==null&&VF(t,a,r,n)}}var Dne=c0&&!(FW&&Number(FW[1])<=53);function $ne(t,e,r,n){if(Dne){var a=vF,i=e;e=i._wrapper=function(o){if(o.target===o.currentTarget||o.timeStamp>=a||o.timeStamp<=0||o.target.ownerDocument!==document)return i.apply(this,arguments)}}Qu.addEventListener(t,e,jW?{capture:r,passive:n}:r)}function VF(t,e,r,n){(n||Qu).removeEventListener(t,e._wrapper||e,r)}function V0(t,e){if(!(Te(t.data.on)&&Te(e.data.on))){var r=e.data.on||{},n=t.data.on||{};Qu=e.elm||t.elm,One(r),XW(r,n,$ne,VF,Cne,e.context),Qu=void 0}}var Ane={create:V0,update:V0,destroy:function(t){return V0(t,Wa)}},zc;function UF(t,e){if(!(Te(t.data.domProps)&&Te(e.data.domProps))){var r,n,a=e.elm,i=t.data.domProps||{},o=e.data.domProps||{};(q(o.__ob__)||xt(o._v_attr_proxy))&&(o=e.data.domProps=ot({},o));for(r in i)r in o||(a[r]="");for(r in o){if(n=o[r],r==="textContent"||r==="innerHTML"){if(e.children&&(e.children.length=0),n===i[r])continue;a.childNodes.length===1&&a.removeChild(a.childNodes[0])}if(r==="value"&&a.tagName!=="PROGRESS"){a._value=n;var s=Te(n)?"":String(n);Rne(a,s)&&(a.value=s)}else if(r==="innerHTML"&&N0(a.tagName)&&Te(a.innerHTML)){zc=zc||document.createElement("div"),zc.innerHTML="<svg>".concat(n,"</svg>");for(var u=zc.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(n!==i[r])try{a[r]=n}catch{}}}}function Rne(t,e){return!t.composing&&(t.tagName==="OPTION"||Ine(t,e)||Nne(t,e))}function Ine(t,e){var r=!0;try{r=document.activeElement!==t}catch{}return r&&t.value!==e}function Nne(t,e){var r=t.value,n=t._vModifiers;if(q(n)){if(n.number)return Fu(r)!==Fu(e);if(n.trim)return r.trim()!==e.trim()}return r!==e}var Lne={create:UF,update:UF},Wne=xi(function(t){var e={},r=/;(?![^(]*\))/g,n=/:(.+)/;return t.split(r).forEach(function(a){if(a){var i=a.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function U0(t){var e=zF(t.style);return t.staticStyle?ot(t.staticStyle,e):e}function zF(t){return Array.isArray(t)?AW(t):typeof t=="string"?Wne(t):t}function Fne(t,e){var r={},n;if(e)for(var a=t;a.componentInstance;)a=a.componentInstance._vnode,a&&a.data&&(n=U0(a.data))&&ot(r,n);(n=U0(t.data))&&ot(r,n);for(var i=t;i=i.parent;)i.data&&(n=U0(i.data))&&ot(r,n);return r}var jne=/^--/,BF=/\s*!important$/,HF=function(t,e,r){if(jne.test(e))t.style.setProperty(e,r);else if(BF.test(r))t.style.setProperty(ju(e),r.replace(BF,""),"important");else{var n=Vne(e);if(Array.isArray(r))for(var a=0,i=r.length;a<i;a++)t.style[n]=r[a];else t.style[n]=r}},qF=["Webkit","Moz","ms"],Bc,Vne=xi(function(t){if(Bc=Bc||document.createElement("div").style,t=Pi(t),t!=="filter"&&t in Bc)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<qF.length;r++){var n=qF[r]+e;if(n in Bc)return n}});function YF(t,e){var r=e.data,n=t.data;if(!(Te(r.staticStyle)&&Te(r.style)&&Te(n.staticStyle)&&Te(n.style))){var a,i,o=e.elm,s=n.staticStyle,u=n.normalizedStyle||n.style||{},l=s||u,d=zF(e.data.style)||{};e.data.normalizedStyle=q(d.__ob__)?ot({},d):d;var c=Fne(e,!0);for(i in l)Te(c[i])&&HF(o,i,"");for(i in c)a=c[i],a!==l[i]&&HF(o,i,a==null?"":a)}}var Une={create:YF,update:YF},GF=/\s+/;function KF(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(GF).forEach(function(n){return t.classList.add(n)}):t.classList.add(e);else{var r=" ".concat(t.getAttribute("class")||""," ");r.indexOf(" "+e+" ")<0&&t.setAttribute("class",(r+e).trim())}}function XF(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(GF).forEach(function(a){return t.classList.remove(a)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var r=" ".concat(t.getAttribute("class")||""," "),n=" "+e+" ";r.indexOf(n)>=0;)r=r.replace(n," ");r=r.trim(),r?t.setAttribute("class",r):t.removeAttribute("class")}}function JF(t){if(!!t){if(typeof t=="object"){var e={};return t.css!==!1&&ot(e,QF(t.name||"v")),ot(e,t),e}else if(typeof t=="string")return QF(t)}}var QF=xi(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),ZF=xr&&!zo,Xo="transition",z0="animation",Hc="transition",qc="transitionend",B0="animation",ej="animationend";ZF&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Hc="WebkitTransition",qc="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(B0="WebkitAnimation",ej="webkitAnimationEnd"));var tj=xr?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function rj(t){tj(function(){tj(t)})}function Di(t,e){var r=t._transitionClasses||(t._transitionClasses=[]);r.indexOf(e)<0&&(r.push(e),KF(t,e))}function ra(t,e){t._transitionClasses&&Ca(t._transitionClasses,e),XF(t,e)}function nj(t,e,r){var n=aj(t,e),a=n.type,i=n.timeout,o=n.propCount;if(!a)return r();var s=a===Xo?qc:ej,u=0,l=function(){t.removeEventListener(s,d),r()},d=function(c){c.target===t&&++u>=o&&l()};setTimeout(function(){u<o&&l()},i+1),t.addEventListener(s,d)}var zne=/\b(transform|all)(,|$)/;function aj(t,e){var r=window.getComputedStyle(t),n=(r[Hc+"Delay"]||"").split(", "),a=(r[Hc+"Duration"]||"").split(", "),i=ij(n,a),o=(r[B0+"Delay"]||"").split(", "),s=(r[B0+"Duration"]||"").split(", "),u=ij(o,s),l,d=0,c=0;e===Xo?i>0&&(l=Xo,d=i,c=a.length):e===z0?u>0&&(l=z0,d=u,c=s.length):(d=Math.max(i,u),l=d>0?i>u?Xo:z0:null,c=l?l===Xo?a.length:s.length:0);var m=l===Xo&&zne.test(r[Hc+"Property"]);return{type:l,timeout:d,propCount:c,hasTransform:m}}function ij(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(r,n){return oj(r)+oj(t[n])}))}function oj(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function H0(t,e){var r=t.elm;q(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var n=JF(t.data.transition);if(!Te(n)&&!(q(r._enterCb)||r.nodeType!==1)){for(var a=n.css,i=n.type,o=n.enterClass,s=n.enterToClass,u=n.enterActiveClass,l=n.appearClass,d=n.appearToClass,c=n.appearActiveClass,m=n.beforeEnter,f=n.enter,p=n.afterEnter,h=n.enterCancelled,v=n.beforeAppear,y=n.appear,b=n.afterAppear,g=n.appearCancelled,_=n.duration,w=Si,x=Si.$vnode;x&&x.parent;)w=x.context,x=x.parent;var k=!w._isMounted||!t.isRootInsert;if(!(k&&!y&&y!=="")){var D=k&&l?l:o,S=k&&c?c:u,O=k&&d?d:s,C=k&&v||m,E=k&&Et(y)?y:f,T=k&&b||p,$=k&&g||h,I=Fu(Xt(_)?_.enter:_),W=a!==!1&&!zo,U=q0(E),M=r._enterCb=kc(function(){W&&(ra(r,O),ra(r,S)),M.cancelled?(W&&ra(r,D),$&&$(r)):T&&T(r),r._enterCb=null});t.data.show||Ia(t,"insert",function(){var P=r.parentNode,A=P&&P._pending&&P._pending[t.key];A&&A.tag===t.tag&&A.elm._leaveCb&&A.elm._leaveCb(),E&&E(r,M)}),C&&C(r),W&&(Di(r,D),Di(r,S),rj(function(){ra(r,D),M.cancelled||(Di(r,O),U||(uj(I)?setTimeout(M,I):nj(r,i,M)))})),t.data.show&&(e&&e(),E&&E(r,M)),!W&&!U&&M()}}}function sj(t,e){var r=t.elm;q(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var n=JF(t.data.transition);if(Te(n)||r.nodeType!==1)return e();if(q(r._leaveCb))return;var a=n.css,i=n.type,o=n.leaveClass,s=n.leaveToClass,u=n.leaveActiveClass,l=n.beforeLeave,d=n.leave,c=n.afterLeave,m=n.leaveCancelled,f=n.delayLeave,p=n.duration,h=a!==!1&&!zo,v=q0(d),y=Fu(Xt(p)?p.leave:p),b=r._leaveCb=kc(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),h&&(ra(r,s),ra(r,u)),b.cancelled?(h&&ra(r,o),m&&m(r)):(e(),c&&c(r)),r._leaveCb=null});f?f(g):g();function g(){b.cancelled||(!t.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),l&&l(r),h&&(Di(r,o),Di(r,u),rj(function(){ra(r,o),b.cancelled||(Di(r,s),v||(uj(y)?setTimeout(b,y):nj(r,i,b)))})),d&&d(r,b),!h&&!v&&b())}}function uj(t){return typeof t=="number"&&!isNaN(t)}function q0(t){if(Te(t))return!1;var e=t.fns;return q(e)?q0(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function lj(t,e){e.data.show!==!0&&H0(e)}var Bne=xr?{create:lj,activate:lj,remove:function(t,e){t.data.show!==!0?sj(t,e):e()}}:{},Hne=[Mne,Sne,Ane,Lne,Une,Bne],qne=Hne.concat(Ene),Yne=wne({nodeOps:gne,modules:qne});zo&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Y0(t,"input")});var dj={inserted:function(t,e,r,n){r.tag==="select"?(n.elm&&!n.elm._vOptions?Ia(r,"postpatch",function(){dj.componentUpdated(t,e,r)}):cj(t,e,r.context),t._vOptions=[].map.call(t.options,Yc)):(r.tag==="textarea"||L0(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Gne),t.addEventListener("compositionend",pj),t.addEventListener("change",pj),zo&&(t.vmodel=!0)))},componentUpdated:function(t,e,r){if(r.tag==="select"){cj(t,e,r.context);var n=t._vOptions,a=t._vOptions=[].map.call(t.options,Yc);if(a.some(function(o,s){return!ki(o,n[s])})){var i=t.multiple?e.value.some(function(o){return mj(o,a)}):e.value!==e.oldValue&&mj(e.value,a);i&&Y0(t,"change")}}}};function cj(t,e,r){fj(t,e),(Uo||Zb)&&setTimeout(function(){fj(t,e)},0)}function fj(t,e,r){var n=e.value,a=t.multiple;if(!(a&&!Array.isArray(n))){for(var i,o,s=0,u=t.options.length;s<u;s++)if(o=t.options[s],a)i=IW(n,Yc(o))>-1,o.selected!==i&&(o.selected=i);else if(ki(Yc(o),n)){t.selectedIndex!==s&&(t.selectedIndex=s);return}a||(t.selectedIndex=-1)}}function mj(t,e){return e.every(function(r){return!ki(r,t)})}function Yc(t){return"_value"in t?t._value:t.value}function Gne(t){t.target.composing=!0}function pj(t){!t.target.composing||(t.target.composing=!1,Y0(t.target,"input"))}function Y0(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}function G0(t){return t.componentInstance&&(!t.data||!t.data.transition)?G0(t.componentInstance._vnode):t}var Kne={bind:function(t,e,r){var n=e.value;r=G0(r);var a=r.data&&r.data.transition,i=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;n&&a?(r.data.show=!0,H0(r,function(){t.style.display=i})):t.style.display=n?i:"none"},update:function(t,e,r){var n=e.value,a=e.oldValue;if(!n!=!a){r=G0(r);var i=r.data&&r.data.transition;i?(r.data.show=!0,n?H0(r,function(){t.style.display=t.__vOriginalDisplay}):sj(r,function(){t.style.display="none"})):t.style.display=n?t.__vOriginalDisplay:"none"}},unbind:function(t,e,r,n,a){a||(t.style.display=t.__vOriginalDisplay)}},Xne={model:dj,show:Kne},hj={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function K0(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?K0(iF(e.children)):t}function vj(t){var e={},r=t.$options;for(var n in r.propsData)e[n]=t[n];var a=r._parentListeners;for(var n in a)e[Pi(n)]=a[n];return e}function gj(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Jne(t){for(;t=t.parent;)if(t.data.transition)return!0}function Qne(t,e){return e.key===t.key&&e.tag===t.tag}var Zne=function(t){return t.tag||qu(t)},eae=function(t){return t.name==="show"},tae={name:"transition",props:hj,abstract:!0,render:function(t){var e=this,r=this.$slots.default;if(!!r&&(r=r.filter(Zne),!!r.length)){var n=this.mode,a=r[0];if(Jne(this.$vnode))return a;var i=K0(a);if(!i)return a;if(this._leaving)return gj(t,a);var o="__transition-".concat(this._uid,"-");i.key=i.key==null?i.isComment?o+"comment":o+i.tag:Wu(i.key)?String(i.key).indexOf(o)===0?i.key:o+i.key:i.key;var s=(i.data||(i.data={})).transition=vj(this),u=this._vnode,l=K0(u);if(i.data.directives&&i.data.directives.some(eae)&&(i.data.show=!0),l&&l.data&&!Qne(i,l)&&!qu(l)&&!(l.componentInstance&&l.componentInstance._vnode.isComment)){var d=l.data.transition=ot({},s);if(n==="out-in")return this._leaving=!0,Ia(d,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),gj(t,a);if(n==="in-out"){if(qu(i))return u;var c,m=function(){c()};Ia(s,"afterEnter",m),Ia(s,"enterCancelled",m),Ia(d,"delayLeave",function(f){c=f})}}return a}}},yj=ot({tag:String,moveClass:String},hj);delete yj.mode;var rae={props:yj,beforeMount:function(){var t=this,e=this._update;this._update=function(r,n){var a=mF(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,a(),e.call(t,r,n)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,a=this.$slots.default||[],i=this.children=[],o=vj(this),s=0;s<a.length;s++){var u=a[s];u.tag&&u.key!=null&&String(u.key).indexOf("__vlist")!==0&&(i.push(u),r[u.key]=u,(u.data||(u.data={})).transition=o)}if(n){for(var l=[],d=[],s=0;s<n.length;s++){var u=n[s];u.data.transition=o,u.data.pos=u.elm.getBoundingClientRect(),r[u.key]?l.push(u):d.push(u)}this.kept=t(e,null,l),this.removed=d}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";!t.length||!this.hasMove(t[0].elm,e)||(t.forEach(nae),t.forEach(aae),t.forEach(iae),this._reflow=document.body.offsetHeight,t.forEach(function(r){if(r.data.moved){var n=r.elm,a=n.style;Di(n,e),a.transform=a.WebkitTransform=a.transitionDuration="",n.addEventListener(qc,n._moveCb=function i(o){o&&o.target!==n||(!o||/transform$/.test(o.propertyName))&&(n.removeEventListener(qc,i),n._moveCb=null,ra(n,e))})}}))},methods:{hasMove:function(t,e){if(!ZF)return!1;if(this._hasMove)return this._hasMove;var r=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(a){XF(r,a)}),KF(r,e),r.style.display="none",this.$el.appendChild(r);var n=aj(r);return this.$el.removeChild(r),this._hasMove=n.hasTransform}}};function nae(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function aae(t){t.data.newPos=t.elm.getBoundingClientRect()}function iae(t){var e=t.data.pos,r=t.data.newPos,n=e.left-r.left,a=e.top-r.top;if(n||a){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate(".concat(n,"px,").concat(a,"px)"),i.transitionDuration="0s"}}var oae={Transition:tae,TransitionGroup:rae};ie.config.mustUseProp=qre,ie.config.isReservedTag=RF,ie.config.isReservedAttr=Bre,ie.config.getTagNamespace=rne,ie.config.isUnknownElement=nne,ot(ie.options.directives,Xne),ot(ie.options.components,oae),ie.prototype.__patch__=xr?Yne:Vt,ie.prototype.$mount=function(t,e){return t=t&&xr?ane(t):void 0,Jte(this,t,e)},xr&&setTimeout(function(){Vr.devtools&&Mc&&Mc.emit("init",ie)},0);var _j={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(window,function(){return a={},r.m=n=[function(i,o,s){var u=s(7);typeof u=="string"&&(u=[[i.i,u,""]]),u.locals&&(i.exports=u.locals),(0,s(4).default)("27d83796",u,!1,{})},function(i,o,s){var u=s(10);typeof u=="string"&&(u=[[i.i,u,""]]),u.locals&&(i.exports=u.locals),(0,s(4).default)("0e783494",u,!1,{})},function(i,o,s){var u=s(12);typeof u=="string"&&(u=[[i.i,u,""]]),u.locals&&(i.exports=u.locals),(0,s(4).default)("17757f60",u,!1,{})},function(i,o){i.exports=function(s){var u=[];return u.toString=function(){return this.map(function(l){var d=function(c,m){var f=c[1]||"",p=c[3];if(!p)return f;if(m&&typeof btoa=="function"){var h=function(y){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(y))))+" */"}(p),v=p.sources.map(function(y){return"/*# sourceURL="+p.sourceRoot+y+" */"});return[f].concat(v).concat([h]).join(`
6
6
  `)}return[f].join(`
7
7
  `)}(l,s);return l[2]?"@media "+l[2]+"{"+d+"}":d}).join("")},u.i=function(l,d){typeof l=="string"&&(l=[[null,l,""]]);for(var c={},m=0;m<this.length;m++){var f=this[m][0];typeof f=="number"&&(c[f]=!0)}for(m=0;m<l.length;m++){var p=l[m];typeof p[0]=="number"&&c[p[0]]||(d&&!p[2]?p[2]=d:d&&(p[2]="("+p[2]+") and ("+d+")"),u.push(p))}},u}},function(i,o,s){function u(O,C){for(var E=[],T={},$=0;$<C.length;$++){var I=C[$],W=I[0],U={id:O+":"+$,css:I[1],media:I[2],sourceMap:I[3]};T[W]?T[W].parts.push(U):E.push(T[W]={id:W,parts:[U]})}return E}s.r(o),s.d(o,"default",function(){return g});var l=typeof document<"u";if(typeof DEBUG<"u"&&DEBUG&&!l)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 d={},c=l&&(document.head||document.getElementsByTagName("head")[0]),m=null,f=0,p=!1,h=function(){},v=null,y="data-vue-ssr-id",b=typeof navigator<"u"&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(O,C,E,T){p=E,v=T||{};var $=u(O,C);return _($),function(I){for(var W=[],U=0;U<$.length;U++){var M=$[U];(P=d[M.id]).refs--,W.push(P)}for(I?_($=u(O,I)):$=[],U=0;U<W.length;U++){var P;if((P=W[U]).refs===0){for(var A=0;A<P.parts.length;A++)P.parts[A]();delete d[P.id]}}}}function _(O){for(var C=0;C<O.length;C++){var E=O[C],T=d[E.id];if(T){T.refs++;for(var $=0;$<T.parts.length;$++)T.parts[$](E.parts[$]);for(;$<E.parts.length;$++)T.parts.push(x(E.parts[$]));T.parts.length>E.parts.length&&(T.parts.length=E.parts.length)}else{var I=[];for($=0;$<E.parts.length;$++)I.push(x(E.parts[$]));d[E.id]={id:E.id,refs:1,parts:I}}}}function w(){var O=document.createElement("style");return O.type="text/css",c.appendChild(O),O}function x(O){var C,E,T=document.querySelector("style["+y+'~="'+O.id+'"]');if(T){if(p)return h;T.parentNode.removeChild(T)}if(b){var $=f++;T=m=m||w(),C=S.bind(null,T,$,!1),E=S.bind(null,T,$,!0)}else T=w(),C=function(I,W){var U=W.css,M=W.media,P=W.sourceMap;if(M&&I.setAttribute("media",M),v.ssrId&&I.setAttribute(y,W.id),P&&(U+=`
8
8
  /*# sourceURL=`+P.sources[0]+" */",U+=`
@@ -219,7 +219,7 @@
219
219
  * vue-router v3.0.1
220
220
  * (c) 2017 Evan You
221
221
  * @license MIT
222
- */function Aw(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}var Qde={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,r){var n=r.props,a=r.children,i=r.parent,o=r.data;o.routerView=!0;for(var s=i.$createElement,u=n.name,l=i.$route,d=i._routerViewCache||(i._routerViewCache={}),c=0,m=!1;i&&i._routerRoot!==i;)i.$vnode&&i.$vnode.data.routerView&&c++,i._inactive&&(m=!0),i=i.$parent;if(o.routerViewDepth=c,m)return s(d[u],o,a);var f=l.matched[c];if(!f)return d[u]=null,s();var p=d[u]=f.components[u];o.registerRouteInstance=function(b,g){var _=f.instances[u];(g&&_!==b||!g&&_===b)&&(f.instances[u]=g)},(o.hook||(o.hook={})).prepatch=function(b,g){f.instances[u]=g.componentInstance};var h=o.props=Zde(l,f.props&&f.props[u]);if(h){h=o.props=ece({},h);var v=o.attrs=o.attrs||{};for(var y in h)(!p.props||!(y in p.props))&&(v[y]=h[y],delete h[y])}return s(p,o,a)}};function Zde(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}function ece(t,e){for(var r in e)t[r]=e[r];return t}var tce=/[!'()*]/g,rce=function(t){return"%"+t.charCodeAt(0).toString(16)},nce=/%2C/g,cs=function(t){return encodeURIComponent(t).replace(tce,rce).replace(nce,",")},o3=decodeURIComponent;function ace(t,e,r){e===void 0&&(e={});var n=r||ice,a;try{a=n(t||"")}catch{a={}}for(var i in e)a[i]=e[i];return a}function ice(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t&&t.split("&").forEach(function(r){var n=r.replace(/\+/g," ").split("="),a=o3(n.shift()),i=n.length>0?o3(n.join("=")):null;e[a]===void 0?e[a]=i:Array.isArray(e[a])?e[a].push(i):e[a]=[e[a],i]}),e}function oce(t){var e=t?Object.keys(t).map(function(r){var n=t[r];if(n===void 0)return"";if(n===null)return cs(r);if(Array.isArray(n)){var a=[];return n.forEach(function(i){i!==void 0&&(i===null?a.push(cs(r)):a.push(cs(r)+"="+cs(i)))}),a.join("&")}return cs(r)+"="+cs(n)}).filter(function(r){return r.length>0}).join("&"):null;return e?"?"+e:""}var yf=/\/?$/;function _f(t,e,r,n){var a=n&&n.options.stringifyQuery,i=e.query||{};try{i=Rw(i)}catch{}var o={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:s3(e,a),matched:t?sce(t):[]};return r&&(o.redirectedFrom=s3(r,a)),Object.freeze(o)}function Rw(t){if(Array.isArray(t))return t.map(Rw);if(t&&typeof t=="object"){var e={};for(var r in t)e[r]=Rw(t[r]);return e}else return t}var bf=_f(null,{path:"/"});function sce(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function s3(t,e){var r=t.path,n=t.query;n===void 0&&(n={});var a=t.hash;a===void 0&&(a="");var i=e||oce;return(r||"/")+i(n)+a}function u3(t,e){return e===bf?t===e:e?t.path&&e.path?t.path.replace(yf,"")===e.path.replace(yf,"")&&t.hash===e.hash&&wf(t.query,e.query):t.name&&e.name?t.name===e.name&&t.hash===e.hash&&wf(t.query,e.query)&&wf(t.params,e.params):!1:!1}function wf(t,e){if(t===void 0&&(t={}),e===void 0&&(e={}),!t||!e)return t===e;var r=Object.keys(t),n=Object.keys(e);return r.length!==n.length?!1:r.every(function(a){var i=t[a],o=e[a];return typeof i=="object"&&typeof o=="object"?wf(i,o):String(i)===String(o)})}function uce(t,e){return t.path.replace(yf,"/").indexOf(e.path.replace(yf,"/"))===0&&(!e.hash||t.hash===e.hash)&&lce(t.query,e.query)}function lce(t,e){for(var r in e)if(!(r in t))return!1;return!0}var dce=[String,Object],cce=[String,Array],fce={name:"router-link",props:{to:{type:dce,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:cce,default:"click"}},render:function(e){var r=this,n=this.$router,a=this.$route,i=n.resolve(this.to,a,this.append),o=i.location,s=i.route,u=i.href,l={},d=n.options.linkActiveClass,c=n.options.linkExactActiveClass,m=d==null?"router-link-active":d,f=c==null?"router-link-exact-active":c,p=this.activeClass==null?m:this.activeClass,h=this.exactActiveClass==null?f:this.exactActiveClass,v=o.path?_f(null,o,null,n):s;l[h]=u3(a,v),l[p]=this.exact?l[h]:uce(a,v);var y=function(D){l3(D)&&(r.replace?n.replace(o):n.push(o))},b={click:l3};Array.isArray(this.event)?this.event.forEach(function(D){b[D]=y}):b[this.event]=y;var g={class:l};if(this.tag==="a")g.on=b,g.attrs={href:u};else{var _=d3(this.$slots.default);if(_){_.isStatic=!1;var w=cl.util.extend,x=_.data=w({},_.data);x.on=b;var k=_.data.attrs=w({},_.data.attrs);k.href=u}else g.on=b}return e(this.tag,g,this.$slots.default)}};function l3(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function d3(t){if(t){for(var e,r=0;r<t.length;r++)if(e=t[r],e.tag==="a"||e.children&&(e=d3(e.children)))return e}}var cl;function Iw(t){if(!(Iw.installed&&cl===t)){Iw.installed=!0,cl=t;var e=function(a){return a!==void 0},r=function(a,i){var o=a.$options._parentVnode;e(o)&&e(o=o.data)&&e(o=o.registerRouteInstance)&&o(a,i)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("router-view",Qde),t.component("router-link",fce);var n=t.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}}var fl=typeof window<"u";function c3(t,e,r){var n=t.charAt(0);if(n==="/")return t;if(n==="?"||n==="#")return e+t;var a=e.split("/");(!r||!a[a.length-1])&&a.pop();for(var i=t.replace(/^\//,"").split("/"),o=0;o<i.length;o++){var s=i[o];s===".."?a.pop():s!=="."&&a.push(s)}return a[0]!==""&&a.unshift(""),a.join("/")}function mce(t){var e="",r="",n=t.indexOf("#");n>=0&&(e=t.slice(n),t=t.slice(0,n));var a=t.indexOf("?");return a>=0&&(r=t.slice(a+1),t=t.slice(0,a)),{path:t,query:r,hash:e}}function Wi(t){return t.replace(/\/\//g,"/")}var xf=Array.isArray||function(t){return Object.prototype.toString.call(t)=="[object Array]"},fs=h3,pce=Nw,hce=_ce,vce=f3,gce=p3,yce=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function Nw(t,e){for(var r=[],n=0,a=0,i="",o=e&&e.delimiter||"/",s;(s=yce.exec(t))!=null;){var u=s[0],l=s[1],d=s.index;if(i+=t.slice(a,d),a=d+u.length,l){i+=l[1];continue}var c=t[a],m=s[2],f=s[3],p=s[4],h=s[5],v=s[6],y=s[7];i&&(r.push(i),i="");var b=m!=null&&c!=null&&c!==m,g=v==="+"||v==="*",_=v==="?"||v==="*",w=s[2]||o,x=p||h;r.push({name:f||n++,prefix:m||"",delimiter:w,optional:_,repeat:g,partial:b,asterisk:!!y,pattern:x?xce(x):y?".*":"[^"+Pf(w)+"]+?"})}return a<t.length&&(i+=t.substr(a)),i&&r.push(i),r}function _ce(t,e){return f3(Nw(t,e))}function bce(t){return encodeURI(t).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function wce(t){return encodeURI(t).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function f3(t){for(var e=new Array(t.length),r=0;r<t.length;r++)typeof t[r]=="object"&&(e[r]=new RegExp("^(?:"+t[r].pattern+")$"));return function(n,a){for(var i="",o=n||{},s=a||{},u=s.pretty?bce:encodeURIComponent,l=0;l<t.length;l++){var d=t[l];if(typeof d=="string"){i+=d;continue}var c=o[d.name],m;if(c==null)if(d.optional){d.partial&&(i+=d.prefix);continue}else throw new TypeError('Expected "'+d.name+'" to be defined');if(xf(c)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(c)+"`");if(c.length===0){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var f=0;f<c.length;f++){if(m=u(c[f]),!e[l].test(m))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(m)+"`");i+=(f===0?d.prefix:d.delimiter)+m}continue}if(m=d.asterisk?wce(c):u(c),!e[l].test(m))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+m+'"');i+=d.prefix+m}return i}}function Pf(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function xce(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function Lw(t,e){return t.keys=e,t}function m3(t){return t.sensitive?"":"i"}function Pce(t,e){var r=t.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)e.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return Lw(t,e)}function kce(t,e,r){for(var n=[],a=0;a<t.length;a++)n.push(h3(t[a],e,r).source);var i=new RegExp("(?:"+n.join("|")+")",m3(r));return Lw(i,e)}function Tce(t,e,r){return p3(Nw(t,r),e,r)}function p3(t,e,r){xf(e)||(r=e||r,e=[]),r=r||{};for(var n=r.strict,a=r.end!==!1,i="",o=0;o<t.length;o++){var s=t[o];if(typeof s=="string")i+=Pf(s);else{var u=Pf(s.prefix),l="(?:"+s.pattern+")";e.push(s),s.repeat&&(l+="(?:"+u+l+")*"),s.optional?s.partial?l=u+"("+l+")?":l="(?:"+u+"("+l+"))?":l=u+"("+l+")",i+=l}}var d=Pf(r.delimiter||"/"),c=i.slice(-d.length)===d;return n||(i=(c?i.slice(0,-d.length):i)+"(?:"+d+"(?=$))?"),a?i+="$":i+=n&&c?"":"(?="+d+"|$)",Lw(new RegExp("^"+i,m3(r)),e)}function h3(t,e,r){return xf(e)||(r=e||r,e=[]),r=r||{},t instanceof RegExp?Pce(t,e):xf(t)?kce(t,e,r):Tce(t,e,r)}fs.parse=pce,fs.compile=hce,fs.tokensToFunction=vce,fs.tokensToRegExp=gce;var v3=Object.create(null);function kf(t,e,r){try{var n=v3[t]||(v3[t]=fs.compile(t));return n(e||{},{pretty:!0})}catch{return""}}function g3(t,e,r,n){var a=e||[],i=r||Object.create(null),o=n||Object.create(null);t.forEach(function(l){Ww(a,i,o,l)});for(var s=0,u=a.length;s<u;s++)a[s]==="*"&&(a.push(a.splice(s,1)[0]),u--,s--);return{pathList:a,pathMap:i,nameMap:o}}function Ww(t,e,r,n,a,i){var o=n.path,s=n.name,u=n.pathToRegexpOptions||{},l=Mce(o,a,u.strict);typeof n.caseSensitive=="boolean"&&(u.sensitive=n.caseSensitive);var d={path:l,regex:Ece(l,u),components:n.components||{default:n.component},instances:{},name:s,parent:a,matchAs:i,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:n.props==null?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach(function(m){var f=i?Wi(i+"/"+m.path):void 0;Ww(t,e,r,m,d,f)}),n.alias!==void 0){var c=Array.isArray(n.alias)?n.alias:[n.alias];c.forEach(function(m){var f={path:m,children:n.children};Ww(t,e,r,f,a,d.path||"/")})}e[d.path]||(t.push(d.path),e[d.path]=d),s&&(r[s]||(r[s]=d))}function Ece(t,e){var r=fs(t,[],e);return r}function Mce(t,e,r){return r||(t=t.replace(/\/$/,"")),t[0]==="/"||e==null?t:Wi(e.path+"/"+t)}function y3(t,e,r,n){var a=typeof t=="string"?{path:t}:t;if(a.name||a._normalized)return a;if(!a.path&&a.params&&e){a=Fw({},a),a._normalized=!0;var i=Fw(Fw({},e.params),a.params);if(e.name)a.name=e.name,a.params=i;else if(e.matched.length){var o=e.matched[e.matched.length-1].path;a.path=kf(o,i,"path "+e.path)}return a}var s=mce(a.path||""),u=e&&e.path||"/",l=s.path?c3(s.path,u,r||a.append):u,d=ace(s.query,a.query,n&&n.options.parseQuery),c=a.hash||s.hash;return c&&c.charAt(0)!=="#"&&(c="#"+c),{_normalized:!0,path:l,query:d,hash:c}}function Fw(t,e){for(var r in e)t[r]=e[r];return t}function Sce(t,e){var r=g3(t),n=r.pathList,a=r.pathMap,i=r.nameMap;function o(c){g3(c,n,a,i)}function s(c,m,f){var p=y3(c,m,!1,e),h=p.name;if(h){var v=i[h];if(!v)return d(null,p);var y=v.regex.keys.filter(function(x){return!x.optional}).map(function(x){return x.name});if(typeof p.params!="object"&&(p.params={}),m&&typeof m.params=="object")for(var b in m.params)!(b in p.params)&&y.indexOf(b)>-1&&(p.params[b]=m.params[b]);if(v)return p.path=kf(v.path,p.params),d(v,p,f)}else if(p.path){p.params={};for(var g=0;g<n.length;g++){var _=n[g],w=a[_];if(Oce(w.regex,p.path,p.params))return d(w,p,f)}}return d(null,p)}function u(c,m){var f=c.redirect,p=typeof f=="function"?f(_f(c,m,null,e)):f;if(typeof p=="string"&&(p={path:p}),!p||typeof p!="object")return d(null,m);var h=p,v=h.name,y=h.path,b=m.query,g=m.hash,_=m.params;if(b=h.hasOwnProperty("query")?h.query:b,g=h.hasOwnProperty("hash")?h.hash:g,_=h.hasOwnProperty("params")?h.params:_,v)return i[v],s({_normalized:!0,name:v,query:b,hash:g,params:_},void 0,m);if(y){var w=Cce(y,c),x=kf(w,_);return s({_normalized:!0,path:x,query:b,hash:g},void 0,m)}else return d(null,m)}function l(c,m,f){var p=kf(f,m.params),h=s({_normalized:!0,path:p});if(h){var v=h.matched,y=v[v.length-1];return m.params=h.params,d(y,m)}return d(null,m)}function d(c,m,f){return c&&c.redirect?u(c,f||m):c&&c.matchAs?l(c,m,c.matchAs):_f(c,m,f,e)}return{match:s,addRoutes:o}}function Oce(t,e,r){var n=e.match(t);if(n){if(!r)return!0}else return!1;for(var a=1,i=n.length;a<i;++a){var o=t.keys[a-1],s=typeof n[a]=="string"?decodeURIComponent(n[a]):n[a];o&&(r[o.name]=s)}return!0}function Cce(t,e){return c3(t,e.parent?e.parent.path:"/",!0)}var _3=Object.create(null);function b3(){window.history.replaceState({key:jw()},""),window.addEventListener("popstate",function(t){w3(),t.state&&t.state.key&&Ice(t.state.key)})}function ms(t,e,r,n){if(!!t.app){var a=t.options.scrollBehavior;!a||t.app.$nextTick(function(){var i=Dce(),o=a(e,r,n?i:null);!o||(typeof o.then=="function"?o.then(function(s){k3(s,i)}).catch(function(s){}):k3(o,i))})}}function w3(){var t=jw();t&&(_3[t]={x:window.pageXOffset,y:window.pageYOffset})}function Dce(){var t=jw();if(t)return _3[t]}function $ce(t,e){var r=document.documentElement,n=r.getBoundingClientRect(),a=t.getBoundingClientRect();return{x:a.left-n.left-e.x,y:a.top-n.top-e.y}}function x3(t){return ps(t.x)||ps(t.y)}function P3(t){return{x:ps(t.x)?t.x:window.pageXOffset,y:ps(t.y)?t.y:window.pageYOffset}}function Ace(t){return{x:ps(t.x)?t.x:0,y:ps(t.y)?t.y:0}}function ps(t){return typeof t=="number"}function k3(t,e){var r=typeof t=="object";if(r&&typeof t.selector=="string"){var n=document.querySelector(t.selector);if(n){var a=t.offset&&typeof t.offset=="object"?t.offset:{};a=Ace(a),e=$ce(n,a)}else x3(t)&&(e=P3(t))}else r&&x3(t)&&(e=P3(t));e&&window.scrollTo(e.x,e.y)}var hs=fl&&function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")!==-1||t.indexOf("Android 4.0")!==-1)&&t.indexOf("Mobile Safari")!==-1&&t.indexOf("Chrome")===-1&&t.indexOf("Windows Phone")===-1?!1:window.history&&"pushState"in window.history}(),Rce=fl&&window.performance&&window.performance.now?window.performance:Date,ml=T3();function T3(){return Rce.now().toFixed(3)}function jw(){return ml}function Ice(t){ml=t}function Tf(t,e){w3();var r=window.history;try{e?r.replaceState({key:ml},"",t):(ml=T3(),r.pushState({key:ml},"",t))}catch{window.location[e?"replace":"assign"](t)}}function Vw(t){Tf(t,!0)}function E3(t,e,r){var n=function(a){a>=t.length?r():t[a]?e(t[a],function(){n(a+1)}):n(a+1)};n(0)}function Nce(t){return function(e,r,n){var a=!1,i=0,o=null;M3(t,function(s,u,l,d){if(typeof s=="function"&&s.cid===void 0){a=!0,i++;var c=O3(function(h){Wce(h)&&(h=h.default),s.resolved=typeof h=="function"?h:cl.extend(h),l.components[d]=h,i--,i<=0&&n()}),m=O3(function(h){var v="Failed to resolve async component "+d+": "+h;o||(o=Aw(h)?h:new Error(v),n(o))}),f;try{f=s(c,m)}catch(h){m(h)}if(f)if(typeof f.then=="function")f.then(c,m);else{var p=f.component;p&&typeof p.then=="function"&&p.then(c,m)}}}),a||n()}}function M3(t,e){return S3(t.map(function(r){return Object.keys(r.components).map(function(n){return e(r.components[n],r.instances[n],r,n)})}))}function S3(t){return Array.prototype.concat.apply([],t)}var Lce=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Wce(t){return t.__esModule||Lce&&t[Symbol.toStringTag]==="Module"}function O3(t){var e=!1;return function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];if(!e)return e=!0,t.apply(this,r)}}var aa=function(e,r){this.router=e,this.base=Fce(r),this.current=bf,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};aa.prototype.listen=function(e){this.cb=e},aa.prototype.onReady=function(e,r){this.ready?e():(this.readyCbs.push(e),r&&this.readyErrorCbs.push(r))},aa.prototype.onError=function(e){this.errorCbs.push(e)},aa.prototype.transitionTo=function(e,r,n){var a=this,i=this.router.match(e,this.current);this.confirmTransition(i,function(){a.updateRoute(i),r&&r(i),a.ensureURL(),a.ready||(a.ready=!0,a.readyCbs.forEach(function(o){o(i)}))},function(o){n&&n(o),o&&!a.ready&&(a.ready=!0,a.readyErrorCbs.forEach(function(s){s(o)}))})},aa.prototype.confirmTransition=function(e,r,n){var a=this,i=this.current,o=function(f){Aw(f)&&(a.errorCbs.length?a.errorCbs.forEach(function(p){p(f)}):console.error(f)),n&&n(f)};if(u3(e,i)&&e.matched.length===i.matched.length)return this.ensureURL(),o();var s=jce(this.current.matched,e.matched),u=s.updated,l=s.deactivated,d=s.activated,c=[].concat(Uce(l),this.router.beforeHooks,zce(u),d.map(function(f){return f.beforeEnter}),Nce(d));this.pending=e;var m=function(f,p){if(a.pending!==e)return o();try{f(e,i,function(h){h===!1||Aw(h)?(a.ensureURL(!0),o(h)):typeof h=="string"||typeof h=="object"&&(typeof h.path=="string"||typeof h.name=="string")?(o(),typeof h=="object"&&h.replace?a.replace(h):a.push(h)):p(h)})}catch(h){o(h)}};E3(c,m,function(){var f=[],p=function(){return a.current===e},h=Bce(d,f,p),v=h.concat(a.router.resolveHooks);E3(v,m,function(){if(a.pending!==e)return o();a.pending=null,r(e),a.router.app&&a.router.app.$nextTick(function(){f.forEach(function(y){y()})})})})},aa.prototype.updateRoute=function(e){var r=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach(function(n){n&&n(e,r)})};function Fce(t){if(!t)if(fl){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return t.charAt(0)!=="/"&&(t="/"+t),t.replace(/\/$/,"")}function jce(t,e){var r,n=Math.max(t.length,e.length);for(r=0;r<n&&t[r]===e[r];r++);return{updated:e.slice(0,r),activated:e.slice(r),deactivated:t.slice(r)}}function Uw(t,e,r,n){var a=M3(t,function(i,o,s,u){var l=Vce(i,e);if(l)return Array.isArray(l)?l.map(function(d){return r(d,o,s,u)}):r(l,o,s,u)});return S3(n?a.reverse():a)}function Vce(t,e){return typeof t!="function"&&(t=cl.extend(t)),t.options[e]}function Uce(t){return Uw(t,"beforeRouteLeave",C3,!0)}function zce(t){return Uw(t,"beforeRouteUpdate",C3)}function C3(t,e){if(e)return function(){return t.apply(e,arguments)}}function Bce(t,e,r){return Uw(t,"beforeRouteEnter",function(n,a,i,o){return Hce(n,i,o,e,r)})}function Hce(t,e,r,n,a){return function(o,s,u){return t(o,s,function(l){u(l),typeof l=="function"&&n.push(function(){D3(l,e.instances,r,a)})})}}function D3(t,e,r,n){e[r]?t(e[r]):n()&&setTimeout(function(){D3(t,e,r,n)},16)}var $3=function(t){function e(r,n){var a=this;t.call(this,r,n);var i=r.options.scrollBehavior;i&&b3();var o=pl(this.base);window.addEventListener("popstate",function(s){var u=a.current,l=pl(a.base);a.current===bf&&l===o||a.transitionTo(l,function(d){i&&ms(r,d,u,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(n){window.history.go(n)},e.prototype.push=function(n,a,i){var o=this,s=this,u=s.current;this.transitionTo(n,function(l){Tf(Wi(o.base+l.fullPath)),ms(o.router,l,u,!1),a&&a(l)},i)},e.prototype.replace=function(n,a,i){var o=this,s=this,u=s.current;this.transitionTo(n,function(l){Vw(Wi(o.base+l.fullPath)),ms(o.router,l,u,!1),a&&a(l)},i)},e.prototype.ensureURL=function(n){if(pl(this.base)!==this.current.fullPath){var a=Wi(this.base+this.current.fullPath);n?Tf(a):Vw(a)}},e.prototype.getCurrentLocation=function(){return pl(this.base)},e}(aa);function pl(t){var e=window.location.pathname;return t&&e.indexOf(t)===0&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var A3=function(t){function e(r,n,a){t.call(this,r,n),!(a&&qce(this.base))&&R3()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var n=this,a=this.router,i=a.options.scrollBehavior,o=hs&&i;o&&b3(),window.addEventListener(hs?"popstate":"hashchange",function(){var s=n.current;!R3()||n.transitionTo(Ef(),function(u){o&&ms(n.router,u,s,!0),hs||Mf(u.fullPath)})})},e.prototype.push=function(n,a,i){var o=this,s=this,u=s.current;this.transitionTo(n,function(l){I3(l.fullPath),ms(o.router,l,u,!1),a&&a(l)},i)},e.prototype.replace=function(n,a,i){var o=this,s=this,u=s.current;this.transitionTo(n,function(l){Mf(l.fullPath),ms(o.router,l,u,!1),a&&a(l)},i)},e.prototype.go=function(n){window.history.go(n)},e.prototype.ensureURL=function(n){var a=this.current.fullPath;Ef()!==a&&(n?I3(a):Mf(a))},e.prototype.getCurrentLocation=function(){return Ef()},e}(aa);function qce(t){var e=pl(t);if(!/^\/#/.test(e))return window.location.replace(Wi(t+"/#"+e)),!0}function R3(){var t=Ef();return t.charAt(0)==="/"?!0:(Mf("/"+t),!1)}function Ef(){var t=window.location.href,e=t.indexOf("#");return e===-1?"":t.slice(e+1)}function zw(t){var e=window.location.href,r=e.indexOf("#"),n=r>=0?e.slice(0,r):e;return n+"#"+t}function I3(t){hs?Tf(zw(t)):window.location.hash=t}function Mf(t){hs?Vw(zw(t)):window.location.replace(zw(t))}var Yce=function(t){function e(r,n){t.call(this,r,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(n,a,i){var o=this;this.transitionTo(n,function(s){o.stack=o.stack.slice(0,o.index+1).concat(s),o.index++,a&&a(s)},i)},e.prototype.replace=function(n,a,i){var o=this;this.transitionTo(n,function(s){o.stack=o.stack.slice(0,o.index).concat(s),a&&a(s)},i)},e.prototype.go=function(n){var a=this,i=this.index+n;if(!(i<0||i>=this.stack.length)){var o=this.stack[i];this.confirmTransition(o,function(){a.index=i,a.updateRoute(o)})}},e.prototype.getCurrentLocation=function(){var n=this.stack[this.stack.length-1];return n?n.fullPath:"/"},e.prototype.ensureURL=function(){},e}(aa),Ot=function(e){e===void 0&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Sce(e.routes||[],this);var r=e.mode||"hash";switch(this.fallback=r==="history"&&!hs&&e.fallback!==!1,this.fallback&&(r="hash"),fl||(r="abstract"),this.mode=r,r){case"history":this.history=new $3(this,e.base);break;case"hash":this.history=new A3(this,e.base,this.fallback);break;case"abstract":this.history=new Yce(this,e.base);break}},N3={currentRoute:{configurable:!0}};Ot.prototype.match=function(e,r,n){return this.matcher.match(e,r,n)},N3.currentRoute.get=function(){return this.history&&this.history.current},Ot.prototype.init=function(e){var r=this;if(this.apps.push(e),!this.app){this.app=e;var n=this.history;if(n instanceof $3)n.transitionTo(n.getCurrentLocation());else if(n instanceof A3){var a=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),a,a)}n.listen(function(i){r.apps.forEach(function(o){o._route=i})})}},Ot.prototype.beforeEach=function(e){return Bw(this.beforeHooks,e)},Ot.prototype.beforeResolve=function(e){return Bw(this.resolveHooks,e)},Ot.prototype.afterEach=function(e){return Bw(this.afterHooks,e)},Ot.prototype.onReady=function(e,r){this.history.onReady(e,r)},Ot.prototype.onError=function(e){this.history.onError(e)},Ot.prototype.push=function(e,r,n){this.history.push(e,r,n)},Ot.prototype.replace=function(e,r,n){this.history.replace(e,r,n)},Ot.prototype.go=function(e){this.history.go(e)},Ot.prototype.back=function(){this.go(-1)},Ot.prototype.forward=function(){this.go(1)},Ot.prototype.getMatchedComponents=function(e){var r=e?e.matched?e:this.resolve(e).route:this.currentRoute;return r?[].concat.apply([],r.matched.map(function(n){return Object.keys(n.components).map(function(a){return n.components[a]})})):[]},Ot.prototype.resolve=function(e,r,n){var a=y3(e,r||this.history.current,n,this),i=this.match(a,r),o=i.redirectedFrom||i.fullPath,s=this.history.base,u=Gce(s,o,this.mode);return{location:a,route:i,href:u,normalizedTo:a,resolved:i}},Ot.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==bf&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ot.prototype,N3);function Bw(t,e){return t.push(e),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function Gce(t,e,r){var n=r==="hash"?"#"+e:e;return t?Wi(t+"/"+n):n}Ot.install=Iw,Ot.version="3.0.1",fl&&window.Vue&&window.Vue.use(Ot);const Kce=[{name:"DocFormSend",path:"/send",component:()=>Promise.resolve().then(()=>Ttt),props:!0,meta:{mode:"drawer",placement:"right",width:620}},{name:"DocSendReminder",path:"/reminder",component:()=>Promise.resolve().then(()=>Ntt),props:!0,meta:{mode:"modal",placement:"center",width:400}}];ie.use(Ot);const vs=new Ot({mode:"abstract",routes:Kce});var Xce=function(e){return Jce(e)&&!Qce(e)};function Jce(t){return!!t&&typeof t=="object"}function Qce(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||tfe(t)}var Zce=typeof Symbol=="function"&&Symbol.for,efe=Zce?Symbol.for("react.element"):60103;function tfe(t){return t.$$typeof===efe}function rfe(t){return Array.isArray(t)?[]:{}}function hl(t,e){return e.clone!==!1&&e.isMergeableObject(t)?gs(rfe(t),t,e):t}function nfe(t,e,r){return t.concat(e).map(function(n){return hl(n,r)})}function afe(t,e){if(!e.customMerge)return gs;var r=e.customMerge(t);return typeof r=="function"?r:gs}function ife(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]}function L3(t){return Object.keys(t).concat(ife(t))}function W3(t,e){try{return e in t}catch{return!1}}function ofe(t,e){return W3(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function sfe(t,e,r){var n={};return r.isMergeableObject(t)&&L3(t).forEach(function(a){n[a]=hl(t[a],r)}),L3(e).forEach(function(a){ofe(t,a)||(W3(t,a)&&r.isMergeableObject(e[a])?n[a]=afe(a,r)(t[a],e[a],r):n[a]=hl(e[a],r))}),n}function gs(t,e,r){r=r||{},r.arrayMerge=r.arrayMerge||nfe,r.isMergeableObject=r.isMergeableObject||Xce,r.cloneUnlessOtherwiseSpecified=hl;var n=Array.isArray(e),a=Array.isArray(t),i=n===a;return i?n?r.arrayMerge(t,e,r):sfe(t,e,r):hl(e,r)}gs.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,a){return gs(n,a,r)},{})};var ufe=gs,Hw=ufe,lfe=Array.isArray,Tn=lfe,dfe=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,F3=dfe,cfe=F3,ffe=typeof self=="object"&&self&&self.Object===Object&&self,mfe=cfe||ffe||Function("return this")(),tn=mfe,pfe=tn,hfe=pfe.Symbol,ys=hfe,j3=ys,V3=Object.prototype,vfe=V3.hasOwnProperty,gfe=V3.toString,vl=j3?j3.toStringTag:void 0;function yfe(t){var e=vfe.call(t,vl),r=t[vl];try{t[vl]=void 0;var n=!0}catch{}var a=gfe.call(t);return n&&(e?t[vl]=r:delete t[vl]),a}var _fe=yfe,bfe=Object.prototype,wfe=bfe.toString;function xfe(t){return wfe.call(t)}var Pfe=xfe,U3=ys,kfe=_fe,Tfe=Pfe,Efe="[object Null]",Mfe="[object Undefined]",z3=U3?U3.toStringTag:void 0;function Sfe(t){return t==null?t===void 0?Mfe:Efe:z3&&z3 in Object(t)?kfe(t):Tfe(t)}var _s=Sfe;function Ofe(t){return t!=null&&typeof t=="object"}var ia=Ofe,Cfe=_s,Dfe=ia,$fe="[object Symbol]";function Afe(t){return typeof t=="symbol"||Dfe(t)&&Cfe(t)==$fe}var Sf=Afe,Rfe=Tn,Ife=Sf,Nfe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lfe=/^\w*$/;function Wfe(t,e){if(Rfe(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||Ife(t)?!0:Lfe.test(t)||!Nfe.test(t)||e!=null&&t in Object(e)}var qw=Wfe;function Ffe(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var oa=Ffe,jfe=_s,Vfe=oa,Ufe="[object AsyncFunction]",zfe="[object Function]",Bfe="[object GeneratorFunction]",Hfe="[object Proxy]";function qfe(t){if(!Vfe(t))return!1;var e=jfe(t);return e==zfe||e==Bfe||e==Ufe||e==Hfe}var B3=qfe,Yfe=tn,Gfe=Yfe["__core-js_shared__"],Kfe=Gfe,Yw=Kfe,H3=function(){var t=/[^.]+$/.exec(Yw&&Yw.keys&&Yw.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Xfe(t){return!!H3&&H3 in t}var Jfe=Xfe,Qfe=Function.prototype,Zfe=Qfe.toString;function eme(t){if(t!=null){try{return Zfe.call(t)}catch{}try{return t+""}catch{}}return""}var q3=eme,tme=B3,rme=Jfe,nme=oa,ame=q3,ime=/[\\^$.*+?()[\]{}|]/g,ome=/^\[object .+?Constructor\]$/,sme=Function.prototype,ume=Object.prototype,lme=sme.toString,dme=ume.hasOwnProperty,cme=RegExp("^"+lme.call(dme).replace(ime,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function fme(t){if(!nme(t)||rme(t))return!1;var e=tme(t)?cme:ome;return e.test(ame(t))}var mme=fme;function pme(t,e){return t==null?void 0:t[e]}var hme=pme,vme=mme,gme=hme;function yme(t,e){var r=gme(t,e);return vme(r)?r:void 0}var Fi=yme,_me=Fi,bme=_me(Object,"create"),Of=bme,Y3=Of;function wme(){this.__data__=Y3?Y3(null):{},this.size=0}var xme=wme;function Pme(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var kme=Pme,Tme=Of,Eme="__lodash_hash_undefined__",Mme=Object.prototype,Sme=Mme.hasOwnProperty;function Ome(t){var e=this.__data__;if(Tme){var r=e[t];return r===Eme?void 0:r}return Sme.call(e,t)?e[t]:void 0}var Cme=Ome,Dme=Of,$me=Object.prototype,Ame=$me.hasOwnProperty;function Rme(t){var e=this.__data__;return Dme?e[t]!==void 0:Ame.call(e,t)}var Ime=Rme,Nme=Of,Lme="__lodash_hash_undefined__";function Wme(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Nme&&e===void 0?Lme:e,this}var Fme=Wme,jme=xme,Vme=kme,Ume=Cme,zme=Ime,Bme=Fme;function bs(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}bs.prototype.clear=jme,bs.prototype.delete=Vme,bs.prototype.get=Ume,bs.prototype.has=zme,bs.prototype.set=Bme;var Hme=bs;function qme(){this.__data__=[],this.size=0}var Yme=qme;function Gme(t,e){return t===e||t!==t&&e!==e}var Gw=Gme,Kme=Gw;function Xme(t,e){for(var r=t.length;r--;)if(Kme(t[r][0],e))return r;return-1}var Cf=Xme,Jme=Cf,Qme=Array.prototype,Zme=Qme.splice;function epe(t){var e=this.__data__,r=Jme(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():Zme.call(e,r,1),--this.size,!0}var tpe=epe,rpe=Cf;function npe(t){var e=this.__data__,r=rpe(e,t);return r<0?void 0:e[r][1]}var ape=npe,ipe=Cf;function ope(t){return ipe(this.__data__,t)>-1}var spe=ope,upe=Cf;function lpe(t,e){var r=this.__data__,n=upe(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}var dpe=lpe,cpe=Yme,fpe=tpe,mpe=ape,ppe=spe,hpe=dpe;function ws(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ws.prototype.clear=cpe,ws.prototype.delete=fpe,ws.prototype.get=mpe,ws.prototype.has=ppe,ws.prototype.set=hpe;var Df=ws,vpe=Fi,gpe=tn,ype=vpe(gpe,"Map"),Kw=ype,G3=Hme,_pe=Df,bpe=Kw;function wpe(){this.size=0,this.__data__={hash:new G3,map:new(bpe||_pe),string:new G3}}var xpe=wpe;function Ppe(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var kpe=Ppe,Tpe=kpe;function Epe(t,e){var r=t.__data__;return Tpe(e)?r[typeof e=="string"?"string":"hash"]:r.map}var $f=Epe,Mpe=$f;function Spe(t){var e=Mpe(this,t).delete(t);return this.size-=e?1:0,e}var Ope=Spe,Cpe=$f;function Dpe(t){return Cpe(this,t).get(t)}var $pe=Dpe,Ape=$f;function Rpe(t){return Ape(this,t).has(t)}var Ipe=Rpe,Npe=$f;function Lpe(t,e){var r=Npe(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}var Wpe=Lpe,Fpe=xpe,jpe=Ope,Vpe=$pe,Upe=Ipe,zpe=Wpe;function xs(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}xs.prototype.clear=Fpe,xs.prototype.delete=jpe,xs.prototype.get=Vpe,xs.prototype.has=Upe,xs.prototype.set=zpe;var Xw=xs,K3=Xw,Bpe="Expected a function";function Jw(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(Bpe);var r=function(){var n=arguments,a=e?e.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=t.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(Jw.Cache||K3),r}Jw.Cache=K3;var Hpe=Jw,qpe=Hpe,Ype=500;function Gpe(t){var e=qpe(t,function(n){return r.size===Ype&&r.clear(),n}),r=e.cache;return e}var Kpe=Gpe,Xpe=Kpe,Jpe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qpe=/\\(\\)?/g,Zpe=Xpe(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Jpe,function(r,n,a,i){e.push(a?i.replace(Qpe,"$1"):n||r)}),e}),ehe=Zpe;function the(t,e){for(var r=-1,n=t==null?0:t.length,a=Array(n);++r<n;)a[r]=e(t[r],r,t);return a}var X3=the,J3=ys,rhe=X3,nhe=Tn,ahe=Sf,ihe=1/0,Q3=J3?J3.prototype:void 0,Z3=Q3?Q3.toString:void 0;function eV(t){if(typeof t=="string")return t;if(nhe(t))return rhe(t,eV)+"";if(ahe(t))return Z3?Z3.call(t):"";var e=t+"";return e=="0"&&1/t==-ihe?"-0":e}var ohe=eV,she=ohe;function uhe(t){return t==null?"":she(t)}var lhe=uhe,dhe=Tn,che=qw,fhe=ehe,mhe=lhe;function phe(t,e){return dhe(t)?t:che(t,e)?[t]:fhe(mhe(t))}var Af=phe,hhe=Sf,vhe=1/0;function ghe(t){if(typeof t=="string"||hhe(t))return t;var e=t+"";return e=="0"&&1/t==-vhe?"-0":e}var Ps=ghe,yhe=Af,_he=Ps;function bhe(t,e){e=yhe(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[_he(e[r++])];return r&&r==n?t:void 0}var Qw=bhe,whe=Qw;function xhe(t,e,r){var n=t==null?void 0:whe(t,e);return n===void 0?r:n}var ee=xhe,Phe=Fi,khe=function(){try{var t=Phe(Object,"defineProperty");return t({},"",{}),t}catch{}}(),tV=khe,rV=tV;function The(t,e,r){e=="__proto__"&&rV?rV(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var nV=The,Ehe=nV,Mhe=Gw,She=Object.prototype,Ohe=She.hasOwnProperty;function Che(t,e,r){var n=t[e];(!(Ohe.call(t,e)&&Mhe(n,r))||r===void 0&&!(e in t))&&Ehe(t,e,r)}var Zw=Che,Dhe=9007199254740991,$he=/^(?:0|[1-9]\d*)$/;function Ahe(t,e){var r=typeof t;return e=e==null?Dhe:e,!!e&&(r=="number"||r!="symbol"&&$he.test(t))&&t>-1&&t%1==0&&t<e}var e1=Ahe,Rhe=Zw,Ihe=Af,Nhe=e1,aV=oa,Lhe=Ps;function Whe(t,e,r,n){if(!aV(t))return t;e=Ihe(e,t);for(var a=-1,i=e.length,o=i-1,s=t;s!=null&&++a<i;){var u=Lhe(e[a]),l=r;if(u==="__proto__"||u==="constructor"||u==="prototype")return t;if(a!=o){var d=s[u];l=n?n(d,u,s):void 0,l===void 0&&(l=aV(d)?d:Nhe(e[a+1])?[]:{})}Rhe(s,u,l),s=s[u]}return t}var Fhe=Whe,jhe=Fhe;function Vhe(t,e,r){return t==null?t:jhe(t,e,r)}var Ut=Vhe;const Uhe=t=>{const e=t||{},r=e.key||"vuex";function n(c){try{const m=Le.getItem(c);try{return typeof m<"u"?JSON.parse(m):void 0}catch{}return}catch{return}}function a(){return!0}function i(c,m){try{return Le.setItem(c,JSON.stringify(m))}catch{return}}function o(c,m){return Array.isArray(m)?m.reduce((f,p)=>Ut(f,p,ee(c,p)),{}):c}function s(c){return m=>c.subscribe(m)}(e.assertStorage||(()=>{Le.setItem("@@",1),Le.removeItem("@@")}))();const l=()=>(e.getState||n)(r);let d;return e.fetchBeforeUse&&(d=l()),c=>{e.fetchBeforeUse||(d=l()),typeof d=="object"&&d!==null&&(c.replaceState(e.overwrite?d:Hw(c.state,d,{arrayMerge:e.arrayMerger||((m,f)=>f),clone:!1})),(e.rehydrated||(()=>{}))(c)),(e.subscriber||s)(c)((m,f)=>{(e.filter||a)(m)&&(e.setState||i)(r,(e.reducer||o)(f,e.paths))})}};var zhe=function(t,e,r){var n=(r||{}).moduleName||"route";t.registerModule(n,{namespaced:!0,state:t1(e.currentRoute),mutations:{ROUTE_CHANGED:function(l,d){t.state[n]=t1(d.to,d.from)}}});var a=!1,i,o=t.watch(function(u){return u[n]},function(u){var l=u.fullPath;l!==i&&(i!=null&&(a=!0,e.push(u)),i=l)},{sync:!0}),s=e.afterEach(function(u,l){if(a){a=!1;return}i=u.fullPath,t.commit(n+"/ROUTE_CHANGED",{to:u,from:l})});return function(){s!=null&&s(),o!=null&&o(),t.unregisterModule(n)}};function t1(t,e){var r={name:t.name,path:t.path,hash:t.hash,query:t.query,params:t.params,fullPath:t.fullPath,meta:t.meta};return e&&(r.from=t1(e)),Object.freeze(r)}var Bhe=Df;function Hhe(){this.__data__=new Bhe,this.size=0}var qhe=Hhe;function Yhe(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Ghe=Yhe;function Khe(t){return this.__data__.get(t)}var Xhe=Khe;function Jhe(t){return this.__data__.has(t)}var Qhe=Jhe,Zhe=Df,eve=Kw,tve=Xw,rve=200;function nve(t,e){var r=this.__data__;if(r instanceof Zhe){var n=r.__data__;if(!eve||n.length<rve-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new tve(n)}return r.set(t,e),this.size=r.size,this}var ave=nve,ive=Df,ove=qhe,sve=Ghe,uve=Xhe,lve=Qhe,dve=ave;function ks(t){var e=this.__data__=new ive(t);this.size=e.size}ks.prototype.clear=ove,ks.prototype.delete=sve,ks.prototype.get=uve,ks.prototype.has=lve,ks.prototype.set=dve;var r1=ks;function cve(t,e){for(var r=-1,n=t==null?0:t.length;++r<n&&e(t[r],r,t)!==!1;);return t}var fve=cve,mve=Zw,pve=nV;function hve(t,e,r,n){var a=!r;r||(r={});for(var i=-1,o=e.length;++i<o;){var s=e[i],u=n?n(r[s],t[s],s,r,t):void 0;u===void 0&&(u=t[s]),a?pve(r,s,u):mve(r,s,u)}return r}var Rf=hve;function vve(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}var gve=vve,yve=_s,_ve=ia,bve="[object Arguments]";function wve(t){return _ve(t)&&yve(t)==bve}var xve=wve,iV=xve,Pve=ia,oV=Object.prototype,kve=oV.hasOwnProperty,Tve=oV.propertyIsEnumerable,Eve=iV(function(){return arguments}())?iV:function(t){return Pve(t)&&kve.call(t,"callee")&&!Tve.call(t,"callee")},n1=Eve,gl={exports:{}};function Mve(){return!1}var Sve=Mve;(function(t,e){var r=tn,n=Sve,a=e&&!e.nodeType&&e,i=a&&!0&&t&&!t.nodeType&&t,o=i&&i.exports===a,s=o?r.Buffer:void 0,u=s?s.isBuffer:void 0,l=u||n;t.exports=l})(gl,gl.exports);var Ove=9007199254740991;function Cve(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Ove}var a1=Cve,Dve=_s,$ve=a1,Ave=ia,Rve="[object Arguments]",Ive="[object Array]",Nve="[object Boolean]",Lve="[object Date]",Wve="[object Error]",Fve="[object Function]",jve="[object Map]",Vve="[object Number]",Uve="[object Object]",zve="[object RegExp]",Bve="[object Set]",Hve="[object String]",qve="[object WeakMap]",Yve="[object ArrayBuffer]",Gve="[object DataView]",Kve="[object Float32Array]",Xve="[object Float64Array]",Jve="[object Int8Array]",Qve="[object Int16Array]",Zve="[object Int32Array]",ege="[object Uint8Array]",tge="[object Uint8ClampedArray]",rge="[object Uint16Array]",nge="[object Uint32Array]",ft={};ft[Kve]=ft[Xve]=ft[Jve]=ft[Qve]=ft[Zve]=ft[ege]=ft[tge]=ft[rge]=ft[nge]=!0,ft[Rve]=ft[Ive]=ft[Yve]=ft[Nve]=ft[Gve]=ft[Lve]=ft[Wve]=ft[Fve]=ft[jve]=ft[Vve]=ft[Uve]=ft[zve]=ft[Bve]=ft[Hve]=ft[qve]=!1;function age(t){return Ave(t)&&$ve(t.length)&&!!ft[Dve(t)]}var ige=age;function oge(t){return function(e){return t(e)}}var If=oge,yl={exports:{}};(function(t,e){var r=F3,n=e&&!e.nodeType&&e,a=n&&!0&&t&&!t.nodeType&&t,i=a&&a.exports===n,o=i&&r.process,s=function(){try{var u=a&&a.require&&a.require("util").types;return u||o&&o.binding&&o.binding("util")}catch{}}();t.exports=s})(yl,yl.exports);var sge=ige,uge=If,sV=yl.exports,uV=sV&&sV.isTypedArray,lge=uV?uge(uV):sge,lV=lge,dge=gve,cge=n1,fge=Tn,mge=gl.exports,pge=e1,hge=lV,vge=Object.prototype,gge=vge.hasOwnProperty;function yge(t,e){var r=fge(t),n=!r&&cge(t),a=!r&&!n&&mge(t),i=!r&&!n&&!a&&hge(t),o=r||n||a||i,s=o?dge(t.length,String):[],u=s.length;for(var l in t)(e||gge.call(t,l))&&!(o&&(l=="length"||a&&(l=="offset"||l=="parent")||i&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||pge(l,u)))&&s.push(l);return s}var dV=yge,_ge=Object.prototype;function bge(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||_ge;return t===r}var i1=bge;function wge(t,e){return function(r){return t(e(r))}}var cV=wge,xge=cV,Pge=xge(Object.keys,Object),kge=Pge,Tge=i1,Ege=kge,Mge=Object.prototype,Sge=Mge.hasOwnProperty;function Oge(t){if(!Tge(t))return Ege(t);var e=[];for(var r in Object(t))Sge.call(t,r)&&r!="constructor"&&e.push(r);return e}var Cge=Oge,Dge=B3,$ge=a1;function Age(t){return t!=null&&$ge(t.length)&&!Dge(t)}var o1=Age,Rge=dV,Ige=Cge,Nge=o1;function Lge(t){return Nge(t)?Rge(t):Ige(t)}var Nf=Lge,Wge=Rf,Fge=Nf;function jge(t,e){return t&&Wge(e,Fge(e),t)}var Vge=jge;function Uge(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var zge=Uge,Bge=oa,Hge=i1,qge=zge,Yge=Object.prototype,Gge=Yge.hasOwnProperty;function Kge(t){if(!Bge(t))return qge(t);var e=Hge(t),r=[];for(var n in t)n=="constructor"&&(e||!Gge.call(t,n))||r.push(n);return r}var Xge=Kge,Jge=dV,Qge=Xge,Zge=o1;function eye(t){return Zge(t)?Jge(t,!0):Qge(t)}var s1=eye,tye=Rf,rye=s1;function nye(t,e){return t&&tye(e,rye(e),t)}var aye=nye,u1={exports:{}};(function(t,e){var r=tn,n=e&&!e.nodeType&&e,a=n&&!0&&t&&!t.nodeType&&t,i=a&&a.exports===n,o=i?r.Buffer:void 0,s=o?o.allocUnsafe:void 0;function u(l,d){if(d)return l.slice();var c=l.length,m=s?s(c):new l.constructor(c);return l.copy(m),m}t.exports=u})(u1,u1.exports);function iye(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}var oye=iye;function sye(t,e){for(var r=-1,n=t==null?0:t.length,a=0,i=[];++r<n;){var o=t[r];e(o,r,t)&&(i[a++]=o)}return i}var uye=sye;function lye(){return[]}var fV=lye,dye=uye,cye=fV,fye=Object.prototype,mye=fye.propertyIsEnumerable,mV=Object.getOwnPropertySymbols,pye=mV?function(t){return t==null?[]:(t=Object(t),dye(mV(t),function(e){return mye.call(t,e)}))}:cye,l1=pye,hye=Rf,vye=l1;function gye(t,e){return hye(t,vye(t),e)}var yye=gye;function _ye(t,e){for(var r=-1,n=e.length,a=t.length;++r<n;)t[a+r]=e[r];return t}var d1=_ye,bye=cV,wye=bye(Object.getPrototypeOf,Object),c1=wye,xye=d1,Pye=c1,kye=l1,Tye=fV,Eye=Object.getOwnPropertySymbols,Mye=Eye?function(t){for(var e=[];t;)xye(e,kye(t)),t=Pye(t);return e}:Tye,pV=Mye,Sye=Rf,Oye=pV;function Cye(t,e){return Sye(t,Oye(t),e)}var Dye=Cye,$ye=d1,Aye=Tn;function Rye(t,e,r){var n=e(t);return Aye(t)?n:$ye(n,r(t))}var hV=Rye,Iye=hV,Nye=l1,Lye=Nf;function Wye(t){return Iye(t,Lye,Nye)}var vV=Wye,Fye=hV,jye=pV,Vye=s1;function Uye(t){return Fye(t,Vye,jye)}var zye=Uye,Bye=Fi,Hye=tn,qye=Bye(Hye,"DataView"),Yye=qye,Gye=Fi,Kye=tn,Xye=Gye(Kye,"Promise"),Jye=Xye,Qye=Fi,Zye=tn,e_e=Qye(Zye,"Set"),t_e=e_e,r_e=Fi,n_e=tn,a_e=r_e(n_e,"WeakMap"),i_e=a_e,f1=Yye,m1=Kw,p1=Jye,h1=t_e,v1=i_e,gV=_s,Ts=q3,yV="[object Map]",o_e="[object Object]",_V="[object Promise]",bV="[object Set]",wV="[object WeakMap]",xV="[object DataView]",s_e=Ts(f1),u_e=Ts(m1),l_e=Ts(p1),d_e=Ts(h1),c_e=Ts(v1),ji=gV;(f1&&ji(new f1(new ArrayBuffer(1)))!=xV||m1&&ji(new m1)!=yV||p1&&ji(p1.resolve())!=_V||h1&&ji(new h1)!=bV||v1&&ji(new v1)!=wV)&&(ji=function(t){var e=gV(t),r=e==o_e?t.constructor:void 0,n=r?Ts(r):"";if(n)switch(n){case s_e:return xV;case u_e:return yV;case l_e:return _V;case d_e:return bV;case c_e:return wV}return e});var Lf=ji,f_e=Object.prototype,m_e=f_e.hasOwnProperty;function p_e(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&m_e.call(t,"index")&&(r.index=t.index,r.input=t.input),r}var h_e=p_e,v_e=tn,g_e=v_e.Uint8Array,PV=g_e,kV=PV;function y_e(t){var e=new t.constructor(t.byteLength);return new kV(e).set(new kV(t)),e}var g1=y_e,b_e=g1;function w_e(t,e){var r=e?b_e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var x_e=w_e,P_e=/\w*$/;function k_e(t){var e=new t.constructor(t.source,P_e.exec(t));return e.lastIndex=t.lastIndex,e}var T_e=k_e,TV=ys,EV=TV?TV.prototype:void 0,MV=EV?EV.valueOf:void 0;function E_e(t){return MV?Object(MV.call(t)):{}}var M_e=E_e,S_e=g1;function O_e(t,e){var r=e?S_e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var C_e=O_e,D_e=g1,$_e=x_e,A_e=T_e,R_e=M_e,I_e=C_e,N_e="[object Boolean]",L_e="[object Date]",W_e="[object Map]",F_e="[object Number]",j_e="[object RegExp]",V_e="[object Set]",U_e="[object String]",z_e="[object Symbol]",B_e="[object ArrayBuffer]",H_e="[object DataView]",q_e="[object Float32Array]",Y_e="[object Float64Array]",G_e="[object Int8Array]",K_e="[object Int16Array]",X_e="[object Int32Array]",J_e="[object Uint8Array]",Q_e="[object Uint8ClampedArray]",Z_e="[object Uint16Array]",ebe="[object Uint32Array]";function tbe(t,e,r){var n=t.constructor;switch(e){case B_e:return D_e(t);case N_e:case L_e:return new n(+t);case H_e:return $_e(t,r);case q_e:case Y_e:case G_e:case K_e:case X_e:case J_e:case Q_e:case Z_e:case ebe:return I_e(t,r);case W_e:return new n;case F_e:case U_e:return new n(t);case j_e:return A_e(t);case V_e:return new n;case z_e:return R_e(t)}}var rbe=tbe,nbe=oa,SV=Object.create,abe=function(){function t(){}return function(e){if(!nbe(e))return{};if(SV)return SV(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),ibe=abe,obe=ibe,sbe=c1,ube=i1;function lbe(t){return typeof t.constructor=="function"&&!ube(t)?obe(sbe(t)):{}}var dbe=lbe,cbe=Lf,fbe=ia,mbe="[object Map]";function pbe(t){return fbe(t)&&cbe(t)==mbe}var hbe=pbe,vbe=hbe,gbe=If,OV=yl.exports,CV=OV&&OV.isMap,ybe=CV?gbe(CV):vbe,_be=ybe,bbe=Lf,wbe=ia,xbe="[object Set]";function Pbe(t){return wbe(t)&&bbe(t)==xbe}var kbe=Pbe,Tbe=kbe,Ebe=If,DV=yl.exports,$V=DV&&DV.isSet,Mbe=$V?Ebe($V):Tbe,Sbe=Mbe,Obe=r1,Cbe=fve,Dbe=Zw,$be=Vge,Abe=aye,Rbe=u1.exports,Ibe=oye,Nbe=yye,Lbe=Dye,Wbe=vV,Fbe=zye,jbe=Lf,Vbe=h_e,Ube=rbe,zbe=dbe,Bbe=Tn,Hbe=gl.exports,qbe=_be,Ybe=oa,Gbe=Sbe,Kbe=Nf,Xbe=s1,Jbe=1,Qbe=2,Zbe=4,AV="[object Arguments]",e0e="[object Array]",t0e="[object Boolean]",r0e="[object Date]",n0e="[object Error]",RV="[object Function]",a0e="[object GeneratorFunction]",i0e="[object Map]",o0e="[object Number]",IV="[object Object]",s0e="[object RegExp]",u0e="[object Set]",l0e="[object String]",d0e="[object Symbol]",c0e="[object WeakMap]",f0e="[object ArrayBuffer]",m0e="[object DataView]",p0e="[object Float32Array]",h0e="[object Float64Array]",v0e="[object Int8Array]",g0e="[object Int16Array]",y0e="[object Int32Array]",_0e="[object Uint8Array]",b0e="[object Uint8ClampedArray]",w0e="[object Uint16Array]",x0e="[object Uint32Array]",st={};st[AV]=st[e0e]=st[f0e]=st[m0e]=st[t0e]=st[r0e]=st[p0e]=st[h0e]=st[v0e]=st[g0e]=st[y0e]=st[i0e]=st[o0e]=st[IV]=st[s0e]=st[u0e]=st[l0e]=st[d0e]=st[_0e]=st[b0e]=st[w0e]=st[x0e]=!0,st[n0e]=st[RV]=st[c0e]=!1;function Wf(t,e,r,n,a,i){var o,s=e&Jbe,u=e&Qbe,l=e&Zbe;if(r&&(o=a?r(t,n,a,i):r(t)),o!==void 0)return o;if(!Ybe(t))return t;var d=Bbe(t);if(d){if(o=Vbe(t),!s)return Ibe(t,o)}else{var c=jbe(t),m=c==RV||c==a0e;if(Hbe(t))return Rbe(t,s);if(c==IV||c==AV||m&&!a){if(o=u||m?{}:zbe(t),!s)return u?Lbe(t,Abe(o,t)):Nbe(t,$be(o,t))}else{if(!st[c])return a?t:{};o=Ube(t,c,s)}}i||(i=new Obe);var f=i.get(t);if(f)return f;i.set(t,o),Gbe(t)?t.forEach(function(v){o.add(Wf(v,e,r,v,t,i))}):qbe(t)&&t.forEach(function(v,y){o.set(y,Wf(v,e,r,y,t,i))});var p=l?u?Fbe:Wbe:u?Xbe:Kbe,h=d?void 0:p(t);return Cbe(h||t,function(v,y){h&&(y=v,v=t[y]),Dbe(o,y,Wf(v,e,r,y,t,i))}),o}var NV=Wf,P0e=NV,k0e=1,T0e=4;function E0e(t){return P0e(t,k0e|T0e)}var Vi=E0e;function M0e(t={}){const{trigger:e,whitelist:r=[]}={trigger:"reset",...t},n=["route",...r];return a=>{const i=Vi(a.state);a.subscribe((o,s)=>{if(o.type===e){const u=Vi(i);n.forEach(l=>{s[l]&&(u[l]=Vi(s[l]))}),a.replaceState(u)}else{let u=o.type.split("/");u.pop()===e&&(u=u.join("/"),a.replaceState({...Vi(s),[u]:Vi(i[u])}))}}),a.registerModuleState=(o,s)=>{a.registerModule(o,s),i[o]=Vi(s.state)},a.unregisterModuleState=o=>{a.unregisterModule(o),delete i[o]}}}const S0e={debug:4,info:3,warn:2,error:1};class O0e{setLevel(e){this._level=typeof e=="number"?e:S0e[e]}debug(...e){this._level<4||console.debug(...e)}info(...e){this._level<3||console.log(...e)}warn(...e){this._level<2||console.warn(...e)}error(...e){this._level<1||console.error(...e)}event(e){this.debug(e),typeof e=="object"&&e.error&&this.error(e.error)}}const yt=new O0e;yt.setLevel(ge.logLevel);const LV={messages:[],modals:[],canCloseModal:!0,priceInputVat:"exVat",hideDocArticlePriceInput:!1,user:{position:null,isLoggingIn:!1,isRegistering:!1,isResettingPassword:!1,userId:null,companyId:null,crispUserHash:null},error:null,isSocketConnected:!1,viewSettings:{app:{isFullPageWindow:!0},nav:{title:null,left:null},projectList:{quickViewProjectId:null},login:{error:null},register:{error:null},search:{show:!1},newDocument:{showOverlayLoader:!1},newInvoice:{isLoading:!1}}};function C0e(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var rn={exports:{}};const WV=uW(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var FV=typeof process<"u"&&process.pid?process.pid.toString(36):"",jV="";if(typeof __webpack_require__!="function"&&typeof C0e<"u"){var y1="",VV=WV;if(VV.networkInterfaces)var _1=VV.networkInterfaces();if(_1){e:for(let t in _1){const e=_1[t],r=e.length;for(var Es=0;Es<r;Es++)if(e[Es]!==void 0&&e[Es].mac&&e[Es].mac!="00:00:00:00:00:00"){y1=e[Es].mac;break e}}jV=y1?parseInt(y1.replace(/\:|\D+/gi,"")).toString(36):""}}rn.exports=rn.exports.default=function(t,e){return(t||"")+jV+FV+_l().toString(36)+(e||"")},rn.exports.process=function(t,e){return(t||"")+FV+_l().toString(36)+(e||"")},rn.exports.time=function(t,e){return(t||"")+_l().toString(36)+(e||"")};function _l(){var t=Date.now(),e=_l.last||t;return _l.last=t>e?t:e+1}const D0e={LOAD_USER_POSITION:"LOAD_USER_POSITION",LOAD_USER:"LOAD_USER",LOGIN_AUTH_TOKEN:"LOGIN_AUTH_TOKEN",LOGIN_USER:"LOGIN_USER",AUTH_3RD_PARTY_USER:"AUTH_3RD_PARTY_USER",SWITCH_CONNECTED_USER:"SWITCH_CONNECTED_USER",REGISTER_USER:"REGISTER_USER",RESET_USER_PASSWORD:"RESET_USER_PASSWORD",LOGOUT_USER:"LOGOUT_USER"},$0e={SET_USER_LOCATION:"SET_USER_LOCATION",SET_USER:"SET_USER"},bl={...D0e,PUSH_MODAL:"PUSH_MODAL",POP_MODAL:"POP_MODAL",SET_CAN_CLOSE_MODAL:"SET_CAN_CLOSE_MODAL",SHOW_MESSAGE:"SHOW_MESSAGE",CLEAR_MESSAGE:"CLEAR_MESSAGE",CLEAR_MESSAGE_BY_ID:"CLEAR_MESSAGE_BY_ID",MESSAGE_ACTION:"MESSAGE_ACTION",UPDATE_VIEW_SETTINGS:"UPDATE_VIEW_SETTINGS",RESET_VIEW_SETTINGS:"RESET_VIEW_SETTINGS",SHOW_ERROR:"SHOW_ERROR",RESET_ERROR:"RESET_ERROR"},Ct={...$0e,SET_MODALS:"SET_MODALS",SET_CAN_CLOSE_MODAL:"SET_CAN_CLOSE_MODAL",ADD_MESSAGE:"ADD_MESSAGE",REMOVE_MESSAGE:"REMOVE_MESSAGE",SET_VIEW_SETTINGS:"SET_VIEW_SETTINGS",RESET_VIEW_SETTINGS:"RESET_VIEW_SETTINGS",SET_ERROR:"SET_ERROR",RESET_ERROR:"RESET_ERROR",SET_SOCKET_CONNECTED:"SET_SOCKET_CONNECTED"};var UV={exports:{}},b1={exports:{}},zV=function(e,r){return function(){for(var a=new Array(arguments.length),i=0;i<a.length;i++)a[i]=arguments[i];return e.apply(r,a)}},A0e=zV,Ui=Object.prototype.toString;function w1(t){return Ui.call(t)==="[object Array]"}function x1(t){return typeof t>"u"}function R0e(t){return t!==null&&!x1(t)&&t.constructor!==null&&!x1(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function I0e(t){return Ui.call(t)==="[object ArrayBuffer]"}function N0e(t){return typeof FormData<"u"&&t instanceof FormData}function L0e(t){var e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function W0e(t){return typeof t=="string"}function F0e(t){return typeof t=="number"}function BV(t){return t!==null&&typeof t=="object"}function Ff(t){if(Ui.call(t)!=="[object Object]")return!1;var e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}function j0e(t){return Ui.call(t)==="[object Date]"}function V0e(t){return Ui.call(t)==="[object File]"}function U0e(t){return Ui.call(t)==="[object Blob]"}function HV(t){return Ui.call(t)==="[object Function]"}function z0e(t){return BV(t)&&HV(t.pipe)}function B0e(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function H0e(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function q0e(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function P1(t,e){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),w1(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.call(null,t[a],a,t)}function k1(){var t={};function e(a,i){Ff(t[i])&&Ff(a)?t[i]=k1(t[i],a):Ff(a)?t[i]=k1({},a):w1(a)?t[i]=a.slice():t[i]=a}for(var r=0,n=arguments.length;r<n;r++)P1(arguments[r],e);return t}function Y0e(t,e,r){return P1(e,function(a,i){r&&typeof a=="function"?t[i]=A0e(a,r):t[i]=a}),t}function G0e(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var Mr={isArray:w1,isArrayBuffer:I0e,isBuffer:R0e,isFormData:N0e,isArrayBufferView:L0e,isString:W0e,isNumber:F0e,isObject:BV,isPlainObject:Ff,isUndefined:x1,isDate:j0e,isFile:V0e,isBlob:U0e,isFunction:HV,isStream:z0e,isURLSearchParams:B0e,isStandardBrowserEnv:q0e,forEach:P1,merge:k1,extend:Y0e,trim:H0e,stripBOM:G0e},Ms=Mr;function qV(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var YV=function(e,r,n){if(!r)return e;var a;if(n)a=n(r);else if(Ms.isURLSearchParams(r))a=r.toString();else{var i=[];Ms.forEach(r,function(u,l){u===null||typeof u>"u"||(Ms.isArray(u)?l=l+"[]":u=[u],Ms.forEach(u,function(c){Ms.isDate(c)?c=c.toISOString():Ms.isObject(c)&&(c=JSON.stringify(c)),i.push(qV(l)+"="+qV(c))}))}),a=i.join("&")}if(a){var o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e},K0e=Mr;function jf(){this.handlers=[]}jf.prototype.use=function(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1},jf.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},jf.prototype.forEach=function(e){K0e.forEach(this.handlers,function(n){n!==null&&e(n)})};var X0e=jf,J0e=Mr,Q0e=function(e,r){J0e.forEach(e,function(a,i){i!==r&&i.toUpperCase()===r.toUpperCase()&&(e[r]=a,delete e[i])})},GV=function(e,r,n,a,i){return e.config=r,n&&(e.code=n),e.request=a,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e},Z0e=GV,KV=function(e,r,n,a,i){var o=new Error(e);return Z0e(o,r,n,a,i)},ewe=KV,twe=function(e,r,n){var a=n.config.validateStatus;!n.status||!a||a(n.status)?e(n):r(ewe("Request failed with status code "+n.status,n.config,null,n.request,n))},Vf=Mr,rwe=Vf.isStandardBrowserEnv()?function(){return{write:function(r,n,a,i,o,s){var u=[];u.push(r+"="+encodeURIComponent(n)),Vf.isNumber(a)&&u.push("expires="+new Date(a).toGMTString()),Vf.isString(i)&&u.push("path="+i),Vf.isString(o)&&u.push("domain="+o),s===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(r){var n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),nwe=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)},awe=function(e,r){return r?e.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):e},iwe=nwe,owe=awe,swe=function(e,r){return e&&!iwe(r)?owe(e,r):r},T1=Mr,uwe=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],lwe=function(e){var r={},n,a,i;return e&&T1.forEach(e.split(`
222
+ */function Aw(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}var Qde={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,r){var n=r.props,a=r.children,i=r.parent,o=r.data;o.routerView=!0;for(var s=i.$createElement,u=n.name,l=i.$route,d=i._routerViewCache||(i._routerViewCache={}),c=0,m=!1;i&&i._routerRoot!==i;)i.$vnode&&i.$vnode.data.routerView&&c++,i._inactive&&(m=!0),i=i.$parent;if(o.routerViewDepth=c,m)return s(d[u],o,a);var f=l.matched[c];if(!f)return d[u]=null,s();var p=d[u]=f.components[u];o.registerRouteInstance=function(b,g){var _=f.instances[u];(g&&_!==b||!g&&_===b)&&(f.instances[u]=g)},(o.hook||(o.hook={})).prepatch=function(b,g){f.instances[u]=g.componentInstance};var h=o.props=Zde(l,f.props&&f.props[u]);if(h){h=o.props=ece({},h);var v=o.attrs=o.attrs||{};for(var y in h)(!p.props||!(y in p.props))&&(v[y]=h[y],delete h[y])}return s(p,o,a)}};function Zde(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}function ece(t,e){for(var r in e)t[r]=e[r];return t}var tce=/[!'()*]/g,rce=function(t){return"%"+t.charCodeAt(0).toString(16)},nce=/%2C/g,cs=function(t){return encodeURIComponent(t).replace(tce,rce).replace(nce,",")},o3=decodeURIComponent;function ace(t,e,r){e===void 0&&(e={});var n=r||ice,a;try{a=n(t||"")}catch{a={}}for(var i in e)a[i]=e[i];return a}function ice(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t&&t.split("&").forEach(function(r){var n=r.replace(/\+/g," ").split("="),a=o3(n.shift()),i=n.length>0?o3(n.join("=")):null;e[a]===void 0?e[a]=i:Array.isArray(e[a])?e[a].push(i):e[a]=[e[a],i]}),e}function oce(t){var e=t?Object.keys(t).map(function(r){var n=t[r];if(n===void 0)return"";if(n===null)return cs(r);if(Array.isArray(n)){var a=[];return n.forEach(function(i){i!==void 0&&(i===null?a.push(cs(r)):a.push(cs(r)+"="+cs(i)))}),a.join("&")}return cs(r)+"="+cs(n)}).filter(function(r){return r.length>0}).join("&"):null;return e?"?"+e:""}var yf=/\/?$/;function _f(t,e,r,n){var a=n&&n.options.stringifyQuery,i=e.query||{};try{i=Rw(i)}catch{}var o={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:s3(e,a),matched:t?sce(t):[]};return r&&(o.redirectedFrom=s3(r,a)),Object.freeze(o)}function Rw(t){if(Array.isArray(t))return t.map(Rw);if(t&&typeof t=="object"){var e={};for(var r in t)e[r]=Rw(t[r]);return e}else return t}var bf=_f(null,{path:"/"});function sce(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function s3(t,e){var r=t.path,n=t.query;n===void 0&&(n={});var a=t.hash;a===void 0&&(a="");var i=e||oce;return(r||"/")+i(n)+a}function u3(t,e){return e===bf?t===e:e?t.path&&e.path?t.path.replace(yf,"")===e.path.replace(yf,"")&&t.hash===e.hash&&wf(t.query,e.query):t.name&&e.name?t.name===e.name&&t.hash===e.hash&&wf(t.query,e.query)&&wf(t.params,e.params):!1:!1}function wf(t,e){if(t===void 0&&(t={}),e===void 0&&(e={}),!t||!e)return t===e;var r=Object.keys(t),n=Object.keys(e);return r.length!==n.length?!1:r.every(function(a){var i=t[a],o=e[a];return typeof i=="object"&&typeof o=="object"?wf(i,o):String(i)===String(o)})}function uce(t,e){return t.path.replace(yf,"/").indexOf(e.path.replace(yf,"/"))===0&&(!e.hash||t.hash===e.hash)&&lce(t.query,e.query)}function lce(t,e){for(var r in e)if(!(r in t))return!1;return!0}var dce=[String,Object],cce=[String,Array],fce={name:"router-link",props:{to:{type:dce,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:cce,default:"click"}},render:function(e){var r=this,n=this.$router,a=this.$route,i=n.resolve(this.to,a,this.append),o=i.location,s=i.route,u=i.href,l={},d=n.options.linkActiveClass,c=n.options.linkExactActiveClass,m=d==null?"router-link-active":d,f=c==null?"router-link-exact-active":c,p=this.activeClass==null?m:this.activeClass,h=this.exactActiveClass==null?f:this.exactActiveClass,v=o.path?_f(null,o,null,n):s;l[h]=u3(a,v),l[p]=this.exact?l[h]:uce(a,v);var y=function(D){l3(D)&&(r.replace?n.replace(o):n.push(o))},b={click:l3};Array.isArray(this.event)?this.event.forEach(function(D){b[D]=y}):b[this.event]=y;var g={class:l};if(this.tag==="a")g.on=b,g.attrs={href:u};else{var _=d3(this.$slots.default);if(_){_.isStatic=!1;var w=cl.util.extend,x=_.data=w({},_.data);x.on=b;var k=_.data.attrs=w({},_.data.attrs);k.href=u}else g.on=b}return e(this.tag,g,this.$slots.default)}};function l3(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function d3(t){if(t){for(var e,r=0;r<t.length;r++)if(e=t[r],e.tag==="a"||e.children&&(e=d3(e.children)))return e}}var cl;function Iw(t){if(!(Iw.installed&&cl===t)){Iw.installed=!0,cl=t;var e=function(a){return a!==void 0},r=function(a,i){var o=a.$options._parentVnode;e(o)&&e(o=o.data)&&e(o=o.registerRouteInstance)&&o(a,i)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("router-view",Qde),t.component("router-link",fce);var n=t.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}}var fl=typeof window<"u";function c3(t,e,r){var n=t.charAt(0);if(n==="/")return t;if(n==="?"||n==="#")return e+t;var a=e.split("/");(!r||!a[a.length-1])&&a.pop();for(var i=t.replace(/^\//,"").split("/"),o=0;o<i.length;o++){var s=i[o];s===".."?a.pop():s!=="."&&a.push(s)}return a[0]!==""&&a.unshift(""),a.join("/")}function mce(t){var e="",r="",n=t.indexOf("#");n>=0&&(e=t.slice(n),t=t.slice(0,n));var a=t.indexOf("?");return a>=0&&(r=t.slice(a+1),t=t.slice(0,a)),{path:t,query:r,hash:e}}function Wi(t){return t.replace(/\/\//g,"/")}var xf=Array.isArray||function(t){return Object.prototype.toString.call(t)=="[object Array]"},fs=h3,pce=Nw,hce=_ce,vce=f3,gce=p3,yce=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function Nw(t,e){for(var r=[],n=0,a=0,i="",o=e&&e.delimiter||"/",s;(s=yce.exec(t))!=null;){var u=s[0],l=s[1],d=s.index;if(i+=t.slice(a,d),a=d+u.length,l){i+=l[1];continue}var c=t[a],m=s[2],f=s[3],p=s[4],h=s[5],v=s[6],y=s[7];i&&(r.push(i),i="");var b=m!=null&&c!=null&&c!==m,g=v==="+"||v==="*",_=v==="?"||v==="*",w=s[2]||o,x=p||h;r.push({name:f||n++,prefix:m||"",delimiter:w,optional:_,repeat:g,partial:b,asterisk:!!y,pattern:x?xce(x):y?".*":"[^"+Pf(w)+"]+?"})}return a<t.length&&(i+=t.substr(a)),i&&r.push(i),r}function _ce(t,e){return f3(Nw(t,e))}function bce(t){return encodeURI(t).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function wce(t){return encodeURI(t).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function f3(t){for(var e=new Array(t.length),r=0;r<t.length;r++)typeof t[r]=="object"&&(e[r]=new RegExp("^(?:"+t[r].pattern+")$"));return function(n,a){for(var i="",o=n||{},s=a||{},u=s.pretty?bce:encodeURIComponent,l=0;l<t.length;l++){var d=t[l];if(typeof d=="string"){i+=d;continue}var c=o[d.name],m;if(c==null)if(d.optional){d.partial&&(i+=d.prefix);continue}else throw new TypeError('Expected "'+d.name+'" to be defined');if(xf(c)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(c)+"`");if(c.length===0){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var f=0;f<c.length;f++){if(m=u(c[f]),!e[l].test(m))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(m)+"`");i+=(f===0?d.prefix:d.delimiter)+m}continue}if(m=d.asterisk?wce(c):u(c),!e[l].test(m))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+m+'"');i+=d.prefix+m}return i}}function Pf(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function xce(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function Lw(t,e){return t.keys=e,t}function m3(t){return t.sensitive?"":"i"}function Pce(t,e){var r=t.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)e.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return Lw(t,e)}function kce(t,e,r){for(var n=[],a=0;a<t.length;a++)n.push(h3(t[a],e,r).source);var i=new RegExp("(?:"+n.join("|")+")",m3(r));return Lw(i,e)}function Tce(t,e,r){return p3(Nw(t,r),e,r)}function p3(t,e,r){xf(e)||(r=e||r,e=[]),r=r||{};for(var n=r.strict,a=r.end!==!1,i="",o=0;o<t.length;o++){var s=t[o];if(typeof s=="string")i+=Pf(s);else{var u=Pf(s.prefix),l="(?:"+s.pattern+")";e.push(s),s.repeat&&(l+="(?:"+u+l+")*"),s.optional?s.partial?l=u+"("+l+")?":l="(?:"+u+"("+l+"))?":l=u+"("+l+")",i+=l}}var d=Pf(r.delimiter||"/"),c=i.slice(-d.length)===d;return n||(i=(c?i.slice(0,-d.length):i)+"(?:"+d+"(?=$))?"),a?i+="$":i+=n&&c?"":"(?="+d+"|$)",Lw(new RegExp("^"+i,m3(r)),e)}function h3(t,e,r){return xf(e)||(r=e||r,e=[]),r=r||{},t instanceof RegExp?Pce(t,e):xf(t)?kce(t,e,r):Tce(t,e,r)}fs.parse=pce,fs.compile=hce,fs.tokensToFunction=vce,fs.tokensToRegExp=gce;var v3=Object.create(null);function kf(t,e,r){try{var n=v3[t]||(v3[t]=fs.compile(t));return n(e||{},{pretty:!0})}catch{return""}}function g3(t,e,r,n){var a=e||[],i=r||Object.create(null),o=n||Object.create(null);t.forEach(function(l){Ww(a,i,o,l)});for(var s=0,u=a.length;s<u;s++)a[s]==="*"&&(a.push(a.splice(s,1)[0]),u--,s--);return{pathList:a,pathMap:i,nameMap:o}}function Ww(t,e,r,n,a,i){var o=n.path,s=n.name,u=n.pathToRegexpOptions||{},l=Mce(o,a,u.strict);typeof n.caseSensitive=="boolean"&&(u.sensitive=n.caseSensitive);var d={path:l,regex:Ece(l,u),components:n.components||{default:n.component},instances:{},name:s,parent:a,matchAs:i,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:n.props==null?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach(function(m){var f=i?Wi(i+"/"+m.path):void 0;Ww(t,e,r,m,d,f)}),n.alias!==void 0){var c=Array.isArray(n.alias)?n.alias:[n.alias];c.forEach(function(m){var f={path:m,children:n.children};Ww(t,e,r,f,a,d.path||"/")})}e[d.path]||(t.push(d.path),e[d.path]=d),s&&(r[s]||(r[s]=d))}function Ece(t,e){var r=fs(t,[],e);return r}function Mce(t,e,r){return r||(t=t.replace(/\/$/,"")),t[0]==="/"||e==null?t:Wi(e.path+"/"+t)}function y3(t,e,r,n){var a=typeof t=="string"?{path:t}:t;if(a.name||a._normalized)return a;if(!a.path&&a.params&&e){a=Fw({},a),a._normalized=!0;var i=Fw(Fw({},e.params),a.params);if(e.name)a.name=e.name,a.params=i;else if(e.matched.length){var o=e.matched[e.matched.length-1].path;a.path=kf(o,i,"path "+e.path)}return a}var s=mce(a.path||""),u=e&&e.path||"/",l=s.path?c3(s.path,u,r||a.append):u,d=ace(s.query,a.query,n&&n.options.parseQuery),c=a.hash||s.hash;return c&&c.charAt(0)!=="#"&&(c="#"+c),{_normalized:!0,path:l,query:d,hash:c}}function Fw(t,e){for(var r in e)t[r]=e[r];return t}function Sce(t,e){var r=g3(t),n=r.pathList,a=r.pathMap,i=r.nameMap;function o(c){g3(c,n,a,i)}function s(c,m,f){var p=y3(c,m,!1,e),h=p.name;if(h){var v=i[h];if(!v)return d(null,p);var y=v.regex.keys.filter(function(x){return!x.optional}).map(function(x){return x.name});if(typeof p.params!="object"&&(p.params={}),m&&typeof m.params=="object")for(var b in m.params)!(b in p.params)&&y.indexOf(b)>-1&&(p.params[b]=m.params[b]);if(v)return p.path=kf(v.path,p.params),d(v,p,f)}else if(p.path){p.params={};for(var g=0;g<n.length;g++){var _=n[g],w=a[_];if(Oce(w.regex,p.path,p.params))return d(w,p,f)}}return d(null,p)}function u(c,m){var f=c.redirect,p=typeof f=="function"?f(_f(c,m,null,e)):f;if(typeof p=="string"&&(p={path:p}),!p||typeof p!="object")return d(null,m);var h=p,v=h.name,y=h.path,b=m.query,g=m.hash,_=m.params;if(b=h.hasOwnProperty("query")?h.query:b,g=h.hasOwnProperty("hash")?h.hash:g,_=h.hasOwnProperty("params")?h.params:_,v)return i[v],s({_normalized:!0,name:v,query:b,hash:g,params:_},void 0,m);if(y){var w=Cce(y,c),x=kf(w,_);return s({_normalized:!0,path:x,query:b,hash:g},void 0,m)}else return d(null,m)}function l(c,m,f){var p=kf(f,m.params),h=s({_normalized:!0,path:p});if(h){var v=h.matched,y=v[v.length-1];return m.params=h.params,d(y,m)}return d(null,m)}function d(c,m,f){return c&&c.redirect?u(c,f||m):c&&c.matchAs?l(c,m,c.matchAs):_f(c,m,f,e)}return{match:s,addRoutes:o}}function Oce(t,e,r){var n=e.match(t);if(n){if(!r)return!0}else return!1;for(var a=1,i=n.length;a<i;++a){var o=t.keys[a-1],s=typeof n[a]=="string"?decodeURIComponent(n[a]):n[a];o&&(r[o.name]=s)}return!0}function Cce(t,e){return c3(t,e.parent?e.parent.path:"/",!0)}var _3=Object.create(null);function b3(){window.history.replaceState({key:jw()},""),window.addEventListener("popstate",function(t){w3(),t.state&&t.state.key&&Ice(t.state.key)})}function ms(t,e,r,n){if(!!t.app){var a=t.options.scrollBehavior;!a||t.app.$nextTick(function(){var i=Dce(),o=a(e,r,n?i:null);!o||(typeof o.then=="function"?o.then(function(s){k3(s,i)}).catch(function(s){}):k3(o,i))})}}function w3(){var t=jw();t&&(_3[t]={x:window.pageXOffset,y:window.pageYOffset})}function Dce(){var t=jw();if(t)return _3[t]}function $ce(t,e){var r=document.documentElement,n=r.getBoundingClientRect(),a=t.getBoundingClientRect();return{x:a.left-n.left-e.x,y:a.top-n.top-e.y}}function x3(t){return ps(t.x)||ps(t.y)}function P3(t){return{x:ps(t.x)?t.x:window.pageXOffset,y:ps(t.y)?t.y:window.pageYOffset}}function Ace(t){return{x:ps(t.x)?t.x:0,y:ps(t.y)?t.y:0}}function ps(t){return typeof t=="number"}function k3(t,e){var r=typeof t=="object";if(r&&typeof t.selector=="string"){var n=document.querySelector(t.selector);if(n){var a=t.offset&&typeof t.offset=="object"?t.offset:{};a=Ace(a),e=$ce(n,a)}else x3(t)&&(e=P3(t))}else r&&x3(t)&&(e=P3(t));e&&window.scrollTo(e.x,e.y)}var hs=fl&&function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")!==-1||t.indexOf("Android 4.0")!==-1)&&t.indexOf("Mobile Safari")!==-1&&t.indexOf("Chrome")===-1&&t.indexOf("Windows Phone")===-1?!1:window.history&&"pushState"in window.history}(),Rce=fl&&window.performance&&window.performance.now?window.performance:Date,ml=T3();function T3(){return Rce.now().toFixed(3)}function jw(){return ml}function Ice(t){ml=t}function Tf(t,e){w3();var r=window.history;try{e?r.replaceState({key:ml},"",t):(ml=T3(),r.pushState({key:ml},"",t))}catch{window.location[e?"replace":"assign"](t)}}function Vw(t){Tf(t,!0)}function E3(t,e,r){var n=function(a){a>=t.length?r():t[a]?e(t[a],function(){n(a+1)}):n(a+1)};n(0)}function Nce(t){return function(e,r,n){var a=!1,i=0,o=null;M3(t,function(s,u,l,d){if(typeof s=="function"&&s.cid===void 0){a=!0,i++;var c=O3(function(h){Wce(h)&&(h=h.default),s.resolved=typeof h=="function"?h:cl.extend(h),l.components[d]=h,i--,i<=0&&n()}),m=O3(function(h){var v="Failed to resolve async component "+d+": "+h;o||(o=Aw(h)?h:new Error(v),n(o))}),f;try{f=s(c,m)}catch(h){m(h)}if(f)if(typeof f.then=="function")f.then(c,m);else{var p=f.component;p&&typeof p.then=="function"&&p.then(c,m)}}}),a||n()}}function M3(t,e){return S3(t.map(function(r){return Object.keys(r.components).map(function(n){return e(r.components[n],r.instances[n],r,n)})}))}function S3(t){return Array.prototype.concat.apply([],t)}var Lce=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Wce(t){return t.__esModule||Lce&&t[Symbol.toStringTag]==="Module"}function O3(t){var e=!1;return function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];if(!e)return e=!0,t.apply(this,r)}}var aa=function(e,r){this.router=e,this.base=Fce(r),this.current=bf,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};aa.prototype.listen=function(e){this.cb=e},aa.prototype.onReady=function(e,r){this.ready?e():(this.readyCbs.push(e),r&&this.readyErrorCbs.push(r))},aa.prototype.onError=function(e){this.errorCbs.push(e)},aa.prototype.transitionTo=function(e,r,n){var a=this,i=this.router.match(e,this.current);this.confirmTransition(i,function(){a.updateRoute(i),r&&r(i),a.ensureURL(),a.ready||(a.ready=!0,a.readyCbs.forEach(function(o){o(i)}))},function(o){n&&n(o),o&&!a.ready&&(a.ready=!0,a.readyErrorCbs.forEach(function(s){s(o)}))})},aa.prototype.confirmTransition=function(e,r,n){var a=this,i=this.current,o=function(f){Aw(f)&&(a.errorCbs.length?a.errorCbs.forEach(function(p){p(f)}):console.error(f)),n&&n(f)};if(u3(e,i)&&e.matched.length===i.matched.length)return this.ensureURL(),o();var s=jce(this.current.matched,e.matched),u=s.updated,l=s.deactivated,d=s.activated,c=[].concat(Uce(l),this.router.beforeHooks,zce(u),d.map(function(f){return f.beforeEnter}),Nce(d));this.pending=e;var m=function(f,p){if(a.pending!==e)return o();try{f(e,i,function(h){h===!1||Aw(h)?(a.ensureURL(!0),o(h)):typeof h=="string"||typeof h=="object"&&(typeof h.path=="string"||typeof h.name=="string")?(o(),typeof h=="object"&&h.replace?a.replace(h):a.push(h)):p(h)})}catch(h){o(h)}};E3(c,m,function(){var f=[],p=function(){return a.current===e},h=Bce(d,f,p),v=h.concat(a.router.resolveHooks);E3(v,m,function(){if(a.pending!==e)return o();a.pending=null,r(e),a.router.app&&a.router.app.$nextTick(function(){f.forEach(function(y){y()})})})})},aa.prototype.updateRoute=function(e){var r=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach(function(n){n&&n(e,r)})};function Fce(t){if(!t)if(fl){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return t.charAt(0)!=="/"&&(t="/"+t),t.replace(/\/$/,"")}function jce(t,e){var r,n=Math.max(t.length,e.length);for(r=0;r<n&&t[r]===e[r];r++);return{updated:e.slice(0,r),activated:e.slice(r),deactivated:t.slice(r)}}function Uw(t,e,r,n){var a=M3(t,function(i,o,s,u){var l=Vce(i,e);if(l)return Array.isArray(l)?l.map(function(d){return r(d,o,s,u)}):r(l,o,s,u)});return S3(n?a.reverse():a)}function Vce(t,e){return typeof t!="function"&&(t=cl.extend(t)),t.options[e]}function Uce(t){return Uw(t,"beforeRouteLeave",C3,!0)}function zce(t){return Uw(t,"beforeRouteUpdate",C3)}function C3(t,e){if(e)return function(){return t.apply(e,arguments)}}function Bce(t,e,r){return Uw(t,"beforeRouteEnter",function(n,a,i,o){return Hce(n,i,o,e,r)})}function Hce(t,e,r,n,a){return function(o,s,u){return t(o,s,function(l){u(l),typeof l=="function"&&n.push(function(){D3(l,e.instances,r,a)})})}}function D3(t,e,r,n){e[r]?t(e[r]):n()&&setTimeout(function(){D3(t,e,r,n)},16)}var $3=function(t){function e(r,n){var a=this;t.call(this,r,n);var i=r.options.scrollBehavior;i&&b3();var o=pl(this.base);window.addEventListener("popstate",function(s){var u=a.current,l=pl(a.base);a.current===bf&&l===o||a.transitionTo(l,function(d){i&&ms(r,d,u,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(n){window.history.go(n)},e.prototype.push=function(n,a,i){var o=this,s=this,u=s.current;this.transitionTo(n,function(l){Tf(Wi(o.base+l.fullPath)),ms(o.router,l,u,!1),a&&a(l)},i)},e.prototype.replace=function(n,a,i){var o=this,s=this,u=s.current;this.transitionTo(n,function(l){Vw(Wi(o.base+l.fullPath)),ms(o.router,l,u,!1),a&&a(l)},i)},e.prototype.ensureURL=function(n){if(pl(this.base)!==this.current.fullPath){var a=Wi(this.base+this.current.fullPath);n?Tf(a):Vw(a)}},e.prototype.getCurrentLocation=function(){return pl(this.base)},e}(aa);function pl(t){var e=window.location.pathname;return t&&e.indexOf(t)===0&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var A3=function(t){function e(r,n,a){t.call(this,r,n),!(a&&qce(this.base))&&R3()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var n=this,a=this.router,i=a.options.scrollBehavior,o=hs&&i;o&&b3(),window.addEventListener(hs?"popstate":"hashchange",function(){var s=n.current;!R3()||n.transitionTo(Ef(),function(u){o&&ms(n.router,u,s,!0),hs||Mf(u.fullPath)})})},e.prototype.push=function(n,a,i){var o=this,s=this,u=s.current;this.transitionTo(n,function(l){I3(l.fullPath),ms(o.router,l,u,!1),a&&a(l)},i)},e.prototype.replace=function(n,a,i){var o=this,s=this,u=s.current;this.transitionTo(n,function(l){Mf(l.fullPath),ms(o.router,l,u,!1),a&&a(l)},i)},e.prototype.go=function(n){window.history.go(n)},e.prototype.ensureURL=function(n){var a=this.current.fullPath;Ef()!==a&&(n?I3(a):Mf(a))},e.prototype.getCurrentLocation=function(){return Ef()},e}(aa);function qce(t){var e=pl(t);if(!/^\/#/.test(e))return window.location.replace(Wi(t+"/#"+e)),!0}function R3(){var t=Ef();return t.charAt(0)==="/"?!0:(Mf("/"+t),!1)}function Ef(){var t=window.location.href,e=t.indexOf("#");return e===-1?"":t.slice(e+1)}function zw(t){var e=window.location.href,r=e.indexOf("#"),n=r>=0?e.slice(0,r):e;return n+"#"+t}function I3(t){hs?Tf(zw(t)):window.location.hash=t}function Mf(t){hs?Vw(zw(t)):window.location.replace(zw(t))}var Yce=function(t){function e(r,n){t.call(this,r,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(n,a,i){var o=this;this.transitionTo(n,function(s){o.stack=o.stack.slice(0,o.index+1).concat(s),o.index++,a&&a(s)},i)},e.prototype.replace=function(n,a,i){var o=this;this.transitionTo(n,function(s){o.stack=o.stack.slice(0,o.index).concat(s),a&&a(s)},i)},e.prototype.go=function(n){var a=this,i=this.index+n;if(!(i<0||i>=this.stack.length)){var o=this.stack[i];this.confirmTransition(o,function(){a.index=i,a.updateRoute(o)})}},e.prototype.getCurrentLocation=function(){var n=this.stack[this.stack.length-1];return n?n.fullPath:"/"},e.prototype.ensureURL=function(){},e}(aa),Ot=function(e){e===void 0&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Sce(e.routes||[],this);var r=e.mode||"hash";switch(this.fallback=r==="history"&&!hs&&e.fallback!==!1,this.fallback&&(r="hash"),fl||(r="abstract"),this.mode=r,r){case"history":this.history=new $3(this,e.base);break;case"hash":this.history=new A3(this,e.base,this.fallback);break;case"abstract":this.history=new Yce(this,e.base);break}},N3={currentRoute:{configurable:!0}};Ot.prototype.match=function(e,r,n){return this.matcher.match(e,r,n)},N3.currentRoute.get=function(){return this.history&&this.history.current},Ot.prototype.init=function(e){var r=this;if(this.apps.push(e),!this.app){this.app=e;var n=this.history;if(n instanceof $3)n.transitionTo(n.getCurrentLocation());else if(n instanceof A3){var a=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),a,a)}n.listen(function(i){r.apps.forEach(function(o){o._route=i})})}},Ot.prototype.beforeEach=function(e){return Bw(this.beforeHooks,e)},Ot.prototype.beforeResolve=function(e){return Bw(this.resolveHooks,e)},Ot.prototype.afterEach=function(e){return Bw(this.afterHooks,e)},Ot.prototype.onReady=function(e,r){this.history.onReady(e,r)},Ot.prototype.onError=function(e){this.history.onError(e)},Ot.prototype.push=function(e,r,n){this.history.push(e,r,n)},Ot.prototype.replace=function(e,r,n){this.history.replace(e,r,n)},Ot.prototype.go=function(e){this.history.go(e)},Ot.prototype.back=function(){this.go(-1)},Ot.prototype.forward=function(){this.go(1)},Ot.prototype.getMatchedComponents=function(e){var r=e?e.matched?e:this.resolve(e).route:this.currentRoute;return r?[].concat.apply([],r.matched.map(function(n){return Object.keys(n.components).map(function(a){return n.components[a]})})):[]},Ot.prototype.resolve=function(e,r,n){var a=y3(e,r||this.history.current,n,this),i=this.match(a,r),o=i.redirectedFrom||i.fullPath,s=this.history.base,u=Gce(s,o,this.mode);return{location:a,route:i,href:u,normalizedTo:a,resolved:i}},Ot.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==bf&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ot.prototype,N3);function Bw(t,e){return t.push(e),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function Gce(t,e,r){var n=r==="hash"?"#"+e:e;return t?Wi(t+"/"+n):n}Ot.install=Iw,Ot.version="3.0.1",fl&&window.Vue&&window.Vue.use(Ot);const Kce=[{name:"DocFormSend",path:"/send",component:()=>Promise.resolve().then(()=>Ttt),props:!0,meta:{mode:"drawer",placement:"right",width:620}},{name:"DocSendReminder",path:"/reminder",component:()=>Promise.resolve().then(()=>Ntt),props:!0,meta:{mode:"modal",placement:"center",width:400}}];ie.use(Ot);const vs=new Ot({mode:"abstract",routes:Kce});var Xce=function(e){return Jce(e)&&!Qce(e)};function Jce(t){return!!t&&typeof t=="object"}function Qce(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||tfe(t)}var Zce=typeof Symbol=="function"&&Symbol.for,efe=Zce?Symbol.for("react.element"):60103;function tfe(t){return t.$$typeof===efe}function rfe(t){return Array.isArray(t)?[]:{}}function hl(t,e){return e.clone!==!1&&e.isMergeableObject(t)?gs(rfe(t),t,e):t}function nfe(t,e,r){return t.concat(e).map(function(n){return hl(n,r)})}function afe(t,e){if(!e.customMerge)return gs;var r=e.customMerge(t);return typeof r=="function"?r:gs}function ife(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]}function L3(t){return Object.keys(t).concat(ife(t))}function W3(t,e){try{return e in t}catch{return!1}}function ofe(t,e){return W3(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function sfe(t,e,r){var n={};return r.isMergeableObject(t)&&L3(t).forEach(function(a){n[a]=hl(t[a],r)}),L3(e).forEach(function(a){ofe(t,a)||(W3(t,a)&&r.isMergeableObject(e[a])?n[a]=afe(a,r)(t[a],e[a],r):n[a]=hl(e[a],r))}),n}function gs(t,e,r){r=r||{},r.arrayMerge=r.arrayMerge||nfe,r.isMergeableObject=r.isMergeableObject||Xce,r.cloneUnlessOtherwiseSpecified=hl;var n=Array.isArray(e),a=Array.isArray(t),i=n===a;return i?n?r.arrayMerge(t,e,r):sfe(t,e,r):hl(e,r)}gs.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,a){return gs(n,a,r)},{})};var ufe=gs,Hw=ufe,lfe=Array.isArray,Tn=lfe,dfe=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,F3=dfe,cfe=F3,ffe=typeof self=="object"&&self&&self.Object===Object&&self,mfe=cfe||ffe||Function("return this")(),tn=mfe,pfe=tn,hfe=pfe.Symbol,ys=hfe,j3=ys,V3=Object.prototype,vfe=V3.hasOwnProperty,gfe=V3.toString,vl=j3?j3.toStringTag:void 0;function yfe(t){var e=vfe.call(t,vl),r=t[vl];try{t[vl]=void 0;var n=!0}catch{}var a=gfe.call(t);return n&&(e?t[vl]=r:delete t[vl]),a}var _fe=yfe,bfe=Object.prototype,wfe=bfe.toString;function xfe(t){return wfe.call(t)}var Pfe=xfe,U3=ys,kfe=_fe,Tfe=Pfe,Efe="[object Null]",Mfe="[object Undefined]",z3=U3?U3.toStringTag:void 0;function Sfe(t){return t==null?t===void 0?Mfe:Efe:z3&&z3 in Object(t)?kfe(t):Tfe(t)}var _s=Sfe;function Ofe(t){return t!=null&&typeof t=="object"}var ia=Ofe,Cfe=_s,Dfe=ia,$fe="[object Symbol]";function Afe(t){return typeof t=="symbol"||Dfe(t)&&Cfe(t)==$fe}var Sf=Afe,Rfe=Tn,Ife=Sf,Nfe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lfe=/^\w*$/;function Wfe(t,e){if(Rfe(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||Ife(t)?!0:Lfe.test(t)||!Nfe.test(t)||e!=null&&t in Object(e)}var qw=Wfe;function Ffe(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var oa=Ffe,jfe=_s,Vfe=oa,Ufe="[object AsyncFunction]",zfe="[object Function]",Bfe="[object GeneratorFunction]",Hfe="[object Proxy]";function qfe(t){if(!Vfe(t))return!1;var e=jfe(t);return e==zfe||e==Bfe||e==Ufe||e==Hfe}var B3=qfe,Yfe=tn,Gfe=Yfe["__core-js_shared__"],Kfe=Gfe,Yw=Kfe,H3=function(){var t=/[^.]+$/.exec(Yw&&Yw.keys&&Yw.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Xfe(t){return!!H3&&H3 in t}var Jfe=Xfe,Qfe=Function.prototype,Zfe=Qfe.toString;function eme(t){if(t!=null){try{return Zfe.call(t)}catch{}try{return t+""}catch{}}return""}var q3=eme,tme=B3,rme=Jfe,nme=oa,ame=q3,ime=/[\\^$.*+?()[\]{}|]/g,ome=/^\[object .+?Constructor\]$/,sme=Function.prototype,ume=Object.prototype,lme=sme.toString,dme=ume.hasOwnProperty,cme=RegExp("^"+lme.call(dme).replace(ime,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function fme(t){if(!nme(t)||rme(t))return!1;var e=tme(t)?cme:ome;return e.test(ame(t))}var mme=fme;function pme(t,e){return t==null?void 0:t[e]}var hme=pme,vme=mme,gme=hme;function yme(t,e){var r=gme(t,e);return vme(r)?r:void 0}var Fi=yme,_me=Fi,bme=_me(Object,"create"),Of=bme,Y3=Of;function wme(){this.__data__=Y3?Y3(null):{},this.size=0}var xme=wme;function Pme(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var kme=Pme,Tme=Of,Eme="__lodash_hash_undefined__",Mme=Object.prototype,Sme=Mme.hasOwnProperty;function Ome(t){var e=this.__data__;if(Tme){var r=e[t];return r===Eme?void 0:r}return Sme.call(e,t)?e[t]:void 0}var Cme=Ome,Dme=Of,$me=Object.prototype,Ame=$me.hasOwnProperty;function Rme(t){var e=this.__data__;return Dme?e[t]!==void 0:Ame.call(e,t)}var Ime=Rme,Nme=Of,Lme="__lodash_hash_undefined__";function Wme(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Nme&&e===void 0?Lme:e,this}var Fme=Wme,jme=xme,Vme=kme,Ume=Cme,zme=Ime,Bme=Fme;function bs(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}bs.prototype.clear=jme,bs.prototype.delete=Vme,bs.prototype.get=Ume,bs.prototype.has=zme,bs.prototype.set=Bme;var Hme=bs;function qme(){this.__data__=[],this.size=0}var Yme=qme;function Gme(t,e){return t===e||t!==t&&e!==e}var Gw=Gme,Kme=Gw;function Xme(t,e){for(var r=t.length;r--;)if(Kme(t[r][0],e))return r;return-1}var Cf=Xme,Jme=Cf,Qme=Array.prototype,Zme=Qme.splice;function epe(t){var e=this.__data__,r=Jme(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():Zme.call(e,r,1),--this.size,!0}var tpe=epe,rpe=Cf;function npe(t){var e=this.__data__,r=rpe(e,t);return r<0?void 0:e[r][1]}var ape=npe,ipe=Cf;function ope(t){return ipe(this.__data__,t)>-1}var spe=ope,upe=Cf;function lpe(t,e){var r=this.__data__,n=upe(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}var dpe=lpe,cpe=Yme,fpe=tpe,mpe=ape,ppe=spe,hpe=dpe;function ws(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ws.prototype.clear=cpe,ws.prototype.delete=fpe,ws.prototype.get=mpe,ws.prototype.has=ppe,ws.prototype.set=hpe;var Df=ws,vpe=Fi,gpe=tn,ype=vpe(gpe,"Map"),Kw=ype,G3=Hme,_pe=Df,bpe=Kw;function wpe(){this.size=0,this.__data__={hash:new G3,map:new(bpe||_pe),string:new G3}}var xpe=wpe;function Ppe(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var kpe=Ppe,Tpe=kpe;function Epe(t,e){var r=t.__data__;return Tpe(e)?r[typeof e=="string"?"string":"hash"]:r.map}var $f=Epe,Mpe=$f;function Spe(t){var e=Mpe(this,t).delete(t);return this.size-=e?1:0,e}var Ope=Spe,Cpe=$f;function Dpe(t){return Cpe(this,t).get(t)}var $pe=Dpe,Ape=$f;function Rpe(t){return Ape(this,t).has(t)}var Ipe=Rpe,Npe=$f;function Lpe(t,e){var r=Npe(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}var Wpe=Lpe,Fpe=xpe,jpe=Ope,Vpe=$pe,Upe=Ipe,zpe=Wpe;function xs(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}xs.prototype.clear=Fpe,xs.prototype.delete=jpe,xs.prototype.get=Vpe,xs.prototype.has=Upe,xs.prototype.set=zpe;var Xw=xs,K3=Xw,Bpe="Expected a function";function Jw(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(Bpe);var r=function(){var n=arguments,a=e?e.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=t.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(Jw.Cache||K3),r}Jw.Cache=K3;var Hpe=Jw,qpe=Hpe,Ype=500;function Gpe(t){var e=qpe(t,function(n){return r.size===Ype&&r.clear(),n}),r=e.cache;return e}var Kpe=Gpe,Xpe=Kpe,Jpe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qpe=/\\(\\)?/g,Zpe=Xpe(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Jpe,function(r,n,a,i){e.push(a?i.replace(Qpe,"$1"):n||r)}),e}),ehe=Zpe;function the(t,e){for(var r=-1,n=t==null?0:t.length,a=Array(n);++r<n;)a[r]=e(t[r],r,t);return a}var X3=the,J3=ys,rhe=X3,nhe=Tn,ahe=Sf,ihe=1/0,Q3=J3?J3.prototype:void 0,Z3=Q3?Q3.toString:void 0;function eV(t){if(typeof t=="string")return t;if(nhe(t))return rhe(t,eV)+"";if(ahe(t))return Z3?Z3.call(t):"";var e=t+"";return e=="0"&&1/t==-ihe?"-0":e}var ohe=eV,she=ohe;function uhe(t){return t==null?"":she(t)}var lhe=uhe,dhe=Tn,che=qw,fhe=ehe,mhe=lhe;function phe(t,e){return dhe(t)?t:che(t,e)?[t]:fhe(mhe(t))}var Af=phe,hhe=Sf,vhe=1/0;function ghe(t){if(typeof t=="string"||hhe(t))return t;var e=t+"";return e=="0"&&1/t==-vhe?"-0":e}var Ps=ghe,yhe=Af,_he=Ps;function bhe(t,e){e=yhe(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[_he(e[r++])];return r&&r==n?t:void 0}var Qw=bhe,whe=Qw;function xhe(t,e,r){var n=t==null?void 0:whe(t,e);return n===void 0?r:n}var ee=xhe,Phe=Fi,khe=function(){try{var t=Phe(Object,"defineProperty");return t({},"",{}),t}catch{}}(),tV=khe,rV=tV;function The(t,e,r){e=="__proto__"&&rV?rV(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var nV=The,Ehe=nV,Mhe=Gw,She=Object.prototype,Ohe=She.hasOwnProperty;function Che(t,e,r){var n=t[e];(!(Ohe.call(t,e)&&Mhe(n,r))||r===void 0&&!(e in t))&&Ehe(t,e,r)}var Zw=Che,Dhe=9007199254740991,$he=/^(?:0|[1-9]\d*)$/;function Ahe(t,e){var r=typeof t;return e=e==null?Dhe:e,!!e&&(r=="number"||r!="symbol"&&$he.test(t))&&t>-1&&t%1==0&&t<e}var e1=Ahe,Rhe=Zw,Ihe=Af,Nhe=e1,aV=oa,Lhe=Ps;function Whe(t,e,r,n){if(!aV(t))return t;e=Ihe(e,t);for(var a=-1,i=e.length,o=i-1,s=t;s!=null&&++a<i;){var u=Lhe(e[a]),l=r;if(u==="__proto__"||u==="constructor"||u==="prototype")return t;if(a!=o){var d=s[u];l=n?n(d,u,s):void 0,l===void 0&&(l=aV(d)?d:Nhe(e[a+1])?[]:{})}Rhe(s,u,l),s=s[u]}return t}var Fhe=Whe,jhe=Fhe;function Vhe(t,e,r){return t==null?t:jhe(t,e,r)}var Ut=Vhe;const Uhe=t=>{const e=t||{},r=e.key||"vuex";function n(c){try{const m=Fe.getItem(c);try{return typeof m<"u"?JSON.parse(m):void 0}catch{}return}catch{return}}function a(){return!0}function i(c,m){try{return Fe.setItem(c,JSON.stringify(m))}catch{return}}function o(c,m){return Array.isArray(m)?m.reduce((f,p)=>Ut(f,p,ee(c,p)),{}):c}function s(c){return m=>c.subscribe(m)}(e.assertStorage||(()=>{Fe.setItem("@@",1),Fe.removeItem("@@")}))();const l=()=>(e.getState||n)(r);let d;return e.fetchBeforeUse&&(d=l()),c=>{e.fetchBeforeUse||(d=l()),typeof d=="object"&&d!==null&&(c.replaceState(e.overwrite?d:Hw(c.state,d,{arrayMerge:e.arrayMerger||((m,f)=>f),clone:!1})),(e.rehydrated||(()=>{}))(c)),(e.subscriber||s)(c)((m,f)=>{(e.filter||a)(m)&&(e.setState||i)(r,(e.reducer||o)(f,e.paths))})}};var zhe=function(t,e,r){var n=(r||{}).moduleName||"route";t.registerModule(n,{namespaced:!0,state:t1(e.currentRoute),mutations:{ROUTE_CHANGED:function(l,d){t.state[n]=t1(d.to,d.from)}}});var a=!1,i,o=t.watch(function(u){return u[n]},function(u){var l=u.fullPath;l!==i&&(i!=null&&(a=!0,e.push(u)),i=l)},{sync:!0}),s=e.afterEach(function(u,l){if(a){a=!1;return}i=u.fullPath,t.commit(n+"/ROUTE_CHANGED",{to:u,from:l})});return function(){s!=null&&s(),o!=null&&o(),t.unregisterModule(n)}};function t1(t,e){var r={name:t.name,path:t.path,hash:t.hash,query:t.query,params:t.params,fullPath:t.fullPath,meta:t.meta};return e&&(r.from=t1(e)),Object.freeze(r)}var Bhe=Df;function Hhe(){this.__data__=new Bhe,this.size=0}var qhe=Hhe;function Yhe(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Ghe=Yhe;function Khe(t){return this.__data__.get(t)}var Xhe=Khe;function Jhe(t){return this.__data__.has(t)}var Qhe=Jhe,Zhe=Df,eve=Kw,tve=Xw,rve=200;function nve(t,e){var r=this.__data__;if(r instanceof Zhe){var n=r.__data__;if(!eve||n.length<rve-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new tve(n)}return r.set(t,e),this.size=r.size,this}var ave=nve,ive=Df,ove=qhe,sve=Ghe,uve=Xhe,lve=Qhe,dve=ave;function ks(t){var e=this.__data__=new ive(t);this.size=e.size}ks.prototype.clear=ove,ks.prototype.delete=sve,ks.prototype.get=uve,ks.prototype.has=lve,ks.prototype.set=dve;var r1=ks;function cve(t,e){for(var r=-1,n=t==null?0:t.length;++r<n&&e(t[r],r,t)!==!1;);return t}var fve=cve,mve=Zw,pve=nV;function hve(t,e,r,n){var a=!r;r||(r={});for(var i=-1,o=e.length;++i<o;){var s=e[i],u=n?n(r[s],t[s],s,r,t):void 0;u===void 0&&(u=t[s]),a?pve(r,s,u):mve(r,s,u)}return r}var Rf=hve;function vve(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}var gve=vve,yve=_s,_ve=ia,bve="[object Arguments]";function wve(t){return _ve(t)&&yve(t)==bve}var xve=wve,iV=xve,Pve=ia,oV=Object.prototype,kve=oV.hasOwnProperty,Tve=oV.propertyIsEnumerable,Eve=iV(function(){return arguments}())?iV:function(t){return Pve(t)&&kve.call(t,"callee")&&!Tve.call(t,"callee")},n1=Eve,gl={exports:{}};function Mve(){return!1}var Sve=Mve;(function(t,e){var r=tn,n=Sve,a=e&&!e.nodeType&&e,i=a&&!0&&t&&!t.nodeType&&t,o=i&&i.exports===a,s=o?r.Buffer:void 0,u=s?s.isBuffer:void 0,l=u||n;t.exports=l})(gl,gl.exports);var Ove=9007199254740991;function Cve(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Ove}var a1=Cve,Dve=_s,$ve=a1,Ave=ia,Rve="[object Arguments]",Ive="[object Array]",Nve="[object Boolean]",Lve="[object Date]",Wve="[object Error]",Fve="[object Function]",jve="[object Map]",Vve="[object Number]",Uve="[object Object]",zve="[object RegExp]",Bve="[object Set]",Hve="[object String]",qve="[object WeakMap]",Yve="[object ArrayBuffer]",Gve="[object DataView]",Kve="[object Float32Array]",Xve="[object Float64Array]",Jve="[object Int8Array]",Qve="[object Int16Array]",Zve="[object Int32Array]",ege="[object Uint8Array]",tge="[object Uint8ClampedArray]",rge="[object Uint16Array]",nge="[object Uint32Array]",ft={};ft[Kve]=ft[Xve]=ft[Jve]=ft[Qve]=ft[Zve]=ft[ege]=ft[tge]=ft[rge]=ft[nge]=!0,ft[Rve]=ft[Ive]=ft[Yve]=ft[Nve]=ft[Gve]=ft[Lve]=ft[Wve]=ft[Fve]=ft[jve]=ft[Vve]=ft[Uve]=ft[zve]=ft[Bve]=ft[Hve]=ft[qve]=!1;function age(t){return Ave(t)&&$ve(t.length)&&!!ft[Dve(t)]}var ige=age;function oge(t){return function(e){return t(e)}}var If=oge,yl={exports:{}};(function(t,e){var r=F3,n=e&&!e.nodeType&&e,a=n&&!0&&t&&!t.nodeType&&t,i=a&&a.exports===n,o=i&&r.process,s=function(){try{var u=a&&a.require&&a.require("util").types;return u||o&&o.binding&&o.binding("util")}catch{}}();t.exports=s})(yl,yl.exports);var sge=ige,uge=If,sV=yl.exports,uV=sV&&sV.isTypedArray,lge=uV?uge(uV):sge,lV=lge,dge=gve,cge=n1,fge=Tn,mge=gl.exports,pge=e1,hge=lV,vge=Object.prototype,gge=vge.hasOwnProperty;function yge(t,e){var r=fge(t),n=!r&&cge(t),a=!r&&!n&&mge(t),i=!r&&!n&&!a&&hge(t),o=r||n||a||i,s=o?dge(t.length,String):[],u=s.length;for(var l in t)(e||gge.call(t,l))&&!(o&&(l=="length"||a&&(l=="offset"||l=="parent")||i&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||pge(l,u)))&&s.push(l);return s}var dV=yge,_ge=Object.prototype;function bge(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||_ge;return t===r}var i1=bge;function wge(t,e){return function(r){return t(e(r))}}var cV=wge,xge=cV,Pge=xge(Object.keys,Object),kge=Pge,Tge=i1,Ege=kge,Mge=Object.prototype,Sge=Mge.hasOwnProperty;function Oge(t){if(!Tge(t))return Ege(t);var e=[];for(var r in Object(t))Sge.call(t,r)&&r!="constructor"&&e.push(r);return e}var Cge=Oge,Dge=B3,$ge=a1;function Age(t){return t!=null&&$ge(t.length)&&!Dge(t)}var o1=Age,Rge=dV,Ige=Cge,Nge=o1;function Lge(t){return Nge(t)?Rge(t):Ige(t)}var Nf=Lge,Wge=Rf,Fge=Nf;function jge(t,e){return t&&Wge(e,Fge(e),t)}var Vge=jge;function Uge(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var zge=Uge,Bge=oa,Hge=i1,qge=zge,Yge=Object.prototype,Gge=Yge.hasOwnProperty;function Kge(t){if(!Bge(t))return qge(t);var e=Hge(t),r=[];for(var n in t)n=="constructor"&&(e||!Gge.call(t,n))||r.push(n);return r}var Xge=Kge,Jge=dV,Qge=Xge,Zge=o1;function eye(t){return Zge(t)?Jge(t,!0):Qge(t)}var s1=eye,tye=Rf,rye=s1;function nye(t,e){return t&&tye(e,rye(e),t)}var aye=nye,u1={exports:{}};(function(t,e){var r=tn,n=e&&!e.nodeType&&e,a=n&&!0&&t&&!t.nodeType&&t,i=a&&a.exports===n,o=i?r.Buffer:void 0,s=o?o.allocUnsafe:void 0;function u(l,d){if(d)return l.slice();var c=l.length,m=s?s(c):new l.constructor(c);return l.copy(m),m}t.exports=u})(u1,u1.exports);function iye(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}var oye=iye;function sye(t,e){for(var r=-1,n=t==null?0:t.length,a=0,i=[];++r<n;){var o=t[r];e(o,r,t)&&(i[a++]=o)}return i}var uye=sye;function lye(){return[]}var fV=lye,dye=uye,cye=fV,fye=Object.prototype,mye=fye.propertyIsEnumerable,mV=Object.getOwnPropertySymbols,pye=mV?function(t){return t==null?[]:(t=Object(t),dye(mV(t),function(e){return mye.call(t,e)}))}:cye,l1=pye,hye=Rf,vye=l1;function gye(t,e){return hye(t,vye(t),e)}var yye=gye;function _ye(t,e){for(var r=-1,n=e.length,a=t.length;++r<n;)t[a+r]=e[r];return t}var d1=_ye,bye=cV,wye=bye(Object.getPrototypeOf,Object),c1=wye,xye=d1,Pye=c1,kye=l1,Tye=fV,Eye=Object.getOwnPropertySymbols,Mye=Eye?function(t){for(var e=[];t;)xye(e,kye(t)),t=Pye(t);return e}:Tye,pV=Mye,Sye=Rf,Oye=pV;function Cye(t,e){return Sye(t,Oye(t),e)}var Dye=Cye,$ye=d1,Aye=Tn;function Rye(t,e,r){var n=e(t);return Aye(t)?n:$ye(n,r(t))}var hV=Rye,Iye=hV,Nye=l1,Lye=Nf;function Wye(t){return Iye(t,Lye,Nye)}var vV=Wye,Fye=hV,jye=pV,Vye=s1;function Uye(t){return Fye(t,Vye,jye)}var zye=Uye,Bye=Fi,Hye=tn,qye=Bye(Hye,"DataView"),Yye=qye,Gye=Fi,Kye=tn,Xye=Gye(Kye,"Promise"),Jye=Xye,Qye=Fi,Zye=tn,e_e=Qye(Zye,"Set"),t_e=e_e,r_e=Fi,n_e=tn,a_e=r_e(n_e,"WeakMap"),i_e=a_e,f1=Yye,m1=Kw,p1=Jye,h1=t_e,v1=i_e,gV=_s,Ts=q3,yV="[object Map]",o_e="[object Object]",_V="[object Promise]",bV="[object Set]",wV="[object WeakMap]",xV="[object DataView]",s_e=Ts(f1),u_e=Ts(m1),l_e=Ts(p1),d_e=Ts(h1),c_e=Ts(v1),ji=gV;(f1&&ji(new f1(new ArrayBuffer(1)))!=xV||m1&&ji(new m1)!=yV||p1&&ji(p1.resolve())!=_V||h1&&ji(new h1)!=bV||v1&&ji(new v1)!=wV)&&(ji=function(t){var e=gV(t),r=e==o_e?t.constructor:void 0,n=r?Ts(r):"";if(n)switch(n){case s_e:return xV;case u_e:return yV;case l_e:return _V;case d_e:return bV;case c_e:return wV}return e});var Lf=ji,f_e=Object.prototype,m_e=f_e.hasOwnProperty;function p_e(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&m_e.call(t,"index")&&(r.index=t.index,r.input=t.input),r}var h_e=p_e,v_e=tn,g_e=v_e.Uint8Array,PV=g_e,kV=PV;function y_e(t){var e=new t.constructor(t.byteLength);return new kV(e).set(new kV(t)),e}var g1=y_e,b_e=g1;function w_e(t,e){var r=e?b_e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var x_e=w_e,P_e=/\w*$/;function k_e(t){var e=new t.constructor(t.source,P_e.exec(t));return e.lastIndex=t.lastIndex,e}var T_e=k_e,TV=ys,EV=TV?TV.prototype:void 0,MV=EV?EV.valueOf:void 0;function E_e(t){return MV?Object(MV.call(t)):{}}var M_e=E_e,S_e=g1;function O_e(t,e){var r=e?S_e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var C_e=O_e,D_e=g1,$_e=x_e,A_e=T_e,R_e=M_e,I_e=C_e,N_e="[object Boolean]",L_e="[object Date]",W_e="[object Map]",F_e="[object Number]",j_e="[object RegExp]",V_e="[object Set]",U_e="[object String]",z_e="[object Symbol]",B_e="[object ArrayBuffer]",H_e="[object DataView]",q_e="[object Float32Array]",Y_e="[object Float64Array]",G_e="[object Int8Array]",K_e="[object Int16Array]",X_e="[object Int32Array]",J_e="[object Uint8Array]",Q_e="[object Uint8ClampedArray]",Z_e="[object Uint16Array]",ebe="[object Uint32Array]";function tbe(t,e,r){var n=t.constructor;switch(e){case B_e:return D_e(t);case N_e:case L_e:return new n(+t);case H_e:return $_e(t,r);case q_e:case Y_e:case G_e:case K_e:case X_e:case J_e:case Q_e:case Z_e:case ebe:return I_e(t,r);case W_e:return new n;case F_e:case U_e:return new n(t);case j_e:return A_e(t);case V_e:return new n;case z_e:return R_e(t)}}var rbe=tbe,nbe=oa,SV=Object.create,abe=function(){function t(){}return function(e){if(!nbe(e))return{};if(SV)return SV(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),ibe=abe,obe=ibe,sbe=c1,ube=i1;function lbe(t){return typeof t.constructor=="function"&&!ube(t)?obe(sbe(t)):{}}var dbe=lbe,cbe=Lf,fbe=ia,mbe="[object Map]";function pbe(t){return fbe(t)&&cbe(t)==mbe}var hbe=pbe,vbe=hbe,gbe=If,OV=yl.exports,CV=OV&&OV.isMap,ybe=CV?gbe(CV):vbe,_be=ybe,bbe=Lf,wbe=ia,xbe="[object Set]";function Pbe(t){return wbe(t)&&bbe(t)==xbe}var kbe=Pbe,Tbe=kbe,Ebe=If,DV=yl.exports,$V=DV&&DV.isSet,Mbe=$V?Ebe($V):Tbe,Sbe=Mbe,Obe=r1,Cbe=fve,Dbe=Zw,$be=Vge,Abe=aye,Rbe=u1.exports,Ibe=oye,Nbe=yye,Lbe=Dye,Wbe=vV,Fbe=zye,jbe=Lf,Vbe=h_e,Ube=rbe,zbe=dbe,Bbe=Tn,Hbe=gl.exports,qbe=_be,Ybe=oa,Gbe=Sbe,Kbe=Nf,Xbe=s1,Jbe=1,Qbe=2,Zbe=4,AV="[object Arguments]",e0e="[object Array]",t0e="[object Boolean]",r0e="[object Date]",n0e="[object Error]",RV="[object Function]",a0e="[object GeneratorFunction]",i0e="[object Map]",o0e="[object Number]",IV="[object Object]",s0e="[object RegExp]",u0e="[object Set]",l0e="[object String]",d0e="[object Symbol]",c0e="[object WeakMap]",f0e="[object ArrayBuffer]",m0e="[object DataView]",p0e="[object Float32Array]",h0e="[object Float64Array]",v0e="[object Int8Array]",g0e="[object Int16Array]",y0e="[object Int32Array]",_0e="[object Uint8Array]",b0e="[object Uint8ClampedArray]",w0e="[object Uint16Array]",x0e="[object Uint32Array]",st={};st[AV]=st[e0e]=st[f0e]=st[m0e]=st[t0e]=st[r0e]=st[p0e]=st[h0e]=st[v0e]=st[g0e]=st[y0e]=st[i0e]=st[o0e]=st[IV]=st[s0e]=st[u0e]=st[l0e]=st[d0e]=st[_0e]=st[b0e]=st[w0e]=st[x0e]=!0,st[n0e]=st[RV]=st[c0e]=!1;function Wf(t,e,r,n,a,i){var o,s=e&Jbe,u=e&Qbe,l=e&Zbe;if(r&&(o=a?r(t,n,a,i):r(t)),o!==void 0)return o;if(!Ybe(t))return t;var d=Bbe(t);if(d){if(o=Vbe(t),!s)return Ibe(t,o)}else{var c=jbe(t),m=c==RV||c==a0e;if(Hbe(t))return Rbe(t,s);if(c==IV||c==AV||m&&!a){if(o=u||m?{}:zbe(t),!s)return u?Lbe(t,Abe(o,t)):Nbe(t,$be(o,t))}else{if(!st[c])return a?t:{};o=Ube(t,c,s)}}i||(i=new Obe);var f=i.get(t);if(f)return f;i.set(t,o),Gbe(t)?t.forEach(function(v){o.add(Wf(v,e,r,v,t,i))}):qbe(t)&&t.forEach(function(v,y){o.set(y,Wf(v,e,r,y,t,i))});var p=l?u?Fbe:Wbe:u?Xbe:Kbe,h=d?void 0:p(t);return Cbe(h||t,function(v,y){h&&(y=v,v=t[y]),Dbe(o,y,Wf(v,e,r,y,t,i))}),o}var NV=Wf,P0e=NV,k0e=1,T0e=4;function E0e(t){return P0e(t,k0e|T0e)}var Vi=E0e;function M0e(t={}){const{trigger:e,whitelist:r=[]}={trigger:"reset",...t},n=["route",...r];return a=>{const i=Vi(a.state);a.subscribe((o,s)=>{if(o.type===e){const u=Vi(i);n.forEach(l=>{s[l]&&(u[l]=Vi(s[l]))}),a.replaceState(u)}else{let u=o.type.split("/");u.pop()===e&&(u=u.join("/"),a.replaceState({...Vi(s),[u]:Vi(i[u])}))}}),a.registerModuleState=(o,s)=>{a.registerModule(o,s),i[o]=Vi(s.state)},a.unregisterModuleState=o=>{a.unregisterModule(o),delete i[o]}}}const S0e={debug:4,info:3,warn:2,error:1};class O0e{setLevel(e){this._level=typeof e=="number"?e:S0e[e]}debug(...e){this._level<4||console.debug(...e)}info(...e){this._level<3||console.log(...e)}warn(...e){this._level<2||console.warn(...e)}error(...e){this._level<1||console.error(...e)}event(e){this.debug(e),typeof e=="object"&&e.error&&this.error(e.error)}}const yt=new O0e;yt.setLevel(ge.logLevel);const LV={messages:[],modals:[],canCloseModal:!0,priceInputVat:"exVat",hideDocArticlePriceInput:!1,user:{position:null,isLoggingIn:!1,isRegistering:!1,isResettingPassword:!1,userId:null,companyId:null,crispUserHash:null},error:null,isSocketConnected:!1,viewSettings:{app:{isFullPageWindow:!0},nav:{title:null,left:null},projectList:{quickViewProjectId:null},login:{error:null},register:{error:null},search:{show:!1},newDocument:{showOverlayLoader:!1},newInvoice:{isLoading:!1}}};function C0e(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var rn={exports:{}};const WV=uW(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var FV=typeof process<"u"&&process.pid?process.pid.toString(36):"",jV="";if(typeof __webpack_require__!="function"&&typeof C0e<"u"){var y1="",VV=WV;if(VV.networkInterfaces)var _1=VV.networkInterfaces();if(_1){e:for(let t in _1){const e=_1[t],r=e.length;for(var Es=0;Es<r;Es++)if(e[Es]!==void 0&&e[Es].mac&&e[Es].mac!="00:00:00:00:00:00"){y1=e[Es].mac;break e}}jV=y1?parseInt(y1.replace(/\:|\D+/gi,"")).toString(36):""}}rn.exports=rn.exports.default=function(t,e){return(t||"")+jV+FV+_l().toString(36)+(e||"")},rn.exports.process=function(t,e){return(t||"")+FV+_l().toString(36)+(e||"")},rn.exports.time=function(t,e){return(t||"")+_l().toString(36)+(e||"")};function _l(){var t=Date.now(),e=_l.last||t;return _l.last=t>e?t:e+1}const D0e={LOAD_USER_POSITION:"LOAD_USER_POSITION",LOAD_USER:"LOAD_USER",LOGIN_AUTH_TOKEN:"LOGIN_AUTH_TOKEN",LOGIN_USER:"LOGIN_USER",AUTH_3RD_PARTY_USER:"AUTH_3RD_PARTY_USER",SWITCH_CONNECTED_USER:"SWITCH_CONNECTED_USER",REGISTER_USER:"REGISTER_USER",RESET_USER_PASSWORD:"RESET_USER_PASSWORD",LOGOUT_USER:"LOGOUT_USER"},$0e={SET_USER_LOCATION:"SET_USER_LOCATION",SET_USER:"SET_USER"},bl={...D0e,PUSH_MODAL:"PUSH_MODAL",POP_MODAL:"POP_MODAL",SET_CAN_CLOSE_MODAL:"SET_CAN_CLOSE_MODAL",SHOW_MESSAGE:"SHOW_MESSAGE",CLEAR_MESSAGE:"CLEAR_MESSAGE",CLEAR_MESSAGE_BY_ID:"CLEAR_MESSAGE_BY_ID",MESSAGE_ACTION:"MESSAGE_ACTION",UPDATE_VIEW_SETTINGS:"UPDATE_VIEW_SETTINGS",RESET_VIEW_SETTINGS:"RESET_VIEW_SETTINGS",SHOW_ERROR:"SHOW_ERROR",RESET_ERROR:"RESET_ERROR"},Ct={...$0e,SET_MODALS:"SET_MODALS",SET_CAN_CLOSE_MODAL:"SET_CAN_CLOSE_MODAL",ADD_MESSAGE:"ADD_MESSAGE",REMOVE_MESSAGE:"REMOVE_MESSAGE",SET_VIEW_SETTINGS:"SET_VIEW_SETTINGS",RESET_VIEW_SETTINGS:"RESET_VIEW_SETTINGS",SET_ERROR:"SET_ERROR",RESET_ERROR:"RESET_ERROR",SET_SOCKET_CONNECTED:"SET_SOCKET_CONNECTED"};var UV={exports:{}},b1={exports:{}},zV=function(e,r){return function(){for(var a=new Array(arguments.length),i=0;i<a.length;i++)a[i]=arguments[i];return e.apply(r,a)}},A0e=zV,Ui=Object.prototype.toString;function w1(t){return Ui.call(t)==="[object Array]"}function x1(t){return typeof t>"u"}function R0e(t){return t!==null&&!x1(t)&&t.constructor!==null&&!x1(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function I0e(t){return Ui.call(t)==="[object ArrayBuffer]"}function N0e(t){return typeof FormData<"u"&&t instanceof FormData}function L0e(t){var e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function W0e(t){return typeof t=="string"}function F0e(t){return typeof t=="number"}function BV(t){return t!==null&&typeof t=="object"}function Ff(t){if(Ui.call(t)!=="[object Object]")return!1;var e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}function j0e(t){return Ui.call(t)==="[object Date]"}function V0e(t){return Ui.call(t)==="[object File]"}function U0e(t){return Ui.call(t)==="[object Blob]"}function HV(t){return Ui.call(t)==="[object Function]"}function z0e(t){return BV(t)&&HV(t.pipe)}function B0e(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function H0e(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function q0e(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function P1(t,e){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),w1(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.call(null,t[a],a,t)}function k1(){var t={};function e(a,i){Ff(t[i])&&Ff(a)?t[i]=k1(t[i],a):Ff(a)?t[i]=k1({},a):w1(a)?t[i]=a.slice():t[i]=a}for(var r=0,n=arguments.length;r<n;r++)P1(arguments[r],e);return t}function Y0e(t,e,r){return P1(e,function(a,i){r&&typeof a=="function"?t[i]=A0e(a,r):t[i]=a}),t}function G0e(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var Mr={isArray:w1,isArrayBuffer:I0e,isBuffer:R0e,isFormData:N0e,isArrayBufferView:L0e,isString:W0e,isNumber:F0e,isObject:BV,isPlainObject:Ff,isUndefined:x1,isDate:j0e,isFile:V0e,isBlob:U0e,isFunction:HV,isStream:z0e,isURLSearchParams:B0e,isStandardBrowserEnv:q0e,forEach:P1,merge:k1,extend:Y0e,trim:H0e,stripBOM:G0e},Ms=Mr;function qV(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var YV=function(e,r,n){if(!r)return e;var a;if(n)a=n(r);else if(Ms.isURLSearchParams(r))a=r.toString();else{var i=[];Ms.forEach(r,function(u,l){u===null||typeof u>"u"||(Ms.isArray(u)?l=l+"[]":u=[u],Ms.forEach(u,function(c){Ms.isDate(c)?c=c.toISOString():Ms.isObject(c)&&(c=JSON.stringify(c)),i.push(qV(l)+"="+qV(c))}))}),a=i.join("&")}if(a){var o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e},K0e=Mr;function jf(){this.handlers=[]}jf.prototype.use=function(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1},jf.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},jf.prototype.forEach=function(e){K0e.forEach(this.handlers,function(n){n!==null&&e(n)})};var X0e=jf,J0e=Mr,Q0e=function(e,r){J0e.forEach(e,function(a,i){i!==r&&i.toUpperCase()===r.toUpperCase()&&(e[r]=a,delete e[i])})},GV=function(e,r,n,a,i){return e.config=r,n&&(e.code=n),e.request=a,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e},Z0e=GV,KV=function(e,r,n,a,i){var o=new Error(e);return Z0e(o,r,n,a,i)},ewe=KV,twe=function(e,r,n){var a=n.config.validateStatus;!n.status||!a||a(n.status)?e(n):r(ewe("Request failed with status code "+n.status,n.config,null,n.request,n))},Vf=Mr,rwe=Vf.isStandardBrowserEnv()?function(){return{write:function(r,n,a,i,o,s){var u=[];u.push(r+"="+encodeURIComponent(n)),Vf.isNumber(a)&&u.push("expires="+new Date(a).toGMTString()),Vf.isString(i)&&u.push("path="+i),Vf.isString(o)&&u.push("domain="+o),s===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(r){var n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),nwe=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)},awe=function(e,r){return r?e.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):e},iwe=nwe,owe=awe,swe=function(e,r){return e&&!iwe(r)?owe(e,r):r},T1=Mr,uwe=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],lwe=function(e){var r={},n,a,i;return e&&T1.forEach(e.split(`
223
223
  `),function(s){if(i=s.indexOf(":"),n=T1.trim(s.substr(0,i)).toLowerCase(),a=T1.trim(s.substr(i+1)),n){if(r[n]&&uwe.indexOf(n)>=0)return;n==="set-cookie"?r[n]=(r[n]?r[n]:[]).concat([a]):r[n]=r[n]?r[n]+", "+a:a}}),r},XV=Mr,dwe=XV.isStandardBrowserEnv()?function(){var e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),n;function a(i){var o=i;return e&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=a(window.location.href),function(o){var s=XV.isString(o)?a(o):o;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),Uf=Mr,cwe=twe,fwe=rwe,mwe=YV,pwe=swe,hwe=lwe,vwe=dwe,E1=KV,M1=function(e){return new Promise(function(n,a){var i=e.data,o=e.headers,s=e.responseType;Uf.isFormData(i)&&delete o["Content-Type"];var u=new XMLHttpRequest;if(e.auth){var l=e.auth.username||"",d=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.Authorization="Basic "+btoa(l+":"+d)}var c=pwe(e.baseURL,e.url);u.open(e.method.toUpperCase(),mwe(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function m(){if(!!u){var p="getAllResponseHeaders"in u?hwe(u.getAllResponseHeaders()):null,h=!s||s==="text"||s==="json"?u.responseText:u.response,v={data:h,status:u.status,statusText:u.statusText,headers:p,config:e,request:u};cwe(n,a,v),u=null}}if("onloadend"in u?u.onloadend=m:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(m)},u.onabort=function(){!u||(a(E1("Request aborted",e,"ECONNABORTED",u)),u=null)},u.onerror=function(){a(E1("Network Error",e,null,u)),u=null},u.ontimeout=function(){var h="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(h=e.timeoutErrorMessage),a(E1(h,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",u)),u=null},Uf.isStandardBrowserEnv()){var f=(e.withCredentials||vwe(c))&&e.xsrfCookieName?fwe.read(e.xsrfCookieName):void 0;f&&(o[e.xsrfHeaderName]=f)}"setRequestHeader"in u&&Uf.forEach(o,function(h,v){typeof i>"u"&&v.toLowerCase()==="content-type"?delete o[v]:u.setRequestHeader(v,h)}),Uf.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),s&&s!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",e.onDownloadProgress),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(h){!u||(u.abort(),a(h),u=null)}),i||(i=null),u.send(i)})},qt=Mr,JV=Q0e,gwe=GV,ywe={"Content-Type":"application/x-www-form-urlencoded"};function QV(t,e){!qt.isUndefined(t)&&qt.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function _we(){var t;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(t=M1),t}function bwe(t,e,r){if(qt.isString(t))try{return(e||JSON.parse)(t),qt.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}var zf={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:_we(),transformRequest:[function(e,r){return JV(r,"Accept"),JV(r,"Content-Type"),qt.isFormData(e)||qt.isArrayBuffer(e)||qt.isBuffer(e)||qt.isStream(e)||qt.isFile(e)||qt.isBlob(e)?e:qt.isArrayBufferView(e)?e.buffer:qt.isURLSearchParams(e)?(QV(r,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):qt.isObject(e)||r&&r["Content-Type"]==="application/json"?(QV(r,"application/json"),bwe(e)):e}],transformResponse:[function(e){var r=this.transitional,n=r&&r.silentJSONParsing,a=r&&r.forcedJSONParsing,i=!n&&this.responseType==="json";if(i||a&&qt.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(i)throw o.name==="SyntaxError"?gwe(o,this,"E_JSON_PARSE"):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};zf.headers={common:{Accept:"application/json, text/plain, */*"}},qt.forEach(["delete","get","head"],function(e){zf.headers[e]={}}),qt.forEach(["post","put","patch"],function(e){zf.headers[e]=qt.merge(ywe)});var S1=zf,wwe=Mr,xwe=S1,Pwe=function(e,r,n){var a=this||xwe;return wwe.forEach(n,function(o){e=o.call(a,e,r)}),e},O1,ZV;function e4(){return ZV||(ZV=1,O1=function(e){return!!(e&&e.__CANCEL__)}),O1}var t4=Mr,C1=Pwe,kwe=e4(),Twe=S1;function D1(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var Ewe=function(e){D1(e),e.headers=e.headers||{},e.data=C1.call(e,e.data,e.headers,e.transformRequest),e.headers=t4.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),t4.forEach(["delete","get","head","post","put","patch","common"],function(a){delete e.headers[a]});var r=e.adapter||Twe.adapter;return r(e).then(function(a){return D1(e),a.data=C1.call(e,a.data,a.headers,e.transformResponse),a},function(a){return kwe(a)||(D1(e),a&&a.response&&(a.response.data=C1.call(e,a.response.data,a.response.headers,e.transformResponse))),Promise.reject(a)})},Qt=Mr,r4=function(e,r){r=r||{};var n={},a=["url","method","data"],i=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function u(m,f){return Qt.isPlainObject(m)&&Qt.isPlainObject(f)?Qt.merge(m,f):Qt.isPlainObject(f)?Qt.merge({},f):Qt.isArray(f)?f.slice():f}function l(m){Qt.isUndefined(r[m])?Qt.isUndefined(e[m])||(n[m]=u(void 0,e[m])):n[m]=u(e[m],r[m])}Qt.forEach(a,function(f){Qt.isUndefined(r[f])||(n[f]=u(void 0,r[f]))}),Qt.forEach(i,l),Qt.forEach(o,function(f){Qt.isUndefined(r[f])?Qt.isUndefined(e[f])||(n[f]=u(void 0,e[f])):n[f]=u(void 0,r[f])}),Qt.forEach(s,function(f){f in r?n[f]=u(e[f],r[f]):f in e&&(n[f]=u(void 0,e[f]))});var d=a.concat(i).concat(o).concat(s),c=Object.keys(e).concat(Object.keys(r)).filter(function(f){return d.indexOf(f)===-1});return Qt.forEach(c,l),n},n4={name:"axios",version:"0.21.4",description:"Promise based HTTP client for the browser and node.js",main:"index.js",scripts:{test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},repository:{type:"git",url:"https://github.com/axios/axios.git"},keywords:["xhr","http","ajax","promise","node"],author:"Matt Zabriskie",license:"MIT",bugs:{url:"https://github.com/axios/axios/issues"},homepage:"https://axios-http.com",devDependencies:{coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},browser:{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},jsdelivr:"dist/axios.min.js",unpkg:"dist/axios.min.js",typings:"./index.d.ts",dependencies:{"follow-redirects":"^1.14.0"},bundlesize:[{path:"./dist/axios.min.js",threshold:"5kB"}]},$1={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){$1[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var a4={},Mwe=n4.version.split(".");function i4(t,e){for(var r=e?e.split("."):Mwe,n=t.split("."),a=0;a<3;a++){if(r[a]>n[a])return!0;if(r[a]<n[a])return!1}return!1}$1.transitional=function(e,r,n){var a=r&&i4(r);function i(o,s){return"[Axios v"+n4.version+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return function(o,s,u){if(e===!1)throw new Error(i(s," has been removed in "+r));return a&&!a4[s]&&(a4[s]=!0,console.warn(i(s," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(o,s,u):!0}};function Swe(t,e,r){if(typeof t!="object")throw new TypeError("options must be an object");for(var n=Object.keys(t),a=n.length;a-- >0;){var i=n[a],o=e[i];if(o){var s=t[i],u=s===void 0||o(s,i,t);if(u!==!0)throw new TypeError("option "+i+" must be "+u);continue}if(r!==!0)throw Error("Unknown option "+i)}}var Owe={isOlderVersion:i4,assertOptions:Swe,validators:$1},o4=Mr,Cwe=YV,s4=X0e,u4=Ewe,Bf=r4,l4=Owe,Ss=l4.validators;function wl(t){this.defaults=t,this.interceptors={request:new s4,response:new s4}}wl.prototype.request=function(e){typeof e=="string"?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=Bf(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;r!==void 0&&l4.assertOptions(r,{silentJSONParsing:Ss.transitional(Ss.boolean,"1.0.0"),forcedJSONParsing:Ss.transitional(Ss.boolean,"1.0.0"),clarifyTimeoutError:Ss.transitional(Ss.boolean,"1.0.0")},!1);var n=[],a=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(e)===!1||(a=a&&m.synchronous,n.unshift(m.fulfilled,m.rejected))});var i=[];this.interceptors.response.forEach(function(m){i.push(m.fulfilled,m.rejected)});var o;if(!a){var s=[u4,void 0];for(Array.prototype.unshift.apply(s,n),s=s.concat(i),o=Promise.resolve(e);s.length;)o=o.then(s.shift(),s.shift());return o}for(var u=e;n.length;){var l=n.shift(),d=n.shift();try{u=l(u)}catch(c){d(c);break}}try{o=u4(u)}catch(c){return Promise.reject(c)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},wl.prototype.getUri=function(e){return e=Bf(this.defaults,e),Cwe(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},o4.forEach(["delete","get","head","options"],function(e){wl.prototype[e]=function(r,n){return this.request(Bf(n||{},{method:e,url:r,data:(n||{}).data}))}}),o4.forEach(["post","put","patch"],function(e){wl.prototype[e]=function(r,n,a){return this.request(Bf(a||{},{method:e,url:r,data:n}))}});var Dwe=wl,A1,d4;function c4(){if(d4)return A1;d4=1;function t(e){this.message=e}return t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,A1=t,A1}var R1,f4;function $we(){if(f4)return R1;f4=1;var t=c4();function e(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(o){n=o});var a=this;r(function(o){a.reason||(a.reason=new t(o),n(a.reason))})}return e.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},e.source=function(){var n,a=new e(function(o){n=o});return{token:a,cancel:n}},R1=e,R1}var I1,m4;function Awe(){return m4||(m4=1,I1=function(e){return function(n){return e.apply(null,n)}}),I1}var N1,p4;function Rwe(){return p4||(p4=1,N1=function(e){return typeof e=="object"&&e.isAxiosError===!0}),N1}var h4=Mr,Iwe=zV,Hf=Dwe,Nwe=r4,Lwe=S1;function v4(t){var e=new Hf(t),r=Iwe(Hf.prototype.request,e);return h4.extend(r,Hf.prototype,e),h4.extend(r,e),r}var nn=v4(Lwe);nn.Axios=Hf,nn.create=function(e){return v4(Nwe(nn.defaults,e))},nn.Cancel=c4(),nn.CancelToken=$we(),nn.isCancel=e4(),nn.all=function(e){return Promise.all(e)},nn.spread=Awe(),nn.isAxiosError=Rwe(),b1.exports=nn,b1.exports.default=nn,function(t){t.exports=b1.exports}(UV);const L1=Z(UV.exports);class xl extends Error{constructor(r={}){super(r);St(this,"isCustom",!0);St(this,"code",null);St(this,"httpStatusCode",null);St(this,"payload",{code:null,fallbackCode:null,string:null,object:null,objectId:null,action:null,actionPayload:null,retries:0,axios:null,showMessage:!0});typeof r.stack=="string"&&(this.stack=r.stack.replace(/.*\n/i,`${this.constructor.name}: ${r.message}
224
224
  `))}add(r){return this.payload={...this.payload,...r},this}getPayload(){return this.payload}setErrorCodeFromResponse(){const{data:r,status:n}=this.getPayload().axios||{};if(!r&&!n)return;const{errorCode:a}=r||{};a&&this.add({code:a}),n&&(this.httpStatusCode=n)}setMessageFromResponse(){const{data:r}=this.getPayload().axios||{};if(!r)return!1;const{message:n}=r||{};return n?(this.message=n,!0):!1}}class Wwe extends xl{constructor(e){if(super(e),this.name="NotFoundError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{response:r}=e;this.add({axios:r}),this.setErrorCodeFromResponse()}}class Fwe extends xl{constructor(e){if(super(e),this.name="ForbiddenError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{response:r}=e;this.add({axios:r}),this.setErrorCodeFromResponse(),this.setMessageFromResponse()}}class jwe extends xl{constructor(e){if(super(e),this.name="ValidationError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{response:r}=e;this.add({axios:r}),this.setErrorCodeFromResponse(),this.setMessageFromResponse()}}class Vwe extends xl{constructor(e){if(super(e),this.name="NetworkError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{config:r}=e;this.add({axios:r}),this.code="ECONNREFUSED"}}class zi extends xl{constructor(e){if(super(e),this.name="GeneralError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{response:r}=e;this.add({axios:r}),this.setErrorCodeFromResponse(),this.setMessageFromResponse()}}var Uwe={defaultAmount:0,defaultCurrency:"USD",defaultPrecision:2},zwe={globalLocale:"en-US",globalFormat:"$0,0.00",globalRoundingMode:"HALF_EVEN",globalFormatRoundingMode:"HALF_AWAY_FROM_ZERO",globalExchangeRatesApi:{endpoint:void 0,headers:void 0,propertyPath:void 0}};function Pl(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Pl=function(e){return typeof e}:Pl=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pl(t)}function g4(t){return Bwe(t)||Hwe(t)||qwe(t)||Ywe()}function Bwe(t){if(Array.isArray(t))return t}function Hwe(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}function qwe(t,e){if(!!t){if(typeof t=="string")return y4(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y4(t,e)}}function y4(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Ywe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
225
225
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Gwe={normalizePrecision:function(e){var r=e.reduce(function(n,a){return Math.max(n.getPrecision(),a.getPrecision())});return e.map(function(n){return n.getPrecision()!==r?n.convertPrecision(r):n})},minimum:function(e){var r=g4(e),n=r[0],a=r.slice(1),i=n;return a.forEach(function(o){i=i.lessThan(o)?i:o}),i},maximum:function(e){var r=g4(e),n=r[0],a=r.slice(1),i=n;return a.forEach(function(o){i=i.greaterThan(o)?i:o}),i}};function _4(t){return!isNaN(parseInt(t))&&isFinite(t)}function Kwe(t){return _4(t)&&t<=100&&t>=0}function Xwe(t){return t.length>0&&t.every(function(e){return e>=0})&&t.some(function(e){return e>0})}function b4(t){return t%2===0}function w4(t){return _4(t)&&!Number.isInteger(t)}function Jwe(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e=t.toString();if(e.indexOf("e-")>0)return parseInt(e.split("e-")[1]);var r=e.split(".")[1];return r?r.length:0}function kl(t){return Math.abs(t)%1===.5}function Qwe(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(r,n){var a=Object.assign(new XMLHttpRequest,{onreadystatechange:function(){a.readyState===4&&(a.status>=200&&a.status<400?r(JSON.parse(a.responseText)):n(new Error(a.statusText)))},onerror:function(){n(new Error("Network error"))}});a.open("GET",t,!0),Zwe(a,e.headers),a.send()})}function Zwe(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var r in e)t.setRequestHeader(r,e[r]);return t}function Tl(t){return typeof t>"u"}function x4(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:".",r={};return Object.entries(t).forEach(function(n){if(Pl(n[1])==="object"){var a=x4(n[1]);Object.entries(a).forEach(function(i){r[n[0]+e+i[0]]=i[1]})}else r[n[0]]=n[1]}),r}function e1e(t){return Boolean(t)&&(Pl(t)==="object"||typeof t=="function")&&typeof t.then=="function"}function P4(){var t=function(n,a){var i=function(u){return Math.pow(10,Jwe(u))},o=Math.max(i(n),i(a));return Math.round(n*o)*Math.round(a*o)/(o*o)},e={HALF_ODD:function(n){var a=Math.round(n);return kl(n)&&b4(a)?a-1:a},HALF_EVEN:function(n){var a=Math.round(n);return kl(n)?b4(a)?a:a-1:a},HALF_UP:function(n){return Math.round(n)},HALF_DOWN:function(n){return kl(n)?Math.floor(n):Math.round(n)},HALF_TOWARDS_ZERO:function(n){return kl(n)?Math.sign(n)*Math.floor(Math.abs(n)):Math.round(n)},HALF_AWAY_FROM_ZERO:function(n){return kl(n)?Math.sign(n)*Math.ceil(Math.abs(n)):Math.round(n)},DOWN:function(n){return Math.floor(n)}};return{add:function(n,a){return n+a},subtract:function(n,a){return n-a},multiply:function(n,a){return w4(n)||w4(a)?t(n,a):n*a},divide:function(n,a){return n/a},modulo:function(n,a){return n%a},round:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"HALF_EVEN";return e[a](n)}}}var t1e=P4();function r1e(t){var e=/^(?:(\$|USD)?0(?:(,)0)?(\.)?(0+)?|0(?:(,)0)?(\.)?(0+)?\s?(dollar)?)$/gm.exec(t);return{getMatches:function(){return e!==null?e.slice(1).filter(function(n){return!Tl(n)}):[]},getMinimumFractionDigits:function(){var n=function(i){return i==="."};return Tl(this.getMatches().find(n))?0:this.getMatches()[t1e.add(this.getMatches().findIndex(n),1)].split("").length},getCurrencyDisplay:function(){var n={USD:"code",dollar:"name",$:"symbol"};return n[this.getMatches().find(function(a){return a==="USD"||a==="dollar"||a==="$"})]},getStyle:function(){return Tl(this.getCurrencyDisplay(this.getMatches()))?"decimal":"currency"},getUseGrouping:function(){return!Tl(this.getMatches().find(function(n){return n===","}))}}}function n1e(t){var e=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=arguments.length>1?arguments[1]:void 0;for(var o in i)a=a.replace("{{".concat(o,"}}"),i[o]);return a},r=function(a,i){return Qwe(e(t.endpoint,{from:a,to:i}),{headers:t.headers})};return{getExchangeRate:function(a,i){return(e1e(t.endpoint)?t.endpoint:r(a,i)).then(function(o){return x4(o)[e(t.propertyPath,{from:a,to:i})]})}}}function El(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Error;if(!t)throw new r(e)}function a1e(t){El(Kwe(t),"You must provide a numeric value between 0 and 100.",RangeError)}function i1e(t){El(Xwe(t),"You must provide a non-empty array of numeric values greater than 0.",TypeError)}function W1(t){El(Number.isInteger(t),"You must provide an integer.",TypeError)}var mt=P4(),o1e=function t(e){var r=Object.assign({},{amount:t.defaultAmount,currency:t.defaultCurrency,precision:t.defaultPrecision},e),n=r.amount,a=r.currency,i=r.precision;W1(n),W1(i);var o=t.globalLocale,s=t.globalFormat,u=t.globalRoundingMode,l=t.globalFormatRoundingMode,d=Object.assign({},t.globalExchangeRatesApi),c=function(p){var h=Object.assign({},Object.assign({},{amount:n,currency:a,precision:i},p),Object.assign({},{locale:this.locale},p));return Object.assign(t({amount:h.amount,currency:h.currency,precision:h.precision}),{locale:h.locale})},m=function(p){El(this.hasSameCurrency(p),"You must provide a Dinero instance with the same currency.",TypeError)};return{getAmount:function(){return n},getCurrency:function(){return a},getLocale:function(){return this.locale||o},setLocale:function(p){return c.call(this,{locale:p})},getPrecision:function(){return i},convertPrecision:function(p){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l;W1(p);var v=this.getPrecision(),y=p>v,b=y?mt.multiply:mt.divide,g=y?[p,v]:[v,p],_=Math.pow(10,mt.subtract.apply(mt,g));return c.call(this,{amount:mt.round(b(this.getAmount(),_),h),precision:p})},add:function(p){m.call(this,p);var h=t.normalizePrecision([this,p]);return c.call(this,{amount:mt.add(h[0].getAmount(),h[1].getAmount()),precision:h[0].getPrecision()})},subtract:function(p){m.call(this,p);var h=t.normalizePrecision([this,p]);return c.call(this,{amount:mt.subtract(h[0].getAmount(),h[1].getAmount()),precision:h[0].getPrecision()})},multiply:function(p){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u;return c.call(this,{amount:mt.round(mt.multiply(this.getAmount(),p),h)})},divide:function(p){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u;return c.call(this,{amount:mt.round(mt.divide(this.getAmount(),p),h)})},percentage:function(p){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u;return a1e(p),this.multiply(mt.divide(p,100),h)},allocate:function(p){var h=this;i1e(p);for(var v=p.reduce(function(_,w){return mt.add(_,w)}),y=this.getAmount(),b=p.map(function(_){var w=Math.floor(mt.divide(mt.multiply(h.getAmount(),_),v));return y=mt.subtract(y,w),c.call(h,{amount:w})}),g=0;y>0;)p[g]>0&&(b[g]=b[g].add(c.call(this,{amount:1})),y=mt.subtract(y,1)),g+=1;return b},convert:function(p){var h=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=v.endpoint,b=y===void 0?d.endpoint:y,g=v.propertyPath,_=g===void 0?d.propertyPath||"rates.{{to}}":g,w=v.headers,x=w===void 0?d.headers:w,k=v.roundingMode,D=k===void 0?u:k,S=Object.assign({},{endpoint:b,propertyPath:_,headers:x,roundingMode:D});return n1e(S).getExchangeRate(this.getCurrency(),p).then(function(O){return El(!Tl(O),'No rate was found for the destination currency "'.concat(p,'".'),TypeError),c.call(h,{amount:mt.round(mt.multiply(h.getAmount(),parseFloat(O)),S.roundingMode),currency:p})})},equalsTo:function(p){return this.hasSameAmount(p)&&this.hasSameCurrency(p)},lessThan:function(p){m.call(this,p);var h=t.normalizePrecision([this,p]);return h[0].getAmount()<h[1].getAmount()},lessThanOrEqual:function(p){m.call(this,p);var h=t.normalizePrecision([this,p]);return h[0].getAmount()<=h[1].getAmount()},greaterThan:function(p){m.call(this,p);var h=t.normalizePrecision([this,p]);return h[0].getAmount()>h[1].getAmount()},greaterThanOrEqual:function(p){m.call(this,p);var h=t.normalizePrecision([this,p]);return h[0].getAmount()>=h[1].getAmount()},isZero:function(){return this.getAmount()===0},isPositive:function(){return this.getAmount()>=0},isNegative:function(){return this.getAmount()<0},hasSubUnits:function(){return mt.modulo(this.getAmount(),Math.pow(10,i))!==0},hasCents:function(){return mt.modulo(this.getAmount(),Math.pow(10,i))!==0},hasSameCurrency:function(p){return this.getCurrency()===p.getCurrency()},hasSameAmount:function(p){var h=t.normalizePrecision([this,p]);return h[0].getAmount()===h[1].getAmount()},toFormat:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l,v=r1e(p);return this.toRoundedUnit(v.getMinimumFractionDigits(),h).toLocaleString(this.getLocale(),{currencyDisplay:v.getCurrencyDisplay(),useGrouping:v.getUseGrouping(),minimumFractionDigits:v.getMinimumFractionDigits(),style:v.getStyle(),currency:this.getCurrency()})},toUnit:function(){return mt.divide(this.getAmount(),Math.pow(10,i))},toRoundedUnit:function(p){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l,v=Math.pow(10,p);return mt.divide(mt.round(mt.multiply(this.toUnit(),v),h),v)},toObject:function(){return{amount:n,currency:a,precision:i}},toJSON:function(){return this.toObject()}}},s1e=Object.assign(o1e,Uwe,zwe,Gwe),u1e=NV,l1e=1,d1e=4;function c1e(t,e){return e=typeof e=="function"?e:void 0,u1e(t,l1e|d1e,e)}var f1e=c1e;const mr={AD:{name:"Andorra",callingCode:"+376",currency:"EUR"},AE:{name:"United Arab Emirates",callingCode:"+971",currency:"AED"},AF:{name:"Afghanistan",callingCode:"+93",currency:"AFN"},AG:{name:"Antigua and Barbuda",callingCode:"+1 268",currency:"XCD"},AI:{name:"Anguilla",callingCode:"+1 264",currency:"XCD"},AL:{name:"Albania",callingCode:"+355",currency:"ALL"},AM:{name:"Armenia",callingCode:"+374",currency:"AMD"},AO:{name:"Angola",callingCode:"+244",currency:"AOA"},AQ:{name:"Antarctica",callingCode:"",currency:null},AR:{name:"Argentina",callingCode:"+54",currency:"ARS"},AS:{name:"American Samoa",callingCode:"+1 684",currency:"USD"},AT:{name:"Austria",callingCode:"+43",currency:"EUR"},AU:{name:"Australia",callingCode:"+61",currency:"AUD"},AW:{name:"Aruba",callingCode:"+297",currency:"AWG"},AX:{name:"\xC5land Islands",callingCode:"+358",currency:"EUR"},AZ:{name:"Azerbaijan",callingCode:"+994",currency:"AZN"},BA:{name:"Bosnia and Herzegovina",callingCode:"+387",currency:"BAM"},BB:{name:"Barbados",callingCode:"+1 246",currency:"BBD"},BD:{name:"Bangladesh",callingCode:"+880",currency:"BDT"},BE:{name:"Belgium",callingCode:"+32",currency:"EUR"},BF:{name:"Burkina Faso",callingCode:"+226",currency:"XOF"},BG:{name:"Bulgaria",callingCode:"+359",currency:"BGN"},BH:{name:"Bahrain",callingCode:"+973",currency:"BHD"},BI:{name:"Burundi",callingCode:"+257",currency:"BIF"},BJ:{name:"Benin",callingCode:"+229",currency:"XOF"},BL:{name:"Saint Barth\xE9lemy",callingCode:"+590",currency:"EUR"},BM:{name:"Bermuda",callingCode:"+1 441",currency:"BMD"},BN:{name:"Brunei Darussalam",callingCode:"+673",currency:"BND"},BO:{name:"Bolivia (Plurinational State of)",callingCode:"+591",currency:"BOB"},BQ:{name:"Bonaire, Sint Eustatius and Saba",callingCode:"+599 7",currency:"USD"},BR:{name:"Brazil",callingCode:"+55",currency:"BRL"},BS:{name:"Bahamas",callingCode:"+1 242",currency:"BSD"},BT:{name:"Bhutan",callingCode:"+975",currency:"INR"},BV:{name:"Bouvet Island",callingCode:"",currency:"NOK"},BW:{name:"Botswana",callingCode:"+267",currency:"BWP"},BY:{name:"Belarus",callingCode:"+375",currency:"BYN"},BZ:{name:"Belize",callingCode:"+501",currency:"BZD"},CA:{name:"Canada",callingCode:"+1",currency:"CAD"},CC:{name:"Cocos (Keeling) Islands",callingCode:"+61 89162",currency:"AUD"},CD:{name:"Congo, Democratic Republic of the",callingCode:"+243",currency:"CDF"},CF:{name:"Central African Republic",callingCode:"+236",currency:"XAF"},CG:{name:"Congo",callingCode:"+242",currency:"XAF"},CH:{name:"Switzerland",callingCode:"+41",currency:"CHF"},CI:{name:"C\xF4te d'Ivoire",callingCode:"+225",currency:"XOF"},CK:{name:"Cook Islands",callingCode:"+682",currency:"NZD"},CL:{name:"Chile",callingCode:"+56",currency:"CLP"},CM:{name:"Cameroon",callingCode:"+237",currency:"XAF"},CN:{name:"China",callingCode:"+86",currency:"CNY"},CO:{name:"Colombia",callingCode:"+57",currency:"COP"},CR:{name:"Costa Rica",callingCode:"+506",currency:"CRC"},CU:{name:"Cuba",callingCode:"+53",currency:"CUP"},CV:{name:"Cabo Verde",callingCode:"+238",currency:"CVE"},CW:{name:"Cura\xE7ao",callingCode:"+599 9",currency:"ANG"},CX:{name:"Christmas Island",callingCode:"+61 89164",currency:"AUD"},CY:{name:"Cyprus",callingCode:"+357",currency:"EUR"},CZ:{name:"Czechia",callingCode:"+420",currency:"CZK"},DE:{name:"Germany",callingCode:"+49",currency:"EUR"},DJ:{name:"Djibouti",callingCode:"+253",currency:"DJF"},DK:{name:"Denmark",callingCode:"+45",currency:"DKK"},DM:{name:"Dominica",callingCode:"+1 767",currency:"XCD"},DO:{name:"Dominican Republic",callingCode:"+1",currency:"DOP"},DZ:{name:"Algeria",callingCode:"+213",currency:"DZD"},EC:{name:"Ecuador",callingCode:"+593",currency:"USD"},EE:{name:"Estonia",callingCode:"+372",currency:"EUR"},EG:{name:"Egypt",callingCode:"Egypt",currency:"EGP"},EH:{name:"Western Sahara",callingCode:"+212",currency:"MAD"},ER:{name:"Eritrea",callingCode:"+291",currency:"ERN"},ES:{name:"Spain",callingCode:"+34",currency:"EUR"},ET:{name:"Ethiopia",callingCode:"+251",currency:"ETB"},FI:{name:"Finland",callingCode:"+358",currency:"EUR"},FJ:{name:"Fiji",callingCode:"+679",currency:"FJD"},FK:{name:"Falkland Islands (Malvinas)",callingCode:"+500",currency:"FKP"},FM:{name:"Micronesia (Federated States of)",callingCode:"+691",currency:"USD"},FO:{name:"Faroe Islands",callingCode:"+298",currency:"DKK"},FR:{name:"France",callingCode:"+33",currency:"EUR"},GA:{name:"Gabon",callingCode:"+241",currency:"XAF"},GB:{name:"United Kingdom of Great Britain and Northern Ireland",callingCode:"+44",currency:"GBP"},GD:{name:"Grenada",callingCode:"+1 473",currency:"XCD"},GE:{name:"Georgia",callingCode:"Georgia",currency:"GEL"},GF:{name:"French Guiana",callingCode:"+594",currency:"EUR"},GG:{name:"Guernsey",callingCode:"+44",currency:"GGP"},GH:{name:"Ghana",callingCode:"+233",currency:"GHS"},GI:{name:"Gibraltar",callingCode:"+350",currency:"GIP"},GL:{name:"Greenland",callingCode:"+299",currency:"DKK"},GM:{name:"Gambia",callingCode:"+220",currency:"GMD"},GN:{name:"Guinea",callingCode:"+224",currency:"GNF"},GP:{name:"Guadeloupe",callingCode:"+590",currency:"EUR"},GQ:{name:"Equatorial Guinea",callingCode:"+240",currency:"XAF"},GR:{name:"Greece",callingCode:"+30",currency:"EUR"},GS:{name:"South Georgia and the South Sandwich Islands",callingCode:"+500",currency:"GBP"},GT:{name:"Guatemala",callingCode:"+502",currency:"GTQ"},GU:{name:"Guam",callingCode:"+1 671",currency:"USD"},GW:{name:"Guinea-Bissau",callingCode:"+245",currency:"XOF"},GY:{name:"Guyana",callingCode:"+592",currency:"GYD"},HK:{name:"Hong Kong",callingCode:"+852",currency:"HKD"},HM:{name:"Heard Island and McDonald Islands",callingCode:"+61",currency:"AUD"},HN:{name:"Honduras",callingCode:"+504",currency:"HNL"},HR:{name:"Croatia",callingCode:"+385 ",currency:"HRK"},HT:{name:"Haiti",callingCode:"+509",currency:"HTG"},HU:{name:"Hungary",callingCode:"+36",currency:"HUF"},ID:{name:"Indonesia",callingCode:"+62",currency:"IDR"},IE:{name:"Ireland",callingCode:"+353",currency:"EUR"},IL:{name:"Israel",callingCode:"+972",currency:"ILS"},IM:{name:"Isle of Man",callingCode:"+44",currency:"GBP"},IN:{name:"India",callingCode:"+91",currency:"INR"},IO:{name:"British Indian Ocean Territory",callingCode:"+246",currency:"USD"},IQ:{name:"Iraq",callingCode:"+964",currency:"IQD"},IR:{name:"Iran (Islamic Republic of)",callingCode:"+98",currency:"IRR"},IS:{name:"Iceland",callingCode:"+354",currency:"ISK"},IT:{name:"Italy",callingCode:"+39",currency:"EUR"},JE:{name:"Jersey",callingCode:"+44 1534",currency:"GBP"},JM:{name:"Jamaica",callingCode:"+1 876",currency:"JMD"},JO:{name:"Jordan",callingCode:"+962",currency:"JOD"},JP:{name:"Japan",callingCode:"+81",currency:"JPY"},KE:{name:"Kenya",callingCode:"+254",currency:"KES"},KG:{name:"Kyrgyzstan",callingCode:"+996",currency:"KGS"},KH:{name:"Cambodia",callingCode:"+855",currency:"KHR"},KI:{name:"Kiribati",callingCode:"+686",currency:"AUD"},KM:{name:"Comoros",callingCode:"+269",currency:"KMF"},KN:{name:"Saint Kitts and Nevis",callingCode:"+1 869",currency:"XCD"},KP:{name:"Korea (Democratic People's Republic of)",callingCode:"+850",currency:"KPW"},KR:{name:"Korea, Republic of",callingCode:"+82",currency:"KRW"},KW:{name:"Kuwait",callingCode:"+965",currency:"KWD"},KY:{name:"Cayman Islands",callingCode:"+1 345",currency:"KYD"},KZ:{name:"Kazakhstan",callingCode:"+7",currency:"KZT"},LA:{name:"Lao People's Democratic Republic",callingCode:"+856",currency:"LAK"},LB:{name:"Lebanon",callingCode:"+961",currency:"LBP"},LC:{name:"Saint Lucia",callingCode:"+1 758",currency:"XCD"},LI:{name:"Liechtenstein",callingCode:"+423",currency:"CHF"},LK:{name:"Sri Lanka",callingCode:"+94",currency:"LKR"},LR:{name:"Liberia",callingCode:"+231",currency:"LRD"},LS:{name:"Lesotho",callingCode:"+266",currency:"LSL"},LT:{name:"Lithuania",callingCode:"+370",currency:"EUR"},LU:{name:"Luxembourg",callingCode:"+352",currency:"EUR"},LV:{name:"Latvia",callingCode:"+371",currency:"EUR"},LY:{name:"Libya",callingCode:"+218",currency:"LYD"},MA:{name:"Morocco",callingCode:"+212",currency:"MAD"},MC:{name:"Monaco",callingCode:"+377",currency:"EUR"},MD:{name:"Moldova, Republic of",callingCode:"+373",currency:"MDL"},ME:{name:"Montenegro",callingCode:"+382",currency:"EUR"},MF:{name:"Saint Martin (French part)",callingCode:"+590",currency:"EUR"},MG:{name:"Madagascar",callingCode:"+261",currency:"MGA"},MH:{name:"Marshall Islands",callingCode:"+692",currency:"USD"},MK:{name:"North Macedonia",callingCode:"+389",currency:"MKD"},ML:{name:"Mali",callingCode:"+223",currency:"XOF"},MM:{name:"Myanmar",callingCode:"+95",currency:"MMK"},MN:{name:"Mongolia",callingCode:"+976",currency:"MNT"},MO:{name:"Macao",callingCode:"+853",currency:"MOP"},MP:{name:"Northern Mariana Islands",callingCode:"+1 670",currency:"USD"},MQ:{name:"Martinique",callingCode:"+596",currency:"EUR"},MR:{name:"Mauritania",callingCode:"+222",currency:"MRO"},MS:{name:"Montserrat",callingCode:"+1 664",currency:"XCD"},MT:{name:"Malta",callingCode:"+356",currency:"EUR"},MU:{name:"Mauritius",callingCode:"+230",currency:"MUR"},MV:{name:"Maldives",callingCode:"+960",currency:"MVR"},MW:{name:"Malawi",callingCode:"+265",currency:"MWK"},MX:{name:"Mexico",callingCode:"+52",currency:"MXN"},MY:{name:"Malaysia",callingCode:"+60",currency:"MYR"},MZ:{name:"Mozambique",callingCode:"+258",currency:"MZN"},NA:{name:"Namibia",callingCode:"+264",currency:"NAD"},NC:{name:"New Caledonia",callingCode:"+687",currency:"XPF"},NE:{name:"Niger",callingCode:"+227",currency:"XOF"},NF:{name:"Norfolk Island",callingCode:"+672 3",currency:"AUD"},NG:{name:"Nigeria",callingCode:"+234",currency:"NGN"},NI:{name:"Nicaragua",callingCode:"+505",currency:"NIO"},NL:{name:"Netherlands",callingCode:"+31",currency:"EUR"},NO:{name:"Norway",callingCode:"+47",currency:"NOK"},NP:{name:"Nepal",callingCode:"+977",currency:"NPR"},NR:{name:"Nauru",callingCode:"+674",currency:"AUD"},NU:{name:"Niue",callingCode:"+683",currency:"NZD"},NZ:{name:"New Zealand",callingCode:"+64",currency:"NZD"},OM:{name:"Oman",callingCode:"+968",currency:"OMR"},PA:{name:"Panama",callingCode:"+507",currency:"PAB"},PE:{name:"Peru",callingCode:"+51",currency:"PEN"},PF:{name:"French Polynesia",callingCode:"+689",currency:"XPF"},PG:{name:"Papua New Guinea",callingCode:"+675",currency:"PGK"},PH:{name:"Philippines",callingCode:"+63",currency:"PHP"},PK:{name:"Pakistan",callingCode:"+92",currency:"PKR"},PL:{name:"Poland",callingCode:"+48",currency:"PLN"},PM:{name:"Saint Pierre and Miquelon",callingCode:"+508",currency:"EUR"},PN:{name:"Pitcairn",callingCode:"+64",currency:"NZD"},PR:{name:"Puerto Rico",callingCode:"+1",currency:"USD"},PS:{name:"Palestine, State of",callingCode:"+970",currency:"JOD"},PT:{name:"Portugal",callingCode:"+351",currency:"EUR"},PW:{name:"Palau",callingCode:"+680",currency:"USD"},PY:{name:"Paraguay",callingCode:"+595",currency:"PYG"},QA:{name:"Qatar",callingCode:"+974",currency:"QAR"},RE:{name:"R\xE9union",callingCode:"+262",currency:"EUR"},RO:{name:"Romania",callingCode:"+40",currency:"RON"},RS:{name:"Serbia",callingCode:"+381",currency:"RSD"},RU:{name:"Russian Federation",callingCode:"+7",currency:"RUB"},RW:{name:"Rwanda",callingCode:"+250",currency:"RWF"},SA:{name:"Saudi Arabia",callingCode:"+966",currency:"SAR"},SB:{name:"Solomon Islands",callingCode:"+677",currency:"SBD"},SC:{name:"Seychelles",callingCode:"+248",currency:"SCR"},SD:{name:"Sudan",callingCode:"+249",currency:"SDG"},SE:{name:"Sweden",callingCode:"+46",currency:"SEK"},SG:{name:"Singapore",callingCode:"+65",currency:"SGD"},SH:{name:"Saint Helena, Ascension and Tristan da Cunha",callingCode:"+290",currency:"SHP"},SI:{name:"Slovenia",callingCode:"+386",currency:"EUR"},SJ:{name:"Svalbard and Jan Mayen",callingCode:"+47 79",currency:"NOK"},SK:{name:"Slovakia",callingCode:"+421",currency:"EUR"},SL:{name:"Sierra Leone",callingCode:"+232",currency:"SLL"},SM:{name:"San Marino",callingCode:"+378",currency:"EUR"},SN:{name:"Senegal",callingCode:"+221",currency:"XOF"},SO:{name:"Somalia",callingCode:"+252",currency:"SOS"},SR:{name:"Suriname",callingCode:"+597",currency:"SRD"},SS:{name:"South Sudan",callingCode:"+211",currency:"SSP"},ST:{name:"Sao Tome and Principe",callingCode:"+239",currency:"STD"},SV:{name:"El Salvador",callingCode:"+503",currency:"USD"},SX:{name:"Sint Maarten (Dutch part)",callingCode:"+1 721",currency:"ANG"},SY:{name:"Syrian Arab Republic",callingCode:"+963",currency:"SYP"},SZ:{name:"Eswatini",callingCode:"+268",currency:"SZL"},TC:{name:"Turks and Caicos Islands",callingCode:"+1 649",currency:"USD"},TD:{name:"Chad",callingCode:"+235",currency:"XAF"},TF:{name:"French Southern Territories",callingCode:"",currency:"EUR"},TG:{name:"Togo",callingCode:"+228",currency:"XOF"},TH:{name:"Thailand",callingCode:"+66",currency:"THB"},TJ:{name:"Tajikistan",callingCode:"+992",currency:"TJS"},TK:{name:"Tokelau",callingCode:"+690",currency:"NZD"},TL:{name:"Timor-Leste",callingCode:"+670",currency:"USD"},TM:{name:"Turkmenistan",callingCode:"+993",currency:"TMT"},TN:{name:"Tunisia",callingCode:"+216",currency:"TND"},TO:{name:"Tonga",callingCode:"+676",currency:"TOP"},TR:{name:"Turkey",callingCode:"+90",currency:"TRY"},TT:{name:"Trinidad and Tobago",callingCode:"+1 868",currency:"TTD"},TV:{name:"Tuvalu",callingCode:"+688",currency:"AUD"},TW:{name:"Taiwan, Province of China",callingCode:"+886",currency:"TWD"},TZ:{name:"Tanzania, United Republic of",callingCode:"+255",currency:"TZS"},UA:{name:"Ukraine",callingCode:"+380",currency:"UAH"},UG:{name:"Uganda",callingCode:"+256",currency:"UGX"},UM:{name:"United States Minor Outlying Islands",callingCode:"",currency:"USD"},US:{name:"United States of America",callingCode:"+1",currency:"USD"},UY:{name:"Uruguay",callingCode:"+598",currency:"UYU"},UZ:{name:"Uzbekistan",callingCode:"+998",currency:"UZS"},VA:{name:"Holy See",callingCode:"+39",currency:"EUR"},VC:{name:"Saint Vincent and the Grenadines",callingCode:"+1 784",currency:"XCD"},VE:{name:"Venezuela (Bolivarian Republic of)",callingCode:"+58",currency:"VEF"},VG:{name:"Virgin Islands (British)",callingCode:"",currency:"USD"},VI:{name:"Virgin Islands (U.S.)",callingCode:"+1",currency:"USD"},VN:{name:"Viet Nam",callingCode:"+84",currency:"VND"},VU:{name:"Vanuatu",callingCode:"+678",currency:"VUV"},WF:{name:"Wallis and Futuna",callingCode:"+681",currency:"XPF"},WS:{name:"Samoa",callingCode:"+685",currency:"EUR"},YE:{name:"Yemen",callingCode:"+967",currency:"YER"},YT:{name:"Mayotte",callingCode:"+26",currency:"EUR"},ZA:{name:"South Africa",callingCode:"+27",currency:"ZAR"},ZM:{name:"Zambia",callingCode:"+260",currency:"ZMW"},ZW:{name:"Zimbabwe",callingCode:"+263",currency:"USD"}},m1e=["sv","en"],F1=["start","base","pro"];function En(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function Je(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function qf(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?qf=function(r){return typeof r}:qf=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},qf(t)}function qe(t){Je(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||qf(t)==="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function p1e(t,e){Je(2,arguments);var r=qe(t),n=En(e);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}function k4(t,e){Je(2,arguments);var r=qe(t).getTime(),n=En(e);return new Date(r+n)}var h1e={};function Ml(){return h1e}function j1(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}function v1e(t){Je(1,arguments);var e=qe(t);return e.setHours(0,0,0,0),e}var g1e=6e4;function y1e(t,e){Je(2,arguments);var r=En(e);return k4(t,r*g1e)}function Yf(t,e){Je(2,arguments);var r=qe(t),n=qe(e),a=r.getTime()-n.getTime();return a<0?-1:a>0?1:a}var T4=6e4,E4=36e5;function Gf(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Gf=function(r){return typeof r}:Gf=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Gf(t)}function _1e(t){return Je(1,arguments),t instanceof Date||Gf(t)==="object"&&Object.prototype.toString.call(t)==="[object Date]"}function Sl(t){if(Je(1,arguments),!_1e(t)&&typeof t!="number")return!1;var e=qe(t);return!isNaN(Number(e))}function b1e(t,e){Je(2,arguments);var r=qe(t),n=qe(e),a=r.getFullYear()-n.getFullYear(),i=r.getMonth()-n.getMonth();return a*12+i}function w1e(t,e){return Je(2,arguments),qe(t).getTime()-qe(e).getTime()}var M4={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},x1e="trunc";function P1e(t){return t?M4[t]:M4[x1e]}function S4(t){Je(1,arguments);var e=qe(t);return e.setHours(23,59,59,999),e}function k1e(t){Je(1,arguments);var e=qe(t),r=e.getMonth();return e.setFullYear(e.getFullYear(),r+1,0),e.setHours(23,59,59,999),e}function T1e(t){Je(1,arguments);var e=qe(t);return S4(e).getTime()===k1e(e).getTime()}function E1e(t,e){Je(2,arguments);var r=qe(t),n=qe(e),a=Yf(r,n),i=Math.abs(b1e(r,n)),o;if(i<1)o=0;else{r.getMonth()===1&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-a*i);var s=Yf(r,n)===-a;T1e(qe(t))&&i===1&&Yf(t,n)===1&&(s=!1),o=a*(i-Number(s))}return o===0?0:o}function M1e(t,e,r){Je(2,arguments);var n=w1e(t,e)/1e3;return P1e(r==null?void 0:r.roundingMethod)(n)}function S1e(t,e){Je(2,arguments);var r=En(e);return k4(t,-r)}var O1e=864e5;function C1e(t){Je(1,arguments);var e=qe(t),r=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var n=e.getTime(),a=r-n;return Math.floor(a/O1e)+1}function Kf(t){Je(1,arguments);var e=1,r=qe(t),n=r.getUTCDay(),a=(n<e?7:0)+n-e;return r.setUTCDate(r.getUTCDate()-a),r.setUTCHours(0,0,0,0),r}function O4(t){Je(1,arguments);var e=qe(t),r=e.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var a=Kf(n),i=new Date(0);i.setUTCFullYear(r,0,4),i.setUTCHours(0,0,0,0);var o=Kf(i);return e.getTime()>=a.getTime()?r+1:e.getTime()>=o.getTime()?r:r-1}function D1e(t){Je(1,arguments);var e=O4(t),r=new Date(0);r.setUTCFullYear(e,0,4),r.setUTCHours(0,0,0,0);var n=Kf(r);return n}var $1e=6048e5;function A1e(t){Je(1,arguments);var e=qe(t),r=Kf(e).getTime()-D1e(e).getTime();return Math.round(r/$1e)+1}function Xf(t,e){var r,n,a,i,o,s,u,l;Je(1,arguments);var d=Ml(),c=En((r=(n=(a=(i=e==null?void 0:e.weekStartsOn)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&a!==void 0?a:d.weekStartsOn)!==null&&n!==void 0?n:(u=d.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=qe(t),f=m.getUTCDay(),p=(f<c?7:0)+f-c;return m.setUTCDate(m.getUTCDate()-p),m.setUTCHours(0,0,0,0),m}function C4(t,e){var r,n,a,i,o,s,u,l;Je(1,arguments);var d=qe(t),c=d.getUTCFullYear(),m=Ml(),f=En((r=(n=(a=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&a!==void 0?a:m.firstWeekContainsDate)!==null&&n!==void 0?n:(u=m.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(f>=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(c+1,0,f),p.setUTCHours(0,0,0,0);var h=Xf(p,e),v=new Date(0);v.setUTCFullYear(c,0,f),v.setUTCHours(0,0,0,0);var y=Xf(v,e);return d.getTime()>=h.getTime()?c+1:d.getTime()>=y.getTime()?c:c-1}function R1e(t,e){var r,n,a,i,o,s,u,l;Je(1,arguments);var d=Ml(),c=En((r=(n=(a=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&a!==void 0?a:d.firstWeekContainsDate)!==null&&n!==void 0?n:(u=d.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1),m=C4(t,e),f=new Date(0);f.setUTCFullYear(m,0,c),f.setUTCHours(0,0,0,0);var p=Xf(f,e);return p}var I1e=6048e5;function N1e(t,e){Je(1,arguments);var r=qe(t),n=Xf(r,e).getTime()-R1e(r,e).getTime();return Math.round(n/I1e)+1}function et(t,e){for(var r=t<0?"-":"",n=Math.abs(t).toString();n.length<e;)n="0"+n;return r+n}var L1e={y:function(e,r){var n=e.getUTCFullYear(),a=n>0?n:1-n;return et(r==="yy"?a%100:a,r.length)},M:function(e,r){var n=e.getUTCMonth();return r==="M"?String(n+1):et(n+1,2)},d:function(e,r){return et(e.getUTCDate(),r.length)},a:function(e,r){var n=e.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(e,r){return et(e.getUTCHours()%12||12,r.length)},H:function(e,r){return et(e.getUTCHours(),r.length)},m:function(e,r){return et(e.getUTCMinutes(),r.length)},s:function(e,r){return et(e.getUTCSeconds(),r.length)},S:function(e,r){var n=r.length,a=e.getUTCMilliseconds(),i=Math.floor(a*Math.pow(10,n-3));return et(i,r.length)}};const Va=L1e;var Os={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},W1e={G:function(e,r,n){var a=e.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(e,r,n){if(r==="yo"){var a=e.getUTCFullYear(),i=a>0?a:1-a;return n.ordinalNumber(i,{unit:"year"})}return Va.y(e,r)},Y:function(e,r,n,a){var i=C4(e,a),o=i>0?i:1-i;if(r==="YY"){var s=o%100;return et(s,2)}return r==="Yo"?n.ordinalNumber(o,{unit:"year"}):et(o,r.length)},R:function(e,r){var n=O4(e);return et(n,r.length)},u:function(e,r){var n=e.getUTCFullYear();return et(n,r.length)},Q:function(e,r,n){var a=Math.ceil((e.getUTCMonth()+1)/3);switch(r){case"Q":return String(a);case"QQ":return et(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,r,n){var a=Math.ceil((e.getUTCMonth()+1)/3);switch(r){case"q":return String(a);case"qq":return et(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,r,n){var a=e.getUTCMonth();switch(r){case"M":case"MM":return Va.M(e,r);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,r,n){var a=e.getUTCMonth();switch(r){case"L":return String(a+1);case"LL":return et(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,r,n,a){var i=N1e(e,a);return r==="wo"?n.ordinalNumber(i,{unit:"week"}):et(i,r.length)},I:function(e,r,n){var a=A1e(e);return r==="Io"?n.ordinalNumber(a,{unit:"week"}):et(a,r.length)},d:function(e,r,n){return r==="do"?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):Va.d(e,r)},D:function(e,r,n){var a=C1e(e);return r==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):et(a,r.length)},E:function(e,r,n){var a=e.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,r,n,a){var i=e.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return et(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,r,n,a){var i=e.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return et(o,r.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,r,n){var a=e.getUTCDay(),i=a===0?7:a;switch(r){case"i":return String(i);case"ii":return et(i,r.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,r,n){var a=e.getUTCHours(),i=a/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,r,n){var a=e.getUTCHours(),i;switch(a===12?i=Os.noon:a===0?i=Os.midnight:i=a/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,r,n){var a=e.getUTCHours(),i;switch(a>=17?i=Os.evening:a>=12?i=Os.afternoon:a>=4?i=Os.morning:i=Os.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,r,n){if(r==="ho"){var a=e.getUTCHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return Va.h(e,r)},H:function(e,r,n){return r==="Ho"?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Va.H(e,r)},K:function(e,r,n){var a=e.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(a,{unit:"hour"}):et(a,r.length)},k:function(e,r,n){var a=e.getUTCHours();return a===0&&(a=24),r==="ko"?n.ordinalNumber(a,{unit:"hour"}):et(a,r.length)},m:function(e,r,n){return r==="mo"?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Va.m(e,r)},s:function(e,r,n){return r==="so"?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Va.s(e,r)},S:function(e,r){return Va.S(e,r)},X:function(e,r,n,a){var i=a._originalDate||e,o=i.getTimezoneOffset();if(o===0)return"Z";switch(r){case"X":return $4(o);case"XXXX":case"XX":return Bi(o);case"XXXXX":case"XXX":default:return Bi(o,":")}},x:function(e,r,n,a){var i=a._originalDate||e,o=i.getTimezoneOffset();switch(r){case"x":return $4(o);case"xxxx":case"xx":return Bi(o);case"xxxxx":case"xxx":default:return Bi(o,":")}},O:function(e,r,n,a){var i=a._originalDate||e,o=i.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+D4(o,":");case"OOOO":default:return"GMT"+Bi(o,":")}},z:function(e,r,n,a){var i=a._originalDate||e,o=i.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+D4(o,":");case"zzzz":default:return"GMT"+Bi(o,":")}},t:function(e,r,n,a){var i=a._originalDate||e,o=Math.floor(i.getTime()/1e3);return et(o,r.length)},T:function(e,r,n,a){var i=a._originalDate||e,o=i.getTime();return et(o,r.length)}};function D4(t,e){var r=t>0?"-":"+",n=Math.abs(t),a=Math.floor(n/60),i=n%60;if(i===0)return r+String(a);var o=e||"";return r+String(a)+o+et(i,2)}function $4(t,e){if(t%60===0){var r=t>0?"-":"+";return r+et(Math.abs(t)/60,2)}return Bi(t,e)}function Bi(t,e){var r=e||"",n=t>0?"-":"+",a=Math.abs(t),i=et(Math.floor(a/60),2),o=et(a%60,2);return n+i+r+o}const F1e=W1e;var A4=function(e,r){switch(e){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},R4=function(e,r){switch(e){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},j1e=function(e,r){var n=e.match(/(P+)(p+)?/)||[],a=n[1],i=n[2];if(!i)return A4(e,r);var o;switch(a){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",A4(a,r)).replace("{{time}}",R4(i,r))},V1e={p:R4,P:j1e};const U1e=V1e;var z1e=["D","DD"],B1e=["YY","YYYY"];function H1e(t){return z1e.indexOf(t)!==-1}function q1e(t){return B1e.indexOf(t)!==-1}function I4(t,e,r){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Y1e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},G1e=function(e,r,n){var a,i=Y1e[e];return typeof i=="string"?a=i:r===1?a=i.one:a=i.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};const K1e=G1e;function Cs(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.width?String(e.width):t.defaultWidth,n=t.formats[r]||t.formats[t.defaultWidth];return n}}var X1e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},J1e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Q1e={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Z1e={date:Cs({formats:X1e,defaultWidth:"full"}),time:Cs({formats:J1e,defaultWidth:"full"}),dateTime:Cs({formats:Q1e,defaultWidth:"full"})};const exe=Z1e;var txe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},rxe=function(e,r,n,a){return txe[e]};const nxe=rxe;function Mn(t){return function(e,r){var n=r!=null&&r.context?String(r.context):"standalone",a;if(n==="formatting"&&t.formattingValues){var i=t.defaultFormattingWidth||t.defaultWidth,o=r!=null&&r.width?String(r.width):i;a=t.formattingValues[o]||t.formattingValues[i]}else{var s=t.defaultWidth,u=r!=null&&r.width?String(r.width):t.defaultWidth;a=t.values[u]||t.values[s]}var l=t.argumentCallback?t.argumentCallback(e):e;return a[l]}}var axe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ixe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},oxe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},sxe={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},uxe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},lxe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},dxe=function(e,r){var n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},cxe={ordinalNumber:dxe,era:Mn({values:axe,defaultWidth:"wide"}),quarter:Mn({values:ixe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Mn({values:oxe,defaultWidth:"wide"}),day:Mn({values:sxe,defaultWidth:"wide"}),dayPeriod:Mn({values:uxe,defaultWidth:"wide",formattingValues:lxe,defaultFormattingWidth:"wide"})};const fxe=cxe;function Sn(t){return function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,a=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],i=e.match(a);if(!i)return null;var o=i[0],s=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],u=Array.isArray(s)?pxe(s,function(c){return c.test(o)}):mxe(s,function(c){return c.test(o)}),l;l=t.valueCallback?t.valueCallback(u):u,l=r.valueCallback?r.valueCallback(l):l;var d=e.slice(o.length);return{value:l,rest:d}}}function mxe(t,e){for(var r in t)if(t.hasOwnProperty(r)&&e(t[r]))return r}function pxe(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return r}function N4(t){return function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.match(t.matchPattern);if(!n)return null;var a=n[0],i=e.match(t.parsePattern);if(!i)return null;var o=t.valueCallback?t.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;var s=e.slice(a.length);return{value:o,rest:s}}}var hxe=/^(\d+)(th|st|nd|rd)?/i,vxe=/\d+/i,gxe={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},yxe={any:[/^b/i,/^(a|c)/i]},_xe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},bxe={any:[/1/i,/2/i,/3/i,/4/i]},wxe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},xxe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Pxe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},kxe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Txe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Exe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Mxe={ordinalNumber:N4({matchPattern:hxe,parsePattern:vxe,valueCallback:function(e){return parseInt(e,10)}}),era:Sn({matchPatterns:gxe,defaultMatchWidth:"wide",parsePatterns:yxe,defaultParseWidth:"any"}),quarter:Sn({matchPatterns:_xe,defaultMatchWidth:"wide",parsePatterns:bxe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Sn({matchPatterns:wxe,defaultMatchWidth:"wide",parsePatterns:xxe,defaultParseWidth:"any"}),day:Sn({matchPatterns:Pxe,defaultMatchWidth:"wide",parsePatterns:kxe,defaultParseWidth:"any"}),dayPeriod:Sn({matchPatterns:Txe,defaultMatchWidth:"any",parsePatterns:Exe,defaultParseWidth:"any"})},Sxe={code:"en-US",formatDistance:K1e,formatLong:exe,formatRelative:nxe,localize:fxe,match:Mxe,options:{weekStartsOn:0,firstWeekContainsDate:1}};const V1=Sxe;var Oxe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Cxe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Dxe=/^'([^]*?)'?$/,$xe=/''/g,Axe=/[a-zA-Z]/;function Rxe(t,e,r){var n,a,i,o,s,u,l,d,c,m,f,p,h,v,y,b,g,_;Je(2,arguments);var w=String(e),x=Ml(),k=(n=(a=r==null?void 0:r.locale)!==null&&a!==void 0?a:x.locale)!==null&&n!==void 0?n:V1,D=En((i=(o=(s=(u=r==null?void 0:r.firstWeekContainsDate)!==null&&u!==void 0?u:r==null||(l=r.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&s!==void 0?s:x.firstWeekContainsDate)!==null&&o!==void 0?o:(c=x.locale)===null||c===void 0||(m=c.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=En((f=(p=(h=(v=r==null?void 0:r.weekStartsOn)!==null&&v!==void 0?v:r==null||(y=r.locale)===null||y===void 0||(b=y.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&h!==void 0?h:x.weekStartsOn)!==null&&p!==void 0?p:(g=x.locale)===null||g===void 0||(_=g.options)===null||_===void 0?void 0:_.weekStartsOn)!==null&&f!==void 0?f:0);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!k.localize)throw new RangeError("locale must contain localize property");if(!k.formatLong)throw new RangeError("locale must contain formatLong property");var O=qe(t);if(!Sl(O))throw new RangeError("Invalid time value");var C=j1(O),E=S1e(O,C),T={firstWeekContainsDate:D,weekStartsOn:S,locale:k,_originalDate:O},$=w.match(Cxe).map(function(I){var W=I[0];if(W==="p"||W==="P"){var U=U1e[W];return U(I,k.formatLong)}return I}).join("").match(Oxe).map(function(I){if(I==="''")return"'";var W=I[0];if(W==="'")return Ixe(I);var U=F1e[W];if(U)return!(r!=null&&r.useAdditionalWeekYearTokens)&&q1e(I)&&I4(I,e,String(t)),!(r!=null&&r.useAdditionalDayOfYearTokens)&&H1e(I)&&I4(I,e,String(t)),U(E,I,k.localize,T);if(W.match(Axe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+W+"`");return I}).join("");return $}function Ixe(t){var e=t.match(Dxe);return e?e[1].replace($xe,"'"):t}function L4(t,e){if(t==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}function Nxe(t){return L4({},t)}var W4=1440,Lxe=2520,U1=43200,Wxe=86400;function Fxe(t,e,r){var n,a;Je(2,arguments);var i=Ml(),o=(n=(a=r==null?void 0:r.locale)!==null&&a!==void 0?a:i.locale)!==null&&n!==void 0?n:V1;if(!o.formatDistance)throw new RangeError("locale must contain formatDistance property");var s=Yf(t,e);if(isNaN(s))throw new RangeError("Invalid time value");var u=L4(Nxe(r),{addSuffix:Boolean(r==null?void 0:r.addSuffix),comparison:s}),l,d;s>0?(l=qe(e),d=qe(t)):(l=qe(t),d=qe(e));var c=M1e(d,l),m=(j1(d)-j1(l))/1e3,f=Math.round((c-m)/60),p;if(f<2)return r!=null&&r.includeSeconds?c<5?o.formatDistance("lessThanXSeconds",5,u):c<10?o.formatDistance("lessThanXSeconds",10,u):c<20?o.formatDistance("lessThanXSeconds",20,u):c<40?o.formatDistance("halfAMinute",0,u):c<60?o.formatDistance("lessThanXMinutes",1,u):o.formatDistance("xMinutes",1,u):f===0?o.formatDistance("lessThanXMinutes",1,u):o.formatDistance("xMinutes",f,u);if(f<45)return o.formatDistance("xMinutes",f,u);if(f<90)return o.formatDistance("aboutXHours",1,u);if(f<W4){var h=Math.round(f/60);return o.formatDistance("aboutXHours",h,u)}else{if(f<Lxe)return o.formatDistance("xDays",1,u);if(f<U1){var v=Math.round(f/W4);return o.formatDistance("xDays",v,u)}else if(f<Wxe)return p=Math.round(f/U1),o.formatDistance("aboutXMonths",p,u)}if(p=E1e(d,l),p<12){var y=Math.round(f/U1);return o.formatDistance("xMonths",y,u)}else{var b=p%12,g=Math.floor(p/12);return b<3?o.formatDistance("aboutXYears",g,u):b<9?o.formatDistance("overXYears",g,u):o.formatDistance("almostXYears",g+1,u)}}function jxe(t,e){return Je(1,arguments),Fxe(t,Date.now(),e)}function Vxe(t,e){Je(2,arguments);var r=qe(t),n=qe(e);return r.getTime()>n.getTime()}function Uxe(t,e){Je(2,arguments);var r=qe(t),n=qe(e);return r.getTime()<n.getTime()}function Ol(t,e){var r;Je(1,arguments);var n=En((r=e==null?void 0:e.additionalDigits)!==null&&r!==void 0?r:2);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var a=qxe(t),i;if(a.date){var o=Yxe(a.date,n);i=Gxe(o.restDateString,o.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);var s=i.getTime(),u=0,l;if(a.time&&(u=Kxe(a.time),isNaN(u)))return new Date(NaN);if(a.timezone){if(l=Xxe(a.timezone),isNaN(l))return new Date(NaN)}else{var d=new Date(s+u),c=new Date(0);return c.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),c.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),c}return new Date(s+u+l)}var Jf={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},zxe=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Bxe=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Hxe=/^([+-])(\d{2})(?::?(\d{2}))?$/;function qxe(t){var e={},r=t.split(Jf.dateTimeDelimiter),n;if(r.length>2)return e;if(/:/.test(r[0])?n=r[0]:(e.date=r[0],n=r[1],Jf.timeZoneDelimiter.test(e.date)&&(e.date=t.split(Jf.timeZoneDelimiter)[0],n=t.substr(e.date.length,t.length))),n){var a=Jf.timezone.exec(n);a?(e.time=n.replace(a[1],""),e.timezone=a[1]):e.time=n}return e}function Yxe(t,e){var r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),n=t.match(r);if(!n)return{year:NaN,restDateString:""};var a=n[1]?parseInt(n[1]):null,i=n[2]?parseInt(n[2]):null;return{year:i===null?a:i*100,restDateString:t.slice((n[1]||n[2]).length)}}function Gxe(t,e){if(e===null)return new Date(NaN);var r=t.match(zxe);if(!r)return new Date(NaN);var n=!!r[4],a=Cl(r[1]),i=Cl(r[2])-1,o=Cl(r[3]),s=Cl(r[4]),u=Cl(r[5])-1;if(n)return tPe(e,s,u)?Jxe(e,s,u):new Date(NaN);var l=new Date(0);return!Zxe(e,i,o)||!ePe(e,a)?new Date(NaN):(l.setUTCFullYear(e,i,Math.max(a,o)),l)}function Cl(t){return t?parseInt(t):1}function Kxe(t){var e=t.match(Bxe);if(!e)return NaN;var r=z1(e[1]),n=z1(e[2]),a=z1(e[3]);return rPe(r,n,a)?r*E4+n*T4+a*1e3:NaN}function z1(t){return t&&parseFloat(t.replace(",","."))||0}function Xxe(t){if(t==="Z")return 0;var e=t.match(Hxe);if(!e)return 0;var r=e[1]==="+"?-1:1,n=parseInt(e[2]),a=e[3]&&parseInt(e[3])||0;return nPe(n,a)?r*(n*E4+a*T4):NaN}function Jxe(t,e,r){var n=new Date(0);n.setUTCFullYear(t,0,4);var a=n.getUTCDay()||7,i=(e-1)*7+r+1-a;return n.setUTCDate(n.getUTCDate()+i),n}var Qxe=[31,null,31,30,31,30,31,31,30,31,30,31];function F4(t){return t%400===0||t%4===0&&t%100!==0}function Zxe(t,e,r){return e>=0&&e<=11&&r>=1&&r<=(Qxe[e]||(F4(t)?29:28))}function ePe(t,e){return e>=1&&e<=(F4(t)?366:365)}function tPe(t,e,r){return e>=1&&e<=53&&r>=0&&r<=6}function rPe(t,e,r){return t===24?e===0&&r===0:r>=0&&r<60&&e>=0&&e<60&&t>=0&&t<25}function nPe(t,e){return e>=0&&e<=59}const j4=(t,e)=>Vxe(new Date(t),new Date(e)),aPe=(t,e)=>Uxe(new Date(t),new Date(e)),V4=(t,e)=>y1e(new Date(t),e),iPe=(t,e)=>p1e(new Date(t),e),U4=t=>v1e(new Date(t)),Qf=t=>S4(new Date(t));function Ua(t){return Ua=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ua(t)}function oPe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&n.push.apply(n,Object.getOwnPropertySymbols(r).filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),n.forEach(function(a){oPe(t,a,r[a])})}return t}function On(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function z4(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Cn(t,e,r){return e&&z4(t.prototype,e),r&&z4(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Hi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dl(t,e){if(e&&(Ua(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Hi(t)}function Ds(t){return Ds=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ds(t)}function B1(t,e){return B1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},B1(t,e)}function Zf(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&B1(t,e)}var sPe={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,r){console&&console[e]&&console[e].apply(console,r)}},uPe=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};On(this,t),this.init(e,r)}return Cn(t,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=r||sPe,this.options=n,this.debug=n.debug}},{key:"setDebug",value:function(r){this.debug=r}},{key:"log",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return this.forward(n,"log","",!0)}},{key:"warn",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return this.forward(n,"warn","",!0)}},{key:"error",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return this.forward(n,"error","")}},{key:"deprecate",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(r,n,a,i){return i&&!this.debug?null:(typeof r[0]=="string"&&(r[0]="".concat(a).concat(this.prefix," ").concat(r[0])),this.logger[n](r))}},{key:"create",value:function(r){return new t(this.logger,Zt({},{prefix:"".concat(this.prefix,":").concat(r,":")},this.options))}}]),t}(),sa=new uPe,za=function(){function t(){On(this,t),this.observers={}}return Cn(t,[{key:"on",value:function(r,n){var a=this;return r.split(" ").forEach(function(i){a.observers[i]=a.observers[i]||[],a.observers[i].push(n)}),this}},{key:"off",value:function(r,n){if(!!this.observers[r]){if(!n){delete this.observers[r];return}this.observers[r]=this.observers[r].filter(function(a){return a!==n})}}},{key:"emit",value:function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];if(this.observers[r]){var o=[].concat(this.observers[r]);o.forEach(function(u){u.apply(void 0,a)})}if(this.observers["*"]){var s=[].concat(this.observers["*"]);s.forEach(function(u){u.apply(u,[r].concat(a))})}}}]),t}();function $l(){var t,e,r=new Promise(function(n,a){t=n,e=a});return r.resolve=t,r.reject=e,r}function B4(t){return t==null?"":""+t}function lPe(t,e,r){t.forEach(function(n){e[n]&&(r[n]=e[n])})}function H1(t,e,r){function n(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function a(){return!t||typeof t=="string"}for(var i=typeof e!="string"?[].concat(e):e.split(".");i.length>1;){if(a())return{};var o=n(i.shift());!t[o]&&r&&(t[o]=new r),Object.prototype.hasOwnProperty.call(t,o)?t=t[o]:t={}}return a()?{}:{obj:t,k:n(i.shift())}}function H4(t,e,r){var n=H1(t,e,Object),a=n.obj,i=n.k;a[i]=r}function dPe(t,e,r,n){var a=H1(t,e,Object),i=a.obj,o=a.k;i[o]=i[o]||[],n&&(i[o]=i[o].concat(r)),n||i[o].push(r)}function em(t,e){var r=H1(t,e),n=r.obj,a=r.k;if(!!n)return n[a]}function q4(t,e,r){var n=em(t,r);return n!==void 0?n:em(e,r)}function Y4(t,e,r){for(var n in e)n!=="__proto__"&&n!=="constructor"&&(n in t?typeof t[n]=="string"||t[n]instanceof String||typeof e[n]=="string"||e[n]instanceof String?r&&(t[n]=e[n]):Y4(t[n],e[n],r):t[n]=e[n]);return t}function $s(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var cPe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function fPe(t){return typeof t=="string"?t.replace(/[&<>"'\/]/g,function(e){return cPe[e]}):t}var tm=typeof window<"u"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,mPe=function(t){Zf(e,t);function e(r){var n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return On(this,e),n=Dl(this,Ds(e).call(this)),tm&&za.call(Hi(n)),n.data=r||{},n.options=a,n.options.keySeparator===void 0&&(n.options.keySeparator="."),n}return Cn(e,[{key:"addNamespaces",value:function(n){this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}},{key:"removeNamespaces",value:function(n){var a=this.options.ns.indexOf(n);a>-1&&this.options.ns.splice(a,1)}},{key:"getResource",value:function(n,a,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,u=[n,a];return i&&typeof i!="string"&&(u=u.concat(i)),i&&typeof i=="string"&&(u=u.concat(s?i.split(s):i)),n.indexOf(".")>-1&&(u=n.split(".")),em(this.data,u)}},{key:"addResource",value:function(n,a,i,o){var s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var l=[n,a];i&&(l=l.concat(u?i.split(u):i)),n.indexOf(".")>-1&&(l=n.split("."),o=a,a=l[1]),this.addNamespaces(a),H4(this.data,l,o),s.silent||this.emit("added",n,a,i,o)}},{key:"addResources",value:function(n,a,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var s in i)(typeof i[s]=="string"||Object.prototype.toString.apply(i[s])==="[object Array]")&&this.addResource(n,a,s,i[s],{silent:!0});o.silent||this.emit("added",n,a,i)}},{key:"addResourceBundle",value:function(n,a,i,o,s){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},l=[n,a];n.indexOf(".")>-1&&(l=n.split("."),o=i,i=a,a=l[1]),this.addNamespaces(a);var d=em(this.data,l)||{};o?Y4(d,i,s):d=Zt({},d,i),H4(this.data,l,d),u.silent||this.emit("added",n,a,i)}},{key:"removeResourceBundle",value:function(n,a){this.hasResourceBundle(n,a)&&delete this.data[n][a],this.removeNamespaces(a),this.emit("removed",n,a)}},{key:"hasResourceBundle",value:function(n,a){return this.getResource(n,a)!==void 0}},{key:"getResourceBundle",value:function(n,a){return a||(a=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Zt({},{},this.getResource(n,a)):this.getResource(n,a)}},{key:"getDataByLanguage",value:function(n){return this.data[n]}},{key:"toJSON",value:function(){return this.data}}]),e}(za),G4={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,r,n,a,i){var o=this;return e.forEach(function(s){o.processors[s]&&(r=o.processors[s].process(r,n,a,i))}),r}},K4={},X4=function(t){Zf(e,t);function e(r){var n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return On(this,e),n=Dl(this,Ds(e).call(this)),tm&&za.call(Hi(n)),lPe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,Hi(n)),n.options=a,n.options.keySeparator===void 0&&(n.options.keySeparator="."),n.logger=sa.create("translator"),n}return Cn(e,[{key:"changeLanguage",value:function(n){n&&(this.language=n)}},{key:"exists",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=this.resolve(n,a);return i&&i.res!==void 0}},{key:"extractFromKey",value:function(n,a){var i=a.nsSeparator!==void 0?a.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");var o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,s=a.ns||this.options.defaultNS;if(i&&n.indexOf(i)>-1){var u=n.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:n,namespaces:s};var l=n.split(i);(i!==o||i===o&&this.options.ns.indexOf(l[0])>-1)&&(s=l.shift()),n=l.join(o)}return typeof s=="string"&&(s=[s]),{key:n,namespaces:s}}},{key:"translate",value:function(n,a,i){var o=this;if(Ua(a)!=="object"&&this.options.overloadTranslationOptionHandler&&(a=this.options.overloadTranslationOptionHandler(arguments)),a||(a={}),n==null)return"";Array.isArray(n)||(n=[String(n)]);var s=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,u=this.extractFromKey(n[n.length-1],a),l=u.key,d=u.namespaces,c=d[d.length-1],m=a.lng||this.language,f=a.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(m&&m.toLowerCase()==="cimode"){if(f){var p=a.nsSeparator||this.options.nsSeparator;return c+p+l}return l}var h=this.resolve(n,a),v=h&&h.res,y=h&&h.usedKey||l,b=h&&h.exactUsedKey||l,g=Object.prototype.toString.apply(v),_=["[object Number]","[object Function]","[object RegExp]"],w=a.joinArrays!==void 0?a.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject,k=typeof v!="string"&&typeof v!="boolean"&&typeof v!="number";if(x&&v&&k&&_.indexOf(g)<0&&!(typeof w=="string"&&g==="[object Array]")){if(!a.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,v,a):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");if(s){var D=g==="[object Array]",S=D?[]:{},O=D?b:y;for(var C in v)if(Object.prototype.hasOwnProperty.call(v,C)){var E="".concat(O).concat(s).concat(C);S[C]=this.translate(E,Zt({},a,{joinArrays:!1,ns:d})),S[C]===E&&(S[C]=v[C])}v=S}}else if(x&&typeof w=="string"&&g==="[object Array]")v=v.join(w),v&&(v=this.extendTranslation(v,n,a,i));else{var T=!1,$=!1,I=a.count!==void 0&&typeof a.count!="string",W=e.hasDefaultValue(a),U=I?this.pluralResolver.getSuffix(m,a.count):"",M=a["defaultValue".concat(U)]||a.defaultValue;!this.isValidLookup(v)&&W&&(T=!0,v=M),this.isValidLookup(v)||($=!0,v=l);var P=W&&M!==v&&this.options.updateMissing;if($||T||P){if(this.logger.log(P?"updateKey":"missingKey",m,c,l,P?M:v),s){var A=this.resolve(l,Zt({},a,{keySeparator:!1}));A&&A.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var j=[],B=this.languageUtils.getFallbackCodes(this.options.fallbackLng,a.lng||this.language);if(this.options.saveMissingTo==="fallback"&&B&&B[0])for(var G=0;G<B.length;G++)j.push(B[G]);else this.options.saveMissingTo==="all"?j=this.languageUtils.toResolveHierarchy(a.lng||this.language):j.push(a.lng||this.language);var X=function(H,J,fe){o.options.missingKeyHandler?o.options.missingKeyHandler(H,c,J,P?fe:v,P,a):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(H,c,J,P?fe:v,P,a),o.emit("missingKey",H,c,J,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&I?j.forEach(function(Q){o.pluralResolver.getSuffixes(Q).forEach(function(H){X([Q],l+H,a["defaultValue".concat(H)]||M)})}):X(j,l,M))}v=this.extendTranslation(v,n,a,h,i),$&&v===l&&this.options.appendNamespaceToMissingKey&&(v="".concat(c,":").concat(l)),$&&this.options.parseMissingKeyHandler&&(v=this.options.parseMissingKeyHandler(v))}return v}},{key:"extendTranslation",value:function(n,a,i,o,s){var u=this;if(this.i18nFormat&&this.i18nFormat.parse)n=this.i18nFormat.parse(n,i,o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init(Zt({},i,{interpolation:Zt({},this.options.interpolation,i.interpolation)}));var l=i.interpolation&&i.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,d;if(l){var c=n.match(this.interpolator.nestingRegexp);d=c&&c.length}var m=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(m=Zt({},this.options.interpolation.defaultVariables,m)),n=this.interpolator.interpolate(n,m,i.lng||this.language,i),l){var f=n.match(this.interpolator.nestingRegexp),p=f&&f.length;d<p&&(i.nest=!1)}i.nest!==!1&&(n=this.interpolator.nest(n,function(){for(var y=arguments.length,b=new Array(y),g=0;g<y;g++)b[g]=arguments[g];return s&&s[0]===b[0]&&!i.context?(u.logger.warn("It seems you are nesting recursively key: ".concat(b[0]," in key: ").concat(a[0])),null):u.translate.apply(u,b.concat([a]))},i)),i.interpolation&&this.interpolator.reset()}var h=i.postProcess||this.options.postProcess,v=typeof h=="string"?[h]:h;return n!=null&&v&&v.length&&i.applyPostProcessor!==!1&&(n=G4.handle(v,n,a,this.options&&this.options.postProcessPassResolved?Zt({i18nResolved:o},i):i,this)),n}},{key:"resolve",value:function(n){var a=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o,s,u,l,d;return typeof n=="string"&&(n=[n]),n.forEach(function(c){if(!a.isValidLookup(o)){var m=a.extractFromKey(c,i),f=m.key;s=f;var p=m.namespaces;a.options.fallbackNS&&(p=p.concat(a.options.fallbackNS));var h=i.count!==void 0&&typeof i.count!="string",v=i.context!==void 0&&typeof i.context=="string"&&i.context!=="",y=i.lngs?i.lngs:a.languageUtils.toResolveHierarchy(i.lng||a.language,i.fallbackLng);p.forEach(function(b){a.isValidLookup(o)||(d=b,!K4["".concat(y[0],"-").concat(b)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(d)&&(K4["".concat(y[0],"-").concat(b)]=!0,a.logger.warn('key "'.concat(s,'" for languages "').concat(y.join(", "),`" won't get resolved as namespace "`).concat(d,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),y.forEach(function(g){if(!a.isValidLookup(o)){l=g;var _=f,w=[_];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(w,f,g,b,i);else{var x;h&&(x=a.pluralResolver.getSuffix(g,i.count)),h&&v&&w.push(_+x),v&&w.push(_+="".concat(a.options.contextSeparator).concat(i.context)),h&&w.push(_+=x)}for(var k;k=w.pop();)a.isValidLookup(o)||(u=k,o=a.getResource(g,b,k,i))}}))})}}),{res:o,usedKey:s,exactUsedKey:u,usedLng:l,usedNS:d}}},{key:"isValidLookup",value:function(n){return n!==void 0&&!(!this.options.returnNull&&n===null)&&!(!this.options.returnEmptyString&&n==="")}},{key:"getResource",value:function(n,a,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(n,a,i,o):this.resourceStore.getResource(n,a,i,o)}}],[{key:"hasDefaultValue",value:function(n){var a="defaultValue";for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&a===i.substring(0,a.length)&&n[i]!==void 0)return!0;return!1}}]),e}(za);function q1(t){return t.charAt(0).toUpperCase()+t.slice(1)}var pPe=function(){function t(e){On(this,t),this.options=e,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=sa.create("languageUtils")}return Cn(t,[{key:"getScriptPartFromCode",value:function(r){if(!r||r.indexOf("-")<0)return null;var n=r.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}},{key:"getLanguagePartFromCode",value:function(r){if(!r||r.indexOf("-")<0)return r;var n=r.split("-");return this.formatLanguageCode(n[0])}},{key:"formatLanguageCode",value:function(r){if(typeof r=="string"&&r.indexOf("-")>-1){var n=["hans","hant","latn","cyrl","cans","mong","arab"],a=r.split("-");return this.options.lowerCaseLng?a=a.map(function(i){return i.toLowerCase()}):a.length===2?(a[0]=a[0].toLowerCase(),a[1]=a[1].toUpperCase(),n.indexOf(a[1].toLowerCase())>-1&&(a[1]=q1(a[1].toLowerCase()))):a.length===3&&(a[0]=a[0].toLowerCase(),a[1].length===2&&(a[1]=a[1].toUpperCase()),a[0]!=="sgn"&&a[2].length===2&&(a[2]=a[2].toUpperCase()),n.indexOf(a[1].toLowerCase())>-1&&(a[1]=q1(a[1].toLowerCase())),n.indexOf(a[2].toLowerCase())>-1&&(a[2]=q1(a[2].toLowerCase()))),a.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?r.toLowerCase():r}},{key:"isWhitelisted",value:function(r){return this.logger.deprecate("languageUtils.isWhitelisted",`function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it's usage asap.`),this.isSupportedCode(r)}},{key:"isSupportedCode",value:function(r){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(r=this.getLanguagePartFromCode(r)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(r)>-1}},{key:"getBestMatchFromCodes",value:function(r){var n=this;if(!r)return null;var a;return r.forEach(function(i){if(!a){var o=n.formatLanguageCode(i);(!n.options.supportedLngs||n.isSupportedCode(o))&&(a=o)}}),!a&&this.options.supportedLngs&&r.forEach(function(i){if(!a){var o=n.getLanguagePartFromCode(i);if(n.isSupportedCode(o))return a=o;a=n.options.supportedLngs.find(function(s){if(s.indexOf(o)===0)return s})}}),a||(a=this.getFallbackCodes(this.options.fallbackLng)[0]),a}},{key:"getFallbackCodes",value:function(r,n){if(!r)return[];if(typeof r=="function"&&(r=r(n)),typeof r=="string"&&(r=[r]),Object.prototype.toString.apply(r)==="[object Array]")return r;if(!n)return r.default||[];var a=r[n];return a||(a=r[this.getScriptPartFromCode(n)]),a||(a=r[this.formatLanguageCode(n)]),a||(a=r[this.getLanguagePartFromCode(n)]),a||(a=r.default),a||[]}},{key:"toResolveHierarchy",value:function(r,n){var a=this,i=this.getFallbackCodes(n||this.options.fallbackLng||[],r),o=[],s=function(l){!l||(a.isSupportedCode(l)?o.push(l):a.logger.warn("rejecting language code not found in supportedLngs: ".concat(l)))};return typeof r=="string"&&r.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(r)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(r)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(r))):typeof r=="string"&&s(this.formatLanguageCode(r)),i.forEach(function(u){o.indexOf(u)<0&&s(a.formatLanguageCode(u))}),o}}]),t}(),hPe=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],vPe={1:function(e){return Number(e>1)},2:function(e){return Number(e!=1)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(e==1?0:e>=2&&e<=4?1:2)},7:function(e){return Number(e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(e==1?0:e==2?1:e!=8&&e!=11?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(e==1?0:e==2?1:e<7?2:e<11?3:4)},11:function(e){return Number(e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(e!==0)},14:function(e){return Number(e==1?0:e==2?1:e==3?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:e!==0?1:2)},17:function(e){return Number(e==1||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(e==0?0:e==1?1:2)},19:function(e){return Number(e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(e==1?0:e==0||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3)}};function gPe(){var t={};return hPe.forEach(function(e){e.lngs.forEach(function(r){t[r]={numbers:e.nr,plurals:vPe[e.fc]}})}),t}var yPe=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};On(this,t),this.languageUtils=e,this.options=r,this.logger=sa.create("pluralResolver"),this.rules=gPe()}return Cn(t,[{key:"addRule",value:function(r,n){this.rules[r]=n}},{key:"getRule",value:function(r){return this.rules[r]||this.rules[this.languageUtils.getLanguagePartFromCode(r)]}},{key:"needsPlural",value:function(r){var n=this.getRule(r);return n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(r,n){return this.getSuffixes(r).map(function(a){return n+a})}},{key:"getSuffixes",value:function(r){var n=this,a=this.getRule(r);return a?a.numbers.map(function(i){return n.getSuffix(r,i)}):[]}},{key:"getSuffix",value:function(r,n){var a=this,i=this.getRule(r);if(i){var o=i.noAbs?i.plurals(n):i.plurals(Math.abs(n)),s=i.numbers[o];this.options.simplifyPluralSuffix&&i.numbers.length===2&&i.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));var u=function(){return a.options.prepend&&s.toString()?a.options.prepend+s.toString():s.toString()};return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?"_plural_".concat(s.toString()):u():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&i.numbers.length===2&&i.numbers[0]===1?u():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}return this.logger.warn("no plural rule found for: ".concat(r)),""}}]),t}(),_Pe=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};On(this,t),this.logger=sa.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||function(r){return r},this.init(e)}return Cn(t,[{key:"init",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r.interpolation||(r.interpolation={escapeValue:!0});var n=r.interpolation;this.escape=n.escape!==void 0?n.escape:fPe,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?$s(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?$s(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?$s(n.nestingPrefix):n.nestingPrefixEscaped||$s("$t("),this.nestingSuffix=n.nestingSuffix?$s(n.nestingSuffix):n.nestingSuffixEscaped||$s(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var r="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(r,"g");var n="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(n,"g");var a="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(a,"g")}},{key:"interpolate",value:function(r,n,a,i){var o=this,s,u,l,d=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(v){return v.replace(/\$/g,"$$$$")}var m=function(y){if(y.indexOf(o.formatSeparator)<0){var b=q4(n,d,y);return o.alwaysFormat?o.format(b,void 0,a):b}var g=y.split(o.formatSeparator),_=g.shift().trim(),w=g.join(o.formatSeparator).trim();return o.format(q4(n,d,_),w,a,i)};this.resetRegExp();var f=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,p=i&&i.interpolation&&i.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,h=[{regex:this.regexpUnescape,safeValue:function(y){return c(y)}},{regex:this.regexp,safeValue:function(y){return o.escapeValue?c(o.escape(y)):c(y)}}];return h.forEach(function(v){for(l=0;s=v.regex.exec(r);){if(u=m(s[1].trim()),u===void 0)if(typeof f=="function"){var y=f(r,s,i);u=typeof y=="string"?y:""}else if(p){u=s[0];continue}else o.logger.warn("missed to pass in variable ".concat(s[1]," for interpolating ").concat(r)),u="";else typeof u!="string"&&!o.useRawValueToEscape&&(u=B4(u));if(r=r.replace(s[0],v.safeValue(u)),v.regex.lastIndex=0,l++,l>=o.maxReplaces)break}}),r}},{key:"nest",value:function(r,n){var a=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,s,u=Zt({},i);u.applyPostProcessor=!1,delete u.defaultValue;function l(f,p){var h=this.nestingOptionsSeparator;if(f.indexOf(h)<0)return f;var v=f.split(new RegExp("".concat(h,"[ ]*{"))),y="{".concat(v[1]);f=v[0],y=this.interpolate(y,u),y=y.replace(/'/g,'"');try{u=JSON.parse(y),p&&(u=Zt({},p,u))}catch(b){return this.logger.warn("failed parsing options string in nesting for key ".concat(f),b),"".concat(f).concat(h).concat(y)}return delete u.defaultValue,f}for(;o=this.nestingRegexp.exec(r);){var d=[],c=!1;if(o[0].includes(this.formatSeparator)&&!/{.*}/.test(o[1])){var m=o[1].split(this.formatSeparator).map(function(f){return f.trim()});o[1]=m.shift(),d=m,c=!0}if(s=n(l.call(this,o[1].trim(),u),u),s&&o[0]===r&&typeof s!="string")return s;typeof s!="string"&&(s=B4(s)),s||(this.logger.warn("missed to resolve ".concat(o[1]," for nesting ").concat(r)),s=""),c&&(s=d.reduce(function(f,p){return a.format(f,p,i.lng,i)},s.trim())),r=r.replace(o[0],s),this.regexp.lastIndex=0}return r}}]),t}();function bPe(t,e){for(var r=t.indexOf(e);r!==-1;)t.splice(r,1),r=t.indexOf(e)}var wPe=function(t){Zf(e,t);function e(r,n,a){var i,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return On(this,e),i=Dl(this,Ds(e).call(this)),tm&&za.call(Hi(i)),i.backend=r,i.store=n,i.services=a,i.languageUtils=a.languageUtils,i.options=o,i.logger=sa.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(a,o.backend,o),i}return Cn(e,[{key:"queueLoad",value:function(n,a,i,o){var s=this,u=[],l=[],d=[],c=[];return n.forEach(function(m){var f=!0;a.forEach(function(p){var h="".concat(m,"|").concat(p);!i.reload&&s.store.hasResourceBundle(m,p)?s.state[h]=2:s.state[h]<0||(s.state[h]===1?l.indexOf(h)<0&&l.push(h):(s.state[h]=1,f=!1,l.indexOf(h)<0&&l.push(h),u.indexOf(h)<0&&u.push(h),c.indexOf(p)<0&&c.push(p)))}),f||d.push(m)}),(u.length||l.length)&&this.queue.push({pending:l,loaded:{},errors:[],callback:o}),{toLoad:u,pending:l,toLoadLanguages:d,toLoadNamespaces:c}}},{key:"loaded",value:function(n,a,i){var o=n.split("|"),s=o[0],u=o[1];a&&this.emit("failedLoading",s,u,a),i&&this.store.addResourceBundle(s,u,i),this.state[n]=a?-1:2;var l={};this.queue.forEach(function(d){dPe(d.loaded,[s],u),bPe(d.pending,n),a&&d.errors.push(a),d.pending.length===0&&!d.done&&(Object.keys(d.loaded).forEach(function(c){l[c]||(l[c]=[]),d.loaded[c].length&&d.loaded[c].forEach(function(m){l[c].indexOf(m)<0&&l[c].push(m)})}),d.done=!0,d.errors.length?d.callback(d.errors):d.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(function(d){return!d.done})}},{key:"read",value:function(n,a,i){var o=this,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:350,l=arguments.length>5?arguments[5]:void 0;return n.length?this.backend[i](n,a,function(d,c){if(d&&c&&s<5){setTimeout(function(){o.read.call(o,n,a,i,s+1,u*2,l)},u);return}l(d,c)}):l(null,{})}},{key:"prepareLoading",value:function(n,a){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof n=="string"&&(n=this.languageUtils.toResolveHierarchy(n)),typeof a=="string"&&(a=[a]);var u=this.queueLoad(n,a,o,s);if(!u.toLoad.length)return u.pending.length||s(),null;u.toLoad.forEach(function(l){i.loadOne(l)})}},{key:"load",value:function(n,a,i){this.prepareLoading(n,a,{},i)}},{key:"reload",value:function(n,a,i){this.prepareLoading(n,a,{reload:!0},i)}},{key:"loadOne",value:function(n){var a=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=n.split("|"),s=o[0],u=o[1];this.read(s,u,"read",void 0,void 0,function(l,d){l&&a.logger.warn("".concat(i,"loading namespace ").concat(u," for language ").concat(s," failed"),l),!l&&d&&a.logger.log("".concat(i,"loaded namespace ").concat(u," for language ").concat(s),d),a.loaded(n,l,d)})}},{key:"saveMissing",value:function(n,a,i,o,s){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(a)){this.logger.warn('did not save key "'.concat(i,'" as the namespace "').concat(a,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}i==null||i===""||(this.backend&&this.backend.create&&this.backend.create(n,a,i,o,null,Zt({},u,{isUpdate:s})),!(!n||!n[0])&&this.store.addResource(n[0],a,i,o))}}]),e}(za);function xPe(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var r={};if(Ua(e[1])==="object"&&(r=e[1]),typeof e[1]=="string"&&(r.defaultValue=e[1]),typeof e[2]=="string"&&(r.tDescription=e[2]),Ua(e[2])==="object"||Ua(e[3])==="object"){var n=e[3]||e[2];Object.keys(n).forEach(function(a){r[a]=n[a]})}return r},interpolation:{escapeValue:!0,format:function(e,r,n,a){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function J4(t){return typeof t.ns=="string"&&(t.ns=[t.ns]),typeof t.fallbackLng=="string"&&(t.fallbackLng=[t.fallbackLng]),typeof t.fallbackNS=="string"&&(t.fallbackNS=[t.fallbackNS]),t.whitelist&&(t.whitelist&&t.whitelist.indexOf("cimode")<0&&(t.whitelist=t.whitelist.concat(["cimode"])),t.supportedLngs=t.whitelist),t.nonExplicitWhitelist&&(t.nonExplicitSupportedLngs=t.nonExplicitWhitelist),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function rm(){}var PPe=function(t){Zf(e,t);function e(){var r,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(On(this,e),r=Dl(this,Ds(e).call(this)),tm&&za.call(Hi(r)),r.options=J4(n),r.services={},r.logger=sa,r.modules={external:[]},a&&!r.isInitialized&&!n.isClone){if(!r.options.initImmediate)return r.init(n,a),Dl(r,Hi(r));setTimeout(function(){r.init(n,a)},0)}return r}return Cn(e,[{key:"init",value:function(){var n=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;typeof a=="function"&&(i=a,a={}),a.whitelist&&!a.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),a.nonExplicitWhitelist&&!a.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=Zt({},xPe(),this.options,J4(a)),this.format=this.options.interpolation.format,i||(i=rm);function o(p){return p?typeof p=="function"?new p:p:null}if(!this.options.isClone){this.modules.logger?sa.init(o(this.modules.logger),this.options):sa.init(null,this.options);var s=new pPe(this.options);this.store=new mPe(this.options.resources,this.options);var u=this.services;u.logger=sa,u.resourceStore=this.store,u.languageUtils=s,u.pluralResolver=new yPe(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u.interpolator=new _Pe(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new wPe(o(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",function(p){for(var h=arguments.length,v=new Array(h>1?h-1:0),y=1;y<h;y++)v[y-1]=arguments[y];n.emit.apply(n,[p].concat(v))}),this.modules.languageDetector&&(u.languageDetector=o(this.modules.languageDetector),u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=o(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new X4(this.services,this.options),this.translator.on("*",function(p){for(var h=arguments.length,v=new Array(h>1?h-1:0),y=1;y<h;y++)v[y-1]=arguments[y];n.emit.apply(n,[p].concat(v))}),this.modules.external.forEach(function(p){p.init&&p.init(n)})}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&l[0]!=="dev"&&(this.options.lng=l[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var d=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];d.forEach(function(p){n[p]=function(){var h;return(h=n.store)[p].apply(h,arguments)}});var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach(function(p){n[p]=function(){var h;return(h=n.store)[p].apply(h,arguments),n}});var m=$l(),f=function(){var h=function(y,b){n.isInitialized&&n.logger.warn("init: i18next is already initialized. You should call init just once!"),n.isInitialized=!0,n.options.isClone||n.logger.log("initialized",n.options),n.emit("initialized",n.options),m.resolve(b),i(y,b)};if(n.languages&&n.options.compatibilityAPI!=="v1"&&!n.isInitialized)return h(null,n.t.bind(n));n.changeLanguage(n.options.lng,h)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),m}},{key:"loadResources",value:function(n){var a=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rm,o=i,s=typeof n=="string"?n:this.language;if(typeof n=="function"&&(o=n),!this.options.resources||this.options.partialBundledLanguages){if(s&&s.toLowerCase()==="cimode")return o();var u=[],l=function(m){if(!!m){var f=a.services.languageUtils.toResolveHierarchy(m);f.forEach(function(p){u.indexOf(p)<0&&u.push(p)})}};if(s)l(s);else{var d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.forEach(function(c){return l(c)})}this.options.preload&&this.options.preload.forEach(function(c){return l(c)}),this.services.backendConnector.load(u,this.options.ns,o)}else o(null)}},{key:"reloadResources",value:function(n,a,i){var o=$l();return n||(n=this.languages),a||(a=this.options.ns),i||(i=rm),this.services.backendConnector.reload(n,a,function(s){o.resolve(),i(s)}),o}},{key:"use",value:function(n){if(!n)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!n.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return n.type==="backend"&&(this.modules.backend=n),(n.type==="logger"||n.log&&n.warn&&n.error)&&(this.modules.logger=n),n.type==="languageDetector"&&(this.modules.languageDetector=n),n.type==="i18nFormat"&&(this.modules.i18nFormat=n),n.type==="postProcessor"&&G4.addPostProcessor(n),n.type==="3rdParty"&&this.modules.external.push(n),this}},{key:"changeLanguage",value:function(n,a){var i=this;this.isLanguageChangingTo=n;var o=$l();this.emit("languageChanging",n);var s=function(d,c){c?(i.language=c,i.languages=i.services.languageUtils.toResolveHierarchy(c),i.translator.changeLanguage(c),i.isLanguageChangingTo=void 0,i.emit("languageChanged",c),i.logger.log("languageChanged",c)):i.isLanguageChangingTo=void 0,o.resolve(function(){return i.t.apply(i,arguments)}),a&&a(d,function(){return i.t.apply(i,arguments)})},u=function(d){var c=typeof d=="string"?d:i.services.languageUtils.getBestMatchFromCodes(d);c&&(i.language||(i.language=c,i.languages=i.services.languageUtils.toResolveHierarchy(c)),i.translator.language||i.translator.changeLanguage(c),i.services.languageDetector&&i.services.languageDetector.cacheUserLanguage(c)),i.loadResources(c,function(m){s(m,c)})};return!n&&this.services.languageDetector&&!this.services.languageDetector.async?u(this.services.languageDetector.detect()):!n&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(u):u(n),o}},{key:"getFixedT",value:function(n,a){var i=this,o=function s(u,l){var d;if(Ua(l)!=="object"){for(var c=arguments.length,m=new Array(c>2?c-2:0),f=2;f<c;f++)m[f-2]=arguments[f];d=i.options.overloadTranslationOptionHandler([u,l].concat(m))}else d=Zt({},l);return d.lng=d.lng||s.lng,d.lngs=d.lngs||s.lngs,d.ns=d.ns||s.ns,i.t(u,d)};return typeof n=="string"?o.lng=n:o.lngs=n,o.ns=a,o}},{key:"t",value:function(){var n;return this.translator&&(n=this.translator).translate.apply(n,arguments)}},{key:"exists",value:function(){var n;return this.translator&&(n=this.translator).exists.apply(n,arguments)}},{key:"setDefaultNamespace",value:function(n){this.options.defaultNS=n}},{key:"hasLoadedNamespace",value:function(n){var a=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var o=this.languages[0],s=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(o.toLowerCase()==="cimode")return!0;var l=function(m,f){var p=a.services.backendConnector.state["".concat(m,"|").concat(f)];return p===-1||p===2};if(i.precheck){var d=i.precheck(this,l);if(d!==void 0)return d}return!!(this.hasResourceBundle(o,n)||!this.services.backendConnector.backend||l(o,n)&&(!s||l(u,n)))}},{key:"loadNamespaces",value:function(n,a){var i=this,o=$l();return this.options.ns?(typeof n=="string"&&(n=[n]),n.forEach(function(s){i.options.ns.indexOf(s)<0&&i.options.ns.push(s)}),this.loadResources(function(s){o.resolve(),a&&a(s)}),o):(a&&a(),Promise.resolve())}},{key:"loadLanguages",value:function(n,a){var i=$l();typeof n=="string"&&(n=[n]);var o=this.options.preload||[],s=n.filter(function(u){return o.indexOf(u)<0});return s.length?(this.options.preload=o.concat(s),this.loadResources(function(u){i.resolve(),a&&a(u)}),i):(a&&a(),Promise.resolve())}},{key:"dir",value:function(n){if(n||(n=this.languages&&this.languages.length>0?this.languages[0]:this.language),!n)return"rtl";var a=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"];return a.indexOf(this.services.languageUtils.getLanguagePartFromCode(n))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;return new e(n,a)}},{key:"cloneInstance",value:function(){var n=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rm,o=Zt({},this.options,a,{isClone:!0}),s=new e(o),u=["store","services","language"];return u.forEach(function(l){s[l]=n[l]}),s.services=Zt({},this.services),s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s.translator=new X4(s.services,s.options),s.translator.on("*",function(l){for(var d=arguments.length,c=new Array(d>1?d-1:0),m=1;m<d;m++)c[m-1]=arguments[m];s.emit.apply(s,[l].concat(c))}),s.init(o,i),s.translator.options=s.options,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}}]),e}(za),Q4=new PPe,Z4=[],kPe=Z4.forEach,TPe=Z4.slice;function EPe(t){return kPe.call(TPe.call(arguments,1),function(e){if(e)for(var r in e)t[r]===void 0&&(t[r]=e[r])}),t}var eU={create:function(e,r,n,a){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/"},o;if(n){var s=new Date;s.setTime(s.getTime()+n*60*1e3),o="; expires="+s.toUTCString()}else o="";a=a?"domain="+a+";":"",i=Object.keys(i).reduce(function(u,l){return u+";"+l.replace(/([A-Z])/g,function(d){return"-"+d.toLowerCase()})+"="+i[l]},""),document.cookie=e+"="+encodeURIComponent(r)+o+";"+a+i},read:function(e){for(var r=e+"=",n=document.cookie.split(";"),a=0;a<n.length;a++){for(var i=n[a];i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(r)===0)return i.substring(r.length,i.length)}return null},remove:function(e){this.create(e,"",-1)}},MPe={name:"cookie",lookup:function(e){var r;if(e.lookupCookie&&typeof document<"u"){var n=eU.read(e.lookupCookie);n&&(r=n)}return r},cacheUserLanguage:function(e,r){r.lookupCookie&&typeof document<"u"&&eU.create(r.lookupCookie,e,r.cookieMinutes,r.cookieDomain,r.cookieOptions)}},SPe={name:"querystring",lookup:function(e){var r;if(typeof window<"u")for(var n=window.location.search.substring(1),a=n.split("&"),i=0;i<a.length;i++){var o=a[i].indexOf("=");if(o>0){var s=a[i].substring(0,o);s===e.lookupQuerystring&&(r=a[i].substring(o+1))}}return r}},nm;try{nm=window!=="undefined"&&window.localStorage!==null;var tU="i18next.translate.boo";window.localStorage.setItem(tU,"foo"),window.localStorage.removeItem(tU)}catch{nm=!1}var OPe={name:"localStorage",lookup:function(e){var r;if(e.lookupLocalStorage&&nm){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(r=n)}return r},cacheUserLanguage:function(e,r){r.lookupLocalStorage&&nm&&window.localStorage.setItem(r.lookupLocalStorage,e)}},am;try{am=window!=="undefined"&&window.sessionStorage!==null;var rU="i18next.translate.boo";window.sessionStorage.setItem(rU,"foo"),window.sessionStorage.removeItem(rU)}catch{am=!1}var CPe={name:"sessionStorage",lookup:function(e){var r;if(e.lookupsessionStorage&&am){var n=window.sessionStorage.getItem(e.lookupsessionStorage);n&&(r=n)}return r},cacheUserLanguage:function(e,r){r.lookupsessionStorage&&am&&window.sessionStorage.setItem(r.lookupsessionStorage,e)}},DPe={name:"navigator",lookup:function(e){var r=[];if(typeof navigator<"u"){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)r.push(navigator.languages[n]);navigator.userLanguage&&r.push(navigator.userLanguage),navigator.language&&r.push(navigator.language)}return r.length>0?r:void 0}},$Pe={name:"htmlTag",lookup:function(e){var r,n=e.htmlTag||(typeof document<"u"?document.documentElement:null);return n&&typeof n.getAttribute=="function"&&(r=n.getAttribute("lang")),r}},APe={name:"path",lookup:function(e){var r;if(typeof window<"u"){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if(typeof e.lookupFromPathIndex=="number"){if(typeof n[e.lookupFromPathIndex]!="string")return;r=n[e.lookupFromPathIndex].replace("/","")}else r=n[0].replace("/","")}return r}},RPe={name:"subdomain",lookup:function(e){var r;if(typeof window<"u"){var n=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);n instanceof Array&&(typeof e.lookupFromSubdomainIndex=="number"?r=n[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):r=n[0].replace("http://","").replace("https://","").replace(".",""))}return r}};function IPe(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],checkWhitelist:!0,checkForSimilarInWhitelist:!1}}var nU=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};On(this,t),this.type="languageDetector",this.detectors={},this.init(e,r)}return Cn(t,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=r,this.options=EPe(n,this.options||{},IPe()),this.options.checkForSimilarInWhitelist&&(this.options.checkWhitelist=!0),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=a,this.addDetector(MPe),this.addDetector(SPe),this.addDetector(OPe),this.addDetector(CPe),this.addDetector(DPe),this.addDetector($Pe),this.addDetector(APe),this.addDetector(RPe)}},{key:"addDetector",value:function(r){this.detectors[r.name]=r}},{key:"detect",value:function(r){var n=this;r||(r=this.options.order);var a=[];r.forEach(function(s){if(n.detectors[s]){var u=n.detectors[s].lookup(n.options);u&&typeof u=="string"&&(u=[u]),u&&(a=a.concat(u))}});var i;if(a.forEach(function(s){if(!i){var u=n.services.languageUtils.formatLanguageCode(s);(!n.options.checkWhitelist||n.services.languageUtils.isWhitelisted(u))&&(i=u),!i&&n.options.checkForSimilarInWhitelist&&(i=n.getSimilarInWhitelist(u))}}),!i){var o=this.i18nOptions.fallbackLng;typeof o=="string"&&(o=[o]),o||(o=[]),Object.prototype.toString.apply(o)==="[object Array]"?i=o[0]:i=o[0]||o.default&&o.default[0]}return i}},{key:"cacheUserLanguage",value:function(r,n){var a=this;n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(r)>-1||n.forEach(function(i){a.detectors[i]&&a.detectors[i].cacheUserLanguage(r,a.options)}))}},{key:"getSimilarInWhitelist",value:function(r){var n=this;if(!!this.i18nOptions.whitelist){if(r.includes("-")){var a=r.split("-")[0],i=this.services.languageUtils.formatLanguageCode(a);if(this.services.languageUtils.isWhitelisted(i))return i;r=i}var o=this.i18nOptions.whitelist.find(function(s){var u=n.services.languageUtils.formatLanguageCode(s);if(u.startsWith(r))return u});if(o)return o}}}]),t}();nU.type="languageDetector";let Sr;function Y1(t){if(Y1.installed)return;Y1.installed=!0,Sr=t;const e=(n,a)=>i=>n&&n.keyPrefix&&!i.includes(a.nsSeparator)?`${n.keyPrefix}.${i}`:i,r=n=>{const a=n.$options.name||n.$options._componentTag;return a?{namespace:a,loadNamespace:!0}:{namespace:`${Math.random()}`}};Sr.mixin({beforeCreate(){const n=this.$options;n.i18n?this._i18n=n.i18n:n.parent&&n.parent.$i18n&&(this._i18n=n.parent.$i18n);let a={};if(this._i18n){const o=this._i18n.options.getComponentNamespace||r,{namespace:s,loadNamespace:u}=o(this);if(n.__i18n&&n.__i18n.forEach(d=>{a=Hw(a,JSON.parse(d))}),n.i18nOptions){const{lng:d=null,keyPrefix:c=null,messages:m}=this.$options.i18nOptions;let{namespaces:f}=this.$options.i18nOptions;f=f||this._i18n.i18next.options.defaultNS,typeof f=="string"&&(f=[f]);const p=f.concat([s]);m&&(a=Hw(a,m)),this._i18nOptions={lng:d,namespaces:p,keyPrefix:c},this._i18n.i18next.loadNamespaces(f)}else n.__i18n&&(this._i18nOptions={namespaces:[s]});u&&this._i18n.options.loadComponentNamespace&&this._i18n.i18next.loadNamespaces([s]),Object.keys(a).forEach(d=>{this._i18n.i18next.addResourceBundle(d,s,{...a[d]},!0,!1)})}const i=e(this._i18nOptions,this._i18n?this._i18n.i18next.options:{});if(this._i18nOptions&&this._i18nOptions.namespaces){const{lng:o,namespaces:s}=this._i18nOptions,u=this._i18n.i18next.getFixedT(o,s);this._getI18nKey=(l,d)=>u(i(l),d,this._i18n.i18nLoadedAt)}else this._getI18nKey=(o,s)=>this._i18n.t(i(o),s,this._i18n.i18nLoadedAt);this._formatDate=(...o)=>this._i18n.formatDate(...o),this._formatDistanceToNow=(...o)=>this._i18n.formatDistanceToNow(...o)}}),Object.prototype.hasOwnProperty.call(Sr.prototype,"$i18n")||Object.defineProperty(Sr.prototype,"$i18n",{get(){return this._i18n}}),Sr.prototype.$t=function(a,i){return this._getI18nKey(a,i)},Sr.prototype.$tc=function(a,i){const{count:o}=i||{};return typeof o=="number"?`${o} ${this._getI18nKey(a,i)}`:this._getI18nKey(a,i)},Sr.prototype.$formatDate=function(...a){return this._formatDate(...a)},Sr.prototype.$formatDistanceToNow=function(...a){return this._formatDistanceToNow(...a)}}class Al{constructor(e,r,n={}){const a={bindI18n:"languageChanged loaded",bindL10n:"localeChanged",bindStore:"added removed",loadComponentNamespace:!1,...n};this._vm=null,this.i18next=e,this.l10n=r,this.options=a,this.onI18nChanged=this.onI18nChanged.bind(this),this.onL10nChanged=this.onL10nChanged.bind(this),a.bindI18n&&this.i18next.on(a.bindI18n,this.onI18nChanged),a.bindStore&&this.i18next.store&&this.i18next.store.on(a.bindStore,this.onI18nChanged),a.bindL10n&&this.l10n.on(a.bindL10n,this.onL10nChanged),this.resetVM({i18nLoadedAt:new Date,lang:this.i18next.language,l10nLoadedAt:new Date,locale:this.l10n.locale,dateFnsLocale:this.l10n.dateFnsLocale})}resetVM(e){const r=this._vm,{silent:n}=Sr.config;Sr.config.silent=!0,this._vm=new Sr({data:e}),Sr.config.silent=n,r&&Sr.nextTick(()=>r.$destroy())}get i18nLoadedAt(){return this._vm.$data.i18nLoadedAt}set i18nLoadedAt(e){this._vm.$set(this._vm,"i18nLoadedAt",e)}get lang(){return this._vm.$data.lang}set lang(e){this._vm.$set(this._vm,"lang",e)}get l10nLoadedAt(){return this._vm.$data.l10nLoadedAt}set l10nLoadedAt(e){this._vm.$set(this._vm,"l10nLoadedAt",e)}get locale(){return this._vm.$data.locale}set locale(e){this._vm.$set(this._vm,"locale",e)}get dateFnsLocale(){return this._vm.$data.dateFnsLocale}set dateFnsLocale(e){this._vm.$set(this._vm,"dateFnsLocale",e)}t(e,r){return this.i18next.t(e,{lng:this.lang,...r})}tc(e,r){const{count:n}=r||{};return typeof n=="number"?`${n} ${this.t(e,r)}`:this.t(e,r)}te(e,r){return this.i18next.exists(e,{lng:this.lang,...r})}formatDate(e,r="P",n=this.dateFnsLocale){return this.l10n.formatDate(e,r,n)}formatDistanceToNow(e,r={addSuffix:!0},n){let a=n;return a||(a=this.lang==="en"?"en-US":this.lang),this.l10n.formatDistanceToNow(e,r,a)}onI18nChanged(){this.lang=this.i18next.language||"en",this.i18nLoadedAt=new Date}onL10nChanged(){this.locale=this.l10n.locale||"en",this.dateFnsLocale=this.l10n.dateFnsLocale||"en-US",this.l10nLoadedAt=new Date}}Al.install=Y1,typeof window<"u"&&window.Vue&&window.Vue.use(Al);const Rl={appBrand:ge.brand.charAt(0).toUpperCase()+ge.brand.slice(1),yes:"ja",no:"nej",thanks:"tack",times:"g\xE5ng",times_plural:"g\xE5nger",second:"sekund",second_plural:"sekunder",minute:"minut",minute_plural:"minuter",hour:"timme",hour_plural:"timmar",day:"dag",day_plural:"dagar",week:"vecka",week_plural:"veckor",weeks:"vecka",weeks_plural:"veckor",month:"m\xE5nad",month_plural:"m\xE5nader",months:"m\xE5nad",months_plural:"m\xE5nader",quarter:"kvartal",quarter_plural:"kvartal",year:"\xE5r",year_plural:"\xE5r",years:"\xE5r",years_plural:"\xE5r",date:"datum",date_plural:"datum",calendar:"kalender",calendar_plural:"kalendrar",weekend:"helg",weekend_plural:"helger",today:"idag",project:"projekt",project_plural:"projekt",projectNo:"projekt-nr",projectNumber:"projektnummer",projectName:"projektnamn",client:"kund",client_plural:"kunder",member:"medlem",member_plural:"medlemmar",user:"anv\xE4ndare",user_plural:"anv\xE4ndare",article:"artikel",article_plural:"artiklar",artNo:"art-nr",articleNo:"artikel-nr",articleNumber:"artikelnummer",package:"paket",package_plural:"paket",group:"group",group_plural:"grupper",unit:"enhet",unit_plural:"enheter",timeTrack:"tidsrapport",timeTrack_plural:"tidsrapporter",task:"task",task_plural:"tasks",template:"mall",template_plural:"mallar",snippet:"textmall",snippet_plural:"textmallar",invoice:"faktura",invoice_plural:"fakturor",invoiceDo:"fakturera",invoiced:"fakturerat",card:"kort",card_plural:"kort",attest:"attestera",attested:"attesterad",document:"Dokument",document_plural:"dokument",theDocument:"dokumentet",documentName:"Dokumentnamn",offer:"offert",proposal:"offert",proposal_plural:"offerter",sampleProposal:"testoffert",contract:"avtal",contract_plural:"avtal",ata:"till\xE4ggsavtal",addonDocument:"Till\xE4ggsavtal",ataConstruction:"\xC4TA",offerThe:"Offerten",contractThe:"Avtalet",ataThe:"Till\xE4ggsavtalet",ataConstructionThe:"\xC4TA:n",shorten:"F\xF6rkortas",extend:"F\xF6rl\xE4ngs",sort:"sortering",exVat:"ex. {{-thing}}",incVat:"inkl. {{-thing}}",accept:"acceptera",approve:"Godk\xE4nn",approved:"godk\xE4nt",deny:"Neka",denied:"nekat",sign:"Signera",signed:"signerade",pay:"Betala",discount:"rabatt",print:"Skriv ut{{thing,inlineSpace}}",info:"info",free:"Gratis",premium:"Premium",yearly:"\xE5rsvis",monthly:"m\xE5nadsvis",approx:"ca",approximately:"Ungef\xE4r",replyBy:"Svara senast",respondWithin:"Svara inom",belongsTo:"tillh\xF6r",name:"namn",nameMissing:"Saknar namn",untitled:"Titel saknas",firstName:"f\xF6rnamn",lastName:"efternamn",companyName:"f\xF6retagsnamn",company:"f\xF6retag",theCompany:"f\xF6retaget",sender:"utst\xE4llare",theSender:"utst\xE4llaren",contractor:"utf\xF6rare",receiver:"best\xE4llare",theReceiver:"best\xE4llaren",theContractor:"utf\xF6raren",person:"person",person_plural:"personer",contact:"kontakt",contact_plural:"kontaker",recipient:"mottagare",recipient_plural:"mottagare",participant:"deltagare",participant_plural:"deltagare",signature:"signatur",signature_plural:"signaturer",signingParticipant:"Signerande part",signingParticipant_plural:"Signerande parter",email:"e-post",email_plural:"e-poster",sms:"SMS",phone:"telefon",phone_plural:"telefoner",cellphone:"mobil",cellphone_plural:"mobiler",address:"adress",address_plural:"adresser",addressWork:"arbetsadress",image:"bild",image_plural:"bilder",file:"fil",file_plural:"filer",photo:"foto",photo_plural:"foton",video:"video",video_plural:"videor",link:"l\xE4nk",background:"bakgrund",backgroundColor:"bakgrundsf\xE4rg",logo:"logotyp",size:"storlek",album:"album",album_plural:"album",presentation:"presentation",presentation_plural:"presentationer",theme:"tema",theme_plural:"teman",appearance:"utseende",appearance_plural:"utseenden",customize:"Redigera",language:"spr\xE5k",language_plural:"spr\xE5k",password:"l\xF6senord",password_plural:"l\xF6senord",text:"text",text_plural:"texter",field:"f\xE4lt",field_plural:"f\xE4lt",list:"lista",list_plural:"listor",textAlign:"textjustering",textColor:"textf\xE4rg",city:"stad",city_plural:"st\xE4der",position:"position",position_plural:"positioner",phoneNumber:"telefonnummer",cellphoneNumber:"mobilnummer",zip:"postnummer",zipCode:"postnummer",orgNo:"organisationsnummer",orgNoShort:"org-nr",socialNo:"personnummer",socialNoShort:"person-nr",aboutUs:"Om oss",new:"Ny{{thing,inlineSpace}}",new_tWord:"Nytt{{thing,inlineSpace}}",visit:"Bes\xF6k{{thing,inlineSpace}}",done:"klar",finished:"klara",verify:"verifiera{{thing,inlineSpace}}",verified:"verifierad",plan:"Planera",planned:"planerade",save:"Spara{{thing,inlineSpace}}",saveAs:"Spara som{{thing,inlineSpace}}",saving:"sparar",savedThing:"{{thing,capitalize}} sparad",goTo:"G\xE5 till",previous:"f\xF6reg\xE5ende",next:"n\xE4sta",continue:"Forts\xE4tt",cancel:"Avbryt",preview:"F\xF6rhandsgranska{{thing,inlineSpace}}",view:"Visa{{thing,inlineSpace}}",viewed:"visad",viewedXTimes:"Visad {{n}} g\xE5nger",total:"total",edit:"Redigera{{thing,inlineSpace}}",enterThing:"Ange{{thing,inlineSpace}}",change:"\xC4ndra{{thing,inlineSpace}}",move:"Flytta{{thing,inlineSpace}}",remove:"Ta bort{{thing,inlineSpace}}",removedThing:"{{thing,capitalize}} togs bort",up:"upp",down:"ned",left:"v\xE4nster",right:"h\xF6ger",align:"Justera{{thing,inlineSpace}}",center:"centrera{{thing,inlineSpace}}",work:"arbete",use:"Anv\xE4nd{{thing,inlineSpace}}",used:"anv\xE4nd",using:"anv\xE4nds",handle:"Hantera",adjust:"Justera",missing:"Saknar{{thing,inlineSpace}}",start:"Start",stop:"Stopp",reset:"\xC5terst\xE4ll",end:"slut",overview:"\xF6versikt",signup:"\xD6ppna konto",open:"\xD6ppna",openNewWindow:"\xD6ppna i nytt f\xF6nster",openNewTab:"\xD6ppna i ny flik",close:"St\xE4ng",goBack:"Tillbaka",undo:"\xC5ngra",share:"Dela",search:"S\xF6k",result:"resultat",result_plural:"resultat",noResults:"Inga resultat",chat:"chatt",optional:"frivillig",select:"V\xE4lj{{thing,inlineSpace}}",selected:"vald",add:"L\xE4gg till{{thing,inlineSpace}}",insert:"Infoga{{thing,inlineSpace}}",create:"Skapa{{thing,inlineSpace}}",created:"Skapad",createdThing:"{{thing,capitalize}} skapad",see:"se",show:"Visa{{thing,inlineSpace}}",hide:"G\xF6m",empty:"Tom{{thing,inlineSpace}}",more:"mer",less:"mindre",and:"och",or:"eller",with:"med",to:"till",from:"fr\xE5n",via:"via",again:"igen",other:"annat",none:"ingen",authenticate:"Autentisera",login:"Logga in",logout:"Logga ut",loggingOut:"Loggar ut",browse:"bl\xE4ddra",download:"Ladda ned{{thing,inlineSpace}}",downloading:"laddar ner",upload:"Ladda upp{{thing,inlineSpace}}",uploading:"laddar upp",update:"Uppdatera{{thing,inlineSpace}}",updated:"uppdaterades",updatedThing:"{{thing,capitalize}} uppdaterades",invite:"Bjud in{{thing,inlineSpace}}",invitation:"inbjudan",send:"Skicka{{thing,inlineSpace}}",sent:"Skickat{{thing,inlineSpace}}",sentThing:"{{thing,capitalize}} skickad",sentThingTo:"{{thing,capitalize}} skickad till {{recipient}}",sentByName:"Skickat av {{name}}",reviewSend:"Granska & Skicka",delivery:"utskick",scheduled:"schemalagd",scheduledDelivery:"Schemalagt utskick",reference:"referens",reference_plural:"referenser",certificate:"certifikat",certificate_plural:"certifikat",attachment:"bilaga",attachment_plural:"bilagor",transaction:"transaktion",transaction_plural:"transaktioner",receipt:"kvitto",receipt_plural:"kvitton",verification:"verifikat",verification_plural:"verifikat",integration:"integration",integration_plural:"integrationer",checklist:"checklista",checklist_plural:"checklistor",description:"beskrivning",description_plural:"beskrivningar",detail:"detalj",detail_plural:"detaljer",step:"steg",step_plural:"steg",guide:"guide",guide_plural:"guider",color:"f\xE4rg",color_plural:"f\xE4rger",gradient:"gradient",gradient_plural:"gradienter",logotype:"logotyp",logotype_plural:"logotyper",avatar:"profilbild",avatar_plural:"profilbilder",note:"anteckning",note_plural:"anteckningar",website:"hemsida",website_plural:"hemsidor",message:"meddelande",message_plural:"meddelanden",review:"omd\xF6me",review_plural:"omd\xF6men",greeting:"h\xE4lsning",greeting_plural:"h\xE4lsningar",setting:"inst\xE4llning",setting_plural:"inst\xE4llningar",settings:"inst\xE4llningar",option:"alternativ",option_plural:"alternativ",value:"v\xE4rde",value_plural:"v\xE4rden",amount:"antal",quantity:"antal",nothing:"ingenting",reminder:"p\xE5minnelse",reminder_plural:"p\xE5minnelser",schedule:"Boka{{thing,inlineSpace}}",demo:"demo",version:"version",version_plural:"versioner",filter:"filter",filter_plural:"filter",blur:"suddighet",archive:"arkiv",statistics:"statistik",bookkeeping:"bokf\xF6ring",winProfile:"WinProfile",pieceSuffix:" st",disabled:"avst\xE4ngd",block:"block",block_plural:"block",copyMessage:"Kopierat till urklipp",category:"kategori",setup:"st\xE4ll in",install:"Installera",installing:"Installerar",uninstall:"Avinstallera",uninstalling:"Avinstallerar",explore:"Uppt\xE4ck{{thing,inlineSpace}}",table:"tabell",reload:"Ladda om",rename:"D\xF6p om",library:"Bibliotek",statistics_short:"Statistik",time:{time:"tid",time_plural:"tider",ago:"sen",estimatedTime:"Tids\xE5tg\xE5ng",accepted:"godk\xE4ndes",acceptedAt:"godk\xE4ndes",expiredAt:"expired at",secondsLeft:"{{time}}s kvar",start:"starttid",end:"sluttid",total:"totaltid"},price:{priceType:"pristyp",pricing:"prisform",price:"pris",price_plural:"priser",proposal:"Prisf\xF6rslag",fixed:"Fast pris",total:"Totalpris",approx:"Ungef\xE4rligt pris",openAcc:"L\xF6pande r\xE4kning",openAccPrice:"L\xF6pande r\xE4kning",openAccMaxPrice:"L\xF6pande r\xE4kning med maxpris",markup:"P\xE5slag",maxPrice:"maxpris",summary:"sammanst\xE4llning",net:"Netto"},currency:{currency:"valuta",SEK:"kr"},numberPrefix:{thousand:"t",million:"m",billion:"md"},deduction:{deduction:"avdrag",type:"{{type,deepNested:deduction}}-avdrag",manualType:"Manuellt {{type,deepNested:deduction}}-avdrag",after:"after avdrag",afterType:"efter {{type,deepNested:deduction}}-avdrag",rot:"ROT",rut:"RUT",greenRot15:"Gr\xF6n ROT",greenRot50:"Gr\xF6n ROT",rot_percentage:"ROT",rut_percentage:"RUT",greenRot15_percentage:"Gr\xF6n ROT 15%",greenRot50_percentage:"Gr\xF6n ROT 50%"},series:{default:"Dokument",document:"Dokument",proposal:"Offert",contract:"Avtal",ata:"Till\xE4ggsavtal"},documentRole:{title:"Dokumentroll",signee:{label:"Undertecknare",description:"Beh\xF6ver signera"},recipient:{label:"Mottagare",description:"F\xE5r en kopia"},sender:{label:"Avs\xE4ndare",description:"Avs\xE4ndare"},approver:{label:"Granskare",description:"Beh\xF6ver godk\xE4nna"}},signMethod:{title:"Signeringsmetod",bankId:"BankID",signature:"Signatur",login:"Inlogg",inPerson:"Fysisk underskrift"},status:{status:"Status",sent:"Skickad",completed:"Klar",draft:"Utkast",attested:"Attesterad",reminderSent:"P\xE5minnelse",salesRequest:"Fakturak\xF6p",sold:"S\xE5ld",overdue:"F\xF6rfallen",paying:"Betalas ut",new:"Utkast",scheduled:"Schemalagd",denied:"Nekad",accepted:"Accepterad",signed:"Signerad",semiSigned:"Delsignerad",active:"P\xE5g\xE5ende",archived:"Arkiverad"},invoiceType:{invoice:"Faktura",credit:"Kreditfaktura",interest:"R\xE4ntefaktura"},terms:{conditionTerm:"villkor",general:"Allm\xE4nna best\xE4mmelser",termsAndConditions:"allm\xE4nna villkor",theTermsAndConditions:"allm\xE4nna villkoren",privacyPolicy:"sekretesspolicy"},invoiceMethod:"Fakturametoden",cashMethod:"Kontantmetoden",bankgiro:"Bankgiro",plusgiro:"Plusgiro",domesticBankAcc:"Bankkonto",clearingNo:"Clearing-nr",vat:{sharedTitle:"moms",vat:"moms",tax:"moms",exVat:"ex. {{thing}}",incVat:"inkl. {{thing}}",reverseVat:"Omv\xE4nd skattskyldighet",reverseVatApplies:"Omv\xE4nd skattskyldighet g\xE4ller",vatIdentificationNumberShort:"momsreg-nr",rate:"momssats"},priceLabel:{unit:"Pris",hour:"Timpris",m:"Meterpris",m2:"Kvadratmeterpris",m3:"Kubikmeterpris",kg:"Pris per kg",litre:"Literpris",day:"Pris per dygn",km:"Pris per km",mile:"Pris per mil",month:"Pris per m\xE5n",week:"Pris per vecka",ton:"Pris per ton",year:"Pris per \xE5r",kWh:"Pris per kWh",markup:"P\xE5slag"},unitType:{unitType:"enhet",unitType_plural:"enheter",second:"s",minute:"min",unit:"st",hour:"h",m:"m",m2:"m\xB2",m3:"m\xB3",kg:"kg",litre:"liter",day:"dygn",km:"km",mile:"mil",month:"m\xE5n",week:"vecka",week_plural:"veckor",ton:"ton",year:"\xE5r",kWh:"kWh"},permission:{admin:"Administrat\xF6r",projectleader:"Projektledare",member:"Medlem",accountant:"Revisor"},propertyDesignation:{propertyDesignation:"Fastighetsbeteckning",propertyId:"Beteckning",condominiumId:"Lgh-nr",condominiumOrgNo:"Brf org-nr"},notification:{notification:"Notifikation",notification_plural:"Notifikationer",invitedProject:"Inbjuden till projekt",accepted:"Dokument godk\xE4nt",semiSigned:"Dokument delsignerat",denied:"Dokument nekat",mailDropped:"E-post kunde inte skickas",viewed:"Dokument visat",Offer:{accepted:"Offert godk\xE4nd",denied:"Offert nekad",mailDropped:"E-post kunde inte skickas",viewed:"Offert visad",requestContract:"Din kund har beg\xE4rt ett avtal!"},Contract:{semiSigned:"Avtal delsignerat",signed:"Avtal signerat och arbetet kan p\xE5b\xF6rjas",denied:"Avtal nekat",mailDropped:"E-post kunde inte skickas",viewed:"Avtal visat"},Ata:{semiSigned:"@:ata delsignerad",signed:"@:ata signerad och arbetet kan p\xE5b\xF6rjas",denied:"@:ata nekad",mailDropped:"E-post kunde inte skickas",viewed:"@:ata visad"},invoice:{viewed:"Faktura visad",transferAmount:"Betalning p\xE5 v\xE4g till dig",completed:"Faktura betald och avslutad",overdue:"Fakturan har f\xF6rfallit",salesRequestDenied:"Nekad fakturaf\xF6rs\xE4ljning",salesRequestAccepted:"Fakturaf\xF6rs\xE4ljning godk\xE4nd"}},event:{event:"h\xE4ndelse",event_plural:"h\xE4ndelser",mailDropped:"Leveransfel e-post",smsDropped:"Leveransfel SMS",viewed:"Visad",requestContract:"Kund beg\xE4rde avtal",upgradeContract:"Uppgradera till avtal",project:{created:"Projekt skapat"},delivery:{sent:"som e-post till",sentSms:"som sms till"}},rejectReasons:{category:{unclear:"Otydlig beskrivning",price:"Pris",badges:"Referenser & certifikat",misc:"Annat"},unprofessional:"Oseri\xF6st intryck.","unclear-included":"Det framgick inte vad som ing\xE5r.","unclear-task-descriptions":"Arbetsmomenten var inte utf\xF6rliga.","unclear-language-complicated":"Spr\xE5ket p\xE5 offerten var otydlig / komplicerad.","work-expensive":"Arbetspriset var f\xF6r h\xF6gt.","material-expensive":"Materialpriset var f\xF6r h\xF6gt.","markup-expensive":"F\xF6r stort p\xE5slag.","price-too-low":"Priset k\xE4nns f\xF6r l\xE5gt f\xF6r att vara sant.","missing-ref":"Saknar bra referenser.","missing-cert":"Saknar r\xE4tt certifikat / beh\xF6righeter.","missing-f-skatt-insurance":"Saknar F-skatt / ansvarsf\xF6rs\xE4kring.","chose-other":"Valt en annan utf\xF6rare.","bad-at-language":"Personalen pratar inte ett spr\xE5k jag f\xF6rst\xE5r.","expected-other":"Inte vad jag f\xF6rv\xE4ntat mig."},houseWorkType:{construction:"Bygg",electricity:"El",glassMetalWork:"Glas / Pl\xE5t",groundDrainageWork:"Mark / Dr\xE4nering",masonry:"Murning",paintingWallpapering:"M\xE5lning / Tapetsering",hvac:"VVS",babySitting:"Barnpassning",moving:"Flytt",ITServices:"IT",textileClothing:"Kl\xE4d / Textil",personalCare:"Personlig omsorg",snowPlowing:"Sn\xF6skottning",cleaning:"St\xE4dning",gardening:"Tr\xE4dg\xE5rd",whiteGoods:"Vitvaror"},services:{construction:"Bygg",design:"Design",rut:"RUT",photo:"Foto",event:"Event",tech:"Tech"},region:{sweden:{enskildfirma:"Enskild firma",handelsbolag:"Handelsbolag",aktiebolag:"Aktiebolag",economicAssociation:"Ekonomisk f\xF6rening"}},accountType:{free:"Free",start:"Start",base:"Base",pro:"Pro",premium:"Pro",trial:"Pro (prova p\xE5)"},brand:{cling:{name:"Cling",domain:"cling.se"},docspo:{name:"Docspo",domain:"docspo.com"}},documentMentions:{clientName:"Kundens namn",clientEmail:"Kundens e-post",clientPhone:"Kundens phone",clientCompany:"Kundens f\xF6retag",clientAddress:"Kundens adress",clientZip:"Kundens postnummer",clientCity:"Kundens stad",clientCountry:"Kundens land",clientSocialNo:"Kundens personnummer",clientOrgNo:"Kundens organisationsnummer",senderName:"Avs\xE4ndarens namn",senderEmail:"Avs\xE4ndarens e-post",senderPhone:"Avs\xE4ndarens telefon",senderCompany:"Avs\xE4ndarens f\xF6retag",senderAddress:"Avs\xE4ndarens adress",senderZip:"Avs\xE4ndarens postnummer",senderCity:"Avs\xE4ndarens stad",senderCountry:"Avs\xE4ndarens land",documentName:"Dokumentets namn"},paymentInterval:{month:"m\xE5nadsvis",year:"\xE5rsvis"},pikaday:{previousMonth:"F\xF6reg\xE5ende m\xE5nad",nextMonth:"N\xE4sta m\xE5nad",months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],weekdays:["S\xF6ndag","M\xE5ndag","Tisdag","Onsdag","Torsdag","Fredag","L\xF6rdag"],weekdaysShort:["S\xF6","M\xE5","Ti","On","To","Fr","L\xF6"]},designLabels:{typography:"Typografi",font:"Typsnitt",title:"Titel",h1:"Rubrik 1",h2:"Rubrik 2",h3:"Rubrik 3",blockquote:"Citat",paragraph:"Text",numberedList:"Numrerad lista",bulletList:"Punktlista",line:"Horisontell linje",style:"Stil",size:"Storlek",lineHeight:"Radavst\xE5nd",letterSpacing:"Knipning",marginBottom:"Bottenmarginal",letterCase:"Versalstil",letterCaseTypes:{initial:"Som skrivet",capitalized:"Rubrikversaler",uppercase:"Versaler"},color:"F\xE4rg",background:"Bakgrund",contentWidth:"Inneh\xE5llsbredd",padding:"Vaddering",border:"Ram",borderWidth:"Tjocklek",text:"Text",section:"Sektion",section_plural:"Sektioner"}},NPe={fallback:"Ett ov\xE4ntat fel intr\xE4ffade",1:"Oops, n\xE5t gick fel! Pr\xF6va ladda om sidan.",100:"Du m\xE5ste ange ett namn p\xE5 mallen",101:"Inneh\xE5ll i mallen kan inte vara tomt",102:"Typ av mall kan inte vara tomt",201:"E-post kan inte vara tomt",202:"Du m\xE5ste ange en korrekt e-postadress",203:"Epost-adressen har avanm\xE4lt sig ifr\xE5n flera utskick ifr\xE5n Er, kunde inte skicka epost.",204:"N\xE5got \xE4r fel med l\xE4nken f\xF6r att avanm\xE4la sig, v\xE4nligen kontakta oss s\xE5 l\xF6ser vi det.",205:"N\xE5got \xE4r fel med l\xE4nken f\xF6r att avanm\xE4la sig, v\xE4nligen kontakta oss s\xE5 l\xF6ser vi det.",300:"Det gick inte att skicka som SMS, kontrollera att telefonnumret \xE4r ett korrekt mobilnummer och f\xF6rs\xF6k igen.",301:"Gr\xE4ns f\xF6r antal gratis projekt denna m\xE5nad \xE4r uppn\xE5dd, uppgradera till premium",302:"Gr\xE4ns f\xF6r antal gratis dokument \xE4r uppn\xE5dd, uppgradera till premium",400:"Namnet p\xE5 @:ata kan inte vara tomt",401:"Giltighetstiden f\xF6r @:ataThe kan inte vara tomt",500:"Namnet p\xE5 certifikatet kan inte vara tomt",501:"Beskrivningen p\xE5 certifikatet kan inte vara tomt",502:"Webbsidan f\xF6r certifikatet kan int vara tomt",503:"Webbsidan f\xF6r certifikatet m\xE5ste vara en korrekt url",601:"Kan inte spara p\xE5minnelse som aktiv om det inte finns n\xE5got skicka-datum",602:"Kan inte spara p\xE5minnelse med ett datum som redan har passerat",603:"Kan inte spara p\xE5minnelse f\xF6r f\xF6rfallodatum n\xE4r fakturan saknar f\xF6rfallodatum",700:"Offertens gilighetstid kan inte vara tomt",800:"Namnet p\xE5 projektet kan inte vara tomt",900:"Filen g\xE5r inte att hitta",901:"Filen h\xF6r inte till det aktuella f\xF6retaget",1001:"Epost f\xF6r anst\xE4llda kan inte vara tomt",1002:"Epost f\xF6r anst\xE4llda m\xE5ste vara en korrekt epost",1003:"L\xF6senord f\xF6r anst\xE4llda kan inte vara tomt",1004:"F\xF6rnamn f\xF6r anst\xE4llda kan inte vara tomt",1005:"Efternamn f\xF6r anst\xE4llda kan inte vara tomt",1006:"Telefonnummer f\xF6r anst\xE4llda kan inte vara tomt",2001:"Namn f\xF6r inst\xE4llningen kan inte vara tomt",2002:"V\xE4rde f\xF6r inst\xE4llningen kan inte vara tomt",3001:"F\xF6retagsnamn kan inte vara tomt",3002:"Epost f\xF6r f\xF6retaget kan inte vara tomt",3003:"Epost f\xF6r f\xF6retaget m\xE5ste vara en korrekt epost",3004:"Webbsida f\xF6r f\xF6retaget kan inte vara tomt",3005:"Webbsida f\xF6r f\xF6retaget m\xE5ste vara en korrekt url",3006:"Instagram URL kan inte vara tomt",3007:"Instagram URL m\xE5ste vara en korrekt url",3008:"Facebook URL kan inte vara tomt",3009:"Facebook URL m\xE5ste vara en korrekt url",3010:"Reco URL kan inte vara tomt",3011:"Reco URL m\xE5ste vara en korrekt url",3012:"Namnet p\xE5 SMS-avs\xE4ndare f\xE5r vara max 11 tecken",4001:"Epost-adressen anv\xE4nds redan f\xF6r en anv\xE4ndare",4002:"L\xF6senordet m\xE5ste vara minst 6 tecken l\xE5ngt",4003:"Epost f\xF6r anv\xE4ndaren kan inte vara tomt",4004:"Epost f\xF6r anv\xE4ndaren m\xE5ste vara en korrekt epost",4005:"L\xF6senord f\xF6r anv\xE4ndaren kan inte vara tomt",4006:"Det gick inte att v\xE4lja ett nytt l\xF6senord, giltigheten p\xE5 l\xE4nken kan ha g\xE5tt ut",4007:"Du har redan max antal projektledare p\xE5 ditt konto, kontakta support s\xE5 hj\xE4lper vi dig",5001:"Artikeln m\xE5ste ha ett namn",5002:"Artikelns pris m\xE5ste vara p\xE5 korrekt format",5003:"Artikelns moms m\xE5ste vara p\xE5 korrekt format",6001:"Kunden m\xE5ste ha ett namn",7001:"Du har inte beh\xF6righet, prova att uppdatera sidan eller kontakta en administrat\xF6r.",7002:"Du har inte beh\xF6righet f\xF6r modulen, prova att uppdatera sidan eller kontakta en administrat\xF6r.",8001:"Giltighetstiden f\xF6r din token har g\xE5tt ut, prova att ladda om sidan",9001:"En signering p\xE5g\xE5r redan",9002:"Signeringen tog f\xF6r l\xE5ng tid. G\xF6r ett till f\xF6rs\xF6k.",9003:"Du avbr\xF6t signeringen. G\xF6r ett till f\xF6rs\xF6k.",9004:"Signeringen avbr\xF6ts. G\xF6r ett till f\xF6rs\xF6k.",9005:"Ditt BankID certifikat \xE4r inte giltigt. Kontakta din bank f\xF6r att f\xF6rnya det.",9006:"BankID-programmet verkar inte finnas p\xE5 din dator eller telefon. Installera det och h\xE4mta ett BankID hos din Bank. Installera programmet fr\xE5n install.bankid.com",9007:"Ditt personnummer saknas. Fyll i det och f\xF6rs\xF6k igen.",10001:"Du m\xE5ste ange en kampanjkod",10002:"Kampanjkoden \xE4r inte giltig",10003:"Kampanjkoden \xE4r redan anv\xE4nd",11001:"Bokf\xF6ringsmetod m\xE5ste ha ett giltigt v\xE4rde",12001:"F\xF6rfallodatum m\xE5ste anges",12002:"Leveransdatum m\xE5ste anges n\xE4r det finns artiklar som \xE4r varor",12003:"N\xE4r leveransmetod \xE4r manuell kan inte andra metoder ocks\xE5 v\xE4ljas",12004:"Kan inte skicka faktura b\xE5de som eFaktura och brev samtidigt",12005:"Ingen leveransmetod \xE4r vald",12006:"En kreditfaktura m\xE5ste ha ett negativt totalbelopp",12007:"Kunde inte skapa PDF f\xF6r faktura",12008:"Bara fakturor med status utkast kan attesteras",12009:"Fakturapartner \xE4r inte implementerad",12010:"Fakturan \xE4r redan bestriden",12011:"Fakturan \xE4r inte markerad som bestriden",12012:"Belopp \xE4r inte giltigt",12013:"Moms \xE4r inte giltigt",12014:"Anv\xE4ndarId saknas",12015:"Kan inte skapa p\xE5minnelse eftersom fakturastatus inte \xE4r giltig",12016:"Kan inte skapa p\xE5minnelse eftersom leveransmetod \xE4r felaktig",12017:"Leveransmetod \xE4r inte giltig",12018:"Kan inte skapa p\xE5minnelsefaktura eftersom ingen avgift har angetts",12019:"Kan inte skicka en faktura som har manuell leveransmetod",12020:"Ingen kund har valts f\xF6r fakturan",12021:"Personer f\xF6r avdrag har inte angetts korrekt",12022:"Fastighetsbeteckning \xE4r inte korrekt",12023:"L\xE4genhetsnummer \xE4r inte korrekt",12024:"Bostadsr\xE4ttens organisationsnummer \xE4r inte korrekt",12025:"Fastighetstyp \xE4r inte korrekt",12026:"Kan inte synka inst\xE4llningar, f\xF6rnamn f\xF6r kontaktperson faktura saknas",12027:"Kan inte synka inst\xE4llningar, efternamn f\xF6r kontaktperson faktura saknas",12028:"Kan inte synka inst\xE4llningar, telefon f\xF6r kontaktperson faktura saknas",12029:"Kan inte synka inst\xE4llningar, e-post f\xF6r kontaktperson faktura saknas",12030:"Fakturan har inga artikelrader",12031:"Kan inte synka inst\xE4llningar, f\xF6retaget saknar organisationsnummer",12032:"Kan inte synka inst\xE4llningar, f\xF6retaget saknar f\xF6retagsnamn",12033:"Kan inte synka inst\xE4llningar, f\xF6retaget saknar adress",12034:"Kan inte synka inst\xE4llningar, f\xF6retaget saknar postnummer",12035:"Kan inte synka inst\xE4llningar, f\xF6retaget saknar stad",12036:"Kan inte synka inst\xE4llningar, f\xF6retaget saknar e-post",12037:"Kan inte synka inst\xE4llningar, f\xF6retaget saknar n\xE4sta fakturanummer",12038:"Kan inte uppdatera en faktura som inte \xE4r i status utkast",12039:"Betalningsdatum \xE4r inte giltigt",12040:"Betalningstyp \xE4r inte giltigt",12041:"Kan inte skapa PDF f\xF6r en faktura som inte \xE4r attesterad",12042:"Kundens personnummer m\xE5ste anges f\xF6r att kunna s\xE4lja fakturan",12043:"Kundens org-nr m\xE5ste anges f\xF6r att kunna s\xE4lja fakturan",13001:"Slutdatum m\xE5ste vara efter startdatum",14001:"Dokumentet kan inte uppdateras eftersom det finns insamlade svar ifr\xE5n kund",15001:"API nyckeln \xE4r inte giltig",16001:"Otillr\xE4ckligt saldo p\xE5 kortet",16002:"Kortet blev nekat",17001:"Dom\xE4nen anv\xE4nds redan",17002:"Kan inte ta bort en verifierad dom\xE4n, kontakta support",18001:"Du har en gammal version av ett dokument, ladda om f\xF6r att h\xE4mta den senaste versionen.",ECONNREFUSED:"Fick inget svar fr\xE5n servern, v\xE4nta n\xE5gra sekunder och f\xF6rs\xF6k igen.",upload:{general:"Kunde inte ladda upp fil",extension:"Ogiltigt format. Till\xE5tna format: {{extensions}}",size:"F\xF6r stor fil. Max filstorlek \xE4r {{maxFileSize}}",ECONNREFUSED:"Kunde inte ladda upp fil, ingen internetanslutning"},project:{get:"Kunde inte h\xE4mta projekt",post:"Kunde inte skapa projekt",demo:"Kunde inte skapa demoprojekt",put:"Kunde inte uppdatera projekt",delete:"Kunde inte ta bort projekt",patch:"Kunde inte \xE5ngra ta bort projekt",quickview:"Kunde inte snabbv\xE4lja projekt",projectLeader:"Kunde inte v\xE4lja projektledare",send:"Kunde inte skicka projekt",member:{post:"Kunde inte l\xE4gga till medlem",delete:"Kunde inte ta bort medlem"}},article:{get:"Kunde inte h\xE4mta artikel",submit:"Kunde inte spara artikel",put:"Kunde inte uppdatera artikel",delete:"Kunde inte ta bort artikel",patch:"Kunde inte \xE5ngra ta bort artikel",search:"Kunde inte s\xF6ka efter artikel"},companies:{submit:"Kunde inte spara f\xF6retag"},companyReference:{get:"Kunde inte h\xE4mta referens",post:"Kunde inte skapa referens",put:"Kunde inte uppdatera referens",delete:"Kunde inte ta bort referens",patch:"Kunde inte \xE5ngra ta bort referens"},companyReferenceItem:{get:"Kunde inte h\xE4mta referensbild",post:"Kunde inte skapa referensbild",put:"Kunde inte uppdatera referensbild",delete:"Kunde inte ta bort referensbild"},notification:{getAll:"Kunde inte h\xE4mta alla notifikationer",getUnread:"Kunde inte h\xE4mta ol\xE4sta notifikationer",get:"Kunde inte h\xE4mta notifikation",setReadForProject:"Kunde inte markera alla notifikationer som l\xE4sta f\xF6r projektet",setReadForInvoice:"Kunde inte markera alla notifikationer som l\xE4sta f\xF6r fakturan",setRead:"Kunde inte markera notifikation som l\xE4st",setAllRead:"Kunde inte markera alla notifikation som l\xE4sta"},certificate:{get:"Kunde inte h\xE4mta certifikat",submit:"Kunde inte spara dina certifikat"},endCustomer:{getAll:"Kunde inte h\xE4mta alla kunder",get:"Kunde inte h\xE4mta kund",post:"Kunde inte spara ny kund",put:"Kunde inte uppdatera kund",delete:"Kunde inte ta bort kund",patch:"Kunde inte \xE5ngra ta bort kund",submit:"Kunde inte posta kund"},companyUser:{getAll:"Kunde inte h\xE4mta alla anv\xE4ndare",get:"Kunde inte h\xE4mta anv\xE4ndare",post:"Kunde inte spara ny anv\xE4ndare",put:"Kunde inte uppdatera anv\xE4ndare",delete:"Kunde inte ta bort anv\xE4ndare",patch:"Kunde inte \xE5ngra ta bort anv\xE4ndare"},file:{get:"Kunde inte h\xE4mta fil",post:"Kunde inte spara ny fil",put:"Kunde inte uppdatera fil",delete:"Kunde inte ta bort fil",patch:"Kunde inte \xE5ngra ta bort fil"},projectFile:{get:"Kunde inte h\xE4mta projektfil",post:"Kunde inte spara ny projektfil",put:"Kunde inte uppdatera projektfil",delete:"Kunde inte ta bort projektfil"},projectNote:{get:"Kunde inte h\xE4mta anteckning",edit:"Kunde inte redigera anteckning",submit:"Kunde inte spara anteckning"},propertyDesignation:{get:"Kunde inte h\xE4mta Fastighetsbeteckning",edit:"Kunde inte redigera Fastighetsbeteckning",submit:"Kunde inte spara Fastighetsbeteckning"},setting:{put:"Kunde inte uppdatera inst\xE4llning",editCompany:"Kunde inte l\xE4sa in f\xF6retagsinst\xE4llning",editInvoice:"Kunde inte l\xE4sa in fakturainst\xE4llningar",submitCompany:"Kunde inte spara f\xF6retagsinst\xE4llning",editCompanyUser:"Kunde inte l\xE4sa in inst\xE4llning f\xF6r anv\xE4ndare",submitCompanyUser:"Kunde inte spara inst\xE4llning f\xF6r anv\xE4ndare",submitInvoice:"Kunde inte spara inst\xE4llning f\xF6r faktura"},templateMessage:{getAll:"Kunde inte h\xE4mta mallar",get:"Kunde inte h\xE4mta mall",post:"Kunde inte spara mall",put:"Kunde inte uppdatera mall",delete:"Kunde inte ta bort mall",patch:"Kunde inte \xE5ngra ta bort mall",new:"Kunde inte f\xF6rbereda ny mall",edit:"Kunde inte f\xF6rbereda redigera mall",submit:"Kunde inte spara mall"},document:{get:"Kunde inte h\xE4mta dokument",delete:"Kunde inte ta dokument",patch:"Kunde inte \xE5ngra ta bort dokument",submit:"Kunde inte spara dokument",submitStatus:"Kunde inte \xE4ndra status p\xE5 dokument"},invoice:{getMany:"Kunde inte h\xE4mta fakturor",getOne:"Kunde inte h\xE4mta faktura",put:"Kunde inte uppdatera faktura",delete:"Kunde inte ta faktura",patch:"Kunde inte \xE5ngra ta bort faktura",attest:"Kunde inte attestera faktura",dispute:"Kunde inte markera faktura som bestriden",cancelDispute:"Kunde inte avsluta bestridan",updateAddress:"Kunde inte uppdatera leveransadress",registerPayment:"Kunde inte registrera betalning",registerWriteOff:"Kunde inte registrera bortskrivning",send:"Kunde inte skicka faktura",sendReminder:"Kunde inte skicka p\xE5minnelsefaktura",register:"Kunde inte registrera f\xF6r fakturering",unmatchedPayments:"Kunde inte ladda omatchade betalningar",matchPayments:"Kunde inte matcha betalningar",deleteUnmatchedPayment:"Kunde inte ta bort omatchad betalning",sell:"Kunde inte skicka beg\xE4ran om att s\xE4lja faktura",cancelSell:"Kunde inte avbryta beg\xE4ran om att s\xE4lja faktura",createInterestInvoice:"Kunde inte skapa r\xE4ntefaktura",setExported:"Kunde inte uppdatera om fakturan \xE4r exporterad f\xF6r ROT/RUT",setProcessed:"Kunde inte uppdatera om fakturan \xE4r f\xE4rdig f\xF6r ROT/RUT"},invoiceNote:{get:"Kunde inte h\xE4mta anteckning",edit:"Kunde inte redigera anteckning",submit:"Kunde inte spara anteckning"},bookkeeping:{getExports:"Kunde inte h\xE4mta exporter",createExport:"Kunde inte skapa export",rotRutXML:"Kunde inte h\xE4mta ROT/RUT-export"},timeTrack:{getAll:"Kunde inte h\xE4mta tidrapporter",get:"Kunde inte h\xE4mta tidrapport",post:"Kunde inte skapa tidrapport",put:"Kunde inte uppdatera tidrapport",delete:"Kunde inte ta bort tidrapport",patch:"Kunde inte \xE5ngra ta bort tidrapport",attest:"Kunde inte attestera tidrapport",startTimer:"Kunde inte starta klocka",stopTimer:"Kunde inte stoppa klocka",getTimer:"Kunde inte h\xE4mta klocka",clearTimer:"Kunde inte \xE5terst\xE4lla klocka",new:"Kunde inte starta skapa ny tidrapport",edit:"Kunde inte uppdatera tidrapport",submit:"Kunde inte spara tidrapport"},documentTerm:{getAll:"Kunde inte h\xE4mta villkor",get:"Kunde inte h\xE4mta villkor",post:"Kunde inte spara villkor",put:"Kunde inte uppdatera villkor",delete:"Kunde inte ta bort villkor",patch:"Kunde inte \xE5ngra ta bort villkor",new:"Kunde inte f\xF6rbereda nytt villkor",edit:"Kunde inte f\xF6rbereda redigera villkor",submit:"Kunde inte spara villkor"},unitType:{get:"Kunde inte h\xE4mta enheter",put:"Kunde inte uppdatera enhet",delete:"Kunde inte ta bort enhet"}},aU=ge.brand.charAt(0).toUpperCase()+ge.brand.slice(1),LPe={account:{clients:{list:{importTitle:"Nyhet! Nu kan be om omd\xF6men fr\xE5n dina kunder.",importDescription:"\xD6ka dina vinstchanser! Du kommer inom kort kunna presentera dina recensioner p\xE5 dina offerter och profilsida.",importChatMessage:"Hej! Jag skulle vilja l\xE4gga till mina recensioner fr\xE5n f\xF6ljande l\xE4nk: [Klistra in din l\xE4nk h\xE4r]",importLink:"Importera recensioner fr\xE5n Google, Reco m.m.",createFirstClient:"Skapa din f\xF6rsta kund",noResult:"Inga resultat hittades.",noResultDescription:"Skapa en kund s\xE5 blir det l\xE4tta att s\xF6ka upp dem n\xE4r du ska skapa projekt.",createAClient:"Skapa en kund",resetSearch:"\xC5terst\xE4ll s\xF6kning"},notePlaceholder:"Syns enbart f\xF6r dig och dina kollegor",noProjectTitle:"Inga projekt finns f\xF6r den h\xE4r kunden",noProjectSubTitle:"Du har inte skapat n\xE5gra projekt f\xF6r den h\xE4r kunden \xE4nnu."},create:{document:{emptyBlockPlaceholderSmall:"Klicka h\xE4r f\xF6r att bygga ihop ditt dokument.",emptyBlockPlaceholderLarge:'B\xF6rja med att <span style="font-weight: 600;">dra & sl\xE4pp</span> ett block ifr\xE5n menyn till v\xE4nster.',sendButton:"St\xE4ll in & Skicka",adminTooltip:"\xC4ndra avs\xE4ndare",projectTooltip:"Skapa dokument med koppling till projekt: {{projectName}}",formDialog:{title:"\xC4ndra mall",message:"Om du byter mall kommer alla dina \xE4ndringar f\xF6rsvinna.",cancel:"Stanna kvar",submit:"\xC4ndra mall"},rootDialog:{title:"Vill du verkligen avbryta?",message:"Du har inte sparat dina \xE4ndringar f\xF6r dokumentet.",cancel:"Stanna kvar",submit:"L\xE4mna sidan"},select:{navTitle:"V\xE4lj en mall",myTemplates:"Mina mallar",myTemplatesSubTitle:"Skapa ett nytt dokument utifr\xE5n en av dina sparade mallar.",gallery:"Mallgalleri",gallerySubTitle:"Bl\xE4ddra bland v\xE5rt mallgalleri f\xF6r att f\xE5 inspiration. <br>Klicka p\xE5 vilken mall som helst och g\xF6r den till din egen.",recent:"Senaste",recentSubTitle:"Dina senast skapade dokument.",steps:{select:"V\xE4lj",prepare:"Anpassa",review:"Granska"},recover:{title:"\xC5terst\xE4ll dokument",message:"Det finns ett p\xE5b\xF6rjat dokument, vill du forts\xE4tta med det eller b\xF6rja om?",submit:"Forts\xE4tt",cancel:"Ta bort"},override:{title:"Anv\xE4nd ny mall",message:"\xC4ndringar i ditt nuvarande dokument kommer att f\xF6rsvinna, vill du byta mall?",submit:"Forts\xE4tt",cancel:"Avbryt"}},recent:{emptyPlaceholder:"H\xE4r kommer dina skapade dokument synas.",noResults:"Hittade inga resultat."},templateFormModal:{namePlaceholder:"Mallens namn",calloutDescription:"Om du ofta anv\xE4nder dig av en och samma inneh\xE5ll i dina offerter kan du g\xF6ra om den till en \xE5teranv\xE4ndbar mall.",updateExisting:"Uppdatera nuvarande mall",keepClients:"Beh\xE5ll kunder p\xE5 mallen",validations:{name:{required:"Ge mallen ett namn"}}},sendToYourselfTooltip:{title:"Se hur det kommer vara f\xF6r din kund.",subTitle:"Pr\xF6va att skicka en offert till dig sj\xE4lv."},signupModal:{title:"\xD6ppna ett konto f\xF6r att skicka dokument",subTitle:"Det \xE4r helt gratis att \xF6ppna ett konto.",buttonText:"\xD6ppna gratiskonto"}},invoice:{}},templateGallery:{slogan:{cling:"- Vinn fler aff\xE4rer",docspo:"- Send beautiful proposals"},menuTitle:"Mallar",signupModal:{title:"\xD6ppna ett konto f\xF6r att anv\xE4nda mallen",subTitle:"Det \xE4r helt gratis att \xF6ppna ett konto.",buttonText:"\xD6ppna gratiskonto"},public:{title:"Vinnande offertmallar.<br>Redo att anv\xE4ndas.",description:"Kickstarta dina aff\xE4rer genom att anv\xE4nda en av v\xE5ra professionellt skapade offertmallar."},categories:{default:"Popul\xE4rt",sales:"S\xE4lj",marketing:"Marknadsf\xF6ring",tech:"Webb & IT",design:"Design",creative:"Kreativ",law:"Juridik",construction:"Bygg",garden:"Tr\xE4dg\xE5rd",conference:"Konferens",event:"Event",staffing:"Bemanning",cleaning:"St\xE4dning"}},document:{},invoices:{},members:{},onboarding:{submitButton:"G\xE5 till mitt konto",stepOne:{title:"V\xE4lkommen! \u{1F44B}",subTitle:"Redo att skicka snygga offerter & avtal? We sure are! Vi b\xF6rjar med att st\xE4lla in utseendet.",questionTitle:"Vilket tema passar dig b\xE4st?",continueText:"Du kan \xE4ndra det h\xE4r senare."},stepTwo:{title:"1 bild > 1 000 ord",subTitle:"Som uttrycket *n\xE4stan* g\xE5r, vad ber\xE4ttar din story b\xE4ttre \xE4n en bakgrundsbild?",questionTitle:"F\xF6reslagna bilder",continueText:"Mer utseendeinst\xE4llningar hittar du under Inst\xE4llningar -> Profil."},panelDevice:{documentTitle:"R\xE5dgivning om konsultuppdrag",priceBlockOptions:"+2 st valbara till\xE4gg",personalMessage:"Hej Per!<br> Tack f\xF6r m\xF6tet senast. H\xE4r kommer en offert enligt det vi prata om. Ut\xF6ver det vi prata om s\xE5 finns 2 st valbara till\xE4gg som jag rekommenderar.",parties:"Parter",scopeOfWork:"Omfattning"}},bookDemo:{description:"Hej! Boka en kostnadsfri 15 min demo med mig. Jag kommer visa dig hur allt funkar.",chatMessage:"Hej! Jag skulle vilja ha en kostnadsfri genomg\xE5ng av {{brand,capitalize}}."},convertStripe:{title:"Byt till kortbetalning",description:"Om du vill forts\xE4tta anv\xE4nda {{brand,capitalize}} beh\xF6ver du byta till kortbetalning. Vi st\xF6djer inte m\xE5nadsbetalningar med faktura l\xE4ngre.",button:"Byt till kortbetalning"},unpaidStripe:{description:"Det finns obetalda fakturor f\xF6r er prenumeration att hantera",button:"Visa"},resurrectTrial:{title:`V\xE4lkommen tillbaka till ${aU}`,expired:"Din obegr\xE4nsade testperiod gick ut f\xF6r {{- expiredAt}}.",startAgain:"Starta en ny testperiod i 14 dagar till.",buttonText:"\xC5terst\xE4ll testperiod",hintText:"Efter testperioden s\xE5 \xE5terg\xE5r din kontoplan till gratisversionen.",successMessage:"Obegr\xE4nsad tillg\xE5ng aktiverat! G\xE4ller i 14 dagar"},overview:{current:"Aktuella",archive:"Arkiv",statistics:"Statistik"},statistics:{fetchingDocuments:"H\xE4mtar dina dokument",calculatingStats:"R\xE4knar ut statistik",durationLeft:"{{s}}s kvar",preferAcceptedPeriod:"Anv\xE4nd datum f\xF6r godk\xE4nnande framf\xF6r skapat",totalWon:"Total vunnet",winRate:"Winrate",closeTime:"Avslutstid",businessValue:"Aff\xE4rsv\xE4rde",totalSent:"Du har skickat {{totalCount}} st dokument sedan start av perioden.",distribution:"F\xF6rdelning",distributionDescription:"Dina senaste aff\xE4rer baserat p\xE5 aff\xE4rsv\xE4rde. Klicka f\xF6r att zooma in.",frequency:"Frekvens",frequencyDescription:"\xE4r en bra m\xE5nad f\xF6r dig. D\xE5 vinner du som mest dokument inom perioden.",leaderboard:"Topplista",dateRange:{intervalOptions:{custom:"Anpassad","7days":"Senaste 7 dagarna","4weeks":"Senaste 4 veckorna","3months":"Senaste 3 m\xE5naderna","12months":"Senaste 12 m\xE5naderna",monthToDate:"M\xE5nad hittills",yearToDate:"\xC5r hittills",allTime:"Alla"}},average:{callOut1:"Du skickar i snitt <span>{{value}}</span> dokument per m\xE5nad.",callOut2:"Du vinner ca <span>{{value}}</span> av dessa.",callOut3:"Snittaff\xE4ren du vinner \xE4r v\xE4rd "},chart:{unanswered:"Obesvarat",lostBusiness:"F\xF6rlorade aff\xE4rer",wonBusiness:"Vunna aff\xE4rer"},total:{wonDocuments:"Vunna dokument",lost:"F\xF6rlorade",unanswered:"Obesvarade"},tree:{myBusiness:"Mina aff\xE4rer",wonDocuments:"Vunna dokument",lostDocuments:"F\xF6rlorade dokument",unansweredDocuments:"Obesvarade dokument"},heat:{truncatedHint:"Visar de 12 senaste m\xE5naderna inom perioden"},board:{description:"Dina medlemmars aktivitet p\xE5 {{brand,capitalize}}.",name:"Namn",sent:"Skickade",opened:"\xD6ppnade",accepted:"Godk\xE4nda"}},project:{error:"Kunde inte hitta projekt",list:{sortOptions:{updatedAt:"Senast \xE4ndrad",createdAt:"Skapelsedatum"},noArchived:"Du har inte arkiverat n\xE5gra projekt.",noProjects:"Du har inte skapat n\xE5gra projekt.",radioProject:"Visa projektnamn f\xF6rst",radioAddress:"Visa adress f\xF6rst",filterCreatorButton:"Skapad av"},calloutScheduledDelivery:{title:"Schemalagt utskick",description:'Dokumentet "{{docName}}" kommer att skickas',cancel:"Avbryt utskick",dialog:{title:"Ta bort schemalagt utskick",message:"\xC4r du s\xE4ker p\xE5 att du vill avbryta utskicket{{for}}?",forName:" f\xF6r {{name}}",cancel:"Nej",submit:"Ja, ta bort"}},clients:{condominiumId:"Lgh-nr",condominiumOrgNo:"Brf org-nr",propertyId:"Beteckning",buttonClient:"G\xE5 till kund",buttonPropertyDesignation:"Fastighetsbeteckning"},createDocumentDropdown:{mobileLabel:"Vad f\xF6r dokument?",active:"Vad f\xF6r dokument?",inActive:"Nytt dokument",ataTooltip:"\u{1F517} Skapa ett \xE4ndringsavtal som l\xE4nkas till dokumentet.",regularTooltip:"\u{1F4D1} Skapa ett dokument kopplat till projektet.",regular:"Vanligt dokument"},secondaryDropdown:{mobileLabel:"Vad vill du fakturera?",active:"Fakturera vad?",inActive:"Fakturera",connectedTooltip:"Fakturera ett dokument. \u26A1\uFE0F H\xE5ller r\xE4kningen p\xE5 vad som anv\xE4nts.",separateTooltip:"\u{1F517} Skapa en faktura som \xE4r l\xE4nkat till projektet.",separate:"Separat faktura",printActive:"V\xE4lj dokument"},events:{byName:"Av {{name}}",toEmail:"Till: {{email}}",withBankId:"{{content}} med BankID",createdTitle:"Projekt skapat",viewedTitle:"<div>Kunden tittade p\xE5 {{- link}}</div>",viewedPrefix1:"{{name}} har visat dokumentet",viewedPrefix2:"Har visats",acceptedTitle:"<div>{{- link}} godk\xE4ndes!</div>",deniedTitle:"<div>{{- link}} nekades</div>",sentTitle:"<div>{{prefix}} skickades</div>",sentTitlePropertyDesignation:"<div>Beg\xE4ran om fastighetsbeteckning skickades</div>",statusChangedTitle:"<div>{{- link}} blev nu {{text}}!</div>",requestChangeTitle:"<div>{{- link}} markerades manuellt som {{text}}</div>",mailDeliveredTitle:"Kunden tog emot mailet",mailOpenedTitle:"Kunden tittade p\xE5 mailet",mailOpenedPrefix1:"Mailet har visats",mailOpenedPrefix2:"{{email}} har visat mailet",mailDroppedTitle:"E-post kunde inte skickas",smsDroppedTitle:"SMS kunde inte skickas",scheduledTitle:"<div>{{- link}} kommer att skickas{{types}}</div>",expiredTitle:"<div>{{- link}} f\xF6rf\xF6ll</div>",expiredDescription:"Markerades som nekat f\xF6r att giltighetstiden har passerat"},file:{addButton:"L\xE4gg till bilaga"},member:{leader:"Ledare",added:"Tillagd",promoteButton:"G\xF6r till ledare",promoteTooltipLeader:"\xC4r redan ledare",promoteTooltip:"Har inte beh\xF6righet",removeButton:"Ta bort fr\xE5n projekt",removeTooltip:"Markera n\xE5gon annan som ledare f\xF6rst",validation:{required:"Ange en giltig e-post",email:"Ange en giltig e-post",unique:"Anv\xE4ndaren \xE4r redan inbjuden"}},statusDropdown:{tooltip:{sent:"Flyttas automatiskt hit efter att du skickat f\xF6rsta dokumentet.",accepted:"Flyttas automatiskt hit om din kund godk\xE4nner ett dokument.",denied:"Flyttas automatiskt hit om din kund nekar ett dokument.",active:"Markera som p\xE5g\xE5ende n\xE4r det \xE4r dags att s\xE4tta ig\xE5ng arbetet.",completed:"Du \xE4r klar med arbetet men v\xE4ntar p\xE5 att f\xE5 betalt.",archived:"Flytta projektet till arkivet n\xE4r du \xE4r klar och f\xE5tt betalt.",destroy:"S\xE4g hej d\xE5 f\xF6r alltid till projektet."}},taskList:{placeholder:"Skriv en task",draggingHint:"Sl\xE4pp utanf\xF6r rutan f\xF6r att ta bort"},taskModal:{placeholder:"Skriv n\xE5got du vill g\xF6ra"},timeTracks:{titlePlaceholder:"Vad har du gjort?",submitButton:"Spara tid",emptyText:"Du har inte loggat n\xE5gra aktiviteter \xE4nnu"},propertyDesignationModal:{alt1Title:"Beg\xE4r fr\xE5n kund",alt1Text:"Skicka ett meddelande till din kund s\xE5 kan de fylla in det sj\xE4lva.",alt2Title:"Fyll i sj\xE4lv",alt2Text:"Skriv in informationen om din kunds fastighetsbeteckning sj\xE4lv.",sentTitle:"Meddelande skickat!",sentText:"Din kund kommer f\xE5 en e-post d\xE4r de kan fylla i sin information."},propertyDesignationModalEdit:{title:"Ange fastighetsbeteckning",realEstateRadio:"Fastighet / Villa",condominiumRadio:"Bostadsr\xE4tt",condominiumId:{label:"L\xE4genhetsnummer",placeholder:"Lgh-nr, 4 siffror"},condominiumOrgNo:{label:"Bostadsr\xE4ttsf\xF6renings org-nr",placeholder:"Org-nr, 10 siffror"},validations:{realEstateId:{required:"Ange fastighetsbeteckning"},condominiumId:{required:"Ange l\xE4genhetsnummer",numeric:"Enbart siffror \xE4r till\xE5tna",minLength:"Ange fyra siffror",maxLength:"Ange fyra siffror"},condominiumOrgNo:{required:"Ange Bostadsr\xE4ttsf\xF6renings org-nr"}}}},settings:{avatarUploadButton:"Ladda upp profilbild",baseLeaveDialog:{title:"Vill du verkligen avbryta?",message:"Du har osparade \xE4ndringar.",cancel:"Stanna kvar",submit:"L\xE4mna sidan"},templateList:{calloutTitle:"Skapa en mall",calloutLink:"Skapa mall"},theme:{mockData:{documentName:"\u{1F680} V\xE4rldens b\xE4sta erbjudande",companyName:"F\xF6retagsnamn",articleName:"V\xE4rldens b\xE4sta erbjudande",packageTitle:"Omfattning"},options:{backgroundFilter:"Filter",priceBlock:"Prisblock",primaryColor:"Rubriklinjer",show:{title:"Synlighet",clingLogo:"Visa {{brand,capitalize}}-logotyp",priceBlock:"Visa prisblock"}}},photosVideos:{dropText:"Sl\xE4pp filer f\xF6r att ladda upp",emptyText:"Du har inte laddat upp n\xE5gra bilder.",namePlaceholder:"Albumets namn",descriptionPlaceholder:"Beskriv vad bilderna visar. T.ex. vilket arbete du har gjort, vilka material du anv\xE4nde m.m.",validations:{name:{required:"Ge albumet ett namn"}}},certificates:{searchPlaceholder:"S\xF6k efter certifikat eller v\xE4lj fr\xE5n listan",noResults:"Inga certifikat hittades",callout:{title:"Professionella certifikat & beh\xF6righeter",description:"Kunder f\xF6redrar att v\xE4lja professionella utf\xF6rare som \xE4r licenserade inom sitt yrke."},titles:{certificate:"Certifieringar",tradeOrganization:"Branschorganisationer",award:"Utm\xE4rkelser",authorization:"Auktorisationer",competence:"Beh\xF6righeter",other:"\xD6vrigt"}},company:{type:{label:"Bolagsform",placeholder:"V\xE4lj form"},region:{label:"Arbetsregion",tooltip:"Avg\xF6r vilka regionspecifika funktioner som ska vara aktiva"},fTaxLabel:"Innehar F-skatt",insuranceLabel:"Har ansvarsf\xF6rs\xE4kring",successMessage:"F\xF6retagsinst\xE4llningar sparades",validations:{name:{required:"Skriv in ditt f\xF6retagsnamn"},email:{required:"Ange ditt f\xF6retags e-postadress",email:"Din e-post ska vara i formatet: namn@exempel.se"},organisationNumber:{isValidOrgNoWrapper:"Ange ett giltigt organisationsnummer"},street:{required:"Ange en adress f\xF6r ditt f\xF6retag"},zip:{required:"Ange ett postnummer f\xF6r ditt f\xF6retag"},city:{required:"Ange en stad f\xF6r ditt f\xF6retag"}}},presentation:{label:"Presentation",placeholder:"F\xF6rklara vad som g\xF6r att just ditt f\xF6retag sticker ut i m\xE4ngden och varf\xF6r du g\xF6r ett utm\xE4rkt arbete.",successMessage:"F\xF6retagsintroduktion uppdaterades",callout:{title:"Presentera dig sj\xE4v",description:"F\xF6rklara vad som g\xF6r att just ditt f\xF6retag sticker ut i m\xE4ngden och varf\xF6r du g\xF6r ett utm\xE4rkt arbete. Du kan t.ex. n\xE4mna hur m\xE5nga \xE5r du har arbetat, vad du \xE4r passionerad f\xF6r eller om du har n\xE5gra speciella f\xE4rdigheter eller utrustning."},validations:{about:{required:"Skriv en liten text om ditt f\xF6retag"}}},billing:{title:"Ditt abonnemang",subTitleAccountType:"Du och ditt team anv\xE4nder er utav",subTitlePremium:'Ni betalar f\xF6r <span style="font-weight: 600;">{{numberOfEditors}} st</span> $t(_common:user, {"count":{{numberOfEditors}}}) och ni debiteras ',subTitleFree:"Ni betalar",paymentCycle:"var {{count}}:e {{interval}}",changeCard:"Byt kort",endAtCallout:{title:"Nedgradering av kontoplan",description:"Ditt konto kommer att nedgraderas till "},upcomingCallout:{title:"N\xE4sta faktura",subTitleDate:"Kommer att debiteras den {{-collectAt}} med beloppet",subTitleCard:"Utdraget kommer tas fr\xE5n kortet som slutar med {{last4}}."},stripeEmail:"Viktiga notiser skickas till",list:{title:"Fakturahistorik",emptyPlaceholder:"Om du \xE4r en betalande kund kommer dina fakturor synas h\xE4r."}},language:{localeLabel:"Datum / Siffror",successMessage:"Spr\xE5kinst\xE4llningar uppdaterades"},bookkeeping:{title:"St\xE4ll in bokf\xF6ringskonton f\xF6r export",description:"Om du har andra bokf\xF6ringskonton \xE4n standard kan du \xE4ndra det h\xE4r. \xC4r du os\xE4ker s\xE5 kan du bjuda in din revisor.",successMessage:"Bokf\xF6ringsinst\xE4llningar uppdaterades",form:{bankAccountPlaceholder:"Ange kontonummer",general:{title:"Allm\xE4nt",voucherSeries:{label:"Verifikationsserie",placeholder:"L\xE4gg till en serie"},fiscalYear:{label:"R\xE4kenskaps\xE5r",placeholder:"V\xE4lj...",options:{calendarYear:"Kalender\xE5r \u22C5 Jan - Dec",febToJan:"Feb - Jan",marToFeb:"Mar - Feb",aprToMar:"Apr - Mar",mayToApr:"Maj - Apr",junToMay:"Jun - Maj",julToJun:"Jul - Jun",augToJul:"Aug - Jul",sepToAug:"Sep - Aug",octToSep:"Okt - Sept",novToOct:"Nov - Oct",DecToNov:"Dec - Nov"}},bookKeepingMethod:{label:"Bokf\xF6ringsmetod",placeholder:"V\xE4lj fakturametod"}},bookkeepingAccounts:{title:"Bokf\xF6ringskonton",tradeDebtsAccount:"Kundfodringar",tradeDebtsTaxReductionAccount:"Kundfodringar - ROT / RUT",accountPayablesAccount:"Leverant\xF6rsskulder",shortTermDebtsAccount:"Kortfristiga skulder",accrualAccount:"Periodiseringskonto (F\xF6rutbetalda int\xE4kter)",financialInstituteDebtAccount:"Skulder till finansiella institut",customerAdvancedPaymentsAccount:"F\xF6rskott fr\xE5n kund",vat25Account:"Moms 25%",vat12Account:"Moms 12%",vat6Account:"Moms 6%",incomingVatAccount:"Ing\xE5ende moms",restingVatAccount:"Vilande moms",salesWithReverseVatAccount:"F\xF6rs\xE4lj. omv\xE4nd moms",salesWithRotRutAccount:"F\xF6rs\xE4lj. arbete ROT/RUT",administrationCostAccount:"Administrationsavgifter",freightCostAccount:"Fraktavgifter",roundingAccount:"\xD6resavrundning",otherOperatingIncomeAccount:"\xD6vriga r\xF6relseint\xE4kter",writeOffAccount:"Bortskrivningar/Kundf\xF6rluster",revenueCorrectionAccount:"Int\xE4ktskorrigeringar",interestAccount:"R\xE4nteint\xE4kter",financialCostsAccount:"Finansiella kostnader"},standardArticle:{title:"Standardv\xE4rden f\xF6r artiklar",defaultSalesAccount:"F\xF6rs\xE4ljningskonto",defaultSalesEUAccount:"F\xF6rs\xE4ljningskonto inom EU",defaultSalesEUVatAccount:"F\xF6rs\xE4ljningskonto inom EU med moms",defaultSalesNonEUAccount:"F\xF6rs\xE4ljningskonto utanf\xF6r EU"}}},invoiceContact:{title:"Kontakt p\xE5 fakturor",description:"Ange vem du vill ska st\xE5 som kontaktperson p\xE5 dina fakturor.",successMessage:"Kontaktperson f\xF6r faktura uppdaterades"},invoice:{invoiceFee:"Fakturaavgift",nextInvoice:"N\xE4sta fakturanummer",dueDays:"F\xF6rfallodagar",successMessage:"Fakturainst\xE4llningar uppdaterades",validations:{invoiceFee:{decimal:"Ange ett tal med siffror",minValue:"Ange ett positivt belopp"},invoiceDueDays:{minValue:"Ange ett positivt antal dagar",required:"Ange ett standardv\xE4rde f\xF6r f\xF6rfallo, t.ex. 30 dagar"},nextInvoiceNumber:{required:"Vilket nummer ska din n\xE4sta faktura ha?"}}},invoicePaymentAcc:{title:"Vilket konto vill du att dina pengar \xF6verf\xF6rs till?",description:"Psst! Betalningar som dina kunder g\xF6r prickas automatiskt av.",successMessage:"Ditt utbetalningskonto uppdaterades"},invoiceReminder:{invoiceReminderFee:"P\xE5minnelseavgift",invoiceInterestPercentage:"Dr\xF6jsm\xE5lr\xE4nta",invoiceReminderActive:"Automatiska p\xE5minnelser",off:"Avst\xE4ngd",successMessage:"Fakturainst\xE4llningar uppdaterades",validations:{invoiceReminderFee:{decimal:"Ange ett tal med siffror",minValue:"Ange ett positivt belopp"},invoiceInterestPercentage:{minValue:"Ange ett positivt belopp",required:"Ange ett standardv\xE4rde f\xF6r dr\xF6jsm\xE5lsr\xE4nta, t.ex. 8.5 %"}}},notifications:{viewed:"F\xE5 notifikation och e-post n\xE4r kund \xF6ppnat offert / avtal",acceptedSendSms:"F\xE5 SMS n\xE4r kund godk\xE4nt ett dokument",getCopyAll:"F\xE5 kopia p\xE5 alla anv\xE4ndarens notifikationer",semiSigned:"F\xE5 notifikation och e-post n\xE4r ett dokument blir delsignerat",invitedProjectCreate:"F\xE5 notifikation n\xE4r n\xE5gon bjuder in mig till ett projekt",invitedProjectSendEmail:"F\xE5 e-post n\xE4r n\xE5gon bjuder in mig till ett projekt",successMessage:"E-post utskick uppdaterades",clientEmailReplyToUser:{label:"Anv\xE4nd min e-post som svarsadress f\xF6r e-postutskick",subLabel:"Anv\xE4nder {{email}}"}},passwordModal:{current:"Nuvarande l\xF6senord",new:"Nytt l\xF6senord",changeButton:"Byt l\xF6senord",errorMessage:"Nuvarande l\xF6senord \xE4r inte korrekt",successMessage:"Uppdaterade l\xF6senord",validations:{passwordCurrent:{required:"Skriv in ditt nuvarande l\xF6senord"},passwordNew:{required:"Skriv in ditt nya l\xF6senord",minLength:"Ange minst 6 tecken"}},dialog:{title:"Osparade \xE4ndringar",message:"\xC4r du s\xE4ker p\xE5 att du vill avbryta?",cancel:"Stanna kvar",submit:"Ja, st\xE4ng"}},project:{priceInputDefault:"F\xF6rval f\xF6r att mata in priser till konsumenter",priceInputCompany:"F\xF6rval f\xF6r att mata in priser till f\xF6retagskunder",defaultVatRate:"Skapa nya artiklar med momssats",defaultLanguage:"Skapa nya dokument p\xE5 spr\xE5k",defaultCurrency:"Skapa nya dokument med valuta",allowRequestContract:"Till\xE5t kunder att beg\xE4ra avtal",nextProjectNumber:"N\xE4sta projekt-nr",nextOfferNumber:"N\xE4sta offert-nr",nextContractNumber:"N\xE4sta avtal-nr",nextAtaNumber:"N\xE4sta nr f\xF6r till\xE4ggsavtal",successMessage:"Projektinst\xE4llningar uppdaterades",houseWorkDeduction:{title:"ROT/RUT-avdrag",description:"Om du arbetar med avdragbara tj\xE4nster kan du aktivera automatisk utr\xE4kning."},hidePrices:{title:"D\xF6lja priser f\xF6r varor / tj\xE4nster",description:"Aktivera ifall du vill g\xF6mma priset f\xF6r utvalda varor / tj\xE4nster n\xE4r du skapar dokument.",allowHidePrice:"Aktivera d\xF6ljbara priser",hidePriceOnNewlyAddedArticles:"D\xF6lj priser f\xF6r nytillagda varor / tj\xE4nster",hideDocArticlePriceInput:"D\xF6lj inmatning av pris som standard f\xF6r varor / tj\xE4nster"},documentSenderSign:{title:"Signera dina egna dokument",description:"Best\xE4m f\xF6rvalet ifall du vill vill st\xE5 med som undertecknare p\xE5 dokument du skapar.",label:"Signera som avs\xE4ndare"},autoExpireDoc:{title:"F\xF6rfallna dokument",description:"V\xE4lj vad som ska h\xE4nda med dokument som passerat sin giltighetstid.",label:"N\xE4r ett dokument f\xF6rfaller markera det som nekat",defaultExpireDays:"Standard giltighetstid dagar"},reminders:{off:"Avst\xE4ngd",viewed:"Kund har inte visat dokumentet efter",reminder:"Kund har inte svarat efter",expire:"N\xE4r giltighetstiden \xE4r inom"},validations:{nextProjectNumber:{required:"Skriv in ett nummer f\xF6r n\xE4sta projekt",numeric:"Enbart siffror \xE4r till\xE5tna"},nextOfferNumber:{required:"Skriv in ett nummer f\xF6r n\xE4sta offert",numeric:"Enbart siffror \xE4r till\xE5tna"},nextContractNumber:{required:"Skriv in ett nummer f\xF6r n\xE4sta avtal",numeric:"Enbart siffror \xE4r till\xE5tna"},nextAtaNumber:{required:"Skriv in ett nummer f\xF6r n\xE4sta till\xE4gsavtal",numeric:"Enbart siffror \xE4r till\xE5tna"}}},rootLayout:{labels:{user:"Min anv\xE4ndare",integrations:"Integrationer & API",billing:"Abonnemang",notifications:"Notiser",styling:"Utseende",sms:"SMS-avs\xE4ndare",subdomain:"Subdom\xE4n",emailDomain:"E-postdom\xE4n",websitesSocialMedia:"Sociala medier"}},tab:{default:{selectSetting:"V\xE4lj en inst\xE4llning i listan till v\xE4nster.",inTheSpotlight:"I blickf\xE5nget",configureTheme:"St\xE4ll in tema",theme:{title:"Designa ett dokument",description:"Anv\xE4nd temaskaparen f\xF6r att skapa ett snyggt dokument.",actionText:"Skapa tema ->"}},invoice:{progressTitle:"N\xE4stan redo att skicka fakturor",contactInfo:"Kontaktinformation",contactPerson:"Kontaktperson",accountTitle:"Utbetalningskonto",paymentMethod:"\xD6verf\xF6ringsmetod",fee:"Fakturaavgift",nextInvoiceNumber:"Fakturanummer",dueDays:"F\xF6rfallodagar",reminderFee:"P\xE5minnelseavgift",interestPercentage:"Dr\xF6jsm\xE5lr\xE4nta",reminderActive:"Automatiska p\xE5minnelser",bookkeeping:{title:"Bokf\xF6ring",description1:"St\xE4ll in bokf\xF6ringskonton f\xF6r export",description2:"Om du har andra bokf\xF6ringskonton \xE4n standard kan du \xE4ndra det h\xE4r. \xC4r du os\xE4ker s\xE5 kan du bjuda in din revisor.",button:"St\xE4ll in"}},photos:{title:"Mina foton",calloutTitle:"Visa upp ditt f\xF6retag",calloutDescription:"Inkludera foton av ditt arbete (f\xF6re och efter), team, arbetsplats, eller utrustning."},templates:{terms:{title:"Mina villkor",subTitle:"Anpassa dina allm\xE4nna villkor",description:"Om du har egna villkor som du vill ska g\xE4lla p\xE5 offerter & avtal s\xE5 kan du st\xE4lla in dem h\xE4r.",link:"St\xE4ll in"},editor:{textLabel:"Mallens inneh\xE5ll",name:{label:"Namn p\xE5 mallen",placeholder:"Mallens namn"},placeholderType:{default:"Skriv h\xE4r..."},validations:{name:{required:"Ge mallen ett namn",maxLength:"F\xE5r max vara 256 tecken l\xE5ngt"},textContent:{required:"Skriv vad mallen ska inneh\xE5lla"}}}},term:{form:{nameLabel:"Namn p\xE5 villkor",radio:{button:"Formul\xE4r",tooltip:"Ta bort PDF f\xF6r att byta"},text:{label:"Mallens inneh\xE5ll",placeholder:"Skriv text h\xE4r..."},dialog:{title:"Vill du verkligen avbryta?",message:"Du har inte sparat dina \xE4ndringar f\xF6r villkoret.",cancel:"Stanna kvar",submit:"L\xE4mna sidan"},validations:{name:{required:"Ge mallen ett namn",maxLength:"F\xE5r max vara 256 tecken l\xE5ngt"},textContent:{required:"Skriv vad mallen ska inneh\xE5lla"}}}}},user:{changePasswordMainAccount:"F\xF6r att redigera ditt l\xF6senord v\xE4xla f\xF6rst till ditt huvudkonto",callout:{title:"Exempel och tips",tip1:"Se till att le.",tip2:"Ta fotot i dagsljus. Utan blixt.",tip3:"H\xE5ll kameran i \xF6gonniv\xE5.",tip4:"Ha en enkel bakgrund."},validations:{firstName:{required:"Skriv in ditt f\xF6rnamn s\xE5 att kunder vet vem du \xE4r"},lastName:{required:"Skriv in ditt efternamn s\xE5 att kunder vet vem du \xE4r"},email:{required:"Skriv in din e-postadress",email:"Din e-post ska vara i formatet: namn@exempel.se"}}},social:{placeholderAddress:"Skriv din {{name}}-adress",validWebsite:"Fel format. L\xE4nken kan t.ex. vara http://www.minhemsida.se",validSocialUrl:"Fel format. L\xE4nken kan t.ex. vara http://{{address}}/mittkonto",successMessage:"Dina l\xE4nkar uppdaterades"}},timeline:{modal:{invite:"Bjud in ny medlem",name:"Planera n\xE5got",comment:"L\xE4mna en kommentar eller en uppdatering"}},timeTracks:{title:{clear:"Inga s\xF6kresultat hittades",create:"Skapa din f\xF6rsta tidrapport"},button:{clear:"Rensa s\xF6kning",create:"Skapa tid"}},notificationsPage:{markAll:"Markera alla som l\xE4sta",emptyText:"Du \xE4r up-to-date!"},extension:{missingHost:"Kunde inte hitta kopplad tj\xE4nst",auth:{description:`Du beh\xF6ver koppla ditt {{host,capitalize}}-konto med ditt ${aU}-konto.`,apiKey:{placeholder:"API-nyckel",hint:{upsales:"I Upsales g\xE5 till Inst\xE4llningar - S\xE4kerhet - API-nycklar och skapa en nyckel."},required:"Du m\xE5ste ange en API-nyckel"}},start:{title:"Skapa och skicka ett dokument.",noConnectedDocs:"Inga tillh\xF6rande dokument \xE4r skapade \xE4nnu."},select:{description:"Vilken dokumentmall vill du anv\xE4nda?"},docOverview:{priceRange:"V\xE4rde {{min}} - {{max}}",nrOfPackages:"{{count}} st paketval",documentFields:"Dokumentf\xE4lt",nextButton:"G\xE5 till utskick"},end:{upsales:{title:"Upsales aktivitet",subTitle:"Vill du skapa en aktivitet f\xF6r att f\xF6lja upp dokumentet?",description:"V\xE4lj antal dagar fram\xE5t f\xF6r n\xE4r aktiviten ska skapas."},backButton:"Tillbaka till start"}}},publicDocument:{loading:"Laddar dokument",saveTemplate:{title:"L\xE4gg till den h\xE4r mallen p\xE5 ditt konto."},pdf:{signing:"Signering",signature:"Signatur",locationAndDate:"Ort och datum",printedName:"Namnf\xF6rtydligande",error:{title:"Kunde inte skapa PDF.",description:"Var v\xE4nlig och f\xF6rs\xF6k igen."}},pdfVerification:{verifyAt:"Det h\xE4r dokumentet har verifierats av {{ brandName }}. Dokumentet \xE4r f\xF6rslutet med dess elektroniska signaturer. \xC4ktheten av dokumentet g\xE5r att bevisa matematiskt av en oberoende part och av {{ brandName }}. F\xF6r er bekv\xE4mlighet s\xE5 kan du \xE4ven s\xE4kerst\xE4lla dokumentets \xE4kthet p\xE5: ",waitingForAnswer:"V\xE4ntar p\xE5 svar",recipient:{signedBankId:"Undertecknad med BankID av ",verifiedLogin:"Verifierat med autentiserad inloggning"},signedAttachments:{title:"Signerade bilagor"},inPerson:{signature:"Signatur",locationAndDate:"Ort och datum",printedName:"Namnf\xF6rtydligande"}},events:{sent:"Dokument skickades till {{to}}.",viewedName:"{{name}} har visat dokumentet",viewed:"Har visats",accepted:"Dokumentet undertecknades av {{by}}.",denied:"Dokumentet nekades av {{by}}.",statusChanged:"Dokumentet markerades som {{status}}.",requestChange:"Dokumentet markerades manuellt som {{status}}.",expired:"Dokumentets giltighetstid har passerat."}},verify:{upload:{title:"Verifiera digitalt signerat dokument",description:"Ladda upp ett signerat dokument f\xF6r att kontrollera dokumentets \xE4kthet. Vi kommer inte lagra ditt dokument mer \xE4n vad som \xE4r n\xF6dv\xE4ndigt f\xF6r att bekr\xE4fta verifieringen.",fileDrop:"Sl\xE4pp ett dokument h\xE4r",hint:"Till\xE5tet format \xE4r PDF. Max filstorlek 100mb."},uploading:{text:"Laddar upp fil"},loading:{text:"J\xE4mf\xF6r filens SHA256 hash.<br>Tar ett par sekunder."},success:{title:"Dokumentet \xE4r giltigt",description:"Det uppladdade dokumentet \xE4r autentiskt. Den har inte modifierats.",reset:"Verifiera en till PDF"},failed:{title:"Kunde inte verifiera dokument",description:"Dokumentet kunde inte verifieras. M\xF6jliga orsaker \xE4r att filen \xE4r ogiltig eller att inneh\xE5llet har modifierats.",reset:"F\xF6rs\xF6k med en annan fil"}},notFound:{title:"Sidan kunde inte hittas",subTitle:"Verkar som att l\xE4nken \xE4r trasig eller s\xE5 har sidan tagits bort. Pr\xF6va n\xE5gon av dessa l\xE4nkar ist\xE4llet:",homepage:"Startsida",createAccount:"Skapa konto",chat:"Chatta med oss",chatMessage:"Hej! Jag lyckas inte komma \xE5t en sida. Kan ni hj\xE4lpa mig?"},login:{title:"V\xE4lkommen tillbaka",forgottenLink:"Gl\xF6mt l\xF6senord?",userIdPlaceholder:"Anv\xE4ndarId",missingText:"Har du inget konto?",createLink:"Skapa ett konto"},forgottenPassword:{title:"Gl\xF6mt ditt l\xF6senord?",description:"Skriv in din e-postadress s\xE5 skickar vi en \xE5terst\xE4llningsl\xE4nk till din inkorg.",resetButton:"\xC5terst\xE4ll l\xF6senord",hintText:"Kom du ih\xE5g ditt l\xF6senord?",didRequest:{title:"E-post skickat!",description:"Om det fanns en anv\xE4ndare f\xF6r {{email}} s\xE5 ska du ha f\xE5tt en \xE5terst\xE4llningsl\xE4nk skickad till din e-postinkorg."}},newPassword:{title:"V\xE4lj ett nytt l\xF6senord",placeholder:"Skriv in ett nytt l\xF6senord"},register:{title:"Skapa ett konto och vinn fler aff\xE4rer",hintText:"Har du redan ett konto?",demo:{title:"Registrera demokonto",subTitle:"Skapa nytt demokonto f\xF6r ett lead",button:"Skapa konto",companyPlaceholder:"Ditt f\xF6retagsnamn",emailPlaceholder:"Skriv in din e-post",cellphonePlaceholder:"(Valfritt) Skriv in ett telefonnummer",smsLabel:"Skicka l\xE4nk per sms?",manualLabel:"Manuell onboarding?",employee:{label:"Vem som \xF6ppnar demokontot",placeholder:"V\xE4lj vem som \xF6ppnar demokontot"},greeting:{title:"Skapa vinnande offerter p\xE5 nolltid",subTitle:"Med {{brand,capitalize}} blir det l\xE4tt att h\xE5lla m\xE5nga bollar uppe i luften."}},existing:{title:"G\xE5 med i {{companyName}}",subTitle:"Du har blivit inbjuden att g\xE5 med i deras {{brand,capitalize}}-team.",subTitleByName:"{{invitedByName}} har skickat en inbjudan till dig om att g\xE5 med i deras {{brand,capitalize}}-team.",passwordPlaceholder:"V\xE4lj ett l\xF6senord",terms:{text:"Jag godk\xE4nner de",link:"allm\xE4nna villkoren"}}},unsubscribe:{title:"Avregistrera",description:"Avregistrerar du dig kommer du <strong>inte</strong> kunna ta emot dokument fr\xE5n f\xF6retag som anv\xE4nder {{brand,capitalize}}, eller v\xE5r egna kommunikation.",placeholder:"Skriv in din e-post",button:"Avregistrera f\xF6r e-post",spinnerText:"Avregistrerar",supportLinkTitle:"R\xE5kade du avregistrera dig av misstag?",success:{title:"Du \xE4r nu avregistrerad",description:"Du kommer inte l\xE4ngre f\xE5 e-post fr\xE5n oss. R\xE5kade du avregistrera dig av misstag?",link:"Kontakta support."},error:{title:"N\xE5got gick fel",description1:"Oj! Nu gick n\xE5got v\xE4ldigt fel. Vi kunde tyv\xE4rr inte avregistrera dig f\xF6r utskick, v\xE4nligen",description2:"s\xE5 ser vi till att l\xF6sa det.",contactUs:"kontakta oss",theSupport:"supporten",link1:"Kontakta oss p\xE5",link2:"f\xF6r att f\xE5 hj\xE4lp."},validations:{email:{required:"Skriv in din e-postadress",email:"Din e-post ska vara i formatet: namn@exempel.se"}}}},WPe={_common:Rl,errors:NPe,views:LPe,components:{account:{app:{overlayAppLoader:{subTitle:"Dina v\xE4nner p\xE5 {{brand,capitalize}}",quote1:"Uppr\xE4ttar en s\xE4ker anslutning...",quote2:"Drick mycket kaffe om du kan!",quote3:"Se till att sova ordentligt",quote4:"Riktar om satelliter...",quote5:"Kopplar upp modermodemet...",quote6:"Ha en fantastisk dag!"},overlayNetworkError:{title:"Oops! Ett fel intr\xE4ffade",subTitle:"Pr\xF6va att ladda om sidan eller skriv till oss p\xE5 chatten.",networkError:{title:"Ingen internetuppkoppling",subTitle:"Sidan har pausats tills att du f\xE5r din internetanslutning tillbaka."}}},document:{icon:{tooltip:"Fler val"},calloutDeniedReasons:{title:"Din kund neka men det finns hopp!",description:"Din kund angav f\xF6ljande anledningar till varf\xF6r de valde att neka dokumentet, {{documentName}}:",commentFromClient:"Kommentar fr\xE5n kund",button:"\xC4ndra & skicka igen"},invoice:{quickOptions:"Snabbval",scheduledSend:"Skickas",empty:"Du har inte skapat n\xE5gra dokument \xE4nnu.",actions:{showProject:"G\xE5 till projekt",edit:"Redigera",sendReminder:"Skicka p\xE5minnelse",sendReminderTooltip:"\xC4ndra dokumentets status f\xF6r att kunna skicka igen.",duplicate:"Duplicera",invoice:"Fakturera",invoiceTooltip:"Markera dokumentet som godk\xE4nt f\xF6rst",print:"Skriv ut",upgradeSignature:"Uppgradera till avtal",remove:"Ta bort",removeDialog:{title:"Ta bort dokumentet",message:"\xC4r du s\xE4ker p\xE5 att du vill ta bort dokumentet?",cancel:"Avbryt",submit:"Ta bort dokumentet"}}},receipt:{title:"Verifikat p\xE5 signering",signedAt:"Signerade den {{- time}}",deniedAt:"Nekad den {{- time}}",waitingForSign:"V\xE4ntar p\xE5 signatur",signMethod:"Signeringsmetod",remaining:"{{count}} st signaturer kvarst\xE5r innan dokumentet \xE4r helt signerat.",confirmChangeMessage:"Vill du verkligen byta signeringsmetod f\xF6r {{- name}}?"},statusDropdown:{tooltip:"Du \xE4r ej beh\xF6rig att \xE4ndra status"},confirmSendReminder:{reminderSentAt:"En p\xE5minnelse skickades",titles:{viewed:"Kund har inte visat dokumentet efter",reminder:"Kund har inte svarat efter",expire:"N\xE4r giltighetstiden \xE4r inom",first:"Skicka senare"},error:"V\xE4lj en tid & datum l\xE4ngre fram i tiden."},articleItem:{autoCompletePlaceholder:"T.ex. arbete & material",hidePriceLabel:"D\xF6lj pris f\xF6r kund",priceTypeShort:{approx:"Ca. pris",openAcc:"L\xF6p. pris"},validations:{internalArticleName:{maxLength:"Namnet f\xE5r vara max 255 tecken l\xE5ngt",required:"Ge artikeln ett namn om du anger pris"},internalQuantity:{minValue:"Minsta antal \xE4r 1 st",required:"Ange ett antal f\xF6r raden"}}}},documentForm:{name:{placeholder:"Namn p\xE5 dokumentet",error:"Ge dokumentet ett namn"},addonDocumentCallout:{title:"Till\xE4ggsdokument",description:"Det h\xE4r dokumentet har en koppling till"},misc:{addSample:"Klicka p\xE5 '{{thing}}' f\xF6r att testa exemplet."},menu:{guideButton:"Guide",blocks:{title:"Block",primary:"Prim\xE4ra block",secondary:"Presentation",header:{title:"Header"},parties:{title:"Parter",tooltip:"L\xE4gg till parter & deltagare f\xF6r dokumentet."},titleAndText2:{title:"Text",tooltip:"Skriv text med formatering."},attachments2:{title:"Bilagor",tooltip:"Bifoga tillh\xF6rande filer som bilagor."},pdf:{title:"PDF",tooltip:"B\xE4dda in en PDF till dokumentet."},packageGroup:{title:"Priser & Paket"},multiGroupPricing:{title:"Summering pris"},coverBlock:{title:"Omslag"},videoPlayer:{title:"Video"},embed:{title:"B\xE4dda in"},custom:{title:"Custom"},estimatedTimeCompleted:{title:"Uppskattad tid (avslut)"},estimatedWorkStartAndEndAtText:{title:"Uppskattad tid (start / slut)"},extraWorkConstructionPricingList:{title:"Till\xE4ggsarbete (priser)"},extraWorkTimeImpactText:{title:"Till\xE4ggsarbete (tidsp\xE5verkan)"},notBinding:{title:"Ej bindande / diverse"},presentation:{title:"Presentation"},terms:{title:"Villkor",tooltip:"L\xE4gg till villkor eller best\xE4mmelser."},answer:{title:"Signatur",tooltip:"L\xE4gg till en sektion f\xF6r att samla in svar."}},design:{title:"Design",typography:"Typografi",sections:"Sektioner"},fields:{title:"F\xE4lt"}},contentItems:{header:{redOverlay:{previewDocumentName:'<tspan x="160.008" y="133.227">Offert</strong></tspan>',previewPostText:'<tspan x="174.453" y="228.818">Avsedd f\xF6r Sue Doe&#10;</tspan><tspan x="177.878" y="235.818">Av James Smith</tspan>',documentName:'<p data-typography="title">Offert</p>',postText:"<p><span>Avsedd f\xF6r {{clients.0.name}}</span></p><p><span>Av {{companyUser.fullName}}</span></p>"},greenLeaf:{previewDocumentName:'<tspan x="174" y="132.273">Offert</tspan>',previewPostText:'<tspan x="174" y="216.545">Avsedd f\xF6r Sue Doe&#10;</tspan><tspan x="174" y="226.545">Av James Smith</tspan>',documentName:'<p data-typography="title">Offert</p>',postText:"<p><span>Avsedd f\xF6r {{clients.0.name}}</span></p><p><span>Av {{companyUser.fullName}}</span></p>"},darkGreenSkyscraper:{previewDocumentName:'<tspan x="27" y="80.2727">Offert</tspan>',previewPostText:'<tspan x="27" y="114.682">Avsedd f\xF6r Sue Doe&#10;</tspan><tspan x="27" y="123.682">Av James Smith</tspan>',documentName:'<p data-typography="title">Offert</p>',postText:"<p><span>Avsedd f\xF6r {{clients.0.name}}</span></p><p><span>Av {{companyUser.fullName}}</span></p>"},purpleGossip:{previewDocumentName:'<tspan x="45" y="132.273">Offert</tspan>',previewPostText:'<tspan x="45" y="216.545">Avsedd f\xF6r Sue Doe&#10;</tspan><tspan x="45" y="226.545">Av James Smith</tspan>',documentName:'<p data-typography="title">Offert</p>',postText:"<p><span>Avsedd f\xF6r {{clients.0.name}}</span></p><p><span>Av {{companyUser.fullName}}</span></p>"},mauveComputer:{previewDocumentName:'<tspan x="27" y="176.273">Offert</tspan>',previewPostText:'<tspan x="27" y="210.682">Avsedd f\xF6r Sue Doe&#10;</tspan><tspan x="27" y="219.682">Av James Smith</tspan>',documentName:'<p data-typography="title">Offert</p>',postText:'<p><span style="color: #FFC1E6">Avsedd f\xF6r {{clients.0.name}}</span></p><p><span style="color: #FFC1E6">Av {{companyUser.fullName}}</span></p>'}},coverBlock:{violetTestimonial:{previewTitle:'<tspan x="89" y="163.5"> - Kund namn</tspan>',previewText:'<tspan x="89" y="89.5">Inkludera en rekommendation fr\xE5n en n\xF6jd kund h\xE4r. </tspan><tspan x="89" y="108.5">Det viktiga \xE4r att kunden pratar om det </tspan><tspan x="89" y="127.5">positiva i att jobba med dig.&#10;</tspan>',text:`<blockquote>
@@ -334,7 +334,7 @@ In order to facilitate your application for deduction, {{company.name}} needs yo
334
334
  {{docLink}}/fastighetsbeteckning`},emailTemplate:{subject:"We need your property designation - {{document.data.name}}",title:"Hello{{clientFirstName}}!",content:"In order to facilitate your application for deduction, {{company.name}} needs your property designation. Click on the button to enter your property designation.",text:`Hello{{clientFirstName}}!
335
335
  In order to facilitate your application for deduction, {{company.name}} needs your property designation. Click on the link to enter your property designation.
336
336
 
337
- {{docLink}}/fastighetsbeteckning`,actionUrl:"{{docLink}}/fastighetsbeteckning"}},updateDocumentDialog:{title:"Change status and remove answer",message:"Your clients' answers will be removed.",cancel:"Cancel",submit:"Yes, continue"},editDocumentDialog:{accepted:{title:"Edit an accepted document",message:"The document is accepted and locked for changes. Create a copy to make changes.",submit:"Create copy"},hasAnswers:{title:"Edit document with signatures",message:"The document is locked for changes. Existing signatures will be removed.",submit:"Yes, continue"}}},resources:{brand:{cling:{termsOfService:{version:"cling_serviceavtal_sv_1.8",url:"https://api.cling.se/legal/terms"},privacyPolicy:{version:"cling_integritetspolicy_sv_1.8",url:"https://api.cling.se/legal/privacy"},apiDoc:"https://documenter.getpostman.com/view/1358621/Tzm3nxVw"},docspo:{termsOfService:{version:"docspo_terms_en_1.2",url:"https://api.docspo.com/legal/terms"},privacyPolicy:{version:"docspo_privacy_en_1.2",url:"https://api.docspo.com/legal/privacy"},apiDoc:"https://developer.docspo.com"}}},router:{settings:{company:"Company",user:"My Profile",document:"Document",members:"Members",membersForm:"Member",notifications:"Notifications",integrations:"Integrations",billing:"Billing",language:"Language",sms:"SMS sender name",emailDomain:"E-mail domain",subdomain:"Subdomain",websitesSocialMedia:"Social profiles",certificates:"Certificates",theme:"Theme",companyPresentation:"Presentation",tabPhotos:"Settings - Photos",photosVideos:"My Photos",invoice:{documentTitle:"Settings - Bookkeeping",contact:"Invoice - Contact",invoice:"Invoice - Settings",reminders:"Invoice - Reminders",paymentAcc:"Invoice - Payment account",bookkeeping:"Bookkeeping"},templates:"Settings - Templates",templateEditor:"Snippets",termForm:"Edit - Terms",termList:"My Terms"}},iso:{language:{sv:"Swedish",en:"English",fi:"Finish",de:"German",fr:"French",es:"Spanish",nl:"Dutch"}}},UPe=(t,e)=>{const r=t[e];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((n,a)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(a.bind(null,new Error("Unknown variable dynamic import: "+e)))})};var zPe={lessThanXSeconds:{one:"mindre \xE4n en sekund",other:"mindre \xE4n {{count}} sekunder"},xSeconds:{one:"en sekund",other:"{{count}} sekunder"},halfAMinute:"en halv minut",lessThanXMinutes:{one:"mindre \xE4n en minut",other:"mindre \xE4n {{count}} minuter"},xMinutes:{one:"en minut",other:"{{count}} minuter"},aboutXHours:{one:"ungef\xE4r en timme",other:"ungef\xE4r {{count}} timmar"},xHours:{one:"en timme",other:"{{count}} timmar"},xDays:{one:"en dag",other:"{{count}} dagar"},aboutXWeeks:{one:"ungef\xE4r en vecka",other:"ungef\xE4r {{count}} vecka"},xWeeks:{one:"en vecka",other:"{{count}} vecka"},aboutXMonths:{one:"ungef\xE4r en m\xE5nad",other:"ungef\xE4r {{count}} m\xE5nader"},xMonths:{one:"en m\xE5nad",other:"{{count}} m\xE5nader"},aboutXYears:{one:"ungef\xE4r ett \xE5r",other:"ungef\xE4r {{count}} \xE5r"},xYears:{one:"ett \xE5r",other:"{{count}} \xE5r"},overXYears:{one:"\xF6ver ett \xE5r",other:"\xF6ver {{count}} \xE5r"},almostXYears:{one:"n\xE4stan ett \xE5r",other:"n\xE4stan {{count}} \xE5r"}},BPe=["noll","en","tv\xE5","tre","fyra","fem","sex","sju","\xE5tta","nio","tio","elva","tolv"],HPe=function(e,r,n){var a,i=zPe[e];return typeof i=="string"?a=i:r===1?a=i.one:n&&n.onlyNumeric?a=i.other.replace("{{count}}",String(r)):a=i.other.replace("{{count}}",r<13?BPe[r]:String(r)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"om "+a:a+" sedan":a};const qPe=HPe;var YPe={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"y-MM-dd"},GPe={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},KPe={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},XPe={date:Cs({formats:YPe,defaultWidth:"full"}),time:Cs({formats:GPe,defaultWidth:"full"}),dateTime:Cs({formats:KPe,defaultWidth:"full"})};const JPe=XPe;var QPe={lastWeek:"'i' EEEE's kl.' p",yesterday:"'ig\xE5r kl.' p",today:"'idag kl.' p",tomorrow:"'imorgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},ZPe=function(e,r,n,a){return QPe[e]};const eke=ZPe;var tke={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["f\xF6re Kristus","efter Kristus"]},rke={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1:a kvartalet","2:a kvartalet","3:e kvartalet","4:e kvartalet"]},nke={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]},ake={narrow:["S","M","T","O","T","F","L"],short:["s\xF6","m\xE5","ti","on","to","fr","l\xF6"],abbreviated:["s\xF6n","m\xE5n","tis","ons","tors","fre","l\xF6r"],wide:["s\xF6ndag","m\xE5ndag","tisdag","onsdag","torsdag","fredag","l\xF6rdag"]},ike={narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"morg.",afternoon:"efterm.",evening:"kv\xE4ll",night:"natt"},abbreviated:{am:"f.m.",pm:"e.m.",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"efterm.",evening:"kv\xE4ll",night:"natt"},wide:{am:"f\xF6rmiddag",pm:"eftermiddag",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"eftermiddag",evening:"kv\xE4ll",night:"natt"}},oke={narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"p\xE5 morg.",afternoon:"p\xE5 efterm.",evening:"p\xE5 kv\xE4llen",night:"p\xE5 natten"},abbreviated:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"p\xE5 morg.",afternoon:"p\xE5 efterm.",evening:"p\xE5 kv\xE4llen",night:"p\xE5 natten"},wide:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"p\xE5 morgonen",afternoon:"p\xE5 eftermiddagen",evening:"p\xE5 kv\xE4llen",night:"p\xE5 natten"}},ske=function(e,r){var n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:case 2:return n+":a"}return n+":e"},uke={ordinalNumber:ske,era:Mn({values:tke,defaultWidth:"wide"}),quarter:Mn({values:rke,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Mn({values:nke,defaultWidth:"wide"}),day:Mn({values:ake,defaultWidth:"wide"}),dayPeriod:Mn({values:ike,defaultWidth:"wide",formattingValues:oke,defaultFormattingWidth:"wide"})};const lke=uke;var dke=/^(\d+)(:a|:e)?/i,cke=/\d+/i,fke={narrow:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,abbreviated:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,wide:/^(före Kristus|före vår tid|efter Kristus|vår tid)/i},mke={any:[/^f/i,/^[ev]/i]},pke={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](:a|:e)? kvartalet/i},hke={any:[/1/i,/2/i,/3/i,/4/i]},vke={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\.?/i,wide:/^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i},gke={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},yke={narrow:/^[smtofl]/i,short:/^(sö|må|ti|on|to|fr|lö)/i,abbreviated:/^(sön|mån|tis|ons|tors|fre|lör)/i,wide:/^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i},_ke={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},bke={any:/^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i},wke={any:{am:/^f/i,pm:/^e/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/eftermiddag/i,evening:/kväll/i,night:/natt/i}},xke={ordinalNumber:N4({matchPattern:dke,parsePattern:cke,valueCallback:function(e){return parseInt(e,10)}}),era:Sn({matchPatterns:fke,defaultMatchWidth:"wide",parsePatterns:mke,defaultParseWidth:"any"}),quarter:Sn({matchPatterns:pke,defaultMatchWidth:"wide",parsePatterns:hke,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Sn({matchPatterns:vke,defaultMatchWidth:"wide",parsePatterns:gke,defaultParseWidth:"any"}),day:Sn({matchPatterns:yke,defaultMatchWidth:"wide",parsePatterns:_ke,defaultParseWidth:"any"}),dayPeriod:Sn({matchPatterns:bke,defaultMatchWidth:"any",parsePatterns:wke,defaultParseWidth:"any"})},Pke={code:"sv",formatDistance:qPe,formatLong:JPe,formatRelative:eke,localize:lke,match:xke,options:{weekStartsOn:1,firstWeekContainsDate:4}};const kke=Pke,oU=["af","ar-DZ","ar-MA","ar-SA","az","be","bg","bn","ca","cs","cy","da","de","el","en-AU","en-CA","en-GB","en-US","eo","es","et","eu","fa-IR","fi","fr","fr-CA","gl","gu","he","hi","hr","hu","hy","id","is","it","ja","ka","kk","kn","ko","lt","lv","mk","ms","mt","nb","nl","nn","pl","pt","pt-BR","ro","ru","sk","sl","sr","sr-Latn","sv","ta","te","th","tr","ug","uk","uz","vi","zh-CN","zh-TW"];class sU{constructor(){this.observers={}}on(e,r){return e.split(" ").forEach(n=>{this.observers[n]=this.observers[n]||[],this.observers[n].push(r)}),this}off(e,r){if(!!this.observers[e]){if(!r){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(n=>n!==r)}}emit(e,...r){this.observers[e]&&[].concat(this.observers[e]).forEach(a=>{a(...r)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(a=>{a.apply(a,[e,...r])})}}const Tke=(t="")=>{if(typeof t!="string")return null;const[e]=t.split("-");return oU.includes(e)?e:null},Eke=()=>navigator&&navigator.languages&&Array.isArray(navigator.languages)&&navigator.languages[0]?navigator.languages[0]:navigator&&navigator.language?navigator.language:null,uU={lookup(t){let e=null;const r=Le.getItem(t);return r&&(e=r),e},cacheUserLocale(t,e){Le.setItem(t,e)}};class Mke{constructor(e={}){this.options={localStorageKey:"locale",...e}}detect(){const e=uU.lookup(this.options.localStorageKey)||Eke();return e&&typeof e=="string"?e:null}cacheUserLanguage(e){uU.cacheUserLocale(this.options.localStorageKey,e)}}const im={sv:kke,"en-US":V1};async function Ske(t){try{return UPe(Object.assign({"../../../node_modules/date-fns/locale/af/index.js":()=>Promise.resolve().then(()=>Wtt),"../../../node_modules/date-fns/locale/ar-DZ/index.js":()=>Promise.resolve().then(()=>jtt),"../../../node_modules/date-fns/locale/ar-EG/index.js":()=>Promise.resolve().then(()=>Utt),"../../../node_modules/date-fns/locale/ar-MA/index.js":()=>Promise.resolve().then(()=>Btt),"../../../node_modules/date-fns/locale/ar-SA/index.js":()=>Promise.resolve().then(()=>qtt),"../../../node_modules/date-fns/locale/ar-TN/index.js":()=>Promise.resolve().then(()=>Gtt),"../../../node_modules/date-fns/locale/ar/index.js":()=>Promise.resolve().then(()=>Xtt),"../../../node_modules/date-fns/locale/az/index.js":()=>Promise.resolve().then(()=>Qtt),"../../../node_modules/date-fns/locale/be-tarask/index.js":()=>Promise.resolve().then(()=>Rut),"../../../node_modules/date-fns/locale/be/index.js":()=>Promise.resolve().then(()=>Nut),"../../../node_modules/date-fns/locale/bg/index.js":()=>Promise.resolve().then(()=>Wut),"../../../node_modules/date-fns/locale/bn/index.js":()=>Promise.resolve().then(()=>Qut),"../../../node_modules/date-fns/locale/bs/index.js":()=>Promise.resolve().then(()=>elt),"../../../node_modules/date-fns/locale/ca/index.js":()=>Promise.resolve().then(()=>rlt),"../../../node_modules/date-fns/locale/cs/index.js":()=>Promise.resolve().then(()=>alt),"../../../node_modules/date-fns/locale/cy/index.js":()=>Promise.resolve().then(()=>olt),"../../../node_modules/date-fns/locale/da/index.js":()=>Promise.resolve().then(()=>ult),"../../../node_modules/date-fns/locale/de-AT/index.js":()=>Promise.resolve().then(()=>dlt),"../../../node_modules/date-fns/locale/de/index.js":()=>Promise.resolve().then(()=>flt),"../../../node_modules/date-fns/locale/el/index.js":()=>Promise.resolve().then(()=>plt),"../../../node_modules/date-fns/locale/en-AU/index.js":()=>Promise.resolve().then(()=>vlt),"../../../node_modules/date-fns/locale/en-CA/index.js":()=>Promise.resolve().then(()=>ylt),"../../../node_modules/date-fns/locale/en-GB/index.js":()=>Promise.resolve().then(()=>blt),"../../../node_modules/date-fns/locale/en-IE/index.js":()=>Promise.resolve().then(()=>xlt),"../../../node_modules/date-fns/locale/en-IN/index.js":()=>Promise.resolve().then(()=>klt),"../../../node_modules/date-fns/locale/en-NZ/index.js":()=>Promise.resolve().then(()=>Elt),"../../../node_modules/date-fns/locale/en-US/index.js":()=>Promise.resolve().then(()=>wrt),"../../../node_modules/date-fns/locale/en-ZA/index.js":()=>Promise.resolve().then(()=>Slt),"../../../node_modules/date-fns/locale/eo/index.js":()=>Promise.resolve().then(()=>Clt),"../../../node_modules/date-fns/locale/es/index.js":()=>Promise.resolve().then(()=>$lt),"../../../node_modules/date-fns/locale/et/index.js":()=>Promise.resolve().then(()=>Rlt),"../../../node_modules/date-fns/locale/eu/index.js":()=>Promise.resolve().then(()=>Nlt),"../../../node_modules/date-fns/locale/fa-IR/index.js":()=>Promise.resolve().then(()=>Wlt),"../../../node_modules/date-fns/locale/fi/index.js":()=>Promise.resolve().then(()=>jlt),"../../../node_modules/date-fns/locale/fr-CA/index.js":()=>Promise.resolve().then(()=>Ult),"../../../node_modules/date-fns/locale/fr-CH/index.js":()=>Promise.resolve().then(()=>Blt),"../../../node_modules/date-fns/locale/fr/index.js":()=>Promise.resolve().then(()=>qlt),"../../../node_modules/date-fns/locale/fy/index.js":()=>Promise.resolve().then(()=>Glt),"../../../node_modules/date-fns/locale/gd/index.js":()=>Promise.resolve().then(()=>Xlt),"../../../node_modules/date-fns/locale/gl/index.js":()=>Promise.resolve().then(()=>Qlt),"../../../node_modules/date-fns/locale/gu/index.js":()=>Promise.resolve().then(()=>edt),"../../../node_modules/date-fns/locale/he/index.js":()=>Promise.resolve().then(()=>rdt),"../../../node_modules/date-fns/locale/hi/index.js":()=>Promise.resolve().then(()=>hdt),"../../../node_modules/date-fns/locale/hr/index.js":()=>Promise.resolve().then(()=>gdt),"../../../node_modules/date-fns/locale/ht/index.js":()=>Promise.resolve().then(()=>_dt),"../../../node_modules/date-fns/locale/hu/index.js":()=>Promise.resolve().then(()=>wdt),"../../../node_modules/date-fns/locale/hy/index.js":()=>Promise.resolve().then(()=>Pdt),"../../../node_modules/date-fns/locale/id/index.js":()=>Promise.resolve().then(()=>Tdt),"../../../node_modules/date-fns/locale/is/index.js":()=>Promise.resolve().then(()=>Mdt),"../../../node_modules/date-fns/locale/it-CH/index.js":()=>Promise.resolve().then(()=>Odt),"../../../node_modules/date-fns/locale/it/index.js":()=>Promise.resolve().then(()=>Ddt),"../../../node_modules/date-fns/locale/ja-Hira/index.js":()=>Promise.resolve().then(()=>Adt),"../../../node_modules/date-fns/locale/ja/index.js":()=>Promise.resolve().then(()=>Idt),"../../../node_modules/date-fns/locale/ka/index.js":()=>Promise.resolve().then(()=>Ldt),"../../../node_modules/date-fns/locale/kk/index.js":()=>Promise.resolve().then(()=>Fdt),"../../../node_modules/date-fns/locale/km/index.js":()=>Promise.resolve().then(()=>Vdt),"../../../node_modules/date-fns/locale/kn/index.js":()=>Promise.resolve().then(()=>zdt),"../../../node_modules/date-fns/locale/ko/index.js":()=>Promise.resolve().then(()=>Hdt),"../../../node_modules/date-fns/locale/lb/index.js":()=>Promise.resolve().then(()=>Ydt),"../../../node_modules/date-fns/locale/lt/index.js":()=>Promise.resolve().then(()=>Kdt),"../../../node_modules/date-fns/locale/lv/index.js":()=>Promise.resolve().then(()=>Jdt),"../../../node_modules/date-fns/locale/mk/index.js":()=>Promise.resolve().then(()=>Zdt),"../../../node_modules/date-fns/locale/mn/index.js":()=>Promise.resolve().then(()=>tct),"../../../node_modules/date-fns/locale/ms/index.js":()=>Promise.resolve().then(()=>nct),"../../../node_modules/date-fns/locale/mt/index.js":()=>Promise.resolve().then(()=>ict),"../../../node_modules/date-fns/locale/nb/index.js":()=>Promise.resolve().then(()=>sct),"../../../node_modules/date-fns/locale/nl-BE/index.js":()=>Promise.resolve().then(()=>lct),"../../../node_modules/date-fns/locale/nl/index.js":()=>Promise.resolve().then(()=>cct),"../../../node_modules/date-fns/locale/nn/index.js":()=>Promise.resolve().then(()=>mct),"../../../node_modules/date-fns/locale/oc/index.js":()=>Promise.resolve().then(()=>hct),"../../../node_modules/date-fns/locale/pl/index.js":()=>Promise.resolve().then(()=>gct),"../../../node_modules/date-fns/locale/pt-BR/index.js":()=>Promise.resolve().then(()=>_ct),"../../../node_modules/date-fns/locale/pt/index.js":()=>Promise.resolve().then(()=>wct),"../../../node_modules/date-fns/locale/ro/index.js":()=>Promise.resolve().then(()=>Pct),"../../../node_modules/date-fns/locale/ru/index.js":()=>Promise.resolve().then(()=>Tct),"../../../node_modules/date-fns/locale/sk/index.js":()=>Promise.resolve().then(()=>Mct),"../../../node_modules/date-fns/locale/sl/index.js":()=>Promise.resolve().then(()=>Oct),"../../../node_modules/date-fns/locale/sq/index.js":()=>Promise.resolve().then(()=>Dct),"../../../node_modules/date-fns/locale/sr-Latn/index.js":()=>Promise.resolve().then(()=>Act),"../../../node_modules/date-fns/locale/sr/index.js":()=>Promise.resolve().then(()=>Ict),"../../../node_modules/date-fns/locale/sv/index.js":()=>Promise.resolve().then(()=>Lct),"../../../node_modules/date-fns/locale/ta/index.js":()=>Promise.resolve().then(()=>Fct),"../../../node_modules/date-fns/locale/te/index.js":()=>Promise.resolve().then(()=>Vct),"../../../node_modules/date-fns/locale/th/index.js":()=>Promise.resolve().then(()=>zct),"../../../node_modules/date-fns/locale/tr/index.js":()=>Promise.resolve().then(()=>Hct),"../../../node_modules/date-fns/locale/ug/index.js":()=>Promise.resolve().then(()=>Yct),"../../../node_modules/date-fns/locale/uk/index.js":()=>Promise.resolve().then(()=>Kct),"../../../node_modules/date-fns/locale/uz-Cyrl/index.js":()=>Promise.resolve().then(()=>Jct),"../../../node_modules/date-fns/locale/uz/index.js":()=>Promise.resolve().then(()=>Zct),"../../../node_modules/date-fns/locale/vi/index.js":()=>Promise.resolve().then(()=>tft),"../../../node_modules/date-fns/locale/zh-CN/index.js":()=>Promise.resolve().then(()=>nft),"../../../node_modules/date-fns/locale/zh-HK/index.js":()=>Promise.resolve().then(()=>ift),"../../../node_modules/date-fns/locale/zh-TW/index.js":()=>Promise.resolve().then(()=>sft)}),`../../../node_modules/date-fns/locale/${t}/index.js`).then(e=>(e&&(im[t]=e),null))}catch(e){return e}}const Oke=(t,e="P",r)=>t?Rxe(new Date(t),e,{locale:im[r]}):"",Cke=(t,e,r)=>t?jxe(new Date(t),{...e,locale:im[r]}):"",Dke=typeof window<"u"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;class $ke extends sU{constructor(e={}){super(),Dke&&sU.call(this),this.options={fallbackLocale:"en-US",...e}}init(e={},r){this.options={...this.options,...e},this.localeLookup=new Mke(this.options);const n=()=>{this.changeLocale(this.options.locale,{cache:!1},a=>{this.isInitialized=!0,this.emit("initialized",this.options),r&&r(a)})};this.options.initImmediate?setTimeout(n,0):n()}changeLocale(e,r={cache:!0},n){this.isLocaleChangingTo=e,this.emit("localeChanging",e);const a=s=>{let u=s;oU.includes(u)||(u=Tke(u)||this.options.fallbackLocale),im[u]?this.dateFnsLocale=u:(this.dateFnsLocale=this.options.fallbackLocale,Ske(u).then(l=>{l||(this.dateFnsLocale=u,this.emit("localeChanged",u))}))},i=s=>{const u=typeof s=="string"?s:this.options.fallbackLocale;this.locale=u,a(u),this.emit("localeChanged",u),r.cache&&this.localeLookup.cacheUserLanguage(u)};let o=e;o||(o=this.localeLookup.detect()),i(o),n&&n(o)}formatDate(e,r="P",n=this.locale){return Oke(e,r,n)}formatDistanceToNow(e,r,n=this.locale){return Cke(e,r,n)}}const G1=new $ke;ie.use(Al);const lU=nU,dU={type:"postProcessor",name:"withCount",process:(t,e,r,n)=>{const{count:a}=r||{};return typeof a=="number"?`${a} ${t}`:t}},cU={type:"postProcessor",name:"capitalize",process:t=>typeof t!="string"?t:t.charAt(0).toUpperCase()+t.slice(1)},fU=t=>({debug:!1,whitelist:m1e,resources:{sv:WPe,en:VPe},fallbackLng:"en",saveMissing:!0,missingKeyHandler(e,r,n,a){yt.info(`i18next: Missing translation lng '${e}', ns '${r}', 'key: '${n}'`)},returnedObjectHandler(e,r,n){return n&&n.ns==="_common"?r:t.t(e,{ns:"_common"})||r},interpolation:{format(e,r,n){if(r==="uppercase")return e.toUpperCase();if(r==="lowercaseSpace")return e&&` ${e}`.toLowerCase();if(r==="inlineSpace")return e&&` ${e}`;if(r==="capitalize")return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1);if(r.startsWith("deepNested")){const a=r.substring(11),i=a?`${a}.${e}`:e;return t.exists(i,{lng:n})?t.t(i,{lng:n}):e}return e}}}),K1=Q4.createInstance();K1.use(lU).use(cU).use(dU).init({...fU(K1),namespaces:["_common","views","components","errors","actions","resources","router","iso"],defaultNS:"_common",fallbackNS:"_common"}),G1.init({fallbackLocale:"en-US"});const Ake=G1,ce=new Al(K1,G1);function Rke(t){return Number(t)===t&&t%1!==0}function Ze(t){if(t===void 0)return"undefined";if(t===null)return"null";if(Array.isArray(t))return"array";if(typeof t=="object"&&!(t instanceof Date))return"object";if(Number.isNaN(t))return"nan";if(t===1/0)return"infinity";if(Number.isInteger(t)||Rke(t))return"number";if(typeof t=="string")return"string";if(typeof t=="boolean")return"boolean";if(typeof t=="function")return"function";if(t instanceof Date&&Sl(t))return"date"}function Ike(t,e){if(!["array","object"].includes(Ze(t)))throw Error("Arg.0 must be an array or object");if(typeof e!="string")throw Error("Arg.1, path must be a string");let r=e.replace(/\[(.*)\]/gi,(a,i)=>`.${i}`).split(".");return r[0]===""&&(r=r.splice(1)),r.reduce((a,i)=>a&&(typeof a[i]!="object",a[i]),t)}const Nke=(t={},e={})=>{if(typeof t!="object")throw Error("Query must be an object!");if(typeof e!="object")throw Error("Options must be an object!");const r={prefix:"_",convertFilter:!0,...e};let n="?";function a(i){let o="";function s(u){let l="";return Object.keys(u).forEach((d,c)=>{["or","and"].includes(d)?s(u[d])&&(l+=`${d}(${s(u[d])})`):Object.keys(u[d]).forEach((m,f)=>{let p="";u[d][m]===!0?p=`${d}=${m}`:u[d][m]===!1?p=`${d}!=${m}`:u[d][m]==="contains"&&(p=`${d}*=${m}`),p&&(!["(",","].includes(l[l.length-1])&&l.length&&(l=`${l},`),l+=p)})}),l}return o=`_where=and(${s(i)})`,o}return Object.keys(t).forEach((i,o)=>{if(typeof t[i]>"u")return;const s=r.prefix?r.prefix:"";let u=t[i];typeof u=="string"&&(u=encodeURIComponent(u));let l=`${s}${i}=${u}`;i==="filter"&&r.convertFilter&&(l=a(u)),n=`${n}${o?"&":""}${l}`}),n.length>1?n:""};function As(t,e=!1){if(typeof t!="object"||Array.isArray(t))throw Error("Arg.0 must be an object");return{...t,_uniqueId:t._uniqueId&&!e?t._uniqueId:rn.exports()}}function X1(t){if(!(typeof t!="object"||t===null))for(const e of Object.keys(t)){const r=t[e];if(!(!r||typeof r!="object")){if(!Array.isArray(r)){X1(r);continue}for(let n=0;n<r.length;n++)typeof r[n]!="object"||Array.isArray(r[n])||(r[n]=As(r[n]));X1(r)}}}function J1(t){if(!!t)for(const e of Object.keys(t)){const r=t[e];if(e==="_uniqueId"){delete t[e];continue}if(!(!r||typeof r!="object")){if(!Array.isArray(r)){J1(r);continue}for(let n=0;n<r.length;n++)typeof r[n]!="object"||Array.isArray(r[n])||J1(r)}}}function Lke(t,e){function r(n){n&&typeof n=="object"&&e.forEach(a=>{delete n[a]})}return f1e(t,r)}function Wke(t){return Math.abs(t)%1===.5}function Fke(t){return t%2===0}function mU(t){const e=Math.round(t);return Wke(t)?Fke(e)?e:e-1:e}function Q1(t){if(!(!t||typeof t!="object"))for(const e of Object.keys(t)){const r=t[e];if(r&&typeof r=="number")t[e]=mU(r);else if(Array.isArray(r))for(let n=0;n<r.length;n++)Q1(t[e][n]);else Q1(t[e])}}function jke({price:t,discountType:e,discount:r,quantity:n=1}){if(typeof t>"u")throw Error("Missing param price");if(typeof e>"u")throw Error("Missing param discountType");if(typeof r>"u")throw Error("Missing param discount");if(typeof n>"u")throw Error("Missing param quantity");if(!n)return 0;let a=t*n;return e==="fixed"&&r?a-=r:e==="percentage"&&!!r&&(a*=(100-r/100)/100),mU(a)}function qi(t){if(typeof t!="object"&&!Array.isArray(t))throw Error("Missing valid parameter articles");let e=Array.isArray(t)?t:[t];return e=e.map(r=>{const{price:n,quantity:a,discountType:i,discount:o}=r;return{...r,totalAmount:jke({price:n,quantity:a,discountType:i,discount:o})}}),Array.isArray(t)?e:e[0]}function Vke(t){if(typeof t!="object"||Array.isArray(t))throw Error("Arg.0 must be an object");let e={ArticleId:null,article_no:null,id:null,vat:null,isDeductable:!1,isRut:!1,greenRot15:!1,greenRot50:!1,name:"",description:"",type:"service",price:0,currency:"SEK",priceType:"fixed",quantity:1,showPrice:!0,unitType:"unit",position:null,discountType:"fixed",discount:null,houseWorkType:void 0,houseWorkDeductionAmount:null,houseWorkHoursToReport:null,houseWorkMaterialCostToReport:null,bookkeepingPurchaseAccount:null,bookkeepingSalesAccount:null,bookkeepingSalesEUAccount:null,bookkeepingSalesEUVatAccount:null,bookkeepingSalesNonEUAccount:null,invoicesModuleArticleId:null,invoicesDocumentArticleId:null,invoicedAmount:0,totalAmount:0,packageId:null,...t};return e=As(e),e=qi(e),e}const Z1=t=>["isDeductable","isRut","greenRot15","greenRot50"].some(e=>!!t[e]),pU=t=>{const{isDeductable:e,isRut:r,greenRot15:n,greenRot50:a}=t||{};return e?"rot":r?"rut":n?"greenRot15":a?"greenRot50":null};function Uke(t,e){let r=Ze(t),n=Ze(e),a=t,i=e;if(a===null)return-1;if(i===null)return 1;if(r!==n||!["string","date","number"].includes(r))return 0;if(r!=="date"){if(!Number.isNaN(parseInt(a,10))&&!Number.isNaN(parseInt(i,10))&&/^(?:\d|\.)*$/i.test(a)&&/^(?:\d|\.)*$/i.test(i)&&(a=parseInt(a,10),i=parseInt(i,10),r="number",n="number"),r==="number")return a<i?-1:a>i?1:0;if(!Sl(Ol(a))||!Sl(Ol(i)))return a.localeCompare(i);a=Ol(a),i=Ol(i)}return j4(a,i)?1:j4(i,a)?-1:0}function ua(t,e=[]){return!e||Ze(e)==="array"&&!e.length?t:Object.keys(t).filter(n=>e.includes(n)).reduce((n,a)=>({...n,[a]:t[a]}),{})}function Ba(t,e=[]){return!e||Ze(e)==="array"&&!e.length?t:Object.keys(t).filter(n=>!e.includes(n)).reduce((n,a)=>({...n,[a]:t[a]}),{})}function zke(t={}){const{manageCompany:e,manageProjects:r,manageOwnProjects:n,showPrices:a,manageAtas:i,manageOwnAtas:o,attestTimeTracks:s,manageUsers:u,readInvoices:l,readOwnInvoices:d,modifyInvoices:c,modifyOwnInvoices:m,deleteInvoices:f,deleteOwnInvoices:p,attestInvoices:h,attestOwnInvoices:v,exportInvoices:y,modifyBookkeepingSettings:b}=t;return e&&r&&n&&a&&i&&o&&s&&u&&l&&d&&c&&m&&f&&p&&h&&v&&y&&b?"admin":n&&a&&i&&o&&s?"projectleader":l&&d&&c&&m&&y&&b?"accountant":"member"}function Bke(t){return Math.floor(t)!==t&&t.toString().split(".")[1].length||0}function Hke(t,{currency:e,locale:r,decimals:n=0,suffix:a=!0,showZero:i=!1,withVat:o=null,hideZeroDecimals:s=!1}={}){if(typeof e>"u"||!e)throw new Error("Missing param currency");let u=t;if(typeof u>"u"&&(u=0),!u&&!i)return"";u=Number(u)||0,u=Math.round(u);let l=s1e({amount:u,currency:e});r&&(l=l.setLocale(r)),o&&(l=l.multiply(100+o).divide(100));let d=a?"$0,0":"0,0",c=n;return s&&(c=Bke(l.getAmount()/100)),n&&c&&(d=`${d}.${"0".repeat(c)}`),l.toFormat(d)}function qke(t,e){const{locale:r}=ce;return Hke(t,{...e,...!e.locale&&{locale:r}})}function Yke(){const t=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))}function om(t){return{deviceType:Yke()?"mobile":"desktop",deviceMode:["app","extension"].includes(t)?t:null}}function Gke(t,e,r){const n=t.slice();return n.splice(typeof r=="number"?r:t.length,0,e),n}function Kke(t,e){const r=t.slice();return r.splice(e,1),r}function Xke(t,e,r){return t.map((n,a)=>a!==r?n:{...n,...e})}const Jke=t=>({add:(e,r)=>Gke(t,e,r),remove:e=>Kke(t,e),set:(e,r)=>Xke(t,e,r)}),Qke=async(t,{defaultRegion:e}={})=>{if(!t)return null;const{data:r}=await L1.post(`${ge.api.baseUrl}/public/validate/phone`,{phone:t,defaultRegion:e});return r};function Yi(t){return Array.from(new Set(t))}const hU=(t,e="")=>{const r={};return Object.keys(t).forEach(n=>{const a=t[n],i=e?`${e}.${n}`:n;typeof a=="object"&&!Array.isArray(a)?Object.assign(r,hU(a,i)):r[i]=a}),r},Zke=t=>{const e=Object.keys(t);let r="";return e.forEach(n=>{const a=typeof t[n]=="object",i=a&&t[n].length>=0;a||(r+=`${n}=${t[n]}&`),a&&i&&t[n].forEach(o=>{r+=`${n}=${o}&`})}),r&&r.slice(0,-1)},vU=t=>{sm.push(t)},gU=t=>{sm.map(e=>e(t))};let Rs=!1,sm=[];const eTe=(t,{renewToken:e})=>{t.interceptors.request.use(r=>{const n=r;if(n.url.includes("/auth")||n.url.startsWith("/public/"))return n;const a=n.headers["X-TOKEN"];if(!a)return n;const i=Le.getItem("tokenExpires");if(a&&i){const o=new Date,s=new Date(i);if(o>s)return Rs||(Rs=!0,e().then(l=>{Rs=!1,gU(l),sm=[]})),new Promise(l=>{vU(d=>{n.headers["X-TOKEN"]=d,l(n)})})}return n},r=>Promise.reject(r))},tTe=(t,{renewToken:e})=>{t.interceptors.response.use(r=>r,r=>{if(!r||!r.response)return Promise.reject(r);const{config:n,response:a}=r,{status:i,data:o}=a,{errorCode:s}=o,u=n;if(u.url.startsWith("/public/"))return Promise.reject(r);if(i===401&&s===8001)return Rs||(Rs=!0,e().then(d=>{Rs=!1,gU(d),sm=[]})),new Promise(d=>{vU(c=>{u.headers["X-TOKEN"]=c,d(L1(u))})});if(i===401&&typeof s>"u"){if(u.url.includes("auth/companyUser")&&!u.headers["X-TOKEN"])return Promise.reject(r);if(u.url.includes("auth/actionlink")&&!u.headers["X-TOKEN"])return Promise.reject(r);console.error("User should be logged out!!"),Le.removeItem("token"),Le.removeItem("tokenExpires"),Le.removeItem("refreshToken"),window.location.reload()}return Promise.reject(r)})},yU=t=>(X1(t.data),t),rTe=t=>{t.interceptors.response.use(yU,e=>{const{response:r,config:n}=e;if(!r)throw new Vwe(e);if(Object.prototype.hasOwnProperty.call(n,"errorHandle")&&n.errorHandle===!1)return Promise.reject(e);const{status:a}=r;switch(a){case 404:throw new Wwe(e);case 401:throw new Fwe(e);case 412:throw new jwe(e);default:throw new zi(e)}})},nTe=t=>{t.interceptors.response.use(e=>{var r,n;if(((n=(r=e.config)==null?void 0:r.url)==null?void 0:n.includes("document"))&&e.config.method==="post"){const a=JSON.parse(e.config.data);a.__tempId&&(e.data.__tempId=a.__tempId)}return e},e=>Promise.reject(e))},aTe=t=>{t.interceptors.request.use(e=>{if(["post","put"].includes(e.method)&&e.data&&!(e.data instanceof FormData)){const r=Vi(e.data);J1(r),e.data=r}return e},e=>Promise.reject(e))},iTe=({baseUrl:t,withCredentials:e,cache:r})=>{const n=L1.create({baseURL:t,timeout:2e4,adapter:r,withCredentials:e,paramsSerializer:c=>Zke(c)});n.defaults.headers["X-CLIENT"]="widget",n.defaults.headers["X-CLIENT-VERSION"]="0.3.1";const a=async(c,m,f=null,p={})=>{const h=m.startsWith("/public/"),v=Le.getItem("token");switch(v&&!h&&(n.defaults.headers["X-TOKEN"]=v),c){case"get":return n.get(m,p);case"post":return n.post(m,f,p);case"put":return n.put(m,f,p);case"delete":return n.delete(m,p);case"patch":return n.patch(m,f,p);default:throw new Error(`SendRequest failed as method: '${c}' is not implemented`)}},i=(c,m={})=>a("get",c,null,m),o=(c,m={},f={})=>a("put",c,m,f),s=(c,m,f={})=>a("post",c,m,f),u=(c,m={})=>a("delete",c,null,m),l=(c,m={})=>a("patch",c,null,m),d=async()=>{const c=Le.getItem("refreshToken"),m=await s("/auth/companyUser",{refreshToken:c});if(!m.data||!m.data.token)throw new Error("No token was defined in result");const{token:f,tokenExpires:p,companyUser:h,company:v}=m.data;return Le.setItem("token",f),Le.setItem("tokenExpires",p),f};return eTe(n,{renewToken:d}),tTe(n,{renewToken:d}),yU(n),rTe(n),aTe(n),nTe(n),{instance:n,get:i,put:o,post:s,del:u,patch:l,renewToken:d}},ex=new Map;function oTe(t){if(typeof t>"u")throw new Error("Missing valid parameter url");if(typeof t!="string")throw new Error("Parameter url must be a string");const{data:e,cachedAt:r,expiresAt:n}=ex.get(t)||{};return Date.now()>r+6e4*30||n&&Date.now()>n?(ex.delete(t),null):e}const sTe=async t=>{const{url:e,params:r={}}=t,n=Object.keys(r).map(o=>`${o}=${r[o]}`).join("&"),a=`${e}${n?`?${n}`:""}`;return oTe(a),await M1(t)},tx={withCredentials:!0,baseUrl:ge.api.baseUrl},{get:tt,post:ut,put:Or,patch:Ha,del:Dn,instance:qht,renewToken:uTe}=iTe({withCredentials:tx.withCredentials,baseUrl:tx.baseUrl,cache:sTe});async function _U(t){const e=Nke(t);return tt(`/project${e}`,{saveCache:!0})}const lTe=async(t,e={})=>tt("/project",t,{params:e}),dTe=async(t,e={})=>tt(`/project/${t}`,{params:e,saveCache:!0}),cTe=async(t,e,r={})=>Or(`/project/${t}`,e,{params:r,invalidateCache:{type:"project",id:t}}),fTe=async t=>Ha(`/project/${t}`),mTe=async(t,e={})=>Dn(`/project/${t}`,{params:e,invalidateCache:{type:"project",id:t}}),pTe=async()=>tt("/project/createDemo"),hTe=async(t,e={})=>ut("/auth/actionlink",{token:t,...e}),vTe=async t=>ut("/register",t),gTe=async(t,e)=>ut("/companyUser/forgottenPassword/new",{password:t,resetPasswordToken:e}),yTe=async t=>ut("/public/consent",t),_Te=async t=>tt(`/projectFile/${t}`),bTe=async t=>ut("/projectFile",t),wTe=async(t,e)=>Or(`/projectFile/${t}`,e),xTe=async t=>Dn(`/projectFile/${t}`),PTe=async t=>Ha(`/projectFile/${t}`),kTe=async(t,e={})=>tt(`/projectNote/${t}`,{params:e}),TTe=async(t,e={})=>ut("/projectNote",t,{params:e}),ETe=async(t,e,r={})=>Or(`/projectNote/${t}`,e,{params:r}),MTe=async t=>tt(`/file/${t}`),bU=async t=>ut("/file",t),STe=async(t,e)=>Or(`/file/${t}`,e),OTe=async t=>Dn(`/file/${t}`),CTe=async t=>Ha(`/file/${t}`),DTe=async(t={})=>tt("/endCustomer",{params:t}),$Te=async(t,e={})=>tt(`/endCustomer/${t}`,{params:e}),ATe=async(t,e={})=>ut("/endCustomer",t,{params:e}),RTe=async(t,e,r={})=>Or(`/endCustomer/${t}`,e,{params:r}),ITe=async(t,e={})=>Dn(`/endCustomer/${t}`,{params:e}),NTe=async(t,e={})=>Ha(`/endCustomer/${t}`,{params:e}),LTe=async t=>ut("/search",{type:"endCustomer",query:t}),WTe=async(t={})=>tt("/companyUser",{params:t,saveCache:!0}),FTe=async(t,e={})=>tt(`/companyUser/${t}`,{params:e,saveCache:!0}),jTe=async(t,e={})=>ut("/companyUser",t,{params:e}),VTe=async(t,e,r={})=>Or(`/companyUser/${t}`,e,{params:r,invalidateCache:{type:"companyUser",id:t}}),UTe=async(t,e={})=>Dn(`/companyUser/${t}`,{params:e,invalidateCache:{type:"companyUser",id:t}}),zTe=async(t,e={})=>Ha(`/companyUser/${t}`,{params:e}),wU={getPublic:async(t,e={})=>tt(`/public/companyUser/${t}`,{params:e}),getConnectedUsers:async(t={})=>tt("/companyUser/self/connectedUsers",{params:t}),getConnectedUserAuth:async(t,e={})=>tt(`/companyUser/self/connectedUsers/${t}/auth`,{params:e}),setConnectedUserDefault:async(t,e={})=>Or(`/companyUser/self/connectedUsers/${t}/setDefaultAuth`,{params:e}),verifyEmail:async(t,e={})=>ut("/public/verifyEmail/companyUser",t,{params:e})},BTe=async(t,e=null,r={})=>Or(`/companyAccount/accountType/${t}`,e,{params:r}),HTe=async(t,e)=>ut(`/project/${t}/projectMember/${e}`,null,{invalidateCache:{type:"project",id:t}}),qTe=async(t,e)=>Dn(`/project/${t}/projectMember/${e}`,{invalidateCache:{type:"project",id:t}}),YTe=async(t={})=>tt("/companyInvoiceSetting",{params:t}),GTe=async(t,e={})=>Or("/companyInvoiceSetting",t,{params:e}),KTe={get:async(t={})=>tt("/companyKYC",{params:t}),post:async(t,e={})=>ut("/companyKYC",t,{params:e}),sign:async(t,e={})=>ut("/companyKYC/sign",t,{params:e})},Cr={get:async(t,e={})=>tt(`/document/${t}`,{params:e,saveCache:!0}),getAll:async(t={})=>tt("/document",{params:t,saveCache:!0}),post:async(t,e={})=>ut("/document",t,{params:e}),send:async(t,e={},r={})=>ut(`/document/${t}/send`,e,{params:r,invalidateCache:{type:"document",id:t}}),clearAnswers:async(t,e={},r={})=>ut(`/document/${t}/clearAnswers`,e,{params:r,invalidateCache:{type:"document",id:t}}),put:async(t,e,r={})=>Or(`/document/${t}`,e,{params:r,invalidateCache:{type:"document",id:t}}),delete:async(t,e={})=>Dn(`/document/${t}`,{params:e,invalidateCache:{type:"document",id:t}}),patch:async(t,e={})=>Ha(`/document/${t}`,{params:e}),validate:async(t,e={})=>ut("/documentValidate",t,{params:e})},Gi={get:async(t,e={})=>tt(t?`/template/${t}`:"/template",{params:e}),post:async(t,e={})=>ut("/template",t,{params:e}),put:async(t,e,r={})=>Or(`/template/${t}`,e,{params:r}),delete:async(t,e={})=>Dn(`/template/${t}`,{params:e}),patch:async(t,e={})=>Ha(`/template/${t}`,{params:e})},xU={get:async(t,e={})=>tt(`/public/document/${t}`,{params:e}),put:async(t,e,r={})=>Or(`/public/document/${t}`,e,{headers:r}),answer:async(t,e,r={},n={})=>ut(`/public/document/${t}/answer`,e,{params:r,headers:n}),feedback:async(t,e,r={})=>ut(`/public/document/${t}/feedback`,e,{params:r})},rx={getAuthUrl:async(t,e={})=>tt("/extension/authUrl",{params:{...e,service:t}}),getPublicAuthUrl:async(t,e={})=>tt("/public/extension/authUrl",{params:{...e,service:t}}),install:async(t,e,r={})=>ut("/extension/install",e,{params:{...r,service:t}}),uninstall:async(t,e={})=>Dn("/extension/uninstall",{params:{...e,service:t}}),suggestClients:async(t,e={})=>tt("/extension/suggestClients",{params:{...e,service:t},saveCache:!0,cacheTtl:20}),signupWithCrm:async(t,e,r={})=>ut("/public/extension/register",e,{params:{...r,service:t}}),search:async(t,e={})=>tt("/extension/search",{params:{...e,service:t},saveCache:!0,cacheTtl:10}),getFields:async(t,e={})=>tt("/extension/fields",{params:{...e,service:t},saveCache:!0,cacheTtl:60}),getExternalReferenceDetails:async(t,e={})=>tt("/extension/externalReferenceDetails",{params:{...e,service:t},saveCache:!0,cacheTtl:20}),settings:async(t,e={})=>tt("/extension/settings",{params:{...e,service:t}})},lr={get:tt,post:ut,put:Or,del:Dn,patch:Ha,authData:tx,getProjects:_U},Ki="SET_AS_NORMALIZED_DATA",PU=Object.freeze(Object.defineProperty({__proto__:null,SET_AS_NORMALIZED_DATA:Ki},Symbol.toStringTag,{value:"Module"})),kU={DO_LOAD_CURRENT_COMPANY:"DO_LOAD_CURRENT_COMPANY",DO_UPDATE_CURRENT_COMPANY:"DO_UPDATE_CURRENT_COMPANY",DO_NORMALIZE_COMPANIES:"DO_NORMALIZE_COMPANIES",FORM_EDIT_COMPANY:"FORM_EDIT_COMPANY",FORM_SUBMIT_COMPANY:"FORM_SUBMIT_COMPANY",FORM_NEW_COMPANY_BRANDING:"FORM_NEW_COMPANY_BRANDING",FORM_EDIT_COMPANY_BRANDING:"FORM_EDIT_COMPANY_BRANDING",FORM_SUBMIT_COMPANY_BRANDING:"FORM_SUBMIT_COMPANY_BRANDING",UPDATE_COMPANY_ACCOUNT_TYPE:"UPDATE_COMPANY_ACCOUNT_TYPE"},nx={SET_COMPANIES:"SET_COMPANIES",CLEAR_COMPANIES:"CLEAR_COMPANIES",SET_COMPANIES_FETCHING:"SET_COMPANIES_FETCHING",SET_COMPANIES_POSTING:"SET_COMPANIES_POSTING"},TU={LOAD_COMPANY_USERS:"LOAD_COMPANY_USERS",LOAD_COMPANY_USER:"LOAD_COMPANY_USER",DO_NORMALIZE_COMPANY_USERS:"DO_NORMALIZE_COMPANY_USERS",UPDATE_COMPANY_USER:"UPDATE_COMPANY_USER",CREATE_COMPANY_USER:"CREATE_COMPANY_USER",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",PATCH_COMPANY_USER:"PATCH_COMPANY_USER",FORM_NEW_COMPANY_USER:"FORM_NEW_COMPANY_USER",FORM_EDIT_COMPANY_USER:"FORM_EDIT_COMPANY_USER",FORM_SUBMIT_COMPANY_USER:"FORM_SUBMIT_COMPANY_USER"},ax={SET_COMPANY_USERS:"SET_COMPANY_USERS",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",SET_COMPANY_USERS_FETCHING:"SET_COMPANY_USERS_FETCHING",SET_COMPANY_USERS_POSTING:"SET_COMPANY_USERS_POSTING"},EU={LOAD_PROJECT_FILE:"LOAD_PROJECT_FILE",CREATE_PROJECT_FILE:"CREATE_PROJECT_FILE",UPDATE_PROJECT_FILE:"UPDATE_PROJECT_FILE",DELETE_PROJECT_FILE:"DELETE_PROJECT_FILE",PATCH_PROJECT_FILE:"PATCH_PROJECT_FILE"},um={SET_PROJECT_FILES:"SET_PROJECT_FILES",DELETE_PROJECT_FILE:"DELETE_PROJECT_FILE"},$n={...EU,LOAD_PROJECTS:"LOAD_PROJECTS",LOAD_PROJECT:"LOAD_PROJECT",LOAD_PUBLIC_PROJECT:"LOAD_PUBLIC_PROJECT",CREATE_PROJECT:"CREATE_PROJECT",CREATE_DEMOPROJECT:"CREATE_DEMOPROJECT",UPDATE_PROJECT:"UPDATE_PROJECT",DELETE_PROJECT:"DELETE_PROJECT",PATCH_PROJECT:"PATCH_PROJECT",FORM_EDIT_PROJECT:"FORM_EDIT_PROJECT",DO_SUBMIT_PROJECT:"DO_SUBMIT_PROJECT",SUBMIT_PROJECT:"SUBMIT_PROJECT",DO_LOAD_PROJECT:"DO_LOAD_PROJECT",DO_LOAD_PROJECTS:"DO_LOAD_PROJECTS",DO_LOAD_PROJECTS_COUNT:"DO_LOAD_PROJECTS_COUNT",LOAD_PROJECTS_FOR_CLIENT:"LOAD_PROJECTS_FOR_CLIENT",LOAD_PROJECTS_FOR_USER:"LOAD_PROJECTS_FOR_USER",FORM_SUBMIT_PROJECT:"FORM_SUBMIT_PROJECT",DO_CREATE_PROJECT_NOTE:"DO_CREATE_PROJECT_NOTE",FORM_EDIT_PROJECT_NOTE:"FORM_EDIT_PROJECT_NOTE",FORM_NEW_PROJECT_NOTE:"FORM_NEW_PROJECT_NOTE",FORM_SUBMIT_PROJECT_NOTE:"FORM_SUBMIT_PROJECT_NOTE",LOAD_PROJECT_NOTE:"LOAD_PROJECT_NOTE",DO_UPDATE_PROJECT_NOTE:"DO_UPDATE_PROJECT_NOTE",LOAD_EVENTS_FOR_PROJECT:"LOAD_EVENTS_FOR_PROJECT",DELETE_PROJECT_MEMBER:"SUBMIT_PROJECT_MEMBER",SUBMIT_PROJECT_MEMBER:"DELETE_PROJECT_MEMBER",SET_PROJECT_FILTER:"SET_PROJECT_FILTER",SET_PROJECT_SORT:"SET_PROJECT_SORT",SET_QUICKVIEW_PROJECT:"SET_QUICKVIEW_PROJECT",SET_PROJECT_LEADER:"SET_PROJECT_LEADER",CLEAR_PROJECTS:"CLEAR_PROJECTS"},Dr={...um,SET_PROJECTS:"SET_PROJECTS",SET_PROJECTS_FETCHING:"SET_PROJECTS_FETCHING",SET_PROJECTS_POSTING:"SET_PROJECTS_POSTING",SET_PROJECTS_CAN_FETCH_MORE:"SET_PROJECTS_CAN_FETCH_MORE",SET_PROJECTS_COUNT:"SET_PROJECTS_COUNT",CLEAR_PROJECT_DATA:"CLEAR_PROJECT_DATA",SET_PROJECT_NOTES:"SET_PROJECT_NOTES",SET_PROJECT_NOTES_FETCHING:"SET_PROJECT_NOTES_FETCHING",SET_PROJECT_NOTES_POSTING:"SET_PROJECT_NOTES_POSTING",SET_EVENTS:"SET_EVENTS",DELETE_MANY_PROJECTS:"DELETE_MANY_PROJECTS",ADD_PROJECT_MEMBER:"ADD_PROJECT_MEMBER",DELETE_PROJECT_MEMBER:"DELETE_PROJECT_MEMBER"},MU={LOAD_INVOICE_FORM:"LOAD_INVOICE_FORM",LOAD_DOCUMENT2_INVOICE_FORM:"LOAD_DOCUMENT2_INVOICE_FORM",LOAD_CREDIT_INVOICE_FORM:"LOAD_CREDIT_INVOICE_FORM",SUBMIT_INVOICE_FORM:"SUBMIT_INVOICE_FORM",LOAD_CAMPAIGN_INVOICE_FORM:"LOAD_CAMPAIGN_INVOICE_FORM",SET_KYC_FORM:"SET_KYC_FORM",DO_SAVE_KYC_FORM:"DO_SAVE_KYC_FORM"},XTe={},JTe={SET_FORM_ARTICLE:"SET_FORM_ARTICLE",REMOVE_FORM_ARTICLE:"REMOVE_FORM_ARTICLE"},SU={LOAD_DOCUMENT2_FORM:"LOAD_DOCUMENT2_FORM",LOAD_DOCUMENT2_PUBLIC_FORM:"LOAD_DOCUMENT2_PUBLIC_FORM",LOAD_DUPLICATE_DOCUMENT2_FORM:"LOAD_DUPLICATE_DOCUMENT2_FORM",SAVE_DYNDOC_FORM:"SAVE_DYNDOC_FORM",CLEAR_DYNDOC_FORM:"CLEAR_DYNDOC_FORM",DO_SAVE_DYNDOC:"DO_SAVE_DYNDOC",HANDLE_DOCUMENT2_EDIT:"HANDLE_DOCUMENT2_EDIT",SAVE_TEMPLATE_FORM:"SAVE_TEMPLATE_FORM",LOAD_EXTERNAL_FORM_FIELDS:"LOAD_EXTERNAL_FORM_FIELDS"},QTe={},An={...MU,...JTe,...SU,LOAD_DOCUMENT_FORM:"LOAD_DOCUMENT_FORM",LOAD_UPGRADE_DOCUMENT_FORM:"LOAD_UPGRADE_DOCUMENT_FORM",LOAD_ATA_DOCUMENT_FORM:"LOAD_ATA_DOCUMENT_FORM",LOAD_DUPLICATE_DOCUMENT_FORM:"LOAD_DUPLICATE_DOCUMENT_FORM",LOAD_DEMO_DOCUMENT_FORM:"LOAD_DEMO_DOCUMENT_FORM",SAVE_DOCUMENT_FORM:"SAVE_DOCUMENT_FORM",SAVE_DOCUMENT_FORM_AND_SEND:"SAVE_DOCUMENT_FORM_AND_SEND",DO_SAVE_DOCUMENT:"DO_SAVE_DOCUMENT",SUBMIT_DOCUMENT_AND_SEND:"SUBMIT_DOCUMENT_AND_SEND",FORM_DOCUMENT_SET_CLIENT:"FORM_DOCUMENT_SET_CLIENT",FORM_DOCUMENT_SUBMIT_CLIENT:"FORM_DOCUMENT_SUBMIT_CLIENT",FORM_RESET_OLD:"FORM_RESET_OLD",FORM_CLEAR_FORM:"FORM_CLEAR_FORM",SET_FORM:"SET_FORM",SET_FORM_VALUE:"SET_FORM_VALUE",REMOVE_FORM_VALUE:"REMOVE_FORM_VALUE",REMOVE_FORM_KEY_VALUE:"REMOVE_FORM_KEY_VALUE"},Rn={...XTe,...QTe,SET_FORM:"SET_FORM",CLEAR_FORM:"CLEAR_FORM",SET_FORM_VALUE:"SET_FORM_VALUE",REMOVE_FORM_VALUE:"REMOVE_FORM_VALUE",REMOVE_FORM_KEY_VALUE:"REMOVE_FORM_KEY_VALUE"},OU={DELETE_DOCUMENT2:"DELETE_DOCUMENT2",DO_CREATE_DOCUMENT2:"DO_CREATE_DOCUMENT2",DO_LOAD_DOCUMENT2:"DO_LOAD_DOCUMENT2",DO_LOAD_DOCUMENTS2:"DO_LOAD_DOCUMENTS2",DO_UPDATE_DOCUMENT2:"DO_UPDATE_DOCUMENT2",LOAD_DOCUMENT2:"LOAD_DOCUMENT2",LOAD_DOCUMENTS2:"LOAD_DOCUMENTS2",LOAD_DOCUMENTS2_EXTERNAL:"LOAD_DOCUMENTS2_EXTERNAL",PATCH_DOCUMENT2:"PATCH_DOCUMENT2",UPDATE_DOCUMENT2:"UPDATE_DOCUMENT2",UPDATE_DOCUMENT2_STATUS:"UPDATE_DOCUMENT2_STATUS",DO_SEND_DOCUMENT2:"DO_SEND_DOCUMENT2",SEND_REMINDER_DOCUMENT2:"SEND_REMINDER_DOCUMENT2",REQUEST_PROPERTY_DOCUMENT2:"REQUEST_PROPERTY_DOCUMENT2",CLEAR_DOCUMENT2_ANSWERS:"CLEAR_DOCUMENT2_ANSWERS",ANSWER_OWN_DOCUMENT2:"ANSWER_OWN_DOCUMENT2"},ix={DELETE_MANY_DOCUMENTS2:"DELETE_MANY_DOCUMENTS2",SET_DOCUMENTS2:"SET_DOCUMENTS2",SET_DOCUMENT2_FETCHING:"SET_DOCUMENT2_FETCHING",SET_DOCUMENT2_POSTING:"SET_DOCUMENT2_POSTING"},lm={LOAD_FILE:"LOAD_FILE",CREATE_FILE:"CREATE_FILE",UPDATE_FILE:"UPDATE_FILE",DELETE_FILE:"DELETE_FILE",PATCH_FILE:"PATCH_FILE",FORM_NEW_FILE:"FORM_NEW_FILE",FORM_EDIT_FILE:"FORM_EDIT_FILE",FORM_SUBMIT_FILE:"FORM_SUBMIT_FILE"},ox={UPDATE_MANY_FILES:"UPDATE_MANY_FILES",DELETE_ONE_FILE:"DELETE_ONE_FILE",CLEAR_FILES:"CLEAR_FILES",SET_FILES_FETCHING:"SET_FILES_FETCHING",SET_FILES_POSTING:"SET_FILES_POSTING"},CU={DO_LOAD_INVOICE_SETTINGS:"DO_LOAD_INVOICE_SETTINGS",LOAD_INVOICE_SETTINGS:"LOAD_INVOICE_SETTINGS",DO_UPDATE_INVOICE_SETTINGS:"DO_UPDATE_INVOICE_SETTINGS",UPDATE_INVOICE_SETTINGS:"UPDATE_INVOICE_SETTINGS",FORM_EDIT_INVOICE_SETTINGS:"FORM_EDIT_INVOICE_SETTINGS",FORM_SUBMIT_INVOICE_SETTINGS:"FORM_SUBMIT_INVOICE_SETTINGS"},sx={SET_INVOICE_SETTINGS_FETCHING:"SET_INVOICE_SETTINGS_FETCHING",SET_INVOICE_SETTINGS_POSTING:"SET_INVOICE_SETTINGS_POSTING"},DU={...CU,DO_LOAD_ALL_SETTINGS:"DO_LOAD_ALL_SETTINGS",LOAD_ALL_SETTINGS:"LOAD_ALL_SETTINGS",DO_LOAD_SETTINGS_COMPANY:"DO_LOAD_SETTINGS_COMPANY",DO_LOAD_SETTINGS_COMPANYUSER:"DO_LOAD_SETTINGS_COMPANYUSER",LOAD_SETTINGS_COMPANY:"LOAD_SETTINGS_COMPANY",LOAD_SETTINGS_COMPANYUSER:"LOAD_SETTINGS_COMPANYUSER",UPDATE_SETTINGS:"UPDATE_SETTINGS",DO_UPDATE_SETTINGS:"DO_UPDATE_SETTINGS",FORM_EDIT_COMPANY_SETTINGS:"FORM_EDIT_COMPANY_SETTINGS",FORM_SUBMIT_COMPANY_SETTINGS:"FORM_SUBMIT_COMPANY_SETTINGS",FORM_EDIT_COMPANY_USER_SETTINGS:"FORM_EDIT_COMPANY_USER_SETTINGS",FORM_SUBMIT_COMPANY_USER_SETTINGS:"FORM_SUBMIT_COMPANY_USER_SETTINGS"},$U={...sx,SET_SETTINGS:"SET_SETTINGS",CLEAR_SETTINGS:"CLEAR_SETTINGS",SET_SETTINGS_FETCHING:"SET_SETTINGS_FETCHING",SET_SETTINGS_POSTING:"SET_SETTINGS_POSTING"},ZTe={LOAD_ARTICLES:"LOAD_ARTICLES",LOAD_ARTICLE:"LOAD_ARTICLE",SET_ARTICLES:"SET_ARTICLES",UPDATE_ARTICLE:"UPDATE_ARTICLE",DO_CREATE_ARTICLE:"DO_CREATE_ARTICLE",DELETE_ARTICLE:"DELETE_ARTICLE",PATCH_ARTICLE:"PATCH_ARTICLE",SEARCH_ARTICLE:"SEARCH_ARTICLE",FORM_NEW_ARTICLE:"FORM_NEW_ARTICLE",FORM_EDIT_ARTICLE:"FORM_EDIT_ARTICLE",FORM_SUBMIT_ARTICLE:"FORM_SUBMIT_ARTICLE"},AU={LOAD_ENDCUSTOMERS:"LOAD_ENDCUSTOMERS",LOAD_ENDCUSTOMER:"LOAD_ENDCUSTOMER",UPDATE_ENDCUSTOMER:"UPDATE_ENDCUSTOMER",CREATE_ENDCUSTOMER:"CREATE_ENDCUSTOMER",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",PATCH_ENDCUSTOMER:"PATCH_ENDCUSTOMER",FORM_NEW_ENDCUSTOMER:"FORM_NEW_ENDCUSTOMER",FORM_EDIT_ENDCUSTOMER:"FORM_EDIT_ENDCUSTOMER",FORM_SUBMIT_ENDCUSTOMER:"FORM_SUBMIT_ENDCUSTOMER"},Is={CLEAR_END_CUSTOMER:"CLEAR_END_CUSTOMER",SET_ENDCUSTOMERS:"SET_ENDCUSTOMERS",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",SET_ENDCUSTOMER_FETCHING:"SET_ENDCUSTOMER_FETCHING",SET_ENDCUSTOMER_POSTING:"SET_ENDCUSTOMER_POSTING"},eEe={LOAD_CERTIFICATES:"LOAD_CERTIFICATES",DO_SET_COMPANY_CERTIFICATES:"DO_SET_COMPANY_CERTIFICATES",SUBMIT_CERTIFICATES:"SUBMIT_CERTIFICATES"},tEe={SET_CERTIFICATES:"SET_CERTIFICATES",CLEAR_CERTIFICATES:"CLEAR_CERTIFICATES",SET_CERTIFICATES_FETCHING:"SET_CERTIFICATES_FETCHING",SET_CERTIFICATES_POSTING:"SET_CERTIFICATES_POSTING"},rEe={LOAD_COMPANY_REFERENCES:"LOAD_COMPANY_REFERENCES",LOAD_COMPANY_REFERENCE:"LOAD_COMPANY_REFERENCE",CREATE_COMPANY_REFERENCE:"CREATE_COMPANY_REFERENCE",UPDATE_COMPANY_REFERENCE:"UPDATE_COMPANY_REFERENCE",DELETE_COMPANY_REFERENCE:"DELETE_COMPANY_REFERENCE",PATCH_COMPANY_REFERENCE:"PATCH_COMPANY_REFERENCE",FORM_NEW_COMPANY_REFERENCE:"FORM_NEW_COMPANY_REFERENCE",FORM_EDIT_COMPANY_REFERENCE:"FORM_EDIT_COMPANY_REFERENCE",FORM_SUBMIT_COMPANY_REFERENCE:"FORM_SUBMIT_COMPANY_REFERENCE"},nEe={SET_COMPANY_REFERENCES:"SET_COMPANY_REFERENCES",DELETE_COMPANY_REFERENCE:"DELETE_COMPANY_REFERENCE",CLEAR_COMPANY_REFERENCES:"CLEAR_COMPANY_REFERENCES",SET_COMPANY_REFERENCE_FETCHING:"SET_COMPANY_REFERENCE_FETCHING",SET_COMPANY_REFERENCE_POSTING:"SET_COMPANY_REFERENCE_POSTING"},aEe={LOAD_COMPANY_REFERENCE_ITEMS:"LOAD_COMPANY_REFERENCE_ITEMS",LOAD_COMPANY_REFERENCE_ITEM:"LOAD_COMPANY_REFERENCE_ITEM",SET_COMPANY_REFERENCE_ITEMS:"SET_COMPANY_REFERENCE_ITEMS",CREATE_COMPANY_REFERENCE_ITEM:"CREATE_COMPANY_REFERENCE_ITEM",UPDATE_COMPANY_REFERENCE_ITEM:"UPDATE_COMPANY_REFERENCE_ITEM",DELETE_COMPANY_REFERENCE_ITEM:"DELETE_COMPANY_REFERENCE_ITEM",FORM_NEW_COMPANY_REFERENCE_ITEM:"FORM_NEW_COMPANY_REFERENCE_ITEM",FORM_SUBMIT_COMPANY_REFERENCE_ITEMS:"FORM_SUBMIT_COMPANY_REFERENCE_ITEMS"},iEe={SET_COMPANY_REFERENCE_ITEMS:"SET_COMPANY_REFERENCE_ITEMS",DELETE_COMPANY_REFERENCE_ITEM:"DELETE_COMPANY_REFERENCE_ITEM",CLEAR_COMPANY_REFERENCE_ITEMS:"CLEAR_COMPANY_REFERENCE_ITEMS"},oEe={LOAD_TEMPLATE_MESSAGES:"LOAD_TEMPLATE_MESSAGES",LOAD_TEMPLATE_MESSAGE:"LOAD_TEMPLATE_MESSAGE",CREATE_TEMPLATE_MESSAGE:"CREATE_TEMPLATE_MESSAGE",UPDATE_TEMPLATE_MESSAGE:"UPDATE_TEMPLATE_MESSAGE",DELETE_TEMPLATE_MESSAGE:"DELETE_TEMPLATE_MESSAGE",PATCH_TEMPLATE_MESSAGE:"PATCH_TEMPLATE_MESSAGE",FORM_NEW_TEMPLATE_MESSAGE:"FORM_NEW_TEMPLATE_MESSAGE",FORM_EDIT_TEMPLATE_MESSAGE:"FORM_EDIT_TEMPLATE_MESSAGE",FORM_SUBMIT_TEMPLATE_MESSAGE:"FORM_SUBMIT_TEMPLATE_MESSAGE"},sEe={LOAD_NOTIFICATIONS:"LOAD_NOTIFICATIONS",LOAD_UNREAD_NOTIFICATIONS:"LOAD_UNREAD_NOTIFICATIONS",LOAD_NOTIFICATION:"LOAD_NOTIFICATION",SET_READ_FOR_PROJECT:"SET_READ_FOR_PROJECT",SET_READ_FOR_INVOICE:"SET_READ_FOR_INVOICE",SET_NOTIFICATION_READ:"SET_NOTIFICATION_READ",SET_ALL_NOTIFICATION_READ:"SET_ALL_NOTIFICATION_READ",DO_CREATE_NOTIFICATION:"DO_CREATE_NOTIFICATION"},uEe={SET_NOTIFICATIONS:"SET_NOTIFICATIONS",CLEAR_NOTIFICATIONS:"CLEAR_NOTIFICATIONS",DELETE_MANY_NOTIFICATIONS:"DELETE_MANY_NOTIFICATIONS",SET_NOTIFICATIONS_FETCHED_AT:"SET_NOTIFICATIONS_FETCHED_AT",SET_NOTIFICATIONS_FETCHING:"SET_NOTIFICATIONS_FETCHING",SET_NOTIFICATIONS_POSTING:"SET_NOTIFICATIONS_POSTING"},lEe={LOAD_BOOKKEEPING_EXPORTS:"LOAD_BOOKKEEPING_EXPORTS",CREATE_BOOKKEEPING_EXPORT:"CREATE_BOOKKEEPING_EXPORT",CREATE_ROT_RUT_XML:"CREATE_ROT_RUT_XML"},dEe={},cEe={LOAD_INVOICE_NOTE:"LOAD_INVOICE_NOTE",DO_CREATE_INVOICE_NOTE:"DO_CREATE_INVOICE_NOTE",DO_UPDATE_INVOICE_NOTE:"DO_UPDATE_INVOICE_NOTE",FORM_NEW_INVOICE_NOTE:"FORM_NEW_INVOICE_NOTE",FORM_EDIT_INVOICE_NOTE:"FORM_EDIT_INVOICE_NOTE",FORM_SUBMIT_INVOICE_NOTE:"FORM_SUBMIT_INVOICE_NOTE"},fEe={SET_INVOICE_NOTES:"SET_INVOICE_NOTES",SET_INVOICE_NOTES_FETCHING:"SET_INVOICE_NOTES_FETCHING",SET_INVOICE_NOTES_POSTING:"SET_INVOICE_NOTES_POSTING"},mEe={...lEe,...cEe,DO_LOAD_INVOICE:"DO_LOAD_INVOICE",DELETE_INVOICE:"DELETE_INVOICE",DO_CREATE_INVOICE:"DO_CREATE_INVOICE",DO_LOAD_INVOICES:"DO_LOAD_INVOICES",LOAD_INVOICE:"LOAD_INVOICE",LOAD_INVOICES:"LOAD_INVOICES",UPDATE_INVOICE:"UPDATE_INVOICE",DO_UPDATE_INVOICE:"DO_UPDATE_INVOICE",ATTEST_INVOICE:"ATTEST_INVOICE",DO_ATTEST_INVOICE:"DO_ATTEST_INVOICE",START_INVOICE_DISPUTE:"START_INVOICE_DISPUTE",CANCEL_INVOICE_DISPUTE:"CANCEL_INVOICE_DISPUTE",REGISTER_INVOICE_PAYMENT:"REGISTER_INVOICE_PAYMENT",REGISTER_INVOICE_WRITEOFF:"REGISTER_INVOICE_WRITEOFF",SEND_INVOICE:"SEND_INVOICE",SEND_INVOICE_REMINDER:"SEND_INVOICE_REMINDER",UPDATE_INVOICE_ADDRESS:"UPDATE_INVOICE_ADDRESS",REGISTER_INVOICING:"REGISTER_INVOICING",LOAD_UNMATCHED_PAYMENTS:"LOAD_UNMATCHED_PAYMENTS",MATCH_PAYMENT:"MATCH_PAYMENT",DELETE_UNMATCHED_PAYMENT:"DELETE_UNMATCHED_PAYMENT",DO_SELL_INVOICE:"DO_SELL_INVOICE",SELL_INVOICE:"SELL_INVOICE",CANCEL_SELL_INVOICE:"CANCEL_SELL_INVOICE",GET_KYC_STATUS:"GET_KYC_STATUS",SIGN_KYC:"SIGN_KYC",CREATE_INVOICE_INTEREST:"CREATE_INVOICE_INTEREST",SET_INVOICE_REGION_SWEDEN_EXPORTED_HOUSEWORK:"SET_INVOICE_REGION_SWEDEN_EXPORTED_HOUSEWORK",SET_INVOICE_REGION_SWEDEN_PROCESSED_HOUSEWORK:"SET_INVOICE_REGION_SWEDEN_PROCESSED_HOUSEWORK",SET_INVOICE_FILTER:"SET_INVOICE_FILTER",SET_INVOICE_SORT:"SET_INVOICE_SORT"},pEe={...dEe,...fEe,DELETE_MANY_INVOICES:"DELETE_MANY_INVOICES",SET_INVOICES:"SET_INVOICES",SET_INVOICES_STATUS_COUNT:"SET_INVOICES_STATUS_COUNT",SET_INVOICES_FETCHING:"SET_INVOICES_FETCHING",SET_INVOICES_POSTING:"SET_INVOICES_POSTING",SET_INVOICE_FILTER:"SET_INVOICE_FILTER",SET_INVOICE_SORT:"SET_INVOICE_SORT"},hEe={LOAD_TIME_TRACKS:"LOAD_TIME_TRACKS",LOAD_TIME_TRACK:"LOAD_TIME_TRACK",CREATE_TIME_TRACK:"CREATE_TIME_TRACK",UPDATE_TIME_TRACK:"UPDATE_TIME_TRACK",DELETE_TIME_TRACK:"DELETE_TIME_TRACK",PATCH_TIME_TRACK:"PATCH_TIME_TRACK",ATTEST_TIME_TRACK:"ATTEST_TIME_TRACK",TIME_TRACK_START_TIMER:"TIME_TRACK_START_TIMER",TIME_TRACK_STOP_TIMER:"TIME_TRACK_STOP_TIMER",TIME_TRACK_GET_TIMER:"TIME_TRACK_GET_TIMER",TIME_TRACK_CLEAR_TIMER:"TIME_TRACK_CLEAR_TIMER",FORM_NEW_TIME_TRACK:"FORM_NEW_TIME_TRACK",FORM_EDIT_TIME_TRACK:"FORM_EDIT_TIME_TRACK",FORM_SUBMIT_TIME_TRACK:"FORM_SUBMIT_TIME_TRACK"},vEe={SET_TIME_TRACKS:"SET_TIME_TRACKS",DELETE_TIME_TRACK:"DELETE_TIME_TRACK",CLEAR_TIME_TRACKS:"CLEAR_TIME_TRACKS",SET_TIME_TRACK_TIMER:"SET_TIME_TRACK_TIMER",SET_TIME_TRACKS_FETCHING:"SET_TIME_TRACKS_FETCHING",SET_TIME_TRACKS_POSTING:"SET_TIME_TRACKS_POSTING"},RU={DO_CREATE_TEMPLATE:"DO_CREATE_TEMPLATE",DO_LOAD_TEMPLATE:"DO_LOAD_TEMPLATE",DO_LOAD_TEMPLATES:"DO_LOAD_TEMPLATES",DO_UPDATE_TEMPLATE:"DO_UPDATE_TEMPLATE",LOAD_TEMPLATE:"LOAD_TEMPLATE",LOAD_TEMPLATES:"LOAD_TEMPLATES",UPDATE_TEMPLATE:"UPDATE_TEMPLATE",DELETE_TEMPLATE:"DELETE_TEMPLATE",PATCH_TEMPLATE:"PATCH_TEMPLATE",HIDE_TEMPLATE:"HIDE_TEMPLATE",DUPLICATE_PROTECTED_TEMPLATE:"DUPLICATE_PROTECTED_TEMPLATE"},ux={SET_TEMPLATES:"SET_TEMPLATES",SET_TEMPLATE_FETCHING:"SET_TEMPLATE_FETCHING",SET_TEMPLATE_POSTING:"SET_TEMPLATE_POSTING",DELETE_MANY_TEMPLATES:"DELETE_MANY_TEMPLATES"},gEe={DO_LOAD_PUBLIC_DOCUMENT:"DO_LOAD_PUBLIC_DOCUMENT",DO_LOAD_PUBLIC_DOCUMENTS:"DO_LOAD_PUBLIC_DOCUMENTS",PUT_PUBLIC_DOCUMENT:"PUT_PUBLIC_DOCUMENT",PUT_CURRENT_PUBLIC_DOCUMENT:"PUT_CURRENT_PUBLIC_DOCUMENT",LOAD_PUBLIC_DOCUMENT:"LOAD_PUBLIC_DOCUMENT",LOAD_PUBLIC_DOCUMENTS:"LOAD_PUBLIC_DOCUMENTS",ANSWER_PUBLIC_DOCUMENT:"ANSWER_PUBLIC_DOCUMENT",ANSWER_CURRENT_PUBLIC_DOCUMENT:"ANSWER_CURRENT_PUBLIC_DOCUMENT",DO_SET_CURRENT_DOCUMENT:"DO_SET_CURRENT_DOCUMENT",SET_CURRENT_PUBLIC_DOCUMENT_VALUE:"SET_CURRENT_PUBLIC_DOCUMENT_VALUE",RELOAD_CURRENT_DOCUMENT:"RELOAD_CURRENT_DOCUMENT",LOAD_PUBLIC_COMPANY:"LOAD_PUBLIC_COMPANY",LOAD_CLIENT_DOCUMENTS:"LOAD_CLIENT_DOCUMENTS",LOAD_CLIENT_INVOICES:"LOAD_CLIENT_INVOICES",REQUEST_MAGIC_LINK:"REQUEST_MAGIC_LINK"},yEe={SET_PUBLIC_DOCUMENTS:"SET_PUBLIC_DOCUMENTS",SET_PUBLIC_INVOICES:"SET_PUBLIC_INVOICES",SET_PUBLIC_DOCUMENTS_FETCHING:"SET_PUBLIC_DOCUMENTS_FETCHING",SET_PUBLIC_DOCUMENTS_POSTING:"SET_PUBLIC_DOCUMENTS_POSTING",SET_CURRENT_DOCUMENT:"SET_CURRENT_DOCUMENT",SET_CURRENT_DOCUMENT_VALUE:"SET_CURRENT_DOCUMENT_VALUE",SET_PUBLIC_COMPANIES:"SET_PUBLIC_COMPANIES",SET_VIEWER:"SET_VIEWER"},_Ee={LOAD_DOCUMENT_TERMS:"LOAD_DOCUMENT_TERMS",LOAD_DOCUMENT_TERM:"LOAD_DOCUMENT_TERM",CREATE_DOCUMENT_TERM:"CREATE_DOCUMENT_TERM",UPDATE_DOCUMENT_TERM:"UPDATE_DOCUMENT_TERM",DELETE_DOCUMENT_TERM:"DELETE_DOCUMENT_TERM",PATCH_DOCUMENT_TERM:"PATCH_DOCUMENT_TERM",FORM_NEW_DOCUMENT_TERM:"FORM_NEW_DOCUMENT_TERM",FORM_EDIT_DOCUMENT_TERM:"FORM_EDIT_DOCUMENT_TERM",FORM_SUBMIT_DOCUMENT_TERM:"FORM_SUBMIT_DOCUMENT_TERM"},bEe={SET_DOCUMENT_TERMS:"SET_DOCUMENT_TERMS",DELETE_DOCUMENT_TERM:"DELETE_DOCUMENT_TERM",CLEAR_DOCUMENT_TERMS:"CLEAR_DOCUMENT_TERMS",SET_DOCUMENT_TERMS_FETCHING:"SET_DOCUMENT_TERMS_FETCHING",SET_DOCUMENT_TERMS_POSTING:"SET_DOCUMENT_TERMS_POSTING"},wEe={LOAD_UNIT_TYPES:"LOAD_UNIT_TYPES",LOAD_UNIT_TYPE:"LOAD_UNIT_TYPE",CREATE_UNIT_TYPE:"CREATE_UNIT_TYPE",UPDATE_UNIT_TYPE:"UPDATE_UNIT_TYPE",DELETE_UNIT_TYPE:"DELETE_UNIT_TYPE"},xEe={SET_UNIT_TYPES:"SET_UNIT_TYPES",DELETE_UNIT_TYPE:"DELETE_UNIT_TYPE",SET_UNIT_TYPE_FETCHING:"SET_UNIT_TYPE_FETCHING",SET_UNIT_TYPE_POSTING:"SET_UNIT_TYPE_POSTING"},la={...PU,application:bl,projects:$n,forms:An,documents2:OU,files:lm,settings:DU,articles:ZTe,endCustomers:AU,certificates:eEe,companies:kU,companyUsers:TU,companyReferences:rEe,companyReferenceItems:aEe,templateMessages:oEe,notifications:sEe,invoices:mEe,timeTracks:hEe,templates:RU,publicDocuments:gEe,documentTerms:_Ee,unitTypes:wEe,stripe:{LOAD_PRICES:"LOAD_PRICES",RESET_STRIPE_FORM:"RESET_STRIPE_FORM",SET_STRIPE_FORM_VALUE:"SET_STRIPE_FORM_VALUE",SET_FORM_PROMOTION:"SET_FORM_PROMOTION",SUBMIT_PROMOTION_CODE:"SUBMIT_PROMOTION_CODE",SUBMIT_PAYMENT_METHOD:"SUBMIT_PAYMENT_METHOD",SUBMIT_FORM_PLAN:"SUBMIT_FORM_PLAN",CONFIRM_PAYMENT:"CONFIRM_PAYMENT",REMOVE_SUBSCRIPTION_ITEM:"REMOVE_SUBSCRIPTION_ITEM",SUBMIT_FORM_PAYMENT:"SUBMIT_STRIPE_FORM_PAYMENT",SUBMIT_FORM_PRODUCTS:"SUBMIT_STRIPE_FORM_PRODUCTS"},CREATE_ARTICLE:"CREATE_ARTICLE",CREATE_COMPANY_USER:"CREATE_COMPANY_USER",CREATE_ENDCUSTOMER:"CREATE_ENDCUSTOMER",CREATE_PROJECT:"CREATE_PROJECT",DELETE_ARTICLE:"DELETE_ARTICLE",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",DELETE_PROJECT:"DELETE_PROJECT",FORM_CLEAR_FORM:"FORM_CLEAR_FORM",FORM_EDIT_ARTICLE:"FORM_EDIT_ARTICLE",FORM_EDIT_COMPANY:"FORM_EDIT_COMPANY",FORM_EDIT_COMPANY_USER:"FORM_EDIT_COMPANY_USER",FORM_EDIT_COMPANY_BRANDING:"FORM_EDIT_COMPANY_BRANDING",FORM_EDIT_ENDCUSTOMER:"FORM_EDIT_ENDCUSTOMER",FORM_NEW_ARTICLE:"FORM_NEW_ARTICLE",FORM_NEW_COMPANY_USER:"FORM_NEW_COMPANY_USER",FORM_NEW_COMPANY_BRANDING:"FORM_NEW_COMPANY_BRANDING",FORM_NEW_ENDCUSTOMER:"FORM_NEW_ENDCUSTOMER",FORM_NEW_OFFER:"FORM_NEW_OFFER",FORM_SUBMIT_ARTICLE:"FORM_SUBMIT_ARTICLE",FORM_SUBMIT_COMPANY:"FORM_SUBMIT_COMPANY",FORM_SUBMIT_COMPANY_USER:"FORM_SUBMIT_COMPANY_USER",FORM_SUBMIT_COMPANY_BRANDING:"FORM_SUBMIT_COMPANY_BRANDING",FORM_SUBMIT_ENDCUSTOMER:"FORM_SUBMIT_ENDCUSTOMER",FORM_SUBMIT_OFFER:"FORM_SUBMIT_OFFER",LOAD_ARTICLE:"LOAD_ARTICLE",LOAD_ARTICLES:"LOAD_ARTICLES",LOAD_CERTIFICATES:"LOAD_CERTIFICATES",LOAD_COMPANY_USER:"LOAD_COMPANY_USER",LOAD_COMPANY_USERS:"LOAD_COMPANY_USERS",DO_LOAD_CURRENT_COMPANY:"DO_LOAD_CURRENT_COMPANY",LOAD_ENDCUSTOMER:"LOAD_ENDCUSTOMER",LOAD_ENDCUSTOMERS:"LOAD_ENDCUSTOMERS",LOAD_PROJECT:"LOAD_PROJECT",LOAD_PROJECTS:"LOAD_PROJECTS",LOAD_PUBLIC_PROJECT:"LOAD_PUBLIC_PROJECT",PATCH_ARTICLE:"PATCH_ARTICLE",PATCH_COMPANY_USER:"PATCH_COMPANY_USER",SEARCH_ARTICLE:"SEARCH_ARTICLE",SET_ARTICLES:"SET_ARTICLES",SET_FORM:"SET_FORM",SET_PROJECTS:"SET_PROJECTS",SET_READ_FOR_PROJECT:"SET_READ_FOR_PROJECT",SORT:"SORT",UPDATE_ARTICLE:"UPDATE_ARTICLE",UPDATE_COMPANY_USER:"UPDATE_COMPANY_USER",DO_UPDATE_CURRENT_COMPANY:"DO_UPDATE_CURRENT_COMPANY",UPDATE_ENDCUSTOMER:"UPDATE_ENDCUSTOMER",UPDATE_PROJECT:"UPDATE_PROJECT"},ke={};Object.keys(la).forEach(t=>{typeof la[t]=="object"&&Object.keys(la[t]).forEach(e=>{ke[e]&&console.warn(`Duplicate action constant warning!, ${la[t][e]}`),ke[e]=`${t}/${la[t][e]}`})}),Object.keys(PU).forEach(t=>{ke[t]&&console.warn(`Duplicate action constant warning!, ${la[t]}`),ke[t]=la[t]});var IU={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Ae,function(){return function(r){var n={};function a(i){if(n[i])return n[i].exports;var o=n[i]={i,l:!1,exports:{}};return r[i].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=r,a.c=n,a.d=function(i,o,s){a.o(i,o)||Object.defineProperty(i,o,{enumerable:!0,get:s})},a.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},a.t=function(i,o){if(1&o&&(i=a(i)),8&o||4&o&&typeof i=="object"&&i&&i.__esModule)return i;var s=Object.create(null);if(a.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:i}),2&o&&typeof i!="string")for(var u in i)a.d(s,u,function(l){return i[l]}.bind(null,u));return s},a.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return a.d(o,"a",o),o},a.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},a.p="",a(a.s=6)}([function(r,n,a){var i=a(12),o={};function s(_,w){return w===u(_)}function u(_){var w=typeof _;return w!=="object"?w:_?_ instanceof Error?"error":{}.toString.call(_).match(/\s([a-zA-Z]+)/)[1].toLowerCase():"null"}function l(_){return s(_,"function")}function d(_){var w=Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?"),x=RegExp("^"+w+"$");return c(_)&&x.test(_)}function c(_){var w=typeof _;return _!=null&&(w=="object"||w=="function")}function m(){var _=g();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(w){var x=(_+16*Math.random())%16|0;return _=Math.floor(_/16),(w==="x"?x:7&x|8).toString(16)})}var f={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};function p(_,w){var x,k;try{x=o.stringify(_)}catch(D){if(w&&l(w))try{x=w(_)}catch(S){k=S}else k=D}return{error:k,value:x}}function h(_,w){return function(x,k){try{w(x,k)}catch(D){_.error(D)}}}var v=["log","network","dom","navigation","error","manual"],y=["critical","error","warning","info","debug"];function b(_,w){for(var x=0;x<_.length;++x)if(_[x]===w)return!0;return!1}function g(){return Date.now?+Date.now():+new Date}r.exports={addParamsAndAccessTokenToPath:function(_,w,x){(x=x||{}).access_token=_;var k,D=[];for(k in x)Object.prototype.hasOwnProperty.call(x,k)&&D.push([k,x[k]].join("="));var S="?"+D.sort().join("&");(w=w||{}).path=w.path||"";var O,C=w.path.indexOf("?"),E=w.path.indexOf("#");C!==-1&&(E===-1||E>C)?(O=w.path,w.path=O.substring(0,C)+S+"&"+O.substring(C+1)):E!==-1?(O=w.path,w.path=O.substring(0,E)+S+O.substring(E)):w.path=w.path+S},createItem:function(_,w,x,k,D){for(var S,O,C,E,T,$,I=[],W=[],U=0,M=_.length;U<M;++U){var P=u($=_[U]);switch(W.push(P),P){case"undefined":break;case"string":S?I.push($):S=$;break;case"function":E=h(w,$);break;case"date":I.push($);break;case"error":case"domexception":case"exception":O?I.push($):O=$;break;case"object":case"array":if($ instanceof Error||typeof DOMException<"u"&&$ instanceof DOMException){O?I.push($):O=$;break}if(k&&P==="object"&&!T){for(var A=0,j=k.length;A<j;++A)if($[k[A]]!==void 0){T=$;break}if(T)break}C?I.push($):C=$;break;default:if($ instanceof Error||typeof DOMException<"u"&&$ instanceof DOMException){O?I.push($):O=$;break}I.push($)}}I.length>0&&((C=i(C)).extraArgs=I);var B={message:S,err:O,custom:C,timestamp:g(),callback:E,notifier:x,diagnostic:{},uuid:m()};return function(G,X){X&&X.level!==void 0&&(G.level=X.level,delete X.level),X&&X.skipFrames!==void 0&&(G.skipFrames=X.skipFrames,delete X.skipFrames)}(B,C),k&&T&&(B.request=T),D&&(B.lambdaContext=D),B._originalArgs=_,B.diagnostic.original_arg_types=W,B},addErrorContext:function(_,w){var x=_.data.custom||{},k=!1;try{for(var D=0;D<w.length;++D)w[D].hasOwnProperty("rollbarContext")&&(x=i(x,w[D].rollbarContext),k=!0);k&&(_.data.custom=x)}catch(S){_.diagnostic.error_context="Failed: "+S.message}},createTelemetryEvent:function(_){for(var w,x,k,D,S=0,O=_.length;S<O;++S)switch(u(D=_[S])){case"string":!w&&b(v,D)?w=D:!k&&b(y,D)&&(k=D);break;case"object":x=D}return{type:w||"manual",metadata:x||{},level:k}},filterIp:function(_,w){if(_&&_.user_ip&&w!==!0){var x=_.user_ip;if(w)try{var k;if(x.indexOf(".")!==-1)(k=x.split(".")).pop(),k.push("0"),x=k.join(".");else if(x.indexOf(":")!==-1){if((k=x.split(":")).length>2){var D=k.slice(0,3),S=D[2].indexOf("/");S!==-1&&(D[2]=D[2].substring(0,S)),x=D.concat("0000:0000:0000:0000:0000").join(":")}}else x=null}catch{x=null}else x=null;_.user_ip=x}},formatArgsAsString:function(_){var w,x,k,D=[];for(w=0,x=_.length;w<x;++w){switch(u(k=_[w])){case"object":(k=(k=p(k)).error||k.value).length>500&&(k=k.substr(0,497)+"...");break;case"null":k="null";break;case"undefined":k="undefined";break;case"symbol":k=k.toString()}D.push(k)}return D.join(" ")},formatUrl:function(_,w){if(!(w=w||_.protocol)&&_.port&&(_.port===80?w="http:":_.port===443&&(w="https:")),w=w||"https:",!_.hostname)return null;var x=w+"//"+_.hostname;return _.port&&(x=x+":"+_.port),_.path&&(x+=_.path),x},get:function(_,w){if(_){var x=w.split("."),k=_;try{for(var D=0,S=x.length;D<S;++D)k=k[x[D]]}catch{k=void 0}return k}},handleOptions:function(_,w,x,k){var D=i(_,w,x);return D=function(S,O){return S.hostWhiteList&&!S.hostSafeList&&(S.hostSafeList=S.hostWhiteList,S.hostWhiteList=void 0,O&&O.log("hostWhiteList is deprecated. Use hostSafeList.")),S.hostBlackList&&!S.hostBlockList&&(S.hostBlockList=S.hostBlackList,S.hostBlackList=void 0,O&&O.log("hostBlackList is deprecated. Use hostBlockList.")),S}(D,k),!w||w.overwriteScrubFields||w.scrubFields&&(D.scrubFields=(_.scrubFields||[]).concat(w.scrubFields)),D},isError:function(_){return s(_,"error")||s(_,"exception")},isFunction:l,isIterable:function(_){var w=u(_);return w==="object"||w==="array"},isNativeFunction:d,isType:s,isObject:c,isString:function(_){return typeof _=="string"||_ instanceof String},jsonParse:function(_){var w,x;try{w=o.parse(_)}catch(k){x=k}return{error:x,value:w}},LEVELS:{debug:0,info:1,warning:2,error:3,critical:4},makeUnhandledStackInfo:function(_,w,x,k,D,S,O,C){var E={url:w||"",line:x,column:k};E.func=C.guessFunctionName(E.url,E.line),E.context=C.gatherContext(E.url,E.line);var T=typeof document<"u"&&document&&document.location&&document.location.href,$=typeof window<"u"&&window&&window.navigator&&window.navigator.userAgent;return{mode:S,message:D?String(D):_||O,url:T,stack:[E],useragent:$}},merge:i,now:g,redact:function(){return"********"},RollbarJSON:o,sanitizeUrl:function(_){var w=function(x){if(!!s(x,"string")){for(var k=f,D=k.parser[k.strictMode?"strict":"loose"].exec(x),S={},O=0,C=k.key.length;O<C;++O)S[k.key[O]]=D[O]||"";return S[k.q.name]={},S[k.key[12]].replace(k.q.parser,function(E,T,$){T&&(S[k.q.name][T]=$)}),S}}(_);return w?(w.anchor===""&&(w.source=w.source.replace("#","")),_=w.source.replace("?"+w.query,"")):"(unknown)"},set:function(_,w,x){if(_){var k=w.split("."),D=k.length;if(!(D<1))if(D!==1)try{for(var S=_[k[0]]||{},O=S,C=1;C<D-1;++C)S[k[C]]=S[k[C]]||{},S=S[k[C]];S[k[D-1]]=x,_[k[0]]=O}catch{return}else _[k[0]]=x}},setupJSON:function(_){l(o.stringify)&&l(o.parse)||(s(JSON,"undefined")||(_?(d(JSON.stringify)&&(o.stringify=JSON.stringify),d(JSON.parse)&&(o.parse=JSON.parse)):(l(JSON.stringify)&&(o.stringify=JSON.stringify),l(JSON.parse)&&(o.parse=JSON.parse))),l(o.stringify)&&l(o.parse)||_&&_(o))},stringify:p,maxByteSize:function(_){for(var w=0,x=_.length,k=0;k<x;k++){var D=_.charCodeAt(k);D<128?w+=1:D<2048?w+=2:D<65536&&(w+=3)}return w},typeName:u,uuid4:m}},function(r,n,a){a(17);var i=a(18),o=a(0);r.exports={error:function(){var s=Array.prototype.slice.call(arguments,0);s.unshift("Rollbar:"),i.ieVersion()<=8?console.error(o.formatArgsAsString(s)):console.error.apply(console,s)},info:function(){var s=Array.prototype.slice.call(arguments,0);s.unshift("Rollbar:"),i.ieVersion()<=8?console.info(o.formatArgsAsString(s)):console.info.apply(console,s)},log:function(){var s=Array.prototype.slice.call(arguments,0);s.unshift("Rollbar:"),i.ieVersion()<=8?console.log(o.formatArgsAsString(s)):console.log.apply(console,s)}}},function(r,n,a){r.exports={parse:function(i){var o,s,u={protocol:null,auth:null,host:null,path:null,hash:null,href:i,hostname:null,port:null,pathname:null,search:null,query:null};if((o=i.indexOf("//"))!==-1?(u.protocol=i.substring(0,o),s=o+2):s=0,(o=i.indexOf("@",s))!==-1&&(u.auth=i.substring(s,o),s=o+1),(o=i.indexOf("/",s))===-1){if((o=i.indexOf("?",s))===-1)return(o=i.indexOf("#",s))===-1?u.host=i.substring(s):(u.host=i.substring(s,o),u.hash=i.substring(o)),u.hostname=u.host.split(":")[0],u.port=u.host.split(":")[1],u.port&&(u.port=parseInt(u.port,10)),u;u.host=i.substring(s,o),u.hostname=u.host.split(":")[0],u.port=u.host.split(":")[1],u.port&&(u.port=parseInt(u.port,10)),s=o}else u.host=i.substring(s,o),u.hostname=u.host.split(":")[0],u.port=u.host.split(":")[1],u.port&&(u.port=parseInt(u.port,10)),s=o;if((o=i.indexOf("#",s))===-1?u.path=i.substring(s):(u.path=i.substring(s,o),u.hash=i.substring(o)),u.path){var l=u.path.split("?");u.pathname=l[0],u.query=l[1],u.search=u.query?"?"+u.query:null}return u}}},function(r,n,a){var i=a(22),o=new RegExp("^(([a-zA-Z0-9-_$ ]*): *)?(Uncaught )?([a-zA-Z0-9-_$ ]*): ");function s(){return null}function u(c){var m={};return m._stackFrame=c,m.url=c.fileName,m.line=c.lineNumber,m.func=c.functionName,m.column=c.columnNumber,m.args=c.args,m.context=null,m}function l(c,m){return{stack:function(){var f=[];m=m||0;try{f=i.parse(c)}catch{f=[]}for(var p=[],h=m;h<f.length;h++)p.push(new u(f[h]));return p}(),message:c.message,name:d(c),rawStack:c.stack,rawException:c}}function d(c){var m=c.name&&c.name.length&&c.name,f=c.constructor.name&&c.constructor.name.length&&c.constructor.name;return m&&f?m==="Error"?f:m:m||f}r.exports={guessFunctionName:function(){return"?"},guessErrorClass:function(c){if(!c||!c.match)return["Unknown error. There was no error message to display.",""];var m=c.match(o),f="(unknown)";return m&&(f=m[m.length-1],c=(c=c.replace((m[m.length-2]||"")+f+":","")).replace(/(^[\s]+|[\s]+$)/g,"")),[f,c]},gatherContext:s,parse:function(c,m){var f=c;if(f.nested){for(var p=[];f;)p.push(new l(f,m)),f=f.nested,m=0;return p[0].traceChain=p,p[0]}return new l(f,m)},Stack:l,Frame:u}},function(r,n,a){var i=a(0),o=a(5);function s(u,l){var d=l.split("."),c=d.length-1;try{for(var m=0;m<=c;++m)m<c?u=u[d[m]]:u[d[m]]=i.redact()}catch{}}r.exports=function(u,l,d){if(l=l||[],d)for(var c=0;c<d.length;++c)s(u,d[c]);var m=function(h){for(var v,y=[],b=0;b<h.length;++b)v="^\\[?(%5[bB])?"+h[b]+"\\[?(%5[bB])?\\]?(%5[dD])?$",y.push(new RegExp(v,"i"));return y}(l),f=function(h){for(var v,y=[],b=0;b<h.length;++b)v="\\[?(%5[bB])?"+h[b]+"\\[?(%5[bB])?\\]?(%5[dD])?",y.push(new RegExp("("+v+"=)([^&\\n]+)","igm"));return y}(l);function p(h,v){return v+i.redact()}return o(u,function h(v,y,b){var g=function(_,w){var x;for(x=0;x<m.length;++x)if(m[x].test(_)){w=i.redact();break}return w}(v,y);return g===y?i.isType(y,"object")||i.isType(y,"array")?o(y,h,b):function(_){var w;if(i.isType(_,"string"))for(w=0;w<f.length;++w)_=_.replace(f[w],p);return _}(g):g})}},function(r,n,a){var i=a(0);r.exports=function(o,s,u){var l,d,c,m,f=i.isType(o,"object"),p=i.isType(o,"array"),h=[];if(u=u||{obj:[],mapped:[]},f){if(m=u.obj.indexOf(o),f&&m!==-1)return u.mapped[m]||u.obj[m];u.obj.push(o),m=u.obj.length-1}if(f)for(l in o)Object.prototype.hasOwnProperty.call(o,l)&&h.push(l);else if(p)for(c=0;c<o.length;++c)h.push(c);var v=f?{}:[],y=!0;for(c=0;c<h.length;++c)d=o[l=h[c]],v[l]=s(l,d,u),y=y&&v[l]===o[l];return f&&!y&&(u.mapped[m]=v),y?o:v}},function(r,n,a){r.exports=a(7)},function(r,n,a){var i=a(8),o=typeof window<"u"&&window._rollbarConfig,s=o&&o.globalAlias||"Rollbar",u=typeof window<"u"&&window[s]&&typeof window[s].shimId=="function"&&window[s].shimId()!==void 0;if(typeof window>"u"||window._rollbarStartTime||(window._rollbarStartTime=new Date().getTime()),!u&&o){var l=new i(o);window[s]=l}else typeof window<"u"?(window.rollbar=i,window._rollbarDidLoad=!0):typeof self<"u"&&(self.rollbar=i,self._rollbarDidLoad=!0);r.exports=i},function(r,n,a){var i=a(9),o=a(29),s=a(30),u=a(32),l=a(34),d=a(4),c=a(35);i.setComponents({telemeter:o,instrumenter:s,polyfillJSON:u,wrapGlobals:l,scrub:d,truncation:c}),r.exports=i},function(r,n,a){var i=a(10),o=a(0),s=a(15),u=a(1),l=a(19),d=a(20),c=a(2),m=a(21),f=a(24),p=a(25),h=a(26),v=a(3);function y(S,O){this.options=o.handleOptions(D,S,null,u),this.options._configuredOptions=S;var C=this.components.telemeter,E=this.components.instrumenter,T=this.components.polyfillJSON;this.wrapGlobals=this.components.wrapGlobals,this.scrub=this.components.scrub;var $=this.components.truncation,I=new d($),W=new s(this.options,I,c,$);C&&(this.telemeter=new C(this.options)),this.client=O||new i(this.options,W,u,this.telemeter,"browser");var U=w(),M=typeof document<"u"&&document;this.isChrome=U.chrome&&U.chrome.runtime,this.anonymousErrorsPending=0,function(P,A,j){P.addTransform(m.handleDomException).addTransform(m.handleItemWithError).addTransform(m.ensureItemHasSomethingToSay).addTransform(m.addBaseInfo).addTransform(m.addRequestInfo(j)).addTransform(m.addClientInfo(j)).addTransform(m.addPluginInfo(j)).addTransform(m.addBody).addTransform(f.addMessageWithError).addTransform(f.addTelemetryData).addTransform(f.addConfigToPayload).addTransform(m.addScrubber(A.scrub)).addTransform(f.userTransform(u)).addTransform(f.addConfiguredOptions).addTransform(f.addDiagnosticKeys).addTransform(f.itemToPayload)}(this.client.notifier,this,U),this.client.queue.addPredicate(h.checkLevel).addPredicate(p.checkIgnore).addPredicate(h.userCheckIgnore(u)).addPredicate(h.urlIsNotBlockListed(u)).addPredicate(h.urlIsSafeListed(u)).addPredicate(h.messageIsIgnored(u)),this.setupUnhandledCapture(),E&&(this.instrumenter=new E(this.options,this.client.telemeter,this,U,M),this.instrumenter.instrument()),o.setupJSON(T)}var b=null;function g(S){var O="Rollbar is not initialized";u.error(O),S&&S(new Error(O))}function _(S){for(var O=0,C=S.length;O<C;++O)if(o.isFunction(S[O]))return S[O]}function w(){return typeof window<"u"&&window||typeof self<"u"&&self}y.init=function(S,O){return b?b.global(S).configure(S):b=new y(S,O)},y.prototype.components={},y.setComponents=function(S){y.prototype.components=S},y.prototype.global=function(S){return this.client.global(S),this},y.global=function(S){if(b)return b.global(S);g()},y.prototype.configure=function(S,O){var C=this.options,E={};return O&&(E={payload:O}),this.options=o.handleOptions(C,S,E,u),this.options._configuredOptions=o.handleOptions(C._configuredOptions,S,E),this.client.configure(this.options,O),this.instrumenter&&this.instrumenter.configure(this.options),this.setupUnhandledCapture(),this},y.configure=function(S,O){if(b)return b.configure(S,O);g()},y.prototype.lastError=function(){return this.client.lastError},y.lastError=function(){if(b)return b.lastError();g()},y.prototype.log=function(){var S=this._createItem(arguments),O=S.uuid;return this.client.log(S),{uuid:O}},y.log=function(){if(b)return b.log.apply(b,arguments);var S=_(arguments);g(S)},y.prototype.debug=function(){var S=this._createItem(arguments),O=S.uuid;return this.client.debug(S),{uuid:O}},y.debug=function(){if(b)return b.debug.apply(b,arguments);var S=_(arguments);g(S)},y.prototype.info=function(){var S=this._createItem(arguments),O=S.uuid;return this.client.info(S),{uuid:O}},y.info=function(){if(b)return b.info.apply(b,arguments);var S=_(arguments);g(S)},y.prototype.warn=function(){var S=this._createItem(arguments),O=S.uuid;return this.client.warn(S),{uuid:O}},y.warn=function(){if(b)return b.warn.apply(b,arguments);var S=_(arguments);g(S)},y.prototype.warning=function(){var S=this._createItem(arguments),O=S.uuid;return this.client.warning(S),{uuid:O}},y.warning=function(){if(b)return b.warning.apply(b,arguments);var S=_(arguments);g(S)},y.prototype.error=function(){var S=this._createItem(arguments),O=S.uuid;return this.client.error(S),{uuid:O}},y.error=function(){if(b)return b.error.apply(b,arguments);var S=_(arguments);g(S)},y.prototype.critical=function(){var S=this._createItem(arguments),O=S.uuid;return this.client.critical(S),{uuid:O}},y.critical=function(){if(b)return b.critical.apply(b,arguments);var S=_(arguments);g(S)},y.prototype.buildJsonPayload=function(S){return this.client.buildJsonPayload(S)},y.buildJsonPayload=function(){if(b)return b.buildJsonPayload.apply(b,arguments);g()},y.prototype.sendJsonPayload=function(S){return this.client.sendJsonPayload(S)},y.sendJsonPayload=function(){if(b)return b.sendJsonPayload.apply(b,arguments);g()},y.prototype.setupUnhandledCapture=function(){var S=w();this.unhandledExceptionsInitialized||(this.options.captureUncaught||this.options.handleUncaughtExceptions)&&(l.captureUncaughtExceptions(S,this),this.wrapGlobals&&this.options.wrapGlobalEventHandlers&&this.wrapGlobals(S,this),this.unhandledExceptionsInitialized=!0),this.unhandledRejectionsInitialized||(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections)&&(l.captureUnhandledRejections(S,this),this.unhandledRejectionsInitialized=!0)},y.prototype.handleUncaughtException=function(S,O,C,E,T,$){if(this.options.captureUncaught||this.options.handleUncaughtExceptions){if(this.options.inspectAnonymousErrors&&this.isChrome&&T===null&&O==="")return"anonymous";var I,W=o.makeUnhandledStackInfo(S,O,C,E,T,"onerror","uncaught exception",v);o.isError(T)?(I=this._createItem([S,T,$]))._unhandledStackInfo=W:o.isError(O)?(I=this._createItem([S,O,$]))._unhandledStackInfo=W:(I=this._createItem([S,$])).stackInfo=W,I.level=this.options.uncaughtErrorLevel,I._isUncaught=!0,this.client.log(I)}},y.prototype.handleAnonymousErrors=function(){if(this.options.inspectAnonymousErrors&&this.isChrome){var S=this;try{Error.prepareStackTrace=function(O,C){if(S.options.inspectAnonymousErrors&&S.anonymousErrorsPending){if(S.anonymousErrorsPending-=1,!O)return;O._isAnonymous=!0,S.handleUncaughtException(O.message,null,null,null,O)}return O.stack}}catch(O){this.options.inspectAnonymousErrors=!1,this.error("anonymous error handler failed",O)}}},y.prototype.handleUnhandledRejection=function(S,O){if(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections){var C="unhandled rejection was null or undefined!";if(S)if(S.message)C=S.message;else{var E=o.stringify(S);E.value&&(C=E.value)}var T,$=S&&S._rollbarContext||O&&O._rollbarContext;o.isError(S)?T=this._createItem([C,S,$]):(T=this._createItem([C,S,$])).stackInfo=o.makeUnhandledStackInfo(C,"",0,0,null,"unhandledrejection","",v),T.level=this.options.uncaughtErrorLevel,T._isUncaught=!0,T._originalArgs=T._originalArgs||[],T._originalArgs.push(O),this.client.log(T)}},y.prototype.wrap=function(S,O,C){try{var E;if(E=o.isFunction(O)?O:function(){return O||{}},!o.isFunction(S)||S._isWrap)return S;if(!S._rollbar_wrapped&&(S._rollbar_wrapped=function(){C&&o.isFunction(C)&&C.apply(this,arguments);try{return S.apply(this,arguments)}catch(I){var $=I;throw $&&window._rollbarWrappedError!==$&&(o.isType($,"string")&&($=new String($)),$._rollbarContext=E()||{},$._rollbarContext._wrappedSource=S.toString(),window._rollbarWrappedError=$),$}},S._rollbar_wrapped._isWrap=!0,S.hasOwnProperty))for(var T in S)S.hasOwnProperty(T)&&T!=="_rollbar_wrapped"&&(S._rollbar_wrapped[T]=S[T]);return S._rollbar_wrapped}catch{return S}},y.wrap=function(S,O){if(b)return b.wrap(S,O);g()},y.prototype.captureEvent=function(){var S=o.createTelemetryEvent(arguments);return this.client.captureEvent(S.type,S.metadata,S.level)},y.captureEvent=function(){if(b)return b.captureEvent.apply(b,arguments);g()},y.prototype.captureDomContentLoaded=function(S,O){return O||(O=new Date),this.client.captureDomContentLoaded(O)},y.prototype.captureLoad=function(S,O){return O||(O=new Date),this.client.captureLoad(O)},y.prototype.loadFull=function(){u.info("Unexpected Rollbar.loadFull() called on a Notifier instance. This can happen when Rollbar is loaded multiple times.")},y.prototype._createItem=function(S){return o.createItem(S,u,this)};var x=a(27),k=a(28),D={version:x.version,scrubFields:k.scrubFields,logLevel:x.logLevel,reportLevel:x.reportLevel,uncaughtErrorLevel:x.uncaughtErrorLevel,endpoint:x.endpoint,verbose:!1,enabled:!0,transmit:!0,sendConfig:!1,includeItemsInTelemetry:!0,captureIp:!0,inspectAnonymousErrors:!0,ignoreDuplicateErrors:!0,wrapGlobalEventHandlers:!1};r.exports=y},function(r,n,a){var i=a(11),o=a(13),s=a(14),u=a(0);function l(m,f,p,h,v){this.options=u.merge(m),this.logger=p,l.rateLimiter.configureGlobal(this.options),l.rateLimiter.setPlatformOptions(v,this.options),this.api=f,this.queue=new o(l.rateLimiter,f,p,this.options);var y=this.options.tracer||null;c(y)?(this.tracer=y,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier=new s(this.queue,this.options),this.telemeter=h,d(m),this.lastError=null,this.lastErrorHash="none"}function d(m){m.stackTraceLimit&&(Error.stackTraceLimit=m.stackTraceLimit)}function c(m){if(!m||!m.scope||typeof m.scope!="function")return!1;var f=m.scope();return!(!f||!f.active||typeof f.active!="function")}l.rateLimiter=new i({maxItems:0,itemsPerMinute:60}),l.prototype.global=function(m){return l.rateLimiter.configureGlobal(m),this},l.prototype.configure=function(m,f){var p=this.options,h={};f&&(h={payload:f}),this.options=u.merge(p,m,h);var v=this.options.tracer||null;return c(v)?(this.tracer=v,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier&&this.notifier.configure(this.options),this.telemeter&&this.telemeter.configure(this.options),d(m),this.global(this.options),c(m.tracer)&&(this.tracer=m.tracer),this},l.prototype.log=function(m){var f=this._defaultLogLevel();return this._log(f,m)},l.prototype.debug=function(m){this._log("debug",m)},l.prototype.info=function(m){this._log("info",m)},l.prototype.warn=function(m){this._log("warning",m)},l.prototype.warning=function(m){this._log("warning",m)},l.prototype.error=function(m){this._log("error",m)},l.prototype.critical=function(m){this._log("critical",m)},l.prototype.wait=function(m){this.queue.wait(m)},l.prototype.captureEvent=function(m,f,p){return this.telemeter&&this.telemeter.captureEvent(m,f,p)},l.prototype.captureDomContentLoaded=function(m){return this.telemeter&&this.telemeter.captureDomContentLoaded(m)},l.prototype.captureLoad=function(m){return this.telemeter&&this.telemeter.captureLoad(m)},l.prototype.buildJsonPayload=function(m){return this.api.buildJsonPayload(m)},l.prototype.sendJsonPayload=function(m){this.api.postJsonPayload(m)},l.prototype._log=function(m,f){var p;if(f.callback&&(p=f.callback,delete f.callback),this.options.ignoreDuplicateErrors&&this._sameAsLastError(f)){if(p){var h=new Error("ignored identical item");h.item=f,p(h)}}else try{this._addTracingInfo(f),f.level=f.level||m,this.telemeter&&this.telemeter._captureRollbarItem(f),f.telemetryEvents=this.telemeter&&this.telemeter.copyEvents()||[],this.notifier.log(f,p)}catch(v){p&&p(v),this.logger.error(v)}},l.prototype._defaultLogLevel=function(){return this.options.logLevel||"debug"},l.prototype._sameAsLastError=function(m){if(!m._isUncaught)return!1;var f=function(p){var h=p.message||"",v=(p.err||{}).stack||String(p.err);return h+"::"+v}(m);return this.lastErrorHash===f||(this.lastError=m.err,this.lastErrorHash=f,!1)},l.prototype._addTracingInfo=function(m){if(this.tracer){var f=this.tracer.scope().active();if(function(v){if(!v||!v.context||typeof v.context!="function")return!1;var y=v.context();return!(!y||!y.toSpanId||!y.toTraceId||typeof y.toSpanId!="function"||typeof y.toTraceId!="function")}(f)){f.setTag("rollbar.error_uuid",m.uuid),f.setTag("rollbar.has_error",!0),f.setTag("error",!0),f.setTag("rollbar.item_url","https://rollbar.com/item/uuid/?uuid="+m.uuid),f.setTag("rollbar.occurrence_url","https://rollbar.com/occurrence/uuid/?uuid="+m.uuid);var p=f.context().toSpanId(),h=f.context().toTraceId();m.custom?(m.custom.opentracing_span_id=p,m.custom.opentracing_trace_id=h):m.custom={opentracing_span_id:p,opentracing_trace_id:h}}}},r.exports=l},function(r,n,a){var i=a(0);function o(l){this.startTime=i.now(),this.counter=0,this.perMinCounter=0,this.platform=null,this.platformOptions={},this.configureGlobal(l)}function s(l,d,c){return!l.ignoreRateLimit&&d>=1&&c>d}function u(l,d,c,m,f,p,h){var v=null;return c&&(c=new Error(c)),c||m||(v=function(y,b,g,_,w){var x,k=b.environment||b.payload&&b.payload.environment;x=w?"item per minute limit reached, ignoring errors until timeout":"maxItems has been hit, ignoring errors until reset.";var D={body:{message:{body:x,extra:{maxItems:g,itemsPerMinute:_}}},language:"javascript",environment:k,notifier:{version:b.notifier&&b.notifier.version||b.version}};return y==="browser"?(D.platform="browser",D.framework="browser-js",D.notifier.name="rollbar-browser-js"):y==="server"?(D.framework=b.framework||"node-js",D.notifier.name=b.notifier.name):y==="react-native"&&(D.framework=b.framework||"react-native",D.notifier.name=b.notifier.name),D}(l,d,f,p,h)),{error:c,shouldSend:m,payload:v}}o.globalSettings={startTime:i.now(),maxItems:void 0,itemsPerMinute:void 0},o.prototype.configureGlobal=function(l){l.startTime!==void 0&&(o.globalSettings.startTime=l.startTime),l.maxItems!==void 0&&(o.globalSettings.maxItems=l.maxItems),l.itemsPerMinute!==void 0&&(o.globalSettings.itemsPerMinute=l.itemsPerMinute)},o.prototype.shouldSend=function(l,d){var c=(d=d||i.now())-this.startTime;(c<0||c>=6e4)&&(this.startTime=d,this.perMinCounter=0);var m=o.globalSettings.maxItems,f=o.globalSettings.itemsPerMinute;if(s(l,m,this.counter))return u(this.platform,this.platformOptions,m+" max items reached",!1);if(s(l,f,this.perMinCounter))return u(this.platform,this.platformOptions,f+" items per minute reached",!1);this.counter++,this.perMinCounter++;var p=!s(l,m,this.counter),h=p;return p=p&&!s(l,f,this.perMinCounter),u(this.platform,this.platformOptions,null,p,m,f,h)},o.prototype.setPlatformOptions=function(l,d){this.platform=l,this.platformOptions=d},r.exports=o},function(r,n,a){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,s=function(u){if(!u||o.call(u)!=="[object Object]")return!1;var l,d=i.call(u,"constructor"),c=u.constructor&&u.constructor.prototype&&i.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!d&&!c)return!1;for(l in u);return l===void 0||i.call(u,l)};r.exports=function u(){var l,d,c,m,f,p={},h=null,v=arguments.length;for(l=0;l<v;l++)if((h=arguments[l])!=null)for(f in h)d=p[f],p!==(c=h[f])&&(c&&s(c)?(m=d&&s(d)?d:{},p[f]=u(m,c)):c!==void 0&&(p[f]=c));return p}},function(r,n,a){var i=a(0);function o(u,l,d,c){this.rateLimiter=u,this.api=l,this.logger=d,this.options=c,this.predicates=[],this.pendingItems=[],this.pendingRequests=[],this.retryQueue=[],this.retryHandle=null,this.waitCallback=null,this.waitIntervalID=null}o.prototype.configure=function(u){this.api&&this.api.configure(u);var l=this.options;return this.options=i.merge(l,u),this},o.prototype.addPredicate=function(u){return i.isFunction(u)&&this.predicates.push(u),this},o.prototype.addPendingItem=function(u){this.pendingItems.push(u)},o.prototype.removePendingItem=function(u){var l=this.pendingItems.indexOf(u);l!==-1&&this.pendingItems.splice(l,1)},o.prototype.addItem=function(u,l,d,c){l&&i.isFunction(l)||(l=function(){});var m=this._applyPredicates(u);if(m.stop)return this.removePendingItem(c),void l(m.err);if(this._maybeLog(u,d),this.removePendingItem(c),this.options.transmit){this.pendingRequests.push(u);try{this._makeApiRequest(u,function(f,p){this._dequeuePendingRequest(u),l(f,p)}.bind(this))}catch(f){this._dequeuePendingRequest(u),l(f)}}else l(new Error("Transmit disabled"))},o.prototype.wait=function(u){i.isFunction(u)&&(this.waitCallback=u,this._maybeCallWait()||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitIntervalID=setInterval(function(){this._maybeCallWait()}.bind(this),500)))},o.prototype._applyPredicates=function(u){for(var l=null,d=0,c=this.predicates.length;d<c;d++)if(!(l=this.predicates[d](u,this.options))||l.err!==void 0)return{stop:!0,err:l.err};return{stop:!1,err:null}},o.prototype._makeApiRequest=function(u,l){var d=this.rateLimiter.shouldSend(u);d.shouldSend?this.api.postItem(u,function(c,m){c?this._maybeRetry(c,u,l):l(c,m)}.bind(this)):d.error?l(d.error):this.api.postItem(d.payload,l)};var s=["ECONNRESET","ENOTFOUND","ESOCKETTIMEDOUT","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH","EPIPE","EAI_AGAIN"];o.prototype._maybeRetry=function(u,l,d){var c=!1;if(this.options.retryInterval){for(var m=0,f=s.length;m<f;m++)if(u.code===s[m]){c=!0;break}}c?this._retryApiRequest(l,d):d(u)},o.prototype._retryApiRequest=function(u,l){this.retryQueue.push({item:u,callback:l}),this.retryHandle||(this.retryHandle=setInterval(function(){for(;this.retryQueue.length;){var d=this.retryQueue.shift();this._makeApiRequest(d.item,d.callback)}}.bind(this),this.options.retryInterval))},o.prototype._dequeuePendingRequest=function(u){var l=this.pendingRequests.indexOf(u);l!==-1&&(this.pendingRequests.splice(l,1),this._maybeCallWait())},o.prototype._maybeLog=function(u,l){if(this.logger&&this.options.verbose){var d=l;if(d=(d=d||i.get(u,"body.trace.exception.message"))||i.get(u,"body.trace_chain.0.exception.message"))return void this.logger.error(d);(d=i.get(u,"body.message.body"))&&this.logger.log(d)}},o.prototype._maybeCallWait=function(){return!(!i.isFunction(this.waitCallback)||this.pendingItems.length!==0||this.pendingRequests.length!==0)&&(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitCallback(),!0)},r.exports=o},function(r,n,a){var i=a(0);function o(s,u){this.queue=s,this.options=u,this.transforms=[],this.diagnostic={}}o.prototype.configure=function(s){this.queue&&this.queue.configure(s);var u=this.options;return this.options=i.merge(u,s),this},o.prototype.addTransform=function(s){return i.isFunction(s)&&this.transforms.push(s),this},o.prototype.log=function(s,u){if(u&&i.isFunction(u)||(u=function(){}),!this.options.enabled)return u(new Error("Rollbar is not enabled"));this.queue.addPendingItem(s);var l=s.err;this._applyTransforms(s,function(d,c){if(d)return this.queue.removePendingItem(s),u(d,null);this.queue.addItem(c,u,l,s)}.bind(this))},o.prototype._applyTransforms=function(s,u){var l=-1,d=this.transforms.length,c=this.transforms,m=this.options,f=function(p,h){p?u(p,null):++l!==d?c[l](h,m,f):u(null,h)};f(null,s)},r.exports=o},function(r,n,a){var i=a(0),o=a(16),s={hostname:"api.rollbar.com",path:"/api/1/item/",search:null,version:"1",protocol:"https:",port:443};function u(d,c,m,f,p){this.options=d,this.transport=c,this.url=m,this.truncation=f,this.jsonBackup=p,this.accessToken=d.accessToken,this.transportOptions=l(d,m)}function l(d,c){return o.getTransportFromOptions(d,s,c)}u.prototype.postItem=function(d,c){var m=o.transportOptions(this.transportOptions,"POST"),f=o.buildPayload(this.accessToken,d,this.jsonBackup);this.transport.post(this.accessToken,m,f,c)},u.prototype.buildJsonPayload=function(d,c){var m,f=o.buildPayload(this.accessToken,d,this.jsonBackup);return(m=this.truncation?this.truncation.truncate(f):i.stringify(f)).error?(c&&c(m.error),null):m.value},u.prototype.postJsonPayload=function(d,c){var m=o.transportOptions(this.transportOptions,"POST");this.transport.postJsonPayload(this.accessToken,m,d,c)},u.prototype.configure=function(d){var c=this.oldOptions;return this.options=i.merge(c,d),this.transportOptions=l(this.options,this.url),this.options.accessToken!==void 0&&(this.accessToken=this.options.accessToken),this},r.exports=u},function(r,n,a){var i=a(0);r.exports={buildPayload:function(o,s,u){if(!i.isType(s.context,"string")){var l=i.stringify(s.context,u);l.error?s.context="Error: could not serialize 'context'":s.context=l.value||"",s.context.length>255&&(s.context=s.context.substr(0,255))}return{access_token:o,data:s}},getTransportFromOptions:function(o,s,u){var l=s.hostname,d=s.protocol,c=s.port,m=s.path,f=s.search,p=o.proxy;if(o.endpoint){var h=u.parse(o.endpoint);l=h.hostname,d=h.protocol,c=h.port,m=h.pathname,f=h.search}return{hostname:l,protocol:d,port:c,path:m,search:f,proxy:p}},transportOptions:function(o,s){var u=o.protocol||"https:",l=o.port||(u==="http:"?80:u==="https:"?443:void 0),d=o.hostname,c=o.path;return o.search&&(c+=o.search),o.proxy&&(c=u+"//"+d+c,d=o.proxy.host||o.proxy.hostname,l=o.proxy.port,u=o.proxy.protocol||u),{protocol:u,hostname:d,path:c,port:l,method:s}},appendPathToPath:function(o,s){var u=/\/$/.test(o),l=/^\//.test(s);return u&&l?s=s.substring(1):u||l||(s="/"+s),o+s}}},function(r,n){(function(a){a.console||(a.console={});for(var i,o,s=a.console,u=function(){},l=["memory"],d="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");i=l.pop();)s[i]||(s[i]={});for(;o=d.pop();)s[o]||(s[o]=u)})(typeof window>"u"?this:window)},function(r,n,a){var i={ieVersion:function(){if(typeof document<"u"){for(var o=3,s=document.createElement("div"),u=s.getElementsByTagName("i");s.innerHTML="<!--[if gt IE "+ ++o+"]><i></i><![endif]-->",u[0];);return o>4?o:void 0}}};r.exports=i},function(r,n,a){function i(o,s,u,l){o._rollbarWrappedError&&(l[4]||(l[4]=o._rollbarWrappedError),l[5]||(l[5]=o._rollbarWrappedError._rollbarContext),o._rollbarWrappedError=null);var d=s.handleUncaughtException.apply(s,l);u&&u.apply(o,l),d==="anonymous"&&(s.anonymousErrorsPending+=1)}r.exports={captureUncaughtExceptions:function(o,s,u){if(o){var l;if(typeof s._rollbarOldOnError=="function")l=s._rollbarOldOnError;else if(o.onerror){for(l=o.onerror;l._rollbarOldOnError;)l=l._rollbarOldOnError;s._rollbarOldOnError=l}s.handleAnonymousErrors();var d=function(){var c=Array.prototype.slice.call(arguments,0);i(o,s,l,c)};u&&(d._rollbarOldOnError=l),o.onerror=d}},captureUnhandledRejections:function(o,s,u){if(o){typeof o._rollbarURH=="function"&&o._rollbarURH.belongsToShim&&o.removeEventListener("unhandledrejection",o._rollbarURH);var l=function(d){var c,m,f;try{c=d.reason}catch{c=void 0}try{m=d.promise}catch{m="[unhandledrejection] error getting `promise` from event"}try{f=d.detail,!c&&f&&(c=f.reason,m=f.promise)}catch{}c||(c="[unhandledrejection] error getting `reason` from event"),s&&s.handleUnhandledRejection&&s.handleUnhandledRejection(c,m)};l.belongsToShim=u,o._rollbarURH=l,o.addEventListener("unhandledrejection",l)}}}},function(r,n,a){var i=a(0),o=a(1);function s(c){this.truncation=c}function u(c,m,f,p,h,v){var y=typeof window<"u"&&window||typeof self<"u"&&self,b=y&&y.Zone&&y.Zone.current;b&&b._name==="angular"?b._parent.run(function(){l(c,m,f,p,h,v)}):l(c,m,f,p,h,v)}function l(c,m,f,p,h,v){if(typeof RollbarProxy<"u")return function(_,w){new RollbarProxy().sendJsonPayload(_,function(x){},function(x){w(new Error(x))})}(p,h);var y;if(!(y=v?v():function(){var _,w,x=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],k=x.length;for(w=0;w<k;w++)try{_=x[w]();break}catch{}return _}()))return h(new Error("No way to send a request"));try{try{var b=function(){try{if(b&&y.readyState===4){b=void 0;var _=i.jsonParse(y.responseText);if((k=y)&&k.status&&k.status===200)return void h(_.error,_.value);if(function(D){return D&&i.isType(D.status,"number")&&D.status>=400&&D.status<600}(y)){if(y.status===403){var w=_.value&&_.value.message;o.error(w)}h(new Error(String(y.status)))}else h(d("XHR response had no status code (likely connection failure)"))}}catch(D){var x;x=D&&D.stack?D:new Error(D),h(x)}var k};y.open(f,m,!0),y.setRequestHeader&&(y.setRequestHeader("Content-Type","application/json"),y.setRequestHeader("X-Rollbar-Access-Token",c)),y.onreadystatechange=b,y.send(p)}catch{if(typeof XDomainRequest<"u"){if(!window||!window.location)return h(new Error("No window available during request, unknown environment"));window.location.href.substring(0,5)==="http:"&&m.substring(0,5)==="https"&&(m="http"+m.substring(5));var g=new XDomainRequest;g.onprogress=function(){},g.ontimeout=function(){h(d("Request timed out","ETIMEDOUT"))},g.onerror=function(){h(new Error("Error during request"))},g.onload=function(){var w=i.jsonParse(g.responseText);h(w.error,w.value)},g.open(f,m,!0),g.send(p)}else h(new Error("Cannot find a method to transport a request"))}}catch(_){h(_)}}function d(c,m){var f=new Error(c);return f.code=m||"ENOTFOUND",f}s.prototype.get=function(c,m,f,p,h){p&&i.isFunction(p)||(p=function(){}),i.addParamsAndAccessTokenToPath(c,m,f),u(c,i.formatUrl(m),"GET",null,p,h)},s.prototype.post=function(c,m,f,p,h){if(p&&i.isFunction(p)||(p=function(){}),!f)return p(new Error("Cannot send empty request"));var v;if((v=this.truncation?this.truncation.truncate(f):i.stringify(f)).error)return p(v.error);var y=v.value;u(c,i.formatUrl(m),"POST",y,p,h)},s.prototype.postJsonPayload=function(c,m,f,p,h){p&&i.isFunction(p)||(p=function(){}),u(c,i.formatUrl(m),"POST",f,p,h)},r.exports=s},function(r,n,a){var i=a(0),o=a(3),s=a(1);function u(m,f,p){var h=m.message,v=m.custom;h||(h="Item sent with null or missing arguments.");var y={body:h};v&&(y.extra=i.merge(v)),i.set(m,"data.body",{message:y}),p(null,m)}function l(m){var f=m.stackInfo.stack;return f&&f.length===0&&m._unhandledStackInfo&&m._unhandledStackInfo.stack&&(f=m._unhandledStackInfo.stack),f}function d(m,f,p){var h=m&&m.data.description,v=m&&m.custom,y=l(m),b=o.guessErrorClass(f.message),g={exception:{class:c(f,b[0],p),message:b[1]}};if(h&&(g.exception.description=h),y){var _,w,x,k,D,S,O,C;for(y.length===0&&(g.exception.stack=f.rawStack,g.exception.raw=String(f.rawException)),g.frames=[],O=0;O<y.length;++O)w={filename:(_=y[O]).url?i.sanitizeUrl(_.url):"(unknown)",lineno:_.line||null,method:_.func&&_.func!=="?"?_.func:"[anonymous]",colno:_.column},p.sendFrameUrl&&(w.url=_.url),w.method&&w.method.endsWith&&w.method.endsWith("_rollbar_wrapped")||(x=k=D=null,(S=_.context?_.context.length:0)&&(C=Math.floor(S/2),k=_.context.slice(0,C),x=_.context[C],D=_.context.slice(C)),x&&(w.code=x),(k||D)&&(w.context={},k&&k.length&&(w.context.pre=k),D&&D.length&&(w.context.post=D)),_.args&&(w.args=_.args),g.frames.push(w));g.frames.reverse(),v&&(g.extra=i.merge(v))}return g}function c(m,f,p){return m.name?m.name:p.guessErrorClass?f:"(unknown)"}r.exports={handleDomException:function(m,f,p){if(m.err&&o.Stack(m.err).name==="DOMException"){var h=new Error;h.name=m.err.name,h.message=m.err.message,h.stack=m.err.stack,h.nested=m.err,m.err=h}p(null,m)},handleItemWithError:function(m,f,p){if(m.data=m.data||{},m.err)try{m.stackInfo=m.err._savedStackTrace||o.parse(m.err,m.skipFrames),f.addErrorContext&&function(h){var v=[],y=h.err;for(v.push(y);y.nested;)y=y.nested,v.push(y);i.addErrorContext(h,v)}(m)}catch(h){s.error("Error while parsing the error object.",h);try{m.message=m.err.message||m.err.description||m.message||String(m.err)}catch(v){m.message=String(m.err)||String(v)}delete m.err}p(null,m)},ensureItemHasSomethingToSay:function(m,f,p){m.message||m.stackInfo||m.custom||p(new Error("No message, stack info, or custom data"),null),p(null,m)},addBaseInfo:function(m,f,p){var h=f.payload&&f.payload.environment||f.environment;m.data=i.merge(m.data,{environment:h,level:m.level,endpoint:f.endpoint,platform:"browser",framework:"browser-js",language:"javascript",server:{},uuid:m.uuid,notifier:{name:"rollbar-browser-js",version:f.version},custom:m.custom}),p(null,m)},addRequestInfo:function(m){return function(f,p,h){if(!m||!m.location)return h(null,f);var v="$remote_ip";p.captureIp?p.captureIp!==!0&&(v+="_anonymize"):v=null,i.set(f,"data.request",{url:m.location.href,query_string:m.location.search,user_ip:v}),h(null,f)}},addClientInfo:function(m){return function(f,p,h){if(!m)return h(null,f);var v=m.navigator||{},y=m.screen||{};i.set(f,"data.client",{runtime_ms:f.timestamp-m._rollbarStartTime,timestamp:Math.round(f.timestamp/1e3),javascript:{browser:v.userAgent,language:v.language,cookie_enabled:v.cookieEnabled,screen:{width:y.width,height:y.height}}}),h(null,f)}},addPluginInfo:function(m){return function(f,p,h){if(!m||!m.navigator)return h(null,f);for(var v,y=[],b=m.navigator.plugins||[],g=0,_=b.length;g<_;++g)v=b[g],y.push({name:v.name,description:v.description});i.set(f,"data.client.javascript.plugins",y),h(null,f)}},addBody:function(m,f,p){m.stackInfo?m.stackInfo.traceChain?function(h,v,y){for(var b=h.stackInfo.traceChain,g=[],_=b.length,w=0;w<_;w++){var x=d(h,b[w],v);g.push(x)}i.set(h,"data.body",{trace_chain:g}),y(null,h)}(m,f,p):function(h,v,y){if(l(h)){var b=d(h,h.stackInfo,v);i.set(h,"data.body",{trace:b}),y(null,h)}else{var g=h.stackInfo,_=o.guessErrorClass(g.message),w=c(g,_[0],v),x=_[1];h.message=w+": "+x,u(h,v,y)}}(m,f,p):u(m,f,p)},addScrubber:function(m){return function(f,p,h){if(m){var v=p.scrubFields||[],y=p.scrubPaths||[];f.data=m(f.data,v,y)}h(null,f)}}}},function(r,n,a){var i,o,s;(function(u,l){o=[a(23)],(s=typeof(i=function(d){var c=/(^|@)\S+:\d+/,m=/^\s*at .*(\S+:\d+|\(native\))/m,f=/^(eval@)?(\[native code])?$/;return{parse:function(p){if(p.stacktrace!==void 0||p["opera#sourceloc"]!==void 0)return this.parseOpera(p);if(p.stack&&p.stack.match(m))return this.parseV8OrIE(p);if(p.stack)return this.parseFFOrSafari(p);throw new Error("Cannot parse given Error object")},extractLocation:function(p){if(p.indexOf(":")===-1)return[p];var h=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(p.replace(/[()]/g,""));return[h[1],h[2]||void 0,h[3]||void 0]},parseV8OrIE:function(p){return p.stack.split(`
337
+ {{docLink}}/fastighetsbeteckning`,actionUrl:"{{docLink}}/fastighetsbeteckning"}},updateDocumentDialog:{title:"Change status and remove answer",message:"Your clients' answers will be removed.",cancel:"Cancel",submit:"Yes, continue"},editDocumentDialog:{accepted:{title:"Edit an accepted document",message:"The document is accepted and locked for changes. Create a copy to make changes.",submit:"Create copy"},hasAnswers:{title:"Edit document with signatures",message:"The document is locked for changes. Existing signatures will be removed.",submit:"Yes, continue"}}},resources:{brand:{cling:{termsOfService:{version:"cling_serviceavtal_sv_1.8",url:"https://api.cling.se/legal/terms"},privacyPolicy:{version:"cling_integritetspolicy_sv_1.8",url:"https://api.cling.se/legal/privacy"},apiDoc:"https://documenter.getpostman.com/view/1358621/Tzm3nxVw"},docspo:{termsOfService:{version:"docspo_terms_en_1.2",url:"https://api.docspo.com/legal/terms"},privacyPolicy:{version:"docspo_privacy_en_1.2",url:"https://api.docspo.com/legal/privacy"},apiDoc:"https://developer.docspo.com"}}},router:{settings:{company:"Company",user:"My Profile",document:"Document",members:"Members",membersForm:"Member",notifications:"Notifications",integrations:"Integrations",billing:"Billing",language:"Language",sms:"SMS sender name",emailDomain:"E-mail domain",subdomain:"Subdomain",websitesSocialMedia:"Social profiles",certificates:"Certificates",theme:"Theme",companyPresentation:"Presentation",tabPhotos:"Settings - Photos",photosVideos:"My Photos",invoice:{documentTitle:"Settings - Bookkeeping",contact:"Invoice - Contact",invoice:"Invoice - Settings",reminders:"Invoice - Reminders",paymentAcc:"Invoice - Payment account",bookkeeping:"Bookkeeping"},templates:"Settings - Templates",templateEditor:"Snippets",termForm:"Edit - Terms",termList:"My Terms"}},iso:{language:{sv:"Swedish",en:"English",fi:"Finish",de:"German",fr:"French",es:"Spanish",nl:"Dutch"}}},UPe=(t,e)=>{const r=t[e];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((n,a)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(a.bind(null,new Error("Unknown variable dynamic import: "+e)))})};var zPe={lessThanXSeconds:{one:"mindre \xE4n en sekund",other:"mindre \xE4n {{count}} sekunder"},xSeconds:{one:"en sekund",other:"{{count}} sekunder"},halfAMinute:"en halv minut",lessThanXMinutes:{one:"mindre \xE4n en minut",other:"mindre \xE4n {{count}} minuter"},xMinutes:{one:"en minut",other:"{{count}} minuter"},aboutXHours:{one:"ungef\xE4r en timme",other:"ungef\xE4r {{count}} timmar"},xHours:{one:"en timme",other:"{{count}} timmar"},xDays:{one:"en dag",other:"{{count}} dagar"},aboutXWeeks:{one:"ungef\xE4r en vecka",other:"ungef\xE4r {{count}} vecka"},xWeeks:{one:"en vecka",other:"{{count}} vecka"},aboutXMonths:{one:"ungef\xE4r en m\xE5nad",other:"ungef\xE4r {{count}} m\xE5nader"},xMonths:{one:"en m\xE5nad",other:"{{count}} m\xE5nader"},aboutXYears:{one:"ungef\xE4r ett \xE5r",other:"ungef\xE4r {{count}} \xE5r"},xYears:{one:"ett \xE5r",other:"{{count}} \xE5r"},overXYears:{one:"\xF6ver ett \xE5r",other:"\xF6ver {{count}} \xE5r"},almostXYears:{one:"n\xE4stan ett \xE5r",other:"n\xE4stan {{count}} \xE5r"}},BPe=["noll","en","tv\xE5","tre","fyra","fem","sex","sju","\xE5tta","nio","tio","elva","tolv"],HPe=function(e,r,n){var a,i=zPe[e];return typeof i=="string"?a=i:r===1?a=i.one:n&&n.onlyNumeric?a=i.other.replace("{{count}}",String(r)):a=i.other.replace("{{count}}",r<13?BPe[r]:String(r)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"om "+a:a+" sedan":a};const qPe=HPe;var YPe={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"y-MM-dd"},GPe={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},KPe={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},XPe={date:Cs({formats:YPe,defaultWidth:"full"}),time:Cs({formats:GPe,defaultWidth:"full"}),dateTime:Cs({formats:KPe,defaultWidth:"full"})};const JPe=XPe;var QPe={lastWeek:"'i' EEEE's kl.' p",yesterday:"'ig\xE5r kl.' p",today:"'idag kl.' p",tomorrow:"'imorgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},ZPe=function(e,r,n,a){return QPe[e]};const eke=ZPe;var tke={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["f\xF6re Kristus","efter Kristus"]},rke={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1:a kvartalet","2:a kvartalet","3:e kvartalet","4:e kvartalet"]},nke={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]},ake={narrow:["S","M","T","O","T","F","L"],short:["s\xF6","m\xE5","ti","on","to","fr","l\xF6"],abbreviated:["s\xF6n","m\xE5n","tis","ons","tors","fre","l\xF6r"],wide:["s\xF6ndag","m\xE5ndag","tisdag","onsdag","torsdag","fredag","l\xF6rdag"]},ike={narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"morg.",afternoon:"efterm.",evening:"kv\xE4ll",night:"natt"},abbreviated:{am:"f.m.",pm:"e.m.",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"efterm.",evening:"kv\xE4ll",night:"natt"},wide:{am:"f\xF6rmiddag",pm:"eftermiddag",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"eftermiddag",evening:"kv\xE4ll",night:"natt"}},oke={narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"p\xE5 morg.",afternoon:"p\xE5 efterm.",evening:"p\xE5 kv\xE4llen",night:"p\xE5 natten"},abbreviated:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"p\xE5 morg.",afternoon:"p\xE5 efterm.",evening:"p\xE5 kv\xE4llen",night:"p\xE5 natten"},wide:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"p\xE5 morgonen",afternoon:"p\xE5 eftermiddagen",evening:"p\xE5 kv\xE4llen",night:"p\xE5 natten"}},ske=function(e,r){var n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:case 2:return n+":a"}return n+":e"},uke={ordinalNumber:ske,era:Mn({values:tke,defaultWidth:"wide"}),quarter:Mn({values:rke,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Mn({values:nke,defaultWidth:"wide"}),day:Mn({values:ake,defaultWidth:"wide"}),dayPeriod:Mn({values:ike,defaultWidth:"wide",formattingValues:oke,defaultFormattingWidth:"wide"})};const lke=uke;var dke=/^(\d+)(:a|:e)?/i,cke=/\d+/i,fke={narrow:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,abbreviated:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,wide:/^(före Kristus|före vår tid|efter Kristus|vår tid)/i},mke={any:[/^f/i,/^[ev]/i]},pke={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](:a|:e)? kvartalet/i},hke={any:[/1/i,/2/i,/3/i,/4/i]},vke={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\.?/i,wide:/^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i},gke={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},yke={narrow:/^[smtofl]/i,short:/^(sö|må|ti|on|to|fr|lö)/i,abbreviated:/^(sön|mån|tis|ons|tors|fre|lör)/i,wide:/^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i},_ke={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},bke={any:/^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i},wke={any:{am:/^f/i,pm:/^e/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/eftermiddag/i,evening:/kväll/i,night:/natt/i}},xke={ordinalNumber:N4({matchPattern:dke,parsePattern:cke,valueCallback:function(e){return parseInt(e,10)}}),era:Sn({matchPatterns:fke,defaultMatchWidth:"wide",parsePatterns:mke,defaultParseWidth:"any"}),quarter:Sn({matchPatterns:pke,defaultMatchWidth:"wide",parsePatterns:hke,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Sn({matchPatterns:vke,defaultMatchWidth:"wide",parsePatterns:gke,defaultParseWidth:"any"}),day:Sn({matchPatterns:yke,defaultMatchWidth:"wide",parsePatterns:_ke,defaultParseWidth:"any"}),dayPeriod:Sn({matchPatterns:bke,defaultMatchWidth:"any",parsePatterns:wke,defaultParseWidth:"any"})},Pke={code:"sv",formatDistance:qPe,formatLong:JPe,formatRelative:eke,localize:lke,match:xke,options:{weekStartsOn:1,firstWeekContainsDate:4}};const kke=Pke,oU=["af","ar-DZ","ar-MA","ar-SA","az","be","bg","bn","ca","cs","cy","da","de","el","en-AU","en-CA","en-GB","en-US","eo","es","et","eu","fa-IR","fi","fr","fr-CA","gl","gu","he","hi","hr","hu","hy","id","is","it","ja","ka","kk","kn","ko","lt","lv","mk","ms","mt","nb","nl","nn","pl","pt","pt-BR","ro","ru","sk","sl","sr","sr-Latn","sv","ta","te","th","tr","ug","uk","uz","vi","zh-CN","zh-TW"];class sU{constructor(){this.observers={}}on(e,r){return e.split(" ").forEach(n=>{this.observers[n]=this.observers[n]||[],this.observers[n].push(r)}),this}off(e,r){if(!!this.observers[e]){if(!r){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(n=>n!==r)}}emit(e,...r){this.observers[e]&&[].concat(this.observers[e]).forEach(a=>{a(...r)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(a=>{a.apply(a,[e,...r])})}}const Tke=(t="")=>{if(typeof t!="string")return null;const[e]=t.split("-");return oU.includes(e)?e:null},Eke=()=>navigator&&navigator.languages&&Array.isArray(navigator.languages)&&navigator.languages[0]?navigator.languages[0]:navigator&&navigator.language?navigator.language:null,uU={lookup(t){let e=null;const r=Fe.getItem(t);return r&&(e=r),e},cacheUserLocale(t,e){Fe.setItem(t,e)}};class Mke{constructor(e={}){this.options={localStorageKey:"locale",...e}}detect(){const e=uU.lookup(this.options.localStorageKey)||Eke();return e&&typeof e=="string"?e:null}cacheUserLanguage(e){uU.cacheUserLocale(this.options.localStorageKey,e)}}const im={sv:kke,"en-US":V1};async function Ske(t){try{return UPe(Object.assign({"../../../node_modules/date-fns/locale/af/index.js":()=>Promise.resolve().then(()=>Wtt),"../../../node_modules/date-fns/locale/ar-DZ/index.js":()=>Promise.resolve().then(()=>jtt),"../../../node_modules/date-fns/locale/ar-EG/index.js":()=>Promise.resolve().then(()=>Utt),"../../../node_modules/date-fns/locale/ar-MA/index.js":()=>Promise.resolve().then(()=>Btt),"../../../node_modules/date-fns/locale/ar-SA/index.js":()=>Promise.resolve().then(()=>qtt),"../../../node_modules/date-fns/locale/ar-TN/index.js":()=>Promise.resolve().then(()=>Gtt),"../../../node_modules/date-fns/locale/ar/index.js":()=>Promise.resolve().then(()=>Xtt),"../../../node_modules/date-fns/locale/az/index.js":()=>Promise.resolve().then(()=>Qtt),"../../../node_modules/date-fns/locale/be-tarask/index.js":()=>Promise.resolve().then(()=>Rut),"../../../node_modules/date-fns/locale/be/index.js":()=>Promise.resolve().then(()=>Nut),"../../../node_modules/date-fns/locale/bg/index.js":()=>Promise.resolve().then(()=>Wut),"../../../node_modules/date-fns/locale/bn/index.js":()=>Promise.resolve().then(()=>Qut),"../../../node_modules/date-fns/locale/bs/index.js":()=>Promise.resolve().then(()=>elt),"../../../node_modules/date-fns/locale/ca/index.js":()=>Promise.resolve().then(()=>rlt),"../../../node_modules/date-fns/locale/cs/index.js":()=>Promise.resolve().then(()=>alt),"../../../node_modules/date-fns/locale/cy/index.js":()=>Promise.resolve().then(()=>olt),"../../../node_modules/date-fns/locale/da/index.js":()=>Promise.resolve().then(()=>ult),"../../../node_modules/date-fns/locale/de-AT/index.js":()=>Promise.resolve().then(()=>dlt),"../../../node_modules/date-fns/locale/de/index.js":()=>Promise.resolve().then(()=>flt),"../../../node_modules/date-fns/locale/el/index.js":()=>Promise.resolve().then(()=>plt),"../../../node_modules/date-fns/locale/en-AU/index.js":()=>Promise.resolve().then(()=>vlt),"../../../node_modules/date-fns/locale/en-CA/index.js":()=>Promise.resolve().then(()=>ylt),"../../../node_modules/date-fns/locale/en-GB/index.js":()=>Promise.resolve().then(()=>blt),"../../../node_modules/date-fns/locale/en-IE/index.js":()=>Promise.resolve().then(()=>xlt),"../../../node_modules/date-fns/locale/en-IN/index.js":()=>Promise.resolve().then(()=>klt),"../../../node_modules/date-fns/locale/en-NZ/index.js":()=>Promise.resolve().then(()=>Elt),"../../../node_modules/date-fns/locale/en-US/index.js":()=>Promise.resolve().then(()=>wrt),"../../../node_modules/date-fns/locale/en-ZA/index.js":()=>Promise.resolve().then(()=>Slt),"../../../node_modules/date-fns/locale/eo/index.js":()=>Promise.resolve().then(()=>Clt),"../../../node_modules/date-fns/locale/es/index.js":()=>Promise.resolve().then(()=>$lt),"../../../node_modules/date-fns/locale/et/index.js":()=>Promise.resolve().then(()=>Rlt),"../../../node_modules/date-fns/locale/eu/index.js":()=>Promise.resolve().then(()=>Nlt),"../../../node_modules/date-fns/locale/fa-IR/index.js":()=>Promise.resolve().then(()=>Wlt),"../../../node_modules/date-fns/locale/fi/index.js":()=>Promise.resolve().then(()=>jlt),"../../../node_modules/date-fns/locale/fr-CA/index.js":()=>Promise.resolve().then(()=>Ult),"../../../node_modules/date-fns/locale/fr-CH/index.js":()=>Promise.resolve().then(()=>Blt),"../../../node_modules/date-fns/locale/fr/index.js":()=>Promise.resolve().then(()=>qlt),"../../../node_modules/date-fns/locale/fy/index.js":()=>Promise.resolve().then(()=>Glt),"../../../node_modules/date-fns/locale/gd/index.js":()=>Promise.resolve().then(()=>Xlt),"../../../node_modules/date-fns/locale/gl/index.js":()=>Promise.resolve().then(()=>Qlt),"../../../node_modules/date-fns/locale/gu/index.js":()=>Promise.resolve().then(()=>edt),"../../../node_modules/date-fns/locale/he/index.js":()=>Promise.resolve().then(()=>rdt),"../../../node_modules/date-fns/locale/hi/index.js":()=>Promise.resolve().then(()=>hdt),"../../../node_modules/date-fns/locale/hr/index.js":()=>Promise.resolve().then(()=>gdt),"../../../node_modules/date-fns/locale/ht/index.js":()=>Promise.resolve().then(()=>_dt),"../../../node_modules/date-fns/locale/hu/index.js":()=>Promise.resolve().then(()=>wdt),"../../../node_modules/date-fns/locale/hy/index.js":()=>Promise.resolve().then(()=>Pdt),"../../../node_modules/date-fns/locale/id/index.js":()=>Promise.resolve().then(()=>Tdt),"../../../node_modules/date-fns/locale/is/index.js":()=>Promise.resolve().then(()=>Mdt),"../../../node_modules/date-fns/locale/it-CH/index.js":()=>Promise.resolve().then(()=>Odt),"../../../node_modules/date-fns/locale/it/index.js":()=>Promise.resolve().then(()=>Ddt),"../../../node_modules/date-fns/locale/ja-Hira/index.js":()=>Promise.resolve().then(()=>Adt),"../../../node_modules/date-fns/locale/ja/index.js":()=>Promise.resolve().then(()=>Idt),"../../../node_modules/date-fns/locale/ka/index.js":()=>Promise.resolve().then(()=>Ldt),"../../../node_modules/date-fns/locale/kk/index.js":()=>Promise.resolve().then(()=>Fdt),"../../../node_modules/date-fns/locale/km/index.js":()=>Promise.resolve().then(()=>Vdt),"../../../node_modules/date-fns/locale/kn/index.js":()=>Promise.resolve().then(()=>zdt),"../../../node_modules/date-fns/locale/ko/index.js":()=>Promise.resolve().then(()=>Hdt),"../../../node_modules/date-fns/locale/lb/index.js":()=>Promise.resolve().then(()=>Ydt),"../../../node_modules/date-fns/locale/lt/index.js":()=>Promise.resolve().then(()=>Kdt),"../../../node_modules/date-fns/locale/lv/index.js":()=>Promise.resolve().then(()=>Jdt),"../../../node_modules/date-fns/locale/mk/index.js":()=>Promise.resolve().then(()=>Zdt),"../../../node_modules/date-fns/locale/mn/index.js":()=>Promise.resolve().then(()=>tct),"../../../node_modules/date-fns/locale/ms/index.js":()=>Promise.resolve().then(()=>nct),"../../../node_modules/date-fns/locale/mt/index.js":()=>Promise.resolve().then(()=>ict),"../../../node_modules/date-fns/locale/nb/index.js":()=>Promise.resolve().then(()=>sct),"../../../node_modules/date-fns/locale/nl-BE/index.js":()=>Promise.resolve().then(()=>lct),"../../../node_modules/date-fns/locale/nl/index.js":()=>Promise.resolve().then(()=>cct),"../../../node_modules/date-fns/locale/nn/index.js":()=>Promise.resolve().then(()=>mct),"../../../node_modules/date-fns/locale/oc/index.js":()=>Promise.resolve().then(()=>hct),"../../../node_modules/date-fns/locale/pl/index.js":()=>Promise.resolve().then(()=>gct),"../../../node_modules/date-fns/locale/pt-BR/index.js":()=>Promise.resolve().then(()=>_ct),"../../../node_modules/date-fns/locale/pt/index.js":()=>Promise.resolve().then(()=>wct),"../../../node_modules/date-fns/locale/ro/index.js":()=>Promise.resolve().then(()=>Pct),"../../../node_modules/date-fns/locale/ru/index.js":()=>Promise.resolve().then(()=>Tct),"../../../node_modules/date-fns/locale/sk/index.js":()=>Promise.resolve().then(()=>Mct),"../../../node_modules/date-fns/locale/sl/index.js":()=>Promise.resolve().then(()=>Oct),"../../../node_modules/date-fns/locale/sq/index.js":()=>Promise.resolve().then(()=>Dct),"../../../node_modules/date-fns/locale/sr-Latn/index.js":()=>Promise.resolve().then(()=>Act),"../../../node_modules/date-fns/locale/sr/index.js":()=>Promise.resolve().then(()=>Ict),"../../../node_modules/date-fns/locale/sv/index.js":()=>Promise.resolve().then(()=>Lct),"../../../node_modules/date-fns/locale/ta/index.js":()=>Promise.resolve().then(()=>Fct),"../../../node_modules/date-fns/locale/te/index.js":()=>Promise.resolve().then(()=>Vct),"../../../node_modules/date-fns/locale/th/index.js":()=>Promise.resolve().then(()=>zct),"../../../node_modules/date-fns/locale/tr/index.js":()=>Promise.resolve().then(()=>Hct),"../../../node_modules/date-fns/locale/ug/index.js":()=>Promise.resolve().then(()=>Yct),"../../../node_modules/date-fns/locale/uk/index.js":()=>Promise.resolve().then(()=>Kct),"../../../node_modules/date-fns/locale/uz-Cyrl/index.js":()=>Promise.resolve().then(()=>Jct),"../../../node_modules/date-fns/locale/uz/index.js":()=>Promise.resolve().then(()=>Zct),"../../../node_modules/date-fns/locale/vi/index.js":()=>Promise.resolve().then(()=>tft),"../../../node_modules/date-fns/locale/zh-CN/index.js":()=>Promise.resolve().then(()=>nft),"../../../node_modules/date-fns/locale/zh-HK/index.js":()=>Promise.resolve().then(()=>ift),"../../../node_modules/date-fns/locale/zh-TW/index.js":()=>Promise.resolve().then(()=>sft)}),`../../../node_modules/date-fns/locale/${t}/index.js`).then(e=>(e&&(im[t]=e),null))}catch(e){return e}}const Oke=(t,e="P",r)=>t?Rxe(new Date(t),e,{locale:im[r]}):"",Cke=(t,e,r)=>t?jxe(new Date(t),{...e,locale:im[r]}):"",Dke=typeof window<"u"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;class $ke extends sU{constructor(e={}){super(),Dke&&sU.call(this),this.options={fallbackLocale:"en-US",...e}}init(e={},r){this.options={...this.options,...e},this.localeLookup=new Mke(this.options);const n=()=>{this.changeLocale(this.options.locale,{cache:!1},a=>{this.isInitialized=!0,this.emit("initialized",this.options),r&&r(a)})};this.options.initImmediate?setTimeout(n,0):n()}changeLocale(e,r={cache:!0},n){this.isLocaleChangingTo=e,this.emit("localeChanging",e);const a=s=>{let u=s;oU.includes(u)||(u=Tke(u)||this.options.fallbackLocale),im[u]?this.dateFnsLocale=u:(this.dateFnsLocale=this.options.fallbackLocale,Ske(u).then(l=>{l||(this.dateFnsLocale=u,this.emit("localeChanged",u))}))},i=s=>{const u=typeof s=="string"?s:this.options.fallbackLocale;this.locale=u,a(u),this.emit("localeChanged",u),r.cache&&this.localeLookup.cacheUserLanguage(u)};let o=e;o||(o=this.localeLookup.detect()),i(o),n&&n(o)}formatDate(e,r="P",n=this.locale){return Oke(e,r,n)}formatDistanceToNow(e,r,n=this.locale){return Cke(e,r,n)}}const G1=new $ke;ie.use(Al);const lU=nU,dU={type:"postProcessor",name:"withCount",process:(t,e,r,n)=>{const{count:a}=r||{};return typeof a=="number"?`${a} ${t}`:t}},cU={type:"postProcessor",name:"capitalize",process:t=>typeof t!="string"?t:t.charAt(0).toUpperCase()+t.slice(1)},fU=t=>({debug:!1,whitelist:m1e,resources:{sv:WPe,en:VPe},fallbackLng:"en",saveMissing:!0,missingKeyHandler(e,r,n,a){yt.info(`i18next: Missing translation lng '${e}', ns '${r}', 'key: '${n}'`)},returnedObjectHandler(e,r,n){return n&&n.ns==="_common"?r:t.t(e,{ns:"_common"})||r},interpolation:{format(e,r,n){if(r==="uppercase")return e.toUpperCase();if(r==="lowercaseSpace")return e&&` ${e}`.toLowerCase();if(r==="inlineSpace")return e&&` ${e}`;if(r==="capitalize")return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1);if(r.startsWith("deepNested")){const a=r.substring(11),i=a?`${a}.${e}`:e;return t.exists(i,{lng:n})?t.t(i,{lng:n}):e}return e}}}),K1=Q4.createInstance();K1.use(lU).use(cU).use(dU).init({...fU(K1),namespaces:["_common","views","components","errors","actions","resources","router","iso"],defaultNS:"_common",fallbackNS:"_common"}),G1.init({fallbackLocale:"en-US"});const Ake=G1,ce=new Al(K1,G1);function Rke(t){return Number(t)===t&&t%1!==0}function Ze(t){if(t===void 0)return"undefined";if(t===null)return"null";if(Array.isArray(t))return"array";if(typeof t=="object"&&!(t instanceof Date))return"object";if(Number.isNaN(t))return"nan";if(t===1/0)return"infinity";if(Number.isInteger(t)||Rke(t))return"number";if(typeof t=="string")return"string";if(typeof t=="boolean")return"boolean";if(typeof t=="function")return"function";if(t instanceof Date&&Sl(t))return"date"}function Ike(t,e){if(!["array","object"].includes(Ze(t)))throw Error("Arg.0 must be an array or object");if(typeof e!="string")throw Error("Arg.1, path must be a string");let r=e.replace(/\[(.*)\]/gi,(a,i)=>`.${i}`).split(".");return r[0]===""&&(r=r.splice(1)),r.reduce((a,i)=>a&&(typeof a[i]!="object",a[i]),t)}const Nke=(t={},e={})=>{if(typeof t!="object")throw Error("Query must be an object!");if(typeof e!="object")throw Error("Options must be an object!");const r={prefix:"_",convertFilter:!0,...e};let n="?";function a(i){let o="";function s(u){let l="";return Object.keys(u).forEach((d,c)=>{["or","and"].includes(d)?s(u[d])&&(l+=`${d}(${s(u[d])})`):Object.keys(u[d]).forEach((m,f)=>{let p="";u[d][m]===!0?p=`${d}=${m}`:u[d][m]===!1?p=`${d}!=${m}`:u[d][m]==="contains"&&(p=`${d}*=${m}`),p&&(!["(",","].includes(l[l.length-1])&&l.length&&(l=`${l},`),l+=p)})}),l}return o=`_where=and(${s(i)})`,o}return Object.keys(t).forEach((i,o)=>{if(typeof t[i]>"u")return;const s=r.prefix?r.prefix:"";let u=t[i];typeof u=="string"&&(u=encodeURIComponent(u));let l=`${s}${i}=${u}`;i==="filter"&&r.convertFilter&&(l=a(u)),n=`${n}${o?"&":""}${l}`}),n.length>1?n:""};function As(t,e=!1){if(typeof t!="object"||Array.isArray(t))throw Error("Arg.0 must be an object");return{...t,_uniqueId:t._uniqueId&&!e?t._uniqueId:rn.exports()}}function X1(t){if(!(typeof t!="object"||t===null))for(const e of Object.keys(t)){const r=t[e];if(!(!r||typeof r!="object")){if(!Array.isArray(r)){X1(r);continue}for(let n=0;n<r.length;n++)typeof r[n]!="object"||Array.isArray(r[n])||(r[n]=As(r[n]));X1(r)}}}function J1(t){if(!!t)for(const e of Object.keys(t)){const r=t[e];if(e==="_uniqueId"){delete t[e];continue}if(!(!r||typeof r!="object")){if(!Array.isArray(r)){J1(r);continue}for(let n=0;n<r.length;n++)typeof r[n]!="object"||Array.isArray(r[n])||J1(r)}}}function Lke(t,e){function r(n){n&&typeof n=="object"&&e.forEach(a=>{delete n[a]})}return f1e(t,r)}function Wke(t){return Math.abs(t)%1===.5}function Fke(t){return t%2===0}function mU(t){const e=Math.round(t);return Wke(t)?Fke(e)?e:e-1:e}function Q1(t){if(!(!t||typeof t!="object"))for(const e of Object.keys(t)){const r=t[e];if(r&&typeof r=="number")t[e]=mU(r);else if(Array.isArray(r))for(let n=0;n<r.length;n++)Q1(t[e][n]);else Q1(t[e])}}function jke({price:t,discountType:e,discount:r,quantity:n=1}){if(typeof t>"u")throw Error("Missing param price");if(typeof e>"u")throw Error("Missing param discountType");if(typeof r>"u")throw Error("Missing param discount");if(typeof n>"u")throw Error("Missing param quantity");if(!n)return 0;let a=t*n;return e==="fixed"&&r?a-=r:e==="percentage"&&!!r&&(a*=(100-r/100)/100),mU(a)}function qi(t){if(typeof t!="object"&&!Array.isArray(t))throw Error("Missing valid parameter articles");let e=Array.isArray(t)?t:[t];return e=e.map(r=>{const{price:n,quantity:a,discountType:i,discount:o}=r;return{...r,totalAmount:jke({price:n,quantity:a,discountType:i,discount:o})}}),Array.isArray(t)?e:e[0]}function Vke(t){if(typeof t!="object"||Array.isArray(t))throw Error("Arg.0 must be an object");let e={ArticleId:null,article_no:null,id:null,vat:null,isDeductable:!1,isRut:!1,greenRot15:!1,greenRot50:!1,name:"",description:"",type:"service",price:0,currency:"SEK",priceType:"fixed",quantity:1,showPrice:!0,unitType:"unit",position:null,discountType:"fixed",discount:null,houseWorkType:void 0,houseWorkDeductionAmount:null,houseWorkHoursToReport:null,houseWorkMaterialCostToReport:null,bookkeepingPurchaseAccount:null,bookkeepingSalesAccount:null,bookkeepingSalesEUAccount:null,bookkeepingSalesEUVatAccount:null,bookkeepingSalesNonEUAccount:null,invoicesModuleArticleId:null,invoicesDocumentArticleId:null,invoicedAmount:0,totalAmount:0,packageId:null,...t};return e=As(e),e=qi(e),e}const Z1=t=>["isDeductable","isRut","greenRot15","greenRot50"].some(e=>!!t[e]),pU=t=>{const{isDeductable:e,isRut:r,greenRot15:n,greenRot50:a}=t||{};return e?"rot":r?"rut":n?"greenRot15":a?"greenRot50":null};function Uke(t,e){let r=Ze(t),n=Ze(e),a=t,i=e;if(a===null)return-1;if(i===null)return 1;if(r!==n||!["string","date","number"].includes(r))return 0;if(r!=="date"){if(!Number.isNaN(parseInt(a,10))&&!Number.isNaN(parseInt(i,10))&&/^(?:\d|\.)*$/i.test(a)&&/^(?:\d|\.)*$/i.test(i)&&(a=parseInt(a,10),i=parseInt(i,10),r="number",n="number"),r==="number")return a<i?-1:a>i?1:0;if(!Sl(Ol(a))||!Sl(Ol(i)))return a.localeCompare(i);a=Ol(a),i=Ol(i)}return j4(a,i)?1:j4(i,a)?-1:0}function ua(t,e=[]){return!e||Ze(e)==="array"&&!e.length?t:Object.keys(t).filter(n=>e.includes(n)).reduce((n,a)=>({...n,[a]:t[a]}),{})}function Ba(t,e=[]){return!e||Ze(e)==="array"&&!e.length?t:Object.keys(t).filter(n=>!e.includes(n)).reduce((n,a)=>({...n,[a]:t[a]}),{})}function zke(t={}){const{manageCompany:e,manageProjects:r,manageOwnProjects:n,showPrices:a,manageAtas:i,manageOwnAtas:o,attestTimeTracks:s,manageUsers:u,readInvoices:l,readOwnInvoices:d,modifyInvoices:c,modifyOwnInvoices:m,deleteInvoices:f,deleteOwnInvoices:p,attestInvoices:h,attestOwnInvoices:v,exportInvoices:y,modifyBookkeepingSettings:b}=t;return e&&r&&n&&a&&i&&o&&s&&u&&l&&d&&c&&m&&f&&p&&h&&v&&y&&b?"admin":n&&a&&i&&o&&s?"projectleader":l&&d&&c&&m&&y&&b?"accountant":"member"}function Bke(t){return Math.floor(t)!==t&&t.toString().split(".")[1].length||0}function Hke(t,{currency:e,locale:r,decimals:n=0,suffix:a=!0,showZero:i=!1,withVat:o=null,hideZeroDecimals:s=!1}={}){if(typeof e>"u"||!e)throw new Error("Missing param currency");let u=t;if(typeof u>"u"&&(u=0),!u&&!i)return"";u=Number(u)||0,u=Math.round(u);let l=s1e({amount:u,currency:e});r&&(l=l.setLocale(r)),o&&(l=l.multiply(100+o).divide(100));let d=a?"$0,0":"0,0",c=n;return s&&(c=Bke(l.getAmount()/100)),n&&c&&(d=`${d}.${"0".repeat(c)}`),l.toFormat(d)}function qke(t,e){const{locale:r}=ce;return Hke(t,{...e,...!e.locale&&{locale:r}})}function Yke(){const t=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))}function om(t){return{deviceType:Yke()?"mobile":"desktop",deviceMode:["app","extension"].includes(t)?t:null}}function Gke(t,e,r){const n=t.slice();return n.splice(typeof r=="number"?r:t.length,0,e),n}function Kke(t,e){const r=t.slice();return r.splice(e,1),r}function Xke(t,e,r){return t.map((n,a)=>a!==r?n:{...n,...e})}const Jke=t=>({add:(e,r)=>Gke(t,e,r),remove:e=>Kke(t,e),set:(e,r)=>Xke(t,e,r)}),Qke=async(t,{defaultRegion:e}={})=>{if(!t)return null;const{data:r}=await L1.post(`${ge.api.baseUrl}/public/validate/phone`,{phone:t,defaultRegion:e});return r};function Yi(t){return Array.from(new Set(t))}const hU=(t,e="")=>{const r={};return Object.keys(t).forEach(n=>{const a=t[n],i=e?`${e}.${n}`:n;typeof a=="object"&&!Array.isArray(a)?Object.assign(r,hU(a,i)):r[i]=a}),r},Zke=t=>{const e=Object.keys(t);let r="";return e.forEach(n=>{const a=typeof t[n]=="object",i=a&&t[n].length>=0;a||(r+=`${n}=${t[n]}&`),a&&i&&t[n].forEach(o=>{r+=`${n}=${o}&`})}),r&&r.slice(0,-1)},vU=t=>{sm.push(t)},gU=t=>{sm.map(e=>e(t))};let Rs=!1,sm=[];const eTe=(t,{renewToken:e})=>{t.interceptors.request.use(r=>{const n=r;if(n.url.includes("/auth")||n.url.startsWith("/public/"))return n;const a=n.headers["X-TOKEN"];if(!a)return n;const i=Fe.getItem("tokenExpires");if(a&&i){const o=new Date,s=new Date(i);if(o>s)return Rs||(Rs=!0,e().then(l=>{Rs=!1,gU(l),sm=[]})),new Promise(l=>{vU(d=>{n.headers["X-TOKEN"]=d,l(n)})})}return n},r=>Promise.reject(r))},tTe=(t,{renewToken:e})=>{t.interceptors.response.use(r=>r,r=>{if(!r||!r.response)return Promise.reject(r);const{config:n,response:a}=r,{status:i,data:o}=a,{errorCode:s}=o,u=n;if(u.url.startsWith("/public/"))return Promise.reject(r);if(i===401&&s===8001)return Rs||(Rs=!0,e().then(d=>{Rs=!1,gU(d),sm=[]})),new Promise(d=>{vU(c=>{u.headers["X-TOKEN"]=c,d(L1(u))})});if(i===401&&typeof s>"u"){if(u.url.includes("auth/companyUser")&&!u.headers["X-TOKEN"])return Promise.reject(r);if(u.url.includes("auth/actionlink")&&!u.headers["X-TOKEN"])return Promise.reject(r);console.error("User should be logged out!!"),Fe.removeItem("token"),Fe.removeItem("tokenExpires"),Fe.removeItem("refreshToken"),window.location.reload()}return Promise.reject(r)})},yU=t=>(X1(t.data),t),rTe=t=>{t.interceptors.response.use(yU,e=>{const{response:r,config:n}=e;if(!r)throw new Vwe(e);if(Object.prototype.hasOwnProperty.call(n,"errorHandle")&&n.errorHandle===!1)return Promise.reject(e);const{status:a}=r;switch(a){case 404:throw new Wwe(e);case 401:throw new Fwe(e);case 412:throw new jwe(e);default:throw new zi(e)}})},nTe=t=>{t.interceptors.response.use(e=>{var r,n;if(((n=(r=e.config)==null?void 0:r.url)==null?void 0:n.includes("document"))&&e.config.method==="post"){const a=JSON.parse(e.config.data);a.__tempId&&(e.data.__tempId=a.__tempId)}return e},e=>Promise.reject(e))},aTe=t=>{t.interceptors.request.use(e=>{if(["post","put"].includes(e.method)&&e.data&&!(e.data instanceof FormData)){const r=Vi(e.data);J1(r),e.data=r}return e},e=>Promise.reject(e))},iTe=({baseUrl:t,withCredentials:e,cache:r})=>{const n=L1.create({baseURL:t,timeout:2e4,adapter:r,withCredentials:e,paramsSerializer:c=>Zke(c)});n.defaults.headers["X-CLIENT"]="widget",n.defaults.headers["X-CLIENT-VERSION"]="0.3.2";const a=async(c,m,f=null,p={})=>{const h=m.startsWith("/public/"),v=Fe.getItem("token");switch(v&&!h&&(n.defaults.headers["X-TOKEN"]=v),c){case"get":return n.get(m,p);case"post":return n.post(m,f,p);case"put":return n.put(m,f,p);case"delete":return n.delete(m,p);case"patch":return n.patch(m,f,p);default:throw new Error(`SendRequest failed as method: '${c}' is not implemented`)}},i=(c,m={})=>a("get",c,null,m),o=(c,m={},f={})=>a("put",c,m,f),s=(c,m,f={})=>a("post",c,m,f),u=(c,m={})=>a("delete",c,null,m),l=(c,m={})=>a("patch",c,null,m),d=async()=>{const c=Fe.getItem("refreshToken"),m=await s("/auth/companyUser",{refreshToken:c});if(!m.data||!m.data.token)throw new Error("No token was defined in result");const{token:f,tokenExpires:p,companyUser:h,company:v}=m.data;return Fe.setItem("token",f),Fe.setItem("tokenExpires",p),f};return eTe(n,{renewToken:d}),tTe(n,{renewToken:d}),yU(n),rTe(n),aTe(n),nTe(n),{instance:n,get:i,put:o,post:s,del:u,patch:l,renewToken:d}},ex=new Map;function oTe(t){if(typeof t>"u")throw new Error("Missing valid parameter url");if(typeof t!="string")throw new Error("Parameter url must be a string");const{data:e,cachedAt:r,expiresAt:n}=ex.get(t)||{};return Date.now()>r+6e4*30||n&&Date.now()>n?(ex.delete(t),null):e}const sTe=async t=>{const{url:e,params:r={}}=t,n=Object.keys(r).map(o=>`${o}=${r[o]}`).join("&"),a=`${e}${n?`?${n}`:""}`;return oTe(a),await M1(t)},tx={withCredentials:!0,baseUrl:ge.api.baseUrl},{get:tt,post:ut,put:Or,patch:Ha,del:Dn,instance:qht,renewToken:uTe}=iTe({withCredentials:tx.withCredentials,baseUrl:tx.baseUrl,cache:sTe});async function _U(t){const e=Nke(t);return tt(`/project${e}`,{saveCache:!0})}const lTe=async(t,e={})=>tt("/project",t,{params:e}),dTe=async(t,e={})=>tt(`/project/${t}`,{params:e,saveCache:!0}),cTe=async(t,e,r={})=>Or(`/project/${t}`,e,{params:r,invalidateCache:{type:"project",id:t}}),fTe=async t=>Ha(`/project/${t}`),mTe=async(t,e={})=>Dn(`/project/${t}`,{params:e,invalidateCache:{type:"project",id:t}}),pTe=async()=>tt("/project/createDemo"),hTe=async(t,e={})=>ut("/auth/actionlink",{token:t,...e}),vTe=async t=>ut("/register",t),gTe=async(t,e)=>ut("/companyUser/forgottenPassword/new",{password:t,resetPasswordToken:e}),yTe=async t=>ut("/public/consent",t),_Te=async t=>tt(`/projectFile/${t}`),bTe=async t=>ut("/projectFile",t),wTe=async(t,e)=>Or(`/projectFile/${t}`,e),xTe=async t=>Dn(`/projectFile/${t}`),PTe=async t=>Ha(`/projectFile/${t}`),kTe=async(t,e={})=>tt(`/projectNote/${t}`,{params:e}),TTe=async(t,e={})=>ut("/projectNote",t,{params:e}),ETe=async(t,e,r={})=>Or(`/projectNote/${t}`,e,{params:r}),MTe=async t=>tt(`/file/${t}`),bU=async t=>ut("/file",t),STe=async(t,e)=>Or(`/file/${t}`,e),OTe=async t=>Dn(`/file/${t}`),CTe=async t=>Ha(`/file/${t}`),DTe=async(t={})=>tt("/endCustomer",{params:t}),$Te=async(t,e={})=>tt(`/endCustomer/${t}`,{params:e}),ATe=async(t,e={})=>ut("/endCustomer",t,{params:e}),RTe=async(t,e,r={})=>Or(`/endCustomer/${t}`,e,{params:r}),ITe=async(t,e={})=>Dn(`/endCustomer/${t}`,{params:e}),NTe=async(t,e={})=>Ha(`/endCustomer/${t}`,{params:e}),LTe=async t=>ut("/search",{type:"endCustomer",query:t}),WTe=async(t={})=>tt("/companyUser",{params:t,saveCache:!0}),FTe=async(t,e={})=>tt(`/companyUser/${t}`,{params:e,saveCache:!0}),jTe=async(t,e={})=>ut("/companyUser",t,{params:e}),VTe=async(t,e,r={})=>Or(`/companyUser/${t}`,e,{params:r,invalidateCache:{type:"companyUser",id:t}}),UTe=async(t,e={})=>Dn(`/companyUser/${t}`,{params:e,invalidateCache:{type:"companyUser",id:t}}),zTe=async(t,e={})=>Ha(`/companyUser/${t}`,{params:e}),wU={getPublic:async(t,e={})=>tt(`/public/companyUser/${t}`,{params:e}),getConnectedUsers:async(t={})=>tt("/companyUser/self/connectedUsers",{params:t}),getConnectedUserAuth:async(t,e={})=>tt(`/companyUser/self/connectedUsers/${t}/auth`,{params:e}),setConnectedUserDefault:async(t,e={})=>Or(`/companyUser/self/connectedUsers/${t}/setDefaultAuth`,{params:e}),verifyEmail:async(t,e={})=>ut("/public/verifyEmail/companyUser",t,{params:e})},BTe=async(t,e=null,r={})=>Or(`/companyAccount/accountType/${t}`,e,{params:r}),HTe=async(t,e)=>ut(`/project/${t}/projectMember/${e}`,null,{invalidateCache:{type:"project",id:t}}),qTe=async(t,e)=>Dn(`/project/${t}/projectMember/${e}`,{invalidateCache:{type:"project",id:t}}),YTe=async(t={})=>tt("/companyInvoiceSetting",{params:t}),GTe=async(t,e={})=>Or("/companyInvoiceSetting",t,{params:e}),KTe={get:async(t={})=>tt("/companyKYC",{params:t}),post:async(t,e={})=>ut("/companyKYC",t,{params:e}),sign:async(t,e={})=>ut("/companyKYC/sign",t,{params:e})},Cr={get:async(t,e={})=>tt(`/document/${t}`,{params:e,saveCache:!0}),getAll:async(t={})=>tt("/document",{params:t,saveCache:!0}),post:async(t,e={})=>ut("/document",t,{params:e}),send:async(t,e={},r={})=>ut(`/document/${t}/send`,e,{params:r,invalidateCache:{type:"document",id:t}}),clearAnswers:async(t,e={},r={})=>ut(`/document/${t}/clearAnswers`,e,{params:r,invalidateCache:{type:"document",id:t}}),put:async(t,e,r={})=>Or(`/document/${t}`,e,{params:r,invalidateCache:{type:"document",id:t}}),delete:async(t,e={})=>Dn(`/document/${t}`,{params:e,invalidateCache:{type:"document",id:t}}),patch:async(t,e={})=>Ha(`/document/${t}`,{params:e}),validate:async(t,e={})=>ut("/documentValidate",t,{params:e})},Gi={get:async(t,e={})=>tt(t?`/template/${t}`:"/template",{params:e}),post:async(t,e={})=>ut("/template",t,{params:e}),put:async(t,e,r={})=>Or(`/template/${t}`,e,{params:r}),delete:async(t,e={})=>Dn(`/template/${t}`,{params:e}),patch:async(t,e={})=>Ha(`/template/${t}`,{params:e})},xU={get:async(t,e={})=>tt(`/public/document/${t}`,{params:e}),put:async(t,e,r={})=>Or(`/public/document/${t}`,e,{headers:r}),answer:async(t,e,r={},n={})=>ut(`/public/document/${t}/answer`,e,{params:r,headers:n}),feedback:async(t,e,r={})=>ut(`/public/document/${t}/feedback`,e,{params:r})},rx={getAuthUrl:async(t,e={})=>tt("/extension/authUrl",{params:{...e,service:t}}),getPublicAuthUrl:async(t,e={})=>tt("/public/extension/authUrl",{params:{...e,service:t}}),install:async(t,e,r={})=>ut("/extension/install",e,{params:{...r,service:t}}),uninstall:async(t,e={})=>Dn("/extension/uninstall",{params:{...e,service:t}}),suggestClients:async(t,e={})=>tt("/extension/suggestClients",{params:{...e,service:t},saveCache:!0,cacheTtl:20}),signupWithCrm:async(t,e,r={})=>ut("/public/extension/register",e,{params:{...r,service:t}}),search:async(t,e={})=>tt("/extension/search",{params:{...e,service:t},saveCache:!0,cacheTtl:10}),getFields:async(t,e={})=>tt("/extension/fields",{params:{...e,service:t},saveCache:!0,cacheTtl:60}),getExternalReferenceDetails:async(t,e={})=>tt("/extension/externalReferenceDetails",{params:{...e,service:t},saveCache:!0,cacheTtl:20}),settings:async(t,e={})=>tt("/extension/settings",{params:{...e,service:t}})},lr={get:tt,post:ut,put:Or,del:Dn,patch:Ha,authData:tx,getProjects:_U},Ki="SET_AS_NORMALIZED_DATA",PU=Object.freeze(Object.defineProperty({__proto__:null,SET_AS_NORMALIZED_DATA:Ki},Symbol.toStringTag,{value:"Module"})),kU={DO_LOAD_CURRENT_COMPANY:"DO_LOAD_CURRENT_COMPANY",DO_UPDATE_CURRENT_COMPANY:"DO_UPDATE_CURRENT_COMPANY",DO_NORMALIZE_COMPANIES:"DO_NORMALIZE_COMPANIES",FORM_EDIT_COMPANY:"FORM_EDIT_COMPANY",FORM_SUBMIT_COMPANY:"FORM_SUBMIT_COMPANY",FORM_NEW_COMPANY_BRANDING:"FORM_NEW_COMPANY_BRANDING",FORM_EDIT_COMPANY_BRANDING:"FORM_EDIT_COMPANY_BRANDING",FORM_SUBMIT_COMPANY_BRANDING:"FORM_SUBMIT_COMPANY_BRANDING",UPDATE_COMPANY_ACCOUNT_TYPE:"UPDATE_COMPANY_ACCOUNT_TYPE"},nx={SET_COMPANIES:"SET_COMPANIES",CLEAR_COMPANIES:"CLEAR_COMPANIES",SET_COMPANIES_FETCHING:"SET_COMPANIES_FETCHING",SET_COMPANIES_POSTING:"SET_COMPANIES_POSTING"},TU={LOAD_COMPANY_USERS:"LOAD_COMPANY_USERS",LOAD_COMPANY_USER:"LOAD_COMPANY_USER",DO_NORMALIZE_COMPANY_USERS:"DO_NORMALIZE_COMPANY_USERS",UPDATE_COMPANY_USER:"UPDATE_COMPANY_USER",CREATE_COMPANY_USER:"CREATE_COMPANY_USER",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",PATCH_COMPANY_USER:"PATCH_COMPANY_USER",FORM_NEW_COMPANY_USER:"FORM_NEW_COMPANY_USER",FORM_EDIT_COMPANY_USER:"FORM_EDIT_COMPANY_USER",FORM_SUBMIT_COMPANY_USER:"FORM_SUBMIT_COMPANY_USER"},ax={SET_COMPANY_USERS:"SET_COMPANY_USERS",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",SET_COMPANY_USERS_FETCHING:"SET_COMPANY_USERS_FETCHING",SET_COMPANY_USERS_POSTING:"SET_COMPANY_USERS_POSTING"},EU={LOAD_PROJECT_FILE:"LOAD_PROJECT_FILE",CREATE_PROJECT_FILE:"CREATE_PROJECT_FILE",UPDATE_PROJECT_FILE:"UPDATE_PROJECT_FILE",DELETE_PROJECT_FILE:"DELETE_PROJECT_FILE",PATCH_PROJECT_FILE:"PATCH_PROJECT_FILE"},um={SET_PROJECT_FILES:"SET_PROJECT_FILES",DELETE_PROJECT_FILE:"DELETE_PROJECT_FILE"},$n={...EU,LOAD_PROJECTS:"LOAD_PROJECTS",LOAD_PROJECT:"LOAD_PROJECT",LOAD_PUBLIC_PROJECT:"LOAD_PUBLIC_PROJECT",CREATE_PROJECT:"CREATE_PROJECT",CREATE_DEMOPROJECT:"CREATE_DEMOPROJECT",UPDATE_PROJECT:"UPDATE_PROJECT",DELETE_PROJECT:"DELETE_PROJECT",PATCH_PROJECT:"PATCH_PROJECT",FORM_EDIT_PROJECT:"FORM_EDIT_PROJECT",DO_SUBMIT_PROJECT:"DO_SUBMIT_PROJECT",SUBMIT_PROJECT:"SUBMIT_PROJECT",DO_LOAD_PROJECT:"DO_LOAD_PROJECT",DO_LOAD_PROJECTS:"DO_LOAD_PROJECTS",DO_LOAD_PROJECTS_COUNT:"DO_LOAD_PROJECTS_COUNT",LOAD_PROJECTS_FOR_CLIENT:"LOAD_PROJECTS_FOR_CLIENT",LOAD_PROJECTS_FOR_USER:"LOAD_PROJECTS_FOR_USER",FORM_SUBMIT_PROJECT:"FORM_SUBMIT_PROJECT",DO_CREATE_PROJECT_NOTE:"DO_CREATE_PROJECT_NOTE",FORM_EDIT_PROJECT_NOTE:"FORM_EDIT_PROJECT_NOTE",FORM_NEW_PROJECT_NOTE:"FORM_NEW_PROJECT_NOTE",FORM_SUBMIT_PROJECT_NOTE:"FORM_SUBMIT_PROJECT_NOTE",LOAD_PROJECT_NOTE:"LOAD_PROJECT_NOTE",DO_UPDATE_PROJECT_NOTE:"DO_UPDATE_PROJECT_NOTE",LOAD_EVENTS_FOR_PROJECT:"LOAD_EVENTS_FOR_PROJECT",DELETE_PROJECT_MEMBER:"SUBMIT_PROJECT_MEMBER",SUBMIT_PROJECT_MEMBER:"DELETE_PROJECT_MEMBER",SET_PROJECT_FILTER:"SET_PROJECT_FILTER",SET_PROJECT_SORT:"SET_PROJECT_SORT",SET_QUICKVIEW_PROJECT:"SET_QUICKVIEW_PROJECT",SET_PROJECT_LEADER:"SET_PROJECT_LEADER",CLEAR_PROJECTS:"CLEAR_PROJECTS"},Dr={...um,SET_PROJECTS:"SET_PROJECTS",SET_PROJECTS_FETCHING:"SET_PROJECTS_FETCHING",SET_PROJECTS_POSTING:"SET_PROJECTS_POSTING",SET_PROJECTS_CAN_FETCH_MORE:"SET_PROJECTS_CAN_FETCH_MORE",SET_PROJECTS_COUNT:"SET_PROJECTS_COUNT",CLEAR_PROJECT_DATA:"CLEAR_PROJECT_DATA",SET_PROJECT_NOTES:"SET_PROJECT_NOTES",SET_PROJECT_NOTES_FETCHING:"SET_PROJECT_NOTES_FETCHING",SET_PROJECT_NOTES_POSTING:"SET_PROJECT_NOTES_POSTING",SET_EVENTS:"SET_EVENTS",DELETE_MANY_PROJECTS:"DELETE_MANY_PROJECTS",ADD_PROJECT_MEMBER:"ADD_PROJECT_MEMBER",DELETE_PROJECT_MEMBER:"DELETE_PROJECT_MEMBER"},MU={LOAD_INVOICE_FORM:"LOAD_INVOICE_FORM",LOAD_DOCUMENT2_INVOICE_FORM:"LOAD_DOCUMENT2_INVOICE_FORM",LOAD_CREDIT_INVOICE_FORM:"LOAD_CREDIT_INVOICE_FORM",SUBMIT_INVOICE_FORM:"SUBMIT_INVOICE_FORM",LOAD_CAMPAIGN_INVOICE_FORM:"LOAD_CAMPAIGN_INVOICE_FORM",SET_KYC_FORM:"SET_KYC_FORM",DO_SAVE_KYC_FORM:"DO_SAVE_KYC_FORM"},XTe={},JTe={SET_FORM_ARTICLE:"SET_FORM_ARTICLE",REMOVE_FORM_ARTICLE:"REMOVE_FORM_ARTICLE"},SU={LOAD_DOCUMENT2_FORM:"LOAD_DOCUMENT2_FORM",LOAD_DOCUMENT2_PUBLIC_FORM:"LOAD_DOCUMENT2_PUBLIC_FORM",LOAD_DUPLICATE_DOCUMENT2_FORM:"LOAD_DUPLICATE_DOCUMENT2_FORM",SAVE_DYNDOC_FORM:"SAVE_DYNDOC_FORM",CLEAR_DYNDOC_FORM:"CLEAR_DYNDOC_FORM",DO_SAVE_DYNDOC:"DO_SAVE_DYNDOC",HANDLE_DOCUMENT2_EDIT:"HANDLE_DOCUMENT2_EDIT",SAVE_TEMPLATE_FORM:"SAVE_TEMPLATE_FORM",LOAD_EXTERNAL_FORM_FIELDS:"LOAD_EXTERNAL_FORM_FIELDS"},QTe={},An={...MU,...JTe,...SU,LOAD_DOCUMENT_FORM:"LOAD_DOCUMENT_FORM",LOAD_UPGRADE_DOCUMENT_FORM:"LOAD_UPGRADE_DOCUMENT_FORM",LOAD_ATA_DOCUMENT_FORM:"LOAD_ATA_DOCUMENT_FORM",LOAD_DUPLICATE_DOCUMENT_FORM:"LOAD_DUPLICATE_DOCUMENT_FORM",LOAD_DEMO_DOCUMENT_FORM:"LOAD_DEMO_DOCUMENT_FORM",SAVE_DOCUMENT_FORM:"SAVE_DOCUMENT_FORM",SAVE_DOCUMENT_FORM_AND_SEND:"SAVE_DOCUMENT_FORM_AND_SEND",DO_SAVE_DOCUMENT:"DO_SAVE_DOCUMENT",SUBMIT_DOCUMENT_AND_SEND:"SUBMIT_DOCUMENT_AND_SEND",FORM_DOCUMENT_SET_CLIENT:"FORM_DOCUMENT_SET_CLIENT",FORM_DOCUMENT_SUBMIT_CLIENT:"FORM_DOCUMENT_SUBMIT_CLIENT",FORM_RESET_OLD:"FORM_RESET_OLD",FORM_CLEAR_FORM:"FORM_CLEAR_FORM",SET_FORM:"SET_FORM",SET_FORM_VALUE:"SET_FORM_VALUE",REMOVE_FORM_VALUE:"REMOVE_FORM_VALUE",REMOVE_FORM_KEY_VALUE:"REMOVE_FORM_KEY_VALUE"},Rn={...XTe,...QTe,SET_FORM:"SET_FORM",CLEAR_FORM:"CLEAR_FORM",SET_FORM_VALUE:"SET_FORM_VALUE",REMOVE_FORM_VALUE:"REMOVE_FORM_VALUE",REMOVE_FORM_KEY_VALUE:"REMOVE_FORM_KEY_VALUE"},OU={DELETE_DOCUMENT2:"DELETE_DOCUMENT2",DO_CREATE_DOCUMENT2:"DO_CREATE_DOCUMENT2",DO_LOAD_DOCUMENT2:"DO_LOAD_DOCUMENT2",DO_LOAD_DOCUMENTS2:"DO_LOAD_DOCUMENTS2",DO_UPDATE_DOCUMENT2:"DO_UPDATE_DOCUMENT2",LOAD_DOCUMENT2:"LOAD_DOCUMENT2",LOAD_DOCUMENTS2:"LOAD_DOCUMENTS2",LOAD_DOCUMENTS2_EXTERNAL:"LOAD_DOCUMENTS2_EXTERNAL",PATCH_DOCUMENT2:"PATCH_DOCUMENT2",UPDATE_DOCUMENT2:"UPDATE_DOCUMENT2",UPDATE_DOCUMENT2_STATUS:"UPDATE_DOCUMENT2_STATUS",DO_SEND_DOCUMENT2:"DO_SEND_DOCUMENT2",SEND_REMINDER_DOCUMENT2:"SEND_REMINDER_DOCUMENT2",REQUEST_PROPERTY_DOCUMENT2:"REQUEST_PROPERTY_DOCUMENT2",CLEAR_DOCUMENT2_ANSWERS:"CLEAR_DOCUMENT2_ANSWERS",ANSWER_OWN_DOCUMENT2:"ANSWER_OWN_DOCUMENT2"},ix={DELETE_MANY_DOCUMENTS2:"DELETE_MANY_DOCUMENTS2",SET_DOCUMENTS2:"SET_DOCUMENTS2",SET_DOCUMENT2_FETCHING:"SET_DOCUMENT2_FETCHING",SET_DOCUMENT2_POSTING:"SET_DOCUMENT2_POSTING"},lm={LOAD_FILE:"LOAD_FILE",CREATE_FILE:"CREATE_FILE",UPDATE_FILE:"UPDATE_FILE",DELETE_FILE:"DELETE_FILE",PATCH_FILE:"PATCH_FILE",FORM_NEW_FILE:"FORM_NEW_FILE",FORM_EDIT_FILE:"FORM_EDIT_FILE",FORM_SUBMIT_FILE:"FORM_SUBMIT_FILE"},ox={UPDATE_MANY_FILES:"UPDATE_MANY_FILES",DELETE_ONE_FILE:"DELETE_ONE_FILE",CLEAR_FILES:"CLEAR_FILES",SET_FILES_FETCHING:"SET_FILES_FETCHING",SET_FILES_POSTING:"SET_FILES_POSTING"},CU={DO_LOAD_INVOICE_SETTINGS:"DO_LOAD_INVOICE_SETTINGS",LOAD_INVOICE_SETTINGS:"LOAD_INVOICE_SETTINGS",DO_UPDATE_INVOICE_SETTINGS:"DO_UPDATE_INVOICE_SETTINGS",UPDATE_INVOICE_SETTINGS:"UPDATE_INVOICE_SETTINGS",FORM_EDIT_INVOICE_SETTINGS:"FORM_EDIT_INVOICE_SETTINGS",FORM_SUBMIT_INVOICE_SETTINGS:"FORM_SUBMIT_INVOICE_SETTINGS"},sx={SET_INVOICE_SETTINGS_FETCHING:"SET_INVOICE_SETTINGS_FETCHING",SET_INVOICE_SETTINGS_POSTING:"SET_INVOICE_SETTINGS_POSTING"},DU={...CU,DO_LOAD_ALL_SETTINGS:"DO_LOAD_ALL_SETTINGS",LOAD_ALL_SETTINGS:"LOAD_ALL_SETTINGS",DO_LOAD_SETTINGS_COMPANY:"DO_LOAD_SETTINGS_COMPANY",DO_LOAD_SETTINGS_COMPANYUSER:"DO_LOAD_SETTINGS_COMPANYUSER",LOAD_SETTINGS_COMPANY:"LOAD_SETTINGS_COMPANY",LOAD_SETTINGS_COMPANYUSER:"LOAD_SETTINGS_COMPANYUSER",UPDATE_SETTINGS:"UPDATE_SETTINGS",DO_UPDATE_SETTINGS:"DO_UPDATE_SETTINGS",FORM_EDIT_COMPANY_SETTINGS:"FORM_EDIT_COMPANY_SETTINGS",FORM_SUBMIT_COMPANY_SETTINGS:"FORM_SUBMIT_COMPANY_SETTINGS",FORM_EDIT_COMPANY_USER_SETTINGS:"FORM_EDIT_COMPANY_USER_SETTINGS",FORM_SUBMIT_COMPANY_USER_SETTINGS:"FORM_SUBMIT_COMPANY_USER_SETTINGS"},$U={...sx,SET_SETTINGS:"SET_SETTINGS",CLEAR_SETTINGS:"CLEAR_SETTINGS",SET_SETTINGS_FETCHING:"SET_SETTINGS_FETCHING",SET_SETTINGS_POSTING:"SET_SETTINGS_POSTING"},ZTe={LOAD_ARTICLES:"LOAD_ARTICLES",LOAD_ARTICLE:"LOAD_ARTICLE",SET_ARTICLES:"SET_ARTICLES",UPDATE_ARTICLE:"UPDATE_ARTICLE",DO_CREATE_ARTICLE:"DO_CREATE_ARTICLE",DELETE_ARTICLE:"DELETE_ARTICLE",PATCH_ARTICLE:"PATCH_ARTICLE",SEARCH_ARTICLE:"SEARCH_ARTICLE",FORM_NEW_ARTICLE:"FORM_NEW_ARTICLE",FORM_EDIT_ARTICLE:"FORM_EDIT_ARTICLE",FORM_SUBMIT_ARTICLE:"FORM_SUBMIT_ARTICLE"},AU={LOAD_ENDCUSTOMERS:"LOAD_ENDCUSTOMERS",LOAD_ENDCUSTOMER:"LOAD_ENDCUSTOMER",UPDATE_ENDCUSTOMER:"UPDATE_ENDCUSTOMER",CREATE_ENDCUSTOMER:"CREATE_ENDCUSTOMER",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",PATCH_ENDCUSTOMER:"PATCH_ENDCUSTOMER",FORM_NEW_ENDCUSTOMER:"FORM_NEW_ENDCUSTOMER",FORM_EDIT_ENDCUSTOMER:"FORM_EDIT_ENDCUSTOMER",FORM_SUBMIT_ENDCUSTOMER:"FORM_SUBMIT_ENDCUSTOMER"},Is={CLEAR_END_CUSTOMER:"CLEAR_END_CUSTOMER",SET_ENDCUSTOMERS:"SET_ENDCUSTOMERS",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",SET_ENDCUSTOMER_FETCHING:"SET_ENDCUSTOMER_FETCHING",SET_ENDCUSTOMER_POSTING:"SET_ENDCUSTOMER_POSTING"},eEe={LOAD_CERTIFICATES:"LOAD_CERTIFICATES",DO_SET_COMPANY_CERTIFICATES:"DO_SET_COMPANY_CERTIFICATES",SUBMIT_CERTIFICATES:"SUBMIT_CERTIFICATES"},tEe={SET_CERTIFICATES:"SET_CERTIFICATES",CLEAR_CERTIFICATES:"CLEAR_CERTIFICATES",SET_CERTIFICATES_FETCHING:"SET_CERTIFICATES_FETCHING",SET_CERTIFICATES_POSTING:"SET_CERTIFICATES_POSTING"},rEe={LOAD_COMPANY_REFERENCES:"LOAD_COMPANY_REFERENCES",LOAD_COMPANY_REFERENCE:"LOAD_COMPANY_REFERENCE",CREATE_COMPANY_REFERENCE:"CREATE_COMPANY_REFERENCE",UPDATE_COMPANY_REFERENCE:"UPDATE_COMPANY_REFERENCE",DELETE_COMPANY_REFERENCE:"DELETE_COMPANY_REFERENCE",PATCH_COMPANY_REFERENCE:"PATCH_COMPANY_REFERENCE",FORM_NEW_COMPANY_REFERENCE:"FORM_NEW_COMPANY_REFERENCE",FORM_EDIT_COMPANY_REFERENCE:"FORM_EDIT_COMPANY_REFERENCE",FORM_SUBMIT_COMPANY_REFERENCE:"FORM_SUBMIT_COMPANY_REFERENCE"},nEe={SET_COMPANY_REFERENCES:"SET_COMPANY_REFERENCES",DELETE_COMPANY_REFERENCE:"DELETE_COMPANY_REFERENCE",CLEAR_COMPANY_REFERENCES:"CLEAR_COMPANY_REFERENCES",SET_COMPANY_REFERENCE_FETCHING:"SET_COMPANY_REFERENCE_FETCHING",SET_COMPANY_REFERENCE_POSTING:"SET_COMPANY_REFERENCE_POSTING"},aEe={LOAD_COMPANY_REFERENCE_ITEMS:"LOAD_COMPANY_REFERENCE_ITEMS",LOAD_COMPANY_REFERENCE_ITEM:"LOAD_COMPANY_REFERENCE_ITEM",SET_COMPANY_REFERENCE_ITEMS:"SET_COMPANY_REFERENCE_ITEMS",CREATE_COMPANY_REFERENCE_ITEM:"CREATE_COMPANY_REFERENCE_ITEM",UPDATE_COMPANY_REFERENCE_ITEM:"UPDATE_COMPANY_REFERENCE_ITEM",DELETE_COMPANY_REFERENCE_ITEM:"DELETE_COMPANY_REFERENCE_ITEM",FORM_NEW_COMPANY_REFERENCE_ITEM:"FORM_NEW_COMPANY_REFERENCE_ITEM",FORM_SUBMIT_COMPANY_REFERENCE_ITEMS:"FORM_SUBMIT_COMPANY_REFERENCE_ITEMS"},iEe={SET_COMPANY_REFERENCE_ITEMS:"SET_COMPANY_REFERENCE_ITEMS",DELETE_COMPANY_REFERENCE_ITEM:"DELETE_COMPANY_REFERENCE_ITEM",CLEAR_COMPANY_REFERENCE_ITEMS:"CLEAR_COMPANY_REFERENCE_ITEMS"},oEe={LOAD_TEMPLATE_MESSAGES:"LOAD_TEMPLATE_MESSAGES",LOAD_TEMPLATE_MESSAGE:"LOAD_TEMPLATE_MESSAGE",CREATE_TEMPLATE_MESSAGE:"CREATE_TEMPLATE_MESSAGE",UPDATE_TEMPLATE_MESSAGE:"UPDATE_TEMPLATE_MESSAGE",DELETE_TEMPLATE_MESSAGE:"DELETE_TEMPLATE_MESSAGE",PATCH_TEMPLATE_MESSAGE:"PATCH_TEMPLATE_MESSAGE",FORM_NEW_TEMPLATE_MESSAGE:"FORM_NEW_TEMPLATE_MESSAGE",FORM_EDIT_TEMPLATE_MESSAGE:"FORM_EDIT_TEMPLATE_MESSAGE",FORM_SUBMIT_TEMPLATE_MESSAGE:"FORM_SUBMIT_TEMPLATE_MESSAGE"},sEe={LOAD_NOTIFICATIONS:"LOAD_NOTIFICATIONS",LOAD_UNREAD_NOTIFICATIONS:"LOAD_UNREAD_NOTIFICATIONS",LOAD_NOTIFICATION:"LOAD_NOTIFICATION",SET_READ_FOR_PROJECT:"SET_READ_FOR_PROJECT",SET_READ_FOR_INVOICE:"SET_READ_FOR_INVOICE",SET_NOTIFICATION_READ:"SET_NOTIFICATION_READ",SET_ALL_NOTIFICATION_READ:"SET_ALL_NOTIFICATION_READ",DO_CREATE_NOTIFICATION:"DO_CREATE_NOTIFICATION"},uEe={SET_NOTIFICATIONS:"SET_NOTIFICATIONS",CLEAR_NOTIFICATIONS:"CLEAR_NOTIFICATIONS",DELETE_MANY_NOTIFICATIONS:"DELETE_MANY_NOTIFICATIONS",SET_NOTIFICATIONS_FETCHED_AT:"SET_NOTIFICATIONS_FETCHED_AT",SET_NOTIFICATIONS_FETCHING:"SET_NOTIFICATIONS_FETCHING",SET_NOTIFICATIONS_POSTING:"SET_NOTIFICATIONS_POSTING"},lEe={LOAD_BOOKKEEPING_EXPORTS:"LOAD_BOOKKEEPING_EXPORTS",CREATE_BOOKKEEPING_EXPORT:"CREATE_BOOKKEEPING_EXPORT",CREATE_ROT_RUT_XML:"CREATE_ROT_RUT_XML"},dEe={},cEe={LOAD_INVOICE_NOTE:"LOAD_INVOICE_NOTE",DO_CREATE_INVOICE_NOTE:"DO_CREATE_INVOICE_NOTE",DO_UPDATE_INVOICE_NOTE:"DO_UPDATE_INVOICE_NOTE",FORM_NEW_INVOICE_NOTE:"FORM_NEW_INVOICE_NOTE",FORM_EDIT_INVOICE_NOTE:"FORM_EDIT_INVOICE_NOTE",FORM_SUBMIT_INVOICE_NOTE:"FORM_SUBMIT_INVOICE_NOTE"},fEe={SET_INVOICE_NOTES:"SET_INVOICE_NOTES",SET_INVOICE_NOTES_FETCHING:"SET_INVOICE_NOTES_FETCHING",SET_INVOICE_NOTES_POSTING:"SET_INVOICE_NOTES_POSTING"},mEe={...lEe,...cEe,DO_LOAD_INVOICE:"DO_LOAD_INVOICE",DELETE_INVOICE:"DELETE_INVOICE",DO_CREATE_INVOICE:"DO_CREATE_INVOICE",DO_LOAD_INVOICES:"DO_LOAD_INVOICES",LOAD_INVOICE:"LOAD_INVOICE",LOAD_INVOICES:"LOAD_INVOICES",UPDATE_INVOICE:"UPDATE_INVOICE",DO_UPDATE_INVOICE:"DO_UPDATE_INVOICE",ATTEST_INVOICE:"ATTEST_INVOICE",DO_ATTEST_INVOICE:"DO_ATTEST_INVOICE",START_INVOICE_DISPUTE:"START_INVOICE_DISPUTE",CANCEL_INVOICE_DISPUTE:"CANCEL_INVOICE_DISPUTE",REGISTER_INVOICE_PAYMENT:"REGISTER_INVOICE_PAYMENT",REGISTER_INVOICE_WRITEOFF:"REGISTER_INVOICE_WRITEOFF",SEND_INVOICE:"SEND_INVOICE",SEND_INVOICE_REMINDER:"SEND_INVOICE_REMINDER",UPDATE_INVOICE_ADDRESS:"UPDATE_INVOICE_ADDRESS",REGISTER_INVOICING:"REGISTER_INVOICING",LOAD_UNMATCHED_PAYMENTS:"LOAD_UNMATCHED_PAYMENTS",MATCH_PAYMENT:"MATCH_PAYMENT",DELETE_UNMATCHED_PAYMENT:"DELETE_UNMATCHED_PAYMENT",DO_SELL_INVOICE:"DO_SELL_INVOICE",SELL_INVOICE:"SELL_INVOICE",CANCEL_SELL_INVOICE:"CANCEL_SELL_INVOICE",GET_KYC_STATUS:"GET_KYC_STATUS",SIGN_KYC:"SIGN_KYC",CREATE_INVOICE_INTEREST:"CREATE_INVOICE_INTEREST",SET_INVOICE_REGION_SWEDEN_EXPORTED_HOUSEWORK:"SET_INVOICE_REGION_SWEDEN_EXPORTED_HOUSEWORK",SET_INVOICE_REGION_SWEDEN_PROCESSED_HOUSEWORK:"SET_INVOICE_REGION_SWEDEN_PROCESSED_HOUSEWORK",SET_INVOICE_FILTER:"SET_INVOICE_FILTER",SET_INVOICE_SORT:"SET_INVOICE_SORT"},pEe={...dEe,...fEe,DELETE_MANY_INVOICES:"DELETE_MANY_INVOICES",SET_INVOICES:"SET_INVOICES",SET_INVOICES_STATUS_COUNT:"SET_INVOICES_STATUS_COUNT",SET_INVOICES_FETCHING:"SET_INVOICES_FETCHING",SET_INVOICES_POSTING:"SET_INVOICES_POSTING",SET_INVOICE_FILTER:"SET_INVOICE_FILTER",SET_INVOICE_SORT:"SET_INVOICE_SORT"},hEe={LOAD_TIME_TRACKS:"LOAD_TIME_TRACKS",LOAD_TIME_TRACK:"LOAD_TIME_TRACK",CREATE_TIME_TRACK:"CREATE_TIME_TRACK",UPDATE_TIME_TRACK:"UPDATE_TIME_TRACK",DELETE_TIME_TRACK:"DELETE_TIME_TRACK",PATCH_TIME_TRACK:"PATCH_TIME_TRACK",ATTEST_TIME_TRACK:"ATTEST_TIME_TRACK",TIME_TRACK_START_TIMER:"TIME_TRACK_START_TIMER",TIME_TRACK_STOP_TIMER:"TIME_TRACK_STOP_TIMER",TIME_TRACK_GET_TIMER:"TIME_TRACK_GET_TIMER",TIME_TRACK_CLEAR_TIMER:"TIME_TRACK_CLEAR_TIMER",FORM_NEW_TIME_TRACK:"FORM_NEW_TIME_TRACK",FORM_EDIT_TIME_TRACK:"FORM_EDIT_TIME_TRACK",FORM_SUBMIT_TIME_TRACK:"FORM_SUBMIT_TIME_TRACK"},vEe={SET_TIME_TRACKS:"SET_TIME_TRACKS",DELETE_TIME_TRACK:"DELETE_TIME_TRACK",CLEAR_TIME_TRACKS:"CLEAR_TIME_TRACKS",SET_TIME_TRACK_TIMER:"SET_TIME_TRACK_TIMER",SET_TIME_TRACKS_FETCHING:"SET_TIME_TRACKS_FETCHING",SET_TIME_TRACKS_POSTING:"SET_TIME_TRACKS_POSTING"},RU={DO_CREATE_TEMPLATE:"DO_CREATE_TEMPLATE",DO_LOAD_TEMPLATE:"DO_LOAD_TEMPLATE",DO_LOAD_TEMPLATES:"DO_LOAD_TEMPLATES",DO_UPDATE_TEMPLATE:"DO_UPDATE_TEMPLATE",LOAD_TEMPLATE:"LOAD_TEMPLATE",LOAD_TEMPLATES:"LOAD_TEMPLATES",UPDATE_TEMPLATE:"UPDATE_TEMPLATE",DELETE_TEMPLATE:"DELETE_TEMPLATE",PATCH_TEMPLATE:"PATCH_TEMPLATE",HIDE_TEMPLATE:"HIDE_TEMPLATE",DUPLICATE_PROTECTED_TEMPLATE:"DUPLICATE_PROTECTED_TEMPLATE"},ux={SET_TEMPLATES:"SET_TEMPLATES",SET_TEMPLATE_FETCHING:"SET_TEMPLATE_FETCHING",SET_TEMPLATE_POSTING:"SET_TEMPLATE_POSTING",DELETE_MANY_TEMPLATES:"DELETE_MANY_TEMPLATES"},gEe={DO_LOAD_PUBLIC_DOCUMENT:"DO_LOAD_PUBLIC_DOCUMENT",DO_LOAD_PUBLIC_DOCUMENTS:"DO_LOAD_PUBLIC_DOCUMENTS",PUT_PUBLIC_DOCUMENT:"PUT_PUBLIC_DOCUMENT",PUT_CURRENT_PUBLIC_DOCUMENT:"PUT_CURRENT_PUBLIC_DOCUMENT",LOAD_PUBLIC_DOCUMENT:"LOAD_PUBLIC_DOCUMENT",LOAD_PUBLIC_DOCUMENTS:"LOAD_PUBLIC_DOCUMENTS",ANSWER_PUBLIC_DOCUMENT:"ANSWER_PUBLIC_DOCUMENT",ANSWER_CURRENT_PUBLIC_DOCUMENT:"ANSWER_CURRENT_PUBLIC_DOCUMENT",DO_SET_CURRENT_DOCUMENT:"DO_SET_CURRENT_DOCUMENT",SET_CURRENT_PUBLIC_DOCUMENT_VALUE:"SET_CURRENT_PUBLIC_DOCUMENT_VALUE",RELOAD_CURRENT_DOCUMENT:"RELOAD_CURRENT_DOCUMENT",LOAD_PUBLIC_COMPANY:"LOAD_PUBLIC_COMPANY",LOAD_CLIENT_DOCUMENTS:"LOAD_CLIENT_DOCUMENTS",LOAD_CLIENT_INVOICES:"LOAD_CLIENT_INVOICES",REQUEST_MAGIC_LINK:"REQUEST_MAGIC_LINK"},yEe={SET_PUBLIC_DOCUMENTS:"SET_PUBLIC_DOCUMENTS",SET_PUBLIC_INVOICES:"SET_PUBLIC_INVOICES",SET_PUBLIC_DOCUMENTS_FETCHING:"SET_PUBLIC_DOCUMENTS_FETCHING",SET_PUBLIC_DOCUMENTS_POSTING:"SET_PUBLIC_DOCUMENTS_POSTING",SET_CURRENT_DOCUMENT:"SET_CURRENT_DOCUMENT",SET_CURRENT_DOCUMENT_VALUE:"SET_CURRENT_DOCUMENT_VALUE",SET_PUBLIC_COMPANIES:"SET_PUBLIC_COMPANIES",SET_VIEWER:"SET_VIEWER"},_Ee={LOAD_DOCUMENT_TERMS:"LOAD_DOCUMENT_TERMS",LOAD_DOCUMENT_TERM:"LOAD_DOCUMENT_TERM",CREATE_DOCUMENT_TERM:"CREATE_DOCUMENT_TERM",UPDATE_DOCUMENT_TERM:"UPDATE_DOCUMENT_TERM",DELETE_DOCUMENT_TERM:"DELETE_DOCUMENT_TERM",PATCH_DOCUMENT_TERM:"PATCH_DOCUMENT_TERM",FORM_NEW_DOCUMENT_TERM:"FORM_NEW_DOCUMENT_TERM",FORM_EDIT_DOCUMENT_TERM:"FORM_EDIT_DOCUMENT_TERM",FORM_SUBMIT_DOCUMENT_TERM:"FORM_SUBMIT_DOCUMENT_TERM"},bEe={SET_DOCUMENT_TERMS:"SET_DOCUMENT_TERMS",DELETE_DOCUMENT_TERM:"DELETE_DOCUMENT_TERM",CLEAR_DOCUMENT_TERMS:"CLEAR_DOCUMENT_TERMS",SET_DOCUMENT_TERMS_FETCHING:"SET_DOCUMENT_TERMS_FETCHING",SET_DOCUMENT_TERMS_POSTING:"SET_DOCUMENT_TERMS_POSTING"},wEe={LOAD_UNIT_TYPES:"LOAD_UNIT_TYPES",LOAD_UNIT_TYPE:"LOAD_UNIT_TYPE",CREATE_UNIT_TYPE:"CREATE_UNIT_TYPE",UPDATE_UNIT_TYPE:"UPDATE_UNIT_TYPE",DELETE_UNIT_TYPE:"DELETE_UNIT_TYPE"},xEe={SET_UNIT_TYPES:"SET_UNIT_TYPES",DELETE_UNIT_TYPE:"DELETE_UNIT_TYPE",SET_UNIT_TYPE_FETCHING:"SET_UNIT_TYPE_FETCHING",SET_UNIT_TYPE_POSTING:"SET_UNIT_TYPE_POSTING"},la={...PU,application:bl,projects:$n,forms:An,documents2:OU,files:lm,settings:DU,articles:ZTe,endCustomers:AU,certificates:eEe,companies:kU,companyUsers:TU,companyReferences:rEe,companyReferenceItems:aEe,templateMessages:oEe,notifications:sEe,invoices:mEe,timeTracks:hEe,templates:RU,publicDocuments:gEe,documentTerms:_Ee,unitTypes:wEe,stripe:{LOAD_PRICES:"LOAD_PRICES",RESET_STRIPE_FORM:"RESET_STRIPE_FORM",SET_STRIPE_FORM_VALUE:"SET_STRIPE_FORM_VALUE",SET_FORM_PROMOTION:"SET_FORM_PROMOTION",SUBMIT_PROMOTION_CODE:"SUBMIT_PROMOTION_CODE",SUBMIT_PAYMENT_METHOD:"SUBMIT_PAYMENT_METHOD",SUBMIT_FORM_PLAN:"SUBMIT_FORM_PLAN",CONFIRM_PAYMENT:"CONFIRM_PAYMENT",REMOVE_SUBSCRIPTION_ITEM:"REMOVE_SUBSCRIPTION_ITEM",SUBMIT_FORM_PAYMENT:"SUBMIT_STRIPE_FORM_PAYMENT",SUBMIT_FORM_PRODUCTS:"SUBMIT_STRIPE_FORM_PRODUCTS"},CREATE_ARTICLE:"CREATE_ARTICLE",CREATE_COMPANY_USER:"CREATE_COMPANY_USER",CREATE_ENDCUSTOMER:"CREATE_ENDCUSTOMER",CREATE_PROJECT:"CREATE_PROJECT",DELETE_ARTICLE:"DELETE_ARTICLE",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",DELETE_PROJECT:"DELETE_PROJECT",FORM_CLEAR_FORM:"FORM_CLEAR_FORM",FORM_EDIT_ARTICLE:"FORM_EDIT_ARTICLE",FORM_EDIT_COMPANY:"FORM_EDIT_COMPANY",FORM_EDIT_COMPANY_USER:"FORM_EDIT_COMPANY_USER",FORM_EDIT_COMPANY_BRANDING:"FORM_EDIT_COMPANY_BRANDING",FORM_EDIT_ENDCUSTOMER:"FORM_EDIT_ENDCUSTOMER",FORM_NEW_ARTICLE:"FORM_NEW_ARTICLE",FORM_NEW_COMPANY_USER:"FORM_NEW_COMPANY_USER",FORM_NEW_COMPANY_BRANDING:"FORM_NEW_COMPANY_BRANDING",FORM_NEW_ENDCUSTOMER:"FORM_NEW_ENDCUSTOMER",FORM_NEW_OFFER:"FORM_NEW_OFFER",FORM_SUBMIT_ARTICLE:"FORM_SUBMIT_ARTICLE",FORM_SUBMIT_COMPANY:"FORM_SUBMIT_COMPANY",FORM_SUBMIT_COMPANY_USER:"FORM_SUBMIT_COMPANY_USER",FORM_SUBMIT_COMPANY_BRANDING:"FORM_SUBMIT_COMPANY_BRANDING",FORM_SUBMIT_ENDCUSTOMER:"FORM_SUBMIT_ENDCUSTOMER",FORM_SUBMIT_OFFER:"FORM_SUBMIT_OFFER",LOAD_ARTICLE:"LOAD_ARTICLE",LOAD_ARTICLES:"LOAD_ARTICLES",LOAD_CERTIFICATES:"LOAD_CERTIFICATES",LOAD_COMPANY_USER:"LOAD_COMPANY_USER",LOAD_COMPANY_USERS:"LOAD_COMPANY_USERS",DO_LOAD_CURRENT_COMPANY:"DO_LOAD_CURRENT_COMPANY",LOAD_ENDCUSTOMER:"LOAD_ENDCUSTOMER",LOAD_ENDCUSTOMERS:"LOAD_ENDCUSTOMERS",LOAD_PROJECT:"LOAD_PROJECT",LOAD_PROJECTS:"LOAD_PROJECTS",LOAD_PUBLIC_PROJECT:"LOAD_PUBLIC_PROJECT",PATCH_ARTICLE:"PATCH_ARTICLE",PATCH_COMPANY_USER:"PATCH_COMPANY_USER",SEARCH_ARTICLE:"SEARCH_ARTICLE",SET_ARTICLES:"SET_ARTICLES",SET_FORM:"SET_FORM",SET_PROJECTS:"SET_PROJECTS",SET_READ_FOR_PROJECT:"SET_READ_FOR_PROJECT",SORT:"SORT",UPDATE_ARTICLE:"UPDATE_ARTICLE",UPDATE_COMPANY_USER:"UPDATE_COMPANY_USER",DO_UPDATE_CURRENT_COMPANY:"DO_UPDATE_CURRENT_COMPANY",UPDATE_ENDCUSTOMER:"UPDATE_ENDCUSTOMER",UPDATE_PROJECT:"UPDATE_PROJECT"},ke={};Object.keys(la).forEach(t=>{typeof la[t]=="object"&&Object.keys(la[t]).forEach(e=>{ke[e]&&console.warn(`Duplicate action constant warning!, ${la[t][e]}`),ke[e]=`${t}/${la[t][e]}`})}),Object.keys(PU).forEach(t=>{ke[t]&&console.warn(`Duplicate action constant warning!, ${la[t]}`),ke[t]=la[t]});var IU={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Ae,function(){return function(r){var n={};function a(i){if(n[i])return n[i].exports;var o=n[i]={i,l:!1,exports:{}};return r[i].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=r,a.c=n,a.d=function(i,o,s){a.o(i,o)||Object.defineProperty(i,o,{enumerable:!0,get:s})},a.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},a.t=function(i,o){if(1&o&&(i=a(i)),8&o||4&o&&typeof i=="object"&&i&&i.__esModule)return i;var s=Object.create(null);if(a.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:i}),2&o&&typeof i!="string")for(var u in i)a.d(s,u,function(l){return i[l]}.bind(null,u));return s},a.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return a.d(o,"a",o),o},a.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},a.p="",a(a.s=6)}([function(r,n,a){var i=a(12),o={};function s(_,w){return w===u(_)}function u(_){var w=typeof _;return w!=="object"?w:_?_ instanceof Error?"error":{}.toString.call(_).match(/\s([a-zA-Z]+)/)[1].toLowerCase():"null"}function l(_){return s(_,"function")}function d(_){var w=Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?"),x=RegExp("^"+w+"$");return c(_)&&x.test(_)}function c(_){var w=typeof _;return _!=null&&(w=="object"||w=="function")}function m(){var _=g();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(w){var x=(_+16*Math.random())%16|0;return _=Math.floor(_/16),(w==="x"?x:7&x|8).toString(16)})}var f={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};function p(_,w){var x,k;try{x=o.stringify(_)}catch(D){if(w&&l(w))try{x=w(_)}catch(S){k=S}else k=D}return{error:k,value:x}}function h(_,w){return function(x,k){try{w(x,k)}catch(D){_.error(D)}}}var v=["log","network","dom","navigation","error","manual"],y=["critical","error","warning","info","debug"];function b(_,w){for(var x=0;x<_.length;++x)if(_[x]===w)return!0;return!1}function g(){return Date.now?+Date.now():+new Date}r.exports={addParamsAndAccessTokenToPath:function(_,w,x){(x=x||{}).access_token=_;var k,D=[];for(k in x)Object.prototype.hasOwnProperty.call(x,k)&&D.push([k,x[k]].join("="));var S="?"+D.sort().join("&");(w=w||{}).path=w.path||"";var O,C=w.path.indexOf("?"),E=w.path.indexOf("#");C!==-1&&(E===-1||E>C)?(O=w.path,w.path=O.substring(0,C)+S+"&"+O.substring(C+1)):E!==-1?(O=w.path,w.path=O.substring(0,E)+S+O.substring(E)):w.path=w.path+S},createItem:function(_,w,x,k,D){for(var S,O,C,E,T,$,I=[],W=[],U=0,M=_.length;U<M;++U){var P=u($=_[U]);switch(W.push(P),P){case"undefined":break;case"string":S?I.push($):S=$;break;case"function":E=h(w,$);break;case"date":I.push($);break;case"error":case"domexception":case"exception":O?I.push($):O=$;break;case"object":case"array":if($ instanceof Error||typeof DOMException<"u"&&$ instanceof DOMException){O?I.push($):O=$;break}if(k&&P==="object"&&!T){for(var A=0,j=k.length;A<j;++A)if($[k[A]]!==void 0){T=$;break}if(T)break}C?I.push($):C=$;break;default:if($ instanceof Error||typeof DOMException<"u"&&$ instanceof DOMException){O?I.push($):O=$;break}I.push($)}}I.length>0&&((C=i(C)).extraArgs=I);var B={message:S,err:O,custom:C,timestamp:g(),callback:E,notifier:x,diagnostic:{},uuid:m()};return function(G,X){X&&X.level!==void 0&&(G.level=X.level,delete X.level),X&&X.skipFrames!==void 0&&(G.skipFrames=X.skipFrames,delete X.skipFrames)}(B,C),k&&T&&(B.request=T),D&&(B.lambdaContext=D),B._originalArgs=_,B.diagnostic.original_arg_types=W,B},addErrorContext:function(_,w){var x=_.data.custom||{},k=!1;try{for(var D=0;D<w.length;++D)w[D].hasOwnProperty("rollbarContext")&&(x=i(x,w[D].rollbarContext),k=!0);k&&(_.data.custom=x)}catch(S){_.diagnostic.error_context="Failed: "+S.message}},createTelemetryEvent:function(_){for(var w,x,k,D,S=0,O=_.length;S<O;++S)switch(u(D=_[S])){case"string":!w&&b(v,D)?w=D:!k&&b(y,D)&&(k=D);break;case"object":x=D}return{type:w||"manual",metadata:x||{},level:k}},filterIp:function(_,w){if(_&&_.user_ip&&w!==!0){var x=_.user_ip;if(w)try{var k;if(x.indexOf(".")!==-1)(k=x.split(".")).pop(),k.push("0"),x=k.join(".");else if(x.indexOf(":")!==-1){if((k=x.split(":")).length>2){var D=k.slice(0,3),S=D[2].indexOf("/");S!==-1&&(D[2]=D[2].substring(0,S)),x=D.concat("0000:0000:0000:0000:0000").join(":")}}else x=null}catch{x=null}else x=null;_.user_ip=x}},formatArgsAsString:function(_){var w,x,k,D=[];for(w=0,x=_.length;w<x;++w){switch(u(k=_[w])){case"object":(k=(k=p(k)).error||k.value).length>500&&(k=k.substr(0,497)+"...");break;case"null":k="null";break;case"undefined":k="undefined";break;case"symbol":k=k.toString()}D.push(k)}return D.join(" ")},formatUrl:function(_,w){if(!(w=w||_.protocol)&&_.port&&(_.port===80?w="http:":_.port===443&&(w="https:")),w=w||"https:",!_.hostname)return null;var x=w+"//"+_.hostname;return _.port&&(x=x+":"+_.port),_.path&&(x+=_.path),x},get:function(_,w){if(_){var x=w.split("."),k=_;try{for(var D=0,S=x.length;D<S;++D)k=k[x[D]]}catch{k=void 0}return k}},handleOptions:function(_,w,x,k){var D=i(_,w,x);return D=function(S,O){return S.hostWhiteList&&!S.hostSafeList&&(S.hostSafeList=S.hostWhiteList,S.hostWhiteList=void 0,O&&O.log("hostWhiteList is deprecated. Use hostSafeList.")),S.hostBlackList&&!S.hostBlockList&&(S.hostBlockList=S.hostBlackList,S.hostBlackList=void 0,O&&O.log("hostBlackList is deprecated. Use hostBlockList.")),S}(D,k),!w||w.overwriteScrubFields||w.scrubFields&&(D.scrubFields=(_.scrubFields||[]).concat(w.scrubFields)),D},isError:function(_){return s(_,"error")||s(_,"exception")},isFunction:l,isIterable:function(_){var w=u(_);return w==="object"||w==="array"},isNativeFunction:d,isType:s,isObject:c,isString:function(_){return typeof _=="string"||_ instanceof String},jsonParse:function(_){var w,x;try{w=o.parse(_)}catch(k){x=k}return{error:x,value:w}},LEVELS:{debug:0,info:1,warning:2,error:3,critical:4},makeUnhandledStackInfo:function(_,w,x,k,D,S,O,C){var E={url:w||"",line:x,column:k};E.func=C.guessFunctionName(E.url,E.line),E.context=C.gatherContext(E.url,E.line);var T=typeof document<"u"&&document&&document.location&&document.location.href,$=typeof window<"u"&&window&&window.navigator&&window.navigator.userAgent;return{mode:S,message:D?String(D):_||O,url:T,stack:[E],useragent:$}},merge:i,now:g,redact:function(){return"********"},RollbarJSON:o,sanitizeUrl:function(_){var w=function(x){if(!!s(x,"string")){for(var k=f,D=k.parser[k.strictMode?"strict":"loose"].exec(x),S={},O=0,C=k.key.length;O<C;++O)S[k.key[O]]=D[O]||"";return S[k.q.name]={},S[k.key[12]].replace(k.q.parser,function(E,T,$){T&&(S[k.q.name][T]=$)}),S}}(_);return w?(w.anchor===""&&(w.source=w.source.replace("#","")),_=w.source.replace("?"+w.query,"")):"(unknown)"},set:function(_,w,x){if(_){var k=w.split("."),D=k.length;if(!(D<1))if(D!==1)try{for(var S=_[k[0]]||{},O=S,C=1;C<D-1;++C)S[k[C]]=S[k[C]]||{},S=S[k[C]];S[k[D-1]]=x,_[k[0]]=O}catch{return}else _[k[0]]=x}},setupJSON:function(_){l(o.stringify)&&l(o.parse)||(s(JSON,"undefined")||(_?(d(JSON.stringify)&&(o.stringify=JSON.stringify),d(JSON.parse)&&(o.parse=JSON.parse)):(l(JSON.stringify)&&(o.stringify=JSON.stringify),l(JSON.parse)&&(o.parse=JSON.parse))),l(o.stringify)&&l(o.parse)||_&&_(o))},stringify:p,maxByteSize:function(_){for(var w=0,x=_.length,k=0;k<x;k++){var D=_.charCodeAt(k);D<128?w+=1:D<2048?w+=2:D<65536&&(w+=3)}return w},typeName:u,uuid4:m}},function(r,n,a){a(17);var i=a(18),o=a(0);r.exports={error:function(){var s=Array.prototype.slice.call(arguments,0);s.unshift("Rollbar:"),i.ieVersion()<=8?console.error(o.formatArgsAsString(s)):console.error.apply(console,s)},info:function(){var s=Array.prototype.slice.call(arguments,0);s.unshift("Rollbar:"),i.ieVersion()<=8?console.info(o.formatArgsAsString(s)):console.info.apply(console,s)},log:function(){var s=Array.prototype.slice.call(arguments,0);s.unshift("Rollbar:"),i.ieVersion()<=8?console.log(o.formatArgsAsString(s)):console.log.apply(console,s)}}},function(r,n,a){r.exports={parse:function(i){var o,s,u={protocol:null,auth:null,host:null,path:null,hash:null,href:i,hostname:null,port:null,pathname:null,search:null,query:null};if((o=i.indexOf("//"))!==-1?(u.protocol=i.substring(0,o),s=o+2):s=0,(o=i.indexOf("@",s))!==-1&&(u.auth=i.substring(s,o),s=o+1),(o=i.indexOf("/",s))===-1){if((o=i.indexOf("?",s))===-1)return(o=i.indexOf("#",s))===-1?u.host=i.substring(s):(u.host=i.substring(s,o),u.hash=i.substring(o)),u.hostname=u.host.split(":")[0],u.port=u.host.split(":")[1],u.port&&(u.port=parseInt(u.port,10)),u;u.host=i.substring(s,o),u.hostname=u.host.split(":")[0],u.port=u.host.split(":")[1],u.port&&(u.port=parseInt(u.port,10)),s=o}else u.host=i.substring(s,o),u.hostname=u.host.split(":")[0],u.port=u.host.split(":")[1],u.port&&(u.port=parseInt(u.port,10)),s=o;if((o=i.indexOf("#",s))===-1?u.path=i.substring(s):(u.path=i.substring(s,o),u.hash=i.substring(o)),u.path){var l=u.path.split("?");u.pathname=l[0],u.query=l[1],u.search=u.query?"?"+u.query:null}return u}}},function(r,n,a){var i=a(22),o=new RegExp("^(([a-zA-Z0-9-_$ ]*): *)?(Uncaught )?([a-zA-Z0-9-_$ ]*): ");function s(){return null}function u(c){var m={};return m._stackFrame=c,m.url=c.fileName,m.line=c.lineNumber,m.func=c.functionName,m.column=c.columnNumber,m.args=c.args,m.context=null,m}function l(c,m){return{stack:function(){var f=[];m=m||0;try{f=i.parse(c)}catch{f=[]}for(var p=[],h=m;h<f.length;h++)p.push(new u(f[h]));return p}(),message:c.message,name:d(c),rawStack:c.stack,rawException:c}}function d(c){var m=c.name&&c.name.length&&c.name,f=c.constructor.name&&c.constructor.name.length&&c.constructor.name;return m&&f?m==="Error"?f:m:m||f}r.exports={guessFunctionName:function(){return"?"},guessErrorClass:function(c){if(!c||!c.match)return["Unknown error. There was no error message to display.",""];var m=c.match(o),f="(unknown)";return m&&(f=m[m.length-1],c=(c=c.replace((m[m.length-2]||"")+f+":","")).replace(/(^[\s]+|[\s]+$)/g,"")),[f,c]},gatherContext:s,parse:function(c,m){var f=c;if(f.nested){for(var p=[];f;)p.push(new l(f,m)),f=f.nested,m=0;return p[0].traceChain=p,p[0]}return new l(f,m)},Stack:l,Frame:u}},function(r,n,a){var i=a(0),o=a(5);function s(u,l){var d=l.split("."),c=d.length-1;try{for(var m=0;m<=c;++m)m<c?u=u[d[m]]:u[d[m]]=i.redact()}catch{}}r.exports=function(u,l,d){if(l=l||[],d)for(var c=0;c<d.length;++c)s(u,d[c]);var m=function(h){for(var v,y=[],b=0;b<h.length;++b)v="^\\[?(%5[bB])?"+h[b]+"\\[?(%5[bB])?\\]?(%5[dD])?$",y.push(new RegExp(v,"i"));return y}(l),f=function(h){for(var v,y=[],b=0;b<h.length;++b)v="\\[?(%5[bB])?"+h[b]+"\\[?(%5[bB])?\\]?(%5[dD])?",y.push(new RegExp("("+v+"=)([^&\\n]+)","igm"));return y}(l);function p(h,v){return v+i.redact()}return o(u,function h(v,y,b){var g=function(_,w){var x;for(x=0;x<m.length;++x)if(m[x].test(_)){w=i.redact();break}return w}(v,y);return g===y?i.isType(y,"object")||i.isType(y,"array")?o(y,h,b):function(_){var w;if(i.isType(_,"string"))for(w=0;w<f.length;++w)_=_.replace(f[w],p);return _}(g):g})}},function(r,n,a){var i=a(0);r.exports=function(o,s,u){var l,d,c,m,f=i.isType(o,"object"),p=i.isType(o,"array"),h=[];if(u=u||{obj:[],mapped:[]},f){if(m=u.obj.indexOf(o),f&&m!==-1)return u.mapped[m]||u.obj[m];u.obj.push(o),m=u.obj.length-1}if(f)for(l in o)Object.prototype.hasOwnProperty.call(o,l)&&h.push(l);else if(p)for(c=0;c<o.length;++c)h.push(c);var v=f?{}:[],y=!0;for(c=0;c<h.length;++c)d=o[l=h[c]],v[l]=s(l,d,u),y=y&&v[l]===o[l];return f&&!y&&(u.mapped[m]=v),y?o:v}},function(r,n,a){r.exports=a(7)},function(r,n,a){var i=a(8),o=typeof window<"u"&&window._rollbarConfig,s=o&&o.globalAlias||"Rollbar",u=typeof window<"u"&&window[s]&&typeof window[s].shimId=="function"&&window[s].shimId()!==void 0;if(typeof window>"u"||window._rollbarStartTime||(window._rollbarStartTime=new Date().getTime()),!u&&o){var l=new i(o);window[s]=l}else typeof window<"u"?(window.rollbar=i,window._rollbarDidLoad=!0):typeof self<"u"&&(self.rollbar=i,self._rollbarDidLoad=!0);r.exports=i},function(r,n,a){var i=a(9),o=a(29),s=a(30),u=a(32),l=a(34),d=a(4),c=a(35);i.setComponents({telemeter:o,instrumenter:s,polyfillJSON:u,wrapGlobals:l,scrub:d,truncation:c}),r.exports=i},function(r,n,a){var i=a(10),o=a(0),s=a(15),u=a(1),l=a(19),d=a(20),c=a(2),m=a(21),f=a(24),p=a(25),h=a(26),v=a(3);function y(S,O){this.options=o.handleOptions(D,S,null,u),this.options._configuredOptions=S;var C=this.components.telemeter,E=this.components.instrumenter,T=this.components.polyfillJSON;this.wrapGlobals=this.components.wrapGlobals,this.scrub=this.components.scrub;var $=this.components.truncation,I=new d($),W=new s(this.options,I,c,$);C&&(this.telemeter=new C(this.options)),this.client=O||new i(this.options,W,u,this.telemeter,"browser");var U=w(),M=typeof document<"u"&&document;this.isChrome=U.chrome&&U.chrome.runtime,this.anonymousErrorsPending=0,function(P,A,j){P.addTransform(m.handleDomException).addTransform(m.handleItemWithError).addTransform(m.ensureItemHasSomethingToSay).addTransform(m.addBaseInfo).addTransform(m.addRequestInfo(j)).addTransform(m.addClientInfo(j)).addTransform(m.addPluginInfo(j)).addTransform(m.addBody).addTransform(f.addMessageWithError).addTransform(f.addTelemetryData).addTransform(f.addConfigToPayload).addTransform(m.addScrubber(A.scrub)).addTransform(f.userTransform(u)).addTransform(f.addConfiguredOptions).addTransform(f.addDiagnosticKeys).addTransform(f.itemToPayload)}(this.client.notifier,this,U),this.client.queue.addPredicate(h.checkLevel).addPredicate(p.checkIgnore).addPredicate(h.userCheckIgnore(u)).addPredicate(h.urlIsNotBlockListed(u)).addPredicate(h.urlIsSafeListed(u)).addPredicate(h.messageIsIgnored(u)),this.setupUnhandledCapture(),E&&(this.instrumenter=new E(this.options,this.client.telemeter,this,U,M),this.instrumenter.instrument()),o.setupJSON(T)}var b=null;function g(S){var O="Rollbar is not initialized";u.error(O),S&&S(new Error(O))}function _(S){for(var O=0,C=S.length;O<C;++O)if(o.isFunction(S[O]))return S[O]}function w(){return typeof window<"u"&&window||typeof self<"u"&&self}y.init=function(S,O){return b?b.global(S).configure(S):b=new y(S,O)},y.prototype.components={},y.setComponents=function(S){y.prototype.components=S},y.prototype.global=function(S){return this.client.global(S),this},y.global=function(S){if(b)return b.global(S);g()},y.prototype.configure=function(S,O){var C=this.options,E={};return O&&(E={payload:O}),this.options=o.handleOptions(C,S,E,u),this.options._configuredOptions=o.handleOptions(C._configuredOptions,S,E),this.client.configure(this.options,O),this.instrumenter&&this.instrumenter.configure(this.options),this.setupUnhandledCapture(),this},y.configure=function(S,O){if(b)return b.configure(S,O);g()},y.prototype.lastError=function(){return this.client.lastError},y.lastError=function(){if(b)return b.lastError();g()},y.prototype.log=function(){var S=this._createItem(arguments),O=S.uuid;return this.client.log(S),{uuid:O}},y.log=function(){if(b)return b.log.apply(b,arguments);var S=_(arguments);g(S)},y.prototype.debug=function(){var S=this._createItem(arguments),O=S.uuid;return this.client.debug(S),{uuid:O}},y.debug=function(){if(b)return b.debug.apply(b,arguments);var S=_(arguments);g(S)},y.prototype.info=function(){var S=this._createItem(arguments),O=S.uuid;return this.client.info(S),{uuid:O}},y.info=function(){if(b)return b.info.apply(b,arguments);var S=_(arguments);g(S)},y.prototype.warn=function(){var S=this._createItem(arguments),O=S.uuid;return this.client.warn(S),{uuid:O}},y.warn=function(){if(b)return b.warn.apply(b,arguments);var S=_(arguments);g(S)},y.prototype.warning=function(){var S=this._createItem(arguments),O=S.uuid;return this.client.warning(S),{uuid:O}},y.warning=function(){if(b)return b.warning.apply(b,arguments);var S=_(arguments);g(S)},y.prototype.error=function(){var S=this._createItem(arguments),O=S.uuid;return this.client.error(S),{uuid:O}},y.error=function(){if(b)return b.error.apply(b,arguments);var S=_(arguments);g(S)},y.prototype.critical=function(){var S=this._createItem(arguments),O=S.uuid;return this.client.critical(S),{uuid:O}},y.critical=function(){if(b)return b.critical.apply(b,arguments);var S=_(arguments);g(S)},y.prototype.buildJsonPayload=function(S){return this.client.buildJsonPayload(S)},y.buildJsonPayload=function(){if(b)return b.buildJsonPayload.apply(b,arguments);g()},y.prototype.sendJsonPayload=function(S){return this.client.sendJsonPayload(S)},y.sendJsonPayload=function(){if(b)return b.sendJsonPayload.apply(b,arguments);g()},y.prototype.setupUnhandledCapture=function(){var S=w();this.unhandledExceptionsInitialized||(this.options.captureUncaught||this.options.handleUncaughtExceptions)&&(l.captureUncaughtExceptions(S,this),this.wrapGlobals&&this.options.wrapGlobalEventHandlers&&this.wrapGlobals(S,this),this.unhandledExceptionsInitialized=!0),this.unhandledRejectionsInitialized||(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections)&&(l.captureUnhandledRejections(S,this),this.unhandledRejectionsInitialized=!0)},y.prototype.handleUncaughtException=function(S,O,C,E,T,$){if(this.options.captureUncaught||this.options.handleUncaughtExceptions){if(this.options.inspectAnonymousErrors&&this.isChrome&&T===null&&O==="")return"anonymous";var I,W=o.makeUnhandledStackInfo(S,O,C,E,T,"onerror","uncaught exception",v);o.isError(T)?(I=this._createItem([S,T,$]))._unhandledStackInfo=W:o.isError(O)?(I=this._createItem([S,O,$]))._unhandledStackInfo=W:(I=this._createItem([S,$])).stackInfo=W,I.level=this.options.uncaughtErrorLevel,I._isUncaught=!0,this.client.log(I)}},y.prototype.handleAnonymousErrors=function(){if(this.options.inspectAnonymousErrors&&this.isChrome){var S=this;try{Error.prepareStackTrace=function(O,C){if(S.options.inspectAnonymousErrors&&S.anonymousErrorsPending){if(S.anonymousErrorsPending-=1,!O)return;O._isAnonymous=!0,S.handleUncaughtException(O.message,null,null,null,O)}return O.stack}}catch(O){this.options.inspectAnonymousErrors=!1,this.error("anonymous error handler failed",O)}}},y.prototype.handleUnhandledRejection=function(S,O){if(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections){var C="unhandled rejection was null or undefined!";if(S)if(S.message)C=S.message;else{var E=o.stringify(S);E.value&&(C=E.value)}var T,$=S&&S._rollbarContext||O&&O._rollbarContext;o.isError(S)?T=this._createItem([C,S,$]):(T=this._createItem([C,S,$])).stackInfo=o.makeUnhandledStackInfo(C,"",0,0,null,"unhandledrejection","",v),T.level=this.options.uncaughtErrorLevel,T._isUncaught=!0,T._originalArgs=T._originalArgs||[],T._originalArgs.push(O),this.client.log(T)}},y.prototype.wrap=function(S,O,C){try{var E;if(E=o.isFunction(O)?O:function(){return O||{}},!o.isFunction(S)||S._isWrap)return S;if(!S._rollbar_wrapped&&(S._rollbar_wrapped=function(){C&&o.isFunction(C)&&C.apply(this,arguments);try{return S.apply(this,arguments)}catch(I){var $=I;throw $&&window._rollbarWrappedError!==$&&(o.isType($,"string")&&($=new String($)),$._rollbarContext=E()||{},$._rollbarContext._wrappedSource=S.toString(),window._rollbarWrappedError=$),$}},S._rollbar_wrapped._isWrap=!0,S.hasOwnProperty))for(var T in S)S.hasOwnProperty(T)&&T!=="_rollbar_wrapped"&&(S._rollbar_wrapped[T]=S[T]);return S._rollbar_wrapped}catch{return S}},y.wrap=function(S,O){if(b)return b.wrap(S,O);g()},y.prototype.captureEvent=function(){var S=o.createTelemetryEvent(arguments);return this.client.captureEvent(S.type,S.metadata,S.level)},y.captureEvent=function(){if(b)return b.captureEvent.apply(b,arguments);g()},y.prototype.captureDomContentLoaded=function(S,O){return O||(O=new Date),this.client.captureDomContentLoaded(O)},y.prototype.captureLoad=function(S,O){return O||(O=new Date),this.client.captureLoad(O)},y.prototype.loadFull=function(){u.info("Unexpected Rollbar.loadFull() called on a Notifier instance. This can happen when Rollbar is loaded multiple times.")},y.prototype._createItem=function(S){return o.createItem(S,u,this)};var x=a(27),k=a(28),D={version:x.version,scrubFields:k.scrubFields,logLevel:x.logLevel,reportLevel:x.reportLevel,uncaughtErrorLevel:x.uncaughtErrorLevel,endpoint:x.endpoint,verbose:!1,enabled:!0,transmit:!0,sendConfig:!1,includeItemsInTelemetry:!0,captureIp:!0,inspectAnonymousErrors:!0,ignoreDuplicateErrors:!0,wrapGlobalEventHandlers:!1};r.exports=y},function(r,n,a){var i=a(11),o=a(13),s=a(14),u=a(0);function l(m,f,p,h,v){this.options=u.merge(m),this.logger=p,l.rateLimiter.configureGlobal(this.options),l.rateLimiter.setPlatformOptions(v,this.options),this.api=f,this.queue=new o(l.rateLimiter,f,p,this.options);var y=this.options.tracer||null;c(y)?(this.tracer=y,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier=new s(this.queue,this.options),this.telemeter=h,d(m),this.lastError=null,this.lastErrorHash="none"}function d(m){m.stackTraceLimit&&(Error.stackTraceLimit=m.stackTraceLimit)}function c(m){if(!m||!m.scope||typeof m.scope!="function")return!1;var f=m.scope();return!(!f||!f.active||typeof f.active!="function")}l.rateLimiter=new i({maxItems:0,itemsPerMinute:60}),l.prototype.global=function(m){return l.rateLimiter.configureGlobal(m),this},l.prototype.configure=function(m,f){var p=this.options,h={};f&&(h={payload:f}),this.options=u.merge(p,m,h);var v=this.options.tracer||null;return c(v)?(this.tracer=v,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier&&this.notifier.configure(this.options),this.telemeter&&this.telemeter.configure(this.options),d(m),this.global(this.options),c(m.tracer)&&(this.tracer=m.tracer),this},l.prototype.log=function(m){var f=this._defaultLogLevel();return this._log(f,m)},l.prototype.debug=function(m){this._log("debug",m)},l.prototype.info=function(m){this._log("info",m)},l.prototype.warn=function(m){this._log("warning",m)},l.prototype.warning=function(m){this._log("warning",m)},l.prototype.error=function(m){this._log("error",m)},l.prototype.critical=function(m){this._log("critical",m)},l.prototype.wait=function(m){this.queue.wait(m)},l.prototype.captureEvent=function(m,f,p){return this.telemeter&&this.telemeter.captureEvent(m,f,p)},l.prototype.captureDomContentLoaded=function(m){return this.telemeter&&this.telemeter.captureDomContentLoaded(m)},l.prototype.captureLoad=function(m){return this.telemeter&&this.telemeter.captureLoad(m)},l.prototype.buildJsonPayload=function(m){return this.api.buildJsonPayload(m)},l.prototype.sendJsonPayload=function(m){this.api.postJsonPayload(m)},l.prototype._log=function(m,f){var p;if(f.callback&&(p=f.callback,delete f.callback),this.options.ignoreDuplicateErrors&&this._sameAsLastError(f)){if(p){var h=new Error("ignored identical item");h.item=f,p(h)}}else try{this._addTracingInfo(f),f.level=f.level||m,this.telemeter&&this.telemeter._captureRollbarItem(f),f.telemetryEvents=this.telemeter&&this.telemeter.copyEvents()||[],this.notifier.log(f,p)}catch(v){p&&p(v),this.logger.error(v)}},l.prototype._defaultLogLevel=function(){return this.options.logLevel||"debug"},l.prototype._sameAsLastError=function(m){if(!m._isUncaught)return!1;var f=function(p){var h=p.message||"",v=(p.err||{}).stack||String(p.err);return h+"::"+v}(m);return this.lastErrorHash===f||(this.lastError=m.err,this.lastErrorHash=f,!1)},l.prototype._addTracingInfo=function(m){if(this.tracer){var f=this.tracer.scope().active();if(function(v){if(!v||!v.context||typeof v.context!="function")return!1;var y=v.context();return!(!y||!y.toSpanId||!y.toTraceId||typeof y.toSpanId!="function"||typeof y.toTraceId!="function")}(f)){f.setTag("rollbar.error_uuid",m.uuid),f.setTag("rollbar.has_error",!0),f.setTag("error",!0),f.setTag("rollbar.item_url","https://rollbar.com/item/uuid/?uuid="+m.uuid),f.setTag("rollbar.occurrence_url","https://rollbar.com/occurrence/uuid/?uuid="+m.uuid);var p=f.context().toSpanId(),h=f.context().toTraceId();m.custom?(m.custom.opentracing_span_id=p,m.custom.opentracing_trace_id=h):m.custom={opentracing_span_id:p,opentracing_trace_id:h}}}},r.exports=l},function(r,n,a){var i=a(0);function o(l){this.startTime=i.now(),this.counter=0,this.perMinCounter=0,this.platform=null,this.platformOptions={},this.configureGlobal(l)}function s(l,d,c){return!l.ignoreRateLimit&&d>=1&&c>d}function u(l,d,c,m,f,p,h){var v=null;return c&&(c=new Error(c)),c||m||(v=function(y,b,g,_,w){var x,k=b.environment||b.payload&&b.payload.environment;x=w?"item per minute limit reached, ignoring errors until timeout":"maxItems has been hit, ignoring errors until reset.";var D={body:{message:{body:x,extra:{maxItems:g,itemsPerMinute:_}}},language:"javascript",environment:k,notifier:{version:b.notifier&&b.notifier.version||b.version}};return y==="browser"?(D.platform="browser",D.framework="browser-js",D.notifier.name="rollbar-browser-js"):y==="server"?(D.framework=b.framework||"node-js",D.notifier.name=b.notifier.name):y==="react-native"&&(D.framework=b.framework||"react-native",D.notifier.name=b.notifier.name),D}(l,d,f,p,h)),{error:c,shouldSend:m,payload:v}}o.globalSettings={startTime:i.now(),maxItems:void 0,itemsPerMinute:void 0},o.prototype.configureGlobal=function(l){l.startTime!==void 0&&(o.globalSettings.startTime=l.startTime),l.maxItems!==void 0&&(o.globalSettings.maxItems=l.maxItems),l.itemsPerMinute!==void 0&&(o.globalSettings.itemsPerMinute=l.itemsPerMinute)},o.prototype.shouldSend=function(l,d){var c=(d=d||i.now())-this.startTime;(c<0||c>=6e4)&&(this.startTime=d,this.perMinCounter=0);var m=o.globalSettings.maxItems,f=o.globalSettings.itemsPerMinute;if(s(l,m,this.counter))return u(this.platform,this.platformOptions,m+" max items reached",!1);if(s(l,f,this.perMinCounter))return u(this.platform,this.platformOptions,f+" items per minute reached",!1);this.counter++,this.perMinCounter++;var p=!s(l,m,this.counter),h=p;return p=p&&!s(l,f,this.perMinCounter),u(this.platform,this.platformOptions,null,p,m,f,h)},o.prototype.setPlatformOptions=function(l,d){this.platform=l,this.platformOptions=d},r.exports=o},function(r,n,a){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,s=function(u){if(!u||o.call(u)!=="[object Object]")return!1;var l,d=i.call(u,"constructor"),c=u.constructor&&u.constructor.prototype&&i.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!d&&!c)return!1;for(l in u);return l===void 0||i.call(u,l)};r.exports=function u(){var l,d,c,m,f,p={},h=null,v=arguments.length;for(l=0;l<v;l++)if((h=arguments[l])!=null)for(f in h)d=p[f],p!==(c=h[f])&&(c&&s(c)?(m=d&&s(d)?d:{},p[f]=u(m,c)):c!==void 0&&(p[f]=c));return p}},function(r,n,a){var i=a(0);function o(u,l,d,c){this.rateLimiter=u,this.api=l,this.logger=d,this.options=c,this.predicates=[],this.pendingItems=[],this.pendingRequests=[],this.retryQueue=[],this.retryHandle=null,this.waitCallback=null,this.waitIntervalID=null}o.prototype.configure=function(u){this.api&&this.api.configure(u);var l=this.options;return this.options=i.merge(l,u),this},o.prototype.addPredicate=function(u){return i.isFunction(u)&&this.predicates.push(u),this},o.prototype.addPendingItem=function(u){this.pendingItems.push(u)},o.prototype.removePendingItem=function(u){var l=this.pendingItems.indexOf(u);l!==-1&&this.pendingItems.splice(l,1)},o.prototype.addItem=function(u,l,d,c){l&&i.isFunction(l)||(l=function(){});var m=this._applyPredicates(u);if(m.stop)return this.removePendingItem(c),void l(m.err);if(this._maybeLog(u,d),this.removePendingItem(c),this.options.transmit){this.pendingRequests.push(u);try{this._makeApiRequest(u,function(f,p){this._dequeuePendingRequest(u),l(f,p)}.bind(this))}catch(f){this._dequeuePendingRequest(u),l(f)}}else l(new Error("Transmit disabled"))},o.prototype.wait=function(u){i.isFunction(u)&&(this.waitCallback=u,this._maybeCallWait()||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitIntervalID=setInterval(function(){this._maybeCallWait()}.bind(this),500)))},o.prototype._applyPredicates=function(u){for(var l=null,d=0,c=this.predicates.length;d<c;d++)if(!(l=this.predicates[d](u,this.options))||l.err!==void 0)return{stop:!0,err:l.err};return{stop:!1,err:null}},o.prototype._makeApiRequest=function(u,l){var d=this.rateLimiter.shouldSend(u);d.shouldSend?this.api.postItem(u,function(c,m){c?this._maybeRetry(c,u,l):l(c,m)}.bind(this)):d.error?l(d.error):this.api.postItem(d.payload,l)};var s=["ECONNRESET","ENOTFOUND","ESOCKETTIMEDOUT","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH","EPIPE","EAI_AGAIN"];o.prototype._maybeRetry=function(u,l,d){var c=!1;if(this.options.retryInterval){for(var m=0,f=s.length;m<f;m++)if(u.code===s[m]){c=!0;break}}c?this._retryApiRequest(l,d):d(u)},o.prototype._retryApiRequest=function(u,l){this.retryQueue.push({item:u,callback:l}),this.retryHandle||(this.retryHandle=setInterval(function(){for(;this.retryQueue.length;){var d=this.retryQueue.shift();this._makeApiRequest(d.item,d.callback)}}.bind(this),this.options.retryInterval))},o.prototype._dequeuePendingRequest=function(u){var l=this.pendingRequests.indexOf(u);l!==-1&&(this.pendingRequests.splice(l,1),this._maybeCallWait())},o.prototype._maybeLog=function(u,l){if(this.logger&&this.options.verbose){var d=l;if(d=(d=d||i.get(u,"body.trace.exception.message"))||i.get(u,"body.trace_chain.0.exception.message"))return void this.logger.error(d);(d=i.get(u,"body.message.body"))&&this.logger.log(d)}},o.prototype._maybeCallWait=function(){return!(!i.isFunction(this.waitCallback)||this.pendingItems.length!==0||this.pendingRequests.length!==0)&&(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitCallback(),!0)},r.exports=o},function(r,n,a){var i=a(0);function o(s,u){this.queue=s,this.options=u,this.transforms=[],this.diagnostic={}}o.prototype.configure=function(s){this.queue&&this.queue.configure(s);var u=this.options;return this.options=i.merge(u,s),this},o.prototype.addTransform=function(s){return i.isFunction(s)&&this.transforms.push(s),this},o.prototype.log=function(s,u){if(u&&i.isFunction(u)||(u=function(){}),!this.options.enabled)return u(new Error("Rollbar is not enabled"));this.queue.addPendingItem(s);var l=s.err;this._applyTransforms(s,function(d,c){if(d)return this.queue.removePendingItem(s),u(d,null);this.queue.addItem(c,u,l,s)}.bind(this))},o.prototype._applyTransforms=function(s,u){var l=-1,d=this.transforms.length,c=this.transforms,m=this.options,f=function(p,h){p?u(p,null):++l!==d?c[l](h,m,f):u(null,h)};f(null,s)},r.exports=o},function(r,n,a){var i=a(0),o=a(16),s={hostname:"api.rollbar.com",path:"/api/1/item/",search:null,version:"1",protocol:"https:",port:443};function u(d,c,m,f,p){this.options=d,this.transport=c,this.url=m,this.truncation=f,this.jsonBackup=p,this.accessToken=d.accessToken,this.transportOptions=l(d,m)}function l(d,c){return o.getTransportFromOptions(d,s,c)}u.prototype.postItem=function(d,c){var m=o.transportOptions(this.transportOptions,"POST"),f=o.buildPayload(this.accessToken,d,this.jsonBackup);this.transport.post(this.accessToken,m,f,c)},u.prototype.buildJsonPayload=function(d,c){var m,f=o.buildPayload(this.accessToken,d,this.jsonBackup);return(m=this.truncation?this.truncation.truncate(f):i.stringify(f)).error?(c&&c(m.error),null):m.value},u.prototype.postJsonPayload=function(d,c){var m=o.transportOptions(this.transportOptions,"POST");this.transport.postJsonPayload(this.accessToken,m,d,c)},u.prototype.configure=function(d){var c=this.oldOptions;return this.options=i.merge(c,d),this.transportOptions=l(this.options,this.url),this.options.accessToken!==void 0&&(this.accessToken=this.options.accessToken),this},r.exports=u},function(r,n,a){var i=a(0);r.exports={buildPayload:function(o,s,u){if(!i.isType(s.context,"string")){var l=i.stringify(s.context,u);l.error?s.context="Error: could not serialize 'context'":s.context=l.value||"",s.context.length>255&&(s.context=s.context.substr(0,255))}return{access_token:o,data:s}},getTransportFromOptions:function(o,s,u){var l=s.hostname,d=s.protocol,c=s.port,m=s.path,f=s.search,p=o.proxy;if(o.endpoint){var h=u.parse(o.endpoint);l=h.hostname,d=h.protocol,c=h.port,m=h.pathname,f=h.search}return{hostname:l,protocol:d,port:c,path:m,search:f,proxy:p}},transportOptions:function(o,s){var u=o.protocol||"https:",l=o.port||(u==="http:"?80:u==="https:"?443:void 0),d=o.hostname,c=o.path;return o.search&&(c+=o.search),o.proxy&&(c=u+"//"+d+c,d=o.proxy.host||o.proxy.hostname,l=o.proxy.port,u=o.proxy.protocol||u),{protocol:u,hostname:d,path:c,port:l,method:s}},appendPathToPath:function(o,s){var u=/\/$/.test(o),l=/^\//.test(s);return u&&l?s=s.substring(1):u||l||(s="/"+s),o+s}}},function(r,n){(function(a){a.console||(a.console={});for(var i,o,s=a.console,u=function(){},l=["memory"],d="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");i=l.pop();)s[i]||(s[i]={});for(;o=d.pop();)s[o]||(s[o]=u)})(typeof window>"u"?this:window)},function(r,n,a){var i={ieVersion:function(){if(typeof document<"u"){for(var o=3,s=document.createElement("div"),u=s.getElementsByTagName("i");s.innerHTML="<!--[if gt IE "+ ++o+"]><i></i><![endif]-->",u[0];);return o>4?o:void 0}}};r.exports=i},function(r,n,a){function i(o,s,u,l){o._rollbarWrappedError&&(l[4]||(l[4]=o._rollbarWrappedError),l[5]||(l[5]=o._rollbarWrappedError._rollbarContext),o._rollbarWrappedError=null);var d=s.handleUncaughtException.apply(s,l);u&&u.apply(o,l),d==="anonymous"&&(s.anonymousErrorsPending+=1)}r.exports={captureUncaughtExceptions:function(o,s,u){if(o){var l;if(typeof s._rollbarOldOnError=="function")l=s._rollbarOldOnError;else if(o.onerror){for(l=o.onerror;l._rollbarOldOnError;)l=l._rollbarOldOnError;s._rollbarOldOnError=l}s.handleAnonymousErrors();var d=function(){var c=Array.prototype.slice.call(arguments,0);i(o,s,l,c)};u&&(d._rollbarOldOnError=l),o.onerror=d}},captureUnhandledRejections:function(o,s,u){if(o){typeof o._rollbarURH=="function"&&o._rollbarURH.belongsToShim&&o.removeEventListener("unhandledrejection",o._rollbarURH);var l=function(d){var c,m,f;try{c=d.reason}catch{c=void 0}try{m=d.promise}catch{m="[unhandledrejection] error getting `promise` from event"}try{f=d.detail,!c&&f&&(c=f.reason,m=f.promise)}catch{}c||(c="[unhandledrejection] error getting `reason` from event"),s&&s.handleUnhandledRejection&&s.handleUnhandledRejection(c,m)};l.belongsToShim=u,o._rollbarURH=l,o.addEventListener("unhandledrejection",l)}}}},function(r,n,a){var i=a(0),o=a(1);function s(c){this.truncation=c}function u(c,m,f,p,h,v){var y=typeof window<"u"&&window||typeof self<"u"&&self,b=y&&y.Zone&&y.Zone.current;b&&b._name==="angular"?b._parent.run(function(){l(c,m,f,p,h,v)}):l(c,m,f,p,h,v)}function l(c,m,f,p,h,v){if(typeof RollbarProxy<"u")return function(_,w){new RollbarProxy().sendJsonPayload(_,function(x){},function(x){w(new Error(x))})}(p,h);var y;if(!(y=v?v():function(){var _,w,x=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],k=x.length;for(w=0;w<k;w++)try{_=x[w]();break}catch{}return _}()))return h(new Error("No way to send a request"));try{try{var b=function(){try{if(b&&y.readyState===4){b=void 0;var _=i.jsonParse(y.responseText);if((k=y)&&k.status&&k.status===200)return void h(_.error,_.value);if(function(D){return D&&i.isType(D.status,"number")&&D.status>=400&&D.status<600}(y)){if(y.status===403){var w=_.value&&_.value.message;o.error(w)}h(new Error(String(y.status)))}else h(d("XHR response had no status code (likely connection failure)"))}}catch(D){var x;x=D&&D.stack?D:new Error(D),h(x)}var k};y.open(f,m,!0),y.setRequestHeader&&(y.setRequestHeader("Content-Type","application/json"),y.setRequestHeader("X-Rollbar-Access-Token",c)),y.onreadystatechange=b,y.send(p)}catch{if(typeof XDomainRequest<"u"){if(!window||!window.location)return h(new Error("No window available during request, unknown environment"));window.location.href.substring(0,5)==="http:"&&m.substring(0,5)==="https"&&(m="http"+m.substring(5));var g=new XDomainRequest;g.onprogress=function(){},g.ontimeout=function(){h(d("Request timed out","ETIMEDOUT"))},g.onerror=function(){h(new Error("Error during request"))},g.onload=function(){var w=i.jsonParse(g.responseText);h(w.error,w.value)},g.open(f,m,!0),g.send(p)}else h(new Error("Cannot find a method to transport a request"))}}catch(_){h(_)}}function d(c,m){var f=new Error(c);return f.code=m||"ENOTFOUND",f}s.prototype.get=function(c,m,f,p,h){p&&i.isFunction(p)||(p=function(){}),i.addParamsAndAccessTokenToPath(c,m,f),u(c,i.formatUrl(m),"GET",null,p,h)},s.prototype.post=function(c,m,f,p,h){if(p&&i.isFunction(p)||(p=function(){}),!f)return p(new Error("Cannot send empty request"));var v;if((v=this.truncation?this.truncation.truncate(f):i.stringify(f)).error)return p(v.error);var y=v.value;u(c,i.formatUrl(m),"POST",y,p,h)},s.prototype.postJsonPayload=function(c,m,f,p,h){p&&i.isFunction(p)||(p=function(){}),u(c,i.formatUrl(m),"POST",f,p,h)},r.exports=s},function(r,n,a){var i=a(0),o=a(3),s=a(1);function u(m,f,p){var h=m.message,v=m.custom;h||(h="Item sent with null or missing arguments.");var y={body:h};v&&(y.extra=i.merge(v)),i.set(m,"data.body",{message:y}),p(null,m)}function l(m){var f=m.stackInfo.stack;return f&&f.length===0&&m._unhandledStackInfo&&m._unhandledStackInfo.stack&&(f=m._unhandledStackInfo.stack),f}function d(m,f,p){var h=m&&m.data.description,v=m&&m.custom,y=l(m),b=o.guessErrorClass(f.message),g={exception:{class:c(f,b[0],p),message:b[1]}};if(h&&(g.exception.description=h),y){var _,w,x,k,D,S,O,C;for(y.length===0&&(g.exception.stack=f.rawStack,g.exception.raw=String(f.rawException)),g.frames=[],O=0;O<y.length;++O)w={filename:(_=y[O]).url?i.sanitizeUrl(_.url):"(unknown)",lineno:_.line||null,method:_.func&&_.func!=="?"?_.func:"[anonymous]",colno:_.column},p.sendFrameUrl&&(w.url=_.url),w.method&&w.method.endsWith&&w.method.endsWith("_rollbar_wrapped")||(x=k=D=null,(S=_.context?_.context.length:0)&&(C=Math.floor(S/2),k=_.context.slice(0,C),x=_.context[C],D=_.context.slice(C)),x&&(w.code=x),(k||D)&&(w.context={},k&&k.length&&(w.context.pre=k),D&&D.length&&(w.context.post=D)),_.args&&(w.args=_.args),g.frames.push(w));g.frames.reverse(),v&&(g.extra=i.merge(v))}return g}function c(m,f,p){return m.name?m.name:p.guessErrorClass?f:"(unknown)"}r.exports={handleDomException:function(m,f,p){if(m.err&&o.Stack(m.err).name==="DOMException"){var h=new Error;h.name=m.err.name,h.message=m.err.message,h.stack=m.err.stack,h.nested=m.err,m.err=h}p(null,m)},handleItemWithError:function(m,f,p){if(m.data=m.data||{},m.err)try{m.stackInfo=m.err._savedStackTrace||o.parse(m.err,m.skipFrames),f.addErrorContext&&function(h){var v=[],y=h.err;for(v.push(y);y.nested;)y=y.nested,v.push(y);i.addErrorContext(h,v)}(m)}catch(h){s.error("Error while parsing the error object.",h);try{m.message=m.err.message||m.err.description||m.message||String(m.err)}catch(v){m.message=String(m.err)||String(v)}delete m.err}p(null,m)},ensureItemHasSomethingToSay:function(m,f,p){m.message||m.stackInfo||m.custom||p(new Error("No message, stack info, or custom data"),null),p(null,m)},addBaseInfo:function(m,f,p){var h=f.payload&&f.payload.environment||f.environment;m.data=i.merge(m.data,{environment:h,level:m.level,endpoint:f.endpoint,platform:"browser",framework:"browser-js",language:"javascript",server:{},uuid:m.uuid,notifier:{name:"rollbar-browser-js",version:f.version},custom:m.custom}),p(null,m)},addRequestInfo:function(m){return function(f,p,h){if(!m||!m.location)return h(null,f);var v="$remote_ip";p.captureIp?p.captureIp!==!0&&(v+="_anonymize"):v=null,i.set(f,"data.request",{url:m.location.href,query_string:m.location.search,user_ip:v}),h(null,f)}},addClientInfo:function(m){return function(f,p,h){if(!m)return h(null,f);var v=m.navigator||{},y=m.screen||{};i.set(f,"data.client",{runtime_ms:f.timestamp-m._rollbarStartTime,timestamp:Math.round(f.timestamp/1e3),javascript:{browser:v.userAgent,language:v.language,cookie_enabled:v.cookieEnabled,screen:{width:y.width,height:y.height}}}),h(null,f)}},addPluginInfo:function(m){return function(f,p,h){if(!m||!m.navigator)return h(null,f);for(var v,y=[],b=m.navigator.plugins||[],g=0,_=b.length;g<_;++g)v=b[g],y.push({name:v.name,description:v.description});i.set(f,"data.client.javascript.plugins",y),h(null,f)}},addBody:function(m,f,p){m.stackInfo?m.stackInfo.traceChain?function(h,v,y){for(var b=h.stackInfo.traceChain,g=[],_=b.length,w=0;w<_;w++){var x=d(h,b[w],v);g.push(x)}i.set(h,"data.body",{trace_chain:g}),y(null,h)}(m,f,p):function(h,v,y){if(l(h)){var b=d(h,h.stackInfo,v);i.set(h,"data.body",{trace:b}),y(null,h)}else{var g=h.stackInfo,_=o.guessErrorClass(g.message),w=c(g,_[0],v),x=_[1];h.message=w+": "+x,u(h,v,y)}}(m,f,p):u(m,f,p)},addScrubber:function(m){return function(f,p,h){if(m){var v=p.scrubFields||[],y=p.scrubPaths||[];f.data=m(f.data,v,y)}h(null,f)}}}},function(r,n,a){var i,o,s;(function(u,l){o=[a(23)],(s=typeof(i=function(d){var c=/(^|@)\S+:\d+/,m=/^\s*at .*(\S+:\d+|\(native\))/m,f=/^(eval@)?(\[native code])?$/;return{parse:function(p){if(p.stacktrace!==void 0||p["opera#sourceloc"]!==void 0)return this.parseOpera(p);if(p.stack&&p.stack.match(m))return this.parseV8OrIE(p);if(p.stack)return this.parseFFOrSafari(p);throw new Error("Cannot parse given Error object")},extractLocation:function(p){if(p.indexOf(":")===-1)return[p];var h=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(p.replace(/[()]/g,""));return[h[1],h[2]||void 0,h[3]||void 0]},parseV8OrIE:function(p){return p.stack.split(`
338
338
  `).filter(function(h){return!!h.match(m)},this).map(function(h){h.indexOf("(eval ")>-1&&(h=h.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var v=h.replace(/^\s+/,"").replace(/\(eval code/g,"("),y=v.match(/ (\((.+):(\d+):(\d+)\)$)/),b=(v=y?v.replace(y[0],""):v).split(/\s+/).slice(1),g=this.extractLocation(y?y[1]:b.pop()),_=b.join(" ")||void 0,w=["eval","<anonymous>"].indexOf(g[0])>-1?void 0:g[0];return new d({functionName:_,fileName:w,lineNumber:g[1],columnNumber:g[2],source:h})},this)},parseFFOrSafari:function(p){return p.stack.split(`
339
339
  `).filter(function(h){return!h.match(f)},this).map(function(h){if(h.indexOf(" > eval")>-1&&(h=h.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),h.indexOf("@")===-1&&h.indexOf(":")===-1)return new d({functionName:h});var v=/((.*".+"[^@]*)?[^@]*)(?:@)/,y=h.match(v),b=y&&y[1]?y[1]:void 0,g=this.extractLocation(h.replace(v,""));return new d({functionName:b,fileName:g[0],lineNumber:g[1],columnNumber:g[2],source:h})},this)},parseOpera:function(p){return!p.stacktrace||p.message.indexOf(`
340
340
  `)>-1&&p.message.split(`
@@ -349,8 +349,8 @@ In order to facilitate your application for deduction, {{company.name}} needs yo
349
349
  `+i+U.join(`,
350
350
  `+i)+`
351
351
  `+M+"}":"{"+U.join(",")+"}",i=M,I}}("",{"":x})}),typeof a.parse!="function"&&(a.parse=(p={"\\":"\\",'"':'"',"/":"/",t:" ",n:`
352
- `,r:"\r",f:"\f",b:"\b"},h={go:function(){l="ok"},firstokey:function(){m=f,l="colon"},okey:function(){m=f,l="colon"},ovalue:function(){l="ocomma"},firstavalue:function(){l="acomma"},avalue:function(){l="acomma"}},v={go:function(){l="ok"},ovalue:function(){l="ocomma"},firstavalue:function(){l="acomma"},avalue:function(){l="acomma"}},y={"{":{go:function(){d.push({state:"ok"}),c={},l="firstokey"},ovalue:function(){d.push({container:c,state:"ocomma",key:m}),c={},l="firstokey"},firstavalue:function(){d.push({container:c,state:"acomma"}),c={},l="firstokey"},avalue:function(){d.push({container:c,state:"acomma"}),c={},l="firstokey"}},"}":{firstokey:function(){var x=d.pop();f=c,c=x.container,m=x.key,l=x.state},ocomma:function(){var x=d.pop();c[m]=f,f=c,c=x.container,m=x.key,l=x.state}},"[":{go:function(){d.push({state:"ok"}),c=[],l="firstavalue"},ovalue:function(){d.push({container:c,state:"ocomma",key:m}),c=[],l="firstavalue"},firstavalue:function(){d.push({container:c,state:"acomma"}),c=[],l="firstavalue"},avalue:function(){d.push({container:c,state:"acomma"}),c=[],l="firstavalue"}},"]":{firstavalue:function(){var x=d.pop();f=c,c=x.container,m=x.key,l=x.state},acomma:function(){var x=d.pop();c.push(f),f=c,c=x.container,m=x.key,l=x.state}},":":{colon:function(){if(Object.hasOwnProperty.call(c,m))throw new SyntaxError("Duplicate key '"+m+'"');l="ovalue"}},",":{ocomma:function(){c[m]=f,l="okey"},acomma:function(){c.push(f),l="avalue"}},true:{go:function(){f=!0,l="ok"},ovalue:function(){f=!0,l="ocomma"},firstavalue:function(){f=!0,l="acomma"},avalue:function(){f=!0,l="acomma"}},false:{go:function(){f=!1,l="ok"},ovalue:function(){f=!1,l="ocomma"},firstavalue:function(){f=!1,l="acomma"},avalue:function(){f=!1,l="acomma"}},null:{go:function(){f=null,l="ok"},ovalue:function(){f=null,l="ocomma"},firstavalue:function(){f=null,l="acomma"},avalue:function(){f=null,l="acomma"}}},function(x,k){var D,S,O=/^[\u0020\t\n\r]*(?:([,:\[\]{}]|true|false|null)|(-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)|"((?:[^\r\n\t\\\"]|\\(?:["\\\/trnfb]|u[0-9a-fA-F]{4}))*)")/;l="go",d=[];try{for(;D=O.exec(x);)D[1]?y[D[1]][l]():D[2]?(f=+D[2],v[l]()):(S=D[3],f=S.replace(/\\(?:u(.{4})|([^u]))/g,function(C,E,T){return E?String.fromCharCode(parseInt(E,16)):p[T]}),h[l]()),x=x.slice(D[0].length)}catch(C){l=C}if(l!=="ok"||/[^\u0020\t\n\r]/.test(x))throw l instanceof SyntaxError?l:new SyntaxError("JSON");return typeof k=="function"?function C(E,T){var $,I,W=E[T];if(W&&typeof W=="object")for($ in f)Object.prototype.hasOwnProperty.call(W,$)&&((I=C(W,$))!==void 0?W[$]=I:delete W[$]);return k.call(E,T,W)}({"":f},""):f}))}},function(r,n,a){function i(o,s,u){if(s.hasOwnProperty&&s.hasOwnProperty("addEventListener")){for(var l=s.addEventListener;l._rollbarOldAdd&&l.belongsToShim;)l=l._rollbarOldAdd;var d=function(f,p,h){l.call(this,f,o.wrap(p),h)};d._rollbarOldAdd=l,d.belongsToShim=u,s.addEventListener=d;for(var c=s.removeEventListener;c._rollbarOldRemove&&c.belongsToShim;)c=c._rollbarOldRemove;var m=function(f,p,h){c.call(this,f,p&&p._rollbar_wrapped||p,h)};m._rollbarOldRemove=c,m.belongsToShim=u,s.removeEventListener=m}}r.exports=function(o,s,u){if(o){var l,d,c="EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");for(l=0;l<c.length;++l)o[d=c[l]]&&o[d].prototype&&i(s,o[d].prototype,u)}}},function(r,n,a){var i=a(0),o=a(5);function s(h,v){return[h,i.stringify(h,v)]}function u(h,v){var y=h.length;return y>2*v?h.slice(0,v).concat(h.slice(y-v)):h}function l(h,v,y){y=y===void 0?30:y;var b,g=h.data.body;if(g.trace_chain)for(var _=g.trace_chain,w=0;w<_.length;w++)b=u(b=_[w].frames,y),_[w].frames=b;else g.trace&&(b=u(b=g.trace.frames,y),g.trace.frames=b);return[h,i.stringify(h,v)]}function d(h,v){return v&&v.length>h?v.slice(0,h-3).concat("..."):v}function c(h,v,y){return[v=o(v,function b(g,_,w){switch(i.typeName(_)){case"string":return d(h,_);case"object":case"array":return o(_,b,w);default:return _}}),i.stringify(v,y)]}function m(h){return h.exception&&(delete h.exception.description,h.exception.message=d(255,h.exception.message)),h.frames=u(h.frames,1),h}function f(h,v){var y=h.data.body;if(y.trace_chain)for(var b=y.trace_chain,g=0;g<b.length;g++)b[g]=m(b[g]);else y.trace&&(y.trace=m(y.trace));return[h,i.stringify(h,v)]}function p(h,v){return i.maxByteSize(h)>v}r.exports={truncate:function(h,v,y){y=y===void 0?524288:y;for(var b,g,_,w=[s,l,c.bind(null,1024),c.bind(null,512),c.bind(null,256),f];b=w.shift();)if(h=(g=b(h,v))[0],(_=g[1]).error||!p(_.value,y))return _;return _},raw:s,truncateFrames:l,truncateStrings:c,maybeTruncateValue:d}}])})})(IU);const PEe=Z(IU.exports),kEe=ge.rollbar.clientToken,TEe=new PEe({accessToken:kEe,captureUncaught:!0,captureUnhandledRejections:!0,source_map_enabled:!0,environment:ge.rollbar.environment||ge.environment,enabled:!1,ignoredMessages:["The operation is insecure","Script error.","null is not an object (evaluating 'localStorage.getItem')","Unexpected token '<'","expected expression, got '<'","ChunkLoadError","Loading chunk","ResizeObserver loop limit exceeded","Failed to update a ServiceWorker for scope","Object Not Found Matching Id","newestWorker is null"],payload:{client:{javascript:{code_version:"0.3.1",source_map_enabled:!0,guess_uncaught_frames:!0}}},transform:t=>{const{trace:e}=t.body;if(e&&e.frames)for(let r=0;r<e.frames.length;r++){const{filename:n}=e.frames[r];n&&(e.frames[r].filename=e.frames[r].filename.replace(ge.baseUrl,"https://dynamichost"))}}}),{UPDATE_VIEW_SETTINGS:Ns,LOAD_USER_POSITION:EEe,LOAD_USER:Ls,LOGIN_USER:dm,LOGIN_AUTH_TOKEN:NU,AUTH_3RD_PARTY_USER:LU,SWITCH_CONNECTED_USER:WU,LOGOUT_USER:cm,REGISTER_USER:FU,RESET_USER_PASSWORD:jU}=bl,{DO_LOAD_CURRENT_COMPANY:MEe,DO_LOAD_ALL_SETTINGS:SEe,DO_NORMALIZE_COMPANY_USERS:OEe,LOAD_UNREAD_NOTIFICATIONS:CEe}=ke,{SET_USER_LOCATION:DEe,SET_USER:Yt}=Ct,VU=t=>ce.te(`errors:${t}`)&&ce.t(`errors:${t}`),$Ee={async[Ls]({commit:t,getters:e,dispatch:r}){var n,a;try{if(!Le.getItem("token")){Le.removeItem("tokenExpire"),Le.removeItem("refreshToken"),t(Yt,{userId:null,companyId:null,crispUserHash:null}),this.$router.push({name:"Login"});return}const[{data:i},{data:o=[]}]=await Promise.all([lr.get("/companyUser/self"),wU.getConnectedUsers()]),{id:s,CompanyId:u,crispUserHash:l,language:d,locale:c}=i;d&&ce.i18next.changeLanguage(d),c&&ce.l10n.changeLocale(c),await this.dispatch(OEe,{companyUsers:[{...i,connectedUsers:o}]}),t(Yt,{userId:s,companyId:u,crispUserHash:l}),await this.dispatch(MEe),await this.dispatch(SEe),this._vm.$cookiePreference!=="all"&&(this._vm.$cookiePreference="all"),this.hasModule("notifications")&&!this.getters["notifications/isFetching"]&&this.dispatch(CEe,{throttleTime:5});const{user:m,company:f,isQualified:p}=e;if(m){let h="";(m.firstname||m.lastname)&&(h=m.fullName),TEe.configure({payload:{person:{id:m.id,username:h||null,email:m.email||null}}}),(n=this.$supportChat)==null||n.syncData(),(a=this.$trackEvent)==null||a.call(this,"loadUser",{companyUserId:m.id})}}catch(i){this.handleError(i,{action:Ls,actionPayload:null}),r(cm)}},async[dm]({commit:t,dispatch:e},{email:r,password:n,doRedirect:a=!0,doLoadUser:i=!0,superUserId:o=null,responseType:s=null,code:u=null}){try{t(Yt,{isLoggingIn:!0}),e(Ns,{view:"login",settings:{error:null}});let l;if(o?({data:l}=await lr.post("/auth/employee",{email:r,password:n,CompanyUserId:o}),Le.setItem("isClingEmployee",!0)):u?({data:l}=await lr.post("/oauth2/token",{code:u,client_id:ge.clientId,grant_type:"authorization_code",brand:this._vm.$brand,...om(this._vm.$view)}),l={token:l.access_token,tokenExpires:l.expires_in,refreshToken:l.refresh_token}):{data:l}=await lr.post("/auth/companyUser",{email:r,password:n,response_type:s,...om(this._vm.$view)}),s==="code"&&l.code)return t(Yt,{isLoggingIn:!1}),l;const{token:d,tokenExpires:c,refreshToken:m}=l;if(Le.setItem("token",d),Le.setItem("tokenExpires",c),Le.setItem("refreshToken",m),t(Yt,{isLoggingIn:!1}),i&&await e(Ls),!a)return!0;const{redirect:f}=this.state.route.query||{};return f?(this.$router.push(f),!0):(this.$router.push({name:"account"}),!0)}catch(l){let d=ce.t("errors:fallback"),c=!1;if(l&&typeof l.getPayload=="function"){const m=l.getPayload();m&&m.axios&&m.axios.status===401&&(c=!0)}return c&&(d=ce.t("actions:loginUser.wrongCredentials")),e(Ns,{view:"login",settings:{error:d}}),t(Yt,{isLoggingIn:!1}),c||this.handleError(l,{action:dm,actionPayload:null}),!1}},async[NU]({commit:t,dispatch:e},{authToken:r,to:n,doRedirect:a=!0}){let i={};try{if(!r)throw new Error("Missing param authToken");if(!n&&a)throw new Error("Missing param to");t(Yt,{isLoggingIn:!0}),n&&(i=Object.assign({},n.query),delete i.authtoken);const{data:o}=await hTe(r,{...om(this._vm.$view)}),{token:s,tokenExpires:u,refreshToken:l}=o;if(Le.setItem("token",s),Le.setItem("tokenExpires",u),Le.setItem("refreshToken",l),await e(Ls),!a)return!0;this.$router.push({path:n.path,query:i})}catch(o){n!=null&&n.path&&(i.redirect=n==null?void 0:n.path),await e(cm,{next:{name:"Login",query:i}}),this.handleError(o,{action:NU,actionPayload:null})}finally{t(Yt,{isLoggingIn:!1})}},async[LU]({commit:t,dispatch:e},{service:r,code:n}){t(Yt,{isLoggingIn:!0});const a={isAuth:!1,isVerify:!1,company:null,companyUser:null,addedToExistingCompanyId:null,error:null};try{const{data:i}=await rx.signupWithCrm(r,{code:n,doLogin:!0,...om(this._vm.$view),brand:this._vm.$brand}),{addedToExistingCompanyId:o,authenticate:s}=i,{token:u,tokenExpires:l,refreshToken:d,company:c,companyUser:m}=s;return Le.setItem("token",u),Le.setItem("tokenExpires",l),Le.setItem("refreshToken",d),m&&m.isSlave&&!m.verifiedEmailAt?(a.companyUser=m,a.isVerify=!0,a):(await e(Ls),o&&(a.addedToExistingCompanyId=o),a.company=c,a.isAuth=!0,a)}catch(i){return this.handleError(i,{action:LU,actionPayload:null}),{isAuth:!1,isVerify:!1,company:null,companyUser:null,addedToExistingCompanyId:null,error:i.message}}finally{t(Yt,{isLoggingIn:!1})}},async[WU]({commit:t,dispatch:e},{companyUserId:r,doRedirect:n=!0}){try{if(typeof r>"u")throw new Error("Missing param companyUserId");t(Yt,{isLoggingIn:!0});const{data:a}=await wU.getConnectedUserAuth(r),{token:i,tokenExpires:o,refreshToken:s}=a;Le.setItem("token",i),Le.setItem("tokenExpires",o),Le.setItem("refreshToken",s),this.commit("reset"),await e(Ls),n?this.$router.push({name:"account"}):window.reloadApp(!0)}catch(a){this.handleError(a,{action:WU,actionPayload:null})}finally{t(Yt,{isLoggingIn:!1})}},async[FU]({commit:t,dispatch:e},{company:r,companyUser:n,termsVersion:a,voucherCode:i=null,source:o=null,region:s,language:u,currency:l,throwIfSlaveUser:d}){var c;try{const m={isAuth:!1,isVerify:!1,didNavigate:!1};if(e(Ns,{view:"register",settings:{error:null}}),t(Yt,{isRegistering:!0}),!r)throw new Error("Missing param company");if(!n)throw new Error("Missing param companyUser");if(!a)throw new Error("Missing param termsVersion");const{data:f}=await vTe({Company:r,CompanyUser:n,voucherCode:i,source:o,region:s,language:u,currency:l,throwIfSlaveUser:d}),{CompanyUser:p}=f,h={type:"terms",version:a,identifier:p.email,object:"CompanyUser",objectId:p.id};if(await yTe(h),p.isSlave)return m.isVerify=!0,m;const v=await e(dm,{email:n.email,password:n.password,doRedirect:!1});return m.isAuth=v,v&&((c=this.$trackEvent)==null||c.call(this,"register")),m}catch(m){if(ee(m,"payload.code")===4008&&d)throw m;if(m&&m.code){const f=VU(m.code);f&&e(Ns,{view:"register",settings:{error:f}})}return this.handleError(m,{action:FU,actionPayload:null}),{isAuth:!1,isVerify:!1,didNavigate:!1}}finally{t(Yt,{isRegistering:!1})}},async[jU]({commit:t,dispatch:e},{password:r,token:n,doRedirect:a=!0}){try{if(e(Ns,{view:"register",settings:{error:null}}),t(Yt,{isResettingPassword:!0}),!r)throw new Error("Missing param password");if(!n)throw new Error("Missing param token");const{data:i}=await gTe(r,n),{email:o}=i;return await e(dm,{email:o,password:r,doRedirect:a}),!0}catch(i){if(i&&i.code){const o=VU(i.code);o&&e(Ns,{view:"register",settings:{error:o}})}return this.handleError(i,{action:jU,actionPayload:null}),!1}finally{t(Yt,{isResettingPassword:!1})}},[cm]({commit:t},{next:e}={}){try{Le.removeItem("token"),Le.removeItem("tokenExpires"),Le.removeItem("refreshToken"),this.commit("reset")}finally{t(Yt,{isLoggingIn:!1,userId:null,companyId:null,crispUserHash:null})}if(e)try{return this.$router.replace(e)}catch(r){this.handleError(r,{action:cm,actionPayload:null})}return this.$router.replace({name:"Login"})},[EEe]({commit:t}){navigator.geolocation.getCurrentPosition(({coords:e})=>{t(DEe,[e.longitude,e.latitude])})}},lx=new Map,{PUSH_MODAL:AEe,POP_MODAL:REe,SET_CAN_CLOSE_MODAL:IEe,SHOW_MESSAGE:NEe,CLEAR_MESSAGE:LEe,CLEAR_MESSAGE_BY_ID:WEe,MESSAGE_ACTION:UU,UPDATE_VIEW_SETTINGS:FEe,RESET_VIEW_SETTINGS:jEe,SHOW_ERROR:VEe,RESET_ERROR:UEe}=bl,zEe={...$Ee,[AEe]({commit:t,state:e},r){const n={...r,_uniqueId:rn.exports()};t(Ct.SET_MODALS,[...e.modals,n])},[REe]({commit:t,state:e}){t(Ct.SET_MODALS,e.modals.slice(0,-1))},[IEe]({commit:t},e){t(Ct.SET_CAN_CLOSE_MODAL,e)},[NEe]({commit:t,state:e},r){const{type:n,displayType:a="notification",time:i=5e3,title:o,message:s,closeButton:u,omit:l=""}=r,d={},c={};if((p=>{const[h="foo",v="bar"]=p.split(":");return(v||"").split(",").includes(this._vm[h])})(l))return;r.actions&&Object.keys(r.actions).forEach(p=>{const h=r.actions[p];if(typeof h=="object"&&!Array.isArray(h)){if(!h.fn&&!h.callback)throw Error(`No callback function provided for action ${p}`);d[p]=h.fn||h.callback,delete h.fn,delete h.callback,c[p]=h}else if(typeof h=="string")d[p]=h,c[p]={};else if(typeof h=="function")d[p]=h,c[p]={};else throw Error(`Action, ${p} , must be one of: object|string|function`)}),t(Ct.ADD_MESSAGE,{actions:c,title:o,message:s,type:n,displayType:a,time:i,closeButton:u});const f=e.messages.slice(-1)[0];return lx.set(f._uniqueId,d),f._uniqueId},[LEe]({commit:t,state:e},r){const n=e.messages[r]||{};t(Ct.REMOVE_MESSAGE,r),lx.delete(n._uniqueId)},[WEe]({dispatch:t,state:e},r){const n=e.messages.findIndex(a=>a._uniqueId===r);t(bl.CLEAR_MESSAGE,n)},[UU]({state:t,dispatch:e},{index:r,type:n}){try{const a={cancel:()=>e(bl.CLEAR_MESSAGE,r)},i=t.messages[r]||{};if(!i||!i._uniqueId)throw Error("message not found, failed to trigger action");const o=lx.get(i._uniqueId);if(!o)throw Error("message has no actions, failed to trigger action");const s=o[n];if(!s)throw Error(`message has no action of type ${n}`);let u=s;if(typeof s=="string"&&(u=a[s],!u))throw Error(`No predefined action of type ${s}`);if(typeof u!="function")throw Error("Unable to extract function from message action");return u(i)}catch(a){return this.handleError(a,{action:UU,actionPayload:arguments[1],retries:0})}},[FEe]({commit:t},{view:e,settings:r}){t(Ct.SET_VIEW_SETTINGS,{view:e,settings:r})},[jEe]({commit:t}){t(Ct.RESET_VIEW_SETTINGS)},[VEe]({commit:t},e){t(Ct.SET_ERROR,e)},[UEe]({commit:t}){t(Ct.RESET_ERROR)}};function fm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function BEe(t,e){return HEe(t)||qEe(t,e)||YEe(t,e)||GEe()}function HEe(t){if(Array.isArray(t))return t}function qEe(t,e){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(t)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=t[Symbol.iterator](),s;!(n=(s=o.next()).done)&&(r.push(s.value),!(e&&r.length===e));n=!0);}catch(u){a=!0,i=u}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function YEe(t,e){if(!!t){if(typeof t=="string")return zU(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return zU(t,e)}}function zU(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function GEe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
353
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function BU(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return t.reduce(function(e,r){var n=r.split(".").slice(-1)[0];if(e[n])throw new Error("The key `".concat(n,"` is already in use."));return e[n]=r,e},{})}function KEe(t){return Object.keys(t).map(function(e){return[e,t[e]]})}function mm(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var a=typeof r[0]=="string"?[].concat(r):[""].concat(r),i=BEe(a,4),o=i[0],s=i[1],u=i[2],l=i[3];return o.length&&o.charAt(o.length-1)!=="/"&&(o+="/"),u="".concat(o).concat(u||"getField"),l="".concat(o).concat(l||"updateField"),t(o,s,u,l)}}function pm(t){return function(e){return e.split(/[.[\]]+/).reduce(function(r,n){return r[n]},t)}}function Nl(t,e){var r=e.path,n=e.value;r.split(/[.[\]]+/).reduce(function(a,i,o,s){return s.length===o+1&&(a[i]=n),a[i]},t)}var XEe=mm(function(t,e,r,n){var a=Array.isArray(e)?BU(e):e;return Object.keys(a).reduce(function(i,o){var s=a[o],u={get:function(){return this.$store.getters[r](s)},set:function(d){this.$store.commit(n,{path:s,value:d})}};return i[o]=u,i},{})}),JEe=mm(function(t,e,r,n){var a=Array.isArray(e)?BU(e):e;return Object.keys(a).reduce(function(i,o){var s=a[o];return i[o]={get:function(){var l=this.$store,d=KEe(l.getters[r](s));return d.map(function(c){return Object.keys(c[1]).reduce(function(m,f){var p="".concat(s,"[").concat(c[0],"].").concat(f);return Object.defineProperty(m,f,{get:function(){return l.getters[r](p)},set:function(v){l.commit(n,{path:p,value:v})}})},{})})}},i},{})}),HU=function(e){var r,n=e.getterType,a=e.mutationType;return r={},fm(r,n,pm),fm(r,a,Nl),fm(r,"mapFields",mm(function(i,o){return XEe(i,o,n,a)})),fm(r,"mapMultiRowFields",mm(function(i,o){return JEe(i,o,n,a)})),r};const{SET_USER_LOCATION:QEe,SET_USER:ZEe}=Ct,eMe={...{[QEe](t,e){t.user.position=e},[ZEe](t,e){Object.keys(e).forEach(r=>{t.user[r]=e[r]})}},updateField:Nl,[Ct.SET_MODALS](t,e){ie.set(t,"modals",e)},[Ct.SET_CAN_CLOSE_MODAL](t,e){ie.set(t,"canCloseModal",e)},[Ct.ADD_MESSAGE](t,e){t.messages.push(As(e))},[Ct.REMOVE_MESSAGE](t,e){ie.delete(t.messages,e)},[Ct.SET_VIEW_SETTINGS](t,{view:e,settings:r}){Object.keys(r).forEach(n=>{ie.set(t.viewSettings[e],n,r[n])})},[Ct.RESET_VIEW_SETTINGS](t,e){ie.set(t.viewSettings,e,JSON.parse(LV.viewSettings[e]))},[Ct.SET_ERROR](t,e){t.error=e},[Ct.RESET_ERROR](t){t.error=null},[Ct.SET_SOCKET_CONNECTED](t,e){t.isSocketConnected=e}};var dx={exports:{}},tMe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function cx(t){this.message=t}cx.prototype=new Error,cx.prototype.name="InvalidCharacterError";function rMe(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new cx("'atob' failed: The string to be decoded is not correctly encoded.");for(var r=0,n,a,i=0,o="";a=e.charAt(i++);~a&&(n=r%4?n*64+a:a,r++%4)?o+=String.fromCharCode(255&n>>(-2*r&6)):0)a=tMe.indexOf(a);return o}var nMe=typeof window<"u"&&window.atob&&window.atob.bind(window)||rMe,qU=nMe;function aMe(t){return decodeURIComponent(qU(t).replace(/(.)/g,function(e,r){var n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}var iMe=function(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return aMe(e)}catch{return qU(e)}},oMe=iMe;function Ll(t){this.message=t}Ll.prototype=new Error,Ll.prototype.name="InvalidTokenError",dx.exports=function(t,e){if(typeof t!="string")throw new Ll("Invalid token specified");e=e||{};var r=e.header===!0?0:1;try{return JSON.parse(oMe(t.split(".")[r]))}catch(n){throw new Ll("Invalid token specified: "+n.message)}},dx.exports.InvalidTokenError=Ll;const Lb=class{init({store:e}){this.store=e}getValidFeatures(){return Object.keys(Lb.schema)}_isValidAccountType(e){if(!e||Ze(e)!=="array")throw new Error("Invalid param accountTypes");const{accountType:r}=this.store.getters["application/companyAccount"]||{};return e.includes(r)}_isValidFeatureKey(e){if(!e||Ze(e)!=="string")throw new Error("Invalid param featureKey");const{CompanyFeatures:r}=this.store.getters["application/company"]||{};return r?r[e]:!1}_isValidCompanySetting(e){if(!e||Ze(e)!=="string")throw new Error("Invalid param settingKey");return e.split("||").some(n=>{const a=this.store.getters["settings/getCompanySetting"](n);return typeof a=="boolean"&&a})}_isValidCompanyUserSettingFn({name:e,fn:r}){if(!e||Ze(e)!=="string")throw new Error("Invalid param name");if(!r||Ze(r)!=="function")throw new Error("Invalid param fn");const n=this.store.getters["settings/getCompanyUserSetting"](e);return!!r(n)}_isValidRegion(e){if(!e||Ze(e)!=="string")throw new Error("Invalid param requiredRegion");const{region:r}=this.store.getters["application/company"]||{};return r?e===r:!1}_isValidBrand(e){if(!e||Ze(e)!=="string")throw new Error("Invalid param requiredBrand");const r=this.store.$brand;return r?e===r:!1}_isCreatedBefore(e){if(!e||Ze(e)!=="string")throw new Error("Invalid param feature dateString");const{createdAt:r}=this.store.getters["application/company"]||{};return r?aPe(r,e):!1}_evaluateFeature(e,{returnType:r="boolean"}={}){const n=Lb.schema[e];if(!n||Ze(n)!=="object")throw Error(`No rules for feature '${e}' has been defined!`);if(!["boolean","array"].includes(r))throw Error("Invalid param returnType");const a=[];return n.accountTypes&&!this._isValidAccountType(n.accountTypes)&&(a.push("accountTypes"),r==="boolean")||n.featureKey&&!this._isValidFeatureKey(n.featureKey)&&(a.push("featureKey"),r==="boolean")||n.companySetting&&!this._isValidCompanySetting(n.companySetting)&&(a.push("companySetting"),r==="boolean")||n.companyUserSettingFn&&!this._isValidCompanyUserSettingFn(n.companyUserSettingFn)&&(a.push("companyUserSettingFn"),r==="boolean")||n.region&&!this._isValidRegion(n.region)&&(a.push("region"),r==="boolean")||n.brand&&!this._isValidBrand(n.brand)&&(a.push("brand"),r==="boolean")||n.createdBefore&&!this._isCreatedBefore(n.createdBefore)&&(a.push("preDynDoc2"),r==="boolean")?!1:r==="array"?a:!0}checkFeature(e){return this._evaluateFeature(e)}checkFeatureUpgrade(e){const r=this._evaluateFeature(e,{returnType:"array"});return r.length===1&&r.includes("accountTypes")}};let hm=Lb;St(hm,"schema",{personalMessage:{},unlimitedCertificates:{},companyAboutUs:{},winProfile:{},templates:{},invoice:{featureKey:"invoice"},sellInvoice:{featureKey:"sellInvoice"},timeTrack:{featureKey:"timeTrack"},task:{featureKey:"task"},reverseVat:{featureKey:"reverseVat"},ataSetting:{featureKey:"ataSetting"},propertyDesignation:{companySetting:"showRot||showGreenRot"},openAccConstruction:{featureKey:"openAccConstruction"},docChapterIsBinding:{companySetting:"showIsBinding"},projectSettingHideAllArticles:{companySetting:"allowHideAllArticles"},docAtaDateDelay:{companySetting:"docAtaShowDateDelay"},docAtaNotIncluded:{companySetting:"docAtaShowNotIncluded"},docAtaPayment:{companySetting:"docAtaShowPayment"},sms:{featureKey:"sms"},smsSenderName:{featureKey:"smsSenderName"},regionSE:{region:"SE"},bankId:{region:"SE",companySetting:"enableBankId"},templateGallery:{companyUserSettingFn:{name:"defaultLanguage",fn:e=>e==="sv"}},clientReview:{brand:"cling"},upgradeSignatureBankId:{companySetting:"upgradeSignatureBankId"},preDynDoc2:{createdBefore:"2020-11-05T00:00:00.000Z"},emailDomain:{featureKey:"emailDomain"},subdomain:{featureKey:"subdomain"},stats:{featureKey:"stats"},api:{featureKey:"api"},fortnox:{featureKey:"fortnox"},inviteCreators:{accountTypes:["base","pro"]}});const In=new hm,Oa=class{init({store:e}){this.store=e}_getObjectById(e,r){const n=(Oa.schema[r]||{}).$module,{data:a}=this.store.state[n]||{};if(!a)throw Error(`No module for ${r} has been defined!`);return a[e]}_getIdPath(e){return(Oa.schema[e]||{}).$id}_getAllowNullOwner(e){return!!(Oa.schema[e]||{}).$allowNullOwner}_getScopeKey(e){return(Oa.schema[e]||{}).$scopeKey}_getUserId(){const{user:e={}}=this.store.state.application;return e.userId}getValidScopes(){return Object.keys(Oa.schema)}getRequiredCompanyUserPermission(e,r){const n=Oa.schema[e];return!n||!n[r]?[]:Array.isArray(n[r])?n[r]:[n[r]]}hasFeature(e){const r=Oa.featureSchema[e];return r?In.checkFeature(r):!0}checkPermission(e,r,n=void 0){const{getters:a}=this.store,{CompanyUserPermission:i}=a["application/user"]||{};if(!i||!this.hasFeature(e))return!1;let s=this.getRequiredCompanyUserPermission(e,r);if(!s||s.length===0)return console.warn(`Permission ${r} in scope ${e} has not been implemented`),!1;let u=s.some(d=>i[d]===!0);if(u)return!0;if(!n)return!1;const l=this._getScopeKey(e);if(s=s.map(d=>d.includes("Own")?d:d.replace(`${l[0].toUpperCase()}${l.slice(1)}`,`Own${l[0].toUpperCase()}${l.slice(1)}`)),u=s.some(d=>i[d]===!0),u){const d=this._getObjectById(n,e);if(!d)return!1;if(e==="documents")return this.checkPermission("projects",r,d.projectId);const c=Ike(d,this._getIdPath(e)),m=this._getAllowNullOwner(e);return c===this._getUserId()||m&&c===null}return!1}getScope(e={}){return this.getValidScopes().find(a=>e[a])}};let Wl=Oa;St(Wl,"schema",{projects:{read:"manageProjects",modify:"manageProjects",create:["manageProjects","manageOwnProjects"],delete:"manageProjects",readPrice:["manageProjects","showPrices"],$scopeKey:"projects",$module:"projects",$id:"CompanyUserId"},users:{modify:"manageUsers",create:"manageUsers",$scopeKey:"users",$module:"companyUsers",$id:"id"},documents:{create:["manageProjects","manageOwnProjects"],read:"manageProjects",modify:"manageProjects",delete:"manageProjects",readPrice:["manageProjects","showPrices"],$scopeKey:"projects",$module:"documents2",$id:"companyUserId"},atas:{create:["manageAtas","manageOwnAtas"],read:"manageAtas",modify:"manageAtas",delete:"manageAtas",readPrice:["manageAtas","showPrices"],$scopeKey:"atas",$module:"documents",$id:"data.CompanyUserId"},company:{create:"manageCompany",read:"manageCompany",modify:"manageCompany",$scopeKey:"company",$module:"companies",$id:"id"},articles:{create:["manageProjects","manageOwnProjects"],modify:["manageProjects","manageOwnProjects"],delete:["manageProjects","manageOwnProjects"],readPrice:["manageOwnAtas","manageAtas","manageProjects","manageOwnProjects","showPrices"],$scopeKey:"projects",$module:"articles",$id:"id"},invoices:{read:["readInvoices","readOwnInvoices"],modify:"modifyInvoices",create:"createInvoices",delete:"deleteInvoices",attest:"attestInvoices",$scopeKey:"invoices",$module:"invoices",$id:"CompanyUserId"},bookkeeping:{modify:"modifyBookkeepingSettings",export:"exportInvoices"},prices:{read:"showPrices"},timeTracks:{read:["readTimeTracks","readOwnTimeTracks"],modify:"modifyTimeTracks",create:"createTimeTracks",delete:["deleteTimeTracks","deleteOwnTimeTracks"],attest:"attestTimeTracks",$scopeKey:"timeTracks",$module:"timeTracks",$id:"CompanyUserId"},templates:{create:"createTemplates",read:"readTemplates",modify:"modifyTemplates",delete:"deleteTemplates"},endCustomers:{read:["readEndCustomers","readOwnEndCustomers"],modify:"modifyEndCustomers",create:"createEndCustomers",delete:"deleteEndCustomers",$scopeKey:"endCustomers",$module:"endCustomers",$id:"CompanyUserId",$allowNullOwner:!0},fortnox:{export:"modifyBookkeepingSettings"}}),St(Wl,"featureSchema",{invoices:"invoice",bookkeeping:"invoice",timeTracks:"timeTrack"});const Xi=new Wl,sMe={...{userPosition:t=>t.user.position,isLoggingIn:t=>t.user.isLoggingIn,isSuperUser:()=>()=>{const t=Le.getItem("token");if(!t)return!1;const{employee:e}=dx.exports(t);return!!e},isRegistering:t=>t.user.isRegistering,isResettingPassword:t=>t.user.isResettingPassword,crispUserHash:t=>t.user.crispUserHash,isUserLoaded:({user:t})=>t.userId&&t.companyId&&!0||!1,company:({user:t},e,r,n)=>n["companies/companyById"](t.companyId),companyAccount:({user:t},e,r,n)=>(n["companies/companyById"](t.companyId)||{}).CompanyAccount||null,companyAccountType:(t,e)=>(e.companyAccount||{}).accountType||null,companyRegion:(t,e)=>(e.company||{}).region||(ge.brand==="docspo"?"US":"SE"),subscription:(t,e)=>{const{companyAccount:r={}}=e;if(!r)return{};const{freePremiumDays:n=null,accountType:a=null,maxProjectManagers:i=null,freeDocumentsLeft:o=null,paymentMethod:s,billingCycleInterval:u,billingCycleCount:l,showCalloutConvertStripe:d,hasExceededQuota:c,StripeSubscriptions:m,mrr:f,hasFailedPayments:p,allowFailedPaymentToConvertStripe:h}=r,v=[...new Set([...m.map(_=>_.status)])],y=m.some(_=>(_.stripeItems||[]).some(w=>w.stripePriceStripeId.startsWith("plan_"))),b=F1.includes(a)&&d&&s==="invoice"&&ee(r,"documentQuota.newCount")===1e3&&!ee(r,"premiumEndAt");return{type:a,trialDaysLeft:n,maxProjectManagers:i,freeDocumentsLeft:o,paymentMethod:s,billingCycleInterval:u,billingCycleCount:l,showCalloutConvertStripe:F1.includes(a)&&d&&s==="invoice",stripeStatuses:v,isPaying:F1.includes(a),hasExceededQuota:c,isStripeLegacy:y,isInvoiceLegacy:b,mrr:f,hasFailedPayments:p,allowFailedPaymentToConvertStripe:h}},user:({user:t},e,r,n)=>n["companyUsers/referenceById"](t.userId),isQualified:(t,{user:e,companyAccount:r})=>!r||!e||typeof e.isQualified!="boolean"?!0:e.isQualified||!["free","trial","premiumTrial"].includes(r.accountType),feature:()=>In.checkFeature.bind(In),can:()=>Xi.checkPermission.bind(Xi)},getField:pm,modals:t=>t.modals,messages:t=>t.messages,isIncVat:t=>t.priceInputVat==="incVat",viewSettings:t=>e=>t.viewSettings[e],showSearch:t=>t.viewSettings.search.show,error:t=>t.error,isSocketConnected:t=>t.isSocketConnected},uMe={namespaced:!0,state:LV,getters:sMe,actions:zEe,mutations:eMe},lMe={data:{},ids:[],isFetching:!1,isPosting:!1},Me={application:Ct,projects:Dr,forms:Rn,files:ox,settings:$U,certificates:tEe,companies:nx,companyReferences:nEe,companyReferenceItems:iEe,documents2:ix,invoices:pEe,timeTracks:vEe,templates:ux,publicDocuments:yEe,documentTerms:bEe,notifications:uEe,unitTypes:xEe,CLEAR_FORM:"CLEAR_FORM",DELETE_ARTICLE:"DELETE_ARTICLE",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",DELETE_CONTRACT:"DELETE_CONTRACT",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",DELETE_PROJECT:"DELETE_PROJECT",DELETE_PROJECT_FILE:"DELETE_PROJECT_FILE",DELETE_TEMPLATE_MESSAGE:"DELETE_TEMPLATE_MESSAGE",SET_ARTICLES:"SET_ARTICLES",SET_ATAS:"SET_ATAS",SET_COMPANY_USERS:"SET_COMPANY_USERS",SET_CONTRACTS:"SET_CONTRACTS",SET_ENDCUSTOMERS:"SET_ENDCUSTOMERS",SET_FORM:"SET_FORM",SET_NOTIFICATIONS:"SET_NOTIFICATIONS",SET_OFFERS:"SET_OFFERS",SET_PROJECTS:"SET_PROJECTS",SET_PROJECT_FILES:"SET_PROJECT_FILES",UPDATE_COMPANY:"UPDATE_COMPANY"};function YU(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function GU(t,e,r){return e&&YU(t.prototype,e),r&&YU(t,r),t}function Nn(){return Nn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Nn.apply(this,arguments)}function fx(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Fl(t){return!!(t&&typeof t.hasOwnProperty=="function"&&(t.hasOwnProperty("__ownerID")||t._map&&t._map.hasOwnProperty("__ownerID")))}function KU(t,e,r){return Object.keys(t).reduce(function(n,a){var i=""+a;return n.has(i)?n.set(i,r(n.get(i),t[i])):n},e)}var dMe=function(e){return function(r){return Fl(r)?r.get(e):r[e]}},cMe=function(){function t(r,n,a){if(n===void 0&&(n={}),a===void 0&&(a={}),!r||typeof r!="string")throw new Error("Expected a string key for Entity, but found "+r+".");var i=a,o=i.idAttribute,s=o===void 0?"id":o,u=i.mergeStrategy,l=u===void 0?function(p,h){return Nn({},p,h)}:u,d=i.processStrategy,c=d===void 0?function(p){return Nn({},p)}:d,m=i.fallbackStrategy,f=m===void 0?function(p,h){}:m;this._key=r,this._getId=typeof s=="function"?s:dMe(s),this._idAttribute=s,this._mergeStrategy=l,this._processStrategy=c,this._fallbackStrategy=f,this.define(n)}var e=t.prototype;return e.define=function(n){this.schema=Object.keys(n).reduce(function(a,i){var o,s=n[i];return Nn({},a,(o={},o[i]=s,o))},this.schema||{})},e.getId=function(n,a,i){return this._getId(n,a,i)},e.merge=function(n,a){return this._mergeStrategy(n,a)},e.fallback=function(n,a){return this._fallbackStrategy(n,a)},e.normalize=function(n,a,i,o,s,u){var l=this,d=this.getId(n,a,i),c=this.key;if(c in u||(u[c]={}),d in u[c]||(u[c][d]=[]),u[c][d].some(function(f){return f===n}))return d;u[c][d].push(n);var m=this._processStrategy(n,a,i);return Object.keys(this.schema).forEach(function(f){if(m.hasOwnProperty(f)&&typeof m[f]=="object"){var p=l.schema[f],h=typeof p=="function"?p(n):p;m[f]=o(m[f],m,f,h,s,u)}}),s(this,m,n,a,i),d},e.denormalize=function(n,a){var i=this;return Fl(n)?KU(this.schema,n,a):(Object.keys(this.schema).forEach(function(o){if(n.hasOwnProperty(o)){var s=i.schema[o];n[o]=a(n[o],s)}}),n)},GU(t,[{key:"key",get:function(){return this._key}},{key:"idAttribute",get:function(){return this._idAttribute}}]),t}(),mx=function(){function t(r,n){n&&(this._schemaAttribute=typeof n=="string"?function(a){return a[n]}:n),this.define(r)}var e=t.prototype;return e.define=function(n){this.schema=n},e.getSchemaAttribute=function(n,a,i){return!this.isSingleSchema&&this._schemaAttribute(n,a,i)},e.inferSchema=function(n,a,i){if(this.isSingleSchema)return this.schema;var o=this.getSchemaAttribute(n,a,i);return this.schema[o]},e.normalizeValue=function(n,a,i,o,s,u){var l=this.inferSchema(n,a,i);if(!l)return n;var d=o(n,a,i,l,s,u);return this.isSingleSchema||d===void 0||d===null?d:{id:d,schema:this.getSchemaAttribute(n,a,i)}},e.denormalizeValue=function(n,a){var i=Fl(n)?n.get("schema"):n.schema;if(!this.isSingleSchema&&!i)return n;var o=this.isSingleSchema?void 0:Fl(n)?n.get("id"):n.id,s=this.isSingleSchema?this.schema:this.schema[i];return a(o||n,s)},GU(t,[{key:"isSingleSchema",get:function(){return!this._schemaAttribute}}]),t}(),fMe=function(t){fx(e,t);function e(n,a){if(!a)throw new Error('Expected option "schemaAttribute" not found on UnionSchema.');return t.call(this,n,a)||this}var r=e.prototype;return r.normalize=function(a,i,o,s,u,l){return this.normalizeValue(a,i,o,s,u,l)},r.denormalize=function(a,i){return this.denormalizeValue(a,i)},e}(mx),mMe=function(t){fx(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.normalize=function(a,i,o,s,u,l){var d=this;return Object.keys(a).reduce(function(c,m,f){var p,h=a[m];return h!=null?Nn({},c,(p={},p[m]=d.normalizeValue(h,a,m,s,u,l),p)):c},{})},r.denormalize=function(a,i){var o=this;return Object.keys(a).reduce(function(s,u){var l,d=a[u];return Nn({},s,(l={},l[u]=o.denormalizeValue(d,i),l))},{})},e}(mx),pMe=function(e){var r=Array.isArray(e);if(r&&e.length>1)throw new Error("Expected schema definition to be a single schema, but found "+e.length+".");return e[0]},XU=function(e){return Array.isArray(e)?e:Object.keys(e).map(function(r){return e[r]})},hMe=function(e,r,n,a,i,o,s){e=pMe(e);var u=XU(r);return u.map(function(l,d){return i(l,n,a,e,o,s)})},vMe=function(t){fx(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.normalize=function(a,i,o,s,u,l){var d=this,c=XU(a);return c.map(function(m,f){return d.normalizeValue(m,i,o,s,u,l)}).filter(function(m){return m!=null})},r.denormalize=function(a,i){var o=this;return a&&a.map?a.map(function(s){return o.denormalizeValue(s,i)}):a},e}(mx),JU=function(e,r,n,a,i,o,s){var u=Nn({},r);return Object.keys(e).forEach(function(l){var d=e[l],c=typeof d=="function"?d(r):d,m=i(r[l],r,l,c,o,s);m==null?delete u[l]:u[l]=m}),u},gMe=function(e,r,n){if(Fl(r))return KU(e,r,n);var a=Nn({},r);return Object.keys(e).forEach(function(i){a[i]!=null&&(a[i]=n(a[i],e[i]))}),a},yMe=function(){function t(r){this.define(r)}var e=t.prototype;return e.define=function(n){this.schema=Object.keys(n).reduce(function(a,i){var o,s=n[i];return Nn({},a,(o={},o[i]=s,o))},this.schema||{})},e.normalize=function(){for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return JU.apply(void 0,[this.schema].concat(a))},e.denormalize=function(){for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return gMe.apply(void 0,[this.schema].concat(a))},t}(),_Me=function t(e,r,n,a,i,o){if(typeof e!="object"||!e)return e;if(typeof a=="object"&&(!a.normalize||typeof a.normalize!="function")){var s=Array.isArray(a)?hMe:JU;return s(a,e,r,n,t,i,o)}return a.normalize(e,r,n,t,i,o)},bMe=function(e){return function(r,n,a,i,o){var s=r.key,u=r.getId(a,i,o);s in e||(e[s]={});var l=e[s][u];l?e[s][u]=r.merge(l,n):e[s][u]=n}},be={Array:vMe,Entity:cMe,Object:yMe,Union:fMe,Values:mMe},QU=function(e,r){if(!e||typeof e!="object")throw new Error('Unexpected input given to normalize. Expected type to be "object", found "'+(e===null?"null":typeof e)+'".');var n={},a=bMe(n),i={},o=_Me(e,e,null,r,a,i);return{entities:n,result:o}};const Ws=new be.Entity("files");new be.Array(Ws);const ZU=new be.Entity("projectFiles",{File:Ws});new be.Array(ZU);const px=new be.Entity("companyUsers");new be.Array(px);const hx=new be.Entity("offers",{Files:[Ws]});new be.Array(hx);const ez=new be.Entity("atas",{Files:[Ws]});new be.Array(ez);const vx=new be.Entity("projects",{CompanyUser:px,ProjectMembers:[px],ProjectFiles:[ZU]});ez.define({Project:vx});const wMe=new be.Array(vx),xMe=new be.Entity("articles");new be.Array(xMe);const tz=new be.Entity("certificates");new be.Array(tz);const PMe=new be.Entity("companies",{CompanyCertificates:[tz]}),kMe=new be.Array(PMe),rz=new be.Entity("companyReferenceItems",{Image:Ws,Thumbnail:Ws});new be.Array(rz);const TMe=new be.Entity("companyReferences",{CompanyReferenceItems:[rz]});new be.Array(TMe);const nz=new be.Entity("contracts",{Offer:hx});new be.Array(nz),hx.define({Contract:nz}),new be.Entity("endCustomers");const EMe=new be.Entity("notifications",{Project:vx});new be.Array(EMe);const MMe=new be.Entity("propertyDesignations");new be.Array(MMe);const SMe=new be.Entity("templateMessages");new be.Array(SMe);const jl="companies",{LOAD_FILE:Xht,FORM_RESET_OLD:az}=ke,{SET_FORM:gx}=Me.forms,{DO_LOAD_CURRENT_COMPANY:vm,DO_NORMALIZE_COMPANIES:iz,DO_UPDATE_CURRENT_COMPANY:oz,FORM_EDIT_COMPANY:OMe,FORM_SUBMIT_COMPANY:sz,FORM_NEW_COMPANY_BRANDING:uz,FORM_EDIT_COMPANY_BRANDING:yx,FORM_SUBMIT_COMPANY_BRANDING:lz,UPDATE_COMPANY_ACCOUNT_TYPE:dz}=kU,{SET_COMPANIES_FETCHING:_x,SET_COMPANIES_POSTING:da}=nx,CMe={async[iz](t,{companies:e=[]}){if(!e||!Array.isArray(e)||!e.length)throw new Error("Missing param companies");await this.dispatch(Ki,{data:e,schema:kMe})},async[vm]({commit:t,dispatch:e}){var r;try{t(_x,!0);const{data:n}=await lr.get("/company");return await e(iz,{companies:[n]}),await((r=this.$supportChat)==null?void 0:r.syncData()),t(_x,!1),n}catch(n){throw t(_x,!1),n}},async[oz]({dispatch:t,commit:e},{body:r}){try{e(da,!0),await lr.put("/company",r);const n=await t(vm);return e(da,!1),n}catch(n){throw e(da,!1),n}},async[dz]({dispatch:t,commit:e},{accountType:r,billingCycleCost:n,billingCycleInterval:a,billingCycleCount:i,premiumSource:o=null,quantity:s}){try{if(e(da,!0),!r)throw new Error("Missing parameter accountType");if(a&&!i)throw new Error("Param billingCycleCount is required if billingCycleInterval is used");if(!a&&i)throw new Error("Param billingCycleInterval is required if billingCycleCount is used");if((a||i)&&typeof n>"u")throw new Error("Param billingCycleCost is missing");const u={premiumSource:o};return a&&i&&n&&(u.billingCycleInterval=a,u.billingCycleCount=i,u.billingCycleCost=n),typeof s<"u"&&(u.quantity=s),await BTe(r,u),await t(vm),e(da,!1),!0}catch(u){return this.handleError(u,{object:"companyAccount",action:`${jl}/${dz}`}),!1}finally{e(da,!1)}},async[OMe]({rootGetters:t},{props:e=[]}={}){try{const r=ua(t["application/company"],e);return this.commit(`forms/${gx}`,{key:"company",formData:r}),!0}catch(r){return this.handleError(r),!1}},async[sz]({rootGetters:t,dispatch:e}){try{const r=t["forms/getFormByKey"]("company");return await e(oz,{body:r}),await this.dispatch(az,"company"),!0}catch(r){return this.handleError(r,{object:"companies",fallbackCode:"companies.submit",action:`${jl}/${sz}`}),!1}},async[uz]({rootGetters:t,dispatch:e}){try{const{CompanyBranding:r}=t["application/company"];if(r&&r.id)return e(yx);const n={about:""};return this.commit(`forms/${gx}`,{key:"companyBranding",formData:n}),!0}catch(r){return this.handleError(r,{object:"companies",action:`${jl}/${uz}`}),!1}},async[yx]({rootGetters:t}){try{const{CompanyBranding:e}=t["application/company"],r=e;return this.commit(`forms/${gx}`,{key:"companyBranding",formData:r}),!0}catch(e){return this.handleError(e,{object:"companies",action:`${jl}/${yx}`}),!1}},async[lz]({rootGetters:t,dispatch:e,commit:r}){try{r(da,!0);const n=t["forms/getFormByKey"]("companyBranding");let{id:a}=n;return a?await lr.put("/companyBranding",n):{id:a}=await lr.post("/companyBranding",n),e(vm),r(da,!1),await this.dispatch(az,"companyBranding"),a}catch(n){return r(da,!1),this.handleError(n,{object:"companies",fallbackCode:"companies.submit",action:`${jl}/${lz}`}),!1}}},qa=new be.Entity("files"),DMe=new be.Array(qa),gm=new be.Entity("companyUsers"),cz=new be.Array(gm),fz=new be.Entity("companies"),$Me=new be.Array(fz),Ji=new be.Entity("invoices");Ji.define({InvoiceFiles:[{File:qa,Thumbnail:qa}],creditInvoices:[Ji],creditsInvoice:Ji,interestInvoices:[Ji],interestForInvoice:Ji});const bx=new be.Array(Ji),AMe=new be.Entity("documents",{data:{Files:DMe,Invoices:bx}}),RMe=new be.Array(AMe),mz=new be.Entity("projectFiles",{File:qa}),IMe=new be.Array(mz),wx=new be.Entity("projects",{ProjectMembers:cz,ProjectFiles:[{File:qa}],Invoices:bx,CompanyUser:gm}),NMe=new be.Array(wx),LMe=new be.Entity("timeTracks",{CompanyUser:gm,Project:wx}),WMe=new be.Array(LMe),pz=new be.Entity("companyReference",{CompanyReferenceItem:{Image:qa,Thumbnail:qa}}),FMe=new be.Array(pz),hz=new be.Entity("documentTerms",{File:qa}),jMe=new be.Array(hz),VMe={project:wx,projects:NMe,invoice:Ji,invoices:bx,companyReference:pz,companyReferences:FMe,projectFile:mz,projectFiles:IMe,documents:RMe,companyUser:gm,companyUsers:cz,company:fz,companies:$Me,timeTracks:WMe,documentTerm:hz,documentTerms:jMe},UMe=(t,e)=>{const r=VMe[e];return r||console.warn(`No schema found for type: '${e}'`),QU(t,r)};function Qi(t,e,r=!1){let n=e.replace(/\[(\d*)\]/ig,(o,s)=>`.${s}`);n=n.split(".");let a=t;const i=n.pop();return n.length>0&&(a=n.reduce((o,s)=>{let u=o[s];return r&&(Ze(u)==="undefined"||Ze(u)==="null")&&(ie.set(o,s,{}),u=o[s]),u},t)),{root:a,prop:i}}function Fs(t,e){function r(n,a){Object.keys(a).forEach(i=>{const o=n[i]instanceof Object&&!Array.isArray(n[i]),s=a[i]instanceof Object&&!Array.isArray(a[i]);if(o&&s){Fs(n[i],a[i]);return}ie.set(n,i,a[i])})}r(t,e)}function Vl(t,{keyId:e="id"}={}){const r=[],n={};return t.forEach(a=>{n[a[e]]=a,r.push(a[e])}),{ids:r,values:n}}function vz({schema:t,getters:e,data:r,scope:n=null,instance:a=null}){let i=n;typeof i=="string"&&(i=[i]);const o={};return t&&Object.keys(t).map(s=>(t[s].$virtual&&t[s].$virtual.map(u=>{const{name:l,set:d}=u;let c={};if(r&&typeof r[s]<"u"?c=r[s]:typeof t[s].$default<"u"&&(c=t[s].$default),typeof c>"u")return!1;const m=a||this;return o[l]=d.call(m,c,{getters:e}),!0}),!0)),t&&i&&Array.isArray(i)&&Object.keys(t).map(s=>t[s].$scope?(i.some(l=>t[s].$scope.indexOf(l)>=0)||delete o[s],!0):(delete o[s],!0)),JSON.parse(JSON.stringify(o))}function zMe({schema:t,data:e,getters:r,scope:n=null,includeVirtual:a=!1,instance:i=null}){let o=n;if(typeof o=="string"&&(o=[o]),!t)throw new Error("Missing parameter schema");const s={};Object.keys(t).map(l=>(t[l].$default!=="undefined"&&(s[l]=t[l].$default),!0));let u=Object.assign({},s,e);return a&&(u={...u,...vz({schema:t,getters:r,data:e,scope:n,instance:i})}),t&&o&&Array.isArray(o)&&Object.keys(t).map(l=>t[l].$scope?(o.some(c=>t[l].$scope.indexOf(c)>=0)||delete u[l],!0):(delete u[l],!0)),JSON.parse(JSON.stringify(u))}function gz({next:t=null,projectId:e,docType:r,docId:n,invoiceId:a}={},i,o=void 0){if(!t||!i)return!1;switch(t){case"project":{if(!e)throw new zi(`Cannot redirect user on next: '${t}' as no projectId is defined`);i.push({name:"project",params:{id:e,modal:!1}},o);break}case"invoice":{if(!a)throw new zi(`Cannot redirect user on next: '${t}' as no invoiceId is defined`);i.push({name:"invoice",params:{id:a,modal:!1}},o);break}case"preview":{if(a){i.push({name:"previewInvoice",params:{id:a}},o);break}if(!e)throw new zi(`Cannot redirect user on next: '${t}' as no projectId is defined`);if(!r)throw new zi(`Cannot redirect user on next: '${t}' as no docType is defined`);if(!n)throw new zi(`Cannot redirect user on next: '${t}' as no docId is defined`);i.push({name:"Preview",params:{projectId:e,docType:r,docId:n}},o);break}default:throw new zi(`Cannot redirect user on next: '${t}' as it is not implemented`)}return!0}const{SET_COMPANIES:BMe,CLEAR_COMPANIES:HMe,SET_COMPANIES_FETCHING:qMe,SET_COMPANIES_POSTING:YMe}=nx,GMe={[BMe](t,{data:e}){if(typeof e!="object")throw Error("Data must be a company or an array of companies!");const r=Array.isArray(e)?e:[e],{ids:n,values:a}=Vl(r);Fs(t.data,a),t.ids=Yi([...n,...t.ids])},[HMe](t){ie.set(t,"data",{}),ie.set(t,"ids",[])},[qMe](t,e){t.isFetching=e},[YMe](t,e){t.isPosting=e}},KMe={namespaced:!0,state:lMe,getters:{companyById:t=>e=>t.data[e],certificateIdListForCurrentCompany:(t,e,r)=>()=>e.certificateIdListForCompany(r.application.user.companyId),certificateIdListForCompany:t=>e=>{const r=t.data[e].CompanyCertificates;return r||[]},isFetching:t=>t.isFetching,isPosting:t=>t.isPosting},actions:CMe,mutations:GMe},XMe={data:{},ids:[],isFetching:!1,isPosting:!1},Ya="companyUsers",{LOAD_COMPANY_USERS:yz,LOAD_COMPANY_USER:ym,DO_NORMALIZE_COMPANY_USERS:_m,UPDATE_COMPANY_USER:xx,CREATE_COMPANY_USER:Px,DELETE_COMPANY_USER:_z,PATCH_COMPANY_USER:kx,FORM_NEW_COMPANY_USER:JMe,FORM_EDIT_COMPANY_USER:QMe,FORM_SUBMIT_COMPANY_USER:bz}=TU,{SET_AS_NORMALIZED_DATA:ZMe,FORM_RESET_OLD:eSe,DELETE_FILE:tSe}=ke,{SET_COMPANY_USERS_FETCHING:bm,SET_COMPANY_USERS_POSTING:Ga}=ax,rSe={async[_m](t,{companyUsers:e=[]}){if(!e||!Array.isArray(e)||!e.length)throw new Error("Missing param companyUsers");await this.dispatch(ZMe,{data:e,schema:"companyUsers"})},async[yz]({dispatch:t,commit:e}){try{e(bm,!0);const{data:r}=await WTe();await t(_m,{companyUsers:r})}catch(r){this.handleError(r,{object:"companyUser",fallbackCode:"companyUser.getAll",action:`${Ya}/${yz}`})}finally{e(bm,!1)}},async[ym]({commit:t,dispatch:e,rootGetters:r},{id:n}){try{t(bm,!0);const{data:a}=await FTe(n);await e(_m,{companyUsers:[a]});const{id:i}=r["application/user"]||{};return n===i&&(ce.locale!==a.locale&&ce.l10n.changeLocale(a.locale),ce.lang!==a.language&&(ce.i18next.changeLanguage(a.language),location&&location.reload())),n}catch(a){return this.handleError(a,{object:"companyUser",objectId:n,fallbackCode:"companyUser.get",action:`${Ya}/${ym}`,actionPayload:arguments[1]}),null}finally{t(bm,!1)}},async[Px]({commit:t,dispatch:e,rootGetters:r},{body:n}){try{const{language:a,locale:i}=r["application/user"]||{},o={language:a||"en",locale:i||"en-US",...n};t(Ga,!0);const{data:s}=await jTe(o);return await e(_m,{companyUsers:[s]}),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("sentThingTo",{thing:ce.t("invitation"),recipient:s.email})}),s.id}catch(a){return this.handleError(a,{object:"companyUser",fallbackCode:"companyUser.post",action:`${Ya}/${Px}`,actionPayload:arguments[1]}),null}finally{t(Ga,!1)}},async[xx]({dispatch:t,commit:e,getters:r},{id:n,body:a}){var i;try{e(Ga,!0);const{AvatarPublicId:o}=a,{AvatarPublicId:s}=r.byId(n);return o&&o!==s&&this.dispatch(tSe,{id:s}),await VTe(n,a),await t(ym,{id:n}),(i=this.$supportChat)==null||i.syncData(),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("updatedThing",{thing:ce.t("user")})}),n}catch(o){return this.handleError(o,{object:"companyUser",objectId:n,fallbackCode:"companyUser.put",action:`${Ya}/${xx}`,actionPayload:arguments[1]}),null}finally{e(Ga,!1)}},async[_z]({commit:t},{id:e}){try{return t(Ga,!0),await UTe(e),t(ax.DELETE_COMPANY_USER,e),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("removedThing",{thing:ce.t("user")}),actions:{undo:()=>{this.dispatch(`${Ya}/${kx}`,{id:e})}}}),e}catch(r){return this.handleError(r,{object:"companyUser",objectId:e,fallbackCode:"companyUser.delete",action:`${Ya}/${_z}`,actionPayload:arguments[1]}),null}finally{t(Ga,!1)}},async[kx]({dispatch:t,commit:e},{id:r}){try{return e(Ga,!0),await zTe(r),await t(ym,{id:r}),r}catch(n){return this.handleError(n,{object:"companyUser",objectId:r,fallbackCode:"companyUser.patch",action:`${Ya}/${kx}`,actionPayload:arguments[1]}),null}finally{e(Ga,!1)}},[JMe]({commit:t,rootGetters:e}){let r="en";const n=e["application/user"];n.language&&({language:r}=n);const a={AvatarPublicId:null,CompanyId:null,CompanyUserPermission:{manageCompany:!1,manageUsers:!1,manageProjects:!1,manageOwnProjects:!1,showPrices:!1,manageAtas:!1,manageOwnAtas:!1,createTimeTracks:!0,readTimeTracks:!1,readOwnTimeTracks:!0,modifyTimeTracks:!1,modifyOwnTimeTracks:!0,deleteTimeTracks:!1,deleteOwnTimeTracks:!0,attestTimeTracks:!1,createInvoices:!1,readInvoices:!1,readOwnInvoices:!1,modifyInvoices:!1,modifyOwnInvoices:!1,deleteInvoices:!1,deleteOwnInvoices:!1,attestInvoices:!1,attestOwnInvoices:!1,exportInvoices:!1,modifyBookkeepingSettings:!1},cellphone:null,email:null,finishedGuide:!1,firstname:null,id:null,language:r,lastActive:null,lastname:null,resetPasswordExpires:null,resetPasswordToken:null};return t(`forms/${Me.SET_FORM}`,{key:"companyUser",formData:a},{root:!0})},[QMe]({commit:t,getters:e},{id:r,props:n=[]}){const a=ua(e.byId(r),n);return t(`forms/${Me.SET_FORM}`,{key:"companyUser",formData:a},{root:!0})},async[bz]({rootGetters:t,dispatch:e}){try{const r=t["forms/getFormByKey"]("companyUser");let{id:n}=r;return n?await e(xx,{id:r.id,body:r}):n=await e(Px,{body:r}),await this.dispatch(eSe,"companyUser"),!0}catch(r){return this.handleError(r,{object:"companyUser",action:`${Ya}/${bz}`,actionPayload:arguments[1]}),!1}}},{SET_COMPANY_USERS:nSe,DELETE_COMPANY_USER:aSe,CLEAR_COMPANY_USERS:iSe,SET_COMPANY_USERS_FETCHING:oSe,SET_COMPANY_USERS_POSTING:sSe}=ax,uSe={[nSe](t,{data:e=[]}){if(typeof e!="object")throw Error("Data must be a company user or an array of company users!");const r=Array.isArray(e)?e:[e],{ids:n,values:a}=Vl(r);Fs(t.data,a),t.ids=Yi([...n,...t.ids])},[aSe](t,e){ie.delete(t.data,e);const r=t.ids.indexOf(e);r!==-1&&t.ids.splice(r,1)},[iSe](t){ie.set(t,"data",{}),ie.set(t,"ids",[])},[oSe](t,e){t.isFetching=e},[sSe](t,e){t.isPosting=e}},lSe={namespaced:!0,state:XMe,getters:{referenceById:t=>e=>t.data[e],byId:t=>e=>{const r=t.data[e];if(!r)return null;const{firstname:n,lastname:a}=r;return{...r,fullName:`${n||""} ${a||""}`.trim(),role:zke(r.CompanyUserPermission),avatarUrl:`${ge.api.baseUrl}/file/${r.AvatarPublicId}/download`}},all:(t,e)=>{const r={};return t.ids.forEach(n=>{r[n]=e.byId(n)}),r},isPosting:t=>t.isPosting,isFetching:t=>t.isFetching},actions:rSe,mutations:uSe},dSe={...{invoice:{},isFetchingInvoice:!1,isPostingInvoice:!1},companyUser:{},company:{},isFetching:!1,isPosting:!1},wm="settings",{FORM_RESET_OLD:cSe}=ke,{DO_LOAD_INVOICE_SETTINGS:Tx,LOAD_INVOICE_SETTINGS:wz,DO_UPDATE_INVOICE_SETTINGS:Ex,UPDATE_INVOICE_SETTINGS:xz,FORM_EDIT_INVOICE_SETTINGS:Pz,FORM_SUBMIT_INVOICE_SETTINGS:kz}=CU,{SET_INVOICE_SETTINGS_FETCHING:Tz,SET_INVOICE_SETTINGS_POSTING:Ez}=sx,{SET_SETTINGS:fSe}=Me.settings,{SET_FORM:mSe}=Me.forms,pSe={async[Tx]({commit:t}){try{t(Tz,!0);const{data:e}=await YTe();t(fSe,{key:"invoice",settings:e})}catch(e){throw e}finally{t(Tz,!1)}},async[wz]({dispatch:t}){try{await t(Tx)}catch(e){this.handleError(e,{object:"companySettings",fallbackCode:"settings.get",action:`${wm}/${wz}`})}},async[Ex]({dispatch:t,commit:e},{data:r}){try{e(Ez,!0),await GTe(r),t(Tx)}catch(n){throw n}finally{e(Ez,!1)}},async[xz]({dispatch:t},{data:e}){try{return await t(Ex,{data:e}),!0}catch(r){return this.handleError(r,{object:"setting",fallbackCode:"settings.put",action:`${wm}/${xz}`,actionPayload:arguments[1]}),!1}},async[Pz]({commit:t,state:e},{props:r=[]}={}){try{const n=ua(e.invoice,r);return t(`forms/${mSe}`,{key:"companyInvoiceSettings",formData:n},{root:!0}),!0}catch(n){return this.handleError(n,{object:"setting",fallbackCode:"setting.editInvoice",action:`${wm}/${Pz}`,actionPayload:arguments[1]}),!1}},async[kz]({rootGetters:t,dispatch:e}){try{const r=t["forms/getFormByKey"]("companyInvoiceSettings"),{invoicePaymentAccountType:n}=r;return n==="bankgiro"?(r.invoicePaymentDomesticClearingNo=null,r.invoicePaymentDomesticAccountNo=null):n==="domesticBankAcc"&&(r.invoicePaymentBankGiro=null),await e(Ex,{data:r}),await this.dispatch(cSe,"companyInvoiceSettings"),!0}catch(r){return this.handleError(r,{object:"setting",fallbackCode:"setting.submitInvoice",action:`${wm}/${kz}`}),!1}}},Ka="settings",{FORM_RESET_OLD:Mz,DO_LOAD_INVOICE_SETTINGS:hSe}=ke,{DO_LOAD_ALL_SETTINGS:Sz,LOAD_ALL_SETTINGS:Oz,DO_LOAD_SETTINGS_COMPANY:xm,LOAD_SETTINGS_COMPANY:Cz,LOAD_SETTINGS_COMPANYUSER:Dz,UPDATE_SETTINGS:$z,DO_UPDATE_SETTINGS:Ul,FORM_EDIT_COMPANY_SETTINGS:Az,DO_LOAD_SETTINGS_COMPANYUSER:Pm,FORM_SUBMIT_COMPANY_SETTINGS:Rz,FORM_EDIT_COMPANY_USER_SETTINGS:Iz,FORM_SUBMIT_COMPANY_USER_SETTINGS:Nz}=DU,{SET_SETTINGS:Mx,SET_SETTINGS_FETCHING:km,SET_SETTINGS_POSTING:Lz}=Me.settings,{SET_FORM:Wz}=Me.forms,Fz=["ataTravel"],vSe=["extraWorkPrice","extraWorkManagementPrice","extraEntrepreneurPercentage","extraOtherPercentage"],jz=t=>{const e=t;return Object.keys(e).forEach(r=>{Fz.includes(r)&&e[r]==="0"?e[r]="":e[r]==="true"?e[r]=!0:e[r]==="false"?e[r]=!1:e[r]==="null"?e[r]=null:typeof e[r]!="boolean"&&!Number.isNaN(Number(e[r]))&&e[r]!==""&&(e[r]=Number(e[r]))}),e},Tm=t=>{const e=[];return Object.keys(t).forEach(r=>{let n=t[r];t[r]===!0?n="true":t[r]===!1&&(n="false"),vSe.includes(r)&&(n=Number(n)),Fz.includes(r)&&(t[r]===!1||t[r]==="")?e.push({name:r,value:!1,type:"string"}):e.push({name:r,value:n})}),e},gSe={...pSe,async[Sz]({dispatch:t}){await t(xm),await t(Pm),await this.dispatch(hSe)},async[Oz]({dispatch:t}){try{await t(Sz)}catch(e){this.handleError(e,{object:"settings",fallbackCode:"settings.get",action:`${Ka}/${Oz}`})}},async[xm]({commit:t}){try{t(km,!0);const{data:e}=await lr.get("/companySetting"),r=jz(e);t(Mx,{key:"company",settings:r});const{ataTitleKey:n}=e;n&&n!=="ata"&&ce.i18next.addResources(ce.i18next.language,"_common",{ata:`$t(${n})`,ataThe:`$t(${n}The)`})}catch(e){throw e}finally{t(km,!1)}},async[Cz]({dispatch:t}){try{await t(xm)}catch(e){this.handleError(e,{object:"companySettings",fallbackCode:"settings.get",action:`${Ka}/${Cz}`})}},async[Pm]({dispatch:t,commit:e}){var r;try{e(km,!0);const{data:n}=await lr.get("/companyUserSetting"),a=jz(n);e(Mx,{key:"companyUser",settings:a});const{autoTriggerPurchaseEvent:i}=a;if(i){const{currency:o,amount:s,accountType:u}=i||{};(r=this.$trackEvent)==null||r.call(this,"purchase",{currency:o,amount:s,accountType:u}),await t(Ul,{key:"companyUser",settings:Tm({autoTriggerPurchaseEvent:null})})}}catch(n){throw n}finally{e(km,!1)}},async[Dz]({dispatch:t}){try{await t(Pm)}catch(e){this.handleError(e,{object:"companyUserSettings",fallbackCode:"settings.get",action:`${Ka}/${Dz}`})}},async[$z]({dispatch:t,commit:e},{key:r,settings:n}){try{if(!r)throw new Error("Missing valid parameter key");const a=Tm(n);return e(Mx,{key:r,settings:n}),await t(Ul,{key:r,settings:a}),!0}catch(a){return this.handleError(a,{object:"setting",fallbackCode:"settings.put",action:`${Ka}/${$z}`,actionPayload:arguments[1]}),!1}},async[Ul]({dispatch:t,commit:e},{key:r,settings:n}){try{if(e(Lz,!0),r==="company")await lr.post("/companySetting",n),t(xm);else if(r==="companyUser")await lr.post("/companyUserSetting",n),t(Pm);else throw new Error(`Setting key: '${r}' is not valid, cannot update settings.`)}catch(a){throw a}finally{e(Lz,!1)}},async[Az]({commit:t,state:e},{props:r=[]}={}){try{const n=ua(e.company,r);return t(`forms/${Wz}`,{key:"companySettings",formData:n},{root:!0}),!0}catch(n){return this.handleError(n,{object:"setting",fallbackCode:"setting.editCompany",action:`${Ka}/${Az}`,actionPayload:arguments[1]}),!1}},async[Rz]({rootGetters:t,dispatch:e}){try{const r=t["forms/getFormByKey"]("companySettings"),n=Tm(r);return await e(Ul,{key:"company",settings:n}),await this.dispatch(Mz,"companySettings"),!0}catch(r){return this.handleError(r,{object:"setting",fallbackCode:"setting.submitCompany",action:`${Ka}/${Rz}`}),!1}},async[Iz]({commit:t,state:e},{props:r=[]}={}){try{const n=ua(e.companyUser,r);return t(`forms/${Wz}`,{key:"companyUserSettings",formData:n},{root:!0}),!0}catch(n){return this.handleError(n,{object:"setting",fallbackCode:"setting.editCompanyUser",action:`${Ka}/${Iz}`,actionPayload:arguments[1]}),!1}},async[Nz]({rootGetters:t,dispatch:e}){try{const r=t["forms/getFormByKey"]("companyUserSettings"),n=Tm(r);return await e(Ul,{key:"companyUser",settings:n}),await this.dispatch(Mz,"companyUserSettings"),!0}catch(r){return this.handleError(r,{object:"setting",fallbackCode:"setting.submitCompanyUser",action:`${Ka}/${Nz}`}),!1}}},{SET_INVOICE_SETTINGS_FETCHING:ySe,SET_INVOICE_SETTINGS_POSTING:_Se}=sx,bSe={[ySe](t,e){t.isFetchingInvoice=e},[_Se](t,e){t.isPostingInvoice=e}},{SET_SETTINGS:wSe,CLEAR_SETTINGS:xSe,SET_SETTINGS_FETCHING:PSe,SET_SETTINGS_POSTING:kSe}=$U,TSe={...bSe,[wSe](t,{key:e,settings:r={}}){if(!t[e])throw Error(`${e} is not a valid key/type`);Object.keys(r).forEach(n=>{const a=r[n];ie.set(t[e],n,a)})},[xSe](t,{key:e,name:r=null}){r?ie.delete(t[e],r):ie.set(t,e,{})},[PSe](t,e){t.isFetching=e},[kSe](t,e){t.isPosting=e}},ESe={...{allInvoiceSettings:t=>t.invoice,getInvoiceSetting:t=>e=>{const r=t.invoice[e];return typeof r<"u"?r:null},isFetchingInvoice:t=>t.isFetchingInvoice,isPostingInvoice:t=>t.isPostingInvoice,isRegisteredForInvoicing:(t,e)=>e.getInvoiceSetting("isRegisteredForInvoicing")},allCompanySettings:t=>t.company,getCompanySetting:t=>e=>{const r=t.company[e];return typeof r<"u"?r:null},getCompanyUserSetting:t=>e=>{const r=t.companyUser[e];return typeof r<"u"?r:null},isPosting:t=>t.isPosting,isFetching:t=>t.isFetching,allowHidePrice:(t,e)=>e.getCompanySetting("work_allowHidePrice"),hidePriceOnNewlyAddedArticles:(t,e)=>e.allowHidePrice&&e.getCompanySetting("work_default_hidePrice"),allowDocumentCustomSender:(t,e)=>e.getCompanySetting("allowProjectCustomSender"),allowHideDocArticlePriceInput:(t,e)=>e.getCompanySetting("allowHideDocArticlePriceInput"),defaultHideDocArticlePriceInput:(t,e)=>e.getCompanySetting("hideDocArticlePriceInput"),defaultVatRate:(t,e)=>e.getCompanySetting("defaultVatRate"),defaultCurrency:(t,e)=>e.getCompanyUserSetting("defaultCurrency"),documentSenderSign:(t,e)=>e.getCompanyUserSetting("documentSenderSign"),showOverviewOnboardingOverlay:(t,e)=>e.getCompanyUserSetting("showOverviewOnboardingOverlay"),reminderSettings:t=>{const e=t.company||{};return{notAnswered:e.defaultReminderRemindDays,notViewed:e.defaultReminderViewedDays,expires:e.defaultReminderExpireDays}},defaultDocumentTheme:t=>{const{documentThemeBackgroundFilter:e,documentThemePriceBackground:r,documentThemePrimaryColor:n,offerBrandingBackgroundUrl:a}=t.company||{};return{...e&&e!=="hsla(239,71%,89%,0)"&&{backgroundFilter:e},...r&&r!=="hsla(249,60%,34%,1)"&&{priceSummaryBackground:r},...n&&n!=="hsla(271,100%,38%,1)"&&{headingColor:n},...n&&n!=="hsla(271,100%,38%,1)"&&{headingColor:n},...a&&{background:a}}},isAuthenticatedCRM:(t,e)=>(r,n=null)=>({hubspot:[{key:"hubspotNativeTokens",type:"getCompanyUserSetting",appType:"native"},{key:"hubspotTokens",type:"getCompanyUserSetting",appType:"extension"}],upsales:[{key:"upsalesApiKey",type:"getCompanySetting"}],salesforce:[{key:"salesforceTokens",type:"getCompanyUserSetting"}],pipedrive:[{key:"pipedriveTokens",type:"getCompanyUserSetting"}]}[r]||[]).filter(i=>!n||i.appType===n).some(({key:i,type:o})=>{var s;return!!((s=e[o])!=null&&s.call(e,i))}),allAuthenticatedCRMs:(t,e)=>["hubspot","salesforce","pipedrive"].filter(r=>!!e.isAuthenticatedCRM(r)),isFortnoxInstalled:(t,e)=>!!e.getCompanySetting("fortnoxTokens")&&In.checkFeature("fortnox")},MSe={namespaced:!0,state:dSe,getters:ESe,actions:gSe,mutations:TSe},SSe={...(()=>({isUploading:!1,article:{},document:{},document2:{},projectNote:{},company:{},companyBranding:{},companyUser:{},companyInvoiceSettings:{},companySettings:{},companyUserSettings:{},moduleArticles:[],modulePrices:{},file:{},invoice:{},invoiceNote:{},companyReference:{},companyReferenceItems:[],endCustomer:{},timeline:{},timeTrack:{TimeTrackSlots:[]},documentTerm:{},kycForm:{}}))()},{FORM_DOCUMENT_SET_CLIENT:Vz,FORM_DOCUMENT_SUBMIT_CLIENT:OSe}=An,{SET_FORM_VALUE:Zi,REMOVE_FORM_VALUE:Uz}=Rn,CSe={async[Vz]({commit:t,getters:e,rootGetters:r},{formData:n}){if(!n)return t(Zi,{key:"document.ModuleEndCustomer",value:null}),t(Uz,"document.ModuleExtraCustomers"),!0;const a=Object.assign({},n);a.id=null,a.EndCustomerId=n.id,t(Zi,{key:"document.ModuleEndCustomer",value:a});const i=e.documentField("ModuleExtraCustomers");a.customerType==="company"&&a.reference&&i&&i.length===0&&t(Zi,{key:"document.ModuleExtraCustomers",value:{name:a.reference}});const o=r["settings/getCompanySetting"]("priceInputCompany"),s=r["settings/getCompanySetting"]("priceInputDefault");return a.customerType==="company"&&o?t("application/updateField",{path:"priceInputVat",value:o},{root:!0}):a.customerType==="individual"&&s&&t("application/updateField",{path:"priceInputVat",value:s},{root:!0}),!0},async[OSe]({commit:t,dispatch:e,rootGetters:r},{mode:n="create"}={}){let a=null;if(n==="edit"){const i=r["forms/documentField"]("ModuleEndCustomer"),o=r["forms/getFormByKey"]("endCustomer");if(!i)throw new Error("Could not find the old client");if(!o)throw new Error("Could not find the new client");if(i.customerType==="individual"&&o.customerType==="company")t(Uz,"document.ModuleExtraCustomers"),t(Zi,{key:"document.ModuleExtraCustomers",value:{name:o.reference}});else if(o.customerType==="company"){const s=r["forms/documentField"]("ModuleExtraCustomers");s&&s[0]?t(Zi,{key:"document.ModuleExtraCustomers[0]",value:{name:o.reference}}):t(Zi,{key:"document.ModuleExtraCustomers",value:{name:o.reference}})}a=Object.assign({},o,{id:o.EndCustomerId}),o.doUpdateEndCustomer&&(t(Zi,{key:"endCustomer",value:a}),await e(`endCustomers/${la.FORM_SUBMIT_ENDCUSTOMER}`,{},{root:!0}))}else{const i=await e(`endCustomers/${la.FORM_SUBMIT_ENDCUSTOMER}`,{},{root:!0}),o=r["endCustomers/endCustomerById"](i);if(!o)throw new Error("Could not find the endCustomer");a=Object.assign({},o)}return await e(Vz,{formData:a}),!0}};var zz={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Ae,function(){Array.isArray||(Array.isArray=function(i){return Object.prototype.toString.call(i)==="[object Array]"});function r(i){for(var o=[],s=0,u=i.length;s<u;s++)o.indexOf(i[s])===-1&&o.push(i[s]);return o}var n={},a={"==":function(i,o){return i==o},"===":function(i,o){return i===o},"!=":function(i,o){return i!=o},"!==":function(i,o){return i!==o},">":function(i,o){return i>o},">=":function(i,o){return i>=o},"<":function(i,o,s){return s===void 0?i<o:i<o&&o<s},"<=":function(i,o,s){return s===void 0?i<=o:i<=o&&o<=s},"!!":function(i){return n.truthy(i)},"!":function(i){return!n.truthy(i)},"%":function(i,o){return i%o},log:function(i){return console.log(i),i},in:function(i,o){return!o||typeof o.indexOf>"u"?!1:o.indexOf(i)!==-1},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(i,o,s){if(s<0){var u=String(i).substr(o);return u.substr(0,u.length+s)}return String(i).substr(o,s)},"+":function(){return Array.prototype.reduce.call(arguments,function(i,o){return parseFloat(i,10)+parseFloat(o,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(i,o){return parseFloat(i,10)*parseFloat(o,10)})},"-":function(i,o){return o===void 0?-i:i-o},"/":function(i,o){return i/o},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(i,o){return i.concat(o)},[])},var:function(i,o){var s=o===void 0?null:o,u=this;if(typeof i>"u"||i===""||i===null)return u;for(var l=String(i).split("."),d=0;d<l.length;d++)if(u==null||(u=u[l[d]],u===void 0))return s;return u},missing:function(){for(var i=[],o=Array.isArray(arguments[0])?arguments[0]:arguments,s=0;s<o.length;s++){var u=o[s],l=n.apply({var:u},this);(l===null||l==="")&&i.push(u)}return i},missing_some:function(i,o){var s=n.apply({missing:o},this);return o.length-s.length>=i?[]:s}};return n.is_logic=function(i){return typeof i=="object"&&i!==null&&!Array.isArray(i)&&Object.keys(i).length===1},n.truthy=function(i){return Array.isArray(i)&&i.length===0?!1:!!i},n.get_operator=function(i){return Object.keys(i)[0]},n.get_values=function(i){return i[n.get_operator(i)]},n.apply=function(i,o){if(Array.isArray(i))return i.map(function(v){return n.apply(v,o)});if(!n.is_logic(i))return i;var s=n.get_operator(i),u=i[s],l,d,c,m,f;if(Array.isArray(u)||(u=[u]),s==="if"||s=="?:"){for(l=0;l<u.length-1;l+=2)if(n.truthy(n.apply(u[l],o)))return n.apply(u[l+1],o);return u.length===l+1?n.apply(u[l],o):null}else if(s==="and"){for(l=0;l<u.length;l+=1)if(d=n.apply(u[l],o),!n.truthy(d))return d;return d}else if(s==="or"){for(l=0;l<u.length;l+=1)if(d=n.apply(u[l],o),n.truthy(d))return d;return d}else{if(s==="filter")return m=n.apply(u[0],o),c=u[1],Array.isArray(m)?m.filter(function(v){return n.truthy(n.apply(c,v))}):[];if(s==="map")return m=n.apply(u[0],o),c=u[1],Array.isArray(m)?m.map(function(v){return n.apply(c,v)}):[];if(s==="reduce")return m=n.apply(u[0],o),c=u[1],f=typeof u[2]<"u"?u[2]:null,Array.isArray(m)?m.reduce(function(v,y){return n.apply(c,{current:y,accumulator:v})},f):f;if(s==="all"){if(m=n.apply(u[0],o),c=u[1],!Array.isArray(m)||!m.length)return!1;for(l=0;l<m.length;l+=1)if(!n.truthy(n.apply(c,m[l])))return!1;return!0}else if(s==="none"){if(m=n.apply(u[0],o),c=u[1],!Array.isArray(m)||!m.length)return!0;for(l=0;l<m.length;l+=1)if(n.truthy(n.apply(c,m[l])))return!1;return!0}else if(s==="some"){if(m=n.apply(u[0],o),c=u[1],!Array.isArray(m)||!m.length)return!1;for(l=0;l<m.length;l+=1)if(n.truthy(n.apply(c,m[l])))return!0;return!1}}if(u=u.map(function(v){return n.apply(v,o)}),a.hasOwnProperty(s)&&typeof a[s]=="function")return a[s].apply(o,u);if(s.indexOf(".")>0){var p=String(s).split("."),h=a;for(l=0;l<p.length;l++){if(!h.hasOwnProperty(p[l]))throw new Error("Unrecognized operation "+s+" (failed at "+p.slice(0,l+1).join(".")+")");h=h[p[l]]}return h.apply(o,u)}throw new Error("Unrecognized operation "+s)},n.uses_data=function(i){var o=[];if(n.is_logic(i)){var s=n.get_operator(i),u=i[s];Array.isArray(u)||(u=[u]),s==="var"?o.push(u[0]):u.forEach(function(l){o.push.apply(o,n.uses_data(l))})}return r(o)},n.add_operation=function(i,o){a[i]=o},n.rm_operation=function(i){delete a[i]},n.rule_like=function(i,o){if(o===i||o==="@")return!0;if(o==="number")return typeof i=="number";if(o==="string")return typeof i=="string";if(o==="array")return Array.isArray(i)&&!n.is_logic(i);if(n.is_logic(o)){if(n.is_logic(i)){var s=n.get_operator(o),u=n.get_operator(i);if(s==="@"||s===u)return n.rule_like(n.get_values(i,!1),n.get_values(o,!1))}return!1}if(Array.isArray(o))if(Array.isArray(i)){if(o.length!==i.length)return!1;for(var l=0;l<o.length;l+=1)if(!n.rule_like(i[l],o[l]))return!1;return!0}else return!1;return!1},n})})(zz);function DSe(t,e){let r=0;const n=[];for(const[a,i]of t.entries()){const{code:o,data:s}=i;if(o===e){const u=n.slice(r).find(({code:l,data:d})=>{if(l!==o)return!1;const c=ee(d,"client.id"),m=ee(s,"client.id"),f=ee(d,"email"),p=ee(s,"email");return c===m&&m!==void 0||f===p&&p!==void 0});u?(u.children=[...u.children,i],u.createdAt=i.createdAt):n.push({...i,children:[]})}else o==="sent"&&(r=a?a-1:0),n.push(i)}return n}const Bz=({nodes:t,data:e})=>{const r=[];return t.forEach(n=>{const a=n.isVisible?Lke(n.isVisible,["_uniqueId"]):!1;(!a||zz.exports.apply(a,e))&&r.push(n),n&&Array.isArray(n.children)&&n.children.length&&(n.children=Bz({nodes:n.children,data:e}))}),r},Hz={rot:{max:5e4*100,ratio:.3},rut:{max:75e3*100,ratio:.5},greenRot15:{max:5e4*100,ratio:.15},greenRot50:{max:5e4*100,ratio:.5}},qz=(t,e,r)=>{if(!Hz[t])throw new Error("Missing param type");const{max:n,ratio:a}=Hz[t];return Math.min(r*n,e*a)},Em=({type:t="fixed",currency:e,maxTotal:r=null,articles:n=[],clients:a=[],region:i={},useVat:o,rounding:s})=>{if(typeof o>"u")throw new Error("Missing param useVat");if(typeof o!="boolean")throw new Error("Param useVat must be a boolean");if(typeof s!="object"||s===null)throw new Error("Param rounding must be a object");if(typeof s.enabled>"u")throw new Error("Missing param rounding.enabled");if(typeof s.enabled!="boolean")throw new Error("Param rounding.enabled must be a boolean");if(typeof s.interval>"u")throw new Error("Missing param rounding.interval");if(typeof s.interval!="number")throw new Error("Param rounding.interval must be a number");if(typeof s.show>"u")throw new Error("Missing param rounding.show");if(typeof s.show!="boolean")throw new Error("Param rounding.show must be a boolean");const u={type:t,subTotal:0,taxAmount:0,roundingAmount:0,total:0,currency:e,maxTotal:t==="openAccMaxPrice"?r||0:null,region:{country:"sweden",houseWorkType:null,reverseVat:!!a.find(c=>ee(c,"region.reverseVat")),houseWorkManualAmount:i.houseWorkManualAmount||null,houseWorkWork:0,houseWorkAmount:i.houseWorkManualAmount||i.houseWorkAmount||null},helpers:{discount:0,isIndivid:!a.find(c=>c.type==="company"),noOfClients:a.length||1},useVat:o,rounding:{enabled:s.enabled,interval:s.interval,show:s.show}},l=c=>c/100;if(u.helpers.isIndivid&&!u.region.reverseVat){const c=[...n].sort((m,f)=>new Date(f.updatedAt).getTime()-new Date(m.updatedAt).getTime()).find(Z1);c&&!u.region.houseWorkType&&(u.region.houseWorkType=pU(c))}for(let c of n){c=qi(c);const{totalAmount:m,currency:f,priceType:p,discount:h,discountType:v}=c;let{vat:y}=c;o||(y=0),["fixed","approx"].includes(p)&&(u.currency=f,u.subTotal+=m,u.taxAmount+=m*l(y),u.helpers.discount+=v==="percentage"?m/((100-h/100)/100)-m:h,u.region.houseWorkType&&Z1(c)&&(u.region.houseWorkWork+=m*((100+y)/100)))}!u.helpers.isIndivid&&u.region.reverseVat&&(u.taxAmount=0),u.region.houseWorkType&&u.region.houseWorkAmount===null&&(u.region.houseWorkAmount=qz(u.region.houseWorkType,u.region.houseWorkWork,u.helpers.noOfClients));const d=u.subTotal+u.taxAmount-u.region.houseWorkAmount;return u.roundingAmount=s.enabled&&s.interval?Math.round(d/s.interval)*s.interval-d:0,u.total=d+u.roundingAmount,Q1(u),u},$Se=t=>{if(!t)return null;const{currency:e,clients:r=[],articles:n=[]}=t,a=ee(t,"data.packageGroups",{}),i=ee(t,"data.formSettings.useVat",!0),o={enabled:ee(t,"data.formSettings.rounding.enabled",!1),interval:ee(t,"data.formSettings.rounding.interval",1),show:ee(t,"data.formSettings.rounding.show",!0)},s=[],u=[];let l=null,d=null,c=null;if(Object.keys(a).forEach(h=>{const v=a[h].packages.filter(({isSelected:b})=>b);u.push(...v.map(({packageId:b})=>b));const y=ee(v,"[0].data.prices.type","fixed");s.push(...Array.isArray(y)?y:[y]),v.forEach(b=>{const{maxTotal:g=null,region:_}=ee(b,"data.prices")||{};y==="openAccMaxPrice"&&!Number.isNaN(Number.parseInt(g,10))&&(l+=g),_&&!Number.isNaN(Number.parseInt(_.houseWorkManualAmount,10))&&(d+=_.houseWorkManualAmount)})}),!s.length){const h=ee(t,"data.prices.type","fixed");s.push(...Array.isArray(h)?h:[h])}const m=n.filter(({packageId:h})=>!h||u.includes(h)),f=m.filter(Z1),p={};for(let h of f){h=qi(h);const v=pU(h),y=i?h.vat:0;p[v]||(p[v]=null),p[v]+=h.totalAmount*((100+y)/100)}for(const[h,v]of Object.entries(p))v&&(c+=qz(h,v,r.length||1));return{...Em({currency:e,articles:m,clients:r,region:{country:"sweden",houseWorkManualAmount:d,houseWorkAmount:c},useVat:i,rounding:o}),type:s,maxTotal:l}},ASe=t=>{const e=a=>ce.t(`_common:documentMentions.${a}`),r=!!ee(t,"clients.0"),n={clientName:{key:"clients.0.name",meta:{inputDisabled:!r,virtual:!0}},clientEmail:{key:"clients.0.email",meta:{inputDisabled:!r,virtual:!0}},clientPhone:{key:"clients.0.cellphone",meta:{inputDisabled:!r,virtual:!0}},clientCompany:{key:"clients.0.companyName",meta:{inputDisabled:!r,virtual:!0}},clientAddress:{key:"clients.0.addresses.standard.street",meta:{inputDisabled:!r,virtual:!0}},clientZip:{key:"clients.0.addresses.standard.zip",meta:{inputDisabled:!r,virtual:!0}},clientCity:{key:"clients.0.addresses.standard.city",meta:{inputDisabled:!r,virtual:!0}},clientSocialNo:{key:"clients.0.socialNo",meta:{inputDisabled:!0,virtual:!0}},clientOrgNo:{key:"clients.0.orgNo",meta:{inputDisabled:!0,virtual:!0}},senderName:{key:"companyUser.fullName",meta:{inputDisabled:!0,virtual:!0}},senderEmail:{key:"companyUser.email",meta:{inputDisabled:!0,virtual:!0}},senderPhone:{key:"companyUser.cellphone",meta:{inputDisabled:!0,virtual:!0}},senderCompany:{key:"company.name",meta:{inputDisabled:!0,virtual:!0}},senderAddress:{key:"company.street",meta:{inputDisabled:!0,virtual:!0}},senderZip:{key:"company.zip",meta:{inputDisabled:!0,virtual:!0}},senderCity:{key:"company.city",meta:{inputDisabled:!0,virtual:!0}},documentName:{key:"data.name",meta:{inputDisabled:!1,virtual:!0}}};for(const a of Object.keys(n))n[a].label=e(a),n[a].value=ee(t,n[a].key)||"";return n},zl=t=>t?Object.keys(t).reduce((e,r)=>t[r]||t[r]===!1?{...e,[r]:t[r]}:e,{}):{};function RSe(t,e){if(typeof e!="object"||e===null)throw Error("Param pdfFile must be an object");const{name:r,url:n,mime:a,fileId:i}=e;if(!r||!n||!a||!i)throw Error("Param pdfFile must include name, url, mime and fileId");if(!t)return null;const o=ee(t,"template.views.read.nodes")||[],s=rn.exports(),u=Array(2).fill().map(()=>rn.exports());return o.push({itemId:"sectionPdf",itemType:"section",value:null,parentId:"0",nodeId:u[0]},{itemId:"pdf",itemType:"pdf",value:{file:`data.pdf-file-${s}`},parentId:u[0],nodeId:u[1]}),Ut(t,`data.pdf-file-${s}`,e),Ut(t,`template.validationSchema.properties.data.properties.pdf-file-${s}`,{anyOf:[{$ref:`${ge.api.baseUrl}/schemas/file/1.json`},{type:"null"}]}),t}function ISe(t){if(!t)return null;const e=ee(t,"template.views.read.nodes")||[];if(e.find(n=>n.itemType==="answer"))return t;e.push({itemId:"answer",itemType:"answer",value:{defaultAnswerMethod:"data.defaultAnswerMethod"},parentId:"0",nodeId:rn.exports()}),Ut(t,"template.views.read.nodes",e);const r="template.validationSchema.properties.data.properties.defaultAnswerMethod";return ee(t,r)||Ut(t,r,{default:{accept:"signature",deny:"button"},$ref:`${ge.api.baseUrl}/schemas/answer/1.json`}),t}const NSe=t=>{if(!t)return null;let e=(t||"").replace(/^SE|[-]/g,"").trim();return e.length===12&&(e=e.substring(2)),`SE${e}01`},Sx=()=>{const t=["email"];return In.checkFeature("sms")&&In._isValidCompanySetting("deliveryDefaultSms")&&t.push("sms"),{region:{country:"sweden"},permissions:{write:["clients[*].socialNo","clients[0].region.propertyDesignation","data.rejectReasons","data.packageGroups[*].packages[*].isSelected"]},answer:null,deliveryTypes:t,documentRole:"signee",answerMethod:{accept:"signature",deny:"button"},signOrder:0,_uniqueId:rn.exports()}},Ox=(t,e)=>{const r={endCustomerId:t.id,type:t.customerType,name:t.customerType==="individual"?t.name:t.reference,socialNo:t.customerType==="individual"?t.org_no:null,companyName:t.customerType==="company"?t.name:null,orgNo:t.customerType==="company"?t.org_no:null,email:t.email,cellphone:t.cellphone,cellphoneRegion:t.cellphoneRegion,addresses:{...t.street||t.zip||t.city?{standard:{street:t.street,zip:`${t.zip||""}`,city:t.city,country:t.country,latitude:t.latitude?`${t.latitude}`:null,longitude:t.longitude?`${t.longitude}`:null}}:{},...t.workStreet||t.workZip||t.workCity?{work:{street:t.workStreet,zip:`${t.workZip||""}`,city:t.workCity,country:t.country,latitude:t.latitude?`${t.latitude}`:null,longitude:t.longitude?`${t.longitude}`:null}}:{}},vatNumber:t.vatNumber,region:{...e&&e.region,reverseVat:t.reverseVat&&t.customerType==="company"},documentRole:ee(e,"documentRole","signee"),signOrder:ee(e,"signOrder",0)};return{...Sx(),...e,...r}},Cx=(t={})=>{const e=t,r=ee(e,"addresses.standard",{}),n=ee(e,"addresses.work",{});return{id:e.endCustomerId,EndCustomerId:e.endCustomerId,customerType:e.type||"individual",name:e.type==="individual"?e.name:e.companyName,email:e.email,cellphone:e.cellphone,cellphoneRegion:e.cellphoneRegion,org_no:e.type==="individual"?e.socialNo:e.orgNo,street:r.street,zip:r.zip,city:r.city,workStreet:n.street,workZip:n.zip,workCity:n.city,vatNumber:e.vatNumber||NSe(e.orgNo)||"",separateWorkAddress:!!Object.keys(n).length,reverseVat:ee(e,"region.reverseVat",!1),longitude:ee(e,"addresses[0].longitude",null),latitude:ee(e,"addresses[0].latitude",null),reference:e.type==="company"?e.name:null}},LSe=({background:t,backgroundFilter:e,priceSummaryBackground:r,showPriceSummary:n})=>({resourceUrl:t,overlayColor:e,backgroundColor:r,showPriceSummary:n}),WSe=({header:t={},theme:e={}})=>{const{resourceUrl:r="",title:n="",backgroundColor:a="",overlayColor:i="",showPriceSummary:o}={...LSe(e),...t};return{layout:"price",baseStyle:{textColor:"",textAlign:"left"},items:[{type:"content",size:50,media:{type:"color",backgroundColor:a},value:{preText:"",documentName:n?`<h1>${n}</h1>`:"",postText:"",showLogo:!0,logotype:""}},{type:"media",size:50,media:{type:"image",resourceUrl:r,overlay:!0,overlayColor:i}}],...typeof o=="boolean"&&{showPriceSummary:o}}},FSe=(t,e={})=>(!t||!t.data||ee(t,"template.views.read.nodes",[]).filter(n=>n.itemType==="header"&&!!n.value.header).map(n=>n.value.header.substring(5)).forEach(n=>{if(t.data[n]&&t.data[n].layout==="legacy"){const a={...e,...zl(t.data.theme)};t.data[n]=WSe({header:{...t.data[n],title:ee(t,"data.name","")},theme:a})}}),t),jSe={isHouseWorkAuto:!0,rotAmount:null,rutAmount:null,persons:[],propertyType:null,realEstateId:null,condominiumId:null,condominiumOrgNo:null,isExported:!1,isProcessed:!1},Bl={id:{$default:null,$type:Number,$scope:["invoice"]},publicId:{$default:null,$type:String},status:{$default:"draft",$type:String,$scope:["invoice"]},subStatus:{$default:null,$type:String},type:{$default:"invoice",$type:String,$scope:["invoice"]},invoiceNumber:{$default:null,$type:String,$scope:["invoice"]},ocr:{$default:null,$type:Number},ourReference:{$default:null,$type:String,$scope:["invoice"]},yourReference:{$default:null,$type:String,$scope:["invoice"]},invoiceDate:{$default:U4(new Date).toISOString(),$type:Date,$scope:["invoice"]},dueDays:{$default:null,$type:Number,$scope:["invoice"],$virtual:[{name:"dueDays",set(t,{getters:e}){return t!==null?t:e["settings/getInvoiceSetting"]("invoiceDueDays")||null}}]},dueDate:{$default:null,$type:Date,$scope:["invoice"],$virtual:[{name:"dueDate",set(t,{getters:e}){if(t!==null)return t;const r=e["settings/getInvoiceSetting"]("invoiceDueDays")||1;return Qf(iPe(Ol(Bl.invoiceDate.$default),r)).toISOString()}}]},deliveryDate:{$default:null,$type:Date,$scope:["invoice"]},sentAt:{$default:null,$type:Date},attestedAt:{$default:null,$type:Date},disputedAt:{$default:null,$type:Date},salesRequestedAt:{$default:null,$type:Date},pausedAt:{$default:null,$type:Date},interestType:{$default:"noInterest",$type:String,$scope:["invoice"],$virtual:[{name:"interestType",set(t,{getters:e}){return e["settings/getInvoiceSetting"]("invoiceInterestPercentage")?"fixed":"noInterest"}}]},interestPercentage:{$default:null,$type:Number,$scope:["invoice"],$virtual:[{name:"interestPercentage",set(t,{getters:e}){return t!==null?t:e["settings/getInvoiceSetting"]("invoiceInterestPercentage")||null}}]},interestStartInDaysAfterDueDate:{$default:0,$type:Number,$scope:["invoice"]},invoiceFee:{$default:null,$type:Number,$scope:["invoice"],$virtual:[{name:"invoiceFee",set(t,{getters:e}){return t!==null?t:e["settings/getInvoiceSetting"]("invoiceFee")||null}}]},reminderFee:{$default:null,$type:Number,$scope:["invoice"],$virtual:[{name:"reminderFee",set(t,{getters:e}){return t!==null?t:e["settings/getInvoiceSetting"]("invoiceReminderFee")||null}}]},deliveryTypes:{$default:["email"],$type:Array,$scope:["invoice"]},totalAmount:{$default:0,$type:Number},remainingAmount:{$default:0,$type:Number},paidAmount:{$default:0,$type:Number},creditedAmount:{$default:0,$type:Number},writeOffAmount:{$default:0,$type:Number},reminderAmount:{$default:0,$type:Number},totalVatAmount:{$default:0,$type:Number},centRoundingAmount:{$default:0,$type:Number},transferAmount:{$default:0,$type:Number},currency:{$default:"SEK",$type:String},partnerPdfId:{$default:null,$type:String},ModuleArticles:{$default:[],$type:Array,$scope:["invoice"]},ModuleEndCustomer:{$default:null,$type:Object,$scope:["invoice"]},ModuleBranding:{$scope:["invoice"],$type:Object,$default:{message:null,useMessageEmail:!0}},InvoiceFiles:{$scope:["invoice"],$type:Array,$default:[]},InvoiceRegionSweden:{$default:jSe,$type:Object,$scope:["invoice"]},ModuleScheduledDeliveries:{$scope:["invoice"],$type:Array,$default:[{type:"viewed",sendDays:null,sendType:"email",sendAt:null,status:"new"}],$virtual:[{name:"ModuleScheduledDeliveries",set(t,{getters:e}){return this.type==="credit"?[]:e["settings/getCompanySetting"]("invoiceReminderActive")?t.map(a=>{const i=a;if(i.sendDays!==null)return i;let o=null;return i.type==="viewed"&&(o=e["settings/getCompanySetting"]("invoiceReminderDefaultViewedDays")),o!==null&&(i.sendDays=o),i}):[]}}]},CompanyId:{$default:null,$type:"ref",$ref:"companies",$scope:["invoice"]},CompanyUserId:{$default:null,$type:"ref",$ref:"companyUsers",$scope:["invoice"]},creditsInvoiceId:{$default:null,$type:"ref",$ref:"invoices",$scope:["invoice"]},object:{$default:null,$type:String,$scope:["invoice"]},objectId:{$default:null,$type:Number,$scope:["invoice"]},documentId:{$default:null,$type:String,$scope:["invoice"]},projectId:{$default:null,$type:Number,$scope:["invoice"]},createdAt:{$default:null,$type:Date},updatedAt:{$default:null,$type:Date},deletedAt:{$default:null,$type:Date}};class Dx{constructor(e,r){if(!e)throw Error("Missing argument invoice");if(!r)throw Error("Missing argument getters");this._getters=r,this._invoice=e}get id(){return this.getProperty("id")||null}get publicId(){return this.getProperty("publicId")||null}get pdfPath(){if(this.status==="draft"||this.isSale)return null;const e=this.latestReminder;if(e){const{id:r}=e;return`${ge.api.baseUrl}/public/invoice/${this.publicId}/pdf/reminder/${r}`}return`${ge.api.baseUrl}/public/invoice/${this.publicId}/pdf`}getCompany(){const{_getters:e}=this,r=this.getProperty("CompanyId")||{};return e["companies/companyById"](r)}getCompanyUser(){const{_getters:e}=this,r=this.getProperty("CompanyUserId")||{};return e["companyUsers/byId"](r)}get status(){return this.getProperty("status")}get visualStatus(){return this.getProperty("transferAmount")?"paying":this.status}get subStatus(){return this.getProperty("subStatus")}get type(){return this.getProperty("type")}get projectId(){return this.getProperty("projectId")||null}get document(){return this.documentId?this._getters["documents2/byId"](this.documentId):null}get documentId(){return this.getProperty("documentId")}get client(){return this.getProperty("ModuleEndCustomer")||null}get files(){return this.getProperty("InvoiceFiles")}get totalAmount(){return this.getProperty("totalAmount")}get totalVatAmount(){return this.getProperty("totalVatAmount")}get totalExVat(){return this.totalAmount-this.totalVatAmount}get paidAmount(){return this.getProperty("paidAmount")}get sentAt(){return this.getProperty("sentAt")}get dueDate(){const e=this.latestReminder;return e?e.dueDate:this.getProperty("dueDate")}get invoiceDate(){const e=this.latestReminder;return e?e.invoiceDate:this.getProperty("invoiceDate")}get invoiceNumber(){return this.getProperty("invoiceNumber")}get reminders(){return this.getProperty("InvoiceReminders")||[]}get latestReminder(){const e=this.reminders;return e.length?e[e.length-1]:null}get canDispute(){return this.getProperty("id")&&!["draft","salesRequest","sold","completed"].includes(this.status)&&!this.isDisputed}get canRegisterPayment(){return this.getProperty("id")&&!["draft","salesRequest","sold","completed"].includes(this.status)}get canRegisterWriteOff(){return this.getProperty("id")&&!["draft","salesRequest","sold","completed"].includes(this.status)}get canSendReminder(){return this.getProperty("id")&&!["draft","salesRequest","sold","completed"].includes(this.status)}get canCredit(){const e=this.getProperty("id"),r=this.getProperty("type")==="credit";return e&&this.isAttested&&!r&&!["draft","salesRequest"].includes(this.status)}get canSell(){return this.id&&!this.isAttested&&!["salesRequest"].includes(this.status)}get canCancelSell(){return this.id&&this.isAttested&&["salesRequest"].includes(this.status)}get creditsInvoice(){const{_getters:e}=this,r=this.getProperty("creditsInvoice")||null;return e["invoices/byId"](r)}get creditInvoices(){const{_getters:e}=this;return(this.getProperty("creditInvoices")||[]).map(a=>e["invoices/byId"](a))}get interestInvoiceTo(){const{_getters:e}=this,r=this.getProperty("interestForInvoiceId")||null;return e["invoices/byId"](r)}get interestInvoices(){const{_getters:e}=this;return(this.getProperty("interestInvoices")||[]).map(a=>e["invoices/byId"](a))}get isDisputed(){return!!this.getProperty("disputedAt")}get isAttested(){return!!this.getProperty("attestedAt")}get isReverseVat(){const e=this.getProperty("ModuleEndCustomer")||null;return e?e.reverseVat:!1}get events(){const e=this.getProperty("Events")||[],r=[];return e.forEach(n=>{const a={type:n.type};n.EventData.forEach(i=>{a[i.name]=i.value}),r.push({name:n.code==="sentSms"?"sent":n.code,timestamp:n.createdAt,data:a,counter:n.counter})}),r}get articles(){return qi(this.getProperty("ModuleArticles")||[])}get totalNetAmount(){const{articles:e}=this;return e.reduce((n,a)=>n+a.totalAmount,0)}get currency(){return"SEK"}get invoiceRegionSweden(){return this.getProperty("InvoiceRegionSweden")||{}}get rotAmount(){const e=this.getProperty("InvoiceRegionSweden")||{},{rotAmount:r}=e;return r||0}get rutAmount(){const e=this.getProperty("InvoiceRegionSweden")||{},{rutAmount:r}=e;return r||0}get invoiceFee(){return this.getProperty("invoiceFee")||0}get isSale(){return!!(["salesRequest","sold"].includes(this.status)||this.getProperty("salesRequestAcceptedAt"))}getScheduledDeliveries({type:e,status:r}={}){let n=this.getProperty("ModuleScheduledDeliveries")||null;return!n||!n.length?[]:(e&&(n=n.filter(a=>a.type===e)),r&&(n=n.filter(a=>a.status===r)),n)}getProperty(e=""){return e.replace(/\[(.*)\]/ig,(a,i)=>`.${i}`).split(".").reduce((a,i)=>a&&(typeof a[i]!="object",a[i]),this._invoice)}getProperties({scope:e=null,includeVirtual:r=!1}={}){const n=Bl,{_getters:a}=this;return zMe({schema:n,getters:a,data:this._invoice,scope:e,includeVirtual:r,instance:this})}getVirtualProperties({scope:e=null}={}){const r=Bl,{_getters:n}=this;return vz({schema:r,getters:n,data:this._invoice,scope:e,instance:this})}}St(Dx,"schema",Bl);const{DO_LOAD_INVOICE:Yz,DO_UPDATE_INVOICE:VSe,DO_CREATE_INVOICE:USe,DO_ATTEST_INVOICE:zSe,DO_SELL_INVOICE:BSe,LOAD_FILE:HSe,FORM_CLEAR_FORM:qSe,FORM_RESET_OLD:YSe,DO_LOAD_DOCUMENT2:Gz,UPDATE_VIEW_SETTINGS:GSe,LOAD_INVOICE_SETTINGS:KSe}=ke,{SET_FORM:Hl,SET_FORM_VALUE:XSe}=Me.forms,{DELETE_MANY_INVOICES:JSe}=Me.invoices,{LOAD_INVOICE_FORM:QSe,LOAD_CREDIT_INVOICE_FORM:ZSe,LOAD_DOCUMENT2_INVOICE_FORM:eOe,LOAD_CAMPAIGN_INVOICE_FORM:tOe,SUBMIT_INVOICE_FORM:rOe,SET_KYC_FORM:nOe,DO_SAVE_KYC_FORM:aOe}=MU,Xa=(t,e)=>{t(GSe,{view:"newInvoice",settings:{isLoading:e}})};async function $x({id:t=null,rootState:e,state:r,rootGetters:n,dispatch:a,projectId:i=null,documentId:o=null}){if(!e)throw new Error("Missing parameter rootState");if(!r)throw new Error("Missing parameter state");if(!n)throw new Error("Missing parameter rootGetters");if(!a)throw new Error("Missing parameter dispatch");let s=!1;const u=r.document;if(Object.keys(u).length!==0){const{name:l,params:d}=e.route||{};let{id:c}=d||{};c=Number.parseInt(c,10);const m=n["forms/documentField"]("id"),f=n["forms/documentField"]("documentType"),p=n["forms/documentField"]("type"),h=n["forms/documentField"]("projectId"),v=n["forms/documentField"]("documentId");if(f||(l==="invoiceNew"?!m&&!t&&p!=="credit"&&i===h&&(yt.debug("INVOICE_FORM: Using existing store data as no ids was found"),s=!0):l==="invoiceEdit"?m&&m===c&&m===t&&p!=="credit"&&(yt.debug("INVOICE_FORM: Using existing store data existing id match route"),s=!0):l==="invoiceCredit"?p==="credit"&&!t&&!m&&(yt.debug("INVOICE_FORM: Using existing store data existing id match route"),s=!0):l==="invoiceDocument"&&v&&v===o&&(yt.debug("INVOICE_FORM: Using existing store data as existing documentId match"),s=!0)),s){yt.debug("INVOICE_FORM: Dont reload as forms/document is already defined");const y=n["forms/documentField"]("InvoiceFiles");y&&Ze(y)==="array"&&y.forEach(b=>a(HSe,{id:b.FileId},{root:!0}))}}return s}function ql({rootState:t,rootGetters:e},r={}){const n=new Dx(r,e).getProperties({includeVirtual:!0}),a={ModuleArticles:[e["articles/getNewArticle"]({name:"",price:0})]};return{...n,...a,CompanyId:t.application.user.companyId,CompanyUserId:t.application.user.userId}}const iOe={async[ZSe]({state:t,rootGetters:e,rootState:r,dispatch:n},{creditsInvoiceId:a}){try{if(Xa(this.dispatch,!0),await $x({id:null,rootState:r,state:t,rootGetters:e,dispatch:n}))return;let o=ql({rootState:this.state,rootGetters:e},{type:"credit"});if(!a)throw new Error("Missing parameter creditsInvoiceId");await this.dispatch(Yz,{id:a});const s=this.getters["invoices/byId"](a);if(!s)throw yt.event({type:"invoiceCredit",status:"failed",data:{id:a},error:"Tried to load invoice to credit that does not exist!"}),new Error(`Could not find original invoice by id: '${a}'`);s.documentId&&!this.getters["documents2/byId"](s.documentId)&&await this.dispatch(Gz,{id:s.documentId});const u=ua(s.getProperties({scope:"invoice",includeVirtual:!0}),["ModuleArticles","ModuleBranding","ourReference","yourReference","invoiceFee","deliveryTypes","ModuleEndCustomer","InvoiceRegionSweden","object","objectId","documentId","projectId"]);o={...o,...u,type:"credit",creditsInvoiceId:a,invoiceDate:Qf(new Date).toISOString(),dueDate:Qf(new Date).toISOString()},o.invoiceFee&&(o.invoiceFee=-o.invoiceFee),o.ModuleArticles&&(o.ModuleArticles=o.ModuleArticles.map(l=>{const d=Ba(l,["id","createdAt","updatedAt","deletedAt","object","ObjectId"]);return d.price=-d.price,d.houseWorkHoursToReport&&(d.houseWorkHoursToReport*=-1),d})),o.ModuleBranding&&(o.ModuleBranding=Ba(o.ModuleBranding,["id","createdAt","updatedAt","deletedAt","object","ObjectId"])),o.ModuleEndCustomer&&(o.ModuleEndCustomer=Ba(o.ModuleEndCustomer,["id","createdAt","updatedAt","deletedAt","object","ObjectId"])),o.InvoiceRegionSweden&&(o.InvoiceRegionSweden=ua(o.InvoiceRegionSweden,["condominiumId","condominiumOrgNo","isHouseWorkAuto","persons","propertyType","realEstateId"]),o.InvoiceRegionSweden&&!o.InvoiceRegionSweden.isHouseWorkAuto&&(o.InvoiceRegionSweden.persons=(o.InvoiceRegionSweden.persons||[]).map(l=>({...l,amount:-l.amount})))),this.commit(`forms/${Hl}`,{key:"document",formData:o}),yt.event({type:"invoiceCredit",status:"success",data:{id:a}}),yt.debug("Credit invoice form loaded")}catch(i){this.handleError(i)}finally{Xa(this.dispatch,!1)}},async[eOe]({state:t,rootGetters:e,rootState:r,dispatch:n},{docId:a}){try{if(!a)throw new Error("Missing parameter docId");Xa(this.dispatch,!0);let i=ql({rootState:this.state,rootGetters:e});await this.dispatch(Gz,{id:a});const o=this.getters["documents2/byId"](a);if(!o)throw new Error("Missing document");const{projectId:s}=o;if(await $x({id:null,rootState:r,state:t,rootGetters:e,dispatch:n,documentId:a,projectId:s}))return;i={...i,documentId:o.id,...s&&{projectId:s}},o.clients&&o.clients.length&&(i.ModuleEndCustomer=Cx(Ba(o.clients[0],["id","createdAt","updatedAt","deletedAt","object","ObjectId"]))),this.commit(`forms/${Hl}`,{key:"document",formData:i})}catch(i){this.handleError(i)}finally{Xa(this.dispatch,!1)}},async[QSe]({state:t,rootState:e,dispatch:r,rootGetters:n},{id:a=null,projectId:i=null}={}){try{if(Xa(this.dispatch,!0),await $x({id:a,rootState:e,state:t,rootGetters:n,dispatch:r,projectId:i}))return;let s={},u;if(a){if(await this.dispatch(Yz,{id:a}),u=this.getters["invoices/byId"](a),!u)throw yt.event({type:"editInvoice",status:"failed",data:{id:a},error:"Tried to edit invoice that does not exist!"}),new Error(`Could not find invoice by id: '${a}'`);s={...s,...u.getProperties({scope:"invoice"})}}else if(s={...ql({rootState:this.state,rootGetters:n})},i){s.projectId=i;const c=n["projects/byId"](i);c&&c.clients[0]&&(s.ModuleEndCustomer=Cx(Ba(c.clients[0],["id","createdAt","updatedAt","deletedAt","object","ObjectId"])))}const{object:l,objectId:d}=s;this.commit(`forms/${Hl}`,{key:"document",formData:s}),yt.event({type:a?"editInvoice":"newInvoice",status:"success",data:{id:a}}),yt.debug("Invoice form loaded")}catch(o){yt.event({type:a?"editInvoice":"newInvoice",status:"failed",data:{id:a},error:o})}finally{Xa(this.dispatch,!1)}},async[rOe]({getters:t,commit:e},{next:r=null,doAttest:n=!1,doSell:a=!1}={}){let i=!1;try{let o=!1,s;const{invoice:u,hasChanged:l}=t,d=t.getInvoicePrices;let{id:c}=u;r==="invoice"&&(s={...u.getProperties(),ModuleArticles:u.articles,...d,id:0},this.dispatch(Ki,{data:[s],schema:"invoices"}),i=!0,this.$router.push({name:"invoice",params:{id:s.id,modal:!1}}));const m={...u.getProperties(),...d};return l("document")&&(c?await this.dispatch(VSe,{id:c,body:m}):(o=!0,c=await this.dispatch(USe,{body:m}),e(XSe,{key:"document.id",value:c}))),i&&this.$router.replace({name:"invoice",params:{id:c,modal:!1}}),a?await this.dispatch(BSe,{id:c}):n&&await this.dispatch(zSe,{id:c}),await this.dispatch(YSe,"document"),i||gz({next:r,invoiceId:c},this.$router),await this.dispatch(qSe,{key:"document"}),i&&this.commit(`invoices/${JSe}`,s.id),{id:c,isNew:o}}catch(o){return this.handleError(o),i&&this.$router.currentRoute.name!=="invoiceNew"&&this.$router.go(-1),null}},async[tOe]({state:t,rootGetters:e},{name:r=null}){if(!["100kr"].includes(r))throw Error("Missing valid param name");try{Xa(this.dispatch,!0);let a={...ql({rootState:this.state,rootGetters:e})};if(r==="100kr"){let i;const{data:o}=await LTe("info@cling.se");o[0]?([i]=o,i.EndCustomerId=i.id):(await this.dispatch(ke.FORM_NEW_ENDCUSTOMER),i=Object.assign(t.endCustomer,{name:"Cling Group AB",org_no:"559070-0273",email:"info@cling.se",customerType:"company",cellphone:"0850119885",street:"Kund-id WIN3890, FE nr 160",zip:"10569",city:"Stockholm"}),this.commit(ke.SET_FORM_VALUE,{key:"endCustomer",value:i}),i.EndCustomerId=await this.dispatch(ke.FORM_SUBMIT_ENDCUSTOMER,{showNotification:!1})),i.id=null,a={...ql({rootState:this.state,rootGetters:e}),ModuleEndCustomer:{...i},ModuleArticles:[Vke({name:"\u{1F4B0} Ge mig 100kr! \u{1F4B0}",price:1e4})]}}this.commit(`forms/${Hl}`,{key:"document",formData:a}),yt.event({type:"campaignInvoice",status:"success",data:{name:r}}),yt.debug("Invoice form loaded")}catch(a){yt.event({type:"campaignInvoice",status:"failed",data:{name:r},error:a})}finally{Xa(this.dispatch,!1)}},async[nOe]({rootGetters:t},{formData:e={}}={}){await this.dispatch(KSe),t["application/company"],t["settings/allInvoiceSettings"];let r={};r={...r,...e,company:{...r.company,...e.company},contact:{...r.contact,...e.contact}},this.commit(`forms/${Hl}`,{key:"kycForm",formData:r})},async[aOe]({getters:t}){const{kycForm:e}=t||{};if(!e)throw Error("Kyc Form missing in store");return["ownersWithMoreThan25Percent","beneficialOwners"].forEach(n=>{e[n]=(e[n]||[]).map(a=>({...a,address:a.address||"Sverige",country:a.country||"Sverige"}))}),await KTe.post({form:e})}},{SET_FORM_VALUE:oOe,REMOVE_FORM_VALUE:sOe}=Me.forms,uOe={async[An.SET_FORM_ARTICLE]({commit:t},{index:e=null,data:r}){let n="document.ModuleArticles";e!==null&&(n=`document.ModuleArticles[${e}]`);const a=qi(r);return t(oOe,{key:n,value:a})},async[An.REMOVE_FORM_ARTICLE]({commit:t},e){return t(sOe,e)}},Yl=t=>typeof t=="object"&&t!==null&&t.toString()==={}.toString(),Mm=t=>JSON.parse(JSON.stringify(t)),Ax=(t,e)=>{t=Mm(t);for(const r in e)e.hasOwnProperty(r)&&(Yl(t[r])&&Yl(e[r])?t[r]=Ax(t[r],e[r]):t[r]=e[r]);return t},Kz=(t,e)=>{t=t.replace(/^#\/definitions\//,"").split("/");const r=(a,i)=>{const o=a.shift();if(i[o]){if(!a.length)return i[o]}else return{};return r(t,i[o])},n=r(t,e);return Yl(n)?Mm(n):n},lOe=(t,e)=>{const{length:r}=t;let n=-1,a={};for(;++n<r;){let i=t[n];i=typeof i.$ref<"u"?Kz(i.$ref,e):i,a=Ax(a,i)}return a},js=(t,e)=>{if(typeof t.default<"u")return t.default;if(typeof t.allOf<"u"){const r=lOe(t.allOf,e);return js(r,e)}else if(typeof t.$ref<"u"){const r=Kz(t.$ref,e);return js(r,e)}else if(t.type==="object"){if(!t.properties)return{};for(const r in t.properties)t.properties.hasOwnProperty(r)&&(t.properties[r]=js(t.properties[r],e),(typeof t.properties[r]>"u"||Yl(t.properties[r])&&!Array.isArray(t.properties[r])&&!Object.keys(t.properties[r]).length)&&delete t.properties[r]);return t.properties}else if(t.type==="array"){if(!t.items)return[];const r=t.minItems||0;if(t.items.constructor===Array){const i=t.items.map(o=>js(o,e));for(let o=i.length-1;o>=0&&!(typeof i[o]<"u");o--)o+1>r&&i.pop();return i}const n=js(t.items,e);if(typeof n>"u")return[];const a=[];for(let i=0;i<Math.max(1,r);i++)a.push(Mm(n));return a}},dOe=(t,e)=>(typeof e>"u"?e=t.definitions||{}:Yl(t.definitions)&&(e=Ax(e,t.definitions)),js(Mm(t),e));class Ja{constructor(e){if(!e)throw new Error("Missing param data");const{validationSchema:r,views:n}=e;if(!r)throw new Error("Missing param validationSchema in template data");if(!n)throw new Error("Missing param views in template data");this._data=e}get data(){return this._data}get id(){return this.data.id||null}get companyId(){return this.data.companyId||null}get name(){return this.data.name||null}get isNew(){return!this.id}get validationSchema(){return this.data.validationSchema}get views(){return this.data.views||{}}get language(){return this.data.language}get theme(){return ee(this,"_data.validationSchema.properties.data.properties.theme.default",{})||{}}get thumbnailUrl(){return this.data.thumbnailUrl}get defaultMedia(){if(this.thumbnailUrl)return{type:"image",resourceUrl:this.thumbnailUrl};const{defaultData:e}=this,r=(ee(this,"_data.views.read.nodes")||[]).filter(a=>["header","coverBlock"].includes(a.itemType));let n=null;for(const a of r)if(a){if(n)break;let i=a.value[a.itemType];if(!i)continue;if(a.itemType==="header"){i+=".items";const o=(ee(e,i)||[]).find(({type:s})=>s==="media");o&&o.media&&({media:n}=o)}else if(a.itemType==="coverBlock"){const{type:o,cover:s}=ee(e,i)||{};s&&(n={...o&&{type:o},...s})}}if(!n){const a=ee(this,"theme.background");a&&(n={type:"image",resourceUrl:a})}return n}get reminders(){const e=this.getDefaultData({path:"properties.data.properties.reminders"});return e&&Array.isArray(e)?e:[]}get defaultData(){return this.getDefaultData()}get categoryTags(){return ee(this.defaultData,"tags",[]).reduce((e,r)=>[...e,r.name],[])}get type(){return this.categoryTags[0]}getDefaultData({path:e=""}={}){let r=this.validationSchema;return e&&(r=e.split(".").reduce((n,a)=>n[a],r)),dOe(r)||{}}}const cOe=ge.brand.charAt(0).toUpperCase()+ge.brand.slice(1),fOe={accept:"acceptera",address:"adress",and:"and",answerFeedback:{intermediate:{title:"Tack f\xF6r att du delar dina tankar."},no:{start:{action:"Skicka in",placeholder:"Vad b\xF6r vi f\xF6rb\xE4ttra?",text:"Finns det n\xE5got specifikt du \xF6nskar vi b\xF6r f\xF6rb\xE4ttra?",title:"Tack f\xF6r att du delar med dig av dina tankar."},success:{action:"L\xE4s mer om $t(appBrand)",secondary:"Tillbaka till dokumentet",text:"Din feedback togs emot helt perfekt. V\xE5rt team kommer att ta del av din feedback med stor lyh\xF6rdhet.",title:"Tack."}},start:{no:"Nej",title:"Tyckte du om att anv\xE4nda $t(appBrand) f\xF6r att visa det h\xE4r dokumentet?",yes:"Ja"},yes:{action:"S\xE4tt ig\xE5ng gratis",secondary:"L\xE4s mer om $t(appBrand)",text:"Skapa och skicka snygga dokument med $t(appBrand). Uppt\xE4ck alla f\xF6rdelar med att skicka webbaserade dokument med e-signering.",title:"B\xF6rja anv\xE4nda $t(appBrand) du med."}},answerModal:{answerSuccess:"Ditt svar togs emot helt perfekt.",bankId:{component:{defaultError:"N\xE5got gick fel. Se till att du har matat in r\xE4tt personnummer och f\xF6rs\xF6k igen.",signingInterrupted:"Signeringen avbr\xF6ts, f\xF6rs\xF6k igen...",validations:{socialNo:{personalNumber:"Personnumret \xE4r inte giltigt",required:"Skriv in ditt personnummer"}},viewText:{canceled:{text:"Signeringen avbr\xF6ts. Var god och f\xF6rs\xF6k igen.",title:"Signeringen avbr\xF6ts"},error:{text:"Ett fel intr\xE4ffa. Var god och f\xF6rs\xF6k igen.",title:"Ett fel intr\xE4ffa"},form:{text:"Skriv in ditt personnummer f\xF6r att p\xE5b\xF6rja signeringen.",title:"Signera dokumentet med BankID"},new:{spinnerText:"\xD6ppna BankID p\xE5 din enhet.",text:"\xD6ppna BankID p\xE5 din enhet f\xF6r att signera dokumentet.",title:"Signera dokument"},signing:{spinnerText:"Var god signera dokumentet.",text:"\xD6ppna BankID p\xE5 din enhet f\xF6r att signera dokumentet.",title:"Signering p\xE5g\xE5r"},waiting:{spinnerText:"V\xE4ntar p\xE5 att du ska \xF6ppna BankID.",text:"\xD6ppna BankID p\xE5 din enhet f\xF6r att signera dokumentet.",title:"Signera dokument"}}},start:{action:"Signera med BankID",text:"Acceptera och signera dokumentet med BankID.",title:"Signera med BankID"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},decline:{component:{inputPlaceholder:"Frivilligt. L\xE4mna en kommentar om varf\xF6r du v\xE4ljer att neka."},start:{action:"Neka",text:"F\xF6r att neka dokumentet var god och bekr\xE4fta genom att klicka p\xE5 knappen nedanf\xF6r.",title:"Neka dokumentet"},success:{text:"Tack f\xF6r att du l\xE4mna ett svar.",title:"Du har nekat dokumentet."}},signature:{component:{draw:{canvasLabel:"Rita signatur",tab:"Rita"},subTitle:"Hur vill du signera?",terms:"Genom att signera dokumentet godk\xE4nner jag att den elektroniska signaturen \xE4r en representation av min handskrivna signatur och att den \xE4r lika giltig.",text:{canvasLabel:"F\xF6rhandsgranskning",nameLabel:"Signerad av",namePlaceholder:"Skriv ditt namn",tab:"Skriv"}},start:{action:"Signera & acceptera",text:"",title:"Acceptera dokumentet"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},versionError:{accept:{title:"Gick inte att signera dokumentet"},decline:{title:"Gick inte att neka dokumentet"},text:"Dokumentet har modifierats medan du har l\xE4st den. V\xE4nligen ladda om och ta del av det nya dokumentet f\xF6r att l\xE4mna svar.",btn:"Ladda om"},successText:"N\xE4r dokumentet har blivit signerat av alla parter kommer du f\xE5 en kopia skickat till din e-post {{email}} med en l\xE5st version av dokumentet.",successTextFallback:"N\xE4r dokumentet har blivit signerat av alla parter kommer du p\xE5 den h\xE4r webbsidan kunna ladda ner en l\xE5st version av dokumentet.",successTextFallbackSingle:"Dokumentet \xE4r nu signerat och komplett.",successTextSingle:"En bekr\xE4ftelse har skickats till e-posten {{email}} med en l\xE5st version av dokumentet.",successTitle:"Du har signerat dokumentet."},appBrand:cOe,approved:"godk\xE4nt",approx:"ca",cancel:"Avbryt",chapters:{answerButtons:{approveDescription:"Vi har meddelat {{- sender}} att dokumentet \xE4r godk\xE4nt.",approveTitle:"Dokumentet \xE4r godk\xE4nt!",denyDescription:"Vi har meddelat {{- sender}} att du inte \xE4r intresserad.",denyTitle:"Dokumentet \xE4r nekat",editPropDes:"Redigera fastighetsbeteckning",enterPropDes:"Ange fastighetsbeteckning",inPersonSignatureHint:"Du har blivit markerad f\xF6r att skriva under en fysisk kopia av detta dokument. Om du ist\xE4llet vill skriva under digitalt, kontakta",waitingDescription:"V\xE4ntar p\xE5 {{remaining}} st fler ska l\xE4mna svar.",youHave:"Du har "},articleItem:{eligibleForDeduction:"Ber\xE4ttigad f\xF6r {{type,deepNested:deduction}}-avdrag"},articleList:{changeShowVatTooltip:"\xC4ndra till att visa {{type}}",title:"Arbetsmoment / varor"},packageGroup:{errorCallout:"V\xE4lj minst ett alternativ",selectableOptions:"Valbara alternativ"},packageItem:{add:"L\xE4gg till paket",select:"V\xE4lj paket",selected:"Valt paket"},parties:{allRiskAndLiability:"Har allrisk- och ansvarsf\xF6rs\xE4kring",fTax:"Har F-skatt"},pricingSummary:{blocks:{approx:"Ungef\xE4rligt pris",deductionSubValue:"Totalpris utan avdrag {{price}}",maxPrice:"Maxpris",maxPriceVat:"Maxpris {{vat}}",net:"Netto",price:"Pris",rounding:"\xD6resavrundning",subTitleArticles:"Varav varor / moment med fast pris",summary:"Sammanst\xE4llning",total:"Total",typeDeduction:"Efter {{type,deepNested:deduction}}-avdrag"},placeholder:{description:"V\xE4lj vilket paket som passar dig b\xE4st genom att klicka p\xE5 ",descriptionBold:"V\xE4lj-knappen",title:"V\xE4lj ett paket"},terms:{houseWork:"Totalpriset efter skattereduktion f\xF6r {{type,deepNested:deduction}}-arbete f\xF6ruts\xE4tter att arbetet kvalificerar f\xF6r skattereduktion, att best\xE4llaren har det angivna utrymmet f\xF6r skattereduktion samt att det inte redan har utnyttjats f\xF6r annat {{type,deepNested:deduction}}-arbete. Best\xE4llaren ansvarar sj\xE4lv f\xF6r att kontrollera dess uppgifter.",houseWorkApprox:"Priset f\xF6r arbetet \xE4r ungef\xE4rligt. T\xE4nk p\xE5 att priset kan skilja sig med 15%. Om det g\xE4ller markarbeten rivningsarbeten eller lik. kan priset skilja sig med 25%. L\xE4s mer om detta i de allm\xE4nna best\xE4mmelserna.",reverseVat:"Notera att omv\xE4nd skattskyldighet g\xE4ller."}},termsDisclaimer:{description:"Genom att godk\xE4nna dokumentet accepterar du de ",termsAndConditions:"allm\xE4nna villkoren",title:"Villkor"}},close:"St\xE4ng",company:"f\xF6retag",deduction:Rl.deduction,denied:"nekat",deny:"Neka",denyModal:{denyButton:"Neka dokument",helpfulInformation:"Vi meddelar {{- senderName}} p\xE5 {{- senderCompany}} att du har valt att neka dokumentet.",otherPlaceholder:"Frivilligt. L\xE4mna en kommentar om varf\xF6r du v\xE4ljer att neka dokumentet.",subTitle:"Bekr\xE4fta ditt svar genom att klicka p\xE5 Neka.",successTitle:"Du har nekat dokumentet",thanksAnswer:"Tack f\xF6r ditt svar!",title:"Neka dokument"},detail_plural:"detaljer",document:"Dokument",document_plural:"Dokument",documentDetails:{subTitle:"Information om dokumentet."},documentTemplateView:{emailTemplate:{expires:{content:"$t(documentTemplateView.reminder) $t(documentTemplateView.emailTemplate.first.content)",subject:"$t(documentTemplateView.reminder) $t(documentTemplateView.sharedSubject)",text:`$t(documentTemplateView.emailTemplate.expires.title) $t(documentTemplateView.emailTemplate.expires.subject). $t(documentTemplateView.readMoreAndReply)
352
+ `,r:"\r",f:"\f",b:"\b"},h={go:function(){l="ok"},firstokey:function(){m=f,l="colon"},okey:function(){m=f,l="colon"},ovalue:function(){l="ocomma"},firstavalue:function(){l="acomma"},avalue:function(){l="acomma"}},v={go:function(){l="ok"},ovalue:function(){l="ocomma"},firstavalue:function(){l="acomma"},avalue:function(){l="acomma"}},y={"{":{go:function(){d.push({state:"ok"}),c={},l="firstokey"},ovalue:function(){d.push({container:c,state:"ocomma",key:m}),c={},l="firstokey"},firstavalue:function(){d.push({container:c,state:"acomma"}),c={},l="firstokey"},avalue:function(){d.push({container:c,state:"acomma"}),c={},l="firstokey"}},"}":{firstokey:function(){var x=d.pop();f=c,c=x.container,m=x.key,l=x.state},ocomma:function(){var x=d.pop();c[m]=f,f=c,c=x.container,m=x.key,l=x.state}},"[":{go:function(){d.push({state:"ok"}),c=[],l="firstavalue"},ovalue:function(){d.push({container:c,state:"ocomma",key:m}),c=[],l="firstavalue"},firstavalue:function(){d.push({container:c,state:"acomma"}),c=[],l="firstavalue"},avalue:function(){d.push({container:c,state:"acomma"}),c=[],l="firstavalue"}},"]":{firstavalue:function(){var x=d.pop();f=c,c=x.container,m=x.key,l=x.state},acomma:function(){var x=d.pop();c.push(f),f=c,c=x.container,m=x.key,l=x.state}},":":{colon:function(){if(Object.hasOwnProperty.call(c,m))throw new SyntaxError("Duplicate key '"+m+'"');l="ovalue"}},",":{ocomma:function(){c[m]=f,l="okey"},acomma:function(){c.push(f),l="avalue"}},true:{go:function(){f=!0,l="ok"},ovalue:function(){f=!0,l="ocomma"},firstavalue:function(){f=!0,l="acomma"},avalue:function(){f=!0,l="acomma"}},false:{go:function(){f=!1,l="ok"},ovalue:function(){f=!1,l="ocomma"},firstavalue:function(){f=!1,l="acomma"},avalue:function(){f=!1,l="acomma"}},null:{go:function(){f=null,l="ok"},ovalue:function(){f=null,l="ocomma"},firstavalue:function(){f=null,l="acomma"},avalue:function(){f=null,l="acomma"}}},function(x,k){var D,S,O=/^[\u0020\t\n\r]*(?:([,:\[\]{}]|true|false|null)|(-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)|"((?:[^\r\n\t\\\"]|\\(?:["\\\/trnfb]|u[0-9a-fA-F]{4}))*)")/;l="go",d=[];try{for(;D=O.exec(x);)D[1]?y[D[1]][l]():D[2]?(f=+D[2],v[l]()):(S=D[3],f=S.replace(/\\(?:u(.{4})|([^u]))/g,function(C,E,T){return E?String.fromCharCode(parseInt(E,16)):p[T]}),h[l]()),x=x.slice(D[0].length)}catch(C){l=C}if(l!=="ok"||/[^\u0020\t\n\r]/.test(x))throw l instanceof SyntaxError?l:new SyntaxError("JSON");return typeof k=="function"?function C(E,T){var $,I,W=E[T];if(W&&typeof W=="object")for($ in f)Object.prototype.hasOwnProperty.call(W,$)&&((I=C(W,$))!==void 0?W[$]=I:delete W[$]);return k.call(E,T,W)}({"":f},""):f}))}},function(r,n,a){function i(o,s,u){if(s.hasOwnProperty&&s.hasOwnProperty("addEventListener")){for(var l=s.addEventListener;l._rollbarOldAdd&&l.belongsToShim;)l=l._rollbarOldAdd;var d=function(f,p,h){l.call(this,f,o.wrap(p),h)};d._rollbarOldAdd=l,d.belongsToShim=u,s.addEventListener=d;for(var c=s.removeEventListener;c._rollbarOldRemove&&c.belongsToShim;)c=c._rollbarOldRemove;var m=function(f,p,h){c.call(this,f,p&&p._rollbar_wrapped||p,h)};m._rollbarOldRemove=c,m.belongsToShim=u,s.removeEventListener=m}}r.exports=function(o,s,u){if(o){var l,d,c="EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");for(l=0;l<c.length;++l)o[d=c[l]]&&o[d].prototype&&i(s,o[d].prototype,u)}}},function(r,n,a){var i=a(0),o=a(5);function s(h,v){return[h,i.stringify(h,v)]}function u(h,v){var y=h.length;return y>2*v?h.slice(0,v).concat(h.slice(y-v)):h}function l(h,v,y){y=y===void 0?30:y;var b,g=h.data.body;if(g.trace_chain)for(var _=g.trace_chain,w=0;w<_.length;w++)b=u(b=_[w].frames,y),_[w].frames=b;else g.trace&&(b=u(b=g.trace.frames,y),g.trace.frames=b);return[h,i.stringify(h,v)]}function d(h,v){return v&&v.length>h?v.slice(0,h-3).concat("..."):v}function c(h,v,y){return[v=o(v,function b(g,_,w){switch(i.typeName(_)){case"string":return d(h,_);case"object":case"array":return o(_,b,w);default:return _}}),i.stringify(v,y)]}function m(h){return h.exception&&(delete h.exception.description,h.exception.message=d(255,h.exception.message)),h.frames=u(h.frames,1),h}function f(h,v){var y=h.data.body;if(y.trace_chain)for(var b=y.trace_chain,g=0;g<b.length;g++)b[g]=m(b[g]);else y.trace&&(y.trace=m(y.trace));return[h,i.stringify(h,v)]}function p(h,v){return i.maxByteSize(h)>v}r.exports={truncate:function(h,v,y){y=y===void 0?524288:y;for(var b,g,_,w=[s,l,c.bind(null,1024),c.bind(null,512),c.bind(null,256),f];b=w.shift();)if(h=(g=b(h,v))[0],(_=g[1]).error||!p(_.value,y))return _;return _},raw:s,truncateFrames:l,truncateStrings:c,maybeTruncateValue:d}}])})})(IU);const PEe=Z(IU.exports),kEe=ge.rollbar.clientToken,TEe=new PEe({accessToken:kEe,captureUncaught:!0,captureUnhandledRejections:!0,source_map_enabled:!0,environment:ge.rollbar.environment||ge.environment,enabled:!1,ignoredMessages:["The operation is insecure","Script error.","null is not an object (evaluating 'localStorage.getItem')","Unexpected token '<'","expected expression, got '<'","ChunkLoadError","Loading chunk","ResizeObserver loop limit exceeded","Failed to update a ServiceWorker for scope","Object Not Found Matching Id","newestWorker is null"],payload:{client:{javascript:{code_version:"0.3.2",source_map_enabled:!0,guess_uncaught_frames:!0}}},transform:t=>{const{trace:e}=t.body;if(e&&e.frames)for(let r=0;r<e.frames.length;r++){const{filename:n}=e.frames[r];n&&(e.frames[r].filename=e.frames[r].filename.replace(ge.baseUrl,"https://dynamichost"))}}}),{UPDATE_VIEW_SETTINGS:Ns,LOAD_USER_POSITION:EEe,LOAD_USER:Ls,LOGIN_USER:dm,LOGIN_AUTH_TOKEN:NU,AUTH_3RD_PARTY_USER:LU,SWITCH_CONNECTED_USER:WU,LOGOUT_USER:cm,REGISTER_USER:FU,RESET_USER_PASSWORD:jU}=bl,{DO_LOAD_CURRENT_COMPANY:MEe,DO_LOAD_ALL_SETTINGS:SEe,DO_NORMALIZE_COMPANY_USERS:OEe,LOAD_UNREAD_NOTIFICATIONS:CEe}=ke,{SET_USER_LOCATION:DEe,SET_USER:Yt}=Ct,VU=t=>ce.te(`errors:${t}`)&&ce.t(`errors:${t}`),$Ee={async[Ls]({commit:t,getters:e,dispatch:r}){var n,a;try{if(!Fe.getItem("token")){Fe.removeItem("tokenExpire"),Fe.removeItem("refreshToken"),t(Yt,{userId:null,companyId:null,crispUserHash:null}),this.$router.push({name:"Login"});return}const[{data:i},{data:o=[]}]=await Promise.all([lr.get("/companyUser/self"),wU.getConnectedUsers()]),{id:s,CompanyId:u,crispUserHash:l,language:d,locale:c}=i;d&&ce.i18next.changeLanguage(d),c&&ce.l10n.changeLocale(c),await this.dispatch(OEe,{companyUsers:[{...i,connectedUsers:o}]}),t(Yt,{userId:s,companyId:u,crispUserHash:l}),await this.dispatch(MEe),await this.dispatch(SEe),this._vm.$cookiePreference!=="all"&&(this._vm.$cookiePreference="all"),this.hasModule("notifications")&&!this.getters["notifications/isFetching"]&&this.dispatch(CEe,{throttleTime:5});const{user:m,company:f,isQualified:p}=e;if(m){let h="";(m.firstname||m.lastname)&&(h=m.fullName),TEe.configure({payload:{person:{id:m.id,username:h||null,email:m.email||null}}}),(n=this.$supportChat)==null||n.syncData(),(a=this.$trackEvent)==null||a.call(this,"loadUser",{companyUserId:m.id})}}catch(i){this.handleError(i,{action:Ls,actionPayload:null}),r(cm)}},async[dm]({commit:t,dispatch:e},{email:r,password:n,doRedirect:a=!0,doLoadUser:i=!0,superUserId:o=null,responseType:s=null,code:u=null}){try{t(Yt,{isLoggingIn:!0}),e(Ns,{view:"login",settings:{error:null}});let l;if(o?({data:l}=await lr.post("/auth/employee",{email:r,password:n,CompanyUserId:o}),Fe.setItem("isClingEmployee",!0)):u?({data:l}=await lr.post("/oauth2/token",{code:u,client_id:ge.clientId,grant_type:"authorization_code",brand:this._vm.$brand,...om(this._vm.$view)}),l={token:l.access_token,tokenExpires:l.expires_in,refreshToken:l.refresh_token}):{data:l}=await lr.post("/auth/companyUser",{email:r,password:n,response_type:s,...om(this._vm.$view)}),s==="code"&&l.code)return t(Yt,{isLoggingIn:!1}),l;const{token:d,tokenExpires:c,refreshToken:m}=l;if(Fe.setItem("token",d),Fe.setItem("tokenExpires",c),Fe.setItem("refreshToken",m),t(Yt,{isLoggingIn:!1}),i&&await e(Ls),!a)return!0;const{redirect:f}=this.state.route.query||{};return f?(this.$router.push(f),!0):(this.$router.push({name:"account"}),!0)}catch(l){let d=ce.t("errors:fallback"),c=!1;if(l&&typeof l.getPayload=="function"){const m=l.getPayload();m&&m.axios&&m.axios.status===401&&(c=!0)}return c&&(d=ce.t("actions:loginUser.wrongCredentials")),e(Ns,{view:"login",settings:{error:d}}),t(Yt,{isLoggingIn:!1}),c||this.handleError(l,{action:dm,actionPayload:null}),!1}},async[NU]({commit:t,dispatch:e},{authToken:r,to:n,doRedirect:a=!0}){let i={};try{if(!r)throw new Error("Missing param authToken");if(!n&&a)throw new Error("Missing param to");t(Yt,{isLoggingIn:!0}),n&&(i=Object.assign({},n.query),delete i.authtoken);const{data:o}=await hTe(r,{...om(this._vm.$view)}),{token:s,tokenExpires:u,refreshToken:l}=o;if(Fe.setItem("token",s),Fe.setItem("tokenExpires",u),Fe.setItem("refreshToken",l),await e(Ls),!a)return!0;this.$router.push({path:n.path,query:i})}catch(o){n!=null&&n.path&&(i.redirect=n==null?void 0:n.path),await e(cm,{next:{name:"Login",query:i}}),this.handleError(o,{action:NU,actionPayload:null})}finally{t(Yt,{isLoggingIn:!1})}},async[LU]({commit:t,dispatch:e},{service:r,code:n}){t(Yt,{isLoggingIn:!0});const a={isAuth:!1,isVerify:!1,company:null,companyUser:null,addedToExistingCompanyId:null,error:null};try{const{data:i}=await rx.signupWithCrm(r,{code:n,doLogin:!0,...om(this._vm.$view),brand:this._vm.$brand}),{addedToExistingCompanyId:o,authenticate:s}=i,{token:u,tokenExpires:l,refreshToken:d,company:c,companyUser:m}=s;return Fe.setItem("token",u),Fe.setItem("tokenExpires",l),Fe.setItem("refreshToken",d),m&&m.isSlave&&!m.verifiedEmailAt?(a.companyUser=m,a.isVerify=!0,a):(await e(Ls),o&&(a.addedToExistingCompanyId=o),a.company=c,a.isAuth=!0,a)}catch(i){return this.handleError(i,{action:LU,actionPayload:null}),{isAuth:!1,isVerify:!1,company:null,companyUser:null,addedToExistingCompanyId:null,error:i.message}}finally{t(Yt,{isLoggingIn:!1})}},async[WU]({commit:t,dispatch:e},{companyUserId:r,doRedirect:n=!0}){try{if(typeof r>"u")throw new Error("Missing param companyUserId");t(Yt,{isLoggingIn:!0});const{data:a}=await wU.getConnectedUserAuth(r),{token:i,tokenExpires:o,refreshToken:s}=a;Fe.setItem("token",i),Fe.setItem("tokenExpires",o),Fe.setItem("refreshToken",s),this.commit("reset"),await e(Ls),n?this.$router.push({name:"account"}):window.reloadApp(!0)}catch(a){this.handleError(a,{action:WU,actionPayload:null})}finally{t(Yt,{isLoggingIn:!1})}},async[FU]({commit:t,dispatch:e},{company:r,companyUser:n,termsVersion:a,voucherCode:i=null,source:o=null,region:s,language:u,currency:l,throwIfSlaveUser:d}){var c;try{const m={isAuth:!1,isVerify:!1,didNavigate:!1};if(e(Ns,{view:"register",settings:{error:null}}),t(Yt,{isRegistering:!0}),!r)throw new Error("Missing param company");if(!n)throw new Error("Missing param companyUser");if(!a)throw new Error("Missing param termsVersion");const{data:f}=await vTe({Company:r,CompanyUser:n,voucherCode:i,source:o,region:s,language:u,currency:l,throwIfSlaveUser:d}),{CompanyUser:p}=f,h={type:"terms",version:a,identifier:p.email,object:"CompanyUser",objectId:p.id};if(await yTe(h),p.isSlave)return m.isVerify=!0,m;const v=await e(dm,{email:n.email,password:n.password,doRedirect:!1});return m.isAuth=v,v&&((c=this.$trackEvent)==null||c.call(this,"register")),m}catch(m){if(ee(m,"payload.code")===4008&&d)throw m;if(m&&m.code){const f=VU(m.code);f&&e(Ns,{view:"register",settings:{error:f}})}return this.handleError(m,{action:FU,actionPayload:null}),{isAuth:!1,isVerify:!1,didNavigate:!1}}finally{t(Yt,{isRegistering:!1})}},async[jU]({commit:t,dispatch:e},{password:r,token:n,doRedirect:a=!0}){try{if(e(Ns,{view:"register",settings:{error:null}}),t(Yt,{isResettingPassword:!0}),!r)throw new Error("Missing param password");if(!n)throw new Error("Missing param token");const{data:i}=await gTe(r,n),{email:o}=i;return await e(dm,{email:o,password:r,doRedirect:a}),!0}catch(i){if(i&&i.code){const o=VU(i.code);o&&e(Ns,{view:"register",settings:{error:o}})}return this.handleError(i,{action:jU,actionPayload:null}),!1}finally{t(Yt,{isResettingPassword:!1})}},[cm]({commit:t},{next:e}={}){try{Fe.removeItem("token"),Fe.removeItem("tokenExpires"),Fe.removeItem("refreshToken"),this.commit("reset")}finally{t(Yt,{isLoggingIn:!1,userId:null,companyId:null,crispUserHash:null})}if(e)try{return this.$router.replace(e)}catch(r){this.handleError(r,{action:cm,actionPayload:null})}return this.$router.replace({name:"Login"})},[EEe]({commit:t}){navigator.geolocation.getCurrentPosition(({coords:e})=>{t(DEe,[e.longitude,e.latitude])})}},lx=new Map,{PUSH_MODAL:AEe,POP_MODAL:REe,SET_CAN_CLOSE_MODAL:IEe,SHOW_MESSAGE:NEe,CLEAR_MESSAGE:LEe,CLEAR_MESSAGE_BY_ID:WEe,MESSAGE_ACTION:UU,UPDATE_VIEW_SETTINGS:FEe,RESET_VIEW_SETTINGS:jEe,SHOW_ERROR:VEe,RESET_ERROR:UEe}=bl,zEe={...$Ee,[AEe]({commit:t,state:e},r){const n={...r,_uniqueId:rn.exports()};t(Ct.SET_MODALS,[...e.modals,n])},[REe]({commit:t,state:e}){t(Ct.SET_MODALS,e.modals.slice(0,-1))},[IEe]({commit:t},e){t(Ct.SET_CAN_CLOSE_MODAL,e)},[NEe]({commit:t,state:e},r){const{type:n,displayType:a="notification",time:i=5e3,title:o,message:s,closeButton:u,omit:l=""}=r,d={},c={};if((p=>{const[h="foo",v="bar"]=p.split(":");return(v||"").split(",").includes(this._vm[h])})(l))return;r.actions&&Object.keys(r.actions).forEach(p=>{const h=r.actions[p];if(typeof h=="object"&&!Array.isArray(h)){if(!h.fn&&!h.callback)throw Error(`No callback function provided for action ${p}`);d[p]=h.fn||h.callback,delete h.fn,delete h.callback,c[p]=h}else if(typeof h=="string")d[p]=h,c[p]={};else if(typeof h=="function")d[p]=h,c[p]={};else throw Error(`Action, ${p} , must be one of: object|string|function`)}),t(Ct.ADD_MESSAGE,{actions:c,title:o,message:s,type:n,displayType:a,time:i,closeButton:u});const f=e.messages.slice(-1)[0];return lx.set(f._uniqueId,d),f._uniqueId},[LEe]({commit:t,state:e},r){const n=e.messages[r]||{};t(Ct.REMOVE_MESSAGE,r),lx.delete(n._uniqueId)},[WEe]({dispatch:t,state:e},r){const n=e.messages.findIndex(a=>a._uniqueId===r);t(bl.CLEAR_MESSAGE,n)},[UU]({state:t,dispatch:e},{index:r,type:n}){try{const a={cancel:()=>e(bl.CLEAR_MESSAGE,r)},i=t.messages[r]||{};if(!i||!i._uniqueId)throw Error("message not found, failed to trigger action");const o=lx.get(i._uniqueId);if(!o)throw Error("message has no actions, failed to trigger action");const s=o[n];if(!s)throw Error(`message has no action of type ${n}`);let u=s;if(typeof s=="string"&&(u=a[s],!u))throw Error(`No predefined action of type ${s}`);if(typeof u!="function")throw Error("Unable to extract function from message action");return u(i)}catch(a){return this.handleError(a,{action:UU,actionPayload:arguments[1],retries:0})}},[FEe]({commit:t},{view:e,settings:r}){t(Ct.SET_VIEW_SETTINGS,{view:e,settings:r})},[jEe]({commit:t}){t(Ct.RESET_VIEW_SETTINGS)},[VEe]({commit:t},e){t(Ct.SET_ERROR,e)},[UEe]({commit:t}){t(Ct.RESET_ERROR)}};function fm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function BEe(t,e){return HEe(t)||qEe(t,e)||YEe(t,e)||GEe()}function HEe(t){if(Array.isArray(t))return t}function qEe(t,e){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(t)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=t[Symbol.iterator](),s;!(n=(s=o.next()).done)&&(r.push(s.value),!(e&&r.length===e));n=!0);}catch(u){a=!0,i=u}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function YEe(t,e){if(!!t){if(typeof t=="string")return zU(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return zU(t,e)}}function zU(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function GEe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
353
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function BU(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return t.reduce(function(e,r){var n=r.split(".").slice(-1)[0];if(e[n])throw new Error("The key `".concat(n,"` is already in use."));return e[n]=r,e},{})}function KEe(t){return Object.keys(t).map(function(e){return[e,t[e]]})}function mm(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var a=typeof r[0]=="string"?[].concat(r):[""].concat(r),i=BEe(a,4),o=i[0],s=i[1],u=i[2],l=i[3];return o.length&&o.charAt(o.length-1)!=="/"&&(o+="/"),u="".concat(o).concat(u||"getField"),l="".concat(o).concat(l||"updateField"),t(o,s,u,l)}}function pm(t){return function(e){return e.split(/[.[\]]+/).reduce(function(r,n){return r[n]},t)}}function Nl(t,e){var r=e.path,n=e.value;r.split(/[.[\]]+/).reduce(function(a,i,o,s){return s.length===o+1&&(a[i]=n),a[i]},t)}var XEe=mm(function(t,e,r,n){var a=Array.isArray(e)?BU(e):e;return Object.keys(a).reduce(function(i,o){var s=a[o],u={get:function(){return this.$store.getters[r](s)},set:function(d){this.$store.commit(n,{path:s,value:d})}};return i[o]=u,i},{})}),JEe=mm(function(t,e,r,n){var a=Array.isArray(e)?BU(e):e;return Object.keys(a).reduce(function(i,o){var s=a[o];return i[o]={get:function(){var l=this.$store,d=KEe(l.getters[r](s));return d.map(function(c){return Object.keys(c[1]).reduce(function(m,f){var p="".concat(s,"[").concat(c[0],"].").concat(f);return Object.defineProperty(m,f,{get:function(){return l.getters[r](p)},set:function(v){l.commit(n,{path:p,value:v})}})},{})})}},i},{})}),HU=function(e){var r,n=e.getterType,a=e.mutationType;return r={},fm(r,n,pm),fm(r,a,Nl),fm(r,"mapFields",mm(function(i,o){return XEe(i,o,n,a)})),fm(r,"mapMultiRowFields",mm(function(i,o){return JEe(i,o,n,a)})),r};const{SET_USER_LOCATION:QEe,SET_USER:ZEe}=Ct,eMe={...{[QEe](t,e){t.user.position=e},[ZEe](t,e){Object.keys(e).forEach(r=>{t.user[r]=e[r]})}},updateField:Nl,[Ct.SET_MODALS](t,e){ie.set(t,"modals",e)},[Ct.SET_CAN_CLOSE_MODAL](t,e){ie.set(t,"canCloseModal",e)},[Ct.ADD_MESSAGE](t,e){t.messages.push(As(e))},[Ct.REMOVE_MESSAGE](t,e){ie.delete(t.messages,e)},[Ct.SET_VIEW_SETTINGS](t,{view:e,settings:r}){Object.keys(r).forEach(n=>{ie.set(t.viewSettings[e],n,r[n])})},[Ct.RESET_VIEW_SETTINGS](t,e){ie.set(t.viewSettings,e,JSON.parse(LV.viewSettings[e]))},[Ct.SET_ERROR](t,e){t.error=e},[Ct.RESET_ERROR](t){t.error=null},[Ct.SET_SOCKET_CONNECTED](t,e){t.isSocketConnected=e}};var dx={exports:{}},tMe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function cx(t){this.message=t}cx.prototype=new Error,cx.prototype.name="InvalidCharacterError";function rMe(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new cx("'atob' failed: The string to be decoded is not correctly encoded.");for(var r=0,n,a,i=0,o="";a=e.charAt(i++);~a&&(n=r%4?n*64+a:a,r++%4)?o+=String.fromCharCode(255&n>>(-2*r&6)):0)a=tMe.indexOf(a);return o}var nMe=typeof window<"u"&&window.atob&&window.atob.bind(window)||rMe,qU=nMe;function aMe(t){return decodeURIComponent(qU(t).replace(/(.)/g,function(e,r){var n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}var iMe=function(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return aMe(e)}catch{return qU(e)}},oMe=iMe;function Ll(t){this.message=t}Ll.prototype=new Error,Ll.prototype.name="InvalidTokenError",dx.exports=function(t,e){if(typeof t!="string")throw new Ll("Invalid token specified");e=e||{};var r=e.header===!0?0:1;try{return JSON.parse(oMe(t.split(".")[r]))}catch(n){throw new Ll("Invalid token specified: "+n.message)}},dx.exports.InvalidTokenError=Ll;const Lb=class{init({store:e}){this.store=e}getValidFeatures(){return Object.keys(Lb.schema)}_isValidAccountType(e){if(!e||Ze(e)!=="array")throw new Error("Invalid param accountTypes");const{accountType:r}=this.store.getters["application/companyAccount"]||{};return e.includes(r)}_isValidFeatureKey(e){if(!e||Ze(e)!=="string")throw new Error("Invalid param featureKey");const{CompanyFeatures:r}=this.store.getters["application/company"]||{};return r?r[e]:!1}_isValidCompanySetting(e){if(!e||Ze(e)!=="string")throw new Error("Invalid param settingKey");return e.split("||").some(n=>{const a=this.store.getters["settings/getCompanySetting"](n);return typeof a=="boolean"&&a})}_isValidCompanyUserSettingFn({name:e,fn:r}){if(!e||Ze(e)!=="string")throw new Error("Invalid param name");if(!r||Ze(r)!=="function")throw new Error("Invalid param fn");const n=this.store.getters["settings/getCompanyUserSetting"](e);return!!r(n)}_isValidRegion(e){if(!e||Ze(e)!=="string")throw new Error("Invalid param requiredRegion");const{region:r}=this.store.getters["application/company"]||{};return r?e===r:!1}_isValidBrand(e){if(!e||Ze(e)!=="string")throw new Error("Invalid param requiredBrand");const r=this.store.$brand;return r?e===r:!1}_isCreatedBefore(e){if(!e||Ze(e)!=="string")throw new Error("Invalid param feature dateString");const{createdAt:r}=this.store.getters["application/company"]||{};return r?aPe(r,e):!1}_evaluateFeature(e,{returnType:r="boolean"}={}){const n=Lb.schema[e];if(!n||Ze(n)!=="object")throw Error(`No rules for feature '${e}' has been defined!`);if(!["boolean","array"].includes(r))throw Error("Invalid param returnType");const a=[];return n.accountTypes&&!this._isValidAccountType(n.accountTypes)&&(a.push("accountTypes"),r==="boolean")||n.featureKey&&!this._isValidFeatureKey(n.featureKey)&&(a.push("featureKey"),r==="boolean")||n.companySetting&&!this._isValidCompanySetting(n.companySetting)&&(a.push("companySetting"),r==="boolean")||n.companyUserSettingFn&&!this._isValidCompanyUserSettingFn(n.companyUserSettingFn)&&(a.push("companyUserSettingFn"),r==="boolean")||n.region&&!this._isValidRegion(n.region)&&(a.push("region"),r==="boolean")||n.brand&&!this._isValidBrand(n.brand)&&(a.push("brand"),r==="boolean")||n.createdBefore&&!this._isCreatedBefore(n.createdBefore)&&(a.push("preDynDoc2"),r==="boolean")?!1:r==="array"?a:!0}checkFeature(e){return this._evaluateFeature(e)}checkFeatureUpgrade(e){const r=this._evaluateFeature(e,{returnType:"array"});return r.length===1&&r.includes("accountTypes")}};let hm=Lb;St(hm,"schema",{personalMessage:{},unlimitedCertificates:{},companyAboutUs:{},winProfile:{},templates:{},invoice:{featureKey:"invoice"},sellInvoice:{featureKey:"sellInvoice"},timeTrack:{featureKey:"timeTrack"},task:{featureKey:"task"},reverseVat:{featureKey:"reverseVat"},ataSetting:{featureKey:"ataSetting"},propertyDesignation:{companySetting:"showRot||showGreenRot"},openAccConstruction:{featureKey:"openAccConstruction"},docChapterIsBinding:{companySetting:"showIsBinding"},projectSettingHideAllArticles:{companySetting:"allowHideAllArticles"},docAtaDateDelay:{companySetting:"docAtaShowDateDelay"},docAtaNotIncluded:{companySetting:"docAtaShowNotIncluded"},docAtaPayment:{companySetting:"docAtaShowPayment"},sms:{featureKey:"sms"},smsSenderName:{featureKey:"smsSenderName"},regionSE:{region:"SE"},bankId:{region:"SE",companySetting:"enableBankId"},templateGallery:{companyUserSettingFn:{name:"defaultLanguage",fn:e=>e==="sv"}},clientReview:{brand:"cling"},upgradeSignatureBankId:{companySetting:"upgradeSignatureBankId"},preDynDoc2:{createdBefore:"2020-11-05T00:00:00.000Z"},emailDomain:{featureKey:"emailDomain"},subdomain:{featureKey:"subdomain"},stats:{featureKey:"stats"},api:{featureKey:"api"},fortnox:{featureKey:"fortnox"},inviteCreators:{accountTypes:["base","pro"]}});const In=new hm,Oa=class{init({store:e}){this.store=e}_getObjectById(e,r){const n=(Oa.schema[r]||{}).$module,{data:a}=this.store.state[n]||{};if(!a)throw Error(`No module for ${r} has been defined!`);return a[e]}_getIdPath(e){return(Oa.schema[e]||{}).$id}_getAllowNullOwner(e){return!!(Oa.schema[e]||{}).$allowNullOwner}_getScopeKey(e){return(Oa.schema[e]||{}).$scopeKey}_getUserId(){const{user:e={}}=this.store.state.application;return e.userId}getValidScopes(){return Object.keys(Oa.schema)}getRequiredCompanyUserPermission(e,r){const n=Oa.schema[e];return!n||!n[r]?[]:Array.isArray(n[r])?n[r]:[n[r]]}hasFeature(e){const r=Oa.featureSchema[e];return r?In.checkFeature(r):!0}checkPermission(e,r,n=void 0){const{getters:a}=this.store,{CompanyUserPermission:i}=a["application/user"]||{};if(!i||!this.hasFeature(e))return!1;let s=this.getRequiredCompanyUserPermission(e,r);if(!s||s.length===0)return console.warn(`Permission ${r} in scope ${e} has not been implemented`),!1;let u=s.some(d=>i[d]===!0);if(u)return!0;if(!n)return!1;const l=this._getScopeKey(e);if(s=s.map(d=>d.includes("Own")?d:d.replace(`${l[0].toUpperCase()}${l.slice(1)}`,`Own${l[0].toUpperCase()}${l.slice(1)}`)),u=s.some(d=>i[d]===!0),u){const d=this._getObjectById(n,e);if(!d)return!1;if(e==="documents")return this.checkPermission("projects",r,d.projectId);const c=Ike(d,this._getIdPath(e)),m=this._getAllowNullOwner(e);return c===this._getUserId()||m&&c===null}return!1}getScope(e={}){return this.getValidScopes().find(a=>e[a])}};let Wl=Oa;St(Wl,"schema",{projects:{read:"manageProjects",modify:"manageProjects",create:["manageProjects","manageOwnProjects"],delete:"manageProjects",readPrice:["manageProjects","showPrices"],$scopeKey:"projects",$module:"projects",$id:"CompanyUserId"},users:{modify:"manageUsers",create:"manageUsers",$scopeKey:"users",$module:"companyUsers",$id:"id"},documents:{create:["manageProjects","manageOwnProjects"],read:"manageProjects",modify:"manageProjects",delete:"manageProjects",readPrice:["manageProjects","showPrices"],$scopeKey:"projects",$module:"documents2",$id:"companyUserId"},atas:{create:["manageAtas","manageOwnAtas"],read:"manageAtas",modify:"manageAtas",delete:"manageAtas",readPrice:["manageAtas","showPrices"],$scopeKey:"atas",$module:"documents",$id:"data.CompanyUserId"},company:{create:"manageCompany",read:"manageCompany",modify:"manageCompany",$scopeKey:"company",$module:"companies",$id:"id"},articles:{create:["manageProjects","manageOwnProjects"],modify:["manageProjects","manageOwnProjects"],delete:["manageProjects","manageOwnProjects"],readPrice:["manageOwnAtas","manageAtas","manageProjects","manageOwnProjects","showPrices"],$scopeKey:"projects",$module:"articles",$id:"id"},invoices:{read:["readInvoices","readOwnInvoices"],modify:"modifyInvoices",create:"createInvoices",delete:"deleteInvoices",attest:"attestInvoices",$scopeKey:"invoices",$module:"invoices",$id:"CompanyUserId"},bookkeeping:{modify:"modifyBookkeepingSettings",export:"exportInvoices"},prices:{read:"showPrices"},timeTracks:{read:["readTimeTracks","readOwnTimeTracks"],modify:"modifyTimeTracks",create:"createTimeTracks",delete:["deleteTimeTracks","deleteOwnTimeTracks"],attest:"attestTimeTracks",$scopeKey:"timeTracks",$module:"timeTracks",$id:"CompanyUserId"},templates:{create:"createTemplates",read:"readTemplates",modify:"modifyTemplates",delete:"deleteTemplates"},endCustomers:{read:["readEndCustomers","readOwnEndCustomers"],modify:"modifyEndCustomers",create:"createEndCustomers",delete:"deleteEndCustomers",$scopeKey:"endCustomers",$module:"endCustomers",$id:"CompanyUserId",$allowNullOwner:!0},fortnox:{export:"modifyBookkeepingSettings"}}),St(Wl,"featureSchema",{invoices:"invoice",bookkeeping:"invoice",timeTracks:"timeTrack"});const Xi=new Wl,sMe={...{userPosition:t=>t.user.position,isLoggingIn:t=>t.user.isLoggingIn,isSuperUser:()=>()=>{const t=Fe.getItem("token");if(!t)return!1;const{employee:e}=dx.exports(t);return!!e},isRegistering:t=>t.user.isRegistering,isResettingPassword:t=>t.user.isResettingPassword,crispUserHash:t=>t.user.crispUserHash,isUserLoaded:({user:t})=>t.userId&&t.companyId&&!0||!1,company:({user:t},e,r,n)=>n["companies/companyById"](t.companyId),companyAccount:({user:t},e,r,n)=>(n["companies/companyById"](t.companyId)||{}).CompanyAccount||null,companyAccountType:(t,e)=>(e.companyAccount||{}).accountType||null,companyRegion:(t,e)=>(e.company||{}).region||(ge.brand==="docspo"?"US":"SE"),subscription:(t,e)=>{const{companyAccount:r={}}=e;if(!r)return{};const{freePremiumDays:n=null,accountType:a=null,maxProjectManagers:i=null,freeDocumentsLeft:o=null,paymentMethod:s,billingCycleInterval:u,billingCycleCount:l,showCalloutConvertStripe:d,hasExceededQuota:c,StripeSubscriptions:m,mrr:f,hasFailedPayments:p,allowFailedPaymentToConvertStripe:h}=r,v=[...new Set([...m.map(_=>_.status)])],y=m.some(_=>(_.stripeItems||[]).some(w=>w.stripePriceStripeId.startsWith("plan_"))),b=F1.includes(a)&&d&&s==="invoice"&&ee(r,"documentQuota.newCount")===1e3&&!ee(r,"premiumEndAt");return{type:a,trialDaysLeft:n,maxProjectManagers:i,freeDocumentsLeft:o,paymentMethod:s,billingCycleInterval:u,billingCycleCount:l,showCalloutConvertStripe:F1.includes(a)&&d&&s==="invoice",stripeStatuses:v,isPaying:F1.includes(a),hasExceededQuota:c,isStripeLegacy:y,isInvoiceLegacy:b,mrr:f,hasFailedPayments:p,allowFailedPaymentToConvertStripe:h}},user:({user:t},e,r,n)=>n["companyUsers/referenceById"](t.userId),isQualified:(t,{user:e,companyAccount:r})=>!r||!e||typeof e.isQualified!="boolean"?!0:e.isQualified||!["free","trial","premiumTrial"].includes(r.accountType),feature:()=>In.checkFeature.bind(In),can:()=>Xi.checkPermission.bind(Xi)},getField:pm,modals:t=>t.modals,messages:t=>t.messages,isIncVat:t=>t.priceInputVat==="incVat",viewSettings:t=>e=>t.viewSettings[e],showSearch:t=>t.viewSettings.search.show,error:t=>t.error,isSocketConnected:t=>t.isSocketConnected},uMe={namespaced:!0,state:LV,getters:sMe,actions:zEe,mutations:eMe},lMe={data:{},ids:[],isFetching:!1,isPosting:!1},Me={application:Ct,projects:Dr,forms:Rn,files:ox,settings:$U,certificates:tEe,companies:nx,companyReferences:nEe,companyReferenceItems:iEe,documents2:ix,invoices:pEe,timeTracks:vEe,templates:ux,publicDocuments:yEe,documentTerms:bEe,notifications:uEe,unitTypes:xEe,CLEAR_FORM:"CLEAR_FORM",DELETE_ARTICLE:"DELETE_ARTICLE",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",DELETE_CONTRACT:"DELETE_CONTRACT",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",DELETE_PROJECT:"DELETE_PROJECT",DELETE_PROJECT_FILE:"DELETE_PROJECT_FILE",DELETE_TEMPLATE_MESSAGE:"DELETE_TEMPLATE_MESSAGE",SET_ARTICLES:"SET_ARTICLES",SET_ATAS:"SET_ATAS",SET_COMPANY_USERS:"SET_COMPANY_USERS",SET_CONTRACTS:"SET_CONTRACTS",SET_ENDCUSTOMERS:"SET_ENDCUSTOMERS",SET_FORM:"SET_FORM",SET_NOTIFICATIONS:"SET_NOTIFICATIONS",SET_OFFERS:"SET_OFFERS",SET_PROJECTS:"SET_PROJECTS",SET_PROJECT_FILES:"SET_PROJECT_FILES",UPDATE_COMPANY:"UPDATE_COMPANY"};function YU(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function GU(t,e,r){return e&&YU(t.prototype,e),r&&YU(t,r),t}function Nn(){return Nn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Nn.apply(this,arguments)}function fx(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Fl(t){return!!(t&&typeof t.hasOwnProperty=="function"&&(t.hasOwnProperty("__ownerID")||t._map&&t._map.hasOwnProperty("__ownerID")))}function KU(t,e,r){return Object.keys(t).reduce(function(n,a){var i=""+a;return n.has(i)?n.set(i,r(n.get(i),t[i])):n},e)}var dMe=function(e){return function(r){return Fl(r)?r.get(e):r[e]}},cMe=function(){function t(r,n,a){if(n===void 0&&(n={}),a===void 0&&(a={}),!r||typeof r!="string")throw new Error("Expected a string key for Entity, but found "+r+".");var i=a,o=i.idAttribute,s=o===void 0?"id":o,u=i.mergeStrategy,l=u===void 0?function(p,h){return Nn({},p,h)}:u,d=i.processStrategy,c=d===void 0?function(p){return Nn({},p)}:d,m=i.fallbackStrategy,f=m===void 0?function(p,h){}:m;this._key=r,this._getId=typeof s=="function"?s:dMe(s),this._idAttribute=s,this._mergeStrategy=l,this._processStrategy=c,this._fallbackStrategy=f,this.define(n)}var e=t.prototype;return e.define=function(n){this.schema=Object.keys(n).reduce(function(a,i){var o,s=n[i];return Nn({},a,(o={},o[i]=s,o))},this.schema||{})},e.getId=function(n,a,i){return this._getId(n,a,i)},e.merge=function(n,a){return this._mergeStrategy(n,a)},e.fallback=function(n,a){return this._fallbackStrategy(n,a)},e.normalize=function(n,a,i,o,s,u){var l=this,d=this.getId(n,a,i),c=this.key;if(c in u||(u[c]={}),d in u[c]||(u[c][d]=[]),u[c][d].some(function(f){return f===n}))return d;u[c][d].push(n);var m=this._processStrategy(n,a,i);return Object.keys(this.schema).forEach(function(f){if(m.hasOwnProperty(f)&&typeof m[f]=="object"){var p=l.schema[f],h=typeof p=="function"?p(n):p;m[f]=o(m[f],m,f,h,s,u)}}),s(this,m,n,a,i),d},e.denormalize=function(n,a){var i=this;return Fl(n)?KU(this.schema,n,a):(Object.keys(this.schema).forEach(function(o){if(n.hasOwnProperty(o)){var s=i.schema[o];n[o]=a(n[o],s)}}),n)},GU(t,[{key:"key",get:function(){return this._key}},{key:"idAttribute",get:function(){return this._idAttribute}}]),t}(),mx=function(){function t(r,n){n&&(this._schemaAttribute=typeof n=="string"?function(a){return a[n]}:n),this.define(r)}var e=t.prototype;return e.define=function(n){this.schema=n},e.getSchemaAttribute=function(n,a,i){return!this.isSingleSchema&&this._schemaAttribute(n,a,i)},e.inferSchema=function(n,a,i){if(this.isSingleSchema)return this.schema;var o=this.getSchemaAttribute(n,a,i);return this.schema[o]},e.normalizeValue=function(n,a,i,o,s,u){var l=this.inferSchema(n,a,i);if(!l)return n;var d=o(n,a,i,l,s,u);return this.isSingleSchema||d===void 0||d===null?d:{id:d,schema:this.getSchemaAttribute(n,a,i)}},e.denormalizeValue=function(n,a){var i=Fl(n)?n.get("schema"):n.schema;if(!this.isSingleSchema&&!i)return n;var o=this.isSingleSchema?void 0:Fl(n)?n.get("id"):n.id,s=this.isSingleSchema?this.schema:this.schema[i];return a(o||n,s)},GU(t,[{key:"isSingleSchema",get:function(){return!this._schemaAttribute}}]),t}(),fMe=function(t){fx(e,t);function e(n,a){if(!a)throw new Error('Expected option "schemaAttribute" not found on UnionSchema.');return t.call(this,n,a)||this}var r=e.prototype;return r.normalize=function(a,i,o,s,u,l){return this.normalizeValue(a,i,o,s,u,l)},r.denormalize=function(a,i){return this.denormalizeValue(a,i)},e}(mx),mMe=function(t){fx(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.normalize=function(a,i,o,s,u,l){var d=this;return Object.keys(a).reduce(function(c,m,f){var p,h=a[m];return h!=null?Nn({},c,(p={},p[m]=d.normalizeValue(h,a,m,s,u,l),p)):c},{})},r.denormalize=function(a,i){var o=this;return Object.keys(a).reduce(function(s,u){var l,d=a[u];return Nn({},s,(l={},l[u]=o.denormalizeValue(d,i),l))},{})},e}(mx),pMe=function(e){var r=Array.isArray(e);if(r&&e.length>1)throw new Error("Expected schema definition to be a single schema, but found "+e.length+".");return e[0]},XU=function(e){return Array.isArray(e)?e:Object.keys(e).map(function(r){return e[r]})},hMe=function(e,r,n,a,i,o,s){e=pMe(e);var u=XU(r);return u.map(function(l,d){return i(l,n,a,e,o,s)})},vMe=function(t){fx(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.normalize=function(a,i,o,s,u,l){var d=this,c=XU(a);return c.map(function(m,f){return d.normalizeValue(m,i,o,s,u,l)}).filter(function(m){return m!=null})},r.denormalize=function(a,i){var o=this;return a&&a.map?a.map(function(s){return o.denormalizeValue(s,i)}):a},e}(mx),JU=function(e,r,n,a,i,o,s){var u=Nn({},r);return Object.keys(e).forEach(function(l){var d=e[l],c=typeof d=="function"?d(r):d,m=i(r[l],r,l,c,o,s);m==null?delete u[l]:u[l]=m}),u},gMe=function(e,r,n){if(Fl(r))return KU(e,r,n);var a=Nn({},r);return Object.keys(e).forEach(function(i){a[i]!=null&&(a[i]=n(a[i],e[i]))}),a},yMe=function(){function t(r){this.define(r)}var e=t.prototype;return e.define=function(n){this.schema=Object.keys(n).reduce(function(a,i){var o,s=n[i];return Nn({},a,(o={},o[i]=s,o))},this.schema||{})},e.normalize=function(){for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return JU.apply(void 0,[this.schema].concat(a))},e.denormalize=function(){for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return gMe.apply(void 0,[this.schema].concat(a))},t}(),_Me=function t(e,r,n,a,i,o){if(typeof e!="object"||!e)return e;if(typeof a=="object"&&(!a.normalize||typeof a.normalize!="function")){var s=Array.isArray(a)?hMe:JU;return s(a,e,r,n,t,i,o)}return a.normalize(e,r,n,t,i,o)},bMe=function(e){return function(r,n,a,i,o){var s=r.key,u=r.getId(a,i,o);s in e||(e[s]={});var l=e[s][u];l?e[s][u]=r.merge(l,n):e[s][u]=n}},be={Array:vMe,Entity:cMe,Object:yMe,Union:fMe,Values:mMe},QU=function(e,r){if(!e||typeof e!="object")throw new Error('Unexpected input given to normalize. Expected type to be "object", found "'+(e===null?"null":typeof e)+'".');var n={},a=bMe(n),i={},o=_Me(e,e,null,r,a,i);return{entities:n,result:o}};const Ws=new be.Entity("files");new be.Array(Ws);const ZU=new be.Entity("projectFiles",{File:Ws});new be.Array(ZU);const px=new be.Entity("companyUsers");new be.Array(px);const hx=new be.Entity("offers",{Files:[Ws]});new be.Array(hx);const ez=new be.Entity("atas",{Files:[Ws]});new be.Array(ez);const vx=new be.Entity("projects",{CompanyUser:px,ProjectMembers:[px],ProjectFiles:[ZU]});ez.define({Project:vx});const wMe=new be.Array(vx),xMe=new be.Entity("articles");new be.Array(xMe);const tz=new be.Entity("certificates");new be.Array(tz);const PMe=new be.Entity("companies",{CompanyCertificates:[tz]}),kMe=new be.Array(PMe),rz=new be.Entity("companyReferenceItems",{Image:Ws,Thumbnail:Ws});new be.Array(rz);const TMe=new be.Entity("companyReferences",{CompanyReferenceItems:[rz]});new be.Array(TMe);const nz=new be.Entity("contracts",{Offer:hx});new be.Array(nz),hx.define({Contract:nz}),new be.Entity("endCustomers");const EMe=new be.Entity("notifications",{Project:vx});new be.Array(EMe);const MMe=new be.Entity("propertyDesignations");new be.Array(MMe);const SMe=new be.Entity("templateMessages");new be.Array(SMe);const jl="companies",{LOAD_FILE:Xht,FORM_RESET_OLD:az}=ke,{SET_FORM:gx}=Me.forms,{DO_LOAD_CURRENT_COMPANY:vm,DO_NORMALIZE_COMPANIES:iz,DO_UPDATE_CURRENT_COMPANY:oz,FORM_EDIT_COMPANY:OMe,FORM_SUBMIT_COMPANY:sz,FORM_NEW_COMPANY_BRANDING:uz,FORM_EDIT_COMPANY_BRANDING:yx,FORM_SUBMIT_COMPANY_BRANDING:lz,UPDATE_COMPANY_ACCOUNT_TYPE:dz}=kU,{SET_COMPANIES_FETCHING:_x,SET_COMPANIES_POSTING:da}=nx,CMe={async[iz](t,{companies:e=[]}){if(!e||!Array.isArray(e)||!e.length)throw new Error("Missing param companies");await this.dispatch(Ki,{data:e,schema:kMe})},async[vm]({commit:t,dispatch:e}){var r;try{t(_x,!0);const{data:n}=await lr.get("/company");return await e(iz,{companies:[n]}),await((r=this.$supportChat)==null?void 0:r.syncData()),t(_x,!1),n}catch(n){throw t(_x,!1),n}},async[oz]({dispatch:t,commit:e},{body:r}){try{e(da,!0),await lr.put("/company",r);const n=await t(vm);return e(da,!1),n}catch(n){throw e(da,!1),n}},async[dz]({dispatch:t,commit:e},{accountType:r,billingCycleCost:n,billingCycleInterval:a,billingCycleCount:i,premiumSource:o=null,quantity:s}){try{if(e(da,!0),!r)throw new Error("Missing parameter accountType");if(a&&!i)throw new Error("Param billingCycleCount is required if billingCycleInterval is used");if(!a&&i)throw new Error("Param billingCycleInterval is required if billingCycleCount is used");if((a||i)&&typeof n>"u")throw new Error("Param billingCycleCost is missing");const u={premiumSource:o};return a&&i&&n&&(u.billingCycleInterval=a,u.billingCycleCount=i,u.billingCycleCost=n),typeof s<"u"&&(u.quantity=s),await BTe(r,u),await t(vm),e(da,!1),!0}catch(u){return this.handleError(u,{object:"companyAccount",action:`${jl}/${dz}`}),!1}finally{e(da,!1)}},async[OMe]({rootGetters:t},{props:e=[]}={}){try{const r=ua(t["application/company"],e);return this.commit(`forms/${gx}`,{key:"company",formData:r}),!0}catch(r){return this.handleError(r),!1}},async[sz]({rootGetters:t,dispatch:e}){try{const r=t["forms/getFormByKey"]("company");return await e(oz,{body:r}),await this.dispatch(az,"company"),!0}catch(r){return this.handleError(r,{object:"companies",fallbackCode:"companies.submit",action:`${jl}/${sz}`}),!1}},async[uz]({rootGetters:t,dispatch:e}){try{const{CompanyBranding:r}=t["application/company"];if(r&&r.id)return e(yx);const n={about:""};return this.commit(`forms/${gx}`,{key:"companyBranding",formData:n}),!0}catch(r){return this.handleError(r,{object:"companies",action:`${jl}/${uz}`}),!1}},async[yx]({rootGetters:t}){try{const{CompanyBranding:e}=t["application/company"],r=e;return this.commit(`forms/${gx}`,{key:"companyBranding",formData:r}),!0}catch(e){return this.handleError(e,{object:"companies",action:`${jl}/${yx}`}),!1}},async[lz]({rootGetters:t,dispatch:e,commit:r}){try{r(da,!0);const n=t["forms/getFormByKey"]("companyBranding");let{id:a}=n;return a?await lr.put("/companyBranding",n):{id:a}=await lr.post("/companyBranding",n),e(vm),r(da,!1),await this.dispatch(az,"companyBranding"),a}catch(n){return r(da,!1),this.handleError(n,{object:"companies",fallbackCode:"companies.submit",action:`${jl}/${lz}`}),!1}}},qa=new be.Entity("files"),DMe=new be.Array(qa),gm=new be.Entity("companyUsers"),cz=new be.Array(gm),fz=new be.Entity("companies"),$Me=new be.Array(fz),Ji=new be.Entity("invoices");Ji.define({InvoiceFiles:[{File:qa,Thumbnail:qa}],creditInvoices:[Ji],creditsInvoice:Ji,interestInvoices:[Ji],interestForInvoice:Ji});const bx=new be.Array(Ji),AMe=new be.Entity("documents",{data:{Files:DMe,Invoices:bx}}),RMe=new be.Array(AMe),mz=new be.Entity("projectFiles",{File:qa}),IMe=new be.Array(mz),wx=new be.Entity("projects",{ProjectMembers:cz,ProjectFiles:[{File:qa}],Invoices:bx,CompanyUser:gm}),NMe=new be.Array(wx),LMe=new be.Entity("timeTracks",{CompanyUser:gm,Project:wx}),WMe=new be.Array(LMe),pz=new be.Entity("companyReference",{CompanyReferenceItem:{Image:qa,Thumbnail:qa}}),FMe=new be.Array(pz),hz=new be.Entity("documentTerms",{File:qa}),jMe=new be.Array(hz),VMe={project:wx,projects:NMe,invoice:Ji,invoices:bx,companyReference:pz,companyReferences:FMe,projectFile:mz,projectFiles:IMe,documents:RMe,companyUser:gm,companyUsers:cz,company:fz,companies:$Me,timeTracks:WMe,documentTerm:hz,documentTerms:jMe},UMe=(t,e)=>{const r=VMe[e];return r||console.warn(`No schema found for type: '${e}'`),QU(t,r)};function Qi(t,e,r=!1){let n=e.replace(/\[(\d*)\]/ig,(o,s)=>`.${s}`);n=n.split(".");let a=t;const i=n.pop();return n.length>0&&(a=n.reduce((o,s)=>{let u=o[s];return r&&(Ze(u)==="undefined"||Ze(u)==="null")&&(ie.set(o,s,{}),u=o[s]),u},t)),{root:a,prop:i}}function Fs(t,e){function r(n,a){Object.keys(a).forEach(i=>{const o=n[i]instanceof Object&&!Array.isArray(n[i]),s=a[i]instanceof Object&&!Array.isArray(a[i]);if(o&&s){Fs(n[i],a[i]);return}ie.set(n,i,a[i])})}r(t,e)}function Vl(t,{keyId:e="id"}={}){const r=[],n={};return t.forEach(a=>{n[a[e]]=a,r.push(a[e])}),{ids:r,values:n}}function vz({schema:t,getters:e,data:r,scope:n=null,instance:a=null}){let i=n;typeof i=="string"&&(i=[i]);const o={};return t&&Object.keys(t).map(s=>(t[s].$virtual&&t[s].$virtual.map(u=>{const{name:l,set:d}=u;let c={};if(r&&typeof r[s]<"u"?c=r[s]:typeof t[s].$default<"u"&&(c=t[s].$default),typeof c>"u")return!1;const m=a||this;return o[l]=d.call(m,c,{getters:e}),!0}),!0)),t&&i&&Array.isArray(i)&&Object.keys(t).map(s=>t[s].$scope?(i.some(l=>t[s].$scope.indexOf(l)>=0)||delete o[s],!0):(delete o[s],!0)),JSON.parse(JSON.stringify(o))}function zMe({schema:t,data:e,getters:r,scope:n=null,includeVirtual:a=!1,instance:i=null}){let o=n;if(typeof o=="string"&&(o=[o]),!t)throw new Error("Missing parameter schema");const s={};Object.keys(t).map(l=>(t[l].$default!=="undefined"&&(s[l]=t[l].$default),!0));let u=Object.assign({},s,e);return a&&(u={...u,...vz({schema:t,getters:r,data:e,scope:n,instance:i})}),t&&o&&Array.isArray(o)&&Object.keys(t).map(l=>t[l].$scope?(o.some(c=>t[l].$scope.indexOf(c)>=0)||delete u[l],!0):(delete u[l],!0)),JSON.parse(JSON.stringify(u))}function gz({next:t=null,projectId:e,docType:r,docId:n,invoiceId:a}={},i,o=void 0){if(!t||!i)return!1;switch(t){case"project":{if(!e)throw new zi(`Cannot redirect user on next: '${t}' as no projectId is defined`);i.push({name:"project",params:{id:e,modal:!1}},o);break}case"invoice":{if(!a)throw new zi(`Cannot redirect user on next: '${t}' as no invoiceId is defined`);i.push({name:"invoice",params:{id:a,modal:!1}},o);break}case"preview":{if(a){i.push({name:"previewInvoice",params:{id:a}},o);break}if(!e)throw new zi(`Cannot redirect user on next: '${t}' as no projectId is defined`);if(!r)throw new zi(`Cannot redirect user on next: '${t}' as no docType is defined`);if(!n)throw new zi(`Cannot redirect user on next: '${t}' as no docId is defined`);i.push({name:"Preview",params:{projectId:e,docType:r,docId:n}},o);break}default:throw new zi(`Cannot redirect user on next: '${t}' as it is not implemented`)}return!0}const{SET_COMPANIES:BMe,CLEAR_COMPANIES:HMe,SET_COMPANIES_FETCHING:qMe,SET_COMPANIES_POSTING:YMe}=nx,GMe={[BMe](t,{data:e}){if(typeof e!="object")throw Error("Data must be a company or an array of companies!");const r=Array.isArray(e)?e:[e],{ids:n,values:a}=Vl(r);Fs(t.data,a),t.ids=Yi([...n,...t.ids])},[HMe](t){ie.set(t,"data",{}),ie.set(t,"ids",[])},[qMe](t,e){t.isFetching=e},[YMe](t,e){t.isPosting=e}},KMe={namespaced:!0,state:lMe,getters:{companyById:t=>e=>t.data[e],certificateIdListForCurrentCompany:(t,e,r)=>()=>e.certificateIdListForCompany(r.application.user.companyId),certificateIdListForCompany:t=>e=>{const r=t.data[e].CompanyCertificates;return r||[]},isFetching:t=>t.isFetching,isPosting:t=>t.isPosting},actions:CMe,mutations:GMe},XMe={data:{},ids:[],isFetching:!1,isPosting:!1},Ya="companyUsers",{LOAD_COMPANY_USERS:yz,LOAD_COMPANY_USER:ym,DO_NORMALIZE_COMPANY_USERS:_m,UPDATE_COMPANY_USER:xx,CREATE_COMPANY_USER:Px,DELETE_COMPANY_USER:_z,PATCH_COMPANY_USER:kx,FORM_NEW_COMPANY_USER:JMe,FORM_EDIT_COMPANY_USER:QMe,FORM_SUBMIT_COMPANY_USER:bz}=TU,{SET_AS_NORMALIZED_DATA:ZMe,FORM_RESET_OLD:eSe,DELETE_FILE:tSe}=ke,{SET_COMPANY_USERS_FETCHING:bm,SET_COMPANY_USERS_POSTING:Ga}=ax,rSe={async[_m](t,{companyUsers:e=[]}){if(!e||!Array.isArray(e)||!e.length)throw new Error("Missing param companyUsers");await this.dispatch(ZMe,{data:e,schema:"companyUsers"})},async[yz]({dispatch:t,commit:e}){try{e(bm,!0);const{data:r}=await WTe();await t(_m,{companyUsers:r})}catch(r){this.handleError(r,{object:"companyUser",fallbackCode:"companyUser.getAll",action:`${Ya}/${yz}`})}finally{e(bm,!1)}},async[ym]({commit:t,dispatch:e,rootGetters:r},{id:n}){try{t(bm,!0);const{data:a}=await FTe(n);await e(_m,{companyUsers:[a]});const{id:i}=r["application/user"]||{};return n===i&&(ce.locale!==a.locale&&ce.l10n.changeLocale(a.locale),ce.lang!==a.language&&(ce.i18next.changeLanguage(a.language),location&&location.reload())),n}catch(a){return this.handleError(a,{object:"companyUser",objectId:n,fallbackCode:"companyUser.get",action:`${Ya}/${ym}`,actionPayload:arguments[1]}),null}finally{t(bm,!1)}},async[Px]({commit:t,dispatch:e,rootGetters:r},{body:n}){try{const{language:a,locale:i}=r["application/user"]||{},o={language:a||"en",locale:i||"en-US",...n};t(Ga,!0);const{data:s}=await jTe(o);return await e(_m,{companyUsers:[s]}),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("sentThingTo",{thing:ce.t("invitation"),recipient:s.email})}),s.id}catch(a){return this.handleError(a,{object:"companyUser",fallbackCode:"companyUser.post",action:`${Ya}/${Px}`,actionPayload:arguments[1]}),null}finally{t(Ga,!1)}},async[xx]({dispatch:t,commit:e,getters:r},{id:n,body:a}){var i;try{e(Ga,!0);const{AvatarPublicId:o}=a,{AvatarPublicId:s}=r.byId(n);return o&&o!==s&&this.dispatch(tSe,{id:s}),await VTe(n,a),await t(ym,{id:n}),(i=this.$supportChat)==null||i.syncData(),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("updatedThing",{thing:ce.t("user")})}),n}catch(o){return this.handleError(o,{object:"companyUser",objectId:n,fallbackCode:"companyUser.put",action:`${Ya}/${xx}`,actionPayload:arguments[1]}),null}finally{e(Ga,!1)}},async[_z]({commit:t},{id:e}){try{return t(Ga,!0),await UTe(e),t(ax.DELETE_COMPANY_USER,e),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("removedThing",{thing:ce.t("user")}),actions:{undo:()=>{this.dispatch(`${Ya}/${kx}`,{id:e})}}}),e}catch(r){return this.handleError(r,{object:"companyUser",objectId:e,fallbackCode:"companyUser.delete",action:`${Ya}/${_z}`,actionPayload:arguments[1]}),null}finally{t(Ga,!1)}},async[kx]({dispatch:t,commit:e},{id:r}){try{return e(Ga,!0),await zTe(r),await t(ym,{id:r}),r}catch(n){return this.handleError(n,{object:"companyUser",objectId:r,fallbackCode:"companyUser.patch",action:`${Ya}/${kx}`,actionPayload:arguments[1]}),null}finally{e(Ga,!1)}},[JMe]({commit:t,rootGetters:e}){let r="en";const n=e["application/user"];n.language&&({language:r}=n);const a={AvatarPublicId:null,CompanyId:null,CompanyUserPermission:{manageCompany:!1,manageUsers:!1,manageProjects:!1,manageOwnProjects:!1,showPrices:!1,manageAtas:!1,manageOwnAtas:!1,createTimeTracks:!0,readTimeTracks:!1,readOwnTimeTracks:!0,modifyTimeTracks:!1,modifyOwnTimeTracks:!0,deleteTimeTracks:!1,deleteOwnTimeTracks:!0,attestTimeTracks:!1,createInvoices:!1,readInvoices:!1,readOwnInvoices:!1,modifyInvoices:!1,modifyOwnInvoices:!1,deleteInvoices:!1,deleteOwnInvoices:!1,attestInvoices:!1,attestOwnInvoices:!1,exportInvoices:!1,modifyBookkeepingSettings:!1},cellphone:null,email:null,finishedGuide:!1,firstname:null,id:null,language:r,lastActive:null,lastname:null,resetPasswordExpires:null,resetPasswordToken:null};return t(`forms/${Me.SET_FORM}`,{key:"companyUser",formData:a},{root:!0})},[QMe]({commit:t,getters:e},{id:r,props:n=[]}){const a=ua(e.byId(r),n);return t(`forms/${Me.SET_FORM}`,{key:"companyUser",formData:a},{root:!0})},async[bz]({rootGetters:t,dispatch:e}){try{const r=t["forms/getFormByKey"]("companyUser");let{id:n}=r;return n?await e(xx,{id:r.id,body:r}):n=await e(Px,{body:r}),await this.dispatch(eSe,"companyUser"),!0}catch(r){return this.handleError(r,{object:"companyUser",action:`${Ya}/${bz}`,actionPayload:arguments[1]}),!1}}},{SET_COMPANY_USERS:nSe,DELETE_COMPANY_USER:aSe,CLEAR_COMPANY_USERS:iSe,SET_COMPANY_USERS_FETCHING:oSe,SET_COMPANY_USERS_POSTING:sSe}=ax,uSe={[nSe](t,{data:e=[]}){if(typeof e!="object")throw Error("Data must be a company user or an array of company users!");const r=Array.isArray(e)?e:[e],{ids:n,values:a}=Vl(r);Fs(t.data,a),t.ids=Yi([...n,...t.ids])},[aSe](t,e){ie.delete(t.data,e);const r=t.ids.indexOf(e);r!==-1&&t.ids.splice(r,1)},[iSe](t){ie.set(t,"data",{}),ie.set(t,"ids",[])},[oSe](t,e){t.isFetching=e},[sSe](t,e){t.isPosting=e}},lSe={namespaced:!0,state:XMe,getters:{referenceById:t=>e=>t.data[e],byId:t=>e=>{const r=t.data[e];if(!r)return null;const{firstname:n,lastname:a}=r;return{...r,fullName:`${n||""} ${a||""}`.trim(),role:zke(r.CompanyUserPermission),avatarUrl:`${ge.api.baseUrl}/file/${r.AvatarPublicId}/download`}},all:(t,e)=>{const r={};return t.ids.forEach(n=>{r[n]=e.byId(n)}),r},isPosting:t=>t.isPosting,isFetching:t=>t.isFetching},actions:rSe,mutations:uSe},dSe={...{invoice:{},isFetchingInvoice:!1,isPostingInvoice:!1},companyUser:{},company:{},isFetching:!1,isPosting:!1},wm="settings",{FORM_RESET_OLD:cSe}=ke,{DO_LOAD_INVOICE_SETTINGS:Tx,LOAD_INVOICE_SETTINGS:wz,DO_UPDATE_INVOICE_SETTINGS:Ex,UPDATE_INVOICE_SETTINGS:xz,FORM_EDIT_INVOICE_SETTINGS:Pz,FORM_SUBMIT_INVOICE_SETTINGS:kz}=CU,{SET_INVOICE_SETTINGS_FETCHING:Tz,SET_INVOICE_SETTINGS_POSTING:Ez}=sx,{SET_SETTINGS:fSe}=Me.settings,{SET_FORM:mSe}=Me.forms,pSe={async[Tx]({commit:t}){try{t(Tz,!0);const{data:e}=await YTe();t(fSe,{key:"invoice",settings:e})}catch(e){throw e}finally{t(Tz,!1)}},async[wz]({dispatch:t}){try{await t(Tx)}catch(e){this.handleError(e,{object:"companySettings",fallbackCode:"settings.get",action:`${wm}/${wz}`})}},async[Ex]({dispatch:t,commit:e},{data:r}){try{e(Ez,!0),await GTe(r),t(Tx)}catch(n){throw n}finally{e(Ez,!1)}},async[xz]({dispatch:t},{data:e}){try{return await t(Ex,{data:e}),!0}catch(r){return this.handleError(r,{object:"setting",fallbackCode:"settings.put",action:`${wm}/${xz}`,actionPayload:arguments[1]}),!1}},async[Pz]({commit:t,state:e},{props:r=[]}={}){try{const n=ua(e.invoice,r);return t(`forms/${mSe}`,{key:"companyInvoiceSettings",formData:n},{root:!0}),!0}catch(n){return this.handleError(n,{object:"setting",fallbackCode:"setting.editInvoice",action:`${wm}/${Pz}`,actionPayload:arguments[1]}),!1}},async[kz]({rootGetters:t,dispatch:e}){try{const r=t["forms/getFormByKey"]("companyInvoiceSettings"),{invoicePaymentAccountType:n}=r;return n==="bankgiro"?(r.invoicePaymentDomesticClearingNo=null,r.invoicePaymentDomesticAccountNo=null):n==="domesticBankAcc"&&(r.invoicePaymentBankGiro=null),await e(Ex,{data:r}),await this.dispatch(cSe,"companyInvoiceSettings"),!0}catch(r){return this.handleError(r,{object:"setting",fallbackCode:"setting.submitInvoice",action:`${wm}/${kz}`}),!1}}},Ka="settings",{FORM_RESET_OLD:Mz,DO_LOAD_INVOICE_SETTINGS:hSe}=ke,{DO_LOAD_ALL_SETTINGS:Sz,LOAD_ALL_SETTINGS:Oz,DO_LOAD_SETTINGS_COMPANY:xm,LOAD_SETTINGS_COMPANY:Cz,LOAD_SETTINGS_COMPANYUSER:Dz,UPDATE_SETTINGS:$z,DO_UPDATE_SETTINGS:Ul,FORM_EDIT_COMPANY_SETTINGS:Az,DO_LOAD_SETTINGS_COMPANYUSER:Pm,FORM_SUBMIT_COMPANY_SETTINGS:Rz,FORM_EDIT_COMPANY_USER_SETTINGS:Iz,FORM_SUBMIT_COMPANY_USER_SETTINGS:Nz}=DU,{SET_SETTINGS:Mx,SET_SETTINGS_FETCHING:km,SET_SETTINGS_POSTING:Lz}=Me.settings,{SET_FORM:Wz}=Me.forms,Fz=["ataTravel"],vSe=["extraWorkPrice","extraWorkManagementPrice","extraEntrepreneurPercentage","extraOtherPercentage"],jz=t=>{const e=t;return Object.keys(e).forEach(r=>{Fz.includes(r)&&e[r]==="0"?e[r]="":e[r]==="true"?e[r]=!0:e[r]==="false"?e[r]=!1:e[r]==="null"?e[r]=null:typeof e[r]!="boolean"&&!Number.isNaN(Number(e[r]))&&e[r]!==""&&(e[r]=Number(e[r]))}),e},Tm=t=>{const e=[];return Object.keys(t).forEach(r=>{let n=t[r];t[r]===!0?n="true":t[r]===!1&&(n="false"),vSe.includes(r)&&(n=Number(n)),Fz.includes(r)&&(t[r]===!1||t[r]==="")?e.push({name:r,value:!1,type:"string"}):e.push({name:r,value:n})}),e},gSe={...pSe,async[Sz]({dispatch:t}){await t(xm),await t(Pm),await this.dispatch(hSe)},async[Oz]({dispatch:t}){try{await t(Sz)}catch(e){this.handleError(e,{object:"settings",fallbackCode:"settings.get",action:`${Ka}/${Oz}`})}},async[xm]({commit:t}){try{t(km,!0);const{data:e}=await lr.get("/companySetting"),r=jz(e);t(Mx,{key:"company",settings:r});const{ataTitleKey:n}=e;n&&n!=="ata"&&ce.i18next.addResources(ce.i18next.language,"_common",{ata:`$t(${n})`,ataThe:`$t(${n}The)`})}catch(e){throw e}finally{t(km,!1)}},async[Cz]({dispatch:t}){try{await t(xm)}catch(e){this.handleError(e,{object:"companySettings",fallbackCode:"settings.get",action:`${Ka}/${Cz}`})}},async[Pm]({dispatch:t,commit:e}){var r;try{e(km,!0);const{data:n}=await lr.get("/companyUserSetting"),a=jz(n);e(Mx,{key:"companyUser",settings:a});const{autoTriggerPurchaseEvent:i}=a;if(i){const{currency:o,amount:s,accountType:u}=i||{};(r=this.$trackEvent)==null||r.call(this,"purchase",{currency:o,amount:s,accountType:u}),await t(Ul,{key:"companyUser",settings:Tm({autoTriggerPurchaseEvent:null})})}}catch(n){throw n}finally{e(km,!1)}},async[Dz]({dispatch:t}){try{await t(Pm)}catch(e){this.handleError(e,{object:"companyUserSettings",fallbackCode:"settings.get",action:`${Ka}/${Dz}`})}},async[$z]({dispatch:t,commit:e},{key:r,settings:n}){try{if(!r)throw new Error("Missing valid parameter key");const a=Tm(n);return e(Mx,{key:r,settings:n}),await t(Ul,{key:r,settings:a}),!0}catch(a){return this.handleError(a,{object:"setting",fallbackCode:"settings.put",action:`${Ka}/${$z}`,actionPayload:arguments[1]}),!1}},async[Ul]({dispatch:t,commit:e},{key:r,settings:n}){try{if(e(Lz,!0),r==="company")await lr.post("/companySetting",n),t(xm);else if(r==="companyUser")await lr.post("/companyUserSetting",n),t(Pm);else throw new Error(`Setting key: '${r}' is not valid, cannot update settings.`)}catch(a){throw a}finally{e(Lz,!1)}},async[Az]({commit:t,state:e},{props:r=[]}={}){try{const n=ua(e.company,r);return t(`forms/${Wz}`,{key:"companySettings",formData:n},{root:!0}),!0}catch(n){return this.handleError(n,{object:"setting",fallbackCode:"setting.editCompany",action:`${Ka}/${Az}`,actionPayload:arguments[1]}),!1}},async[Rz]({rootGetters:t,dispatch:e}){try{const r=t["forms/getFormByKey"]("companySettings"),n=Tm(r);return await e(Ul,{key:"company",settings:n}),await this.dispatch(Mz,"companySettings"),!0}catch(r){return this.handleError(r,{object:"setting",fallbackCode:"setting.submitCompany",action:`${Ka}/${Rz}`}),!1}},async[Iz]({commit:t,state:e},{props:r=[]}={}){try{const n=ua(e.companyUser,r);return t(`forms/${Wz}`,{key:"companyUserSettings",formData:n},{root:!0}),!0}catch(n){return this.handleError(n,{object:"setting",fallbackCode:"setting.editCompanyUser",action:`${Ka}/${Iz}`,actionPayload:arguments[1]}),!1}},async[Nz]({rootGetters:t,dispatch:e}){try{const r=t["forms/getFormByKey"]("companyUserSettings"),n=Tm(r);return await e(Ul,{key:"companyUser",settings:n}),await this.dispatch(Mz,"companyUserSettings"),!0}catch(r){return this.handleError(r,{object:"setting",fallbackCode:"setting.submitCompanyUser",action:`${Ka}/${Nz}`}),!1}}},{SET_INVOICE_SETTINGS_FETCHING:ySe,SET_INVOICE_SETTINGS_POSTING:_Se}=sx,bSe={[ySe](t,e){t.isFetchingInvoice=e},[_Se](t,e){t.isPostingInvoice=e}},{SET_SETTINGS:wSe,CLEAR_SETTINGS:xSe,SET_SETTINGS_FETCHING:PSe,SET_SETTINGS_POSTING:kSe}=$U,TSe={...bSe,[wSe](t,{key:e,settings:r={}}){if(!t[e])throw Error(`${e} is not a valid key/type`);Object.keys(r).forEach(n=>{const a=r[n];ie.set(t[e],n,a)})},[xSe](t,{key:e,name:r=null}){r?ie.delete(t[e],r):ie.set(t,e,{})},[PSe](t,e){t.isFetching=e},[kSe](t,e){t.isPosting=e}},ESe={...{allInvoiceSettings:t=>t.invoice,getInvoiceSetting:t=>e=>{const r=t.invoice[e];return typeof r<"u"?r:null},isFetchingInvoice:t=>t.isFetchingInvoice,isPostingInvoice:t=>t.isPostingInvoice,isRegisteredForInvoicing:(t,e)=>e.getInvoiceSetting("isRegisteredForInvoicing")},allCompanySettings:t=>t.company,getCompanySetting:t=>e=>{const r=t.company[e];return typeof r<"u"?r:null},getCompanyUserSetting:t=>e=>{const r=t.companyUser[e];return typeof r<"u"?r:null},isPosting:t=>t.isPosting,isFetching:t=>t.isFetching,allowHidePrice:(t,e)=>e.getCompanySetting("work_allowHidePrice"),hidePriceOnNewlyAddedArticles:(t,e)=>e.allowHidePrice&&e.getCompanySetting("work_default_hidePrice"),allowDocumentCustomSender:(t,e)=>e.getCompanySetting("allowProjectCustomSender"),allowHideDocArticlePriceInput:(t,e)=>e.getCompanySetting("allowHideDocArticlePriceInput"),defaultHideDocArticlePriceInput:(t,e)=>e.getCompanySetting("hideDocArticlePriceInput"),defaultVatRate:(t,e)=>e.getCompanySetting("defaultVatRate"),defaultCurrency:(t,e)=>e.getCompanyUserSetting("defaultCurrency"),documentSenderSign:(t,e)=>e.getCompanyUserSetting("documentSenderSign"),showOverviewOnboardingOverlay:(t,e)=>e.getCompanyUserSetting("showOverviewOnboardingOverlay"),reminderSettings:t=>{const e=t.company||{};return{notAnswered:e.defaultReminderRemindDays,notViewed:e.defaultReminderViewedDays,expires:e.defaultReminderExpireDays}},defaultDocumentTheme:t=>{const{documentThemeBackgroundFilter:e,documentThemePriceBackground:r,documentThemePrimaryColor:n,offerBrandingBackgroundUrl:a}=t.company||{};return{...e&&e!=="hsla(239,71%,89%,0)"&&{backgroundFilter:e},...r&&r!=="hsla(249,60%,34%,1)"&&{priceSummaryBackground:r},...n&&n!=="hsla(271,100%,38%,1)"&&{headingColor:n},...n&&n!=="hsla(271,100%,38%,1)"&&{headingColor:n},...a&&{background:a}}},isAuthenticatedCRM:(t,e)=>(r,n=null)=>({hubspot:[{key:"hubspotNativeTokens",type:"getCompanyUserSetting",appType:"native"},{key:"hubspotTokens",type:"getCompanyUserSetting",appType:"extension"}],upsales:[{key:"upsalesApiKey",type:"getCompanySetting"}],salesforce:[{key:"salesforceTokens",type:"getCompanyUserSetting"}],pipedrive:[{key:"pipedriveTokens",type:"getCompanyUserSetting"}]}[r]||[]).filter(i=>!n||i.appType===n).some(({key:i,type:o})=>{var s;return!!((s=e[o])!=null&&s.call(e,i))}),allAuthenticatedCRMs:(t,e)=>["hubspot","salesforce","pipedrive"].filter(r=>!!e.isAuthenticatedCRM(r)),isFortnoxInstalled:(t,e)=>!!e.getCompanySetting("fortnoxTokens")&&In.checkFeature("fortnox")},MSe={namespaced:!0,state:dSe,getters:ESe,actions:gSe,mutations:TSe},SSe={...(()=>({isUploading:!1,article:{},document:{},document2:{},projectNote:{},company:{},companyBranding:{},companyUser:{},companyInvoiceSettings:{},companySettings:{},companyUserSettings:{},moduleArticles:[],modulePrices:{},file:{},invoice:{},invoiceNote:{},companyReference:{},companyReferenceItems:[],endCustomer:{},timeline:{},timeTrack:{TimeTrackSlots:[]},documentTerm:{},kycForm:{}}))()},{FORM_DOCUMENT_SET_CLIENT:Vz,FORM_DOCUMENT_SUBMIT_CLIENT:OSe}=An,{SET_FORM_VALUE:Zi,REMOVE_FORM_VALUE:Uz}=Rn,CSe={async[Vz]({commit:t,getters:e,rootGetters:r},{formData:n}){if(!n)return t(Zi,{key:"document.ModuleEndCustomer",value:null}),t(Uz,"document.ModuleExtraCustomers"),!0;const a=Object.assign({},n);a.id=null,a.EndCustomerId=n.id,t(Zi,{key:"document.ModuleEndCustomer",value:a});const i=e.documentField("ModuleExtraCustomers");a.customerType==="company"&&a.reference&&i&&i.length===0&&t(Zi,{key:"document.ModuleExtraCustomers",value:{name:a.reference}});const o=r["settings/getCompanySetting"]("priceInputCompany"),s=r["settings/getCompanySetting"]("priceInputDefault");return a.customerType==="company"&&o?t("application/updateField",{path:"priceInputVat",value:o},{root:!0}):a.customerType==="individual"&&s&&t("application/updateField",{path:"priceInputVat",value:s},{root:!0}),!0},async[OSe]({commit:t,dispatch:e,rootGetters:r},{mode:n="create"}={}){let a=null;if(n==="edit"){const i=r["forms/documentField"]("ModuleEndCustomer"),o=r["forms/getFormByKey"]("endCustomer");if(!i)throw new Error("Could not find the old client");if(!o)throw new Error("Could not find the new client");if(i.customerType==="individual"&&o.customerType==="company")t(Uz,"document.ModuleExtraCustomers"),t(Zi,{key:"document.ModuleExtraCustomers",value:{name:o.reference}});else if(o.customerType==="company"){const s=r["forms/documentField"]("ModuleExtraCustomers");s&&s[0]?t(Zi,{key:"document.ModuleExtraCustomers[0]",value:{name:o.reference}}):t(Zi,{key:"document.ModuleExtraCustomers",value:{name:o.reference}})}a=Object.assign({},o,{id:o.EndCustomerId}),o.doUpdateEndCustomer&&(t(Zi,{key:"endCustomer",value:a}),await e(`endCustomers/${la.FORM_SUBMIT_ENDCUSTOMER}`,{},{root:!0}))}else{const i=await e(`endCustomers/${la.FORM_SUBMIT_ENDCUSTOMER}`,{},{root:!0}),o=r["endCustomers/endCustomerById"](i);if(!o)throw new Error("Could not find the endCustomer");a=Object.assign({},o)}return await e(Vz,{formData:a}),!0}};var zz={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Ae,function(){Array.isArray||(Array.isArray=function(i){return Object.prototype.toString.call(i)==="[object Array]"});function r(i){for(var o=[],s=0,u=i.length;s<u;s++)o.indexOf(i[s])===-1&&o.push(i[s]);return o}var n={},a={"==":function(i,o){return i==o},"===":function(i,o){return i===o},"!=":function(i,o){return i!=o},"!==":function(i,o){return i!==o},">":function(i,o){return i>o},">=":function(i,o){return i>=o},"<":function(i,o,s){return s===void 0?i<o:i<o&&o<s},"<=":function(i,o,s){return s===void 0?i<=o:i<=o&&o<=s},"!!":function(i){return n.truthy(i)},"!":function(i){return!n.truthy(i)},"%":function(i,o){return i%o},log:function(i){return console.log(i),i},in:function(i,o){return!o||typeof o.indexOf>"u"?!1:o.indexOf(i)!==-1},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(i,o,s){if(s<0){var u=String(i).substr(o);return u.substr(0,u.length+s)}return String(i).substr(o,s)},"+":function(){return Array.prototype.reduce.call(arguments,function(i,o){return parseFloat(i,10)+parseFloat(o,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(i,o){return parseFloat(i,10)*parseFloat(o,10)})},"-":function(i,o){return o===void 0?-i:i-o},"/":function(i,o){return i/o},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(i,o){return i.concat(o)},[])},var:function(i,o){var s=o===void 0?null:o,u=this;if(typeof i>"u"||i===""||i===null)return u;for(var l=String(i).split("."),d=0;d<l.length;d++)if(u==null||(u=u[l[d]],u===void 0))return s;return u},missing:function(){for(var i=[],o=Array.isArray(arguments[0])?arguments[0]:arguments,s=0;s<o.length;s++){var u=o[s],l=n.apply({var:u},this);(l===null||l==="")&&i.push(u)}return i},missing_some:function(i,o){var s=n.apply({missing:o},this);return o.length-s.length>=i?[]:s}};return n.is_logic=function(i){return typeof i=="object"&&i!==null&&!Array.isArray(i)&&Object.keys(i).length===1},n.truthy=function(i){return Array.isArray(i)&&i.length===0?!1:!!i},n.get_operator=function(i){return Object.keys(i)[0]},n.get_values=function(i){return i[n.get_operator(i)]},n.apply=function(i,o){if(Array.isArray(i))return i.map(function(v){return n.apply(v,o)});if(!n.is_logic(i))return i;var s=n.get_operator(i),u=i[s],l,d,c,m,f;if(Array.isArray(u)||(u=[u]),s==="if"||s=="?:"){for(l=0;l<u.length-1;l+=2)if(n.truthy(n.apply(u[l],o)))return n.apply(u[l+1],o);return u.length===l+1?n.apply(u[l],o):null}else if(s==="and"){for(l=0;l<u.length;l+=1)if(d=n.apply(u[l],o),!n.truthy(d))return d;return d}else if(s==="or"){for(l=0;l<u.length;l+=1)if(d=n.apply(u[l],o),n.truthy(d))return d;return d}else{if(s==="filter")return m=n.apply(u[0],o),c=u[1],Array.isArray(m)?m.filter(function(v){return n.truthy(n.apply(c,v))}):[];if(s==="map")return m=n.apply(u[0],o),c=u[1],Array.isArray(m)?m.map(function(v){return n.apply(c,v)}):[];if(s==="reduce")return m=n.apply(u[0],o),c=u[1],f=typeof u[2]<"u"?u[2]:null,Array.isArray(m)?m.reduce(function(v,y){return n.apply(c,{current:y,accumulator:v})},f):f;if(s==="all"){if(m=n.apply(u[0],o),c=u[1],!Array.isArray(m)||!m.length)return!1;for(l=0;l<m.length;l+=1)if(!n.truthy(n.apply(c,m[l])))return!1;return!0}else if(s==="none"){if(m=n.apply(u[0],o),c=u[1],!Array.isArray(m)||!m.length)return!0;for(l=0;l<m.length;l+=1)if(n.truthy(n.apply(c,m[l])))return!1;return!0}else if(s==="some"){if(m=n.apply(u[0],o),c=u[1],!Array.isArray(m)||!m.length)return!1;for(l=0;l<m.length;l+=1)if(n.truthy(n.apply(c,m[l])))return!0;return!1}}if(u=u.map(function(v){return n.apply(v,o)}),a.hasOwnProperty(s)&&typeof a[s]=="function")return a[s].apply(o,u);if(s.indexOf(".")>0){var p=String(s).split("."),h=a;for(l=0;l<p.length;l++){if(!h.hasOwnProperty(p[l]))throw new Error("Unrecognized operation "+s+" (failed at "+p.slice(0,l+1).join(".")+")");h=h[p[l]]}return h.apply(o,u)}throw new Error("Unrecognized operation "+s)},n.uses_data=function(i){var o=[];if(n.is_logic(i)){var s=n.get_operator(i),u=i[s];Array.isArray(u)||(u=[u]),s==="var"?o.push(u[0]):u.forEach(function(l){o.push.apply(o,n.uses_data(l))})}return r(o)},n.add_operation=function(i,o){a[i]=o},n.rm_operation=function(i){delete a[i]},n.rule_like=function(i,o){if(o===i||o==="@")return!0;if(o==="number")return typeof i=="number";if(o==="string")return typeof i=="string";if(o==="array")return Array.isArray(i)&&!n.is_logic(i);if(n.is_logic(o)){if(n.is_logic(i)){var s=n.get_operator(o),u=n.get_operator(i);if(s==="@"||s===u)return n.rule_like(n.get_values(i,!1),n.get_values(o,!1))}return!1}if(Array.isArray(o))if(Array.isArray(i)){if(o.length!==i.length)return!1;for(var l=0;l<o.length;l+=1)if(!n.rule_like(i[l],o[l]))return!1;return!0}else return!1;return!1},n})})(zz);function DSe(t,e){let r=0;const n=[];for(const[a,i]of t.entries()){const{code:o,data:s}=i;if(o===e){const u=n.slice(r).find(({code:l,data:d})=>{if(l!==o)return!1;const c=ee(d,"client.id"),m=ee(s,"client.id"),f=ee(d,"email"),p=ee(s,"email");return c===m&&m!==void 0||f===p&&p!==void 0});u?(u.children=[...u.children,i],u.createdAt=i.createdAt):n.push({...i,children:[]})}else o==="sent"&&(r=a?a-1:0),n.push(i)}return n}const Bz=({nodes:t,data:e})=>{const r=[];return t.forEach(n=>{const a=n.isVisible?Lke(n.isVisible,["_uniqueId"]):!1;(!a||zz.exports.apply(a,e))&&r.push(n),n&&Array.isArray(n.children)&&n.children.length&&(n.children=Bz({nodes:n.children,data:e}))}),r},Hz={rot:{max:5e4*100,ratio:.3},rut:{max:75e3*100,ratio:.5},greenRot15:{max:5e4*100,ratio:.15},greenRot50:{max:5e4*100,ratio:.5}},qz=(t,e,r)=>{if(!Hz[t])throw new Error("Missing param type");const{max:n,ratio:a}=Hz[t];return Math.min(r*n,e*a)},Em=({type:t="fixed",currency:e,maxTotal:r=null,articles:n=[],clients:a=[],region:i={},useVat:o,rounding:s})=>{if(typeof o>"u")throw new Error("Missing param useVat");if(typeof o!="boolean")throw new Error("Param useVat must be a boolean");if(typeof s!="object"||s===null)throw new Error("Param rounding must be a object");if(typeof s.enabled>"u")throw new Error("Missing param rounding.enabled");if(typeof s.enabled!="boolean")throw new Error("Param rounding.enabled must be a boolean");if(typeof s.interval>"u")throw new Error("Missing param rounding.interval");if(typeof s.interval!="number")throw new Error("Param rounding.interval must be a number");if(typeof s.show>"u")throw new Error("Missing param rounding.show");if(typeof s.show!="boolean")throw new Error("Param rounding.show must be a boolean");const u={type:t,subTotal:0,taxAmount:0,roundingAmount:0,total:0,currency:e,maxTotal:t==="openAccMaxPrice"?r||0:null,region:{country:"sweden",houseWorkType:null,reverseVat:!!a.find(c=>ee(c,"region.reverseVat")),houseWorkManualAmount:i.houseWorkManualAmount||null,houseWorkWork:0,houseWorkAmount:i.houseWorkManualAmount||i.houseWorkAmount||null},helpers:{discount:0,isIndivid:!a.find(c=>c.type==="company"),noOfClients:a.length||1},useVat:o,rounding:{enabled:s.enabled,interval:s.interval,show:s.show}},l=c=>c/100;if(u.helpers.isIndivid&&!u.region.reverseVat){const c=[...n].sort((m,f)=>new Date(f.updatedAt).getTime()-new Date(m.updatedAt).getTime()).find(Z1);c&&!u.region.houseWorkType&&(u.region.houseWorkType=pU(c))}for(let c of n){c=qi(c);const{totalAmount:m,currency:f,priceType:p,discount:h,discountType:v}=c;let{vat:y}=c;o||(y=0),["fixed","approx"].includes(p)&&(u.currency=f,u.subTotal+=m,u.taxAmount+=m*l(y),u.helpers.discount+=v==="percentage"?m/((100-h/100)/100)-m:h,u.region.houseWorkType&&Z1(c)&&(u.region.houseWorkWork+=m*((100+y)/100)))}!u.helpers.isIndivid&&u.region.reverseVat&&(u.taxAmount=0),u.region.houseWorkType&&u.region.houseWorkAmount===null&&(u.region.houseWorkAmount=qz(u.region.houseWorkType,u.region.houseWorkWork,u.helpers.noOfClients));const d=u.subTotal+u.taxAmount-u.region.houseWorkAmount;return u.roundingAmount=s.enabled&&s.interval?Math.round(d/s.interval)*s.interval-d:0,u.total=d+u.roundingAmount,Q1(u),u},$Se=t=>{if(!t)return null;const{currency:e,clients:r=[],articles:n=[]}=t,a=ee(t,"data.packageGroups",{}),i=ee(t,"data.formSettings.useVat",!0),o={enabled:ee(t,"data.formSettings.rounding.enabled",!1),interval:ee(t,"data.formSettings.rounding.interval",1),show:ee(t,"data.formSettings.rounding.show",!0)},s=[],u=[];let l=null,d=null,c=null;if(Object.keys(a).forEach(h=>{const v=a[h].packages.filter(({isSelected:b})=>b);u.push(...v.map(({packageId:b})=>b));const y=ee(v,"[0].data.prices.type","fixed");s.push(...Array.isArray(y)?y:[y]),v.forEach(b=>{const{maxTotal:g=null,region:_}=ee(b,"data.prices")||{};y==="openAccMaxPrice"&&!Number.isNaN(Number.parseInt(g,10))&&(l+=g),_&&!Number.isNaN(Number.parseInt(_.houseWorkManualAmount,10))&&(d+=_.houseWorkManualAmount)})}),!s.length){const h=ee(t,"data.prices.type","fixed");s.push(...Array.isArray(h)?h:[h])}const m=n.filter(({packageId:h})=>!h||u.includes(h)),f=m.filter(Z1),p={};for(let h of f){h=qi(h);const v=pU(h),y=i?h.vat:0;p[v]||(p[v]=null),p[v]+=h.totalAmount*((100+y)/100)}for(const[h,v]of Object.entries(p))v&&(c+=qz(h,v,r.length||1));return{...Em({currency:e,articles:m,clients:r,region:{country:"sweden",houseWorkManualAmount:d,houseWorkAmount:c},useVat:i,rounding:o}),type:s,maxTotal:l}},ASe=t=>{const e=a=>ce.t(`_common:documentMentions.${a}`),r=!!ee(t,"clients.0"),n={clientName:{key:"clients.0.name",meta:{inputDisabled:!r,virtual:!0}},clientEmail:{key:"clients.0.email",meta:{inputDisabled:!r,virtual:!0}},clientPhone:{key:"clients.0.cellphone",meta:{inputDisabled:!r,virtual:!0}},clientCompany:{key:"clients.0.companyName",meta:{inputDisabled:!r,virtual:!0}},clientAddress:{key:"clients.0.addresses.standard.street",meta:{inputDisabled:!r,virtual:!0}},clientZip:{key:"clients.0.addresses.standard.zip",meta:{inputDisabled:!r,virtual:!0}},clientCity:{key:"clients.0.addresses.standard.city",meta:{inputDisabled:!r,virtual:!0}},clientSocialNo:{key:"clients.0.socialNo",meta:{inputDisabled:!0,virtual:!0}},clientOrgNo:{key:"clients.0.orgNo",meta:{inputDisabled:!0,virtual:!0}},senderName:{key:"companyUser.fullName",meta:{inputDisabled:!0,virtual:!0}},senderEmail:{key:"companyUser.email",meta:{inputDisabled:!0,virtual:!0}},senderPhone:{key:"companyUser.cellphone",meta:{inputDisabled:!0,virtual:!0}},senderCompany:{key:"company.name",meta:{inputDisabled:!0,virtual:!0}},senderAddress:{key:"company.street",meta:{inputDisabled:!0,virtual:!0}},senderZip:{key:"company.zip",meta:{inputDisabled:!0,virtual:!0}},senderCity:{key:"company.city",meta:{inputDisabled:!0,virtual:!0}},documentName:{key:"data.name",meta:{inputDisabled:!1,virtual:!0}}};for(const a of Object.keys(n))n[a].label=e(a),n[a].value=ee(t,n[a].key)||"";return n},zl=t=>t?Object.keys(t).reduce((e,r)=>t[r]||t[r]===!1?{...e,[r]:t[r]}:e,{}):{};function RSe(t,e){if(typeof e!="object"||e===null)throw Error("Param pdfFile must be an object");const{name:r,url:n,mime:a,fileId:i}=e;if(!r||!n||!a||!i)throw Error("Param pdfFile must include name, url, mime and fileId");if(!t)return null;const o=ee(t,"template.views.read.nodes")||[],s=rn.exports(),u=Array(2).fill().map(()=>rn.exports());return o.push({itemId:"sectionPdf",itemType:"section",value:null,parentId:"0",nodeId:u[0]},{itemId:"pdf",itemType:"pdf",value:{file:`data.pdf-file-${s}`},parentId:u[0],nodeId:u[1]}),Ut(t,`data.pdf-file-${s}`,e),Ut(t,`template.validationSchema.properties.data.properties.pdf-file-${s}`,{anyOf:[{$ref:`${ge.api.baseUrl}/schemas/file/1.json`},{type:"null"}]}),t}function ISe(t){if(!t)return null;const e=ee(t,"template.views.read.nodes")||[];if(e.find(n=>n.itemType==="answer"))return t;e.push({itemId:"answer",itemType:"answer",value:{defaultAnswerMethod:"data.defaultAnswerMethod"},parentId:"0",nodeId:rn.exports()}),Ut(t,"template.views.read.nodes",e);const r="template.validationSchema.properties.data.properties.defaultAnswerMethod";return ee(t,r)||Ut(t,r,{default:{accept:"signature",deny:"button"},$ref:`${ge.api.baseUrl}/schemas/answer/1.json`}),t}const NSe=t=>{if(!t)return null;let e=(t||"").replace(/^SE|[-]/g,"").trim();return e.length===12&&(e=e.substring(2)),`SE${e}01`},Sx=()=>{const t=["email"];return In.checkFeature("sms")&&In._isValidCompanySetting("deliveryDefaultSms")&&t.push("sms"),{region:{country:"sweden"},permissions:{write:["clients[*].socialNo","clients[0].region.propertyDesignation","data.rejectReasons","data.packageGroups[*].packages[*].isSelected"]},answer:null,deliveryTypes:t,documentRole:"signee",answerMethod:{accept:"signature",deny:"button"},signOrder:0,_uniqueId:rn.exports()}},Ox=(t,e)=>{const r={endCustomerId:t.id,type:t.customerType,name:t.customerType==="individual"?t.name:t.reference,socialNo:t.customerType==="individual"?t.org_no:null,companyName:t.customerType==="company"?t.name:null,orgNo:t.customerType==="company"?t.org_no:null,email:t.email,cellphone:t.cellphone,cellphoneRegion:t.cellphoneRegion,addresses:{...t.street||t.zip||t.city?{standard:{street:t.street,zip:`${t.zip||""}`,city:t.city,country:t.country,latitude:t.latitude?`${t.latitude}`:null,longitude:t.longitude?`${t.longitude}`:null}}:{},...t.workStreet||t.workZip||t.workCity?{work:{street:t.workStreet,zip:`${t.workZip||""}`,city:t.workCity,country:t.country,latitude:t.latitude?`${t.latitude}`:null,longitude:t.longitude?`${t.longitude}`:null}}:{}},vatNumber:t.vatNumber,region:{...e&&e.region,reverseVat:t.reverseVat&&t.customerType==="company"},documentRole:ee(e,"documentRole","signee"),signOrder:ee(e,"signOrder",0)};return{...Sx(),...e,...r}},Cx=(t={})=>{const e=t,r=ee(e,"addresses.standard",{}),n=ee(e,"addresses.work",{});return{id:e.endCustomerId,EndCustomerId:e.endCustomerId,customerType:e.type||"individual",name:e.type==="individual"?e.name:e.companyName,email:e.email,cellphone:e.cellphone,cellphoneRegion:e.cellphoneRegion,org_no:e.type==="individual"?e.socialNo:e.orgNo,street:r.street,zip:r.zip,city:r.city,workStreet:n.street,workZip:n.zip,workCity:n.city,vatNumber:e.vatNumber||NSe(e.orgNo)||"",separateWorkAddress:!!Object.keys(n).length,reverseVat:ee(e,"region.reverseVat",!1),longitude:ee(e,"addresses[0].longitude",null),latitude:ee(e,"addresses[0].latitude",null),reference:e.type==="company"?e.name:null}},LSe=({background:t,backgroundFilter:e,priceSummaryBackground:r,showPriceSummary:n})=>({resourceUrl:t,overlayColor:e,backgroundColor:r,showPriceSummary:n}),WSe=({header:t={},theme:e={}})=>{const{resourceUrl:r="",title:n="",backgroundColor:a="",overlayColor:i="",showPriceSummary:o}={...LSe(e),...t};return{layout:"price",baseStyle:{textColor:"",textAlign:"left"},items:[{type:"content",size:50,media:{type:"color",backgroundColor:a},value:{preText:"",documentName:n?`<h1>${n}</h1>`:"",postText:"",showLogo:!0,logotype:""}},{type:"media",size:50,media:{type:"image",resourceUrl:r,overlay:!0,overlayColor:i}}],...typeof o=="boolean"&&{showPriceSummary:o}}},FSe=(t,e={})=>(!t||!t.data||ee(t,"template.views.read.nodes",[]).filter(n=>n.itemType==="header"&&!!n.value.header).map(n=>n.value.header.substring(5)).forEach(n=>{if(t.data[n]&&t.data[n].layout==="legacy"){const a={...e,...zl(t.data.theme)};t.data[n]=WSe({header:{...t.data[n],title:ee(t,"data.name","")},theme:a})}}),t),jSe={isHouseWorkAuto:!0,rotAmount:null,rutAmount:null,persons:[],propertyType:null,realEstateId:null,condominiumId:null,condominiumOrgNo:null,isExported:!1,isProcessed:!1},Bl={id:{$default:null,$type:Number,$scope:["invoice"]},publicId:{$default:null,$type:String},status:{$default:"draft",$type:String,$scope:["invoice"]},subStatus:{$default:null,$type:String},type:{$default:"invoice",$type:String,$scope:["invoice"]},invoiceNumber:{$default:null,$type:String,$scope:["invoice"]},ocr:{$default:null,$type:Number},ourReference:{$default:null,$type:String,$scope:["invoice"]},yourReference:{$default:null,$type:String,$scope:["invoice"]},invoiceDate:{$default:U4(new Date).toISOString(),$type:Date,$scope:["invoice"]},dueDays:{$default:null,$type:Number,$scope:["invoice"],$virtual:[{name:"dueDays",set(t,{getters:e}){return t!==null?t:e["settings/getInvoiceSetting"]("invoiceDueDays")||null}}]},dueDate:{$default:null,$type:Date,$scope:["invoice"],$virtual:[{name:"dueDate",set(t,{getters:e}){if(t!==null)return t;const r=e["settings/getInvoiceSetting"]("invoiceDueDays")||1;return Qf(iPe(Ol(Bl.invoiceDate.$default),r)).toISOString()}}]},deliveryDate:{$default:null,$type:Date,$scope:["invoice"]},sentAt:{$default:null,$type:Date},attestedAt:{$default:null,$type:Date},disputedAt:{$default:null,$type:Date},salesRequestedAt:{$default:null,$type:Date},pausedAt:{$default:null,$type:Date},interestType:{$default:"noInterest",$type:String,$scope:["invoice"],$virtual:[{name:"interestType",set(t,{getters:e}){return e["settings/getInvoiceSetting"]("invoiceInterestPercentage")?"fixed":"noInterest"}}]},interestPercentage:{$default:null,$type:Number,$scope:["invoice"],$virtual:[{name:"interestPercentage",set(t,{getters:e}){return t!==null?t:e["settings/getInvoiceSetting"]("invoiceInterestPercentage")||null}}]},interestStartInDaysAfterDueDate:{$default:0,$type:Number,$scope:["invoice"]},invoiceFee:{$default:null,$type:Number,$scope:["invoice"],$virtual:[{name:"invoiceFee",set(t,{getters:e}){return t!==null?t:e["settings/getInvoiceSetting"]("invoiceFee")||null}}]},reminderFee:{$default:null,$type:Number,$scope:["invoice"],$virtual:[{name:"reminderFee",set(t,{getters:e}){return t!==null?t:e["settings/getInvoiceSetting"]("invoiceReminderFee")||null}}]},deliveryTypes:{$default:["email"],$type:Array,$scope:["invoice"]},totalAmount:{$default:0,$type:Number},remainingAmount:{$default:0,$type:Number},paidAmount:{$default:0,$type:Number},creditedAmount:{$default:0,$type:Number},writeOffAmount:{$default:0,$type:Number},reminderAmount:{$default:0,$type:Number},totalVatAmount:{$default:0,$type:Number},centRoundingAmount:{$default:0,$type:Number},transferAmount:{$default:0,$type:Number},currency:{$default:"SEK",$type:String},partnerPdfId:{$default:null,$type:String},ModuleArticles:{$default:[],$type:Array,$scope:["invoice"]},ModuleEndCustomer:{$default:null,$type:Object,$scope:["invoice"]},ModuleBranding:{$scope:["invoice"],$type:Object,$default:{message:null,useMessageEmail:!0}},InvoiceFiles:{$scope:["invoice"],$type:Array,$default:[]},InvoiceRegionSweden:{$default:jSe,$type:Object,$scope:["invoice"]},ModuleScheduledDeliveries:{$scope:["invoice"],$type:Array,$default:[{type:"viewed",sendDays:null,sendType:"email",sendAt:null,status:"new"}],$virtual:[{name:"ModuleScheduledDeliveries",set(t,{getters:e}){return this.type==="credit"?[]:e["settings/getCompanySetting"]("invoiceReminderActive")?t.map(a=>{const i=a;if(i.sendDays!==null)return i;let o=null;return i.type==="viewed"&&(o=e["settings/getCompanySetting"]("invoiceReminderDefaultViewedDays")),o!==null&&(i.sendDays=o),i}):[]}}]},CompanyId:{$default:null,$type:"ref",$ref:"companies",$scope:["invoice"]},CompanyUserId:{$default:null,$type:"ref",$ref:"companyUsers",$scope:["invoice"]},creditsInvoiceId:{$default:null,$type:"ref",$ref:"invoices",$scope:["invoice"]},object:{$default:null,$type:String,$scope:["invoice"]},objectId:{$default:null,$type:Number,$scope:["invoice"]},documentId:{$default:null,$type:String,$scope:["invoice"]},projectId:{$default:null,$type:Number,$scope:["invoice"]},createdAt:{$default:null,$type:Date},updatedAt:{$default:null,$type:Date},deletedAt:{$default:null,$type:Date}};class Dx{constructor(e,r){if(!e)throw Error("Missing argument invoice");if(!r)throw Error("Missing argument getters");this._getters=r,this._invoice=e}get id(){return this.getProperty("id")||null}get publicId(){return this.getProperty("publicId")||null}get pdfPath(){if(this.status==="draft"||this.isSale)return null;const e=this.latestReminder;if(e){const{id:r}=e;return`${ge.api.baseUrl}/public/invoice/${this.publicId}/pdf/reminder/${r}`}return`${ge.api.baseUrl}/public/invoice/${this.publicId}/pdf`}getCompany(){const{_getters:e}=this,r=this.getProperty("CompanyId")||{};return e["companies/companyById"](r)}getCompanyUser(){const{_getters:e}=this,r=this.getProperty("CompanyUserId")||{};return e["companyUsers/byId"](r)}get status(){return this.getProperty("status")}get visualStatus(){return this.getProperty("transferAmount")?"paying":this.status}get subStatus(){return this.getProperty("subStatus")}get type(){return this.getProperty("type")}get projectId(){return this.getProperty("projectId")||null}get document(){return this.documentId?this._getters["documents2/byId"](this.documentId):null}get documentId(){return this.getProperty("documentId")}get client(){return this.getProperty("ModuleEndCustomer")||null}get files(){return this.getProperty("InvoiceFiles")}get totalAmount(){return this.getProperty("totalAmount")}get totalVatAmount(){return this.getProperty("totalVatAmount")}get totalExVat(){return this.totalAmount-this.totalVatAmount}get paidAmount(){return this.getProperty("paidAmount")}get sentAt(){return this.getProperty("sentAt")}get dueDate(){const e=this.latestReminder;return e?e.dueDate:this.getProperty("dueDate")}get invoiceDate(){const e=this.latestReminder;return e?e.invoiceDate:this.getProperty("invoiceDate")}get invoiceNumber(){return this.getProperty("invoiceNumber")}get reminders(){return this.getProperty("InvoiceReminders")||[]}get latestReminder(){const e=this.reminders;return e.length?e[e.length-1]:null}get canDispute(){return this.getProperty("id")&&!["draft","salesRequest","sold","completed"].includes(this.status)&&!this.isDisputed}get canRegisterPayment(){return this.getProperty("id")&&!["draft","salesRequest","sold","completed"].includes(this.status)}get canRegisterWriteOff(){return this.getProperty("id")&&!["draft","salesRequest","sold","completed"].includes(this.status)}get canSendReminder(){return this.getProperty("id")&&!["draft","salesRequest","sold","completed"].includes(this.status)}get canCredit(){const e=this.getProperty("id"),r=this.getProperty("type")==="credit";return e&&this.isAttested&&!r&&!["draft","salesRequest"].includes(this.status)}get canSell(){return this.id&&!this.isAttested&&!["salesRequest"].includes(this.status)}get canCancelSell(){return this.id&&this.isAttested&&["salesRequest"].includes(this.status)}get creditsInvoice(){const{_getters:e}=this,r=this.getProperty("creditsInvoice")||null;return e["invoices/byId"](r)}get creditInvoices(){const{_getters:e}=this;return(this.getProperty("creditInvoices")||[]).map(a=>e["invoices/byId"](a))}get interestInvoiceTo(){const{_getters:e}=this,r=this.getProperty("interestForInvoiceId")||null;return e["invoices/byId"](r)}get interestInvoices(){const{_getters:e}=this;return(this.getProperty("interestInvoices")||[]).map(a=>e["invoices/byId"](a))}get isDisputed(){return!!this.getProperty("disputedAt")}get isAttested(){return!!this.getProperty("attestedAt")}get isReverseVat(){const e=this.getProperty("ModuleEndCustomer")||null;return e?e.reverseVat:!1}get events(){const e=this.getProperty("Events")||[],r=[];return e.forEach(n=>{const a={type:n.type};n.EventData.forEach(i=>{a[i.name]=i.value}),r.push({name:n.code==="sentSms"?"sent":n.code,timestamp:n.createdAt,data:a,counter:n.counter})}),r}get articles(){return qi(this.getProperty("ModuleArticles")||[])}get totalNetAmount(){const{articles:e}=this;return e.reduce((n,a)=>n+a.totalAmount,0)}get currency(){return"SEK"}get invoiceRegionSweden(){return this.getProperty("InvoiceRegionSweden")||{}}get rotAmount(){const e=this.getProperty("InvoiceRegionSweden")||{},{rotAmount:r}=e;return r||0}get rutAmount(){const e=this.getProperty("InvoiceRegionSweden")||{},{rutAmount:r}=e;return r||0}get invoiceFee(){return this.getProperty("invoiceFee")||0}get isSale(){return!!(["salesRequest","sold"].includes(this.status)||this.getProperty("salesRequestAcceptedAt"))}getScheduledDeliveries({type:e,status:r}={}){let n=this.getProperty("ModuleScheduledDeliveries")||null;return!n||!n.length?[]:(e&&(n=n.filter(a=>a.type===e)),r&&(n=n.filter(a=>a.status===r)),n)}getProperty(e=""){return e.replace(/\[(.*)\]/ig,(a,i)=>`.${i}`).split(".").reduce((a,i)=>a&&(typeof a[i]!="object",a[i]),this._invoice)}getProperties({scope:e=null,includeVirtual:r=!1}={}){const n=Bl,{_getters:a}=this;return zMe({schema:n,getters:a,data:this._invoice,scope:e,includeVirtual:r,instance:this})}getVirtualProperties({scope:e=null}={}){const r=Bl,{_getters:n}=this;return vz({schema:r,getters:n,data:this._invoice,scope:e,instance:this})}}St(Dx,"schema",Bl);const{DO_LOAD_INVOICE:Yz,DO_UPDATE_INVOICE:VSe,DO_CREATE_INVOICE:USe,DO_ATTEST_INVOICE:zSe,DO_SELL_INVOICE:BSe,LOAD_FILE:HSe,FORM_CLEAR_FORM:qSe,FORM_RESET_OLD:YSe,DO_LOAD_DOCUMENT2:Gz,UPDATE_VIEW_SETTINGS:GSe,LOAD_INVOICE_SETTINGS:KSe}=ke,{SET_FORM:Hl,SET_FORM_VALUE:XSe}=Me.forms,{DELETE_MANY_INVOICES:JSe}=Me.invoices,{LOAD_INVOICE_FORM:QSe,LOAD_CREDIT_INVOICE_FORM:ZSe,LOAD_DOCUMENT2_INVOICE_FORM:eOe,LOAD_CAMPAIGN_INVOICE_FORM:tOe,SUBMIT_INVOICE_FORM:rOe,SET_KYC_FORM:nOe,DO_SAVE_KYC_FORM:aOe}=MU,Xa=(t,e)=>{t(GSe,{view:"newInvoice",settings:{isLoading:e}})};async function $x({id:t=null,rootState:e,state:r,rootGetters:n,dispatch:a,projectId:i=null,documentId:o=null}){if(!e)throw new Error("Missing parameter rootState");if(!r)throw new Error("Missing parameter state");if(!n)throw new Error("Missing parameter rootGetters");if(!a)throw new Error("Missing parameter dispatch");let s=!1;const u=r.document;if(Object.keys(u).length!==0){const{name:l,params:d}=e.route||{};let{id:c}=d||{};c=Number.parseInt(c,10);const m=n["forms/documentField"]("id"),f=n["forms/documentField"]("documentType"),p=n["forms/documentField"]("type"),h=n["forms/documentField"]("projectId"),v=n["forms/documentField"]("documentId");if(f||(l==="invoiceNew"?!m&&!t&&p!=="credit"&&i===h&&(yt.debug("INVOICE_FORM: Using existing store data as no ids was found"),s=!0):l==="invoiceEdit"?m&&m===c&&m===t&&p!=="credit"&&(yt.debug("INVOICE_FORM: Using existing store data existing id match route"),s=!0):l==="invoiceCredit"?p==="credit"&&!t&&!m&&(yt.debug("INVOICE_FORM: Using existing store data existing id match route"),s=!0):l==="invoiceDocument"&&v&&v===o&&(yt.debug("INVOICE_FORM: Using existing store data as existing documentId match"),s=!0)),s){yt.debug("INVOICE_FORM: Dont reload as forms/document is already defined");const y=n["forms/documentField"]("InvoiceFiles");y&&Ze(y)==="array"&&y.forEach(b=>a(HSe,{id:b.FileId},{root:!0}))}}return s}function ql({rootState:t,rootGetters:e},r={}){const n=new Dx(r,e).getProperties({includeVirtual:!0}),a={ModuleArticles:[e["articles/getNewArticle"]({name:"",price:0})]};return{...n,...a,CompanyId:t.application.user.companyId,CompanyUserId:t.application.user.userId}}const iOe={async[ZSe]({state:t,rootGetters:e,rootState:r,dispatch:n},{creditsInvoiceId:a}){try{if(Xa(this.dispatch,!0),await $x({id:null,rootState:r,state:t,rootGetters:e,dispatch:n}))return;let o=ql({rootState:this.state,rootGetters:e},{type:"credit"});if(!a)throw new Error("Missing parameter creditsInvoiceId");await this.dispatch(Yz,{id:a});const s=this.getters["invoices/byId"](a);if(!s)throw yt.event({type:"invoiceCredit",status:"failed",data:{id:a},error:"Tried to load invoice to credit that does not exist!"}),new Error(`Could not find original invoice by id: '${a}'`);s.documentId&&!this.getters["documents2/byId"](s.documentId)&&await this.dispatch(Gz,{id:s.documentId});const u=ua(s.getProperties({scope:"invoice",includeVirtual:!0}),["ModuleArticles","ModuleBranding","ourReference","yourReference","invoiceFee","deliveryTypes","ModuleEndCustomer","InvoiceRegionSweden","object","objectId","documentId","projectId"]);o={...o,...u,type:"credit",creditsInvoiceId:a,invoiceDate:Qf(new Date).toISOString(),dueDate:Qf(new Date).toISOString()},o.invoiceFee&&(o.invoiceFee=-o.invoiceFee),o.ModuleArticles&&(o.ModuleArticles=o.ModuleArticles.map(l=>{const d=Ba(l,["id","createdAt","updatedAt","deletedAt","object","ObjectId"]);return d.price=-d.price,d.houseWorkHoursToReport&&(d.houseWorkHoursToReport*=-1),d})),o.ModuleBranding&&(o.ModuleBranding=Ba(o.ModuleBranding,["id","createdAt","updatedAt","deletedAt","object","ObjectId"])),o.ModuleEndCustomer&&(o.ModuleEndCustomer=Ba(o.ModuleEndCustomer,["id","createdAt","updatedAt","deletedAt","object","ObjectId"])),o.InvoiceRegionSweden&&(o.InvoiceRegionSweden=ua(o.InvoiceRegionSweden,["condominiumId","condominiumOrgNo","isHouseWorkAuto","persons","propertyType","realEstateId"]),o.InvoiceRegionSweden&&!o.InvoiceRegionSweden.isHouseWorkAuto&&(o.InvoiceRegionSweden.persons=(o.InvoiceRegionSweden.persons||[]).map(l=>({...l,amount:-l.amount})))),this.commit(`forms/${Hl}`,{key:"document",formData:o}),yt.event({type:"invoiceCredit",status:"success",data:{id:a}}),yt.debug("Credit invoice form loaded")}catch(i){this.handleError(i)}finally{Xa(this.dispatch,!1)}},async[eOe]({state:t,rootGetters:e,rootState:r,dispatch:n},{docId:a}){try{if(!a)throw new Error("Missing parameter docId");Xa(this.dispatch,!0);let i=ql({rootState:this.state,rootGetters:e});await this.dispatch(Gz,{id:a});const o=this.getters["documents2/byId"](a);if(!o)throw new Error("Missing document");const{projectId:s}=o;if(await $x({id:null,rootState:r,state:t,rootGetters:e,dispatch:n,documentId:a,projectId:s}))return;i={...i,documentId:o.id,...s&&{projectId:s}},o.clients&&o.clients.length&&(i.ModuleEndCustomer=Cx(Ba(o.clients[0],["id","createdAt","updatedAt","deletedAt","object","ObjectId"]))),this.commit(`forms/${Hl}`,{key:"document",formData:i})}catch(i){this.handleError(i)}finally{Xa(this.dispatch,!1)}},async[QSe]({state:t,rootState:e,dispatch:r,rootGetters:n},{id:a=null,projectId:i=null}={}){try{if(Xa(this.dispatch,!0),await $x({id:a,rootState:e,state:t,rootGetters:n,dispatch:r,projectId:i}))return;let s={},u;if(a){if(await this.dispatch(Yz,{id:a}),u=this.getters["invoices/byId"](a),!u)throw yt.event({type:"editInvoice",status:"failed",data:{id:a},error:"Tried to edit invoice that does not exist!"}),new Error(`Could not find invoice by id: '${a}'`);s={...s,...u.getProperties({scope:"invoice"})}}else if(s={...ql({rootState:this.state,rootGetters:n})},i){s.projectId=i;const c=n["projects/byId"](i);c&&c.clients[0]&&(s.ModuleEndCustomer=Cx(Ba(c.clients[0],["id","createdAt","updatedAt","deletedAt","object","ObjectId"])))}const{object:l,objectId:d}=s;this.commit(`forms/${Hl}`,{key:"document",formData:s}),yt.event({type:a?"editInvoice":"newInvoice",status:"success",data:{id:a}}),yt.debug("Invoice form loaded")}catch(o){yt.event({type:a?"editInvoice":"newInvoice",status:"failed",data:{id:a},error:o})}finally{Xa(this.dispatch,!1)}},async[rOe]({getters:t,commit:e},{next:r=null,doAttest:n=!1,doSell:a=!1}={}){let i=!1;try{let o=!1,s;const{invoice:u,hasChanged:l}=t,d=t.getInvoicePrices;let{id:c}=u;r==="invoice"&&(s={...u.getProperties(),ModuleArticles:u.articles,...d,id:0},this.dispatch(Ki,{data:[s],schema:"invoices"}),i=!0,this.$router.push({name:"invoice",params:{id:s.id,modal:!1}}));const m={...u.getProperties(),...d};return l("document")&&(c?await this.dispatch(VSe,{id:c,body:m}):(o=!0,c=await this.dispatch(USe,{body:m}),e(XSe,{key:"document.id",value:c}))),i&&this.$router.replace({name:"invoice",params:{id:c,modal:!1}}),a?await this.dispatch(BSe,{id:c}):n&&await this.dispatch(zSe,{id:c}),await this.dispatch(YSe,"document"),i||gz({next:r,invoiceId:c},this.$router),await this.dispatch(qSe,{key:"document"}),i&&this.commit(`invoices/${JSe}`,s.id),{id:c,isNew:o}}catch(o){return this.handleError(o),i&&this.$router.currentRoute.name!=="invoiceNew"&&this.$router.go(-1),null}},async[tOe]({state:t,rootGetters:e},{name:r=null}){if(!["100kr"].includes(r))throw Error("Missing valid param name");try{Xa(this.dispatch,!0);let a={...ql({rootState:this.state,rootGetters:e})};if(r==="100kr"){let i;const{data:o}=await LTe("info@cling.se");o[0]?([i]=o,i.EndCustomerId=i.id):(await this.dispatch(ke.FORM_NEW_ENDCUSTOMER),i=Object.assign(t.endCustomer,{name:"Cling Group AB",org_no:"559070-0273",email:"info@cling.se",customerType:"company",cellphone:"0850119885",street:"Kund-id WIN3890, FE nr 160",zip:"10569",city:"Stockholm"}),this.commit(ke.SET_FORM_VALUE,{key:"endCustomer",value:i}),i.EndCustomerId=await this.dispatch(ke.FORM_SUBMIT_ENDCUSTOMER,{showNotification:!1})),i.id=null,a={...ql({rootState:this.state,rootGetters:e}),ModuleEndCustomer:{...i},ModuleArticles:[Vke({name:"\u{1F4B0} Ge mig 100kr! \u{1F4B0}",price:1e4})]}}this.commit(`forms/${Hl}`,{key:"document",formData:a}),yt.event({type:"campaignInvoice",status:"success",data:{name:r}}),yt.debug("Invoice form loaded")}catch(a){yt.event({type:"campaignInvoice",status:"failed",data:{name:r},error:a})}finally{Xa(this.dispatch,!1)}},async[nOe]({rootGetters:t},{formData:e={}}={}){await this.dispatch(KSe),t["application/company"],t["settings/allInvoiceSettings"];let r={};r={...r,...e,company:{...r.company,...e.company},contact:{...r.contact,...e.contact}},this.commit(`forms/${Hl}`,{key:"kycForm",formData:r})},async[aOe]({getters:t}){const{kycForm:e}=t||{};if(!e)throw Error("Kyc Form missing in store");return["ownersWithMoreThan25Percent","beneficialOwners"].forEach(n=>{e[n]=(e[n]||[]).map(a=>({...a,address:a.address||"Sverige",country:a.country||"Sverige"}))}),await KTe.post({form:e})}},{SET_FORM_VALUE:oOe,REMOVE_FORM_VALUE:sOe}=Me.forms,uOe={async[An.SET_FORM_ARTICLE]({commit:t},{index:e=null,data:r}){let n="document.ModuleArticles";e!==null&&(n=`document.ModuleArticles[${e}]`);const a=qi(r);return t(oOe,{key:n,value:a})},async[An.REMOVE_FORM_ARTICLE]({commit:t},e){return t(sOe,e)}},Yl=t=>typeof t=="object"&&t!==null&&t.toString()==={}.toString(),Mm=t=>JSON.parse(JSON.stringify(t)),Ax=(t,e)=>{t=Mm(t);for(const r in e)e.hasOwnProperty(r)&&(Yl(t[r])&&Yl(e[r])?t[r]=Ax(t[r],e[r]):t[r]=e[r]);return t},Kz=(t,e)=>{t=t.replace(/^#\/definitions\//,"").split("/");const r=(a,i)=>{const o=a.shift();if(i[o]){if(!a.length)return i[o]}else return{};return r(t,i[o])},n=r(t,e);return Yl(n)?Mm(n):n},lOe=(t,e)=>{const{length:r}=t;let n=-1,a={};for(;++n<r;){let i=t[n];i=typeof i.$ref<"u"?Kz(i.$ref,e):i,a=Ax(a,i)}return a},js=(t,e)=>{if(typeof t.default<"u")return t.default;if(typeof t.allOf<"u"){const r=lOe(t.allOf,e);return js(r,e)}else if(typeof t.$ref<"u"){const r=Kz(t.$ref,e);return js(r,e)}else if(t.type==="object"){if(!t.properties)return{};for(const r in t.properties)t.properties.hasOwnProperty(r)&&(t.properties[r]=js(t.properties[r],e),(typeof t.properties[r]>"u"||Yl(t.properties[r])&&!Array.isArray(t.properties[r])&&!Object.keys(t.properties[r]).length)&&delete t.properties[r]);return t.properties}else if(t.type==="array"){if(!t.items)return[];const r=t.minItems||0;if(t.items.constructor===Array){const i=t.items.map(o=>js(o,e));for(let o=i.length-1;o>=0&&!(typeof i[o]<"u");o--)o+1>r&&i.pop();return i}const n=js(t.items,e);if(typeof n>"u")return[];const a=[];for(let i=0;i<Math.max(1,r);i++)a.push(Mm(n));return a}},dOe=(t,e)=>(typeof e>"u"?e=t.definitions||{}:Yl(t.definitions)&&(e=Ax(e,t.definitions)),js(Mm(t),e));class Ja{constructor(e){if(!e)throw new Error("Missing param data");const{validationSchema:r,views:n}=e;if(!r)throw new Error("Missing param validationSchema in template data");if(!n)throw new Error("Missing param views in template data");this._data=e}get data(){return this._data}get id(){return this.data.id||null}get companyId(){return this.data.companyId||null}get name(){return this.data.name||null}get isNew(){return!this.id}get validationSchema(){return this.data.validationSchema}get views(){return this.data.views||{}}get language(){return this.data.language}get theme(){return ee(this,"_data.validationSchema.properties.data.properties.theme.default",{})||{}}get thumbnailUrl(){return this.data.thumbnailUrl}get defaultMedia(){if(this.thumbnailUrl)return{type:"image",resourceUrl:this.thumbnailUrl};const{defaultData:e}=this,r=(ee(this,"_data.views.read.nodes")||[]).filter(a=>["header","coverBlock"].includes(a.itemType));let n=null;for(const a of r)if(a){if(n)break;let i=a.value[a.itemType];if(!i)continue;if(a.itemType==="header"){i+=".items";const o=(ee(e,i)||[]).find(({type:s})=>s==="media");o&&o.media&&({media:n}=o)}else if(a.itemType==="coverBlock"){const{type:o,cover:s}=ee(e,i)||{};s&&(n={...o&&{type:o},...s})}}if(!n){const a=ee(this,"theme.background");a&&(n={type:"image",resourceUrl:a})}return n}get reminders(){const e=this.getDefaultData({path:"properties.data.properties.reminders"});return e&&Array.isArray(e)?e:[]}get defaultData(){return this.getDefaultData()}get categoryTags(){return ee(this.defaultData,"tags",[]).reduce((e,r)=>[...e,r.name],[])}get type(){return this.categoryTags[0]}getDefaultData({path:e=""}={}){let r=this.validationSchema;return e&&(r=e.split(".").reduce((n,a)=>n[a],r)),dOe(r)||{}}}const cOe=ge.brand.charAt(0).toUpperCase()+ge.brand.slice(1),fOe={accept:"acceptera",address:"adress",and:"and",answerFeedback:{intermediate:{title:"Tack f\xF6r att du delar dina tankar."},no:{start:{action:"Skicka in",placeholder:"Vad b\xF6r vi f\xF6rb\xE4ttra?",text:"Finns det n\xE5got specifikt du \xF6nskar vi b\xF6r f\xF6rb\xE4ttra?",title:"Tack f\xF6r att du delar med dig av dina tankar."},success:{action:"L\xE4s mer om $t(appBrand)",secondary:"Tillbaka till dokumentet",text:"Din feedback togs emot helt perfekt. V\xE5rt team kommer att ta del av din feedback med stor lyh\xF6rdhet.",title:"Tack."}},start:{no:"Nej",title:"Tyckte du om att anv\xE4nda $t(appBrand) f\xF6r att visa det h\xE4r dokumentet?",yes:"Ja"},yes:{action:"S\xE4tt ig\xE5ng gratis",secondary:"L\xE4s mer om $t(appBrand)",text:"Skapa och skicka snygga dokument med $t(appBrand). Uppt\xE4ck alla f\xF6rdelar med att skicka webbaserade dokument med e-signering.",title:"B\xF6rja anv\xE4nda $t(appBrand) du med."}},answerModal:{answerSuccess:"Ditt svar togs emot helt perfekt.",bankId:{component:{defaultError:"N\xE5got gick fel. Se till att du har matat in r\xE4tt personnummer och f\xF6rs\xF6k igen.",signingInterrupted:"Signeringen avbr\xF6ts, f\xF6rs\xF6k igen...",validations:{socialNo:{personalNumber:"Personnumret \xE4r inte giltigt",required:"Skriv in ditt personnummer"}},viewText:{canceled:{text:"Signeringen avbr\xF6ts. Var god och f\xF6rs\xF6k igen.",title:"Signeringen avbr\xF6ts"},error:{text:"Ett fel intr\xE4ffa. Var god och f\xF6rs\xF6k igen.",title:"Ett fel intr\xE4ffa"},form:{text:"Skriv in ditt personnummer f\xF6r att p\xE5b\xF6rja signeringen.",title:"Signera dokumentet med BankID"},new:{spinnerText:"\xD6ppna BankID p\xE5 din enhet.",text:"\xD6ppna BankID p\xE5 din enhet f\xF6r att signera dokumentet.",title:"Signera dokument"},signing:{spinnerText:"Var god signera dokumentet.",text:"\xD6ppna BankID p\xE5 din enhet f\xF6r att signera dokumentet.",title:"Signering p\xE5g\xE5r"},waiting:{spinnerText:"V\xE4ntar p\xE5 att du ska \xF6ppna BankID.",text:"\xD6ppna BankID p\xE5 din enhet f\xF6r att signera dokumentet.",title:"Signera dokument"}}},start:{action:"Signera med BankID",text:"Acceptera och signera dokumentet med BankID.",title:"Signera med BankID"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},decline:{component:{inputPlaceholder:"Frivilligt. L\xE4mna en kommentar om varf\xF6r du v\xE4ljer att neka."},start:{action:"Neka",text:"F\xF6r att neka dokumentet var god och bekr\xE4fta genom att klicka p\xE5 knappen nedanf\xF6r.",title:"Neka dokumentet"},success:{text:"Tack f\xF6r att du l\xE4mna ett svar.",title:"Du har nekat dokumentet."}},signature:{component:{draw:{canvasLabel:"Rita signatur",tab:"Rita"},subTitle:"Hur vill du signera?",terms:"Genom att signera dokumentet godk\xE4nner jag att den elektroniska signaturen \xE4r en representation av min handskrivna signatur och att den \xE4r lika giltig.",text:{canvasLabel:"F\xF6rhandsgranskning",nameLabel:"Signerad av",namePlaceholder:"Skriv ditt namn",tab:"Skriv"}},start:{action:"Signera & acceptera",text:"",title:"Acceptera dokumentet"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},versionError:{accept:{title:"Gick inte att signera dokumentet"},decline:{title:"Gick inte att neka dokumentet"},text:"Dokumentet har modifierats medan du har l\xE4st den. V\xE4nligen ladda om och ta del av det nya dokumentet f\xF6r att l\xE4mna svar.",btn:"Ladda om"},successText:"N\xE4r dokumentet har blivit signerat av alla parter kommer du f\xE5 en kopia skickat till din e-post {{email}} med en l\xE5st version av dokumentet.",successTextFallback:"N\xE4r dokumentet har blivit signerat av alla parter kommer du p\xE5 den h\xE4r webbsidan kunna ladda ner en l\xE5st version av dokumentet.",successTextFallbackSingle:"Dokumentet \xE4r nu signerat och komplett.",successTextSingle:"En bekr\xE4ftelse har skickats till e-posten {{email}} med en l\xE5st version av dokumentet.",successTitle:"Du har signerat dokumentet."},appBrand:cOe,approved:"godk\xE4nt",approx:"ca",cancel:"Avbryt",chapters:{answerButtons:{approveDescription:"Vi har meddelat {{- sender}} att dokumentet \xE4r godk\xE4nt.",approveTitle:"Dokumentet \xE4r godk\xE4nt!",denyDescription:"Vi har meddelat {{- sender}} att du inte \xE4r intresserad.",denyTitle:"Dokumentet \xE4r nekat",editPropDes:"Redigera fastighetsbeteckning",enterPropDes:"Ange fastighetsbeteckning",inPersonSignatureHint:"Du har blivit markerad f\xF6r att skriva under en fysisk kopia av detta dokument. Om du ist\xE4llet vill skriva under digitalt, kontakta",waitingDescription:"V\xE4ntar p\xE5 {{remaining}} st fler ska l\xE4mna svar.",youHave:"Du har "},articleItem:{eligibleForDeduction:"Ber\xE4ttigad f\xF6r {{type,deepNested:deduction}}-avdrag"},articleList:{changeShowVatTooltip:"\xC4ndra till att visa {{type}}",title:"Arbetsmoment / varor"},packageGroup:{errorCallout:"V\xE4lj minst ett alternativ",selectableOptions:"Valbara alternativ"},packageItem:{add:"L\xE4gg till paket",select:"V\xE4lj paket",selected:"Valt paket"},parties:{allRiskAndLiability:"Har allrisk- och ansvarsf\xF6rs\xE4kring",fTax:"Har F-skatt"},pricingSummary:{blocks:{approx:"Ungef\xE4rligt pris",deductionSubValue:"Totalpris utan avdrag {{price}}",maxPrice:"Maxpris",maxPriceVat:"Maxpris {{vat}}",net:"Netto",price:"Pris",rounding:"\xD6resavrundning",subTitleArticles:"Varav varor / moment med fast pris",summary:"Sammanst\xE4llning",total:"Total",typeDeduction:"Efter {{type,deepNested:deduction}}-avdrag"},placeholder:{description:"V\xE4lj vilket paket som passar dig b\xE4st genom att klicka p\xE5 ",descriptionBold:"V\xE4lj-knappen",title:"V\xE4lj ett paket"},terms:{houseWork:"Totalpriset efter skattereduktion f\xF6r {{type,deepNested:deduction}}-arbete f\xF6ruts\xE4tter att arbetet kvalificerar f\xF6r skattereduktion, att best\xE4llaren har det angivna utrymmet f\xF6r skattereduktion samt att det inte redan har utnyttjats f\xF6r annat {{type,deepNested:deduction}}-arbete. Best\xE4llaren ansvarar sj\xE4lv f\xF6r att kontrollera dess uppgifter.",houseWorkApprox:"Priset f\xF6r arbetet \xE4r ungef\xE4rligt. T\xE4nk p\xE5 att priset kan skilja sig med 15%. Om det g\xE4ller markarbeten rivningsarbeten eller lik. kan priset skilja sig med 25%. L\xE4s mer om detta i de allm\xE4nna best\xE4mmelserna.",reverseVat:"Notera att omv\xE4nd skattskyldighet g\xE4ller."}},termsDisclaimer:{description:"Genom att godk\xE4nna dokumentet accepterar du de ",termsAndConditions:"allm\xE4nna villkoren",title:"Villkor"}},close:"St\xE4ng",company:"f\xF6retag",deduction:Rl.deduction,denied:"nekat",deny:"Neka",denyModal:{denyButton:"Neka dokument",helpfulInformation:"Vi meddelar {{- senderName}} p\xE5 {{- senderCompany}} att du har valt att neka dokumentet.",otherPlaceholder:"Frivilligt. L\xE4mna en kommentar om varf\xF6r du v\xE4ljer att neka dokumentet.",subTitle:"Bekr\xE4fta ditt svar genom att klicka p\xE5 Neka.",successTitle:"Du har nekat dokumentet",thanksAnswer:"Tack f\xF6r ditt svar!",title:"Neka dokument"},detail_plural:"detaljer",document:"Dokument",document_plural:"Dokument",documentDetails:{subTitle:"Information om dokumentet."},documentTemplateView:{emailTemplate:{expires:{content:"$t(documentTemplateView.reminder) $t(documentTemplateView.emailTemplate.first.content)",subject:"$t(documentTemplateView.reminder) $t(documentTemplateView.sharedSubject)",text:`$t(documentTemplateView.emailTemplate.expires.title) $t(documentTemplateView.emailTemplate.expires.subject). $t(documentTemplateView.readMoreAndReply)
354
354
 
355
355
  {{docLink}}`,title:"$t(documentTemplateView.emailTemplate.first.title)"},first:{content:"Du har f\xE5tt ett dokument fr\xE5n {{company.name}}. Klicka p\xE5 knappen f\xF6r att l\xE4sa mer och l\xE4mna ett svar.",subject:"$t(documentTemplateView.sharedSubject)",text:`$t(documentTemplateView.emailTemplate.first.title) $t(documentTemplateView.emailTemplate.first.subject). $t(documentTemplateView.readMoreAndReply)
356
356
 
@@ -541,12 +541,12 @@ Gl\xF6m inte bort att l\xE4sa dokumentet fr\xE5n {{company.name}}. L\xE4s mer oc
541
541
  {{docLink}}`}}},expires:{type:"object",required:["subject","title","content"],properties:{subject:{type:"string",default:"P\xE5minnelse! Dokumentet - {{document.data.name}} - beh\xF6ver ditt svar"},title:{type:"string",default:"Hej{{clientFirstName}}!"},content:{type:"string",default:"Dokumentet fr\xE5n {{company.name}} l\xF6per snart ut, l\xE4mna ett svar innan det \xE4r f\xF6r sent. Klicka p\xE5 knappen f\xF6r att l\xE4sa mer och l\xE4mna ett svar."},text:{type:"string",default:`Hej{{clientFirstName}}! Du har ett dokument fr\xE5n {{company.name}} d\xE4r giltighetstiden snart g\xE5r ut. L\xE4mna ett svar innan det blir f\xF6r sent p\xE5:
542
542
 
543
543
  {{docLink}}`}}}}},Nm={isEditable:!1,nodes:[{itemId:"emailTemplate",itemType:"emailTemplate",value:{subject:"data.emailTemplate.first.subject",text:"data.emailTemplate.first.text",title:"data.emailTemplate.first.title",content:"data.emailTemplate.first.content"}}]},Lm={isEditable:!1,nodes:[{itemId:"smsText",itemType:"smsText",value:{text:"data.smsTemplate.first.text"}}]},lP={type:"object",default:{useVat:ge.brand==="cling",vatType:"vat",rounding:{enabled:ge.brand==="cling",interval:ge.brand==="cling"?100:1,show:ge.brand==="cling"}}},dP={$ref:`${ge.api.baseUrl}/schemas/css/1.json`,default:{'[data-typography="title"]':{fontFamily:"Inter",fontSize:"56px",fontWeight:800},h1:{fontFamily:"Inter",fontSize:"48px",fontWeight:800},h2:{fontFamily:"Inter",fontSize:"36px",fontWeight:700},h3:{fontFamily:"Inter",fontSize:"21px",fontWeight:600},blockquote:{fontFamily:"Inter",fontSize:"18px",borderLeftStyle:"solid",borderLeftWidth:"3px",borderColor:"currentColor"},p:{fontFamily:"Inter",fontSize:"16px"}}},cP={type:"object",default:{}},fP={anyOf:[{type:"string"},{type:"null"}],default:""},mP={anyOf:[{type:"string"},{type:"null"}]},pP={anyOf:[{type:"string"},{type:"null"}]},hP={$ref:`${ge.api.baseUrl}/schemas/price/1.json`},vP={type:"string",format:"date-time"},gP={type:"object"},LB={reminders:Jl,smsTemplate:sP,emailTemplate:uP,emailView:Nm,smsView:Lm,formSettings:lP,sender:cP,name:fP,senderString:mP,receiverString:pP,prices:hP,css:dP,expiresAt:vP,fields:gP};class mAe{constructor({data:e,clients:r=[],useVat:n,rounding:a,currency:i}){if(!e)throw new Error("Missing param data");this._data=e,this._clients=r,this._useVat=n,this._rounding=a,this._currency=i}get data(){return this._data}get useVat(){return this._useVat}get rounding(){return this._rounding}get title(){return this._data.title}get type(){return this._data.type}get selectedPackages(){return this.packages.filter(e=>e.isSelected)||[]}get selectedArticles(){return this.selectedPackages.reduce((e,{articles:r})=>[...e,...r],[])}get priceType(){return ee(this,"selectedPackages[0].prices.type","fixed")}get currency(){return ee(this,"selectedPackages[0].prices.currency")||this._currency}get maxTotal(){return this.priceType==="openAccMaxPrice"?this.selectedPackages.reduce((e,{prices:r})=>e+r.maxTotal,0):null}get houseWorkManualAmount(){return this.selectedPackages.some(({prices:e})=>ee(e,"region.houseWorkManualAmount",null)!==null)?this.selectedPackages.reduce((e,{prices:r})=>{const{houseWorkManualAmount:n}=r.region||{};return n?e+n:e},0):null}get prices(){return Em({type:this.priceType,currency:this.currency,articles:this.selectedArticles,clients:this._clients,maxTotal:this.maxTotal,region:{country:"sweden",houseWorkManualAmount:this.houseWorkManualAmount},useVat:this._useVat,rounding:this._rounding})}get packages(){return this._data.packages.map(e=>({...e,type:this.type,prices:Em({type:ee(e,"data.prices.type","fixed"),currency:ee(e,"data.prices.currency")||this.currency,articles:e.articles,clients:e.clients,maxTotal:ee(e,"data.prices.maxTotal",null),region:{country:"sweden",houseWorkManualAmount:ee(e,"data.prices.region.houseWorkManualAmount",null)},useVat:this._useVat,rounding:this._rounding})}))||[]}get articles(){return this.packages.reduce((e,{articles:r})=>[...e,...r],[])}getPackageById(e){return this.packages.find(({packageId:r})=>r===e)}}class pAe{constructor({data:e={},articles:r=[],clients:n=[],useVat:a,rounding:i,currency:o}){if(!e)throw new Error("Missing param data");this._data=Object.keys(e||{}).reduce((s,u)=>({...s,[u]:new mAe({data:{...e[u],packages:e[u].packages.map(l=>({...l,articles:r.filter(({packageId:d})=>d===l.packageId),clients:n}))},clients:n,useVat:a,rounding:i,currency:o})}),{})}get packages(){return Object.keys(this._data).reduce((e,r)=>[...e,...this._data[r].packages],[])}get selectedPackages(){return this.packages.filter(({isSelected:e})=>e)}get selectedArticles(){return Object.keys(this._data).reduce((e,r)=>[...e,...this._data[r].selectedArticles],[])}get selectedIds(){return Object.keys(this._data).reduce((e,r)=>[...e,...this._data[r].packages.filter(({isSelected:n})=>n).map(({packageId:n})=>n)],[])}get groups(){return Object.keys(this._data).map(e=>this._data[e])}get groupsPrices(){return(this.groups||[]).map(({prices:e})=>e)}getPackageGroupById(e){const r=Object.keys(this._data).find(n=>this._data[n].packages.find(({packageId:a})=>a===e));return this._data[r]}getPackageGroupUniqId(e){return this._data[e]||{}}getPackageById(e){const r=this.getPackageGroupById(e);return r?r.getPackageById(e):{}}}function hAe(t){if(!t||!t.data)return t;const{brand:e}=ge,r={useVat:e==="cling",vatType:"vat",rounding:{enabled:e==="cling",interval:e==="cling"?100:1,show:e==="cling"}};t.data.formSettings||(t.data.formSettings={});const n=hU(r);return Object.keys(n).forEach(a=>{function i(o,s,u){LOe(o[s])?Object.keys(o[s]).forEach(l=>{i(o[s],l,u)}):Array.isArray(o[s])?o[s].forEach((l,d)=>{i(o[s],d,u)}):typeof ee(o,s)>"u"&&Ut(o,s,u)}i(t.data.formSettings,a,n[a])}),t}class vAe{constructor(e,{computedPricing:r=!0,isPreview:n=!1,readPrices:a=!0,props:i={},settingsTheme:o={}}={}){if(!e)throw new Error("Missing param data");this._doc=e,this._doc=FSe(this._doc,o),this._doc=hAe(this._doc),this._computedPricing=r,this._theme=o,this._props=i,this._readPrices=a,this._isPreview=n,this._pdfOptions={},this._template=this._doc.template?new Ja(this._doc.template):null,this._dirtyKeys={}}get data(){return this._doc.data}deleteProperty(e){ZOe(this,`_doc.${e}`)}get receiverString(){return ee(this._doc,"data.receiverString")||ee(this._props,"defaultReceiverString")||ce.t("_common:receiver",{lng:this.language,postProcess:"capitalize"})}get senderString(){return ee(this._doc,"data.senderString")||ee(this._props,"defaultSenderString")||ce.t("_common:sender",{lng:this.language,postProcess:"capitalize"})}get sender(){const e=ee(this._doc,"data.sender",{});return{company:{...this._doc.company&&{publicId:this._doc.company.publicId,name:this._doc.company.name,orgNo:this._doc.company.organisationNumber,phone:this._doc.company.phone,logotype:this._doc.company.LogotypePublicId?`${ge.api.baseUrl}/file/${this._doc.company.LogotypePublicId}/download`:null,hasFSkatt:this._doc.company.fSkatt,hasInsurance:this._doc.company.insurance,region:this._doc.company.region},...zl(e.company)},user:{...this._doc.companyUser&&{name:`${this._doc.companyUser.firstname||""} ${this._doc.companyUser.lastname||""}`.trim(),email:this._doc.companyUser.email,cellphone:this._doc.companyUser.cellphone,avatar:this._doc.companyUser.AvatarPublicId?`${ge.api.baseUrl}/file/${this._doc.companyUser.AvatarPublicId}/download`:null},...zl(e.user)}}}set sender(e){e.company&&(this._doc.company=e.company),e.user&&(this._doc.companyUser=e.user)}get senderClient(){return this._doc.senderClient?{...this._doc.senderClient,isSender:!0}:null}get viewer(){return this._doc.viewerId?this.clients.find(({publicDocumentId:r})=>r===this._doc.viewerId):null}get remainingSignatures(){return this.clients.filter(({documentRole:e})=>["signee","approver"].includes(e)).reduce((e,r)=>ee(r,"answer.didAccept")?e:e+1,0)}get answerActions(){const e={canAnswer:!1,hasAnswered:!1,showActions:!1,waitingForOthers:!1},r=!!ee(this.viewer,"answer"),n=!!ee(this.viewer,"answerMethod.accept",!1)&&["signee","approver"].includes(ee(this.viewer,"documentRole")),a=["sent","draft"].includes(this.status);return n&&a&&!r&&(e.canAnswer=!0),e.showActions=n||this.isPreview,e.hasAnswered=r,e.waitingForOthers=r&&a,e}get id(){return this._doc.id||null}set id(e){this._doc.id=e}get publicId(){return this._doc.publicId||null}get name(){return this.data.name||null}set name(e){this.data.name=e}get articles(){return[...this.packageGroups.selectedArticles,...this.allArticles.filter(({packageId:e})=>!e)]}get allArticles(){return this._doc.articles||[]}set allArticles(e){this._doc.articles=e}get createdAt(){return this._doc.createdAt}get sentAt(){return this._doc.sentAt||null}get lastSentAt(){return this._doc.lastSentAt||null}get expiresAt(){return this.data.expiresAt||null}set expiresAt(e){this.data.expiresAt=e}get acceptedAt(){return this._doc.acceptedAt||null}get projectId(){return this._doc.projectId||null}get docNumber(){return this._doc.docNumber||{series:"document",value:null}}set docNumber(e){this._doc.docNumber=e}get status(){return this._doc.status||null}get useSignOrder(){return this._doc.useSignOrder||!1}get clients(){return this._doc.clients||[]}set clients(e){this._doc.clients=e}get recipients(){return[...this.senderClient?[this.senderClient]:[],...this.clients]}get template(){return this._template}get isPreview(){return this._isPreview||!1}get isHidden(){return this._doc.isHidden||!1}get excludeFromStats(){return this._doc.excludeFromStats||!1}get setPricesIncVat(){return ee(this,"data.formSettings.setPricesIncVat",null)&&this.useVat}get formSettings(){return ee(this,"data.formSettings")}get useVat(){return this.formSettings.useVat}get rounding(){return this.formSettings.rounding}get vatType(){return this.formSettings.vatType}get rejectReasons(){const{rejectReasons:e}=this.data;if(!e)return null;const r=Ze(e);return r==="array"?e:r==="object"?Object.keys(e).map(n=>e[n]):null}get personalMessage(){return this.data.personalMessage||null}get sourceDocument(){return this.data.sourceDocument||null}get reminders(){return this._doc.data.reminders||[]}set reminders(e){this._doc.data.reminders=e}set packageGroups(e){this._doc.data.packageGroups=e}get packageGroups(){return new pAe({data:this._doc.data.packageGroups,articles:this.allArticles,clients:this.clients,useVat:this.useVat,rounding:this.rounding,currency:this.currency})}get events(){const{events:e=[]}=this._doc,r=e.filter(a=>a.code!=="statusChanged"||["accepted","denied"].includes(a.data.status)),n=this.clients.filter(a=>["signee","approver"].includes(a.documentRole)).length;for(const[a,i]of r.entries()){const o=r[a+1];!o||o.code==="statusChanged"&&(o.data.status!==i.code||n<=1)&&r.splice(a+1,1)}return["viewed","mailOpened"].reduce((a,i)=>DSe(a,i),r)}get scheduledFirstDelivery(){const{reminders:e=[]}=this.data;return e.length&&e.find(r=>r.type==="first")||null}get type(){return this.categoryTags[0]}get categoryTags(){return ee(this._doc,"tags",[]).reduce((e,r)=>[...e,r.name],[])}get language(){return ee(this,"_doc.language","en")}set language(e){return Ut(this,"_doc.language",e)}get externalReferences(){return ee(this,"_doc.externalReferences",[])}set externalReferences(e){return Ut(this,"_doc.externalReferences",e)}get currency(){return ee(this,"_doc.currency")}get tags(){return ee(this,"_doc.tags",[])}set tags(e){return Ut(this,"_doc.tags",e)}setTag(e,r){const n=this.tags.find(a=>a.type===e);n?n.name=r:this.tags.push({type:e,name:r})}get readPrices(){return this._readPrices}get prices(){return $Se(this._doc)}get dynamicPrices(){const{groups:e}=this.packageGroups,r={min:0,max:0};return(e||[]).forEach(({type:n,prices:a={},packages:i,articles:o,useVat:s,rounding:u})=>{const{total:l,type:d}=a;let c={min:l,max:l};if(i&&i.length){if(n==="radio")c=i.reduce((m,{prices:f})=>(m.min===null&&(m.min=f.total),f.total>m.max&&(m.max=f.total),f.total<m.min&&(m.min=f.total),m),{...c,min:null});else if(n==="checkbox"){const[m,f]=i.reduce(([p,h],v)=>v.toggable?[[...p,v],h]:[p,[...h,v]],[[],[]]);if(m.length){const{maxTotal:p,houseWorkManualAmount:h}=i.reduce((y,{prices:b})=>(y.maxTotal+=b.maxTotal,y.houseWorkManualAmount+=ee(b,"region.houseWorkManualAmount",0),y),{maxTotal:0,houseWorkManualAmount:0}),{total:v}=Em({type:d,articles:o,currency:this.currency,clients:this.clients,maxTotal:p,region:{country:"sweden",houseWorkManualAmount:h},useVat:s,rounding:u});c.max=v}f.length?c.min=f[0].prices.total:c.min=m.reduce((p,h)=>((p===null||p>h.prices.total)&&(p=h.prices.total),p),null)}}r.min+=c.min,r.max+=c.max}),r}get cachedInvoices(){const{cachedInvoices:e}=this._doc;return!e||!e.invoices?[]:Object.keys(e.invoices).map(r=>e.invoices[r])}get invoiceIds(){const{cachedInvoices:e}=this._doc;return!e||!e.invoices?[]:Object.keys(e.invoices)}get invoicedAmount(){const{cachedInvoices:e}=this._doc;if(!e||!e.invoices)return 0;const r=e.invoices;return Object.keys(r).reduce((n,a)=>r[a]&&r[a].totalAmount?n+r[a].totalAmount:n,0)}set props(e){this._props=e}get theme(){const e={background:"https://images.unsplash.com/photo-1468233748640-b31327627610?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&w=1280&q=80",backgroundFilter:null,showClingLogo:null,showPriceSummary:!0,priceSummaryBackground:"hsl(217, 95%, 39%)",headingColor:"hsl(231, 100%, 50%)",fontFamily:null},r=ee(this._doc,"data.theme",{});return{...e,...this._theme,...zl(r)}}set theme(e){this._theme=e}set pdfOptions(e){this._pdfOptions=e}getAllNodesWithType(e){return(ee(this,"template.views.read.nodes")||[]).filter(({itemType:n})=>n===e)}get attachedFiles(){const e=[];return this.getAllNodesWithType("attachments").forEach(r=>{const n=r.value.attachments;if(!n)return;const a=ee(this,n);a&&Array.isArray(a)&&e.push(...a)}),e}get readLayout(){return this.getReadLayout()}getReadLayout({showHiddenNodes:e=!1}={}){if(!this.template)return[];const r={...this.template.defaultData,...this._doc,data:{...this._doc.data,...this.clients.length&&{clients:this.clients.filter(i=>i.documentRole!=="recipient")},...this._computedPricing&&{prices:this.prices},sender:{...this.sender.company,...this.sender.user,name:this.sender.user.name,avatar:this.sender.user.avatar,...this.sender.user.email&&{email:this.sender.user.email},...this.sender.user.cellphone&&{cellphone:this.sender.user.cellphone},type:"company",companyName:this.sender.company.name},receiverString:this.receiverString,senderString:this.senderString}},a=[...fAe({data:r,tree:this.template.views.read.nodes,bindData:!0,customProps:this._props,pdfOptions:this._pdfOptions})];return e?a:Bz({nodes:a,data:r})}get fields(){return{...ASe(this._doc),...this._doc.data.fields}}get textTemplateMap(){const{fields:e}=this;return Object.keys(e).reduce((r,n)=>({...r,[e[n].key]:e[n].label}),{})}get textTemplateItems(){const e=this.textTemplateMap||{};return Object.keys(e).reduce((r,n)=>[...r,{id:n,label:e[n],tooltip:ee(this._doc,n)}],[])}get usedFields(){return iP(this.data)}get hasAnswers(){return this.clients.filter(({documentRole:e})=>["signee","approver"].includes(e)).some(({answer:e})=>!!e)}removeAnswer(){this._doc.acceptedAt=null,this._doc.status="draft",this.clients.forEach(e=>{e.answer=null})}setAnswerMethod({accept:e,deny:r}){if(typeof e>"u"&&typeof r>"u")throw new Error("Missing param accept or deny");this.removeAnswer(),e&&(Ut(this,"_doc.data.defaultAnswerMethod.accept",e),Ut(this,"_doc.template.defaultAnswerMethod.accept",e)),r&&(Ut(this,"_doc.data.defaultAnswerMethod.deny",r),Ut(this,"_doc.template.defaultAnswerMethod.deny",r)),this.clients.filter(({documentRole:n})=>["signee","approver"].includes(n)).forEach(n=>{n.answer=null,e&&(n.answerMethod.accept=e),r&&(n.answerMethod.accept=e)})}resetReminders(){const{template:e}=this,{reminders:r}=e;this.reminders=r}resetDefaultSelected(){const e=this._doc.data.packageGroups;!e||(this.packageGroups=Object.keys(e).reduce((r,n)=>({...r,[n]:{...e[n],packages:(e[n].packages||[]).map(a=>({...a,isSelected:a.isSelectedDefault||e[n].type==="single"}))}}),{}))}clone(){const e=this;return Object.assign(Object.create(Object.getPrototypeOf(e)),JSON.parse(JSON.stringify(e)))}duplicate(){const e=this.clone();return e.id=null,e._doc._id=null,e.deleteProperty("data.expiresAt"),e.deleteProperty("data.rejectReasons"),e.deleteProperty("company"),e.deleteProperty("companyUser"),e.deleteProperty("senderClient"),e.clients=e.clients.map(r=>Ba(r,["id","_id","publicDocumentId","answer"])),e.allArticles=e.allArticles.map(r=>Ba(r,["id","_id","createdAt","updatedAt","deletedAt"])),e.resetReminders(),e.resetDefaultSelected(),e}copyTemplateDocDefault({keepClients:e=!1}={}){const{template:r,articles:n,data:a,tags:i,docNumber:o,language:s,currency:u,clients:l,useSignOrder:d}=this.duplicate().getRawData();Object.keys(a).forEach(m=>{ee(r,`validationSchema.properties.data.properties.${m}`)?Ut(r,`validationSchema.properties.data.properties.${m}.default`,a[m]):Object.keys(LB).includes(m)&&Ut(r,`validationSchema.properties.data.properties.${m}`,{...LB[m],default:a[m]})});const c={articles:n,tags:i,docNumber:o,currency:u,useSignOrder:d};return delete o.value,e&&(c.clients=l),Object.keys(c).forEach(m=>{c[m]&&Ut(r,`validationSchema.properties.${m}.default`,c[m])}),r.language=s,r}getRawData(){return{...this._doc,data:{...this._doc.data,prices:this.prices,name:this.name||""}}}get allowVerification(){return this.status==="accepted"||this.clients.some(({answerMethod:e})=>e&&e.accept==="inPerson")}async formatPhone(e,{defaultRegion:r}={}){return Qke(e,{defaultRegion:r||this.sender.company.region})}setDirty(e){this._dirtyKeys[e]=!0}isDirty(e){return!!this._dirtyKeys[e]}$t(e,r={},{fnType:n="t"}={}){const a={lng:this.language,...r},i=["exVat","incVat","vat.exVat","vat.incVat"],o=e&&e.includes(":")?e.split(":")[1]:e;return o==="vat"?Gl[n](`vat.${this.vatType}`,{...a}):(i.includes(o)&&(a.thing=Gl[n](`vat.${this.vatType}`)),Gl[n](e,{...a}))}$tc(e,r={}){return this.$t(e,r,{fnType:"tc"})}}const gAe=t=>t.map(e=>({...e,price:0,totalAmount:0,invoicedAmount:0,showPrice:!1}));class zs extends vAe{constructor({data:e,documentOptions:r={},can:n,getters:a,updateSender:i=!1}){if(!a)throw new Error("Missing param getters");let o=e;n&&!n("prices","read")&&ee(e,"articles",[]).length&&(o={...e,articles:gAe(e.articles)});const{senderString:s,receiverString:u,fSkatt:l,insurance:d,offerBrandingBackgroundUrl:c,documentThemeBackgroundFilter:m,documentShowPriceSummary:f,documentThemePriceBackground:p,documentThemePrimaryColor:h,presentationFontFamily:v,showClingLogo:y}=a["settings/allCompanySettings"]||{};super(o,{...r,props:{defaultSenderString:s,defaultReceiverString:u,...r.props},readPrices:n?n("prices","read"):!0,isPreview:!0,settingsTheme:zl({background:c,backgroundFilter:m,showPriceSummary:f,priceSummaryBackground:p,headingColor:h,fontFamily:v,showClingLogo:y})}),this._documentOptions=r,this._can=n,this._defaultScope="documents",this._getters=a;const b=i||!Object.keys(ee(this,"_doc.company",{})).length||!Object.keys(ee(this,"_doc.companyUser",{})).length,g=b?this._doc.companyId?a["companies/companyById"](this._doc.companyId):a["application/company"]:this._doc.company;g&&b&&(g.fSkatt=l,g.insurance=d);const _=b?this._doc.companyUserId?a["companyUsers/referenceById"](this._doc.companyUserId):a["application/user"]:this._doc.companyUser;this.sender=this._documentOptions.sender||{company:g,user:_}}can(e,r=null,n=null){if(!this._can)return!0;if(typeof e!="string")throw new Error("Permission must be of type String");return this._can(r||this._defaultScope,e,n||this.id)}get companyId(){return this._doc.companyId}get companyUserId(){return this._doc.companyUserId}resetReminders(){super.resetReminders();let{reminders:e}=this;if(!e.length)return;const{_getters:r}=this,n=r["settings/reminderSettings"],a=(i,o)=>e.filter(({type:s})=>s===i).map(s=>(s.sendDays=o,!0));typeof n.notAnswered<"u"&&a("reminder",n.notAnswered),typeof n.notViewed<"u"&&a("viewed",n.notViewed),typeof n.expires<"u"&&a("expires",n.expires),e=e.filter(({type:i,sendDays:o})=>i==="first"||o),this.reminders=e}clone(){return new zs({data:JSON.parse(JSON.stringify(this._doc)),documentOptions:this._documentOptions,can:this._can,getters:this._getters})}async isValid(){const e=this.getRawData();try{return await Cr.validate(e),!0}catch{return!1}}}const yAe=t=>({id:null,name:"Default Empty",validationSchema:{type:"object",required:["clients","data"],properties:{tags:{type:"array",default:[{name:"document",type:"category"}]},docNumber:{type:"object",properties:{series:{type:"string",default:"document"}}},clients:{type:"array",default:[]},data:{type:"object",required:["name"],properties:{partiesString:{anyOf:[{type:"string"},{type:"null"}],default:ce.t("components:document.chapters.parties.title",{lng:t})},"header-kh0loiq7":{default:{layout:"vertical",baseStyle:{textAlign:"left",textColor:"#f0ce84"},items:[{type:"media",size:35,media:{type:"image",resourceUrl:"https://images.unsplash.com/photo-1581660545544-83b8812f9516?ixlib=rb-1.2.1&auto=format&fit=crop&w=1800&q=80"}},{type:"content",size:65,media:{type:"color",backgroundColor:"#17346e"},value:{preText:"",documentName:'<p data-typography="title"></p>',postText:"<p></p>",showLogo:!0,logotype:""}}]},$ref:`${ge.api.baseUrl}/schemas/header/2.json`},packageGroups:{default:{kh0lol91:{type:"",title:ce.t("components:document.chapters.packageGroup.title",{lng:t}),hideGroupPrice:!1,packages:[]}},$ref:`${ge.api.baseUrl}/schemas/packageGroups/1.json`},"title-kh0los53":{anyOf:[{type:"string"},{type:"null"}]},"content-kh0los54":{anyOf:[{type:"string"},{type:"null"}]},defaultAnswerMethod:{default:{accept:"signature",deny:"button"},$ref:`${ge.api.baseUrl}/schemas/answer/1.json`},name:fP,sender:cP,senderString:mP,receiverString:pP,prices:hP,css:dP,fields:gP,expiresAt:vP,formSettings:lP,reminders:Jl,smsTemplate:sP,emailTemplate:uP}}}},views:{edit:{isEditable:!0,nodes:[]},read:{isEditable:!0,nodes:[{itemId:"header-kh0loiq7",itemType:"header",value:{header:"data.header-kh0loiq7"}},{itemId:"parties",itemType:"section",value:{title:"data.partiesString"},children:[{itemId:"clients",itemType:"subSection",value:{title:"data.receiverString"},children:[{itemId:"clientsList",itemType:"party",value:{parties:"clients"}}]},{itemId:"sender",itemType:"subSection",value:{title:"data.senderString"},children:[{itemId:"senderList",itemType:"party",value:{parties:"data.sender"}}]}]},{itemId:"packageGroup-kh0lol91",itemType:"section",value:{title:"data.packageGroups.kh0lol91.title"},children:[{itemId:"group",itemType:"selectionGroup",value:{groupId:"kh0lol91",type:"data.packageGroups.kh0lol91.type",packages:"data.packageGroups.kh0lol91.packages"}}]},{itemId:"titleAndText2",itemType:"section",value:{title:"data.title-kh0los53"},children:[{itemId:"kh0los52",itemType:"html",value:{content:"data.content-kh0los54"}}]},{itemId:"answer",itemType:"answer",value:{defaultAnswerMethod:"data.defaultAnswerMethod"}}]},email:Nm,sms:Lm},isVisible:!0,language:t}),WB={default:t=>{const e=yAe(t);return{...e,views:Object.keys(e.views).reduce((r,n)=>({...r,[n]:{...e.views[n],nodes:oP(e.views[n].nodes,{setId:!0})}}),{})}},empty:t=>({id:null,name:"Empty",validationSchema:{type:"object",required:["clients","data"],properties:{tags:{type:"array",default:[{name:"document",type:"category"}]},docNumber:{type:"object",properties:{series:{type:"string",default:"document"}}},clients:{type:"array",default:[]},data:{type:"object",required:["name"],properties:{name:fP,sender:cP,senderString:mP,receiverString:pP,prices:hP,css:dP,fields:gP,expiresAt:vP,formSettings:lP,reminders:Jl,smsTemplate:sP,emailTemplate:uP}}}},views:{edit:{isEditable:!0,nodes:[]},read:{isEditable:!0,nodes:[]},email:{...Nm,nodes:oP(Nm.nodes,{setId:!0})},sms:{...Lm,nodes:oP(Lm.nodes,{setId:!0})}},isVisible:!0,language:t})},{FORM_CLEAR_FORM:Wm,CLEAR_DOCUMENT2_ANSWERS:FB,DO_SEND_DOCUMENT2:_Ae,SHOW_MESSAGE:bAe,LOAD_ENDCUSTOMER:wAe,UPDATE_TEMPLATE:xAe,DO_CREATE_TEMPLATE:PAe}=ke,{LOAD_DOCUMENT2_FORM:kAe,LOAD_DOCUMENT2_PUBLIC_FORM:TAe,LOAD_DUPLICATE_DOCUMENT2_FORM:jB,SAVE_DYNDOC_FORM:EAe,CLEAR_DYNDOC_FORM:VB,DO_SAVE_DYNDOC:UB,HANDLE_DOCUMENT2_EDIT:MAe,SAVE_TEMPLATE_FORM:SAe,LOAD_EXTERNAL_FORM_FIELDS:yP}=SU,{SET_FORM:_P,SET_FORM_VALUE:zB}=Me.forms;async function OAe({id:t=null,templateId:e=null,rootState:r,state:n,rootGetters:a,dispatch:i}){if(!r)throw new Error("Missing parameter rootState");if(!n)throw new Error("Missing parameter state");if(!a)throw new Error("Missing parameter rootGetters");if(!i)throw new Error("Missing parameter dispatch");let o=!1;const s=a["forms/document"];if(!s)return!1;const{name:u,params:{id:l}}=r.route||{},{id:d,template:{id:c}}=s;return["documentForm"].includes(u)&&(t?d&&d===l&&d===t&&(yt.debug("DYNDOC_FORM: Using existing store data existing id match route"),o=!0):!d&&!t&&(e==="default"&&!c||e===c)&&(yt.debug("DYNDOC_FORM: Using existing store data as no ids was found"),o=!0)),o&&yt.debug("DYNDOC_FORM: Dont reload as forms/document2 is already defined"),o}const CAe={async[kAe]({commit:t,rootState:e,rootGetters:r,state:n,dispatch:a},{documentId:i=null,templateId:o=null,addonDocumentSourceId:s=null,projectId:u=null,clientId:l=null,formData:d=null,_formData:c=null,dummyClient:m=!1}={}){if(await OAe({id:i,templateId:o,rootState:e,state:n,rootGetters:r,dispatch:a})&&!s)return;let p={id:null,__tempId:rn.exports(),companyUserId:this.getters["application/user"].id,language:this.getters["settings/getCompanyUserSetting"]("defaultLanguage")||"en",currency:this.getters["settings/getCompanyUserSetting"]("defaultCurrency"),data:{},template:null,articles:[],clients:[],...c&&{...c},...d};if(!d){if(i){await this.dispatch(ke.DO_LOAD_DOCUMENT2,{id:i});const y=this.getters["documents2/byId"](i);p={...p,...y.getRawData()}}else if(o){let y=["default","empty"].includes(o)?new Ja(WB[o](p.language)):this.getters["templates/byId"](o);if(o==="onboardingTemplate"){const{data:b}=await Gi.get(o);y=new Ja(b)}if(y||(await this.dispatch(ke.LOAD_TEMPLATE,{id:o}),y=this.getters["templates/byId"](o)),!y)throw new Error(`Could not find template by id: '${o}'`);p.template={...y._data,defaultData:y.defaultData}}const v=ee(p,"template.defaultData",{});if(p={...p,...v,clients:[...(v==null?void 0:v.clients)||[],...p.clients]},Object.keys(e.settings.company).length||await this.dispatch(ke.LOAD_SETTINGS_COMPANY),s){await this.dispatch(ke.DO_LOAD_DOCUMENT2,{id:s});const y=this.getters["documents2/byId"](s),{publicId:b,clients:g}=y.duplicate();p={...p,projectId:y.projectId,clients:g,data:{...p.data,sourceDocument:{id:s,publicId:b}}}}}if(u&&(p.projectId=u),l){await this.dispatch(wAe,{id:l});const v=r["endCustomers/endCustomerById"](l),y=ee(p,"template.defaultData.data.defaultAnswerMethod"),b=Ox(v,{...y&&{answerMethod:y}});p.clients=[...p.clients,b]}if(m){const v=["email"];In.checkFeature("sms")&&v.push("sms"),p.clients=[...p.clients,{name:"Pernilla P.",email:"pernilla@mail.se",cellphone:"073 123 56 78",documentRole:"signee",type:"individual",deliveryTypes:v}]}if(o==="onboardingTemplate"){const v=r["application/user"]||{},y=r["application/company"]||{},b={type:"company",email:v.email,companyName:y.name||(p.language==="sv"?"Konsulterna AB":"The consultants Corp."),name:v.fullName||(p.language==="sv"?"Test Testson":"John Doe"),...v.cellphone?{cellphone:v.cellphone}:{},...y.region&&{cellphoneRegion:y.region}};p.clients=[...p.clients,As({...Sx(),...b})]}const h=ee(p,"data.defaultAnswerMethod",null);h&&(p.clients=p.clients.map(v=>ee(v,"answerMethod.accept")!=="inPerson"?{...v,answerMethod:h}:v)||[]),t(_P,{key:"document2",formData:{...p,data:{...p.data,...!i&&{reminders:this.getters["forms/getDocumentAccountDefault"]("reminders",{template:new Ja(p.template)})}}}}),a(yP)},async[TAe]({commit:t},{formData:e=null}={}){let r={id:null,language:ce.lang,currency:this.$brand==="cling"?"SEK":"USD",data:{},template:null,articles:[],clients:[],...e};if(!e){if(!r.template){const i=new Ja(WB.default(r.language));r.template={...i._data,defaultData:i.defaultData}}const a=ee(r,"template.defaultData",{});r={...r,...a}}r.language==="sv"&&r.data.defaultAnswerMethod&&(r.data.defaultAnswerMethod.accept="bankId");const n=ee(r,"data.defaultAnswerMethod",null);n&&(r.clients=r.clients.map(a=>ee(a,"answerMethod.accept")!=="inPerson"?{...a,answerMethod:n}:a)||[]),t(_P,{key:"document2",formData:{...r,data:{...r.data}}})},async[jB]({commit:t,dispatch:e},{id:r,publicDocId:n,projectId:a=null,keepClients:i=!1,isPublicForm:o=!1}){if(!r&&!n)throw new Error("Missing parameter id");let s;if(n){const{data:b}=await xU.get(n,{preview:!0});s=new zs({data:b,can:o?null:Xi.checkPermission.bind(Xi),getters:this.getters})}else await this.dispatch(ke.DO_LOAD_DOCUMENT2,{id:r}),s=this.getters["documents2/byId"](r);if(!s)throw new Error("Could not find document to duplicate");const u=s.duplicate(),{defaultData:l}=u.template,{template:d,data:c,articles:m,clients:f,language:p,currency:h,externalReferences:v}=u.getRawData(),y={...l,template:d,articles:m,clients:i?f:[],language:p,currency:h,externalReferences:v,data:{...l.data,...c}};a&&(y.projectId=a),t(_P,{key:"document2",formData:y}),e(yP)},async[SAe](t,{body:e}){try{if(!e)throw new Error("Missing param body");e.id?await this.dispatch(xAe,{id:e.id,body:e}):await this.dispatch(PAe,{body:e}),this.commit(`documents2/${Me.documents2.SET_DOCUMENT2_POSTING}`,!0),this.$router.push({name:"documentFormSelect"}),this.commit(`documents2/${Me.documents2.SET_DOCUMENT2_POSTING}`,!1),await this.dispatch(Wm,{key:"_old_document2"}),await this.dispatch(Wm,{key:"document2"})}catch(r){this.handleError(r)}},async[EAe]({dispatch:t},{doRedirect:e=!0,doSend:r=!1}={}){try{const n=await t(UB),a=this.getters["documents2/byId"](n),i=!!ee(a,"senderClient");return r&&!i&&await this.dispatch(_Ae,{id:n}),e?(this.commit(`documents2/${Me.documents2.SET_DOCUMENT2_POSTING}`,!0),r?this.$router.push({name:"postDocumentSend",params:{id:n}}):gz({next:"project",projectId:a.projectId},this.$router),this.commit(`documents2/${Me.documents2.SET_DOCUMENT2_POSTING}`,!1)):await t(VB),n}catch(n){return this.handleError(n),null}},async[VB](){try{await this.dispatch(Wm,{key:"_old_document2"}),await this.dispatch(Wm,{key:"document2"})}catch(t){this.handleError(t)}},async[UB]({rootGetters:t,getters:e,commit:r},{showMessage:n=!0}={}){const{document:a}=e;let{id:i}=a;const o=l=>Gl.t(`documentTemplateView.${l}`,{lng:a.language,interpolation:{prefix:"__",suffix:"__"}}),s=ee(a,"data.defaultAnswerMethod",null);s&&(a.clients=a.clients.map(l=>ee(l,"answerMethod.accept")!=="inPerson"?{...l,answerMethod:s}:l));const u={...a,data:{...a.data,name:a.data.name||"",smsTemplate:{first:{text:o("smsTemplate.first.text")},reminder:{text:o("smsTemplate.reminder.text")},expires:{text:o("smsTemplate.expires.text")},viewed:{text:o("smsTemplate.viewed.text")}},emailTemplate:{first:{subject:o("emailTemplate.first.subject"),title:o("emailTemplate.first.title"),content:o("emailTemplate.first.content"),text:o("emailTemplate.first.text")},viewed:{subject:o("emailTemplate.viewed.subject"),title:o("emailTemplate.viewed.title"),content:o("emailTemplate.viewed.content"),text:o("emailTemplate.viewed.text")},reminder:{subject:o("emailTemplate.reminder.subject"),title:o("emailTemplate.reminder.title"),content:o("emailTemplate.reminder.content"),text:o("emailTemplate.reminder.text")},expires:{subject:o("emailTemplate.expires.subject"),title:o("emailTemplate.expires.title"),content:o("emailTemplate.expires.content"),text:o("emailTemplate.expires.text")}}},pdfConfig:{locale:Gl.locale,timeZone:ee(Intl.DateTimeFormat().resolvedOptions(),"timeZone")||""}};return delete u.company,delete u.companyUser,i?(a.clearAnswerBeforePut&&(await this.dispatch(FB,{id:i,doFetch:!1}),await this.dispatch(ke.DO_UPDATE_DOCUMENT2,{id:i,body:{status:"draft"},showMessage:n})),await this.dispatch(ke.DO_UPDATE_DOCUMENT2,{id:i,body:u,showMessage:n})):(i=await this.dispatch(ke.DO_CREATE_DOCUMENT2,{body:u}),r(zB,{key:"document2.id",value:i})),t["settings/showOverviewOnboardingOverlay"]&&this.dispatch("settings/UPDATE_SETTINGS",{key:"companyUser",settings:{showOverviewOnboardingOverlay:!1}}),i},async[MAe]({getters:t,dispatch:e},{documentId:r=null}={}){let n;if(r?(await this.dispatch(ke.DO_LOAD_DOCUMENT2,{id:r}),n=this.getters["documents2/byId"](r)):{document:n}=t,!n)throw new Error("Missing document");const a=n.id?n.can("modify"):n.can("create"),{id:i,status:o,projectId:s,hasAnswers:u}=n;if(a&&(o==="accepted"||u)){const l=o==="accepted"?"accepted":"hasAnswers";this.dispatch(bAe,{displayType:"dialog",type:"primary",title:ce.t(`actions:editDocumentDialog.${l}.title`),message:ce.t(`actions:editDocumentDialog.${l}.message`),actions:{cancel:{text:ce.t("_common:cancel"),callback:"cancel"},submit:{text:ce.t(`actions:editDocumentDialog.${l}.submit`),callback:async()=>{if(l==="accepted")await e(jB,{id:i,projectId:s,keepClients:!0}),this.$router.push({name:"documentForm"});else if(l==="hasAnswers"){await this.dispatch(FB,{id:i,doFetch:!0});const d={name:"documentForm",params:i?{id:i}:{}};this.$router.push(d)}}}}})}else if(a){const l={name:"documentForm",params:i?{id:i}:{}};return this.$router.push(l)}return null},async[yP]({rootGetters:t,getters:e,commit:r}){const{document:n}=e;if((n==null?void 0:n.externalReferences)&&n.externalReferences.length)try{await Promise.all((n.externalReferences||[]).map(async({service:a,type:i,typeId:o})=>{if(i&&o&&a&&t["settings/isAuthenticatedCRM"](a)){const{data:s}=await rx.getFields(a,{type:i,typeId:o,populated:!0});r(zB,{key:"document2.data.fields",value:{...ee(n,"data.fields"),...s}})}}))}catch(a){this.handleError(a)}}},DAe={...CSe,...iOe,...uOe,...CAe,async[An.FORM_CLEAR_FORM]({commit:t},{key:e}){return t(Rn.CLEAR_FORM,{key:e})},async[An.SET_FORM]({commit:t},{key:e,formData:r}){return t(Rn.SET_FORM,{key:e,formData:r})},async[An.SET_FORM_VALUE]({commit:t},{key:e,value:r}){return t(Rn.SET_FORM_VALUE,{key:e,value:r})},async[An.REMOVE_FORM_VALUE]({commit:t},e){return t(Rn.REMOVE_FORM_VALUE,e)},async[An.REMOVE_FORM_KEY_VALUE]({commit:t},e){return t(Rn.REMOVE_FORM_KEY_VALUE,e)},async[An.FORM_RESET_OLD]({commit:t,rootGetters:e},r){const n=e["forms/getFormByKey"](r);return t(Rn.SET_FORM,{key:r,formData:n})}},$Ae={},AAe={setDocumentField(t,e){const{path:r,value:n}=e,{root:a,prop:i}=Qi(t.document,r,!0);Nl(a,{path:i,value:n})}},{SET_FORM:RAe,CLEAR_FORM:IAe,SET_FORM_VALUE:NAe,REMOVE_FORM_VALUE:LAe,REMOVE_FORM_KEY_VALUE:WAe}=Rn,FAe={updateField:Nl,...$Ae,...AAe,[RAe](t,{key:e,formData:r}){if(Ze(r)==="undefined"){console.warn("FormData was undefined!");return}const n=JSON.parse(JSON.stringify(r)),{root:a,prop:i}=Qi(t,e,!0);if(Array.isArray(n))ie.set(a,i,n);else if(typeof n=="object"&&n!==null){const o=Object.assign({},n);ie.set(a,i,o)}else ie.set(a,i,n);if(e.split(".").length!==1){console.warn("Using SET_FORM to set individual values");return}t[`_old_${e}`]=JSON.parse(JSON.stringify(t[e]||{}))},[IAe](t,{key:e}){const{root:r,prop:n}=Qi(t,e);ie.set(r,n,{})},[LAe](t,e){const{root:r,prop:n}=Qi(t,e);if(Array.isArray(r)){ie.delete(r,n);return}if(r[n]&&Array.isArray(r[n])){ie.set(r,n,[]);return}if(r[n]&&typeof r[n]=="object"){ie.set(r,n,{});return}r[n]=void 0},[WAe](t,e){const{root:r,prop:n}=Qi(t,e);r&&n in r&&delete r[n]},[NAe](t,{key:e,value:r}){const{root:n,prop:a}=Qi(t,e,!0),i=Ze(r)==="null",o=Ze(r)==="array"&&!r.length;if(!i&&n[a]&&Ze(n[a])==="array"&&!o&&Ze(r)!=="array"){n[a].push(As(r));return}if(!i&&Ze(n)==="array"&&!o){let s=As(r);typeof n[a]=="object"&&n[a]._uniqueId&&(s={...s,_uniqueId:n[a]._uniqueId}),ie.set(n,a,s);return}ie.set(n,a,r)}};function jAe(t){const e={email:!1,sms:!1};return ee(t,"clients",[]).forEach(r=>{r.deliveryTypes.indexOf("sms")>-1&&(e.sms=!0),r.deliveryTypes.indexOf("email")>-1&&(e.email=!0)}),e.sms&&!In.checkFeature("sms")&&(e.sms=!1),e}const VAe={getField:pm,...{document:({document2:t})=>Object.keys(t).length?t:null,deliveryTypes:t=>jAe(t.document2),getDocumentAccountDefault:(t,e,r,n)=>(a,{template:i})=>{let o;if(a==="reminders"){if(o=[],!i)return o;o.push(...i.reminders);const s=(l,d)=>o.filter(({type:c})=>c===l).forEach(c=>{c.sendDays=d}),u=n["settings/reminderSettings"];u.notAnswered!==void 0&&s("reminder",u.notAnswered),u.notViewed!==void 0&&s("viewed",u.notViewed),u.expires!==void 0&&s("expires",u.expires),o=o.filter(({type:l,sendDays:d})=>l==="first"||d)}return o}},...{documentField:t=>e=>{const{document:r={}}=t;let n=e.split(".");n[0]==="document"&&(n=[...n.slice(1)]);let a=r[n[0]];return n.length>1&&(a=n.reduce((i,o)=>i&&i[o],r)),a},isIndivid:t=>{try{return t.document.ModuleEndCustomer.customerType!=="company"}catch{return!0}},isReverseVat:t=>{try{return In.checkFeature("reverseVat")&&t.document.ModuleEndCustomer.reverseVat===!0}catch{return!1}},getInvoicePrices:({document:t={}},e,r,n)=>{const a={invoiceFee:t.invoiceFee||0,invoiceFeeVat:0,centRoundingAmount:0,totalPriceExVat:0,totalVatAmount:0,totalAmount:0,visualPricing:{},regionPricing:[],reverseVat:e.isReverseVat||!1,type:t.type,paidAmount:0,remainingAmount:0,totalPriceIncVat:0,creditedAmount:0,currency:"SEK"};(t.ModuleArticles||[]).forEach(l=>{const d=qi(l);if(!d.price||!d.quantity)return;const{totalAmount:c}=d;a.totalPriceExVat+=c,a.totalVatAmount+=c*(d.vat/100),d.vat>a.invoiceFeeVat&&!a.reverseVat&&(a.invoiceFeeVat=d.vat)}),a.totalPriceExVat+=a.invoiceFee,a.totalVatAmount+=a.invoiceFee*a.invoiceFeeVat*.01,a.reverseVat&&(a.totalVatAmount=0),a.regionPricing=e.invoiceRegion.regionPricing;const i=a.regionPricing.reduce((l,d)=>l+d.value,0),o=a.totalPriceExVat+a.totalVatAmount,s=(o+i)*.01,u=Math.round(s)-s;return a.centRoundingAmount=u*100,a.totalAmount=o+i+a.centRoundingAmount,a.type==="credit"&&(a.creditedAmount=a.totalAmount),a.remainingAmount=a.totalAmount,a},invoice:(t,e,r,n)=>{const a={};return Object.keys(Bl).map(o=>(a[o]=n["forms/documentField"](o),o==="ModuleArticles"&&Ze(a[o])==="array"&&(a[o]=a[o].filter(s=>s.name),a[o]=a[o].map((s,u)=>({...s,position:u}))),!0)),new Dx(a,n)},invoiceRegion:({document:t={}},e,r,n)=>{const a=qi(t.ModuleArticles||[]),i=t.InvoiceRegionSweden||{},o={applicants:ee(i,"persons",[]),houseWorkType:null,houseWorkAmount:null,houseWorkMaterial:null,allowRot:!1,allowRut:!1,regionPricing:[],requirePropertyDesignation:!1},s=a.find(m=>m.isDeductable||m.isRut)||{};s.isDeductable?o.houseWorkType="rot":s.isRut&&(o.houseWorkType="rut"),o.requirePropertyDesignation=o.houseWorkType==="rot";const u=a.reduce((m,f)=>m+f.houseWorkDeductionAmount,0),l=a.reduce((m,f)=>!f.isDeductable&&!f.isRut?m:m+f.totalAmount*(100+f.vat)/100,0),d=a.reduce((m,f)=>m+f.houseWorkMaterialCostToReport,0);o.houseWorkAmount=u,o.houseWorkMaterialAmount=d,o.houseWorkDuration=a.reduce((m,f)=>m+f.houseWorkHoursToReport,0),o._totalPriceDeductionArticles=l;const c=i.propertyType==="realEstate";return o.isRealEstate=c,o.propertyId=c?i.realEstateId:i.condominiumId,o.condominiumOrgNo=i.condominiumOrgNo,e.isIndivid&&(o.allowRot=n["settings/getCompanySetting"]("showRot")||!!o.houseWorkAmount,o.allowRut=n["settings/getCompanySetting"]("showRut")||!!o.houseWorkAmount),o.regionPricing=[...o.houseWorkType==="rot"?[{label:"ROT-avdrag",key:"rot",value:-o.houseWorkAmount}]:[],...o.houseWorkType==="rut"?[{label:"RUT-avdrag",key:"rut",value:-o.houseWorkAmount}]:[]],o},kycForm:t=>t.kycForm||null},hasChanged:t=>e=>JSON.stringify(t[e])!==JSON.stringify(t[`_old_${e}`]),getFormByKey:t=>e=>{const r=e.split(".");let n=t;const a=r.pop();return r.length>0&&(n=r.reduce((i,o)=>i[o],t)),n[a]},getArrayElement:t=>(e,r)=>{const{root:n,prop:a}=Qi(t,e),i=n[a];if(!Array.isArray(i))throw new Error(`${a} is not an array`);return i.find(s=>s.uniqueId===r)}},UAe={namespaced:!0,state:SSe,getters:VAe,actions:DAe,mutations:FAe},zAe={data:{},ids:[],filePublicIdToId:{},isFetching:!1,isPosting:!1},Bs="files",{LOAD_FILE:BB,CREATE_FILE:bP,UPDATE_FILE:wP,DELETE_FILE:HB,PATCH_FILE:qB,FORM_NEW_FILE:BAe,FORM_EDIT_FILE:HAe,FORM_SUBMIT_FILE:YB}=lm,{UPDATE_MANY_FILES:GB,DELETE_ONE_FILE:qAe,SET_FILES_FETCHING:KB,SET_FILES_POSTING:ei}=ox,{SET_FORM:XB,CLEAR_FORM:YAe}=Me.forms,GAe={async[BB]({commit:t},{id:e}){try{t(KB,!0);const{data:r}=await MTe(e);return t(GB,{data:r}),!0}catch(r){return this.handleError(r,{object:"file",objectId:e,fallbackCode:"file.get",action:`${Bs}/${BB}`,actionPayload:arguments[1]}),!1}finally{t(KB,!1)}},async[bP]({commit:t},{body:e}){try{t(ei,!0);const r=e.fileName||"";let n=null;if(e.blob){const a=new FormData;a.append("file",e.blob,r),{data:n}=await bU(a)}else({data:n}=await bU(e));if(!n)throw new Error("No file was uploaded");return t(GB,{data:n}),n.id}catch(r){return this.handleError(r,{object:"file",fallbackCode:"file.post",action:`${Bs}/${bP}`,actionPayload:arguments[1]}),null}finally{t(ei,!1)}},async[wP]({commit:t,dispatch:e},{id:r,body:n}){try{return t(ei,!0),await STe(r,n),await e(lm.LOAD_FILE,{id:r}),r}catch(a){return this.handleError(a,{object:"file",objectId:r,fallbackCode:"file.put",action:`${Bs}/${wP}`,actionPayload:arguments[1]}),null}finally{t(ei,!1)}},async[HB]({commit:t},{id:e}){try{return t(ei,!0),await OTe(e),t(qAe,e),e}catch(r){return this.handleError(r,{object:"file",objectId:e,fallbackCode:"file.delete",action:`${Bs}/${HB}`,actionPayload:arguments[1]}),null}finally{t(ei,!1)}},async[qB]({commit:t,dispatch:e},{id:r}){try{return t(ei,!0),await CTe(r),await e(lm.LOAD_FILE,{id:r}),r}catch(n){return this.handleError(n,{object:"file",objectId:r,fallbackCode:"file.patch",action:`${Bs}/${qB}`,actionPayload:arguments[1]}),null}finally{t(ei,!1)}},[BAe]({commit:t}){const e={blob:null,fileName:null};return t(`forms/${XB}`,{key:"file",formData:e},{root:!0})},[HAe]({commit:t,state:e},{id:r,props:n=[]}){const a={...ua(e.data[r],n),id:r};return t(`forms/${XB}`,{key:"file",formData:a},{root:!0})},async[YB]({commit:t,rootGetters:e,dispatch:r}){try{const n=e["forms/getFormByKey"]("file");let{id:a}=n;return a?await r(wP,{id:n.id,body:n}):a=await r(bP,{body:n}),t(`forms/${YAe}`,{key:"file"},{root:!0}),a}catch(n){return this.handleError(n,{object:"file",action:`${Bs}/${YB}`}),null}}},{UPDATE_MANY_FILES:KAe,DELETE_ONE_FILE:XAe,CLEAR_FILES:JAe,SET_FILES_FETCHING:QAe,SET_FILES_POSTING:ZAe}=ox,eRe={[KAe](t,{data:e=[]}){if(typeof e!="object")throw Error("Data must be a company user or an array of company users!");const r=Array.isArray(e)?e:[e],{ids:n,values:a}=Vl(r),i=n.reduce((o,s)=>!a[s]||!a[s].publicId?o:{...o,[a[s].publicId]:a[s].id},{});Fs(t.data,a),t.ids=Yi([...n,...t.ids]),t.filePublicIdToId={...t.filePublicIdToId,...i}},[XAe](t,e){t.data[e]&&(ie.delete(t.filePublicIdToId,t.data[e].publicId),ie.delete(t.data,e));const n=t.ids.indexOf(e);n!==-1&&t.ids.splice(n,1)},[JAe](t){ie.set(t,"data",{}),ie.set(t,"ids",[]),ie.set(t,"filePublicIdToId",[])},[QAe](t,e){t.isFetching=e},[ZAe](t,e){t.isPosting=e}},tRe={namespaced:!0,state:zAe,getters:{fileById:t=>e=>t.data[e],fileByPublicId:(t,e)=>r=>{const n=t.filePublicIdToId[r];return e.fileById(n)}},actions:GAe,mutations:eRe},rRe={data:{},ids:[],projectPublicIdToId:{},isFetching:!1,isPosting:!1,canFetchMore:!0,count:{},searchWord:"",isFetchingProjectNotes:!1,isPostingProjectNotes:!1};var nRe="__lodash_hash_undefined__";function aRe(t){return this.__data__.set(t,nRe),this}var iRe=aRe;function oRe(t){return this.__data__.has(t)}var sRe=oRe,uRe=Xw,lRe=iRe,dRe=sRe;function Fm(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new uRe;++e<r;)this.add(t[e])}Fm.prototype.add=Fm.prototype.push=lRe,Fm.prototype.has=dRe;var JB=Fm;function cRe(t,e,r,n){for(var a=t.length,i=r+(n?1:-1);n?i--:++i<a;)if(e(t[i],i,t))return i;return-1}var fRe=cRe;function mRe(t){return t!==t}var pRe=mRe;function hRe(t,e,r){for(var n=r-1,a=t.length;++n<a;)if(t[n]===e)return n;return-1}var vRe=hRe,gRe=fRe,yRe=pRe,_Re=vRe;function bRe(t,e,r){return e===e?_Re(t,e,r):gRe(t,yRe,r)}var wRe=bRe,xRe=wRe;function PRe(t,e){var r=t==null?0:t.length;return!!r&&xRe(t,e,0)>-1}var kRe=PRe;function TRe(t,e,r){for(var n=-1,a=t==null?0:t.length;++n<a;)if(r(e,t[n]))return!0;return!1}var ERe=TRe;function MRe(t,e){return t.has(e)}var QB=MRe,SRe=JB,ORe=kRe,CRe=ERe,DRe=X3,$Re=If,ARe=QB,RRe=200;function IRe(t,e,r,n){var a=-1,i=ORe,o=!0,s=t.length,u=[],l=e.length;if(!s)return u;r&&(e=DRe(e,$Re(r))),n?(i=CRe,o=!1):e.length>=RRe&&(i=ARe,o=!1,e=new SRe(e));e:for(;++a<s;){var d=t[a],c=r==null?d:r(d);if(d=n||d!==0?d:0,o&&c===c){for(var m=l;m--;)if(e[m]===c)continue e;u.push(d)}else i(e,c,n)||u.push(d)}return u}var NRe=IRe,ZB=ys,LRe=n1,WRe=Tn,e7=ZB?ZB.isConcatSpreadable:void 0;function FRe(t){return WRe(t)||LRe(t)||!!(e7&&t&&t[e7])}var jRe=FRe,VRe=d1,URe=jRe;function t7(t,e,r,n,a){var i=-1,o=t.length;for(r||(r=URe),a||(a=[]);++i<o;){var s=t[i];e>0&&r(s)?e>1?t7(s,e-1,r,n,a):VRe(a,s):n||(a[a.length]=s)}return a}var zRe=t7;function BRe(t,e){for(var r=-1,n=t==null?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}var HRe=BRe,qRe=JB,YRe=HRe,GRe=QB,KRe=1,XRe=2;function JRe(t,e,r,n,a,i){var o=r&KRe,s=t.length,u=e.length;if(s!=u&&!(o&&u>s))return!1;var l=i.get(t),d=i.get(e);if(l&&d)return l==e&&d==t;var c=-1,m=!0,f=r&XRe?new qRe:void 0;for(i.set(t,e),i.set(e,t);++c<s;){var p=t[c],h=e[c];if(n)var v=o?n(h,p,c,e,t,i):n(p,h,c,t,e,i);if(v!==void 0){if(v)continue;m=!1;break}if(f){if(!YRe(e,function(y,b){if(!GRe(f,b)&&(p===y||a(p,y,r,n,i)))return f.push(b)})){m=!1;break}}else if(!(p===h||a(p,h,r,n,i))){m=!1;break}}return i.delete(t),i.delete(e),m}var r7=JRe;function QRe(t){var e=-1,r=Array(t.size);return t.forEach(function(n,a){r[++e]=[a,n]}),r}var ZRe=QRe;function e2e(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var t2e=e2e,n7=ys,a7=PV,r2e=Gw,n2e=r7,a2e=ZRe,i2e=t2e,o2e=1,s2e=2,u2e="[object Boolean]",l2e="[object Date]",d2e="[object Error]",c2e="[object Map]",f2e="[object Number]",m2e="[object RegExp]",p2e="[object Set]",h2e="[object String]",v2e="[object Symbol]",g2e="[object ArrayBuffer]",y2e="[object DataView]",i7=n7?n7.prototype:void 0,xP=i7?i7.valueOf:void 0;function _2e(t,e,r,n,a,i,o){switch(r){case y2e:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case g2e:return!(t.byteLength!=e.byteLength||!i(new a7(t),new a7(e)));case u2e:case l2e:case f2e:return r2e(+t,+e);case d2e:return t.name==e.name&&t.message==e.message;case m2e:case h2e:return t==e+"";case c2e:var s=a2e;case p2e:var u=n&o2e;if(s||(s=i2e),t.size!=e.size&&!u)return!1;var l=o.get(t);if(l)return l==e;n|=s2e,o.set(t,e);var d=n2e(s(t),s(e),n,a,i,o);return o.delete(t),d;case v2e:if(xP)return xP.call(t)==xP.call(e)}return!1}var b2e=_2e,o7=vV,w2e=1,x2e=Object.prototype,P2e=x2e.hasOwnProperty;function k2e(t,e,r,n,a,i){var o=r&w2e,s=o7(t),u=s.length,l=o7(e),d=l.length;if(u!=d&&!o)return!1;for(var c=u;c--;){var m=s[c];if(!(o?m in e:P2e.call(e,m)))return!1}var f=i.get(t),p=i.get(e);if(f&&p)return f==e&&p==t;var h=!0;i.set(t,e),i.set(e,t);for(var v=o;++c<u;){m=s[c];var y=t[m],b=e[m];if(n)var g=o?n(b,y,m,e,t,i):n(y,b,m,t,e,i);if(!(g===void 0?y===b||a(y,b,r,n,i):g)){h=!1;break}v||(v=m=="constructor")}if(h&&!v){var _=t.constructor,w=e.constructor;_!=w&&"constructor"in t&&"constructor"in e&&!(typeof _=="function"&&_ instanceof _&&typeof w=="function"&&w instanceof w)&&(h=!1)}return i.delete(t),i.delete(e),h}var T2e=k2e,PP=r1,E2e=r7,M2e=b2e,S2e=T2e,s7=Lf,u7=Tn,l7=gl.exports,O2e=lV,C2e=1,d7="[object Arguments]",c7="[object Array]",jm="[object Object]",D2e=Object.prototype,f7=D2e.hasOwnProperty;function $2e(t,e,r,n,a,i){var o=u7(t),s=u7(e),u=o?c7:s7(t),l=s?c7:s7(e);u=u==d7?jm:u,l=l==d7?jm:l;var d=u==jm,c=l==jm,m=u==l;if(m&&l7(t)){if(!l7(e))return!1;o=!0,d=!1}if(m&&!d)return i||(i=new PP),o||O2e(t)?E2e(t,e,r,n,a,i):M2e(t,e,u,r,n,a,i);if(!(r&C2e)){var f=d&&f7.call(t,"__wrapped__"),p=c&&f7.call(e,"__wrapped__");if(f||p){var h=f?t.value():t,v=p?e.value():e;return i||(i=new PP),a(h,v,r,n,i)}}return m?(i||(i=new PP),S2e(t,e,r,n,a,i)):!1}var A2e=$2e,R2e=A2e,m7=ia;function p7(t,e,r,n,a){return t===e?!0:t==null||e==null||!m7(t)&&!m7(e)?t!==t&&e!==e:R2e(t,e,r,n,p7,a)}var h7=p7,I2e=r1,N2e=h7,L2e=1,W2e=2;function F2e(t,e,r,n){var a=r.length,i=a,o=!n;if(t==null)return!i;for(t=Object(t);a--;){var s=r[a];if(o&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++a<i;){s=r[a];var u=s[0],l=t[u],d=s[1];if(o&&s[2]){if(l===void 0&&!(u in t))return!1}else{var c=new I2e;if(n)var m=n(l,d,u,t,e,c);if(!(m===void 0?N2e(d,l,L2e|W2e,n,c):m))return!1}}return!0}var j2e=F2e,V2e=oa;function U2e(t){return t===t&&!V2e(t)}var v7=U2e,z2e=v7,B2e=Nf;function H2e(t){for(var e=B2e(t),r=e.length;r--;){var n=e[r],a=t[n];e[r]=[n,a,z2e(a)]}return e}var q2e=H2e;function Y2e(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==void 0||t in Object(r))}}var g7=Y2e,G2e=j2e,K2e=q2e,X2e=g7;function J2e(t){var e=K2e(t);return e.length==1&&e[0][2]?X2e(e[0][0],e[0][1]):function(r){return r===t||G2e(r,t,e)}}var Q2e=J2e;function Z2e(t,e){return t!=null&&e in Object(t)}var eIe=Z2e,tIe=Af,rIe=n1,nIe=Tn,aIe=e1,iIe=a1,oIe=Ps;function sIe(t,e,r){e=tIe(e,t);for(var n=-1,a=e.length,i=!1;++n<a;){var o=oIe(e[n]);if(!(i=t!=null&&r(t,o)))break;t=t[o]}return i||++n!=a?i:(a=t==null?0:t.length,!!a&&iIe(a)&&aIe(o,a)&&(nIe(t)||rIe(t)))}var uIe=sIe,lIe=eIe,dIe=uIe;function cIe(t,e){return t!=null&&dIe(t,e,lIe)}var fIe=cIe,mIe=h7,pIe=ee,hIe=fIe,vIe=qw,gIe=v7,yIe=g7,_Ie=Ps,bIe=1,wIe=2;function xIe(t,e){return vIe(t)&&gIe(e)?yIe(_Ie(t),e):function(r){var n=pIe(r,t);return n===void 0&&n===e?hIe(r,t):mIe(e,n,bIe|wIe)}}var PIe=xIe;function kIe(t){return t}var kP=kIe;function TIe(t){return function(e){return e==null?void 0:e[t]}}var EIe=TIe,MIe=Qw;function SIe(t){return function(e){return MIe(e,t)}}var OIe=SIe,CIe=EIe,DIe=OIe,$Ie=qw,AIe=Ps;function RIe(t){return $Ie(t)?CIe(AIe(t)):DIe(t)}var IIe=RIe,NIe=Q2e,LIe=PIe,WIe=kP,FIe=Tn,jIe=IIe;function VIe(t){return typeof t=="function"?t:t==null?WIe:typeof t=="object"?FIe(t)?LIe(t[0],t[1]):NIe(t):jIe(t)}var UIe=VIe;function zIe(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var BIe=zIe,HIe=BIe,y7=Math.max;function qIe(t,e,r){return e=y7(e===void 0?t.length-1:e,0),function(){for(var n=arguments,a=-1,i=y7(n.length-e,0),o=Array(i);++a<i;)o[a]=n[e+a];a=-1;for(var s=Array(e+1);++a<e;)s[a]=n[a];return s[e]=r(o),HIe(t,this,s)}}var YIe=qIe;function GIe(t){return function(){return t}}var KIe=GIe,XIe=KIe,_7=tV,JIe=kP,QIe=_7?function(t,e){return _7(t,"toString",{configurable:!0,enumerable:!1,value:XIe(e),writable:!0})}:JIe,ZIe=QIe,eNe=800,tNe=16,rNe=Date.now;function nNe(t){var e=0,r=0;return function(){var n=rNe(),a=tNe-(n-r);if(r=n,a>0){if(++e>=eNe)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var aNe=nNe,iNe=ZIe,oNe=aNe,sNe=oNe(iNe),uNe=sNe,lNe=kP,dNe=YIe,cNe=uNe;function fNe(t,e){return cNe(dNe(t,e,lNe),t+"")}var mNe=fNe,pNe=o1,hNe=ia;function vNe(t){return hNe(t)&&pNe(t)}var gNe=vNe,yNe=NRe,_Ne=zRe,bNe=UIe,wNe=mNe,TP=gNe,xNe=Jz,PNe=wNe(function(t,e){var r=xNe(e);return TP(r)&&(r=void 0),TP(t)?yNe(t,_Ne(e,1,TP,!0),bNe(r)):[]}),kNe=PNe;const EP="projects",{LOAD_PROJECT_NOTE:MP,DO_CREATE_PROJECT_NOTE:b7,DO_UPDATE_PROJECT_NOTE:w7,FORM_NEW_PROJECT_NOTE:TNe,FORM_EDIT_PROJECT_NOTE:x7,FORM_SUBMIT_PROJECT_NOTE:P7}=$n,{SET_PROJECT_NOTES:k7,SET_PROJECT_NOTES_FETCHING:T7,SET_PROJECT_NOTES_POSTING:Vm}=Dr,{SET_FORM:E7}=Rn,ENe={async[MP]({commit:t},{id:e}){try{if(t(T7,!0),!e)return;const{data:r}=await kTe(e);if(!r)return;t(k7,{projectNotes:[r]})}catch(r){this.handleError(r,{object:"projectNote",objectId:e,fallbackCode:"projectNote.get",action:`${EP}/${MP}`,actionPayload:arguments[1]})}finally{t(T7,!1)}},async[b7]({commit:t},{body:e}){try{t(Vm,!0);const{data:r}=await TTe(e);return t(k7,{projectNotes:[r]}),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("createdThing",{thing:ce.t("note")})}),r.id}catch(r){throw r}finally{t(Vm,!1)}},async[w7]({commit:t,dispatch:e},{id:r,body:n}){try{return t(Vm,!0),await ETe(r,n),await e(MP,{id:r}),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("updatedThing",{thing:ce.t("note")})}),r}catch(a){throw a}finally{t(Vm,!1)}},[TNe]({commit:t},{projectId:e=null}){const r={ProjectId:e,text:""};t(`forms/${E7}`,{key:"projectNote",formData:r},{root:!0})},async[x7]({commit:t,state:e},{projectId:r}){try{const n=e.data[r].ProjectNote;t(`forms/${E7}`,{key:"projectNote",formData:n},{root:!0})}catch(n){this.handleError(n,{object:"projectNote",fallbackCode:"projectNote.edit",action:`${EP}/${x7}`,actionPayload:arguments[1]})}},async[P7]({rootGetters:t,dispatch:e}){try{const r=t["forms/getFormByKey"]("projectNote");let{id:n}=r;return n?await e(w7,{id:r.id,body:r}):n=await e(b7,{body:r}),n}catch(r){return this.handleError(r,{object:"projectNote",fallbackCode:"projectNote.submit",action:`${EP}/${P7}`}),null}}},Ql="projects",{LOAD_PROJECT_FILE:Um,CREATE_PROJECT_FILE:M7,UPDATE_PROJECT_FILE:S7,DELETE_PROJECT_FILE:O7,PATCH_PROJECT_FILE:SP}=EU,MNe={async[Um](t,{id:e}){try{const{data:r}=await _Te(e);return await this.dispatch(ke.SET_AS_NORMALIZED_DATA,{data:[r],schema:"projectFiles"}),!0}catch(r){return this.handleError(r,{object:"projectFile",objectId:e,fallbackCode:"projectFile.get",action:`${Ql}/${Um}`,actionPayload:arguments[1]}),!1}},async[M7](t,{projectId:e,fileId:r}){try{if(typeof e>"u")throw new Error("Missing parameter projectId");if(typeof r>"u")throw new Error("Missing parameter fileId");const{data:n}=await bTe({ProjectId:e,FileId:r});return await this.dispatch(ke.SET_AS_NORMALIZED_DATA,{data:[n],schema:"projectFiles"}),n.id}catch(n){return this.handleError(n,{object:"projectFile",fallbackCode:"projectFile.post",action:`${Ql}/${M7}`,actionPayload:arguments[1]}),null}},async[S7]({dispatch:t},{id:e,body:r}){try{return await wTe(e,r),await t(Um,{id:e}),e}catch(n){return this.handleError(n,{object:"projectFile",objectId:e,fallbackCode:"projectFile.put",action:`${Ql}/${S7}`,actionPayload:arguments[1]}),null}},async[O7]({commit:t,getters:e},{projectId:r,id:n}){try{const a=e.byId(r);if(a){const i=a.files.find(s=>s.id===n),{FileId:o}=i;this.dispatch(ke.DELETE_FILE,{id:o})}return await xTe(n),t(um.DELETE_PROJECT_FILE,{projectId:r,id:n}),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("removedThing",{thing:ce.t("file")}),actions:{undo:()=>{this.dispatch(`projects/${SP}`,{id:n,projectId:r})}}}),n}catch(a){return this.handleError(a,{object:"projectFile",objectId:n,fallbackCode:"projectFile.delete",action:`${Ql}/${O7}`,actionPayload:arguments[1]}),null}},async[SP]({dispatch:t,getters:e},{projectId:r,id:n}){try{await PTe(n),await t(Um,{id:n});const a=e.byId(r);if(a){const i=a.files.find(s=>s.id===n),{FileId:o}=i;await this.dispatch(ke.PATCH_FILE,{id:o})}return n}catch(a){return this.handleError(a,{object:"file",objectId:n,fallbackCode:"file.patch",action:`${Ql}/${SP}`,actionPayload:arguments[1]}),null}}},{LOAD_EVENTS_FOR_PROJECT:SNe}=$n,{SET_EVENTS:ONe}=Dr,CNe={async[SNe]({commit:t},{id:e}){const{data:r}=await lr.get(`/project/${e}/event`);return!r||r.length<=0?!1:(t(ONe,{events:r}),!0)}},Rr="projects",{LOAD_PROJECT:OP,LOAD_PROJECTS:C7,DO_LOAD_PROJECT:D7,DO_LOAD_PROJECTS:zm,DO_LOAD_PROJECTS_COUNT:DNe,LOAD_PROJECTS_FOR_CLIENT:$7,LOAD_PROJECTS_FOR_USER:A7,LOAD_PUBLIC_PROJECT:R7,CREATE_PROJECT:$Ne,CREATE_DEMOPROJECT:I7,UPDATE_PROJECT:N7,DELETE_PROJECT:L7,PATCH_PROJECT:CP,DO_SUBMIT_PROJECT:W7,SUBMIT_PROJECT:F7,SUBMIT_PROJECT_MEMBER:DP,DELETE_PROJECT_MEMBER:$P,SET_PROJECT_LEADER:j7,SET_PROJECT_FILTER:ANe,SET_PROJECT_SORT:RNe,SET_QUICKVIEW_PROJECT:AP,CLEAR_PROJECTS:INe}=$n,{UPDATE_VIEW_SETTINGS:NNe,DO_UPDATE_SETTINGS:RP,DO_LOAD_CURRENT_COMPANY:LNe}=ke,{CLEAR_PROJECT_DATA:WNe,SET_PROJECTS_POSTING:Mt,SET_PROJECTS_FETCHING:oo,DELETE_MANY_PROJECTS:FNe}=Dr,jNe={...ENe,...CNe,...MNe,async[zm]({commit:t,state:e,rootState:r},n={}){try{const a={clearOld:!1,start:n.end?0:void 0,end:void 0,sort:void 0,order:void 0,force:!1,filter:void 0,...n},{canFetchMore:i}=e;let o=!!i;if(a.clearOld&&(o=!0),e.isFetching&&!a.force||Ze(a.start)==="number"&&Ze(a.end)==="number"&&!o&&!a.force)return;t(oo,!0);const{data:s}=await _U({start:a.start,end:a.end,sort:a.sort,order:a.order,filter:a.filter});let u={};s.forEach(({cachedDocuments:m})=>{if(m){const f=Object.keys(m.documents).reduce((p,h)=>({...p,[h]:{id:h,data:{name:m.documents[h].name,clients:[{name:ee(m,`documents[${h}].firstClient.name`,""),type:ee(m,`documents[${h}].firstClient.type`),addresses:ee(m,`documents[${h}].firstClient.addresses`)}]},status:m.documents[h].status}}),{});u={...u,...f}}});const l=r.documents2.ids,d=kNe(Object.keys(u),l);this.commit("documents2/SET_DOCUMENTS2",{data:d.map(m=>u[m])}),a.clearOld&&t(WNe),this.dispatch(Ki,{data:s,schema:"projects"}),o=!((Ze(a.start)==="number"&&Ze(a.end)==="number"?a.end-a.start:0)>s.length),t(Dr.SET_PROJECTS_CAN_FETCH_MORE,o)}catch(a){throw a}finally{t(oo,!1)}},async[DNe]({commit:t}){try{t(oo,!0);const{data:e}=await lr.get("/project/counts");t(Dr.SET_PROJECTS_COUNT,{data:e})}catch(e){throw e}finally{t(oo,!1)}},async[C7]({dispatch:t},e={}){try{await t(zm,e)}catch(r){this.handleError(r,{object:"project",fallbackCode:"project.get",action:`${Rr}/${C7}`,actionPayload:arguments[1]})}},async[OP]({dispatch:t},{id:e}){try{await t(D7,{id:e})}catch(r){this.handleError(r,{object:"project",objectId:e,fallbackCode:"project.get",action:`${Rr}/${OP}`,actionPayload:arguments[1]})}},async[D7]({commit:t},{id:e}){try{t(oo,!0);const r=[],{data:n}=await dTe(e);return n&&r.push(n),this.dispatch(Ki,{data:r,schema:"projects"}),t(oo,!1),n}catch(r){throw t(oo,!1),r}},async[$7]({dispatch:t},{id:e}){try{await t(zm,{filter:{clientEndCustomerIds:{[e]:"contains"}}})}catch(r){this.handleError(r,{object:"project",fallbackCode:"project.get",action:`${Rr}/${$7}`,actionPayload:arguments[1]})}},async[A7]({dispatch:t},{id:e}){try{await t(zm,{filter:{CompanyUserId:{[e]:!0}}})}catch(r){this.handleError(r,{object:"project",fallbackCode:"project.get",action:`${Rr}/${A7}`,actionPayload:arguments[1]})}},async[R7](t,e){try{const{data:r}=await lr.get(`/project/public/${e}`);this.dispatch(Ki,{data:r,schema:wMe})}catch(r){this.handleError(r,{object:"project",objectId:e,fallbackCode:"project.get",action:`${Rr}/${R7}`,actionPayload:arguments[1]})}},async[$Ne]({dispatch:t,commit:e,rootGetters:r},{body:n}){try{e(Mt,!0);const{data:a}=await lTe(n);return await t($n.LOAD_PROJECT,{id:a.id}),r["application/companyAccountType"]==="free"&&this.dispatch(LNe),e(Mt,!1),Promise.resolve(a.id)}catch(a){return e(Mt,!1),Promise.reject(a)}},async[I7]({dispatch:t,commit:e}){try{e(Mt,!0);const{data:r}=await pTe(),{id:n}=r;return this.dispatch(RP,{key:"company",settings:[{name:"demoProjectId",value:n}]}),await t($n.LOAD_PROJECT,{id:n}),e(Mt,!1),n}catch(r){return this.handleError(r,{object:"project",fallbackCode:"project.demo",action:`${Rr}/${I7}`,actionPayload:arguments[1]}),null}finally{e(Mt,!1)}},async[N7]({dispatch:t,commit:e},{id:r,body:n}){try{return e(Mt,!0),await cTe(r,n),await t($n.LOAD_PROJECT,{id:r}),e(Mt,!1),r}catch(a){throw e(Mt,!1),a}},async[L7]({commit:t,dispatch:e},{id:r}){try{return t(Mt,!0),await mTe(r),t(FNe,r),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("removedThing",{thing:ce.t("project")}),actions:{undo:()=>{this.dispatch(`projects/${CP}`,{id:r})}}}),e(AP,{id:null}),t(Mt,!1),!0}catch(n){return t(Mt,!1),this.handleError(n,{object:"project",objectId:r,fallbackCode:"project.delete",action:`${Rr}/${L7}`,actionPayload:arguments[1]}),!1}},async[CP]({dispatch:t},{id:e}){try{return await fTe(e),await t(OP,{id:e}),e}catch(r){return this.handleError(r,{object:"project",objectId:e,fallbackCode:"project.patch",action:`${Rr}/${CP}`,actionPayload:arguments[1]}),!1}},async[AP]({commit:t},{id:e}){try{return this.dispatch(NNe,{view:"projectList",settings:{quickViewProjectId:e}}),e}catch(r){return t(Mt,!1),this.handleError(r,{object:"project",objectId:e,fallbackCode:"project.quickview",action:`${Rr}/${AP}`,actionPayload:arguments[1]}),!1}},async[j7]({dispatch:t,commit:e,getters:r},{projectId:n,companyUserId:a}){try{e(Mt,!0);const i=r.byId(n).getProperty("CompanyUserId");return await t(N7,{id:n,body:{CompanyUserId:a}}),await t($P,{projectId:n,companyUserId:a}),await t(DP,{projectId:n,companyUserId:i}),e(Mt,!1),!0}catch(i){return e(Mt,!1),this.handleError(i,{object:"project",objectId:n,fallbackCode:"project.projectLeader",action:`${Rr}/${j7}`,actionPayload:arguments[1]}),!1}},async[W7]({dispatch:t},{data:e}){let{id:r}=e;return r?await t($n.UPDATE_PROJECT,{id:e.id,body:e}):r=await t($n.CREATE_PROJECT,{body:e}),await t($n.LOAD_PROJECT,{id:r}),r},async[F7]({dispatch:t},e){try{await t(W7,e)}catch(r){this.handleError(r,{object:"project",fallbackCode:"project.post",action:`${Rr}/${F7}`,actionPayload:arguments[1]})}return!0},async[DP]({commit:t},{projectId:e,companyUserId:r}){try{return t(Mt,!0),await HTe(e,r),t(Dr.ADD_PROJECT_MEMBER,{projectId:e,companyUserId:r}),t(Mt,!1),!0}catch(n){return t(Mt,!1),this.handleError(n,{object:"project",objectId:e,fallbackCode:"project.member.post",action:`${Rr}/${DP}`,actionPayload:arguments[1]}),!1}},async[$P]({commit:t},{projectId:e,companyUserId:r}){try{return t(Mt,!0),await qTe(e,r),t(Dr.DELETE_PROJECT_MEMBER,{projectId:e,companyUserId:r}),t(Mt,!1),!0}catch(n){return t(Mt,!1),this.handleError(n,{object:"project",objectId:e,fallbackCode:"project.member.delete",action:`${Rr}/${$P}`,actionPayload:arguments[1]}),!1}},async[ANe](t,e){const r=JSON.stringify(e);await this.dispatch(RP,{key:"companyUser",settings:[{name:"projectListFilter",value:r}]})},async[RNe](t,e){const r=JSON.stringify(e);await this.dispatch(RP,{key:"companyUser",settings:[{name:"projectListSort",value:r}]})},[INe]({commit:t}){t(Dr.CLEAR_PROJECT_DATA),t(Dr.SET_PROJECTS_CAN_FETCH_MORE,!0)}},{SET_PROJECT_NOTES:VNe,SET_PROJECT_NOTES_FETCHING:UNe,SET_PROJECT_NOTES_POSTING:zNe}=Dr,BNe={[VNe](t,{projectNotes:e=[]}){e.forEach(r=>{const{ProjectId:n}=r;return!n||!t.data[n]?!1:(ie.set(t.data[n],"ProjectNote",r),!0)})},[UNe](t,e){t.isFetchingProjectNotes=e},[zNe](t,e){t.isPostingProjectNotes=e}},{SET_EVENTS:HNe}=Dr,qNe={[HNe](t,{events:e=[]}){e.forEach(r=>{const{ProjectId:n}=r;if(!n||!t.data[n])return!1;let a=[];t.data[n].Events?a=t.data[n].Events:ie.set(t.data[n],"Events",a);const i=a.findIndex(o=>o.id===r.id);return i!==-1?a[i]=Object.assign(a[i],r):a.push(r),!0})}},YNe={[um.SET_PROJECT_FILES](t,{data:e=[]}){if(typeof e!="object")throw Error("Data must be a projectFile or an array of projectFiles!");(Array.isArray(e)?e:[e]).forEach(n=>{const{ProjectId:a}=n;if(!a||!t.data[a])return!1;let i=[];t.data[a].ProjectFiles?i=t.data[a].ProjectFiles:ie.set(t.data[a],"ProjectFiles",i);const o=i.findIndex(s=>s.id===n.id);return o!==-1?i[o]=Object.assign(i[o],n):i.push(n),!0})},[um.DELETE_PROJECT_FILE](t,{projectId:e,id:r}){if(!e||!t.data[e])return!1;const n=t.data[e].ProjectFiles;if(n&&Array.isArray(n)){const a=n.findIndex(i=>i.id===r);a!==-1&&n.splice(a,1)}return!0}},{SET_PROJECTS:GNe,CLEAR_PROJECT_DATA:KNe,DELETE_MANY_PROJECTS:XNe,ADD_PROJECT_MEMBER:JNe,DELETE_PROJECT_MEMBER:QNe,SET_PROJECTS_FETCHING:ZNe,SET_PROJECTS_POSTING:eLe,SET_PROJECTS_CAN_FETCH_MORE:tLe,SET_PROJECTS_COUNT:rLe}=Dr,nLe={...BNe,...qNe,...YNe,updateField:Nl,[GNe](t,{data:e=[]}){if(typeof e!="object")throw Error("Data must be a project or an array of projects!");const r=Array.isArray(e)?e:[e],{ids:n,values:a}=Vl(r);Fs(t.data,a),t.ids=Yi([...n,...t.ids])},[KNe](t){Object.assign(t,{data:{},ids:[],projectPublicIdToId:{}})},[XNe](t,e){(Array.isArray(e)?e:[e]).forEach(n=>{if(!t.data[n])return;const{publicId:a}=t.data[n];ie.delete(t.data,n),t.ids=t.ids.filter(i=>i!==n),ie.delete(t.projectPublicIdToId,a)})},[JNe](t,{projectId:e,companyUserId:r}){if(!e)throw Error("Cannot add member as no projectId is defined");if(!r)throw Error("Cannot add member as no companyUserId is defined");if(!t.data[e])return!1;let n=[];t.data[e].ProjectMembers?n=t.data[e].ProjectMembers:ie.set(t.data[e],"ProjectMembers",n);const a=n.findIndex(i=>i===r);return a!==-1?n[a]=r:n.push(r),!0},[QNe](t,{projectId:e,companyUserId:r}){if(!e)throw Error("Cannot delete member as no projectId is defined");if(!r)throw Error("Cannot delete member as no companyUserId is defined");if(!t.data[e])return!1;let n=[];t.data[e].ProjectMembers?n=t.data[e].ProjectMembers:ie.set(t.data[e],"ProjectMembers",n);const a=n.findIndex(i=>i===r);return a!==-1&&n.splice(a,1),!0},[ZNe](t,e){t.isFetching=e},[eLe](t,e){t.isPosting=e},[tLe](t,e){t.canFetchMore=e},[rLe](t,{data:e={}}){if(typeof e!="object"||Array.isArray(e))throw Error("Data must be an object!");const r={};Object.keys(e).forEach(n=>{r[n]=e[n]||0}),t.count=r}},aLe={id:{$default:null,$type:Number,$scope:["project","offer","contract"]},name:{$default:"",$type:String,$scope:["project","offer","contract"]},isDemo:{$default:!1,$type:Boolean,$scope:["project"]},externalId:{$default:"",$type:Number},publicId:{$default:null,$type:String},projectNumber:{$default:null,$type:Number},CompanyId:{$default:null,$type:"ref",$ref:"companies"},CompanyUserId:{$default:null,$type:"ref",$ref:"companyUsers"},ProjectMembers:[{$type:"ref",$ref:"companyUsers"}],ProjectSettings:{$default:[],$type:Array,$scope:["project","offer","contract"]},frontend:{$default:"vue",$type:String,$scope:["project","offer","contract"]},status:{$default:"new",$type:String},createdAt:{$default:null,$type:Date},updatedAt:{$default:null,$type:Date},deletedAt:{$default:null,$type:Date}},oW=class{constructor(e,r,n){if(!e)throw Error("First arg. id is required");if(!r)throw Error("Seccond arg. getters is required");this._getters=r,this._project=e,this._documents=[]}get id(){return this._project.id}getId(){const{id:e}=this.getProject()||{};return e||null}getProject(){const{_project:e}=this;return e||null}get documents(){if(!this.documentIds.length)return[];let e=[];const r=ee(this._project,"cachedDocuments.mainDocument.id");return this.documentIds.forEach(n=>{const a=this._getters["documents2/byId"](n);a&&(a.id===r?e=[a,...e]:e.push(a))}),e}get cachedDocumentsInfo(){let e=[];const{cachedDocuments:r}=this._project;if(!r)return[];const{documents:n={},mainDocument:a={}}=r;return Object.keys(n).forEach(i=>{const o=n[i];o&&(o.id===a.id?e=[o,...e]:e.push(o))}),e}get documentIds(){const{cachedDocuments:e}=this._project;if(!e)return[];const{documents:r}=e;return r?Object.keys(r):[]}get invoices(){return this._getters["invoices/byProjectId"](this.getId())||[]}get events(){return this._project.Events||[]}get creatorId(){return this._project.CompanyUser}get creator(){const{_getters:e}=this,{CompanyUser:r}=this.getProject()||{};return e["companyUsers/byId"](r)}get name(){return this._project.name}get status(){return this._project.status}get subStatus(){const{status:e,mainDocument:r}=this;return["offer","contract"].includes(e)&&r?r.status:null}get clients(){const e=[];return this.documents.reduce((n,a)=>(a.clients.forEach(i=>{e.includes(i.endCustomerId)||(e.push(i.endCustomerId),n.push(i))}),n),[])}get mainDocument(){return this.documents[0]}get currency(){return ee(this,"mainDocument.currency",null)}get members(){const{_getters:e}=this,{ProjectMembers:r=[]}=this.getProject()||{};return r.map(a=>e["companyUsers/byId"](a))}get projectNumber(){return this._project.projectNumber}get note(){return this._project.ProjectNote}get files(){return this._project.ProjectFiles}get firstClientName(){return this._project.firstClientName}get firstClientStreet(){return this._project.firstClientStreet}get prices(){const e={types:[],subTotal:0,taxAmount:0,total:0,maxTotal:0,invoicedAmount:0,paidAmount:0,hasDeductions:!1,currency:this.currency};if(!this.documents.length)return e;this.documents.forEach(n=>{e.types=[...new Set([...e.types,...n.prices.type])],!(e.currency&&e.currency!==n.currency)&&(e.subTotal+=n.prices.subTotal,e.taxAmount+=n.prices.taxAmount,e.total+=n.prices.total,e.maxTotal+=n.prices.maxTotal,n.prices.region&&n.prices.region.houseWorkAmount&&(e.hasDeductions=!0))});const{invoices:r}=this;return r.forEach(n=>{e.invoicedAmount+=n.totalAmount,e.paidAmount+=n.paidAmount}),e}get isDemo(){return this.getProperty("isDemo")}getProperty(e=""){return e.replace(/\[(.*)\]/ig,(a,i)=>`.${i}`).split(".").reduce((a,i)=>a&&(typeof a[i]!="object",a[i]),this._project)}getProperties({scope:e=null}={}){let r=e;typeof r=="string"&&(r=[r]);const{schema:n}=oW,a={};n&&Object.keys(n).map(o=>(n[o].$default!=="undefined"&&(a[o]=n[o].$default),!0));const i=Object.assign({},a,this._project);return n&&r&&Array.isArray(r)&&Object.keys(n).map(o=>n[o].$scope?(r.some(u=>n[o].$scope.indexOf(u)>=0)||delete i[o],!0):(delete i[o],!0)),JSON.parse(JSON.stringify(i))}};let so=oW;St(so,"schema",aLe),St(so,"statuses",{new:{statusText:"Utkast",statusClass:"draft"},sent:{statusText:"Skickad",statusClass:"sent"},denied:{statusText:"Nekad",statusClass:"denied"},accepted:{statusText:"Accepterad",statusClass:"accepted"},signed:{statusText:"Signerad",statusClass:"accepted"},semiSigned:{statusText:"Delsignerad",statusClass:"accepted"},active:{statusText:"P\xE5g\xE5ende",statusClass:"active"},completed:{statusText:"Klar",statusClass:"completed"},archived:{statusText:"Arkiverad",statusClass:"archived"}});const iLe={getField:pm,...{isPostingProjectNote:t=>t.isPostingProjectNotes,isFetchingProjectNote:t=>t.isFetchingProjectNotes},byId:(t,e,r,n)=>a=>t.data[a]?new so(t.data[a],n):null,projectIdsByClientId:t=>e=>t.ids.filter(r=>{const n=ee(t.data[r],"clientEndCustomerIds","");return n?n.split(",").includes(`${e}`):!1}),projectIdsOwnedByUserId:(t,e)=>r=>t.ids.filter(n=>{const a=e.byId(n);if(!a)return!1;const i=a.getProperty("CompanyUserId");return i?i===r:!1}),projects:(t,e,r,n)=>t.ids.map(a=>new so(t.data[a],n)),projectByPublicId:(t,e,r,n)=>a=>{const i=t.projectPublicIdToId[a];return i?new so(t.data[i],n):null},projectsByStatus:(t,{projects:e})=>r=>e.filter(n=>n.status===r),filter:(t,e,r,n)=>{const a=n["settings/getCompanyUserSetting"]("projectListFilter");return a?JSON.parse(a):{or:{docStatuses:{draft:"contains",sent:"contains",accepted:"contains",denied:"contains"},status:{active:!0,completed:!0}}}},sort:(t,e,r,n)=>{const a=n["settings/getCompanyUserSetting"]("projectListSort");return a?JSON.parse(a):{sort:"updatedAt",order:"DESC"}},isPosting:t=>t.isPosting,isFetching:t=>t.isFetching,canFetchMore:t=>t.canFetchMore,count:t=>t.count},oLe={namespaced:!0,state:rRe,getters:iLe,actions:jNe,mutations:nLe},sLe={data:{},ids:[],isPosting:!1,isFetching:!1},Zl="templates",{DO_LOAD_TEMPLATE:ed,DO_LOAD_TEMPLATES:V7,LOAD_TEMPLATE:U7,LOAD_TEMPLATES:z7,DO_UPDATE_TEMPLATE:B7,DO_CREATE_TEMPLATE:H7,UPDATE_TEMPLATE:q7,DELETE_TEMPLATE:Y7,PATCH_TEMPLATE:IP,HIDE_TEMPLATE:G7,DUPLICATE_PROTECTED_TEMPLATE:K7}=RU,{SET_TEMPLATE_POSTING:Wn,SET_TEMPLATE_FETCHING:Bm,SET_TEMPLATES:X7,DELETE_MANY_TEMPLATES:uLe}=ux,lLe={async[ed]({commit:t},{id:e,params:r={}}){try{t(Bm,!0);const{data:n}=await Gi.get(e,r);t(X7,{data:[n]})}catch(n){throw n}finally{t(Bm,!1)}},async[V7]({commit:t},e={}){try{t(Bm,!0);const{data:r}=await Gi.get(null,e),{items:n}=r;t(X7,{data:n})}catch(r){throw r}finally{t(Bm,!1)}},async[z7]({dispatch:t},e={}){try{await t(V7,e)}catch(r){this.handleError(r,{object:"template",fallbackCode:"template.getMany",action:`${Zl}/${z7}`})}},async[U7]({dispatch:t},{id:e}){try{await t(ed,{id:e})}catch(r){this.handleError(r,{object:"template",fallbackCode:"template.getOne",action:`${Zl}/${U7}`,actionPayload:arguments[1]})}},async[H7]({commit:t,dispatch:e},{body:r,showMessage:n=!0}){try{t(Wn,!0);const{data:a}=await Gi.post(r),{id:i}=a;return await e(ed,{id:i}),n&&this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("createdThing",{thing:ce.t("template")})}),i}catch(a){throw a}finally{t(Wn,!1)}},async[B7]({dispatch:t,commit:e},{id:r,body:n}){try{return e(Wn,!0),await Gi.put(r,n),await t(ed,{id:r}),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("updatedThing",{thing:ce.t("template")})}),r}catch(a){throw a}finally{e(Wn,!1)}},async[q7]({dispatch:t},{id:e,body:r}){try{return r.companyId?(await t(B7,{id:e,body:r}),e):t(K7,{body:r})}catch(n){return this.handleError(n,{object:"template",objectId:e,fallbackCode:"template.put",action:`${Zl}/${q7}`,actionPayload:arguments[1]}),null}},async[Y7]({commit:t},{id:e}){try{return t(Wn,!0),await Gi.delete(e),t(uLe,e),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("removedThing",{thing:ce.t("template")}),actions:{undo:()=>{this.dispatch(`templates/${IP}`,{id:e})}}}),e}catch(r){return this.handleError(r,{object:"templates",objectId:e,fallbackCode:"documentTemplate.delete",action:`${Zl}/${Y7}`,actionPayload:arguments[1]}),null}finally{t(Wn,!1)}},async[IP]({commit:t,dispatch:e},{id:r}){try{return t(Wn,!0),await Gi.patch(r),await e(ed,{id:r}),r}catch(n){return this.handleError(n,{object:"templates",objectId:r,fallbackCode:"documentTemplate.patch",action:`${Zl}/${IP}`,actionPayload:arguments[1]}),null}finally{t(Wn,!1)}},async[G7]({rootGetters:t},{id:e}){if(!e)return;const r=t["settings/getCompanySetting"]("templateHiddenIds")||[];r.push(e),await this.dispatch(ke.UPDATE_SETTINGS,{key:"company",settings:{templateHiddenIds:r}})},async[K7]({commit:t,dispatch:e,rootGetters:r},{body:n}){try{t(Wn,!0);const a=Ba(n,["_id","id","companyId"]),i=await e(H7,{body:a});return await e(G7,{id:n.id}),i}catch(a){throw a}finally{t(Wn,!1)}}},{SET_TEMPLATES:dLe,SET_TEMPLATE_FETCHING:cLe,SET_TEMPLATE_POSTING:fLe,DELETE_MANY_TEMPLATES:mLe}=ux,pLe={[dLe](t,{data:e=[]}){if(typeof e!="object")throw Error("Data must be a template or an array of templates!");const r=Array.isArray(e)?e:[e],n=[];r.forEach(a=>{!a.id||(t.ids.includes(a.id)||n.push(a.id),ie.set(t.data,a.id,a))}),t.ids=Yi([...n,...t.ids])},[cLe](t,e){t.isFetching=e},[fLe](t,e){t.isPosting=e},[mLe](t,e){(Array.isArray(e)?e:[e]).forEach(n=>{!t.data[n]||(ie.delete(t.data,n),t.ids=t.ids.filter(a=>a!==n))})}},hLe={namespaced:!0,state:sLe,getters:{byId:t=>e=>t.data[e]?new Ja(t.data[e]):null,idList:t=>t.ids,isPosting:t=>t.isPosting,isFetching:t=>t.isFetching,hiddenTemplateIds:(t,e,r,n)=>n["settings/getCompanySetting"]("templateHiddenIds")||[],availableTemplates:(t,e)=>{const{idList:r,hiddenTemplateIds:n}=e;return r.filter(i=>!n.includes(i)).map(i=>new Ja(t.data[i]))},hiddenTemplates:(t,e)=>{const{idList:r,hiddenTemplateIds:n}=e;return n.filter(i=>r.includes(i)).map(i=>new Ja(t.data[i]))}},actions:lLe,mutations:pLe},vLe={data:{},ids:[],isFetching:!1,isPosting:!1};class gLe{constructor(){this.events={}}on(e,r){return this.events[e]=this.events[e]||[],this.events[e].push(r),()=>this.off(e,r)}off(e,r){this.events[e]&&(this.events[e]=this.events[e].filter(n=>n.fn!==r))}trigger(e,r){this.events[e]&&this.events[e].forEach(function(n){n(r)})}}const uo=new gLe,Hs="documents2",{DELETE_DOCUMENT2:J7,DO_CREATE_DOCUMENT2:yLe,DO_LOAD_DOCUMENT2:lo,DO_LOAD_DOCUMENTS2:Q7,DO_UPDATE_DOCUMENT2:Hm,LOAD_DOCUMENT2:Z7,LOAD_DOCUMENTS2:NP,LOAD_DOCUMENTS2_EXTERNAL:_Le,PATCH_DOCUMENT2:LP,UPDATE_DOCUMENT2:eH,UPDATE_DOCUMENT2_STATUS:tH,DO_SEND_DOCUMENT2:bLe,SEND_REMINDER_DOCUMENT2:wLe,REQUEST_PROPERTY_DOCUMENT2:xLe,CLEAR_DOCUMENT2_ANSWERS:rH,ANSWER_OWN_DOCUMENT2:PLe}=OU,{DELETE_MANY_DOCUMENTS2:kLe,SET_DOCUMENT2_POSTING:tr,SET_DOCUMENT2_FETCHING:qm,SET_DOCUMENTS2:nH}=ix,{SHOW_MESSAGE:TLe,DO_LOAD_CURRENT_COMPANY:ELe}=ke,MLe={async[lo]({commit:t},{id:e}){try{t(qm,!0);const{data:r}=await Cr.get(e);t(nH,{data:[r]})}catch(r){throw r}finally{t(qm,!1)}},async[Q7]({commit:t},e={}){try{t(qm,!0);const{data:r}=await Cr.getAll(e),{items:n}=r;t(nH,{data:n})}catch(r){throw r}finally{t(qm,!1)}},async[NP]({dispatch:t},e={isHidden:!1}){try{await t(Q7,e)}catch(r){this.handleError(r,{object:"document2",fallbackCode:"document2.getMany",action:`${Hs}/${NP}`})}},async[_Le]({dispatch:t},{service:e,type:r=null,typeId:n=null}){if(typeof e>"u")throw new Error("Missing param service");await t(NP,{isHidden:!1,returnType:"template","externalReferences.service":e,...r&&{"externalReferences.type":r},...n&&{"externalReferences.typeId":n}})},async[Z7]({dispatch:t},{id:e}){try{await t(lo,{id:e})}catch(r){this.handleError(r,{object:"document2",fallbackCode:"document2.getOne",action:`${Hs}/${Z7}`,actionPayload:arguments[1]})}},async[yLe]({rootGetters:t,commit:e,dispatch:r},{body:n}){try{e(tr,!0);const{data:a}=await Cr.post(n),{id:i}=a;return await r(lo,{id:i}),uo.trigger("document:create",a),uo.trigger("document:save",a),t["application/companyAccountType"]==="free"&&await this.dispatch(ELe),i}catch(a){throw a}finally{e(tr,!1)}},async[bLe]({state:t,commit:e},{id:r}){try{e(tr,!0),await Cr.send(r),uo.trigger("document:send",t.data[r]),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("sentThing",{thing:ce.t("document")}),omit:"$view:extension,widget"})}catch(n){throw n}finally{e(tr,!1)}},async[wLe]({commit:t},{id:e,body:r={}}){try{const n={views:{sms:{nodes:[{nodeId:1,parentId:null,itemId:"smsText",itemType:"smsText",value:{text:"data.smsTemplate.reminder.text"}}]},email:{nodes:[{nodeId:1,parentId:null,itemId:"emailTemplate",itemType:"emailTemplate",value:{subject:"data.emailTemplate.reminder.subject",title:"data.emailTemplate.reminder.title",content:"data.emailTemplate.reminder.content",text:"data.emailTemplate.reminder.text"}}]}}};t(tr,!0),await Cr.send(e,{...n,...r,sendSource:"reminder"}),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("sentThing",{thing:ce.t("reminder")})})}catch(n){throw n}finally{t(tr,!1)}},async[xLe]({commit:t},{id:e,body:r={}}){try{const n={views:{sms:{nodes:[{nodeId:1,parentId:null,itemId:"smsText",itemType:"smsText",value:{text:"data.smsTemplate.propertyDesignation.text"}}]},email:{nodes:[{nodeId:1,parentId:null,itemId:"emailTemplate",itemType:"emailTemplate",value:{subject:"data.emailTemplate.propertyDesignation.subject",title:"data.emailTemplate.propertyDesignation.title",content:"data.emailTemplate.propertyDesignation.content",text:"data.emailTemplate.propertyDesignation.text",actionUrl:"data.emailTemplate.propertyDesignation.actionUrl"}}]}}},{data:a}=await Cr.get(e),i=s=>ce.t(`propertyDesignationRequest.${s}`,{ns:"actions",interpolation:{prefix:"__",suffix:"__"}});Ut(a,"data.smsTemplate.propertyDesignation",{text:i("smsTemplate.text")}),Ut(a,"data.emailTemplate.propertyDesignation",{subject:i("emailTemplate.subject"),title:i("emailTemplate.title"),content:i("emailTemplate.content"),text:i("emailTemplate.text"),actionUrl:i("emailTemplate.actionUrl")});const o={...n,document:a,clients:[a.clients[0]]};t(tr,!0),await Cr.send(e,{...o,...r,sendSource:"propertyDesignation"}),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("actions:propertyDesignationRequest.successMessage")})}catch(n){throw n}finally{t(tr,!1)}},async[Hm]({state:t,dispatch:e,commit:r},{id:n,body:a,params:i={},showMessage:o=!0}){try{r(tr,!0),await Cr.put(n,a,i),await e(lo,{id:n});const s=t.data[n];return uo.trigger("document:update",s),uo.trigger("document:save",s),o&&this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("updatedThing",{thing:ce.t("document")}),omit:"$view:extension,widget"}),n}catch(s){throw s}finally{r(tr,!1)}},async[eH]({dispatch:t},{id:e,body:r,params:n={}}){try{return await t(Hm,{id:e,body:r,params:n}),e}catch(a){return this.handleError(a,{object:"document2",objectId:e,fallbackCode:"document2.put",action:`${Hs}/${eH}`,actionPayload:arguments[1]}),null}},async[J7]({commit:t},{id:e}){try{return t(tr,!0),await Cr.delete(e),t(kLe,e),uo.trigger("document:remove",e),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("removedThing",{thing:ce.t("document")}),actions:{undo:()=>{this.dispatch(`documents2/${LP}`,{id:e})}}}),e}catch(r){return this.handleError(r,{object:"document2",objectId:e,fallbackCode:"document2.delete",action:`${Hs}/${J7}`,actionPayload:arguments[1]}),null}finally{t(tr,!1)}},async[LP]({commit:t,dispatch:e},{id:r}){try{return t(tr,!0),await Cr.patch(r),await e(lo,{id:r}),r}catch(n){return this.handleError(n,{object:"document2",objectId:r,fallbackCode:"document2.patch",action:`${Hs}/${LP}`,actionPayload:arguments[1]}),null}finally{t(tr,!1)}},async[tH]({dispatch:t,getters:e},{id:r,status:n}){try{const{hasAnswers:a}=e.byId(r)||{};return a&&!["accepted","denied"].includes(n)?await this.dispatch(TLe,{displayType:"dialog",type:"warning",title:ce.t("actions:updateDocumentDialog.title"),message:ce.t("actions:updateDocumentDialog.message"),actions:{cancel:{text:ce.t("actions:updateDocumentDialog.cancel"),callback:"cancel"},submit:{text:ce.t("actions:updateDocumentDialog.submit"),callback:async()=>{await t(rH,{id:r,doFetch:!1}),await t(Hm,{id:r,body:{status:n}})}}}}):await t(Hm,{id:r,body:{status:n}}),r}catch(a){return this.handleError(a,{object:"document2",objectId:r,fallbackCode:"document2.updateStatus",action:`${Hs}/${tH}`,actionPayload:arguments[1]}),null}},async[rH]({dispatch:t},{id:e,doFetch:r=!0}){await Cr.clearAnswers(e),r&&await t(lo,{id:e})},async[PLe]({commit:t,dispatch:e},{id:r,publicId:n,body:a,checksum:i}){try{t(tr,!0);const o={docChecksum:i},{data:s}=await xU.answer(n,a,{},o);return await e(lo,{id:r}),s}catch(o){throw o}finally{t(tr,!1)}}},{DELETE_MANY_DOCUMENTS2:SLe,SET_DOCUMENTS2:OLe,SET_DOCUMENT2_FETCHING:CLe,SET_DOCUMENT2_POSTING:DLe}=ix,$Le={[OLe](t,{data:e=[]}){if(typeof e!="object")throw Error("Data must be a document2 or an array of documents2!");const r=Array.isArray(e)?e:[e],n=[];r.forEach(a=>{!a.id||(t.ids.includes(a.id)||n.push(a.id),ie.set(t.data,a.id,a))}),t.ids=Yi([...n,...t.ids])},[SLe](t,e){(Array.isArray(e)?e:[e]).forEach(n=>{!t.data[n]||(ie.delete(t.data,n),t.ids=t.ids.filter(a=>a!==n))})},[CLe](t,e){t.isFetching=e},[DLe](t,e){t.isPosting=e}},ALe={namespaced:!0,state:vLe,getters:{byData:(t,e,r,n)=>({data:a,documentOptions:i})=>new zs({data:a,documentOptions:i,can:Xi.checkPermission.bind(Xi),getters:n}),byId:(t,e)=>r=>{const n=t.data[r];return n?e.byData({data:n}):null},byExternalReference:(t,e)=>({service:r,type:n=null,typeId:a=null})=>{if(typeof r>"u")throw new Error("Missing param service");if(typeof r!="string")throw new Error("Param service must be a string");return t.ids.filter(o=>{const s=t.data[o],{externalReferences:u=[]}=s;return u.some(l=>l.service===r&&(!n||l.type===n)&&(!a||l.typeId===a))}).map(o=>e.byId(o))},isPosting:t=>t.isPosting,isFetching:t=>t.isFetching},actions:MLe,mutations:$Le},RLe={data:{},ids:[],isFetching:!1,isPosting:!1},ti="endCustomers",{SET_ENDCUSTOMER_FETCHING:Ym,SET_ENDCUSTOMER_POSTING:ri,CLEAR_END_CUSTOMER:ILe}=Is,{LOAD_ENDCUSTOMERS:aH,LOAD_ENDCUSTOMER:Gm,UPDATE_ENDCUSTOMER:WP,CREATE_ENDCUSTOMER:FP,DELETE_ENDCUSTOMER:iH,PATCH_ENDCUSTOMER:jP,FORM_NEW_ENDCUSTOMER:oH,FORM_EDIT_ENDCUSTOMER:NLe,FORM_SUBMIT_ENDCUSTOMER:sH}=AU,LLe={async[aH]({commit:t},{options:e={}}={}){try{t(Ym,!0);const r={...typeof e.start=="number"&&{_start:e.start},...e.end&&{_end:e.end},...e.sort&&{_sort:e.sort},...e.order&&{_order:e.order}};if(e.searchQuery.trim()){const a=encodeURIComponent(e.searchQuery);r._where=`or(name*=${a},email*=${a},cellphone*=${a})`}e.clearOld&&t(ILe);const{data:n}=await DTe(r);return t(Is.SET_ENDCUSTOMERS,{data:n}),n.length}catch(r){return this.handleError(r,{object:"endCustomer",fallbackCode:"endCustomer.getAll",action:`${ti}/${aH}`}),!1}finally{t(Ym,!1)}},async[Gm]({commit:t},{id:e}){try{t(Ym,!0);const{data:r}=await $Te(e);t(Is.SET_ENDCUSTOMERS,{data:r})}catch(r){this.handleError(r,{object:"endCustomer",objectId:e,fallbackCode:"endCustomer.get",action:`${ti}/${Gm}`,actionPayload:arguments[1]})}finally{t(Ym,!1)}},async[FP]({commit:t},{body:e,showNotification:r=!0}){try{t(ri,!0);const{data:n}=await ATe(e);return t(Is.SET_ENDCUSTOMERS,{data:n}),r&&this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("createdThing",{thing:ce.t("client")})}),n.id}catch(n){return this.handleError(n,{object:"endCustomer",fallbackCode:"endCustomer.post",action:`${ti}/${FP}`,actionPayload:arguments[1]}),null}finally{t(ri,!1)}},async[WP]({dispatch:t,commit:e},{id:r,body:n}){try{return e(ri,!0),await RTe(r,n),await t(Gm,{id:r}),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("updatedThing",{thing:ce.t("client")})}),!0}catch(a){return this.handleError(a,{object:"endCustomer",objectId:r,fallbackCode:"endCustomer.put",action:`${ti}/${WP}`,actionPayload:arguments[1]}),null}finally{e(ri,!1)}},async[iH]({commit:t},{id:e}){try{return t(ri,!0),await ITe(e),t(Is.DELETE_ENDCUSTOMER,e),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:ce.t("removedThing",{thing:ce.t("client")}),actions:{undo:()=>{this.dispatch(`endCustomers/${jP}`,{id:e})}}}),e}catch(r){return this.handleError(r,{object:"endCustomer",objectId:e,fallbackCode:"endCustomer.delete",action:`${ti}/${iH}`,actionPayload:arguments[1]}),null}finally{t(ri,!1)}},async[jP]({dispatch:t,commit:e},{id:r}){try{return e(ri,!0),await NTe(r),await t(Gm,{id:r}),r}catch(n){return this.handleError(n,{object:"endCustomer",objectId:r,fallbackCode:"endCustomer.patch",action:`${ti}/${jP}`,actionPayload:arguments[1]}),null}finally{e(ri,!1)}},async[oH](){try{const t={id:null,customerType:"individual",org_no:null,name:null,reference:null,email:null,street:null,zip:null,city:null,cellphone:null,cellphoneRegion:null,separateWorkAddress:!1,workStreet:null,workZip:null,workCity:null,reverseVat:!1,vatNumber:null,externalId:null,note:null};return this.commit(`forms/${Me.SET_FORM}`,{key:"endCustomer",formData:t}),!0}catch(t){return this.handleError(t,{object:"endCustomer",action:`${ti}/${oH}`}),!1}},async[NLe]({getters:t},{id:e,props:r=[]}){const n=ua(t.endCustomerById(e),r);this.dispatch(`forms/${Me.forms.SET_FORM_VALUE}`,{key:"endCustomer",value:n})},async[sH]({rootGetters:t,dispatch:e},{showNotification:r=!0}={}){try{const n=t["forms/getFormByKey"]("endCustomer");let{id:a}=n;return a?await e(WP,{id:n.id,body:n}):a=await e(FP,{body:n,showNotification:r}),a}catch(n){return this.handleError(n,{object:"endCustomer",fallbackCode:"endCustomer.submit",action:`${ti}/${sH}`}),null}}},{CLEAR_END_CUSTOMER:WLe,SET_ENDCUSTOMERS:FLe,DELETE_ENDCUSTOMER:jLe,SET_ENDCUSTOMER_FETCHING:VLe,SET_ENDCUSTOMER_POSTING:ULe}=Is,zLe={[FLe](t,{data:e=[]}){if(typeof e!="object")throw Error("Data must be a company user or an array of company users!");const r=Array.isArray(e)?e:[e],{ids:n,values:a}=Vl(r);Fs(t.data,a),t.ids=Yi([...n,...t.ids])},[jLe](t,e){ie.delete(t.data,e);const r=t.ids.indexOf(e);r!==-1&&t.ids.splice(r,1)},[WLe](t){ie.set(t,"data",{}),ie.set(t,"ids",[])},[VLe](t,e){t.isFetching=e},[ULe](t,e){t.isPosting=e}},BLe={namespaced:!0,state:RLe,getters:{endCustomerById:t=>e=>t.data[e],isPosting:t=>t.isPosting,isFetching:t=>t.isFetching,idList:t=>t.ids,clients:t=>t.data},actions:LLe,mutations:zLe};var VP={exports:{}},HLe=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,qLe=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],uH=function(e){var r=e,n=e.indexOf("["),a=e.indexOf("]");n!=-1&&a!=-1&&(e=e.substring(0,n)+e.substring(n,a).replace(/:/g,";")+e.substring(a,e.length));for(var i=HLe.exec(e||""),o={},s=14;s--;)o[qLe[s]]=i[s]||"";return n!=-1&&a!=-1&&(o.source=r,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=YLe(o,o.path),o.queryKey=GLe(o,o.query),o};function YLe(t,e){var r=/\/{2,9}/g,n=e.replace(r,"/").split("/");return(e.substr(0,1)=="/"||e.length===0)&&n.splice(0,1),e.substr(e.length-1,1)=="/"&&n.splice(n.length-1,1),n}function GLe(t,e){var r={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(n,a,i){a&&(r[a]=i)}),r}var sn={exports:{}},UP={exports:{}},td=1e3,rd=td*60,nd=rd*60,ad=nd*24,KLe=ad*365.25,XLe=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return JLe(t);if(r==="number"&&isNaN(t)===!1)return e.long?ZLe(t):QLe(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function JLe(t){if(t=String(t),!(t.length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!!e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*KLe;case"days":case"day":case"d":return r*ad;case"hours":case"hour":case"hrs":case"hr":case"h":return r*nd;case"minutes":case"minute":case"mins":case"min":case"m":return r*rd;case"seconds":case"second":case"secs":case"sec":case"s":return r*td;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function QLe(t){return t>=ad?Math.round(t/ad)+"d":t>=nd?Math.round(t/nd)+"h":t>=rd?Math.round(t/rd)+"m":t>=td?Math.round(t/td)+"s":t+"ms"}function ZLe(t){return Km(t,ad,"day")||Km(t,nd,"hour")||Km(t,rd,"minute")||Km(t,td,"second")||t+" ms"}function Km(t,e,r){if(!(t<e))return t<e*1.5?Math.floor(t/e)+" "+r:Math.ceil(t/e)+" "+r+"s"}(function(t,e){e=t.exports=n.debug=n.default=n,e.coerce=u,e.disable=o,e.enable=i,e.enabled=s,e.humanize=XLe,e.instances=[],e.names=[],e.skips=[],e.formatters={};function r(l){var d=0,c;for(c in l)d=(d<<5)-d+l.charCodeAt(c),d|=0;return e.colors[Math.abs(d)%e.colors.length]}function n(l){var d;function c(){if(!!c.enabled){var m=c,f=+new Date,p=f-(d||f);m.diff=p,m.prev=d,m.curr=f,d=f;for(var h=new Array(arguments.length),v=0;v<h.length;v++)h[v]=arguments[v];h[0]=e.coerce(h[0]),typeof h[0]!="string"&&h.unshift("%O");var y=0;h[0]=h[0].replace(/%([a-zA-Z%])/g,function(g,_){if(g==="%%")return g;y++;var w=e.formatters[_];if(typeof w=="function"){var x=h[y];g=w.call(m,x),h.splice(y,1),y--}return g}),e.formatArgs.call(m,h);var b=c.log||e.log||console.log.bind(console);b.apply(m,h)}}return c.namespace=l,c.enabled=e.enabled(l),c.useColors=e.useColors(),c.color=r(l),c.destroy=a,typeof e.init=="function"&&e.init(c),e.instances.push(c),c}function a(){var l=e.instances.indexOf(this);return l!==-1?(e.instances.splice(l,1),!0):!1}function i(l){e.save(l),e.names=[],e.skips=[];var d,c=(typeof l=="string"?l:"").split(/[\s,]+/),m=c.length;for(d=0;d<m;d++)!c[d]||(l=c[d].replace(/\*/g,".*?"),l[0]==="-"?e.skips.push(new RegExp("^"+l.substr(1)+"$")):e.names.push(new RegExp("^"+l+"$")));for(d=0;d<e.instances.length;d++){var f=e.instances[d];f.enabled=e.enabled(f.namespace)}}function o(){e.enable("")}function s(l){if(l[l.length-1]==="*")return!0;var d,c;for(d=0,c=e.skips.length;d<c;d++)if(e.skips[d].test(l))return!1;for(d=0,c=e.names.length;d<c;d++)if(e.names[d].test(l))return!0;return!1}function u(l){return l instanceof Error?l.stack||l.message:l}})(UP,UP.exports),function(t,e){e=t.exports=UP.exports,e.log=a,e.formatArgs=n,e.save=i,e.load=o,e.useColors=r,e.storage=typeof chrome<"u"&&typeof chrome.storage<"u"?chrome.storage.local:s(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r(){return typeof window<"u"&&window.process&&window.process.type==="renderer"?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}e.formatters.j=function(u){try{return JSON.stringify(u)}catch(l){return"[UnexpectedJSONParseError]: "+l.message}};function n(u){var l=this.useColors;if(u[0]=(l?"%c":"")+this.namespace+(l?" %c":" ")+u[0]+(l?"%c ":" ")+"+"+e.humanize(this.diff),!!l){var d="color: "+this.color;u.splice(1,0,d,"color: inherit");var c=0,m=0;u[0].replace(/%[a-zA-Z%]/g,function(f){f!=="%%"&&(c++,f==="%c"&&(m=c))}),u.splice(m,0,d)}}function a(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function i(u){try{u==null?e.storage.removeItem("debug"):e.storage.debug=u}catch{}}function o(){var u;try{u=e.storage.debug}catch{}return!u&&typeof process<"u"&&"env"in process&&(u=process.env.DEBUG),u}e.enable(o());function s(){try{return window.localStorage}catch{}}}(sn,sn.exports);var eWe=uH,lH=sn.exports("socket.io-client:url"),tWe=rWe;function rWe(t,e){var r=t;e=e||typeof location<"u"&&location,t==null&&(t=e.protocol+"//"+e.host),typeof t=="string"&&(t.charAt(0)==="/"&&(t.charAt(1)==="/"?t=e.protocol+t:t=e.host+t),/^(https?|wss?):\/\//.test(t)||(lH("protocol-less url %s",t),typeof e<"u"?t=e.protocol+"//"+t:t="https://"+t),lH("parse %s",t),r=eWe(t)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";var n=r.host.indexOf(":")!==-1,a=n?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+a+":"+r.port,r.href=r.protocol+"://"+a+(e&&e.port===r.port?"":":"+r.port),r}var Xm={},co={exports:{}};(function(t){t.exports=e;function e(n){if(n)return r(n)}function r(n){for(var a in e.prototype)n[a]=e.prototype[a];return n}e.prototype.on=e.prototype.addEventListener=function(n,a){return this._callbacks=this._callbacks||{},(this._callbacks["$"+n]=this._callbacks["$"+n]||[]).push(a),this},e.prototype.once=function(n,a){function i(){this.off(n,i),a.apply(this,arguments)}return i.fn=a,this.on(n,i),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(n,a){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var i=this._callbacks["$"+n];if(!i)return this;if(arguments.length==1)return delete this._callbacks["$"+n],this;for(var o,s=0;s<i.length;s++)if(o=i[s],o===a||o.fn===a){i.splice(s,1);break}return i.length===0&&delete this._callbacks["$"+n],this},e.prototype.emit=function(n){this._callbacks=this._callbacks||{};for(var a=new Array(arguments.length-1),i=this._callbacks["$"+n],o=1;o<arguments.length;o++)a[o-1]=arguments[o];if(i){i=i.slice(0);for(var o=0,s=i.length;o<s;++o)i[o].apply(this,a)}return this},e.prototype.listeners=function(n){return this._callbacks=this._callbacks||{},this._callbacks["$"+n]||[]},e.prototype.hasListeners=function(n){return!!this.listeners(n).length}})(co);var Jm={},nWe={}.toString,zP=Array.isArray||function(t){return nWe.call(t)=="[object Array]"},dH=sWe,aWe=typeof Buffer=="function"&&typeof Buffer.isBuffer=="function",iWe=typeof ArrayBuffer=="function",oWe=function(t){return typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer};function sWe(t){return aWe&&Buffer.isBuffer(t)||iWe&&(t instanceof ArrayBuffer||oWe(t))}var BP=zP,cH=dH,fH=Object.prototype.toString,uWe=typeof Blob=="function"||typeof Blob<"u"&&fH.call(Blob)==="[object BlobConstructor]",lWe=typeof File=="function"||typeof File<"u"&&fH.call(File)==="[object FileConstructor]";Jm.deconstructPacket=function(t){var e=[],r=t.data,n=t;return n.data=HP(r,e),n.attachments=e.length,{packet:n,buffers:e}};function HP(t,e){if(!t)return t;if(cH(t)){var r={_placeholder:!0,num:e.length};return e.push(t),r}else if(BP(t)){for(var n=new Array(t.length),a=0;a<t.length;a++)n[a]=HP(t[a],e);return n}else if(typeof t=="object"&&!(t instanceof Date)){var n={};for(var i in t)n[i]=HP(t[i],e);return n}return t}Jm.reconstructPacket=function(t,e){return t.data=qP(t.data,e),t.attachments=void 0,t};function qP(t,e){if(!t)return t;if(t&&t._placeholder)return e[t.num];if(BP(t))for(var r=0;r<t.length;r++)t[r]=qP(t[r],e);else if(typeof t=="object")for(var n in t)t[n]=qP(t[n],e);return t}Jm.removeBlobs=function(t,e){function r(i,o,s){if(!i)return i;if(uWe&&i instanceof Blob||lWe&&i instanceof File){n++;var u=new FileReader;u.onload=function(){s?s[o]=this.result:a=this.result,--n||e(a)},u.readAsArrayBuffer(i)}else if(BP(i))for(var l=0;l<i.length;l++)r(i[l],l,i);else if(typeof i=="object"&&!cH(i))for(var d in i)r(i[d],d,i)}var n=0,a=t;r(a),n||e(a)},function(t){var e=sn.exports("socket.io-parser"),r=co.exports,n=Jm,a=zP,i=dH;t.protocol=4,t.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],t.CONNECT=0,t.DISCONNECT=1,t.EVENT=2,t.ACK=3,t.ERROR=4,t.BINARY_EVENT=5,t.BINARY_ACK=6,t.Encoder=o,t.Decoder=c;function o(){}var s=t.ERROR+'"encode error"';o.prototype.encode=function(v,y){if(e("encoding packet %j",v),t.BINARY_EVENT===v.type||t.BINARY_ACK===v.type)d(v,y);else{var b=u(v);y([b])}};function u(v){var y=""+v.type;if((t.BINARY_EVENT===v.type||t.BINARY_ACK===v.type)&&(y+=v.attachments+"-"),v.nsp&&v.nsp!=="/"&&(y+=v.nsp+","),v.id!=null&&(y+=v.id),v.data!=null){var b=l(v.data);if(b!==!1)y+=b;else return s}return e("encoded %j as %s",v,y),y}function l(v){try{return JSON.stringify(v)}catch{return!1}}function d(v,y){function b(g){var _=n.deconstructPacket(g),w=u(_.packet),x=_.buffers;x.unshift(w),y(x)}n.removeBlobs(v,b)}function c(){this.reconstructor=null}r(c.prototype),c.prototype.add=function(v){var y;if(typeof v=="string")y=m(v),t.BINARY_EVENT===y.type||t.BINARY_ACK===y.type?(this.reconstructor=new p(y),this.reconstructor.reconPack.attachments===0&&this.emit("decoded",y)):this.emit("decoded",y);else if(i(v)||v.base64)if(this.reconstructor)y=this.reconstructor.takeBinaryData(v),y&&(this.reconstructor=null,this.emit("decoded",y));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+v)};function m(v){var y=0,b={type:Number(v.charAt(0))};if(t.types[b.type]==null)return h("unknown packet type "+b.type);if(t.BINARY_EVENT===b.type||t.BINARY_ACK===b.type){for(var g=y+1;v.charAt(++y)!=="-"&&y!=v.length;);var _=v.substring(g,y);if(_!=Number(_)||v.charAt(y)!=="-")throw new Error("Illegal attachments");b.attachments=Number(_)}if(v.charAt(y+1)==="/"){for(var g=y+1;++y;){var w=v.charAt(y);if(w===","||y===v.length)break}b.nsp=v.substring(g,y)}else b.nsp="/";var x=v.charAt(y+1);if(x!==""&&Number(x)==x){for(var g=y+1;++y;){var w=v.charAt(y);if(w==null||Number(w)!=w){--y;break}if(y===v.length)break}b.id=Number(v.substring(g,y+1))}if(v.charAt(++y)){var k=f(v.substr(y)),D=k!==!1&&(b.type===t.ERROR||a(k));if(D)b.data=k;else return h("invalid payload")}return e("decoded %s as %j",v,b),b}function f(v){try{return JSON.parse(v)}catch{return!1}}c.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()};function p(v){this.reconPack=v,this.buffers=[]}p.prototype.takeBinaryData=function(v){if(this.buffers.push(v),this.buffers.length===this.reconPack.attachments){var y=n.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),y}return null},p.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]};function h(v){return{type:t.ERROR,data:"parser error: "+v}}}(Xm);var mH={exports:{}},Qm={},YP={exports:{}};try{YP.exports=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{YP.exports=!1}var GP=function(){return typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),dWe=YP.exports,cWe=GP,KP=function(t){var e=t.xdomain,r=t.xscheme,n=t.enablesXDR;try{if(typeof XMLHttpRequest<"u"&&(!e||dWe))return new XMLHttpRequest}catch{}try{if(typeof XDomainRequest<"u"&&!r&&n)return new XDomainRequest}catch{}if(!e)try{return new cWe[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}},XP={exports:{}},fo={},fWe=Object.keys||function(e){var r=[],n=Object.prototype.hasOwnProperty;for(var a in e)n.call(e,a)&&r.push(a);return r},mWe=zP,pH=Object.prototype.toString,pWe=typeof Blob=="function"||typeof Blob<"u"&&pH.call(Blob)==="[object BlobConstructor]",hWe=typeof File=="function"||typeof File<"u"&&pH.call(File)==="[object FileConstructor]",hH=Zm;function Zm(t){if(!t||typeof t!="object")return!1;if(mWe(t)){for(var e=0,r=t.length;e<r;e++)if(Zm(t[e]))return!0;return!1}if(typeof Buffer=="function"&&Buffer.isBuffer&&Buffer.isBuffer(t)||typeof ArrayBuffer=="function"&&t instanceof ArrayBuffer||pWe&&t instanceof Blob||hWe&&t instanceof File)return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return Zm(t.toJSON(),!0);for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&Zm(t[n]))return!0;return!1}var vWe=function(t,e,r){var n=t.byteLength;if(e=e||0,r=r||n,t.slice)return t.slice(e,r);if(e<0&&(e+=n),r<0&&(r+=n),r>n&&(r=n),e>=n||e>=r||n===0)return new ArrayBuffer(0);for(var a=new Uint8Array(t),i=new Uint8Array(r-e),o=e,s=0;o<r;o++,s++)i[s]=a[o];return i.buffer},gWe=yWe;function yWe(t,e,r){var n=!1;return r=r||_We,a.count=t,t===0?e():a;function a(i,o){if(a.count<=0)throw new Error("after called too many times");--a.count,i?(n=!0,e(i),e=r):a.count===0&&!n&&e(null,o)}}function _We(){}/*! https://mths.be/utf8js v2.1.2 by @mathias */var ni=String.fromCharCode;function vH(t){for(var e=[],r=0,n=t.length,a,i;r<n;)a=t.charCodeAt(r++),a>=55296&&a<=56319&&r<n?(i=t.charCodeAt(r++),(i&64512)==56320?e.push(((a&1023)<<10)+(i&1023)+65536):(e.push(a),r--)):e.push(a);return e}function bWe(t){for(var e=t.length,r=-1,n,a="";++r<e;)n=t[r],n>65535&&(n-=65536,a+=ni(n>>>10&1023|55296),n=56320|n&1023),a+=ni(n);return a}function gH(t,e){if(t>=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function JP(t,e){return ni(t>>e&63|128)}function wWe(t,e){if((t&4294967168)==0)return ni(t);var r="";return(t&4294965248)==0?r=ni(t>>6&31|192):(t&4294901760)==0?(gH(t,e)||(t=65533),r=ni(t>>12&15|224),r+=JP(t,6)):(t&4292870144)==0&&(r=ni(t>>18&7|240),r+=JP(t,12),r+=JP(t,6)),r+=ni(t&63|128),r}function xWe(t,e){e=e||{};for(var r=e.strict!==!1,n=vH(t),a=n.length,i=-1,o,s="";++i<a;)o=n[i],s+=wWe(o,r);return s}function qs(){if(ai>=tp)throw Error("Invalid byte index");var t=ep[ai]&255;if(ai++,(t&192)==128)return t&63;throw Error("Invalid continuation byte")}function PWe(t){var e,r,n,a,i;if(ai>tp)throw Error("Invalid byte index");if(ai==tp)return!1;if(e=ep[ai]&255,ai++,(e&128)==0)return e;if((e&224)==192){if(r=qs(),i=(e&31)<<6|r,i>=128)return i;throw Error("Invalid continuation byte")}if((e&240)==224){if(r=qs(),n=qs(),i=(e&15)<<12|r<<6|n,i>=2048)return gH(i,t)?i:65533;throw Error("Invalid continuation byte")}if((e&248)==240&&(r=qs(),n=qs(),a=qs(),i=(e&7)<<18|r<<12|n<<6|a,i>=65536&&i<=1114111))return i;throw Error("Invalid UTF-8 detected")}var ep,tp,ai;function kWe(t,e){e=e||{};var r=e.strict!==!1;ep=vH(t),tp=ep.length,ai=0;for(var n=[],a;(a=PWe(r))!==!1;)n.push(a);return bWe(n)}var TWe={version:"2.1.2",encode:xWe,decode:kWe},rp={},yH;function EWe(){return yH||(yH=1,function(t){rp.encode=function(e){var r=new Uint8Array(e),n,a=r.length,i="";for(n=0;n<a;n+=3)i+=t[r[n]>>2],i+=t[(r[n]&3)<<4|r[n+1]>>4],i+=t[(r[n+1]&15)<<2|r[n+2]>>6],i+=t[r[n+2]&63];return a%3===2?i=i.substring(0,i.length-1)+"=":a%3===1&&(i=i.substring(0,i.length-2)+"=="),i},rp.decode=function(e){var r=e.length*.75,n=e.length,a,i=0,o,s,u,l;e[e.length-1]==="="&&(r--,e[e.length-2]==="="&&r--);var d=new ArrayBuffer(r),c=new Uint8Array(d);for(a=0;a<n;a+=4)o=t.indexOf(e[a]),s=t.indexOf(e[a+1]),u=t.indexOf(e[a+2]),l=t.indexOf(e[a+3]),c[i++]=o<<2|s>>4,c[i++]=(s&15)<<4|u>>2,c[i++]=(u&3)<<6|l&63;return d}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")),rp}var QP,_H;function MWe(){if(_H)return QP;_H=1;var t=typeof t<"u"?t:typeof WebKitBlobBuilder<"u"?WebKitBlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:!1,e=function(){try{var s=new Blob(["hi"]);return s.size===2}catch{return!1}}(),r=e&&function(){try{var s=new Blob([new Uint8Array([1,2])]);return s.size===2}catch{return!1}}(),n=t&&t.prototype.append&&t.prototype.getBlob;function a(s){return s.map(function(u){if(u.buffer instanceof ArrayBuffer){var l=u.buffer;if(u.byteLength!==l.byteLength){var d=new Uint8Array(u.byteLength);d.set(new Uint8Array(l,u.byteOffset,u.byteLength)),l=d.buffer}return l}return u})}function i(s,u){u=u||{};var l=new t;return a(s).forEach(function(d){l.append(d)}),u.type?l.getBlob(u.type):l.getBlob()}function o(s,u){return new Blob(a(s),u||{})}return typeof Blob<"u"&&(i.prototype=Blob.prototype,o.prototype=Blob.prototype),QP=function(){return e?r?Blob:o:n?i:void 0}(),QP}(function(t){var e=fWe,r=hH,n=vWe,a=gWe,i=TWe,o;typeof ArrayBuffer<"u"&&(o=EWe());var s=typeof navigator<"u"&&/Android/i.test(navigator.userAgent),u=typeof navigator<"u"&&/PhantomJS/i.test(navigator.userAgent),l=s||u;t.protocol=3;var d=t.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},c=e(d),m={type:"error",data:"parser error"},f=MWe();t.encodePacket=function(_,w,x,k){typeof w=="function"&&(k=w,w=!1),typeof x=="function"&&(k=x,x=null);var D=_.data===void 0?void 0:_.data.buffer||_.data;if(typeof ArrayBuffer<"u"&&D instanceof ArrayBuffer)return h(_,w,k);if(typeof f<"u"&&D instanceof f)return y(_,w,k);if(D&&D.base64)return p(_,k);var S=d[_.type];return _.data!==void 0&&(S+=x?i.encode(String(_.data),{strict:!1}):String(_.data)),k(""+S)};function p(_,w){var x="b"+t.packets[_.type]+_.data.data;return w(x)}function h(_,w,x){if(!w)return t.encodeBase64Packet(_,x);var k=_.data,D=new Uint8Array(k),S=new Uint8Array(1+k.byteLength);S[0]=d[_.type];for(var O=0;O<D.length;O++)S[O+1]=D[O];return x(S.buffer)}function v(_,w,x){if(!w)return t.encodeBase64Packet(_,x);var k=new FileReader;return k.onload=function(){t.encodePacket({type:_.type,data:k.result},w,!0,x)},k.readAsArrayBuffer(_.data)}function y(_,w,x){if(!w)return t.encodeBase64Packet(_,x);if(l)return v(_,w,x);var k=new Uint8Array(1);k[0]=d[_.type];var D=new f([k.buffer,_.data]);return x(D)}t.encodeBase64Packet=function(_,w){var x="b"+t.packets[_.type];if(typeof f<"u"&&_.data instanceof f){var k=new FileReader;return k.onload=function(){var E=k.result.split(",")[1];w(x+E)},k.readAsDataURL(_.data)}var D;try{D=String.fromCharCode.apply(null,new Uint8Array(_.data))}catch{for(var S=new Uint8Array(_.data),O=new Array(S.length),C=0;C<S.length;C++)O[C]=S[C];D=String.fromCharCode.apply(null,O)}return x+=btoa(D),w(x)},t.decodePacket=function(_,w,x){if(_===void 0)return m;if(typeof _=="string"){if(_.charAt(0)==="b")return t.decodeBase64Packet(_.substr(1),w);if(x&&(_=b(_),_===!1))return m;var D=_.charAt(0);return Number(D)!=D||!c[D]?m:_.length>1?{type:c[D],data:_.substring(1)}:{type:c[D]}}var k=new Uint8Array(_),D=k[0],S=n(_,1);return f&&w==="blob"&&(S=new f([S])),{type:c[D],data:S}};function b(_){try{_=i.decode(_,{strict:!1})}catch{return!1}return _}t.decodeBase64Packet=function(_,w){var x=c[_.charAt(0)];if(!o)return{type:x,data:{base64:!0,data:_.substr(1)}};var k=o.decode(_.substr(1));return w==="blob"&&f&&(k=new f([k])),{type:x,data:k}},t.encodePayload=function(_,w,x){typeof w=="function"&&(x=w,w=null);var k=r(_);if(w&&k)return f&&!l?t.encodePayloadAsBlob(_,x):t.encodePayloadAsArrayBuffer(_,x);if(!_.length)return x("0:");function D(O){return O.length+":"+O}function S(O,C){t.encodePacket(O,k?w:!1,!1,function(E){C(null,D(E))})}g(_,S,function(O,C){return x(C.join(""))})};function g(_,w,x){for(var k=new Array(_.length),D=a(_.length,x),S=function(C,E,T){w(E,function($,I){k[C]=I,T($,k)})},O=0;O<_.length;O++)S(O,_[O],D)}t.decodePayload=function(_,w,x){if(typeof _!="string")return t.decodePayloadAsBinary(_,w,x);typeof w=="function"&&(x=w,w=null);var k;if(_==="")return x(m,0,1);for(var D="",S,O,C=0,E=_.length;C<E;C++){var T=_.charAt(C);if(T!==":"){D+=T;continue}if(D===""||D!=(S=Number(D))||(O=_.substr(C+1,S),D!=O.length))return x(m,0,1);if(O.length){if(k=t.decodePacket(O,w,!1),m.type===k.type&&m.data===k.data)return x(m,0,1);var $=x(k,C+S,E);if($===!1)return}C+=S,D=""}if(D!=="")return x(m,0,1)},t.encodePayloadAsArrayBuffer=function(_,w){if(!_.length)return w(new ArrayBuffer(0));function x(k,D){t.encodePacket(k,!0,!0,function(S){return D(null,S)})}g(_,x,function(k,D){var S=D.reduce(function(E,T){var $;return typeof T=="string"?$=T.length:$=T.byteLength,E+$.toString().length+$+2},0),O=new Uint8Array(S),C=0;return D.forEach(function(E){var T=typeof E=="string",$=E;if(T){for(var U=new Uint8Array(E.length),I=0;I<E.length;I++)U[I]=E.charCodeAt(I);$=U.buffer}T?O[C++]=0:O[C++]=1;for(var W=$.byteLength.toString(),I=0;I<W.length;I++)O[C++]=parseInt(W[I]);O[C++]=255;for(var U=new Uint8Array($),I=0;I<U.length;I++)O[C++]=U[I]}),w(O.buffer)})},t.encodePayloadAsBlob=function(_,w){function x(k,D){t.encodePacket(k,!0,!0,function(S){var O=new Uint8Array(1);if(O[0]=1,typeof S=="string"){for(var C=new Uint8Array(S.length),E=0;E<S.length;E++)C[E]=S.charCodeAt(E);S=C.buffer,O[0]=0}for(var T=S instanceof ArrayBuffer?S.byteLength:S.size,$=T.toString(),I=new Uint8Array($.length+1),E=0;E<$.length;E++)I[E]=parseInt($[E]);if(I[$.length]=255,f){var W=new f([O.buffer,I.buffer,S]);D(null,W)}})}g(_,x,function(k,D){return w(new f(D))})},t.decodePayloadAsBinary=function(_,w,x){typeof w=="function"&&(x=w,w=null);for(var k=_,D=[];k.byteLength>0;){for(var S=new Uint8Array(k),O=S[0]===0,C="",E=1;S[E]!==255;E++){if(C.length>310)return x(m,0,1);C+=S[E]}k=n(k,2+C.length),C=parseInt(C);var T=n(k,0,C);if(O)try{T=String.fromCharCode.apply(null,new Uint8Array(T))}catch{var $=new Uint8Array(T);T="";for(var E=0;E<$.length;E++)T+=String.fromCharCode($[E])}D.push(T),k=n(k,C)}var I=D.length;D.forEach(function(W,U){x(t.decodePacket(W,w,!0),U,I)})}})(fo);var ZP,bH;function ek(){if(bH)return ZP;bH=1;var t=fo,e=co.exports;ZP=r;function r(n){this.path=n.path,this.hostname=n.hostname,this.port=n.port,this.secure=n.secure,this.query=n.query,this.timestampParam=n.timestampParam,this.timestampRequests=n.timestampRequests,this.readyState="",this.agent=n.agent||!1,this.socket=n.socket,this.enablesXDR=n.enablesXDR,this.withCredentials=n.withCredentials,this.pfx=n.pfx,this.key=n.key,this.passphrase=n.passphrase,this.cert=n.cert,this.ca=n.ca,this.ciphers=n.ciphers,this.rejectUnauthorized=n.rejectUnauthorized,this.forceNode=n.forceNode,this.isReactNative=n.isReactNative,this.extraHeaders=n.extraHeaders,this.localAddress=n.localAddress}return e(r.prototype),r.prototype.onError=function(n,a){var i=new Error(n);return i.type="TransportError",i.description=a,this.emit("error",i),this},r.prototype.open=function(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this},r.prototype.close=function(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this},r.prototype.send=function(n){if(this.readyState==="open")this.write(n);else throw new Error("Transport not open")},r.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},r.prototype.onData=function(n){var a=t.decodePacket(n,this.socket.binaryType);this.onPacket(a)},r.prototype.onPacket=function(n){this.emit("packet",n)},r.prototype.onClose=function(){this.readyState="closed",this.emit("close")},ZP}var Ys={};Ys.encode=function(t){var e="";for(var r in t)t.hasOwnProperty(r)&&(e.length&&(e+="&"),e+=encodeURIComponent(r)+"="+encodeURIComponent(t[r]));return e},Ys.decode=function(t){for(var e={},r=t.split("&"),n=0,a=r.length;n<a;n++){var i=r[n].split("=");e[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return e};var np=function(t,e){var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t},wH="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),ap=64,xH={},PH=0,ii=0,kH;function tk(t){var e="";do e=wH[t%ap]+e,t=Math.floor(t/ap);while(t>0);return e}function SWe(t){var e=0;for(ii=0;ii<t.length;ii++)e=e*ap+xH[t.charAt(ii)];return e}function rk(){var t=tk(+new Date);return t!==kH?(PH=0,kH=t):t+"."+tk(PH++)}for(;ii<ap;ii++)xH[wH[ii]]=ii;rk.encode=tk,rk.decode=SWe;var TH=rk,EH=ek(),OWe=Ys,MH=fo,CWe=np,DWe=TH,un=sn.exports("engine.io-client:polling"),SH=Fn,$We=function(){var t=KP,e=new t({xdomain:!1});return e.responseType!=null}();function Fn(t){var e=t&&t.forceBase64;(!$We||e)&&(this.supportsBinary=!1),EH.call(this,t)}CWe(Fn,EH),Fn.prototype.name="polling",Fn.prototype.doOpen=function(){this.poll()},Fn.prototype.pause=function(t){var e=this;this.readyState="pausing";function r(){un("paused"),e.readyState="paused",t()}if(this.polling||!this.writable){var n=0;this.polling&&(un("we are currently polling - waiting to pause"),n++,this.once("pollComplete",function(){un("pre-pause polling complete"),--n||r()})),this.writable||(un("we are currently writing - waiting to pause"),n++,this.once("drain",function(){un("pre-pause writing complete"),--n||r()}))}else r()},Fn.prototype.poll=function(){un("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},Fn.prototype.onData=function(t){var e=this;un("polling got data %s",t);var r=function(n,a,i){if(e.readyState==="opening"&&n.type==="open"&&e.onOpen(),n.type==="close")return e.onClose(),!1;e.onPacket(n)};MH.decodePayload(t,this.socket.binaryType,r),this.readyState!=="closed"&&(this.polling=!1,this.emit("pollComplete"),this.readyState==="open"?this.poll():un('ignoring poll - transport state "%s"',this.readyState))},Fn.prototype.doClose=function(){var t=this;function e(){un("writing close packet"),t.write([{type:"close"}])}this.readyState==="open"?(un("transport open - closing"),e()):(un("transport not open - deferring close"),this.once("open",e))},Fn.prototype.write=function(t){var e=this;this.writable=!1;var r=function(){e.writable=!0,e.emit("drain")};MH.encodePayload(t,this.supportsBinary,function(n){e.doWrite(n,r)})},Fn.prototype.uri=function(){var t=this.query||{},e=this.secure?"https":"http",r="";this.timestampRequests!==!1&&(t[this.timestampParam]=DWe()),!this.supportsBinary&&!t.sid&&(t.b64=1),t=OWe.encode(t),this.port&&(e==="https"&&Number(this.port)!==443||e==="http"&&Number(this.port)!==80)&&(r=":"+this.port),t.length&&(t="?"+t);var n=this.hostname.indexOf(":")!==-1;return e+"://"+(n?"["+this.hostname+"]":this.hostname)+r+this.path+t};var AWe=KP,OH=SH,RWe=co.exports,IWe=np,nk=sn.exports("engine.io-client:polling-xhr"),NWe=GP;XP.exports=Gs,XP.exports.Request=Wt;function CH(){}function Gs(t){if(OH.call(this,t),this.requestTimeout=t.requestTimeout,this.extraHeaders=t.extraHeaders,typeof location<"u"){var e=location.protocol==="https:",r=location.port;r||(r=e?443:80),this.xd=typeof location<"u"&&t.hostname!==location.hostname||r!==t.port,this.xs=t.secure!==e}}IWe(Gs,OH),Gs.prototype.supportsBinary=!0,Gs.prototype.request=function(t){return t=t||{},t.uri=this.uri(),t.xd=this.xd,t.xs=this.xs,t.agent=this.agent||!1,t.supportsBinary=this.supportsBinary,t.enablesXDR=this.enablesXDR,t.withCredentials=this.withCredentials,t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized,t.requestTimeout=this.requestTimeout,t.extraHeaders=this.extraHeaders,new Wt(t)},Gs.prototype.doWrite=function(t,e){var r=typeof t!="string"&&t!==void 0,n=this.request({method:"POST",data:t,isBinary:r}),a=this;n.on("success",e),n.on("error",function(i){a.onError("xhr post error",i)}),this.sendXhr=n},Gs.prototype.doPoll=function(){nk("xhr poll");var t=this.request(),e=this;t.on("data",function(r){e.onData(r)}),t.on("error",function(r){e.onError("xhr poll error",r)}),this.pollXhr=t};function Wt(t){this.method=t.method||"GET",this.uri=t.uri,this.xd=!!t.xd,this.xs=!!t.xs,this.async=t.async!==!1,this.data=t.data!==void 0?t.data:null,this.agent=t.agent,this.isBinary=t.isBinary,this.supportsBinary=t.supportsBinary,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.requestTimeout=t.requestTimeout,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.extraHeaders=t.extraHeaders,this.create()}if(RWe(Wt.prototype),Wt.prototype.create=function(){var t={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized;var e=this.xhr=new AWe(t),r=this;try{nk("xhr open %s: %s",this.method,this.uri),e.open(this.method,this.uri,this.async);try{if(this.extraHeaders){e.setDisableHeaderCheck&&e.setDisableHeaderCheck(!0);for(var n in this.extraHeaders)this.extraHeaders.hasOwnProperty(n)&&e.setRequestHeader(n,this.extraHeaders[n])}}catch{}if(this.method==="POST")try{this.isBinary?e.setRequestHeader("Content-type","application/octet-stream"):e.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{e.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in e&&(e.withCredentials=this.withCredentials),this.requestTimeout&&(e.timeout=this.requestTimeout),this.hasXDR()?(e.onload=function(){r.onLoad()},e.onerror=function(){r.onError(e.responseText)}):e.onreadystatechange=function(){if(e.readyState===2)try{var a=e.getResponseHeader("Content-Type");(r.supportsBinary&&a==="application/octet-stream"||a==="application/octet-stream; charset=UTF-8")&&(e.responseType="arraybuffer")}catch{}e.readyState===4&&(e.status===200||e.status===1223?r.onLoad():setTimeout(function(){r.onError(typeof e.status=="number"?e.status:0)},0))},nk("xhr data %s",this.data),e.send(this.data)}catch(a){setTimeout(function(){r.onError(a)},0);return}typeof document<"u"&&(this.index=Wt.requestsCount++,Wt.requests[this.index]=this)},Wt.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},Wt.prototype.onData=function(t){this.emit("data",t),this.onSuccess()},Wt.prototype.onError=function(t){this.emit("error",t),this.cleanup(!0)},Wt.prototype.cleanup=function(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=CH:this.xhr.onreadystatechange=CH,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Wt.requests[this.index],this.xhr=null}},Wt.prototype.onLoad=function(){var t;try{var e;try{e=this.xhr.getResponseHeader("Content-Type")}catch{}e==="application/octet-stream"||e==="application/octet-stream; charset=UTF-8"?t=this.xhr.response||this.xhr.responseText:t=this.xhr.responseText}catch(r){this.onError(r)}t!=null&&this.onData(t)},Wt.prototype.hasXDR=function(){return typeof XDomainRequest<"u"&&!this.xs&&this.enablesXDR},Wt.prototype.abort=function(){this.cleanup()},Wt.requestsCount=0,Wt.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",DH);else if(typeof addEventListener=="function"){var LWe="onpagehide"in NWe?"pagehide":"unload";addEventListener(LWe,DH,!1)}}function DH(){for(var t in Wt.requests)Wt.requests.hasOwnProperty(t)&&Wt.requests[t].abort()}var ak=SH,WWe=np,$H=GP,FWe=Ks,jWe=/\n/g,VWe=/\\n/g,ip;function UWe(){}function Ks(t){ak.call(this,t),this.query=this.query||{},ip||(ip=$H.___eio=$H.___eio||[]),this.index=ip.length;var e=this;ip.push(function(r){e.onData(r)}),this.query.j=this.index,typeof addEventListener=="function"&&addEventListener("beforeunload",function(){e.script&&(e.script.onerror=UWe)},!1)}WWe(Ks,ak),Ks.prototype.supportsBinary=!1,Ks.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),ak.prototype.doClose.call(this)},Ks.prototype.doPoll=function(){var t=this,e=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),e.async=!0,e.src=this.uri(),e.onerror=function(a){t.onError("jsonp poll error",a)};var r=document.getElementsByTagName("script")[0];r?r.parentNode.insertBefore(e,r):(document.head||document.body).appendChild(e),this.script=e;var n=typeof navigator<"u"&&/gecko/i.test(navigator.userAgent);n&&setTimeout(function(){var a=document.createElement("iframe");document.body.appendChild(a),document.body.removeChild(a)},100)},Ks.prototype.doWrite=function(t,e){var r=this;if(!this.form){var n=document.createElement("form"),a=document.createElement("textarea"),i=this.iframeId="eio_iframe_"+this.index,o;n.className="socketio",n.style.position="absolute",n.style.top="-1000px",n.style.left="-1000px",n.target=i,n.method="POST",n.setAttribute("accept-charset","utf-8"),a.name="d",n.appendChild(a),document.body.appendChild(n),this.form=n,this.area=a}this.form.action=this.uri();function s(){u(),e()}function u(){if(r.iframe)try{r.form.removeChild(r.iframe)}catch(d){r.onError("jsonp polling iframe removal error",d)}try{var l='<iframe src="javascript:0" name="'+r.iframeId+'">';o=document.createElement(l)}catch{o=document.createElement("iframe"),o.name=r.iframeId,o.src="javascript:0"}o.id=r.iframeId,r.form.appendChild(o),r.iframe=o}u(),t=t.replace(VWe,`\\
544
- `),this.area.value=t.replace(jWe,"\\n");try{this.form.submit()}catch{}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){r.iframe.readyState==="complete"&&s()}:this.iframe.onload=s};var ik=ek(),zWe=fo,BWe=Ys,HWe=np,qWe=TH,YWe=sn.exports("engine.io-client:websocket"),op,ok;if(typeof WebSocket<"u"?op=WebSocket:typeof self<"u"&&(op=self.WebSocket||self.MozWebSocket),typeof window>"u")try{ok=WV}catch{}var Xs=op||ok,GWe=Hr;function Hr(t){var e=t&&t.forceBase64;e&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=op&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(Xs=ok),ik.call(this,t)}HWe(Hr,ik),Hr.prototype.name="websocket",Hr.prototype.supportsBinary=!0,Hr.prototype.doOpen=function(){if(!!this.check()){var t=this.uri(),e=this.protocols,r={};this.isReactNative||(r.agent=this.agent,r.perMessageDeflate=this.perMessageDeflate,r.pfx=this.pfx,r.key=this.key,r.passphrase=this.passphrase,r.cert=this.cert,r.ca=this.ca,r.ciphers=this.ciphers,r.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(r.headers=this.extraHeaders),this.localAddress&&(r.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?e?new Xs(t,e):new Xs(t):new Xs(t,e,r)}catch(n){return this.emit("error",n)}this.ws.binaryType===void 0&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},Hr.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},Hr.prototype.write=function(t){var e=this;this.writable=!1;for(var r=t.length,n=0,a=r;n<a;n++)(function(o){zWe.encodePacket(o,e.supportsBinary,function(s){if(!e.usingBrowserWebSocket){var u={};if(o.options&&(u.compress=o.options.compress),e.perMessageDeflate){var l=typeof s=="string"?Buffer.byteLength(s):s.length;l<e.perMessageDeflate.threshold&&(u.compress=!1)}}try{e.usingBrowserWebSocket?e.ws.send(s):e.ws.send(s,u)}catch{YWe("websocket closed before onclose event")}--r||i()})})(t[n]);function i(){e.emit("flush"),setTimeout(function(){e.writable=!0,e.emit("drain")},0)}},Hr.prototype.onClose=function(){ik.prototype.onClose.call(this)},Hr.prototype.doClose=function(){typeof this.ws<"u"&&this.ws.close()},Hr.prototype.uri=function(){var t=this.query||{},e=this.secure?"wss":"ws",r="";this.port&&(e==="wss"&&Number(this.port)!==443||e==="ws"&&Number(this.port)!==80)&&(r=":"+this.port),this.timestampRequests&&(t[this.timestampParam]=qWe()),this.supportsBinary||(t.b64=1),t=BWe.encode(t),t.length&&(t="?"+t);var n=this.hostname.indexOf(":")!==-1;return e+"://"+(n?"["+this.hostname+"]":this.hostname)+r+this.path+t},Hr.prototype.check=function(){return!!Xs&&!("__initialize"in Xs&&this.name===Hr.prototype.name)};var KWe=KP,XWe=XP.exports,JWe=FWe,QWe=GWe;Qm.polling=ZWe,Qm.websocket=QWe;function ZWe(t){var e,r=!1,n=!1,a=t.jsonp!==!1;if(typeof location<"u"){var i=location.protocol==="https:",o=location.port;o||(o=i?443:80),r=t.hostname!==location.hostname||o!==t.port,n=t.secure!==i}if(t.xdomain=r,t.xscheme=n,e=new KWe(t),"open"in e&&!t.forceJSONP)return new XWe(t);if(!a)throw new Error("JSONP disabled");return new JWe(t)}var eFe=[].indexOf,AH=function(t,e){if(eFe)return t.indexOf(e);for(var r=0;r<t.length;++r)if(t[r]===e)return r;return-1},tFe=Qm,rFe=co.exports,Rt=sn.exports("engine.io-client:socket"),nFe=AH,RH=fo,IH=uH,aFe=Ys,iFe=je;function je(t,e){if(!(this instanceof je))return new je(t,e);e=e||{},t&&typeof t=="object"&&(e=t,t=null),t?(t=IH(t),e.hostname=t.host,e.secure=t.protocol==="https"||t.protocol==="wss",e.port=t.port,t.query&&(e.query=t.query)):e.host&&(e.hostname=IH(e.host).host),this.secure=e.secure!=null?e.secure:typeof location<"u"&&location.protocol==="https:",e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.agent=e.agent||!1,this.hostname=e.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=e.port||(typeof location<"u"&&location.port?location.port:this.secure?443:80),this.query=e.query||{},typeof this.query=="string"&&(this.query=aFe.decode(this.query)),this.upgrade=e.upgrade!==!1,this.path=(e.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!e.forceJSONP,this.jsonp=e.jsonp!==!1,this.forceBase64=!!e.forceBase64,this.enablesXDR=!!e.enablesXDR,this.withCredentials=e.withCredentials!==!1,this.timestampParam=e.timestampParam||"t",this.timestampRequests=e.timestampRequests,this.transports=e.transports||["polling","websocket"],this.transportOptions=e.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=e.policyPort||843,this.rememberUpgrade=e.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=e.onlyBinaryUpgrades,this.perMessageDeflate=e.perMessageDeflate!==!1?e.perMessageDeflate||{}:!1,this.perMessageDeflate===!0&&(this.perMessageDeflate={}),this.perMessageDeflate&&this.perMessageDeflate.threshold==null&&(this.perMessageDeflate.threshold=1024),this.pfx=e.pfx||void 0,this.key=e.key||void 0,this.passphrase=e.passphrase||void 0,this.cert=e.cert||void 0,this.ca=e.ca||void 0,this.ciphers=e.ciphers||void 0,this.rejectUnauthorized=e.rejectUnauthorized===void 0?!0:e.rejectUnauthorized,this.forceNode=!!e.forceNode,this.isReactNative=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative",(typeof self>"u"||this.isReactNative)&&(e.extraHeaders&&Object.keys(e.extraHeaders).length>0&&(this.extraHeaders=e.extraHeaders),e.localAddress&&(this.localAddress=e.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}je.priorWebsocketSuccess=!1,rFe(je.prototype),je.protocol=RH.protocol,je.Socket=je,je.Transport=ek(),je.transports=Qm,je.parser=fo,je.prototype.createTransport=function(t){Rt('creating transport "%s"',t);var e=oFe(this.query);e.EIO=RH.protocol,e.transport=t;var r=this.transportOptions[t]||{};this.id&&(e.sid=this.id);var n=new tFe[t]({query:e,socket:this,agent:r.agent||this.agent,hostname:r.hostname||this.hostname,port:r.port||this.port,secure:r.secure||this.secure,path:r.path||this.path,forceJSONP:r.forceJSONP||this.forceJSONP,jsonp:r.jsonp||this.jsonp,forceBase64:r.forceBase64||this.forceBase64,enablesXDR:r.enablesXDR||this.enablesXDR,withCredentials:r.withCredentials||this.withCredentials,timestampRequests:r.timestampRequests||this.timestampRequests,timestampParam:r.timestampParam||this.timestampParam,policyPort:r.policyPort||this.policyPort,pfx:r.pfx||this.pfx,key:r.key||this.key,passphrase:r.passphrase||this.passphrase,cert:r.cert||this.cert,ca:r.ca||this.ca,ciphers:r.ciphers||this.ciphers,rejectUnauthorized:r.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:r.perMessageDeflate||this.perMessageDeflate,extraHeaders:r.extraHeaders||this.extraHeaders,forceNode:r.forceNode||this.forceNode,localAddress:r.localAddress||this.localAddress,requestTimeout:r.requestTimeout||this.requestTimeout,protocols:r.protocols||void 0,isReactNative:this.isReactNative});return n};function oFe(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}je.prototype.open=function(){var t;if(this.rememberUpgrade&&je.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){var e=this;setTimeout(function(){e.emit("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)},je.prototype.setTransport=function(t){Rt("setting transport %s",t.name);var e=this;this.transport&&(Rt("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",function(){e.onDrain()}).on("packet",function(r){e.onPacket(r)}).on("error",function(r){e.onError(r)}).on("close",function(){e.onClose("transport close")})},je.prototype.probe=function(t){Rt('probing transport "%s"',t);var e=this.createTransport(t,{probe:1}),r=!1,n=this;je.priorWebsocketSuccess=!1;function a(){if(n.onlyBinaryUpgrades){var c=!this.supportsBinary&&n.transport.supportsBinary;r=r||c}r||(Rt('probe transport "%s" opened',t),e.send([{type:"ping",data:"probe"}]),e.once("packet",function(m){if(!r)if(m.type==="pong"&&m.data==="probe"){if(Rt('probe transport "%s" pong',t),n.upgrading=!0,n.emit("upgrading",e),!e)return;je.priorWebsocketSuccess=e.name==="websocket",Rt('pausing current transport "%s"',n.transport.name),n.transport.pause(function(){r||n.readyState!=="closed"&&(Rt("changing transport and sending upgrade packet"),d(),n.setTransport(e),e.send([{type:"upgrade"}]),n.emit("upgrade",e),e=null,n.upgrading=!1,n.flush())})}else{Rt('probe transport "%s" failed',t);var f=new Error("probe error");f.transport=e.name,n.emit("upgradeError",f)}}))}function i(){r||(r=!0,d(),e.close(),e=null)}function o(c){var m=new Error("probe error: "+c);m.transport=e.name,i(),Rt('probe transport "%s" failed because of error: %s',t,c),n.emit("upgradeError",m)}function s(){o("transport closed")}function u(){o("socket closed")}function l(c){e&&c.name!==e.name&&(Rt('"%s" works - aborting "%s"',c.name,e.name),i())}function d(){e.removeListener("open",a),e.removeListener("error",o),e.removeListener("close",s),n.removeListener("close",u),n.removeListener("upgrading",l)}e.once("open",a),e.once("error",o),e.once("close",s),this.once("close",u),this.once("upgrading",l),e.open()},je.prototype.onOpen=function(){if(Rt("socket open"),this.readyState="open",je.priorWebsocketSuccess=this.transport.name==="websocket",this.emit("open"),this.flush(),this.readyState==="open"&&this.upgrade&&this.transport.pause){Rt("starting upgrade probes");for(var t=0,e=this.upgrades.length;t<e;t++)this.probe(this.upgrades[t])}},je.prototype.onPacket=function(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(Rt('socket receive: type "%s", data "%s"',t.type,t.data),this.emit("packet",t),this.emit("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var e=new Error("server error");e.code=t.data,this.onError(e);break;case"message":this.emit("data",t.data),this.emit("message",t.data);break}else Rt('packet received with socket readyState "%s"',this.readyState)},je.prototype.onHandshake=function(t){this.emit("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.onOpen(),this.readyState!=="closed"&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},je.prototype.onHeartbeat=function(t){clearTimeout(this.pingTimeoutTimer);var e=this;e.pingTimeoutTimer=setTimeout(function(){e.readyState!=="closed"&&e.onClose("ping timeout")},t||e.pingInterval+e.pingTimeout)},je.prototype.setPing=function(){var t=this;clearTimeout(t.pingIntervalTimer),t.pingIntervalTimer=setTimeout(function(){Rt("writing ping packet - expecting pong within %sms",t.pingTimeout),t.ping(),t.onHeartbeat(t.pingTimeout)},t.pingInterval)},je.prototype.ping=function(){var t=this;this.sendPacket("ping",function(){t.emit("ping")})},je.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emit("drain"):this.flush()},je.prototype.flush=function(){this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(Rt("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},je.prototype.write=je.prototype.send=function(t,e,r){return this.sendPacket("message",t,e,r),this},je.prototype.sendPacket=function(t,e,r,n){if(typeof e=="function"&&(n=e,e=void 0),typeof r=="function"&&(n=r,r=null),!(this.readyState==="closing"||this.readyState==="closed")){r=r||{},r.compress=r.compress!==!1;var a={type:t,data:e,options:r};this.emit("packetCreate",a),this.writeBuffer.push(a),n&&this.once("flush",n),this.flush()}},je.prototype.close=function(){if(this.readyState==="opening"||this.readyState==="open"){this.readyState="closing";var t=this;this.writeBuffer.length?this.once("drain",function(){this.upgrading?n():e()}):this.upgrading?n():e()}function e(){t.onClose("forced close"),Rt("socket closing - telling transport to close"),t.transport.close()}function r(){t.removeListener("upgrade",r),t.removeListener("upgradeError",r),e()}function n(){t.once("upgrade",r),t.once("upgradeError",r)}return this},je.prototype.onError=function(t){Rt("socket error %j",t),je.priorWebsocketSuccess=!1,this.emit("error",t),this.onClose("transport error",t)},je.prototype.onClose=function(t,e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){Rt('socket close with reason: "%s"',t);var r=this;clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",t,e),r.writeBuffer=[],r.prevBufferLen=0}},je.prototype.filterUpgrades=function(t){for(var e=[],r=0,n=t.length;r<n;r++)~nFe(this.transports,t[r])&&e.push(t[r]);return e},function(t){t.exports=iFe,t.exports.parser=fo}(mH);var sk={exports:{}},sFe=uFe;function uFe(t,e){var r=[];e=e||0;for(var n=e||0;n<t.length;n++)r[n-e]=t[n];return r}var NH=lFe;function lFe(t,e,r){return t.on(e,r),{destroy:function(){t.removeListener(e,r)}}}var LH=[].slice,WH=function(t,e){if(typeof e=="string"&&(e=t[e]),typeof e!="function")throw new Error("bind() requires a function");var r=LH.call(arguments,2);return function(){return e.apply(t,r.concat(LH.call(arguments)))}};(function(t,e){var r=Xm,n=co.exports,a=sFe,i=NH,o=WH,s=sn.exports("socket.io-client:socket"),u=Ys,l=hH;t.exports=m;var d={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},c=n.prototype.emit;function m(f,p,h){this.io=f,this.nsp=p,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},h&&h.query&&(this.query=h.query),this.io.autoConnect&&this.open()}n(m.prototype),m.prototype.subEvents=function(){if(!this.subs){var f=this.io;this.subs=[i(f,"open",o(this,"onopen")),i(f,"packet",o(this,"onpacket")),i(f,"close",o(this,"onclose"))]}},m.prototype.open=m.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.reconnecting||this.io.open(),this.io.readyState==="open"&&this.onopen(),this.emit("connecting"),this)},m.prototype.send=function(){var f=a(arguments);return f.unshift("message"),this.emit.apply(this,f),this},m.prototype.emit=function(f){if(d.hasOwnProperty(f))return c.apply(this,arguments),this;var p=a(arguments),h={type:(this.flags.binary!==void 0?this.flags.binary:l(p))?r.BINARY_EVENT:r.EVENT,data:p};return h.options={},h.options.compress=!this.flags||this.flags.compress!==!1,typeof p[p.length-1]=="function"&&(s("emitting packet with ack id %d",this.ids),this.acks[this.ids]=p.pop(),h.id=this.ids++),this.connected?this.packet(h):this.sendBuffer.push(h),this.flags={},this},m.prototype.packet=function(f){f.nsp=this.nsp,this.io.packet(f)},m.prototype.onopen=function(){if(s("transport is open - connecting"),this.nsp!=="/")if(this.query){var f=typeof this.query=="object"?u.encode(this.query):this.query;s("sending connect packet with query %s",f),this.packet({type:r.CONNECT,query:f})}else this.packet({type:r.CONNECT})},m.prototype.onclose=function(f){s("close (%s)",f),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",f)},m.prototype.onpacket=function(f){var p=f.nsp===this.nsp,h=f.type===r.ERROR&&f.nsp==="/";if(!(!p&&!h))switch(f.type){case r.CONNECT:this.onconnect();break;case r.EVENT:this.onevent(f);break;case r.BINARY_EVENT:this.onevent(f);break;case r.ACK:this.onack(f);break;case r.BINARY_ACK:this.onack(f);break;case r.DISCONNECT:this.ondisconnect();break;case r.ERROR:this.emit("error",f.data);break}},m.prototype.onevent=function(f){var p=f.data||[];s("emitting event %j",p),f.id!=null&&(s("attaching ack callback to event"),p.push(this.ack(f.id))),this.connected?c.apply(this,p):this.receiveBuffer.push(p)},m.prototype.ack=function(f){var p=this,h=!1;return function(){if(!h){h=!0;var v=a(arguments);s("sending ack %j",v),p.packet({type:l(v)?r.BINARY_ACK:r.ACK,id:f,data:v})}}},m.prototype.onack=function(f){var p=this.acks[f.id];typeof p=="function"?(s("calling ack %s with %j",f.id,f.data),p.apply(this,f.data),delete this.acks[f.id]):s("bad ack %s",f.id)},m.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emitBuffered(),this.emit("connect")},m.prototype.emitBuffered=function(){var f;for(f=0;f<this.receiveBuffer.length;f++)c.apply(this,this.receiveBuffer[f]);for(this.receiveBuffer=[],f=0;f<this.sendBuffer.length;f++)this.packet(this.sendBuffer[f]);this.sendBuffer=[]},m.prototype.ondisconnect=function(){s("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},m.prototype.destroy=function(){if(this.subs){for(var f=0;f<this.subs.length;f++)this.subs[f].destroy();this.subs=null}this.io.destroy(this)},m.prototype.close=m.prototype.disconnect=function(){return this.connected&&(s("performing disconnect (%s)",this.nsp),this.packet({type:r.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},m.prototype.compress=function(f){return this.flags.compress=f,this},m.prototype.binary=function(f){return this.flags.binary=f,this}})(sk);var dFe=Js;function Js(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}Js.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),r=Math.floor(e*this.jitter*t);t=(Math.floor(e*10)&1)==0?t-r:t+r}return Math.min(t,this.max)|0},Js.prototype.reset=function(){this.attempts=0},Js.prototype.setMin=function(t){this.ms=t},Js.prototype.setMax=function(t){this.max=t},Js.prototype.setJitter=function(t){this.jitter=t};var cFe=mH.exports,fFe=sk.exports,mFe=co.exports,pFe=Xm,oi=NH,Qs=WH,rr=sn.exports("socket.io-client:manager"),FH=AH,hFe=dFe,jH=Object.prototype.hasOwnProperty,VH=Ye;function Ye(t,e){if(!(this instanceof Ye))return new Ye(t,e);t&&typeof t=="object"&&(e=t,t=void 0),e=e||{},e.path=e.path||"/socket.io",this.nsps={},this.subs=[],this.opts=e,this.reconnection(e.reconnection!==!1),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(e.randomizationFactor||.5),this.backoff=new hFe({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(e.timeout==null?2e4:e.timeout),this.readyState="closed",this.uri=t,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var r=e.parser||pFe;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this.autoConnect=e.autoConnect!==!1,this.autoConnect&&this.open()}Ye.prototype.emitAll=function(){this.emit.apply(this,arguments);for(var t in this.nsps)jH.call(this.nsps,t)&&this.nsps[t].emit.apply(this.nsps[t],arguments)},Ye.prototype.updateSocketIds=function(){for(var t in this.nsps)jH.call(this.nsps,t)&&(this.nsps[t].id=this.generateId(t))},Ye.prototype.generateId=function(t){return(t==="/"?"":t+"#")+this.engine.id},mFe(Ye.prototype),Ye.prototype.reconnection=function(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection},Ye.prototype.reconnectionAttempts=function(t){return arguments.length?(this._reconnectionAttempts=t,this):this._reconnectionAttempts},Ye.prototype.reconnectionDelay=function(t){return arguments.length?(this._reconnectionDelay=t,this.backoff&&this.backoff.setMin(t),this):this._reconnectionDelay},Ye.prototype.randomizationFactor=function(t){return arguments.length?(this._randomizationFactor=t,this.backoff&&this.backoff.setJitter(t),this):this._randomizationFactor},Ye.prototype.reconnectionDelayMax=function(t){return arguments.length?(this._reconnectionDelayMax=t,this.backoff&&this.backoff.setMax(t),this):this._reconnectionDelayMax},Ye.prototype.timeout=function(t){return arguments.length?(this._timeout=t,this):this._timeout},Ye.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()},Ye.prototype.open=Ye.prototype.connect=function(t,e){if(rr("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;rr("opening %s",this.uri),this.engine=cFe(this.uri,this.opts);var r=this.engine,n=this;this.readyState="opening",this.skipReconnect=!1;var a=oi(r,"open",function(){n.onopen(),t&&t()}),i=oi(r,"error",function(u){if(rr("connect_error"),n.cleanup(),n.readyState="closed",n.emitAll("connect_error",u),t){var l=new Error("Connection error");l.data=u,t(l)}else n.maybeReconnectOnOpen()});if(this._timeout!==!1){var o=this._timeout;rr("connect attempt will timeout after %d",o),o===0&&a.destroy();var s=setTimeout(function(){rr("connect attempt timed out after %d",o),a.destroy(),r.close(),r.emit("error","timeout"),n.emitAll("connect_timeout",o)},o);this.subs.push({destroy:function(){clearTimeout(s)}})}return this.subs.push(a),this.subs.push(i),this},Ye.prototype.onopen=function(){rr("open"),this.cleanup(),this.readyState="open",this.emit("open");var t=this.engine;this.subs.push(oi(t,"data",Qs(this,"ondata"))),this.subs.push(oi(t,"ping",Qs(this,"onping"))),this.subs.push(oi(t,"pong",Qs(this,"onpong"))),this.subs.push(oi(t,"error",Qs(this,"onerror"))),this.subs.push(oi(t,"close",Qs(this,"onclose"))),this.subs.push(oi(this.decoder,"decoded",Qs(this,"ondecoded")))},Ye.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},Ye.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},Ye.prototype.ondata=function(t){this.decoder.add(t)},Ye.prototype.ondecoded=function(t){this.emit("packet",t)},Ye.prototype.onerror=function(t){rr("error",t),this.emitAll("error",t)},Ye.prototype.socket=function(t,e){var r=this.nsps[t];if(!r){r=new fFe(this,t,e),this.nsps[t]=r;var n=this;r.on("connecting",a),r.on("connect",function(){r.id=n.generateId(t)}),this.autoConnect&&a()}function a(){~FH(n.connecting,r)||n.connecting.push(r)}return r},Ye.prototype.destroy=function(t){var e=FH(this.connecting,t);~e&&this.connecting.splice(e,1),!this.connecting.length&&this.close()},Ye.prototype.packet=function(t){rr("writing packet %j",t);var e=this;t.query&&t.type===0&&(t.nsp+="?"+t.query),e.encoding?e.packetBuffer.push(t):(e.encoding=!0,this.encoder.encode(t,function(r){for(var n=0;n<r.length;n++)e.engine.write(r[n],t.options);e.encoding=!1,e.processPacketQueue()}))},Ye.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},Ye.prototype.cleanup=function(){rr("cleanup");for(var t=this.subs.length,e=0;e<t;e++){var r=this.subs.shift();r.destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},Ye.prototype.close=Ye.prototype.disconnect=function(){rr("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,this.readyState==="opening"&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},Ye.prototype.onclose=function(t){rr("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",t),this._reconnection&&!this.skipReconnect&&this.reconnect()},Ye.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)rr("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();rr("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var r=setTimeout(function(){t.skipReconnect||(rr("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),!t.skipReconnect&&t.open(function(n){n?(rr("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",n.data)):(rr("reconnect success"),t.onreconnect())}))},e);this.subs.push({destroy:function(){clearTimeout(r)}})}},Ye.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)},function(t,e){var r=tWe,n=Xm,a=VH,i=sn.exports("socket.io-client");t.exports=e=s;var o=e.managers={};function s(u,l){typeof u=="object"&&(l=u,u=void 0),l=l||{};var d=r(u),c=d.source,m=d.id,f=d.path,p=o[m]&&f in o[m].nsps,h=l.forceNew||l["force new connection"]||l.multiplex===!1||p,v;return h?(i("ignoring socket cache for %s",c),v=a(c,l)):(o[m]||(i("new io instance for %s",c),o[m]=a(c,l)),v=o[m]),d.query&&!l.query&&(l.query=d.query),v.socket(d.path,l)}e.protocol=n.protocol,e.connect=s,e.Manager=VH,e.Socket=sk.exports}(VP,VP.exports);const vFe=VP.exports;class gFe{constructor({rootUrl:e,path:r,logger:n=console,getTokenFn:a}){St(this,"_socket",null);St(this,"_isConnected",!1);St(this,"_autoReconnect",!1);St(this,"_localAutoReconnect",!1);St(this,"_listeners",[]);St(this,"_connectionChangedListener",[]);St(this,"_retryCount",0);this.rootUrl=e,this.path=r,this.logger=n,this.getTokenFn=a}set autoReconnect(e){this._autoReconnect=!!e}onConnectionChanged(e){this._connectionChangedListener.push(e)}_onConnectionChanged(e){this._connectionChangedListener.forEach(r=>{try{r(e)}catch(n){console.error(n)}})}setConnected(e){e||(this._retryCount=this._retryCount+1),this.logger.debug(`Socket: isConnected changed to ${e}`);const r=this._isConnected!==e;this._isConnected=e,r&&this._onConnectionChanged(e)}_onConnected(){const e=this.getTokenFn();e&&this._socket.emit("authenticate",{token:e})}on(e,r){this._listeners.push({type:e,fn:r}),this._socket&&this._socket.on(e,r)}async connect(){await(r=>new Promise(n=>setTimeout(n,r*2*1e3)))(this._retryCount),this._socket&&(this._localAutoReconnect=!1,this.disconnect(),this._localAutoReconnect=!0),this._socket=vFe(this.rootUrl,{path:this.path}),this._socket.on("connect",this._onConnected.bind(this)),this._socket.on("event",r=>this.logger.debug("Socket: Event:",r)),this._listeners.forEach(({type:r,fn:n})=>{this._socket.on(r,n)}),this._socket.on("disconnect",()=>{this.setConnected(!1),this._localAutoReconnect&&this._autoReconnect&&this.connect()}),this._socket.on("authenticated",()=>{this._retryCount=0,this.setConnected(!0)}),this._socket.on("unauthorized",()=>{this.setConnected(!1)})}disconnect(){this._socket&&(this._socket.close(),this._socket=null)}}const id=new gFe({rootUrl:ge.api.socket.rootUrl,path:ge.api.socket.path,logger:yt,getTokenFn:()=>Le.getItem("token")}),yFe=t=>{id.onConnectionChanged(e=>{t.commit(`application/${Me.application.SET_SOCKET_CONNECTED}`,e)}),id.on("event",({type:e,action:r,id:n})=>{e==="document"?t.getters["documents2/byId"](n)&&setTimeout(()=>{r==="deleted"?t.commit(`documents2/${Me.documents2.DELETE_MANY_DOCUMENTS2}`,n):t.dispatch(ke.LOAD_DOCUMENT2,{id:n})},1):e==="template"?t.getters["templates/byId"](n)&&setTimeout(()=>{r==="deleted"?t.commit(`templates/${Me.templates.DELETE_MANY_TEMPLATES}`,n):t.dispatch(ke.LOAD_TEMPLATE,{id:n})},1):e==="notification"?setTimeout(()=>{r==="deleted"?t.commit(`notifications/${Me.notifications.DELETE_MANY_NOTIFICATIONS}`,n):t.dispatch(ke.LOAD_NOTIFICATION,{id:n})},1):e==="project"?t.getters["projects/byId"](n)&&setTimeout(()=>{r==="deleted"?t.commit(`projects/${Me.projects.DELETE_MANY_PROJECTS}`,n):t.dispatch(ke.LOAD_PROJECT,{id:n})},1):e==="companyUser"?t.getters["companyUsers/byId"](n)&&setTimeout(()=>{r==="deleted"?t.commit(`companyUsers/${Me.DELETE_COMPANY_USER}`,n):t.dispatch(ke.LOAD_COMPANY_USER,{id:n})},1):e==="companyAccount"?setTimeout(()=>{t.dispatch(ke.DO_LOAD_CURRENT_COMPANY)},1):e==="companySetting"?setTimeout(()=>{r==="deleted"?t.commit(`settings/${Me.settings.CLEAR_SETTINGS}`,{key:"company",name:n}):t.dispatch(ke.LOAD_SETTINGS_COMPANY)},1):e==="companyUserSetting"?setTimeout(()=>{r==="deleted"?t.commit(`settings/${Me.settings.CLEAR_SETTINGS}`,{key:"companyUser",name:n}):t.dispatch(ke.LOAD_SETTINGS_COMPANYUSER)},1):e==="systemClient"&&r==="refreshToken"&&setTimeout(()=>{uTe()},1)}),t.subscribe(async e=>{const{type:r,payload:n}=e;r==="application/SET_USER"&&n&&typeof n.userId<"u"&&(id.autoReconnect=!!n.userId,n.userId?await id.connect():n.userId===null&&await id.disconnect())})},UH={projectFiles:"projects",certificates:"certificates",companies:"companies",companyUsers:"companyUsers",projects:"projects",invoices:"invoices",companyReferences:"companyReferences",companyReferenceItems:"companyReferenceItems",files:"files",documents:"documents",timeTracks:"timeTracks",documentTerms:"documentTerms"},zH={projects:Me.SET_PROJECTS,invoices:Me.invoices.SET_INVOICES,offers:Me.SET_OFFERS,companyUsers:Me.SET_COMPANY_USERS,companies:Me.companies.SET_COMPANIES,events:Me.SET_EVENTS,atas:Me.SET_ATAS,contracts:Me.SET_CONTRACTS,projectNotes:Me.SET_PROJECT_NOTES,projectFiles:Me.SET_PROJECT_FILES,articles:Me.SET_ARTICLES,certificates:Me.certificates.SET_CERTIFICATES,companyReferenceItems:Me.companyReferenceItems.SET_COMPANY_REFERENCE_ITEMS,companyReferences:Me.companyReferences.SET_COMPANY_REFERENCES,files:Me.files.UPDATE_MANY_FILES,notifications:Me.SET_NOTIFICATIONS,templateMessages:Me.SET_TEMPLATE_MESSAGES,timeTracks:Me.timeTracks.SET_TIME_TRACKS,documentTerms:Me.documentTerms.SET_DOCUMENT_TERMS},_Fe={[Ki](t,e){const r={includedModules:void 0,excludedModules:void 0,schema:void 0,data:void 0,moduleOpts:{},...e};if(!r.schema||!r.data)throw Error("Unable to normalize data, missing schema or data");const n=Array.isArray(r.data)?r.data:[r.data];let a;typeof r.schema=="string"?{entities:a}=UMe(n,r.schema):(console.warn(`Calling normalize with old schema for ${r.schema.schema.key}`),{entities:a}=QU(n,r.schema));let i=Object.keys(a);i=i.filter(o=>(!r.includedModules||r.includedModules.includes(o))&&(!r.excludedModules||!r.excludedModules.includes(o))),i.forEach(o=>{if(!zH[o]){yt.warn(`setActions: '${o}', does not exist`);return}if(!UH[o]){yt.warn(`moduleKeys: '${o}', does not exist`);return}const s={doClearOld:!1,...r.moduleOpts[o]||{}};this.commit(`${UH[o]}/${zH[o]}`,{data:Object.keys(a[o]).map(u=>a[o][u]),...s})})}};ie.use(i3);const BH=[M0e({whitelist:["entities"]}),yFe];try{const t=Uhe({paths:["forms"]});BH.push(t)}catch(t){yt.debug(t)}const It=new i3.Store({modules:{application:uMe,companies:KMe,companyUsers:lSe,documents2:ALe,endCustomers:BLe,forms:UAe,files:tRe,projects:oLe,settings:MSe,templates:hLe},actions:_Fe,mutations:{reset:()=>{}},plugins:BH});It.handleError=(t,e)=>{console.log("errorHandler: ",e==null?void 0:e.action,t)};function bFe(){In.init({store:It}),Xi.init({store:It}),zhe(It,vs),It.$router=vs}bFe();var wFe=kW,xFe=TW;function PFe(t,e){e=wFe(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[xFe(e[r++])];return r&&r==n?t:void 0}var kFe=PFe,TFe=kFe;function EFe(t,e,r){var n=t==null?void 0:TFe(t,e);return n===void 0?r:n}var MFe=EFe;class SFe{static instance(){return new this}static new(...e){return this.instance().new(...e)}static get(e){return this.instance().get(e)}static on(...e){return this.instance().on(...e)}static find(e){return this.instance().find(e)}}class OFe extends SFe{constructor(){if(super(),this.storeMap===void 0)throw new Error("You must declare store action/getter map")}_applyInstance(e,r,n=this.constructor){return new n(e,r)}_hasId(){return!!this.getPrimaryKey()}new(...e){if(this.storeMap.new===void 0)throw new Error("No provided NEW action");return It.dispatch(this.storeMap.new,...e)}get(e){if(this.storeMap.get===void 0)throw new Error("No provided NEW action");if(this.storeMap.byId===void 0)throw new Error("No provided byId getter");return It.dispatch(this.storeMap.get,{id:e}).then(()=>{const r=It.getters[this.storeMap.byId](e);return this._applyInstance(r)})}_create(e){if(this.storeMap.create===void 0)throw new Error("No provided CREATE action");return It.dispatch(this.storeMap.create,{body:e})}_update(...e){if(this.storeMap.update===void 0)throw new Error("No provided UPDATE action");return It.dispatch(this.storeMap.update,...e)}remove(e){if(this.storeMap.remove===void 0)throw new Error("No provided REMOVE action");return It.dispatch(this.storeMap.remove,{id:e})}on(e,r){return uo.on(e,r)}}var HH={exports:{}},uk={exports:{}},qH=function(e,r){return function(){for(var a=new Array(arguments.length),i=0;i<a.length;i++)a[i]=arguments[i];return e.apply(r,a)}},CFe=qH,mo=Object.prototype.toString;function lk(t){return mo.call(t)==="[object Array]"}function dk(t){return typeof t>"u"}function DFe(t){return t!==null&&!dk(t)&&t.constructor!==null&&!dk(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function $Fe(t){return mo.call(t)==="[object ArrayBuffer]"}function AFe(t){return typeof FormData<"u"&&t instanceof FormData}function RFe(t){var e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function IFe(t){return typeof t=="string"}function NFe(t){return typeof t=="number"}function YH(t){return t!==null&&typeof t=="object"}function sp(t){if(mo.call(t)!=="[object Object]")return!1;var e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}function LFe(t){return mo.call(t)==="[object Date]"}function WFe(t){return mo.call(t)==="[object File]"}function FFe(t){return mo.call(t)==="[object Blob]"}function GH(t){return mo.call(t)==="[object Function]"}function jFe(t){return YH(t)&&GH(t.pipe)}function VFe(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function UFe(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function zFe(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function ck(t,e){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),lk(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.call(null,t[a],a,t)}function fk(){var t={};function e(a,i){sp(t[i])&&sp(a)?t[i]=fk(t[i],a):sp(a)?t[i]=fk({},a):lk(a)?t[i]=a.slice():t[i]=a}for(var r=0,n=arguments.length;r<n;r++)ck(arguments[r],e);return t}function BFe(t,e,r){return ck(e,function(a,i){r&&typeof a=="function"?t[i]=CFe(a,r):t[i]=a}),t}function HFe(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var Ir={isArray:lk,isArrayBuffer:$Fe,isBuffer:DFe,isFormData:AFe,isArrayBufferView:RFe,isString:IFe,isNumber:NFe,isObject:YH,isPlainObject:sp,isUndefined:dk,isDate:LFe,isFile:WFe,isBlob:FFe,isFunction:GH,isStream:jFe,isURLSearchParams:VFe,isStandardBrowserEnv:zFe,forEach:ck,merge:fk,extend:BFe,trim:UFe,stripBOM:HFe},Zs=Ir;function KH(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var XH=function(e,r,n){if(!r)return e;var a;if(n)a=n(r);else if(Zs.isURLSearchParams(r))a=r.toString();else{var i=[];Zs.forEach(r,function(u,l){u===null||typeof u>"u"||(Zs.isArray(u)?l=l+"[]":u=[u],Zs.forEach(u,function(c){Zs.isDate(c)?c=c.toISOString():Zs.isObject(c)&&(c=JSON.stringify(c)),i.push(KH(l)+"="+KH(c))}))}),a=i.join("&")}if(a){var o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e},qFe=Ir;function up(){this.handlers=[]}up.prototype.use=function(e,r){return this.handlers.push({fulfilled:e,rejected:r}),this.handlers.length-1},up.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},up.prototype.forEach=function(e){qFe.forEach(this.handlers,function(n){n!==null&&e(n)})};var YFe=up,GFe=Ir,KFe=function(e,r,n){return GFe.forEach(n,function(i){e=i(e,r)}),e},mk,JH;function QH(){return JH||(JH=1,mk=function(e){return!!(e&&e.__CANCEL__)}),mk}var XFe=Ir,JFe=function(e,r){XFe.forEach(e,function(a,i){i!==r&&i.toUpperCase()===r.toUpperCase()&&(e[r]=a,delete e[i])})},pk,ZH;function QFe(){return ZH||(ZH=1,pk=function(e,r,n,a,i){return e.config=r,n&&(e.code=n),e.request=a,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}),pk}var hk,eq;function tq(){if(eq)return hk;eq=1;var t=QFe();return hk=function(r,n,a,i,o){var s=new Error(r);return t(s,n,a,i,o)},hk}var vk,rq;function ZFe(){if(rq)return vk;rq=1;var t=tq();return vk=function(r,n,a){var i=a.config.validateStatus;!a.status||!i||i(a.status)?r(a):n(t("Request failed with status code "+a.status,a.config,null,a.request,a))},vk}var gk,nq;function eje(){if(nq)return gk;nq=1;var t=Ir;return gk=t.isStandardBrowserEnv()?function(){return{write:function(n,a,i,o,s,u){var l=[];l.push(n+"="+encodeURIComponent(a)),t.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),t.isString(o)&&l.push("path="+o),t.isString(s)&&l.push("domain="+s),u===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){var a=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),gk}var yk,aq;function tje(){return aq||(aq=1,yk=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}),yk}var _k,iq;function rje(){return iq||(iq=1,_k=function(e,r){return r?e.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):e}),_k}var bk,oq;function nje(){if(oq)return bk;oq=1;var t=tje(),e=rje();return bk=function(n,a){return n&&!t(a)?e(n,a):a},bk}var wk,sq;function aje(){if(sq)return wk;sq=1;var t=Ir,e=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return wk=function(n){var a={},i,o,s;return n&&t.forEach(n.split(`
545
- `),function(l){if(s=l.indexOf(":"),i=t.trim(l.substr(0,s)).toLowerCase(),o=t.trim(l.substr(s+1)),i){if(a[i]&&e.indexOf(i)>=0)return;i==="set-cookie"?a[i]=(a[i]?a[i]:[]).concat([o]):a[i]=a[i]?a[i]+", "+o:o}}),a},wk}var xk,uq;function ije(){if(uq)return xk;uq=1;var t=Ir;return xk=t.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),a;function i(o){var s=o;return r&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=i(window.location.href),function(s){var u=t.isString(s)?i(s):s;return u.protocol===a.protocol&&u.host===a.host}}():function(){return function(){return!0}}(),xk}var Pk,lq;function dq(){if(lq)return Pk;lq=1;var t=Ir,e=ZFe(),r=eje(),n=XH,a=nje(),i=aje(),o=ije(),s=tq();return Pk=function(l){return new Promise(function(c,m){var f=l.data,p=l.headers;t.isFormData(f)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(l.auth){var v=l.auth.username||"",y=l.auth.password?unescape(encodeURIComponent(l.auth.password)):"";p.Authorization="Basic "+btoa(v+":"+y)}var b=a(l.baseURL,l.url);if(h.open(l.method.toUpperCase(),n(b,l.params,l.paramsSerializer),!0),h.timeout=l.timeout,h.onreadystatechange=function(){if(!(!h||h.readyState!==4)&&!(h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0))){var w="getAllResponseHeaders"in h?i(h.getAllResponseHeaders()):null,x=!l.responseType||l.responseType==="text"?h.responseText:h.response,k={data:x,status:h.status,statusText:h.statusText,headers:w,config:l,request:h};e(c,m,k),h=null}},h.onabort=function(){!h||(m(s("Request aborted",l,"ECONNABORTED",h)),h=null)},h.onerror=function(){m(s("Network Error",l,null,h)),h=null},h.ontimeout=function(){var w="timeout of "+l.timeout+"ms exceeded";l.timeoutErrorMessage&&(w=l.timeoutErrorMessage),m(s(w,l,"ECONNABORTED",h)),h=null},t.isStandardBrowserEnv()){var g=(l.withCredentials||o(b))&&l.xsrfCookieName?r.read(l.xsrfCookieName):void 0;g&&(p[l.xsrfHeaderName]=g)}if("setRequestHeader"in h&&t.forEach(p,function(w,x){typeof f>"u"&&x.toLowerCase()==="content-type"?delete p[x]:h.setRequestHeader(x,w)}),t.isUndefined(l.withCredentials)||(h.withCredentials=!!l.withCredentials),l.responseType)try{h.responseType=l.responseType}catch(_){if(l.responseType!=="json")throw _}typeof l.onDownloadProgress=="function"&&h.addEventListener("progress",l.onDownloadProgress),typeof l.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",l.onUploadProgress),l.cancelToken&&l.cancelToken.promise.then(function(w){!h||(h.abort(),m(w),h=null)}),f||(f=null),h.send(f)})},Pk}var vr=Ir,cq=JFe,oje={"Content-Type":"application/x-www-form-urlencoded"};function fq(t,e){!vr.isUndefined(t)&&vr.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function sje(){var t;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(t=dq()),t}var lp={adapter:sje(),transformRequest:[function(e,r){return cq(r,"Accept"),cq(r,"Content-Type"),vr.isFormData(e)||vr.isArrayBuffer(e)||vr.isBuffer(e)||vr.isStream(e)||vr.isFile(e)||vr.isBlob(e)?e:vr.isArrayBufferView(e)?e.buffer:vr.isURLSearchParams(e)?(fq(r,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):vr.isObject(e)?(fq(r,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if(typeof e=="string")try{e=JSON.parse(e)}catch{}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};lp.headers={common:{Accept:"application/json, text/plain, */*"}},vr.forEach(["delete","get","head"],function(e){lp.headers[e]={}}),vr.forEach(["post","put","patch"],function(e){lp.headers[e]=vr.merge(oje)});var mq=lp,pq=Ir,kk=KFe,uje=QH(),lje=mq;function Tk(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var dje=function(e){Tk(e),e.headers=e.headers||{},e.data=kk(e.data,e.headers,e.transformRequest),e.headers=pq.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),pq.forEach(["delete","get","head","post","put","patch","common"],function(a){delete e.headers[a]});var r=e.adapter||lje.adapter;return r(e).then(function(a){return Tk(e),a.data=kk(a.data,a.headers,e.transformResponse),a},function(a){return uje(a)||(Tk(e),a&&a.response&&(a.response.data=kk(a.response.data,a.response.headers,e.transformResponse))),Promise.reject(a)})},nr=Ir,hq=function(e,r){r=r||{};var n={},a=["url","method","data"],i=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function u(m,f){return nr.isPlainObject(m)&&nr.isPlainObject(f)?nr.merge(m,f):nr.isPlainObject(f)?nr.merge({},f):nr.isArray(f)?f.slice():f}function l(m){nr.isUndefined(r[m])?nr.isUndefined(e[m])||(n[m]=u(void 0,e[m])):n[m]=u(e[m],r[m])}nr.forEach(a,function(f){nr.isUndefined(r[f])||(n[f]=u(void 0,r[f]))}),nr.forEach(i,l),nr.forEach(o,function(f){nr.isUndefined(r[f])?nr.isUndefined(e[f])||(n[f]=u(void 0,e[f])):n[f]=u(void 0,r[f])}),nr.forEach(s,function(f){f in r?n[f]=u(e[f],r[f]):f in e&&(n[f]=u(void 0,e[f]))});var d=a.concat(i).concat(o).concat(s),c=Object.keys(e).concat(Object.keys(r)).filter(function(f){return d.indexOf(f)===-1});return nr.forEach(c,l),n},vq=Ir,cje=XH,gq=YFe,fje=dje,dp=hq;function od(t){this.defaults=t,this.interceptors={request:new gq,response:new gq}}od.prototype.request=function(e){typeof e=="string"?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=dp(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=[fje,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(i){r.unshift(i.fulfilled,i.rejected)}),this.interceptors.response.forEach(function(i){r.push(i.fulfilled,i.rejected)});r.length;)n=n.then(r.shift(),r.shift());return n},od.prototype.getUri=function(e){return e=dp(this.defaults,e),cje(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},vq.forEach(["delete","get","head","options"],function(e){od.prototype[e]=function(r,n){return this.request(dp(n||{},{method:e,url:r,data:(n||{}).data}))}}),vq.forEach(["post","put","patch"],function(e){od.prototype[e]=function(r,n,a){return this.request(dp(a||{},{method:e,url:r,data:n}))}});var mje=od,Ek,yq;function _q(){if(yq)return Ek;yq=1;function t(e){this.message=e}return t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,Ek=t,Ek}var Mk,bq;function pje(){if(bq)return Mk;bq=1;var t=_q();function e(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(o){n=o});var a=this;r(function(o){a.reason||(a.reason=new t(o),n(a.reason))})}return e.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},e.source=function(){var n,a=new e(function(o){n=o});return{token:a,cancel:n}},Mk=e,Mk}var Sk,wq;function hje(){return wq||(wq=1,Sk=function(e){return function(n){return e.apply(null,n)}}),Sk}var Ok,xq;function vje(){return xq||(xq=1,Ok=function(e){return typeof e=="object"&&e.isAxiosError===!0}),Ok}var Pq=Ir,gje=qH,cp=mje,yje=hq,_je=mq;function kq(t){var e=new cp(t),r=gje(cp.prototype.request,e);return Pq.extend(r,cp.prototype,e),Pq.extend(r,e),r}var ln=kq(_je);ln.Axios=cp,ln.create=function(e){return kq(yje(ln.defaults,e))},ln.Cancel=_q(),ln.CancelToken=pje(),ln.isCancel=QH(),ln.all=function(e){return Promise.all(e)},ln.spread=hje(),ln.isAxiosError=vje(),uk.exports=ln,uk.exports.default=ln,function(t){t.exports=uk.exports}(HH);const bje=Z(HH.exports),wje=t=>/^(http|https)/.test(t);class xje{constructor(e){this._documentJSON=e}async pdf(e){try{let r;if(typeof e=="string"&&wje(e)){const{data:o}=await bje.get(e,{responseType:"blob"});r=new File([o],"copied-file.pdf",{type:o.type})}if(!(r instanceof File)){console.log("not file instance found");return}const n=new FormData;n.append("file",r,r.name||"filename");const{data:a}=await ut("/file",n,{timeout:6e4}),i={fileId:a.id,name:a.displayName,url:a.url,mime:a.mime};return this._documentJSON=RSe(this._documentJSON,i),this._documentJSON}catch(r){console.error(r)}}answer(){this._documentJSON=ISe(this._documentJSON)}}const{LOAD_DOCUMENT2_FORM:Pje,SAVE_DYNDOC_FORM:Tq,LOAD_DOCUMENT2:kje,LOAD_DOCUMENTS2:Tje,UPDATE_DOCUMENT2:Eje,DO_CREATE_DOCUMENT2:Mje,DO_SEND_DOCUMENT2:Sje,DELETE_DOCUMENT2:Oje}=ke;class Cje extends OFe{constructor(r,{isForm:n}={}){super(r);St(this,"ui",{send:{open:()=>{if(!this._isForm)throw new Error("Doc needs to be initiated in the form: editableDoc = doc.toForm()");si.go("DocFormSend"),si.open=!0},close:()=>si.open=!1},timeline:{},sendReminder:{open:()=>{si.go("DocSendReminder",{document:this._document}),si.open=!0},close:()=>si.open=!1}});r&&(this._isForm=n||!1,this._document=r,this._builder=new xje(this._document._doc))}get storeMap(){return{new:Pje,save:Tq,get:kje,find:Tje,update:Eje,create:Mje,remove:Oje,byId:"documents2/byId"}}get isUserLoaded(){return It.getters["application/isUserLoaded"]}get hasToken(){return!!Le.getItem("token")}checkAuth(){if(!this.hasToken)throw new Error("No authorization token set");if(!this.isUserLoaded)throw new Error("User not loaded");return!0}getProperty(r){if(!!this._document)return MFe(this._document._doc,r)}setProperty(r,n){if(!!this._document){if(!this._isForm)throw new Error("Doc needs to be initiated in the form: editableDoc = doc.toForm()");return MW(this._document._doc,r,n)}}addReference({service:r,type:n,typeId:a}={}){if(!r)throw new Error("Missing or empty param service");if(!n)throw new Error("Missing or empty param type");if(!a)throw new Error("Missing or empty param typeId");if(!this._document)throw new Error("You must provide a document instance");const i=this.getProperty("externalReferences")||[];this.setProperty("externalReferences",[...i,{service:r,type:n,typeId:a}])}removeReference({service:r,type:n,typeId:a}={}){if(!r)throw new Error("Missing or empty param service");if(!n)throw new Error("Missing or empty param type");if(!a)throw new Error("Missing or empty param typeId");if(!this._document)throw new Error("You must provide a document instance");const i=this.getProperty("externalReferences")||[];this.setProperty("externalReferences",i.filter(o=>!(o.service===r&&o.type===n&&o.typeId===a)))}new(r){return this.checkAuth(),super.new({templateId:"empty",...r}).then(()=>{const n=It.getters["forms/document"],a=new zs({data:n,can:It.getters["application/can"],getters:It.getters});return this._applyInstance(a,{isForm:!0})})}get(r){return this.checkAuth(),super.get(r)}find(r={}){return this.checkAuth(),Cr.getAll({isHidden:!1,returnType:"template",...r}).then(n=>{var a;return(((a=n==null?void 0:n.data)==null?void 0:a.items)||[]).map(i=>It.getters["documents2/byData"]({data:i})).map(i=>this._applyInstance(i))})}save(){if(this.checkAuth(),!this._document)throw new Error("You must provide a document instance");if(It.getters["forms/document"])return It.dispatch(Tq,{doRedirect:!1,doSend:!1});const r=this._document._doc;return r._id?this._update({id:r._id,body:r}):this._create(r)}on(r,n){if(!["create","update","save","remove","send"].includes(r))throw new Error(`Event ${r} not supported`);return super.on(`document:${r}`,(i,...o)=>{const s=this.getProperty("id")===i.id,u=i.__tempId?this.getProperty("__tempId")===i.__tempId:!1;(s||u)&&n(i,...o)})}useTemplate(r){return this.new({templateId:r})}async send(){if(this.checkAuth(),!this._document)throw new Error("You must provide a document instance");if(!this._document._id)throw new Error("You must provide an existing document");const r=this._document._id;return await It.dispatch(Sje,{id:r}),r}addBlock(){if(!this._builder)throw new Error("You must provide a document instance");return this._builder}toForm(){var n;const r=(n=this._document)==null?void 0:n._doc;if(!r)throw new Error("Missing provided document data");return this.new({formData:r})}}const Dje={document:Cje},si=ie.observable({open:!1,go(t,e={}){return vs.push({name:t,params:e})}});/*!
544
+ `),this.area.value=t.replace(jWe,"\\n");try{this.form.submit()}catch{}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){r.iframe.readyState==="complete"&&s()}:this.iframe.onload=s};var ik=ek(),zWe=fo,BWe=Ys,HWe=np,qWe=TH,YWe=sn.exports("engine.io-client:websocket"),op,ok;if(typeof WebSocket<"u"?op=WebSocket:typeof self<"u"&&(op=self.WebSocket||self.MozWebSocket),typeof window>"u")try{ok=WV}catch{}var Xs=op||ok,GWe=Hr;function Hr(t){var e=t&&t.forceBase64;e&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=op&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(Xs=ok),ik.call(this,t)}HWe(Hr,ik),Hr.prototype.name="websocket",Hr.prototype.supportsBinary=!0,Hr.prototype.doOpen=function(){if(!!this.check()){var t=this.uri(),e=this.protocols,r={};this.isReactNative||(r.agent=this.agent,r.perMessageDeflate=this.perMessageDeflate,r.pfx=this.pfx,r.key=this.key,r.passphrase=this.passphrase,r.cert=this.cert,r.ca=this.ca,r.ciphers=this.ciphers,r.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(r.headers=this.extraHeaders),this.localAddress&&(r.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?e?new Xs(t,e):new Xs(t):new Xs(t,e,r)}catch(n){return this.emit("error",n)}this.ws.binaryType===void 0&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},Hr.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},Hr.prototype.write=function(t){var e=this;this.writable=!1;for(var r=t.length,n=0,a=r;n<a;n++)(function(o){zWe.encodePacket(o,e.supportsBinary,function(s){if(!e.usingBrowserWebSocket){var u={};if(o.options&&(u.compress=o.options.compress),e.perMessageDeflate){var l=typeof s=="string"?Buffer.byteLength(s):s.length;l<e.perMessageDeflate.threshold&&(u.compress=!1)}}try{e.usingBrowserWebSocket?e.ws.send(s):e.ws.send(s,u)}catch{YWe("websocket closed before onclose event")}--r||i()})})(t[n]);function i(){e.emit("flush"),setTimeout(function(){e.writable=!0,e.emit("drain")},0)}},Hr.prototype.onClose=function(){ik.prototype.onClose.call(this)},Hr.prototype.doClose=function(){typeof this.ws<"u"&&this.ws.close()},Hr.prototype.uri=function(){var t=this.query||{},e=this.secure?"wss":"ws",r="";this.port&&(e==="wss"&&Number(this.port)!==443||e==="ws"&&Number(this.port)!==80)&&(r=":"+this.port),this.timestampRequests&&(t[this.timestampParam]=qWe()),this.supportsBinary||(t.b64=1),t=BWe.encode(t),t.length&&(t="?"+t);var n=this.hostname.indexOf(":")!==-1;return e+"://"+(n?"["+this.hostname+"]":this.hostname)+r+this.path+t},Hr.prototype.check=function(){return!!Xs&&!("__initialize"in Xs&&this.name===Hr.prototype.name)};var KWe=KP,XWe=XP.exports,JWe=FWe,QWe=GWe;Qm.polling=ZWe,Qm.websocket=QWe;function ZWe(t){var e,r=!1,n=!1,a=t.jsonp!==!1;if(typeof location<"u"){var i=location.protocol==="https:",o=location.port;o||(o=i?443:80),r=t.hostname!==location.hostname||o!==t.port,n=t.secure!==i}if(t.xdomain=r,t.xscheme=n,e=new KWe(t),"open"in e&&!t.forceJSONP)return new XWe(t);if(!a)throw new Error("JSONP disabled");return new JWe(t)}var eFe=[].indexOf,AH=function(t,e){if(eFe)return t.indexOf(e);for(var r=0;r<t.length;++r)if(t[r]===e)return r;return-1},tFe=Qm,rFe=co.exports,Rt=sn.exports("engine.io-client:socket"),nFe=AH,RH=fo,IH=uH,aFe=Ys,iFe=je;function je(t,e){if(!(this instanceof je))return new je(t,e);e=e||{},t&&typeof t=="object"&&(e=t,t=null),t?(t=IH(t),e.hostname=t.host,e.secure=t.protocol==="https"||t.protocol==="wss",e.port=t.port,t.query&&(e.query=t.query)):e.host&&(e.hostname=IH(e.host).host),this.secure=e.secure!=null?e.secure:typeof location<"u"&&location.protocol==="https:",e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.agent=e.agent||!1,this.hostname=e.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=e.port||(typeof location<"u"&&location.port?location.port:this.secure?443:80),this.query=e.query||{},typeof this.query=="string"&&(this.query=aFe.decode(this.query)),this.upgrade=e.upgrade!==!1,this.path=(e.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!e.forceJSONP,this.jsonp=e.jsonp!==!1,this.forceBase64=!!e.forceBase64,this.enablesXDR=!!e.enablesXDR,this.withCredentials=e.withCredentials!==!1,this.timestampParam=e.timestampParam||"t",this.timestampRequests=e.timestampRequests,this.transports=e.transports||["polling","websocket"],this.transportOptions=e.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=e.policyPort||843,this.rememberUpgrade=e.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=e.onlyBinaryUpgrades,this.perMessageDeflate=e.perMessageDeflate!==!1?e.perMessageDeflate||{}:!1,this.perMessageDeflate===!0&&(this.perMessageDeflate={}),this.perMessageDeflate&&this.perMessageDeflate.threshold==null&&(this.perMessageDeflate.threshold=1024),this.pfx=e.pfx||void 0,this.key=e.key||void 0,this.passphrase=e.passphrase||void 0,this.cert=e.cert||void 0,this.ca=e.ca||void 0,this.ciphers=e.ciphers||void 0,this.rejectUnauthorized=e.rejectUnauthorized===void 0?!0:e.rejectUnauthorized,this.forceNode=!!e.forceNode,this.isReactNative=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative",(typeof self>"u"||this.isReactNative)&&(e.extraHeaders&&Object.keys(e.extraHeaders).length>0&&(this.extraHeaders=e.extraHeaders),e.localAddress&&(this.localAddress=e.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}je.priorWebsocketSuccess=!1,rFe(je.prototype),je.protocol=RH.protocol,je.Socket=je,je.Transport=ek(),je.transports=Qm,je.parser=fo,je.prototype.createTransport=function(t){Rt('creating transport "%s"',t);var e=oFe(this.query);e.EIO=RH.protocol,e.transport=t;var r=this.transportOptions[t]||{};this.id&&(e.sid=this.id);var n=new tFe[t]({query:e,socket:this,agent:r.agent||this.agent,hostname:r.hostname||this.hostname,port:r.port||this.port,secure:r.secure||this.secure,path:r.path||this.path,forceJSONP:r.forceJSONP||this.forceJSONP,jsonp:r.jsonp||this.jsonp,forceBase64:r.forceBase64||this.forceBase64,enablesXDR:r.enablesXDR||this.enablesXDR,withCredentials:r.withCredentials||this.withCredentials,timestampRequests:r.timestampRequests||this.timestampRequests,timestampParam:r.timestampParam||this.timestampParam,policyPort:r.policyPort||this.policyPort,pfx:r.pfx||this.pfx,key:r.key||this.key,passphrase:r.passphrase||this.passphrase,cert:r.cert||this.cert,ca:r.ca||this.ca,ciphers:r.ciphers||this.ciphers,rejectUnauthorized:r.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:r.perMessageDeflate||this.perMessageDeflate,extraHeaders:r.extraHeaders||this.extraHeaders,forceNode:r.forceNode||this.forceNode,localAddress:r.localAddress||this.localAddress,requestTimeout:r.requestTimeout||this.requestTimeout,protocols:r.protocols||void 0,isReactNative:this.isReactNative});return n};function oFe(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}je.prototype.open=function(){var t;if(this.rememberUpgrade&&je.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){var e=this;setTimeout(function(){e.emit("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)},je.prototype.setTransport=function(t){Rt("setting transport %s",t.name);var e=this;this.transport&&(Rt("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",function(){e.onDrain()}).on("packet",function(r){e.onPacket(r)}).on("error",function(r){e.onError(r)}).on("close",function(){e.onClose("transport close")})},je.prototype.probe=function(t){Rt('probing transport "%s"',t);var e=this.createTransport(t,{probe:1}),r=!1,n=this;je.priorWebsocketSuccess=!1;function a(){if(n.onlyBinaryUpgrades){var c=!this.supportsBinary&&n.transport.supportsBinary;r=r||c}r||(Rt('probe transport "%s" opened',t),e.send([{type:"ping",data:"probe"}]),e.once("packet",function(m){if(!r)if(m.type==="pong"&&m.data==="probe"){if(Rt('probe transport "%s" pong',t),n.upgrading=!0,n.emit("upgrading",e),!e)return;je.priorWebsocketSuccess=e.name==="websocket",Rt('pausing current transport "%s"',n.transport.name),n.transport.pause(function(){r||n.readyState!=="closed"&&(Rt("changing transport and sending upgrade packet"),d(),n.setTransport(e),e.send([{type:"upgrade"}]),n.emit("upgrade",e),e=null,n.upgrading=!1,n.flush())})}else{Rt('probe transport "%s" failed',t);var f=new Error("probe error");f.transport=e.name,n.emit("upgradeError",f)}}))}function i(){r||(r=!0,d(),e.close(),e=null)}function o(c){var m=new Error("probe error: "+c);m.transport=e.name,i(),Rt('probe transport "%s" failed because of error: %s',t,c),n.emit("upgradeError",m)}function s(){o("transport closed")}function u(){o("socket closed")}function l(c){e&&c.name!==e.name&&(Rt('"%s" works - aborting "%s"',c.name,e.name),i())}function d(){e.removeListener("open",a),e.removeListener("error",o),e.removeListener("close",s),n.removeListener("close",u),n.removeListener("upgrading",l)}e.once("open",a),e.once("error",o),e.once("close",s),this.once("close",u),this.once("upgrading",l),e.open()},je.prototype.onOpen=function(){if(Rt("socket open"),this.readyState="open",je.priorWebsocketSuccess=this.transport.name==="websocket",this.emit("open"),this.flush(),this.readyState==="open"&&this.upgrade&&this.transport.pause){Rt("starting upgrade probes");for(var t=0,e=this.upgrades.length;t<e;t++)this.probe(this.upgrades[t])}},je.prototype.onPacket=function(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(Rt('socket receive: type "%s", data "%s"',t.type,t.data),this.emit("packet",t),this.emit("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var e=new Error("server error");e.code=t.data,this.onError(e);break;case"message":this.emit("data",t.data),this.emit("message",t.data);break}else Rt('packet received with socket readyState "%s"',this.readyState)},je.prototype.onHandshake=function(t){this.emit("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.onOpen(),this.readyState!=="closed"&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},je.prototype.onHeartbeat=function(t){clearTimeout(this.pingTimeoutTimer);var e=this;e.pingTimeoutTimer=setTimeout(function(){e.readyState!=="closed"&&e.onClose("ping timeout")},t||e.pingInterval+e.pingTimeout)},je.prototype.setPing=function(){var t=this;clearTimeout(t.pingIntervalTimer),t.pingIntervalTimer=setTimeout(function(){Rt("writing ping packet - expecting pong within %sms",t.pingTimeout),t.ping(),t.onHeartbeat(t.pingTimeout)},t.pingInterval)},je.prototype.ping=function(){var t=this;this.sendPacket("ping",function(){t.emit("ping")})},je.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emit("drain"):this.flush()},je.prototype.flush=function(){this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(Rt("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},je.prototype.write=je.prototype.send=function(t,e,r){return this.sendPacket("message",t,e,r),this},je.prototype.sendPacket=function(t,e,r,n){if(typeof e=="function"&&(n=e,e=void 0),typeof r=="function"&&(n=r,r=null),!(this.readyState==="closing"||this.readyState==="closed")){r=r||{},r.compress=r.compress!==!1;var a={type:t,data:e,options:r};this.emit("packetCreate",a),this.writeBuffer.push(a),n&&this.once("flush",n),this.flush()}},je.prototype.close=function(){if(this.readyState==="opening"||this.readyState==="open"){this.readyState="closing";var t=this;this.writeBuffer.length?this.once("drain",function(){this.upgrading?n():e()}):this.upgrading?n():e()}function e(){t.onClose("forced close"),Rt("socket closing - telling transport to close"),t.transport.close()}function r(){t.removeListener("upgrade",r),t.removeListener("upgradeError",r),e()}function n(){t.once("upgrade",r),t.once("upgradeError",r)}return this},je.prototype.onError=function(t){Rt("socket error %j",t),je.priorWebsocketSuccess=!1,this.emit("error",t),this.onClose("transport error",t)},je.prototype.onClose=function(t,e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){Rt('socket close with reason: "%s"',t);var r=this;clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",t,e),r.writeBuffer=[],r.prevBufferLen=0}},je.prototype.filterUpgrades=function(t){for(var e=[],r=0,n=t.length;r<n;r++)~nFe(this.transports,t[r])&&e.push(t[r]);return e},function(t){t.exports=iFe,t.exports.parser=fo}(mH);var sk={exports:{}},sFe=uFe;function uFe(t,e){var r=[];e=e||0;for(var n=e||0;n<t.length;n++)r[n-e]=t[n];return r}var NH=lFe;function lFe(t,e,r){return t.on(e,r),{destroy:function(){t.removeListener(e,r)}}}var LH=[].slice,WH=function(t,e){if(typeof e=="string"&&(e=t[e]),typeof e!="function")throw new Error("bind() requires a function");var r=LH.call(arguments,2);return function(){return e.apply(t,r.concat(LH.call(arguments)))}};(function(t,e){var r=Xm,n=co.exports,a=sFe,i=NH,o=WH,s=sn.exports("socket.io-client:socket"),u=Ys,l=hH;t.exports=m;var d={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},c=n.prototype.emit;function m(f,p,h){this.io=f,this.nsp=p,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},h&&h.query&&(this.query=h.query),this.io.autoConnect&&this.open()}n(m.prototype),m.prototype.subEvents=function(){if(!this.subs){var f=this.io;this.subs=[i(f,"open",o(this,"onopen")),i(f,"packet",o(this,"onpacket")),i(f,"close",o(this,"onclose"))]}},m.prototype.open=m.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.reconnecting||this.io.open(),this.io.readyState==="open"&&this.onopen(),this.emit("connecting"),this)},m.prototype.send=function(){var f=a(arguments);return f.unshift("message"),this.emit.apply(this,f),this},m.prototype.emit=function(f){if(d.hasOwnProperty(f))return c.apply(this,arguments),this;var p=a(arguments),h={type:(this.flags.binary!==void 0?this.flags.binary:l(p))?r.BINARY_EVENT:r.EVENT,data:p};return h.options={},h.options.compress=!this.flags||this.flags.compress!==!1,typeof p[p.length-1]=="function"&&(s("emitting packet with ack id %d",this.ids),this.acks[this.ids]=p.pop(),h.id=this.ids++),this.connected?this.packet(h):this.sendBuffer.push(h),this.flags={},this},m.prototype.packet=function(f){f.nsp=this.nsp,this.io.packet(f)},m.prototype.onopen=function(){if(s("transport is open - connecting"),this.nsp!=="/")if(this.query){var f=typeof this.query=="object"?u.encode(this.query):this.query;s("sending connect packet with query %s",f),this.packet({type:r.CONNECT,query:f})}else this.packet({type:r.CONNECT})},m.prototype.onclose=function(f){s("close (%s)",f),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",f)},m.prototype.onpacket=function(f){var p=f.nsp===this.nsp,h=f.type===r.ERROR&&f.nsp==="/";if(!(!p&&!h))switch(f.type){case r.CONNECT:this.onconnect();break;case r.EVENT:this.onevent(f);break;case r.BINARY_EVENT:this.onevent(f);break;case r.ACK:this.onack(f);break;case r.BINARY_ACK:this.onack(f);break;case r.DISCONNECT:this.ondisconnect();break;case r.ERROR:this.emit("error",f.data);break}},m.prototype.onevent=function(f){var p=f.data||[];s("emitting event %j",p),f.id!=null&&(s("attaching ack callback to event"),p.push(this.ack(f.id))),this.connected?c.apply(this,p):this.receiveBuffer.push(p)},m.prototype.ack=function(f){var p=this,h=!1;return function(){if(!h){h=!0;var v=a(arguments);s("sending ack %j",v),p.packet({type:l(v)?r.BINARY_ACK:r.ACK,id:f,data:v})}}},m.prototype.onack=function(f){var p=this.acks[f.id];typeof p=="function"?(s("calling ack %s with %j",f.id,f.data),p.apply(this,f.data),delete this.acks[f.id]):s("bad ack %s",f.id)},m.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emitBuffered(),this.emit("connect")},m.prototype.emitBuffered=function(){var f;for(f=0;f<this.receiveBuffer.length;f++)c.apply(this,this.receiveBuffer[f]);for(this.receiveBuffer=[],f=0;f<this.sendBuffer.length;f++)this.packet(this.sendBuffer[f]);this.sendBuffer=[]},m.prototype.ondisconnect=function(){s("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},m.prototype.destroy=function(){if(this.subs){for(var f=0;f<this.subs.length;f++)this.subs[f].destroy();this.subs=null}this.io.destroy(this)},m.prototype.close=m.prototype.disconnect=function(){return this.connected&&(s("performing disconnect (%s)",this.nsp),this.packet({type:r.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},m.prototype.compress=function(f){return this.flags.compress=f,this},m.prototype.binary=function(f){return this.flags.binary=f,this}})(sk);var dFe=Js;function Js(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}Js.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),r=Math.floor(e*this.jitter*t);t=(Math.floor(e*10)&1)==0?t-r:t+r}return Math.min(t,this.max)|0},Js.prototype.reset=function(){this.attempts=0},Js.prototype.setMin=function(t){this.ms=t},Js.prototype.setMax=function(t){this.max=t},Js.prototype.setJitter=function(t){this.jitter=t};var cFe=mH.exports,fFe=sk.exports,mFe=co.exports,pFe=Xm,oi=NH,Qs=WH,rr=sn.exports("socket.io-client:manager"),FH=AH,hFe=dFe,jH=Object.prototype.hasOwnProperty,VH=Ye;function Ye(t,e){if(!(this instanceof Ye))return new Ye(t,e);t&&typeof t=="object"&&(e=t,t=void 0),e=e||{},e.path=e.path||"/socket.io",this.nsps={},this.subs=[],this.opts=e,this.reconnection(e.reconnection!==!1),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(e.randomizationFactor||.5),this.backoff=new hFe({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(e.timeout==null?2e4:e.timeout),this.readyState="closed",this.uri=t,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var r=e.parser||pFe;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this.autoConnect=e.autoConnect!==!1,this.autoConnect&&this.open()}Ye.prototype.emitAll=function(){this.emit.apply(this,arguments);for(var t in this.nsps)jH.call(this.nsps,t)&&this.nsps[t].emit.apply(this.nsps[t],arguments)},Ye.prototype.updateSocketIds=function(){for(var t in this.nsps)jH.call(this.nsps,t)&&(this.nsps[t].id=this.generateId(t))},Ye.prototype.generateId=function(t){return(t==="/"?"":t+"#")+this.engine.id},mFe(Ye.prototype),Ye.prototype.reconnection=function(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection},Ye.prototype.reconnectionAttempts=function(t){return arguments.length?(this._reconnectionAttempts=t,this):this._reconnectionAttempts},Ye.prototype.reconnectionDelay=function(t){return arguments.length?(this._reconnectionDelay=t,this.backoff&&this.backoff.setMin(t),this):this._reconnectionDelay},Ye.prototype.randomizationFactor=function(t){return arguments.length?(this._randomizationFactor=t,this.backoff&&this.backoff.setJitter(t),this):this._randomizationFactor},Ye.prototype.reconnectionDelayMax=function(t){return arguments.length?(this._reconnectionDelayMax=t,this.backoff&&this.backoff.setMax(t),this):this._reconnectionDelayMax},Ye.prototype.timeout=function(t){return arguments.length?(this._timeout=t,this):this._timeout},Ye.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()},Ye.prototype.open=Ye.prototype.connect=function(t,e){if(rr("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;rr("opening %s",this.uri),this.engine=cFe(this.uri,this.opts);var r=this.engine,n=this;this.readyState="opening",this.skipReconnect=!1;var a=oi(r,"open",function(){n.onopen(),t&&t()}),i=oi(r,"error",function(u){if(rr("connect_error"),n.cleanup(),n.readyState="closed",n.emitAll("connect_error",u),t){var l=new Error("Connection error");l.data=u,t(l)}else n.maybeReconnectOnOpen()});if(this._timeout!==!1){var o=this._timeout;rr("connect attempt will timeout after %d",o),o===0&&a.destroy();var s=setTimeout(function(){rr("connect attempt timed out after %d",o),a.destroy(),r.close(),r.emit("error","timeout"),n.emitAll("connect_timeout",o)},o);this.subs.push({destroy:function(){clearTimeout(s)}})}return this.subs.push(a),this.subs.push(i),this},Ye.prototype.onopen=function(){rr("open"),this.cleanup(),this.readyState="open",this.emit("open");var t=this.engine;this.subs.push(oi(t,"data",Qs(this,"ondata"))),this.subs.push(oi(t,"ping",Qs(this,"onping"))),this.subs.push(oi(t,"pong",Qs(this,"onpong"))),this.subs.push(oi(t,"error",Qs(this,"onerror"))),this.subs.push(oi(t,"close",Qs(this,"onclose"))),this.subs.push(oi(this.decoder,"decoded",Qs(this,"ondecoded")))},Ye.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},Ye.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},Ye.prototype.ondata=function(t){this.decoder.add(t)},Ye.prototype.ondecoded=function(t){this.emit("packet",t)},Ye.prototype.onerror=function(t){rr("error",t),this.emitAll("error",t)},Ye.prototype.socket=function(t,e){var r=this.nsps[t];if(!r){r=new fFe(this,t,e),this.nsps[t]=r;var n=this;r.on("connecting",a),r.on("connect",function(){r.id=n.generateId(t)}),this.autoConnect&&a()}function a(){~FH(n.connecting,r)||n.connecting.push(r)}return r},Ye.prototype.destroy=function(t){var e=FH(this.connecting,t);~e&&this.connecting.splice(e,1),!this.connecting.length&&this.close()},Ye.prototype.packet=function(t){rr("writing packet %j",t);var e=this;t.query&&t.type===0&&(t.nsp+="?"+t.query),e.encoding?e.packetBuffer.push(t):(e.encoding=!0,this.encoder.encode(t,function(r){for(var n=0;n<r.length;n++)e.engine.write(r[n],t.options);e.encoding=!1,e.processPacketQueue()}))},Ye.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},Ye.prototype.cleanup=function(){rr("cleanup");for(var t=this.subs.length,e=0;e<t;e++){var r=this.subs.shift();r.destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},Ye.prototype.close=Ye.prototype.disconnect=function(){rr("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,this.readyState==="opening"&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},Ye.prototype.onclose=function(t){rr("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",t),this._reconnection&&!this.skipReconnect&&this.reconnect()},Ye.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)rr("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();rr("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var r=setTimeout(function(){t.skipReconnect||(rr("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),!t.skipReconnect&&t.open(function(n){n?(rr("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",n.data)):(rr("reconnect success"),t.onreconnect())}))},e);this.subs.push({destroy:function(){clearTimeout(r)}})}},Ye.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)},function(t,e){var r=tWe,n=Xm,a=VH,i=sn.exports("socket.io-client");t.exports=e=s;var o=e.managers={};function s(u,l){typeof u=="object"&&(l=u,u=void 0),l=l||{};var d=r(u),c=d.source,m=d.id,f=d.path,p=o[m]&&f in o[m].nsps,h=l.forceNew||l["force new connection"]||l.multiplex===!1||p,v;return h?(i("ignoring socket cache for %s",c),v=a(c,l)):(o[m]||(i("new io instance for %s",c),o[m]=a(c,l)),v=o[m]),d.query&&!l.query&&(l.query=d.query),v.socket(d.path,l)}e.protocol=n.protocol,e.connect=s,e.Manager=VH,e.Socket=sk.exports}(VP,VP.exports);const vFe=VP.exports;class gFe{constructor({rootUrl:e,path:r,logger:n=console,getTokenFn:a}){St(this,"_socket",null);St(this,"_isConnected",!1);St(this,"_autoReconnect",!1);St(this,"_localAutoReconnect",!1);St(this,"_listeners",[]);St(this,"_connectionChangedListener",[]);St(this,"_retryCount",0);this.rootUrl=e,this.path=r,this.logger=n,this.getTokenFn=a}set autoReconnect(e){this._autoReconnect=!!e}onConnectionChanged(e){this._connectionChangedListener.push(e)}_onConnectionChanged(e){this._connectionChangedListener.forEach(r=>{try{r(e)}catch(n){console.error(n)}})}setConnected(e){e||(this._retryCount=this._retryCount+1),this.logger.debug(`Socket: isConnected changed to ${e}`);const r=this._isConnected!==e;this._isConnected=e,r&&this._onConnectionChanged(e)}_onConnected(){const e=this.getTokenFn();e&&this._socket.emit("authenticate",{token:e})}on(e,r){this._listeners.push({type:e,fn:r}),this._socket&&this._socket.on(e,r)}async connect(){await(r=>new Promise(n=>setTimeout(n,r*2*1e3)))(this._retryCount),this._socket&&(this._localAutoReconnect=!1,this.disconnect(),this._localAutoReconnect=!0),this._socket=vFe(this.rootUrl,{path:this.path}),this._socket.on("connect",this._onConnected.bind(this)),this._socket.on("event",r=>this.logger.debug("Socket: Event:",r)),this._listeners.forEach(({type:r,fn:n})=>{this._socket.on(r,n)}),this._socket.on("disconnect",()=>{this.setConnected(!1),this._localAutoReconnect&&this._autoReconnect&&this.connect()}),this._socket.on("authenticated",()=>{this._retryCount=0,this.setConnected(!0)}),this._socket.on("unauthorized",()=>{this.setConnected(!1)})}disconnect(){this._socket&&(this._socket.close(),this._socket=null)}}const id=new gFe({rootUrl:ge.api.socket.rootUrl,path:ge.api.socket.path,logger:yt,getTokenFn:()=>Fe.getItem("token")}),yFe=t=>{id.onConnectionChanged(e=>{t.commit(`application/${Me.application.SET_SOCKET_CONNECTED}`,e)}),id.on("event",({type:e,action:r,id:n})=>{e==="document"?t.getters["documents2/byId"](n)&&setTimeout(()=>{r==="deleted"?t.commit(`documents2/${Me.documents2.DELETE_MANY_DOCUMENTS2}`,n):t.dispatch(ke.LOAD_DOCUMENT2,{id:n})},1):e==="template"?t.getters["templates/byId"](n)&&setTimeout(()=>{r==="deleted"?t.commit(`templates/${Me.templates.DELETE_MANY_TEMPLATES}`,n):t.dispatch(ke.LOAD_TEMPLATE,{id:n})},1):e==="notification"?setTimeout(()=>{r==="deleted"?t.commit(`notifications/${Me.notifications.DELETE_MANY_NOTIFICATIONS}`,n):t.dispatch(ke.LOAD_NOTIFICATION,{id:n})},1):e==="project"?t.getters["projects/byId"](n)&&setTimeout(()=>{r==="deleted"?t.commit(`projects/${Me.projects.DELETE_MANY_PROJECTS}`,n):t.dispatch(ke.LOAD_PROJECT,{id:n})},1):e==="companyUser"?t.getters["companyUsers/byId"](n)&&setTimeout(()=>{r==="deleted"?t.commit(`companyUsers/${Me.DELETE_COMPANY_USER}`,n):t.dispatch(ke.LOAD_COMPANY_USER,{id:n})},1):e==="companyAccount"?setTimeout(()=>{t.dispatch(ke.DO_LOAD_CURRENT_COMPANY)},1):e==="companySetting"?setTimeout(()=>{r==="deleted"?t.commit(`settings/${Me.settings.CLEAR_SETTINGS}`,{key:"company",name:n}):t.dispatch(ke.LOAD_SETTINGS_COMPANY)},1):e==="companyUserSetting"?setTimeout(()=>{r==="deleted"?t.commit(`settings/${Me.settings.CLEAR_SETTINGS}`,{key:"companyUser",name:n}):t.dispatch(ke.LOAD_SETTINGS_COMPANYUSER)},1):e==="systemClient"&&r==="refreshToken"&&setTimeout(()=>{uTe()},1)}),t.subscribe(async e=>{const{type:r,payload:n}=e;r==="application/SET_USER"&&n&&typeof n.userId<"u"&&(id.autoReconnect=!!n.userId,n.userId?await id.connect():n.userId===null&&await id.disconnect())})},UH={projectFiles:"projects",certificates:"certificates",companies:"companies",companyUsers:"companyUsers",projects:"projects",invoices:"invoices",companyReferences:"companyReferences",companyReferenceItems:"companyReferenceItems",files:"files",documents:"documents",timeTracks:"timeTracks",documentTerms:"documentTerms"},zH={projects:Me.SET_PROJECTS,invoices:Me.invoices.SET_INVOICES,offers:Me.SET_OFFERS,companyUsers:Me.SET_COMPANY_USERS,companies:Me.companies.SET_COMPANIES,events:Me.SET_EVENTS,atas:Me.SET_ATAS,contracts:Me.SET_CONTRACTS,projectNotes:Me.SET_PROJECT_NOTES,projectFiles:Me.SET_PROJECT_FILES,articles:Me.SET_ARTICLES,certificates:Me.certificates.SET_CERTIFICATES,companyReferenceItems:Me.companyReferenceItems.SET_COMPANY_REFERENCE_ITEMS,companyReferences:Me.companyReferences.SET_COMPANY_REFERENCES,files:Me.files.UPDATE_MANY_FILES,notifications:Me.SET_NOTIFICATIONS,templateMessages:Me.SET_TEMPLATE_MESSAGES,timeTracks:Me.timeTracks.SET_TIME_TRACKS,documentTerms:Me.documentTerms.SET_DOCUMENT_TERMS},_Fe={[Ki](t,e){const r={includedModules:void 0,excludedModules:void 0,schema:void 0,data:void 0,moduleOpts:{},...e};if(!r.schema||!r.data)throw Error("Unable to normalize data, missing schema or data");const n=Array.isArray(r.data)?r.data:[r.data];let a;typeof r.schema=="string"?{entities:a}=UMe(n,r.schema):(console.warn(`Calling normalize with old schema for ${r.schema.schema.key}`),{entities:a}=QU(n,r.schema));let i=Object.keys(a);i=i.filter(o=>(!r.includedModules||r.includedModules.includes(o))&&(!r.excludedModules||!r.excludedModules.includes(o))),i.forEach(o=>{if(!zH[o]){yt.warn(`setActions: '${o}', does not exist`);return}if(!UH[o]){yt.warn(`moduleKeys: '${o}', does not exist`);return}const s={doClearOld:!1,...r.moduleOpts[o]||{}};this.commit(`${UH[o]}/${zH[o]}`,{data:Object.keys(a[o]).map(u=>a[o][u]),...s})})}};ie.use(i3);const BH=[M0e({whitelist:["entities"]}),yFe];try{const t=Uhe({paths:["forms"]});BH.push(t)}catch(t){yt.debug(t)}const It=new i3.Store({modules:{application:uMe,companies:KMe,companyUsers:lSe,documents2:ALe,endCustomers:BLe,forms:UAe,files:tRe,projects:oLe,settings:MSe,templates:hLe},actions:_Fe,mutations:{reset:()=>{}},plugins:BH});It.handleError=(t,e)=>{console.log("errorHandler: ",e==null?void 0:e.action,t)};function bFe(){In.init({store:It}),Xi.init({store:It}),zhe(It,vs),It.$router=vs}bFe();var wFe=kW,xFe=TW;function PFe(t,e){e=wFe(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[xFe(e[r++])];return r&&r==n?t:void 0}var kFe=PFe,TFe=kFe;function EFe(t,e,r){var n=t==null?void 0:TFe(t,e);return n===void 0?r:n}var MFe=EFe;class SFe{static instance(){return new this}static new(...e){return this.instance().new(...e)}static get(e){return this.instance().get(e)}static on(...e){return this.instance().on(...e)}static find(e){return this.instance().find(e)}}class OFe extends SFe{constructor(){if(super(),this.storeMap===void 0)throw new Error("You must declare store action/getter map")}_applyInstance(e,r,n=this.constructor){return new n(e,r)}_hasId(){return!!this.getPrimaryKey()}new(...e){if(this.storeMap.new===void 0)throw new Error("No provided NEW action");return It.dispatch(this.storeMap.new,...e)}get(e){if(this.storeMap.get===void 0)throw new Error("No provided NEW action");if(this.storeMap.byId===void 0)throw new Error("No provided byId getter");return It.dispatch(this.storeMap.get,{id:e}).then(()=>{const r=It.getters[this.storeMap.byId](e);return this._applyInstance(r)})}_create(e){if(this.storeMap.create===void 0)throw new Error("No provided CREATE action");return It.dispatch(this.storeMap.create,{body:e})}_update(...e){if(this.storeMap.update===void 0)throw new Error("No provided UPDATE action");return It.dispatch(this.storeMap.update,...e)}remove(e){if(this.storeMap.remove===void 0)throw new Error("No provided REMOVE action");return It.dispatch(this.storeMap.remove,{id:e})}on(e,r){return uo.on(e,r)}}var HH={exports:{}},uk={exports:{}},qH=function(e,r){return function(){for(var a=new Array(arguments.length),i=0;i<a.length;i++)a[i]=arguments[i];return e.apply(r,a)}},CFe=qH,mo=Object.prototype.toString;function lk(t){return mo.call(t)==="[object Array]"}function dk(t){return typeof t>"u"}function DFe(t){return t!==null&&!dk(t)&&t.constructor!==null&&!dk(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function $Fe(t){return mo.call(t)==="[object ArrayBuffer]"}function AFe(t){return typeof FormData<"u"&&t instanceof FormData}function RFe(t){var e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function IFe(t){return typeof t=="string"}function NFe(t){return typeof t=="number"}function YH(t){return t!==null&&typeof t=="object"}function sp(t){if(mo.call(t)!=="[object Object]")return!1;var e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}function LFe(t){return mo.call(t)==="[object Date]"}function WFe(t){return mo.call(t)==="[object File]"}function FFe(t){return mo.call(t)==="[object Blob]"}function GH(t){return mo.call(t)==="[object Function]"}function jFe(t){return YH(t)&&GH(t.pipe)}function VFe(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function UFe(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function zFe(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function ck(t,e){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),lk(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.call(null,t[a],a,t)}function fk(){var t={};function e(a,i){sp(t[i])&&sp(a)?t[i]=fk(t[i],a):sp(a)?t[i]=fk({},a):lk(a)?t[i]=a.slice():t[i]=a}for(var r=0,n=arguments.length;r<n;r++)ck(arguments[r],e);return t}function BFe(t,e,r){return ck(e,function(a,i){r&&typeof a=="function"?t[i]=CFe(a,r):t[i]=a}),t}function HFe(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var Ir={isArray:lk,isArrayBuffer:$Fe,isBuffer:DFe,isFormData:AFe,isArrayBufferView:RFe,isString:IFe,isNumber:NFe,isObject:YH,isPlainObject:sp,isUndefined:dk,isDate:LFe,isFile:WFe,isBlob:FFe,isFunction:GH,isStream:jFe,isURLSearchParams:VFe,isStandardBrowserEnv:zFe,forEach:ck,merge:fk,extend:BFe,trim:UFe,stripBOM:HFe},Zs=Ir;function KH(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var XH=function(e,r,n){if(!r)return e;var a;if(n)a=n(r);else if(Zs.isURLSearchParams(r))a=r.toString();else{var i=[];Zs.forEach(r,function(u,l){u===null||typeof u>"u"||(Zs.isArray(u)?l=l+"[]":u=[u],Zs.forEach(u,function(c){Zs.isDate(c)?c=c.toISOString():Zs.isObject(c)&&(c=JSON.stringify(c)),i.push(KH(l)+"="+KH(c))}))}),a=i.join("&")}if(a){var o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e},qFe=Ir;function up(){this.handlers=[]}up.prototype.use=function(e,r){return this.handlers.push({fulfilled:e,rejected:r}),this.handlers.length-1},up.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},up.prototype.forEach=function(e){qFe.forEach(this.handlers,function(n){n!==null&&e(n)})};var YFe=up,GFe=Ir,KFe=function(e,r,n){return GFe.forEach(n,function(i){e=i(e,r)}),e},mk,JH;function QH(){return JH||(JH=1,mk=function(e){return!!(e&&e.__CANCEL__)}),mk}var XFe=Ir,JFe=function(e,r){XFe.forEach(e,function(a,i){i!==r&&i.toUpperCase()===r.toUpperCase()&&(e[r]=a,delete e[i])})},pk,ZH;function QFe(){return ZH||(ZH=1,pk=function(e,r,n,a,i){return e.config=r,n&&(e.code=n),e.request=a,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}),pk}var hk,eq;function tq(){if(eq)return hk;eq=1;var t=QFe();return hk=function(r,n,a,i,o){var s=new Error(r);return t(s,n,a,i,o)},hk}var vk,rq;function ZFe(){if(rq)return vk;rq=1;var t=tq();return vk=function(r,n,a){var i=a.config.validateStatus;!a.status||!i||i(a.status)?r(a):n(t("Request failed with status code "+a.status,a.config,null,a.request,a))},vk}var gk,nq;function eje(){if(nq)return gk;nq=1;var t=Ir;return gk=t.isStandardBrowserEnv()?function(){return{write:function(n,a,i,o,s,u){var l=[];l.push(n+"="+encodeURIComponent(a)),t.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),t.isString(o)&&l.push("path="+o),t.isString(s)&&l.push("domain="+s),u===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){var a=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),gk}var yk,aq;function tje(){return aq||(aq=1,yk=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}),yk}var _k,iq;function rje(){return iq||(iq=1,_k=function(e,r){return r?e.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):e}),_k}var bk,oq;function nje(){if(oq)return bk;oq=1;var t=tje(),e=rje();return bk=function(n,a){return n&&!t(a)?e(n,a):a},bk}var wk,sq;function aje(){if(sq)return wk;sq=1;var t=Ir,e=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return wk=function(n){var a={},i,o,s;return n&&t.forEach(n.split(`
545
+ `),function(l){if(s=l.indexOf(":"),i=t.trim(l.substr(0,s)).toLowerCase(),o=t.trim(l.substr(s+1)),i){if(a[i]&&e.indexOf(i)>=0)return;i==="set-cookie"?a[i]=(a[i]?a[i]:[]).concat([o]):a[i]=a[i]?a[i]+", "+o:o}}),a},wk}var xk,uq;function ije(){if(uq)return xk;uq=1;var t=Ir;return xk=t.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),a;function i(o){var s=o;return r&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=i(window.location.href),function(s){var u=t.isString(s)?i(s):s;return u.protocol===a.protocol&&u.host===a.host}}():function(){return function(){return!0}}(),xk}var Pk,lq;function dq(){if(lq)return Pk;lq=1;var t=Ir,e=ZFe(),r=eje(),n=XH,a=nje(),i=aje(),o=ije(),s=tq();return Pk=function(l){return new Promise(function(c,m){var f=l.data,p=l.headers;t.isFormData(f)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(l.auth){var v=l.auth.username||"",y=l.auth.password?unescape(encodeURIComponent(l.auth.password)):"";p.Authorization="Basic "+btoa(v+":"+y)}var b=a(l.baseURL,l.url);if(h.open(l.method.toUpperCase(),n(b,l.params,l.paramsSerializer),!0),h.timeout=l.timeout,h.onreadystatechange=function(){if(!(!h||h.readyState!==4)&&!(h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0))){var w="getAllResponseHeaders"in h?i(h.getAllResponseHeaders()):null,x=!l.responseType||l.responseType==="text"?h.responseText:h.response,k={data:x,status:h.status,statusText:h.statusText,headers:w,config:l,request:h};e(c,m,k),h=null}},h.onabort=function(){!h||(m(s("Request aborted",l,"ECONNABORTED",h)),h=null)},h.onerror=function(){m(s("Network Error",l,null,h)),h=null},h.ontimeout=function(){var w="timeout of "+l.timeout+"ms exceeded";l.timeoutErrorMessage&&(w=l.timeoutErrorMessage),m(s(w,l,"ECONNABORTED",h)),h=null},t.isStandardBrowserEnv()){var g=(l.withCredentials||o(b))&&l.xsrfCookieName?r.read(l.xsrfCookieName):void 0;g&&(p[l.xsrfHeaderName]=g)}if("setRequestHeader"in h&&t.forEach(p,function(w,x){typeof f>"u"&&x.toLowerCase()==="content-type"?delete p[x]:h.setRequestHeader(x,w)}),t.isUndefined(l.withCredentials)||(h.withCredentials=!!l.withCredentials),l.responseType)try{h.responseType=l.responseType}catch(_){if(l.responseType!=="json")throw _}typeof l.onDownloadProgress=="function"&&h.addEventListener("progress",l.onDownloadProgress),typeof l.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",l.onUploadProgress),l.cancelToken&&l.cancelToken.promise.then(function(w){!h||(h.abort(),m(w),h=null)}),f||(f=null),h.send(f)})},Pk}var vr=Ir,cq=JFe,oje={"Content-Type":"application/x-www-form-urlencoded"};function fq(t,e){!vr.isUndefined(t)&&vr.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function sje(){var t;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(t=dq()),t}var lp={adapter:sje(),transformRequest:[function(e,r){return cq(r,"Accept"),cq(r,"Content-Type"),vr.isFormData(e)||vr.isArrayBuffer(e)||vr.isBuffer(e)||vr.isStream(e)||vr.isFile(e)||vr.isBlob(e)?e:vr.isArrayBufferView(e)?e.buffer:vr.isURLSearchParams(e)?(fq(r,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):vr.isObject(e)?(fq(r,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if(typeof e=="string")try{e=JSON.parse(e)}catch{}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};lp.headers={common:{Accept:"application/json, text/plain, */*"}},vr.forEach(["delete","get","head"],function(e){lp.headers[e]={}}),vr.forEach(["post","put","patch"],function(e){lp.headers[e]=vr.merge(oje)});var mq=lp,pq=Ir,kk=KFe,uje=QH(),lje=mq;function Tk(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var dje=function(e){Tk(e),e.headers=e.headers||{},e.data=kk(e.data,e.headers,e.transformRequest),e.headers=pq.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),pq.forEach(["delete","get","head","post","put","patch","common"],function(a){delete e.headers[a]});var r=e.adapter||lje.adapter;return r(e).then(function(a){return Tk(e),a.data=kk(a.data,a.headers,e.transformResponse),a},function(a){return uje(a)||(Tk(e),a&&a.response&&(a.response.data=kk(a.response.data,a.response.headers,e.transformResponse))),Promise.reject(a)})},nr=Ir,hq=function(e,r){r=r||{};var n={},a=["url","method","data"],i=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function u(m,f){return nr.isPlainObject(m)&&nr.isPlainObject(f)?nr.merge(m,f):nr.isPlainObject(f)?nr.merge({},f):nr.isArray(f)?f.slice():f}function l(m){nr.isUndefined(r[m])?nr.isUndefined(e[m])||(n[m]=u(void 0,e[m])):n[m]=u(e[m],r[m])}nr.forEach(a,function(f){nr.isUndefined(r[f])||(n[f]=u(void 0,r[f]))}),nr.forEach(i,l),nr.forEach(o,function(f){nr.isUndefined(r[f])?nr.isUndefined(e[f])||(n[f]=u(void 0,e[f])):n[f]=u(void 0,r[f])}),nr.forEach(s,function(f){f in r?n[f]=u(e[f],r[f]):f in e&&(n[f]=u(void 0,e[f]))});var d=a.concat(i).concat(o).concat(s),c=Object.keys(e).concat(Object.keys(r)).filter(function(f){return d.indexOf(f)===-1});return nr.forEach(c,l),n},vq=Ir,cje=XH,gq=YFe,fje=dje,dp=hq;function od(t){this.defaults=t,this.interceptors={request:new gq,response:new gq}}od.prototype.request=function(e){typeof e=="string"?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=dp(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=[fje,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(i){r.unshift(i.fulfilled,i.rejected)}),this.interceptors.response.forEach(function(i){r.push(i.fulfilled,i.rejected)});r.length;)n=n.then(r.shift(),r.shift());return n},od.prototype.getUri=function(e){return e=dp(this.defaults,e),cje(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},vq.forEach(["delete","get","head","options"],function(e){od.prototype[e]=function(r,n){return this.request(dp(n||{},{method:e,url:r,data:(n||{}).data}))}}),vq.forEach(["post","put","patch"],function(e){od.prototype[e]=function(r,n,a){return this.request(dp(a||{},{method:e,url:r,data:n}))}});var mje=od,Ek,yq;function _q(){if(yq)return Ek;yq=1;function t(e){this.message=e}return t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,Ek=t,Ek}var Mk,bq;function pje(){if(bq)return Mk;bq=1;var t=_q();function e(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(o){n=o});var a=this;r(function(o){a.reason||(a.reason=new t(o),n(a.reason))})}return e.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},e.source=function(){var n,a=new e(function(o){n=o});return{token:a,cancel:n}},Mk=e,Mk}var Sk,wq;function hje(){return wq||(wq=1,Sk=function(e){return function(n){return e.apply(null,n)}}),Sk}var Ok,xq;function vje(){return xq||(xq=1,Ok=function(e){return typeof e=="object"&&e.isAxiosError===!0}),Ok}var Pq=Ir,gje=qH,cp=mje,yje=hq,_je=mq;function kq(t){var e=new cp(t),r=gje(cp.prototype.request,e);return Pq.extend(r,cp.prototype,e),Pq.extend(r,e),r}var ln=kq(_je);ln.Axios=cp,ln.create=function(e){return kq(yje(ln.defaults,e))},ln.Cancel=_q(),ln.CancelToken=pje(),ln.isCancel=QH(),ln.all=function(e){return Promise.all(e)},ln.spread=hje(),ln.isAxiosError=vje(),uk.exports=ln,uk.exports.default=ln,function(t){t.exports=uk.exports}(HH);const bje=Z(HH.exports),wje=t=>/^(http|https)/.test(t);class xje{constructor(e){this._documentJSON=e}async pdf(e){try{let r;if(typeof e=="string"&&wje(e)){const{data:o}=await bje.get(e,{responseType:"blob"});r=new File([o],"copied-file.pdf",{type:o.type})}if(!(r instanceof File)){console.log("not file instance found");return}const n=new FormData;n.append("file",r,r.name||"filename");const{data:a}=await ut("/file",n,{timeout:6e4}),i={fileId:a.id,name:a.displayName,url:a.url,mime:a.mime};return this._documentJSON=RSe(this._documentJSON,i),this._documentJSON}catch(r){console.error(r)}}answer(){this._documentJSON=ISe(this._documentJSON)}}const{LOAD_DOCUMENT2_FORM:Pje,SAVE_DYNDOC_FORM:Tq,LOAD_DOCUMENT2:kje,LOAD_DOCUMENTS2:Tje,UPDATE_DOCUMENT2:Eje,DO_CREATE_DOCUMENT2:Mje,DO_SEND_DOCUMENT2:Sje,DELETE_DOCUMENT2:Oje}=ke;class Cje extends OFe{constructor(r,{isForm:n}={}){super(r);St(this,"ui",{send:{open:()=>{if(!this._isForm)throw new Error("Doc needs to be initiated in the form: editableDoc = doc.toForm()");si.go("DocFormSend"),si.open=!0},close:()=>si.open=!1},timeline:{},sendReminder:{open:()=>{si.go("DocSendReminder",{document:this._document}),si.open=!0},close:()=>si.open=!1}});r&&(this._isForm=n||!1,this._document=r,this._builder=new xje(this._document._doc))}get storeMap(){return{new:Pje,save:Tq,get:kje,find:Tje,update:Eje,create:Mje,remove:Oje,byId:"documents2/byId"}}get isUserLoaded(){return It.getters["application/isUserLoaded"]}get hasToken(){return!!Fe.getItem("token")}checkAuth(){if(!this.hasToken)throw new Error("No authorization token set");if(!this.isUserLoaded)throw new Error("User not loaded");return!0}getProperty(r){if(!!this._document)return MFe(this._document._doc,r)}setProperty(r,n){if(!!this._document){if(!this._isForm)throw new Error("Doc needs to be initiated in the form: editableDoc = doc.toForm()");return MW(this._document._doc,r,n)}}addReference({service:r,type:n,typeId:a}={}){if(!r)throw new Error("Missing or empty param service");if(!n)throw new Error("Missing or empty param type");if(!a)throw new Error("Missing or empty param typeId");if(!this._document)throw new Error("You must provide a document instance");const i=this.getProperty("externalReferences")||[];this.setProperty("externalReferences",[...i,{service:r,type:n,typeId:a}])}removeReference({service:r,type:n,typeId:a}={}){if(!r)throw new Error("Missing or empty param service");if(!n)throw new Error("Missing or empty param type");if(!a)throw new Error("Missing or empty param typeId");if(!this._document)throw new Error("You must provide a document instance");const i=this.getProperty("externalReferences")||[];this.setProperty("externalReferences",i.filter(o=>!(o.service===r&&o.type===n&&o.typeId===a)))}new(r){return this.checkAuth(),super.new({templateId:"empty",...r}).then(()=>{const n=It.getters["forms/document"],a=new zs({data:n,can:It.getters["application/can"],getters:It.getters});return this._applyInstance(a,{isForm:!0})})}get(r){return this.checkAuth(),super.get(r)}find(r={}){return this.checkAuth(),Cr.getAll({isHidden:!1,returnType:"template",...r}).then(n=>{var a;return(((a=n==null?void 0:n.data)==null?void 0:a.items)||[]).map(i=>It.getters["documents2/byData"]({data:i})).map(i=>this._applyInstance(i))})}save(){if(this.checkAuth(),!this._document)throw new Error("You must provide a document instance");if(It.getters["forms/document"])return It.dispatch(Tq,{doRedirect:!1,doSend:!1});const r=this._document._doc;return r._id?this._update({id:r._id,body:r}):this._create(r)}on(r,n){if(!["create","update","save","remove","send"].includes(r))throw new Error(`Event ${r} not supported`);return super.on(`document:${r}`,(i,...o)=>{const s=this.getProperty("id")===i.id,u=i.__tempId?this.getProperty("__tempId")===i.__tempId:!1;(s||u)&&n(i,...o)})}useTemplate(r){return this.new({templateId:r})}async send(){if(this.checkAuth(),!this._document)throw new Error("You must provide a document instance");if(!this._document._id)throw new Error("You must provide an existing document");const r=this._document._id;return await It.dispatch(Sje,{id:r}),r}addBlock(){if(!this._builder)throw new Error("You must provide a document instance");return this._builder}toForm(){var n;const r=(n=this._document)==null?void 0:n._doc;if(!r)throw new Error("Missing provided document data");return this.new({formData:r})}}const Dje={document:Cje},si=ie.observable({open:!1,go(t,e={}){return vs.push({name:t,params:e})}});/*!
546
546
  * vuex v3.6.2
547
547
  * (c) 2021 Evan You
548
548
  * @license MIT
549
- */function $je(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:n});else{var r=t.prototype._init;t.prototype._init=function(a){a===void 0&&(a={}),a.init=a.init?[n].concat(a.init):n,r.call(this,a)}}function n(){var a=this.$options;a.store?this.$store=typeof a.store=="function"?a.store():a.store:a.parent&&a.parent.$store&&(this.$store=a.parent.$store)}}var Aje=typeof window<"u"?window:typeof global<"u"?global:{},eu=Aje.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Rje(t){!eu||(t._devtoolHook=eu,eu.emit("vuex:init",t),eu.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(e,r){eu.emit("vuex:mutation",e,r)},{prepend:!0}),t.subscribeAction(function(e,r){eu.emit("vuex:action",e,r)},{prepend:!0}))}function tu(t,e){Object.keys(t).forEach(function(r){return e(t[r],r)})}function Eq(t){return t!==null&&typeof t=="object"}function Ije(t){return t&&typeof t.then=="function"}function Nje(t,e){return function(){return t(e)}}var dn=function(e,r){this.runtime=r,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=(typeof n=="function"?n():n)||{}},Mq={namespaced:{configurable:!0}};Mq.namespaced.get=function(){return!!this._rawModule.namespaced},dn.prototype.addChild=function(e,r){this._children[e]=r},dn.prototype.removeChild=function(e){delete this._children[e]},dn.prototype.getChild=function(e){return this._children[e]},dn.prototype.hasChild=function(e){return e in this._children},dn.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)},dn.prototype.forEachChild=function(e){tu(this._children,e)},dn.prototype.forEachGetter=function(e){this._rawModule.getters&&tu(this._rawModule.getters,e)},dn.prototype.forEachAction=function(e){this._rawModule.actions&&tu(this._rawModule.actions,e)},dn.prototype.forEachMutation=function(e){this._rawModule.mutations&&tu(this._rawModule.mutations,e)},Object.defineProperties(dn.prototype,Mq);var po=function(e){this.register([],e,!1)};po.prototype.get=function(e){return e.reduce(function(r,n){return r.getChild(n)},this.root)},po.prototype.getNamespace=function(e){var r=this.root;return e.reduce(function(n,a){return r=r.getChild(a),n+(r.namespaced?a+"/":"")},"")},po.prototype.update=function(e){Sq([],this.root,e)},po.prototype.register=function(e,r,n){var a=this;n===void 0&&(n=!0);var i=new dn(r,n);if(e.length===0)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}r.modules&&tu(r.modules,function(s,u){a.register(e.concat(u),s,n)})},po.prototype.unregister=function(e){var r=this.get(e.slice(0,-1)),n=e[e.length-1],a=r.getChild(n);!a||!a.runtime||r.removeChild(n)},po.prototype.isRegistered=function(e){var r=this.get(e.slice(0,-1)),n=e[e.length-1];return r?r.hasChild(n):!1};function Sq(t,e,r){if(e.update(r),r.modules)for(var n in r.modules){if(!e.getChild(n))return;Sq(t.concat(n),e.getChild(n),r.modules[n])}}var gr,qr=function(e){var r=this;e===void 0&&(e={}),!gr&&typeof window<"u"&&window.Vue&&zje(window.Vue);var n=e.plugins;n===void 0&&(n=[]);var a=e.strict;a===void 0&&(a=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new po(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new gr,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,s=o.dispatch,u=o.commit;this.dispatch=function(m,f){return s.call(i,m,f)},this.commit=function(m,f,p){return u.call(i,m,f,p)},this.strict=a;var l=this._modules.root.state;fp(this,l,[],this._modules.root),Dk(this,l),n.forEach(function(c){return c(r)});var d=e.devtools!==void 0?e.devtools:gr.config.devtools;d&&Rje(this)},Ck={state:{configurable:!0}};Ck.state.get=function(){return this._vm._data.$$state},Ck.state.set=function(t){},qr.prototype.commit=function(e,r,n){var a=this,i=mp(e,r,n),o=i.type,s=i.payload,u={type:o,payload:s},l=this._mutations[o];!l||(this._withCommit(function(){l.forEach(function(c){c(s)})}),this._subscribers.slice().forEach(function(d){return d(u,a.state)}))},qr.prototype.dispatch=function(e,r){var n=this,a=mp(e,r),i=a.type,o=a.payload,s={type:i,payload:o},u=this._actions[i];if(!!u){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(s,n.state)})}catch{}var l=u.length>1?Promise.all(u.map(function(d){return d(o)})):u[0](o);return new Promise(function(d,c){l.then(function(m){try{n._actionSubscribers.filter(function(f){return f.after}).forEach(function(f){return f.after(s,n.state)})}catch{}d(m)},function(m){try{n._actionSubscribers.filter(function(f){return f.error}).forEach(function(f){return f.error(s,n.state,m)})}catch{}c(m)})})}},qr.prototype.subscribe=function(e,r){return Oq(e,this._subscribers,r)},qr.prototype.subscribeAction=function(e,r){var n=typeof e=="function"?{before:e}:e;return Oq(n,this._actionSubscribers,r)},qr.prototype.watch=function(e,r,n){var a=this;return this._watcherVM.$watch(function(){return e(a.state,a.getters)},r,n)},qr.prototype.replaceState=function(e){var r=this;this._withCommit(function(){r._vm._data.$$state=e})},qr.prototype.registerModule=function(e,r,n){n===void 0&&(n={}),typeof e=="string"&&(e=[e]),this._modules.register(e,r),fp(this,this.state,e,this._modules.get(e),n.preserveState),Dk(this,this.state)},qr.prototype.unregisterModule=function(e){var r=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=$k(r.state,e.slice(0,-1));gr.delete(n,e[e.length-1])}),Cq(this)},qr.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)},qr.prototype.hotUpdate=function(e){this._modules.update(e),Cq(this,!0)},qr.prototype._withCommit=function(e){var r=this._committing;this._committing=!0,e(),this._committing=r},Object.defineProperties(qr.prototype,Ck);function Oq(t,e,r){return e.indexOf(t)<0&&(r&&r.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function Cq(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var r=t.state;fp(t,r,[],t._modules.root,!0),Dk(t,r,e)}function Dk(t,e,r){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var a=t._wrappedGetters,i={};tu(a,function(s,u){i[u]=Nje(s,t),Object.defineProperty(t.getters,u,{get:function(){return t._vm[u]},enumerable:!0})});var o=gr.config.silent;gr.config.silent=!0,t._vm=new gr({data:{$$state:e},computed:i}),gr.config.silent=o,t.strict&&Uje(t),n&&(r&&t._withCommit(function(){n._data.$$state=null}),gr.nextTick(function(){return n.$destroy()}))}function fp(t,e,r,n,a){var i=!r.length,o=t._modules.getNamespace(r);if(n.namespaced&&(t._modulesNamespaceMap[o],t._modulesNamespaceMap[o]=n),!i&&!a){var s=$k(e,r.slice(0,-1)),u=r[r.length-1];t._withCommit(function(){gr.set(s,u,n.state)})}var l=n.context=Lje(t,o,r);n.forEachMutation(function(d,c){var m=o+c;Fje(t,m,d,l)}),n.forEachAction(function(d,c){var m=d.root?c:o+c,f=d.handler||d;jje(t,m,f,l)}),n.forEachGetter(function(d,c){var m=o+c;Vje(t,m,d,l)}),n.forEachChild(function(d,c){fp(t,e,r.concat(c),d,a)})}function Lje(t,e,r){var n=e==="",a={dispatch:n?t.dispatch:function(i,o,s){var u=mp(i,o,s),l=u.payload,d=u.options,c=u.type;return(!d||!d.root)&&(c=e+c),t.dispatch(c,l)},commit:n?t.commit:function(i,o,s){var u=mp(i,o,s),l=u.payload,d=u.options,c=u.type;(!d||!d.root)&&(c=e+c),t.commit(c,l,d)}};return Object.defineProperties(a,{getters:{get:n?function(){return t.getters}:function(){return Wje(t,e)}},state:{get:function(){return $k(t.state,r)}}}),a}function Wje(t,e){if(!t._makeLocalGettersCache[e]){var r={},n=e.length;Object.keys(t.getters).forEach(function(a){if(a.slice(0,n)===e){var i=a.slice(n);Object.defineProperty(r,i,{get:function(){return t.getters[a]},enumerable:!0})}}),t._makeLocalGettersCache[e]=r}return t._makeLocalGettersCache[e]}function Fje(t,e,r,n){var a=t._mutations[e]||(t._mutations[e]=[]);a.push(function(o){r.call(t,n.state,o)})}function jje(t,e,r,n){var a=t._actions[e]||(t._actions[e]=[]);a.push(function(o){var s=r.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},o);return Ije(s)||(s=Promise.resolve(s)),t._devtoolHook?s.catch(function(u){throw t._devtoolHook.emit("vuex:error",u),u}):s})}function Vje(t,e,r,n){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(i){return r(n.state,n.getters,i.state,i.getters)})}function Uje(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function $k(t,e){return e.reduce(function(r,n){return r[n]},t)}function mp(t,e,r){return Eq(t)&&t.type&&(r=e,e=t,t=t.type),{type:t,payload:e,options:r}}function zje(t){gr&&t===gr||(gr=t,$je(gr))}var Dq=Rk(function(t,e){var r={};return Ak(e).forEach(function(n){var a=n.key,i=n.val;r[a]=function(){var s=this.$store.state,u=this.$store.getters;if(t){var l=Ik(this.$store,"mapState",t);if(!l)return;s=l.context.state,u=l.context.getters}return typeof i=="function"?i.call(this,s,u):s[i]},r[a].vuex=!0}),r}),ho=Rk(function(t,e){var r={};return Ak(e).forEach(function(n){var a=n.key,i=n.val;i=t+i,r[a]=function(){if(!(t&&!Ik(this.$store,"mapGetters",t)))return this.$store.getters[i]},r[a].vuex=!0}),r}),vo=Rk(function(t,e){var r={};return Ak(e).forEach(function(n){var a=n.key,i=n.val;r[a]=function(){for(var s=[],u=arguments.length;u--;)s[u]=arguments[u];var l=this.$store.dispatch;if(t){var d=Ik(this.$store,"mapActions",t);if(!d)return;l=d.context.dispatch}return typeof i=="function"?i.apply(this,[l].concat(s)):l.apply(this.$store,[i].concat(s))}}),r});function Ak(t){return Bje(t)?Array.isArray(t)?t.map(function(e){return{key:e,val:e}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function Bje(t){return Array.isArray(t)||Eq(t)}function Rk(t){return function(e,r){return typeof e!="string"?(r=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,r)}}function Ik(t,e,r){var n=t._modulesNamespaceMap[r];return n}const fvt="";function we(t,e,r,n,a,i,o,s){var u=typeof t=="function"?t.options:t;e&&(u.render=e,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId="data-v-"+i);var l;if(o?(l=function(m){m=m||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!m&&typeof __VUE_SSR_CONTEXT__<"u"&&(m=__VUE_SSR_CONTEXT__),a&&a.call(this,m),m&&m._registeredComponents&&m._registeredComponents.add(o)},u._ssrRegister=l):a&&(l=s?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(u.functional){u._injectStyles=l;var d=u.render;u.render=function(f,p){return l.call(p),d(f,p)}}else{var c=u.beforeCreate;u.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:u}}const Hje={props:{size:{type:String,default:"40px"},strokeWidth:{type:Number,default:6},color:{type:String,default:""}}};var qje=function(e,r){return e("svg",{staticClass:"spinner spinner--circle inline-block",class:[r.props.color],style:{width:r.props.size,height:r.props.size,lineHeight:r.props.size,...r.data.staticStyle},attrs:{viewBox:"0 0 66 66",xmlns:"http://www.w3.org/2000/svg"}},[e("circle",{staticClass:"path",attrs:{fill:"none","stroke-width":r.props.strokeWidth,"stroke-linecap":"round",cx:"33",cy:"33",r:"30"}})])},Yje=[],Gje=we(Hje,qje,Yje,!0,null,"e75ff764",null,null);const Kje=Gje.exports,mvt="",Xje={name:"UserMessages",components:{Spinner:Kje},props:{notification:{type:Object,default:()=>({message:"",time:null,type:"error",actions:[],closeButton:!0})},index:{type:Number,default:null}},data(){return{timer:null,displayTimer:null,countDownInterval:null}},async mounted(){!this.notification||(this.notification.time&&await this.addTimer(this.notification.time),this.notification.type==="countdown"&&this.startCountDown(Math.round(this.notification.time/1e3)))},beforeDestroy(){this.countDownInterval&&this.stopCountDown()},methods:{...vo("application",{clearMessage:"CLEAR_MESSAGE",triggerAction:"MESSAGE_ACTION"}),close(){this.clearMessage(this.index)},async addTimer(t){if(typeof this.notification.time=="function"){await this.notification.time()==="close"&&this.close();return}const e=()=>this.clearMessage(this.index);this.timer=setTimeout(e,t)},clearTimer(){!this.timer||clearTimeout(this.timer)},onMouseOver(){this.clearTimer()},onMouseOut(){this.notification.time,this.addTimer(3e3)},onActionClick(t){this.triggerAction({index:this.index,type:t}),this.clearMessage(this.index)},startCountDown(t){this.displayTimer=t,this.countDownInterval=setInterval(()=>{this.displayTimer===0&&this.stopCountDown(),this.displayTimer-=1},1e3)},stopCountDown(){clearInterval(this.countDownInterval)}}};var Jje=function(){var e=this,r=e._self._c;return r("transition",{attrs:{name:"notification-slide",appear:""}},[r("div",{staticClass:"n-wrapper c-flex-row c-align-center",class:[e.notification.type]},[r("div",{class:["notification",e.notification.type,{"has-close-button":e.notification.closeButton}],on:{"mouse-over":e.onMouseOver,"mouse-leave":e.onMouseOut}},[r("div",{staticClass:"icon"},[e.notification.type==="success"?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[r("path",{attrs:{d:"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"}})]):e.notification.type==="error"?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[r("polygon",{attrs:{points:"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"}}),r("line",{attrs:{x1:"12",y1:"8",x2:"12",y2:"12"}}),r("line",{attrs:{x1:"12",y1:"16",x2:"12",y2:"16"}})]):e.notification.type==="warning"?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[r("path",{attrs:{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}}),r("line",{attrs:{x1:"12",y1:"9",x2:"12",y2:"13"}}),r("line",{attrs:{x1:"12",y1:"17",x2:"12",y2:"17"}})]):["spinner","countdown"].includes(e.notification.type)?r("Spinner",{attrs:{size:"18px",color:"white","stroke-width":8}}):r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[r("path",{attrs:{d:"M22 17H2a3 3 0 0 0 3-3V9a7 7 0 0 1 14 0v5a3 3 0 0 0 3 3zm-8.27 4a2 2 0 0 1-3.46 0"}})])],1),r("div",{staticClass:"content"},[e._v(" "+e._s(e.notification.message)+" ")]),e.notification.type==="countdown"?r("div",{staticClass:"countdown-text"},[e._v(" "+e._s(e.$t("time.secondsLeft",{time:e.displayTimer}))+" ")]):e._e(),e.notification.actions&&e.notification.actions.submit?r("div",{staticClass:"undo-button",on:{click:function(n){return n.preventDefault(),e.onActionClick("submit")}}},[e._v(" "+e._s(e.notification.actions.submit.text)+" ")]):e._e(),e.notification.closeButton?r("div",{staticClass:"close-button",on:{click:function(n){return n.preventDefault(),e.close.apply(null,arguments)}}},[r("BaseIcon",{attrs:{type:"x",size:"15"}})],1):e._e(),e.notification.actions&&e.notification.actions.undo?r("div",{staticClass:"undo-button",on:{click:function(n){return n.preventDefault(),e.onActionClick("undo")}}},[e._v(" "+e._s(e.notification.actions.undo.text||e.$t("undo"))+" ")]):e._e()])])])},Qje=[],Zje=we(Xje,Jje,Qje,!1,null,"a770b933",null,null);const e5e=Zje.exports,pvt="",t5e={name:"Dialog",props:{dialog:{type:Object,default:()=>({type:""})},index:{type:Number,default:null}},data(){return{name:"dialog-modal"}},computed:{hasSubmit(){const{submit:t}=this.dialog.actions||{};return typeof t=="object"&&!Array.isArray(t)},submitText(){const{submit:t={}}=this.dialog.actions||{};return t.text||this.$t("continue")},submitType(){return this.dialog.type||"danger"},hasCancel(){const{cancel:t}=this.dialog.actions||{};return typeof t=="object"&&!Array.isArray(t)},cancelText(){const{cancel:t={}}=this.dialog.actions||{};return t.text||this.$t("cancel")}},mounted(){this.$modal.show(this.name),setTimeout(()=>{this.$refs.action&&this.$refs.action.$el.focus()},100),window.addEventListener("keyup",this.handleEscapeKeyUp)},beforeDestroy(){this.$modal.hide(this.name),window.removeEventListener("keyup",this.handleEscapeKeyUp)},methods:{...vo("application",{clearMessage:"CLEAR_MESSAGE",triggerAction:"MESSAGE_ACTION"}),onMessageAction(t){this.triggerAction({index:this.index,type:t}),this.clearMessage(this.index),this.$modal.hide(this.name)},handleEscapeKeyUp(t){t.which===27&&this.onMessageAction("cancel")}}};var r5e=function(){var e=this,r=e._self._c;return r("modal",{staticClass:"transition-fix",staticStyle:{"z-index":"99999999"},attrs:{classes:["v--modal",e.name,"bg-white rounded-xl shadow-2xl py-4 px-4 duration-100 border border-gray-200"],adaptive:!0,width:"90%","max-width":380,scrollable:!1,height:"auto","click-to-close":!1,transition:"modal-pop",name:"dialog-modal"}},[r("div",{staticClass:"p-2 mb-6 text-base font-normal text-gray-700 select-none"},[e.dialog.title?r("div",{staticClass:"text-md font-bold mb-1"},[e._v(" "+e._s(e.dialog.title)+" ")]):e._e(),r("div",{staticClass:"text-sm"},[e._v(" "+e._s(e.dialog.message)+" ")])]),r("div",{staticClass:"button-row flex justify-end"},[e.hasCancel?r("CButton",{attrs:{type:"none",pattern:"tertiary",tabindex:"-1",size:"small",taller:""},on:{click:function(n){return e.onMessageAction("cancel")}}},[e._v(" "+e._s(e.cancelText)+" ")]):e._e(),e.hasSubmit?r("CButton",{ref:"action",staticStyle:{"margin-left":"1rem"},attrs:{type:e.submitType,tabindex:"0",size:"small",taller:""},on:{click:function(n){return e.onMessageAction("submit")}}},[e._v(" "+e._s(e.submitText)+" ")]):e._e()],1)])},n5e=[],a5e=we(t5e,r5e,n5e,!1,null,null,null,null);const i5e=a5e.exports,o5e={name:"UserMessages",components:{Notification:e5e,Dialog:i5e},computed:{notification(){const{messages:t}=this.$store.state.application,e=t.findIndex(r=>r.displayType==="notification");return e!==-1&&{index:e,data:t[e]}},dialog(){const{messages:t}=this.$store.state.application,e=t.findIndex(r=>r.displayType==="dialog");return e!==-1&&{index:e,data:t[e]}}}};var s5e=function(){var e=this,r=e._self._c;return r("div",[e.notification?r("Notification",{key:e.notification.data&&e.notification.data._uniqueId,attrs:{notification:e.notification.data,index:e.notification.index}}):e._e(),e.dialog?r("Dialog",{key:e.dialog.data&&e.dialog.data._uniqueId,attrs:{dialog:e.dialog.data,index:e.dialog.index}}):e._e()],1)},u5e=[],l5e=we(o5e,s5e,u5e,!1,null,null,null,null);const d5e=l5e.exports,c5e={props:{value:{type:Boolean,default:!1},type:{type:String,default:"modal",validator(t){return["modal","drawer"].includes(t)}},placement:{type:String,default:"center",validator(t){return["left","top","center","right","bottom"].includes(t)}},width:{type:[Number,String],default:"100%"},maxWidth:{type:[Number,String],default:"100%"},height:{type:[Number,String],default:"100%"},maxHeight:{type:[Number,String],default:"100%"}},data(){return{showContent:!1}},computed:{isModal(){return this.type==="modal"},computedHeight(){return this.isModal||["bottom","top"].includes(this.placement)?this.height:""},computedWidth(){return typeof this.width=="number"?`${this.width}px`:this.width},placementClasses(){return{center:"justify-center items-center",top:"justify-center items-start",right:"justify-end items-stretch",bottom:"justify-center items-end",left:"justify-start items-stretch"}[this.placement]},transitionClasses(){let t={enterActive:"transition-all transform ease-out duration-150",leaveActive:"transition-all transform ease-in duration-150"};return this.isModal?t={enterActive:"transition-all transform ease-out duration-150",enter:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leaveActive:"transition-all transform ease-out duration-150",leave:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}:this.placement==="right"&&(console.log("abc"),t={enterActive:"transition-all transform ease-out duration-200",enter:"translate-x-full",enterTo:"translate-x-0",leaveActive:"transition-all transform ease-out duration-200",leave:"translate-x-0",leaveTo:"translate-x-full"}),t}}};var f5e=function(){var e=this,r=e._self._c;return r("transition",{attrs:{appear:"","enter-active-class":"transition-all ease-out duration-200","enter-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition-opacity ease-out duration-200","leave-class":"opacity-100","leave-to-class":"opacity-0"},on:{"before-enter":function(n){e.showContent=!0}}},[e.value?r("div",{staticClass:"fixed z-0 inset-0 overflow-y-auto bg-gray-700 bg-opacity-50",attrs:{"aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"}},[r("div",{staticClass:"flex items-end justify-center min-h-full pt-4 px-4 pb-20 text-center sm:block sm:p-0"},[r("span",{staticClass:"hidden sm:inline-block sm:align-middle sm:h-full",attrs:{"aria-hidden":"true"}},[e._v("\u200B")]),r("div",{staticClass:"fixed inset-0 z-10 overflow-y-auto"},[r("div",{staticClass:"flex min-h-full text-left overflow-hidden",class:[e.placementClasses],on:{click:function(n){return n.target!==n.currentTarget?null:(()=>e.showContent=!1).apply(null,arguments)}}},[r("transition",{attrs:{appear:"","enter-active-class":e.transitionClasses.enterActive,"enter-class":e.transitionClasses.enter,"enter-to-class":e.transitionClasses.enterTo,"leave-active-class":e.transitionClasses.leaveActive,"leave-class":e.transitionClasses.leave,"leave-to-class":e.transitionClasses.leaveTo},on:{"before-leave":function(n){return e.$emit("input",!1)}}},[e.showContent?r("div",{staticClass:"relative transform overflow-hidden shadow-xl transition-all bg-white",class:{"rounded-lg":e.isModal},style:[{height:e.computedHeight,width:e.computedWidth},!e.isModal&&{"--tw-shadow":`0 ${e.placement==="right"?10:-10}px 20px 10px hsla(0, 0%, 0%, 0.15)`}]},[e._t("default")],2):e._e()])],1)])])]):e._e()])},m5e=[],p5e=we(c5e,f5e,m5e,!1,null,null,null,null);const h5e=p5e.exports,hvt="",v5e={components:{UserMessages:d5e,ViewContainer:h5e},data(){return{ui:si}},computed:{...Cw("route",{mode:t=>{var e;return(e=t.meta)==null?void 0:e.mode},placement:t=>{var e;return(e=t.meta)==null?void 0:e.placement},width:t=>{var e;return(e=t.meta)==null?void 0:e.width}})}};var g5e=function(){var e=this,r=e._self._c;return r("div",{staticClass:"fixed inset-0 overflow-hidden h-full w-full",class:{"pointer-events-none":!e.ui.open},attrs:{id:"Cling-app"}},[r("ViewContainer",{key:e.$route.name,staticClass:"pointer-events-auto",attrs:{type:e.mode,placement:e.placement,width:e.width},model:{value:e.ui.open,callback:function(n){e.$set(e.ui,"open",n)},expression:"ui.open"}},[r("router-view")],1),r("UserMessages"),r("modals-container")],1)},y5e=[],_5e=we(v5e,g5e,y5e,!1,null,null,null,null);const b5e=_5e.exports,w5e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function x5e(t){return Object.keys(t).map(e=>`${e}="${t[e]}"`).join(" ")}class P5e{constructor(e,r,n=[]){this.name=e,this.contents=r,this.tags=n,this.attrs={...w5e,class:`feather feather-${e}`}}toSvg(e={}){const r={...this.attrs,...e,class:`${this.attrs.class} ${e.class}`};return`<svg ${x5e(r)}>${this.contents}</svg>`}toString(){return this.contents}}const $q={empty:"<path></path>","chevrons-right":'<polyline points="13 17 18 12 13 7"></polyline><polyline points="6 17 11 12 6 7"></polyline>',info:'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line>',plus:'<line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line>',"plus-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="16"></line><line x1="8" y1="12" x2="16" y2="12"></line>',minus:'<line x1="5" y1="12" x2="19" y2="12"></line>',email:'<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline>',warning:'<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line>',trash:'<polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path>',edit:'<path d="M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34"></path><polygon points="18 2 22 6 12 16 8 16 8 12 18 2"></polygon>',lock:'<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path>',x:'<line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line>',"user-add":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="20" y1="8" x2="20" y2="14"></line><line x1="23" y1="11" x2="17" y2="11"></line>',zap:'<polygon points="6 2 3 14 10 14 9 23 21 9 12 9 15 2"></polygon>',handle:'<circle cx="8" cy="12" r="1"></circle><circle cx="8" cy="5" r="1"></circle><circle cx="8" cy="19" r="1"></circle><circle cx="15" cy="12" r="1"></circle><circle cx="15" cy="5" r="1"></circle><circle cx="15" cy="19" r="1"></circle>',cog:'<circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path>',"corner-down-left":'<polyline points="9 10 4 15 9 20"></polyline><path d="M20 4v7a4 4 0 0 1-4 4H4"></path>',"check-square":'<polyline points="9 11 12 14 22 4"></polyline><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"></path>',template:'<path d="M13.1288235 8.96823529L7.64823529 18.1176471c-.22993777.3981997-.23131063.8885068-.00360637 1.2879879.22770427.3994812.65028474.6481349 1.11007696.6531885H19.7158824c.4597922-.0050536.8823726-.2537073 1.1100769-.6531885.2277043-.3994811.2263314-.8897882-.0036064-1.2879879l-5.4805882-9.14941181c-.2346013-.38675914-.6541207-.622952-1.1064706-.622952-.4523499 0-.8718693.23619286-1.1064706.622952zM9.52035111 1.52159478C8.8745304 1.30537258 8.18329779 1.188235 7.46470624 1.188235 3.89109903 1.188235.994118 4.08521603.994118 7.65882324c0 3.26867116 2.42367552 5.97126256 5.57193953 6.40868706"/><path d="M8.6634487 11.52342624L6.89650942 6.08534626c-.22086107-.67974048.1511342-1.40982229.83087467-1.63068336l8.61545314-2.79933041c.67974054-.2208611 1.40982235.15113417 1.63068342.83087465l2.79933043 8.61545318c.20002516.61561413-.086223 1.2725192-.6469517 1.5550493"/>',"template-color":'<g fill="none" stroke="none" fill-rule="evenodd"><path fill="#3CD740" d="M7.20527962 6.31188761C6.64248136 6.10988982 6.03696274 6 5.40621512 6 2.42045261 6 0 8.46243776 0 11.5000057 0 14.5375966 2.42045261 17 5.40621512 17c1.78482731 0 3.38970782-.9439359 4.37423872-2.3006513l-4.03718867-.690644 1.46201445-7.69681709z"/><path fill="#299DFF" d="M8.79874995 3L7 13.2257595l4.8157688.8511636L16 7l2.0689267 3.6486439L19 4.80307079z"/><path fill="#E60DFF" d="M10 19.2989721L16 9l6 10.2989721z"/></g>',archive:'<polyline points="21 8 21 21 3 21 3 8"></polyline><rect x="1" y="3" width="22" height="5"></rect><line x1="10" y1="12" x2="14" y2="12"></line>',search:'<circle cx="11" cy="11" r="8"></circle><line x1="20" y1="20" x2="16.65" y2="16.65"></line>',loader:'<line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></line>',paper:'<path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline>',"paper-text":'<path d="M14 2H6a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V8l-6-6z"/><path d="M14 3v5h5M16 13H8M16 17H8M10 9H8"/>',"paper-plus":'<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="12" y1="18" x2="12" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line>',user:'<path d="M5.52 19c.64-2.2 1.84-3 3.22-3h6.52c1.38 0 2.58.8 3.22 3"/><circle cx="12" cy="10" r="3"/><circle cx="12" cy="12" r="10"/>',person:'<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle>',"arrow-down":'<path d="M12 5v13M5 12l7 7 7-7"/>',"arrow-up":'<path d="M12 19V6M5 12l7-7 7 7"/>',command:'<path d="M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"></path>',"chevron-left":'<polyline points="14 18 8 12 14 6"></polyline>',"chevron-right":'<path d="M9 18l6-6-6-6"/>',"chevron-down":'<polyline points="6 9 12 15 18 9"></polyline>',"chevron-up-down":'<polyline points="17 8 12 3 7 8"></polyline><polyline points="17 15 12 20 7 15"></polyline>',"chevron-up":'<path d="M18 15l-6-6-6 6"/>',folder:'<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path>',dollar:'<line x1="12" y1="1" x2="12" y2="23"></line><path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"></path>',eye:'<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle>',check:'<polyline points="20 6 9 17 4 12"></polyline>',send:'<line x1="22" y1="11" x2="8" y2="11"></line><polygon points="22 11 4 20 8 11 4 2 22 11"></polygon>',bell:'<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path>',alert:'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line>',"alert-triangle":'<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line>',inbox:'<polyline points="22 12 16 12 14 15 10 15 8 12 2 12"></polyline><path d="M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path>',tool:'<path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"></path>',"circle-status":'<circle cx="12" cy="12" r="11" fill="currentColor" opacity="0.5"></circle><circle cx="12" cy="12" r="4" fill="currentColor"></circle>',circle:'<circle cx="12" cy="12" r="10"></circle>',square:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>',calendar:'<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>',clock:'<circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline>',"new-window":'<g fill="none" fill-rule="evenodd"><path d="M18 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8c0-1.1.9-2 2-2h5M15 3h6v6M10 14L20.2 3.8"/></g>',"upload-cloud":'<polyline points="16 16 12 12 8 16"></polyline><line x1="12" y1="12" x2="12" y2="21"></line><path d="M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"></path><polyline points="16 16 12 12 8 16"></polyline>',"more-vertical":'<circle cx="12" cy="12" r="1"></circle><circle cx="12" cy="5" r="1"></circle><circle cx="12" cy="19" r="1"></circle>',"more-horizontal":'<circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle>',copy:'<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>',print:'<polyline points="6 9 6 2 18 2 18 9"></polyline><path d="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"></path><rect x="6" y="14" width="12" height="8"></rect>',"pen-tool":'<path d="M12 19l7-7 3 3-7 7-3-3z"></path><path d="M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z"></path><path d="M2 2l7.586 7.586"></path><circle cx="11" cy="11" r="2"></circle>',sort:'<line x1="6" y1="16" x2="8" y2="16"></line><line x1="6" y1="10" x2="14" y2="10"></line><line x1="6" y1="4" x2="20" y2="4"></line>',"square-filled-check":'<path fill="#currentColor" stroke="none" fill-rule="nonzero" d="M7 3h10c2.209139 0 4 1.790861 4 4v10c0 2.209139-1.790861 4-4 4H7c-2.209139 0-4-1.790861-4-4V7c0-2.209139 1.790861-4 4-4zm1.08963645 8.479072c-.2954885-.1600713-.65162073-.1610177-.94795577-.0025191l-.43065247.2303401c-.07620551.0407595-.14427685.0951688-.2008263.1605199-.25504929.2947468-.22286811.7404446.07187866.9954938l3.84044413 3.3232002a1.0000081 1.0000081 0 00.0946803.0725235c.4576881.3090956 1.079289.1886376 1.3883846-.2690505l5.1003142-7.55220409c.2865705-.42433447.2063135-.99658014-.18593-1.3257115l-.0020995-.00176176c-.3854696-.32344738-.9583065-.28155332-1.292616.09453464l-4.9815245 5.60406241-2.45409735-1.3294276z"/>',"colored-dots":'<circle cx="6" cy="6" r="4" stroke="none" fill="red"></circle><circle cx="18" cy="6" r="4" stroke="none" fill="#ff7a14"></circle><circle cx="6" cy="18" r="4" stroke="none" fill="#2bb8d4"></circle><circle cx="18" cy="18" r="4" stroke="none" fill="#3352ff"></circle>',"arrow-left":'<line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline>',"arrow-right":'<line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline>',meh:'<circle cx="12" cy="12" r="10"></circle><line x1="8" y1="15" x2="16" y2="15"></line><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>',link:'<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path><',save:'<path d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"></path><polyline points="17 21 17 13 7 13 7 21"></polyline><polyline points="7 3 7 8 15 8"></polyline>',hash:'<line x1="4" y1="9" x2="20" y2="9"></line><line x1="4" y1="15" x2="20" y2="15"></line><line x1="10" y1="3" x2="8" y2="21"></line><line x1="16" y1="3" x2="14" y2="21"></line>',crown:'<path d="M2 4L5 16H19L22 4L16 11L12 4L8 11L2 4ZM5 20H19" />',lamp:'<path d="M9 17v3c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-3M15 16.59c0-.77.46-1.45 1.09-1.9a7 7 0 1 0-8.18 0A2.41 2.41 0 0 1 9 16.58V17h6v-.41zM12 17v-5m-2 0h4" />',"paper-invoice":'<path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z"/><path d="M14 2v6h6M10 8H8M10 5H8m0 7h8v3.46H8zm8 7h-2"/>',drop:'<path d="M12,21 C15.3137085,21 18,18.3904147 18,15 C18,11.6666667 16,8 12,4 C8,8 6,11.6666667 6,15 C6,18.3904147 8.6862915,21 12,21 Z"></path>',upload:'<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line>',star:'<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon>',logout:'<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line>',linkedin:'<path fill="currentColor" stroke="none" d="M22.23 0H1.77C.8 0 0 .77 0 1.72v20.56C0 23.23.8 24 1.77 24h20.46c.98 0 1.77-.77 1.77-1.72V1.72C24 .77 23.2 0 22.23 0zM7.27 20.1H3.65V9.24h3.62V20.1zM5.47 7.76h-.03c-1.22 0-2-.83-2-1.87 0-1.06.8-1.87 2.05-1.87 1.24 0 2 .8 2.02 1.87 0 1.04-.78 1.87-2.05 1.87zM20.34 20.1h-3.63v-5.8c0-1.45-.52-2.45-1.83-2.45-1 0-1.6.67-1.87 1.32-.1.23-.11.55-.11.88v6.05H9.28s.05-9.82 0-10.84h3.63v1.54a3.6 3.6 0 0 1 3.26-1.8c2.39 0 4.18 1.56 4.18 4.89v6.21z"></path>',shield:'<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path>',"rotate-left":'<path d="M2.5 2v6h6M2.66 15.57a10 10 0 1 0 .57-8.38"/>',image:'<rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M20.4 14.5L16 10 4 20"/>',textType:'<polyline points="4 7 4 4 20 4 20 7"></polyline><line x1="9" y1="20" x2="15" y2="20"></line><line x1="12" y1="4" x2="12" y2="20"></line>',percent:'<line x1="19" y1="5" x2="5" y2="19"></line><circle cx="6.5" cy="6.5" r="2.5"></circle><circle cx="17.5" cy="17.5" r="2.5"></circle>',desktop:'<rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect><line x1="8" y1="21" x2="16" y2="21"></line><line x1="12" y1="17" x2="12" y2="21"></line>',tablet:'<rect x="4" y="2" width="16" height="20" rx="2" ry="2" /><line x1="12" y1="18" x2="12.01" y2="18" />',mobile:'<rect x="6" y="4" width="12" height="18" rx="2" ry="2"></rect><line x1="12" y1="18" x2="12.01" y2="18"></line>',phone:'<path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',codesandbox:'<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="7.5 4.21 12 6.81 16.5 4.21"></polyline><polyline points="7.5 19.79 7.5 14.6 3 12"></polyline><polyline points="21 12 16.5 14.6 16.5 19.79"></polyline><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line>',help:'<circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line>',reset:'<path d="M2.5 2v6h6M2.66 15.57a10 10 0 1 0 .57-8.38"/>',company:'<path d="M4 19L4 5H14.5V11.5M14.5 19V11.5M14.5 11.5H20V19" stroke="currentColor" stroke-linecap="butt" /><line x1="7.75" y1="7.5" x2="7.75" y2="9.5" stroke="currentColor" stroke-linecap="butt" /><line x1="10.75" y1="7.5" x2="10.75" y2="9.5" stroke="currentColor" stroke-linecap="butt" /><line x1="7.75" y1="11.5" x2="7.75" y2="13.5" stroke="currentColor" stroke-linecap="butt" /><line x1="10.75" y1="11.5" x2="10.75" y2="13.5" stroke="currentColor" stroke-linecap="butt" /><line x1="7.75" y1="15.5" x2="7.75" y2="17.5" stroke="currentColor" stroke-linecap="butt" /><line x1="10.75" y1="15.5" x2="10.75" y2="17.5" stroke="currentColor" stroke-linecap="butt" />',pipedrive:'<path d="M10.57 5.38c-.06-.47-.37-1.04-1.6-1.04H6v2.58h1.21c.2 0 .26.1.26.28v12.91h3.3v-5.26c.84.7 1.9 1.1 3 1.08 3.1 0 5.1-2.46 5.1-5.97 0-3.57-1.94-5.96-5-5.96a4.3 4.3 0 0 0-3.3 1.38Zm2.7 1.42c1.5 0 2.5 1.29 2.5 3.2 0 2.2-1.27 3.17-2.54 3.17-1.7 0-2.48-1.63-2.48-3.14 0-2.39 1.3-3.23 2.52-3.23Z" fill="currentColor" stroke="none" />',hubspot:'<path d="M15.82 8.26V5.99a1.73 1.73 0 0 0 1-1.57v-.05c0-.96-.78-1.74-1.73-1.74h-.05c-.96 0-1.73.78-1.73 1.74v.05a1.75 1.75 0 0 0 1 1.57v2.27c-.86.13-1.66.48-2.33 1.03L5.82 4.46a1.97 1.97 0 0 0-1.13-2.3 1.93 1.93 0 0 0-2.65 1.42 1.98 1.98 0 0 0 .82 2.01 1.94 1.94 0 0 0 2.04.07l6.06 4.76a4.98 4.98 0 0 0 .08 5.57L9.2 17.85a1.6 1.6 0 0 0-2.06 1.54c0 .89.71 1.61 1.6 1.61a1.6 1.6 0 0 0 1.52-2.08l1.82-1.83a4.88 4.88 0 0 0 5.61.27 4.97 4.97 0 0 0-1.87-9.1Zm-.76 7.44a2.5 2.5 0 0 1-2.39-1.56 2.56 2.56 0 0 1 1.4-3.35c.32-.13.66-.19 1-.18a2.53 2.53 0 0 1 2.43 2.54c0 1.37-1.08 2.5-2.43 2.55" fill="currentColor" stroke="none" />',salesforce:'<path d="M10.15 6.64a3.93 3.93 0 0 1 6.19.8c.58-.26 1.23-.4 1.92-.4A4.7 4.7 0 0 1 23 11.69a4.7 4.7 0 0 1-5.67 4.57 3.49 3.49 0 0 1-4.55 1.4c-.6 1.37-2 2.34-3.64 2.34a3.96 3.96 0 0 1-3.71-2.52A3.64 3.64 0 0 1 1 13.94c0-1.34.74-2.51 1.84-3.14a3.99 3.99 0 0 1-.36-1.65A4.2 4.2 0 0 1 6.75 5a4.3 4.3 0 0 1 3.4 1.64Z" fill="currentColor" stroke="none" />',heart:'<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>',sidebar:'<rect x="1" y="4" width="22" height="16" rx="2" ry="2"></rect><line x1="8" y1="4" x2="8" y2="20"></line>',table:'<path d="M3 6.25A3.25 3.25 0 0 1 6.25 3h11.5A3.25 3.25 0 0 1 21 6.25v11.5A3.25 3.25 0 0 1 17.75 21H6.25A3.25 3.25 0 0 1 3 17.75V6.25ZM6.25 4.5A1.75 1.75 0 0 0 4.5 6.25V8.5h4v-4H6.25ZM4.5 10v4h4v-4h-4Zm5.5 0v4h4v-4h-4Zm5.5 0v4h4v-4h-4ZM14 15.5h-4v4h4v-4Zm1.5 4h2.25a1.75 1.75 0 0 0 1.75-1.75V15.5h-4v4Zm0-11h4V6.25a1.75 1.75 0 0 0-1.75-1.75H15.5v4Zm-1.5-4h-4v4h4v-4Zm-9.5 11v2.25c0 .966.784 1.75 1.75 1.75H8.5v-4h-4Z" fill="currentColor" stroke="none"/>',tableMergeCells:'<path d="M6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75H11v3H4.5V6.25Zm8 10.25h7v1.25a1.75 1.75 0 0 1-1.75 1.75H12.5v-3Zm7-9h-7v-3h5.25c.966 0 1.75.784 1.75 1.75V7.5Zm-8.5 9v3H6.25a1.75 1.75 0 0 1-1.75-1.75V16.5H11ZM4.5 9h15v6h-15V9Z" fill="currentColor" stroke="none"/>',tableSplitCells:'<path d="M12.5 10H11v4h1.5v-4Z" fill="currentColor" stroke="none"/><path d="M3 6.25A3.25 3.25 0 0 1 6.25 3h11.5A3.25 3.25 0 0 1 21 6.25v11.5A3.25 3.25 0 0 1 17.75 21H6.25A3.25 3.25 0 0 1 3 17.75V6.25ZM6.25 4.5A1.75 1.75 0 0 0 4.5 6.25V7.5H11v-3H6.25Zm13.25 12h-7v3h5.25a1.75 1.75 0 0 0 1.75-1.75V16.5Zm0-10.25a1.75 1.75 0 0 0-1.75-1.75H12.5v3h7V6.25ZM4.5 16.5v1.25c0 .966.784 1.75 1.75 1.75H11v-3H4.5Zm0-1.5h15V9h-15v6Z" fill="currentColor" stroke="none"/>',tableDeleteColumn:'<path d="M22 3.75a.75.75 0 0 0-.75-.75h-1A3.25 3.25 0 0 0 17 6.25v11.5A3.25 3.25 0 0 0 20.25 21h1a.75.75 0 0 0 0-1.5h-1a1.75 1.75 0 0 1-1.75-1.75V15.5h2.75a.75.75 0 0 0 0-1.5H18.5v-4h2.75a.75.75 0 0 0 0-1.5H18.5V6.25c0-.966.784-1.75 1.75-1.75h1a.75.75 0 0 0 .75-.75ZM2 3.75A.75.75 0 0 1 2.75 3h1A3.25 3.25 0 0 1 7 6.25v11.5A3.25 3.25 0 0 1 3.75 21h-1a.75.75 0 0 1 0-1.5h1a1.75 1.75 0 0 0 1.75-1.75V15.5H2.75a.75.75 0 0 1 0-1.5H5.5v-4H2.75a.75.75 0 0 1 0-1.5H5.5V6.25A1.75 1.75 0 0 0 3.75 4.5h-1A.75.75 0 0 1 2 3.75ZM10.94 12l-1.47 1.47a.75.75 0 1 0 1.06 1.06L12 13.06l1.47 1.47a.75.75 0 1 0 1.06-1.06L13.06 12l1.47-1.47a.75.75 0 1 0-1.06-1.06L12 10.94l-1.47-1.47a.75.75 0 1 0-1.06 1.06L10.94 12Z" fill="currentColor" stroke="none"/><path d="M11.25 8.727c.026.023.051.047.076.072l.674.674.674-.674c.025-.025.05-.049.076-.072V2.75a.75.75 0 0 0-1.5 0v5.977ZM11.25 15.523v5.727a.75.75 0 0 0 1.5 0v-5.727a1.826 1.826 0 0 1-.076-.072L12 14.777l-.674.674-.076.072Z" fill="currentColor" stroke="none"/>',tableDeleteRow:'<path d="M3.75 2a.75.75 0 0 0-.75.75v1A3.25 3.25 0 0 0 6.25 7h11.5A3.25 3.25 0 0 0 21 3.75v-1a.75.75 0 0 0-1.5 0v1a1.75 1.75 0 0 1-1.75 1.75H15.5V2.75a.75.75 0 0 0-1.5 0V5.5h-4V2.75a.75.75 0 0 0-1.5 0V5.5H6.25A1.75 1.75 0 0 1 4.5 3.75v-1A.75.75 0 0 0 3.75 2ZM3.75 22a.75.75 0 0 1-.75-.75v-1A3.25 3.25 0 0 1 6.25 17h11.5A3.25 3.25 0 0 1 21 20.25v1a.75.75 0 0 1-1.5 0v-1a1.75 1.75 0 0 0-1.75-1.75H15.5v2.75a.75.75 0 0 1-1.5 0V18.5h-4v2.75a.75.75 0 0 1-1.5 0V18.5H6.25a1.75 1.75 0 0 0-1.75 1.75v1a.75.75 0 0 1-.75.75ZM12 13.06l1.47 1.47a.75.75 0 1 0 1.06-1.06L13.06 12l1.47-1.47a.75.75 0 1 0-1.06-1.06L12 10.94l-1.47-1.47a.75.75 0 1 0-1.06 1.06L10.94 12l-1.47 1.47a.75.75 0 1 0 1.06 1.06L12 13.06Z" fill="currentColor" stroke="none"/><path d="M8.727 12.75c.023-.026.047-.051.072-.076L9.473 12l-.674-.674a1.845 1.845 0 0 1-.072-.076H2.75a.75.75 0 0 0 0 1.5h5.977ZM15.523 12.75h5.727a.75.75 0 0 0 0-1.5h-5.727a1.826 1.826 0 0 1-.072.076l-.674.674.674.674.072.076Z" fill="currentColor" stroke="none"/>',tableInsertColumn:'<path d="M4.5 3.75v16.5a.75.75 0 0 1-1.5 0V3.75a.75.75 0 0 1 1.5 0ZM14.25 3a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 14.25 21h-4.5a2.25 2.25 0 0 1-2.25-2.25V5.25A2.25 2.25 0 0 1 9.75 3h4.5ZM15 5.25a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0-.75.75V8.5h6V5.25ZM9 14h6v-4H9v4Zm0 1.5v3.25c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75V15.5H9ZM21 20.25V3.75a.75.75 0 0 0-1.5 0v16.5a.75.75 0 0 0 1.5 0Z" fill="currentColor" stroke="none"/>',tableInsertRowBefore:'<path d="M20.25 4.5a.75.75 0 0 0 0-1.5H3.75a.75.75 0 0 0 0 1.5h16.5ZM20.25 8.5a.75.75 0 0 1 .75.75v8.5A3.25 3.25 0 0 1 17.75 21H6.25A3.25 3.25 0 0 1 3 17.75v-8.5a.75.75 0 0 1 .75-.75h16.5ZM14 10h-4v4h4v-4Zm-5.5 0h-4v4h4v-4Zm0 5.5h-4v2.25c0 .966.784 1.75 1.75 1.75H8.5v-4Zm5.5 0h-4v4h4v-4Zm1.5 4h2.25a1.75 1.75 0 0 0 1.75-1.75V15.5h-4v4Zm4-9.5h-4v4h4v-4Z" fill="currentColor" stroke="none"/>',tableInsertRowAfter:'<path d="M3.75 15.5a.75.75 0 0 1-.75-.75v-8.5A3.25 3.25 0 0 1 6.25 3h11.5A3.25 3.25 0 0 1 21 6.25v8.5a.75.75 0 0 1-.75.75H3.75ZM10 14h4v-4h-4v4Zm0-5.5h4v-4h-4v4Zm5.5 5.5h4v-4h-4v4Zm0-5.5h4V6.25a1.75 1.75 0 0 0-1.75-1.75H15.5v4Zm-7-4H6.25A1.75 1.75 0 0 0 4.5 6.25V8.5h4v-4Zm-4 9.5h4v-4h-4v4ZM3.75 19.5a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5H3.75Z" fill="currentColor" stroke="none"/>',tableInsertColumnBefore:'<path d="M4.5 3.75a.75.75 0 0 0-1.5 0v16.5a.75.75 0 0 0 1.5 0V3.75ZM8.5 3.75A.75.75 0 0 1 9.25 3h8.5A3.25 3.25 0 0 1 21 6.25v11.5A3.25 3.25 0 0 1 17.75 21h-8.5a.75.75 0 0 1-.75-.75V3.75ZM10 10v4h4v-4h-4Zm0 5.5v4h4v-4h-4Zm5.5 0v4h2.25a1.75 1.75 0 0 0 1.75-1.75V15.5h-4Zm0-5.5v4h4v-4h-4Zm4-1.5V6.25a1.75 1.75 0 0 0-1.75-1.75H15.5v4h4Zm-9.5-4v4h4v-4h-4Z" fill="currentColor" stroke="none"/>',tableInsertColumnAfter:'<path d="M15.5 3.75a.75.75 0 0 0-.75-.75h-8.5A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h8.5a.75.75 0 0 0 .75-.75V3.75ZM14 10v4h-4v-4h4Zm-9.5 4v-4h4v4h-4ZM14 8.5h-4v-4h4v4Zm-5.5 0h-4V6.25c0-.966.784-1.75 1.75-1.75H8.5v4Zm0 11H6.25a1.75 1.75 0 0 1-1.75-1.75V15.5h4v4Zm1.5-4h4v4h-4v-4ZM19.5 3.75a.75.75 0 0 1 1.5 0v16.5a.75.75 0 0 1-1.5 0V3.75Z" fill="currentColor" stroke="none"/>',tableDelete:'<path d="M3 6.25A3.25 3.25 0 0 1 6.25 3h11.5A3.25 3.25 0 0 1 21 6.25v5.772a6.471 6.471 0 0 0-1.5-.709V10h-4v1.313a6.471 6.471 0 0 0-1.5.709V10h-4v4h2.022a6.471 6.471 0 0 0-.709 1.5H10v4h1.313c.173.534.412 1.037.709 1.5H6.25A3.25 3.25 0 0 1 3 17.75V6.25ZM6.25 4.5A1.75 1.75 0 0 0 4.5 6.25V8.5h4v-4H6.25ZM4.5 10v4h4v-4h-4Zm11-1.5h4V6.25a1.75 1.75 0 0 0-1.75-1.75H15.5v4Zm-1.5-4h-4v4h4v-4Zm-9.5 11v2.25c0 .966.784 1.75 1.75 1.75H8.5v-4h-4Z" fill="currentColor" stroke="none"/><path d="M23 17.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Zm-5.5-.707-1.646-1.647a.5.5 0 0 0-.708.708l1.647 1.646-1.647 1.646a.5.5 0 0 0 .708.708l1.646-1.647 1.646 1.647a.5.5 0 0 0 .708-.708L18.207 17.5l1.647-1.646a.5.5 0 0 0-.708-.708L17.5 16.793Z" fill="currentColor" stroke="none"/>',tableEditCell:'<path d="M3 8.75A2.25 2.25 0 0 1 5.25 6.5h13.5a2.25 2.25 0 0 1 2.123 1.504A3.285 3.285 0 0 0 20.715 8h-.002c-.466 0-.932.1-1.365.297A.749.749 0 0 0 18.75 8H15.5v3.853l-1.5 1.5V8h-4v6h3.353l-.865.865a3.686 3.686 0 0 0-.508.635H5.25A2.25 2.25 0 0 1 3 13.25v-4.5ZM5.25 8a.75.75 0 0 0-.75.75v4.5c0 .414.336.75.75.75H8.5V8H5.25Zm15.465 1h-.002c-.585 0-1.17.223-1.615.67l-5.902 5.902a2.684 2.684 0 0 0-.707 1.247l-.458 1.831a1.087 1.087 0 0 0 1.319 1.318l1.83-.457a2.684 2.684 0 0 0 1.248-.707l5.902-5.902A2.286 2.286 0 0 0 20.715 9Z" fill="currentColor" stroke="none"/>',tableHeaderCell:'<path d="M3 9.75C3 9.15326 3.23705 8.58097 3.65901 8.15901C4.08097 7.73705 4.65326 7.5 5.25 7.5H18.75C19.3467 7.5 19.919 7.73705 20.341 8.15901C20.7629 8.58097 21 9.15326 21 9.75V14.25C21 14.8467 20.7629 15.419 20.341 15.841C19.919 16.2629 19.3467 16.5 18.75 16.5H5.25C4.65326 16.5 4.08097 16.2629 3.65901 15.841C3.23705 15.419 3 14.8467 3 14.25V9.75ZM5.25 9C5.05109 9 4.86032 9.07902 4.71967 9.21967C4.57902 9.36032 4.5 9.55109 4.5 9.75V14.25C4.5 14.664 4.836 15 5.25 15H8.5V9H5.25ZM15.5 15H18.75C18.9489 15 19.1397 14.921 19.2803 14.7803C19.421 14.6397 19.5 14.4489 19.5 14.25V9.75C19.5 9.55109 19.421 9.36032 19.2803 9.21967C19.1397 9.07902 18.9489 9 18.75 9H15.5V15Z" fill="currentColor" stroke="none"/>',editorImage:'<path d="M17.75 3A3.25 3.25 0 0 1 21 6.25v11.5A3.25 3.25 0 0 1 17.75 21H6.25A3.25 3.25 0 0 1 3 17.75V6.25A3.25 3.25 0 0 1 6.25 3h11.5Zm.58 16.401-5.805-5.686a.75.75 0 0 0-.966-.071l-.084.07-5.807 5.687c.182.064.378.099.582.099h11.5c.203 0 .399-.035.58-.099l-5.805-5.686L18.33 19.4ZM17.75 4.5H6.25A1.75 1.75 0 0 0 4.5 6.25v11.5c0 .208.036.408.103.594l5.823-5.701a2.25 2.25 0 0 1 3.02-.116l.128.116 5.822 5.702c.067-.186.104-.386.104-.595V6.25a1.75 1.75 0 0 0-1.75-1.75Zm-2.498 2a2.252 2.252 0 1 1 0 4.504 2.252 2.252 0 0 1 0-4.504Zm0 1.5a.752.752 0 1 0 0 1.504.752.752 0 0 0 0-1.504Z" stroke-width="0.5" fill="currentColor"/>',editorFont:'<path d="M7 2a.75.75 0 0 1 .704.49l2.951 7.985.013.032.222.602-.828 2.086-.626-1.694H4.564l-1.113 3.01a.75.75 0 1 1-1.407-.521l1.288-3.483a.766.766 0 0 1 .012-.033L6.297 2.49A.75.75 0 0 1 7 2ZM5.12 10H8.88l-1.88-5.087L5.118 10ZM13.806 6.473a.75.75 0 0 1 1.395 0l5.554 14.031h.494a.75.75 0 1 1 0 1.5H18.75a.75.75 0 0 1 0-1.5h.392l-1.19-3.004h-6.91L9.85 20.504h.4a.75.75 0 1 1 0 1.5H7.75a.75.75 0 1 1 0-1.5h.485l5.57-14.03ZM17.36 16l-2.857-7.215L11.638 16h5.72Z" stroke-width="0.5" fill="currentColor"/>',editorLine:'<path d="M2.5 12a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5A.75.75 0 0 1 2.5 12ZM6.5 12a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5A.75.75 0 0 1 6.5 12ZM10.5 12a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM14.5 12a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM18.5 12a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM4.75 2a.75.75 0 0 0-.75.75V7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2.75a.75.75 0 0 0-1.5 0V7a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V2.75A.75.75 0 0 0 4.75 2ZM19.25 22a.75.75 0 0 0 .75-.75V17a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4.25a.75.75 0 0 0 1.5 0V17a.5.5 0 0 1 .5-.5h12a.5.5 0 0 1 .5.5v4.25c0 .414.336.75.75.75Z" stroke-width="0.5" fill="currentColor"/>',editorQuote:'<path d="M7.5 6a2.5 2.5 0 0 1 2.495 2.336l.005.206c-.01 3.555-1.24 6.614-3.705 9.223a.75.75 0 1 1-1.09-1.03c1.64-1.737 2.66-3.674 3.077-5.859A2.5 2.5 0 1 1 7.5 6Zm9 0a2.5 2.5 0 0 1 2.495 2.336l.005.206c-.01 3.56-1.238 6.614-3.705 9.223a.75.75 0 1 1-1.09-1.03c1.643-1.738 2.662-3.672 3.078-5.859A2.5 2.5 0 1 1 16.5 6Z" stroke-width="0.5" fill="currentColor"/>',editorBulletList:'<path d="M3.25 17.5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm3.5.5h14.5a.75.75 0 0 1 .102 1.494l-.102.006H6.75a.75.75 0 0 1-.102-1.493L6.75 18h14.5-14.5Zm-3.5-7a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm3.5.5h14.5a.75.75 0 0 1 .102 1.494L21.25 13H6.75a.75.75 0 0 1-.102-1.493l.102-.007h14.5-14.5Zm-3.5-7A1.25 1.25 0 1 1 3.25 7a1.25 1.25 0 0 1 0-2.499Zm3.5.5h14.5a.75.75 0 0 1 .102 1.494l-.102.006H6.75a.75.75 0 0 1-.102-1.493L6.75 5h14.5-14.5Z" stroke-width="0.5" fill="currentColor"/>',editorNumberedList:'<path d="M6 2.75a.75.75 0 0 0-1.434-.307l-.002.003a1.45 1.45 0 0 1-.067.132 4.126 4.126 0 0 1-.238.384c-.217.313-.524.663-.906.902a.75.75 0 1 0 .794 1.272c.125-.078.243-.161.353-.248V7.25a.75.75 0 0 0 1.5 0v-4.5ZM20.5 18.75a.75.75 0 0 0-.75-.75h-9a.75.75 0 0 0 0 1.5h9a.75.75 0 0 0 .75-.75ZM20.5 12.244a.75.75 0 0 0-.75-.75h-9a.75.75 0 1 0 0 1.5h9a.75.75 0 0 0 .75-.75ZM20.5 5.75a.75.75 0 0 0-.75-.75h-9a.75.75 0 0 0 0 1.5h9a.75.75 0 0 0 .75-.75ZM5.15 10.52c-.3-.053-.676.066-.87.26a.75.75 0 1 1-1.06-1.06c.556-.556 1.43-.812 2.192-.677.397.07.805.254 1.115.605.316.358.473.825.473 1.352 0 .62-.271 1.08-.606 1.42-.278.283-.63.511-.906.689l-.08.051a5.88 5.88 0 0 0-.481.34H6.25a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75c0-1.314.984-1.953 1.575-2.337l.06-.04c.318-.205.533-.345.69-.504.134-.136.175-.238.175-.369 0-.223-.061-.318-.098-.36a.42.42 0 0 0-.251-.12ZM2.97 21.28s.093.084.004.005l.006.005.013.013a1.426 1.426 0 0 0 .15.125c.095.07.227.158.397.243.341.17.83.329 1.46.329.64 0 1.196-.181 1.601-.54.408-.36.61-.857.595-1.359A1.775 1.775 0 0 0 6.77 19c.259-.305.412-.685.426-1.101a1.73 1.73 0 0 0-.595-1.36C6.196 16.181 5.64 16 5 16c-.63 0-1.119.158-1.46.33a2.592 2.592 0 0 0-.51.334 1.426 1.426 0 0 0-.037.033l-.013.013-.006.005-.002.003H2.97l-.001.002a.75.75 0 0 0 1.048 1.072 1.1 1.1 0 0 1 .192-.121c.159-.08.42-.171.79-.171.36 0 .536.1.608.164.07.061.09.127.088.187a.325.325 0 0 1-.123.23c-.089.077-.263.169-.573.169a.75.75 0 0 0 0 1.5c.31 0 .484.092.573.168.091.08.121.166.123.231a.232.232 0 0 1-.088.187c-.072.064-.247.164-.608.164a1.75 1.75 0 0 1-.79-.17 1.1 1.1 0 0 1-.192-.122.75.75 0 0 0-1.048 1.072Zm.002-4.563-.001.002c.007-.006.2-.168 0-.002Z" stroke-width="0.5" fill="currentColor"/>',editorMention:'<path d="M22 12v1.75a3.75 3.75 0 0 1-7.149 1.586C14.033 16.356 12.84 17 11.5 17 8.992 17 7 14.742 7 12s1.992-5 4.5-5c1.159 0 2.208.482 3.001 1.272L14.5 7.75a.75.75 0 0 1 1.493-.102L16 7.75v6a2.25 2.25 0 0 0 4.495.154l.005-.154V12a8.5 8.5 0 1 0-5.515 7.961.75.75 0 0 1 .527 1.405A9.98 9.98 0 0 1 12 22C6.477 22 2 17.523 2 12S6.477 2 12 2c5.43 0 9.848 4.327 9.996 9.72L22 12v1.75V12ZM11.5 8.5c-1.635 0-3 1.548-3 3.5s1.365 3.5 3 3.5c1.634 0 3-1.548 3-3.5s-1.366-3.5-3-3.5Z" stroke-width="0.5" fill="currentColor"/>',editorH1:'<path d="M19.59 5.081a.746.746 0 0 0-.809.084.751.751 0 0 0-.249.367c-.69 2.051-2.057 3.409-3.168 4.075a.75.75 0 0 0 .772 1.286c.774-.464 1.623-1.18 2.364-2.146v9.503a.75.75 0 0 0 1.5 0V5.772a.75.75 0 0 0-.41-.69ZM3.5 5.75a.75.75 0 0 0-1.5 0v12.5a.75.75 0 0 0 1.5 0V12.5H10v5.75a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-1.5 0V11H3.5V5.75Z" fill="currentColor" stroke-width="0.5"/>',editorH2:'<path d="M4.5 5.75a.75.75 0 0 0-1.5 0v12.5a.75.75 0 0 0 1.5 0V12.5H11v5.75a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-1.5 0V11H4.5V5.75Zm10.921 2.085c.23-.46.913-1.335 2.58-1.335.842 0 1.459.26 1.86.639.397.376.64.921.64 1.611 0 1.963-1.3 3.068-2.958 4.343l-.212.163C15.825 14.409 14 15.806 14 18.25a.75.75 0 0 0 .75.75h6.5a.75.75 0 0 0 0-1.5h-5.66c.315-1.252 1.427-2.11 2.866-3.218C20.05 13.057 22 11.537 22 8.75c0-1.06-.383-2.015-1.11-2.702C20.166 5.364 19.158 5 18 5c-2.333 0-3.484 1.291-3.92 2.165a.75.75 0 0 0 1.341.67Z" fill="currentColor" stroke-width="0.5"/>',editorH3:'<svg width="24" height="24" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 5.75a.75.75 0 0 0-1.5 0v12.5a.75.75 0 0 0 1.5 0V12.5H10v5.75a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-1.5 0V11H3.5V5.75Zm11.92 2.085c.23-.46.914-1.335 2.58-1.335.843 0 1.46.26 1.86.639.398.376.64.921.64 1.611 0 .606-.161 1.026-.384 1.332-.228.314-.555.554-.953.735-.816.37-1.802.433-2.383.433a.75.75 0 0 0 0 1.5c.581 0 1.567.063 2.383.433.398.18.725.42.953.735.223.306.384.726.384 1.332 0 1.086-.914 2.25-2.5 2.25-1.727 0-2.348-.76-2.553-1.276a.75.75 0 1 0-1.394.552C14.508 17.926 15.727 19 18 19c2.414 0 4-1.836 4-3.75 0-.894-.245-1.63-.67-2.214A3.679 3.679 0 0 0 20.144 12a3.679 3.679 0 0 0 1.186-1.036c.425-.584.67-1.32.67-2.214 0-1.06-.383-2.015-1.11-2.702C20.165 5.364 19.157 5 18 5c-2.334 0-3.484 1.291-3.92 2.165a.75.75 0 1 0 1.34.67Z" fill="currentColor" stroke-width="0.5"/>',editorSnippets:'<path d="m11.066 8.004.184-.005h7.5a3.25 3.25 0 0 1 3.245 3.065l.005.185v7.5a3.25 3.25 0 0 1-3.066 3.245l-.184.005h-7.5a3.25 3.25 0 0 1-3.245-3.066L8 18.75v-7.5a3.25 3.25 0 0 1 3.066-3.245Zm7.684 1.495h-7.5a1.75 1.75 0 0 0-1.744 1.606l-.006.144v7.5a1.75 1.75 0 0 0 1.607 1.744l.143.006h7.5a1.75 1.75 0 0 0 1.744-1.607l.006-.143v-7.5a1.75 1.75 0 0 0-1.75-1.75ZM15 11a.75.75 0 0 1 .75.75v2.498h2.5a.75.75 0 0 1 0 1.5h-2.5v2.502a.75.75 0 0 1-1.5 0v-2.502h-2.5a.75.75 0 1 1 0-1.5h2.5V11.75A.75.75 0 0 1 15 11Zm.582-6.767.052.177.693 2.588h-1.553l-.588-2.2a1.75 1.75 0 0 0-2.144-1.238L4.798 5.502a1.75 1.75 0 0 0-1.27 1.995l.032.148 1.942 7.244A1.75 1.75 0 0 0 7 16.176v1.506a3.252 3.252 0 0 1-2.895-2.228l-.052-.176-1.941-7.245a3.25 3.25 0 0 1 2.12-3.928l.178-.052 7.244-1.941a3.25 3.25 0 0 1 3.928 2.12Z" fill="currentColor" stroke-width="0.5" />',editorItalic:'<path d="M10.649 18.5h3.847a1 1 0 0 1 0 2h-9.5a.997.997 0 0 1-.996-1c0-.552.445-1 .996-1h3.51L13.332 6H9.997a1 1 0 0 1 0-2H18.5a1 1 0 0 1 0 2h-3.025L10.65 18.5Z" fill="currentColor" stroke-width="0.25" />',question:'<circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line>',layout:'<path d="M12 3h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-7m0-18H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7m0-18v18"></path>',play:'<polygon points="5 3 19 12 5 21 5 3"></polygon>',code:'<polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline>',chat:'<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path>',thumbsup:'<path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path>',thumbsdown:'<path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"></path>',error:'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line>',globe:'<circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path>'},vvt="";var k5e=we({name:"BaseIcon",props:{animation:{type:String,default:void 0},animationSpeed:{type:String,default:void 0},fill:{type:String,default:"none"},size:{type:[Number,String],default:22},stroke:{type:String,default:"currentColor"},strokeLinecap:{type:String,default:"round"},strokeLinejoin:{type:String,default:"round"},strokeWidth:{type:[Number,String],default:2},tag:{type:String,default:"i"},type:{type:String,required:!0,validator(t){if(!$q[t])throw new Error(`"${t}" is not an available icon type.`);return!0}}},render(t){const{animation:e,animationSpeed:r,size:n,type:a}=this,i=new P5e(a,$q[a]);return t(this.tag,{attrs:{"data-name":a,"data-tags":i?i.tags:"","data-type":a},class:{feather:!0,[`feather--${a}`]:a,[`feather--${e}`]:e,[`feather--${r}`]:r},on:this.$listeners},[i?t("svg",{attrs:{...i.attrs,fill:this.fill||"currentColor",height:n,stroke:this.stroke||"currentColor","stroke-linecap":this.strokeLinecap,"stroke-linejoin":this.strokeLinejoin,"stroke-width":this.strokeWidth,width:n},style:{...n?{width:`${n}px`,height:`${n}px`}:{}},class:[i.attrs?i.attrs.class:"","feather__content"],domProps:{innerHTML:i.contents}}):""])}},null,null,!1,null,"03e89e7d",null,null);const pp=k5e.exports;function T5e(){for(var t=0,e,r,n="";t<arguments.length;)(e=arguments[t++])&&(r=Aq(e))&&(n&&(n+=" "),n+=r);return n}function Aq(t){if(typeof t=="string")return t;for(var e,r="",n=0;n<t.length;n++)t[n]&&(e=Aq(t[n]))&&(r&&(r+=" "),r+=e);return r}function Nk(){return Nk=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Nk.apply(this,arguments)}function E5e(t){if(t<1)return{get:function(){},set:function(){}};var e=0,r=new Map,n=new Map;function a(i,o){r.set(i,o),e++,e>t&&(e=0,n=r,r=new Map)}return{get:function(o){var s=r.get(o);if(s!==void 0)return s;if((s=n.get(o))!==void 0)return a(o,s),s},set:function(o,s){r.has(o)?r.set(o,s):a(o,s)}}}var Lk="-";function M5e(t){var e=O5e(t);function r(a){var i=a.split(Lk);return i[0]===""&&i.length!==1&&i.shift(),Rq(i,e)||S5e(a)}function n(a){return t.conflictingClassGroups[a]||[]}return{getClassGroupId:r,getConflictingClassGroupIds:n}}function Rq(t,e){var r;if(t.length===0)return e.classGroupId;var n=t[0],a=e.nextPart.get(n),i=a?Rq(t.slice(1),a):void 0;if(i)return i;if(e.validators.length!==0){var o=t.join(Lk);return(r=e.validators.find(function(s){var u=s.validator;return u(o)}))==null?void 0:r.classGroupId}}var Iq=/^\[(.+)\]$/;function S5e(t){if(Iq.test(t)){var e=Iq.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}}function O5e(t){var e=t.theme,r=t.prefix,n={nextPart:new Map,validators:[]},a=D5e(Object.entries(t.classGroups),r);return a.forEach(function(i){var o=i[0],s=i[1];Wk(s,n,o,e)}),n}function Wk(t,e,r,n){t.forEach(function(a){if(typeof a=="string"){var i=a===""?e:Nq(e,a);i.classGroupId=r;return}if(typeof a=="function"){if(C5e(a)){Wk(a(n),e,r,n);return}e.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(function(o){var s=o[0],u=o[1];Wk(u,Nq(e,s),r,n)})})}function Nq(t,e){var r=t;return e.split(Lk).forEach(function(n){r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function C5e(t){return t.isThemeGetter}function D5e(t,e){return e?t.map(function(r){var n=r[0],a=r[1],i=a.map(function(o){return typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(function(s){var u=s[0],l=s[1];return[e+u,l]})):o});return[n,i]}):t}var Lq="!";function $5e(t){var e=t.separator||":";return function(n){for(var a=0,i=[],o=0,s=0;s<n.length;s++){var u=n[s];a===0&&u===e[0]&&(e.length===1||n.slice(s,s+e.length)===e)&&(i.push(n.slice(o,s)),o=s+e.length),u==="["?a++:u==="]"&&a--}var l=i.length===0?n:n.substring(o),d=l.startsWith(Lq),c=d?l.substring(1):l;return{modifiers:i,hasImportantModifier:d,baseClassName:c}}}function A5e(t){if(t.length<=1)return t;var e=[],r=[];return t.forEach(function(n){var a=n[0]==="[";a?(e.push.apply(e,r.sort().concat([n])),r=[]):r.push(n)}),e.push.apply(e,r.sort()),e}function R5e(t){return Nk({cache:E5e(t.cacheSize),splitModifiers:$5e(t)},M5e(t))}var I5e=/\s+/;function N5e(t,e){var r=e.splitModifiers,n=e.getClassGroupId,a=e.getConflictingClassGroupIds,i=new Set;return t.trim().split(I5e).map(function(o){var s=r(o),u=s.modifiers,l=s.hasImportantModifier,d=s.baseClassName,c=n(d);if(!c)return{isTailwindClass:!1,originalClassName:o};var m=A5e(u).join(":"),f=l?m+Lq:m;return{isTailwindClass:!0,modifierId:f,classGroupId:c,originalClassName:o}}).reverse().filter(function(o){if(!o.isTailwindClass)return!0;var s=o.modifierId,u=o.classGroupId,l=s+u;return i.has(l)?!1:(i.add(l),a(u).forEach(function(d){return i.add(s+d)}),!0)}).reverse().map(function(o){return o.originalClassName}).join(" ")}function L5e(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,a,i,o=s;function s(l){var d=e[0],c=e.slice(1),m=c.reduce(function(f,p){return p(f)},d());return n=R5e(m),a=n.cache.get,i=n.cache.set,o=u,u(l)}function u(l){var d=a(l);if(d)return d;var c=N5e(l,n);return i(l,c),c}return function(){return o(T5e.apply(null,arguments))}}function _t(t){var e=function(n){return n[t]||[]};return e.isThemeGetter=!0,e}var ui=/^\[(.+)\]$/,W5e=/^\d+\/\d+$/,F5e=new Set(["px","full","screen"]),j5e=/^(\d+)?(xs|sm|md|lg|xl)$/,V5e=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh)/,U5e=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function cn(t){return!Number.isNaN(Number(t))||F5e.has(t)||W5e.test(t)||go(t)}function go(t){var e,r=(e=ui.exec(t))==null?void 0:e[1];return r?r.startsWith("length:")||V5e.test(r):!1}function z5e(t){var e,r=(e=ui.exec(t))==null?void 0:e[1];return r?r.startsWith("size:"):!1}function B5e(t){var e,r=(e=ui.exec(t))==null?void 0:e[1];return r?r.startsWith("position:"):!1}function H5e(t){var e,r=(e=ui.exec(t))==null?void 0:e[1];return r?r.startsWith("url(")||r.startsWith("url:"):!1}function Wq(t){var e,r=(e=ui.exec(t))==null?void 0:e[1];return r?!Number.isNaN(Number(r))||r.startsWith("number:"):!1}function dr(t){var e,r=(e=ui.exec(t))==null?void 0:e[1];return r?Number.isInteger(Number(r)):Number.isInteger(Number(t))}function Kt(t){return ui.test(t)}function sd(){return!0}function li(t){return j5e.test(t)}function q5e(t){var e,r=(e=ui.exec(t))==null?void 0:e[1];return r?U5e.test(r):!1}function Y5e(){var t=_t("colors"),e=_t("spacing"),r=_t("blur"),n=_t("brightness"),a=_t("borderColor"),i=_t("borderRadius"),o=_t("borderSpacing"),s=_t("borderWidth"),u=_t("contrast"),l=_t("grayscale"),d=_t("hueRotate"),c=_t("invert"),m=_t("gap"),f=_t("gradientColorStops"),p=_t("inset"),h=_t("margin"),v=_t("opacity"),y=_t("padding"),b=_t("saturate"),g=_t("scale"),_=_t("sepia"),w=_t("skew"),x=_t("space"),k=_t("translate"),D=function(){return["auto","contain","none"]},S=function(){return["auto","hidden","clip","visible","scroll"]},O=function(){return["auto",e]},C=function(){return["",cn]},E=function(){return["auto",dr]},T=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},$=function(){return["solid","dashed","dotted","double","none"]},I=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},W=function(){return["start","end","center","between","around","evenly"]},U=function(){return["","0",Kt]},M=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]};return{cacheSize:500,theme:{colors:[sd],spacing:[cn],blur:["none","",li,go],brightness:[dr],borderColor:[t],borderRadius:["none","","full",li,go],borderSpacing:[e],borderWidth:C(),contrast:[dr],grayscale:U(),hueRotate:[dr],invert:U(),gap:[e],gradientColorStops:[t],inset:O(),margin:O(),opacity:[dr],padding:[e],saturate:[dr],scale:[dr],sepia:U(),skew:[dr,Kt],space:[e],translate:[e]},classGroups:{aspect:[{aspect:["auto","square","video",Kt]}],container:["container"],columns:[{columns:[li]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(T(),[Kt])}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:[dr]}],basis:[{basis:[e]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Kt]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",dr]}],"grid-cols":[{"grid-cols":[sd]}],"col-start-end":[{col:["auto",{span:[dr]}]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[sd]}],"row-start-end":[{row:["auto",{span:[dr]}]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Kt]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Kt]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:W()}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:[].concat(W(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(W(),["baseline","stretch"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[x]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[x]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",e]}],"min-w":[{"min-w":["min","max","fit",cn]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[li]},li,go]}],h:[{h:[e,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",cn]}],"max-h":[{"max-h":[e,"min","max","fit"]}],"font-size":[{text:["base",li,go]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Wq]}],"font-family":[{font:[sd]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",go]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",cn]}],"list-style-type":[{list:["none","disc","decimal",Kt]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat($(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",cn]}],"underline-offset":[{"underline-offset":["auto",cn]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:[e]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",go]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap"]}],break:[{break:["normal","words","all","keep"]}],content:[{content:["none",Kt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(T(),[B5e])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",z5e]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},H5e]}],"bg-color":[{bg:[t]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[].concat($(),["hidden"])}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:$()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:[""].concat($())}],"outline-offset":[{"outline-offset":[cn]}],"outline-w":[{outline:[cn]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[cn]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",li,q5e]}],"shadow-color":[{shadow:[sd]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":I()}],"bg-blend":[{"bg-blend":I()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",li,Kt]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[c]}],saturate:[{saturate:[b]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Kt]}],duration:[{duration:[dr]}],ease:[{ease:["linear","in","out","in-out",Kt]}],delay:[{delay:[dr]}],animate:[{animate:["none","spin","ping","pulse","bounce",Kt]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[g]}],"scale-x":[{"scale-x":[g]}],"scale-y":[{"scale-y":[g]}],rotate:[{rotate:[dr,Kt]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[w]}],"skew-y":[{"skew-y":[w]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Kt]}],accent:[{accent:["auto",t]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Kt]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":[e]}],"scroll-mx":[{"scroll-mx":[e]}],"scroll-my":[{"scroll-my":[e]}],"scroll-mt":[{"scroll-mt":[e]}],"scroll-mr":[{"scroll-mr":[e]}],"scroll-mb":[{"scroll-mb":[e]}],"scroll-ml":[{"scroll-ml":[e]}],"scroll-p":[{"scroll-p":[e]}],"scroll-px":[{"scroll-px":[e]}],"scroll-py":[{"scroll-py":[e]}],"scroll-pt":[{"scroll-pt":[e]}],"scroll-pr":[{"scroll-pr":[e]}],"scroll-pb":[{"scroll-pb":[e]}],"scroll-pl":[{"scroll-pl":[e]}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Kt]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[cn,Wq]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],"col-start-end":["col-start","col-end"],"row-start-end":["row-start","row-end"],gap:["gap-x","gap-y"],p:["px","py","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-t","rounded-r","rounded-b","rounded-l","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]}}}var G5e=L5e(Y5e);const bvt="",Fq={defaultLinkTags:["a","button","input","label","router-link","nuxt-link","n-link","RouterLink","NuxtLink","NLink"],defaultButtonRounded:!1},K5e={name:"CButton",components:{BaseIcon:pp},inheritAttrs:!1,props:{type:{type:String,default:null,validator:t=>["primary","secondary","tertiary","success","warning","danger","text","none"].indexOf(t)>=0},size:{type:String,default:null,validator:t=>["small","normal","default","medium","large"].indexOf(t)>=0},pattern:{type:String,default:"primary",validator:t=>["primary","secondary","tertiary"].indexOf(t)>=0},label:String,iconPack:String,iconLeft:String,iconRight:String,rounded:{type:Boolean,default:()=>Fq.defaultButtonRounded},loading:Boolean,disabled:Boolean,outlined:Boolean,expanded:Boolean,inverted:Boolean,focused:Boolean,active:Boolean,hovered:Boolean,selected:Boolean,nativeType:{type:String,default:"button",validator:t=>["button","submit","reset"].indexOf(t)>=0},tag:{type:String,default:"button",validator:t=>Fq.defaultLinkTags.indexOf(t)>=0},raised:Boolean,wide:Boolean,circle:Boolean,icon:String,iconProps:{type:Object,default:()=>({})},dropdownIcon:Boolean,taller:Boolean,thinner:Boolean,rounder:Boolean,to:{type:[Object,String],default:void 0,validator(t){return!!(t===void 0||typeof t=="string"||t.name&&typeof t.name=="string")}}},computed:{computedTag(){const t=this.$attrs.disabled!==void 0&&this.$attrs.disabled!==!1;return this.to&&!t?"router-link":t?"button":this.tag},iconSize(){return this.size==="medium"?20:this.size==="large"?24:this.size==="small"?16:18},computedPatternClass(){return["secondary","text","none"].includes(this.type)?"":`is-pattern-${this.pattern}`},computedTypeClass(){return["secondary","text","none"].includes(this.type)?"":`is-${this.type}`}},methods:{tailwindClasses(...t){if(!["secondary","text","none"].includes(this.type))return"bg-white";const e=[];return this.type==="secondary"?(e.push("bg-primary-500 border-primary-500 text-white"),e.push("disabled:bg-primary-500 disabled:border-primary-500 disabled:text-white disabled:opacity-50 disabled:shadow-none"),e.push("hover:bg-primary-600 hover:border-primary-600 hover:text-white"),e.push("focus:bg-primary-700 focus:border-primary-700 focus:text-white focus:!ring focus:ring-primary-500 focus:ring-opacity-20 [&.is-focused]:text-white"),this.pattern==="secondary"?(e.push("bg-primary-100 border-primary-100 text-primary-600"),e.push("disabled:bg-primary-100 disabled:border-primary-100 disabled:text-primary-600"),e.push("hover:bg-primary-200 hover:border-primary-200 hover:text-primary-700"),e.push("focus:bg-primary-300 focus:border-primary-300 focus:text-primary-700 [&.is-focused]:text-primary-700")):this.pattern==="tertiary"&&(e.push("bg-transparent border-transparent text-primary-500"),e.push("disabled:bg-transparent disabled:border-transparent disabled:text-primary-500"),e.push("hover:bg-primary-50 hover:border-primary-50 hover:text-primary-500"),e.push("focus:bg-primary-100 focus:border-primary-100 focus:text-primary-500 focus:bg-primary-100 [&.is-focused]:text-primary-500")),this.outlined&&(e.push("bg-transparent text-primary-500"),e.push("disabled:bg-transparent disabled:text-primary-500"))):this.type==="text"?(e.push("bg-gray-800 border-gray-800 text-white"),e.push("disabled:bg-gray-800 disabled:border-gray-800 disabled:text-white disabled:opacity-50 disabled:shadow-none"),e.push("hover:bg-gray-700 hover:border-gray-700 hover:text-white"),e.push("focus:bg-gray-900 focus:border-gray-900 focus:text-white focus:!ring focus:ring-gray-800 focus:ring-opacity-20 [&.is-focused]:text-white"),this.pattern==="secondary"?(e.push("bg-gray-400 border-gray-400 text-white"),e.push("disabled:bg-gray-400 disabled:border-gray-400 disabled:text-white"),e.push("hover:bg-gray-500 hover:border-gray-500 hover:text-white"),e.push("focus:bg-gray-310 focus:border-gray-310 focus:text-white [&.is-focused]:text-white")):this.pattern==="tertiary"&&(e.push("bg-transparent border-transparent text-gray-800"),e.push("disabled:bg-transparent disabled:border-transparent disabled:text-gray-800"),e.push("hover:bg-gray-100 hover:border-gray-50 hover:text-gray-800"),e.push("focus:bg-gray-110 focus:border-gray-110 focus:text-gray-800 focus:bg-gray-110 [&.is-focused]:text-gray-800")),this.outlined&&(e.push("bg-transparent text-gray-800"),e.push("disabled:bg-transparent disabled:text-gray-800"))):this.type==="none"&&(e.push("bg-gray-500 border-gray-500 text-white"),e.push("disabled:bg-gray-500 disabled:border-gray-500 disabled:text-white disabled:opacity-50 disabled:shadow-none"),e.push("hover:bg-gray-600 hover:border-gray-600 hover:text-white"),e.push("focus:bg-gray-700 focus:border-gray-700 focus:text-white focus:!ring focus:ring-gray-500 focus:ring-opacity-20 [&.is-focused]:text-white"),this.pattern==="secondary"?(e.push("bg-gray-100 border-gray-100 text-gray-600"),e.push("disabled:bg-gray-100 disabled:border-gray-100 disabled:text-gray-600"),e.push("hover:bg-gray-200 hover:border-gray-200 hover:text-gray-700"),e.push("focus:bg-gray-300 focus:border-gray-300 focus:text-gray-700 [&.is-focused]:text-gray-700")):this.pattern==="tertiary"&&(e.push("bg-transparent border-transparent text-gray-500"),e.push("disabled:bg-transparent disabled:border-transparent disabled:text-gray-500"),e.push("hover:bg-gray-50 hover:border-gray-50 hover:text-gray-500"),e.push("focus:bg-gray-100 focus:border-gray-100 focus:text-gray-500 focus:bg-gray-100 [&.is-focused]:text-gray-500")),this.outlined&&(e.push("bg-transparent text-gray-500"),e.push("disabled:bg-transparent disabled:text-gray-500"))),G5e(...e,...t)}}};var X5e=function(){var e=this,r=e._self._c;return r(e.computedTag,e._g(e._b({tag:"component",staticClass:"c-button font-config button",class:[`is-${e.size}`,e.computedPatternClass,e.computedTypeClass,e.tailwindClasses(e.$attrs.class),{"is-rounded":e.rounded,"is-rounder":e.rounder,"is-loading":e.loading,"is-outlined":e.outlined,"is-fullwidth":e.expanded,"is-inverted":e.inverted,"is-focused":e.focused,"is-active":e.active,"is-hovered":e.hovered,"is-selected":e.selected,"is-raised":e.raised,"is-wide":e.wide,"is-taller":e.taller,"is-thinner":e.thinner,"is-circle":e.circle}],attrs:{type:e.nativeType,disabled:e.disabled||e.loading,to:e.to}},"component",e.$attrs,!1),e.$listeners),[e.icon?r("BaseIcon",e._b({staticClass:"icon",attrs:{type:e.icon}},"BaseIcon",{size:e.iconSize,...e.iconProps},!1)):e._e(),e.iconLeft?r("BaseIcon",e._b({staticClass:"icon",attrs:{type:e.iconLeft}},"BaseIcon",{size:e.iconSize,...e.iconProps},!1)):e._e(),e.label?r("span",[e._v(e._s(e.label))]):e.$slots.default?r("span",[e._t("default")],2):e._e(),e.iconRight||e.dropdownIcon?r("BaseIcon",e._b({staticClass:"icon",class:{"icon-right-absolute":e.dropdownIcon},attrs:{type:e.iconRight||"chevron-up-down"}},"BaseIcon",{size:e.iconSize,...e.iconProps},!1)):e._e()],1)},J5e=[],Q5e=we(K5e,X5e,J5e,!1,null,null,null,null);const ud=Q5e.exports,Fk={props:{size:String,expanded:Boolean,loading:Boolean,rounded:Boolean,icon:String,iconPack:String,autocomplete:String,maxlength:[Number,String],useHtml5Validation:{type:Boolean,default:()=>!1},validationMessage:String},data(){return{isValid:!0,isFocused:!1,newIconPack:this.iconPack||""}},computed:{parentField(){let t=this.$parent;for(let e=0;e<3;e++)t&&!t.$data._isField&&(t=t.$parent);return t},statusType(){if(!!this.parentField&&!!this.parentField.newType){if(typeof this.parentField.newType=="string")return this.parentField.newType;for(const t in this.parentField.newType)if(this.parentField.newType[t])return t}},statusMessage(){if(!!this.parentField)return this.parentField.newMessage},iconSize(){switch(this.size){case"is-small":return this.size;case"is-medium":return;case"is-large":return this.newIconPack==="mdi"?"is-medium":""}}},methods:{focus(){this.$data._elementRef!==void 0&&this.$nextTick(()=>{const t=this.$el.querySelector(this.$data._elementRef);t&&t.focus()})},blur(){this.$nextTick(()=>{const t=this.$el.querySelector(this.$data._elementRef);t&&t.blur()})},onBlur(t){this.isFocused=!1,this.$emit("blur",t),this.checkHtml5Validity()},onFocus(t){this.isFocused=!0,this.$emit("focus",t)},getElement(){return this.$el.querySelector(this.$data._elementRef)},setInvalid(){const t="is-danger",e=this.validationMessage||this.getElement().validationMessage;this.setValidity(t,e)},setValidity(t,e){this.$nextTick(()=>{this.parentField&&(this.parentField.type||(this.parentField.newType=t),this.parentField.message||(this.parentField.newMessage=e))})},checkHtml5Validity(){if(!!this.useHtml5Validation&&this.$refs[this.$data._elementRef]!==void 0&&this.getElement()!==null)return this.getElement().checkValidity()?(this.setValidity(null,null),this.isValid=!0):(this.setInvalid(),this.isValid=!1),this.isValid}}},wvt="",Z5e={name:"CInput",components:{BaseIcon:pp},mixins:[Fk],inheritAttrs:!1,props:{value:[Number,String],type:{type:String,default:"text"},passwordReveal:Boolean,iconClickable:Boolean,hasCounter:{type:Boolean,default:()=>!0},customClass:{type:String,default:""},iconRight:String,iconRightClickable:Boolean,filled:Boolean,expanded:Boolean,autoResize:Boolean,reset:Boolean,static:Boolean,iconProps:{type:Object,default:()=>({})}},data(){return{newValue:this.value,newType:this.type,newAutocomplete:this.autocomplete||"on",isPasswordVisible:!1,_elementRef:this.type==="textarea"?"textarea":"input",inputSuffixOffset:null}},computed:{computedValue:{get(){return this.newValue},set(t){this.newValue=t,this.$emit("input",t),!this.isValid&&this.checkHtml5Validity()}},rootClasses(){return[this.iconPosition,`is-${this.size}`,{"is-expanded":this.expanded,"is-loading":this.loading,"is-clearfix":!this.hasMessage}]},inputClasses(){return[this.statusType,`is-${this.size}`,{"is-rounded":this.rounded,"is-filled":this.filled,"is-reset":this.reset,"is-static":this.static}]},hasIconRight(){return this.passwordReveal||this.loading||this.statusTypeIcon||this.iconRight},rightIcon(){return this.passwordReveal?this.passwordVisibleIcon:this.statusTypeIcon?this.statusTypeIcon:this.iconRight},rightIconType(){return this.passwordReveal?"is-primary":this.statusTypeIcon?this.statusType:null},iconPosition(){return this.icon&&this.hasIconRight?"has-icons-left has-icons-right":!this.icon&&this.hasIconRight?"has-icons-right":this.icon?"has-icons-left":""},statusTypeIcon(){switch(this.statusType){case"is-success":return"check";case"is-danger":return"alert-triangle";case"is-info":return"information";case"is-warning":return"alert";default:return""}},statusTypeIconColor(){switch(this.statusType){case"is-success":return"text-green-500";case"is-danger":return"text-red-500";case"is-info":return"text-blue-500";case"is-warning":return"text-orange-500";default:return""}},hasMessage(){return!!this.statusMessage},passwordVisibleIcon(){return this.isPasswordVisible?"eye-off":"eye"},valueLength(){return typeof this.computedValue=="string"?this.computedValue.length:typeof this.computedValue=="number"?this.computedValue.toString().length:0}},watch:{value(t){this.newValue=t}},mounted(){this.type==="textarea"&&this.autoResize&&this.$nextTick(()=>{this.$refs.textarea.setAttribute("style",`height: ${this.$refs.textarea.scrollHeight}px`)}),this.$slots.suffix&&(this.inputSuffixOffset=this.calcInputSuffixOffset())},methods:{togglePasswordVisibility(){this.isPasswordVisible=!this.isPasswordVisible,this.newType=this.isPasswordVisible?"text":"password",this.$nextTick(()=>{this.$refs[this.$data._elementRef].focus()})},onInput(t){this.$nextTick(()=>{t.target&&(this.computedValue=t.target.value,this.autoResize&&this.type==="textarea"&&this.resize(t))})},iconClick(t,e){this.$emit(t,e),this.$nextTick(()=>{this.$refs[this.$data._elementRef].focus()})},rightIconClick(t){this.passwordReveal?this.togglePasswordVisibility():this.iconRightClickable&&this.iconClick("icon-right-click",t)},resize({target:t}){t.style.height="1px",t.style.height=`${t.scrollHeight}px`},calcInputSuffixOffset(){return this.$slots.suffix?{paddingRight:`${this.$el.querySelector(".suffix").offsetWidth+10}px`}:null}}};var e3e=function(){var e=this,r=e._self._c;return r("div",{staticClass:"control",class:e.rootClasses},[e.type!=="textarea"?r("input",e._b({ref:"input",staticClass:"input",class:[e.inputClasses,e.customClass],style:[e.inputSuffixOffset],attrs:{type:e.newType,autocomplete:e.newAutocomplete,maxlength:e.maxlength},domProps:{value:e.computedValue},on:{input:e.onInput,blur:e.onBlur,focus:e.onFocus,keyup:function(n){if(!n.type.indexOf("key")&&e._k(n.keyCode,"esc",27,n.key,["Esc","Escape"]))return null;e.isFocused}}},"input",e.$attrs,!1)):r("textarea",e._b({ref:"textarea",staticClass:"textarea",class:[e.inputClasses,e.customClass,{autosize:e.autoResize}],attrs:{maxlength:e.maxlength},domProps:{value:e.computedValue},on:{input:e.onInput,blur:e.onBlur,focus:e.onFocus,keyup:function(n){if(!n.type.indexOf("key")&&e._k(n.keyCode,"esc",27,n.key,["Esc","Escape"]))return null;e.isFocused}}},"textarea",e.$attrs,!1)),e._v(" "),e.icon?r("div",{staticClass:"is-left icon",class:{"is-clickable":e.iconClickable},on:{click:function(n){return e.iconClick("icon-click",n)}}},[r("BaseIcon",e._b({attrs:{type:e.icon}},"BaseIcon",{size:e.iconSize,...e.iconProps},!1))],1):e._e(),!e.loading&&e.hasIconRight?r("div",{staticClass:"is-right icon",class:{"is-clickable":e.passwordReveal||e.iconRightClickable},on:{click:e.rightIconClick}},[r("BaseIcon",e._b({class:e.statusTypeIconColor,attrs:{type:e.rightIcon}},"BaseIcon",{size:e.iconSize,...e.iconProps},!1))],1):e._e(),e.$slots.suffix?r("div",{staticClass:"suffix"},[e._t("suffix")],2):e._e()])},t3e=[],r3e=we(Z5e,e3e,t3e,!1,null,"54238709",null,null);const ld=r3e.exports,jk={props:{value:[String,Number,Boolean,Function,Object,Array],nativeValue:[String,Number,Boolean,Function,Object,Array],type:{type:String,default:"primary"},disabled:Boolean,required:Boolean,name:String,size:{type:String,default:"default"}},data(){return{newValue:this.value}},computed:{computedValue:{get(){return this.newValue},set(t){this.newValue=t,this.$emit("input",t)}}},watch:{value(t){this.newValue=t}},methods:{focus(){this.$refs.input.focus()}}},xvt="",n3e={name:"CCheckbox",mixins:[jk],props:{indeterminate:Boolean,trueValue:{type:[String,Number,Boolean,Function,Object,Array],default:!0},falseValue:{type:[String,Number,Boolean,Function,Object,Array],default:!1},inverted:Boolean}};var a3e=function(){var e=this,r=e._self._c;return r("label",{ref:"label",staticClass:"c-checkbox checkbox",class:[`is-${e.size}`,{"is-disabled":e.disabled}],attrs:{disabled:e.disabled},on:{click:e.focus,keydown:function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:(n.preventDefault(),e.$refs.label.click())}}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.computedValue,expression:"computedValue"}],ref:"input",attrs:{disabled:e.disabled,required:e.required,name:e.name,"true-value":e.trueValue,"false-value":e.falseValue,type:"checkbox"},domProps:{indeterminate:e.indeterminate,value:e.nativeValue,checked:Array.isArray(e.computedValue)?e._i(e.computedValue,e.nativeValue)>-1:e._q(e.computedValue,e.trueValue)},on:{click:function(n){n.stopPropagation()},change:function(n){var a=e.computedValue,i=n.target,o=i.checked?e.trueValue:e.falseValue;if(Array.isArray(a)){var s=e.nativeValue,u=e._i(a,s);i.checked?u<0&&(e.computedValue=a.concat([s])):u>-1&&(e.computedValue=a.slice(0,u).concat(a.slice(u+1)))}else e.computedValue=o}}}),r("span",{staticClass:"check",class:[`is-${e.type}`,{"is-inverted":e.inverted}]},[r("svg",{attrs:{viewBox:"0 0 30 30"}},[r("polyline",{attrs:{points:"21 8 12 20 7 15"}})])]),e.$slots.default?r("span",{staticClass:"control-label"},[e._t("default")],2):e._e()])},i3e=[],o3e=we(n3e,a3e,i3e,!1,null,null,null,null);const hp=o3e.exports;var jq={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(typeof self<"u"?self:Ae,function(){return function(r){var n={};function a(i){if(n[i])return n[i].exports;var o=n[i]={i,l:!1,exports:{}};return r[i].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=r,a.c=n,a.d=function(i,o,s){a.o(i,o)||Object.defineProperty(i,o,{enumerable:!0,get:s})},a.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},a.t=function(i,o){if(1&o&&(i=a(i)),8&o||4&o&&typeof i=="object"&&i&&i.__esModule)return i;var s=Object.create(null);if(a.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:i}),2&o&&typeof i!="string")for(var u in i)a.d(s,u,function(l){return i[l]}.bind(null,u));return s},a.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return a.d(o,"a",o),o},a.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},a.p="",a(a.s=44)}([function(r,n,a){var i=a(28)("wks"),o=a(14),s=a(1).Symbol,u=typeof s=="function";(r.exports=function(l){return i[l]||(i[l]=u&&s[l]||(u?s:o)("Symbol."+l))}).store=i},function(r,n){var a=r.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=a)},function(r,n,a){var i=a(1),o=a(7),s=a(3),u=a(19),l=a(24),d=function(c,m,f){var p,h,v,y,b=c&d.F,g=c&d.G,_=c&d.S,w=c&d.P,x=c&d.B,k=g?i:_?i[m]||(i[m]={}):(i[m]||{}).prototype,D=g?o:o[m]||(o[m]={}),S=D.prototype||(D.prototype={});for(p in g&&(f=m),f)v=((h=!b&&k&&k[p]!==void 0)?k:f)[p],y=x&&h?l(v,i):w&&typeof v=="function"?l(Function.call,v):v,k&&u(k,p,v,c&d.U),D[p]!=v&&s(D,p,y),w&&S[p]!=v&&(S[p]=v)};i.core=o,d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,r.exports=d},function(r,n,a){var i=a(4),o=a(13);r.exports=a(8)?function(s,u,l){return i.f(s,u,o(1,l))}:function(s,u,l){return s[u]=l,s}},function(r,n,a){var i=a(12),o=a(34),s=a(23),u=Object.defineProperty;n.f=a(8)?Object.defineProperty:function(l,d,c){if(i(l),d=s(d,!0),i(c),o)try{return u(l,d,c)}catch{}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(l[d]=c.value),l}},function(r,n){r.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},function(r,n){var a={}.hasOwnProperty;r.exports=function(i,o){return a.call(i,o)}},function(r,n){var a=r.exports={version:"2.5.7"};typeof __e=="number"&&(__e=a)},function(r,n,a){r.exports=!a(9)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(r,n){r.exports=function(a){try{return!!a()}catch{return!0}}},function(r,n,a){var i=a(37),o=a(29);r.exports=Object.keys||function(s){return i(s,o)}},function(r,n,a){var i=a(25),o=a(17);r.exports=function(s){return i(o(s))}},function(r,n,a){var i=a(5);r.exports=function(o){if(!i(o))throw TypeError(o+" is not an object!");return o}},function(r,n){r.exports=function(a,i){return{enumerable:!(1&a),configurable:!(2&a),writable:!(4&a),value:i}}},function(r,n){var a=0,i=Math.random();r.exports=function(o){return"Symbol(".concat(o===void 0?"":o,")_",(++a+i).toString(36))}},function(r,n){r.exports={}},function(r,n,a){var i=a(17);r.exports=function(o){return Object(i(o))}},function(r,n){r.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},function(r,n){r.exports=!1},function(r,n,a){var i=a(1),o=a(3),s=a(6),u=a(14)("src"),l=Function.toString,d=(""+l).split("toString");a(7).inspectSource=function(c){return l.call(c)},(r.exports=function(c,m,f,p){var h=typeof f=="function";h&&(s(f,"name")||o(f,"name",m)),c[m]!==f&&(h&&(s(f,u)||o(f,u,c[m]?""+c[m]:d.join(String(m)))),c===i?c[m]=f:p?c[m]?c[m]=f:o(c,m,f):(delete c[m],o(c,m,f)))})(Function.prototype,"toString",function(){return typeof this=="function"&&this[u]||l.call(this)})},function(r,n){var a={}.toString;r.exports=function(i){return a.call(i).slice(8,-1)}},function(r,n){n.f={}.propertyIsEnumerable},function(r,n){var a=Math.ceil,i=Math.floor;r.exports=function(o){return isNaN(o=+o)?0:(o>0?i:a)(o)}},function(r,n,a){var i=a(5);r.exports=function(o,s){if(!i(o))return o;var u,l;if(s&&typeof(u=o.toString)=="function"&&!i(l=u.call(o))||typeof(u=o.valueOf)=="function"&&!i(l=u.call(o))||!s&&typeof(u=o.toString)=="function"&&!i(l=u.call(o)))return l;throw TypeError("Can't convert object to primitive value")}},function(r,n,a){var i=a(47);r.exports=function(o,s,u){if(i(o),s===void 0)return o;switch(u){case 1:return function(l){return o.call(s,l)};case 2:return function(l,d){return o.call(s,l,d)};case 3:return function(l,d,c){return o.call(s,l,d,c)}}return function(){return o.apply(s,arguments)}}},function(r,n,a){var i=a(20);r.exports=Object("z").propertyIsEnumerable(0)?Object:function(o){return i(o)=="String"?o.split(""):Object(o)}},function(r,n,a){var i=a(22),o=Math.min;r.exports=function(s){return s>0?o(i(s),9007199254740991):0}},function(r,n,a){var i=a(28)("keys"),o=a(14);r.exports=function(s){return i[s]||(i[s]=o(s))}},function(r,n,a){var i=a(7),o=a(1),s=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(r.exports=function(u,l){return s[u]||(s[u]=l!==void 0?l:{})})("versions",[]).push({version:i.version,mode:a(18)?"pure":"global",copyright:"\xA9 2018 Denis Pushkarev (zloirock.ru)"})},function(r,n){r.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(r,n,a){var i=a(4).f,o=a(6),s=a(0)("toStringTag");r.exports=function(u,l,d){u&&!o(u=d?u:u.prototype,s)&&i(u,s,{configurable:!0,value:l})}},function(r,n,a){var i=a(0)("unscopables"),o=Array.prototype;o[i]==null&&a(3)(o,i,{}),r.exports=function(s){o[i][s]=!0}},function(r,n){n.f=Object.getOwnPropertySymbols},function(r,n,a){var i=a(18),o=a(2),s=a(19),u=a(3),l=a(15),d=a(48),c=a(30),m=a(52),f=a(0)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};r.exports=function(v,y,b,g,_,w,x){d(b,y,g);var k,D,S,O=function(P){if(!p&&P in $)return $[P];switch(P){case"keys":case"values":return function(){return new b(this,P)}}return function(){return new b(this,P)}},C=y+" Iterator",E=_=="values",T=!1,$=v.prototype,I=$[f]||$["@@iterator"]||_&&$[_],W=I||O(_),U=_?E?O("entries"):W:void 0,M=y=="Array"&&$.entries||I;if(M&&(S=m(M.call(new v)))!==Object.prototype&&S.next&&(c(S,C,!0),i||typeof S[f]=="function"||u(S,f,h)),E&&I&&I.name!=="values"&&(T=!0,W=function(){return I.call(this)}),i&&!x||!p&&!T&&$[f]||u($,f,W),l[y]=W,l[C]=h,_)if(k={values:E?W:O("values"),keys:w?W:O("keys"),entries:U},x)for(D in k)D in $||s($,D,k[D]);else o(o.P+o.F*(p||T),y,k);return k}},function(r,n,a){r.exports=!a(8)&&!a(9)(function(){return Object.defineProperty(a(35)("div"),"a",{get:function(){return 7}}).a!=7})},function(r,n,a){var i=a(5),o=a(1).document,s=i(o)&&i(o.createElement);r.exports=function(u){return s?o.createElement(u):{}}},function(r,n,a){var i=a(12),o=a(49),s=a(29),u=a(27)("IE_PROTO"),l=function(){},d=function(){var c,m=a(35)("iframe"),f=s.length;for(m.style.display="none",a(51).appendChild(m),m.src="javascript:",(c=m.contentWindow.document).open(),c.write("<script>document.F=Object<\/script>"),c.close(),d=c.F;f--;)delete d.prototype[s[f]];return d()};r.exports=Object.create||function(c,m){var f;return c!==null?(l.prototype=i(c),f=new l,l.prototype=null,f[u]=c):f=d(),m===void 0?f:o(f,m)}},function(r,n,a){var i=a(6),o=a(11),s=a(38)(!1),u=a(27)("IE_PROTO");r.exports=function(l,d){var c,m=o(l),f=0,p=[];for(c in m)c!=u&&i(m,c)&&p.push(c);for(;d.length>f;)i(m,c=d[f++])&&(~s(p,c)||p.push(c));return p}},function(r,n,a){var i=a(11),o=a(26),s=a(50);r.exports=function(u){return function(l,d,c){var m,f=i(l),p=o(f.length),h=s(c,p);if(u&&d!=d){for(;p>h;)if((m=f[h++])!=m)return!0}else for(;p>h;h++)if((u||h in f)&&f[h]===d)return u||h||0;return!u&&-1}}},function(r,n,a){var i=a(31),o=a(65),s=a(15),u=a(11);r.exports=a(33)(Array,"Array",function(l,d){this._t=u(l),this._i=0,this._k=d},function(){var l=this._t,d=this._k,c=this._i++;return!l||c>=l.length?(this._t=void 0,o(1)):o(0,d=="keys"?c:d=="values"?l[c]:[c,l[c]])},"values"),s.Arguments=s.Array,i("keys"),i("values"),i("entries")},function(r,n,a){var i=a(20);r.exports=Array.isArray||function(o){return i(o)=="Array"}},function(r,n,a){var i=a(1),o=a(7),s=a(18),u=a(42),l=a(4).f;r.exports=function(d){var c=o.Symbol||(o.Symbol=s?{}:i.Symbol||{});d.charAt(0)=="_"||d in c||l(c,d,{value:u.f(d)})}},function(r,n,a){n.f=a(0)},function(r,n,a){var i=a(37),o=a(29).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(s){return i(s,o)}},function(r,n,a){a.r(n),a(45),a(53),a(60),a(61),a(39),a(66),a(68),a(70),a(74),a(75),a(80);function i(f,p){for(var h=0;h<p.length;h++){var v=p[h];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(f,v.key,v)}}var o={methods:{$smoothReflow:function(f){var p=function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this._smoothElements.push(new c(h))}.bind(this);Array.isArray(f)?f.forEach(p):p(f)},$unsmoothReflow:function(f){var p=function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d(),v=this.$el,y=this._smoothElements.findIndex(function(b){return u(v,b.options.el)===u(v,h.el)});if(y===-1)return void console.error("VSR_ERROR: $unsmoothReflow failed due to invalid el option");this._smoothElements[y].scheduleRemoval()}.bind(this);Array.isArray(f)?f.forEach(p):p(f)}},beforeMount:function(){var f=this;this._smoothElements=[],this._endListener=function(p){var h=!0,v=!1,y=void 0;try{for(var b,g=f._smoothElements[Symbol.iterator]();!(h=(b=g.next()).done);h=!0)b.value.endListener(p)}catch(_){v=!0,y=_}finally{try{h||g.return==null||g.return()}finally{if(v)throw y}}}},mounted:function(){this.$el.addEventListener("transitionend",this._endListener,{passive:!0})},destroyed:function(){this.$el.removeEventListener("transitionend",this._endListener,{passive:!0})},beforeUpdate:function(){this.$el.addEventListener("transitionend",this._endListener,{passive:!0}),s(this);var f=!0,p=!1,h=void 0;try{for(var v,y=this._smoothElements[Symbol.iterator]();!(f=(v=y.next()).done);f=!0){var b=v.value,g=u(this.$el,b.options.el);b.setSmoothElement(g),b.setBeforeValues()}}catch(_){p=!0,h=_}finally{try{f||y.return==null||y.return()}finally{if(p)throw h}}},updated:function(){var f=this;this.$nextTick(function(){var p=!0,h=!1,v=void 0;try{for(var y,b=f._smoothElements[Symbol.iterator]();!(p=(y=b.next()).done);p=!0){var g=y.value,_=u(f.$el,g.options.el);g.setSmoothElement(_),g.doSmoothReflow()}}catch(w){h=!0,v=w}finally{try{p||b.return==null||b.return()}finally{if(h)throw v}}s(f)})}};function s(f){for(var p=f._smoothElements.length;p--;){var h=f._smoothElements[p];h.isRemoved&&(h.stopTransition(),f._smoothElements.splice(p,1))}}function u(f,p){return!f||f instanceof Node&&f.nodeType===Node.COMMENT_NODE?null:p===null?f:function(h,v){return typeof v=="string"?h.matches(v)?h:h.querySelector(v):v}(f,p)}var l={INACTIVE:"INACTIVE",ACTIVE:"ACTIVE"},d=function(){return{el:null,property:"height",transitionEvent:null,hideOverflow:!0,debug:!1}},c=function(){function f(p){(function(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")})(this,f);var h=d();Object.assign(h,p);var v=this.parsePropertyOption(h.property);h.transition||(h.transition=v.map(function(b){return"".concat(b," .5s")}).join(","));var y={$smoothEl:null,properties:v,beforeRect:{},state:l.INACTIVE,isRemoved:!1};Object.assign(this,{options:h},y),this.endListener=this.endListener.bind(this),this.debug=this.debug.bind(this)}return function(p,h,v){h&&i(p.prototype,h),v&&i(p,v)}(f,[{key:"setSmoothElement",value:function(p){this.$smoothEl=p}},{key:"transitionTo",value:function(p){this.state=p}},{key:"parsePropertyOption",value:function(p){return typeof p=="string"?[p]:Array.isArray(p)?p:[]}},{key:"setBeforeValues",value:function(){var p=this.$smoothEl;if(this.beforeRect={},p){var h=window.getComputedStyle(p)||{},v=h.transition,y=h.overflowX,b=h.overflowY;this.computedTransition=v,this.overflowX=y,this.overflowY=b,this.beforeRect=m(p),this.state===l.ACTIVE&&(this.stopTransition(),this.debug("Transition was interrupted."))}}},{key:"didValuesChange",value:function(p,h){var v=p,y=h;if(Object.keys(p).length===0)return!1;var b=!0,g=!1,_=void 0;try{for(var w,x=this.properties[Symbol.iterator]();!(b=(w=x.next()).done);b=!0){var k=w.value;if(k==="transform"&&(v.top!==y.top||v.left!==y.left)||v[k]!==y[k])return!0}}catch(D){g=!0,_=D}finally{try{b||x.return==null||x.return()}finally{if(g)throw _}}return!1}},{key:"doSmoothReflow",value:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data update",h=this.$smoothEl;if(!h)return this.debug("Could not find registered el to perform doSmoothReflow."),void this.transitionTo(l.INACTIVE);if(this.state!==l.ACTIVE){var v=this.beforeRect,y=this.properties,b=this.options,g=this.overflowX,_=this.overflowY,w=this.debug;this.transitionTo(l.ACTIVE),w("doSmoothReflow triggered by:",typeof p=="string"?p:p.target);var x=m(h);if(!this.didValuesChange(v,x))return w("Property values did not change."),void this.transitionTo(l.INACTIVE);w("beforeRect",v),w("afterRect",x),this.saveOverflowValues(h,g,_);var k=!0,D=!1,S=void 0;try{for(var O,C=y[Symbol.iterator]();!(k=(O=C.next()).done);k=!0){var E=O.value;if(E==="transform"){var T=v.left-x.left,$=v.top-x.top;h.style.transform="translate(".concat(T,"px, ").concat($,"px)")}else h.style[E]=v[E]+"px"}}catch(j){D=!0,S=j}finally{try{k||C.return==null||C.return()}finally{if(D)throw S}}h.offsetHeight,h.style.transition=[this.computedTransition,b.transition].filter(function(j){return j}).join(",");var I=!0,W=!1,U=void 0;try{for(var M,P=y[Symbol.iterator]();!(I=(M=P.next()).done);I=!0){var A=M.value;A==="transform"?h.style.transform="":h.style[A]=x[A]+"px"}}catch(j){W=!0,U=j}finally{try{I||P.return==null||P.return()}finally{if(W)throw U}}}}},{key:"endListener",value:function(p){var h=this.$smoothEl,v=this.properties;h===p.target?v.includes(p.propertyName)&&(this.stopTransition(),this.hasRegisteredEventEmitter()&&this.setBeforeValues()):this.isRegisteredEventEmitter(h,p)&&this.doSmoothReflow(p)}},{key:"hasRegisteredEventEmitter",value:function(){var p=this.options.transitionEvent;return p!==null&&Object.keys(p).length>0}},{key:"isRegisteredEventEmitter",value:function(p,h){if(!this.hasRegisteredEventEmitter())return!1;var v=h.target,y=this.options.transitionEvent,b=y.selector,g=y.propertyName;if(g!=null&&g!==h.propertyName||b!=null&&!v.matches(b))return!1;if(this.properties.indexOf("transform")===-1){var _=!1,w=h.composedPath?h.composedPath():[],x=!0,k=!1,D=void 0;try{for(var S,O=w[Symbol.iterator]();!(x=(S=O.next()).done);x=!0)if(p===S.value){_=!0;break}}catch(C){k=!0,D=C}finally{try{x||O.return==null||O.return()}finally{if(k)throw D}}if(!_)return!1}return!0}},{key:"saveOverflowValues",value:function(p,h,v){this.options.hideOverflow&&(this.overflowX=h,this.overflowY=v,p.style.overflowX="hidden",p.style.overflowY="hidden")}},{key:"restoreOverflowValues",value:function(p){var h=this.options,v=this.overflowX,y=this.overflowY;h.hideOverflow&&(p.style.overflowX=v,p.style.overflowY=y)}},{key:"stopTransition",value:function(){var p=this.$smoothEl,h=this.properties,v=!0,y=!1,b=void 0;try{for(var g,_=h[Symbol.iterator]();!(v=(g=_.next()).done);v=!0){var w=g.value;p.style[w]=null}}catch(x){y=!0,b=x}finally{try{v||_.return==null||_.return()}finally{if(y)throw b}}this.restoreOverflowValues(p),p.style.transition=null,this.transitionTo(l.INACTIVE)}},{key:"scheduleRemoval",value:function(){this.isRemoved=!0}},{key:"debug",value:function(){if(this.options.debug){var p=["VSR_DEBUG:"].concat(Array.from(arguments));console.log.apply(null,p)}}}]),f}(),m=function(f){f.style.overflow="hidden";var p=f.getBoundingClientRect(),h=p.top,v=p.right,y=p.bottom,b=p.left,g=p.width,_=p.height,w=p.x,x=p.y;return f.style.overflow=null,{top:h,right:v,bottom:y,left:b,width:g,height:_,x:w,y:x}};typeof Element<"u"&&Element.prototype&&!Element.prototype.matches&&(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(f){for(var p=(this.document||this.ownerDocument).querySelectorAll(f),h=p.length;--h>=0&&p.item(h)!==this;);return h>-1}),n.default=o},function(r,n,a){var i=a(46)(!0);a(33)(String,"String",function(o){this._t=String(o),this._i=0},function(){var o,s=this._t,u=this._i;return u>=s.length?{value:void 0,done:!0}:(o=i(s,u),this._i+=o.length,{value:o,done:!1})})},function(r,n,a){var i=a(22),o=a(17);r.exports=function(s){return function(u,l){var d,c,m=String(o(u)),f=i(l),p=m.length;return f<0||f>=p?s?"":void 0:(d=m.charCodeAt(f))<55296||d>56319||f+1===p||(c=m.charCodeAt(f+1))<56320||c>57343?s?m.charAt(f):d:s?m.slice(f,f+2):c-56320+(d-55296<<10)+65536}}},function(r,n){r.exports=function(a){if(typeof a!="function")throw TypeError(a+" is not a function!");return a}},function(r,n,a){var i=a(36),o=a(13),s=a(30),u={};a(3)(u,a(0)("iterator"),function(){return this}),r.exports=function(l,d,c){l.prototype=i(u,{next:o(1,c)}),s(l,d+" Iterator")}},function(r,n,a){var i=a(4),o=a(12),s=a(10);r.exports=a(8)?Object.defineProperties:function(u,l){o(u);for(var d,c=s(l),m=c.length,f=0;m>f;)i.f(u,d=c[f++],l[d]);return u}},function(r,n,a){var i=a(22),o=Math.max,s=Math.min;r.exports=function(u,l){return(u=i(u))<0?o(u+l,0):s(u,l)}},function(r,n,a){var i=a(1).document;r.exports=i&&i.documentElement},function(r,n,a){var i=a(6),o=a(16),s=a(27)("IE_PROTO"),u=Object.prototype;r.exports=Object.getPrototypeOf||function(l){return l=o(l),i(l,s)?l[s]:typeof l.constructor=="function"&&l instanceof l.constructor?l.constructor.prototype:l instanceof Object?u:null}},function(r,n,a){var i=a(24),o=a(2),s=a(16),u=a(54),l=a(55),d=a(26),c=a(56),m=a(57);o(o.S+o.F*!a(59)(function(f){Array.from(f)}),"Array",{from:function(f){var p,h,v,y,b=s(f),g=typeof this=="function"?this:Array,_=arguments.length,w=_>1?arguments[1]:void 0,x=w!==void 0,k=0,D=m(b);if(x&&(w=i(w,_>2?arguments[2]:void 0,2)),D==null||g==Array&&l(D))for(h=new g(p=d(b.length));p>k;k++)c(h,k,x?w(b[k],k):b[k]);else for(y=D.call(b),h=new g;!(v=y.next()).done;k++)c(h,k,x?u(y,w,[v.value,k],!0):v.value);return h.length=k,h}})},function(r,n,a){var i=a(12);r.exports=function(o,s,u,l){try{return l?s(i(u)[0],u[1]):s(u)}catch(c){var d=o.return;throw d!==void 0&&i(d.call(o)),c}}},function(r,n,a){var i=a(15),o=a(0)("iterator"),s=Array.prototype;r.exports=function(u){return u!==void 0&&(i.Array===u||s[o]===u)}},function(r,n,a){var i=a(4),o=a(13);r.exports=function(s,u,l){u in s?i.f(s,u,o(0,l)):s[u]=l}},function(r,n,a){var i=a(58),o=a(0)("iterator"),s=a(15);r.exports=a(7).getIteratorMethod=function(u){if(u!=null)return u[o]||u["@@iterator"]||s[i(u)]}},function(r,n,a){var i=a(20),o=a(0)("toStringTag"),s=i(function(){return arguments}())=="Arguments";r.exports=function(u){var l,d,c;return u===void 0?"Undefined":u===null?"Null":typeof(d=function(m,f){try{return m[f]}catch{}}(l=Object(u),o))=="string"?d:s?i(l):(c=i(l))=="Object"&&typeof l.callee=="function"?"Arguments":c}},function(r,n,a){var i=a(0)("iterator"),o=!1;try{var s=[7][i]();s.return=function(){o=!0},Array.from(s,function(){throw 2})}catch{}r.exports=function(u,l){if(!l&&!o)return!1;var d=!1;try{var c=[7],m=c[i]();m.next=function(){return{done:d=!0}},c[i]=function(){return m},u(c)}catch{}return d}},function(r,n,a){var i=a(2),o=a(38)(!0);i(i.P,"Array",{includes:function(s){return o(this,s,arguments.length>1?arguments[1]:void 0)}}),a(31)("includes")},function(r,n,a){var i=a(2),o=a(62);i(i.P+i.F*a(64)("includes"),"String",{includes:function(s){return!!~o(this,s,"includes").indexOf(s,arguments.length>1?arguments[1]:void 0)}})},function(r,n,a){var i=a(63),o=a(17);r.exports=function(s,u,l){if(i(u))throw TypeError("String#"+l+" doesn't accept regex!");return String(o(s))}},function(r,n,a){var i=a(5),o=a(20),s=a(0)("match");r.exports=function(u){var l;return i(u)&&((l=u[s])!==void 0?!!l:o(u)=="RegExp")}},function(r,n,a){var i=a(0)("match");r.exports=function(o){var s=/./;try{"/./"[o](s)}catch{try{return s[i]=!1,!"/./"[o](s)}catch{}}return!0}},function(r,n){r.exports=function(a,i){return{value:i,done:!!a}}},function(r,n,a){var i=a(16),o=a(10);a(67)("keys",function(){return function(s){return o(i(s))}})},function(r,n,a){var i=a(2),o=a(7),s=a(9);r.exports=function(u,l){var d=(o.Object||{})[u]||Object[u],c={};c[u]=l(d),i(i.S+i.F*s(function(){d(1)}),"Object",c)}},function(r,n,a){var i=a(2);i(i.S+i.F,"Object",{assign:a(69)})},function(r,n,a){var i=a(10),o=a(32),s=a(21),u=a(16),l=a(25),d=Object.assign;r.exports=!d||a(9)(function(){var c={},m={},f=Symbol(),p="abcdefghijklmnopqrst";return c[f]=7,p.split("").forEach(function(h){m[h]=h}),d({},c)[f]!=7||Object.keys(d({},m)).join("")!=p})?function(c,m){for(var f=u(c),p=arguments.length,h=1,v=o.f,y=s.f;p>h;)for(var b,g=l(arguments[h++]),_=v?i(g).concat(v(g)):i(g),w=_.length,x=0;w>x;)y.call(g,b=_[x++])&&(f[b]=g[b]);return f}:d},function(r,n,a){var i=a(2),o=a(71)(6),s="findIndex",u=!0;s in[]&&Array(1)[s](function(){u=!1}),i(i.P+i.F*u,"Array",{findIndex:function(l){return o(this,l,arguments.length>1?arguments[1]:void 0)}}),a(31)(s)},function(r,n,a){var i=a(24),o=a(25),s=a(16),u=a(26),l=a(72);r.exports=function(d,c){var m=d==1,f=d==2,p=d==3,h=d==4,v=d==6,y=d==5||v,b=c||l;return function(g,_,w){for(var x,k,D=s(g),S=o(D),O=i(_,w,3),C=u(S.length),E=0,T=m?b(g,C):f?b(g,0):void 0;C>E;E++)if((y||E in S)&&(k=O(x=S[E],E,D),d)){if(m)T[E]=k;else if(k)switch(d){case 3:return!0;case 5:return x;case 6:return E;case 2:T.push(x)}else if(h)return!1}return v?-1:p||h?h:T}}},function(r,n,a){var i=a(73);r.exports=function(o,s){return new(i(o))(s)}},function(r,n,a){var i=a(5),o=a(40),s=a(0)("species");r.exports=function(u){var l;return o(u)&&(typeof(l=u.constructor)!="function"||l!==Array&&!o(l.prototype)||(l=void 0),i(l)&&(l=l[s])===null&&(l=void 0)),l===void 0?Array:l}},function(r,n,a){a(41)("asyncIterator")},function(r,n,a){var i=a(1),o=a(6),s=a(8),u=a(2),l=a(19),d=a(76).KEY,c=a(9),m=a(28),f=a(30),p=a(14),h=a(0),v=a(42),y=a(41),b=a(77),g=a(40),_=a(12),w=a(5),x=a(11),k=a(23),D=a(13),S=a(36),O=a(78),C=a(79),E=a(4),T=a(10),$=C.f,I=E.f,W=O.f,U=i.Symbol,M=i.JSON,P=M&&M.stringify,A=h("_hidden"),j=h("toPrimitive"),B={}.propertyIsEnumerable,G=m("symbol-registry"),X=m("symbols"),Q=m("op-symbols"),H=Object.prototype,J=typeof U=="function",fe=i.QObject,xe=!fe||!fe.prototype||!fe.prototype.findChild,Oe=s&&c(function(){return S(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a!=7})?function(V,z,K){var ae=$(H,z);ae&&delete H[z],I(V,z,K),ae&&V!==H&&I(H,z,ae)}:I,Ee=function(V){var z=X[V]=S(U.prototype);return z._k=V,z},Re=J&&typeof U.iterator=="symbol"?function(V){return typeof V=="symbol"}:function(V){return V instanceof U},Be=function(V,z,K){return V===H&&Be(Q,z,K),_(V),z=k(z,!0),_(K),o(X,z)?(K.enumerable?(o(V,A)&&V[A][z]&&(V[A][z]=!1),K=S(K,{enumerable:D(0,!1)})):(o(V,A)||I(V,A,D(1,{})),V[A][z]=!0),Oe(V,z,K)):I(V,z,K)},Tt=function(V,z){_(V);for(var K,ae=b(z=x(z)),he=0,ve=ae.length;ve>he;)Be(V,K=ae[he++],z[K]);return V},it=function(V){var z=B.call(this,V=k(V,!0));return!(this===H&&o(X,V)&&!o(Q,V))&&(!(z||!o(this,V)||!o(X,V)||o(this,A)&&this[A][V])||z)},Qe=function(V,z){if(V=x(V),z=k(z,!0),V!==H||!o(X,z)||o(Q,z)){var K=$(V,z);return!K||!o(X,z)||o(V,A)&&V[A][z]||(K.enumerable=!0),K}},Xe=function(V){for(var z,K=W(x(V)),ae=[],he=0;K.length>he;)o(X,z=K[he++])||z==A||z==d||ae.push(z);return ae},Bt=function(V){for(var z,K=V===H,ae=W(K?Q:x(V)),he=[],ve=0;ae.length>ve;)!o(X,z=ae[ve++])||K&&!o(H,z)||he.push(X[z]);return he};J||(l((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor!");var V=p(arguments.length>0?arguments[0]:void 0),z=function(K){this===H&&z.call(Q,K),o(this,A)&&o(this[A],V)&&(this[A][V]=!1),Oe(this,V,D(1,K))};return s&&xe&&Oe(H,V,{configurable:!0,set:z}),Ee(V)}).prototype,"toString",function(){return this._k}),C.f=Qe,E.f=Be,a(43).f=O.f=Xe,a(21).f=it,a(32).f=Bt,s&&!a(18)&&l(H,"propertyIsEnumerable",it,!0),v.f=function(V){return Ee(h(V))}),u(u.G+u.W+u.F*!J,{Symbol:U});for(var Fr="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),jt=0;Fr.length>jt;)h(Fr[jt++]);for(var jr=T(h.store),R=0;jr.length>R;)y(jr[R++]);u(u.S+u.F*!J,"Symbol",{for:function(V){return o(G,V+="")?G[V]:G[V]=U(V)},keyFor:function(V){if(!Re(V))throw TypeError(V+" is not a symbol!");for(var z in G)if(G[z]===V)return z},useSetter:function(){xe=!0},useSimple:function(){xe=!1}}),u(u.S+u.F*!J,"Object",{create:function(V,z){return z===void 0?S(V):Tt(S(V),z)},defineProperty:Be,defineProperties:Tt,getOwnPropertyDescriptor:Qe,getOwnPropertyNames:Xe,getOwnPropertySymbols:Bt}),M&&u(u.S+u.F*(!J||c(function(){var V=U();return P([V])!="[null]"||P({a:V})!="{}"||P(Object(V))!="{}"})),"JSON",{stringify:function(V){for(var z,K,ae=[V],he=1;arguments.length>he;)ae.push(arguments[he++]);if(K=z=ae[1],(w(z)||V!==void 0)&&!Re(V))return g(z)||(z=function(ve,Pe){if(typeof K=="function"&&(Pe=K.call(this,ve,Pe)),!Re(Pe))return Pe}),ae[1]=z,P.apply(M,ae)}}),U.prototype[j]||a(3)(U.prototype,j,U.prototype.valueOf),f(U,"Symbol"),f(Math,"Math",!0),f(i.JSON,"JSON",!0)},function(r,n,a){var i=a(14)("meta"),o=a(5),s=a(6),u=a(4).f,l=0,d=Object.isExtensible||function(){return!0},c=!a(9)(function(){return d(Object.preventExtensions({}))}),m=function(p){u(p,i,{value:{i:"O"+ ++l,w:{}}})},f=r.exports={KEY:i,NEED:!1,fastKey:function(p,h){if(!o(p))return typeof p=="symbol"?p:(typeof p=="string"?"S":"P")+p;if(!s(p,i)){if(!d(p))return"F";if(!h)return"E";m(p)}return p[i].i},getWeak:function(p,h){if(!s(p,i)){if(!d(p))return!0;if(!h)return!1;m(p)}return p[i].w},onFreeze:function(p){return c&&f.NEED&&d(p)&&!s(p,i)&&m(p),p}}},function(r,n,a){var i=a(10),o=a(32),s=a(21);r.exports=function(u){var l=i(u),d=o.f;if(d)for(var c,m=d(u),f=s.f,p=0;m.length>p;)f.call(u,c=m[p++])&&l.push(c);return l}},function(r,n,a){var i=a(11),o=a(43).f,s={}.toString,u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];r.exports.f=function(l){return u&&s.call(l)=="[object Window]"?function(d){try{return o(d)}catch{return u.slice()}}(l):o(i(l))}},function(r,n,a){var i=a(21),o=a(13),s=a(11),u=a(23),l=a(6),d=a(34),c=Object.getOwnPropertyDescriptor;n.f=a(8)?c:function(m,f){if(m=s(m),f=u(f,!0),d)try{return c(m,f)}catch{}if(l(m,f))return o(!i.f.call(m,f),m[f])}},function(r,n,a){for(var i=a(39),o=a(10),s=a(19),u=a(1),l=a(3),d=a(15),c=a(0),m=c("iterator"),f=c("toStringTag"),p=d.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=o(h),y=0;y<v.length;y++){var b,g=v[y],_=h[g],w=u[g],x=w&&w.prototype;if(x&&(x[m]||l(x,m,p),x[f]||l(x,f,g),d[g]=p,_))for(b in i)x[b]||s(x,b,i[b],!0)}}]).default})})(jq);const s3e=Z(jq.exports),u3e={property:["height","width"],transition:"height 150ms cubic-bezier(0.175, 0.885, 0.32, 1), width .25s ease-out, transform 150ms cubic-bezier(0.175, 0.885, 0.32, 1)"},l3e={name:"Animation",mixins:[s3e],props:{tag:{type:String,default:"div"},options:{type:Object,default:null}},mounted(){this.$smoothReflow({...u3e,...this.options})}};var d3e=function(){var e=this,r=e._self._c;return r(e.tag,{tag:"component"},[e._t("default")],2)},c3e=[],f3e=we(l3e,d3e,c3e,!1,null,null,null,null);const Vk=f3e.exports;function m3e(t){String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)},ie.use(Pw,{disposeTimeout:100,defaultDelay:300,defaultContainer:t.parentElement}),ie.use(bj,{dynamic:!0,injectModalsContainer:!1,dynamicDefaults:{transition:"no-animation"}}),ie.prototype.$modal.getOpenInstances=()=>{const{_dynamicContainer:r}=bj.rootInstance||{};if(!r||r.modals.length===0)return[];const{modals:n}=r;return n},ie.prototype.$view="widget",ie.use(Ale),ie.use(Lde),ie.component(pp.name,pp),ie.component(ud.name,ud),ie.component(ld.name,ld),ie.component(hp.name,hp),ie.component(Vk.name,Vk),ge.debug&&(ie.config.productionTip=!1,ie.config.devtools=!0,ie.config.performance=!0);const e=new ie({el:t,router:vs,store:It,i18n:ce,render:r=>r(b5e)});return vs.beforeEach((r,n,a)=>(vs.resolve({...r}).href==="/"&&(si.open=!1),a())),e}const Pvt="",kvt="",Tvt="",Evt="",Mvt="",Svt="";function p3e(t,e){Object.entries(t).forEach(([r,n])=>{var a,i;(i=(a=e==null?void 0:e.style)==null?void 0:a.setProperty)==null||i.call(a,r,n)})}let Vq;const Uq={initialized:!1,app:null,_rootId:null,init(t={}){var a;if(this.initialized)return;this._rootId=`${t.LIB_NAME}-shadow`;const e=document.createElement("div"),r=document.createElement("div"),n=document.createElement("div");e.setAttribute("id",this._rootId),e.style.zIndex=1001,e.style.position="fixed",r.setAttribute("id",`${this._rootId}-child`),(a=t.ui)!=null&&a.vars&&p3e(t.ui.vars,r),e.appendChild(r);{const i=document.getElementById("CLING_WIDGET_STYLE");i.disabled=!1,r.appendChild(i),r.appendChild(n),e.attachShadow({mode:"open"}).appendChild(r),document.body.appendChild(e)}Le.setPrefix("cling-"),this.app=m3e(n),this.initialized=!0},get store(){var t;return(t=this.app)==null?void 0:t.$store},get router(){var t;return(t=this.app)==null?void 0:t.$router},get isLoggedIn(){return!!Le.getItem("token")},async test(){this.init(),await this.auth({email:"widget-demo@cling.se",password:"Widgettest123"});const t=await this.document.get("636b4befc434aa77b09349b3");t.ui.sendReminder.open(),Vq=t.ui.sendReminder.open},openDrawer(){Vq()},async test2(){this.init(),await this.auth({email:"widget-demo@cling.se",password:"Widgettest123"});const t=await Uq.document.new();t.ui.send.open(),t.on("save",e=>{console.log("running event cb fn for document:save"),console.log(e)})},async auth({method:t="standard",email:e,password:r,authToken:n}){var i,o;return t==="standard"?await((i=this.store)==null?void 0:i.dispatch("application/LOGIN_USER",{email:e,password:r,doRedirect:!1})):t==="authToken"&&await((o=this.store)==null?void 0:o.dispatch("application/LOGIN_AUTH_TOKEN",{authToken:n,doRedirect:!1})),this.isLoggedIn},destroy(){var t,e;this.app.$destroy(),(e=(t=document.getElementById(this._rootId))==null?void 0:t.remove)==null||e.call(t)},...Dje},h3e=Object.freeze(Object.defineProperty({__proto__:null,default:Uq},Symbol.toStringTag,{value:"Module"}));var vp=function(t){return t&&t.Math==Math&&t},zt=vp(typeof globalThis=="object"&&globalThis)||vp(typeof window=="object"&&window)||vp(typeof self=="object"&&self)||vp(typeof Ae=="object"&&Ae)||function(){return this}()||Function("return this")(),Uk={},pt=function(t){try{return!!t()}catch{return!0}},v3e=pt,fn=!v3e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),g3e=pt,gp=!g3e(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),y3e=gp,yp=Function.prototype.call,Yr=y3e?yp.bind(yp):function(){return yp.apply(yp,arguments)},zk={},zq={}.propertyIsEnumerable,Bq=Object.getOwnPropertyDescriptor,_3e=Bq&&!zq.call({1:2},1);zk.f=_3e?function(e){var r=Bq(this,e);return!!r&&r.enumerable}:zq;var _p=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},Hq=gp,qq=Function.prototype,Bk=qq.call,b3e=Hq&&qq.bind.bind(Bk,Bk),Yq=Hq?b3e:function(t){return function(){return Bk.apply(t,arguments)}},Gq=Yq,w3e=Gq({}.toString),x3e=Gq("".slice),di=function(t){return x3e(w3e(t),8,-1)},P3e=di,k3e=Yq,bt=function(t){if(P3e(t)==="Function")return k3e(t)},T3e=bt,E3e=pt,M3e=di,Hk=Object,S3e=T3e("".split),bp=E3e(function(){return!Hk("z").propertyIsEnumerable(0)})?function(t){return M3e(t)=="String"?S3e(t,""):Hk(t)}:Hk,yo=function(t){return t==null},O3e=yo,C3e=TypeError,ru=function(t){if(O3e(t))throw C3e("Can't call method on "+t);return t},D3e=bp,$3e=ru,nu=function(t){return D3e($3e(t))},qk=typeof document=="object"&&document.all,A3e=typeof qk>"u"&&qk!==void 0,Kq={all:qk,IS_HTMLDDA:A3e},Xq=Kq,R3e=Xq.all,Nt=Xq.IS_HTMLDDA?function(t){return typeof t=="function"||t===R3e}:function(t){return typeof t=="function"},Jq=Nt,Qq=Kq,I3e=Qq.all,yr=Qq.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:Jq(t)||t===I3e}:function(t){return typeof t=="object"?t!==null:Jq(t)},Yk=zt,N3e=Nt,L3e=function(t){return N3e(t)?t:void 0},dd=function(t,e){return arguments.length<2?L3e(Yk[t]):Yk[t]&&Yk[t][e]},W3e=bt,Gk=W3e({}.isPrototypeOf),F3e=dd,j3e=F3e("navigator","userAgent")||"",Zq=zt,Kk=j3e,e6=Zq.process,t6=Zq.Deno,r6=e6&&e6.versions||t6&&t6.version,n6=r6&&r6.v8,mn,wp;n6&&(mn=n6.split("."),wp=mn[0]>0&&mn[0]<4?1:+(mn[0]+mn[1])),!wp&&Kk&&(mn=Kk.match(/Edge\/(\d+)/),(!mn||mn[1]>=74)&&(mn=Kk.match(/Chrome\/(\d+)/),mn&&(wp=+mn[1])));var xp=wp,a6=xp,V3e=pt,i6=!!Object.getOwnPropertySymbols&&!V3e(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&a6&&a6<41}),U3e=i6,o6=U3e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",z3e=dd,B3e=Nt,H3e=Gk,q3e=o6,Y3e=Object,s6=q3e?function(t){return typeof t=="symbol"}:function(t){var e=z3e("Symbol");return B3e(e)&&H3e(e.prototype,Y3e(t))},G3e=String,Xk=function(t){try{return G3e(t)}catch{return"Object"}},K3e=Nt,X3e=Xk,J3e=TypeError,Pp=function(t){if(K3e(t))return t;throw J3e(X3e(t)+" is not a function")},Q3e=Pp,Z3e=yo,cd=function(t,e){var r=t[e];return Z3e(r)?void 0:Q3e(r)},Jk=Yr,Qk=Nt,Zk=yr,eVe=TypeError,tVe=function(t,e){var r,n;if(e==="string"&&Qk(r=t.toString)&&!Zk(n=Jk(r,t))||Qk(r=t.valueOf)&&!Zk(n=Jk(r,t))||e!=="string"&&Qk(r=t.toString)&&!Zk(n=Jk(r,t)))return n;throw eVe("Can't convert object to primitive value")},kp={exports:{}},u6=zt,rVe=Object.defineProperty,eT=function(t,e){try{rVe(u6,t,{value:e,configurable:!0,writable:!0})}catch{u6[t]=e}return e},nVe=zt,aVe=eT,l6="__core-js_shared__",iVe=nVe[l6]||aVe(l6,{}),tT=iVe,d6=tT;(kp.exports=function(t,e){return d6[t]||(d6[t]=e!==void 0?e:{})})("versions",[]).push({version:"3.26.0",mode:"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"});var oVe=ru,sVe=Object,_o=function(t){return sVe(oVe(t))},uVe=bt,lVe=_o,dVe=uVe({}.hasOwnProperty),pn=Object.hasOwn||function(e,r){return dVe(lVe(e),r)},cVe=bt,fVe=0,mVe=Math.random(),pVe=cVe(1 .toString),rT=function(t){return"Symbol("+(t===void 0?"":t)+")_"+pVe(++fVe+mVe,36)},hVe=zt,vVe=kp.exports,c6=pn,gVe=rT,f6=i6,m6=o6,au=vVe("wks"),bo=hVe.Symbol,p6=bo&&bo.for,yVe=m6?bo:bo&&bo.withoutSetter||gVe,ar=function(t){if(!c6(au,t)||!(f6||typeof au[t]=="string")){var e="Symbol."+t;f6&&c6(bo,t)?au[t]=bo[t]:m6&&p6?au[t]=p6(e):au[t]=yVe(e)}return au[t]},_Ve=Yr,h6=yr,v6=s6,bVe=cd,wVe=tVe,xVe=ar,PVe=TypeError,kVe=xVe("toPrimitive"),TVe=function(t,e){if(!h6(t)||v6(t))return t;var r=bVe(t,kVe),n;if(r){if(e===void 0&&(e="default"),n=_Ve(r,t,e),!h6(n)||v6(n))return n;throw PVe("Can't convert object to primitive value")}return e===void 0&&(e="number"),wVe(t,e)},EVe=TVe,MVe=s6,nT=function(t){var e=EVe(t,"string");return MVe(e)?e:e+""},SVe=zt,g6=yr,aT=SVe.document,OVe=g6(aT)&&g6(aT.createElement),iT=function(t){return OVe?aT.createElement(t):{}},CVe=fn,DVe=pt,$Ve=iT,y6=!CVe&&!DVe(function(){return Object.defineProperty($Ve("div"),"a",{get:function(){return 7}}).a!=7}),AVe=fn,RVe=Yr,IVe=zk,NVe=_p,LVe=nu,WVe=nT,FVe=pn,jVe=y6,_6=Object.getOwnPropertyDescriptor;Uk.f=AVe?_6:function(e,r){if(e=LVe(e),r=WVe(r),jVe)try{return _6(e,r)}catch{}if(FVe(e,r))return NVe(!RVe(IVe.f,e,r),e[r])};var hn={},VVe=fn,UVe=pt,b6=VVe&&UVe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),zVe=yr,BVe=String,HVe=TypeError,Nr=function(t){if(zVe(t))return t;throw HVe(BVe(t)+" is not an object")},qVe=fn,YVe=y6,GVe=b6,Tp=Nr,w6=nT,KVe=TypeError,oT=Object.defineProperty,XVe=Object.getOwnPropertyDescriptor,sT="enumerable",uT="configurable",lT="writable";hn.f=qVe?GVe?function(e,r,n){if(Tp(e),r=w6(r),Tp(n),typeof e=="function"&&r==="prototype"&&"value"in n&&lT in n&&!n[lT]){var a=XVe(e,r);a&&a[lT]&&(e[r]=n.value,n={configurable:uT in n?n[uT]:a[uT],enumerable:sT in n?n[sT]:a[sT],writable:!1})}return oT(e,r,n)}:oT:function(e,r,n){if(Tp(e),r=w6(r),Tp(n),YVe)try{return oT(e,r,n)}catch{}if("get"in n||"set"in n)throw KVe("Accessors not supported");return"value"in n&&(e[r]=n.value),e};var JVe=fn,QVe=hn,ZVe=_p,iu=JVe?function(t,e,r){return QVe.f(t,e,ZVe(1,r))}:function(t,e,r){return t[e]=r,t},x6={exports:{}},dT=fn,e4e=pn,P6=Function.prototype,t4e=dT&&Object.getOwnPropertyDescriptor,cT=e4e(P6,"name"),r4e=cT&&function(){}.name==="something",n4e=cT&&(!dT||dT&&t4e(P6,"name").configurable),fT={EXISTS:cT,PROPER:r4e,CONFIGURABLE:n4e},a4e=bt,i4e=Nt,mT=tT,o4e=a4e(Function.toString);i4e(mT.inspectSource)||(mT.inspectSource=function(t){return o4e(t)});var k6=mT.inspectSource,s4e=zt,u4e=Nt,T6=s4e.WeakMap,E6=u4e(T6)&&/native code/.test(String(T6)),l4e=kp.exports,d4e=rT,M6=l4e("keys"),pT=function(t){return M6[t]||(M6[t]=d4e(t))},Ep={},c4e=E6,S6=zt,f4e=yr,m4e=iu,hT=pn,vT=tT,p4e=pT,h4e=Ep,O6="Object already initialized",gT=S6.TypeError,v4e=S6.WeakMap,Mp,fd,Sp,g4e=function(t){return Sp(t)?fd(t):Mp(t,{})},y4e=function(t){return function(e){var r;if(!f4e(e)||(r=fd(e)).type!==t)throw gT("Incompatible receiver, "+t+" required");return r}};if(c4e||vT.state){var jn=vT.state||(vT.state=new v4e);jn.get=jn.get,jn.has=jn.has,jn.set=jn.set,Mp=function(t,e){if(jn.has(t))throw gT(O6);return e.facade=t,jn.set(t,e),e},fd=function(t){return jn.get(t)||{}},Sp=function(t){return jn.has(t)}}else{var ou=p4e("state");h4e[ou]=!0,Mp=function(t,e){if(hT(t,ou))throw gT(O6);return e.facade=t,m4e(t,ou,e),e},fd=function(t){return hT(t,ou)?t[ou]:{}},Sp=function(t){return hT(t,ou)}}var su={set:Mp,get:fd,has:Sp,enforce:g4e,getterFor:y4e},_4e=pt,b4e=Nt,Op=pn,yT=fn,w4e=fT.CONFIGURABLE,x4e=k6,C6=su,P4e=C6.enforce,k4e=C6.get,Cp=Object.defineProperty,T4e=yT&&!_4e(function(){return Cp(function(){},"length",{value:8}).length!==8}),E4e=String(String).split("String"),M4e=x6.exports=function(t,e,r){String(e).slice(0,7)==="Symbol("&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Op(t,"name")||w4e&&t.name!==e)&&(yT?Cp(t,"name",{value:e,configurable:!0}):t.name=e),T4e&&r&&Op(r,"arity")&&t.length!==r.arity&&Cp(t,"length",{value:r.arity});try{r&&Op(r,"constructor")&&r.constructor?yT&&Cp(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var n=P4e(t);return Op(n,"source")||(n.source=E4e.join(typeof e=="string"?e:"")),t};Function.prototype.toString=M4e(function(){return b4e(this)&&k4e(this).source||x4e(this)},"toString");var S4e=Nt,O4e=hn,C4e=x6.exports,D4e=eT,wo=function(t,e,r,n){n||(n={});var a=n.enumerable,i=n.name!==void 0?n.name:e;if(S4e(r)&&C4e(r,i,n),n.global)a?t[e]=r:D4e(e,r);else{try{n.unsafe?t[e]&&(a=!0):delete t[e]}catch{}a?t[e]=r:O4e.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},Dp={},$4e=Math.ceil,A4e=Math.floor,R4e=Math.trunc||function(e){var r=+e;return(r>0?A4e:$4e)(r)},I4e=R4e,$p=function(t){var e=+t;return e!==e||e===0?0:I4e(e)},N4e=$p,L4e=Math.max,W4e=Math.min,D6=function(t,e){var r=N4e(t);return r<0?L4e(r+e,0):W4e(r,e)},F4e=$p,j4e=Math.min,_T=function(t){return t>0?j4e(F4e(t),9007199254740991):0},V4e=_T,uu=function(t){return V4e(t.length)},U4e=nu,z4e=D6,B4e=uu,$6=function(t){return function(e,r,n){var a=U4e(e),i=B4e(a),o=z4e(n,i),s;if(t&&r!=r){for(;i>o;)if(s=a[o++],s!=s)return!0}else for(;i>o;o++)if((t||o in a)&&a[o]===r)return t||o||0;return!t&&-1}},H4e={includes:$6(!0),indexOf:$6(!1)},q4e=bt,bT=pn,Y4e=nu,G4e=H4e.indexOf,K4e=Ep,A6=q4e([].push),R6=function(t,e){var r=Y4e(t),n=0,a=[],i;for(i in r)!bT(K4e,i)&&bT(r,i)&&A6(a,i);for(;e.length>n;)bT(r,i=e[n++])&&(~G4e(a,i)||A6(a,i));return a},wT=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],X4e=R6,J4e=wT,Q4e=J4e.concat("length","prototype");Dp.f=Object.getOwnPropertyNames||function(e){return X4e(e,Q4e)};var xT={};xT.f=Object.getOwnPropertySymbols;var Z4e=dd,eUe=bt,tUe=Dp,rUe=xT,nUe=Nr,aUe=eUe([].concat),iUe=Z4e("Reflect","ownKeys")||function(e){var r=tUe.f(nUe(e)),n=rUe.f;return n?aUe(r,n(e)):r},I6=pn,oUe=iUe,sUe=Uk,uUe=hn,lUe=function(t,e,r){for(var n=oUe(e),a=uUe.f,i=sUe.f,o=0;o<n.length;o++){var s=n[o];!I6(t,s)&&!(r&&I6(r,s))&&a(t,s,i(e,s))}},dUe=pt,cUe=Nt,fUe=/#|\.prototype\./,md=function(t,e){var r=pUe[mUe(t)];return r==vUe?!0:r==hUe?!1:cUe(e)?dUe(e):!!e},mUe=md.normalize=function(t){return String(t).replace(fUe,".").toLowerCase()},pUe=md.data={},hUe=md.NATIVE="N",vUe=md.POLYFILL="P",N6=md,PT=zt,gUe=Uk.f,yUe=iu,_Ue=wo,bUe=eT,wUe=lUe,xUe=N6,pa=function(t,e){var r=t.target,n=t.global,a=t.stat,i,o,s,u,l,d;if(n?o=PT:a?o=PT[r]||bUe(r,{}):o=(PT[r]||{}).prototype,o)for(s in e){if(l=e[s],t.dontCallGetSet?(d=gUe(o,s),u=d&&d.value):u=o[s],i=xUe(n?s:r+(a?".":"#")+s,t.forced),!i&&u!==void 0){if(typeof l==typeof u)continue;wUe(l,u)}(t.sham||u&&u.sham)&&yUe(l,"sham",!0),_Ue(o,s,l,t)}},PUe=R6,kUe=wT,L6=Object.keys||function(e){return PUe(e,kUe)},W6=fn,TUe=bt,EUe=Yr,MUe=pt,kT=L6,SUe=xT,OUe=zk,CUe=_o,DUe=bp,lu=Object.assign,F6=Object.defineProperty,$Ue=TUe([].concat),AUe=!lu||MUe(function(){if(W6&&lu({b:1},lu(F6({},"a",{enumerable:!0,get:function(){F6(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(a){e[a]=a}),lu({},t)[r]!=7||kT(lu({},e)).join("")!=n})?function(e,r){for(var n=CUe(e),a=arguments.length,i=1,o=SUe.f,s=OUe.f;a>i;)for(var u=DUe(arguments[i++]),l=o?$Ue(kT(u),o(u)):kT(u),d=l.length,c=0,m;d>c;)m=l[c++],(!W6||EUe(s,u,m))&&(n[m]=u[m]);return n}:lu,RUe=pa,j6=AUe;RUe({target:"Object",stat:!0,arity:2,forced:Object.assign!==j6},{assign:j6});var IUe=di,V6=Array.isArray||function(e){return IUe(e)=="Array"},NUe=TypeError,LUe=9007199254740991,WUe=function(t){if(t>LUe)throw NUe("Maximum allowed index exceeded");return t},FUe=nT,jUe=hn,VUe=_p,U6=function(t,e,r){var n=FUe(e);n in t?jUe.f(t,n,VUe(0,r)):t[n]=r},UUe=ar,zUe=UUe("toStringTag"),z6={};z6[zUe]="z";var TT=String(z6)==="[object z]",BUe=TT,HUe=Nt,Ap=di,qUe=ar,YUe=qUe("toStringTag"),GUe=Object,KUe=Ap(function(){return arguments}())=="Arguments",XUe=function(t,e){try{return t[e]}catch{}},Rp=BUe?Ap:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=XUe(e=GUe(t),YUe))=="string"?r:KUe?Ap(e):(n=Ap(e))=="Object"&&HUe(e.callee)?"Arguments":n},JUe=bt,QUe=pt,B6=Nt,ZUe=Rp,eze=dd,tze=k6,H6=function(){},rze=[],q6=eze("Reflect","construct"),ET=/^\s*(?:class|function)\b/,nze=JUe(ET.exec),aze=!ET.exec(H6),pd=function(e){if(!B6(e))return!1;try{return q6(H6,rze,e),!0}catch{return!1}},Y6=function(e){if(!B6(e))return!1;switch(ZUe(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return aze||!!nze(ET,tze(e))}catch{return!0}};Y6.sham=!0;var ize=!q6||QUe(function(){var t;return pd(pd.call)||!pd(Object)||!pd(function(){t=!0})||t})?Y6:pd,G6=V6,oze=ize,sze=yr,uze=ar,lze=uze("species"),K6=Array,dze=function(t){var e;return G6(t)&&(e=t.constructor,oze(e)&&(e===K6||G6(e.prototype))?e=void 0:sze(e)&&(e=e[lze],e===null&&(e=void 0))),e===void 0?K6:e},cze=dze,X6=function(t,e){return new(cze(t))(e===0?0:e)},fze=pt,mze=ar,pze=xp,hze=mze("species"),J6=function(t){return pze>=51||!fze(function(){var e=[],r=e.constructor={};return r[hze]=function(){return{foo:1}},e[t](Boolean).foo!==1})},vze=pa,gze=pt,yze=V6,_ze=yr,bze=_o,wze=uu,Q6=WUe,Z6=U6,xze=X6,Pze=J6,kze=ar,Tze=xp,eY=kze("isConcatSpreadable"),Eze=Tze>=51||!gze(function(){var t=[];return t[eY]=!1,t.concat()[0]!==t}),Mze=Pze("concat"),Sze=function(t){if(!_ze(t))return!1;var e=t[eY];return e!==void 0?!!e:yze(t)},Oze=!Eze||!Mze;vze({target:"Array",proto:!0,arity:1,forced:Oze},{concat:function(e){var r=bze(this),n=xze(r,0),a=0,i,o,s,u,l;for(i=-1,s=arguments.length;i<s;i++)if(l=i===-1?r:arguments[i],Sze(l))for(u=wze(l),Q6(a+u),o=0;o<u;o++,a++)o in l&&Z6(n,a,l[o]);else Q6(a+1),Z6(n,a++,l);return n.length=a,n}});var Cze=TT,Dze=Rp,$ze=Cze?{}.toString:function(){return"[object "+Dze(this)+"]"},Aze=TT,Rze=wo,Ize=$ze;Aze||Rze(Object.prototype,"toString",Ize,{unsafe:!0});var tY={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Nze=iT,MT=Nze("span").classList,rY=MT&&MT.constructor&&MT.constructor.prototype,nY=rY===Object.prototype?void 0:rY,aY=bt,Lze=Pp,Wze=gp,Fze=aY(aY.bind),iY=function(t,e){return Lze(t),e===void 0?t:Wze?Fze(t,e):function(){return t.apply(e,arguments)}},jze=iY,Vze=bt,Uze=bp,zze=_o,Bze=uu,Hze=X6,oY=Vze([].push),ci=function(t){var e=t==1,r=t==2,n=t==3,a=t==4,i=t==6,o=t==7,s=t==5||i;return function(u,l,d,c){for(var m=zze(u),f=Uze(m),p=jze(l,d),h=Bze(f),v=0,y=c||Hze,b=e?y(u,h):r||o?y(u,0):void 0,g,_;h>v;v++)if((s||v in f)&&(g=f[v],_=p(g,v,m),t))if(e)b[v]=_;else if(_)switch(t){case 3:return!0;case 5:return g;case 6:return v;case 2:oY(b,g)}else switch(t){case 4:return!1;case 7:oY(b,g)}return i?-1:n||a?a:b}},ST={forEach:ci(0),map:ci(1),filter:ci(2),some:ci(3),every:ci(4),find:ci(5),findIndex:ci(6),filterReject:ci(7)},qze=pt,sY=function(t,e){var r=[][t];return!!r&&qze(function(){r.call(null,e||function(){return 1},1)})},Yze=ST.forEach,Gze=sY,Kze=Gze("forEach"),Xze=Kze?[].forEach:function(e){return Yze(this,e,arguments.length>1?arguments[1]:void 0)},uY=zt,lY=tY,Jze=nY,OT=Xze,Qze=iu,dY=function(t){if(t&&t.forEach!==OT)try{Qze(t,"forEach",OT)}catch{t.forEach=OT}};for(var CT in lY)lY[CT]&&dY(uY[CT]&&uY[CT].prototype);dY(Jze);var Zze=!!(typeof window<"u"&&window.document&&window.document.createElement),DT=Zze,eBe=Rp,tBe=String,xo=function(t){if(eBe(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return tBe(t)},cY=`
549
+ */function $je(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:n});else{var r=t.prototype._init;t.prototype._init=function(a){a===void 0&&(a={}),a.init=a.init?[n].concat(a.init):n,r.call(this,a)}}function n(){var a=this.$options;a.store?this.$store=typeof a.store=="function"?a.store():a.store:a.parent&&a.parent.$store&&(this.$store=a.parent.$store)}}var Aje=typeof window<"u"?window:typeof global<"u"?global:{},eu=Aje.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Rje(t){!eu||(t._devtoolHook=eu,eu.emit("vuex:init",t),eu.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(e,r){eu.emit("vuex:mutation",e,r)},{prepend:!0}),t.subscribeAction(function(e,r){eu.emit("vuex:action",e,r)},{prepend:!0}))}function tu(t,e){Object.keys(t).forEach(function(r){return e(t[r],r)})}function Eq(t){return t!==null&&typeof t=="object"}function Ije(t){return t&&typeof t.then=="function"}function Nje(t,e){return function(){return t(e)}}var dn=function(e,r){this.runtime=r,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=(typeof n=="function"?n():n)||{}},Mq={namespaced:{configurable:!0}};Mq.namespaced.get=function(){return!!this._rawModule.namespaced},dn.prototype.addChild=function(e,r){this._children[e]=r},dn.prototype.removeChild=function(e){delete this._children[e]},dn.prototype.getChild=function(e){return this._children[e]},dn.prototype.hasChild=function(e){return e in this._children},dn.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)},dn.prototype.forEachChild=function(e){tu(this._children,e)},dn.prototype.forEachGetter=function(e){this._rawModule.getters&&tu(this._rawModule.getters,e)},dn.prototype.forEachAction=function(e){this._rawModule.actions&&tu(this._rawModule.actions,e)},dn.prototype.forEachMutation=function(e){this._rawModule.mutations&&tu(this._rawModule.mutations,e)},Object.defineProperties(dn.prototype,Mq);var po=function(e){this.register([],e,!1)};po.prototype.get=function(e){return e.reduce(function(r,n){return r.getChild(n)},this.root)},po.prototype.getNamespace=function(e){var r=this.root;return e.reduce(function(n,a){return r=r.getChild(a),n+(r.namespaced?a+"/":"")},"")},po.prototype.update=function(e){Sq([],this.root,e)},po.prototype.register=function(e,r,n){var a=this;n===void 0&&(n=!0);var i=new dn(r,n);if(e.length===0)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}r.modules&&tu(r.modules,function(s,u){a.register(e.concat(u),s,n)})},po.prototype.unregister=function(e){var r=this.get(e.slice(0,-1)),n=e[e.length-1],a=r.getChild(n);!a||!a.runtime||r.removeChild(n)},po.prototype.isRegistered=function(e){var r=this.get(e.slice(0,-1)),n=e[e.length-1];return r?r.hasChild(n):!1};function Sq(t,e,r){if(e.update(r),r.modules)for(var n in r.modules){if(!e.getChild(n))return;Sq(t.concat(n),e.getChild(n),r.modules[n])}}var gr,qr=function(e){var r=this;e===void 0&&(e={}),!gr&&typeof window<"u"&&window.Vue&&zje(window.Vue);var n=e.plugins;n===void 0&&(n=[]);var a=e.strict;a===void 0&&(a=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new po(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new gr,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,s=o.dispatch,u=o.commit;this.dispatch=function(m,f){return s.call(i,m,f)},this.commit=function(m,f,p){return u.call(i,m,f,p)},this.strict=a;var l=this._modules.root.state;fp(this,l,[],this._modules.root),Dk(this,l),n.forEach(function(c){return c(r)});var d=e.devtools!==void 0?e.devtools:gr.config.devtools;d&&Rje(this)},Ck={state:{configurable:!0}};Ck.state.get=function(){return this._vm._data.$$state},Ck.state.set=function(t){},qr.prototype.commit=function(e,r,n){var a=this,i=mp(e,r,n),o=i.type,s=i.payload,u={type:o,payload:s},l=this._mutations[o];!l||(this._withCommit(function(){l.forEach(function(c){c(s)})}),this._subscribers.slice().forEach(function(d){return d(u,a.state)}))},qr.prototype.dispatch=function(e,r){var n=this,a=mp(e,r),i=a.type,o=a.payload,s={type:i,payload:o},u=this._actions[i];if(!!u){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(s,n.state)})}catch{}var l=u.length>1?Promise.all(u.map(function(d){return d(o)})):u[0](o);return new Promise(function(d,c){l.then(function(m){try{n._actionSubscribers.filter(function(f){return f.after}).forEach(function(f){return f.after(s,n.state)})}catch{}d(m)},function(m){try{n._actionSubscribers.filter(function(f){return f.error}).forEach(function(f){return f.error(s,n.state,m)})}catch{}c(m)})})}},qr.prototype.subscribe=function(e,r){return Oq(e,this._subscribers,r)},qr.prototype.subscribeAction=function(e,r){var n=typeof e=="function"?{before:e}:e;return Oq(n,this._actionSubscribers,r)},qr.prototype.watch=function(e,r,n){var a=this;return this._watcherVM.$watch(function(){return e(a.state,a.getters)},r,n)},qr.prototype.replaceState=function(e){var r=this;this._withCommit(function(){r._vm._data.$$state=e})},qr.prototype.registerModule=function(e,r,n){n===void 0&&(n={}),typeof e=="string"&&(e=[e]),this._modules.register(e,r),fp(this,this.state,e,this._modules.get(e),n.preserveState),Dk(this,this.state)},qr.prototype.unregisterModule=function(e){var r=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=$k(r.state,e.slice(0,-1));gr.delete(n,e[e.length-1])}),Cq(this)},qr.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)},qr.prototype.hotUpdate=function(e){this._modules.update(e),Cq(this,!0)},qr.prototype._withCommit=function(e){var r=this._committing;this._committing=!0,e(),this._committing=r},Object.defineProperties(qr.prototype,Ck);function Oq(t,e,r){return e.indexOf(t)<0&&(r&&r.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function Cq(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var r=t.state;fp(t,r,[],t._modules.root,!0),Dk(t,r,e)}function Dk(t,e,r){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var a=t._wrappedGetters,i={};tu(a,function(s,u){i[u]=Nje(s,t),Object.defineProperty(t.getters,u,{get:function(){return t._vm[u]},enumerable:!0})});var o=gr.config.silent;gr.config.silent=!0,t._vm=new gr({data:{$$state:e},computed:i}),gr.config.silent=o,t.strict&&Uje(t),n&&(r&&t._withCommit(function(){n._data.$$state=null}),gr.nextTick(function(){return n.$destroy()}))}function fp(t,e,r,n,a){var i=!r.length,o=t._modules.getNamespace(r);if(n.namespaced&&(t._modulesNamespaceMap[o],t._modulesNamespaceMap[o]=n),!i&&!a){var s=$k(e,r.slice(0,-1)),u=r[r.length-1];t._withCommit(function(){gr.set(s,u,n.state)})}var l=n.context=Lje(t,o,r);n.forEachMutation(function(d,c){var m=o+c;Fje(t,m,d,l)}),n.forEachAction(function(d,c){var m=d.root?c:o+c,f=d.handler||d;jje(t,m,f,l)}),n.forEachGetter(function(d,c){var m=o+c;Vje(t,m,d,l)}),n.forEachChild(function(d,c){fp(t,e,r.concat(c),d,a)})}function Lje(t,e,r){var n=e==="",a={dispatch:n?t.dispatch:function(i,o,s){var u=mp(i,o,s),l=u.payload,d=u.options,c=u.type;return(!d||!d.root)&&(c=e+c),t.dispatch(c,l)},commit:n?t.commit:function(i,o,s){var u=mp(i,o,s),l=u.payload,d=u.options,c=u.type;(!d||!d.root)&&(c=e+c),t.commit(c,l,d)}};return Object.defineProperties(a,{getters:{get:n?function(){return t.getters}:function(){return Wje(t,e)}},state:{get:function(){return $k(t.state,r)}}}),a}function Wje(t,e){if(!t._makeLocalGettersCache[e]){var r={},n=e.length;Object.keys(t.getters).forEach(function(a){if(a.slice(0,n)===e){var i=a.slice(n);Object.defineProperty(r,i,{get:function(){return t.getters[a]},enumerable:!0})}}),t._makeLocalGettersCache[e]=r}return t._makeLocalGettersCache[e]}function Fje(t,e,r,n){var a=t._mutations[e]||(t._mutations[e]=[]);a.push(function(o){r.call(t,n.state,o)})}function jje(t,e,r,n){var a=t._actions[e]||(t._actions[e]=[]);a.push(function(o){var s=r.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},o);return Ije(s)||(s=Promise.resolve(s)),t._devtoolHook?s.catch(function(u){throw t._devtoolHook.emit("vuex:error",u),u}):s})}function Vje(t,e,r,n){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(i){return r(n.state,n.getters,i.state,i.getters)})}function Uje(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function $k(t,e){return e.reduce(function(r,n){return r[n]},t)}function mp(t,e,r){return Eq(t)&&t.type&&(r=e,e=t,t=t.type),{type:t,payload:e,options:r}}function zje(t){gr&&t===gr||(gr=t,$je(gr))}var Dq=Rk(function(t,e){var r={};return Ak(e).forEach(function(n){var a=n.key,i=n.val;r[a]=function(){var s=this.$store.state,u=this.$store.getters;if(t){var l=Ik(this.$store,"mapState",t);if(!l)return;s=l.context.state,u=l.context.getters}return typeof i=="function"?i.call(this,s,u):s[i]},r[a].vuex=!0}),r}),ho=Rk(function(t,e){var r={};return Ak(e).forEach(function(n){var a=n.key,i=n.val;i=t+i,r[a]=function(){if(!(t&&!Ik(this.$store,"mapGetters",t)))return this.$store.getters[i]},r[a].vuex=!0}),r}),vo=Rk(function(t,e){var r={};return Ak(e).forEach(function(n){var a=n.key,i=n.val;r[a]=function(){for(var s=[],u=arguments.length;u--;)s[u]=arguments[u];var l=this.$store.dispatch;if(t){var d=Ik(this.$store,"mapActions",t);if(!d)return;l=d.context.dispatch}return typeof i=="function"?i.apply(this,[l].concat(s)):l.apply(this.$store,[i].concat(s))}}),r});function Ak(t){return Bje(t)?Array.isArray(t)?t.map(function(e){return{key:e,val:e}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function Bje(t){return Array.isArray(t)||Eq(t)}function Rk(t){return function(e,r){return typeof e!="string"?(r=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,r)}}function Ik(t,e,r){var n=t._modulesNamespaceMap[r];return n}const fvt="";function we(t,e,r,n,a,i,o,s){var u=typeof t=="function"?t.options:t;e&&(u.render=e,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId="data-v-"+i);var l;if(o?(l=function(m){m=m||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!m&&typeof __VUE_SSR_CONTEXT__<"u"&&(m=__VUE_SSR_CONTEXT__),a&&a.call(this,m),m&&m._registeredComponents&&m._registeredComponents.add(o)},u._ssrRegister=l):a&&(l=s?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(u.functional){u._injectStyles=l;var d=u.render;u.render=function(f,p){return l.call(p),d(f,p)}}else{var c=u.beforeCreate;u.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:u}}const Hje={props:{size:{type:String,default:"40px"},strokeWidth:{type:Number,default:6},color:{type:String,default:""}}};var qje=function(e,r){return e("svg",{staticClass:"spinner spinner--circle inline-block",class:[r.props.color],style:{width:r.props.size,height:r.props.size,lineHeight:r.props.size,...r.data.staticStyle},attrs:{viewBox:"0 0 66 66",xmlns:"http://www.w3.org/2000/svg"}},[e("circle",{staticClass:"path",attrs:{fill:"none","stroke-width":r.props.strokeWidth,"stroke-linecap":"round",cx:"33",cy:"33",r:"30"}})])},Yje=[],Gje=we(Hje,qje,Yje,!0,null,"e75ff764",null,null);const Kje=Gje.exports,mvt="",Xje={name:"UserMessages",components:{Spinner:Kje},props:{notification:{type:Object,default:()=>({message:"",time:null,type:"error",actions:[],closeButton:!0})},index:{type:Number,default:null}},data(){return{timer:null,displayTimer:null,countDownInterval:null}},async mounted(){!this.notification||(this.notification.time&&await this.addTimer(this.notification.time),this.notification.type==="countdown"&&this.startCountDown(Math.round(this.notification.time/1e3)))},beforeDestroy(){this.countDownInterval&&this.stopCountDown()},methods:{...vo("application",{clearMessage:"CLEAR_MESSAGE",triggerAction:"MESSAGE_ACTION"}),close(){this.clearMessage(this.index)},async addTimer(t){if(typeof this.notification.time=="function"){await this.notification.time()==="close"&&this.close();return}const e=()=>this.clearMessage(this.index);this.timer=setTimeout(e,t)},clearTimer(){!this.timer||clearTimeout(this.timer)},onMouseOver(){this.clearTimer()},onMouseOut(){this.notification.time,this.addTimer(3e3)},onActionClick(t){this.triggerAction({index:this.index,type:t}),this.clearMessage(this.index)},startCountDown(t){this.displayTimer=t,this.countDownInterval=setInterval(()=>{this.displayTimer===0&&this.stopCountDown(),this.displayTimer-=1},1e3)},stopCountDown(){clearInterval(this.countDownInterval)}}};var Jje=function(){var e=this,r=e._self._c;return r("transition",{attrs:{name:"notification-slide",appear:""}},[r("div",{staticClass:"n-wrapper c-flex-row c-align-center",class:[e.notification.type]},[r("div",{class:["notification",e.notification.type,{"has-close-button":e.notification.closeButton}],on:{"mouse-over":e.onMouseOver,"mouse-leave":e.onMouseOut}},[r("div",{staticClass:"icon"},[e.notification.type==="success"?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[r("path",{attrs:{d:"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"}})]):e.notification.type==="error"?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[r("polygon",{attrs:{points:"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"}}),r("line",{attrs:{x1:"12",y1:"8",x2:"12",y2:"12"}}),r("line",{attrs:{x1:"12",y1:"16",x2:"12",y2:"16"}})]):e.notification.type==="warning"?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[r("path",{attrs:{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}}),r("line",{attrs:{x1:"12",y1:"9",x2:"12",y2:"13"}}),r("line",{attrs:{x1:"12",y1:"17",x2:"12",y2:"17"}})]):["spinner","countdown"].includes(e.notification.type)?r("Spinner",{attrs:{size:"18px",color:"white","stroke-width":8}}):r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[r("path",{attrs:{d:"M22 17H2a3 3 0 0 0 3-3V9a7 7 0 0 1 14 0v5a3 3 0 0 0 3 3zm-8.27 4a2 2 0 0 1-3.46 0"}})])],1),r("div",{staticClass:"content"},[e._v(" "+e._s(e.notification.message)+" ")]),e.notification.type==="countdown"?r("div",{staticClass:"countdown-text"},[e._v(" "+e._s(e.$t("time.secondsLeft",{time:e.displayTimer}))+" ")]):e._e(),e.notification.actions&&e.notification.actions.submit?r("div",{staticClass:"undo-button",on:{click:function(n){return n.preventDefault(),e.onActionClick("submit")}}},[e._v(" "+e._s(e.notification.actions.submit.text)+" ")]):e._e(),e.notification.closeButton?r("div",{staticClass:"close-button",on:{click:function(n){return n.preventDefault(),e.close.apply(null,arguments)}}},[r("BaseIcon",{attrs:{type:"x",size:"15"}})],1):e._e(),e.notification.actions&&e.notification.actions.undo?r("div",{staticClass:"undo-button",on:{click:function(n){return n.preventDefault(),e.onActionClick("undo")}}},[e._v(" "+e._s(e.notification.actions.undo.text||e.$t("undo"))+" ")]):e._e()])])])},Qje=[],Zje=we(Xje,Jje,Qje,!1,null,"a770b933",null,null);const e5e=Zje.exports,pvt="",t5e={name:"Dialog",props:{dialog:{type:Object,default:()=>({type:""})},index:{type:Number,default:null}},data(){return{name:"dialog-modal"}},computed:{hasSubmit(){const{submit:t}=this.dialog.actions||{};return typeof t=="object"&&!Array.isArray(t)},submitText(){const{submit:t={}}=this.dialog.actions||{};return t.text||this.$t("continue")},submitType(){return this.dialog.type||"danger"},hasCancel(){const{cancel:t}=this.dialog.actions||{};return typeof t=="object"&&!Array.isArray(t)},cancelText(){const{cancel:t={}}=this.dialog.actions||{};return t.text||this.$t("cancel")}},mounted(){this.$modal.show(this.name),setTimeout(()=>{this.$refs.action&&this.$refs.action.$el.focus()},100),window.addEventListener("keyup",this.handleEscapeKeyUp)},beforeDestroy(){this.$modal.hide(this.name),window.removeEventListener("keyup",this.handleEscapeKeyUp)},methods:{...vo("application",{clearMessage:"CLEAR_MESSAGE",triggerAction:"MESSAGE_ACTION"}),onMessageAction(t){this.triggerAction({index:this.index,type:t}),this.clearMessage(this.index),this.$modal.hide(this.name)},handleEscapeKeyUp(t){t.which===27&&this.onMessageAction("cancel")}}};var r5e=function(){var e=this,r=e._self._c;return r("modal",{staticClass:"transition-fix",staticStyle:{"z-index":"99999999"},attrs:{classes:["v--modal",e.name,"bg-white rounded-xl shadow-2xl py-4 px-4 duration-100 border border-gray-200"],adaptive:!0,width:"90%","max-width":380,scrollable:!1,height:"auto","click-to-close":!1,transition:"modal-pop",name:"dialog-modal"}},[r("div",{staticClass:"p-2 mb-6 text-base font-normal text-gray-700 select-none"},[e.dialog.title?r("div",{staticClass:"text-md font-bold mb-1"},[e._v(" "+e._s(e.dialog.title)+" ")]):e._e(),r("div",{staticClass:"text-sm"},[e._v(" "+e._s(e.dialog.message)+" ")])]),r("div",{staticClass:"button-row flex justify-end"},[e.hasCancel?r("CButton",{attrs:{type:"none",pattern:"tertiary",tabindex:"-1",size:"small",taller:""},on:{click:function(n){return e.onMessageAction("cancel")}}},[e._v(" "+e._s(e.cancelText)+" ")]):e._e(),e.hasSubmit?r("CButton",{ref:"action",staticStyle:{"margin-left":"1rem"},attrs:{type:e.submitType,tabindex:"0",size:"small",taller:""},on:{click:function(n){return e.onMessageAction("submit")}}},[e._v(" "+e._s(e.submitText)+" ")]):e._e()],1)])},n5e=[],a5e=we(t5e,r5e,n5e,!1,null,null,null,null);const i5e=a5e.exports,o5e={name:"UserMessages",components:{Notification:e5e,Dialog:i5e},computed:{notification(){const{messages:t}=this.$store.state.application,e=t.findIndex(r=>r.displayType==="notification");return e!==-1&&{index:e,data:t[e]}},dialog(){const{messages:t}=this.$store.state.application,e=t.findIndex(r=>r.displayType==="dialog");return e!==-1&&{index:e,data:t[e]}}}};var s5e=function(){var e=this,r=e._self._c;return r("div",[e.notification?r("Notification",{key:e.notification.data&&e.notification.data._uniqueId,attrs:{notification:e.notification.data,index:e.notification.index}}):e._e(),e.dialog?r("Dialog",{key:e.dialog.data&&e.dialog.data._uniqueId,attrs:{dialog:e.dialog.data,index:e.dialog.index}}):e._e()],1)},u5e=[],l5e=we(o5e,s5e,u5e,!1,null,null,null,null);const d5e=l5e.exports,c5e={props:{value:{type:Boolean,default:!1},type:{type:String,default:"modal",validator(t){return["modal","drawer"].includes(t)}},placement:{type:String,default:"center",validator(t){return["left","top","center","right","bottom"].includes(t)}},width:{type:[Number,String],default:"100%"},maxWidth:{type:[Number,String],default:"100%"},height:{type:[Number,String],default:"100%"},maxHeight:{type:[Number,String],default:"100%"}},data(){return{showContent:!1}},computed:{isModal(){return this.type==="modal"},computedHeight(){return this.isModal||["bottom","top"].includes(this.placement)?this.height:""},computedWidth(){return typeof this.width=="number"?`${this.width}px`:this.width},placementClasses(){return{center:"justify-center items-center",top:"justify-center items-start",right:"justify-end items-stretch",bottom:"justify-center items-end",left:"justify-start items-stretch"}[this.placement]},transitionClasses(){let t={enterActive:"transition-all transform ease-out duration-150",leaveActive:"transition-all transform ease-in duration-150"};return this.isModal?t={enterActive:"transition-all transform ease-out duration-150",enter:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leaveActive:"transition-all transform ease-out duration-150",leave:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}:this.placement==="right"&&(console.log("abc"),t={enterActive:"transition-all transform ease-out duration-200",enter:"translate-x-full",enterTo:"translate-x-0",leaveActive:"transition-all transform ease-out duration-200",leave:"translate-x-0",leaveTo:"translate-x-full"}),t}}};var f5e=function(){var e=this,r=e._self._c;return r("transition",{attrs:{appear:"","enter-active-class":"transition-all ease-out duration-200","enter-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition-opacity ease-out duration-200","leave-class":"opacity-100","leave-to-class":"opacity-0"},on:{"before-enter":function(n){e.showContent=!0}}},[e.value?r("div",{staticClass:"fixed z-0 inset-0 overflow-y-auto bg-gray-700 bg-opacity-50",attrs:{"aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"}},[r("div",{staticClass:"flex items-end justify-center min-h-full pt-4 px-4 pb-20 text-center sm:block sm:p-0"},[r("span",{staticClass:"hidden sm:inline-block sm:align-middle sm:h-full",attrs:{"aria-hidden":"true"}},[e._v("\u200B")]),r("div",{staticClass:"fixed inset-0 z-10 overflow-y-auto"},[r("div",{staticClass:"flex min-h-full text-left overflow-hidden",class:[e.placementClasses],on:{click:function(n){return n.target!==n.currentTarget?null:(()=>e.showContent=!1).apply(null,arguments)}}},[r("transition",{attrs:{appear:"","enter-active-class":e.transitionClasses.enterActive,"enter-class":e.transitionClasses.enter,"enter-to-class":e.transitionClasses.enterTo,"leave-active-class":e.transitionClasses.leaveActive,"leave-class":e.transitionClasses.leave,"leave-to-class":e.transitionClasses.leaveTo},on:{"before-leave":function(n){return e.$emit("input",!1)}}},[e.showContent?r("div",{staticClass:"relative transform overflow-hidden shadow-xl transition-all bg-white",class:{"rounded-lg":e.isModal},style:[{height:e.computedHeight,width:e.computedWidth},!e.isModal&&{"--tw-shadow":`0 ${e.placement==="right"?10:-10}px 20px 10px hsla(0, 0%, 0%, 0.15)`}]},[e._t("default")],2):e._e()])],1)])])]):e._e()])},m5e=[],p5e=we(c5e,f5e,m5e,!1,null,null,null,null);const h5e=p5e.exports,hvt="",v5e={components:{UserMessages:d5e,ViewContainer:h5e},data(){return{ui:si}},computed:{...Cw("route",{mode:t=>{var e;return(e=t.meta)==null?void 0:e.mode},placement:t=>{var e;return(e=t.meta)==null?void 0:e.placement},width:t=>{var e;return(e=t.meta)==null?void 0:e.width}})}};var g5e=function(){var e=this,r=e._self._c;return r("div",{staticClass:"fixed inset-0 overflow-hidden h-full w-full",class:{"pointer-events-none":!e.ui.open},attrs:{id:"Cling-app"}},[r("ViewContainer",{key:e.$route.name,staticClass:"pointer-events-auto",attrs:{type:e.mode,placement:e.placement,width:e.width},model:{value:e.ui.open,callback:function(n){e.$set(e.ui,"open",n)},expression:"ui.open"}},[r("router-view")],1),r("UserMessages"),r("modals-container")],1)},y5e=[],_5e=we(v5e,g5e,y5e,!1,null,null,null,null);const b5e=_5e.exports,w5e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function x5e(t){return Object.keys(t).map(e=>`${e}="${t[e]}"`).join(" ")}class P5e{constructor(e,r,n=[]){this.name=e,this.contents=r,this.tags=n,this.attrs={...w5e,class:`feather feather-${e}`}}toSvg(e={}){const r={...this.attrs,...e,class:`${this.attrs.class} ${e.class}`};return`<svg ${x5e(r)}>${this.contents}</svg>`}toString(){return this.contents}}const $q={empty:"<path></path>","chevrons-right":'<polyline points="13 17 18 12 13 7"></polyline><polyline points="6 17 11 12 6 7"></polyline>',info:'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line>',plus:'<line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line>',"plus-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="16"></line><line x1="8" y1="12" x2="16" y2="12"></line>',minus:'<line x1="5" y1="12" x2="19" y2="12"></line>',email:'<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline>',warning:'<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line>',trash:'<polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path>',edit:'<path d="M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34"></path><polygon points="18 2 22 6 12 16 8 16 8 12 18 2"></polygon>',lock:'<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path>',x:'<line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line>',"user-add":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="20" y1="8" x2="20" y2="14"></line><line x1="23" y1="11" x2="17" y2="11"></line>',zap:'<polygon points="6 2 3 14 10 14 9 23 21 9 12 9 15 2"></polygon>',handle:'<circle cx="8" cy="12" r="1"></circle><circle cx="8" cy="5" r="1"></circle><circle cx="8" cy="19" r="1"></circle><circle cx="15" cy="12" r="1"></circle><circle cx="15" cy="5" r="1"></circle><circle cx="15" cy="19" r="1"></circle>',cog:'<circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path>',"corner-down-left":'<polyline points="9 10 4 15 9 20"></polyline><path d="M20 4v7a4 4 0 0 1-4 4H4"></path>',"check-square":'<polyline points="9 11 12 14 22 4"></polyline><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"></path>',template:'<path d="M13.1288235 8.96823529L7.64823529 18.1176471c-.22993777.3981997-.23131063.8885068-.00360637 1.2879879.22770427.3994812.65028474.6481349 1.11007696.6531885H19.7158824c.4597922-.0050536.8823726-.2537073 1.1100769-.6531885.2277043-.3994811.2263314-.8897882-.0036064-1.2879879l-5.4805882-9.14941181c-.2346013-.38675914-.6541207-.622952-1.1064706-.622952-.4523499 0-.8718693.23619286-1.1064706.622952zM9.52035111 1.52159478C8.8745304 1.30537258 8.18329779 1.188235 7.46470624 1.188235 3.89109903 1.188235.994118 4.08521603.994118 7.65882324c0 3.26867116 2.42367552 5.97126256 5.57193953 6.40868706"/><path d="M8.6634487 11.52342624L6.89650942 6.08534626c-.22086107-.67974048.1511342-1.40982229.83087467-1.63068336l8.61545314-2.79933041c.67974054-.2208611 1.40982235.15113417 1.63068342.83087465l2.79933043 8.61545318c.20002516.61561413-.086223 1.2725192-.6469517 1.5550493"/>',"template-color":'<g fill="none" stroke="none" fill-rule="evenodd"><path fill="#3CD740" d="M7.20527962 6.31188761C6.64248136 6.10988982 6.03696274 6 5.40621512 6 2.42045261 6 0 8.46243776 0 11.5000057 0 14.5375966 2.42045261 17 5.40621512 17c1.78482731 0 3.38970782-.9439359 4.37423872-2.3006513l-4.03718867-.690644 1.46201445-7.69681709z"/><path fill="#299DFF" d="M8.79874995 3L7 13.2257595l4.8157688.8511636L16 7l2.0689267 3.6486439L19 4.80307079z"/><path fill="#E60DFF" d="M10 19.2989721L16 9l6 10.2989721z"/></g>',archive:'<polyline points="21 8 21 21 3 21 3 8"></polyline><rect x="1" y="3" width="22" height="5"></rect><line x1="10" y1="12" x2="14" y2="12"></line>',search:'<circle cx="11" cy="11" r="8"></circle><line x1="20" y1="20" x2="16.65" y2="16.65"></line>',loader:'<line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></line>',paper:'<path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline>',"paper-text":'<path d="M14 2H6a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V8l-6-6z"/><path d="M14 3v5h5M16 13H8M16 17H8M10 9H8"/>',"paper-plus":'<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="12" y1="18" x2="12" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line>',user:'<path d="M5.52 19c.64-2.2 1.84-3 3.22-3h6.52c1.38 0 2.58.8 3.22 3"/><circle cx="12" cy="10" r="3"/><circle cx="12" cy="12" r="10"/>',person:'<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle>',"arrow-down":'<path d="M12 5v13M5 12l7 7 7-7"/>',"arrow-up":'<path d="M12 19V6M5 12l7-7 7 7"/>',command:'<path d="M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"></path>',"chevron-left":'<polyline points="14 18 8 12 14 6"></polyline>',"chevron-right":'<path d="M9 18l6-6-6-6"/>',"chevron-down":'<polyline points="6 9 12 15 18 9"></polyline>',"chevron-up-down":'<polyline points="17 8 12 3 7 8"></polyline><polyline points="17 15 12 20 7 15"></polyline>',"chevron-up":'<path d="M18 15l-6-6-6 6"/>',folder:'<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path>',dollar:'<line x1="12" y1="1" x2="12" y2="23"></line><path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"></path>',eye:'<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle>',check:'<polyline points="20 6 9 17 4 12"></polyline>',send:'<line x1="22" y1="11" x2="8" y2="11"></line><polygon points="22 11 4 20 8 11 4 2 22 11"></polygon>',bell:'<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path>',alert:'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line>',"alert-triangle":'<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line>',inbox:'<polyline points="22 12 16 12 14 15 10 15 8 12 2 12"></polyline><path d="M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path>',tool:'<path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"></path>',"circle-status":'<circle cx="12" cy="12" r="11" fill="currentColor" opacity="0.5"></circle><circle cx="12" cy="12" r="4" fill="currentColor"></circle>',circle:'<circle cx="12" cy="12" r="10"></circle>',square:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>',calendar:'<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>',clock:'<circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline>',"new-window":'<g fill="none" fill-rule="evenodd"><path d="M18 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8c0-1.1.9-2 2-2h5M15 3h6v6M10 14L20.2 3.8"/></g>',"upload-cloud":'<polyline points="16 16 12 12 8 16"></polyline><line x1="12" y1="12" x2="12" y2="21"></line><path d="M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"></path><polyline points="16 16 12 12 8 16"></polyline>',"more-vertical":'<circle cx="12" cy="12" r="1"></circle><circle cx="12" cy="5" r="1"></circle><circle cx="12" cy="19" r="1"></circle>',"more-horizontal":'<circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle>',copy:'<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>',print:'<polyline points="6 9 6 2 18 2 18 9"></polyline><path d="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"></path><rect x="6" y="14" width="12" height="8"></rect>',"pen-tool":'<path d="M12 19l7-7 3 3-7 7-3-3z"></path><path d="M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z"></path><path d="M2 2l7.586 7.586"></path><circle cx="11" cy="11" r="2"></circle>',sort:'<line x1="6" y1="16" x2="8" y2="16"></line><line x1="6" y1="10" x2="14" y2="10"></line><line x1="6" y1="4" x2="20" y2="4"></line>',"square-filled-check":'<path fill="#currentColor" stroke="none" fill-rule="nonzero" d="M7 3h10c2.209139 0 4 1.790861 4 4v10c0 2.209139-1.790861 4-4 4H7c-2.209139 0-4-1.790861-4-4V7c0-2.209139 1.790861-4 4-4zm1.08963645 8.479072c-.2954885-.1600713-.65162073-.1610177-.94795577-.0025191l-.43065247.2303401c-.07620551.0407595-.14427685.0951688-.2008263.1605199-.25504929.2947468-.22286811.7404446.07187866.9954938l3.84044413 3.3232002a1.0000081 1.0000081 0 00.0946803.0725235c.4576881.3090956 1.079289.1886376 1.3883846-.2690505l5.1003142-7.55220409c.2865705-.42433447.2063135-.99658014-.18593-1.3257115l-.0020995-.00176176c-.3854696-.32344738-.9583065-.28155332-1.292616.09453464l-4.9815245 5.60406241-2.45409735-1.3294276z"/>',"colored-dots":'<circle cx="6" cy="6" r="4" stroke="none" fill="red"></circle><circle cx="18" cy="6" r="4" stroke="none" fill="#ff7a14"></circle><circle cx="6" cy="18" r="4" stroke="none" fill="#2bb8d4"></circle><circle cx="18" cy="18" r="4" stroke="none" fill="#3352ff"></circle>',"arrow-left":'<line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline>',"arrow-right":'<line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline>',meh:'<circle cx="12" cy="12" r="10"></circle><line x1="8" y1="15" x2="16" y2="15"></line><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>',link:'<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path><',save:'<path d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"></path><polyline points="17 21 17 13 7 13 7 21"></polyline><polyline points="7 3 7 8 15 8"></polyline>',hash:'<line x1="4" y1="9" x2="20" y2="9"></line><line x1="4" y1="15" x2="20" y2="15"></line><line x1="10" y1="3" x2="8" y2="21"></line><line x1="16" y1="3" x2="14" y2="21"></line>',crown:'<path d="M2 4L5 16H19L22 4L16 11L12 4L8 11L2 4ZM5 20H19" />',lamp:'<path d="M9 17v3c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-3M15 16.59c0-.77.46-1.45 1.09-1.9a7 7 0 1 0-8.18 0A2.41 2.41 0 0 1 9 16.58V17h6v-.41zM12 17v-5m-2 0h4" />',"paper-invoice":'<path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z"/><path d="M14 2v6h6M10 8H8M10 5H8m0 7h8v3.46H8zm8 7h-2"/>',drop:'<path d="M12,21 C15.3137085,21 18,18.3904147 18,15 C18,11.6666667 16,8 12,4 C8,8 6,11.6666667 6,15 C6,18.3904147 8.6862915,21 12,21 Z"></path>',upload:'<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line>',star:'<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon>',logout:'<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line>',linkedin:'<path fill="currentColor" stroke="none" d="M22.23 0H1.77C.8 0 0 .77 0 1.72v20.56C0 23.23.8 24 1.77 24h20.46c.98 0 1.77-.77 1.77-1.72V1.72C24 .77 23.2 0 22.23 0zM7.27 20.1H3.65V9.24h3.62V20.1zM5.47 7.76h-.03c-1.22 0-2-.83-2-1.87 0-1.06.8-1.87 2.05-1.87 1.24 0 2 .8 2.02 1.87 0 1.04-.78 1.87-2.05 1.87zM20.34 20.1h-3.63v-5.8c0-1.45-.52-2.45-1.83-2.45-1 0-1.6.67-1.87 1.32-.1.23-.11.55-.11.88v6.05H9.28s.05-9.82 0-10.84h3.63v1.54a3.6 3.6 0 0 1 3.26-1.8c2.39 0 4.18 1.56 4.18 4.89v6.21z"></path>',shield:'<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path>',"rotate-left":'<path d="M2.5 2v6h6M2.66 15.57a10 10 0 1 0 .57-8.38"/>',image:'<rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M20.4 14.5L16 10 4 20"/>',textType:'<polyline points="4 7 4 4 20 4 20 7"></polyline><line x1="9" y1="20" x2="15" y2="20"></line><line x1="12" y1="4" x2="12" y2="20"></line>',percent:'<line x1="19" y1="5" x2="5" y2="19"></line><circle cx="6.5" cy="6.5" r="2.5"></circle><circle cx="17.5" cy="17.5" r="2.5"></circle>',desktop:'<rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect><line x1="8" y1="21" x2="16" y2="21"></line><line x1="12" y1="17" x2="12" y2="21"></line>',tablet:'<rect x="4" y="2" width="16" height="20" rx="2" ry="2" /><line x1="12" y1="18" x2="12.01" y2="18" />',mobile:'<rect x="6" y="4" width="12" height="18" rx="2" ry="2"></rect><line x1="12" y1="18" x2="12.01" y2="18"></line>',phone:'<path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',codesandbox:'<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="7.5 4.21 12 6.81 16.5 4.21"></polyline><polyline points="7.5 19.79 7.5 14.6 3 12"></polyline><polyline points="21 12 16.5 14.6 16.5 19.79"></polyline><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line>',help:'<circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line>',reset:'<path d="M2.5 2v6h6M2.66 15.57a10 10 0 1 0 .57-8.38"/>',company:'<path d="M4 19L4 5H14.5V11.5M14.5 19V11.5M14.5 11.5H20V19" stroke="currentColor" stroke-linecap="butt" /><line x1="7.75" y1="7.5" x2="7.75" y2="9.5" stroke="currentColor" stroke-linecap="butt" /><line x1="10.75" y1="7.5" x2="10.75" y2="9.5" stroke="currentColor" stroke-linecap="butt" /><line x1="7.75" y1="11.5" x2="7.75" y2="13.5" stroke="currentColor" stroke-linecap="butt" /><line x1="10.75" y1="11.5" x2="10.75" y2="13.5" stroke="currentColor" stroke-linecap="butt" /><line x1="7.75" y1="15.5" x2="7.75" y2="17.5" stroke="currentColor" stroke-linecap="butt" /><line x1="10.75" y1="15.5" x2="10.75" y2="17.5" stroke="currentColor" stroke-linecap="butt" />',pipedrive:'<path d="M10.57 5.38c-.06-.47-.37-1.04-1.6-1.04H6v2.58h1.21c.2 0 .26.1.26.28v12.91h3.3v-5.26c.84.7 1.9 1.1 3 1.08 3.1 0 5.1-2.46 5.1-5.97 0-3.57-1.94-5.96-5-5.96a4.3 4.3 0 0 0-3.3 1.38Zm2.7 1.42c1.5 0 2.5 1.29 2.5 3.2 0 2.2-1.27 3.17-2.54 3.17-1.7 0-2.48-1.63-2.48-3.14 0-2.39 1.3-3.23 2.52-3.23Z" fill="currentColor" stroke="none" />',hubspot:'<path d="M15.82 8.26V5.99a1.73 1.73 0 0 0 1-1.57v-.05c0-.96-.78-1.74-1.73-1.74h-.05c-.96 0-1.73.78-1.73 1.74v.05a1.75 1.75 0 0 0 1 1.57v2.27c-.86.13-1.66.48-2.33 1.03L5.82 4.46a1.97 1.97 0 0 0-1.13-2.3 1.93 1.93 0 0 0-2.65 1.42 1.98 1.98 0 0 0 .82 2.01 1.94 1.94 0 0 0 2.04.07l6.06 4.76a4.98 4.98 0 0 0 .08 5.57L9.2 17.85a1.6 1.6 0 0 0-2.06 1.54c0 .89.71 1.61 1.6 1.61a1.6 1.6 0 0 0 1.52-2.08l1.82-1.83a4.88 4.88 0 0 0 5.61.27 4.97 4.97 0 0 0-1.87-9.1Zm-.76 7.44a2.5 2.5 0 0 1-2.39-1.56 2.56 2.56 0 0 1 1.4-3.35c.32-.13.66-.19 1-.18a2.53 2.53 0 0 1 2.43 2.54c0 1.37-1.08 2.5-2.43 2.55" fill="currentColor" stroke="none" />',salesforce:'<path d="M10.15 6.64a3.93 3.93 0 0 1 6.19.8c.58-.26 1.23-.4 1.92-.4A4.7 4.7 0 0 1 23 11.69a4.7 4.7 0 0 1-5.67 4.57 3.49 3.49 0 0 1-4.55 1.4c-.6 1.37-2 2.34-3.64 2.34a3.96 3.96 0 0 1-3.71-2.52A3.64 3.64 0 0 1 1 13.94c0-1.34.74-2.51 1.84-3.14a3.99 3.99 0 0 1-.36-1.65A4.2 4.2 0 0 1 6.75 5a4.3 4.3 0 0 1 3.4 1.64Z" fill="currentColor" stroke="none" />',heart:'<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>',sidebar:'<rect x="1" y="4" width="22" height="16" rx="2" ry="2"></rect><line x1="8" y1="4" x2="8" y2="20"></line>',table:'<path d="M3 6.25A3.25 3.25 0 0 1 6.25 3h11.5A3.25 3.25 0 0 1 21 6.25v11.5A3.25 3.25 0 0 1 17.75 21H6.25A3.25 3.25 0 0 1 3 17.75V6.25ZM6.25 4.5A1.75 1.75 0 0 0 4.5 6.25V8.5h4v-4H6.25ZM4.5 10v4h4v-4h-4Zm5.5 0v4h4v-4h-4Zm5.5 0v4h4v-4h-4ZM14 15.5h-4v4h4v-4Zm1.5 4h2.25a1.75 1.75 0 0 0 1.75-1.75V15.5h-4v4Zm0-11h4V6.25a1.75 1.75 0 0 0-1.75-1.75H15.5v4Zm-1.5-4h-4v4h4v-4Zm-9.5 11v2.25c0 .966.784 1.75 1.75 1.75H8.5v-4h-4Z" fill="currentColor" stroke="none"/>',tableMergeCells:'<path d="M6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75H11v3H4.5V6.25Zm8 10.25h7v1.25a1.75 1.75 0 0 1-1.75 1.75H12.5v-3Zm7-9h-7v-3h5.25c.966 0 1.75.784 1.75 1.75V7.5Zm-8.5 9v3H6.25a1.75 1.75 0 0 1-1.75-1.75V16.5H11ZM4.5 9h15v6h-15V9Z" fill="currentColor" stroke="none"/>',tableSplitCells:'<path d="M12.5 10H11v4h1.5v-4Z" fill="currentColor" stroke="none"/><path d="M3 6.25A3.25 3.25 0 0 1 6.25 3h11.5A3.25 3.25 0 0 1 21 6.25v11.5A3.25 3.25 0 0 1 17.75 21H6.25A3.25 3.25 0 0 1 3 17.75V6.25ZM6.25 4.5A1.75 1.75 0 0 0 4.5 6.25V7.5H11v-3H6.25Zm13.25 12h-7v3h5.25a1.75 1.75 0 0 0 1.75-1.75V16.5Zm0-10.25a1.75 1.75 0 0 0-1.75-1.75H12.5v3h7V6.25ZM4.5 16.5v1.25c0 .966.784 1.75 1.75 1.75H11v-3H4.5Zm0-1.5h15V9h-15v6Z" fill="currentColor" stroke="none"/>',tableDeleteColumn:'<path d="M22 3.75a.75.75 0 0 0-.75-.75h-1A3.25 3.25 0 0 0 17 6.25v11.5A3.25 3.25 0 0 0 20.25 21h1a.75.75 0 0 0 0-1.5h-1a1.75 1.75 0 0 1-1.75-1.75V15.5h2.75a.75.75 0 0 0 0-1.5H18.5v-4h2.75a.75.75 0 0 0 0-1.5H18.5V6.25c0-.966.784-1.75 1.75-1.75h1a.75.75 0 0 0 .75-.75ZM2 3.75A.75.75 0 0 1 2.75 3h1A3.25 3.25 0 0 1 7 6.25v11.5A3.25 3.25 0 0 1 3.75 21h-1a.75.75 0 0 1 0-1.5h1a1.75 1.75 0 0 0 1.75-1.75V15.5H2.75a.75.75 0 0 1 0-1.5H5.5v-4H2.75a.75.75 0 0 1 0-1.5H5.5V6.25A1.75 1.75 0 0 0 3.75 4.5h-1A.75.75 0 0 1 2 3.75ZM10.94 12l-1.47 1.47a.75.75 0 1 0 1.06 1.06L12 13.06l1.47 1.47a.75.75 0 1 0 1.06-1.06L13.06 12l1.47-1.47a.75.75 0 1 0-1.06-1.06L12 10.94l-1.47-1.47a.75.75 0 1 0-1.06 1.06L10.94 12Z" fill="currentColor" stroke="none"/><path d="M11.25 8.727c.026.023.051.047.076.072l.674.674.674-.674c.025-.025.05-.049.076-.072V2.75a.75.75 0 0 0-1.5 0v5.977ZM11.25 15.523v5.727a.75.75 0 0 0 1.5 0v-5.727a1.826 1.826 0 0 1-.076-.072L12 14.777l-.674.674-.076.072Z" fill="currentColor" stroke="none"/>',tableDeleteRow:'<path d="M3.75 2a.75.75 0 0 0-.75.75v1A3.25 3.25 0 0 0 6.25 7h11.5A3.25 3.25 0 0 0 21 3.75v-1a.75.75 0 0 0-1.5 0v1a1.75 1.75 0 0 1-1.75 1.75H15.5V2.75a.75.75 0 0 0-1.5 0V5.5h-4V2.75a.75.75 0 0 0-1.5 0V5.5H6.25A1.75 1.75 0 0 1 4.5 3.75v-1A.75.75 0 0 0 3.75 2ZM3.75 22a.75.75 0 0 1-.75-.75v-1A3.25 3.25 0 0 1 6.25 17h11.5A3.25 3.25 0 0 1 21 20.25v1a.75.75 0 0 1-1.5 0v-1a1.75 1.75 0 0 0-1.75-1.75H15.5v2.75a.75.75 0 0 1-1.5 0V18.5h-4v2.75a.75.75 0 0 1-1.5 0V18.5H6.25a1.75 1.75 0 0 0-1.75 1.75v1a.75.75 0 0 1-.75.75ZM12 13.06l1.47 1.47a.75.75 0 1 0 1.06-1.06L13.06 12l1.47-1.47a.75.75 0 1 0-1.06-1.06L12 10.94l-1.47-1.47a.75.75 0 1 0-1.06 1.06L10.94 12l-1.47 1.47a.75.75 0 1 0 1.06 1.06L12 13.06Z" fill="currentColor" stroke="none"/><path d="M8.727 12.75c.023-.026.047-.051.072-.076L9.473 12l-.674-.674a1.845 1.845 0 0 1-.072-.076H2.75a.75.75 0 0 0 0 1.5h5.977ZM15.523 12.75h5.727a.75.75 0 0 0 0-1.5h-5.727a1.826 1.826 0 0 1-.072.076l-.674.674.674.674.072.076Z" fill="currentColor" stroke="none"/>',tableInsertColumn:'<path d="M4.5 3.75v16.5a.75.75 0 0 1-1.5 0V3.75a.75.75 0 0 1 1.5 0ZM14.25 3a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 14.25 21h-4.5a2.25 2.25 0 0 1-2.25-2.25V5.25A2.25 2.25 0 0 1 9.75 3h4.5ZM15 5.25a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0-.75.75V8.5h6V5.25ZM9 14h6v-4H9v4Zm0 1.5v3.25c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75V15.5H9ZM21 20.25V3.75a.75.75 0 0 0-1.5 0v16.5a.75.75 0 0 0 1.5 0Z" fill="currentColor" stroke="none"/>',tableInsertRowBefore:'<path d="M20.25 4.5a.75.75 0 0 0 0-1.5H3.75a.75.75 0 0 0 0 1.5h16.5ZM20.25 8.5a.75.75 0 0 1 .75.75v8.5A3.25 3.25 0 0 1 17.75 21H6.25A3.25 3.25 0 0 1 3 17.75v-8.5a.75.75 0 0 1 .75-.75h16.5ZM14 10h-4v4h4v-4Zm-5.5 0h-4v4h4v-4Zm0 5.5h-4v2.25c0 .966.784 1.75 1.75 1.75H8.5v-4Zm5.5 0h-4v4h4v-4Zm1.5 4h2.25a1.75 1.75 0 0 0 1.75-1.75V15.5h-4v4Zm4-9.5h-4v4h4v-4Z" fill="currentColor" stroke="none"/>',tableInsertRowAfter:'<path d="M3.75 15.5a.75.75 0 0 1-.75-.75v-8.5A3.25 3.25 0 0 1 6.25 3h11.5A3.25 3.25 0 0 1 21 6.25v8.5a.75.75 0 0 1-.75.75H3.75ZM10 14h4v-4h-4v4Zm0-5.5h4v-4h-4v4Zm5.5 5.5h4v-4h-4v4Zm0-5.5h4V6.25a1.75 1.75 0 0 0-1.75-1.75H15.5v4Zm-7-4H6.25A1.75 1.75 0 0 0 4.5 6.25V8.5h4v-4Zm-4 9.5h4v-4h-4v4ZM3.75 19.5a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5H3.75Z" fill="currentColor" stroke="none"/>',tableInsertColumnBefore:'<path d="M4.5 3.75a.75.75 0 0 0-1.5 0v16.5a.75.75 0 0 0 1.5 0V3.75ZM8.5 3.75A.75.75 0 0 1 9.25 3h8.5A3.25 3.25 0 0 1 21 6.25v11.5A3.25 3.25 0 0 1 17.75 21h-8.5a.75.75 0 0 1-.75-.75V3.75ZM10 10v4h4v-4h-4Zm0 5.5v4h4v-4h-4Zm5.5 0v4h2.25a1.75 1.75 0 0 0 1.75-1.75V15.5h-4Zm0-5.5v4h4v-4h-4Zm4-1.5V6.25a1.75 1.75 0 0 0-1.75-1.75H15.5v4h4Zm-9.5-4v4h4v-4h-4Z" fill="currentColor" stroke="none"/>',tableInsertColumnAfter:'<path d="M15.5 3.75a.75.75 0 0 0-.75-.75h-8.5A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h8.5a.75.75 0 0 0 .75-.75V3.75ZM14 10v4h-4v-4h4Zm-9.5 4v-4h4v4h-4ZM14 8.5h-4v-4h4v4Zm-5.5 0h-4V6.25c0-.966.784-1.75 1.75-1.75H8.5v4Zm0 11H6.25a1.75 1.75 0 0 1-1.75-1.75V15.5h4v4Zm1.5-4h4v4h-4v-4ZM19.5 3.75a.75.75 0 0 1 1.5 0v16.5a.75.75 0 0 1-1.5 0V3.75Z" fill="currentColor" stroke="none"/>',tableDelete:'<path d="M3 6.25A3.25 3.25 0 0 1 6.25 3h11.5A3.25 3.25 0 0 1 21 6.25v5.772a6.471 6.471 0 0 0-1.5-.709V10h-4v1.313a6.471 6.471 0 0 0-1.5.709V10h-4v4h2.022a6.471 6.471 0 0 0-.709 1.5H10v4h1.313c.173.534.412 1.037.709 1.5H6.25A3.25 3.25 0 0 1 3 17.75V6.25ZM6.25 4.5A1.75 1.75 0 0 0 4.5 6.25V8.5h4v-4H6.25ZM4.5 10v4h4v-4h-4Zm11-1.5h4V6.25a1.75 1.75 0 0 0-1.75-1.75H15.5v4Zm-1.5-4h-4v4h4v-4Zm-9.5 11v2.25c0 .966.784 1.75 1.75 1.75H8.5v-4h-4Z" fill="currentColor" stroke="none"/><path d="M23 17.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Zm-5.5-.707-1.646-1.647a.5.5 0 0 0-.708.708l1.647 1.646-1.647 1.646a.5.5 0 0 0 .708.708l1.646-1.647 1.646 1.647a.5.5 0 0 0 .708-.708L18.207 17.5l1.647-1.646a.5.5 0 0 0-.708-.708L17.5 16.793Z" fill="currentColor" stroke="none"/>',tableEditCell:'<path d="M3 8.75A2.25 2.25 0 0 1 5.25 6.5h13.5a2.25 2.25 0 0 1 2.123 1.504A3.285 3.285 0 0 0 20.715 8h-.002c-.466 0-.932.1-1.365.297A.749.749 0 0 0 18.75 8H15.5v3.853l-1.5 1.5V8h-4v6h3.353l-.865.865a3.686 3.686 0 0 0-.508.635H5.25A2.25 2.25 0 0 1 3 13.25v-4.5ZM5.25 8a.75.75 0 0 0-.75.75v4.5c0 .414.336.75.75.75H8.5V8H5.25Zm15.465 1h-.002c-.585 0-1.17.223-1.615.67l-5.902 5.902a2.684 2.684 0 0 0-.707 1.247l-.458 1.831a1.087 1.087 0 0 0 1.319 1.318l1.83-.457a2.684 2.684 0 0 0 1.248-.707l5.902-5.902A2.286 2.286 0 0 0 20.715 9Z" fill="currentColor" stroke="none"/>',tableHeaderCell:'<path d="M3 9.75C3 9.15326 3.23705 8.58097 3.65901 8.15901C4.08097 7.73705 4.65326 7.5 5.25 7.5H18.75C19.3467 7.5 19.919 7.73705 20.341 8.15901C20.7629 8.58097 21 9.15326 21 9.75V14.25C21 14.8467 20.7629 15.419 20.341 15.841C19.919 16.2629 19.3467 16.5 18.75 16.5H5.25C4.65326 16.5 4.08097 16.2629 3.65901 15.841C3.23705 15.419 3 14.8467 3 14.25V9.75ZM5.25 9C5.05109 9 4.86032 9.07902 4.71967 9.21967C4.57902 9.36032 4.5 9.55109 4.5 9.75V14.25C4.5 14.664 4.836 15 5.25 15H8.5V9H5.25ZM15.5 15H18.75C18.9489 15 19.1397 14.921 19.2803 14.7803C19.421 14.6397 19.5 14.4489 19.5 14.25V9.75C19.5 9.55109 19.421 9.36032 19.2803 9.21967C19.1397 9.07902 18.9489 9 18.75 9H15.5V15Z" fill="currentColor" stroke="none"/>',editorImage:'<path d="M17.75 3A3.25 3.25 0 0 1 21 6.25v11.5A3.25 3.25 0 0 1 17.75 21H6.25A3.25 3.25 0 0 1 3 17.75V6.25A3.25 3.25 0 0 1 6.25 3h11.5Zm.58 16.401-5.805-5.686a.75.75 0 0 0-.966-.071l-.084.07-5.807 5.687c.182.064.378.099.582.099h11.5c.203 0 .399-.035.58-.099l-5.805-5.686L18.33 19.4ZM17.75 4.5H6.25A1.75 1.75 0 0 0 4.5 6.25v11.5c0 .208.036.408.103.594l5.823-5.701a2.25 2.25 0 0 1 3.02-.116l.128.116 5.822 5.702c.067-.186.104-.386.104-.595V6.25a1.75 1.75 0 0 0-1.75-1.75Zm-2.498 2a2.252 2.252 0 1 1 0 4.504 2.252 2.252 0 0 1 0-4.504Zm0 1.5a.752.752 0 1 0 0 1.504.752.752 0 0 0 0-1.504Z" stroke-width="0.5" fill="currentColor"/>',editorFont:'<path d="M7 2a.75.75 0 0 1 .704.49l2.951 7.985.013.032.222.602-.828 2.086-.626-1.694H4.564l-1.113 3.01a.75.75 0 1 1-1.407-.521l1.288-3.483a.766.766 0 0 1 .012-.033L6.297 2.49A.75.75 0 0 1 7 2ZM5.12 10H8.88l-1.88-5.087L5.118 10ZM13.806 6.473a.75.75 0 0 1 1.395 0l5.554 14.031h.494a.75.75 0 1 1 0 1.5H18.75a.75.75 0 0 1 0-1.5h.392l-1.19-3.004h-6.91L9.85 20.504h.4a.75.75 0 1 1 0 1.5H7.75a.75.75 0 1 1 0-1.5h.485l5.57-14.03ZM17.36 16l-2.857-7.215L11.638 16h5.72Z" stroke-width="0.5" fill="currentColor"/>',editorLine:'<path d="M2.5 12a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5A.75.75 0 0 1 2.5 12ZM6.5 12a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5A.75.75 0 0 1 6.5 12ZM10.5 12a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM14.5 12a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM18.5 12a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM4.75 2a.75.75 0 0 0-.75.75V7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2.75a.75.75 0 0 0-1.5 0V7a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V2.75A.75.75 0 0 0 4.75 2ZM19.25 22a.75.75 0 0 0 .75-.75V17a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4.25a.75.75 0 0 0 1.5 0V17a.5.5 0 0 1 .5-.5h12a.5.5 0 0 1 .5.5v4.25c0 .414.336.75.75.75Z" stroke-width="0.5" fill="currentColor"/>',editorQuote:'<path d="M7.5 6a2.5 2.5 0 0 1 2.495 2.336l.005.206c-.01 3.555-1.24 6.614-3.705 9.223a.75.75 0 1 1-1.09-1.03c1.64-1.737 2.66-3.674 3.077-5.859A2.5 2.5 0 1 1 7.5 6Zm9 0a2.5 2.5 0 0 1 2.495 2.336l.005.206c-.01 3.56-1.238 6.614-3.705 9.223a.75.75 0 1 1-1.09-1.03c1.643-1.738 2.662-3.672 3.078-5.859A2.5 2.5 0 1 1 16.5 6Z" stroke-width="0.5" fill="currentColor"/>',editorBulletList:'<path d="M3.25 17.5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm3.5.5h14.5a.75.75 0 0 1 .102 1.494l-.102.006H6.75a.75.75 0 0 1-.102-1.493L6.75 18h14.5-14.5Zm-3.5-7a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm3.5.5h14.5a.75.75 0 0 1 .102 1.494L21.25 13H6.75a.75.75 0 0 1-.102-1.493l.102-.007h14.5-14.5Zm-3.5-7A1.25 1.25 0 1 1 3.25 7a1.25 1.25 0 0 1 0-2.499Zm3.5.5h14.5a.75.75 0 0 1 .102 1.494l-.102.006H6.75a.75.75 0 0 1-.102-1.493L6.75 5h14.5-14.5Z" stroke-width="0.5" fill="currentColor"/>',editorNumberedList:'<path d="M6 2.75a.75.75 0 0 0-1.434-.307l-.002.003a1.45 1.45 0 0 1-.067.132 4.126 4.126 0 0 1-.238.384c-.217.313-.524.663-.906.902a.75.75 0 1 0 .794 1.272c.125-.078.243-.161.353-.248V7.25a.75.75 0 0 0 1.5 0v-4.5ZM20.5 18.75a.75.75 0 0 0-.75-.75h-9a.75.75 0 0 0 0 1.5h9a.75.75 0 0 0 .75-.75ZM20.5 12.244a.75.75 0 0 0-.75-.75h-9a.75.75 0 1 0 0 1.5h9a.75.75 0 0 0 .75-.75ZM20.5 5.75a.75.75 0 0 0-.75-.75h-9a.75.75 0 0 0 0 1.5h9a.75.75 0 0 0 .75-.75ZM5.15 10.52c-.3-.053-.676.066-.87.26a.75.75 0 1 1-1.06-1.06c.556-.556 1.43-.812 2.192-.677.397.07.805.254 1.115.605.316.358.473.825.473 1.352 0 .62-.271 1.08-.606 1.42-.278.283-.63.511-.906.689l-.08.051a5.88 5.88 0 0 0-.481.34H6.25a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75c0-1.314.984-1.953 1.575-2.337l.06-.04c.318-.205.533-.345.69-.504.134-.136.175-.238.175-.369 0-.223-.061-.318-.098-.36a.42.42 0 0 0-.251-.12ZM2.97 21.28s.093.084.004.005l.006.005.013.013a1.426 1.426 0 0 0 .15.125c.095.07.227.158.397.243.341.17.83.329 1.46.329.64 0 1.196-.181 1.601-.54.408-.36.61-.857.595-1.359A1.775 1.775 0 0 0 6.77 19c.259-.305.412-.685.426-1.101a1.73 1.73 0 0 0-.595-1.36C6.196 16.181 5.64 16 5 16c-.63 0-1.119.158-1.46.33a2.592 2.592 0 0 0-.51.334 1.426 1.426 0 0 0-.037.033l-.013.013-.006.005-.002.003H2.97l-.001.002a.75.75 0 0 0 1.048 1.072 1.1 1.1 0 0 1 .192-.121c.159-.08.42-.171.79-.171.36 0 .536.1.608.164.07.061.09.127.088.187a.325.325 0 0 1-.123.23c-.089.077-.263.169-.573.169a.75.75 0 0 0 0 1.5c.31 0 .484.092.573.168.091.08.121.166.123.231a.232.232 0 0 1-.088.187c-.072.064-.247.164-.608.164a1.75 1.75 0 0 1-.79-.17 1.1 1.1 0 0 1-.192-.122.75.75 0 0 0-1.048 1.072Zm.002-4.563-.001.002c.007-.006.2-.168 0-.002Z" stroke-width="0.5" fill="currentColor"/>',editorMention:'<path d="M22 12v1.75a3.75 3.75 0 0 1-7.149 1.586C14.033 16.356 12.84 17 11.5 17 8.992 17 7 14.742 7 12s1.992-5 4.5-5c1.159 0 2.208.482 3.001 1.272L14.5 7.75a.75.75 0 0 1 1.493-.102L16 7.75v6a2.25 2.25 0 0 0 4.495.154l.005-.154V12a8.5 8.5 0 1 0-5.515 7.961.75.75 0 0 1 .527 1.405A9.98 9.98 0 0 1 12 22C6.477 22 2 17.523 2 12S6.477 2 12 2c5.43 0 9.848 4.327 9.996 9.72L22 12v1.75V12ZM11.5 8.5c-1.635 0-3 1.548-3 3.5s1.365 3.5 3 3.5c1.634 0 3-1.548 3-3.5s-1.366-3.5-3-3.5Z" stroke-width="0.5" fill="currentColor"/>',editorH1:'<path d="M19.59 5.081a.746.746 0 0 0-.809.084.751.751 0 0 0-.249.367c-.69 2.051-2.057 3.409-3.168 4.075a.75.75 0 0 0 .772 1.286c.774-.464 1.623-1.18 2.364-2.146v9.503a.75.75 0 0 0 1.5 0V5.772a.75.75 0 0 0-.41-.69ZM3.5 5.75a.75.75 0 0 0-1.5 0v12.5a.75.75 0 0 0 1.5 0V12.5H10v5.75a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-1.5 0V11H3.5V5.75Z" fill="currentColor" stroke-width="0.5"/>',editorH2:'<path d="M4.5 5.75a.75.75 0 0 0-1.5 0v12.5a.75.75 0 0 0 1.5 0V12.5H11v5.75a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-1.5 0V11H4.5V5.75Zm10.921 2.085c.23-.46.913-1.335 2.58-1.335.842 0 1.459.26 1.86.639.397.376.64.921.64 1.611 0 1.963-1.3 3.068-2.958 4.343l-.212.163C15.825 14.409 14 15.806 14 18.25a.75.75 0 0 0 .75.75h6.5a.75.75 0 0 0 0-1.5h-5.66c.315-1.252 1.427-2.11 2.866-3.218C20.05 13.057 22 11.537 22 8.75c0-1.06-.383-2.015-1.11-2.702C20.166 5.364 19.158 5 18 5c-2.333 0-3.484 1.291-3.92 2.165a.75.75 0 0 0 1.341.67Z" fill="currentColor" stroke-width="0.5"/>',editorH3:'<svg width="24" height="24" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 5.75a.75.75 0 0 0-1.5 0v12.5a.75.75 0 0 0 1.5 0V12.5H10v5.75a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-1.5 0V11H3.5V5.75Zm11.92 2.085c.23-.46.914-1.335 2.58-1.335.843 0 1.46.26 1.86.639.398.376.64.921.64 1.611 0 .606-.161 1.026-.384 1.332-.228.314-.555.554-.953.735-.816.37-1.802.433-2.383.433a.75.75 0 0 0 0 1.5c.581 0 1.567.063 2.383.433.398.18.725.42.953.735.223.306.384.726.384 1.332 0 1.086-.914 2.25-2.5 2.25-1.727 0-2.348-.76-2.553-1.276a.75.75 0 1 0-1.394.552C14.508 17.926 15.727 19 18 19c2.414 0 4-1.836 4-3.75 0-.894-.245-1.63-.67-2.214A3.679 3.679 0 0 0 20.144 12a3.679 3.679 0 0 0 1.186-1.036c.425-.584.67-1.32.67-2.214 0-1.06-.383-2.015-1.11-2.702C20.165 5.364 19.157 5 18 5c-2.334 0-3.484 1.291-3.92 2.165a.75.75 0 1 0 1.34.67Z" fill="currentColor" stroke-width="0.5"/>',editorSnippets:'<path d="m11.066 8.004.184-.005h7.5a3.25 3.25 0 0 1 3.245 3.065l.005.185v7.5a3.25 3.25 0 0 1-3.066 3.245l-.184.005h-7.5a3.25 3.25 0 0 1-3.245-3.066L8 18.75v-7.5a3.25 3.25 0 0 1 3.066-3.245Zm7.684 1.495h-7.5a1.75 1.75 0 0 0-1.744 1.606l-.006.144v7.5a1.75 1.75 0 0 0 1.607 1.744l.143.006h7.5a1.75 1.75 0 0 0 1.744-1.607l.006-.143v-7.5a1.75 1.75 0 0 0-1.75-1.75ZM15 11a.75.75 0 0 1 .75.75v2.498h2.5a.75.75 0 0 1 0 1.5h-2.5v2.502a.75.75 0 0 1-1.5 0v-2.502h-2.5a.75.75 0 1 1 0-1.5h2.5V11.75A.75.75 0 0 1 15 11Zm.582-6.767.052.177.693 2.588h-1.553l-.588-2.2a1.75 1.75 0 0 0-2.144-1.238L4.798 5.502a1.75 1.75 0 0 0-1.27 1.995l.032.148 1.942 7.244A1.75 1.75 0 0 0 7 16.176v1.506a3.252 3.252 0 0 1-2.895-2.228l-.052-.176-1.941-7.245a3.25 3.25 0 0 1 2.12-3.928l.178-.052 7.244-1.941a3.25 3.25 0 0 1 3.928 2.12Z" fill="currentColor" stroke-width="0.5" />',editorItalic:'<path d="M10.649 18.5h3.847a1 1 0 0 1 0 2h-9.5a.997.997 0 0 1-.996-1c0-.552.445-1 .996-1h3.51L13.332 6H9.997a1 1 0 0 1 0-2H18.5a1 1 0 0 1 0 2h-3.025L10.65 18.5Z" fill="currentColor" stroke-width="0.25" />',question:'<circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line>',layout:'<path d="M12 3h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-7m0-18H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7m0-18v18"></path>',play:'<polygon points="5 3 19 12 5 21 5 3"></polygon>',code:'<polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline>',chat:'<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path>',thumbsup:'<path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path>',thumbsdown:'<path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"></path>',error:'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line>',globe:'<circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path>'},vvt="";var k5e=we({name:"BaseIcon",props:{animation:{type:String,default:void 0},animationSpeed:{type:String,default:void 0},fill:{type:String,default:"none"},size:{type:[Number,String],default:22},stroke:{type:String,default:"currentColor"},strokeLinecap:{type:String,default:"round"},strokeLinejoin:{type:String,default:"round"},strokeWidth:{type:[Number,String],default:2},tag:{type:String,default:"i"},type:{type:String,required:!0,validator(t){if(!$q[t])throw new Error(`"${t}" is not an available icon type.`);return!0}}},render(t){const{animation:e,animationSpeed:r,size:n,type:a}=this,i=new P5e(a,$q[a]);return t(this.tag,{attrs:{"data-name":a,"data-tags":i?i.tags:"","data-type":a},class:{feather:!0,[`feather--${a}`]:a,[`feather--${e}`]:e,[`feather--${r}`]:r},on:this.$listeners},[i?t("svg",{attrs:{...i.attrs,fill:this.fill||"currentColor",height:n,stroke:this.stroke||"currentColor","stroke-linecap":this.strokeLinecap,"stroke-linejoin":this.strokeLinejoin,"stroke-width":this.strokeWidth,width:n},style:{...n?{width:`${n}px`,height:`${n}px`}:{}},class:[i.attrs?i.attrs.class:"","feather__content"],domProps:{innerHTML:i.contents}}):""])}},null,null,!1,null,"03e89e7d",null,null);const pp=k5e.exports;function T5e(){for(var t=0,e,r,n="";t<arguments.length;)(e=arguments[t++])&&(r=Aq(e))&&(n&&(n+=" "),n+=r);return n}function Aq(t){if(typeof t=="string")return t;for(var e,r="",n=0;n<t.length;n++)t[n]&&(e=Aq(t[n]))&&(r&&(r+=" "),r+=e);return r}function Nk(){return Nk=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Nk.apply(this,arguments)}function E5e(t){if(t<1)return{get:function(){},set:function(){}};var e=0,r=new Map,n=new Map;function a(i,o){r.set(i,o),e++,e>t&&(e=0,n=r,r=new Map)}return{get:function(o){var s=r.get(o);if(s!==void 0)return s;if((s=n.get(o))!==void 0)return a(o,s),s},set:function(o,s){r.has(o)?r.set(o,s):a(o,s)}}}var Lk="-";function M5e(t){var e=O5e(t);function r(a){var i=a.split(Lk);return i[0]===""&&i.length!==1&&i.shift(),Rq(i,e)||S5e(a)}function n(a){return t.conflictingClassGroups[a]||[]}return{getClassGroupId:r,getConflictingClassGroupIds:n}}function Rq(t,e){var r;if(t.length===0)return e.classGroupId;var n=t[0],a=e.nextPart.get(n),i=a?Rq(t.slice(1),a):void 0;if(i)return i;if(e.validators.length!==0){var o=t.join(Lk);return(r=e.validators.find(function(s){var u=s.validator;return u(o)}))==null?void 0:r.classGroupId}}var Iq=/^\[(.+)\]$/;function S5e(t){if(Iq.test(t)){var e=Iq.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}}function O5e(t){var e=t.theme,r=t.prefix,n={nextPart:new Map,validators:[]},a=D5e(Object.entries(t.classGroups),r);return a.forEach(function(i){var o=i[0],s=i[1];Wk(s,n,o,e)}),n}function Wk(t,e,r,n){t.forEach(function(a){if(typeof a=="string"){var i=a===""?e:Nq(e,a);i.classGroupId=r;return}if(typeof a=="function"){if(C5e(a)){Wk(a(n),e,r,n);return}e.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(function(o){var s=o[0],u=o[1];Wk(u,Nq(e,s),r,n)})})}function Nq(t,e){var r=t;return e.split(Lk).forEach(function(n){r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function C5e(t){return t.isThemeGetter}function D5e(t,e){return e?t.map(function(r){var n=r[0],a=r[1],i=a.map(function(o){return typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(function(s){var u=s[0],l=s[1];return[e+u,l]})):o});return[n,i]}):t}var Lq="!";function $5e(t){var e=t.separator||":";return function(n){for(var a=0,i=[],o=0,s=0;s<n.length;s++){var u=n[s];a===0&&u===e[0]&&(e.length===1||n.slice(s,s+e.length)===e)&&(i.push(n.slice(o,s)),o=s+e.length),u==="["?a++:u==="]"&&a--}var l=i.length===0?n:n.substring(o),d=l.startsWith(Lq),c=d?l.substring(1):l;return{modifiers:i,hasImportantModifier:d,baseClassName:c}}}function A5e(t){if(t.length<=1)return t;var e=[],r=[];return t.forEach(function(n){var a=n[0]==="[";a?(e.push.apply(e,r.sort().concat([n])),r=[]):r.push(n)}),e.push.apply(e,r.sort()),e}function R5e(t){return Nk({cache:E5e(t.cacheSize),splitModifiers:$5e(t)},M5e(t))}var I5e=/\s+/;function N5e(t,e){var r=e.splitModifiers,n=e.getClassGroupId,a=e.getConflictingClassGroupIds,i=new Set;return t.trim().split(I5e).map(function(o){var s=r(o),u=s.modifiers,l=s.hasImportantModifier,d=s.baseClassName,c=n(d);if(!c)return{isTailwindClass:!1,originalClassName:o};var m=A5e(u).join(":"),f=l?m+Lq:m;return{isTailwindClass:!0,modifierId:f,classGroupId:c,originalClassName:o}}).reverse().filter(function(o){if(!o.isTailwindClass)return!0;var s=o.modifierId,u=o.classGroupId,l=s+u;return i.has(l)?!1:(i.add(l),a(u).forEach(function(d){return i.add(s+d)}),!0)}).reverse().map(function(o){return o.originalClassName}).join(" ")}function L5e(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,a,i,o=s;function s(l){var d=e[0],c=e.slice(1),m=c.reduce(function(f,p){return p(f)},d());return n=R5e(m),a=n.cache.get,i=n.cache.set,o=u,u(l)}function u(l){var d=a(l);if(d)return d;var c=N5e(l,n);return i(l,c),c}return function(){return o(T5e.apply(null,arguments))}}function _t(t){var e=function(n){return n[t]||[]};return e.isThemeGetter=!0,e}var ui=/^\[(.+)\]$/,W5e=/^\d+\/\d+$/,F5e=new Set(["px","full","screen"]),j5e=/^(\d+)?(xs|sm|md|lg|xl)$/,V5e=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh)/,U5e=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function cn(t){return!Number.isNaN(Number(t))||F5e.has(t)||W5e.test(t)||go(t)}function go(t){var e,r=(e=ui.exec(t))==null?void 0:e[1];return r?r.startsWith("length:")||V5e.test(r):!1}function z5e(t){var e,r=(e=ui.exec(t))==null?void 0:e[1];return r?r.startsWith("size:"):!1}function B5e(t){var e,r=(e=ui.exec(t))==null?void 0:e[1];return r?r.startsWith("position:"):!1}function H5e(t){var e,r=(e=ui.exec(t))==null?void 0:e[1];return r?r.startsWith("url(")||r.startsWith("url:"):!1}function Wq(t){var e,r=(e=ui.exec(t))==null?void 0:e[1];return r?!Number.isNaN(Number(r))||r.startsWith("number:"):!1}function dr(t){var e,r=(e=ui.exec(t))==null?void 0:e[1];return r?Number.isInteger(Number(r)):Number.isInteger(Number(t))}function Kt(t){return ui.test(t)}function sd(){return!0}function li(t){return j5e.test(t)}function q5e(t){var e,r=(e=ui.exec(t))==null?void 0:e[1];return r?U5e.test(r):!1}function Y5e(){var t=_t("colors"),e=_t("spacing"),r=_t("blur"),n=_t("brightness"),a=_t("borderColor"),i=_t("borderRadius"),o=_t("borderSpacing"),s=_t("borderWidth"),u=_t("contrast"),l=_t("grayscale"),d=_t("hueRotate"),c=_t("invert"),m=_t("gap"),f=_t("gradientColorStops"),p=_t("inset"),h=_t("margin"),v=_t("opacity"),y=_t("padding"),b=_t("saturate"),g=_t("scale"),_=_t("sepia"),w=_t("skew"),x=_t("space"),k=_t("translate"),D=function(){return["auto","contain","none"]},S=function(){return["auto","hidden","clip","visible","scroll"]},O=function(){return["auto",e]},C=function(){return["",cn]},E=function(){return["auto",dr]},T=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},$=function(){return["solid","dashed","dotted","double","none"]},I=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},W=function(){return["start","end","center","between","around","evenly"]},U=function(){return["","0",Kt]},M=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]};return{cacheSize:500,theme:{colors:[sd],spacing:[cn],blur:["none","",li,go],brightness:[dr],borderColor:[t],borderRadius:["none","","full",li,go],borderSpacing:[e],borderWidth:C(),contrast:[dr],grayscale:U(),hueRotate:[dr],invert:U(),gap:[e],gradientColorStops:[t],inset:O(),margin:O(),opacity:[dr],padding:[e],saturate:[dr],scale:[dr],sepia:U(),skew:[dr,Kt],space:[e],translate:[e]},classGroups:{aspect:[{aspect:["auto","square","video",Kt]}],container:["container"],columns:[{columns:[li]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(T(),[Kt])}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:[dr]}],basis:[{basis:[e]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Kt]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",dr]}],"grid-cols":[{"grid-cols":[sd]}],"col-start-end":[{col:["auto",{span:[dr]}]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[sd]}],"row-start-end":[{row:["auto",{span:[dr]}]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Kt]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Kt]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:W()}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:[].concat(W(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(W(),["baseline","stretch"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[x]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[x]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",e]}],"min-w":[{"min-w":["min","max","fit",cn]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[li]},li,go]}],h:[{h:[e,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",cn]}],"max-h":[{"max-h":[e,"min","max","fit"]}],"font-size":[{text:["base",li,go]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Wq]}],"font-family":[{font:[sd]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",go]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",cn]}],"list-style-type":[{list:["none","disc","decimal",Kt]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat($(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",cn]}],"underline-offset":[{"underline-offset":["auto",cn]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:[e]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",go]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap"]}],break:[{break:["normal","words","all","keep"]}],content:[{content:["none",Kt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(T(),[B5e])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",z5e]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},H5e]}],"bg-color":[{bg:[t]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[].concat($(),["hidden"])}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:$()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:[""].concat($())}],"outline-offset":[{"outline-offset":[cn]}],"outline-w":[{outline:[cn]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[cn]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",li,q5e]}],"shadow-color":[{shadow:[sd]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":I()}],"bg-blend":[{"bg-blend":I()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",li,Kt]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[c]}],saturate:[{saturate:[b]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Kt]}],duration:[{duration:[dr]}],ease:[{ease:["linear","in","out","in-out",Kt]}],delay:[{delay:[dr]}],animate:[{animate:["none","spin","ping","pulse","bounce",Kt]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[g]}],"scale-x":[{"scale-x":[g]}],"scale-y":[{"scale-y":[g]}],rotate:[{rotate:[dr,Kt]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[w]}],"skew-y":[{"skew-y":[w]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Kt]}],accent:[{accent:["auto",t]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Kt]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":[e]}],"scroll-mx":[{"scroll-mx":[e]}],"scroll-my":[{"scroll-my":[e]}],"scroll-mt":[{"scroll-mt":[e]}],"scroll-mr":[{"scroll-mr":[e]}],"scroll-mb":[{"scroll-mb":[e]}],"scroll-ml":[{"scroll-ml":[e]}],"scroll-p":[{"scroll-p":[e]}],"scroll-px":[{"scroll-px":[e]}],"scroll-py":[{"scroll-py":[e]}],"scroll-pt":[{"scroll-pt":[e]}],"scroll-pr":[{"scroll-pr":[e]}],"scroll-pb":[{"scroll-pb":[e]}],"scroll-pl":[{"scroll-pl":[e]}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Kt]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[cn,Wq]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],"col-start-end":["col-start","col-end"],"row-start-end":["row-start","row-end"],gap:["gap-x","gap-y"],p:["px","py","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-t","rounded-r","rounded-b","rounded-l","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]}}}var G5e=L5e(Y5e);const bvt="",Fq={defaultLinkTags:["a","button","input","label","router-link","nuxt-link","n-link","RouterLink","NuxtLink","NLink"],defaultButtonRounded:!1},K5e={name:"CButton",components:{BaseIcon:pp},inheritAttrs:!1,props:{type:{type:String,default:null,validator:t=>["primary","secondary","tertiary","success","warning","danger","text","none"].indexOf(t)>=0},size:{type:String,default:null,validator:t=>["small","normal","default","medium","large"].indexOf(t)>=0},pattern:{type:String,default:"primary",validator:t=>["primary","secondary","tertiary"].indexOf(t)>=0},label:String,iconPack:String,iconLeft:String,iconRight:String,rounded:{type:Boolean,default:()=>Fq.defaultButtonRounded},loading:Boolean,disabled:Boolean,outlined:Boolean,expanded:Boolean,inverted:Boolean,focused:Boolean,active:Boolean,hovered:Boolean,selected:Boolean,nativeType:{type:String,default:"button",validator:t=>["button","submit","reset"].indexOf(t)>=0},tag:{type:String,default:"button",validator:t=>Fq.defaultLinkTags.indexOf(t)>=0},raised:Boolean,wide:Boolean,circle:Boolean,icon:String,iconProps:{type:Object,default:()=>({})},dropdownIcon:Boolean,taller:Boolean,thinner:Boolean,rounder:Boolean,to:{type:[Object,String],default:void 0,validator(t){return!!(t===void 0||typeof t=="string"||t.name&&typeof t.name=="string")}}},computed:{computedTag(){const t=this.$attrs.disabled!==void 0&&this.$attrs.disabled!==!1;return this.to&&!t?"router-link":t?"button":this.tag},iconSize(){return this.size==="medium"?20:this.size==="large"?24:this.size==="small"?16:18},computedPatternClass(){return["secondary","text","none"].includes(this.type)?"":`is-pattern-${this.pattern}`},computedTypeClass(){return["secondary","text","none"].includes(this.type)?"":`is-${this.type}`}},methods:{tailwindClasses(...t){if(!["secondary","text","none"].includes(this.type))return"bg-white";const e=[];return this.type==="secondary"?(e.push("bg-primary-500 border-primary-500 text-white"),e.push("disabled:bg-primary-500 disabled:border-primary-500 disabled:text-white disabled:opacity-50 disabled:shadow-none"),e.push("hover:bg-primary-600 hover:border-primary-600 hover:text-white"),e.push("focus:bg-primary-700 focus:border-primary-700 focus:text-white focus:!ring focus:ring-primary-500 focus:ring-opacity-20 [&.is-focused]:text-white"),this.pattern==="secondary"?(e.push("bg-primary-100 border-primary-100 text-primary-600"),e.push("disabled:bg-primary-100 disabled:border-primary-100 disabled:text-primary-600"),e.push("hover:bg-primary-200 hover:border-primary-200 hover:text-primary-700"),e.push("focus:bg-primary-300 focus:border-primary-300 focus:text-primary-700 [&.is-focused]:text-primary-700")):this.pattern==="tertiary"&&(e.push("bg-transparent border-transparent text-primary-500"),e.push("disabled:bg-transparent disabled:border-transparent disabled:text-primary-500"),e.push("hover:bg-primary-50 hover:border-primary-50 hover:text-primary-500"),e.push("focus:bg-primary-100 focus:border-primary-100 focus:text-primary-500 focus:bg-primary-100 [&.is-focused]:text-primary-500")),this.outlined&&(e.push("bg-transparent text-primary-500"),e.push("disabled:bg-transparent disabled:text-primary-500"))):this.type==="text"?(e.push("bg-gray-800 border-gray-800 text-white"),e.push("disabled:bg-gray-800 disabled:border-gray-800 disabled:text-white disabled:opacity-50 disabled:shadow-none"),e.push("hover:bg-gray-700 hover:border-gray-700 hover:text-white"),e.push("focus:bg-gray-900 focus:border-gray-900 focus:text-white focus:!ring focus:ring-gray-800 focus:ring-opacity-20 [&.is-focused]:text-white"),this.pattern==="secondary"?(e.push("bg-gray-400 border-gray-400 text-white"),e.push("disabled:bg-gray-400 disabled:border-gray-400 disabled:text-white"),e.push("hover:bg-gray-500 hover:border-gray-500 hover:text-white"),e.push("focus:bg-gray-310 focus:border-gray-310 focus:text-white [&.is-focused]:text-white")):this.pattern==="tertiary"&&(e.push("bg-transparent border-transparent text-gray-800"),e.push("disabled:bg-transparent disabled:border-transparent disabled:text-gray-800"),e.push("hover:bg-gray-100 hover:border-gray-50 hover:text-gray-800"),e.push("focus:bg-gray-110 focus:border-gray-110 focus:text-gray-800 focus:bg-gray-110 [&.is-focused]:text-gray-800")),this.outlined&&(e.push("bg-transparent text-gray-800"),e.push("disabled:bg-transparent disabled:text-gray-800"))):this.type==="none"&&(e.push("bg-gray-500 border-gray-500 text-white"),e.push("disabled:bg-gray-500 disabled:border-gray-500 disabled:text-white disabled:opacity-50 disabled:shadow-none"),e.push("hover:bg-gray-600 hover:border-gray-600 hover:text-white"),e.push("focus:bg-gray-700 focus:border-gray-700 focus:text-white focus:!ring focus:ring-gray-500 focus:ring-opacity-20 [&.is-focused]:text-white"),this.pattern==="secondary"?(e.push("bg-gray-100 border-gray-100 text-gray-600"),e.push("disabled:bg-gray-100 disabled:border-gray-100 disabled:text-gray-600"),e.push("hover:bg-gray-200 hover:border-gray-200 hover:text-gray-700"),e.push("focus:bg-gray-300 focus:border-gray-300 focus:text-gray-700 [&.is-focused]:text-gray-700")):this.pattern==="tertiary"&&(e.push("bg-transparent border-transparent text-gray-500"),e.push("disabled:bg-transparent disabled:border-transparent disabled:text-gray-500"),e.push("hover:bg-gray-50 hover:border-gray-50 hover:text-gray-500"),e.push("focus:bg-gray-100 focus:border-gray-100 focus:text-gray-500 focus:bg-gray-100 [&.is-focused]:text-gray-500")),this.outlined&&(e.push("bg-transparent text-gray-500"),e.push("disabled:bg-transparent disabled:text-gray-500"))),G5e(...e,...t)}}};var X5e=function(){var e=this,r=e._self._c;return r(e.computedTag,e._g(e._b({tag:"component",staticClass:"c-button font-config button",class:[`is-${e.size}`,e.computedPatternClass,e.computedTypeClass,e.tailwindClasses(e.$attrs.class),{"is-rounded":e.rounded,"is-rounder":e.rounder,"is-loading":e.loading,"is-outlined":e.outlined,"is-fullwidth":e.expanded,"is-inverted":e.inverted,"is-focused":e.focused,"is-active":e.active,"is-hovered":e.hovered,"is-selected":e.selected,"is-raised":e.raised,"is-wide":e.wide,"is-taller":e.taller,"is-thinner":e.thinner,"is-circle":e.circle}],attrs:{type:e.nativeType,disabled:e.disabled||e.loading,to:e.to}},"component",e.$attrs,!1),e.$listeners),[e.icon?r("BaseIcon",e._b({staticClass:"icon",attrs:{type:e.icon}},"BaseIcon",{size:e.iconSize,...e.iconProps},!1)):e._e(),e.iconLeft?r("BaseIcon",e._b({staticClass:"icon",attrs:{type:e.iconLeft}},"BaseIcon",{size:e.iconSize,...e.iconProps},!1)):e._e(),e.label?r("span",[e._v(e._s(e.label))]):e.$slots.default?r("span",[e._t("default")],2):e._e(),e.iconRight||e.dropdownIcon?r("BaseIcon",e._b({staticClass:"icon",class:{"icon-right-absolute":e.dropdownIcon},attrs:{type:e.iconRight||"chevron-up-down"}},"BaseIcon",{size:e.iconSize,...e.iconProps},!1)):e._e()],1)},J5e=[],Q5e=we(K5e,X5e,J5e,!1,null,null,null,null);const ud=Q5e.exports,Fk={props:{size:String,expanded:Boolean,loading:Boolean,rounded:Boolean,icon:String,iconPack:String,autocomplete:String,maxlength:[Number,String],useHtml5Validation:{type:Boolean,default:()=>!1},validationMessage:String},data(){return{isValid:!0,isFocused:!1,newIconPack:this.iconPack||""}},computed:{parentField(){let t=this.$parent;for(let e=0;e<3;e++)t&&!t.$data._isField&&(t=t.$parent);return t},statusType(){if(!!this.parentField&&!!this.parentField.newType){if(typeof this.parentField.newType=="string")return this.parentField.newType;for(const t in this.parentField.newType)if(this.parentField.newType[t])return t}},statusMessage(){if(!!this.parentField)return this.parentField.newMessage},iconSize(){switch(this.size){case"is-small":return this.size;case"is-medium":return;case"is-large":return this.newIconPack==="mdi"?"is-medium":""}}},methods:{focus(){this.$data._elementRef!==void 0&&this.$nextTick(()=>{const t=this.$el.querySelector(this.$data._elementRef);t&&t.focus()})},blur(){this.$nextTick(()=>{const t=this.$el.querySelector(this.$data._elementRef);t&&t.blur()})},onBlur(t){this.isFocused=!1,this.$emit("blur",t),this.checkHtml5Validity()},onFocus(t){this.isFocused=!0,this.$emit("focus",t)},getElement(){return this.$el.querySelector(this.$data._elementRef)},setInvalid(){const t="is-danger",e=this.validationMessage||this.getElement().validationMessage;this.setValidity(t,e)},setValidity(t,e){this.$nextTick(()=>{this.parentField&&(this.parentField.type||(this.parentField.newType=t),this.parentField.message||(this.parentField.newMessage=e))})},checkHtml5Validity(){if(!!this.useHtml5Validation&&this.$refs[this.$data._elementRef]!==void 0&&this.getElement()!==null)return this.getElement().checkValidity()?(this.setValidity(null,null),this.isValid=!0):(this.setInvalid(),this.isValid=!1),this.isValid}}},wvt="",Z5e={name:"CInput",components:{BaseIcon:pp},mixins:[Fk],inheritAttrs:!1,props:{value:[Number,String],type:{type:String,default:"text"},passwordReveal:Boolean,iconClickable:Boolean,hasCounter:{type:Boolean,default:()=>!0},customClass:{type:String,default:""},iconRight:String,iconRightClickable:Boolean,filled:Boolean,expanded:Boolean,autoResize:Boolean,reset:Boolean,static:Boolean,iconProps:{type:Object,default:()=>({})}},data(){return{newValue:this.value,newType:this.type,newAutocomplete:this.autocomplete||"on",isPasswordVisible:!1,_elementRef:this.type==="textarea"?"textarea":"input",inputSuffixOffset:null}},computed:{computedValue:{get(){return this.newValue},set(t){this.newValue=t,this.$emit("input",t),!this.isValid&&this.checkHtml5Validity()}},rootClasses(){return[this.iconPosition,`is-${this.size}`,{"is-expanded":this.expanded,"is-loading":this.loading,"is-clearfix":!this.hasMessage}]},inputClasses(){return[this.statusType,`is-${this.size}`,{"is-rounded":this.rounded,"is-filled":this.filled,"is-reset":this.reset,"is-static":this.static}]},hasIconRight(){return this.passwordReveal||this.loading||this.statusTypeIcon||this.iconRight},rightIcon(){return this.passwordReveal?this.passwordVisibleIcon:this.statusTypeIcon?this.statusTypeIcon:this.iconRight},rightIconType(){return this.passwordReveal?"is-primary":this.statusTypeIcon?this.statusType:null},iconPosition(){return this.icon&&this.hasIconRight?"has-icons-left has-icons-right":!this.icon&&this.hasIconRight?"has-icons-right":this.icon?"has-icons-left":""},statusTypeIcon(){switch(this.statusType){case"is-success":return"check";case"is-danger":return"alert-triangle";case"is-info":return"information";case"is-warning":return"alert";default:return""}},statusTypeIconColor(){switch(this.statusType){case"is-success":return"text-green-500";case"is-danger":return"text-red-500";case"is-info":return"text-blue-500";case"is-warning":return"text-orange-500";default:return""}},hasMessage(){return!!this.statusMessage},passwordVisibleIcon(){return this.isPasswordVisible?"eye-off":"eye"},valueLength(){return typeof this.computedValue=="string"?this.computedValue.length:typeof this.computedValue=="number"?this.computedValue.toString().length:0}},watch:{value(t){this.newValue=t}},mounted(){this.type==="textarea"&&this.autoResize&&this.$nextTick(()=>{this.$refs.textarea.setAttribute("style",`height: ${this.$refs.textarea.scrollHeight}px`)}),this.$slots.suffix&&(this.inputSuffixOffset=this.calcInputSuffixOffset())},methods:{togglePasswordVisibility(){this.isPasswordVisible=!this.isPasswordVisible,this.newType=this.isPasswordVisible?"text":"password",this.$nextTick(()=>{this.$refs[this.$data._elementRef].focus()})},onInput(t){this.$nextTick(()=>{t.target&&(this.computedValue=t.target.value,this.autoResize&&this.type==="textarea"&&this.resize(t))})},iconClick(t,e){this.$emit(t,e),this.$nextTick(()=>{this.$refs[this.$data._elementRef].focus()})},rightIconClick(t){this.passwordReveal?this.togglePasswordVisibility():this.iconRightClickable&&this.iconClick("icon-right-click",t)},resize({target:t}){t.style.height="1px",t.style.height=`${t.scrollHeight}px`},calcInputSuffixOffset(){return this.$slots.suffix?{paddingRight:`${this.$el.querySelector(".suffix").offsetWidth+10}px`}:null}}};var e3e=function(){var e=this,r=e._self._c;return r("div",{staticClass:"control",class:e.rootClasses},[e.type!=="textarea"?r("input",e._b({ref:"input",staticClass:"input",class:[e.inputClasses,e.customClass],style:[e.inputSuffixOffset],attrs:{type:e.newType,autocomplete:e.newAutocomplete,maxlength:e.maxlength},domProps:{value:e.computedValue},on:{input:e.onInput,blur:e.onBlur,focus:e.onFocus,keyup:function(n){if(!n.type.indexOf("key")&&e._k(n.keyCode,"esc",27,n.key,["Esc","Escape"]))return null;e.isFocused}}},"input",e.$attrs,!1)):r("textarea",e._b({ref:"textarea",staticClass:"textarea",class:[e.inputClasses,e.customClass,{autosize:e.autoResize}],attrs:{maxlength:e.maxlength},domProps:{value:e.computedValue},on:{input:e.onInput,blur:e.onBlur,focus:e.onFocus,keyup:function(n){if(!n.type.indexOf("key")&&e._k(n.keyCode,"esc",27,n.key,["Esc","Escape"]))return null;e.isFocused}}},"textarea",e.$attrs,!1)),e._v(" "),e.icon?r("div",{staticClass:"is-left icon",class:{"is-clickable":e.iconClickable},on:{click:function(n){return e.iconClick("icon-click",n)}}},[r("BaseIcon",e._b({attrs:{type:e.icon}},"BaseIcon",{size:e.iconSize,...e.iconProps},!1))],1):e._e(),!e.loading&&e.hasIconRight?r("div",{staticClass:"is-right icon",class:{"is-clickable":e.passwordReveal||e.iconRightClickable},on:{click:e.rightIconClick}},[r("BaseIcon",e._b({class:e.statusTypeIconColor,attrs:{type:e.rightIcon}},"BaseIcon",{size:e.iconSize,...e.iconProps},!1))],1):e._e(),e.$slots.suffix?r("div",{staticClass:"suffix"},[e._t("suffix")],2):e._e()])},t3e=[],r3e=we(Z5e,e3e,t3e,!1,null,"54238709",null,null);const ld=r3e.exports,jk={props:{value:[String,Number,Boolean,Function,Object,Array],nativeValue:[String,Number,Boolean,Function,Object,Array],type:{type:String,default:"primary"},disabled:Boolean,required:Boolean,name:String,size:{type:String,default:"default"}},data(){return{newValue:this.value}},computed:{computedValue:{get(){return this.newValue},set(t){this.newValue=t,this.$emit("input",t)}}},watch:{value(t){this.newValue=t}},methods:{focus(){this.$refs.input.focus()}}},xvt="",n3e={name:"CCheckbox",mixins:[jk],props:{indeterminate:Boolean,trueValue:{type:[String,Number,Boolean,Function,Object,Array],default:!0},falseValue:{type:[String,Number,Boolean,Function,Object,Array],default:!1},inverted:Boolean}};var a3e=function(){var e=this,r=e._self._c;return r("label",{ref:"label",staticClass:"c-checkbox checkbox",class:[`is-${e.size}`,{"is-disabled":e.disabled}],attrs:{disabled:e.disabled},on:{click:e.focus,keydown:function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:(n.preventDefault(),e.$refs.label.click())}}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.computedValue,expression:"computedValue"}],ref:"input",attrs:{disabled:e.disabled,required:e.required,name:e.name,"true-value":e.trueValue,"false-value":e.falseValue,type:"checkbox"},domProps:{indeterminate:e.indeterminate,value:e.nativeValue,checked:Array.isArray(e.computedValue)?e._i(e.computedValue,e.nativeValue)>-1:e._q(e.computedValue,e.trueValue)},on:{click:function(n){n.stopPropagation()},change:function(n){var a=e.computedValue,i=n.target,o=i.checked?e.trueValue:e.falseValue;if(Array.isArray(a)){var s=e.nativeValue,u=e._i(a,s);i.checked?u<0&&(e.computedValue=a.concat([s])):u>-1&&(e.computedValue=a.slice(0,u).concat(a.slice(u+1)))}else e.computedValue=o}}}),r("span",{staticClass:"check",class:[`is-${e.type}`,{"is-inverted":e.inverted}]},[r("svg",{attrs:{viewBox:"0 0 30 30"}},[r("polyline",{attrs:{points:"21 8 12 20 7 15"}})])]),e.$slots.default?r("span",{staticClass:"control-label"},[e._t("default")],2):e._e()])},i3e=[],o3e=we(n3e,a3e,i3e,!1,null,null,null,null);const hp=o3e.exports;var jq={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(typeof self<"u"?self:Ae,function(){return function(r){var n={};function a(i){if(n[i])return n[i].exports;var o=n[i]={i,l:!1,exports:{}};return r[i].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=r,a.c=n,a.d=function(i,o,s){a.o(i,o)||Object.defineProperty(i,o,{enumerable:!0,get:s})},a.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},a.t=function(i,o){if(1&o&&(i=a(i)),8&o||4&o&&typeof i=="object"&&i&&i.__esModule)return i;var s=Object.create(null);if(a.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:i}),2&o&&typeof i!="string")for(var u in i)a.d(s,u,function(l){return i[l]}.bind(null,u));return s},a.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return a.d(o,"a",o),o},a.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},a.p="",a(a.s=44)}([function(r,n,a){var i=a(28)("wks"),o=a(14),s=a(1).Symbol,u=typeof s=="function";(r.exports=function(l){return i[l]||(i[l]=u&&s[l]||(u?s:o)("Symbol."+l))}).store=i},function(r,n){var a=r.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=a)},function(r,n,a){var i=a(1),o=a(7),s=a(3),u=a(19),l=a(24),d=function(c,m,f){var p,h,v,y,b=c&d.F,g=c&d.G,_=c&d.S,w=c&d.P,x=c&d.B,k=g?i:_?i[m]||(i[m]={}):(i[m]||{}).prototype,D=g?o:o[m]||(o[m]={}),S=D.prototype||(D.prototype={});for(p in g&&(f=m),f)v=((h=!b&&k&&k[p]!==void 0)?k:f)[p],y=x&&h?l(v,i):w&&typeof v=="function"?l(Function.call,v):v,k&&u(k,p,v,c&d.U),D[p]!=v&&s(D,p,y),w&&S[p]!=v&&(S[p]=v)};i.core=o,d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,r.exports=d},function(r,n,a){var i=a(4),o=a(13);r.exports=a(8)?function(s,u,l){return i.f(s,u,o(1,l))}:function(s,u,l){return s[u]=l,s}},function(r,n,a){var i=a(12),o=a(34),s=a(23),u=Object.defineProperty;n.f=a(8)?Object.defineProperty:function(l,d,c){if(i(l),d=s(d,!0),i(c),o)try{return u(l,d,c)}catch{}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(l[d]=c.value),l}},function(r,n){r.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},function(r,n){var a={}.hasOwnProperty;r.exports=function(i,o){return a.call(i,o)}},function(r,n){var a=r.exports={version:"2.5.7"};typeof __e=="number"&&(__e=a)},function(r,n,a){r.exports=!a(9)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(r,n){r.exports=function(a){try{return!!a()}catch{return!0}}},function(r,n,a){var i=a(37),o=a(29);r.exports=Object.keys||function(s){return i(s,o)}},function(r,n,a){var i=a(25),o=a(17);r.exports=function(s){return i(o(s))}},function(r,n,a){var i=a(5);r.exports=function(o){if(!i(o))throw TypeError(o+" is not an object!");return o}},function(r,n){r.exports=function(a,i){return{enumerable:!(1&a),configurable:!(2&a),writable:!(4&a),value:i}}},function(r,n){var a=0,i=Math.random();r.exports=function(o){return"Symbol(".concat(o===void 0?"":o,")_",(++a+i).toString(36))}},function(r,n){r.exports={}},function(r,n,a){var i=a(17);r.exports=function(o){return Object(i(o))}},function(r,n){r.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},function(r,n){r.exports=!1},function(r,n,a){var i=a(1),o=a(3),s=a(6),u=a(14)("src"),l=Function.toString,d=(""+l).split("toString");a(7).inspectSource=function(c){return l.call(c)},(r.exports=function(c,m,f,p){var h=typeof f=="function";h&&(s(f,"name")||o(f,"name",m)),c[m]!==f&&(h&&(s(f,u)||o(f,u,c[m]?""+c[m]:d.join(String(m)))),c===i?c[m]=f:p?c[m]?c[m]=f:o(c,m,f):(delete c[m],o(c,m,f)))})(Function.prototype,"toString",function(){return typeof this=="function"&&this[u]||l.call(this)})},function(r,n){var a={}.toString;r.exports=function(i){return a.call(i).slice(8,-1)}},function(r,n){n.f={}.propertyIsEnumerable},function(r,n){var a=Math.ceil,i=Math.floor;r.exports=function(o){return isNaN(o=+o)?0:(o>0?i:a)(o)}},function(r,n,a){var i=a(5);r.exports=function(o,s){if(!i(o))return o;var u,l;if(s&&typeof(u=o.toString)=="function"&&!i(l=u.call(o))||typeof(u=o.valueOf)=="function"&&!i(l=u.call(o))||!s&&typeof(u=o.toString)=="function"&&!i(l=u.call(o)))return l;throw TypeError("Can't convert object to primitive value")}},function(r,n,a){var i=a(47);r.exports=function(o,s,u){if(i(o),s===void 0)return o;switch(u){case 1:return function(l){return o.call(s,l)};case 2:return function(l,d){return o.call(s,l,d)};case 3:return function(l,d,c){return o.call(s,l,d,c)}}return function(){return o.apply(s,arguments)}}},function(r,n,a){var i=a(20);r.exports=Object("z").propertyIsEnumerable(0)?Object:function(o){return i(o)=="String"?o.split(""):Object(o)}},function(r,n,a){var i=a(22),o=Math.min;r.exports=function(s){return s>0?o(i(s),9007199254740991):0}},function(r,n,a){var i=a(28)("keys"),o=a(14);r.exports=function(s){return i[s]||(i[s]=o(s))}},function(r,n,a){var i=a(7),o=a(1),s=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(r.exports=function(u,l){return s[u]||(s[u]=l!==void 0?l:{})})("versions",[]).push({version:i.version,mode:a(18)?"pure":"global",copyright:"\xA9 2018 Denis Pushkarev (zloirock.ru)"})},function(r,n){r.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(r,n,a){var i=a(4).f,o=a(6),s=a(0)("toStringTag");r.exports=function(u,l,d){u&&!o(u=d?u:u.prototype,s)&&i(u,s,{configurable:!0,value:l})}},function(r,n,a){var i=a(0)("unscopables"),o=Array.prototype;o[i]==null&&a(3)(o,i,{}),r.exports=function(s){o[i][s]=!0}},function(r,n){n.f=Object.getOwnPropertySymbols},function(r,n,a){var i=a(18),o=a(2),s=a(19),u=a(3),l=a(15),d=a(48),c=a(30),m=a(52),f=a(0)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};r.exports=function(v,y,b,g,_,w,x){d(b,y,g);var k,D,S,O=function(P){if(!p&&P in $)return $[P];switch(P){case"keys":case"values":return function(){return new b(this,P)}}return function(){return new b(this,P)}},C=y+" Iterator",E=_=="values",T=!1,$=v.prototype,I=$[f]||$["@@iterator"]||_&&$[_],W=I||O(_),U=_?E?O("entries"):W:void 0,M=y=="Array"&&$.entries||I;if(M&&(S=m(M.call(new v)))!==Object.prototype&&S.next&&(c(S,C,!0),i||typeof S[f]=="function"||u(S,f,h)),E&&I&&I.name!=="values"&&(T=!0,W=function(){return I.call(this)}),i&&!x||!p&&!T&&$[f]||u($,f,W),l[y]=W,l[C]=h,_)if(k={values:E?W:O("values"),keys:w?W:O("keys"),entries:U},x)for(D in k)D in $||s($,D,k[D]);else o(o.P+o.F*(p||T),y,k);return k}},function(r,n,a){r.exports=!a(8)&&!a(9)(function(){return Object.defineProperty(a(35)("div"),"a",{get:function(){return 7}}).a!=7})},function(r,n,a){var i=a(5),o=a(1).document,s=i(o)&&i(o.createElement);r.exports=function(u){return s?o.createElement(u):{}}},function(r,n,a){var i=a(12),o=a(49),s=a(29),u=a(27)("IE_PROTO"),l=function(){},d=function(){var c,m=a(35)("iframe"),f=s.length;for(m.style.display="none",a(51).appendChild(m),m.src="javascript:",(c=m.contentWindow.document).open(),c.write("<script>document.F=Object<\/script>"),c.close(),d=c.F;f--;)delete d.prototype[s[f]];return d()};r.exports=Object.create||function(c,m){var f;return c!==null?(l.prototype=i(c),f=new l,l.prototype=null,f[u]=c):f=d(),m===void 0?f:o(f,m)}},function(r,n,a){var i=a(6),o=a(11),s=a(38)(!1),u=a(27)("IE_PROTO");r.exports=function(l,d){var c,m=o(l),f=0,p=[];for(c in m)c!=u&&i(m,c)&&p.push(c);for(;d.length>f;)i(m,c=d[f++])&&(~s(p,c)||p.push(c));return p}},function(r,n,a){var i=a(11),o=a(26),s=a(50);r.exports=function(u){return function(l,d,c){var m,f=i(l),p=o(f.length),h=s(c,p);if(u&&d!=d){for(;p>h;)if((m=f[h++])!=m)return!0}else for(;p>h;h++)if((u||h in f)&&f[h]===d)return u||h||0;return!u&&-1}}},function(r,n,a){var i=a(31),o=a(65),s=a(15),u=a(11);r.exports=a(33)(Array,"Array",function(l,d){this._t=u(l),this._i=0,this._k=d},function(){var l=this._t,d=this._k,c=this._i++;return!l||c>=l.length?(this._t=void 0,o(1)):o(0,d=="keys"?c:d=="values"?l[c]:[c,l[c]])},"values"),s.Arguments=s.Array,i("keys"),i("values"),i("entries")},function(r,n,a){var i=a(20);r.exports=Array.isArray||function(o){return i(o)=="Array"}},function(r,n,a){var i=a(1),o=a(7),s=a(18),u=a(42),l=a(4).f;r.exports=function(d){var c=o.Symbol||(o.Symbol=s?{}:i.Symbol||{});d.charAt(0)=="_"||d in c||l(c,d,{value:u.f(d)})}},function(r,n,a){n.f=a(0)},function(r,n,a){var i=a(37),o=a(29).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(s){return i(s,o)}},function(r,n,a){a.r(n),a(45),a(53),a(60),a(61),a(39),a(66),a(68),a(70),a(74),a(75),a(80);function i(f,p){for(var h=0;h<p.length;h++){var v=p[h];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(f,v.key,v)}}var o={methods:{$smoothReflow:function(f){var p=function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this._smoothElements.push(new c(h))}.bind(this);Array.isArray(f)?f.forEach(p):p(f)},$unsmoothReflow:function(f){var p=function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d(),v=this.$el,y=this._smoothElements.findIndex(function(b){return u(v,b.options.el)===u(v,h.el)});if(y===-1)return void console.error("VSR_ERROR: $unsmoothReflow failed due to invalid el option");this._smoothElements[y].scheduleRemoval()}.bind(this);Array.isArray(f)?f.forEach(p):p(f)}},beforeMount:function(){var f=this;this._smoothElements=[],this._endListener=function(p){var h=!0,v=!1,y=void 0;try{for(var b,g=f._smoothElements[Symbol.iterator]();!(h=(b=g.next()).done);h=!0)b.value.endListener(p)}catch(_){v=!0,y=_}finally{try{h||g.return==null||g.return()}finally{if(v)throw y}}}},mounted:function(){this.$el.addEventListener("transitionend",this._endListener,{passive:!0})},destroyed:function(){this.$el.removeEventListener("transitionend",this._endListener,{passive:!0})},beforeUpdate:function(){this.$el.addEventListener("transitionend",this._endListener,{passive:!0}),s(this);var f=!0,p=!1,h=void 0;try{for(var v,y=this._smoothElements[Symbol.iterator]();!(f=(v=y.next()).done);f=!0){var b=v.value,g=u(this.$el,b.options.el);b.setSmoothElement(g),b.setBeforeValues()}}catch(_){p=!0,h=_}finally{try{f||y.return==null||y.return()}finally{if(p)throw h}}},updated:function(){var f=this;this.$nextTick(function(){var p=!0,h=!1,v=void 0;try{for(var y,b=f._smoothElements[Symbol.iterator]();!(p=(y=b.next()).done);p=!0){var g=y.value,_=u(f.$el,g.options.el);g.setSmoothElement(_),g.doSmoothReflow()}}catch(w){h=!0,v=w}finally{try{p||b.return==null||b.return()}finally{if(h)throw v}}s(f)})}};function s(f){for(var p=f._smoothElements.length;p--;){var h=f._smoothElements[p];h.isRemoved&&(h.stopTransition(),f._smoothElements.splice(p,1))}}function u(f,p){return!f||f instanceof Node&&f.nodeType===Node.COMMENT_NODE?null:p===null?f:function(h,v){return typeof v=="string"?h.matches(v)?h:h.querySelector(v):v}(f,p)}var l={INACTIVE:"INACTIVE",ACTIVE:"ACTIVE"},d=function(){return{el:null,property:"height",transitionEvent:null,hideOverflow:!0,debug:!1}},c=function(){function f(p){(function(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")})(this,f);var h=d();Object.assign(h,p);var v=this.parsePropertyOption(h.property);h.transition||(h.transition=v.map(function(b){return"".concat(b," .5s")}).join(","));var y={$smoothEl:null,properties:v,beforeRect:{},state:l.INACTIVE,isRemoved:!1};Object.assign(this,{options:h},y),this.endListener=this.endListener.bind(this),this.debug=this.debug.bind(this)}return function(p,h,v){h&&i(p.prototype,h),v&&i(p,v)}(f,[{key:"setSmoothElement",value:function(p){this.$smoothEl=p}},{key:"transitionTo",value:function(p){this.state=p}},{key:"parsePropertyOption",value:function(p){return typeof p=="string"?[p]:Array.isArray(p)?p:[]}},{key:"setBeforeValues",value:function(){var p=this.$smoothEl;if(this.beforeRect={},p){var h=window.getComputedStyle(p)||{},v=h.transition,y=h.overflowX,b=h.overflowY;this.computedTransition=v,this.overflowX=y,this.overflowY=b,this.beforeRect=m(p),this.state===l.ACTIVE&&(this.stopTransition(),this.debug("Transition was interrupted."))}}},{key:"didValuesChange",value:function(p,h){var v=p,y=h;if(Object.keys(p).length===0)return!1;var b=!0,g=!1,_=void 0;try{for(var w,x=this.properties[Symbol.iterator]();!(b=(w=x.next()).done);b=!0){var k=w.value;if(k==="transform"&&(v.top!==y.top||v.left!==y.left)||v[k]!==y[k])return!0}}catch(D){g=!0,_=D}finally{try{b||x.return==null||x.return()}finally{if(g)throw _}}return!1}},{key:"doSmoothReflow",value:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data update",h=this.$smoothEl;if(!h)return this.debug("Could not find registered el to perform doSmoothReflow."),void this.transitionTo(l.INACTIVE);if(this.state!==l.ACTIVE){var v=this.beforeRect,y=this.properties,b=this.options,g=this.overflowX,_=this.overflowY,w=this.debug;this.transitionTo(l.ACTIVE),w("doSmoothReflow triggered by:",typeof p=="string"?p:p.target);var x=m(h);if(!this.didValuesChange(v,x))return w("Property values did not change."),void this.transitionTo(l.INACTIVE);w("beforeRect",v),w("afterRect",x),this.saveOverflowValues(h,g,_);var k=!0,D=!1,S=void 0;try{for(var O,C=y[Symbol.iterator]();!(k=(O=C.next()).done);k=!0){var E=O.value;if(E==="transform"){var T=v.left-x.left,$=v.top-x.top;h.style.transform="translate(".concat(T,"px, ").concat($,"px)")}else h.style[E]=v[E]+"px"}}catch(j){D=!0,S=j}finally{try{k||C.return==null||C.return()}finally{if(D)throw S}}h.offsetHeight,h.style.transition=[this.computedTransition,b.transition].filter(function(j){return j}).join(",");var I=!0,W=!1,U=void 0;try{for(var M,P=y[Symbol.iterator]();!(I=(M=P.next()).done);I=!0){var A=M.value;A==="transform"?h.style.transform="":h.style[A]=x[A]+"px"}}catch(j){W=!0,U=j}finally{try{I||P.return==null||P.return()}finally{if(W)throw U}}}}},{key:"endListener",value:function(p){var h=this.$smoothEl,v=this.properties;h===p.target?v.includes(p.propertyName)&&(this.stopTransition(),this.hasRegisteredEventEmitter()&&this.setBeforeValues()):this.isRegisteredEventEmitter(h,p)&&this.doSmoothReflow(p)}},{key:"hasRegisteredEventEmitter",value:function(){var p=this.options.transitionEvent;return p!==null&&Object.keys(p).length>0}},{key:"isRegisteredEventEmitter",value:function(p,h){if(!this.hasRegisteredEventEmitter())return!1;var v=h.target,y=this.options.transitionEvent,b=y.selector,g=y.propertyName;if(g!=null&&g!==h.propertyName||b!=null&&!v.matches(b))return!1;if(this.properties.indexOf("transform")===-1){var _=!1,w=h.composedPath?h.composedPath():[],x=!0,k=!1,D=void 0;try{for(var S,O=w[Symbol.iterator]();!(x=(S=O.next()).done);x=!0)if(p===S.value){_=!0;break}}catch(C){k=!0,D=C}finally{try{x||O.return==null||O.return()}finally{if(k)throw D}}if(!_)return!1}return!0}},{key:"saveOverflowValues",value:function(p,h,v){this.options.hideOverflow&&(this.overflowX=h,this.overflowY=v,p.style.overflowX="hidden",p.style.overflowY="hidden")}},{key:"restoreOverflowValues",value:function(p){var h=this.options,v=this.overflowX,y=this.overflowY;h.hideOverflow&&(p.style.overflowX=v,p.style.overflowY=y)}},{key:"stopTransition",value:function(){var p=this.$smoothEl,h=this.properties,v=!0,y=!1,b=void 0;try{for(var g,_=h[Symbol.iterator]();!(v=(g=_.next()).done);v=!0){var w=g.value;p.style[w]=null}}catch(x){y=!0,b=x}finally{try{v||_.return==null||_.return()}finally{if(y)throw b}}this.restoreOverflowValues(p),p.style.transition=null,this.transitionTo(l.INACTIVE)}},{key:"scheduleRemoval",value:function(){this.isRemoved=!0}},{key:"debug",value:function(){if(this.options.debug){var p=["VSR_DEBUG:"].concat(Array.from(arguments));console.log.apply(null,p)}}}]),f}(),m=function(f){f.style.overflow="hidden";var p=f.getBoundingClientRect(),h=p.top,v=p.right,y=p.bottom,b=p.left,g=p.width,_=p.height,w=p.x,x=p.y;return f.style.overflow=null,{top:h,right:v,bottom:y,left:b,width:g,height:_,x:w,y:x}};typeof Element<"u"&&Element.prototype&&!Element.prototype.matches&&(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(f){for(var p=(this.document||this.ownerDocument).querySelectorAll(f),h=p.length;--h>=0&&p.item(h)!==this;);return h>-1}),n.default=o},function(r,n,a){var i=a(46)(!0);a(33)(String,"String",function(o){this._t=String(o),this._i=0},function(){var o,s=this._t,u=this._i;return u>=s.length?{value:void 0,done:!0}:(o=i(s,u),this._i+=o.length,{value:o,done:!1})})},function(r,n,a){var i=a(22),o=a(17);r.exports=function(s){return function(u,l){var d,c,m=String(o(u)),f=i(l),p=m.length;return f<0||f>=p?s?"":void 0:(d=m.charCodeAt(f))<55296||d>56319||f+1===p||(c=m.charCodeAt(f+1))<56320||c>57343?s?m.charAt(f):d:s?m.slice(f,f+2):c-56320+(d-55296<<10)+65536}}},function(r,n){r.exports=function(a){if(typeof a!="function")throw TypeError(a+" is not a function!");return a}},function(r,n,a){var i=a(36),o=a(13),s=a(30),u={};a(3)(u,a(0)("iterator"),function(){return this}),r.exports=function(l,d,c){l.prototype=i(u,{next:o(1,c)}),s(l,d+" Iterator")}},function(r,n,a){var i=a(4),o=a(12),s=a(10);r.exports=a(8)?Object.defineProperties:function(u,l){o(u);for(var d,c=s(l),m=c.length,f=0;m>f;)i.f(u,d=c[f++],l[d]);return u}},function(r,n,a){var i=a(22),o=Math.max,s=Math.min;r.exports=function(u,l){return(u=i(u))<0?o(u+l,0):s(u,l)}},function(r,n,a){var i=a(1).document;r.exports=i&&i.documentElement},function(r,n,a){var i=a(6),o=a(16),s=a(27)("IE_PROTO"),u=Object.prototype;r.exports=Object.getPrototypeOf||function(l){return l=o(l),i(l,s)?l[s]:typeof l.constructor=="function"&&l instanceof l.constructor?l.constructor.prototype:l instanceof Object?u:null}},function(r,n,a){var i=a(24),o=a(2),s=a(16),u=a(54),l=a(55),d=a(26),c=a(56),m=a(57);o(o.S+o.F*!a(59)(function(f){Array.from(f)}),"Array",{from:function(f){var p,h,v,y,b=s(f),g=typeof this=="function"?this:Array,_=arguments.length,w=_>1?arguments[1]:void 0,x=w!==void 0,k=0,D=m(b);if(x&&(w=i(w,_>2?arguments[2]:void 0,2)),D==null||g==Array&&l(D))for(h=new g(p=d(b.length));p>k;k++)c(h,k,x?w(b[k],k):b[k]);else for(y=D.call(b),h=new g;!(v=y.next()).done;k++)c(h,k,x?u(y,w,[v.value,k],!0):v.value);return h.length=k,h}})},function(r,n,a){var i=a(12);r.exports=function(o,s,u,l){try{return l?s(i(u)[0],u[1]):s(u)}catch(c){var d=o.return;throw d!==void 0&&i(d.call(o)),c}}},function(r,n,a){var i=a(15),o=a(0)("iterator"),s=Array.prototype;r.exports=function(u){return u!==void 0&&(i.Array===u||s[o]===u)}},function(r,n,a){var i=a(4),o=a(13);r.exports=function(s,u,l){u in s?i.f(s,u,o(0,l)):s[u]=l}},function(r,n,a){var i=a(58),o=a(0)("iterator"),s=a(15);r.exports=a(7).getIteratorMethod=function(u){if(u!=null)return u[o]||u["@@iterator"]||s[i(u)]}},function(r,n,a){var i=a(20),o=a(0)("toStringTag"),s=i(function(){return arguments}())=="Arguments";r.exports=function(u){var l,d,c;return u===void 0?"Undefined":u===null?"Null":typeof(d=function(m,f){try{return m[f]}catch{}}(l=Object(u),o))=="string"?d:s?i(l):(c=i(l))=="Object"&&typeof l.callee=="function"?"Arguments":c}},function(r,n,a){var i=a(0)("iterator"),o=!1;try{var s=[7][i]();s.return=function(){o=!0},Array.from(s,function(){throw 2})}catch{}r.exports=function(u,l){if(!l&&!o)return!1;var d=!1;try{var c=[7],m=c[i]();m.next=function(){return{done:d=!0}},c[i]=function(){return m},u(c)}catch{}return d}},function(r,n,a){var i=a(2),o=a(38)(!0);i(i.P,"Array",{includes:function(s){return o(this,s,arguments.length>1?arguments[1]:void 0)}}),a(31)("includes")},function(r,n,a){var i=a(2),o=a(62);i(i.P+i.F*a(64)("includes"),"String",{includes:function(s){return!!~o(this,s,"includes").indexOf(s,arguments.length>1?arguments[1]:void 0)}})},function(r,n,a){var i=a(63),o=a(17);r.exports=function(s,u,l){if(i(u))throw TypeError("String#"+l+" doesn't accept regex!");return String(o(s))}},function(r,n,a){var i=a(5),o=a(20),s=a(0)("match");r.exports=function(u){var l;return i(u)&&((l=u[s])!==void 0?!!l:o(u)=="RegExp")}},function(r,n,a){var i=a(0)("match");r.exports=function(o){var s=/./;try{"/./"[o](s)}catch{try{return s[i]=!1,!"/./"[o](s)}catch{}}return!0}},function(r,n){r.exports=function(a,i){return{value:i,done:!!a}}},function(r,n,a){var i=a(16),o=a(10);a(67)("keys",function(){return function(s){return o(i(s))}})},function(r,n,a){var i=a(2),o=a(7),s=a(9);r.exports=function(u,l){var d=(o.Object||{})[u]||Object[u],c={};c[u]=l(d),i(i.S+i.F*s(function(){d(1)}),"Object",c)}},function(r,n,a){var i=a(2);i(i.S+i.F,"Object",{assign:a(69)})},function(r,n,a){var i=a(10),o=a(32),s=a(21),u=a(16),l=a(25),d=Object.assign;r.exports=!d||a(9)(function(){var c={},m={},f=Symbol(),p="abcdefghijklmnopqrst";return c[f]=7,p.split("").forEach(function(h){m[h]=h}),d({},c)[f]!=7||Object.keys(d({},m)).join("")!=p})?function(c,m){for(var f=u(c),p=arguments.length,h=1,v=o.f,y=s.f;p>h;)for(var b,g=l(arguments[h++]),_=v?i(g).concat(v(g)):i(g),w=_.length,x=0;w>x;)y.call(g,b=_[x++])&&(f[b]=g[b]);return f}:d},function(r,n,a){var i=a(2),o=a(71)(6),s="findIndex",u=!0;s in[]&&Array(1)[s](function(){u=!1}),i(i.P+i.F*u,"Array",{findIndex:function(l){return o(this,l,arguments.length>1?arguments[1]:void 0)}}),a(31)(s)},function(r,n,a){var i=a(24),o=a(25),s=a(16),u=a(26),l=a(72);r.exports=function(d,c){var m=d==1,f=d==2,p=d==3,h=d==4,v=d==6,y=d==5||v,b=c||l;return function(g,_,w){for(var x,k,D=s(g),S=o(D),O=i(_,w,3),C=u(S.length),E=0,T=m?b(g,C):f?b(g,0):void 0;C>E;E++)if((y||E in S)&&(k=O(x=S[E],E,D),d)){if(m)T[E]=k;else if(k)switch(d){case 3:return!0;case 5:return x;case 6:return E;case 2:T.push(x)}else if(h)return!1}return v?-1:p||h?h:T}}},function(r,n,a){var i=a(73);r.exports=function(o,s){return new(i(o))(s)}},function(r,n,a){var i=a(5),o=a(40),s=a(0)("species");r.exports=function(u){var l;return o(u)&&(typeof(l=u.constructor)!="function"||l!==Array&&!o(l.prototype)||(l=void 0),i(l)&&(l=l[s])===null&&(l=void 0)),l===void 0?Array:l}},function(r,n,a){a(41)("asyncIterator")},function(r,n,a){var i=a(1),o=a(6),s=a(8),u=a(2),l=a(19),d=a(76).KEY,c=a(9),m=a(28),f=a(30),p=a(14),h=a(0),v=a(42),y=a(41),b=a(77),g=a(40),_=a(12),w=a(5),x=a(11),k=a(23),D=a(13),S=a(36),O=a(78),C=a(79),E=a(4),T=a(10),$=C.f,I=E.f,W=O.f,U=i.Symbol,M=i.JSON,P=M&&M.stringify,A=h("_hidden"),j=h("toPrimitive"),B={}.propertyIsEnumerable,G=m("symbol-registry"),X=m("symbols"),Q=m("op-symbols"),H=Object.prototype,J=typeof U=="function",fe=i.QObject,xe=!fe||!fe.prototype||!fe.prototype.findChild,Oe=s&&c(function(){return S(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a!=7})?function(V,z,K){var ae=$(H,z);ae&&delete H[z],I(V,z,K),ae&&V!==H&&I(H,z,ae)}:I,Ee=function(V){var z=X[V]=S(U.prototype);return z._k=V,z},Re=J&&typeof U.iterator=="symbol"?function(V){return typeof V=="symbol"}:function(V){return V instanceof U},Be=function(V,z,K){return V===H&&Be(Q,z,K),_(V),z=k(z,!0),_(K),o(X,z)?(K.enumerable?(o(V,A)&&V[A][z]&&(V[A][z]=!1),K=S(K,{enumerable:D(0,!1)})):(o(V,A)||I(V,A,D(1,{})),V[A][z]=!0),Oe(V,z,K)):I(V,z,K)},Tt=function(V,z){_(V);for(var K,ae=b(z=x(z)),he=0,ve=ae.length;ve>he;)Be(V,K=ae[he++],z[K]);return V},it=function(V){var z=B.call(this,V=k(V,!0));return!(this===H&&o(X,V)&&!o(Q,V))&&(!(z||!o(this,V)||!o(X,V)||o(this,A)&&this[A][V])||z)},Qe=function(V,z){if(V=x(V),z=k(z,!0),V!==H||!o(X,z)||o(Q,z)){var K=$(V,z);return!K||!o(X,z)||o(V,A)&&V[A][z]||(K.enumerable=!0),K}},Xe=function(V){for(var z,K=W(x(V)),ae=[],he=0;K.length>he;)o(X,z=K[he++])||z==A||z==d||ae.push(z);return ae},Bt=function(V){for(var z,K=V===H,ae=W(K?Q:x(V)),he=[],ve=0;ae.length>ve;)!o(X,z=ae[ve++])||K&&!o(H,z)||he.push(X[z]);return he};J||(l((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor!");var V=p(arguments.length>0?arguments[0]:void 0),z=function(K){this===H&&z.call(Q,K),o(this,A)&&o(this[A],V)&&(this[A][V]=!1),Oe(this,V,D(1,K))};return s&&xe&&Oe(H,V,{configurable:!0,set:z}),Ee(V)}).prototype,"toString",function(){return this._k}),C.f=Qe,E.f=Be,a(43).f=O.f=Xe,a(21).f=it,a(32).f=Bt,s&&!a(18)&&l(H,"propertyIsEnumerable",it,!0),v.f=function(V){return Ee(h(V))}),u(u.G+u.W+u.F*!J,{Symbol:U});for(var Fr="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),jt=0;Fr.length>jt;)h(Fr[jt++]);for(var jr=T(h.store),R=0;jr.length>R;)y(jr[R++]);u(u.S+u.F*!J,"Symbol",{for:function(V){return o(G,V+="")?G[V]:G[V]=U(V)},keyFor:function(V){if(!Re(V))throw TypeError(V+" is not a symbol!");for(var z in G)if(G[z]===V)return z},useSetter:function(){xe=!0},useSimple:function(){xe=!1}}),u(u.S+u.F*!J,"Object",{create:function(V,z){return z===void 0?S(V):Tt(S(V),z)},defineProperty:Be,defineProperties:Tt,getOwnPropertyDescriptor:Qe,getOwnPropertyNames:Xe,getOwnPropertySymbols:Bt}),M&&u(u.S+u.F*(!J||c(function(){var V=U();return P([V])!="[null]"||P({a:V})!="{}"||P(Object(V))!="{}"})),"JSON",{stringify:function(V){for(var z,K,ae=[V],he=1;arguments.length>he;)ae.push(arguments[he++]);if(K=z=ae[1],(w(z)||V!==void 0)&&!Re(V))return g(z)||(z=function(ve,Pe){if(typeof K=="function"&&(Pe=K.call(this,ve,Pe)),!Re(Pe))return Pe}),ae[1]=z,P.apply(M,ae)}}),U.prototype[j]||a(3)(U.prototype,j,U.prototype.valueOf),f(U,"Symbol"),f(Math,"Math",!0),f(i.JSON,"JSON",!0)},function(r,n,a){var i=a(14)("meta"),o=a(5),s=a(6),u=a(4).f,l=0,d=Object.isExtensible||function(){return!0},c=!a(9)(function(){return d(Object.preventExtensions({}))}),m=function(p){u(p,i,{value:{i:"O"+ ++l,w:{}}})},f=r.exports={KEY:i,NEED:!1,fastKey:function(p,h){if(!o(p))return typeof p=="symbol"?p:(typeof p=="string"?"S":"P")+p;if(!s(p,i)){if(!d(p))return"F";if(!h)return"E";m(p)}return p[i].i},getWeak:function(p,h){if(!s(p,i)){if(!d(p))return!0;if(!h)return!1;m(p)}return p[i].w},onFreeze:function(p){return c&&f.NEED&&d(p)&&!s(p,i)&&m(p),p}}},function(r,n,a){var i=a(10),o=a(32),s=a(21);r.exports=function(u){var l=i(u),d=o.f;if(d)for(var c,m=d(u),f=s.f,p=0;m.length>p;)f.call(u,c=m[p++])&&l.push(c);return l}},function(r,n,a){var i=a(11),o=a(43).f,s={}.toString,u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];r.exports.f=function(l){return u&&s.call(l)=="[object Window]"?function(d){try{return o(d)}catch{return u.slice()}}(l):o(i(l))}},function(r,n,a){var i=a(21),o=a(13),s=a(11),u=a(23),l=a(6),d=a(34),c=Object.getOwnPropertyDescriptor;n.f=a(8)?c:function(m,f){if(m=s(m),f=u(f,!0),d)try{return c(m,f)}catch{}if(l(m,f))return o(!i.f.call(m,f),m[f])}},function(r,n,a){for(var i=a(39),o=a(10),s=a(19),u=a(1),l=a(3),d=a(15),c=a(0),m=c("iterator"),f=c("toStringTag"),p=d.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=o(h),y=0;y<v.length;y++){var b,g=v[y],_=h[g],w=u[g],x=w&&w.prototype;if(x&&(x[m]||l(x,m,p),x[f]||l(x,f,g),d[g]=p,_))for(b in i)x[b]||s(x,b,i[b],!0)}}]).default})})(jq);const s3e=Z(jq.exports),u3e={property:["height","width"],transition:"height 150ms cubic-bezier(0.175, 0.885, 0.32, 1), width .25s ease-out, transform 150ms cubic-bezier(0.175, 0.885, 0.32, 1)"},l3e={name:"Animation",mixins:[s3e],props:{tag:{type:String,default:"div"},options:{type:Object,default:null}},mounted(){this.$smoothReflow({...u3e,...this.options})}};var d3e=function(){var e=this,r=e._self._c;return r(e.tag,{tag:"component"},[e._t("default")],2)},c3e=[],f3e=we(l3e,d3e,c3e,!1,null,null,null,null);const Vk=f3e.exports;function m3e(t){String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)},ie.use(Pw,{disposeTimeout:100,defaultDelay:300,defaultContainer:t.parentElement}),ie.use(bj,{dynamic:!0,injectModalsContainer:!1,dynamicDefaults:{transition:"no-animation"}}),ie.prototype.$modal.getOpenInstances=()=>{const{_dynamicContainer:r}=bj.rootInstance||{};if(!r||r.modals.length===0)return[];const{modals:n}=r;return n},ie.prototype.$view="widget",ie.use(Ale),ie.use(Lde),ie.component(pp.name,pp),ie.component(ud.name,ud),ie.component(ld.name,ld),ie.component(hp.name,hp),ie.component(Vk.name,Vk),ge.debug&&(ie.config.productionTip=!1,ie.config.devtools=!0,ie.config.performance=!0);const e=new ie({el:t,router:vs,store:It,i18n:ce,render:r=>r(b5e)});return vs.beforeEach((r,n,a)=>(vs.resolve({...r}).href==="/"&&(si.open=!1),a())),e}const Pvt="",kvt="",Tvt="",Evt="",Mvt="",Svt="";function p3e(t,e){Object.entries(t).forEach(([r,n])=>{var a,i;(i=(a=e==null?void 0:e.style)==null?void 0:a.setProperty)==null||i.call(a,r,n)})}let Vq;const Uq={initialized:!1,app:null,_rootId:null,init(t={}){var a;if(this.initialized)return;this._rootId=`${t.LIB_NAME}-shadow`;const e=document.createElement("div"),r=document.createElement("div"),n=document.createElement("div");e.setAttribute("id",this._rootId),e.style.zIndex=1001,e.style.position="fixed",r.setAttribute("id",`${this._rootId}-child`),(a=t.ui)!=null&&a.vars&&p3e(t.ui.vars,r),e.appendChild(r);{const i=document.getElementById("CLING_WIDGET_STYLE");i.disabled=!1,r.appendChild(i),r.appendChild(n),e.attachShadow({mode:"open"}).appendChild(r),document.body.appendChild(e)}Fe.setPrefix("cling-"),this.app=m3e(n),this.initialized=!0},get store(){var t;return(t=this.app)==null?void 0:t.$store},get router(){var t;return(t=this.app)==null?void 0:t.$router},async test(){this.init(),await this.auth({email:"widget-demo@cling.se",password:"Widgettest123"});const t=await this.document.get("636b4befc434aa77b09349b3");t.ui.sendReminder.open(),Vq=t.ui.sendReminder.open},openDrawer(){Vq()},async test2(){this.init(),await this.auth({email:"widget-demo@cling.se",password:"Widgettest123"});const t=await Uq.document.new();t.ui.send.open(),t.on("save",e=>{console.log("running event cb fn for document:save"),console.log(e)})},async auth({method:t="standard",email:e,password:r,authToken:n}){var o,s;let i;return t==="standard"?i=await((o=this.store)==null?void 0:o.dispatch("application/LOGIN_USER",{email:e,password:r,doRedirect:!1})):t==="authToken"&&(i=await((s=this.store)==null?void 0:s.dispatch("application/LOGIN_AUTH_TOKEN",{authToken:n,doRedirect:!1}))),i},destroy(){var t,e;this.app.$destroy(),(e=(t=document.getElementById(this._rootId))==null?void 0:t.remove)==null||e.call(t)},...Dje},h3e=Object.freeze(Object.defineProperty({__proto__:null,default:Uq},Symbol.toStringTag,{value:"Module"}));var vp=function(t){return t&&t.Math==Math&&t},zt=vp(typeof globalThis=="object"&&globalThis)||vp(typeof window=="object"&&window)||vp(typeof self=="object"&&self)||vp(typeof Ae=="object"&&Ae)||function(){return this}()||Function("return this")(),Uk={},pt=function(t){try{return!!t()}catch{return!0}},v3e=pt,fn=!v3e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),g3e=pt,gp=!g3e(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),y3e=gp,yp=Function.prototype.call,Yr=y3e?yp.bind(yp):function(){return yp.apply(yp,arguments)},zk={},zq={}.propertyIsEnumerable,Bq=Object.getOwnPropertyDescriptor,_3e=Bq&&!zq.call({1:2},1);zk.f=_3e?function(e){var r=Bq(this,e);return!!r&&r.enumerable}:zq;var _p=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},Hq=gp,qq=Function.prototype,Bk=qq.call,b3e=Hq&&qq.bind.bind(Bk,Bk),Yq=Hq?b3e:function(t){return function(){return Bk.apply(t,arguments)}},Gq=Yq,w3e=Gq({}.toString),x3e=Gq("".slice),di=function(t){return x3e(w3e(t),8,-1)},P3e=di,k3e=Yq,bt=function(t){if(P3e(t)==="Function")return k3e(t)},T3e=bt,E3e=pt,M3e=di,Hk=Object,S3e=T3e("".split),bp=E3e(function(){return!Hk("z").propertyIsEnumerable(0)})?function(t){return M3e(t)=="String"?S3e(t,""):Hk(t)}:Hk,yo=function(t){return t==null},O3e=yo,C3e=TypeError,ru=function(t){if(O3e(t))throw C3e("Can't call method on "+t);return t},D3e=bp,$3e=ru,nu=function(t){return D3e($3e(t))},qk=typeof document=="object"&&document.all,A3e=typeof qk>"u"&&qk!==void 0,Kq={all:qk,IS_HTMLDDA:A3e},Xq=Kq,R3e=Xq.all,Nt=Xq.IS_HTMLDDA?function(t){return typeof t=="function"||t===R3e}:function(t){return typeof t=="function"},Jq=Nt,Qq=Kq,I3e=Qq.all,yr=Qq.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:Jq(t)||t===I3e}:function(t){return typeof t=="object"?t!==null:Jq(t)},Yk=zt,N3e=Nt,L3e=function(t){return N3e(t)?t:void 0},dd=function(t,e){return arguments.length<2?L3e(Yk[t]):Yk[t]&&Yk[t][e]},W3e=bt,Gk=W3e({}.isPrototypeOf),F3e=dd,j3e=F3e("navigator","userAgent")||"",Zq=zt,Kk=j3e,e6=Zq.process,t6=Zq.Deno,r6=e6&&e6.versions||t6&&t6.version,n6=r6&&r6.v8,mn,wp;n6&&(mn=n6.split("."),wp=mn[0]>0&&mn[0]<4?1:+(mn[0]+mn[1])),!wp&&Kk&&(mn=Kk.match(/Edge\/(\d+)/),(!mn||mn[1]>=74)&&(mn=Kk.match(/Chrome\/(\d+)/),mn&&(wp=+mn[1])));var xp=wp,a6=xp,V3e=pt,i6=!!Object.getOwnPropertySymbols&&!V3e(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&a6&&a6<41}),U3e=i6,o6=U3e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",z3e=dd,B3e=Nt,H3e=Gk,q3e=o6,Y3e=Object,s6=q3e?function(t){return typeof t=="symbol"}:function(t){var e=z3e("Symbol");return B3e(e)&&H3e(e.prototype,Y3e(t))},G3e=String,Xk=function(t){try{return G3e(t)}catch{return"Object"}},K3e=Nt,X3e=Xk,J3e=TypeError,Pp=function(t){if(K3e(t))return t;throw J3e(X3e(t)+" is not a function")},Q3e=Pp,Z3e=yo,cd=function(t,e){var r=t[e];return Z3e(r)?void 0:Q3e(r)},Jk=Yr,Qk=Nt,Zk=yr,eVe=TypeError,tVe=function(t,e){var r,n;if(e==="string"&&Qk(r=t.toString)&&!Zk(n=Jk(r,t))||Qk(r=t.valueOf)&&!Zk(n=Jk(r,t))||e!=="string"&&Qk(r=t.toString)&&!Zk(n=Jk(r,t)))return n;throw eVe("Can't convert object to primitive value")},kp={exports:{}},u6=zt,rVe=Object.defineProperty,eT=function(t,e){try{rVe(u6,t,{value:e,configurable:!0,writable:!0})}catch{u6[t]=e}return e},nVe=zt,aVe=eT,l6="__core-js_shared__",iVe=nVe[l6]||aVe(l6,{}),tT=iVe,d6=tT;(kp.exports=function(t,e){return d6[t]||(d6[t]=e!==void 0?e:{})})("versions",[]).push({version:"3.26.0",mode:"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"});var oVe=ru,sVe=Object,_o=function(t){return sVe(oVe(t))},uVe=bt,lVe=_o,dVe=uVe({}.hasOwnProperty),pn=Object.hasOwn||function(e,r){return dVe(lVe(e),r)},cVe=bt,fVe=0,mVe=Math.random(),pVe=cVe(1 .toString),rT=function(t){return"Symbol("+(t===void 0?"":t)+")_"+pVe(++fVe+mVe,36)},hVe=zt,vVe=kp.exports,c6=pn,gVe=rT,f6=i6,m6=o6,au=vVe("wks"),bo=hVe.Symbol,p6=bo&&bo.for,yVe=m6?bo:bo&&bo.withoutSetter||gVe,ar=function(t){if(!c6(au,t)||!(f6||typeof au[t]=="string")){var e="Symbol."+t;f6&&c6(bo,t)?au[t]=bo[t]:m6&&p6?au[t]=p6(e):au[t]=yVe(e)}return au[t]},_Ve=Yr,h6=yr,v6=s6,bVe=cd,wVe=tVe,xVe=ar,PVe=TypeError,kVe=xVe("toPrimitive"),TVe=function(t,e){if(!h6(t)||v6(t))return t;var r=bVe(t,kVe),n;if(r){if(e===void 0&&(e="default"),n=_Ve(r,t,e),!h6(n)||v6(n))return n;throw PVe("Can't convert object to primitive value")}return e===void 0&&(e="number"),wVe(t,e)},EVe=TVe,MVe=s6,nT=function(t){var e=EVe(t,"string");return MVe(e)?e:e+""},SVe=zt,g6=yr,aT=SVe.document,OVe=g6(aT)&&g6(aT.createElement),iT=function(t){return OVe?aT.createElement(t):{}},CVe=fn,DVe=pt,$Ve=iT,y6=!CVe&&!DVe(function(){return Object.defineProperty($Ve("div"),"a",{get:function(){return 7}}).a!=7}),AVe=fn,RVe=Yr,IVe=zk,NVe=_p,LVe=nu,WVe=nT,FVe=pn,jVe=y6,_6=Object.getOwnPropertyDescriptor;Uk.f=AVe?_6:function(e,r){if(e=LVe(e),r=WVe(r),jVe)try{return _6(e,r)}catch{}if(FVe(e,r))return NVe(!RVe(IVe.f,e,r),e[r])};var hn={},VVe=fn,UVe=pt,b6=VVe&&UVe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),zVe=yr,BVe=String,HVe=TypeError,Nr=function(t){if(zVe(t))return t;throw HVe(BVe(t)+" is not an object")},qVe=fn,YVe=y6,GVe=b6,Tp=Nr,w6=nT,KVe=TypeError,oT=Object.defineProperty,XVe=Object.getOwnPropertyDescriptor,sT="enumerable",uT="configurable",lT="writable";hn.f=qVe?GVe?function(e,r,n){if(Tp(e),r=w6(r),Tp(n),typeof e=="function"&&r==="prototype"&&"value"in n&&lT in n&&!n[lT]){var a=XVe(e,r);a&&a[lT]&&(e[r]=n.value,n={configurable:uT in n?n[uT]:a[uT],enumerable:sT in n?n[sT]:a[sT],writable:!1})}return oT(e,r,n)}:oT:function(e,r,n){if(Tp(e),r=w6(r),Tp(n),YVe)try{return oT(e,r,n)}catch{}if("get"in n||"set"in n)throw KVe("Accessors not supported");return"value"in n&&(e[r]=n.value),e};var JVe=fn,QVe=hn,ZVe=_p,iu=JVe?function(t,e,r){return QVe.f(t,e,ZVe(1,r))}:function(t,e,r){return t[e]=r,t},x6={exports:{}},dT=fn,e4e=pn,P6=Function.prototype,t4e=dT&&Object.getOwnPropertyDescriptor,cT=e4e(P6,"name"),r4e=cT&&function(){}.name==="something",n4e=cT&&(!dT||dT&&t4e(P6,"name").configurable),fT={EXISTS:cT,PROPER:r4e,CONFIGURABLE:n4e},a4e=bt,i4e=Nt,mT=tT,o4e=a4e(Function.toString);i4e(mT.inspectSource)||(mT.inspectSource=function(t){return o4e(t)});var k6=mT.inspectSource,s4e=zt,u4e=Nt,T6=s4e.WeakMap,E6=u4e(T6)&&/native code/.test(String(T6)),l4e=kp.exports,d4e=rT,M6=l4e("keys"),pT=function(t){return M6[t]||(M6[t]=d4e(t))},Ep={},c4e=E6,S6=zt,f4e=yr,m4e=iu,hT=pn,vT=tT,p4e=pT,h4e=Ep,O6="Object already initialized",gT=S6.TypeError,v4e=S6.WeakMap,Mp,fd,Sp,g4e=function(t){return Sp(t)?fd(t):Mp(t,{})},y4e=function(t){return function(e){var r;if(!f4e(e)||(r=fd(e)).type!==t)throw gT("Incompatible receiver, "+t+" required");return r}};if(c4e||vT.state){var jn=vT.state||(vT.state=new v4e);jn.get=jn.get,jn.has=jn.has,jn.set=jn.set,Mp=function(t,e){if(jn.has(t))throw gT(O6);return e.facade=t,jn.set(t,e),e},fd=function(t){return jn.get(t)||{}},Sp=function(t){return jn.has(t)}}else{var ou=p4e("state");h4e[ou]=!0,Mp=function(t,e){if(hT(t,ou))throw gT(O6);return e.facade=t,m4e(t,ou,e),e},fd=function(t){return hT(t,ou)?t[ou]:{}},Sp=function(t){return hT(t,ou)}}var su={set:Mp,get:fd,has:Sp,enforce:g4e,getterFor:y4e},_4e=pt,b4e=Nt,Op=pn,yT=fn,w4e=fT.CONFIGURABLE,x4e=k6,C6=su,P4e=C6.enforce,k4e=C6.get,Cp=Object.defineProperty,T4e=yT&&!_4e(function(){return Cp(function(){},"length",{value:8}).length!==8}),E4e=String(String).split("String"),M4e=x6.exports=function(t,e,r){String(e).slice(0,7)==="Symbol("&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Op(t,"name")||w4e&&t.name!==e)&&(yT?Cp(t,"name",{value:e,configurable:!0}):t.name=e),T4e&&r&&Op(r,"arity")&&t.length!==r.arity&&Cp(t,"length",{value:r.arity});try{r&&Op(r,"constructor")&&r.constructor?yT&&Cp(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var n=P4e(t);return Op(n,"source")||(n.source=E4e.join(typeof e=="string"?e:"")),t};Function.prototype.toString=M4e(function(){return b4e(this)&&k4e(this).source||x4e(this)},"toString");var S4e=Nt,O4e=hn,C4e=x6.exports,D4e=eT,wo=function(t,e,r,n){n||(n={});var a=n.enumerable,i=n.name!==void 0?n.name:e;if(S4e(r)&&C4e(r,i,n),n.global)a?t[e]=r:D4e(e,r);else{try{n.unsafe?t[e]&&(a=!0):delete t[e]}catch{}a?t[e]=r:O4e.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},Dp={},$4e=Math.ceil,A4e=Math.floor,R4e=Math.trunc||function(e){var r=+e;return(r>0?A4e:$4e)(r)},I4e=R4e,$p=function(t){var e=+t;return e!==e||e===0?0:I4e(e)},N4e=$p,L4e=Math.max,W4e=Math.min,D6=function(t,e){var r=N4e(t);return r<0?L4e(r+e,0):W4e(r,e)},F4e=$p,j4e=Math.min,_T=function(t){return t>0?j4e(F4e(t),9007199254740991):0},V4e=_T,uu=function(t){return V4e(t.length)},U4e=nu,z4e=D6,B4e=uu,$6=function(t){return function(e,r,n){var a=U4e(e),i=B4e(a),o=z4e(n,i),s;if(t&&r!=r){for(;i>o;)if(s=a[o++],s!=s)return!0}else for(;i>o;o++)if((t||o in a)&&a[o]===r)return t||o||0;return!t&&-1}},H4e={includes:$6(!0),indexOf:$6(!1)},q4e=bt,bT=pn,Y4e=nu,G4e=H4e.indexOf,K4e=Ep,A6=q4e([].push),R6=function(t,e){var r=Y4e(t),n=0,a=[],i;for(i in r)!bT(K4e,i)&&bT(r,i)&&A6(a,i);for(;e.length>n;)bT(r,i=e[n++])&&(~G4e(a,i)||A6(a,i));return a},wT=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],X4e=R6,J4e=wT,Q4e=J4e.concat("length","prototype");Dp.f=Object.getOwnPropertyNames||function(e){return X4e(e,Q4e)};var xT={};xT.f=Object.getOwnPropertySymbols;var Z4e=dd,eUe=bt,tUe=Dp,rUe=xT,nUe=Nr,aUe=eUe([].concat),iUe=Z4e("Reflect","ownKeys")||function(e){var r=tUe.f(nUe(e)),n=rUe.f;return n?aUe(r,n(e)):r},I6=pn,oUe=iUe,sUe=Uk,uUe=hn,lUe=function(t,e,r){for(var n=oUe(e),a=uUe.f,i=sUe.f,o=0;o<n.length;o++){var s=n[o];!I6(t,s)&&!(r&&I6(r,s))&&a(t,s,i(e,s))}},dUe=pt,cUe=Nt,fUe=/#|\.prototype\./,md=function(t,e){var r=pUe[mUe(t)];return r==vUe?!0:r==hUe?!1:cUe(e)?dUe(e):!!e},mUe=md.normalize=function(t){return String(t).replace(fUe,".").toLowerCase()},pUe=md.data={},hUe=md.NATIVE="N",vUe=md.POLYFILL="P",N6=md,PT=zt,gUe=Uk.f,yUe=iu,_Ue=wo,bUe=eT,wUe=lUe,xUe=N6,pa=function(t,e){var r=t.target,n=t.global,a=t.stat,i,o,s,u,l,d;if(n?o=PT:a?o=PT[r]||bUe(r,{}):o=(PT[r]||{}).prototype,o)for(s in e){if(l=e[s],t.dontCallGetSet?(d=gUe(o,s),u=d&&d.value):u=o[s],i=xUe(n?s:r+(a?".":"#")+s,t.forced),!i&&u!==void 0){if(typeof l==typeof u)continue;wUe(l,u)}(t.sham||u&&u.sham)&&yUe(l,"sham",!0),_Ue(o,s,l,t)}},PUe=R6,kUe=wT,L6=Object.keys||function(e){return PUe(e,kUe)},W6=fn,TUe=bt,EUe=Yr,MUe=pt,kT=L6,SUe=xT,OUe=zk,CUe=_o,DUe=bp,lu=Object.assign,F6=Object.defineProperty,$Ue=TUe([].concat),AUe=!lu||MUe(function(){if(W6&&lu({b:1},lu(F6({},"a",{enumerable:!0,get:function(){F6(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(a){e[a]=a}),lu({},t)[r]!=7||kT(lu({},e)).join("")!=n})?function(e,r){for(var n=CUe(e),a=arguments.length,i=1,o=SUe.f,s=OUe.f;a>i;)for(var u=DUe(arguments[i++]),l=o?$Ue(kT(u),o(u)):kT(u),d=l.length,c=0,m;d>c;)m=l[c++],(!W6||EUe(s,u,m))&&(n[m]=u[m]);return n}:lu,RUe=pa,j6=AUe;RUe({target:"Object",stat:!0,arity:2,forced:Object.assign!==j6},{assign:j6});var IUe=di,V6=Array.isArray||function(e){return IUe(e)=="Array"},NUe=TypeError,LUe=9007199254740991,WUe=function(t){if(t>LUe)throw NUe("Maximum allowed index exceeded");return t},FUe=nT,jUe=hn,VUe=_p,U6=function(t,e,r){var n=FUe(e);n in t?jUe.f(t,n,VUe(0,r)):t[n]=r},UUe=ar,zUe=UUe("toStringTag"),z6={};z6[zUe]="z";var TT=String(z6)==="[object z]",BUe=TT,HUe=Nt,Ap=di,qUe=ar,YUe=qUe("toStringTag"),GUe=Object,KUe=Ap(function(){return arguments}())=="Arguments",XUe=function(t,e){try{return t[e]}catch{}},Rp=BUe?Ap:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=XUe(e=GUe(t),YUe))=="string"?r:KUe?Ap(e):(n=Ap(e))=="Object"&&HUe(e.callee)?"Arguments":n},JUe=bt,QUe=pt,B6=Nt,ZUe=Rp,eze=dd,tze=k6,H6=function(){},rze=[],q6=eze("Reflect","construct"),ET=/^\s*(?:class|function)\b/,nze=JUe(ET.exec),aze=!ET.exec(H6),pd=function(e){if(!B6(e))return!1;try{return q6(H6,rze,e),!0}catch{return!1}},Y6=function(e){if(!B6(e))return!1;switch(ZUe(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return aze||!!nze(ET,tze(e))}catch{return!0}};Y6.sham=!0;var ize=!q6||QUe(function(){var t;return pd(pd.call)||!pd(Object)||!pd(function(){t=!0})||t})?Y6:pd,G6=V6,oze=ize,sze=yr,uze=ar,lze=uze("species"),K6=Array,dze=function(t){var e;return G6(t)&&(e=t.constructor,oze(e)&&(e===K6||G6(e.prototype))?e=void 0:sze(e)&&(e=e[lze],e===null&&(e=void 0))),e===void 0?K6:e},cze=dze,X6=function(t,e){return new(cze(t))(e===0?0:e)},fze=pt,mze=ar,pze=xp,hze=mze("species"),J6=function(t){return pze>=51||!fze(function(){var e=[],r=e.constructor={};return r[hze]=function(){return{foo:1}},e[t](Boolean).foo!==1})},vze=pa,gze=pt,yze=V6,_ze=yr,bze=_o,wze=uu,Q6=WUe,Z6=U6,xze=X6,Pze=J6,kze=ar,Tze=xp,eY=kze("isConcatSpreadable"),Eze=Tze>=51||!gze(function(){var t=[];return t[eY]=!1,t.concat()[0]!==t}),Mze=Pze("concat"),Sze=function(t){if(!_ze(t))return!1;var e=t[eY];return e!==void 0?!!e:yze(t)},Oze=!Eze||!Mze;vze({target:"Array",proto:!0,arity:1,forced:Oze},{concat:function(e){var r=bze(this),n=xze(r,0),a=0,i,o,s,u,l;for(i=-1,s=arguments.length;i<s;i++)if(l=i===-1?r:arguments[i],Sze(l))for(u=wze(l),Q6(a+u),o=0;o<u;o++,a++)o in l&&Z6(n,a,l[o]);else Q6(a+1),Z6(n,a++,l);return n.length=a,n}});var Cze=TT,Dze=Rp,$ze=Cze?{}.toString:function(){return"[object "+Dze(this)+"]"},Aze=TT,Rze=wo,Ize=$ze;Aze||Rze(Object.prototype,"toString",Ize,{unsafe:!0});var tY={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Nze=iT,MT=Nze("span").classList,rY=MT&&MT.constructor&&MT.constructor.prototype,nY=rY===Object.prototype?void 0:rY,aY=bt,Lze=Pp,Wze=gp,Fze=aY(aY.bind),iY=function(t,e){return Lze(t),e===void 0?t:Wze?Fze(t,e):function(){return t.apply(e,arguments)}},jze=iY,Vze=bt,Uze=bp,zze=_o,Bze=uu,Hze=X6,oY=Vze([].push),ci=function(t){var e=t==1,r=t==2,n=t==3,a=t==4,i=t==6,o=t==7,s=t==5||i;return function(u,l,d,c){for(var m=zze(u),f=Uze(m),p=jze(l,d),h=Bze(f),v=0,y=c||Hze,b=e?y(u,h):r||o?y(u,0):void 0,g,_;h>v;v++)if((s||v in f)&&(g=f[v],_=p(g,v,m),t))if(e)b[v]=_;else if(_)switch(t){case 3:return!0;case 5:return g;case 6:return v;case 2:oY(b,g)}else switch(t){case 4:return!1;case 7:oY(b,g)}return i?-1:n||a?a:b}},ST={forEach:ci(0),map:ci(1),filter:ci(2),some:ci(3),every:ci(4),find:ci(5),findIndex:ci(6),filterReject:ci(7)},qze=pt,sY=function(t,e){var r=[][t];return!!r&&qze(function(){r.call(null,e||function(){return 1},1)})},Yze=ST.forEach,Gze=sY,Kze=Gze("forEach"),Xze=Kze?[].forEach:function(e){return Yze(this,e,arguments.length>1?arguments[1]:void 0)},uY=zt,lY=tY,Jze=nY,OT=Xze,Qze=iu,dY=function(t){if(t&&t.forEach!==OT)try{Qze(t,"forEach",OT)}catch{t.forEach=OT}};for(var CT in lY)lY[CT]&&dY(uY[CT]&&uY[CT].prototype);dY(Jze);var Zze=!!(typeof window<"u"&&window.document&&window.document.createElement),DT=Zze,eBe=Rp,tBe=String,xo=function(t){if(eBe(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return tBe(t)},cY=`
550
550
  \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,rBe=bt,nBe=ru,aBe=xo,iBe=cY,fY=rBe("".replace),Ip="["+iBe+"]",oBe=RegExp("^"+Ip+Ip+"*"),sBe=RegExp(Ip+Ip+"*$"),$T=function(t){return function(e){var r=aBe(nBe(e));return t&1&&(r=fY(r,oBe,"")),t&2&&(r=fY(r,sBe,"")),r}},uBe={start:$T(1),end:$T(2),trim:$T(3)},mY=zt,lBe=pt,dBe=bt,cBe=xo,fBe=uBe.trim,pY=cY,hd=mY.parseInt,hY=mY.Symbol,vY=hY&&hY.iterator,gY=/^[+-]?0x/i,mBe=dBe(gY.exec),pBe=hd(pY+"08")!==8||hd(pY+"0x16")!==22||vY&&!lBe(function(){hd(Object(vY))}),hBe=pBe?function(e,r){var n=fBe(cBe(e));return hd(n,r>>>0||(mBe(gY,n)?16:10))}:hd,vBe=pa,yY=hBe;vBe({global:!0,forced:parseInt!=yY},{parseInt:yY});var gBe=pa,yBe=ST.filter,_Be=J6,bBe=_Be("filter");gBe({target:"Array",proto:!0,forced:!bBe},{filter:function(e){return yBe(this,e,arguments.length>1?arguments[1]:void 0)}});var _Y={},wBe=fn,xBe=b6,PBe=hn,kBe=Nr,TBe=nu,EBe=L6;_Y.f=wBe&&!xBe?Object.defineProperties:function(e,r){kBe(e);for(var n=TBe(r),a=EBe(r),i=a.length,o=0,s;i>o;)PBe.f(e,s=a[o++],n[s]);return e};var MBe=dd,SBe=MBe("document","documentElement"),OBe=Nr,CBe=_Y,bY=wT,DBe=Ep,$Be=SBe,ABe=iT,RBe=pT,wY=">",xY="<",AT="prototype",RT="script",PY=RBe("IE_PROTO"),IT=function(){},kY=function(t){return xY+RT+wY+t+xY+"/"+RT+wY},TY=function(t){t.write(kY("")),t.close();var e=t.parentWindow.Object;return t=null,e},IBe=function(){var t=ABe("iframe"),e="java"+RT+":",r;return t.style.display="none",$Be.appendChild(t),t.src=String(e),r=t.contentWindow.document,r.open(),r.write(kY("document.F=Object")),r.close(),r.F},Np,Lp=function(){try{Np=new ActiveXObject("htmlfile")}catch{}Lp=typeof document<"u"?document.domain&&Np?TY(Np):IBe():TY(Np);for(var t=bY.length;t--;)delete Lp[AT][bY[t]];return Lp()};DBe[PY]=!0;var NT=Object.create||function(e,r){var n;return e!==null?(IT[AT]=OBe(e),n=new IT,IT[AT]=null,n[PY]=e):n=Lp(),r===void 0?n:CBe.f(n,r)},NBe=ar,LBe=NT,WBe=hn.f,LT=NBe("unscopables"),WT=Array.prototype;WT[LT]==null&&WBe(WT,LT,{configurable:!0,value:LBe(null)});var FBe=function(t){WT[LT][t]=!0},vd={},jBe=pt,VBe=!jBe(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),UBe=pn,zBe=Nt,BBe=_o,HBe=pT,qBe=VBe,EY=HBe("IE_PROTO"),FT=Object,YBe=FT.prototype,MY=qBe?FT.getPrototypeOf:function(t){var e=BBe(t);if(UBe(e,EY))return e[EY];var r=e.constructor;return zBe(r)&&e instanceof r?r.prototype:e instanceof FT?YBe:null},GBe=pt,KBe=Nt,XBe=yr,SY=MY,JBe=wo,QBe=ar,jT=QBe("iterator"),OY=!1,Po,VT,UT;[].keys&&(UT=[].keys(),"next"in UT?(VT=SY(SY(UT)),VT!==Object.prototype&&(Po=VT)):OY=!0);var ZBe=!XBe(Po)||GBe(function(){var t={};return Po[jT].call(t)!==t});ZBe&&(Po={}),KBe(Po[jT])||JBe(Po,jT,function(){return this});var CY={IteratorPrototype:Po,BUGGY_SAFARI_ITERATORS:OY},e7e=hn.f,t7e=pn,r7e=ar,DY=r7e("toStringTag"),zT=function(t,e,r){t&&!r&&(t=t.prototype),t&&!t7e(t,DY)&&e7e(t,DY,{configurable:!0,value:e})},n7e=CY.IteratorPrototype,a7e=NT,i7e=_p,o7e=zT,s7e=vd,u7e=function(){return this},l7e=function(t,e,r,n){var a=e+" Iterator";return t.prototype=a7e(n7e,{next:i7e(+!n,r)}),o7e(t,a,!1),s7e[a]=u7e,t},d7e=Nt,c7e=String,f7e=TypeError,m7e=function(t){if(typeof t=="object"||d7e(t))return t;throw f7e("Can't set "+c7e(t)+" as a prototype")},p7e=bt,h7e=Nr,v7e=m7e,$Y=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,e={},r;try{r=p7e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(e,[]),t=e instanceof Array}catch{}return function(a,i){return h7e(a),v7e(i),t?r(a,i):a.__proto__=i,a}}():void 0),g7e=pa,y7e=Yr,AY=fT,_7e=Nt,b7e=l7e,RY=MY,IY=$Y,w7e=zT,x7e=iu,BT=wo,P7e=ar,k7e=vd,NY=CY,T7e=AY.PROPER,E7e=AY.CONFIGURABLE,LY=NY.IteratorPrototype,Wp=NY.BUGGY_SAFARI_ITERATORS,gd=P7e("iterator"),WY="keys",yd="values",FY="entries",M7e=function(){return this},jY=function(t,e,r,n,a,i,o){b7e(r,e,n);var s=function(y){if(y===a&&m)return m;if(!Wp&&y in d)return d[y];switch(y){case WY:return function(){return new r(this,y)};case yd:return function(){return new r(this,y)};case FY:return function(){return new r(this,y)}}return function(){return new r(this)}},u=e+" Iterator",l=!1,d=t.prototype,c=d[gd]||d["@@iterator"]||a&&d[a],m=!Wp&&c||s(a),f=e=="Array"&&d.entries||c,p,h,v;if(f&&(p=RY(f.call(new t)),p!==Object.prototype&&p.next&&(RY(p)!==LY&&(IY?IY(p,LY):_7e(p[gd])||BT(p,gd,M7e)),w7e(p,u,!0))),T7e&&a==yd&&c&&c.name!==yd&&(E7e?x7e(d,"name",yd):(l=!0,m=function(){return y7e(c,this)})),a)if(h={values:s(yd),keys:i?m:s(WY),entries:s(FY)},o)for(v in h)(Wp||l||!(v in d))&&BT(d,v,h[v]);else g7e({target:e,proto:!0,forced:Wp||l},h);return d[gd]!==m&&BT(d,gd,m,{name:a}),k7e[e]=m,h},VY=function(t,e){return{value:t,done:e}},S7e=nu,HT=FBe,UY=vd,zY=su,O7e=hn.f,C7e=jY,Fp=VY,D7e=fn,BY="Array Iterator",$7e=zY.set,A7e=zY.getterFor(BY),R7e=C7e(Array,"Array",function(t,e){$7e(this,{type:BY,target:S7e(t),index:0,kind:e})},function(){var t=A7e(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,Fp(void 0,!0)):r=="keys"?Fp(n,!1):r=="values"?Fp(e[n],!1):Fp([n,e[n]],!1)},"values"),HY=UY.Arguments=UY.Array;if(HT("keys"),HT("values"),HT("entries"),D7e&&HY.name!=="values")try{O7e(HY,"name",{value:"values"})}catch{}var qT=bt,I7e=$p,N7e=xo,L7e=ru,W7e=qT("".charAt),qY=qT("".charCodeAt),F7e=qT("".slice),YY=function(t){return function(e,r){var n=N7e(L7e(e)),a=I7e(r),i=n.length,o,s;return a<0||a>=i?t?"":void 0:(o=qY(n,a),o<55296||o>56319||a+1===i||(s=qY(n,a+1))<56320||s>57343?t?W7e(n,a):o:t?F7e(n,a,a+2):(o-55296<<10)+(s-56320)+65536)}},GY={codeAt:YY(!1),charAt:YY(!0)},j7e=GY.charAt,V7e=xo,KY=su,U7e=jY,XY=VY,JY="String Iterator",z7e=KY.set,B7e=KY.getterFor(JY);U7e(String,"String",function(t){z7e(this,{type:JY,string:V7e(t),index:0})},function(){var e=B7e(this),r=e.string,n=e.index,a;return n>=r.length?XY(void 0,!0):(a=j7e(r,n),e.index+=a.length,XY(a,!1))});var H7e=wo,QY=function(t,e,r){for(var n in e)H7e(t,n,e[n],r);return t},jp={exports:{}},ZY={},e8=D6,q7e=uu,Y7e=U6,G7e=Array,K7e=Math.max,X7e=function(t,e,r){for(var n=q7e(t),a=e8(e,n),i=e8(r===void 0?n:r,n),o=G7e(K7e(i-a,0)),s=0;a<i;a++,s++)Y7e(o,s,t[a]);return o.length=s,o},J7e=di,Q7e=nu,t8=Dp.f,Z7e=X7e,r8=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],eHe=function(t){try{return t8(t)}catch{return Z7e(r8)}};ZY.f=function(e){return r8&&J7e(e)=="Window"?eHe(e):t8(Q7e(e))};var tHe=pt,rHe=tHe(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),nHe=pt,aHe=yr,iHe=di,n8=rHe,Vp=Object.isExtensible,oHe=nHe(function(){Vp(1)}),a8=oHe||n8?function(e){return!aHe(e)||n8&&iHe(e)=="ArrayBuffer"?!1:Vp?Vp(e):!0}:Vp,sHe=pt,uHe=!sHe(function(){return Object.isExtensible(Object.preventExtensions({}))}),lHe=pa,dHe=bt,cHe=Ep,fHe=yr,YT=pn,mHe=hn.f,i8=Dp,pHe=ZY,GT=a8,hHe=rT,vHe=uHe,o8=!1,ha=hHe("meta"),gHe=0,KT=function(t){mHe(t,ha,{value:{objectID:"O"+gHe++,weakData:{}}})},yHe=function(t,e){if(!fHe(t))return typeof t=="symbol"?t:(typeof t=="string"?"S":"P")+t;if(!YT(t,ha)){if(!GT(t))return"F";if(!e)return"E";KT(t)}return t[ha].objectID},_He=function(t,e){if(!YT(t,ha)){if(!GT(t))return!0;if(!e)return!1;KT(t)}return t[ha].weakData},bHe=function(t){return vHe&&o8&&GT(t)&&!YT(t,ha)&&KT(t),t},wHe=function(){xHe.enable=function(){},o8=!0;var t=i8.f,e=dHe([].splice),r={};r[ha]=1,t(r).length&&(i8.f=function(n){for(var a=t(n),i=0,o=a.length;i<o;i++)if(a[i]===ha){e(a,i,1);break}return a},lHe({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:pHe.f}))},xHe=jp.exports={enable:wHe,fastKey:yHe,getWeakData:_He,onFreeze:bHe};cHe[ha]=!0;var PHe=ar,kHe=vd,THe=PHe("iterator"),EHe=Array.prototype,MHe=function(t){return t!==void 0&&(kHe.Array===t||EHe[THe]===t)},SHe=Rp,s8=cd,OHe=yo,CHe=vd,DHe=ar,$He=DHe("iterator"),u8=function(t){if(!OHe(t))return s8(t,$He)||s8(t,"@@iterator")||CHe[SHe(t)]},AHe=Yr,RHe=Pp,IHe=Nr,NHe=Xk,LHe=u8,WHe=TypeError,FHe=function(t,e){var r=arguments.length<2?LHe(t):e;if(RHe(r))return IHe(AHe(r,t));throw WHe(NHe(t)+" is not iterable")},jHe=Yr,l8=Nr,VHe=cd,UHe=function(t,e,r){var n,a;l8(t);try{if(n=VHe(t,"return"),!n){if(e==="throw")throw r;return r}n=jHe(n,t)}catch(i){a=!0,n=i}if(e==="throw")throw r;if(a)throw n;return l8(n),r},zHe=iY,BHe=Yr,HHe=Nr,qHe=Xk,YHe=MHe,GHe=uu,d8=Gk,KHe=FHe,XHe=u8,c8=UHe,JHe=TypeError,Up=function(t,e){this.stopped=t,this.result=e},f8=Up.prototype,m8=function(t,e,r){var n=r&&r.that,a=!!(r&&r.AS_ENTRIES),i=!!(r&&r.IS_RECORD),o=!!(r&&r.IS_ITERATOR),s=!!(r&&r.INTERRUPTED),u=zHe(e,n),l,d,c,m,f,p,h,v=function(b){return l&&c8(l,"normal",b),new Up(!0,b)},y=function(b){return a?(HHe(b),s?u(b[0],b[1],v):u(b[0],b[1])):s?u(b,v):u(b)};if(i)l=t.iterator;else if(o)l=t;else{if(d=XHe(t),!d)throw JHe(qHe(t)+" is not iterable");if(YHe(d)){for(c=0,m=GHe(t);m>c;c++)if(f=y(t[c]),f&&d8(f8,f))return f;return new Up(!1)}l=KHe(t,d)}for(p=i?t.next:l.next;!(h=BHe(p,l)).done;){try{f=y(h.value)}catch(b){c8(l,"throw",b)}if(typeof f=="object"&&f&&d8(f8,f))return f}return new Up(!1)},QHe=Gk,ZHe=TypeError,p8=function(t,e){if(QHe(e,t))return t;throw ZHe("Incorrect invocation")},eqe=ar,h8=eqe("iterator"),v8=!1;try{var tqe=0,g8={next:function(){return{done:!!tqe++}},return:function(){v8=!0}};g8[h8]=function(){return this},Array.from(g8,function(){throw 2})}catch{}var rqe=function(t,e){if(!e&&!v8)return!1;var r=!1;try{var n={};n[h8]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch{}return r},nqe=Nt,aqe=yr,y8=$Y,iqe=function(t,e,r){var n,a;return y8&&nqe(n=e.constructor)&&n!==r&&aqe(a=n.prototype)&&a!==r.prototype&&y8(t,a),t},oqe=pa,sqe=zt,uqe=bt,_8=N6,lqe=wo,dqe=jp.exports,cqe=m8,fqe=p8,mqe=Nt,pqe=yo,XT=yr,JT=pt,hqe=rqe,vqe=zT,gqe=iqe,yqe=function(t,e,r){var n=t.indexOf("Map")!==-1,a=t.indexOf("Weak")!==-1,i=n?"set":"add",o=sqe[t],s=o&&o.prototype,u=o,l={},d=function(y){var b=uqe(s[y]);lqe(s,y,y=="add"?function(_){return b(this,_===0?0:_),this}:y=="delete"?function(g){return a&&!XT(g)?!1:b(this,g===0?0:g)}:y=="get"?function(_){return a&&!XT(_)?void 0:b(this,_===0?0:_)}:y=="has"?function(_){return a&&!XT(_)?!1:b(this,_===0?0:_)}:function(_,w){return b(this,_===0?0:_,w),this})},c=_8(t,!mqe(o)||!(a||s.forEach&&!JT(function(){new o().entries().next()})));if(c)u=r.getConstructor(e,t,n,i),dqe.enable();else if(_8(t,!0)){var m=new u,f=m[i](a?{}:-0,1)!=m,p=JT(function(){m.has(1)}),h=hqe(function(y){new o(y)}),v=!a&&JT(function(){for(var y=new o,b=5;b--;)y[i](b,b);return!y.has(-0)});h||(u=e(function(y,b){fqe(y,s);var g=gqe(new o,y,u);return pqe(b)||cqe(b,g[i],{that:g,AS_ENTRIES:n}),g}),u.prototype=s,s.constructor=u),(p||v)&&(d("delete"),d("has"),n&&d("get")),(v||f)&&d(i),a&&s.clear&&delete s.clear}return l[t]=u,oqe({global:!0,constructor:!0,forced:u!=o},l),vqe(u,t),a||r.setStrong(u,t,n),u},_qe=bt,b8=QY,zp=jp.exports.getWeakData,bqe=p8,wqe=Nr,xqe=yo,QT=yr,Pqe=m8,w8=ST,x8=pn,P8=su,kqe=P8.set,Tqe=P8.getterFor,Eqe=w8.find,Mqe=w8.findIndex,Sqe=_qe([].splice),Oqe=0,Bp=function(t){return t.frozen||(t.frozen=new k8)},k8=function(){this.entries=[]},ZT=function(t,e){return Eqe(t.entries,function(r){return r[0]===e})};k8.prototype={get:function(t){var e=ZT(this,t);if(e)return e[1]},has:function(t){return!!ZT(this,t)},set:function(t,e){var r=ZT(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=Mqe(this.entries,function(r){return r[0]===t});return~e&&Sqe(this.entries,e,1),!!~e}};var Cqe={getConstructor:function(t,e,r,n){var a=t(function(u,l){bqe(u,i),kqe(u,{type:e,id:Oqe++,frozen:void 0}),xqe(l)||Pqe(l,u[n],{that:u,AS_ENTRIES:r})}),i=a.prototype,o=Tqe(e),s=function(u,l,d){var c=o(u),m=zp(wqe(l),!0);return m===!0?Bp(c).set(l,d):m[c.id]=d,u};return b8(i,{delete:function(u){var l=o(this);if(!QT(u))return!1;var d=zp(u);return d===!0?Bp(l).delete(u):d&&x8(d,l.id)&&delete d[l.id]},has:function(l){var d=o(this);if(!QT(l))return!1;var c=zp(l);return c===!0?Bp(d).has(l):c&&x8(c,d.id)}}),b8(i,r?{get:function(l){var d=o(this);if(QT(l)){var c=zp(l);return c===!0?Bp(d).get(l):c?c[d.id]:void 0}},set:function(l,d){return s(this,l,d)}}:{add:function(l){return s(this,l,!0)}}),a}},T8=zt,Hp=bt,Dqe=QY,$qe=jp.exports,Aqe=yqe,E8=Cqe,qp=yr,Yp=a8,Gp=su.enforce,Rqe=E6,Iqe=!T8.ActiveXObject&&"ActiveXObject"in T8,_d,M8=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Nqe=Aqe("WeakMap",M8,E8);if(Rqe&&Iqe){_d=E8.getConstructor(M8,"WeakMap",!0),$qe.enable();var bd=Nqe.prototype,S8=Hp(bd.delete),Kp=Hp(bd.has),O8=Hp(bd.get),C8=Hp(bd.set);Dqe(bd,{delete:function(t){if(qp(t)&&!Yp(t)){var e=Gp(this);return e.frozen||(e.frozen=new _d),S8(this,t)||e.frozen.delete(t)}return S8(this,t)},has:function(e){if(qp(e)&&!Yp(e)){var r=Gp(this);return r.frozen||(r.frozen=new _d),Kp(this,e)||r.frozen.has(e)}return Kp(this,e)},get:function(e){if(qp(e)&&!Yp(e)){var r=Gp(this);return r.frozen||(r.frozen=new _d),Kp(this,e)?O8(this,e):r.frozen.get(e)}return O8(this,e)},set:function(e,r){if(qp(e)&&!Yp(e)){var n=Gp(this);n.frozen||(n.frozen=new _d),Kp(this,e)?C8(this,e,r):n.frozen.set(e,r)}else C8(this,e,r);return this}})}var D8=zt,$8=tY,Lqe=nY,wd=R7e,eE=iu,A8=ar,tE=A8("iterator"),R8=A8("toStringTag"),rE=wd.values,I8=function(t,e){if(t){if(t[tE]!==rE)try{eE(t,tE,rE)}catch{t[tE]=rE}if(t[R8]||eE(t,R8,e),$8[e]){for(var r in wd)if(t[r]!==wd[r])try{eE(t,r,wd[r])}catch{t[r]=wd[r]}}}};for(var nE in $8)I8(D8[nE]&&D8[nE].prototype,nE);I8(Lqe,"DOMTokenList");var N8="Expected a function",L8=0/0,Wqe="[object Symbol]",Fqe=/^\s+|\s+$/g,jqe=/^[-+]0x[0-9a-f]+$/i,Vqe=/^0b[01]+$/i,Uqe=/^0o[0-7]+$/i,zqe=parseInt,Bqe=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,Hqe=typeof self=="object"&&self&&self.Object===Object&&self,qqe=Bqe||Hqe||Function("return this")(),Yqe=Object.prototype,Gqe=Yqe.toString,Kqe=Math.max,Xqe=Math.min,aE=function(){return qqe.Date.now()};function Jqe(t,e,r){var n,a,i,o,s,u,l=0,d=!1,c=!1,m=!0;if(typeof t!="function")throw new TypeError(N8);e=W8(e)||0,Xp(r)&&(d=!!r.leading,c="maxWait"in r,i=c?Kqe(W8(r.maxWait)||0,e):i,m="trailing"in r?!!r.trailing:m);function f(x){var k=n,D=a;return n=a=void 0,l=x,o=t.apply(D,k),o}function p(x){return l=x,s=setTimeout(y,e),d?f(x):o}function h(x){var k=x-u,D=x-l,S=e-k;return c?Xqe(S,i-D):S}function v(x){var k=x-u,D=x-l;return u===void 0||k>=e||k<0||c&&D>=i}function y(){var x=aE();if(v(x))return b(x);s=setTimeout(y,h(x))}function b(x){return s=void 0,m&&n?f(x):(n=a=void 0,o)}function g(){s!==void 0&&clearTimeout(s),l=0,n=u=a=s=void 0}function _(){return s===void 0?o:b(aE())}function w(){var x=aE(),k=v(x);if(n=arguments,a=this,u=x,k){if(s===void 0)return p(u);if(c)return s=setTimeout(y,e),f(u)}return s===void 0&&(s=setTimeout(y,e)),o}return w.cancel=g,w.flush=_,w}function Qqe(t,e,r){var n=!0,a=!0;if(typeof t!="function")throw new TypeError(N8);return Xp(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),Jqe(t,e,{leading:n,maxWait:e,trailing:a})}function Xp(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Zqe(t){return!!t&&typeof t=="object"}function e6e(t){return typeof t=="symbol"||Zqe(t)&&Gqe.call(t)==Wqe}function W8(t){if(typeof t=="number")return t;if(e6e(t))return L8;if(Xp(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Xp(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(Fqe,"");var r=Vqe.test(t);return r||Uqe.test(t)?zqe(t.slice(2),r?2:8):jqe.test(t)?L8:+t}var F8=Qqe,t6e="Expected a function",j8=0/0,r6e="[object Symbol]",n6e=/^\s+|\s+$/g,a6e=/^[-+]0x[0-9a-f]+$/i,i6e=/^0b[01]+$/i,o6e=/^0o[0-7]+$/i,s6e=parseInt,u6e=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,l6e=typeof self=="object"&&self&&self.Object===Object&&self,d6e=u6e||l6e||Function("return this")(),c6e=Object.prototype,f6e=c6e.toString,m6e=Math.max,p6e=Math.min,iE=function(){return d6e.Date.now()};function h6e(t,e,r){var n,a,i,o,s,u,l=0,d=!1,c=!1,m=!0;if(typeof t!="function")throw new TypeError(t6e);e=V8(e)||0,oE(r)&&(d=!!r.leading,c="maxWait"in r,i=c?m6e(V8(r.maxWait)||0,e):i,m="trailing"in r?!!r.trailing:m);function f(x){var k=n,D=a;return n=a=void 0,l=x,o=t.apply(D,k),o}function p(x){return l=x,s=setTimeout(y,e),d?f(x):o}function h(x){var k=x-u,D=x-l,S=e-k;return c?p6e(S,i-D):S}function v(x){var k=x-u,D=x-l;return u===void 0||k>=e||k<0||c&&D>=i}function y(){var x=iE();if(v(x))return b(x);s=setTimeout(y,h(x))}function b(x){return s=void 0,m&&n?f(x):(n=a=void 0,o)}function g(){s!==void 0&&clearTimeout(s),l=0,n=u=a=s=void 0}function _(){return s===void 0?o:b(iE())}function w(){var x=iE(),k=v(x);if(n=arguments,a=this,u=x,k){if(s===void 0)return p(u);if(c)return s=setTimeout(y,e),f(u)}return s===void 0&&(s=setTimeout(y,e)),o}return w.cancel=g,w.flush=_,w}function oE(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function v6e(t){return!!t&&typeof t=="object"}function g6e(t){return typeof t=="symbol"||v6e(t)&&f6e.call(t)==r6e}function V8(t){if(typeof t=="number")return t;if(g6e(t))return j8;if(oE(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=oE(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(n6e,"");var r=i6e.test(t);return r||o6e.test(t)?s6e(t.slice(2),r?2:8):a6e.test(t)?j8:+t}var U8=h6e,y6e="Expected a function",z8="__lodash_hash_undefined__",_6e="[object Function]",b6e="[object GeneratorFunction]",w6e=/[\\^$.*+?()[\]{}|]/g,x6e=/^\[object .+?Constructor\]$/,P6e=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,k6e=typeof self=="object"&&self&&self.Object===Object&&self,B8=P6e||k6e||Function("return this")();function T6e(t,e){return t==null?void 0:t[e]}function E6e(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch{}return e}var M6e=Array.prototype,S6e=Function.prototype,H8=Object.prototype,sE=B8["__core-js_shared__"],q8=function(){var t=/[^.]+$/.exec(sE&&sE.keys&&sE.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Y8=S6e.toString,uE=H8.hasOwnProperty,O6e=H8.toString,C6e=RegExp("^"+Y8.call(uE).replace(w6e,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),D6e=M6e.splice,$6e=G8(B8,"Map"),xd=G8(Object,"create");function ko(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function A6e(){this.__data__=xd?xd(null):{}}function R6e(t){return this.has(t)&&delete this.__data__[t]}function I6e(t){var e=this.__data__;if(xd){var r=e[t];return r===z8?void 0:r}return uE.call(e,t)?e[t]:void 0}function N6e(t){var e=this.__data__;return xd?e[t]!==void 0:uE.call(e,t)}function L6e(t,e){var r=this.__data__;return r[t]=xd&&e===void 0?z8:e,this}ko.prototype.clear=A6e,ko.prototype.delete=R6e,ko.prototype.get=I6e,ko.prototype.has=N6e,ko.prototype.set=L6e;function du(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function W6e(){this.__data__=[]}function F6e(t){var e=this.__data__,r=Jp(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():D6e.call(e,r,1),!0}function j6e(t){var e=this.__data__,r=Jp(e,t);return r<0?void 0:e[r][1]}function V6e(t){return Jp(this.__data__,t)>-1}function U6e(t,e){var r=this.__data__,n=Jp(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}du.prototype.clear=W6e,du.prototype.delete=F6e,du.prototype.get=j6e,du.prototype.has=V6e,du.prototype.set=U6e;function To(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function z6e(){this.__data__={hash:new ko,map:new($6e||du),string:new ko}}function B6e(t){return Qp(this,t).delete(t)}function H6e(t){return Qp(this,t).get(t)}function q6e(t){return Qp(this,t).has(t)}function Y6e(t,e){return Qp(this,t).set(t,e),this}To.prototype.clear=z6e,To.prototype.delete=B6e,To.prototype.get=H6e,To.prototype.has=q6e,To.prototype.set=Y6e;function Jp(t,e){for(var r=t.length;r--;)if(Q6e(t[r][0],e))return r;return-1}function G6e(t){if(!K8(t)||X6e(t))return!1;var e=Z6e(t)||E6e(t)?C6e:x6e;return e.test(J6e(t))}function Qp(t,e){var r=t.__data__;return K6e(e)?r[typeof e=="string"?"string":"hash"]:r.map}function G8(t,e){var r=T6e(t,e);return G6e(r)?r:void 0}function K6e(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function X6e(t){return!!q8&&q8 in t}function J6e(t){if(t!=null){try{return Y8.call(t)}catch{}try{return t+""}catch{}}return""}function lE(t,e){if(typeof t!="function"||e&&typeof e!="function")throw new TypeError(y6e);var r=function(){var n=arguments,a=e?e.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=t.apply(this,n);return r.cache=i.set(a,o),o};return r.cache=new(lE.Cache||To),r}lE.Cache=To;function Q6e(t,e){return t===e||t!==t&&e!==e}function Z6e(t){var e=K8(t)?O6e.call(t):"";return e==_6e||e==b6e}function K8(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}var eYe=lE,Eo=[],tYe=function(){return Eo.some(function(t){return t.activeTargets.length>0})},rYe=function(){return Eo.some(function(t){return t.skippedTargets.length>0})},X8="ResizeObserver loop completed with undelivered notifications.",nYe=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:X8}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=X8),window.dispatchEvent(t)},Pd;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Pd||(Pd={}));var Mo=function(t){return Object.freeze(t)},aYe=function(){function t(e,r){this.inlineSize=e,this.blockSize=r,Mo(this)}return t}(),J8=function(){function t(e,r,n,a){return this.x=e,this.y=r,this.width=n,this.height=a,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Mo(this)}return t.prototype.toJSON=function(){var e=this,r=e.x,n=e.y,a=e.top,i=e.right,o=e.bottom,s=e.left,u=e.width,l=e.height;return{x:r,y:n,top:a,right:i,bottom:o,left:s,width:u,height:l}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),dE=function(t){return t instanceof SVGElement&&"getBBox"in t},Q8=function(t){if(dE(t)){var e=t.getBBox(),r=e.width,n=e.height;return!r&&!n}var a=t,i=a.offsetWidth,o=a.offsetHeight;return!(i||o||t.getClientRects().length)},Z8=function(t){var e;if(t instanceof Element)return!0;var r=(e=t==null?void 0:t.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(r&&t instanceof r.Element)},iYe=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},kd=typeof window<"u"?window:{},Zp=new WeakMap,eG=/auto|scroll/,oYe=/^tb|vertical/,sYe=/msie|trident/i.test(kd.navigator&&kd.navigator.userAgent),Vn=function(t){return parseFloat(t||"0")},cu=function(t,e,r){return t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=!1),new aYe((r?e:t)||0,(r?t:e)||0)},tG=Mo({devicePixelContentBoxSize:cu(),borderBoxSize:cu(),contentBoxSize:cu(),contentRect:new J8(0,0,0,0)}),rG=function(t,e){if(e===void 0&&(e=!1),Zp.has(t)&&!e)return Zp.get(t);if(Q8(t))return Zp.set(t,tG),tG;var r=getComputedStyle(t),n=dE(t)&&t.ownerSVGElement&&t.getBBox(),a=!sYe&&r.boxSizing==="border-box",i=oYe.test(r.writingMode||""),o=!n&&eG.test(r.overflowY||""),s=!n&&eG.test(r.overflowX||""),u=n?0:Vn(r.paddingTop),l=n?0:Vn(r.paddingRight),d=n?0:Vn(r.paddingBottom),c=n?0:Vn(r.paddingLeft),m=n?0:Vn(r.borderTopWidth),f=n?0:Vn(r.borderRightWidth),p=n?0:Vn(r.borderBottomWidth),h=n?0:Vn(r.borderLeftWidth),v=c+l,y=u+d,b=h+f,g=m+p,_=s?t.offsetHeight-g-t.clientHeight:0,w=o?t.offsetWidth-b-t.clientWidth:0,x=a?v+b:0,k=a?y+g:0,D=n?n.width:Vn(r.width)-x-w,S=n?n.height:Vn(r.height)-k-_,O=D+v+w+b,C=S+y+_+g,E=Mo({devicePixelContentBoxSize:cu(Math.round(D*devicePixelRatio),Math.round(S*devicePixelRatio),i),borderBoxSize:cu(O,C,i),contentBoxSize:cu(D,S,i),contentRect:new J8(c,u,D,S)});return Zp.set(t,E),E},nG=function(t,e,r){var n=rG(t,r),a=n.borderBoxSize,i=n.contentBoxSize,o=n.devicePixelContentBoxSize;switch(e){case Pd.DEVICE_PIXEL_CONTENT_BOX:return o;case Pd.BORDER_BOX:return a;default:return i}},uYe=function(){function t(e){var r=rG(e);this.target=e,this.contentRect=r.contentRect,this.borderBoxSize=Mo([r.borderBoxSize]),this.contentBoxSize=Mo([r.contentBoxSize]),this.devicePixelContentBoxSize=Mo([r.devicePixelContentBoxSize])}return t}(),aG=function(t){if(Q8(t))return 1/0;for(var e=0,r=t.parentNode;r;)e+=1,r=r.parentNode;return e},lYe=function(){var t=1/0,e=[];Eo.forEach(function(o){if(o.activeTargets.length!==0){var s=[];o.activeTargets.forEach(function(l){var d=new uYe(l.target),c=aG(l.target);s.push(d),l.lastReportedSize=nG(l.target,l.observedBox),c<t&&(t=c)}),e.push(function(){o.callback.call(o.observer,s,o.observer)}),o.activeTargets.splice(0,o.activeTargets.length)}});for(var r=0,n=e;r<n.length;r++){var a=n[r];a()}return t},iG=function(t){Eo.forEach(function(r){r.activeTargets.splice(0,r.activeTargets.length),r.skippedTargets.splice(0,r.skippedTargets.length),r.observationTargets.forEach(function(a){a.isActive()&&(aG(a.target)>t?r.activeTargets.push(a):r.skippedTargets.push(a))})})},dYe=function(){var t=0;for(iG(t);tYe();)t=lYe(),iG(t);return rYe()&&nYe(),t>0},cE,oG=[],cYe=function(){return oG.splice(0).forEach(function(t){return t()})},fYe=function(t){if(!cE){var e=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return cYe()}).observe(r,n),cE=function(){r.textContent="".concat(e?e--:e++)}}oG.push(t),cE()},mYe=function(t){fYe(function(){requestAnimationFrame(t)})},eh=0,pYe=function(){return!!eh},hYe=250,vYe={attributes:!0,characterData:!0,childList:!0,subtree:!0},sG=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],uG=function(t){return t===void 0&&(t=0),Date.now()+t},fE=!1,gYe=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var r=this;if(e===void 0&&(e=hYe),!fE){fE=!0;var n=uG(e);mYe(function(){var a=!1;try{a=dYe()}finally{if(fE=!1,e=n-uG(),!pYe())return;a?r.run(1e3):e>0?r.run(e):r.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,r=function(){return e.observer&&e.observer.observe(document.body,vYe)};document.body?r():kd.addEventListener("DOMContentLoaded",r)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),sG.forEach(function(r){return kd.addEventListener(r,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),sG.forEach(function(r){return kd.removeEventListener(r,e.listener,!0)}),this.stopped=!0)},t}(),mE=new gYe,lG=function(t){!eh&&t>0&&mE.start(),eh+=t,!eh&&mE.stop()},yYe=function(t){return!dE(t)&&!iYe(t)&&getComputedStyle(t).display==="inline"},_Ye=function(){function t(e,r){this.target=e,this.observedBox=r||Pd.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=nG(this.target,this.observedBox,!0);return yYe(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),bYe=function(){function t(e,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=r}return t}(),th=new WeakMap,dG=function(t,e){for(var r=0;r<t.length;r+=1)if(t[r].target===e)return r;return-1},rh=function(){function t(){}return t.connect=function(e,r){var n=new bYe(e,r);th.set(e,n)},t.observe=function(e,r,n){var a=th.get(e),i=a.observationTargets.length===0;dG(a.observationTargets,r)<0&&(i&&Eo.push(a),a.observationTargets.push(new _Ye(r,n&&n.box)),lG(1),mE.schedule())},t.unobserve=function(e,r){var n=th.get(e),a=dG(n.observationTargets,r),i=n.observationTargets.length===1;a>=0&&(i&&Eo.splice(Eo.indexOf(n),1),n.observationTargets.splice(a,1),lG(-1))},t.disconnect=function(e){var r=this,n=th.get(e);n.observationTargets.slice().forEach(function(a){return r.unobserve(e,a.target)}),n.activeTargets.splice(0,n.activeTargets.length)},t}(),wYe=function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");rh.connect(this,e)}return t.prototype.observe=function(e,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Z8(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");rh.observe(this,e,r)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Z8(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");rh.unobserve(this,e)},t.prototype.disconnect=function(){rh.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}(),xYe=Pp,PYe=_o,kYe=bp,TYe=uu,EYe=TypeError,cG=function(t){return function(e,r,n,a){xYe(r);var i=PYe(e),o=kYe(i),s=TYe(i),u=t?s-1:0,l=t?-1:1;if(n<2)for(;;){if(u in o){a=o[u],u+=l;break}if(u+=l,t?u<0:s<=u)throw EYe("Reduce of empty array with no initial value")}for(;t?u>=0:s>u;u+=l)u in o&&(a=r(a,o[u],u,i));return a}},MYe={left:cG(!1),right:cG(!0)},SYe=di,OYe=zt,CYe=SYe(OYe.process)=="process",DYe=pa,$Ye=MYe.left,AYe=sY,fG=xp,RYe=CYe,IYe=AYe("reduce"),NYe=!RYe&&fG>79&&fG<83;DYe({target:"Array",proto:!0,forced:!IYe||NYe},{reduce:function(e){var r=arguments.length;return $Ye(this,e,r,r>1?arguments[1]:void 0)}});var LYe=Nr,WYe=function(){var t=LYe(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},pE=pt,FYe=zt,hE=FYe.RegExp,vE=pE(function(){var t=hE("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),jYe=vE||pE(function(){return!hE("a","y").sticky}),VYe=vE||pE(function(){var t=hE("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),UYe={BROKEN_CARET:VYe,MISSED_STICKY:jYe,UNSUPPORTED_Y:vE},zYe=pt,BYe=zt,HYe=BYe.RegExp,qYe=zYe(function(){var t=HYe(".","s");return!(t.dotAll&&t.exec(`
551
551
  `)&&t.flags==="s")}),YYe=pt,GYe=zt,KYe=GYe.RegExp,XYe=YYe(function(){var t=KYe("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),fu=Yr,nh=bt,JYe=xo,QYe=WYe,ZYe=UYe,e8e=kp.exports,t8e=NT,r8e=su.get,n8e=qYe,a8e=XYe,i8e=e8e("native-string-replace",String.prototype.replace),ah=RegExp.prototype.exec,gE=ah,o8e=nh("".charAt),s8e=nh("".indexOf),u8e=nh("".replace),yE=nh("".slice),_E=function(){var t=/a/,e=/b*/g;return fu(ah,t,"a"),fu(ah,e,"a"),t.lastIndex!==0||e.lastIndex!==0}(),mG=ZYe.BROKEN_CARET,bE=/()??/.exec("")[1]!==void 0,l8e=_E||bE||mG||n8e||a8e;l8e&&(gE=function(e){var r=this,n=r8e(r),a=JYe(e),i=n.raw,o,s,u,l,d,c,m;if(i)return i.lastIndex=r.lastIndex,o=fu(gE,i,a),r.lastIndex=i.lastIndex,o;var f=n.groups,p=mG&&r.sticky,h=fu(QYe,r),v=r.source,y=0,b=a;if(p&&(h=u8e(h,"y",""),s8e(h,"g")===-1&&(h+="g"),b=yE(a,r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&o8e(a,r.lastIndex-1)!==`
552
552
  `)&&(v="(?: "+v+")",b=" "+b,y++),s=new RegExp("^(?:"+v+")",h)),bE&&(s=new RegExp("^"+v+"$(?!\\s)",h)),_E&&(u=r.lastIndex),l=fu(ah,p?s:r,b),p?l?(l.input=yE(l.input,y),l[0]=yE(l[0],y),l.index=r.lastIndex,r.lastIndex+=l[0].length):r.lastIndex=0:_E&&l&&(r.lastIndex=r.global?l.index+l[0].length:u),bE&&l&&l.length>1&&fu(i8e,l[0],s,function(){for(d=1;d<arguments.length-2;d++)arguments[d]===void 0&&(l[d]=void 0)}),l&&f)for(l.groups=c=t8e(null),d=0;d<f.length;d++)m=f[d],c[m[0]]=l[m[1]];return l});var wE=gE,d8e=pa,pG=wE;d8e({target:"RegExp",proto:!0,forced:/./.exec!==pG},{exec:pG});var hG=bt,vG=wo,c8e=wE,gG=pt,yG=ar,f8e=iu,m8e=yG("species"),xE=RegExp.prototype,_G=function(t,e,r,n){var a=yG(t),i=!gG(function(){var l={};return l[a]=function(){return 7},""[t](l)!=7}),o=i&&!gG(function(){var l=!1,d=/a/;return t==="split"&&(d={},d.constructor={},d.constructor[m8e]=function(){return d},d.flags="",d[a]=/./[a]),d.exec=function(){return l=!0,null},d[a](""),!l});if(!i||!o||r){var s=hG(/./[a]),u=e(a,""[t],function(l,d,c,m,f){var p=hG(l),h=d.exec;return h===c8e||h===xE.exec?i&&!f?{done:!0,value:s(d,c,m)}:{done:!0,value:p(c,d,m)}:{done:!1}});vG(String.prototype,t,u[0]),vG(xE,a,u[1])}n&&f8e(xE[a],"sham",!0)},p8e=GY.charAt,bG=function(t,e,r){return e+(r?p8e(t,e).length:1)},wG=Yr,h8e=Nr,v8e=Nt,g8e=di,y8e=wE,_8e=TypeError,xG=function(t,e){var r=t.exec;if(v8e(r)){var n=wG(r,t,e);return n!==null&&h8e(n),n}if(g8e(t)==="RegExp")return wG(y8e,t,e);throw _8e("RegExp#exec called on incompatible receiver")},b8e=Yr,w8e=_G,x8e=Nr,P8e=yo,k8e=_T,PE=xo,T8e=ru,E8e=cd,M8e=bG,PG=xG;w8e("match",function(t,e,r){return[function(a){var i=T8e(this),o=P8e(a)?void 0:E8e(a,t);return o?b8e(o,a,i):new RegExp(a)[t](PE(i))},function(n){var a=x8e(this),i=PE(n),o=r(e,a,i);if(o.done)return o.value;if(!a.global)return PG(a,i);var s=a.unicode;a.lastIndex=0;for(var u=[],l=0,d;(d=PG(a,i))!==null;){var c=PE(d[0]);u[l]=c,c===""&&(a.lastIndex=M8e(i,k8e(a.lastIndex),s)),l++}return l===0?null:u}]});var S8e=fn,O8e=fT.EXISTS,kG=bt,C8e=hn.f,TG=Function.prototype,D8e=kG(TG.toString),EG=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,$8e=kG(EG.exec),A8e="name";S8e&&!O8e&&C8e(TG,A8e,{configurable:!0,get:function(){try{return $8e(EG,D8e(this))[1]}catch{return""}}});var R8e=gp,MG=Function.prototype,SG=MG.apply,OG=MG.call,I8e=typeof Reflect=="object"&&Reflect.apply||(R8e?OG.bind(SG):function(){return OG.apply(SG,arguments)}),kE=bt,N8e=_o,L8e=Math.floor,TE=kE("".charAt),W8e=kE("".replace),EE=kE("".slice),F8e=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,j8e=/\$([$&'`]|\d{1,2})/g,V8e=function(t,e,r,n,a,i){var o=r+t.length,s=n.length,u=j8e;return a!==void 0&&(a=N8e(a),u=F8e),W8e(i,u,function(l,d){var c;switch(TE(d,0)){case"$":return"$";case"&":return t;case"`":return EE(e,0,r);case"'":return EE(e,o);case"<":c=a[EE(d,1,-1)];break;default:var m=+d;if(m===0)return l;if(m>s){var f=L8e(m/10);return f===0?l:f<=s?n[f-1]===void 0?TE(d,1):n[f-1]+TE(d,1):l}c=n[m-1]}return c===void 0?"":c})},U8e=I8e,CG=Yr,ih=bt,z8e=_G,B8e=pt,H8e=Nr,q8e=Nt,Y8e=yo,G8e=$p,K8e=_T,mu=xo,X8e=ru,J8e=bG,Q8e=cd,Z8e=V8e,eGe=xG,tGe=ar,ME=tGe("replace"),rGe=Math.max,nGe=Math.min,aGe=ih([].concat),SE=ih([].push),DG=ih("".indexOf),$G=ih("".slice),iGe=function(t){return t===void 0?t:String(t)},oGe=function(){return"a".replace(/./,"$0")==="$0"}(),AG=function(){return/./[ME]?/./[ME]("a","$0")==="":!1}(),sGe=!B8e(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"});z8e("replace",function(t,e,r){var n=AG?"$":"$0";return[function(i,o){var s=X8e(this),u=Y8e(i)?void 0:Q8e(i,ME);return u?CG(u,i,s,o):CG(e,mu(s),i,o)},function(a,i){var o=H8e(this),s=mu(a);if(typeof i=="string"&&DG(i,n)===-1&&DG(i,"$<")===-1){var u=r(e,o,s,i);if(u.done)return u.value}var l=q8e(i);l||(i=mu(i));var d=o.global;if(d){var c=o.unicode;o.lastIndex=0}for(var m=[];;){var f=eGe(o,s);if(f===null||(SE(m,f),!d))break;var p=mu(f[0]);p===""&&(o.lastIndex=J8e(s,K8e(o.lastIndex),c))}for(var h="",v=0,y=0;y<m.length;y++){f=m[y];for(var b=mu(f[0]),g=rGe(nGe(G8e(f.index),s.length),0),_=[],w=1;w<f.length;w++)SE(_,iGe(f[w]));var x=f.groups;if(l){var k=aGe([b],_,g,s);x!==void 0&&SE(k,x);var D=mu(U8e(i,void 0,k))}else D=Z8e(b,s,g,_,x,i);g>=v&&(h+=$G(s,v,g)+D,v=g+b.length)}return h+$G(s,v)}]},!sGe||!oGe||AG);var oh=function(e){var r=Array.prototype.reduce.call(e,function(n,a){var i=a.name.match(/data-simplebar-(.+)/);if(i){var o=i[1].replace(/\W+(.)/g,function(s,u){return u.toUpperCase()});switch(a.value){case"true":n[o]=!0;break;case"false":n[o]=!1;break;case void 0:n[o]=!0;break;default:n[o]=a.value}}return n},{});return r};function fi(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}function sh(t){return!t||!t.ownerDocument?document:t.ownerDocument}var pu=null,RG=null;DT&&window.addEventListener("resize",function(){RG!==window.devicePixelRatio&&(RG=window.devicePixelRatio,pu=null)});function IG(t){if(pu===null){var e=sh(t);if(typeof e>"u")return pu=0,pu;var r=e.body,n=e.createElement("div");n.classList.add("simplebar-hide-scrollbar"),r.appendChild(n);var a=n.getBoundingClientRect().right;r.removeChild(n),pu=a}return pu}var Dt=function(){function t(r,n){var a=this;this.onScroll=function(){var i=fi(a.el);a.scrollXTicking||(i.requestAnimationFrame(a.scrollX),a.scrollXTicking=!0),a.scrollYTicking||(i.requestAnimationFrame(a.scrollY),a.scrollYTicking=!0)},this.scrollX=function(){a.axis.x.isOverflowing&&(a.showScrollbar("x"),a.positionScrollbar("x")),a.scrollXTicking=!1},this.scrollY=function(){a.axis.y.isOverflowing&&(a.showScrollbar("y"),a.positionScrollbar("y")),a.scrollYTicking=!1},this.onMouseEnter=function(){a.showScrollbar("x"),a.showScrollbar("y")},this.onMouseMove=function(i){a.mouseX=i.clientX,a.mouseY=i.clientY,(a.axis.x.isOverflowing||a.axis.x.forceVisible)&&a.onMouseMoveForAxis("x"),(a.axis.y.isOverflowing||a.axis.y.forceVisible)&&a.onMouseMoveForAxis("y")},this.onMouseLeave=function(){a.onMouseMove.cancel(),(a.axis.x.isOverflowing||a.axis.x.forceVisible)&&a.onMouseLeaveForAxis("x"),(a.axis.y.isOverflowing||a.axis.y.forceVisible)&&a.onMouseLeaveForAxis("y"),a.mouseX=-1,a.mouseY=-1},this.onWindowResize=function(){a.scrollbarWidth=a.getScrollbarWidth(),a.hideNativeScrollbar()},this.hideScrollbars=function(){a.axis.x.track.rect=a.axis.x.track.el.getBoundingClientRect(),a.axis.y.track.rect=a.axis.y.track.el.getBoundingClientRect(),a.isWithinBounds(a.axis.y.track.rect)||(a.axis.y.scrollbar.el.classList.remove(a.classNames.visible),a.axis.y.isVisible=!1),a.isWithinBounds(a.axis.x.track.rect)||(a.axis.x.scrollbar.el.classList.remove(a.classNames.visible),a.axis.x.isVisible=!1)},this.onPointerEvent=function(i){var o,s;a.axis.x.track.rect=a.axis.x.track.el.getBoundingClientRect(),a.axis.y.track.rect=a.axis.y.track.el.getBoundingClientRect(),(a.axis.x.isOverflowing||a.axis.x.forceVisible)&&(o=a.isWithinBounds(a.axis.x.track.rect)),(a.axis.y.isOverflowing||a.axis.y.forceVisible)&&(s=a.isWithinBounds(a.axis.y.track.rect)),(o||s)&&(i.preventDefault(),i.stopPropagation(),i.type==="mousedown"&&(o&&(a.axis.x.scrollbar.rect=a.axis.x.scrollbar.el.getBoundingClientRect(),a.isWithinBounds(a.axis.x.scrollbar.rect)?a.onDragStart(i,"x"):a.onTrackClick(i,"x")),s&&(a.axis.y.scrollbar.rect=a.axis.y.scrollbar.el.getBoundingClientRect(),a.isWithinBounds(a.axis.y.scrollbar.rect)?a.onDragStart(i,"y"):a.onTrackClick(i,"y"))))},this.drag=function(i){var o,s=a.axis[a.draggedAxis].track,u=s.rect[a.axis[a.draggedAxis].sizeAttr],l=a.axis[a.draggedAxis].scrollbar,d=a.contentWrapperEl[a.axis[a.draggedAxis].scrollSizeAttr],c=parseInt(a.elStyles[a.axis[a.draggedAxis].sizeAttr],10);i.preventDefault(),i.stopPropagation(),a.draggedAxis==="y"?o=i.pageY:o=i.pageX;var m=o-s.rect[a.axis[a.draggedAxis].offsetAttr]-a.axis[a.draggedAxis].dragOffset,f=m/(u-l.size),p=f*(d-c);a.draggedAxis==="x"&&(p=a.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?p-(u+l.size):p,p=a.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-p:p),a.contentWrapperEl[a.axis[a.draggedAxis].scrollOffsetAttr]=p},this.onEndDrag=function(i){var o=sh(a.el),s=fi(a.el);i.preventDefault(),i.stopPropagation(),a.el.classList.remove(a.classNames.dragging),o.removeEventListener("mousemove",a.drag,!0),o.removeEventListener("mouseup",a.onEndDrag,!0),a.removePreventClickId=s.setTimeout(function(){o.removeEventListener("click",a.preventClick,!0),o.removeEventListener("dblclick",a.preventClick,!0),a.removePreventClickId=null})},this.preventClick=function(i){i.preventDefault(),i.stopPropagation()},this.el=r,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,n),this.classNames=Object.assign({},t.defaultOptions.classNames,this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,!t.instances.has(this.el)&&(this.recalculate=F8(this.recalculate.bind(this),64),this.onMouseMove=F8(this.onMouseMove.bind(this),64),this.hideScrollbars=U8(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=U8(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=eYe(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var n=document.createElement("div");n.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var a=n.firstElementChild;document.body.appendChild(a);var i=a.firstElementChild;a.scrollLeft=0;var o=t.getOffset(a),s=t.getOffset(i);a.scrollLeft=999;var u=t.getOffset(i);return{isRtlScrollingInverted:o.left!==s.left&&s.left-u.left!==0,isRtlScrollbarInverted:o.left!==s.left}},t.getOffset=function(n){var a=n.getBoundingClientRect(),i=sh(n),o=fi(n);return{top:a.top+(o.pageYOffset||i.documentElement.scrollTop),left:a.left+(o.pageXOffset||i.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),DT&&(this.initDOM(),this.setAccessibilityAttributes(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var n=this;if(Array.prototype.filter.call(this.el.children,function(o){return o.classList.contains(n.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var a=document.createElement("div"),i=document.createElement("div");a.classList.add(this.classNames.track),i.classList.add(this.classNames.scrollbar),a.appendChild(i),this.axis.x.track.el=a.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=a.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},e.setAccessibilityAttributes=function(){var n=this.options.ariaLabel||"scrollable content";this.contentWrapperEl.setAttribute("tabindex","0"),this.contentWrapperEl.setAttribute("role","region"),this.contentWrapperEl.setAttribute("aria-label",n)},e.initListeners=function(){var n=this,a=fi(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(u){n.el.addEventListener(u,n.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(u){n.el.addEventListener(u,n.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),a.addEventListener("resize",this.onWindowResize);var i=!1,o=null,s=a.ResizeObserver||wYe;this.resizeObserver=new s(function(){!i||o!==null||(o=a.requestAnimationFrame(function(){n.recalculate(),o=null}))}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),a.requestAnimationFrame(function(){i=!0}),this.mutationObserver=new a.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){var n=fi(this.el);this.elStyles=n.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var a=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1,o=this.contentEl.offsetWidth,s=this.contentWrapperEl.offsetWidth,u=this.elStyles.overflowX,l=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var d=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=a?"auto":"100%",this.placeholderEl.style.width=i?o+"px":"auto",this.placeholderEl.style.height=d+"px";var m=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=c>o,this.axis.y.isOverflowing=d>m,this.axis.x.isOverflowing=u==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=l==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var f=this.axis.x.isOverflowing?this.scrollbarWidth:0,p=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>s-p,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>m-f,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},e.getScrollbarSize=function(n){if(n===void 0&&(n="y"),!this.axis[n].isOverflowing)return 0;var a=this.contentEl[this.axis[n].scrollSizeAttr],i=this.axis[n].track.el[this.axis[n].offsetSizeAttr],o,s=i/a;return o=Math.max(~~(s*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(o=Math.min(o,this.options.scrollbarMaxSize)),o},e.positionScrollbar=function(n){if(n===void 0&&(n="y"),!!this.axis[n].isOverflowing){var a=this.contentWrapperEl[this.axis[n].scrollSizeAttr],i=this.axis[n].track.el[this.axis[n].offsetSizeAttr],o=parseInt(this.elStyles[this.axis[n].sizeAttr],10),s=this.axis[n].scrollbar,u=this.contentWrapperEl[this.axis[n].scrollOffsetAttr];u=n==="x"&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-u:u;var l=u/(a-o),d=~~((i-s.size)*l);d=n==="x"&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?d+(i-s.size):d,s.el.style.transform=n==="x"?"translate3d("+d+"px, 0, 0)":"translate3d(0, "+d+"px, 0)"}},e.toggleTrackVisibility=function(n){n===void 0&&(n="y");var a=this.axis[n].track.el,i=this.axis[n].scrollbar.el;this.axis[n].isOverflowing||this.axis[n].forceVisible?(a.style.visibility="visible",this.contentWrapperEl.style[this.axis[n].overflowAttr]="scroll"):(a.style.visibility="hidden",this.contentWrapperEl.style[this.axis[n].overflowAttr]="hidden"),this.axis[n].isOverflowing?i.style.display="block":i.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(n){n===void 0&&(n="y"),this.axis[n].track.rect=this.axis[n].track.el.getBoundingClientRect(),this.axis[n].scrollbar.rect=this.axis[n].scrollbar.el.getBoundingClientRect();var a=this.isWithinBounds(this.axis[n].scrollbar.rect);a?this.axis[n].scrollbar.el.classList.add(this.classNames.hover):this.axis[n].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[n].track.rect)?(this.showScrollbar(n),this.axis[n].track.el.classList.add(this.classNames.hover)):this.axis[n].track.el.classList.remove(this.classNames.hover)},e.onMouseLeaveForAxis=function(n){n===void 0&&(n="y"),this.axis[n].track.el.classList.remove(this.classNames.hover),this.axis[n].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(n){n===void 0&&(n="y");var a=this.axis[n].scrollbar.el;this.axis[n].isVisible||(a.classList.add(this.classNames.visible),this.axis[n].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(n,a){a===void 0&&(a="y");var i=sh(this.el),o=fi(this.el),s=this.axis[a].scrollbar,u=a==="y"?n.pageY:n.pageX;this.axis[a].dragOffset=u-s.rect[this.axis[a].offsetAttr],this.draggedAxis=a,this.el.classList.add(this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(n,a){var i=this;if(a===void 0&&(a="y"),!!this.options.clickOnTrack){var o=fi(this.el);this.axis[a].scrollbar.rect=this.axis[a].scrollbar.el.getBoundingClientRect();var s=this.axis[a].scrollbar,u=s.rect[this.axis[a].offsetAttr],l=parseInt(this.elStyles[this.axis[a].sizeAttr],10),d=this.contentWrapperEl[this.axis[a].scrollOffsetAttr],c=a==="y"?this.mouseY-u:this.mouseX-u,m=c<0?-1:1,f=m===-1?d-l:d+l,p=function h(){if(m===-1){if(d>f){var v;d-=i.options.clickOnTrackSpeed,i.contentWrapperEl.scrollTo((v={},v[i.axis[a].offsetAttr]=d,v)),o.requestAnimationFrame(h)}}else if(d<f){var y;d+=i.options.clickOnTrackSpeed,i.contentWrapperEl.scrollTo((y={},y[i.axis[a].offsetAttr]=d,y)),o.requestAnimationFrame(h)}};p()}},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){try{return getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:IG(this.el)}catch{return IG(this.el)}},e.removeListeners=function(){var n=this,a=fi(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(i){n.el.removeEventListener(i,n.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(i){n.el.removeEventListener(i,n.onPointerEvent,{capture:!0,passive:!0})}),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),a.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),t.instances.delete(this.el)},e.isWithinBounds=function(n){return this.mouseX>=n.left&&this.mouseX<=n.left+n.width&&this.mouseY>=n.top&&this.mouseY<=n.top+n.height},e.findChild=function(n,a){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return Array.prototype.filter.call(n.children,function(o){return i.call(o,a)})[0]},t}();Dt.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},Dt.instances=new WeakMap,Dt.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t){t.getAttribute("data-simplebar")!=="init"&&!Dt.instances.has(t)&&new Dt(t,oh(t.attributes))})},Dt.removeObserver=function(){this.globalObserver.disconnect()},Dt.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(Dt.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},Dt.handleMutations=function(t){t.forEach(function(e){Array.prototype.forEach.call(e.addedNodes,function(r){r.nodeType===1&&(r.hasAttribute("data-simplebar")?!Dt.instances.has(r)&&document.documentElement.contains(r)&&new Dt(r,oh(r.attributes)):Array.prototype.forEach.call(r.querySelectorAll("[data-simplebar]"),function(n){n.getAttribute("data-simplebar")!=="init"&&!Dt.instances.has(n)&&document.documentElement.contains(n)&&new Dt(n,oh(n.attributes))}))}),Array.prototype.forEach.call(e.removedNodes,function(r){r.nodeType===1&&(r.getAttribute("data-simplebar")==="init"?Dt.instances.has(r)&&!document.documentElement.contains(r)&&Dt.instances.get(r).unMount():Array.prototype.forEach.call(r.querySelectorAll('[data-simplebar="init"]'),function(n){Dt.instances.has(n)&&!document.documentElement.contains(n)&&Dt.instances.get(n).unMount()}))})})},Dt.getOptions=oh,DT&&Dt.initHtmlApi();var uGe={name:"simplebar-vue",mounted:function(){var e=Dt.getOptions(this.$refs.element.attributes);this.SimpleBar=new Dt(this.$refs.element,e)},computed:{scrollElement:function(){return this.$refs.scrollElement},contentElement:function(){return this.$refs.contentElement}}},lGe=uGe,NG=function(){var e=this,r=e.$createElement,n=e._self._c||r;return n("div",{ref:"element"},[n("div",{staticClass:"simplebar-wrapper"},[e._m(0),e._v(" "),n("div",{staticClass:"simplebar-mask"},[n("div",{staticClass:"simplebar-offset"},[n("div",e._g({ref:"scrollElement",staticClass:"simplebar-content-wrapper"},Object.assign({},e.$listeners.scroll&&{scroll:e.$listeners.scroll})),[n("div",{ref:"contentElement",staticClass:"simplebar-content"},[e._t("default")],2)])])]),e._v(" "),n("div",{staticClass:"simplebar-placeholder"})]),e._v(" "),e._m(1),e._v(" "),e._m(2)])},dGe=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"simplebar-height-auto-observer-wrapper"},[r("div",{staticClass:"simplebar-height-auto-observer"})])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"simplebar-track simplebar-horizontal"},[r("div",{staticClass:"simplebar-scrollbar"})])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"simplebar-track simplebar-vertical"},[r("div",{staticClass:"simplebar-scrollbar"})])}];NG._withStripped=!0;var cGe=void 0,fGe=void 0,mGe=!1;function pGe(t,e,r,n,a,i,o,s){var u=(typeof r=="function"?r.options:r)||{};return u.__file="/Users/adriendenat/Sites/simplebar/packages/simplebar-vue/index.vue",u.render||(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0,a&&(u.functional=!0)),u._scopeId=n,u}var hGe=pGe({render:NG,staticRenderFns:dGe},cGe,lGe,fGe,mGe);const Ovt="",Td=(t=[],{event:e="input",type:r=void 0,useEmit:n=!0,setFnName:a}={})=>({inheritAttrs:!1,props:{_document:{type:Object,default:()=>({})},_value:{type:Object,default:()=>({})}},inject:{viewSettings:{default:()=>({canEdit:!1,isForm:!1,setFormValue:null,isPublicForm:!1})},containerType:{default:()=>({})}},computed:{canEdit(){return ee(this,"viewSettings.canEdit")},device(){return ee(this,"containerType.device","")},isForm(){return ee(this,"viewSettings.isForm")},...t.reduce((i,o)=>{const s=o,u={get(){return this._value?ee(this._document,(this._value||{})[o]):ee(this.$attrs,o)},set(l){this.setField({field:o,value:l,type:r})}};return i[s]=u,i},{})},methods:{setField({key:i,field:o,value:s,options:u,type:l}){const d=i||(this._value||{})[o];if(!d)return;const c=a?this[a]:this.viewSettings.setFormValue;!n&&typeof c=="function"?c({key:d,value:s,options:u}):e?(l==="number"&&Number.isNaN(parseFloat(s))&&(s=null),this.$emit(e,{key:d,value:s,options:u})):this.$emit({key:d,value:s,options:u})}}});var LG={exports:{}};//! moment.js
@@ -557,7 +557,7 @@ Gl\xF6m inte bort att l\xE4sa dokumentet fr\xE5n {{company.name}}. L\xE4s mer oc
557
557
  var WG;function le(){return WG.apply(null,arguments)}function vGe(t){WG=t}function vn(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function So(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function Ge(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function OE(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(Ge(t,e))return!1;return!0}function _r(t){return t===void 0}function va(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function Ed(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function FG(t,e){var r=[],n,a=t.length;for(n=0;n<a;++n)r.push(e(t[n],n));return r}function mi(t,e){for(var r in e)Ge(e,r)&&(t[r]=e[r]);return Ge(e,"toString")&&(t.toString=e.toString),Ge(e,"valueOf")&&(t.valueOf=e.valueOf),t}function Un(t,e,r,n){return f9(t,e,r,n,!0).utc()}function gGe(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function $e(t){return t._pf==null&&(t._pf=gGe()),t._pf}var CE;Array.prototype.some?CE=Array.prototype.some:CE=function(t){var e=Object(this),r=e.length>>>0,n;for(n=0;n<r;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};function DE(t){if(t._isValid==null){var e=$e(t),r=CE.call(e.parsedDateParts,function(a){return a!=null}),n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r);if(t._strict&&(n=n&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=n;else return n}return t._isValid}function uh(t){var e=Un(NaN);return t!=null?mi($e(e),t):$e(e).userInvalidated=!0,e}var jG=le.momentProperties=[],$E=!1;function AE(t,e){var r,n,a,i=jG.length;if(_r(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),_r(e._i)||(t._i=e._i),_r(e._f)||(t._f=e._f),_r(e._l)||(t._l=e._l),_r(e._strict)||(t._strict=e._strict),_r(e._tzm)||(t._tzm=e._tzm),_r(e._isUTC)||(t._isUTC=e._isUTC),_r(e._offset)||(t._offset=e._offset),_r(e._pf)||(t._pf=$e(e)),_r(e._locale)||(t._locale=e._locale),i>0)for(r=0;r<i;r++)n=jG[r],a=e[n],_r(a)||(t[n]=a);return t}function Md(t){AE(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),$E===!1&&($E=!0,le.updateOffset(this),$E=!1)}function gn(t){return t instanceof Md||t!=null&&t._isAMomentObject!=null}function VG(t){le.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function Gr(t,e){var r=!0;return mi(function(){if(le.deprecationHandler!=null&&le.deprecationHandler(null,t),r){var n=[],a,i,o,s=arguments.length;for(i=0;i<s;i++){if(a="",typeof arguments[i]=="object"){a+=`
558
558
  [`+i+"] ";for(o in arguments[0])Ge(arguments[0],o)&&(a+=o+": "+arguments[0][o]+", ");a=a.slice(0,-2)}else a=arguments[i];n.push(a)}VG(t+`
559
559
  Arguments: `+Array.prototype.slice.call(n).join("")+`
560
- `+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var UG={};function zG(t,e){le.deprecationHandler!=null&&le.deprecationHandler(t,e),UG[t]||(VG(e),UG[t]=!0)}le.suppressDeprecationWarnings=!1,le.deprecationHandler=null;function zn(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function yGe(t){var e,r;for(r in t)Ge(t,r)&&(e=t[r],zn(e)?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function RE(t,e){var r=mi({},t),n;for(n in e)Ge(e,n)&&(So(t[n])&&So(e[n])?(r[n]={},mi(r[n],t[n]),mi(r[n],e[n])):e[n]!=null?r[n]=e[n]:delete r[n]);for(n in t)Ge(t,n)&&!Ge(e,n)&&So(t[n])&&(r[n]=mi({},r[n]));return r}function IE(t){t!=null&&this.set(t)}var NE;Object.keys?NE=Object.keys:NE=function(t){var e,r=[];for(e in t)Ge(t,e)&&r.push(e);return r};var _Ge={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function bGe(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return zn(n)?n.call(e,r):n}function Bn(t,e,r){var n=""+Math.abs(t),a=e-n.length,i=t>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var LE=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,lh=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,WE={},hu={};function ye(t,e,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),t&&(hu[t]=a),e&&(hu[e[0]]=function(){return Bn(a.apply(this,arguments),e[1],e[2])}),r&&(hu[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function wGe(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function xGe(t){var e=t.match(LE),r,n;for(r=0,n=e.length;r<n;r++)hu[e[r]]?e[r]=hu[e[r]]:e[r]=wGe(e[r]);return function(a){var i="",o;for(o=0;o<n;o++)i+=zn(e[o])?e[o].call(a,t):e[o];return i}}function dh(t,e){return t.isValid()?(e=BG(e,t.localeData()),WE[e]=WE[e]||xGe(e),WE[e](t)):t.localeData().invalidDate()}function BG(t,e){var r=5;function n(a){return e.longDateFormat(a)||a}for(lh.lastIndex=0;r>=0&&lh.test(t);)t=t.replace(lh,n),lh.lastIndex=0,r-=1;return t}var PGe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function kGe(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(LE).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[t])}var TGe="Invalid date";function EGe(){return this._invalidDate}var MGe="%d",SGe=/\d{1,2}/;function OGe(t){return this._ordinal.replace("%d",t)}var CGe={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function DGe(t,e,r,n){var a=this._relativeTime[r];return zn(a)?a(t,e,r,n):a.replace(/%d/i,t)}function $Ge(t,e){var r=this._relativeTime[t>0?"future":"past"];return zn(r)?r(e):r.replace(/%s/i,e)}var Sd={};function ir(t,e){var r=t.toLowerCase();Sd[r]=Sd[r+"s"]=Sd[e]=t}function Kr(t){return typeof t=="string"?Sd[t]||Sd[t.toLowerCase()]:void 0}function FE(t){var e={},r,n;for(n in t)Ge(t,n)&&(r=Kr(n),r&&(e[r]=t[n]));return e}var HG={};function or(t,e){HG[t]=e}function AGe(t){var e=[],r;for(r in t)Ge(t,r)&&e.push({unit:r,priority:HG[r]});return e.sort(function(n,a){return n.priority-a.priority}),e}function ch(t){return t%4===0&&t%100!==0||t%400===0}function Xr(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function Fe(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=Xr(e)),r}function vu(t,e){return function(r){return r!=null?(qG(this,t,r),le.updateOffset(this,e),this):fh(this,t)}}function fh(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function qG(t,e,r){t.isValid()&&!isNaN(r)&&(e==="FullYear"&&ch(t.year())&&t.month()===1&&t.date()===29?(r=Fe(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),_h(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}function RGe(t){return t=Kr(t),zn(this[t])?this[t]():this}function IGe(t,e){if(typeof t=="object"){t=FE(t);var r=AGe(t),n,a=r.length;for(n=0;n<a;n++)this[r[n].unit](t[r[n].unit])}else if(t=Kr(t),zn(this[t]))return this[t](e);return this}var YG=/\d/,Lr=/\d\d/,GG=/\d{3}/,jE=/\d{4}/,mh=/[+-]?\d{6}/,ht=/\d\d?/,KG=/\d\d\d\d?/,XG=/\d\d\d\d\d\d?/,ph=/\d{1,3}/,VE=/\d{1,4}/,hh=/[+-]?\d{1,6}/,gu=/\d+/,vh=/[+-]?\d+/,NGe=/Z|[+-]\d\d:?\d\d/gi,gh=/Z|[+-]\d\d(?::?\d\d)?/gi,LGe=/[+-]?\d+(\.\d{1,3})?/,Od=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,yh;yh={};function de(t,e,r){yh[t]=zn(e)?e:function(n,a){return n&&r?r:e}}function WGe(t,e){return Ge(yh,t)?yh[t](e._strict,e._locale):new RegExp(FGe(t))}function FGe(t){return Wr(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,n,a,i){return r||n||a||i}))}function Wr(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var UE={};function at(t,e){var r,n=e,a;for(typeof t=="string"&&(t=[t]),va(e)&&(n=function(i,o){o[e]=Fe(i)}),a=t.length,r=0;r<a;r++)UE[t[r]]=n}function Cd(t,e){at(t,function(r,n,a,i){a._w=a._w||{},e(r,a._w,a,i)})}function jGe(t,e,r){e!=null&&Ge(UE,t)&&UE[t](e,r._a,r,t)}var sr=0,ga=1,Hn=2,Ft=3,yn=4,ya=5,Oo=6,VGe=7,UGe=8;function zGe(t,e){return(t%e+e)%e}var $t;Array.prototype.indexOf?$t=Array.prototype.indexOf:$t=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function _h(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=zGe(e,12);return t+=(e-r)/12,r===1?ch(t)?29:28:31-r%7%2}ye("M",["MM",2],"Mo",function(){return this.month()+1}),ye("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),ye("MMMM",0,0,function(t){return this.localeData().months(this,t)}),ir("month","M"),or("month",8),de("M",ht),de("MM",ht,Lr),de("MMM",function(t,e){return e.monthsShortRegex(t)}),de("MMMM",function(t,e){return e.monthsRegex(t)}),at(["M","MM"],function(t,e){e[ga]=Fe(t)-1}),at(["MMM","MMMM"],function(t,e,r,n){var a=r._locale.monthsParse(t,n,r._strict);a!=null?e[ga]=a:$e(r).invalidMonth=t});var BGe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),JG="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),QG=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,HGe=Od,qGe=Od;function YGe(t,e){return t?vn(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||QG).test(e)?"format":"standalone"][t.month()]:vn(this._months)?this._months:this._months.standalone}function GGe(t,e){return t?vn(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[QG.test(e)?"format":"standalone"][t.month()]:vn(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function KGe(t,e,r){var n,a,i,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=Un([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?e==="MMM"?(a=$t.call(this._shortMonthsParse,o),a!==-1?a:null):(a=$t.call(this._longMonthsParse,o),a!==-1?a:null):e==="MMM"?(a=$t.call(this._shortMonthsParse,o),a!==-1?a:(a=$t.call(this._longMonthsParse,o),a!==-1?a:null)):(a=$t.call(this._longMonthsParse,o),a!==-1?a:(a=$t.call(this._shortMonthsParse,o),a!==-1?a:null))}function XGe(t,e,r){var n,a,i;if(this._monthsParseExact)return KGe.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=Un([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&e==="MMMM"&&this._longMonthsParse[n].test(t))return n;if(r&&e==="MMM"&&this._shortMonthsParse[n].test(t))return n;if(!r&&this._monthsParse[n].test(t))return n}}function ZG(t,e){var r;if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=Fe(e);else if(e=t.localeData().monthsParse(e),!va(e))return t}return r=Math.min(t.date(),_h(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function e9(t){return t!=null?(ZG(this,t),le.updateOffset(this,!0),this):fh(this,"Month")}function JGe(){return _h(this.year(),this.month())}function QGe(t){return this._monthsParseExact?(Ge(this,"_monthsRegex")||t9.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Ge(this,"_monthsShortRegex")||(this._monthsShortRegex=HGe),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function ZGe(t){return this._monthsParseExact?(Ge(this,"_monthsRegex")||t9.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Ge(this,"_monthsRegex")||(this._monthsRegex=qGe),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function t9(){function t(o,s){return s.length-o.length}var e=[],r=[],n=[],a,i;for(a=0;a<12;a++)i=Un([2e3,a]),e.push(this.monthsShort(i,"")),r.push(this.months(i,"")),n.push(this.months(i,"")),n.push(this.monthsShort(i,""));for(e.sort(t),r.sort(t),n.sort(t),a=0;a<12;a++)e[a]=Wr(e[a]),r[a]=Wr(r[a]);for(a=0;a<24;a++)n[a]=Wr(n[a]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}ye("Y",0,0,function(){var t=this.year();return t<=9999?Bn(t,4):"+"+t}),ye(0,["YY",2],0,function(){return this.year()%100}),ye(0,["YYYY",4],0,"year"),ye(0,["YYYYY",5],0,"year"),ye(0,["YYYYYY",6,!0],0,"year"),ir("year","y"),or("year",1),de("Y",vh),de("YY",ht,Lr),de("YYYY",VE,jE),de("YYYYY",hh,mh),de("YYYYYY",hh,mh),at(["YYYYY","YYYYYY"],sr),at("YYYY",function(t,e){e[sr]=t.length===2?le.parseTwoDigitYear(t):Fe(t)}),at("YY",function(t,e){e[sr]=le.parseTwoDigitYear(t)}),at("Y",function(t,e){e[sr]=parseInt(t,10)});function Dd(t){return ch(t)?366:365}le.parseTwoDigitYear=function(t){return Fe(t)+(Fe(t)>68?1900:2e3)};var r9=vu("FullYear",!0);function e9e(){return ch(this.year())}function t9e(t,e,r,n,a,i,o){var s;return t<100&&t>=0?(s=new Date(t+400,e,r,n,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,r,n,a,i,o),s}function $d(t){var e,r;return t<100&&t>=0?(r=Array.prototype.slice.call(arguments),r[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function bh(t,e,r){var n=7+e-r,a=(7+$d(t,0,n).getUTCDay()-e)%7;return-a+n-1}function n9(t,e,r,n,a){var i=(7+r-n)%7,o=bh(t,n,a),s=1+7*(e-1)+i+o,u,l;return s<=0?(u=t-1,l=Dd(u)+s):s>Dd(t)?(u=t+1,l=s-Dd(t)):(u=t,l=s),{year:u,dayOfYear:l}}function Ad(t,e,r){var n=bh(t.year(),e,r),a=Math.floor((t.dayOfYear()-n-1)/7)+1,i,o;return a<1?(o=t.year()-1,i=a+_a(o,e,r)):a>_a(t.year(),e,r)?(i=a-_a(t.year(),e,r),o=t.year()+1):(o=t.year(),i=a),{week:i,year:o}}function _a(t,e,r){var n=bh(t,e,r),a=bh(t+1,e,r);return(Dd(t)-n+a)/7}ye("w",["ww",2],"wo","week"),ye("W",["WW",2],"Wo","isoWeek"),ir("week","w"),ir("isoWeek","W"),or("week",5),or("isoWeek",5),de("w",ht),de("ww",ht,Lr),de("W",ht),de("WW",ht,Lr),Cd(["w","ww","W","WW"],function(t,e,r,n){e[n.substr(0,1)]=Fe(t)});function r9e(t){return Ad(t,this._week.dow,this._week.doy).week}var n9e={dow:0,doy:6};function a9e(){return this._week.dow}function i9e(){return this._week.doy}function o9e(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function s9e(t){var e=Ad(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}ye("d",0,"do","day"),ye("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),ye("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),ye("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),ye("e",0,0,"weekday"),ye("E",0,0,"isoWeekday"),ir("day","d"),ir("weekday","e"),ir("isoWeekday","E"),or("day",11),or("weekday",11),or("isoWeekday",11),de("d",ht),de("e",ht),de("E",ht),de("dd",function(t,e){return e.weekdaysMinRegex(t)}),de("ddd",function(t,e){return e.weekdaysShortRegex(t)}),de("dddd",function(t,e){return e.weekdaysRegex(t)}),Cd(["dd","ddd","dddd"],function(t,e,r,n){var a=r._locale.weekdaysParse(t,n,r._strict);a!=null?e.d=a:$e(r).invalidWeekday=t}),Cd(["d","e","E"],function(t,e,r,n){e[n]=Fe(t)});function u9e(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function l9e(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function zE(t,e){return t.slice(e,7).concat(t.slice(0,e))}var d9e="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),a9="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),c9e="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),f9e=Od,m9e=Od,p9e=Od;function h9e(t,e){var r=vn(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?zE(r,this._week.dow):t?r[t.day()]:r}function v9e(t){return t===!0?zE(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function g9e(t){return t===!0?zE(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function y9e(t,e,r){var n,a,i,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=Un([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?e==="dddd"?(a=$t.call(this._weekdaysParse,o),a!==-1?a:null):e==="ddd"?(a=$t.call(this._shortWeekdaysParse,o),a!==-1?a:null):(a=$t.call(this._minWeekdaysParse,o),a!==-1?a:null):e==="dddd"?(a=$t.call(this._weekdaysParse,o),a!==-1||(a=$t.call(this._shortWeekdaysParse,o),a!==-1)?a:(a=$t.call(this._minWeekdaysParse,o),a!==-1?a:null)):e==="ddd"?(a=$t.call(this._shortWeekdaysParse,o),a!==-1||(a=$t.call(this._weekdaysParse,o),a!==-1)?a:(a=$t.call(this._minWeekdaysParse,o),a!==-1?a:null)):(a=$t.call(this._minWeekdaysParse,o),a!==-1||(a=$t.call(this._weekdaysParse,o),a!==-1)?a:(a=$t.call(this._shortWeekdaysParse,o),a!==-1?a:null))}function _9e(t,e,r){var n,a,i;if(this._weekdaysParseExact)return y9e.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=Un([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&e==="dddd"&&this._fullWeekdaysParse[n].test(t))return n;if(r&&e==="ddd"&&this._shortWeekdaysParse[n].test(t))return n;if(r&&e==="dd"&&this._minWeekdaysParse[n].test(t))return n;if(!r&&this._weekdaysParse[n].test(t))return n}}function b9e(t){if(!this.isValid())return t!=null?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return t!=null?(t=u9e(t,this.localeData()),this.add(t-e,"d")):e}function w9e(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function x9e(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=l9e(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function P9e(t){return this._weekdaysParseExact?(Ge(this,"_weekdaysRegex")||BE.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Ge(this,"_weekdaysRegex")||(this._weekdaysRegex=f9e),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function k9e(t){return this._weekdaysParseExact?(Ge(this,"_weekdaysRegex")||BE.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ge(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=m9e),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function T9e(t){return this._weekdaysParseExact?(Ge(this,"_weekdaysRegex")||BE.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ge(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=p9e),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function BE(){function t(d,c){return c.length-d.length}var e=[],r=[],n=[],a=[],i,o,s,u,l;for(i=0;i<7;i++)o=Un([2e3,1]).day(i),s=Wr(this.weekdaysMin(o,"")),u=Wr(this.weekdaysShort(o,"")),l=Wr(this.weekdays(o,"")),e.push(s),r.push(u),n.push(l),a.push(s),a.push(u),a.push(l);e.sort(t),r.sort(t),n.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function HE(){return this.hours()%12||12}function E9e(){return this.hours()||24}ye("H",["HH",2],0,"hour"),ye("h",["hh",2],0,HE),ye("k",["kk",2],0,E9e),ye("hmm",0,0,function(){return""+HE.apply(this)+Bn(this.minutes(),2)}),ye("hmmss",0,0,function(){return""+HE.apply(this)+Bn(this.minutes(),2)+Bn(this.seconds(),2)}),ye("Hmm",0,0,function(){return""+this.hours()+Bn(this.minutes(),2)}),ye("Hmmss",0,0,function(){return""+this.hours()+Bn(this.minutes(),2)+Bn(this.seconds(),2)});function i9(t,e){ye(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}i9("a",!0),i9("A",!1),ir("hour","h"),or("hour",13);function o9(t,e){return e._meridiemParse}de("a",o9),de("A",o9),de("H",ht),de("h",ht),de("k",ht),de("HH",ht,Lr),de("hh",ht,Lr),de("kk",ht,Lr),de("hmm",KG),de("hmmss",XG),de("Hmm",KG),de("Hmmss",XG),at(["H","HH"],Ft),at(["k","kk"],function(t,e,r){var n=Fe(t);e[Ft]=n===24?0:n}),at(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t}),at(["h","hh"],function(t,e,r){e[Ft]=Fe(t),$e(r).bigHour=!0}),at("hmm",function(t,e,r){var n=t.length-2;e[Ft]=Fe(t.substr(0,n)),e[yn]=Fe(t.substr(n)),$e(r).bigHour=!0}),at("hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[Ft]=Fe(t.substr(0,n)),e[yn]=Fe(t.substr(n,2)),e[ya]=Fe(t.substr(a)),$e(r).bigHour=!0}),at("Hmm",function(t,e,r){var n=t.length-2;e[Ft]=Fe(t.substr(0,n)),e[yn]=Fe(t.substr(n))}),at("Hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[Ft]=Fe(t.substr(0,n)),e[yn]=Fe(t.substr(n,2)),e[ya]=Fe(t.substr(a))});function M9e(t){return(t+"").toLowerCase().charAt(0)==="p"}var S9e=/[ap]\.?m?\.?/i,O9e=vu("Hours",!0);function C9e(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var s9={calendar:_Ge,longDateFormat:PGe,invalidDate:TGe,ordinal:MGe,dayOfMonthOrdinalParse:SGe,relativeTime:CGe,months:BGe,monthsShort:JG,week:n9e,weekdays:d9e,weekdaysMin:c9e,weekdaysShort:a9,meridiemParse:S9e},wt={},Rd={},Id;function D9e(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}function u9(t){return t&&t.toLowerCase().replace("_","-")}function $9e(t){for(var e=0,r,n,a,i;e<t.length;){for(i=u9(t[e]).split("-"),r=i.length,n=u9(t[e+1]),n=n?n.split("-"):null;r>0;){if(a=wh(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&D9e(i,n)>=r-1)break;r--}e++}return Id}function A9e(t){return t.match("^[^/\\\\]*$")!=null}function wh(t){var e=null,r;if(wt[t]===void 0&&typeof module<"u"&&module&&module.exports&&A9e(t))try{e=Id._abbr,r=require,r("./locale/"+t),pi(e)}catch{wt[t]=null}return wt[t]}function pi(t,e){var r;return t&&(_r(e)?r=ba(t):r=qE(t,e),r?Id=r:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Id._abbr}function qE(t,e){if(e!==null){var r,n=s9;if(e.abbr=t,wt[t]!=null)zG("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=wt[t]._config;else if(e.parentLocale!=null)if(wt[e.parentLocale]!=null)n=wt[e.parentLocale]._config;else if(r=wh(e.parentLocale),r!=null)n=r._config;else return Rd[e.parentLocale]||(Rd[e.parentLocale]=[]),Rd[e.parentLocale].push({name:t,config:e}),null;return wt[t]=new IE(RE(n,e)),Rd[t]&&Rd[t].forEach(function(a){qE(a.name,a.config)}),pi(t),wt[t]}else return delete wt[t],null}function R9e(t,e){if(e!=null){var r,n,a=s9;wt[t]!=null&&wt[t].parentLocale!=null?wt[t].set(RE(wt[t]._config,e)):(n=wh(t),n!=null&&(a=n._config),e=RE(a,e),n==null&&(e.abbr=t),r=new IE(e),r.parentLocale=wt[t],wt[t]=r),pi(t)}else wt[t]!=null&&(wt[t].parentLocale!=null?(wt[t]=wt[t].parentLocale,t===pi()&&pi(t)):wt[t]!=null&&delete wt[t]);return wt[t]}function ba(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Id;if(!vn(t)){if(e=wh(t),e)return e;t=[t]}return $9e(t)}function I9e(){return NE(wt)}function YE(t){var e,r=t._a;return r&&$e(t).overflow===-2&&(e=r[ga]<0||r[ga]>11?ga:r[Hn]<1||r[Hn]>_h(r[sr],r[ga])?Hn:r[Ft]<0||r[Ft]>24||r[Ft]===24&&(r[yn]!==0||r[ya]!==0||r[Oo]!==0)?Ft:r[yn]<0||r[yn]>59?yn:r[ya]<0||r[ya]>59?ya:r[Oo]<0||r[Oo]>999?Oo:-1,$e(t)._overflowDayOfYear&&(e<sr||e>Hn)&&(e=Hn),$e(t)._overflowWeeks&&e===-1&&(e=VGe),$e(t)._overflowWeekday&&e===-1&&(e=UGe),$e(t).overflow=e),t}var N9e=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,L9e=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,W9e=/Z|[+-]\d\d(?::?\d\d)?/,xh=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],GE=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],F9e=/^\/?Date\((-?\d+)/i,j9e=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,V9e={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function l9(t){var e,r,n=t._i,a=N9e.exec(n)||L9e.exec(n),i,o,s,u,l=xh.length,d=GE.length;if(a){for($e(t).iso=!0,e=0,r=l;e<r;e++)if(xh[e][1].exec(a[1])){o=xh[e][0],i=xh[e][2]!==!1;break}if(o==null){t._isValid=!1;return}if(a[3]){for(e=0,r=d;e<r;e++)if(GE[e][1].exec(a[3])){s=(a[2]||" ")+GE[e][0];break}if(s==null){t._isValid=!1;return}}if(!i&&s!=null){t._isValid=!1;return}if(a[4])if(W9e.exec(a[4]))u="Z";else{t._isValid=!1;return}t._f=o+(s||"")+(u||""),XE(t)}else t._isValid=!1}function U9e(t,e,r,n,a,i){var o=[z9e(t),JG.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&o.push(parseInt(i,10)),o}function z9e(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function B9e(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function H9e(t,e,r){if(t){var n=a9.indexOf(t),a=new Date(e[0],e[1],e[2]).getDay();if(n!==a)return $e(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function q9e(t,e,r){if(t)return V9e[t];if(e)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function d9(t){var e=j9e.exec(B9e(t._i)),r;if(e){if(r=U9e(e[4],e[3],e[2],e[5],e[6],e[7]),!H9e(e[1],r,t))return;t._a=r,t._tzm=q9e(e[8],e[9],e[10]),t._d=$d.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),$e(t).rfc2822=!0}else t._isValid=!1}function Y9e(t){var e=F9e.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(l9(t),t._isValid===!1)delete t._isValid;else return;if(d9(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:le.createFromInputFallback(t)}le.createFromInputFallback=Gr("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function yu(t,e,r){return t!=null?t:e!=null?e:r}function G9e(t){var e=new Date(le.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function KE(t){var e,r,n=[],a,i,o;if(!t._d){for(a=G9e(t),t._w&&t._a[Hn]==null&&t._a[ga]==null&&K9e(t),t._dayOfYear!=null&&(o=yu(t._a[sr],a[sr]),(t._dayOfYear>Dd(o)||t._dayOfYear===0)&&($e(t)._overflowDayOfYear=!0),r=$d(o,0,t._dayOfYear),t._a[ga]=r.getUTCMonth(),t._a[Hn]=r.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=n[e]=a[e];for(;e<7;e++)t._a[e]=n[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[Ft]===24&&t._a[yn]===0&&t._a[ya]===0&&t._a[Oo]===0&&(t._nextDay=!0,t._a[Ft]=0),t._d=(t._useUTC?$d:t9e).apply(null,n),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Ft]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==i&&($e(t).weekdayMismatch=!0)}}function K9e(t){var e,r,n,a,i,o,s,u,l;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,o=4,r=yu(e.GG,t._a[sr],Ad(vt(),1,4).year),n=yu(e.W,1),a=yu(e.E,1),(a<1||a>7)&&(u=!0)):(i=t._locale._week.dow,o=t._locale._week.doy,l=Ad(vt(),i,o),r=yu(e.gg,t._a[sr],l.year),n=yu(e.w,l.week),e.d!=null?(a=e.d,(a<0||a>6)&&(u=!0)):e.e!=null?(a=e.e+i,(e.e<0||e.e>6)&&(u=!0)):a=i),n<1||n>_a(r,i,o)?$e(t)._overflowWeeks=!0:u!=null?$e(t)._overflowWeekday=!0:(s=n9(r,n,a,i,o),t._a[sr]=s.year,t._dayOfYear=s.dayOfYear)}le.ISO_8601=function(){},le.RFC_2822=function(){};function XE(t){if(t._f===le.ISO_8601){l9(t);return}if(t._f===le.RFC_2822){d9(t);return}t._a=[],$e(t).empty=!0;var e=""+t._i,r,n,a,i,o,s=e.length,u=0,l,d;for(a=BG(t._f,t._locale).match(LE)||[],d=a.length,r=0;r<d;r++)i=a[r],n=(e.match(WGe(i,t))||[])[0],n&&(o=e.substr(0,e.indexOf(n)),o.length>0&&$e(t).unusedInput.push(o),e=e.slice(e.indexOf(n)+n.length),u+=n.length),hu[i]?(n?$e(t).empty=!1:$e(t).unusedTokens.push(i),jGe(i,n,t)):t._strict&&!n&&$e(t).unusedTokens.push(i);$e(t).charsLeftOver=s-u,e.length>0&&$e(t).unusedInput.push(e),t._a[Ft]<=12&&$e(t).bigHour===!0&&t._a[Ft]>0&&($e(t).bigHour=void 0),$e(t).parsedDateParts=t._a.slice(0),$e(t).meridiem=t._meridiem,t._a[Ft]=X9e(t._locale,t._a[Ft],t._meridiem),l=$e(t).era,l!==null&&(t._a[sr]=t._locale.erasConvertYear(l,t._a[sr])),KE(t),YE(t)}function X9e(t,e,r){var n;return r==null?e:t.meridiemHour!=null?t.meridiemHour(e,r):(t.isPM!=null&&(n=t.isPM(r),n&&e<12&&(e+=12),!n&&e===12&&(e=0)),e)}function J9e(t){var e,r,n,a,i,o,s=!1,u=t._f.length;if(u===0){$e(t).invalidFormat=!0,t._d=new Date(NaN);return}for(a=0;a<u;a++)i=0,o=!1,e=AE({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[a],XE(e),DE(e)&&(o=!0),i+=$e(e).charsLeftOver,i+=$e(e).unusedTokens.length*10,$e(e).score=i,s?i<n&&(n=i,r=e):(n==null||i<n||o)&&(n=i,r=e,o&&(s=!0));mi(t,r||e)}function Q9e(t){if(!t._d){var e=FE(t._i),r=e.day===void 0?e.date:e.day;t._a=FG([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(n){return n&&parseInt(n,10)}),KE(t)}}function Z9e(t){var e=new Md(YE(c9(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function c9(t){var e=t._i,r=t._f;return t._locale=t._locale||ba(t._l),e===null||r===void 0&&e===""?uh({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),gn(e)?new Md(YE(e)):(Ed(e)?t._d=e:vn(r)?J9e(t):r?XE(t):eKe(t),DE(t)||(t._d=null),t))}function eKe(t){var e=t._i;_r(e)?t._d=new Date(le.now()):Ed(e)?t._d=new Date(e.valueOf()):typeof e=="string"?Y9e(t):vn(e)?(t._a=FG(e.slice(0),function(r){return parseInt(r,10)}),KE(t)):So(e)?Q9e(t):va(e)?t._d=new Date(e):le.createFromInputFallback(t)}function f9(t,e,r,n,a){var i={};return(e===!0||e===!1)&&(n=e,e=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(So(t)&&OE(t)||vn(t)&&t.length===0)&&(t=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=t,i._f=e,i._strict=n,Z9e(i)}function vt(t,e,r,n){return f9(t,e,r,n,!1)}var tKe=Gr("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=vt.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:uh()}),rKe=Gr("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=vt.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:uh()});function m9(t,e){var r,n;if(e.length===1&&vn(e[0])&&(e=e[0]),!e.length)return vt();for(r=e[0],n=1;n<e.length;++n)(!e[n].isValid()||e[n][t](r))&&(r=e[n]);return r}function nKe(){var t=[].slice.call(arguments,0);return m9("isBefore",t)}function aKe(){var t=[].slice.call(arguments,0);return m9("isAfter",t)}var iKe=function(){return Date.now?Date.now():+new Date},Nd=["year","quarter","month","week","day","hour","minute","second","millisecond"];function oKe(t){var e,r=!1,n,a=Nd.length;for(e in t)if(Ge(t,e)&&!($t.call(Nd,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(n=0;n<a;++n)if(t[Nd[n]]){if(r)return!1;parseFloat(t[Nd[n]])!==Fe(t[Nd[n]])&&(r=!0)}return!0}function sKe(){return this._isValid}function uKe(){return _n(NaN)}function Ph(t){var e=FE(t),r=e.year||0,n=e.quarter||0,a=e.month||0,i=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,u=e.minute||0,l=e.second||0,d=e.millisecond||0;this._isValid=oKe(e),this._milliseconds=+d+l*1e3+u*6e4+s*1e3*60*60,this._days=+o+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=ba(),this._bubble()}function kh(t){return t instanceof Ph}function JE(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function lKe(t,e,r){var n=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),i=0,o;for(o=0;o<n;o++)(r&&t[o]!==e[o]||!r&&Fe(t[o])!==Fe(e[o]))&&i++;return i+a}function p9(t,e){ye(t,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+Bn(~~(r/60),2)+e+Bn(~~r%60,2)})}p9("Z",":"),p9("ZZ",""),de("Z",gh),de("ZZ",gh),at(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=QE(gh,t)});var dKe=/([\+\-]|\d\d)/gi;function QE(t,e){var r=(e||"").match(t),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(dKe)||["-",0,0],i=+(a[1]*60)+Fe(a[2]),i===0?0:a[0]==="+"?i:-i)}function ZE(t,e){var r,n;return e._isUTC?(r=e.clone(),n=(gn(t)||Ed(t)?t.valueOf():vt(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),le.updateOffset(r,!1),r):vt(t).local()}function eM(t){return-Math.round(t._d.getTimezoneOffset())}le.updateOffset=function(){};function cKe(t,e,r){var n=this._offset||0,a;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=QE(gh,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(a=eM(this)),this._offset=t,this._isUTC=!0,a!=null&&this.add(a,"m"),n!==t&&(!e||this._changeInProgress?y9(this,_n(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,le.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:eM(this)}function fKe(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function mKe(t){return this.utcOffset(0,t)}function pKe(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(eM(this),"m")),this}function hKe(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=QE(NGe,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function vKe(t){return this.isValid()?(t=t?vt(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function gKe(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function yKe(){if(!_r(this._isDSTShifted))return this._isDSTShifted;var t={},e;return AE(t,this),t=c9(t),t._a?(e=t._isUTC?Un(t._a):vt(t._a),this._isDSTShifted=this.isValid()&&lKe(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function _Ke(){return this.isValid()?!this._isUTC:!1}function bKe(){return this.isValid()?this._isUTC:!1}function h9(){return this.isValid()?this._isUTC&&this._offset===0:!1}var wKe=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,xKe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function _n(t,e){var r=t,n=null,a,i,o;return kh(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:va(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(n=wKe.exec(t))?(a=n[1]==="-"?-1:1,r={y:0,d:Fe(n[Hn])*a,h:Fe(n[Ft])*a,m:Fe(n[yn])*a,s:Fe(n[ya])*a,ms:Fe(JE(n[Oo]*1e3))*a}):(n=xKe.exec(t))?(a=n[1]==="-"?-1:1,r={y:Co(n[2],a),M:Co(n[3],a),w:Co(n[4],a),d:Co(n[5],a),h:Co(n[6],a),m:Co(n[7],a),s:Co(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(o=PKe(vt(r.from),vt(r.to)),r={},r.ms=o.milliseconds,r.M=o.months),i=new Ph(r),kh(t)&&Ge(t,"_locale")&&(i._locale=t._locale),kh(t)&&Ge(t,"_isValid")&&(i._isValid=t._isValid),i}_n.fn=Ph.prototype,_n.invalid=uKe;function Co(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function v9(t,e){var r={};return r.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function PKe(t,e){var r;return t.isValid()&&e.isValid()?(e=ZE(e,t),t.isBefore(e)?r=v9(t,e):(r=v9(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function g9(t,e){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(zG(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),a=_n(r,n),y9(this,a,t),this}}function y9(t,e,r,n){var a=e._milliseconds,i=JE(e._days),o=JE(e._months);!t.isValid()||(n=n==null?!0:n,o&&ZG(t,fh(t,"Month")+o*r),i&&qG(t,"Date",fh(t,"Date")+i*r),a&&t._d.setTime(t._d.valueOf()+a*r),n&&le.updateOffset(t,i||o))}var kKe=g9(1,"add"),TKe=g9(-1,"subtract");function _9(t){return typeof t=="string"||t instanceof String}function EKe(t){return gn(t)||Ed(t)||_9(t)||va(t)||SKe(t)||MKe(t)||t===null||t===void 0}function MKe(t){var e=So(t)&&!OE(t),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,o=n.length;for(a=0;a<o;a+=1)i=n[a],r=r||Ge(t,i);return e&&r}function SKe(t){var e=vn(t),r=!1;return e&&(r=t.filter(function(n){return!va(n)&&_9(t)}).length===0),e&&r}function OKe(t){var e=So(t)&&!OE(t),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<n.length;a+=1)i=n[a],r=r||Ge(t,i);return e&&r}function CKe(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function DKe(t,e){arguments.length===1&&(arguments[0]?EKe(arguments[0])?(t=arguments[0],e=void 0):OKe(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||vt(),n=ZE(r,this).startOf("day"),a=le.calendarFormat(this,n)||"sameElse",i=e&&(zn(e[a])?e[a].call(this,r):e[a]);return this.format(i||this.localeData().calendar(a,this,vt(r)))}function $Ke(){return new Md(this)}function AKe(t,e){var r=gn(t)?t:vt(t);return this.isValid()&&r.isValid()?(e=Kr(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function RKe(t,e){var r=gn(t)?t:vt(t);return this.isValid()&&r.isValid()?(e=Kr(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function IKe(t,e,r,n){var a=gn(t)?t:vt(t),i=gn(e)?e:vt(e);return this.isValid()&&a.isValid()&&i.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(n[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function NKe(t,e){var r=gn(t)?t:vt(t),n;return this.isValid()&&r.isValid()?(e=Kr(e)||"millisecond",e==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())):!1}function LKe(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function WKe(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function FKe(t,e,r){var n,a,i;if(!this.isValid())return NaN;if(n=ZE(t,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,e=Kr(e),e){case"year":i=Th(this,n)/12;break;case"month":i=Th(this,n);break;case"quarter":i=Th(this,n)/3;break;case"second":i=(this-n)/1e3;break;case"minute":i=(this-n)/6e4;break;case"hour":i=(this-n)/36e5;break;case"day":i=(this-n-a)/864e5;break;case"week":i=(this-n-a)/6048e5;break;default:i=this-n}return r?i:Xr(i)}function Th(t,e){if(t.date()<e.date())return-Th(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),n=t.clone().add(r,"months"),a,i;return e-n<0?(a=t.clone().add(r-1,"months"),i=(e-n)/(n-a)):(a=t.clone().add(r+1,"months"),i=(e-n)/(a-n)),-(r+i)||0}le.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",le.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function jKe(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function VKe(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?dh(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):zn(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",dh(r,"Z")):dh(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function UKe(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",r,n,a,i;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),r="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=e+'[")]',this.format(r+n+a+i)}function zKe(t){t||(t=this.isUtc()?le.defaultFormatUtc:le.defaultFormat);var e=dh(this,t);return this.localeData().postformat(e)}function BKe(t,e){return this.isValid()&&(gn(t)&&t.isValid()||vt(t).isValid())?_n({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function HKe(t){return this.from(vt(),t)}function qKe(t,e){return this.isValid()&&(gn(t)&&t.isValid()||vt(t).isValid())?_n({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function YKe(t){return this.to(vt(),t)}function b9(t){var e;return t===void 0?this._locale._abbr:(e=ba(t),e!=null&&(this._locale=e),this)}var w9=Gr("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function x9(){return this._locale}var Eh=1e3,_u=60*Eh,Mh=60*_u,P9=(365*400+97)*24*Mh;function bu(t,e){return(t%e+e)%e}function k9(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-P9:new Date(t,e,r).valueOf()}function T9(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-P9:Date.UTC(t,e,r)}function GKe(t){var e,r;if(t=Kr(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?T9:k9,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=bu(e+(this._isUTC?0:this.utcOffset()*_u),Mh);break;case"minute":e=this._d.valueOf(),e-=bu(e,_u);break;case"second":e=this._d.valueOf(),e-=bu(e,Eh);break}return this._d.setTime(e),le.updateOffset(this,!0),this}function KKe(t){var e,r;if(t=Kr(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?T9:k9,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Mh-bu(e+(this._isUTC?0:this.utcOffset()*_u),Mh)-1;break;case"minute":e=this._d.valueOf(),e+=_u-bu(e,_u)-1;break;case"second":e=this._d.valueOf(),e+=Eh-bu(e,Eh)-1;break}return this._d.setTime(e),le.updateOffset(this,!0),this}function XKe(){return this._d.valueOf()-(this._offset||0)*6e4}function JKe(){return Math.floor(this.valueOf()/1e3)}function QKe(){return new Date(this.valueOf())}function ZKe(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function eXe(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function tXe(){return this.isValid()?this.toISOString():null}function rXe(){return DE(this)}function nXe(){return mi({},$e(this))}function aXe(){return $e(this).overflow}function iXe(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ye("N",0,0,"eraAbbr"),ye("NN",0,0,"eraAbbr"),ye("NNN",0,0,"eraAbbr"),ye("NNNN",0,0,"eraName"),ye("NNNNN",0,0,"eraNarrow"),ye("y",["y",1],"yo","eraYear"),ye("y",["yy",2],0,"eraYear"),ye("y",["yyy",3],0,"eraYear"),ye("y",["yyyy",4],0,"eraYear"),de("N",tM),de("NN",tM),de("NNN",tM),de("NNNN",vXe),de("NNNNN",gXe),at(["N","NN","NNN","NNNN","NNNNN"],function(t,e,r,n){var a=r._locale.erasParse(t,n,r._strict);a?$e(r).era=a:$e(r).invalidEra=t}),de("y",gu),de("yy",gu),de("yyy",gu),de("yyyy",gu),de("yo",yXe),at(["y","yy","yyy","yyyy"],sr),at(["yo"],function(t,e,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[sr]=r._locale.eraYearOrdinalParse(t,a):e[sr]=parseInt(t,10)});function oXe(t,e){var r,n,a,i=this._eras||ba("en")._eras;for(r=0,n=i.length;r<n;++r){switch(typeof i[r].since){case"string":a=le(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=le(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function sXe(t,e,r){var n,a,i=this.eras(),o,s,u;for(t=t.toUpperCase(),n=0,a=i.length;n<a;++n)if(o=i[n].name.toUpperCase(),s=i[n].abbr.toUpperCase(),u=i[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(s===t)return i[n];break;case"NNNN":if(o===t)return i[n];break;case"NNNNN":if(u===t)return i[n];break}else if([o,s,u].indexOf(t)>=0)return i[n]}function uXe(t,e){var r=t.since<=t.until?1:-1;return e===void 0?le(t.since).year():le(t.since).year()+(e-t.offset)*r}function lXe(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].name;return""}function dXe(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].narrow;return""}function cXe(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].abbr;return""}function fXe(){var t,e,r,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t)if(r=a[t].since<=a[t].until?1:-1,n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until||a[t].until<=n&&n<=a[t].since)return(this.year()-le(a[t].since).year())*r+a[t].offset;return this.year()}function mXe(t){return Ge(this,"_erasNameRegex")||rM.call(this),t?this._erasNameRegex:this._erasRegex}function pXe(t){return Ge(this,"_erasAbbrRegex")||rM.call(this),t?this._erasAbbrRegex:this._erasRegex}function hXe(t){return Ge(this,"_erasNarrowRegex")||rM.call(this),t?this._erasNarrowRegex:this._erasRegex}function tM(t,e){return e.erasAbbrRegex(t)}function vXe(t,e){return e.erasNameRegex(t)}function gXe(t,e){return e.erasNarrowRegex(t)}function yXe(t,e){return e._eraYearOrdinalRegex||gu}function rM(){var t=[],e=[],r=[],n=[],a,i,o=this.eras();for(a=0,i=o.length;a<i;++a)e.push(Wr(o[a].name)),t.push(Wr(o[a].abbr)),r.push(Wr(o[a].narrow)),n.push(Wr(o[a].name)),n.push(Wr(o[a].abbr)),n.push(Wr(o[a].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}ye(0,["gg",2],0,function(){return this.weekYear()%100}),ye(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Sh(t,e){ye(0,[t,t.length],0,e)}Sh("gggg","weekYear"),Sh("ggggg","weekYear"),Sh("GGGG","isoWeekYear"),Sh("GGGGG","isoWeekYear"),ir("weekYear","gg"),ir("isoWeekYear","GG"),or("weekYear",1),or("isoWeekYear",1),de("G",vh),de("g",vh),de("GG",ht,Lr),de("gg",ht,Lr),de("GGGG",VE,jE),de("gggg",VE,jE),de("GGGGG",hh,mh),de("ggggg",hh,mh),Cd(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,n){e[n.substr(0,2)]=Fe(t)}),Cd(["gg","GG"],function(t,e,r,n){e[n]=le.parseTwoDigitYear(t)});function _Xe(t){return E9.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function bXe(t){return E9.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function wXe(){return _a(this.year(),1,4)}function xXe(){return _a(this.isoWeekYear(),1,4)}function PXe(){var t=this.localeData()._week;return _a(this.year(),t.dow,t.doy)}function kXe(){var t=this.localeData()._week;return _a(this.weekYear(),t.dow,t.doy)}function E9(t,e,r,n,a){var i;return t==null?Ad(this,n,a).year:(i=_a(t,n,a),e>i&&(e=i),TXe.call(this,t,e,r,n,a))}function TXe(t,e,r,n,a){var i=n9(t,e,r,n,a),o=$d(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}ye("Q",0,"Qo","quarter"),ir("quarter","Q"),or("quarter",7),de("Q",YG),at("Q",function(t,e){e[ga]=(Fe(t)-1)*3});function EXe(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}ye("D",["DD",2],"Do","date"),ir("date","D"),or("date",9),de("D",ht),de("DD",ht,Lr),de("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),at(["D","DD"],Hn),at("Do",function(t,e){e[Hn]=Fe(t.match(ht)[0])});var M9=vu("Date",!0);ye("DDD",["DDDD",3],"DDDo","dayOfYear"),ir("dayOfYear","DDD"),or("dayOfYear",4),de("DDD",ph),de("DDDD",GG),at(["DDD","DDDD"],function(t,e,r){r._dayOfYear=Fe(t)});function MXe(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}ye("m",["mm",2],0,"minute"),ir("minute","m"),or("minute",14),de("m",ht),de("mm",ht,Lr),at(["m","mm"],yn);var SXe=vu("Minutes",!1);ye("s",["ss",2],0,"second"),ir("second","s"),or("second",15),de("s",ht),de("ss",ht,Lr),at(["s","ss"],ya);var OXe=vu("Seconds",!1);ye("S",0,0,function(){return~~(this.millisecond()/100)}),ye(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ye(0,["SSS",3],0,"millisecond"),ye(0,["SSSS",4],0,function(){return this.millisecond()*10}),ye(0,["SSSSS",5],0,function(){return this.millisecond()*100}),ye(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),ye(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),ye(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),ye(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),ir("millisecond","ms"),or("millisecond",16),de("S",ph,YG),de("SS",ph,Lr),de("SSS",ph,GG);var hi,S9;for(hi="SSSS";hi.length<=9;hi+="S")de(hi,gu);function CXe(t,e){e[Oo]=Fe(("0."+t)*1e3)}for(hi="S";hi.length<=9;hi+="S")at(hi,CXe);S9=vu("Milliseconds",!1),ye("z",0,0,"zoneAbbr"),ye("zz",0,0,"zoneName");function DXe(){return this._isUTC?"UTC":""}function $Xe(){return this._isUTC?"Coordinated Universal Time":""}var ne=Md.prototype;ne.add=kKe,ne.calendar=DKe,ne.clone=$Ke,ne.diff=FKe,ne.endOf=KKe,ne.format=zKe,ne.from=BKe,ne.fromNow=HKe,ne.to=qKe,ne.toNow=YKe,ne.get=RGe,ne.invalidAt=aXe,ne.isAfter=AKe,ne.isBefore=RKe,ne.isBetween=IKe,ne.isSame=NKe,ne.isSameOrAfter=LKe,ne.isSameOrBefore=WKe,ne.isValid=rXe,ne.lang=w9,ne.locale=b9,ne.localeData=x9,ne.max=rKe,ne.min=tKe,ne.parsingFlags=nXe,ne.set=IGe,ne.startOf=GKe,ne.subtract=TKe,ne.toArray=ZKe,ne.toObject=eXe,ne.toDate=QKe,ne.toISOString=VKe,ne.inspect=UKe,typeof Symbol<"u"&&Symbol.for!=null&&(ne[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ne.toJSON=tXe,ne.toString=jKe,ne.unix=JKe,ne.valueOf=XKe,ne.creationData=iXe,ne.eraName=lXe,ne.eraNarrow=dXe,ne.eraAbbr=cXe,ne.eraYear=fXe,ne.year=r9,ne.isLeapYear=e9e,ne.weekYear=_Xe,ne.isoWeekYear=bXe,ne.quarter=ne.quarters=EXe,ne.month=e9,ne.daysInMonth=JGe,ne.week=ne.weeks=o9e,ne.isoWeek=ne.isoWeeks=s9e,ne.weeksInYear=PXe,ne.weeksInWeekYear=kXe,ne.isoWeeksInYear=wXe,ne.isoWeeksInISOWeekYear=xXe,ne.date=M9,ne.day=ne.days=b9e,ne.weekday=w9e,ne.isoWeekday=x9e,ne.dayOfYear=MXe,ne.hour=ne.hours=O9e,ne.minute=ne.minutes=SXe,ne.second=ne.seconds=OXe,ne.millisecond=ne.milliseconds=S9,ne.utcOffset=cKe,ne.utc=mKe,ne.local=pKe,ne.parseZone=hKe,ne.hasAlignedHourOffset=vKe,ne.isDST=gKe,ne.isLocal=_Ke,ne.isUtcOffset=bKe,ne.isUtc=h9,ne.isUTC=h9,ne.zoneAbbr=DXe,ne.zoneName=$Xe,ne.dates=Gr("dates accessor is deprecated. Use date instead.",M9),ne.months=Gr("months accessor is deprecated. Use month instead",e9),ne.years=Gr("years accessor is deprecated. Use year instead",r9),ne.zone=Gr("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",fKe),ne.isDSTShifted=Gr("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",yKe);function AXe(t){return vt(t*1e3)}function RXe(){return vt.apply(null,arguments).parseZone()}function O9(t){return t}var Ke=IE.prototype;Ke.calendar=bGe,Ke.longDateFormat=kGe,Ke.invalidDate=EGe,Ke.ordinal=OGe,Ke.preparse=O9,Ke.postformat=O9,Ke.relativeTime=DGe,Ke.pastFuture=$Ge,Ke.set=yGe,Ke.eras=oXe,Ke.erasParse=sXe,Ke.erasConvertYear=uXe,Ke.erasAbbrRegex=pXe,Ke.erasNameRegex=mXe,Ke.erasNarrowRegex=hXe,Ke.months=YGe,Ke.monthsShort=GGe,Ke.monthsParse=XGe,Ke.monthsRegex=ZGe,Ke.monthsShortRegex=QGe,Ke.week=r9e,Ke.firstDayOfYear=i9e,Ke.firstDayOfWeek=a9e,Ke.weekdays=h9e,Ke.weekdaysMin=g9e,Ke.weekdaysShort=v9e,Ke.weekdaysParse=_9e,Ke.weekdaysRegex=P9e,Ke.weekdaysShortRegex=k9e,Ke.weekdaysMinRegex=T9e,Ke.isPM=M9e,Ke.meridiem=C9e;function Oh(t,e,r,n){var a=ba(),i=Un().set(n,e);return a[r](i,t)}function C9(t,e,r){if(va(t)&&(e=t,t=void 0),t=t||"",e!=null)return Oh(t,e,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=Oh(t,n,r,"month");return a}function nM(t,e,r,n){typeof t=="boolean"?(va(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,va(e)&&(r=e,e=void 0),e=e||"");var a=ba(),i=t?a._week.dow:0,o,s=[];if(r!=null)return Oh(e,(r+i)%7,n,"day");for(o=0;o<7;o++)s[o]=Oh(e,(o+i)%7,n,"day");return s}function IXe(t,e){return C9(t,e,"months")}function NXe(t,e){return C9(t,e,"monthsShort")}function LXe(t,e,r){return nM(t,e,r,"weekdays")}function WXe(t,e,r){return nM(t,e,r,"weekdaysShort")}function FXe(t,e,r){return nM(t,e,r,"weekdaysMin")}pi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,r=Fe(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}}),le.lang=Gr("moment.lang is deprecated. Use moment.locale instead.",pi),le.langData=Gr("moment.langData is deprecated. Use moment.localeData instead.",ba);var wa=Math.abs;function jXe(){var t=this._data;return this._milliseconds=wa(this._milliseconds),this._days=wa(this._days),this._months=wa(this._months),t.milliseconds=wa(t.milliseconds),t.seconds=wa(t.seconds),t.minutes=wa(t.minutes),t.hours=wa(t.hours),t.months=wa(t.months),t.years=wa(t.years),this}function D9(t,e,r,n){var a=_n(e,r);return t._milliseconds+=n*a._milliseconds,t._days+=n*a._days,t._months+=n*a._months,t._bubble()}function VXe(t,e){return D9(this,t,e,1)}function UXe(t,e){return D9(this,t,e,-1)}function $9(t){return t<0?Math.floor(t):Math.ceil(t)}function zXe(){var t=this._milliseconds,e=this._days,r=this._months,n=this._data,a,i,o,s,u;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=$9(aM(r)+e)*864e5,e=0,r=0),n.milliseconds=t%1e3,a=Xr(t/1e3),n.seconds=a%60,i=Xr(a/60),n.minutes=i%60,o=Xr(i/60),n.hours=o%24,e+=Xr(o/24),u=Xr(A9(e)),r+=u,e-=$9(aM(u)),s=Xr(r/12),r%=12,n.days=e,n.months=r,n.years=s,this}function A9(t){return t*4800/146097}function aM(t){return t*146097/4800}function BXe(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if(t=Kr(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+n/864e5,r=this._months+A9(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(aM(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return e*24+n/36e5;case"minute":return e*1440+n/6e4;case"second":return e*86400+n/1e3;case"millisecond":return Math.floor(e*864e5)+n;default:throw new Error("Unknown unit "+t)}}function HXe(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+Fe(this._months/12)*31536e6:NaN}function xa(t){return function(){return this.as(t)}}var qXe=xa("ms"),YXe=xa("s"),GXe=xa("m"),KXe=xa("h"),XXe=xa("d"),JXe=xa("w"),QXe=xa("M"),ZXe=xa("Q"),eJe=xa("y");function tJe(){return _n(this)}function rJe(t){return t=Kr(t),this.isValid()?this[t+"s"]():NaN}function Do(t){return function(){return this.isValid()?this._data[t]:NaN}}var nJe=Do("milliseconds"),aJe=Do("seconds"),iJe=Do("minutes"),oJe=Do("hours"),sJe=Do("days"),uJe=Do("months"),lJe=Do("years");function dJe(){return Xr(this.days()/7)}var Pa=Math.round,wu={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function cJe(t,e,r,n,a){return a.relativeTime(e||1,!!r,t,n)}function fJe(t,e,r,n){var a=_n(t).abs(),i=Pa(a.as("s")),o=Pa(a.as("m")),s=Pa(a.as("h")),u=Pa(a.as("d")),l=Pa(a.as("M")),d=Pa(a.as("w")),c=Pa(a.as("y")),m=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||o<=1&&["m"]||o<r.m&&["mm",o]||s<=1&&["h"]||s<r.h&&["hh",s]||u<=1&&["d"]||u<r.d&&["dd",u];return r.w!=null&&(m=m||d<=1&&["w"]||d<r.w&&["ww",d]),m=m||l<=1&&["M"]||l<r.M&&["MM",l]||c<=1&&["y"]||["yy",c],m[2]=e,m[3]=+t>0,m[4]=n,cJe.apply(null,m)}function mJe(t){return t===void 0?Pa:typeof t=="function"?(Pa=t,!0):!1}function pJe(t,e){return wu[t]===void 0?!1:e===void 0?wu[t]:(wu[t]=e,t==="s"&&(wu.ss=e-1),!0)}function hJe(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=wu,a,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(n=Object.assign({},wu,e),e.s!=null&&e.ss==null&&(n.ss=e.s-1)),a=this.localeData(),i=fJe(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var iM=Math.abs;function xu(t){return(t>0)-(t<0)||+t}function Ch(){if(!this.isValid())return this.localeData().invalidDate();var t=iM(this._milliseconds)/1e3,e=iM(this._days),r=iM(this._months),n,a,i,o,s=this.asSeconds(),u,l,d,c;return s?(n=Xr(t/60),a=Xr(n/60),t%=60,n%=60,i=Xr(r/12),r%=12,o=t?t.toFixed(3).replace(/\.?0+$/,""):"",u=s<0?"-":"",l=xu(this._months)!==xu(s)?"-":"",d=xu(this._days)!==xu(s)?"-":"",c=xu(this._milliseconds)!==xu(s)?"-":"",u+"P"+(i?l+i+"Y":"")+(r?l+r+"M":"")+(e?d+e+"D":"")+(a||n||t?"T":"")+(a?c+a+"H":"")+(n?c+n+"M":"")+(t?c+o+"S":"")):"P0D"}var Ve=Ph.prototype;Ve.isValid=sKe,Ve.abs=jXe,Ve.add=VXe,Ve.subtract=UXe,Ve.as=BXe,Ve.asMilliseconds=qXe,Ve.asSeconds=YXe,Ve.asMinutes=GXe,Ve.asHours=KXe,Ve.asDays=XXe,Ve.asWeeks=JXe,Ve.asMonths=QXe,Ve.asQuarters=ZXe,Ve.asYears=eJe,Ve.valueOf=HXe,Ve._bubble=zXe,Ve.clone=tJe,Ve.get=rJe,Ve.milliseconds=nJe,Ve.seconds=aJe,Ve.minutes=iJe,Ve.hours=oJe,Ve.days=sJe,Ve.weeks=dJe,Ve.months=uJe,Ve.years=lJe,Ve.humanize=hJe,Ve.toISOString=Ch,Ve.toString=Ch,Ve.toJSON=Ch,Ve.locale=b9,Ve.localeData=x9,Ve.toIsoString=Gr("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ch),Ve.lang=w9,ye("X",0,0,"unix"),ye("x",0,0,"valueOf"),de("x",vh),de("X",LGe),at("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)}),at("x",function(t,e,r){r._d=new Date(Fe(t))});//! moment.js
560
+ `+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var UG={};function zG(t,e){le.deprecationHandler!=null&&le.deprecationHandler(t,e),UG[t]||(VG(e),UG[t]=!0)}le.suppressDeprecationWarnings=!1,le.deprecationHandler=null;function zn(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function yGe(t){var e,r;for(r in t)Ge(t,r)&&(e=t[r],zn(e)?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function RE(t,e){var r=mi({},t),n;for(n in e)Ge(e,n)&&(So(t[n])&&So(e[n])?(r[n]={},mi(r[n],t[n]),mi(r[n],e[n])):e[n]!=null?r[n]=e[n]:delete r[n]);for(n in t)Ge(t,n)&&!Ge(e,n)&&So(t[n])&&(r[n]=mi({},r[n]));return r}function IE(t){t!=null&&this.set(t)}var NE;Object.keys?NE=Object.keys:NE=function(t){var e,r=[];for(e in t)Ge(t,e)&&r.push(e);return r};var _Ge={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function bGe(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return zn(n)?n.call(e,r):n}function Bn(t,e,r){var n=""+Math.abs(t),a=e-n.length,i=t>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var LE=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,lh=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,WE={},hu={};function ye(t,e,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),t&&(hu[t]=a),e&&(hu[e[0]]=function(){return Bn(a.apply(this,arguments),e[1],e[2])}),r&&(hu[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function wGe(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function xGe(t){var e=t.match(LE),r,n;for(r=0,n=e.length;r<n;r++)hu[e[r]]?e[r]=hu[e[r]]:e[r]=wGe(e[r]);return function(a){var i="",o;for(o=0;o<n;o++)i+=zn(e[o])?e[o].call(a,t):e[o];return i}}function dh(t,e){return t.isValid()?(e=BG(e,t.localeData()),WE[e]=WE[e]||xGe(e),WE[e](t)):t.localeData().invalidDate()}function BG(t,e){var r=5;function n(a){return e.longDateFormat(a)||a}for(lh.lastIndex=0;r>=0&&lh.test(t);)t=t.replace(lh,n),lh.lastIndex=0,r-=1;return t}var PGe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function kGe(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(LE).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[t])}var TGe="Invalid date";function EGe(){return this._invalidDate}var MGe="%d",SGe=/\d{1,2}/;function OGe(t){return this._ordinal.replace("%d",t)}var CGe={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function DGe(t,e,r,n){var a=this._relativeTime[r];return zn(a)?a(t,e,r,n):a.replace(/%d/i,t)}function $Ge(t,e){var r=this._relativeTime[t>0?"future":"past"];return zn(r)?r(e):r.replace(/%s/i,e)}var Sd={};function ir(t,e){var r=t.toLowerCase();Sd[r]=Sd[r+"s"]=Sd[e]=t}function Kr(t){return typeof t=="string"?Sd[t]||Sd[t.toLowerCase()]:void 0}function FE(t){var e={},r,n;for(n in t)Ge(t,n)&&(r=Kr(n),r&&(e[r]=t[n]));return e}var HG={};function or(t,e){HG[t]=e}function AGe(t){var e=[],r;for(r in t)Ge(t,r)&&e.push({unit:r,priority:HG[r]});return e.sort(function(n,a){return n.priority-a.priority}),e}function ch(t){return t%4===0&&t%100!==0||t%400===0}function Xr(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function We(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=Xr(e)),r}function vu(t,e){return function(r){return r!=null?(qG(this,t,r),le.updateOffset(this,e),this):fh(this,t)}}function fh(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function qG(t,e,r){t.isValid()&&!isNaN(r)&&(e==="FullYear"&&ch(t.year())&&t.month()===1&&t.date()===29?(r=We(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),_h(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}function RGe(t){return t=Kr(t),zn(this[t])?this[t]():this}function IGe(t,e){if(typeof t=="object"){t=FE(t);var r=AGe(t),n,a=r.length;for(n=0;n<a;n++)this[r[n].unit](t[r[n].unit])}else if(t=Kr(t),zn(this[t]))return this[t](e);return this}var YG=/\d/,Lr=/\d\d/,GG=/\d{3}/,jE=/\d{4}/,mh=/[+-]?\d{6}/,ht=/\d\d?/,KG=/\d\d\d\d?/,XG=/\d\d\d\d\d\d?/,ph=/\d{1,3}/,VE=/\d{1,4}/,hh=/[+-]?\d{1,6}/,gu=/\d+/,vh=/[+-]?\d+/,NGe=/Z|[+-]\d\d:?\d\d/gi,gh=/Z|[+-]\d\d(?::?\d\d)?/gi,LGe=/[+-]?\d+(\.\d{1,3})?/,Od=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,yh;yh={};function de(t,e,r){yh[t]=zn(e)?e:function(n,a){return n&&r?r:e}}function WGe(t,e){return Ge(yh,t)?yh[t](e._strict,e._locale):new RegExp(FGe(t))}function FGe(t){return Wr(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,n,a,i){return r||n||a||i}))}function Wr(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var UE={};function at(t,e){var r,n=e,a;for(typeof t=="string"&&(t=[t]),va(e)&&(n=function(i,o){o[e]=We(i)}),a=t.length,r=0;r<a;r++)UE[t[r]]=n}function Cd(t,e){at(t,function(r,n,a,i){a._w=a._w||{},e(r,a._w,a,i)})}function jGe(t,e,r){e!=null&&Ge(UE,t)&&UE[t](e,r._a,r,t)}var sr=0,ga=1,Hn=2,Ft=3,yn=4,ya=5,Oo=6,VGe=7,UGe=8;function zGe(t,e){return(t%e+e)%e}var $t;Array.prototype.indexOf?$t=Array.prototype.indexOf:$t=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function _h(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=zGe(e,12);return t+=(e-r)/12,r===1?ch(t)?29:28:31-r%7%2}ye("M",["MM",2],"Mo",function(){return this.month()+1}),ye("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),ye("MMMM",0,0,function(t){return this.localeData().months(this,t)}),ir("month","M"),or("month",8),de("M",ht),de("MM",ht,Lr),de("MMM",function(t,e){return e.monthsShortRegex(t)}),de("MMMM",function(t,e){return e.monthsRegex(t)}),at(["M","MM"],function(t,e){e[ga]=We(t)-1}),at(["MMM","MMMM"],function(t,e,r,n){var a=r._locale.monthsParse(t,n,r._strict);a!=null?e[ga]=a:$e(r).invalidMonth=t});var BGe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),JG="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),QG=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,HGe=Od,qGe=Od;function YGe(t,e){return t?vn(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||QG).test(e)?"format":"standalone"][t.month()]:vn(this._months)?this._months:this._months.standalone}function GGe(t,e){return t?vn(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[QG.test(e)?"format":"standalone"][t.month()]:vn(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function KGe(t,e,r){var n,a,i,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=Un([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?e==="MMM"?(a=$t.call(this._shortMonthsParse,o),a!==-1?a:null):(a=$t.call(this._longMonthsParse,o),a!==-1?a:null):e==="MMM"?(a=$t.call(this._shortMonthsParse,o),a!==-1?a:(a=$t.call(this._longMonthsParse,o),a!==-1?a:null)):(a=$t.call(this._longMonthsParse,o),a!==-1?a:(a=$t.call(this._shortMonthsParse,o),a!==-1?a:null))}function XGe(t,e,r){var n,a,i;if(this._monthsParseExact)return KGe.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=Un([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&e==="MMMM"&&this._longMonthsParse[n].test(t))return n;if(r&&e==="MMM"&&this._shortMonthsParse[n].test(t))return n;if(!r&&this._monthsParse[n].test(t))return n}}function ZG(t,e){var r;if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=We(e);else if(e=t.localeData().monthsParse(e),!va(e))return t}return r=Math.min(t.date(),_h(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function e9(t){return t!=null?(ZG(this,t),le.updateOffset(this,!0),this):fh(this,"Month")}function JGe(){return _h(this.year(),this.month())}function QGe(t){return this._monthsParseExact?(Ge(this,"_monthsRegex")||t9.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Ge(this,"_monthsShortRegex")||(this._monthsShortRegex=HGe),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function ZGe(t){return this._monthsParseExact?(Ge(this,"_monthsRegex")||t9.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Ge(this,"_monthsRegex")||(this._monthsRegex=qGe),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function t9(){function t(o,s){return s.length-o.length}var e=[],r=[],n=[],a,i;for(a=0;a<12;a++)i=Un([2e3,a]),e.push(this.monthsShort(i,"")),r.push(this.months(i,"")),n.push(this.months(i,"")),n.push(this.monthsShort(i,""));for(e.sort(t),r.sort(t),n.sort(t),a=0;a<12;a++)e[a]=Wr(e[a]),r[a]=Wr(r[a]);for(a=0;a<24;a++)n[a]=Wr(n[a]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}ye("Y",0,0,function(){var t=this.year();return t<=9999?Bn(t,4):"+"+t}),ye(0,["YY",2],0,function(){return this.year()%100}),ye(0,["YYYY",4],0,"year"),ye(0,["YYYYY",5],0,"year"),ye(0,["YYYYYY",6,!0],0,"year"),ir("year","y"),or("year",1),de("Y",vh),de("YY",ht,Lr),de("YYYY",VE,jE),de("YYYYY",hh,mh),de("YYYYYY",hh,mh),at(["YYYYY","YYYYYY"],sr),at("YYYY",function(t,e){e[sr]=t.length===2?le.parseTwoDigitYear(t):We(t)}),at("YY",function(t,e){e[sr]=le.parseTwoDigitYear(t)}),at("Y",function(t,e){e[sr]=parseInt(t,10)});function Dd(t){return ch(t)?366:365}le.parseTwoDigitYear=function(t){return We(t)+(We(t)>68?1900:2e3)};var r9=vu("FullYear",!0);function e9e(){return ch(this.year())}function t9e(t,e,r,n,a,i,o){var s;return t<100&&t>=0?(s=new Date(t+400,e,r,n,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,r,n,a,i,o),s}function $d(t){var e,r;return t<100&&t>=0?(r=Array.prototype.slice.call(arguments),r[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function bh(t,e,r){var n=7+e-r,a=(7+$d(t,0,n).getUTCDay()-e)%7;return-a+n-1}function n9(t,e,r,n,a){var i=(7+r-n)%7,o=bh(t,n,a),s=1+7*(e-1)+i+o,u,l;return s<=0?(u=t-1,l=Dd(u)+s):s>Dd(t)?(u=t+1,l=s-Dd(t)):(u=t,l=s),{year:u,dayOfYear:l}}function Ad(t,e,r){var n=bh(t.year(),e,r),a=Math.floor((t.dayOfYear()-n-1)/7)+1,i,o;return a<1?(o=t.year()-1,i=a+_a(o,e,r)):a>_a(t.year(),e,r)?(i=a-_a(t.year(),e,r),o=t.year()+1):(o=t.year(),i=a),{week:i,year:o}}function _a(t,e,r){var n=bh(t,e,r),a=bh(t+1,e,r);return(Dd(t)-n+a)/7}ye("w",["ww",2],"wo","week"),ye("W",["WW",2],"Wo","isoWeek"),ir("week","w"),ir("isoWeek","W"),or("week",5),or("isoWeek",5),de("w",ht),de("ww",ht,Lr),de("W",ht),de("WW",ht,Lr),Cd(["w","ww","W","WW"],function(t,e,r,n){e[n.substr(0,1)]=We(t)});function r9e(t){return Ad(t,this._week.dow,this._week.doy).week}var n9e={dow:0,doy:6};function a9e(){return this._week.dow}function i9e(){return this._week.doy}function o9e(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function s9e(t){var e=Ad(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}ye("d",0,"do","day"),ye("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),ye("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),ye("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),ye("e",0,0,"weekday"),ye("E",0,0,"isoWeekday"),ir("day","d"),ir("weekday","e"),ir("isoWeekday","E"),or("day",11),or("weekday",11),or("isoWeekday",11),de("d",ht),de("e",ht),de("E",ht),de("dd",function(t,e){return e.weekdaysMinRegex(t)}),de("ddd",function(t,e){return e.weekdaysShortRegex(t)}),de("dddd",function(t,e){return e.weekdaysRegex(t)}),Cd(["dd","ddd","dddd"],function(t,e,r,n){var a=r._locale.weekdaysParse(t,n,r._strict);a!=null?e.d=a:$e(r).invalidWeekday=t}),Cd(["d","e","E"],function(t,e,r,n){e[n]=We(t)});function u9e(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function l9e(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function zE(t,e){return t.slice(e,7).concat(t.slice(0,e))}var d9e="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),a9="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),c9e="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),f9e=Od,m9e=Od,p9e=Od;function h9e(t,e){var r=vn(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?zE(r,this._week.dow):t?r[t.day()]:r}function v9e(t){return t===!0?zE(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function g9e(t){return t===!0?zE(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function y9e(t,e,r){var n,a,i,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=Un([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?e==="dddd"?(a=$t.call(this._weekdaysParse,o),a!==-1?a:null):e==="ddd"?(a=$t.call(this._shortWeekdaysParse,o),a!==-1?a:null):(a=$t.call(this._minWeekdaysParse,o),a!==-1?a:null):e==="dddd"?(a=$t.call(this._weekdaysParse,o),a!==-1||(a=$t.call(this._shortWeekdaysParse,o),a!==-1)?a:(a=$t.call(this._minWeekdaysParse,o),a!==-1?a:null)):e==="ddd"?(a=$t.call(this._shortWeekdaysParse,o),a!==-1||(a=$t.call(this._weekdaysParse,o),a!==-1)?a:(a=$t.call(this._minWeekdaysParse,o),a!==-1?a:null)):(a=$t.call(this._minWeekdaysParse,o),a!==-1||(a=$t.call(this._weekdaysParse,o),a!==-1)?a:(a=$t.call(this._shortWeekdaysParse,o),a!==-1?a:null))}function _9e(t,e,r){var n,a,i;if(this._weekdaysParseExact)return y9e.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=Un([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&e==="dddd"&&this._fullWeekdaysParse[n].test(t))return n;if(r&&e==="ddd"&&this._shortWeekdaysParse[n].test(t))return n;if(r&&e==="dd"&&this._minWeekdaysParse[n].test(t))return n;if(!r&&this._weekdaysParse[n].test(t))return n}}function b9e(t){if(!this.isValid())return t!=null?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return t!=null?(t=u9e(t,this.localeData()),this.add(t-e,"d")):e}function w9e(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function x9e(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=l9e(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function P9e(t){return this._weekdaysParseExact?(Ge(this,"_weekdaysRegex")||BE.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Ge(this,"_weekdaysRegex")||(this._weekdaysRegex=f9e),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function k9e(t){return this._weekdaysParseExact?(Ge(this,"_weekdaysRegex")||BE.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ge(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=m9e),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function T9e(t){return this._weekdaysParseExact?(Ge(this,"_weekdaysRegex")||BE.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ge(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=p9e),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function BE(){function t(d,c){return c.length-d.length}var e=[],r=[],n=[],a=[],i,o,s,u,l;for(i=0;i<7;i++)o=Un([2e3,1]).day(i),s=Wr(this.weekdaysMin(o,"")),u=Wr(this.weekdaysShort(o,"")),l=Wr(this.weekdays(o,"")),e.push(s),r.push(u),n.push(l),a.push(s),a.push(u),a.push(l);e.sort(t),r.sort(t),n.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function HE(){return this.hours()%12||12}function E9e(){return this.hours()||24}ye("H",["HH",2],0,"hour"),ye("h",["hh",2],0,HE),ye("k",["kk",2],0,E9e),ye("hmm",0,0,function(){return""+HE.apply(this)+Bn(this.minutes(),2)}),ye("hmmss",0,0,function(){return""+HE.apply(this)+Bn(this.minutes(),2)+Bn(this.seconds(),2)}),ye("Hmm",0,0,function(){return""+this.hours()+Bn(this.minutes(),2)}),ye("Hmmss",0,0,function(){return""+this.hours()+Bn(this.minutes(),2)+Bn(this.seconds(),2)});function i9(t,e){ye(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}i9("a",!0),i9("A",!1),ir("hour","h"),or("hour",13);function o9(t,e){return e._meridiemParse}de("a",o9),de("A",o9),de("H",ht),de("h",ht),de("k",ht),de("HH",ht,Lr),de("hh",ht,Lr),de("kk",ht,Lr),de("hmm",KG),de("hmmss",XG),de("Hmm",KG),de("Hmmss",XG),at(["H","HH"],Ft),at(["k","kk"],function(t,e,r){var n=We(t);e[Ft]=n===24?0:n}),at(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t}),at(["h","hh"],function(t,e,r){e[Ft]=We(t),$e(r).bigHour=!0}),at("hmm",function(t,e,r){var n=t.length-2;e[Ft]=We(t.substr(0,n)),e[yn]=We(t.substr(n)),$e(r).bigHour=!0}),at("hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[Ft]=We(t.substr(0,n)),e[yn]=We(t.substr(n,2)),e[ya]=We(t.substr(a)),$e(r).bigHour=!0}),at("Hmm",function(t,e,r){var n=t.length-2;e[Ft]=We(t.substr(0,n)),e[yn]=We(t.substr(n))}),at("Hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[Ft]=We(t.substr(0,n)),e[yn]=We(t.substr(n,2)),e[ya]=We(t.substr(a))});function M9e(t){return(t+"").toLowerCase().charAt(0)==="p"}var S9e=/[ap]\.?m?\.?/i,O9e=vu("Hours",!0);function C9e(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var s9={calendar:_Ge,longDateFormat:PGe,invalidDate:TGe,ordinal:MGe,dayOfMonthOrdinalParse:SGe,relativeTime:CGe,months:BGe,monthsShort:JG,week:n9e,weekdays:d9e,weekdaysMin:c9e,weekdaysShort:a9,meridiemParse:S9e},wt={},Rd={},Id;function D9e(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}function u9(t){return t&&t.toLowerCase().replace("_","-")}function $9e(t){for(var e=0,r,n,a,i;e<t.length;){for(i=u9(t[e]).split("-"),r=i.length,n=u9(t[e+1]),n=n?n.split("-"):null;r>0;){if(a=wh(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&D9e(i,n)>=r-1)break;r--}e++}return Id}function A9e(t){return t.match("^[^/\\\\]*$")!=null}function wh(t){var e=null,r;if(wt[t]===void 0&&typeof module<"u"&&module&&module.exports&&A9e(t))try{e=Id._abbr,r=require,r("./locale/"+t),pi(e)}catch{wt[t]=null}return wt[t]}function pi(t,e){var r;return t&&(_r(e)?r=ba(t):r=qE(t,e),r?Id=r:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Id._abbr}function qE(t,e){if(e!==null){var r,n=s9;if(e.abbr=t,wt[t]!=null)zG("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=wt[t]._config;else if(e.parentLocale!=null)if(wt[e.parentLocale]!=null)n=wt[e.parentLocale]._config;else if(r=wh(e.parentLocale),r!=null)n=r._config;else return Rd[e.parentLocale]||(Rd[e.parentLocale]=[]),Rd[e.parentLocale].push({name:t,config:e}),null;return wt[t]=new IE(RE(n,e)),Rd[t]&&Rd[t].forEach(function(a){qE(a.name,a.config)}),pi(t),wt[t]}else return delete wt[t],null}function R9e(t,e){if(e!=null){var r,n,a=s9;wt[t]!=null&&wt[t].parentLocale!=null?wt[t].set(RE(wt[t]._config,e)):(n=wh(t),n!=null&&(a=n._config),e=RE(a,e),n==null&&(e.abbr=t),r=new IE(e),r.parentLocale=wt[t],wt[t]=r),pi(t)}else wt[t]!=null&&(wt[t].parentLocale!=null?(wt[t]=wt[t].parentLocale,t===pi()&&pi(t)):wt[t]!=null&&delete wt[t]);return wt[t]}function ba(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Id;if(!vn(t)){if(e=wh(t),e)return e;t=[t]}return $9e(t)}function I9e(){return NE(wt)}function YE(t){var e,r=t._a;return r&&$e(t).overflow===-2&&(e=r[ga]<0||r[ga]>11?ga:r[Hn]<1||r[Hn]>_h(r[sr],r[ga])?Hn:r[Ft]<0||r[Ft]>24||r[Ft]===24&&(r[yn]!==0||r[ya]!==0||r[Oo]!==0)?Ft:r[yn]<0||r[yn]>59?yn:r[ya]<0||r[ya]>59?ya:r[Oo]<0||r[Oo]>999?Oo:-1,$e(t)._overflowDayOfYear&&(e<sr||e>Hn)&&(e=Hn),$e(t)._overflowWeeks&&e===-1&&(e=VGe),$e(t)._overflowWeekday&&e===-1&&(e=UGe),$e(t).overflow=e),t}var N9e=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,L9e=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,W9e=/Z|[+-]\d\d(?::?\d\d)?/,xh=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],GE=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],F9e=/^\/?Date\((-?\d+)/i,j9e=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,V9e={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function l9(t){var e,r,n=t._i,a=N9e.exec(n)||L9e.exec(n),i,o,s,u,l=xh.length,d=GE.length;if(a){for($e(t).iso=!0,e=0,r=l;e<r;e++)if(xh[e][1].exec(a[1])){o=xh[e][0],i=xh[e][2]!==!1;break}if(o==null){t._isValid=!1;return}if(a[3]){for(e=0,r=d;e<r;e++)if(GE[e][1].exec(a[3])){s=(a[2]||" ")+GE[e][0];break}if(s==null){t._isValid=!1;return}}if(!i&&s!=null){t._isValid=!1;return}if(a[4])if(W9e.exec(a[4]))u="Z";else{t._isValid=!1;return}t._f=o+(s||"")+(u||""),XE(t)}else t._isValid=!1}function U9e(t,e,r,n,a,i){var o=[z9e(t),JG.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&o.push(parseInt(i,10)),o}function z9e(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function B9e(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function H9e(t,e,r){if(t){var n=a9.indexOf(t),a=new Date(e[0],e[1],e[2]).getDay();if(n!==a)return $e(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function q9e(t,e,r){if(t)return V9e[t];if(e)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function d9(t){var e=j9e.exec(B9e(t._i)),r;if(e){if(r=U9e(e[4],e[3],e[2],e[5],e[6],e[7]),!H9e(e[1],r,t))return;t._a=r,t._tzm=q9e(e[8],e[9],e[10]),t._d=$d.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),$e(t).rfc2822=!0}else t._isValid=!1}function Y9e(t){var e=F9e.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(l9(t),t._isValid===!1)delete t._isValid;else return;if(d9(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:le.createFromInputFallback(t)}le.createFromInputFallback=Gr("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function yu(t,e,r){return t!=null?t:e!=null?e:r}function G9e(t){var e=new Date(le.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function KE(t){var e,r,n=[],a,i,o;if(!t._d){for(a=G9e(t),t._w&&t._a[Hn]==null&&t._a[ga]==null&&K9e(t),t._dayOfYear!=null&&(o=yu(t._a[sr],a[sr]),(t._dayOfYear>Dd(o)||t._dayOfYear===0)&&($e(t)._overflowDayOfYear=!0),r=$d(o,0,t._dayOfYear),t._a[ga]=r.getUTCMonth(),t._a[Hn]=r.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=n[e]=a[e];for(;e<7;e++)t._a[e]=n[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[Ft]===24&&t._a[yn]===0&&t._a[ya]===0&&t._a[Oo]===0&&(t._nextDay=!0,t._a[Ft]=0),t._d=(t._useUTC?$d:t9e).apply(null,n),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Ft]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==i&&($e(t).weekdayMismatch=!0)}}function K9e(t){var e,r,n,a,i,o,s,u,l;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,o=4,r=yu(e.GG,t._a[sr],Ad(vt(),1,4).year),n=yu(e.W,1),a=yu(e.E,1),(a<1||a>7)&&(u=!0)):(i=t._locale._week.dow,o=t._locale._week.doy,l=Ad(vt(),i,o),r=yu(e.gg,t._a[sr],l.year),n=yu(e.w,l.week),e.d!=null?(a=e.d,(a<0||a>6)&&(u=!0)):e.e!=null?(a=e.e+i,(e.e<0||e.e>6)&&(u=!0)):a=i),n<1||n>_a(r,i,o)?$e(t)._overflowWeeks=!0:u!=null?$e(t)._overflowWeekday=!0:(s=n9(r,n,a,i,o),t._a[sr]=s.year,t._dayOfYear=s.dayOfYear)}le.ISO_8601=function(){},le.RFC_2822=function(){};function XE(t){if(t._f===le.ISO_8601){l9(t);return}if(t._f===le.RFC_2822){d9(t);return}t._a=[],$e(t).empty=!0;var e=""+t._i,r,n,a,i,o,s=e.length,u=0,l,d;for(a=BG(t._f,t._locale).match(LE)||[],d=a.length,r=0;r<d;r++)i=a[r],n=(e.match(WGe(i,t))||[])[0],n&&(o=e.substr(0,e.indexOf(n)),o.length>0&&$e(t).unusedInput.push(o),e=e.slice(e.indexOf(n)+n.length),u+=n.length),hu[i]?(n?$e(t).empty=!1:$e(t).unusedTokens.push(i),jGe(i,n,t)):t._strict&&!n&&$e(t).unusedTokens.push(i);$e(t).charsLeftOver=s-u,e.length>0&&$e(t).unusedInput.push(e),t._a[Ft]<=12&&$e(t).bigHour===!0&&t._a[Ft]>0&&($e(t).bigHour=void 0),$e(t).parsedDateParts=t._a.slice(0),$e(t).meridiem=t._meridiem,t._a[Ft]=X9e(t._locale,t._a[Ft],t._meridiem),l=$e(t).era,l!==null&&(t._a[sr]=t._locale.erasConvertYear(l,t._a[sr])),KE(t),YE(t)}function X9e(t,e,r){var n;return r==null?e:t.meridiemHour!=null?t.meridiemHour(e,r):(t.isPM!=null&&(n=t.isPM(r),n&&e<12&&(e+=12),!n&&e===12&&(e=0)),e)}function J9e(t){var e,r,n,a,i,o,s=!1,u=t._f.length;if(u===0){$e(t).invalidFormat=!0,t._d=new Date(NaN);return}for(a=0;a<u;a++)i=0,o=!1,e=AE({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[a],XE(e),DE(e)&&(o=!0),i+=$e(e).charsLeftOver,i+=$e(e).unusedTokens.length*10,$e(e).score=i,s?i<n&&(n=i,r=e):(n==null||i<n||o)&&(n=i,r=e,o&&(s=!0));mi(t,r||e)}function Q9e(t){if(!t._d){var e=FE(t._i),r=e.day===void 0?e.date:e.day;t._a=FG([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(n){return n&&parseInt(n,10)}),KE(t)}}function Z9e(t){var e=new Md(YE(c9(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function c9(t){var e=t._i,r=t._f;return t._locale=t._locale||ba(t._l),e===null||r===void 0&&e===""?uh({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),gn(e)?new Md(YE(e)):(Ed(e)?t._d=e:vn(r)?J9e(t):r?XE(t):eKe(t),DE(t)||(t._d=null),t))}function eKe(t){var e=t._i;_r(e)?t._d=new Date(le.now()):Ed(e)?t._d=new Date(e.valueOf()):typeof e=="string"?Y9e(t):vn(e)?(t._a=FG(e.slice(0),function(r){return parseInt(r,10)}),KE(t)):So(e)?Q9e(t):va(e)?t._d=new Date(e):le.createFromInputFallback(t)}function f9(t,e,r,n,a){var i={};return(e===!0||e===!1)&&(n=e,e=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(So(t)&&OE(t)||vn(t)&&t.length===0)&&(t=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=t,i._f=e,i._strict=n,Z9e(i)}function vt(t,e,r,n){return f9(t,e,r,n,!1)}var tKe=Gr("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=vt.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:uh()}),rKe=Gr("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=vt.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:uh()});function m9(t,e){var r,n;if(e.length===1&&vn(e[0])&&(e=e[0]),!e.length)return vt();for(r=e[0],n=1;n<e.length;++n)(!e[n].isValid()||e[n][t](r))&&(r=e[n]);return r}function nKe(){var t=[].slice.call(arguments,0);return m9("isBefore",t)}function aKe(){var t=[].slice.call(arguments,0);return m9("isAfter",t)}var iKe=function(){return Date.now?Date.now():+new Date},Nd=["year","quarter","month","week","day","hour","minute","second","millisecond"];function oKe(t){var e,r=!1,n,a=Nd.length;for(e in t)if(Ge(t,e)&&!($t.call(Nd,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(n=0;n<a;++n)if(t[Nd[n]]){if(r)return!1;parseFloat(t[Nd[n]])!==We(t[Nd[n]])&&(r=!0)}return!0}function sKe(){return this._isValid}function uKe(){return _n(NaN)}function Ph(t){var e=FE(t),r=e.year||0,n=e.quarter||0,a=e.month||0,i=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,u=e.minute||0,l=e.second||0,d=e.millisecond||0;this._isValid=oKe(e),this._milliseconds=+d+l*1e3+u*6e4+s*1e3*60*60,this._days=+o+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=ba(),this._bubble()}function kh(t){return t instanceof Ph}function JE(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function lKe(t,e,r){var n=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),i=0,o;for(o=0;o<n;o++)(r&&t[o]!==e[o]||!r&&We(t[o])!==We(e[o]))&&i++;return i+a}function p9(t,e){ye(t,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+Bn(~~(r/60),2)+e+Bn(~~r%60,2)})}p9("Z",":"),p9("ZZ",""),de("Z",gh),de("ZZ",gh),at(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=QE(gh,t)});var dKe=/([\+\-]|\d\d)/gi;function QE(t,e){var r=(e||"").match(t),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(dKe)||["-",0,0],i=+(a[1]*60)+We(a[2]),i===0?0:a[0]==="+"?i:-i)}function ZE(t,e){var r,n;return e._isUTC?(r=e.clone(),n=(gn(t)||Ed(t)?t.valueOf():vt(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),le.updateOffset(r,!1),r):vt(t).local()}function eM(t){return-Math.round(t._d.getTimezoneOffset())}le.updateOffset=function(){};function cKe(t,e,r){var n=this._offset||0,a;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=QE(gh,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(a=eM(this)),this._offset=t,this._isUTC=!0,a!=null&&this.add(a,"m"),n!==t&&(!e||this._changeInProgress?y9(this,_n(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,le.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:eM(this)}function fKe(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function mKe(t){return this.utcOffset(0,t)}function pKe(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(eM(this),"m")),this}function hKe(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=QE(NGe,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function vKe(t){return this.isValid()?(t=t?vt(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function gKe(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function yKe(){if(!_r(this._isDSTShifted))return this._isDSTShifted;var t={},e;return AE(t,this),t=c9(t),t._a?(e=t._isUTC?Un(t._a):vt(t._a),this._isDSTShifted=this.isValid()&&lKe(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function _Ke(){return this.isValid()?!this._isUTC:!1}function bKe(){return this.isValid()?this._isUTC:!1}function h9(){return this.isValid()?this._isUTC&&this._offset===0:!1}var wKe=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,xKe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function _n(t,e){var r=t,n=null,a,i,o;return kh(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:va(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(n=wKe.exec(t))?(a=n[1]==="-"?-1:1,r={y:0,d:We(n[Hn])*a,h:We(n[Ft])*a,m:We(n[yn])*a,s:We(n[ya])*a,ms:We(JE(n[Oo]*1e3))*a}):(n=xKe.exec(t))?(a=n[1]==="-"?-1:1,r={y:Co(n[2],a),M:Co(n[3],a),w:Co(n[4],a),d:Co(n[5],a),h:Co(n[6],a),m:Co(n[7],a),s:Co(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(o=PKe(vt(r.from),vt(r.to)),r={},r.ms=o.milliseconds,r.M=o.months),i=new Ph(r),kh(t)&&Ge(t,"_locale")&&(i._locale=t._locale),kh(t)&&Ge(t,"_isValid")&&(i._isValid=t._isValid),i}_n.fn=Ph.prototype,_n.invalid=uKe;function Co(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function v9(t,e){var r={};return r.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function PKe(t,e){var r;return t.isValid()&&e.isValid()?(e=ZE(e,t),t.isBefore(e)?r=v9(t,e):(r=v9(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function g9(t,e){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(zG(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),a=_n(r,n),y9(this,a,t),this}}function y9(t,e,r,n){var a=e._milliseconds,i=JE(e._days),o=JE(e._months);!t.isValid()||(n=n==null?!0:n,o&&ZG(t,fh(t,"Month")+o*r),i&&qG(t,"Date",fh(t,"Date")+i*r),a&&t._d.setTime(t._d.valueOf()+a*r),n&&le.updateOffset(t,i||o))}var kKe=g9(1,"add"),TKe=g9(-1,"subtract");function _9(t){return typeof t=="string"||t instanceof String}function EKe(t){return gn(t)||Ed(t)||_9(t)||va(t)||SKe(t)||MKe(t)||t===null||t===void 0}function MKe(t){var e=So(t)&&!OE(t),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,o=n.length;for(a=0;a<o;a+=1)i=n[a],r=r||Ge(t,i);return e&&r}function SKe(t){var e=vn(t),r=!1;return e&&(r=t.filter(function(n){return!va(n)&&_9(t)}).length===0),e&&r}function OKe(t){var e=So(t)&&!OE(t),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<n.length;a+=1)i=n[a],r=r||Ge(t,i);return e&&r}function CKe(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function DKe(t,e){arguments.length===1&&(arguments[0]?EKe(arguments[0])?(t=arguments[0],e=void 0):OKe(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||vt(),n=ZE(r,this).startOf("day"),a=le.calendarFormat(this,n)||"sameElse",i=e&&(zn(e[a])?e[a].call(this,r):e[a]);return this.format(i||this.localeData().calendar(a,this,vt(r)))}function $Ke(){return new Md(this)}function AKe(t,e){var r=gn(t)?t:vt(t);return this.isValid()&&r.isValid()?(e=Kr(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function RKe(t,e){var r=gn(t)?t:vt(t);return this.isValid()&&r.isValid()?(e=Kr(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function IKe(t,e,r,n){var a=gn(t)?t:vt(t),i=gn(e)?e:vt(e);return this.isValid()&&a.isValid()&&i.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(n[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function NKe(t,e){var r=gn(t)?t:vt(t),n;return this.isValid()&&r.isValid()?(e=Kr(e)||"millisecond",e==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())):!1}function LKe(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function WKe(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function FKe(t,e,r){var n,a,i;if(!this.isValid())return NaN;if(n=ZE(t,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,e=Kr(e),e){case"year":i=Th(this,n)/12;break;case"month":i=Th(this,n);break;case"quarter":i=Th(this,n)/3;break;case"second":i=(this-n)/1e3;break;case"minute":i=(this-n)/6e4;break;case"hour":i=(this-n)/36e5;break;case"day":i=(this-n-a)/864e5;break;case"week":i=(this-n-a)/6048e5;break;default:i=this-n}return r?i:Xr(i)}function Th(t,e){if(t.date()<e.date())return-Th(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),n=t.clone().add(r,"months"),a,i;return e-n<0?(a=t.clone().add(r-1,"months"),i=(e-n)/(n-a)):(a=t.clone().add(r+1,"months"),i=(e-n)/(a-n)),-(r+i)||0}le.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",le.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function jKe(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function VKe(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?dh(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):zn(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",dh(r,"Z")):dh(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function UKe(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",r,n,a,i;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),r="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=e+'[")]',this.format(r+n+a+i)}function zKe(t){t||(t=this.isUtc()?le.defaultFormatUtc:le.defaultFormat);var e=dh(this,t);return this.localeData().postformat(e)}function BKe(t,e){return this.isValid()&&(gn(t)&&t.isValid()||vt(t).isValid())?_n({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function HKe(t){return this.from(vt(),t)}function qKe(t,e){return this.isValid()&&(gn(t)&&t.isValid()||vt(t).isValid())?_n({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function YKe(t){return this.to(vt(),t)}function b9(t){var e;return t===void 0?this._locale._abbr:(e=ba(t),e!=null&&(this._locale=e),this)}var w9=Gr("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function x9(){return this._locale}var Eh=1e3,_u=60*Eh,Mh=60*_u,P9=(365*400+97)*24*Mh;function bu(t,e){return(t%e+e)%e}function k9(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-P9:new Date(t,e,r).valueOf()}function T9(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-P9:Date.UTC(t,e,r)}function GKe(t){var e,r;if(t=Kr(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?T9:k9,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=bu(e+(this._isUTC?0:this.utcOffset()*_u),Mh);break;case"minute":e=this._d.valueOf(),e-=bu(e,_u);break;case"second":e=this._d.valueOf(),e-=bu(e,Eh);break}return this._d.setTime(e),le.updateOffset(this,!0),this}function KKe(t){var e,r;if(t=Kr(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?T9:k9,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Mh-bu(e+(this._isUTC?0:this.utcOffset()*_u),Mh)-1;break;case"minute":e=this._d.valueOf(),e+=_u-bu(e,_u)-1;break;case"second":e=this._d.valueOf(),e+=Eh-bu(e,Eh)-1;break}return this._d.setTime(e),le.updateOffset(this,!0),this}function XKe(){return this._d.valueOf()-(this._offset||0)*6e4}function JKe(){return Math.floor(this.valueOf()/1e3)}function QKe(){return new Date(this.valueOf())}function ZKe(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function eXe(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function tXe(){return this.isValid()?this.toISOString():null}function rXe(){return DE(this)}function nXe(){return mi({},$e(this))}function aXe(){return $e(this).overflow}function iXe(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ye("N",0,0,"eraAbbr"),ye("NN",0,0,"eraAbbr"),ye("NNN",0,0,"eraAbbr"),ye("NNNN",0,0,"eraName"),ye("NNNNN",0,0,"eraNarrow"),ye("y",["y",1],"yo","eraYear"),ye("y",["yy",2],0,"eraYear"),ye("y",["yyy",3],0,"eraYear"),ye("y",["yyyy",4],0,"eraYear"),de("N",tM),de("NN",tM),de("NNN",tM),de("NNNN",vXe),de("NNNNN",gXe),at(["N","NN","NNN","NNNN","NNNNN"],function(t,e,r,n){var a=r._locale.erasParse(t,n,r._strict);a?$e(r).era=a:$e(r).invalidEra=t}),de("y",gu),de("yy",gu),de("yyy",gu),de("yyyy",gu),de("yo",yXe),at(["y","yy","yyy","yyyy"],sr),at(["yo"],function(t,e,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[sr]=r._locale.eraYearOrdinalParse(t,a):e[sr]=parseInt(t,10)});function oXe(t,e){var r,n,a,i=this._eras||ba("en")._eras;for(r=0,n=i.length;r<n;++r){switch(typeof i[r].since){case"string":a=le(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=le(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function sXe(t,e,r){var n,a,i=this.eras(),o,s,u;for(t=t.toUpperCase(),n=0,a=i.length;n<a;++n)if(o=i[n].name.toUpperCase(),s=i[n].abbr.toUpperCase(),u=i[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(s===t)return i[n];break;case"NNNN":if(o===t)return i[n];break;case"NNNNN":if(u===t)return i[n];break}else if([o,s,u].indexOf(t)>=0)return i[n]}function uXe(t,e){var r=t.since<=t.until?1:-1;return e===void 0?le(t.since).year():le(t.since).year()+(e-t.offset)*r}function lXe(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].name;return""}function dXe(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].narrow;return""}function cXe(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].abbr;return""}function fXe(){var t,e,r,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t)if(r=a[t].since<=a[t].until?1:-1,n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until||a[t].until<=n&&n<=a[t].since)return(this.year()-le(a[t].since).year())*r+a[t].offset;return this.year()}function mXe(t){return Ge(this,"_erasNameRegex")||rM.call(this),t?this._erasNameRegex:this._erasRegex}function pXe(t){return Ge(this,"_erasAbbrRegex")||rM.call(this),t?this._erasAbbrRegex:this._erasRegex}function hXe(t){return Ge(this,"_erasNarrowRegex")||rM.call(this),t?this._erasNarrowRegex:this._erasRegex}function tM(t,e){return e.erasAbbrRegex(t)}function vXe(t,e){return e.erasNameRegex(t)}function gXe(t,e){return e.erasNarrowRegex(t)}function yXe(t,e){return e._eraYearOrdinalRegex||gu}function rM(){var t=[],e=[],r=[],n=[],a,i,o=this.eras();for(a=0,i=o.length;a<i;++a)e.push(Wr(o[a].name)),t.push(Wr(o[a].abbr)),r.push(Wr(o[a].narrow)),n.push(Wr(o[a].name)),n.push(Wr(o[a].abbr)),n.push(Wr(o[a].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}ye(0,["gg",2],0,function(){return this.weekYear()%100}),ye(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Sh(t,e){ye(0,[t,t.length],0,e)}Sh("gggg","weekYear"),Sh("ggggg","weekYear"),Sh("GGGG","isoWeekYear"),Sh("GGGGG","isoWeekYear"),ir("weekYear","gg"),ir("isoWeekYear","GG"),or("weekYear",1),or("isoWeekYear",1),de("G",vh),de("g",vh),de("GG",ht,Lr),de("gg",ht,Lr),de("GGGG",VE,jE),de("gggg",VE,jE),de("GGGGG",hh,mh),de("ggggg",hh,mh),Cd(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,n){e[n.substr(0,2)]=We(t)}),Cd(["gg","GG"],function(t,e,r,n){e[n]=le.parseTwoDigitYear(t)});function _Xe(t){return E9.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function bXe(t){return E9.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function wXe(){return _a(this.year(),1,4)}function xXe(){return _a(this.isoWeekYear(),1,4)}function PXe(){var t=this.localeData()._week;return _a(this.year(),t.dow,t.doy)}function kXe(){var t=this.localeData()._week;return _a(this.weekYear(),t.dow,t.doy)}function E9(t,e,r,n,a){var i;return t==null?Ad(this,n,a).year:(i=_a(t,n,a),e>i&&(e=i),TXe.call(this,t,e,r,n,a))}function TXe(t,e,r,n,a){var i=n9(t,e,r,n,a),o=$d(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}ye("Q",0,"Qo","quarter"),ir("quarter","Q"),or("quarter",7),de("Q",YG),at("Q",function(t,e){e[ga]=(We(t)-1)*3});function EXe(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}ye("D",["DD",2],"Do","date"),ir("date","D"),or("date",9),de("D",ht),de("DD",ht,Lr),de("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),at(["D","DD"],Hn),at("Do",function(t,e){e[Hn]=We(t.match(ht)[0])});var M9=vu("Date",!0);ye("DDD",["DDDD",3],"DDDo","dayOfYear"),ir("dayOfYear","DDD"),or("dayOfYear",4),de("DDD",ph),de("DDDD",GG),at(["DDD","DDDD"],function(t,e,r){r._dayOfYear=We(t)});function MXe(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}ye("m",["mm",2],0,"minute"),ir("minute","m"),or("minute",14),de("m",ht),de("mm",ht,Lr),at(["m","mm"],yn);var SXe=vu("Minutes",!1);ye("s",["ss",2],0,"second"),ir("second","s"),or("second",15),de("s",ht),de("ss",ht,Lr),at(["s","ss"],ya);var OXe=vu("Seconds",!1);ye("S",0,0,function(){return~~(this.millisecond()/100)}),ye(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ye(0,["SSS",3],0,"millisecond"),ye(0,["SSSS",4],0,function(){return this.millisecond()*10}),ye(0,["SSSSS",5],0,function(){return this.millisecond()*100}),ye(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),ye(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),ye(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),ye(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),ir("millisecond","ms"),or("millisecond",16),de("S",ph,YG),de("SS",ph,Lr),de("SSS",ph,GG);var hi,S9;for(hi="SSSS";hi.length<=9;hi+="S")de(hi,gu);function CXe(t,e){e[Oo]=We(("0."+t)*1e3)}for(hi="S";hi.length<=9;hi+="S")at(hi,CXe);S9=vu("Milliseconds",!1),ye("z",0,0,"zoneAbbr"),ye("zz",0,0,"zoneName");function DXe(){return this._isUTC?"UTC":""}function $Xe(){return this._isUTC?"Coordinated Universal Time":""}var ne=Md.prototype;ne.add=kKe,ne.calendar=DKe,ne.clone=$Ke,ne.diff=FKe,ne.endOf=KKe,ne.format=zKe,ne.from=BKe,ne.fromNow=HKe,ne.to=qKe,ne.toNow=YKe,ne.get=RGe,ne.invalidAt=aXe,ne.isAfter=AKe,ne.isBefore=RKe,ne.isBetween=IKe,ne.isSame=NKe,ne.isSameOrAfter=LKe,ne.isSameOrBefore=WKe,ne.isValid=rXe,ne.lang=w9,ne.locale=b9,ne.localeData=x9,ne.max=rKe,ne.min=tKe,ne.parsingFlags=nXe,ne.set=IGe,ne.startOf=GKe,ne.subtract=TKe,ne.toArray=ZKe,ne.toObject=eXe,ne.toDate=QKe,ne.toISOString=VKe,ne.inspect=UKe,typeof Symbol<"u"&&Symbol.for!=null&&(ne[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ne.toJSON=tXe,ne.toString=jKe,ne.unix=JKe,ne.valueOf=XKe,ne.creationData=iXe,ne.eraName=lXe,ne.eraNarrow=dXe,ne.eraAbbr=cXe,ne.eraYear=fXe,ne.year=r9,ne.isLeapYear=e9e,ne.weekYear=_Xe,ne.isoWeekYear=bXe,ne.quarter=ne.quarters=EXe,ne.month=e9,ne.daysInMonth=JGe,ne.week=ne.weeks=o9e,ne.isoWeek=ne.isoWeeks=s9e,ne.weeksInYear=PXe,ne.weeksInWeekYear=kXe,ne.isoWeeksInYear=wXe,ne.isoWeeksInISOWeekYear=xXe,ne.date=M9,ne.day=ne.days=b9e,ne.weekday=w9e,ne.isoWeekday=x9e,ne.dayOfYear=MXe,ne.hour=ne.hours=O9e,ne.minute=ne.minutes=SXe,ne.second=ne.seconds=OXe,ne.millisecond=ne.milliseconds=S9,ne.utcOffset=cKe,ne.utc=mKe,ne.local=pKe,ne.parseZone=hKe,ne.hasAlignedHourOffset=vKe,ne.isDST=gKe,ne.isLocal=_Ke,ne.isUtcOffset=bKe,ne.isUtc=h9,ne.isUTC=h9,ne.zoneAbbr=DXe,ne.zoneName=$Xe,ne.dates=Gr("dates accessor is deprecated. Use date instead.",M9),ne.months=Gr("months accessor is deprecated. Use month instead",e9),ne.years=Gr("years accessor is deprecated. Use year instead",r9),ne.zone=Gr("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",fKe),ne.isDSTShifted=Gr("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",yKe);function AXe(t){return vt(t*1e3)}function RXe(){return vt.apply(null,arguments).parseZone()}function O9(t){return t}var Ke=IE.prototype;Ke.calendar=bGe,Ke.longDateFormat=kGe,Ke.invalidDate=EGe,Ke.ordinal=OGe,Ke.preparse=O9,Ke.postformat=O9,Ke.relativeTime=DGe,Ke.pastFuture=$Ge,Ke.set=yGe,Ke.eras=oXe,Ke.erasParse=sXe,Ke.erasConvertYear=uXe,Ke.erasAbbrRegex=pXe,Ke.erasNameRegex=mXe,Ke.erasNarrowRegex=hXe,Ke.months=YGe,Ke.monthsShort=GGe,Ke.monthsParse=XGe,Ke.monthsRegex=ZGe,Ke.monthsShortRegex=QGe,Ke.week=r9e,Ke.firstDayOfYear=i9e,Ke.firstDayOfWeek=a9e,Ke.weekdays=h9e,Ke.weekdaysMin=g9e,Ke.weekdaysShort=v9e,Ke.weekdaysParse=_9e,Ke.weekdaysRegex=P9e,Ke.weekdaysShortRegex=k9e,Ke.weekdaysMinRegex=T9e,Ke.isPM=M9e,Ke.meridiem=C9e;function Oh(t,e,r,n){var a=ba(),i=Un().set(n,e);return a[r](i,t)}function C9(t,e,r){if(va(t)&&(e=t,t=void 0),t=t||"",e!=null)return Oh(t,e,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=Oh(t,n,r,"month");return a}function nM(t,e,r,n){typeof t=="boolean"?(va(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,va(e)&&(r=e,e=void 0),e=e||"");var a=ba(),i=t?a._week.dow:0,o,s=[];if(r!=null)return Oh(e,(r+i)%7,n,"day");for(o=0;o<7;o++)s[o]=Oh(e,(o+i)%7,n,"day");return s}function IXe(t,e){return C9(t,e,"months")}function NXe(t,e){return C9(t,e,"monthsShort")}function LXe(t,e,r){return nM(t,e,r,"weekdays")}function WXe(t,e,r){return nM(t,e,r,"weekdaysShort")}function FXe(t,e,r){return nM(t,e,r,"weekdaysMin")}pi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,r=We(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}}),le.lang=Gr("moment.lang is deprecated. Use moment.locale instead.",pi),le.langData=Gr("moment.langData is deprecated. Use moment.localeData instead.",ba);var wa=Math.abs;function jXe(){var t=this._data;return this._milliseconds=wa(this._milliseconds),this._days=wa(this._days),this._months=wa(this._months),t.milliseconds=wa(t.milliseconds),t.seconds=wa(t.seconds),t.minutes=wa(t.minutes),t.hours=wa(t.hours),t.months=wa(t.months),t.years=wa(t.years),this}function D9(t,e,r,n){var a=_n(e,r);return t._milliseconds+=n*a._milliseconds,t._days+=n*a._days,t._months+=n*a._months,t._bubble()}function VXe(t,e){return D9(this,t,e,1)}function UXe(t,e){return D9(this,t,e,-1)}function $9(t){return t<0?Math.floor(t):Math.ceil(t)}function zXe(){var t=this._milliseconds,e=this._days,r=this._months,n=this._data,a,i,o,s,u;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=$9(aM(r)+e)*864e5,e=0,r=0),n.milliseconds=t%1e3,a=Xr(t/1e3),n.seconds=a%60,i=Xr(a/60),n.minutes=i%60,o=Xr(i/60),n.hours=o%24,e+=Xr(o/24),u=Xr(A9(e)),r+=u,e-=$9(aM(u)),s=Xr(r/12),r%=12,n.days=e,n.months=r,n.years=s,this}function A9(t){return t*4800/146097}function aM(t){return t*146097/4800}function BXe(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if(t=Kr(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+n/864e5,r=this._months+A9(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(aM(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return e*24+n/36e5;case"minute":return e*1440+n/6e4;case"second":return e*86400+n/1e3;case"millisecond":return Math.floor(e*864e5)+n;default:throw new Error("Unknown unit "+t)}}function HXe(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+We(this._months/12)*31536e6:NaN}function xa(t){return function(){return this.as(t)}}var qXe=xa("ms"),YXe=xa("s"),GXe=xa("m"),KXe=xa("h"),XXe=xa("d"),JXe=xa("w"),QXe=xa("M"),ZXe=xa("Q"),eJe=xa("y");function tJe(){return _n(this)}function rJe(t){return t=Kr(t),this.isValid()?this[t+"s"]():NaN}function Do(t){return function(){return this.isValid()?this._data[t]:NaN}}var nJe=Do("milliseconds"),aJe=Do("seconds"),iJe=Do("minutes"),oJe=Do("hours"),sJe=Do("days"),uJe=Do("months"),lJe=Do("years");function dJe(){return Xr(this.days()/7)}var Pa=Math.round,wu={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function cJe(t,e,r,n,a){return a.relativeTime(e||1,!!r,t,n)}function fJe(t,e,r,n){var a=_n(t).abs(),i=Pa(a.as("s")),o=Pa(a.as("m")),s=Pa(a.as("h")),u=Pa(a.as("d")),l=Pa(a.as("M")),d=Pa(a.as("w")),c=Pa(a.as("y")),m=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||o<=1&&["m"]||o<r.m&&["mm",o]||s<=1&&["h"]||s<r.h&&["hh",s]||u<=1&&["d"]||u<r.d&&["dd",u];return r.w!=null&&(m=m||d<=1&&["w"]||d<r.w&&["ww",d]),m=m||l<=1&&["M"]||l<r.M&&["MM",l]||c<=1&&["y"]||["yy",c],m[2]=e,m[3]=+t>0,m[4]=n,cJe.apply(null,m)}function mJe(t){return t===void 0?Pa:typeof t=="function"?(Pa=t,!0):!1}function pJe(t,e){return wu[t]===void 0?!1:e===void 0?wu[t]:(wu[t]=e,t==="s"&&(wu.ss=e-1),!0)}function hJe(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=wu,a,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(n=Object.assign({},wu,e),e.s!=null&&e.ss==null&&(n.ss=e.s-1)),a=this.localeData(),i=fJe(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var iM=Math.abs;function xu(t){return(t>0)-(t<0)||+t}function Ch(){if(!this.isValid())return this.localeData().invalidDate();var t=iM(this._milliseconds)/1e3,e=iM(this._days),r=iM(this._months),n,a,i,o,s=this.asSeconds(),u,l,d,c;return s?(n=Xr(t/60),a=Xr(n/60),t%=60,n%=60,i=Xr(r/12),r%=12,o=t?t.toFixed(3).replace(/\.?0+$/,""):"",u=s<0?"-":"",l=xu(this._months)!==xu(s)?"-":"",d=xu(this._days)!==xu(s)?"-":"",c=xu(this._milliseconds)!==xu(s)?"-":"",u+"P"+(i?l+i+"Y":"")+(r?l+r+"M":"")+(e?d+e+"D":"")+(a||n||t?"T":"")+(a?c+a+"H":"")+(n?c+n+"M":"")+(t?c+o+"S":"")):"P0D"}var Ve=Ph.prototype;Ve.isValid=sKe,Ve.abs=jXe,Ve.add=VXe,Ve.subtract=UXe,Ve.as=BXe,Ve.asMilliseconds=qXe,Ve.asSeconds=YXe,Ve.asMinutes=GXe,Ve.asHours=KXe,Ve.asDays=XXe,Ve.asWeeks=JXe,Ve.asMonths=QXe,Ve.asQuarters=ZXe,Ve.asYears=eJe,Ve.valueOf=HXe,Ve._bubble=zXe,Ve.clone=tJe,Ve.get=rJe,Ve.milliseconds=nJe,Ve.seconds=aJe,Ve.minutes=iJe,Ve.hours=oJe,Ve.days=sJe,Ve.weeks=dJe,Ve.months=uJe,Ve.years=lJe,Ve.humanize=hJe,Ve.toISOString=Ch,Ve.toString=Ch,Ve.toJSON=Ch,Ve.locale=b9,Ve.localeData=x9,Ve.toIsoString=Gr("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ch),Ve.lang=w9,ye("X",0,0,"unix"),ye("x",0,0,"valueOf"),de("x",vh),de("X",LGe),at("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)}),at("x",function(t,e,r){r._d=new Date(We(t))});//! moment.js
561
561
  le.version="2.29.4",vGe(vt),le.fn=ne,le.min=nKe,le.max=aKe,le.now=iKe,le.utc=Un,le.unix=AXe,le.months=IXe,le.isDate=Ed,le.locale=pi,le.invalid=uh,le.duration=_n,le.isMoment=gn,le.weekdays=LXe,le.parseZone=RXe,le.localeData=ba,le.isDuration=kh,le.monthsShort=NXe,le.weekdaysMin=FXe,le.defineLocale=qE,le.updateLocale=R9e,le.locales=I9e,le.weekdaysShort=WXe,le.normalizeUnits=Kr,le.relativeTimeRounding=mJe,le.relativeTimeThreshold=pJe,le.calendarFormat=CKe,le.prototype=ne,le.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const vJe=uW(Object.freeze(Object.defineProperty({__proto__:null,default:le},Symbol.toStringTag,{value:"Module"})));/*!
562
562
  * Pikaday
563
563
  *