vendor: 13,096 bytes, lines 1-11
1import{g as de,c as pe}from"./crypto-js-CJJSxndp-1789482017351.js";import{r as he}from"./vendor-DbsMbOVk-1789482017689.js";function ve(Gt,qt){for(var Kt=0;Kt<qt.length;Kt++){const Ct=qt[Kt];if(typeof Ct!="string"&&!Array.isArray(Ct)){for(const Tt in Ct)if(Tt!=="default"&&!(Tt in Gt)){const lt=Object.getOwnPropertyDescriptor(Ct,Tt);lt&&Object.defineProperty(Gt,Tt,lt.get?lt:{enumerable:!0,get:()=>Ct[Tt]})}}}return Object.freeze(Object.defineProperty(Gt,Symbol.toStringTag,{value:"Module"}))}var ue={exports:{}};/*! 2 * 3 * react-simple-keyboard v3.7.144 4 * https://github.com/hodgef/react-simple-keyboard 5 * 6 * Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors. 7 * 8 * This source code is licensed under the MIT license found in the 9 * LICENSE file in the root directory of this source tree. 10 * 11 */(function(Gt,qt){(function(Kt,Ct){Gt.exports=Ct(he)})(pe,function(Kt){return function(){var Ct={981:function(){typeof Element>"u"||"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),typeof self<"u"&&"document"in self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(z){if("Element"in z){var at="classList",ot="prototype",A=z.Element[ot],ft=Object,pt=String[ot].trim||function(){return this.replace(/^\s+|\s+$/g,"")},yt=Array[ot].indexOf||function(B){for(var L=0,Z=this.length;L<Z;L++)if(L in this&&this[L]===B)return L;return-1},wt=function(B,L){this.name=B,this.code=DOMException[B],this.message=L},vt=function(B,L){if(L==="")throw new wt("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(L))throw new wt("INVALID_CHARACTER_ERR","The token must not contain space characters.");return yt.call(B,L)},Bt=function(B){for(var L=pt.call(B.getAttribute("class")||""),Z=L?L.split(/\s+/):[],nt=0,mt=Z.length;nt<mt;nt++)this.push(Z[nt]);this._updateClassName=function(){B.setAttribute("class",this.toString())}},G=Bt[ot]=[],tt=function(){return new Bt(this)};if(wt[ot]=Error[ot],G.item=function(B){return this[B]||null},G.contains=function(B){return~vt(this,B+"")},G.add=function(){var B,L=arguments,Z=0,nt=L.length,mt=!1;do~vt(this,B=L[Z]+"")||(this.push(B),mt=!0);while(++Z<nt);mt&&this._updateClassName()},G.remove=function(){var B,L,Z=arguments,nt=0,mt=Z.length,At=!1;do for(L=vt(this,B=Z[nt]+"");~L;)this.splice(L,1),At=!0,L=vt(this,B);while(++nt<mt);At&&this._updateClassName()},G.toggle=function(B,L){var Z=this.contains(B),nt=Z?L!==!0&&"remove":L!==!1&&"add";return nt&&this[nt](B),L===!0||L===!1?L:!Z},G.replace=function(B,L){var Z=vt(B+"");~Z&&(this.splice(Z,1,L),this._updateClassName())},G.toString=function(){return this.join(" ")},ft.defineProperty){var it={get:tt,enumerable:!0,configurable:!0};try{ft.defineProperty(A,at,it)}catch(B){B.number!==void 0&&B.number!==-2146823252||(it.enumerable=!1,ft.defineProperty(A,at,it))}}else ft[ot].__defineGetter__&&A.__defineGetter__(at,tt)}}(self),function(){var z=document.createElement("_");if(z.classList.add("c1","c2"),!z.classList.contains("c2")){var at=function(A){var ft=DOMTokenList.prototype[A];DOMTokenList.prototype[A]=function(pt){var yt,wt=arguments.length;for(yt=0;yt<wt;yt++)pt=arguments[yt],ft.call(this,pt)}};at("add"),at("remove")}if(z.classList.toggle("c3",!1),z.classList.contains("c3")){var ot=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(A,ft){return 1 in arguments&&!this.contains(A)==!ft?ft:ot.call(this,A)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(A,ft){var pt=this.toString().split(" "),yt=pt.indexOf(A+"");~yt&&(pt=pt.slice(yt),this.remove.apply(this,pt),this.add(ft),this.add.apply(this,pt.slice(1)))}),z=null}())},548:function(z){z.exports=function(){var at={9306:function(i,s,t){var e=t(4901),n=t(6823),r=TypeError;i.exports=function(o){if(e(o))return o;throw new r(n(o)+" is not a function")}},5548:function(i,s,t){var e=t(3517),n=t(6823),r=TypeError;i.exports=function(o){if(e(o))return o;throw new r(n(o)+" is not a constructor")}},3506:function(i,s,t){var e=t(3925),n=String,r=TypeError;i.exports=function(o){if(e(o))return o;throw new r("Can't set "+n(o)+" as a prototype")}},6469:function(i,s,t){var e=t(8227),n=t(2360),r=t(4913).f,o=e("unscopables"),a=Array.prototype;a[o]===void 0&&r(a,o,{configurable:!0,value:n(null)}),i.exports=function(u){a[o][u]=!0}},7829:function(i,s,t){var e=t(8183).charAt;i.exports=function(n,r,o){return r+(o?e(n,r).length:1)}},8551:function(i,s,t){var e=t(34),n=String,r=TypeError;i.exports=function(o){if(e(o))return o;throw new r(n(o)+" is not an object")}},235:function(i,s,t){var e=t(9213).forEach,n=t(4598)("forEach");i.exports=n?[].forEach:function(r){return e(this,r,arguments.length>1?arguments[1]:void 0)}},7916:function(i,s,t){var e=t(6080),n=t(9565),r=t(8981),o=t(6319),a=t(4209),u=t(3517),l=t(6198),c=t(4659),f=t(81),v=t(851),d=Array;i.exports=function(p){var g=r(p),h=u(this),y=arguments.length,m=y>1?arguments[1]:void 0,b=m!==void 0;b&&(m=e(m,y>2?arguments[2]:void 0));var E,x,k,S,w,P,I=v(g),O=0;if(!I||this===d&&a(I))for(E=l(g),x=h?new this(E):d(E);E>O;O++)P=b?m(g[O],O):g[O],c(x,O,P);else for(x=h?new this:[],w=(S=f(g,I)).next;!(k=n(w,S)).done;O++)P=b?o(S,m,[k.value,O],!0):k.value,c(x,O,P);return x.length=O,x}},9617:function(i,s,t){var e=t(5397),n=t(5610),r=t(6198),o=function(a){return function(u,l,c){var f=e(u),v=r(f);if(v===0)return!a&&-1;var d,p=n(c,v);if(a&&l!=l){for(;v>p;)if((d=f[p++])!=d)return!0}else for(;v>p;p++)if((a||p in f)&&f[p]===l)return a||p||0;return!a&&-1}};i.exports={includes:o(!0),indexOf:o(!1)}},9213:function(i,s,t){var e=t(6080),n=t(9504),r=t(7055),o=t(8981),a=t(6198),u=t(1469),l=n([].push),c=function(f){var v=f===1,d=f===2,p=f===3,g=f===4,h=f===6,y=f===7,m=f===5||h;return function(b,E,x,k){for(var S,w,P=o(b),I=r(P),O=a(I),j=e(E,x),C=0,M=k||u,Y=v?M(b,O):d||y?M(b,0):void 0;O>C;C++)if((m||C in I)&&(w=j(S=I[C],C,P),f))if(v)Y[C]=w;else if(w)switch(f){case 3:return!0;case 5:return S;case 6:return C;case 2:l(Y,S)}else switch(f){case 4:return!1;case 7:l(Y,S)}return h?-1:p||g?g:Y}};i.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},597:function(i,s,t){var e=t(9039),n=t(8227),r=t(9519),o=n("species");i.exports=function(a){return r>=51||!e(function(){var u=[];return(u.constructor={})[o]=function(){return{foo:1}},u[a](Boolean).foo!==1})}},4598:function(i,s,t){var e=t(9039);i.exports=function(n,r){var o=[][n];return!!o&&e(function(){o.call(null,r||function(){return 1},1)})}},926:function(i,s,t){var e=t(9306),n=t(8981),r=t(7055),o=t(6198),a=TypeError,u="Reduce of empty array with no initial value",l=function(c){return function(f,v,d,p){var g=n(f),h=r(g),y=o(g);if(e(v),y===0&&d<2)throw new a(u);var m=c?y-1:0,b=c?-1:1;if(d<2)for(;;){if(m in h){p=h[m],m+=b;break}if(m+=b,c?m<0:y<=m)throw new a(u)}for(;c?m>=0:y>m;m+=b)m in h&&(p=v(p,h[m],m,g));return p}};i.exports={left:l(!1),right:l(!0)}},4527:function(i,s,t){var e=t(3724),n=t(4376),r=TypeError,o=Object.getOwnPropertyDescriptor,a=e&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}}();i.exports=a?function(u,l){if(n(u)&&!o(u,"length").writable)throw new r("Cannot set read only .length");return u.length=l}:function(u,l){return u.length=l}},7680:function(i,s,t){var e=t(9504);i.exports=e([].slice)},4488:function(i,s,t){var e=t(7680),n=Math.floor,r=function(o,a){var u=o.length;if(u<8)for(var l,c,f=1;f<u;){for(c=f,l=o[f];c&&a(o[c-1],l)>0;)o[c]=o[--c];c!==f++&&(o[c]=l)}else for(var v=n(u/2),d=r(e(o,0,v),a),p=r(e(o,v),a),g=d.length,h=p.length,y=0,m=0;y<g||m<h;)o[y+m]=y<g&&m<h?a(d[y],p[m])<=0?d[y++]:p[m++]:y<g?d[y++]:p[m++];return o};i.exports=r},7433:function(i,s,t){var e=t(4376),n=t(3517),r=t(34),o=t(8227)("species"),a=Array;i.exports=function(u){var l;return e(u)&&(l=u.constructor,(n(l)&&(l===a||e(l.prototype))||r(l)&&(l=l[o])===null)&&(l=void 0)),l===void 0?a:l}},1469:function(i,s,t){var e=t(7433);i.exports=function(n,r){return new(e(n))(r===0?0:r)}},6319:function(i,s,t){var e=t(8551),n=t(9539);i.exports=function(r,o,a,u){try{return u?o(e(a)[0],a[1]):o(a)}catch(l){n(r,"throw",l)}}},4428:function(i,s,t){var e=t(8227)("iterator"),n=!1;try{var r=0,o={next:function(){return{done:!!r++}},return:function(){n=!0}};o[e]=function(){return this},Array.from(o,function(){throw 2})}catch{}i.exports=function(a,u){try{if(!u&&!n)return!1}catch{return!1}var l=!1;try{var c={};c[e]=function(){return{next:function(){return{done:l=!0}}}},a(c)}catch{}return l}},2195:function(i,s,t){var e=t(9504),n=e({}.toString),r=e("".slice);i.exports=function(o){return r(n(o),8,-1)}},6955:function(i,s,t){var e=t(2140),n=t(4901),r=t(2195),o=t(8227)("toStringTag"),a=Object,u=r(function(){return arguments}())==="Arguments";i.exports=e?r:function(l){var c,f,v;return l===void 0?"Undefined":l===null?"Null":typeof(f=function(d,p){try{return d[p]}catch{}}(c=a(l),o))=="string"?f:u?r(c):(v=r(c))==="Object"&&n(c.callee)?"Arguments":v}},7740:function(i,s,t){var e=t(9297),n=t(5031),r=t(7347),o=t(4913);i.exports=function(a,u,l){for(var c=n(u),f=o.f,v=r.f,d=0;d<c.length;d++){var p=c[d];e(a,p)||l&&e(l,p)||f(a,p,v(u,p))}}},1436:function(i,s,t){var e=t(8227)("match");i.exports=function(n){var r=/./;try{"/./"[n](r)}catch{try{return r[e]=!1,"/./"[n](r)}catch{}}return!1}},2211:function(i,s,t){var e=t(9039);i.exports=!e(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype})},2529:function(i){i.exports=function(s,t){return{value:s,done:t}}},6699:function(i,s,t){var e=t(3724),n=t(4913),r=t(6980);i.exports=e?function(o,a,u){return n.f(o,a,r(1,u))}:function(o,a,u){return o[a]=u,o}},6980:function(i){i.exports=function(s,t){return{enumerable:!(1&s),configurable:!(2&s),writable:!(4&s),value:t}}},4659:function(i,s,t){var e=t(3724),n=t(4913),r=t(6980);i.exports=function(o,a,u){e?n.f(o,a,r(0,u)):o[a]=u}},3640:function(i,s,t){var e=t(8551),n=t(4270),r=TypeError;i.exports=function(o){if(e(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new r("Incorrect hint");return n(this,o)}},2106:function(i,s,t){var e=t(283),n=t(4913);i.exports=function(r,o,a){return a.get&&e(a.get,o,{getter:!0}),a.set&&e(a.set,o,{setter:!0}),n.f(r,o,a)}},6840:function(i,s,t){var e=t(4901),n=t(4913),r=t(283),o=t(9433);i.exports=function(a,u,l,c){c||(c={});var f=c.enumerable,v=c.name!==void 0?c.name:u;if(e(l)&&r(l,v,c),c.global)f?a[u]=l:o(u,l);else{try{c.unsafe?a[u]&&(f=!0):delete a[u]}catch{}f?a[u]=l:n.f(a,u,{value:l,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return a}},9433:function(i,s,t){var e=t(4576),n=Object.defineProperty;i.exports=function(r,o){try{n(e,r,{value:o,configurable:!0,writable:!0})}catch{e[r]=o}return o}},4606:function(i,s,t){var e=t(6823),n=TypeError;i.exports=function(r,o){if(!delete r[o])throw new n("Cannot delete property "+e(o)+" of "+e(r))}},3724:function(i,s,t){var e=t(9039);i.exports=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},4055:function(i,s,t){var e=t(4576),n=t(34),r=e.document,o=n(r)&&n(r.createElement);i.exports=function(a){return o?r.createElement(a):{}}},6837:function(i){var s=TypeError;i.exports=function(t){if(t>9007199254740991)throw s("Maximum allowed index exceeded");return t}},7400:function(i){i.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}},9296:function(i,s,t){var e=t(4055)("span").classList,n=e&&e.constructor&&e.constructor.prototype;i.exports=n===Object.prototype?void 0:n},8727:function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3709:function(i,s,t){var e=t(2839).match(/firefox\/(\d+)/i);i.exports=!!e&&+e[1]},3763:function(i,s,t){var e=t(2839);i.exports=/MSIE|Trident/.test(e)},6193:function(i,s,t){var e=t(4215);i.exports=e==="NODE"},2839:function(i,s,t){var e=t(4576).navigator,n=e&&e.userAgent;i.exports=n?String(n):""},9519:function(i,s,t){var e,n,r=t(4576),o=t(2839),a=r.process,u=r.Deno,l=a&&a.versions||u&&u.version,c=l&&l.v8;c&&(n=(e=c.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!n&&o&&(!(e=o.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=o.match(/Chrome\/(\d+)/))&&(n=+e[1]),i.exports=n},3607:function(i,s,t){var e=t(2839).match(/AppleWebKit\/(\d+)\./);i.exports=!!e&&+e[1]},4215:function(i,s,t){var e=t(4576),n=t(2839),r=t(2195),o=function(a){return n.slice(0,a.length)===a};i.exports=o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":e.Bun&&typeof Bun.version=="str
11ing"?"BUN":e.Deno&&typeof Deno.version=="object"?"DENO":r(e.process)==="process"?"NODE":e.window&&e.document?"BROWSER":"REST"},6518:function(i,s,t){var e=t(4576),n=t(7347).f,r=t(6699),o=t(6840),a=t(9433),u=t(7740),l=t(2796);i.exports=function(c,f){var v,d,p,g,h,y=c.target,m=c.global,b=c.stat;if(v=m?e:b?e[y]||a(y,{}):e[y]&&e[y].prototype)for(d in f){if(g=f[d],p=c.dontCallGetSet?(h=n(v,d))&&h.value:v[d],!l(m?d:y+(b?".":"#")+d,c.forced)&&p!==void 0){if(typeof g==typeof p)continue;u(g,p)}(c.sham||p&&p.sham)&&r(g,"sham",!0),o(v,d,g,c)}}},9039:function(i){i.exports=function(s){try{return!!s()}catch{return!0}}},9228:function(i,s,t){t(7495);var e=t(9565),n=t(6840),r=t(7323),o=t(9039),a=t(8227),u=t(6699),l=a("species"),c=RegExp.prototype;i.exports=function(f,v,d,p){var g=a(f),h=!o(function(){var E={};return E[g]=function(){return 7},""[f](E)!==7}),y=h&&!o(function(){var E=!1,x=/a/;return f==="split"&&((x={}).constructor={},x.constructor[l]=function(){return x},x.flags="",x[g]=/./[g]),x.exec=function(){return E=!0,null},x[g](""),!E});if(!h||!y||d){var m=/./[g],b=v(g,""[f],function(E,x,k,S,w){var P=x.exec;return P===r||P===c.exec?h&&!w?{done:!0,value:e(m,x,k,S)}:{done:!0,value:e(E,k,x,S)}:{done:!1}});n(String.prototype,f,b[0]),n(c,g,b[1])}p&&u(c[g],"sham",!0)}},8745:function(i,s,t){var e=t(616),n=Function.prototype,r=n.apply,o=n.call;i.exports=typeof Reflect=="object"&&Reflect.apply||(e?o.bind(r):function(){return o.apply(r,arguments)})},6080:function(i,s,t){var e=t(7476),n=t(9306),r=t(616),o=e(e.bind);i.exports=function(a,u){return n(a),u===void 0?a:r?o(a,u):function(){return a.apply(u,arguments)}}},616:function(i,s,t){var e=t(9039);i.exports=!e(function(){var n=(function(){}).bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},9565:function(i,s,t){var e=t(616),n=Function.prototype.call;i.exports=e?n.bind(n):function(){return n.apply(n,arguments)}},350:function(i,s,t){var e=t(3724),n=t(9297),r=Function.prototype,o=e&&Object.getOwnPropertyDescriptor,a=n(r,"name"),u=a&&(function(){}).name==="something",l=a&&(!e||e&&o(r,"name").configurable);i.exports={EXISTS:a,PROPER:u,CONFIGURABLE:l}},6706:function(i,s,t){var e=t(9504),n=t(9306);i.exports=function(r,o,a){try{return e(n(Object.getOwnPropertyDescriptor(r,o)[a]))}catch{}}},7476:function(i,s,t){var e=t(2195),n=t(9504);i.exports=function(r){if(e(r)==="Function")return n(r)}},9504:function(i,s,t){var e=t(616),n=Function.prototype,r=n.call,o=e&&n.bind.bind(r,r);i.exports=e?o:function(a){return function(){return r.apply(a,arguments)}}},7751:function(i,s,t){var e=t(4576),n=t(4901);i.exports=function(r,o){return arguments.length<2?(a=e[r],n(a)?a:void 0):e[r]&&e[r][o];var a}},851:function(i,s,t){var e=t(6955),n=t(5966),r=t(4117),o=t(6269),a=t(8227)("iterator");i.exports=function(u){if(!r(u))return n(u,a)||n(u,"@@iterator")||o[e(u)]}},81:function(i,s,t){var e=t(9565),n=t(9306),r=t(8551),o=t(6823),a=t(851),u=TypeError;i.exports=function(l,c){var f=arguments.length<2?a(l):c;if(n(f))return r(e(f,l));throw new u(o(l)+" is not iterable")}},6933:function(i,s,t){var e=t(9504),n=t(4376),r=t(4901),o=t(2195),a=t(655),u=e([].push);i.exports=function(l){if(r(l))return l;if(n(l)){for(var c=l.length,f=[],v=0;v<c;v++){var d=l[v];typeof d=="string"?u(f,d):typeof d!="number"&&o(d)!=="Number"&&o(d)!=="String"||u(f,a(d))}var p=f.length,g=!0;return function(h,y){if(g)return g=!1,y;if(n(this))return y;for(var m=0;m<p;m++)if(f[m]===h)return y}}}},5966:function(i,s,t){var e=t(9306),n=t(4117);i.exports=function(r,o){var a=r[o];return n(a)?void 0:e(a)}},2478:function(i,s,t){var e=t(9504),n=t(8981),r=Math.floor,o=e("".charAt),a=e("".replace),u=e("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;i.exports=function(f,v,d,p,g,h){var y=d+f.length,m=p.length,b=c;return g!==void 0&&(g=n(g),b=l),a(h,b,function(E,x){var k;switch(o(x,0)){case"$":return"$";case"&":return f;case"`":return u(v,0,d);case"'":return u(v,y);case"<":k=g[u(x,1,-1)];break;default:var S=+x;if(S===0)return E;if(S>m){var w=r(S/10);return w===0?E:w<=m?p[w-1]===void 0?o(x,1):p[w-1]+o(x,1):E}k=p[S-1]}return k===void 0?"":k})}},4576:function(i,s,t){var e=function(n){return n&&n.Math===Math&&n};i.exports=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof t.g=="object"&&t.g)||e(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},9297:function(i,s,t){var e=t(9504),n=t(8981),r=e({}.hasOwnProperty);i.exports=Object.hasOwn||function(o,a){return r(n(o),a)}},421:function(i){i.exports={}},397:function(i,s,t){var e=t(7751);i.exports=e("document","documentElement")},5917:function(i,s,t){var e=t(3724),n=t(9039),r=t(4055);i.exports=!e&&!n(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7})},7055:function(i,s,t){var e=t(9504),n=t(9039),r=t(2195),o=Object,a=e("".split);i.exports=n(function(){return!o("z").propertyIsEnumerable(0)})?function(u){return r(u)==="String"?a(u,""):o(u)}:o},3167:function(i,s,t){var e=t(4901),n=t(34),r=t(2967);i.exports=function(o,a,u){var l,c;return r&&e(l=a.constructor)&&l!==u&&n(c=l.prototype)&&c!==u.prototype&&r(o,c),o}},3706:function(i,s,t){var e=t(9504),n=t(4901),r=t(7629),o=e(Function.toString);n(r.inspectSource)||(r.inspectSource=function(a){return o(a)}),i.exports=r.inspectSource},1181:function(i,s,t){var e,n,r,o=t(8622),a=t(4576),u=t(34),l=t(6699),c=t(9297),f=t(7629),v=t(6119),d=t(421),p="Object already initialized",g
vendor: 20,132 bytes, lines 11-14
11=a.TypeError,h=a.WeakMap;if(o||f.state){var y=f.state||(f.state=new h);y.get=y.get,y.has=y.has,y.set=y.set,e=function(b,E){if(y.has(b))throw new g(p);return E.facade=b,y.set(b,E),E},n=function(b){return y.get(b)||{}},r=function(b){return y.has(b)}}else{var m=v("state");d[m]=!0,e=function(b,E){if(c(b,m))throw new g(p);return E.facade=b,l(b,m,E),E},n=function(b){return c(b,m)?b[m]:{}},r=function(b){return c(b,m)}}i.exports={set:e,get:n,has:r,enforce:function(b){return r(b)?n(b):e(b,{})},getterFor:function(b){return function(E){var x;if(!u(E)||(x=n(E)).type!==b)throw new g("Incompatible receiver, "+b+" required");return x}}}},4209:function(i,s,t){var e=t(8227),n=t(6269),r=e("iterator"),o=Array.prototype;i.exports=function(a){return a!==void 0&&(n.Array===a||o[r]===a)}},4376:function(i,s,t){var e=t(2195);i.exports=Array.isArray||function(n){return e(n)==="Array"}},4901:function(i){var s=typeof document=="object"&&document.all;i.exports=s===void 0&&s!==void 0?function(t){return typeof t=="function"||t===s}:function(t){return typeof t=="function"}},3517:function(i,s,t){var e=t(9504),n=t(9039),r=t(4901),o=t(6955),a=t(7751),u=t(3706),l=function(){},c=a("Reflect","construct"),f=/^\s*(?:class|function)\b/,v=e(f.exec),d=!f.test(l),p=function(h){if(!r(h))return!1;try{return c(l,[],h),!0}catch{return!1}},g=function(h){if(!r(h))return!1;switch(o(h)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!v(f,u(h))}catch{return!0}};g.sham=!0,i.exports=!c||n(function(){var h;return p(p.call)||!p(Object)||!p(function(){h=!0})||h})?g:p},2796:function(i,s,t){var e=t(9039),n=t(4901),r=/#|\.prototype\./,o=function(f,v){var d=u[a(f)];return d===c||d!==l&&(n(v)?e(v):!!v)},a=o.normalize=function(f){return String(f).replace(r,".").toLowerCase()},u=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";i.exports=o},2087:function(i,s,t){var e=t(34),n=Math.floor;i.exports=Number.isInteger||function(r){return!e(r)&&isFinite(r)&&n(r)===r}},4117:function(i){i.exports=function(s){return s==null}},34:function(i,s,t){var e=t(4901);i.exports=function(n){return typeof n=="object"?n!==null:e(n)}},3925:function(i,s,t){var e=t(34);i.exports=function(n){return e(n)||n===null}},6395:function(i){i.exports=!1},788:function(i,s,t){var e=t(34),n=t(2195),r=t(8227)("match");i.exports=function(o){var a;return e(o)&&((a=o[r])!==void 0?!!a:n(o)==="RegExp")}},757:function(i,s,t){var e=t(7751),n=t(4901),r=t(1625),o=t(7040),a=Object;i.exports=o?function(u){return typeof u=="symbol"}:function(u){var l=e("Symbol");return n(l)&&r(l.prototype,a(u))}},9539:function(i,s,t){var e=t(9565),n=t(8551),r=t(5966);i.exports=function(o,a,u){var l,c;n(o);try{if(!(l=r(o,"return"))){if(a==="throw")throw u;return u}l=e(l,o)}catch(f){c=!0,l=f}if(a==="throw")throw u;if(c)throw l;return n(l),u}},3994:function(i,s,t){var e=t(7657).IteratorPrototype,n=t(2360),r=t(6980),o=t(687),a=t(6269),u=function(){return this};i.exports=function(l,c,f,v){var d=c+" Iterator";return l.prototype=n(e,{next:r(+!v,f)}),o(l,d,!1,!0),a[d]=u,l}},1088:function(i,s,t){var e=t(6518),n=t(9565),r=t(6395),o=t(350),a=t(4901),u=t(3994),l=t(2787),c=t(2967),f=t(687),v=t(6699),d=t(6840),p=t(8227),g=t(6269),h=t(7657),y=o.PROPER,m=o.CONFIGURABLE,b=h.IteratorPrototype,E=h.BUGGY_SAFARI_ITERATORS,x=p("iterator"),k="keys",S="values",w="entries",P=function(){return this};i.exports=function(I,O,j,C,M,Y,F){u(j,O,C);var D,$,_,V=function(Q){if(Q===M&&R)return R;if(!E&&Q&&Q in N)return N[Q];switch(Q){case k:case S:case w:return function(){return new j(this,Q)}}return function(){return new j(this)}},K=O+" Iterator",H=!1,N=I.prototype,T=N[x]||N["@@iterator"]||M&&N[M],R=!E&&T||V(M),q=O==="Array"&&N.entries||T;if(q&&(D=l(q.call(new I)))!==Object.prototype&&D.next&&(r||l(D)===b||(c?c(D,b):a(D[x])||d(D,x,P)),f(D,K,!0,!0),r&&(g[K]=P)),y&&M===S&&T&&T.name!==S&&(!r&&m?v(N,"name",S):(H=!0,R=function(){return n(T,this)})),M)if($={values:V(S),keys:Y?R:V(k),entries:V(w)},F)for(_ in $)(E||H||!(_ in N))&&d(N,_,$[_]);else e({target:O,proto:!0,forced:E||H},$);return r&&!F||N[x]===R||d(N,x,R,{name:M}),g[O]=R,$}},7657:function(i,s,t){var e,n,r,o=t(9039),a=t(4901),u=t(34),l=t(2360),c=t(2787),f=t(6840),v=t(8227),d=t(6395),p=v("iterator"),g=!1;[].keys&&("next"in(r=[].keys())?(n=c(c(r)))!==Object.prototype&&(e=n):g=!0),!u(e)||o(function(){var h={};return e[p].call(h)!==h})?e={}:d&&(e=l(e)),a(e[p])||f(e,p,function(){return this}),i.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:g}},6269:function(i){i.exports={}},6198:function(i,s,t){var e=t(8014);i.exports=function(n){return e(n.length)}},283:function(i,s,t){var e=t(9504),n=t(9039),r=t(4901),o=t(9297),a=t(3724),u=t(350).CONFIGURABLE,l=t(3706),c=t(1181),f=c.enforce,v=c.get,d=String,p=Object.defineProperty,g=e("".slice),h=e("".replace),y=e([].join),m=a&&!n(function(){return p(function(){},"length",{value:8}).length!==8}),b=String(String).split("String"),E=i.exports=function(x,k,S){g(d(k),0,7)==="Symbol("&&(k="["+h(d(k),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),S&&S.getter&&(k="get "+k),S&&S.setter&&(k="set "+k),(!o(x,"name")||u&&x.name!==k)&&(a?p(x,"name",{value:k,configurable:!0}):x.name=k),m&&S&&o(S,"arity")&&x.length!==S.arity&&p(x,"length",{value:S.arity});try{S&&o(S,"constructor")&&S.constructor?a&&p(x,"prototype",{writable:!1}):x.prototype&&(x.prototype=void 0)}catch{}var w=f(x);return o(w,"source")||(w.source=y(b,typeof k=="string"?k:"")),x};Function.prototype.toString=E(function(){return r(this)&&v(this).source||l(this)},"toString")},741:function(i){var s=Math.ceil,t=Math.floor;i.exports=Math.trunc||function(e){var n=+e;return(n>0?t:s)(n)}},5749:function(i,s,t){var e=t(788),n=TypeError;i.exports=function(r){if(e(r))throw new n("The method doesn't accept regular expressions");return r}},4213:function(i,s,t){var e=t(3724),n=t(9504),r=t(9565),o=t(9039),a=t(1072),u=t(3717),l=t(8773),c=t(8981),f=t(7055),v=Object.assign,d=Object.defineProperty,p=n([].concat);i.exports=!v||o(function(){if(e&&v({b:1},v(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var g={},h={},y=Symbol("assign detection"),m="abcdefghijklmnopqrst";return g[y]=7,m.split("").forEach(function(b){h[b]=b}),v({},g)[y]!==7||a(v({},h)).join("")!==m})?function(g,h){for(var y=c(g),m=arguments.length,b=1,E=u.f,x=l.f;m>b;)for(var k,S=f(arguments[b++]),w=E?p(a(S),E(S)):a(S),P=w.length,I=0;P>I;)k=w[I++],e&&!r(x,S,k)||(y[k]=S[k]);return y}:v},2360:function(i,s,t){var e,n=t(8551),r=t(6801),o=t(8727),a=t(421),u=t(397),l=t(4055),c=t(6119),f="prototype",v="script",d=c("IE_PROTO"),p=function(){},g=function(m){return"<"+v+">"+m+"</"+v+">"},h=function(m){m.write(g("")),m.close();var b=m.parentWindow.Object;return m=null,b},y=function(){try{e=new ActiveXObject("htmlfile")}catch{}var m,b,E;y=typeof document<"u"?document.domain&&e?h(e):(b=l("iframe"),E="java"+v+":",b.style.display="none",u.appendChild(b),b.src=String(E),(m=b.contentWindow.document).open(),m.write(g("document.F=Object")),m.close(),m.F):h(e);for(var x=o.length;x--;)delete y[f][o[x]];return y()};a[d]=!0,i.exports=Object.create||function(m,b){var E;return m!==null?(p[f]=n(m),E=new p,p[f]=null,E[d]=m):E=y(),b===void 0?E:r.f(E,b)}},6801:function(i,s,t){var e=t(3724),n=t(8686),r=t(4913),o=t(8551),a=t(5397),u=t(1072);s.f=e&&!n?Object.defineProperties:function(l,c){o(l);for(var f,v=a(c),d=u(c),p=d.length,g=0;p>g;)r.f(l,f=d[g++],v[f]);return l}},4913:function(i,s,t){var e=t(3724),n=t(5917),r=t(8686),o=t(8551),a=t(6969),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",v="configurable",d="writable";s.f=e?r?function(p,g,h){if(o(p),g=a(g),o(h),typeof p=="function"&&g==="prototype"&&"value"in h&&d in h&&!h[d]){var y=c(p,g);y&&y[d]&&(p[g]=h.value,h={configurable:v in h?h[v]:y[v],enumerable:f in h?h[f]:y[f],writable:!1})}return l(p,g,h)}:l:function(p,g,h){if(o(p),g=a(g),o(h),n)try{return l(p,g,h)}catch{}if("get"in h||"set"in h)throw new u("Accessors not supported");return"value"in h&&(p[g]=h.value),p}},7347:function(i,s,t){var e=t(3724),n=t(9565),r=t(8773),o=t(6980),a=t(5397),u=t(6969),l=t(9297),c=t(5917),f=Object.getOwnPropertyDescriptor;s.f=e?f:function(v,d){if(v=a(v),d=u(d),c)try{return f(v,d)}catch{}if(l(v,d))return o(!n(r.f,v,d),v[d])}},298:function(i,s,t){var e=t(2195),n=t(5397),r=t(8480).f,o=t(7680),a=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];i.exports.f=function(u){return a&&e(u)==="Window"?function(l){try{return r(l)}catch{return o(a)}}(u):r(n(u))}},8480:function(i,s,t){var e=t(1828),n=t(8727).concat("length","prototype");s.f=Object.getOwnPropertyNames||function(r){return e(r,n)}},3717:function(i,s){s.f=Object.getOwnPropertySymbols},2787:function(i,s,t){var e=t(9297),n=t(4901),r=t(8981),o=t(6119),a=t(2211),u=o("IE_PROTO"),l=Object,c=l.prototype;i.exports=a?l.getPrototypeOf:function(f){var v=r(f);if(e(v,u))return v[u];var d=v.constructor;return n(d)&&v instanceof d?d.prototype:v instanceof l?c:null}},1625:function(i,s,t){var e=t(9504);i.exports=e({}.isPrototypeOf)},1828:function(i,s,t){var e=t(9504),n=t(9297),r=t(5397),o=t(9617).indexOf,a=t(421),u=e([].push);i.exports=function(l,c){var f,v=r(l),d=0,p=[];for(f in v)!n(a,f)&&n(v,f)&&u(p,f);for(;c.length>d;)n(v,f=c[d++])&&(~o(p,f)||u(p,f));return p}},1072:function(i,s,t){var e=t(1828),n=t(8727);i.exports=Object.keys||function(r){return e(r,n)}},8773:function(i,s){var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);s.f=n?function(r){var o=e(this,r);return!!o&&o.enumerable}:t},2551:function(i,s,t){var e=t(6395),n=t(4576),r=t(9039),o=t(3607);i.exports=e||!r(function(){if(!(o&&o<535)){var a=Math.random();__defineSetter__.call(null,a,function(){}),delete n[a]}})},2967:function(i,s,t){var e=t(6706),n=t(34),r=t(7750),o=t(3506);i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var a,u=!1,l={};try{(a=e(Object.prototype,"__proto__","set"))(l,[]),u=l instanceof Array}catch{}return function(c,f){return r(c),o(f),n(c)&&(u?a(c,f):c.__proto__=f),c}}():void 0)},3179:function(i,s,t){var e=t(2140),n=t(6955);i.exports=e?{}.toString:function(){return"[object "+n(this)+"]"}},4270:function(i,s,t){var e=t(9565),n=t(4901),r=t(34),o=TypeError;i.exports=function(a,u){var l,c;if(u==="string"&&n(l=a.toString)&&!r(c=e(l,a))||n(l=a.valueOf)&&!r(c=e(l,a))||u!=="string"&&n(l=a.toString)&&!r(c=e(l,a)))return c;throw new o("Can't convert object to primitive value")}},5031:function(i,s,t){var e=t(7751),n=t(9504),r=t(8480),o=t(3717),a=t(8551),u=n([].concat);i.exports=e("Reflect","ownKeys")||function(l){var c=r.f(a(l)),f=o.f;return f?u(c,f(l)):c}},9167:function(i,s,t){var e=t(4576);i.exports=e},1056:function(i,s,t){var e=t(4913).f;i.exports=function(n,r,o){o in n||e(n,o,{configurable:!0,get:function(){return r[o]},set:function(a){r[o]=a}})}},6682:function(i,s,t){var e=t(9565),n=t(8551),r=t(4901),o=t(2195),a=t(7323),u=TypeError;i.exports=function(l,c){var f=l.exec;if(r(f)){var v=e(f,l,c);return v!==null&&n(v),v}if(o(l)==="RegExp")return e(a,l,c);throw new u("RegExp#exec called on incompatible receiver")}},7323:function(i,s,t){var e,n,r=t(9565),o=t(9504),a=t(655),u=t(7979),l=t(8429),c=t(5745),f=t(2360),v=t(1181).get,d=t(3635),p=t(8814),g=c("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,y=h,m=o("".charAt),b=o("".indexOf),E=o("".replace),x=o("".slice),k=(n=/b*/g,r(h,e=/a/,"a"),r(h,n,"a"),e.lastIndex!==0||n.lastIndex!==0),S=l.BROKEN_CARET,w=/()??/.exec("")[1]!==void 0;(k||w||S||d||p)&&(y=function(P){var I,O,j,C,M,Y,F,D=this,$=v(D),_=a(P),V=$.raw;if(V)return V.lastIndex=D.lastIndex,I=r(y,V,_),D.lastIndex=V.lastIndex,I;var K=$.groups,H=S&&D.sticky,N=r(u,D),T=D.source,R=0,q=_;if(H&&(N=E(N,"y",""),b(N,"g")===-1&&(N+="g"),q=x(_,D.lastIndex),D.lastIndex>0&&(!D.multiline||D.multiline&&m(_,D.lastIndex-1)!==` 12`)&&(T="(?: "+T+")",q=" "+q,R++),O=new RegExp("^(?:"+T+")",N)),w&&(O=new RegExp("^"+T+"$(?!\\s)",N)),k&&(j=D.lastIndex),C=r(h,H?O:D,q),H?C?(C.input=x(C.input,R),C[0]=x(C[0],R),C.index=D.lastIndex,D.lastIndex+=C[0].length):D.lastIndex=0:k&&C&&(D.lastIndex=D.global?C.index+C[0].length:j),w&&C&&C.length>1&&r(g,C[0],O,function(){for(M=1;M<arguments.length-2;M++)arguments[M]===void 0&&(C[M]=void 0)}),C&&K)for(C.groups=Y=f(null),M=0;M<K.length;M++)Y[(F=K[M])[0]]=C[F[1]];return C}),i.exports=y},7979:function(i,s,t){var e=t(8551);i.exports=function(){var n=e(this),r="";return n.hasIndices&&(r+="d"),n.global&&(r+="g"),n.ignoreCase&&(r+="i"),n.multiline&&(r+="m"),n.dotAll&&(r+="s"),n.unicode&&(r+="u"),n.unicodeSets&&(r+="v"),n.sticky&&(r+="y"),r}},1034:function(i,s,t){var e=t(9565),n=t(9297),r=t(1625),o=t(7979),a=RegExp.prototype;i.exports=function(u){var l=u.flags;return l!==void 0||"flags"in a||n(u,"flags")||!r(a,u)?l:e(o,u)}},8429:function(i,s,t){var e=t(9039),n=t(4576).RegExp,r=e(function(){var u=n("a","y");return u.lastIndex=2,u.exec("abcd")!==null}),o=r||e(function(){return!n("a","y").sticky}),a=r||e(function(){var u=n("^r","gy");return u.lastIndex=2,u.exec("str")!==null});i.exports={BROKEN_CARET:a,MISSED_STICKY:o,UNSUPPORTED_Y:r}},3635:function(i,s,t){var e=t(9039),n=t(4576).RegExp;i.exports=e(function(){var r=n(".","s");return!(r.dotAll&&r.test(` 13`)&&r.flags==="s")})},8814:function(i,s,t){var e=t(9039),n=t(4576).RegExp;i.exports=e(function(){var r=n("(?<a>b)","g");return r.exec("b").groups.a!=="b"||"b".replace(r,"$<a>c")!=="bc"})},7750:function(i,s,t){var e=t(4117),n=TypeError;i.exports=function(r){if(e(r))throw new n("Can't call method on "+r);return r}},7633:function(i,s,t){var e=t(7751),n=t(2106),r=t(8227),o=t(3724),a=r("species");i.exports=function(u){var l=e(u);o&&l&&!l[a]&&n(l,a,{configurable:!0,get:function(){return this}})}},687:function(i,s,t){var e=t(4913).f,n=t(9297),r=t(8227)("toStringTag");i.exports=function(o,a,u){o&&!u&&(o=o.prototype),o&&!n(o,r)&&e(o,r,{configurable:!0,value:a})}},6119:function(i,s,t){var e=t(5745),n=t(3392),r=e("keys");i.exports=function(o){return r[o]||(r[o]=n(o))}},7629:function(i,s,t){var e=t(6395),n=t(4576),r=t(9433),o="__core-js_shared__",a=i.exports=n[o]||r(o,{});(a.versions||(a.versions=[])).push({version:"3.38.0",mode:e?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(i,s,t){var e=t(7629);i.exports=function(n,r){return e[n]||(e[n]=r||{})}},2293:function(i,s,t){var e=t(8551),n=t(5548),r=t(4117),o=t(8227)("species");i.exports=function(a,u){var l,c=e(a).constructor;return c===void 0||r(l=e(c)[o])?u:n(l)}},8183:function(i,s,t){var e=t(9504),n=t(1291),r=t(655),o=t(7750),a=e("".charAt),u=e("".charCodeAt),l=e("".slice),c=function(f){return function(v,d){var p,g,h=r(o(v)),y=n(d),m=h.length;return y<0||y>=m?f?"":void 0:(p=u(h,y))<55296||p>56319||y+1===m||(g=u(h,y+1))<56320||g>57343?f?a(h,y):p:f?l(h,y,y+2):g-56320+(p-55296<<10)+65536}};i.exports={codeAt:c(!1),charAt:c(!0)}},706:function(i,s,t){var e=t(350).PROPER,n=t(9039),r=t(7452);i.exports=function(o){return n(function(){return!!r[o]()||"â á "[o]()!=="â á "||e&&r[o].name!==o})}},3802:function(i,s,t){var e=t(9504),n=t(7750),r=t(655),o=t(7452),a=e("".replace),u=RegExp("^["+o+"]+"),l=RegExp("(^|[^"+o+"])["+o+"]+$"),c=function(f){return function(v){var d=r(n(v));return 1&f&&(d=a(d,u,"")),2&f&&(d=a(d,l,"$1")),d}};i.exports={start:c(1),end:c(2),trim:c(3)}},4495:function(i,s,t){var e=t(9519),n=t(9039),r=t(4576).String;i.exports=!!Object.getOwnPropertySymbols&&!n(function(){var o=Symbol("symbol detection");return!r(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&e&&e<41})},8242:function(i,s,t){var e=t(9565),n=t(7751),r=t(8227),o=t(6840);i.exports=function(){var a=n("Symbol"),u=a&&a.prototype,l=u&&u.valueOf,c=r("toPrimitive");u&&!u[c]&&o(u,c,function(f){return e(l,this)},{arity:1})}},1296:function(i,s,t){var e=t(4495);i.exports=e&&!!Symbol.for&&!!Symbol.keyFor},1240:function(i,s,t){var e=t(9504);i.exports=e(1 .valueOf)},5610:function(i,s,t){var e=t(1291),n=Math.max,r=Math.min;i.exports=function(o,a){var u=e(o);return u<0?n(u+a,0):r(u,a)}},5397:function(i,s,t){var e=t(7055),n=t(7750);i.exports=function(r){return e(n(r))}},1291:function(i,s,t){var e=t(741);i.exports=function(n){var r=+n;return r!=r||r===0?0:e(r)}},8014:function(i,s,t){var e=t(1291),n=Math.min;i.exports=function(r){var o=e(r);return o>0?n(o,9007199254740991):0}},8981:function(i,s,t){var e=t(7750),n=Object;i.exports=function(r){return n(e(r))}},2777:function(i,s,t){var e=t(9565),n=t(34),r=t(757),o=t(5966),a=t(4270),u=t(8227),l=TypeError,c=u("toPrimitive");i.exports=function(f,v){if(!n(f)||r(f))return f;var d,p=o(f,c);if(p){if(v===void 0&&(v="default"),d=e(p,f,v),!n(d)||r(d))return d;throw new l("Can't convert object to primitive value")}return v===void 0&&(v="number"),a(f,v)}},6969:function(i,s,t){var e=t(2777),n=t(757);i.exports=function(r){var o=e(r,"string");return n(o)?o:o+""}},2140:function(i,s,t){var e={};e[t(8227)("toStringTag")]="z",i.exports=String(e)==="[object z]"},655:function(i,s,t){var e=t(6955),n=String;i.exports=function(r){if(e(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(r)}},6823:function(i){var s=String;i.exports=function(t){try{return s(t)}catch{return"Object"}}},3392:function(i,s,t){var e=t(9504),n=0,r=Math.random(),o=e(1 .toString);i.exports=function(a){return"Symbol("+(a===void 0?"":a)+")_"+o(++n+r,36)}},7040:function(i,s,t){var e=t(4495);i.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},8686:function(i,s,t){var e=t(3724),n=t(9039);i.exports=e&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},8622:function(i,s,t){var e=t(4576),n=t(4901),r=e.WeakMap;i.exports=n(r)&&/native code/.test(String(r))},511:function(i,s,t){var e=t(9167),n=t(9297),r=t(1951),o=t(4913).f;i.exports=function(a){var u=e.Symbol||(e.Symbol={});n(u,a)||o(u,a,{value:r.f(a)})}},1951:function(i,s,t){var e=t(8227);s.f=e},8227:function(i,s,t){var e=t(4576),n=t(5745),r=t(9297),o=t(3392),a=t(4495),u=t(7040),l=e.Symbol,c=n("wks"),f=u?l.for||l:l&&l.withoutSetter||o;i.exports=function(v){return r(c,v)||(c[v]=a&&r(l,v)?l[v]:f("Symbol."+v)),c[v]}},7452:function(i){i.exports=` 14\v\f\r  áââââââ ââââââ¯âã\u2028\u2029\uFEFF`},8706:function(i,s,t){var e=t(6518),n=t(9039),r=t(4376),o=t(34),a=t(8981),u=t(6198),l=t(6837),c=t(4659),f=t(1469),v=t(597),d=t(8227),p=t(9519),g=d("isConcatSpreadable"),h=p>=51||!n(function(){var m=[];return m[g]=!1,m.concat()[0]!==m}),y=function(m){if(!o(m))return!1;var b=m[g];return b!==void 0?!!b:r(m)};e({target:"Array",proto:!0,arity:1,forced:!h||!v("concat")},{concat:function(m){var b,E,x,k,S,w=a(this),P=f(w,0),I=0;for(b=-1,x=arguments.length;b<x;b++)if(y(S=b===-1?w:arguments[b]))for(k=u(S),l(I+k),E=0;E<k;E++,I++)E in S&&c(P,I,S[E]);else l(I+1),c(P,I++,S);return P.length=I,P}})},2008:function(i,s,t){var e=t(6518),n=t(9213).filter;e({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}})},3418:function(i,s,t){var e=t(6518),n=t(7916);e({target:"Array",stat:!0,forced:!t(4428)(function(r){Array.from(r)})},{from:n})},4423:function(i,s,t){var e=t(6518),n=t(9617).includes,r=t(9039),o=t(6469);e({target:"Array",proto:!0,forced:r(function(){return!Array(1).includes()})},{includes:function(a){return n(this,a,arguments.length>1?arguments[1]:void 0)}}),o("includes")},5276:function(i,s,t){var e=t(6518),n=t(7476),r=t(9617).indexOf,o=t(4598),a=n([].indexOf),u=!!a&&1/a([1],1,-0)<0;e({target:"Array",proto:!0,forced:u||!o("indexOf")},{indexOf:function(l){var c=arguments.length>1?arguments[1]:void 0;return u?a(this,l,c)||0:r(this,l,c)}})},3792:function(i,s,t){var e=t(5397),n=t(6469),r=t(6269),o=t(1181),a=t(4913).f,u=t(1088),l=t(2529),c=t(6395),f=t(3724),v="Array Iterator",d=o.set,p=o.getterFor(v);i.exports=u(Array,"Array",function(h,y){d(this,{type:v,target:e(h),index:0,kind:y})},function(){var h=p(this),y=h.target,m=h.index++;if(!y||m>=y.length)return h.target=void 0,l(void 0,!0);switch(h.kind){case"keys":return l(m,!1);case"values":return l(y[m],!1)}return l([m,y[m]],!1)},"values");var g=r.Arguments=r.Array;
14if(n("keys"),n("values"),n("entries"),!c&&f&&g.name!=="values")try{a(g,"name",{value:"values"})}catch{}},8598:function(i,s,t){var e=t(6518),n=t(9504),r=t(7055),o=t(5397),a=t(4598),u=n([].join);e({target:"Array",proto:!0,forced:r!==Object||!a("join",",")},{join:function(l){return u(o(this),l===void 0?",":l)}})},2062:function(i,s,t){var e=t(6518),n=t(9213).map;e({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}})},2712:function(i,s,t){var e=t(6518),n=t(926).left,r=t(4598),o=t(9519);e({target:"Array",proto:!0,forced:!t(6193)&&o>79&&o<83||!r("reduce")},{reduce:function(a){var u=arguments.length;return n(this,a,u,u>1?arguments[1]:void 0)}})},4782:function(i,s,t){var e=t(6518),n=t(4376),r=t(3517),o=t(34),a=t(5610),u=t(6198),l=t(5397),c=t(4659),f=t(8227),v=t(597),d=t(7680),p=v("slice"),g=f("species"),h=Array,y=Math.max;e({target:"Array",proto:!0,forced:!p},{slice:function(m,b){var E,x,k,S=l(this),w=u(S),P=a(m,w),I=a(b===void 0?w:b,w);if(n(S)&&(E=S.constructor,(r(E)&&(E===h||n(E.prototype))||o(E)&&(E=E[g])===null)&&(E=void 0),E===h||E===void 0))return d(S,P,I);for(x=new(E===void 0?h:E)(y(I-P,0)),k=0;P<I;P++,k++)P in S&&c(x,k,S[P]);return x.length=k,x}})},6910:function(i,s,t){var e=t(6518),n=t(9504),r=t(9306),o=t(8981),a=t(6198),u=t(4606),l=t(655),c=t(9039),f=t(4488),v=t(4598),d=t(3709),p=t(3763),g=t(9519),h=t(3607),y=[],m=n(y.sort),b=n(y.push),E=c(function(){y.sort(void 0)}),x=c(function(){y.sort(null)}),k=v("sort"),S=!c(function(){if(g)return g<70;if(!(d&&d>3)){if(p)return!0;if(h)return h<603;var w,P,I,O,j="";for(w=65;w<76;
vendor: 15,482 bytes, line 14
14w++){switch(P=String.fromCharCode(w),w){case 66:case 69:case 70:case 72:I=3;break;case 68:case 71:I=4;break;default:I=2}for(O=0;O<47;O++)y.push({k:P+O,v:I})}for(y.sort(function(C,M){return M.v-C.v}),O=0;O<y.length;O++)P=y[O].k.charAt(0),j.charAt(j.length-1)!==P&&(j+=P);return j!=="DGBEFHACIJK"}});e({target:"Array",proto:!0,forced:E||!x||!k||!S},{sort:function(w){w!==void 0&&r(w);var P=o(this);if(S)return w===void 0?m(P):m(P,w);var I,O,j=[],C=a(P);for(O=0;O<C;O++)O in P&&b(j,P[O]);for(f(j,function(M){return function(Y,F){return F===void 0?-1:Y===void 0?1:M!==void 0?+M(Y,F)||0:l(Y)>l(F)?1:-1}}(w)),I=a(j),O=0;O<I;)P[O]=j[O++];for(;O<C;)u(P,O++);return P}})},4554:function(i,s,t){var e=t(6518),n=t(8981),r=t(5610),o=t(1291),a=t(6198),u=t(4527),l=t(6837),c=t(1469),f=t(4659),v=t(4606),d=t(597)("splice"),p=Math.max,g=Math.min;e({target:"Array",proto:!0,forced:!d},{splice:function(h,y){var m,b,E,x,k,S,w=n(this),P=a(w),I=r(h,P),O=arguments.length;for(O===0?m=b=0:O===1?(m=0,b=P-I):(m=O-2,b=g(p(o(y),0),P-I)),l(P+m-b),E=c(w,b),x=0;x<b;x++)(k=I+x)in w&&f(E,x,w[k]);if(E.length=b,m<b){for(x=I;x<P-b;x++)S=x+m,(k=x+b)in w?w[S]=w[k]:v(w,S);for(x=P;x>P-b+m;x--)v(w,x-1)}else if(m>b)for(x=P-b;x>I;x--)S=x+m-1,(k=x+b-1)in w?w[S]=w[k]:v(w,S);for(x=0;x<m;x++)w[x+I]=arguments[x+2];return u(w,P-b+m),E}})},739:function(i,s,t){var e=t(6518),n=t(9039),r=t(8981),o=t(2777);e({target:"Date",proto:!0,arity:1,forced:n(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1})},{toJSON:function(a){var u=r(this),l=o(u,"number");return typeof l!="number"||isFinite(l)?u.toISOString():null}})},9572:function(i,s,t){var e=t(9297),n=t(6840),r=t(3640),o=t(8227)("toPrimitive"),a=Date.prototype;e(a,o)||n(a,o,r)},2010:function(i,s,t){var e=t(3724),n=t(350).EXISTS,r=t(9504),o=t(2106),a=Function.prototype,u=r(a.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=r(l.exec);e&&!n&&o(a,"name",{configurable:!0,get:function(){try{return c(l,u(this))[1]}catch{return""}}})},3110:function(i,s,t){var e=t(6518),n=t(7751),r=t(8745),o=t(9565),a=t(9504),u=t(9039),l=t(4901),c=t(757),f=t(7680),v=t(6933),d=t(4495),p=String,g=n("JSON","stringify"),h=a(/./.exec),y=a("".charAt),m=a("".charCodeAt),b=a("".replace),E=a(1 .toString),x=/[\uD800-\uDFFF]/g,k=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,w=!d||u(function(){var j=n("Symbol")("stringify detection");return g([j])!=="[null]"||g({a:j})!=="{}"||g(Object(j))!=="{}"}),P=u(function(){return g("\uDF06\uD834")!=='"\\udf06\\ud834"'||g("\uDEAD")!=='"\\udead"'}),I=function(j,C){var M=f(arguments),Y=v(C);if(l(Y)||j!==void 0&&!c(j))return M[1]=function(F,D){if(l(Y)&&(D=o(Y,this,p(F),D)),!c(D))return D},r(g,null,M)},O=function(j,C,M){var Y=y(M,C-1),F=y(M,C+1);return h(k,j)&&!h(S,F)||h(S,j)&&!h(k,Y)?"\\u"+E(m(j,0),16):j};g&&e({target:"JSON",stat:!0,arity:3,forced:w||P},{stringify:function(j,C,M){var Y=f(arguments),F=r(w?I:g,null,Y);return P&&typeof F=="string"?b(F,x,O):F}})},2892:function(i,s,t){var e=t(6518),n=t(6395),r=t(3724),o=t(4576),a=t(9167),u=t(9504),l=t(2796),c=t(9297),f=t(3167),v=t(1625),d=t(757),p=t(2777),g=t(9039),h=t(8480).f,y=t(7347).f,m=t(4913).f,b=t(1240),E=t(3802).trim,x="Number",k=o[x],S=a[x],w=k.prototype,P=o.TypeError,I=u("".slice),O=u("".charCodeAt),j=function(F){var D,$,_,V,K,H,N,T,R=p(F,"number");if(d(R))throw new P("Cannot convert a Symbol value to a number");if(typeof R=="string"&&R.length>2){if(R=E(R),(D=O(R,0))===43||D===45){if(($=O(R,2))===88||$===120)return NaN}else if(D===48){switch(O(R,1)){case 66:case 98:_=2,V=49;break;case 79:case 111:_=8,V=55;break;default:return+R}for(H=(K=I(R,2)).length,N=0;N<H;N++)if((T=O(K,N))<48||T>V)return NaN;return parseInt(K,_)}}return+R},C=l(x,!k(" 0o1")||!k("0b1")||k("+0x1")),M=function(F){var D,$=arguments.length<1?0:k(function(_){var V=p(_,"number");return typeof V=="bigint"?V:j(V)}(F));return v(w,D=this)&&g(function(){b(D)})?f(Object($),this,M):$};M.prototype=w,C&&!n&&(w.constructor=M),e({global:!0,constructor:!0,wrap:!0,forced:C},{Number:M});var Y=function(F,D){for(var $,_=r?h(D):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),V=0;_.length>V;V++)c(D,$=_[V])&&!c(F,$)&&m(F,$,y(D,$))};n&&S&&Y(a[x],S),(C||n)&&Y(a[x],k)},2637:function(i,s,t){t(6518)({target:"Number",stat:!0},{isInteger:t(2087)})},9085:function(i,s,t){var e=t(6518),n=t(4213);e({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})},7427:function(i,s,t){var e=t(6518),n=t(3724),r=t(2551),o=t(9306),a=t(8981),u=t(4913);n&&e({target:"Object",proto:!0,forced:r},{__defineGetter__:function(l,c){u.f(a(this),l,{get:o(c),enumerable:!0,configurable:!0})}})},3851:function(i,s,t){var e=t(6518),n=t(9039),r=t(5397),o=t(7347).f,a=t(3724);e({target:"Object",stat:!0,forced:!a||n(function(){o(1)}),sham:!a},{getOwnPropertyDescriptor:function(u,l){return o(r(u),l)}})},1278:function(i,s,t){var e=t(6518),n=t(3724),r=t(5031),o=t(5397),a=t(7347),u=t(4659);e({target:"Object",stat:!0,sham:!n},{getOwnPropertyDescriptors:function(l){for(var c,f,v=o(l),d=a.f,p=r(v),g={},h=0;p.length>h;)(f=d(v,c=p[h++]))!==void 0&&u(g,c,f);return g}})},1480:function(i,s,t){var e=t(6518),n=t(9039),r=t(298).f;e({target:"Object",stat:!0,forced:n(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:r})},9773:function(i,s,t){var e=t(6518),n=t(4495),r=t(9039),o=t(3717),a=t(8981);e({target:"Object",stat:!0,forced:!n||r(function(){o.f(1)})},{getOwnPropertySymbols:function(u){var l=o.f;return l?l(a(u)):[]}})},9432:function(i,s,t){var e=t(6518),n=t(8981),r=t(1072);e({target:"Object",stat:!0,forced:t(9039)(function(){r(1)})},{keys:function(o){return r(n(o))}})},6099:function(i,s,t){var e=t(2140),n=t(6840),r=t(3179);e||n(Object.prototype,"toString",r,{unsafe:!0})},4864:function(i,s,t){var e=t(3724),n=t(4576),r=t(9504),o=t(2796),a=t(3167),u=t(6699),l=t(2360),c=t(8480).f,f=t(1625),v=t(788),d=t(655),p=t(1034),g=t(8429),h=t(1056),y=t(6840),m=t(9039),b=t(9297),E=t(1181).enforce,x=t(7633),k=t(8227),S=t(3635),w=t(8814),P=k("match"),I=n.RegExp,O=I.prototype,j=n.SyntaxError,C=r(O.exec),M=r("".charAt),Y=r("".replace),F=r("".indexOf),D=r("".slice),$=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,_=/a/g,V=/a/g,K=new I(_)!==_,H=g.MISSED_STICKY,N=g.UNSUPPORTED_Y;if(o("RegExp",e&&(!K||H||S||w||m(function(){return V[P]=!1,I(_)!==_||I(V)===V||String(I(_,"i"))!=="/a/i"})))){for(var T=function(Q,rt){var ct,gt,Et,Ot,It,bt,Dt=f(O,this),xt=v(Q),zt=rt===void 0,Ut=[],Nt=Q;if(!Dt&&xt&&zt&&Q.constructor===T)return Q;if((xt||f(O,Q))&&(Q=Q.source,zt&&(rt=p(Nt))),Q=Q===void 0?"":d(Q),rt=rt===void 0?"":d(rt),Nt=Q,S&&"dotAll"in _&&(gt=!!rt&&F(rt,"s")>-1)&&(rt=Y(rt,/s/g,"")),ct=rt,H&&"sticky"in _&&(Et=!!rt&&F(rt,"y")>-1)&&N&&(rt=Y(rt,/y/g,"")),w&&(Ot=function(ut){for(var st,Yt=ut.length,ht=0,St="",kt=[],Ht=l(null),Rt=!1,Lt=!1,$t=0,Mt="";ht<=Yt;ht++){if((st=M(ut,ht))==="\\")st+=M(ut,++ht);else if(st==="]")Rt=!1;else if(!Rt)switch(!0){case st==="[":Rt=!0;break;case st==="(":if(St+=st,D(ut,ht+1,ht+3)==="?:")continue;C($,D(ut,ht+1))&&(ht+=2,Lt=!0),$t++;continue;case(st===">"&&Lt):if(Mt===""||b(Ht,Mt))throw new j("Invalid capture group name");Ht[Mt]=!0,kt[kt.length]=[Mt,$t],Lt=!1,Mt="";continue}Lt?Mt+=st:St+=st}return[St,kt]}(Q),Q=Ot[0],Ut=Ot[1]),It=a(I(Q,rt),Dt?this:O,T),(gt||Et||Ut.length)&&(bt=E(It),gt&&(bt.dotAll=!0,bt.raw=T(function(ut){for(var st,Yt=ut.length,ht=0,St="",kt=!1;ht<=Yt;ht++)(st=M(ut,ht))!=="\\"?kt||st!=="."?(st==="["?kt=!0:st==="]"&&(kt=!1),St+=st):St+="[\\s\\S]":St+=st+M(ut,++ht);return St}(Q),ct)),Et&&(bt.sticky=!0),Ut.length&&(bt.groups=Ut)),Q!==Nt)try{u(It,"source",Nt===""?"(?:)":Nt)}catch{}return It},R=c(I),q=0;R.length>q;)h(T,I,R[q++]);O.constructor=T,T.prototype=O,y(n,"RegExp",T,{constructor:!0})}x("RegExp")},7495:function(i,s,t){var e=t(6518),n=t(7323);e({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},8781:function(i,s,t){var e=t(350).PROPER,n=t(6840),r=t(8551),o=t(655),a=t(9039),u=t(1034),l="toString",c=RegExp.prototype,f=c[l],v=a(function(){return f.call({source:"a",flags:"b"})!=="/a/b"}),d=e&&f.name!==l;(v||d)&&n(c,l,function(){var p=r(this);return"/"+o(p.source)+"/"+o(u(p))},{unsafe:!0})},1699:function(i,s,t){var e=t(6518),n=t(9504),r=t(5749),o=t(7750),a=t(655),u=t(1436),l=n("".indexOf);e({target:"String",proto:!0,forced:!u("includes")},{includes:function(c){return!!~l(a(o(this)),a(r(c)),arguments.length>1?arguments[1]:void 0)}})},7764:function(i,s,t){var e=t(8183).charAt,n=t(655),r=t(1181),o=t(1088),a=t(2529),u="String Iterator",l=r.set,c=r.getterFor(u);o(String,"String",function(f){l(this,{type:u,string:n(f),index:0})},function(){var f,v=c(this),d=v.string,p=v.index;return p>=d.length?a(void 0,!0):(f=e(d,p),v.index+=f.length,a(f,!1))})},8543:function(i,s,t){var e=t(6518),n=t(9565),r=t(7476),o=t(3994),a=t(2529),u=t(7750),l=t(8014),c=t(655),f=t(8551),v=t(4117),d=t(2195),p=t(788),g=t(1034),h=t(5966),y=t(6840),m=t(9039),b=t(8227),E=t(2293),x=t(7829),k=t(6682),S=t(1181),w=t(6395),P=b("matchAll"),I="RegExp String",O=I+" Iterator",j=S.set,C=S.getterFor(O),M=RegExp.prototype,Y=TypeError,F=r("".indexOf),D=r("".matchAll),$=!!D&&!m(function(){D("a",/./)}),_=o(function(K,H,N,T){j(this,{type:O,regexp:K,string:H,global:N,unicode:T,done:!1})},I,function(){var K=C(this);if(K.done)return a(void 0,!0);var H=K.regexp,N=K.string,T=k(H,N);return T===null?(K.done=!0,a(void 0,!0)):K.global?(c(T[0])===""&&(H.lastIndex=x(N,l(H.lastIndex),K.unicode)),a(T,!1)):(K.done=!0,a(T,!1))}),V=function(K){var H,N,T,R=f(this),q=c(K),Q=E(R,RegExp),rt=c(g(R));return H=new Q(Q===RegExp?R.source:R,rt),N=!!~F(rt,"g"),T=!!~F(rt,"u"),H.lastIndex=l(R.lastIndex),new _(H,q,N,T)};e({target:"String",proto:!0,forced:$},{matchAll:function(K){var H,N,T,R,q=u(this);if(v(K)){if($)return D(q,K)}else{if(p(K)&&(H=c(u(g(K))),!~F(H,"g")))throw new Y("`.matchAll` does not allow non-global regexes");if($)return D(q,K);if((T=h(K,P))===void 0&&w&&d(K)==="RegExp"&&(T=V),T)return n(T,K,q)}return N=c(q),R=new RegExp(K,"g"),w?n(V,R,N):R[P](N)}}),w||P in M||y(M,P,V)},1761:function(i,s,t){var e=t(9565),n=t(9228),r=t(8551),o=t(4117),a=t(8014),u=t(655),l=t(7750),c=t(5966),f=t(7829),v=t(6682);n("match",function(d,p,g){return[function(h){var y=l(this),m=o(h)?void 0:c(h,d);return m?e(m,h,y):new RegExp(h)[d](u(y))},function(h){var y=r(this),m=u(h),b=g(p,y,m);if(b.done)return b.value;if(!y.global)return v(y,m);var E=y.unicode;y.lastIndex=0;for(var x,k=[],S=0;(x=v(y,m))!==null;){var w=u(x[0]);k[S]=w,w===""&&(y.lastIndex=f(m,a(y.lastIndex),E)),S++}return S===0?null:k}]})},5440:function(i,s,t){var e=t(8745),n=t(9565),r=t(9504),o=t(9228),a=t(9039),u=t(8551),l=t(4901),c=t(4117),f=t(1291),v=t(8014),d=t(655),p=t(7750),g=t(7829),h=t(5966),y=t(2478),m=t(6682),b=t(8227)("replace"),E=Math.max,x=Math.min,k=r([].concat),S=r([].push),w=r("".indexOf),P=r("".slice),I="a".replace(/./,"$0")==="$0",O=!!/./[b]&&/./[b]("a","$0")==="";o("replace",function(j,C,M){var Y=O?"$":"$0";return[function(F,D){var $=p(this),_=c(F)?void 0:h(F,b);return _?n(_,F,$,D):n(C,d($),F,D)},function(F,D){var $=u(this),_=d(F);if(typeof D=="string"&&w(D,Y)===-1&&w(D,"$<")===-1){var V=M(C,$,_,D);if(V.done)return V.value}var K=l(D);K||(D=d(D));var H,N=$.global;N&&(H=$.unicode,$.lastIndex=0);for(var T,R=[];(T=m($,_))!==null&&(S(R,T),N);)d(T[0])===""&&($.lastIndex=g(_,v($.lastIndex),H));for(var q,Q="",rt=0,ct=0;ct<R.length;ct++){for(var gt,Et=d((T=R[ct])[0]),Ot=E(x(f(T.index),_.length),0),It=[],bt=1;bt<T.length;bt++)S(It,(q=T[bt])===void 0?q:String(q));var Dt=T.groups;if(K){var xt=k([Et],It,Ot,_);Dt!==void 0&&S(xt,Dt),gt=d(e(D,void 0,xt))}else gt=y(Et,_,Ot,It,Dt,D);Ot>=rt&&(Q+=P(_,rt,Ot)+gt,rt=Ot+Et.length)}return Q+P(_,rt)}]},!!a(function(){var j=/./;return j.exec=function(){var C=[];return C.groups={a:"7"},C},"".replace(j,"$<a>")!=="7"})||!I||O)},744:function(i,s,t){var e=t(9565),n=t(9504),r=t(9228),o=t(8551),a=t(4117),u=t(7750),l=t(2293),c=t(7829),f=t(8014),v=t(655),d=t(5966),p=t(6682),g=t(8429),h=t(9039),y=g.UNSUPPORTED_Y,m=Math.min,b=n([].push),E=n("".slice),x=!h(function(){var S=/(?:)/,w=S.exec;S.exec=function(){return w.apply(this,arguments)};var P="ab".split(S);return P.length!==2||P[0]!=="a"||P[1]!=="b"}),k="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;r("split",function(S,w,P){var I="0".split(void 0,0).length?function(O,j){return O===void 0&&j===0?[]:e(w,this,O,j)}:w;return[function(O,j){var C=u(this),M=a(O)?void 0:d(O,S);return M?e(M,O,C,j):e(I,v(C),O,j)},function(O,j){var C=o(this),M=v(O);if(!k){var Y=P(I,C,M,j,I!==w);if(Y.done)return Y.value}var F=l(C,RegExp),D=C.unicode,$=(C.ignoreCase?"i":"")+(C.multiline?"m":"")+(C.unicode?"u":"")+(y?"g":"y"),_=new F(y?"^(?:"+C.source+")":C,$),V=j===void 0?4294967295:j>>>0;if(V===0)return[];if(M.length===0)return p(_,M)===null?[M]:[];for(var K=0,H=0,N=[];H<M.length;){_.lastIndex=y?0:H;var T,R=p(_,y?E(M,H):M);if(R===null||(T=m(f(_.lastIndex+(y?H:0)),M.length))===K)H=c(M,H,D);else{if(b(N,E(M,K,H)),N.length===V)return N;for(var q=1;q<=R.length-1;q++)if(b(N,R[q]),N.length===V)return N;H=K=T}}return b(N,E(M,K)),N}]},k||!x,y)},2762:function(i,s,t){var e=t(6518),n=t(3802).trim;e({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return n(this)}})},6761:function(i,s,t){var e=t(6518),n=t(4576),r=t(9565),o=t(9504),a=t(6395),u=t(3724),l=t(4495),c=t(9039),f=t(9297),v=t(1625),d=t(8551),p=t(5397),g=t(6969),h=t(655),y=t(6980),m=t(2360),b=t(1072),E=t(8480),x=t(298),k=t(3717),S=t(7347),w=t(4913),P=t(6801),I=t(8773),O=t(6840),j=t(2106),C=t(5745),M=t(6119),Y=t(421),F=t(3392),D=t(8227),$=t(1951),_=t(511),V=t(8242),K=t(687),H=t(1181),N=t(9213).forEach,T=M("hidden"),R="Symbol",q="prototype",Q=H.set,rt=H.getterFor(R),ct=Object[q],gt=n.Symbol,Et=gt&>[q],Ot=n.RangeError,It=n.TypeError,bt=n.QObject,Dt=S.f,xt=w.f,zt=x.f,Ut=I.f,Nt=o([].push),ut=C("symbols"),st=C("op-symbols"),Yt=C("wks"),ht=!bt||!bt[q]||!bt[q].findChild,St=function(U,W,J){var et=Dt(ct,W);et&&delete ct[W],xt(U,W,J),et&&U!==ct&&xt(ct,W,et)},kt=u&&c(function(){return m(xt({},"a",{get:function(){return xt(this,"a",{value:7}).a}})).a!==7})?St:xt,Ht=function(U,W){var J=ut[U]=m(Et);return Q(J,{type:R,tag:U,description:W}),u||(J.description=W),J},Rt=function(U,W,J){U===ct&&Rt(st,W,J),d(U);var et=g(W);return d(J),f(ut,et)?(J.enumerable?(f(U,T)&&U[T][et]&&(U[T][et]=!1),J=m(J,{enumerable:y(0,!1)})):(f(U,T)||xt(U,T,y(1,m(null))),U[T][et]=!0),kt(U,et,J)):xt(U,et,J)},Lt=function(U,W){d(U);var J=p(W),et=b(J).concat(ie(J));return N(et,function(dt){u&&!r($t,J,dt)||Rt(U,dt,J[dt])}),U},$t=function(U){var W=g(U),J=r(Ut,this,W);return!(this===ct&&f(ut,W)&&!f(st,W))&&(!(J||!f(this,W)||!f(ut,W)||f(this,T)&&this[T][W])||J)},Mt=function(U,W){var J=p(U),et=g(W);if(J!==ct||!f(ut,et)||f(st,et)){var dt=Dt(J,et);return!dt||!f(ut,et)||f(J,T)&&J[T][et]||(dt.enumerable=!0),dt}},oe=function(U){var W=zt(p(U)),J=[];return N(W,function(et){f(ut,et)||f(Y,et)||Nt(J,et)}),J},ie=function(U){var W=U===ct,J=zt(W?st:p(U)),et=[];return N(J,function(dt){!f(ut,dt)||W&&!f(ct,dt)||Nt(et,ut[dt])}),et};l||(gt=function(){if(v(Et,this))throw new It("Symbol is not a constructor");var U=arguments.length&&arguments[0]!==void 0?h(arguments[0]):void 0,W=F(U),J=function(et){var dt=this===void 0?n:this;dt===ct&&r(J,st,et),f(dt,T)&&f(dt[T],W)&&(dt[T][W]=!1);var ae=y(1,et);try{kt(dt,W,ae)}catch(se){if(!(se instanceof Ot))throw se;
vendor: 1,701 bytes, line 14
14St(dt,W,ae)}};return u&&ht&&kt(ct,W,{configurable:!0,set:J}),Ht(W,U)},O(Et=gt[q],"toString",function(){return rt(this).tag}),O(gt,"withoutSetter",function(U){return Ht(F(U),U)}),I.f=$t,w.f=Rt,P.f=Lt,S.f=Mt,E.f=x.f=oe,k.f=ie,$.f=function(U){return Ht(D(U),U)},u&&(j(Et,"description",{configurable:!0,get:function(){return rt(this).description}}),a||O(ct,"propertyIsEnumerable",$t,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:gt}),N(b(Yt),function(U){_(U)}),e({target:R,stat:!0,forced:!l},{useSetter:function(){ht=!0},useSimple:function(){ht=!1}}),e({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(U,W){return W===void 0?m(U):Lt(m(U),W)},defineProperty:Rt,defineProperties:Lt,getOwnPropertyDescriptor:Mt}),e({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:oe}),V(),K(gt,R),Y[T]=!0},9463:function(i,s,t){var e=t(6518),n=t(3724),r=t(4576),o=t(9504),a=t(9297),u=t(4901),l=t(1625),c=t(655),f=t(2106),v=t(7740),d=r.Symbol,p=d&&d.prototype;if(n&&u(d)&&(!("description"in p)||d().description!==void 0)){var g={},h=function(){var S=arguments.length<1||arguments[0]===void 0?void 0:c(arguments[0]),w=l(p,this)?new d(S):S===void 0?d():d(S);return S===""&&(g[w]=!0),w};v(h,d),h.prototype=p,p.constructor=h;var y=String(d("description detection"))==="Symbol(description detection)",m=o(p.valueOf),b=o(p.toString),E=/^Symbol\((.*)\)[^)]+$/,x=o("".replace),k=o("".slice);f(p,"description",{configurable:!0,get:function(){var S=m(this);if(a(g,S))return"";var w=b(S),P=y?k(w,7,-1):x(w,E,"$1");return P===""?void 0:P}}),e({global:!0,constructor:!0,forced:!0},{Symbol:h})}},1510:function(i,s,t){var e=t(6518),n=t(7751),r=t(9297),o=t(655),a=t(5745),u=t(1296),l=a("str
14ing-to-symbol-registry"),c=a("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!u},{for:function(f){var v=o(f);if(r(l,v))return l[v];var d=n("Symbol")(v);return l[v]=d,c[d]=v,d}})},2259:function(i,s,t){t(511)("iterator")},2675:function(i,s,t){t(6761),t(1510),t(7812),t(3110),t(9773)},7812:function(i,s,t){var e=t(6518),n=t(9297),r=t(757),o=t(6823),a=t(5745),u=t(1296),l=a("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!u},{keyFor:function(c){if(!r(c))throw new TypeError(o(c)+" is not a symbol");if(n(l,c))return l[c]}})},5700:function(i,s,t){var e=t(511),n=t(8242);e("toPrimitive"),n()},8344:function(i,s,t){t(8543)},3500:function(i,s,t){var e=t(4576),n=t(7400),r=t(9296),o=t(235),a=t(6699),u=function(c){if(c&&c.forEach!==o)try{a(c,"forEach",o)}catch{c.forEach=o}};for(var l in n)n[l]&&u(e[l]&&e[l].prototype);u(r)},2953:function(i,s,t){var e=t(4576),n=t(7400),r=t(9296),o=t(3792),a=t(6699),u=t(687),l=t(8227)("iterator"),c=o.values,f=function(d,p){if(d){if(d[l]!==c)try{a(d,l,c)}catch{d[l]=c}if(u(d,p,!0),n[p]){for(var g in o)if(d[g]!==o[g])try{a(d,g,o[g])}catch{d[g]=o[g]}}}};for(var v in n)f(e[v]&&e[v].prototype,v);f(r,"DOMTokenList")}},ot={};function A(i){var s=ot[i];if(s!==void 0)return s.exports;var t=ot[i]={exports:{}};return at[i].call(t.exports,t,t.exports,A),t.exports}A.d=function(i,s){for(var t in s)A.o(s,t)&&!A.o(i,t)&&Object.defineProperty(i,t,{enumerable:!0,get:s[t]})},A.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),A.o=function(i,s){return Object.prototype.hasOwnProperty.call(i,s)},A.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var ft={};function pt(i){return function(s){if(Array.isArray(s))return wt(s)}(i)||function(s){if(typeof Symbol<"u"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}(i)||yt(i)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 15In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function yt(i,s){if(i){if(typeof i=="string")return wt(i,s);var t={}.toString.call(i).slice(8,-1);return t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set"?Array.from(i):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?wt(i,s):void 0}}function wt(i,s){(s==null||s>i.length)&&(s=i.length);for(var t=0,e=Array(s);t<s;t++)e[t]=i[t];return e}function vt(i){return vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},vt(i)}function Bt(i,s){for(var t=0;t<s.length;t++){var e=s[t];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,tt(e.key),e)}}function G(i,s,t){return(s=tt(s))in i?Object.defineProperty(i,s,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[s]=t,i}function tt(i){var s=function(t,e){if(vt(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(vt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}(i,"string");return vt(s)=="symbol"?s:s+""}A.r(ft),A.d(ft,{SimpleKeyboard:function(){return re},default:function(){return fe}}),A(5276),A(8598),A(4782),A(4554),A(2010),A(7427),A(6099),A(7495),A(8781),A(5440),A(744),A(2762),typeof Element>"u"||"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),typeof self<"u"&&"document"in self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(i){if("Element"in i){var s="classList",t="prototype",e=i.Element[t],n=Object,r=String[t].trim||function(){return this.replace(/^\s+|\s+$/g,"")},o=Array[t].indexOf||function(d){for(var p=0,g=this.length;p<g;p++)if(p in this&&this[p]===d)return p;return-1},a=function(d,p){this.name=d,this.code=DOMException[d],this.message=p}
vendor: 8,487 bytes, lines 15-16
15,u=function(d,p){if(p==="")throw new a("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(p))throw new a("INVALID_CHARACTER_ERR","The token must not contain space characters.");return o.call(d,p)},l=function(d){for(var p=r.call(d.getAttribute("class")||""),g=p?p.split(/\s+/):[],h=0,y=g.length;h<y;h++)this.push(g[h]);this._updateClassName=function(){d.setAttribute("class",this.toString())}},c=l[t]=[],f=function(){return new l(this)};if(a[t]=Error[t],c.item=function(d){return this[d]||null},c.contains=function(d){return~u(this,d+"")},c.add=function(){var d,p=arguments,g=0,h=p.length,y=!1;do~u(this,d=p[g]+"")||(this.push(d),y=!0);while(++g<h);y&&this._updateClassName()},c.remove=function(){var d,p,g=arguments,h=0,y=g.length,m=!1;do for(p=u(this,d=g[h]+"");~p;)this.splice(p,1),m=!0,p=u(this,d);while(++h<y);m&&this._updateClassName()},c.toggle=function(d,p){var g=this.contains(d),h=g?p!==!0&&"remove":p!==!1&&"add";return h&&this[h](d),p===!0||p===!1?p:!g},c.replace=function(d,p){var g=u(d+"");~g&&(this.splice(g,1,p),this._updateClassName())},c.toString=function(){return this.join(" ")},n.defineProperty){var v={get:f,enumerable:!0,configurable:!0};try{n.defineProperty(e,s,v)}catch(d){d.number!==void 0&&d.number!==-2146823252||(v.enumerable=!1,n.defineProperty(e,s,v))}}else n[t].__defineGetter__&&e.__defineGetter__(s,f)}}(self),function(){var i=document.createElement("_");if(i.classList.add("c1","c2"),!i.classList.contains("c2")){var s=function(e){var n=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(r){var o,a=arguments.length;for(o=0;o<a;o++)r=arguments[o],n.call(this,r)}};s("add"),s("remove")}if(i.classList.toggle("c3",!1),i.classList.contains("c3")){var t=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,n){return 1 in arguments&&!this.contains(e)==!n?n:t.call(this,e)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(e,n){var r=this.toString().split(" "),o=r.indexOf(e+"");~o&&(r=r.slice(o),this.remove.apply(this,r),this.add(n),this.add.apply(this,r.slice(1)))}),i=null}()),A(2675),A(9463),A(2259),A(5700),A(8706),A(2008),A(3418),A(4423),A(3792),A(2062),A(6910),A(739),A(9572),A(2892),A(9085),A(3851),A(1278),A(9432),A(4864),A(1699),A(7764),A(8344),A(3500),A(2953),A(2712),A(2637),A(1480),A(1761);var it=function(){return i=function e(n){var r=n.getOptions,o=n.getCaretPosition,a=n.getCaretPositionEnd,u=n.dispatch;(function(l,c){if(!(l instanceof c))throw new TypeError("Cannot call a class as a function")})(this,e),G(this,"getOptions",void 0),G(this,"getCaretPosition",void 0),G(this,"getCaretPositionEnd",void 0),G(this,"dispatch",void 0),G(this,"maxLengthReached",void 0),G(this,"isStandardButton",function(l){return l&&!(l[0]==="{"&&l[l.length-1]==="}")}),this.getOptions=r,this.getCaretPosition=o,this.getCaretPositionEnd=a,this.dispatch=u,e.bindMethods(e,this)},s=[{key:"getButtonType",value:function(e){return e.includes("{")&&e.includes("}")&&e!=="{//}"?"functionBtn":"standardBtn"}},{key:"getButtonClass",value:function(e){var n=this.getButtonType(e),r=e.replace("{","").replace("}",""),o="";return n!=="standardBtn"&&(o=" hg-button-".concat(r)),"hg-".concat(n).concat(o)}},{key:"getDefaultDiplay",value:function(){return{"{bksp}":"backspace","{backspace}":"backspace","{enter}":"< enter","{shift}":"shift","{shiftleft}":"shift","{shiftright}":"shift","{alt}":"alt","{s}":"shift","{tab}":"tab","{lock}":"caps","{capslock}":"caps","{accept}":"Submit","{space}":" ","{//}":" ","{esc}":"esc","{escape}":"esc","{f1}":"f1","{f2}":"f2","{f3}":"f3","{f4}":"f4","{f5}":"f5","{f6}":"f6","{f7}":"f7","{f8}":"f8","{f9}":"f9","{f10}":"f10","{f11}":"f11","{f12}":"f12","{numpaddivide}":"/","{numlock}":"lock","{arrowup}":"â","{arrowleft}":"â","{arrowdown}":"â","{arrowright}":"â","{prtscr}":"print","{scrolllock}":"scroll","{pause}":"pause","{insert}":"ins","{home}":"home","{pageup}":"up","{delete}":"del","{forwarddelete}":"del","{end}":"end","{pagedown}":"down","{numpadmultiply}":"*","{numpadsubtract}":"-","{numpadadd}":"+","{numpadenter}":"enter","{period}":".","{numpaddecimal}":".","{numpad0}":"0","{numpad1}":"1","{numpad2}":"2","{numpad3}":"3","{numpad4}":"4","{numpad5}":"5","{numpad6}":"6","{numpad7}":"7","{numpad8}":"8","{numpad9}":"9"}}},{key:"getButtonDisplayName",value:function(e,n){return(n=arguments.length>2&&arguments[2]!==void 0&&arguments[2]?Object.assign({},this.getDefaultDiplay(),n):n||this.getDefaultDiplay())[e]||e}},{key:"getUpdatedInput",value:function(e,n,r){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:r,a=arguments.length>4&&arguments[4]!==void 0&&arguments[4],u=this.getOptions(),l=[r,o,a],c=n;return(e==="{bksp}"||e==="{backspace}")&&c.length>0?c=this.removeAt.apply(this,[c].concat(l)):(e==="{delete}"||e==="{forwarddelete}")&&c.length>0?c=this.removeForwardsAt.apply(this,[c].concat(l)):e==="{space}"?c=this.addStringAt.apply(this,[c," "].concat(l)):e!=="{tab}"||typeof u.tabCharOnTab=="boolean"&&u.tabCharOnTab===!1?e!=="{enter}"&&e!=="{numpadenter}"||!u.newLineOnEnter?e.includes("numpad")&&Number.isInteger(Number(e[e.length-2]))?c=this.addStringAt.apply(this,[c,e[e.length-2]].concat(l)):e==="{numpaddivide}"?c=this.addStringAt.apply(this,[c,"/"].concat(l)):e==="{numpadmultiply}"?c=this.addStringAt.apply(this,[c,"*"].concat(l)):e==="{numpadsubtract}"?c=this.addStringAt.apply(this,[c,"-"].concat(l)):e==="{numpadadd}"?c=this.addStringAt.apply(this,[c,"+"].concat(l)):e==="{numpaddecimal}"?c=this.addStringAt.apply(this,[c,"."].concat(l)):e==="{"||e==="}"?c=this.addStringAt.apply(this,[c,e].concat(l)):e.includes("{")||e.includes("}")||(c=this.addStringAt.apply(this,[c,e].concat(l))):c=this.addStringAt.apply(this,[c,` 16`].concat(l)):c=this.addStringAt.apply(this,[c," "].concat(l)),u.debug&&console.log("Input will be: "+c),c}},{key:"updateCaretPos",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],r=this.updateCaretPosAction(e,n);this.dispatch(function(o){o.setCaretPosition(r)})}},{key:"updateCaretPosAction",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],r=this.getOptions(),o=this.getCaretPosition();return o!=null&&(n?o>0&&(o-=e):o+=e),r.debug&&console.log("Caret at:",o),o}},{key:"addStringAt",value:function(e,n){var r,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:e.length,u=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return o||o===0?(r=[e.slice(0,o),n,e.slice(a)].join(""),this.isMaxLengthReached()||u&&this.updateCaretPos(n.length)):r=e+n,r}},{key:"removeAt",value:function(e){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.length,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,a=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(r===0&&o===0)return e;if(r===o){var u=/([\uD800-\uDBFF][\uDC00-\uDFFF])/g;r&&r>=0?e.substring(r-2,r).match(u)?(n=e.substr(0,r-2)+e.substr(r),a&&this.updateCaretPos(2,!0)):(n=e.substr(0,r-1)+e.substr(r),a&&this.updateCaretPos(1,!0)):e.slice(-2).match(u)?(n=e.slice(0,-2),a&&this.updateCaretPos(2,!0)):(n=e.slice(0,-1),a&&this.updateCaretPos(1,!0))}else n=e.slice(0,r)+e.slice(o),a&&this.dispatch(function(l){l.setCaretPosition(r)});return n}},{key:"removeForwardsAt",value:function(e){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.length,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,a=arguments.length>3&&arguments[3]!==void 0&&arguments[3];return e!=null&&e.length&&r!==null?(r===o?n=e.substring(r,r+2).match(/([\uD800-\uDBFF][\uDC00-\uDFFF])/g)?e.substr(0,r)+e.substr(r+2):e.substr(0,r)+e.substr(r+1):(n=e.slice(0,r)+e.slice(o),a&&this.dispatch(function(u){u.setCaretPosition(r)})),n):e}},{key:"handleMaxLength",value:function(e,n){var r=this.getOptions(),o=r.maxLength,a=e[r.inputName||"default"],u=n.length-1>=o;if(n.length<=a.length)return!1;if(Number.isInteger(o))return r.debug&&console.log("maxLength (num) reached:",u),u?(this.maxLengthReached=!0,!0):(this.maxLengthReached=!1,!1);if(vt(o)==="object"){var l=n.length-1>=o[r.inputName||"default"];return r.debug&&console.log("maxLength (obj) reached:",l),l?(this.maxLengthReached=!0,!0):(this.maxLengthReached=!1,!1)}}},{key:"isMaxLengthReached",value:function(){return!!this.maxLengthReached}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints}},{key:"pointerEventsSupported",value:function(){return!!window.PointerEvent}}
16,{key:"camelCase",value:function(e){return e?e.toLowerCase().trim().split(/[.\-_\s]/g).reduce(function(n,r){return r.length?n+r[0].toUpperCase()+r.slice(1):n}):""}},{key:"chunkArray",value:function(e,n){return pt(Array(Math.ceil(e.length/n))).map(function(r,o){return e.slice(n*o,n+n*o)})}},{key:"escapeRegex",value:function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}},{key:"getRtlOffset",value:function(e,n){var r=e,o=n.indexOf("â«");return o<e&&o!=-1&&r--,n.indexOf("â¬")<e&&o!=-1&&r--,r<0?0:r}}],t=[{key:"bindMethods",value:function(e,n){var r,o=function(u,l){var c=typeof Symbol<"u"&&u[Symbol.iterator]||u["@@iterator"];if(!c){if(Array.isArray(u)||(c=yt(u))||l){c&&(u=c);var f=0,v=function(){};return{s:v,n:function(){return f>=u.length?{done:!0}:{done:!1,value:u[f++]}},e:function(h){throw h},f:v}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 17In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var d,p=!0,g=!1;return{s:function(){c=c.call(u)},n:function(){var h=c.next();return p=h.done,h},e:function(h){g=!0,d=h},f:function(){try{p||c.return==null||c.return()}finally{if(g)throw d}}}}(Object.getOwnPropertyNames(e.prototype));try{for(o.s();!(r=o.n()).done;){var a=r.value;a==="constructor"||a==="bindMethods"||(n[a]=n[a].bind(n))}}catch(u){o.e(u)}finally{o.f()}}}],s&&Bt(i.prototype,s),t&&Bt(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,s,t}();G(it,"noop",function(){});var B=it;function L(i){return L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},L(i)}function Z(i,s){for(var t=0;t<s.length;t++){var e=s[t];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,mt(e.key),e)}}function nt(i,s,t){return(s=mt(s))in i?Object.defineProperty(i,s,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[s]=t,i}function mt(i){var s=function(t,e){if(L(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(L(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(i,"string");return L(s)=="symbol"?s:s+""}var At=function(){return i=function e(n){var r=this,o=n.dispatch,a=n.getOptions;(function(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")})(this,e),nt(this,"getOptions",void 0),nt(this,"dispatch",void 0),nt(this,"isModifierKey",function(u){return u.altKey||u.ctrlKey||u.shiftKey||["Tab","CapsLock","Esc","ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(u.code||u.key||r.keyCodeToKey(u==null?void 0:u.keyCode))}),this.dispatch=o,this.getOptions=a,B.bindMethods(e,this)},s=[{key:"handleHighlightKeyDown",value:function(e){var n=this.getOptions();n.physicalKeyboardHighlightPreventDefault&&this.isModifierKey(e)&&(e.preventDefault(),e.stopImmediatePropagation());var r=this.getSimpleKeyboardLayoutKey(e);this.dispatch(function(o){var a,u,l=o.getButtonElement(r),c=o.getButtonElement("{".concat(r,"}"));if(l)a=l,u=r;else{if(!c)return;a=c,u="{".concat(r,"}")}var f,v,d,p,g=function(y){y.style.background=n.physicalKeyboardHighlightBgColor||"#dadce4",y.style.color=n.physicalKeyboardHighlightTextColor||"black"};if(a)if(Array.isArray(a)){if(a.forEach(function(y){return g(y)}),n.physicalKeyboardHighlightPress)if(n.physicalKeyboardHighlightPressUsePointerEvents)(f=a[0])===null||f===void 0||(v=f.onpointerdown)===null||v===void 0||v.call(f,e);else if(n.physicalKeyboardHighlightPressUseClick){var h;(h=a[0])===null||h===void 0||h.click()}else o.handleButtonClicked(u,e)}else g(a),n.physicalKeyboardHighlightPress&&(n.physicalKeyboardHighlightPressUsePointerEvents?(d=a)===null||d===void 0||(p=d.onpointerdown)===null||p===void 0||p.call(d,e):n.physicalKeyboardHighlightPressUseClick?a.click():o.handleButtonClicked(u,e))})}},{key:"handleHighlightKeyUp",value:function(e){var n=this.getOptions();n.physicalKeyboardHighlightPreventDefault&&this.isModifierKey(e)&&(e.preventDefault(),e.stopImmediatePropagation());var r=this.getSimpleKeyboardLayoutKey(e);this.dispatch(function(o){var a,u,l,c=o.getButtonElement(r)||o.getButtonElement("{".concat(r,"}")),f=function(v){v.removeAttribute&&v.removeAttribute("style")};c&&(Array.isArray(c)?(c.forEach(function(v){return f(v)}),n.physicalKeyboardHighlightPressUsePointerEvents&&((a=c[0])===null||a===void 0||(u=a.onpointerup)===null||u===void 0||u.call(a,e))):(f(c),n.physicalKeyboardHighlightPressUsePointerEvents&&(c==null||(l=c.onpointerup)===null||l===void 0||l.call(c,e))))})}},{key:"getSimpleKeyboardLayoutKey",value:function(e){var n,r="",o=e.code||e.key||this.keyCodeToKey(e==null?void 0:e.keyCode);return(r=o!=null&&o.includes("Numpad")||o!=null&&o.includes("Shift")||o!=null&&o.includes("Space")||o!=null&&o.includes("Backspace")||o!=null&&o.includes("Control")||o!=null&&o.includes("Alt")||o!=null&&o.includes("Meta")?e.code||"":e.key||this.keyCodeToKey(e==null?void 0:e.keyCode)||"").length>1?(n=r)===null||n===void 0?void 0:n.toLowerCase():r}},{key:"keyCodeToKey",value:function(e){return{8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84
vendor: 6,313 bytes, lines 17-18
17:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:"Meta",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9",106:"NumpadMultiply",107:"NumpadAdd",109:"NumpadSubtract",110:"NumpadDecimal",111:"NumpadDivide",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}[e]||""}}],s&&Z(i.prototype,s),t&&Z(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,s,t}();function jt(i){return jt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},jt(i)}function Vt(i,s){for(var t=0;t<s.length;t++){var e=s[t];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,Wt(e.key),e)}}function Pt(i,s,t){return(s=Wt(s))in i?Object.defineProperty(i,s,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[s]=t,i}function Wt(i){var s=function(t,e){if(jt(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(jt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(i,"string");return jt(s)=="symbol"?s:s+""}var Jt=function(){return i=function e(n){var r=n.utilities,o=n.options;(function(a,u){if(!(a instanceof u))throw new TypeError("Cannot call a class as a function")})(this,e),Pt(this,"utilities",void 0),Pt(this,"options",void 0),Pt(this,"candidateBoxElement",void 0),Pt(this,"pageIndex",0),Pt(this,"pageSize",void 0),this.utilities=r,this.options=o,B.bindMethods(e,this),this.pageSize=this.utilities.getOptions().layoutCandidatesPageSize||5},s=[{key:"destroy",value:function(){this.candidateBoxElement&&(this.candidateBoxElement.remove(),this.pageIndex=0)}},{key:"show",value:function(e){var n=this,r=e.candidateValue,o=e.targetElement,a=e.onSelect;if(r&&r.length){var u=this.utilities.chunkArray(r.split(" "),this.pageSize);this.renderPage({candidateListPages:u,targetElement:o,pageIndex:this.pageIndex,nbPages:u.length,onItemSelected:function(l,c){a(l,c),n.destroy()}})}}},{key:"renderPage",value:function(e){var n,r=this,o=e.candidateListPages,a=e.targetElement,u=e.pageIndex,l=e.nbPages,c=e.onItemSelected;(n=this.candidateBoxElement)===null||n===void 0||n.remove(),this.candidateBoxElement=document.createElement("div"),this.candidateBoxElement.className="hg-candidate-box";var f=document.createElement("ul");f.className="hg-candidate-box-list",o[u].forEach(function(m){var b,E=document.createElement("li"),x=function(){var k=new(r.options.useTouchEvents?TouchEvent:MouseEvent)("click");return Object.defineProperty(k,"target",{value:E}),k};E.className="hg-candidate-box-list-item",E.innerHTML=((b=r.options.display)===null||b===void 0?void 0:b[m])||m,r.options.useTouchEvents?E.ontouchstart=function(k){return c(m,k||x())}:E.onclick=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x();return c(m,k)},f.appendChild(E)});var v=u>0,d=document.createElement("div");d.classList.add("hg-candidate-box-prev"),v&&d.classList.add("hg-candidate-box-btn-active");var p=function(){v&&r.renderPage({candidateListPages:o,targetElement:a,pageIndex:u-1,nbPages:l,onItemSelected:c})};this.options.useTouchEvents?d.ontouchstart=p:d.onclick=p,this.candidateBoxElement.appendChild(d),this.candidateBoxElement.appendChild(f);var g=u<l-1,h=document.createElement("div");h.classList.add("hg-candidate-box-next"),g&&h.classList.add("hg-candidate-box-btn-active");var y=function(){g&&r.renderPage({candidateListPages:o,targetElement:a,pageIndex:u+1,nbPages:l,onItemSelected:c})};this.options.useTouchEvents?h.ontouchstart=y:h.onclick=y,this.candidateBoxElement.appendChild(h),a.prepend(this.candidateBoxElement)}}],s&&Vt(i.prototype,s),t&&Vt(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,s,t}(),Xt=Jt;function _t(i){return function(s){if(Array.isArray(s))return Zt(s)}(i)||function(s){if(typeof Symbol<"u"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}(i)||function(s,t){if(s){if(typeof s=="string")return Zt(s,t);var e={}.toString.call(s).slice(8,-1);return e==="Object"&&s.constructor&&(e=s.constructor.name),e==="Map"||e==="Set"?Array.from(s):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Zt(s,t):void 0}}(i)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 18In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Zt(i,s){(s==null||s>i.length)&&(s=i.length);for(var t=0,e=Array(s);t<s;t++)e[t]=i[t];return e}function Ft(i){return Ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Ft(i)}function te(i,s){var t=Object.keys(i);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(i);s&&(e=e.filter(function(n){return Object.getOwnPropertyDescriptor(i,n).enumerable})),t.push.apply(t,e)}return t}function ee(i,s){for(var t=0;t<s.length;t++){var e=s[t];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,ne(e.key),e)}}function X(i,s,t){return(s=ne(s))in i?Object.defineProperty(i,s,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[s]=t,i}function ne(i){var s=function(t,e){if(Ft(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(Ft(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(i,"string");return Ft(s)=="symbol"?s:s+""}var le=function(){return i=function e(n,r){var o=this;if(function(p,g){if(!(p instanceof g))throw new TypeError("Cannot call a class as a function")}(this,e),X(this,"input",void 0),X(this,"options",void 0),X(this,"utilities",void 0),X(this,"caretPosition",void 0),X(this,"caretPositionEnd",void 0),X(this,"keyboardDOM",void 0),X(this,"keyboardPluginClasses",void 0),X(this,"keyboardDOMClass",void 0),X(this,"buttonElements",void 0),X(this,"currentInstanceName",void 0),X(this,"allKe
18yboardInstances",void 0),X(this,"keyboardInstanceNames",void 0),X(this,"isFirstKeyboardInstance",void 0),X(this,"physicalKeyboard",void 0),X(this,"modules",void 0),X(this,"activeButtonClass",void 0),X(this,"holdInteractionTimeout",void 0),X(this,"holdTimeout",void 0),X(this,"isMouseHold",void 0),X(this,"initialized",void 0),X(this,"candidateBox",void 0),X(this,"keyboardRowsDOM",void 0),X(this,"defaultName","default"),X(this,"activeInputElement",null),X(this,"handleParams",function(p,g){var h,y,m;if(typeof p=="string")h=p.split(".").join(""),y=document.querySelector(".".concat(h)),m=g;else if(p instanceof HTMLDivElement){if(!p.className)throw console.warn("Any DOM element passed as parameter must have a class."),new Error("KEYBOARD_DOM_CLASS_ERROR");h=p.className.split(" ")[0],y=p,m=g}else h="simple-keyboard",y=document.querySelector(".".concat(h)),m=p;return{keyboardDOMClass:h,keyboardDOM:y,options:m}}),X(this,"getOptions",function(){return o.options}),X(this,"getCaretPosition",function(){return o.caretPosition}),X(this,"getCaretPositionEnd",function(){return o.caretPositionEnd}),X(this,"registerModule",function(p,g){o.modules[p]||(o.modules[p]={}),g(o.modules[p])}),X(this,"getKeyboardClassString",function(){for(var p=arguments.length,g=new Array(p),h=0;h<p;h++)g[h]=arguments[h];return[o.keyboardDOMClass].concat(g).filter(function(y){return!!y}).join(" ")}),typeof window<"u"){var a=this.handleParams(n,r),u=a.keyboardDOMClass,l=a.keyboardDOM,c=a.options,f=c===void 0?{}:c;this.utilities=new B({getOptions:this.getOptions,getCaretPosition:this.getCaretPosition,getCaretPositionEnd:this.getCaretPositionEnd,dispatch:this.dispatch}),this.caretPosition=null,this.caretPositionEnd=null,this.keyboardDOM=l,this.options=function(p){for(var g=1;g<arguments.length;g++){var h=arguments[g]!=null?arguments[g]:{};g%2?te(Object(h),!0).forEach(function(y){X(p,y,h[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(h)):te(Object(h)).forEach(function(y){Object.defineProperty(p,y,Object.getOwnPropertyDescriptor(h,y))})}return p}({layoutName:"default",theme:"hg-theme-default",inputName:"default",preventMouseDownDefault:!1,enableLayoutCandidates:!0,excludeFromLayout:{}},f),this.keyboardPluginClasses="",B.bindMethods(e,this);var v=this.options.inputName,d=v===void 0?this.defaultName:v;if(this.input={},this.input[d]="",this.keyboardDOMClass=u,this.buttonElements={},window.SimpleKeyboardInstances||(window.SimpleKeyboardInstances={}),this.currentInstanceName=this.utilities.camelCase(this.keyboardDOMClass),window.SimpleKeyboardInstances[this.currentInstanceName]=this,this.allKeyboardInstances=window.SimpleKeyboardInstances,this.keyboardInstanceNames=Object.keys(window.SimpleKeyboardInstances),this.isFirstKeyboardInstance=this.keyboardInstanceNames[0]===this.currentInstanceName,this.physicalKeyboard=new At({dispatch:this.dispatch,getOptions:this.getOptions}),this.candidateBox=this.options.enableLayoutCandidates?new Xt({utilities:this.utilities,options:this.options}):null,!this.keyboardDOM)throw console.warn('".'.concat(u,'" was not found in the DOM.')),new Error("KEYBOARD_DOM_ERROR");this.render(),this.modules={},this.loadModules()}},s=[{key:"setCaretPosition",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;this.caretPosition=e,this.caretPositionEnd=n}},{key:"getInputCandidates",value:function(e){var n=this,r=this.options,o=r.layoutCandidates,a=r.layoutCandidatesCaseSensitiveMatch;if(!o||Ft(o)!=="object")return{};var u=Object.keys(o).filter(function(f){var v=e.substring(0,n.getCaretPositionEnd()||0)||e,d=new RegExp("".concat(n.utilities.escapeRegex(f),"$"),a?"g":"gi");return!!_t(v.matchAll(d)).length});if(u.length>1){var l=u.sort(function(f,v){return v.length-f.length})[0];return{candidateKey:l,candidateValue:o[l]}}if(u.length){var c=u[0];return{candidateKey:c,candidateValue:o[c]}}return{}}},{key:"showCandidatesBox",value:function(e,n,r){var o=this;this.candidateBox&&this.candidateBox.show({candidateValue:n,targetElement:r,onSelect:function(a,u){var l=o.options,c=l.layoutCandidatesCaseSensitiveMatch,f=l.disableCandidateNormalization,v=l.enableLayoutCandidatesKeyPress,d=a;f||(d=a.normalize("NFD")),typeof o.options.beforeInputUpdate=="function"&&o.options.beforeInputUpdate(o);
vendor: 7,294 bytes, line 18
18var p=o.getInput(o.options.inputName,!0),g=o.getCaretPositionEnd()||0,h=p.substring(0,g||0)||p,y=new RegExp("".concat(o.utilities.escapeRegex(e),"$"),c?"g":"gi"),m=h.replace(y,d),b=p.replace(h,m),E=m.length-h.length,x=(g||p.length)+E;x<0&&(x=0),o.setInput(b,o.options.inputName,!0),o.setCaretPosition(x),v&&typeof o.options.onKeyPress=="function"&&o.options.onKeyPress(a,u),typeof o.options.onChange=="function"&&o.options.onChange(o.getInput(o.options.inputName,!0),u),typeof o.options.onChangeAll=="function"&&o.options.onChangeAll(o.getAllInputs(),u)}})}},{key:"handleButtonClicked",value:function(e,n){var r=this.options,o=r.inputName,a=o===void 0?this.defaultName:o,u=r.debug;if(e!=="{//}"){this.input[a]||(this.input[a]=""),typeof this.options.beforeInputUpdate=="function"&&this.options.beforeInputUpdate(this);var l=this.utilities.getUpdatedInput(e,this.input[a],this.caretPosition,this.caretPositionEnd);if(this.utilities.isStandardButton(e)&&this.activeInputElement&&this.input[a]&&this.input[a]===l&&this.caretPosition===0&&this.caretPositionEnd===l.length)return this.setInput("",this.options.inputName,!0),this.setCaretPosition(0),this.activeInputElement.value="",this.activeInputElement.setSelectionRange(0,0),void this.handleButtonClicked(e,n);if(typeof this.options.onKeyPress=="function"&&this.options.onKeyPress(e,n),this.input[a]!==l&&(!this.options.inputPattern||this.options.inputPattern&&this.inputPatternIsValid(l))){if(this.options.maxLength&&this.utilities.handleMaxLength(this.input,l))return;var c=this.utilities.getUpdatedInput(e,this.input[a],this.caretPosition,this.caretPositionEnd,!0);if(this.setInput(c,this.options.inputName,!0),u&&console.log("Input changed:",this.getAllInputs()),this.options.debug&&console.log("Caret at: ",this.getCaretPosition(),this.getCaretPositionEnd(),"(".concat(this.keyboardDOMClass,")"),n==null?void 0:n.type),this.options.syncInstanceInputs&&this.syncInstanceInputs(),typeof this.options.onChange=="function"&&this.options.onChange(this.getInput(this.options.inputName,!0),n),typeof this.options.onChangeAll=="function"&&this.options.onChangeAll(this.getAllInputs(),n),n!=null&&n.target&&this.options.enableLayoutCandidates){var f,v=this.getInputCandidates(l),d=v.candidateKey,p=v.candidateValue;d&&p?this.showCandidatesBox(d,p,this.keyboardDOM):(f=this.candidateBox)===null||f===void 0||f.destroy()}}this.caretPositionEnd&&this.caretPosition!==this.caretPositionEnd&&(this.setCaretPosition(this.caretPositionEnd,this.caretPositionEnd),this.activeInputElement&&this.activeInputElement.setSelectionRange(this.caretPositionEnd,this.caretPositionEnd),this.options.debug&&console.log("Caret position aligned",this.caretPosition)),u&&console.log("Key pressed:",e)}}},{key:"getMouseHold",value:function(){return this.isMouseHold}},{key:"setMouseHold",value:function(e){this.options.syncInstanceInputs?this.dispatch(function(n){n.isMouseHold=e}):this.isMouseHold=e}},{key:"handleButtonMouseDown",value:function(e,n){var r=this;n&&(this.options.preventMouseDownDefault&&n.preventDefault(),this.options.stopMouseDownPropagation&&n.stopPropagation(),n.target.classList.add(this.activeButtonClass)),this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),this.holdTimeout&&clearTimeout(this.holdTimeout),this.setMouseHold(!0),this.options.disableButtonHold||(this.holdTimeout=window.setTimeout(function(){(r.getMouseHold()&&(!e.includes("{")&&!e.includes("}")||e==="{delete}"||e==="{backspace}"||e==="{bksp}"||e==="{space}"||e==="{tab}")||e==="{arrowright}"||e==="{arrowleft}"||e==="{arrowup}"||e==="{arrowdown}")&&(r.options.debug&&console.log("Button held:",e),r.handleButtonHold(e)),clearTimeout(r.holdTimeout)},500))}},{key:"handleButtonMouseUp",value:function(e,n){var r=this;n&&(this.options.preventMouseUpDefault&&n.preventDefault&&n.preventDefault(),this.options.stopMouseUpPropagation&&n.stopPropagation&&n.stopPropagation(),!(n.target===this.keyboardDOM||n.target&&this.keyboardDOM.contains(n.target)||this.candidateBox&&this.candidateBox.candidateBoxElement&&(n.target===this.candidateBox.candidateBoxElement||n.target&&this.candidateBox.candidateBoxElement.contains(n.target)))&&this.candidateBox&&this.candidateBox.destroy()),this.recurseButtons(function(o){o.classList.remove(r.activeButtonClass)}),this.setMouseHold(!1),this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),e&&typeof this.options.onKeyReleased=="function"&&this.options.onKeyReleased(e,n)}},{key:"handleKeyboardContainerMouseDown",value:function(e){this.options.preventMouseDownDefault&&e.preventDefault()}},{key:"handleButtonHold",value:function(e){var n=this;this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),this.holdInteractionTimeout=window.setTimeout(function(){n.getMouseHold()?(n.handleButtonClicked(e),n.handleButtonHold(e)):clearTimeout(n.holdInteractionTimeout)},100)}},{key:"syncInstanceInputs",value:function(){var e=this;this.dispatch(function(n){n.replaceInput(e.input),n.setCaretPosition(e.caretPosition,e.caretPositionEnd)})}},{key:"clearInput",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.inputName||this.defaultName;this.input[e]="",this.setCaretPosition(0),this.options.syncInstanceInputs&&this.syncInstanceInputs()}},{key:"getInput",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.inputName||this.defaultName,n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this.options.syncInstanceInputs&&!n&&this.syncInstanceInputs(),this.options.rtl?"â«"+this.input[e].replace("â«","").replace("â¬","")+"â¬":this.input[e]}},{key:"getAllInputs",value:function(){var e=this,n={};return Object.keys(this.input).forEach(function(r){n[r]=e.getInput(r,!0)}),n}},{key:"setInput",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.inputName||this.defaultName,r=arguments.length>2?arguments[2]:void 0;this.input[n]=e,!r&&this.options.syncInstanceInputs&&this.syncInstanceInputs()}},{key:"replaceInput",value:function(e){this.input=e}},{key:"setOptions",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=this.changedOptions(e);this.options=Object.assign(this.options,e),n.length&&(this.options.debug&&console.log("changedOptions",n),this.onSetOptions(n),this.render())}},{key:"changedOptions",value:function(e){var n=this;return Object.keys(e).filter(function(r){return JSON.stringify(e[r])!==JSON.stringify(n.options[r])})}},{key:"onSetOptions",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];e.includes("layoutName")&&this.candidateBox&&this.candidateBox.destroy(),(e.includes("layoutCandidatesPageSize")||e.includes("layoutCandidates"))&&this.candidateBox&&(this.candidateBox.destroy(),this.candidateBox=new Xt({utilities:this.utilities,options:this.options}))}},{key:"resetRows",value:function(){this.keyboardRowsDOM&&this.keyboardRowsDOM.remove(),this.keyboardDOM.className=this.keyboardDOMClass,this.keyboardDOM.setAttribute("data-skInstance",this.currentInstanceName),this.buttonElements={}}},{key:"dispatch",value:function(e){if(!window.SimpleKeyboardInstances)throw console.warn("SimpleKeyboardInstances is not defined. Dispatch cannot be called."),new Error("INSTANCES_VAR_ERROR");
18return Object.keys(window.SimpleKeyboardInstances).forEach(function(n){e(window.SimpleKeyboardInstances[n],n)})}},{key:"addButtonTheme",value:function(e,n){var r=this;n&&e&&(e.split(" ").forEach(function(o){n.split(" ").forEach(function(a){r.options.buttonTheme||(r.options.buttonTheme=[]);var u=!1;r.options.buttonTheme.map(function(l){if(l!=null&&l.class.split(" ").includes(a)){u=!0;var c=l.buttons.split(" ");c.includes(o)||(u=!0,c.push(o),l.buttons=c.join(" "))}return l}),u||r.options.buttonTheme.push({class:a,buttons:e})})}),this.render())}},{key:"removeButtonTheme",value:function(e,n){var r=this;if(!e&&!n)return this.options.buttonTheme=[],void this.render();e&&Array.isArray(this.options.buttonTheme)&&this.options.buttonTheme.length&&(e.split(" ").forEach(function(o){var a;(a=r.options)===null||a===void 0||(a=a.buttonTheme)===null||a===void 0||a.map(function(u,l){if(u&&n&&n.includes(u.class)||!n){var c,f,v=(c=u)===null||c===void 0?void 0:c.buttons.split(" ").filter(function(d){return d!==o});u&&v!=null&&v.length?u.buttons=v.join(" "):((f=r.options.buttonTheme)===null||f===void 0||f.splice(l,1),u=null)}return u})}),this.render())}},{key:"getButtonElement",value:function(e){var n,r=this.buttonElements[e];return r&&(n=r.length>1?r:r[0]),n}},{key:"inputPatternIsValid",value:function(e){var n,r=this.options.inputPattern;if((n=r instanceof RegExp?r:r[this.options.inputName||this.defaultName])&&e){var o=n.test(e);return this.options.debug&&console.log('inputPattern ("'.concat(n,'"): ').concat(o?"passed":"did not pass!")),o}return!0}},{key:"setEventListeners",value:function(){if(this.isFirstKeyboardInstance||!this.allKeyboardInstances){this.options.debug&&console.log("Caret handling started (".concat(this.keyboardDOMClass,")"));var e=this.options.physicalKeyboardHighlightPreventDefault,n=e!==void 0&&e;document.addEventListener("keyup",this.handleKeyUp,n),document.addEventListener("keydown",this.handleKeyDown,n),document.addEventListener("mouseup",this.handleMouseUp),document.addEventListener("touchend",this.handleTouchEnd),document.addEventListener("selectionchange",this.handleSelectionChange),document.addEventListener("select",this.handleSelect)}}},{key:"handleKeyUp",value:function(e){this.caretEventHandler(e),this.options.physicalKeyboardHighlight&&this.physicalKeyboard.handleHighlightKeyUp(e)}},{key:"handleKeyDown",value:function(e){this.options.physicalKeyboardHighlight&&this.physicalKeyboard.handleHighlightKeyDown(e)}},{key:"handleMouseUp",value:function(e){this.caretEventHandler(e)}},{key:"handleTouchEnd",value:function(e){this.caretEventHandler(e)}},{key:"handleSelect",value:function(e){this.caretEventHandler(e)}},{key:"handleSelectionChange",value:function(e){navigator.userAgent.includes("Firefox")||this.caretEventHandler(e)}},{key:"caretEventHandler",value:function(e){var n,r=this;e.target.tagName&&(n=e.target.tagName.toLowerCase()),this.dispatch(function(o){var a=e.target===o.keyboardDOM||e.target&&o.keyboardDOM.contains(e.target);if(r.options.syncInstanceInputs&&Array.isArray(e.path)&&(a=e.path.some(function(c){var f;return c==null||(f=c.hasAttribute)===null||f===void 0?void 0:f.call(c,"data-skInstance")})),(n==="textarea"||n==="input"&&["text","search","url","tel","password"].includes(e.target.type))&&!o.options.disableCaretPositioning){var u=e.target.selectionStart,l=e.target.selectionEnd;o.options.rtl&&(u=o.utilities.getRtlOffset(u,o.getInput()),l=o.utilities.getRtlOffset(l,o.getInput())),o.setCaretPosition(u,l),o.activeInputElement=e.target,o.options.debug&&console.log("Caret at: ",o.getCaretPosition(),o.getCaretPositionEnd(),e&&e.target.tagName.toLowerCase(),"(".concat(o.keyboardDOMClass,")"),e==null?void 0:e.type)}else!o.options.disableCaretPositioning&&a||(e==null?void 0:e.type)==="selectionchange"||(o.setCaretPosition(null),o.activeInputElement=null,o.options.debug&&console.log('Caret position reset due to "'.concat(e==null?void 0:e.type,'" event'),e))})}},{key:"recurseButtons",value:function(e){var n=this;e&&Object.keys(this.buttonElements).forEach(function(r){return n.buttonElements[r].forEach(e)})}},{key:"destroy",value:function(){this.options.debug&&console.log("Destroying simple-keyboard instance: ".concat(this.currentInstanceName));var e=this.options.physicalKeyboardHighlightPreventDefault,n=e!==void 0&&e;document.removeEventListener("keyup",this.handleKeyUp,n),document.removeEventListener("keydown",this.handleKeyDown,n),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("touchend",this.handleTouchEnd),document.removeEventListener("select",this.handleSelect),document.removeEventListener("selectionchange",this.handleSelectionChange),document.onpointerup=null,document.ontouchend=null,document.ontouchcancel=null,document.onmouseup=null,this.recurseButtons(function(r){r&&(r.onpointerdown=null,r.onpointerup=null,r.onpointercancel=null,r.ontouchstart=null,r.ontouchend=null,r.ontouchcancel=null,r.onclick=null,r.onmousedown=null,r.onmouseup=null,r.remove(),r=null)}),this.keyboardDOM.onpointerdown=null,this.keyboardDOM.ontouchstart=null,this.keyboardDOM.onmousedown=null,this.resetRows(),this.candidateBox&&(this.candidateBox.destroy(),this.candidateBox=null),this.activeInputElement=null,this.keyboardDOM.removeAttribute("data-skInstance"),this.keyboardDOM.innerHTML="",window.SimpleKeyboardInstances[this.currentInstanceName]=null,delete window.SimpleKeyboardInstances[this.currentInstanceName],this.initialized=!1}},{key:"getButtonThemeClasses",value:function(e){var n=this.options.buttonTheme,r=[];
18return Array.isArray(n)&&n.forEach(function(o){if(o&&o.class&&typeof o.class=="string"&&o.buttons&&typeof o.buttons=="string"){var a=o.class.split(" ");o.buttons.split(" ").includes(e)&&(r=[].concat(_t(r),_t(a)))}else console.warn('Incorrect "buttonTheme". Please check the documentation.',o)}),r}},{key:"setDOMButtonAttributes",value:function(e,n){var r=this.options.buttonAttributes;Array.isArray(r)&&r.forEach(function(o){o.attribute&&typeof o.attribute=="string"&&o.value&&typeof o.value=="string"&&o.buttons&&typeof o.buttons=="string"?o.buttons.split(" ").includes(e)&&n(o.attribute,o.value):console.warn('Incorrect "buttonAttributes". Please check the documentation.',o)})}},{key:"onTouchDeviceDetected",value:function(){this.processAutoTouchEvents(),this.disableContextualWindow()}},{key:"disableContextualWindow",value:function(){window.oncontextmenu=function(e){if(e.target.classList.contains("hg-button"))return e.preventDefault(),e.stopPropagation(),!1}}},{key:"processAutoTouchEvents",value:function(){this.options.autoUseTouchEvents&&(this.options.useTouchEvents=!0,this.options.debug&&console.log("autoUseTouchEvents: Touch device detected, useTouchEvents enabled."))}},{key:"onInit",value:function(){this.options.debug&&console.log("".concat(this.keyboardDOMClass," Initialized")),this.setEventListeners(),typeof this.options.onInit=="function"&&this.options.onInit(this)}},{key:"beforeFirstRender",value:function(){this.utilities.isTouchDevice()&&this.onTouchDeviceDetected(),typeof this.options.beforeFirstRender=="function"&&this.options.beforeFirstRender(this),this.isFirstKeyboardInstance&&this.utilities.pointerEventsSupported()&&!this.options.useTouchEvents&&!this.options.useMouseEvents&&this.options.debug&&console.log("Using PointerEvents as it is supported by this browser"),this.options.useTouchEvents&&this.options.debug&&console.log("useTouchEvents has been enabled. Only touch events will be used.")}},{key:"beforeRender",value:function(){typeof this.options.beforeRender=="function"&&this.options.beforeRender(this)}},{key:"onRender",value:function(){typeof this.options.onRender=="function"&&this.options.onRender(this)}},{key:"onModulesLoaded",value:function(){typeof this.options.onModulesLoaded=="function"&&this.options.onModulesLoaded(this)}},{key:"loadModules",value:function(){var e=this;Array.isArray(this.options.modules)&&(this.options.modules.forEach(function(n){var r=new n(e);r.init&&r.init(e)}),this.keyboardPluginClasses="modules-loaded",this.render(),this.onModulesLoaded())}},{key:"getModuleProp",value:function(e,n){return!!this.modules[e]&&this.modules[e][n]}},{key:"getModulesList",value:function(){return Object.keys(this.modules)}},{key:"parseRowDOMContainers",value:function(e,n,r,o){var a=this,u=Array.from(e.children),l=0;return u.length&&r.forEach(function(c,f){var v=o[f];if(!(v&&v>c))return!1;var d=c-l,p=v-l,g=document.createElement("div");g.className+="hg-button-container";var h="".concat(a.options.layoutName,"-r").concat(n,"c").concat(f);g.setAttribute("data-skUID",h);var y=u.splice(d,p-d+1);l=p-d,y.forEach(function(m){return g.appendChild(m)}),u.splice(d,0,g),e.innerHTML="",u.forEach(function(m){return e.appendChild(m)}),a.options.debug&&console.log("rowDOMContainer",y,d,p,l+1)}),e}},{key:"render",value:function(){var e=this;this.resetRows(),this.initialized||this.beforeFirstRender(),this.beforeRender();var n="hg-layout-".concat(this.options.layoutName),r=this.options.layout||{default:["` 1 2 3 4 5 6 7 8 9 0 - = {bksp}","{tab} q w e r t y u i o p [ ] \\","{lock} a s d f g h j k l ; ' {enter}","{shift} z x c v b n m , . / {shift}",".com @ {space}"],shift:["~ ! @ # $ % ^ & * ( ) _ + {bksp}","{tab} Q W E R T Y U I O P { } |",'{lock} A S D F G H J K L : " {enter}',"{shift} Z X C V B N M < > ? {shift}",".com @ {space}"]},o=this.options.useTouchEvents||!1,a=o?"hg-touch-events":"",u=this.options.useMouseEvents||!1,l=this.options.disableRowButtonContainers;this.keyboardDOM.className=this.getKeyboardClassString(this.options.theme,n,this.keyboardPluginClasses,a),this.keyboardDOM.setAttribute("data-skInstance",this.currentInstanceName),this.keyboardRowsDOM=document.createElement("div"),this.keyboardRowsDOM.className="hg-rows",r[this.options.layoutName||this.defaultName].forEach(function(c,f){var v=c.split(" ");
18e.options.excludeFromLayout&&e.options.excludeFromLayout[e.options.layoutName||e.defaultName]&&(v=v.filter(function(h){return e.options.excludeFromLayout&&!e.options.excludeFromLayout[e.options.layoutName||e.defaultName].includes(h)}));var d=document.createElement("div");d.className+="hg-row";var p=[],g=[];v.forEach(function(h,y){var m,b=!l&&typeof h=="string"&&h.length>1&&h.indexOf("[")===0,E=!l&&typeof h=="string"&&h.length>1&&h.indexOf("]")===h.length-1;b&&(p.push(y),h=h.replace(/\[/g,"")),E&&(g.push(y),h=h.replace(/\]/g,""));var x=e.utilities.getButtonClass(h),k=e.utilities.getButtonDisplayName(h,e.options.display,e.options.mergeDisplay),S=e.options.useButtonTag?"button":"div",w=document.createElement(S);w.className+="hg-button ".concat(x),(m=w.classList).add.apply(m,_t(e.getButtonThemeClasses(h))),e.setDOMButtonAttributes(h,function(O,j){w.setAttribute(O,j)}),e.activeButtonClass="hg-activeButton",!e.utilities.pointerEventsSupported()||o||u?o?(w.ontouchstart=function(O){e.handleButtonClicked(h,O),e.handleButtonMouseDown(h,O)},w.ontouchend=function(O){e.handleButtonMouseUp(h,O)},w.ontouchcancel=function(O){e.handleButtonMouseUp(h,O)}):(w.onclick=function(O){e.setMouseHold(!1),typeof e.options.onKeyReleased!="function"&&e.handleButtonClicked(h,O)}
18,w.onmousedown=function(O){typeof e.options.onKeyReleased!="function"||e.isMouseHold||e.handleButtonClicked(h,O),e.handleButtonMouseDown(h,O)},w.onmouseup=function(O){e.handleButtonMouseUp(h,O)}):(w.onpointerdown=function(O){e.handleButtonClicked(h,O),e.handleButtonMouseDown(h,O)},w.onpointerup=function(O){e.handleButtonMouseUp(h,O)},w.onpointercancel=function(O){e.handleButtonMouseUp(h,O)}),w.setAttribute("data-skBtn",h);var P="".concat(e.options.layoutName,"-r").concat(f,"b").concat(y);w.setAttribute("data-skBtnUID",P);var I=document.createElement("span");I.innerHTML=k,w.appendChild(I),e.buttonElements[h]||(e.buttonElements[h]=[]),e.buttonElements[h].push(w),d.appendChild(w)}),d=e.parseRowDOMContainers(d,f,p,g),e.keyboardRowsDOM.appendChild(d)}),this.keyboardDOM.appendChild(this.keyboardRowsDOM),this.onRender(),this.initialized||(this.initialized=!0,!this.utilities.pointerEventsSupported()||o||u?o?(document.ontouchend=function(c){return e.handleButtonMouseUp(void 0,c)},document.ontouchcancel=function(c){return e.handleButtonMouseUp(void 0,c)},this.keyboardDOM.ontouchstart=function(c){return e.handleKeyboardContainerMouseDown(c)}):o||(document.onmouseup=function(c){return e.handleButtonMouseUp(void 0,c)},this.keyboardDOM.onmousedown=function(c){return e.handleKeyboardContainerMouseDown(c)}):(document.onpointerup=function(c){return e.handleButtonMouseUp(void 0,c)},this.keyboardDOM.onpointerdown=function(c){return e.handleKeyboardContainerMouseDown(c)}),this.onInit())}}],s&&ee(i.prototype,s),t&&ee(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,s,t}(),re=le,fe=re;return ft}()},442:function(z){z.exports=Kt}},Tt={};function lt(z){var at=Tt[z];if(at!==void 0)return at.exports;var ot=Tt[z]={exports:{}};return Ct[z].call(ot.exports,ot,ot.exports,lt),ot.exports}lt.n=function(z){var at=z&&z.__esModule?function(){return z.default}:function(){return z};return lt.d(at,{a:at}),at},lt.d=function(z,at){for(var ot in at)lt.o(at,ot)&&!lt.o(z,ot)&&Object.defineProperty(z,ot,{enumerable:!0,get:at[ot]})},lt.o=function(z,at){return Object.prototype.hasOwnProperty.call(z,at)},lt.r=function(z){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(z,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(z,"__esModule",{value:!0})};var Qt={};return function(){lt.r(Qt),lt.d(Qt,{KeyboardReact:function(){return vt},default:function(){return Bt}}),lt(981);var z=lt(442),at=lt(548),ot=lt.n(at);function A(G){return A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(tt){return typeof tt}:function(tt){return tt&&typeof Symbol=="function"&&tt.constructor===Symbol&&tt!==Symbol.prototype?"symbol":typeof tt},A(G)}function ft(G,tt){var it=Object.keys(G);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(G);tt&&(B=B.filter(function(L){return Object.getOwnPropertyDescriptor(G,L).enumerable})),it.push.apply(it,B)}return it}function pt(G){for(var tt=1;tt<arguments.length;tt++){var it=arguments[tt]!=null?arguments[tt]:{};tt%2?ft(Object(it),!0).forEach(function(B){yt(G,B,it[B])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(it)):ft(Object(it)).forEach(function(B){Object.defineProperty(G,B,Object.getOwnPropertyDescriptor(it,B))})}return G}function yt(G,tt,it){return(tt=function(B){var L=function(Z,nt){if(A(Z)!="object"||!Z)return Z;var mt=Z[Symbol.toPrimitive];if(mt!==void 0){var At=mt.call(Z,nt||"default");if(A(At)!="object")return At;throw new TypeError("@@toPrimitive must return a primitive value.")}return(nt==="string"?String:Number)(Z)}(B,"string");return A(L)=="symbol"?L:L+""}(tt))in G?Object.defineProperty(G,tt,{value:it,enumerable:!0,configurable:!0,writable:!0}):G[tt]=it,G}var wt=function(G){return pt(pt({},G),{},{keyboardRef:null})},vt=function(G){var tt=G.baseClass||"react-simple-keyboard",it=z.useRef(null),B=z.useRef(null),L=z.useRef(null),Z=z.useRef(G);return z.useEffect(function(){return function(){L.current&&L.current.destroy(),it.current=!1}},[]),z.useEffect(function(){var nt=function(Pt){return pt(pt({},Pt),{},{theme:"simple-keyboard ".concat(Pt.theme||"hg-theme-default")})}(G);if(!it.current){it.current=!0,nt.debug&&console.log("ReactSimpleKeyboard: Init");var mt=B.current,At=".".concat(tt);
18L.current=new(ot())(mt||At,nt),nt.keyboardRef&&nt.keyboardRef(L.current)}var jt=function(Pt,Wt){var Jt=wt(Wt),Xt=wt(Pt);return Object.keys(Jt).filter(function(_t){return Jt[_t]!==Xt[_t]})}(Z.current,nt);if(jt.length){var Vt=L.current;Z.current=nt,Vt==null||Vt.setOptions(nt),nt.debug&&console.log("ReactSimpleKeyboard - setOptions called due to updated props:",jt)}},[it,tt,Z,G]),z.createElement("div",{className:tt,ref:B})},Bt=vt}(),Qt}()})})(ue);var ce=ue.exports;const ge=de(ce),be=ve({__proto__:null,default:ge},[ce]);export{be as i};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.