(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e909871c"],{"0538":function(t,r,e){"use strict";e.r(r);var n=function(){var t=this,r=t._self._c;return r("div",{staticClass:"main-content"},[r("breadcumb",{attrs:{page:"Tambah Usulan Projek",folder:"Usulan Projek",link:"/app/community/project-proposal"}}),r("b-card",{staticClass:"wrapper"},[r("b-form",{on:{submit:function(r){return r.preventDefault(),t.onSubmit.apply(null,arguments)}}},[r("b-row",[r("b-col",{attrs:{md:"12"}},[r("b-form-group",{attrs:{label:"Judul Projek*"}},[r("b-form-input",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],attrs:{type:"text",name:"judul",placeholder:"Judul Projek"},model:{value:t.form.campaign_proposal_title,callback:function(r){t.$set(t.form,"campaign_proposal_title",r)},expression:"form.campaign_proposal_title"}})],1),r("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("judul"),expression:"errors.has('judul')"}],staticClass:"text-danger text-capitalize"},[t._v(" "+t._s(t.errors.first("judul"))+" ")])],1),r("b-col",{attrs:{md:"12"}},[t.$route.params.uuid?r("b-row",{staticClass:"mb-3"},[r("b-col",{attrs:{md:"12"}},[r("p",{staticClass:"d-block mb-1"},[r("strong",[t._v("Foto terupload")])])]),t._l(t.getImageUpload,(function(e,n){return r("b-col",{key:n,staticClass:"mb-3",attrs:{md:"4"}},[r("div",{staticStyle:{position:"relative"}},[r("img",{attrs:{src:e}}),r("b-button",{staticStyle:{padding:"0.25rem 0.5rem",position:"absolute",top:"0px",left:"0px","border-radius":"0px"},attrs:{size:"sm",variant:"danger"},on:{click:function(r){return t.removeUploadImage(e)}}},[t._v("x")])],1)])}))],2):t._e(),r("b-form-group",{attrs:{label:t.$route.params.uuid?"Tambahkan Foto":"Foto*"}},[t._l(t.imagesForm,(function(e,n){return r("div",{key:n},[r("div",{staticClass:"d-flex align-items-center"},[r("input",{ref:"image".concat(e.id),refInFor:!0,attrs:{type:"file",accept:"image/png, image/jpeg, image/jpg"},on:{change:function(r){return t.uploadPhoto(r,e)}}}),n>0?r("b-button",{staticClass:"m-1",staticStyle:{padding:"0.25rem 0.5rem"},attrs:{size:"sm",variant:"outline-danger"},on:{click:function(r){return t.removeImageForm(e.id)}}},[t._v("x")]):t._e()],1),e.previewImageCrop?r("div",[r("vue-cropper",{ref:"cropper".concat(e.id),refInFor:!0,attrs:{guides:!0,"view-mode":2,"drag-mode":"crop","auto-crop-area":1,"min-container-width":250,"min-container-height":90,background:!0,rotatable:!0,aspectRatio:16/9,initialAspectRatio:16/9,src:e.previewImageCrop,alt:"Source Image","img-style":{width:"400px",height:"300px"}}}),r("div",{staticClass:"d-flex align-items-center mt-2"},[r("b-button",{staticClass:"mr-2",staticStyle:{padding:"0.25rem 0.5rem"},attrs:{variant:"primary"},on:{click:function(r){return t.cropImage(e)}}},[t._v("Crop")]),r("b-button",{staticClass:"mr-2",staticStyle:{padding:"0.25rem 0.5rem"},attrs:{variant:"success"},on:{click:function(r){return t.rotateImage(e.id)}}},[t._v("Rotate")])],1)],1):t._e(),e.imageCropped?r("div",{staticClass:"my-4"},[r("img",{staticStyle:{width:"400px",border:"1px solid gray"},attrs:{src:e.imageCropped,alt:"Cropped Image"}}),r("b-button",{staticClass:"ml-2",staticStyle:{padding:"0.25rem 0.5rem"},attrs:{variant:"danger"},on:{click:function(r){return t.removeCroppedImage(e)}}},[t._v("Remove")])],1):t._e()])})),r("b-button",{staticClass:"mt-2",staticStyle:{padding:"0.25rem 0.5rem"},attrs:{size:"sm",variant:"outline-dark"},on:{click:t.addImageForm}},[t._v("+ Photo")]),r("input",{directives:[{name:"model",rawName:"v-model",value:t.form.campaign_proposal_photos,expression:"form.campaign_proposal_photos"},{name:"validate",rawName:"v-validate",value:this.$route.params.uuid?null:"required",expression:"this.$route.params.uuid ? null : 'required'"}],attrs:{type:"hidden",name:"photo"},domProps:{value:t.form.campaign_proposal_photos},on:{input:function(r){r.target.composing||t.$set(t.form,"campaign_proposal_photos",r.target.value)}}}),r("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("photo"),expression:"errors.has('photo')"}],staticClass:"text-danger text-capitalize"},[t._v(" "+t._s(t.errors.first("photo"))+" ")])],2)],1),r("b-col",{attrs:{md:"12"}},[r("b-form-group",{attrs:{"label-for":"deskripsi projek",label:"Deskripsi*"}},[r("vue-editor",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],attrs:{editorOptions:{modules:{toolbar:t.textEditorToolbarOptions}},id:"descriptionProject",name:"deskripsi projek"},model:{value:t.form.campaign_proposal_description,callback:function(r){t.$set(t.form,"campaign_proposal_description",r)},expression:"form.campaign_proposal_description"}}),r("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("deskripsi projek"),expression:"errors.has('deskripsi projek')"}],staticClass:"text-danger text-capitalize"},[t._v(" "+t._s(t.errors.first("deskripsi projek"))+" ")])],1)],1),r("b-col",{attrs:{md:"12"}},[r("b-form-group",{attrs:{"label-for":"target nominal",label:"Target*"}},[r("b-form-input",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],attrs:{type:"number",placeholder:"Masukkan Target",name:"target nominal"},model:{value:t.form.campaign_proposal_target,callback:function(r){t.$set(t.form,"campaign_proposal_target",r)},expression:"form.campaign_proposal_target"}}),r("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("target nominal"),expression:"errors.has('target nominal')"}],staticClass:"text-danger text-capitalize"},[t._v(" "+t._s(t.errors.first("target nominal"))+" ")])],1)],1),r("b-col",{attrs:{md:"3",sm:"12"}},[r("b-form-group",{attrs:{"label-for":"campaign_proposal_target",label:"Tanggal target*"}},[r("b-form-input",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],attrs:{type:"date",name:"Tanggal target"},model:{value:t.form.campaign_proposal_target_date,callback:function(r){t.$set(t.form,"campaign_proposal_target_date",r)},expression:"form.campaign_proposal_target_date"}}),r("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("Tanggal target"),expression:"errors.has('Tanggal target')"}],staticClass:"text-danger text-capitalize"},[t._v(" "+t._s(t.errors.first("Tanggal target"))+" ")])],1)],1),r("b-col",{attrs:{md:"12"}},[r("b-button",{staticClass:"mt-3",attrs:{type:"submit",variant:"primary",disabled:t.isLoading}},[t._v("Add ")])],1)],1)],1)],1)],1)},a=[],o=e("c7eb"),i=e("1da1"),c=(e("99af"),e("4de4"),e("caad"),e("14d9"),e("fb6a"),e("c19f"),e("ace4"),e("2c66"),e("249d"),e("40e9"),e("e9f5"),e("910d"),e("7d54"),e("a732"),e("d3b7"),e("ac1f"),e("2532"),e("5319"),e("5cc6"),e("907a"),e("9a8c"),e("a975"),e("735e"),e("c1ac"),e("d139"),e("3a7b"),e("986a"),e("1d02"),e("d5d6"),e("82f8"),e("e91f"),e("60bd"),e("5f96"),e("3280"),e("3fcc"),e("ca91"),e("25a1"),e("cd26"),e("3c5d"),e("2954"),e("649e"),e("219c"),e("170b"),e("b39a"),e("6ce5"),e("2834"),e("72f7"),e("4ea1"),e("81b2"),e("159b"),e("0eb6"),e("b7ef"),e("8bd4"),e("e1bd")),s=e("95c3"),u=e.n(s),f=e("5873"),p=(e("6107"),{name:"ProjectProposalForm",components:{VueCropper:u.a,VueEditor:f["a"]},data:function(){return{isLoading:!1,textEditorToolbarOptions:[["bold","italic","underline","strike"],["blockquote"],[{header:[1,2,3,4,5,!1]}],[{align:[]}],[{list:"ordered"},{list:"bullet"}],["link"],["clean"]],form:{campaign_proposal_title:null,campaign_proposal_target:null,campaign_proposal_target_date:null,campaign_proposal_description:null,campaign_proposal_photos:[],uploaded_campaign_proposal_photos:[],delete_photos:[]},imagesForm:[{id:Object(c["a"])(3),file:null,previewImageCrop:null,imageCropped:null}]}},computed:{hasImageCropped:function(){return this.imagesForm.some((function(t){return t.imageCropped}))},getImageUpload:function(){var t=this;return this.form.uploaded_campaign_proposal_photos.filter((function(r){return!t.form.delete_photos.includes(t.extractImageFromPath(r))}))}},methods:{b64toBlob:function(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:512,n=atob(t),a=[],o=0;o=5?this.$store.dispatch("error","Maksimal 5 foto"):this.imagesForm.push({id:Object(c["a"])(3),file:null,previewImageCrop:null,imageCropped:null})},removeImageForm:function(t){this.imagesForm=this.imagesForm.filter((function(r){return r.id!==t}))},uploadPhoto:function(t,r){var e=t.target.files[0];if(e.type.includes("image/"))if(e.size>1048576)this.$store.dispatch("error","file terlalu besar, harus dibawah 900 kb");else if("function"===typeof FileReader){var n=new FileReader;n.onload=function(t){r.previewImageCrop=t.target.result},r.file=e,n.readAsDataURL(e)}else this.$store.dispatch("error","Sorry, FileReader API not supported");else this.$store.dispatch("error","Please select an photo")},cropImage:function(t){var r=t.id,e=this.$refs["cropper".concat(r)],n=e[0].getCroppedCanvas().toDataURL();t.imageCropped=n,t.previewImageCrop=null},rotateImage:function(t){var r=this.$refs["cropper".concat(t)];r[0].rotate(90)},removeCroppedImage:function(t){t.imageCropped=null,this.$refs["image".concat(t.id)][0].value=null},getDetail:function(){var t=this;return Object(i["a"])(Object(o["a"])().mark((function r(){var e;return Object(o["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return t.isLoading=!0,r.prev=1,r.next=4,t.$http.get("".concat("https://orchestrator.bwa.id/api/v1/","community/campaign-proposals/").concat(t.$route.params.uuid));case 4:e=r.sent,t.form.campaign_proposal_title=e.data.campaign_proposal_title,t.form.campaign_proposal_target=e.data.campaign_proposal_target,t.form.campaign_proposal_target_date=t.$moment(e.data.campaign_proposal_target_date).format("YYYY-MM-DD"),t.form.campaign_proposal_description=e.data.campaign_proposal_description,t.form.uploaded_campaign_proposal_photos=e.data.campaign_proposal_photos,t.isLoading=!1,r.next=17;break;case 13:r.prev=13,r.t0=r["catch"](1),t.isLoading=!1,t.$store.dispatch("error",r.t0);case 17:case"end":return r.stop()}}),r,null,[[1,13]])})))()}},mounted:function(){this.$route.params.uuid&&this.getDetail()}}),d=p,l=(e("4702"),e("2da1"),e("2877")),h=Object(l["a"])(d,n,a,!1,null,"67a99b38",null);r["default"]=h.exports},"083a":function(t,r,e){"use strict";var n=e("0d51"),a=TypeError;t.exports=function(t,r){if(!delete t[r])throw new a("Cannot delete property "+n(r)+" of "+n(t))}},"0b25":function(t,r,e){"use strict";var n=e("5926"),a=e("50c4"),o=RangeError;t.exports=function(t){if(void 0===t)return 0;var r=n(t),e=a(r);if(r!==e)throw new o("Wrong length or index");return e}},"0cb2":function(t,r,e){"use strict";var n=e("e330"),a=e("7b0b"),o=Math.floor,i=n("".charAt),c=n("".replace),s=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,r,e,n,p,d){var l=e+t.length,h=n.length,g=f;return void 0!==p&&(p=a(p),g=u),c(d,g,(function(a,c){var u;switch(i(c,0)){case"$":return"$";case"&":return t;case"`":return s(r,0,e);case"'":return s(r,l);case"<":u=p[s(c,1,-1)];break;default:var f=+c;if(0===f)return a;if(f>h){var d=o(f/10);return 0===d?a:d<=h?void 0===n[d-1]?i(c,1):n[d-1]+i(c,1):a}u=n[f-1]}return void 0===u?"":u}))}},"0eb6":function(t,r,e){"use strict";var n=e("23e7"),a=e("d066"),o=e("2a07"),i=e("d039"),c=e("7c73"),s=e("5c6c"),u=e("9bf2").f,f=e("cb2d"),p=e("edd0"),d=e("1a2d"),l=e("19aa"),h=e("825a"),g=e("aa1f"),v=e("e391"),b=e("cf98"),m=e("0d26"),y=e("69f3"),w=e("83ab"),_=e("c430"),A="DOMException",x="DATA_CLONE_ERR",E=a("Error"),T=a(A)||function(){try{var t=a("MessageChannel")||o("worker_threads").MessageChannel;(new t).port1.postMessage(new WeakMap)}catch(r){if(r.name===x&&25===r.code)return r.constructor}}(),I=T&&T.prototype,R=E.prototype,C=y.set,M=y.getterFor(A),O="stack"in new E(A),k=function(t){return d(b,t)&&b[t].m?b[t].c:0},L=function(){l(this,S);var t=arguments.length,r=v(t<1?void 0:arguments[0]),e=v(t<2?void 0:arguments[1],"Error"),n=k(e);if(C(this,{type:A,name:e,message:r,code:n}),w||(this.name=e,this.message=r,this.code=n),O){var a=new E(r);a.name=A,u(this,"stack",s(1,m(a.stack,1)))}},S=L.prototype=c(R),D=function(t){return{enumerable:!0,configurable:!0,get:t}},N=function(t){return D((function(){return M(this)[t]}))};w&&(p(S,"code",N("code")),p(S,"message",N("message")),p(S,"name",N("name"))),u(S,"constructor",s(1,L));var F=i((function(){return!(new T instanceof E)})),U=F||i((function(){return R.toString!==g||"2: 1"!==String(new T(1,2))})),B=F||i((function(){return 25!==new T(1,"DataCloneError").code})),$=F||25!==T[x]||25!==I[x],P=_?U||B||$:F;n({global:!0,constructor:!0,forced:P},{DOMException:P?L:T});var j=a(A),V=j.prototype;for(var W in U&&(_||T===j)&&f(V,"toString",g),B&&w&&T===j&&p(V,"code",D((function(){return k(h(this).name)}))),b)if(d(b,W)){var Y=b[W],z=Y.s,q=s(6,Y.c);d(j,z)||u(j,z,q),d(V,z)||u(V,z,q)}},"0ed6":function(t,r,e){},"13a6":function(t,r,e){"use strict";var n=Math.round;t.exports=function(t){var r=n(t);return r<0?0:r>255?255:255&r}},"145e":function(t,r,e){"use strict";var n=e("7b0b"),a=e("23cb"),o=e("07fa"),i=e("083a"),c=Math.min;t.exports=[].copyWithin||function(t,r){var e=n(this),s=o(e),u=a(t,s),f=a(r,s),p=arguments.length>2?arguments[2]:void 0,d=c((void 0===p?s:a(p,s))-f,s-u),l=1;f0)f in e?e[u]=e[f]:i(e,u),u+=l,f+=l;return e}},"14c3":function(t,r,e){"use strict";var n=e("c65b"),a=e("825a"),o=e("1626"),i=e("c6b6"),c=e("9263"),s=TypeError;t.exports=function(t,r){var e=t.exec;if(o(e)){var u=n(e,t,r);return null!==u&&a(u),u}if("RegExp"===i(t))return n(c,t,r);throw new s("RegExp#exec called on incompatible receiver")}},"170b":function(t,r,e){"use strict";var n=e("ebb5"),a=e("50c4"),o=e("23cb"),i=n.aTypedArray,c=n.getTypedArrayConstructor,s=n.exportTypedArrayMethod;s("subarray",(function(t,r){var e=i(this),n=e.length,s=o(t,n),u=c(e);return new u(e.buffer,e.byteOffset+s*e.BYTES_PER_ELEMENT,a((void 0===r?n:o(r,n))-s))}))},"182d":function(t,r,e){"use strict";var n=e("f8cd"),a=RangeError;t.exports=function(t,r){var e=n(t);if(e%r)throw new a("Wrong offset");return e}},"1d02":function(t,r,e){"use strict";var n=e("ebb5"),a=e("a258").findLastIndex,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("findLastIndex",(function(t){return a(o(this),t,arguments.length>1?arguments[1]:void 0)}))},2005:function(t,r,e){"use strict";var n=e("75bd"),a=TypeError;t.exports=function(t){if(n(t))throw new a("ArrayBuffer is detached");return t}},"219c":function(t,r,e){"use strict";var n=e("cfe9"),a=e("4625"),o=e("d039"),i=e("59ed"),c=e("addb"),s=e("ebb5"),u=e("3f7e"),f=e("99f4"),p=e("1212"),d=e("ea83"),l=s.aTypedArray,h=s.exportTypedArrayMethod,g=n.Uint16Array,v=g&&a(g.prototype.sort),b=!!v&&!(o((function(){v(new g(2),null)}))&&o((function(){v(new g(2),{})}))),m=!!v&&!o((function(){if(p)return p<74;if(u)return u<67;if(f)return!0;if(d)return d<602;var t,r,e=new g(516),n=Array(516);for(t=0;t<516;t++)r=t%4,e[t]=515-t,n[t]=t-2*r+3;for(v(e,(function(t,r){return(t/4|0)-(r/4|0)})),t=0;t<516;t++)if(e[t]!==n[t])return!0})),y=function(t){return function(r,e){return void 0!==t?+t(r,e)||0:e!==e?-1:r!==r?1:0===r&&0===e?1/r>0&&1/e<0?1:-1:r>e}};h("sort",(function(t){return void 0!==t&&i(t),m?v(this,t):c(l(this),y(t))}),!m||b)},"249d":function(t,r,e){"use strict";var n=e("23e7"),a=e("41f6");a&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return a(this,arguments.length?arguments[0]:void 0,!0)}})},"25a1":function(t,r,e){"use strict";var n=e("ebb5"),a=e("d58f").right,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("reduceRight",(function(t){var r=arguments.length;return a(o(this),t,r,r>1?arguments[1]:void 0)}))},2834:function(t,r,e){"use strict";var n=e("ebb5"),a=e("e330"),o=e("59ed"),i=e("dfb9"),c=n.aTypedArray,s=n.getTypedArrayConstructor,u=n.exportTypedArrayMethod,f=a(n.TypedArrayPrototype.sort);u("toSorted",(function(t){void 0!==t&&o(t);var r=c(this),e=i(s(r),r);return f(e,t)}))},2954:function(t,r,e){"use strict";var n=e("ebb5"),a=e("d039"),o=e("f36a"),i=n.aTypedArray,c=n.getTypedArrayConstructor,s=n.exportTypedArrayMethod,u=a((function(){new Int8Array(1).slice()}));s("slice",(function(t,r){var e=o(i(this),t,r),n=c(this),a=0,s=e.length,u=new n(s);while(s>a)u[a]=e[a++];return u}),u)},"2a07":function(t,r,e){"use strict";var n=e("cfe9"),a=e("9adc");t.exports=function(t){if(a){try{return n.process.getBuiltinModule(t)}catch(r){}try{return Function('return require("'+t+'")')()}catch(r){}}}},"2c66":function(t,r,e){"use strict";var n=e("83ab"),a=e("edd0"),o=e("75bd"),i=ArrayBuffer.prototype;n&&!("detached"in i)&&a(i,"detached",{configurable:!0,get:function(){return o(this)}})},"2da1":function(t,r,e){"use strict";e("7d25")},"30f2":function(t,r,e){"use strict";var n=e("dfb9"),a=e("ebb5").getTypedArrayConstructor;t.exports=function(t,r){return n(a(t),r)}},3280:function(t,r,e){"use strict";var n=e("ebb5"),a=e("2ba4"),o=e("e58c"),i=n.aTypedArray,c=n.exportTypedArrayMethod;c("lastIndexOf",(function(t){var r=arguments.length;return a(o,i(this),r>1?[t,arguments[1]]:[t])}))},"36f2":function(t,r,e){"use strict";var n,a,o,i,c=e("cfe9"),s=e("2a07"),u=e("dbe5"),f=c.structuredClone,p=c.ArrayBuffer,d=c.MessageChannel,l=!1;if(u)l=function(t){f(t,{transfer:[t]})};else if(p)try{d||(n=s("worker_threads"),n&&(d=n.MessageChannel)),d&&(a=new d,o=new p(2),i=function(t){a.port1.postMessage(null,[t])},2===o.byteLength&&(i(o),0===o.byteLength&&(l=i)))}catch(h){}t.exports=l},"3a7b":function(t,r,e){"use strict";var n=e("ebb5"),a=e("b727").findIndex,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("findIndex",(function(t){return a(o(this),t,arguments.length>1?arguments[1]:void 0)}))},"3c5d":function(t,r,e){"use strict";var n=e("cfe9"),a=e("c65b"),o=e("ebb5"),i=e("07fa"),c=e("182d"),s=e("7b0b"),u=e("d039"),f=n.RangeError,p=n.Int8Array,d=p&&p.prototype,l=d&&d.set,h=o.aTypedArray,g=o.exportTypedArrayMethod,v=!u((function(){var t=new Uint8ClampedArray(2);return a(l,t,{length:1,0:3},1),3!==t[1]})),b=v&&o.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var t=new p(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));g("set",(function(t){h(this);var r=c(arguments.length>1?arguments[1]:void 0,1),e=s(t);if(v)return a(l,this,e,r);var n=this.length,o=i(e),u=0;if(o+r>n)throw new f("Wrong length");while(u1?arguments[1]:void 0,(function(t,r){return new(i(t))(r)}))}))},"40e9":function(t,r,e){"use strict";var n=e("23e7"),a=e("41f6");a&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return a(this,arguments.length?arguments[0]:void 0,!1)}})},"41f6":function(t,r,e){"use strict";var n=e("cfe9"),a=e("e330"),o=e("7282"),i=e("0b25"),c=e("2005"),s=e("b620"),u=e("36f2"),f=e("dbe5"),p=n.structuredClone,d=n.ArrayBuffer,l=n.DataView,h=Math.min,g=d.prototype,v=l.prototype,b=a(g.slice),m=o(g,"resizable","get"),y=o(g,"maxByteLength","get"),w=a(v.getInt8),_=a(v.setInt8);t.exports=(f||u)&&function(t,r,e){var n,a=s(t),o=void 0===r?a:i(r),g=!m||!m(t);if(c(t),f&&(t=p(t,{transfer:[t]}),a===o&&(e||g)))return t;if(a>=o&&(!e||g))n=b(t,0,o);else{var v=e&&!g&&y?{maxByteLength:y(t)}:void 0;n=new d(o,v);for(var A=new l(t),x=new l(n),E=h(o,a),T=0;T")}));i("replace",(function(t,r,e){var o=M?"$":"$0";return[function(t,e){var n=h(this),o=f(t)?v(t,w):void 0;return o?a(o,t,n,e):a(r,l(n),t,e)},function(t,a){var i=s(this),c=l(t);if("string"==typeof a&&-1===T(a,o)&&-1===T(a,"$<")){var f=e(r,i,c,a);if(f.done)return f.value}var h=u(a);h||(a=l(a));var v,y=i.global;y&&(v=i.unicode,i.lastIndex=0);var w,C=[];while(1){if(w=m(i,c),null===w)break;if(E(C,w),!y)break;var M=l(w[0]);""===M&&(i.lastIndex=g(c,d(i.lastIndex),v))}for(var O="",k=0,L=0;L=k&&(O+=I(c,k,N)+S,k=N+D.length)}return O+I(c,k)}]}),!O||!C||M)},"5cc6":function(t,r,e){"use strict";var n=e("74e8");n("Uint8",(function(t){return function(r,e,n){return t(this,r,e,n)}}))},"5f96":function(t,r,e){"use strict";var n=e("ebb5"),a=e("e330"),o=n.aTypedArray,i=n.exportTypedArrayMethod,c=a([].join);i("join",(function(t){return c(o(this),t)}))},"60bd":function(t,r,e){"use strict";var n=e("cfe9"),a=e("d039"),o=e("e330"),i=e("ebb5"),c=e("e260"),s=e("b622"),u=s("iterator"),f=n.Uint8Array,p=o(c.values),d=o(c.keys),l=o(c.entries),h=i.aTypedArray,g=i.exportTypedArrayMethod,v=f&&f.prototype,b=!a((function(){v[u].call([1])})),m=!!v&&v.values&&v[u]===v.values&&"values"===v.values.name,y=function(){return p(h(this))};g("entries",(function(){return l(h(this))}),b),g("keys",(function(){return d(h(this))}),b),g("values",y,b||!m,{name:"values"}),g(u,y,b||!m,{name:"values"})},"621a":function(t,r,e){"use strict";var n=e("cfe9"),a=e("e330"),o=e("83ab"),i=e("4b11"),c=e("5e77"),s=e("9112"),u=e("edd0"),f=e("6964"),p=e("d039"),d=e("19aa"),l=e("5926"),h=e("50c4"),g=e("0b25"),v=e("be8e"),b=e("77a7"),m=e("e163"),y=e("d2bb"),w=e("81d5"),_=e("f36a"),A=e("7156"),x=e("e893"),E=e("d44e"),T=e("69f3"),I=c.PROPER,R=c.CONFIGURABLE,C="ArrayBuffer",M="DataView",O="prototype",k="Wrong length",L="Wrong index",S=T.getterFor(C),D=T.getterFor(M),N=T.set,F=n[C],U=F,B=U&&U[O],$=n[M],P=$&&$[O],j=Object.prototype,V=n.Array,W=n.RangeError,Y=a(w),z=a([].reverse),q=b.pack,G=b.unpack,H=function(t){return[255&t]},J=function(t){return[255&t,t>>8&255]},Q=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},X=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},K=function(t){return q(v(t),23,4)},Z=function(t){return q(t,52,8)},tt=function(t,r,e){u(t[O],r,{configurable:!0,get:function(){return e(this)[r]}})},rt=function(t,r,e,n){var a=D(t),o=g(e),i=!!n;if(o+r>a.byteLength)throw new W(L);var c=a.bytes,s=o+a.byteOffset,u=_(c,s,s+r);return i?u:z(u)},et=function(t,r,e,n,a,o){var i=D(t),c=g(e),s=n(+a),u=!!o;if(c+r>i.byteLength)throw new W(L);for(var f=i.bytes,p=c+i.byteOffset,d=0;d>24)},setUint8:function(t,r){ot(this,t,r<<24>>24)}},{unsafe:!0})}else U=function(t){d(this,B);var r=g(t);N(this,{type:C,bytes:Y(V(r),0),byteLength:r}),o||(this.byteLength=r,this.detached=!1)},B=U[O],$=function(t,r,e){d(this,P),d(t,B);var n=S(t),a=n.byteLength,i=l(r);if(i<0||i>a)throw new W("Wrong offset");if(e=void 0===e?a-i:h(e),i+e>a)throw new W(k);N(this,{type:M,buffer:t,byteLength:e,byteOffset:i,bytes:n.bytes}),o||(this.buffer=t,this.byteLength=e,this.byteOffset=i)},P=$[O],o&&(tt(U,"byteLength",S),tt($,"buffer",D),tt($,"byteLength",D),tt($,"byteOffset",D)),f(P,{getInt8:function(t){return rt(this,1,t)[0]<<24>>24},getUint8:function(t){return rt(this,1,t)[0]},getInt16:function(t){var r=rt(this,2,t,arguments.length>1&&arguments[1]);return(r[1]<<8|r[0])<<16>>16},getUint16:function(t){var r=rt(this,2,t,arguments.length>1&&arguments[1]);return r[1]<<8|r[0]},getInt32:function(t){return X(rt(this,4,t,arguments.length>1&&arguments[1]))},getUint32:function(t){return X(rt(this,4,t,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(t){return G(rt(this,4,t,arguments.length>1&&arguments[1]),23)},getFloat64:function(t){return G(rt(this,8,t,arguments.length>1&&arguments[1]),52)},setInt8:function(t,r){et(this,1,t,H,r)},setUint8:function(t,r){et(this,1,t,H,r)},setInt16:function(t,r){et(this,2,t,J,r,arguments.length>2&&arguments[2])},setUint16:function(t,r){et(this,2,t,J,r,arguments.length>2&&arguments[2])},setInt32:function(t,r){et(this,4,t,Q,r,arguments.length>2&&arguments[2])},setUint32:function(t,r){et(this,4,t,Q,r,arguments.length>2&&arguments[2])},setFloat32:function(t,r){et(this,4,t,K,r,arguments.length>2&&arguments[2])},setFloat64:function(t,r){et(this,8,t,Z,r,arguments.length>2&&arguments[2])}});E(U,C),E($,M),t.exports={ArrayBuffer:U,DataView:$}},"649e":function(t,r,e){"use strict";var n=e("ebb5"),a=e("b727").some,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("some",(function(t){return a(o(this),t,arguments.length>1?arguments[1]:void 0)}))},"6ce5":function(t,r,e){"use strict";var n=e("df7e"),a=e("ebb5"),o=a.aTypedArray,i=a.exportTypedArrayMethod,c=a.getTypedArrayConstructor;i("toReversed",(function(){return n(o(this),c(this))}))},"72f7":function(t,r,e){"use strict";var n=e("ebb5").exportTypedArrayMethod,a=e("d039"),o=e("cfe9"),i=e("e330"),c=o.Uint8Array,s=c&&c.prototype||{},u=[].toString,f=i([].join);a((function(){u.call({})}))&&(u=function(){return f(this)});var p=s.toString!==u;n("toString",u,p)},"735e":function(t,r,e){"use strict";var n=e("ebb5"),a=e("81d5"),o=e("f495"),i=e("f5df"),c=e("c65b"),s=e("e330"),u=e("d039"),f=n.aTypedArray,p=n.exportTypedArrayMethod,d=s("".slice),l=u((function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),1!==t}));p("fill",(function(t){var r=arguments.length;f(this);var e="Big"===d(i(this),0,3)?o(t):+t;return c(a,this,e,r>1?arguments[1]:void 0,r>2?arguments[2]:void 0)}),l)},"74e8":function(t,r,e){"use strict";var n=e("23e7"),a=e("cfe9"),o=e("c65b"),i=e("83ab"),c=e("8aa7"),s=e("ebb5"),u=e("621a"),f=e("19aa"),p=e("5c6c"),d=e("9112"),l=e("eac5"),h=e("50c4"),g=e("0b25"),v=e("182d"),b=e("13a6"),m=e("a04b"),y=e("1a2d"),w=e("f5df"),_=e("861d"),A=e("d9b5"),x=e("7c73"),E=e("3a9b"),T=e("d2bb"),I=e("241c").f,R=e("a078"),C=e("b727").forEach,M=e("2626"),O=e("edd0"),k=e("9bf2"),L=e("06cf"),S=e("dfb9"),D=e("69f3"),N=e("7156"),F=D.get,U=D.set,B=D.enforce,$=k.f,P=L.f,j=a.RangeError,V=u.ArrayBuffer,W=V.prototype,Y=u.DataView,z=s.NATIVE_ARRAY_BUFFER_VIEWS,q=s.TYPED_ARRAY_TAG,G=s.TypedArray,H=s.TypedArrayPrototype,J=s.isTypedArray,Q="BYTES_PER_ELEMENT",X="Wrong length",K=function(t,r){O(t,r,{configurable:!0,get:function(){return F(this)[r]}})},Z=function(t){var r;return E(W,t)||"ArrayBuffer"===(r=w(t))||"SharedArrayBuffer"===r},tt=function(t,r){return J(t)&&!A(r)&&r in t&&l(+r)&&r>=0},rt=function(t,r){return r=m(r),tt(t,r)?p(2,t[r]):P(t,r)},et=function(t,r,e){return r=m(r),!(tt(t,r)&&_(e)&&y(e,"value"))||y(e,"get")||y(e,"set")||e.configurable||y(e,"writable")&&!e.writable||y(e,"enumerable")&&!e.enumerable?$(t,r,e):(t[r]=e.value,t)};i?(z||(L.f=rt,k.f=et,K(H,"buffer"),K(H,"byteOffset"),K(H,"byteLength"),K(H,"length")),n({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:rt,defineProperty:et}),t.exports=function(t,r,e){var i=t.match(/\d+/)[0]/8,s=t+(e?"Clamped":"")+"Array",u="get"+t,p="set"+t,l=a[s],m=l,y=m&&m.prototype,w={},A=function(t,r){var e=F(t);return e.view[u](r*i+e.byteOffset,!0)},E=function(t,r,n){var a=F(t);a.view[p](r*i+a.byteOffset,e?b(n):n,!0)},O=function(t,r){$(t,r,{get:function(){return A(this,r)},set:function(t){return E(this,r,t)},enumerable:!0})};z?c&&(m=r((function(t,r,e,n){return f(t,y),N(function(){return _(r)?Z(r)?void 0!==n?new l(r,v(e,i),n):void 0!==e?new l(r,v(e,i)):new l(r):J(r)?S(m,r):o(R,m,r):new l(g(r))}(),t,m)})),T&&T(m,G),C(I(l),(function(t){t in m||d(m,t,l[t])})),m.prototype=y):(m=r((function(t,r,e,n){f(t,y);var a,c,s,u=0,p=0;if(_(r)){if(!Z(r))return J(r)?S(m,r):o(R,m,r);a=r,p=v(e,i);var d=r.byteLength;if(void 0===n){if(d%i)throw new j(X);if(c=d-p,c<0)throw new j(X)}else if(c=h(n)*i,c+p>d)throw new j(X);s=c/i}else s=g(r),c=s*i,a=new V(c);U(t,{buffer:a,byteOffset:p,byteLength:c,length:s,view:new Y(a)});while(u>1,v=23===r?o(2,-24)-o(2,-77):0,b=t<0||0===t&&1/t<0?1:0,m=0;t=a(t),t!==t||t===1/0?(f=t!==t?1:0,u=h):(u=i(c(t)/s),p=o(2,-u),t*p<1&&(u--,p*=2),t+=u+g>=1?v/p:v*o(2,1-g),t*p>=2&&(u++,p/=2),u+g>=h?(f=0,u=h):u+g>=1?(f=(t*p-1)*o(2,r),u+=g):(f=t*o(2,g-1)*o(2,r),u=0));while(r>=8)d[m++]=255&f,f/=256,r-=8;u=u<0)d[m++]=255&u,u/=256,l-=8;return d[m-1]|=128*b,d},f=function(t,r){var e,n=t.length,a=8*n-r-1,i=(1<>1,s=a-7,u=n-1,f=t[u--],p=127&f;f>>=7;while(s>0)p=256*p+t[u--],s-=8;e=p&(1<<-s)-1,p>>=-s,s+=r;while(s>0)e=256*e+t[u--],s-=8;if(0===p)p=1-c;else{if(p===i)return e?NaN:f?-1/0:1/0;e+=o(2,r),p-=c}return(f?-1:1)*e*o(2,p-r)};t.exports={pack:u,unpack:f}},"7d25":function(t,r,e){},"81b2":function(t,r,e){"use strict";var n=e("23e7"),a=e("cfe9"),o=e("d066"),i=e("e330"),c=e("c65b"),s=e("d039"),u=e("577e"),f=e("d6d6"),p=e("b917").c2i,d=/[^\d+/a-z]/i,l=/[\t\n\f\r ]+/g,h=/[=]{1,2}$/,g=o("atob"),v=String.fromCharCode,b=i("".charAt),m=i("".replace),y=i(d.exec),w=!!g&&!s((function(){return"hi"!==g("aGk=")})),_=w&&s((function(){return""!==g(" ")})),A=w&&!s((function(){g("a")})),x=w&&!s((function(){g()})),E=w&&1!==g.length,T=!w||_||A||x||E;n({global:!0,bind:!0,enumerable:!0,forced:T},{atob:function(t){if(f(arguments.length,1),w&&!_&&!A)return c(g,a,t);var r,e,n,i=m(u(t),l,""),s="",x=0,E=0;if(i.length%4===0&&(i=m(i,h,"")),r=i.length,r%4===1||y(d,i))throw new(o("DOMException"))("The string is not correctly encoded","InvalidCharacterError");while(x>(-2*E&6)));return s}})},"81d5":function(t,r,e){"use strict";var n=e("7b0b"),a=e("23cb"),o=e("07fa");t.exports=function(t){var r=n(this),e=o(r),i=arguments.length,c=a(i>1?arguments[1]:void 0,e),s=i>2?arguments[2]:void 0,u=void 0===s?e:a(s,e);while(u>c)r[c++]=t;return r}},"82e3":function(t,r,e){"use strict";var n=2220446049250313e-31,a=1/n;t.exports=function(t){return t+a-a}},"82f8":function(t,r,e){"use strict";var n=e("ebb5"),a=e("4d64").includes,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("includes",(function(t){return a(o(this),t,arguments.length>1?arguments[1]:void 0)}))},"8aa5":function(t,r,e){"use strict";var n=e("6547").charAt;t.exports=function(t,r,e){return r+(e?n(t,r).length:1)}},"8aa7":function(t,r,e){"use strict";var n=e("cfe9"),a=e("d039"),o=e("1c7e"),i=e("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,c=n.ArrayBuffer,s=n.Int8Array;t.exports=!i||!a((function(){s(1)}))||!a((function(){new s(-1)}))||!o((function(t){new s,new s(null),new s(1.5),new s(t)}),!0)||a((function(){return 1!==new s(new c(2),1,void 0).length}))},"8bd4":function(t,r,e){"use strict";var n=e("d066"),a=e("d44e"),o="DOMException";a(n(o),o)},"907a":function(t,r,e){"use strict";var n=e("ebb5"),a=e("07fa"),o=e("5926"),i=n.aTypedArray,c=n.exportTypedArrayMethod;c("at",(function(t){var r=i(this),e=a(r),n=o(t),c=n>=0?n:e+n;return c<0||c>=e?void 0:r[c]}))},"986a":function(t,r,e){"use strict";var n=e("ebb5"),a=e("a258").findLast,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("findLast",(function(t){return a(o(this),t,arguments.length>1?arguments[1]:void 0)}))},"99f4":function(t,r,e){"use strict";var n=e("b5db");t.exports=/MSIE|Trident/.test(n)},"9a8c":function(t,r,e){"use strict";var n=e("e330"),a=e("ebb5"),o=e("145e"),i=n(o),c=a.aTypedArray,s=a.exportTypedArrayMethod;s("copyWithin",(function(t,r){return i(c(this),t,r,arguments.length>2?arguments[2]:void 0)}))},a078:function(t,r,e){"use strict";var n=e("0366"),a=e("c65b"),o=e("5087"),i=e("7b0b"),c=e("07fa"),s=e("9a1f"),u=e("35a1"),f=e("e95a"),p=e("bcbf"),d=e("ebb5").aTypedArrayConstructor,l=e("f495");t.exports=function(t){var r,e,h,g,v,b,m,y,w=o(this),_=i(t),A=arguments.length,x=A>1?arguments[1]:void 0,E=void 0!==x,T=u(_);if(T&&!f(T)){m=s(_,T),y=m.next,_=[];while(!(b=a(y,m)).done)_.push(b.value)}for(E&&A>2&&(x=n(x,arguments[2])),e=c(_),h=new(d(w))(e),g=p(h),r=0;e>r;r++)v=E?x(_[r],r):_[r],h[r]=g?l(v):+v;return h}},a258:function(t,r,e){"use strict";var n=e("0366"),a=e("44ad"),o=e("7b0b"),i=e("07fa"),c=function(t){var r=1===t;return function(e,c,s){var u,f,p=o(e),d=a(p),l=i(d),h=n(c,s);while(l-- >0)if(u=d[l],f=h(u,l,p),f)switch(t){case 0:return u;case 1:return l}return r?-1:void 0}};t.exports={findLast:c(0),findLastIndex:c(1)}},a975:function(t,r,e){"use strict";var n=e("ebb5"),a=e("b727").every,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("every",(function(t){return a(o(this),t,arguments.length>1?arguments[1]:void 0)}))},aa1f:function(t,r,e){"use strict";var n=e("83ab"),a=e("d039"),o=e("825a"),i=e("e391"),c=Error.prototype.toString,s=a((function(){if(n){var t=Object.create(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==c.call(t))return!0}return"2: 1"!==c.call({message:1,name:2})||"Error"!==c.call({})}));t.exports=s?function(){var t=o(this),r=i(t.name,"Error"),e=i(t.message);return r?e?r+": "+e:r:e}:c},ace4:function(t,r,e){"use strict";var n=e("23e7"),a=e("4625"),o=e("d039"),i=e("621a"),c=e("825a"),s=e("23cb"),u=e("50c4"),f=i.ArrayBuffer,p=i.DataView,d=p.prototype,l=a(f.prototype.slice),h=a(d.getUint8),g=a(d.setUint8),v=o((function(){return!new f(2).slice(1,void 0).byteLength}));n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:v},{slice:function(t,r){if(l&&void 0===r)return l(c(this),t);var e=c(this).byteLength,n=s(t,e),a=s(void 0===r?e:r,e),o=new f(u(a-n)),i=new p(this),d=new p(o),v=0;while(n0)t[c]=t[--c];c!==s++&&(t[c]=i)}}else{var u=a(e/2),f=o(n(t,0,u),r),p=o(n(t,u),r),d=f.length,l=p.length,h=0,g=0;while(h1?arguments[1]:void 0);return o(this,r)}))},ca91:function(t,r,e){"use strict";var n=e("ebb5"),a=e("d58f").left,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("reduce",(function(t){var r=arguments.length;return a(o(this),t,r,r>1?arguments[1]:void 0)}))},cd26:function(t,r,e){"use strict";var n=e("ebb5"),a=n.aTypedArray,o=n.exportTypedArrayMethod,i=Math.floor;o("reverse",(function(){var t,r=this,e=a(r).length,n=i(e/2),o=0;while(o1?arguments[1]:void 0)}))},d429:function(t,r,e){"use strict";var n=e("07fa"),a=e("5926"),o=RangeError;t.exports=function(t,r,e,i){var c=n(t),s=a(e),u=s<0?c+s:s;if(u>=c||u<0)throw new o("Incorrect index");for(var f=new r(c),p=0;p=0:l>h;h+=g)h in d&&(f=e(f,d[h],h,p));return f}};t.exports={left:u(!1),right:u(!0)}},d5d6:function(t,r,e){"use strict";var n=e("ebb5"),a=e("b727").forEach,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("forEach",(function(t){a(o(this),t,arguments.length>1?arguments[1]:void 0)}))},d784:function(t,r,e){"use strict";e("ac1f");var n=e("c65b"),a=e("cb2d"),o=e("9263"),i=e("d039"),c=e("b622"),s=e("9112"),u=c("species"),f=RegExp.prototype;t.exports=function(t,r,e,p){var d=c(t),l=!i((function(){var r={};return r[d]=function(){return 7},7!==""[t](r)})),h=l&&!i((function(){var r=!1,e=/a/;return"split"===t&&(e={},e.constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return r=!0,null},e[d](""),!r}));if(!l||!h||e){var g=/./[d],v=r(d,""[t],(function(t,r,e,a,i){var c=r.exec;return c===o||c===f.exec?l&&!i?{done:!0,value:n(g,r,e,a)}:{done:!0,value:n(t,e,r,a)}:{done:!1}}));a(String.prototype,t,v[0]),a(f,d,v[1])}p&&s(f[d],"sham",!0)}},dbe5:function(t,r,e){"use strict";var n=e("cfe9"),a=e("d039"),o=e("1212"),i=e("8558"),c=n.structuredClone;t.exports=!!c&&!a((function(){if("DENO"===i&&o>92||"NODE"===i&&o>94||"BROWSER"===i&&o>97)return!1;var t=new ArrayBuffer(8),r=c(t,{transfer:[t]});return 0!==t.byteLength||8!==r.byteLength}))},df7e:function(t,r,e){"use strict";var n=e("07fa");t.exports=function(t,r){for(var e=n(t),a=new r(e),o=0;o2?e:n(r),i=new t(o);while(o>a)i[a]=r[a++];return i}},e1bd:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));let n=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((t,r)=>(r&=63,t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r>62?"-":"_",t),"")},e58c:function(t,r,e){"use strict";var n=e("2ba4"),a=e("fc6a"),o=e("5926"),i=e("07fa"),c=e("a640"),s=Math.min,u=[].lastIndexOf,f=!!u&&1/[1].lastIndexOf(1,-0)<0,p=c("lastIndexOf"),d=f||!p;t.exports=d?function(t){if(f)return n(u,this,arguments)||0;var r=a(this),e=i(r);if(0===e)return-1;var c=e-1;for(arguments.length>1&&(c=s(c,o(arguments[1]))),c<0&&(c=e+c);c>=0;c--)if(c in r&&r[c]===t)return c||0;return-1}:u},e91f:function(t,r,e){"use strict";var n=e("ebb5"),a=e("4d64").indexOf,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("indexOf",(function(t){return a(o(this),t,arguments.length>1?arguments[1]:void 0)}))},ea83:function(t,r,e){"use strict";var n=e("b5db"),a=n.match(/AppleWebKit\/(\d+)\./);t.exports=!!a&&+a[1]},eac5:function(t,r,e){"use strict";var n=e("861d"),a=Math.floor;t.exports=Number.isInteger||function(t){return!n(t)&&isFinite(t)&&a(t)===t}},ebb5:function(t,r,e){"use strict";var n,a,o,i=e("4b11"),c=e("83ab"),s=e("cfe9"),u=e("1626"),f=e("861d"),p=e("1a2d"),d=e("f5df"),l=e("0d51"),h=e("9112"),g=e("cb2d"),v=e("edd0"),b=e("3a9b"),m=e("e163"),y=e("d2bb"),w=e("b622"),_=e("90e3"),A=e("69f3"),x=A.enforce,E=A.get,T=s.Int8Array,I=T&&T.prototype,R=s.Uint8ClampedArray,C=R&&R.prototype,M=T&&m(T),O=I&&m(I),k=Object.prototype,L=s.TypeError,S=w("toStringTag"),D=_("TYPED_ARRAY_TAG"),N="TypedArrayConstructor",F=i&&!!y&&"Opera"!==d(s.opera),U=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$={BigInt64Array:8,BigUint64Array:8},P=function(t){if(!f(t))return!1;var r=d(t);return"DataView"===r||p(B,r)||p($,r)},j=function(t){var r=m(t);if(f(r)){var e=E(r);return e&&p(e,N)?e[N]:j(r)}},V=function(t){if(!f(t))return!1;var r=d(t);return p(B,r)||p($,r)},W=function(t){if(V(t))return t;throw new L("Target is not a typed array")},Y=function(t){if(u(t)&&(!y||b(M,t)))return t;throw new L(l(t)+" is not a typed array constructor")},z=function(t,r,e,n){if(c){if(e)for(var a in B){var o=s[a];if(o&&p(o.prototype,t))try{delete o.prototype[t]}catch(i){try{o.prototype[t]=r}catch(u){}}}O[t]&&!e||g(O,t,e?r:F&&I[t]||r,n)}},q=function(t,r,e){var n,a;if(c){if(y){if(e)for(n in B)if(a=s[n],a&&p(a,t))try{delete a[t]}catch(o){}if(M[t]&&!e)return;try{return g(M,t,e?r:F&&M[t]||r)}catch(o){}}for(n in B)a=s[n],!a||a[t]&&!e||g(a,t,r)}};for(n in B)a=s[n],o=a&&a.prototype,o?x(o)[N]=a:F=!1;for(n in $)a=s[n],o=a&&a.prototype,o&&(x(o)[N]=a);if((!F||!u(M)||M===Function.prototype)&&(M=function(){throw new L("Incorrect invocation")},F))for(n in B)s[n]&&y(s[n],M);if((!F||!O||O===k)&&(O=M.prototype,F))for(n in B)s[n]&&y(s[n].prototype,O);if(F&&m(C)!==O&&y(C,O),c&&!p(O,S))for(n in U=!0,v(O,S,{configurable:!0,get:function(){return f(this)?this[D]:void 0}}),B)s[n]&&h(s[n],D,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:F,TYPED_ARRAY_TAG:U&&D,aTypedArray:W,aTypedArrayConstructor:Y,exportTypedArrayMethod:z,exportTypedArrayStaticMethod:q,getTypedArrayConstructor:j,isView:P,isTypedArray:V,TypedArray:M,TypedArrayPrototype:O}},f495:function(t,r,e){"use strict";var n=e("c04e"),a=TypeError;t.exports=function(t){var r=n(t,"number");if("number"==typeof r)throw new a("Can't convert number to bigint");return BigInt(r)}},f748:function(t,r,e){"use strict";t.exports=Math.sign||function(t){var r=+t;return 0===r||r!==r?r:r<0?-1:1}},f8cd:function(t,r,e){"use strict";var n=e("5926"),a=RangeError;t.exports=function(t){var r=n(t);if(r<0)throw new a("The argument can't be less than 0");return r}},fc1b:function(t,r,e){"use strict";var n=e("f748"),a=e("82e3"),o=Math.abs,i=2220446049250313e-31;t.exports=function(t,r,e,c){var s=+t,u=o(s),f=n(s);if(ue||d!==d?f*(1/0):f*d}}}]);