@oiz/stzh-components 2.12.0 → 2.13.0-beta1
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.
- package/dist/cjs/{app-globals-5c0c2c46.js → app-globals-6831ae97.js} +2 -2
- package/dist/cjs/{app-globals-5c0c2c46.js.map → app-globals-6831ae97.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_2.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +12 -3
- package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +2 -2
- package/dist/cjs/stzh-input.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +8 -0
- package/dist/cjs/stzh-upload.cjs.entry.js.map +1 -1
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +1 -0
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +10 -2
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
- package/dist/collection/components/stzh-input/stzh-input.css +6 -0
- package/dist/collection/components/stzh-input/stzh-input.js +4 -4
- package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
- package/dist/collection/components/stzh-upload/stzh-upload.js +12 -0
- package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
- package/dist/collection/libraries/tom-select/cjs/tom-select.complete.js +4 -3
- package/dist/collection/libraries/tom-select/cjs/tom-select.js +4 -3
- package/dist/collection/libraries/tom-select/cjs/tom-select.popular.js +4 -3
- package/dist/collection/libraries/tom-select/esm/tom-select.complete.js +4 -3
- package/dist/collection/libraries/tom-select/esm/tom-select.js +4 -3
- package/dist/collection/libraries/tom-select/esm/tom-select.popular.js +4 -3
- package/dist/collection/libraries/tom-select/js/tom-select.base.js +4 -3
- package/dist/collection/libraries/tom-select/js/tom-select.base.min.js +16 -16
- package/dist/collection/libraries/tom-select/js/tom-select.complete.js +4 -3
- package/dist/collection/libraries/tom-select/js/tom-select.complete.min.js +3 -3
- package/dist/collection/libraries/tom-select/js/tom-select.popular.js +4 -3
- package/dist/collection/libraries/tom-select/js/tom-select.popular.min.js +30 -30
- package/dist/components/index.js +1 -1
- package/dist/components/stzh-datalist-item2.js +1 -1
- package/dist/components/stzh-datalist-item2.js.map +1 -1
- package/dist/components/stzh-dropdown2.js +12 -3
- package/dist/components/stzh-dropdown2.js.map +1 -1
- package/dist/components/stzh-input2.js +3 -3
- package/dist/components/stzh-input2.js.map +1 -1
- package/dist/components/stzh-upload.js +10 -0
- package/dist/components/stzh-upload.js.map +1 -1
- package/dist/esm/{app-globals-bfc779f0.js → app-globals-c1cfb228.js} +2 -2
- package/dist/esm/{app-globals-bfc779f0.js.map → app-globals-c1cfb228.js.map} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-datalist_2.entry.js +1 -1
- package/dist/esm/stzh-datalist_2.entry.js.map +1 -1
- package/dist/esm/stzh-dropdown.entry.js +12 -3
- package/dist/esm/stzh-dropdown.entry.js.map +1 -1
- package/dist/esm/stzh-input.entry.js +2 -2
- package/dist/esm/stzh-input.entry.js.map +1 -1
- package/dist/esm/stzh-upload.entry.js +8 -0
- package/dist/esm/stzh-upload.entry.js.map +1 -1
- package/dist/esm-es5/{app-globals-bfc779f0.js → app-globals-c1cfb228.js} +2 -2
- package/dist/esm-es5/{app-globals-bfc779f0.js.map → app-globals-c1cfb228.js.map} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-components.js.map +1 -1
- package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
- package/dist/esm-es5/stzh-datalist_2.entry.js.map +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +2 -2
- package/dist/esm-es5/stzh-dropdown.entry.js.map +1 -1
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-input.entry.js.map +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js.map +1 -1
- package/dist/stzh-components/{p-aa9975e6.entry.js → p-24d82258.entry.js} +2 -2
- package/dist/stzh-components/p-24d82258.entry.js.map +1 -0
- package/dist/stzh-components/{p-11a57dcd.entry.js → p-2653562a.entry.js} +6 -6
- package/dist/stzh-components/p-2653562a.entry.js.map +1 -0
- package/dist/stzh-components/{p-4206f3e1.system.entry.js → p-376b64c8.system.entry.js} +5 -5
- package/dist/stzh-components/p-376b64c8.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-9035fa3b.system.js → p-50faf5a6.system.js} +2 -2
- package/dist/stzh-components/{p-9035fa3b.system.js.map → p-50faf5a6.system.js.map} +1 -1
- package/dist/stzh-components/p-8438088e.system.js +2 -0
- package/dist/stzh-components/{p-eed26372.system.js.map → p-8438088e.system.js.map} +1 -1
- package/dist/stzh-components/{p-ea2fd8f8.js → p-8e02ecc8.js} +2 -2
- package/dist/stzh-components/{p-ea2fd8f8.js.map → p-8e02ecc8.js.map} +1 -1
- package/dist/stzh-components/p-990141f4.entry.js +2 -0
- package/dist/stzh-components/p-990141f4.entry.js.map +1 -0
- package/dist/stzh-components/p-c1f89d5c.system.entry.js +2 -0
- package/dist/stzh-components/p-c1f89d5c.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-4488789b.entry.js → p-c90cf7f4.entry.js} +2 -2
- package/dist/stzh-components/p-c90cf7f4.entry.js.map +1 -0
- package/dist/stzh-components/{p-b19c3193.system.entry.js → p-cf18eff2.system.entry.js} +2 -2
- package/dist/stzh-components/p-cf18eff2.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-2d88c544.system.entry.js → p-e6444356.system.entry.js} +2 -2
- package/dist/stzh-components/p-e6444356.system.entry.js.map +1 -0
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.esm.js.map +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +1 -1
- package/dist/types/components/stzh-input/stzh-input.d.ts +1 -1
- package/dist/types/components/stzh-upload/stzh-upload.d.ts +2 -0
- package/dist/types/components.d.ts +4 -4
- package/dist/types/libraries/tom-select/types/defaults.d.ts +1 -0
- package/dist/types/libraries/tom-select/types/types/settings.d.ts +1 -0
- package/dist/vscode-data.json +7537 -0
- package/package.json +1 -1
- package/dist/stzh-components/p-11a57dcd.entry.js.map +0 -1
- package/dist/stzh-components/p-2d88c544.system.entry.js.map +0 -1
- package/dist/stzh-components/p-4206f3e1.system.entry.js.map +0 -1
- package/dist/stzh-components/p-4488789b.entry.js.map +0 -1
- package/dist/stzh-components/p-4ad49ece.entry.js +0 -2
- package/dist/stzh-components/p-4ad49ece.entry.js.map +0 -1
- package/dist/stzh-components/p-a0b350c2.system.entry.js +0 -2
- package/dist/stzh-components/p-a0b350c2.system.entry.js.map +0 -1
- package/dist/stzh-components/p-aa9975e6.entry.js.map +0 -1
- package/dist/stzh-components/p-b19c3193.system.entry.js.map +0 -1
- package/dist/stzh-components/p-eed26372.system.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r,c as e,h as t,a as n,g as i}from"./p-c92165bd.js";import{i as a,h as o}from"./p-cfdb06e4.js";import{S as u}from"./p-bac917cc.js";import"./p-9b063923.js";(function r(e,t){if(typeof exports==="object"&&typeof module==="object")module.exports=t();else if(typeof define==="function"&&define.amd)define([],t);else{var n=t();for(var i in n)(typeof exports==="object"?exports:e)[i]=n[i]}})(self,(function(){return function(){var r={3099:function(r){r.exports=function(r){if(typeof r!="function"){throw TypeError(String(r)+" is not a function")}return r}},6077:function(r,e,t){var n=t(111);r.exports=function(r){if(!n(r)&&r!==null){throw TypeError("Can't set "+String(r)+" as a prototype")}return r}},1223:function(r,e,t){var n=t(5112);var i=t(30);var a=t(3070);var o=n("unscopables");var u=Array.prototype;if(u[o]==undefined){a.f(u,o,{configurable:true,value:i(null)})}r.exports=function(r){u[o][r]=true}},1530:function(r,e,t){var n=t(8710).charAt;r.exports=function(r,e,t){return e+(t?n(r,e).length:1)}},5787:function(r){r.exports=function(r,e,t){if(!(r instanceof e)){throw TypeError("Incorrect "+(t?t+" ":"")+"invocation")}return r}},9670:function(r,e,t){var n=t(111);r.exports=function(r){if(!n(r)){throw TypeError(String(r)+" is not an object")}return r}},4019:function(r){r.exports=typeof ArrayBuffer!=="undefined"&&typeof DataView!=="undefined"},260:function(r,e,t){var n=t(4019);var i=t(9781);var a=t(7854);var o=t(111);var u=t(6656);var s=t(648);var f=t(8880);var l=t(1320);var v=t(3070).f;var c=t(9518);var h=t(7674);var d=t(5112);var p=t(9711);var y=a.Int8Array;var g=y&&y.prototype;var m=a.Uint8ClampedArray;var b=m&&m.prototype;var z=y&&c(y);var w=g&&c(g);var A=Object.prototype;var x=A.isPrototypeOf;var _=d("toStringTag");var k=p("TYPED_ARRAY_TAG");var S=n&&!!h&&s(a.opera)!=="Opera";var E=false;var R;var F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8};var C={BigInt64Array:8,BigUint64Array:8};var T=function r(e){if(!o(e))return false;var t=s(e);return t==="DataView"||u(F,t)||u(C,t)};var j=function(r){if(!o(r))return false;var e=s(r);return u(F,e)||u(C,e)};var M=function(r){if(j(r))return r;throw TypeError("Target is not a typed array")};var U=function(r){if(h){if(x.call(z,r))return r}else for(var e in F)if(u(F,R)){var t=a[e];if(t&&(r===t||x.call(t,r))){return r}}throw TypeError("Target is not a typed array constructor")};var O=function(r,e,t){if(!i)return;if(t)for(var n in F){var o=a[n];if(o&&u(o.prototype,r)){delete o.prototype[r]}}if(!w[r]||t){l(w,r,t?e:S&&g[r]||e)}};var I=function(r,e,t){var n,o;if(!i)return;if(h){if(t)for(n in F){o=a[n];if(o&&u(o,r)){delete o[r]}}if(!z[r]||t){try{return l(z,r,t?e:S&&y[r]||e)}catch(r){}}else return}for(n in F){o=a[n];if(o&&(!o[r]||t)){l(o,r,e)}}};for(R in F){if(!a[R])S=false}if(!S||typeof z!="function"||z===Function.prototype){z=function r(){throw TypeError("Incorrect invocation")};if(S)for(R in F){if(a[R])h(a[R],z)}}if(!S||!w||w===A){w=z.prototype;if(S)for(R in F){if(a[R])h(a[R].prototype,w)}}if(S&&c(b)!==w){h(b,w)}if(i&&!u(w,_)){E=true;v(w,_,{get:function(){return o(this)?this[k]:undefined}});for(R in F)if(a[R]){f(a[R],k,R)}}r.exports={NATIVE_ARRAY_BUFFER_VIEWS:S,TYPED_ARRAY_TAG:E&&k,aTypedArray:M,aTypedArrayConstructor:U,exportTypedArrayMethod:O,exportTypedArrayStaticMethod:I,isView:T,isTypedArray:j,TypedArray:z,TypedArrayPrototype:w}},3331:function(r,e,t){var n=t(7854);var i=t(9781);var a=t(4019);var o=t(8880);var u=t(2248);var s=t(7293);var f=t(5787);var l=t(9958);var v=t(7466);var c=t(7067);var h=t(1179);var d=t(9518);var p=t(7674);var y=t(8006).f;var g=t(3070).f;var m=t(1285);var b=t(8003);var z=t(9909);var w=z.get;var A=z.set;var x="ArrayBuffer";var _="DataView";var k="prototype";var S="Wrong length";var E="Wrong index";var R=n[x];var F=R;var C=n[_];var T=C&&C[k];var j=Object.prototype;var M=n.RangeError;var U=h.pack;var O=h.unpack;var I=function(r){return[r&255]};var L=function(r){return[r&255,r>>8&255]};var B=function(r){return[r&255,r>>8&255,r>>16&255,r>>24&255]};var P=function(r){return r[3]<<24|r[2]<<16|r[1]<<8|r[0]};var $=function(r){return U(r,23,4)};var D=function(r){return U(r,52,8)};var N=function(r,e){g(r[k],e,{get:function(){return w(this)[e]}})};var Q=function(r,e,t,n){var i=c(t);var a=w(r);if(i+e>a.byteLength)throw M(E);var o=w(a.buffer).bytes;var u=i+a.byteOffset;var s=o.slice(u,u+e);return n?s:s.reverse()};var q=function(r,e,t,n,i,a){var o=c(t);var u=w(r);if(o+e>u.byteLength)throw M(E);var s=w(u.buffer).bytes;var f=o+u.byteOffset;var l=n(+i);for(var v=0;v<e;v++)s[f+v]=l[a?v:e-v-1]};if(!a){F=function r(e){f(this,F,x);var t=c(e);A(this,{bytes:m.call(new Array(t),0),byteLength:t});if(!i)this.byteLength=t};C=function r(e,t,n){f(this,C,_);f(e,F,_);var a=w(e).byteLength;var o=l(t);if(o<0||o>a)throw M("Wrong offset");n=n===undefined?a-o:v(n);if(o+n>a)throw M(S);A(this,{buffer:e,byteLength:n,byteOffset:o});if(!i){this.buffer=e;this.byteLength=n;this.byteOffset=o}};if(i){N(F,"byteLength");N(C,"buffer");N(C,"byteLength");N(C,"byteOffset")}u(C[k],{getInt8:function r(e){return Q(this,1,e)[0]<<24>>24},getUint8:function r(e){return Q(this,1,e)[0]},getInt16:function r(e){var t=Q(this,2,e,arguments.length>1?arguments[1]:undefined);return(t[1]<<8|t[0])<<16>>16},getUint16:function r(e){var t=Q(this,2,e,arguments.length>1?arguments[1]:undefined);return t[1]<<8|t[0]},getInt32:function r(e){return P(Q(this,4,e,arguments.length>1?arguments[1]:undefined))},getUint32:function r(e){return P(Q(this,4,e,arguments.length>1?arguments[1]:undefined))>>>0},getFloat32:function r(e){return O(Q(this,4,e,arguments.length>1?arguments[1]:undefined),23)},getFloat64:function r(e){return O(Q(this,8,e,arguments.length>1?arguments[1]:undefined),52)},setInt8:function r(e,t){q(this,1,e,I,t)},setUint8:function r(e,t){q(this,1,e,I,t)},setInt16:function r(e,t){q(this,2,e,L,t,arguments.length>2?arguments[2]:undefined)},setUint16:function r(e,t){q(this,2,e,L,t,arguments.length>2?arguments[2]:undefined)},setInt32:function r(e,t){q(this,4,e,B,t,arguments.length>2?arguments[2]:undefined)},setUint32:function r(e,t){q(this,4,e,B,t,arguments.length>2?arguments[2]:undefined)},setFloat32:function r(e,t){q(this,4,e,$,t,arguments.length>2?arguments[2]:undefined)},setFloat64:function r(e,t){q(this,8,e,D,t,arguments.length>2?arguments[2]:undefined)}})}else{if(!s((function(){R(1)}))||!s((function(){new R(-1)}))||s((function(){new R;new R(1.5);new R(NaN);return R.name!=x}))){F=function r(e){f(this,F);return new R(c(e))};var Y=F[k]=R[k];for(var G=y(R),V=0,W;G.length>V;){if(!((W=G[V++])in F)){o(F,W,R[W])}}Y.constructor=F}if(p&&d(T)!==j){p(T,j)}var X=new C(new F(2));var H=T.setInt8;X.setInt8(0,2147483648);X.setInt8(1,2147483649);if(X.getInt8(0)||!X.getInt8(1))u(T,{setInt8:function r(e,t){H.call(this,e,t<<24>>24)},setUint8:function r(e,t){H.call(this,e,t<<24>>24)}},{unsafe:true})}b(F,x);b(C,_);r.exports={ArrayBuffer:F,DataView:C}},1048:function(r,e,t){var n=t(7908);var i=t(1400);var a=t(7466);var o=Math.min;r.exports=[].copyWithin||function r(e,t){var u=n(this);var s=a(u.length);var f=i(e,s);var l=i(t,s);var v=arguments.length>2?arguments[2]:undefined;var c=o((v===undefined?s:i(v,s))-l,s-f);var h=1;if(l<f&&f<l+c){h=-1;l+=c-1;f+=c-1}while(c-- >0){if(l in u)u[f]=u[l];else delete u[f];f+=h;l+=h}return u}},1285:function(r,e,t){var n=t(7908);var i=t(1400);var a=t(7466);r.exports=function r(e){var t=n(this);var o=a(t.length);var u=arguments.length;var s=i(u>1?arguments[1]:undefined,o);var f=u>2?arguments[2]:undefined;var l=f===undefined?o:i(f,o);while(l>s)t[s++]=e;return t}},8533:function(r,e,t){var n=t(2092).forEach;var i=t(9341);var a=i("forEach");r.exports=!a?function r(e){return n(this,e,arguments.length>1?arguments[1]:undefined)}:[].forEach},8457:function(r,e,t){var n=t(9974);var i=t(7908);var a=t(3411);var o=t(7659);var u=t(7466);var s=t(6135);var f=t(1246);r.exports=function r(e){var t=i(e);var l=typeof this=="function"?this:Array;var v=arguments.length;var c=v>1?arguments[1]:undefined;var h=c!==undefined;var d=f(t);var p=0;var y,g,m,b,z,w;if(h)c=n(c,v>2?arguments[2]:undefined,2);if(d!=undefined&&!(l==Array&&o(d))){b=d.call(t);z=b.next;g=new l;for(;!(m=z.call(b)).done;p++){w=h?a(b,c,[m.value,p],true):m.value;s(g,p,w)}}else{y=u(t.length);g=new l(y);for(;y>p;p++){w=h?c(t[p],p):t[p];s(g,p,w)}}g.length=p;return g}},1318:function(r,e,t){var n=t(5656);var i=t(7466);var a=t(1400);var o=function(r){return function(e,t,o){var u=n(e);var s=i(u.length);var f=a(o,s);var l;if(r&&t!=t)while(s>f){l=u[f++];if(l!=l)return true}else for(;s>f;f++){if((r||f in u)&&u[f]===t)return r||f||0}return!r&&-1}};r.exports={includes:o(true),indexOf:o(false)}},2092:function(r,e,t){var n=t(9974);var i=t(8361);var a=t(7908);var o=t(7466);var u=t(5417);var s=[].push;var f=function(r){var e=r==1;var t=r==2;var f=r==3;var l=r==4;var v=r==6;var c=r==7;var h=r==5||v;return function(d,p,y,g){var m=a(d);var b=i(m);var z=n(p,y,3);var w=o(b.length);var A=0;var x=g||u;var _=e?x(d,w):t||c?x(d,0):undefined;var k,S;for(;w>A;A++)if(h||A in b){k=b[A];S=z(k,A,m);if(r){if(e)_[A]=S;else if(S)switch(r){case 3:return true;case 5:return k;case 6:return A;case 2:s.call(_,k)}else switch(r){case 4:return false;case 7:s.call(_,k)}}}return v?-1:f||l?l:_}};r.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterOut:f(7)}},6583:function(r,e,t){var n=t(5656);var i=t(9958);var a=t(7466);var o=t(9341);var u=Math.min;var s=[].lastIndexOf;var f=!!s&&1/[1].lastIndexOf(1,-0)<0;var l=o("lastIndexOf");var v=f||!l;r.exports=v?function r(e){if(f)return s.apply(this,arguments)||0;var t=n(this);var o=a(t.length);var l=o-1;if(arguments.length>1)l=u(l,i(arguments[1]));if(l<0)l=o+l;for(;l>=0;l--)if(l in t&&t[l]===e)return l||0;return-1}:s},1194:function(r,e,t){var n=t(7293);var i=t(5112);var a=t(7392);var o=i("species");r.exports=function(r){return a>=51||!n((function(){var e=[];var t=e.constructor={};t[o]=function(){return{foo:1}};return e[r](Boolean).foo!==1}))}},9341:function(r,e,t){var n=t(7293);r.exports=function(r,e){var t=[][r];return!!t&&n((function(){t.call(null,e||function(){throw 1},1)}))}},3671:function(r,e,t){var n=t(3099);var i=t(7908);var a=t(8361);var o=t(7466);var u=function(r){return function(e,t,u,s){n(t);var f=i(e);var l=a(f);var v=o(f.length);var c=r?v-1:0;var h=r?-1:1;if(u<2)while(true){if(c in l){s=l[c];c+=h;break}c+=h;if(r?c<0:v<=c){throw TypeError("Reduce of empty array with no initial value")}}for(;r?c>=0:v>c;c+=h)if(c in l){s=t(s,l[c],c,f)}return s}};r.exports={left:u(false),right:u(true)}},5417:function(r,e,t){var n=t(111);var i=t(3157);var a=t(5112);var o=a("species");r.exports=function(r,e){var t;if(i(r)){t=r.constructor;if(typeof t=="function"&&(t===Array||i(t.prototype)))t=undefined;else if(n(t)){t=t[o];if(t===null)t=undefined}}return new(t===undefined?Array:t)(e===0?0:e)}},3411:function(r,e,t){var n=t(9670);var i=t(9212);r.exports=function(r,e,t,a){try{return a?e(n(t)[0],t[1]):e(t)}catch(e){i(r);throw e}}},7072:function(r,e,t){var n=t(5112);var i=n("iterator");var a=false;try{var o=0;var u={next:function(){return{done:!!o++}},return:function(){a=true}};u[i]=function(){return this};Array.from(u,(function(){throw 2}))}catch(r){}r.exports=function(r,e){if(!e&&!a)return false;var t=false;try{var n={};n[i]=function(){return{next:function(){return{done:t=true}}}};r(n)}catch(r){}return t}},4326:function(r){var e={}.toString;r.exports=function(r){return e.call(r).slice(8,-1)}},648:function(r,e,t){var n=t(1694);var i=t(4326);var a=t(5112);var o=a("toStringTag");var u=i(function(){return arguments}())=="Arguments";var s=function(r,e){try{return r[e]}catch(r){}};r.exports=n?i:function(r){var e,t,n;return r===undefined?"Undefined":r===null?"Null":typeof(t=s(e=Object(r),o))=="string"?t:u?i(e):(n=i(e))=="Object"&&typeof e.callee=="function"?"Arguments":n}},9920:function(r,e,t){var n=t(6656);var i=t(3887);var a=t(1236);var o=t(3070);r.exports=function(r,e){var t=i(e);var u=o.f;var s=a.f;for(var f=0;f<t.length;f++){var l=t[f];if(!n(r,l))u(r,l,s(e,l))}}},8544:function(r,e,t){var n=t(7293);r.exports=!n((function(){function r(){}r.prototype.constructor=null;return Object.getPrototypeOf(new r)!==r.prototype}))},4994:function(r,e,t){var n=t(3383).IteratorPrototype;var i=t(30);var a=t(9114);var o=t(8003);var u=t(7497);var s=function(){return this};r.exports=function(r,e,t){var f=e+" Iterator";r.prototype=i(n,{next:a(1,t)});o(r,f,false,true);u[f]=s;return r}},8880:function(r,e,t){var n=t(9781);var i=t(3070);var a=t(9114);r.exports=n?function(r,e,t){return i.f(r,e,a(1,t))}:function(r,e,t){r[e]=t;return r}},9114:function(r){r.exports=function(r,e){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:e}}},6135:function(r,e,t){var n=t(7593);var i=t(3070);var a=t(9114);r.exports=function(r,e,t){var o=n(e);if(o in r)i.f(r,o,a(0,t));else r[o]=t}},654:function(r,e,t){var n=t(2109);var i=t(4994);var a=t(9518);var o=t(7674);var u=t(8003);var s=t(8880);var f=t(1320);var l=t(5112);var v=t(1913);var c=t(7497);var h=t(3383);var d=h.IteratorPrototype;var p=h.BUGGY_SAFARI_ITERATORS;var y=l("iterator");var g="keys";var m="values";var b="entries";var z=function(){return this};r.exports=function(r,e,t,l,h,w,A){i(t,e,l);var x=function(r){if(r===h&&R)return R;if(!p&&r in S)return S[r];switch(r){case g:return function e(){return new t(this,r)};case m:return function e(){return new t(this,r)};case b:return function e(){return new t(this,r)}}return function(){return new t(this)}};var _=e+" Iterator";var k=false;var S=r.prototype;var E=S[y]||S["@@iterator"]||h&&S[h];var R=!p&&E||x(h);var F=e=="Array"?S.entries||E:E;var C,T,j;if(F){C=a(F.call(new r));if(d!==Object.prototype&&C.next){if(!v&&a(C)!==d){if(o){o(C,d)}else if(typeof C[y]!="function"){s(C,y,z)}}u(C,_,true,true);if(v)c[_]=z}}if(h==m&&E&&E.name!==m){k=true;R=function r(){return E.call(this)}}if((!v||A)&&S[y]!==R){s(S,y,R)}c[e]=R;if(h){T={values:x(m),keys:w?R:x(g),entries:x(b)};if(A)for(j in T){if(p||k||!(j in S)){f(S,j,T[j])}}else n({target:e,proto:true,forced:p||k},T)}return T}},9781:function(r,e,t){var n=t(7293);r.exports=!n((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}))},317:function(r,e,t){var n=t(7854);var i=t(111);var a=n.document;var o=i(a)&&i(a.createElement);r.exports=function(r){return o?a.createElement(r):{}}},8324:function(r){r.exports={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}},8113:function(r,e,t){var n=t(5005);r.exports=n("navigator","userAgent")||""},7392:function(r,e,t){var n=t(7854);var i=t(8113);var a=n.process;var o=a&&a.versions;var u=o&&o.v8;var s,f;if(u){s=u.split(".");f=s[0]+s[1]}else if(i){s=i.match(/Edge\/(\d+)/);if(!s||s[1]>=74){s=i.match(/Chrome\/(\d+)/);if(s)f=s[1]}}r.exports=f&&+f},748:function(r){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(r,e,t){var n=t(7854);var i=t(1236).f;var a=t(8880);var o=t(1320);var u=t(3505);var s=t(9920);var f=t(4705);r.exports=function(r,e){var t=r.target;var l=r.global;var v=r.stat;var c,h,d,p,y,g;if(l){h=n}else if(v){h=n[t]||u(t,{})}else{h=(n[t]||{}).prototype}if(h)for(d in e){y=e[d];if(r.noTargetGet){g=i(h,d);p=g&&g.value}else p=h[d];c=f(l?d:t+(v?".":"#")+d,r.forced);if(!c&&p!==undefined){if(typeof y===typeof p)continue;s(y,p)}if(r.sham||p&&p.sham){a(y,"sham",true)}o(h,d,y,r)}}},7293:function(r){r.exports=function(r){try{return!!r()}catch(r){return true}}},7007:function(r,e,t){t(4916);var n=t(1320);var i=t(7293);var a=t(5112);var o=t(2261);var u=t(8880);var s=a("species");var f=!i((function(){var r=/./;r.exec=function(){var r=[];r.groups={a:"7"};return r};return"".replace(r,"$<a>")!=="7"}));var l=function(){return"a".replace(/./,"$0")==="$0"}();var v=a("replace");var c=function(){if(/./[v]){return/./[v]("a","$0")===""}return false}();var h=!i((function(){var r=/(?:)/;var e=r.exec;r.exec=function(){return e.apply(this,arguments)};var t="ab".split(r);return t.length!==2||t[0]!=="a"||t[1]!=="b"}));r.exports=function(r,e,t,v){var d=a(r);var p=!i((function(){var e={};e[d]=function(){return 7};return""[r](e)!=7}));var y=p&&!i((function(){var e=false;var t=/a/;if(r==="split"){t={};t.constructor={};t.constructor[s]=function(){return t};t.flags="";t[d]=/./[d]}t.exec=function(){e=true;return null};t[d]("");return!e}));if(!p||!y||r==="replace"&&!(f&&l&&!c)||r==="split"&&!h){var g=/./[d];var m=t(d,""[r],(function(r,e,t,n,i){if(e.exec===o){if(p&&!i){return{done:true,value:g.call(e,t,n)}}return{done:true,value:r.call(t,e,n)}}return{done:false}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:c});var b=m[0];var z=m[1];n(String.prototype,r,b);n(RegExp.prototype,d,e==2?function(r,e){return z.call(r,this,e)}:function(r){return z.call(r,this)})}if(v)u(RegExp.prototype[d],"sham",true)}},9974:function(r,e,t){var n=t(3099);r.exports=function(r,e,t){n(r);if(e===undefined)return r;switch(t){case 0:return function(){return r.call(e)};case 1:return function(t){return r.call(e,t)};case 2:return function(t,n){return r.call(e,t,n)};case 3:return function(t,n,i){return r.call(e,t,n,i)}}return function(){return r.apply(e,arguments)}}},5005:function(r,e,t){var n=t(857);var i=t(7854);var a=function(r){return typeof r=="function"?r:undefined};r.exports=function(r,e){return arguments.length<2?a(n[r])||a(i[r]):n[r]&&n[r][e]||i[r]&&i[r][e]}},1246:function(r,e,t){var n=t(648);var i=t(7497);var a=t(5112);var o=a("iterator");r.exports=function(r){if(r!=undefined)return r[o]||r["@@iterator"]||i[n(r)]}},8554:function(r,e,t){var n=t(9670);var i=t(1246);r.exports=function(r){var e=i(r);if(typeof e!="function"){throw TypeError(String(r)+" is not iterable")}return n(e.call(r))}},647:function(r,e,t){var n=t(7908);var i=Math.floor;var a="".replace;var o=/\$([$&'`]|\d\d?|<[^>]*>)/g;var u=/\$([$&'`]|\d\d?)/g;r.exports=function(r,e,t,s,f,l){var v=t+r.length;var c=s.length;var h=u;if(f!==undefined){f=n(f);h=o}return a.call(l,h,(function(n,a){var o;switch(a.charAt(0)){case"$":return"$";case"&":return r;case"`":return e.slice(0,t);case"'":return e.slice(v);case"<":o=f[a.slice(1,-1)];break;default:var u=+a;if(u===0)return n;if(u>c){var l=i(u/10);if(l===0)return n;if(l<=c)return s[l-1]===undefined?a.charAt(1):s[l-1]+a.charAt(1);return n}o=s[u-1]}return o===undefined?"":o}))}},7854:function(r,e,t){var n=function(r){return r&&r.Math==Math&&r};r.exports=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof t.g=="object"&&t.g)||function(){return this}()||Function("return this")()},6656:function(r){var e={}.hasOwnProperty;r.exports=function(r,t){return e.call(r,t)}},3501:function(r){r.exports={}},490:function(r,e,t){var n=t(5005);r.exports=n("document","documentElement")},4664:function(r,e,t){var n=t(9781);var i=t(7293);var a=t(317);r.exports=!n&&!i((function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7}))},1179:function(r){var e=Math.abs;var t=Math.pow;var n=Math.floor;var i=Math.log;var a=Math.LN2;var o=function(r,o,u){var s=new Array(u);var f=u*8-o-1;var l=(1<<f)-1;var v=l>>1;var c=o===23?t(2,-24)-t(2,-77):0;var h=r<0||r===0&&1/r<0?1:0;var d=0;var p,y,g;r=e(r);if(r!=r||r===Infinity){y=r!=r?1:0;p=l}else{p=n(i(r)/a);if(r*(g=t(2,-p))<1){p--;g*=2}if(p+v>=1){r+=c/g}else{r+=c*t(2,1-v)}if(r*g>=2){p++;g/=2}if(p+v>=l){y=0;p=l}else if(p+v>=1){y=(r*g-1)*t(2,o);p=p+v}else{y=r*t(2,v-1)*t(2,o);p=0}}for(;o>=8;s[d++]=y&255,y/=256,o-=8);p=p<<o|y;f+=o;for(;f>0;s[d++]=p&255,p/=256,f-=8);s[--d]|=h*128;return s};var u=function(r,e){var n=r.length;var i=n*8-e-1;var a=(1<<i)-1;var o=a>>1;var u=i-7;var s=n-1;var f=r[s--];var l=f&127;var v;f>>=7;for(;u>0;l=l*256+r[s],s--,u-=8);v=l&(1<<-u)-1;l>>=-u;u+=e;for(;u>0;v=v*256+r[s],s--,u-=8);if(l===0){l=1-o}else if(l===a){return v?NaN:f?-Infinity:Infinity}else{v=v+t(2,e);l=l-o}return(f?-1:1)*v*t(2,l-e)};r.exports={pack:o,unpack:u}},8361:function(r,e,t){var n=t(7293);var i=t(4326);var a="".split;r.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(r){return i(r)=="String"?a.call(r,""):Object(r)}:Object},9587:function(r,e,t){var n=t(111);var i=t(7674);r.exports=function(r,e,t){var a,o;if(i&&typeof(a=e.constructor)=="function"&&a!==t&&n(o=a.prototype)&&o!==t.prototype)i(r,o);return r}},2788:function(r,e,t){var n=t(5465);var i=Function.toString;if(typeof n.inspectSource!="function"){n.inspectSource=function(r){return i.call(r)}}r.exports=n.inspectSource},9909:function(r,e,t){var n=t(8536);var i=t(7854);var a=t(111);var o=t(8880);var u=t(6656);var s=t(5465);var f=t(6200);var l=t(3501);var v=i.WeakMap;var c,h,d;var p=function(r){return d(r)?h(r):c(r,{})};var y=function(r){return function(e){var t;if(!a(e)||(t=h(e)).type!==r){throw TypeError("Incompatible receiver, "+r+" required")}return t}};if(n){var g=s.state||(s.state=new v);var m=g.get;var b=g.has;var z=g.set;c=function(r,e){e.facade=r;z.call(g,r,e);return e};h=function(r){return m.call(g,r)||{}};d=function(r){return b.call(g,r)}}else{var w=f("state");l[w]=true;c=function(r,e){e.facade=r;o(r,w,e);return e};h=function(r){return u(r,w)?r[w]:{}};d=function(r){return u(r,w)}}r.exports={set:c,get:h,has:d,enforce:p,getterFor:y}},7659:function(r,e,t){var n=t(5112);var i=t(7497);var a=n("iterator");var o=Array.prototype;r.exports=function(r){return r!==undefined&&(i.Array===r||o[a]===r)}},3157:function(r,e,t){var n=t(4326);r.exports=Array.isArray||function r(e){return n(e)=="Array"}},4705:function(r,e,t){var n=t(7293);var i=/#|\.prototype\./;var a=function(r,e){var t=u[o(r)];return t==f?true:t==s?false:typeof e=="function"?n(e):!!e};var o=a.normalize=function(r){return String(r).replace(i,".").toLowerCase()};var u=a.data={};var s=a.NATIVE="N";var f=a.POLYFILL="P";r.exports=a},111:function(r){r.exports=function(r){return typeof r==="object"?r!==null:typeof r==="function"}},1913:function(r){r.exports=false},7850:function(r,e,t){var n=t(111);var i=t(4326);var a=t(5112);var o=a("match");r.exports=function(r){var e;return n(r)&&((e=r[o])!==undefined?!!e:i(r)=="RegExp")}},9212:function(r,e,t){var n=t(9670);r.exports=function(r){var e=r["return"];if(e!==undefined){return n(e.call(r)).value}}},3383:function(r,e,t){var n=t(7293);var i=t(9518);var a=t(8880);var o=t(6656);var u=t(5112);var s=t(1913);var f=u("iterator");var l=false;var v=function(){return this};var c,h,d;if([].keys){d=[].keys();if(!("next"in d))l=true;else{h=i(i(d));if(h!==Object.prototype)c=h}}var p=c==undefined||n((function(){var r={};return c[f].call(r)!==r}));if(p)c={};if((!s||p)&&!o(c,f)){a(c,f,v)}r.exports={IteratorPrototype:c,BUGGY_SAFARI_ITERATORS:l}},7497:function(r){r.exports={}},133:function(r,e,t){var n=t(7293);r.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},590:function(r,e,t){var n=t(7293);var i=t(5112);var a=t(1913);var o=i("iterator");r.exports=!n((function(){var r=new URL("b?a=1&b=2&c=3","http://a");var e=r.searchParams;var t="";r.pathname="c%20d";e.forEach((function(r,n){e["delete"]("b");t+=n+r}));return a&&!r.toJSON||!e.sort||r.href!=="http://a/c%20d?a=1&c=3"||e.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!e[o]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://тест").host!=="xn--e1aybc"||new URL("http://a#б").hash!=="#%D0%B1"||t!=="a1c3"||new URL("http://x",undefined).host!=="x"}))},8536:function(r,e,t){var n=t(7854);var i=t(2788);var a=n.WeakMap;r.exports=typeof a==="function"&&/native code/.test(i(a))},1574:function(r,e,t){var n=t(9781);var i=t(7293);var a=t(1956);var o=t(5181);var u=t(5296);var s=t(7908);var f=t(8361);var l=Object.assign;var v=Object.defineProperty;r.exports=!l||i((function(){if(n&&l({b:1},l(v({},"a",{enumerable:true,get:function(){v(this,"b",{value:3,enumerable:false})}}),{b:2})).b!==1)return true;var r={};var e={};var t=Symbol();var i="abcdefghijklmnopqrst";r[t]=7;i.split("").forEach((function(r){e[r]=r}));return l({},r)[t]!=7||a(l({},e)).join("")!=i}))?function r(e,t){var i=s(e);var l=arguments.length;var v=1;var c=o.f;var h=u.f;while(l>v){var d=f(arguments[v++]);var p=c?a(d).concat(c(d)):a(d);var y=p.length;var g=0;var m;while(y>g){m=p[g++];if(!n||h.call(d,m))i[m]=d[m]}}return i}:l},30:function(r,e,t){var n=t(9670);var i=t(6048);var a=t(748);var o=t(3501);var u=t(490);var s=t(317);var f=t(6200);var l=">";var v="<";var c="prototype";var h="script";var d=f("IE_PROTO");var p=function(){};var y=function(r){return v+h+l+r+v+"/"+h+l};var g=function(r){r.write(y(""));r.close();var e=r.parentWindow.Object;r=null;return e};var m=function(){var r=s("iframe");var e="java"+h+":";var t;r.style.display="none";u.appendChild(r);r.src=String(e);t=r.contentWindow.document;t.open();t.write(y("document.F=Object"));t.close();return t.F};var b;var z=function(){try{b=document.domain&&new ActiveXObject("htmlfile")}catch(r){}z=b?g(b):m();var r=a.length;while(r--)delete z[c][a[r]];return z()};o[d]=true;r.exports=Object.create||function r(e,t){var a;if(e!==null){p[c]=n(e);a=new p;p[c]=null;a[d]=e}else a=z();return t===undefined?a:i(a,t)}},6048:function(r,e,t){var n=t(9781);var i=t(3070);var a=t(9670);var o=t(1956);r.exports=n?Object.defineProperties:function r(e,t){a(e);var n=o(t);var u=n.length;var s=0;var f;while(u>s)i.f(e,f=n[s++],t[f]);return e}},3070:function(r,e,t){var n=t(9781);var i=t(4664);var a=t(9670);var o=t(7593);var u=Object.defineProperty;e.f=n?u:function r(e,t,n){a(e);t=o(t,true);a(n);if(i)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");if("value"in n)e[t]=n.value;return e}},1236:function(r,e,t){var n=t(9781);var i=t(5296);var a=t(9114);var o=t(5656);var u=t(7593);var s=t(6656);var f=t(4664);var l=Object.getOwnPropertyDescriptor;e.f=n?l:function r(e,t){e=o(e);t=u(t,true);if(f)try{return l(e,t)}catch(r){}if(s(e,t))return a(!i.f.call(e,t),e[t])}},8006:function(r,e,t){var n=t(6324);var i=t(748);var a=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function r(e){return n(e,a)}},5181:function(r,e){e.f=Object.getOwnPropertySymbols},9518:function(r,e,t){var n=t(6656);var i=t(7908);var a=t(6200);var o=t(8544);var u=a("IE_PROTO");var s=Object.prototype;r.exports=o?Object.getPrototypeOf:function(r){r=i(r);if(n(r,u))return r[u];if(typeof r.constructor=="function"&&r instanceof r.constructor){return r.constructor.prototype}return r instanceof Object?s:null}},6324:function(r,e,t){var n=t(6656);var i=t(5656);var a=t(1318).indexOf;var o=t(3501);r.exports=function(r,e){var t=i(r);var u=0;var s=[];var f;for(f in t)!n(o,f)&&n(t,f)&&s.push(f);while(e.length>u)if(n(t,f=e[u++])){~a(s,f)||s.push(f)}return s}},1956:function(r,e,t){var n=t(6324);var i=t(748);r.exports=Object.keys||function r(e){return n(e,i)}},5296:function(r,e){var t={}.propertyIsEnumerable;var n=Object.getOwnPropertyDescriptor;var i=n&&!t.call({1:2},1);e.f=i?function r(e){var t=n(this,e);return!!t&&t.enumerable}:t},7674:function(r,e,t){var n=t(9670);var i=t(6077);r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r=false;var e={};var t;try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set;t.call(e,[]);r=e instanceof Array}catch(r){}return function e(a,o){n(a);i(o);if(r)t.call(a,o);else a.__proto__=o;return a}}():undefined)},288:function(r,e,t){var n=t(1694);var i=t(648);r.exports=n?{}.toString:function r(){return"[object "+i(this)+"]"}},3887:function(r,e,t){var n=t(5005);var i=t(8006);var a=t(5181);var o=t(9670);r.exports=n("Reflect","ownKeys")||function r(e){var t=i.f(o(e));var n=a.f;return n?t.concat(n(e)):t}},857:function(r,e,t){var n=t(7854);r.exports=n},2248:function(r,e,t){var n=t(1320);r.exports=function(r,e,t){for(var i in e)n(r,i,e[i],t);return r}},1320:function(r,e,t){var n=t(7854);var i=t(8880);var a=t(6656);var o=t(3505);var u=t(2788);var s=t(9909);var f=s.get;var l=s.enforce;var v=String(String).split("String");(r.exports=function(r,e,t,u){var s=u?!!u.unsafe:false;var f=u?!!u.enumerable:false;var c=u?!!u.noTargetGet:false;var h;if(typeof t=="function"){if(typeof e=="string"&&!a(t,"name")){i(t,"name",e)}h=l(t);if(!h.source){h.source=v.join(typeof e=="string"?e:"")}}if(r===n){if(f)r[e]=t;else o(e,t);return}else if(!s){delete r[e]}else if(!c&&r[e]){f=true}if(f)r[e]=t;else i(r,e,t)})(Function.prototype,"toString",(function r(){return typeof this=="function"&&f(this).source||u(this)}))},7651:function(r,e,t){var n=t(4326);var i=t(2261);r.exports=function(r,e){var t=r.exec;if(typeof t==="function"){var a=t.call(r,e);if(typeof a!=="object"){throw TypeError("RegExp exec method returned something other than an Object or null")}return a}if(n(r)!=="RegExp"){throw TypeError("RegExp#exec called on incompatible receiver")}return i.call(r,e)}},2261:function(r,e,t){var n=t(7066);var i=t(2999);var a=RegExp.prototype.exec;var o=String.prototype.replace;var u=a;var s=function(){var r=/a/;var e=/b*/g;a.call(r,"a");a.call(e,"a");return r.lastIndex!==0||e.lastIndex!==0}();var f=i.UNSUPPORTED_Y||i.BROKEN_CARET;var l=/()??/.exec("")[1]!==undefined;var v=s||l||f;if(v){u=function r(e){var t=this;var i,u,v,c;var h=f&&t.sticky;var d=n.call(t);var p=t.source;var y=0;var g=e;if(h){d=d.replace("y","");if(d.indexOf("g")===-1){d+="g"}g=String(e).slice(t.lastIndex);if(t.lastIndex>0&&(!t.multiline||t.multiline&&e[t.lastIndex-1]!=="\n")){p="(?: "+p+")";g=" "+g;y++}u=new RegExp("^(?:"+p+")",d)}if(l){u=new RegExp("^"+p+"$(?!\\s)",d)}if(s)i=t.lastIndex;v=a.call(h?u:t,g);if(h){if(v){v.input=v.input.slice(y);v[0]=v[0].slice(y);v.index=t.lastIndex;t.lastIndex+=v[0].length}else t.lastIndex=0}else if(s&&v){t.lastIndex=t.global?v.index+v[0].length:i}if(l&&v&&v.length>1){o.call(v[0],u,(function(){for(c=1;c<arguments.length-2;c++){if(arguments[c]===undefined)v[c]=undefined}}))}return v}}r.exports=u},7066:function(r,e,t){var n=t(9670);r.exports=function(){var r=n(this);var e="";if(r.global)e+="g";if(r.ignoreCase)e+="i";if(r.multiline)e+="m";if(r.dotAll)e+="s";if(r.unicode)e+="u";if(r.sticky)e+="y";return e}},2999:function(r,e,t){var n=t(7293);function i(r,e){return RegExp(r,e)}e.UNSUPPORTED_Y=n((function(){var r=i("a","y");r.lastIndex=2;return r.exec("abcd")!=null}));e.BROKEN_CARET=n((function(){var r=i("^r","gy");r.lastIndex=2;return r.exec("str")!=null}))},4488:function(r){r.exports=function(r){if(r==undefined)throw TypeError("Can't call method on "+r);return r}},3505:function(r,e,t){var n=t(7854);var i=t(8880);r.exports=function(r,e){try{i(n,r,e)}catch(t){n[r]=e}return e}},6340:function(r,e,t){var n=t(5005);var i=t(3070);var a=t(5112);var o=t(9781);var u=a("species");r.exports=function(r){var e=n(r);var t=i.f;if(o&&e&&!e[u]){t(e,u,{configurable:true,get:function(){return this}})}}},8003:function(r,e,t){var n=t(3070).f;var i=t(6656);var a=t(5112);var o=a("toStringTag");r.exports=function(r,e,t){if(r&&!i(r=t?r:r.prototype,o)){n(r,o,{configurable:true,value:e})}}},6200:function(r,e,t){var n=t(2309);var i=t(9711);var a=n("keys");r.exports=function(r){return a[r]||(a[r]=i(r))}},5465:function(r,e,t){var n=t(7854);var i=t(3505);var a="__core-js_shared__";var o=n[a]||i(a,{});r.exports=o},2309:function(r,e,t){var n=t(1913);var i=t(5465);(r.exports=function(r,e){return i[r]||(i[r]=e!==undefined?e:{})})("versions",[]).push({version:"3.9.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(r,e,t){var n=t(9670);var i=t(3099);var a=t(5112);var o=a("species");r.exports=function(r,e){var t=n(r).constructor;var a;return t===undefined||(a=n(t)[o])==undefined?e:i(a)}},8710:function(r,e,t){var n=t(9958);var i=t(4488);var a=function(r){return function(e,t){var a=String(i(e));var o=n(t);var u=a.length;var s,f;if(o<0||o>=u)return r?"":undefined;s=a.charCodeAt(o);return s<55296||s>56319||o+1===u||(f=a.charCodeAt(o+1))<56320||f>57343?r?a.charAt(o):s:r?a.slice(o,o+2):(s-55296<<10)+(f-56320)+65536}};r.exports={codeAt:a(false),charAt:a(true)}},3197:function(r){var e=2147483647;var t=36;var n=1;var i=26;var a=38;var o=700;var u=72;var s=128;var f="-";var l=/[^\0-\u007E]/;var v=/[.\u3002\uFF0E\uFF61]/g;var c="Overflow: input needs wider integers to process";var h=t-n;var d=Math.floor;var p=String.fromCharCode;var y=function(r){var e=[];var t=0;var n=r.length;while(t<n){var i=r.charCodeAt(t++);if(i>=55296&&i<=56319&&t<n){var a=r.charCodeAt(t++);if((a&64512)==56320){e.push(((i&1023)<<10)+(a&1023)+65536)}else{e.push(i);t--}}else{e.push(i)}}return e};var g=function(r){return r+22+75*(r<26)};var m=function(r,e,n){var u=0;r=n?d(r/o):r>>1;r+=d(r/e);for(;r>h*i>>1;u+=t){r=d(r/h)}return d(u+(h+1)*r/(r+a))};var b=function(r){var a=[];r=y(r);var o=r.length;var l=s;var v=0;var h=u;var b,z;for(b=0;b<r.length;b++){z=r[b];if(z<128){a.push(p(z))}}var w=a.length;var A=w;if(w){a.push(f)}while(A<o){var x=e;for(b=0;b<r.length;b++){z=r[b];if(z>=l&&z<x){x=z}}var _=A+1;if(x-l>d((e-v)/_)){throw RangeError(c)}v+=(x-l)*_;l=x;for(b=0;b<r.length;b++){z=r[b];if(z<l&&++v>e){throw RangeError(c)}if(z==l){var k=v;for(var S=t;;S+=t){var E=S<=h?n:S>=h+i?i:S-h;if(k<E)break;var R=k-E;var F=t-E;a.push(p(g(E+R%F)));k=d(R/F)}a.push(p(g(k)));h=m(v,_,A==w);v=0;++A}}++v;++l}return a.join("")};r.exports=function(r){var e=[];var t=r.toLowerCase().replace(v,".").split(".");var n,i;for(n=0;n<t.length;n++){i=t[n];e.push(l.test(i)?"xn--"+b(i):i)}return e.join(".")}},6091:function(r,e,t){var n=t(7293);var i=t(1361);var a="
";r.exports=function(r){return n((function(){return!!i[r]()||a[r]()!=a||i[r].name!==r}))}},3111:function(r,e,t){var n=t(4488);var i=t(1361);var a="["+i+"]";var o=RegExp("^"+a+a+"*");var u=RegExp(a+a+"*$");var s=function(r){return function(e){var t=String(n(e));if(r&1)t=t.replace(o,"");if(r&2)t=t.replace(u,"");return t}};r.exports={start:s(1),end:s(2),trim:s(3)}},1400:function(r,e,t){var n=t(9958);var i=Math.max;var a=Math.min;r.exports=function(r,e){var t=n(r);return t<0?i(t+e,0):a(t,e)}},7067:function(r,e,t){var n=t(9958);var i=t(7466);r.exports=function(r){if(r===undefined)return 0;var e=n(r);var t=i(e);if(e!==t)throw RangeError("Wrong length or index");return t}},5656:function(r,e,t){var n=t(8361);var i=t(4488);r.exports=function(r){return n(i(r))}},9958:function(r){var e=Math.ceil;var t=Math.floor;r.exports=function(r){return isNaN(r=+r)?0:(r>0?t:e)(r)}},7466:function(r,e,t){var n=t(9958);var i=Math.min;r.exports=function(r){return r>0?i(n(r),9007199254740991):0}},7908:function(r,e,t){var n=t(4488);r.exports=function(r){return Object(n(r))}},4590:function(r,e,t){var n=t(3002);r.exports=function(r,e){var t=n(r);if(t%e)throw RangeError("Wrong offset");return t}},3002:function(r,e,t){var n=t(9958);r.exports=function(r){var e=n(r);if(e<0)throw RangeError("The argument can't be less than 0");return e}},7593:function(r,e,t){var n=t(111);r.exports=function(r,e){if(!n(r))return r;var t,i;if(e&&typeof(t=r.toString)=="function"&&!n(i=t.call(r)))return i;if(typeof(t=r.valueOf)=="function"&&!n(i=t.call(r)))return i;if(!e&&typeof(t=r.toString)=="function"&&!n(i=t.call(r)))return i;throw TypeError("Can't convert object to primitive value")}},1694:function(r,e,t){var n=t(5112);var i=n("toStringTag");var a={};a[i]="z";r.exports=String(a)==="[object z]"},9843:function(r,e,t){var n=t(2109);var i=t(7854);var a=t(9781);var o=t(3832);var u=t(260);var s=t(3331);var f=t(5787);var l=t(9114);var v=t(8880);var c=t(7466);var h=t(7067);var d=t(4590);var p=t(7593);var y=t(6656);var g=t(648);var m=t(111);var b=t(30);var z=t(7674);var w=t(8006).f;var A=t(7321);var x=t(2092).forEach;var _=t(6340);var k=t(3070);var S=t(1236);var E=t(9909);var R=t(9587);var F=E.get;var C=E.set;var T=k.f;var j=S.f;var M=Math.round;var U=i.RangeError;var O=s.ArrayBuffer;var I=s.DataView;var L=u.NATIVE_ARRAY_BUFFER_VIEWS;var B=u.TYPED_ARRAY_TAG;var P=u.TypedArray;var $=u.TypedArrayPrototype;var D=u.aTypedArrayConstructor;var N=u.isTypedArray;var Q="BYTES_PER_ELEMENT";var q="Wrong length";var Y=function(r,e){var t=0;var n=e.length;var i=new(D(r))(n);while(n>t)i[t]=e[t++];return i};var G=function(r,e){T(r,e,{get:function(){return F(this)[e]}})};var V=function(r){var e;return r instanceof O||(e=g(r))=="ArrayBuffer"||e=="SharedArrayBuffer"};var W=function(r,e){return N(r)&&typeof e!="symbol"&&e in r&&String(+e)==String(e)};var X=function r(e,t){return W(e,t=p(t,true))?l(2,e[t]):j(e,t)};var H=function r(e,t,n){if(W(e,t=p(t,true))&&m(n)&&y(n,"value")&&!y(n,"get")&&!y(n,"set")&&!n.configurable&&(!y(n,"writable")||n.writable)&&(!y(n,"enumerable")||n.enumerable)){e[t]=n.value;return e}return T(e,t,n)};if(a){if(!L){S.f=X;k.f=H;G($,"buffer");G($,"byteOffset");G($,"byteLength");G($,"length")}n({target:"Object",stat:true,forced:!L},{getOwnPropertyDescriptor:X,defineProperty:H});r.exports=function(r,e,t){var a=r.match(/\d+$/)[0]/8;var u=r+(t?"Clamped":"")+"Array";var s="get"+r;var l="set"+r;var p=i[u];var y=p;var g=y&&y.prototype;var k={};var S=function(r,e){var t=F(r);return t.view[s](e*a+t.byteOffset,true)};var E=function(r,e,n){var i=F(r);if(t)n=(n=M(n))<0?0:n>255?255:n&255;i.view[l](e*a+i.byteOffset,n,true)};var j=function(r,e){T(r,e,{get:function(){return S(this,e)},set:function(r){return E(this,e,r)},enumerable:true})};if(!L){y=e((function(r,e,t,n){f(r,y,u);var i=0;var o=0;var s,l,v;if(!m(e)){v=h(e);l=v*a;s=new O(l)}else if(V(e)){s=e;o=d(t,a);var p=e.byteLength;if(n===undefined){if(p%a)throw U(q);l=p-o;if(l<0)throw U(q)}else{l=c(n)*a;if(l+o>p)throw U(q)}v=l/a}else if(N(e)){return Y(y,e)}else{return A.call(y,e)}C(r,{buffer:s,byteOffset:o,byteLength:l,length:v,view:new I(s)});while(i<v)j(r,i++)}));if(z)z(y,P);g=y.prototype=b($)}else if(o){y=e((function(r,e,t,n){f(r,y,u);return R(function(){if(!m(e))return new p(h(e));if(V(e))return n!==undefined?new p(e,d(t,a),n):t!==undefined?new p(e,d(t,a)):new p(e);if(N(e))return Y(y,e);return A.call(y,e)}(),r,y)}));if(z)z(y,P);x(w(p),(function(r){if(!(r in y)){v(y,r,p[r])}}));y.prototype=g}if(g.constructor!==y){v(g,"constructor",y)}if(B){v(g,B,u)}k[u]=y;n({global:true,forced:y!=p,sham:!L},k);if(!(Q in y)){v(y,Q,a)}if(!(Q in g)){v(g,Q,a)}_(u)}}else r.exports=function(){}},3832:function(r,e,t){var n=t(7854);var i=t(7293);var a=t(7072);var o=t(260).NATIVE_ARRAY_BUFFER_VIEWS;var u=n.ArrayBuffer;var s=n.Int8Array;r.exports=!o||!i((function(){s(1)}))||!i((function(){new s(-1)}))||!a((function(r){new s;new s(null);new s(1.5);new s(r)}),true)||i((function(){return new s(new u(2),1,undefined).length!==1}))},3074:function(r,e,t){var n=t(260).aTypedArrayConstructor;var i=t(6707);r.exports=function(r,e){var t=i(r,r.constructor);var a=0;var o=e.length;var u=new(n(t))(o);while(o>a)u[a]=e[a++];return u}},7321:function(r,e,t){var n=t(7908);var i=t(7466);var a=t(1246);var o=t(7659);var u=t(9974);var s=t(260).aTypedArrayConstructor;r.exports=function r(e){var t=n(e);var f=arguments.length;var l=f>1?arguments[1]:undefined;var v=l!==undefined;var c=a(t);var h,d,p,y,g,m;if(c!=undefined&&!o(c)){g=c.call(t);m=g.next;t=[];while(!(y=m.call(g)).done){t.push(y.value)}}if(v&&f>2){l=u(l,arguments[2],2)}d=i(t.length);p=new(s(this))(d);for(h=0;d>h;h++){p[h]=v?l(t[h],h):t[h]}return p}},9711:function(r){var e=0;var t=Math.random();r.exports=function(r){return"Symbol("+String(r===undefined?"":r)+")_"+(++e+t).toString(36)}},3307:function(r,e,t){var n=t(133);r.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},5112:function(r,e,t){var n=t(7854);var i=t(2309);var a=t(6656);var o=t(9711);var u=t(133);var s=t(3307);var f=i("wks");var l=n.Symbol;var v=s?l:l&&l.withoutSetter||o;r.exports=function(r){if(!a(f,r)){if(u&&a(l,r))f[r]=l[r];else f[r]=v("Symbol."+r)}return f[r]}},1361:function(r){r.exports="\t\n\v\f\r "+" \u2028\u2029\ufeff"},8264:function(r,e,t){var n=t(2109);var i=t(7854);var a=t(3331);var o=t(6340);var u="ArrayBuffer";var s=a[u];var f=i[u];n({global:true,forced:f!==s},{ArrayBuffer:s});o(u)},2222:function(r,e,t){var n=t(2109);var i=t(7293);var a=t(3157);var o=t(111);var u=t(7908);var s=t(7466);var f=t(6135);var l=t(5417);var v=t(1194);var c=t(5112);var h=t(7392);var d=c("isConcatSpreadable");var p=9007199254740991;var y="Maximum allowed index exceeded";var g=h>=51||!i((function(){var r=[];r[d]=false;return r.concat()[0]!==r}));var m=v("concat");var b=function(r){if(!o(r))return false;var e=r[d];return e!==undefined?!!e:a(r)};var z=!g||!m;n({target:"Array",proto:true,forced:z},{concat:function r(e){var t=u(this);var n=l(t,0);var i=0;var a,o,v,c,h;for(a=-1,v=arguments.length;a<v;a++){h=a===-1?t:arguments[a];if(b(h)){c=s(h.length);if(i+c>p)throw TypeError(y);for(o=0;o<c;o++,i++)if(o in h)f(n,i,h[o])}else{if(i>=p)throw TypeError(y);f(n,i++,h)}}n.length=i;return n}})},7327:function(r,e,t){var n=t(2109);var i=t(2092).filter;var a=t(1194);var o=a("filter");n({target:"Array",proto:true,forced:!o},{filter:function r(e){return i(this,e,arguments.length>1?arguments[1]:undefined)}})},2772:function(r,e,t){var n=t(2109);var i=t(1318).indexOf;var a=t(9341);var o=[].indexOf;var u=!!o&&1/[1].indexOf(1,-0)<0;var s=a("indexOf");n({target:"Array",proto:true,forced:u||!s},{indexOf:function r(e){return u?o.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:undefined)}})},6992:function(r,e,t){var n=t(5656);var i=t(1223);var a=t(7497);var o=t(9909);var u=t(654);var s="Array Iterator";var f=o.set;var l=o.getterFor(s);r.exports=u(Array,"Array",(function(r,e){f(this,{type:s,target:n(r),index:0,kind:e})}),(function(){var r=l(this);var e=r.target;var t=r.kind;var n=r.index++;if(!e||n>=e.length){r.target=undefined;return{value:undefined,done:true}}if(t=="keys")return{value:n,done:false};if(t=="values")return{value:e[n],done:false};return{value:[n,e[n]],done:false}}),"values");a.Arguments=a.Array;i("keys");i("values");i("entries")},1249:function(r,e,t){var n=t(2109);var i=t(2092).map;var a=t(1194);var o=a("map");n({target:"Array",proto:true,forced:!o},{map:function r(e){return i(this,e,arguments.length>1?arguments[1]:undefined)}})},7042:function(r,e,t){var n=t(2109);var i=t(111);var a=t(3157);var o=t(1400);var u=t(7466);var s=t(5656);var f=t(6135);var l=t(5112);var v=t(1194);var c=v("slice");var h=l("species");var d=[].slice;var p=Math.max;n({target:"Array",proto:true,forced:!c},{slice:function r(e,t){var n=s(this);var l=u(n.length);var v=o(e,l);var c=o(t===undefined?l:t,l);var y,g,m;if(a(n)){y=n.constructor;if(typeof y=="function"&&(y===Array||a(y.prototype))){y=undefined}else if(i(y)){y=y[h];if(y===null)y=undefined}if(y===Array||y===undefined){return d.call(n,v,c)}}g=new(y===undefined?Array:y)(p(c-v,0));for(m=0;v<c;v++,m++)if(v in n)f(g,m,n[v]);g.length=m;return g}})},561:function(r,e,t){var n=t(2109);var i=t(1400);var a=t(9958);var o=t(7466);var u=t(7908);var s=t(5417);var f=t(6135);var l=t(1194);var v=l("splice");var c=Math.max;var h=Math.min;var d=9007199254740991;var p="Maximum allowed length exceeded";n({target:"Array",proto:true,forced:!v},{splice:function r(e,t){var n=u(this);var l=o(n.length);var v=i(e,l);var y=arguments.length;var g,m,b,z,w,A;if(y===0){g=m=0}else if(y===1){g=0;m=l-v}else{g=y-2;m=h(c(a(t),0),l-v)}if(l+g-m>d){throw TypeError(p)}b=s(n,m);for(z=0;z<m;z++){w=v+z;if(w in n)f(b,z,n[w])}b.length=m;if(g<m){for(z=v;z<l-m;z++){w=z+m;A=z+g;if(w in n)n[A]=n[w];else delete n[A]}for(z=l;z>l-m+g;z--)delete n[z-1]}else if(g>m){for(z=l-m;z>v;z--){w=z+m-1;A=z+g-1;if(w in n)n[A]=n[w];else delete n[A]}}for(z=0;z<g;z++){n[z+v]=arguments[z+2]}n.length=l-m+g;return b}})},8309:function(r,e,t){var n=t(9781);var i=t(3070).f;var a=Function.prototype;var o=a.toString;var u=/^\s*function ([^ (]*)/;var s="name";if(n&&!(s in a)){i(a,s,{configurable:true,get:function(){try{return o.call(this).match(u)[1]}catch(r){return""}}})}},489:function(r,e,t){var n=t(2109);var i=t(7293);var a=t(7908);var o=t(9518);var u=t(8544);var s=i((function(){o(1)}));n({target:"Object",stat:true,forced:s,sham:!u},{getPrototypeOf:function r(e){return o(a(e))}})},1539:function(r,e,t){var n=t(1694);var i=t(1320);var a=t(288);if(!n){i(Object.prototype,"toString",a,{unsafe:true})}},4916:function(r,e,t){var n=t(2109);var i=t(2261);n({target:"RegExp",proto:true,forced:/./.exec!==i},{exec:i})},9714:function(r,e,t){var n=t(1320);var i=t(9670);var a=t(7293);var o=t(7066);var u="toString";var s=RegExp.prototype;var f=s[u];var l=a((function(){return f.call({source:"a",flags:"b"})!="/a/b"}));var v=f.name!=u;if(l||v){n(RegExp.prototype,u,(function r(){var e=i(this);var t=String(e.source);var n=e.flags;var a=String(n===undefined&&e instanceof RegExp&&!("flags"in s)?o.call(e):n);return"/"+t+"/"+a}),{unsafe:true})}},8783:function(r,e,t){var n=t(8710).charAt;var i=t(9909);var a=t(654);var o="String Iterator";var u=i.set;var s=i.getterFor(o);a(String,"String",(function(r){u(this,{type:o,string:String(r),index:0})}),(function r(){var e=s(this);var t=e.string;var i=e.index;var a;if(i>=t.length)return{value:undefined,done:true};a=n(t,i);e.index+=a.length;return{value:a,done:false}}))},4723:function(r,e,t){var n=t(7007);var i=t(9670);var a=t(7466);var o=t(4488);var u=t(1530);var s=t(7651);n("match",1,(function(r,e,t){return[function e(t){var n=o(this);var i=t==undefined?undefined:t[r];return i!==undefined?i.call(t,n):new RegExp(t)[r](String(n))},function(r){var n=t(e,r,this);if(n.done)return n.value;var o=i(r);var f=String(this);if(!o.global)return s(o,f);var l=o.unicode;o.lastIndex=0;var v=[];var c=0;var h;while((h=s(o,f))!==null){var d=String(h[0]);v[c]=d;if(d==="")o.lastIndex=u(f,a(o.lastIndex),l);c++}return c===0?null:v}]}))},5306:function(r,e,t){var n=t(7007);var i=t(9670);var a=t(7466);var o=t(9958);var u=t(4488);var s=t(1530);var f=t(647);var l=t(7651);var v=Math.max;var c=Math.min;var h=function(r){return r===undefined?r:String(r)};n("replace",2,(function(r,e,t,n){var d=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;var p=n.REPLACE_KEEPS_$0;var y=d?"$":"$0";return[function t(n,i){var a=u(this);var o=n==undefined?undefined:n[r];return o!==undefined?o.call(n,a,i):e.call(String(a),n,i)},function(r,n){if(!d&&p||typeof n==="string"&&n.indexOf(y)===-1){var u=t(e,r,this,n);if(u.done)return u.value}var g=i(r);var m=String(this);var b=typeof n==="function";if(!b)n=String(n);var z=g.global;if(z){var w=g.unicode;g.lastIndex=0}var A=[];while(true){var x=l(g,m);if(x===null)break;A.push(x);if(!z)break;var _=String(x[0]);if(_==="")g.lastIndex=s(m,a(g.lastIndex),w)}var k="";var S=0;for(var E=0;E<A.length;E++){x=A[E];var R=String(x[0]);var F=v(c(o(x.index),m.length),0);var C=[];for(var T=1;T<x.length;T++)C.push(h(x[T]));var j=x.groups;if(b){var M=[R].concat(C,F,m);if(j!==undefined)M.push(j);var U=String(n.apply(undefined,M))}else{U=f(R,m,F,C,j,n)}if(F>=S){k+=m.slice(S,F)+U;S=F+R.length}}return k+m.slice(S)}]}))},3123:function(r,e,t){var n=t(7007);var i=t(7850);var a=t(9670);var o=t(4488);var u=t(6707);var s=t(1530);var f=t(7466);var l=t(7651);var v=t(2261);var c=t(7293);var h=[].push;var d=Math.min;var p=4294967295;var y=!c((function(){return!RegExp(p,"y")}));n("split",2,(function(r,e,t){var n;if("abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length){n=function(r,t){var n=String(o(this));var a=t===undefined?p:t>>>0;if(a===0)return[];if(r===undefined)return[n];if(!i(r)){return e.call(n,r,a)}var u=[];var s=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(r.sticky?"y":"");var f=0;var l=new RegExp(r.source,s+"g");var c,d,y;while(c=v.call(l,n)){d=l.lastIndex;if(d>f){u.push(n.slice(f,c.index));if(c.length>1&&c.index<n.length)h.apply(u,c.slice(1));y=c[0].length;f=d;if(u.length>=a)break}if(l.lastIndex===c.index)l.lastIndex++}if(f===n.length){if(y||!l.test(""))u.push("")}else u.push(n.slice(f));return u.length>a?u.slice(0,a):u}}else if("0".split(undefined,0).length){n=function(r,t){return r===undefined&&t===0?[]:e.call(this,r,t)}}else n=e;return[function e(t,i){var a=o(this);var u=t==undefined?undefined:t[r];return u!==undefined?u.call(t,a,i):n.call(String(a),t,i)},function(r,i){var o=t(n,r,this,i,n!==e);if(o.done)return o.value;var v=a(r);var c=String(this);var h=u(v,RegExp);var g=v.unicode;var m=(v.ignoreCase?"i":"")+(v.multiline?"m":"")+(v.unicode?"u":"")+(y?"y":"g");var b=new h(y?v:"^(?:"+v.source+")",m);var z=i===undefined?p:i>>>0;if(z===0)return[];if(c.length===0)return l(b,c)===null?[c]:[];var w=0;var A=0;var x=[];while(A<c.length){b.lastIndex=y?A:0;var _=l(b,y?c:c.slice(A));var k;if(_===null||(k=d(f(b.lastIndex+(y?0:A)),c.length))===w){A=s(c,A,g)}else{x.push(c.slice(w,A));if(x.length===z)return x;for(var S=1;S<=_.length-1;S++){x.push(_[S]);if(x.length===z)return x}A=w=k}}x.push(c.slice(w));return x}]}),!y)},3210:function(r,e,t){var n=t(2109);var i=t(3111).trim;var a=t(6091);n({target:"String",proto:true,forced:a("trim")},{trim:function r(){return i(this)}})},2990:function(r,e,t){var n=t(260);var i=t(1048);var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("copyWithin",(function r(e,t){return i.call(a(this),e,t,arguments.length>2?arguments[2]:undefined)}))},8927:function(r,e,t){var n=t(260);var i=t(2092).every;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("every",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},3105:function(r,e,t){var n=t(260);var i=t(1285);var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("fill",(function r(e){return i.apply(a(this),arguments)}))},5035:function(r,e,t){var n=t(260);var i=t(2092).filter;var a=t(3074);var o=n.aTypedArray;var u=n.exportTypedArrayMethod;u("filter",(function r(e){var t=i(o(this),e,arguments.length>1?arguments[1]:undefined);return a(this,t)}))},7174:function(r,e,t){var n=t(260);var i=t(2092).findIndex;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("findIndex",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},4345:function(r,e,t){var n=t(260);var i=t(2092).find;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("find",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},2846:function(r,e,t){var n=t(260);var i=t(2092).forEach;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("forEach",(function r(e){i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},4731:function(r,e,t){var n=t(260);var i=t(1318).includes;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("includes",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},7209:function(r,e,t){var n=t(260);var i=t(1318).indexOf;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("indexOf",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},6319:function(r,e,t){var n=t(7854);var i=t(260);var a=t(6992);var o=t(5112);var u=o("iterator");var s=n.Uint8Array;var f=a.values;var l=a.keys;var v=a.entries;var c=i.aTypedArray;var h=i.exportTypedArrayMethod;var d=s&&s.prototype[u];var p=!!d&&(d.name=="values"||d.name==undefined);var y=function r(){return f.call(c(this))};h("entries",(function r(){return v.call(c(this))}));h("keys",(function r(){return l.call(c(this))}));h("values",y,!p);h(u,y,!p)},8867:function(r,e,t){var n=t(260);var i=n.aTypedArray;var a=n.exportTypedArrayMethod;var o=[].join;a("join",(function r(e){return o.apply(i(this),arguments)}))},7789:function(r,e,t){var n=t(260);var i=t(6583);var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("lastIndexOf",(function r(e){return i.apply(a(this),arguments)}))},3739:function(r,e,t){var n=t(260);var i=t(2092).map;var a=t(6707);var o=n.aTypedArray;var u=n.aTypedArrayConstructor;var s=n.exportTypedArrayMethod;s("map",(function r(e){return i(o(this),e,arguments.length>1?arguments[1]:undefined,(function(r,e){return new(u(a(r,r.constructor)))(e)}))}))},4483:function(r,e,t){var n=t(260);var i=t(3671).right;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("reduceRight",(function r(e){return i(a(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},9368:function(r,e,t){var n=t(260);var i=t(3671).left;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("reduce",(function r(e){return i(a(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},2056:function(r,e,t){var n=t(260);var i=n.aTypedArray;var a=n.exportTypedArrayMethod;var o=Math.floor;a("reverse",(function r(){var e=this;var t=i(e).length;var n=o(t/2);var a=0;var u;while(a<n){u=e[a];e[a++]=e[--t];e[t]=u}return e}))},3462:function(r,e,t){var n=t(260);var i=t(7466);var a=t(4590);var o=t(7908);var u=t(7293);var s=n.aTypedArray;var f=n.exportTypedArrayMethod;var l=u((function(){new Int8Array(1).set({})}));f("set",(function r(e){s(this);var t=a(arguments.length>1?arguments[1]:undefined,1);var n=this.length;var u=o(e);var f=i(u.length);var l=0;if(f+t>n)throw RangeError("Wrong length");while(l<f)this[t+l]=u[l++]}),l)},678:function(r,e,t){var n=t(260);var i=t(6707);var a=t(7293);var o=n.aTypedArray;var u=n.aTypedArrayConstructor;var s=n.exportTypedArrayMethod;var f=[].slice;var l=a((function(){new Int8Array(1).slice()}));s("slice",(function r(e,t){var n=f.call(o(this),e,t);var a=i(this,this.constructor);var s=0;var l=n.length;var v=new(u(a))(l);while(l>s)v[s]=n[s++];return v}),l)},7462:function(r,e,t){var n=t(260);var i=t(2092).some;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("some",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},3824:function(r,e,t){var n=t(260);var i=n.aTypedArray;var a=n.exportTypedArrayMethod;var o=[].sort;a("sort",(function r(e){return o.call(i(this),e)}))},5021:function(r,e,t){var n=t(260);var i=t(7466);var a=t(1400);var o=t(6707);var u=n.aTypedArray;var s=n.exportTypedArrayMethod;s("subarray",(function r(e,t){var n=u(this);var s=n.length;var f=a(e,s);return new(o(n,n.constructor))(n.buffer,n.byteOffset+f*n.BYTES_PER_ELEMENT,i((t===undefined?s:a(t,s))-f))}))},2974:function(r,e,t){var n=t(7854);var i=t(260);var a=t(7293);var o=n.Int8Array;var u=i.aTypedArray;var s=i.exportTypedArrayMethod;var f=[].toLocaleString;var l=[].slice;var v=!!o&&a((function(){f.call(new o(1))}));var c=a((function(){return[1,2].toLocaleString()!=new o([1,2]).toLocaleString()}))||!a((function(){o.prototype.toLocaleString.call([1,2])}));s("toLocaleString",(function r(){return f.apply(v?l.call(u(this)):u(this),arguments)}),c)},5016:function(r,e,t){var n=t(260).exportTypedArrayMethod;var i=t(7293);var a=t(7854);var o=a.Uint8Array;var u=o&&o.prototype||{};var s=[].toString;var f=[].join;if(i((function(){s.call({})}))){s=function r(){return f.call(this)}}var l=u.toString!=s;n("toString",s,l)},2472:function(r,e,t){var n=t(9843);n("Uint8",(function(r){return function e(t,n,i){return r(this,t,n,i)}}))},4747:function(r,e,t){var n=t(7854);var i=t(8324);var a=t(8533);var o=t(8880);for(var u in i){var s=n[u];var f=s&&s.prototype;if(f&&f.forEach!==a)try{o(f,"forEach",a)}catch(r){f.forEach=a}}},3948:function(r,e,t){var n=t(7854);var i=t(8324);var a=t(6992);var o=t(8880);var u=t(5112);var s=u("iterator");var f=u("toStringTag");var l=a.values;for(var v in i){var c=n[v];var h=c&&c.prototype;if(h){if(h[s]!==l)try{o(h,s,l)}catch(r){h[s]=l}if(!h[f]){o(h,f,v)}if(i[v])for(var d in a){if(h[d]!==a[d])try{o(h,d,a[d])}catch(r){h[d]=a[d]}}}}},1637:function(r,e,t){t(6992);var n=t(2109);var i=t(5005);var a=t(590);var o=t(1320);var u=t(2248);var s=t(8003);var f=t(4994);var l=t(9909);var v=t(5787);var c=t(6656);var h=t(9974);var d=t(648);var p=t(9670);var y=t(111);var g=t(30);var m=t(9114);var b=t(8554);var z=t(1246);var w=t(5112);var A=i("fetch");var x=i("Headers");var _=w("iterator");var k="URLSearchParams";var S=k+"Iterator";var E=l.set;var R=l.getterFor(k);var F=l.getterFor(S);var C=/\+/g;var T=Array(4);var j=function(r){return T[r-1]||(T[r-1]=RegExp("((?:%[\\da-f]{2}){"+r+"})","gi"))};var M=function(r){try{return decodeURIComponent(r)}catch(e){return r}};var U=function(r){var e=r.replace(C," ");var t=4;try{return decodeURIComponent(e)}catch(r){while(t){e=e.replace(j(t--),M)}return e}};var O=/[!'()~]|%20/g;var I={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};var L=function(r){return I[r]};var B=function(r){return encodeURIComponent(r).replace(O,L)};var P=function(r,e){if(e){var t=e.split("&");var n=0;var i,a;while(n<t.length){i=t[n++];if(i.length){a=i.split("=");r.push({key:U(a.shift()),value:U(a.join("="))})}}}};var $=function(r){this.entries.length=0;P(this.entries,r)};var D=function(r,e){if(r<e)throw TypeError("Not enough arguments")};var N=f((function r(e,t){E(this,{type:S,iterator:b(R(e).entries),kind:t})}),"Iterator",(function r(){var e=F(this);var t=e.kind;var n=e.iterator.next();var i=n.value;if(!n.done){n.value=t==="keys"?i.key:t==="values"?i.value:[i.key,i.value]}return n}));var Q=function r(){v(this,Q,k);var e=arguments.length>0?arguments[0]:undefined;var t=this;var n=[];var i,a,o,u,s,f,l,h,d;E(t,{type:k,entries:n,updateURL:function(){},updateSearchParams:$});if(e!==undefined){if(y(e)){i=z(e);if(typeof i==="function"){a=i.call(e);o=a.next;while(!(u=o.call(a)).done){s=b(p(u.value));f=s.next;if((l=f.call(s)).done||(h=f.call(s)).done||!f.call(s).done)throw TypeError("Expected sequence with length 2");n.push({key:l.value+"",value:h.value+""})}}else for(d in e)if(c(e,d))n.push({key:d,value:e[d]+""})}else{P(n,typeof e==="string"?e.charAt(0)==="?"?e.slice(1):e:e+"")}}};var q=Q.prototype;u(q,{append:function r(e,t){D(arguments.length,2);var n=R(this);n.entries.push({key:e+"",value:t+""});n.updateURL()},delete:function(r){D(arguments.length,1);var e=R(this);var t=e.entries;var n=r+"";var i=0;while(i<t.length){if(t[i].key===n)t.splice(i,1);else i++}e.updateURL()},get:function r(e){D(arguments.length,1);var t=R(this).entries;var n=e+"";var i=0;for(;i<t.length;i++){if(t[i].key===n)return t[i].value}return null},getAll:function r(e){D(arguments.length,1);var t=R(this).entries;var n=e+"";var i=[];var a=0;for(;a<t.length;a++){if(t[a].key===n)i.push(t[a].value)}return i},has:function r(e){D(arguments.length,1);var t=R(this).entries;var n=e+"";var i=0;while(i<t.length){if(t[i++].key===n)return true}return false},set:function r(e,t){D(arguments.length,1);var n=R(this);var i=n.entries;var a=false;var o=e+"";var u=t+"";var s=0;var f;for(;s<i.length;s++){f=i[s];if(f.key===o){if(a)i.splice(s--,1);else{a=true;f.value=u}}}if(!a)i.push({key:o,value:u});n.updateURL()},sort:function r(){var e=R(this);var t=e.entries;var n=t.slice();var i,a,o;t.length=0;for(o=0;o<n.length;o++){i=n[o];for(a=0;a<o;a++){if(t[a].key>i.key){t.splice(a,0,i);break}}if(a===o)t.push(i)}e.updateURL()},forEach:function r(e){var t=R(this).entries;var n=h(e,arguments.length>1?arguments[1]:undefined,3);var i=0;var a;while(i<t.length){a=t[i++];n(a.value,a.key,this)}},keys:function r(){return new N(this,"keys")},values:function r(){return new N(this,"values")},entries:function r(){return new N(this,"entries")}},{enumerable:true});o(q,_,q.entries);o(q,"toString",(function r(){var e=R(this).entries;var t=[];var n=0;var i;while(n<e.length){i=e[n++];t.push(B(i.key)+"="+B(i.value))}return t.join("&")}),{enumerable:true});s(Q,k);n({global:true,forced:!a},{URLSearchParams:Q});if(!a&&typeof A=="function"&&typeof x=="function"){n({global:true,enumerable:true,forced:true},{fetch:function r(e){var t=[e];var n,i,a;if(arguments.length>1){n=arguments[1];if(y(n)){i=n.body;if(d(i)===k){a=n.headers?new x(n.headers):new x;if(!a.has("content-type")){a.set("content-type","application/x-www-form-urlencoded;charset=UTF-8")}n=g(n,{body:m(0,String(i)),headers:m(0,a)})}}t.push(n)}return A.apply(this,t)}})}r.exports={URLSearchParams:Q,getState:R}},285:function(r,e,t){t(8783);var n=t(2109);var i=t(9781);var a=t(590);var o=t(7854);var u=t(6048);var s=t(1320);var f=t(5787);var l=t(6656);var v=t(1574);var c=t(8457);var h=t(8710).codeAt;var d=t(3197);var p=t(8003);var y=t(1637);var g=t(9909);var m=o.URL;var b=y.URLSearchParams;var z=y.getState;var w=g.set;var A=g.getterFor("URL");var x=Math.floor;var _=Math.pow;var k="Invalid authority";var S="Invalid scheme";var E="Invalid host";var R="Invalid port";var F=/[A-Za-z]/;var C=/[\d+-.A-Za-z]/;var T=/\d/;var j=/^(0x|0X)/;var M=/^[0-7]+$/;var U=/^\d+$/;var O=/^[\dA-Fa-f]+$/;var I=/[\u0000\t\u000A\u000D #%/:?@[\\]]/;var L=/[\u0000\t\u000A\u000D #/:?@[\\]]/;var B=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g;var P=/[\t\u000A\u000D]/g;var $;var D=function(r,e){var t,n,i;if(e.charAt(0)=="["){if(e.charAt(e.length-1)!="]")return E;t=Q(e.slice(1,-1));if(!t)return E;r.host=t}else if(!J(r)){if(L.test(e))return E;t="";n=c(e);for(i=0;i<n.length;i++){t+=H(n[i],G)}r.host=t}else{e=d(e);if(I.test(e))return E;t=N(e);if(t===null)return E;r.host=t}};var N=function(r){var e=r.split(".");var t,n,i,a,o,u,s;if(e.length&&e[e.length-1]==""){e.pop()}t=e.length;if(t>4)return r;n=[];for(i=0;i<t;i++){a=e[i];if(a=="")return r;o=10;if(a.length>1&&a.charAt(0)=="0"){o=j.test(a)?16:8;a=a.slice(o==8?1:2)}if(a===""){u=0}else{if(!(o==10?U:o==8?M:O).test(a))return r;u=parseInt(a,o)}n.push(u)}for(i=0;i<t;i++){u=n[i];if(i==t-1){if(u>=_(256,5-t))return null}else if(u>255)return null}s=n.pop();for(i=0;i<n.length;i++){s+=n[i]*_(256,3-i)}return s};var Q=function(r){var e=[0,0,0,0,0,0,0,0];var t=0;var n=null;var i=0;var a,o,u,s,f,l,v;var c=function(){return r.charAt(i)};if(c()==":"){if(r.charAt(1)!=":")return;i+=2;t++;n=t}while(c()){if(t==8)return;if(c()==":"){if(n!==null)return;i++;t++;n=t;continue}a=o=0;while(o<4&&O.test(c())){a=a*16+parseInt(c(),16);i++;o++}if(c()=="."){if(o==0)return;i-=o;if(t>6)return;u=0;while(c()){s=null;if(u>0){if(c()=="."&&u<4)i++;else return}if(!T.test(c()))return;while(T.test(c())){f=parseInt(c(),10);if(s===null)s=f;else if(s==0)return;else s=s*10+f;if(s>255)return;i++}e[t]=e[t]*256+s;u++;if(u==2||u==4)t++}if(u!=4)return;break}else if(c()==":"){i++;if(!c())return}else if(c())return;e[t++]=a}if(n!==null){l=t-n;t=7;while(t!=0&&l>0){v=e[t];e[t--]=e[n+l-1];e[n+--l]=v}}else if(t!=8)return;return e};var q=function(r){var e=null;var t=1;var n=null;var i=0;var a=0;for(;a<8;a++){if(r[a]!==0){if(i>t){e=n;t=i}n=null;i=0}else{if(n===null)n=a;++i}}if(i>t){e=n;t=i}return e};var Y=function(r){var e,t,n,i;if(typeof r=="number"){e=[];for(t=0;t<4;t++){e.unshift(r%256);r=x(r/256)}return e.join(".")}else if(typeof r=="object"){e="";n=q(r);for(t=0;t<8;t++){if(i&&r[t]===0)continue;if(i)i=false;if(n===t){e+=t?":":"::";i=true}else{e+=r[t].toString(16);if(t<7)e+=":"}}return"["+e+"]"}return r};var G={};var V=v({},G,{" ":1,'"':1,"<":1,">":1,"`":1});var W=v({},V,{"#":1,"?":1,"{":1,"}":1});var X=v({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1});var H=function(r,e){var t=h(r,0);return t>32&&t<127&&!l(e,r)?r:encodeURIComponent(r)};var K={ftp:21,file:null,http:80,https:443,ws:80,wss:443};var J=function(r){return l(K,r.scheme)};var Z=function(r){return r.username!=""||r.password!=""};var rr=function(r){return!r.host||r.cannotBeABaseURL||r.scheme=="file"};var er=function(r,e){var t;return r.length==2&&F.test(r.charAt(0))&&((t=r.charAt(1))==":"||!e&&t=="|")};var tr=function(r){var e;return r.length>1&&er(r.slice(0,2))&&(r.length==2||((e=r.charAt(2))==="/"||e==="\\"||e==="?"||e==="#"))};var nr=function(r){var e=r.path;var t=e.length;if(t&&(r.scheme!="file"||t!=1||!er(e[0],true))){e.pop()}};var ir=function(r){return r==="."||r.toLowerCase()==="%2e"};var ar=function(r){r=r.toLowerCase();return r===".."||r==="%2e."||r===".%2e"||r==="%2e%2e"};var or={};var ur={};var sr={};var fr={};var lr={};var vr={};var cr={};var hr={};var dr={};var pr={};var yr={};var gr={};var mr={};var br={};var zr={};var wr={};var Ar={};var xr={};var _r={};var kr={};var Sr={};var Er=function(r,e,t,n){var i=t||or;var a=0;var o="";var u=false;var s=false;var f=false;var v,h,d,p;if(!t){r.scheme="";r.username="";r.password="";r.host=null;r.port=null;r.path=[];r.query=null;r.fragment=null;r.cannotBeABaseURL=false;e=e.replace(B,"")}e=e.replace(P,"");v=c(e);while(a<=v.length){h=v[a];switch(i){case or:if(h&&F.test(h)){o+=h.toLowerCase();i=ur}else if(!t){i=sr;continue}else return S;break;case ur:if(h&&(C.test(h)||h=="+"||h=="-"||h==".")){o+=h.toLowerCase()}else if(h==":"){if(t&&(J(r)!=l(K,o)||o=="file"&&(Z(r)||r.port!==null)||r.scheme=="file"&&!r.host))return;r.scheme=o;if(t){if(J(r)&&K[r.scheme]==r.port)r.port=null;return}o="";if(r.scheme=="file"){i=br}else if(J(r)&&n&&n.scheme==r.scheme){i=fr}else if(J(r)){i=hr}else if(v[a+1]=="/"){i=lr;a++}else{r.cannotBeABaseURL=true;r.path.push("");i=_r}}else if(!t){o="";i=sr;a=0;continue}else return S;break;case sr:if(!n||n.cannotBeABaseURL&&h!="#")return S;if(n.cannotBeABaseURL&&h=="#"){r.scheme=n.scheme;r.path=n.path.slice();r.query=n.query;r.fragment="";r.cannotBeABaseURL=true;i=Sr;break}i=n.scheme=="file"?br:vr;continue;case fr:if(h=="/"&&v[a+1]=="/"){i=dr;a++}else{i=vr;continue}break;case lr:if(h=="/"){i=pr;break}else{i=xr;continue}case vr:r.scheme=n.scheme;if(h==$){r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.query=n.query}else if(h=="/"||h=="\\"&&J(r)){i=cr}else if(h=="?"){r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.query="";i=kr}else if(h=="#"){r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.query=n.query;r.fragment="";i=Sr}else{r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.path.pop();i=xr;continue}break;case cr:if(J(r)&&(h=="/"||h=="\\")){i=dr}else if(h=="/"){i=pr}else{r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;i=xr;continue}break;case hr:i=dr;if(h!="/"||o.charAt(a+1)!="/")continue;a++;break;case dr:if(h!="/"&&h!="\\"){i=pr;continue}break;case pr:if(h=="@"){if(u)o="%40"+o;u=true;d=c(o);for(var y=0;y<d.length;y++){var g=d[y];if(g==":"&&!f){f=true;continue}var m=H(g,X);if(f)r.password+=m;else r.username+=m}o=""}else if(h==$||h=="/"||h=="?"||h=="#"||h=="\\"&&J(r)){if(u&&o=="")return k;a-=c(o).length+1;o="";i=yr}else o+=h;break;case yr:case gr:if(t&&r.scheme=="file"){i=wr;continue}else if(h==":"&&!s){if(o=="")return E;p=D(r,o);if(p)return p;o="";i=mr;if(t==gr)return}else if(h==$||h=="/"||h=="?"||h=="#"||h=="\\"&&J(r)){if(J(r)&&o=="")return E;if(t&&o==""&&(Z(r)||r.port!==null))return;p=D(r,o);if(p)return p;o="";i=Ar;if(t)return;continue}else{if(h=="[")s=true;else if(h=="]")s=false;o+=h}break;case mr:if(T.test(h)){o+=h}else if(h==$||h=="/"||h=="?"||h=="#"||h=="\\"&&J(r)||t){if(o!=""){var b=parseInt(o,10);if(b>65535)return R;r.port=J(r)&&b===K[r.scheme]?null:b;o=""}if(t)return;i=Ar;continue}else return R;break;case br:r.scheme="file";if(h=="/"||h=="\\")i=zr;else if(n&&n.scheme=="file"){if(h==$){r.host=n.host;r.path=n.path.slice();r.query=n.query}else if(h=="?"){r.host=n.host;r.path=n.path.slice();r.query="";i=kr}else if(h=="#"){r.host=n.host;r.path=n.path.slice();r.query=n.query;r.fragment="";i=Sr}else{if(!tr(v.slice(a).join(""))){r.host=n.host;r.path=n.path.slice();nr(r)}i=xr;continue}}else{i=xr;continue}break;case zr:if(h=="/"||h=="\\"){i=wr;break}if(n&&n.scheme=="file"&&!tr(v.slice(a).join(""))){if(er(n.path[0],true))r.path.push(n.path[0]);else r.host=n.host}i=xr;continue;case wr:if(h==$||h=="/"||h=="\\"||h=="?"||h=="#"){if(!t&&er(o)){i=xr}else if(o==""){r.host="";if(t)return;i=Ar}else{p=D(r,o);if(p)return p;if(r.host=="localhost")r.host="";if(t)return;o="";i=Ar}continue}else o+=h;break;case Ar:if(J(r)){i=xr;if(h!="/"&&h!="\\")continue}else if(!t&&h=="?"){r.query="";i=kr}else if(!t&&h=="#"){r.fragment="";i=Sr}else if(h!=$){i=xr;if(h!="/")continue}break;case xr:if(h==$||h=="/"||h=="\\"&&J(r)||!t&&(h=="?"||h=="#")){if(ar(o)){nr(r);if(h!="/"&&!(h=="\\"&&J(r))){r.path.push("")}}else if(ir(o)){if(h!="/"&&!(h=="\\"&&J(r))){r.path.push("")}}else{if(r.scheme=="file"&&!r.path.length&&er(o)){if(r.host)r.host="";o=o.charAt(0)+":"}r.path.push(o)}o="";if(r.scheme=="file"&&(h==$||h=="?"||h=="#")){while(r.path.length>1&&r.path[0]===""){r.path.shift()}}if(h=="?"){r.query="";i=kr}else if(h=="#"){r.fragment="";i=Sr}}else{o+=H(h,W)}break;case _r:if(h=="?"){r.query="";i=kr}else if(h=="#"){r.fragment="";i=Sr}else if(h!=$){r.path[0]+=H(h,G)}break;case kr:if(!t&&h=="#"){r.fragment="";i=Sr}else if(h!=$){if(h=="'"&&J(r))r.query+="%27";else if(h=="#")r.query+="%23";else r.query+=H(h,G)}break;case Sr:if(h!=$)r.fragment+=H(h,V);break}a++}};var Rr=function r(e){var t=f(this,Rr,"URL");var n=arguments.length>1?arguments[1]:undefined;var a=String(e);var o=w(t,{type:"URL"});var u,s;if(n!==undefined){if(n instanceof Rr)u=A(n);else{s=Er(u={},String(n));if(s)throw TypeError(s)}}s=Er(o,a,null,u);if(s)throw TypeError(s);var l=o.searchParams=new b;var v=z(l);v.updateSearchParams(o.query);v.updateURL=function(){o.query=String(l)||null};if(!i){t.href=Cr.call(t);t.origin=Tr.call(t);t.protocol=jr.call(t);t.username=Mr.call(t);t.password=Ur.call(t);t.host=Or.call(t);t.hostname=Ir.call(t);t.port=Lr.call(t);t.pathname=Br.call(t);t.search=Pr.call(t);t.searchParams=$r.call(t);t.hash=Dr.call(t)}};var Fr=Rr.prototype;var Cr=function(){var r=A(this);var e=r.scheme;var t=r.username;var n=r.password;var i=r.host;var a=r.port;var o=r.path;var u=r.query;var s=r.fragment;var f=e+":";if(i!==null){f+="//";if(Z(r)){f+=t+(n?":"+n:"")+"@"}f+=Y(i);if(a!==null)f+=":"+a}else if(e=="file")f+="//";f+=r.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"";if(u!==null)f+="?"+u;if(s!==null)f+="#"+s;return f};var Tr=function(){var r=A(this);var e=r.scheme;var t=r.port;if(e=="blob")try{return new URL(e.path[0]).origin}catch(r){return"null"}if(e=="file"||!J(r))return"null";return e+"://"+Y(r.host)+(t!==null?":"+t:"")};var jr=function(){return A(this).scheme+":"};var Mr=function(){return A(this).username};var Ur=function(){return A(this).password};var Or=function(){var r=A(this);var e=r.host;var t=r.port;return e===null?"":t===null?Y(e):Y(e)+":"+t};var Ir=function(){var r=A(this).host;return r===null?"":Y(r)};var Lr=function(){var r=A(this).port;return r===null?"":String(r)};var Br=function(){var r=A(this);var e=r.path;return r.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""};var Pr=function(){var r=A(this).query;return r?"?"+r:""};var $r=function(){return A(this).searchParams};var Dr=function(){var r=A(this).fragment;return r?"#"+r:""};var Nr=function(r,e){return{get:r,set:e,configurable:true,enumerable:true}};if(i){u(Fr,{href:Nr(Cr,(function(r){var e=A(this);var t=String(r);var n=Er(e,t);if(n)throw TypeError(n);z(e.searchParams).updateSearchParams(e.query)})),origin:Nr(Tr),protocol:Nr(jr,(function(r){var e=A(this);Er(e,String(r)+":",or)})),username:Nr(Mr,(function(r){var e=A(this);var t=c(String(r));if(rr(e))return;e.username="";for(var n=0;n<t.length;n++){e.username+=H(t[n],X)}})),password:Nr(Ur,(function(r){var e=A(this);var t=c(String(r));if(rr(e))return;e.password="";for(var n=0;n<t.length;n++){e.password+=H(t[n],X)}})),host:Nr(Or,(function(r){var e=A(this);if(e.cannotBeABaseURL)return;Er(e,String(r),yr)})),hostname:Nr(Ir,(function(r){var e=A(this);if(e.cannotBeABaseURL)return;Er(e,String(r),gr)})),port:Nr(Lr,(function(r){var e=A(this);if(rr(e))return;r=String(r);if(r=="")e.port=null;else Er(e,r,mr)})),pathname:Nr(Br,(function(r){var e=A(this);if(e.cannotBeABaseURL)return;e.path=[];Er(e,r+"",Ar)})),search:Nr(Pr,(function(r){var e=A(this);r=String(r);if(r==""){e.query=null}else{if("?"==r.charAt(0))r=r.slice(1);e.query="";Er(e,r,kr)}z(e.searchParams).updateSearchParams(e.query)})),searchParams:Nr($r),hash:Nr(Dr,(function(r){var e=A(this);r=String(r);if(r==""){e.fragment=null;return}if("#"==r.charAt(0))r=r.slice(1);e.fragment="";Er(e,r,Sr)}))})}s(Fr,"toJSON",(function r(){return Cr.call(this)}),{enumerable:true});s(Fr,"toString",(function r(){return Cr.call(this)}),{enumerable:true});if(m){var Qr=m.createObjectURL;var qr=m.revokeObjectURL;if(Qr)s(Rr,"createObjectURL",(function r(e){return Qr.apply(m,arguments)}));if(qr)s(Rr,"revokeObjectURL",(function r(e){return qr.apply(m,arguments)}))}p(Rr,"URL");n({global:true,forced:!a,sham:!i},{URL:Rr})}};var e={};function t(n){if(e[n]){return e[n].exports}var i=e[n]={exports:{}};r[n](i,i.exports,t);return i.exports}!function(){t.d=function(r,e){for(var n in e){if(t.o(e,n)&&!t.o(r,n)){Object.defineProperty(r,n,{enumerable:true,get:e[n]})}}}}();!function(){t.g=function(){if(typeof globalThis==="object")return globalThis;try{return this||new Function("return this")()}catch(r){if(typeof window==="object")return window}}()}();!function(){t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)}}();!function(){t.r=function(r){if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(r,"__esModule",{value:true})}}();var n={};!function(){t.r(n);t.d(n,{Dropzone:function(){return C},default:function(){return P}});t(2222);t(7327);t(2772);t(6992);t(1249);t(7042);t(561);t(8264);t(8309);t(489);t(1539);t(4916);t(9714);t(8783);t(4723);t(5306);t(3123);t(3210);t(2472);t(2990);t(8927);t(3105);t(5035);t(4345);t(7174);t(2846);t(4731);t(7209);t(6319);t(8867);t(7789);t(3739);t(9368);t(4483);t(2056);t(3462);t(678);t(7462);t(3824);t(5021);t(2974);t(5016);t(4747);t(3948);t(285);function r(r,t){var n;if(typeof Symbol==="undefined"||r[Symbol.iterator]==null){if(Array.isArray(r)||(n=e(r))||t&&r&&typeof r.length==="number"){if(n)r=n;var i=0;var a=function r(){};return{s:a,n:function e(){if(i>=r.length)return{done:true};return{done:false,value:r[i++]}},e:function r(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o=true,u=false,s;return{s:function e(){n=r[Symbol.iterator]()},n:function r(){var e=n.next();o=e.done;return e},e:function r(e){u=true;s=e},f:function r(){try{if(!o&&n.return!=null)n.return()}finally{if(u)throw s}}}}function e(r,e){if(!r)return;if(typeof r==="string")return i(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor)t=r.constructor.name;if(t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(r,e)}function i(r,e){if(e==null||e>r.length)e=r.length;for(var t=0,n=new Array(e);t<e;t++){n[t]=r[t]}return n}function a(r,e){if(!(r instanceof e)){throw new TypeError("Cannot call a class as a function")}}function o(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(r,n.key,n)}}function u(r,e,t){if(e)o(r.prototype,e);if(t)o(r,t);return r}var s=function(){function e(){a(this,e)}u(e,[{key:"on",value:function r(e,t){this._callbacks=this._callbacks||{};if(!this._callbacks[e]){this._callbacks[e]=[]}this._callbacks[e].push(t);return this}},{key:"emit",value:function e(t){this._callbacks=this._callbacks||{};var n=this._callbacks[t];var i=true;var a=true;for(var o=arguments.length,u=new Array(o>1?o-1:0),s=1;s<o;s++){u[s-1]=arguments[s]}if(n){var f=r(n,true),l;try{for(f.s();!(l=f.n()).done;){var v=l.value;if(v.apply(this,u)===false){i=false}}}catch(r){f.e(r)}finally{f.f()}}if(this.element){a=this.element.dispatchEvent(this.makeEvent("dropzone:"+t,{args:u}))}return i&&a}},{key:"makeEvent",value:function r(e,t){var n={bubbles:true,cancelable:true,detail:t};if(typeof window.CustomEvent==="function"){return new CustomEvent(e,n)}else{var i=document.createEvent("CustomEvent");i.initCustomEvent(e,n.bubbles,n.cancelable,n.detail);return i}}},{key:"off",value:function r(e,t){if(!this._callbacks||arguments.length===0){this._callbacks={};return this}var n=this._callbacks[e];if(!n){return this}if(arguments.length===1){delete this._callbacks[e];return this}for(var i=0;i<n.length;i++){var a=n[i];if(a===t){n.splice(i,1);break}}return this}}]);return e}();var f='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ';var l=f;function v(r,e){var t;if(typeof Symbol==="undefined"||r[Symbol.iterator]==null){if(Array.isArray(r)||(t=c(r))||e&&r&&typeof r.length==="number"){if(t)r=t;var n=0;var i=function r(){};return{s:i,n:function e(){if(n>=r.length)return{done:true};return{done:false,value:r[n++]}},e:function r(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=true,o=false,u;return{s:function e(){t=r[Symbol.iterator]()},n:function r(){var e=t.next();a=e.done;return e},e:function r(e){o=true;u=e},f:function r(){try{if(!a&&t.return!=null)t.return()}finally{if(o)throw u}}}}function c(r,e){if(!r)return;if(typeof r==="string")return h(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor)t=r.constructor.name;if(t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return h(r,e)}function h(r,e){if(e==null||e>r.length)e=r.length;for(var t=0,n=new Array(e);t<e;t++){n[t]=r[t]}return n}var d={url:null,method:"post",withCredentials:false,timeout:null,parallelUploads:2,uploadMultiple:false,chunking:false,forceChunking:false,chunkSize:2e6,parallelChunkUploads:false,retryChunks:false,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:true,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:true,ignoreHiddenFiles:true,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:true,autoQueue:true,addRemoveLinks:false,previewsContainer:null,disablePreviews:false,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:false,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function r(){},params:function r(e,t,n){if(n){return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}}},accept:function r(e,t){return t()},chunksUploaded:function r(e,t){t()},fallback:function r(){var e;this.element.className="".concat(this.element.className," dz-browser-not-supported");var t=v(this.element.getElementsByTagName("div"),true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;if(/(^| )dz-message($| )/.test(i.className)){e=i;i.className="dz-message";break}}}catch(r){t.e(r)}finally{t.f()}if(!e){e=C.createElement('<div class="dz-message"><span></span></div>');this.element.appendChild(e)}var a=e.getElementsByTagName("span")[0];if(a){if(a.textContent!=null){a.textContent=this.options.dictFallbackMessage}else if(a.innerText!=null){a.innerText=this.options.dictFallbackMessage}}return this.element.appendChild(this.getFallbackForm())},resize:function r(e,t,n,i){var a={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height};var o=e.width/e.height;if(t==null&&n==null){t=a.srcWidth;n=a.srcHeight}else if(t==null){t=n*o}else if(n==null){n=t/o}t=Math.min(t,a.srcWidth);n=Math.min(n,a.srcHeight);var u=t/n;if(a.srcWidth>t||a.srcHeight>n){if(i==="crop"){if(o>u){a.srcHeight=e.height;a.srcWidth=a.srcHeight*u}else{a.srcWidth=e.width;a.srcHeight=a.srcWidth/u}}else if(i==="contain"){if(o>u){n=t/o}else{t=n*o}}else{throw new Error("Unknown resizeMethod '".concat(i,"'"))}}a.srcX=(e.width-a.srcWidth)/2;a.srcY=(e.height-a.srcHeight)/2;a.trgWidth=t;a.trgHeight=n;return a},transformFile:function r(e,t){if((this.options.resizeWidth||this.options.resizeHeight)&&e.type.match(/image.*/)){return this.resizeImage(e,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t)}else{return t(e)}},previewTemplate:l,drop:function r(e){return this.element.classList.remove("dz-drag-hover")},dragstart:function r(e){},dragend:function r(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function r(e){return this.element.classList.add("dz-drag-hover")},dragover:function r(e){return this.element.classList.add("dz-drag-hover")},dragleave:function r(e){return this.element.classList.remove("dz-drag-hover")},paste:function r(e){},reset:function r(){return this.element.classList.remove("dz-started")},addedfile:function r(e){var t=this;if(this.element===this.previewsContainer){this.element.classList.add("dz-started")}if(this.previewsContainer&&!this.options.disablePreviews){e.previewElement=C.createElement(this.options.previewTemplate.trim());e.previewTemplate=e.previewElement;this.previewsContainer.appendChild(e.previewElement);var n=v(e.previewElement.querySelectorAll("[data-dz-name]"),true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.textContent=e.name}}catch(r){n.e(r)}finally{n.f()}var o=v(e.previewElement.querySelectorAll("[data-dz-size]"),true),u;try{for(o.s();!(u=o.n()).done;){a=u.value;a.innerHTML=this.filesize(e.size)}}catch(r){o.e(r)}finally{o.f()}if(this.options.addRemoveLinks){e._removeLink=C.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>"));e.previewElement.appendChild(e._removeLink)}var s=function r(n){n.preventDefault();n.stopPropagation();if(e.status===C.UPLOADING){return C.confirm(t.options.dictCancelUploadConfirmation,(function(){return t.removeFile(e)}))}else{if(t.options.dictRemoveFileConfirmation){return C.confirm(t.options.dictRemoveFileConfirmation,(function(){return t.removeFile(e)}))}else{return t.removeFile(e)}}};var f=v(e.previewElement.querySelectorAll("[data-dz-remove]"),true),l;try{for(f.s();!(l=f.n()).done;){var c=l.value;c.addEventListener("click",s)}}catch(r){f.e(r)}finally{f.f()}}},removefile:function r(e){},removedfile:function r(e){if(e.previewElement!=null&&e.previewElement.parentNode!=null){e.previewElement.parentNode.removeChild(e.previewElement)}return this._updateMaxFilesReachedClass()},thumbnail:function r(e,t){if(e.previewElement){e.previewElement.classList.remove("dz-file-preview");var n=v(e.previewElement.querySelectorAll("[data-dz-thumbnail]"),true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.alt=e.name;a.src=t}}catch(r){n.e(r)}finally{n.f()}return setTimeout((function(){return e.previewElement.classList.add("dz-image-preview")}),1)}},error:function r(e,t){if(e.previewElement){e.previewElement.classList.add("dz-error");if(typeof t!=="string"&&t.error){t=t.error}var n=v(e.previewElement.querySelectorAll("[data-dz-errormessage]"),true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.textContent=t}}catch(r){n.e(r)}finally{n.f()}}},errormultiple:function r(){},processing:function r(e){if(e.previewElement){e.previewElement.classList.add("dz-processing");if(e._removeLink){return e._removeLink.innerHTML=this.options.dictCancelUpload}}},processingmultiple:function r(){},uploadprogress:function r(e,t,n){if(e.previewElement){var i=v(e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o.nodeName==="PROGRESS"?o.value=t:o.style.width="".concat(t,"%")}}catch(r){i.e(r)}finally{i.f()}}},totaluploadprogress:function r(){},sending:function r(){},sendingmultiple:function r(){},success:function r(e){if(e.previewElement){return e.previewElement.classList.add("dz-success")}},successmultiple:function r(){},canceled:function r(e){return this.emit("error",e,this.options.dictUploadCanceled)},canceledmultiple:function r(){},complete:function r(e){if(e._removeLink){e._removeLink.innerHTML=this.options.dictRemoveFile}if(e.previewElement){return e.previewElement.classList.add("dz-complete")}},completemultiple:function r(){},maxfilesexceeded:function r(){},maxfilesreached:function r(){},queuecomplete:function r(){},addedfiles:function r(){}};var p=d;function y(r){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){y=function r(e){return typeof e}}else{y=function r(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return y(r)}function g(r,e){var t;if(typeof Symbol==="undefined"||r[Symbol.iterator]==null){if(Array.isArray(r)||(t=m(r))||e&&r&&typeof r.length==="number"){if(t)r=t;var n=0;var i=function r(){};return{s:i,n:function e(){if(n>=r.length)return{done:true};return{done:false,value:r[n++]}},e:function r(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=true,o=false,u;return{s:function e(){t=r[Symbol.iterator]()},n:function r(){var e=t.next();a=e.done;return e},e:function r(e){o=true;u=e},f:function r(){try{if(!a&&t.return!=null)t.return()}finally{if(o)throw u}}}}function m(r,e){if(!r)return;if(typeof r==="string")return b(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor)t=r.constructor.name;if(t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return b(r,e)}function b(r,e){if(e==null||e>r.length)e=r.length;for(var t=0,n=new Array(e);t<e;t++){n[t]=r[t]}return n}function z(r,e){if(!(r instanceof e)){throw new TypeError("Cannot call a class as a function")}}function w(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(r,n.key,n)}}function A(r,e,t){if(e)w(r.prototype,e);if(t)w(r,t);return r}function x(r,e){if(typeof e!=="function"&&e!==null){throw new TypeError("Super expression must either be null or a function")}r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:true,configurable:true}});if(e)_(r,e)}function _(r,e){_=Object.setPrototypeOf||function r(e,t){e.__proto__=t;return e};return _(r,e)}function k(r){var e=R();return function t(){var n=F(r),i;if(e){var a=F(this).constructor;i=Reflect.construct(n,arguments,a)}else{i=n.apply(this,arguments)}return S(this,i)}}function S(r,e){if(e&&(y(e)==="object"||typeof e==="function")){return e}return E(r)}function E(r){if(r===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r}function R(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Date.prototype.toString.call(Reflect.construct(Date,[],(function(){})));return true}catch(r){return false}}function F(r){F=Object.setPrototypeOf?Object.getPrototypeOf:function r(e){return e.__proto__||Object.getPrototypeOf(e)};return F(r)}var C=function(r){x(t,r);var e=k(t);function t(r,n){var i;z(this,t);i=e.call(this);var a,o;i.element=r;i.version=t.version;i.clickableElements=[];i.listeners=[];i.files=[];if(typeof i.element==="string"){i.element=document.querySelector(i.element)}if(!i.element||i.element.nodeType==null){throw new Error("Invalid dropzone element.")}if(i.element.dropzone){throw new Error("Dropzone already attached.")}t.instances.push(E(i));i.element.dropzone=E(i);var u=(o=t.optionsForElement(i.element))!=null?o:{};i.options=t.extend({},p,u,n!=null?n:{});i.options.previewTemplate=i.options.previewTemplate.replace(/\n*/g,"");if(i.options.forceFallback||!t.isBrowserSupported()){return S(i,i.options.fallback.call(E(i)))}if(i.options.url==null){i.options.url=i.element.getAttribute("action")}if(!i.options.url){throw new Error("No URL provided.")}if(i.options.acceptedFiles&&i.options.acceptedMimeTypes){throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.")}if(i.options.uploadMultiple&&i.options.chunking){throw new Error("You cannot set both: uploadMultiple and chunking.")}if(i.options.acceptedMimeTypes){i.options.acceptedFiles=i.options.acceptedMimeTypes;delete i.options.acceptedMimeTypes}if(i.options.renameFilename!=null){i.options.renameFile=function(r){return i.options.renameFilename.call(E(i),r.name,r)}}if(typeof i.options.method==="string"){i.options.method=i.options.method.toUpperCase()}if((a=i.getExistingFallback())&&a.parentNode){a.parentNode.removeChild(a)}if(i.options.previewsContainer!==false){if(i.options.previewsContainer){i.previewsContainer=t.getElement(i.options.previewsContainer,"previewsContainer")}else{i.previewsContainer=i.element}}if(i.options.clickable){if(i.options.clickable===true){i.clickableElements=[i.element]}else{i.clickableElements=t.getElements(i.options.clickable,"clickable")}}i.init();return i}A(t,[{key:"getAcceptedFiles",value:function r(){return this.files.filter((function(r){return r.accepted})).map((function(r){return r}))}},{key:"getRejectedFiles",value:function r(){return this.files.filter((function(r){return!r.accepted})).map((function(r){return r}))}},{key:"getFilesWithStatus",value:function r(e){return this.files.filter((function(r){return r.status===e})).map((function(r){return r}))}},{key:"getQueuedFiles",value:function r(){return this.getFilesWithStatus(t.QUEUED)}},{key:"getUploadingFiles",value:function r(){return this.getFilesWithStatus(t.UPLOADING)}},{key:"getAddedFiles",value:function r(){return this.getFilesWithStatus(t.ADDED)}},{key:"getActiveFiles",value:function r(){return this.files.filter((function(r){return r.status===t.UPLOADING||r.status===t.QUEUED})).map((function(r){return r}))}},{key:"init",value:function r(){var e=this;if(this.element.tagName==="form"){this.element.setAttribute("enctype","multipart/form-data")}if(this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")){this.element.appendChild(t.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>")))}if(this.clickableElements.length){var n=function r(){if(e.hiddenFileInput){e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput)}e.hiddenFileInput=document.createElement("input");e.hiddenFileInput.setAttribute("type","file");if(e.options.maxFiles===null||e.options.maxFiles>1){e.hiddenFileInput.setAttribute("multiple","multiple")}e.hiddenFileInput.className="dz-hidden-input";if(e.options.acceptedFiles!==null){e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles)}if(e.options.capture!==null){e.hiddenFileInput.setAttribute("capture",e.options.capture)}e.hiddenFileInput.setAttribute("tabindex","-1");e.hiddenFileInput.style.visibility="hidden";e.hiddenFileInput.style.position="absolute";e.hiddenFileInput.style.top="0";e.hiddenFileInput.style.left="0";e.hiddenFileInput.style.height="0";e.hiddenFileInput.style.width="0";t.getElement(e.options.hiddenInputContainer,"hiddenInputContainer").appendChild(e.hiddenFileInput);e.hiddenFileInput.addEventListener("change",(function(){var t=e.hiddenFileInput.files;if(t.length){var n=g(t,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;e.addFile(a)}}catch(r){n.e(r)}finally{n.f()}}e.emit("addedfiles",t);r()}))};n()}this.URL=window.URL!==null?window.URL:window.webkitURL;var i=g(this.events,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;this.on(o,this.options[o])}}catch(r){i.e(r)}finally{i.f()}this.on("uploadprogress",(function(){return e.updateTotalUploadProgress()}));this.on("removedfile",(function(){return e.updateTotalUploadProgress()}));this.on("canceled",(function(r){return e.emit("complete",r)}));this.on("complete",(function(r){if(e.getAddedFiles().length===0&&e.getUploadingFiles().length===0&&e.getQueuedFiles().length===0){return setTimeout((function(){return e.emit("queuecomplete")}),0)}}));var u=function r(e){if(e.dataTransfer.types){for(var t=0;t<e.dataTransfer.types.length;t++){if(e.dataTransfer.types[t]==="Files")return true}}return false};var s=function r(e){if(!u(e))return;e.stopPropagation();if(e.preventDefault){return e.preventDefault()}else{return e.returnValue=false}};this.listeners=[{element:this.element,events:{dragstart:function r(t){e.emit("dragstart",t);return e},dragenter:function r(t){s(t);e.emit("dragenter",t);return e},dragover:function r(t){var n;try{n=t.dataTransfer.effectAllowed}catch(r){}t.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy";s(t);e.emit("dragover",t);return e},dragleave:function r(t){e.emit("dragleave",t);return e},drop:function r(t){s(t);e.drop(t);return e},dragend:function r(t){e.emit("dragend",t);return e}}}];this.clickableElements.forEach((function(r){return e.listeners.push({element:r,events:{click:function n(i){if(r!==e.element||i.target===e.element||t.elementInside(i.target,e.element.querySelector(".dz-message"))){e.hiddenFileInput.click()}return true}}})}));this.enable();return this.options.init.call(this)}},{key:"destroy",value:function r(){this.disable();this.removeAllFiles(true);if(this.hiddenFileInput!=null?this.hiddenFileInput.parentNode:undefined){this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput);this.hiddenFileInput=null}delete this.element.dropzone;return t.instances.splice(t.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function r(){var e;var t=0;var n=0;var i=this.getActiveFiles();if(i.length){var a=g(this.getActiveFiles(),true),o;try{for(a.s();!(o=a.n()).done;){var u=o.value;t+=u.upload.bytesSent;n+=u.upload.total}}catch(r){a.e(r)}finally{a.f()}e=100*t/n}else{e=100}this.emit("totaluploadprogress",e,n,t);return this}},{key:"_getParamName",value:function r(e){if(typeof this.options.paramName==="function"){return this.options.paramName(e)}else{return"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(e,"]"):"")}}},{key:"_renameFile",value:function r(e){if(typeof this.options.renameFile!=="function"){return e.name}return this.options.renameFile(e)}},{key:"getFallbackForm",value:function r(){var e,n;if(e=this.getExistingFallback()){return e}var i='<div class="dz-fallback">';if(this.options.dictFallbackText){i+="<p>".concat(this.options.dictFallbackText,"</p>")}i+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':undefined,' /><input type="submit" value="Upload!"></div>');var a=t.createElement(i);if(this.element.tagName!=="FORM"){n=t.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>'));n.appendChild(a)}else{this.element.setAttribute("enctype","multipart/form-data");this.element.setAttribute("method",this.options.method)}return n!=null?n:a}},{key:"getExistingFallback",value:function r(){var e=function r(e){var t=g(e,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;if(/(^| )fallback($| )/.test(i.className)){return i}}}catch(r){t.e(r)}finally{t.f()}};for(var t=0,n=["div","form"];t<n.length;t++){var i=n[t];var a;if(a=e(this.element.getElementsByTagName(i))){return a}}}},{key:"setupEventListeners",value:function r(){return this.listeners.map((function(r){return function(){var e=[];for(var t in r.events){var n=r.events[t];e.push(r.element.addEventListener(t,n,false))}return e}()}))}},{key:"removeEventListeners",value:function r(){return this.listeners.map((function(r){return function(){var e=[];for(var t in r.events){var n=r.events[t];e.push(r.element.removeEventListener(t,n,false))}return e}()}))}},{key:"disable",value:function r(){var e=this;this.clickableElements.forEach((function(r){return r.classList.remove("dz-clickable")}));this.removeEventListeners();this.disabled=true;return this.files.map((function(r){return e.cancelUpload(r)}))}},{key:"enable",value:function r(){delete this.disabled;this.clickableElements.forEach((function(r){return r.classList.add("dz-clickable")}));return this.setupEventListeners()}},{key:"filesize",value:function r(e){var t=0;var n="b";if(e>0){var i=["tb","gb","mb","kb","b"];for(var a=0;a<i.length;a++){var o=i[a];var u=Math.pow(this.options.filesizeBase,4-a)/10;if(e>=u){t=e/Math.pow(this.options.filesizeBase,4-a);n=o;break}}t=Math.round(10*t)/10}return"<strong>".concat(t,"</strong> ").concat(this.options.dictFileSizeUnits[n])}},{key:"_updateMaxFilesReachedClass",value:function r(){if(this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles){if(this.getAcceptedFiles().length===this.options.maxFiles){this.emit("maxfilesreached",this.files)}return this.element.classList.add("dz-max-files-reached")}else{return this.element.classList.remove("dz-max-files-reached")}}},{key:"drop",value:function r(e){if(!e.dataTransfer){return}this.emit("drop",e);var t=[];for(var n=0;n<e.dataTransfer.files.length;n++){t[n]=e.dataTransfer.files[n]}if(t.length){var i=e.dataTransfer.items;if(i&&i.length&&i[0].webkitGetAsEntry!=null){this._addFilesFromItems(i)}else{this.handleFiles(t)}}this.emit("addedfiles",t)}},{key:"paste",value:function r(e){if(L(e!=null?e.clipboardData:undefined,(function(r){return r.items}))==null){return}this.emit("paste",e);var t=e.clipboardData.items;if(t.length){return this._addFilesFromItems(t)}}},{key:"handleFiles",value:function r(e){var t=g(e,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;this.addFile(i)}}catch(r){t.e(r)}finally{t.f()}}},{key:"_addFilesFromItems",value:function r(e){var t=this;return function(){var r=[];var n=g(e,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;var o;if(a.webkitGetAsEntry!=null&&(o=a.webkitGetAsEntry())){if(o.isFile){r.push(t.addFile(a.getAsFile()))}else if(o.isDirectory){r.push(t._addFilesFromDirectory(o,o.name))}else{r.push(undefined)}}else if(a.getAsFile!=null){if(a.kind==null||a.kind==="file"){r.push(t.addFile(a.getAsFile()))}else{r.push(undefined)}}else{r.push(undefined)}}}catch(r){n.e(r)}finally{n.f()}return r}()}},{key:"_addFilesFromDirectory",value:function r(e,t){var n=this;var i=e.createReader();var a=function r(e){return B(console,"log",(function(r){return r.log(e)}))};var o=function r(){return i.readEntries((function(e){if(e.length>0){var i=g(e,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o.isFile){o.file((function(r){if(n.options.ignoreHiddenFiles&&r.name.substring(0,1)==="."){return}r.fullPath="".concat(t,"/").concat(r.name);return n.addFile(r)}))}else if(o.isDirectory){n._addFilesFromDirectory(o,"".concat(t,"/").concat(o.name))}}}catch(r){i.e(r)}finally{i.f()}r()}return null}),a)};return o()}},{key:"accept",value:function r(e,n){if(this.options.maxFilesize&&e.size>this.options.maxFilesize*1024*1024){n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize))}else if(!t.isValidFile(e,this.options.acceptedFiles)){n(this.options.dictInvalidFileType)}else if(this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles){n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles));this.emit("maxfilesexceeded",e)}else{this.options.accept.call(this,e,n)}}},{key:"addFile",value:function r(e){var n=this;e.upload={uuid:t.uuidv4(),progress:0,total:e.size,bytesSent:0,filename:this._renameFile(e)};this.files.push(e);e.status=t.ADDED;this.emit("addedfile",e);this._enqueueThumbnail(e);this.accept(e,(function(r){if(r){e.accepted=false;n._errorProcessing([e],r)}else{e.accepted=true;if(n.options.autoQueue){n.enqueueFile(e)}}n._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function r(e){var t=g(e,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;this.enqueueFile(i)}}catch(r){t.e(r)}finally{t.f()}return null}},{key:"enqueueFile",value:function r(e){var n=this;if(e.status===t.ADDED&&e.accepted===true){e.status=t.QUEUED;if(this.options.autoProcessQueue){return setTimeout((function(){return n.processQueue()}),0)}}else{throw new Error("This file can't be queued because it has already been processed or was rejected.")}}},{key:"_enqueueThumbnail",value:function r(e){var t=this;if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=this.options.maxThumbnailFilesize*1024*1024){this._thumbnailQueue.push(e);return setTimeout((function(){return t._processThumbnailQueue()}),0)}}},{key:"_processThumbnailQueue",value:function r(){var e=this;if(this._processingThumbnail||this._thumbnailQueue.length===0){return}this._processingThumbnail=true;var t=this._thumbnailQueue.shift();return this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,true,(function(r){e.emit("thumbnail",t,r);e._processingThumbnail=false;return e._processThumbnailQueue()}))}},{key:"removeFile",value:function r(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;if(!n){var i=this.emit("removefile",e);if(!i){return false}}if(e.status===t.UPLOADING){this.cancelUpload(e)}this.files=T(this.files,e);this.emit("removedfile",e,n);if(this.files.length===0){this.emit("reset")}return true}},{key:"removeAllFiles",value:function r(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;if(e==null){e=false}var i=g(this.files.slice(),true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o.status!==t.UPLOADING||e){this.removeFile(o,n)}}}catch(r){i.e(r)}finally{i.f()}return null}},{key:"resizeImage",value:function r(e,n,i,a,o){var u=this;return this.createThumbnail(e,n,i,a,true,(function(r,n){if(n==null){return o(e)}else{var i=u.options.resizeMimeType;if(i==null){i=e.type}var a=n.toDataURL(i,u.options.resizeQuality);if(i==="image/jpeg"||i==="image/jpg"){a=O.restore(e.dataURL,a)}return o(t.dataURItoBlob(a))}}))}},{key:"createThumbnail",value:function r(e,t,n,i,a,o){var u=this;var s=new FileReader;s.onload=function(){e.dataURL=s.result;if(e.type==="image/svg+xml"){if(o!=null){o(s.result)}return}u.createThumbnailFromUrl(e,t,n,i,a,o)};s.readAsDataURL(e)}},{key:"displayExistingFile",value:function r(e,t,n,i){var a=this;var o=arguments.length>4&&arguments[4]!==undefined?arguments[4]:true;this.emit("addedfile",e);this.emit("complete",e);if(!o){this.emit("thumbnail",e,t);if(n)n()}else{var u=function r(t){a.emit("thumbnail",e,t);if(n)n()};e.dataURL=t;this.createThumbnailFromUrl(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,u,i)}}},{key:"createThumbnailFromUrl",value:function r(e,t,n,i,a,o,u){var s=this;var f=document.createElement("img");if(u){f.crossOrigin=u}a=getComputedStyle(document.body)["imageOrientation"]=="from-image"?false:a;f.onload=function(){var r=function r(e){return e(1)};if(typeof EXIF!=="undefined"&&EXIF!==null&&a){r=function r(e){return EXIF.getData(f,(function(){return e(EXIF.getTag(this,"Orientation"))}))}}return r((function(r){e.width=f.width;e.height=f.height;var a=s.options.resize.call(s,e,t,n,i);var u=document.createElement("canvas");var l=u.getContext("2d");u.width=a.trgWidth;u.height=a.trgHeight;if(r>4){u.width=a.trgHeight;u.height=a.trgWidth}switch(r){case 2:l.translate(u.width,0);l.scale(-1,1);break;case 3:l.translate(u.width,u.height);l.rotate(Math.PI);break;case 4:l.translate(0,u.height);l.scale(1,-1);break;case 5:l.rotate(.5*Math.PI);l.scale(1,-1);break;case 6:l.rotate(.5*Math.PI);l.translate(0,-u.width);break;case 7:l.rotate(.5*Math.PI);l.translate(u.height,-u.width);l.scale(-1,1);break;case 8:l.rotate(-.5*Math.PI);l.translate(-u.height,0);break}U(l,f,a.srcX!=null?a.srcX:0,a.srcY!=null?a.srcY:0,a.srcWidth,a.srcHeight,a.trgX!=null?a.trgX:0,a.trgY!=null?a.trgY:0,a.trgWidth,a.trgHeight);var v=u.toDataURL("image/png");if(o!=null){return o(v,u)}}))};if(o!=null){f.onerror=o}return f.src=e.dataURL}},{key:"processQueue",value:function r(){var e=this.options.parallelUploads;var t=this.getUploadingFiles().length;var n=t;if(t>=e){return}var i=this.getQueuedFiles();if(!(i.length>0)){return}if(this.options.uploadMultiple){return this.processFiles(i.slice(0,e-t))}else{while(n<e){if(!i.length){return}this.processFile(i.shift());n++}}}},{key:"processFile",value:function r(e){return this.processFiles([e])}},{key:"processFiles",value:function r(e){var n=g(e,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.processing=true;a.status=t.UPLOADING;this.emit("processing",a)}}catch(r){n.e(r)}finally{n.f()}if(this.options.uploadMultiple){this.emit("processingmultiple",e)}return this.uploadFiles(e)}},{key:"_getFilesWithXhr",value:function r(e){return this.files.filter((function(r){return r.xhr===e})).map((function(r){return r}))}},{key:"cancelUpload",value:function r(e){if(e.status===t.UPLOADING){var n=this._getFilesWithXhr(e.xhr);var i=g(n,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o.status=t.CANCELED}}catch(r){i.e(r)}finally{i.f()}if(typeof e.xhr!=="undefined"){e.xhr.abort()}var u=g(n,true),s;try{for(u.s();!(s=u.n()).done;){var f=s.value;this.emit("canceled",f)}}catch(r){u.e(r)}finally{u.f()}if(this.options.uploadMultiple){this.emit("canceledmultiple",n)}}else if(e.status===t.ADDED||e.status===t.QUEUED){e.status=t.CANCELED;this.emit("canceled",e);if(this.options.uploadMultiple){this.emit("canceledmultiple",[e])}}if(this.options.autoProcessQueue){return this.processQueue()}}},{key:"resolveOption",value:function r(e){if(typeof e==="function"){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++){n[i-1]=arguments[i]}return e.apply(this,n)}return e}},{key:"uploadFile",value:function r(e){return this.uploadFiles([e])}},{key:"uploadFiles",value:function r(e){var n=this;this._transformFiles(e,(function(r){if(n.options.chunking){var i=r[0];e[0].upload.chunked=n.options.chunking&&(n.options.forceChunking||i.size>n.options.chunkSize);e[0].upload.totalChunkCount=Math.ceil(i.size/n.options.chunkSize)}if(e[0].upload.chunked){var a=e[0];var o=r[0];a.upload.chunks=[];var u=function r(){var i=0;while(a.upload.chunks[i]!==undefined){i++}if(i>=a.upload.totalChunkCount)return;var u=i*n.options.chunkSize;var s=Math.min(u+n.options.chunkSize,o.size);var f={name:n._getParamName(0),data:o.webkitSlice?o.webkitSlice(u,s):o.slice(u,s),filename:a.upload.filename,chunkIndex:i};a.upload.chunks[i]={file:a,index:i,dataBlock:f,status:t.UPLOADING,progress:0,retries:0};n._uploadData(e,[f])};a.upload.finishedChunkUpload=function(r,i){var o=true;r.status=t.SUCCESS;r.dataBlock=null;r.xhr=null;for(var s=0;s<a.upload.totalChunkCount;s++){if(a.upload.chunks[s]===undefined){return u()}if(a.upload.chunks[s].status!==t.SUCCESS){o=false}}if(o){n.options.chunksUploaded(a,(function(){n._finished(e,i,null)}))}};if(n.options.parallelChunkUploads){for(var s=0;s<a.upload.totalChunkCount;s++){u()}}else{u()}}else{var f=[];for(var l=0;l<e.length;l++){f[l]={name:n._getParamName(l),data:r[l],filename:e[l].upload.filename}}n._uploadData(e,f)}}))}},{key:"_getChunk",value:function r(e,t){for(var n=0;n<e.upload.totalChunkCount;n++){if(e.upload.chunks[n]!==undefined&&e.upload.chunks[n].xhr===t){return e.upload.chunks[n]}}}},{key:"_uploadData",value:function r(e,n){var i=this;var a=new XMLHttpRequest;var o=g(e,true),u;try{for(o.s();!(u=o.n()).done;){var s=u.value;s.xhr=a}}catch(r){o.e(r)}finally{o.f()}if(e[0].upload.chunked){e[0].upload.chunks[n[0].chunkIndex].xhr=a}var f=this.resolveOption(this.options.method,e);var l=this.resolveOption(this.options.url,e);a.open(f,l,true);var v=this.resolveOption(this.options.timeout,e);if(v)a.timeout=this.resolveOption(this.options.timeout,e);a.withCredentials=!!this.options.withCredentials;a.onload=function(r){i._finishedUploading(e,a,r)};a.ontimeout=function(){i._handleUploadError(e,a,"Request timedout after ".concat(i.options.timeout/1e3," seconds"))};a.onerror=function(){i._handleUploadError(e,a)};var c=a.upload!=null?a.upload:a;c.onprogress=function(r){return i._updateFilesUploadProgress(e,a,r)};var h={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};if(this.options.headers){var d=this.options.headers;if(typeof this.options.headers==="function"){d=this.options.headers(this)}t.extend(h,d)}for(var p in h){var y=h[p];if(y){a.setRequestHeader(p,y)}}var m=new FormData;if(this.options.params){var b=this.options.params;if(typeof b==="function"){b=b.call(this,e,a,e[0].upload.chunked?this._getChunk(e[0],a):null)}for(var z in b){var w=b[z];if(Array.isArray(w)){for(var A=0;A<w.length;A++){m.append(z,w[A])}}else{m.append(z,w)}}}var x=g(e,true),_;try{for(x.s();!(_=x.n()).done;){var k=_.value;this.emit("sending",k,a,m)}}catch(r){x.e(r)}finally{x.f()}if(this.options.uploadMultiple){this.emit("sendingmultiple",e,a,m)}this._addFormElementData(m);for(var S=0;S<n.length;S++){var E=n[S];m.append(E.name,E.data,E.filename)}this.submitRequest(a,m,e)}},{key:"_transformFiles",value:function r(e,t){var n=this;var i=[];var a=0;var o=function r(o){n.options.transformFile.call(n,e[o],(function(r){i[o]=r;if(++a===e.length){t(i)}}))};for(var u=0;u<e.length;u++){o(u)}}},{key:"_addFormElementData",value:function r(e){if(this.element.tagName==="FORM"){var t=g(this.element.querySelectorAll("input, textarea, select, button"),true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;var a=i.getAttribute("name");var o=i.getAttribute("type");if(o)o=o.toLowerCase();if(typeof a==="undefined"||a===null)continue;if(i.tagName==="SELECT"&&i.hasAttribute("multiple")){var u=g(i.options,true),s;try{for(u.s();!(s=u.n()).done;){var f=s.value;if(f.selected){e.append(a,f.value)}}}catch(r){u.e(r)}finally{u.f()}}else if(!o||o!=="checkbox"&&o!=="radio"||i.checked){e.append(a,i.value)}}}catch(r){t.e(r)}finally{t.f()}}}},{key:"_updateFilesUploadProgress",value:function r(e,t,n){if(!e[0].upload.chunked){var i=g(e,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o.upload.total&&o.upload.bytesSent&&o.upload.bytesSent==o.upload.total){continue}if(n){o.upload.progress=100*n.loaded/n.total;o.upload.total=n.total;o.upload.bytesSent=n.loaded}else{o.upload.progress=100;o.upload.bytesSent=o.upload.total}this.emit("uploadprogress",o,o.upload.progress,o.upload.bytesSent)}}catch(r){i.e(r)}finally{i.f()}}else{var u=e[0];var s=this._getChunk(u,t);if(n){s.progress=100*n.loaded/n.total;s.total=n.total;s.bytesSent=n.loaded}else{s.progress=100;s.bytesSent=s.total}u.upload.progress=0;u.upload.total=0;u.upload.bytesSent=0;for(var f=0;f<u.upload.totalChunkCount;f++){if(u.upload.chunks[f]&&typeof u.upload.chunks[f].progress!=="undefined"){u.upload.progress+=u.upload.chunks[f].progress;u.upload.total+=u.upload.chunks[f].total;u.upload.bytesSent+=u.upload.chunks[f].bytesSent}}u.upload.progress=u.upload.progress/u.upload.totalChunkCount;this.emit("uploadprogress",u,u.upload.progress,u.upload.bytesSent)}}},{key:"_finishedUploading",value:function r(e,n,i){var a;if(e[0].status===t.CANCELED){return}if(n.readyState!==4){return}if(n.responseType!=="arraybuffer"&&n.responseType!=="blob"){a=n.responseText;if(n.getResponseHeader("content-type")&&~n.getResponseHeader("content-type").indexOf("application/json")){try{a=JSON.parse(a)}catch(r){i=r;a="Invalid JSON response from server."}}}this._updateFilesUploadProgress(e,n);if(!(200<=n.status&&n.status<300)){this._handleUploadError(e,n,a)}else{if(e[0].upload.chunked){e[0].upload.finishedChunkUpload(this._getChunk(e[0],n),a)}else{this._finished(e,a,i)}}}},{key:"_handleUploadError",value:function r(e,n,i){if(e[0].status===t.CANCELED){return}if(e[0].upload.chunked&&this.options.retryChunks){var a=this._getChunk(e[0],n);if(a.retries++<this.options.retryChunksLimit){this._uploadData(e,[a.dataBlock]);return}else{console.warn("Retried this chunk too often. Giving up.")}}this._errorProcessing(e,i||this.options.dictResponseError.replace("{{statusCode}}",n.status),n)}},{key:"submitRequest",value:function r(e,t,n){if(e.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}e.send(t)}},{key:"_finished",value:function r(e,n,i){var a=g(e,true),o;try{for(a.s();!(o=a.n()).done;){var u=o.value;u.status=t.SUCCESS;this.emit("success",u,n,i);this.emit("complete",u)}}catch(r){a.e(r)}finally{a.f()}if(this.options.uploadMultiple){this.emit("successmultiple",e,n,i);this.emit("completemultiple",e)}if(this.options.autoProcessQueue){return this.processQueue()}}},{key:"_errorProcessing",value:function r(e,n,i){var a=g(e,true),o;try{for(a.s();!(o=a.n()).done;){var u=o.value;u.status=t.ERROR;this.emit("error",u,n,i);this.emit("complete",u)}}catch(r){a.e(r)}finally{a.f()}if(this.options.uploadMultiple){this.emit("errormultiple",e,n,i);this.emit("completemultiple",e)}if(this.options.autoProcessQueue){return this.processQueue()}}}],[{key:"initClass",value:function r(){this.prototype.Emitter=s;this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removefile","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"];this.prototype._thumbnailQueue=[];this.prototype._processingThumbnail=false}},{key:"extend",value:function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++){n[i-1]=arguments[i]}for(var a=0,o=n;a<o.length;a++){var u=o[a];for(var s in u){var f=u[s];e[s]=f}}return e}},{key:"uuidv4",value:function r(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(r){var e=Math.random()*16|0,t=r==="x"?e:e&3|8;return t.toString(16)}))}}]);return t}(s);C.initClass();C.version="dev";C.options={};C.optionsForElement=function(r){if(r.getAttribute("id")){return C.options[j(r.getAttribute("id"))]}else{return undefined}};C.instances=[];C.forElement=function(r){if(typeof r==="string"){r=document.querySelector(r)}if((r!=null?r.dropzone:undefined)==null){throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.")}return r.dropzone};C.autoDiscover=true;C.discover=function(){var r;if(document.querySelectorAll){r=document.querySelectorAll(".dropzone")}else{r=[];var e=function e(t){return function(){var e=[];var n=g(t,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;if(/(^| )dropzone($| )/.test(a.className)){e.push(r.push(a))}else{e.push(undefined)}}}catch(r){n.e(r)}finally{n.f()}return e}()};e(document.getElementsByTagName("div"));e(document.getElementsByTagName("form"))}return function(){var e=[];var t=g(r,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;if(C.optionsForElement(i)!==false){e.push(new C(i))}else{e.push(undefined)}}}catch(r){t.e(r)}finally{t.f()}return e}()};C.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i];C.isBrowserSupported=function(){var r=true;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector){if(!("classList"in document.createElement("a"))){r=false}else{if(C.blacklistedBrowsers!==undefined){C.blockedBrowsers=C.blacklistedBrowsers}var e=g(C.blockedBrowsers,true),t;try{for(e.s();!(t=e.n()).done;){var n=t.value;if(n.test(navigator.userAgent)){r=false;continue}}}catch(r){e.e(r)}finally{e.f()}}}else{r=false}return r};C.dataURItoBlob=function(r){var e=atob(r.split(",")[1]);var t=r.split(",")[0].split(":")[1].split(";")[0];var n=new ArrayBuffer(e.length);var i=new Uint8Array(n);for(var a=0,o=e.length,u=0<=o;u?a<=o:a>=o;u?a++:a--){i[a]=e.charCodeAt(a)}return new Blob([n],{type:t})};var T=function r(e,t){return e.filter((function(r){return r!==t})).map((function(r){return r}))};var j=function r(e){return e.replace(/[\-_](\w)/g,(function(r){return r.charAt(1).toUpperCase()}))};C.createElement=function(r){var e=document.createElement("div");e.innerHTML=r;return e.childNodes[0]};C.elementInside=function(r,e){if(r===e){return true}while(r=r.parentNode){if(r===e){return true}}return false};C.getElement=function(r,e){var t;if(typeof r==="string"){t=document.querySelector(r)}else if(r.nodeType!=null){t=r}if(t==null){throw new Error("Invalid `".concat(e,"` option provided. Please provide a CSS selector or a plain HTML element."))}return t};C.getElements=function(r,e){var t,n;if(r instanceof Array){n=[];try{var i=g(r,true),a;try{for(i.s();!(a=i.n()).done;){t=a.value;n.push(this.getElement(t,e))}}catch(r){i.e(r)}finally{i.f()}}catch(r){n=null}}else if(typeof r==="string"){n=[];var o=g(document.querySelectorAll(r),true),u;try{for(o.s();!(u=o.n()).done;){t=u.value;n.push(t)}}catch(r){o.e(r)}finally{o.f()}}else if(r.nodeType!=null){n=[r]}if(n==null||!n.length){throw new Error("Invalid `".concat(e,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."))}return n};C.confirm=function(r,e,t){if(window.confirm(r)){return e()}else if(t!=null){return t()}};C.isValidFile=function(r,e){if(!e){return true}e=e.split(",");var t=r.type;var n=t.replace(/\/.*$/,"");var i=g(e,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o=o.trim();if(o.charAt(0)==="."){if(r.name.toLowerCase().indexOf(o.toLowerCase(),r.name.length-o.length)!==-1){return true}}else if(/\/\*$/.test(o)){if(n===o.replace(/\/.*$/,"")){return true}}else{if(t===o){return true}}}}catch(r){i.e(r)}finally{i.f()}return false};if(typeof jQuery!=="undefined"&&jQuery!==null){jQuery.fn.dropzone=function(r){return this.each((function(){return new C(this,r)}))}}C.ADDED="added";C.QUEUED="queued";C.ACCEPTED=C.QUEUED;C.UPLOADING="uploading";C.PROCESSING=C.UPLOADING;C.CANCELED="canceled";C.ERROR="error";C.SUCCESS="success";var M=function r(e){var t=e.naturalHeight;var n=document.createElement("canvas");n.width=1;n.height=t;var i=n.getContext("2d");i.drawImage(e,0,0);var a=i.getImageData(1,0,1,t),o=a.data;var u=0;var s=t;var f=t;while(f>u){var l=o[(f-1)*4+3];if(l===0){s=f}else{u=f}f=s+u>>1}var v=f/t;if(v===0){return 1}else{return v}};var U=function r(e,t,n,i,a,o,u,s,f,l){var v=M(t);return e.drawImage(t,n,i,a,o,u,s,f,l/v)};var O=function(){function r(){z(this,r)}A(r,null,[{key:"initClass",value:function r(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function r(e){var t="";var n=undefined;var i=undefined;var a="";var o=undefined;var u=undefined;var s=undefined;var f="";var l=0;while(true){n=e[l++];i=e[l++];a=e[l++];o=n>>2;u=(n&3)<<4|i>>4;s=(i&15)<<2|a>>6;f=a&63;if(isNaN(i)){s=f=64}else if(isNaN(a)){f=64}t=t+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(u)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(f);n=i=a="";o=u=s=f="";if(!(l<e.length)){break}}return t}},{key:"restore",value:function r(e,t){if(!e.match("data:image/jpeg;base64,")){return t}var n=this.decode64(e.replace("data:image/jpeg;base64,",""));var i=this.slice2Segments(n);var a=this.exifManipulation(t,i);return"data:image/jpeg;base64,".concat(this.encode64(a))}},{key:"exifManipulation",value:function r(e,t){var n=this.getExifArray(t);var i=this.insertExif(e,n);var a=new Uint8Array(i);return a}},{key:"getExifArray",value:function r(e){var t=undefined;var n=0;while(n<e.length){t=e[n];if(t[0]===255&t[1]===225){return t}n++}return[]}},{key:"insertExif",value:function r(e,t){var n=e.replace("data:image/jpeg;base64,","");var i=this.decode64(n);var a=i.indexOf(255,3);var o=i.slice(0,a);var u=i.slice(a);var s=o;s=s.concat(t);s=s.concat(u);return s}},{key:"slice2Segments",value:function r(e){var t=0;var n=[];while(true){var i;if(e[t]===255&e[t+1]===218){break}if(e[t]===255&e[t+1]===216){t+=2}else{i=e[t+2]*256+e[t+3];var a=t+i+2;var o=e.slice(t,a);n.push(o);t=a}if(t>e.length){break}}return n}},{key:"decode64",value:function r(e){var t=undefined;var n=undefined;var i="";var a=undefined;var o=undefined;var u=undefined;var s="";var f=0;var l=[];var v=/[^A-Za-z0-9\+\/\=]/g;if(v.exec(e)){console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding.")}e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(true){a=this.KEY_STR.indexOf(e.charAt(f++));o=this.KEY_STR.indexOf(e.charAt(f++));u=this.KEY_STR.indexOf(e.charAt(f++));s=this.KEY_STR.indexOf(e.charAt(f++));t=a<<2|o>>4;n=(o&15)<<4|u>>2;i=(u&3)<<6|s;l.push(t);if(u!==64){l.push(n)}if(s!==64){l.push(i)}t=n=i="";a=o=u=s="";if(!(f<e.length)){break}}return l}}]);return r}();O.initClass();var I=function r(e,t){var n=false;var i=true;var a=e.document;var o=a.documentElement;var u=a.addEventListener?"addEventListener":"attachEvent";var s=a.addEventListener?"removeEventListener":"detachEvent";var f=a.addEventListener?"":"on";var l=function r(i){if(i.type==="readystatechange"&&a.readyState!=="complete"){return}(i.type==="load"?e:a)[s](f+i.type,r,false);if(!n&&(n=true)){return t.call(e,i.type||i)}};var v=function r(){try{o.doScroll("left")}catch(e){setTimeout(r,50);return}return l("poll")};if(a.readyState!=="complete"){if(a.createEventObject&&o.doScroll){try{i=!e.frameElement}catch(r){}if(i){v()}}a[u](f+"DOMContentLoaded",l,false);a[u](f+"readystatechange",l,false);return e[u](f+"load",l,false)}};C._autoDiscoverFunction=function(){if(C.autoDiscover){return C.discover()}};I(window,C._autoDiscoverFunction);function L(r,e){return typeof r!=="undefined"&&r!==null?e(r):undefined}function B(r,e,t){if(typeof r!=="undefined"&&r!==null&&typeof r[e]==="function"){return t(r,e)}else{return undefined}}window.Dropzone=C;var P=C}();return n}()}));const s=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-upload{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;}stzh-upload[hidden]{display:none}stzh-upload *,stzh-upload *::before,stzh-upload *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}stzh-upload .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}stzh-upload .stzh-fylingfocus-focused{outline-style:none !important}stzh-upload .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}.stzh-upload{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);position:relative;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;}.stzh-upload__marker-symbol{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular)}.stzh-upload__marker-text{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-upload__description-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-upload__error,.stzh-upload__description{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-upload__error{color:var(--stzh-color-error)}.stzh-upload__error-list{list-style:none;margin:0;padding:0}.stzh-upload__description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-upload__description-long{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-upload__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-upload__description-long-popover[open]:not([open=false]) .stzh-upload__description-long-button{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__description-long-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-upload__description-long-button:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload stzh-icon.stzh-upload__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-xxsmall)}.stzh-upload__label{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title);font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing);color:var(--stzh-base-lead-color);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__label{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}.stzh-upload__clickarea{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);padding:var(--stzh-space-xxlarge);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;text-align:center;border:0.0625rem solid var(--stzh-base-border-color);border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD4SURBVHgB7dlBCoMwEAXQSXqBHsUj9ChWdK2eoN6gdi/W3shjtLssWxDTmZKFFGqhphDhPxBDIOEbJAyMIpYkSay1PvJwSxPjOO7btu1oBq8t3NqPFuxj+Dk1TVOpNE0PwzBcZLLrOkMBieNYDm7LH7DTPCgowJDCZTKvk+YTtRQ4yahpJRDUNwlaUuDkeiMAAFhGalEKXJZlOVdQ+kyBs9bWKEp8Q1DfENQ3VPg+ocIHAPAAFb5HqPD/YVVBjes+BMllM5soim78s175TX3f3ykgk/bNQ8kEdx0qDpsrpd5PtuRmVD23mWumfbs5ftqHMxl+SmmmPQHYcmyn56UnaQAAAABJRU5ErkJggg==\');border-image-slice:12;border-image-width:0.75rem;border-image-repeat:round;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 1024px){.stzh-upload__clickarea{padding:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-upload__clickarea{padding:var(--stzh-space-xxxxlarge)}}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload__clickarea{border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIpSURBVHgB7d3BbeJAFMbxsYXFlRLYDtgKllIsC0vcEiqIU8EmB04glu2EdEAHYTvgbgv2vawdcdokni/ikP9Pwp6YyB59YCcej/SS0MrzfDQYDG6sOW1fb2qa5tt2uz2ECHbcsR33OQhcoT/70+n0uNlstt2G9LWRprmtqvCOMM/n89FWi9jOu3Yf9yHCFfszsdx+zWaz225D4ouyLG9Wq9WjfzpZlo3quj7Yjo8B/2VBTpMkOVp2e8/QcvudFEWRe8r2xnd/I+DDLi4T95Zl6tdNP21GAX112f3wa+jEW+v1ehfQ16FdT9OAaJd/bwhUjEDFCFSMQMUIVIxAxQhU5+Vfpy7QqMEJhGCjTv8ynM/n4wAJv6cPAAAAAAAAAPBVMCiq44P1qc8au5zfiH4sw7umaZ67Z0p3AbEqX3SBMpVRhMfIYgQqRqBiBCpGoGIEKkagYgQqRqBiBCpGoGIEKkagYgSqwxx7JebYfwIeJwEAAAAAAAD4UhgU1WGOvRBz7PUqXzDHXozHyGIEKkagYgQqRqBiBCr2GqhXqwmI5oHuvJFl2TigFy+y0jb3HuiTt+q6pjpNT3bL+ZKd11Ya2A8Pdj9/9DpCZVlOvMgKdUHe5pdIP6v9i2jZ7e1buvBCVUn3C0VR3KZp+vMD+6wseMm8Uq9FZB9kFeJuga/Zn4Ud+8EbyeXWtraSlwOavGcvw+FwvFwu/4QIyhJqV+jPzl5PfpZ3BVb+AjID1CfgWYnZAAAAAElFTkSuQmCC\');border-image-slice:24}}.stzh-upload__button{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__button{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-upload__button{margin-top:var(--stzh-space-large)}}.stzh-upload stzh-icon.stzh-upload__delete-icon{display:none}.stzh-upload__preview{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border:0.0625rem solid var(--stzh-base-border-color);border-bottom:none;padding:var(--stzh-space-xsmall);padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-small)}.stzh-upload__preview:not(.dz-error):last-child,.stzh-upload:has(.stzh-upload__previews:empty) .stzh-upload__errors .stzh-upload__preview:last-child{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-upload__errors .stzh-upload__preview:first-child,.stzh-upload__errors:empty+.stzh-upload__previews>.stzh-upload__preview{border-top-left-radius:var(--stzh-button-border-radius);border-top-right-radius:var(--stzh-button-border-radius)}.stzh-upload__preview:last-child{border-bottom-left-radius:var(--stzh-button-border-radius);border-bottom-right-radius:var(--stzh-button-border-radius)}.stzh-upload:has(.stzh-upload__previews>.stzh-upload__preview) .stzh-upload__errors .stzh-upload__preview:last-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.stzh-upload__preview.dz-error .stzh-upload__title,.stzh-upload__preview.dz-error .stzh-upload__link[href]:not([href=""]),.stzh-upload__preview.dz-error .stzh-upload__link[href]:not([href=""]):hover{color:var(--stzh-color-error)}.stzh-upload__preview.dz-error .stzh-upload__error-message{display:block}.stzh-upload__preview.dz-error .stzh-upload__meta{display:none}.stzh-upload__preview.dz-complete:not(.dz-error) stzh-icon.stzh-upload__delete-icon-error{display:none}.stzh-upload__preview.dz-complete:not(.dz-error) stzh-icon.stzh-upload__delete-icon{display:-ms-inline-flexbox;display:inline-flex}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-processing{display:none}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-complete{display:-ms-flexbox;display:flex}.stzh-upload__preview.dz-empty .stzh-upload__extension::after{display:none}.stzh-upload__preview.dz-empty .stzh-upload__size{display:none}.stzh-upload__details{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;overflow:hidden}.stzh-upload__info-wrapper{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;overflow:hidden}.stzh-upload__info-wrapper-processing,.stzh-upload__info-wrapper-complete{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;overflow:hidden}.stzh-upload__info-wrapper-complete{display:none}.stzh-upload__actions{-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-upload__infos{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.stzh-upload__title,.stzh-upload__subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-upload__title{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-upload__link[href]:not([href=""]){color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__link[href]:not([href=""]):hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-upload__meta{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em}.stzh-upload__info-wrapper-processing .stzh-upload__meta{display:none}.stzh-upload__size strong{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular)}.stzh-upload__image{display:none}.stzh-upload__progress{display:block;height:0.5rem;border-radius:0.75rem;background-color:var(--stzh-color-grey13);margin-top:var(--stzh-space-xsmall)}.stzh-upload__progress-bar{display:block;height:100%;width:0;border-radius:0.75rem;background:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__progress-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium);font-variant-numeric:tabular-nums}.stzh-upload__extension{text-transform:uppercase}.stzh-upload__extension::after{content:" | "}.stzh-upload__extension:empty::after{display:none}.stzh-upload__download,.stzh-upload__delete{margin-left:var(--stzh-space-xsmall)}.stzh-upload__download[variant=tertiary][icon-only],.stzh-upload__delete[variant=tertiary][icon-only]{--color:var(--stzh-color-grey70)}.stzh-upload__download[variant=tertiary]{display:none}.stzh-upload__download[variant=tertiary][href]{display:-ms-flexbox;display:flex}.stzh-upload__error-message{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;color:var(--stzh-color-error);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);display:none}.stzh-upload.dz-started .stzh-upload__errors{margin-top:var(--stzh-space-small)}.stzh-upload:has(.stzh-upload__preview) .stzh-upload__errors{margin-top:var(--stzh-space-small)}.stzh-upload.dz-drag-hover .stzh-upload__clickarea{background-color:var(--stzh-color-primary4)}.stzh-upload.dz-drag-hover .stzh-upload__button{--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-upload--has-hidden-progress .stzh-upload__progress,.stzh-upload--has-hidden-progress .stzh-upload__progress-text,.stzh-upload--has-hidden-progress-while-idle .stzh-upload__preview:not(.dz-processing) .stzh-upload__progress,.stzh-upload--has-hidden-progress-while-idle .stzh-upload__preview:not(.dz-processing) .stzh-upload__progress-text{display:none}.stzh-upload--has-hidden-progress .stzh-upload__info-wrapper-processing .stzh-upload__meta,.stzh-upload--has-hidden-progress-while-idle .stzh-upload__preview:not(.dz-processing) .stzh-upload__info-wrapper-processing .stzh-upload__meta{display:block}.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD/SURBVHgB7dlBasJAFAbg/71supy16aI9Qm7Qo7QnsDlBvUHrCdqeKPUEXbUunY0gCPOcMQgimIWOMOL/bRJC8vgJITz4BVFX1c9ieI+nDnss4KXB3xcGdKhfRbfPHnXGHG+waRP+JzLT0VsI4RtY+QbeoyAdXHxxdw5V9SQ/Wi8sLB9LC7nT4cGJrn8RgxoKlzIqrgSD5qbxA21RuPR7AxERnSftoijcTO/H3J5yY9DcGDQ3Bs2NGz4R0a3ghp8RN/xLuKqgvm8fypTKhnjwGleoNlUkJYbtM62cQaayvaCjiZiMIQeFGELbhPnH4LC+TPscuufkORYLMUObyrQNlY5lla7HUdEAAAAASUVORK5CYII=\')}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIwSURBVHgB7d1NUhNBGIfxf3dKrdJNNlaJYTFu3Zg5gTlKbjByAuAEwgn0KHKCTk4gLhCrXJiFKy3mdXomCeoCQuYFFjy/DZOhauh6CGE+uqqDlpKGwxifVmZhoqCJNmD1xatS307VQ9KLIsTBZzm48/GYZhZ1XF6cfVztipfffTY1hYONYpoWJu31HXyWj9H83EP1cV/jCRoH04eknXf/7J/HnSp/zb+dpNE4v1uFayXtTnKvvD2Pu1XuFtJgNM2Vrf5Vlvo+E25s9TFhssPYxKy63U94V25t0LYLFt6GWRxZfjGuz4KwlaRiGOLvH3k7Cr2VOl2stgnqjKDOCOqMoM4I6oygzgjqpz11aoP2vjmB5k6XuobNWX4huMjX9AIAAAAAAACAh4Kbon5yy5hnjaX43/xG3Ng8vtzPLdtnSkFxX+ilnaysy6eeTGV0wmNkZwR1RlBnBHVGUGcEdUZQZwR1RlBnBHVGUGcEdUZQZwT1wxx7T8yxvwU8TgIAAAAAAADwoHBT1A9z7B0xx94Zc+xvCY+RnRHUGUGdEdQZQZ0R1Nk6KOt/+IjNGemnbvNRIWylueSctBtms2jBTrrdg4Wwpa6dWThu17FIcdReyyc9H69r40r5I3LZq2hfLxuuF1TJO5oX7zc9YJAdvKm/uswrzWsRWXM89bgEvs/xmOq9sj4/6sbxl6TRNARVeSWrTQ70uK6L1zr/oh48l1C78/E0/38shBPVP49KLdo/+z+8SbPi8H5KCQAAAABJRU5ErkJggg==\')}}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-small)}.stzh-upload--is-disabled .stzh-upload__clickarea{cursor:not-allowed;background-color:var(--stzh-color-black8)}';window.Dropzone.autoDiscover=false;const f="data-dz-name";const l="data-dz-type";const v="data-dz-size";const c="data-dz-link";const h="data-dz-extension";const d="data-dz-meta-id";const p="data-dz-error-message-id";const y="data-dz-progress-text";const g="data-dz-remove";let m=0;let b=0;const z=class{constructor(t){r(this,t);this.stzhFileAdded=e(this,"stzhFileAdded",7);this.stzhFilesAdded=e(this,"stzhFilesAdded",7);this.stzhFileRemove=e(this,"stzhFileRemove",7);this.stzhFileRemoved=e(this,"stzhFileRemoved",7);this.stzhSending=e(this,"stzhSending",7);this.stzhSendingMultiple=e(this,"stzhSendingMultiple",7);this.stzhProcessing=e(this,"stzhProcessing",7);this.stzhProcessingMultiple=e(this,"stzhProcessingMultiple",7);this.stzhProgress=e(this,"stzhProgress",7);this.stzhProgressTotal=e(this,"stzhProgressTotal",7);this.stzhError=e(this,"stzhError",7);this.stzhErrorMultiple=e(this,"stzhErrorMultiple",7);this.stzhSuccess=e(this,"stzhSuccess",7);this.stzhSuccessMultiple=e(this,"stzhSuccessMultiple",7);this.stzhCanceled=e(this,"stzhCanceled",7);this.stzhCanceledMultiple=e(this,"stzhCanceledMultiple",7);this.stzhComplete=e(this,"stzhComplete",7);this.stzhCompleteMultiple=e(this,"stzhCompleteMultiple",7);this._existingFiles=[];this.filesize=function(r){let e=0;let t="b";if(r>0){let n=["tb","gb","mb","kb","b"];for(let i=0;i<n.length;i++){let a=n[i];let o=Math.pow(this.options.filesizeBase,4-i)/10;if(r>=o){e=r/Math.pow(this.options.filesizeBase,4-i);t=a;break}}e=Math.round(e*100)/100}return`<strong>${e}</strong> ${this.options.dictFileSizeUnits[t]}`};this.filePreviewId=function(r){return`${this.uploadId}-${r._id}`};this.existingFiles=[];this.label="";this.description="";this.button="";this.url="";this.method="post";this.withCredentials=false;this.disabled=false;this.invalid=false;this.downloadDisabled=false;this.downloadDisabledWhileProcessing=false;this.error=undefined;this.acceptedFiles=null;this.autoProcessQueue=true;this.hideProgress=false;this.hideProgressWhileIdle=false;this.maxFiles=null;this.maxFilesize=25;this.parallelUploads=2;this.uploadMultiple=false;this.chunking=false;this.forceChunking=false;this.chunkSize=2*1024*1024;this.parallelChunkUploads=false;this.retryChunks=false;this.retryChunksLimit=3;this.filesizeBase=1024;this.headers=null;this.defaultHeaders=true;this.accept=function(r,e){return e()};this.chunksUploaded=function(r,e){e()};this.hiddenInputContainer=undefined;this.localization=undefined}existingFilesWatcher(r){if(typeof r==="string"){this._existingFiles=JSON.parse(r)}else{this._existingFiles=r}}disabledWatcher(){if(!this.dropzone){return}if(this.disabled){this.dropzone.disable()}else{this.dropzone.enable()}}errorWatcher(r){if(typeof r==="string"){try{this._error=JSON.parse(r)}catch(e){if(r){this._error=[r]}else{this._error=[]}}}else if(r){this._error=r}else{this._error=[]}this.invalid=this._error.length>0}async processQueue(){return this.dropzone.processQueue()}async removeFile(r,e=false){return this.dropzone.removeFile(r,e)}async removeAllFiles(r=false,e=false){return this.dropzone.removeAllFiles(r,e)}async componentWillLoad(){this.uploadId=`stzh-upload-${m++}`;this.existingFilesWatcher(this.existingFiles);this.errorWatcher(this.error);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"upload")}}componentDidRender(){if(this.dropzone){return}const r=this;function e(e){let t=e.url||"";if(e.upload){t=URL.createObjectURL(e)}if(t){for(var n of e.previewElement.querySelectorAll(`[${c}]`)){n.setAttribute("href",t);n.setAttribute("download",e.name);const i=a(n);const o=r.filePreviewId(e);n.setAttribute(i?"analytics-id":"s-object-id",`${r.localization.downloadFile} ${e.name}`);n.setAttribute(i?"a11y-label":"aria-label",`${r.localization.downloadFile} ${e.name}`);n.setAttribute(i?"a11y-describedby":"aria-describedby",`${o}-error-message ${o}-meta`)}}}this.dropzone=new window.Dropzone(this.dropzoneElement,{previewsContainer:this.previewsElement,url:this.url,method:this.method,withCredentials:this.withCredentials,clickable:[this.clickareaElement],acceptedFiles:this.acceptedFiles,accept:this.accept,maxFiles:this.maxFiles,maxFilesize:this.maxFilesize,filesizeBase:this.filesizeBase,parallelUploads:this.parallelUploads,uploadMultiple:this.uploadMultiple,autoProcessQueue:this.autoProcessQueue,headers:this.headers,defaultHeaders:this.defaultHeaders,chunking:this.chunking,chunkSize:this.chunkSize,chunksUploaded:this.chunksUploaded,forceChunking:this.forceChunking,parallelChunkUploads:this.parallelChunkUploads,retryChunks:this.retryChunks,retryChunksLimit:this.retryChunksLimit,createImageThumbnails:false,hiddenInputContainer:this.hiddenInputContainer?this.hiddenInputContainer:this.hiddenInputContainerElement,dictFileSizeUnits:{tb:"TiB",gb:"GiB",mb:"MiB",kb:"KiB",b:"b"},dictRemoveFileConfirmation:null,dictMaxFilesExceeded:this.localization.maxFilesExceeded,dictRemoveFile:this.localization.removeFile,dictDeleteFile:this.localization.deleteFile,dictCancelUploadConfirmation:this.localization.cancelUploadConfirmation,dictUploadCanceled:this.localization.uploadCanceled,dictCancelUpload:this.localization.cancelUpload,dictResponseError:this.localization.responseError,dictInvalidFileType:this.localization.invalidFileType,dictFileTooBig:this.localization.fileTooBig,addedfile(t){t._id=b++;if(this.element===this.previewsContainer){this.element.classList.add("dz-started")}if(this.previewsContainer&&!this.options.disablePreviews){t.previewElement=window.Dropzone.createElement(this.options.previewTemplate.trim());t.previewTemplate=t.previewElement;this.previewsContainer.appendChild(t.previewElement);if(!t.size){t.previewElement.classList.add("dz-empty")}for(var n of t.previewElement.querySelectorAll(`[${f}]`)){n.textContent=t.name}for(n of t.previewElement.querySelectorAll(`[${v}]`)){n.innerHTML=r.filesize.call(this,t.size)}for(n of t.previewElement.querySelectorAll(`[${d}]`)){n.setAttribute("id",`${r.filePreviewId(t)}-meta`)}for(n of t.previewElement.querySelectorAll(`[${p}]`)){n.setAttribute("id",`${r.filePreviewId(t)}-error-message`)}if(this.options.addRemoveLinks){t._removeLink=window.Dropzone.createElement(`<a class="dz-remove" href="javascript:undefined;" ${g}>\n ${this.options.dictRemoveFile}\n </a>`);t.previewElement.appendChild(t._removeLink)}let i=r=>{r.preventDefault();r.stopPropagation();if(t.status===window.Dropzone.UPLOADING){return window.Dropzone.confirm(this.options.dictCancelUploadConfirmation,(()=>this.removeFile(t)))}else{if(this.options.dictRemoveFileConfirmation){return window.Dropzone.confirm(this.options.dictRemoveFileConfirmation,(()=>this.removeFile(t)))}else{return this.removeFile(t)}}};for(let e of t.previewElement.querySelectorAll(`[${g}]`)){e.addEventListener("click",i);const n=a(e);const o=r.filePreviewId(t);e.setAttribute(n?"analytics-id":"s-object-id",`${this.options.dictRemoveFile}`);e.setAttribute(n?"a11y-label":"aria-label",`${this.options.dictRemoveFile} ${t.name}`);e.setAttribute(n?"a11y-describedby":"aria-describedby",`${o}-error-message ${o}-meta`)}if(!r.downloadDisabled&&!r.downloadDisabledWhileProcessing){e(t)}}},complete(t){for(let e of t.previewElement.querySelectorAll(`[${g}]`)){const n=t.status==="error";const i=n?this.options.dictRemoveFile:this.options.dictDeleteFile;const o=a(e);const u=r.filePreviewId(t);e.setAttribute(o?"a11y-label":"aria-label",`${i} ${t.name}`);e.setAttribute(o?"a11y-describedby":"aria-describedby",`${u}-error-message ${u}-meta`)}if(t.status==="error"){r.errorsElement.appendChild(t.previewElement)}else if(!r.downloadDisabled&&r.downloadDisabledWhileProcessing){e(t)}if(t._removeLink){t._removeLink.innerHTML=this.options.dictRemoveFile}if(t.previewElement){return t.previewElement.classList.add("dz-complete")}},removedfile(e){if(e.previewElement!=null&&e.previewElement.parentNode!=null){e.previewElement.parentNode.removeChild(e.previewElement)}r.buttonElement.setFocus();return this._updateMaxFilesReachedClass()},error(e,t,n){if(e.previewElement){e.previewElement.classList.add("dz-error");if(typeof t!=="string"&&t.error){t=t.error}else if(n){if(n.status===401||n.status===403){t=r.localization.accessError}else if(n.status===413){t=r.localization.fileTooBigServer}else if(n.status===415){t=r.localization.invalidFileType}else if(n.status>=500){t=r.localization.serverError}else{const e=r.localization.responseError.replace("{{statusCode}}",n.status);t=e}}for(let r of e.previewElement.querySelectorAll("[data-dz-errormessage]")){r.textContent=t}}},previewTemplate:`\n <div class="stzh-upload__preview">\n <div class="stzh-upload__image">\n <img data-dz-thumbnail />\n </div>\n\n <div class="stzh-upload__details">\n <div class="stzh-upload__info-wrapper">\n <div class="stzh-upload__info-wrapper-processing">\n <div class="stzh-upload__infos">\n <div class="stzh-upload__subtitle">\n <a class="stzh-upload__link" ${f} ${c}></a>\n </div>\n <div class="stzh-upload__progress-text">\n <span ${y}></span>\n </div>\n </div>\n <div class="stzh-upload__meta">\n <span class="stzh-upload__extension" ${h}></span>\n <span class="stzh-upload__size" ${v}></span>\n </div>\n <div class="stzh-upload__progress">\n <span class="stzh-upload__progress-bar" data-dz-uploadprogress></span>\n </div>\n </div>\n <div class="stzh-upload__info-wrapper-complete">\n <div class="stzh-upload__title">\n <a class="stzh-upload__link" ${f} ${c}></a>\n </div>\n <div class="stzh-upload__meta" ${d}>\n <span class="stzh-upload__extension" ${h}></span>\n <span class="stzh-upload__size" ${v}></span>\n </div>\n <div class="stzh-upload__error-message" ${p}>\n <span data-dz-errormessage></span>\n </div>\n </div>\n </div>\n <div class="stzh-upload__actions">\n <stzh-button variant="tertiary" size="tiny" icon-only icon="download" class="stzh-upload__download" ${c}></stzh-button>\n <stzh-button variant="tertiary" size="tiny" icon-only class="stzh-upload__delete" ${g}>\n <stzh-icon slot="icon" class="stzh-upload__delete-icon" name="delete"></stzh-icon>\n <stzh-icon slot="icon" class="stzh-upload__delete-icon-error" name="close"></stzh-icon>\n </stzh-button>\n </div>\n </div>\n </div>\n `});this.disabledWatcher();this.dropzone.on("addedfile",(r=>this.stzhFileAdded.emit({component:"stzh-upload",file:r})));this.dropzone.on("addedfiles",(r=>this.stzhFilesAdded.emit({component:"stzh-upload",files:r})));this.dropzone.on("removefile",(r=>this.stzhFileRemove.emit({component:"stzh-upload",file:r}).defaultPrevented===false));this.dropzone.on("removedfile",((r,e)=>this.stzhFileRemoved.emit({component:"stzh-upload",file:r,force:e})));this.dropzone.on("sending",((r,e,t)=>this.stzhSending.emit({component:"stzh-upload",file:r,xhr:e,formData:t})));this.dropzone.on("sendingmultiple",((r,e,t)=>this.stzhSendingMultiple.emit({component:"stzh-upload",files:r,xhr:e,formData:t})));this.dropzone.on("processing",(r=>this.stzhProcessing.emit({component:"stzh-upload",file:r})));this.dropzone.on("processingmultiple",(r=>this.stzhProcessingMultiple.emit({component:"stzh-upload",files:r})));this.dropzone.on("uploadprogress",((r,e,t)=>this.stzhProgress.emit({component:"stzh-upload",file:r,progress:e,bytesSent:t})));this.dropzone.on("totaluploadprogress",((r,e,t)=>this.stzhProgressTotal.emit({component:"stzh-upload",totalUploadProgress:r,totalBytes:e,totalBytesSent:t})));this.dropzone.on("error",((r,e,t)=>this.stzhError.emit({component:"stzh-upload",file:r,message:e,xhr:t})));this.dropzone.on("errormultiple",((r,e,t)=>this.stzhErrorMultiple.emit({component:"stzh-upload",files:r,message:e,xhr:t})));this.dropzone.on("success",((r,e,t)=>this.stzhSuccess.emit({component:"stzh-upload",file:r,responseText:e,event:t})));this.dropzone.on("successmultiple",((r,e,t)=>this.stzhSuccessMultiple.emit({component:"stzh-upload",files:r,responseText:e,event:t})));this.dropzone.on("canceled",(r=>this.stzhCanceled.emit({component:"stzh-upload",file:r})));this.dropzone.on("canceledmultiple",(r=>this.stzhCanceledMultiple.emit({component:"stzh-upload",files:r})));this.dropzone.on("complete",(r=>this.stzhComplete.emit({component:"stzh-upload",file:r})));this.dropzone.on("completemultiple",(r=>this.stzhCompleteMultiple.emit({component:"stzh-upload",files:r})));this.dropzone.on("addedfile",(r=>{r.previewElement.querySelectorAll(`[${f}]`).forEach((e=>{e.setAttribute("title",r.name)}));r.previewElement.querySelectorAll(`[${l}]`).forEach((e=>{e.innerText=r.type}));r.previewElement.querySelectorAll(`[${h}]`).forEach((e=>{e.innerText=r.name.split(".").pop()}))}));this.dropzone.on("uploadprogress",((r,e)=>{r.previewElement.querySelectorAll(`[${y}]`).forEach((r=>{r.innerText=`${e.toString()}%`}))}));this._existingFiles.forEach((r=>{this.dropzone.displayExistingFile(r,null,null,null,null)}))}disconnectedCallback(){if(this.dropzone){this.dropzone.destroy();this.dropzone=null}}render(){const r=o(this.element,"error")||!!this.error;const e={"stzh-upload":true,"stzh-upload--is-invalid":this.invalid,"stzh-upload--is-disabled":this.disabled,"stzh-upload--has-hidden-progress":this.hideProgress,"stzh-upload--has-hidden-progress-while-idle":this.hideProgressWhileIdle,"stzh-upload--has-error":r,"stzh-upload--has-instructions":!!this.description||!!this.localization.description};return t(n,null,t("div",{class:e,ref:r=>this.dropzoneElement=r},t("div",{ref:r=>this.hiddenInputContainerElement=r}),t("div",{id:`${this.uploadId}-label`},this.label&&t("div",{class:"stzh-upload__label"},this.label)),t("div",{class:"stzh-upload__clickarea",ref:r=>this.clickareaElement=r},t("div",{class:"stzh-upload__instructions",id:`${this.uploadId}-instruction`},this.description?this.description:this.localization.description),t("stzh-button",{size:"small",class:"stzh-upload__button",ref:r=>this.buttonElement=r,a11yDescribedby:`${this.uploadId}-label ${this.uploadId}-instruction ${this.uploadId}-description`,disabled:this.disabled,a11yControls:`${this.uploadId}-previews`},this.button?this.button:this.localization.button)),t(u,{classPrefix:"stzh-upload",id:`${this.uploadId}-description`,error:this._error}),t("div",{id:`${this.uploadId}-previews`},t("div",{class:"stzh-upload__errors",ref:r=>this.errorsElement=r}),t("div",{class:"stzh-upload__previews dropzone-previews",ref:r=>this.previewsElement=r}))))}get element(){return i(this)}static get watchers(){return{existingFiles:["existingFilesWatcher"],disabled:["disabledWatcher"],error:["errorWatcher"]}}};z.style=s;export{z as stzh_upload};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r,c as e,h as t,a as n,g as i}from"./p-c92165bd.js";import{i as a,h as o}from"./p-cfdb06e4.js";import{S as u}from"./p-bac917cc.js";import"./p-9b063923.js";(function r(e,t){if(typeof exports==="object"&&typeof module==="object")module.exports=t();else if(typeof define==="function"&&define.amd)define([],t);else{var n=t();for(var i in n)(typeof exports==="object"?exports:e)[i]=n[i]}})(self,(function(){return function(){var r={3099:function(r){r.exports=function(r){if(typeof r!="function"){throw TypeError(String(r)+" is not a function")}return r}},6077:function(r,e,t){var n=t(111);r.exports=function(r){if(!n(r)&&r!==null){throw TypeError("Can't set "+String(r)+" as a prototype")}return r}},1223:function(r,e,t){var n=t(5112);var i=t(30);var a=t(3070);var o=n("unscopables");var u=Array.prototype;if(u[o]==undefined){a.f(u,o,{configurable:true,value:i(null)})}r.exports=function(r){u[o][r]=true}},1530:function(r,e,t){var n=t(8710).charAt;r.exports=function(r,e,t){return e+(t?n(r,e).length:1)}},5787:function(r){r.exports=function(r,e,t){if(!(r instanceof e)){throw TypeError("Incorrect "+(t?t+" ":"")+"invocation")}return r}},9670:function(r,e,t){var n=t(111);r.exports=function(r){if(!n(r)){throw TypeError(String(r)+" is not an object")}return r}},4019:function(r){r.exports=typeof ArrayBuffer!=="undefined"&&typeof DataView!=="undefined"},260:function(r,e,t){var n=t(4019);var i=t(9781);var a=t(7854);var o=t(111);var u=t(6656);var s=t(648);var f=t(8880);var l=t(1320);var v=t(3070).f;var c=t(9518);var h=t(7674);var d=t(5112);var p=t(9711);var y=a.Int8Array;var g=y&&y.prototype;var m=a.Uint8ClampedArray;var b=m&&m.prototype;var z=y&&c(y);var w=g&&c(g);var x=Object.prototype;var A=x.isPrototypeOf;var _=d("toStringTag");var k=p("TYPED_ARRAY_TAG");var S=n&&!!h&&s(a.opera)!=="Opera";var E=false;var F;var R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8};var C={BigInt64Array:8,BigUint64Array:8};var T=function r(e){if(!o(e))return false;var t=s(e);return t==="DataView"||u(R,t)||u(C,t)};var j=function(r){if(!o(r))return false;var e=s(r);return u(R,e)||u(C,e)};var M=function(r){if(j(r))return r;throw TypeError("Target is not a typed array")};var U=function(r){if(h){if(A.call(z,r))return r}else for(var e in R)if(u(R,F)){var t=a[e];if(t&&(r===t||A.call(t,r))){return r}}throw TypeError("Target is not a typed array constructor")};var O=function(r,e,t){if(!i)return;if(t)for(var n in R){var o=a[n];if(o&&u(o.prototype,r)){delete o.prototype[r]}}if(!w[r]||t){l(w,r,t?e:S&&g[r]||e)}};var I=function(r,e,t){var n,o;if(!i)return;if(h){if(t)for(n in R){o=a[n];if(o&&u(o,r)){delete o[r]}}if(!z[r]||t){try{return l(z,r,t?e:S&&y[r]||e)}catch(r){}}else return}for(n in R){o=a[n];if(o&&(!o[r]||t)){l(o,r,e)}}};for(F in R){if(!a[F])S=false}if(!S||typeof z!="function"||z===Function.prototype){z=function r(){throw TypeError("Incorrect invocation")};if(S)for(F in R){if(a[F])h(a[F],z)}}if(!S||!w||w===x){w=z.prototype;if(S)for(F in R){if(a[F])h(a[F].prototype,w)}}if(S&&c(b)!==w){h(b,w)}if(i&&!u(w,_)){E=true;v(w,_,{get:function(){return o(this)?this[k]:undefined}});for(F in R)if(a[F]){f(a[F],k,F)}}r.exports={NATIVE_ARRAY_BUFFER_VIEWS:S,TYPED_ARRAY_TAG:E&&k,aTypedArray:M,aTypedArrayConstructor:U,exportTypedArrayMethod:O,exportTypedArrayStaticMethod:I,isView:T,isTypedArray:j,TypedArray:z,TypedArrayPrototype:w}},3331:function(r,e,t){var n=t(7854);var i=t(9781);var a=t(4019);var o=t(8880);var u=t(2248);var s=t(7293);var f=t(5787);var l=t(9958);var v=t(7466);var c=t(7067);var h=t(1179);var d=t(9518);var p=t(7674);var y=t(8006).f;var g=t(3070).f;var m=t(1285);var b=t(8003);var z=t(9909);var w=z.get;var x=z.set;var A="ArrayBuffer";var _="DataView";var k="prototype";var S="Wrong length";var E="Wrong index";var F=n[A];var R=F;var C=n[_];var T=C&&C[k];var j=Object.prototype;var M=n.RangeError;var U=h.pack;var O=h.unpack;var I=function(r){return[r&255]};var L=function(r){return[r&255,r>>8&255]};var B=function(r){return[r&255,r>>8&255,r>>16&255,r>>24&255]};var P=function(r){return r[3]<<24|r[2]<<16|r[1]<<8|r[0]};var $=function(r){return U(r,23,4)};var D=function(r){return U(r,52,8)};var N=function(r,e){g(r[k],e,{get:function(){return w(this)[e]}})};var Q=function(r,e,t,n){var i=c(t);var a=w(r);if(i+e>a.byteLength)throw M(E);var o=w(a.buffer).bytes;var u=i+a.byteOffset;var s=o.slice(u,u+e);return n?s:s.reverse()};var q=function(r,e,t,n,i,a){var o=c(t);var u=w(r);if(o+e>u.byteLength)throw M(E);var s=w(u.buffer).bytes;var f=o+u.byteOffset;var l=n(+i);for(var v=0;v<e;v++)s[f+v]=l[a?v:e-v-1]};if(!a){R=function r(e){f(this,R,A);var t=c(e);x(this,{bytes:m.call(new Array(t),0),byteLength:t});if(!i)this.byteLength=t};C=function r(e,t,n){f(this,C,_);f(e,R,_);var a=w(e).byteLength;var o=l(t);if(o<0||o>a)throw M("Wrong offset");n=n===undefined?a-o:v(n);if(o+n>a)throw M(S);x(this,{buffer:e,byteLength:n,byteOffset:o});if(!i){this.buffer=e;this.byteLength=n;this.byteOffset=o}};if(i){N(R,"byteLength");N(C,"buffer");N(C,"byteLength");N(C,"byteOffset")}u(C[k],{getInt8:function r(e){return Q(this,1,e)[0]<<24>>24},getUint8:function r(e){return Q(this,1,e)[0]},getInt16:function r(e){var t=Q(this,2,e,arguments.length>1?arguments[1]:undefined);return(t[1]<<8|t[0])<<16>>16},getUint16:function r(e){var t=Q(this,2,e,arguments.length>1?arguments[1]:undefined);return t[1]<<8|t[0]},getInt32:function r(e){return P(Q(this,4,e,arguments.length>1?arguments[1]:undefined))},getUint32:function r(e){return P(Q(this,4,e,arguments.length>1?arguments[1]:undefined))>>>0},getFloat32:function r(e){return O(Q(this,4,e,arguments.length>1?arguments[1]:undefined),23)},getFloat64:function r(e){return O(Q(this,8,e,arguments.length>1?arguments[1]:undefined),52)},setInt8:function r(e,t){q(this,1,e,I,t)},setUint8:function r(e,t){q(this,1,e,I,t)},setInt16:function r(e,t){q(this,2,e,L,t,arguments.length>2?arguments[2]:undefined)},setUint16:function r(e,t){q(this,2,e,L,t,arguments.length>2?arguments[2]:undefined)},setInt32:function r(e,t){q(this,4,e,B,t,arguments.length>2?arguments[2]:undefined)},setUint32:function r(e,t){q(this,4,e,B,t,arguments.length>2?arguments[2]:undefined)},setFloat32:function r(e,t){q(this,4,e,$,t,arguments.length>2?arguments[2]:undefined)},setFloat64:function r(e,t){q(this,8,e,D,t,arguments.length>2?arguments[2]:undefined)}})}else{if(!s((function(){F(1)}))||!s((function(){new F(-1)}))||s((function(){new F;new F(1.5);new F(NaN);return F.name!=A}))){R=function r(e){f(this,R);return new F(c(e))};var Y=R[k]=F[k];for(var W=y(F),G=0,V;W.length>G;){if(!((V=W[G++])in R)){o(R,V,F[V])}}Y.constructor=R}if(p&&d(T)!==j){p(T,j)}var X=new C(new R(2));var H=T.setInt8;X.setInt8(0,2147483648);X.setInt8(1,2147483649);if(X.getInt8(0)||!X.getInt8(1))u(T,{setInt8:function r(e,t){H.call(this,e,t<<24>>24)},setUint8:function r(e,t){H.call(this,e,t<<24>>24)}},{unsafe:true})}b(R,A);b(C,_);r.exports={ArrayBuffer:R,DataView:C}},1048:function(r,e,t){var n=t(7908);var i=t(1400);var a=t(7466);var o=Math.min;r.exports=[].copyWithin||function r(e,t){var u=n(this);var s=a(u.length);var f=i(e,s);var l=i(t,s);var v=arguments.length>2?arguments[2]:undefined;var c=o((v===undefined?s:i(v,s))-l,s-f);var h=1;if(l<f&&f<l+c){h=-1;l+=c-1;f+=c-1}while(c-- >0){if(l in u)u[f]=u[l];else delete u[f];f+=h;l+=h}return u}},1285:function(r,e,t){var n=t(7908);var i=t(1400);var a=t(7466);r.exports=function r(e){var t=n(this);var o=a(t.length);var u=arguments.length;var s=i(u>1?arguments[1]:undefined,o);var f=u>2?arguments[2]:undefined;var l=f===undefined?o:i(f,o);while(l>s)t[s++]=e;return t}},8533:function(r,e,t){var n=t(2092).forEach;var i=t(9341);var a=i("forEach");r.exports=!a?function r(e){return n(this,e,arguments.length>1?arguments[1]:undefined)}:[].forEach},8457:function(r,e,t){var n=t(9974);var i=t(7908);var a=t(3411);var o=t(7659);var u=t(7466);var s=t(6135);var f=t(1246);r.exports=function r(e){var t=i(e);var l=typeof this=="function"?this:Array;var v=arguments.length;var c=v>1?arguments[1]:undefined;var h=c!==undefined;var d=f(t);var p=0;var y,g,m,b,z,w;if(h)c=n(c,v>2?arguments[2]:undefined,2);if(d!=undefined&&!(l==Array&&o(d))){b=d.call(t);z=b.next;g=new l;for(;!(m=z.call(b)).done;p++){w=h?a(b,c,[m.value,p],true):m.value;s(g,p,w)}}else{y=u(t.length);g=new l(y);for(;y>p;p++){w=h?c(t[p],p):t[p];s(g,p,w)}}g.length=p;return g}},1318:function(r,e,t){var n=t(5656);var i=t(7466);var a=t(1400);var o=function(r){return function(e,t,o){var u=n(e);var s=i(u.length);var f=a(o,s);var l;if(r&&t!=t)while(s>f){l=u[f++];if(l!=l)return true}else for(;s>f;f++){if((r||f in u)&&u[f]===t)return r||f||0}return!r&&-1}};r.exports={includes:o(true),indexOf:o(false)}},2092:function(r,e,t){var n=t(9974);var i=t(8361);var a=t(7908);var o=t(7466);var u=t(5417);var s=[].push;var f=function(r){var e=r==1;var t=r==2;var f=r==3;var l=r==4;var v=r==6;var c=r==7;var h=r==5||v;return function(d,p,y,g){var m=a(d);var b=i(m);var z=n(p,y,3);var w=o(b.length);var x=0;var A=g||u;var _=e?A(d,w):t||c?A(d,0):undefined;var k,S;for(;w>x;x++)if(h||x in b){k=b[x];S=z(k,x,m);if(r){if(e)_[x]=S;else if(S)switch(r){case 3:return true;case 5:return k;case 6:return x;case 2:s.call(_,k)}else switch(r){case 4:return false;case 7:s.call(_,k)}}}return v?-1:f||l?l:_}};r.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterOut:f(7)}},6583:function(r,e,t){var n=t(5656);var i=t(9958);var a=t(7466);var o=t(9341);var u=Math.min;var s=[].lastIndexOf;var f=!!s&&1/[1].lastIndexOf(1,-0)<0;var l=o("lastIndexOf");var v=f||!l;r.exports=v?function r(e){if(f)return s.apply(this,arguments)||0;var t=n(this);var o=a(t.length);var l=o-1;if(arguments.length>1)l=u(l,i(arguments[1]));if(l<0)l=o+l;for(;l>=0;l--)if(l in t&&t[l]===e)return l||0;return-1}:s},1194:function(r,e,t){var n=t(7293);var i=t(5112);var a=t(7392);var o=i("species");r.exports=function(r){return a>=51||!n((function(){var e=[];var t=e.constructor={};t[o]=function(){return{foo:1}};return e[r](Boolean).foo!==1}))}},9341:function(r,e,t){var n=t(7293);r.exports=function(r,e){var t=[][r];return!!t&&n((function(){t.call(null,e||function(){throw 1},1)}))}},3671:function(r,e,t){var n=t(3099);var i=t(7908);var a=t(8361);var o=t(7466);var u=function(r){return function(e,t,u,s){n(t);var f=i(e);var l=a(f);var v=o(f.length);var c=r?v-1:0;var h=r?-1:1;if(u<2)while(true){if(c in l){s=l[c];c+=h;break}c+=h;if(r?c<0:v<=c){throw TypeError("Reduce of empty array with no initial value")}}for(;r?c>=0:v>c;c+=h)if(c in l){s=t(s,l[c],c,f)}return s}};r.exports={left:u(false),right:u(true)}},5417:function(r,e,t){var n=t(111);var i=t(3157);var a=t(5112);var o=a("species");r.exports=function(r,e){var t;if(i(r)){t=r.constructor;if(typeof t=="function"&&(t===Array||i(t.prototype)))t=undefined;else if(n(t)){t=t[o];if(t===null)t=undefined}}return new(t===undefined?Array:t)(e===0?0:e)}},3411:function(r,e,t){var n=t(9670);var i=t(9212);r.exports=function(r,e,t,a){try{return a?e(n(t)[0],t[1]):e(t)}catch(e){i(r);throw e}}},7072:function(r,e,t){var n=t(5112);var i=n("iterator");var a=false;try{var o=0;var u={next:function(){return{done:!!o++}},return:function(){a=true}};u[i]=function(){return this};Array.from(u,(function(){throw 2}))}catch(r){}r.exports=function(r,e){if(!e&&!a)return false;var t=false;try{var n={};n[i]=function(){return{next:function(){return{done:t=true}}}};r(n)}catch(r){}return t}},4326:function(r){var e={}.toString;r.exports=function(r){return e.call(r).slice(8,-1)}},648:function(r,e,t){var n=t(1694);var i=t(4326);var a=t(5112);var o=a("toStringTag");var u=i(function(){return arguments}())=="Arguments";var s=function(r,e){try{return r[e]}catch(r){}};r.exports=n?i:function(r){var e,t,n;return r===undefined?"Undefined":r===null?"Null":typeof(t=s(e=Object(r),o))=="string"?t:u?i(e):(n=i(e))=="Object"&&typeof e.callee=="function"?"Arguments":n}},9920:function(r,e,t){var n=t(6656);var i=t(3887);var a=t(1236);var o=t(3070);r.exports=function(r,e){var t=i(e);var u=o.f;var s=a.f;for(var f=0;f<t.length;f++){var l=t[f];if(!n(r,l))u(r,l,s(e,l))}}},8544:function(r,e,t){var n=t(7293);r.exports=!n((function(){function r(){}r.prototype.constructor=null;return Object.getPrototypeOf(new r)!==r.prototype}))},4994:function(r,e,t){var n=t(3383).IteratorPrototype;var i=t(30);var a=t(9114);var o=t(8003);var u=t(7497);var s=function(){return this};r.exports=function(r,e,t){var f=e+" Iterator";r.prototype=i(n,{next:a(1,t)});o(r,f,false,true);u[f]=s;return r}},8880:function(r,e,t){var n=t(9781);var i=t(3070);var a=t(9114);r.exports=n?function(r,e,t){return i.f(r,e,a(1,t))}:function(r,e,t){r[e]=t;return r}},9114:function(r){r.exports=function(r,e){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:e}}},6135:function(r,e,t){var n=t(7593);var i=t(3070);var a=t(9114);r.exports=function(r,e,t){var o=n(e);if(o in r)i.f(r,o,a(0,t));else r[o]=t}},654:function(r,e,t){var n=t(2109);var i=t(4994);var a=t(9518);var o=t(7674);var u=t(8003);var s=t(8880);var f=t(1320);var l=t(5112);var v=t(1913);var c=t(7497);var h=t(3383);var d=h.IteratorPrototype;var p=h.BUGGY_SAFARI_ITERATORS;var y=l("iterator");var g="keys";var m="values";var b="entries";var z=function(){return this};r.exports=function(r,e,t,l,h,w,x){i(t,e,l);var A=function(r){if(r===h&&F)return F;if(!p&&r in S)return S[r];switch(r){case g:return function e(){return new t(this,r)};case m:return function e(){return new t(this,r)};case b:return function e(){return new t(this,r)}}return function(){return new t(this)}};var _=e+" Iterator";var k=false;var S=r.prototype;var E=S[y]||S["@@iterator"]||h&&S[h];var F=!p&&E||A(h);var R=e=="Array"?S.entries||E:E;var C,T,j;if(R){C=a(R.call(new r));if(d!==Object.prototype&&C.next){if(!v&&a(C)!==d){if(o){o(C,d)}else if(typeof C[y]!="function"){s(C,y,z)}}u(C,_,true,true);if(v)c[_]=z}}if(h==m&&E&&E.name!==m){k=true;F=function r(){return E.call(this)}}if((!v||x)&&S[y]!==F){s(S,y,F)}c[e]=F;if(h){T={values:A(m),keys:w?F:A(g),entries:A(b)};if(x)for(j in T){if(p||k||!(j in S)){f(S,j,T[j])}}else n({target:e,proto:true,forced:p||k},T)}return T}},9781:function(r,e,t){var n=t(7293);r.exports=!n((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}))},317:function(r,e,t){var n=t(7854);var i=t(111);var a=n.document;var o=i(a)&&i(a.createElement);r.exports=function(r){return o?a.createElement(r):{}}},8324:function(r){r.exports={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}},8113:function(r,e,t){var n=t(5005);r.exports=n("navigator","userAgent")||""},7392:function(r,e,t){var n=t(7854);var i=t(8113);var a=n.process;var o=a&&a.versions;var u=o&&o.v8;var s,f;if(u){s=u.split(".");f=s[0]+s[1]}else if(i){s=i.match(/Edge\/(\d+)/);if(!s||s[1]>=74){s=i.match(/Chrome\/(\d+)/);if(s)f=s[1]}}r.exports=f&&+f},748:function(r){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(r,e,t){var n=t(7854);var i=t(1236).f;var a=t(8880);var o=t(1320);var u=t(3505);var s=t(9920);var f=t(4705);r.exports=function(r,e){var t=r.target;var l=r.global;var v=r.stat;var c,h,d,p,y,g;if(l){h=n}else if(v){h=n[t]||u(t,{})}else{h=(n[t]||{}).prototype}if(h)for(d in e){y=e[d];if(r.noTargetGet){g=i(h,d);p=g&&g.value}else p=h[d];c=f(l?d:t+(v?".":"#")+d,r.forced);if(!c&&p!==undefined){if(typeof y===typeof p)continue;s(y,p)}if(r.sham||p&&p.sham){a(y,"sham",true)}o(h,d,y,r)}}},7293:function(r){r.exports=function(r){try{return!!r()}catch(r){return true}}},7007:function(r,e,t){t(4916);var n=t(1320);var i=t(7293);var a=t(5112);var o=t(2261);var u=t(8880);var s=a("species");var f=!i((function(){var r=/./;r.exec=function(){var r=[];r.groups={a:"7"};return r};return"".replace(r,"$<a>")!=="7"}));var l=function(){return"a".replace(/./,"$0")==="$0"}();var v=a("replace");var c=function(){if(/./[v]){return/./[v]("a","$0")===""}return false}();var h=!i((function(){var r=/(?:)/;var e=r.exec;r.exec=function(){return e.apply(this,arguments)};var t="ab".split(r);return t.length!==2||t[0]!=="a"||t[1]!=="b"}));r.exports=function(r,e,t,v){var d=a(r);var p=!i((function(){var e={};e[d]=function(){return 7};return""[r](e)!=7}));var y=p&&!i((function(){var e=false;var t=/a/;if(r==="split"){t={};t.constructor={};t.constructor[s]=function(){return t};t.flags="";t[d]=/./[d]}t.exec=function(){e=true;return null};t[d]("");return!e}));if(!p||!y||r==="replace"&&!(f&&l&&!c)||r==="split"&&!h){var g=/./[d];var m=t(d,""[r],(function(r,e,t,n,i){if(e.exec===o){if(p&&!i){return{done:true,value:g.call(e,t,n)}}return{done:true,value:r.call(t,e,n)}}return{done:false}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:c});var b=m[0];var z=m[1];n(String.prototype,r,b);n(RegExp.prototype,d,e==2?function(r,e){return z.call(r,this,e)}:function(r){return z.call(r,this)})}if(v)u(RegExp.prototype[d],"sham",true)}},9974:function(r,e,t){var n=t(3099);r.exports=function(r,e,t){n(r);if(e===undefined)return r;switch(t){case 0:return function(){return r.call(e)};case 1:return function(t){return r.call(e,t)};case 2:return function(t,n){return r.call(e,t,n)};case 3:return function(t,n,i){return r.call(e,t,n,i)}}return function(){return r.apply(e,arguments)}}},5005:function(r,e,t){var n=t(857);var i=t(7854);var a=function(r){return typeof r=="function"?r:undefined};r.exports=function(r,e){return arguments.length<2?a(n[r])||a(i[r]):n[r]&&n[r][e]||i[r]&&i[r][e]}},1246:function(r,e,t){var n=t(648);var i=t(7497);var a=t(5112);var o=a("iterator");r.exports=function(r){if(r!=undefined)return r[o]||r["@@iterator"]||i[n(r)]}},8554:function(r,e,t){var n=t(9670);var i=t(1246);r.exports=function(r){var e=i(r);if(typeof e!="function"){throw TypeError(String(r)+" is not iterable")}return n(e.call(r))}},647:function(r,e,t){var n=t(7908);var i=Math.floor;var a="".replace;var o=/\$([$&'`]|\d\d?|<[^>]*>)/g;var u=/\$([$&'`]|\d\d?)/g;r.exports=function(r,e,t,s,f,l){var v=t+r.length;var c=s.length;var h=u;if(f!==undefined){f=n(f);h=o}return a.call(l,h,(function(n,a){var o;switch(a.charAt(0)){case"$":return"$";case"&":return r;case"`":return e.slice(0,t);case"'":return e.slice(v);case"<":o=f[a.slice(1,-1)];break;default:var u=+a;if(u===0)return n;if(u>c){var l=i(u/10);if(l===0)return n;if(l<=c)return s[l-1]===undefined?a.charAt(1):s[l-1]+a.charAt(1);return n}o=s[u-1]}return o===undefined?"":o}))}},7854:function(r,e,t){var n=function(r){return r&&r.Math==Math&&r};r.exports=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof t.g=="object"&&t.g)||function(){return this}()||Function("return this")()},6656:function(r){var e={}.hasOwnProperty;r.exports=function(r,t){return e.call(r,t)}},3501:function(r){r.exports={}},490:function(r,e,t){var n=t(5005);r.exports=n("document","documentElement")},4664:function(r,e,t){var n=t(9781);var i=t(7293);var a=t(317);r.exports=!n&&!i((function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7}))},1179:function(r){var e=Math.abs;var t=Math.pow;var n=Math.floor;var i=Math.log;var a=Math.LN2;var o=function(r,o,u){var s=new Array(u);var f=u*8-o-1;var l=(1<<f)-1;var v=l>>1;var c=o===23?t(2,-24)-t(2,-77):0;var h=r<0||r===0&&1/r<0?1:0;var d=0;var p,y,g;r=e(r);if(r!=r||r===Infinity){y=r!=r?1:0;p=l}else{p=n(i(r)/a);if(r*(g=t(2,-p))<1){p--;g*=2}if(p+v>=1){r+=c/g}else{r+=c*t(2,1-v)}if(r*g>=2){p++;g/=2}if(p+v>=l){y=0;p=l}else if(p+v>=1){y=(r*g-1)*t(2,o);p=p+v}else{y=r*t(2,v-1)*t(2,o);p=0}}for(;o>=8;s[d++]=y&255,y/=256,o-=8);p=p<<o|y;f+=o;for(;f>0;s[d++]=p&255,p/=256,f-=8);s[--d]|=h*128;return s};var u=function(r,e){var n=r.length;var i=n*8-e-1;var a=(1<<i)-1;var o=a>>1;var u=i-7;var s=n-1;var f=r[s--];var l=f&127;var v;f>>=7;for(;u>0;l=l*256+r[s],s--,u-=8);v=l&(1<<-u)-1;l>>=-u;u+=e;for(;u>0;v=v*256+r[s],s--,u-=8);if(l===0){l=1-o}else if(l===a){return v?NaN:f?-Infinity:Infinity}else{v=v+t(2,e);l=l-o}return(f?-1:1)*v*t(2,l-e)};r.exports={pack:o,unpack:u}},8361:function(r,e,t){var n=t(7293);var i=t(4326);var a="".split;r.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(r){return i(r)=="String"?a.call(r,""):Object(r)}:Object},9587:function(r,e,t){var n=t(111);var i=t(7674);r.exports=function(r,e,t){var a,o;if(i&&typeof(a=e.constructor)=="function"&&a!==t&&n(o=a.prototype)&&o!==t.prototype)i(r,o);return r}},2788:function(r,e,t){var n=t(5465);var i=Function.toString;if(typeof n.inspectSource!="function"){n.inspectSource=function(r){return i.call(r)}}r.exports=n.inspectSource},9909:function(r,e,t){var n=t(8536);var i=t(7854);var a=t(111);var o=t(8880);var u=t(6656);var s=t(5465);var f=t(6200);var l=t(3501);var v=i.WeakMap;var c,h,d;var p=function(r){return d(r)?h(r):c(r,{})};var y=function(r){return function(e){var t;if(!a(e)||(t=h(e)).type!==r){throw TypeError("Incompatible receiver, "+r+" required")}return t}};if(n){var g=s.state||(s.state=new v);var m=g.get;var b=g.has;var z=g.set;c=function(r,e){e.facade=r;z.call(g,r,e);return e};h=function(r){return m.call(g,r)||{}};d=function(r){return b.call(g,r)}}else{var w=f("state");l[w]=true;c=function(r,e){e.facade=r;o(r,w,e);return e};h=function(r){return u(r,w)?r[w]:{}};d=function(r){return u(r,w)}}r.exports={set:c,get:h,has:d,enforce:p,getterFor:y}},7659:function(r,e,t){var n=t(5112);var i=t(7497);var a=n("iterator");var o=Array.prototype;r.exports=function(r){return r!==undefined&&(i.Array===r||o[a]===r)}},3157:function(r,e,t){var n=t(4326);r.exports=Array.isArray||function r(e){return n(e)=="Array"}},4705:function(r,e,t){var n=t(7293);var i=/#|\.prototype\./;var a=function(r,e){var t=u[o(r)];return t==f?true:t==s?false:typeof e=="function"?n(e):!!e};var o=a.normalize=function(r){return String(r).replace(i,".").toLowerCase()};var u=a.data={};var s=a.NATIVE="N";var f=a.POLYFILL="P";r.exports=a},111:function(r){r.exports=function(r){return typeof r==="object"?r!==null:typeof r==="function"}},1913:function(r){r.exports=false},7850:function(r,e,t){var n=t(111);var i=t(4326);var a=t(5112);var o=a("match");r.exports=function(r){var e;return n(r)&&((e=r[o])!==undefined?!!e:i(r)=="RegExp")}},9212:function(r,e,t){var n=t(9670);r.exports=function(r){var e=r["return"];if(e!==undefined){return n(e.call(r)).value}}},3383:function(r,e,t){var n=t(7293);var i=t(9518);var a=t(8880);var o=t(6656);var u=t(5112);var s=t(1913);var f=u("iterator");var l=false;var v=function(){return this};var c,h,d;if([].keys){d=[].keys();if(!("next"in d))l=true;else{h=i(i(d));if(h!==Object.prototype)c=h}}var p=c==undefined||n((function(){var r={};return c[f].call(r)!==r}));if(p)c={};if((!s||p)&&!o(c,f)){a(c,f,v)}r.exports={IteratorPrototype:c,BUGGY_SAFARI_ITERATORS:l}},7497:function(r){r.exports={}},133:function(r,e,t){var n=t(7293);r.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},590:function(r,e,t){var n=t(7293);var i=t(5112);var a=t(1913);var o=i("iterator");r.exports=!n((function(){var r=new URL("b?a=1&b=2&c=3","http://a");var e=r.searchParams;var t="";r.pathname="c%20d";e.forEach((function(r,n){e["delete"]("b");t+=n+r}));return a&&!r.toJSON||!e.sort||r.href!=="http://a/c%20d?a=1&c=3"||e.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!e[o]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://тест").host!=="xn--e1aybc"||new URL("http://a#б").hash!=="#%D0%B1"||t!=="a1c3"||new URL("http://x",undefined).host!=="x"}))},8536:function(r,e,t){var n=t(7854);var i=t(2788);var a=n.WeakMap;r.exports=typeof a==="function"&&/native code/.test(i(a))},1574:function(r,e,t){var n=t(9781);var i=t(7293);var a=t(1956);var o=t(5181);var u=t(5296);var s=t(7908);var f=t(8361);var l=Object.assign;var v=Object.defineProperty;r.exports=!l||i((function(){if(n&&l({b:1},l(v({},"a",{enumerable:true,get:function(){v(this,"b",{value:3,enumerable:false})}}),{b:2})).b!==1)return true;var r={};var e={};var t=Symbol();var i="abcdefghijklmnopqrst";r[t]=7;i.split("").forEach((function(r){e[r]=r}));return l({},r)[t]!=7||a(l({},e)).join("")!=i}))?function r(e,t){var i=s(e);var l=arguments.length;var v=1;var c=o.f;var h=u.f;while(l>v){var d=f(arguments[v++]);var p=c?a(d).concat(c(d)):a(d);var y=p.length;var g=0;var m;while(y>g){m=p[g++];if(!n||h.call(d,m))i[m]=d[m]}}return i}:l},30:function(r,e,t){var n=t(9670);var i=t(6048);var a=t(748);var o=t(3501);var u=t(490);var s=t(317);var f=t(6200);var l=">";var v="<";var c="prototype";var h="script";var d=f("IE_PROTO");var p=function(){};var y=function(r){return v+h+l+r+v+"/"+h+l};var g=function(r){r.write(y(""));r.close();var e=r.parentWindow.Object;r=null;return e};var m=function(){var r=s("iframe");var e="java"+h+":";var t;r.style.display="none";u.appendChild(r);r.src=String(e);t=r.contentWindow.document;t.open();t.write(y("document.F=Object"));t.close();return t.F};var b;var z=function(){try{b=document.domain&&new ActiveXObject("htmlfile")}catch(r){}z=b?g(b):m();var r=a.length;while(r--)delete z[c][a[r]];return z()};o[d]=true;r.exports=Object.create||function r(e,t){var a;if(e!==null){p[c]=n(e);a=new p;p[c]=null;a[d]=e}else a=z();return t===undefined?a:i(a,t)}},6048:function(r,e,t){var n=t(9781);var i=t(3070);var a=t(9670);var o=t(1956);r.exports=n?Object.defineProperties:function r(e,t){a(e);var n=o(t);var u=n.length;var s=0;var f;while(u>s)i.f(e,f=n[s++],t[f]);return e}},3070:function(r,e,t){var n=t(9781);var i=t(4664);var a=t(9670);var o=t(7593);var u=Object.defineProperty;e.f=n?u:function r(e,t,n){a(e);t=o(t,true);a(n);if(i)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");if("value"in n)e[t]=n.value;return e}},1236:function(r,e,t){var n=t(9781);var i=t(5296);var a=t(9114);var o=t(5656);var u=t(7593);var s=t(6656);var f=t(4664);var l=Object.getOwnPropertyDescriptor;e.f=n?l:function r(e,t){e=o(e);t=u(t,true);if(f)try{return l(e,t)}catch(r){}if(s(e,t))return a(!i.f.call(e,t),e[t])}},8006:function(r,e,t){var n=t(6324);var i=t(748);var a=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function r(e){return n(e,a)}},5181:function(r,e){e.f=Object.getOwnPropertySymbols},9518:function(r,e,t){var n=t(6656);var i=t(7908);var a=t(6200);var o=t(8544);var u=a("IE_PROTO");var s=Object.prototype;r.exports=o?Object.getPrototypeOf:function(r){r=i(r);if(n(r,u))return r[u];if(typeof r.constructor=="function"&&r instanceof r.constructor){return r.constructor.prototype}return r instanceof Object?s:null}},6324:function(r,e,t){var n=t(6656);var i=t(5656);var a=t(1318).indexOf;var o=t(3501);r.exports=function(r,e){var t=i(r);var u=0;var s=[];var f;for(f in t)!n(o,f)&&n(t,f)&&s.push(f);while(e.length>u)if(n(t,f=e[u++])){~a(s,f)||s.push(f)}return s}},1956:function(r,e,t){var n=t(6324);var i=t(748);r.exports=Object.keys||function r(e){return n(e,i)}},5296:function(r,e){var t={}.propertyIsEnumerable;var n=Object.getOwnPropertyDescriptor;var i=n&&!t.call({1:2},1);e.f=i?function r(e){var t=n(this,e);return!!t&&t.enumerable}:t},7674:function(r,e,t){var n=t(9670);var i=t(6077);r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r=false;var e={};var t;try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set;t.call(e,[]);r=e instanceof Array}catch(r){}return function e(a,o){n(a);i(o);if(r)t.call(a,o);else a.__proto__=o;return a}}():undefined)},288:function(r,e,t){var n=t(1694);var i=t(648);r.exports=n?{}.toString:function r(){return"[object "+i(this)+"]"}},3887:function(r,e,t){var n=t(5005);var i=t(8006);var a=t(5181);var o=t(9670);r.exports=n("Reflect","ownKeys")||function r(e){var t=i.f(o(e));var n=a.f;return n?t.concat(n(e)):t}},857:function(r,e,t){var n=t(7854);r.exports=n},2248:function(r,e,t){var n=t(1320);r.exports=function(r,e,t){for(var i in e)n(r,i,e[i],t);return r}},1320:function(r,e,t){var n=t(7854);var i=t(8880);var a=t(6656);var o=t(3505);var u=t(2788);var s=t(9909);var f=s.get;var l=s.enforce;var v=String(String).split("String");(r.exports=function(r,e,t,u){var s=u?!!u.unsafe:false;var f=u?!!u.enumerable:false;var c=u?!!u.noTargetGet:false;var h;if(typeof t=="function"){if(typeof e=="string"&&!a(t,"name")){i(t,"name",e)}h=l(t);if(!h.source){h.source=v.join(typeof e=="string"?e:"")}}if(r===n){if(f)r[e]=t;else o(e,t);return}else if(!s){delete r[e]}else if(!c&&r[e]){f=true}if(f)r[e]=t;else i(r,e,t)})(Function.prototype,"toString",(function r(){return typeof this=="function"&&f(this).source||u(this)}))},7651:function(r,e,t){var n=t(4326);var i=t(2261);r.exports=function(r,e){var t=r.exec;if(typeof t==="function"){var a=t.call(r,e);if(typeof a!=="object"){throw TypeError("RegExp exec method returned something other than an Object or null")}return a}if(n(r)!=="RegExp"){throw TypeError("RegExp#exec called on incompatible receiver")}return i.call(r,e)}},2261:function(r,e,t){var n=t(7066);var i=t(2999);var a=RegExp.prototype.exec;var o=String.prototype.replace;var u=a;var s=function(){var r=/a/;var e=/b*/g;a.call(r,"a");a.call(e,"a");return r.lastIndex!==0||e.lastIndex!==0}();var f=i.UNSUPPORTED_Y||i.BROKEN_CARET;var l=/()??/.exec("")[1]!==undefined;var v=s||l||f;if(v){u=function r(e){var t=this;var i,u,v,c;var h=f&&t.sticky;var d=n.call(t);var p=t.source;var y=0;var g=e;if(h){d=d.replace("y","");if(d.indexOf("g")===-1){d+="g"}g=String(e).slice(t.lastIndex);if(t.lastIndex>0&&(!t.multiline||t.multiline&&e[t.lastIndex-1]!=="\n")){p="(?: "+p+")";g=" "+g;y++}u=new RegExp("^(?:"+p+")",d)}if(l){u=new RegExp("^"+p+"$(?!\\s)",d)}if(s)i=t.lastIndex;v=a.call(h?u:t,g);if(h){if(v){v.input=v.input.slice(y);v[0]=v[0].slice(y);v.index=t.lastIndex;t.lastIndex+=v[0].length}else t.lastIndex=0}else if(s&&v){t.lastIndex=t.global?v.index+v[0].length:i}if(l&&v&&v.length>1){o.call(v[0],u,(function(){for(c=1;c<arguments.length-2;c++){if(arguments[c]===undefined)v[c]=undefined}}))}return v}}r.exports=u},7066:function(r,e,t){var n=t(9670);r.exports=function(){var r=n(this);var e="";if(r.global)e+="g";if(r.ignoreCase)e+="i";if(r.multiline)e+="m";if(r.dotAll)e+="s";if(r.unicode)e+="u";if(r.sticky)e+="y";return e}},2999:function(r,e,t){var n=t(7293);function i(r,e){return RegExp(r,e)}e.UNSUPPORTED_Y=n((function(){var r=i("a","y");r.lastIndex=2;return r.exec("abcd")!=null}));e.BROKEN_CARET=n((function(){var r=i("^r","gy");r.lastIndex=2;return r.exec("str")!=null}))},4488:function(r){r.exports=function(r){if(r==undefined)throw TypeError("Can't call method on "+r);return r}},3505:function(r,e,t){var n=t(7854);var i=t(8880);r.exports=function(r,e){try{i(n,r,e)}catch(t){n[r]=e}return e}},6340:function(r,e,t){var n=t(5005);var i=t(3070);var a=t(5112);var o=t(9781);var u=a("species");r.exports=function(r){var e=n(r);var t=i.f;if(o&&e&&!e[u]){t(e,u,{configurable:true,get:function(){return this}})}}},8003:function(r,e,t){var n=t(3070).f;var i=t(6656);var a=t(5112);var o=a("toStringTag");r.exports=function(r,e,t){if(r&&!i(r=t?r:r.prototype,o)){n(r,o,{configurable:true,value:e})}}},6200:function(r,e,t){var n=t(2309);var i=t(9711);var a=n("keys");r.exports=function(r){return a[r]||(a[r]=i(r))}},5465:function(r,e,t){var n=t(7854);var i=t(3505);var a="__core-js_shared__";var o=n[a]||i(a,{});r.exports=o},2309:function(r,e,t){var n=t(1913);var i=t(5465);(r.exports=function(r,e){return i[r]||(i[r]=e!==undefined?e:{})})("versions",[]).push({version:"3.9.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(r,e,t){var n=t(9670);var i=t(3099);var a=t(5112);var o=a("species");r.exports=function(r,e){var t=n(r).constructor;var a;return t===undefined||(a=n(t)[o])==undefined?e:i(a)}},8710:function(r,e,t){var n=t(9958);var i=t(4488);var a=function(r){return function(e,t){var a=String(i(e));var o=n(t);var u=a.length;var s,f;if(o<0||o>=u)return r?"":undefined;s=a.charCodeAt(o);return s<55296||s>56319||o+1===u||(f=a.charCodeAt(o+1))<56320||f>57343?r?a.charAt(o):s:r?a.slice(o,o+2):(s-55296<<10)+(f-56320)+65536}};r.exports={codeAt:a(false),charAt:a(true)}},3197:function(r){var e=2147483647;var t=36;var n=1;var i=26;var a=38;var o=700;var u=72;var s=128;var f="-";var l=/[^\0-\u007E]/;var v=/[.\u3002\uFF0E\uFF61]/g;var c="Overflow: input needs wider integers to process";var h=t-n;var d=Math.floor;var p=String.fromCharCode;var y=function(r){var e=[];var t=0;var n=r.length;while(t<n){var i=r.charCodeAt(t++);if(i>=55296&&i<=56319&&t<n){var a=r.charCodeAt(t++);if((a&64512)==56320){e.push(((i&1023)<<10)+(a&1023)+65536)}else{e.push(i);t--}}else{e.push(i)}}return e};var g=function(r){return r+22+75*(r<26)};var m=function(r,e,n){var u=0;r=n?d(r/o):r>>1;r+=d(r/e);for(;r>h*i>>1;u+=t){r=d(r/h)}return d(u+(h+1)*r/(r+a))};var b=function(r){var a=[];r=y(r);var o=r.length;var l=s;var v=0;var h=u;var b,z;for(b=0;b<r.length;b++){z=r[b];if(z<128){a.push(p(z))}}var w=a.length;var x=w;if(w){a.push(f)}while(x<o){var A=e;for(b=0;b<r.length;b++){z=r[b];if(z>=l&&z<A){A=z}}var _=x+1;if(A-l>d((e-v)/_)){throw RangeError(c)}v+=(A-l)*_;l=A;for(b=0;b<r.length;b++){z=r[b];if(z<l&&++v>e){throw RangeError(c)}if(z==l){var k=v;for(var S=t;;S+=t){var E=S<=h?n:S>=h+i?i:S-h;if(k<E)break;var F=k-E;var R=t-E;a.push(p(g(E+F%R)));k=d(F/R)}a.push(p(g(k)));h=m(v,_,x==w);v=0;++x}}++v;++l}return a.join("")};r.exports=function(r){var e=[];var t=r.toLowerCase().replace(v,".").split(".");var n,i;for(n=0;n<t.length;n++){i=t[n];e.push(l.test(i)?"xn--"+b(i):i)}return e.join(".")}},6091:function(r,e,t){var n=t(7293);var i=t(1361);var a="
";r.exports=function(r){return n((function(){return!!i[r]()||a[r]()!=a||i[r].name!==r}))}},3111:function(r,e,t){var n=t(4488);var i=t(1361);var a="["+i+"]";var o=RegExp("^"+a+a+"*");var u=RegExp(a+a+"*$");var s=function(r){return function(e){var t=String(n(e));if(r&1)t=t.replace(o,"");if(r&2)t=t.replace(u,"");return t}};r.exports={start:s(1),end:s(2),trim:s(3)}},1400:function(r,e,t){var n=t(9958);var i=Math.max;var a=Math.min;r.exports=function(r,e){var t=n(r);return t<0?i(t+e,0):a(t,e)}},7067:function(r,e,t){var n=t(9958);var i=t(7466);r.exports=function(r){if(r===undefined)return 0;var e=n(r);var t=i(e);if(e!==t)throw RangeError("Wrong length or index");return t}},5656:function(r,e,t){var n=t(8361);var i=t(4488);r.exports=function(r){return n(i(r))}},9958:function(r){var e=Math.ceil;var t=Math.floor;r.exports=function(r){return isNaN(r=+r)?0:(r>0?t:e)(r)}},7466:function(r,e,t){var n=t(9958);var i=Math.min;r.exports=function(r){return r>0?i(n(r),9007199254740991):0}},7908:function(r,e,t){var n=t(4488);r.exports=function(r){return Object(n(r))}},4590:function(r,e,t){var n=t(3002);r.exports=function(r,e){var t=n(r);if(t%e)throw RangeError("Wrong offset");return t}},3002:function(r,e,t){var n=t(9958);r.exports=function(r){var e=n(r);if(e<0)throw RangeError("The argument can't be less than 0");return e}},7593:function(r,e,t){var n=t(111);r.exports=function(r,e){if(!n(r))return r;var t,i;if(e&&typeof(t=r.toString)=="function"&&!n(i=t.call(r)))return i;if(typeof(t=r.valueOf)=="function"&&!n(i=t.call(r)))return i;if(!e&&typeof(t=r.toString)=="function"&&!n(i=t.call(r)))return i;throw TypeError("Can't convert object to primitive value")}},1694:function(r,e,t){var n=t(5112);var i=n("toStringTag");var a={};a[i]="z";r.exports=String(a)==="[object z]"},9843:function(r,e,t){var n=t(2109);var i=t(7854);var a=t(9781);var o=t(3832);var u=t(260);var s=t(3331);var f=t(5787);var l=t(9114);var v=t(8880);var c=t(7466);var h=t(7067);var d=t(4590);var p=t(7593);var y=t(6656);var g=t(648);var m=t(111);var b=t(30);var z=t(7674);var w=t(8006).f;var x=t(7321);var A=t(2092).forEach;var _=t(6340);var k=t(3070);var S=t(1236);var E=t(9909);var F=t(9587);var R=E.get;var C=E.set;var T=k.f;var j=S.f;var M=Math.round;var U=i.RangeError;var O=s.ArrayBuffer;var I=s.DataView;var L=u.NATIVE_ARRAY_BUFFER_VIEWS;var B=u.TYPED_ARRAY_TAG;var P=u.TypedArray;var $=u.TypedArrayPrototype;var D=u.aTypedArrayConstructor;var N=u.isTypedArray;var Q="BYTES_PER_ELEMENT";var q="Wrong length";var Y=function(r,e){var t=0;var n=e.length;var i=new(D(r))(n);while(n>t)i[t]=e[t++];return i};var W=function(r,e){T(r,e,{get:function(){return R(this)[e]}})};var G=function(r){var e;return r instanceof O||(e=g(r))=="ArrayBuffer"||e=="SharedArrayBuffer"};var V=function(r,e){return N(r)&&typeof e!="symbol"&&e in r&&String(+e)==String(e)};var X=function r(e,t){return V(e,t=p(t,true))?l(2,e[t]):j(e,t)};var H=function r(e,t,n){if(V(e,t=p(t,true))&&m(n)&&y(n,"value")&&!y(n,"get")&&!y(n,"set")&&!n.configurable&&(!y(n,"writable")||n.writable)&&(!y(n,"enumerable")||n.enumerable)){e[t]=n.value;return e}return T(e,t,n)};if(a){if(!L){S.f=X;k.f=H;W($,"buffer");W($,"byteOffset");W($,"byteLength");W($,"length")}n({target:"Object",stat:true,forced:!L},{getOwnPropertyDescriptor:X,defineProperty:H});r.exports=function(r,e,t){var a=r.match(/\d+$/)[0]/8;var u=r+(t?"Clamped":"")+"Array";var s="get"+r;var l="set"+r;var p=i[u];var y=p;var g=y&&y.prototype;var k={};var S=function(r,e){var t=R(r);return t.view[s](e*a+t.byteOffset,true)};var E=function(r,e,n){var i=R(r);if(t)n=(n=M(n))<0?0:n>255?255:n&255;i.view[l](e*a+i.byteOffset,n,true)};var j=function(r,e){T(r,e,{get:function(){return S(this,e)},set:function(r){return E(this,e,r)},enumerable:true})};if(!L){y=e((function(r,e,t,n){f(r,y,u);var i=0;var o=0;var s,l,v;if(!m(e)){v=h(e);l=v*a;s=new O(l)}else if(G(e)){s=e;o=d(t,a);var p=e.byteLength;if(n===undefined){if(p%a)throw U(q);l=p-o;if(l<0)throw U(q)}else{l=c(n)*a;if(l+o>p)throw U(q)}v=l/a}else if(N(e)){return Y(y,e)}else{return x.call(y,e)}C(r,{buffer:s,byteOffset:o,byteLength:l,length:v,view:new I(s)});while(i<v)j(r,i++)}));if(z)z(y,P);g=y.prototype=b($)}else if(o){y=e((function(r,e,t,n){f(r,y,u);return F(function(){if(!m(e))return new p(h(e));if(G(e))return n!==undefined?new p(e,d(t,a),n):t!==undefined?new p(e,d(t,a)):new p(e);if(N(e))return Y(y,e);return x.call(y,e)}(),r,y)}));if(z)z(y,P);A(w(p),(function(r){if(!(r in y)){v(y,r,p[r])}}));y.prototype=g}if(g.constructor!==y){v(g,"constructor",y)}if(B){v(g,B,u)}k[u]=y;n({global:true,forced:y!=p,sham:!L},k);if(!(Q in y)){v(y,Q,a)}if(!(Q in g)){v(g,Q,a)}_(u)}}else r.exports=function(){}},3832:function(r,e,t){var n=t(7854);var i=t(7293);var a=t(7072);var o=t(260).NATIVE_ARRAY_BUFFER_VIEWS;var u=n.ArrayBuffer;var s=n.Int8Array;r.exports=!o||!i((function(){s(1)}))||!i((function(){new s(-1)}))||!a((function(r){new s;new s(null);new s(1.5);new s(r)}),true)||i((function(){return new s(new u(2),1,undefined).length!==1}))},3074:function(r,e,t){var n=t(260).aTypedArrayConstructor;var i=t(6707);r.exports=function(r,e){var t=i(r,r.constructor);var a=0;var o=e.length;var u=new(n(t))(o);while(o>a)u[a]=e[a++];return u}},7321:function(r,e,t){var n=t(7908);var i=t(7466);var a=t(1246);var o=t(7659);var u=t(9974);var s=t(260).aTypedArrayConstructor;r.exports=function r(e){var t=n(e);var f=arguments.length;var l=f>1?arguments[1]:undefined;var v=l!==undefined;var c=a(t);var h,d,p,y,g,m;if(c!=undefined&&!o(c)){g=c.call(t);m=g.next;t=[];while(!(y=m.call(g)).done){t.push(y.value)}}if(v&&f>2){l=u(l,arguments[2],2)}d=i(t.length);p=new(s(this))(d);for(h=0;d>h;h++){p[h]=v?l(t[h],h):t[h]}return p}},9711:function(r){var e=0;var t=Math.random();r.exports=function(r){return"Symbol("+String(r===undefined?"":r)+")_"+(++e+t).toString(36)}},3307:function(r,e,t){var n=t(133);r.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},5112:function(r,e,t){var n=t(7854);var i=t(2309);var a=t(6656);var o=t(9711);var u=t(133);var s=t(3307);var f=i("wks");var l=n.Symbol;var v=s?l:l&&l.withoutSetter||o;r.exports=function(r){if(!a(f,r)){if(u&&a(l,r))f[r]=l[r];else f[r]=v("Symbol."+r)}return f[r]}},1361:function(r){r.exports="\t\n\v\f\r "+" \u2028\u2029\ufeff"},8264:function(r,e,t){var n=t(2109);var i=t(7854);var a=t(3331);var o=t(6340);var u="ArrayBuffer";var s=a[u];var f=i[u];n({global:true,forced:f!==s},{ArrayBuffer:s});o(u)},2222:function(r,e,t){var n=t(2109);var i=t(7293);var a=t(3157);var o=t(111);var u=t(7908);var s=t(7466);var f=t(6135);var l=t(5417);var v=t(1194);var c=t(5112);var h=t(7392);var d=c("isConcatSpreadable");var p=9007199254740991;var y="Maximum allowed index exceeded";var g=h>=51||!i((function(){var r=[];r[d]=false;return r.concat()[0]!==r}));var m=v("concat");var b=function(r){if(!o(r))return false;var e=r[d];return e!==undefined?!!e:a(r)};var z=!g||!m;n({target:"Array",proto:true,forced:z},{concat:function r(e){var t=u(this);var n=l(t,0);var i=0;var a,o,v,c,h;for(a=-1,v=arguments.length;a<v;a++){h=a===-1?t:arguments[a];if(b(h)){c=s(h.length);if(i+c>p)throw TypeError(y);for(o=0;o<c;o++,i++)if(o in h)f(n,i,h[o])}else{if(i>=p)throw TypeError(y);f(n,i++,h)}}n.length=i;return n}})},7327:function(r,e,t){var n=t(2109);var i=t(2092).filter;var a=t(1194);var o=a("filter");n({target:"Array",proto:true,forced:!o},{filter:function r(e){return i(this,e,arguments.length>1?arguments[1]:undefined)}})},2772:function(r,e,t){var n=t(2109);var i=t(1318).indexOf;var a=t(9341);var o=[].indexOf;var u=!!o&&1/[1].indexOf(1,-0)<0;var s=a("indexOf");n({target:"Array",proto:true,forced:u||!s},{indexOf:function r(e){return u?o.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:undefined)}})},6992:function(r,e,t){var n=t(5656);var i=t(1223);var a=t(7497);var o=t(9909);var u=t(654);var s="Array Iterator";var f=o.set;var l=o.getterFor(s);r.exports=u(Array,"Array",(function(r,e){f(this,{type:s,target:n(r),index:0,kind:e})}),(function(){var r=l(this);var e=r.target;var t=r.kind;var n=r.index++;if(!e||n>=e.length){r.target=undefined;return{value:undefined,done:true}}if(t=="keys")return{value:n,done:false};if(t=="values")return{value:e[n],done:false};return{value:[n,e[n]],done:false}}),"values");a.Arguments=a.Array;i("keys");i("values");i("entries")},1249:function(r,e,t){var n=t(2109);var i=t(2092).map;var a=t(1194);var o=a("map");n({target:"Array",proto:true,forced:!o},{map:function r(e){return i(this,e,arguments.length>1?arguments[1]:undefined)}})},7042:function(r,e,t){var n=t(2109);var i=t(111);var a=t(3157);var o=t(1400);var u=t(7466);var s=t(5656);var f=t(6135);var l=t(5112);var v=t(1194);var c=v("slice");var h=l("species");var d=[].slice;var p=Math.max;n({target:"Array",proto:true,forced:!c},{slice:function r(e,t){var n=s(this);var l=u(n.length);var v=o(e,l);var c=o(t===undefined?l:t,l);var y,g,m;if(a(n)){y=n.constructor;if(typeof y=="function"&&(y===Array||a(y.prototype))){y=undefined}else if(i(y)){y=y[h];if(y===null)y=undefined}if(y===Array||y===undefined){return d.call(n,v,c)}}g=new(y===undefined?Array:y)(p(c-v,0));for(m=0;v<c;v++,m++)if(v in n)f(g,m,n[v]);g.length=m;return g}})},561:function(r,e,t){var n=t(2109);var i=t(1400);var a=t(9958);var o=t(7466);var u=t(7908);var s=t(5417);var f=t(6135);var l=t(1194);var v=l("splice");var c=Math.max;var h=Math.min;var d=9007199254740991;var p="Maximum allowed length exceeded";n({target:"Array",proto:true,forced:!v},{splice:function r(e,t){var n=u(this);var l=o(n.length);var v=i(e,l);var y=arguments.length;var g,m,b,z,w,x;if(y===0){g=m=0}else if(y===1){g=0;m=l-v}else{g=y-2;m=h(c(a(t),0),l-v)}if(l+g-m>d){throw TypeError(p)}b=s(n,m);for(z=0;z<m;z++){w=v+z;if(w in n)f(b,z,n[w])}b.length=m;if(g<m){for(z=v;z<l-m;z++){w=z+m;x=z+g;if(w in n)n[x]=n[w];else delete n[x]}for(z=l;z>l-m+g;z--)delete n[z-1]}else if(g>m){for(z=l-m;z>v;z--){w=z+m-1;x=z+g-1;if(w in n)n[x]=n[w];else delete n[x]}}for(z=0;z<g;z++){n[z+v]=arguments[z+2]}n.length=l-m+g;return b}})},8309:function(r,e,t){var n=t(9781);var i=t(3070).f;var a=Function.prototype;var o=a.toString;var u=/^\s*function ([^ (]*)/;var s="name";if(n&&!(s in a)){i(a,s,{configurable:true,get:function(){try{return o.call(this).match(u)[1]}catch(r){return""}}})}},489:function(r,e,t){var n=t(2109);var i=t(7293);var a=t(7908);var o=t(9518);var u=t(8544);var s=i((function(){o(1)}));n({target:"Object",stat:true,forced:s,sham:!u},{getPrototypeOf:function r(e){return o(a(e))}})},1539:function(r,e,t){var n=t(1694);var i=t(1320);var a=t(288);if(!n){i(Object.prototype,"toString",a,{unsafe:true})}},4916:function(r,e,t){var n=t(2109);var i=t(2261);n({target:"RegExp",proto:true,forced:/./.exec!==i},{exec:i})},9714:function(r,e,t){var n=t(1320);var i=t(9670);var a=t(7293);var o=t(7066);var u="toString";var s=RegExp.prototype;var f=s[u];var l=a((function(){return f.call({source:"a",flags:"b"})!="/a/b"}));var v=f.name!=u;if(l||v){n(RegExp.prototype,u,(function r(){var e=i(this);var t=String(e.source);var n=e.flags;var a=String(n===undefined&&e instanceof RegExp&&!("flags"in s)?o.call(e):n);return"/"+t+"/"+a}),{unsafe:true})}},8783:function(r,e,t){var n=t(8710).charAt;var i=t(9909);var a=t(654);var o="String Iterator";var u=i.set;var s=i.getterFor(o);a(String,"String",(function(r){u(this,{type:o,string:String(r),index:0})}),(function r(){var e=s(this);var t=e.string;var i=e.index;var a;if(i>=t.length)return{value:undefined,done:true};a=n(t,i);e.index+=a.length;return{value:a,done:false}}))},4723:function(r,e,t){var n=t(7007);var i=t(9670);var a=t(7466);var o=t(4488);var u=t(1530);var s=t(7651);n("match",1,(function(r,e,t){return[function e(t){var n=o(this);var i=t==undefined?undefined:t[r];return i!==undefined?i.call(t,n):new RegExp(t)[r](String(n))},function(r){var n=t(e,r,this);if(n.done)return n.value;var o=i(r);var f=String(this);if(!o.global)return s(o,f);var l=o.unicode;o.lastIndex=0;var v=[];var c=0;var h;while((h=s(o,f))!==null){var d=String(h[0]);v[c]=d;if(d==="")o.lastIndex=u(f,a(o.lastIndex),l);c++}return c===0?null:v}]}))},5306:function(r,e,t){var n=t(7007);var i=t(9670);var a=t(7466);var o=t(9958);var u=t(4488);var s=t(1530);var f=t(647);var l=t(7651);var v=Math.max;var c=Math.min;var h=function(r){return r===undefined?r:String(r)};n("replace",2,(function(r,e,t,n){var d=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;var p=n.REPLACE_KEEPS_$0;var y=d?"$":"$0";return[function t(n,i){var a=u(this);var o=n==undefined?undefined:n[r];return o!==undefined?o.call(n,a,i):e.call(String(a),n,i)},function(r,n){if(!d&&p||typeof n==="string"&&n.indexOf(y)===-1){var u=t(e,r,this,n);if(u.done)return u.value}var g=i(r);var m=String(this);var b=typeof n==="function";if(!b)n=String(n);var z=g.global;if(z){var w=g.unicode;g.lastIndex=0}var x=[];while(true){var A=l(g,m);if(A===null)break;x.push(A);if(!z)break;var _=String(A[0]);if(_==="")g.lastIndex=s(m,a(g.lastIndex),w)}var k="";var S=0;for(var E=0;E<x.length;E++){A=x[E];var F=String(A[0]);var R=v(c(o(A.index),m.length),0);var C=[];for(var T=1;T<A.length;T++)C.push(h(A[T]));var j=A.groups;if(b){var M=[F].concat(C,R,m);if(j!==undefined)M.push(j);var U=String(n.apply(undefined,M))}else{U=f(F,m,R,C,j,n)}if(R>=S){k+=m.slice(S,R)+U;S=R+F.length}}return k+m.slice(S)}]}))},3123:function(r,e,t){var n=t(7007);var i=t(7850);var a=t(9670);var o=t(4488);var u=t(6707);var s=t(1530);var f=t(7466);var l=t(7651);var v=t(2261);var c=t(7293);var h=[].push;var d=Math.min;var p=4294967295;var y=!c((function(){return!RegExp(p,"y")}));n("split",2,(function(r,e,t){var n;if("abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length){n=function(r,t){var n=String(o(this));var a=t===undefined?p:t>>>0;if(a===0)return[];if(r===undefined)return[n];if(!i(r)){return e.call(n,r,a)}var u=[];var s=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(r.sticky?"y":"");var f=0;var l=new RegExp(r.source,s+"g");var c,d,y;while(c=v.call(l,n)){d=l.lastIndex;if(d>f){u.push(n.slice(f,c.index));if(c.length>1&&c.index<n.length)h.apply(u,c.slice(1));y=c[0].length;f=d;if(u.length>=a)break}if(l.lastIndex===c.index)l.lastIndex++}if(f===n.length){if(y||!l.test(""))u.push("")}else u.push(n.slice(f));return u.length>a?u.slice(0,a):u}}else if("0".split(undefined,0).length){n=function(r,t){return r===undefined&&t===0?[]:e.call(this,r,t)}}else n=e;return[function e(t,i){var a=o(this);var u=t==undefined?undefined:t[r];return u!==undefined?u.call(t,a,i):n.call(String(a),t,i)},function(r,i){var o=t(n,r,this,i,n!==e);if(o.done)return o.value;var v=a(r);var c=String(this);var h=u(v,RegExp);var g=v.unicode;var m=(v.ignoreCase?"i":"")+(v.multiline?"m":"")+(v.unicode?"u":"")+(y?"y":"g");var b=new h(y?v:"^(?:"+v.source+")",m);var z=i===undefined?p:i>>>0;if(z===0)return[];if(c.length===0)return l(b,c)===null?[c]:[];var w=0;var x=0;var A=[];while(x<c.length){b.lastIndex=y?x:0;var _=l(b,y?c:c.slice(x));var k;if(_===null||(k=d(f(b.lastIndex+(y?0:x)),c.length))===w){x=s(c,x,g)}else{A.push(c.slice(w,x));if(A.length===z)return A;for(var S=1;S<=_.length-1;S++){A.push(_[S]);if(A.length===z)return A}x=w=k}}A.push(c.slice(w));return A}]}),!y)},3210:function(r,e,t){var n=t(2109);var i=t(3111).trim;var a=t(6091);n({target:"String",proto:true,forced:a("trim")},{trim:function r(){return i(this)}})},2990:function(r,e,t){var n=t(260);var i=t(1048);var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("copyWithin",(function r(e,t){return i.call(a(this),e,t,arguments.length>2?arguments[2]:undefined)}))},8927:function(r,e,t){var n=t(260);var i=t(2092).every;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("every",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},3105:function(r,e,t){var n=t(260);var i=t(1285);var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("fill",(function r(e){return i.apply(a(this),arguments)}))},5035:function(r,e,t){var n=t(260);var i=t(2092).filter;var a=t(3074);var o=n.aTypedArray;var u=n.exportTypedArrayMethod;u("filter",(function r(e){var t=i(o(this),e,arguments.length>1?arguments[1]:undefined);return a(this,t)}))},7174:function(r,e,t){var n=t(260);var i=t(2092).findIndex;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("findIndex",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},4345:function(r,e,t){var n=t(260);var i=t(2092).find;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("find",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},2846:function(r,e,t){var n=t(260);var i=t(2092).forEach;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("forEach",(function r(e){i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},4731:function(r,e,t){var n=t(260);var i=t(1318).includes;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("includes",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},7209:function(r,e,t){var n=t(260);var i=t(1318).indexOf;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("indexOf",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},6319:function(r,e,t){var n=t(7854);var i=t(260);var a=t(6992);var o=t(5112);var u=o("iterator");var s=n.Uint8Array;var f=a.values;var l=a.keys;var v=a.entries;var c=i.aTypedArray;var h=i.exportTypedArrayMethod;var d=s&&s.prototype[u];var p=!!d&&(d.name=="values"||d.name==undefined);var y=function r(){return f.call(c(this))};h("entries",(function r(){return v.call(c(this))}));h("keys",(function r(){return l.call(c(this))}));h("values",y,!p);h(u,y,!p)},8867:function(r,e,t){var n=t(260);var i=n.aTypedArray;var a=n.exportTypedArrayMethod;var o=[].join;a("join",(function r(e){return o.apply(i(this),arguments)}))},7789:function(r,e,t){var n=t(260);var i=t(6583);var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("lastIndexOf",(function r(e){return i.apply(a(this),arguments)}))},3739:function(r,e,t){var n=t(260);var i=t(2092).map;var a=t(6707);var o=n.aTypedArray;var u=n.aTypedArrayConstructor;var s=n.exportTypedArrayMethod;s("map",(function r(e){return i(o(this),e,arguments.length>1?arguments[1]:undefined,(function(r,e){return new(u(a(r,r.constructor)))(e)}))}))},4483:function(r,e,t){var n=t(260);var i=t(3671).right;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("reduceRight",(function r(e){return i(a(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},9368:function(r,e,t){var n=t(260);var i=t(3671).left;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("reduce",(function r(e){return i(a(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},2056:function(r,e,t){var n=t(260);var i=n.aTypedArray;var a=n.exportTypedArrayMethod;var o=Math.floor;a("reverse",(function r(){var e=this;var t=i(e).length;var n=o(t/2);var a=0;var u;while(a<n){u=e[a];e[a++]=e[--t];e[t]=u}return e}))},3462:function(r,e,t){var n=t(260);var i=t(7466);var a=t(4590);var o=t(7908);var u=t(7293);var s=n.aTypedArray;var f=n.exportTypedArrayMethod;var l=u((function(){new Int8Array(1).set({})}));f("set",(function r(e){s(this);var t=a(arguments.length>1?arguments[1]:undefined,1);var n=this.length;var u=o(e);var f=i(u.length);var l=0;if(f+t>n)throw RangeError("Wrong length");while(l<f)this[t+l]=u[l++]}),l)},678:function(r,e,t){var n=t(260);var i=t(6707);var a=t(7293);var o=n.aTypedArray;var u=n.aTypedArrayConstructor;var s=n.exportTypedArrayMethod;var f=[].slice;var l=a((function(){new Int8Array(1).slice()}));s("slice",(function r(e,t){var n=f.call(o(this),e,t);var a=i(this,this.constructor);var s=0;var l=n.length;var v=new(u(a))(l);while(l>s)v[s]=n[s++];return v}),l)},7462:function(r,e,t){var n=t(260);var i=t(2092).some;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("some",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},3824:function(r,e,t){var n=t(260);var i=n.aTypedArray;var a=n.exportTypedArrayMethod;var o=[].sort;a("sort",(function r(e){return o.call(i(this),e)}))},5021:function(r,e,t){var n=t(260);var i=t(7466);var a=t(1400);var o=t(6707);var u=n.aTypedArray;var s=n.exportTypedArrayMethod;s("subarray",(function r(e,t){var n=u(this);var s=n.length;var f=a(e,s);return new(o(n,n.constructor))(n.buffer,n.byteOffset+f*n.BYTES_PER_ELEMENT,i((t===undefined?s:a(t,s))-f))}))},2974:function(r,e,t){var n=t(7854);var i=t(260);var a=t(7293);var o=n.Int8Array;var u=i.aTypedArray;var s=i.exportTypedArrayMethod;var f=[].toLocaleString;var l=[].slice;var v=!!o&&a((function(){f.call(new o(1))}));var c=a((function(){return[1,2].toLocaleString()!=new o([1,2]).toLocaleString()}))||!a((function(){o.prototype.toLocaleString.call([1,2])}));s("toLocaleString",(function r(){return f.apply(v?l.call(u(this)):u(this),arguments)}),c)},5016:function(r,e,t){var n=t(260).exportTypedArrayMethod;var i=t(7293);var a=t(7854);var o=a.Uint8Array;var u=o&&o.prototype||{};var s=[].toString;var f=[].join;if(i((function(){s.call({})}))){s=function r(){return f.call(this)}}var l=u.toString!=s;n("toString",s,l)},2472:function(r,e,t){var n=t(9843);n("Uint8",(function(r){return function e(t,n,i){return r(this,t,n,i)}}))},4747:function(r,e,t){var n=t(7854);var i=t(8324);var a=t(8533);var o=t(8880);for(var u in i){var s=n[u];var f=s&&s.prototype;if(f&&f.forEach!==a)try{o(f,"forEach",a)}catch(r){f.forEach=a}}},3948:function(r,e,t){var n=t(7854);var i=t(8324);var a=t(6992);var o=t(8880);var u=t(5112);var s=u("iterator");var f=u("toStringTag");var l=a.values;for(var v in i){var c=n[v];var h=c&&c.prototype;if(h){if(h[s]!==l)try{o(h,s,l)}catch(r){h[s]=l}if(!h[f]){o(h,f,v)}if(i[v])for(var d in a){if(h[d]!==a[d])try{o(h,d,a[d])}catch(r){h[d]=a[d]}}}}},1637:function(r,e,t){t(6992);var n=t(2109);var i=t(5005);var a=t(590);var o=t(1320);var u=t(2248);var s=t(8003);var f=t(4994);var l=t(9909);var v=t(5787);var c=t(6656);var h=t(9974);var d=t(648);var p=t(9670);var y=t(111);var g=t(30);var m=t(9114);var b=t(8554);var z=t(1246);var w=t(5112);var x=i("fetch");var A=i("Headers");var _=w("iterator");var k="URLSearchParams";var S=k+"Iterator";var E=l.set;var F=l.getterFor(k);var R=l.getterFor(S);var C=/\+/g;var T=Array(4);var j=function(r){return T[r-1]||(T[r-1]=RegExp("((?:%[\\da-f]{2}){"+r+"})","gi"))};var M=function(r){try{return decodeURIComponent(r)}catch(e){return r}};var U=function(r){var e=r.replace(C," ");var t=4;try{return decodeURIComponent(e)}catch(r){while(t){e=e.replace(j(t--),M)}return e}};var O=/[!'()~]|%20/g;var I={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};var L=function(r){return I[r]};var B=function(r){return encodeURIComponent(r).replace(O,L)};var P=function(r,e){if(e){var t=e.split("&");var n=0;var i,a;while(n<t.length){i=t[n++];if(i.length){a=i.split("=");r.push({key:U(a.shift()),value:U(a.join("="))})}}}};var $=function(r){this.entries.length=0;P(this.entries,r)};var D=function(r,e){if(r<e)throw TypeError("Not enough arguments")};var N=f((function r(e,t){E(this,{type:S,iterator:b(F(e).entries),kind:t})}),"Iterator",(function r(){var e=R(this);var t=e.kind;var n=e.iterator.next();var i=n.value;if(!n.done){n.value=t==="keys"?i.key:t==="values"?i.value:[i.key,i.value]}return n}));var Q=function r(){v(this,Q,k);var e=arguments.length>0?arguments[0]:undefined;var t=this;var n=[];var i,a,o,u,s,f,l,h,d;E(t,{type:k,entries:n,updateURL:function(){},updateSearchParams:$});if(e!==undefined){if(y(e)){i=z(e);if(typeof i==="function"){a=i.call(e);o=a.next;while(!(u=o.call(a)).done){s=b(p(u.value));f=s.next;if((l=f.call(s)).done||(h=f.call(s)).done||!f.call(s).done)throw TypeError("Expected sequence with length 2");n.push({key:l.value+"",value:h.value+""})}}else for(d in e)if(c(e,d))n.push({key:d,value:e[d]+""})}else{P(n,typeof e==="string"?e.charAt(0)==="?"?e.slice(1):e:e+"")}}};var q=Q.prototype;u(q,{append:function r(e,t){D(arguments.length,2);var n=F(this);n.entries.push({key:e+"",value:t+""});n.updateURL()},delete:function(r){D(arguments.length,1);var e=F(this);var t=e.entries;var n=r+"";var i=0;while(i<t.length){if(t[i].key===n)t.splice(i,1);else i++}e.updateURL()},get:function r(e){D(arguments.length,1);var t=F(this).entries;var n=e+"";var i=0;for(;i<t.length;i++){if(t[i].key===n)return t[i].value}return null},getAll:function r(e){D(arguments.length,1);var t=F(this).entries;var n=e+"";var i=[];var a=0;for(;a<t.length;a++){if(t[a].key===n)i.push(t[a].value)}return i},has:function r(e){D(arguments.length,1);var t=F(this).entries;var n=e+"";var i=0;while(i<t.length){if(t[i++].key===n)return true}return false},set:function r(e,t){D(arguments.length,1);var n=F(this);var i=n.entries;var a=false;var o=e+"";var u=t+"";var s=0;var f;for(;s<i.length;s++){f=i[s];if(f.key===o){if(a)i.splice(s--,1);else{a=true;f.value=u}}}if(!a)i.push({key:o,value:u});n.updateURL()},sort:function r(){var e=F(this);var t=e.entries;var n=t.slice();var i,a,o;t.length=0;for(o=0;o<n.length;o++){i=n[o];for(a=0;a<o;a++){if(t[a].key>i.key){t.splice(a,0,i);break}}if(a===o)t.push(i)}e.updateURL()},forEach:function r(e){var t=F(this).entries;var n=h(e,arguments.length>1?arguments[1]:undefined,3);var i=0;var a;while(i<t.length){a=t[i++];n(a.value,a.key,this)}},keys:function r(){return new N(this,"keys")},values:function r(){return new N(this,"values")},entries:function r(){return new N(this,"entries")}},{enumerable:true});o(q,_,q.entries);o(q,"toString",(function r(){var e=F(this).entries;var t=[];var n=0;var i;while(n<e.length){i=e[n++];t.push(B(i.key)+"="+B(i.value))}return t.join("&")}),{enumerable:true});s(Q,k);n({global:true,forced:!a},{URLSearchParams:Q});if(!a&&typeof x=="function"&&typeof A=="function"){n({global:true,enumerable:true,forced:true},{fetch:function r(e){var t=[e];var n,i,a;if(arguments.length>1){n=arguments[1];if(y(n)){i=n.body;if(d(i)===k){a=n.headers?new A(n.headers):new A;if(!a.has("content-type")){a.set("content-type","application/x-www-form-urlencoded;charset=UTF-8")}n=g(n,{body:m(0,String(i)),headers:m(0,a)})}}t.push(n)}return x.apply(this,t)}})}r.exports={URLSearchParams:Q,getState:F}},285:function(r,e,t){t(8783);var n=t(2109);var i=t(9781);var a=t(590);var o=t(7854);var u=t(6048);var s=t(1320);var f=t(5787);var l=t(6656);var v=t(1574);var c=t(8457);var h=t(8710).codeAt;var d=t(3197);var p=t(8003);var y=t(1637);var g=t(9909);var m=o.URL;var b=y.URLSearchParams;var z=y.getState;var w=g.set;var x=g.getterFor("URL");var A=Math.floor;var _=Math.pow;var k="Invalid authority";var S="Invalid scheme";var E="Invalid host";var F="Invalid port";var R=/[A-Za-z]/;var C=/[\d+-.A-Za-z]/;var T=/\d/;var j=/^(0x|0X)/;var M=/^[0-7]+$/;var U=/^\d+$/;var O=/^[\dA-Fa-f]+$/;var I=/[\u0000\t\u000A\u000D #%/:?@[\\]]/;var L=/[\u0000\t\u000A\u000D #/:?@[\\]]/;var B=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g;var P=/[\t\u000A\u000D]/g;var $;var D=function(r,e){var t,n,i;if(e.charAt(0)=="["){if(e.charAt(e.length-1)!="]")return E;t=Q(e.slice(1,-1));if(!t)return E;r.host=t}else if(!J(r)){if(L.test(e))return E;t="";n=c(e);for(i=0;i<n.length;i++){t+=H(n[i],W)}r.host=t}else{e=d(e);if(I.test(e))return E;t=N(e);if(t===null)return E;r.host=t}};var N=function(r){var e=r.split(".");var t,n,i,a,o,u,s;if(e.length&&e[e.length-1]==""){e.pop()}t=e.length;if(t>4)return r;n=[];for(i=0;i<t;i++){a=e[i];if(a=="")return r;o=10;if(a.length>1&&a.charAt(0)=="0"){o=j.test(a)?16:8;a=a.slice(o==8?1:2)}if(a===""){u=0}else{if(!(o==10?U:o==8?M:O).test(a))return r;u=parseInt(a,o)}n.push(u)}for(i=0;i<t;i++){u=n[i];if(i==t-1){if(u>=_(256,5-t))return null}else if(u>255)return null}s=n.pop();for(i=0;i<n.length;i++){s+=n[i]*_(256,3-i)}return s};var Q=function(r){var e=[0,0,0,0,0,0,0,0];var t=0;var n=null;var i=0;var a,o,u,s,f,l,v;var c=function(){return r.charAt(i)};if(c()==":"){if(r.charAt(1)!=":")return;i+=2;t++;n=t}while(c()){if(t==8)return;if(c()==":"){if(n!==null)return;i++;t++;n=t;continue}a=o=0;while(o<4&&O.test(c())){a=a*16+parseInt(c(),16);i++;o++}if(c()=="."){if(o==0)return;i-=o;if(t>6)return;u=0;while(c()){s=null;if(u>0){if(c()=="."&&u<4)i++;else return}if(!T.test(c()))return;while(T.test(c())){f=parseInt(c(),10);if(s===null)s=f;else if(s==0)return;else s=s*10+f;if(s>255)return;i++}e[t]=e[t]*256+s;u++;if(u==2||u==4)t++}if(u!=4)return;break}else if(c()==":"){i++;if(!c())return}else if(c())return;e[t++]=a}if(n!==null){l=t-n;t=7;while(t!=0&&l>0){v=e[t];e[t--]=e[n+l-1];e[n+--l]=v}}else if(t!=8)return;return e};var q=function(r){var e=null;var t=1;var n=null;var i=0;var a=0;for(;a<8;a++){if(r[a]!==0){if(i>t){e=n;t=i}n=null;i=0}else{if(n===null)n=a;++i}}if(i>t){e=n;t=i}return e};var Y=function(r){var e,t,n,i;if(typeof r=="number"){e=[];for(t=0;t<4;t++){e.unshift(r%256);r=A(r/256)}return e.join(".")}else if(typeof r=="object"){e="";n=q(r);for(t=0;t<8;t++){if(i&&r[t]===0)continue;if(i)i=false;if(n===t){e+=t?":":"::";i=true}else{e+=r[t].toString(16);if(t<7)e+=":"}}return"["+e+"]"}return r};var W={};var G=v({},W,{" ":1,'"':1,"<":1,">":1,"`":1});var V=v({},G,{"#":1,"?":1,"{":1,"}":1});var X=v({},V,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1});var H=function(r,e){var t=h(r,0);return t>32&&t<127&&!l(e,r)?r:encodeURIComponent(r)};var K={ftp:21,file:null,http:80,https:443,ws:80,wss:443};var J=function(r){return l(K,r.scheme)};var Z=function(r){return r.username!=""||r.password!=""};var rr=function(r){return!r.host||r.cannotBeABaseURL||r.scheme=="file"};var er=function(r,e){var t;return r.length==2&&R.test(r.charAt(0))&&((t=r.charAt(1))==":"||!e&&t=="|")};var tr=function(r){var e;return r.length>1&&er(r.slice(0,2))&&(r.length==2||((e=r.charAt(2))==="/"||e==="\\"||e==="?"||e==="#"))};var nr=function(r){var e=r.path;var t=e.length;if(t&&(r.scheme!="file"||t!=1||!er(e[0],true))){e.pop()}};var ir=function(r){return r==="."||r.toLowerCase()==="%2e"};var ar=function(r){r=r.toLowerCase();return r===".."||r==="%2e."||r===".%2e"||r==="%2e%2e"};var or={};var ur={};var sr={};var fr={};var lr={};var vr={};var cr={};var hr={};var dr={};var pr={};var yr={};var gr={};var mr={};var br={};var zr={};var wr={};var xr={};var Ar={};var _r={};var kr={};var Sr={};var Er=function(r,e,t,n){var i=t||or;var a=0;var o="";var u=false;var s=false;var f=false;var v,h,d,p;if(!t){r.scheme="";r.username="";r.password="";r.host=null;r.port=null;r.path=[];r.query=null;r.fragment=null;r.cannotBeABaseURL=false;e=e.replace(B,"")}e=e.replace(P,"");v=c(e);while(a<=v.length){h=v[a];switch(i){case or:if(h&&R.test(h)){o+=h.toLowerCase();i=ur}else if(!t){i=sr;continue}else return S;break;case ur:if(h&&(C.test(h)||h=="+"||h=="-"||h==".")){o+=h.toLowerCase()}else if(h==":"){if(t&&(J(r)!=l(K,o)||o=="file"&&(Z(r)||r.port!==null)||r.scheme=="file"&&!r.host))return;r.scheme=o;if(t){if(J(r)&&K[r.scheme]==r.port)r.port=null;return}o="";if(r.scheme=="file"){i=br}else if(J(r)&&n&&n.scheme==r.scheme){i=fr}else if(J(r)){i=hr}else if(v[a+1]=="/"){i=lr;a++}else{r.cannotBeABaseURL=true;r.path.push("");i=_r}}else if(!t){o="";i=sr;a=0;continue}else return S;break;case sr:if(!n||n.cannotBeABaseURL&&h!="#")return S;if(n.cannotBeABaseURL&&h=="#"){r.scheme=n.scheme;r.path=n.path.slice();r.query=n.query;r.fragment="";r.cannotBeABaseURL=true;i=Sr;break}i=n.scheme=="file"?br:vr;continue;case fr:if(h=="/"&&v[a+1]=="/"){i=dr;a++}else{i=vr;continue}break;case lr:if(h=="/"){i=pr;break}else{i=Ar;continue}case vr:r.scheme=n.scheme;if(h==$){r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.query=n.query}else if(h=="/"||h=="\\"&&J(r)){i=cr}else if(h=="?"){r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.query="";i=kr}else if(h=="#"){r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.query=n.query;r.fragment="";i=Sr}else{r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.path.pop();i=Ar;continue}break;case cr:if(J(r)&&(h=="/"||h=="\\")){i=dr}else if(h=="/"){i=pr}else{r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;i=Ar;continue}break;case hr:i=dr;if(h!="/"||o.charAt(a+1)!="/")continue;a++;break;case dr:if(h!="/"&&h!="\\"){i=pr;continue}break;case pr:if(h=="@"){if(u)o="%40"+o;u=true;d=c(o);for(var y=0;y<d.length;y++){var g=d[y];if(g==":"&&!f){f=true;continue}var m=H(g,X);if(f)r.password+=m;else r.username+=m}o=""}else if(h==$||h=="/"||h=="?"||h=="#"||h=="\\"&&J(r)){if(u&&o=="")return k;a-=c(o).length+1;o="";i=yr}else o+=h;break;case yr:case gr:if(t&&r.scheme=="file"){i=wr;continue}else if(h==":"&&!s){if(o=="")return E;p=D(r,o);if(p)return p;o="";i=mr;if(t==gr)return}else if(h==$||h=="/"||h=="?"||h=="#"||h=="\\"&&J(r)){if(J(r)&&o=="")return E;if(t&&o==""&&(Z(r)||r.port!==null))return;p=D(r,o);if(p)return p;o="";i=xr;if(t)return;continue}else{if(h=="[")s=true;else if(h=="]")s=false;o+=h}break;case mr:if(T.test(h)){o+=h}else if(h==$||h=="/"||h=="?"||h=="#"||h=="\\"&&J(r)||t){if(o!=""){var b=parseInt(o,10);if(b>65535)return F;r.port=J(r)&&b===K[r.scheme]?null:b;o=""}if(t)return;i=xr;continue}else return F;break;case br:r.scheme="file";if(h=="/"||h=="\\")i=zr;else if(n&&n.scheme=="file"){if(h==$){r.host=n.host;r.path=n.path.slice();r.query=n.query}else if(h=="?"){r.host=n.host;r.path=n.path.slice();r.query="";i=kr}else if(h=="#"){r.host=n.host;r.path=n.path.slice();r.query=n.query;r.fragment="";i=Sr}else{if(!tr(v.slice(a).join(""))){r.host=n.host;r.path=n.path.slice();nr(r)}i=Ar;continue}}else{i=Ar;continue}break;case zr:if(h=="/"||h=="\\"){i=wr;break}if(n&&n.scheme=="file"&&!tr(v.slice(a).join(""))){if(er(n.path[0],true))r.path.push(n.path[0]);else r.host=n.host}i=Ar;continue;case wr:if(h==$||h=="/"||h=="\\"||h=="?"||h=="#"){if(!t&&er(o)){i=Ar}else if(o==""){r.host="";if(t)return;i=xr}else{p=D(r,o);if(p)return p;if(r.host=="localhost")r.host="";if(t)return;o="";i=xr}continue}else o+=h;break;case xr:if(J(r)){i=Ar;if(h!="/"&&h!="\\")continue}else if(!t&&h=="?"){r.query="";i=kr}else if(!t&&h=="#"){r.fragment="";i=Sr}else if(h!=$){i=Ar;if(h!="/")continue}break;case Ar:if(h==$||h=="/"||h=="\\"&&J(r)||!t&&(h=="?"||h=="#")){if(ar(o)){nr(r);if(h!="/"&&!(h=="\\"&&J(r))){r.path.push("")}}else if(ir(o)){if(h!="/"&&!(h=="\\"&&J(r))){r.path.push("")}}else{if(r.scheme=="file"&&!r.path.length&&er(o)){if(r.host)r.host="";o=o.charAt(0)+":"}r.path.push(o)}o="";if(r.scheme=="file"&&(h==$||h=="?"||h=="#")){while(r.path.length>1&&r.path[0]===""){r.path.shift()}}if(h=="?"){r.query="";i=kr}else if(h=="#"){r.fragment="";i=Sr}}else{o+=H(h,V)}break;case _r:if(h=="?"){r.query="";i=kr}else if(h=="#"){r.fragment="";i=Sr}else if(h!=$){r.path[0]+=H(h,W)}break;case kr:if(!t&&h=="#"){r.fragment="";i=Sr}else if(h!=$){if(h=="'"&&J(r))r.query+="%27";else if(h=="#")r.query+="%23";else r.query+=H(h,W)}break;case Sr:if(h!=$)r.fragment+=H(h,G);break}a++}};var Fr=function r(e){var t=f(this,Fr,"URL");var n=arguments.length>1?arguments[1]:undefined;var a=String(e);var o=w(t,{type:"URL"});var u,s;if(n!==undefined){if(n instanceof Fr)u=x(n);else{s=Er(u={},String(n));if(s)throw TypeError(s)}}s=Er(o,a,null,u);if(s)throw TypeError(s);var l=o.searchParams=new b;var v=z(l);v.updateSearchParams(o.query);v.updateURL=function(){o.query=String(l)||null};if(!i){t.href=Cr.call(t);t.origin=Tr.call(t);t.protocol=jr.call(t);t.username=Mr.call(t);t.password=Ur.call(t);t.host=Or.call(t);t.hostname=Ir.call(t);t.port=Lr.call(t);t.pathname=Br.call(t);t.search=Pr.call(t);t.searchParams=$r.call(t);t.hash=Dr.call(t)}};var Rr=Fr.prototype;var Cr=function(){var r=x(this);var e=r.scheme;var t=r.username;var n=r.password;var i=r.host;var a=r.port;var o=r.path;var u=r.query;var s=r.fragment;var f=e+":";if(i!==null){f+="//";if(Z(r)){f+=t+(n?":"+n:"")+"@"}f+=Y(i);if(a!==null)f+=":"+a}else if(e=="file")f+="//";f+=r.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"";if(u!==null)f+="?"+u;if(s!==null)f+="#"+s;return f};var Tr=function(){var r=x(this);var e=r.scheme;var t=r.port;if(e=="blob")try{return new URL(e.path[0]).origin}catch(r){return"null"}if(e=="file"||!J(r))return"null";return e+"://"+Y(r.host)+(t!==null?":"+t:"")};var jr=function(){return x(this).scheme+":"};var Mr=function(){return x(this).username};var Ur=function(){return x(this).password};var Or=function(){var r=x(this);var e=r.host;var t=r.port;return e===null?"":t===null?Y(e):Y(e)+":"+t};var Ir=function(){var r=x(this).host;return r===null?"":Y(r)};var Lr=function(){var r=x(this).port;return r===null?"":String(r)};var Br=function(){var r=x(this);var e=r.path;return r.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""};var Pr=function(){var r=x(this).query;return r?"?"+r:""};var $r=function(){return x(this).searchParams};var Dr=function(){var r=x(this).fragment;return r?"#"+r:""};var Nr=function(r,e){return{get:r,set:e,configurable:true,enumerable:true}};if(i){u(Rr,{href:Nr(Cr,(function(r){var e=x(this);var t=String(r);var n=Er(e,t);if(n)throw TypeError(n);z(e.searchParams).updateSearchParams(e.query)})),origin:Nr(Tr),protocol:Nr(jr,(function(r){var e=x(this);Er(e,String(r)+":",or)})),username:Nr(Mr,(function(r){var e=x(this);var t=c(String(r));if(rr(e))return;e.username="";for(var n=0;n<t.length;n++){e.username+=H(t[n],X)}})),password:Nr(Ur,(function(r){var e=x(this);var t=c(String(r));if(rr(e))return;e.password="";for(var n=0;n<t.length;n++){e.password+=H(t[n],X)}})),host:Nr(Or,(function(r){var e=x(this);if(e.cannotBeABaseURL)return;Er(e,String(r),yr)})),hostname:Nr(Ir,(function(r){var e=x(this);if(e.cannotBeABaseURL)return;Er(e,String(r),gr)})),port:Nr(Lr,(function(r){var e=x(this);if(rr(e))return;r=String(r);if(r=="")e.port=null;else Er(e,r,mr)})),pathname:Nr(Br,(function(r){var e=x(this);if(e.cannotBeABaseURL)return;e.path=[];Er(e,r+"",xr)})),search:Nr(Pr,(function(r){var e=x(this);r=String(r);if(r==""){e.query=null}else{if("?"==r.charAt(0))r=r.slice(1);e.query="";Er(e,r,kr)}z(e.searchParams).updateSearchParams(e.query)})),searchParams:Nr($r),hash:Nr(Dr,(function(r){var e=x(this);r=String(r);if(r==""){e.fragment=null;return}if("#"==r.charAt(0))r=r.slice(1);e.fragment="";Er(e,r,Sr)}))})}s(Rr,"toJSON",(function r(){return Cr.call(this)}),{enumerable:true});s(Rr,"toString",(function r(){return Cr.call(this)}),{enumerable:true});if(m){var Qr=m.createObjectURL;var qr=m.revokeObjectURL;if(Qr)s(Fr,"createObjectURL",(function r(e){return Qr.apply(m,arguments)}));if(qr)s(Fr,"revokeObjectURL",(function r(e){return qr.apply(m,arguments)}))}p(Fr,"URL");n({global:true,forced:!a,sham:!i},{URL:Fr})}};var e={};function t(n){if(e[n]){return e[n].exports}var i=e[n]={exports:{}};r[n](i,i.exports,t);return i.exports}!function(){t.d=function(r,e){for(var n in e){if(t.o(e,n)&&!t.o(r,n)){Object.defineProperty(r,n,{enumerable:true,get:e[n]})}}}}();!function(){t.g=function(){if(typeof globalThis==="object")return globalThis;try{return this||new Function("return this")()}catch(r){if(typeof window==="object")return window}}()}();!function(){t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)}}();!function(){t.r=function(r){if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(r,"__esModule",{value:true})}}();var n={};!function(){t.r(n);t.d(n,{Dropzone:function(){return C},default:function(){return P}});t(2222);t(7327);t(2772);t(6992);t(1249);t(7042);t(561);t(8264);t(8309);t(489);t(1539);t(4916);t(9714);t(8783);t(4723);t(5306);t(3123);t(3210);t(2472);t(2990);t(8927);t(3105);t(5035);t(4345);t(7174);t(2846);t(4731);t(7209);t(6319);t(8867);t(7789);t(3739);t(9368);t(4483);t(2056);t(3462);t(678);t(7462);t(3824);t(5021);t(2974);t(5016);t(4747);t(3948);t(285);function r(r,t){var n;if(typeof Symbol==="undefined"||r[Symbol.iterator]==null){if(Array.isArray(r)||(n=e(r))||t&&r&&typeof r.length==="number"){if(n)r=n;var i=0;var a=function r(){};return{s:a,n:function e(){if(i>=r.length)return{done:true};return{done:false,value:r[i++]}},e:function r(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o=true,u=false,s;return{s:function e(){n=r[Symbol.iterator]()},n:function r(){var e=n.next();o=e.done;return e},e:function r(e){u=true;s=e},f:function r(){try{if(!o&&n.return!=null)n.return()}finally{if(u)throw s}}}}function e(r,e){if(!r)return;if(typeof r==="string")return i(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor)t=r.constructor.name;if(t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(r,e)}function i(r,e){if(e==null||e>r.length)e=r.length;for(var t=0,n=new Array(e);t<e;t++){n[t]=r[t]}return n}function a(r,e){if(!(r instanceof e)){throw new TypeError("Cannot call a class as a function")}}function o(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(r,n.key,n)}}function u(r,e,t){if(e)o(r.prototype,e);if(t)o(r,t);return r}var s=function(){function e(){a(this,e)}u(e,[{key:"on",value:function r(e,t){this._callbacks=this._callbacks||{};if(!this._callbacks[e]){this._callbacks[e]=[]}this._callbacks[e].push(t);return this}},{key:"emit",value:function e(t){this._callbacks=this._callbacks||{};var n=this._callbacks[t];var i=true;var a=true;for(var o=arguments.length,u=new Array(o>1?o-1:0),s=1;s<o;s++){u[s-1]=arguments[s]}if(n){var f=r(n,true),l;try{for(f.s();!(l=f.n()).done;){var v=l.value;if(v.apply(this,u)===false){i=false}}}catch(r){f.e(r)}finally{f.f()}}if(this.element){a=this.element.dispatchEvent(this.makeEvent("dropzone:"+t,{args:u}))}return i&&a}},{key:"makeEvent",value:function r(e,t){var n={bubbles:true,cancelable:true,detail:t};if(typeof window.CustomEvent==="function"){return new CustomEvent(e,n)}else{var i=document.createEvent("CustomEvent");i.initCustomEvent(e,n.bubbles,n.cancelable,n.detail);return i}}},{key:"off",value:function r(e,t){if(!this._callbacks||arguments.length===0){this._callbacks={};return this}var n=this._callbacks[e];if(!n){return this}if(arguments.length===1){delete this._callbacks[e];return this}for(var i=0;i<n.length;i++){var a=n[i];if(a===t){n.splice(i,1);break}}return this}}]);return e}();var f='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ';var l=f;function v(r,e){var t;if(typeof Symbol==="undefined"||r[Symbol.iterator]==null){if(Array.isArray(r)||(t=c(r))||e&&r&&typeof r.length==="number"){if(t)r=t;var n=0;var i=function r(){};return{s:i,n:function e(){if(n>=r.length)return{done:true};return{done:false,value:r[n++]}},e:function r(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=true,o=false,u;return{s:function e(){t=r[Symbol.iterator]()},n:function r(){var e=t.next();a=e.done;return e},e:function r(e){o=true;u=e},f:function r(){try{if(!a&&t.return!=null)t.return()}finally{if(o)throw u}}}}function c(r,e){if(!r)return;if(typeof r==="string")return h(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor)t=r.constructor.name;if(t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return h(r,e)}function h(r,e){if(e==null||e>r.length)e=r.length;for(var t=0,n=new Array(e);t<e;t++){n[t]=r[t]}return n}var d={url:null,method:"post",withCredentials:false,timeout:null,parallelUploads:2,uploadMultiple:false,chunking:false,forceChunking:false,chunkSize:2e6,parallelChunkUploads:false,retryChunks:false,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:true,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:true,ignoreHiddenFiles:true,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:true,autoQueue:true,addRemoveLinks:false,previewsContainer:null,disablePreviews:false,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:false,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function r(){},params:function r(e,t,n){if(n){return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}}},accept:function r(e,t){return t()},chunksUploaded:function r(e,t){t()},fallback:function r(){var e;this.element.className="".concat(this.element.className," dz-browser-not-supported");var t=v(this.element.getElementsByTagName("div"),true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;if(/(^| )dz-message($| )/.test(i.className)){e=i;i.className="dz-message";break}}}catch(r){t.e(r)}finally{t.f()}if(!e){e=C.createElement('<div class="dz-message"><span></span></div>');this.element.appendChild(e)}var a=e.getElementsByTagName("span")[0];if(a){if(a.textContent!=null){a.textContent=this.options.dictFallbackMessage}else if(a.innerText!=null){a.innerText=this.options.dictFallbackMessage}}return this.element.appendChild(this.getFallbackForm())},resize:function r(e,t,n,i){var a={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height};var o=e.width/e.height;if(t==null&&n==null){t=a.srcWidth;n=a.srcHeight}else if(t==null){t=n*o}else if(n==null){n=t/o}t=Math.min(t,a.srcWidth);n=Math.min(n,a.srcHeight);var u=t/n;if(a.srcWidth>t||a.srcHeight>n){if(i==="crop"){if(o>u){a.srcHeight=e.height;a.srcWidth=a.srcHeight*u}else{a.srcWidth=e.width;a.srcHeight=a.srcWidth/u}}else if(i==="contain"){if(o>u){n=t/o}else{t=n*o}}else{throw new Error("Unknown resizeMethod '".concat(i,"'"))}}a.srcX=(e.width-a.srcWidth)/2;a.srcY=(e.height-a.srcHeight)/2;a.trgWidth=t;a.trgHeight=n;return a},transformFile:function r(e,t){if((this.options.resizeWidth||this.options.resizeHeight)&&e.type.match(/image.*/)){return this.resizeImage(e,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t)}else{return t(e)}},previewTemplate:l,drop:function r(e){return this.element.classList.remove("dz-drag-hover")},dragstart:function r(e){},dragend:function r(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function r(e){return this.element.classList.add("dz-drag-hover")},dragover:function r(e){return this.element.classList.add("dz-drag-hover")},dragleave:function r(e){return this.element.classList.remove("dz-drag-hover")},paste:function r(e){},reset:function r(){return this.element.classList.remove("dz-started")},addedfile:function r(e){var t=this;if(this.element===this.previewsContainer){this.element.classList.add("dz-started")}if(this.previewsContainer&&!this.options.disablePreviews){e.previewElement=C.createElement(this.options.previewTemplate.trim());e.previewTemplate=e.previewElement;this.previewsContainer.appendChild(e.previewElement);var n=v(e.previewElement.querySelectorAll("[data-dz-name]"),true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.textContent=e.name}}catch(r){n.e(r)}finally{n.f()}var o=v(e.previewElement.querySelectorAll("[data-dz-size]"),true),u;try{for(o.s();!(u=o.n()).done;){a=u.value;a.innerHTML=this.filesize(e.size)}}catch(r){o.e(r)}finally{o.f()}if(this.options.addRemoveLinks){e._removeLink=C.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>"));e.previewElement.appendChild(e._removeLink)}var s=function r(n){n.preventDefault();n.stopPropagation();if(e.status===C.UPLOADING){return C.confirm(t.options.dictCancelUploadConfirmation,(function(){return t.removeFile(e)}))}else{if(t.options.dictRemoveFileConfirmation){return C.confirm(t.options.dictRemoveFileConfirmation,(function(){return t.removeFile(e)}))}else{return t.removeFile(e)}}};var f=v(e.previewElement.querySelectorAll("[data-dz-remove]"),true),l;try{for(f.s();!(l=f.n()).done;){var c=l.value;c.addEventListener("click",s)}}catch(r){f.e(r)}finally{f.f()}}},removefile:function r(e){},removedfile:function r(e){if(e.previewElement!=null&&e.previewElement.parentNode!=null){e.previewElement.parentNode.removeChild(e.previewElement)}return this._updateMaxFilesReachedClass()},thumbnail:function r(e,t){if(e.previewElement){e.previewElement.classList.remove("dz-file-preview");var n=v(e.previewElement.querySelectorAll("[data-dz-thumbnail]"),true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.alt=e.name;a.src=t}}catch(r){n.e(r)}finally{n.f()}return setTimeout((function(){return e.previewElement.classList.add("dz-image-preview")}),1)}},error:function r(e,t){if(e.previewElement){e.previewElement.classList.add("dz-error");if(typeof t!=="string"&&t.error){t=t.error}var n=v(e.previewElement.querySelectorAll("[data-dz-errormessage]"),true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.textContent=t}}catch(r){n.e(r)}finally{n.f()}}},errormultiple:function r(){},processing:function r(e){if(e.previewElement){e.previewElement.classList.add("dz-processing");if(e._removeLink){return e._removeLink.innerHTML=this.options.dictCancelUpload}}},processingmultiple:function r(){},uploadprogress:function r(e,t,n){if(e.previewElement){var i=v(e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o.nodeName==="PROGRESS"?o.value=t:o.style.width="".concat(t,"%")}}catch(r){i.e(r)}finally{i.f()}}},totaluploadprogress:function r(){},sending:function r(){},sendingmultiple:function r(){},success:function r(e){if(e.previewElement){return e.previewElement.classList.add("dz-success")}},successmultiple:function r(){},canceled:function r(e){return this.emit("error",e,this.options.dictUploadCanceled)},canceledmultiple:function r(){},complete:function r(e){if(e._removeLink){e._removeLink.innerHTML=this.options.dictRemoveFile}if(e.previewElement){return e.previewElement.classList.add("dz-complete")}},completemultiple:function r(){},maxfilesexceeded:function r(){},maxfilesreached:function r(){},queuecomplete:function r(){},addedfiles:function r(){}};var p=d;function y(r){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){y=function r(e){return typeof e}}else{y=function r(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return y(r)}function g(r,e){var t;if(typeof Symbol==="undefined"||r[Symbol.iterator]==null){if(Array.isArray(r)||(t=m(r))||e&&r&&typeof r.length==="number"){if(t)r=t;var n=0;var i=function r(){};return{s:i,n:function e(){if(n>=r.length)return{done:true};return{done:false,value:r[n++]}},e:function r(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=true,o=false,u;return{s:function e(){t=r[Symbol.iterator]()},n:function r(){var e=t.next();a=e.done;return e},e:function r(e){o=true;u=e},f:function r(){try{if(!a&&t.return!=null)t.return()}finally{if(o)throw u}}}}function m(r,e){if(!r)return;if(typeof r==="string")return b(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor)t=r.constructor.name;if(t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return b(r,e)}function b(r,e){if(e==null||e>r.length)e=r.length;for(var t=0,n=new Array(e);t<e;t++){n[t]=r[t]}return n}function z(r,e){if(!(r instanceof e)){throw new TypeError("Cannot call a class as a function")}}function w(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(r,n.key,n)}}function x(r,e,t){if(e)w(r.prototype,e);if(t)w(r,t);return r}function A(r,e){if(typeof e!=="function"&&e!==null){throw new TypeError("Super expression must either be null or a function")}r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:true,configurable:true}});if(e)_(r,e)}function _(r,e){_=Object.setPrototypeOf||function r(e,t){e.__proto__=t;return e};return _(r,e)}function k(r){var e=F();return function t(){var n=R(r),i;if(e){var a=R(this).constructor;i=Reflect.construct(n,arguments,a)}else{i=n.apply(this,arguments)}return S(this,i)}}function S(r,e){if(e&&(y(e)==="object"||typeof e==="function")){return e}return E(r)}function E(r){if(r===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r}function F(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Date.prototype.toString.call(Reflect.construct(Date,[],(function(){})));return true}catch(r){return false}}function R(r){R=Object.setPrototypeOf?Object.getPrototypeOf:function r(e){return e.__proto__||Object.getPrototypeOf(e)};return R(r)}var C=function(r){A(t,r);var e=k(t);function t(r,n){var i;z(this,t);i=e.call(this);var a,o;i.element=r;i.version=t.version;i.clickableElements=[];i.listeners=[];i.files=[];if(typeof i.element==="string"){i.element=document.querySelector(i.element)}if(!i.element||i.element.nodeType==null){throw new Error("Invalid dropzone element.")}if(i.element.dropzone){throw new Error("Dropzone already attached.")}t.instances.push(E(i));i.element.dropzone=E(i);var u=(o=t.optionsForElement(i.element))!=null?o:{};i.options=t.extend({},p,u,n!=null?n:{});i.options.previewTemplate=i.options.previewTemplate.replace(/\n*/g,"");if(i.options.forceFallback||!t.isBrowserSupported()){return S(i,i.options.fallback.call(E(i)))}if(i.options.url==null){i.options.url=i.element.getAttribute("action")}if(!i.options.url){throw new Error("No URL provided.")}if(i.options.acceptedFiles&&i.options.acceptedMimeTypes){throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.")}if(i.options.uploadMultiple&&i.options.chunking){throw new Error("You cannot set both: uploadMultiple and chunking.")}if(i.options.acceptedMimeTypes){i.options.acceptedFiles=i.options.acceptedMimeTypes;delete i.options.acceptedMimeTypes}if(i.options.renameFilename!=null){i.options.renameFile=function(r){return i.options.renameFilename.call(E(i),r.name,r)}}if(typeof i.options.method==="string"){i.options.method=i.options.method.toUpperCase()}if((a=i.getExistingFallback())&&a.parentNode){a.parentNode.removeChild(a)}if(i.options.previewsContainer!==false){if(i.options.previewsContainer){i.previewsContainer=t.getElement(i.options.previewsContainer,"previewsContainer")}else{i.previewsContainer=i.element}}if(i.options.clickable){if(i.options.clickable===true){i.clickableElements=[i.element]}else{i.clickableElements=t.getElements(i.options.clickable,"clickable")}}i.init();return i}x(t,[{key:"getAcceptedFiles",value:function r(){return this.files.filter((function(r){return r.accepted})).map((function(r){return r}))}},{key:"getRejectedFiles",value:function r(){return this.files.filter((function(r){return!r.accepted})).map((function(r){return r}))}},{key:"getFilesWithStatus",value:function r(e){return this.files.filter((function(r){return r.status===e})).map((function(r){return r}))}},{key:"getQueuedFiles",value:function r(){return this.getFilesWithStatus(t.QUEUED)}},{key:"getUploadingFiles",value:function r(){return this.getFilesWithStatus(t.UPLOADING)}},{key:"getAddedFiles",value:function r(){return this.getFilesWithStatus(t.ADDED)}},{key:"getActiveFiles",value:function r(){return this.files.filter((function(r){return r.status===t.UPLOADING||r.status===t.QUEUED})).map((function(r){return r}))}},{key:"init",value:function r(){var e=this;if(this.element.tagName==="form"){this.element.setAttribute("enctype","multipart/form-data")}if(this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")){this.element.appendChild(t.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>")))}if(this.clickableElements.length){var n=function r(){if(e.hiddenFileInput){e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput)}e.hiddenFileInput=document.createElement("input");e.hiddenFileInput.setAttribute("type","file");if(e.options.maxFiles===null||e.options.maxFiles>1){e.hiddenFileInput.setAttribute("multiple","multiple")}e.hiddenFileInput.className="dz-hidden-input";if(e.options.acceptedFiles!==null){e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles)}if(e.options.capture!==null){e.hiddenFileInput.setAttribute("capture",e.options.capture)}e.hiddenFileInput.setAttribute("tabindex","-1");e.hiddenFileInput.style.visibility="hidden";e.hiddenFileInput.style.position="absolute";e.hiddenFileInput.style.top="0";e.hiddenFileInput.style.left="0";e.hiddenFileInput.style.height="0";e.hiddenFileInput.style.width="0";t.getElement(e.options.hiddenInputContainer,"hiddenInputContainer").appendChild(e.hiddenFileInput);e.hiddenFileInput.addEventListener("change",(function(){var t=e.hiddenFileInput.files;if(t.length){var n=g(t,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;e.addFile(a)}}catch(r){n.e(r)}finally{n.f()}}e.emit("addedfiles",t);r()}))};n()}this.URL=window.URL!==null?window.URL:window.webkitURL;var i=g(this.events,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;this.on(o,this.options[o])}}catch(r){i.e(r)}finally{i.f()}this.on("uploadprogress",(function(){return e.updateTotalUploadProgress()}));this.on("removedfile",(function(){return e.updateTotalUploadProgress()}));this.on("canceled",(function(r){return e.emit("complete",r)}));this.on("complete",(function(r){if(e.getAddedFiles().length===0&&e.getUploadingFiles().length===0&&e.getQueuedFiles().length===0){return setTimeout((function(){return e.emit("queuecomplete")}),0)}}));var u=function r(e){if(e.dataTransfer.types){for(var t=0;t<e.dataTransfer.types.length;t++){if(e.dataTransfer.types[t]==="Files")return true}}return false};var s=function r(e){if(!u(e))return;e.stopPropagation();if(e.preventDefault){return e.preventDefault()}else{return e.returnValue=false}};this.listeners=[{element:this.element,events:{dragstart:function r(t){e.emit("dragstart",t);return e},dragenter:function r(t){s(t);e.emit("dragenter",t);return e},dragover:function r(t){var n;try{n=t.dataTransfer.effectAllowed}catch(r){}t.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy";s(t);e.emit("dragover",t);return e},dragleave:function r(t){e.emit("dragleave",t);return e},drop:function r(t){s(t);e.drop(t);return e},dragend:function r(t){e.emit("dragend",t);return e}}}];this.clickableElements.forEach((function(r){return e.listeners.push({element:r,events:{click:function n(i){if(r!==e.element||i.target===e.element||t.elementInside(i.target,e.element.querySelector(".dz-message"))){e.hiddenFileInput.click()}return true}}})}));this.enable();return this.options.init.call(this)}},{key:"destroy",value:function r(){this.disable();this.removeAllFiles(true);if(this.hiddenFileInput!=null?this.hiddenFileInput.parentNode:undefined){this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput);this.hiddenFileInput=null}delete this.element.dropzone;return t.instances.splice(t.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function r(){var e;var t=0;var n=0;var i=this.getActiveFiles();if(i.length){var a=g(this.getActiveFiles(),true),o;try{for(a.s();!(o=a.n()).done;){var u=o.value;t+=u.upload.bytesSent;n+=u.upload.total}}catch(r){a.e(r)}finally{a.f()}e=100*t/n}else{e=100}this.emit("totaluploadprogress",e,n,t);return this}},{key:"_getParamName",value:function r(e){if(typeof this.options.paramName==="function"){return this.options.paramName(e)}else{return"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(e,"]"):"")}}},{key:"_renameFile",value:function r(e){if(typeof this.options.renameFile!=="function"){return e.name}return this.options.renameFile(e)}},{key:"getFallbackForm",value:function r(){var e,n;if(e=this.getExistingFallback()){return e}var i='<div class="dz-fallback">';if(this.options.dictFallbackText){i+="<p>".concat(this.options.dictFallbackText,"</p>")}i+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':undefined,' /><input type="submit" value="Upload!"></div>');var a=t.createElement(i);if(this.element.tagName!=="FORM"){n=t.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>'));n.appendChild(a)}else{this.element.setAttribute("enctype","multipart/form-data");this.element.setAttribute("method",this.options.method)}return n!=null?n:a}},{key:"getExistingFallback",value:function r(){var e=function r(e){var t=g(e,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;if(/(^| )fallback($| )/.test(i.className)){return i}}}catch(r){t.e(r)}finally{t.f()}};for(var t=0,n=["div","form"];t<n.length;t++){var i=n[t];var a;if(a=e(this.element.getElementsByTagName(i))){return a}}}},{key:"setupEventListeners",value:function r(){return this.listeners.map((function(r){return function(){var e=[];for(var t in r.events){var n=r.events[t];e.push(r.element.addEventListener(t,n,false))}return e}()}))}},{key:"removeEventListeners",value:function r(){return this.listeners.map((function(r){return function(){var e=[];for(var t in r.events){var n=r.events[t];e.push(r.element.removeEventListener(t,n,false))}return e}()}))}},{key:"disable",value:function r(){var e=this;this.clickableElements.forEach((function(r){return r.classList.remove("dz-clickable")}));this.removeEventListeners();this.disabled=true;return this.files.map((function(r){return e.cancelUpload(r)}))}},{key:"enable",value:function r(){delete this.disabled;this.clickableElements.forEach((function(r){return r.classList.add("dz-clickable")}));return this.setupEventListeners()}},{key:"filesize",value:function r(e){var t=0;var n="b";if(e>0){var i=["tb","gb","mb","kb","b"];for(var a=0;a<i.length;a++){var o=i[a];var u=Math.pow(this.options.filesizeBase,4-a)/10;if(e>=u){t=e/Math.pow(this.options.filesizeBase,4-a);n=o;break}}t=Math.round(10*t)/10}return"<strong>".concat(t,"</strong> ").concat(this.options.dictFileSizeUnits[n])}},{key:"_updateMaxFilesReachedClass",value:function r(){if(this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles){if(this.getAcceptedFiles().length===this.options.maxFiles){this.emit("maxfilesreached",this.files)}return this.element.classList.add("dz-max-files-reached")}else{return this.element.classList.remove("dz-max-files-reached")}}},{key:"drop",value:function r(e){if(!e.dataTransfer){return}this.emit("drop",e);var t=[];for(var n=0;n<e.dataTransfer.files.length;n++){t[n]=e.dataTransfer.files[n]}if(t.length){var i=e.dataTransfer.items;if(i&&i.length&&i[0].webkitGetAsEntry!=null){this._addFilesFromItems(i)}else{this.handleFiles(t)}}this.emit("addedfiles",t)}},{key:"paste",value:function r(e){if(L(e!=null?e.clipboardData:undefined,(function(r){return r.items}))==null){return}this.emit("paste",e);var t=e.clipboardData.items;if(t.length){return this._addFilesFromItems(t)}}},{key:"handleFiles",value:function r(e){var t=g(e,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;this.addFile(i)}}catch(r){t.e(r)}finally{t.f()}}},{key:"_addFilesFromItems",value:function r(e){var t=this;return function(){var r=[];var n=g(e,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;var o;if(a.webkitGetAsEntry!=null&&(o=a.webkitGetAsEntry())){if(o.isFile){r.push(t.addFile(a.getAsFile()))}else if(o.isDirectory){r.push(t._addFilesFromDirectory(o,o.name))}else{r.push(undefined)}}else if(a.getAsFile!=null){if(a.kind==null||a.kind==="file"){r.push(t.addFile(a.getAsFile()))}else{r.push(undefined)}}else{r.push(undefined)}}}catch(r){n.e(r)}finally{n.f()}return r}()}},{key:"_addFilesFromDirectory",value:function r(e,t){var n=this;var i=e.createReader();var a=function r(e){return B(console,"log",(function(r){return r.log(e)}))};var o=function r(){return i.readEntries((function(e){if(e.length>0){var i=g(e,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o.isFile){o.file((function(r){if(n.options.ignoreHiddenFiles&&r.name.substring(0,1)==="."){return}r.fullPath="".concat(t,"/").concat(r.name);return n.addFile(r)}))}else if(o.isDirectory){n._addFilesFromDirectory(o,"".concat(t,"/").concat(o.name))}}}catch(r){i.e(r)}finally{i.f()}r()}return null}),a)};return o()}},{key:"accept",value:function r(e,n){if(this.options.maxFilesize&&e.size>this.options.maxFilesize*1024*1024){n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize))}else if(!t.isValidFile(e,this.options.acceptedFiles)){n(this.options.dictInvalidFileType)}else if(this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles){n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles));this.emit("maxfilesexceeded",e)}else{this.options.accept.call(this,e,n)}}},{key:"addFile",value:function r(e){var n=this;e.upload={uuid:t.uuidv4(),progress:0,total:e.size,bytesSent:0,filename:this._renameFile(e)};this.files.push(e);e.status=t.ADDED;this.emit("addedfile",e);this._enqueueThumbnail(e);this.accept(e,(function(r){if(r){e.accepted=false;n._errorProcessing([e],r)}else{e.accepted=true;if(n.options.autoQueue){n.enqueueFile(e)}}n._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function r(e){var t=g(e,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;this.enqueueFile(i)}}catch(r){t.e(r)}finally{t.f()}return null}},{key:"enqueueFile",value:function r(e){var n=this;if(e.status===t.ADDED&&e.accepted===true){e.status=t.QUEUED;if(this.options.autoProcessQueue){return setTimeout((function(){return n.processQueue()}),0)}}else{throw new Error("This file can't be queued because it has already been processed or was rejected.")}}},{key:"_enqueueThumbnail",value:function r(e){var t=this;if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=this.options.maxThumbnailFilesize*1024*1024){this._thumbnailQueue.push(e);return setTimeout((function(){return t._processThumbnailQueue()}),0)}}},{key:"_processThumbnailQueue",value:function r(){var e=this;if(this._processingThumbnail||this._thumbnailQueue.length===0){return}this._processingThumbnail=true;var t=this._thumbnailQueue.shift();return this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,true,(function(r){e.emit("thumbnail",t,r);e._processingThumbnail=false;return e._processThumbnailQueue()}))}},{key:"removeFile",value:function r(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;if(!n){var i=this.emit("removefile",e);if(!i){return false}}if(e.status===t.UPLOADING){this.cancelUpload(e)}this.files=T(this.files,e);this.emit("removedfile",e,n);if(this.files.length===0){this.emit("reset")}return true}},{key:"removeAllFiles",value:function r(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;if(e==null){e=false}var i=g(this.files.slice(),true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o.status!==t.UPLOADING||e){this.removeFile(o,n)}}}catch(r){i.e(r)}finally{i.f()}return null}},{key:"resizeImage",value:function r(e,n,i,a,o){var u=this;return this.createThumbnail(e,n,i,a,true,(function(r,n){if(n==null){return o(e)}else{var i=u.options.resizeMimeType;if(i==null){i=e.type}var a=n.toDataURL(i,u.options.resizeQuality);if(i==="image/jpeg"||i==="image/jpg"){a=O.restore(e.dataURL,a)}return o(t.dataURItoBlob(a))}}))}},{key:"createThumbnail",value:function r(e,t,n,i,a,o){var u=this;var s=new FileReader;s.onload=function(){e.dataURL=s.result;if(e.type==="image/svg+xml"){if(o!=null){o(s.result)}return}u.createThumbnailFromUrl(e,t,n,i,a,o)};s.readAsDataURL(e)}},{key:"displayExistingFile",value:function r(e,t,n,i){var a=this;var o=arguments.length>4&&arguments[4]!==undefined?arguments[4]:true;this.emit("addedfile",e);this.emit("complete",e);if(!o){this.emit("thumbnail",e,t);if(n)n()}else{var u=function r(t){a.emit("thumbnail",e,t);if(n)n()};e.dataURL=t;this.createThumbnailFromUrl(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,u,i)}}},{key:"createThumbnailFromUrl",value:function r(e,t,n,i,a,o,u){var s=this;var f=document.createElement("img");if(u){f.crossOrigin=u}a=getComputedStyle(document.body)["imageOrientation"]=="from-image"?false:a;f.onload=function(){var r=function r(e){return e(1)};if(typeof EXIF!=="undefined"&&EXIF!==null&&a){r=function r(e){return EXIF.getData(f,(function(){return e(EXIF.getTag(this,"Orientation"))}))}}return r((function(r){e.width=f.width;e.height=f.height;var a=s.options.resize.call(s,e,t,n,i);var u=document.createElement("canvas");var l=u.getContext("2d");u.width=a.trgWidth;u.height=a.trgHeight;if(r>4){u.width=a.trgHeight;u.height=a.trgWidth}switch(r){case 2:l.translate(u.width,0);l.scale(-1,1);break;case 3:l.translate(u.width,u.height);l.rotate(Math.PI);break;case 4:l.translate(0,u.height);l.scale(1,-1);break;case 5:l.rotate(.5*Math.PI);l.scale(1,-1);break;case 6:l.rotate(.5*Math.PI);l.translate(0,-u.width);break;case 7:l.rotate(.5*Math.PI);l.translate(u.height,-u.width);l.scale(-1,1);break;case 8:l.rotate(-.5*Math.PI);l.translate(-u.height,0);break}U(l,f,a.srcX!=null?a.srcX:0,a.srcY!=null?a.srcY:0,a.srcWidth,a.srcHeight,a.trgX!=null?a.trgX:0,a.trgY!=null?a.trgY:0,a.trgWidth,a.trgHeight);var v=u.toDataURL("image/png");if(o!=null){return o(v,u)}}))};if(o!=null){f.onerror=o}return f.src=e.dataURL}},{key:"processQueue",value:function r(){var e=this.options.parallelUploads;var t=this.getUploadingFiles().length;var n=t;if(t>=e){return}var i=this.getQueuedFiles();if(!(i.length>0)){return}if(this.options.uploadMultiple){return this.processFiles(i.slice(0,e-t))}else{while(n<e){if(!i.length){return}this.processFile(i.shift());n++}}}},{key:"processFile",value:function r(e){return this.processFiles([e])}},{key:"processFiles",value:function r(e){var n=g(e,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.processing=true;a.status=t.UPLOADING;this.emit("processing",a)}}catch(r){n.e(r)}finally{n.f()}if(this.options.uploadMultiple){this.emit("processingmultiple",e)}return this.uploadFiles(e)}},{key:"_getFilesWithXhr",value:function r(e){return this.files.filter((function(r){return r.xhr===e})).map((function(r){return r}))}},{key:"cancelUpload",value:function r(e){if(e.status===t.UPLOADING){var n=this._getFilesWithXhr(e.xhr);var i=g(n,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o.status=t.CANCELED}}catch(r){i.e(r)}finally{i.f()}if(typeof e.xhr!=="undefined"){e.xhr.abort()}var u=g(n,true),s;try{for(u.s();!(s=u.n()).done;){var f=s.value;this.emit("canceled",f)}}catch(r){u.e(r)}finally{u.f()}if(this.options.uploadMultiple){this.emit("canceledmultiple",n)}}else if(e.status===t.ADDED||e.status===t.QUEUED){e.status=t.CANCELED;this.emit("canceled",e);if(this.options.uploadMultiple){this.emit("canceledmultiple",[e])}}if(this.options.autoProcessQueue){return this.processQueue()}}},{key:"resolveOption",value:function r(e){if(typeof e==="function"){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++){n[i-1]=arguments[i]}return e.apply(this,n)}return e}},{key:"uploadFile",value:function r(e){return this.uploadFiles([e])}},{key:"uploadFiles",value:function r(e){var n=this;this._transformFiles(e,(function(r){if(n.options.chunking){var i=r[0];e[0].upload.chunked=n.options.chunking&&(n.options.forceChunking||i.size>n.options.chunkSize);e[0].upload.totalChunkCount=Math.ceil(i.size/n.options.chunkSize)}if(e[0].upload.chunked){var a=e[0];var o=r[0];a.upload.chunks=[];var u=function r(){var i=0;while(a.upload.chunks[i]!==undefined){i++}if(i>=a.upload.totalChunkCount)return;var u=i*n.options.chunkSize;var s=Math.min(u+n.options.chunkSize,o.size);var f={name:n._getParamName(0),data:o.webkitSlice?o.webkitSlice(u,s):o.slice(u,s),filename:a.upload.filename,chunkIndex:i};a.upload.chunks[i]={file:a,index:i,dataBlock:f,status:t.UPLOADING,progress:0,retries:0};n._uploadData(e,[f])};a.upload.finishedChunkUpload=function(r,i){var o=true;r.status=t.SUCCESS;r.dataBlock=null;r.xhr=null;for(var s=0;s<a.upload.totalChunkCount;s++){if(a.upload.chunks[s]===undefined){return u()}if(a.upload.chunks[s].status!==t.SUCCESS){o=false}}if(o){n.options.chunksUploaded(a,(function(){n._finished(e,i,null)}))}};if(n.options.parallelChunkUploads){for(var s=0;s<a.upload.totalChunkCount;s++){u()}}else{u()}}else{var f=[];for(var l=0;l<e.length;l++){f[l]={name:n._getParamName(l),data:r[l],filename:e[l].upload.filename}}n._uploadData(e,f)}}))}},{key:"_getChunk",value:function r(e,t){for(var n=0;n<e.upload.totalChunkCount;n++){if(e.upload.chunks[n]!==undefined&&e.upload.chunks[n].xhr===t){return e.upload.chunks[n]}}}},{key:"_uploadData",value:function r(e,n){var i=this;var a=new XMLHttpRequest;var o=g(e,true),u;try{for(o.s();!(u=o.n()).done;){var s=u.value;s.xhr=a}}catch(r){o.e(r)}finally{o.f()}if(e[0].upload.chunked){e[0].upload.chunks[n[0].chunkIndex].xhr=a}var f=this.resolveOption(this.options.method,e);var l=this.resolveOption(this.options.url,e);a.open(f,l,true);var v=this.resolveOption(this.options.timeout,e);if(v)a.timeout=this.resolveOption(this.options.timeout,e);a.withCredentials=!!this.options.withCredentials;a.onload=function(r){i._finishedUploading(e,a,r)};a.ontimeout=function(){i._handleUploadError(e,a,"Request timedout after ".concat(i.options.timeout/1e3," seconds"))};a.onerror=function(){i._handleUploadError(e,a)};var c=a.upload!=null?a.upload:a;c.onprogress=function(r){return i._updateFilesUploadProgress(e,a,r)};var h={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};if(this.options.headers){var d=this.options.headers;if(typeof this.options.headers==="function"){d=this.options.headers(this)}t.extend(h,d)}for(var p in h){var y=h[p];if(y){a.setRequestHeader(p,y)}}var m=new FormData;if(this.options.params){var b=this.options.params;if(typeof b==="function"){b=b.call(this,e,a,e[0].upload.chunked?this._getChunk(e[0],a):null)}for(var z in b){var w=b[z];if(Array.isArray(w)){for(var x=0;x<w.length;x++){m.append(z,w[x])}}else{m.append(z,w)}}}var A=g(e,true),_;try{for(A.s();!(_=A.n()).done;){var k=_.value;this.emit("sending",k,a,m)}}catch(r){A.e(r)}finally{A.f()}if(this.options.uploadMultiple){this.emit("sendingmultiple",e,a,m)}this._addFormElementData(m);for(var S=0;S<n.length;S++){var E=n[S];m.append(E.name,E.data,E.filename)}this.submitRequest(a,m,e)}},{key:"_transformFiles",value:function r(e,t){var n=this;var i=[];var a=0;var o=function r(o){n.options.transformFile.call(n,e[o],(function(r){i[o]=r;if(++a===e.length){t(i)}}))};for(var u=0;u<e.length;u++){o(u)}}},{key:"_addFormElementData",value:function r(e){if(this.element.tagName==="FORM"){var t=g(this.element.querySelectorAll("input, textarea, select, button"),true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;var a=i.getAttribute("name");var o=i.getAttribute("type");if(o)o=o.toLowerCase();if(typeof a==="undefined"||a===null)continue;if(i.tagName==="SELECT"&&i.hasAttribute("multiple")){var u=g(i.options,true),s;try{for(u.s();!(s=u.n()).done;){var f=s.value;if(f.selected){e.append(a,f.value)}}}catch(r){u.e(r)}finally{u.f()}}else if(!o||o!=="checkbox"&&o!=="radio"||i.checked){e.append(a,i.value)}}}catch(r){t.e(r)}finally{t.f()}}}},{key:"_updateFilesUploadProgress",value:function r(e,t,n){if(!e[0].upload.chunked){var i=g(e,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o.upload.total&&o.upload.bytesSent&&o.upload.bytesSent==o.upload.total){continue}if(n){o.upload.progress=100*n.loaded/n.total;o.upload.total=n.total;o.upload.bytesSent=n.loaded}else{o.upload.progress=100;o.upload.bytesSent=o.upload.total}this.emit("uploadprogress",o,o.upload.progress,o.upload.bytesSent)}}catch(r){i.e(r)}finally{i.f()}}else{var u=e[0];var s=this._getChunk(u,t);if(n){s.progress=100*n.loaded/n.total;s.total=n.total;s.bytesSent=n.loaded}else{s.progress=100;s.bytesSent=s.total}u.upload.progress=0;u.upload.total=0;u.upload.bytesSent=0;for(var f=0;f<u.upload.totalChunkCount;f++){if(u.upload.chunks[f]&&typeof u.upload.chunks[f].progress!=="undefined"){u.upload.progress+=u.upload.chunks[f].progress;u.upload.total+=u.upload.chunks[f].total;u.upload.bytesSent+=u.upload.chunks[f].bytesSent}}u.upload.progress=u.upload.progress/u.upload.totalChunkCount;this.emit("uploadprogress",u,u.upload.progress,u.upload.bytesSent)}}},{key:"_finishedUploading",value:function r(e,n,i){var a;if(e[0].status===t.CANCELED){return}if(n.readyState!==4){return}if(n.responseType!=="arraybuffer"&&n.responseType!=="blob"){a=n.responseText;if(n.getResponseHeader("content-type")&&~n.getResponseHeader("content-type").indexOf("application/json")){try{a=JSON.parse(a)}catch(r){i=r;a="Invalid JSON response from server."}}}this._updateFilesUploadProgress(e,n);if(!(200<=n.status&&n.status<300)){this._handleUploadError(e,n,a)}else{if(e[0].upload.chunked){e[0].upload.finishedChunkUpload(this._getChunk(e[0],n),a)}else{this._finished(e,a,i)}}}},{key:"_handleUploadError",value:function r(e,n,i){if(e[0].status===t.CANCELED){return}if(e[0].upload.chunked&&this.options.retryChunks){var a=this._getChunk(e[0],n);if(a.retries++<this.options.retryChunksLimit){this._uploadData(e,[a.dataBlock]);return}else{console.warn("Retried this chunk too often. Giving up.")}}this._errorProcessing(e,i||this.options.dictResponseError.replace("{{statusCode}}",n.status),n)}},{key:"submitRequest",value:function r(e,t,n){if(e.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}e.send(t)}},{key:"_finished",value:function r(e,n,i){var a=g(e,true),o;try{for(a.s();!(o=a.n()).done;){var u=o.value;u.status=t.SUCCESS;this.emit("success",u,n,i);this.emit("complete",u)}}catch(r){a.e(r)}finally{a.f()}if(this.options.uploadMultiple){this.emit("successmultiple",e,n,i);this.emit("completemultiple",e)}if(this.options.autoProcessQueue){return this.processQueue()}}},{key:"_errorProcessing",value:function r(e,n,i){var a=g(e,true),o;try{for(a.s();!(o=a.n()).done;){var u=o.value;u.status=t.ERROR;this.emit("error",u,n,i);this.emit("complete",u)}}catch(r){a.e(r)}finally{a.f()}if(this.options.uploadMultiple){this.emit("errormultiple",e,n,i);this.emit("completemultiple",e)}if(this.options.autoProcessQueue){return this.processQueue()}}}],[{key:"initClass",value:function r(){this.prototype.Emitter=s;this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removefile","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"];this.prototype._thumbnailQueue=[];this.prototype._processingThumbnail=false}},{key:"extend",value:function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++){n[i-1]=arguments[i]}for(var a=0,o=n;a<o.length;a++){var u=o[a];for(var s in u){var f=u[s];e[s]=f}}return e}},{key:"uuidv4",value:function r(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(r){var e=Math.random()*16|0,t=r==="x"?e:e&3|8;return t.toString(16)}))}}]);return t}(s);C.initClass();C.version="dev";C.options={};C.optionsForElement=function(r){if(r.getAttribute("id")){return C.options[j(r.getAttribute("id"))]}else{return undefined}};C.instances=[];C.forElement=function(r){if(typeof r==="string"){r=document.querySelector(r)}if((r!=null?r.dropzone:undefined)==null){throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.")}return r.dropzone};C.autoDiscover=true;C.discover=function(){var r;if(document.querySelectorAll){r=document.querySelectorAll(".dropzone")}else{r=[];var e=function e(t){return function(){var e=[];var n=g(t,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;if(/(^| )dropzone($| )/.test(a.className)){e.push(r.push(a))}else{e.push(undefined)}}}catch(r){n.e(r)}finally{n.f()}return e}()};e(document.getElementsByTagName("div"));e(document.getElementsByTagName("form"))}return function(){var e=[];var t=g(r,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;if(C.optionsForElement(i)!==false){e.push(new C(i))}else{e.push(undefined)}}}catch(r){t.e(r)}finally{t.f()}return e}()};C.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i];C.isBrowserSupported=function(){var r=true;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector){if(!("classList"in document.createElement("a"))){r=false}else{if(C.blacklistedBrowsers!==undefined){C.blockedBrowsers=C.blacklistedBrowsers}var e=g(C.blockedBrowsers,true),t;try{for(e.s();!(t=e.n()).done;){var n=t.value;if(n.test(navigator.userAgent)){r=false;continue}}}catch(r){e.e(r)}finally{e.f()}}}else{r=false}return r};C.dataURItoBlob=function(r){var e=atob(r.split(",")[1]);var t=r.split(",")[0].split(":")[1].split(";")[0];var n=new ArrayBuffer(e.length);var i=new Uint8Array(n);for(var a=0,o=e.length,u=0<=o;u?a<=o:a>=o;u?a++:a--){i[a]=e.charCodeAt(a)}return new Blob([n],{type:t})};var T=function r(e,t){return e.filter((function(r){return r!==t})).map((function(r){return r}))};var j=function r(e){return e.replace(/[\-_](\w)/g,(function(r){return r.charAt(1).toUpperCase()}))};C.createElement=function(r){var e=document.createElement("div");e.innerHTML=r;return e.childNodes[0]};C.elementInside=function(r,e){if(r===e){return true}while(r=r.parentNode){if(r===e){return true}}return false};C.getElement=function(r,e){var t;if(typeof r==="string"){t=document.querySelector(r)}else if(r.nodeType!=null){t=r}if(t==null){throw new Error("Invalid `".concat(e,"` option provided. Please provide a CSS selector or a plain HTML element."))}return t};C.getElements=function(r,e){var t,n;if(r instanceof Array){n=[];try{var i=g(r,true),a;try{for(i.s();!(a=i.n()).done;){t=a.value;n.push(this.getElement(t,e))}}catch(r){i.e(r)}finally{i.f()}}catch(r){n=null}}else if(typeof r==="string"){n=[];var o=g(document.querySelectorAll(r),true),u;try{for(o.s();!(u=o.n()).done;){t=u.value;n.push(t)}}catch(r){o.e(r)}finally{o.f()}}else if(r.nodeType!=null){n=[r]}if(n==null||!n.length){throw new Error("Invalid `".concat(e,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."))}return n};C.confirm=function(r,e,t){if(window.confirm(r)){return e()}else if(t!=null){return t()}};C.isValidFile=function(r,e){if(!e){return true}e=e.split(",");var t=r.type;var n=t.replace(/\/.*$/,"");var i=g(e,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o=o.trim();if(o.charAt(0)==="."){if(r.name.toLowerCase().indexOf(o.toLowerCase(),r.name.length-o.length)!==-1){return true}}else if(/\/\*$/.test(o)){if(n===o.replace(/\/.*$/,"")){return true}}else{if(t===o){return true}}}}catch(r){i.e(r)}finally{i.f()}return false};if(typeof jQuery!=="undefined"&&jQuery!==null){jQuery.fn.dropzone=function(r){return this.each((function(){return new C(this,r)}))}}C.ADDED="added";C.QUEUED="queued";C.ACCEPTED=C.QUEUED;C.UPLOADING="uploading";C.PROCESSING=C.UPLOADING;C.CANCELED="canceled";C.ERROR="error";C.SUCCESS="success";var M=function r(e){var t=e.naturalHeight;var n=document.createElement("canvas");n.width=1;n.height=t;var i=n.getContext("2d");i.drawImage(e,0,0);var a=i.getImageData(1,0,1,t),o=a.data;var u=0;var s=t;var f=t;while(f>u){var l=o[(f-1)*4+3];if(l===0){s=f}else{u=f}f=s+u>>1}var v=f/t;if(v===0){return 1}else{return v}};var U=function r(e,t,n,i,a,o,u,s,f,l){var v=M(t);return e.drawImage(t,n,i,a,o,u,s,f,l/v)};var O=function(){function r(){z(this,r)}x(r,null,[{key:"initClass",value:function r(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function r(e){var t="";var n=undefined;var i=undefined;var a="";var o=undefined;var u=undefined;var s=undefined;var f="";var l=0;while(true){n=e[l++];i=e[l++];a=e[l++];o=n>>2;u=(n&3)<<4|i>>4;s=(i&15)<<2|a>>6;f=a&63;if(isNaN(i)){s=f=64}else if(isNaN(a)){f=64}t=t+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(u)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(f);n=i=a="";o=u=s=f="";if(!(l<e.length)){break}}return t}},{key:"restore",value:function r(e,t){if(!e.match("data:image/jpeg;base64,")){return t}var n=this.decode64(e.replace("data:image/jpeg;base64,",""));var i=this.slice2Segments(n);var a=this.exifManipulation(t,i);return"data:image/jpeg;base64,".concat(this.encode64(a))}},{key:"exifManipulation",value:function r(e,t){var n=this.getExifArray(t);var i=this.insertExif(e,n);var a=new Uint8Array(i);return a}},{key:"getExifArray",value:function r(e){var t=undefined;var n=0;while(n<e.length){t=e[n];if(t[0]===255&t[1]===225){return t}n++}return[]}},{key:"insertExif",value:function r(e,t){var n=e.replace("data:image/jpeg;base64,","");var i=this.decode64(n);var a=i.indexOf(255,3);var o=i.slice(0,a);var u=i.slice(a);var s=o;s=s.concat(t);s=s.concat(u);return s}},{key:"slice2Segments",value:function r(e){var t=0;var n=[];while(true){var i;if(e[t]===255&e[t+1]===218){break}if(e[t]===255&e[t+1]===216){t+=2}else{i=e[t+2]*256+e[t+3];var a=t+i+2;var o=e.slice(t,a);n.push(o);t=a}if(t>e.length){break}}return n}},{key:"decode64",value:function r(e){var t=undefined;var n=undefined;var i="";var a=undefined;var o=undefined;var u=undefined;var s="";var f=0;var l=[];var v=/[^A-Za-z0-9\+\/\=]/g;if(v.exec(e)){console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding.")}e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(true){a=this.KEY_STR.indexOf(e.charAt(f++));o=this.KEY_STR.indexOf(e.charAt(f++));u=this.KEY_STR.indexOf(e.charAt(f++));s=this.KEY_STR.indexOf(e.charAt(f++));t=a<<2|o>>4;n=(o&15)<<4|u>>2;i=(u&3)<<6|s;l.push(t);if(u!==64){l.push(n)}if(s!==64){l.push(i)}t=n=i="";a=o=u=s="";if(!(f<e.length)){break}}return l}}]);return r}();O.initClass();var I=function r(e,t){var n=false;var i=true;var a=e.document;var o=a.documentElement;var u=a.addEventListener?"addEventListener":"attachEvent";var s=a.addEventListener?"removeEventListener":"detachEvent";var f=a.addEventListener?"":"on";var l=function r(i){if(i.type==="readystatechange"&&a.readyState!=="complete"){return}(i.type==="load"?e:a)[s](f+i.type,r,false);if(!n&&(n=true)){return t.call(e,i.type||i)}};var v=function r(){try{o.doScroll("left")}catch(e){setTimeout(r,50);return}return l("poll")};if(a.readyState!=="complete"){if(a.createEventObject&&o.doScroll){try{i=!e.frameElement}catch(r){}if(i){v()}}a[u](f+"DOMContentLoaded",l,false);a[u](f+"readystatechange",l,false);return e[u](f+"load",l,false)}};C._autoDiscoverFunction=function(){if(C.autoDiscover){return C.discover()}};I(window,C._autoDiscoverFunction);function L(r,e){return typeof r!=="undefined"&&r!==null?e(r):undefined}function B(r,e,t){if(typeof r!=="undefined"&&r!==null&&typeof r[e]==="function"){return t(r,e)}else{return undefined}}window.Dropzone=C;var P=C}();return n}()}));const s=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-upload{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;}stzh-upload[hidden]{display:none}stzh-upload *,stzh-upload *::before,stzh-upload *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}stzh-upload .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}stzh-upload .stzh-fylingfocus-focused{outline-style:none !important}stzh-upload .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}.stzh-upload{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);position:relative;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;}.stzh-upload__marker-symbol{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular)}.stzh-upload__marker-text{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-upload__description-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-upload__error,.stzh-upload__description{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-upload__error{color:var(--stzh-color-error)}.stzh-upload__error-list{list-style:none;margin:0;padding:0}.stzh-upload__description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-upload__description-long{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-upload__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-upload__description-long-popover[open]:not([open=false]) .stzh-upload__description-long-button{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__description-long-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-upload__description-long-button:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload stzh-icon.stzh-upload__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-xxsmall)}.stzh-upload__label{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title);font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing);color:var(--stzh-base-lead-color);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__label{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}.stzh-upload__clickarea{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);padding:var(--stzh-space-xxlarge);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;text-align:center;border:0.0625rem solid var(--stzh-base-border-color);border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD4SURBVHgB7dlBCoMwEAXQSXqBHsUj9ChWdK2eoN6gdi/W3shjtLssWxDTmZKFFGqhphDhPxBDIOEbJAyMIpYkSay1PvJwSxPjOO7btu1oBq8t3NqPFuxj+Dk1TVOpNE0PwzBcZLLrOkMBieNYDm7LH7DTPCgowJDCZTKvk+YTtRQ4yahpJRDUNwlaUuDkeiMAAFhGalEKXJZlOVdQ+kyBs9bWKEp8Q1DfENQ3VPg+ocIHAPAAFb5HqPD/YVVBjes+BMllM5soim78s175TX3f3ykgk/bNQ8kEdx0qDpsrpd5PtuRmVD23mWumfbs5ftqHMxl+SmmmPQHYcmyn56UnaQAAAABJRU5ErkJggg==\');border-image-slice:12;border-image-width:0.75rem;border-image-repeat:round;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 1024px){.stzh-upload__clickarea{padding:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-upload__clickarea{padding:var(--stzh-space-xxxxlarge)}}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload__clickarea{border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIpSURBVHgB7d3BbeJAFMbxsYXFlRLYDtgKllIsC0vcEiqIU8EmB04glu2EdEAHYTvgbgv2vawdcdokni/ikP9Pwp6YyB59YCcej/SS0MrzfDQYDG6sOW1fb2qa5tt2uz2ECHbcsR33OQhcoT/70+n0uNlstt2G9LWRprmtqvCOMM/n89FWi9jOu3Yf9yHCFfszsdx+zWaz225D4ouyLG9Wq9WjfzpZlo3quj7Yjo8B/2VBTpMkOVp2e8/QcvudFEWRe8r2xnd/I+DDLi4T95Zl6tdNP21GAX112f3wa+jEW+v1ehfQ16FdT9OAaJd/bwhUjEDFCFSMQMUIVIxAxQhU5+Vfpy7QqMEJhGCjTv8ynM/n4wAJv6cPAAAAAAAAAPBVMCiq44P1qc8au5zfiH4sw7umaZ67Z0p3AbEqX3SBMpVRhMfIYgQqRqBiBCpGoGIEKkagYgQqRqBiBCpGoGIEKkagYgSqwxx7JebYfwIeJwEAAAAAAAD4UhgU1WGOvRBz7PUqXzDHXozHyGIEKkagYgQqRqBiBCr2GqhXqwmI5oHuvJFl2TigFy+y0jb3HuiTt+q6pjpNT3bL+ZKd11Ya2A8Pdj9/9DpCZVlOvMgKdUHe5pdIP6v9i2jZ7e1buvBCVUn3C0VR3KZp+vMD+6wseMm8Uq9FZB9kFeJuga/Zn4Ud+8EbyeXWtraSlwOavGcvw+FwvFwu/4QIyhJqV+jPzl5PfpZ3BVb+AjID1CfgWYnZAAAAAElFTkSuQmCC\');border-image-slice:24}}.stzh-upload__button{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__button{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-upload__button{margin-top:var(--stzh-space-large)}}.stzh-upload stzh-icon.stzh-upload__delete-icon{display:none}.stzh-upload__preview{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border:0.0625rem solid var(--stzh-base-border-color);border-bottom:none;padding:var(--stzh-space-xsmall);padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-small)}.stzh-upload__preview:not(.dz-error):last-child,.stzh-upload:has(.stzh-upload__previews:empty) .stzh-upload__errors .stzh-upload__preview:last-child{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-upload__errors .stzh-upload__preview:first-child,.stzh-upload__errors:empty+.stzh-upload__previews>.stzh-upload__preview{border-top-left-radius:var(--stzh-button-border-radius);border-top-right-radius:var(--stzh-button-border-radius)}.stzh-upload__preview:last-child{border-bottom-left-radius:var(--stzh-button-border-radius);border-bottom-right-radius:var(--stzh-button-border-radius)}.stzh-upload:has(.stzh-upload__previews>.stzh-upload__preview) .stzh-upload__errors .stzh-upload__preview:last-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.stzh-upload__preview.dz-error .stzh-upload__title,.stzh-upload__preview.dz-error .stzh-upload__link[href]:not([href=""]),.stzh-upload__preview.dz-error .stzh-upload__link[href]:not([href=""]):hover{color:var(--stzh-color-error)}.stzh-upload__preview.dz-error .stzh-upload__error-message{display:block}.stzh-upload__preview.dz-error .stzh-upload__meta{display:none}.stzh-upload__preview.dz-complete:not(.dz-error) stzh-icon.stzh-upload__delete-icon-error{display:none}.stzh-upload__preview.dz-complete:not(.dz-error) stzh-icon.stzh-upload__delete-icon{display:-ms-inline-flexbox;display:inline-flex}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-processing{display:none}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-complete{display:-ms-flexbox;display:flex}.stzh-upload__preview.dz-empty .stzh-upload__extension::after{display:none}.stzh-upload__preview.dz-empty .stzh-upload__size{display:none}.stzh-upload__details{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;overflow:hidden}.stzh-upload__info-wrapper{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;overflow:hidden}.stzh-upload__info-wrapper-processing,.stzh-upload__info-wrapper-complete{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;overflow:hidden}.stzh-upload__info-wrapper-complete{display:none}.stzh-upload__actions{-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-upload__infos{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.stzh-upload__title,.stzh-upload__subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-upload__title{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-upload__link[href]:not([href=""]){color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__link[href]:not([href=""]):hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-upload__meta{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em}.stzh-upload__info-wrapper-processing .stzh-upload__meta{display:none}.stzh-upload__size strong{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular)}.stzh-upload__image{display:none}.stzh-upload__progress{display:block;height:0.5rem;border-radius:0.75rem;background-color:var(--stzh-color-grey13);margin-top:var(--stzh-space-xsmall)}.stzh-upload__progress-bar{display:block;height:100%;width:0;border-radius:0.75rem;background:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__progress-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium);font-variant-numeric:tabular-nums}.stzh-upload__extension{text-transform:uppercase}.stzh-upload__extension::after{content:" | "}.stzh-upload__extension:empty::after{display:none}.stzh-upload__download,.stzh-upload__delete{margin-left:var(--stzh-space-xsmall)}.stzh-upload__download[variant=tertiary][icon-only],.stzh-upload__delete[variant=tertiary][icon-only]{--color:var(--stzh-color-grey70)}.stzh-upload__download[variant=tertiary]{display:none}.stzh-upload__download[variant=tertiary][href]{display:-ms-flexbox;display:flex}.stzh-upload__error-message{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;color:var(--stzh-color-error);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);display:none}.stzh-upload.dz-started .stzh-upload__errors{margin-top:var(--stzh-space-small)}.stzh-upload:has(.stzh-upload__preview) .stzh-upload__errors{margin-top:var(--stzh-space-small)}.stzh-upload.dz-drag-hover .stzh-upload__clickarea{background-color:var(--stzh-color-primary4)}.stzh-upload.dz-drag-hover .stzh-upload__button{--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-upload--has-hidden-progress .stzh-upload__progress,.stzh-upload--has-hidden-progress .stzh-upload__progress-text,.stzh-upload--has-hidden-progress-while-idle .stzh-upload__preview:not(.dz-processing) .stzh-upload__progress,.stzh-upload--has-hidden-progress-while-idle .stzh-upload__preview:not(.dz-processing) .stzh-upload__progress-text{display:none}.stzh-upload--has-hidden-progress .stzh-upload__info-wrapper-processing .stzh-upload__meta,.stzh-upload--has-hidden-progress-while-idle .stzh-upload__preview:not(.dz-processing) .stzh-upload__info-wrapper-processing .stzh-upload__meta{display:block}.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD/SURBVHgB7dlBasJAFAbg/71supy16aI9Qm7Qo7QnsDlBvUHrCdqeKPUEXbUunY0gCPOcMQgimIWOMOL/bRJC8vgJITz4BVFX1c9ieI+nDnss4KXB3xcGdKhfRbfPHnXGHG+waRP+JzLT0VsI4RtY+QbeoyAdXHxxdw5V9SQ/Wi8sLB9LC7nT4cGJrn8RgxoKlzIqrgSD5qbxA21RuPR7AxERnSftoijcTO/H3J5yY9DcGDQ3Bs2NGz4R0a3ghp8RN/xLuKqgvm8fypTKhnjwGleoNlUkJYbtM62cQaayvaCjiZiMIQeFGELbhPnH4LC+TPscuufkORYLMUObyrQNlY5lla7HUdEAAAAASUVORK5CYII=\')}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIwSURBVHgB7d1NUhNBGIfxf3dKrdJNNlaJYTFu3Zg5gTlKbjByAuAEwgn0KHKCTk4gLhCrXJiFKy3mdXomCeoCQuYFFjy/DZOhauh6CGE+uqqDlpKGwxifVmZhoqCJNmD1xatS307VQ9KLIsTBZzm48/GYZhZ1XF6cfVztipfffTY1hYONYpoWJu31HXyWj9H83EP1cV/jCRoH04eknXf/7J/HnSp/zb+dpNE4v1uFayXtTnKvvD2Pu1XuFtJgNM2Vrf5Vlvo+E25s9TFhssPYxKy63U94V25t0LYLFt6GWRxZfjGuz4KwlaRiGOLvH3k7Cr2VOl2stgnqjKDOCOqMoM4I6oygzgjqpz11aoP2vjmB5k6XuobNWX4huMjX9AIAAAAAAACAh4Kbon5yy5hnjaX43/xG3Ng8vtzPLdtnSkFxX+ilnaysy6eeTGV0wmNkZwR1RlBnBHVGUGcEdUZQZwR1RlBnBHVGUGcEdUZQZwT1wxx7T8yxvwU8TgIAAAAAAADwoHBT1A9z7B0xx94Zc+xvCY+RnRHUGUGdEdQZQZ0R1Nk6KOt/+IjNGemnbvNRIWylueSctBtms2jBTrrdg4Wwpa6dWThu17FIcdReyyc9H69r40r5I3LZq2hfLxuuF1TJO5oX7zc9YJAdvKm/uswrzWsRWXM89bgEvs/xmOq9sj4/6sbxl6TRNARVeSWrTQ70uK6L1zr/oh48l1C78/E0/38shBPVP49KLdo/+z+8SbPi8H5KCQAAAABJRU5ErkJggg==\')}}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-small)}.stzh-upload--is-disabled .stzh-upload__clickarea{cursor:not-allowed;background-color:var(--stzh-color-black8)}';window.Dropzone.autoDiscover=false;const f="data-dz-name";const l="data-dz-type";const v="data-dz-size";const c="data-dz-link";const h="data-dz-extension";const d="data-dz-meta-id";const p="data-dz-error-message-id";const y="data-dz-progress-text";const g="data-dz-remove";let m=0;let b=0;const z=class{constructor(t){r(this,t);this.stzhFileAdded=e(this,"stzhFileAdded",7);this.stzhFilesAdded=e(this,"stzhFilesAdded",7);this.stzhFileRemove=e(this,"stzhFileRemove",7);this.stzhFileRemoved=e(this,"stzhFileRemoved",7);this.stzhSending=e(this,"stzhSending",7);this.stzhSendingMultiple=e(this,"stzhSendingMultiple",7);this.stzhProcessing=e(this,"stzhProcessing",7);this.stzhProcessingMultiple=e(this,"stzhProcessingMultiple",7);this.stzhProgress=e(this,"stzhProgress",7);this.stzhProgressTotal=e(this,"stzhProgressTotal",7);this.stzhError=e(this,"stzhError",7);this.stzhErrorMultiple=e(this,"stzhErrorMultiple",7);this.stzhSuccess=e(this,"stzhSuccess",7);this.stzhSuccessMultiple=e(this,"stzhSuccessMultiple",7);this.stzhCanceled=e(this,"stzhCanceled",7);this.stzhCanceledMultiple=e(this,"stzhCanceledMultiple",7);this.stzhComplete=e(this,"stzhComplete",7);this.stzhCompleteMultiple=e(this,"stzhCompleteMultiple",7);this._existingFiles=[];this.filesize=function(r){let e=0;let t="b";if(r>0){let n=["tb","gb","mb","kb","b"];for(let i=0;i<n.length;i++){let a=n[i];let o=Math.pow(this.options.filesizeBase,4-i)/10;if(r>=o){e=r/Math.pow(this.options.filesizeBase,4-i);t=a;break}}e=Math.round(e*100)/100}return`<strong>${e}</strong> ${this.options.dictFileSizeUnits[t]}`};this.filePreviewId=function(r){return`${this.uploadId}-${r._id}`};this.existingFiles=[];this.label="";this.description="";this.button="";this.url="";this.method="post";this.withCredentials=false;this.disabled=false;this.invalid=false;this.downloadDisabled=false;this.downloadDisabledWhileProcessing=false;this.error=undefined;this.acceptedFiles=null;this.autoProcessQueue=true;this.hideProgress=false;this.hideProgressWhileIdle=false;this.maxFiles=null;this.maxFilesize=25;this.parallelUploads=2;this.uploadMultiple=false;this.chunking=false;this.forceChunking=false;this.chunkSize=2*1024*1024;this.parallelChunkUploads=false;this.retryChunks=false;this.retryChunksLimit=3;this.filesizeBase=1024;this.headers=null;this.defaultHeaders=true;this.accept=function(r,e){return e()};this.chunksUploaded=function(r,e){e()};this.hiddenInputContainer=undefined;this.localization=undefined}maxFilesWatcher(r){this.dropzone.options.maxFiles=r}maxFilesizeWatcher(r){this.dropzone.options.maxFilesize=r}existingFilesWatcher(r){if(typeof r==="string"){this._existingFiles=JSON.parse(r)}else{this._existingFiles=r}}disabledWatcher(){if(!this.dropzone){return}if(this.disabled){this.dropzone.disable()}else{this.dropzone.enable()}}errorWatcher(r){if(typeof r==="string"){try{this._error=JSON.parse(r)}catch(e){if(r){this._error=[r]}else{this._error=[]}}}else if(r){this._error=r}else{this._error=[]}this.invalid=this._error.length>0}async processQueue(){return this.dropzone.processQueue()}async removeFile(r,e=false){return this.dropzone.removeFile(r,e)}async removeAllFiles(r=false,e=false){return this.dropzone.removeAllFiles(r,e)}async componentWillLoad(){this.uploadId=`stzh-upload-${m++}`;this.existingFilesWatcher(this.existingFiles);this.errorWatcher(this.error);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"upload")}}componentDidRender(){if(this.dropzone){return}const r=this;function e(e){let t=e.url||"";if(e.upload){t=URL.createObjectURL(e)}if(t){for(var n of e.previewElement.querySelectorAll(`[${c}]`)){n.setAttribute("href",t);n.setAttribute("download",e.name);const i=a(n);const o=r.filePreviewId(e);n.setAttribute(i?"analytics-id":"s-object-id",`${r.localization.downloadFile} ${e.name}`);n.setAttribute(i?"a11y-label":"aria-label",`${r.localization.downloadFile} ${e.name}`);n.setAttribute(i?"a11y-describedby":"aria-describedby",`${o}-error-message ${o}-meta`)}}}this.dropzone=new window.Dropzone(this.dropzoneElement,{previewsContainer:this.previewsElement,url:this.url,method:this.method,withCredentials:this.withCredentials,clickable:[this.clickareaElement],acceptedFiles:this.acceptedFiles,accept:this.accept,maxFiles:this.maxFiles,maxFilesize:this.maxFilesize,filesizeBase:this.filesizeBase,parallelUploads:this.parallelUploads,uploadMultiple:this.uploadMultiple,autoProcessQueue:this.autoProcessQueue,headers:this.headers,defaultHeaders:this.defaultHeaders,chunking:this.chunking,chunkSize:this.chunkSize,chunksUploaded:this.chunksUploaded,forceChunking:this.forceChunking,parallelChunkUploads:this.parallelChunkUploads,retryChunks:this.retryChunks,retryChunksLimit:this.retryChunksLimit,createImageThumbnails:false,hiddenInputContainer:this.hiddenInputContainer?this.hiddenInputContainer:this.hiddenInputContainerElement,dictFileSizeUnits:{tb:"TiB",gb:"GiB",mb:"MiB",kb:"KiB",b:"b"},dictRemoveFileConfirmation:null,dictMaxFilesExceeded:this.localization.maxFilesExceeded,dictRemoveFile:this.localization.removeFile,dictDeleteFile:this.localization.deleteFile,dictCancelUploadConfirmation:this.localization.cancelUploadConfirmation,dictUploadCanceled:this.localization.uploadCanceled,dictCancelUpload:this.localization.cancelUpload,dictResponseError:this.localization.responseError,dictInvalidFileType:this.localization.invalidFileType,dictFileTooBig:this.localization.fileTooBig,addedfile(t){t._id=b++;if(this.element===this.previewsContainer){this.element.classList.add("dz-started")}if(this.previewsContainer&&!this.options.disablePreviews){t.previewElement=window.Dropzone.createElement(this.options.previewTemplate.trim());t.previewTemplate=t.previewElement;this.previewsContainer.appendChild(t.previewElement);if(!t.size){t.previewElement.classList.add("dz-empty")}for(var n of t.previewElement.querySelectorAll(`[${f}]`)){n.textContent=t.name}for(n of t.previewElement.querySelectorAll(`[${v}]`)){n.innerHTML=r.filesize.call(this,t.size)}for(n of t.previewElement.querySelectorAll(`[${d}]`)){n.setAttribute("id",`${r.filePreviewId(t)}-meta`)}for(n of t.previewElement.querySelectorAll(`[${p}]`)){n.setAttribute("id",`${r.filePreviewId(t)}-error-message`)}if(this.options.addRemoveLinks){t._removeLink=window.Dropzone.createElement(`<a class="dz-remove" href="javascript:undefined;" ${g}>\n ${this.options.dictRemoveFile}\n </a>`);t.previewElement.appendChild(t._removeLink)}let i=r=>{r.preventDefault();r.stopPropagation();if(t.status===window.Dropzone.UPLOADING){return window.Dropzone.confirm(this.options.dictCancelUploadConfirmation,(()=>this.removeFile(t)))}else{if(this.options.dictRemoveFileConfirmation){return window.Dropzone.confirm(this.options.dictRemoveFileConfirmation,(()=>this.removeFile(t)))}else{return this.removeFile(t)}}};for(let e of t.previewElement.querySelectorAll(`[${g}]`)){e.addEventListener("click",i);const n=a(e);const o=r.filePreviewId(t);e.setAttribute(n?"analytics-id":"s-object-id",`${this.options.dictRemoveFile}`);e.setAttribute(n?"a11y-label":"aria-label",`${this.options.dictRemoveFile} ${t.name}`);e.setAttribute(n?"a11y-describedby":"aria-describedby",`${o}-error-message ${o}-meta`)}if(!r.downloadDisabled&&!r.downloadDisabledWhileProcessing){e(t)}}},complete(t){for(let e of t.previewElement.querySelectorAll(`[${g}]`)){const n=t.status==="error";const i=n?this.options.dictRemoveFile:this.options.dictDeleteFile;const o=a(e);const u=r.filePreviewId(t);e.setAttribute(o?"a11y-label":"aria-label",`${i} ${t.name}`);e.setAttribute(o?"a11y-describedby":"aria-describedby",`${u}-error-message ${u}-meta`)}if(t.status==="error"){r.errorsElement.appendChild(t.previewElement)}else if(!r.downloadDisabled&&r.downloadDisabledWhileProcessing){e(t)}if(t._removeLink){t._removeLink.innerHTML=this.options.dictRemoveFile}if(t.previewElement){return t.previewElement.classList.add("dz-complete")}},removedfile(e){if(e.previewElement!=null&&e.previewElement.parentNode!=null){e.previewElement.parentNode.removeChild(e.previewElement)}r.buttonElement.setFocus();return this._updateMaxFilesReachedClass()},error(e,t,n){if(e.previewElement){e.previewElement.classList.add("dz-error");if(typeof t!=="string"&&t.error){t=t.error}else if(n){if(n.status===401||n.status===403){t=r.localization.accessError}else if(n.status===413){t=r.localization.fileTooBigServer}else if(n.status===415){t=r.localization.invalidFileType}else if(n.status>=500){t=r.localization.serverError}else{const e=r.localization.responseError.replace("{{statusCode}}",n.status);t=e}}for(let r of e.previewElement.querySelectorAll("[data-dz-errormessage]")){r.textContent=t}}},previewTemplate:`\n <div class="stzh-upload__preview">\n <div class="stzh-upload__image">\n <img data-dz-thumbnail />\n </div>\n\n <div class="stzh-upload__details">\n <div class="stzh-upload__info-wrapper">\n <div class="stzh-upload__info-wrapper-processing">\n <div class="stzh-upload__infos">\n <div class="stzh-upload__subtitle">\n <a class="stzh-upload__link" ${f} ${c}></a>\n </div>\n <div class="stzh-upload__progress-text">\n <span ${y}></span>\n </div>\n </div>\n <div class="stzh-upload__meta">\n <span class="stzh-upload__extension" ${h}></span>\n <span class="stzh-upload__size" ${v}></span>\n </div>\n <div class="stzh-upload__progress">\n <span class="stzh-upload__progress-bar" data-dz-uploadprogress></span>\n </div>\n </div>\n <div class="stzh-upload__info-wrapper-complete">\n <div class="stzh-upload__title">\n <a class="stzh-upload__link" ${f} ${c}></a>\n </div>\n <div class="stzh-upload__meta" ${d}>\n <span class="stzh-upload__extension" ${h}></span>\n <span class="stzh-upload__size" ${v}></span>\n </div>\n <div class="stzh-upload__error-message" ${p}>\n <span data-dz-errormessage></span>\n </div>\n </div>\n </div>\n <div class="stzh-upload__actions">\n <stzh-button variant="tertiary" size="tiny" icon-only icon="download" class="stzh-upload__download" ${c}></stzh-button>\n <stzh-button variant="tertiary" size="tiny" icon-only class="stzh-upload__delete" ${g}>\n <stzh-icon slot="icon" class="stzh-upload__delete-icon" name="delete"></stzh-icon>\n <stzh-icon slot="icon" class="stzh-upload__delete-icon-error" name="close"></stzh-icon>\n </stzh-button>\n </div>\n </div>\n </div>\n `});this.disabledWatcher();this.dropzone.on("addedfile",(r=>this.stzhFileAdded.emit({component:"stzh-upload",file:r})));this.dropzone.on("addedfiles",(r=>this.stzhFilesAdded.emit({component:"stzh-upload",files:r})));this.dropzone.on("removefile",(r=>this.stzhFileRemove.emit({component:"stzh-upload",file:r}).defaultPrevented===false));this.dropzone.on("removedfile",((r,e)=>this.stzhFileRemoved.emit({component:"stzh-upload",file:r,force:e})));this.dropzone.on("sending",((r,e,t)=>this.stzhSending.emit({component:"stzh-upload",file:r,xhr:e,formData:t})));this.dropzone.on("sendingmultiple",((r,e,t)=>this.stzhSendingMultiple.emit({component:"stzh-upload",files:r,xhr:e,formData:t})));this.dropzone.on("processing",(r=>this.stzhProcessing.emit({component:"stzh-upload",file:r})));this.dropzone.on("processingmultiple",(r=>this.stzhProcessingMultiple.emit({component:"stzh-upload",files:r})));this.dropzone.on("uploadprogress",((r,e,t)=>this.stzhProgress.emit({component:"stzh-upload",file:r,progress:e,bytesSent:t})));this.dropzone.on("totaluploadprogress",((r,e,t)=>this.stzhProgressTotal.emit({component:"stzh-upload",totalUploadProgress:r,totalBytes:e,totalBytesSent:t})));this.dropzone.on("error",((r,e,t)=>this.stzhError.emit({component:"stzh-upload",file:r,message:e,xhr:t})));this.dropzone.on("errormultiple",((r,e,t)=>this.stzhErrorMultiple.emit({component:"stzh-upload",files:r,message:e,xhr:t})));this.dropzone.on("success",((r,e,t)=>this.stzhSuccess.emit({component:"stzh-upload",file:r,responseText:e,event:t})));this.dropzone.on("successmultiple",((r,e,t)=>this.stzhSuccessMultiple.emit({component:"stzh-upload",files:r,responseText:e,event:t})));this.dropzone.on("canceled",(r=>this.stzhCanceled.emit({component:"stzh-upload",file:r})));this.dropzone.on("canceledmultiple",(r=>this.stzhCanceledMultiple.emit({component:"stzh-upload",files:r})));this.dropzone.on("complete",(r=>this.stzhComplete.emit({component:"stzh-upload",file:r})));this.dropzone.on("completemultiple",(r=>this.stzhCompleteMultiple.emit({component:"stzh-upload",files:r})));this.dropzone.on("addedfile",(r=>{r.previewElement.querySelectorAll(`[${f}]`).forEach((e=>{e.setAttribute("title",r.name)}));r.previewElement.querySelectorAll(`[${l}]`).forEach((e=>{e.innerText=r.type}));r.previewElement.querySelectorAll(`[${h}]`).forEach((e=>{e.innerText=r.name.split(".").pop()}))}));this.dropzone.on("uploadprogress",((r,e)=>{r.previewElement.querySelectorAll(`[${y}]`).forEach((r=>{r.innerText=`${e.toString()}%`}))}));this._existingFiles.forEach((r=>{this.dropzone.displayExistingFile(r,null,null,null,null)}))}disconnectedCallback(){if(this.dropzone){this.dropzone.destroy();this.dropzone=null}}render(){const r=o(this.element,"error")||!!this.error;const e={"stzh-upload":true,"stzh-upload--is-invalid":this.invalid,"stzh-upload--is-disabled":this.disabled,"stzh-upload--has-hidden-progress":this.hideProgress,"stzh-upload--has-hidden-progress-while-idle":this.hideProgressWhileIdle,"stzh-upload--has-error":r,"stzh-upload--has-instructions":!!this.description||!!this.localization.description};return t(n,null,t("div",{class:e,ref:r=>this.dropzoneElement=r},t("div",{ref:r=>this.hiddenInputContainerElement=r}),t("div",{id:`${this.uploadId}-label`},this.label&&t("div",{class:"stzh-upload__label"},this.label)),t("div",{class:"stzh-upload__clickarea",ref:r=>this.clickareaElement=r},t("div",{class:"stzh-upload__instructions",id:`${this.uploadId}-instruction`},this.description?this.description:this.localization.description),t("stzh-button",{size:"small",class:"stzh-upload__button",ref:r=>this.buttonElement=r,a11yDescribedby:`${this.uploadId}-label ${this.uploadId}-instruction ${this.uploadId}-description`,disabled:this.disabled,a11yControls:`${this.uploadId}-previews`},this.button?this.button:this.localization.button)),t(u,{classPrefix:"stzh-upload",id:`${this.uploadId}-description`,error:this._error}),t("div",{id:`${this.uploadId}-previews`},t("div",{class:"stzh-upload__errors",ref:r=>this.errorsElement=r}),t("div",{class:"stzh-upload__previews dropzone-previews",ref:r=>this.previewsElement=r}))))}get element(){return i(this)}static get watchers(){return{maxFiles:["maxFilesWatcher"],maxFilesize:["maxFilesizeWatcher"],existingFiles:["existingFilesWatcher"],disabled:["disabledWatcher"],error:["errorWatcher"]}}};z.style=s;export{z as stzh_upload};
|
|
2
|
+
//# sourceMappingURL=p-c90cf7f4.entry.js.map
|